]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Update.
[thirdparty/glibc.git] / ChangeLog
1 2000-09-29 Andreas Jaeger <aj@suse.de>
2
3 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Synch with Linux
4 2.4.0-test9-pre7.
5 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
6 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise.
7 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
8 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11
12 2000-09-29 David Mosberger <davidm@hpl.hp.com>
13
14 * sysdeps/unix/sysv/linux/ia64/sysdep.S (__ia64_syscall): Cleanup.
15
16 * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Implement.
17
18 2000-06-10 David Mosberger <davidm@hpl.hp.com>
19
20 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Fix it so it actually
21 works: call to __sigjmp_save must be done unconditionally to
22 ensure jmp_buf is initialized properly.
23
24 2000-09-27 Andreas Jaeger <aj@suse.de>
25
26 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Synch with Linux
27 2.4.0-test9-pre7.
28
29 2000-09-29 Jakub Jelinek <jakub@redhat.com>
30
31 * nscd/nscd-client.h (NSCD_VERSION): Bump to 3.
32 Use int32_t where appropriate.
33 * nscd/nscd_gethst_r.c (nscd_gethst_r): Use uint32_t instead of size_t
34 where appropriate.
35 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
36 * nscd/hstcache.c (cache_addhst): Likewise.
37 * nscd/grpcache.c (cache_addgr): Likewise.
38
39 2000-09-29 Ulrich Drepper <drepper@redhat.com>
40
41 * inet/getnameinfo.c (nrl_domainname): Use symbolic constant
42 INADDR_LOOPBACK instead of numeric value.
43
44 2000-09-28 H.J. Lu <hjl@gnu.org>
45
46 * sysdeps/ia64/dl-machine.h (RTLD_START): Adjust _dl_argv by
47 _dl_skip_args.
48 (ELF_MACHINE_FIXED_STACK): Removed.
49
50 2000-09-29 Andreas Jaeger <aj@suse.de>
51
52 * sysdeps/unix/sysv/linux/s390/lockf64.c: New file.
53
54 * sysdeps/unix/sysv/linux/s390/fcntl.c: New file.
55
56 * sysdeps/unix/sysv/linux/powerpc/lockf64.c: New file.
57
58 * sysdeps/unix/sysv/linux/powerpc/fcntl.c: New file.
59
60 2000-09-28 Ulrich Drepper <drepper@redhat.com>
61
62 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle unaligned
63 relocation also for R_ALPHA_RELATIVE.
64 Reported by Ivan Kokshaysky <ink@jurassic.park.msu.ru>.
65
66 2000-09-18 Bruno Haible <haible@clisp.cons.org>
67
68 * intl/dcigettext.c: Outside libc, use local variable names that don't
69 clash with those in libc.
70 * intl/bindtextdom.c: Likewise.
71 * intl/textdomain.c: Likewise.
72
73 2000-09-28 Ulrich Drepper <drepper@redhat.com>
74
75 * elf/ldconfig.c (parse_conf): Print full name of config dir
76 including chroot() path.
77 (main): Remove trailing / from opt_chroot string.
78
79 * include/features.h: Correct description of what happens if no
80 *_SOURCE macro is defined.
81
82 * sysdeps/posix/getaddrinfo.c (gaih_inet): Handle req->ai_socktype
83 correctly. Reported by Felix von Leitner <leitner@convergence.de>.
84
85 2000-09-19 H.J. Lu <hjl@gnu.org>
86
87 * malloc/malloc.h (__memalign_hook): Fix the parameter order.
88 * malloc/malloc.c (__memalign_hook): Likewise.
89 (memalign_hook_ini): Likewise.
90
91 2000-09-28 Ulrich Drepper <drepper@redhat.com>
92
93 * stdio-common/tmpnam.c (tmpnam): Optimize a bit.
94
95 * sysdeps/posix/getaddrinfo.c (gaih_local): Don't use tmpnam, use
96 underlying functions directly.
97
98 * sysdeps/unix/sysv/linux/bits/resource.h: Add RLIMIT_LOCKS.
99 * sysdeps/unix/sysv/linux/arm/bits/resource.h: Likewise.
100 * sysdeps/unix/sysv/linux/i386/bits/resource.h: Likewise.
101 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
102 * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: Likewise.
103 * sysdeps/unix/sysv/linux/sh/bits/resource.h: Likewise.
104 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
105
106 2000-09-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
107
108 * sysdeps/unix/sysv/linux/kernel-features.h: Add __ASSUME_IPC64, only
109 define it for powerpc for kernel >= 2.4.0.
110 * sysdeps/unix/sysv/linux/msgctl.c: Test for __ASSUME_IPC64, not
111 __ASSUME_32BITUIDS.
112 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
113 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
114 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Sync with kernel.
115 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: New file.
116 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: New file.
117 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: New file.
118
119 2000-09-28 Martin Schwidefsksy <schwidefsky@de.ibm.com>
120
121 * sysdeps/s390/atomicity.h: Fix compare_and_swap.
122
123 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h
124 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
125
126 2000-09-28 Denis Joseph Barrow <djbarrow@de.ibm.com>
127
128 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Use definitions from
129 ucontext.h.
130 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Fix ucontext structure.
131
132 2000-09-27 Andreas Schwab <schwab@suse.de>
133
134 * math/Makefile (distribute): Explicitly add the long double test
135 sources, to get them included even if long double is not supported.
136
137 2000-09-27 Jes Sorensen <jes@linuxcare.com>
138
139 * elf/soinit.c (struct object): Move definition to gccframe.h and
140 include it. Problem identified by HJ Lu.
141
142 * sysdeps/ia64/gccframe.h: New file. ia64 specific version of
143 struct object to be searched for frame unwind info.
144 * sysdeps/generic/gccframe.h: New file. Generic version of
145 struct object to be searched for frame unwind info.
146
147 2000-09-28 Ulrich Drepper <drepper@redhat.com>
148
149 * manual/errno.texi: Correct error text for ENXIO.
150 Reported by Jörg Schilling <schilling@fokus.gmd.de>.
151
152 2000-09-27 Jes Sorensen <jes@linuxcare.com>
153
154 * sysdeps/ia64/fpu/fsetexcptflg.c (fesetexceptflag): Set the
155 exception status bits rather than the exception disable bits.
156 Don't include math.h.
157
158 * sysdeps/ia64/fpu/fgetexcptflg.c (fegetexceptflag): Report the
159 status of exceptions currently raised rather than which exceptions
160 are enabled.
161
162 * sysdeps/ia64/fpu/fclrexcpt.c (feclearexcept): Typecase to fenv_t
163 rather than unsigned long int.
164
165 * sysdeps/ia64/fpu/fedisblxcpt.c (fedisableexcept): Only disable
166 the exceptions actually requested by the caller and not just
167 disable all exceptions.
168
169 * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Exceptions on
170 the ia64 are enabled by clearing the respective bits in the fpsr,
171 not setting them.
172
173 * sysdeps/ia64/bits/fenv.h: typedef fexcept_t and fenv_t to
174 unsigned long int rather than unsigned long to be consistent with
175 the coding conventions.
176
177 2000-09-20 H.J. Lu <hjl@gnu.org>
178
179 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Use fenv_t instead of
180 unsigned long int.
181 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
182
183 2000-09-28 Ulrich Drepper <drepper@redhat.com>
184
185 * string/bits/string2.h: Unify #if usage.
186
187 2000-09-27 Jakub Jelinek <jakub@redhat.com>
188
189 * math/test-fenv.c (feexcp_mask_test): If enabling all exceptions
190 and disabling underflow or overflow, disable inexact as well.
191
192 2000-09-26 Andreas Jaeger <aj@suse.de>
193
194 * sysdeps/gnu/netinet/tcp.h: Add tcp_info defines and types.
195
196 * sysdeps/unix/sysv/linux/sys/mount.h (enum): New flag MS_BIND.
197
198 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETLKW64,
199 F_GETLK64, F_SETLK64): Update from Linux-2.4.0-test9-pre4.
200
201 * elf/ldconfig.c (search_dir): Allow unlimited path length.
202 (create_links): Likewise.
203
204 2000-09-27 Ulrich Drepper <drepper@redhat.com>
205
206 * posix/tst-dir.c: Test a few error cases of chdir.
207
208 2000-09-26 Ulrich Drepper <drepper@redhat.com>
209
210 * math/math_private.h: Don't add long double prototypes if
211 NO_LONG_DOUBLE is defined.
212
213 * sysdeps/unix/i386/i586/clock_nanosleep.c (CLOCK_P): Remove
214 CLOCK_MONOTONIC.
215 * sysdeps/unix/i386/i586/clock_gettime.c (EXTRA_CLOCK_CASES): Likewise.
216 * sysdeps/unix/i386/i586/clock_getres.c (EXTRA_CLOCK_CASES): Likewise.
217
218 * sysdeps/unix/sysv/linux/i386/bits/time.h: Remove CLOCK_MONOTONIC.
219
220 2000-09-26 Jakub Jelinek <jakub@redhat.com>
221
222 * sysdeps/sparc/sparc32/bits/endian.h: Remove.
223 * sysdeps/sparc/sparc32/ieee754.h: New.
224 * sysdeps/sparc/sparc64/bits/endian.h: Move...
225 * sysdeps/sparc/bits/endian.h: ...here.
226 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Optimize.
227 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Check
228 %o1, not %o0 to see if we're parent or child. Optimize.
229
230 2000-09-26 Jes Sorensen <jes@linuxcare.com>
231
232 * sysdeps/unix/sysv/linux/ia64/fork.S: New file (based on code
233 by Hans Boehm).
234 * sysdeps/unix/sysv/linux/ia64/vfork.S: New file (based on
235 code by Hans Boehm).
236 * sysdeps/unix/sysv/linux/ia64/fork.c: Deleted (obsoleted by fork.S).
237
238 2000-09-20 H.J. Lu <hjl@gnu.org>
239
240 * sysdeps/ia64/fpu/printf_fphex.c: New file.
241
242 * sysdeps/ia64/fpu/libm-test-ulps: New file.
243
244 2000-09-17 H.J. Lu <hjl@gnu.org>
245
246 * sysdeps/ia64/Makefile (long-double-fcts): New. Defined as yes.
247
248 * sysdeps/ia64/fpu/s_isinfl.c: New file. Include
249 sysdeps/i386/fpu/s_isinfl.c.
250
251 * sysdeps/ia64/fpu/s_isnanl.c: New file. Include
252 sysdeps/i386/fpu/s_isnanl.c.
253
254 * sysdeps/ia64/fpu/s_nextafterl.c: New file. Include
255 sysdeps/i386/fpu/s_nextafterl.c.
256
257 * sysdeps/ia64/fpu/bits/mathdef.h: New file. Copied from
258 sysdeps/i386/fpu/bits/mathdef.h.
259
260 2000-09-16 H.J. Lu <hjl@gnu.org>
261
262 * sysdeps/generic/ldsodefs.h (DL_UNMAP): New. Defined if
263 DL_UNMAP_IS_SPECIAL is not defined.
264
265 * sysdeps/ia64/dl-lookupcfg.h (DL_UNMAP_IS_SPECIAL): Defined.
266 (_dl_unmap): New prototype.
267 (DL_UNMAP): New. Defined as _dl_unmap.
268
269 * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_unmap.
270
271 * elf/dl-close.c (_dl_close): Replace __munmap with DL_UNMAP.
272
273 2000-09-16 H.J. Lu <hjl@gnu.org>
274
275 * sysdeps/generic/ldsodefs.h (DL_LOOKUP_ADDRESS): New. Defined
276 if ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
277
278 * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): New
279 prototype.
280 (DL_LOOKUP_ADDRESS): New. Defined as _dl_lookup_address.
281
282 * sysdeps/ia64/dl-fptr.c (_dl_lookup_address): New. Lookup
283 the memory location of a function from a function descriptor.
284
285 * sysdeps/ia64/Versions [ld] (GLIBC_2.2): Add _dl_lookup_address.
286
287 * elf/dl-addr.c (_dl_addr): Use DL_LOOKUP_ADDRESS to get the
288 memory location.
289
290 2000-09-14 Jes Sorensen <jes@linuxcare.com>
291
292 * sysdeps/ia64/bits/byteswap.h (__bswap_16): Don't mark output
293 variable as input argument.
294 (__bswap_32): Likewise.
295
296 * sysdeps/ia64/dl-machine.h: Add missing stop bit in RTLD_START()
297 - found by Jim Wilson <wilson@cygnus.com>
298
299 2000-09-26 Ulrich Drepper <drepper@redhat.com>
300
301 * string/strxfrm.c: Only require alignment on __alignof__ (int32_t)
302 instead of 4.
303
304 2000-09-26 Andreas Schwab <schwab@suse.de>
305
306 * locale/programs/ld-collate.c (collate_output): Only require
307 alignment on __alignof__ (int32_t) instead of 4.
308 * locale/loadlocale.c (_nl_load_locale): Likewise.
309 * string/strcoll.c: Likewise.
310
311 2000-09-26 Jes Sorensen <jes@linuxcare.com>
312
313 * sysdeps/ieee754/ldbl-96/e_atan2l.c (__ieee754_atan2l): Add
314 parentheses around arithmetic used in | statement to kill compiler
315 warning.
316
317 * math/math_private.h: Add prototype for __finitel.
318 (__ilogbl): Likewise.
319 (__isinfl): Likewise.
320 (__isnanl): Likewise.
321 (__atanl): Likewise.
322 (__copysignl): Likewise.
323 (__expm1l): Likewise.
324 (__floorl): Likewise.
325 (__frexpl): Likewise.
326 (__ldexpl): Likewise.
327 (__log1pl): Likewise.
328 (__nanl): Likewise.
329 (__rintl): Likewise.
330 (__scalbnl): Likewise.
331 (__sqrtl): Likewise.
332 (fabsl): Likewise.
333 (__sincosl): Likewise.
334
335 2000-09-26 Andreas Schwab <schwab@suse.de>
336
337 * sysdeps/m68k/fpu/libm-test-ulps: New file
338
339 2000-09-26 Ulrich Drepper <drepper@redhat.com>
340
341 * locale/langinfo.h (__nl_langinfo_l): Add prototype.
342
343 2000-09-26 Andreas Jaeger <aj@suse.de>
344
345 * misc/mkstemp64.c: New file.
346 * misc/Makefile (routines): Add mkstemp64.
347 * stdlib/stdlib.h: Add prototype and redirection magic.
348 * misc/Versions: Add mkstemp64.
349
350 2000-09-26 Thorsten Kukuk <kukuk@suse.de>
351
352 * nscd/dbg_log.c (dbg_log): Add missing format string.
353
354 2000-09-26 Ulrich Drepper <drepper@redhat.com>
355
356 * catgets/catgets.c (catopen): Use getenv instead of __secure_getenv
357 since we filter out the variable once.
358 * iconv/gconv_conf.c (__gconv_get_path): Likewise.
359 * locale/newlocale.c (__newlocale): Likewise.
360 * locale/setlocale.c (setlocale): Likewise.
361 * malloc/malloc.c (ptmalloc_init): Likewise.
362 * resolv/res_hconf.c (_res_hconf_init): Likewise.
363 * resolv/res_init.c (__res_vinit): Likewise.
364 * time/tzfile.c (__tzfile_read): Likewise.
365 * sysdeps/generic/unsecvars.h: New file.
366 * elf/dl-support.c (non_dynamic_init): Use it here to remove variables.
367 * elf/rtld.c (process_envvars): Likewise.
368 * elf/Makefile (distribute): Add unsecvars.h.
369
370 * misc/daemon.c (daemon): Fail if !noclose and we cannot open the
371 real /dev/null device.
372
373 * sysdeps/generic/check_fds.c: Include device-nrs.h.
374 * sysdeps/generic/device-nrs.h: New file.
375 * sysdeps/unix/sysv/linux/device-nrs.h: New file.
376 * misc/Makefile (distribute): Add device-nrs.h.
377
378 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Use O_TRUNC to
379 remove possible garbage at the end of the file.
380
381 2000-09-25 Ulrich Drepper <drepper@redhat.com>
382
383 * stdio-common/tmpnam_r.c: Warn about insecure tmpnam_r.
384 * stdio-common/tmpnam.c: Warn about insecure tmpnam.
385 * stdio-common/tempnam.c: Warn about insecure tempnam.
386 * misc/mktemp.c: Warn about insecure mktemp.
387
388 * sysdeps/generic/check_fds.c: Check that file opened is really
389 /dev/null.
390 * posix/wordexp.c (exec_comm_child): Likewise.
391
392 * elf/rtld.c (process_envvars): Open debug output file with O_NOFOLLOW.
393
394 * locale/Makefile (routines): Add nl_langinfo_l.
395 * locale/Versions [libc] (GLIBC_2.2): Add __nl_langinfo_l.
396 * locale/nl_langinfo_l.c: New file.
397 * locale/nl_langinfo.c: Allow use of file for __nl_langinfo_l
398 definition.
399
400 2000-09-23 Bruno Haible <haible@clisp.cons.org>
401
402 * iconvdata/gbk.c (USE_PRIVATE_AREA): Define to 0.
403 (__gbk_to_ucs): Conditionalize private area mappings.
404 (__gbk_from_ucs4_tab9): Likewise.
405 (BODY for TO_LOOP): Likewise.
406 * iconvdata/testdata/GBK: Don't use characters not yet in Unicode.
407 * iconvdata/testdata/GBK..UTF-8: Likewise.
408 * iconvdata/tst-tables.sh: Enable GBK test.
409
410 2000-09-23 Bruno Haible <haible@clisp.cons.org>
411
412 * iconvdata/gbk.c (__gbk_to_ucs): Swap U+2014 and U+2015.
413 (__gbk_from_ucs4_tab4): Swap entries for U+2014 and U+2015.
414 (BODY for FROM_LOOP): Reject input > 0xFEA0, avoids out-of-bounds
415 array access.
416 * iconvdata/gbgbk.c (BODY for FROM_LOOP): Map 0xA844 to 0xA1AA.
417 * iconvdata/testdata/GBK..UTF8: Swap U+2014 and U+2015.
418
419 2000-09-23 Bruno Haible <haible@clisp.cons.org>
420
421 * iconvdata/johab.c (final_to_ucs): Fix typos.
422 (jamo_from_ucs_table): Likewise.
423 (BODY for FROM_LOOP): Map 0x5c to U+20A9. Reject ranges
424 0xD9E6..0xD9FE and 0xDEF2..0xDEFE.
425 (BODY for TO_LOOP): Map U+20A9 to 0x5c. Don't produce values in
426 the range 0xD9E6..0xD9FE.
427 * iconvdata/tst-tables.sh: Enable JOHAB testing.
428
429 2000-09-25 Ulrich Drepper <drepper@redhat.com>
430
431 * iconv/gconv_conf.c (__gconv_get_path): Fix problem with relative
432 GCONV_PATH.
433
434 2000-09-24 Ulrich Drepper <drepper@redhat.com>
435
436 * libio/genops.c (_IO_doallocbuf): Don't use single byte buffer if
437 stream is in wide mode.
438
439 * stdio-common/vfprintf.c (buffered_vfprintf): Orient stream.
440
441 2000-09-21 Bruno Haible <haible@clisp.cons.org>
442
443 * iconvdata/iso-2022-cn-ext.c (EMIT_SHIFT_TO_INIT): Shift __count
444 by 3, not 2.
445 (INIT_PARAMS, UPDATE_PARAMS): Likewise.
446
447 2000-09-21 Bruno Haible <haible@clisp.cons.org>
448
449 * stdio-common/vfscanf.c (__vfscanf, _IO_vfscanf): Fix bugs in
450 reallocation logic for MALLOC (%as, %aS formats).
451
452 2000-09-24 Ulrich Drepper <drepper@redhat.com>
453
454 * stdio-common/vfprintf.c (process_arg): Handle %hhn.
455 Add missing case in va_arg handling for numbers.
456 * stdio-common/tst-printf.c (main): Add tests for %hhu and %hhn
457 handling.
458 * stdio/tst-printf.sh: Adjust expected results.
459 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
460
461 2000-09-20 Bruno Haible <haible@clisp.cons.org>
462
463 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Reject 0x80.
464 (BODY for TO_LOOP): Clear bit 7 when outputting ISO-8859-1 upper half
465 characters.
466 * iconvdata/gen-8bit-gap-1.sh: Recognize lowercase hexadecimal digits
467 as equivalent to uppercase hexadecimal digits.
468
469 2000-09-20 Bruno Haible <haible@clisp.cons.org>
470
471 * iconvdata/testdata/EUC-KR..UTF8: New file.
472 * iconvdata/testdata/EUC-TW: New file.
473 * iconvdata/testdata/EUC-TW..UTF8: New file.
474 * iconvdata/testdata/EUC-JP: New file.
475 * iconvdata/testdata/EUC-JP..UTF8: New file.
476 * iconvdata/testdata/ISO-2022-JP: New file.
477 * iconvdata/testdata/ISO-2022-JP..UTF8: New file.
478 * iconvdata/testdata/ISO-2022-JP-2: New file.
479 * iconvdata/testdata/ISO-2022-JP-2..UTF8: New file.
480 * iconvdata/testdata/ISO-2022-KR: Add a few more lines.
481 * iconvdata/testdata/ISO-2022-KR..UTF8: New file.
482 * iconvdata/testdata/ISO-2022-CN: New file.
483 * iconvdata/testdata/ISO-2022-CN..UTF8: New file.
484 * iconvdata/testdata/ISO-2022-CN-EXT: New file.
485 * iconvdata/testdata/ISO-2022-CN-EXT..UTF8: New file.
486 * iconvdata/TESTS: Enable tests for ISO-2022-JP, ISO-2022-JP-2,
487 ISO-2022-CN, ISO-2022-CN-EXT, EUC-JP, EUC-TW.
488
489 2000-09-24 Andreas Jaeger <aj@suse.de>
490
491 * elf/ldconfig.c (add_dir): Move logic to add entry to list to new
492 function add_single_dir.
493 (add_single_dir): New function.
494 (search_dir): Use add_single_dir instead of recursing.
495
496 * sysdeps/generic/dl-cache.h: Include stdint.h.
497 (struct file_entry_new): Use fixed sizes for interoperability
498 between 32bit and 64bit systems, add __unused to make alignment
499 explicit.
500 (CACHE_VERSION): Increment.
501 (struct cache_file_new): Use fixed sizes, add one more unused
502 entry to make alignment explicit.
503
504 2000-09-24 Ulrich Drepper <drepper@redhat.com>
505
506 * elf/ldconfig.c (search_dir): Make more use of d_type information.
507
508 2000-09-23 Ulrich Drepper <drepper@redhat.com>
509
510 * stdio-common/printf-parse.h (parse_one_spec): Clear
511 spec->info.i18n. Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
512
513 2000-09-18 Mark Kettenis <kettenis@gnu.org>
514
515 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_SYNCHRONIZED_IO):
516 #undef since we don't have msync.
517
518 * sysdeps/mach/hurd/bits/time.h: (CLOCKS_PER_SEC): Make a long int
519 constant since that is what clock_t is.
520 * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
521
522 2000-09-11 Mark Kettenis <kettenis@gnu.org>
523
524 * sysdeps/mach/getloadavg.c (getloadavg): Divide instead of
525 multiply by LOAD_SCALE.
526
527 2000-09-22 Jakub Jelinek <jakub@redhat.com>
528
529 * crypt/crypt.h (crypt, setkey, encrypt): Add __THROW.
530 (crypt_r, setkey_r, encrypt_r): Likewise.
531
532 2000-09-22 Andreas Jaeger <aj@suse.de>
533
534 * locale/programs/repertoire.c (repertoiremap_hash): Don't specify
535 array size.
536
537 * sysdeps/alpha/fpu/libm-test-ulps: New file.
538 From Christian Iseli <chris@ludwig-alpha.unil.ch>.
539
540 2000-09-21 Andreas Jaeger <aj@suse.de>
541
542 * math/libm-test.inc (atan_test): Test for existence of function.
543 (expm1_test): Likewise.
544 (acos_test): Likewise.
545 (asin_test): Likewise.
546 (exp_test): Likewise.
547 (log10_test): Likewise.
548 (log_test): Likewise.
549 (pow_test): Likewise.
550 (sqrt_test): Likewise.
551 (cos_test): Likewise.
552 (sin_test): Likewise.
553 (tan_test): Likewise.
554 (log1p_test): Likewise.
555 (log2_test): Likewise.
556
557 * sysdeps/i386/fpu/libm-test-ulps: Tweak some values for K6.
558
559 * libio/oldiofsetpos64.c: Fix alias names.
560
561 2000-09-21 Martin Buchholz <martin@xemacs.org>
562
563 * manual/terminal.texi (Allocation): Sample code correction.
564
565 2000-09-20 Andreas Jaeger <aj@suse.de>
566
567 * iconvdata/Makefile (generated): Add tst-tables.out.
568
569 * intl/Makefile (generated): Add test output.
570
571 2000-09-19 Andreas Jaeger <aj@suse.de>
572
573 * sunrpc/clnt_simp.c (callrpc): Fix write beyond end of buffer.
574 Reported by Jens-Uwe Mager <jum@helios.de>.
575
576 2000-09-18 Ulrich Drepper <drepper@redhat.com>
577
578 * version.h (VERSION): Bump to 2.1.94.
579
580 * sysdeps/mips/Dist: Add fpu/fenv_libc.h.
581 * sysdeps/sparc/sparc32/soft-fp/Dist: Add q_add.c.
582 * sysdeps/sparc/sparc64/soft-fp/Dist: Add qp_add.c.
583 * sysdeps/unix/sysv/linux/ia64/Dist: Add net/route.h.
584
585 * malloc/mtrace.c (mtrace): Mark stream as close on exec.
586
587 2000-09-17 Bruno Haible <haible@clisp.cons.org>
588
589 * iconvdata/utf-16.c (BODY for TO_LOOP): Reject UCS-4 input in the
590 range 0xD800..0xDFFF.
591 * iconvdata/unicode.c (BODY for TO_LOOP): Likewise.
592 (BODY for FROM_LOOP): Likewise.
593 * iconv/gconv_simple.c (ucs2_internal_loop): Likewise.
594 (internal_ucs2_loop): Likewise.
595 (ucs2reverse_internal_loop): Likewise.
596 (internal_ucs2reverse_loop): Likewise.
597
598 2000-09-17 Bruno Haible <haible@clisp.cons.org>
599
600 * iconvdata/utf-16.c (gconv_init): Add missing slashes to encoding
601 names.
602
603 2000-09-17 Bruno Haible <haible@clisp.cons.org>
604
605 * iconvdata/tst-table-from.c (main): Fix test for error on stdout.
606 * iconvdata/tst-table-to.c (main): Likewise.
607
608 2000-09-17 Bruno Haible <haible@clisp.cons.org>
609
610 * iconvdata/iso-ir-165.c (__isoir165_from_tab): Renamed from
611 __isoir165_tab.
612 * iconvdata/cns11643.h (__cns11643l1_to_ucs4_tab): New declaration.
613 * iconvdata/iso-2022-cn-ext.c: Include "cns11643.h".
614 (GB7590_set, GB13132_set, CNS11643_3_set, CNS11643_4_set,
615 CNS11643_5_set, CNS11643_6_set, CNS11643_7_set): Change enum values.
616 (BODY for FROM_LOOP): Fix buffer overrun. Treat CNS11643 plane 3.
617 Return __GCONV_INCOMPLETE_INPUT instead of __GCONV_EMPTY_INPUT.
618 (BODY for TO_LOOP): Fix usage of `set' vs. `used'. Fix typo that
619 caused GB2312 to be used instead of ISO-IR-165. Treat CNS11643
620 plane 3. Fix shift sequences. Output announcement for SS2 and SS3
621 encodings when needed. When outputting an announcement, don't clear
622 most other announcements.
623
624 2000-09-17 Bruno Haible <haible@clisp.cons.org>
625
626 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): Fix buffer overrun.
627 (BODY for TO_LOOP): Fix usage of `set' vs. `used'.
628
629 2000-09-14 Bruno Haible <haible@clisp.cons.org>
630
631 * intl/Versions: Add bind_textdomain_codeset.
632
633 2000-09-16 Ralf Baechle <ralf@gnu.org>
634
635 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Reformat. Declare
636 as function.
637 (_RTLD_EPILOGUE): Reformat. Declare size of entry function.
638 (ELF_MACHINE_BEFORE_RTLD_RELOC): Relocate the dynamic linker itself so
639 it will even work when not loaded to the standard address.
640 (RTLD_START): Reformat. Call _dl_start in a way that is safe even
641 before the dynamic linker itself is relocated.
642
643 2000-09-18 Andreas Jaeger <aj@suse.de>
644
645 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
646 __ASSUME_32BITUIDS for MIPS.
647 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: New file.
648 * sysdeps/unix/sysv/linux/mips/Dist: Add ipc_priv.h.
649
650 2000-09-17 H.J. Lu <hjl@gnu.org>
651
652 * catgets/Makefile ($(objpfx)de/libc.cat): Use
653 $(make-target-directory) instead of mkdir.
654
655 2000-09-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
656
657 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
658 __ASSUME_32BITUIDS for __powerpc__.
659 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: New file.
660 * sysdeps/unix/sysv/linux/powerpc/Dist: Add ipc_priv.h.
661
662 2000-09-17 Ulrich Drepper <drepper@redhat.com>
663
664 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Fix last
665 patch.
666 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
667
668 2000-09-16 Jakub Jelinek <jakub@redhat.com>
669
670 * sysdeps/ia64/Implies: Reorder ieee754 implies so that ldbl-* comes
671 first.
672 * sysdeps/m68k/Implies: Likewise.
673 * sysdeps/sparc/sparc64/Implies: Likewise.
674
675 2000-09-16 Jakub Jelinek <jakub@redhat.com>
676
677 * elf/readlib.c (process_file): Don't error for stale .so links either.
678
679 2000-09-16 Ulrich Drepper <drepper@redhat.com>
680
681 * elf/dl-load.c (_dl_map_object_from_fd): Add one more
682 __builtin_expect.
683
684 * include/bits/xopen_lim.h (LONG_BIT): Use LONG_MAX, not INT_MAX.
685 Patch by Thorsten Kukuk <kukuk@suse.de>.
686
687 * dlfcn/Makefile (distribute): Add defaultmod1.c and defaultmod2.c.
688 (test): Add default.
689 (modules-names): Add defaultmod1 and defaultmod2.
690 Add rules to build test objects.
691
692 2000-09-15 Ulrich Drepper <drepper@redhat.com>
693
694 * wctype/wctype.h: Always include <bits/types.h>.
695 Reported by Jim Meyering <meyering@ascend.com>.
696
697 * elf/rtld.c (_dl_dynamic_weak): Set to 1 by default for now.
698 * elf/dl-support.c: Likewise.
699
700 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Correct position of
701 st_blocks member in stat and stat64 structs.
702 Patch by Bill Nottingham <notting@redhat.com>.
703
704 * iconvdata/tst-tables.sh: Add warning that GB18030 test might
705 take longer.
706
707 * math/complex.h: Don't define _Complex macro for gcc 3. Add
708 __extension__ to _Complex_I definition since gcc warns if -pedantic.
709 * math/bits/cmathcalls.h (conj): Add __extension__ since we use ~.
710 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
711
712 * include/limits.h: Define LLONG_MIN, LLONG_MAX, ULLONG_MAX if
713 necessary. Move includes of POSIX and Unix limits files to the end.
714 * stdlib/Makefile (tests): Add tst-limits.
715 * stdlib/tst-limits.h: New file.
716
717 2000-09-15 Andreas Jaeger <aj@suse.de>
718
719 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Handle FE_NOMASK_ENV.
720
721 * sysdeps/mips/bits/fenv.h (FE_NOMASK_ENV): Define.
722
723 2000-09-15 Jakub Jelinek <jakub@redhat.com>
724
725 * sysdeps/unix/alpha/sysdep.h (inline_syscall_clobbers): Add memory
726 clobber.
727 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
728 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Likewise.
729
730 2000-09-15 Ulrich Drepper <drepper@redhat.com>
731
732 * elf/Makefile (distribute): Add nextmod1.c and nextmod2.c.
733 (tests): Add next.
734 (modules-names): Add nextmod1 and nextmod2.
735 Add rules to build and run next.
736 * elf/next.c: New file.
737 * elf/nextmod1.c: New file.
738 * elf/nextmod2.c: New file.
739
740 2000-09-14 Jakub Jelinek <jakub@redhat.com>
741
742 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Fix a typo.
743
744 2000-09-15 Andreas Jaeger <aj@suse.de>
745
746 * sysdeps/mips/fpu/fenv_libc.h: New file.
747 * sysdeps/mips/fpu/feenablxcpt.c: Use fenv_libc.h
748 * sysdeps/mips/fpu/fegetexcept.c: Likewise.
749 * sysdeps/mips/fpu/fedisblxcpt.c: Likewise.
750
751 * sysdeps/mips/fpu/feenablxcpt.c: New file.
752 * sysdeps/mips/fpu/fegetexcept.c: New file.
753 * sysdeps/mips/fpu/fedisblxcpt.c: New file.
754
755 2000-09-14 Ulrich Drepper <drepper@redhat.com>
756
757 * intl/Makefile: Avoid unnecessary test reruns.
758
759 * stdio-common/tst-printf.sh: Also allow output from 64-bit machines.
760
761 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Change
762 to not use sysctl(). Too many architectures have problems with it.
763
764 2000-09-14 Andreas Jaeger <aj@suse.de>
765
766 * scripts/config.sub: New version from subversions.gnu.org.
767
768 * time/clocktest.c (main): Change format, CLOCKS_PER_SEC is now
769 long.
770
771 2000-09-14 Jakub Jelinek <jakub@redhat.com>
772
773 * posix/regex.c (compile_range): Cast collseq index to unsigned char
774 to avoid accessing data before collseq.
775
776 * sysdeps/sparc/fpu/bits/mathinline.h (__unordered_v9cmp): Avoid
777 pasting strings together.
778
779 2000-09-14 Greg McGary <greg@mcgary.org>
780
781 * sysdeps/generic/bp-checks.h: Remove bogus reference to GNU MP in
782 copyright notice.
783 * sysdeps/generic/bp-semctl.h: Likewise.
784 * sysdeps/generic/bp-start.h: Likewise.
785 * sysdeps/generic/bp-sym.h: Likewise.
786 * sysdeps/generic/bp-thunks.h: Likewise. Include <stdio.h> to get
787 rename prototype.
788
789 2000-09-13 Ulrich Drepper <drepper@redhat.com>
790
791 * io/test-lfs.c (do_test): Allow stat64() to return EOVERFLOW and
792 don't fail.
793
794 * elf/elf.h: Add missing official relocations.
795
796 * libio/stdio.h: Define __FILE if __need___FILE is defined.
797 * stdio/stdio.h: Likewise.
798 * wcsmbs/wchar.h: Get definition of __FILE. Use __FILE instead of FILE.
799 * include/stdio.h: Handle __need___FILE like __need_FILE.
800 * include/wchar.h: Use __FILE instead of FILE.
801 * libio/fwprintf.c: Include <stdio.h> for FILE definition.
802 * libio/fwscanf.c: Likewise.
803 * libio/getwc.c: Likewise.
804
805 * sysdeps/generic/stdint.h (WINT_MAX): Define to 4294967295u.
806 * sysdeps/generic/bits/wchar.h (WCHAR_MIN): Define to -2147483647 - 1.
807 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Likewise.
808
809 * assert/assert.h: Update comment header about ISO C section.
810 * math/complex.h: Likewise.
811 * ctype/ctype.h: Likewise.
812 * include/errno.h: Likewise.
813 * include/limits.h: Likewise.
814 * locale/locale.h: Likewise.
815 * math/math.h: Likewise.
816 * setjmp/setjmp.h: Likewise.
817 * signal/signal.h: Likewise.
818 * stdio/stdio.h: Likewise.
819 * libio/stdio.h: Likewise.
820 * stdlib/stdlib.h: Likewise.
821 * string/string.h: Likewise.
822 * time/time.h: Likewise.
823 * wcsmbs/wchar.h: Likewise.
824 * wctype/wctype.h: Likewise.
825 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
826
827 2000-09-13 Andreas Jaeger <aj@suse.de>
828
829 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Fix test
830 for no more entries.
831 * sysdeps/unix/sysv/aix/bits/socket.h (__cmsg_nxthdr): Likewise.
832 * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Likewise.
833 Reported by Eric S. Johnson <esj@cs.fiu.edu>, closes PR libc/1887.
834
835 2000-09-13 Ulrich Drepper <drepper@redhat.com>
836
837 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Make a long int
838 constant since this is what clock_t is.
839 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
840 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
841 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
842 * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.
843
844 * time/time.h: Don't defined clockid_t and timer_t unless POSIX
845 definitions are requested.
846
847 2000-09-13 Andreas Jaeger <aj@suse.de>
848
849 * shlib-versions: libBrokenLocale needs minimal version for ia64,
850 sparc64 and sh to synch with libc.
851
852 2000-09-13 Ulrich Drepper <drepper@redhat.com>
853
854 * iconvdata/Makefile (modules): Add ISO-2022-CN-EXT.
855 (distribute): Add iso-2022-cn-ext.c.
856 Add definitions to compile the new module.
857 * iconvdata/gconv-modules: Add entries for ISO-2022-CN-EXT.
858 * iconvdata/iso-2022-cn-ext.c: New file.
859 * iconvdata/iso-ir-165.h (isoir165_to_ucs4): Renamed from
860 ucs4_from_isoir165. Increment input pointer if successful.
861
862 * csu/Makefile: Work around a gcc bug when creating csu-dummies.
863
864 * sysdeps/unix/sysv/linux/getdents.c: Pretty print.
865
866 2000-09-01 Jes Sorensen <jes@linuxcare.com>
867
868 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add
869 __syscall_getdents64 wrapper.
870
871 * sysdeps/unix/sysv/linux/ia64/net/route.h: New file.
872
873 2000-09-12 Ulrich Drepper <drepper@redhat.com>
874
875 * iconvdata/gb18030.c: Many many changes. Make consistent with
876 charmap and with itself.
877 * iconvdata/tst-tables.sh: Test GB18030.
878
879 2000-09-11 Ulrich Drepper <drepper@redhat.com>
880
881 * iconv/skeleton.c: Fix last patch, add missing parameter to
882 unaligned function call.
883
884 2000-09-10 Bruno Haible <haible@clisp.cons.org>
885
886 * locale/programs/ld-collate.c (collate_read): Fix typo in handling
887 of decimal ellipsis.
888
889 2000-09-11 Bruno Haible <haible@clisp.cons.org>
890
891 * locale/programs/ld-collate.c (collate_read): Always initialize
892 error_section.next.
893
894 2000-09-10 Bruno Haible <haible@clisp.cons.org>
895
896 * locale/programs/ld-collate.c (collate_finish): Upper bound for
897 ruleidx is 128, not 256.
898
899 2000-09-11 Ulrich Drepper <drepper@redhat.com>
900
901 * locale/programs/ld-collate.c (collate_read): Correct check for
902 already inserted entries.
903
904 2000-09-10 Bruno Haible <haible@clisp.cons.org>
905
906 * iconv/skeleton.c (FUNCTION_NAME): Handle unaligned access in
907 second try as well.
908
909 2000-09-10 Bruno Haible <haible@clisp.cons.org>
910
911 * iconv/skeleton.c (FUNCTION_NAME): Optimize an `if' if
912 MAX_NEEDED_FROM > 1 && MAX_NEEDED_TO > 1.
913
914 2000-09-10 Bruno Haible <haible@clisp.cons.org>
915
916 * iconv/skeleton.c (gconv_init): Replace all uses of RESET_STATE with
917 SAVE_RESET_STATE.
918
919 2000-09-10 Bruno Haible <haible@clisp.cons.org>
920
921 * iconvdata/utf-7.c: New file.
922 * iconvdata/gconv-modules (UTF-7): New module entries.
923 * iconvdata/Makefile (modules): Add UTF-7.
924 (distribute): Add utf-7.c.
925 * iconvdata/testdata/UTF-7: New file.
926 * iconvdata/testdata/UTF-7..UTF8: New file.
927 * iconvdata/TESTS (UTF-7): New entry.
928 * iconvdata/run-iconv-test.sh: Fix confusing output.
929
930 2000-09-11 Ulrich Drepper <drepper@redhat.com>
931
932 * sysdeps/posix/tempname.c (__gen_tempname): Use __lxstat and __xstat.
933
934 2000-09-10 David S. Miller <davem@redhat.com>
935
936 * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Correct %fp
937 frame pointer offset for non-fast path.
938
939 2000-09-10 Ulrich Drepper <drepper@redhat.com>
940
941 * locale/programs/3level.h (*_init): Initialize level1, level2,
942 and level3 as well.
943 (*_add): Remove a few unnecessary conditionals.
944
945 2000-09-05 Wolfram Gloger <wg@malloc.de>
946
947 * malloc/thread-m.h [_LIBC]: Even if not linking with libpthread,
948 ensure usability of mutex as an `in use' flag.
949
950 2000-09-10 Ulrich Drepper <drepper@redhat.com>
951
952 * shlib-versions: Simplify libm entries. Correct a few Hurd entries.
953
954 * sysdeps/generic/initfini.c: Rewrite slightly to get rid of the
955 ugly GMON_WEAK_START hack.
956 Patch by Philip Blundell <philb@gnu.org>.
957
958 * sysdeps/i386/i486/bits/string.h: Pretty printing.
959
960 2000-09-09 Ulrich Drepper <drepper@redhat.com>
961
962 * sysdeps/powerpc/dl-machine.c: Add volatile to PPC_DCBST, PPC_SYNC,
963 and PPC_ICBI asm for broken compilers.
964 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
965
966 2000-09-09 Andreas Jaeger <aj@suse.de>
967
968 * manual/message.texi (Advanced gettext functions): Fix typo.
969
970 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include <string.h> for
971 strncpy prototype.
972
973 2000-09-09 Ulrich Drepper <drepper@redhat.com>
974
975 * sysdeps/ia64/memchr.S: Add .pred.rel to avoid wrong assembler
976 warnings.
977 * sysdeps/ia64/memccpy.S: Likewise.
978 Patches by Jim Wilson <wilson@redhat.com>.
979
980 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Use uname
981 before trying to read /proc.
982 Patch by Matt Wilson <msw@redhat.com>.
983 * include/sys/utsname.h: Declare __uname.
984 * sysdeps/generic/uname.c: Make uname a weak alias of __uname.
985 * sysdeps/mach/hurd/uname.c: Likewise.
986 * sysdeps/unix/syscalls.list: Likewise.
987
988 * iconv/gconv_dl.c (do_release_shlib): Rewrite condition for
989 unloading a bit.
990
991 2000-09-08 Ulrich Drepper <drepper@redhat.com>
992
993 * posix/getopt.c (_getopt_internal): When long_only is set always
994 recognize conflicts just like before.
995
996 2000-09-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
997
998 * sysdeps/ia64/Makefile (sysdep-rtld-routines): New variable.
999
1000 2000-09-08 Greg McGary <greg@mcgary.org>
1001
1002 * sysdeps/unix/sysv/linux/syscalls.list (mincore): Fix arg signature.
1003 * sysdeps/unix/make-syscalls.sh: New signature keyletter `V'.
1004 * sysdeps/generic/bp-checks.h (CHECK_N_PAGES): New macro.
1005
1006 2000-09-08 Andreas Jaeger <aj@suse.de>
1007
1008 * sysdeps/unix/sysv/linux/arm/lockf64.c: New file.
1009
1010 * sysdeps/unix/sysv/linux/arm/fcntl.c: New file.
1011
1012 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h
1013 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
1014 (F_GETLK,F_SETLK,F_SETLKW): Handle __USE_FILE_OFFSET64 correctly.
1015
1016 2000-09-07 Ulrich Drepper <drepper@redhat.com>
1017
1018 * iconvdata/tst-tables.sh: Enable EUC-KR test.
1019
1020 * elf/dl-load.c (lose): Decrement _nl_loaded.
1021 (_dl_map_object_from_fd): Don't try to dlopen executables.
1022
1023 * iconvdata/tst-tables.sh: Actually return with an error if
1024 something goes wrong.
1025 * iconvdata/tst-table.sh: Return with an error if any of the cmp fails.
1026 * iconvdata/big5hkscs.c (BODY of FROM_LOOP): Reject 0xff as input.
1027
1028 * iconvdata/tst-tables.sh: Add BIG5HKSCS.
1029
1030 * iconvdata/tst-table-to.c (main): Correct cast in iconv call.
1031 * iconvdata/tst-table-from.c: Include <string.h>.
1032 (try): Correct cast in iconv call.
1033
1034 * elf/Makefile (all-rtld-routines): Evaluate $(sysdep-rtld-routines)
1035 too.
1036 * sysdeps/powerpc/Makefile (sysdep-rtld-routines): New variable.
1037 (sysdep_routines): Remove dl-start.
1038 Patches by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1039
1040 * assert/__assert.c: Undefine NDEBUG before include <assert.h>.
1041
1042 * sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning.
1043 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
1044
1045 2000-09-06 Andreas Schwab <schwab@suse.de>
1046
1047 * sysdeps/unix/sysv/linux/ia64/bits/time.h: New file.
1048
1049 2000-09-07 Ulrich Drepper <drepper@redhat.com>
1050
1051 * sysdeps/unix/sysv/linux/gethostid.c: Find hostid file in /etc.
1052
1053 * scripts/config.sub: Strip out -unknown for Linux targets.
1054 Patch by Scott Bambrough <scottb@netwinder.org>.
1055
1056 * posix/tst-dir.c (main): Correct one bug (missing NULL test) and
1057 add one more test.
1058
1059 2000-09-07 Andreas Jaeger <aj@suse.de>
1060
1061 * sysdeps/unix/sysv/linux/mips/lockf64.c: New file.
1062
1063 * sysdeps/unix/sysv/linux/i386/fcntl.c: Add prototypes for the
1064 syscalls.
1065
1066 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add __syscall_fcntl.
1067
1068 * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Fix calls to dl_lookup.
1069 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
1070
1071 * sysdeps/unix/sysv/linux/mips/fcntl.c: New file.
1072
1073 * stdlib/tst-bsearch.c (main): Add more test cases.
1074
1075 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo.
1076 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1077 Reported by GOTO Masanori <gotom@debian.or.jp>.
1078
1079 2000-09-07 Ulrich Drepper <drepper@redhat.com>
1080
1081 * posix/Makefile (tests): Add tst-dir.
1082 (tst-dir-ARGS): New variable.
1083 * posix/tst-dir.c: New file.
1084
1085 2000-09-07 Andreas Jaeger <aj@suse.de>
1086
1087 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_getdents64): New.
1088 (SYS_fcntl64): New.
1089
1090 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add getdents64.
1091
1092 2000-09-06 Ulrich Drepper <drepper@redhat.com>
1093
1094 * sysdeps/unix/opendir.c: If O_DIRECTORY_WORKS is defined don't
1095 use the hack with tryopen_o_directory to determine at runtime
1096 whether it works.
1097 * sysdeps/unix/sysv/linux/opendir.c: New file.
1098 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1099 __ASSUME_O_DIRECTORY if kernel knows O_DIRECTORY.
1100
1101 * catgets/Depend: New file. Add intl.
1102 * catgets/Makefile (tests): Add tst-catgets.
1103 (generated): Remove de.msg.
1104 (generated-dirs): Add de.
1105 Add dependency if tst-catgets output on de/libc.cat.
1106 * catgets/tst-catgets.c: New file.
1107
1108 * po/ja.po: New file.
1109 * po/el.po: Update from translation team.
1110
1111 * wcsmbs/Depend: New file.
1112 * wcsmbs/Makefile (tests): Add tst-btowc.
1113 (tst-btowc-ENV): Define.
1114 * wcsmbs/tst-btowc.c: New file.
1115
1116 * sysdeps/unix/sysv/linux/_G_config.h: Moved to...
1117 * sysdeps/gnu/_G_config.h: ...here to be shared with Hurd.
1118
1119 * sysdeps/posix/signal.c: Add sig to act.sa_mask for completeness.
1120
1121 * stdlib/Makefile (tests): Add tst-bsearch.
1122 * stdlib/tst-bsearch.c: New file.
1123
1124 * posix/getopt.c (_getopt_internal): Don't recognize an option
1125 name as ambiguous if it's a prefix for more than one name but the
1126 other struct option values are identical.
1127
1128 * posix/tstgetopt.c: Add test for improved ambiguity recognition.
1129 Don't depend on visual inspection of the output file to recognize
1130 errors.
1131 * posix/Makefile (tstgetopt-ARGS): Add a few more parameters.
1132
1133 2000-09-06 Andreas Jaeger <aj@suse.de>
1134
1135 * sysdeps/alpha/soft-fp/Dist: New file.
1136 * sysdeps/i386/soft-fp/Dist: New file.
1137 * sysdeps/mips/mips64/soft-fp/Dist: New file.
1138 * sysdeps/mips/soft-fp/Dist: New file.
1139 * sysdeps/powerpc/soft-fp/Dist: New file.
1140 * sysdeps/sparc/sparc32/soft-fp/Dist: New file.
1141 * sysdeps/sparc/sparc64/soft-fp/Dist: New file.
1142
1143 * sysdeps/sparc/sparc64/soft-fp/Makefile [$(subdir) = soft-fp]:
1144 Use sysdep_routines instead of routines to fix make dist failure.
1145 * sysdeps/sparc/sparc32/soft-fp/Makefile: Likewise (in commented
1146 out code).
1147 * sysdeps/powerpc/soft-fp/Makefile [$(subdir) = soft-fp]: Likewise.
1148
1149 * sysdeps/mips/Makefile [$(subdir) = misc]: Use
1150 sysdep_headers instead of headers for make dist.
1151
1152 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = misc]:
1153 Likewise.
1154
1155 2000-09-06 Andreas Schwab <schwab@suse.de>
1156
1157 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: New file.
1158
1159 2000-09-06 Andreas Jaeger <aj@suse.de>
1160
1161 * soft-fp/Makefile (distribute): Remove ChangeLog.
1162
1163 * sysdeps/sparc/sparc32/Makefile [$(subdir) = gnulib]: Use
1164 sysdep_routines instead of routines for make dist.
1165
1166 2000-09-05 Ulrich Drepper <drepper@redhat.com>
1167
1168 * libio/libio.h (_IO_fwide_maybe_incompatible): For glibc 2.0
1169 compatibility check for old stream and call _IO_wide in doubt.
1170 (_IO_fwide): Use _IO_fwide_maybe_incompatible macro.
1171 * libio/iofwide.c (_IO_fwide): If compatibility with glibc 2.0 is
1172 needed tst for such an old structure and don't do anything.
1173 * libio/freopen.c: Remove declaration of _IO_stdin_used.
1174
1175 2000-09-06 Andreas Jaeger <aj@suse.de>
1176
1177 * sysdeps/powerpc/Makefile [$(subdir) = elf]: Modify
1178 sysdep-dl-routines and sysdep_routines instead of rtld-routines
1179 and dl-routines.
1180
1181 * soft-fp/ChangeLog: Merged with this file.
1182
1183 2000-06-13 Ulrich Drepper <drepper@redhat.com>
1184
1185 * soft-fp/Makefile (distribute): Add op-8.h and testit.c.
1186
1187 * soft-fp/Makefile (distribute): Add the math functions, too.
1188
1189 * soft-fp/Makefile (distribute): Add ChangeLog, Banner, and configure.
1190
1191 2000-03-03 Geoff Keating <geoffk@cygnus.com>
1192
1193 * soft-fp/soft-fp.h (_FP_ROUND_ZERO): Cast 0 to void before using it
1194 as a statement.
1195
1196 * soft-fp/sysdeps/powerpc/Makefile (routines): New file.
1197 * soft-fp/sysdeps/powerpc/q_*: New files.
1198
1199 2000-09-05 Ulrich Drepper <drepper@redhat.com>
1200
1201 * stdio-common/vfprintf.c (process_string_arg): Handle precision
1202 in wide char case correctly. Don't allocate too long temporary
1203 strings with alloca.
1204
1205 * stdio-common/Makefile (tests): Add tst-swprintf.
1206 (tst-swprintf-ENV): New variable.
1207 * stdio-common/tst-swprintf.c: New file.
1208
1209 2000-09-05 Andreas Jaeger <aj@suse.de>
1210
1211 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use st_pad5.
1212 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Fix assignments.
1213 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1214
1215 2000-09-05 Ulrich Drepper <drepper@redhat.com>
1216
1217 * configure.in: Strip out "unknown" from configuration names.
1218
1219 2000-09-05 Andreas Jaeger <aj@suse.de>
1220
1221 * sysdeps/powerpc/Subdirs: New file, adds soft-fp.
1222
1223 * sysdeps/sparc/sparc64/Implies: Add soft-fp.
1224 * sysdeps/sparc/sparc32/Implies: Likewise.
1225 * sysdeps/powerpc/Implies: Likewise.
1226
1227 * libio/oldiofsetpos64.c: Check for compatibility with glibc 2.1.
1228 * libio/oldiofgetpos64.c: Likewise.
1229
1230 * soft-fp/Makefile (distribute): Remove configure.
1231
1232 * sysdeps/sparc/sparc64/soft-fp/Versions: Use version glibc 2.2.
1233
1234 * soft-fp/configure: Remove.
1235
1236 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
1237 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
1238
1239 * soft-fp/sysdeps/sparc/sparc32/Makefile: Move from here...
1240 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... to here.
1241
1242 * soft-fp/sysdeps/powerpc/Makefile: Move from here...
1243 * sysdeps/powerpc/soft-fp/Makefile: ... to here.
1244
1245 * soft-fp/sysdeps/sparc/sparc64/Makefile: Move from here...
1246 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... to here.
1247
1248 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
1249 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
1250
1251 * soft-fp/sysdeps/powerpc/q_add.c: Move from here...
1252 * sysdeps/powerpc/soft-fp/q_add.c: ... to here.
1253
1254 * soft-fp/sysdeps/powerpc/q_cmp.c: Move from here...
1255 * sysdeps/powerpc/soft-fp/q_cmp.c: ... to here.
1256
1257 * soft-fp/sysdeps/powerpc/q_cmpe.c: Move from here...
1258 * sysdeps/powerpc/soft-fp/q_cmpe.c: ... to here.
1259
1260 * soft-fp/sysdeps/powerpc/q_div.c: Move from here...
1261 * sysdeps/powerpc/soft-fp/q_div.c: ... to here.
1262
1263 * soft-fp/sysdeps/powerpc/q_dtoq.c: Move from here...
1264 * sysdeps/powerpc/soft-fp/q_dtoq.c: ... to here.
1265
1266 * soft-fp/sysdeps/powerpc/q_feq.c: Move from here...
1267 * sysdeps/powerpc/soft-fp/q_feq.c: ... to here.
1268
1269 * soft-fp/sysdeps/powerpc/q_fge.c: Move from here...
1270 * sysdeps/powerpc/soft-fp/q_fge.c: ... to here.
1271
1272 * soft-fp/sysdeps/powerpc/q_fgt.c: Move from here...
1273 * sysdeps/powerpc/soft-fp/q_fgt.c: ... to here.
1274
1275 * soft-fp/sysdeps/powerpc/q_fle.c: Move from here...
1276 * sysdeps/powerpc/soft-fp/q_fle.c: ... to here.
1277
1278 * soft-fp/sysdeps/powerpc/q_flt.c: Move from here...
1279 * sysdeps/powerpc/soft-fp/q_flt.c: ... to here.
1280
1281 * soft-fp/sysdeps/powerpc/q_fne.c: Move from here...
1282 * sysdeps/powerpc/soft-fp/q_fne.c: ... to here.
1283
1284 * soft-fp/sysdeps/powerpc/q_itoq.c: Move from here...
1285 * sysdeps/powerpc/soft-fp/q_itoq.c: ... to here.
1286
1287 * soft-fp/sysdeps/powerpc/q_lltoq.c: Move from here...
1288 * sysdeps/powerpc/soft-fp/q_lltoq.c: ... to here.
1289
1290 * soft-fp/sysdeps/powerpc/q_mul.c: Move from here...
1291 * sysdeps/powerpc/soft-fp/q_mul.c: ... to here.
1292
1293 * soft-fp/sysdeps/powerpc/q_neg.c: Move from here...
1294 * sysdeps/powerpc/soft-fp/q_neg.c: ... to here.
1295
1296 * soft-fp/sysdeps/powerpc/q_qtod.c: Move from here...
1297 * sysdeps/powerpc/soft-fp/q_qtod.c: ... to here.
1298
1299 * soft-fp/sysdeps/powerpc/q_qtoi.c: Move from here...
1300 * sysdeps/powerpc/soft-fp/q_qtoi.c: ... to here.
1301
1302 * soft-fp/sysdeps/powerpc/q_qtoll.c: Move from here...
1303 * sysdeps/powerpc/soft-fp/q_qtoll.c: ... to here.
1304
1305 * soft-fp/sysdeps/powerpc/q_qtos.c: Move from here...
1306 * sysdeps/powerpc/soft-fp/q_qtos.c: ... to here.
1307
1308 * soft-fp/sysdeps/powerpc/q_qtou.c: Move from here...
1309 * sysdeps/powerpc/soft-fp/q_qtou.c: ... to here.
1310
1311 * soft-fp/sysdeps/powerpc/q_qtoull.c: Move from here...
1312 * sysdeps/powerpc/soft-fp/q_qtoull.c: ... to here.
1313
1314 * soft-fp/sysdeps/powerpc/q_sqrt.c: Move from here...
1315 * sysdeps/powerpc/soft-fp/q_sqrt.c: ... to here.
1316
1317 * soft-fp/sysdeps/powerpc/q_stoq.c: Move from here...
1318 * sysdeps/powerpc/soft-fp/q_stoq.c: ... to here.
1319
1320 * soft-fp/sysdeps/powerpc/q_sub.c: Move from here...
1321 * sysdeps/powerpc/soft-fp/q_sub.c: ... to here.
1322
1323 * soft-fp/sysdeps/powerpc/q_ulltoq.c: Move from here...
1324 * sysdeps/powerpc/soft-fp/q_ulltoq.c: ... to here.
1325
1326 * soft-fp/sysdeps/powerpc/q_util.c: Move from here...
1327 * sysdeps/powerpc/soft-fp/q_util.c: ... to here.
1328
1329 * soft-fp/sysdeps/powerpc/q_utoq.c: Move from here...
1330 * sysdeps/powerpc/soft-fp/q_utoq.c: ... to here.
1331
1332 * soft-fp/sysdeps/sparc/sparc32/q_add.c: Move from here...
1333 * sysdeps/sparc/sparc32/soft-fp/q_add.c: ... to here.
1334
1335 * soft-fp/sysdeps/sparc/sparc32/q_cmp.c: Move from here...
1336 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: ... to here.
1337
1338 * soft-fp/sysdeps/sparc/sparc32/q_cmpe.c: Move from here...
1339 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: ... to here.
1340
1341 * soft-fp/sysdeps/sparc/sparc32/q_div.c: Move from here...
1342 * sysdeps/sparc/sparc32/soft-fp/q_div.c: ... to here.
1343
1344 * soft-fp/sysdeps/sparc/sparc32/q_dtoq.c: Move from here...
1345 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: ... to here.
1346
1347 * soft-fp/sysdeps/sparc/sparc32/q_feq.c: Move from here...
1348 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: ... to here.
1349
1350 * soft-fp/sysdeps/sparc/sparc32/q_fge.c: Move from here...
1351 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: ... to here.
1352
1353 * soft-fp/sysdeps/sparc/sparc32/q_fgt.c: Move from here...
1354 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: ... to here.
1355
1356 * soft-fp/sysdeps/sparc/sparc32/q_fle.c: Move from here...
1357 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: ... to here.
1358
1359 * soft-fp/sysdeps/sparc/sparc32/q_flt.c: Move from here...
1360 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: ... to here.
1361
1362 * soft-fp/sysdeps/sparc/sparc32/q_fne.c: Move from here...
1363 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: ... to here.
1364
1365 * soft-fp/sysdeps/sparc/sparc32/q_itoq.c: Move from here...
1366 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: ... to here.
1367
1368 * soft-fp/sysdeps/sparc/sparc32/q_mul.c: Move from here...
1369 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: ... to here.
1370
1371 * soft-fp/sysdeps/sparc/sparc32/q_neg.c: Move from here...
1372 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: ... to here.
1373
1374 * soft-fp/sysdeps/sparc/sparc32/q_qtod.c: Move from here...
1375 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: ... to here.
1376
1377 * soft-fp/sysdeps/sparc/sparc32/q_qtoi.c: Move from here...
1378 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: ... to here.
1379
1380 * soft-fp/sysdeps/sparc/sparc32/q_qtos.c: Move from here...
1381 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: ... to here.
1382
1383 * soft-fp/sysdeps/sparc/sparc32/q_qtoui.c: Move from here...
1384 * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: ... to here.
1385
1386 * soft-fp/sysdeps/sparc/sparc32/q_qtoux.c: Move from here...
1387 * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: ... to here.
1388
1389 * soft-fp/sysdeps/sparc/sparc32/q_qtox.c: Move from here...
1390 * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: ... to here.
1391
1392 * soft-fp/sysdeps/sparc/sparc32/q_sqrt.c: Move from here...
1393 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: ... to here.
1394
1395 * soft-fp/sysdeps/sparc/sparc32/q_stoq.c: Move from here...
1396 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: ... to here.
1397
1398 * soft-fp/sysdeps/sparc/sparc32/q_sub.c: Move from here...
1399 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: ... to here.
1400
1401 * soft-fp/sysdeps/sparc/sparc32/q_uitoq.c: Move from here...
1402 * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: ... to here.
1403
1404 * soft-fp/sysdeps/sparc/sparc32/q_util.c: Move from here...
1405 * sysdeps/sparc/sparc32/soft-fp/q_util.c: ... to here.
1406
1407 * soft-fp/sysdeps/sparc/sparc32/q_uxtoq.c: Move from here...
1408 * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: ... to here.
1409
1410 * soft-fp/sysdeps/sparc/sparc32/q_xtoq.c: Move from here...
1411 * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: ... to here.
1412
1413 * soft-fp/sysdeps/sparc/sparc64/qp_add.c: Move from here...
1414 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: ... to here.
1415
1416 * soft-fp/sysdeps/sparc/sparc64/qp_cmp.c: Move from here...
1417 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: ... to here.
1418
1419 * soft-fp/sysdeps/sparc/sparc64/qp_cmpe.c: Move from here...
1420 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: ... to here.
1421
1422 * soft-fp/sysdeps/sparc/sparc64/qp_div.c: Move from here...
1423 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: ... to here.
1424
1425 * soft-fp/sysdeps/sparc/sparc64/qp_dtoq.c: Move from here...
1426 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: ... to here.
1427
1428 * soft-fp/sysdeps/sparc/sparc64/qp_feq.c: Move from here...
1429 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: ... to here.
1430
1431 * soft-fp/sysdeps/sparc/sparc64/qp_fge.c: Move from here...
1432 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: ... to here.
1433
1434 * soft-fp/sysdeps/sparc/sparc64/qp_fgt.c: Move from here...
1435 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: ... to here.
1436
1437 * soft-fp/sysdeps/sparc/sparc64/qp_fle.c: Move from here...
1438 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: ... to here.
1439
1440 * soft-fp/sysdeps/sparc/sparc64/qp_flt.c: Move from here...
1441 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: ... to here.
1442
1443 * soft-fp/sysdeps/sparc/sparc64/qp_fne.c: Move from here...
1444 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: ... to here.
1445
1446 * soft-fp/sysdeps/sparc/sparc64/qp_itoq.c: Move from here...
1447 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: ... to here.
1448
1449 * soft-fp/sysdeps/sparc/sparc64/qp_mul.c: Move from here...
1450 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: ... to here.
1451
1452 * soft-fp/sysdeps/sparc/sparc64/qp_qtod.c: Move from here...
1453 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: ... to here.
1454
1455 * soft-fp/sysdeps/sparc/sparc64/qp_qtoi.c: Move from here...
1456 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: ... to here.
1457
1458 * soft-fp/sysdeps/sparc/sparc64/qp_qtos.c: Move from here...
1459 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: ... to here.
1460
1461 * soft-fp/sysdeps/sparc/sparc64/qp_qtoui.c: Move from here...
1462 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: ... to here.
1463
1464 * soft-fp/sysdeps/sparc/sparc64/qp_qtoux.c: Move from here...
1465 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: ... to here.
1466
1467 * soft-fp/sysdeps/sparc/sparc64/qp_qtox.c: Move from here...
1468 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: ... to here.
1469
1470 * soft-fp/sysdeps/sparc/sparc64/qp_sqrt.c: Move from here...
1471 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: ... to here.
1472
1473 * soft-fp/sysdeps/sparc/sparc64/qp_stoq.c: Move from here...
1474 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: ... to here.
1475
1476 * soft-fp/sysdeps/sparc/sparc64/qp_sub.c: Move from here...
1477 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: ... to here.
1478
1479 * soft-fp/sysdeps/sparc/sparc64/qp_uitoq.c: Move from here...
1480 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: ... to here.
1481
1482 * soft-fp/sysdeps/sparc/sparc64/qp_util.c: Move from here...
1483 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: ... to here.
1484
1485 * soft-fp/sysdeps/sparc/sparc64/qp_uxtoq.c: Move from here...
1486 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: ... to here.
1487
1488 * soft-fp/sysdeps/sparc/sparc64/qp_xtoq.c: Move from here...
1489 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: ... to here.
1490
1491 * soft-fp/sysdeps/sparc/sparc64/s_frexpl.c: Move from here...
1492 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: ... to here.
1493
1494 * soft-fp/sysdeps/sparc/sparc64/s_ilogbl.c: Move from here...
1495 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: ... to here.
1496
1497 * soft-fp/sysdeps/sparc/sparc64/s_scalblnl.c: Move from here...
1498 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: ... to here.
1499
1500 * soft-fp/sysdeps/sparc/sparc64/s_scalbnl.c: Move from here...
1501 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: ... to here.
1502
1503 * soft-fp/sysdeps/alpha/sfp-machine.h: Move from here...
1504 * sysdeps/alpha/soft-fp/sfp-machine.h: ... to here.
1505
1506 * soft-fp/sysdeps/i386/sfp-machine.h: Move from here...
1507 * sysdeps/i386/soft-fp/sfp-machine.h: ... to here.
1508
1509 * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Move from here...
1510 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: ... to here.
1511
1512 * soft-fp/sysdeps/mips/sfp-machine.h: Move from here...
1513 * sysdeps/mips/soft-fp/sfp-machine.h: ... to here.
1514
1515 * soft-fp/sysdeps/powerpc/sfp-machine.h: Move from here...
1516 * sysdeps/powerpc/soft-fp/sfp-machine.h: ... to here.
1517
1518 * soft-fp/sysdeps/sparc/sparc32/sfp-machine.h: Move from here...
1519 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: ... to here.
1520
1521 * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Move from here...
1522 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: ... to here.
1523
1524 * soft-fp/sysdeps/powerpc/Versions: Move from here...
1525 * sysdeps/powerpc/soft-fp/Versions: ... to here.
1526
1527 * soft-fp/sysdeps/sparc/sparc64/Versions: Move from here...
1528 * sysdeps/sparc/sparc64/soft-fp/Versions: ... to here.
1529
1530 * libio/oldiofsetpos64.c: iofsetpos was introduced in glibc 2.1,
1531 change symbol version.
1532 * libio/oldiofgetpos64.c: Likewise.
1533 Reported by Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>.
1534
1535 * locale/programs/ld-ctype.c (charclass_charcode_ellipsis): Fix
1536 typo.
1537 Reported by dyky@kondara.org, closes PR libc/1886.
1538
1539 * stdlib/tst-strtod.c: Add testcases for denormal numbers from PR
1540 libc/1880.
1541
1542 2000-09-04 Ulrich Drepper <drepper@redhat.com>
1543
1544 * iconvdata/run-iconv-test.sh: Add code to immediately stop the
1545 script when ^C is hit.
1546
1547 * locale/programs/localedef.c (construct_output_path): Correct
1548 computation of endp after asprintf.
1549 * locale/programs/locfile.c (write_locale_data): Don't add extra
1550 slash in filename.
1551
1552 2000-09-05 Andreas Jaeger <aj@suse.de>
1553
1554 * scripts/config.guess: New upstream version.
1555 * scripts/config.sub: Likewise.
1556 * manual/texinfo.tex: Likewise.
1557
1558 2000-09-04 Andreas Schwab <schwab@suse.de>
1559
1560 * elf/Makefile (all-dl-routines): New variable.
1561 (elide-routines.os): Use it instead of $(dl-routines).
1562 (all-rtld-routines): New variable.
1563 (extra-objs): Use it instead of $(rtld-routines).
1564 ($(objpfx)dl-allobjs.os): Likewise.
1565 * sysdeps/ia64/Makefile [$(subdir) = elf]: Modify
1566 sysdep-dl-routines and sysdep_routines instead of rtld-routines
1567 and dl-routines.
1568
1569 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1570
1571 * iconv/gconv_trans.c (__gconv_translit_find): Update open_count.
1572 Set fname to NULL if the module wasn't found.
1573
1574 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1575
1576 * iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to
1577 true if trans->name already ends in ".so".
1578
1579 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1580
1581 * iconv/gconv_int.h (__gconv_release_shlib): Change return type to
1582 void.
1583 * iconv/gconv_dl.c (do_release_shlib): Don't decrement the counter
1584 below -TRIES_BEFORE_UNLOAD-1, to avoid wraparound.
1585 (__gconv_release_shlib): Change return type to void.
1586 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Don't set
1587 step->__counter here.
1588 * iconv/gconv_db.c (free_derivation): Don't call a step's destructor
1589 if the reference is zero.
1590 (release_step): New function.
1591 (gen_steps): Always initialize the __counter to 1. Use release_step.
1592 Don't call the destructor on the step whose initializer failed.
1593 (increment_counter): Use release_step. Don't normally run destructors
1594 here.
1595 (__gconv_close_transform): Use release_step.
1596
1597 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1598
1599 * iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove.
1600 (__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead.
1601
1602 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1603
1604 * iconvdata/euc-tw.c (BODY for FROM_LOOP): Initialize ch2 correctly.
1605 If the first byte is 0x8E, don't ask for 4 bytes until it has been
1606 verified that the second byte is valid. Leave it to cns11643_to_ucs4
1607 to check for incomplete input.
1608 * iconvdata/cns11643.h (cns11643_to_ucs4): The plane number is
1609 ch - 0x20 - offset, not ch - 0x21 - offset. Upper bound for
1610 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
1611 (ucs4_to_cns11643): Fix mapping for ranges 0x3105..0x3129 and
1612 0x9f9d..0x9fa5.
1613 * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Upper bound for
1614 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
1615 (ucs4_to_cns11643l1): Fix mapping for range 0x3105..0x3129.
1616 * iconvdata/cns11643l1.c (__cns11643l1_from_ucs4_tab6): Extend
1617 upto index 0x0052.
1618
1619 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1620
1621 * iconv/gconv_db.c (find_derivation): Always use the least-cost
1622 solution.
1623
1624 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1625
1626 * iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF
1627 are invalid.
1628
1629 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1630
1631 * iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C.
1632 * iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to
1633 U+007E.
1634
1635 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1636
1637 * iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C.
1638
1639 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1640
1641 * iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7.
1642
1643 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1644
1645 * iconvdata/tst-tables.sh: New file.
1646 * iconvdata/tst-table.sh: New file.
1647 * iconvdata/tst-table-from.c: New file.
1648 * iconvdata/tst-table-to.c: New file.
1649 * iconvdata/tst-table-charmap.sh: New file.
1650 * iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to.
1651 (distribute): Add tst-tables.sh, tst-table.sh, tst-table-charmap.sh,
1652 tst-table-from.c, tst-table-to.c, EUC-JP.irreversible,
1653 ISIRI-3342.irreversible, SJIS.irreversible.
1654 (tests): Add dependency on tst-tables.out.
1655 (tst-tables.out, tst-tables-clean): New rules.
1656 (do-tests-clean, common-mostlyclean): Require tst-tables-clean.
1657 * iconvdata/ISIRI-3342.irreversible: New file.
1658 * iconvdata/EUC-JP.irreversible: New file.
1659 * iconvdata/SJIS.irreversible: New file.
1660
1661 2000-09-04 Ulrich Drepper <drepper@redhat.com>
1662
1663 * manual/locale.texi (General Numeric): Update description of
1664 representation of the grouping information in the locale data.
1665 Patch by Gaute B. Strokkenes <gs234@cam.ac.uk>.
1666
1667 2000-09-04 Andreas Jaeger <aj@suse.de>
1668
1669 * locale/programs/ld-monetary.c (monetary_read): Fix typo.
1670 * iconv/iconv_prog.c (options): Fix typo.
1671 Reported by dyky@kondara.org, closes PR libc/1885.
1672
1673 2000-09-04 Andreas Jaeger <aj@suse.de>
1674
1675 * sysdeps/generic/fegetenv.c: It's __fegetenv.
1676 Reported by Rob Levin <lilo@transvirtual.com>.
1677
1678 2000-09-03 Ulrich Drepper <drepper@redhat.com>
1679
1680 * time/sys/time.h (gettimeofday): Move restrict for tz parameter
1681 to the typedefs of __timezone_ptr_t.
1682 Reported by MATSUMURA Hiromitsu <coji2@mb.infoweb.ne.jp>.
1683
1684 2000-09-02 Jakub Jelinek <jakub@redhat.com>
1685
1686 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in
1687 the loop.
1688
1689 2000-09-01 H.J. Lu <hjl@gnu.org>
1690
1691 * Makeconfig (built-program-cmd): Don't use the dynamic linker
1692 to run a binary if it is in $(tests-static).
1693
1694 * Rules (binaries-static): Add $(tests-static).
1695
1696 2000-09-02 Andreas Jaeger <aj@suse.de>
1697
1698 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Fixes for fcntl64.
1699
1700 * libio/fmemopen.c (fmemopen_close): Revert one part of last
1701 patch.
1702
1703 2000-09-01 Ulrich Drepper <drepper@redhat.com>
1704
1705 * iconvdata/big5hkscs.c: Regenerated from charmap.
1706 * iconvdata/testdata/BIG5HKSCS: Regenerated.
1707 * iconvdata/testdata/BIG5HKSCS..UTF8: Regenerated.
1708
1709 * libio/fmemopen.c (fmemopen_seek): Add default case in switch
1710 statement. General cleanup.
1711
1712 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1713
1714 * wctype/wcfuncs.c (iswblank): New function.
1715 * wctype/wcfuncs_l.c (__iswblank_l): New function.
1716 * wctype/wcextra.c: Remove file.
1717 * wctype/wcextra_l.c: Remove file.
1718 * wctype/Makefile (distribute): Remove wcextra and wcextra_l.
1719
1720 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1721
1722 * locale/programs/ld-collate.c (collate_output): Remove redundant
1723 assert call.
1724 * string/strcoll.c: Likewise.
1725 * string/strxfrm.c: Include assert.h. Add assert calls like in
1726 string/strcoll.c.
1727
1728 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1729
1730 * locale/categories.def (_NL_COLLATE_HASH_SIZE,
1731 _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_NAMES, _NL_CTYPE_NAMES,
1732 _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Remove definitions.
1733 * locale/langinfo.h (_NL_COLLATE_HASH_SIZE, _NL_COLLATE_HASH_LAYERS,
1734 _NL_COLLATE_NAMES): Rename to _NL_COLLATE_GAP1/2/3 respectively.
1735 (_NL_CTYPE_NAMES): Rename to _NL_CTYPE_GAP3.
1736 (_NL_CTYPE_GAP3): Rename to _NL_CTYPE_GAP4.
1737 (_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Rename to
1738 _NL_CTYPE_GAP5/6 respectively.
1739
1740 * locale/C-ctype.c (_nl_C_LC_CTYPE): Update.
1741 * ctype/ctype-info.c (__ctype_names, __ctype_width): Remove variables.
1742 * locale/lc-ctype.c (_nl_postload_ctype): Assume new locale format.
1743 Don't initialize __ctype_names and __ctype_width.
1744 * wctype/cname-lookup.h: Remove file.
1745 * wctype/Makefile (distribute): Remove cname-lookup.h.
1746 * wctype/wchar-lookup.h: Include stdint.h.
1747 * wctype/wctype.c (__wctype): Assume new locale format.
1748 * wctype/wctype_l.c (__wctype_l): Likewise.
1749 * wctype/iswctype.c: Don't include cname-lookup.h.
1750 (__iswctype): Assume new locale format.
1751 * wctype/iswctype_l.c: Don't include cname-lookup.h.
1752 (__iswctype_l): Assume new locale format.
1753 * wctype/wctrans.c: Don't include ctype.h.
1754 (wctrans): Assume new locale format.
1755 * wctype/wctrans_l.c (__wctrans_l): Likewise.
1756 * wctype/towctrans.c: Don't include cname-lookup.h.
1757 (__towctrans): Assume new locale format.
1758 * wctype/towctrans_l.c: Don't include cname-lookup.h.
1759 (__towctrans_l): Assume new locale format.
1760 * wctype/wcfuncs.c: Don't include ctype.h and cname-lookup.h. Include
1761 localeinfo.h instead.
1762 (__NO_WCTYPE): Remove unused macro.
1763 (__ctype32_b, __ctype32_toupper, __ctype32_tolower): Remove
1764 declarations.
1765 (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, iswprint,
1766 iswpunct, iswspace, iswupper, iswxdigit): Assume new locale format.
1767 (towlower, towupper): Likewise.
1768 * wctype/wcfuncs_l.c: Don't include cname-lookup.h. Include
1769 localeinfo.h instead.
1770 (__NO_WCTYPE): Remove unused macro.
1771 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
1772 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
1773 __iswxdigit_l): Assume new locale format.
1774 (__towlower_l, __towupper_l): Likewise.
1775 * wcsmbs/wcwidth.h: Don't include cname-lookup.h.
1776 (__ctype32_b): Remove declaration.
1777 (internal_wcwidth): Assume new locale format.
1778 * locale/programs/ld-ctype.c (struct locale_ctype_t): Remove fields
1779 plane_size, plane_cnt, names, width. Rename map to map_b, rename map32
1780 to map32_b, rename width_3level to width.
1781 (ctype_output): Always create new locale format. Don't emit
1782 _NL_CTYPE_NAMES, _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS any more.
1783 (allocate_arrays): Always create new locale format.
1784
1785 * locale/C-collate.c (_nl_C_LC_COLLATE): Update.
1786 * locale/weightwc.h (findidx): Assume new locale format.
1787 * string/strcoll.c (wcscoll): Remove local variables size, layers,
1788 names.
1789 * string/strxfrm.c (wcsxfrm): Likewise.
1790 * posix/fnmatch_loop.c (internal_fnwmatch): Likewise. Change type of
1791 local variable collseq to 'const char *'.
1792 (SUFFIX): Don't use, don't undefine.
1793 * posix/fnmatch.c: Remove SUFFIX definition.
1794 * locale/programs/ld-collate.c (struct locale_collate_t): Remove
1795 fields plane_size, plane_cnt, wcheads, wcseqorder. Rename
1796 wcheads_3level to wcheads, rename wcseqorder_3level to wcseqorder.
1797 (collate_finish): Always create new locale format. Remove local
1798 variables min_total, act_size.
1799 (collate_output): Always create new locale format. Remove local
1800 variables table_size, names, tablewc. Rename tablewc_3level to
1801 tablewc.
1802
1803 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1804
1805 * locale/programs/ld-collate.c (obstack_int32_grow,
1806 obstack_int32_grow_fast): New inline functions.
1807 (output_weightwc, collate_output): Use them where possible.
1808
1809 2000-09-01 Ulrich Drepper <drepper@redhat.com>
1810
1811 * libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last
1812 patch (_mode -> _flags).
1813
1814 * libio/Makefile (headers): Add stdio_ext.h.
1815 (routines): Add __fbufsize, __freading, __fwriting, __freadable,
1816 __fwritable, __flbf, __fpurge, __fpending, and __fsetlocking.
1817 * libio/Versions [libc] (GLIBC_2.2): Add __fbufsize, __freading,
1818 __fwriting, __freadable, __fwritable, __flbf, __fpurge, __fpending,
1819 __fsetlocking, and _flushlbf.
1820 * libio/__fbufsize.c: New file.
1821 * libio/__flbf.c: New file.
1822 * libio/__fpending.c: New file.
1823 * libio/__fpurge.c: New file.
1824 * libio/__freadable.c: New file.
1825 * libio/__freading.c: New file.
1826 * libio/__fsetlocking.c: New file.
1827 * libio/__fwritable.c: New file.
1828 * libio/__fwriting.c: New file.
1829 * libio/stdio_ext.h: New file.
1830 * libio/genops.c (_IO_flush_all_linebuffered): Add alias _flushlbf.
1831 * libio/libio.h (_IO_USER_LOCK): Define.
1832 [_IO_MTSAFE_IO] (_IO_flockfile, _IO_funlockfile): Add macros which
1833 test _IO_USER_LOCK flag first.
1834
1835 * iconv/gconv_open.c (__gconv_open): Set res to __GCONV_NOMEM is
1836 malloc fails.
1837
1838 2000-09-01 Andreas Jaeger <aj@suse.de>
1839
1840 * sysdeps/unix/sysv/linux/bits/fcntl.h: Always fail.
1841
1842 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: New file.
1843
1844 2000-08-31 Ulrich Drepper <drepper@redhat.com>
1845
1846 * math/Makefile (tests): Add tst-defintions.
1847 * math/tst-definitions.c: New file.
1848
1849 * stdlib/Makefile (headers): Add bits/wchar.h.
1850 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file.
1851 * sysdeps/generic/bits/wchar.h: New file.
1852 * sysdeps/generic/stdint.h: Include <bits/wchar.h>. Use values in this
1853 file to define WCHAR_MIN and WCHAR_MAX.
1854 Change UINT*8_MAX and UIN*16_MAX value to type int.
1855 * wcsmbs/wchar.h: Include <bits/wchar.h>. Use values in this
1856 file to define WCHAR_MIN and WCHAR_MAX.
1857 * sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN
1858 int values.
1859 * sysdeps/arm/fpu/bits/mathdef.h: Likewise.
1860 * sysdeps/generic/bits/mathdef.h: Likewise.
1861 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
1862 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
1863 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
1864 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
1865 * locale/locale.h (struct lconv): Add __ prefix to the new members
1866 if not C99.
1867 * sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and
1868 imaxdiv optimizations.
1869 * sysdeps/wordsize-32/lldiv.c: Add hack to make alias work.
1870 * sysdeps/wordsize-64/ldiv.c: Likewise.
1871 * sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to
1872 const fenv_t*.
1873 * sysdeps/generic/bits/fenv.h: Likewise.
1874 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
1875 * sysdeps/ia64/bits/fenv.h: Likewise.
1876 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
1877 * sysdeps/mips/bits/fenv.h: Likewise.
1878 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
1879 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
1880 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1881
1882 * inet/rcmd.c: Use *stat64 instead of *stat internally.
1883 * inet/ruserpass.c: Likewise.
1884 * catgets/open_catalog.c: Likewise.
1885 * intl/loadmsgcat.c: Likewise.
1886 * io/getdirname.c: Likewise.
1887 * locale/loadlocale.c: Likewise.
1888 * misc/getusershell.c: Likewise.
1889 * stdlib/canonicalize.c: Likewise.
1890 * sysdeps/posix/euidaccess.c: Likewise.
1891 * sysdeps/posix/isfdtype.c: Likewise.
1892 * sysdeps/posix/posix_fallocate.c: Likewise.
1893 * sysdeps/posix/tempname.c: Likewise.
1894 * sysdeps/unix/grantpt.c: Likewise.
1895 * sysdeps/unix/opendir.c: Likewise.
1896 * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
1897 * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
1898 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1899 * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
1900 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1901 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1902 * sysvipc/ftok.c: Likewise.
1903 * time/getdate.c: Likewise.
1904
1905 * time/getdate.c: Add extra access test.
1906
1907 2000-08-31 Ulrich Drepper <drepper@redhat.com>
1908
1909 * version.h (VERSION): Bump to 2.1.93.
1910
1911 * sysdeps/unix/sysv/linux/powerpc/Dist: Add fe_nomask.c.
1912 * sysdeps/unix/sysv/linux/i386/Dist: Add olddirent.h.
1913
1914 * intl/Makefile (tests): Depend in mtrace-tst-gettext.
1915 Make this a new rule depending on tst-gettext.out and run mtrace.
1916 * intl/tst-gettext.c: Call mtrace.
1917 * intl/tst-gettext.sh: Put MALLOC_TRACE in environment of tst-gettext.
1918
1919 * elf/dl-reloc.c: Add a few more __builtin_expect.
1920
1921 * configure.in: Remove --with-gettext option.
1922
1923 * intl/dcigettext.c (free_mem): Correct freeing of
1924 _nl_domain_bindings list.
1925
1926 * sysdeps/generic/setenv.c (free_mem): New function. Free all
1927 allocated memory.
1928
1929 * intl/locale.alias: Add aliases for bokmal and nynorsk.
1930
1931 * locale/iso-639.def: Fix 639-1 code for Bokmal.
1932
1933 * stdio-common/itoa-digits.c: Move upper digits to...
1934 * stdio-common/itoa-udigits.c: ...here. New file.
1935 * stdio-common/Makefile (routines): Add itoa-udigits.
1936
1937 * sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to
1938 relocate ld.so don't add supprt for relocations which should not
1939 appear in ld.so.
1940
1941 * malloc/malloc.c (ptmalloc_init): Optimize a bit by not calling
1942 __secure_getenv. Instead test __libc_enable_secure once.
1943
1944 * io/pwd.c (main): Provide a good example, use *_unlocked function.
1945
1946 2000-08-30 Ulrich Drepper <drepper@redhat.com>
1947
1948 * iconv/gconv_conf.c (insert_module): Take extra parameter to decide
1949 whether the new record should be freed if it's a duplicate.
1950 (add_module): Adjust insert_module call.
1951 (__gconv_read_conf): Likewise.
1952 * iconvdata/Makefile (generated): Add tst-loading.mtrace and
1953 mtrace-tst-loading.
1954 (tests): Make $(objpfx)mtrace-tst-loading a dependency. Add rule.
1955
1956 * sysdeps/generic/ldsodefs.h: Add declaration for _dl_all_dirs and
1957 _dl_all_init_dirs.
1958 * include/link.h (struct r_search_path_struct): New.
1959 (struct link_map): Use it for l_rpath_dirs and l_runpath_dirs.
1960 * elf/Versions [ld] (GLIBC_2.2): Add _dl_all_dirs and
1961 _dl_all_init_dirs.
1962 * elf/dl-close.c (_dl_close): Free l_rpath_dirs and l_runpath_dirs.
1963 * elf/dl-libc.c (free_mem): Free _dl_all_dirs list except elements
1964 added at startup time.
1965 * elf/dl-load.c: Fix memory handling. r_search_path_struct
1966 contains element to remember fact that we can free memory.
1967 (all_dirs): Renamed to _dl_all_dirs. Made global.
1968 (_dl_init_all_dirs): New variable.
1969 (fillin_rpath): Save one malloc call.
1970 (decompose_rpath): Change interface. New first parameter points to
1971 r_search_path_struct.
1972 (_dl_init_paths): Adjust for changes. Mark all memory as not
1973 deletable. Set _dl_init_all_paths value.
1974 (open_path): Remove may_free_dirs parameter. r_search_path_elem ***
1975 parameter replaced with r_search_path_struct *. Information about
1976 freeing now contained in r_search_path_struct.
1977 (_dl_map_object): Adjust for above changes.
1978
1979 * elf/dl-open.c (dl_open_worker): Change format of debug info a bit.
1980
1981 * elf/dl-load.c (fillin_rpath): Only check for trusted directories
1982 when adding new entries.
1983
1984 * elf/dl-load.c (fillin_rpath): Make local copy of where string
1985 since the object being loaded can be unloaded.
1986
1987 * iconvdata/Makefile (tests): Add tst-loading.
1988 * iconvdata/tst-loading.c: New file.
1989
1990 2000-08-29 Bruno Haible <haible@clisp.cons.org>
1991
1992 * stdio-common/vfscanf.c (_IO_vfscanf): Back out last ungetc change.
1993 When comparing a char with an int, always cast the char to
1994 'unsigned char'. New macro ungetc_not_eof, to avoid warnings when
1995 compiling with -funsigned-char. Use UCHAR_MAX+1 instead of UCHAR_MAX.
1996
1997 2000-08-30 Ulrich Drepper <drepper@redhat.com>
1998
1999 * time/strftime.c (my_strftime): Add compatibility code for use
2000 outside glibc. Patch by Jim Meyering <meyering@ascend.com>.
2001
2002 * sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere
2003 return 0 for success but always < 0 on failure.
2004
2005 * nss/getXXbyYY_r.c: Define result to *result before including
2006 digits_dots.c.
2007
2008 2000-08-30 Andreas Jaeger <aj@suse.de>
2009
2010 * math/gen-libm-test.pl (parse_ulps): Remove extra \.
2011
2012 2000-08-29 Ulrich Drepper <drepper@redhat.com>
2013
2014 * iconvdata/big5hkscs.c: Rewritten. Regenerate data from the
2015 official file.
2016 * iconvdata/TESTS: Add BIG5HKSCS entry.
2017 * iconvdata/testdata/BIG5HKSCS: New file.
2018 * iconvdata/testdata/BIG5HKSCS..UTF8: New file.
2019
2020 * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is
2021 always true.
2022
2023 * libio/iogetline.c: Set mode before the loop in case n==0.
2024 * libio/iogetwline.c: Likewise.
2025
2026 2000-08-29 H.J. Lu <hjl@gnu.org>
2027
2028 * libio/fileops.c (new_do_write): Check fp->_mode <= 0 instead
2029 of fp->_mode < 0.
2030 (_IO_new_file_overflow): Likewise.
2031 * libio/genops.c (_IO_flush_all): Likewise.
2032 * libio/ioftell.c (_IO_ftell): Likewise.
2033
2034 2000-08-29 Akira Higuchi <a@kondara.org>
2035
2036 * iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct,
2037 and __end_fct fields of struct __gconv_step.
2038 * iconv/Makefile (tests): Add iconv-bug2.
2039 * iconv/iconv-bug2.c: New file.
2040
2041 * iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr'
2042 instead of 'inptr - inend' to ksc5601_to_ucs4.
2043
2044 * iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character.
2045
2046 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete
2047 character or shift sequence is found at the end of the input
2048 string, return__GCONV_INCOMPLETE_INPUT instead of
2049 __GCONV_EMPTY_INPUT.
2050 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
2051 * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.
2052
2053 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return
2054 __GCONV_ILLEGAL_INPUT for 8bit characters.
2055
2056 2000-08-29 Ulrich Drepper <drepper@redhat.com>
2057
2058 * signal/signal.h (sigpause): Move __THROW before __asm__.
2059
2060 * inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
2061 names don't match don't return.
2062 Patch by Olaf Kirch <okir@flash.lst.de>.
2063
2064 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2065
2066 * time/strftime.c (my_strftime): Handle # flag for %b as well.
2067
2068 2000-08-27 H.J. Lu <hjl@gnu.org>
2069
2070 * posix/Makefile (otherlibs): Add for building with static-nss
2071 for "make check".
2072
2073 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2074
2075 * libio/stdio.h: Add fmemopen prototype.
2076
2077 2000-08-25 Andreas Jaeger <aj@suse.de>
2078
2079 * libio/Makefile (routines): Add fmemopen.
2080 (tests): Add test-fmemopen.
2081 * libio/Versions: Add fmemopen with version GLIBC_2.2.
2082 * libio/test-fmemopen.c: New file.
2083 * libio/fmemopen.c: New file.
2084 Patches by Hanno Mueller <kontakt@hanno.de>.
2085
2086 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2087
2088 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double
2089 inclusion. Patch by Jes Sorensen <jes@linuxcare.com>.
2090
2091 * locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828
2092 to avoid crashing statically linked applications.
2093
2094 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2095
2096 * string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
2097 If nrules == 0 and srclen < n, copy only srclen + 1 characters.
2098
2099 * sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>.
2100 If the result is fits in the buffer, copy only as many bytes as needed.
2101
2102 * sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the
2103 buffer after copying numbuf into it.
2104 * sysdeps/mach/_strerror.c (__strerror_r): Likewise.
2105
2106 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2107
2108 * posix/confstr.c (confstr): When string_len > len, NUL-terminate
2109 the result. When string_len < len, don't clear the rest of the buffer.
2110
2111 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2112
2113 Support for new LC_COLLATE format.
2114 * locale/coll-lookup.h: New file.
2115 * locale/weightwc.h (findidx): When size == 0, call
2116 collidx_table_lookup.
2117 * wcsmbs/wcscoll.c: Include coll-lookup.h.
2118 * wcsmbs/wcsxfrm.c: Likewise.
2119 * posix/fnmatch.c: Likewise.
2120 * posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call
2121 collseq_table_lookup.
2122 * locale/programs/3level.h: New file.
2123 * locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define
2124 by including "3level.h".
2125 * locale/programs/ld-collate.c (wchead_table, collidx_table,
2126 collseq_table): New types, defined by including "3level.h".
2127 (locale_collate_t): New wcheads_3level, wcseqorder_3level fields.
2128 (encoding_mask, encoding_byte): Remove.
2129 (utf8_encode): Use simple shifts instead.
2130 (collate_finish): When !oldstyle_tables, set plane_size and plane_cnt
2131 to 0, and initialize and fill wcheads_3level and wcseqorder_3level.
2132 (collate_output): New local variable tablewc_3level. When
2133 !oldstyle_tables, set table_size to 0 and names to NULL and fill
2134 tablewc_3level instead of tablewc. Change format of TABLEWC and
2135 COLLSEQWC entries written to the file.
2136 * locale/C-collate.c (collseqwc): Change format.
2137 (_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format
2138 of COLLSEQWC.
2139 * locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h.
2140
2141 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2142
2143 * locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro.
2144 (locale_ctype_t): New charnames_idx field.
2145 (ctype_startup): Initialize charnames_idx field.
2146 (find_idx): Speed up dramatically by using charnames_idx inverse table.
2147
2148 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2149
2150 * locale/C-ctype.c: Switch to new locale format.
2151 (_nl_C_LC_CTYPE_names): Remove array.
2152 (STRUCT_CTYPE_CLASS): New macro.
2153 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
2154 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
2155 New three-level tables.
2156 (_nl_C_LC_CTYPE_width): Change from array to three-level table.
2157 (_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS
2158 to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add
2159 12 class tables and 2 map tables at the end.
2160 * ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration.
2161 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
2162 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
2163 New declarations.
2164 (b): Remove trailing semicolon.
2165 (__ctype_names, __ctype_width): Don't initialize.
2166 (__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize.
2167
2168 2000-08-27 Bruno Haible <haible@clisp.cons.org>
2169
2170 * elf/dl-load.c (open_path): Add a argument telling whether *dirsp
2171 is guaranteed to be allocated with the same malloc() and may be
2172 passed to free().
2173 (_dl_map_object): Update open_path calls. If rtld_search_dirs has
2174 been set to empty by an earlier open_path call, don't pass it again.
2175
2176 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2177
2178 * include/libintl.h: Include <locale.h> since libintl.h doesn't if
2179 we are not optimizing.
2180
2181 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double
2182 inclusion.
2183
2184 * stdio-common/vfscanf.c (ungetc): Cast c to signed char first to
2185 really match EOF.
2186 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2187
2188 2000-08-28 Andreas Jaeger <aj@suse.de>
2189
2190 * sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon.
2191
2192 2000-08-28 Mark Kettenis <kettenis@gnu.org>
2193
2194 * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from
2195 getpeername. Use ISO C style function definition.
2196 (getpeername): Provide weak alias.
2197 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from
2198 setrlimit. Use ISO C style function definition.
2199 (setrlimit): Provide weak alias.
2200
2201 2000-08-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
2202
2203 * shlib-versions: Add a rule for S/390 to the libm version list.
2204 * sysdeps/s390/Versions: New file.
2205 * sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c.
2206 * sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64.
2207 * sysdeps/unix/sysv/linux/s390/Versions: New file.
2208 * sysdeps/unix/sysv/linux/s390/alphasort64.c: New file.
2209 * sysdeps/unix/sysv/linux/s390/chown.c: New file.
2210 * sysdeps/unix/sysv/linux/s390/fxstat.c: New file.
2211 * sysdeps/unix/sysv/linux/s390/getdents64.c: New file.
2212 * sysdeps/unix/sysv/linux/s390/getrlimit.c: New file.
2213 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file.
2214 * sysdeps/unix/sysv/linux/s390/lxstat.c: New file.
2215 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file.
2216 * sysdeps/unix/sysv/linux/s390/readdir64.c: New file.
2217 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file.
2218 * sysdeps/unix/sysv/linux/s390/scandir64.c: New file.
2219 * sysdeps/unix/sysv/linux/s390/setrlimit.c: New file.
2220 * sysdeps/unix/sysv/linux/s390/syscalls.list: New file.
2221 * sysdeps/unix/sysv/linux/s390/versionsort64.c: New file.
2222 * sysdeps/unix/sysv/linux/s390/xstat.c: New file.
2223
2224 2000-08-28 Ulrich Drepper <drepper@redhat.com>
2225
2226 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu]
2227 (CFLAGS-initfini.s): Add -DWEAK_GMON_START.
2228
2229 * elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files.
2230 * elf/dl-close.c (_dl_close): Print debug message if object is not
2231 unloaded.
2232 * elf/dl-open.c (dl_open_worked): Print message about opencount before
2233 returning to caller.
2234
2235 * po/zh.po: Renamed to...
2236 * po/zh_TW.po: ...this.
2237
2238 2000-08-27 Geoff Keating <geoffk@cygnus.com>
2239
2240 * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
2241
2242 * sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
2243 * sysdeps/powerpc/fpu/feenablxcpt.c: New file.
2244 * sysdeps/powerpc/fpu/fegetexcept.c: New file.
2245 * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
2246
2247 2000-08-27 Ulrich Drepper <drepper@redhat.com>
2248
2249 * locale/programs/ld-collate.c (insert_weights): Also update
2250 backpointer of next element.
2251 (collate_read): Allow definition of new collation symbols in stage 2.
2252 Symbol after reorder-after can be UCS4 value.
2253 Allow reordering of collation symbols and elements.
2254 Do not only move reorder entry in new position. Instead call
2255 insert_weight to do this and read the weights.
2256
2257 * locale/findlocale.c (free_mem): Add cast to avoid warning.
2258
2259 * intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code
2260 to determine invalid locale name.
2261 * locale/findlocale.c (_nl_find_locale): Likewise.
2262
2263 * posix/annexc.c: Correct test for unavailable feature.
2264
2265 * sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE ->
2266 __inline.
2267
2268 2000-08-26 Ulrich Drepper <drepper@redhat.com>
2269
2270 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64
2271 syscall.
2272
2273 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource]
2274 (sysdep_routines): Add oldgetrlimit64.
2275
2276 * elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c,
2277 reldepmod2.c, reldepmod3.c, and reldepmod4.c.
2278 (tests): Add unload, reldep, reldep2, and reldep3.
2279 (modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3,
2280 and reldepmod4.
2281 Add rules to build and run unload, reldep, reldep2, and reldep3.
2282 * elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit.
2283 Don't create relocation dependency if it is nonzero.
2284 (_dl_lookup_symbol_skip): Remove relocation dependency stuff. This
2285 can never happen here.
2286 (_dl_lookup_versioned_symbol): Add new parameter explicit.
2287 Don't create relocation dependency if it is nonzero.
2288 (_dl_lookup_versioned_symbol_skip): Remove relocation dependency
2289 stuff. This can never happen here.
2290 * sysdeps/generic/ldsodefs.h: Change prototypes.
2291 * elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to
2292 _dl_lookup_up and _dl_lookup_versioned_symbol.
2293 (RESOLV): Likewise.
2294 * elf/dl-runtime.c (fixup): Likewise.
2295 (profile_fixup): Likewise.
2296 * elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to
2297 _dl_lookup_symbol.
2298 * elf/dl-symbol.c (_dl_symbol_value): Likewise.
2299 * elf/rtld.c (dl_main): Likewise.
2300 * elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to
2301 _dl_lookup_symbol if handle is not RTLD_DEFAULT. Always compute
2302 and pass down the caller map.
2303 (_dl_vsym): Likewise.
2304 * elf/reldep.c: New file.
2305 * elf/reldep2.c: New file.
2306 * elf/reldep3.c: New file.
2307 * elf/reldepmod1.c: New file.
2308 * elf/reldepmod2.c: New file.
2309 * elf/reldepmod3.c: New file.
2310 * elf/reldepmod4.c: New file.
2311 * elf/unload.c: New file.
2312 * elf/unloadmod.c: New file.
2313
2314 * elf/do-lookup.h: Remove unused undef_name parameter.
2315 * elf/dl-lookup.c: Adjust callers.
2316
2317 2000-08-25 Ulrich Drepper <drepper@redhat.com>
2318
2319 * iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of
2320 irreversible in recursive call of conversion function to signal that
2321 no error handling is wanted.
2322 * iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too.
2323 (STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL.
2324 * iconv/skeleton.c (lirreversiblep): New variable. Set to NULL is
2325 recursive error handling call, otherwise to &lirreversible. Use it
2326 for calls to conversion functions.
2327 * iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when
2328 transliterating.
2329 (ucs4_internal_loop_unaligned): Likewise.
2330 (ucs4le_internal_loop): Likewise.
2331 (ucs4le_internal_loop_unaligned): Likewise.
2332
2333 2000-08-25 Greg McGary <greg@mcgary.org>
2334
2335 * sysdeps/i386/memchr.S: Check high bound against chars
2336 actually scanned.
2337 * sysdeps/i386/memcmp.S: Likewise.
2338 * sysdeps/i386/stpncpy.S: Adjust high-bound check to
2339 account for pointers that lie one beyond end-of-buffer.
2340
2341 2000-08-25 Ulrich Drepper <drepper@redhat.com>
2342
2343 * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic.
2344 * elf/nodelete.c (fini_ran): New global variable.
2345 (do_test): Before every dlclose call clear fini_ran and test
2346 afterwards that it is not set by the destructors.
2347 * elf/nodelmod1.c: Add destructor which sets fini_ran.
2348 * elf/nodelmod2.c: Likewise.
2349 * elf/nodelmod4.c: Likewise.
2350
2351 2000-08-21 Jes Sorensen <jes@linuxcare.com>
2352
2353 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and
2354 getrlimit to the list.
2355
2356 2000-08-18 Jes Sorensen <jes@linuxcare.com>
2357
2358 * sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit
2359 long double format so use ldbl-96 instead of ldbl-128.
2360
2361 2000-08-25 Ulrich Drepper <drepper@redhat.com>
2362
2363 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL
2364 even if bits 10 a 11 are non-zero.
2365 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise.
2366
2367 * Makeconfig: Ensures the soversions.mk part of Makefile gets
2368 included before building gnu/lib-names.h
2369 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2370
2371 * elf/dl-close.c (_dl_close): Don't run destructors of objects
2372 marked DF_1_NODELETE.
2373
2374 * sysdeps/posix/system.c (__libc_system): We cannot use vfork here
2375 since we call sigaction in the child.
2376
2377 2000-08-25 Andreas Jaeger <aj@suse.de>
2378
2379 * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on
2380 gconv-modules.
2381
2382 2000-08-25 Andreas Jaeger <aj@suse.de>
2383
2384 * manual/arith.texi (Control Functions): Clarify possible
2385 arguments. Closes PR libc/1856.
2386
2387 2000-08-24 H.J. Lu <hjl@gnu.org>
2388
2389 * stdio-common/Makefile (tests): Don't do it for cross compiling.
2390 * malloc/Makefile (tests): Likewise.
2391
2392 2000-08-24 Ulrich Drepper <drepper@redhat.com>
2393
2394 * iconvdata/unicode.c (gconv_init): Correct test for direction.
2395
2396 2000-08-24 Andreas Jaeger <aj@suse.de>
2397
2398 * malloc/Makefile (extra-objs): Fix last patch, build memusagestat
2399 only if LIBGD is available.
2400
2401 2000-08-24 Ulrich Drepper <drepper@redhat.com>
2402
2403 * resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid
2404 problems with now restrict parameter types.
2405 (convaddr4to6): Likewise.
2406
2407 2000-08-24 Denis Joseph Barrow <djbarrow@de.ibm.com>
2408
2409 * sysdeps/s390/fpu/fedisblxcpt.c: New file.
2410 * sysdeps/s390/fpu/feenablxcpt.c: New file.
2411 * sysdeps/s390/fpu/fegetexcept.c: New file.
2412 * sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition
2413 FPC_VALID_MASK.
2414
2415 2000-08-24 Andreas Jaeger <aj@suse.de>
2416
2417 * malloc/Makefile (extra-objs): Add memusagestat.o.
2418 (generated): Added memusage and memusagestat for make clean.
2419
2420 * libio/tst_putwc.c (do_test): Delete temporary file.
2421 Move inclusion of test-skeleton to front to have prototype for
2422 add_temp_file.
2423
2424 * posix/Makefile (generated): Add wordexp-tst.out.
2425
2426 2000-08-24 Ulrich Drepper <drepper@redhat.com>
2427
2428 * resolv/res_hconf.c (free_mem): Remove not needed if.
2429
2430 * time/tzset.c (free_mem): New function.
2431 * string/strsignal.c (free_mem): New function.
2432 * inet/inet_ntoa.c (free_mem): New function.
2433 * sunrpc/clnt_perr.c (free_mem): New function.
2434
2435 2000-08-24 Andreas Jaeger <aj@suse.de>
2436
2437 * sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
2438 * sysdeps/unix/sysv/syscalls.list: Likewise.
2439
2440 * posix/unistd.h: Move internal prototypes from here ...
2441 * include/unistd.h: ... to here.
2442
2443 * sysvipc/sys/shm.h: Add const attribute to __getpagesize.
2444
2445 2000-08-24 Ulrich Drepper <drepper@redhat.com>
2446
2447 * grp/initgroups.c (initgroups): Deallocate groups array.
2448 Reported by jani.raiha@sonera.com [PR libc/1868].
2449
2450 * sysdeps/s390/Dist: Add fpu/fenv_libc.h.
2451 * sysdeps/alpha/Dist: Likewise.
2452
2453 2000-08-23 Ulrich Drepper <drepper@redhat.com>
2454
2455 * crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
2456 destructor). Reported by Solar Designer <solar@false.com>.
2457
2458 * iconv/gconv_conf.c (add_module): Remove some unneeded code to
2459 avoid adding double slashes.
2460
2461 2000-08-23 Jakub Jelinek <jakub@redhat.com>
2462
2463 * dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__
2464 out of the __REDIRECT macro.
2465
2466 2000-08-23 Ulrich Drepper <drepper@redhat.com>
2467
2468 * stdio-common/vfscanf.c: Add %F format support.
2469
2470 * locale/programs/ld-ctype.c (ctype_output): Make sure
2471 _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and
2472 _NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned.
2473 (ctype_read): Enable returning of wide character strings for reading
2474 transliteration information.
2475
2476 2000-08-23 Andreas Jaeger <aj@suse.de>
2477
2478 * sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove.
2479 Use static __inline instead of _EXTERN_INLINE.
2480
2481 * misc/sys/select.h: Move prototypes of __select from here ...
2482 * include/sys/select.h: ... to here.
2483
2484 * socket/sys/socket.h: Move prototypes of __send and __connect
2485 from here....
2486 * include/sys/socket.h: ... to here.
2487
2488 * locale/programs/ld-ctype.c (ctype_read): Fix parameter for
2489 lr_error.
2490
2491 2000-08-23 Jakub Jelinek <jakub@redhat.com>
2492
2493 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use
2494 __setrlimit as strong name. Takes only 2 arguments.
2495
2496 * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit
2497 takes only 2 arguments.
2498
2499 2000-08-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
2500
2501 * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
2502
2503 * sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines.
2504
2505 2000-08-23 Ulrich Drepper <drepper@redhat.com>
2506
2507 * locale/programs/ld-ctype.c (ctype_read): Allow more than one
2508 default_missing character being specified, pick the first
2509 representable.
2510
2511 2000-08-23 Andreas Jaeger <aj@suse.de>
2512
2513 * include/wchar.h: Add some pure attributes.
2514
2515 * time/time.h: Add const attribute for dysize.
2516
2517 * include/stdlib.h: Add malloc attribute to __posix memalign.
2518
2519 * stdlib/stdlib.h: Add some pure and malloc attributes.
2520 * wcsmbs/wchar.h: Likewise.
2521
2522 * dirent/dirent.h: Add some pure attributes.
2523 * include/dirent.h: Likewise.
2524
2525 2000-08-23 Jakub Jelinek <jakub@redhat.com>
2526
2527 * inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
2528 on 64bit arches.
2529
2530 2000-08-22 Ulrich Drepper <drepper@redhat.com>
2531
2532 * iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two
2533 missing buffer size checks.
2534
2535 2000-08-23 Andreas Jaeger <aj@suse.de>
2536
2537 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as
2538 strong name.
2539 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2540
2541 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
2542 otherwise __LINUX_KERNEL_VERSION might not be defined.
2543 (MIN): Define if not already defined.
2544
2545 2000-08-22 Ulrich Drepper <drepper@redhat.com>
2546
2547 * stdio-common/vfprintf.c: Handle %F format.
2548 * stdio-common/printf-parse.h (parse_one_spec): Likewise.
2549 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
2550
2551 * stdio-common/tstdiomisc.c: Add test for %F printf format.
2552
2553 * po/zh.po: New file.
2554
2555 * iconvdata/sjis.c: In conversion from UCS4, correct test for
2556 enough room in target buffer.
2557 Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865].
2558 * iconvdata/bug-iconv1.c: New file.
2559 * iconvdata/Makefile (tests): Add bug-iconv1.
2560
2561 * locale/iso-4217.def: Update entry for Nicaragua.
2562
2563 2000-08-22 Mark Kettenis <kettenis@gnu.org>
2564
2565 * hurd/hurdsig.c: Rearrange headers a bit.
2566 (_hurdsig_init): Block until _hurd_msgport_thread is initialized
2567 when cthreads is being used.
2568
2569 2000-08-22 Ulrich Drepper <drepper@redhat.com>
2570
2571 * elf/Makefile (distribute): Add dl-osinfo.h.
2572 * sysdeps/generic/dl-osinfo.h: New file.
2573 * sysdeps/unix/sysv/linux/dl-osinfo.h: New file.
2574 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK
2575 if defined.
2576 * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test
2577 only for !SHARED case. Get the code from dl-osinfo.h.
2578
2579 * stdlib/random_r.c: Cleanups.
2580 * stdlib/tst-random.c: New file.
2581 * stdlib/Makefile (tests): Add tst-random.
2582 Patches by Michael Fischer <fischer-michael@cs.yale.edu>.
2583
2584 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
2585
2586 * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove.
2587 * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove.
2588 * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove.
2589 * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
2590
2591 2000-08-22 Jakub Jelinek <jakub@redhat.com>
2592
2593 * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove.
2594 * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove.
2595 (__syscall__sysctl): Add.
2596
2597 2000-08-21 Andreas Jaeger <aj@suse.de>
2598
2599 * stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR
2600 libc/1864).
2601 * stdlib/tst-strtoll.c: Likewise.
2602
2603 2000-08-21 Ulrich Drepper <drepper@redhat.com>
2604
2605 * stdlib/random_r.c (__setstate_r): Also compute end_ptr
2606 correctly.
2607 (__initstate_r): Set errno on error.
2608 (__random_r): Likewise.
2609 (__setstate_r): Correct offset when computing
2610 new rptr and fptr. Test for arg_state being NULL.
2611 Reported by Michael Fischer <fischer@cs.yale.edu>.
2612
2613 * posix/regex.h: Add macro definitions to allow compiling outside
2614 glibc.
2615
2616 * sysdeps/i370/Implies: Removed.
2617 * sysdeps/mvs/Implies: Removed.
2618
2619 * catgets/catgets.c (catopen): Filter out env_var values with / if
2620 necessary.
2621
2622 * locale/findlocale.c (_nl_find_locale): Move test for unusable
2623 locale name after all getenvs.
2624
2625 * configure.in: Allow sed versions like 3.02.8.
2626 Patch by Rodrigo Barbosa <rodrigob@conectiva.com.br>.
2627
2628 2000-08-21 Marko Myllynen <myllynen@lut.fi>
2629
2630 * inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
2631
2632 2000-08-21 Ulrich Drepper <drepper@redhat.com>
2633
2634 * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error
2635 of gethostbyname2_r call.
2636
2637 * intl/locale.alias: Add aliases for Korean.
2638
2639 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
2640
2641 * sysdeps/s390/__longjmp.c: Remove unused variable result.
2642 * sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h.
2643 * sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h.
2644 * sysdeps/s390/fpu/fegetenv.c: New file.
2645 * sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h.
2646 * sysdeps/s390/fpu/feholdexcpt.c: New file.
2647 * sysdeps/s390/fpu/fenv_libc.h: New file.
2648 * sysdeps/s390/fpu/fesetenv.c: New file.
2649 * sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h.
2650 * sysdeps/s390/fpu/feupdateenv.c: New file.
2651 * sysdeps/s390/fpu/fgetexcptflg.c: Reformatted.
2652 * sysdeps/s390/fpu/fpu_control.h: Corrected header.
2653 * sysdeps/s390/fpu/fraiseexcpt.c: New file.
2654 * sysdeps/s390/fpu/fsetexcptflg.c: New file.
2655 * sysdeps/s390/fpu/ftestexcept.c: New file.
2656 * sysdeps/s390/fpu/libm-test-ulps: New file.
2657 * sysdeps/s390/gmp-mparam.h: Add end of comment.
2658 * sysdeps/s390/initfini.c: New file.
2659 * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
2660 * sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h.
2661 * sysdeps/unix/sysv/linux/s390/bits/stat.h: New file.
2662 * sysdeps/unix/sysv/linux/s390/lchown.c: New file.
2663 * sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to
2664 sys/procfs.h as proposed by Mark Kettenis.
2665 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file.
2666
2667 2000-08-21 Andreas Jaeger <aj@suse.de>
2668
2669 * include/poll.h: Include include/sys/poll.h to get __poll
2670 declaration.
2671
2672 * io/sys/poll.h: Move __poll declaration from here...
2673 * include/sys/poll.h: ...to here.
2674
2675 * include/sys/socket.h (__getpeername): Add declaration.
2676
2677 * include/wchar.h (__vswprintf): Add declaration.
2678
2679 * include/stdio.h (__flockfile): Add declaration.
2680 (__funlockfile): Likewise.
2681
2682 2000-08-20 Ulrich Drepper <drepper@redhat.com>
2683
2684 * misc/sys/cdefs.h: Define __restrict_arr.
2685 * include/sys/time.h: Add restrict where required by AGd4.
2686 * inet/arpa/inet.h: Likewise.
2687 * io/sys/stat.h: Likewise.
2688 * io/sys/statvfs.h: Likewise.
2689 * misc/search.h: Likewise.
2690 * misc/sys/select.h: Likewise.
2691 * posix/glob.h: Likewise.
2692 * posix/regex.h: Likewise.
2693 * posix/spawn.h: Likewise.
2694 * posix/unistd.h: Likewise.
2695 * rt/aio.h: Likewise.
2696 * signal/signal.h: Likewise.
2697 * socket/sys/socket.h: Likewise.
2698 * stdlib/ucontext.h: Likewise.
2699 * streams/stropts.h: Likewise.
2700 * string/string.h: Likewise.
2701 * time/time.h: Likewise.
2702 * time/sys/time.h: Likewise.
2703
2704 * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam
2705 and posix_spawnattr_setscheparam.
2706
2707 * libio/stdio.h: Make cuserid prototype again available for all
2708 XPG versions.
2709
2710 * argp/argp-help.c: Unify use of function aliases to make more compact
2711 PLT.
2712 * include/libintl.h: Likewise.
2713 * inet/rcmd.c: Likewise.
2714 * intl/dcigettext.c: Likewise.
2715 * libio/iofputws.c: Likewise.
2716 * libio/iofputws_u.c: Likewise.
2717 * libio/iogetwline.c: Likewise.
2718 * libio/swprintf.c: Likewise.
2719 * malloc/malloc.c: Likewise.
2720 * nss/digits_dots.c: Likewise.
2721 * posix/fnmatch.c: Likewise.
2722 * posix/spawn_faction_addclose.c: Likewise.
2723 * posix/spawn_faction_adddup2.c: Likewise.
2724 * posix/spawn_faction_addopen.c: Likewise.
2725 * posix/spawni.c: Likewise.
2726 * posix/wordexp.c: Likewise.
2727 * posix/spawni.c: Likewise.
2728 * resolv/res_hconf.c: Likewise.
2729 * resolv/res_init.c: Likewise.
2730 * shadow/lckpwdf.c: Likewise.
2731 * signal/sighold.c: Likewise.
2732 * signal/sigrelse.c: Likewise.
2733 * stdio-common/printf-parse.h: Likewise.
2734 * stdio-common/printf-prs.c: Likewise.
2735 * stdio-common/printf_fp.c: Likewise.
2736 * stdio-common/vfprintf.c: Likewise.
2737 * stdio-common/vfscanf.c: Likewise.
2738 * stdlib/rpmatch.c: Likewise.
2739 * sunrpc/create_xid.c: Likewise.
2740 * sunrpc/key_call.c: Likewise.
2741 * sysdeps/generic/setrlimit64.c: Likewise.
2742 * sysdeps/generic/utmp_file.c: Likewise.
2743 * sysdeps/generic/vlimit.c: Likewise.
2744 * sysdeps/posix/posix_fallocate.c: Likewise.
2745 * sysdeps/posix/posix_fallocate64.c: Likewise.
2746 * sysdeps/posix/sigpause.c: Likewise.
2747 * sysdeps/posix/sigset.c: Likewise.
2748 * sysdeps/unix/grantpt.c: Likewise.
2749 * sysdeps/unix/bsd/ualarm.c: Likewise.
2750 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
2751 * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
2752 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2753 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
2754 * time/strftime.c: Likewise.
2755 * wcsmbs/wcscoll.c: Likewise.
2756 * wcsmbs/wcsxfrm.c: Likewise.
2757
2758 * time/tst-getdate.c (main): Make error messages more human readable.
2759
2760 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generate
2761 postinc/predec instruction.
2762 (_FPU_SETCW): Likewise.
2763 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2764
2765 2000-08-20 Andreas Jaeger <aj@suse.de>
2766
2767 * time/tst-getdate.c (main): Increase error in case of wrong
2768 conversion.
2769 Fix typo in test case.
2770
2771 2000-08-20 Ulrich Drepper <drepper@redhat.com>
2772
2773 * ctype/ctype.h (isblank): Make available if ISO C99.
2774 * wctype/wctype.h (iswblank): Make available if ISO C99.
2775 * math/math.h (signgam): Don't make available if ISO C99.
2776 * math/tgmath.h (tgamma): Renamed from gamma.
2777 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
2778
2779 * intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
2780 Pretty printing.
2781 * intl/plural.y (new_exp): Take number of optional parameters in
2782 second parameter. Test for correct number of parameters and free
2783 correctly in case of failure. Adjust all callers.
2784 (yylex): Allow ';' as terminator character.
2785
2786 2000-08-19 Ulrich Drepper <drepper@redhat.com>
2787
2788 * locale/lc-time.c (free_mem): New function. Free alt_digits and
2789 walt_digits.
2790
2791 * locale/findlocale.c (free_mem): Also free here->filename.
2792
2793 * locale/loadlocale.c (_nl_unload_locale): Also free locale->name.
2794
2795 * math/test-fenv.c (feenv_tests): Clear all exceptions before
2796 first test.
2797 (feexcp_nomask_test): Correct printf args.
2798 (feexcp_mask_test): Likewise.
2799
2800 2000-08-19 Andreas Jaeger <aj@suse.de>
2801
2802 * inet/tst-gethnm.c: Include string.h to provide prototype for
2803 strcmp.
2804
2805 * malloc/mtrace.pl (usage): Inform about --help.
2806
2807 2000-08-19 Wolfram Gloger <wg@malloc.de>
2808
2809 * malloc/malloc.c (new_heap): Try harder to get an aligned chunk of
2810 size HEAP_MAX_SIZE.
2811
2812 2000-08-19 Andreas Jaeger <aj@suse.de>
2813
2814 * shlib-versions: Remove libnss_db, libdb and libdb1.
2815
2816 2000-08-19 Jakub Jelinek <jakub@redhat.com>
2817
2818 * sysdeps/unix/sysv/linux/alpha/readdir.c: Move...
2819 * sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and
2820 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here.
2821 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move...
2822 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and
2823 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here.
2824 * sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove.
2825 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove.
2826 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove.
2827 * sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS
2828 getdents.
2829 * sysdeps/unix/sysv/linux/readdir64.c: Remove versioning.
2830 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
2831
2832 2000-08-18 Jakub Jelinek <jakub@redhat.com>
2833
2834 * include/glob.h (__glob64): Add prototype.
2835 * sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only
2836 define glob and glob_in_dir.
2837 * sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2.
2838 * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
2839 * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
2840 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
2841 * sysdeps/unix/sysv/linux/i386/glob64.c: New file.
2842 * sysdeps/unix/sysv/linux/arm/glob64.c: New file.
2843 * sysdeps/unix/sysv/linux/powerpc/glob64.c: New file.
2844 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: New file.
2845
2846 2000-08-18 Jakub Jelinek <jakub@redhat.com>
2847
2848 * malloc/Makefile (memusage): libmemusage.so is installed in slibdir.
2849
2850 2000-08-17 Andreas Jaeger <aj@suse.de>
2851
2852 * math/test-fenv.c (fe_single_test): New function.
2853 (fe_env_tests): Use fe_single_test.
2854 (feenable_test): New tests for feenable/fedisable and
2855 fegetexcpetions.
2856 (feexcp_mask_test): New function.
2857 (feexcp_nomask_test): New function.
2858
2859 2000-08-19 Richard Henderson <rth@cygnus.com>
2860
2861 * sysdeps/alpha/fpu/fenv_libc.h: New file.
2862 * sysdeps/alpha/fpu/fclrexcpt.c: Use it.
2863 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
2864 * sysdeps/alpha/fpu/fesetround.c: Likewise.
2865 * sysdeps/alpha/fpu/fegetround.c: Likewise.
2866 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
2867 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
2868 * sysdeps/alpha/fpu/ftestexcept.c: Likewise.
2869 * sysdeps/alpha/fpu/fedisblxcpt.c: Likewise. Use the smaller mask.
2870 * sysdeps/alpha/fpu/feenablxcpt.c: Likewise.
2871 * sysdeps/alpha/fpu/fegetexcept.c: Likewise.
2872 * sysdeps/alpha/fpu/feholdexcpt.c: Retain the SWCR_MAP bits.
2873 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
2874 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
2875 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
2876 * sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): New.
2877 (FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New.
2878
2879 2000-08-19 Andreas Jaeger <aj@suse.de>
2880
2881 * elf/constload1.c: Include <stdio.h> for puts prototype.
2882
2883 2000-08-19 Ulrich Drepper <drepper@redhat.com>
2884
2885 * elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions.
2886 * elf/dl-deps.c (_dl_map_object_deps): If object was dependency of
2887 a dynamically loaded object remove old l_initfini list.
2888 * elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to
2889 remove some dynamically allocated memory blocks in the dynamic
2890 loading data structures.
2891 * elf/dl-load.c (add_name_to_object): Initialize dont_free to 0.
2892 * elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions.
2893 Instead call _dl_check_map_versions only for the dependencies.
2894 * elf/rtld.c: Avoid unneccessary initializations. Mark l_libname
2895 information of initial objects as not free-able.
2896 * sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free
2897 element.
2898
2899 * elf/filter.c: Call mtrace.
2900 * elf/restest1.c: Likewise. Close the objects.
2901 * elf/loadtest.c: Call mtrace. Check result of dlclose. Print more
2902 debug information.
2903
2904 * elf/constload1.c: Add comment explaining not freed memory.
2905
2906 2000-08-18 Andreas Jaeger <aj@suse.de>
2907
2908 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show
2909 alignment for structs stat and stat64.
2910 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2911
2912 2000-08-17 Ulrich Drepper <drepper@redhat.com>
2913
2914 * sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino
2915 handling. Patch by Richard Henderson <rth@twiddle.net>.
2916
2917 * nss/Versions: Remove libnss_db information.
2918
2919 2000-08-16 Jakub Jelinek <jakub@redhat.com>
2920
2921 * sysdeps/sparc/fpu/fedisblxcpt.c: New file.
2922 * sysdeps/sparc/fpu/feenablxcpt.c: New file.
2923 * sysdeps/sparc/fpu/fegetexcept.c: New file.
2924 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: New file.
2925
2926 * sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries
2927 to match Solaris.
2928
2929 2000-08-17 Ulrich Drepper <drepper@redhat.com>
2930
2931 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code.
2932 (_FPU_SETCW): Likewise.
2933 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2934
2935 * stdio-common/printf_fp.c: Fix chars_needed computation.
2936 Patch by Greg McGary <greg@mcgary.org>.
2937
2938 2000-08-17 Jakub Jelinek <jakub@redhat.com>
2939
2940 * elf/dl-load.c (_dl_map_object): Don't crash if both loader and
2941 _dl_loaded are NULL.
2942
2943 2000-08-17 Jakub Jelinek <jakub@redhat.com>
2944
2945 * manual/arith.texi (feholdexcept): Returns 0 on success.
2946
2947 2000-08-17 Andreas Jaeger <aj@suse.de>
2948
2949 * sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname.
2950 (ifr_newname): New.
2951 Reported by Andi Kleen <ak@suse.de>.
2952
2953 2000-08-17 Jakub Jelinek <jakub@redhat.com>
2954
2955 * sysdeps/alpha/fpu/fedisblxcpt.c: New file.
2956 * sysdeps/alpha/fpu/feenablxcpt.c: New file.
2957 * sysdeps/alpha/fpu/fegetexcept.c: New file.
2958
2959 2000-08-16 Jakub Jelinek <jakub@redhat.com>
2960
2961 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): Test sizes
2962 of buf->st_ino and kbuf->st_ino, not __st_ino.
2963 If _HAVE_STAT64___ST_INO is not defined, don't use __st_ino at all.
2964 * sysdeps/unix/sysv/linux/getdents64.c: Change path in #include
2965 directive so that only linux/getdents.c is used, not some
2966 architecture specific one.
2967
2968 2000-08-16 Jakub Jelinek <jakub@redhat.com>
2969
2970 * sysdeps/i386/fpu/fegetexcept.c (fegetexcept): Return currently
2971 enabled, not disabled exceptions.
2972 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2973 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
2974
2975 2000-08-17 Greg McGary <greg@mcgary.org>
2976
2977 * Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix
2978 from test program name when constructing suffix for $(LDLIBS-*).
2979 (bounded-thread-library): New variable.
2980 * crypt/Makefile
2981 [build-shared, build-static] (libcrypt-dep): Remove variable.
2982 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
2983 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
2984 * linuxthreads/Makefile (libpthread, librt): Remove variables.
2985 (librt-tests): Add variable. (tests): Use it.
2986 [build-shared, build-static]
2987 ($(addprefix $(objpfx),$(tests)),
2988 $(addprefix $(objpfx),$(librt-tests))):
2989 Consolidate individual dependencies.
2990 [build-bounded]
2991 ($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)):
2992 Add dependencies.
2993 * math/Makefile (LDLIBS-*): Remove variables (they are redundant).
2994 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
2995 * misc/Makefile
2996 [build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies.
2997 * rt/Makefile
2998 [build-shared, build-static]
2999 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
3000 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
3001
3002 2000-08-17 Greg McGary <greg@mcgary.org>
3003
3004 * sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/
3005 * sysdeps/unix/make-syscalls.sh: Likewise.
3006 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3007 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3008 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3009 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
3010 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
3011
3012 2000-08-17 Greg McGary <greg@mcgary.org>
3013
3014 * sysdeps/i386/fpu/s_frexp.S: Check bounds.
3015 Wrap extern symbols in BP_SYM ().
3016 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3017 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3018 * sysdeps/i386/fpu/s_remquo.S: Likewise.
3019 * sysdeps/i386/fpu/s_remquof.S: Likewise.
3020 * sysdeps/i386/fpu/s_remquol.S: Likewise.
3021 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3022 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3023 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3024 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3025 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3026
3027 2000-08-16 Andreas Schwab <schwab@suse.de>
3028
3029 * sysdeps/m68k/fpu/fegetexcept.c: New file.
3030 * sysdeps/m68k/fpu/fedisblxcpt.c: New file.
3031 * sysdeps/m68k/fpu/feenablxcpt.c: New file.
3032
3033 2000-08-15 Ulrich Drepper <drepper@redhat.com>
3034
3035 * sysdeps/generic/ldsodefs.h: Declare _nl_nloaded.
3036 * elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded.
3037 * elf/dl-support.c: Define _nl_nloaded.
3038 * elf/rtld.c: Likewise. Increment _nl_nloaded for rtld itself.
3039 * elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding
3040 object to global list.
3041 * elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing
3042 from _dl_loaded list.
3043 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3044 * elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the
3045 number here.
3046
3047 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not
3048 unmask, exceptions.
3049 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask,
3050 exceptions.
3051 Reported by Harvey J. Stein <hjstein@bfr.co.il>.
3052
3053 2000-08-16 Andreas Jaeger <aj@suse.de>
3054
3055 * elf/elf.h (EM_X8664): Add official x86-64 specific value.
3056
3057 2000-08-15 Marko Myllynen <myllynen@lut.fi>
3058
3059 * inet/netinet/icmp6.h: Added Mobile IPv6 definitions.
3060
3061 2000-08-15 Ulrich Drepper <drepper@redhat.com>
3062
3063 * sysdeps/unix/sysv/linux/powerpc/Dist: Add oldgetrlimit64.c.
3064 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)=resource]
3065 (sysdep_routines): Add oldgetrlimit64.
3066 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file.
3067 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3068
3069 * include/link.h: Undo last patches. Hurd now has stat64.
3070 * elf/Makefile: Likewise.
3071 * elf/dl-load.c: Likewise.
3072 * elf/dl-misc.c: Likewise.
3073 * elf/dl-profile.c: Likewise.
3074 * sysdeps/generic/sysd-link.h: Removed.
3075 * sysdeps/unix/sysv/linux/sysd-link.h: Removed.
3076
3077 * rt/aio_notify.c (notify_func_wrapper): Wrapper function to call
3078 thread event callback function.
3079 (__aio_notify_only): Use function above.
3080 Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
3081
3082 2000-08-16 Mark Kettenis <kettenis@gnu.org>
3083
3084 * sysdeps/mach/hurd/lseek64.c: New file.
3085
3086 2000-08-15 Mark Kettenis <kettenis@gnu.org>
3087
3088 * sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t):
3089 Remove typedefs.
3090 * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove
3091 typedefs.
3092 * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove
3093 typedefs.
3094 * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.
3095
3096 2000-08-15 Mark Kettenis <kettenis@gnu.org>
3097
3098 * sysdeps/mach/hurd/xstatconv.c: New file.
3099 * sysdeps/mach/hurd/fxstat64.c: New file.
3100 * sysdeps/mach/hurd/lxstat64.c: New file.
3101 * sysdeps/mach/hurd/xstat64.c: New file.
3102 * sysdeps/mach/hurd/Dist: Add xstatconv.c.
3103
3104 2000-08-15 Mark Kettenis <kettenis@gnu.org>
3105
3106 * sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs):
3107 Initialize, needed for change in common symbol handling in newer
3108 binutils. Mirrors 2000-01-03 change made by Andreas Schwab.
3109
3110 2000-08-15 Ulrich Drepper <drepper@redhat.com>
3111
3112 * elf/constload1.c: Call mtrace. Check return value of dlclose call.
3113 * elf/constload2.c: Add destructor to unload constload3.
3114
3115 * include/link.h: Include sysd-link.h.
3116 * sysdeps/generic/sysd-link.h: New file.
3117 * sysdeps/unix/sysv/linux/sysd-link.h: New file.
3118 * elf/Makefile (distribute): Add sysd-link.h.
3119 * elf/dl-load.c: Use definitions from sysd-link.h instead of stat
3120 types and functions directly.
3121 * elf/dl-misc.c: Likewise.
3122 * elf/dl-profile.c: Likewise.
3123
3124 * elf/loadfail.c (main): Close all successfully loaded objects.
3125
3126 * elf/multiload.c: Add mtrace call. Call dlclose for all handles and
3127 free wd.
3128 * elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if
3129 there is already one.
3130
3131 * elf/dl-close.c: Pretty print.
3132
3133 2000-08-14 Ulrich Drepper <drepper@redhat.com>
3134
3135 * sysdeps/posix/ttyname.c: Make name variable from getttyname function
3136 global (with file scope). Add __libc_subfreeres function to free the
3137 string.
3138 * sysdeps/unix/sysv/linux/ttyname.c: Likewise. Also for buf variable
3139 in ttyname function.
3140
3141 * sysdeps/generic/strtok.c: Remove initializer for olds variable.
3142
3143 * crypt/md5-crypt.c: Let destructor deallocate static buffer.
3144
3145 * iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by
3146 mapping them to /x5c and /x7e respectively.
3147
3148 * locale/programs/ld-ctype.c: Add support for more definitions after
3149 copy statement.
3150
3151 2000-08-14 Jakub Jelinek <jakub@redhat.com>
3152
3153 * dirent/Versions (getdirentries64): Export at GLIBC_2.2.
3154 * sysdeps/unix/sysv/linux/kernel-features.h
3155 (__ASSUME_GETDENTS64_SYSCALL): Define.
3156 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64
3157 syscall if available to get d_type fields.
3158 * sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define.
3159 * sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64,
3160 __lxstat64): Export at GLIBC_2.2.
3161 (alphasort64, readdir64, readdir64_r, scandir64, versionsort64):
3162 Likewise.
3163 * sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove.
3164 * sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define.
3165 * sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64,
3166 getdirentries64, versionsort64): Remove.
3167 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64,
3168 getdirentries64, versionsort64): Remove.
3169
3170 2000-08-13 Ulrich Drepper <drepper@redhat.com>
3171
3172 * posix/Makefile: Remove rules to generate glob package.
3173
3174 * posix/Makefile (tests): Add tst-regexloc.
3175 (tst-regexloc-ENV): Add LOCPATH.
3176 * posix/tst-regexloc.c: New file.
3177
3178 2000-08-12 Andreas Jaeger <aj@suse.de>
3179
3180 * include/features.h (__STDC_ISO_10646__): Define.
3181 Reported by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
3182
3183 2000-08-13 Ulrich Drepper <drepper@redhat.com>
3184
3185 * include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600.
3186
3187 * locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not
3188 for revision 6 and up).
3189
3190 * posix/sys/types.h: Define __need_timer_t and __need_clockid_t before
3191 including <time.h>.
3192 * time/time.h: Allow __need_timer_t and __need_clockid_t to be defined
3193 to get definitions of just these types.
3194
3195 * signal/signal.h: Define thread signal handling functions also for
3196 POSIX95.
3197
3198 * sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for
3199 POSIX95.
3200 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
3201 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
3202 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3203 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
3204
3205 * sysvipc/sys/shm.h: Define pid_t for XPG.
3206
3207 * posix/unistd.h: Remove setkey, rename, and cuserid prototypes as
3208 they are not anymore required here.
3209
3210 * wcsmbs/wchar.h: Make the various wide char string and stream
3211 functions available for the respective XPG versions.
3212
3213 * nss/Makefile: Remove rules to build and distribute nss_db.
3214
3215 * sysdeps/generic/alphasort64.c: Remove unnecessary versioning.
3216 * sysdeps/generic/scandir64.c: Likewise.
3217 * sysdeps/generic/versionsort64.c: Likewise.
3218
3219 2000-08-13 Ulrich Drepper <drepper@redhat.com>
3220 Benjamin Koznik <bkoz@redhat.com>
3221
3222 * libio/fileops.c: Merge with libstdc++-v3.
3223 * libio/genops.c: Likewise.
3224 * libio/iofclose.c: Likewise.
3225 * libio/iofopen.c: Likewise.
3226 * libio/iofwide.c: Likewise.
3227 * libio/libio.h: Likewise.
3228 * libio/libioP.h: Likewise.
3229 * libio/stdfiles.c: Likewise.
3230 * libio/stdio.c: Likewise.
3231 * libio/wfileops.c: Likewise.
3232 * libio/wgenops.c: Likewise.
3233
3234 * libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2.
3235
3236 2000-08-12 Ulrich Drepper <drepper@redhat.com>
3237
3238 * locale/programs/localedef.c: Implement --prefix option to allow
3239 writing in standard places of alternative install directories.
3240
3241 * posix/regex.c (compile_range): Implement collation sequence
3242 handling for glibc. Use simple character ordering otherwise and
3243 not strcoll.
3244
3245 2000-08-12 Mark Kettenis <kettenis@gnu.org>
3246
3247 * sysdeps/generic/scandir64.c: Include <dirent.h>.
3248
3249 2000-08-12 Andreas Jaeger <aj@suse.de>
3250
3251 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle
3252 __USE_FILE_OFFSET64 correctly for locking.
3253 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3254
3255 2000-08-12 Jakub Jelinek <jakub@redhat.com>
3256
3257 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3258 Define for 2.4.1 on sparc as well.
3259 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fill in correct values
3260 for F_GETLK64, F_SETLK64, and F_SETLKW64.
3261 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: New file.
3262 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: New file.
3263
3264 2000-08-12 Ulrich Drepper <drepper@redhat.com>
3265
3266 * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also
3267 defined.
3268
3269 2000-08-12 Andreas Jaeger <aj@suse.de>
3270
3271 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64,
3272 F_SETLK64, F_SETLKW64): Define with F_GETLK etc.
3273
3274 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
3275 mips2 for assembler.
3276
3277 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl
3278 if fnctl64 is not available for F_*LK*64.
3279
3280 * sysdeps/unix/sysv/linux/i386/lockf64.c: New file.
3281
3282 2000-08-12 Ulrich Drepper <drepper@redhat.com>
3283
3284 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3285 Define for 2.4.1 on x86.
3286 * sysdeps/unix/sysv/linux/i386/fcntl.c: New file.
3287 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Fill in correct values
3288 for F_GETLK64, F_SETLK64, and F_SETLKW64.
3289
3290 * dirent/dirent.h: Define DT_WHT.
3291
3292 * sysdeps/unix/sysv/linux/arm/alphasort64.c: New file.
3293 * sysdeps/unix/sysv/linux/arm/getdents64.c: New file.
3294 * sysdeps/unix/sysv/linux/arm/readdir64.c: New file.
3295 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: New file.
3296 * sysdeps/unix/sysv/linux/arm/scandir64.c: New file.
3297 * sysdeps/unix/sysv/linux/arm/versionsort64.c: New file.
3298
3299 2000-08-11 Ulrich Drepper <drepper@redhat.com>
3300
3301 * nss/digits_dots.c: Don't pass NULL in h_aliases for successful
3302 lookup, pass pointer to array with NULL pointer [PR libc/1858].
3303 * inet/Makefile (tests): Add tst-gethnm.
3304 * inet/tst-gethnm.c: New file.
3305
3306 * rt/aio_cancel.c: If canceling a specific request which is running
3307 *really* do nothing.
3308 * rt/aio_misc.h: Add `done' to states of a request.
3309 * rt/aio_misc.c: Add several tests for the correct state.
3310 Simplify request table memory handling.
3311
3312 2000-08-10 Jakub Jelinek <jakub@redhat.com>
3313
3314 * dirent/scandir.c: Use it for scandir64 and old_scandir64 as well.
3315 * dirent/scandir64.c: Move...
3316 * sysdeps/generic/scandir64.c: ...here.
3317 * dirent/alphasort64.c: Move...
3318 * sysdeps/generic/alphasort64.c: ...here.
3319 * dirent/versionsort64.c: Move...
3320 * sysdeps/generic/versionsort64.c: ...here.
3321 * sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64,
3322 getdirentries64, readdir64, readdir64_r, scandir64, versionsort64):
3323 Export symbols at GLIBC_2.2.
3324 * sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise.
3325 * sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise.
3326 * include/dirent.h (__readdir64_r, __scandir64, __alphasort64,
3327 __versionsort64): Add prototypes.
3328 * io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
3329 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove
3330 unused prototype.
3331 * sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1
3332 and GLIBC_2.2.
3333 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise.
3334 * sysdeps/unix/sysv/linux/alpha/getdents.c: New.
3335 * sysdeps/unix/sysv/linux/alpha/getdents64.c: New.
3336 * sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to
3337 __u_quad_t.
3338 * sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64):
3339 Adjust for kernel-2.4.0-test6 layout.
3340 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both
3341 GLIBC_2.1 and GLIBC_2.2.
3342 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise.
3343 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise.
3344 * sysdeps/unix/sysv/linux/i386/getdents64.c: New.
3345 * sysdeps/unix/sysv/linux/i386/olddirent.h: New.
3346 * sysdeps/unix/sysv/linux/i386/readdir64.c: New.
3347 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: New.
3348 * sysdeps/unix/sysv/linux/i386/scandir64.c: New.
3349 * sysdeps/unix/sysv/linux/i386/alphasort64.c: New.
3350 * sysdeps/unix/sysv/linux/i386/versionsort64.c: New.
3351 * sysdeps/unix/sysv/linux/ia64/getdents.c: New.
3352 * sysdeps/unix/sysv/linux/ia64/getdents64.c: New.
3353 * sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c.
3354 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c.
3355 * sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to
3356 __u_quad_t.
3357 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New.
3358 * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define.
3359 * sysdeps/unix/sysv/linux/powerpc/scandir64.c: New.
3360 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: New.
3361 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: New.
3362 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New.
3363 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to
3364 __u_quad_t.
3365 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: New.
3366 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*):
3367 Define.
3368 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New.
3369 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New.
3370 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New.
3371 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New.
3372 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*):
3373 Define.
3374 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include
3375 alpha/readdir.c.
3376 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include
3377 alpha/readdir_r.c
3378 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New.
3379 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New.
3380 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If
3381 _HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set
3382 st_ino from __st_ino.
3383 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
3384 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
3385 * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv,
3386 xstat32_conv): Use _HAVE_STAT* macros. If _HAVE_STAT64___ST_INO,
3387 set __st_ino in addition to st_ino.
3388 * sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define.
3389 * sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and
3390 __old_getdents64 as well.
3391 * sysdeps/unix/sysv/linux/getdirentries.c: Use it for
3392 getdirentries64 and old_getdirentries64 as well.
3393 * sysdeps/unix/sysv/linux/getdirentries64.c (GETDIRENTRIES,
3394 __GETDENTS): Define.
3395 (GETDENTS64): Remove.
3396 * sysdeps/unix/sysv/linux/getdents64.c (__GETDENTS, DIRENT_TYPE):
3397 Define.
3398 (GETDENTS64): Remove.
3399 * sysdeps/unix/sysv/linux/readdir64.c: Use sysdeps/unix/readdir.c.
3400 * sysdeps/unix/sysv/linux/readdir64_r.c: Use sysdeps/unix/readdir_r.c.
3401 * sysdeps/unix/readdir.c: Use it for readdir64 and __old_readdir64
3402 as well.
3403 * sysdeps/unix/readdir_r.c: Use it for readdir64_r and
3404 __old_readdir64_r as well.
3405 * sysdeps/unix/sysv/linux/kernel-features.h: Define
3406 __ASSUME_ST_INO_64_bit for kernel 2.4.1 and up.
3407
3408 2000-08-08 Jes Sorensen <jes@linuxcare.com>
3409
3410 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL define.
3411 Add missing ILL_BADIADDR to enum and make ILL_BREAK match the
3412 define of the kernel.
3413 Add missing __SEG_PSTKOVF definition.
3414 Adjust the padding of struct siginfo and struct sigevent to
3415 match the fact that sigval_t is 64 bit.
3416
3417 2000-08-10 Ulrich Drepper <drepper@redhat.com>
3418
3419 * timezone/zic.c: Update from tzcode2000f.
3420 * timezone/australasia: Update from tzdata2000f.
3421 * timezone/europe: Likewise.
3422 * timezone/southamerica: Likewise.
3423 * timezone/yearistype: Likewise.
3424
3425 2000-08-10 Andreas Jaeger <aj@suse.de>
3426
3427 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Synch struct stat64 and
3428 stat with current MIPS kernel.
3429
3430 2000-08-01 Mark Kettenis <kettenis@gnu.org>
3431
3432 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_greg_t, ELF_NGREG,
3433 elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved to
3434 sysdeps/unix/sysv/linux/i386/sys/procfs.h.
3435 Remove the junk that's only relevant in the Linux kernel itself.
3436 Add a warning saying that this file is now obsolete, and include
3437 <sys/procfs.h>.
3438 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (elf_greg_t,
3439 ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved
3440 here from sysdeps/unix/sysv/linux/i386/sys/elf.h. Don't include
3441 <signal.h>, <sys/ucontext.h> and <sys/elf.h>. Remove parts of
3442 `struct elf_prstatus' that are #ifdef'ed out. Improve comments
3443 and add the notice that the file is primarily there for GDB.
3444 * sysdeps/unix/sysv/linux/i386/sys/user.h: Fix comment.
3445
3446 2000-08-09 Jakub Jelinek <jakub@redhat.com>
3447
3448 * time/tzfile.c (__tzfile_compute): __tzstring zones
3449 from zone_names.
3450
3451 2000-08-09 Jakub Jelinek <jakub@redhat.com>
3452
3453 * resolv/resolv.h (__res_state): Surround prototype with
3454 __BEGIN_DECLS/__END_DECLS.
3455 * sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h.
3456
3457 2000-08-04 Jes Sorensen <jes@linuxcare.com>
3458
3459 * sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource):
3460 Make independant of asm/resource.h from the Linux kernel.
3461
3462 2000-08-06 Bruno Haible <haible@clisp.cons.org>
3463
3464 * iconv/gconv_conf.c (__gconv_read_conf): Don't call realpath.
3465
3466 2000-08-06 Bruno Haible <haible@clisp.cons.org>
3467
3468 * intl/Makefile (CPPFLAGS): Remove $(i18ndir) from LOCALE_ALIAS_PATH.
3469 * locale/Makefile (locale-CPPFLAGS): Likewise.
3470
3471 2000-08-09 Ulrich Drepper <drepper@redhat.com>
3472
3473 * sysdeps/i386/fpu/libm-test-ulps: Increase several error values
3474 for AMD processors.
3475
3476 2000-08-03 Jakub Jelinek <jakub@redhat.com>
3477
3478 * misc/Versions (mincore): Export at GLIBC_2.2.
3479
3480 2000-08-03 Bruno Haible <haible@clisp.cons.org>
3481
3482 * intl/libintl.h (gettext, dgettext, dcgettext): Add back __THROW.
3483
3484 2000-08-02 Mark Kettenis <kettenis@gnu.org>
3485
3486 * sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from
3487 socketpair. Made socketpair a weak alias.
3488 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplemented using
3489 __socketpair. Use S_IFIFO protocol to make pipes POSIX
3490 conforming, but fall back on the old protocol if the socket server
3491 doesn't support it.
3492 * include/sys/socket.h: Add prototype for __socketpair.
3493
3494 2000-08-09 Andreas Schwab <schwab@suse.de>
3495
3496 * stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the
3497 long long modifier is seen.
3498
3499 * elf/nodelete.c (do_test): Remove reference to undefined member
3500 sa_restorer.
3501 * rt/tst-aio4.c (do_test): Likewise.
3502
3503 * configure.in: Add `-lm' when checking for libgd.
3504 * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during
3505 linking.
3506
3507 2000-08-09 Andreas Jaeger <aj@suse.de>
3508
3509 * configure.in: Change required make versions.
3510
3511 * manual/install.texi (Tools for Compilation): Document required
3512 make version.
3513 (Supported Configurations): Update list of supported
3514 configurations.
3515
3516 2000-08-08 Ulrich Drepper <drepper@redhat.com>
3517
3518 * locale/linereader.c (get_string): Don't print an error is a string
3519 contains an unknown character.
3520
3521 2000-08-06 Ulrich Drepper <drepper@redhat.com>
3522
3523 * locale/programs/ld-collate.c (struct symbol_t): Add name element.
3524 (new_symbol): Take new parameters with name of the symbol.
3525 Adjust callers.
3526 (handle_ellipsis): Don't only allow character symbols.
3527 (collate_read): Allow string of collating elements contain invalid
3528 characters; ignore entry in this case.
3529 Handle ellipsis of collating symbols before first order_start.
3530 Allow ellipsis in state 0.
3531
3532 2000-08-04 Ulrich Drepper <drepper@redhat.com>
3533
3534 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo in
3535 error message.
3536 Reported by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
3537
3538 2000-08-04 Greg McGary <greg@mcgary.org>
3539
3540 * posix/regex.c (SET_HIGH_BOUND): New macro.
3541 (MOVE_BUFFER_POINTER): Use it.
3542 (ELSE_EXTEND_BUFFER_HIGH_BOUND): New macro.
3543 (EXTEND_BUFFER): Use it.
3544
3545 2000-08-03 Ulrich Drepper <drepper@redhat.com>
3546
3547 * libio/iofwide.c (_IO_fwide): Initialize fp->_codecvt as well.
3548 * libio/fileops.c (_IO_new_file_fopen): Use _codecvt not from
3549 _wide_data but from _IO_FILE directly.
3550 * libio/iofclose.c: Likewise.
3551 * libio/wfileops.c: Likewise.
3552
3553 * libio/genops.c (_IO_default_showmanyc): Change return type to size_t.
3554 * libio/libioP.h: Change prototypes.
3555
3556 2000-08-03 Greg McGary <greg@mcgary.org>
3557
3558 * sysdeps/i386/setjmp.S (__sigsetjmp): Pop our
3559 frame pointer early so that we save caller's frame pointer.
3560 * sysdeps/i386/elf/setjmp.S: Likewise.
3561
3562 * sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures.
3563 * io/test-utime.c: Test passing NULL as utimbuf* arg.
3564
3565 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): Remove macro.
3566 (MOVE_BUFFER_POINTER): Handle high_bound properly.
3567 (EXTEND_BUFFER): Don't call EXTEND_BUFFER_HIGH_BOUND.
3568
3569 2000-08-03 Ulrich Drepper <drepper@redhat.com>
3570
3571 * iconvdata/big5.c: Updated.
3572 Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
3573
3574 2000-08-02 Ulrich Drepper <drepper@redhat.com>
3575
3576 * Makeconfig (all-subdirs): Add conform.
3577 * conform/Makefile: Include ../Rules.
3578
3579 * Makefile (README): Add rules to generate here as well.
3580
3581 2000-08-02 Ulrich Drepper <drepper@redhat.com>
3582
3583 * version.h (VERSION): Bump to 2.1.92.
3584
3585 * sysdeps/ia64/Dist: Add _mcount.S.
3586
3587 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone.S.
3588
3589 * sysdeps/unix/sysv/linux/mips/Dist: Add _test_and_set.c.
3590
3591 * elf/Makefile (distribute): Add missing modules.
3592
3593 * sysdeps/unix/sysv/linux/s390/Dist: Remove nonexisting files.
3594
3595 * posix/regex.c (compile_range): Translate range start and end
3596 characters to avoid empty range in case of REG_ICASE [PR libc/1842].
3597
3598 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Don't include
3599 asm/resource.h.
3600
3601 * sysdeps/unix/sysv/linux/arm/Makefile: Undo last change.
3602
3603 2000-08-02 Andreas Jaeger <aj@suse.de>
3604
3605 * elf/elf.h (EM_S390): Added.
3606 (R_390_*): New relocs for S390.
3607
3608 * sysdeps/unix/sysv/linux/s390/Dist: New file.
3609 * sysdeps/unix/sysv/linux/s390/sysdep.h: New file.
3610 * sysdeps/unix/sysv/linux/s390/sysdep.S: New file.
3611 * sysdeps/unix/sysv/linux/s390/syscall.S: New file.
3612 * sysdeps/unix/sysv/linux/s390/sys/user.h: New file.
3613 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
3614 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file.
3615 * sysdeps/unix/sysv/linux/s390/sys/elf.h: New file.
3616 * sysdeps/unix/sysv/linux/s390/socket.S: New file.
3617 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file.
3618 * sysdeps/unix/sysv/linux/s390/shmctl.c: New file.
3619 * sysdeps/unix/sysv/linux/s390/setreuid.c: New file.
3620 * sysdeps/unix/sysv/linux/s390/setresuid.c: New file.
3621 * sysdeps/unix/sysv/linux/s390/setresgid.c: New file.
3622 * sysdeps/unix/sysv/linux/s390/setregid.c: New file.
3623 * sysdeps/unix/sysv/linux/s390/setgroups.c: New file.
3624 * sysdeps/unix/sysv/linux/s390/setgid.c: New file.
3625 * sysdeps/unix/sysv/linux/s390/setfsuid.c: New file.
3626 * sysdeps/unix/sysv/linux/s390/setfsgid.c: New file.
3627 * sysdeps/unix/sysv/linux/s390/seteuid.c: New file.
3628 * sysdeps/unix/sysv/linux/s390/setegid.c: New file.
3629 * sysdeps/unix/sysv/linux/s390/semctl.c: New file.
3630 * sysdeps/unix/sysv/linux/s390/register-dump.h: New file.
3631 * sysdeps/unix/sysv/linux/s390/putpmsg.c: New file.
3632 * sysdeps/unix/sysv/linux/s390/putmsg.c: New file.
3633 * sysdeps/unix/sysv/linux/s390/profil-counter.h: New file.
3634 * sysdeps/unix/sysv/linux/s390/msgctl.c: New file.
3635 * sysdeps/unix/sysv/linux/s390/mmap.S: New file.
3636 * sysdeps/unix/sysv/linux/s390/getuid.c: New file.
3637 * sysdeps/unix/sysv/linux/s390/getresuid.c: New file.
3638 * sysdeps/unix/sysv/linux/s390/getresgid.c: New file.
3639 * sysdeps/unix/sysv/linux/s390/getpmsg.c: New file.
3640 * sysdeps/unix/sysv/linux/s390/getmsg.c: New file.
3641 * sysdeps/unix/sysv/linux/s390/getgroups.c: New file.
3642 * sysdeps/unix/sysv/linux/s390/getegid.c: New file.
3643 * sysdeps/unix/sysv/linux/s390/geteuid.c: New file.
3644 * sysdeps/unix/sysv/linux/s390/fchown.c: New file.
3645 * sysdeps/unix/sysv/linux/s390/clone.S: New file.
3646 * sysdeps/unix/sysv/linux/s390/brk.c: New file.
3647 * sysdeps/unix/sysv/linux/s390/bits/time.h: New file.
3648 * sysdeps/unix/sysv/linux/s390/bits/resource.h: New file.
3649 * sysdeps/unix/sysv/linux/s390/bits/mman.h: New file.
3650 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file.
3651 * sysdeps/unix/sysv/linux/s390/Makefile: New file.
3652 * sysdeps/s390/sysdep.h: New file.
3653 * sysdeps/s390/sys/ucontext.h: New file.
3654 * sysdeps/s390/sub_n.S: New file.
3655 * sysdeps/s390/strncpy.S: New file.
3656 * sysdeps/s390/strcpy.S: New file.
3657 * sysdeps/s390/stackinfo.h: New file.
3658 * sysdeps/s390/setjmp.S: New file.
3659 * sysdeps/s390/s390-mcount.S: New file.
3660 * sysdeps/s390/mul_1.S: New file.
3661 * sysdeps/s390/memusage.h: New file.
3662 * sysdeps/s390/memset.S: New file.
3663 * sysdeps/s390/memcpy.S: New file.
3664 * sysdeps/s390/memchr.S: New file.
3665 * sysdeps/s390/machine-gmon.h: New file.
3666 * sysdeps/s390/ldbl2mpn.c: New file.
3667 * sysdeps/s390/gmp-mparam.h: New file.
3668 * sysdeps/s390/fpu/fpu_control.h: New file.
3669 * sysdeps/s390/fpu/fesetround.c: New file.
3670 * sysdeps/s390/fpu/fegetround.c: New file.
3671 * sysdeps/s390/fpu/fclrexcpt.c: New file.
3672 * sysdeps/s390/fpu/bits/fenv.h: New file.
3673 * sysdeps/s390/ffs.c: New file.
3674 * sysdeps/s390/elf/start.S: New file.
3675 * sysdeps/s390/elf/setjmp.S: New file.
3676 * sysdeps/s390/elf/bsd-setjmp.S: New file.
3677 * sysdeps/s390/elf/bsd-_setjmp.S: New file.
3678 * sysdeps/s390/dl-machine.h: New file.
3679 * sysdeps/s390/bzero.S: New file.
3680 * sysdeps/s390/bsd-setjmp.S: New file.
3681 * sysdeps/s390/bsd-_setjmp.S: New file.
3682 * sysdeps/s390/bits/string.h: New file.
3683 * sysdeps/s390/bits/setjmp.h: New file.
3684 * sysdeps/s390/bits/huge_val.h: New file.
3685 * sysdeps/s390/bits/endian.h: New file.
3686 * sysdeps/s390/bits/byteswap.h: New file.
3687 * sysdeps/s390/bcopy.S: New file.
3688 * sysdeps/s390/backtrace.c: New file.
3689 * sysdeps/s390/atomicity.h: New file.
3690 * sysdeps/s390/asm-syntax.h: New file.
3691 * sysdeps/s390/addmul_1.S: New file.
3692 * sysdeps/s390/add_n.S: New file.
3693 * sysdeps/s390/abort-instr.h: New file.
3694 * sysdeps/s390/__longjmp.c: New file.
3695 * sysdeps/s390/Makefile: New file.
3696 * sysdeps/s390/Implies: New file.
3697 * sysdeps/s390/Dist: New file.
3698 Patches by Martin Schwidefsky <schwidefsky@de.ibm.com>.
3699
3700 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3701
3702 Remove incompatible IPv6 extension of RPC.
3703 * sunrpc/Makefile: Undo changes.
3704 * sunrpc/rpc_main.c: Likewise.
3705 * sunrpc/rpc/clnt.h: Likewise.
3706 * sunrpc/rpc/svc.h: Likewise.
3707 * sunrpc/bindrsvprt6.c: Removed.
3708 * sunrpc/clnt_tcp6.c: Removed.
3709 * sunrpc/clnt_udp6.c: Removed.
3710 * sunrpc/svc_tcp6.c: Removed.
3711 * sunrpc/svc_udp6.c: Removed.
3712
3713 * intl/libintl.h: Don't use __attribute_format_arg__ for gettext,
3714 dgettext, and dcgettetxt.
3715
3716 * intl/locale.alias: Update japanese aliases.
3717
3718 * sysdeps/ia64/bits/byteswap.h: New file.
3719 Patch by Dan Pop <Dan.Pop@cern.ch>.
3720
3721 * misc/sys/cdefs.h: Define __attribute_format_arg__.
3722 * intl/libintl.h: Use it here instead of using __attribute__ directly.
3723
3724 2000-07-13 H.J. Lu <hjl@gnu.org>
3725
3726 * posix/regex.c (re_max_failures): Set to 4000.
3727
3728 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3729
3730 * gnulib/Makefile (tests): Add tst-gcc.
3731 * gnulib/tst-gcc.c: New file.
3732
3733 * assert/Makefile (routines): Add __assert.
3734 * assert/Versions: Export __assert for glibc 2.2.
3735 * assert/__assert.c: New file.
3736 * assert/assert.h: Declare __assert.
3737
3738 2000-07-27 Bruno Haible <haible@clisp.cons.org>
3739
3740 * locale/localeinfo.h (_ISCTYPE): New macro.
3741 * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new
3742 LC_CTYPE locale format.
3743 * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b.
3744 (ctype_output): Output class_b[nr] right before class_3level[nr].
3745 (allocate_arrays): Fill class_b, similarly to class_3level.
3746
3747 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3748 Joseph S. Myers <jsm28@cam.ac.uk>
3749
3750 * math/tgmath.h: Make standard compliant. Don't ask how.
3751
3752 2000-07-04 H.J. Lu <hjl@gnu.org>
3753
3754 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)):
3755 Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new".
3756 ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only.
3757
3758 2000-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3759
3760 * include/features.h (_XOPEN_SOURCE): Update the explanation.
3761 (__USE_LARGEFILE): Add an explanation.
3762 (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500.
3763 (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600.
3764
3765 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3766
3767 * libio/Makefile: Enable exception handling for genops, wgenops,
3768 fileops, and wfileops.
3769
3770 2000-07-29 Mark Kettenis <kettenis@gnu.org>
3771
3772 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into
3773 acount that elf/rtld's main program might remove some varibales
3774 from the environment if we're trying to be secure. Move the Hurd
3775 startup data if necessary, or, if we there is no startup data,
3776 make sure the magical convention that ARGV[0] is stored just after
3777 the environment list.
3778
3779 2000-08-01 Philip Blundell <philb@gnu.org>
3780
3781 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
3782 (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
3783 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
3784 oldsetrlimit for GLIBC_2.0.
3785
3786 2000-08-01 Andreas Jaeger <aj@suse.de>
3787
3788 * nss/nss_files/files-ethers.c: Use case-insensitive lookup.
3789 (LINE_PARSER): Allow any number of spaces between ip address and
3790 number. Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt.
3791
3792 * conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
3793
3794 * include/netdb.h: Remove getipnodebyaddr and friends, leave
3795 constants in.
3796
3797 * nis/Versions: Remove _nss_nis_getipnodebyname_r and
3798 _nss_nisplus_getipnodebyname_r.
3799
3800 * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
3801 now, getipnodebyname is deprecated.
3802 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
3803 Likewise.
3804
3805 * inet/Makefile (routines): Don't build getipnodebyaddr and
3806 friends.
3807
3808 * intl/Makefile (distribute): Add tst-translit.sh and translit.po.
3809
3810 * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h.
3811
3812 * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c.
3813
3814 * wctype/Makefile (distribute): Add wchar-lookup.h.
3815
3816 * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h.
3817
3818 * iconvdata/Makefile (distribute): Add isiri-3342.h.
3819
3820 2000-08-01 Andreas Schwab <schwab@suse.de>
3821
3822 * Make-dist (dist): Resolve `..' in file names.
3823
3824 2000-08-01 Andreas Jaeger <aj@suse.de>
3825
3826 * stdio-common/Makefile (distribute): Remove removed files, add
3827 new files.
3828
3829 * Makefile (distribute): Remove include/db_185.h and db.h.
3830
3831 * include/db_185.h: Remove, it's not needed anymore.
3832 * include/db.h: Likewise.
3833
3834 2000-07-31 Ulrich Drepper <drepper@redhat.com>
3835
3836 * inet/Makefile (tests): Remove tst-ipnode.
3837 * include/netdb.h: Add stuff removed from resolv/netdb.h here for
3838 now.
3839
3840 2000-07-31 Jes Sorensen <jes@linuxcare.com>
3841
3842 * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and
3843 endp statements have already been added.
3844
3845 2000-04-18 David Mosberger <davidm@hpl.hp.com>
3846
3847 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include
3848 <sysdeps/ia64/sysdep.h>.
3849
3850 * sysdeps/ia64/_mcount.S: New file.
3851
3852 * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to
3853 __gmon_start__. Fix up extraneous whitespace.
3854
3855 2000-01-12 H.J. Lu <hjl@gnu.org>
3856
3857 * sysdeps/ia64/elf/initfini.c: New file.
3858
3859 2000-07-31 Jes Sorensen <jes@linuxcare.com>
3860
3861 * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW
3862 dependency between branch and ar.pfs write.
3863
3864 2000-07-31 H.J. Lu <hjl@gnu.org>
3865
3866 * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly
3867 handle the wchar_t array.
3868
3869 2000-07-31 Ulrich Drepper <drepper@redhat.com>
3870
3871 * iconvdata/gb18030.c: Don't map to and from positions in ISO
3872 10646 which are not yet assigned.
3873 Patch by wang shouhua <shouhuawang@redflag-linux.com>.
3874
3875 2000-07-31 Andreas Jaeger <aj@suse.de>
3876
3877 * inet/Versions: Remove getipnodebyaddr and friends from
3878 GLIBC_2.2.
3879
3880 * resolv/netdb.h: Remove getipnodebyaddr and friends.
3881
3882 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3883
3884 * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
3885 ch >= 0x81 && ch2 < 0x40 as invalid.
3886
3887 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3888
3889 * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
3890 (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
3891
3892 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3893
3894 * iconvdata/johab.c (BODY for TO_LOOP): After calling
3895 ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
3896
3897 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3898
3899 * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
3900 0xb8.
3901 (from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
3902
3903 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3904
3905 * iconvdata/macintosh.c (HAS_HOLES): Set to 1.
3906
3907 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3908
3909 * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
3910 (from_ucs4): Change values of U+00A4 and U+00ED.
3911 (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
3912
3913 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3914
3915 * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
3916 (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
3917
3918 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3919
3920 * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
3921 * iconvdata/isiri-3342.h: New file.
3922 * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
3923 treat 0x80 as a gap.
3924
3925 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3926
3927 * string/strxfrm.c (encoding_mask, encoding_byte): Remove.
3928 (utf8_encode): Use simple shifts instead. Fix return value.
3929
3930 2000-07-31 Ulrich Drepper <drepper@redhat.com>
3931
3932 * timezone/private.h: Update from tzcode2000e.
3933 * timezone/asia: Update from tzdata2000e.
3934 * timezone/australasia: Likewise.
3935 * timezone/europe: Likewise.
3936 * timezone/northamerica: Likewise.
3937 * timezone/zone-tab: Likewise.
3938
3939 2000-07-30 Ralf Baechle <ralf@gnu.org>
3940
3941 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
3942 the order of struct sigaltstack members is different.
3943
3944 2000-07-26 Philip Blundell <philb@gnu.org>
3945
3946 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
3947
3948 2000-07-29 Ulrich Drepper <drepper@redhat.com>
3949
3950 * locale/langinfo.h: Add entries for extra tables in CTYPE data.
3951 * locale/programs/ld-ctype.c: Adjust for this.
3952
3953 * locale/programs/ld-collate.c: Add more alignment checks.
3954 * locale/string/strcoll.c: Likewise.
3955
3956 2000-07-30 Mark Kettenis <kettenis@gnu.org>
3957
3958 * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
3959 outside USE_IN_LIBIO block.
3960
3961 2000-07-26 Philip Blundell <philb@gnu.org>
3962
3963 * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
3964 (elf_machine_rel): Use it for out-of-range PC24 relocs.
3965
3966 2000-07-28 Philip Blundell <philb@gnu.org>
3967
3968 * math/test-fpucw.c: Ignore reserved bits in control word.
3969
3970 2000-07-28 Philip Blundell <philb@gnu.org>
3971
3972 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
3973 (ret): Redefine to PSEUDO_RET.
3974 (PSEUDO): Remove jump to syscall_error.
3975
3976 2000-07-29 Mark Kettenis <kettenis@gnu.org>
3977
3978 * resolv/README: Add some information about using the resolver in
3979 multi-threaded code and with C++. Spelling fixes.
3980
3981 2000-07-29 Mark Kettenis <kettenis@gnu.org>
3982
3983 * resolv/resolv.h (struct __sockaddr_in): Remove.
3984 (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
3985
3986 2000-07-29 Greg McGary <greg@mcgary.org>
3987
3988 * Rules (test-bp-inputs, make-test-out): New variables.
3989 ($(objpfx)%-bp.out): New rule.
3990 ($(objpfx)%.out): Rewrite in terms of new variables.
3991
3992 * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
3993 internal function that uses vtable.
3994 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
3995 * libio/vswprintf.c (_IO_vswprintf): Likewise.
3996
3997 * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
3998 (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
3999 (chunk_align): Likewise.
4000
4001 * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
4002 in a way that conforms to decl, and avoids spurious bounds violation.
4003
4004 * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
4005 * sysdeps/generic/frame.h: Likewise.
4006 * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
4007 around return value.
4008 (__backtrace): Qualify frame-pointer chain and return address
4009 pointers as __unbounded. Wrap bounds around variable `current'.
4010 * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
4011 around return value.
4012 (catch_segfault): Qualify frame-pointer chain and return address
4013 pointers as __unbounded. Wrap bounds around variable `current'.
4014 * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
4015 (ADVANCE_STACK_FRAME): Wrap bounds around return value.
4016 * sysdeps/powerpc/backtrace.c (struct layout): Make pointers
4017 __unbounded.
4018 (__backtrace): Qualify frame-pointer chain and return address
4019 pointers as __unbounded. Wrap bounds around variable `current'.
4020
4021 * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
4022 * sysdeps/i386/mul_1.S: Likewise.
4023 * sysdeps/i386/submul_1.S: Likewise.
4024 * sysdeps/i386/i586/addmul_1.S: Likewise.
4025 * sysdeps/i386/i586/mul_1.S: Add bounds checks.
4026 * sysdeps/i386/i586/submul_1.S: Likewise.
4027
4028 2000-07-27 Andreas Jaeger <aj@suse.de>
4029
4030 * libio/Depend: New file, libio needs localedata for tests.
4031 * posix/Depend: Likewise.
4032
4033 2000-07-28 Ulrich Drepper <drepper@redhat.com>
4034
4035 * stdio-common/_i18n_itoa.c: Removed.
4036 * stdio-common/_i18n_itoa.h: Removed.
4037 * stdio-common/_i18n_itowa.c: Removed.
4038 * stdio-common/_i18n_itowa.h: Removed.
4039 * stdio-common/_i18n_number.h: New file.
4040 * stdio-common/Depend: New file.
4041 * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize.
4042 * stdio-common/vfprintf.c: Rewrite buffer handling for integer
4043 printing. Change printing of numbers with locale specific digits to
4044 use new code in _i18n_number.h.
4045 * stdio-common/Makefile (routines): Remove _i18n_itoa and
4046 _i18n_itowa.
4047
4048 * stdio-common/bug13.c: Improve messages.
4049
4050 * locale/programs/ld-ctype.c (ctype_read): Improve error message.
4051 (set_class_defaults): Always search also for Uxxxx names.
4052 Detect insufficient number of outdigits.
4053
4054 * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
4055
4056 2000-07-27 Bruno Haible <haible@clisp.cons.org>
4057
4058 * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
4059 _NL_CTYPE_MAP_NAMES.
4060 * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
4061 * wctype/wcfuncs.c (towlower, towupper): Use them.
4062 * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
4063 * wctype/wctrans.c (wctrans): Likewise.
4064 * wctype/wctrans_l.c (__wctrans_l): Likewise.
4065
4066 2000-07-27 Bruno Haible <haible@clisp.cons.org>
4067
4068 * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun.
4069 Use the optimized version of this function outside glibc as well.
4070
4071 2000-07-27 Jakub Jelinek <jakub@redhat.com>
4072
4073 * locale/indigits.h (indigit_value): Correct.
4074 * locale/indigitswc.h (indigitwc_value): Correct.
4075 * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
4076 conversion, add GROUP checking for it, fix GROUP number
4077 conversion with strlen(thousands) > 1.
4078 Honour width correctly in the presence of floating
4079 decimal points and thousands separators.
4080 * stdio-common/tst-sscanf.c: New test.
4081 * stdio-common/Makefile: Add it to tests.
4082 * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
4083 thousands separators and group argument is non-zero.
4084
4085 2000-07-25 Bruno Haible <haible@clisp.cons.org>
4086
4087 * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
4088 starts at GLIBC_2.2.
4089
4090 2000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4091
4092 * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
4093 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
4094 _test_and_set.
4095 (headers): Add sys/tas.h.
4096 * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
4097 GLIBC_2.2 from libc.
4098 * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
4099 * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
4100 _test_and_set.
4101
4102 2000-07-28 Andreas Jaeger <aj@suse.de>
4103
4104 * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
4105
4106 * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
4107 ($(objpfx)tst-dladdr.out): new.
4108 (tests): Add tst-dladdr.
4109 ($(objpfx)glrefmain): Use libdl.
4110
4111 * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh
4112 <vs@caldera.de>.
4113
4114 2000-07-27 Jes Sorensen <jes@linuxcare.com>
4115
4116 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
4117 ftruncate(64) calls.
4118
4119 2000-07-27 Jes Sorensen <jes@linuxcare.com>
4120
4121 * intl/tst-translit.c: Include string.h to get prototype for
4122 strcmp().
4123
4124 2000-07-27 Jes Sorensen <jes@linuxcare.com>
4125
4126 * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
4127 name and add weak alias for __fork.
4128
4129 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
4130 & pwrite to use __libc_<name> as strong names instead of
4131 __syscall_<name>.
4132
4133 * include/sched.h: Add clone2 prototype.
4134
4135 2000-07-26 Jes Sorensen <jes@linuxcare.com>
4136
4137 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
4138 procedure name twice.
4139
4140 2000-07-27 Philip Blundell <philb@gnu.org>
4141
4142 * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
4143
4144 2000-07-27 Andreas Jaeger <aj@suse.de>
4145
4146 * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
4147 MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
4148 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
4149 Reported by Andi Kleen <ak@suse.de>.
4150
4151 * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
4152 (do_wait): Test requests with aio_return64.
4153 (do_test): Change callers of do_wait.
4154
4155 2000-07-26 Andreas Jaeger <aj@suse.de>
4156
4157 * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
4158 (do_wait): Test requests with aio_return.
4159 (do_test): Change callers of do_wait.
4160
4161 2000-07-27 Ulrich Drepper <drepper@redhat.com>
4162
4163 * rt/aio_misc.c (__aio_remove_request): New function. Handle removing
4164 from request list. Don't do the list handling here, call
4165 __aio_remove_request.
4166 * rt/aio_misc.h: Add prototype for __aio_remove_request.
4167 * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
4168 request might already be processed. Don't do the list handling
4169 here, call __aio_remove_request.
4170
4171 * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
4172 LIO_DSYNC.
4173
4174 * rt/aio_misc.c: Add comment explaining why writer memory barriers
4175 are missing.
4176
4177 2000-07-27 Greg McGary <greg@mcgary.org>
4178
4179 * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
4180 * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
4181 in union init. Pass zero for ignored semnum arg to semctl.
4182 * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
4183
4184 2000-07-26 Greg McGary <greg@mcgary.org>
4185
4186 * sysdeps/gnu/bits/msq.h: Qualify kernel's
4187 data structure pointers as __unbounded.
4188 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
4189 * sysdeps/generic/bp-semctl.h: New file.
4190 * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
4191 pointers as __unbounded. Check bounds of syscall args.
4192 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
4193 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
4194 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4195 * sysdeps/unix/sysv/linux/semop.c: Likewise.
4196 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
4197 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4198 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
4199 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
4200 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
4201 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
4202 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
4203 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
4204 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
4205 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
4206 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
4207 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
4208
4209 2000-07-26 Ulrich Drepper <drepper@redhat.com>
4210
4211 * libio/iofwide.c: Enable transliteration for conversion from wchar_t
4212 by default.
4213 * locale/C-ctype.c: Likewise.
4214 * wcsmbs/wcsmbsload.c: Likewise.
4215
4216 2000-07-26 Greg McGary <greg@mcgary.org>
4217
4218 * Makeconfig (+link-bounded, link-libc-bounded,
4219 link-extra-libs-bounded): New variables.
4220 (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
4221 * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
4222 * Rules (tests-bp.out): New variable.
4223 (tests): Conditionally add BP tests.
4224 (binaries-bounded): Add variable and associated rule.
4225 * csu/Makefile [build-bounded] (extra-objs, install-lib):
4226 Move conditional stuff after place where condition is defined.
4227
4228 * malloc/malloc.c (bp-checks.h): Add #include.
4229 (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
4230 (_bin_at): Add unbounded version of bin_at.
4231 (IAV, chunk_alloc): Use unbounded _bin_at.
4232 (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
4233 chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
4234 Wrap BOUNDED_N around return value.
4235 (chunk_realloc): Adjust oldsize once.
4236
4237 * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
4238 (__ubp_memchr): Add correct decl.
4239 (_CHECK_STRING): Use __ubp_memchr.
4240 * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
4241 New alias for unbounded-pointer __memchr.
4242 * sysdeps/i386/memchr.S: Likewise.
4243 * sysdeps/ia64/memchr.S: Likewise.
4244 * sysdeps/m68k/memchr.S: Likewise.
4245 * sysdeps/sparc/sparc32/memchr.S: Likewise.
4246 * sysdeps/sparc/sparc64/memchr.S: Likewise.
4247 * sysdeps/vax/memchr.s: Likewise.
4248
4249 * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
4250 (SAVE_PTR): New macro. (save_ptr): Expand size as BP.
4251 (strtok): Don't bother to write into SAVE_PTR when returning NULL.
4252 * sysdeps/i386/i686/strtok.S: Likewise.
4253 * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
4254 RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
4255
4256 * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
4257 * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
4258
4259 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
4260 bounds of copy_result to mount_proc.
4261
4262 2000-07-25 Bruno Haible <haible@clisp.cons.org>
4263
4264 * wctype/wctype.h (__wctrans_l): New declaration.
4265 * wctype/wctrans_l.c: New file.
4266 * wctype/Makefile (routines): Add wctrans_l.
4267
4268 2000-07-26 Ulrich Drepper <drepper@redhat.com>
4269
4270 * posix/fnmatch_loop.c: Fixes for use outside glibc.
4271 Patch by MacGyver <macgyver@tos.net>.
4272
4273 2000-07-26 Andreas Jaeger <aj@suse.de>
4274
4275 * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
4276 * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
4277 * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
4278
4279 * rt/tst-aio.c (test_file): Fix typo.
4280 * rt/tst-aio64.c (test_file): Likewise.
4281
4282 * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
4283 * rt/Makefile: Add rules to build and run tst-aio3.
4284
4285 * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
4286 it's not needed and confuses only.
4287
4288 2000-07-26 Ulrich Drepper <drepper@redhat.com>
4289
4290 * resolv/res_init.c: Add support for nameserver communication with
4291 IPv6.
4292 * resolv/res_send.c: Likewise.
4293 * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
4294 in nsaddrs field.
4295 Patch by <venaas@nvg.ntnu.no>.
4296
4297 2000-07-25 Bruno Haible <haible@clisp.cons.org>
4298
4299 * locale/programs/ld-ctype.c (wctype_table_get): New function.
4300 (wcwidth_table_get): New function.
4301 (wcwidth_table_add): Call it.
4302 (wctrans_table_get): New function.
4303 (wctrans_table_add): Call it.
4304
4305 2000-07-25 Ulrich Drepper <drepper@redhat.com>
4306
4307 * rt/lio_listio.c (lio_listio): Always disable individual
4308 notification.
4309 * rt/Makefile: Add rules to build and run tst-aio2.
4310 * rt/tst-aio2.c: New file.
4311
4312 * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
4313 Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
4314
4315 2000-07-25 Mark Kettenis <kettenis@gnu.org>
4316
4317 * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
4318 (_nss_netgroup_parseline): Use strip_whitespace to strip off any
4319 leading and trailing spaces from host, user and domain name.
4320
4321 2000-07-25 Jes Sorensen <jes@linuxcare.com>
4322
4323 * csu/defs.awk: Add support for need_endp.
4324
4325 2000-07-25 Mark Kettenis <kettenis@gnu.org>
4326
4327 * resolv/resolv.h: Remove __P from res_send_qhook and
4328 res_send_rhook typedefs.
4329
4330 2000-07-25 Bruno Haible <haible@clisp.cons.org>
4331
4332 * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
4333
4334 2000-07-25 Ulrich Drepper <drepper@redhat.com>
4335
4336 * iconv/gconv_builtin.h: Add WCHAR_T alias.
4337
4338 2000-07-25 Mark Kettenis <kettenis@gnu.org>
4339
4340 * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
4341 calling thread, set the cancellation flag and return success
4342 instead of EINTR.
4343
4344 2000-07-25 Ulrich Drepper <drepper@redhat.com>
4345
4346 * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
4347 * libio/tst-widetext.c: New file.
4348 * libio/tst-widetext.input: New file.
4349
4350 * libio/iogetwline.c (_IO_getwline_info): Pretty print.
4351
4352 * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
4353 empty external buffer correctly.
4354
4355 2000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4356
4357 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
4358 __STRING(entry) and not #entry.
4359 (_RTLD_EPILOGUE): Likewise.
4360 * sysdeps/mips/mips64/dl-machine.h: Likewise.
4361
4362 2000-07-25 Andreas Jaeger <aj@suse.de>
4363
4364 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
4365 according to changes in test program, run also with static only
4366 builds.
4367 ($(objpfx)tst-printf.out): Likewise.
4368
4369 * stdio-common/tst-unbputc.sh: Likewise.
4370 * stdio-common/tst-printf.sh: Likewise.
4371
4372 2000-07-25 Ulrich Drepper <drepper@redhat.com>
4373
4374 * libio/wfileops.c (_IO_wdo_write): Correct return value.
4375
4376 * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
4377 loop.
4378
4379 * libio/fileops.c: Pretty print.
4380
4381 2000-07-23 Bruno Haible <haible@clisp.cons.org>
4382
4383 * wctype/wchar-lookup.h: New file.
4384 * wctype/iswctype.c: Include "wchar-lookup.h".
4385 (__iswctype): Support alternate locale format with 3-level tables.
4386 * wctype/iswctype_l.c (__iswctype_l): Likewise.
4387 * wctype/towctrans.c (__towctrans): Likewise.
4388 * wctype/towctrans_l.c (__towctrans_l): Likewise.
4389 * wctype/wcfuncs.c: Include "wchar-lookup.h".
4390 (__ctype32_wctype, __ctype32_wctrans): Declare external.
4391 (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
4392 __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
4393 __iswxdigit, towlower, towupper): Support alternate locale format
4394 with 3-level tables.
4395 * wctype/wcextra.c (iswblank): Likewise.
4396 * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
4397 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
4398 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
4399 __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
4400 format with 3-level tables.
4401 * wctype/wcextra_l.c (__iswblank_l): Likewise.
4402 * wctype/wctype.c (__wctype): Likewise. In the alternate locale
4403 format, return a 3-level table pointer.
4404 * wctype/wctype_l.c (__wctype_l): Likewise.
4405 * wctype/wctrans.c (wctrans): Likewise.
4406 * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
4407 __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
4408 __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
4409 (iswctype): Remove macro definition.
4410 * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
4411 (internal_wcwidth): Support alternate locale format with 3-level
4412 tables.
4413 * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
4414 New nl_items.
4415 * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
4416 Define them as being type "word".
4417 * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
4418 * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
4419 __ctype32_width): New exported variables.
4420 * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
4421 alternate locale format. Don't initialize __ctype_names and
4422 __ctype_width in the alternate locale format.
4423 * locale/programs/localedef.h (oldstyle_tables): New declaration.
4424 * locale/programs/localedef.c (oldstyle_tables): New variable.
4425 (OPT_OLDSTYLE): New macro.
4426 (options): Add --old-style option.
4427 (parse_opt): Handle --old-style option.
4428 * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
4429 map_offset, class_3level, map_3level, width_3level members.
4430 (ctype_output): Support for alternate locale format: Computation of
4431 nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
4432 _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
4433 New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
4434 _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
4435 now contain both class and map tables.
4436 (struct wctype_table): New type.
4437 (wctype_table_init, wctype_table_add, wctype_table_finalize): New
4438 functions.
4439 (struct wcwidth_table): New type.
4440 (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
4441 functions.
4442 (struct wctrans_table): New type.
4443 (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
4444 functions.
4445 (allocate_arrays): Support for alternate locale format: Set
4446 plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
4447 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
4448 to the first 256 characters. Compute ctype->map_3level. Set
4449 ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
4450 instead of ctype->width.
4451
4452 2000-07-24 Ulrich Drepper <drepper@redhat.com>
4453
4454 * libio/iogetwline.c (_IO_getwline_info): Use wide character
4455 string functions.
4456
4457 2000-07-24 Jakub Jelinek <jakub@redhat.com>
4458
4459 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
4460 in wide characters, not bytes.
4461 * libio/tst_putwc.c (do_test): Add test for writing lots of data
4462 into file.
4463
4464 2000-07-22 Bruno Haible <haible@clisp.cons.org>
4465
4466 * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
4467 new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
4468 LC_MEASUREMENT, LC_IDENTIFICATION.
4469
4470 * locale/xlocale.h (struct __locale_struct): Increase size of
4471 __locales array.
4472 * locale/duplocale.c (__duplocale): Copy newly added categories as
4473 well.
4474 * locale/freelocale.c (__freelocale): Free newly added categories.
4475 * locale/newlocale.c (__newlocale): Fix typo in sanity check.
4476 If a base is given, use it, don't simply return it.
4477
4478 2000-07-22 Bruno Haible <haible@clisp.cons.org>
4479
4480 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
4481 variables, copied_key and copied_salt, instead of boolean variables.
4482
4483 2000-07-24 Andreas Jaeger <aj@suse.de>
4484
4485 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
4486 check for offset.
4487
4488 * grp/initgroups.c (initgroups_dyn_function): Renamed from
4489 initgroups_function, adopted prototype for change from 2000-07-23.
4490 (initgroups): Follow type change.
4491
4492 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
4493 & PAGE_MASK case, reformat.
4494
4495 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
4496 from stdin and setup environment.
4497
4498 2000-07-24 Andreas Schwab <schwab@suse.de>
4499
4500 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
4501
4502 2000-07-23 Ulrich Drepper <drepper@redhat.com>
4503
4504 * string/endian.h: Explain the _*_ENDIAN constant values a bit
4505 more. Patch by scarlet@mit.edu [PR libc/1799].
4506
4507 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
4508 [PR libc/1792].
4509
4510 * argp/argp-parse.c (parser_finalize): Reverse order in which
4511 parsers are run for ARGP_KEY_END. [PR libc/1755].
4512
4513 * grp/initgroups.c (initgroups): Don't limit the possible number
4514 of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around
4515 the setgroups call while the call fails and descrease the number
4516 of groups each round.
4517 The name of the initgroups function in the NSS modules changed.
4518 (compat_call): Adapt for dynamic resizing.
4519 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4520 Implement dynamic resizing.
4521 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
4522 Likewise.
4523 * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
4524 * hesiod/Versions: Change exported interface name.
4525 * nis/Versions: Change exported interface name.
4526
4527 2000-07-23 Ulrich Drepper <drepper@redhat.com>
4528
4529 * locale/iso-639.def: Some errors corrected.
4530 Patch by Keld Simonsen.
4531
4532 * include/limits.h: Update non-gcc portion.
4533 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
4534
4535 2000-07-22 Mark Kettenis <kettenis@gnu.org>
4536
4537 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
4538 program's data space, reallocate only the space that was just
4539 deallocated to release its backing space.
4540
4541 2000-07-23 Ulrich Drepper <drepper@redhat.com>
4542
4543 * stdio-common/vfprintf.c (process_string_arg): For wide character
4544 version, handle precision also correctly.
4545
4546 * nss/nss_files/files-hosts.c: Correct problem with three or more
4547 entries with the same name.
4548
4549 * nss/nss_files/files-hosts.c: Implement multi handling.
4550 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
4551
4552 2000-07-22 Ulrich Drepper <drepper@redhat.com>
4553
4554 * nss/nss_files/files-parse.c: Don't pollute namespace by using
4555 strcasecmp.
4556
4557 * grp/Makefile: Change Makefiles and tests to run only when necessary.
4558 * malloc/Makefile: Likewise.
4559 * malloc/tst-mtrace.sh: Likewise.
4560 * posix/Makefile: Likewise.
4561 * posix/globtest.sh: Likewise.
4562 * posix/wordexp-tst.sh: Likewise.
4563 * string/Makefile: Likewise.
4564
4565 2000-07-22 Mark Kettenis <kettenis@gnu.org>
4566
4567 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
4568 size instead of LC_ALL to take into account the new locale
4569 categories.
4570
4571 2000-07-22 Ulrich Drepper <drepper@redhat.com>
4572
4573 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
4574 remainders of hash table.
4575 * locale/categories.def: Remove remainders of transliteration
4576 hash table.
4577 * locale/langinfo.h: Likewise.
4578 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
4579 transliteration tables.
4580
4581 * locale/gen-translit.pl: New file.
4582 * locale/C-translit.h.in: New file.
4583 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
4584 data pointers with data from this file.
4585 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
4586 and gen-translit.pl.
4587 Add rule to generate C-translit.h.
4588 * intl/tst-translit.c (main): Update for now performed
4589 transliteration.
4590
4591 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
4592 (it's no input error).
4593 * stdio-common/tstscanf.c: Add test case for format %f with input --.
4594 * stdio-common/scanf12.c: Correct expected result for first scanf.
4595
4596 * stdio-common/vfprintf.c (process_string_arg): Correct handling
4597 of multibyte character strings in %s format with precision.
4598
4599 2000-07-21 Ulrich Drepper <drepper@redhat.com>
4600
4601 * locale/programs/ld-collate.c (collate_read): Allow collating
4602 symbols and elements be named in reorder-after instructions.
4603 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
4604
4605 * locale/programs/ld-collate.c (handle_ellipsis): Test for
4606 duplication with generated name, not the name of the first
4607 character.
4608 Patch by Yong Li <yong.li@asu.edu>.
4609
4610 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
4611 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
4612
4613 2000-07-21 Wolfram Gloger <wg@malloc.de>
4614
4615 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
4616 allocations only if a non-main arena cannot be extended.
4617
4618 2000-07-21 Ulrich Drepper <drepper@redhat.com>
4619
4620 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
4621 in DF_1_NODEFLIB handling.
4622
4623 2000-07-21 Andreas Jaeger <aj@suse.de>
4624
4625 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
4626 own rule.
4627
4628 * libio/fwide.c: Include <wchar.h> for prototype.
4629
4630 2000-07-21 Greg McGary <greg@mcgary.org>
4631
4632 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
4633 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
4634 Define in terms of chunk_at_offset.
4635 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
4636 (next_bin, prev_bin): offset by size of real array elements.
4637 (chunk_align): Make `m' a scalar, since that's how it's used.
4638
4639 2000-07-21 Greg McGary <greg@mcgary.org>
4640
4641 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
4642 UNCHECK_BOUNDS.
4643 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
4644 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
4645 Wrap bounds around argv & envp and each of their string members.
4646 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
4647 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
4648 symbol in BP_SYM (). Discard bounds of address arg.
4649 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
4650 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
4651 Discard bounds on address arg, add bounds to return value.
4652
4653 2000-07-20 Ulrich Drepper <drepper@redhat.com>
4654
4655 * elf/Makefile (tests): Add filter. Add rules to generate filter.
4656 * elf/filter.c: New file.
4657 * elf/filtmod1.c: New file.
4658 * elf/filtmod2.c: New file.
4659
4660 * elf/rtld.c: Define _dl_bind_not variable.
4661 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
4662 * elf/dl-support.c: Likewise.
4663 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
4664 * elf/dl-runtime.c (fixup): Don't remember looked up value if
4665 _dl_bind_not.
4666 (profile_fixup): Likewise.
4667
4668 * libio/Makefile (routines): Add fwide.
4669 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
4670 fwide now. Internal calls to _IO_fwide must do locking themselves
4671 or don't need locking.
4672 * libio/fwide.c: New file.
4673
4674 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
4675
4676 * elf/Makefile: Add no modules for nodelete test.
4677 * elf/nodelmod3.c: New file.
4678 * elf/nodelmod4.c: New file.
4679 * elf/nodelete.c: Also test case where dependency of dlopen() object
4680 is marked nodelete.
4681
4682 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
4683 * elf/nodlopen.c: New file.
4684 * elf/nodlopenmod.c: New file.
4685 * include/dlfcn.h: Define __RTLD_DLOPEN.
4686 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
4687 and this is a dlopen() call, do not load the binary.
4688 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
4689 * dlfcn/dlopenold.c: Likewise.
4690 * configure.in: Add test for -z nodelete option.
4691 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
4692
4693 2000-07-20 Mark Kettenis <kettenis@gnu.org>
4694
4695 Make Hesiod NSS module thread-safe.
4696
4697 * hesiod/README.hesiod: Update.
4698
4699 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
4700 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
4701 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
4702 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
4703 hesiod-proto.
4704 * hesiod/nss_hesiod/hesiod-init.c: New file.
4705 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
4706 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
4707 * hesiod/nss_hesiod/nss_hesiod.h: New file.
4708 * hesiod/nss_hesiod/hesiod-service.c
4709 (_nss_hesiod_getservbyport_r): New function. Provide support for
4710 looking up services by port number.
4711 * hesiod/nss_hesiod/hesiod-proto.c: New file.
4712
4713 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
4714 * hesiod/hesiod.h: Likewise.
4715 * hesiod/hesiod_p.h: Likewise.
4716
4717 2000-07-20 Mark Kettenis <kettenis@gnu.org>
4718
4719 Fix problems with `struct __res_state' getting too big.
4720 * resolv/resolv.h (struct __sockaddr_in): New definition.
4721 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
4722 the private parts of the structure to save some space.
4723 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
4724 (struct sockaddr_in *) in call to sock_eq.
4725 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
4726
4727 2000-07-20 Ulrich Drepper <drepper@redhat.com>
4728
4729 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
4730 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
4731 with nodelete.
4732 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
4733 to _dl_map_object. Return immediately if no object loaded.
4734 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
4735 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
4736 if it exists into l_flags_1 word.
4737 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
4738 it to determine whether loading is wanted or not.
4739 (_dl_map_object): Likewise.
4740 Call _dl_map_object_from_fd with new parameter.
4741 * sysdeps/generic/ldsodefs.h: Update prototype.
4742 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
4743 * elf/rtld.c: Likewise.
4744 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4745 * elf/Makefile (tests): Add noload. Add rules to generate noload.
4746 * elf/noload.c: New file.
4747 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
4748 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
4749 * sysdeps/mips/bits/dlfcn.h: Likewise.
4750 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
4751 (tests-nodelete-yes): Define.
4752 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
4753 Add rules to build nodelete and modules.
4754 * elf/nodelete.c: New file.
4755 * elf/nodelmod1.c: New file.
4756 * elf/nodelmod2.c: New file.
4757 * configure.in: Add test for -z nodelete option.
4758 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
4759
4760 * libio/Makefile (tests): Add tst_wprintf2.
4761 (tst_wprintf2-ARGS): Define.
4762 * libio/tst_wprintf2.c: New file.
4763 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
4764
4765 * libio/wfiledoalloc.c: Only allocate external buffer if this
4766 hasn't happened yet.
4767
4768 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
4769 something in the buffer. gconv call can write up to end of the
4770 buffer, not only _IO_write_end.
4771 (_IO_wfile_overflow): Allocate also external buffer.
4772
4773 2000-07-19 Ulrich Drepper <drepper@redhat.com>
4774
4775 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
4776 strings with precision in vfwprintf correctly.
4777 * stdio-common/vfprintf.c: Fix completely broken handling of
4778 unbuffered wide character streams.
4779 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
4780
4781 * resolv/Makefile (distribute): Add README.
4782
4783 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
4784
4785 2000-07-18 Mark Kettenis <kettenis@gnu.org>
4786
4787 Update resolver code to BIND 8.2.3-T5B.
4788
4789 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
4790 __res_nclose.
4791 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
4792 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
4793 __res_search.
4794 * resolv/Banner: BIND-8.2.3-T5B.
4795
4796 * resolv/base64.c: Update from BIND 8.2.3-T5B.
4797 * resolv/herror.c: Likewise.
4798 * resolv/inet_addr.c: Likewise.
4799 * resolv/inet_net_ntop.c: Likewise.
4800 * resolv/inet_net_pton.c: Likewise.
4801 * resolv/inet_neta.c: Likewise.
4802 * resolv/inet_ntop.c: Likewise.
4803 * resolv/nsap_addr.c: Likewise.
4804 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
4805 IPv6 addresses (ISC bug #520).
4806
4807 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
4808 * resolv/ns_parse.c: Likewise.
4809 * resolv/ns_netint.c: Likewise.
4810 * resolv/ns_samedomain.c: Likewise.
4811 * resolv/ns_ttl.c: Likewise.
4812 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
4813 RCS ID in object file.
4814
4815 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
4816 * resolv/res_mkquery.c: Likewise.
4817 * resolv/res_query.c: Likewise.
4818 * resolv/res_init.c: Likewise.
4819 (res_setoptions): Mark internal.
4820 * resolv/res_send.c: Likewise.
4821 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
4822 by using poll instead.
4823 * resolv/res_comp.c: Likewise.
4824 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
4825 weak alias for __dn_expand.
4826 * resolv/res_data.c: Likewise.
4827 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
4828 in _res.options. Avoids a potential security risk by avoiding a
4829 close (0).
4830 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
4831 res_mkquery, res_query, res_querydomain adn res_search weak
4832 aliases for __res_mkquery, __res_query, __res_querydomain and
4833 __res_search.
4834 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
4835 instead to avoid close(0).
4836 (res_init): Always use the static resolver context.
4837 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
4838 alias for __res_init.
4839
4840 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
4841 RES_SET_H_ERRNO and accompanying comment to...
4842 * include/resolv.h: ... here.
4843
4844 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
4845 * resolv/arpa/nameser_compat.h: Likewise.
4846
4847 2000-07-18 Ulrich Drepper <drepper@redhat.com>
4848
4849 * nss/makedb.c (main): Compare result of load_db with
4850 NSS_STATUS_SUCCESS and not 0.
4851 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
4852
4853 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
4854
4855 2000-07-18 Greg McGary <greg@mcgary.org>
4856
4857 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
4858 (EXTEND_BUFFER): Use it.
4859
4860 2000-07-18 Ulrich Drepper <drepper@redhat.com>
4861
4862 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
4863 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
4864 __builtin_return_address.
4865 * dlfcn/dlopenold.c: Likewise.
4866 * dlfcn/dlsym.c: Likewise.
4867 * dlfcn/dlvsym.c: Likewise.
4868 * elf/dl-profstub.c: Likewise.
4869 * malloc/malloc.c: Likewise.
4870 * sysdeps/generic/machine-gmon.h: Likewise.
4871 Based on a patch by schwidefsky@de.ibm.com.
4872
4873 2000-07-18 Andreas Jaeger <aj@suse.de>
4874
4875 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
4876 NULL to elf_machine_fixup_plt t argument to silence GCC.
4877
4878 * include/string.h: Add prototype for __memchr.
4879
4880 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
4881
4882 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
4883 instead of memrchr.
4884
4885 2000-07-18 Ulrich Drepper <drepper@redhat.com>
4886
4887 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
4888
4889 * locale/C-ctype.c: Add initializers for gap elements.
4890 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
4891 for gap elements.
4892
4893 2000-07-16 Ulrich Drepper <drepper@redhat.com>
4894
4895 * nscd/nscd.c (print_version): Update copyright year.
4896
4897 2000-07-17 Greg McGary <greg@mcgary.org>
4898
4899 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
4900 keyletters F, I, S, W. Remove unused keyletter V. Surround
4901 signature argnames with angle-brackets for use as word delimiters,
4902 and to induce syntax errors for any args not handled. Split
4903 multi-echo echoes and comment each stage.
4904 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
4905 * sysdeps/unix/inet/syscalls.list: Likewise.
4906 * sysdeps/unix/mman/syscalls.list: Likewise.
4907 * sysdeps/unix/syscalls.list: Likewise.
4908 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4909 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4910 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4911 * sysdeps/unix/sysv/syscalls.list: Likewise.
4912 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
4913
4914 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
4915 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
4916 qualifiers. Don't check NULL-terminator of argv & envp.
4917 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
4918 unbounded pointer type in word-size assertion.
4919 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
4920 cases to stifle warnings.
4921
4922 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
4923 _IO_file_attach.
4924 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
4925
4926 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
4927 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
4928 ptr as __unbouned.
4929
4930 * Makerules (o-objects): Supplement with $(o-objects$o).
4931 * string/Makefile (o-objects.ob): Add variable to pull
4932 unbounded versions of memcpy, memset and memchr into libc_b.
4933
4934 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
4935 rather than non-existent __ubp_memchr.
4936 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
4937 (_CHECK_STRING, _CHECK_N): New macros.
4938 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
4939 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
4940 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
4941 Add weak alias "memchr".
4942 * sysdeps/generic/memchr.c: Likewise.
4943 * sysdeps/i386/memchr.S: Likewise.
4944 * sysdeps/ia64/memchr.S: Likewise.
4945 * sysdeps/m68k/memchr.S: Likewise.
4946 * sysdeps/sparc/sparc32/memchr.S: Likewise.
4947 * sysdeps/sparc/sparc64/memchr.S: Likewise.
4948 * sysdeps/vax/memchr.s: Likewise.
4949
4950 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
4951
4952 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
4953 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
4954 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
4955 __BOUNDED_POINTERS__.
4956 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
4957 for __BOUNDED_POINTERS__.
4958
4959 2000-07-17 Bruno Haible <haible@clisp.cons.org>
4960
4961 * iconv/gconv_open.c (__gconv_open): Initialize the __data
4962 field of struct __gconv_trans_data differently. Don't pass NULL to
4963 trans_init_fct. Simplify list append operation.
4964
4965 2000-07-14 Bruno Haible <haible@clisp.cons.org>
4966
4967 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
4968 not only those having tsearch.
4969
4970 2000-07-17 Ulrich Drepper <drepper@redhat.com>
4971
4972 * locale/langinfo.h: Add placeholder values in enum for removed
4973 LC_CTYPE entries.
4974
4975 2000-07-17 Jakub Jelinek <jakub@redhat.com>
4976
4977 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
4978 chain if the PHDR check fails.
4979
4980 2000-07-17 Mark Kettenis <kettenis@gnu.org>
4981
4982 * nss/getent.c (print_hosts): Make sure we always print a space
4983 between numeric addresses and hostnames.
4984
4985 2000-07-17 Wolfram Gloger <wg@malloc.de>
4986
4987 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
4988 i.e. if n_mmaps_max>0.
4989
4990 2000-07-16 Mark Kettenis <kettenis@gnu.org>
4991
4992 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
4993 values to remove possible clash with other AI_* constants.
4994 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
4995 hexadecimal constants to stress the fact they're in fact
4996 bit flags.
4997
4998 2000-07-15 Mark Kettenis <kettenis@gnu.org>
4999
5000 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
5001 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
5002 instead of res_init.
5003
5004 2000-07-16 Ulrich Drepper <drepper@redhat.com>
5005
5006 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
5007 parameters of memset calls to avoid warnings.
5008
5009 2000-07-15 Ulrich Drepper <drepper@redhat.com>
5010
5011 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
5012 necessary.
5013
5014 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
5015 Patch by Greg McGary <greg@mcgary.org>.
5016
5017 * io/Makefile (tests): Add tst-getcwd.
5018 * io/tst-getcwd.c: New file.
5019
5020 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
5021
5022 2000-07-15 Jakub Jelinek <jakub@redhat.com>
5023
5024 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
5025 structure.
5026
5027 2000-07-13 Jakub Jelinek <jakub@redhat.com>
5028
5029 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
5030 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
5031
5032 2000-07-12 H.J. Lu <hjl@gnu.org>
5033
5034 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
5035 GLIBC_2.2.
5036 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
5037 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
5038 (sysdep-routines): Add clone2.
5039 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
5040
5041 2000-07-13 Jes Sorensen <jes@linuxcare.com>
5042
5043 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
5044 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
5045
5046 2000-06-05 David Mosberger <davidm@hpl.hp.com>
5047
5048 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
5049 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
5050 Change type of si_band from "int" to "long".
5051 (si_imm) [USE_GNU]: Define
5052 (si_isr) [USE_GNU]: Likewise.
5053 (ILL_BREAK) [USE_GNU]: Likewise.
5054 (FPE_DECOVF) [USE_GNU]: Likewise.
5055 (FPE_DECDIV) [USE_GNU]: Likewise.
5056 (FPE_DECERR) [USE_GNU]: Likewise.
5057 (FPE_INVASC) [USE_GNU]: Likewise.
5058 (FPE_INVDEC) [USE_GNU]: Likewise.
5059 (TRAP_BRANCH) [USE_GNU]: Likewise.
5060 (TRAP_HWBKPT) [USE_GNU]: Likewise.
5061
5062 2000-07-06 Jes Sorensen <jes@linuxcare.com>
5063
5064 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
5065 bits/sigcontext as struct mcontext does not depend on it.
5066
5067 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
5068
5069 2000-07-04 Jes Sorensen <jes@linuxcare.com>
5070
5071 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
5072
5073 2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
5074
5075 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
5076
5077 2000-06-22 Jes Sorensen <jes@linuxcare.com>
5078
5079 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
5080
5081 2000-07-15 Ulrich Drepper <drepper@redhat.com>
5082
5083 * intl/Makefile (test-srcs): Add tst-translit.
5084 (tests): Likewise.
5085 Add rules to build and run tst-translit.
5086 * intl/tst-translit.c: New file.
5087 * intl/tst-translit.sh: New file.
5088 * intl/translit.po: New file.
5089
5090 2000-07-14 Ulrich Drepper <drepper@redhat.com>
5091
5092 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
5093 transliteration function did its job, continue, don't stop.
5094
5095 * iconvdata/iso646.c: Little optimizations in body for conversion
5096 from UCS4.
5097
5098 2000-07-14 Mark Kettenis <kettenis@gnu.org>
5099
5100 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
5101
5102 2000-07-14 Mark Kettenis <kettenis@gnu.org>
5103
5104 * configure.in: Check for pwd binary.
5105 * config.make.in: Add PWD_P to be subsituted.
5106 * Makerules: Use $(PWD_P) instead of /bin/pwd.
5107
5108 2000-07-14 Ulrich Drepper <drepper@redhat.com>
5109
5110 * iconvdata/Makefile (modules): Add GB18030.
5111 (distribute): Add gb18030.c.
5112 * iconvdata/gconv-modules: Add entries for GB18030 module.
5113 * iconvdata/gb18030.c: New file.
5114 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
5115 and Wu Jian.
5116
5117 2000-07-13 Andreas Jaeger <aj@suse.de>
5118
5119 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
5120 patch.
5121
5122 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
5123 * inet/getnetgrent.c (free_mem): Likewise.
5124 * misc/mntent.c (free_mem): Likewise.
5125 * nss/getXXbyYY.c (free_mem): Likewise.
5126 * nss/getXXent.c (free_mem): Likewise.
5127 * pwd/fgetpwent.c (free_mem): Likewise.
5128 * shadow/fgetspent.c (free_mem): Likewise.
5129
5130 2000-07-14 Ulrich Drepper <drepper@redhat.com>
5131
5132 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
5133 64-bit architecture correctly [PR libc/1794].
5134
5135 2000-07-13 Ulrich Drepper <drepper@redhat.com>
5136
5137 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
5138 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
5139 report that we are out of memory.
5140 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5141 * elf/dl-libc.c (dlerror_run): Likewise.
5142 * elf/dl-open.c (_dl_open): Likewise.
5143 * elf/rtld.c (dl_main): Likewise.
5144 * elf/dl-error.c: Define _dl_out_of_memory.
5145 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
5146 the error string.
5147 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
5148 [PR libc/1813].
5149
5150 * dlfcn/dlerror.c (free_key_mem): Also free error string.
5151
5152 * iconv/loop.c: Fix comment.
5153
5154 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
5155
5156 2000-07-13 Andreas Jaeger <aj@suse.de>
5157
5158 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
5159 getcwd (NULL, size) with size > 0.
5160 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
5161
5162 2000-07-13 Andreas Jaeger <aj@suse.de>
5163
5164 * posix/Makefile: Remove build rules for libposix.
5165
5166 2000-07-13 Andreas Schwab <schwab@suse.de>
5167
5168 * sysdeps/generic/glob.c (glob): Fix memory leak.
5169 [SHELL]: Remove reference to undefined variable `files'.
5170 Fixes PR libc/1782.
5171
5172 2000-07-13 Andreas Jaeger <aj@suse.de>
5173
5174 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
5175 functions.
5176
5177 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
5178 memory if it was allocated.
5179
5180 2000-07-12 Ulrich Drepper <drepper@redhat.com>
5181
5182 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
5183 step.
5184
5185 * iconv/gconv_open.c (__gconv_open): Reapply
5186 2000-07-12 Bruno Haible <haible@clisp.cons.org>
5187
5188 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
5189
5190 * iconv/gconv_open.c: Undo last two changes for now. They break
5191 everything.
5192
5193 2000-07-12 Andreas Jaeger <aj@suse.de>
5194
5195 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
5196 compiler.
5197 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
5198 (CFLAGS-dl-cache.c): Likewise.
5199 (CFLAGS-ldconfig.c): Added, passes directory locations.
5200
5201 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
5202 locate cache.
5203 * elf/ldconfig.c (LD_SO_CONF): Likewise.
5204 (main): Use configured LIBDIR and SLIBDIR.
5205
5206 2000-07-11 Jakub Jelinek <jakub@redhat.com>
5207
5208 * math/bits/cmathcalls.h (cimag): Add __THROW.
5209 (creal, conj): Likewise.
5210 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
5211 by negative value.
5212
5213 2000-07-12 H.J. Lu <hjl@gnu.org>
5214
5215 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
5216 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
5217
5218 2000-07-12 Ulrich Drepper <drepper@redhat.com>
5219
5220 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
5221 it is wrong.
5222
5223 2000-07-12 Bruno Haible <haible@clisp.cons.org>
5224
5225 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
5226
5227 2000-07-12 Bruno Haible <haible@clisp.cons.org>
5228
5229 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
5230 __modname.
5231
5232 2000-07-12 Bruno Haible <haible@clisp.cons.org>
5233
5234 * iconv/gconv_open.c (__gconv_open): Initialize
5235 result->__steps[cnt].__data.
5236
5237 2000-07-12 Mark Kettenis <kettenis@gnu.org>
5238
5239 * nss/getent.c (services_keys): Pass port number in network byte
5240 order in call to getservbyport.
5241
5242 2000-07-11 Andreas Jaeger <aj@suse.de>
5243
5244 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
5245 source dir.
5246 * intl/Makefile (do-gettext-test): Likewise.
5247 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
5248
5249 2000-07-11 Andreas Schwab <schwab@suse.de>
5250
5251 * Makeconfig (run-program-prefix): New rule.
5252 (built-program-cmd): Use run-program-prefix.
5253
5254 2000-07-12 Ulrich Drepper <drepper@redhat.com>
5255
5256 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
5257 and NOEXPR unconditionally available.
5258
5259 2000-07-12 Greg McGary <greg@mcgary.org>
5260
5261 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
5262 * sysdeps/posix/open64.c: Likewise.
5263 * sysdeps/generic/fegetenv.c: Likewise.
5264 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
5265 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
5266 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5267 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
5268 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
5269 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
5270
5271 2000-07-11 Greg McGary <greg@mcgary.org>
5272
5273 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
5274 Add extra level of macro expansion.
5275 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
5276 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
5277 is available at the time `select' prototype is declared.
5278 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
5279 Collect non-versioned weak aliases. Consider only non-versioned
5280 aliases for the user-visible systemcall name. Do checks inline with
5281 call to primitive system call.
5282 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
5283 stand-alone bounds checks to suppress unused value warnings.
5284 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
5285
5286 2000-07-10 Mark Kettenis <kettenis@gnu.org>
5287
5288 * sysdeps/mach/hurd/check_fds.c: New file. Implements
5289 file descriptor checking in SUID programs for the Hurd.
5290
5291 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
5292 res_hostalias instead of __hostalias for thread-safety.
5293
5294 2000-07-09 Mark Kettenis <kettenis@gnu.org>
5295
5296 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
5297 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
5298
5299 2000-07-10 Ulrich Drepper <drepper@redhat.com>
5300
5301 * include/features.h: Include ISO C99 features if the compiler used
5302 is an ISO C99 compiler.
5303 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
5304
5305 2000-07-08 Mark Kettenis <kettenis@gnu.org>
5306
5307 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
5308
5309 2000-07-10 Andreas Jaeger <aj@suse.de>
5310
5311 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
5312 it's overridden by libpthreads.
5313 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5314 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5315 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5316 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5317 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5318
5319 * malloc/Makefile: Run tst-mtrace only with shared libs.
5320
5321 * stdio-common/Makefile: Run unbputc and tst-printf tests only
5322 with shared libs.
5323
5324 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
5325
5326 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
5327 that gpreg really points to the GOT section of the calling object.
5328 Scan all PT_LOAD segments of objects for stub_pc, instead of only
5329 checking a start address of first one.
5330 Fix typos.
5331 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
5332 Likewise.
5333
5334 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
5335
5336 2000-07-10 Andreas Jaeger <aj@suse.de>
5337
5338 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
5339 (string_alias->strong_alias).
5340
5341 2000-07-08 Mark Kettenis <kettenis@gnu.org>
5342
5343 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
5344
5345 2000-07-07 Greg McGary <greg@mcgary.org>
5346
5347 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
5348 have no names without leading underscores.
5349
5350 2000-07-07 Ulrich Drepper <drepper@redhat.com>
5351
5352 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
5353 U007E.
5354
5355 * stdio-common/Makefile (tests): Remove tst-printf here...
5356 (tests-srcs): ...and add it here.
5357 (distribute): Add tst-unbputc.sh and tst-printf.sh.
5358 Add rules to run tst-printf.sh.
5359 * stdio-common/tst-printf.c: Move code around so that there is really
5360 no further output where it's stated.
5361 * stdio-common/tst-printf.sh: New file.
5362
5363 2000-07-07 Mark Kettenis <kettenis@gnu.org>
5364
5365 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
5366 (do_write): Renamed from pwrite.
5367 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
5368 `struct _IO_cookie_file'.
5369
5370 2000-07-07 Ulrich Drepper <drepper@redhat.com>
5371
5372 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
5373 detected.
5374 * malloc/tst-mtrace.sh: Run mtrace script.
5375
5376 2000-07-07 Greg McGary <greg@mcgary.org>
5377
5378 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
5379 Move all three components of a bounded pointer.
5380
5381 2000-07-07 Ulrich Drepper <drepper@redhat.com>
5382
5383 * locale/programs/locale.c (write_locales): Don't simply add all
5384 directories found in the subdir, test whether at least the
5385 LC_CTYPE file is in there.
5386
5387 2000-07-06 Ulrich Drepper <drepper@redhat.com>
5388
5389 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
5390 * iconvdata/euc-kr.c: Likewise.
5391
5392 * stdio-common/vfprintf.c (process_string_arg): Check result of
5393 wcrtomb call and bail out if it failed.
5394
5395 * malloc/Makefile (test-srcs): Add tst-mtrace.
5396 (distribute): Add tst-mtrace.sh.
5397 Add rule to run tst-mtrace.sh.
5398 * malloc/tst-mtrace.c: New file.
5399 * malloc/tst-mtrace.sh: New file.
5400
5401 * include/signal.h: Declare __libc_sigaction.
5402 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
5403 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
5404 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5405 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5406 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5407 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5408 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5409
5410 * configure.in: Fix CFLAGS-memprofstat.c definition after
5411 2000-06-19 change.
5412 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
5413
5414 2000-07-06 Jakub Jelinek <jakub@redhat.com>
5415
5416 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
5417 instead of NULL to elf_machine_fixup_plt t argument.
5418 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5419 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
5420 cast.
5421
5422 2000-07-06 Andreas Jaeger <aj@suse.de>
5423
5424 * crypt/Makefile (LDLIBS-cert): Removed.
5425 (LDLIBS-md5c-test): Removed.
5426 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
5427 ($(objpfx)md5c-test): Likewise for md5c-test.out.
5428
5429 2000-07-06 Andreas Jaeger <aj@suse.de>
5430
5431 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
5432 of the proc system is "proc".
5433
5434 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
5435 thread library for static programs.
5436
5437 2000-07-06 Greg McGary <greg@mcgary.org>
5438
5439 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
5440 New macros.
5441 * sysdeps/generic/strcpy.c: Add bounds checks.
5442 * sysdeps/unix/fxstat.c: Likewise.
5443 * sysdeps/unix/xstat.c: Likewise.
5444 * sysdeps/unix/common/lxstat.c: Likewise.
5445 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5446 * sysdeps/unix/sysv/linux/execve.c: Likewise.
5447 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
5448 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
5449 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5450 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5451 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
5452 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
5453 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
5454 * sysdeps/unix/sysv/linux/poll.c: Likewise.
5455 * sysdeps/unix/sysv/linux/pread.c: Likewise.
5456 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5457 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
5458 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5459 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5460 * sysdeps/unix/sysv/linux/readv.c: Likewise.
5461 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5462 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
5463 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5464 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
5465 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5466 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
5467 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5468 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
5469 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
5470 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
5471 * sysdeps/unix/sysv/linux/writev.c: Likewise.
5472 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
5473 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
5474 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
5475 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5476 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
5477 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5478 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
5479 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5480 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5481 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5482 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
5483 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5484 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
5485 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5486 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5487 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5488 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
5489 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
5490 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
5491 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5492 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
5493 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
5494 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
5495 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
5496 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
5497 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5498 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5499 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5500 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5501 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
5502 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
5503 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
5504 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
5505 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5506 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
5507 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
5508 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
5509
5510 * string/endian.h (__LONG_LONG_PAIR): New macro.
5511 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
5512 * sysdeps/unix/sysv/linux/pread.c: Likewise.
5513 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5514 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5515 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5516 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
5517 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
5518 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5519 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5520 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5521 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5522 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
5523
5524 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
5525
5526 2000-07-06 Andreas Jaeger <aj@suse.de>
5527
5528 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
5529 Initialize result.
5530
5531 * math/test-fpucw.c: Include <stdio.h> for printf.
5532
5533 2000-07-05 Greg McGary <greg@mcgary.org>
5534
5535 * sysdeps/generic/bp-checks.h: New file.
5536 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
5537 with list of #include files.
5538 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
5539 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
5540 Don't generate BP thunk if `V' appears in signature.
5541 Generate thunks with complete bounds checks.
5542 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
5543 * sysdeps/unix/inet/syscalls.list: Likewise.
5544 * sysdeps/unix/mman/syscalls.list: Likewise.
5545 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5546 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5547 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5548 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
5549
5550 2000-07-05 Ulrich Drepper <drepper@redhat.com>
5551
5552 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
5553 result. Search first in /etc/mtab (proc/mounts would be stupid).
5554 If mount not in the file fall back on /proc.
5555
5556 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
5557 string got copied in.
5558 Patch by Solar Designer <solar@false.com>.
5559
5560 2000-07-05 Andreas Jaeger <aj@suse.de>
5561
5562 * manual/install.texi (Installation): Update information about
5563 add-ons.
5564 (Configuring and compiling): Update for glibc 2.2.
5565
5566 2000-07-04 Andreas Jaeger <aj@suse.de>
5567
5568 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
5569 (_FPU_IEEE): Likewise.
5570
5571 * math/Makefile (tests): Add test-fpucw.
5572
5573 * math/test-fpucw.c (main): New file.
5574
5575 2000-07-05 Ulrich Drepper <drepper@redhat.com>
5576
5577 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
5578
5579 * locale/programs/ld-collate.c (collate_output): Also write out the
5580 collation sequence values and the wide character string for the
5581 collation symbol table.
5582
5583 * posix/fnmatch.c: Include "../locale/elem-hash.h".
5584 * posix/fnmatch_loop.c: Implement collating symbol handling.
5585 * posix/tst-fnmatch.input: Add more tests, especially for collating
5586 symbol handling.
5587
5588 * posix/regex.c: Fix comment.
5589
5590 2000-07-05 Andreas Jaeger <aj@suse.de>
5591
5592 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
5593 (_FPU_GETCW): Remove extra colon.
5594 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
5595
5596 * posix/fnmatch_loop.c (FCT): Only declare len if
5597 !WIDE_CHAR_VERSION to silence GCC.
5598
5599 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
5600 prototype.
5601 * sysdeps/generic/strchrnul.c: Likewise.
5602 * sysdeps/generic/strlen.c: Likewise.
5603 * sysdeps/generic/strchr.c: Likewise.
5604 * sysdeps/generic/memchr.c: Likewise.
5605
5606 2000-07-04 Ulrich Drepper <drepper@redhat.com>
5607
5608 * posix/fnmatch_loop.c: Implement equivalence class handling.
5609 * posix/tst-fnmatch.input: Add tests for equivalence class
5610 handling.
5611
5612 * posix/fnmatch_loop.c: Improve performance for single-byte
5613 character sets by not using btowc.
5614
5615 * posix/tst-fnmatch.input: Add tests for locale dependent
5616 behaviour.
5617 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
5618
5619 * posix/tst-fnmatch.input: Add more test cases.
5620
5621 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
5622 are not aligned to alignof(md5_uint32) do it before calling
5623 __md5_process_bytes.
5624 * crypt/md5.c: Make sure buffers are aligned.
5625 * crypt/md5.h: Likewise.
5626 Reported by Solar Designer <solar@false.com>.
5627
5628 * crypt/Makefile: Add dependencies for test programs.
5629
5630 * Rules: Define LC_ALL=C in environments of all programs we run.
5631
5632 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
5633
5634 2000-07-03 H.J. Lu <hjl@gnu.org>
5635
5636 * locale/programs/ld-ctype.c (ctype_output): The size of iov
5637 is 2 + elem + offset, not 2 + elem + offset + 2.
5638
5639 2000-07-04 Ulrich Drepper <drepper@redhat.com>
5640
5641 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
5642 suite.
5643 * posix/Makefile (tests): Add tst-fnmatch.
5644 (tst-fnmatch-ENV): Define.
5645 * posix/tst-fnmatch.c: New file.
5646 * posix/tst-fnmatch.sh: New file.
5647
5648 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
5649
5650 * locale/programs/charmap.c (charmap_read): Prepend
5651 the condition filename == NULL.
5652
5653 2000-07-03 Greg McGary <greg@mcgary.org>
5654
5655 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
5656
5657 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
5658 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
5659
5660 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
5661 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
5662 (FILEBUF_LITERAL): Add cast for CHAIN init.
5663 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
5664 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
5665 Revert type of `fp' to _IO_FILE*.
5666 (_IO_iter_file): Remove cast.
5667 (_IO_iter_next): Elide intermediate member reference.
5668
5669 * sysdeps/powerpc/strchr.S: Check bounds.
5670 Wrap extern symbols in BP_SYM ().
5671
5672 2000-07-03 Andreas Jaeger <aj@suse.de>
5673
5674 * dlfcn/Makefile (generated): New.
5675
5676 2000-07-03 Ulrich Drepper <drepper@redhat.com>
5677
5678 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
5679 (__uflow): Likewise.
5680 (__underflow): Likewise.
5681 * libio/wgenops.c (__wunderflow): Likewise.
5682 * stdio-common/tst-unbputc.c: New file.
5683 * stdio-common/tst-unbputc.sh: New file.
5684 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
5685
5686 * po/en_GB.po: New file.
5687 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
5688
5689 2000-07-01 Andreas Jaeger <aj@suse.de>
5690
5691 * intl/Makefile (generated-dirs): New.
5692
5693 * elf/Makefile (generated): trusted-dirs.h is always generated,
5694 move out of build-shared condition.
5695 (generated): Merge the two entries for build-shared.
5696
5697 2000-07-01 Ulrich Drepper <drepper@redhat.com>
5698
5699 * debug/Makefile (distribute): Add xtrace.sh.
5700
5701 2000-06-30 Ulrich Drepper <drepper@redhat.com>
5702
5703 * version.h (VERSION): Bump to 2.1.91.
5704
5705 * configure.in: Update warning comment. glibc should not be
5706 broken anymore.
5707
5708 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
5709 ioperm.c, sys/procfs.h, and sys/io.h.
5710
5711 * sysdeps/powerpc/Dist: Add bp-asm.h.
5712
5713 * assert/Depend: Add localedata.
5714 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
5715 (test-assert-perr-ENV): New. Define LANGUAGE=C.
5716
5717 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
5718 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
5719 relocation address to prevent unaligned trap.
5720 Suggested by Richard Henderson <rth@cygnus.com>.
5721
5722 2000-06-30 Jakub Jelinek <jakub@redhat.com>
5723
5724 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
5725 if redirecting and either redirection is done using defines or
5726 not optimizing.
5727
5728 2000-06-30 Ulrich Drepper <drepper@redhat.com>
5729
5730 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
5731 generated expressions.
5732 Patch by Darren McClelland <dmcclell@zetec.com>.
5733
5734 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
5735 since zic uses setlocale and gettext but we cannot make it use the
5736 new locale data since zic calls a shell which might not use the
5737 new libc.
5738
5739 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
5740 handling the internation currency symbol. POSIX says that the
5741 fourth character is used to separate the currency symbol from the
5742 value. Therefore it does not have to be printed. But we cannot
5743 remove the space if the currency symbol is printed before the
5744 number since this is what many locales expect.
5745
5746 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
5747 whether this information is available.
5748
5749 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
5750 buffers in case the translation is too large. Remember allocated
5751 memory blocks in a list.
5752 (free_mem): Free memory for translations.
5753
5754 * intl/tst-gettext.c: Use correct locale. Improve error messages.
5755
5756 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
5757 information is available set the string length to zero.
5758
5759 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
5760
5761 2000-06-30 Greg McGary <greg@mcgary.org>
5762
5763 * sysdeps/powerpc/bp-asm.h: New file.
5764 * sysdeps/powerpc/__longjmp.S: Check bounds.
5765 Wrap extern symbols in BP_SYM ().
5766 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
5767 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
5768 * sysdeps/powerpc/setjmp.S: Likewise.
5769 * sysdeps/powerpc/add_n.S: Likewise.
5770 * sysdeps/powerpc/addmul_1.S: Likewise.
5771 * sysdeps/powerpc/lshift.S: Likewise.
5772 * sysdeps/powerpc/rshift.S: Likewise.
5773 * sysdeps/powerpc/mul_1.S: Likewise.
5774 * sysdeps/powerpc/sub_n.S: Likewise.
5775 * sysdeps/powerpc/submul_1.S: Likewise.
5776 * sysdeps/powerpc/strlen.S: Likewise.
5777 * sysdeps/powerpc/memset.S: Likewise.
5778 * sysdeps/powerpc/stpcpy.S: Likewise.
5779 * sysdeps/powerpc/strcmp.S: Likewise.
5780 * sysdeps/powerpc/strcpy.S: Likewise.
5781 * sysdeps/powerpc/elf/bzero.S: Likewise.
5782
5783 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
5784 Line up operands column with tabs.
5785
5786 2000-06-30 Ulrich Drepper <drepper@redhat.com>
5787
5788 * elf/Makefile (LDFLAGS-origtest): Actually add it.
5789
5790 * sysdeps/ia64/htonl.S: New file.
5791 * sysdeps/ia64/htons.S: New file.
5792 * sysdeps/ia64/memcpy.S: Replace with version which does not use
5793 floating point registers.
5794 Patches by Dan Pop <Dan.Pop@cern.ch>.
5795
5796 2000-06-30 Andreas Jaeger <aj@suse.de>
5797
5798 * posix/Makefile (tests): tst-exec and tst-spawn only work with
5799 shared libraries.
5800
5801 * io/Makefile (CFLAGS-test-lfs.c): New.
5802 (tests): Add test-lfs.
5803
5804 * io/test-lfs.c: New file.
5805
5806 2000-06-30 Jakub Jelinek <jakub@redhat.com>
5807
5808 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
5809 instruction.
5810
5811 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
5812
5813 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
5814
5815 2000-06-29 Jes Sorensen <jes@linuxcare.com>
5816
5817 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
5818 alias to the fstatfs call.
5819
5820 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
5821 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
5822
5823 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
5824 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
5825
5826 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
5827 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
5828 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
5829 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
5830
5831 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
5832 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
5833
5834 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
5835 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
5836
5837 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
5838 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
5839
5840 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
5841
5842 2000-06-29 Andreas Jaeger <aj@suse.de>
5843
5844 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
5845 with syslog.
5846 (print_err_message): Likewise.
5847 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
5848
5849 2000-06-29 Ulrich Drepper <drepper@redhat.com>
5850
5851 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
5852 used as words is properly aligned.
5853
5854 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
5855 data files.
5856
5857 2000-06-29 Greg McGary <greg@mcgary.org>
5858
5859 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
5860 * sysdeps/unix/make-syscalls.sh: Handle signatures of
5861 length 7..9, just in case...
5862 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
5863
5864 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
5865 (POP_ERRNO_LOCATION_RETURN): Fold insns.
5866 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
5867 (PUSH_SIGNAL_MASK): New macro.
5868 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
5869 LEAVE is unnecessary. Check bounds of jmp_buf.
5870 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
5871 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
5872 immediately before tail-call.
5873 * sysdeps/i386/setjmp.S: Likewise.
5874 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5875 * sysdeps/i386/bsd-setjmp.S: Likewise.
5876
5877 2000-06-29 Jakub Jelinek <jakub@redhat.com>
5878
5879 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
5880 versioned_symbol.
5881 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
5882 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
5883 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
5884 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5885 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
5886 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
5887 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
5888 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
5889
5890 2000-06-29 Ulrich Drepper <drepper@redhat.com>
5891
5892 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
5893 we later need to calling free().
5894 Patch by Matt Wilson <msw@redhat.com>.
5895
5896 * stdio-common/tst-printf.c: Add test for above problem.
5897
5898 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
5899
5900 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
5901 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
5902
5903 2000-06-28 Jes Sorensen <jes@linuxcare.com>
5904
5905 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
5906 prototype for abs().
5907 * sysdeps/ieee754/flt-32/s_exp2f.c: Likewise.
5908
5909 2000-06-23 Andreas Jaeger <aj@suse.de>
5910
5911 * config.h.in: Don't use regparm with bounded pointers.
5912
5913 2000-06-29 Ulrich Drepper <drepper@redhat.com>
5914
5915 * stdlib/grouping.h: Correctly handle multibyte thousands
5916 separator and decimal point.
5917 * stdlib/stdtod.c: Likewise.
5918 * sysdeps/generic/strtol.c: Likewise.
5919
5920 * locale/categories.def: Add entries for wide character decimal point
5921 and thousands separator in numeric and monetary category.
5922
5923 2000-06-28 Ulrich Drepper <drepper@redhat.com>
5924
5925 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
5926 second definition and initialization of decimal.
5927
5928 2000-06-28 Greg McGary <greg@mcgary.org>
5929
5930 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
5931 out.
5932 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
5933 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
5934 in.
5935 (_IO_JUMPS): Don't cast THIS--expect arg to be a
5936 (struct _IO_FILE_plus *).
5937 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
5938 THIS, since _IO_JUMPS no longer does it implicitly.
5939 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
5940 arg type as (struct _IO_FILE_plus *).
5941 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
5942 arg as (_IO_strfile *).
5943 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
5944 Declare 1st arg as (_IO_strfile *).
5945 * libio/fileops.c (_IO_new_file_init): Declare
5946 arg type as (struct _IO_FILE_plus *).
5947 * libio/oldfileops.c (_IO_old_file_init): Likewise.
5948 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
5949 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
5950 Declare iteration pointer as (struct _IO_FILE_plus *).
5951 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
5952 (struct _IO_FILE_plus *).
5953 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
5954 * libio/oldstdfiles.c (_IO_list_all): Likewise.
5955 (_IO_check_libio): Set user-visible handles to
5956 (struct _IO_FILE_plus *).
5957 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
5958 to (struct _IO_FILE_plus *).
5959
5960 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
5961 whose high bound includes vtable to all functions that will use
5962 vtable. For streambufs, pass pointer whose bounds include struct
5963 _IO_strfile.
5964 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
5965 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5966 * libio/iofopen.c (_IO_new_fopen): Likewise.
5967 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5968 * libio/iofopen64.c (_IO_fopen64): Likewise.
5969 * libio/iopopen.c (_IO_new_popen): Likewise.
5970 * libio/oldiopopen.c (_IO_old_popen): Likewise.
5971 * libio/memstream.c (open_memstream): Likewise.
5972 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
5973 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
5974 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
5975 * libio/iofopncook.c (_IO_cookie_init): Likewise.
5976 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
5977 * libio/vasprintf.c (_IO_vasprintf): Likewise.
5978 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
5979 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
5980 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
5981 * stdlib/strfmon.c (__strfmon_l): Likewise.
5982 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
5983 (vfprintf): Qualify computed-goto targets as unbounded.
5984
5985 2000-06-28 Ulrich Drepper <drepper@redhat.com>
5986
5987 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
5988 thousands separator correctly.
5989
5990 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
5991 * stdio-common/vfwscanf.c: Likewise.
5992
5993 2000-06-27 Jes Sorensen <jes@linuxcare.com>
5994
5995 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
5996 count into signatures for most calls.
5997
5998 2000-06-28 Ulrich Drepper <drepper@redhat.com>
5999
6000 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
6001 the generic parser now.
6002
6003 2000-06-28 Jes Sorensen <jes@linuxcare.com>
6004
6005 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
6006 table entries are 32 bit on the ia64 (as specified by the ABI),
6007 not 64 bit as on the Alpha.
6008
6009 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
6010 change of objects to use 32 bit hash table indices (see above).
6011
6012 2000-06-28 Jes Sorensen <jes@linuxcare.com>
6013
6014 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
6015 prototype for abs().
6016
6017 2000-06-28 Wolfram Gloger <wg@malloc.de>
6018
6019 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
6020 fails, try mmap_chunk() as a last resort even though n_mmaps_max
6021 may have been reached.
6022
6023 2000-06-28 Ulrich Drepper <drepper@redhat.com>
6024
6025 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
6026 symbols in multi-character weights correctly.
6027
6028 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
6029 depending on whether the input string is empty or not.
6030
6031 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
6032 given state and not avoiding this by modifying a local object.
6033 * wcsmbs/wcrtomb.c: Likewise.
6034
6035 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
6036 object since some incomplete characters might be in there.
6037
6038 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
6039 sequences with first byte 0x8e correctly.
6040
6041 * iconvdata/jis0208.h: Remove redundant test.
6042
6043 2000-06-27 Ulrich Drepper <drepper@redhat.com>
6044
6045 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
6046 Add it where it is needed now.
6047
6048 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
6049 the input charset into account when generating the hash table.
6050 (allocate_arrays): Correct setting default width. Not all empty slots
6051 in the table are filled, only those not covert explicitly by the
6052 locale description and in the charset.
6053
6054 * wctype/towctrans.c (__towctrans): Be graceful and accept error
6055 return values from the wctrans function.
6056
6057 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
6058 wide character version.
6059 For %C handling, test correct pointer variable for NULL.
6060
6061 * wcsmbs/wctob.c: Handle WEOF special.
6062
6063 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
6064
6065 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
6066 always-true test to avoid warning.
6067
6068 2000-06-27 Greg McGary <greg@mcgary.org>
6069
6070 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
6071 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
6072 (symbol_version, default_symbol_version): Factor redundant
6073 definitions out of conditional.
6074
6075 2000-06-27 Jakub Jelinek <jakub@redhat.com>
6076
6077 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
6078 not obstack_blank.
6079
6080 2000-06-26 Ulrich Drepper <drepper@redhat.com>
6081
6082 * include/libc-symbols.h (symbol_version): Add extra level of
6083 macro expansion.
6084 (default_symbol_version): Likewise.
6085
6086 2000-06-26 Greg McGary <greg@mcgary.org>
6087
6088 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
6089 for BP return value & push implicit struct-return pointer to
6090 __errno_location.
6091 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6092 (SYSCALL_ERROR_HANDLER): Likewise.
6093 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
6094 (SYSCALL_ERROR_HANDLER): Likewise.
6095
6096 * Makeconfig: Add missing comment.
6097 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
6098 BP-flavored startup object.
6099 ($(objpfx)b$(start-installed-name)): New rule.
6100 * include/libc-symbols.h (symbol_set_declare): Change type
6101 of `__start_##set' and `__stop_##set' to pointer-to-function.
6102 (symbol_set_declare): Change type of `set' to array of
6103 pointer-to-function.
6104 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
6105 pointer-to-function.
6106
6107 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
6108
6109 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
6110 Remove clock_* and timer_* entries.
6111 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
6112 arg-count with signatures.
6113
6114 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
6115 Check bounds of arguments.
6116 * sysdeps/i386/addmul_1.S: Likewise.
6117 * sysdeps/i386/lshift.S: Likewise.
6118 * sysdeps/i386/mul_1.S: Likewise.
6119 * sysdeps/i386/rshift.S: Likewise.
6120 * sysdeps/i386/sub_n.S: Likewise.
6121 * sysdeps/i386/submul_1.S: Likewise.
6122 * sysdeps/i386/i586/add_n.S: Likewise.
6123 * sysdeps/i386/i586/addmul_1.S: Likewise.
6124 * sysdeps/i386/i586/lshift.S: Likewise.
6125 * sysdeps/i386/i586/rshift.S: Likewise.
6126 * sysdeps/i386/i586/sub_n.S: Likewise.
6127 * sysdeps/i386/i686/add_n.S: Likewise.
6128
6129 * sysdeps/i386/memchr.S: Likewise.
6130 * sysdeps/i386/memcmp.S: Likewise.
6131 * sysdeps/i386/rawmemchr.S: Likewise.
6132 * sysdeps/i386/i586/bzero.S: Likewise.
6133 * sysdeps/i386/i586/memcpy.S: Likewise.
6134 * sysdeps/i386/i586/mempcpy.S: Likewise.
6135 * sysdeps/i386/i586/memset.S: Likewise.
6136 * sysdeps/i386/i686/bzero.S: Likewise.
6137 * sysdeps/i386/i686/memcpy.S: Likewise.
6138 * sysdeps/i386/i686/mempcpy.S: Likewise.
6139 * sysdeps/i386/i686/memset.S: Likewise.
6140
6141 * sysdeps/i386/stpcpy.S: Likewise.
6142 * sysdeps/i386/stpncpy.S: Likewise.
6143 * sysdeps/i386/strchr.S: Likewise.
6144 * sysdeps/i386/strchrnul.S: Likewise.
6145 * sysdeps/i386/strcspn.S: Likewise.
6146 * sysdeps/i386/strpbrk.S: Likewise.
6147 * sysdeps/i386/strrchr.S: Likewise.
6148 * sysdeps/i386/strspn.S: Likewise.
6149 * sysdeps/i386/strtok.S: Likewise.
6150 * sysdeps/i386/strtok_r.S: Likewise.
6151 * sysdeps/i386/i486/strcat.S: Likewise.
6152 * sysdeps/i386/i486/strlen.S: Likewise.
6153 * sysdeps/i386/i586/strchr.S: Likewise.
6154 * sysdeps/i386/i586/strcpy.S: Likewise.
6155 * sysdeps/i386/i586/strlen.S: Likewise.
6156 * sysdeps/i386/i686/strcmp.S: Likewise.
6157 * sysdeps/i386/i686/strtok.S: Likewise.
6158 * sysdeps/i386/i686/strtok_r.S: Likewise.
6159
6160 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
6161 * sysdeps/i386/fpu/fesetenv.c: Likewise.
6162 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
6163 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
6164 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
6165
6166 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
6167 * sysdeps/i386/mul_1.S: Likewise.
6168 * sysdeps/i386/submul_1.S: Likewise.
6169 * sysdeps/i386/i586/add_n.S: Likewise.
6170 * sysdeps/i386/i586/addmul_1.S: Likewise.
6171 * sysdeps/i386/i586/lshift.S: Likewise.
6172 * sysdeps/i386/i586/mul_1.S: Likewise.
6173 * sysdeps/i386/i586/rshift.S: Likewise.
6174 * sysdeps/i386/i586/sub_n.S: Likewise.
6175 * sysdeps/i386/i586/submul_1.S: Likewise.
6176
6177 2000-06-26 Ulrich Drepper <drepper@redhat.com>
6178
6179 * rt/Makefile (librt-routines): Add clock_nanosleep.
6180 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
6181 * sysdeps/generic/clock_nanosleep.c: New file.
6182 * sysdeps/unix/clock_nanosleep.c: New file.
6183 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
6184 * time/time.h: Declare clock_nanosleep.
6185
6186 2000-06-26 Greg McGary <greg@mcgary.org>
6187
6188 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
6189 INSN1, INSN2, TEXT, GLOBL): Remove macros.
6190 (ALIGN): Cleanup surrounding conditionals.
6191
6192 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
6193 Call ENTER/LEAVE macros.
6194 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
6195 * sysdeps/i386/submul_1.S: Likewise.
6196
6197 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
6198 syntax. Define & use symbolic argument stack offsets. Call
6199 ENTER/LEAVE macros.
6200 * sysdeps/i386/i586/mul_1.S: Likewise.
6201 * sysdeps/i386/i586/submul_1.S: Likewise.
6202
6203 2000-06-25 Greg McGary <greg@mcgary.org>
6204
6205 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
6206 not as bcopy.
6207
6208 2000-06-25 Ulrich Drepper <drepper@redhat.com>
6209
6210 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
6211 * iconvdata/gen-8bit-gap.sh: Likewise.
6212 * iconvdata/gen-8bit.sh: Likewise.
6213
6214 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
6215
6216 * locale/programs/ld-collate.c (collate_read): Don't actually read
6217 the copy locale if we are ignoring the content.
6218
6219 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
6220 unknown character.
6221
6222 * locale/programs/ld-collate.c: Correct handling of different
6223 collation sections.
6224 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
6225 as extra parameter from which to copy category information.
6226 Change all callers.
6227 (load_locale): Likewise.
6228 * locale/programs/localedef.h: Update prototypes of add_to_readlist
6229 and load_locale.
6230 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
6231 * locale/programs/locfile.h: Likewise.
6232 * locale/programs/locfile-kw.gperf: Add entry for script.
6233 * locale/programs/locfile-token.h: Add tok_script.
6234
6235 * locale/programs/locale.c: Update copyright year.
6236 * locale/programs/localedef.c: Likewise.
6237
6238 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
6239
6240 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
6241 Jens Moeller <jens.moeller@waii.com>.
6242
6243 2000-06-24 Ulrich Drepper <drepper@redhat.com>
6244
6245 * locale/programs/ld-name.c (name_finish): Add missing format
6246 specifier to test for name_fmt.
6247
6248 * locale/programs/ld-address.c (iso639): Correct length of string
6249 elements.
6250 (iso3166): Likewise.
6251
6252 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
6253
6254 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
6255 Define.
6256
6257 * elf/elf.h (NT_PRFPXREG): Define.
6258
6259 2000-06-23 Ulrich Drepper <drepper@redhat.com>
6260
6261 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
6262 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
6263
6264 2000-06-23 Andreas Schwab <schwab@suse.de>
6265
6266 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
6267 with signatures.
6268
6269 2000-06-23 Andreas Jaeger <aj@suse.de>
6270
6271 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
6272
6273 * io/test-stat.c: Add copyright header, mention Maciej.
6274
6275 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
6276 SYS_mincore, SYS_madvise): Added.
6277
6278 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
6279 execve.
6280
6281 2000-06-22 Ulrich Drepper <drepper@redhat.com>
6282
6283 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
6284 (CFLAGS-tst_putwc.c): New definition.
6285 * libio/tst_getwc.c: New file.
6286 * libio/tst_getwc.input: New file.
6287 * libio/tst_putwc.c: New file.
6288
6289 * include/string.h: Add prototype for __strdup.
6290
6291 2000-06-22 Greg McGary <greg@mcgary.org>
6292
6293 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
6294 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
6295 Fix signatures.
6296
6297 2000-06-23 Jes Sorensen <jes@linuxcare.com>
6298
6299 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
6300
6301 2000-06-22 Jes Sorensen <jes@linuxcare.com>
6302
6303 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
6304
6305 2000-06-22 Jes Sorensen <jes@linuxcare.com>
6306
6307 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
6308 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
6309
6310 2000-06-22 Ulrich Drepper <drepper@redhat.com>
6311
6312 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
6313 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
6314 and __S_TYPEISSHM.
6315 * sysdeps/mach/hurd/bits/stat.h: Likewise.
6316 * sysdeps/unix/bsd/bits/stat.h: Likewise.
6317 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
6318 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6319 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
6320 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
6321 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
6322 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
6323 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
6324 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
6325 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
6326 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
6327 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
6328 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
6329 S_TYPEISSHM.
6330
6331 2000-06-22 Andreas Jaeger <aj@suse.de>
6332
6333 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
6334 with signatures.
6335
6336 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
6337
6338 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
6339
6340 2000-06-21 Ulrich Drepper <drepper@redhat.com>
6341
6342 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
6343 ahead.
6344
6345 2000-06-21 Greg McGary <greg@mcgary.org>
6346
6347 * Makerules (elide-routines.*, elide-bp-thunks):
6348 Define unconditionally.
6349
6350 2000-06-21 Jes Sorensen <jes@linuxcare.com>
6351
6352 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
6353
6354 2000-06-21 Andreas Jaeger <aj@suse.de>
6355
6356 * io/Makefile (tests): Add test-stat.
6357 (CFLAGS-test-stat.c): New.
6358
6359 * io/test-stat.c: New file from Maciej W. Rozycki
6360 <macro@ds2.pg.gda.pl>.
6361
6362 2000-06-21 Jes Sorensen <jes@linuxcare.com>
6363
6364 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
6365 in __rlimit_resource to make them match the kernel order.
6366 rlim_t is always 64 bit, use __rlim64_t to declare it
6367 unconditionally.
6368
6369 2000-05-04 Jes Sorensen <jes@linuxcare.com>
6370
6371 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
6372 RLIM_INFINITY before defining it to avoid clash with kernel header
6373
6374 2000-05-03 Jes Sorensen <jes@linuxcare.com>
6375
6376 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
6377
6378 2000-06-21 Ulrich Drepper <drepper@redhat.com>
6379
6380 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
6381
6382 2000-06-21 Andreas Jaeger <aj@suse.de>
6383
6384 * stdio-common/temptest.c: Include <stdlib.h>.
6385 * stdio-common/tst-fileno.c: Likewise.
6386 * stdio-common/scanf4.c: Likewise.
6387 * stdio-common/scanf5.c: Likewise.
6388 * time/clocktest.c: Likewise.
6389 * posix/test-vfork.c: Likewise.
6390 * posix/globtest.c: Likewise.
6391 * io/test-utime.c: Likewise.
6392 * wctype/test_wcfuncs.c: Likewise.
6393 * crypt/cert.c: Likewise.
6394
6395 * stdio-common/tst-printfsz.c: Include <string.h>.
6396 * libio/tst_swscanf.c: Likewise.
6397 * libio/tst_wscanf.c: Likewise.
6398 * posix/runtests.c: Likewise.
6399 * posix/tst-getaddrinfo.c: Likewise.
6400 * posix/wordexp-test.c: Likewise.
6401 * misc/tst-efgcvt.c: Likewise.
6402
6403 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
6404 * nss/test-netdb.c: Likewise.
6405
6406 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
6407 supported kernel for MIPS.
6408
6409 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
6410 * rt/aio_suspend.c: Likewise.
6411
6412 2000-06-20 Ulrich Drepper <drepper@redhat.com>
6413
6414 * math/libm-test.inc: Include <string.h>.
6415
6416 2000-06-20 Jes Sorensen <jes@linuxcare.com>
6417
6418 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
6419
6420 2000-06-20 Jes Sorensen <jes@linuxcare.com>
6421
6422 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
6423 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
6424
6425 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
6426
6427 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
6428
6429 2000-06-20 Jes Sorensen <jes@linuxcare.com>
6430
6431 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
6432
6433 2000-06-20 Ulrich Drepper <drepper@redhat.com>
6434
6435 * locale/programs/ld-collate.c (insert_value): Now take string and
6436 length instead of struct token* parameter. Adjust use of token.
6437 (handle_ellipsis): Likewise.
6438 (collate_read): Allow <Uxxxx> names and transform them into names
6439 to be passed to insert_value and handle_ellipsis.
6440
6441 * locale/programs/ld-ctype.c (uninames): New array with names of
6442 digits in <Uxxxxxxxx> format.
6443 (ctype_finish): Correct search for space character value. Likewise
6444 for default outdigits values.
6445
6446 2000-06-20 Greg McGary <greg@mcgary.org>
6447
6448 * Makerules (objects): Add BP thunks.
6449
6450 2000-06-20 Ulrich Drepper <drepper@redhat.com>
6451
6452 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
6453 in width definitions.
6454
6455 2000-06-20 Andreas Jaeger <aj@suse.de>
6456
6457 * sysdeps/mips/fpu/libm-test-ulps: New file.
6458
6459 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
6460 first.
6461
6462 * sysdeps/mips/fpu/feholdexcpt.c: New file.
6463
6464 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
6465
6466 2000-06-19 Ulrich Drepper <drepper@redhat.com>
6467
6468 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
6469 change in gconv_builtin.h.
6470
6471 * malloc/Makefile: Change all references to memprof into memusage.
6472 * malloc/memprof.c: Rename to...
6473 * malloc/memusage.c: ...this. New file.
6474 * malloc/memprof.sh: Rename to...
6475 * malloc/memusage.sh: ...this. New file.
6476 * malloc/memprofstat.c: Rename to...
6477 * malloc/memusagestat.c: ...this. New file.
6478 * sysdeps/alpha/memprof.h: Rename to..
6479 * sysdeps/alpha/memusage.h: ...this. New file.
6480 * sysdeps/arm/memprof.h: Rename to..
6481 * sysdeps/arm/memusage.h: ...this. New file.
6482 * sysdeps/generic/memprof.h: Rename to..
6483 * sysdeps/generic/memusage.h: ...this. New file.
6484 * sysdeps/i386/memprof.h: Rename to..
6485 * sysdeps/i386/memusage.h: ...this. New file.
6486 * sysdeps/ia64/memprof.h: Rename to..
6487 * sysdeps/ia64/memusage.h: ...this. New file.
6488 * sysdeps/m68k/memprof.h: Rename to..
6489 * sysdeps/m68k/memusage.h: ...this. New file.
6490 * sysdeps/mips/memprof.h: Rename to..
6491 * sysdeps/mips/memusage.h: ...this. New file.
6492 * sysdeps/powerpc/memprof.h: Rename to..
6493 * sysdeps/powerpc/memusage.h: ...this. New file.
6494 * sysdeps/sparc/memprof.h: Rename to..
6495 * sysdeps/sparc/memusage.h: ...this. New file.
6496 * sysdeps/sh/memprof.h: Rename to..
6497 * sysdeps/sh/memusage.h: ...this. New file.
6498
6499 * elf/sprof.c (print_version): Update year.
6500
6501 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
6502 table entry values. Use D_PTR.
6503 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
6504 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
6505
6506 2000-06-20 Jes Sorensen <jes@linuxcare.com>
6507
6508 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
6509 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
6510 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
6511 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
6512
6513 2000-05-05 Jes Sorensen <jes@linuxcare.com>
6514
6515 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
6516
6517 2000-06-16 Jes Sorensen <jes@linuxcare.com>
6518
6519 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
6520 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
6521 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
6522
6523 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
6524
6525 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
6526 kernel change.
6527
6528 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
6529 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
6530 structure.
6531 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
6532 implementation.
6533
6534 2000-06-15 Jes Sorensen <jes@linuxcare.com>
6535
6536 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
6537
6538 2000-06-08 Jes Sorensen <jes@linuxcare.com>
6539
6540 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
6541
6542 2000-06-19 Ulrich Drepper <drepper@redhat.com>
6543
6544 * iconv/gconv_int.h (strict gconv_module): Remove all members
6545 associated with regular expressions. Use a simple string as the
6546 from name.
6547 * iconv/gconv_db.c: Remove code handling regular expressions.
6548 * iconv/gconv_conf.c: Likewise.
6549 * iconv/iconv_prog.c: Likewise.
6550 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
6551
6552 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
6553 General namespace cleanup.
6554 (struct __gconv_trans_data): Add next field.
6555 (struct __gconv_step_data): Make __trans a pointer.
6556 * iconv/gconv_conf.c: Split out code to find gconv directories from
6557 __gconv_read_conf in new functions.
6558 * iconv/gconv_int.h: Define new data structure and declare new
6559 functions for handling of gconv directory list.
6560 * iconv/gconv_open.c: Allow more than one error handling step being
6561 used. Call function to load error handling module if it is none
6562 of the builtin transformations.
6563 * iconv/gconv_close.c: Add code to free transliteration data.
6564 * iconv/gconv_trans.c: Add functions to load and unload modules
6565 implementing transliteration etc.
6566 * iconv/skeleton.c: Call all context functions now that more than
6567 one module is allowed.
6568 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
6569 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
6570 where the full error handling using transliteration is needed.
6571 * iconvdata/8bit-gap.c: Likewise.
6572 * iconvdata/8bit-generic.c: Likewise.
6573 * iconvdata/ansi_x3.110.c: Likewise.
6574 * iconvdata/big5.c: Likewise.
6575 * iconvdata/big5hkscs.c: Likewise.
6576 * iconvdata/euc-cn.c: Likewise.
6577 * iconvdata/euc-jp.c: Likewise.
6578 * iconvdata/euc-kr.c: Likewise.
6579 * iconvdata/euc-tw.c: Likewise.
6580 * iconvdata/gbgbk.c: Likewise.
6581 * iconvdata/gbk.c: Likewise.
6582 * iconvdata/iso-2022-cn.c: Likewise.
6583 * iconvdata/iso-2022-jp.c: Likewise.
6584 * iconvdata/iso-2022-kr.c: Likewise.
6585 * iconvdata/iso646.c: Likewise.
6586 * iconvdata/iso8859-1.c: Likewise.
6587 * iconvdata/iso_6937-2.c: Likewise.
6588 * iconvdata/iso_6937.c: Likewise.
6589 * iconvdata/johab.c: Likewise.
6590 * iconvdata/sjis.c: Likewise.
6591 * iconvdata/t.61.c: Likewise.
6592 * iconvdata/uhc.c: Likewise.
6593 * iconvdata/unicode.c: Likewise.
6594 * iconvdata/utf-16.c: Likewise.
6595 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
6596 structure correctly after last change.
6597 * wcsmbs/btowc.c: Likewise.
6598 * wcsmbs/mbrtowc.c: Likewise.
6599 * wcsmbs/mbsnrtowcs.c: Likewise.
6600 * wcsmbs/mbsrtowcs.c: Likewise.
6601 * wcsmbs/wcrtomb.c: Likewise.
6602 * wcsmbs/wcsnrtombs.c: Likewise.
6603 * wcsmbs/wcsrtombs.c: Likewise.
6604 * wcsmbs/wctob.c: Likewise.
6605
6606 * localedata/Makefile: Set -Wno-format for some files since gcc does
6607 not know all the format specifiers.
6608
6609 2000-06-18 Ulrich Drepper <drepper@redhat.com>
6610
6611 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
6612 unneeded code.
6613 * locale/lc-time.c (_nl_init_era_entries): Likewise.
6614
6615 2000-06-18 Andreas Jaeger <aj@suse.de>
6616
6617 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
6618 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
6619
6620 2000-06-17 Ulrich Drepper <drepper@redhat.com>
6621
6622 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
6623 LINUX_LINK_MAX.
6624 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
6625
6626 * locale/programs/ld-ctype.c (ctype_output): Really write out
6627 mboutdigits information.
6628 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
6629 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
6630 * localedata/tests/trans.def: Add outdigit information.
6631
6632 * localedata/tst-mbswcs3.c: Remove comment.
6633
6634 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
6635 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
6636 * libio/tst_wprintf.c (main): Add test for I flag.
6637
6638 * iconv/gconv_trans.c: Implement handling if translit_ignore.
6639 * locale/langinfo.h: Add entries for translit_ignore information.
6640 * locale/categories.def: Add entries for new LC_CTYPE elements.
6641 * locale/C-ctype.c: Add initializers for new fields. Use NULL
6642 pointer instead of "" where possible.
6643 * locale/programs/ld-ctype.c: Write out translit_ignore information.
6644 * intl/Depend: Add localedata.
6645 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
6646 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
6647
6648 2000-06-16 Ulrich Drepper <drepper@redhat.com>
6649
6650 * locale/langinfo.h: Add entries for default_missing information.
6651 * locale/C-ctype.c: Add initializers for new fields.
6652 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
6653 information.
6654 * locale/categories.h: Add entries for all LC_CTYPE values.
6655 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
6656 information.
6657
6658 * localedata/tst-trans.c: Write out an error message if class is
6659 not found.
6660
6661 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
6662 * iconv/gconv_open.c: Remove error handling specification from `from'
6663 character set name.
6664 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
6665 new parameter to always enable transliteration.
6666 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
6667 change.
6668 (struct locale_data): Add new members use_translit and options.
6669 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
6670 character set name contained modifier TRANSLIT.
6671 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
6672 and options fields.
6673 (_nl_unload_locale): Free options string if necessary.
6674 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
6675 the locale names suggested this.
6676 * locale/C-address.c: Add two new initialilzers to adjust data
6677 structure for new format.
6678 * locale/C-collate.c: Likewise.
6679 * locale/C-ctype.c: Likewise.
6680 * locale/C-identification.c: Likewise.
6681 * locale/C-measurement.c: Likewise.
6682 * locale/C-messages.c: Likewise.
6683 * locale/C-monetary.c: Likewise.
6684 * locale/C-name.c: Likewise.
6685 * locale/C-numeric.c: Likewise.
6686 * locale/C-paper.c: Likewise.
6687 * locale/C-telephone.c: Likewise.
6688 * locale/C-time.c: Likewise.
6689
6690 * locale/setlocale.c: Add some more __builtin_expect.
6691
6692 2000-06-15 Ulrich Drepper <drepper@redhat.com>
6693
6694 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
6695 unsigned char **.
6696 (__gconv_init_fct): Remove two parameters.
6697 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
6698 gconv_transliterate. Remove two parameters.
6699 Change prototypes of builtin functions according to __gconv_fct change.
6700 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
6701 != NULL only during error handling. Stop in this case after the
6702 conversion.
6703 * iconv/gconv_trans.c: Replace with real implementation for
6704 __gconv_transliterate.
6705 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
6706 * iconv/gconv.c: Change calls to downstream functions once again.
6707 Use NULL for the fifth parameter instead of pointer to output buffer.
6708 * libio/iofwide.c: Likewise.
6709 * wcsmbs/btowc.c: Likewise.
6710 * wcsmbs/mbrtowc.c: Likewise.
6711 * wcsmbs/mbsnrtowcs.c: Likewise.
6712 * wcsmbs/mbsrtowcs.c: Likewise.
6713 * wcsmbs/wcrtomb.c: Likewise.
6714 * wcsmbs/wcsnrtombs.c: Likewise.
6715 * wcsmbs/wcsrtombs.c: Likewise.
6716 * wcsmbs/wctob.c: Likewise.
6717 * iconv/gconv_simple.c: Remove two parameters from error handling
6718 function call.
6719 * iconvdata/8bit-gap.c: Likewise.
6720 * iconvdata/8bit-generic.c: Likewise.
6721 * iconvdata/ansi_x3.110.c: Likewise.
6722 * iconvdata/big5.c: Likewise.
6723 * iconvdata/big5hkscs.c: Likewise.
6724 * iconvdata/euc-cn.c: Likewise.
6725 * iconvdata/euc-jp.c: Likewise.
6726 * iconvdata/euc-kr.c: Likewise.
6727 * iconvdata/euc-tw.c: Likewise.
6728 * iconvdata/gbgbk.c: Likewise.
6729 * iconvdata/gbk.c: Likewise.
6730 * iconvdata/iso-2022-cn.c: Likewise.
6731 * iconvdata/iso-2022-jp.c: Likewise.
6732 * iconvdata/iso-2022-kr.c: Likewise.
6733 * iconvdata/iso646.c: Likewise.
6734 * iconvdata/iso8859-1.c: Likewise.
6735 * iconvdata/iso_6937-2.c: Likewise.
6736 * iconvdata/iso_6937.c: Likewise.
6737 * iconvdata/johab.c: Likewise.
6738 * iconvdata/sjis.c: Likewise.
6739 * iconvdata/t.61.c: Likewise.
6740 * iconvdata/uhc.c: Likewise.
6741 * iconvdata/unicode.c: Likewise.
6742 * iconvdata/utf-16.c: Likewise.
6743
6744 2000-06-15 Greg McGary <greg@mcgary.org>
6745
6746 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
6747 of callnum assignment. Tolerate callnum expressions containing
6748 parens.
6749
6750 2000-06-14 Ulrich Drepper <drepper@redhat.com>
6751
6752 * login/Makefile (utmpd): Remove rule to build utmpd.
6753
6754 * csu/Versions: Move libgcc frame handling functions from here...
6755 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
6756 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
6757 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
6758 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
6759 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
6760 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
6761 New file.
6762 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
6763
6764 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
6765
6766 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
6767
6768 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
6769
6770 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
6771 compatibility.
6772 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
6773 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
6774 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
6775 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
6776
6777 2000-06-14 Jakub Jelinek <jakub@redhat.com>
6778
6779 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
6780 defined, terminate quotes and read them after the comment char.
6781 * configure.in (HAVE_SECTION_QUOTES): Test whether
6782 __attribute__((section ("x"))) puts quotes around x or not.
6783 * config.h.in (HAVE_SECTION_QUOTES): Add.
6784 * configure: Rebuilt.
6785
6786 2000-06-14 Andreas Jaeger <aj@suse.de>
6787
6788 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
6789 depending on the configure option --sysconfdir.
6790 Closes PR libc/1762.
6791 Patch by Andreas Schwab <schwab@suse.de>.
6792
6793 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
6794 entry point.
6795 Reported by Jim Pick <jim@jimpick.com>.
6796
6797 2000-06-14 Ulrich Drepper <drepper@redhat.com>
6798
6799 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
6800 crashing the application. Emit some simple error message.
6801 Reported by mju@panasas.com [PR libc/1769].
6802
6803 2000-06-13 Ulrich Drepper <drepper@redhat.com>
6804
6805 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
6806
6807 * crypt/Makefile (distribute): Add md5.h.
6808
6809 * Makefile (distribute): Add include/shlib-compat.h.
6810
6811 * Make-dist: Search for tests also in sysdeps hierachy.
6812
6813 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
6814 ufc.c, speeds.c, README.ufc-crypt, and Banner.
6815
6816 * sysdeps/sparc/Subdirs: New file.
6817
6818 * locale/Makefile (distribute): Add weightwc.h and
6819 programs/localedef.h.
6820
6821 * time/Makefile (distribute): Add datemsk.
6822
6823 * sysdeps/ia64/Dist: Add softpipe.h.
6824
6825 * sysdeps/unix/sysv/aix/Dist: New file.
6826
6827 * posix/setpgrp.c: Moved to...
6828 * sysdeps/generic/setpgrp.c: ...here. New file.
6829 * io/mknod.c: Moved to...
6830 * sysdeps/generic/mknod.c: ...here. New file.
6831
6832 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
6833
6834 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
6835
6836 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
6837
6838 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
6839 gprsave0.S, gprrest1.S, and gprrest0.S.
6840
6841 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
6842
6843 * posix/Makefile (routines): Add spawnattr_getsigmask,
6844 spawnattr_getschedpolicy, spawnattr_getschedparam,
6845 spawnattr_setsigmask, spawnattr_setschedpolicy, and
6846 spawnattr_setschedparam.
6847 * posix/Versions: Add posix_spawnattr_getschedpolicy,
6848 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
6849 posix_spawnattr_setschedparam.
6850
6851 * posix/spawnattr_setschedparam.c: Fix typo.
6852
6853 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
6854 Correct typo.
6855
6856 * login/programs/utmpd.c: Removed.
6857 * login/programs/utmpd.h: Removed.
6858 * login/programs/utmpd-private.h: Removed.
6859
6860 * Makefile (distribute): Add include/db_185.h and include/db.h.
6861
6862 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
6863 iso-ir-165.h.
6864
6865 * elf/Makefile (distribute): Add missing files.
6866
6867 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
6868 * elf/eval.c: Moved to...
6869 * dlfcn/eval.c: ...here. New file.
6870
6871 * Makefile (distribute): Also distribute ChangeLog.1?.
6872
6873 * Make-dist (+tsrcs): Remove .args handling here as well.
6874
6875 * rt/Makefile (tests): Add tst-timer.
6876 * sysdeps/generic/tst-timer.c: New file.
6877
6878 * Makerules (sources): Don't add BP sources here.
6879
6880 * login/Makefile (distribute): Remove xtmp.h.
6881
6882 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
6883 is true. Reported by Bruno Haible <haible@ilog.fr>.
6884
6885 2000-06-13 Andreas Jaeger <aj@suse.de>
6886
6887 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
6888 Patch by Ralf Baechle <ralf@gnu.org>.
6889
6890 2000-06-13 Ulrich Drepper <drepper@redhat.com>
6891
6892 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
6893 for mincore syscall.
6894
6895 * misc/sys/cdefs.h: Define __bounded and __unbounded if
6896 __BOUNDED_POINTERS__ is not defined.
6897
6898 2000-06-07 Greg McGary <greg@mcgary.org>
6899
6900 * sysdeps/generic/bp-sym.h: New file.
6901 * sysdeps/generic/bp-start.h: New file.
6902 * sysdeps/i386/elf/start.S: Designate BP symbols.
6903 * sysdeps/generic/libc-start.c: Wrap bounds around
6904 argv & envp and each of their string members.
6905
6906 2000-06-07 Greg McGary <greg@mcgary.org>
6907
6908 * sysdeps/unix/make-syscalls.sh: Add comments to
6909 output that aid debugging & comprehension.
6910 Map simple syscall signatures to number of args.
6911 Generate BP syscall thunk definitions.
6912 * sysdeps/generic/bp-thunks.h: New file.
6913 * sysdeps/unix/syscalls.list: Replace arg-count with
6914 simple return+arg signature.
6915 * sysdeps/unix/common/syscalls.list: Likewise.
6916 * sysdeps/unix/inet/syscalls.list: Likewise.
6917 * sysdeps/unix/mman/syscalls.list: Likewise.
6918 * sysdeps/unix/sysv/syscalls.list: Likewise.
6919 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6920 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
6921
6922 2000-06-07 Greg McGary <greg@mcgary.org>
6923
6924 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
6925 for all files *.[cS].
6926 (CFLAGS-.ob): Don't optimize sibling calls.
6927 (bppfx): New variable.
6928 * Makerules (elide-bp-thunks): New variable.
6929 (elide-routines.*): Elide BP-* files for all but *.ob.
6930 (sources): Include bp-thunks.
6931
6932 2000-06-12 Ulrich Drepper <drepper@redhat.com>
6933
6934 * iconv/gconv_simple.c: Remove unnecessary prototype.
6935
6936 * iconv/gconv_trans.c: Pretty print.
6937
6938 * elf/elf.h (R_SH_NUM): Got accidently dropped.
6939
6940 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
6941 minimal kernel versions. Add information about IA-64 kernel.
6942
6943 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
6944 specific minimal supported kernel versions to be specified.
6945
6946 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
6947 step data structure.
6948 * wcsmbs/btowc.c: Likewise.
6949 * wcsmbs/mbrtowc.c: Likewise.
6950 * wcsmbs/mbsnrtowcs.c: Likewise.
6951 * wcsmbs/mbsrtowcs.c: Likewise.
6952 * wcsmbs/wcrtomb.c: Likewise.
6953 * wcsmbs/wcsnrtombs.c: Likewise.
6954 * wcsmbs/wcsrtombs.c: Likewise.
6955 * wcsmbs/wctob.c: Likewise.
6956
6957 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
6958 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
6959
6960 * shlib-versions: Earliest backward compatible version for SH is 2.2.
6961
6962 * misc/sys/cdefs.h: Remove one more __P.
6963
6964 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
6965 Reported by HJ Lu.
6966
6967 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
6968 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
6969 * sysdeps/sh/bits/setjmp.h: ...here. New file.
6970
6971 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
6972 Yutaka Niibe <gniibe@chroot.org>
6973
6974 * configure.in: Add machine sh3, sh4.
6975 * elf/elf.h: Add SH specific declarations of relocations.
6976 * shlib-versions: Add sh*-*-linux* cases.
6977
6978 2000-06-12 Ulrich Drepper <drepper@redhat.com>
6979
6980 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
6981 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
6982 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
6983 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
6984 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
6985 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
6986
6987 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
6988 instead of KERNEL_MATH_EMULATION.
6989 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
6990 KERNEL_MATH_EMULATION.
6991
6992 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
6993 * sysdeps/sh/sh3/dl-machine.h: Moved to...
6994 * sysdeps/sh/dl-machine.h: ...here. New file.
6995 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
6996 and include generic SH version.
6997 * sysdeps/sh/sh3/bits/endian.h: Move to...
6998 * sysdeps/sh/bits/endian.h: ...here. New file.
6999 * sysdeps/sh/sh4/bits/endian.h: Removed.
7000 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
7001 * sysdeps/sh/bits/huge_val.h: ...here. New file.
7002 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
7003
7004 * include/libc-symbols.h (link_warning): Work around a change in
7005 GAS which warns about changing section attributes.
7006 Proposed by Nick Clifton <nickc@redhat.com>.
7007
7008 2000-06-12 H.J. Lu <hjl@gnu.org>
7009
7010 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
7011
7012 2000-06-11 H.J. Lu <hjl@gnu.org>
7013
7014 * sysdeps/i386/fpu/Versions: New file.
7015
7016 2000-06-12 Ulrich Drepper <drepper@redhat.com>
7017
7018 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
7019 parameters.
7020 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
7021 exists.
7022
7023 2000-06-12 Jes Sorensen <jes@linuxcare.com>
7024
7025 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
7026 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
7027 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
7028
7029 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
7030 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
7031 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
7032
7033 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
7034 Yutaka Niibe <gniibe@chroot.org>
7035
7036 * sysdeps/sh/Dist: New file.
7037 * sysdeps/sh/Implies: New file.
7038 * sysdeps/sh/elf/initfini.c: New file.
7039 * sysdeps/sh/gmp-mparam.h: New file.
7040 * sysdeps/sh/init-first.c: New file.
7041 * sysdeps/sh/machine-gmon.h: New file.
7042 * sysdeps/sh/memcpy.S: New file.
7043 * sysdeps/sh/memprof.h: New file.
7044 * sysdeps/sh/memset.S: New file.
7045 * sysdeps/sh/sh3/__longjmp.S: New file.
7046 * sysdeps/sh/sh3/bits/endian.h: New file.
7047 * sysdeps/sh/sh3/bits/huge_val.h: New file.
7048 * sysdeps/sh/sh3/bits/setjmp.h: New file.
7049 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
7050 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
7051 * sysdeps/sh/sh3/dl-machine.h: New file.
7052 * sysdeps/sh/sh3/setjmp.S: New file.
7053 * sysdeps/sh/sh4/__longjmp.S: New file.
7054 * sysdeps/sh/sh4/bits/endian.h: New file.
7055 * sysdeps/sh/sh4/bits/huge_val.h: New file.
7056 * sysdeps/sh/sh4/bits/setjmp.h: New file.
7057 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
7058 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
7059 * sysdeps/sh/sh4/dl-machine.h: New file.
7060 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
7061 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
7062 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
7063 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
7064 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
7065 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
7066 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
7067 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
7068 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
7069 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
7070 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
7071 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
7072 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
7073 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
7074 * sysdeps/sh/sh4/setjmp.S: New file.
7075 * sysdeps/sh/elf/start.S: New file.
7076 * sysdeps/sh/sys/ucontext.h: New file.
7077 * sysdeps/sh/strlen.S: New file.
7078 * sysdeps/sh/sysdep.h: New file.
7079 * sysdeps/unix/sh/sysdep.S: New file.
7080 * sysdeps/unix/sh/sysdep.h: New file.
7081 * sysdeps/unix/sysv/linux/sh/Dist: New file.
7082 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
7083 * sysdeps/unix/sysv/linux/sh/Versions: New file.
7084 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
7085 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
7086 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
7087 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
7088 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
7089 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
7090 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
7091 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
7092 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
7093 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
7094 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
7095 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
7096 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
7097 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
7098 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
7099 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
7100 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
7101 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
7102 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
7103 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
7104 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
7105 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
7106 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
7107 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
7108 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
7109 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
7110 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
7111 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
7112 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
7113 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
7114 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
7115 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
7116 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
7117 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
7118 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
7119 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
7120 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
7121 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
7122 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
7123 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
7124 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
7125 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
7126 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
7127 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
7128 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
7129 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
7130 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
7131
7132 2000-06-12 Ulrich Drepper <drepper@redhat.com>
7133
7134 * Rules (%.out): Define GCONV_PATH in the environment.
7135 * assert/Depend: New file.
7136 * iconvdata/Depend: New file.
7137 * intl/Depend: New file.
7138 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
7139 * intl/tst-gettext.sh: Likewise.
7140 * iconv/Makefile (routines): Add gconv_trans.
7141 * iconv/gconv_trans.c: New file.
7142 * iconv/gconv.h (struct __gconv_trans_data): New type.
7143 (__gconv_fct): New parameter with starting position in output buffer.
7144 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
7145 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
7146 (struct __gconv_step): Add new member __trans.
7147 * iconv/gconv_int.h: Pretty print prototypes.
7148 (gconv_transliterate): New prototype.
7149 (__BUILTIN_TRANS): Update for new conversion function interface.
7150 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
7151 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
7152 in names, find appropriate function, and install in the conversion
7153 steps it can be used.
7154 * iconv/skeleton.c: Add additional parameter for beginning of output
7155 buffer. Change calls of downstream functions.
7156 * iconv/loop.c: Change loop function interface completely. Pass in
7157 step and step_data structure. Remove optimization for BODY with
7158 NEED_LENGTH_TEST == 0.
7159 * iconv/gconv_simple.c: Update interfaces of functions. Insert
7160 appropriate error handling code to use transliteration steps. Remove
7161 optimization for BODY with NEED_LENGTH_TEST == 0.
7162 * iconvdata/8bit-gap.c: Likewise.
7163 * iconvdata/8bit-generic.c: Likewise.
7164 * iconvdata/ansi_x3.110.c: Likewise.
7165 * iconvdata/big5.c: Likewise.
7166 * iconvdata/big5hkscs.c: Likewise.
7167 * iconvdata/euc-cn.c: Likewise.
7168 * iconvdata/euc-jp.c: Likewise.
7169 * iconvdata/euc-kr.c: Likewise.
7170 * iconvdata/euc-tw.c: Likewise.
7171 * iconvdata/gbgbk.c: Likewise.
7172 * iconvdata/gbk.c: Likewise.
7173 * iconvdata/iso-2022-cn.c: Likewise.
7174 * iconvdata/iso-2022-jp.c: Likewise.
7175 * iconvdata/iso-2022-kr.c: Likewise.
7176 * iconvdata/iso646.c: Likewise.
7177 * iconvdata/iso8859-1.c: Likewise.
7178 * iconvdata/iso_6937-2.c: Likewise.
7179 * iconvdata/iso_6937.c: Likewise.
7180 * iconvdata/johab.c: Likewise.
7181 * iconvdata/sjis.c: Likewise.
7182 * iconvdata/t.61.c: Likewise.
7183 * iconvdata/uhc.c: Likewise.
7184 * iconvdata/unicode.c: Likewise.
7185 * iconvdata/utf-16.c: Likewise.
7186 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
7187 DL_CALL_FCT.
7188 * wcsmbs/btowc.c: Likewise.
7189 * wcsmbs/mbrtowc.c: Likewise.
7190 * wcsmbs/mbsnrtowcs.c: Likewise.
7191 * wcsmbs/mbsrtowcs.c: Likewise.
7192 * wcsmbs/wcrtomb.c: Likewise.
7193 * wcsmbs/wcsnrtombs.c: Likewise.
7194 * wcsmbs/wcsrtombs.c: Likewise.
7195 * wcsmbs/wctob.c: Likewise.
7196
7197 2000-04-11 Geoff Keating <geoffk@cygnus.com>
7198
7199 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
7200 other header files. Mention about 128-byte cache line sizes.
7201 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
7202 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
7203 for current calling sequence.
7204 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
7205
7206 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
7207 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7208
7209 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
7210 and setrlimit syscalls for backwards compatibility.
7211
7212 2000-06-10 Ulrich Drepper <drepper@redhat.com>
7213
7214 * iconv/skeleton.c: Rename converted written to correcter name
7215 irreversible.
7216 * iconv/gconv.c: Rename converted variable to correcter name
7217 irreversible.
7218 * iconv/gconv_int.h: Likewise.
7219 * iconv/gconv_simple.c: Likewise.
7220 * iconv/iconv.c: Likewise.
7221 * iconv/loop.c: Likewise.
7222 * iconvdata/8bit-gap.c: Likewise.
7223 * iconvdata/8bit-generic.c: Likewise.
7224 * iconvdata/ansi_x3.110.c: Likewise.
7225 * iconvdata/big5.c: Likewise.
7226 * iconvdata/big5hkscs.c: Likewise.
7227 * iconvdata/euc-cn.c: Likewise.
7228 * iconvdata/euc-jp.c: Likewise.
7229 * iconvdata/euc-kr.c: Likewise.
7230 * iconvdata/gbgbk.c: Likewise.
7231 * iconvdata/gbk.c: Likewise.
7232 * iconvdata/iso-2022-cn.c: Likewise.
7233 * iconvdata/iso-2022-jp.c: Likewise.
7234 * iconvdata/iso-2022-kr.c: Likewise.
7235 * iconvdata/iso646.c: Likewise.
7236 * iconvdata/iso8859-1.c: Likewise.
7237 * iconvdata/iso_6937-2.c: Likewise.
7238 * iconvdata/iso_6937.c: Likewise.
7239 * iconvdata/johab.c: Likewise.
7240 * iconvdata/sjis.c: Likewise.
7241 * iconvdata/t.61.c: Likewise.
7242 * iconvdata/uhc.c: Likewise.
7243 * iconvdata/unicode.c: Likewise.
7244 * iconvdata/utf-16.c: Likewise.
7245
7246 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
7247 __cmsg_data field with __extension__.
7248
7249 2000-06-10 David Mosberger <davidm@hpl.hp.com>
7250
7251 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
7252
7253 2000-06-10 Ulrich Drepper <drepper@redhat.com>
7254
7255 * iconv/gconv_simple.c: Fix various small bugs in several
7256 functions.
7257
7258 * iconv/loop.c: Fix comment.
7259
7260 2000-06-10 Jakub Jelinek <jakub@redhat.com>
7261
7262 * elf/link.h: Remove libc internal declarations.
7263 * include/link.h: Move them here.
7264
7265 2000-06-09 Ulrich Drepper <drepper@redhat.com>
7266
7267 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
7268 Patch by Dan Pop <Dan.Pop@cern.ch>.
7269
7270 Rewrite error message handling.
7271 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
7272 _dl_catch_error.
7273 * elf/dl-error (struct catch): Add objname member.
7274 (_dl_signal_error): Take new parameter with object name. When
7275 passing message on simply store object name and duplicate error
7276 message.
7277 (_dl_catch_error): Take new parameter. Store object name in the
7278 place pointed to.
7279 * include/dlfcn.h: Adjust _dl_catch_error prototype.
7280 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
7281 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
7282 (dlerror): Add objname to asprintf() parameters.
7283 (_dl_error_run): Pass new parameter to _dl_catch_error.
7284 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
7285 * elf/dl-open.c (_dl_open): Likewise.
7286 * elf/rtld.c (dl_main): Likewise.
7287 * elf/dl-close.c: Mark error messages with N_().
7288 * elf/dl-deps.c: Likewise.
7289 * elf/dl-error.c: Likewise.
7290 * elf/dl-load.c: Likewise.
7291 * elf/dl-open.c: Likewise.
7292 * elf/dl-reloc.c: Likewise.
7293 * elf/dl-support.c: Likewise.
7294 * elf/dl-sym.c: Likewise.
7295 * elf/dl-version.c: Likewise.
7296 * elf/dl-lookup.c: Add comments about problems with error message
7297 translations.
7298 * elf/dl-reloc.c: Likewise.
7299 * elf/dl-version.c: Likewise.
7300
7301 2000-06-09 H.J. Lu <hjl@gnu.org>
7302
7303 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
7304 after freeing it.
7305
7306 * dlfcn/Makefile (distribute): Add failtestmod.c.
7307 (tests): Add failtest.
7308 Add rules to build and run failtest.
7309 * dlfcn/failtest.c: New file.
7310 * dlfcn/failtestmod.c: New file.
7311
7312 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
7313
7314 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
7315 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
7316 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
7317 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
7318 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
7319
7320 2000-06-09 Jes Sorensen <jes@linuxcare.com>
7321
7322 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
7323 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
7324
7325 2000-06-09 Jes Sorensen <jes@linuxcare.com>
7326 Ulrich Drepper <drepper@redhat.com>
7327
7328 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
7329 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
7330 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
7331 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
7332 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
7333 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
7334
7335 2000-06-09 Ulrich Drepper <drepper@redhat.com>
7336
7337 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
7338 to find correct mount point despite wrong information from the
7339 kernel.
7340
7341 2000-06-09 Jes Sorensen <jes@linuxcare.com>
7342
7343 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
7344 the address of a symbol so function pointers are handled properly.
7345
7346 2000-06-08 Ulrich Drepper <drepper@redhat.com>
7347
7348 * sysdeps/i386/Dist: Add bp-asm.h.
7349
7350 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
7351 defaultdir variable instead of "/var/shm" everywhere.
7352 (defaultdir): Change to /dev/shm/.
7353
7354 2000-06-08 Greg McGary <greg@mcgary.org>
7355
7356 * sysdeps/i386/bp-asm.h: New file.
7357 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
7358 offsets. Add ENTER/LEAVE macros for optionally maintaining
7359 frame-pointer chain when debugging.
7360 * sysdeps/i386/add_n.S: Likewise.
7361 * sysdeps/i386/addmul_1.S: Likewise.
7362 * sysdeps/i386/lshift.S: Likewise.
7363 * sysdeps/i386/memchr.S: Likewise.
7364 * sysdeps/i386/memcmp.S: Likewise.
7365 * sysdeps/i386/mul_1.S: Likewise.
7366 * sysdeps/i386/rawmemchr.S: Likewise.
7367 * sysdeps/i386/rshift.S: Likewise.
7368 * sysdeps/i386/stpcpy.S: Likewise.
7369 * sysdeps/i386/stpncpy.S: Likewise.
7370 * sysdeps/i386/strchr.S: Likewise.
7371 * sysdeps/i386/strchrnul.S: Likewise.
7372 * sysdeps/i386/strcspn.S: Likewise.
7373 * sysdeps/i386/strpbrk.S: Likewise.
7374 * sysdeps/i386/strrchr.S: Likewise.
7375 * sysdeps/i386/strspn.S: Likewise.
7376 * sysdeps/i386/strtok.S: Likewise.
7377 * sysdeps/i386/sub_n.S: Likewise.
7378 * sysdeps/i386/submul_1.S: Likewise.
7379 * sysdeps/i386/elf/setjmp.S: Likewise.
7380 * sysdeps/i386/i486/strcat.S: Likewise.
7381 * sysdeps/i386/i486/strlen.S: Likewise.
7382 * sysdeps/i386/i586/add_n.S: Likewise.
7383 * sysdeps/i386/i586/lshift.S: Likewise.
7384 * sysdeps/i386/i586/memcpy.S: Likewise.
7385 * sysdeps/i386/i586/memset.S: Likewise.
7386 * sysdeps/i386/i586/rshift.S: Likewise.
7387 * sysdeps/i386/i586/strchr.S: Likewise.
7388 * sysdeps/i386/i586/strcpy.S: Likewise.
7389 * sysdeps/i386/i586/strlen.S: Likewise.
7390 * sysdeps/i386/i586/sub_n.S: Likewise.
7391 * sysdeps/i386/i686/add_n.S: Likewise.
7392 * sysdeps/i386/i686/memcpy.S: Likewise.
7393 * sysdeps/i386/i686/mempcpy.S: Likewise.
7394 * sysdeps/i386/i686/memset.S: Likewise.
7395 * sysdeps/i386/i686/strcmp.S: Likewise.
7396
7397 2000-06-08 Ulrich Drepper <drepper@redhat.com>
7398
7399 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
7400
7401 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
7402 256 and don't use OPEN_MAX.
7403
7404 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
7405 use it instead of LINK_MAX.
7406 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
7407
7408 2000-06-08 Andreas Jaeger <aj@suse.de>
7409
7410 * libio/genops.c (_IO_list_lock): Only compile body if we're
7411 thread safe.
7412 (_IO_list_unlock): Likewise.
7413 (_IO_list_resetlock): Likewise.
7414
7415 2000-06-07 Ulrich Drepper <drepper@redhat.com>
7416
7417 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
7418 unless user defined it.
7419
7420 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
7421 if not defined by the user.
7422
7423 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
7424 * libio/iofwrite.c (_IO_fwrite): Likewise.
7425
7426 * time/time.h: Add missing __THROW for clock_getcpuclockid
7427 prototype.
7428
7429 * elf/Makefile (distribute): Add dl-dtprocnum.h.
7430 * include/elf.h: Include also <dl-dtprocnum.h>.
7431 * elf/dl-deps.c: Likewise.
7432 * elf/dl-lookup.c: Likewise.
7433 * elf/dl-runtime.c: Likewise.
7434 * elf/dl-version.c: Likewise.
7435 * elf/do-rel.h: Likewise.
7436 * elf/dynamic-link.h: Likewise.
7437 * elf/link.h: Likewise.
7438 * elf/rtld.c: Likewise.
7439 * sysdeps/generic/dl-dtprocnum.h: New file.
7440 * sysdeps/ia64/dl-dtprocnum.h: New file.
7441 * sysdeps/mips/dl-dtprocnum.h: New file.
7442 * sysdeps/sparc/dl-dtprocnum.h: New file.
7443
7444 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
7445
7446 * elf/do-lookup.h: Add some __builtin_expect.
7447
7448 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
7449
7450 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
7451 (_dl_dynamic_weak): New variable.
7452 * elf/dl-support.c: Likewise.
7453 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
7454 * elf/do-lookup.h: If we find a weak definition treat it like a
7455 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
7456 case treat it like before.
7457
7458 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
7459 is in main program.
7460 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
7461
7462 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
7463 using l_map_start and l_map_end.
7464
7465 * elf/dl-version.c: Add __builtin_expect in many places.
7466
7467 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
7468 Update.
7469
7470 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
7471
7472 Lock for stdio stream list becomes global, for use in LinuxThreads.
7473
7474 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
7475 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
7476 _IO_list_resetlock): New interface for iterating global list of
7477 streams without accessing the _IO_list_all global variable,
7478 and for manipulating the lock which protects this list.
7479 * libio/libioP.h: Likewise.
7480 * libio/Version: Add entries for the new functions.
7481
7482 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
7483 pointer to _IO_FILE.
7484
7485 2000-06-07 Ulrich Drepper <drepper@redhat.com>
7486
7487 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
7488 BIT() must actually be BITw().
7489
7490 * locale/programs/ld-ctype.c: Handle SP and space consistently.
7491
7492 * locale/programs/charmap.c: Allow string arguments for
7493 code_set_name and repertoiremap.
7494
7495 2000-06-07 Andreas Jaeger <aj@suse.de>
7496
7497 * elf/Makefile: Build ldconfig only when building shared libraries.
7498
7499 2000-06-07 Jakub Jelinek <jakub@redhat.com>
7500
7501 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
7502 __USE_ISOC99.
7503 (fdimf, __fdim, fdim): Likewise.
7504
7505 2000-06-07 Ulrich Drepper <drepper@redhat.com>
7506
7507 * locale/findlocale.c: Add __builtin_expect in many places.
7508 * locale/loadlocale.c: Likewise.
7509
7510 2000-06-06 Greg McGary <greg@mcgary.org>
7511
7512 * sysdeps/mips/elf/start.S: Trim redundant code.
7513
7514 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
7515 Use C comments throughout. Line up operands column with tabs.
7516 * sysdeps/powerpc/strchr.S: Likewise.
7517 * sysdeps/powerpc/strcmp.S: Likewise.
7518 * sysdeps/powerpc/strcpy.S: Likewise.
7519 * sysdeps/powerpc/strlen.S: Likewise.
7520
7521 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
7522 Get low part of &__curbrk with @l.
7523
7524 2000-06-06 Ulrich Drepper <drepper@redhat.com>
7525
7526 * iconvdata/utf-16.c: Add __builtin_expect in many places.
7527 * iconvdata/unicode.c: Likewise.
7528 * iconvdata/uhc.c: Likewise.
7529 * iconvdata/t.61.c: Likewise.
7530 * iconvdata/sjis.c: Likewise.
7531 * iconvdata/johab.c: Likewise.
7532 * iconvdata/iso_6937.c: Likewise.
7533 * iconvdata/iso_6937-2.c: Likewise.
7534 * iconvdata/iso8859-1.c: Likewise.
7535 * iconvdata/iso646.c: Likewise.
7536 * iconvdata/iso-2022-kr.c: Likewise.
7537 * iconvdata/iso-2022-jp.c: Likewise.
7538 * iconvdata/iso-2022-cn.c: Likewise.
7539 * iconvdata/gbgbk.c: Likewise.
7540 * iconvdata/gbk.c: Likewise.
7541 * iconvdata/euc-kr.c: Likewise.
7542 * iconvdata/euc-jp.c: Likewise.
7543 * iconvdata/euc-cn.c: Likewise.
7544
7545 2000-06-05 Ulrich Drepper <drepper@redhat.com>
7546
7547 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
7548 * iconvdata/big5.c: Likewise.
7549 * iconvdata/ansi_x3.110.c: Likewise.
7550 * iconvdata/8bit-generic.c: Likewise.
7551 * iconvdata/8bit-gap.c: Likewise.
7552 * iconv/loop.c: Likewise.
7553 * iconv/gconv_db.c: Likewise.
7554 * iconv/gconv_dl.c: Likewise.
7555 * iconv/gconv_simple.c: Likewise.
7556 * iconv/skeleton.c: Likewise.
7557
7558 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
7559 (struct __gconv_step_data): Rename __is_last to __flags.
7560 * iconv/gconv_close.c: Change all uses of __is_last.
7561 * iconv/skeleton.c: Likewise.
7562 * iconvdata/iso-2022-cn.c: Likewise.
7563 * iconvdata/iso-2022-jp.c: Likewise.
7564 * iconvdata/iso-2022-kr.c: Likewise.
7565 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
7566 Recognize IGNORE error handling, set flag, and remove from name.
7567 * iconv/loop.c (ignore_errors_p): Define.
7568 Add flags parameter to both functions.
7569 * iconv/skeleton.c: Pass flags to all conversion functions.
7570 * iconv/gconv_simple.c: Add flags parameter to all functions.
7571 Don't return error for invald error if ignore flag is set.
7572 (ucs4_internal_loop_single): Add missing pointer increment.
7573 (internal_ucs4le_loop_single): Likewise.
7574 * iconv/iconv_prog.c: Implement handling of -c parameter.
7575 * iconvdata/8bit-gap.c: Don't return error for invald error if
7576 ignore flag is set.
7577 * iconvdata/8bit-generic.c: Likewise.
7578 * iconvdata/ansi_x3.110.c: Likewise.
7579 * iconvdata/big5.c: Likewise.
7580 * iconvdata/big5hkscs.c: Likewise.
7581 * iconvdata/euc-cn.c: Likewise.
7582 * iconvdata/euc-jp.c: Likewise.
7583 * iconvdata/euc-kr.c: Likewise.
7584 * iconvdata/gbgbk.c: Likewise.
7585 * iconvdata/gbk.c: Likewise.
7586 * iconvdata/iso-2022-cn.c: Likewise.
7587 * iconvdata/iso-2022-jp.c: Likewise.
7588 * iconvdata/iso-2022-kr.c: Likewise.
7589 * iconvdata/iso646.c: Likewise.
7590 * iconvdata/iso8859-1.c: Likewise.
7591 * iconvdata/iso_6937-2.c: Likewise.
7592 * iconvdata/iso_6937.c: Likewise.
7593 * iconvdata/johab.c: Likewise.
7594 * iconvdata/sjis.c: Likewise.
7595 * iconvdata/t.61.c: Likewise.
7596 * iconvdata/uhc.c: Likewise.
7597 * iconvdata/unicode.c: Likewise.
7598 * iconvdata/utf-16.c: Likewise.
7599 * libio/fileops.c: Likewise.
7600 * libio/iofwide.c: Likewise.
7601 * wcsmbs/btowc.c: Likewise.
7602 * wcsmbs/mbrtowc.c: Likewise.
7603 * wcsmbs/mbsnrtowcs.c: Likewise.
7604 * wcsmbs/mbsrtowcs.c: Likewise.
7605 * wcsmbs/wcrtomb.c: Likewise.
7606 * wcsmbs/wcsnrtombs.c: Likewise.
7607 * wcsmbs/wcsrtombs.c: Likewise.
7608 * wcsmbs/wctob.c: Likewise.
7609
7610 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
7611 an error.
7612
7613 2000-06-04 Ulrich Drepper <drepper@redhat.com>
7614
7615 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
7616 counter for the object we are releasing, just decrement it.
7617 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
7618
7619 2000-06-04 Jakub Jelinek <jakub@redhat.com>
7620
7621 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
7622 if -ffast-math.
7623
7624 2000-06-04 Ulrich Drepper <drepper@redhat.com>
7625
7626 * iconvdata/big5hkscs.c: New file.
7627 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
7628
7629 * iconvdata/gconv-modules: Add entry for new module.
7630 * iconvdata/Makefile (modules): Add BIG5HKSCS.
7631 (distribute): Add big5hkscs.c.
7632
7633 2000-06-01 Jakub Jelinek <jakub@redhat.com>
7634
7635 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
7636 inlines to match prototypes in mathcalls.h.
7637 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
7638 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
7639 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
7640 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7641
7642 2000-06-03 Ulrich Drepper <drepper@redhat.com>
7643
7644 * elf/elf.h (SHT_SUNW_move): Define.
7645
7646 * elf/elf.h: Add more Solaris compatiblity definitions.
7647
7648 2000-06-03 Andreas Jaeger <aj@suse.de>
7649
7650 * sysdeps/powerpc/dl-start.S: Close open comment.
7651
7652 2000-06-03 Jakub Jelinek <jakub@redhat.com>
7653
7654 * inet/Versions: Fix typo in rresvport_af export.
7655
7656 2000-06-02 Ulrich Drepper <drepper@redhat.com>
7657
7658 * math/tgmath.h: Pretty print.
7659
7660 2000-06-02 Andreas Jaeger <aj@suse.de>
7661
7662 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
7663 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7664
7665 2000-06-02 Ulrich Drepper <drepper@redhat.com>
7666
7667 * elf/rtld.c (process_envvars): Test for = after variable name.
7668
7669 2000-06-01 Ulrich Drepper <drepper@redhat.com>
7670
7671 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
7672 have extra call to __gmon_start__, use the pointer we already have.
7673
7674 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
7675 shifting.
7676
7677 * sysdeps/i386/elf/setjmp.S: Work around change is recent
7678 binutils. gas now emits a jump through the PLT instead of a
7679 relative jump if the jump target is an exported symbol.
7680
7681 2000-05-31 Ulrich Drepper <drepper@redhat.com>
7682
7683 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
7684
7685 2000-05-31 Andreas Jaeger <aj@suse.de>
7686
7687 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
7688 gregset_t.
7689
7690 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
7691 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7692
7693 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
7694 syscall.
7695 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
7696
7697 2000-05-30 Ulrich Drepper <drepper@redhat.com>
7698
7699 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
7700
7701 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
7702 * locale/localeconv.c: Make function versioned (with same definition).
7703
7704 * elf/Makefile (modules-names): Strip before using it.
7705
7706 2000-05-30 Andreas Jaeger <aj@suse.de>
7707
7708 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
7709 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
7710 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
7711 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
7712 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
7713 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
7714
7715 2000-05-29 Ulrich Drepper <drepper@redhat.com>
7716
7717 * Makefile: Add GNU make magic.
7718
7719 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
7720 Removed.
7721 * inet/rcmd.c: Remove __P. Remove unused variables.
7722 (iruserfopen): Make first parameter const.
7723 (ruserok_sa): Return result of ruserok2_sa.
7724 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
7725 * inet/rexec.c: Remove unused variables. Other small cleanups.
7726 * inet/ruserpass.c: Remove __P. Remove unused variables.
7727 (ruserpass): Check results of memory allocation.
7728 * include/netdb.h: Add prototype for ruserpass.
7729
7730 2000-05-29 Andreas Jaeger <aj@suse.de>
7731
7732 * elf/readlib.c (interpreters): Use LD_SO since this is supported
7733 for all platforms.
7734
7735 2000-05-29 Jakub Jelinek <jakub@redhat.com>
7736
7737 * inet/rcmd.c (rresvport_af): Use correct port number.
7738
7739 2000-05-26 Andreas Schwab <schwab@suse.de>
7740
7741 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
7742 entries in all-sonames.
7743 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
7744 preserving the old name if different for compatibility.
7745
7746 2000-05-29 Ulrich Drepper <drepper@redhat.com>
7747
7748 * posix/Makefile (tests): Add tst-spawn.
7749 (tst-spawn-ARGS): New variable.
7750 * posix/tst-spawn.c: New file.
7751
7752 * posix/spawn_faction_addclose.c: Correctly account for new entry.
7753 * posix/spawn_faction_adddup2.c: Likewise.
7754 * posix/spawn_faction_addopen.c: Likewise.
7755 * posix/spawni.c: Correctly test for success of dup2 calls.
7756
7757 * posix/tst-preadwrite.c: Check success of malloc call.
7758
7759 2000-05-28 Ulrich Drepper <drepper@redhat.com>
7760
7761 * posix/Makefile (tests): Add tst-exec.
7762 (tst-exec-ARGS): New variable.
7763 * posix/tst-exec.c: New file.
7764
7765 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
7766
7767 2000-05-04 Andreas Jaeger <aj@suse.de>
7768
7769 * string/string.h: Remove __strdup prototype, it's not needed in
7770 this file anymore.
7771
7772 2000-05-28 Ulrich Drepper <drepper@redhat.com>
7773
7774 * posix/Makefile (tests): Add tst-fork.
7775 * posix/tst-fork.c: New file.
7776
7777 * resolv/inet_pton.c: Loose __P.
7778
7779 2000-05-21 Jakub Jelinek <jakub@redhat.com>
7780
7781 * libio/libioP.h (_IO_CHECK_WIDE): Define.
7782 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
7783 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
7784 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
7785 _IO_CHECK_WIDE fails.
7786
7787 2000-05-28 Ulrich Drepper <drepper@redhat.com>
7788
7789 * po/da.po: New file.
7790
7791 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
7792 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
7793
7794 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
7795 (Other iconv Implementations): Fix typo.
7796 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
7797
7798 2000-05-27 Andreas Jaeger <aj@suse.de>
7799
7800 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
7801 normal version now.
7802 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
7803 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
7804 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7805 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7806 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
7807 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
7808
7809 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
7810 endianness to decide how to pass arguments.
7811 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7812
7813 * elf/vismain.c: Use test-skeleton interface.
7814 (TEST_FUNCTION): New macro.
7815 (do_test): Renamed from main.
7816
7817 2000-05-27 Ulrich Drepper <drepper@redhat.com>
7818
7819 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
7820 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
7821
7822 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
7823 handling of AI_V4MAPPED flag.
7824
7825 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
7826 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
7827 perform lookup for T_A type and tell getanswer_r to convert the
7828 result with new argument.
7829 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
7830 Don't convert addresses from IPv4 to IPv6 here.
7831 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
7832 IPv6 is wanted. Allow qtype and type from reply to disagree if
7833 IPv4 mapping has to be done. Perform mappings if required by the
7834 caller and not if RES_USE_INET6 bit in _res.options is set.
7835 Add several __builtin_expect.
7836
7837 2000-05-26 Ulrich Drepper <drepper@redhat.com>
7838
7839 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
7840
7841 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
7842 NULL.
7843
7844 * posix/tst-preadwrite.c: Allow parallel execution of
7845 tst-preadwrite and tst-preadwrite64.
7846
7847 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
7848 * posix/tst-truncate.c: New file.
7849 * posix/tst-truncate64.c: New file.
7850
7851 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
7852 was switched.
7853
7854 * posix/Makefile (tests): Add tst-preadwrite64.
7855 * posix/tst-preadwrite.c: Alloc file being used also for testing
7856 pread64 and pwrite64.
7857 * posix/tst-preadwrite64.c: New file.
7858
7859 2000-05-26 Andreas Jaeger <aj@suse.de>
7860
7861 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
7862 of arguments dependend on endianness.
7863 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
7864
7865 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
7866 normal version now.
7867 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
7868 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
7869 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7870 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7871
7872 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
7873 endianness to check how to pass argument.
7874 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
7875
7876 * elf/ldconfig.h: Update parameter list for process_elf_file.
7877
7878 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
7879 Add parameter file_length and pass it ot process_elf*file.
7880
7881 * sysdeps/generic/readelflib.c (check_ptr): New.
7882 (process_elf_file): Use check_ptr to check all accesses to the
7883 mmapped file. Add parameter file_length.
7884
7885 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
7886 library names.
7887
7888 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
7889 Closes PR libc/1573, reported by Bradley White
7890 <bww@laurelnetworks.com>.
7891
7892 2000-05-25 Ulrich Drepper <drepper@redhat.com>
7893
7894 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
7895 __FAST_MATH__ is defined.
7896
7897 2000-05-22 Andreas Jaeger <aj@suse.de>
7898
7899 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
7900 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
7901
7902 * manual/math.texi (FP Function Optimizations): Document gcc
7903 -ffast-math behaviour with mathinlines.
7904
7905 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
7906 functions unless -ffast-math is given to gcc.
7907
7908 2000-05-23 Jakub Jelinek <jakub@redhat.com>
7909
7910 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
7911 __sincosl): Guard with __USE_GNU.
7912
7913 2000-05-24 Ulrich Drepper <drepper@redhat.com>
7914
7915 * csu/Makefile (routines): Add check_fds.
7916 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
7917 binaries. Add various __builtin_expect.
7918 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
7919 * sysdeps/generic/check_fds.c: ...here. New file.
7920
7921 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
7922 binaries if file /etc/suid-debug is available.
7923
7924 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
7925 and wcseqorder members.
7926 (struct locale_collate_t): Likewise.
7927 (collate_finish): Assign collation sequence value to each character.
7928 Create tables for output.
7929 (collate_output): Write out tables with collation sequence information.
7930 * locale/C-collate.c: Provide C locale data for collation sequence
7931 table.
7932 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
7933 _NL_COLLATE_COLLSEQWC.
7934 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
7935 _NL_COLLATE_COLLSEQWC.
7936 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
7937 include fnmatch_loop.c.
7938 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
7939 character is matched by range expression. Use collation sequence
7940 table. Outside glibc fall back on simple character value comparison.
7941
7942 2000-05-24 Andreas Jaeger <aj@suse.de>
7943
7944 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
7945 words.
7946
7947 * intl/Makefile: Run gettext-test only if msgfmt is available.
7948
7949 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
7950 Define it for newer kernels.
7951
7952 2000-05-23 Ulrich Drepper <drepper@redhat.com>
7953
7954 * elf/dl-sym.c: Minor cleanups.
7955
7956 * configure.in: Add test for .protected.
7957 * config.make.in: Add have-protected variable.
7958 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
7959 (tests-vis-yes): Add vismain.
7960 (modules-names): Add $(modules-vis-$(have-protected)).
7961 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
7962 Add rules to generate and run vismain.
7963 * elf/vismain.c: New file.
7964 * elf/vismod1.c: New file.
7965 * elf/vismod2.c: New file.
7966 * elf/vismod3.c: New file.
7967
7968 2000-05-23 Andreas Jaeger <aj@suse.de>
7969
7970 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
7971
7972 * manual/search.texi (Array Sort Function): Document that qsort is
7973 not necessarily in-place.
7974
7975 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
7976 Closes PR libc/1731.
7977
7978 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
7979 * dirent/scandir64.c: Likewise.
7980 * pwd/getpw.c: Likewise.
7981 * stdlib/bsearch.c (bsearch): Likewise.
7982 * stdlib/tst-strtoll.c: Likewise.
7983 * localedata/collate-test.c: Likewise.
7984 * localedata/xfrm-test.c: Likewise.
7985 * posix/bsd-getpgrp.c: Likewise.
7986 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
7987 * sysdeps/generic/bits/siginfo.h: Likewise.
7988 * sysdeps/generic/bits/sockaddr.h: Likewise.
7989 * sysdeps/generic/sys/swap.h: Likewise.
7990 * sysdeps/generic/sys/sysinfo.h: Likewise.
7991 * sysdeps/generic/vfork.c: Likewise.
7992 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
7993 * sysdeps/mach/hurd/fdopen.c: Likewise.
7994 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
7995 * sysdeps/unix/sysv/linux/poll.c: Likewise.
7996 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7997 * sysdeps/unix/sysv/linux/writev.c: Likewise.
7998 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7999 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8000 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
8001
8002 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
8003 * shadow/lckpwdf.c: Likewise.
8004 * stdlib/tst-strtol.c: Likewise.
8005 * sysdeps/generic/tcsetattr.c: Likewise.
8006 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8007 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8008
8009 2000-05-22 Jakub Jelinek <jakub@redhat.com>
8010
8011 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
8012 free it and set to (void *) -1.
8013
8014 2000-05-22 Jakub Jelinek <jakub@redhat.com>
8015
8016 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
8017 not the second character in the range.
8018 * stdio-common/tstscanf.c (main): Add testcase for the above.
8019 Reported by jik@kamens.brookline.ma.us.
8020
8021 2000-05-21 H.J. Lu <hjl@gnu.org>
8022
8023 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
8024 with noexec and noplt parameter.
8025 (do_lookup): Likewise.
8026
8027 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
8028 do_lookup. Support STV_PROTECTED.
8029 (_dl_lookup_symbol_skip): Likewise.
8030 (_dl_lookup_versioned_symbol): Likewise.
8031 (_dl_lookup_versioned_symbol_skip): Likewise.
8032
8033 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
8034
8035 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
8036
8037 2000-05-21 Jakub Jelinek <jakub@redhat.com>
8038
8039 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
8040 * sysdeps/i386/bits/huge_val.h: Likewise.
8041 * sysdeps/ieee754/bits/huge_val.h: Likewise.
8042 * sysdeps/m68k/bits/huge_val.h: Likewise.
8043 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
8044 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
8045
8046 2000-05-22 Andreas Jaeger <aj@suse.de>
8047
8048 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
8049 change in iconv.h.
8050
8051 2000-05-19 Andreas Jaeger <aj@suse.de>
8052
8053 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
8054 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
8055 breaks compilation without linuxthreads.
8056
8057 2000-05-21 Ulrich Drepper <drepper@redhat.com>
8058
8059 * sysdeps/ia64/memccpy.S: New file.
8060 * sysdeps/ia64/memchr.S: New file.
8061 * sysdeps/ia64/memcmp.S: New file.
8062 * sysdeps/ia64/memcpy.S: New file.
8063 * sysdeps/ia64/memmove.S: New file.
8064 * sysdeps/ia64/memset.S: New file.
8065 * sysdeps/ia64/strcat.S: New file.
8066 * sysdeps/ia64/strchr.S: New file.
8067 * sysdeps/ia64/strcmp.S: New file.
8068 * sysdeps/ia64/strcpy.S: New file.
8069 * sysdeps/ia64/strlen.S: New file.
8070 * sysdeps/ia64/strncmp.S: New file.
8071 * sysdeps/ia64/strncpy.S: New file.
8072 * sysdeps/ia64/softpipe.h: New file.
8073 Patches by Dan Pop <Dan.Pop@cern.ch>.
8074
8075 * manual/memory.texi: Document memory handling functions (mlock,
8076 munlock, mlockall, munlockall, brk, and sbrk)
8077 * manual/time.texi: Document timespec and friends.
8078 * manual/conf.texi: Fix references.
8079 * manual/ctype.texi: Likewise.
8080 * manual/errno.texi: Likewise.
8081 * manual/intro.texi: Likewise.
8082 * manual/locale.texi: Likewise.
8083 * manual/sysinfo.texi: Likewise.
8084 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
8085
8086 2000-05-09 Jes Sorensen <jes@linuxcare.com>
8087
8088 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
8089 * sysdeps/ia64/dl-lookupcfg.h: ...here.
8090
8091 2000-05-21 Jakub Jelinek <jakub@redhat.com>
8092
8093 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
8094 dxfer_direction.
8095
8096 2000-05-21 Ulrich Drepper <drepper@redhat.com>
8097
8098 * locale/locale.h (struct lconv): Add new elements from ISO C99.
8099 * locale/localeconv.c: Initialize new elements from ISO C99.
8100 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
8101 new standard elements.
8102 * locale/categories.def: Adjust accordingly.
8103
8104 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
8105 * iconv/iconv.c: Likewise.
8106 * conform/data/iconv.h-data: Likewise.
8107 * iconv/iconv_prog.c (process_block): Remove const from second
8108 parameter.
8109 (main): Remove const from addr definition.
8110 * manual/charset.texi (Generic Conversion Interface): Remove from
8111 inbuf parameter of iconv.
8112
8113 * intl/dcigettext.c: Fix typo in comment.
8114
8115 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
8116
8117 * resolv/res_libc.c (_res): Initialize _sock to -1.
8118
8119 2000-05-18 Jakub Jelinek <jakub@redhat.com>
8120
8121 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
8122 (fopencookie@@GLIBC_2.2): New.
8123 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
8124 (fopencookie@GLIBC_2.0): New.
8125 * libio/Versions: Add fopencookie to GLIBC_2.2.
8126
8127 2000-05-18 Andreas Jaeger <aj@suse.de>
8128
8129 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
8130 Closes PR libc/1731.
8131
8132 * manual/arith.texi (Parsing of Integers): Fix typo.
8133 Closes PR libc/1744, reported by blp@gnu.org.
8134
8135 2000-05-17 Jakub Jelinek <jakub@redhat.com>
8136
8137 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
8138 __extension__ to hexadecimal floating constant notation.
8139 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
8140 Likewise.
8141 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
8142 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
8143 Likewise.
8144 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
8145 HUGE_VALL): Likewise.
8146 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
8147 HUGE_VALL): Likewise.
8148 (HUGE_VALL): Set to HUGE_VAL on sparc32.
8149
8150 2000-05-17 Andreas Jaeger <aj@suse.de>
8151
8152 * string/envz.h: Add pure attributes if possible.
8153
8154 * string/argz.h: argz_count is a pure function.
8155
8156 * string/strings.h: Add pure and const attributes if possible.
8157
8158 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
8159 possibly searching through the whole memory.
8160 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
8161
8162 2000-05-17 Jakub Jelinek <jakub@redhat.com>
8163
8164 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
8165 not yet defined.
8166 (_dl_cache_check_flags): Likewise.
8167 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
8168 dl-cache.h.
8169
8170 2000-05-17 Andreas Jaeger <aj@suse.de>
8171
8172 * manual/creature.texi (Feature Test Macros): Remove paragraph
8173 since the description is wrong.
8174 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
8175
8176 * scripts/config.sub: New version.
8177 * scripts/config.guess: Likewise.
8178 * manual/texinfo.tex: Likewise.
8179
8180 * time/test_time.args: Removed.
8181 * time/Makefile (test_time-ARGS): Added contents here instead.
8182
8183 * posix/tstgetopt.args: Removed.
8184 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
8185
8186 * Rules: Allow arguments for test files to be specified in
8187 Makefile with testname-ARGS; remove rules with .args in it.
8188
8189 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
8190 remove old bogus rule for opendir-tst1.args.
8191
8192 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
8193
8194 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
8195 into objdir. This allows a readonly sourcetree.
8196 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
8197
8198 2000-05-16 Andreas Jaeger <aj@suse.de>,
8199 David Huggins-Daines <dhd@linuxcare.com>
8200
8201 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
8202 cache_data in case of only new cache format correctly.
8203
8204 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
8205 cache_file_new.
8206
8207 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
8208 struct cache_file_new.
8209
8210 * elf/cache.c (save_cache): Fix str_offset if only new cache is
8211 present.
8212
8213 * elf/cache.c (save_cache): Align struct new_file_cache.
8214 (print_cache): Likewise.
8215
8216 2000-05-13 Jakub Jelinek <jakub@redhat.com>
8217
8218 * elf/soinit.c (__libc_global_ctors): Move
8219 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
8220 * resolv/resolv.h (__res_state): Added __attribute__((const)).
8221 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
8222 variable, don't define it to __res_state call.
8223
8224 2000-05-13 Andreas Jaeger <aj@suse.de>
8225
8226 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
8227 Linux 2.3.99pre7.
8228 (AF_PPPOX): Likewise.
8229 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
8230 (AF_PPPOX): Likewise.
8231
8232 2000-05-12 Andreas Jaeger <aj@suse.de>
8233
8234 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
8235 Reported by tmoestl@gmx.net, closes PR libc/1732.
8236
8237 2000-05-11 Jan Hubicka <jh@suse.cz>
8238
8239 * misc/sys/cdefs.h: Add support for pure attribute.
8240
8241 * include/string.h: Add __attribute_pure__ to various functions.
8242 * string/string.h: Likewise.
8243
8244 2000-05-10 Jakub Jelinek <jakub@redhat.com>
8245
8246 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
8247 argument.
8248 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8249 R_SPARC_UA64.
8250 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
8251
8252 2000-05-10 Jakub Jelinek <jakub@redhat.com>
8253
8254 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
8255 at proper place. Compute the high nibble correctly.
8256
8257 2000-05-09 Jakub Jelinek <jakub@redhat.com>
8258
8259 * elf/ldconfig.c: Include elf.h.
8260
8261 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
8262 (_dl_vsym): Likewise.
8263 Reported by Owen Taylor <otaylor@redhat.com>.
8264
8265 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
8266 always.
8267
8268 2000-05-08 Andreas Jaeger <aj@suse.de>
8269
8270 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
8271
8272 * intl/bindtextdom.c (set_binding_values): Add prototype.
8273
8274 2000-05-08 Jakub Jelinek <jakub@redhat.com>
8275
8276 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
8277 call to elf_machine_fixup_plt.
8278 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8279 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8280
8281 2000-05-08 Jakub Jelinek <jakub@redhat.com>
8282
8283 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
8284 they are not dlclose'd from underneath us.
8285
8286 2000-05-08 Andreas Schwab <schwab@suse.de>
8287
8288 * posix/execle.c: Fix size parameter of memcpy.
8289
8290 2000-05-08 Andreas Schwab <schwab@suse.de>
8291
8292 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
8293 getpagesize syscall if available.
8294
8295 2000-05-08 Andreas Jaeger <aj@suse.de>
8296
8297 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
8298 set errno.
8299
8300 2000-05-08 Jakub Jelinek <jakub@redhat.com>
8301
8302 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
8303 sizeof(struct link_map *) chunks, not in bytes.
8304
8305 2000-05-07 Ulrich Drepper <drepper@redhat.com>
8306
8307 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
8308 only needed for locale.
8309 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
8310 It's only needed for catgets.
8311 Patches by Greg McGary <gkm@eng.ascend.com>.
8312
8313 2000-05-07 Mark Kettenis <kettenis@gnu.org>
8314
8315 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
8316 Remove duplicate <errno.h> include. Remove inclusion of
8317 <libintl.h> and "nsswitch.h".
8318 (set_cloexec_flag): New function, broken out of dbopen.
8319 (dbopen): Changed return type to `enum
8320 nss_status'. Mostly rewritten to make sure that we do not report
8321 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
8322 (internal_setent): Change return type to nss_status.
8323 Document, and make sure that the function
8324 behaves accordingly. Make dynamically loading the database
8325 library really thread-safe and return NSS_STATUS_UNAVAIL if it
8326 failed.
8327 (db_cursor): Return ENOMEM is memory allocation failed. Remove
8328 unecessary casts.
8329 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
8330 documentation.
8331 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
8332 c_get function member.
8333 * nss/nss_db/nss_db.h: Add and tweak some comments.
8334 (DBT): Move typedef before NSS_DBC typedef.
8335 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
8336
8337 2000-05-07 H.J. Lu <hjl@gnu.org>
8338
8339 * csu/initfini.c: Moved to ....
8340 * sysdeps/generic/initfini.c: ...here.
8341
8342 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
8343
8344 2000-05-07 Ulrich Drepper <drepper@redhat.com>
8345
8346 * manual/resource.texi: Document POSIX scheduling functions.
8347 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8348
8349 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
8350 reading anything. Reported by Andries.Brouwer@cwi.nl.
8351
8352 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
8353 for x since promotion in comparison might leads to unexpected
8354 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
8355
8356 * iconv/Makefile (tests): Add tst-iconv1.
8357 * iconv/tst-iconv1.c: New file.
8358 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
8359 empty input buffer over full output buffer.
8360 (ucs4_internal_loop): Likewise.
8361 (ucs4_internal_loop_unaligned): Likewise.
8362 (internal_ucs4le_loop): Likewise.
8363 (internal_ucs4le_loop_unaligned): Likewise.
8364 (ucs4le_internal_loop): Likewise.
8365 (ucs4le_internal_loop_unaligned): Likewise.
8366 Reported by yaoz@nih.gov.
8367
8368 2000-05-06 Bruno Haible <haible@clisp.cons.org>
8369
8370 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
8371 returned != __GCONV_OK, there is nothing to clean up.
8372
8373 2000-05-06 Bruno Haible <haible@clisp.cons.org>
8374
8375 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
8376 OUTPUT_CHARSET environment variables.
8377
8378 2000-05-06 Andreas Jaeger <aj@suse.de>
8379
8380 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
8381 (struct cache_file_new): New.
8382 (struct file_entry): New (moved from cache.c).
8383 (struct cache_file): New (moved from cache.c).
8384
8385 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
8386 from _dl_load_cache_lookup.
8387 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
8388 the different cache formats.
8389 New variable cache_new for new format.
8390
8391 * elf/ldconfig.h: Change according to changes in cache.c and
8392 ldconfig.c; remove cache_libcmp; add opt_format.
8393
8394 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
8395 stuff that's defined in those headers.
8396 Add hwcap to struct lib_entry.
8397 (opt_format): New variable to select cache format.
8398 (options): Add format parameter.
8399 (is_hwcap): New function.
8400 (path_hwcap): New function.
8401 (parse_opt): Handle new format parameter.
8402 (search_dir): Handle hwcap, search also subdirectories with hwcap.
8403
8404 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
8405 ldconfig is part of glibc.
8406 Include dl-cache.h and remove stuff that's defined there.
8407 (struct cache_entry): Add new member hwcap.
8408 (print_entry): Print hwcap, cleanup a bit.
8409 (print_cache): Print new and old formats.
8410 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
8411 (save_cache): Save new and old formats.
8412 (add_to_cache): Handle hwcap.
8413
8414 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
8415 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
8416 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
8417 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
8418 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
8419 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
8420
8421 2000-05-05 Bruno Haible <haible@clisp.cons.org>
8422
8423 * intl/dcigettext.c (alignof): New macro.
8424 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
8425 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
8426 freemem_size to 0.
8427
8428 2000-05-05 Bruno Haible <haible@clisp.cons.org>
8429
8430 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
8431 return value.
8432
8433 2000-05-06 Ulrich Drepper <drepper@redhat.com>
8434
8435 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
8436 (mempcpy): Correct typo is parameter list.
8437
8438 2000-05-06 Andreas Jaeger <aj@suse.de>
8439
8440 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
8441 functions unless -ffast-math is given to gcc.
8442
8443 2000-05-06 Ulrich Drepper <drepper@redhat.com>
8444
8445 * po/ko.po: Update from translation team.
8446
8447 2000-05-05 Ulrich Drepper <drepper@redhat.com>
8448
8449 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
8450 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
8451 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
8452 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
8453 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
8454 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
8455
8456 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
8457 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
8458 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
8459
8460 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
8461 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
8462 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
8463 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
8464
8465 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
8466 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
8467
8468 2000-05-05 Jes Sorensen <jes@linuxcare.com>
8469
8470 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
8471 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
8472
8473 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
8474 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
8475
8476 * sysdeps/ia64/Implies: New file.
8477 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
8478 * sysdeps/ia64/Makefile: New file.
8479 * sysdeps/ia64/gmp-mparam.h: New file,
8480
8481 * sysdeps/ia64/elf/start.S: New file.
8482
8483 * sysdeps/ia64/bits/fenv.h: New file.
8484
8485 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
8486
8487 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
8488
8489 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
8490
8491 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
8492 ia64 has 64 bit .hash entries just as the Alpha.
8493
8494 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
8495
8496 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
8497
8498 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
8499
8500 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
8501 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
8502 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
8503 * sysdeps/ia64/fpu/fegetenv.c: New file.
8504 * sysdeps/ia64/fpu/fegetexcept.c: New file.
8505 * sysdeps/ia64/fpu/fegetround.c: New file.
8506 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
8507 * sysdeps/ia64/fpu/fesetenv.c: New file.
8508 * sysdeps/ia64/fpu/fesetround.c: New file.
8509 * sysdeps/ia64/fpu/feupdateenv.c: New file.
8510 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
8511 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
8512 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
8513 * sysdeps/ia64/fpu/ftestexcept.c: New file.
8514
8515 2000-05-05 Andreas Jaeger <aj@suse.de>
8516
8517 * misc/tst-tsearch.c (main): Correct type for initstate argument.
8518
8519 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
8520 (_dl_string_hwcap): New, does nothing.
8521
8522 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
8523 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
8524 (_dl_string_hwcap): New function, converts from string to hwcap
8525 encoding.
8526 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
8527 (_DL_HWCAP_COUNT): New.
8528 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
8529 (_dl_string_hwcap): New function, converts from string to hwcap
8530 encoding.
8531 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
8532 (_DL_HWCAP_COUNT): New.
8533 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
8534 (_dl_string_hwcap): New function, converts from string to hwcap
8535 encoding.
8536
8537 2000-05-05 Ulrich Drepper <drepper@redhat.com>
8538
8539 * elf/Makefile (distribute): Add dl-lookupcfg.h.
8540 * sysdeps/ia64/Dist: New file.
8541
8542 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
8543 parameter to mprotect and for variable assignments.
8544
8545 2000-05-03 Jes Sorensen <jes@linuxcare.com>
8546
8547 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
8548 validity of map before dereferencing it.
8549
8550 * elf/dl-reloc.c (RESOLVE_MAP): Define.
8551
8552 2000-05-02 Jes Sorensen <jes@linuxcare.com>
8553
8554 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
8555 lookup to the arguments to elf_machine_fixup_plt().
8556
8557 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
8558 of the symbol being resolved to input argument list and make the
8559 function return the pointer to the reloc.
8560
8561 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
8562 return valuie to lookup_t and return the value.
8563 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
8564 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
8565 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
8566 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
8567 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
8568 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
8569
8570 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
8571 Make it an inline function returning value after calling
8572 __elf_machine_fixup_plt().
8573
8574 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
8575 symbol address.
8576
8577 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
8578 obtain the symbol address.
8579
8580 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
8581 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
8582
8583 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
8584 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
8585 inline on non ia64.
8586
8587 2000-04-28 Jes Sorensen <jes@linuxcare.com>
8588
8589 * elf/dl-runtime.c (fixup): Use the portable macros to get the
8590 symbol address of an object.
8591
8592 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
8593 the symbol address of an object.
8594
8595 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
8596 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
8597 (_dl_lookup_symbol_skip): Likewise.
8598 (_dl_lookup_versioned_symbol): Likewise.
8599 (_dl_lookup_versioned_symbol_skip): Likewise.
8600
8601 2000-04-27 Jes Sorensen <jes@linuxcare.com>
8602
8603 * elf/rtld.c (_dl_start): Get the function pointer return address
8604 via _dl_start_address for architectures that need a function
8605 pointer descriptor rather than just a pointer (ia64).
8606
8607 * sysdeps/generic/dl-lookupcfg.h: New file.
8608 * sysdeps/ia64/dl-lookupcfg.h: New file.
8609 * sysdeps/ia64/dl-machine.h: New file.
8610 * sysdeps/ia64/dl-symaddr.c: New file.
8611 * sysdeps/ia64/dl-fptr.c: New file.
8612
8613 * elf/elf.h: Add IA-64 specific definitions.
8614
8615 2000-05-04 Jakub Jelinek <jakub@redhat.com>
8616
8617 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
8618 end of enum.
8619
8620 2000-05-04 Jakub Jelinek <jakub@redhat.com>
8621
8622 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
8623 happy.
8624
8625 2000-04-11 Geoff Keating <geoffk@cygnus.com>
8626
8627 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
8628 symbol. Call _dl_init rather than the old way.
8629
8630 2000-05-04 Ulrich Drepper <drepper@redhat.com>
8631
8632 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
8633 test for pointer in range of DSO address space.
8634
8635 2000-05-04 Andreas Jaeger <aj@suse.de>
8636
8637 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
8638
8639 2000-05-03 Ulrich Drepper <drepper@redhat.com>
8640
8641 * locale/findlocale.c (_nl_find_locale): Add new parameter to
8642 calls of _nl_make_l10nflist.
8643
8644 * libio/stdio.h: Make fseeko and ftello prototypes available is
8645 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
8646
8647 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
8648 real unsetenv implementation from 1999-07-29 [PR libc/1714].
8649
8650 2000-05-03 Bruno Haible <haible@clisp.cons.org>
8651
8652 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
8653 before calling tfind.
8654
8655 2000-03-05 Jakub Jelinek <jakub@redhat.com>
8656
8657 * resolv/resolv.h (res_querydomain): Remove redefinition to
8658 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
8659
8660 2000-05-03 Ulrich Drepper <drepper@redhat.com>
8661
8662 * po/gl.po: Update from translation team.
8663
8664 * manual/intro.texi (Program Basics): Change section title.
8665 * manual/process.texi: Fix reference.
8666 (Executing a File): Add reference exec in other section.
8667 * manual/signal.texi: Fix reference.
8668 * manual/startup.texi: Document syscall function.
8669 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
8670
8671 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8672
8673 * intl/libintl.h (bind_textdomain_codeset): New declaration.
8674 * intl/bindtextdom.c (set_binding_values): New function.
8675 (bindtextdomain): Call it.
8676 (bind_textdomain_codeset): New function.
8677 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
8678 (free_mem): Free each binding's codeset.
8679 * intl/gettextP.h (struct binding): Add codeset field.
8680 (_nl_find_domain): Add domainbinding argument.
8681 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
8682 Pass it to _nl_make_l10nflist.
8683 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
8684 (_nl_make_l10nflist): Add domainbinding argument.
8685 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
8686 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
8687 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
8688 locale_charset().
8689 * manual/message.texi: New node "Charset conversion in gettext".
8690
8691 2000-04-30 Bruno Haible <haible@clisp.cons.org>
8692
8693 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
8694 appropriate. Handle possible __read error.
8695
8696 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8697
8698 * intl/gettextP.h (__builtin_expect): Define as empty if not a
8699 compiler builtin.
8700 * intl/loadinfo.h (__builtin_expect): Likewise.
8701 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
8702 __builtin_expect where appropriate.
8703 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8704 * intl/localealias.c (extend_alias_table): Return an error indicator.
8705 (read_alias_file): Bail out if extend_alias_table fails.
8706
8707 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8708
8709 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
8710 * intl/localealias.c: Likewise.
8711
8712 2000-05-01 Bruno Haible <haible@clisp.cons.org>
8713
8714 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
8715 Initialize domain->plural and domain->nplurals even if there is no
8716 nullentry.
8717
8718 2000-05-01 Bruno Haible <haible@clisp.cons.org>
8719
8720 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
8721 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
8722 In case of failure, goto converted.
8723
8724 2000-05-01 Bruno Haible <haible@clisp.cons.org>
8725
8726 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
8727 * iconv/gconv_int.h (norm_add_slashes): Move to here.
8728 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
8729 __gconv_open.
8730
8731 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8732
8733 * intl/dcigettext.c (transcmp): Compare the domains as well.
8734 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
8735 not before.
8736 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
8737 <errno.h>.
8738
8739 2000-05-03 Ulrich Drepper <drepper@redhat.com>
8740
8741 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
8742 Reported by Bruno Haible.
8743
8744 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8745
8746 * manual/arith.texi: Remove @w from @itemize.
8747
8748 2000-05-02 Andreas Jaeger <aj@suse.de>
8749
8750 * conform/data/tar.h-data: Add some checks for specific values.
8751
8752 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
8753 and RAND_MAX.
8754
8755 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
8756 FOPEN_MAX.
8757
8758 * conform/data/netinet/in.h-data: Add exact checks for the values
8759 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
8760
8761 * conform/data/float.h-data: Add some minimal values.
8762
8763 * conform/conformtest.pl: Test for macros with string constants,
8764 check for minimum and maximum values.
8765 Add limits.h to headers.
8766
8767 * conform/data/cpio.h-data: Test for value of MAGIC.
8768
8769 * conform/data/limits.h-data: New file.
8770
8771 2000-04-30 Bruno Haible <haible@clisp.cons.org>
8772
8773 * math/Makefile (headers): Add bits/fenvinline.h.
8774
8775 2000-05-01 Ulrich Drepper <drepper@redhat.com>
8776
8777 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
8778 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
8779
8780 * posix/Versions: Change posix_spawnattr_getdefault and
8781 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
8782 and posix_spawnattr_setsigdefault respectively.
8783 * posix/spawn.h: Likewise.
8784 * posix/spawnattr_getdefault.h: Likewise.
8785 * posix/spawnattr_setdefault.h: Likewise.
8786 * conform/data/spawn.h-data: Likewise.
8787
8788 2000-05-01 Andreas Jaeger <aj@suse.de>
8789
8790 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
8791
8792 2000-04-30 Ulrich Drepper <drepper@redhat.com>
8793
8794 * manual/sysinfo.texi: Document getdomainname, setdomainname
8795 and sysctl.
8796 * manual/string.texi: Fix typo.
8797 * manual/terminal.texi: Document gtty and stty.
8798 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8799
8800 2000-04-30 Andreas Jaeger <aj@suse.de>
8801
8802 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
8803 accordance with Austin Draft.
8804
8805 2000-04-30 Ulrich Drepper <drepper@redhat.com>
8806
8807 * catgets/gencat.c (read_input_file): Use isblank and not isspace
8808 to recognize second character in comment line.
8809
8810 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
8811 ENOBUFS if we are out of memory.
8812
8813 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
8814 available if __USE_XOPEN2K.
8815 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
8816 * sysdeps/unix/common/bits/fcntl.h: Likewise.
8817 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
8818 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8819 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
8820 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8821 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
8822 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
8823
8824 2000-04-29 Ulrich Drepper <drepper@redhat.com>
8825
8826 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
8827 Recognize option -s, -c, and -l.
8828
8829 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
8830
8831 * nscd/nscd.c: Start new session for nscd, drop privilegs
8832 to configured user if requested and no -S parameter are used.
8833 * nscd/nscd.conf: Add new option "server-user".
8834 * nscd/nscd_conf.c: Add support for new "server-user" option.
8835 * nscd/nscd.h: Add declaration for server_user variable.
8836 Based on patch by Chris Wing <wingc@engin.umich.edu>
8837
8838 2000-04-29 Mark Kettenis <kettenis@gnu.org>
8839
8840 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
8841 that changing the __restore and __restore_rt signal return code
8842 will break GDB.
8843
8844 2000-04-29 Mark Kettenis <kettenis@gnu.org>
8845
8846 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
8847 <sys/user.h>.
8848
8849 2000-04-29 Mark Kettenis <kettenis@gnu.org>
8850
8851 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
8852
8853 2000-04-29 Ulrich Drepper <drepper@redhat.com>
8854
8855 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
8856 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
8857 arpa/inet.h.
8858 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
8859 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
8860 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
8861 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
8862 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
8863 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
8864 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
8865 posix_fallocate, and posix_madvise.
8866 * conform/data/netdb.h-data: New file.
8867 * conform/data/pthread.h-data: Add pthread_barrier_t,
8868 pthread_barrierattr_t, pthread_barrier_destroy,
8869 pthread_barrier_init, pthread_barrier_wait,
8870 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
8871 pthread_barrierattr_init, pthread_barrierattr_setpshared,
8872 pthread_condattr_getclock, pthread_condattr_setclock,
8873 pthread_getcpuclockid, pthread_mutex_timedlock,
8874 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
8875 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
8876 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
8877 * conform/data/sched.h-data: Add sched_ss_low_priority,
8878 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
8879 SCHED_SPORADIC.
8880 * conform/data/semaphore.h-data: Add sem_timedwait.
8881 * conform/data/signal.h-data: Add SIGIO.
8882 * conform/data/spawn.h-data: New file.
8883 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
8884 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
8885 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
8886 Fix typo in gmtime_r definition.
8887 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
8888 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
8889 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
8890 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
8891 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
8892 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
8893 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
8894 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
8895 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
8896 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
8897 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
8898 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
8899 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
8900 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
8901 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
8902 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
8903 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
8904 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
8905 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
8906 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
8907 typo in off_t definition.
8908 * conform/data/net/if.h-data: New file.
8909 * conform/data/netinet/in.h-data: New file.
8910 * conform/data/netinet/tcp.h-data: New file.
8911 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
8912 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
8913 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
8914 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
8915 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
8916 and posix_typed_mem_open.
8917 * conform/data/sys/socket.h-data: New file.
8918 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
8919 * conform/data/sys/types.h-data: Add pthread_barrier_t,
8920 pthread_barrierattr_t, and pthread_spinlock_t.
8921 * conform/data/sys/un.h-data: New file.
8922 * conform/data/sys/utsname.h-data: New file.
8923
8924 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
8925 parameter.
8926 * inet/gethstbyad.c (gethostbyname): Likewise.
8927 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
8928 * inet/getipnodebyad.c (getipnodebyad): Likewise.
8929 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
8930 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
8931 Likewise.
8932 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
8933 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
8934 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
8935 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
8936 * resolv/gethnamaddr.c (gethostbyname): Likewise.
8937 * resolv/netdb.h (struct hostent): Fix type of h_length member.
8938 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
8939 and second parameter.
8940
8941 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
8942 == NULL.
8943
8944 2000-04-29 Andreas Jaeger <aj@suse.de>
8945
8946 * conform/data/arpa/inet.h-data: New file.
8947
8948 2000-04-28 Geoff Clare <gwc@unisoft.com>
8949
8950 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
8951 path passed to ftw() or nftw() is an empty string.
8952 Closes PR libc/1710.
8953
8954 2000-04-27 Ulrich Drepper <drepper@redhat.com>
8955
8956 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
8957 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
8958 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
8959 * localedata/tst-mbswcs4.c: New file.
8960 * localedata/tst-mbswcs5.c: New file.
8961
8962 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
8963 == NULL. Little optimization.
8964
8965 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
8966 DT_PREINIT_ARRAYSZ).
8967 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
8968
8969 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
8970 overflows in conversion from ASCII.
8971
8972 2000-04-26 Jakub Jelinek <jakub@redhat.com>
8973
8974 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
8975 * Makerules (full_config_sysdirs): Likewise.
8976 * MakeTAGS (full_config_sysdirs): Likewise.
8977
8978 2000-04-26 Jakub Jelinek <jakub@redhat.com>
8979
8980 * .cvsignore: Remove linuxthreads.
8981 * po/.cvsignore: Remove *.pot.
8982 * posix/glob/.cvsignore: Removed.
8983 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
8984
8985 2000-04-25 Andreas Jaeger <aj@suse.de>
8986
8987 * conform/Makefile (distribute): Also distribute contents of
8988 subdirectories.
8989
8990 * Makerules (no_deps): Remove abi-versions.h.
8991
8992 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
8993
8994 2000-04-25 Jakub Jelinek <jakub@redhat.com>
8995
8996 * sysdeps/sparc/sparc64/elf/Dist: Remove.
8997 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
8998 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
8999 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
9000 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
9001 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
9002 objects.
9003
9004 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
9005
9006 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
9007
9008 2000-04-23 Bruno Haible <haible@clisp.cons.org>
9009
9010 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
9011 * intl/l10nflist.c: Likewise.
9012
9013 2000-04-23 Bruno Haible <haible@clisp.cons.org>
9014
9015 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
9016 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
9017 * intl/textdomain.c [!_LIBC]: Likewise.
9018 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
9019 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
9020 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
9021 syntax error.
9022
9023 2000-04-23 Bruno Haible <haible@clisp.cons.org>
9024
9025 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
9026 character set conversion also in the case the translation was found
9027 after a hash collision or through binary search. Store the maximum
9028 index together with the converted message. Use iconv() when available.
9029 In case of out of memory during conversion, return the unconverted
9030 translated string, not NULL.
9031
9032 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
9033
9034 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
9035 to avoid name clashes with the ia32 linker.
9036
9037 2000-04-25 Jakub Jelinek <jakub@redhat.com>
9038
9039 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
9040 handling.
9041
9042 2000-04-27 Ulrich Drepper <drepper@redhat.com>
9043
9044 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
9045 strtoumax, strfry, and memfrob.
9046 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
9047 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9048
9049 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
9050 if this function is available.
9051
9052 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
9053 all values.
9054
9055 2000-04-27 Jakub Jelinek <jakub@redhat.com>
9056
9057 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
9058
9059 2000-04-27 Ulrich Drepper <drepper@redhat.com>
9060
9061 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
9062 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
9063 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
9064 * localedata/tst-mbswcs3.c: New file.
9065
9066 2000-04-26 Ulrich Drepper <drepper@redhat.com>
9067
9068 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
9069 characters. Don't handle incomplete characters as errors.
9070 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
9071 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
9072 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
9073 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
9074 * localedata/tst-mbswcs2.c: New file.
9075
9076 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
9077 stored character in state in UNPACK_BYTES macro.
9078 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
9079 test for available characters, handle result of BODY code correctly.
9080 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
9081 (distribute): Add tst-mbswcs.sh.
9082 Add rule to run tst-mbswcs.sh.
9083 * localedata/tst-mbswcs.sh: New file.
9084 * localedata/tst-mbswcs1.c: New file.
9085
9086 2000-04-26 Jakub Jelinek <jakub@redhat.com>
9087
9088 * nis/nis_callback.c (__nis_create_callback): Do failed memory
9089 allocation fixups centrally, fix __builtin_expect call, return NULL
9090 on failure, not NIS_NOMEMORY.
9091
9092 2000-04-27 Bruno Haible <haible@clisp.cons.org>
9093
9094 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
9095
9096 * intl/loadinfo.h (internal_function): Define if not already defined.
9097
9098 2000-04-27 Andreas Jaeger <aj@suse.de>
9099
9100 * intl/libintl.h: Fix typo, reported by Bruno Haible
9101 <haible@clisp.cons.org>.
9102
9103 2000-04-25 Ulrich Drepper <drepper@redhat.com>
9104
9105 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
9106 setting the state to GMON_PROF_BUSY.
9107
9108 2000-04-24 Ulrich Drepper <drepper@redhat.com>
9109
9110 * elf/dl-profile.c (_dl_start_profile): define all variables which
9111 do not have to be global as local variables.
9112
9113 * nis/nis_callback.c (__nis_create_callback): Partially undo last
9114 patch. Keep needed tests for failed memory allocation.
9115
9116 * elf/dl-reloc.c (_dl_relocate_object): Add one more
9117 __builtin_expect saying that we don't normally expect to profile.
9118
9119 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
9120 __builtin_expect where desirable.
9121
9122 2000-04-23 Ulrich Drepper <drepper@redhat.com>
9123
9124 * manual/Makefile (chapters): Add syslog.
9125 * manual/syslog.texi: New file.
9126 * manual/math.texi: Fix references.
9127 * manual/terminal.texi: Likewise.
9128 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9129
9130 2000-04-18 Jakub Jelinek <jakub@redhat.com>
9131
9132 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
9133 stdlib.h was not included or __USE_XOPEN not defined.
9134
9135 2000-04-23 Ulrich Drepper <drepper@redhat.com>
9136
9137 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
9138 Patch by Zack Weinberg <zack@wolery.cumb.org>.
9139
9140 2000-04-22 Ulrich Drepper <drepper@redhat.com>
9141
9142 * manual/examples/subopt.c (mount_opts): Add missing terminating
9143 entry.
9144 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
9145
9146 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
9147 * libio/ftello.c: Likewise.
9148 * libio/ftello64.c: Likewise.
9149 * libio/ioftell.c: Likewise.
9150 * sysdeps/generic/memrchr.c: Likewise.
9151 * sysdeps/posix/libc_fatal.c: Likewise.
9152 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9153 * misc/fstab.c: Include <string.h> for strcmp prototype.
9154 * sysdeps/generic/ldsodefs.h: Likewise.
9155 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9156 Patch by Kurt Roeckx <Q@ping.be>.
9157
9158 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
9159 Remove db-open. Change all uses.
9160 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
9161
9162 2000-04-21 Jakub Jelinek <jakub@redhat.com>
9163
9164 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
9165 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
9166 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
9167 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
9168 with .set noat/at to shut up warnings.
9169 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
9170 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
9171 compilation if __NR_pciconfig_iobase is not defined.
9172 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
9173 Add alias.
9174
9175 2000-04-21 Ulrich Drepper <drepper@redhat.com>
9176
9177 * manual/sysinfo.texi: Fix typo.
9178 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
9179 Replace "high precision time" with "high accuracy clock".
9180 Fix language.
9181 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
9182
9183 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
9184 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
9185 instead of malloc.
9186 * nis/nis_subr.c: Use __builtin_expect.
9187 * nis/ypclnt.c: Likewise.
9188 * nis/nis_getservlist.c: Likewise.
9189 * nis/nis_creategroup.c: Likewise.
9190
9191 * nis/nis_callback.c (__nis_create_callback): Check result of
9192 memory allocation. Fix memory leaks. Use __builtin_expect.
9193 (__nis_destroy_callback): Fix memory leaks.
9194
9195 2000-04-21 Andreas Jaeger <aj@suse.de>
9196
9197 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
9198 * sysdeps/mips/mips64/add_n.S: Likewise.
9199 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
9200 * sysdeps/mips/mips64/lshift.S: Likewise.
9201 * sysdeps/mips/mips64/mul_1.S: Likewise.
9202 * sysdeps/mips/mips64/rshift.S: Likewise.
9203 * sysdeps/mips/mips64/setjmp.S: Likewise.
9204 * sysdeps/mips/mips64/sub_n.S: Likewise.
9205 * sysdeps/mips/mips64/submul_1.S: Likewise
9206 * sysdeps/unix/mips/sysdep.S: Likewise.
9207
9208 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
9209 and update comment. The strtab from _dl_relocate_object can be
9210 used.
9211
9212 2000-04-21 Ulrich Drepper <drepper@redhat.com>
9213
9214 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
9215 * iconv/iconv_close.c (iconv_close): Likewise.
9216 * iconv/iconv_open.c (iconv_open): Likewise.
9217
9218 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
9219 __builtin_expect where useful.
9220
9221 * grp/initgroups.c (initgroups): Test for result of memory
9222 allocation and punt if it fails.
9223
9224 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
9225 * grp/fgetgrent.c (fgetfrent): Likewise.
9226 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
9227
9228 2000-04-21 Jakub Jelinek <jakub@redhat.com>
9229
9230 * libio/vasprintf.c: Include string.h to get memcpy prototype.
9231
9232 2000-04-20 Ulrich Drepper <drepper@redhat.com>
9233
9234 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
9235 don't search for NUL byte to decrement counter.
9236 Reported by Ulrich.Brink@sap.com.
9237
9238 * iconv/gconv_simple.c: Define separate functions to convert from
9239 UCS4/UCS4-LE to the internal encoding.
9240 * iconv/gconv_builtin.h: Use separate functions to convert from
9241 UCS4/UCS4-LE to the internal encoding.
9242 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
9243 __gconv_transform_ucs4le_internal.
9244
9245 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
9246 output buffer overflow. Reported by Ulrich.Brink@sap.com.
9247
9248 * iconv/skeleton.c: Add some more __builtin_expect.
9249 * iconv/loop.c: Likewise.
9250
9251 2000-03-08 H.J. Lu <hjl@gnu.org>
9252
9253 * posix/regex.c (regex_compile): Correctly handle "\{" when
9254 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
9255
9256 2000-04-20 Ulrich Drepper <drepper@redhat.com>
9257
9258 * manual/stdio.texi: Give advise about handling error when using
9259 stream functions.
9260 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
9261
9262 2000-04-19 Jakub Jelinek <jakub@redhat.com>
9263
9264 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
9265 field to nelems * sizeof (uint32_t).
9266 * locale/programs/ld-address.c (address_output): Align word fields
9267 properly.
9268 * locale/programs/ld-monetary.c (monetary_output): Likewise.
9269 Don't restart idx pointers to idx end at the duo_int_curr_symbol
9270 field.
9271 Avoid giving arbitrary garbage in the crncystr field.
9272 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
9273 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
9274 fields.
9275 * locale/programs/ld-numeric.c (numeric_output): Likewise.
9276 Don't restart idx pointers to idx end at the decimal_point_wc field.
9277 * locale/programs/ld-time.c (time_output): week_1stday should be
9278 word, not byte. Align it properly.
9279
9280 2000-04-19 H.J. Lu <hjl@gnu.org>
9281
9282 * csu/gmon-start.c (_start): Declared as "extern void".
9283 (etext): Likewise.
9284
9285 2000-04-18 Andreas Jaeger <aj@suse.de>
9286
9287 * manual/install.texi (Running make install): Don't mention utmpd
9288 anymore.
9289
9290 2000-04-18 Andreas Jaeger <aj@suse.de>
9291
9292 * linuxthreads/Versions: Use ld instead of ld.so.
9293
9294 * elf/Makefile (ld-map): Use ld.map.
9295
9296 * Versions.def: Use ld instead of ld.so.
9297 * elf/Versions: Likewise.
9298 * sysdeps/mach/hurd/Versions: Likewise.
9299
9300 2000-04-20 Andreas Jaeger <aj@suse.de>
9301
9302 * elf/rtld.c (print_statistics): Move ifndef further up.
9303 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
9304 (dl_main): Likewise.
9305
9306 2000-04-18 Ulrich Drepper <drepper@redhat.com>
9307
9308 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
9309 * gmon/Versions: Move moncontrol to GLIBC_2.2.
9310
9311 * po/cs.po: Update from translation team.
9312
9313 * sysdeps/generic/updwtmp.c: Remove daemon support.
9314
9315 * login/Makefile (routines): Remove utmp_daemon.
9316
9317 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
9318 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
9319 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
9320 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
9321
9322 * elf/rtld.c: Display statitics option also if hp timing is not
9323 available.
9324
9325 * login/programs/connection.c: Removed.
9326 * login/programs/database.c Removed.
9327 * login/programs/error.c: Removed.
9328 * login/programs/request.c: Removed.
9329 * login/programs/xtmp.c: Removed.
9330 * login/programs/xtmp.h: Removed.
9331 * login/Makefile: Remove rules for utmpd.
9332 * login/README.utmpd: Removed.
9333 * login/utmp_daemon.c: Removed.
9334 * login/getutent_r.c: Remove references to daemon functions.
9335 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
9336 declaration.
9337
9338 2000-04-18 Andreas Jaeger <aj@suse.de>
9339
9340 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
9341 2.2 for libnsl, libresolv, librt, libnss_*.
9342
9343 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
9344
9345 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
9346
9347 2000-04-18 Ulrich Drepper <drepper@redhat.com>
9348
9349 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
9350 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
9351 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
9352 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
9353 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
9354 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
9355 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
9356 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
9357 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
9358 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
9359 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
9360 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
9361 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
9362 it here.
9363 * sysdeps/unix/sysv/aix/msync.c: New file.
9364 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
9365 * sysdeps/unix/sysv/aix/net/if.h: New file.
9366 * sysdeps/unix/sysv/aix/pipe.c: New file.
9367 * sysdeps/unix/sysv/aix/poll.c: New file.
9368 * sysdeps/unix/sysv/aix/rename.c: New file.
9369 * sysdeps/unix/sysv/aix/rmdir.c: New file.
9370 * sysdeps/unix/sysv/aix/select.c: New file.
9371 * sysdeps/unix/sysv/aix/semctl.c: New file.
9372 * sysdeps/unix/sysv/aix/semget.c: New file.
9373 * sysdeps/unix/sysv/aix/semop.c: New file.
9374 * sysdeps/unix/sysv/aix/sendto.c: New file.
9375 * sysdeps/unix/sysv/aix/setgroups.c: New file.
9376 * sysdeps/unix/sysv/aix/setpgid.c: New file.
9377 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
9378 * sysdeps/unix/sysv/aix/setpriority.c: New file.
9379 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
9380 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
9381 * sysdeps/unix/sysv/aix/setsid.c: New file.
9382 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
9383 * sysdeps/unix/sysv/aix/shmat.c: New file.
9384 * sysdeps/unix/sysv/aix/shmctl.c: New file.
9385 * sysdeps/unix/sysv/aix/shmdt.c: New file.
9386 * sysdeps/unix/sysv/aix/shmget.c: New file.
9387 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
9388 * sysdeps/unix/sysv/aix/sigstack.c: New file.
9389 * sysdeps/unix/sysv/aix/socket.c: New file.
9390 * sysdeps/unix/sysv/aix/socketpair.c: New file.
9391 * sysdeps/unix/sysv/aix/speed.c: New file.
9392 * sysdeps/unix/sysv/aix/symlink.c: New file.
9393 * sysdeps/unix/sysv/aix/sync.c: New file.
9394 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
9395 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
9396 * sysdeps/unix/sysv/aix/times.c: New file.
9397 * sysdeps/unix/sysv/aix/ulimit.c: New file.
9398 * sysdeps/unix/sysv/aix/umask.c: New file.
9399 * sysdeps/unix/sysv/aix/unlink.c: New file.
9400 * sysdeps/unix/sysv/aix/ustat.c: New file.
9401 * sysdeps/unix/sysv/aix/utimes.c: New file.
9402
9403 2000-04-18 Andreas Jaeger <aj@suse.de>
9404
9405 * manual/startup.texi (Environment Access): Fix putenv prototype
9406 according to recent changes.
9407 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
9408 PR libc/1692.
9409
9410 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
9411 needed.
9412
9413 2000-04-18 Ulrich Drepper <drepper@redhat.com>
9414
9415 * posix/Makefile (tests): Add tst-getaddrinfo.
9416 * posix/tst-getaddrinfo.c: New file.
9417
9418 2000-04-17 Ulrich Drepper <drepper@redhat.com>
9419
9420 * manual/sysinfo.texi: Document that umount2 is not widely available.
9421
9422 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
9423 signal timing is not really implemented.
9424
9425 2000-04-17 Andreas Jaeger <aj@suse.de>
9426
9427 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
9428
9429 2000-04-17 Jakub Jelinek <jakub@redhat.com>
9430
9431 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
9432 and inst_libdir.
9433
9434 2000-04-17 Ulrich Drepper <drepper@redhat.com>
9435
9436 * manual/intro.texi: Change reference from System Information to
9437 System Management.
9438 * manual/users.texi: Likewise.
9439 * manual/conf.texi: Likewise.
9440 * manual/sysinfo.texi: Document mount, umount, and umount2.
9441 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9442
9443 2000-04-17 Jakub Jelinek <jakub@redhat.com>
9444
9445 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
9446 Create wnumstr as well as numstr to support wide character output
9447 correctly.
9448
9449 2000-04-15 Jakub Jelinek <jakub@redhat.com>
9450
9451 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
9452 modification and move it...
9453 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
9454 Add -melf64_sparc switch to $(LD) on sparc64-linux.
9455 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
9456 switch to $(LD) on sparc-linux.
9457
9458 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
9459
9460 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
9461 and setresuid from sysdep_routines.
9462
9463 2000-04-17 Ulrich Drepper <drepper@redhat.com>
9464
9465 * manual/Makefile (chapters): Add resource.
9466
9467 * manual/time.texi: Move section on resources to...
9468 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
9469 and vtimes.
9470 * manual/setjmp.texi: Adjust back reference.
9471 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9472
9473 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
9474 definition.
9475 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
9476 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
9477 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
9478 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
9479 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
9480 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
9481 * sysdeps/unix/sysv/aix/close.c: Add copyright.
9482 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
9483 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
9484 * sysdeps/unix/sysv/aix/access.c: Add copyright.
9485 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
9486 * sysdeps/unix/sysv/aix/Implies: New file.
9487 * sysdeps/unix/sysv/aix/Versions: New file.
9488 * sysdeps/unix/sysv/aix/bind.c: New file.
9489 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
9490 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
9491 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
9492 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
9493 * sysdeps/unix/sysv/aix/chdir.c: New file.
9494 * sysdeps/unix/sysv/aix/chmod.c: New file.
9495 * sysdeps/unix/sysv/aix/chroot.c: New file.
9496 * sysdeps/unix/sysv/aix/creat.c: New file.
9497 * sysdeps/unix/sysv/aix/dl-close.c: New file.
9498 * sysdeps/unix/sysv/aix/dl-open.c: New file.
9499 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
9500 * sysdeps/unix/sysv/aix/fchdir.c: New file.
9501 * sysdeps/unix/sysv/aix/fchmod.c: New file.
9502 * sysdeps/unix/sysv/aix/getgroups.c: New file.
9503 * sysdeps/unix/sysv/aix/gethostname.c: New file.
9504 * sysdeps/unix/sysv/aix/getpriority.c: New file.
9505 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
9506 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
9507 * sysdeps/unix/sysv/aix/getrusage.c: New file.
9508 * sysdeps/unix/sysv/aix/link.c: New file.
9509 * sysdeps/unix/sysv/aix/madvise.c: New file.
9510 * sysdeps/unix/sysv/aix/mkdir.c: New file.
9511 * sysdeps/unix/sysv/aix/mknod.c: New file.
9512 * sysdeps/unix/sysv/aix/mprotect.c: New file.
9513 * sysdeps/unix/sysv/aix/msgctl.c: New file.
9514 * sysdeps/unix/sysv/aix/msgget.c: New file.
9515 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
9516
9517 2000-04-17 Andreas Jaeger <aj@suse.de>
9518
9519 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
9520 as suggested by Ulrich Drepper.
9521 (__dl_runtime_resolve): Remove unused variable, initialize sym
9522 directly.
9523 (RTLD_START): Document OFFSET_GP_GOT.
9524 (OFFSET_GP_GOT): New magic value.
9525 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
9526 (elf_machine_got_rel): Only declare strtab if needed.
9527 (elf_machine_relplt): Removed, it's not needed.
9528 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
9529
9530 * sysdeps/mips/add_n.S: Add newline at EOF.
9531 * sysdeps/mips/rshift.S: Likewise.
9532 * sysdeps/mips/mul_1.S: Likewise.
9533 * sysdeps/mips/lshift.S: Likewise.
9534 * sysdeps/mips/addmul_1.S: Likewise.
9535
9536 2000-04-17 Ulrich Drepper <drepper@redhat.com>
9537
9538 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
9539
9540 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
9541 * elf/dl-lookup.c: Likewise.
9542 * elf/dl-init.c (_dl_init): Likewise.
9543 * elf/dl-fini.c (_dl_fini): Likewise.
9544 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
9545 * elf/dl-close.c (_dl_close): Likewise.
9546 * elf/rtld.c (_dl_start_final): Likewise.
9547
9548 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
9549
9550 2000-04-15 Ulrich Drepper <drepper@redhat.com>
9551
9552 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
9553 only fall back on using Linux.
9554
9555 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
9556 Before testing versions check that we actually loaded the object
9557 and whether we are in trace mode. If not loaded during tracing don't
9558 test versions in this object.
9559 (_dl_check_all_versions): Take new parameter and pass to
9560 _dl_check_map_versions.
9561 * sysdeps/generic/ldsodefs.h: Update prototypes for
9562 _dl_check_all_versions and _dl_check_map_versions.
9563 * elf/rtld.c (struct version_check_args): Add dotrace.
9564 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
9565 (dl_main): Pass info about trace mode to version_check_doit.
9566 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
9567 _dl_check_all_versions.
9568
9569 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
9570 and getutmpx.
9571 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
9572
9573 * manual/argp.texi: Document index parameter of argp_parse.
9574 Fix typo.
9575 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
9576
9577 2000-04-14 Andreas Jaeger <aj@suse.de>
9578
9579 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
9580 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
9581
9582 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
9583
9584 2000-04-15 Ulrich Drepper <drepper@redhat.com>
9585
9586 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
9587 compat_symbol call for old adjtime.
9588
9589 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
9590 function interface. Patch by Richard Henderson <rth@cygnus.com>.
9591
9592 * posix/Makefile (headers): Add spawn.h.
9593 (distribute): Add spawn_int.h.
9594 (routines): Add spawn_faction_init, spawn_faction_destroy,
9595 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
9596 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
9597 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
9598 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
9599 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
9600 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
9601 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
9602 posix_spawnattr_init, posix_spawnattr_destroy,
9603 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
9604 posix_spawnattr_getflags, posix_spawnattr_setflags,
9605 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
9606 and posix_spawnp.
9607 * posix/spawn.c: New file.
9608 * posix/spawn.h: New file.
9609 * posix/spawn_faction_addclose.c: New file.
9610 * posix/spawn_faction_adddup2.c: New file.
9611 * posix/spawn_faction_addopen.c: New file.
9612 * posix/spawn_faction_destroy.c: New file.
9613 * posix/spawn_faction_init.c: New file.
9614 * posix/spawn_int.h: New file.
9615 * posix/spawnattr_destroy.c: New file.
9616 * posix/spawnattr_getdefault.c: New file.
9617 * posix/spawnattr_getflags.c: New file.
9618 * posix/spawnattr_getpgroup.c: New file.
9619 * posix/spawnattr_getschedparam.c: New file.
9620 * posix/spawnattr_getschedpolicy.c: New file.
9621 * posix/spawnattr_getsigmask.c: New file.
9622 * posix/spawnattr_init.c: New file.
9623 * posix/spawnattr_setdefault.c: New file.
9624 * posix/spawnattr_setflags.c: New file.
9625 * posix/spawnattr_setpgroup.c: New file.
9626 * posix/spawnattr_setschedparam.c: New file.
9627 * posix/spawnattr_setschedpolicy.c: New file.
9628 * posix/spawnattr_setsigmask.c: New file.
9629 * posix/spawni.c: New file.
9630 * posix/spawnp.c: New file.
9631
9632 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
9633 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
9634
9635 2000-04-14 Ulrich Drepper <drepper@redhat.com>
9636
9637 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
9638 * malloc/malloc.c: Implement posix_memalign for glibc.
9639 * include/stdlib.h: Add prototype for __posix_memalign.
9640 * stdlib/stdlib.h: Add prototype for posix_memalign.
9641
9642 2000-04-14 Andreas Jaeger <aj@suse.de>
9643
9644 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
9645 symidx correctly.
9646 (elf_machine_got_rel): Cast sym correctly.
9647
9648 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
9649 * sysdeps/mips/addmul_1.S: Likewise.
9650 * sysdeps/mips/lshift.S: Likewise.
9651 * sysdeps/mips/mul_1.S: Likewise.
9652 * sysdeps/mips/rshift.S: Likewise.
9653 * sysdeps/mips/sub_n.S: Likewise.
9654 * sysdeps/mips/submul_1.S: Likewise.
9655
9656 * stdlib/stdlib.h: Fix typo in comment.
9657
9658 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
9659 2.2 for libdl, ld and libm.
9660
9661 * sysdeps/generic/madvise.c: Fix typos.
9662
9663 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
9664
9665 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
9666
9667 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
9668 warnings.
9669
9670 2000-04-14 Ulrich Drepper <drepper@redhat.com>
9671
9672 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
9673 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
9674 Make old name weak alias.
9675 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
9676 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
9677 Make old name weak alias.
9678 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
9679
9680 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
9681 posix_fallocate, and posix_fallocate64.
9682 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
9683 posix_fallocate, and posix_fallocate64.
9684 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
9685 posix_fallocate, and posix_fallocate64.
9686 * sysdeps/generic/fadvise.c: New file.
9687 * sysdeps/generic/fadvise64.c: New file.
9688 * sysdeps/generic/fallocate.c: New file.
9689 * sysdeps/generic/fallocate64.c: New file.
9690 * sysdeps/posix/fallocate.c: New file.
9691 * sysdeps/posix/fallocate64.c: New file.
9692 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
9693 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
9694 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
9695 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
9696 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
9697 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
9698 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9699 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
9700 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9701
9702 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
9703 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9704
9705 2000-04-13 Ulrich Drepper <drepper@redhat.com>
9706
9707 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
9708 * misc/sys/mman.h (posix_madvise): Add prototype.
9709 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
9710 old name and posix_madvise weak aliases.
9711 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9712 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
9713 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
9714 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
9715 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
9716 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9717 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9718
9719 2000-04-13 Andreas Jaeger <aj@suse.de>
9720
9721 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
9722 versioning.
9723 (elf_machine_got_rel): Only add runtime display if needed.
9724 (elf_machine_got_rel): Handle symbol versioning.
9725
9726 2000-04-13 Andreas Jaeger <aj@suse.de>
9727
9728 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
9729
9730 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
9731 default.
9732
9733 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
9734 with some applications.
9735 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
9736
9737 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
9738 * sysdeps/mips/bsd-_setjmp.S: Likewise.
9739 * sysdeps/mips/setjmp.S: Likewise.
9740
9741 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
9742
9743 2000-04-13 Ulrich Drepper <drepper@redhat.com>
9744
9745 * posix/globtest.sh: Work around inconsistency with expanding ~/
9746 in shell (PR libc/1690). Reported by patsmith@pobox.com.
9747
9748 2000-04-12 Ulrich Drepper <drepper@redhat.com>
9749
9750 * posix/getconf.c: Add support for many more POSIX options.
9751 * sysdeps/posix/sysconf.c: Likewise.
9752 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
9753 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
9754 _POSIX_SHELL.
9755 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
9756 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
9757 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
9758 CLOCK_THREAD_CPUTIME_ID.
9759 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
9760 CLOCK_PROCESS_CPUTIME_ID.
9761 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
9762 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
9763 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
9764 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
9765
9766 * malloc/Makefile (tests): Add tst-calloc.
9767 * malloc/tst-calloc.c: New file.
9768
9769 * sysdeps/arm/libm-test-ulps: New file.
9770
9771 * malloc/malloc.c: Undo all of today's changes.
9772
9773 * locale/programs/locale.c (show_info): Don't try to look into
9774 data for LC_ALL (there is none).
9775
9776 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
9777 avoid writing over boundary.
9778 Patch by Greg McGary <gkm@eng.ascend.com>.
9779
9780 * sysdeps/arm/memprof.h: New file.
9781
9782 2000-04-12 Andreas Jaeger <aj@suse.de>
9783
9784 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
9785
9786 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
9787 for memmem declaration.
9788
9789 2000-04-12 Ulrich Drepper <drepper@redhat.com>
9790
9791 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
9792 to -1.
9793 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
9794
9795 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
9796 mode is invalid.
9797 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
9798 Patch by Bart Veer <bartv@redhat.com>.
9799
9800 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
9801 function interface.
9802
9803 2000-04-11 Andreas Jaeger <aj@suse.de>
9804
9805 * sysdeps/mips/dl-machine.h: Update some comments.
9806 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
9807
9808 2000-04-11 Ulrich Drepper <drepper@redhat.com>
9809
9810 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
9811 _POSIX_SHARED_MEMORY_OBJECTS.
9812
9813 * rt/Makefile (tests): Add tst-shm.
9814 Add rules to generate tst-shm.
9815 * rt/tst-shm.c: New file.
9816
9817 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
9818 for descriptor.
9819
9820 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
9821 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
9822 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
9823 * sysdeps/generic/shm_open.c: New file.
9824 * sysdeps/generic/shm_unlink.c: New file.
9825 * sysdeps/unix/sysv/linux/shm_open.c: New file.
9826 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
9827 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
9828 __endmntent, __getmntent_r, __setmntent, and __statfs.
9829
9830 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
9831 fragmentation by allocating new memory at the end instead of
9832 reallocating.
9833
9834 * posix/globtest.sh: Fix last change.
9835
9836 2000-04-10 Philip Blundell <philb@gnu.org>
9837
9838 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
9839 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
9840 IPV6_DROP_MEMBERSHIP.
9841 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
9842 Likewise.
9843
9844 2000-04-11 Ulrich Drepper <drepper@redhat.com>
9845
9846 * elf/readlib (process_file): Close streams in case of an error.
9847
9848 2000-04-09 Andreas Jaeger <aj@suse.de>
9849
9850 * elf/readlib.c (process_file): Check if file is big enough to
9851 contain aout and ELF headers.
9852 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
9853
9854 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
9855
9856 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
9857
9858 2000-04-11 Ulrich Drepper <drepper@redhat.com>
9859
9860 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
9861 stream unbuffered.
9862 * rt/Makefile (tests): Add tst-clock.
9863 Add rules to build tst-clock.
9864 * rt/tst-clock.c: New file.
9865 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
9866 about initialization of nsec.
9867 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
9868 about initialization of freq. Set retval to zero if successful.
9869 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
9870
9871 2000-04-10 Ulrich Drepper <drepper@redhat.com>
9872
9873 * Versions.def (librt): Add GLIBC_2.2.
9874 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
9875 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
9876 timer_getoverr, timer_gettime, and timer_settime.
9877 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
9878 clock_settime, timer_create, timer_delete, timer_getoverrun,
9879 timer_gettime, and timer_settime.
9880 * sysdeps/generic/clock_getcpuclockid.c: New file.
9881 * sysdeps/generic/get_clockfreq.c: New file.
9882 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
9883 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
9884 * sysdeps/mach/hurd/i386/bits/time.h: New file.
9885 * sysdeps/unix/i386/i586/clock_getres.c: New file.
9886 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
9887 * sysdeps/unix/i386/i686/Implies: New file.
9888 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
9889 * time/Makefile (routines): Move clock_getres, clock_gettime,
9890 clock_settime, timer_create, timer_delete, timer_getoverr,
9891 timer_gettime, and timer_settime to rt/Makefile.
9892 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
9893 clock_settime, timer_create, timer_delete, timer_getoverrun,
9894 timer_gettime, and timer_settime.
9895 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
9896
9897 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
9898 and not const as attribute name.
9899
9900 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
9901
9902 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
9903
9904 2000-04-10 Andreas Schwab <schwab@suse.de>
9905
9906 * posix/globtest.sh: Skip tests that depend on unreadable
9907 directories if run as root.
9908
9909 2000-04-10 Ulrich Drepper <drepper@redhat.com>
9910
9911 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
9912 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
9913
9914 2000-04-09 Ulrich Drepper <drepper@redhat.com>
9915
9916 * sysdeps/unix/clock_gettime.c: New file.
9917 * sysdeps/unix/clock_settime.c: New file.
9918 * sysdeps/posix/clock_getres.c: New file.
9919
9920 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
9921
9922 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
9923 lseek call be passing in a buffer which never allow a successful
9924 first getdents syscall if not at leas the initial entry can be
9925 stored in the user buffer.
9926
9927 * localedata/Makefile: Add rules to clean up directories created by
9928 new strfmon tests.
9929
9930 2000-04-09 Geoff Clare <gwc@unisoft.com>
9931
9932 * localedata/tst-fmon.data: Added new tests for strfmon()
9933 using test locales with all combinations of cs_precedes,
9934 sign_posn and sep_by_space.
9935 * localedata/tst-fmon.sh: Updated to support the new tests.
9936 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
9937 the localedef source for the new strfmon() test locale.
9938 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
9939 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
9940 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
9941 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
9942 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
9943 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
9944 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
9945 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
9946 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
9947 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
9948 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
9949 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
9950 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
9951 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
9952
9953 * stdlib/strfmon.c: Correct problems with missing or extra
9954 spaces for unusual combinations of sign_posn and sep_by_space.
9955 Improved left-precision alignment code.
9956
9957 2000-04-07 Andreas Jaeger <aj@suse.de>
9958
9959 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
9960
9961 2000-04-10 Andreas Jaeger <aj@suse.de>
9962
9963 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
9964
9965 2000-04-09 Ulrich Drepper <drepper@redhat.com>
9966
9967 Implement handling of restartable conversion functions according to
9968 ISO C.
9969 * iconv/gconv.h (__gconv_fct): Add additional parameter.
9970 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
9971 * iconv/gconv.c: Pass additional parameter to conversion function.
9972 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
9973 (internal_ucs4le_loop_single): New function.
9974 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
9975 (__gconv_transform_internal_ascii): Likewise.
9976 (__gconv_transform_internal_utf8): Likewise.
9977 (__gconv_transform_utf8_internal): Likewise.
9978 (__gconv_transform_ucs2_internal): Likewise.
9979 (__gconv_transform_internal_ucs2): Likewise.
9980 (__gconv_transform_ucs2reverse_internal): Likewise.
9981 (__gconv_transform_internal_ucs2reverse): Likewise.
9982 (internal_ucs4le_loop_unaligned): Before return
9983 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
9984 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
9985 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
9986 * iconv/loop.c: Fit in definition of function to convert one character
9987 for processing of left-over bytes from the state object.
9988 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
9989 inend to match names in loop functions.
9990 (RESET_INPUT_BUFFER): Change apprpriately.
9991 (gconv): If needed, call function to process bytes from the state
9992 object. Similar at the end: store left over bytes if input is
9993 incomplete.
9994 Take extra argument and add new argument to all calls of the
9995 conversion function.
9996 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
9997 information in the state object to not conflict with length count.
9998 * iconvdata/iso-2022-jp.c: Likewise.
9999 * iconvdata/iso-2022-kr.c: Likewise.
10000 * iconvdata/unicode.c: Adjust for change change in parameters of
10001 skeleton function.
10002 * iconvdata/utf-16.c: Likewise.
10003 * libio/iofwide.c: Add new parameter to all calls of conversion
10004 function.
10005 * wcsmbs/btowc.c: Likewise.
10006 * wcsmbs/mbrtowc.c: Likewise.
10007 * wcsmbs/mbsnrtowcs.c: Likewise.
10008 * wcsmbs/mbsrtowcs.c: Likewise.
10009 * wcsmbs/wcrtomb.c: Likewise.
10010 * wcsmbs/wcsnrtombs.c: Likewise.
10011 * wcsmbs/wcsrtombs.c: Likewise.
10012 * wcsmbs/wctob.c: Likewise.
10013
10014 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
10015 MAX_NEEDED_INPUT.
10016
10017 2000-04-07 Andreas Jaeger <aj@suse.de>
10018
10019 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
10020 newer kernels.
10021
10022 2000-04-07 Ulrich Drepper <drepper@redhat.com>
10023
10024 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
10025 element a union to allow byte access.
10026 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
10027 mbstate_t.
10028 * iconvdata/iso-2022-jp.c: Likewise.
10029 * iconvdata/iso-2022-kr.c: Likewise.
10030 * wcsmbs/mbsinit.c: Likewise.
10031 * stdlib/mblen.c: Likewise.
10032 * stdio-common/printf-parse.h: Likewise.
10033
10034 2000-04-06 Ulrich Drepper <drepper@redhat.com>
10035
10036 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
10037 kernel does not allow relative seeks on descriptors associated
10038 with directories. Go back to get the position in the directory
10039 every time we enter the function. Return -1 and set errno if one
10040 entry could be read from the kernel but does not fit into the
10041 buffer passed in by the user.
10042
10043 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
10044 Support ..(2).. ellipsis.
10045 (parse_charmap): Recognize ..(2).. etc and pass step down.
10046 Correctly generate names for UCS4 characters.
10047
10048 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
10049 (ctype_finish): We know the wide character value for <SP>,
10050 don't search.
10051 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
10052 (charclass_ucs4_ellipsis): Likewise.
10053 (read_translit_ignore_entry): Store ellipsis step.
10054 (ctype_read): Recognize ..(2).. etc and pass step down.
10055
10056 * locale/programs/linereader.c (lr_token): When seeing comment
10057 character ignore only rest of line in sources but stop at escaped
10058 newline.
10059 Recognize ..(2).. and ....(2).....
10060
10061 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
10062 and tok_ellipsis4_2.
10063
10064 2000-04-06 Andreas Jaeger <aj@suse.de>
10065
10066 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
10067 removed, remove it here also.
10068 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
10069 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
10070 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
10071 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
10072
10073 2000-04-06 Jakub Jelinek <jakub@redhat.com>
10074
10075 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
10076 include bits/sigcontext.h.
10077 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
10078
10079 2000-04-06 Ulrich Drepper <drepper@redhat.com>
10080
10081 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
10082 collation symbol definition. Value in quivalence definition must
10083 be defined, don't check that it is not.
10084
10085 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
10086 values as character names.
10087
10088 * locale/programs/ld-ctype.c (get_character): Handle missing
10089 repertoire map correctly.
10090
10091 2000-04-05 Cristian Gafton <gafton@redhat.com>
10092
10093 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
10094 because it is used in generic code.
10095 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
10096 * wcsmbs/wcwidth.h: Declare __ctype32_b.
10097 * intl/gettext.c: Include <locale.h>.
10098 * intl/ngettext.c: Likewise.
10099
10100 2000-04-05 Jakub Jelinek <jakub@redhat.com>
10101
10102 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
10103 socklen_t type for size.
10104 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
10105 init function interface.
10106 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10107 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
10108 sys/ucontext.h.
10109 (__jmp_buf): Declare the whole type structure here, don't use
10110 ucontext.
10111
10112 2000-04-05 Ulrich Drepper <drepper@redhat.com>
10113
10114 * iconv/skeleton.c (put16u): Fix typo.
10115 Reported by Bruno Haible <haible@ilog.fr>.
10116
10117 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
10118 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
10119 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
10120 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
10121 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
10122 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
10123
10124 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
10125 * Makefile (distribute): Add abi-versions.awk and
10126 firstversions.awk.
10127 Patches by Torsten Duwe <duwe@caldera.de>.
10128
10129 2000-04-05 Andreas Schwab <schwab@suse.de>
10130
10131 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
10132
10133 2000-04-05 Andreas Schwab <schwab@suse.de>
10134
10135 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
10136 entry point, used on Hurd.
10137
10138 2000-04-04 Andreas Jaeger <aj@suse.de>
10139
10140 * intl/Makefile: Only run the gettext test with shared libraries.
10141
10142 2000-03-16 Mark Kettenis <kettenis@gnu.org>
10143
10144 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
10145 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
10146
10147 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
10148
10149 * Makeconfig: Undo last change.
10150 * configure.in: If --disable-shared was given, don't set VERSIONING,
10151 don't define DO_VERSIONING, and don't give scare warning for no
10152 versioning.
10153 * configure: Regenerated.
10154
10155 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
10156
10157 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
10158
10159 2000-04-04 Andreas Jaeger <aj@suse.de>
10160
10161 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
10162
10163 2000-04-04 Ulrich Drepper <drepper@redhat.com>
10164
10165 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
10166 STV_HIDDEN and STV_INTERNAL during lookup.
10167 (profile_fixup): Likewise.
10168 * elf/dl-reloc.c (RESOLVE): Likewise.
10169
10170 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
10171 unaligned so that it compiles for system which need unaligned
10172 access handling.
10173
10174 2000-04-04 Andreas Schwab <schwab@suse.de>
10175
10176 * elf/cache.c (print_entry): Only look at the type field when
10177 printing the type.
10178
10179 2000-04-04 Andreas Schwab <schwab@suse.de>
10180
10181 * iconvdata/big5.c (BODY): Fix typo.
10182
10183 2000-04-04 Andreas Schwab <schwab@suse.de>
10184
10185 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
10186 function interface. Remove unused _dl_start_user entry point.
10187
10188 2000-04-03 Andreas Jaeger <aj@suse.de>
10189
10190 * include/arpa/inet.h (__inet_aton): Add protoype.
10191
10192 2000-04-01 Andreas Jaeger <aj@suse.de>
10193
10194 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
10195
10196 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
10197 * sysdeps/mach/mips/thread_state.h: Likewise.
10198
10199 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
10200 * sysdeps/generic/fegetenv.c: Likewise.
10201 * sysdeps/generic/fesetenv.c: Likewise.
10202 * sysdeps/generic/feupdateenv.c: Likewise.
10203 * sysdeps/generic/fraiseexcpt.c: Likewise.
10204 * sysdeps/generic/fsetexcptflg.c: Likewise.
10205 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
10206 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
10207 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
10208 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10209
10210 2000-04-02 H.J. Lu <hjl@gnu.org>
10211
10212 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
10213
10214 2000-04-03 Ulrich Drepper <drepper@redhat.com>
10215
10216 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
10217 (add_name_to_object): Add cast in malloc call.
10218 (fillin_rpath): Optimize loop to initialize ->status a bit.
10219
10220 * sysdeps/i386/dl-machine.h: Undo last change.
10221 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
10222 Restore %edx register after call here.
10223
10224 * sysdeps/arm/atomicity.h: New file.
10225 Contributed by Jesper Skov <jskov@redhat.com>.
10226
10227 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
10228
10229 * Makeconfig (preprocess-versions): Undo last change.
10230 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
10231
10232 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
10233 here, before we might move the stack.
10234 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
10235 (init1): And not here.
10236
10237 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
10238 change, to restore argc value in call-clobbered register after
10239 RTLD_START_SPECIAL_INIT, which will contain a call.
10240
10241 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
10242 allocating and initializing L->l_initfini.
10243
10244 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
10245
10246 2000-04-03 Ulrich Drepper <drepper@redhat.com>
10247
10248 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
10249 RUNPATH, RPATH, and LD_LIBRARY_PATH.
10250 (open_path): Change type of fourth parameter. Make pointer to array
10251 of pointers. Create variable dirs with original type.
10252 Track whether any directory for the object exists and if not,
10253 change *DIRSP to (void*) -1 to signal there is no such search path.
10254 (_dl_map_object): Change all calls of open_path.
10255 Rewrite decompose_rpath calls.
10256
10257 2000-03-31 Andreas Schwab <schwab@suse.de>
10258
10259 * string/strfry.c: Declare STATE as array of char instead of int
10260 and do not initialize it (done by initstate_r). Pass correct
10261 size.
10262
10263 2000-04-03 Ulrich Drepper <drepper@redhat.com>
10264
10265 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
10266
10267 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
10268 instruction out of the code.
10269
10270 2000-04-02 Ulrich Drepper <drepper@redhat.com>
10271
10272 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
10273 element at this position.
10274
10275 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
10276 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
10277 l_reldeps elements.
10278 * elf/dl-lookup.c (add_dependency): New function.
10279 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
10280 dynamically loaded object.
10281 (_dl_lookup_symbol_skip): Likewise.
10282 (_dl_lookup_versioned_symbol): Likewise.
10283 (_dl_lookup_versioned_symbol_skip): Likewise.
10284 * elf/dl-open.c: Don't define _dl_load_lock here...
10285 * elf/rtld.c: ...but here...
10286 * elf/dl-support.c: ...and here.
10287 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
10288 through relocation.
10289 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
10290 relocations.
10291 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
10292 anymore.
10293 * dlfcn/glrefmain.c: Add one more debug message.
10294
10295 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
10296 command line.
10297 * Makerules (sysd-versions): Use ( ) instead of { }.
10298
10299 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
10300 optimize for the non-debugging case.
10301 * elf/dl-lookup.c: Likewise.
10302 * sysdeps/generic/libc-start.c: Likewise.
10303
10304 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
10305
10306 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
10307 (init1): Don't initialize __environ here, since init already does it.
10308 (first_init): New function, broken out of _init.
10309 (_hurd_stack_setup): Use it.
10310 [SHARED] (_dl_init_first): New function, renamed from old _init.
10311 (init1) [SHARED]: Don't call posixland_init here.
10312 (posixland_init): Take ENVP arg, so signature is usual for initializer.
10313 [SHARED] (_init): Define as alias for posixland_init.
10314 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
10315 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
10316 RTLD_START_SPECIAL_INIT before calling initializers.
10317 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
10318 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
10319 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
10320 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
10321
10322 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
10323 since we define the function with the name `tmpfile'.
10324
10325 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
10326 * hurd/Versions: Likewise.
10327
10328 2000-04-02 Ulrich Drepper <drepper@redhat.com>
10329
10330 * elf/dl-runtime.c (fixup): Fix typo in comment.
10331
10332 * resolv/netdb.h (getnameinfo): All length parameters are of type
10333 socklen_t.
10334 * inet/getnameinfo.c: Likewise.
10335
10336 2000-04-01 Ulrich Drepper <drepper@redhat.com>
10337
10338 * posix/unistd.h (socklen_t): Define if it has not yet happened.
10339 (gethostname): Change type of second parameter to socklen_t.
10340 * include/unistd.h (__gethostname): Change type of second
10341 parameter to socklen_t.
10342 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
10343 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
10344 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
10345 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
10346 Likewise.
10347 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
10348 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
10349 Allow definition elsewhere.
10350 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
10351 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10352 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
10353 * sysdeps/generic/bits/types.h: Define __socklen_t.
10354 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
10355 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
10356 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
10357 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
10358 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
10359 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
10360 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
10361
10362 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
10363 (inet_lnaof): Likewise.
10364 (inet_netof): Likewise.
10365 (inet_network): Likewise.
10366 (inet_aton): Likewise.
10367 (inet_makeaddr): Change parameter types to in_addr_t.
10368 (inet_neta): Likewise.
10369 (inet_ntop): Change type of last parameter to socklen_t.
10370 (inet_aton): Only make available if __USE_MISC.
10371 (inet_neta): Likewise.
10372 (inet_net_ntop): Likewise.
10373 (inet_net_pton): Likewise.
10374 (inet_nsap_ntoa): Likewise.
10375
10376 * inet/in.h: Define in_port_t type.
10377 Define in_addr_t type.
10378 (struct in_addr): Use in_addr_t in definition.
10379 (IN_CLASSA): Use cast to in_addr_t.
10380 (IN_CLASSB): Likewise.
10381 (IN_CLASSC): Likewise.
10382 (IN_CLASSD): Likewise.
10383 (IN_EXPERIMENTAL): Likewise.
10384 (IN_BADCLASS): Likewise.
10385 (INADDR_ANY): Likewise.
10386 (INADDR_BROADCAST): Likewise.
10387 (INADDR_NONE): Likewise.
10388 (INADDR_LOOPBACK): Likewise.
10389 (INADDR_UNSPEC_GROUP): Likewise.
10390 (INADDR_ALLHOSTS_GROUP): Likewise.
10391 (INADDR_ALLRTRS_GROUP): Likewise.
10392 (INADDR_MAX_LOCAL_GROUP): Likewise.
10393 (struct sockaddr_in): Use in_port_t for sin_port element.
10394 (struct sockaddr_in6): Use in_port_t for sin6_port element.
10395 Use uint8_t instead of u_int8_t.
10396
10397 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
10398 Call __inet_aton instead of inet_aton.
10399 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
10400
10401 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
10402 (innetgr): Likewise.
10403 (struct addrinfo): Use socklen_t for ai_addrlen element.
10404
10405 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
10406 IPV6_RECVERR): New defines.
10407
10408 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
10409 * inet/getnetbyad.c: Likewise.
10410 * inet/getnetbyad_r.c: Likewise.
10411 * nis/nss_nis/nis-network.c: Likewise.
10412 * nis/nssplus_nis/nisplus-network.c: Likewise.
10413 * nss/nss_files/files-network.c: Likewise.
10414 * resolv/netdb.h: Define uint32_t if not already happened.
10415 Include bits/netdb.h. Remove definition of struct netent.
10416 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
10417 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
10418 * sysdeps/generic/bits/netdb.h: New file.
10419 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
10420
10421 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
10422 (tests): Add glrefmain.
10423 Add rules to build modules and run tests. Ignore result of glrefmain
10424 for now since it fails.
10425 * dlfcn/glrefmain.c: New file.
10426 * dlfcn/glreflib1.c: New file.
10427 * dlfcn/glreflib2.c: New file.
10428
10429 * test-skeleton.c: Include <string.h> for strsignal prototype.
10430
10431 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
10432 to be missing.
10433
10434 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
10435 former init-first.h. Initialize __libc_multiple_libcs.
10436
10437 2000-03-31 Ulrich Drepper <drepper@redhat.com>
10438
10439 * iconv/skeleton.c: Define access macros with u suffix. Adjust
10440 #if expression for use of unaligned function to the one used in
10441 the definition of these functions.
10442 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
10443 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
10444 (internal_ucs4le_loop_unaligned): New function.
10445
10446 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
10447 (tests): Add order.
10448 (module-names): Add dep1, dep2, dep3, and dep4.
10449 Add dependencies for dep* modules and order.
10450 Define rule for order.out which checks the result.
10451 * elf/dep1.c: New file.
10452 * elf/dep2.c: New file.
10453 * elf/dep3.c: New file.
10454 * elf/dep4.c: New file.
10455 * elf/order.c: New file.
10456
10457 * elf/dl-init.c: Fix typo in comment.
10458
10459 2000-03-31 Andreas Jaeger <aj@suse.de>
10460
10461 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
10462 init function interface.
10463 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
10464
10465 2000-03-31 Andreas Jaeger <aj@suse.de>
10466
10467 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
10468 * sysdeps/mips/fpu/fegetenv.c: Likewise.
10469 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
10470 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
10471 * sysdeps/mips/fpu/fesetenv.c: Likewise.
10472
10473 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
10474 anymore, update comment.
10475
10476 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10477
10478 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
10479 SHLIB_COMPAT - the struct is always needed.
10480
10481 2000-03-31 Ulrich Drepper <drepper@redhat.com>
10482
10483 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
10484 * elf/dl-support.c: Define _dl_starting_up.
10485
10486 2000-03-30 Ulrich Drepper <drepper@redhat.com>
10487
10488 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
10489 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
10490
10491 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
10492
10493 * elf/Makefile (dl-routines): Remove preinit.
10494 * elf/Versions: Remove _dl_preinit.
10495 * elf/dl-preinit.c: Removed. Move content into...
10496 * elf/dl-init.c: ...here.
10497 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
10498
10499 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
10500 elements.
10501
10502 2000-03-29 Geoff Clare <gwc@unisoft.com>
10503
10504 * stdlib/strfmon.c: Corrected problems with the code that
10505 sets default values for [np]_sep_by_space and
10506 [np]_sign_posn; also the new positive/negative alignment
10507 code from the previous patch was not quite right for
10508 [np]_sign_posn = 0.
10509
10510 * localedata/tst-fmon.data: Changes corresponding to the
10511 two sets of fixes made to stdlib/strfmon.c.
10512
10513 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
10514
10515 * malloc/malloc.c: Declare bit flags UL so that they will not
10516 default to int size when being inverted.
10517
10518 2000-03-29 Andreas Jaeger <aj@suse.de>
10519
10520 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
10521 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
10522
10523 2000-03-29 Andreas Jaeger <aj@suse.de>,
10524 Ralf Baechle <ralf@uni-koblenz.de>
10525
10526 * Makeconfig: Introduce new variable SHARED to mark code used in
10527 the shared library.
10528 * elf/dl-close.c: Use it instead of PIC.
10529 * elf/dl-load.c: Likewise.
10530 * elf/dl-open.c: Likewise.
10531 * hurd/geteuids.c: Likewise.
10532 * include/libc-symbols.h: Likewise.
10533 * include/shlib-compat.h: Likewise.
10534 * libio/freopen.c: Likewise.
10535 * linuxthreads/cancel.c: Likewise.
10536 * linuxthreads/pthread.c: Likewise.
10537 * linuxthreads/wrapsyscall.c: Likewise.
10538 * nss/nsswitch.c: Likewise.
10539 * stdio-common/vfprintf.c: Likewise.
10540 * sysdeps/arm/init-first.c: Likewise.
10541 * sysdeps/i386/init-first.c: Likewise
10542 * sysdeps/generic/init-first.c: Likewise.
10543 * sysdeps/generic/libc-start.c: Likewise.
10544 * sysdeps/mips/init-first.c: Likewise.
10545 * sysdeps/powerpc/elf/libc-start.c: Likewise.
10546 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10547 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
10548 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
10549 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10550
10551 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
10552
10553 2000-03-29 Andreas Jaeger <aj@suse.de>
10554
10555 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
10556 Use D_PTR to access relocated entries in l_info.
10557 (elf_machine_rela): Likewise.
10558
10559 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
10560 Likewise.
10561 (elf_machine_rela): Likewise.
10562
10563 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
10564 Likewise.
10565 (__elf_machine_fixup_plt): Likewise.
10566 (__process_machine_rela): Likewise.
10567
10568 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
10569 (elf_machine_rela): Likewise.
10570
10571 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
10572 (elf_machine_rel): Likewise.
10573
10574 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
10575 (elf_machine_fixup_plt): Likewise.
10576 (elf_machine_rela): Likewise.
10577
10578 2000-03-29 Andreas Jaeger <aj@suse.de>
10579
10580 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
10581 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10582 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10583 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
10584 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10585 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
10586 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
10587 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
10588 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
10589 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
10590 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
10591 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
10592 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
10593 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
10594 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10595
10596 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
10597 macros, remove K&R prototypes.
10598
10599 2000-03-30 Ulrich Drepper <drepper@redhat.com>
10600
10601 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
10602 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
10603 (PR libc/1677).
10604
10605 2000-03-30 Andreas Jaeger <aj@suse.de>
10606
10607 * misc/sys/cdefs.h: Remove K&R support.
10608
10609 2000-03-30 Ulrich Drepper <drepper@redhat.com>
10610
10611 * iconv/skeleton.c: Avoid compiling unaligned versions in some
10612 more cases.
10613 * iconv/loop.c: Likewise.
10614
10615 2000-03-29 Bruno Haible <haible@clisp.cons.org>
10616
10617 * iconv/loop.c (put16): Remove __const. Fix access index.
10618 (put32): Remove __const. Use uint32_t instead of uint16_t.
10619 * iconv/skeleton.c: Likewise.
10620
10621 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
10622
10623 * mach/Versions (libc: GLIBC_2.0)
10624 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
10625 __vm_allocate on this.
10626 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
10627 mutex- and spinlock-related symbols on this.
10628 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
10629 New version set. Lock-related symbols go here instead in this case.
10630 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
10631 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
10632 cthread_getspecific, cthread_setspecific, __libc_getspecific.
10633 * hurd/Versions
10634 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
10635 Put them here instead.
10636 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
10637 New version set. Those cthreads symbols go here instead in this case.
10638 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
10639
10640 2000-03-30 Ulrich Drepper <drepper@redhat.com>
10641
10642 * elf/dl-init.c (_dl_init): We don't need to call constructors
10643 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
10644
10645 Implement dynamic determination of constructor/destructor order in
10646 the dynamic linker.
10647 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
10648 (GLIBC_2.2): Add _dl_init.
10649 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
10650 r_duplist is not anymore allocated separately. l_initfini is and
10651 therefore free it if necessary.
10652 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
10653 malloc block. Otherwise allocate l_initfini list only.
10654 Put dependencies for the object in l_initfini list.
10655 Sort dependencies for the object to be loaded topologically.
10656 * elf/dl-fini.c: Before running the destructors sort the topologically.
10657 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
10658 call constructors instead of iterating over the pointers. Get list of
10659 objects for which to run constructors from l_initfini element. Accept
10660 argc, argv, and env as parameters and pass them to the constructors.
10661 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
10662 with size of dynamic section.
10663 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
10664 _dl_init_next and calling constructors ourself.
10665 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
10666 Take argc, argv, and env as parameters and pass them to the
10667 constructors. Rewrite to call all constructors and not iterate over
10668 the pointers.
10669 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
10670 precompute l_initcount and l_preinitcount.
10671 * elf/link.h (struct link_map): Add l_ldnum member.
10672 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
10673 l_initcount, and l_preinitcount. Add l_initfini.
10674 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
10675 one for _dl_init.
10676 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
10677 function interface.
10678 * sysdeps/unix/sysv/linux/init-first.h: Removed.
10679 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
10680 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
10681 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
10682 conventions now match.
10683
10684 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
10685 effect for shared objects. Don't emit message and call only for
10686 static library.
10687
10688 2000-03-29 Ulrich Drepper <drepper@redhat.com>
10689
10690 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
10691 CSA_Z243.4-1985-1..UCS2.
10692 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
10693 ISO-8859-10..UCS2.
10694
10695 2000-03-29 Andreas Jaeger <aj@suse.de>
10696
10697 * include/unistd.h: Remove duplicate entry for __rmdir.
10698 Remove declaration of __mkdir since __mkdir is declared in
10699 sys/stat.h.
10700
10701 * manual/creature.texi (Feature Test Macros): Fix typo, reported
10702 by Michael Deutschmann <michael@talamasca.ocis.net>.
10703
10704 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
10705 * sysdeps/mips/fpu/fegetenv.c: Likewise.
10706 * sysdeps/mips/fpu/fesetenv.c: Likewise.
10707 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
10708 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
10709
10710 2000-03-28 Andreas Jaeger <aj@suse.de>
10711
10712 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
10713 declaration, the prototype is defined via bits/mathcalls.h.
10714 (__sincosf): Likewise.
10715 (__sincosl): Likewise.
10716 (ldexp): Likewise.
10717 (ldexpf): Likewise.
10718 (ldexpl): Likewise.
10719 (__finite): Likewise.
10720 (__inline_mathcodeNP): New macro without prototype
10721 declarations.
10722 (__inline_mathcodeNP2): Likewise.
10723 (__inline_mathcodeNP3): Likewise.
10724 (__inline_mathcodeNP_): Likewise.
10725 (__inline_mathcodeNP2_): Likewise.
10726 (__inline_mathcodeNP3_): Likewise.
10727 (__inline_mathopNP): Likewise.
10728 (__inline_mathop_declNP): Likewise.
10729 (__inline_mathop_declNP_): Likewise.
10730 (__inline_mathcode_): Use __inline_mathcodeNP_.
10731 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
10732 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
10733 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
10734 (__expm1l): Don't define prototype, the prototype is defined via
10735 bits/mathcalls.h.
10736 (exp): Likewise.
10737 (__expl): Likewise.
10738 (tan): Likewise.
10739 (atan2): Likewise.
10740 (__atan2l): Likewise.
10741 (fmod): Likewise.
10742 (pow): Likewise.
10743 (fabsf): Likewise.
10744 (fabsl): Likewise.
10745 (__fabsl): Likewise.
10746 (asin): Likewise.
10747 (acos): Likewise.
10748 (sinh): Likewise.
10749 (cosh): Likewise.
10750 (tanh): Likewise.
10751 (floor): Likewise.
10752 (ceil): Likewise.
10753 (expm1): Likewise.
10754 (log1p): Likewise.
10755 (asinh): Likewise.
10756 (acosh): Likewise.
10757 (atanh): Likewise.
10758 (hypot): Likewise.
10759 (logb): Likewise.
10760 (fma): Likewise.
10761 (drem): Likewise.
10762 (sqrt): Likewise.
10763 (__sqrtl): Likewise.
10764 (sin): Likewise.
10765 (cos): Likewise.
10766 (atan): Likewise.
10767 (log): Likewise.
10768 (log10): Likewise.
10769 (asinh): Likewise.
10770 (log2): Likewise.
10771 (rint): Likewise.
10772
10773 2000-03-28 Ulrich Drepper <drepper@redhat.com>
10774
10775 * Makerules: If make variable md5 is defined to yes after
10776 generating dependencies generate MD5 sum for the object.
10777
10778 * iconv/gconv_builtin.h: Fix length in transformation definition
10779 for UNICODEBIG.
10780
10781 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
10782
10783 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
10784 allow as well reading from/writing to unaligned addresses on machines
10785 which don't support this in hardware. Use FCTNAME macro to define
10786 function name. Include the file a second time for platforms which
10787 need special unaligned handling.
10788 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
10789 to access potentially unaligned addresses. These macros are intended
10790 to be used only outside the loops.
10791 (unaligned): New definition. In case the machine can handle unaligned
10792 access define as zero. Otherwise as a variable which is initialized
10793 as nonzero in case the buffer passed in at runtime is unaligned with
10794 respect to the character set encoding involved.
10795 Call aligned or unaligned looop functions according to unaligned
10796 variable.
10797 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
10798 of direct casting pointer to potentially handle unaligned memory
10799 accesses.
10800 * iconvdata/8bit-generic.c: Likewise.
10801 * iconvdata/ansi_x3.110.c: Likewise.
10802 * iconvdata/big5.c: Likewise.
10803 * iconvdata/euc-cn.c: Likewise.
10804 * iconvdata/euc-jp.c: Likewise.
10805 * iconvdata/euc-kr.c: Likewise.
10806 * iconvdata/euc-tw.c: Likewise.
10807 * iconvdata/gbk.c: Likewise.
10808 * iconvdata/iso-2022-cn.c: Likewise.
10809 * iconvdata/iso-2022-jp.c: Likewise.
10810 * iconvdata/iso-2022-kr.c: Likewise.
10811 * iconvdata/iso646.c: Likewise.
10812 * iconvdata/iso_6937-2.c: Likewise.
10813 * iconvdata/iso_6937.c: Likewise.
10814 * iconvdata/johab.c: Likewise.
10815 * iconvdata/sjis.c: Likewise.
10816 * iconvdata/t.61.c: Likewise.
10817 * iconvdata/uhc.c: Likewise.
10818 * iconvdata/unicode.c: Likewise.
10819 * iconvdata/utf-16.c: Likewise.
10820
10821 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
10822 prototypes.
10823
10824 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
10825 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
10826 public.
10827 * malloc/mcheck.h (mcheck_check_all): Declare.
10828
10829 * stdio-common/Makefile (tests): Add tst-obprintf.
10830
10831 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
10832
10833 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
10834 Declare pthread_sigmask.
10835
10836 * csu/version.c: Add 2000 to copyright years.
10837 Remove Emacs local variables section.
10838
10839 2000-03-23 Bruno Haible <haible@clisp.cons.org>
10840
10841 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
10842 __gconv_transform_internal_ucs2little): Remove declarations.
10843 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
10844 __gconv_transform_internal_ucs2): Never need to bswap_16.
10845 (__gconv_transform_ucs2reverse_internal,
10846 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
10847
10848 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
10849
10850 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
10851 obsoleting version not being defined at all, in which case the
10852 result is always true.
10853
10854 * Makeconfig (preprocess-versions): New canned sequence for running
10855 cpp on shlib-versions and the like.
10856 (soversions.i): Use it.
10857 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
10858 Versions.def and Versions files.
10859
10860 2000-03-27 Ulrich Drepper <drepper@redhat.com>
10861
10862 * stdio-common/tst-obprintf.c (main): Add another check to see
10863 obstack_printf handling all possible beginnings of the block
10864 inside an obstack chunk.
10865
10866 * locale/programs/localedef.c: Use __malloc_initialize_hook to
10867 install mcheck handler.
10868
10869 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
10870 handling problem.
10871
10872 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
10873
10874 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
10875
10876 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
10877 on [HAVE_ELF && DO_VERSIONING].
10878
10879 2000-03-27 Ulrich Drepper <drepper@redhat.com>
10880
10881 * stdio-common/tst-obprintf.c: New file.
10882
10883 2000-03-26 Ulrich Drepper <drepper@redhat.com>
10884
10885 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
10886 _IO_OVERFLOW directly instead through __overflow.
10887
10888 * locale/programs/localedef.c (construct_output_path): If path
10889 contains a / compute the end of the directory name correctly.
10890
10891 * include/features.h: Undef and document __USE_XOPEN2K.
10892
10893 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
10894 whenever a function is called. Initiated by calling mcheck_pedantic
10895 instead of mcheck.
10896 * malloc/mcheck.h: Declare mcheck_pedantic.
10897 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
10898 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
10899 for now.
10900
10901 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
10902
10903 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
10904 * dlfcn/dlopenold.c: Likewise.
10905 * nss/getXXbyYY_r.c: Likewise.
10906 * nss/getXXent_r.c: Likewise.
10907 * hurd/hurdinit.c: Likewise.
10908 * hurd/compat-20.c: Likewise.
10909 * libio/oldiofopen.c: Likewise.
10910 * libio/oldiofclose.c: Likewise.
10911 * libio/oldiofdopen.c: Likewise.
10912 * libio/oldfileops.c: Likewise.
10913 * libio/oldstdfiles.c: Likewise.
10914 * libio/oldiofsetpos.c: Likewise.
10915 * libio/oldiofgetpos.c: Likewise.
10916 * libio/oldiofgetpos64.c: Likewise.
10917 * libio/oldiofsetpos64.c: Likewise.
10918 * libio/oldiopopen.c: Likewise.
10919 * libio/oldpclose.c: Likewise.
10920 * libio/oldtmpfile.c: Likewise.
10921 * libio/freopen.c (freopen): Likewise.
10922 * libio/iofclose.c (_IO_new_fclose): Likewise.
10923
10924 * sysdeps/mach/sys/reboot.h: Include <features.h>.
10925 (reboot): Declare it.
10926
10927 * libio/Makefile (headers): Add bits/stdio-lock.h here.
10928
10929 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
10930
10931 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
10932
10933 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
10934 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
10935 We need this for the sbrk decl, which can be included without Unix98.
10936
10937 2000-03-20 Richard Henderson <rth@cygnus.com>
10938
10939 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
10940 argument to yperr2nss is an int, not size_t.
10941 * posix/regex.c (print_partial_compiled_pattern): Cast all
10942 ptrdiff_t to long for printing.
10943 (print_compiled_pattern): Use Z for printing size_t.
10944 * posix/testfnm.c (tests): Avoid trigraphs.
10945 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
10946 Use a C comment, not an assembly comment.
10947
10948 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
10949 of __ASSUME_32BITUIDS.
10950
10951 2000-03-26 Ulrich Drepper <drepper@redhat.com>
10952
10953 * libio/iofopncook.c: Remove K&R prototypes.
10954
10955 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
10956
10957 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
10958 an initial value of 1024 instead of RLIM_INFINITY.
10959
10960 * Versions.def (libmachuser, libhurduser): Remove these sections,
10961 since these libraries do not presently use symbol versions.
10962
10963 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
10964 is RLIM_INFINITY, return -1 instead.
10965
10966 2000-03-24 Andreas Jaeger <aj@suse.de>
10967
10968 * Makefile (postclean): Added soversions.i.
10969
10970 2000-03-24 Scott Bambrough <scottb@netwinder.org>
10971
10972 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
10973 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
10974 and _FPU_IEEE. Change _FPU_RESERVED.
10975
10976 2000-03-24 Scott Bambrough <scottb@netwinder.org>
10977
10978 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
10979
10980 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
10981
10982 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
10983 (gaih_inet): Remove unused duplicate variable.
10984
10985 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
10986 Don't use __libc_sa_len, which only exists for Linux. Just handle
10987 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
10988 only flavors supported by this function anyway.
10989
10990 2000-03-24 Geoff Clare <gwc@unisoft.com>
10991
10992 * stdlib/strfmon.c: Corrected problems with missing signs and
10993 missing or extra spaces; allow for sign strings longer than
10994 one character; add padding to ensure positive and negative
10995 formats are aligned when a left precision is used.
10996
10997 2000-03-26 Ulrich Drepper <drepper@redhat.com>
10998
10999 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
11000 Patch by John Mizel <John.Mizel@msdw.com>.
11001
11002 2000-03-25 Ulrich Drepper <drepper@redhat.com>
11003
11004 * manual/install.texi: Remove references to crypt add-on.
11005
11006 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
11007
11008 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
11009 section while taking the _hurd_rlimit_lock.
11010 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
11011
11012 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
11013
11014 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
11015 using $(LN_S).
11016
11017 * sysdeps/mach/hurd/if_index.c: New file.
11018
11019 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
11020 * sysdeps/gnu/net/if.h: here.
11021 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
11022 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
11023 * sysdeps/generic/net/if.h: New file. Declares just the standard
11024 functions and `struct if_nameindex' type.
11025 * socket/Makefile (headers): Add net/if.h here.
11026 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
11027 * sysdeps/mach/hurd/Dist: Remove it here.
11028 * sysdeps/unix/sysv/linux/Dist: And here.
11029 * sysdeps/generic/if_index.c: Include <net/if.h>.
11030
11031 2000-03-24 Andreas Jaeger <aj@suse.de>
11032
11033 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
11034 access relocated entries in l_info.
11035 (elf_machine_got_rel): Likewise.
11036 (elf_machine_runtime_setup): Likewise.
11037 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
11038 (elf_machine_runtime_setup): Likewise.
11039 (__dl_runtime_resolve): Likewise.
11040
11041 2000-03-23 Ulrich Drepper <drepper@redhat.com>
11042
11043 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
11044 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
11045 according to RFC 2553.
11046 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
11047 * inet/getnameinfo.c: Likewise.
11048 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
11049
11050 2000-03-23 Bruno Haible <haible@clisp.cons.org>
11051
11052 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
11053 Remove no-op pointer increment.
11054
11055 2000-03-23 Andreas Jaeger <aj@suse.de>
11056
11057 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
11058 follow change for libio.h from 2000-03-10.
11059
11060 2000-03-23 Andreas Jaeger <aj@suse.de>
11061
11062 * elf/dl-addr.c: Adjust include paths for ldsodefs location
11063 change.
11064 * elf/dl-debug.c: Likewise.
11065 * elf/dl-deps.c: Likewise.
11066 * elf/dl-error.c: Likewise.
11067 * elf/dl-fini.c: Likewise.
11068 * elf/dl-init.c: Likewise.
11069 * elf/dl-load.c: Likewise.
11070 * elf/dl-lookup.c: Likewise.
11071 * elf/dl-minimal.c: Likewise.
11072 * elf/dl-object.c: Likewise.
11073 * elf/dl-open.c: Likewise.
11074 * elf/dl-preinit.c: Likewise.
11075 * elf/dl-profile.c: Likewise.
11076 * elf/dl-profstub.c: Likewise.
11077 * elf/dl-reloc.c: Likewise.
11078 * elf/dl-runtime.c: Likewise.
11079 * elf/dl-support.c: Likewise.
11080 * elf/dl-symbol.c: Likewise.
11081 * elf/dl-version.c: Likewise.
11082 * elf/rtld.c: Likewise.
11083 * elf/sprof.c: Likewise.
11084 * sysdeps/generic/dl-cache.c: Likewise.
11085 * sysdeps/generic/dl-origin.c: Likewise.
11086 * sysdeps/generic/dl-sysdep.c: Likewise.
11087 * sysdeps/generic/elf/backtracesyms.c: Likewise.
11088 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
11089 * sysdeps/generic/libc-start.c: Likewise.
11090 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11091 * sysdeps/powerpc/dl-machine.c: Likewise.
11092 * sysdeps/powerpc/elf/libc-start.c: Likewise.
11093 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11094 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11095 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
11096
11097 * elf/ldsodefs.h: Move file to ...
11098 * sysdeps/generic/ldsodefs.h: ... here.
11099
11100 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
11101
11102 * sysdeps/mips/elf/ldsodefs.h: New file.
11103
11104 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
11105 entries in l_info.
11106 (_dl_check_map_versions): Likewise.
11107 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11108 * elf/dl-load.c (_dl_init_paths): Likewise.
11109 (_dl_map_object): Likewise.
11110 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
11111 (elf_get_dynamic_info): Likewise.
11112 * elf/do-lookup.h (FCT): Likewise.
11113 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
11114 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
11115 * elf/dl-addr.c (_dl_addr): Likewise.
11116 * elf/dl-runtime.c (profile_fixup): Likewise.
11117 (fixup): Likewise.
11118 * elf/dl-init.c (_dl_init_next): Likewise.
11119 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
11120 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
11121 (DISTINGUISH_LIB_VERSIONS): Likewise.
11122 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
11123 (elf_machine_rel): Likewise.
11124
11125 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
11126 for writable dynamic section.
11127
11128 2000-03-22 Ulrich Drepper <drepper@redhat.com>
11129
11130 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
11131 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
11132
11133 2000-03-22 Andreas Jaeger <aj@suse.de>
11134
11135 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
11136 from latest Linux kernel.
11137
11138 2000-03-21 Andreas Jaeger <aj@suse.de>
11139
11140 * Versions.def: Add version 2.1.4.
11141
11142 2000-03-21 Ulrich Drepper <drepper@redhat.com>
11143
11144 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
11145 * libio/oldiofopen.c: Likewise.
11146 * libio/oldiofclose.c: Likewise.
11147 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
11148
11149 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
11150
11151 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
11152 indicating the first version set to obsolete the conditionalized code.
11153 (compat_symbol): New macro.
11154 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
11155 rhs be the ABI_* macro for the subsuming version. Assign increasing
11156 integer values to the ABI_* macros for supported versions.
11157 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
11158 compat_symbol macro.
11159
11160 2000-03-21 Ulrich Drepper <drepper@redhat.com>
11161
11162 * nscd/connections.c (nscd_run): Pretty print.
11163 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
11164
11165 * manual/charset.texi: Fix typos. Rephrase.
11166 * manual/process.texi: Likewise.
11167 * manual/signal.texi: Likewise.
11168 Patches by Mike Coleman <mkc@kc.net>.
11169
11170 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
11171 versions.
11172 * libio/iofdopen.c: Likewise.
11173 * libio/iofgetpos.c: Likewise.
11174 * libio/iofgetpos64.c: Likewise.
11175 * libio/iofopen.c: Likewise.
11176 * libio/iofsetpos.c: Likewise.
11177 * libio/iofsetpos64.c: Likewise.
11178 * libio/iopopen.c: Likewise.
11179 * libio/oldiofopen.c: Likewise.
11180 * libio/pclose.c: Likewise.
11181 * sysdeps/gnu/siglist.c: Likewise.
11182 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
11183
11184 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
11185 chance to expand VERSION_##lib##_##version.
11186
11187 * libio/fileops.c: Use new macros from shlib-compat.h to define
11188 versions.
11189 * libio/iofclose.c: Likewise.
11190 * libio/oldiofclose.c: Likewise.
11191 Patch by Roland McGrath <roland@frob.com>.
11192
11193 2000-03-21 Jakub Jelinek <jakub@redhat.com>
11194
11195 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
11196 Lay out struct sigcontext according to what really gets passed on
11197 the stack.
11198 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
11199 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
11200 (prgregset_t, prfpregset_t): Define to elf_* types.
11201 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
11202 Define to correct value.
11203 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
11204 sigcontext.
11205 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
11206
11207 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
11208
11209 * scripts/firstversions.awk: Allow multiple version sets in the
11210 "earliest version" specification, meaning that version sets in the
11211 gaps between listed versions should be folded into the earliest later
11212 version that is explicitly listed.
11213 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
11214 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
11215
11216 2000-03-21 Ulrich Drepper <drepper@redhat.com>
11217
11218 * iconv/gconv_builtin.c: Include <endian.h>.
11219 * iconv/gconv_builtin.h: Add UCS-BE aliases.
11220 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
11221 according to current platform.
11222 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
11223 __gconv_transform_internal_ucs2reverse, and
11224 __gconv_transform_internal_ucs4le.
11225 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
11226 __gconv_transform_ucs2reverse_internal and
11227 __gconv_transform_internal_ucs2reverse.
11228 * iconvdata/Makefile (modules): Add UNICODE.
11229 (distribute): Add unicode.c.
11230 * iconvdata/gconv-modules: Add definitions for UNICODE module.
11231 * iconvdata/unicode.c: New file.
11232
11233 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
11234 determine byte order of input and convert accordingly.
11235
11236 * iconvdata/utf-16.c (gconv_init): Fix typo.
11237
11238 2000-03-20 Ulrich Drepper <drepper@redhat.com>
11239
11240 * iconvdata/gconv-modules: Fix typo.
11241
11242 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
11243 more messages.
11244
11245 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
11246
11247 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
11248
11249 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
11250
11251 2000-03-20 Ulrich Drepper <drepper@redhat.com>
11252
11253 * misc/Makefile (routines): Add mincore.
11254
11255 2000-03-20 Andreas Jaeger <aj@suse.de>
11256
11257 * sysdeps/generic/mincore.c: New stub file.
11258
11259 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
11260 from latest Linux kernel.
11261
11262 2000-03-20 Ulrich Drepper <drepper@redhat.com>
11263
11264 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
11265 _SC_GETPW_R_SIZE_MAX.
11266
11267 2000-03-20 Richard Henderson <rth@cygnus.com>
11268
11269 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
11270 in GLIBC_2.1.4.
11271
11272 2000-03-20 Richard Henderson <rth@cygnus.com>
11273
11274 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
11275 of arithmetic instructions.
11276
11277 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
11278 with the fpcr. Protect from INV exception.
11279 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
11280 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
11281 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
11282
11283 * sysdeps/alpha/fpu/s_copysign.c: New.
11284 * sysdeps/alpha/fpu/s_copysignf.c: New.
11285 * sysdeps/alpha/fpu/s_fabs.c: New.
11286 * sysdeps/alpha/fpu/s_fabsf.c: New.
11287 * sysdeps/alpha/fpu/s_rint.c: New.
11288 * sysdeps/alpha/fpu/s_rintf.c: New.
11289
11290 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
11291
11292 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
11293 Kill sethae.
11294 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
11295 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
11296 Use physical addresses not KSEG addresses.
11297 (io_system): Add PYXIS.
11298 (io): Remove hae.reg, sys, hae_shift.
11299 (stb_mb, stw_mb, stl_mb, __sethae): New.
11300 (inline_outb, inline_outw, inline_outl): Don't set hae.
11301 (inline_inb, inline_inw, inline_inl): Likewise.
11302 (dense_sethae): New null function.
11303 (struct cpuinfo_data): New.
11304 (process_cpuinfo): Use local and stack variables, not static.
11305 Move readlink check here from init_iosys.
11306 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
11307 (_iopl): Simplify.
11308 (_hae_shift): Calculate it here.
11309 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
11310 add pciconfig_iobase.
11311
11312 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
11313
11314 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
11315 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
11316
11317 * scripts/versions.awk: Fixed version renaming code to distinguish
11318 libraries properly.
11319
11320 2000-03-19 Ulrich Drepper <drepper@redhat.com>
11321
11322 * include/stdlib.h: Add prototype for __cxa_atexit.
11323
11324 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
11325 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
11326
11327 2000-03-17 Cristian Gafton <gafton@redhat.com>
11328
11329 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
11330 existing rtld-installed-name.
11331 ($(rtld-installed-name)): Request libc-$(version) be installed too.
11332 replace existing rtld-installed-name using $(symbolic-link-prog).
11333
11334 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
11335
11336 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
11337 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
11338 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
11339 but not the former.
11340
11341 2000-03-19 Ulrich Drepper <drepper@redhat.com>
11342
11343 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
11344 glob64. Since there is no glob64 in the LFS proposal applications
11345 can assume that glob handles LFS situations. glob64 is only needed
11346 if alternative filesystem functions are used.
11347
11348 2000-03-19 Geoff Clare <gwc@unisoft.com>
11349
11350 * sysdeps/generic/glob.c: Correct gl_pathc value returned
11351 when GLOB_DOOFFS is set; correct handling of patterns
11352 containing escaped wildcards (and no unescaped ones);
11353 GLOB_ERR flag was being ignored in some situations.
11354
11355 * posix/globtest.c, posix/globtest.sh: Updated to include
11356 tests for the problems fixed by the above changes to glob.c.
11357
11358 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
11359
11360 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
11361
11362 * Makeconfig (soversion.i): Use only first match for each lib.
11363
11364 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
11365
11366 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
11367 rather than $(sysd-dirs-done) to protect these rules.
11368
11369 * Makerules (version-renames.def): Target removed.
11370 (Versions.all): Depend on soversions.i directly and parse it.
11371
11372 * Makeconfig (soversions.i): New target, input-reading parts of
11373 soversions.mk generation moved here; result is a canonicalized
11374 list "LIB VERSION [SET]" for this configuration.
11375 (soversions.mk): Use that as input. Don't emit map-firstversions.
11376 * Makerules (version-renames.def): New target, generated from
11377 soversions.i with contents that was in $(map-firstversions).
11378 (Versions.all): Don't depend on soversions.mk, depend on
11379 version-renames.def instead; just cat it into the input.
11380
11381 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
11382 for $(map-firstversions), which better handles it being empty.
11383
11384 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
11385 supported version for libc 0.2.90.libio to GLIBC_2.2.
11386
11387 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
11388 and use it to emit new variable `map-firstversions'.
11389 * scripts/firstversions.awk: New file.
11390 * Makerules (Versions.all): Use scripts/firstversions.awk and
11391 the $(map-firstversions) value to generate a modified versions list
11392 that includes renames in "A = B" syntax for each version set earlier
11393 than the "earliest symbol version" named in shlib-versions.
11394 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
11395 rename version set A to B in the output to the intermediate file.
11396 * scripts/abi-versions.awk: New file.
11397 * Makerules (abi-versions.h): New target, generated by that script.
11398 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
11399 * include/shlib-compat.h: New file, uses that generated header.
11400
11401 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
11402
11403 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
11404 after stripping # comments, and then run it through cpp.
11405 This allows things like "%ifdef FOO" based on config.h settings.
11406 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
11407
11408 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
11409 and other errors that indicate a pseudo-receive happened, grok through
11410 the message buffer for port rights that need references fixed up.
11411
11412 2000-03-16 Andreas Jaeger <aj@suse.de>
11413
11414 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
11415
11416 * sysdeps/unix/sysv/linux/madvise.c: Remove.
11417
11418 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
11419 from latest Linux kernel.
11420 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
11421
11422 * misc/sys/mman.h: Add prototype for mincore.
11423
11424 2000-03-17 Ulrich Drepper <drepper@redhat.com>
11425
11426 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
11427 entry for GLIBC_2.0 version of setrlimit.
11428 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
11429
11430 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
11431
11432 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
11433 * nis/nss_compat/compat-initgroups.c: Likewise.
11434 * nis/nss_nis/nis-initgroups.c: Likewise.
11435 * nis/nss_nis/nis-netgrp.c: Likewise.
11436 * nis/nss_nis/nis-proto.c: Likewise.
11437 * nis/nss_nis/nis-rpc.c: Likewise.
11438 * nis/nss_nis/nis-service.c: Likewise.
11439 * nis/ypclnt.c: Likewise.
11440
11441 2000-03-16 Andreas Jaeger <aj@suse.de>
11442
11443 * manual/Makefile: MAKEINFO is set to `:' from configure if it
11444 doesn't exist, correct checks. Fixes PR libc/1649.
11445
11446 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
11447
11448 * nscd/hstcache.c: Restore correct UID.
11449 * nscd/pwdcache.c: Likewise.
11450 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
11451
11452 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
11453
11454 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
11455 macros for register names, in line with 2000-03-14 linux change.
11456
11457 * sysdeps/mach/sched_yield.c: New file.
11458
11459 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
11460
11461 * sysdeps/generic/lockfile.c: Include <stdio.h>
11462 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
11463 case <libio.h> defined them.
11464 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
11465 from __internal_*.
11466 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
11467 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
11468
11469 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
11470 for more pleasing parse error.
11471
11472 2000-03-16 Ulrich Drepper <drepper@redhat.com>
11473
11474 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
11475 memory for eras.
11476 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
11477
11478 * elf/Makefile: Add rules to compile and run constload1 test.
11479 * elf/constload1.c: New file.
11480 * elf/constload2.c: New file.
11481 * elf/constload3.c: New file.
11482
11483 2000-03-15 Ulrich Drepper <drepper@redhat.com>
11484
11485 * sysdeps/posix/open64.c: Make __open64 weak alias.
11486 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
11487 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
11488 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
11489 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
11490 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
11491 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
11492 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
11493 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
11494 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
11495 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
11496
11497 2000-03-14 Ulrich Drepper <drepper@redhat.com>
11498
11499 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
11500 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
11501
11502 2000-03-16 Mark Kettenis <kettenis@gnu.org>
11503
11504 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
11505 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
11506
11507 2000-03-08 Andreas Jaeger <aj@suse.de>
11508
11509 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
11510
11511 2000-03-14 Ulrich Drepper <drepper@redhat.com>
11512
11513 * timezone/africa: Update from tzdata2000d.
11514 * timezone/asia: Likewise.
11515 * timezone/australasia: Likewise.
11516 * timezone/europe: Likewise.
11517 * timezone/northamerica: Likewise.
11518 * timezone/southamerica: Likewise.
11519
11520 * po/fr.po: Update from translation team.
11521 * po/de.po: Likewise.
11522
11523 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
11524 last parameter. Move code to add map to global scope from here...
11525 * elf/dl-open.c (dl_open_worker): ...here.
11526 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
11527 * elf/rtld.c: Adjust call to _dl_map_object_deps.
11528
11529 * locale/programs/ld-collate.c (collate_read): Fix warning.
11530
11531 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
11532 values and macros for register names.
11533
11534 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
11535 returned by seek cookie function is -1.
11536
11537 2000-03-14 Andreas Jaeger <aj@suse.de>
11538
11539 * locale/localeconv.c (localeconv): Fix typo.
11540 Reported by Andre Charbonneau <andrec@corel.com>.
11541
11542 2000-03-14 Ulrich Drepper <drepper@redhat.com>
11543
11544 * iconv/skeleton.c: Increment __invocation_counter in inner loop
11545 since modules depend on it counting the number of times the conversion
11546 function got called.
11547
11548 * iconv/gconv_open.c: Optimize loop to setup step data structure.
11549
11550 * iconv/gconv.h: Pretty print.
11551
11552 2000-03-04 Ulrich Drepper <drepper@redhat.com>
11553
11554 * posix/wordexp-test.c: Correct one of the tests added in the last
11555 change. Really get the root passwd entry to check again ~root.
11556
11557 2000-03-10 Andreas Jaeger <aj@suse.de>
11558
11559 * manual/filesys.texi (Working Directory): Fix last patch.
11560 Patch by Martin Buchholz <martin@xemacs.org>.
11561
11562 2000-03-10 Andreas Jaeger <aj@suse.de>
11563
11564 * manual/creature.texi (Feature Test Macros): Fix language.
11565
11566 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
11567
11568 * mach/devstream.c (devstream_write, devstream_read): New functions.
11569 (input, output): Functions removed.
11570 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
11571 using only the vanilla fopencookie interface.
11572
11573 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
11574 as macro for __io_functions.
11575 (funcsio): Use cookie_io_functions_t type name.
11576 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
11577
11578 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
11579 fopencookie.
11580 (fopencookie): Use it.
11581 * libio/libio.h: Declare _IO_cookie_init.
11582 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
11583 _IO_cookie_init.
11584
11585 * libio/libio.h (__io_seek_fn): Fix second argument type
11586 to be a pointer, in line with the manual and the old stdio.
11587 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
11588
11589 * sysdeps/generic/bits/stdio-lock.h: New file.
11590 This is a stub with #error, but that's better than no file at all.
11591
11592 2000-03-09 Martin Buchholz <martin@xemacs.org>
11593
11594 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
11595 * manual/message.texi (Using gettextized software): Doc Fixes.
11596 * manual/message.texi (Message Translation): Doc Fixes.
11597 * manual/filesys.texi (File Size): Doc Fixes.
11598 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
11599 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
11600 * iconv/gconv_db.c (find_derivation): Doc Fixes.
11601 * manual/install.texi: Doc Fixes.
11602 * manual/search.texi (Hash Search Function): Doc Fixes.
11603 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
11604 * FAQ.in: Doc Fixes.
11605 * config.h.in: Doc Fixes.
11606 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
11607 Doc Fixes. `allows to' is not correct English.
11608
11609 * elf/rtld.c: Doc fixes.
11610 * manual/creature.texi (Feature Test Macros): Doc fixes.
11611 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
11612
11613 * manual/filesys.texi (Working Directory): Check for ERANGE to
11614 avoid infloop.
11615
11616 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
11617
11618 * string/argz-stringify.c (__argz_stringify): Fix loop termination
11619 conditions so as not to clobber the final '\0' when there is only one
11620 element in the vector.
11621
11622 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
11623
11624 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
11625 broken by 2000-02-27 change.
11626
11627 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
11628
11629 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
11630
11631 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
11632 argument type, for 2000-02-22 change in signal/signal.h declaration.
11633
11634 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
11635
11636 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
11637 to getdirentries64 (no __), since the Linux implementation
11638 has no __ name, and there is no declaration for the __ name.
11639
11640 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
11641
11642 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
11643 sed regexp so as not to break directory names including /../ within.
11644
11645 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
11646 The sysdeps/generic file is right for BSD. This file was in fact the
11647 Hurd file, but the only difference was the WNOREAP flag that was never
11648 actually implemented or used anywhere.
11649
11650 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
11651 since AC_PATH_PROG already does it for us.
11652 (PERL): Rewrite check added in 2000-02-29 change for syntactic
11653 correctness and sh portability. I replaced the broken check
11654 with a more sensible implementation of the apparently intended
11655 semantics, which might still be questionable. Using expr causes
11656 a non-numeric value for `perl -V:apiversion` to be accepted,
11657 refusing to use only a perl that reports a number less than 5;
11658 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
11659 * configure: Regenerated.
11660
11661 2000-03-08 Andreas Jaeger <aj@suse.de>
11662
11663 * manual/crypt.texi: Fix paths.
11664
11665 2000-03-07 Andreas Jaeger <aj@suse.de>
11666
11667 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
11668 were swapped.
11669 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
11670 libc/1636.
11671
11672 2000-03-06 Andreas Jaeger <aj@suse.de>
11673
11674 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
11675 in __sgn1l, otherwise g++ fails to parse this.
11676 Reported by Sean Chen <sean.chen@turbolinux.com>.
11677
11678 2000-03-03 Geoff Keating <geoffk@cygnus.com>
11679
11680 * configure.in: Compute sizeof-long-double.
11681 * configure: Regenerated.
11682 * config.make.in: Make sizeof-long-double available to sub-makes.
11683
11684 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
11685
11686 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
11687 call.
11688
11689 2000-03-03 Geoff Keating <geoffk@cygnus.com>
11690
11691 * Makeconfig (rpath-dirs): Add crypt.
11692 (all-subdirs): Remove md5crypt.
11693 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
11694 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
11695 * sysdeps/generic/crypt-entry.c: Delete.
11696 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
11697 * sysdeps/generic/crypt.h: Delete.
11698 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
11699 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
11700 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
11701 * sysdeps/generic/des_impl.c: Delete.
11702 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
11703 * crypt/sysdeps: Delete.
11704 * crypt/crypt_util.c: Don't use `patchlevel.h'.
11705 * md5-crypt/Versions: Move to crypt/.
11706 * md5-crypt/md5-crypt.c: Move to crypt/.
11707 * md5-crypt/md5.c: Move to crypt/.
11708 * md5-crypt/md5c-test.c: Move to crypt/.
11709 * md5-crypt/md5test.c: Move to crypt/.
11710 * md5-crypt: Delete.
11711 * crypt/Makefile: Adjust for new structure.
11712
11713 2000-03-03 Paul Eggert <eggert@twinsun.com>
11714
11715 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
11716 define to 1 if not defined.
11717
11718 2000-03-03 Andreas Jaeger <aj@suse.de>
11719
11720 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
11721
11722 2000-03-03 Andreas Jaeger <aj@suse.de>
11723
11724 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
11725 cases.
11726 (xdr_int64_t): Correctly handle lower half.
11727 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
11728
11729 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
11730
11731 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
11732 call.
11733
11734 2000-03-02 Andreas Jaeger <aj@suse.de>
11735
11736 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
11737 2.3.43.
11738
11739 2000-03-02 Andreas Jaeger <aj@suse.de>
11740
11741 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
11742
11743 2000-03-01 Andreas Jaeger <aj@suse.de>
11744
11745 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
11746 (tests): Added tst-getdate.
11747
11748 * time/tst-getdate.c: New file.
11749
11750 * time/datemsk: New file, needed for tst-getdate.
11751
11752 2000-02-29 Cristian Gafton <gafton@redhat.com>
11753
11754 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
11755
11756 2000-02-17 H.J. Lu <hjl@gnu.org>
11757
11758 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
11759
11760 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
11761 available.
11762 (svcudp_recv): Set up message with the new "xp_pad" field for
11763 IP_PKTINFO.
11764 (svcudp_reply): Support IP_PKTINFO if available.
11765
11766 2000-03-01 Andreas Jaeger <aj@suse.de>
11767
11768 * time/getdate.c (check_mday): Fix check for february.
11769 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
11770 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
11771
11772 2000-03-02 Andreas Jaeger <aj@suse.de>
11773
11774 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
11775 g++ fails to parse this.
11776 Reported by Sean Chen <sean.chen@turbolinux.com>.
11777
11778 2000-02-28 Ulrich Drepper <drepper@redhat.com>
11779
11780 * io/creat.c: Moved to...
11781 * sysdeps/generic/creat.c: ...here.
11782 * io/creat64.c: Moved to...
11783 * sysdeps/generic/creat64.c: ...here.
11784 * io/lockf.c: Moved to...
11785 * sysdeps/generic/lockf.c: ...here.
11786
11787 * crypt/crypt.texi: Moved to...
11788 * manual/crypt.texi: ...here.
11789 * crypt/examples/genpass.c: Moved to...
11790 * manual/examples/genpass.c: ...here.
11791 * crypt/examples/mygenpass.c: Moved to...
11792 * manual/examples/mygenpass.c: ...here.
11793 * crypt/examples/testpass.c: Moved to...
11794 * manual/examples/testpass.c: ...here.
11795
11796 * manual/Makefile (chapters): Add crypt.
11797 * manual/conf.texi: Add usual header for not-last chapter.
11798 * manual/crypt.texi: Add special header for last chapter.
11799
11800 2000-02-28 Geoff Keating <geoffk@cygnus.com>
11801
11802 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
11803 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
11804 complain if there is no crypt add-on.
11805 * crypt/configure: Removed.
11806
11807 * crypt/crypt.texi: Update documentation of US export restrictions
11808 to match the 14 Jan 2000 regulations.
11809
11810 2000-02-28 Geoff Keating <geoffk@cygnus.com>
11811
11812 * crypt: New subdirectory, merged in from the crypt add-on.
11813
11814 2000-02-28 Ulrich Drepper <drepper@redhat.com>
11815
11816 * include/unistd.h: Add __rmdir and __mkdir prototypes.
11817
11818
11819 See ChangeLog.10 for earlier changes.