]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Update.
[thirdparty/glibc.git] / ChangeLog
1 2000-10-27 Ulrich Drepper <drepper@redhat.com>
2
3 * posix/regex.c (gettext): Use correct translation domain for glibc.
4
5 * argp/argp-parse.c: Use __dcgettext instead of dcgettext for glibc.
6 * argp/argp-help.c: Likewise.
7 * inet/getnameinfo.c (getnameinfo): Use __snprintf instead of snprintf.
8 * inet/rexec.c (rexec_af): Use __snprintf instead of snprintf.
9 * misc/regexp.c (__step): Use __regexec instead of regexec.
10 (__advance): Likewise.
11 * nss/digits_dots.c: Use __inet_aton instead of inet_aton.
12 * misc/daemon.c (daemon): Use __fork instead of fork.
13
14 * stdlib/fmtmsg.c (fmtmsg): Change output format slightly to make
15 it look better and bring it closer to SysV behavior.
16 * stdlib/Makefile (distribute): Add tst-fmtmsg.sh.
17 (test-srcs): Add tst-fmtmsg.
18 (tests): Add $(objpfx)tst-fmtmsg.out. Add rule to generate it.
19 * stdlib/tst-fmtmsg.sh: New file.
20 * stdlib/tst-fmtmsg.c: New file.
21
22 * iconvdata/Makefile (modules): Add VISCII.
23 (gen-8bit-modules): Add viscii.
24 * iconvdata/viscii.c: New file.
25 * iconvdata/gconv-modules: Add entries for VISCII.
26 * iconvdata/tst-tables.sh: Add VISCII.
27
28 2000-10-27 Andreas Schwab <schwab@suse.de>
29
30 * sysdeps/m68k/fpu/libm-test-ulps: Add some more ulps.
31
32 2000-10-26 Ulrich Drepper <drepper@redhat.com>
33
34 * version.h (VERSION): Bump to 2.1.96.
35
36 * inet/getipnodebyad.c: Removed.
37 * inet/getipnodebynm.c: Removed.
38 * inet/tst-ipnode.c: Removed.
39 * inet/freehostent.c: Removed.
40
41 * sysdeps/unix/bsd/osf/=dirstream.h: Removed.
42
43 * sysdeps/unix/sysv/linux/Dist: Add bits/initspin.h.
44
45 * elf/Makefile (distribute): Add neededobj4.c.
46
47 * iconvdata/Makefile (distribute): Add BIG5HKSCS.irreversible.
48
49 * sysdeps/hppa/Dist: New file.
50 * sysdeps/unix/sysv/linux/hppa/Dist: New file.
51
52 * posix/tst-chmod.c (do_test): Account for people running the
53 tests as root.
54
55 * locale/langinfo.h (THOUSEP): Define this and don't duplicate
56 definition of THOUSANDS_SEP.
57
58 * locale/C-monetary.c: Set mon_decimal to empty string.
59 Add missing entry _NL_MONETARY_CRNCYSTR.
60 * stdio-common/printf_fp.c: If MON_DECIAL_POINT is not provided use
61 DECIMAL_POINT information.
62 * locale/C-numeric.c: Set mon_grouping entry to empty string.
63 * locale/C-time.c: Add date_fmt entries. Remove two wrong entries.
64 Correct value for number of entries.
65 * locale/localeconv.c: Normalize result passed back in .grouping.
66 Fix assignment to .int_* entries.
67
68 * locale/Makefile (tests): Add tst-C-locale.
69 * locale/tst-C-locale.c: New file.
70
71 * locale/setlocale.c: Use LOCALEDIR and not LOCALE_PATH to locate
72 locale files.
73 * locale/newlocale.c: Likewise.
74
75 2000-10-26 GOTO Masanori <gotom@debian.or.jp>
76
77 * locale/langinfo.h: Define _DATE_FMT and _NL_W_DATE_FMT.
78 * locale/categories.def: New support for date_fmt.
79 * locale/programs/ld-time.c: Likewise.
80 * locale/programs/locfile-kw.gperf: Likewise.
81 * locale/programs/locfile-kw.h: Likewise.
82 * locale/programs/locfile-token.h: Likewise.
83
84 2000-10-26 Jakub Jelinek <jakub@redhat.com>
85
86 * sysdeps/ieee754/ldbl-128/e_hypotl.c: New.
87
88 * math/libm-test.inc (cabs_test, cexp_test, csqrt_test, hypot_test):
89 Increase precision of constants.
90 * sysdeps/alpha/fpu/libm-test-ulps: Update.
91 * sysdeps/arm/libm-test-ulps: Update.
92 * sysdeps/i386/fpu/libm-test-ulps: Update.
93 * sysdeps/ia64/fpu/libm-test-ulps: Update.
94 * sysdeps/m68k/fpu/libm-test-ulps: Update.
95 * sysdeps/mips/fpu/libm-test-ulps: Update.
96 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
97 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
98 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
99 * sysdeps/sh/sh4/fpu/libm-test-ulps: Update.
100 * sysdeps/s390/fpu/libm-test-ulps: Update.
101
102 2000-10-26 Ulrich Drepper <drepper@redhat.com>
103
104 * io/Makefile (tests): Add tst-fcntl.
105 * io/tst-fcntl.c: New file.
106
107 * posix/Makefile (tests): Add tst-chmod.
108 (tst-chmod-ARGS): Define.
109 * posix/tst-chmod.c: New file.
110
111 * test-skeleton.c: Before calling user-defined function remove
112 parameters from argument list.
113 * posix/tst-exec.c: Adjust to this change.
114 * posix/tst-spawn.c: Likewise.
115
116 * sysdeps/unix/opendir.c (__opendir): Optimize a bit. Add
117 __builtin_expect.
118
119 2000-10-25 Ulrich Drepper <drepper@redhat.com>
120
121 * intl/Makefile (tests): Add tst-ngettext.
122 * intl/tst-ngettext.c: New file.
123
124 2000-10-25 Bruno Haible <haible@clisp.cons.org>
125
126 * manual/charset.texi: Fix spelling of __GCONV_FULL_OUTPUT.
127 * manual/message.texi (Translation with gettext): Remove paragraph
128 about macros contained in libintl.h.
129 (bind_textdomain_codeset): Describe codeset argument.
130 (Using gettextized software): Add setlocale call to sample code.
131
132 2000-10-26 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
133 Yutaka Niibe <gniibe@chroot.org>
134
135 * sysdeps/sh/dl-machine.h (elf_machine_rela): Handle in place
136 relocation which is generated by new ld.
137 * sysdeps/sh/elf/initfini.c (_init): Preseted __fpscr_values.
138 (_fini): Delete an obsolete register prefix.
139 * sysdeps/unix/sysv/linux/sh/Versions: Add __xstat64, __fxstat64,
140 __lxstat64, alphasort64, glob64, readdir64, readdir64_r, scandir64
141 and versionsort64 as the 2.2-versioned symbols.
142 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: New file.
143 * sysdeps/unix/sysv/linux/sh/brk.c: Changes for the new system call
144 calling convention of the kernel.
145 * sysdeps/unix/sysv/linux/sh/pipe.S: Likewise.
146 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
147 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
148 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
149 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
150 * sysdeps/unix/sysv/linux/sh/fcntl.c: New file.
151 * sysdeps/unix/sysv/linux/sh/lockf64.c: New file.
152 * sysdeps/unix/sysv/linux/sh/sys/user.h: Include the kernel header
153 file and delete the definitions of struct user and user_fp.
154 * sysdeps/unix/sysv/linux/sh/syscall.S: New file.
155 * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove entries for
156 s_ioctl, s_ipc, s_llseek, s_chown, s_fchown, s_lchown, s_execve,
157 rt_sigaction, rt_sigpending, rt_sigprocmask, rt_sigqueueinfo,
158 rt_sigsuspend, rt_sigtimedwait, s_getcwd, s_getdents, s_getgroups,
159 s_getpriority, s_getegid, s_geteuid, s_getuid, getresgid, getresuid,
160 s_getrlimit, s_poll, s_pread64, s_ptrace, s_pwrite64, s_reboot,
161 s_setrlimit, s_sigaction, s_sigpending, s_sigprocmask, s_sigsuspend,
162 s_setfsgid, s_setfsuid, s_setgid, s_setgroups, s_setregid,
163 s_setresgid, s_setresuid, s_setreuid, s_setuid, s_sysctl,
164 s_ugetrlimit, s_ustat, sys_fstat, sys_lstat, sys_mknod, sys_readv,
165 sys_stat, sys_writev and syscall.
166
167 2000-10-25 Ulrich Drepper <drepper@redhat.com>
168
169 * io/test-lfs.c (do_prepare): Rewrite so it doesn't fail on systems
170 without LFS support.
171
172 * sysdeps/ieee754/dbl-64/e_jn.c: Use __ieee754_sqrt instead of __sqrt.
173 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
174 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
175 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
176 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
177
178 2000-10-25 David Mosberger <davidm@hpl.hp.com>
179
180 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: Multiply slot
181 number by four to use bins of width 4 to get accurate
182 instruction-level profiling.
183
184 2000-10-25 Andreas Jaeger <aj@suse.de>
185
186 * sysdeps/generic/dl-cache.h (CACHEMAGIC_VERSION_NEW): Correct string.
187
188 2000-10-25 Jakub Jelinek <jakub@redhat.com>
189
190 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): When
191 converting struct flock64 to struct flock and back, use fcntl commands
192 which work on struct flock.
193
194 2000-10-25 Jakub Jelinek <jakub@redhat.com>
195
196 * math/test-misc.c (main): Only check modfl if NO_LONG_DOUBLE is not
197 defined.
198 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
199 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
200
201 2000-10-25 Ulrich Drepper <drepper@redhat.com>
202
203 * sysdeps/arm/libm-test-ulps: Updated.
204
205 * sysdeps/generic/dl-cache.h (CACHEMAGIC_VERSION_NEW): New value.
206
207 2000-10-25 Andreas Jaeger <aj@suse.de>
208
209 * elf/dl-load.c (_dl_map_object_from_fd): Remove unused variable.
210 (_dl_map_object): Likewise.
211
212 2000-10-24 Paul Eggert <eggert@twinsun.com>
213
214 * time/strftime.c (my_strftime macro)
215 [!defined _LIBC && HAVE_TZNAME && HAVE_TZSET]:
216 When redefining, do it without args, so that it works even if
217 emacs is defined and an extra argument is passed to my_stftime.
218 (my_strftime function): When evaluating a subformat, pass
219 ut_argument as well.
220
221 2000-10-24 Andreas Schwab <schwab@suse.de>
222
223 * sysdeps/unix/sysv/linux/ia64/Versions: Add pciconfig_read and
224 pciconfig_write.
225
226 2000-10-25 Ulrich Drepper <drepper@redhat.com>
227
228 * sysdeps/generic/dl-cache.c (_dl_cache_verify_ptr): Correct test
229 for files with new cache format.
230 (_dl_load_cache_lookup): Add variable cache_data_size for size of the
231 data. Correctly report error if neither old not new signature is
232 found. Little optimizations.
233 Mostly based on a patch by Denis Zaitsev <zzz@cd-club.ru>.
234
235 * elf/dl-close.c (_dl_close): Optimize a bit by optimizing out the
236 nsearchlist variable.
237
238 2000-10-24 Ulrich Drepper <drepper@redhat.com>
239
240 * elf/dl-lookup.c (add_dependency): Fix test to check whether
241 dependency already exists.
242 * elf/Makefile: Add testobj1 and testobj2 as dependencies of testobj6.
243 * elf/loadtest.c (main): Add test at the end that everything is
244 unloaded.
245
246 * elf/dl-open.c (dl_open_worker): Fix typo in comment.
247
248 * elf/elf.h: Add even more IA-64 relocations.
249
250 2000-10-24 Geoffrey Keating <geoffk@cygnus.com>
251
252 * io/test-lfs.c (do_prepare): Call setrlimit64, in case the user
253 has a limit set---for instance, a limit of 2^31 bytes, which can't
254 easily be reset by non-LFS-aware shells.
255
256 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Define PAGE_SHIFT
257 explicitly rather than getting it from <asm/page.h>.
258
259 2000-10-24 Ulrich Drepper <drepper@redhat.com>
260
261 * elf/dl-close.c (_dl_close): Handle relocation dependencies of
262 the dependencies of the object currently unloaded.
263
264 * elf/dl-close.c (_dl_close): Don't free memory for global scope
265 list immediately when empty. Move code to...
266 (free_mem): ...here. Called as part of __libc_subfreeres list.
267
268 * elf/dl-deps.c (_dl_map_object_deps): Put l_initfini array before
269 r_list array in allocated memory.
270 * elf/dl-close.c (_dl_close): Optimize access to l_initfini list
271 and remove use of r_list.
272
273 * elf/dl-close.c (_dl_close): Use correct list (l_initfini) when
274 computing new opencounts.
275 * elf/Makefile: Add rules to build and run neededtest3.
276 * neededtest3.c: New file.
277 * neededobj4.c: New file.
278
279 * elf/neededtest.c (main): Correct tests for failing dlopen.
280
281 2000-10-24 Andreas Jaeger <aj@suse.de>
282
283 * elf/dl-lookup.c (add_dependency): Remove unused variable j.
284
285 2000-10-24 Ulrich Drepper <drepper@redhat.com>
286
287 * malloc/obstack.c (_obstack_newchunk): Correctly align first returned
288 block.
289 * malloc/tst-obstack.c: New file.
290 Patch and test case by Alexandre Duret-Lutz <duret_g@epita.fr>.
291 * malloc/Makefile (tests): Add tst-obstack.
292
293 Complete revamp of the reference counter handling.
294 * include/link.h (struct link_map): Add l_idx field.
295 * elf/dl-close.c: Handle decrementing of reference counters more
296 correctly. If necessary decrement reference counters of dependencies
297 of dependencies.
298 * elf/dl-lookup.c (add_dependency): Only increment reference counter
299 of the object itself and not also its dependencies.
300 * elf/dl-open.c: Increment reference counters here.
301 * elf/dl-deps.c: Remove reference counter handling here.
302 * elf/dl-load.c: Likewise.
303 * elf/rtld.c: Adjust for _dl_map_deps not handling reference counters.
304
305 * elf/loadtest.c: Print loaded objects at the beginning.
306
307 2000-10-24 Andreas Jaeger <aj@suse.de>
308
309 * sysdeps/mips/dl-machine.h: Partly revert patch from 2000-10-18.
310
311 2000-10-23 Ulrich Drepper <drepper@redhat.com>
312
313 * include/link.h (struct link_map): New bit field l_faked.
314 * elf/dl-deps.c: Use l_faked field in struct link_map instead of
315 the magic l_opencount==0.
316 * elf/dl-load.c: Likewise.
317 * elf/dl-version.c: Likewise.
318 * elf/rtld.c: Likewise.
319
320 * elf/dl-close.c (_dl_close): Add a few more __builtin_expect.
321
322 2000-10-23 Jim Meyering <meyering@ascend.com>
323
324 Allow this code to be used outside of glibc.
325 * sysdeps/generic/memrchr.c: Undef __memrchr, too.
326 [!weak_alias]: Define __memrchr to memrchr.
327 Guard weak_alias use with `#ifdef weak_alias'.
328
329 2000-10-23 Ulrich Drepper <drepper@redhat.com>
330
331 * elf/unload.c: Generate more debugging output.
332
333 * elf/neededtest.c: Make it more complicated.
334 * elf/neededtest2.c: New file.
335 * elf/Makefile: Add rules to build and run neededtest2.
336
337 * elf/dl-sym.c (_dl_sym): Use exact check for caller PC in range
338 of DSO address space.
339 (_dl_vsym): Likewise.
340
341 * elf/dl-sym.c (_dl_sym): For RTLD_DEFAULT, search in objects
342 global scope if we can determine it.
343
344 2000-10-23 Andreas Schwab <schwab@suse.de>
345
346 * sysdeps/unix/sysv/linux/ia64/bits/resource.h (RLIMIT_LOCKS): Added.
347 (RLIMIT_NLIMITS): Sync with kernel definition.
348 (PRIO_PROCESS, PRIO_PGRP, PRIO_USER): Also define as macros.
349
350 2000-10-23 Andreas Schwab <schwab@suse.de>
351
352 * sysdeps/m68k/fpu/libm-test-ulps: Updated.
353
354 2000-10-23 Ulrich Drepper <drepper@redhat.com>
355
356 * elf/elf.h (R_IA64_GPREL32MSB, R_IA64_GPREL32LSB): New definitions.
357
358 2000-10-22 Bruno Haible <haible@clisp.cons.org>
359
360 * iconvdata/big5hkscs.c (big5hkscs_to_ucs): Add irreversible mappings
361 for 0x8BF8, 0xA27E..0xA2A7.
362 * iconvdata/BIG5HKSCS.irreversible: New file.
363
364 2000-10-23 Jakub Jelinek <jakub@redhat.com>
365
366 * timezone/zdump.c (main): setlocale LC_CTYPE as well as LC_MESSAGES.
367 * timezone/zic.c (main): Likewise.
368
369 2000-10-23 Thorsten Kukuk <kukuk@suse.de>
370
371 * nscd/connections.c (invalidate_cache): Don't invalidate a cache
372 if it is not enabled.
373
374 2000-10-23 Andreas Jaeger <aj@suse.de>
375
376 * sysdeps/s390/fpu/libm-test-ulps: New ulps.
377
378 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add fcntl64.
379 Patch by Ralf Baechle <ralf@gnu.org>.
380
381 2000-10-21 Ulrich Drepper <drepper@redhat.com>
382
383 * elf/dl-load.c (_dl_map_object_from_fd): Split out ELF file
384 verification in open_verify.
385 (open_verify): New function. Called instead of open. Ignores valid
386 files for other architectures.
387 (open_path): Call open_verify instead of open.
388 (_dl_map_object): Likewise.
389 Somewhat based on a patch by Don Dugger <n0ano@valinux.com>.
390
391 * io/pwd.c (main): The output was missing a newline.
392
393 * posix/fnmatch_loop.c: Make FNM_LEADING_DIR behave as GNU tar
394 expects it. Patch by Colin Watson <riva.ucam.org>.
395 * posix/tst-fnmatch.input: Add test cases for FNM_LEADING_DIR.
396
397 * elf/dl-open.c (add_to_global): New function. Split out from
398 dl_open_worker.
399 (dl_open_worker): Call add_to_global not only for new objects, also for
400 previously loaded objects when (mode & RTLD_GLOBAL) and the object
401 was not yet in the global scope.
402 * elf/Makefile: Add rules to build and run lateglobal.
403 * elf/lateglobal.c: New file.
404 * elf/ltglobmod1.c: New file.
405 * elf/ltglobmod2.c: New file.
406
407 2000-10-20 Ulrich Drepper <drepper@redhat.com>
408
409 * include/link.h (struct link_map): Add l_soname_added bitfield.
410 * elf/dl-load.c (_dl_map_object): Remember when we added the
411 SONAME to the l_libname list and don't try it again.
412
413 * elf/dl-close.c: Decrement opencount for all dependencies which can
414 be removed even if the object is not yet unloaded.
415 * elf/dl-deps.c (_dl_map_object_deps): If dependency is already in
416 the list decrement opencount of all dependencies.
417 * elf/dl-load.c (_dl_map_object_from_fd): Increment object of object
418 and all dependencies.
419 (_dl_map_object): Likewise.
420 * elf/dl-lookup.c (add_dependency): Likewise.
421
422 * elf/loadtest.c: Add debug when with more output.
423
424 * elf/Makefile: Add rules to build and run unload2.
425 * elf/unload2.c: New file.
426 * elf/unload2mod.c: New file.
427 * elf/unload2dep.c: New file.
428
429 * intl/libintl.h (ngettext macro): Add missing parameter.
430 (dngettext macro): Likewise.
431
432 2000-10-19 H.J. Lu <hjl@gnu.org>
433
434 * elf/Makefile (distribute): Add neededtest.c, neededobj1.c,
435 neededobj2.c and neededobj3.c.
436 (tests): Add neededtest.
437 (modules-names): Add neededobj1, neededobj2 and neededobj3.
438 ($(objpfx)neededobj1.so): New target.
439 ($(objpfx)neededobj2.so): Likewise.
440 ($(objpfx)neededobj3.so): Likewise.
441 ($(objpfx)neededtest): Likewise.
442 ($(objpfx)neededtest.out): Likewise.
443 * elf/neededtest.c: New. Based on the bug report from
444 Allen Bauer <kylix_rd@hotmail.com>.
445 * elf/neededobj1.c: Likewise.
446 * elf/neededobj2.c: Likewise.
447 * elf/neededobj3.c: Likewise.
448
449 2000-10-20 Ulrich Drepper <drepper@redhat.com>
450
451 * elf/dl-load.c (_dl_map_object_from_fd): Pass pointer to ELF header
452 to elf_machine_matches_host.
453 * sysdeps/alpha/dl-machine.h (elf_machine_matches_host): Parameter
454 is now pointer to ELF header.
455 * sysdeps/arm/dl-machine.h: Likewise.
456 * sysdeps/generic/dl-machine.h: Likewise.
457 * sysdeps/hppa/dl-machine.h: Likewise.
458 * sysdeps/i386/dl-machine.h: Likewise.
459 * sysdeps/ia64/dl-machine.h: Likewise.
460 * sysdeps/m68k/dl-machine.h: Likewise.
461 * sysdeps/mips/dl-machine.h: Likewise.
462 * sysdeps/mips/mips64/dl-machine.h: Likewise.
463 * sysdeps/powerpc/dl-machine.h: Likewise.
464 * sysdeps/s390/dl-machine.h: Likewise.
465 * sysdeps/sh/dl-machine.h: Likewise.
466 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
467 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
468 Patch by Martin Schwidefsksy <schwidefsky@de.ibm.com>.
469
470 2000-10-20 Jakub Jelinek <jakub@redhat.com>
471
472 * include/limits.h: Include bits/wordsize.h, use #if __WORDSIZE == 64
473 check instead of #ifdef __alpha__.
474 * include/bits/xopen_lim.h (WORD_BIT, LONG_BIT): Don't count on
475 INT_MAX, __INT_MAX__, LONG_MAX or __LONG_MAX__ being defined when
476 this is included.
477
478 2000-10-20 Ulrich Drepper <drepper@redhat.com>
479
480 * posix/wordexp-tst.sh (testout): Place output file in build
481 directory. Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
482
483 * sysdeps/powerpc/fpu/bits/mathinline.h: Pretty print.
484
485 2000-10-19 Ulrich Drepper <drepper@redhat.com>
486
487 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
488 Correctly handle numeric group member information.
489 Patch by tomasw@cs.huji.ac.il.
490
491 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
492 Complete test for strtol overflow.
493
494 2000-10-19 Jakub Jelinek <jakub@redhat.com>
495
496 * sysdeps/unix/sysv/linux/alpha/semctl.c (__new_semctl): Pass union
497 semun as 4th argument to semctl syscall, not address of it.
498
499 2000-10-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
500
501 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add fcntl64() syscall.
502
503 2000-10-17 Andreas Schwab <schwab@suse.de>
504
505 * string/string.h: Remove declaration of __strcasecmp and __strcasestr.
506 * include/string.h: Declare them here.
507
508 2000-10-18 Ralf Baechle <ralf@gnu.org>
509
510 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Include <asm/unistd.h>.
511
512 2000-10-19 Geoffrey Keating <geoffk@cygnus.com>
513
514 * sysdeps/powerpc/fpu/bits/mathinline.h: Add versions
515 of the unordered comparison functions that use the GCC builtins.
516
517 * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): New function.
518 (__process_machine_rela): Print the address of an overflowing
519 reloc.
520
521 2000-10-18 Ulrich Drepper <drepper@redhat.com>
522
523 * sysdeps/unix/sysv/linux/shm_open.c: Correct default mount point
524 in comments.
525 (freeit): Remove unnecessary test.
526
527 2000-10-18 Andreas Jaeger <aj@suse.de>
528
529 * sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_OK): New.
530 (ELF_MACHINE_BEFORE_RTLD_RELOC): Handle newer linkers.
531 (elf_machine_runtime_link_map): Likewise.
532 (elf_machine_runtime_setup): Likewise.
533 Handle dynamic linker's local got entries.
534 Patches by Ralf Baechle <ralf@gnu.org>.
535
536 2000-10-09 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
537
538 * sysdeps/mips/dl-machine.h (_dl_runtime_resolve): Define $sp as
539 the frame pointer. Allocate stack space for $a0 for
540 __dl_runtime_resolve(). Do not save $sp in $s0 as it's
541 callee-saved anyway.
542
543 2000-10-17 Ulrich Drepper <drepper@redhat.com>
544
545 * sysdeps/powerpc/fpu/libm-test-ulps: Update for changes in
546 libm-test.inc.
547
548 2000-10-17 Andreas Schwab <schwab@suse.de>
549
550 * sysdeps/m68k/fpu/libm-test-ulps: Update for changes in
551 libm-test.inc.
552
553 2000-10-17 Jakub Jelinek <jakub@redhat.com>
554
555 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
556 Add missing backslash.
557
558 2000-10-16 Ulrich Drepper <drepper@redhat.com>
559
560 * sysdeps/generic/dl-sysdep.c (DL_FIND_ARG_COMPONENTS): Little cleanup.
561
562 * sysdeps/i386/fpu/libm-test-ulps: Update for changes in libm-test.inc.
563
564 2000-10-16 Jakub Jelinek <jakub@redhat.com>
565
566 * math/libm-test.inc (M_LOG_SQRT_PIl, M_LOG_2_SQRT_PIl): Increase
567 precision.
568 (acos_test, asin_text, cexp_test, cos_test, cproj_test, exp10_test,
569 sin_test, sincos_test, sqrt_test): Likewise. Add L suffixes also
570 to parameters.
571 (acosh_test, asinh_test, atan2_test, atanh_test, atan_test, cabs_test,
572 cacosh_test, cacos_test, casinh_test, casin_test, catanh_test,
573 catan_test, cbrt_test, ccosh_test, ccos_test, clog10_test, cosh_test,
574 csinh_test, csin_test, csqrt_test, ctanh_test, ctan_test, erfc_test,
575 erf_test, exp2_test, expm1_test, exp_test, fmod_test, hypot_test,
576 j0_test, j1_test, jn_test, lgamma_test, llrint_test, llround_test,
577 log10_test, log1p_test, log2_test, log_test, lrint_test, lround_test,
578 nextafter_test, nexttoward_test, pow_test, round_test, scalb_test,
579 sinh_test, static void, tanh_test, tan_test, tgamma_test, y0_test,
580 y1_test, yn_test): Add L suffixes also to parameters.
581 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Fix mask.
582 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
583 * soft-fp/op-2.h (_FP_FRAC_SRS_2): Fix computation of sticky bit.
584
585 2000-10-16 Ulrich Drepper <drepper@redhat.com>
586
587 * timezone/Makefile: Define HAVE_GETTEXT for zdump.c, zic.c,
588 ialloc.c, and scheck.c.
589 * malloc/obstack.c: Always include <libintl.h> for glibc.
590 * posix/getopt.c: Likewise.
591 Reported by Petr Vandrovec <VANDROVE@vc.cvut.cz>.
592
593 2000-10-15 Pete Wyckoff <pw@osc.edu>
594
595 * Rules: Define _LIBC during generation of bits/stdio_lim.d.
596
597 2000-10-15 Pete Wyckoff <pw@osc.edu>
598
599 * iconvdata/tst-tables.sh: Invoke other shell scripts through ${SHELL}.
600 * iconvdata/tst-table.sh: Likewise.
601
602 2000-10-15 Ulrich Drepper <drepper@redhat.com>
603
604 * elf/dl-error.c (_dl_signal_error): Allocate memory for objname
605 as well. Reported by Alexander V. Lukyanov <lav@yars.free.net>.
606
607 * iconvdata/gconv-modules: Add aliases for Winblowz charsets.
608 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
609
610 2000-10-13 Andreas Schwab <schwab@suse.de>
611
612 * elf/elf.h (R_IA64_PCREL60B): Add relocation.
613
614 2000-10-15 Ulrich Drepper <drepper@redhat.com>
615
616 * sysdeps/unix/sysv/linux/hppa/brk.c: Cleanups.
617 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
618 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
619 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Likewise.
620 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
621
622 2000-10-14 Ulrich Drepper <drepper@redhat.com>
623
624 * math/libm-test.inc (frexp_test): Add L suffix also to parameters.
625 (hypot_test): Likewise.
626
627 * sysdeps/generic/printf_fphex.c: Compute width of decimal point
628 string correctly. Handle padding correctly.
629
630 * sysdeps/ia64/fpu/printf_fphex.c: Use sizeof in _itowa parameters
631 correctly.
632 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
633 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
634
635 2000-10-12 Alan Modra <alan@linuxcare.com.au>
636
637 * FAQ.in: Add --start-group and --end-group.
638
639 2000-10-12 Alan Modra <alan@linuxcare.com.au>
640
641 * malloc/memusage.c: Conditionalize stack usage calculation on
642 stack direction.
643
644 2000-10-12 Alan Modra <alan@linuxcare.com.au>
645
646 * config.h.in: Add ASM_LINE_SEP.
647 * configure.in: Add test for comment and line separators.
648 * include/libc-symbols.h: Define and use ASM_LINE_SEP, and add tabs to
649 placate some hppa assemblers.
650 * sysdeps/hppa/sysdep.h: Likewise.
651 * sysdeps/gnu/siglist.c: Insert \n and \t into inline asm.
652 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
653
654 2000-10-12 David Huggins-Daines <dhd@linuxcare.com>
655
656 * sysdeps/unix/sysv/linux/Makefile: Include <bits/initspin> in
657 $(sysdep_headers).
658 * sysdeps/unix/sysv/linux/bits/initspin.h: Dummy version for
659 non-threaded platforms.
660
661 2000-10-12 David Huggins-Daines <dhd@linuxcare.com>
662
663 * configure.in: Add definitions for hppa.
664 * elf/elf.h: Add PLABEL32 relocation for hppa ELF32, comments
665 for IPLT and EPLT relocations.
666 * shlib-versions: Version symbol definitions for hppa-linux.
667 * sysdeps/unix/sysv/linux/configure.in: Define $arch_minimum_kernel
668 for hppa.
669
670 2000-10-12 David Huggins-Daines <dhd@linuxcare.com>
671
672 * sysdeps/hppa/Makefile: New file.
673 * sysdeps/hppa/Versions: New file.
674
675 * sysdeps/hppa/setjmp.S: New file.
676 * sysdeps/hppa/__longjmp.S: New file.
677 * sysdeps/hppa/bits/setjmp.h: New file.
678 * sysdeps/hppa/frame.h: New file.
679
680 * sysdeps/hppa/add_n.s: Don't use %r19 (linkage table pointer).
681 * sysdeps/hppa/sub_n.s: Likewise.
682 * sysdeps/hppa/lshift.s: Likewise.
683 * sysdeps/hppa/rshift.s: Likewise.
684 * sysdeps/hppa/udiv_qrnnd.s: Likewise.
685 * sysdeps/hppa/hppa1.1/addmul_1.s: Likewise.
686 * sysdeps/hppa/hppa1.1/submul_1.s: Likewise.
687 * sysdeps/hppa/hppa1.1/mul_1.s: Likewise.
688 * sysdeps/hppa/hppa1.1/udiv_qrnnd.s: Likewise.
689
690 * sysdeps/hppa/dl-machine.h: New file.
691 * sysdeps/hppa/dl-fptr.c: New file (note that this is almost
692 identical to the IA-64 one).
693 * sysdeps/hppa/dl-lookupcfg.h: Likewise.
694 * sysdeps/hppa/dl-symaddr.c: Likewise.
695
696 * sysdeps/hppa/elf/initfini.c: New file.
697 * sysdeps/hppa/elf/start.S: New file.
698
699 * sysdeps/hppa/fpu/bits/fenv.h: New file.
700 * sysdeps/hppa/fpu/fclrexcpt.c: New file.
701 * sysdeps/hppa/fpu/fedisblxcpt.c: New file.
702 * sysdeps/hppa/fpu/feenablxcpt.c: New file.
703 * sysdeps/hppa/fpu/fegetenv.c: New file.
704 * sysdeps/hppa/fpu/fegetexcept.c: New file.
705 * sysdeps/hppa/fpu/fegetround.c: New file.
706 * sysdeps/hppa/fpu/feholdexcpt.c: New file.
707 * sysdeps/hppa/fpu/fesetenv.c: New file.
708 * sysdeps/hppa/fpu/fesetround.c: New file.
709 * sysdeps/hppa/fpu/feupdateenv.c: New file.
710 * sysdeps/hppa/fpu/fegetexcptflg.c: New file.
711 * sysdeps/hppa/fpu/fraiseexcpt.c: New file.
712 * sysdeps/hppa/fpu/fsetexcptflg.c: New file.
713 * sysdeps/hppa/fpu/ftestexcept.c: New file.
714
715 * sysdeps/unix/sysv/linux/hppa/Makefile: New file.
716 * sysdeps/unix/sysv/linux/hppa/Versions: New file.
717 * sysdeps/unix/sysv/linux/hppa/syscalls.list: New file.
718 * sysdeps/unix/sysv/linux/hppa/sysdep.c: New file.
719 * sysdeps/unix/sysv/linux/hppa/sysdep.h: New file.
720
721
722 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: New file.
723 * sysdeps/unix/sysv/linux/hppa/bits/ioctls.h: New file.
724 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: New file.
725 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: New file.
726 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: New file.
727 * sysdeps/unix/sysv/linux/hppa/brk.c: New file.
728 * sysdeps/unix/sysv/linux/hppa/clone.S: New file.
729 * sysdeps/unix/sysv/linux/hppa/socket.S: New file.
730 * sysdeps/unix/sysv/linux/hppa/syscall.S: New file.
731 * sysdeps/unix/sysv/linux/hppa/setrlimit.c: New file.
732 * sysdeps/unix/sysv/linux/hppa/getrlimit.c: New file.
733 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: New file.
734 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: New file.
735 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: New file.
736 * sysdeps/unix/sysv/linux/hppa/mmap.c: New file.
737 * sysdeps/unix/sysv/linux/hppa/profil-counter.h: New file.
738 * sysdeps/unix/sysv/linux/hppa/procfs.h: New file.
739 * sysdeps/unix/sysv/linux/hppa/ucontext.h: New file.
740 * sysdeps/unix/sysv/linux/hppa/umount.c: New file.
741
742 2000-10-12 Alan Modra <alan@linuxcare.com.au>
743
744 * sysdeps/hppa/hppa1.1/Implies: New file.
745 * sysdeps/hppa/memusage.h: New file.
746
747 2000-10-28 Jes Sorensen <jes@linuxcare.com>
748
749 * sysdeps/unix/sysv/linux/ia64/Versions: Export ioperm, iopl, inb,
750 inw, inl, _inb, _inw, _inl, outb, outw, outl, _outb, _outw,
751 _outl. Reported by Bill Nottingham.
752
753 2000-04-06 Andreas Schwab <schwab@suse.de>
754
755 * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
756 restore register r8 for functions that return a structure.
757
758 2000-10-12 Jakub Jelinek <jakub@redhat.com>
759
760 * math/libm-test.inc (M_PI_6l, M_E2l, M_E3l, M_2_SQRT_PIl,
761 M_SQRT_PIl): Increase precision.
762 (cbrt_test): If cbrt is not implemented, don't test it.
763 Add L suffix to double constants in results which differ from their
764 L suffixed counterparts.
765 (exp10_test, fmod_test, frexp_test, hypot_test, sqrt_test): Likewise.
766
767 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
768
769 2000-10-11 Jakub Jelinek <jakub@redhat.com>
770
771 * inet/rexec.c (rexec_af): Convert rport to host order before
772 passing it to snprintf.
773
774 2000-10-14 Ulrich Drepper <drepper@redhat.com>
775
776 * sysdeps/gnu/netinet/tcp.h: Use u_intXX_t types instead of
777 uintXX_t since this is what <sys/types.h> defines and we include
778 this header. Reported by Bernhard Rosenkraenzer <bero@redhat.de>.
779
780 * intl/localealias.c (read_alias_file): Update string pointers
781 in map[] if realloc() changed the values.
782 Patch by Jakub Jelinek <jakub@redhat.com>.
783
784 * manual/stdio.texi: Update printf extension documentation after
785 z became a valid modifier.
786 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
787
788 * timezone/africa: Update from tzcode2000g and tzdata2000g.
789 * timezone/asia: Likewise.
790 * timezone/australasia: Likewise.
791 * timezone/backward: Likewise.
792 * timezone/europe: Likewise.
793 * timezone/iso3166.tab: Likewise.
794 * timezone/northamerica: Likewise.
795 * timezone/southamerica: Likewise.
796 * timezone/zone.tab: Likewise.
797
798 2000-10-14 Geoffrey Keating <geoffk@cygnus.com>
799
800 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add fcntl()
801 syscall.
802
803 2000-10-13 Michael Fedrowitz <michael@fedrowitz.de>
804
805 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: New file.
806 * sysdeps/unix/sysv/linux/m68k/fcntl.c: New file.
807 * sysdeps/unix/sysv/linux/m68k/getdents64.c: New file.
808 * sysdeps/unix/sysv/linux/m68k/getrlimit.c: New file.
809 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: New file.
810 * sysdeps/unix/sysv/linux/m68k/glob64.c: New file.
811 * sysdeps/unix/sysv/linux/m68k/lockf64.c: New file.
812 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: New file.
813 * sysdeps/unix/sysv/linux/m68k/readdir64.c: New file.
814 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: New file.
815 * sysdeps/unix/sysv/linux/m68k/scandir64.c: New file.
816 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: New file.
817 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: New file.
818 * sysdeps/unix/sysv/linux/m68k/Dist: Add oldgetrlimit64.c.
819 * sysdeps/unix/sysv/linux/m68k/Makefile: Add oldgetrlimit64.
820 * sysdeps/unix/sysv/linux/m68k/Versions: Export __xstat64,
821 __fxstat64, __lxstat64, alphasort64, glob64, getrlimit, setrlimit,
822 getrlimit64, readdir64, readdir64_r, scandir64, versionsort64 at
823 GLIBC_2.2.
824 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add oldgetrlimit,
825 oldsetrlimit for GLIBC_2.0.
826
827 * sysdeps/m68k/dl-machine.h (_dl_start_user): Pass correct
828 arguments to _dl_init.
829
830 2000-10-13 Geoffrey Keating <geoffk@cygnus.com>
831
832 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs for my Pentium III
833 building with the default options.
834
835 2000-10-11 Andreas Jaeger <aj@suse.de>
836
837 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set cache.
838 Patch by Denis Zaitsev <zzz@cd-club.ru>.
839
840 2000-10-09 Jakub Jelinek <jakub@redhat.com>
841
842 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): If x == y,
843 return y not x.
844 * manual/arith.texi (nextafter): Document it.
845 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Fix a comment.
846
847 2000-10-08 Ulrich Drepper <drepper@redhat.com>
848
849 * version.h (VERSION): Bump to 2.1.95.
850
851 * configure.in: Remove warning message.
852
853 * nscd/Makefile (distribute): Add nscd-types.h.
854 * elf/Makefile (distribute): Add gccframe.h.
855 * sysdeps/sparc/sparc32/Dist: Add ieee754.h.
856 * sysdeps/ia64/Dist: Add ieee754.h.
857
858 2000-10-07 Ulrich Drepper <drepper@redhat.com>
859
860 * elf/elf.h: Add a few section-related symbols.
861
862 * include/features.h (__STDC_ISO_10646__): Set to correct date.
863 Patch by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
864
865 2000-10-06 Jes Sorensen <jes@linuxcare.com>
866
867 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Implement
868 overflow generation by adding DBL_MAX to DBL_MAX instead of
869 setting the bits manually in the fpsr and generating the exception
870 with kill() if necessary.
871 (feraiseexcept): Implement underflow by dividing DBL_MIN by
872 DBL_MIN - similar to the overflow change described above.
873
874 2000-08-27 H.J. Lu <hjl@gnu.org>
875
876 * sysdeps/unix/sysv/linux/ia64/clone.S: Make it a dummy as clone
877 is not supported under Linux/ia64, use clone2.
878
879 2000-10-06 Jakub Jelinek <jakub@redhat.com>
880
881 * malloc/malloc.h (__THROW): Define to nothing if not gcc.
882 * misc/sys/cdefs.h (__THROW): Likewise.
883
884 2000-10-05 Jakub Jelinek <jakub@redhat.com>
885
886 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: New file.
887
888 2000-10-02 Jakub Jelinek <jakub@redhat.com>
889
890 * sunrpc/svc_udp.c (svcudp_recv): Set msg_controllen to all
891 remaining xp_pad space.
892
893 2000-10-05 Jakub Jelinek <jakub@redhat.com>
894
895 * elf/dl-close.c (_dl_close): Check imap's l_flags_1 for
896 DF_1_NODELETE, not list[i]'s.
897
898 2000-10-04 Ulrich Drepper <drepper@redhat.com>
899
900 * iconvdata/euc-kr.c (euckr_from_ucs4): Handle U20a9.
901 (BODY from direction): Map \x5c to U20a9.
902 * iconvdata/testdata/EUC-KR..UTF8: Adjust to this change.
903 * iconvdata/EUC-KR.irreversible: New file.
904 * iconvdata/Makefile (distribute): Add EUC-KR.irreversible.
905
906 * argp/argp-parse.c (argp_default_argp): Set libc as message domain.
907 (argp_version_argp): Likewise.
908
909 2000-10-04 Jakub Jelinek <jakub@redhat.com>
910
911 * stdio-common/vfscanf.c (_IO_vfscanf): For [ conversion do
912 input_error() if EOF is seen before processing.
913 * stdio-common/tstscanf.c (main): Add testcase.
914
915 2000-10-04 Ulrich Drepper <drepper@redhat.com>
916
917 * argp/argp-help.c: Make sure we get the correct gettext and
918 dgettext definitions.
919 * argp/argp-parse.c: Likewise.
920
921 2000-10-03 Ulrich Drepper <drepper@redhat.com>
922
923 * locale/programs/linereader.c (get_string): Also clear wide
924 string info if illegal_string.
925
926 2000-10-03 Andreas Schwab <schwab@suse.de>
927
928 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: New file.
929
930 2000-10-02 Jakub Jelinek <jakub@redhat.com>
931
932 * elf/nextmod1.c (failing_rtld_next_use): Ensure it is not tail call
933 optimized.
934
935 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: New file.
936
937 2000-10-02 Ralf Baechle <ralf@gnu.org>
938
939 * sysdeps/unix/sysv/linux/mips/sys/tas.h: Add missing .mips0 at the
940 end of inline assembler code.
941
942 2000-10-02 Ulrich Drepper <drepper@redhat.com>
943
944 * include/features.h [__USE_FILE_OFFSET && !__REDIRECT]: Define
945 __USE_LARGEFILE64 and __USE_LARGEFILE to 1 and not nothing.
946
947 2000-10-02 Andreas Jaeger <aj@suse.de>
948
949 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Synch with Linux
950 2.4.0-test9-pre8.
951
952 * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Add RLIMIT_LOCKS.
953
954 2000-10-01 Ralf Baechle <ralf@gnu.org>
955
956 * sysdeps/mips/dl-machine.h (RTLD_START): Fix computation of envp
957 argument passed to _dl_init.
958
959 2000-09-30 Bruno Haible <haible@clisp.cons.org>
960
961 * locale/programs/charmap-dir.h: New file.
962 * locale/programs/charmap-dir.c: New file.
963 * locale/programs/linereader.h (lr_create): New declaration.
964 * locale/programs/linereader.c (lr_create): New function, split out
965 from lr_open.
966 (lr_open): Tailcall lr_create.
967 * locale/programs/locale.c: Include "charmap-dir.h". Don't include
968 <unistd.h>.
969 (xstrdup): New declaration.
970 (more_help): Use xstrdup instead of strdup.
971 (write_locales): Likewise. When encountering a symbolic link, call
972 stat.
973 (write_charmaps): Simplify using the charmap-dir.h functions.
974 Use xstrdup instead of strdup.
975 * locale/programs/charmap.c: Include "charmap-dir.h". Don't include
976 <dirent.h> and <unistd.h>.
977 (cmlr_open): New function.
978 (charmap_read): Use cmlr_open instead of lr_open. Simplify using the
979 charmap-dir.h functions.
980 * locale/Makefile (distribute): Add charmap-dir.h.
981 (lib-modules): Add charmap-dir.
982 (CFLAGS-charmap-dir.c): Set to -Wno-write-strings, because posix_spawn
983 wants a 'char **', not a 'const char **'.
984 * include/spawn.h: New file.
985
986 2000-09-30 Bruno Haible <haible@clisp.cons.org>
987
988 * posix/spawn_faction_init.c: Include "spawn_int.h".
989 (__posix_spawn_file_actions_realloc): Fix second realloc argument.
990
991 2000-09-30 Bruno Haible <haible@clisp.cons.org>
992
993 * locale/programs/config.h (DEFAULT_CHARMAP): Set to ANSI_X3.4-1968.
994
995 2000-09-30 Bruno Haible <haible@clisp.cons.org>
996
997 * wcsmbs/wcwidth.h (__ctype32_wctype): Remove declaration.
998 (internal_wcwidth): Remove the tests for L'\0' and iswprint.
999 * locale/programs/ld-ctype.c (find_idx): If max == NULL, return
1000 a pointer to the table entry, without extending the table.
1001 (allocate_arrays): Set a width only for characters with 'print'
1002 property. Set the width of L'\0' to 0.
1003 * locale/C-ctype.c (_nl_C_LC_CTYPE_width): Use default entry 0xff
1004 for unprintable characters. Set entry of NUL to 0.
1005
1006 2000-09-30 Bruno Haible <haible@clisp.cons.org>
1007
1008 * locale/programs/charmap.c (charmap_read): Avoid redundant tests.
1009 Don't forget to call closedir when the filename was found as a
1010 code_set_name.
1011
1012 2000-09-30 Bruno Haible <haible@clisp.cons.org>
1013
1014 * iconv/gconv.h (__gconv_trans_context_fct): Change first argument's
1015 type to 'void *'.
1016
1017 2000-09-30 Bruno Haible <haible@clisp.cons.org>
1018
1019 * locale/programs/ld-ctype.c (wctype_table_init): Initialize level1,
1020 level2, and level3 as well.
1021 (wctype_table_add): Remove a few unnecessary conditionals.
1022
1023 2000-09-30 Ralf Baechle <ralf@gnu.org>
1024
1025 * wcsmbs/Versions [libc] (GLIBC_2.0): Add __mbrtowc.
1026
1027 2000-09-30 H.J. Lu <hjl@gnu.org>
1028
1029 * sysdeps/ieee754/ldbl-96/s_ceill.c (__ceill): Handle overflow.
1030 * sysdeps/ieee754/ldbl-96/s_floorl.c (__floorl): Likewise.
1031
1032 2000-09-29 H.J. Lu <hjl@gnu.org>
1033
1034 * math/libm-test.inc (init_max_error): Clear all exceptions
1035 before starting test.
1036 (acosh_test): Test for existence of function.
1037 (asinh_test): Likewise.
1038 (atan2_test): Likewise.
1039 (cabs_test): Likewise.
1040 (cacos_test): Likewise.
1041 (cacosh_test): Likewise.
1042 (casin_test): Likewise.
1043 (casinh_test): Likewise.
1044 (catan_test): Likewise.
1045 (catanh_test): Likewise.
1046 (ccos_test): Likewise.
1047 (ccosh_test): Likewise.
1048 (cexp_test): Likewise.
1049 (clog_test): Likewise.
1050 (clog10_test): Likewise.
1051 (cosh_test): Likewise.
1052 (cpow_test): Likewise.
1053 (csin_test): Likewise.
1054 (csinh_test): Likewise.
1055 (csqrt_test): Likewise.
1056 (ctan_test): Likewise.
1057 (ctanh_test): Likewise.
1058 (fmod_test): Likewise.
1059 (hypot_test): Likewise.
1060 (remainder_test): Likewise.
1061 (remquo_test): Likewise.
1062 (sincos_test): Likewise.
1063 (sinh_test): Likewise.
1064 (tanh_test): Likewise.
1065
1066 2000-09-29 H.J. Lu <hjl@gnu.org>
1067
1068 * sysdeps/ia64/ieee754.h: New file.
1069
1070 * sysdeps/ia64/fpu/math_ldbl.h: New file.
1071
1072 2000-09-30 Jakub Jelinek <jakub@redhat.com>
1073
1074 * elf/ldconfig.h (FLAG_X8664_LIB64): Define.
1075 * sysdeps/unix/sysv/linux/i386/readelflib.c: New file.
1076
1077 2000-09-30 Ulrich Drepper <drepper@redhat.com>
1078
1079 * manual/charset.texi: Correct notations, reference to C90 amd 1,
1080 and some other details.
1081 * manual/ctype.texi: Likewise.
1082 Patches by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
1083
1084 2000-09-30 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1085
1086 * sysdeps/ieee754/flt-32/s_frexpf.c: Make it aliasing safe.
1087
1088 2000-09-29 Ulrich Drepper <drepper@redhat.com>
1089
1090 * elf/cache.c (save_cache): Initialize __unused field in new cache
1091 as well to get reproducable results.
1092
1093 2000-09-29 H.J. Lu <hjl@gnu.org>
1094
1095 * sysdeps/ia64/fpu/libm-test-ulps: Updated for long double.
1096
1097 2000-09-29 H.J. Lu <hjl@gnu.org>
1098
1099 * sysdeps/ia64/bits/huge_val.h: New file.
1100
1101 2000-09-29 Ulrich Drepper <drepper@redhat.com>
1102
1103 * elf/chroot_canon.c: Don't report a failure if the last path
1104 component is not available.
1105 * elf/ldconfig.c (parse_conf): Use canonicalized name when reporting
1106 error.
1107
1108 * elf/cache.c (print_cache): Use stat64 instead of stat.
1109 * elf/ldconfig.c (chroot_stat): Likewise.
1110 (create_links): Likewise.
1111 (manual_link): Likewise.
1112 (search_dir): Likewise.
1113 * elf/readlib.c (process_file): Likewise.
1114
1115 * Makefile (install): Set LC_ALL and LANGUAGE to C before running
1116 ldconfig.
1117
1118 2000-09-29 Jakub Jelinek <jakub@redhat.com>
1119
1120 * elf/chroot_canon.c: New file.
1121 * elf/Makefile: Build and distribute it.
1122 * elf/ldconfig.h (process_file): Add real_file_name argument.
1123 (chroot_canon): Add prototype.
1124 * elf/ldconfig.c (cache_file): Remove const.
1125 (chroot_stat): New.
1126 (create_links): Add real_path argument.
1127 If opt_chroot, maintain both real and given filenames.
1128 (manual_link): Likewise.
1129 (search_dir): Likewise.
1130 (parse_conf): If opt_chroot, use chroot_canon to find the real
1131 config file.
1132 (main): For -r, try to use chroot, if it fails, leave opt_chroot set
1133 and use chroot_canon where appropriate to do the same as if chroot
1134 succeeded.
1135 * elf/readlib.c (process_file): Add real_file_name argument, pass it
1136 to fopen.
1137
1138 2000-09-29 Ulrich Drepper <drepper@redhat.com>
1139
1140 * math/complex.h (_Complex): We can be more specific when _Complex
1141 is defined by the compiler.
1142
1143 2000-09-29 H.J. Lu <hjl@gnu.org>
1144
1145 * sysdeps/unix/sysv/linux/ia64/dl-cache.h: New.
1146
1147 * elf/cache.c (print_entry): Replace 64bit with IA-64 in message
1148 for x86/IA-64 binary.
1149
1150 2000-09-29 Andreas Schwab <schwab@suse.de>
1151
1152 * sysdeps/unix/sysv/linux/ia64/readelflib.c: New file.
1153
1154 * elf/cache.c (print_entry): Check for FLAG_IA64_LIB64.
1155
1156 2000-09-29 Mark Kettenis <kettenis@gnu.org>
1157
1158 * sysdeps/mach/hurd/dl-sysdep.c (__access): New function. Dummy
1159 implementation for use by the dynamic linker.
1160
1161 2000-09-29 Andreas Jaeger <aj@suse.de>
1162
1163 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Protect DN_* by
1164 __USE_GNU.
1165 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
1166 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise.
1167 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1168 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
1169 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1170 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1171
1172 2000-09-29 Andreas Jaeger <aj@suse.de>
1173
1174 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Synch with Linux
1175 2.4.0-test9-pre7.
1176 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
1177 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise.
1178 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1179 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
1180 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1181 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1182
1183 2000-09-29 David Mosberger <davidm@hpl.hp.com>
1184
1185 * sysdeps/unix/sysv/linux/ia64/sysdep.S (__ia64_syscall): Cleanup.
1186
1187 * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Implement.
1188
1189 2000-06-10 David Mosberger <davidm@hpl.hp.com>
1190
1191 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Fix it so it actually
1192 works: call to __sigjmp_save must be done unconditionally to
1193 ensure jmp_buf is initialized properly.
1194
1195 2000-09-27 Andreas Jaeger <aj@suse.de>
1196
1197 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Synch with Linux
1198 2.4.0-test9-pre7.
1199
1200 2000-09-29 Jakub Jelinek <jakub@redhat.com>
1201
1202 * nscd/nscd-client.h (NSCD_VERSION): Bump to 3.
1203 Use nscd_ssize_t where appropriate.
1204 * nscd/nscd_gethst_r.c (nscd_gethst_r): Use nscd_ssize_t instead of
1205 ssize_t where appropriate.
1206 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1207 * nscd/hstcache.c (cache_addhst): Likewise.
1208 * nscd/grpcache.c (cache_addgr): Likewise.
1209 * sysdeps/generic/nscd-types.h: New file.
1210 * sysdeps/alpha/nscd-types.h: New file.
1211
1212 2000-09-29 Ulrich Drepper <drepper@redhat.com>
1213
1214 * inet/getnameinfo.c (nrl_domainname): Use symbolic constant
1215 INADDR_LOOPBACK instead of numeric value.
1216
1217 2000-09-28 H.J. Lu <hjl@gnu.org>
1218
1219 * sysdeps/ia64/dl-machine.h (RTLD_START): Adjust _dl_argv by
1220 _dl_skip_args.
1221 (ELF_MACHINE_FIXED_STACK): Removed.
1222
1223 2000-09-29 Andreas Jaeger <aj@suse.de>
1224
1225 * sysdeps/unix/sysv/linux/s390/lockf64.c: New file.
1226
1227 * sysdeps/unix/sysv/linux/s390/fcntl.c: New file.
1228
1229 * sysdeps/unix/sysv/linux/powerpc/lockf64.c: New file.
1230
1231 * sysdeps/unix/sysv/linux/powerpc/fcntl.c: New file.
1232
1233 2000-09-28 Ulrich Drepper <drepper@redhat.com>
1234
1235 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle unaligned
1236 relocation also for R_ALPHA_RELATIVE.
1237 Reported by Ivan Kokshaysky <ink@jurassic.park.msu.ru>.
1238
1239 2000-09-18 Bruno Haible <haible@clisp.cons.org>
1240
1241 * intl/dcigettext.c: Outside libc, use local variable names that don't
1242 clash with those in libc.
1243 * intl/bindtextdom.c: Likewise.
1244 * intl/textdomain.c: Likewise.
1245
1246 2000-09-28 Ulrich Drepper <drepper@redhat.com>
1247
1248 * elf/ldconfig.c (parse_conf): Print full name of config dir
1249 including chroot() path.
1250 (main): Remove trailing / from opt_chroot string.
1251
1252 * include/features.h: Correct description of what happens if no
1253 *_SOURCE macro is defined.
1254
1255 * sysdeps/posix/getaddrinfo.c (gaih_inet): Handle req->ai_socktype
1256 correctly. Reported by Felix von Leitner <leitner@convergence.de>.
1257
1258 2000-09-19 H.J. Lu <hjl@gnu.org>
1259
1260 * malloc/malloc.h (__memalign_hook): Fix the parameter order.
1261 * malloc/malloc.c (__memalign_hook): Likewise.
1262 (memalign_hook_ini): Likewise.
1263
1264 2000-09-28 Ulrich Drepper <drepper@redhat.com>
1265
1266 * stdio-common/tmpnam.c (tmpnam): Optimize a bit.
1267
1268 * sysdeps/posix/getaddrinfo.c (gaih_local): Don't use tmpnam, use
1269 underlying functions directly.
1270
1271 * sysdeps/unix/sysv/linux/bits/resource.h: Add RLIMIT_LOCKS.
1272 * sysdeps/unix/sysv/linux/arm/bits/resource.h: Likewise.
1273 * sysdeps/unix/sysv/linux/i386/bits/resource.h: Likewise.
1274 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
1275 * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: Likewise.
1276 * sysdeps/unix/sysv/linux/sh/bits/resource.h: Likewise.
1277 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
1278
1279 2000-09-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1280
1281 * sysdeps/unix/sysv/linux/kernel-features.h: Add __ASSUME_IPC64, only
1282 define it for powerpc for kernel >= 2.4.0.
1283 * sysdeps/unix/sysv/linux/msgctl.c: Test for __ASSUME_IPC64, not
1284 __ASSUME_32BITUIDS.
1285 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1286 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1287 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Sync with kernel.
1288 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: New file.
1289 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: New file.
1290 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: New file.
1291
1292 2000-09-28 Martin Schwidefsksy <schwidefsky@de.ibm.com>
1293
1294 * sysdeps/s390/atomicity.h: Fix compare_and_swap.
1295
1296 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h
1297 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
1298
1299 2000-09-28 Denis Joseph Barrow <djbarrow@de.ibm.com>
1300
1301 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Use definitions from
1302 ucontext.h.
1303 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Fix ucontext structure.
1304
1305 2000-09-27 Andreas Schwab <schwab@suse.de>
1306
1307 * math/Makefile (distribute): Explicitly add the long double test
1308 sources, to get them included even if long double is not supported.
1309
1310 2000-09-27 Jes Sorensen <jes@linuxcare.com>
1311
1312 * elf/soinit.c (struct object): Move definition to gccframe.h and
1313 include it. Problem identified by HJ Lu.
1314
1315 * sysdeps/ia64/gccframe.h: New file. ia64 specific version of
1316 struct object to be searched for frame unwind info.
1317 * sysdeps/generic/gccframe.h: New file. Generic version of
1318 struct object to be searched for frame unwind info.
1319
1320 2000-09-28 Ulrich Drepper <drepper@redhat.com>
1321
1322 * manual/errno.texi: Correct error text for ENXIO.
1323 Reported by Jörg Schilling <schilling@fokus.gmd.de>.
1324
1325 2000-09-27 Jes Sorensen <jes@linuxcare.com>
1326
1327 * sysdeps/ia64/fpu/fsetexcptflg.c (fesetexceptflag): Set the
1328 exception status bits rather than the exception disable bits.
1329 Don't include math.h.
1330
1331 * sysdeps/ia64/fpu/fgetexcptflg.c (fegetexceptflag): Report the
1332 status of exceptions currently raised rather than which exceptions
1333 are enabled.
1334
1335 * sysdeps/ia64/fpu/fclrexcpt.c (feclearexcept): Typecase to fenv_t
1336 rather than unsigned long int.
1337
1338 * sysdeps/ia64/fpu/fedisblxcpt.c (fedisableexcept): Only disable
1339 the exceptions actually requested by the caller and not just
1340 disable all exceptions.
1341
1342 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Exceptions on
1343 the ia64 are enabled by clearing the respective bits in the fpsr,
1344 not setting them.
1345
1346 * sysdeps/ia64/bits/fenv.h: typedef fexcept_t and fenv_t to
1347 unsigned long int rather than unsigned long to be consistent with
1348 the coding conventions.
1349
1350 2000-09-20 H.J. Lu <hjl@gnu.org>
1351
1352 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Use fenv_t instead of
1353 unsigned long int.
1354 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1355
1356 2000-09-28 Ulrich Drepper <drepper@redhat.com>
1357
1358 * string/bits/string2.h: Unify #if usage.
1359
1360 2000-09-27 Jakub Jelinek <jakub@redhat.com>
1361
1362 * math/test-fenv.c (feexcp_mask_test): If enabling all exceptions
1363 and disabling underflow or overflow, disable inexact as well.
1364
1365 2000-09-26 Andreas Jaeger <aj@suse.de>
1366
1367 * sysdeps/gnu/netinet/tcp.h: Add tcp_info defines and types.
1368
1369 * sysdeps/unix/sysv/linux/sys/mount.h (enum): New flag MS_BIND.
1370
1371 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETLKW64,
1372 F_GETLK64, F_SETLK64): Update from Linux-2.4.0-test9-pre4.
1373
1374 * elf/ldconfig.c (search_dir): Allow unlimited path length.
1375 (create_links): Likewise.
1376
1377 2000-09-27 Ulrich Drepper <drepper@redhat.com>
1378
1379 * posix/tst-dir.c: Test a few error cases of chdir.
1380
1381 2000-09-26 Ulrich Drepper <drepper@redhat.com>
1382
1383 * math/math_private.h: Don't add long double prototypes if
1384 NO_LONG_DOUBLE is defined.
1385
1386 * sysdeps/unix/i386/i586/clock_nanosleep.c (CLOCK_P): Remove
1387 CLOCK_MONOTONIC.
1388 * sysdeps/unix/i386/i586/clock_gettime.c (EXTRA_CLOCK_CASES): Likewise.
1389 * sysdeps/unix/i386/i586/clock_getres.c (EXTRA_CLOCK_CASES): Likewise.
1390
1391 * sysdeps/unix/sysv/linux/i386/bits/time.h: Remove CLOCK_MONOTONIC.
1392
1393 2000-09-26 Jakub Jelinek <jakub@redhat.com>
1394
1395 * sysdeps/sparc/sparc32/bits/endian.h: Remove.
1396 * sysdeps/sparc/sparc32/ieee754.h: New.
1397 * sysdeps/sparc/sparc64/bits/endian.h: Move...
1398 * sysdeps/sparc/bits/endian.h: ...here.
1399 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Optimize.
1400 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Check
1401 %o1, not %o0 to see if we're parent or child. Optimize.
1402
1403 2000-09-26 Jes Sorensen <jes@linuxcare.com>
1404
1405 * sysdeps/unix/sysv/linux/ia64/fork.S: New file (based on code
1406 by Hans Boehm).
1407 * sysdeps/unix/sysv/linux/ia64/vfork.S: New file (based on
1408 code by Hans Boehm).
1409 * sysdeps/unix/sysv/linux/ia64/fork.c: Deleted (obsoleted by fork.S).
1410
1411 2000-09-20 H.J. Lu <hjl@gnu.org>
1412
1413 * sysdeps/ia64/fpu/printf_fphex.c: New file.
1414
1415 * sysdeps/ia64/fpu/libm-test-ulps: New file.
1416
1417 2000-09-17 H.J. Lu <hjl@gnu.org>
1418
1419 * sysdeps/ia64/Makefile (long-double-fcts): New. Defined as yes.
1420
1421 * sysdeps/ia64/fpu/s_isinfl.c: New file. Include
1422 sysdeps/i386/fpu/s_isinfl.c.
1423
1424 * sysdeps/ia64/fpu/s_isnanl.c: New file. Include
1425 sysdeps/i386/fpu/s_isnanl.c.
1426
1427 * sysdeps/ia64/fpu/s_nextafterl.c: New file. Include
1428 sysdeps/i386/fpu/s_nextafterl.c.
1429
1430 * sysdeps/ia64/fpu/bits/mathdef.h: New file. Copied from
1431 sysdeps/i386/fpu/bits/mathdef.h.
1432
1433 2000-09-16 H.J. Lu <hjl@gnu.org>
1434
1435 * sysdeps/generic/ldsodefs.h (DL_UNMAP): New. Defined if
1436 DL_UNMAP_IS_SPECIAL is not defined.
1437
1438 * sysdeps/ia64/dl-lookupcfg.h (DL_UNMAP_IS_SPECIAL): Defined.
1439 (_dl_unmap): New prototype.
1440 (DL_UNMAP): New. Defined as _dl_unmap.
1441
1442 * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_unmap.
1443
1444 * elf/dl-close.c (_dl_close): Replace __munmap with DL_UNMAP.
1445
1446 2000-09-16 H.J. Lu <hjl@gnu.org>
1447
1448 * sysdeps/generic/ldsodefs.h (DL_LOOKUP_ADDRESS): New. Defined
1449 if ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
1450
1451 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): New
1452 prototype.
1453 (DL_LOOKUP_ADDRESS): New. Defined as _dl_lookup_address.
1454
1455 * sysdeps/ia64/dl-fptr.c (_dl_lookup_address): New. Lookup
1456 the memory location of a function from a function descriptor.
1457
1458 * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_lookup_address.
1459
1460 * elf/dl-addr.c (_dl_addr): Use DL_LOOKUP_ADDRESS to get the
1461 memory location.
1462
1463 2000-09-14 Jes Sorensen <jes@linuxcare.com>
1464
1465 * sysdeps/ia64/bits/byteswap.h (__bswap_16): Don't mark output
1466 variable as input argument.
1467 (__bswap_32): Likewise.
1468
1469 * sysdeps/ia64/dl-machine.h: Add missing stop bit in RTLD_START()
1470 - found by Jim Wilson <wilson@cygnus.com>
1471
1472 2000-09-26 Ulrich Drepper <drepper@redhat.com>
1473
1474 * string/strxfrm.c: Only require alignment on __alignof__ (int32_t)
1475 instead of 4.
1476
1477 2000-09-26 Andreas Schwab <schwab@suse.de>
1478
1479 * locale/programs/ld-collate.c (collate_output): Only require
1480 alignment on __alignof__ (int32_t) instead of 4.
1481 * locale/loadlocale.c (_nl_load_locale): Likewise.
1482 * string/strcoll.c: Likewise.
1483
1484 2000-09-26 Jes Sorensen <jes@linuxcare.com>
1485
1486 * sysdeps/ieee754/ldbl-96/e_atan2l.c (__ieee754_atan2l): Add
1487 parentheses around arithmetic used in | statement to kill compiler
1488 warning.
1489
1490 * math/math_private.h: Add prototype for __finitel.
1491 (__ilogbl): Likewise.
1492 (__isinfl): Likewise.
1493 (__isnanl): Likewise.
1494 (__atanl): Likewise.
1495 (__copysignl): Likewise.
1496 (__expm1l): Likewise.
1497 (__floorl): Likewise.
1498 (__frexpl): Likewise.
1499 (__ldexpl): Likewise.
1500 (__log1pl): Likewise.
1501 (__nanl): Likewise.
1502 (__rintl): Likewise.
1503 (__scalbnl): Likewise.
1504 (__sqrtl): Likewise.
1505 (fabsl): Likewise.
1506 (__sincosl): Likewise.
1507
1508 2000-09-26 Andreas Schwab <schwab@suse.de>
1509
1510 * sysdeps/m68k/fpu/libm-test-ulps: New file
1511
1512 2000-09-26 Ulrich Drepper <drepper@redhat.com>
1513
1514 * locale/langinfo.h (__nl_langinfo_l): Add prototype.
1515
1516 2000-09-26 Andreas Jaeger <aj@suse.de>
1517
1518 * misc/mkstemp64.c: New file.
1519 * misc/Makefile (routines): Add mkstemp64.
1520 * stdlib/stdlib.h: Add prototype and redirection magic.
1521 * misc/Versions: Add mkstemp64.
1522
1523 2000-09-26 Thorsten Kukuk <kukuk@suse.de>
1524
1525 * nscd/dbg_log.c (dbg_log): Add missing format string.
1526
1527 2000-09-26 Ulrich Drepper <drepper@redhat.com>
1528
1529 * catgets/catgets.c (catopen): Use getenv instead of __secure_getenv
1530 since we filter out the variable once.
1531 * iconv/gconv_conf.c (__gconv_get_path): Likewise.
1532 * locale/newlocale.c (__newlocale): Likewise.
1533 * locale/setlocale.c (setlocale): Likewise.
1534 * malloc/malloc.c (ptmalloc_init): Likewise.
1535 * resolv/res_hconf.c (_res_hconf_init): Likewise.
1536 * resolv/res_init.c (__res_vinit): Likewise.
1537 * time/tzfile.c (__tzfile_read): Likewise.
1538 * sysdeps/generic/unsecvars.h: New file.
1539 * elf/dl-support.c (non_dynamic_init): Use it here to remove variables.
1540 * elf/rtld.c (process_envvars): Likewise.
1541 * elf/Makefile (distribute): Add unsecvars.h.
1542
1543 * misc/daemon.c (daemon): Fail if !noclose and we cannot open the
1544 real /dev/null device.
1545
1546 * sysdeps/generic/check_fds.c: Include device-nrs.h.
1547 * sysdeps/generic/device-nrs.h: New file.
1548 * sysdeps/unix/sysv/linux/device-nrs.h: New file.
1549 * misc/Makefile (distribute): Add device-nrs.h.
1550
1551 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Use O_TRUNC to
1552 remove possible garbage at the end of the file.
1553
1554 2000-09-25 Ulrich Drepper <drepper@redhat.com>
1555
1556 * stdio-common/tmpnam_r.c: Warn about insecure tmpnam_r.
1557 * stdio-common/tmpnam.c: Warn about insecure tmpnam.
1558 * stdio-common/tempnam.c: Warn about insecure tempnam.
1559 * misc/mktemp.c: Warn about insecure mktemp.
1560
1561 * sysdeps/generic/check_fds.c: Check that file opened is really
1562 /dev/null.
1563 * posix/wordexp.c (exec_comm_child): Likewise.
1564
1565 * elf/rtld.c (process_envvars): Open debug output file with O_NOFOLLOW.
1566
1567 * locale/Makefile (routines): Add nl_langinfo_l.
1568 * locale/Versions [libc] (GLIBC_2.2): Add __nl_langinfo_l.
1569 * locale/nl_langinfo_l.c: New file.
1570 * locale/nl_langinfo.c: Allow use of file for __nl_langinfo_l
1571 definition.
1572
1573 2000-09-23 Bruno Haible <haible@clisp.cons.org>
1574
1575 * iconvdata/gbk.c (USE_PRIVATE_AREA): Define to 0.
1576 (__gbk_to_ucs): Conditionalize private area mappings.
1577 (__gbk_from_ucs4_tab9): Likewise.
1578 (BODY for TO_LOOP): Likewise.
1579 * iconvdata/testdata/GBK: Don't use characters not yet in Unicode.
1580 * iconvdata/testdata/GBK..UTF-8: Likewise.
1581 * iconvdata/tst-tables.sh: Enable GBK test.
1582
1583 2000-09-23 Bruno Haible <haible@clisp.cons.org>
1584
1585 * iconvdata/gbk.c (__gbk_to_ucs): Swap U+2014 and U+2015.
1586 (__gbk_from_ucs4_tab4): Swap entries for U+2014 and U+2015.
1587 (BODY for FROM_LOOP): Reject input > 0xFEA0, avoids out-of-bounds
1588 array access.
1589 * iconvdata/gbgbk.c (BODY for FROM_LOOP): Map 0xA844 to 0xA1AA.
1590 * iconvdata/testdata/GBK..UTF8: Swap U+2014 and U+2015.
1591
1592 2000-09-23 Bruno Haible <haible@clisp.cons.org>
1593
1594 * iconvdata/johab.c (final_to_ucs): Fix typos.
1595 (jamo_from_ucs_table): Likewise.
1596 (BODY for FROM_LOOP): Map 0x5c to U+20A9. Reject ranges
1597 0xD9E6..0xD9FE and 0xDEF2..0xDEFE.
1598 (BODY for TO_LOOP): Map U+20A9 to 0x5c. Don't produce values in
1599 the range 0xD9E6..0xD9FE.
1600 * iconvdata/tst-tables.sh: Enable JOHAB testing.
1601
1602 2000-09-25 Ulrich Drepper <drepper@redhat.com>
1603
1604 * iconv/gconv_conf.c (__gconv_get_path): Fix problem with relative
1605 GCONV_PATH.
1606
1607 2000-09-24 Ulrich Drepper <drepper@redhat.com>
1608
1609 * libio/genops.c (_IO_doallocbuf): Don't use single byte buffer if
1610 stream is in wide mode.
1611
1612 * stdio-common/vfprintf.c (buffered_vfprintf): Orient stream.
1613
1614 2000-09-21 Bruno Haible <haible@clisp.cons.org>
1615
1616 * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Shift __count
1617 by 3, not 2.
1618 (INIT_PARAMS, UPDATE_PARAMS): Likewise.
1619
1620 2000-09-21 Bruno Haible <haible@clisp.cons.org>
1621
1622 * stdio-common/vfscanf.c (__vfscanf, _IO_vfscanf): Fix bugs in
1623 reallocation logic for MALLOC (%as, %aS formats).
1624
1625 2000-09-24 Ulrich Drepper <drepper@redhat.com>
1626
1627 * stdio-common/vfprintf.c (process_arg): Handle %hhn.
1628 Add missing case in va_arg handling for numbers.
1629 * stdio-common/tst-printf.c (main): Add tests for %hhu and %hhn
1630 handling.
1631 * stdio/tst-printf.sh: Adjust expected results.
1632 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1633
1634 2000-09-20 Bruno Haible <haible@clisp.cons.org>
1635
1636 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Reject 0x80.
1637 (BODY for TO_LOOP): Clear bit 7 when outputting ISO-8859-1 upper half
1638 characters.
1639 * iconvdata/gen-8bit-gap-1.sh: Recognize lowercase hexadecimal digits
1640 as equivalent to uppercase hexadecimal digits.
1641
1642 2000-09-20 Bruno Haible <haible@clisp.cons.org>
1643
1644 * iconvdata/testdata/EUC-KR..UTF8: New file.
1645 * iconvdata/testdata/EUC-TW: New file.
1646 * iconvdata/testdata/EUC-TW..UTF8: New file.
1647 * iconvdata/testdata/EUC-JP: New file.
1648 * iconvdata/testdata/EUC-JP..UTF8: New file.
1649 * iconvdata/testdata/ISO-2022-JP: New file.
1650 * iconvdata/testdata/ISO-2022-JP..UTF8: New file.
1651 * iconvdata/testdata/ISO-2022-JP-2: New file.
1652 * iconvdata/testdata/ISO-2022-JP-2..UTF8: New file.
1653 * iconvdata/testdata/ISO-2022-KR: Add a few more lines.
1654 * iconvdata/testdata/ISO-2022-KR..UTF8: New file.
1655 * iconvdata/testdata/ISO-2022-CN: New file.
1656 * iconvdata/testdata/ISO-2022-CN..UTF8: New file.
1657 * iconvdata/testdata/ISO-2022-CN-EXT: New file.
1658 * iconvdata/testdata/ISO-2022-CN-EXT..UTF8: New file.
1659 * iconvdata/TESTS: Enable tests for ISO-2022-JP, ISO-2022-JP-2,
1660 ISO-2022-CN, ISO-2022-CN-EXT, EUC-JP, EUC-TW.
1661
1662 2000-09-24 Andreas Jaeger <aj@suse.de>
1663
1664 * elf/ldconfig.c (add_dir): Move logic to add entry to list to new
1665 function add_single_dir.
1666 (add_single_dir): New function.
1667 (search_dir): Use add_single_dir instead of recursing.
1668
1669 * sysdeps/generic/dl-cache.h: Include stdint.h.
1670 (struct file_entry_new): Use fixed sizes for interoperability
1671 between 32bit and 64bit systems, add __unused to make alignment
1672 explicit.
1673 (CACHE_VERSION): Increment.
1674 (struct cache_file_new): Use fixed sizes, add one more unused
1675 entry to make alignment explicit.
1676
1677 2000-09-24 Ulrich Drepper <drepper@redhat.com>
1678
1679 * elf/ldconfig.c (search_dir): Make more use of d_type information.
1680
1681 2000-09-23 Ulrich Drepper <drepper@redhat.com>
1682
1683 * stdio-common/printf-parse.h (parse_one_spec): Clear
1684 spec->info.i18n. Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
1685
1686 2000-09-18 Mark Kettenis <kettenis@gnu.org>
1687
1688 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_SYNCHRONIZED_IO):
1689 #undef since we don't have msync.
1690
1691 * sysdeps/mach/hurd/bits/time.h: (CLOCKS_PER_SEC): Make a long int
1692 constant since that is what clock_t is.
1693 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
1694
1695 2000-09-11 Mark Kettenis <kettenis@gnu.org>
1696
1697 * sysdeps/mach/getloadavg.c (getloadavg): Divide instead of
1698 multiply by LOAD_SCALE.
1699
1700 2000-09-22 Jakub Jelinek <jakub@redhat.com>
1701
1702 * crypt/crypt.h (crypt, setkey, encrypt): Add __THROW.
1703 (crypt_r, setkey_r, encrypt_r): Likewise.
1704
1705 2000-09-22 Andreas Jaeger <aj@suse.de>
1706
1707 * locale/programs/repertoire.c (repertoiremap_hash): Don't specify
1708 array size.
1709
1710 * sysdeps/alpha/fpu/libm-test-ulps: New file.
1711 From Christian Iseli <chris@ludwig-alpha.unil.ch>.
1712
1713 2000-09-21 Andreas Jaeger <aj@suse.de>
1714
1715 * math/libm-test.inc (atan_test): Test for existence of function.
1716 (expm1_test): Likewise.
1717 (acos_test): Likewise.
1718 (asin_test): Likewise.
1719 (exp_test): Likewise.
1720 (log10_test): Likewise.
1721 (log_test): Likewise.
1722 (pow_test): Likewise.
1723 (sqrt_test): Likewise.
1724 (cos_test): Likewise.
1725 (sin_test): Likewise.
1726 (tan_test): Likewise.
1727 (log1p_test): Likewise.
1728 (log2_test): Likewise.
1729
1730 * sysdeps/i386/fpu/libm-test-ulps: Tweak some values for K6.
1731
1732 * libio/oldiofsetpos64.c: Fix alias names.
1733
1734 2000-09-21 Martin Buchholz <martin@xemacs.org>
1735
1736 * manual/terminal.texi (Allocation): Sample code correction.
1737
1738 2000-09-20 Andreas Jaeger <aj@suse.de>
1739
1740 * iconvdata/Makefile (generated): Add tst-tables.out.
1741
1742 * intl/Makefile (generated): Add test output.
1743
1744 2000-09-19 Andreas Jaeger <aj@suse.de>
1745
1746 * sunrpc/clnt_simp.c (callrpc): Fix write beyond end of buffer.
1747 Reported by Jens-Uwe Mager <jum@helios.de>.
1748
1749 2000-09-18 Ulrich Drepper <drepper@redhat.com>
1750
1751 * version.h (VERSION): Bump to 2.1.94.
1752
1753 * sysdeps/mips/Dist: Add fpu/fenv_libc.h.
1754 * sysdeps/sparc/sparc32/soft-fp/Dist: Add q_add.c.
1755 * sysdeps/sparc/sparc64/soft-fp/Dist: Add qp_add.c.
1756 * sysdeps/unix/sysv/linux/ia64/Dist: Add net/route.h.
1757
1758 * malloc/mtrace.c (mtrace): Mark stream as close on exec.
1759
1760 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1761
1762 * iconvdata/utf-16.c (BODY for TO_LOOP): Reject UCS-4 input in the
1763 range 0xD800..0xDFFF.
1764 * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
1765 (BODY for FROM_LOOP): Likewise.
1766 * iconv/gconv_simple.c (ucs2_internal_loop): Likewise.
1767 (internal_ucs2_loop): Likewise.
1768 (ucs2reverse_internal_loop): Likewise.
1769 (internal_ucs2reverse_loop): Likewise.
1770
1771 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1772
1773 * iconvdata/utf-16.c (gconv_init): Add missing slashes to encoding
1774 names.
1775
1776 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1777
1778 * iconvdata/tst-table-from.c (main): Fix test for error on stdout.
1779 * iconvdata/tst-table-to.c (main): Likewise.
1780
1781 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1782
1783 * iconvdata/iso-ir-165.c (__isoir165_from_tab): Renamed from
1784 __isoir165_tab.
1785 * iconvdata/cns11643.h (__cns11643l1_to_ucs4_tab): New declaration.
1786 * iconvdata/iso-2022-cn-ext.c: Include "cns11643.h".
1787 (GB7590_set, GB13132_set, CNS11643_3_set, CNS11643_4_set,
1788 CNS11643_5_set, CNS11643_6_set, CNS11643_7_set): Change enum values.
1789 (BODY for FROM_LOOP): Fix buffer overrun. Treat CNS11643 plane 3.
1790 Return __GCONV_INCOMPLETE_INPUT instead of __GCONV_EMPTY_INPUT.
1791 (BODY for TO_LOOP): Fix usage of `set' vs. `used'. Fix typo that
1792 caused GB2312 to be used instead of ISO-IR-165. Treat CNS11643
1793 plane 3. Fix shift sequences. Output announcement for SS2 and SS3
1794 encodings when needed. When outputting an announcement, don't clear
1795 most other announcements.
1796
1797 2000-09-17 Bruno Haible <haible@clisp.cons.org>
1798
1799 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): Fix buffer overrun.
1800 (BODY for TO_LOOP): Fix usage of `set' vs. `used'.
1801
1802 2000-09-14 Bruno Haible <haible@clisp.cons.org>
1803
1804 * intl/Versions: Add bind_textdomain_codeset.
1805
1806 2000-09-16 Ralf Baechle <ralf@gnu.org>
1807
1808 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Reformat. Declare
1809 as function.
1810 (_RTLD_EPILOGUE): Reformat. Declare size of entry function.
1811 (ELF_MACHINE_BEFORE_RTLD_RELOC): Relocate the dynamic linker itself so
1812 it will even work when not loaded to the standard address.
1813 (RTLD_START): Reformat. Call _dl_start in a way that is safe even
1814 before the dynamic linker itself is relocated.
1815
1816 2000-09-18 Andreas Jaeger <aj@suse.de>
1817
1818 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
1819 __ASSUME_32BITUIDS for MIPS.
1820 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: New file.
1821 * sysdeps/unix/sysv/linux/mips/Dist: Add ipc_priv.h.
1822
1823 2000-09-17 H.J. Lu <hjl@gnu.org>
1824
1825 * catgets/Makefile ($(objpfx)de/libc.cat): Use
1826 $(make-target-directory) instead of mkdir.
1827
1828 2000-09-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1829
1830 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
1831 __ASSUME_32BITUIDS for __powerpc__.
1832 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: New file.
1833 * sysdeps/unix/sysv/linux/powerpc/Dist: Add ipc_priv.h.
1834
1835 2000-09-17 Ulrich Drepper <drepper@redhat.com>
1836
1837 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Fix last
1838 patch.
1839 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
1840
1841 2000-09-16 Jakub Jelinek <jakub@redhat.com>
1842
1843 * sysdeps/ia64/Implies: Reorder ieee754 implies so that ldbl-* comes
1844 first.
1845 * sysdeps/m68k/Implies: Likewise.
1846 * sysdeps/sparc/sparc64/Implies: Likewise.
1847
1848 2000-09-16 Jakub Jelinek <jakub@redhat.com>
1849
1850 * elf/readlib.c (process_file): Don't error for stale .so links either.
1851
1852 2000-09-16 Ulrich Drepper <drepper@redhat.com>
1853
1854 * elf/dl-load.c (_dl_map_object_from_fd): Add one more
1855 __builtin_expect.
1856
1857 * include/bits/xopen_lim.h (LONG_BIT): Use LONG_MAX, not INT_MAX.
1858 Patch by Thorsten Kukuk <kukuk@suse.de>.
1859
1860 * dlfcn/Makefile (distribute): Add defaultmod1.c and defaultmod2.c.
1861 (test): Add default.
1862 (modules-names): Add defaultmod1 and defaultmod2.
1863 Add rules to build test objects.
1864
1865 2000-09-15 Ulrich Drepper <drepper@redhat.com>
1866
1867 * wctype/wctype.h: Always include <bits/types.h>.
1868 Reported by Jim Meyering <meyering@ascend.com>.
1869
1870 * elf/rtld.c (_dl_dynamic_weak): Set to 1 by default for now.
1871 * elf/dl-support.c: Likewise.
1872
1873 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Correct position of
1874 st_blocks member in stat and stat64 structs.
1875 Patch by Bill Nottingham <notting@redhat.com>.
1876
1877 * iconvdata/tst-tables.sh: Add warning that GB18030 test might
1878 take longer.
1879
1880 * math/complex.h: Don't define _Complex macro for gcc 3. Add
1881 __extension__ to _Complex_I definition since gcc warns if -pedantic.
1882 * math/bits/cmathcalls.h (conj): Add __extension__ since we use ~.
1883 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
1884
1885 * include/limits.h: Define LLONG_MIN, LLONG_MAX, ULLONG_MAX if
1886 necessary. Move includes of POSIX and Unix limits files to the end.
1887 * stdlib/Makefile (tests): Add tst-limits.
1888 * stdlib/tst-limits.h: New file.
1889
1890 2000-09-15 Andreas Jaeger <aj@suse.de>
1891
1892 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Handle FE_NOMASK_ENV.
1893
1894 * sysdeps/mips/bits/fenv.h (FE_NOMASK_ENV): Define.
1895
1896 2000-09-15 Jakub Jelinek <jakub@redhat.com>
1897
1898 * sysdeps/unix/alpha/sysdep.h (inline_syscall_clobbers): Add memory
1899 clobber.
1900 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
1901 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Likewise.
1902
1903 2000-09-15 Ulrich Drepper <drepper@redhat.com>
1904
1905 * elf/Makefile (distribute): Add nextmod1.c and nextmod2.c.
1906 (tests): Add next.
1907 (modules-names): Add nextmod1 and nextmod2.
1908 Add rules to build and run next.
1909 * elf/next.c: New file.
1910 * elf/nextmod1.c: New file.
1911 * elf/nextmod2.c: New file.
1912
1913 2000-09-14 Jakub Jelinek <jakub@redhat.com>
1914
1915 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Fix a typo.
1916
1917 2000-09-15 Andreas Jaeger <aj@suse.de>
1918
1919 * sysdeps/mips/fpu/fenv_libc.h: New file.
1920 * sysdeps/mips/fpu/feenablxcpt.c: Use fenv_libc.h
1921 * sysdeps/mips/fpu/fegetexcept.c: Likewise.
1922 * sysdeps/mips/fpu/fedisblxcpt.c: Likewise.
1923
1924 * sysdeps/mips/fpu/feenablxcpt.c: New file.
1925 * sysdeps/mips/fpu/fegetexcept.c: New file.
1926 * sysdeps/mips/fpu/fedisblxcpt.c: New file.
1927
1928 2000-09-14 Ulrich Drepper <drepper@redhat.com>
1929
1930 * intl/Makefile: Avoid unnecessary test reruns.
1931
1932 * stdio-common/tst-printf.sh: Also allow output from 64-bit machines.
1933
1934 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Change
1935 to not use sysctl(). Too many architectures have problems with it.
1936
1937 2000-09-14 Andreas Jaeger <aj@suse.de>
1938
1939 * scripts/config.sub: New version from subversions.gnu.org.
1940
1941 * time/clocktest.c (main): Change format, CLOCKS_PER_SEC is now
1942 long.
1943
1944 2000-09-14 Jakub Jelinek <jakub@redhat.com>
1945
1946 * posix/regex.c (compile_range): Cast collseq index to unsigned char
1947 to avoid accessing data before collseq.
1948
1949 * sysdeps/sparc/fpu/bits/mathinline.h (__unordered_v9cmp): Avoid
1950 pasting strings together.
1951
1952 2000-09-14 Greg McGary <greg@mcgary.org>
1953
1954 * sysdeps/generic/bp-checks.h: Remove bogus reference to GNU MP in
1955 copyright notice.
1956 * sysdeps/generic/bp-semctl.h: Likewise.
1957 * sysdeps/generic/bp-start.h: Likewise.
1958 * sysdeps/generic/bp-sym.h: Likewise.
1959 * sysdeps/generic/bp-thunks.h: Likewise. Include <stdio.h> to get
1960 rename prototype.
1961
1962 2000-09-13 Ulrich Drepper <drepper@redhat.com>
1963
1964 * io/test-lfs.c (do_test): Allow stat64() to return EOVERFLOW and
1965 don't fail.
1966
1967 * elf/elf.h: Add missing official relocations.
1968
1969 * libio/stdio.h: Define __FILE if __need___FILE is defined.
1970 * stdio/stdio.h: Likewise.
1971 * wcsmbs/wchar.h: Get definition of __FILE. Use __FILE instead of FILE.
1972 * include/stdio.h: Handle __need___FILE like __need_FILE.
1973 * include/wchar.h: Use __FILE instead of FILE.
1974 * libio/fwprintf.c: Include <stdio.h> for FILE definition.
1975 * libio/fwscanf.c: Likewise.
1976 * libio/getwc.c: Likewise.
1977
1978 * sysdeps/generic/stdint.h (WINT_MAX): Define to 4294967295u.
1979 * sysdeps/generic/bits/wchar.h (WCHAR_MIN): Define to -2147483647 - 1.
1980 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Likewise.
1981
1982 * assert/assert.h: Update comment header about ISO C section.
1983 * math/complex.h: Likewise.
1984 * ctype/ctype.h: Likewise.
1985 * include/errno.h: Likewise.
1986 * include/limits.h: Likewise.
1987 * locale/locale.h: Likewise.
1988 * math/math.h: Likewise.
1989 * setjmp/setjmp.h: Likewise.
1990 * signal/signal.h: Likewise.
1991 * stdio/stdio.h: Likewise.
1992 * libio/stdio.h: Likewise.
1993 * stdlib/stdlib.h: Likewise.
1994 * string/string.h: Likewise.
1995 * time/time.h: Likewise.
1996 * wcsmbs/wchar.h: Likewise.
1997 * wctype/wctype.h: Likewise.
1998 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
1999
2000 2000-09-13 Andreas Jaeger <aj@suse.de>
2001
2002 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Fix test
2003 for no more entries.
2004 * sysdeps/unix/sysv/aix/bits/socket.h (__cmsg_nxthdr): Likewise.
2005 * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Likewise.
2006 Reported by Eric S. Johnson <esj@cs.fiu.edu>, closes PR libc/1887.
2007
2008 2000-09-13 Ulrich Drepper <drepper@redhat.com>
2009
2010 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Make a long int
2011 constant since this is what clock_t is.
2012 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
2013 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
2014 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
2015 * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.
2016
2017 * time/time.h: Don't defined clockid_t and timer_t unless POSIX
2018 definitions are requested.
2019
2020 2000-09-13 Andreas Jaeger <aj@suse.de>
2021
2022 * shlib-versions: libBrokenLocale needs minimal version for ia64,
2023 sparc64 and sh to synch with libc.
2024
2025 2000-09-13 Ulrich Drepper <drepper@redhat.com>
2026
2027 * iconvdata/Makefile (modules): Add ISO-2022-CN-EXT.
2028 (distribute): Add iso-2022-cn-ext.c.
2029 Add definitions to compile the new module.
2030 * iconvdata/gconv-modules: Add entries for ISO-2022-CN-EXT.
2031 * iconvdata/iso-2022-cn-ext.c: New file.
2032 * iconvdata/iso-ir-165.h (isoir165_to_ucs4): Renamed from
2033 ucs4_from_isoir165. Increment input pointer if successful.
2034
2035 * csu/Makefile: Work around a gcc bug when creating csu-dummies.
2036
2037 * sysdeps/unix/sysv/linux/getdents.c: Pretty print.
2038
2039 2000-09-01 Jes Sorensen <jes@linuxcare.com>
2040
2041 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add
2042 __syscall_getdents64 wrapper.
2043
2044 * sysdeps/unix/sysv/linux/ia64/net/route.h: New file.
2045
2046 2000-09-12 Ulrich Drepper <drepper@redhat.com>
2047
2048 * iconvdata/gb18030.c: Many many changes. Make consistent with
2049 charmap and with itself.
2050 * iconvdata/tst-tables.sh: Test GB18030.
2051
2052 2000-09-11 Ulrich Drepper <drepper@redhat.com>
2053
2054 * iconv/skeleton.c: Fix last patch, add missing parameter to
2055 unaligned function call.
2056
2057 2000-09-10 Bruno Haible <haible@clisp.cons.org>
2058
2059 * locale/programs/ld-collate.c (collate_read): Fix typo in handling
2060 of decimal ellipsis.
2061
2062 2000-09-11 Bruno Haible <haible@clisp.cons.org>
2063
2064 * locale/programs/ld-collate.c (collate_read): Always initialize
2065 error_section.next.
2066
2067 2000-09-10 Bruno Haible <haible@clisp.cons.org>
2068
2069 * locale/programs/ld-collate.c (collate_finish): Upper bound for
2070 ruleidx is 128, not 256.
2071
2072 2000-09-11 Ulrich Drepper <drepper@redhat.com>
2073
2074 * locale/programs/ld-collate.c (collate_read): Correct check for
2075 already inserted entries.
2076
2077 2000-09-10 Bruno Haible <haible@clisp.cons.org>
2078
2079 * iconv/skeleton.c (FUNCTION_NAME): Handle unaligned access in
2080 second try as well.
2081
2082 2000-09-10 Bruno Haible <haible@clisp.cons.org>
2083
2084 * iconv/skeleton.c (FUNCTION_NAME): Optimize an `if' if
2085 MAX_NEEDED_FROM > 1 && MAX_NEEDED_TO > 1.
2086
2087 2000-09-10 Bruno Haible <haible@clisp.cons.org>
2088
2089 * iconv/skeleton.c (gconv_init): Replace all uses of RESET_STATE with
2090 SAVE_RESET_STATE.
2091
2092 2000-09-10 Bruno Haible <haible@clisp.cons.org>
2093
2094 * iconvdata/utf-7.c: New file.
2095 * iconvdata/gconv-modules (UTF-7): New module entries.
2096 * iconvdata/Makefile (modules): Add UTF-7.
2097 (distribute): Add utf-7.c.
2098 * iconvdata/testdata/UTF-7: New file.
2099 * iconvdata/testdata/UTF-7..UTF8: New file.
2100 * iconvdata/TESTS (UTF-7): New entry.
2101 * iconvdata/run-iconv-test.sh: Fix confusing output.
2102
2103 2000-09-11 Ulrich Drepper <drepper@redhat.com>
2104
2105 * sysdeps/posix/tempname.c (__gen_tempname): Use __lxstat and __xstat.
2106
2107 2000-09-10 David S. Miller <davem@redhat.com>
2108
2109 * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Correct %fp
2110 frame pointer offset for non-fast path.
2111
2112 2000-09-10 Ulrich Drepper <drepper@redhat.com>
2113
2114 * locale/programs/3level.h (*_init): Initialize level1, level2,
2115 and level3 as well.
2116 (*_add): Remove a few unnecessary conditionals.
2117
2118 2000-09-05 Wolfram Gloger <wg@malloc.de>
2119
2120 * malloc/thread-m.h [_LIBC]: Even if not linking with libpthread,
2121 ensure usability of mutex as an `in use' flag.
2122
2123 2000-09-10 Ulrich Drepper <drepper@redhat.com>
2124
2125 * shlib-versions: Simplify libm entries. Correct a few Hurd entries.
2126
2127 * sysdeps/generic/initfini.c: Rewrite slightly to get rid of the
2128 ugly GMON_WEAK_START hack.
2129 Patch by Philip Blundell <philb@gnu.org>.
2130
2131 * sysdeps/i386/i486/bits/string.h: Pretty printing.
2132
2133 2000-09-09 Ulrich Drepper <drepper@redhat.com>
2134
2135 * sysdeps/powerpc/dl-machine.c: Add volatile to PPC_DCBST, PPC_SYNC,
2136 and PPC_ICBI asm for broken compilers.
2137 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2138
2139 2000-09-09 Andreas Jaeger <aj@suse.de>
2140
2141 * manual/message.texi (Advanced gettext functions): Fix typo.
2142
2143 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include <string.h> for
2144 strncpy prototype.
2145
2146 2000-09-09 Ulrich Drepper <drepper@redhat.com>
2147
2148 * sysdeps/ia64/memchr.S: Add .pred.rel to avoid wrong assembler
2149 warnings.
2150 * sysdeps/ia64/memccpy.S: Likewise.
2151 Patches by Jim Wilson <wilson@redhat.com>.
2152
2153 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Use uname
2154 before trying to read /proc.
2155 Patch by Matt Wilson <msw@redhat.com>.
2156 * include/sys/utsname.h: Declare __uname.
2157 * sysdeps/generic/uname.c: Make uname a weak alias of __uname.
2158 * sysdeps/mach/hurd/uname.c: Likewise.
2159 * sysdeps/unix/syscalls.list: Likewise.
2160
2161 * iconv/gconv_dl.c (do_release_shlib): Rewrite condition for
2162 unloading a bit.
2163
2164 2000-09-08 Ulrich Drepper <drepper@redhat.com>
2165
2166 * posix/getopt.c (_getopt_internal): When long_only is set always
2167 recognize conflicts just like before.
2168
2169 2000-09-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2170
2171 * sysdeps/ia64/Makefile (sysdep-rtld-routines): New variable.
2172
2173 2000-09-08 Greg McGary <greg@mcgary.org>
2174
2175 * sysdeps/unix/sysv/linux/syscalls.list (mincore): Fix arg signature.
2176 * sysdeps/unix/make-syscalls.sh: New signature keyletter `V'.
2177 * sysdeps/generic/bp-checks.h (CHECK_N_PAGES): New macro.
2178
2179 2000-09-08 Andreas Jaeger <aj@suse.de>
2180
2181 * sysdeps/unix/sysv/linux/arm/lockf64.c: New file.
2182
2183 * sysdeps/unix/sysv/linux/arm/fcntl.c: New file.
2184
2185 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h
2186 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
2187 (F_GETLK,F_SETLK,F_SETLKW): Handle __USE_FILE_OFFSET64 correctly.
2188
2189 2000-09-07 Ulrich Drepper <drepper@redhat.com>
2190
2191 * iconvdata/tst-tables.sh: Enable EUC-KR test.
2192
2193 * elf/dl-load.c (lose): Decrement _nl_loaded.
2194 (_dl_map_object_from_fd): Don't try to dlopen executables.
2195
2196 * iconvdata/tst-tables.sh: Actually return with an error if
2197 something goes wrong.
2198 * iconvdata/tst-table.sh: Return with an error if any of the cmp fails.
2199 * iconvdata/big5hkscs.c (BODY of FROM_LOOP): Reject 0xff as input.
2200
2201 * iconvdata/tst-tables.sh: Add BIG5HKSCS.
2202
2203 * iconvdata/tst-table-to.c (main): Correct cast in iconv call.
2204 * iconvdata/tst-table-from.c: Include <string.h>.
2205 (try): Correct cast in iconv call.
2206
2207 * elf/Makefile (all-rtld-routines): Evaluate $(sysdep-rtld-routines)
2208 too.
2209 * sysdeps/powerpc/Makefile (sysdep-rtld-routines): New variable.
2210 (sysdep_routines): Remove dl-start.
2211 Patches by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2212
2213 * assert/__assert.c: Undefine NDEBUG before include <assert.h>.
2214
2215 * sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning.
2216 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
2217
2218 2000-09-06 Andreas Schwab <schwab@suse.de>
2219
2220 * sysdeps/unix/sysv/linux/ia64/bits/time.h: New file.
2221
2222 2000-09-07 Ulrich Drepper <drepper@redhat.com>
2223
2224 * sysdeps/unix/sysv/linux/gethostid.c: Find hostid file in /etc.
2225
2226 * scripts/config.sub: Strip out -unknown for Linux targets.
2227 Patch by Scott Bambrough <scottb@netwinder.org>.
2228
2229 * posix/tst-dir.c (main): Correct one bug (missing NULL test) and
2230 add one more test.
2231
2232 2000-09-07 Andreas Jaeger <aj@suse.de>
2233
2234 * sysdeps/unix/sysv/linux/mips/lockf64.c: New file.
2235
2236 * sysdeps/unix/sysv/linux/i386/fcntl.c: Add prototypes for the
2237 syscalls.
2238
2239 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add __syscall_fcntl.
2240
2241 * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Fix calls to dl_lookup.
2242 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
2243
2244 * sysdeps/unix/sysv/linux/mips/fcntl.c: New file.
2245
2246 * stdlib/tst-bsearch.c (main): Add more test cases.
2247
2248 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo.
2249 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2250 Reported by GOTO Masanori <gotom@debian.or.jp>.
2251
2252 2000-09-07 Ulrich Drepper <drepper@redhat.com>
2253
2254 * posix/Makefile (tests): Add tst-dir.
2255 (tst-dir-ARGS): New variable.
2256 * posix/tst-dir.c: New file.
2257
2258 2000-09-07 Andreas Jaeger <aj@suse.de>
2259
2260 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_getdents64): New.
2261 (SYS_fcntl64): New.
2262
2263 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add getdents64.
2264
2265 2000-09-06 Ulrich Drepper <drepper@redhat.com>
2266
2267 * sysdeps/unix/opendir.c: If O_DIRECTORY_WORKS is defined don't
2268 use the hack with tryopen_o_directory to determine at runtime
2269 whether it works.
2270 * sysdeps/unix/sysv/linux/opendir.c: New file.
2271 * sysdeps/unix/sysv/linux/kernel-features.h: Define
2272 __ASSUME_O_DIRECTORY if kernel knows O_DIRECTORY.
2273
2274 * catgets/Depend: New file. Add intl.
2275 * catgets/Makefile (tests): Add tst-catgets.
2276 (generated): Remove de.msg.
2277 (generated-dirs): Add de.
2278 Add dependency if tst-catgets output on de/libc.cat.
2279 * catgets/tst-catgets.c: New file.
2280
2281 * po/ja.po: New file.
2282 * po/el.po: Update from translation team.
2283
2284 * wcsmbs/Depend: New file.
2285 * wcsmbs/Makefile (tests): Add tst-btowc.
2286 (tst-btowc-ENV): Define.
2287 * wcsmbs/tst-btowc.c: New file.
2288
2289 * sysdeps/unix/sysv/linux/_G_config.h: Moved to...
2290 * sysdeps/gnu/_G_config.h: ...here to be shared with Hurd.
2291
2292 * sysdeps/posix/signal.c: Add sig to act.sa_mask for completeness.
2293
2294 * stdlib/Makefile (tests): Add tst-bsearch.
2295 * stdlib/tst-bsearch.c: New file.
2296
2297 * posix/getopt.c (_getopt_internal): Don't recognize an option
2298 name as ambiguous if it's a prefix for more than one name but the
2299 other struct option values are identical.
2300
2301 * posix/tstgetopt.c: Add test for improved ambiguity recognition.
2302 Don't depend on visual inspection of the output file to recognize
2303 errors.
2304 * posix/Makefile (tstgetopt-ARGS): Add a few more parameters.
2305
2306 2000-09-06 Andreas Jaeger <aj@suse.de>
2307
2308 * sysdeps/alpha/soft-fp/Dist: New file.
2309 * sysdeps/i386/soft-fp/Dist: New file.
2310 * sysdeps/mips/mips64/soft-fp/Dist: New file.
2311 * sysdeps/mips/soft-fp/Dist: New file.
2312 * sysdeps/powerpc/soft-fp/Dist: New file.
2313 * sysdeps/sparc/sparc32/soft-fp/Dist: New file.
2314 * sysdeps/sparc/sparc64/soft-fp/Dist: New file.
2315
2316 * sysdeps/sparc/sparc64/soft-fp/Makefile [$(subdir) = soft-fp]:
2317 Use sysdep_routines instead of routines to fix make dist failure.
2318 * sysdeps/sparc/sparc32/soft-fp/Makefile: Likewise (in commented
2319 out code).
2320 * sysdeps/powerpc/soft-fp/Makefile [$(subdir) = soft-fp]: Likewise.
2321
2322 * sysdeps/mips/Makefile [$(subdir) = misc]: Use
2323 sysdep_headers instead of headers for make dist.
2324
2325 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = misc]:
2326 Likewise.
2327
2328 2000-09-06 Andreas Schwab <schwab@suse.de>
2329
2330 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: New file.
2331
2332 2000-09-06 Andreas Jaeger <aj@suse.de>
2333
2334 * soft-fp/Makefile (distribute): Remove ChangeLog.
2335
2336 * sysdeps/sparc/sparc32/Makefile [$(subdir) = gnulib]: Use
2337 sysdep_routines instead of routines for make dist.
2338
2339 2000-09-05 Ulrich Drepper <drepper@redhat.com>
2340
2341 * libio/libio.h (_IO_fwide_maybe_incompatible): For glibc 2.0
2342 compatibility check for old stream and call _IO_wide in doubt.
2343 (_IO_fwide): Use _IO_fwide_maybe_incompatible macro.
2344 * libio/iofwide.c (_IO_fwide): If compatibility with glibc 2.0 is
2345 needed tst for such an old structure and don't do anything.
2346 * libio/freopen.c: Remove declaration of _IO_stdin_used.
2347
2348 2000-09-06 Andreas Jaeger <aj@suse.de>
2349
2350 * sysdeps/powerpc/Makefile [$(subdir) = elf]: Modify
2351 sysdep-dl-routines and sysdep_routines instead of rtld-routines
2352 and dl-routines.
2353
2354 * soft-fp/ChangeLog: Merged with this file.
2355
2356 2000-06-13 Ulrich Drepper <drepper@redhat.com>
2357
2358 * soft-fp/Makefile (distribute): Add op-8.h and testit.c.
2359
2360 * soft-fp/Makefile (distribute): Add the math functions, too.
2361
2362 * soft-fp/Makefile (distribute): Add ChangeLog, Banner, and configure.
2363
2364 2000-03-03 Geoff Keating <geoffk@cygnus.com>
2365
2366 * soft-fp/soft-fp.h (_FP_ROUND_ZERO): Cast 0 to void before using it
2367 as a statement.
2368
2369 * soft-fp/sysdeps/powerpc/Makefile (routines): New file.
2370 * soft-fp/sysdeps/powerpc/q_*: New files.
2371
2372 2000-09-05 Ulrich Drepper <drepper@redhat.com>
2373
2374 * stdio-common/vfprintf.c (process_string_arg): Handle precision
2375 in wide char case correctly. Don't allocate too long temporary
2376 strings with alloca.
2377
2378 * stdio-common/Makefile (tests): Add tst-swprintf.
2379 (tst-swprintf-ENV): New variable.
2380 * stdio-common/tst-swprintf.c: New file.
2381
2382 2000-09-05 Andreas Jaeger <aj@suse.de>
2383
2384 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use st_pad5.
2385 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Fix assignments.
2386 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2387
2388 2000-09-05 Ulrich Drepper <drepper@redhat.com>
2389
2390 * configure.in: Strip out "unknown" from configuration names.
2391
2392 2000-09-05 Andreas Jaeger <aj@suse.de>
2393
2394 * sysdeps/powerpc/Subdirs: New file, adds soft-fp.
2395
2396 * sysdeps/sparc/sparc64/Implies: Add soft-fp.
2397 * sysdeps/sparc/sparc32/Implies: Likewise.
2398 * sysdeps/powerpc/Implies: Likewise.
2399
2400 * libio/oldiofsetpos64.c: Check for compatibility with glibc 2.1.
2401 * libio/oldiofgetpos64.c: Likewise.
2402
2403 * soft-fp/Makefile (distribute): Remove configure.
2404
2405 * sysdeps/sparc/sparc64/soft-fp/Versions: Use version glibc 2.2.
2406
2407 * soft-fp/configure: Remove.
2408
2409 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
2410 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
2411
2412 * soft-fp/sysdeps/sparc/sparc32/Makefile: Move from here...
2413 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... to here.
2414
2415 * soft-fp/sysdeps/powerpc/Makefile: Move from here...
2416 * sysdeps/powerpc/soft-fp/Makefile: ... to here.
2417
2418 * soft-fp/sysdeps/sparc/sparc64/Makefile: Move from here...
2419 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... to here.
2420
2421 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
2422 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
2423
2424 * soft-fp/sysdeps/powerpc/q_add.c: Move from here...
2425 * sysdeps/powerpc/soft-fp/q_add.c: ... to here.
2426
2427 * soft-fp/sysdeps/powerpc/q_cmp.c: Move from here...
2428 * sysdeps/powerpc/soft-fp/q_cmp.c: ... to here.
2429
2430 * soft-fp/sysdeps/powerpc/q_cmpe.c: Move from here...
2431 * sysdeps/powerpc/soft-fp/q_cmpe.c: ... to here.
2432
2433 * soft-fp/sysdeps/powerpc/q_div.c: Move from here...
2434 * sysdeps/powerpc/soft-fp/q_div.c: ... to here.
2435
2436 * soft-fp/sysdeps/powerpc/q_dtoq.c: Move from here...
2437 * sysdeps/powerpc/soft-fp/q_dtoq.c: ... to here.
2438
2439 * soft-fp/sysdeps/powerpc/q_feq.c: Move from here...
2440 * sysdeps/powerpc/soft-fp/q_feq.c: ... to here.
2441
2442 * soft-fp/sysdeps/powerpc/q_fge.c: Move from here...
2443 * sysdeps/powerpc/soft-fp/q_fge.c: ... to here.
2444
2445 * soft-fp/sysdeps/powerpc/q_fgt.c: Move from here...
2446 * sysdeps/powerpc/soft-fp/q_fgt.c: ... to here.
2447
2448 * soft-fp/sysdeps/powerpc/q_fle.c: Move from here...
2449 * sysdeps/powerpc/soft-fp/q_fle.c: ... to here.
2450
2451 * soft-fp/sysdeps/powerpc/q_flt.c: Move from here...
2452 * sysdeps/powerpc/soft-fp/q_flt.c: ... to here.
2453
2454 * soft-fp/sysdeps/powerpc/q_fne.c: Move from here...
2455 * sysdeps/powerpc/soft-fp/q_fne.c: ... to here.
2456
2457 * soft-fp/sysdeps/powerpc/q_itoq.c: Move from here...
2458 * sysdeps/powerpc/soft-fp/q_itoq.c: ... to here.
2459
2460 * soft-fp/sysdeps/powerpc/q_lltoq.c: Move from here...
2461 * sysdeps/powerpc/soft-fp/q_lltoq.c: ... to here.
2462
2463 * soft-fp/sysdeps/powerpc/q_mul.c: Move from here...
2464 * sysdeps/powerpc/soft-fp/q_mul.c: ... to here.
2465
2466 * soft-fp/sysdeps/powerpc/q_neg.c: Move from here...
2467 * sysdeps/powerpc/soft-fp/q_neg.c: ... to here.
2468
2469 * soft-fp/sysdeps/powerpc/q_qtod.c: Move from here...
2470 * sysdeps/powerpc/soft-fp/q_qtod.c: ... to here.
2471
2472 * soft-fp/sysdeps/powerpc/q_qtoi.c: Move from here...
2473 * sysdeps/powerpc/soft-fp/q_qtoi.c: ... to here.
2474
2475 * soft-fp/sysdeps/powerpc/q_qtoll.c: Move from here...
2476 * sysdeps/powerpc/soft-fp/q_qtoll.c: ... to here.
2477
2478 * soft-fp/sysdeps/powerpc/q_qtos.c: Move from here...
2479 * sysdeps/powerpc/soft-fp/q_qtos.c: ... to here.
2480
2481 * soft-fp/sysdeps/powerpc/q_qtou.c: Move from here...
2482 * sysdeps/powerpc/soft-fp/q_qtou.c: ... to here.
2483
2484 * soft-fp/sysdeps/powerpc/q_qtoull.c: Move from here...
2485 * sysdeps/powerpc/soft-fp/q_qtoull.c: ... to here.
2486
2487 * soft-fp/sysdeps/powerpc/q_sqrt.c: Move from here...
2488 * sysdeps/powerpc/soft-fp/q_sqrt.c: ... to here.
2489
2490 * soft-fp/sysdeps/powerpc/q_stoq.c: Move from here...
2491 * sysdeps/powerpc/soft-fp/q_stoq.c: ... to here.
2492
2493 * soft-fp/sysdeps/powerpc/q_sub.c: Move from here...
2494 * sysdeps/powerpc/soft-fp/q_sub.c: ... to here.
2495
2496 * soft-fp/sysdeps/powerpc/q_ulltoq.c: Move from here...
2497 * sysdeps/powerpc/soft-fp/q_ulltoq.c: ... to here.
2498
2499 * soft-fp/sysdeps/powerpc/q_util.c: Move from here...
2500 * sysdeps/powerpc/soft-fp/q_util.c: ... to here.
2501
2502 * soft-fp/sysdeps/powerpc/q_utoq.c: Move from here...
2503 * sysdeps/powerpc/soft-fp/q_utoq.c: ... to here.
2504
2505 * soft-fp/sysdeps/sparc/sparc32/q_add.c: Move from here...
2506 * sysdeps/sparc/sparc32/soft-fp/q_add.c: ... to here.
2507
2508 * soft-fp/sysdeps/sparc/sparc32/q_cmp.c: Move from here...
2509 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: ... to here.
2510
2511 * soft-fp/sysdeps/sparc/sparc32/q_cmpe.c: Move from here...
2512 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: ... to here.
2513
2514 * soft-fp/sysdeps/sparc/sparc32/q_div.c: Move from here...
2515 * sysdeps/sparc/sparc32/soft-fp/q_div.c: ... to here.
2516
2517 * soft-fp/sysdeps/sparc/sparc32/q_dtoq.c: Move from here...
2518 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: ... to here.
2519
2520 * soft-fp/sysdeps/sparc/sparc32/q_feq.c: Move from here...
2521 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: ... to here.
2522
2523 * soft-fp/sysdeps/sparc/sparc32/q_fge.c: Move from here...
2524 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: ... to here.
2525
2526 * soft-fp/sysdeps/sparc/sparc32/q_fgt.c: Move from here...
2527 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: ... to here.
2528
2529 * soft-fp/sysdeps/sparc/sparc32/q_fle.c: Move from here...
2530 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: ... to here.
2531
2532 * soft-fp/sysdeps/sparc/sparc32/q_flt.c: Move from here...
2533 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: ... to here.
2534
2535 * soft-fp/sysdeps/sparc/sparc32/q_fne.c: Move from here...
2536 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: ... to here.
2537
2538 * soft-fp/sysdeps/sparc/sparc32/q_itoq.c: Move from here...
2539 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: ... to here.
2540
2541 * soft-fp/sysdeps/sparc/sparc32/q_mul.c: Move from here...
2542 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: ... to here.
2543
2544 * soft-fp/sysdeps/sparc/sparc32/q_neg.c: Move from here...
2545 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: ... to here.
2546
2547 * soft-fp/sysdeps/sparc/sparc32/q_qtod.c: Move from here...
2548 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: ... to here.
2549
2550 * soft-fp/sysdeps/sparc/sparc32/q_qtoi.c: Move from here...
2551 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: ... to here.
2552
2553 * soft-fp/sysdeps/sparc/sparc32/q_qtos.c: Move from here...
2554 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: ... to here.
2555
2556 * soft-fp/sysdeps/sparc/sparc32/q_qtoui.c: Move from here...
2557 * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: ... to here.
2558
2559 * soft-fp/sysdeps/sparc/sparc32/q_qtoux.c: Move from here...
2560 * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: ... to here.
2561
2562 * soft-fp/sysdeps/sparc/sparc32/q_qtox.c: Move from here...
2563 * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: ... to here.
2564
2565 * soft-fp/sysdeps/sparc/sparc32/q_sqrt.c: Move from here...
2566 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: ... to here.
2567
2568 * soft-fp/sysdeps/sparc/sparc32/q_stoq.c: Move from here...
2569 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: ... to here.
2570
2571 * soft-fp/sysdeps/sparc/sparc32/q_sub.c: Move from here...
2572 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: ... to here.
2573
2574 * soft-fp/sysdeps/sparc/sparc32/q_uitoq.c: Move from here...
2575 * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: ... to here.
2576
2577 * soft-fp/sysdeps/sparc/sparc32/q_util.c: Move from here...
2578 * sysdeps/sparc/sparc32/soft-fp/q_util.c: ... to here.
2579
2580 * soft-fp/sysdeps/sparc/sparc32/q_uxtoq.c: Move from here...
2581 * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: ... to here.
2582
2583 * soft-fp/sysdeps/sparc/sparc32/q_xtoq.c: Move from here...
2584 * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: ... to here.
2585
2586 * soft-fp/sysdeps/sparc/sparc64/qp_add.c: Move from here...
2587 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: ... to here.
2588
2589 * soft-fp/sysdeps/sparc/sparc64/qp_cmp.c: Move from here...
2590 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: ... to here.
2591
2592 * soft-fp/sysdeps/sparc/sparc64/qp_cmpe.c: Move from here...
2593 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: ... to here.
2594
2595 * soft-fp/sysdeps/sparc/sparc64/qp_div.c: Move from here...
2596 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: ... to here.
2597
2598 * soft-fp/sysdeps/sparc/sparc64/qp_dtoq.c: Move from here...
2599 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: ... to here.
2600
2601 * soft-fp/sysdeps/sparc/sparc64/qp_feq.c: Move from here...
2602 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: ... to here.
2603
2604 * soft-fp/sysdeps/sparc/sparc64/qp_fge.c: Move from here...
2605 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: ... to here.
2606
2607 * soft-fp/sysdeps/sparc/sparc64/qp_fgt.c: Move from here...
2608 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: ... to here.
2609
2610 * soft-fp/sysdeps/sparc/sparc64/qp_fle.c: Move from here...
2611 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: ... to here.
2612
2613 * soft-fp/sysdeps/sparc/sparc64/qp_flt.c: Move from here...
2614 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: ... to here.
2615
2616 * soft-fp/sysdeps/sparc/sparc64/qp_fne.c: Move from here...
2617 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: ... to here.
2618
2619 * soft-fp/sysdeps/sparc/sparc64/qp_itoq.c: Move from here...
2620 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: ... to here.
2621
2622 * soft-fp/sysdeps/sparc/sparc64/qp_mul.c: Move from here...
2623 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: ... to here.
2624
2625 * soft-fp/sysdeps/sparc/sparc64/qp_qtod.c: Move from here...
2626 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: ... to here.
2627
2628 * soft-fp/sysdeps/sparc/sparc64/qp_qtoi.c: Move from here...
2629 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: ... to here.
2630
2631 * soft-fp/sysdeps/sparc/sparc64/qp_qtos.c: Move from here...
2632 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: ... to here.
2633
2634 * soft-fp/sysdeps/sparc/sparc64/qp_qtoui.c: Move from here...
2635 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: ... to here.
2636
2637 * soft-fp/sysdeps/sparc/sparc64/qp_qtoux.c: Move from here...
2638 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: ... to here.
2639
2640 * soft-fp/sysdeps/sparc/sparc64/qp_qtox.c: Move from here...
2641 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: ... to here.
2642
2643 * soft-fp/sysdeps/sparc/sparc64/qp_sqrt.c: Move from here...
2644 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: ... to here.
2645
2646 * soft-fp/sysdeps/sparc/sparc64/qp_stoq.c: Move from here...
2647 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: ... to here.
2648
2649 * soft-fp/sysdeps/sparc/sparc64/qp_sub.c: Move from here...
2650 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: ... to here.
2651
2652 * soft-fp/sysdeps/sparc/sparc64/qp_uitoq.c: Move from here...
2653 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: ... to here.
2654
2655 * soft-fp/sysdeps/sparc/sparc64/qp_util.c: Move from here...
2656 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: ... to here.
2657
2658 * soft-fp/sysdeps/sparc/sparc64/qp_uxtoq.c: Move from here...
2659 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: ... to here.
2660
2661 * soft-fp/sysdeps/sparc/sparc64/qp_xtoq.c: Move from here...
2662 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: ... to here.
2663
2664 * soft-fp/sysdeps/sparc/sparc64/s_frexpl.c: Move from here...
2665 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: ... to here.
2666
2667 * soft-fp/sysdeps/sparc/sparc64/s_ilogbl.c: Move from here...
2668 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: ... to here.
2669
2670 * soft-fp/sysdeps/sparc/sparc64/s_scalblnl.c: Move from here...
2671 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: ... to here.
2672
2673 * soft-fp/sysdeps/sparc/sparc64/s_scalbnl.c: Move from here...
2674 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: ... to here.
2675
2676 * soft-fp/sysdeps/alpha/sfp-machine.h: Move from here...
2677 * sysdeps/alpha/soft-fp/sfp-machine.h: ... to here.
2678
2679 * soft-fp/sysdeps/i386/sfp-machine.h: Move from here...
2680 * sysdeps/i386/soft-fp/sfp-machine.h: ... to here.
2681
2682 * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Move from here...
2683 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: ... to here.
2684
2685 * soft-fp/sysdeps/mips/sfp-machine.h: Move from here...
2686 * sysdeps/mips/soft-fp/sfp-machine.h: ... to here.
2687
2688 * soft-fp/sysdeps/powerpc/sfp-machine.h: Move from here...
2689 * sysdeps/powerpc/soft-fp/sfp-machine.h: ... to here.
2690
2691 * soft-fp/sysdeps/sparc/sparc32/sfp-machine.h: Move from here...
2692 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: ... to here.
2693
2694 * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Move from here...
2695 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: ... to here.
2696
2697 * soft-fp/sysdeps/powerpc/Versions: Move from here...
2698 * sysdeps/powerpc/soft-fp/Versions: ... to here.
2699
2700 * soft-fp/sysdeps/sparc/sparc64/Versions: Move from here...
2701 * sysdeps/sparc/sparc64/soft-fp/Versions: ... to here.
2702
2703 * libio/oldiofsetpos64.c: iofsetpos was introduced in glibc 2.1,
2704 change symbol version.
2705 * libio/oldiofgetpos64.c: Likewise.
2706 Reported by Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>.
2707
2708 * locale/programs/ld-ctype.c (charclass_charcode_ellipsis): Fix
2709 typo.
2710 Reported by dyky@kondara.org, closes PR libc/1886.
2711
2712 * stdlib/tst-strtod.c: Add testcases for denormal numbers from PR
2713 libc/1880.
2714
2715 2000-09-04 Ulrich Drepper <drepper@redhat.com>
2716
2717 * iconvdata/run-iconv-test.sh: Add code to immediately stop the
2718 script when ^C is hit.
2719
2720 * locale/programs/localedef.c (construct_output_path): Correct
2721 computation of endp after asprintf.
2722 * locale/programs/locfile.c (write_locale_data): Don't add extra
2723 slash in filename.
2724
2725 2000-09-05 Andreas Jaeger <aj@suse.de>
2726
2727 * scripts/config.guess: New upstream version.
2728 * scripts/config.sub: Likewise.
2729 * manual/texinfo.tex: Likewise.
2730
2731 2000-09-04 Andreas Schwab <schwab@suse.de>
2732
2733 * elf/Makefile (all-dl-routines): New variable.
2734 (elide-routines.os): Use it instead of $(dl-routines).
2735 (all-rtld-routines): New variable.
2736 (extra-objs): Use it instead of $(rtld-routines).
2737 ($(objpfx)dl-allobjs.os): Likewise.
2738 * sysdeps/ia64/Makefile [$(subdir) = elf]: Modify
2739 sysdep-dl-routines and sysdep_routines instead of rtld-routines
2740 and dl-routines.
2741
2742 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2743
2744 * iconv/gconv_trans.c (__gconv_translit_find): Update open_count.
2745 Set fname to NULL if the module wasn't found.
2746
2747 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2748
2749 * iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to
2750 true if trans->name already ends in ".so".
2751
2752 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2753
2754 * iconv/gconv_int.h (__gconv_release_shlib): Change return type to
2755 void.
2756 * iconv/gconv_dl.c (do_release_shlib): Don't decrement the counter
2757 below -TRIES_BEFORE_UNLOAD-1, to avoid wraparound.
2758 (__gconv_release_shlib): Change return type to void.
2759 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Don't set
2760 step->__counter here.
2761 * iconv/gconv_db.c (free_derivation): Don't call a step's destructor
2762 if the reference is zero.
2763 (release_step): New function.
2764 (gen_steps): Always initialize the __counter to 1. Use release_step.
2765 Don't call the destructor on the step whose initializer failed.
2766 (increment_counter): Use release_step. Don't normally run destructors
2767 here.
2768 (__gconv_close_transform): Use release_step.
2769
2770 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2771
2772 * iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove.
2773 (__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead.
2774
2775 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2776
2777 * iconvdata/euc-tw.c (BODY for FROM_LOOP): Initialize ch2 correctly.
2778 If the first byte is 0x8E, don't ask for 4 bytes until it has been
2779 verified that the second byte is valid. Leave it to cns11643_to_ucs4
2780 to check for incomplete input.
2781 * iconvdata/cns11643.h (cns11643_to_ucs4): The plane number is
2782 ch - 0x20 - offset, not ch - 0x21 - offset. Upper bound for
2783 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
2784 (ucs4_to_cns11643): Fix mapping for ranges 0x3105..0x3129 and
2785 0x9f9d..0x9fa5.
2786 * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Upper bound for
2787 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
2788 (ucs4_to_cns11643l1): Fix mapping for range 0x3105..0x3129.
2789 * iconvdata/cns11643l1.c (__cns11643l1_from_ucs4_tab6): Extend
2790 upto index 0x0052.
2791
2792 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2793
2794 * iconv/gconv_db.c (find_derivation): Always use the least-cost
2795 solution.
2796
2797 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2798
2799 * iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF
2800 are invalid.
2801
2802 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2803
2804 * iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C.
2805 * iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to
2806 U+007E.
2807
2808 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2809
2810 * iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C.
2811
2812 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2813
2814 * iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7.
2815
2816 2000-09-03 Bruno Haible <haible@clisp.cons.org>
2817
2818 * iconvdata/tst-tables.sh: New file.
2819 * iconvdata/tst-table.sh: New file.
2820 * iconvdata/tst-table-from.c: New file.
2821 * iconvdata/tst-table-to.c: New file.
2822 * iconvdata/tst-table-charmap.sh: New file.
2823 * iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to.
2824 (distribute): Add tst-tables.sh, tst-table.sh, tst-table-charmap.sh,
2825 tst-table-from.c, tst-table-to.c, EUC-JP.irreversible,
2826 ISIRI-3342.irreversible, SJIS.irreversible.
2827 (tests): Add dependency on tst-tables.out.
2828 (tst-tables.out, tst-tables-clean): New rules.
2829 (do-tests-clean, common-mostlyclean): Require tst-tables-clean.
2830 * iconvdata/ISIRI-3342.irreversible: New file.
2831 * iconvdata/EUC-JP.irreversible: New file.
2832 * iconvdata/SJIS.irreversible: New file.
2833
2834 2000-09-04 Ulrich Drepper <drepper@redhat.com>
2835
2836 * manual/locale.texi (General Numeric): Update description of
2837 representation of the grouping information in the locale data.
2838 Patch by Gaute B. Strokkenes <gs234@cam.ac.uk>.
2839
2840 2000-09-04 Andreas Jaeger <aj@suse.de>
2841
2842 * locale/programs/ld-monetary.c (monetary_read): Fix typo.
2843 * iconv/iconv_prog.c (options): Fix typo.
2844 Reported by dyky@kondara.org, closes PR libc/1885.
2845
2846 2000-09-04 Andreas Jaeger <aj@suse.de>
2847
2848 * sysdeps/generic/fegetenv.c: It's __fegetenv.
2849 Reported by Rob Levin <lilo@transvirtual.com>.
2850
2851 2000-09-03 Ulrich Drepper <drepper@redhat.com>
2852
2853 * time/sys/time.h (gettimeofday): Move restrict for tz parameter
2854 to the typedefs of __timezone_ptr_t.
2855 Reported by MATSUMURA Hiromitsu <coji2@mb.infoweb.ne.jp>.
2856
2857 2000-09-02 Jakub Jelinek <jakub@redhat.com>
2858
2859 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in
2860 the loop.
2861
2862 2000-09-01 H.J. Lu <hjl@gnu.org>
2863
2864 * Makeconfig (built-program-cmd): Don't use the dynamic linker
2865 to run a binary if it is in $(tests-static).
2866
2867 * Rules (binaries-static): Add $(tests-static).
2868
2869 2000-09-02 Andreas Jaeger <aj@suse.de>
2870
2871 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Fixes for fcntl64.
2872
2873 * libio/fmemopen.c (fmemopen_close): Revert one part of last
2874 patch.
2875
2876 2000-09-01 Ulrich Drepper <drepper@redhat.com>
2877
2878 * iconvdata/big5hkscs.c: Regenerated from charmap.
2879 * iconvdata/testdata/BIG5HKSCS: Regenerated.
2880 * iconvdata/testdata/BIG5HKSCS..UTF8: Regenerated.
2881
2882 * libio/fmemopen.c (fmemopen_seek): Add default case in switch
2883 statement. General cleanup.
2884
2885 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2886
2887 * wctype/wcfuncs.c (iswblank): New function.
2888 * wctype/wcfuncs_l.c (__iswblank_l): New function.
2889 * wctype/wcextra.c: Remove file.
2890 * wctype/wcextra_l.c: Remove file.
2891 * wctype/Makefile (distribute): Remove wcextra and wcextra_l.
2892
2893 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2894
2895 * locale/programs/ld-collate.c (collate_output): Remove redundant
2896 assert call.
2897 * string/strcoll.c: Likewise.
2898 * string/strxfrm.c: Include assert.h. Add assert calls like in
2899 string/strcoll.c.
2900
2901 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2902
2903 * locale/categories.def (_NL_COLLATE_HASH_SIZE,
2904 _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_NAMES, _NL_CTYPE_NAMES,
2905 _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Remove definitions.
2906 * locale/langinfo.h (_NL_COLLATE_HASH_SIZE, _NL_COLLATE_HASH_LAYERS,
2907 _NL_COLLATE_NAMES): Rename to _NL_COLLATE_GAP1/2/3 respectively.
2908 (_NL_CTYPE_NAMES): Rename to _NL_CTYPE_GAP3.
2909 (_NL_CTYPE_GAP3): Rename to _NL_CTYPE_GAP4.
2910 (_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Rename to
2911 _NL_CTYPE_GAP5/6 respectively.
2912
2913 * locale/C-ctype.c (_nl_C_LC_CTYPE): Update.
2914 * ctype/ctype-info.c (__ctype_names, __ctype_width): Remove variables.
2915 * locale/lc-ctype.c (_nl_postload_ctype): Assume new locale format.
2916 Don't initialize __ctype_names and __ctype_width.
2917 * wctype/cname-lookup.h: Remove file.
2918 * wctype/Makefile (distribute): Remove cname-lookup.h.
2919 * wctype/wchar-lookup.h: Include stdint.h.
2920 * wctype/wctype.c (__wctype): Assume new locale format.
2921 * wctype/wctype_l.c (__wctype_l): Likewise.
2922 * wctype/iswctype.c: Don't include cname-lookup.h.
2923 (__iswctype): Assume new locale format.
2924 * wctype/iswctype_l.c: Don't include cname-lookup.h.
2925 (__iswctype_l): Assume new locale format.
2926 * wctype/wctrans.c: Don't include ctype.h.
2927 (wctrans): Assume new locale format.
2928 * wctype/wctrans_l.c (__wctrans_l): Likewise.
2929 * wctype/towctrans.c: Don't include cname-lookup.h.
2930 (__towctrans): Assume new locale format.
2931 * wctype/towctrans_l.c: Don't include cname-lookup.h.
2932 (__towctrans_l): Assume new locale format.
2933 * wctype/wcfuncs.c: Don't include ctype.h and cname-lookup.h. Include
2934 localeinfo.h instead.
2935 (__NO_WCTYPE): Remove unused macro.
2936 (__ctype32_b, __ctype32_toupper, __ctype32_tolower): Remove
2937 declarations.
2938 (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, iswprint,
2939 iswpunct, iswspace, iswupper, iswxdigit): Assume new locale format.
2940 (towlower, towupper): Likewise.
2941 * wctype/wcfuncs_l.c: Don't include cname-lookup.h. Include
2942 localeinfo.h instead.
2943 (__NO_WCTYPE): Remove unused macro.
2944 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
2945 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
2946 __iswxdigit_l): Assume new locale format.
2947 (__towlower_l, __towupper_l): Likewise.
2948 * wcsmbs/wcwidth.h: Don't include cname-lookup.h.
2949 (__ctype32_b): Remove declaration.
2950 (internal_wcwidth): Assume new locale format.
2951 * locale/programs/ld-ctype.c (struct locale_ctype_t): Remove fields
2952 plane_size, plane_cnt, names, width. Rename map to map_b, rename map32
2953 to map32_b, rename width_3level to width.
2954 (ctype_output): Always create new locale format. Don't emit
2955 _NL_CTYPE_NAMES, _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS any more.
2956 (allocate_arrays): Always create new locale format.
2957
2958 * locale/C-collate.c (_nl_C_LC_COLLATE): Update.
2959 * locale/weightwc.h (findidx): Assume new locale format.
2960 * string/strcoll.c (wcscoll): Remove local variables size, layers,
2961 names.
2962 * string/strxfrm.c (wcsxfrm): Likewise.
2963 * posix/fnmatch_loop.c (internal_fnwmatch): Likewise. Change type of
2964 local variable collseq to 'const char *'.
2965 (SUFFIX): Don't use, don't undefine.
2966 * posix/fnmatch.c: Remove SUFFIX definition.
2967 * locale/programs/ld-collate.c (struct locale_collate_t): Remove
2968 fields plane_size, plane_cnt, wcheads, wcseqorder. Rename
2969 wcheads_3level to wcheads, rename wcseqorder_3level to wcseqorder.
2970 (collate_finish): Always create new locale format. Remove local
2971 variables min_total, act_size.
2972 (collate_output): Always create new locale format. Remove local
2973 variables table_size, names, tablewc. Rename tablewc_3level to
2974 tablewc.
2975
2976 2000-08-31 Bruno Haible <haible@clisp.cons.org>
2977
2978 * locale/programs/ld-collate.c (obstack_int32_grow,
2979 obstack_int32_grow_fast): New inline functions.
2980 (output_weightwc, collate_output): Use them where possible.
2981
2982 2000-09-01 Ulrich Drepper <drepper@redhat.com>
2983
2984 * libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last
2985 patch (_mode -> _flags).
2986
2987 * libio/Makefile (headers): Add stdio_ext.h.
2988 (routines): Add __fbufsize, __freading, __fwriting, __freadable,
2989 __fwritable, __flbf, __fpurge, __fpending, and __fsetlocking.
2990 * libio/Versions [libc] (GLIBC_2.2): Add __fbufsize, __freading,
2991 __fwriting, __freadable, __fwritable, __flbf, __fpurge, __fpending,
2992 __fsetlocking, and _flushlbf.
2993 * libio/__fbufsize.c: New file.
2994 * libio/__flbf.c: New file.
2995 * libio/__fpending.c: New file.
2996 * libio/__fpurge.c: New file.
2997 * libio/__freadable.c: New file.
2998 * libio/__freading.c: New file.
2999 * libio/__fsetlocking.c: New file.
3000 * libio/__fwritable.c: New file.
3001 * libio/__fwriting.c: New file.
3002 * libio/stdio_ext.h: New file.
3003 * libio/genops.c (_IO_flush_all_linebuffered): Add alias _flushlbf.
3004 * libio/libio.h (_IO_USER_LOCK): Define.
3005 [_IO_MTSAFE_IO] (_IO_flockfile, _IO_funlockfile): Add macros which
3006 test _IO_USER_LOCK flag first.
3007
3008 * iconv/gconv_open.c (__gconv_open): Set res to __GCONV_NOMEM is
3009 malloc fails.
3010
3011 2000-09-01 Andreas Jaeger <aj@suse.de>
3012
3013 * sysdeps/unix/sysv/linux/bits/fcntl.h: Always fail.
3014
3015 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: New file.
3016
3017 2000-08-31 Ulrich Drepper <drepper@redhat.com>
3018
3019 * math/Makefile (tests): Add tst-defintions.
3020 * math/tst-definitions.c: New file.
3021
3022 * stdlib/Makefile (headers): Add bits/wchar.h.
3023 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file.
3024 * sysdeps/generic/bits/wchar.h: New file.
3025 * sysdeps/generic/stdint.h: Include <bits/wchar.h>. Use values in this
3026 file to define WCHAR_MIN and WCHAR_MAX.
3027 Change UINT*8_MAX and UIN*16_MAX value to type int.
3028 * wcsmbs/wchar.h: Include <bits/wchar.h>. Use values in this
3029 file to define WCHAR_MIN and WCHAR_MAX.
3030 * sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN
3031 int values.
3032 * sysdeps/arm/fpu/bits/mathdef.h: Likewise.
3033 * sysdeps/generic/bits/mathdef.h: Likewise.
3034 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
3035 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
3036 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
3037 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
3038 * locale/locale.h (struct lconv): Add __ prefix to the new members
3039 if not C99.
3040 * sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and
3041 imaxdiv optimizations.
3042 * sysdeps/wordsize-32/lldiv.c: Add hack to make alias work.
3043 * sysdeps/wordsize-64/ldiv.c: Likewise.
3044 * sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to
3045 const fenv_t*.
3046 * sysdeps/generic/bits/fenv.h: Likewise.
3047 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
3048 * sysdeps/ia64/bits/fenv.h: Likewise.
3049 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
3050 * sysdeps/mips/bits/fenv.h: Likewise.
3051 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
3052 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
3053 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
3054
3055 * inet/rcmd.c: Use *stat64 instead of *stat internally.
3056 * inet/ruserpass.c: Likewise.
3057 * catgets/open_catalog.c: Likewise.
3058 * intl/loadmsgcat.c: Likewise.
3059 * io/getdirname.c: Likewise.
3060 * locale/loadlocale.c: Likewise.
3061 * misc/getusershell.c: Likewise.
3062 * stdlib/canonicalize.c: Likewise.
3063 * sysdeps/posix/euidaccess.c: Likewise.
3064 * sysdeps/posix/isfdtype.c: Likewise.
3065 * sysdeps/posix/posix_fallocate.c: Likewise.
3066 * sysdeps/posix/tempname.c: Likewise.
3067 * sysdeps/unix/grantpt.c: Likewise.
3068 * sysdeps/unix/opendir.c: Likewise.
3069 * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
3070 * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
3071 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3072 * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
3073 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3074 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3075 * sysvipc/ftok.c: Likewise.
3076 * time/getdate.c: Likewise.
3077
3078 * time/getdate.c: Add extra access test.
3079
3080 2000-08-31 Ulrich Drepper <drepper@redhat.com>
3081
3082 * version.h (VERSION): Bump to 2.1.93.
3083
3084 * sysdeps/unix/sysv/linux/powerpc/Dist: Add fe_nomask.c.
3085 * sysdeps/unix/sysv/linux/i386/Dist: Add olddirent.h.
3086
3087 * intl/Makefile (tests): Depend in mtrace-tst-gettext.
3088 Make this a new rule depending on tst-gettext.out and run mtrace.
3089 * intl/tst-gettext.c: Call mtrace.
3090 * intl/tst-gettext.sh: Put MALLOC_TRACE in environment of tst-gettext.
3091
3092 * elf/dl-reloc.c: Add a few more __builtin_expect.
3093
3094 * configure.in: Remove --with-gettext option.
3095
3096 * intl/dcigettext.c (free_mem): Correct freeing of
3097 _nl_domain_bindings list.
3098
3099 * sysdeps/generic/setenv.c (free_mem): New function. Free all
3100 allocated memory.
3101
3102 * intl/locale.alias: Add aliases for bokmal and nynorsk.
3103
3104 * locale/iso-639.def: Fix 639-1 code for Bokmal.
3105
3106 * stdio-common/itoa-digits.c: Move upper digits to...
3107 * stdio-common/itoa-udigits.c: ...here. New file.
3108 * stdio-common/Makefile (routines): Add itoa-udigits.
3109
3110 * sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to
3111 relocate ld.so don't add supprt for relocations which should not
3112 appear in ld.so.
3113
3114 * malloc/malloc.c (ptmalloc_init): Optimize a bit by not calling
3115 __secure_getenv. Instead test __libc_enable_secure once.
3116
3117 * io/pwd.c (main): Provide a good example, use *_unlocked function.
3118
3119 2000-08-30 Ulrich Drepper <drepper@redhat.com>
3120
3121 * iconv/gconv_conf.c (insert_module): Take extra parameter to decide
3122 whether the new record should be freed if it's a duplicate.
3123 (add_module): Adjust insert_module call.
3124 (__gconv_read_conf): Likewise.
3125 * iconvdata/Makefile (generated): Add tst-loading.mtrace and
3126 mtrace-tst-loading.
3127 (tests): Make $(objpfx)mtrace-tst-loading a dependency. Add rule.
3128
3129 * sysdeps/generic/ldsodefs.h: Add declaration for _dl_all_dirs and
3130 _dl_all_init_dirs.
3131 * include/link.h (struct r_search_path_struct): New.
3132 (struct link_map): Use it for l_rpath_dirs and l_runpath_dirs.
3133 * elf/Versions [ld] (GLIBC_2.2): Add _dl_all_dirs and
3134 _dl_all_init_dirs.
3135 * elf/dl-close.c (_dl_close): Free l_rpath_dirs and l_runpath_dirs.
3136 * elf/dl-libc.c (free_mem): Free _dl_all_dirs list except elements
3137 added at startup time.
3138 * elf/dl-load.c: Fix memory handling. r_search_path_struct
3139 contains element to remember fact that we can free memory.
3140 (all_dirs): Renamed to _dl_all_dirs. Made global.
3141 (_dl_init_all_dirs): New variable.
3142 (fillin_rpath): Save one malloc call.
3143 (decompose_rpath): Change interface. New first parameter points to
3144 r_search_path_struct.
3145 (_dl_init_paths): Adjust for changes. Mark all memory as not
3146 deletable. Set _dl_init_all_paths value.
3147 (open_path): Remove may_free_dirs parameter. r_search_path_elem ***
3148 parameter replaced with r_search_path_struct *. Information about
3149 freeing now contained in r_search_path_struct.
3150 (_dl_map_object): Adjust for above changes.
3151
3152 * elf/dl-open.c (dl_open_worker): Change format of debug info a bit.
3153
3154 * elf/dl-load.c (fillin_rpath): Only check for trusted directories
3155 when adding new entries.
3156
3157 * elf/dl-load.c (fillin_rpath): Make local copy of where string
3158 since the object being loaded can be unloaded.
3159
3160 * iconvdata/Makefile (tests): Add tst-loading.
3161 * iconvdata/tst-loading.c: New file.
3162
3163 2000-08-29 Bruno Haible <haible@clisp.cons.org>
3164
3165 * stdio-common/vfscanf.c (_IO_vfscanf): Back out last ungetc change.
3166 When comparing a char with an int, always cast the char to
3167 'unsigned char'. New macro ungetc_not_eof, to avoid warnings when
3168 compiling with -funsigned-char. Use UCHAR_MAX+1 instead of UCHAR_MAX.
3169
3170 2000-08-30 Ulrich Drepper <drepper@redhat.com>
3171
3172 * time/strftime.c (my_strftime): Add compatibility code for use
3173 outside glibc. Patch by Jim Meyering <meyering@ascend.com>.
3174
3175 * sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere
3176 return 0 for success but always < 0 on failure.
3177
3178 * nss/getXXbyYY_r.c: Define result to *result before including
3179 digits_dots.c.
3180
3181 2000-08-30 Andreas Jaeger <aj@suse.de>
3182
3183 * math/gen-libm-test.pl (parse_ulps): Remove extra \.
3184
3185 2000-08-29 Ulrich Drepper <drepper@redhat.com>
3186
3187 * iconvdata/big5hkscs.c: Rewritten. Regenerate data from the
3188 official file.
3189 * iconvdata/TESTS: Add BIG5HKSCS entry.
3190 * iconvdata/testdata/BIG5HKSCS: New file.
3191 * iconvdata/testdata/BIG5HKSCS..UTF8: New file.
3192
3193 * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is
3194 always true.
3195
3196 * libio/iogetline.c: Set mode before the loop in case n==0.
3197 * libio/iogetwline.c: Likewise.
3198
3199 2000-08-29 H.J. Lu <hjl@gnu.org>
3200
3201 * libio/fileops.c (new_do_write): Check fp->_mode <= 0 instead
3202 of fp->_mode < 0.
3203 (_IO_new_file_overflow): Likewise.
3204 * libio/genops.c (_IO_flush_all): Likewise.
3205 * libio/ioftell.c (_IO_ftell): Likewise.
3206
3207 2000-08-29 Akira Higuchi <a@kondara.org>
3208
3209 * iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct,
3210 and __end_fct fields of struct __gconv_step.
3211 * iconv/Makefile (tests): Add iconv-bug2.
3212 * iconv/iconv-bug2.c: New file.
3213
3214 * iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr'
3215 instead of 'inptr - inend' to ksc5601_to_ucs4.
3216
3217 * iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character.
3218
3219 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete
3220 character or shift sequence is found at the end of the input
3221 string, return__GCONV_INCOMPLETE_INPUT instead of
3222 __GCONV_EMPTY_INPUT.
3223 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
3224 * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.
3225
3226 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return
3227 __GCONV_ILLEGAL_INPUT for 8bit characters.
3228
3229 2000-08-29 Ulrich Drepper <drepper@redhat.com>
3230
3231 * signal/signal.h (sigpause): Move __THROW before __asm__.
3232
3233 * inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
3234 names don't match don't return.
3235 Patch by Olaf Kirch <okir@flash.lst.de>.
3236
3237 2000-08-28 Ulrich Drepper <drepper@redhat.com>
3238
3239 * time/strftime.c (my_strftime): Handle # flag for %b as well.
3240
3241 2000-08-27 H.J. Lu <hjl@gnu.org>
3242
3243 * posix/Makefile (otherlibs): Add for building with static-nss
3244 for "make check".
3245
3246 2000-08-28 Ulrich Drepper <drepper@redhat.com>
3247
3248 * libio/stdio.h: Add fmemopen prototype.
3249
3250 2000-08-25 Andreas Jaeger <aj@suse.de>
3251
3252 * libio/Makefile (routines): Add fmemopen.
3253 (tests): Add test-fmemopen.
3254 * libio/Versions: Add fmemopen with version GLIBC_2.2.
3255 * libio/test-fmemopen.c: New file.
3256 * libio/fmemopen.c: New file.
3257 Patches by Hanno Mueller <kontakt@hanno.de>.
3258
3259 2000-08-28 Ulrich Drepper <drepper@redhat.com>
3260
3261 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double
3262 inclusion. Patch by Jes Sorensen <jes@linuxcare.com>.
3263
3264 * locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828
3265 to avoid crashing statically linked applications.
3266
3267 2000-08-27 Bruno Haible <haible@clisp.cons.org>
3268
3269 * string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
3270 If nrules == 0 and srclen < n, copy only srclen + 1 characters.
3271
3272 * sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>.
3273 If the result is fits in the buffer, copy only as many bytes as needed.
3274
3275 * sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the
3276 buffer after copying numbuf into it.
3277 * sysdeps/mach/_strerror.c (__strerror_r): Likewise.
3278
3279 2000-08-27 Bruno Haible <haible@clisp.cons.org>
3280
3281 * posix/confstr.c (confstr): When string_len > len, NUL-terminate
3282 the result. When string_len < len, don't clear the rest of the buffer.
3283
3284 2000-08-27 Bruno Haible <haible@clisp.cons.org>
3285
3286 Support for new LC_COLLATE format.
3287 * locale/coll-lookup.h: New file.
3288 * locale/weightwc.h (findidx): When size == 0, call
3289 collidx_table_lookup.
3290 * wcsmbs/wcscoll.c: Include coll-lookup.h.
3291 * wcsmbs/wcsxfrm.c: Likewise.
3292 * posix/fnmatch.c: Likewise.
3293 * posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call
3294 collseq_table_lookup.
3295 * locale/programs/3level.h: New file.
3296 * locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define
3297 by including "3level.h".
3298 * locale/programs/ld-collate.c (wchead_table, collidx_table,
3299 collseq_table): New types, defined by including "3level.h".
3300 (locale_collate_t): New wcheads_3level, wcseqorder_3level fields.
3301 (encoding_mask, encoding_byte): Remove.
3302 (utf8_encode): Use simple shifts instead.
3303 (collate_finish): When !oldstyle_tables, set plane_size and plane_cnt
3304 to 0, and initialize and fill wcheads_3level and wcseqorder_3level.
3305 (collate_output): New local variable tablewc_3level. When
3306 !oldstyle_tables, set table_size to 0 and names to NULL and fill
3307 tablewc_3level instead of tablewc. Change format of TABLEWC and
3308 COLLSEQWC entries written to the file.
3309 * locale/C-collate.c (collseqwc): Change format.
3310 (_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format
3311 of COLLSEQWC.
3312 * locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h.
3313
3314 2000-08-27 Bruno Haible <haible@clisp.cons.org>
3315
3316 * locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro.
3317 (locale_ctype_t): New charnames_idx field.
3318 (ctype_startup): Initialize charnames_idx field.
3319 (find_idx): Speed up dramatically by using charnames_idx inverse table.
3320
3321 2000-08-27 Bruno Haible <haible@clisp.cons.org>
3322
3323 * locale/C-ctype.c: Switch to new locale format.
3324 (_nl_C_LC_CTYPE_names): Remove array.
3325 (STRUCT_CTYPE_CLASS): New macro.
3326 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
3327 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
3328 New three-level tables.
3329 (_nl_C_LC_CTYPE_width): Change from array to three-level table.
3330 (_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS
3331 to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add
3332 12 class tables and 2 map tables at the end.
3333 * ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration.
3334 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
3335 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
3336 New declarations.
3337 (b): Remove trailing semicolon.
3338 (__ctype_names, __ctype_width): Don't initialize.
3339 (__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize.
3340
3341 2000-08-27 Bruno Haible <haible@clisp.cons.org>
3342
3343 * elf/dl-load.c (open_path): Add a argument telling whether *dirsp
3344 is guaranteed to be allocated with the same malloc() and may be
3345 passed to free().
3346 (_dl_map_object): Update open_path calls. If rtld_search_dirs has
3347 been set to empty by an earlier open_path call, don't pass it again.
3348
3349 2000-08-28 Ulrich Drepper <drepper@redhat.com>
3350
3351 * include/libintl.h: Include <locale.h> since libintl.h doesn't if
3352 we are not optimizing.
3353
3354 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double
3355 inclusion.
3356
3357 * stdio-common/vfscanf.c (ungetc): Cast c to signed char first to
3358 really match EOF.
3359 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3360
3361 2000-08-28 Andreas Jaeger <aj@suse.de>
3362
3363 * sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon.
3364
3365 2000-08-28 Mark Kettenis <kettenis@gnu.org>
3366
3367 * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from
3368 getpeername. Use ISO C style function definition.
3369 (getpeername): Provide weak alias.
3370 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from
3371 setrlimit. Use ISO C style function definition.
3372 (setrlimit): Provide weak alias.
3373
3374 2000-08-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
3375
3376 * shlib-versions: Add a rule for S/390 to the libm version list.
3377 * sysdeps/s390/Versions: New file.
3378 * sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c.
3379 * sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64.
3380 * sysdeps/unix/sysv/linux/s390/Versions: New file.
3381 * sysdeps/unix/sysv/linux/s390/alphasort64.c: New file.
3382 * sysdeps/unix/sysv/linux/s390/chown.c: New file.
3383 * sysdeps/unix/sysv/linux/s390/fxstat.c: New file.
3384 * sysdeps/unix/sysv/linux/s390/getdents64.c: New file.
3385 * sysdeps/unix/sysv/linux/s390/getrlimit.c: New file.
3386 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file.
3387 * sysdeps/unix/sysv/linux/s390/lxstat.c: New file.
3388 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file.
3389 * sysdeps/unix/sysv/linux/s390/readdir64.c: New file.
3390 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file.
3391 * sysdeps/unix/sysv/linux/s390/scandir64.c: New file.
3392 * sysdeps/unix/sysv/linux/s390/setrlimit.c: New file.
3393 * sysdeps/unix/sysv/linux/s390/syscalls.list: New file.
3394 * sysdeps/unix/sysv/linux/s390/versionsort64.c: New file.
3395 * sysdeps/unix/sysv/linux/s390/xstat.c: New file.
3396
3397 2000-08-28 Ulrich Drepper <drepper@redhat.com>
3398
3399 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu]
3400 (CFLAGS-initfini.s): Add -DWEAK_GMON_START.
3401
3402 * elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files.
3403 * elf/dl-close.c (_dl_close): Print debug message if object is not
3404 unloaded.
3405 * elf/dl-open.c (dl_open_worked): Print message about opencount before
3406 returning to caller.
3407
3408 * po/zh.po: Renamed to...
3409 * po/zh_TW.po: ...this.
3410
3411 2000-08-27 Geoff Keating <geoffk@cygnus.com>
3412
3413 * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
3414
3415 * sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
3416 * sysdeps/powerpc/fpu/feenablxcpt.c: New file.
3417 * sysdeps/powerpc/fpu/fegetexcept.c: New file.
3418 * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
3419
3420 2000-08-27 Ulrich Drepper <drepper@redhat.com>
3421
3422 * locale/programs/ld-collate.c (insert_weights): Also update
3423 backpointer of next element.
3424 (collate_read): Allow definition of new collation symbols in stage 2.
3425 Symbol after reorder-after can be UCS4 value.
3426 Allow reordering of collation symbols and elements.
3427 Do not only move reorder entry in new position. Instead call
3428 insert_weight to do this and read the weights.
3429
3430 * locale/findlocale.c (free_mem): Add cast to avoid warning.
3431
3432 * intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code
3433 to determine invalid locale name.
3434 * locale/findlocale.c (_nl_find_locale): Likewise.
3435
3436 * posix/annexc.c: Correct test for unavailable feature.
3437
3438 * sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE ->
3439 __inline.
3440
3441 2000-08-26 Ulrich Drepper <drepper@redhat.com>
3442
3443 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64
3444 syscall.
3445
3446 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource]
3447 (sysdep_routines): Add oldgetrlimit64.
3448
3449 * elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c,
3450 reldepmod2.c, reldepmod3.c, and reldepmod4.c.
3451 (tests): Add unload, reldep, reldep2, and reldep3.
3452 (modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3,
3453 and reldepmod4.
3454 Add rules to build and run unload, reldep, reldep2, and reldep3.
3455 * elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit.
3456 Don't create relocation dependency if it is nonzero.
3457 (_dl_lookup_symbol_skip): Remove relocation dependency stuff. This
3458 can never happen here.
3459 (_dl_lookup_versioned_symbol): Add new parameter explicit.
3460 Don't create relocation dependency if it is nonzero.
3461 (_dl_lookup_versioned_symbol_skip): Remove relocation dependency
3462 stuff. This can never happen here.
3463 * sysdeps/generic/ldsodefs.h: Change prototypes.
3464 * elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to
3465 _dl_lookup_up and _dl_lookup_versioned_symbol.
3466 (RESOLV): Likewise.
3467 * elf/dl-runtime.c (fixup): Likewise.
3468 (profile_fixup): Likewise.
3469 * elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to
3470 _dl_lookup_symbol.
3471 * elf/dl-symbol.c (_dl_symbol_value): Likewise.
3472 * elf/rtld.c (dl_main): Likewise.
3473 * elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to
3474 _dl_lookup_symbol if handle is not RTLD_DEFAULT. Always compute
3475 and pass down the caller map.
3476 (_dl_vsym): Likewise.
3477 * elf/reldep.c: New file.
3478 * elf/reldep2.c: New file.
3479 * elf/reldep3.c: New file.
3480 * elf/reldepmod1.c: New file.
3481 * elf/reldepmod2.c: New file.
3482 * elf/reldepmod3.c: New file.
3483 * elf/reldepmod4.c: New file.
3484 * elf/unload.c: New file.
3485 * elf/unloadmod.c: New file.
3486
3487 * elf/do-lookup.h: Remove unused undef_name parameter.
3488 * elf/dl-lookup.c: Adjust callers.
3489
3490 2000-08-25 Ulrich Drepper <drepper@redhat.com>
3491
3492 * iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of
3493 irreversible in recursive call of conversion function to signal that
3494 no error handling is wanted.
3495 * iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too.
3496 (STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL.
3497 * iconv/skeleton.c (lirreversiblep): New variable. Set to NULL is
3498 recursive error handling call, otherwise to &lirreversible. Use it
3499 for calls to conversion functions.
3500 * iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when
3501 transliterating.
3502 (ucs4_internal_loop_unaligned): Likewise.
3503 (ucs4le_internal_loop): Likewise.
3504 (ucs4le_internal_loop_unaligned): Likewise.
3505
3506 2000-08-25 Greg McGary <greg@mcgary.org>
3507
3508 * sysdeps/i386/memchr.S: Check high bound against chars
3509 actually scanned.
3510 * sysdeps/i386/memcmp.S: Likewise.
3511 * sysdeps/i386/stpncpy.S: Adjust high-bound check to
3512 account for pointers that lie one beyond end-of-buffer.
3513
3514 2000-08-25 Ulrich Drepper <drepper@redhat.com>
3515
3516 * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic.
3517 * elf/nodelete.c (fini_ran): New global variable.
3518 (do_test): Before every dlclose call clear fini_ran and test
3519 afterwards that it is not set by the destructors.
3520 * elf/nodelmod1.c: Add destructor which sets fini_ran.
3521 * elf/nodelmod2.c: Likewise.
3522 * elf/nodelmod4.c: Likewise.
3523
3524 2000-08-21 Jes Sorensen <jes@linuxcare.com>
3525
3526 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and
3527 getrlimit to the list.
3528
3529 2000-08-18 Jes Sorensen <jes@linuxcare.com>
3530
3531 * sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit
3532 long double format so use ldbl-96 instead of ldbl-128.
3533
3534 2000-08-25 Ulrich Drepper <drepper@redhat.com>
3535
3536 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL
3537 even if bits 10 a 11 are non-zero.
3538 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise.
3539
3540 * Makeconfig: Ensures the soversions.mk part of Makefile gets
3541 included before building gnu/lib-names.h
3542 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
3543
3544 * elf/dl-close.c (_dl_close): Don't run destructors of objects
3545 marked DF_1_NODELETE.
3546
3547 * sysdeps/posix/system.c (__libc_system): We cannot use vfork here
3548 since we call sigaction in the child.
3549
3550 2000-08-25 Andreas Jaeger <aj@suse.de>
3551
3552 * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on
3553 gconv-modules.
3554
3555 2000-08-25 Andreas Jaeger <aj@suse.de>
3556
3557 * manual/arith.texi (Control Functions): Clarify possible
3558 arguments. Closes PR libc/1856.
3559
3560 2000-08-24 H.J. Lu <hjl@gnu.org>
3561
3562 * stdio-common/Makefile (tests): Don't do it for cross compiling.
3563 * malloc/Makefile (tests): Likewise.
3564
3565 2000-08-24 Ulrich Drepper <drepper@redhat.com>
3566
3567 * iconvdata/unicode.c (gconv_init): Correct test for direction.
3568
3569 2000-08-24 Andreas Jaeger <aj@suse.de>
3570
3571 * malloc/Makefile (extra-objs): Fix last patch, build memusagestat
3572 only if LIBGD is available.
3573
3574 2000-08-24 Ulrich Drepper <drepper@redhat.com>
3575
3576 * resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid
3577 problems with now restrict parameter types.
3578 (convaddr4to6): Likewise.
3579
3580 2000-08-24 Denis Joseph Barrow <djbarrow@de.ibm.com>
3581
3582 * sysdeps/s390/fpu/fedisblxcpt.c: New file.
3583 * sysdeps/s390/fpu/feenablxcpt.c: New file.
3584 * sysdeps/s390/fpu/fegetexcept.c: New file.
3585 * sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition
3586 FPC_VALID_MASK.
3587
3588 2000-08-24 Andreas Jaeger <aj@suse.de>
3589
3590 * malloc/Makefile (extra-objs): Add memusagestat.o.
3591 (generated): Added memusage and memusagestat for make clean.
3592
3593 * libio/tst_putwc.c (do_test): Delete temporary file.
3594 Move inclusion of test-skeleton to front to have prototype for
3595 add_temp_file.
3596
3597 * posix/Makefile (generated): Add wordexp-tst.out.
3598
3599 2000-08-24 Ulrich Drepper <drepper@redhat.com>
3600
3601 * resolv/res_hconf.c (free_mem): Remove not needed if.
3602
3603 * time/tzset.c (free_mem): New function.
3604 * string/strsignal.c (free_mem): New function.
3605 * inet/inet_ntoa.c (free_mem): New function.
3606 * sunrpc/clnt_perr.c (free_mem): New function.
3607
3608 2000-08-24 Andreas Jaeger <aj@suse.de>
3609
3610 * sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
3611 * sysdeps/unix/sysv/syscalls.list: Likewise.
3612
3613 * posix/unistd.h: Move internal prototypes from here ...
3614 * include/unistd.h: ... to here.
3615
3616 * sysvipc/sys/shm.h: Add const attribute to __getpagesize.
3617
3618 2000-08-24 Ulrich Drepper <drepper@redhat.com>
3619
3620 * grp/initgroups.c (initgroups): Deallocate groups array.
3621 Reported by jani.raiha@sonera.com [PR libc/1868].
3622
3623 * sysdeps/s390/Dist: Add fpu/fenv_libc.h.
3624 * sysdeps/alpha/Dist: Likewise.
3625
3626 2000-08-23 Ulrich Drepper <drepper@redhat.com>
3627
3628 * crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
3629 destructor). Reported by Solar Designer <solar@false.com>.
3630
3631 * iconv/gconv_conf.c (add_module): Remove some unneeded code to
3632 avoid adding double slashes.
3633
3634 2000-08-23 Jakub Jelinek <jakub@redhat.com>
3635
3636 * dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__
3637 out of the __REDIRECT macro.
3638
3639 2000-08-23 Ulrich Drepper <drepper@redhat.com>
3640
3641 * stdio-common/vfscanf.c: Add %F format support.
3642
3643 * locale/programs/ld-ctype.c (ctype_output): Make sure
3644 _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and
3645 _NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned.
3646 (ctype_read): Enable returning of wide character strings for reading
3647 transliteration information.
3648
3649 2000-08-23 Andreas Jaeger <aj@suse.de>
3650
3651 * sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove.
3652 Use static __inline instead of _EXTERN_INLINE.
3653
3654 * misc/sys/select.h: Move prototypes of __select from here ...
3655 * include/sys/select.h: ... to here.
3656
3657 * socket/sys/socket.h: Move prototypes of __send and __connect
3658 from here....
3659 * include/sys/socket.h: ... to here.
3660
3661 * locale/programs/ld-ctype.c (ctype_read): Fix parameter for
3662 lr_error.
3663
3664 2000-08-23 Jakub Jelinek <jakub@redhat.com>
3665
3666 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use
3667 __setrlimit as strong name. Takes only 2 arguments.
3668
3669 * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit
3670 takes only 2 arguments.
3671
3672 2000-08-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
3673
3674 * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
3675
3676 * sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines.
3677
3678 2000-08-23 Ulrich Drepper <drepper@redhat.com>
3679
3680 * locale/programs/ld-ctype.c (ctype_read): Allow more than one
3681 default_missing character being specified, pick the first
3682 representable.
3683
3684 2000-08-23 Andreas Jaeger <aj@suse.de>
3685
3686 * include/wchar.h: Add some pure attributes.
3687
3688 * time/time.h: Add const attribute for dysize.
3689
3690 * include/stdlib.h: Add malloc attribute to __posix memalign.
3691
3692 * stdlib/stdlib.h: Add some pure and malloc attributes.
3693 * wcsmbs/wchar.h: Likewise.
3694
3695 * dirent/dirent.h: Add some pure attributes.
3696 * include/dirent.h: Likewise.
3697
3698 2000-08-23 Jakub Jelinek <jakub@redhat.com>
3699
3700 * inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
3701 on 64bit arches.
3702
3703 2000-08-22 Ulrich Drepper <drepper@redhat.com>
3704
3705 * iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two
3706 missing buffer size checks.
3707
3708 2000-08-23 Andreas Jaeger <aj@suse.de>
3709
3710 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as
3711 strong name.
3712 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3713
3714 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
3715 otherwise __LINUX_KERNEL_VERSION might not be defined.
3716 (MIN): Define if not already defined.
3717
3718 2000-08-22 Ulrich Drepper <drepper@redhat.com>
3719
3720 * stdio-common/vfprintf.c: Handle %F format.
3721 * stdio-common/printf-parse.h (parse_one_spec): Likewise.
3722 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
3723
3724 * stdio-common/tstdiomisc.c: Add test for %F printf format.
3725
3726 * po/zh.po: New file.
3727
3728 * iconvdata/sjis.c: In conversion from UCS4, correct test for
3729 enough room in target buffer.
3730 Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865].
3731 * iconvdata/bug-iconv1.c: New file.
3732 * iconvdata/Makefile (tests): Add bug-iconv1.
3733
3734 * locale/iso-4217.def: Update entry for Nicaragua.
3735
3736 2000-08-22 Mark Kettenis <kettenis@gnu.org>
3737
3738 * hurd/hurdsig.c: Rearrange headers a bit.
3739 (_hurdsig_init): Block until _hurd_msgport_thread is initialized
3740 when cthreads is being used.
3741
3742 2000-08-22 Ulrich Drepper <drepper@redhat.com>
3743
3744 * elf/Makefile (distribute): Add dl-osinfo.h.
3745 * sysdeps/generic/dl-osinfo.h: New file.
3746 * sysdeps/unix/sysv/linux/dl-osinfo.h: New file.
3747 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK
3748 if defined.
3749 * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test
3750 only for !SHARED case. Get the code from dl-osinfo.h.
3751
3752 * stdlib/random_r.c: Cleanups.
3753 * stdlib/tst-random.c: New file.
3754 * stdlib/Makefile (tests): Add tst-random.
3755 Patches by Michael Fischer <fischer-michael@cs.yale.edu>.
3756
3757 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
3758
3759 * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove.
3760 * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove.
3761 * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove.
3762 * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
3763
3764 2000-08-22 Jakub Jelinek <jakub@redhat.com>
3765
3766 * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove.
3767 * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove.
3768 (__syscall__sysctl): Add.
3769
3770 2000-08-21 Andreas Jaeger <aj@suse.de>
3771
3772 * stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR
3773 libc/1864).
3774 * stdlib/tst-strtoll.c: Likewise.
3775
3776 2000-08-21 Ulrich Drepper <drepper@redhat.com>
3777
3778 * stdlib/random_r.c (__setstate_r): Also compute end_ptr
3779 correctly.
3780 (__initstate_r): Set errno on error.
3781 (__random_r): Likewise.
3782 (__setstate_r): Correct offset when computing
3783 new rptr and fptr. Test for arg_state being NULL.
3784 Reported by Michael Fischer <fischer@cs.yale.edu>.
3785
3786 * posix/regex.h: Add macro definitions to allow compiling outside
3787 glibc.
3788
3789 * sysdeps/i370/Implies: Removed.
3790 * sysdeps/mvs/Implies: Removed.
3791
3792 * catgets/catgets.c (catopen): Filter out env_var values with / if
3793 necessary.
3794
3795 * locale/findlocale.c (_nl_find_locale): Move test for unusable
3796 locale name after all getenvs.
3797
3798 * configure.in: Allow sed versions like 3.02.8.
3799 Patch by Rodrigo Barbosa <rodrigob@conectiva.com.br>.
3800
3801 2000-08-21 Marko Myllynen <myllynen@lut.fi>
3802
3803 * inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
3804
3805 2000-08-21 Ulrich Drepper <drepper@redhat.com>
3806
3807 * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error
3808 of gethostbyname2_r call.
3809
3810 * intl/locale.alias: Add aliases for Korean.
3811
3812 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
3813
3814 * sysdeps/s390/__longjmp.c: Remove unused variable result.
3815 * sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h.
3816 * sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h.
3817 * sysdeps/s390/fpu/fegetenv.c: New file.
3818 * sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h.
3819 * sysdeps/s390/fpu/feholdexcpt.c: New file.
3820 * sysdeps/s390/fpu/fenv_libc.h: New file.
3821 * sysdeps/s390/fpu/fesetenv.c: New file.
3822 * sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h.
3823 * sysdeps/s390/fpu/feupdateenv.c: New file.
3824 * sysdeps/s390/fpu/fgetexcptflg.c: Reformatted.
3825 * sysdeps/s390/fpu/fpu_control.h: Corrected header.
3826 * sysdeps/s390/fpu/fraiseexcpt.c: New file.
3827 * sysdeps/s390/fpu/fsetexcptflg.c: New file.
3828 * sysdeps/s390/fpu/ftestexcept.c: New file.
3829 * sysdeps/s390/fpu/libm-test-ulps: New file.
3830 * sysdeps/s390/gmp-mparam.h: Add end of comment.
3831 * sysdeps/s390/initfini.c: New file.
3832 * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
3833 * sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h.
3834 * sysdeps/unix/sysv/linux/s390/bits/stat.h: New file.
3835 * sysdeps/unix/sysv/linux/s390/lchown.c: New file.
3836 * sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to
3837 sys/procfs.h as proposed by Mark Kettenis.
3838 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file.
3839
3840 2000-08-21 Andreas Jaeger <aj@suse.de>
3841
3842 * include/poll.h: Include include/sys/poll.h to get __poll
3843 declaration.
3844
3845 * io/sys/poll.h: Move __poll declaration from here...
3846 * include/sys/poll.h: ...to here.
3847
3848 * include/sys/socket.h (__getpeername): Add declaration.
3849
3850 * include/wchar.h (__vswprintf): Add declaration.
3851
3852 * include/stdio.h (__flockfile): Add declaration.
3853 (__funlockfile): Likewise.
3854
3855 2000-08-20 Ulrich Drepper <drepper@redhat.com>
3856
3857 * misc/sys/cdefs.h: Define __restrict_arr.
3858 * include/sys/time.h: Add restrict where required by AGd4.
3859 * inet/arpa/inet.h: Likewise.
3860 * io/sys/stat.h: Likewise.
3861 * io/sys/statvfs.h: Likewise.
3862 * misc/search.h: Likewise.
3863 * misc/sys/select.h: Likewise.
3864 * posix/glob.h: Likewise.
3865 * posix/regex.h: Likewise.
3866 * posix/spawn.h: Likewise.
3867 * posix/unistd.h: Likewise.
3868 * rt/aio.h: Likewise.
3869 * signal/signal.h: Likewise.
3870 * socket/sys/socket.h: Likewise.
3871 * stdlib/ucontext.h: Likewise.
3872 * streams/stropts.h: Likewise.
3873 * string/string.h: Likewise.
3874 * time/time.h: Likewise.
3875 * time/sys/time.h: Likewise.
3876
3877 * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam
3878 and posix_spawnattr_setscheparam.
3879
3880 * libio/stdio.h: Make cuserid prototype again available for all
3881 XPG versions.
3882
3883 * argp/argp-help.c: Unify use of function aliases to make more compact
3884 PLT.
3885 * include/libintl.h: Likewise.
3886 * inet/rcmd.c: Likewise.
3887 * intl/dcigettext.c: Likewise.
3888 * libio/iofputws.c: Likewise.
3889 * libio/iofputws_u.c: Likewise.
3890 * libio/iogetwline.c: Likewise.
3891 * libio/swprintf.c: Likewise.
3892 * malloc/malloc.c: Likewise.
3893 * nss/digits_dots.c: Likewise.
3894 * posix/fnmatch.c: Likewise.
3895 * posix/spawn_faction_addclose.c: Likewise.
3896 * posix/spawn_faction_adddup2.c: Likewise.
3897 * posix/spawn_faction_addopen.c: Likewise.
3898 * posix/spawni.c: Likewise.
3899 * posix/wordexp.c: Likewise.
3900 * posix/spawni.c: Likewise.
3901 * resolv/res_hconf.c: Likewise.
3902 * resolv/res_init.c: Likewise.
3903 * shadow/lckpwdf.c: Likewise.
3904 * signal/sighold.c: Likewise.
3905 * signal/sigrelse.c: Likewise.
3906 * stdio-common/printf-parse.h: Likewise.
3907 * stdio-common/printf-prs.c: Likewise.
3908 * stdio-common/printf_fp.c: Likewise.
3909 * stdio-common/vfprintf.c: Likewise.
3910 * stdio-common/vfscanf.c: Likewise.
3911 * stdlib/rpmatch.c: Likewise.
3912 * sunrpc/create_xid.c: Likewise.
3913 * sunrpc/key_call.c: Likewise.
3914 * sysdeps/generic/setrlimit64.c: Likewise.
3915 * sysdeps/generic/utmp_file.c: Likewise.
3916 * sysdeps/generic/vlimit.c: Likewise.
3917 * sysdeps/posix/posix_fallocate.c: Likewise.
3918 * sysdeps/posix/posix_fallocate64.c: Likewise.
3919 * sysdeps/posix/sigpause.c: Likewise.
3920 * sysdeps/posix/sigset.c: Likewise.
3921 * sysdeps/unix/grantpt.c: Likewise.
3922 * sysdeps/unix/bsd/ualarm.c: Likewise.
3923 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
3924 * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
3925 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3926 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
3927 * time/strftime.c: Likewise.
3928 * wcsmbs/wcscoll.c: Likewise.
3929 * wcsmbs/wcsxfrm.c: Likewise.
3930
3931 * time/tst-getdate.c (main): Make error messages more human readable.
3932
3933 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generate
3934 postinc/predec instruction.
3935 (_FPU_SETCW): Likewise.
3936 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3937
3938 2000-08-20 Andreas Jaeger <aj@suse.de>
3939
3940 * time/tst-getdate.c (main): Increase error in case of wrong
3941 conversion.
3942 Fix typo in test case.
3943
3944 2000-08-20 Ulrich Drepper <drepper@redhat.com>
3945
3946 * ctype/ctype.h (isblank): Make available if ISO C99.
3947 * wctype/wctype.h (iswblank): Make available if ISO C99.
3948 * math/math.h (signgam): Don't make available if ISO C99.
3949 * math/tgmath.h (tgamma): Renamed from gamma.
3950 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
3951
3952 * intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
3953 Pretty printing.
3954 * intl/plural.y (new_exp): Take number of optional parameters in
3955 second parameter. Test for correct number of parameters and free
3956 correctly in case of failure. Adjust all callers.
3957 (yylex): Allow ';' as terminator character.
3958
3959 2000-08-19 Ulrich Drepper <drepper@redhat.com>
3960
3961 * locale/lc-time.c (free_mem): New function. Free alt_digits and
3962 walt_digits.
3963
3964 * locale/findlocale.c (free_mem): Also free here->filename.
3965
3966 * locale/loadlocale.c (_nl_unload_locale): Also free locale->name.
3967
3968 * math/test-fenv.c (feenv_tests): Clear all exceptions before
3969 first test.
3970 (feexcp_nomask_test): Correct printf args.
3971 (feexcp_mask_test): Likewise.
3972
3973 2000-08-19 Andreas Jaeger <aj@suse.de>
3974
3975 * inet/tst-gethnm.c: Include string.h to provide prototype for
3976 strcmp.
3977
3978 * malloc/mtrace.pl (usage): Inform about --help.
3979
3980 2000-08-19 Wolfram Gloger <wg@malloc.de>
3981
3982 * malloc/malloc.c (new_heap): Try harder to get an aligned chunk of
3983 size HEAP_MAX_SIZE.
3984
3985 2000-08-19 Andreas Jaeger <aj@suse.de>
3986
3987 * shlib-versions: Remove libnss_db, libdb and libdb1.
3988
3989 2000-08-19 Jakub Jelinek <jakub@redhat.com>
3990
3991 * sysdeps/unix/sysv/linux/alpha/readdir.c: Move...
3992 * sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and
3993 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here.
3994 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move...
3995 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and
3996 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here.
3997 * sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove.
3998 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove.
3999 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove.
4000 * sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS
4001 getdents.
4002 * sysdeps/unix/sysv/linux/readdir64.c: Remove versioning.
4003 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
4004
4005 2000-08-18 Jakub Jelinek <jakub@redhat.com>
4006
4007 * include/glob.h (__glob64): Add prototype.
4008 * sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only
4009 define glob and glob_in_dir.
4010 * sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2.
4011 * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
4012 * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
4013 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
4014 * sysdeps/unix/sysv/linux/i386/glob64.c: New file.
4015 * sysdeps/unix/sysv/linux/arm/glob64.c: New file.
4016 * sysdeps/unix/sysv/linux/powerpc/glob64.c: New file.
4017 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: New file.
4018
4019 2000-08-18 Jakub Jelinek <jakub@redhat.com>
4020
4021 * malloc/Makefile (memusage): libmemusage.so is installed in slibdir.
4022
4023 2000-08-17 Andreas Jaeger <aj@suse.de>
4024
4025 * math/test-fenv.c (fe_single_test): New function.
4026 (fe_env_tests): Use fe_single_test.
4027 (feenable_test): New tests for feenable/fedisable and
4028 fegetexcpetions.
4029 (feexcp_mask_test): New function.
4030 (feexcp_nomask_test): New function.
4031
4032 2000-08-19 Richard Henderson <rth@cygnus.com>
4033
4034 * sysdeps/alpha/fpu/fenv_libc.h: New file.
4035 * sysdeps/alpha/fpu/fclrexcpt.c: Use it.
4036 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
4037 * sysdeps/alpha/fpu/fesetround.c: Likewise.
4038 * sysdeps/alpha/fpu/fegetround.c: Likewise.
4039 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
4040 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
4041 * sysdeps/alpha/fpu/ftestexcept.c: Likewise.
4042 * sysdeps/alpha/fpu/fedisblxcpt.c: Likewise. Use the smaller mask.
4043 * sysdeps/alpha/fpu/feenablxcpt.c: Likewise.
4044 * sysdeps/alpha/fpu/fegetexcept.c: Likewise.
4045 * sysdeps/alpha/fpu/feholdexcpt.c: Retain the SWCR_MAP bits.
4046 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
4047 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
4048 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
4049 * sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): New.
4050 (FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New.
4051
4052 2000-08-19 Andreas Jaeger <aj@suse.de>
4053
4054 * elf/constload1.c: Include <stdio.h> for puts prototype.
4055
4056 2000-08-19 Ulrich Drepper <drepper@redhat.com>
4057
4058 * elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions.
4059 * elf/dl-deps.c (_dl_map_object_deps): If object was dependency of
4060 a dynamically loaded object remove old l_initfini list.
4061 * elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to
4062 remove some dynamically allocated memory blocks in the dynamic
4063 loading data structures.
4064 * elf/dl-load.c (add_name_to_object): Initialize dont_free to 0.
4065 * elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions.
4066 Instead call _dl_check_map_versions only for the dependencies.
4067 * elf/rtld.c: Avoid unneccessary initializations. Mark l_libname
4068 information of initial objects as not free-able.
4069 * sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free
4070 element.
4071
4072 * elf/filter.c: Call mtrace.
4073 * elf/restest1.c: Likewise. Close the objects.
4074 * elf/loadtest.c: Call mtrace. Check result of dlclose. Print more
4075 debug information.
4076
4077 * elf/constload1.c: Add comment explaining not freed memory.
4078
4079 2000-08-18 Andreas Jaeger <aj@suse.de>
4080
4081 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show
4082 alignment for structs stat and stat64.
4083 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
4084
4085 2000-08-17 Ulrich Drepper <drepper@redhat.com>
4086
4087 * sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino
4088 handling. Patch by Richard Henderson <rth@twiddle.net>.
4089
4090 * nss/Versions: Remove libnss_db information.
4091
4092 2000-08-16 Jakub Jelinek <jakub@redhat.com>
4093
4094 * sysdeps/sparc/fpu/fedisblxcpt.c: New file.
4095 * sysdeps/sparc/fpu/feenablxcpt.c: New file.
4096 * sysdeps/sparc/fpu/fegetexcept.c: New file.
4097 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: New file.
4098
4099 * sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries
4100 to match Solaris.
4101
4102 2000-08-17 Ulrich Drepper <drepper@redhat.com>
4103
4104 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code.
4105 (_FPU_SETCW): Likewise.
4106 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
4107
4108 * stdio-common/printf_fp.c: Fix chars_needed computation.
4109 Patch by Greg McGary <greg@mcgary.org>.
4110
4111 2000-08-17 Jakub Jelinek <jakub@redhat.com>
4112
4113 * elf/dl-load.c (_dl_map_object): Don't crash if both loader and
4114 _dl_loaded are NULL.
4115
4116 2000-08-17 Jakub Jelinek <jakub@redhat.com>
4117
4118 * manual/arith.texi (feholdexcept): Returns 0 on success.
4119
4120 2000-08-17 Andreas Jaeger <aj@suse.de>
4121
4122 * sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname.
4123 (ifr_newname): New.
4124 Reported by Andi Kleen <ak@suse.de>.
4125
4126 2000-08-17 Jakub Jelinek <jakub@redhat.com>
4127
4128 * sysdeps/alpha/fpu/fedisblxcpt.c: New file.
4129 * sysdeps/alpha/fpu/feenablxcpt.c: New file.
4130 * sysdeps/alpha/fpu/fegetexcept.c: New file.
4131
4132 2000-08-16 Jakub Jelinek <jakub@redhat.com>
4133
4134 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): Test sizes
4135 of buf->st_ino and kbuf->st_ino, not __st_ino.
4136 If _HAVE_STAT64___ST_INO is not defined, don't use __st_ino at all.
4137 * sysdeps/unix/sysv/linux/getdents64.c: Change path in #include
4138 directive so that only linux/getdents.c is used, not some
4139 architecture specific one.
4140
4141 2000-08-16 Jakub Jelinek <jakub@redhat.com>
4142
4143 * sysdeps/i386/fpu/fegetexcept.c (fegetexcept): Return currently
4144 enabled, not disabled exceptions.
4145 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4146 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
4147
4148 2000-08-17 Greg McGary <greg@mcgary.org>
4149
4150 * Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix
4151 from test program name when constructing suffix for $(LDLIBS-*).
4152 (bounded-thread-library): New variable.
4153 * crypt/Makefile
4154 [build-shared, build-static] (libcrypt-dep): Remove variable.
4155 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
4156 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
4157 * linuxthreads/Makefile (libpthread, librt): Remove variables.
4158 (librt-tests): Add variable. (tests): Use it.
4159 [build-shared, build-static]
4160 ($(addprefix $(objpfx),$(tests)),
4161 $(addprefix $(objpfx),$(librt-tests))):
4162 Consolidate individual dependencies.
4163 [build-bounded]
4164 ($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)):
4165 Add dependencies.
4166 * math/Makefile (LDLIBS-*): Remove variables (they are redundant).
4167 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
4168 * misc/Makefile
4169 [build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies.
4170 * rt/Makefile
4171 [build-shared, build-static]
4172 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
4173 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
4174
4175 2000-08-17 Greg McGary <greg@mcgary.org>
4176
4177 * sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/
4178 * sysdeps/unix/make-syscalls.sh: Likewise.
4179 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4180 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4181 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4182 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
4183 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
4184
4185 2000-08-17 Greg McGary <greg@mcgary.org>
4186
4187 * sysdeps/i386/fpu/s_frexp.S: Check bounds.
4188 Wrap extern symbols in BP_SYM ().
4189 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4190 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4191 * sysdeps/i386/fpu/s_remquo.S: Likewise.
4192 * sysdeps/i386/fpu/s_remquof.S: Likewise.
4193 * sysdeps/i386/fpu/s_remquol.S: Likewise.
4194 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4195 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4196 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4197 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4198 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4199
4200 2000-08-16 Andreas Schwab <schwab@suse.de>
4201
4202 * sysdeps/m68k/fpu/fegetexcept.c: New file.
4203 * sysdeps/m68k/fpu/fedisblxcpt.c: New file.
4204 * sysdeps/m68k/fpu/feenablxcpt.c: New file.
4205
4206 2000-08-15 Ulrich Drepper <drepper@redhat.com>
4207
4208 * sysdeps/generic/ldsodefs.h: Declare _nl_nloaded.
4209 * elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded.
4210 * elf/dl-support.c: Define _nl_nloaded.
4211 * elf/rtld.c: Likewise. Increment _nl_nloaded for rtld itself.
4212 * elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding
4213 object to global list.
4214 * elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing
4215 from _dl_loaded list.
4216 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4217 * elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the
4218 number here.
4219
4220 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not
4221 unmask, exceptions.
4222 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask,
4223 exceptions.
4224 Reported by Harvey J. Stein <hjstein@bfr.co.il>.
4225
4226 2000-08-16 Andreas Jaeger <aj@suse.de>
4227
4228 * elf/elf.h (EM_X8664): Add official x86-64 specific value.
4229
4230 2000-08-15 Marko Myllynen <myllynen@lut.fi>
4231
4232 * inet/netinet/icmp6.h: Added Mobile IPv6 definitions.
4233
4234 2000-08-15 Ulrich Drepper <drepper@redhat.com>
4235
4236 * sysdeps/unix/sysv/linux/powerpc/Dist: Add oldgetrlimit64.c.
4237 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)=resource]
4238 (sysdep_routines): Add oldgetrlimit64.
4239 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file.
4240 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
4241
4242 * include/link.h: Undo last patches. Hurd now has stat64.
4243 * elf/Makefile: Likewise.
4244 * elf/dl-load.c: Likewise.
4245 * elf/dl-misc.c: Likewise.
4246 * elf/dl-profile.c: Likewise.
4247 * sysdeps/generic/sysd-link.h: Removed.
4248 * sysdeps/unix/sysv/linux/sysd-link.h: Removed.
4249
4250 * rt/aio_notify.c (notify_func_wrapper): Wrapper function to call
4251 thread event callback function.
4252 (__aio_notify_only): Use function above.
4253 Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
4254
4255 2000-08-16 Mark Kettenis <kettenis@gnu.org>
4256
4257 * sysdeps/mach/hurd/lseek64.c: New file.
4258
4259 2000-08-15 Mark Kettenis <kettenis@gnu.org>
4260
4261 * sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t):
4262 Remove typedefs.
4263 * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove
4264 typedefs.
4265 * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove
4266 typedefs.
4267 * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.
4268
4269 2000-08-15 Mark Kettenis <kettenis@gnu.org>
4270
4271 * sysdeps/mach/hurd/xstatconv.c: New file.
4272 * sysdeps/mach/hurd/fxstat64.c: New file.
4273 * sysdeps/mach/hurd/lxstat64.c: New file.
4274 * sysdeps/mach/hurd/xstat64.c: New file.
4275 * sysdeps/mach/hurd/Dist: Add xstatconv.c.
4276
4277 2000-08-15 Mark Kettenis <kettenis@gnu.org>
4278
4279 * sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs):
4280 Initialize, needed for change in common symbol handling in newer
4281 binutils. Mirrors 2000-01-03 change made by Andreas Schwab.
4282
4283 2000-08-15 Ulrich Drepper <drepper@redhat.com>
4284
4285 * elf/constload1.c: Call mtrace. Check return value of dlclose call.
4286 * elf/constload2.c: Add destructor to unload constload3.
4287
4288 * include/link.h: Include sysd-link.h.
4289 * sysdeps/generic/sysd-link.h: New file.
4290 * sysdeps/unix/sysv/linux/sysd-link.h: New file.
4291 * elf/Makefile (distribute): Add sysd-link.h.
4292 * elf/dl-load.c: Use definitions from sysd-link.h instead of stat
4293 types and functions directly.
4294 * elf/dl-misc.c: Likewise.
4295 * elf/dl-profile.c: Likewise.
4296
4297 * elf/loadfail.c (main): Close all successfully loaded objects.
4298
4299 * elf/multiload.c: Add mtrace call. Call dlclose for all handles and
4300 free wd.
4301 * elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if
4302 there is already one.
4303
4304 * elf/dl-close.c: Pretty print.
4305
4306 2000-08-14 Ulrich Drepper <drepper@redhat.com>
4307
4308 * sysdeps/posix/ttyname.c: Make name variable from getttyname function
4309 global (with file scope). Add __libc_subfreeres function to free the
4310 string.
4311 * sysdeps/unix/sysv/linux/ttyname.c: Likewise. Also for buf variable
4312 in ttyname function.
4313
4314 * sysdeps/generic/strtok.c: Remove initializer for olds variable.
4315
4316 * crypt/md5-crypt.c: Let destructor deallocate static buffer.
4317
4318 * iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by
4319 mapping them to /x5c and /x7e respectively.
4320
4321 * locale/programs/ld-ctype.c: Add support for more definitions after
4322 copy statement.
4323
4324 2000-08-14 Jakub Jelinek <jakub@redhat.com>
4325
4326 * dirent/Versions (getdirentries64): Export at GLIBC_2.2.
4327 * sysdeps/unix/sysv/linux/kernel-features.h
4328 (__ASSUME_GETDENTS64_SYSCALL): Define.
4329 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64
4330 syscall if available to get d_type fields.
4331 * sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define.
4332 * sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64,
4333 __lxstat64): Export at GLIBC_2.2.
4334 (alphasort64, readdir64, readdir64_r, scandir64, versionsort64):
4335 Likewise.
4336 * sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove.
4337 * sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define.
4338 * sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64,
4339 getdirentries64, versionsort64): Remove.
4340 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64,
4341 getdirentries64, versionsort64): Remove.
4342
4343 2000-08-13 Ulrich Drepper <drepper@redhat.com>
4344
4345 * posix/Makefile: Remove rules to generate glob package.
4346
4347 * posix/Makefile (tests): Add tst-regexloc.
4348 (tst-regexloc-ENV): Add LOCPATH.
4349 * posix/tst-regexloc.c: New file.
4350
4351 2000-08-12 Andreas Jaeger <aj@suse.de>
4352
4353 * include/features.h (__STDC_ISO_10646__): Define.
4354 Reported by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
4355
4356 2000-08-13 Ulrich Drepper <drepper@redhat.com>
4357
4358 * include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600.
4359
4360 * locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not
4361 for revision 6 and up).
4362
4363 * posix/sys/types.h: Define __need_timer_t and __need_clockid_t before
4364 including <time.h>.
4365 * time/time.h: Allow __need_timer_t and __need_clockid_t to be defined
4366 to get definitions of just these types.
4367
4368 * signal/signal.h: Define thread signal handling functions also for
4369 POSIX95.
4370
4371 * sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for
4372 POSIX95.
4373 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
4374 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
4375 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
4376 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
4377
4378 * sysvipc/sys/shm.h: Define pid_t for XPG.
4379
4380 * posix/unistd.h: Remove setkey, rename, and cuserid prototypes as
4381 they are not anymore required here.
4382
4383 * wcsmbs/wchar.h: Make the various wide char string and stream
4384 functions available for the respective XPG versions.
4385
4386 * nss/Makefile: Remove rules to build and distribute nss_db.
4387
4388 * sysdeps/generic/alphasort64.c: Remove unnecessary versioning.
4389 * sysdeps/generic/scandir64.c: Likewise.
4390 * sysdeps/generic/versionsort64.c: Likewise.
4391
4392 2000-08-13 Ulrich Drepper <drepper@redhat.com>
4393 Benjamin Koznik <bkoz@redhat.com>
4394
4395 * libio/fileops.c: Merge with libstdc++-v3.
4396 * libio/genops.c: Likewise.
4397 * libio/iofclose.c: Likewise.
4398 * libio/iofopen.c: Likewise.
4399 * libio/iofwide.c: Likewise.
4400 * libio/libio.h: Likewise.
4401 * libio/libioP.h: Likewise.
4402 * libio/stdfiles.c: Likewise.
4403 * libio/stdio.c: Likewise.
4404 * libio/wfileops.c: Likewise.
4405 * libio/wgenops.c: Likewise.
4406
4407 * libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2.
4408
4409 2000-08-12 Ulrich Drepper <drepper@redhat.com>
4410
4411 * locale/programs/localedef.c: Implement --prefix option to allow
4412 writing in standard places of alternative install directories.
4413
4414 * posix/regex.c (compile_range): Implement collation sequence
4415 handling for glibc. Use simple character ordering otherwise and
4416 not strcoll.
4417
4418 2000-08-12 Mark Kettenis <kettenis@gnu.org>
4419
4420 * sysdeps/generic/scandir64.c: Include <dirent.h>.
4421
4422 2000-08-12 Andreas Jaeger <aj@suse.de>
4423
4424 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle
4425 __USE_FILE_OFFSET64 correctly for locking.
4426 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4427
4428 2000-08-12 Jakub Jelinek <jakub@redhat.com>
4429
4430 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
4431 Define for 2.4.1 on sparc as well.
4432 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fill in correct values
4433 for F_GETLK64, F_SETLK64, and F_SETLKW64.
4434 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: New file.
4435 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: New file.
4436
4437 2000-08-12 Ulrich Drepper <drepper@redhat.com>
4438
4439 * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also
4440 defined.
4441
4442 2000-08-12 Andreas Jaeger <aj@suse.de>
4443
4444 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64,
4445 F_SETLK64, F_SETLKW64): Define with F_GETLK etc.
4446
4447 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
4448 mips2 for assembler.
4449
4450 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl
4451 if fnctl64 is not available for F_*LK*64.
4452
4453 * sysdeps/unix/sysv/linux/i386/lockf64.c: New file.
4454
4455 2000-08-12 Ulrich Drepper <drepper@redhat.com>
4456
4457 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
4458 Define for 2.4.1 on x86.
4459 * sysdeps/unix/sysv/linux/i386/fcntl.c: New file.
4460 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Fill in correct values
4461 for F_GETLK64, F_SETLK64, and F_SETLKW64.
4462
4463 * dirent/dirent.h: Define DT_WHT.
4464
4465 * sysdeps/unix/sysv/linux/arm/alphasort64.c: New file.
4466 * sysdeps/unix/sysv/linux/arm/getdents64.c: New file.
4467 * sysdeps/unix/sysv/linux/arm/readdir64.c: New file.
4468 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: New file.
4469 * sysdeps/unix/sysv/linux/arm/scandir64.c: New file.
4470 * sysdeps/unix/sysv/linux/arm/versionsort64.c: New file.
4471
4472 2000-08-11 Ulrich Drepper <drepper@redhat.com>
4473
4474 * nss/digits_dots.c: Don't pass NULL in h_aliases for successful
4475 lookup, pass pointer to array with NULL pointer [PR libc/1858].
4476 * inet/Makefile (tests): Add tst-gethnm.
4477 * inet/tst-gethnm.c: New file.
4478
4479 * rt/aio_cancel.c: If canceling a specific request which is running
4480 *really* do nothing.
4481 * rt/aio_misc.h: Add `done' to states of a request.
4482 * rt/aio_misc.c: Add several tests for the correct state.
4483 Simplify request table memory handling.
4484
4485 2000-08-10 Jakub Jelinek <jakub@redhat.com>
4486
4487 * dirent/scandir.c: Use it for scandir64 and old_scandir64 as well.
4488 * dirent/scandir64.c: Move...
4489 * sysdeps/generic/scandir64.c: ...here.
4490 * dirent/alphasort64.c: Move...
4491 * sysdeps/generic/alphasort64.c: ...here.
4492 * dirent/versionsort64.c: Move...
4493 * sysdeps/generic/versionsort64.c: ...here.
4494 * sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64,
4495 getdirentries64, readdir64, readdir64_r, scandir64, versionsort64):
4496 Export symbols at GLIBC_2.2.
4497 * sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise.
4498 * sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise.
4499 * include/dirent.h (__readdir64_r, __scandir64, __alphasort64,
4500 __versionsort64): Add prototypes.
4501 * io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
4502 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove
4503 unused prototype.
4504 * sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1
4505 and GLIBC_2.2.
4506 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise.
4507 * sysdeps/unix/sysv/linux/alpha/getdents.c: New.
4508 * sysdeps/unix/sysv/linux/alpha/getdents64.c: New.
4509 * sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to
4510 __u_quad_t.
4511 * sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64):
4512 Adjust for kernel-2.4.0-test6 layout.
4513 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both
4514 GLIBC_2.1 and GLIBC_2.2.
4515 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise.
4516 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise.
4517 * sysdeps/unix/sysv/linux/i386/getdents64.c: New.
4518 * sysdeps/unix/sysv/linux/i386/olddirent.h: New.
4519 * sysdeps/unix/sysv/linux/i386/readdir64.c: New.
4520 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: New.
4521 * sysdeps/unix/sysv/linux/i386/scandir64.c: New.
4522 * sysdeps/unix/sysv/linux/i386/alphasort64.c: New.
4523 * sysdeps/unix/sysv/linux/i386/versionsort64.c: New.
4524 * sysdeps/unix/sysv/linux/ia64/getdents.c: New.
4525 * sysdeps/unix/sysv/linux/ia64/getdents64.c: New.
4526 * sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c.
4527 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c.
4528 * sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to
4529 __u_quad_t.
4530 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New.
4531 * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define.
4532 * sysdeps/unix/sysv/linux/powerpc/scandir64.c: New.
4533 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: New.
4534 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: New.
4535 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New.
4536 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to
4537 __u_quad_t.
4538 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: New.
4539 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*):
4540 Define.
4541 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New.
4542 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New.
4543 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New.
4544 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New.
4545 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*):
4546 Define.
4547 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include
4548 alpha/readdir.c.
4549 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include
4550 alpha/readdir_r.c
4551 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New.
4552 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New.
4553 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If
4554 _HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set
4555 st_ino from __st_ino.
4556 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
4557 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
4558 * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv,
4559 xstat32_conv): Use _HAVE_STAT* macros. If _HAVE_STAT64___ST_INO,
4560 set __st_ino in addition to st_ino.
4561 * sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define.
4562 * sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and
4563 __old_getdents64 as well.
4564 * sysdeps/unix/sysv/linux/getdirentries.c: Use it for
4565 getdirentries64 and old_getdirentries64 as well.
4566 * sysdeps/unix/sysv/linux/getdirentries64.c (GETDIRENTRIES,
4567 __GETDENTS): Define.
4568 (GETDENTS64): Remove.
4569 * sysdeps/unix/sysv/linux/getdents64.c (__GETDENTS, DIRENT_TYPE):
4570 Define.
4571 (GETDENTS64): Remove.
4572 * sysdeps/unix/sysv/linux/readdir64.c: Use sysdeps/unix/readdir.c.
4573 * sysdeps/unix/sysv/linux/readdir64_r.c: Use sysdeps/unix/readdir_r.c.
4574 * sysdeps/unix/readdir.c: Use it for readdir64 and __old_readdir64
4575 as well.
4576 * sysdeps/unix/readdir_r.c: Use it for readdir64_r and
4577 __old_readdir64_r as well.
4578 * sysdeps/unix/sysv/linux/kernel-features.h: Define
4579 __ASSUME_ST_INO_64_bit for kernel 2.4.1 and up.
4580
4581 2000-08-08 Jes Sorensen <jes@linuxcare.com>
4582
4583 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL define.
4584 Add missing ILL_BADIADDR to enum and make ILL_BREAK match the
4585 define of the kernel.
4586 Add missing __SEG_PSTKOVF definition.
4587 Adjust the padding of struct siginfo and struct sigevent to
4588 match the fact that sigval_t is 64 bit.
4589
4590 2000-08-10 Ulrich Drepper <drepper@redhat.com>
4591
4592 * timezone/zic.c: Update from tzcode2000f.
4593 * timezone/australasia: Update from tzdata2000f.
4594 * timezone/europe: Likewise.
4595 * timezone/southamerica: Likewise.
4596 * timezone/yearistype: Likewise.
4597
4598 2000-08-10 Andreas Jaeger <aj@suse.de>
4599
4600 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Synch struct stat64 and
4601 stat with current MIPS kernel.
4602
4603 2000-08-01 Mark Kettenis <kettenis@gnu.org>
4604
4605 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_greg_t, ELF_NGREG,
4606 elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved to
4607 sysdeps/unix/sysv/linux/i386/sys/procfs.h.
4608 Remove the junk that's only relevant in the Linux kernel itself.
4609 Add a warning saying that this file is now obsolete, and include
4610 <sys/procfs.h>.
4611 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (elf_greg_t,
4612 ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved
4613 here from sysdeps/unix/sysv/linux/i386/sys/elf.h. Don't include
4614 <signal.h>, <sys/ucontext.h> and <sys/elf.h>. Remove parts of
4615 `struct elf_prstatus' that are #ifdef'ed out. Improve comments
4616 and add the notice that the file is primarily there for GDB.
4617 * sysdeps/unix/sysv/linux/i386/sys/user.h: Fix comment.
4618
4619 2000-08-09 Jakub Jelinek <jakub@redhat.com>
4620
4621 * time/tzfile.c (__tzfile_compute): __tzstring zones
4622 from zone_names.
4623
4624 2000-08-09 Jakub Jelinek <jakub@redhat.com>
4625
4626 * resolv/resolv.h (__res_state): Surround prototype with
4627 __BEGIN_DECLS/__END_DECLS.
4628 * sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h.
4629
4630 2000-08-04 Jes Sorensen <jes@linuxcare.com>
4631
4632 * sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource):
4633 Make independant of asm/resource.h from the Linux kernel.
4634
4635 2000-08-06 Bruno Haible <haible@clisp.cons.org>
4636
4637 * iconv/gconv_conf.c (__gconv_read_conf): Don't call realpath.
4638
4639 2000-08-06 Bruno Haible <haible@clisp.cons.org>
4640
4641 * intl/Makefile (CPPFLAGS): Remove $(i18ndir) from LOCALE_ALIAS_PATH.
4642 * locale/Makefile (locale-CPPFLAGS): Likewise.
4643
4644 2000-08-09 Ulrich Drepper <drepper@redhat.com>
4645
4646 * sysdeps/i386/fpu/libm-test-ulps: Increase several error values
4647 for AMD processors.
4648
4649 2000-08-03 Jakub Jelinek <jakub@redhat.com>
4650
4651 * misc/Versions (mincore): Export at GLIBC_2.2.
4652
4653 2000-08-03 Bruno Haible <haible@clisp.cons.org>
4654
4655 * intl/libintl.h (gettext, dgettext, dcgettext): Add back __THROW.
4656
4657 2000-08-02 Mark Kettenis <kettenis@gnu.org>
4658
4659 * sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from
4660 socketpair. Made socketpair a weak alias.
4661 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplemented using
4662 __socketpair. Use S_IFIFO protocol to make pipes POSIX
4663 conforming, but fall back on the old protocol if the socket server
4664 doesn't support it.
4665 * include/sys/socket.h: Add prototype for __socketpair.
4666
4667 2000-08-09 Andreas Schwab <schwab@suse.de>
4668
4669 * stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the
4670 long long modifier is seen.
4671
4672 * elf/nodelete.c (do_test): Remove reference to undefined member
4673 sa_restorer.
4674 * rt/tst-aio4.c (do_test): Likewise.
4675
4676 * configure.in: Add `-lm' when checking for libgd.
4677 * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during
4678 linking.
4679
4680 2000-08-09 Andreas Jaeger <aj@suse.de>
4681
4682 * configure.in: Change required make versions.
4683
4684 * manual/install.texi (Tools for Compilation): Document required
4685 make version.
4686 (Supported Configurations): Update list of supported
4687 configurations.
4688
4689 2000-08-08 Ulrich Drepper <drepper@redhat.com>
4690
4691 * locale/linereader.c (get_string): Don't print an error is a string
4692 contains an unknown character.
4693
4694 2000-08-06 Ulrich Drepper <drepper@redhat.com>
4695
4696 * locale/programs/ld-collate.c (struct symbol_t): Add name element.
4697 (new_symbol): Take new parameters with name of the symbol.
4698 Adjust callers.
4699 (handle_ellipsis): Don't only allow character symbols.
4700 (collate_read): Allow string of collating elements contain invalid
4701 characters; ignore entry in this case.
4702 Handle ellipsis of collating symbols before first order_start.
4703 Allow ellipsis in state 0.
4704
4705 2000-08-04 Ulrich Drepper <drepper@redhat.com>
4706
4707 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo in
4708 error message.
4709 Reported by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
4710
4711 2000-08-04 Greg McGary <greg@mcgary.org>
4712
4713 * posix/regex.c (SET_HIGH_BOUND): New macro.
4714 (MOVE_BUFFER_POINTER): Use it.
4715 (ELSE_EXTEND_BUFFER_HIGH_BOUND): New macro.
4716 (EXTEND_BUFFER): Use it.
4717
4718 2000-08-03 Ulrich Drepper <drepper@redhat.com>
4719
4720 * libio/iofwide.c (_IO_fwide): Initialize fp->_codecvt as well.
4721 * libio/fileops.c (_IO_new_file_fopen): Use _codecvt not from
4722 _wide_data but from _IO_FILE directly.
4723 * libio/iofclose.c: Likewise.
4724 * libio/wfileops.c: Likewise.
4725
4726 * libio/genops.c (_IO_default_showmanyc): Change return type to size_t.
4727 * libio/libioP.h: Change prototypes.
4728
4729 2000-08-03 Greg McGary <greg@mcgary.org>
4730
4731 * sysdeps/i386/setjmp.S (__sigsetjmp): Pop our
4732 frame pointer early so that we save caller's frame pointer.
4733 * sysdeps/i386/elf/setjmp.S: Likewise.
4734
4735 * sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures.
4736 * io/test-utime.c: Test passing NULL as utimbuf* arg.
4737
4738 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): Remove macro.
4739 (MOVE_BUFFER_POINTER): Handle high_bound properly.
4740 (EXTEND_BUFFER): Don't call EXTEND_BUFFER_HIGH_BOUND.
4741
4742 2000-08-03 Ulrich Drepper <drepper@redhat.com>
4743
4744 * iconvdata/big5.c: Updated.
4745 Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
4746
4747 2000-08-02 Ulrich Drepper <drepper@redhat.com>
4748
4749 * Makeconfig (all-subdirs): Add conform.
4750 * conform/Makefile: Include ../Rules.
4751
4752 * Makefile (README): Add rules to generate here as well.
4753
4754 2000-08-02 Ulrich Drepper <drepper@redhat.com>
4755
4756 * version.h (VERSION): Bump to 2.1.92.
4757
4758 * sysdeps/ia64/Dist: Add _mcount.S.
4759
4760 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone.S.
4761
4762 * sysdeps/unix/sysv/linux/mips/Dist: Add _test_and_set.c.
4763
4764 * elf/Makefile (distribute): Add missing modules.
4765
4766 * sysdeps/unix/sysv/linux/s390/Dist: Remove nonexisting files.
4767
4768 * posix/regex.c (compile_range): Translate range start and end
4769 characters to avoid empty range in case of REG_ICASE [PR libc/1842].
4770
4771 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Don't include
4772 asm/resource.h.
4773
4774 * sysdeps/unix/sysv/linux/arm/Makefile: Undo last change.
4775
4776 2000-08-02 Andreas Jaeger <aj@suse.de>
4777
4778 * elf/elf.h (EM_S390): Added.
4779 (R_390_*): New relocs for S390.
4780
4781 * sysdeps/unix/sysv/linux/s390/Dist: New file.
4782 * sysdeps/unix/sysv/linux/s390/sysdep.h: New file.
4783 * sysdeps/unix/sysv/linux/s390/sysdep.S: New file.
4784 * sysdeps/unix/sysv/linux/s390/syscall.S: New file.
4785 * sysdeps/unix/sysv/linux/s390/sys/user.h: New file.
4786 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4787 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file.
4788 * sysdeps/unix/sysv/linux/s390/sys/elf.h: New file.
4789 * sysdeps/unix/sysv/linux/s390/socket.S: New file.
4790 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file.
4791 * sysdeps/unix/sysv/linux/s390/shmctl.c: New file.
4792 * sysdeps/unix/sysv/linux/s390/setreuid.c: New file.
4793 * sysdeps/unix/sysv/linux/s390/setresuid.c: New file.
4794 * sysdeps/unix/sysv/linux/s390/setresgid.c: New file.
4795 * sysdeps/unix/sysv/linux/s390/setregid.c: New file.
4796 * sysdeps/unix/sysv/linux/s390/setgroups.c: New file.
4797 * sysdeps/unix/sysv/linux/s390/setgid.c: New file.
4798 * sysdeps/unix/sysv/linux/s390/setfsuid.c: New file.
4799 * sysdeps/unix/sysv/linux/s390/setfsgid.c: New file.
4800 * sysdeps/unix/sysv/linux/s390/seteuid.c: New file.
4801 * sysdeps/unix/sysv/linux/s390/setegid.c: New file.
4802 * sysdeps/unix/sysv/linux/s390/semctl.c: New file.
4803 * sysdeps/unix/sysv/linux/s390/register-dump.h: New file.
4804 * sysdeps/unix/sysv/linux/s390/putpmsg.c: New file.
4805 * sysdeps/unix/sysv/linux/s390/putmsg.c: New file.
4806 * sysdeps/unix/sysv/linux/s390/profil-counter.h: New file.
4807 * sysdeps/unix/sysv/linux/s390/msgctl.c: New file.
4808 * sysdeps/unix/sysv/linux/s390/mmap.S: New file.
4809 * sysdeps/unix/sysv/linux/s390/getuid.c: New file.
4810 * sysdeps/unix/sysv/linux/s390/getresuid.c: New file.
4811 * sysdeps/unix/sysv/linux/s390/getresgid.c: New file.
4812 * sysdeps/unix/sysv/linux/s390/getpmsg.c: New file.
4813 * sysdeps/unix/sysv/linux/s390/getmsg.c: New file.
4814 * sysdeps/unix/sysv/linux/s390/getgroups.c: New file.
4815 * sysdeps/unix/sysv/linux/s390/getegid.c: New file.
4816 * sysdeps/unix/sysv/linux/s390/geteuid.c: New file.
4817 * sysdeps/unix/sysv/linux/s390/fchown.c: New file.
4818 * sysdeps/unix/sysv/linux/s390/clone.S: New file.
4819 * sysdeps/unix/sysv/linux/s390/brk.c: New file.
4820 * sysdeps/unix/sysv/linux/s390/bits/time.h: New file.
4821 * sysdeps/unix/sysv/linux/s390/bits/resource.h: New file.
4822 * sysdeps/unix/sysv/linux/s390/bits/mman.h: New file.
4823 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file.
4824 * sysdeps/unix/sysv/linux/s390/Makefile: New file.
4825 * sysdeps/s390/sysdep.h: New file.
4826 * sysdeps/s390/sys/ucontext.h: New file.
4827 * sysdeps/s390/sub_n.S: New file.
4828 * sysdeps/s390/strncpy.S: New file.
4829 * sysdeps/s390/strcpy.S: New file.
4830 * sysdeps/s390/stackinfo.h: New file.
4831 * sysdeps/s390/setjmp.S: New file.
4832 * sysdeps/s390/s390-mcount.S: New file.
4833 * sysdeps/s390/mul_1.S: New file.
4834 * sysdeps/s390/memusage.h: New file.
4835 * sysdeps/s390/memset.S: New file.
4836 * sysdeps/s390/memcpy.S: New file.
4837 * sysdeps/s390/memchr.S: New file.
4838 * sysdeps/s390/machine-gmon.h: New file.
4839 * sysdeps/s390/ldbl2mpn.c: New file.
4840 * sysdeps/s390/gmp-mparam.h: New file.
4841 * sysdeps/s390/fpu/fpu_control.h: New file.
4842 * sysdeps/s390/fpu/fesetround.c: New file.
4843 * sysdeps/s390/fpu/fegetround.c: New file.
4844 * sysdeps/s390/fpu/fclrexcpt.c: New file.
4845 * sysdeps/s390/fpu/bits/fenv.h: New file.
4846 * sysdeps/s390/ffs.c: New file.
4847 * sysdeps/s390/elf/start.S: New file.
4848 * sysdeps/s390/elf/setjmp.S: New file.
4849 * sysdeps/s390/elf/bsd-setjmp.S: New file.
4850 * sysdeps/s390/elf/bsd-_setjmp.S: New file.
4851 * sysdeps/s390/dl-machine.h: New file.
4852 * sysdeps/s390/bzero.S: New file.
4853 * sysdeps/s390/bsd-setjmp.S: New file.
4854 * sysdeps/s390/bsd-_setjmp.S: New file.
4855 * sysdeps/s390/bits/string.h: New file.
4856 * sysdeps/s390/bits/setjmp.h: New file.
4857 * sysdeps/s390/bits/huge_val.h: New file.
4858 * sysdeps/s390/bits/endian.h: New file.
4859 * sysdeps/s390/bits/byteswap.h: New file.
4860 * sysdeps/s390/bcopy.S: New file.
4861 * sysdeps/s390/backtrace.c: New file.
4862 * sysdeps/s390/atomicity.h: New file.
4863 * sysdeps/s390/asm-syntax.h: New file.
4864 * sysdeps/s390/addmul_1.S: New file.
4865 * sysdeps/s390/add_n.S: New file.
4866 * sysdeps/s390/abort-instr.h: New file.
4867 * sysdeps/s390/__longjmp.c: New file.
4868 * sysdeps/s390/Makefile: New file.
4869 * sysdeps/s390/Implies: New file.
4870 * sysdeps/s390/Dist: New file.
4871 Patches by Martin Schwidefsky <schwidefsky@de.ibm.com>.
4872
4873 2000-08-01 Ulrich Drepper <drepper@redhat.com>
4874
4875 Remove incompatible IPv6 extension of RPC.
4876 * sunrpc/Makefile: Undo changes.
4877 * sunrpc/rpc_main.c: Likewise.
4878 * sunrpc/rpc/clnt.h: Likewise.
4879 * sunrpc/rpc/svc.h: Likewise.
4880 * sunrpc/bindrsvprt6.c: Removed.
4881 * sunrpc/clnt_tcp6.c: Removed.
4882 * sunrpc/clnt_udp6.c: Removed.
4883 * sunrpc/svc_tcp6.c: Removed.
4884 * sunrpc/svc_udp6.c: Removed.
4885
4886 * intl/libintl.h: Don't use __attribute_format_arg__ for gettext,
4887 dgettext, and dcgettetxt.
4888
4889 * intl/locale.alias: Update japanese aliases.
4890
4891 * sysdeps/ia64/bits/byteswap.h: New file.
4892 Patch by Dan Pop <Dan.Pop@cern.ch>.
4893
4894 * misc/sys/cdefs.h: Define __attribute_format_arg__.
4895 * intl/libintl.h: Use it here instead of using __attribute__ directly.
4896
4897 2000-07-13 H.J. Lu <hjl@gnu.org>
4898
4899 * posix/regex.c (re_max_failures): Set to 4000.
4900
4901 2000-08-01 Ulrich Drepper <drepper@redhat.com>
4902
4903 * gnulib/Makefile (tests): Add tst-gcc.
4904 * gnulib/tst-gcc.c: New file.
4905
4906 * assert/Makefile (routines): Add __assert.
4907 * assert/Versions: Export __assert for glibc 2.2.
4908 * assert/__assert.c: New file.
4909 * assert/assert.h: Declare __assert.
4910
4911 2000-07-27 Bruno Haible <haible@clisp.cons.org>
4912
4913 * locale/localeinfo.h (_ISCTYPE): New macro.
4914 * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new
4915 LC_CTYPE locale format.
4916 * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b.
4917 (ctype_output): Output class_b[nr] right before class_3level[nr].
4918 (allocate_arrays): Fill class_b, similarly to class_3level.
4919
4920 2000-08-01 Ulrich Drepper <drepper@redhat.com>
4921 Joseph S. Myers <jsm28@cam.ac.uk>
4922
4923 * math/tgmath.h: Make standard compliant. Don't ask how.
4924
4925 2000-07-04 H.J. Lu <hjl@gnu.org>
4926
4927 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)):
4928 Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new".
4929 ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only.
4930
4931 2000-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4932
4933 * include/features.h (_XOPEN_SOURCE): Update the explanation.
4934 (__USE_LARGEFILE): Add an explanation.
4935 (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500.
4936 (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600.
4937
4938 2000-08-01 Ulrich Drepper <drepper@redhat.com>
4939
4940 * libio/Makefile: Enable exception handling for genops, wgenops,
4941 fileops, and wfileops.
4942
4943 2000-07-29 Mark Kettenis <kettenis@gnu.org>
4944
4945 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into
4946 acount that elf/rtld's main program might remove some varibales
4947 from the environment if we're trying to be secure. Move the Hurd
4948 startup data if necessary, or, if we there is no startup data,
4949 make sure the magical convention that ARGV[0] is stored just after
4950 the environment list.
4951
4952 2000-08-01 Philip Blundell <philb@gnu.org>
4953
4954 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
4955 (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
4956 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
4957 oldsetrlimit for GLIBC_2.0.
4958
4959 2000-08-01 Andreas Jaeger <aj@suse.de>
4960
4961 * nss/nss_files/files-ethers.c: Use case-insensitive lookup.
4962 (LINE_PARSER): Allow any number of spaces between ip address and
4963 number. Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt.
4964
4965 * conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
4966
4967 * include/netdb.h: Remove getipnodebyaddr and friends, leave
4968 constants in.
4969
4970 * nis/Versions: Remove _nss_nis_getipnodebyname_r and
4971 _nss_nisplus_getipnodebyname_r.
4972
4973 * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
4974 now, getipnodebyname is deprecated.
4975 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
4976 Likewise.
4977
4978 * inet/Makefile (routines): Don't build getipnodebyaddr and
4979 friends.
4980
4981 * intl/Makefile (distribute): Add tst-translit.sh and translit.po.
4982
4983 * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h.
4984
4985 * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c.
4986
4987 * wctype/Makefile (distribute): Add wchar-lookup.h.
4988
4989 * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h.
4990
4991 * iconvdata/Makefile (distribute): Add isiri-3342.h.
4992
4993 2000-08-01 Andreas Schwab <schwab@suse.de>
4994
4995 * Make-dist (dist): Resolve `..' in file names.
4996
4997 2000-08-01 Andreas Jaeger <aj@suse.de>
4998
4999 * stdio-common/Makefile (distribute): Remove removed files, add
5000 new files.
5001
5002 * Makefile (distribute): Remove include/db_185.h and db.h.
5003
5004 * include/db_185.h: Remove, it's not needed anymore.
5005 * include/db.h: Likewise.
5006
5007 2000-07-31 Ulrich Drepper <drepper@redhat.com>
5008
5009 * inet/Makefile (tests): Remove tst-ipnode.
5010 * include/netdb.h: Add stuff removed from resolv/netdb.h here for
5011 now.
5012
5013 2000-07-31 Jes Sorensen <jes@linuxcare.com>
5014
5015 * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and
5016 endp statements have already been added.
5017
5018 2000-04-18 David Mosberger <davidm@hpl.hp.com>
5019
5020 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include
5021 <sysdeps/ia64/sysdep.h>.
5022
5023 * sysdeps/ia64/_mcount.S: New file.
5024
5025 * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to
5026 __gmon_start__. Fix up extraneous whitespace.
5027
5028 2000-01-12 H.J. Lu <hjl@gnu.org>
5029
5030 * sysdeps/ia64/elf/initfini.c: New file.
5031
5032 2000-07-31 Jes Sorensen <jes@linuxcare.com>
5033
5034 * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW
5035 dependency between branch and ar.pfs write.
5036
5037 2000-07-31 H.J. Lu <hjl@gnu.org>
5038
5039 * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly
5040 handle the wchar_t array.
5041
5042 2000-07-31 Ulrich Drepper <drepper@redhat.com>
5043
5044 * iconvdata/gb18030.c: Don't map to and from positions in ISO
5045 10646 which are not yet assigned.
5046 Patch by wang shouhua <shouhuawang@redflag-linux.com>.
5047
5048 2000-07-31 Andreas Jaeger <aj@suse.de>
5049
5050 * inet/Versions: Remove getipnodebyaddr and friends from
5051 GLIBC_2.2.
5052
5053 * resolv/netdb.h: Remove getipnodebyaddr and friends.
5054
5055 2000-07-30 Bruno Haible <haible@clisp.cons.org>
5056
5057 * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
5058 ch >= 0x81 && ch2 < 0x40 as invalid.
5059
5060 2000-07-30 Bruno Haible <haible@clisp.cons.org>
5061
5062 * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
5063 (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
5064
5065 2000-07-30 Bruno Haible <haible@clisp.cons.org>
5066
5067 * iconvdata/johab.c (BODY for TO_LOOP): After calling
5068 ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
5069
5070 2000-07-30 Bruno Haible <haible@clisp.cons.org>
5071
5072 * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
5073 0xb8.
5074 (from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
5075
5076 2000-07-30 Bruno Haible <haible@clisp.cons.org>
5077
5078 * iconvdata/macintosh.c (HAS_HOLES): Set to 1.
5079
5080 2000-07-30 Bruno Haible <haible@clisp.cons.org>
5081
5082 * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
5083 (from_ucs4): Change values of U+00A4 and U+00ED.
5084 (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
5085
5086 2000-07-30 Bruno Haible <haible@clisp.cons.org>
5087
5088 * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
5089 (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
5090
5091 2000-07-30 Bruno Haible <haible@clisp.cons.org>
5092
5093 * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
5094 * iconvdata/isiri-3342.h: New file.
5095 * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
5096 treat 0x80 as a gap.
5097
5098 2000-07-30 Bruno Haible <haible@clisp.cons.org>
5099
5100 * string/strxfrm.c (encoding_mask, encoding_byte): Remove.
5101 (utf8_encode): Use simple shifts instead. Fix return value.
5102
5103 2000-07-31 Ulrich Drepper <drepper@redhat.com>
5104
5105 * timezone/private.h: Update from tzcode2000e.
5106 * timezone/asia: Update from tzdata2000e.
5107 * timezone/australasia: Likewise.
5108 * timezone/europe: Likewise.
5109 * timezone/northamerica: Likewise.
5110 * timezone/zone-tab: Likewise.
5111
5112 2000-07-30 Ralf Baechle <ralf@gnu.org>
5113
5114 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
5115 the order of struct sigaltstack members is different.
5116
5117 2000-07-26 Philip Blundell <philb@gnu.org>
5118
5119 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
5120
5121 2000-07-29 Ulrich Drepper <drepper@redhat.com>
5122
5123 * locale/langinfo.h: Add entries for extra tables in CTYPE data.
5124 * locale/programs/ld-ctype.c: Adjust for this.
5125
5126 * locale/programs/ld-collate.c: Add more alignment checks.
5127 * locale/string/strcoll.c: Likewise.
5128
5129 2000-07-30 Mark Kettenis <kettenis@gnu.org>
5130
5131 * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
5132 outside USE_IN_LIBIO block.
5133
5134 2000-07-26 Philip Blundell <philb@gnu.org>
5135
5136 * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
5137 (elf_machine_rel): Use it for out-of-range PC24 relocs.
5138
5139 2000-07-28 Philip Blundell <philb@gnu.org>
5140
5141 * math/test-fpucw.c: Ignore reserved bits in control word.
5142
5143 2000-07-28 Philip Blundell <philb@gnu.org>
5144
5145 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
5146 (ret): Redefine to PSEUDO_RET.
5147 (PSEUDO): Remove jump to syscall_error.
5148
5149 2000-07-29 Mark Kettenis <kettenis@gnu.org>
5150
5151 * resolv/README: Add some information about using the resolver in
5152 multi-threaded code and with C++. Spelling fixes.
5153
5154 2000-07-29 Mark Kettenis <kettenis@gnu.org>
5155
5156 * resolv/resolv.h (struct __sockaddr_in): Remove.
5157 (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
5158
5159 2000-07-29 Greg McGary <greg@mcgary.org>
5160
5161 * Rules (test-bp-inputs, make-test-out): New variables.
5162 ($(objpfx)%-bp.out): New rule.
5163 ($(objpfx)%.out): Rewrite in terms of new variables.
5164
5165 * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
5166 internal function that uses vtable.
5167 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
5168 * libio/vswprintf.c (_IO_vswprintf): Likewise.
5169
5170 * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
5171 (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
5172 (chunk_align): Likewise.
5173
5174 * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
5175 in a way that conforms to decl, and avoids spurious bounds violation.
5176
5177 * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
5178 * sysdeps/generic/frame.h: Likewise.
5179 * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
5180 around return value.
5181 (__backtrace): Qualify frame-pointer chain and return address
5182 pointers as __unbounded. Wrap bounds around variable `current'.
5183 * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
5184 around return value.
5185 (catch_segfault): Qualify frame-pointer chain and return address
5186 pointers as __unbounded. Wrap bounds around variable `current'.
5187 * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
5188 (ADVANCE_STACK_FRAME): Wrap bounds around return value.
5189 * sysdeps/powerpc/backtrace.c (struct layout): Make pointers
5190 __unbounded.
5191 (__backtrace): Qualify frame-pointer chain and return address
5192 pointers as __unbounded. Wrap bounds around variable `current'.
5193
5194 * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
5195 * sysdeps/i386/mul_1.S: Likewise.
5196 * sysdeps/i386/submul_1.S: Likewise.
5197 * sysdeps/i386/i586/addmul_1.S: Likewise.
5198 * sysdeps/i386/i586/mul_1.S: Add bounds checks.
5199 * sysdeps/i386/i586/submul_1.S: Likewise.
5200
5201 2000-07-27 Andreas Jaeger <aj@suse.de>
5202
5203 * libio/Depend: New file, libio needs localedata for tests.
5204 * posix/Depend: Likewise.
5205
5206 2000-07-28 Ulrich Drepper <drepper@redhat.com>
5207
5208 * stdio-common/_i18n_itoa.c: Removed.
5209 * stdio-common/_i18n_itoa.h: Removed.
5210 * stdio-common/_i18n_itowa.c: Removed.
5211 * stdio-common/_i18n_itowa.h: Removed.
5212 * stdio-common/_i18n_number.h: New file.
5213 * stdio-common/Depend: New file.
5214 * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize.
5215 * stdio-common/vfprintf.c: Rewrite buffer handling for integer
5216 printing. Change printing of numbers with locale specific digits to
5217 use new code in _i18n_number.h.
5218 * stdio-common/Makefile (routines): Remove _i18n_itoa and
5219 _i18n_itowa.
5220
5221 * stdio-common/bug13.c: Improve messages.
5222
5223 * locale/programs/ld-ctype.c (ctype_read): Improve error message.
5224 (set_class_defaults): Always search also for Uxxxx names.
5225 Detect insufficient number of outdigits.
5226
5227 * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
5228
5229 2000-07-27 Bruno Haible <haible@clisp.cons.org>
5230
5231 * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
5232 _NL_CTYPE_MAP_NAMES.
5233 * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
5234 * wctype/wcfuncs.c (towlower, towupper): Use them.
5235 * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
5236 * wctype/wctrans.c (wctrans): Likewise.
5237 * wctype/wctrans_l.c (__wctrans_l): Likewise.
5238
5239 2000-07-27 Bruno Haible <haible@clisp.cons.org>
5240
5241 * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun.
5242 Use the optimized version of this function outside glibc as well.
5243
5244 2000-07-27 Jakub Jelinek <jakub@redhat.com>
5245
5246 * locale/indigits.h (indigit_value): Correct.
5247 * locale/indigitswc.h (indigitwc_value): Correct.
5248 * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
5249 conversion, add GROUP checking for it, fix GROUP number
5250 conversion with strlen(thousands) > 1.
5251 Honour width correctly in the presence of floating
5252 decimal points and thousands separators.
5253 * stdio-common/tst-sscanf.c: New test.
5254 * stdio-common/Makefile: Add it to tests.
5255 * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
5256 thousands separators and group argument is non-zero.
5257
5258 2000-07-25 Bruno Haible <haible@clisp.cons.org>
5259
5260 * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
5261 starts at GLIBC_2.2.
5262
5263 2000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5264
5265 * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
5266 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
5267 _test_and_set.
5268 (headers): Add sys/tas.h.
5269 * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
5270 GLIBC_2.2 from libc.
5271 * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
5272 * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
5273 _test_and_set.
5274
5275 2000-07-28 Andreas Jaeger <aj@suse.de>
5276
5277 * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
5278
5279 * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
5280 ($(objpfx)tst-dladdr.out): new.
5281 (tests): Add tst-dladdr.
5282 ($(objpfx)glrefmain): Use libdl.
5283
5284 * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh
5285 <vs@caldera.de>.
5286
5287 2000-07-27 Jes Sorensen <jes@linuxcare.com>
5288
5289 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
5290 ftruncate(64) calls.
5291
5292 2000-07-27 Jes Sorensen <jes@linuxcare.com>
5293
5294 * intl/tst-translit.c: Include string.h to get prototype for
5295 strcmp().
5296
5297 2000-07-27 Jes Sorensen <jes@linuxcare.com>
5298
5299 * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
5300 name and add weak alias for __fork.
5301
5302 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
5303 & pwrite to use __libc_<name> as strong names instead of
5304 __syscall_<name>.
5305
5306 * include/sched.h: Add clone2 prototype.
5307
5308 2000-07-26 Jes Sorensen <jes@linuxcare.com>
5309
5310 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
5311 procedure name twice.
5312
5313 2000-07-27 Philip Blundell <philb@gnu.org>
5314
5315 * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
5316
5317 2000-07-27 Andreas Jaeger <aj@suse.de>
5318
5319 * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
5320 MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
5321 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
5322 Reported by Andi Kleen <ak@suse.de>.
5323
5324 * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
5325 (do_wait): Test requests with aio_return64.
5326 (do_test): Change callers of do_wait.
5327
5328 2000-07-26 Andreas Jaeger <aj@suse.de>
5329
5330 * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
5331 (do_wait): Test requests with aio_return.
5332 (do_test): Change callers of do_wait.
5333
5334 2000-07-27 Ulrich Drepper <drepper@redhat.com>
5335
5336 * rt/aio_misc.c (__aio_remove_request): New function. Handle removing
5337 from request list. Don't do the list handling here, call
5338 __aio_remove_request.
5339 * rt/aio_misc.h: Add prototype for __aio_remove_request.
5340 * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
5341 request might already be processed. Don't do the list handling
5342 here, call __aio_remove_request.
5343
5344 * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
5345 LIO_DSYNC.
5346
5347 * rt/aio_misc.c: Add comment explaining why writer memory barriers
5348 are missing.
5349
5350 2000-07-27 Greg McGary <greg@mcgary.org>
5351
5352 * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
5353 * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
5354 in union init. Pass zero for ignored semnum arg to semctl.
5355 * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
5356
5357 2000-07-26 Greg McGary <greg@mcgary.org>
5358
5359 * sysdeps/gnu/bits/msq.h: Qualify kernel's
5360 data structure pointers as __unbounded.
5361 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
5362 * sysdeps/generic/bp-semctl.h: New file.
5363 * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
5364 pointers as __unbounded. Check bounds of syscall args.
5365 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
5366 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
5367 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5368 * sysdeps/unix/sysv/linux/semop.c: Likewise.
5369 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
5370 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5371 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
5372 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
5373 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
5374 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
5375 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
5376 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
5377 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
5378 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
5379 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
5380 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
5381
5382 2000-07-26 Ulrich Drepper <drepper@redhat.com>
5383
5384 * libio/iofwide.c: Enable transliteration for conversion from wchar_t
5385 by default.
5386 * locale/C-ctype.c: Likewise.
5387 * wcsmbs/wcsmbsload.c: Likewise.
5388
5389 2000-07-26 Greg McGary <greg@mcgary.org>
5390
5391 * Makeconfig (+link-bounded, link-libc-bounded,
5392 link-extra-libs-bounded): New variables.
5393 (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
5394 * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
5395 * Rules (tests-bp.out): New variable.
5396 (tests): Conditionally add BP tests.
5397 (binaries-bounded): Add variable and associated rule.
5398 * csu/Makefile [build-bounded] (extra-objs, install-lib):
5399 Move conditional stuff after place where condition is defined.
5400
5401 * malloc/malloc.c (bp-checks.h): Add #include.
5402 (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
5403 (_bin_at): Add unbounded version of bin_at.
5404 (IAV, chunk_alloc): Use unbounded _bin_at.
5405 (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
5406 chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
5407 Wrap BOUNDED_N around return value.
5408 (chunk_realloc): Adjust oldsize once.
5409
5410 * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
5411 (__ubp_memchr): Add correct decl.
5412 (_CHECK_STRING): Use __ubp_memchr.
5413 * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
5414 New alias for unbounded-pointer __memchr.
5415 * sysdeps/i386/memchr.S: Likewise.
5416 * sysdeps/ia64/memchr.S: Likewise.
5417 * sysdeps/m68k/memchr.S: Likewise.
5418 * sysdeps/sparc/sparc32/memchr.S: Likewise.
5419 * sysdeps/sparc/sparc64/memchr.S: Likewise.
5420 * sysdeps/vax/memchr.s: Likewise.
5421
5422 * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
5423 (SAVE_PTR): New macro. (save_ptr): Expand size as BP.
5424 (strtok): Don't bother to write into SAVE_PTR when returning NULL.
5425 * sysdeps/i386/i686/strtok.S: Likewise.
5426 * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
5427 RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
5428
5429 * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
5430 * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
5431
5432 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
5433 bounds of copy_result to mount_proc.
5434
5435 2000-07-25 Bruno Haible <haible@clisp.cons.org>
5436
5437 * wctype/wctype.h (__wctrans_l): New declaration.
5438 * wctype/wctrans_l.c: New file.
5439 * wctype/Makefile (routines): Add wctrans_l.
5440
5441 2000-07-26 Ulrich Drepper <drepper@redhat.com>
5442
5443 * posix/fnmatch_loop.c: Fixes for use outside glibc.
5444 Patch by MacGyver <macgyver@tos.net>.
5445
5446 2000-07-26 Andreas Jaeger <aj@suse.de>
5447
5448 * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
5449 * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
5450 * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
5451
5452 * rt/tst-aio.c (test_file): Fix typo.
5453 * rt/tst-aio64.c (test_file): Likewise.
5454
5455 * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
5456 * rt/Makefile: Add rules to build and run tst-aio3.
5457
5458 * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
5459 it's not needed and confuses only.
5460
5461 2000-07-26 Ulrich Drepper <drepper@redhat.com>
5462
5463 * resolv/res_init.c: Add support for nameserver communication with
5464 IPv6.
5465 * resolv/res_send.c: Likewise.
5466 * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
5467 in nsaddrs field.
5468 Patch by <venaas@nvg.ntnu.no>.
5469
5470 2000-07-25 Bruno Haible <haible@clisp.cons.org>
5471
5472 * locale/programs/ld-ctype.c (wctype_table_get): New function.
5473 (wcwidth_table_get): New function.
5474 (wcwidth_table_add): Call it.
5475 (wctrans_table_get): New function.
5476 (wctrans_table_add): Call it.
5477
5478 2000-07-25 Ulrich Drepper <drepper@redhat.com>
5479
5480 * rt/lio_listio.c (lio_listio): Always disable individual
5481 notification.
5482 * rt/Makefile: Add rules to build and run tst-aio2.
5483 * rt/tst-aio2.c: New file.
5484
5485 * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
5486 Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
5487
5488 2000-07-25 Mark Kettenis <kettenis@gnu.org>
5489
5490 * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
5491 (_nss_netgroup_parseline): Use strip_whitespace to strip off any
5492 leading and trailing spaces from host, user and domain name.
5493
5494 2000-07-25 Jes Sorensen <jes@linuxcare.com>
5495
5496 * csu/defs.awk: Add support for need_endp.
5497
5498 2000-07-25 Mark Kettenis <kettenis@gnu.org>
5499
5500 * resolv/resolv.h: Remove __P from res_send_qhook and
5501 res_send_rhook typedefs.
5502
5503 2000-07-25 Bruno Haible <haible@clisp.cons.org>
5504
5505 * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
5506
5507 2000-07-25 Ulrich Drepper <drepper@redhat.com>
5508
5509 * iconv/gconv_builtin.h: Add WCHAR_T alias.
5510
5511 2000-07-25 Mark Kettenis <kettenis@gnu.org>
5512
5513 * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
5514 calling thread, set the cancellation flag and return success
5515 instead of EINTR.
5516
5517 2000-07-25 Ulrich Drepper <drepper@redhat.com>
5518
5519 * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
5520 * libio/tst-widetext.c: New file.
5521 * libio/tst-widetext.input: New file.
5522
5523 * libio/iogetwline.c (_IO_getwline_info): Pretty print.
5524
5525 * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
5526 empty external buffer correctly.
5527
5528 2000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5529
5530 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
5531 __STRING(entry) and not #entry.
5532 (_RTLD_EPILOGUE): Likewise.
5533 * sysdeps/mips/mips64/dl-machine.h: Likewise.
5534
5535 2000-07-25 Andreas Jaeger <aj@suse.de>
5536
5537 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
5538 according to changes in test program, run also with static only
5539 builds.
5540 ($(objpfx)tst-printf.out): Likewise.
5541
5542 * stdio-common/tst-unbputc.sh: Likewise.
5543 * stdio-common/tst-printf.sh: Likewise.
5544
5545 2000-07-25 Ulrich Drepper <drepper@redhat.com>
5546
5547 * libio/wfileops.c (_IO_wdo_write): Correct return value.
5548
5549 * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
5550 loop.
5551
5552 * libio/fileops.c: Pretty print.
5553
5554 2000-07-23 Bruno Haible <haible@clisp.cons.org>
5555
5556 * wctype/wchar-lookup.h: New file.
5557 * wctype/iswctype.c: Include "wchar-lookup.h".
5558 (__iswctype): Support alternate locale format with 3-level tables.
5559 * wctype/iswctype_l.c (__iswctype_l): Likewise.
5560 * wctype/towctrans.c (__towctrans): Likewise.
5561 * wctype/towctrans_l.c (__towctrans_l): Likewise.
5562 * wctype/wcfuncs.c: Include "wchar-lookup.h".
5563 (__ctype32_wctype, __ctype32_wctrans): Declare external.
5564 (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
5565 __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
5566 __iswxdigit, towlower, towupper): Support alternate locale format
5567 with 3-level tables.
5568 * wctype/wcextra.c (iswblank): Likewise.
5569 * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
5570 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
5571 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
5572 __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
5573 format with 3-level tables.
5574 * wctype/wcextra_l.c (__iswblank_l): Likewise.
5575 * wctype/wctype.c (__wctype): Likewise. In the alternate locale
5576 format, return a 3-level table pointer.
5577 * wctype/wctype_l.c (__wctype_l): Likewise.
5578 * wctype/wctrans.c (wctrans): Likewise.
5579 * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
5580 __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
5581 __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
5582 (iswctype): Remove macro definition.
5583 * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
5584 (internal_wcwidth): Support alternate locale format with 3-level
5585 tables.
5586 * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
5587 New nl_items.
5588 * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
5589 Define them as being type "word".
5590 * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
5591 * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
5592 __ctype32_width): New exported variables.
5593 * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
5594 alternate locale format. Don't initialize __ctype_names and
5595 __ctype_width in the alternate locale format.
5596 * locale/programs/localedef.h (oldstyle_tables): New declaration.
5597 * locale/programs/localedef.c (oldstyle_tables): New variable.
5598 (OPT_OLDSTYLE): New macro.
5599 (options): Add --old-style option.
5600 (parse_opt): Handle --old-style option.
5601 * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
5602 map_offset, class_3level, map_3level, width_3level members.
5603 (ctype_output): Support for alternate locale format: Computation of
5604 nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
5605 _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
5606 New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
5607 _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
5608 now contain both class and map tables.
5609 (struct wctype_table): New type.
5610 (wctype_table_init, wctype_table_add, wctype_table_finalize): New
5611 functions.
5612 (struct wcwidth_table): New type.
5613 (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
5614 functions.
5615 (struct wctrans_table): New type.
5616 (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
5617 functions.
5618 (allocate_arrays): Support for alternate locale format: Set
5619 plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
5620 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
5621 to the first 256 characters. Compute ctype->map_3level. Set
5622 ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
5623 instead of ctype->width.
5624
5625 2000-07-24 Ulrich Drepper <drepper@redhat.com>
5626
5627 * libio/iogetwline.c (_IO_getwline_info): Use wide character
5628 string functions.
5629
5630 2000-07-24 Jakub Jelinek <jakub@redhat.com>
5631
5632 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
5633 in wide characters, not bytes.
5634 * libio/tst_putwc.c (do_test): Add test for writing lots of data
5635 into file.
5636
5637 2000-07-22 Bruno Haible <haible@clisp.cons.org>
5638
5639 * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
5640 new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
5641 LC_MEASUREMENT, LC_IDENTIFICATION.
5642
5643 * locale/xlocale.h (struct __locale_struct): Increase size of
5644 __locales array.
5645 * locale/duplocale.c (__duplocale): Copy newly added categories as
5646 well.
5647 * locale/freelocale.c (__freelocale): Free newly added categories.
5648 * locale/newlocale.c (__newlocale): Fix typo in sanity check.
5649 If a base is given, use it, don't simply return it.
5650
5651 2000-07-22 Bruno Haible <haible@clisp.cons.org>
5652
5653 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
5654 variables, copied_key and copied_salt, instead of boolean variables.
5655
5656 2000-07-24 Andreas Jaeger <aj@suse.de>
5657
5658 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
5659 check for offset.
5660
5661 * grp/initgroups.c (initgroups_dyn_function): Renamed from
5662 initgroups_function, adopted prototype for change from 2000-07-23.
5663 (initgroups): Follow type change.
5664
5665 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
5666 & PAGE_MASK case, reformat.
5667
5668 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
5669 from stdin and setup environment.
5670
5671 2000-07-24 Andreas Schwab <schwab@suse.de>
5672
5673 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
5674
5675 2000-07-23 Ulrich Drepper <drepper@redhat.com>
5676
5677 * string/endian.h: Explain the _*_ENDIAN constant values a bit
5678 more. Patch by scarlet@mit.edu [PR libc/1799].
5679
5680 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
5681 [PR libc/1792].
5682
5683 * argp/argp-parse.c (parser_finalize): Reverse order in which
5684 parsers are run for ARGP_KEY_END. [PR libc/1755].
5685
5686 * grp/initgroups.c (initgroups): Don't limit the possible number
5687 of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around
5688 the setgroups call while the call fails and descrease the number
5689 of groups each round.
5690 The name of the initgroups function in the NSS modules changed.
5691 (compat_call): Adapt for dynamic resizing.
5692 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5693 Implement dynamic resizing.
5694 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
5695 Likewise.
5696 * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
5697 * hesiod/Versions: Change exported interface name.
5698 * nis/Versions: Change exported interface name.
5699
5700 2000-07-23 Ulrich Drepper <drepper@redhat.com>
5701
5702 * locale/iso-639.def: Some errors corrected.
5703 Patch by Keld Simonsen.
5704
5705 * include/limits.h: Update non-gcc portion.
5706 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
5707
5708 2000-07-22 Mark Kettenis <kettenis@gnu.org>
5709
5710 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
5711 program's data space, reallocate only the space that was just
5712 deallocated to release its backing space.
5713
5714 2000-07-23 Ulrich Drepper <drepper@redhat.com>
5715
5716 * stdio-common/vfprintf.c (process_string_arg): For wide character
5717 version, handle precision also correctly.
5718
5719 * nss/nss_files/files-hosts.c: Correct problem with three or more
5720 entries with the same name.
5721
5722 * nss/nss_files/files-hosts.c: Implement multi handling.
5723 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
5724
5725 2000-07-22 Ulrich Drepper <drepper@redhat.com>
5726
5727 * nss/nss_files/files-parse.c: Don't pollute namespace by using
5728 strcasecmp.
5729
5730 * grp/Makefile: Change Makefiles and tests to run only when necessary.
5731 * malloc/Makefile: Likewise.
5732 * malloc/tst-mtrace.sh: Likewise.
5733 * posix/Makefile: Likewise.
5734 * posix/globtest.sh: Likewise.
5735 * posix/wordexp-tst.sh: Likewise.
5736 * string/Makefile: Likewise.
5737
5738 2000-07-22 Mark Kettenis <kettenis@gnu.org>
5739
5740 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
5741 size instead of LC_ALL to take into account the new locale
5742 categories.
5743
5744 2000-07-22 Ulrich Drepper <drepper@redhat.com>
5745
5746 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
5747 remainders of hash table.
5748 * locale/categories.def: Remove remainders of transliteration
5749 hash table.
5750 * locale/langinfo.h: Likewise.
5751 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
5752 transliteration tables.
5753
5754 * locale/gen-translit.pl: New file.
5755 * locale/C-translit.h.in: New file.
5756 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
5757 data pointers with data from this file.
5758 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
5759 and gen-translit.pl.
5760 Add rule to generate C-translit.h.
5761 * intl/tst-translit.c (main): Update for now performed
5762 transliteration.
5763
5764 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
5765 (it's no input error).
5766 * stdio-common/tstscanf.c: Add test case for format %f with input --.
5767 * stdio-common/scanf12.c: Correct expected result for first scanf.
5768
5769 * stdio-common/vfprintf.c (process_string_arg): Correct handling
5770 of multibyte character strings in %s format with precision.
5771
5772 2000-07-21 Ulrich Drepper <drepper@redhat.com>
5773
5774 * locale/programs/ld-collate.c (collate_read): Allow collating
5775 symbols and elements be named in reorder-after instructions.
5776 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
5777
5778 * locale/programs/ld-collate.c (handle_ellipsis): Test for
5779 duplication with generated name, not the name of the first
5780 character.
5781 Patch by Yong Li <yong.li@asu.edu>.
5782
5783 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
5784 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
5785
5786 2000-07-21 Wolfram Gloger <wg@malloc.de>
5787
5788 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
5789 allocations only if a non-main arena cannot be extended.
5790
5791 2000-07-21 Ulrich Drepper <drepper@redhat.com>
5792
5793 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
5794 in DF_1_NODEFLIB handling.
5795
5796 2000-07-21 Andreas Jaeger <aj@suse.de>
5797
5798 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
5799 own rule.
5800
5801 * libio/fwide.c: Include <wchar.h> for prototype.
5802
5803 2000-07-21 Greg McGary <greg@mcgary.org>
5804
5805 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
5806 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
5807 Define in terms of chunk_at_offset.
5808 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
5809 (next_bin, prev_bin): offset by size of real array elements.
5810 (chunk_align): Make `m' a scalar, since that's how it's used.
5811
5812 2000-07-21 Greg McGary <greg@mcgary.org>
5813
5814 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
5815 UNCHECK_BOUNDS.
5816 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
5817 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
5818 Wrap bounds around argv & envp and each of their string members.
5819 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
5820 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
5821 symbol in BP_SYM (). Discard bounds of address arg.
5822 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
5823 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
5824 Discard bounds on address arg, add bounds to return value.
5825
5826 2000-07-20 Ulrich Drepper <drepper@redhat.com>
5827
5828 * elf/Makefile (tests): Add filter. Add rules to generate filter.
5829 * elf/filter.c: New file.
5830 * elf/filtmod1.c: New file.
5831 * elf/filtmod2.c: New file.
5832
5833 * elf/rtld.c: Define _dl_bind_not variable.
5834 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
5835 * elf/dl-support.c: Likewise.
5836 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
5837 * elf/dl-runtime.c (fixup): Don't remember looked up value if
5838 _dl_bind_not.
5839 (profile_fixup): Likewise.
5840
5841 * libio/Makefile (routines): Add fwide.
5842 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
5843 fwide now. Internal calls to _IO_fwide must do locking themselves
5844 or don't need locking.
5845 * libio/fwide.c: New file.
5846
5847 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
5848
5849 * elf/Makefile: Add no modules for nodelete test.
5850 * elf/nodelmod3.c: New file.
5851 * elf/nodelmod4.c: New file.
5852 * elf/nodelete.c: Also test case where dependency of dlopen() object
5853 is marked nodelete.
5854
5855 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
5856 * elf/nodlopen.c: New file.
5857 * elf/nodlopenmod.c: New file.
5858 * include/dlfcn.h: Define __RTLD_DLOPEN.
5859 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
5860 and this is a dlopen() call, do not load the binary.
5861 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
5862 * dlfcn/dlopenold.c: Likewise.
5863 * configure.in: Add test for -z nodelete option.
5864 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
5865
5866 2000-07-20 Mark Kettenis <kettenis@gnu.org>
5867
5868 Make Hesiod NSS module thread-safe.
5869
5870 * hesiod/README.hesiod: Update.
5871
5872 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
5873 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
5874 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
5875 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
5876 hesiod-proto.
5877 * hesiod/nss_hesiod/hesiod-init.c: New file.
5878 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
5879 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
5880 * hesiod/nss_hesiod/nss_hesiod.h: New file.
5881 * hesiod/nss_hesiod/hesiod-service.c
5882 (_nss_hesiod_getservbyport_r): New function. Provide support for
5883 looking up services by port number.
5884 * hesiod/nss_hesiod/hesiod-proto.c: New file.
5885
5886 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
5887 * hesiod/hesiod.h: Likewise.
5888 * hesiod/hesiod_p.h: Likewise.
5889
5890 2000-07-20 Mark Kettenis <kettenis@gnu.org>
5891
5892 Fix problems with `struct __res_state' getting too big.
5893 * resolv/resolv.h (struct __sockaddr_in): New definition.
5894 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
5895 the private parts of the structure to save some space.
5896 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
5897 (struct sockaddr_in *) in call to sock_eq.
5898 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
5899
5900 2000-07-20 Ulrich Drepper <drepper@redhat.com>
5901
5902 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
5903 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
5904 with nodelete.
5905 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
5906 to _dl_map_object. Return immediately if no object loaded.
5907 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
5908 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
5909 if it exists into l_flags_1 word.
5910 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
5911 it to determine whether loading is wanted or not.
5912 (_dl_map_object): Likewise.
5913 Call _dl_map_object_from_fd with new parameter.
5914 * sysdeps/generic/ldsodefs.h: Update prototype.
5915 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
5916 * elf/rtld.c: Likewise.
5917 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5918 * elf/Makefile (tests): Add noload. Add rules to generate noload.
5919 * elf/noload.c: New file.
5920 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
5921 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
5922 * sysdeps/mips/bits/dlfcn.h: Likewise.
5923 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
5924 (tests-nodelete-yes): Define.
5925 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
5926 Add rules to build nodelete and modules.
5927 * elf/nodelete.c: New file.
5928 * elf/nodelmod1.c: New file.
5929 * elf/nodelmod2.c: New file.
5930 * configure.in: Add test for -z nodelete option.
5931 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
5932
5933 * libio/Makefile (tests): Add tst_wprintf2.
5934 (tst_wprintf2-ARGS): Define.
5935 * libio/tst_wprintf2.c: New file.
5936 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
5937
5938 * libio/wfiledoalloc.c: Only allocate external buffer if this
5939 hasn't happened yet.
5940
5941 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
5942 something in the buffer. gconv call can write up to end of the
5943 buffer, not only _IO_write_end.
5944 (_IO_wfile_overflow): Allocate also external buffer.
5945
5946 2000-07-19 Ulrich Drepper <drepper@redhat.com>
5947
5948 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
5949 strings with precision in vfwprintf correctly.
5950 * stdio-common/vfprintf.c: Fix completely broken handling of
5951 unbuffered wide character streams.
5952 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
5953
5954 * resolv/Makefile (distribute): Add README.
5955
5956 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
5957
5958 2000-07-18 Mark Kettenis <kettenis@gnu.org>
5959
5960 Update resolver code to BIND 8.2.3-T5B.
5961
5962 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
5963 __res_nclose.
5964 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
5965 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
5966 __res_search.
5967 * resolv/Banner: BIND-8.2.3-T5B.
5968
5969 * resolv/base64.c: Update from BIND 8.2.3-T5B.
5970 * resolv/herror.c: Likewise.
5971 * resolv/inet_addr.c: Likewise.
5972 * resolv/inet_net_ntop.c: Likewise.
5973 * resolv/inet_net_pton.c: Likewise.
5974 * resolv/inet_neta.c: Likewise.
5975 * resolv/inet_ntop.c: Likewise.
5976 * resolv/nsap_addr.c: Likewise.
5977 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
5978 IPv6 addresses (ISC bug #520).
5979
5980 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
5981 * resolv/ns_parse.c: Likewise.
5982 * resolv/ns_netint.c: Likewise.
5983 * resolv/ns_samedomain.c: Likewise.
5984 * resolv/ns_ttl.c: Likewise.
5985 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
5986 RCS ID in object file.
5987
5988 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
5989 * resolv/res_mkquery.c: Likewise.
5990 * resolv/res_query.c: Likewise.
5991 * resolv/res_init.c: Likewise.
5992 (res_setoptions): Mark internal.
5993 * resolv/res_send.c: Likewise.
5994 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
5995 by using poll instead.
5996 * resolv/res_comp.c: Likewise.
5997 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
5998 weak alias for __dn_expand.
5999 * resolv/res_data.c: Likewise.
6000 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
6001 in _res.options. Avoids a potential security risk by avoiding a
6002 close (0).
6003 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
6004 res_mkquery, res_query, res_querydomain adn res_search weak
6005 aliases for __res_mkquery, __res_query, __res_querydomain and
6006 __res_search.
6007 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
6008 instead to avoid close(0).
6009 (res_init): Always use the static resolver context.
6010 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
6011 alias for __res_init.
6012
6013 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
6014 RES_SET_H_ERRNO and accompanying comment to...
6015 * include/resolv.h: ... here.
6016
6017 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
6018 * resolv/arpa/nameser_compat.h: Likewise.
6019
6020 2000-07-18 Ulrich Drepper <drepper@redhat.com>
6021
6022 * nss/makedb.c (main): Compare result of load_db with
6023 NSS_STATUS_SUCCESS and not 0.
6024 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
6025
6026 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
6027
6028 2000-07-18 Greg McGary <greg@mcgary.org>
6029
6030 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
6031 (EXTEND_BUFFER): Use it.
6032
6033 2000-07-18 Ulrich Drepper <drepper@redhat.com>
6034
6035 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
6036 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
6037 __builtin_return_address.
6038 * dlfcn/dlopenold.c: Likewise.
6039 * dlfcn/dlsym.c: Likewise.
6040 * dlfcn/dlvsym.c: Likewise.
6041 * elf/dl-profstub.c: Likewise.
6042 * malloc/malloc.c: Likewise.
6043 * sysdeps/generic/machine-gmon.h: Likewise.
6044 Based on a patch by schwidefsky@de.ibm.com.
6045
6046 2000-07-18 Andreas Jaeger <aj@suse.de>
6047
6048 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
6049 NULL to elf_machine_fixup_plt t argument to silence GCC.
6050
6051 * include/string.h: Add prototype for __memchr.
6052
6053 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
6054
6055 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
6056 instead of memrchr.
6057
6058 2000-07-18 Ulrich Drepper <drepper@redhat.com>
6059
6060 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
6061
6062 * locale/C-ctype.c: Add initializers for gap elements.
6063 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
6064 for gap elements.
6065
6066 2000-07-16 Ulrich Drepper <drepper@redhat.com>
6067
6068 * nscd/nscd.c (print_version): Update copyright year.
6069
6070 2000-07-17 Greg McGary <greg@mcgary.org>
6071
6072 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
6073 keyletters F, I, S, W. Remove unused keyletter V. Surround
6074 signature argnames with angle-brackets for use as word delimiters,
6075 and to induce syntax errors for any args not handled. Split
6076 multi-echo echoes and comment each stage.
6077 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
6078 * sysdeps/unix/inet/syscalls.list: Likewise.
6079 * sysdeps/unix/mman/syscalls.list: Likewise.
6080 * sysdeps/unix/syscalls.list: Likewise.
6081 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6082 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6083 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6084 * sysdeps/unix/sysv/syscalls.list: Likewise.
6085 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
6086
6087 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
6088 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
6089 qualifiers. Don't check NULL-terminator of argv & envp.
6090 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
6091 unbounded pointer type in word-size assertion.
6092 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
6093 cases to stifle warnings.
6094
6095 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
6096 _IO_file_attach.
6097 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
6098
6099 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
6100 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
6101 ptr as __unbouned.
6102
6103 * Makerules (o-objects): Supplement with $(o-objects$o).
6104 * string/Makefile (o-objects.ob): Add variable to pull
6105 unbounded versions of memcpy, memset and memchr into libc_b.
6106
6107 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
6108 rather than non-existent __ubp_memchr.
6109 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
6110 (_CHECK_STRING, _CHECK_N): New macros.
6111 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
6112 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
6113 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
6114 Add weak alias "memchr".
6115 * sysdeps/generic/memchr.c: Likewise.
6116 * sysdeps/i386/memchr.S: Likewise.
6117 * sysdeps/ia64/memchr.S: Likewise.
6118 * sysdeps/m68k/memchr.S: Likewise.
6119 * sysdeps/sparc/sparc32/memchr.S: Likewise.
6120 * sysdeps/sparc/sparc64/memchr.S: Likewise.
6121 * sysdeps/vax/memchr.s: Likewise.
6122
6123 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
6124
6125 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
6126 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
6127 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
6128 __BOUNDED_POINTERS__.
6129 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
6130 for __BOUNDED_POINTERS__.
6131
6132 2000-07-17 Bruno Haible <haible@clisp.cons.org>
6133
6134 * iconv/gconv_open.c (__gconv_open): Initialize the __data
6135 field of struct __gconv_trans_data differently. Don't pass NULL to
6136 trans_init_fct. Simplify list append operation.
6137
6138 2000-07-14 Bruno Haible <haible@clisp.cons.org>
6139
6140 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
6141 not only those having tsearch.
6142
6143 2000-07-17 Ulrich Drepper <drepper@redhat.com>
6144
6145 * locale/langinfo.h: Add placeholder values in enum for removed
6146 LC_CTYPE entries.
6147
6148 2000-07-17 Jakub Jelinek <jakub@redhat.com>
6149
6150 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
6151 chain if the PHDR check fails.
6152
6153 2000-07-17 Mark Kettenis <kettenis@gnu.org>
6154
6155 * nss/getent.c (print_hosts): Make sure we always print a space
6156 between numeric addresses and hostnames.
6157
6158 2000-07-17 Wolfram Gloger <wg@malloc.de>
6159
6160 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
6161 i.e. if n_mmaps_max>0.
6162
6163 2000-07-16 Mark Kettenis <kettenis@gnu.org>
6164
6165 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
6166 values to remove possible clash with other AI_* constants.
6167 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
6168 hexadecimal constants to stress the fact they're in fact
6169 bit flags.
6170
6171 2000-07-15 Mark Kettenis <kettenis@gnu.org>
6172
6173 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
6174 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
6175 instead of res_init.
6176
6177 2000-07-16 Ulrich Drepper <drepper@redhat.com>
6178
6179 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
6180 parameters of memset calls to avoid warnings.
6181
6182 2000-07-15 Ulrich Drepper <drepper@redhat.com>
6183
6184 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
6185 necessary.
6186
6187 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
6188 Patch by Greg McGary <greg@mcgary.org>.
6189
6190 * io/Makefile (tests): Add tst-getcwd.
6191 * io/tst-getcwd.c: New file.
6192
6193 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
6194
6195 2000-07-15 Jakub Jelinek <jakub@redhat.com>
6196
6197 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
6198 structure.
6199
6200 2000-07-13 Jakub Jelinek <jakub@redhat.com>
6201
6202 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
6203 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
6204
6205 2000-07-12 H.J. Lu <hjl@gnu.org>
6206
6207 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
6208 GLIBC_2.2.
6209 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
6210 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
6211 (sysdep-routines): Add clone2.
6212 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
6213
6214 2000-07-13 Jes Sorensen <jes@linuxcare.com>
6215
6216 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
6217 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
6218
6219 2000-06-05 David Mosberger <davidm@hpl.hp.com>
6220
6221 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
6222 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
6223 Change type of si_band from "int" to "long".
6224 (si_imm) [USE_GNU]: Define
6225 (si_isr) [USE_GNU]: Likewise.
6226 (ILL_BREAK) [USE_GNU]: Likewise.
6227 (FPE_DECOVF) [USE_GNU]: Likewise.
6228 (FPE_DECDIV) [USE_GNU]: Likewise.
6229 (FPE_DECERR) [USE_GNU]: Likewise.
6230 (FPE_INVASC) [USE_GNU]: Likewise.
6231 (FPE_INVDEC) [USE_GNU]: Likewise.
6232 (TRAP_BRANCH) [USE_GNU]: Likewise.
6233 (TRAP_HWBKPT) [USE_GNU]: Likewise.
6234
6235 2000-07-06 Jes Sorensen <jes@linuxcare.com>
6236
6237 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
6238 bits/sigcontext as struct mcontext does not depend on it.
6239
6240 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
6241
6242 2000-07-04 Jes Sorensen <jes@linuxcare.com>
6243
6244 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
6245
6246 2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
6247
6248 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
6249
6250 2000-06-22 Jes Sorensen <jes@linuxcare.com>
6251
6252 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
6253
6254 2000-07-15 Ulrich Drepper <drepper@redhat.com>
6255
6256 * intl/Makefile (test-srcs): Add tst-translit.
6257 (tests): Likewise.
6258 Add rules to build and run tst-translit.
6259 * intl/tst-translit.c: New file.
6260 * intl/tst-translit.sh: New file.
6261 * intl/translit.po: New file.
6262
6263 2000-07-14 Ulrich Drepper <drepper@redhat.com>
6264
6265 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
6266 transliteration function did its job, continue, don't stop.
6267
6268 * iconvdata/iso646.c: Little optimizations in body for conversion
6269 from UCS4.
6270
6271 2000-07-14 Mark Kettenis <kettenis@gnu.org>
6272
6273 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
6274
6275 2000-07-14 Mark Kettenis <kettenis@gnu.org>
6276
6277 * configure.in: Check for pwd binary.
6278 * config.make.in: Add PWD_P to be subsituted.
6279 * Makerules: Use $(PWD_P) instead of /bin/pwd.
6280
6281 2000-07-14 Ulrich Drepper <drepper@redhat.com>
6282
6283 * iconvdata/Makefile (modules): Add GB18030.
6284 (distribute): Add gb18030.c.
6285 * iconvdata/gconv-modules: Add entries for GB18030 module.
6286 * iconvdata/gb18030.c: New file.
6287 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
6288 and Wu Jian.
6289
6290 2000-07-13 Andreas Jaeger <aj@suse.de>
6291
6292 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
6293 patch.
6294
6295 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
6296 * inet/getnetgrent.c (free_mem): Likewise.
6297 * misc/mntent.c (free_mem): Likewise.
6298 * nss/getXXbyYY.c (free_mem): Likewise.
6299 * nss/getXXent.c (free_mem): Likewise.
6300 * pwd/fgetpwent.c (free_mem): Likewise.
6301 * shadow/fgetspent.c (free_mem): Likewise.
6302
6303 2000-07-14 Ulrich Drepper <drepper@redhat.com>
6304
6305 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
6306 64-bit architecture correctly [PR libc/1794].
6307
6308 2000-07-13 Ulrich Drepper <drepper@redhat.com>
6309
6310 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
6311 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
6312 report that we are out of memory.
6313 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6314 * elf/dl-libc.c (dlerror_run): Likewise.
6315 * elf/dl-open.c (_dl_open): Likewise.
6316 * elf/rtld.c (dl_main): Likewise.
6317 * elf/dl-error.c: Define _dl_out_of_memory.
6318 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
6319 the error string.
6320 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
6321 [PR libc/1813].
6322
6323 * dlfcn/dlerror.c (free_key_mem): Also free error string.
6324
6325 * iconv/loop.c: Fix comment.
6326
6327 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
6328
6329 2000-07-13 Andreas Jaeger <aj@suse.de>
6330
6331 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
6332 getcwd (NULL, size) with size > 0.
6333 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
6334
6335 2000-07-13 Andreas Jaeger <aj@suse.de>
6336
6337 * posix/Makefile: Remove build rules for libposix.
6338
6339 2000-07-13 Andreas Schwab <schwab@suse.de>
6340
6341 * sysdeps/generic/glob.c (glob): Fix memory leak.
6342 [SHELL]: Remove reference to undefined variable `files'.
6343 Fixes PR libc/1782.
6344
6345 2000-07-13 Andreas Jaeger <aj@suse.de>
6346
6347 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
6348 functions.
6349
6350 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
6351 memory if it was allocated.
6352
6353 2000-07-12 Ulrich Drepper <drepper@redhat.com>
6354
6355 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
6356 step.
6357
6358 * iconv/gconv_open.c (__gconv_open): Reapply
6359 2000-07-12 Bruno Haible <haible@clisp.cons.org>
6360
6361 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
6362
6363 * iconv/gconv_open.c: Undo last two changes for now. They break
6364 everything.
6365
6366 2000-07-12 Andreas Jaeger <aj@suse.de>
6367
6368 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
6369 compiler.
6370 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
6371 (CFLAGS-dl-cache.c): Likewise.
6372 (CFLAGS-ldconfig.c): Added, passes directory locations.
6373
6374 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
6375 locate cache.
6376 * elf/ldconfig.c (LD_SO_CONF): Likewise.
6377 (main): Use configured LIBDIR and SLIBDIR.
6378
6379 2000-07-11 Jakub Jelinek <jakub@redhat.com>
6380
6381 * math/bits/cmathcalls.h (cimag): Add __THROW.
6382 (creal, conj): Likewise.
6383 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
6384 by negative value.
6385
6386 2000-07-12 H.J. Lu <hjl@gnu.org>
6387
6388 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
6389 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
6390
6391 2000-07-12 Ulrich Drepper <drepper@redhat.com>
6392
6393 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
6394 it is wrong.
6395
6396 2000-07-12 Bruno Haible <haible@clisp.cons.org>
6397
6398 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
6399
6400 2000-07-12 Bruno Haible <haible@clisp.cons.org>
6401
6402 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
6403 __modname.
6404
6405 2000-07-12 Bruno Haible <haible@clisp.cons.org>
6406
6407 * iconv/gconv_open.c (__gconv_open): Initialize
6408 result->__steps[cnt].__data.
6409
6410 2000-07-12 Mark Kettenis <kettenis@gnu.org>
6411
6412 * nss/getent.c (services_keys): Pass port number in network byte
6413 order in call to getservbyport.
6414
6415 2000-07-11 Andreas Jaeger <aj@suse.de>
6416
6417 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
6418 source dir.
6419 * intl/Makefile (do-gettext-test): Likewise.
6420 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
6421
6422 2000-07-11 Andreas Schwab <schwab@suse.de>
6423
6424 * Makeconfig (run-program-prefix): New rule.
6425 (built-program-cmd): Use run-program-prefix.
6426
6427 2000-07-12 Ulrich Drepper <drepper@redhat.com>
6428
6429 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
6430 and NOEXPR unconditionally available.
6431
6432 2000-07-12 Greg McGary <greg@mcgary.org>
6433
6434 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
6435 * sysdeps/posix/open64.c: Likewise.
6436 * sysdeps/generic/fegetenv.c: Likewise.
6437 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
6438 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
6439 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6440 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
6441 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
6442 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
6443
6444 2000-07-11 Greg McGary <greg@mcgary.org>
6445
6446 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
6447 Add extra level of macro expansion.
6448 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
6449 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
6450 is available at the time `select' prototype is declared.
6451 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
6452 Collect non-versioned weak aliases. Consider only non-versioned
6453 aliases for the user-visible systemcall name. Do checks inline with
6454 call to primitive system call.
6455 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
6456 stand-alone bounds checks to suppress unused value warnings.
6457 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6458
6459 2000-07-10 Mark Kettenis <kettenis@gnu.org>
6460
6461 * sysdeps/mach/hurd/check_fds.c: New file. Implements
6462 file descriptor checking in SUID programs for the Hurd.
6463
6464 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
6465 res_hostalias instead of __hostalias for thread-safety.
6466
6467 2000-07-09 Mark Kettenis <kettenis@gnu.org>
6468
6469 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
6470 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
6471
6472 2000-07-10 Ulrich Drepper <drepper@redhat.com>
6473
6474 * include/features.h: Include ISO C99 features if the compiler used
6475 is an ISO C99 compiler.
6476 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
6477
6478 2000-07-08 Mark Kettenis <kettenis@gnu.org>
6479
6480 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
6481
6482 2000-07-10 Andreas Jaeger <aj@suse.de>
6483
6484 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
6485 it's overridden by libpthreads.
6486 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6487 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6488 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6489 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6490 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6491
6492 * malloc/Makefile: Run tst-mtrace only with shared libs.
6493
6494 * stdio-common/Makefile: Run unbputc and tst-printf tests only
6495 with shared libs.
6496
6497 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
6498
6499 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
6500 that gpreg really points to the GOT section of the calling object.
6501 Scan all PT_LOAD segments of objects for stub_pc, instead of only
6502 checking a start address of first one.
6503 Fix typos.
6504 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
6505 Likewise.
6506
6507 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
6508
6509 2000-07-10 Andreas Jaeger <aj@suse.de>
6510
6511 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
6512 (string_alias->strong_alias).
6513
6514 2000-07-08 Mark Kettenis <kettenis@gnu.org>
6515
6516 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
6517
6518 2000-07-07 Greg McGary <greg@mcgary.org>
6519
6520 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
6521 have no names without leading underscores.
6522
6523 2000-07-07 Ulrich Drepper <drepper@redhat.com>
6524
6525 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
6526 U007E.
6527
6528 * stdio-common/Makefile (tests): Remove tst-printf here...
6529 (tests-srcs): ...and add it here.
6530 (distribute): Add tst-unbputc.sh and tst-printf.sh.
6531 Add rules to run tst-printf.sh.
6532 * stdio-common/tst-printf.c: Move code around so that there is really
6533 no further output where it's stated.
6534 * stdio-common/tst-printf.sh: New file.
6535
6536 2000-07-07 Mark Kettenis <kettenis@gnu.org>
6537
6538 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
6539 (do_write): Renamed from pwrite.
6540 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
6541 `struct _IO_cookie_file'.
6542
6543 2000-07-07 Ulrich Drepper <drepper@redhat.com>
6544
6545 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
6546 detected.
6547 * malloc/tst-mtrace.sh: Run mtrace script.
6548
6549 2000-07-07 Greg McGary <greg@mcgary.org>
6550
6551 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
6552 Move all three components of a bounded pointer.
6553
6554 2000-07-07 Ulrich Drepper <drepper@redhat.com>
6555
6556 * locale/programs/locale.c (write_locales): Don't simply add all
6557 directories found in the subdir, test whether at least the
6558 LC_CTYPE file is in there.
6559
6560 2000-07-06 Ulrich Drepper <drepper@redhat.com>
6561
6562 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
6563 * iconvdata/euc-kr.c: Likewise.
6564
6565 * stdio-common/vfprintf.c (process_string_arg): Check result of
6566 wcrtomb call and bail out if it failed.
6567
6568 * malloc/Makefile (test-srcs): Add tst-mtrace.
6569 (distribute): Add tst-mtrace.sh.
6570 Add rule to run tst-mtrace.sh.
6571 * malloc/tst-mtrace.c: New file.
6572 * malloc/tst-mtrace.sh: New file.
6573
6574 * include/signal.h: Declare __libc_sigaction.
6575 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
6576 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
6577 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6578 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6579 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6580 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6581 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6582
6583 * configure.in: Fix CFLAGS-memprofstat.c definition after
6584 2000-06-19 change.
6585 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
6586
6587 2000-07-06 Jakub Jelinek <jakub@redhat.com>
6588
6589 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
6590 instead of NULL to elf_machine_fixup_plt t argument.
6591 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6592 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
6593 cast.
6594
6595 2000-07-06 Andreas Jaeger <aj@suse.de>
6596
6597 * crypt/Makefile (LDLIBS-cert): Removed.
6598 (LDLIBS-md5c-test): Removed.
6599 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
6600 ($(objpfx)md5c-test): Likewise for md5c-test.out.
6601
6602 2000-07-06 Andreas Jaeger <aj@suse.de>
6603
6604 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
6605 of the proc system is "proc".
6606
6607 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
6608 thread library for static programs.
6609
6610 2000-07-06 Greg McGary <greg@mcgary.org>
6611
6612 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
6613 New macros.
6614 * sysdeps/generic/strcpy.c: Add bounds checks.
6615 * sysdeps/unix/fxstat.c: Likewise.
6616 * sysdeps/unix/xstat.c: Likewise.
6617 * sysdeps/unix/common/lxstat.c: Likewise.
6618 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
6619 * sysdeps/unix/sysv/linux/execve.c: Likewise.
6620 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
6621 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
6622 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6623 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
6624 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
6625 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
6626 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
6627 * sysdeps/unix/sysv/linux/poll.c: Likewise.
6628 * sysdeps/unix/sysv/linux/pread.c: Likewise.
6629 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6630 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
6631 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6632 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6633 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6634 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6635 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
6636 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6637 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
6638 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
6639 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
6640 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6641 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
6642 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
6643 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
6644 * sysdeps/unix/sysv/linux/writev.c: Likewise.
6645 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
6646 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
6647 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
6648 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6649 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
6650 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6651 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6652 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6653 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
6654 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
6655 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
6656 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6657 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6658 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6659 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6660 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6661 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6662 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
6663 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
6664 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6665 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
6666 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
6667 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
6668 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
6669 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
6670 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6671 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6672 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6673 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6674 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
6675 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
6676 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
6677 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
6678 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6679 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
6680 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
6681 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
6682
6683 * string/endian.h (__LONG_LONG_PAIR): New macro.
6684 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
6685 * sysdeps/unix/sysv/linux/pread.c: Likewise.
6686 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6687 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6688 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6689 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
6690 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
6691 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6692 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6693 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6694 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6695 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
6696
6697 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
6698
6699 2000-07-06 Andreas Jaeger <aj@suse.de>
6700
6701 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
6702 Initialize result.
6703
6704 * math/test-fpucw.c: Include <stdio.h> for printf.
6705
6706 2000-07-05 Greg McGary <greg@mcgary.org>
6707
6708 * sysdeps/generic/bp-checks.h: New file.
6709 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
6710 with list of #include files.
6711 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
6712 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
6713 Don't generate BP thunk if `V' appears in signature.
6714 Generate thunks with complete bounds checks.
6715 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
6716 * sysdeps/unix/inet/syscalls.list: Likewise.
6717 * sysdeps/unix/mman/syscalls.list: Likewise.
6718 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6719 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6720 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6721 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
6722
6723 2000-07-05 Ulrich Drepper <drepper@redhat.com>
6724
6725 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
6726 result. Search first in /etc/mtab (proc/mounts would be stupid).
6727 If mount not in the file fall back on /proc.
6728
6729 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
6730 string got copied in.
6731 Patch by Solar Designer <solar@false.com>.
6732
6733 2000-07-05 Andreas Jaeger <aj@suse.de>
6734
6735 * manual/install.texi (Installation): Update information about
6736 add-ons.
6737 (Configuring and compiling): Update for glibc 2.2.
6738
6739 2000-07-04 Andreas Jaeger <aj@suse.de>
6740
6741 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
6742 (_FPU_IEEE): Likewise.
6743
6744 * math/Makefile (tests): Add test-fpucw.
6745
6746 * math/test-fpucw.c (main): New file.
6747
6748 2000-07-05 Ulrich Drepper <drepper@redhat.com>
6749
6750 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
6751
6752 * locale/programs/ld-collate.c (collate_output): Also write out the
6753 collation sequence values and the wide character string for the
6754 collation symbol table.
6755
6756 * posix/fnmatch.c: Include "../locale/elem-hash.h".
6757 * posix/fnmatch_loop.c: Implement collating symbol handling.
6758 * posix/tst-fnmatch.input: Add more tests, especially for collating
6759 symbol handling.
6760
6761 * posix/regex.c: Fix comment.
6762
6763 2000-07-05 Andreas Jaeger <aj@suse.de>
6764
6765 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
6766 (_FPU_GETCW): Remove extra colon.
6767 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
6768
6769 * posix/fnmatch_loop.c (FCT): Only declare len if
6770 !WIDE_CHAR_VERSION to silence GCC.
6771
6772 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
6773 prototype.
6774 * sysdeps/generic/strchrnul.c: Likewise.
6775 * sysdeps/generic/strlen.c: Likewise.
6776 * sysdeps/generic/strchr.c: Likewise.
6777 * sysdeps/generic/memchr.c: Likewise.
6778
6779 2000-07-04 Ulrich Drepper <drepper@redhat.com>
6780
6781 * posix/fnmatch_loop.c: Implement equivalence class handling.
6782 * posix/tst-fnmatch.input: Add tests for equivalence class
6783 handling.
6784
6785 * posix/fnmatch_loop.c: Improve performance for single-byte
6786 character sets by not using btowc.
6787
6788 * posix/tst-fnmatch.input: Add tests for locale dependent
6789 behaviour.
6790 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
6791
6792 * posix/tst-fnmatch.input: Add more test cases.
6793
6794 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
6795 are not aligned to alignof(md5_uint32) do it before calling
6796 __md5_process_bytes.
6797 * crypt/md5.c: Make sure buffers are aligned.
6798 * crypt/md5.h: Likewise.
6799 Reported by Solar Designer <solar@false.com>.
6800
6801 * crypt/Makefile: Add dependencies for test programs.
6802
6803 * Rules: Define LC_ALL=C in environments of all programs we run.
6804
6805 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
6806
6807 2000-07-03 H.J. Lu <hjl@gnu.org>
6808
6809 * locale/programs/ld-ctype.c (ctype_output): The size of iov
6810 is 2 + elem + offset, not 2 + elem + offset + 2.
6811
6812 2000-07-04 Ulrich Drepper <drepper@redhat.com>
6813
6814 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
6815 suite.
6816 * posix/Makefile (tests): Add tst-fnmatch.
6817 (tst-fnmatch-ENV): Define.
6818 * posix/tst-fnmatch.c: New file.
6819 * posix/tst-fnmatch.sh: New file.
6820
6821 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
6822
6823 * locale/programs/charmap.c (charmap_read): Prepend
6824 the condition filename == NULL.
6825
6826 2000-07-03 Greg McGary <greg@mcgary.org>
6827
6828 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
6829
6830 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
6831 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
6832
6833 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
6834 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
6835 (FILEBUF_LITERAL): Add cast for CHAIN init.
6836 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
6837 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
6838 Revert type of `fp' to _IO_FILE*.
6839 (_IO_iter_file): Remove cast.
6840 (_IO_iter_next): Elide intermediate member reference.
6841
6842 * sysdeps/powerpc/strchr.S: Check bounds.
6843 Wrap extern symbols in BP_SYM ().
6844
6845 2000-07-03 Andreas Jaeger <aj@suse.de>
6846
6847 * dlfcn/Makefile (generated): New.
6848
6849 2000-07-03 Ulrich Drepper <drepper@redhat.com>
6850
6851 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
6852 (__uflow): Likewise.
6853 (__underflow): Likewise.
6854 * libio/wgenops.c (__wunderflow): Likewise.
6855 * stdio-common/tst-unbputc.c: New file.
6856 * stdio-common/tst-unbputc.sh: New file.
6857 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
6858
6859 * po/en_GB.po: New file.
6860 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
6861
6862 2000-07-01 Andreas Jaeger <aj@suse.de>
6863
6864 * intl/Makefile (generated-dirs): New.
6865
6866 * elf/Makefile (generated): trusted-dirs.h is always generated,
6867 move out of build-shared condition.
6868 (generated): Merge the two entries for build-shared.
6869
6870 2000-07-01 Ulrich Drepper <drepper@redhat.com>
6871
6872 * debug/Makefile (distribute): Add xtrace.sh.
6873
6874 2000-06-30 Ulrich Drepper <drepper@redhat.com>
6875
6876 * version.h (VERSION): Bump to 2.1.91.
6877
6878 * configure.in: Update warning comment. glibc should not be
6879 broken anymore.
6880
6881 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
6882 ioperm.c, sys/procfs.h, and sys/io.h.
6883
6884 * sysdeps/powerpc/Dist: Add bp-asm.h.
6885
6886 * assert/Depend: Add localedata.
6887 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
6888 (test-assert-perr-ENV): New. Define LANGUAGE=C.
6889
6890 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
6891 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
6892 relocation address to prevent unaligned trap.
6893 Suggested by Richard Henderson <rth@cygnus.com>.
6894
6895 2000-06-30 Jakub Jelinek <jakub@redhat.com>
6896
6897 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
6898 if redirecting and either redirection is done using defines or
6899 not optimizing.
6900
6901 2000-06-30 Ulrich Drepper <drepper@redhat.com>
6902
6903 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
6904 generated expressions.
6905 Patch by Darren McClelland <dmcclell@zetec.com>.
6906
6907 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
6908 since zic uses setlocale and gettext but we cannot make it use the
6909 new locale data since zic calls a shell which might not use the
6910 new libc.
6911
6912 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
6913 handling the internation currency symbol. POSIX says that the
6914 fourth character is used to separate the currency symbol from the
6915 value. Therefore it does not have to be printed. But we cannot
6916 remove the space if the currency symbol is printed before the
6917 number since this is what many locales expect.
6918
6919 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
6920 whether this information is available.
6921
6922 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
6923 buffers in case the translation is too large. Remember allocated
6924 memory blocks in a list.
6925 (free_mem): Free memory for translations.
6926
6927 * intl/tst-gettext.c: Use correct locale. Improve error messages.
6928
6929 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
6930 information is available set the string length to zero.
6931
6932 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
6933
6934 2000-06-30 Greg McGary <greg@mcgary.org>
6935
6936 * sysdeps/powerpc/bp-asm.h: New file.
6937 * sysdeps/powerpc/__longjmp.S: Check bounds.
6938 Wrap extern symbols in BP_SYM ().
6939 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
6940 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
6941 * sysdeps/powerpc/setjmp.S: Likewise.
6942 * sysdeps/powerpc/add_n.S: Likewise.
6943 * sysdeps/powerpc/addmul_1.S: Likewise.
6944 * sysdeps/powerpc/lshift.S: Likewise.
6945 * sysdeps/powerpc/rshift.S: Likewise.
6946 * sysdeps/powerpc/mul_1.S: Likewise.
6947 * sysdeps/powerpc/sub_n.S: Likewise.
6948 * sysdeps/powerpc/submul_1.S: Likewise.
6949 * sysdeps/powerpc/strlen.S: Likewise.
6950 * sysdeps/powerpc/memset.S: Likewise.
6951 * sysdeps/powerpc/stpcpy.S: Likewise.
6952 * sysdeps/powerpc/strcmp.S: Likewise.
6953 * sysdeps/powerpc/strcpy.S: Likewise.
6954 * sysdeps/powerpc/elf/bzero.S: Likewise.
6955
6956 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
6957 Line up operands column with tabs.
6958
6959 2000-06-30 Ulrich Drepper <drepper@redhat.com>
6960
6961 * elf/Makefile (LDFLAGS-origtest): Actually add it.
6962
6963 * sysdeps/ia64/htonl.S: New file.
6964 * sysdeps/ia64/htons.S: New file.
6965 * sysdeps/ia64/memcpy.S: Replace with version which does not use
6966 floating point registers.
6967 Patches by Dan Pop <Dan.Pop@cern.ch>.
6968
6969 2000-06-30 Andreas Jaeger <aj@suse.de>
6970
6971 * posix/Makefile (tests): tst-exec and tst-spawn only work with
6972 shared libraries.
6973
6974 * io/Makefile (CFLAGS-test-lfs.c): New.
6975 (tests): Add test-lfs.
6976
6977 * io/test-lfs.c: New file.
6978
6979 2000-06-30 Jakub Jelinek <jakub@redhat.com>
6980
6981 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
6982 instruction.
6983
6984 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
6985
6986 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
6987
6988 2000-06-29 Jes Sorensen <jes@linuxcare.com>
6989
6990 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
6991 alias to the fstatfs call.
6992
6993 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
6994 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
6995
6996 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
6997 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
6998
6999 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
7000 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
7001 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
7002 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
7003
7004 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
7005 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
7006
7007 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
7008 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
7009
7010 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
7011 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
7012
7013 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
7014
7015 2000-06-29 Andreas Jaeger <aj@suse.de>
7016
7017 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
7018 with syslog.
7019 (print_err_message): Likewise.
7020 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
7021
7022 2000-06-29 Ulrich Drepper <drepper@redhat.com>
7023
7024 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
7025 used as words is properly aligned.
7026
7027 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
7028 data files.
7029
7030 2000-06-29 Greg McGary <greg@mcgary.org>
7031
7032 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
7033 * sysdeps/unix/make-syscalls.sh: Handle signatures of
7034 length 7..9, just in case...
7035 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
7036
7037 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
7038 (POP_ERRNO_LOCATION_RETURN): Fold insns.
7039 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
7040 (PUSH_SIGNAL_MASK): New macro.
7041 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
7042 LEAVE is unnecessary. Check bounds of jmp_buf.
7043 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
7044 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
7045 immediately before tail-call.
7046 * sysdeps/i386/setjmp.S: Likewise.
7047 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7048 * sysdeps/i386/bsd-setjmp.S: Likewise.
7049
7050 2000-06-29 Jakub Jelinek <jakub@redhat.com>
7051
7052 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
7053 versioned_symbol.
7054 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
7055 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
7056 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
7057 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
7058 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
7059 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
7060 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
7061 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
7062
7063 2000-06-29 Ulrich Drepper <drepper@redhat.com>
7064
7065 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
7066 we later need to calling free().
7067 Patch by Matt Wilson <msw@redhat.com>.
7068
7069 * stdio-common/tst-printf.c: Add test for above problem.
7070
7071 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
7072
7073 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
7074 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
7075
7076 2000-06-28 Jes Sorensen <jes@linuxcare.com>
7077
7078 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
7079 prototype for abs().
7080 * sysdeps/ieee754/flt-32/s_exp2f.c: Likewise.
7081
7082 2000-06-23 Andreas Jaeger <aj@suse.de>
7083
7084 * config.h.in: Don't use regparm with bounded pointers.
7085
7086 2000-06-29 Ulrich Drepper <drepper@redhat.com>
7087
7088 * stdlib/grouping.h: Correctly handle multibyte thousands
7089 separator and decimal point.
7090 * stdlib/stdtod.c: Likewise.
7091 * sysdeps/generic/strtol.c: Likewise.
7092
7093 * locale/categories.def: Add entries for wide character decimal point
7094 and thousands separator in numeric and monetary category.
7095
7096 2000-06-28 Ulrich Drepper <drepper@redhat.com>
7097
7098 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
7099 second definition and initialization of decimal.
7100
7101 2000-06-28 Greg McGary <greg@mcgary.org>
7102
7103 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
7104 out.
7105 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
7106 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
7107 in.
7108 (_IO_JUMPS): Don't cast THIS--expect arg to be a
7109 (struct _IO_FILE_plus *).
7110 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
7111 THIS, since _IO_JUMPS no longer does it implicitly.
7112 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
7113 arg type as (struct _IO_FILE_plus *).
7114 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
7115 arg as (_IO_strfile *).
7116 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
7117 Declare 1st arg as (_IO_strfile *).
7118 * libio/fileops.c (_IO_new_file_init): Declare
7119 arg type as (struct _IO_FILE_plus *).
7120 * libio/oldfileops.c (_IO_old_file_init): Likewise.
7121 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
7122 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
7123 Declare iteration pointer as (struct _IO_FILE_plus *).
7124 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
7125 (struct _IO_FILE_plus *).
7126 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
7127 * libio/oldstdfiles.c (_IO_list_all): Likewise.
7128 (_IO_check_libio): Set user-visible handles to
7129 (struct _IO_FILE_plus *).
7130 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
7131 to (struct _IO_FILE_plus *).
7132
7133 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
7134 whose high bound includes vtable to all functions that will use
7135 vtable. For streambufs, pass pointer whose bounds include struct
7136 _IO_strfile.
7137 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
7138 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
7139 * libio/iofopen.c (_IO_new_fopen): Likewise.
7140 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
7141 * libio/iofopen64.c (_IO_fopen64): Likewise.
7142 * libio/iopopen.c (_IO_new_popen): Likewise.
7143 * libio/oldiopopen.c (_IO_old_popen): Likewise.
7144 * libio/memstream.c (open_memstream): Likewise.
7145 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
7146 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
7147 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
7148 * libio/iofopncook.c (_IO_cookie_init): Likewise.
7149 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
7150 * libio/vasprintf.c (_IO_vasprintf): Likewise.
7151 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
7152 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
7153 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
7154 * stdlib/strfmon.c (__strfmon_l): Likewise.
7155 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
7156 (vfprintf): Qualify computed-goto targets as unbounded.
7157
7158 2000-06-28 Ulrich Drepper <drepper@redhat.com>
7159
7160 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
7161 thousands separator correctly.
7162
7163 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
7164 * stdio-common/vfwscanf.c: Likewise.
7165
7166 2000-06-27 Jes Sorensen <jes@linuxcare.com>
7167
7168 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
7169 count into signatures for most calls.
7170
7171 2000-06-28 Ulrich Drepper <drepper@redhat.com>
7172
7173 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
7174 the generic parser now.
7175
7176 2000-06-28 Jes Sorensen <jes@linuxcare.com>
7177
7178 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
7179 table entries are 32 bit on the ia64 (as specified by the ABI),
7180 not 64 bit as on the Alpha.
7181
7182 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
7183 change of objects to use 32 bit hash table indices (see above).
7184
7185 2000-06-28 Jes Sorensen <jes@linuxcare.com>
7186
7187 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
7188 prototype for abs().
7189
7190 2000-06-28 Wolfram Gloger <wg@malloc.de>
7191
7192 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
7193 fails, try mmap_chunk() as a last resort even though n_mmaps_max
7194 may have been reached.
7195
7196 2000-06-28 Ulrich Drepper <drepper@redhat.com>
7197
7198 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
7199 symbols in multi-character weights correctly.
7200
7201 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
7202 depending on whether the input string is empty or not.
7203
7204 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
7205 given state and not avoiding this by modifying a local object.
7206 * wcsmbs/wcrtomb.c: Likewise.
7207
7208 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
7209 object since some incomplete characters might be in there.
7210
7211 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
7212 sequences with first byte 0x8e correctly.
7213
7214 * iconvdata/jis0208.h: Remove redundant test.
7215
7216 2000-06-27 Ulrich Drepper <drepper@redhat.com>
7217
7218 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
7219 Add it where it is needed now.
7220
7221 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
7222 the input charset into account when generating the hash table.
7223 (allocate_arrays): Correct setting default width. Not all empty slots
7224 in the table are filled, only those not covert explicitly by the
7225 locale description and in the charset.
7226
7227 * wctype/towctrans.c (__towctrans): Be graceful and accept error
7228 return values from the wctrans function.
7229
7230 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
7231 wide character version.
7232 For %C handling, test correct pointer variable for NULL.
7233
7234 * wcsmbs/wctob.c: Handle WEOF special.
7235
7236 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
7237
7238 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
7239 always-true test to avoid warning.
7240
7241 2000-06-27 Greg McGary <greg@mcgary.org>
7242
7243 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
7244 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
7245 (symbol_version, default_symbol_version): Factor redundant
7246 definitions out of conditional.
7247
7248 2000-06-27 Jakub Jelinek <jakub@redhat.com>
7249
7250 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
7251 not obstack_blank.
7252
7253 2000-06-26 Ulrich Drepper <drepper@redhat.com>
7254
7255 * include/libc-symbols.h (symbol_version): Add extra level of
7256 macro expansion.
7257 (default_symbol_version): Likewise.
7258
7259 2000-06-26 Greg McGary <greg@mcgary.org>
7260
7261 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
7262 for BP return value & push implicit struct-return pointer to
7263 __errno_location.
7264 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7265 (SYSCALL_ERROR_HANDLER): Likewise.
7266 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
7267 (SYSCALL_ERROR_HANDLER): Likewise.
7268
7269 * Makeconfig: Add missing comment.
7270 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
7271 BP-flavored startup object.
7272 ($(objpfx)b$(start-installed-name)): New rule.
7273 * include/libc-symbols.h (symbol_set_declare): Change type
7274 of `__start_##set' and `__stop_##set' to pointer-to-function.
7275 (symbol_set_declare): Change type of `set' to array of
7276 pointer-to-function.
7277 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
7278 pointer-to-function.
7279
7280 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
7281
7282 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
7283 Remove clock_* and timer_* entries.
7284 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
7285 arg-count with signatures.
7286
7287 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
7288 Check bounds of arguments.
7289 * sysdeps/i386/addmul_1.S: Likewise.
7290 * sysdeps/i386/lshift.S: Likewise.
7291 * sysdeps/i386/mul_1.S: Likewise.
7292 * sysdeps/i386/rshift.S: Likewise.
7293 * sysdeps/i386/sub_n.S: Likewise.
7294 * sysdeps/i386/submul_1.S: Likewise.
7295 * sysdeps/i386/i586/add_n.S: Likewise.
7296 * sysdeps/i386/i586/addmul_1.S: Likewise.
7297 * sysdeps/i386/i586/lshift.S: Likewise.
7298 * sysdeps/i386/i586/rshift.S: Likewise.
7299 * sysdeps/i386/i586/sub_n.S: Likewise.
7300 * sysdeps/i386/i686/add_n.S: Likewise.
7301
7302 * sysdeps/i386/memchr.S: Likewise.
7303 * sysdeps/i386/memcmp.S: Likewise.
7304 * sysdeps/i386/rawmemchr.S: Likewise.
7305 * sysdeps/i386/i586/bzero.S: Likewise.
7306 * sysdeps/i386/i586/memcpy.S: Likewise.
7307 * sysdeps/i386/i586/mempcpy.S: Likewise.
7308 * sysdeps/i386/i586/memset.S: Likewise.
7309 * sysdeps/i386/i686/bzero.S: Likewise.
7310 * sysdeps/i386/i686/memcpy.S: Likewise.
7311 * sysdeps/i386/i686/mempcpy.S: Likewise.
7312 * sysdeps/i386/i686/memset.S: Likewise.
7313
7314 * sysdeps/i386/stpcpy.S: Likewise.
7315 * sysdeps/i386/stpncpy.S: Likewise.
7316 * sysdeps/i386/strchr.S: Likewise.
7317 * sysdeps/i386/strchrnul.S: Likewise.
7318 * sysdeps/i386/strcspn.S: Likewise.
7319 * sysdeps/i386/strpbrk.S: Likewise.
7320 * sysdeps/i386/strrchr.S: Likewise.
7321 * sysdeps/i386/strspn.S: Likewise.
7322 * sysdeps/i386/strtok.S: Likewise.
7323 * sysdeps/i386/strtok_r.S: Likewise.
7324 * sysdeps/i386/i486/strcat.S: Likewise.
7325 * sysdeps/i386/i486/strlen.S: Likewise.
7326 * sysdeps/i386/i586/strchr.S: Likewise.
7327 * sysdeps/i386/i586/strcpy.S: Likewise.
7328 * sysdeps/i386/i586/strlen.S: Likewise.
7329 * sysdeps/i386/i686/strcmp.S: Likewise.
7330 * sysdeps/i386/i686/strtok.S: Likewise.
7331 * sysdeps/i386/i686/strtok_r.S: Likewise.
7332
7333 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
7334 * sysdeps/i386/fpu/fesetenv.c: Likewise.
7335 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
7336 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
7337 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
7338
7339 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
7340 * sysdeps/i386/mul_1.S: Likewise.
7341 * sysdeps/i386/submul_1.S: Likewise.
7342 * sysdeps/i386/i586/add_n.S: Likewise.
7343 * sysdeps/i386/i586/addmul_1.S: Likewise.
7344 * sysdeps/i386/i586/lshift.S: Likewise.
7345 * sysdeps/i386/i586/mul_1.S: Likewise.
7346 * sysdeps/i386/i586/rshift.S: Likewise.
7347 * sysdeps/i386/i586/sub_n.S: Likewise.
7348 * sysdeps/i386/i586/submul_1.S: Likewise.
7349
7350 2000-06-26 Ulrich Drepper <drepper@redhat.com>
7351
7352 * rt/Makefile (librt-routines): Add clock_nanosleep.
7353 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
7354 * sysdeps/generic/clock_nanosleep.c: New file.
7355 * sysdeps/unix/clock_nanosleep.c: New file.
7356 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
7357 * time/time.h: Declare clock_nanosleep.
7358
7359 2000-06-26 Greg McGary <greg@mcgary.org>
7360
7361 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
7362 INSN1, INSN2, TEXT, GLOBL): Remove macros.
7363 (ALIGN): Cleanup surrounding conditionals.
7364
7365 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
7366 Call ENTER/LEAVE macros.
7367 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
7368 * sysdeps/i386/submul_1.S: Likewise.
7369
7370 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
7371 syntax. Define & use symbolic argument stack offsets. Call
7372 ENTER/LEAVE macros.
7373 * sysdeps/i386/i586/mul_1.S: Likewise.
7374 * sysdeps/i386/i586/submul_1.S: Likewise.
7375
7376 2000-06-25 Greg McGary <greg@mcgary.org>
7377
7378 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
7379 not as bcopy.
7380
7381 2000-06-25 Ulrich Drepper <drepper@redhat.com>
7382
7383 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
7384 * iconvdata/gen-8bit-gap.sh: Likewise.
7385 * iconvdata/gen-8bit.sh: Likewise.
7386
7387 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
7388
7389 * locale/programs/ld-collate.c (collate_read): Don't actually read
7390 the copy locale if we are ignoring the content.
7391
7392 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
7393 unknown character.
7394
7395 * locale/programs/ld-collate.c: Correct handling of different
7396 collation sections.
7397 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
7398 as extra parameter from which to copy category information.
7399 Change all callers.
7400 (load_locale): Likewise.
7401 * locale/programs/localedef.h: Update prototypes of add_to_readlist
7402 and load_locale.
7403 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
7404 * locale/programs/locfile.h: Likewise.
7405 * locale/programs/locfile-kw.gperf: Add entry for script.
7406 * locale/programs/locfile-token.h: Add tok_script.
7407
7408 * locale/programs/locale.c: Update copyright year.
7409 * locale/programs/localedef.c: Likewise.
7410
7411 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
7412
7413 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
7414 Jens Moeller <jens.moeller@waii.com>.
7415
7416 2000-06-24 Ulrich Drepper <drepper@redhat.com>
7417
7418 * locale/programs/ld-name.c (name_finish): Add missing format
7419 specifier to test for name_fmt.
7420
7421 * locale/programs/ld-address.c (iso639): Correct length of string
7422 elements.
7423 (iso3166): Likewise.
7424
7425 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
7426
7427 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
7428 Define.
7429
7430 * elf/elf.h (NT_PRFPXREG): Define.
7431
7432 2000-06-23 Ulrich Drepper <drepper@redhat.com>
7433
7434 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
7435 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
7436
7437 2000-06-23 Andreas Schwab <schwab@suse.de>
7438
7439 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
7440 with signatures.
7441
7442 2000-06-23 Andreas Jaeger <aj@suse.de>
7443
7444 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
7445
7446 * io/test-stat.c: Add copyright header, mention Maciej.
7447
7448 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
7449 SYS_mincore, SYS_madvise): Added.
7450
7451 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
7452 execve.
7453
7454 2000-06-22 Ulrich Drepper <drepper@redhat.com>
7455
7456 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
7457 (CFLAGS-tst_putwc.c): New definition.
7458 * libio/tst_getwc.c: New file.
7459 * libio/tst_getwc.input: New file.
7460 * libio/tst_putwc.c: New file.
7461
7462 * include/string.h: Add prototype for __strdup.
7463
7464 2000-06-22 Greg McGary <greg@mcgary.org>
7465
7466 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
7467 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
7468 Fix signatures.
7469
7470 2000-06-23 Jes Sorensen <jes@linuxcare.com>
7471
7472 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
7473
7474 2000-06-22 Jes Sorensen <jes@linuxcare.com>
7475
7476 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
7477
7478 2000-06-22 Jes Sorensen <jes@linuxcare.com>
7479
7480 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
7481 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
7482
7483 2000-06-22 Ulrich Drepper <drepper@redhat.com>
7484
7485 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
7486 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
7487 and __S_TYPEISSHM.
7488 * sysdeps/mach/hurd/bits/stat.h: Likewise.
7489 * sysdeps/unix/bsd/bits/stat.h: Likewise.
7490 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
7491 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7492 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
7493 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
7494 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
7495 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
7496 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7497 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
7498 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
7499 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
7500 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
7501 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
7502 S_TYPEISSHM.
7503
7504 2000-06-22 Andreas Jaeger <aj@suse.de>
7505
7506 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
7507 with signatures.
7508
7509 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
7510
7511 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
7512
7513 2000-06-21 Ulrich Drepper <drepper@redhat.com>
7514
7515 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
7516 ahead.
7517
7518 2000-06-21 Greg McGary <greg@mcgary.org>
7519
7520 * Makerules (elide-routines.*, elide-bp-thunks):
7521 Define unconditionally.
7522
7523 2000-06-21 Jes Sorensen <jes@linuxcare.com>
7524
7525 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
7526
7527 2000-06-21 Andreas Jaeger <aj@suse.de>
7528
7529 * io/Makefile (tests): Add test-stat.
7530 (CFLAGS-test-stat.c): New.
7531
7532 * io/test-stat.c: New file from Maciej W. Rozycki
7533 <macro@ds2.pg.gda.pl>.
7534
7535 2000-06-21 Jes Sorensen <jes@linuxcare.com>
7536
7537 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
7538 in __rlimit_resource to make them match the kernel order.
7539 rlim_t is always 64 bit, use __rlim64_t to declare it
7540 unconditionally.
7541
7542 2000-05-04 Jes Sorensen <jes@linuxcare.com>
7543
7544 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
7545 RLIM_INFINITY before defining it to avoid clash with kernel header
7546
7547 2000-05-03 Jes Sorensen <jes@linuxcare.com>
7548
7549 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
7550
7551 2000-06-21 Ulrich Drepper <drepper@redhat.com>
7552
7553 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
7554
7555 2000-06-21 Andreas Jaeger <aj@suse.de>
7556
7557 * stdio-common/temptest.c: Include <stdlib.h>.
7558 * stdio-common/tst-fileno.c: Likewise.
7559 * stdio-common/scanf4.c: Likewise.
7560 * stdio-common/scanf5.c: Likewise.
7561 * time/clocktest.c: Likewise.
7562 * posix/test-vfork.c: Likewise.
7563 * posix/globtest.c: Likewise.
7564 * io/test-utime.c: Likewise.
7565 * wctype/test_wcfuncs.c: Likewise.
7566 * crypt/cert.c: Likewise.
7567
7568 * stdio-common/tst-printfsz.c: Include <string.h>.
7569 * libio/tst_swscanf.c: Likewise.
7570 * libio/tst_wscanf.c: Likewise.
7571 * posix/runtests.c: Likewise.
7572 * posix/tst-getaddrinfo.c: Likewise.
7573 * posix/wordexp-test.c: Likewise.
7574 * misc/tst-efgcvt.c: Likewise.
7575
7576 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
7577 * nss/test-netdb.c: Likewise.
7578
7579 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
7580 supported kernel for MIPS.
7581
7582 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
7583 * rt/aio_suspend.c: Likewise.
7584
7585 2000-06-20 Ulrich Drepper <drepper@redhat.com>
7586
7587 * math/libm-test.inc: Include <string.h>.
7588
7589 2000-06-20 Jes Sorensen <jes@linuxcare.com>
7590
7591 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
7592
7593 2000-06-20 Jes Sorensen <jes@linuxcare.com>
7594
7595 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
7596 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
7597
7598 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
7599
7600 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
7601
7602 2000-06-20 Jes Sorensen <jes@linuxcare.com>
7603
7604 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
7605
7606 2000-06-20 Ulrich Drepper <drepper@redhat.com>
7607
7608 * locale/programs/ld-collate.c (insert_value): Now take string and
7609 length instead of struct token* parameter. Adjust use of token.
7610 (handle_ellipsis): Likewise.
7611 (collate_read): Allow <Uxxxx> names and transform them into names
7612 to be passed to insert_value and handle_ellipsis.
7613
7614 * locale/programs/ld-ctype.c (uninames): New array with names of
7615 digits in <Uxxxxxxxx> format.
7616 (ctype_finish): Correct search for space character value. Likewise
7617 for default outdigits values.
7618
7619 2000-06-20 Greg McGary <greg@mcgary.org>
7620
7621 * Makerules (objects): Add BP thunks.
7622
7623 2000-06-20 Ulrich Drepper <drepper@redhat.com>
7624
7625 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
7626 in width definitions.
7627
7628 2000-06-20 Andreas Jaeger <aj@suse.de>
7629
7630 * sysdeps/mips/fpu/libm-test-ulps: New file.
7631
7632 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
7633 first.
7634
7635 * sysdeps/mips/fpu/feholdexcpt.c: New file.
7636
7637 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
7638
7639 2000-06-19 Ulrich Drepper <drepper@redhat.com>
7640
7641 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
7642 change in gconv_builtin.h.
7643
7644 * malloc/Makefile: Change all references to memprof into memusage.
7645 * malloc/memprof.c: Rename to...
7646 * malloc/memusage.c: ...this. New file.
7647 * malloc/memprof.sh: Rename to...
7648 * malloc/memusage.sh: ...this. New file.
7649 * malloc/memprofstat.c: Rename to...
7650 * malloc/memusagestat.c: ...this. New file.
7651 * sysdeps/alpha/memprof.h: Rename to..
7652 * sysdeps/alpha/memusage.h: ...this. New file.
7653 * sysdeps/arm/memprof.h: Rename to..
7654 * sysdeps/arm/memusage.h: ...this. New file.
7655 * sysdeps/generic/memprof.h: Rename to..
7656 * sysdeps/generic/memusage.h: ...this. New file.
7657 * sysdeps/i386/memprof.h: Rename to..
7658 * sysdeps/i386/memusage.h: ...this. New file.
7659 * sysdeps/ia64/memprof.h: Rename to..
7660 * sysdeps/ia64/memusage.h: ...this. New file.
7661 * sysdeps/m68k/memprof.h: Rename to..
7662 * sysdeps/m68k/memusage.h: ...this. New file.
7663 * sysdeps/mips/memprof.h: Rename to..
7664 * sysdeps/mips/memusage.h: ...this. New file.
7665 * sysdeps/powerpc/memprof.h: Rename to..
7666 * sysdeps/powerpc/memusage.h: ...this. New file.
7667 * sysdeps/sparc/memprof.h: Rename to..
7668 * sysdeps/sparc/memusage.h: ...this. New file.
7669 * sysdeps/sh/memprof.h: Rename to..
7670 * sysdeps/sh/memusage.h: ...this. New file.
7671
7672 * elf/sprof.c (print_version): Update year.
7673
7674 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
7675 table entry values. Use D_PTR.
7676 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
7677 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
7678
7679 2000-06-20 Jes Sorensen <jes@linuxcare.com>
7680
7681 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
7682 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
7683 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
7684 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
7685
7686 2000-05-05 Jes Sorensen <jes@linuxcare.com>
7687
7688 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
7689
7690 2000-06-16 Jes Sorensen <jes@linuxcare.com>
7691
7692 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
7693 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
7694 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
7695
7696 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
7697
7698 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
7699 kernel change.
7700
7701 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
7702 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
7703 structure.
7704 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
7705 implementation.
7706
7707 2000-06-15 Jes Sorensen <jes@linuxcare.com>
7708
7709 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
7710
7711 2000-06-08 Jes Sorensen <jes@linuxcare.com>
7712
7713 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
7714
7715 2000-06-19 Ulrich Drepper <drepper@redhat.com>
7716
7717 * iconv/gconv_int.h (strict gconv_module): Remove all members
7718 associated with regular expressions. Use a simple string as the
7719 from name.
7720 * iconv/gconv_db.c: Remove code handling regular expressions.
7721 * iconv/gconv_conf.c: Likewise.
7722 * iconv/iconv_prog.c: Likewise.
7723 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
7724
7725 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
7726 General namespace cleanup.
7727 (struct __gconv_trans_data): Add next field.
7728 (struct __gconv_step_data): Make __trans a pointer.
7729 * iconv/gconv_conf.c: Split out code to find gconv directories from
7730 __gconv_read_conf in new functions.
7731 * iconv/gconv_int.h: Define new data structure and declare new
7732 functions for handling of gconv directory list.
7733 * iconv/gconv_open.c: Allow more than one error handling step being
7734 used. Call function to load error handling module if it is none
7735 of the builtin transformations.
7736 * iconv/gconv_close.c: Add code to free transliteration data.
7737 * iconv/gconv_trans.c: Add functions to load and unload modules
7738 implementing transliteration etc.
7739 * iconv/skeleton.c: Call all context functions now that more than
7740 one module is allowed.
7741 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
7742 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
7743 where the full error handling using transliteration is needed.
7744 * iconvdata/8bit-gap.c: Likewise.
7745 * iconvdata/8bit-generic.c: Likewise.
7746 * iconvdata/ansi_x3.110.c: Likewise.
7747 * iconvdata/big5.c: Likewise.
7748 * iconvdata/big5hkscs.c: Likewise.
7749 * iconvdata/euc-cn.c: Likewise.
7750 * iconvdata/euc-jp.c: Likewise.
7751 * iconvdata/euc-kr.c: Likewise.
7752 * iconvdata/euc-tw.c: Likewise.
7753 * iconvdata/gbgbk.c: Likewise.
7754 * iconvdata/gbk.c: Likewise.
7755 * iconvdata/iso-2022-cn.c: Likewise.
7756 * iconvdata/iso-2022-jp.c: Likewise.
7757 * iconvdata/iso-2022-kr.c: Likewise.
7758 * iconvdata/iso646.c: Likewise.
7759 * iconvdata/iso8859-1.c: Likewise.
7760 * iconvdata/iso_6937-2.c: Likewise.
7761 * iconvdata/iso_6937.c: Likewise.
7762 * iconvdata/johab.c: Likewise.
7763 * iconvdata/sjis.c: Likewise.
7764 * iconvdata/t.61.c: Likewise.
7765 * iconvdata/uhc.c: Likewise.
7766 * iconvdata/unicode.c: Likewise.
7767 * iconvdata/utf-16.c: Likewise.
7768 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
7769 structure correctly after last change.
7770 * wcsmbs/btowc.c: Likewise.
7771 * wcsmbs/mbrtowc.c: Likewise.
7772 * wcsmbs/mbsnrtowcs.c: Likewise.
7773 * wcsmbs/mbsrtowcs.c: Likewise.
7774 * wcsmbs/wcrtomb.c: Likewise.
7775 * wcsmbs/wcsnrtombs.c: Likewise.
7776 * wcsmbs/wcsrtombs.c: Likewise.
7777 * wcsmbs/wctob.c: Likewise.
7778
7779 * localedata/Makefile: Set -Wno-format for some files since gcc does
7780 not know all the format specifiers.
7781
7782 2000-06-18 Ulrich Drepper <drepper@redhat.com>
7783
7784 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
7785 unneeded code.
7786 * locale/lc-time.c (_nl_init_era_entries): Likewise.
7787
7788 2000-06-18 Andreas Jaeger <aj@suse.de>
7789
7790 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
7791 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
7792
7793 2000-06-17 Ulrich Drepper <drepper@redhat.com>
7794
7795 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
7796 LINUX_LINK_MAX.
7797 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
7798
7799 * locale/programs/ld-ctype.c (ctype_output): Really write out
7800 mboutdigits information.
7801 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
7802 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
7803 * localedata/tests/trans.def: Add outdigit information.
7804
7805 * localedata/tst-mbswcs3.c: Remove comment.
7806
7807 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
7808 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
7809 * libio/tst_wprintf.c (main): Add test for I flag.
7810
7811 * iconv/gconv_trans.c: Implement handling if translit_ignore.
7812 * locale/langinfo.h: Add entries for translit_ignore information.
7813 * locale/categories.def: Add entries for new LC_CTYPE elements.
7814 * locale/C-ctype.c: Add initializers for new fields. Use NULL
7815 pointer instead of "" where possible.
7816 * locale/programs/ld-ctype.c: Write out translit_ignore information.
7817 * intl/Depend: Add localedata.
7818 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
7819 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
7820
7821 2000-06-16 Ulrich Drepper <drepper@redhat.com>
7822
7823 * locale/langinfo.h: Add entries for default_missing information.
7824 * locale/C-ctype.c: Add initializers for new fields.
7825 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
7826 information.
7827 * locale/categories.h: Add entries for all LC_CTYPE values.
7828 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
7829 information.
7830
7831 * localedata/tst-trans.c: Write out an error message if class is
7832 not found.
7833
7834 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
7835 * iconv/gconv_open.c: Remove error handling specification from `from'
7836 character set name.
7837 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
7838 new parameter to always enable transliteration.
7839 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
7840 change.
7841 (struct locale_data): Add new members use_translit and options.
7842 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
7843 character set name contained modifier TRANSLIT.
7844 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
7845 and options fields.
7846 (_nl_unload_locale): Free options string if necessary.
7847 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
7848 the locale names suggested this.
7849 * locale/C-address.c: Add two new initialilzers to adjust data
7850 structure for new format.
7851 * locale/C-collate.c: Likewise.
7852 * locale/C-ctype.c: Likewise.
7853 * locale/C-identification.c: Likewise.
7854 * locale/C-measurement.c: Likewise.
7855 * locale/C-messages.c: Likewise.
7856 * locale/C-monetary.c: Likewise.
7857 * locale/C-name.c: Likewise.
7858 * locale/C-numeric.c: Likewise.
7859 * locale/C-paper.c: Likewise.
7860 * locale/C-telephone.c: Likewise.
7861 * locale/C-time.c: Likewise.
7862
7863 * locale/setlocale.c: Add some more __builtin_expect.
7864
7865 2000-06-15 Ulrich Drepper <drepper@redhat.com>
7866
7867 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
7868 unsigned char **.
7869 (__gconv_init_fct): Remove two parameters.
7870 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
7871 gconv_transliterate. Remove two parameters.
7872 Change prototypes of builtin functions according to __gconv_fct change.
7873 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
7874 != NULL only during error handling. Stop in this case after the
7875 conversion.
7876 * iconv/gconv_trans.c: Replace with real implementation for
7877 __gconv_transliterate.
7878 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
7879 * iconv/gconv.c: Change calls to downstream functions once again.
7880 Use NULL for the fifth parameter instead of pointer to output buffer.
7881 * libio/iofwide.c: Likewise.
7882 * wcsmbs/btowc.c: Likewise.
7883 * wcsmbs/mbrtowc.c: Likewise.
7884 * wcsmbs/mbsnrtowcs.c: Likewise.
7885 * wcsmbs/mbsrtowcs.c: Likewise.
7886 * wcsmbs/wcrtomb.c: Likewise.
7887 * wcsmbs/wcsnrtombs.c: Likewise.
7888 * wcsmbs/wcsrtombs.c: Likewise.
7889 * wcsmbs/wctob.c: Likewise.
7890 * iconv/gconv_simple.c: Remove two parameters from error handling
7891 function call.
7892 * iconvdata/8bit-gap.c: Likewise.
7893 * iconvdata/8bit-generic.c: Likewise.
7894 * iconvdata/ansi_x3.110.c: Likewise.
7895 * iconvdata/big5.c: Likewise.
7896 * iconvdata/big5hkscs.c: Likewise.
7897 * iconvdata/euc-cn.c: Likewise.
7898 * iconvdata/euc-jp.c: Likewise.
7899 * iconvdata/euc-kr.c: Likewise.
7900 * iconvdata/euc-tw.c: Likewise.
7901 * iconvdata/gbgbk.c: Likewise.
7902 * iconvdata/gbk.c: Likewise.
7903 * iconvdata/iso-2022-cn.c: Likewise.
7904 * iconvdata/iso-2022-jp.c: Likewise.
7905 * iconvdata/iso-2022-kr.c: Likewise.
7906 * iconvdata/iso646.c: Likewise.
7907 * iconvdata/iso8859-1.c: Likewise.
7908 * iconvdata/iso_6937-2.c: Likewise.
7909 * iconvdata/iso_6937.c: Likewise.
7910 * iconvdata/johab.c: Likewise.
7911 * iconvdata/sjis.c: Likewise.
7912 * iconvdata/t.61.c: Likewise.
7913 * iconvdata/uhc.c: Likewise.
7914 * iconvdata/unicode.c: Likewise.
7915 * iconvdata/utf-16.c: Likewise.
7916
7917 2000-06-15 Greg McGary <greg@mcgary.org>
7918
7919 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
7920 of callnum assignment. Tolerate callnum expressions containing
7921 parens.
7922
7923 2000-06-14 Ulrich Drepper <drepper@redhat.com>
7924
7925 * login/Makefile (utmpd): Remove rule to build utmpd.
7926
7927 * csu/Versions: Move libgcc frame handling functions from here...
7928 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
7929 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
7930 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
7931 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
7932 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
7933 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
7934 New file.
7935 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
7936
7937 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
7938
7939 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
7940
7941 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
7942
7943 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
7944 compatibility.
7945 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
7946 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
7947 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
7948 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
7949
7950 2000-06-14 Jakub Jelinek <jakub@redhat.com>
7951
7952 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
7953 defined, terminate quotes and read them after the comment char.
7954 * configure.in (HAVE_SECTION_QUOTES): Test whether
7955 __attribute__((section ("x"))) puts quotes around x or not.
7956 * config.h.in (HAVE_SECTION_QUOTES): Add.
7957 * configure: Rebuilt.
7958
7959 2000-06-14 Andreas Jaeger <aj@suse.de>
7960
7961 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
7962 depending on the configure option --sysconfdir.
7963 Closes PR libc/1762.
7964 Patch by Andreas Schwab <schwab@suse.de>.
7965
7966 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
7967 entry point.
7968 Reported by Jim Pick <jim@jimpick.com>.
7969
7970 2000-06-14 Ulrich Drepper <drepper@redhat.com>
7971
7972 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
7973 crashing the application. Emit some simple error message.
7974 Reported by mju@panasas.com [PR libc/1769].
7975
7976 2000-06-13 Ulrich Drepper <drepper@redhat.com>
7977
7978 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
7979
7980 * crypt/Makefile (distribute): Add md5.h.
7981
7982 * Makefile (distribute): Add include/shlib-compat.h.
7983
7984 * Make-dist: Search for tests also in sysdeps hierachy.
7985
7986 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
7987 ufc.c, speeds.c, README.ufc-crypt, and Banner.
7988
7989 * sysdeps/sparc/Subdirs: New file.
7990
7991 * locale/Makefile (distribute): Add weightwc.h and
7992 programs/localedef.h.
7993
7994 * time/Makefile (distribute): Add datemsk.
7995
7996 * sysdeps/ia64/Dist: Add softpipe.h.
7997
7998 * sysdeps/unix/sysv/aix/Dist: New file.
7999
8000 * posix/setpgrp.c: Moved to...
8001 * sysdeps/generic/setpgrp.c: ...here. New file.
8002 * io/mknod.c: Moved to...
8003 * sysdeps/generic/mknod.c: ...here. New file.
8004
8005 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
8006
8007 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
8008
8009 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
8010
8011 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
8012 gprsave0.S, gprrest1.S, and gprrest0.S.
8013
8014 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
8015
8016 * posix/Makefile (routines): Add spawnattr_getsigmask,
8017 spawnattr_getschedpolicy, spawnattr_getschedparam,
8018 spawnattr_setsigmask, spawnattr_setschedpolicy, and
8019 spawnattr_setschedparam.
8020 * posix/Versions: Add posix_spawnattr_getschedpolicy,
8021 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
8022 posix_spawnattr_setschedparam.
8023
8024 * posix/spawnattr_setschedparam.c: Fix typo.
8025
8026 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
8027 Correct typo.
8028
8029 * login/programs/utmpd.c: Removed.
8030 * login/programs/utmpd.h: Removed.
8031 * login/programs/utmpd-private.h: Removed.
8032
8033 * Makefile (distribute): Add include/db_185.h and include/db.h.
8034
8035 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
8036 iso-ir-165.h.
8037
8038 * elf/Makefile (distribute): Add missing files.
8039
8040 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
8041 * elf/eval.c: Moved to...
8042 * dlfcn/eval.c: ...here. New file.
8043
8044 * Makefile (distribute): Also distribute ChangeLog.1?.
8045
8046 * Make-dist (+tsrcs): Remove .args handling here as well.
8047
8048 * rt/Makefile (tests): Add tst-timer.
8049 * sysdeps/generic/tst-timer.c: New file.
8050
8051 * Makerules (sources): Don't add BP sources here.
8052
8053 * login/Makefile (distribute): Remove xtmp.h.
8054
8055 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
8056 is true. Reported by Bruno Haible <haible@ilog.fr>.
8057
8058 2000-06-13 Andreas Jaeger <aj@suse.de>
8059
8060 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
8061 Patch by Ralf Baechle <ralf@gnu.org>.
8062
8063 2000-06-13 Ulrich Drepper <drepper@redhat.com>
8064
8065 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
8066 for mincore syscall.
8067
8068 * misc/sys/cdefs.h: Define __bounded and __unbounded if
8069 __BOUNDED_POINTERS__ is not defined.
8070
8071 2000-06-07 Greg McGary <greg@mcgary.org>
8072
8073 * sysdeps/generic/bp-sym.h: New file.
8074 * sysdeps/generic/bp-start.h: New file.
8075 * sysdeps/i386/elf/start.S: Designate BP symbols.
8076 * sysdeps/generic/libc-start.c: Wrap bounds around
8077 argv & envp and each of their string members.
8078
8079 2000-06-07 Greg McGary <greg@mcgary.org>
8080
8081 * sysdeps/unix/make-syscalls.sh: Add comments to
8082 output that aid debugging & comprehension.
8083 Map simple syscall signatures to number of args.
8084 Generate BP syscall thunk definitions.
8085 * sysdeps/generic/bp-thunks.h: New file.
8086 * sysdeps/unix/syscalls.list: Replace arg-count with
8087 simple return+arg signature.
8088 * sysdeps/unix/common/syscalls.list: Likewise.
8089 * sysdeps/unix/inet/syscalls.list: Likewise.
8090 * sysdeps/unix/mman/syscalls.list: Likewise.
8091 * sysdeps/unix/sysv/syscalls.list: Likewise.
8092 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8093 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
8094
8095 2000-06-07 Greg McGary <greg@mcgary.org>
8096
8097 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
8098 for all files *.[cS].
8099 (CFLAGS-.ob): Don't optimize sibling calls.
8100 (bppfx): New variable.
8101 * Makerules (elide-bp-thunks): New variable.
8102 (elide-routines.*): Elide BP-* files for all but *.ob.
8103 (sources): Include bp-thunks.
8104
8105 2000-06-12 Ulrich Drepper <drepper@redhat.com>
8106
8107 * iconv/gconv_simple.c: Remove unnecessary prototype.
8108
8109 * iconv/gconv_trans.c: Pretty print.
8110
8111 * elf/elf.h (R_SH_NUM): Got accidently dropped.
8112
8113 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
8114 minimal kernel versions. Add information about IA-64 kernel.
8115
8116 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
8117 specific minimal supported kernel versions to be specified.
8118
8119 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
8120 step data structure.
8121 * wcsmbs/btowc.c: Likewise.
8122 * wcsmbs/mbrtowc.c: Likewise.
8123 * wcsmbs/mbsnrtowcs.c: Likewise.
8124 * wcsmbs/mbsrtowcs.c: Likewise.
8125 * wcsmbs/wcrtomb.c: Likewise.
8126 * wcsmbs/wcsnrtombs.c: Likewise.
8127 * wcsmbs/wcsrtombs.c: Likewise.
8128 * wcsmbs/wctob.c: Likewise.
8129
8130 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
8131 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
8132
8133 * shlib-versions: Earliest backward compatible version for SH is 2.2.
8134
8135 * misc/sys/cdefs.h: Remove one more __P.
8136
8137 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
8138 Reported by HJ Lu.
8139
8140 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
8141 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
8142 * sysdeps/sh/bits/setjmp.h: ...here. New file.
8143
8144 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
8145 Yutaka Niibe <gniibe@chroot.org>
8146
8147 * configure.in: Add machine sh3, sh4.
8148 * elf/elf.h: Add SH specific declarations of relocations.
8149 * shlib-versions: Add sh*-*-linux* cases.
8150
8151 2000-06-12 Ulrich Drepper <drepper@redhat.com>
8152
8153 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
8154 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
8155 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
8156 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
8157 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
8158 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
8159
8160 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
8161 instead of KERNEL_MATH_EMULATION.
8162 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
8163 KERNEL_MATH_EMULATION.
8164
8165 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
8166 * sysdeps/sh/sh3/dl-machine.h: Moved to...
8167 * sysdeps/sh/dl-machine.h: ...here. New file.
8168 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
8169 and include generic SH version.
8170 * sysdeps/sh/sh3/bits/endian.h: Move to...
8171 * sysdeps/sh/bits/endian.h: ...here. New file.
8172 * sysdeps/sh/sh4/bits/endian.h: Removed.
8173 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
8174 * sysdeps/sh/bits/huge_val.h: ...here. New file.
8175 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
8176
8177 * include/libc-symbols.h (link_warning): Work around a change in
8178 GAS which warns about changing section attributes.
8179 Proposed by Nick Clifton <nickc@redhat.com>.
8180
8181 2000-06-12 H.J. Lu <hjl@gnu.org>
8182
8183 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
8184
8185 2000-06-11 H.J. Lu <hjl@gnu.org>
8186
8187 * sysdeps/i386/fpu/Versions: New file.
8188
8189 2000-06-12 Ulrich Drepper <drepper@redhat.com>
8190
8191 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
8192 parameters.
8193 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
8194 exists.
8195
8196 2000-06-12 Jes Sorensen <jes@linuxcare.com>
8197
8198 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
8199 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
8200 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
8201
8202 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
8203 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
8204 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
8205
8206 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
8207 Yutaka Niibe <gniibe@chroot.org>
8208
8209 * sysdeps/sh/Dist: New file.
8210 * sysdeps/sh/Implies: New file.
8211 * sysdeps/sh/elf/initfini.c: New file.
8212 * sysdeps/sh/gmp-mparam.h: New file.
8213 * sysdeps/sh/init-first.c: New file.
8214 * sysdeps/sh/machine-gmon.h: New file.
8215 * sysdeps/sh/memcpy.S: New file.
8216 * sysdeps/sh/memprof.h: New file.
8217 * sysdeps/sh/memset.S: New file.
8218 * sysdeps/sh/sh3/__longjmp.S: New file.
8219 * sysdeps/sh/sh3/bits/endian.h: New file.
8220 * sysdeps/sh/sh3/bits/huge_val.h: New file.
8221 * sysdeps/sh/sh3/bits/setjmp.h: New file.
8222 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
8223 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
8224 * sysdeps/sh/sh3/dl-machine.h: New file.
8225 * sysdeps/sh/sh3/setjmp.S: New file.
8226 * sysdeps/sh/sh4/__longjmp.S: New file.
8227 * sysdeps/sh/sh4/bits/endian.h: New file.
8228 * sysdeps/sh/sh4/bits/huge_val.h: New file.
8229 * sysdeps/sh/sh4/bits/setjmp.h: New file.
8230 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
8231 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
8232 * sysdeps/sh/sh4/dl-machine.h: New file.
8233 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
8234 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
8235 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
8236 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
8237 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
8238 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
8239 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
8240 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
8241 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
8242 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
8243 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
8244 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
8245 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
8246 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
8247 * sysdeps/sh/sh4/setjmp.S: New file.
8248 * sysdeps/sh/elf/start.S: New file.
8249 * sysdeps/sh/sys/ucontext.h: New file.
8250 * sysdeps/sh/strlen.S: New file.
8251 * sysdeps/sh/sysdep.h: New file.
8252 * sysdeps/unix/sh/sysdep.S: New file.
8253 * sysdeps/unix/sh/sysdep.h: New file.
8254 * sysdeps/unix/sysv/linux/sh/Dist: New file.
8255 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
8256 * sysdeps/unix/sysv/linux/sh/Versions: New file.
8257 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
8258 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
8259 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
8260 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
8261 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
8262 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
8263 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
8264 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
8265 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
8266 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
8267 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
8268 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
8269 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
8270 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
8271 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
8272 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
8273 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
8274 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
8275 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
8276 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
8277 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
8278 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
8279 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
8280 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
8281 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
8282 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
8283 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
8284 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
8285 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
8286 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
8287 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
8288 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
8289 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
8290 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
8291 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
8292 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
8293 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
8294 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
8295 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
8296 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
8297 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
8298 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
8299 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
8300 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
8301 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
8302 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
8303 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
8304
8305 2000-06-12 Ulrich Drepper <drepper@redhat.com>
8306
8307 * Rules (%.out): Define GCONV_PATH in the environment.
8308 * assert/Depend: New file.
8309 * iconvdata/Depend: New file.
8310 * intl/Depend: New file.
8311 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
8312 * intl/tst-gettext.sh: Likewise.
8313 * iconv/Makefile (routines): Add gconv_trans.
8314 * iconv/gconv_trans.c: New file.
8315 * iconv/gconv.h (struct __gconv_trans_data): New type.
8316 (__gconv_fct): New parameter with starting position in output buffer.
8317 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
8318 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
8319 (struct __gconv_step): Add new member __trans.
8320 * iconv/gconv_int.h: Pretty print prototypes.
8321 (gconv_transliterate): New prototype.
8322 (__BUILTIN_TRANS): Update for new conversion function interface.
8323 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
8324 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
8325 in names, find appropriate function, and install in the conversion
8326 steps it can be used.
8327 * iconv/skeleton.c: Add additional parameter for beginning of output
8328 buffer. Change calls of downstream functions.
8329 * iconv/loop.c: Change loop function interface completely. Pass in
8330 step and step_data structure. Remove optimization for BODY with
8331 NEED_LENGTH_TEST == 0.
8332 * iconv/gconv_simple.c: Update interfaces of functions. Insert
8333 appropriate error handling code to use transliteration steps. Remove
8334 optimization for BODY with NEED_LENGTH_TEST == 0.
8335 * iconvdata/8bit-gap.c: Likewise.
8336 * iconvdata/8bit-generic.c: Likewise.
8337 * iconvdata/ansi_x3.110.c: Likewise.
8338 * iconvdata/big5.c: Likewise.
8339 * iconvdata/big5hkscs.c: Likewise.
8340 * iconvdata/euc-cn.c: Likewise.
8341 * iconvdata/euc-jp.c: Likewise.
8342 * iconvdata/euc-kr.c: Likewise.
8343 * iconvdata/euc-tw.c: Likewise.
8344 * iconvdata/gbgbk.c: Likewise.
8345 * iconvdata/gbk.c: Likewise.
8346 * iconvdata/iso-2022-cn.c: Likewise.
8347 * iconvdata/iso-2022-jp.c: Likewise.
8348 * iconvdata/iso-2022-kr.c: Likewise.
8349 * iconvdata/iso646.c: Likewise.
8350 * iconvdata/iso8859-1.c: Likewise.
8351 * iconvdata/iso_6937-2.c: Likewise.
8352 * iconvdata/iso_6937.c: Likewise.
8353 * iconvdata/johab.c: Likewise.
8354 * iconvdata/sjis.c: Likewise.
8355 * iconvdata/t.61.c: Likewise.
8356 * iconvdata/uhc.c: Likewise.
8357 * iconvdata/unicode.c: Likewise.
8358 * iconvdata/utf-16.c: Likewise.
8359 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
8360 DL_CALL_FCT.
8361 * wcsmbs/btowc.c: Likewise.
8362 * wcsmbs/mbrtowc.c: Likewise.
8363 * wcsmbs/mbsnrtowcs.c: Likewise.
8364 * wcsmbs/mbsrtowcs.c: Likewise.
8365 * wcsmbs/wcrtomb.c: Likewise.
8366 * wcsmbs/wcsnrtombs.c: Likewise.
8367 * wcsmbs/wcsrtombs.c: Likewise.
8368 * wcsmbs/wctob.c: Likewise.
8369
8370 2000-04-11 Geoff Keating <geoffk@cygnus.com>
8371
8372 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
8373 other header files. Mention about 128-byte cache line sizes.
8374 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
8375 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
8376 for current calling sequence.
8377 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
8378
8379 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
8380 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8381
8382 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
8383 and setrlimit syscalls for backwards compatibility.
8384
8385 2000-06-10 Ulrich Drepper <drepper@redhat.com>
8386
8387 * iconv/skeleton.c: Rename converted written to correcter name
8388 irreversible.
8389 * iconv/gconv.c: Rename converted variable to correcter name
8390 irreversible.
8391 * iconv/gconv_int.h: Likewise.
8392 * iconv/gconv_simple.c: Likewise.
8393 * iconv/iconv.c: Likewise.
8394 * iconv/loop.c: Likewise.
8395 * iconvdata/8bit-gap.c: Likewise.
8396 * iconvdata/8bit-generic.c: Likewise.
8397 * iconvdata/ansi_x3.110.c: Likewise.
8398 * iconvdata/big5.c: Likewise.
8399 * iconvdata/big5hkscs.c: Likewise.
8400 * iconvdata/euc-cn.c: Likewise.
8401 * iconvdata/euc-jp.c: Likewise.
8402 * iconvdata/euc-kr.c: Likewise.
8403 * iconvdata/gbgbk.c: Likewise.
8404 * iconvdata/gbk.c: Likewise.
8405 * iconvdata/iso-2022-cn.c: Likewise.
8406 * iconvdata/iso-2022-jp.c: Likewise.
8407 * iconvdata/iso-2022-kr.c: Likewise.
8408 * iconvdata/iso646.c: Likewise.
8409 * iconvdata/iso8859-1.c: Likewise.
8410 * iconvdata/iso_6937-2.c: Likewise.
8411 * iconvdata/iso_6937.c: Likewise.
8412 * iconvdata/johab.c: Likewise.
8413 * iconvdata/sjis.c: Likewise.
8414 * iconvdata/t.61.c: Likewise.
8415 * iconvdata/uhc.c: Likewise.
8416 * iconvdata/unicode.c: Likewise.
8417 * iconvdata/utf-16.c: Likewise.
8418
8419 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
8420 __cmsg_data field with __extension__.
8421
8422 2000-06-10 David Mosberger <davidm@hpl.hp.com>
8423
8424 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
8425
8426 2000-06-10 Ulrich Drepper <drepper@redhat.com>
8427
8428 * iconv/gconv_simple.c: Fix various small bugs in several
8429 functions.
8430
8431 * iconv/loop.c: Fix comment.
8432
8433 2000-06-10 Jakub Jelinek <jakub@redhat.com>
8434
8435 * elf/link.h: Remove libc internal declarations.
8436 * include/link.h: Move them here.
8437
8438 2000-06-09 Ulrich Drepper <drepper@redhat.com>
8439
8440 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
8441 Patch by Dan Pop <Dan.Pop@cern.ch>.
8442
8443 Rewrite error message handling.
8444 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
8445 _dl_catch_error.
8446 * elf/dl-error (struct catch): Add objname member.
8447 (_dl_signal_error): Take new parameter with object name. When
8448 passing message on simply store object name and duplicate error
8449 message.
8450 (_dl_catch_error): Take new parameter. Store object name in the
8451 place pointed to.
8452 * include/dlfcn.h: Adjust _dl_catch_error prototype.
8453 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
8454 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
8455 (dlerror): Add objname to asprintf() parameters.
8456 (_dl_error_run): Pass new parameter to _dl_catch_error.
8457 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
8458 * elf/dl-open.c (_dl_open): Likewise.
8459 * elf/rtld.c (dl_main): Likewise.
8460 * elf/dl-close.c: Mark error messages with N_().
8461 * elf/dl-deps.c: Likewise.
8462 * elf/dl-error.c: Likewise.
8463 * elf/dl-load.c: Likewise.
8464 * elf/dl-open.c: Likewise.
8465 * elf/dl-reloc.c: Likewise.
8466 * elf/dl-support.c: Likewise.
8467 * elf/dl-sym.c: Likewise.
8468 * elf/dl-version.c: Likewise.
8469 * elf/dl-lookup.c: Add comments about problems with error message
8470 translations.
8471 * elf/dl-reloc.c: Likewise.
8472 * elf/dl-version.c: Likewise.
8473
8474 2000-06-09 H.J. Lu <hjl@gnu.org>
8475
8476 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
8477 after freeing it.
8478
8479 * dlfcn/Makefile (distribute): Add failtestmod.c.
8480 (tests): Add failtest.
8481 Add rules to build and run failtest.
8482 * dlfcn/failtest.c: New file.
8483 * dlfcn/failtestmod.c: New file.
8484
8485 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
8486
8487 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
8488 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
8489 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
8490 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
8491 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
8492
8493 2000-06-09 Jes Sorensen <jes@linuxcare.com>
8494
8495 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
8496 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
8497
8498 2000-06-09 Jes Sorensen <jes@linuxcare.com>
8499 Ulrich Drepper <drepper@redhat.com>
8500
8501 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
8502 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
8503 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
8504 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
8505 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
8506 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
8507
8508 2000-06-09 Ulrich Drepper <drepper@redhat.com>
8509
8510 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
8511 to find correct mount point despite wrong information from the
8512 kernel.
8513
8514 2000-06-09 Jes Sorensen <jes@linuxcare.com>
8515
8516 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
8517 the address of a symbol so function pointers are handled properly.
8518
8519 2000-06-08 Ulrich Drepper <drepper@redhat.com>
8520
8521 * sysdeps/i386/Dist: Add bp-asm.h.
8522
8523 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
8524 defaultdir variable instead of "/var/shm" everywhere.
8525 (defaultdir): Change to /dev/shm/.
8526
8527 2000-06-08 Greg McGary <greg@mcgary.org>
8528
8529 * sysdeps/i386/bp-asm.h: New file.
8530 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
8531 offsets. Add ENTER/LEAVE macros for optionally maintaining
8532 frame-pointer chain when debugging.
8533 * sysdeps/i386/add_n.S: Likewise.
8534 * sysdeps/i386/addmul_1.S: Likewise.
8535 * sysdeps/i386/lshift.S: Likewise.
8536 * sysdeps/i386/memchr.S: Likewise.
8537 * sysdeps/i386/memcmp.S: Likewise.
8538 * sysdeps/i386/mul_1.S: Likewise.
8539 * sysdeps/i386/rawmemchr.S: Likewise.
8540 * sysdeps/i386/rshift.S: Likewise.
8541 * sysdeps/i386/stpcpy.S: Likewise.
8542 * sysdeps/i386/stpncpy.S: Likewise.
8543 * sysdeps/i386/strchr.S: Likewise.
8544 * sysdeps/i386/strchrnul.S: Likewise.
8545 * sysdeps/i386/strcspn.S: Likewise.
8546 * sysdeps/i386/strpbrk.S: Likewise.
8547 * sysdeps/i386/strrchr.S: Likewise.
8548 * sysdeps/i386/strspn.S: Likewise.
8549 * sysdeps/i386/strtok.S: Likewise.
8550 * sysdeps/i386/sub_n.S: Likewise.
8551 * sysdeps/i386/submul_1.S: Likewise.
8552 * sysdeps/i386/elf/setjmp.S: Likewise.
8553 * sysdeps/i386/i486/strcat.S: Likewise.
8554 * sysdeps/i386/i486/strlen.S: Likewise.
8555 * sysdeps/i386/i586/add_n.S: Likewise.
8556 * sysdeps/i386/i586/lshift.S: Likewise.
8557 * sysdeps/i386/i586/memcpy.S: Likewise.
8558 * sysdeps/i386/i586/memset.S: Likewise.
8559 * sysdeps/i386/i586/rshift.S: Likewise.
8560 * sysdeps/i386/i586/strchr.S: Likewise.
8561 * sysdeps/i386/i586/strcpy.S: Likewise.
8562 * sysdeps/i386/i586/strlen.S: Likewise.
8563 * sysdeps/i386/i586/sub_n.S: Likewise.
8564 * sysdeps/i386/i686/add_n.S: Likewise.
8565 * sysdeps/i386/i686/memcpy.S: Likewise.
8566 * sysdeps/i386/i686/mempcpy.S: Likewise.
8567 * sysdeps/i386/i686/memset.S: Likewise.
8568 * sysdeps/i386/i686/strcmp.S: Likewise.
8569
8570 2000-06-08 Ulrich Drepper <drepper@redhat.com>
8571
8572 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
8573
8574 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
8575 256 and don't use OPEN_MAX.
8576
8577 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
8578 use it instead of LINK_MAX.
8579 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
8580
8581 2000-06-08 Andreas Jaeger <aj@suse.de>
8582
8583 * libio/genops.c (_IO_list_lock): Only compile body if we're
8584 thread safe.
8585 (_IO_list_unlock): Likewise.
8586 (_IO_list_resetlock): Likewise.
8587
8588 2000-06-07 Ulrich Drepper <drepper@redhat.com>
8589
8590 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
8591 unless user defined it.
8592
8593 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
8594 if not defined by the user.
8595
8596 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
8597 * libio/iofwrite.c (_IO_fwrite): Likewise.
8598
8599 * time/time.h: Add missing __THROW for clock_getcpuclockid
8600 prototype.
8601
8602 * elf/Makefile (distribute): Add dl-dtprocnum.h.
8603 * include/elf.h: Include also <dl-dtprocnum.h>.
8604 * elf/dl-deps.c: Likewise.
8605 * elf/dl-lookup.c: Likewise.
8606 * elf/dl-runtime.c: Likewise.
8607 * elf/dl-version.c: Likewise.
8608 * elf/do-rel.h: Likewise.
8609 * elf/dynamic-link.h: Likewise.
8610 * elf/link.h: Likewise.
8611 * elf/rtld.c: Likewise.
8612 * sysdeps/generic/dl-dtprocnum.h: New file.
8613 * sysdeps/ia64/dl-dtprocnum.h: New file.
8614 * sysdeps/mips/dl-dtprocnum.h: New file.
8615 * sysdeps/sparc/dl-dtprocnum.h: New file.
8616
8617 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
8618
8619 * elf/do-lookup.h: Add some __builtin_expect.
8620
8621 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
8622
8623 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
8624 (_dl_dynamic_weak): New variable.
8625 * elf/dl-support.c: Likewise.
8626 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
8627 * elf/do-lookup.h: If we find a weak definition treat it like a
8628 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
8629 case treat it like before.
8630
8631 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
8632 is in main program.
8633 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
8634
8635 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
8636 using l_map_start and l_map_end.
8637
8638 * elf/dl-version.c: Add __builtin_expect in many places.
8639
8640 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
8641 Update.
8642
8643 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
8644
8645 Lock for stdio stream list becomes global, for use in LinuxThreads.
8646
8647 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
8648 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
8649 _IO_list_resetlock): New interface for iterating global list of
8650 streams without accessing the _IO_list_all global variable,
8651 and for manipulating the lock which protects this list.
8652 * libio/libioP.h: Likewise.
8653 * libio/Version: Add entries for the new functions.
8654
8655 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
8656 pointer to _IO_FILE.
8657
8658 2000-06-07 Ulrich Drepper <drepper@redhat.com>
8659
8660 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
8661 BIT() must actually be BITw().
8662
8663 * locale/programs/ld-ctype.c: Handle SP and space consistently.
8664
8665 * locale/programs/charmap.c: Allow string arguments for
8666 code_set_name and repertoiremap.
8667
8668 2000-06-07 Andreas Jaeger <aj@suse.de>
8669
8670 * elf/Makefile: Build ldconfig only when building shared libraries.
8671
8672 2000-06-07 Jakub Jelinek <jakub@redhat.com>
8673
8674 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
8675 __USE_ISOC99.
8676 (fdimf, __fdim, fdim): Likewise.
8677
8678 2000-06-07 Ulrich Drepper <drepper@redhat.com>
8679
8680 * locale/findlocale.c: Add __builtin_expect in many places.
8681 * locale/loadlocale.c: Likewise.
8682
8683 2000-06-06 Greg McGary <greg@mcgary.org>
8684
8685 * sysdeps/mips/elf/start.S: Trim redundant code.
8686
8687 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
8688 Use C comments throughout. Line up operands column with tabs.
8689 * sysdeps/powerpc/strchr.S: Likewise.
8690 * sysdeps/powerpc/strcmp.S: Likewise.
8691 * sysdeps/powerpc/strcpy.S: Likewise.
8692 * sysdeps/powerpc/strlen.S: Likewise.
8693
8694 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
8695 Get low part of &__curbrk with @l.
8696
8697 2000-06-06 Ulrich Drepper <drepper@redhat.com>
8698
8699 * iconvdata/utf-16.c: Add __builtin_expect in many places.
8700 * iconvdata/unicode.c: Likewise.
8701 * iconvdata/uhc.c: Likewise.
8702 * iconvdata/t.61.c: Likewise.
8703 * iconvdata/sjis.c: Likewise.
8704 * iconvdata/johab.c: Likewise.
8705 * iconvdata/iso_6937.c: Likewise.
8706 * iconvdata/iso_6937-2.c: Likewise.
8707 * iconvdata/iso8859-1.c: Likewise.
8708 * iconvdata/iso646.c: Likewise.
8709 * iconvdata/iso-2022-kr.c: Likewise.
8710 * iconvdata/iso-2022-jp.c: Likewise.
8711 * iconvdata/iso-2022-cn.c: Likewise.
8712 * iconvdata/gbgbk.c: Likewise.
8713 * iconvdata/gbk.c: Likewise.
8714 * iconvdata/euc-kr.c: Likewise.
8715 * iconvdata/euc-jp.c: Likewise.
8716 * iconvdata/euc-cn.c: Likewise.
8717
8718 2000-06-05 Ulrich Drepper <drepper@redhat.com>
8719
8720 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
8721 * iconvdata/big5.c: Likewise.
8722 * iconvdata/ansi_x3.110.c: Likewise.
8723 * iconvdata/8bit-generic.c: Likewise.
8724 * iconvdata/8bit-gap.c: Likewise.
8725 * iconv/loop.c: Likewise.
8726 * iconv/gconv_db.c: Likewise.
8727 * iconv/gconv_dl.c: Likewise.
8728 * iconv/gconv_simple.c: Likewise.
8729 * iconv/skeleton.c: Likewise.
8730
8731 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
8732 (struct __gconv_step_data): Rename __is_last to __flags.
8733 * iconv/gconv_close.c: Change all uses of __is_last.
8734 * iconv/skeleton.c: Likewise.
8735 * iconvdata/iso-2022-cn.c: Likewise.
8736 * iconvdata/iso-2022-jp.c: Likewise.
8737 * iconvdata/iso-2022-kr.c: Likewise.
8738 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
8739 Recognize IGNORE error handling, set flag, and remove from name.
8740 * iconv/loop.c (ignore_errors_p): Define.
8741 Add flags parameter to both functions.
8742 * iconv/skeleton.c: Pass flags to all conversion functions.
8743 * iconv/gconv_simple.c: Add flags parameter to all functions.
8744 Don't return error for invald error if ignore flag is set.
8745 (ucs4_internal_loop_single): Add missing pointer increment.
8746 (internal_ucs4le_loop_single): Likewise.
8747 * iconv/iconv_prog.c: Implement handling of -c parameter.
8748 * iconvdata/8bit-gap.c: Don't return error for invald error if
8749 ignore flag is set.
8750 * iconvdata/8bit-generic.c: Likewise.
8751 * iconvdata/ansi_x3.110.c: Likewise.
8752 * iconvdata/big5.c: Likewise.
8753 * iconvdata/big5hkscs.c: Likewise.
8754 * iconvdata/euc-cn.c: Likewise.
8755 * iconvdata/euc-jp.c: Likewise.
8756 * iconvdata/euc-kr.c: Likewise.
8757 * iconvdata/gbgbk.c: Likewise.
8758 * iconvdata/gbk.c: Likewise.
8759 * iconvdata/iso-2022-cn.c: Likewise.
8760 * iconvdata/iso-2022-jp.c: Likewise.
8761 * iconvdata/iso-2022-kr.c: Likewise.
8762 * iconvdata/iso646.c: Likewise.
8763 * iconvdata/iso8859-1.c: Likewise.
8764 * iconvdata/iso_6937-2.c: Likewise.
8765 * iconvdata/iso_6937.c: Likewise.
8766 * iconvdata/johab.c: Likewise.
8767 * iconvdata/sjis.c: Likewise.
8768 * iconvdata/t.61.c: Likewise.
8769 * iconvdata/uhc.c: Likewise.
8770 * iconvdata/unicode.c: Likewise.
8771 * iconvdata/utf-16.c: Likewise.
8772 * libio/fileops.c: Likewise.
8773 * libio/iofwide.c: Likewise.
8774 * wcsmbs/btowc.c: Likewise.
8775 * wcsmbs/mbrtowc.c: Likewise.
8776 * wcsmbs/mbsnrtowcs.c: Likewise.
8777 * wcsmbs/mbsrtowcs.c: Likewise.
8778 * wcsmbs/wcrtomb.c: Likewise.
8779 * wcsmbs/wcsnrtombs.c: Likewise.
8780 * wcsmbs/wcsrtombs.c: Likewise.
8781 * wcsmbs/wctob.c: Likewise.
8782
8783 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
8784 an error.
8785
8786 2000-06-04 Ulrich Drepper <drepper@redhat.com>
8787
8788 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
8789 counter for the object we are releasing, just decrement it.
8790 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
8791
8792 2000-06-04 Jakub Jelinek <jakub@redhat.com>
8793
8794 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
8795 if -ffast-math.
8796
8797 2000-06-04 Ulrich Drepper <drepper@redhat.com>
8798
8799 * iconvdata/big5hkscs.c: New file.
8800 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
8801
8802 * iconvdata/gconv-modules: Add entry for new module.
8803 * iconvdata/Makefile (modules): Add BIG5HKSCS.
8804 (distribute): Add big5hkscs.c.
8805
8806 2000-06-01 Jakub Jelinek <jakub@redhat.com>
8807
8808 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
8809 inlines to match prototypes in mathcalls.h.
8810 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
8811 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
8812 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
8813 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
8814
8815 2000-06-03 Ulrich Drepper <drepper@redhat.com>
8816
8817 * elf/elf.h (SHT_SUNW_move): Define.
8818
8819 * elf/elf.h: Add more Solaris compatiblity definitions.
8820
8821 2000-06-03 Andreas Jaeger <aj@suse.de>
8822
8823 * sysdeps/powerpc/dl-start.S: Close open comment.
8824
8825 2000-06-03 Jakub Jelinek <jakub@redhat.com>
8826
8827 * inet/Versions: Fix typo in rresvport_af export.
8828
8829 2000-06-02 Ulrich Drepper <drepper@redhat.com>
8830
8831 * math/tgmath.h: Pretty print.
8832
8833 2000-06-02 Andreas Jaeger <aj@suse.de>
8834
8835 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
8836 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
8837
8838 2000-06-02 Ulrich Drepper <drepper@redhat.com>
8839
8840 * elf/rtld.c (process_envvars): Test for = after variable name.
8841
8842 2000-06-01 Ulrich Drepper <drepper@redhat.com>
8843
8844 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
8845 have extra call to __gmon_start__, use the pointer we already have.
8846
8847 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
8848 shifting.
8849
8850 * sysdeps/i386/elf/setjmp.S: Work around change is recent
8851 binutils. gas now emits a jump through the PLT instead of a
8852 relative jump if the jump target is an exported symbol.
8853
8854 2000-05-31 Ulrich Drepper <drepper@redhat.com>
8855
8856 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
8857
8858 2000-05-31 Andreas Jaeger <aj@suse.de>
8859
8860 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
8861 gregset_t.
8862
8863 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
8864 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
8865
8866 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
8867 syscall.
8868 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
8869
8870 2000-05-30 Ulrich Drepper <drepper@redhat.com>
8871
8872 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
8873
8874 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
8875 * locale/localeconv.c: Make function versioned (with same definition).
8876
8877 * elf/Makefile (modules-names): Strip before using it.
8878
8879 2000-05-30 Andreas Jaeger <aj@suse.de>
8880
8881 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
8882 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
8883 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
8884 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
8885 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
8886 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
8887
8888 2000-05-29 Ulrich Drepper <drepper@redhat.com>
8889
8890 * Makefile: Add GNU make magic.
8891
8892 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
8893 Removed.
8894 * inet/rcmd.c: Remove __P. Remove unused variables.
8895 (iruserfopen): Make first parameter const.
8896 (ruserok_sa): Return result of ruserok2_sa.
8897 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
8898 * inet/rexec.c: Remove unused variables. Other small cleanups.
8899 * inet/ruserpass.c: Remove __P. Remove unused variables.
8900 (ruserpass): Check results of memory allocation.
8901 * include/netdb.h: Add prototype for ruserpass.
8902
8903 2000-05-29 Andreas Jaeger <aj@suse.de>
8904
8905 * elf/readlib.c (interpreters): Use LD_SO since this is supported
8906 for all platforms.
8907
8908 2000-05-29 Jakub Jelinek <jakub@redhat.com>
8909
8910 * inet/rcmd.c (rresvport_af): Use correct port number.
8911
8912 2000-05-26 Andreas Schwab <schwab@suse.de>
8913
8914 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
8915 entries in all-sonames.
8916 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
8917 preserving the old name if different for compatibility.
8918
8919 2000-05-29 Ulrich Drepper <drepper@redhat.com>
8920
8921 * posix/Makefile (tests): Add tst-spawn.
8922 (tst-spawn-ARGS): New variable.
8923 * posix/tst-spawn.c: New file.
8924
8925 * posix/spawn_faction_addclose.c: Correctly account for new entry.
8926 * posix/spawn_faction_adddup2.c: Likewise.
8927 * posix/spawn_faction_addopen.c: Likewise.
8928 * posix/spawni.c: Correctly test for success of dup2 calls.
8929
8930 * posix/tst-preadwrite.c: Check success of malloc call.
8931
8932 2000-05-28 Ulrich Drepper <drepper@redhat.com>
8933
8934 * posix/Makefile (tests): Add tst-exec.
8935 (tst-exec-ARGS): New variable.
8936 * posix/tst-exec.c: New file.
8937
8938 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
8939
8940 2000-05-04 Andreas Jaeger <aj@suse.de>
8941
8942 * string/string.h: Remove __strdup prototype, it's not needed in
8943 this file anymore.
8944
8945 2000-05-28 Ulrich Drepper <drepper@redhat.com>
8946
8947 * posix/Makefile (tests): Add tst-fork.
8948 * posix/tst-fork.c: New file.
8949
8950 * resolv/inet_pton.c: Loose __P.
8951
8952 2000-05-21 Jakub Jelinek <jakub@redhat.com>
8953
8954 * libio/libioP.h (_IO_CHECK_WIDE): Define.
8955 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
8956 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
8957 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
8958 _IO_CHECK_WIDE fails.
8959
8960 2000-05-28 Ulrich Drepper <drepper@redhat.com>
8961
8962 * po/da.po: New file.
8963
8964 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
8965 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
8966
8967 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
8968 (Other iconv Implementations): Fix typo.
8969 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
8970
8971 2000-05-27 Andreas Jaeger <aj@suse.de>
8972
8973 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
8974 normal version now.
8975 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
8976 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
8977 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8978 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8979 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
8980 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
8981
8982 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
8983 endianness to decide how to pass arguments.
8984 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
8985
8986 * elf/vismain.c: Use test-skeleton interface.
8987 (TEST_FUNCTION): New macro.
8988 (do_test): Renamed from main.
8989
8990 2000-05-27 Ulrich Drepper <drepper@redhat.com>
8991
8992 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
8993 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
8994
8995 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
8996 handling of AI_V4MAPPED flag.
8997
8998 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
8999 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
9000 perform lookup for T_A type and tell getanswer_r to convert the
9001 result with new argument.
9002 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
9003 Don't convert addresses from IPv4 to IPv6 here.
9004 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
9005 IPv6 is wanted. Allow qtype and type from reply to disagree if
9006 IPv4 mapping has to be done. Perform mappings if required by the
9007 caller and not if RES_USE_INET6 bit in _res.options is set.
9008 Add several __builtin_expect.
9009
9010 2000-05-26 Ulrich Drepper <drepper@redhat.com>
9011
9012 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
9013
9014 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
9015 NULL.
9016
9017 * posix/tst-preadwrite.c: Allow parallel execution of
9018 tst-preadwrite and tst-preadwrite64.
9019
9020 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
9021 * posix/tst-truncate.c: New file.
9022 * posix/tst-truncate64.c: New file.
9023
9024 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
9025 was switched.
9026
9027 * posix/Makefile (tests): Add tst-preadwrite64.
9028 * posix/tst-preadwrite.c: Alloc file being used also for testing
9029 pread64 and pwrite64.
9030 * posix/tst-preadwrite64.c: New file.
9031
9032 2000-05-26 Andreas Jaeger <aj@suse.de>
9033
9034 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
9035 of arguments dependend on endianness.
9036 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
9037
9038 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
9039 normal version now.
9040 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
9041 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
9042 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9043 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9044
9045 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
9046 endianness to check how to pass argument.
9047 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
9048
9049 * elf/ldconfig.h: Update parameter list for process_elf_file.
9050
9051 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
9052 Add parameter file_length and pass it ot process_elf*file.
9053
9054 * sysdeps/generic/readelflib.c (check_ptr): New.
9055 (process_elf_file): Use check_ptr to check all accesses to the
9056 mmapped file. Add parameter file_length.
9057
9058 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
9059 library names.
9060
9061 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
9062 Closes PR libc/1573, reported by Bradley White
9063 <bww@laurelnetworks.com>.
9064
9065 2000-05-25 Ulrich Drepper <drepper@redhat.com>
9066
9067 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
9068 __FAST_MATH__ is defined.
9069
9070 2000-05-22 Andreas Jaeger <aj@suse.de>
9071
9072 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
9073 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
9074
9075 * manual/math.texi (FP Function Optimizations): Document gcc
9076 -ffast-math behaviour with mathinlines.
9077
9078 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
9079 functions unless -ffast-math is given to gcc.
9080
9081 2000-05-23 Jakub Jelinek <jakub@redhat.com>
9082
9083 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
9084 __sincosl): Guard with __USE_GNU.
9085
9086 2000-05-24 Ulrich Drepper <drepper@redhat.com>
9087
9088 * csu/Makefile (routines): Add check_fds.
9089 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
9090 binaries. Add various __builtin_expect.
9091 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
9092 * sysdeps/generic/check_fds.c: ...here. New file.
9093
9094 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
9095 binaries if file /etc/suid-debug is available.
9096
9097 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
9098 and wcseqorder members.
9099 (struct locale_collate_t): Likewise.
9100 (collate_finish): Assign collation sequence value to each character.
9101 Create tables for output.
9102 (collate_output): Write out tables with collation sequence information.
9103 * locale/C-collate.c: Provide C locale data for collation sequence
9104 table.
9105 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
9106 _NL_COLLATE_COLLSEQWC.
9107 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
9108 _NL_COLLATE_COLLSEQWC.
9109 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
9110 include fnmatch_loop.c.
9111 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
9112 character is matched by range expression. Use collation sequence
9113 table. Outside glibc fall back on simple character value comparison.
9114
9115 2000-05-24 Andreas Jaeger <aj@suse.de>
9116
9117 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
9118 words.
9119
9120 * intl/Makefile: Run gettext-test only if msgfmt is available.
9121
9122 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
9123 Define it for newer kernels.
9124
9125 2000-05-23 Ulrich Drepper <drepper@redhat.com>
9126
9127 * elf/dl-sym.c: Minor cleanups.
9128
9129 * configure.in: Add test for .protected.
9130 * config.make.in: Add have-protected variable.
9131 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
9132 (tests-vis-yes): Add vismain.
9133 (modules-names): Add $(modules-vis-$(have-protected)).
9134 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
9135 Add rules to generate and run vismain.
9136 * elf/vismain.c: New file.
9137 * elf/vismod1.c: New file.
9138 * elf/vismod2.c: New file.
9139 * elf/vismod3.c: New file.
9140
9141 2000-05-23 Andreas Jaeger <aj@suse.de>
9142
9143 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
9144
9145 * manual/search.texi (Array Sort Function): Document that qsort is
9146 not necessarily in-place.
9147
9148 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
9149 Closes PR libc/1731.
9150
9151 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
9152 * dirent/scandir64.c: Likewise.
9153 * pwd/getpw.c: Likewise.
9154 * stdlib/bsearch.c (bsearch): Likewise.
9155 * stdlib/tst-strtoll.c: Likewise.
9156 * localedata/collate-test.c: Likewise.
9157 * localedata/xfrm-test.c: Likewise.
9158 * posix/bsd-getpgrp.c: Likewise.
9159 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
9160 * sysdeps/generic/bits/siginfo.h: Likewise.
9161 * sysdeps/generic/bits/sockaddr.h: Likewise.
9162 * sysdeps/generic/sys/swap.h: Likewise.
9163 * sysdeps/generic/sys/sysinfo.h: Likewise.
9164 * sysdeps/generic/vfork.c: Likewise.
9165 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
9166 * sysdeps/mach/hurd/fdopen.c: Likewise.
9167 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
9168 * sysdeps/unix/sysv/linux/poll.c: Likewise.
9169 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9170 * sysdeps/unix/sysv/linux/writev.c: Likewise.
9171 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
9172 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9173 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
9174
9175 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
9176 * shadow/lckpwdf.c: Likewise.
9177 * stdlib/tst-strtol.c: Likewise.
9178 * sysdeps/generic/tcsetattr.c: Likewise.
9179 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9180 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9181
9182 2000-05-22 Jakub Jelinek <jakub@redhat.com>
9183
9184 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
9185 free it and set to (void *) -1.
9186
9187 2000-05-22 Jakub Jelinek <jakub@redhat.com>
9188
9189 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
9190 not the second character in the range.
9191 * stdio-common/tstscanf.c (main): Add testcase for the above.
9192 Reported by jik@kamens.brookline.ma.us.
9193
9194 2000-05-21 H.J. Lu <hjl@gnu.org>
9195
9196 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
9197 with noexec and noplt parameter.
9198 (do_lookup): Likewise.
9199
9200 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
9201 do_lookup. Support STV_PROTECTED.
9202 (_dl_lookup_symbol_skip): Likewise.
9203 (_dl_lookup_versioned_symbol): Likewise.
9204 (_dl_lookup_versioned_symbol_skip): Likewise.
9205
9206 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
9207
9208 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
9209
9210 2000-05-21 Jakub Jelinek <jakub@redhat.com>
9211
9212 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
9213 * sysdeps/i386/bits/huge_val.h: Likewise.
9214 * sysdeps/ieee754/bits/huge_val.h: Likewise.
9215 * sysdeps/m68k/bits/huge_val.h: Likewise.
9216 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
9217 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
9218
9219 2000-05-22 Andreas Jaeger <aj@suse.de>
9220
9221 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
9222 change in iconv.h.
9223
9224 2000-05-19 Andreas Jaeger <aj@suse.de>
9225
9226 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
9227 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
9228 breaks compilation without linuxthreads.
9229
9230 2000-05-21 Ulrich Drepper <drepper@redhat.com>
9231
9232 * sysdeps/ia64/memccpy.S: New file.
9233 * sysdeps/ia64/memchr.S: New file.
9234 * sysdeps/ia64/memcmp.S: New file.
9235 * sysdeps/ia64/memcpy.S: New file.
9236 * sysdeps/ia64/memmove.S: New file.
9237 * sysdeps/ia64/memset.S: New file.
9238 * sysdeps/ia64/strcat.S: New file.
9239 * sysdeps/ia64/strchr.S: New file.
9240 * sysdeps/ia64/strcmp.S: New file.
9241 * sysdeps/ia64/strcpy.S: New file.
9242 * sysdeps/ia64/strlen.S: New file.
9243 * sysdeps/ia64/strncmp.S: New file.
9244 * sysdeps/ia64/strncpy.S: New file.
9245 * sysdeps/ia64/softpipe.h: New file.
9246 Patches by Dan Pop <Dan.Pop@cern.ch>.
9247
9248 * manual/memory.texi: Document memory handling functions (mlock,
9249 munlock, mlockall, munlockall, brk, and sbrk)
9250 * manual/time.texi: Document timespec and friends.
9251 * manual/conf.texi: Fix references.
9252 * manual/ctype.texi: Likewise.
9253 * manual/errno.texi: Likewise.
9254 * manual/intro.texi: Likewise.
9255 * manual/locale.texi: Likewise.
9256 * manual/sysinfo.texi: Likewise.
9257 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
9258
9259 2000-05-09 Jes Sorensen <jes@linuxcare.com>
9260
9261 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
9262 * sysdeps/ia64/dl-lookupcfg.h: ...here.
9263
9264 2000-05-21 Jakub Jelinek <jakub@redhat.com>
9265
9266 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
9267 dxfer_direction.
9268
9269 2000-05-21 Ulrich Drepper <drepper@redhat.com>
9270
9271 * locale/locale.h (struct lconv): Add new elements from ISO C99.
9272 * locale/localeconv.c: Initialize new elements from ISO C99.
9273 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
9274 new standard elements.
9275 * locale/categories.def: Adjust accordingly.
9276
9277 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
9278 * iconv/iconv.c: Likewise.
9279 * conform/data/iconv.h-data: Likewise.
9280 * iconv/iconv_prog.c (process_block): Remove const from second
9281 parameter.
9282 (main): Remove const from addr definition.
9283 * manual/charset.texi (Generic Conversion Interface): Remove from
9284 inbuf parameter of iconv.
9285
9286 * intl/dcigettext.c: Fix typo in comment.
9287
9288 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
9289
9290 * resolv/res_libc.c (_res): Initialize _sock to -1.
9291
9292 2000-05-18 Jakub Jelinek <jakub@redhat.com>
9293
9294 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
9295 (fopencookie@@GLIBC_2.2): New.
9296 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
9297 (fopencookie@GLIBC_2.0): New.
9298 * libio/Versions: Add fopencookie to GLIBC_2.2.
9299
9300 2000-05-18 Andreas Jaeger <aj@suse.de>
9301
9302 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
9303 Closes PR libc/1731.
9304
9305 * manual/arith.texi (Parsing of Integers): Fix typo.
9306 Closes PR libc/1744, reported by blp@gnu.org.
9307
9308 2000-05-17 Jakub Jelinek <jakub@redhat.com>
9309
9310 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
9311 __extension__ to hexadecimal floating constant notation.
9312 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
9313 Likewise.
9314 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
9315 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
9316 Likewise.
9317 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
9318 HUGE_VALL): Likewise.
9319 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
9320 HUGE_VALL): Likewise.
9321 (HUGE_VALL): Set to HUGE_VAL on sparc32.
9322
9323 2000-05-17 Andreas Jaeger <aj@suse.de>
9324
9325 * string/envz.h: Add pure attributes if possible.
9326
9327 * string/argz.h: argz_count is a pure function.
9328
9329 * string/strings.h: Add pure and const attributes if possible.
9330
9331 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
9332 possibly searching through the whole memory.
9333 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
9334
9335 2000-05-17 Jakub Jelinek <jakub@redhat.com>
9336
9337 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
9338 not yet defined.
9339 (_dl_cache_check_flags): Likewise.
9340 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
9341 dl-cache.h.
9342
9343 2000-05-17 Andreas Jaeger <aj@suse.de>
9344
9345 * manual/creature.texi (Feature Test Macros): Remove paragraph
9346 since the description is wrong.
9347 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
9348
9349 * scripts/config.sub: New version.
9350 * scripts/config.guess: Likewise.
9351 * manual/texinfo.tex: Likewise.
9352
9353 * time/test_time.args: Removed.
9354 * time/Makefile (test_time-ARGS): Added contents here instead.
9355
9356 * posix/tstgetopt.args: Removed.
9357 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
9358
9359 * Rules: Allow arguments for test files to be specified in
9360 Makefile with testname-ARGS; remove rules with .args in it.
9361
9362 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
9363 remove old bogus rule for opendir-tst1.args.
9364
9365 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
9366
9367 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
9368 into objdir. This allows a readonly sourcetree.
9369 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
9370
9371 2000-05-16 Andreas Jaeger <aj@suse.de>,
9372 David Huggins-Daines <dhd@linuxcare.com>
9373
9374 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
9375 cache_data in case of only new cache format correctly.
9376
9377 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
9378 cache_file_new.
9379
9380 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
9381 struct cache_file_new.
9382
9383 * elf/cache.c (save_cache): Fix str_offset if only new cache is
9384 present.
9385
9386 * elf/cache.c (save_cache): Align struct new_file_cache.
9387 (print_cache): Likewise.
9388
9389 2000-05-13 Jakub Jelinek <jakub@redhat.com>
9390
9391 * elf/soinit.c (__libc_global_ctors): Move
9392 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
9393 * resolv/resolv.h (__res_state): Added __attribute__((const)).
9394 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
9395 variable, don't define it to __res_state call.
9396
9397 2000-05-13 Andreas Jaeger <aj@suse.de>
9398
9399 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
9400 Linux 2.3.99pre7.
9401 (AF_PPPOX): Likewise.
9402 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
9403 (AF_PPPOX): Likewise.
9404
9405 2000-05-12 Andreas Jaeger <aj@suse.de>
9406
9407 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
9408 Reported by tmoestl@gmx.net, closes PR libc/1732.
9409
9410 2000-05-11 Jan Hubicka <jh@suse.cz>
9411
9412 * misc/sys/cdefs.h: Add support for pure attribute.
9413
9414 * include/string.h: Add __attribute_pure__ to various functions.
9415 * string/string.h: Likewise.
9416
9417 2000-05-10 Jakub Jelinek <jakub@redhat.com>
9418
9419 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
9420 argument.
9421 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
9422 R_SPARC_UA64.
9423 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
9424
9425 2000-05-10 Jakub Jelinek <jakub@redhat.com>
9426
9427 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
9428 at proper place. Compute the high nibble correctly.
9429
9430 2000-05-09 Jakub Jelinek <jakub@redhat.com>
9431
9432 * elf/ldconfig.c: Include elf.h.
9433
9434 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
9435 (_dl_vsym): Likewise.
9436 Reported by Owen Taylor <otaylor@redhat.com>.
9437
9438 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
9439 always.
9440
9441 2000-05-08 Andreas Jaeger <aj@suse.de>
9442
9443 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
9444
9445 * intl/bindtextdom.c (set_binding_values): Add prototype.
9446
9447 2000-05-08 Jakub Jelinek <jakub@redhat.com>
9448
9449 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
9450 call to elf_machine_fixup_plt.
9451 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9452 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9453
9454 2000-05-08 Jakub Jelinek <jakub@redhat.com>
9455
9456 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
9457 they are not dlclose'd from underneath us.
9458
9459 2000-05-08 Andreas Schwab <schwab@suse.de>
9460
9461 * posix/execle.c: Fix size parameter of memcpy.
9462
9463 2000-05-08 Andreas Schwab <schwab@suse.de>
9464
9465 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
9466 getpagesize syscall if available.
9467
9468 2000-05-08 Andreas Jaeger <aj@suse.de>
9469
9470 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
9471 set errno.
9472
9473 2000-05-08 Jakub Jelinek <jakub@redhat.com>
9474
9475 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
9476 sizeof(struct link_map *) chunks, not in bytes.
9477
9478 2000-05-07 Ulrich Drepper <drepper@redhat.com>
9479
9480 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
9481 only needed for locale.
9482 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
9483 It's only needed for catgets.
9484 Patches by Greg McGary <gkm@eng.ascend.com>.
9485
9486 2000-05-07 Mark Kettenis <kettenis@gnu.org>
9487
9488 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
9489 Remove duplicate <errno.h> include. Remove inclusion of
9490 <libintl.h> and "nsswitch.h".
9491 (set_cloexec_flag): New function, broken out of dbopen.
9492 (dbopen): Changed return type to `enum
9493 nss_status'. Mostly rewritten to make sure that we do not report
9494 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
9495 (internal_setent): Change return type to nss_status.
9496 Document, and make sure that the function
9497 behaves accordingly. Make dynamically loading the database
9498 library really thread-safe and return NSS_STATUS_UNAVAIL if it
9499 failed.
9500 (db_cursor): Return ENOMEM is memory allocation failed. Remove
9501 unecessary casts.
9502 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
9503 documentation.
9504 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
9505 c_get function member.
9506 * nss/nss_db/nss_db.h: Add and tweak some comments.
9507 (DBT): Move typedef before NSS_DBC typedef.
9508 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
9509
9510 2000-05-07 H.J. Lu <hjl@gnu.org>
9511
9512 * csu/initfini.c: Moved to ....
9513 * sysdeps/generic/initfini.c: ...here.
9514
9515 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
9516
9517 2000-05-07 Ulrich Drepper <drepper@redhat.com>
9518
9519 * manual/resource.texi: Document POSIX scheduling functions.
9520 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9521
9522 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
9523 reading anything. Reported by Andries.Brouwer@cwi.nl.
9524
9525 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
9526 for x since promotion in comparison might leads to unexpected
9527 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
9528
9529 * iconv/Makefile (tests): Add tst-iconv1.
9530 * iconv/tst-iconv1.c: New file.
9531 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
9532 empty input buffer over full output buffer.
9533 (ucs4_internal_loop): Likewise.
9534 (ucs4_internal_loop_unaligned): Likewise.
9535 (internal_ucs4le_loop): Likewise.
9536 (internal_ucs4le_loop_unaligned): Likewise.
9537 (ucs4le_internal_loop): Likewise.
9538 (ucs4le_internal_loop_unaligned): Likewise.
9539 Reported by yaoz@nih.gov.
9540
9541 2000-05-06 Bruno Haible <haible@clisp.cons.org>
9542
9543 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
9544 returned != __GCONV_OK, there is nothing to clean up.
9545
9546 2000-05-06 Bruno Haible <haible@clisp.cons.org>
9547
9548 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
9549 OUTPUT_CHARSET environment variables.
9550
9551 2000-05-06 Andreas Jaeger <aj@suse.de>
9552
9553 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
9554 (struct cache_file_new): New.
9555 (struct file_entry): New (moved from cache.c).
9556 (struct cache_file): New (moved from cache.c).
9557
9558 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
9559 from _dl_load_cache_lookup.
9560 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
9561 the different cache formats.
9562 New variable cache_new for new format.
9563
9564 * elf/ldconfig.h: Change according to changes in cache.c and
9565 ldconfig.c; remove cache_libcmp; add opt_format.
9566
9567 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
9568 stuff that's defined in those headers.
9569 Add hwcap to struct lib_entry.
9570 (opt_format): New variable to select cache format.
9571 (options): Add format parameter.
9572 (is_hwcap): New function.
9573 (path_hwcap): New function.
9574 (parse_opt): Handle new format parameter.
9575 (search_dir): Handle hwcap, search also subdirectories with hwcap.
9576
9577 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
9578 ldconfig is part of glibc.
9579 Include dl-cache.h and remove stuff that's defined there.
9580 (struct cache_entry): Add new member hwcap.
9581 (print_entry): Print hwcap, cleanup a bit.
9582 (print_cache): Print new and old formats.
9583 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
9584 (save_cache): Save new and old formats.
9585 (add_to_cache): Handle hwcap.
9586
9587 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
9588 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
9589 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
9590 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
9591 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
9592 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
9593
9594 2000-05-05 Bruno Haible <haible@clisp.cons.org>
9595
9596 * intl/dcigettext.c (alignof): New macro.
9597 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
9598 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
9599 freemem_size to 0.
9600
9601 2000-05-05 Bruno Haible <haible@clisp.cons.org>
9602
9603 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
9604 return value.
9605
9606 2000-05-06 Ulrich Drepper <drepper@redhat.com>
9607
9608 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
9609 (mempcpy): Correct typo is parameter list.
9610
9611 2000-05-06 Andreas Jaeger <aj@suse.de>
9612
9613 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
9614 functions unless -ffast-math is given to gcc.
9615
9616 2000-05-06 Ulrich Drepper <drepper@redhat.com>
9617
9618 * po/ko.po: Update from translation team.
9619
9620 2000-05-05 Ulrich Drepper <drepper@redhat.com>
9621
9622 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
9623 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
9624 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
9625 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
9626 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
9627 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
9628
9629 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
9630 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
9631 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
9632
9633 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
9634 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
9635 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
9636 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
9637
9638 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
9639 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
9640
9641 2000-05-05 Jes Sorensen <jes@linuxcare.com>
9642
9643 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
9644 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
9645
9646 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
9647 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
9648
9649 * sysdeps/ia64/Implies: New file.
9650 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
9651 * sysdeps/ia64/Makefile: New file.
9652 * sysdeps/ia64/gmp-mparam.h: New file,
9653
9654 * sysdeps/ia64/elf/start.S: New file.
9655
9656 * sysdeps/ia64/bits/fenv.h: New file.
9657
9658 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
9659
9660 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
9661
9662 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
9663
9664 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
9665 ia64 has 64 bit .hash entries just as the Alpha.
9666
9667 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
9668
9669 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
9670
9671 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
9672
9673 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
9674 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
9675 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
9676 * sysdeps/ia64/fpu/fegetenv.c: New file.
9677 * sysdeps/ia64/fpu/fegetexcept.c: New file.
9678 * sysdeps/ia64/fpu/fegetround.c: New file.
9679 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
9680 * sysdeps/ia64/fpu/fesetenv.c: New file.
9681 * sysdeps/ia64/fpu/fesetround.c: New file.
9682 * sysdeps/ia64/fpu/feupdateenv.c: New file.
9683 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
9684 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
9685 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
9686 * sysdeps/ia64/fpu/ftestexcept.c: New file.
9687
9688 2000-05-05 Andreas Jaeger <aj@suse.de>
9689
9690 * misc/tst-tsearch.c (main): Correct type for initstate argument.
9691
9692 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
9693 (_dl_string_hwcap): New, does nothing.
9694
9695 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
9696 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
9697 (_dl_string_hwcap): New function, converts from string to hwcap
9698 encoding.
9699 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
9700 (_DL_HWCAP_COUNT): New.
9701 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
9702 (_dl_string_hwcap): New function, converts from string to hwcap
9703 encoding.
9704 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
9705 (_DL_HWCAP_COUNT): New.
9706 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
9707 (_dl_string_hwcap): New function, converts from string to hwcap
9708 encoding.
9709
9710 2000-05-05 Ulrich Drepper <drepper@redhat.com>
9711
9712 * elf/Makefile (distribute): Add dl-lookupcfg.h.
9713 * sysdeps/ia64/Dist: New file.
9714
9715 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
9716 parameter to mprotect and for variable assignments.
9717
9718 2000-05-03 Jes Sorensen <jes@linuxcare.com>
9719
9720 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
9721 validity of map before dereferencing it.
9722
9723 * elf/dl-reloc.c (RESOLVE_MAP): Define.
9724
9725 2000-05-02 Jes Sorensen <jes@linuxcare.com>
9726
9727 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
9728 lookup to the arguments to elf_machine_fixup_plt().
9729
9730 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
9731 of the symbol being resolved to input argument list and make the
9732 function return the pointer to the reloc.
9733
9734 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
9735 return valuie to lookup_t and return the value.
9736 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
9737 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
9738 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
9739 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
9740 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
9741 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
9742
9743 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
9744 Make it an inline function returning value after calling
9745 __elf_machine_fixup_plt().
9746
9747 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
9748 symbol address.
9749
9750 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
9751 obtain the symbol address.
9752
9753 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
9754 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
9755
9756 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
9757 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
9758 inline on non ia64.
9759
9760 2000-04-28 Jes Sorensen <jes@linuxcare.com>
9761
9762 * elf/dl-runtime.c (fixup): Use the portable macros to get the
9763 symbol address of an object.
9764
9765 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
9766 the symbol address of an object.
9767
9768 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
9769 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
9770 (_dl_lookup_symbol_skip): Likewise.
9771 (_dl_lookup_versioned_symbol): Likewise.
9772 (_dl_lookup_versioned_symbol_skip): Likewise.
9773
9774 2000-04-27 Jes Sorensen <jes@linuxcare.com>
9775
9776 * elf/rtld.c (_dl_start): Get the function pointer return address
9777 via _dl_start_address for architectures that need a function
9778 pointer descriptor rather than just a pointer (ia64).
9779
9780 * sysdeps/generic/dl-lookupcfg.h: New file.
9781 * sysdeps/ia64/dl-lookupcfg.h: New file.
9782 * sysdeps/ia64/dl-machine.h: New file.
9783 * sysdeps/ia64/dl-symaddr.c: New file.
9784 * sysdeps/ia64/dl-fptr.c: New file.
9785
9786 * elf/elf.h: Add IA-64 specific definitions.
9787
9788 2000-05-04 Jakub Jelinek <jakub@redhat.com>
9789
9790 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
9791 end of enum.
9792
9793 2000-05-04 Jakub Jelinek <jakub@redhat.com>
9794
9795 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
9796 happy.
9797
9798 2000-04-11 Geoff Keating <geoffk@cygnus.com>
9799
9800 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
9801 symbol. Call _dl_init rather than the old way.
9802
9803 2000-05-04 Ulrich Drepper <drepper@redhat.com>
9804
9805 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
9806 test for pointer in range of DSO address space.
9807
9808 2000-05-04 Andreas Jaeger <aj@suse.de>
9809
9810 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
9811
9812 2000-05-03 Ulrich Drepper <drepper@redhat.com>
9813
9814 * locale/findlocale.c (_nl_find_locale): Add new parameter to
9815 calls of _nl_make_l10nflist.
9816
9817 * libio/stdio.h: Make fseeko and ftello prototypes available is
9818 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
9819
9820 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
9821 real unsetenv implementation from 1999-07-29 [PR libc/1714].
9822
9823 2000-05-03 Bruno Haible <haible@clisp.cons.org>
9824
9825 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
9826 before calling tfind.
9827
9828 2000-03-05 Jakub Jelinek <jakub@redhat.com>
9829
9830 * resolv/resolv.h (res_querydomain): Remove redefinition to
9831 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
9832
9833 2000-05-03 Ulrich Drepper <drepper@redhat.com>
9834
9835 * po/gl.po: Update from translation team.
9836
9837 * manual/intro.texi (Program Basics): Change section title.
9838 * manual/process.texi: Fix reference.
9839 (Executing a File): Add reference exec in other section.
9840 * manual/signal.texi: Fix reference.
9841 * manual/startup.texi: Document syscall function.
9842 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
9843
9844 2000-04-29 Bruno Haible <haible@clisp.cons.org>
9845
9846 * intl/libintl.h (bind_textdomain_codeset): New declaration.
9847 * intl/bindtextdom.c (set_binding_values): New function.
9848 (bindtextdomain): Call it.
9849 (bind_textdomain_codeset): New function.
9850 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
9851 (free_mem): Free each binding's codeset.
9852 * intl/gettextP.h (struct binding): Add codeset field.
9853 (_nl_find_domain): Add domainbinding argument.
9854 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
9855 Pass it to _nl_make_l10nflist.
9856 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
9857 (_nl_make_l10nflist): Add domainbinding argument.
9858 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
9859 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
9860 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
9861 locale_charset().
9862 * manual/message.texi: New node "Charset conversion in gettext".
9863
9864 2000-04-30 Bruno Haible <haible@clisp.cons.org>
9865
9866 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
9867 appropriate. Handle possible __read error.
9868
9869 2000-04-29 Bruno Haible <haible@clisp.cons.org>
9870
9871 * intl/gettextP.h (__builtin_expect): Define as empty if not a
9872 compiler builtin.
9873 * intl/loadinfo.h (__builtin_expect): Likewise.
9874 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
9875 __builtin_expect where appropriate.
9876 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9877 * intl/localealias.c (extend_alias_table): Return an error indicator.
9878 (read_alias_file): Bail out if extend_alias_table fails.
9879
9880 2000-04-29 Bruno Haible <haible@clisp.cons.org>
9881
9882 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
9883 * intl/localealias.c: Likewise.
9884
9885 2000-05-01 Bruno Haible <haible@clisp.cons.org>
9886
9887 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
9888 Initialize domain->plural and domain->nplurals even if there is no
9889 nullentry.
9890
9891 2000-05-01 Bruno Haible <haible@clisp.cons.org>
9892
9893 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
9894 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
9895 In case of failure, goto converted.
9896
9897 2000-05-01 Bruno Haible <haible@clisp.cons.org>
9898
9899 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
9900 * iconv/gconv_int.h (norm_add_slashes): Move to here.
9901 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
9902 __gconv_open.
9903
9904 2000-04-29 Bruno Haible <haible@clisp.cons.org>
9905
9906 * intl/dcigettext.c (transcmp): Compare the domains as well.
9907 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
9908 not before.
9909 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
9910 <errno.h>.
9911
9912 2000-05-03 Ulrich Drepper <drepper@redhat.com>
9913
9914 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
9915 Reported by Bruno Haible.
9916
9917 2000-04-29 Bruno Haible <haible@clisp.cons.org>
9918
9919 * manual/arith.texi: Remove @w from @itemize.
9920
9921 2000-05-02 Andreas Jaeger <aj@suse.de>
9922
9923 * conform/data/tar.h-data: Add some checks for specific values.
9924
9925 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
9926 and RAND_MAX.
9927
9928 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
9929 FOPEN_MAX.
9930
9931 * conform/data/netinet/in.h-data: Add exact checks for the values
9932 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
9933
9934 * conform/data/float.h-data: Add some minimal values.
9935
9936 * conform/conformtest.pl: Test for macros with string constants,
9937 check for minimum and maximum values.
9938 Add limits.h to headers.
9939
9940 * conform/data/cpio.h-data: Test for value of MAGIC.
9941
9942 * conform/data/limits.h-data: New file.
9943
9944 2000-04-30 Bruno Haible <haible@clisp.cons.org>
9945
9946 * math/Makefile (headers): Add bits/fenvinline.h.
9947
9948 2000-05-01 Ulrich Drepper <drepper@redhat.com>
9949
9950 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
9951 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
9952
9953 * posix/Versions: Change posix_spawnattr_getdefault and
9954 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
9955 and posix_spawnattr_setsigdefault respectively.
9956 * posix/spawn.h: Likewise.
9957 * posix/spawnattr_getdefault.h: Likewise.
9958 * posix/spawnattr_setdefault.h: Likewise.
9959 * conform/data/spawn.h-data: Likewise.
9960
9961 2000-05-01 Andreas Jaeger <aj@suse.de>
9962
9963 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
9964
9965 2000-04-30 Ulrich Drepper <drepper@redhat.com>
9966
9967 * manual/sysinfo.texi: Document getdomainname, setdomainname
9968 and sysctl.
9969 * manual/string.texi: Fix typo.
9970 * manual/terminal.texi: Document gtty and stty.
9971 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9972
9973 2000-04-30 Andreas Jaeger <aj@suse.de>
9974
9975 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
9976 accordance with Austin Draft.
9977
9978 2000-04-30 Ulrich Drepper <drepper@redhat.com>
9979
9980 * catgets/gencat.c (read_input_file): Use isblank and not isspace
9981 to recognize second character in comment line.
9982
9983 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
9984 ENOBUFS if we are out of memory.
9985
9986 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
9987 available if __USE_XOPEN2K.
9988 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
9989 * sysdeps/unix/common/bits/fcntl.h: Likewise.
9990 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
9991 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9992 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
9993 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9994 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
9995 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
9996
9997 2000-04-29 Ulrich Drepper <drepper@redhat.com>
9998
9999 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
10000 Recognize option -s, -c, and -l.
10001
10002 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
10003
10004 * nscd/nscd.c: Start new session for nscd, drop privilegs
10005 to configured user if requested and no -S parameter are used.
10006 * nscd/nscd.conf: Add new option "server-user".
10007 * nscd/nscd_conf.c: Add support for new "server-user" option.
10008 * nscd/nscd.h: Add declaration for server_user variable.
10009 Based on patch by Chris Wing <wingc@engin.umich.edu>
10010
10011 2000-04-29 Mark Kettenis <kettenis@gnu.org>
10012
10013 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
10014 that changing the __restore and __restore_rt signal return code
10015 will break GDB.
10016
10017 2000-04-29 Mark Kettenis <kettenis@gnu.org>
10018
10019 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
10020 <sys/user.h>.
10021
10022 2000-04-29 Mark Kettenis <kettenis@gnu.org>
10023
10024 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
10025
10026 2000-04-29 Ulrich Drepper <drepper@redhat.com>
10027
10028 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
10029 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
10030 arpa/inet.h.
10031 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
10032 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
10033 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
10034 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
10035 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
10036 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
10037 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
10038 posix_fallocate, and posix_madvise.
10039 * conform/data/netdb.h-data: New file.
10040 * conform/data/pthread.h-data: Add pthread_barrier_t,
10041 pthread_barrierattr_t, pthread_barrier_destroy,
10042 pthread_barrier_init, pthread_barrier_wait,
10043 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
10044 pthread_barrierattr_init, pthread_barrierattr_setpshared,
10045 pthread_condattr_getclock, pthread_condattr_setclock,
10046 pthread_getcpuclockid, pthread_mutex_timedlock,
10047 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
10048 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
10049 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
10050 * conform/data/sched.h-data: Add sched_ss_low_priority,
10051 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
10052 SCHED_SPORADIC.
10053 * conform/data/semaphore.h-data: Add sem_timedwait.
10054 * conform/data/signal.h-data: Add SIGIO.
10055 * conform/data/spawn.h-data: New file.
10056 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
10057 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
10058 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
10059 Fix typo in gmtime_r definition.
10060 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
10061 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
10062 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
10063 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
10064 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
10065 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
10066 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
10067 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
10068 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
10069 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
10070 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
10071 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
10072 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
10073 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
10074 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
10075 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
10076 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
10077 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
10078 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
10079 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
10080 typo in off_t definition.
10081 * conform/data/net/if.h-data: New file.
10082 * conform/data/netinet/in.h-data: New file.
10083 * conform/data/netinet/tcp.h-data: New file.
10084 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
10085 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
10086 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
10087 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
10088 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
10089 and posix_typed_mem_open.
10090 * conform/data/sys/socket.h-data: New file.
10091 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
10092 * conform/data/sys/types.h-data: Add pthread_barrier_t,
10093 pthread_barrierattr_t, and pthread_spinlock_t.
10094 * conform/data/sys/un.h-data: New file.
10095 * conform/data/sys/utsname.h-data: New file.
10096
10097 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
10098 parameter.
10099 * inet/gethstbyad.c (gethostbyname): Likewise.
10100 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
10101 * inet/getipnodebyad.c (getipnodebyad): Likewise.
10102 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
10103 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
10104 Likewise.
10105 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
10106 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
10107 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
10108 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
10109 * resolv/gethnamaddr.c (gethostbyname): Likewise.
10110 * resolv/netdb.h (struct hostent): Fix type of h_length member.
10111 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
10112 and second parameter.
10113
10114 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
10115 == NULL.
10116
10117 2000-04-29 Andreas Jaeger <aj@suse.de>
10118
10119 * conform/data/arpa/inet.h-data: New file.
10120
10121 2000-04-28 Geoff Clare <gwc@unisoft.com>
10122
10123 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
10124 path passed to ftw() or nftw() is an empty string.
10125 Closes PR libc/1710.
10126
10127 2000-04-27 Ulrich Drepper <drepper@redhat.com>
10128
10129 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
10130 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
10131 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
10132 * localedata/tst-mbswcs4.c: New file.
10133 * localedata/tst-mbswcs5.c: New file.
10134
10135 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
10136 == NULL. Little optimization.
10137
10138 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
10139 DT_PREINIT_ARRAYSZ).
10140 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
10141
10142 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
10143 overflows in conversion from ASCII.
10144
10145 2000-04-26 Jakub Jelinek <jakub@redhat.com>
10146
10147 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
10148 * Makerules (full_config_sysdirs): Likewise.
10149 * MakeTAGS (full_config_sysdirs): Likewise.
10150
10151 2000-04-26 Jakub Jelinek <jakub@redhat.com>
10152
10153 * .cvsignore: Remove linuxthreads.
10154 * po/.cvsignore: Remove *.pot.
10155 * posix/glob/.cvsignore: Removed.
10156 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
10157
10158 2000-04-25 Andreas Jaeger <aj@suse.de>
10159
10160 * conform/Makefile (distribute): Also distribute contents of
10161 subdirectories.
10162
10163 * Makerules (no_deps): Remove abi-versions.h.
10164
10165 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
10166
10167 2000-04-25 Jakub Jelinek <jakub@redhat.com>
10168
10169 * sysdeps/sparc/sparc64/elf/Dist: Remove.
10170 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
10171 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
10172 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
10173 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
10174 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
10175 objects.
10176
10177 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
10178
10179 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
10180
10181 2000-04-23 Bruno Haible <haible@clisp.cons.org>
10182
10183 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
10184 * intl/l10nflist.c: Likewise.
10185
10186 2000-04-23 Bruno Haible <haible@clisp.cons.org>
10187
10188 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
10189 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
10190 * intl/textdomain.c [!_LIBC]: Likewise.
10191 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
10192 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
10193 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
10194 syntax error.
10195
10196 2000-04-23 Bruno Haible <haible@clisp.cons.org>
10197
10198 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
10199 character set conversion also in the case the translation was found
10200 after a hash collision or through binary search. Store the maximum
10201 index together with the converted message. Use iconv() when available.
10202 In case of out of memory during conversion, return the unconverted
10203 translated string, not NULL.
10204
10205 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
10206
10207 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
10208 to avoid name clashes with the ia32 linker.
10209
10210 2000-04-25 Jakub Jelinek <jakub@redhat.com>
10211
10212 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
10213 handling.
10214
10215 2000-04-27 Ulrich Drepper <drepper@redhat.com>
10216
10217 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
10218 strtoumax, strfry, and memfrob.
10219 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
10220 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
10221
10222 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
10223 if this function is available.
10224
10225 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
10226 all values.
10227
10228 2000-04-27 Jakub Jelinek <jakub@redhat.com>
10229
10230 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
10231
10232 2000-04-27 Ulrich Drepper <drepper@redhat.com>
10233
10234 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
10235 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
10236 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
10237 * localedata/tst-mbswcs3.c: New file.
10238
10239 2000-04-26 Ulrich Drepper <drepper@redhat.com>
10240
10241 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
10242 characters. Don't handle incomplete characters as errors.
10243 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
10244 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
10245 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
10246 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
10247 * localedata/tst-mbswcs2.c: New file.
10248
10249 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
10250 stored character in state in UNPACK_BYTES macro.
10251 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
10252 test for available characters, handle result of BODY code correctly.
10253 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
10254 (distribute): Add tst-mbswcs.sh.
10255 Add rule to run tst-mbswcs.sh.
10256 * localedata/tst-mbswcs.sh: New file.
10257 * localedata/tst-mbswcs1.c: New file.
10258
10259 2000-04-26 Jakub Jelinek <jakub@redhat.com>
10260
10261 * nis/nis_callback.c (__nis_create_callback): Do failed memory
10262 allocation fixups centrally, fix __builtin_expect call, return NULL
10263 on failure, not NIS_NOMEMORY.
10264
10265 2000-04-27 Bruno Haible <haible@clisp.cons.org>
10266
10267 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
10268
10269 * intl/loadinfo.h (internal_function): Define if not already defined.
10270
10271 2000-04-27 Andreas Jaeger <aj@suse.de>
10272
10273 * intl/libintl.h: Fix typo, reported by Bruno Haible
10274 <haible@clisp.cons.org>.
10275
10276 2000-04-25 Ulrich Drepper <drepper@redhat.com>
10277
10278 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
10279 setting the state to GMON_PROF_BUSY.
10280
10281 2000-04-24 Ulrich Drepper <drepper@redhat.com>
10282
10283 * elf/dl-profile.c (_dl_start_profile): define all variables which
10284 do not have to be global as local variables.
10285
10286 * nis/nis_callback.c (__nis_create_callback): Partially undo last
10287 patch. Keep needed tests for failed memory allocation.
10288
10289 * elf/dl-reloc.c (_dl_relocate_object): Add one more
10290 __builtin_expect saying that we don't normally expect to profile.
10291
10292 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
10293 __builtin_expect where desirable.
10294
10295 2000-04-23 Ulrich Drepper <drepper@redhat.com>
10296
10297 * manual/Makefile (chapters): Add syslog.
10298 * manual/syslog.texi: New file.
10299 * manual/math.texi: Fix references.
10300 * manual/terminal.texi: Likewise.
10301 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
10302
10303 2000-04-18 Jakub Jelinek <jakub@redhat.com>
10304
10305 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
10306 stdlib.h was not included or __USE_XOPEN not defined.
10307
10308 2000-04-23 Ulrich Drepper <drepper@redhat.com>
10309
10310 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
10311 Patch by Zack Weinberg <zack@wolery.cumb.org>.
10312
10313 2000-04-22 Ulrich Drepper <drepper@redhat.com>
10314
10315 * manual/examples/subopt.c (mount_opts): Add missing terminating
10316 entry.
10317 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
10318
10319 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
10320 * libio/ftello.c: Likewise.
10321 * libio/ftello64.c: Likewise.
10322 * libio/ioftell.c: Likewise.
10323 * sysdeps/generic/memrchr.c: Likewise.
10324 * sysdeps/posix/libc_fatal.c: Likewise.
10325 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10326 * misc/fstab.c: Include <string.h> for strcmp prototype.
10327 * sysdeps/generic/ldsodefs.h: Likewise.
10328 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10329 Patch by Kurt Roeckx <Q@ping.be>.
10330
10331 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
10332 Remove db-open. Change all uses.
10333 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
10334
10335 2000-04-21 Jakub Jelinek <jakub@redhat.com>
10336
10337 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
10338 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
10339 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
10340 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
10341 with .set noat/at to shut up warnings.
10342 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
10343 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
10344 compilation if __NR_pciconfig_iobase is not defined.
10345 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
10346 Add alias.
10347
10348 2000-04-21 Ulrich Drepper <drepper@redhat.com>
10349
10350 * manual/sysinfo.texi: Fix typo.
10351 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
10352 Replace "high precision time" with "high accuracy clock".
10353 Fix language.
10354 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
10355
10356 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
10357 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
10358 instead of malloc.
10359 * nis/nis_subr.c: Use __builtin_expect.
10360 * nis/ypclnt.c: Likewise.
10361 * nis/nis_getservlist.c: Likewise.
10362 * nis/nis_creategroup.c: Likewise.
10363
10364 * nis/nis_callback.c (__nis_create_callback): Check result of
10365 memory allocation. Fix memory leaks. Use __builtin_expect.
10366 (__nis_destroy_callback): Fix memory leaks.
10367
10368 2000-04-21 Andreas Jaeger <aj@suse.de>
10369
10370 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
10371 * sysdeps/mips/mips64/add_n.S: Likewise.
10372 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
10373 * sysdeps/mips/mips64/lshift.S: Likewise.
10374 * sysdeps/mips/mips64/mul_1.S: Likewise.
10375 * sysdeps/mips/mips64/rshift.S: Likewise.
10376 * sysdeps/mips/mips64/setjmp.S: Likewise.
10377 * sysdeps/mips/mips64/sub_n.S: Likewise.
10378 * sysdeps/mips/mips64/submul_1.S: Likewise
10379 * sysdeps/unix/mips/sysdep.S: Likewise.
10380
10381 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
10382 and update comment. The strtab from _dl_relocate_object can be
10383 used.
10384
10385 2000-04-21 Ulrich Drepper <drepper@redhat.com>
10386
10387 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
10388 * iconv/iconv_close.c (iconv_close): Likewise.
10389 * iconv/iconv_open.c (iconv_open): Likewise.
10390
10391 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
10392 __builtin_expect where useful.
10393
10394 * grp/initgroups.c (initgroups): Test for result of memory
10395 allocation and punt if it fails.
10396
10397 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
10398 * grp/fgetgrent.c (fgetfrent): Likewise.
10399 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
10400
10401 2000-04-21 Jakub Jelinek <jakub@redhat.com>
10402
10403 * libio/vasprintf.c: Include string.h to get memcpy prototype.
10404
10405 2000-04-20 Ulrich Drepper <drepper@redhat.com>
10406
10407 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
10408 don't search for NUL byte to decrement counter.
10409 Reported by Ulrich.Brink@sap.com.
10410
10411 * iconv/gconv_simple.c: Define separate functions to convert from
10412 UCS4/UCS4-LE to the internal encoding.
10413 * iconv/gconv_builtin.h: Use separate functions to convert from
10414 UCS4/UCS4-LE to the internal encoding.
10415 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
10416 __gconv_transform_ucs4le_internal.
10417
10418 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
10419 output buffer overflow. Reported by Ulrich.Brink@sap.com.
10420
10421 * iconv/skeleton.c: Add some more __builtin_expect.
10422 * iconv/loop.c: Likewise.
10423
10424 2000-03-08 H.J. Lu <hjl@gnu.org>
10425
10426 * posix/regex.c (regex_compile): Correctly handle "\{" when
10427 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
10428
10429 2000-04-20 Ulrich Drepper <drepper@redhat.com>
10430
10431 * manual/stdio.texi: Give advise about handling error when using
10432 stream functions.
10433 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
10434
10435 2000-04-19 Jakub Jelinek <jakub@redhat.com>
10436
10437 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
10438 field to nelems * sizeof (uint32_t).
10439 * locale/programs/ld-address.c (address_output): Align word fields
10440 properly.
10441 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10442 Don't restart idx pointers to idx end at the duo_int_curr_symbol
10443 field.
10444 Avoid giving arbitrary garbage in the crncystr field.
10445 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
10446 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
10447 fields.
10448 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10449 Don't restart idx pointers to idx end at the decimal_point_wc field.
10450 * locale/programs/ld-time.c (time_output): week_1stday should be
10451 word, not byte. Align it properly.
10452
10453 2000-04-19 H.J. Lu <hjl@gnu.org>
10454
10455 * csu/gmon-start.c (_start): Declared as "extern void".
10456 (etext): Likewise.
10457
10458 2000-04-18 Andreas Jaeger <aj@suse.de>
10459
10460 * manual/install.texi (Running make install): Don't mention utmpd
10461 anymore.
10462
10463 2000-04-18 Andreas Jaeger <aj@suse.de>
10464
10465 * linuxthreads/Versions: Use ld instead of ld.so.
10466
10467 * elf/Makefile (ld-map): Use ld.map.
10468
10469 * Versions.def: Use ld instead of ld.so.
10470 * elf/Versions: Likewise.
10471 * sysdeps/mach/hurd/Versions: Likewise.
10472
10473 2000-04-20 Andreas Jaeger <aj@suse.de>
10474
10475 * elf/rtld.c (print_statistics): Move ifndef further up.
10476 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
10477 (dl_main): Likewise.
10478
10479 2000-04-18 Ulrich Drepper <drepper@redhat.com>
10480
10481 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
10482 * gmon/Versions: Move moncontrol to GLIBC_2.2.
10483
10484 * po/cs.po: Update from translation team.
10485
10486 * sysdeps/generic/updwtmp.c: Remove daemon support.
10487
10488 * login/Makefile (routines): Remove utmp_daemon.
10489
10490 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
10491 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
10492 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
10493 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
10494
10495 * elf/rtld.c: Display statitics option also if hp timing is not
10496 available.
10497
10498 * login/programs/connection.c: Removed.
10499 * login/programs/database.c Removed.
10500 * login/programs/error.c: Removed.
10501 * login/programs/request.c: Removed.
10502 * login/programs/xtmp.c: Removed.
10503 * login/programs/xtmp.h: Removed.
10504 * login/Makefile: Remove rules for utmpd.
10505 * login/README.utmpd: Removed.
10506 * login/utmp_daemon.c: Removed.
10507 * login/getutent_r.c: Remove references to daemon functions.
10508 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
10509 declaration.
10510
10511 2000-04-18 Andreas Jaeger <aj@suse.de>
10512
10513 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
10514 2.2 for libnsl, libresolv, librt, libnss_*.
10515
10516 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
10517
10518 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
10519
10520 2000-04-18 Ulrich Drepper <drepper@redhat.com>
10521
10522 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
10523 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
10524 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
10525 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
10526 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
10527 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
10528 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
10529 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
10530 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
10531 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
10532 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
10533 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
10534 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
10535 it here.
10536 * sysdeps/unix/sysv/aix/msync.c: New file.
10537 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
10538 * sysdeps/unix/sysv/aix/net/if.h: New file.
10539 * sysdeps/unix/sysv/aix/pipe.c: New file.
10540 * sysdeps/unix/sysv/aix/poll.c: New file.
10541 * sysdeps/unix/sysv/aix/rename.c: New file.
10542 * sysdeps/unix/sysv/aix/rmdir.c: New file.
10543 * sysdeps/unix/sysv/aix/select.c: New file.
10544 * sysdeps/unix/sysv/aix/semctl.c: New file.
10545 * sysdeps/unix/sysv/aix/semget.c: New file.
10546 * sysdeps/unix/sysv/aix/semop.c: New file.
10547 * sysdeps/unix/sysv/aix/sendto.c: New file.
10548 * sysdeps/unix/sysv/aix/setgroups.c: New file.
10549 * sysdeps/unix/sysv/aix/setpgid.c: New file.
10550 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
10551 * sysdeps/unix/sysv/aix/setpriority.c: New file.
10552 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
10553 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
10554 * sysdeps/unix/sysv/aix/setsid.c: New file.
10555 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
10556 * sysdeps/unix/sysv/aix/shmat.c: New file.
10557 * sysdeps/unix/sysv/aix/shmctl.c: New file.
10558 * sysdeps/unix/sysv/aix/shmdt.c: New file.
10559 * sysdeps/unix/sysv/aix/shmget.c: New file.
10560 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
10561 * sysdeps/unix/sysv/aix/sigstack.c: New file.
10562 * sysdeps/unix/sysv/aix/socket.c: New file.
10563 * sysdeps/unix/sysv/aix/socketpair.c: New file.
10564 * sysdeps/unix/sysv/aix/speed.c: New file.
10565 * sysdeps/unix/sysv/aix/symlink.c: New file.
10566 * sysdeps/unix/sysv/aix/sync.c: New file.
10567 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
10568 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
10569 * sysdeps/unix/sysv/aix/times.c: New file.
10570 * sysdeps/unix/sysv/aix/ulimit.c: New file.
10571 * sysdeps/unix/sysv/aix/umask.c: New file.
10572 * sysdeps/unix/sysv/aix/unlink.c: New file.
10573 * sysdeps/unix/sysv/aix/ustat.c: New file.
10574 * sysdeps/unix/sysv/aix/utimes.c: New file.
10575
10576 2000-04-18 Andreas Jaeger <aj@suse.de>
10577
10578 * manual/startup.texi (Environment Access): Fix putenv prototype
10579 according to recent changes.
10580 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
10581 PR libc/1692.
10582
10583 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
10584 needed.
10585
10586 2000-04-18 Ulrich Drepper <drepper@redhat.com>
10587
10588 * posix/Makefile (tests): Add tst-getaddrinfo.
10589 * posix/tst-getaddrinfo.c: New file.
10590
10591 2000-04-17 Ulrich Drepper <drepper@redhat.com>
10592
10593 * manual/sysinfo.texi: Document that umount2 is not widely available.
10594
10595 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
10596 signal timing is not really implemented.
10597
10598 2000-04-17 Andreas Jaeger <aj@suse.de>
10599
10600 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
10601
10602 2000-04-17 Jakub Jelinek <jakub@redhat.com>
10603
10604 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
10605 and inst_libdir.
10606
10607 2000-04-17 Ulrich Drepper <drepper@redhat.com>
10608
10609 * manual/intro.texi: Change reference from System Information to
10610 System Management.
10611 * manual/users.texi: Likewise.
10612 * manual/conf.texi: Likewise.
10613 * manual/sysinfo.texi: Document mount, umount, and umount2.
10614 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
10615
10616 2000-04-17 Jakub Jelinek <jakub@redhat.com>
10617
10618 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
10619 Create wnumstr as well as numstr to support wide character output
10620 correctly.
10621
10622 2000-04-15 Jakub Jelinek <jakub@redhat.com>
10623
10624 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
10625 modification and move it...
10626 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
10627 Add -melf64_sparc switch to $(LD) on sparc64-linux.
10628 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
10629 switch to $(LD) on sparc-linux.
10630
10631 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
10632
10633 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
10634 and setresuid from sysdep_routines.
10635
10636 2000-04-17 Ulrich Drepper <drepper@redhat.com>
10637
10638 * manual/Makefile (chapters): Add resource.
10639
10640 * manual/time.texi: Move section on resources to...
10641 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
10642 and vtimes.
10643 * manual/setjmp.texi: Adjust back reference.
10644 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
10645
10646 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
10647 definition.
10648 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
10649 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
10650 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
10651 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
10652 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
10653 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
10654 * sysdeps/unix/sysv/aix/close.c: Add copyright.
10655 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
10656 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
10657 * sysdeps/unix/sysv/aix/access.c: Add copyright.
10658 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
10659 * sysdeps/unix/sysv/aix/Implies: New file.
10660 * sysdeps/unix/sysv/aix/Versions: New file.
10661 * sysdeps/unix/sysv/aix/bind.c: New file.
10662 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
10663 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
10664 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
10665 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
10666 * sysdeps/unix/sysv/aix/chdir.c: New file.
10667 * sysdeps/unix/sysv/aix/chmod.c: New file.
10668 * sysdeps/unix/sysv/aix/chroot.c: New file.
10669 * sysdeps/unix/sysv/aix/creat.c: New file.
10670 * sysdeps/unix/sysv/aix/dl-close.c: New file.
10671 * sysdeps/unix/sysv/aix/dl-open.c: New file.
10672 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
10673 * sysdeps/unix/sysv/aix/fchdir.c: New file.
10674 * sysdeps/unix/sysv/aix/fchmod.c: New file.
10675 * sysdeps/unix/sysv/aix/getgroups.c: New file.
10676 * sysdeps/unix/sysv/aix/gethostname.c: New file.
10677 * sysdeps/unix/sysv/aix/getpriority.c: New file.
10678 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
10679 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
10680 * sysdeps/unix/sysv/aix/getrusage.c: New file.
10681 * sysdeps/unix/sysv/aix/link.c: New file.
10682 * sysdeps/unix/sysv/aix/madvise.c: New file.
10683 * sysdeps/unix/sysv/aix/mkdir.c: New file.
10684 * sysdeps/unix/sysv/aix/mknod.c: New file.
10685 * sysdeps/unix/sysv/aix/mprotect.c: New file.
10686 * sysdeps/unix/sysv/aix/msgctl.c: New file.
10687 * sysdeps/unix/sysv/aix/msgget.c: New file.
10688 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
10689
10690 2000-04-17 Andreas Jaeger <aj@suse.de>
10691
10692 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
10693 as suggested by Ulrich Drepper.
10694 (__dl_runtime_resolve): Remove unused variable, initialize sym
10695 directly.
10696 (RTLD_START): Document OFFSET_GP_GOT.
10697 (OFFSET_GP_GOT): New magic value.
10698 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
10699 (elf_machine_got_rel): Only declare strtab if needed.
10700 (elf_machine_relplt): Removed, it's not needed.
10701 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
10702
10703 * sysdeps/mips/add_n.S: Add newline at EOF.
10704 * sysdeps/mips/rshift.S: Likewise.
10705 * sysdeps/mips/mul_1.S: Likewise.
10706 * sysdeps/mips/lshift.S: Likewise.
10707 * sysdeps/mips/addmul_1.S: Likewise.
10708
10709 2000-04-17 Ulrich Drepper <drepper@redhat.com>
10710
10711 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
10712
10713 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
10714 * elf/dl-lookup.c: Likewise.
10715 * elf/dl-init.c (_dl_init): Likewise.
10716 * elf/dl-fini.c (_dl_fini): Likewise.
10717 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
10718 * elf/dl-close.c (_dl_close): Likewise.
10719 * elf/rtld.c (_dl_start_final): Likewise.
10720
10721 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
10722
10723 2000-04-15 Ulrich Drepper <drepper@redhat.com>
10724
10725 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
10726 only fall back on using Linux.
10727
10728 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
10729 Before testing versions check that we actually loaded the object
10730 and whether we are in trace mode. If not loaded during tracing don't
10731 test versions in this object.
10732 (_dl_check_all_versions): Take new parameter and pass to
10733 _dl_check_map_versions.
10734 * sysdeps/generic/ldsodefs.h: Update prototypes for
10735 _dl_check_all_versions and _dl_check_map_versions.
10736 * elf/rtld.c (struct version_check_args): Add dotrace.
10737 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
10738 (dl_main): Pass info about trace mode to version_check_doit.
10739 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
10740 _dl_check_all_versions.
10741
10742 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
10743 and getutmpx.
10744 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
10745
10746 * manual/argp.texi: Document index parameter of argp_parse.
10747 Fix typo.
10748 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
10749
10750 2000-04-14 Andreas Jaeger <aj@suse.de>
10751
10752 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
10753 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
10754
10755 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
10756
10757 2000-04-15 Ulrich Drepper <drepper@redhat.com>
10758
10759 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
10760 compat_symbol call for old adjtime.
10761
10762 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
10763 function interface. Patch by Richard Henderson <rth@cygnus.com>.
10764
10765 * posix/Makefile (headers): Add spawn.h.
10766 (distribute): Add spawn_int.h.
10767 (routines): Add spawn_faction_init, spawn_faction_destroy,
10768 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
10769 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
10770 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
10771 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
10772 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
10773 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
10774 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
10775 posix_spawnattr_init, posix_spawnattr_destroy,
10776 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
10777 posix_spawnattr_getflags, posix_spawnattr_setflags,
10778 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
10779 and posix_spawnp.
10780 * posix/spawn.c: New file.
10781 * posix/spawn.h: New file.
10782 * posix/spawn_faction_addclose.c: New file.
10783 * posix/spawn_faction_adddup2.c: New file.
10784 * posix/spawn_faction_addopen.c: New file.
10785 * posix/spawn_faction_destroy.c: New file.
10786 * posix/spawn_faction_init.c: New file.
10787 * posix/spawn_int.h: New file.
10788 * posix/spawnattr_destroy.c: New file.
10789 * posix/spawnattr_getdefault.c: New file.
10790 * posix/spawnattr_getflags.c: New file.
10791 * posix/spawnattr_getpgroup.c: New file.
10792 * posix/spawnattr_getschedparam.c: New file.
10793 * posix/spawnattr_getschedpolicy.c: New file.
10794 * posix/spawnattr_getsigmask.c: New file.
10795 * posix/spawnattr_init.c: New file.
10796 * posix/spawnattr_setdefault.c: New file.
10797 * posix/spawnattr_setflags.c: New file.
10798 * posix/spawnattr_setpgroup.c: New file.
10799 * posix/spawnattr_setschedparam.c: New file.
10800 * posix/spawnattr_setschedpolicy.c: New file.
10801 * posix/spawnattr_setsigmask.c: New file.
10802 * posix/spawni.c: New file.
10803 * posix/spawnp.c: New file.
10804
10805 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
10806 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
10807
10808 2000-04-14 Ulrich Drepper <drepper@redhat.com>
10809
10810 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
10811 * malloc/malloc.c: Implement posix_memalign for glibc.
10812 * include/stdlib.h: Add prototype for __posix_memalign.
10813 * stdlib/stdlib.h: Add prototype for posix_memalign.
10814
10815 2000-04-14 Andreas Jaeger <aj@suse.de>
10816
10817 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
10818 symidx correctly.
10819 (elf_machine_got_rel): Cast sym correctly.
10820
10821 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
10822 * sysdeps/mips/addmul_1.S: Likewise.
10823 * sysdeps/mips/lshift.S: Likewise.
10824 * sysdeps/mips/mul_1.S: Likewise.
10825 * sysdeps/mips/rshift.S: Likewise.
10826 * sysdeps/mips/sub_n.S: Likewise.
10827 * sysdeps/mips/submul_1.S: Likewise.
10828
10829 * stdlib/stdlib.h: Fix typo in comment.
10830
10831 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
10832 2.2 for libdl, ld and libm.
10833
10834 * sysdeps/generic/madvise.c: Fix typos.
10835
10836 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
10837
10838 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
10839
10840 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
10841 warnings.
10842
10843 2000-04-14 Ulrich Drepper <drepper@redhat.com>
10844
10845 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
10846 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
10847 Make old name weak alias.
10848 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
10849 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
10850 Make old name weak alias.
10851 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
10852
10853 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
10854 posix_fallocate, and posix_fallocate64.
10855 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
10856 posix_fallocate, and posix_fallocate64.
10857 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
10858 posix_fallocate, and posix_fallocate64.
10859 * sysdeps/generic/fadvise.c: New file.
10860 * sysdeps/generic/fadvise64.c: New file.
10861 * sysdeps/generic/fallocate.c: New file.
10862 * sysdeps/generic/fallocate64.c: New file.
10863 * sysdeps/posix/fallocate.c: New file.
10864 * sysdeps/posix/fallocate64.c: New file.
10865 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
10866 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
10867 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
10868 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
10869 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
10870 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
10871 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10872 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
10873 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10874
10875 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
10876 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10877
10878 2000-04-13 Ulrich Drepper <drepper@redhat.com>
10879
10880 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
10881 * misc/sys/mman.h (posix_madvise): Add prototype.
10882 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
10883 old name and posix_madvise weak aliases.
10884 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10885 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
10886 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
10887 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
10888 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
10889 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10890 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10891
10892 2000-04-13 Andreas Jaeger <aj@suse.de>
10893
10894 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
10895 versioning.
10896 (elf_machine_got_rel): Only add runtime display if needed.
10897 (elf_machine_got_rel): Handle symbol versioning.
10898
10899 2000-04-13 Andreas Jaeger <aj@suse.de>
10900
10901 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
10902
10903 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
10904 default.
10905
10906 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
10907 with some applications.
10908 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
10909
10910 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
10911 * sysdeps/mips/bsd-_setjmp.S: Likewise.
10912 * sysdeps/mips/setjmp.S: Likewise.
10913
10914 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
10915
10916 2000-04-13 Ulrich Drepper <drepper@redhat.com>
10917
10918 * posix/globtest.sh: Work around inconsistency with expanding ~/
10919 in shell (PR libc/1690). Reported by patsmith@pobox.com.
10920
10921 2000-04-12 Ulrich Drepper <drepper@redhat.com>
10922
10923 * posix/getconf.c: Add support for many more POSIX options.
10924 * sysdeps/posix/sysconf.c: Likewise.
10925 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
10926 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
10927 _POSIX_SHELL.
10928 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
10929 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
10930 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
10931 CLOCK_THREAD_CPUTIME_ID.
10932 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
10933 CLOCK_PROCESS_CPUTIME_ID.
10934 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
10935 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
10936 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
10937 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
10938
10939 * malloc/Makefile (tests): Add tst-calloc.
10940 * malloc/tst-calloc.c: New file.
10941
10942 * sysdeps/arm/libm-test-ulps: New file.
10943
10944 * malloc/malloc.c: Undo all of today's changes.
10945
10946 * locale/programs/locale.c (show_info): Don't try to look into
10947 data for LC_ALL (there is none).
10948
10949 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
10950 avoid writing over boundary.
10951 Patch by Greg McGary <gkm@eng.ascend.com>.
10952
10953 * sysdeps/arm/memprof.h: New file.
10954
10955 2000-04-12 Andreas Jaeger <aj@suse.de>
10956
10957 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
10958
10959 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
10960 for memmem declaration.
10961
10962 2000-04-12 Ulrich Drepper <drepper@redhat.com>
10963
10964 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
10965 to -1.
10966 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
10967
10968 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
10969 mode is invalid.
10970 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
10971 Patch by Bart Veer <bartv@redhat.com>.
10972
10973 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
10974 function interface.
10975
10976 2000-04-11 Andreas Jaeger <aj@suse.de>
10977
10978 * sysdeps/mips/dl-machine.h: Update some comments.
10979 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
10980
10981 2000-04-11 Ulrich Drepper <drepper@redhat.com>
10982
10983 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
10984 _POSIX_SHARED_MEMORY_OBJECTS.
10985
10986 * rt/Makefile (tests): Add tst-shm.
10987 Add rules to generate tst-shm.
10988 * rt/tst-shm.c: New file.
10989
10990 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
10991 for descriptor.
10992
10993 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
10994 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
10995 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
10996 * sysdeps/generic/shm_open.c: New file.
10997 * sysdeps/generic/shm_unlink.c: New file.
10998 * sysdeps/unix/sysv/linux/shm_open.c: New file.
10999 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
11000 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
11001 __endmntent, __getmntent_r, __setmntent, and __statfs.
11002
11003 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
11004 fragmentation by allocating new memory at the end instead of
11005 reallocating.
11006
11007 * posix/globtest.sh: Fix last change.
11008
11009 2000-04-10 Philip Blundell <philb@gnu.org>
11010
11011 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
11012 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
11013 IPV6_DROP_MEMBERSHIP.
11014 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
11015 Likewise.
11016
11017 2000-04-11 Ulrich Drepper <drepper@redhat.com>
11018
11019 * elf/readlib (process_file): Close streams in case of an error.
11020
11021 2000-04-09 Andreas Jaeger <aj@suse.de>
11022
11023 * elf/readlib.c (process_file): Check if file is big enough to
11024 contain aout and ELF headers.
11025 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
11026
11027 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
11028
11029 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
11030
11031 2000-04-11 Ulrich Drepper <drepper@redhat.com>
11032
11033 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
11034 stream unbuffered.
11035 * rt/Makefile (tests): Add tst-clock.
11036 Add rules to build tst-clock.
11037 * rt/tst-clock.c: New file.
11038 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
11039 about initialization of nsec.
11040 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
11041 about initialization of freq. Set retval to zero if successful.
11042 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
11043
11044 2000-04-10 Ulrich Drepper <drepper@redhat.com>
11045
11046 * Versions.def (librt): Add GLIBC_2.2.
11047 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
11048 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
11049 timer_getoverr, timer_gettime, and timer_settime.
11050 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
11051 clock_settime, timer_create, timer_delete, timer_getoverrun,
11052 timer_gettime, and timer_settime.
11053 * sysdeps/generic/clock_getcpuclockid.c: New file.
11054 * sysdeps/generic/get_clockfreq.c: New file.
11055 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
11056 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
11057 * sysdeps/mach/hurd/i386/bits/time.h: New file.
11058 * sysdeps/unix/i386/i586/clock_getres.c: New file.
11059 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
11060 * sysdeps/unix/i386/i686/Implies: New file.
11061 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
11062 * time/Makefile (routines): Move clock_getres, clock_gettime,
11063 clock_settime, timer_create, timer_delete, timer_getoverr,
11064 timer_gettime, and timer_settime to rt/Makefile.
11065 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
11066 clock_settime, timer_create, timer_delete, timer_getoverrun,
11067 timer_gettime, and timer_settime.
11068 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
11069
11070 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
11071 and not const as attribute name.
11072
11073 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
11074
11075 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
11076
11077 2000-04-10 Andreas Schwab <schwab@suse.de>
11078
11079 * posix/globtest.sh: Skip tests that depend on unreadable
11080 directories if run as root.
11081
11082 2000-04-10 Ulrich Drepper <drepper@redhat.com>
11083
11084 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
11085 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
11086
11087 2000-04-09 Ulrich Drepper <drepper@redhat.com>
11088
11089 * sysdeps/unix/clock_gettime.c: New file.
11090 * sysdeps/unix/clock_settime.c: New file.
11091 * sysdeps/posix/clock_getres.c: New file.
11092
11093 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
11094
11095 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
11096 lseek call be passing in a buffer which never allow a successful
11097 first getdents syscall if not at leas the initial entry can be
11098 stored in the user buffer.
11099
11100 * localedata/Makefile: Add rules to clean up directories created by
11101 new strfmon tests.
11102
11103 2000-04-09 Geoff Clare <gwc@unisoft.com>
11104
11105 * localedata/tst-fmon.data: Added new tests for strfmon()
11106 using test locales with all combinations of cs_precedes,
11107 sign_posn and sep_by_space.
11108 * localedata/tst-fmon.sh: Updated to support the new tests.
11109 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
11110 the localedef source for the new strfmon() test locale.
11111 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
11112 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
11113 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
11114 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
11115 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
11116 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
11117 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
11118 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
11119 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
11120 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
11121 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
11122 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
11123 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
11124 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
11125
11126 * stdlib/strfmon.c: Correct problems with missing or extra
11127 spaces for unusual combinations of sign_posn and sep_by_space.
11128 Improved left-precision alignment code.
11129
11130 2000-04-07 Andreas Jaeger <aj@suse.de>
11131
11132 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
11133
11134 2000-04-10 Andreas Jaeger <aj@suse.de>
11135
11136 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
11137
11138 2000-04-09 Ulrich Drepper <drepper@redhat.com>
11139
11140 Implement handling of restartable conversion functions according to
11141 ISO C.
11142 * iconv/gconv.h (__gconv_fct): Add additional parameter.
11143 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
11144 * iconv/gconv.c: Pass additional parameter to conversion function.
11145 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
11146 (internal_ucs4le_loop_single): New function.
11147 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
11148 (__gconv_transform_internal_ascii): Likewise.
11149 (__gconv_transform_internal_utf8): Likewise.
11150 (__gconv_transform_utf8_internal): Likewise.
11151 (__gconv_transform_ucs2_internal): Likewise.
11152 (__gconv_transform_internal_ucs2): Likewise.
11153 (__gconv_transform_ucs2reverse_internal): Likewise.
11154 (__gconv_transform_internal_ucs2reverse): Likewise.
11155 (internal_ucs4le_loop_unaligned): Before return
11156 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
11157 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
11158 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
11159 * iconv/loop.c: Fit in definition of function to convert one character
11160 for processing of left-over bytes from the state object.
11161 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
11162 inend to match names in loop functions.
11163 (RESET_INPUT_BUFFER): Change apprpriately.
11164 (gconv): If needed, call function to process bytes from the state
11165 object. Similar at the end: store left over bytes if input is
11166 incomplete.
11167 Take extra argument and add new argument to all calls of the
11168 conversion function.
11169 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
11170 information in the state object to not conflict with length count.
11171 * iconvdata/iso-2022-jp.c: Likewise.
11172 * iconvdata/iso-2022-kr.c: Likewise.
11173 * iconvdata/unicode.c: Adjust for change change in parameters of
11174 skeleton function.
11175 * iconvdata/utf-16.c: Likewise.
11176 * libio/iofwide.c: Add new parameter to all calls of conversion
11177 function.
11178 * wcsmbs/btowc.c: Likewise.
11179 * wcsmbs/mbrtowc.c: Likewise.
11180 * wcsmbs/mbsnrtowcs.c: Likewise.
11181 * wcsmbs/mbsrtowcs.c: Likewise.
11182 * wcsmbs/wcrtomb.c: Likewise.
11183 * wcsmbs/wcsnrtombs.c: Likewise.
11184 * wcsmbs/wcsrtombs.c: Likewise.
11185 * wcsmbs/wctob.c: Likewise.
11186
11187 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
11188 MAX_NEEDED_INPUT.
11189
11190 2000-04-07 Andreas Jaeger <aj@suse.de>
11191
11192 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
11193 newer kernels.
11194
11195 2000-04-07 Ulrich Drepper <drepper@redhat.com>
11196
11197 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
11198 element a union to allow byte access.
11199 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
11200 mbstate_t.
11201 * iconvdata/iso-2022-jp.c: Likewise.
11202 * iconvdata/iso-2022-kr.c: Likewise.
11203 * wcsmbs/mbsinit.c: Likewise.
11204 * stdlib/mblen.c: Likewise.
11205 * stdio-common/printf-parse.h: Likewise.
11206
11207 2000-04-06 Ulrich Drepper <drepper@redhat.com>
11208
11209 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
11210 kernel does not allow relative seeks on descriptors associated
11211 with directories. Go back to get the position in the directory
11212 every time we enter the function. Return -1 and set errno if one
11213 entry could be read from the kernel but does not fit into the
11214 buffer passed in by the user.
11215
11216 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
11217 Support ..(2).. ellipsis.
11218 (parse_charmap): Recognize ..(2).. etc and pass step down.
11219 Correctly generate names for UCS4 characters.
11220
11221 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
11222 (ctype_finish): We know the wide character value for <SP>,
11223 don't search.
11224 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
11225 (charclass_ucs4_ellipsis): Likewise.
11226 (read_translit_ignore_entry): Store ellipsis step.
11227 (ctype_read): Recognize ..(2).. etc and pass step down.
11228
11229 * locale/programs/linereader.c (lr_token): When seeing comment
11230 character ignore only rest of line in sources but stop at escaped
11231 newline.
11232 Recognize ..(2).. and ....(2).....
11233
11234 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
11235 and tok_ellipsis4_2.
11236
11237 2000-04-06 Andreas Jaeger <aj@suse.de>
11238
11239 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
11240 removed, remove it here also.
11241 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
11242 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
11243 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
11244 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
11245
11246 2000-04-06 Jakub Jelinek <jakub@redhat.com>
11247
11248 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
11249 include bits/sigcontext.h.
11250 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
11251
11252 2000-04-06 Ulrich Drepper <drepper@redhat.com>
11253
11254 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
11255 collation symbol definition. Value in quivalence definition must
11256 be defined, don't check that it is not.
11257
11258 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
11259 values as character names.
11260
11261 * locale/programs/ld-ctype.c (get_character): Handle missing
11262 repertoire map correctly.
11263
11264 2000-04-05 Cristian Gafton <gafton@redhat.com>
11265
11266 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
11267 because it is used in generic code.
11268 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
11269 * wcsmbs/wcwidth.h: Declare __ctype32_b.
11270 * intl/gettext.c: Include <locale.h>.
11271 * intl/ngettext.c: Likewise.
11272
11273 2000-04-05 Jakub Jelinek <jakub@redhat.com>
11274
11275 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
11276 socklen_t type for size.
11277 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
11278 init function interface.
11279 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11280 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
11281 sys/ucontext.h.
11282 (__jmp_buf): Declare the whole type structure here, don't use
11283 ucontext.
11284
11285 2000-04-05 Ulrich Drepper <drepper@redhat.com>
11286
11287 * iconv/skeleton.c (put16u): Fix typo.
11288 Reported by Bruno Haible <haible@ilog.fr>.
11289
11290 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
11291 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
11292 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
11293 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
11294 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
11295 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
11296
11297 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
11298 * Makefile (distribute): Add abi-versions.awk and
11299 firstversions.awk.
11300 Patches by Torsten Duwe <duwe@caldera.de>.
11301
11302 2000-04-05 Andreas Schwab <schwab@suse.de>
11303
11304 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
11305
11306 2000-04-05 Andreas Schwab <schwab@suse.de>
11307
11308 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
11309 entry point, used on Hurd.
11310
11311 2000-04-04 Andreas Jaeger <aj@suse.de>
11312
11313 * intl/Makefile: Only run the gettext test with shared libraries.
11314
11315 2000-03-16 Mark Kettenis <kettenis@gnu.org>
11316
11317 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
11318 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
11319
11320 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
11321
11322 * Makeconfig: Undo last change.
11323 * configure.in: If --disable-shared was given, don't set VERSIONING,
11324 don't define DO_VERSIONING, and don't give scare warning for no
11325 versioning.
11326 * configure: Regenerated.
11327
11328 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
11329
11330 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
11331
11332 2000-04-04 Andreas Jaeger <aj@suse.de>
11333
11334 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
11335
11336 2000-04-04 Ulrich Drepper <drepper@redhat.com>
11337
11338 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
11339 STV_HIDDEN and STV_INTERNAL during lookup.
11340 (profile_fixup): Likewise.
11341 * elf/dl-reloc.c (RESOLVE): Likewise.
11342
11343 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
11344 unaligned so that it compiles for system which need unaligned
11345 access handling.
11346
11347 2000-04-04 Andreas Schwab <schwab@suse.de>
11348
11349 * elf/cache.c (print_entry): Only look at the type field when
11350 printing the type.
11351
11352 2000-04-04 Andreas Schwab <schwab@suse.de>
11353
11354 * iconvdata/big5.c (BODY): Fix typo.
11355
11356 2000-04-04 Andreas Schwab <schwab@suse.de>
11357
11358 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
11359 function interface. Remove unused _dl_start_user entry point.
11360
11361 2000-04-03 Andreas Jaeger <aj@suse.de>
11362
11363 * include/arpa/inet.h (__inet_aton): Add protoype.
11364
11365 2000-04-01 Andreas Jaeger <aj@suse.de>
11366
11367 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
11368
11369 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
11370 * sysdeps/mach/mips/thread_state.h: Likewise.
11371
11372 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
11373 * sysdeps/generic/fegetenv.c: Likewise.
11374 * sysdeps/generic/fesetenv.c: Likewise.
11375 * sysdeps/generic/feupdateenv.c: Likewise.
11376 * sysdeps/generic/fraiseexcpt.c: Likewise.
11377 * sysdeps/generic/fsetexcptflg.c: Likewise.
11378 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
11379 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
11380 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
11381 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
11382
11383 2000-04-02 H.J. Lu <hjl@gnu.org>
11384
11385 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
11386
11387 2000-04-03 Ulrich Drepper <drepper@redhat.com>
11388
11389 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
11390 (add_name_to_object): Add cast in malloc call.
11391 (fillin_rpath): Optimize loop to initialize ->status a bit.
11392
11393 * sysdeps/i386/dl-machine.h: Undo last change.
11394 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
11395 Restore %edx register after call here.
11396
11397 * sysdeps/arm/atomicity.h: New file.
11398 Contributed by Jesper Skov <jskov@redhat.com>.
11399
11400 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
11401
11402 * Makeconfig (preprocess-versions): Undo last change.
11403 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
11404
11405 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
11406 here, before we might move the stack.
11407 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
11408 (init1): And not here.
11409
11410 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
11411 change, to restore argc value in call-clobbered register after
11412 RTLD_START_SPECIAL_INIT, which will contain a call.
11413
11414 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
11415 allocating and initializing L->l_initfini.
11416
11417 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
11418
11419 2000-04-03 Ulrich Drepper <drepper@redhat.com>
11420
11421 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
11422 RUNPATH, RPATH, and LD_LIBRARY_PATH.
11423 (open_path): Change type of fourth parameter. Make pointer to array
11424 of pointers. Create variable dirs with original type.
11425 Track whether any directory for the object exists and if not,
11426 change *DIRSP to (void*) -1 to signal there is no such search path.
11427 (_dl_map_object): Change all calls of open_path.
11428 Rewrite decompose_rpath calls.
11429
11430 2000-03-31 Andreas Schwab <schwab@suse.de>
11431
11432 * string/strfry.c: Declare STATE as array of char instead of int
11433 and do not initialize it (done by initstate_r). Pass correct
11434 size.
11435
11436 2000-04-03 Ulrich Drepper <drepper@redhat.com>
11437
11438 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
11439
11440 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
11441 instruction out of the code.
11442
11443 2000-04-02 Ulrich Drepper <drepper@redhat.com>
11444
11445 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
11446 element at this position.
11447
11448 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
11449 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
11450 l_reldeps elements.
11451 * elf/dl-lookup.c (add_dependency): New function.
11452 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
11453 dynamically loaded object.
11454 (_dl_lookup_symbol_skip): Likewise.
11455 (_dl_lookup_versioned_symbol): Likewise.
11456 (_dl_lookup_versioned_symbol_skip): Likewise.
11457 * elf/dl-open.c: Don't define _dl_load_lock here...
11458 * elf/rtld.c: ...but here...
11459 * elf/dl-support.c: ...and here.
11460 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
11461 through relocation.
11462 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
11463 relocations.
11464 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
11465 anymore.
11466 * dlfcn/glrefmain.c: Add one more debug message.
11467
11468 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
11469 command line.
11470 * Makerules (sysd-versions): Use ( ) instead of { }.
11471
11472 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
11473 optimize for the non-debugging case.
11474 * elf/dl-lookup.c: Likewise.
11475 * sysdeps/generic/libc-start.c: Likewise.
11476
11477 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
11478
11479 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
11480 (init1): Don't initialize __environ here, since init already does it.
11481 (first_init): New function, broken out of _init.
11482 (_hurd_stack_setup): Use it.
11483 [SHARED] (_dl_init_first): New function, renamed from old _init.
11484 (init1) [SHARED]: Don't call posixland_init here.
11485 (posixland_init): Take ENVP arg, so signature is usual for initializer.
11486 [SHARED] (_init): Define as alias for posixland_init.
11487 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
11488 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
11489 RTLD_START_SPECIAL_INIT before calling initializers.
11490 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
11491 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
11492 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
11493 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
11494
11495 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
11496 since we define the function with the name `tmpfile'.
11497
11498 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
11499 * hurd/Versions: Likewise.
11500
11501 2000-04-02 Ulrich Drepper <drepper@redhat.com>
11502
11503 * elf/dl-runtime.c (fixup): Fix typo in comment.
11504
11505 * resolv/netdb.h (getnameinfo): All length parameters are of type
11506 socklen_t.
11507 * inet/getnameinfo.c: Likewise.
11508
11509 2000-04-01 Ulrich Drepper <drepper@redhat.com>
11510
11511 * posix/unistd.h (socklen_t): Define if it has not yet happened.
11512 (gethostname): Change type of second parameter to socklen_t.
11513 * include/unistd.h (__gethostname): Change type of second
11514 parameter to socklen_t.
11515 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
11516 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
11517 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
11518 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
11519 Likewise.
11520 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
11521 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
11522 Allow definition elsewhere.
11523 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
11524 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11525 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
11526 * sysdeps/generic/bits/types.h: Define __socklen_t.
11527 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
11528 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
11529 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
11530 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
11531 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
11532 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
11533 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
11534
11535 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
11536 (inet_lnaof): Likewise.
11537 (inet_netof): Likewise.
11538 (inet_network): Likewise.
11539 (inet_aton): Likewise.
11540 (inet_makeaddr): Change parameter types to in_addr_t.
11541 (inet_neta): Likewise.
11542 (inet_ntop): Change type of last parameter to socklen_t.
11543 (inet_aton): Only make available if __USE_MISC.
11544 (inet_neta): Likewise.
11545 (inet_net_ntop): Likewise.
11546 (inet_net_pton): Likewise.
11547 (inet_nsap_ntoa): Likewise.
11548
11549 * inet/in.h: Define in_port_t type.
11550 Define in_addr_t type.
11551 (struct in_addr): Use in_addr_t in definition.
11552 (IN_CLASSA): Use cast to in_addr_t.
11553 (IN_CLASSB): Likewise.
11554 (IN_CLASSC): Likewise.
11555 (IN_CLASSD): Likewise.
11556 (IN_EXPERIMENTAL): Likewise.
11557 (IN_BADCLASS): Likewise.
11558 (INADDR_ANY): Likewise.
11559 (INADDR_BROADCAST): Likewise.
11560 (INADDR_NONE): Likewise.
11561 (INADDR_LOOPBACK): Likewise.
11562 (INADDR_UNSPEC_GROUP): Likewise.
11563 (INADDR_ALLHOSTS_GROUP): Likewise.
11564 (INADDR_ALLRTRS_GROUP): Likewise.
11565 (INADDR_MAX_LOCAL_GROUP): Likewise.
11566 (struct sockaddr_in): Use in_port_t for sin_port element.
11567 (struct sockaddr_in6): Use in_port_t for sin6_port element.
11568 Use uint8_t instead of u_int8_t.
11569
11570 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
11571 Call __inet_aton instead of inet_aton.
11572 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
11573
11574 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
11575 (innetgr): Likewise.
11576 (struct addrinfo): Use socklen_t for ai_addrlen element.
11577
11578 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
11579 IPV6_RECVERR): New defines.
11580
11581 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
11582 * inet/getnetbyad.c: Likewise.
11583 * inet/getnetbyad_r.c: Likewise.
11584 * nis/nss_nis/nis-network.c: Likewise.
11585 * nis/nssplus_nis/nisplus-network.c: Likewise.
11586 * nss/nss_files/files-network.c: Likewise.
11587 * resolv/netdb.h: Define uint32_t if not already happened.
11588 Include bits/netdb.h. Remove definition of struct netent.
11589 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
11590 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
11591 * sysdeps/generic/bits/netdb.h: New file.
11592 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
11593
11594 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
11595 (tests): Add glrefmain.
11596 Add rules to build modules and run tests. Ignore result of glrefmain
11597 for now since it fails.
11598 * dlfcn/glrefmain.c: New file.
11599 * dlfcn/glreflib1.c: New file.
11600 * dlfcn/glreflib2.c: New file.
11601
11602 * test-skeleton.c: Include <string.h> for strsignal prototype.
11603
11604 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
11605 to be missing.
11606
11607 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
11608 former init-first.h. Initialize __libc_multiple_libcs.
11609
11610 2000-03-31 Ulrich Drepper <drepper@redhat.com>
11611
11612 * iconv/skeleton.c: Define access macros with u suffix. Adjust
11613 #if expression for use of unaligned function to the one used in
11614 the definition of these functions.
11615 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
11616 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
11617 (internal_ucs4le_loop_unaligned): New function.
11618
11619 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
11620 (tests): Add order.
11621 (module-names): Add dep1, dep2, dep3, and dep4.
11622 Add dependencies for dep* modules and order.
11623 Define rule for order.out which checks the result.
11624 * elf/dep1.c: New file.
11625 * elf/dep2.c: New file.
11626 * elf/dep3.c: New file.
11627 * elf/dep4.c: New file.
11628 * elf/order.c: New file.
11629
11630 * elf/dl-init.c: Fix typo in comment.
11631
11632 2000-03-31 Andreas Jaeger <aj@suse.de>
11633
11634 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
11635 init function interface.
11636 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
11637
11638 2000-03-31 Andreas Jaeger <aj@suse.de>
11639
11640 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
11641 * sysdeps/mips/fpu/fegetenv.c: Likewise.
11642 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
11643 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
11644 * sysdeps/mips/fpu/fesetenv.c: Likewise.
11645
11646 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
11647 anymore, update comment.
11648
11649 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11650
11651 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
11652 SHLIB_COMPAT - the struct is always needed.
11653
11654 2000-03-31 Ulrich Drepper <drepper@redhat.com>
11655
11656 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
11657 * elf/dl-support.c: Define _dl_starting_up.
11658
11659 2000-03-30 Ulrich Drepper <drepper@redhat.com>
11660
11661 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
11662 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
11663
11664 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
11665
11666 * elf/Makefile (dl-routines): Remove preinit.
11667 * elf/Versions: Remove _dl_preinit.
11668 * elf/dl-preinit.c: Removed. Move content into...
11669 * elf/dl-init.c: ...here.
11670 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
11671
11672 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
11673 elements.
11674
11675 2000-03-29 Geoff Clare <gwc@unisoft.com>
11676
11677 * stdlib/strfmon.c: Corrected problems with the code that
11678 sets default values for [np]_sep_by_space and
11679 [np]_sign_posn; also the new positive/negative alignment
11680 code from the previous patch was not quite right for
11681 [np]_sign_posn = 0.
11682
11683 * localedata/tst-fmon.data: Changes corresponding to the
11684 two sets of fixes made to stdlib/strfmon.c.
11685
11686 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
11687
11688 * malloc/malloc.c: Declare bit flags UL so that they will not
11689 default to int size when being inverted.
11690
11691 2000-03-29 Andreas Jaeger <aj@suse.de>
11692
11693 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
11694 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
11695
11696 2000-03-29 Andreas Jaeger <aj@suse.de>,
11697 Ralf Baechle <ralf@uni-koblenz.de>
11698
11699 * Makeconfig: Introduce new variable SHARED to mark code used in
11700 the shared library.
11701 * elf/dl-close.c: Use it instead of PIC.
11702 * elf/dl-load.c: Likewise.
11703 * elf/dl-open.c: Likewise.
11704 * hurd/geteuids.c: Likewise.
11705 * include/libc-symbols.h: Likewise.
11706 * include/shlib-compat.h: Likewise.
11707 * libio/freopen.c: Likewise.
11708 * linuxthreads/cancel.c: Likewise.
11709 * linuxthreads/pthread.c: Likewise.
11710 * linuxthreads/wrapsyscall.c: Likewise.
11711 * nss/nsswitch.c: Likewise.
11712 * stdio-common/vfprintf.c: Likewise.
11713 * sysdeps/arm/init-first.c: Likewise.
11714 * sysdeps/i386/init-first.c: Likewise
11715 * sysdeps/generic/init-first.c: Likewise.
11716 * sysdeps/generic/libc-start.c: Likewise.
11717 * sysdeps/mips/init-first.c: Likewise.
11718 * sysdeps/powerpc/elf/libc-start.c: Likewise.
11719 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
11720 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
11721 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
11722 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
11723
11724 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
11725
11726 2000-03-29 Andreas Jaeger <aj@suse.de>
11727
11728 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
11729 Use D_PTR to access relocated entries in l_info.
11730 (elf_machine_rela): Likewise.
11731
11732 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
11733 Likewise.
11734 (elf_machine_rela): Likewise.
11735
11736 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
11737 Likewise.
11738 (__elf_machine_fixup_plt): Likewise.
11739 (__process_machine_rela): Likewise.
11740
11741 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
11742 (elf_machine_rela): Likewise.
11743
11744 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
11745 (elf_machine_rel): Likewise.
11746
11747 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
11748 (elf_machine_fixup_plt): Likewise.
11749 (elf_machine_rela): Likewise.
11750
11751 2000-03-29 Andreas Jaeger <aj@suse.de>
11752
11753 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
11754 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11755 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11756 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
11757 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
11758 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
11759 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
11760 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
11761 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
11762 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
11763 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
11764 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
11765 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
11766 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
11767 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11768
11769 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
11770 macros, remove K&R prototypes.
11771
11772 2000-03-30 Ulrich Drepper <drepper@redhat.com>
11773
11774 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
11775 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
11776 (PR libc/1677).
11777
11778 2000-03-30 Andreas Jaeger <aj@suse.de>
11779
11780 * misc/sys/cdefs.h: Remove K&R support.
11781
11782 2000-03-30 Ulrich Drepper <drepper@redhat.com>
11783
11784 * iconv/skeleton.c: Avoid compiling unaligned versions in some
11785 more cases.
11786 * iconv/loop.c: Likewise.
11787
11788 2000-03-29 Bruno Haible <haible@clisp.cons.org>
11789
11790 * iconv/loop.c (put16): Remove __const. Fix access index.
11791 (put32): Remove __const. Use uint32_t instead of uint16_t.
11792 * iconv/skeleton.c: Likewise.
11793
11794 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
11795
11796 * mach/Versions (libc: GLIBC_2.0)
11797 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
11798 __vm_allocate on this.
11799 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
11800 mutex- and spinlock-related symbols on this.
11801 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
11802 New version set. Lock-related symbols go here instead in this case.
11803 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
11804 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
11805 cthread_getspecific, cthread_setspecific, __libc_getspecific.
11806 * hurd/Versions
11807 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
11808 Put them here instead.
11809 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
11810 New version set. Those cthreads symbols go here instead in this case.
11811 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
11812
11813 2000-03-30 Ulrich Drepper <drepper@redhat.com>
11814
11815 * elf/dl-init.c (_dl_init): We don't need to call constructors
11816 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
11817
11818 Implement dynamic determination of constructor/destructor order in
11819 the dynamic linker.
11820 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
11821 (GLIBC_2.2): Add _dl_init.
11822 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
11823 r_duplist is not anymore allocated separately. l_initfini is and
11824 therefore free it if necessary.
11825 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
11826 malloc block. Otherwise allocate l_initfini list only.
11827 Put dependencies for the object in l_initfini list.
11828 Sort dependencies for the object to be loaded topologically.
11829 * elf/dl-fini.c: Before running the destructors sort the topologically.
11830 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
11831 call constructors instead of iterating over the pointers. Get list of
11832 objects for which to run constructors from l_initfini element. Accept
11833 argc, argv, and env as parameters and pass them to the constructors.
11834 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
11835 with size of dynamic section.
11836 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
11837 _dl_init_next and calling constructors ourself.
11838 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
11839 Take argc, argv, and env as parameters and pass them to the
11840 constructors. Rewrite to call all constructors and not iterate over
11841 the pointers.
11842 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
11843 precompute l_initcount and l_preinitcount.
11844 * elf/link.h (struct link_map): Add l_ldnum member.
11845 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
11846 l_initcount, and l_preinitcount. Add l_initfini.
11847 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
11848 one for _dl_init.
11849 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
11850 function interface.
11851 * sysdeps/unix/sysv/linux/init-first.h: Removed.
11852 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
11853 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
11854 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
11855 conventions now match.
11856
11857 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
11858 effect for shared objects. Don't emit message and call only for
11859 static library.
11860
11861 2000-03-29 Ulrich Drepper <drepper@redhat.com>
11862
11863 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
11864 CSA_Z243.4-1985-1..UCS2.
11865 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
11866 ISO-8859-10..UCS2.
11867
11868 2000-03-29 Andreas Jaeger <aj@suse.de>
11869
11870 * include/unistd.h: Remove duplicate entry for __rmdir.
11871 Remove declaration of __mkdir since __mkdir is declared in
11872 sys/stat.h.
11873
11874 * manual/creature.texi (Feature Test Macros): Fix typo, reported
11875 by Michael Deutschmann <michael@talamasca.ocis.net>.
11876
11877 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
11878 * sysdeps/mips/fpu/fegetenv.c: Likewise.
11879 * sysdeps/mips/fpu/fesetenv.c: Likewise.
11880 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
11881 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
11882
11883 2000-03-28 Andreas Jaeger <aj@suse.de>
11884
11885 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
11886 declaration, the prototype is defined via bits/mathcalls.h.
11887 (__sincosf): Likewise.
11888 (__sincosl): Likewise.
11889 (ldexp): Likewise.
11890 (ldexpf): Likewise.
11891 (ldexpl): Likewise.
11892 (__finite): Likewise.
11893 (__inline_mathcodeNP): New macro without prototype
11894 declarations.
11895 (__inline_mathcodeNP2): Likewise.
11896 (__inline_mathcodeNP3): Likewise.
11897 (__inline_mathcodeNP_): Likewise.
11898 (__inline_mathcodeNP2_): Likewise.
11899 (__inline_mathcodeNP3_): Likewise.
11900 (__inline_mathopNP): Likewise.
11901 (__inline_mathop_declNP): Likewise.
11902 (__inline_mathop_declNP_): Likewise.
11903 (__inline_mathcode_): Use __inline_mathcodeNP_.
11904 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
11905 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
11906 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
11907 (__expm1l): Don't define prototype, the prototype is defined via
11908 bits/mathcalls.h.
11909 (exp): Likewise.
11910 (__expl): Likewise.
11911 (tan): Likewise.
11912 (atan2): Likewise.
11913 (__atan2l): Likewise.
11914 (fmod): Likewise.
11915 (pow): Likewise.
11916 (fabsf): Likewise.
11917 (fabsl): Likewise.
11918 (__fabsl): Likewise.
11919 (asin): Likewise.
11920 (acos): Likewise.
11921 (sinh): Likewise.
11922 (cosh): Likewise.
11923 (tanh): Likewise.
11924 (floor): Likewise.
11925 (ceil): Likewise.
11926 (expm1): Likewise.
11927 (log1p): Likewise.
11928 (asinh): Likewise.
11929 (acosh): Likewise.
11930 (atanh): Likewise.
11931 (hypot): Likewise.
11932 (logb): Likewise.
11933 (fma): Likewise.
11934 (drem): Likewise.
11935 (sqrt): Likewise.
11936 (__sqrtl): Likewise.
11937 (sin): Likewise.
11938 (cos): Likewise.
11939 (atan): Likewise.
11940 (log): Likewise.
11941 (log10): Likewise.
11942 (asinh): Likewise.
11943 (log2): Likewise.
11944 (rint): Likewise.
11945
11946 2000-03-28 Ulrich Drepper <drepper@redhat.com>
11947
11948 * Makerules: If make variable md5 is defined to yes after
11949 generating dependencies generate MD5 sum for the object.
11950
11951 * iconv/gconv_builtin.h: Fix length in transformation definition
11952 for UNICODEBIG.
11953
11954 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
11955
11956 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
11957 allow as well reading from/writing to unaligned addresses on machines
11958 which don't support this in hardware. Use FCTNAME macro to define
11959 function name. Include the file a second time for platforms which
11960 need special unaligned handling.
11961 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
11962 to access potentially unaligned addresses. These macros are intended
11963 to be used only outside the loops.
11964 (unaligned): New definition. In case the machine can handle unaligned
11965 access define as zero. Otherwise as a variable which is initialized
11966 as nonzero in case the buffer passed in at runtime is unaligned with
11967 respect to the character set encoding involved.
11968 Call aligned or unaligned looop functions according to unaligned
11969 variable.
11970 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
11971 of direct casting pointer to potentially handle unaligned memory
11972 accesses.
11973 * iconvdata/8bit-generic.c: Likewise.
11974 * iconvdata/ansi_x3.110.c: Likewise.
11975 * iconvdata/big5.c: Likewise.
11976 * iconvdata/euc-cn.c: Likewise.
11977 * iconvdata/euc-jp.c: Likewise.
11978 * iconvdata/euc-kr.c: Likewise.
11979 * iconvdata/euc-tw.c: Likewise.
11980 * iconvdata/gbk.c: Likewise.
11981 * iconvdata/iso-2022-cn.c: Likewise.
11982 * iconvdata/iso-2022-jp.c: Likewise.
11983 * iconvdata/iso-2022-kr.c: Likewise.
11984 * iconvdata/iso646.c: Likewise.
11985 * iconvdata/iso_6937-2.c: Likewise.
11986 * iconvdata/iso_6937.c: Likewise.
11987 * iconvdata/johab.c: Likewise.
11988 * iconvdata/sjis.c: Likewise.
11989 * iconvdata/t.61.c: Likewise.
11990 * iconvdata/uhc.c: Likewise.
11991 * iconvdata/unicode.c: Likewise.
11992 * iconvdata/utf-16.c: Likewise.
11993
11994 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
11995 prototypes.
11996
11997 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
11998 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
11999 public.
12000 * malloc/mcheck.h (mcheck_check_all): Declare.
12001
12002 * stdio-common/Makefile (tests): Add tst-obprintf.
12003
12004 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
12005
12006 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
12007 Declare pthread_sigmask.
12008
12009 * csu/version.c: Add 2000 to copyright years.
12010 Remove Emacs local variables section.
12011
12012 2000-03-23 Bruno Haible <haible@clisp.cons.org>
12013
12014 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
12015 __gconv_transform_internal_ucs2little): Remove declarations.
12016 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
12017 __gconv_transform_internal_ucs2): Never need to bswap_16.
12018 (__gconv_transform_ucs2reverse_internal,
12019 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
12020
12021 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
12022
12023 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
12024 obsoleting version not being defined at all, in which case the
12025 result is always true.
12026
12027 * Makeconfig (preprocess-versions): New canned sequence for running
12028 cpp on shlib-versions and the like.
12029 (soversions.i): Use it.
12030 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
12031 Versions.def and Versions files.
12032
12033 2000-03-27 Ulrich Drepper <drepper@redhat.com>
12034
12035 * stdio-common/tst-obprintf.c (main): Add another check to see
12036 obstack_printf handling all possible beginnings of the block
12037 inside an obstack chunk.
12038
12039 * locale/programs/localedef.c: Use __malloc_initialize_hook to
12040 install mcheck handler.
12041
12042 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
12043 handling problem.
12044
12045 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
12046
12047 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
12048
12049 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
12050 on [HAVE_ELF && DO_VERSIONING].
12051
12052 2000-03-27 Ulrich Drepper <drepper@redhat.com>
12053
12054 * stdio-common/tst-obprintf.c: New file.
12055
12056 2000-03-26 Ulrich Drepper <drepper@redhat.com>
12057
12058 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
12059 _IO_OVERFLOW directly instead through __overflow.
12060
12061 * locale/programs/localedef.c (construct_output_path): If path
12062 contains a / compute the end of the directory name correctly.
12063
12064 * include/features.h: Undef and document __USE_XOPEN2K.
12065
12066 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
12067 whenever a function is called. Initiated by calling mcheck_pedantic
12068 instead of mcheck.
12069 * malloc/mcheck.h: Declare mcheck_pedantic.
12070 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
12071 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
12072 for now.
12073
12074 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
12075
12076 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
12077 * dlfcn/dlopenold.c: Likewise.
12078 * nss/getXXbyYY_r.c: Likewise.
12079 * nss/getXXent_r.c: Likewise.
12080 * hurd/hurdinit.c: Likewise.
12081 * hurd/compat-20.c: Likewise.
12082 * libio/oldiofopen.c: Likewise.
12083 * libio/oldiofclose.c: Likewise.
12084 * libio/oldiofdopen.c: Likewise.
12085 * libio/oldfileops.c: Likewise.
12086 * libio/oldstdfiles.c: Likewise.
12087 * libio/oldiofsetpos.c: Likewise.
12088 * libio/oldiofgetpos.c: Likewise.
12089 * libio/oldiofgetpos64.c: Likewise.
12090 * libio/oldiofsetpos64.c: Likewise.
12091 * libio/oldiopopen.c: Likewise.
12092 * libio/oldpclose.c: Likewise.
12093 * libio/oldtmpfile.c: Likewise.
12094 * libio/freopen.c (freopen): Likewise.
12095 * libio/iofclose.c (_IO_new_fclose): Likewise.
12096
12097 * sysdeps/mach/sys/reboot.h: Include <features.h>.
12098 (reboot): Declare it.
12099
12100 * libio/Makefile (headers): Add bits/stdio-lock.h here.
12101
12102 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
12103
12104 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
12105
12106 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
12107 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
12108 We need this for the sbrk decl, which can be included without Unix98.
12109
12110 2000-03-20 Richard Henderson <rth@cygnus.com>
12111
12112 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
12113 argument to yperr2nss is an int, not size_t.
12114 * posix/regex.c (print_partial_compiled_pattern): Cast all
12115 ptrdiff_t to long for printing.
12116 (print_compiled_pattern): Use Z for printing size_t.
12117 * posix/testfnm.c (tests): Avoid trigraphs.
12118 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
12119 Use a C comment, not an assembly comment.
12120
12121 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
12122 of __ASSUME_32BITUIDS.
12123
12124 2000-03-26 Ulrich Drepper <drepper@redhat.com>
12125
12126 * libio/iofopncook.c: Remove K&R prototypes.
12127
12128 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
12129
12130 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
12131 an initial value of 1024 instead of RLIM_INFINITY.
12132
12133 * Versions.def (libmachuser, libhurduser): Remove these sections,
12134 since these libraries do not presently use symbol versions.
12135
12136 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
12137 is RLIM_INFINITY, return -1 instead.
12138
12139 2000-03-24 Andreas Jaeger <aj@suse.de>
12140
12141 * Makefile (postclean): Added soversions.i.
12142
12143 2000-03-24 Scott Bambrough <scottb@netwinder.org>
12144
12145 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
12146 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
12147 and _FPU_IEEE. Change _FPU_RESERVED.
12148
12149 2000-03-24 Scott Bambrough <scottb@netwinder.org>
12150
12151 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
12152
12153 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
12154
12155 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
12156 (gaih_inet): Remove unused duplicate variable.
12157
12158 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
12159 Don't use __libc_sa_len, which only exists for Linux. Just handle
12160 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
12161 only flavors supported by this function anyway.
12162
12163 2000-03-24 Geoff Clare <gwc@unisoft.com>
12164
12165 * stdlib/strfmon.c: Corrected problems with missing signs and
12166 missing or extra spaces; allow for sign strings longer than
12167 one character; add padding to ensure positive and negative
12168 formats are aligned when a left precision is used.
12169
12170 2000-03-26 Ulrich Drepper <drepper@redhat.com>
12171
12172 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
12173 Patch by John Mizel <John.Mizel@msdw.com>.
12174
12175 2000-03-25 Ulrich Drepper <drepper@redhat.com>
12176
12177 * manual/install.texi: Remove references to crypt add-on.
12178
12179 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
12180
12181 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
12182 section while taking the _hurd_rlimit_lock.
12183 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
12184
12185 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
12186
12187 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
12188 using $(LN_S).
12189
12190 * sysdeps/mach/hurd/if_index.c: New file.
12191
12192 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
12193 * sysdeps/gnu/net/if.h: here.
12194 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
12195 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
12196 * sysdeps/generic/net/if.h: New file. Declares just the standard
12197 functions and `struct if_nameindex' type.
12198 * socket/Makefile (headers): Add net/if.h here.
12199 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
12200 * sysdeps/mach/hurd/Dist: Remove it here.
12201 * sysdeps/unix/sysv/linux/Dist: And here.
12202 * sysdeps/generic/if_index.c: Include <net/if.h>.
12203
12204 2000-03-24 Andreas Jaeger <aj@suse.de>
12205
12206 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
12207 access relocated entries in l_info.
12208 (elf_machine_got_rel): Likewise.
12209 (elf_machine_runtime_setup): Likewise.
12210 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
12211 (elf_machine_runtime_setup): Likewise.
12212 (__dl_runtime_resolve): Likewise.
12213
12214 2000-03-23 Ulrich Drepper <drepper@redhat.com>
12215
12216 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
12217 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
12218 according to RFC 2553.
12219 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
12220 * inet/getnameinfo.c: Likewise.
12221 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
12222
12223 2000-03-23 Bruno Haible <haible@clisp.cons.org>
12224
12225 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
12226 Remove no-op pointer increment.
12227
12228 2000-03-23 Andreas Jaeger <aj@suse.de>
12229
12230 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
12231 follow change for libio.h from 2000-03-10.
12232
12233 2000-03-23 Andreas Jaeger <aj@suse.de>
12234
12235 * elf/dl-addr.c: Adjust include paths for ldsodefs location
12236 change.
12237 * elf/dl-debug.c: Likewise.
12238 * elf/dl-deps.c: Likewise.
12239 * elf/dl-error.c: Likewise.
12240 * elf/dl-fini.c: Likewise.
12241 * elf/dl-init.c: Likewise.
12242 * elf/dl-load.c: Likewise.
12243 * elf/dl-lookup.c: Likewise.
12244 * elf/dl-minimal.c: Likewise.
12245 * elf/dl-object.c: Likewise.
12246 * elf/dl-open.c: Likewise.
12247 * elf/dl-preinit.c: Likewise.
12248 * elf/dl-profile.c: Likewise.
12249 * elf/dl-profstub.c: Likewise.
12250 * elf/dl-reloc.c: Likewise.
12251 * elf/dl-runtime.c: Likewise.
12252 * elf/dl-support.c: Likewise.
12253 * elf/dl-symbol.c: Likewise.
12254 * elf/dl-version.c: Likewise.
12255 * elf/rtld.c: Likewise.
12256 * elf/sprof.c: Likewise.
12257 * sysdeps/generic/dl-cache.c: Likewise.
12258 * sysdeps/generic/dl-origin.c: Likewise.
12259 * sysdeps/generic/dl-sysdep.c: Likewise.
12260 * sysdeps/generic/elf/backtracesyms.c: Likewise.
12261 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12262 * sysdeps/generic/libc-start.c: Likewise.
12263 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12264 * sysdeps/powerpc/dl-machine.c: Likewise.
12265 * sysdeps/powerpc/elf/libc-start.c: Likewise.
12266 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12267 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12268 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
12269
12270 * elf/ldsodefs.h: Move file to ...
12271 * sysdeps/generic/ldsodefs.h: ... here.
12272
12273 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
12274
12275 * sysdeps/mips/elf/ldsodefs.h: New file.
12276
12277 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
12278 entries in l_info.
12279 (_dl_check_map_versions): Likewise.
12280 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12281 * elf/dl-load.c (_dl_init_paths): Likewise.
12282 (_dl_map_object): Likewise.
12283 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
12284 (elf_get_dynamic_info): Likewise.
12285 * elf/do-lookup.h (FCT): Likewise.
12286 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
12287 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12288 * elf/dl-addr.c (_dl_addr): Likewise.
12289 * elf/dl-runtime.c (profile_fixup): Likewise.
12290 (fixup): Likewise.
12291 * elf/dl-init.c (_dl_init_next): Likewise.
12292 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
12293 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
12294 (DISTINGUISH_LIB_VERSIONS): Likewise.
12295 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
12296 (elf_machine_rel): Likewise.
12297
12298 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
12299 for writable dynamic section.
12300
12301 2000-03-22 Ulrich Drepper <drepper@redhat.com>
12302
12303 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
12304 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
12305
12306 2000-03-22 Andreas Jaeger <aj@suse.de>
12307
12308 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
12309 from latest Linux kernel.
12310
12311 2000-03-21 Andreas Jaeger <aj@suse.de>
12312
12313 * Versions.def: Add version 2.1.4.
12314
12315 2000-03-21 Ulrich Drepper <drepper@redhat.com>
12316
12317 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
12318 * libio/oldiofopen.c: Likewise.
12319 * libio/oldiofclose.c: Likewise.
12320 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
12321
12322 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
12323
12324 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
12325 indicating the first version set to obsolete the conditionalized code.
12326 (compat_symbol): New macro.
12327 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
12328 rhs be the ABI_* macro for the subsuming version. Assign increasing
12329 integer values to the ABI_* macros for supported versions.
12330 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
12331 compat_symbol macro.
12332
12333 2000-03-21 Ulrich Drepper <drepper@redhat.com>
12334
12335 * nscd/connections.c (nscd_run): Pretty print.
12336 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
12337
12338 * manual/charset.texi: Fix typos. Rephrase.
12339 * manual/process.texi: Likewise.
12340 * manual/signal.texi: Likewise.
12341 Patches by Mike Coleman <mkc@kc.net>.
12342
12343 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
12344 versions.
12345 * libio/iofdopen.c: Likewise.
12346 * libio/iofgetpos.c: Likewise.
12347 * libio/iofgetpos64.c: Likewise.
12348 * libio/iofopen.c: Likewise.
12349 * libio/iofsetpos.c: Likewise.
12350 * libio/iofsetpos64.c: Likewise.
12351 * libio/iopopen.c: Likewise.
12352 * libio/oldiofopen.c: Likewise.
12353 * libio/pclose.c: Likewise.
12354 * sysdeps/gnu/siglist.c: Likewise.
12355 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
12356
12357 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
12358 chance to expand VERSION_##lib##_##version.
12359
12360 * libio/fileops.c: Use new macros from shlib-compat.h to define
12361 versions.
12362 * libio/iofclose.c: Likewise.
12363 * libio/oldiofclose.c: Likewise.
12364 Patch by Roland McGrath <roland@frob.com>.
12365
12366 2000-03-21 Jakub Jelinek <jakub@redhat.com>
12367
12368 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
12369 Lay out struct sigcontext according to what really gets passed on
12370 the stack.
12371 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
12372 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
12373 (prgregset_t, prfpregset_t): Define to elf_* types.
12374 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
12375 Define to correct value.
12376 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
12377 sigcontext.
12378 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
12379
12380 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
12381
12382 * scripts/firstversions.awk: Allow multiple version sets in the
12383 "earliest version" specification, meaning that version sets in the
12384 gaps between listed versions should be folded into the earliest later
12385 version that is explicitly listed.
12386 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
12387 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
12388
12389 2000-03-21 Ulrich Drepper <drepper@redhat.com>
12390
12391 * iconv/gconv_builtin.c: Include <endian.h>.
12392 * iconv/gconv_builtin.h: Add UCS-BE aliases.
12393 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
12394 according to current platform.
12395 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
12396 __gconv_transform_internal_ucs2reverse, and
12397 __gconv_transform_internal_ucs4le.
12398 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
12399 __gconv_transform_ucs2reverse_internal and
12400 __gconv_transform_internal_ucs2reverse.
12401 * iconvdata/Makefile (modules): Add UNICODE.
12402 (distribute): Add unicode.c.
12403 * iconvdata/gconv-modules: Add definitions for UNICODE module.
12404 * iconvdata/unicode.c: New file.
12405
12406 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
12407 determine byte order of input and convert accordingly.
12408
12409 * iconvdata/utf-16.c (gconv_init): Fix typo.
12410
12411 2000-03-20 Ulrich Drepper <drepper@redhat.com>
12412
12413 * iconvdata/gconv-modules: Fix typo.
12414
12415 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
12416 more messages.
12417
12418 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
12419
12420 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
12421
12422 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
12423
12424 2000-03-20 Ulrich Drepper <drepper@redhat.com>
12425
12426 * misc/Makefile (routines): Add mincore.
12427
12428 2000-03-20 Andreas Jaeger <aj@suse.de>
12429
12430 * sysdeps/generic/mincore.c: New stub file.
12431
12432 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
12433 from latest Linux kernel.
12434
12435 2000-03-20 Ulrich Drepper <drepper@redhat.com>
12436
12437 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
12438 _SC_GETPW_R_SIZE_MAX.
12439
12440 2000-03-20 Richard Henderson <rth@cygnus.com>
12441
12442 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
12443 in GLIBC_2.1.4.
12444
12445 2000-03-20 Richard Henderson <rth@cygnus.com>
12446
12447 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
12448 of arithmetic instructions.
12449
12450 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
12451 with the fpcr. Protect from INV exception.
12452 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
12453 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
12454 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
12455
12456 * sysdeps/alpha/fpu/s_copysign.c: New.
12457 * sysdeps/alpha/fpu/s_copysignf.c: New.
12458 * sysdeps/alpha/fpu/s_fabs.c: New.
12459 * sysdeps/alpha/fpu/s_fabsf.c: New.
12460 * sysdeps/alpha/fpu/s_rint.c: New.
12461 * sysdeps/alpha/fpu/s_rintf.c: New.
12462
12463 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
12464
12465 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
12466 Kill sethae.
12467 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
12468 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
12469 Use physical addresses not KSEG addresses.
12470 (io_system): Add PYXIS.
12471 (io): Remove hae.reg, sys, hae_shift.
12472 (stb_mb, stw_mb, stl_mb, __sethae): New.
12473 (inline_outb, inline_outw, inline_outl): Don't set hae.
12474 (inline_inb, inline_inw, inline_inl): Likewise.
12475 (dense_sethae): New null function.
12476 (struct cpuinfo_data): New.
12477 (process_cpuinfo): Use local and stack variables, not static.
12478 Move readlink check here from init_iosys.
12479 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
12480 (_iopl): Simplify.
12481 (_hae_shift): Calculate it here.
12482 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
12483 add pciconfig_iobase.
12484
12485 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
12486
12487 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
12488 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
12489
12490 * scripts/versions.awk: Fixed version renaming code to distinguish
12491 libraries properly.
12492
12493 2000-03-19 Ulrich Drepper <drepper@redhat.com>
12494
12495 * include/stdlib.h: Add prototype for __cxa_atexit.
12496
12497 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
12498 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
12499
12500 2000-03-17 Cristian Gafton <gafton@redhat.com>
12501
12502 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
12503 existing rtld-installed-name.
12504 ($(rtld-installed-name)): Request libc-$(version) be installed too.
12505 replace existing rtld-installed-name using $(symbolic-link-prog).
12506
12507 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
12508
12509 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
12510 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
12511 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
12512 but not the former.
12513
12514 2000-03-19 Ulrich Drepper <drepper@redhat.com>
12515
12516 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
12517 glob64. Since there is no glob64 in the LFS proposal applications
12518 can assume that glob handles LFS situations. glob64 is only needed
12519 if alternative filesystem functions are used.
12520
12521 2000-03-19 Geoff Clare <gwc@unisoft.com>
12522
12523 * sysdeps/generic/glob.c: Correct gl_pathc value returned
12524 when GLOB_DOOFFS is set; correct handling of patterns
12525 containing escaped wildcards (and no unescaped ones);
12526 GLOB_ERR flag was being ignored in some situations.
12527
12528 * posix/globtest.c, posix/globtest.sh: Updated to include
12529 tests for the problems fixed by the above changes to glob.c.
12530
12531 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
12532
12533 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
12534
12535 * Makeconfig (soversion.i): Use only first match for each lib.
12536
12537 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
12538
12539 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
12540 rather than $(sysd-dirs-done) to protect these rules.
12541
12542 * Makerules (version-renames.def): Target removed.
12543 (Versions.all): Depend on soversions.i directly and parse it.
12544
12545 * Makeconfig (soversions.i): New target, input-reading parts of
12546 soversions.mk generation moved here; result is a canonicalized
12547 list "LIB VERSION [SET]" for this configuration.
12548 (soversions.mk): Use that as input. Don't emit map-firstversions.
12549 * Makerules (version-renames.def): New target, generated from
12550 soversions.i with contents that was in $(map-firstversions).
12551 (Versions.all): Don't depend on soversions.mk, depend on
12552 version-renames.def instead; just cat it into the input.
12553
12554 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
12555 for $(map-firstversions), which better handles it being empty.
12556
12557 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
12558 supported version for libc 0.2.90.libio to GLIBC_2.2.
12559
12560 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
12561 and use it to emit new variable `map-firstversions'.
12562 * scripts/firstversions.awk: New file.
12563 * Makerules (Versions.all): Use scripts/firstversions.awk and
12564 the $(map-firstversions) value to generate a modified versions list
12565 that includes renames in "A = B" syntax for each version set earlier
12566 than the "earliest symbol version" named in shlib-versions.
12567 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
12568 rename version set A to B in the output to the intermediate file.
12569 * scripts/abi-versions.awk: New file.
12570 * Makerules (abi-versions.h): New target, generated by that script.
12571 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
12572 * include/shlib-compat.h: New file, uses that generated header.
12573
12574 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
12575
12576 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
12577 after stripping # comments, and then run it through cpp.
12578 This allows things like "%ifdef FOO" based on config.h settings.
12579 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
12580
12581 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
12582 and other errors that indicate a pseudo-receive happened, grok through
12583 the message buffer for port rights that need references fixed up.
12584
12585 2000-03-16 Andreas Jaeger <aj@suse.de>
12586
12587 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
12588
12589 * sysdeps/unix/sysv/linux/madvise.c: Remove.
12590
12591 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
12592 from latest Linux kernel.
12593 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
12594
12595 * misc/sys/mman.h: Add prototype for mincore.
12596
12597 2000-03-17 Ulrich Drepper <drepper@redhat.com>
12598
12599 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
12600 entry for GLIBC_2.0 version of setrlimit.
12601 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
12602
12603 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
12604
12605 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
12606 * nis/nss_compat/compat-initgroups.c: Likewise.
12607 * nis/nss_nis/nis-initgroups.c: Likewise.
12608 * nis/nss_nis/nis-netgrp.c: Likewise.
12609 * nis/nss_nis/nis-proto.c: Likewise.
12610 * nis/nss_nis/nis-rpc.c: Likewise.
12611 * nis/nss_nis/nis-service.c: Likewise.
12612 * nis/ypclnt.c: Likewise.
12613
12614 2000-03-16 Andreas Jaeger <aj@suse.de>
12615
12616 * manual/Makefile: MAKEINFO is set to `:' from configure if it
12617 doesn't exist, correct checks. Fixes PR libc/1649.
12618
12619 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
12620
12621 * nscd/hstcache.c: Restore correct UID.
12622 * nscd/pwdcache.c: Likewise.
12623 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
12624
12625 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
12626
12627 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
12628 macros for register names, in line with 2000-03-14 linux change.
12629
12630 * sysdeps/mach/sched_yield.c: New file.
12631
12632 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
12633
12634 * sysdeps/generic/lockfile.c: Include <stdio.h>
12635 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
12636 case <libio.h> defined them.
12637 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
12638 from __internal_*.
12639 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
12640 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
12641
12642 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
12643 for more pleasing parse error.
12644
12645 2000-03-16 Ulrich Drepper <drepper@redhat.com>
12646
12647 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
12648 memory for eras.
12649 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
12650
12651 * elf/Makefile: Add rules to compile and run constload1 test.
12652 * elf/constload1.c: New file.
12653 * elf/constload2.c: New file.
12654 * elf/constload3.c: New file.
12655
12656 2000-03-15 Ulrich Drepper <drepper@redhat.com>
12657
12658 * sysdeps/posix/open64.c: Make __open64 weak alias.
12659 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
12660 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
12661 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
12662 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
12663 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
12664 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
12665 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
12666 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
12667 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
12668 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
12669
12670 2000-03-14 Ulrich Drepper <drepper@redhat.com>
12671
12672 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
12673 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
12674
12675 2000-03-16 Mark Kettenis <kettenis@gnu.org>
12676
12677 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
12678 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
12679
12680 2000-03-08 Andreas Jaeger <aj@suse.de>
12681
12682 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
12683
12684 2000-03-14 Ulrich Drepper <drepper@redhat.com>
12685
12686 * timezone/africa: Update from tzdata2000d.
12687 * timezone/asia: Likewise.
12688 * timezone/australasia: Likewise.
12689 * timezone/europe: Likewise.
12690 * timezone/northamerica: Likewise.
12691 * timezone/southamerica: Likewise.
12692
12693 * po/fr.po: Update from translation team.
12694 * po/de.po: Likewise.
12695
12696 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
12697 last parameter. Move code to add map to global scope from here...
12698 * elf/dl-open.c (dl_open_worker): ...here.
12699 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
12700 * elf/rtld.c: Adjust call to _dl_map_object_deps.
12701
12702 * locale/programs/ld-collate.c (collate_read): Fix warning.
12703
12704 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
12705 values and macros for register names.
12706
12707 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
12708 returned by seek cookie function is -1.
12709
12710 2000-03-14 Andreas Jaeger <aj@suse.de>
12711
12712 * locale/localeconv.c (localeconv): Fix typo.
12713 Reported by Andre Charbonneau <andrec@corel.com>.
12714
12715 2000-03-14 Ulrich Drepper <drepper@redhat.com>
12716
12717 * iconv/skeleton.c: Increment __invocation_counter in inner loop
12718 since modules depend on it counting the number of times the conversion
12719 function got called.
12720
12721 * iconv/gconv_open.c: Optimize loop to setup step data structure.
12722
12723 * iconv/gconv.h: Pretty print.
12724
12725 2000-03-04 Ulrich Drepper <drepper@redhat.com>
12726
12727 * posix/wordexp-test.c: Correct one of the tests added in the last
12728 change. Really get the root passwd entry to check again ~root.
12729
12730 2000-03-10 Andreas Jaeger <aj@suse.de>
12731
12732 * manual/filesys.texi (Working Directory): Fix last patch.
12733 Patch by Martin Buchholz <martin@xemacs.org>.
12734
12735 2000-03-10 Andreas Jaeger <aj@suse.de>
12736
12737 * manual/creature.texi (Feature Test Macros): Fix language.
12738
12739 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
12740
12741 * mach/devstream.c (devstream_write, devstream_read): New functions.
12742 (input, output): Functions removed.
12743 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
12744 using only the vanilla fopencookie interface.
12745
12746 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
12747 as macro for __io_functions.
12748 (funcsio): Use cookie_io_functions_t type name.
12749 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
12750
12751 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
12752 fopencookie.
12753 (fopencookie): Use it.
12754 * libio/libio.h: Declare _IO_cookie_init.
12755 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
12756 _IO_cookie_init.
12757
12758 * libio/libio.h (__io_seek_fn): Fix second argument type
12759 to be a pointer, in line with the manual and the old stdio.
12760 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
12761
12762 * sysdeps/generic/bits/stdio-lock.h: New file.
12763 This is a stub with #error, but that's better than no file at all.
12764
12765 2000-03-09 Martin Buchholz <martin@xemacs.org>
12766
12767 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
12768 * manual/message.texi (Using gettextized software): Doc Fixes.
12769 * manual/message.texi (Message Translation): Doc Fixes.
12770 * manual/filesys.texi (File Size): Doc Fixes.
12771 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
12772 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
12773 * iconv/gconv_db.c (find_derivation): Doc Fixes.
12774 * manual/install.texi: Doc Fixes.
12775 * manual/search.texi (Hash Search Function): Doc Fixes.
12776 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
12777 * FAQ.in: Doc Fixes.
12778 * config.h.in: Doc Fixes.
12779 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
12780 Doc Fixes. `allows to' is not correct English.
12781
12782 * elf/rtld.c: Doc fixes.
12783 * manual/creature.texi (Feature Test Macros): Doc fixes.
12784 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
12785
12786 * manual/filesys.texi (Working Directory): Check for ERANGE to
12787 avoid infloop.
12788
12789 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
12790
12791 * string/argz-stringify.c (__argz_stringify): Fix loop termination
12792 conditions so as not to clobber the final '\0' when there is only one
12793 element in the vector.
12794
12795 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
12796
12797 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
12798 broken by 2000-02-27 change.
12799
12800 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
12801
12802 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
12803
12804 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
12805 argument type, for 2000-02-22 change in signal/signal.h declaration.
12806
12807 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
12808
12809 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
12810 to getdirentries64 (no __), since the Linux implementation
12811 has no __ name, and there is no declaration for the __ name.
12812
12813 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
12814
12815 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
12816 sed regexp so as not to break directory names including /../ within.
12817
12818 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
12819 The sysdeps/generic file is right for BSD. This file was in fact the
12820 Hurd file, but the only difference was the WNOREAP flag that was never
12821 actually implemented or used anywhere.
12822
12823 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
12824 since AC_PATH_PROG already does it for us.
12825 (PERL): Rewrite check added in 2000-02-29 change for syntactic
12826 correctness and sh portability. I replaced the broken check
12827 with a more sensible implementation of the apparently intended
12828 semantics, which might still be questionable. Using expr causes
12829 a non-numeric value for `perl -V:apiversion` to be accepted,
12830 refusing to use only a perl that reports a number less than 5;
12831 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
12832 * configure: Regenerated.
12833
12834 2000-03-08 Andreas Jaeger <aj@suse.de>
12835
12836 * manual/crypt.texi: Fix paths.
12837
12838 2000-03-07 Andreas Jaeger <aj@suse.de>
12839
12840 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
12841 were swapped.
12842 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
12843 libc/1636.
12844
12845 2000-03-06 Andreas Jaeger <aj@suse.de>
12846
12847 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
12848 in __sgn1l, otherwise g++ fails to parse this.
12849 Reported by Sean Chen <sean.chen@turbolinux.com>.
12850
12851 2000-03-03 Geoff Keating <geoffk@cygnus.com>
12852
12853 * configure.in: Compute sizeof-long-double.
12854 * configure: Regenerated.
12855 * config.make.in: Make sizeof-long-double available to sub-makes.
12856
12857 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
12858
12859 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
12860 call.
12861
12862 2000-03-03 Geoff Keating <geoffk@cygnus.com>
12863
12864 * Makeconfig (rpath-dirs): Add crypt.
12865 (all-subdirs): Remove md5crypt.
12866 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
12867 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
12868 * sysdeps/generic/crypt-entry.c: Delete.
12869 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
12870 * sysdeps/generic/crypt.h: Delete.
12871 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
12872 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
12873 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
12874 * sysdeps/generic/des_impl.c: Delete.
12875 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
12876 * crypt/sysdeps: Delete.
12877 * crypt/crypt_util.c: Don't use `patchlevel.h'.
12878 * md5-crypt/Versions: Move to crypt/.
12879 * md5-crypt/md5-crypt.c: Move to crypt/.
12880 * md5-crypt/md5.c: Move to crypt/.
12881 * md5-crypt/md5c-test.c: Move to crypt/.
12882 * md5-crypt/md5test.c: Move to crypt/.
12883 * md5-crypt: Delete.
12884 * crypt/Makefile: Adjust for new structure.
12885
12886 2000-03-03 Paul Eggert <eggert@twinsun.com>
12887
12888 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
12889 define to 1 if not defined.
12890
12891 2000-03-03 Andreas Jaeger <aj@suse.de>
12892
12893 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
12894
12895 2000-03-03 Andreas Jaeger <aj@suse.de>
12896
12897 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
12898 cases.
12899 (xdr_int64_t): Correctly handle lower half.
12900 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
12901
12902 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
12903
12904 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
12905 call.
12906
12907 2000-03-02 Andreas Jaeger <aj@suse.de>
12908
12909 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
12910 2.3.43.
12911
12912 2000-03-02 Andreas Jaeger <aj@suse.de>
12913
12914 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
12915
12916 2000-03-01 Andreas Jaeger <aj@suse.de>
12917
12918 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
12919 (tests): Added tst-getdate.
12920
12921 * time/tst-getdate.c: New file.
12922
12923 * time/datemsk: New file, needed for tst-getdate.
12924
12925 2000-02-29 Cristian Gafton <gafton@redhat.com>
12926
12927 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
12928
12929 2000-02-17 H.J. Lu <hjl@gnu.org>
12930
12931 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
12932
12933 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
12934 available.
12935 (svcudp_recv): Set up message with the new "xp_pad" field for
12936 IP_PKTINFO.
12937 (svcudp_reply): Support IP_PKTINFO if available.
12938
12939 2000-03-01 Andreas Jaeger <aj@suse.de>
12940
12941 * time/getdate.c (check_mday): Fix check for february.
12942 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
12943 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
12944
12945 2000-03-02 Andreas Jaeger <aj@suse.de>
12946
12947 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
12948 g++ fails to parse this.
12949 Reported by Sean Chen <sean.chen@turbolinux.com>.
12950
12951 2000-02-28 Ulrich Drepper <drepper@redhat.com>
12952
12953 * io/creat.c: Moved to...
12954 * sysdeps/generic/creat.c: ...here.
12955 * io/creat64.c: Moved to...
12956 * sysdeps/generic/creat64.c: ...here.
12957 * io/lockf.c: Moved to...
12958 * sysdeps/generic/lockf.c: ...here.
12959
12960 * crypt/crypt.texi: Moved to...
12961 * manual/crypt.texi: ...here.
12962 * crypt/examples/genpass.c: Moved to...
12963 * manual/examples/genpass.c: ...here.
12964 * crypt/examples/mygenpass.c: Moved to...
12965 * manual/examples/mygenpass.c: ...here.
12966 * crypt/examples/testpass.c: Moved to...
12967 * manual/examples/testpass.c: ...here.
12968
12969 * manual/Makefile (chapters): Add crypt.
12970 * manual/conf.texi: Add usual header for not-last chapter.
12971 * manual/crypt.texi: Add special header for last chapter.
12972
12973 2000-02-28 Geoff Keating <geoffk@cygnus.com>
12974
12975 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
12976 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
12977 complain if there is no crypt add-on.
12978 * crypt/configure: Removed.
12979
12980 * crypt/crypt.texi: Update documentation of US export restrictions
12981 to match the 14 Jan 2000 regulations.
12982
12983 2000-02-28 Geoff Keating <geoffk@cygnus.com>
12984
12985 * crypt: New subdirectory, merged in from the crypt add-on.
12986
12987 2000-02-28 Ulrich Drepper <drepper@redhat.com>
12988
12989 * include/unistd.h: Add __rmdir and __mkdir prototypes.
12990
12991
12992 See ChangeLog.10 for earlier changes.