]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Update.
[thirdparty/glibc.git] / ChangeLog
1 2000-09-16 Ralf Baechle <ralf@gnu.org>
2
3 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Reformat. Declare
4 as function.
5 (_RTLD_EPILOGUE): Reformat. Declare size of entry function.
6 (ELF_MACHINE_BEFORE_RTLD_RELOC): Relocate the dynamic linker itself so
7 it will even work when not loaded to the standard address.
8 (RTLD_START): Reformat. Call _dl_start in a way that is safe even
9 before the dynamic linker itself is relocated.
10
11 2000-09-18 Andreas Jaeger <aj@suse.de>
12
13 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
14 __ASSUME_32BITUIDS for MIPS.
15 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: New file.
16 * sysdeps/unix/sysv/linux/mips/Dist: Add ipc_priv.h.
17
18 2000-09-17 H.J. Lu <hjl@gnu.org>
19
20 * catgets/Makefile ($(objpfx)de/libc.cat): Use
21 $(make-target-directory) instead of mkdir.
22
23 2000-09-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
24
25 * sysdeps/unix/sysv/linux/kernel-features.h: Always define
26 __ASSUME_32BITUIDS for __powerpc__.
27 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: New file.
28 * sysdeps/unix/sysv/linux/powerpc/Dist: Add ipc_priv.h.
29
30 2000-09-17 Ulrich Drepper <drepper@redhat.com>
31
32 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Fix last
33 patch.
34 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
35
36 2000-09-16 Jakub Jelinek <jakub@redhat.com>
37
38 * sysdeps/ia64/Implies: Reorder ieee754 implies so that ldbl-* comes
39 first.
40 * sysdeps/m68k/Implies: Likewise.
41 * sysdeps/sparc/sparc64/Implies: Likewise.
42
43 2000-09-16 Jakub Jelinek <jakub@redhat.com>
44
45 * elf/readlib.c (process_file): Don't error for stale .so links either.
46
47 2000-09-16 Ulrich Drepper <drepper@redhat.com>
48
49 * elf/dl-load.c (_dl_map_object_from_fd): Add one more
50 __builtin_expect.
51
52 * include/bits/xopen_lim.h (LONG_BIT): Use LONG_MAX, not INT_MAX.
53 Patch by Thorsten Kukuk <kukuk@suse.de>.
54
55 * dlfcn/Makefile (distribute): Add defaultmod1.c and defaultmod2.c.
56 (test): Add default.
57 (modules-names): Add defaultmod1 and defaultmod2.
58 Add rules to build test objects.
59
60 2000-09-15 Ulrich Drepper <drepper@redhat.com>
61
62 * wctype/wctype.h: Always include <bits/types.h>.
63 Reported by Jim Meyering <meyering@ascend.com>.
64
65 * elf/rtld.c (_dl_dynamic_weak): Set to 1 by default for now.
66 * elf/dl-support.c: Likewise.
67
68 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Correct position of
69 st_blocks member in stat and stat64 structs.
70 Patch by Bill Nottingham <notting@redhat.com>.
71
72 * iconvdata/tst-tables.sh: Add warning that GB18030 test might
73 take longer.
74
75 * math/complex.h: Don't define _Complex macro for gcc 3. Add
76 __extension__ to _Complex_I definition since gcc warns if -pedantic.
77 * math/bits/cmathcalls.h (conj): Add __extension__ since we use ~.
78 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
79
80 * include/limits.h: Define LLONG_MIN, LLONG_MAX, ULLONG_MAX if
81 necessary. Move includes of POSIX and Unix limits files to the end.
82 * stdlib/Makefile (tests): Add tst-limits.
83 * stdlib/tst-limits.h: New file.
84
85 2000-09-15 Andreas Jaeger <aj@suse.de>
86
87 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Handle FE_NOMASK_ENV.
88
89 * sysdeps/mips/bits/fenv.h (FE_NOMASK_ENV): Define.
90
91 2000-09-15 Jakub Jelinek <jakub@redhat.com>
92
93 * sysdeps/unix/alpha/sysdep.h (inline_syscall_clobbers): Add memory
94 clobber.
95 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
96 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Likewise.
97
98 2000-09-15 Ulrich Drepper <drepper@redhat.com>
99
100 * elf/Makefile (distribute): Add nextmod1.c and nextmod2.c.
101 (tests): Add next.
102 (modules-names): Add nextmod1 and nextmod2.
103 Add rules to build and run next.
104 * elf/next.c: New file.
105 * elf/nextmod1.c: New file.
106 * elf/nextmod2.c: New file.
107
108 2000-09-14 Jakub Jelinek <jakub@redhat.com>
109
110 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Fix a typo.
111
112 2000-09-15 Andreas Jaeger <aj@suse.de>
113
114 * sysdeps/mips/fpu/fenv_libc.h: New file.
115 * sysdeps/mips/fpu/feenablxcpt.c: Use fenv_libc.h
116 * sysdeps/mips/fpu/fegetexcept.c: Likewise.
117 * sysdeps/mips/fpu/fedisblxcpt.c: Likewise.
118
119 * sysdeps/mips/fpu/feenablxcpt.c: New file.
120 * sysdeps/mips/fpu/fegetexcept.c: New file.
121 * sysdeps/mips/fpu/fedisblxcpt.c: New file.
122
123 2000-09-14 Ulrich Drepper <drepper@redhat.com>
124
125 * intl/Makefile: Avoid unnecessary test reruns.
126
127 * stdio-common/tst-printf.sh: Also allow output from 64-bit machines.
128
129 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Change
130 to not use sysctl(). Too many architectures have problems with it.
131
132 2000-09-14 Andreas Jaeger <aj@suse.de>
133
134 * scripts/config.sub: New version from subversions.gnu.org.
135
136 * time/clocktest.c (main): Change format, CLOCKS_PER_SEC is now
137 long.
138
139 2000-09-14 Jakub Jelinek <jakub@redhat.com>
140
141 * posix/regex.c (compile_range): Cast collseq index to unsigned char
142 to avoid accessing data before collseq.
143
144 * sysdeps/sparc/fpu/bits/mathinline.h (__unordered_v9cmp): Avoid
145 pasting strings together.
146
147 2000-09-14 Greg McGary <greg@mcgary.org>
148
149 * sysdeps/generic/bp-checks.h: Remove bogus reference to GNU MP in
150 copyright notice.
151 * sysdeps/generic/bp-semctl.h: Likewise.
152 * sysdeps/generic/bp-start.h: Likewise.
153 * sysdeps/generic/bp-sym.h: Likewise.
154 * sysdeps/generic/bp-thunks.h: Likewise. Include <stdio.h> to get
155 rename prototype.
156
157 2000-09-13 Ulrich Drepper <drepper@redhat.com>
158
159 * io/test-lfs.c (do_test): Allow stat64() to return EOVERFLOW and
160 don't fail.
161
162 * elf/elf.h: Add missing official relocations.
163
164 * libio/stdio.h: Define __FILE if __need___FILE is defined.
165 * stdio/stdio.h: Likewise.
166 * wcsmbs/wchar.h: Get definition of __FILE. Use __FILE instead of FILE.
167 * include/stdio.h: Handle __need___FILE like __need_FILE.
168 * include/wchar.h: Use __FILE instead of FILE.
169 * libio/fwprintf.c: Include <stdio.h> for FILE definition.
170 * libio/fwscanf.c: Likewise.
171 * libio/getwc.c: Likewise.
172
173 * sysdeps/generic/stdint.h (WINT_MAX): Define to 4294967295u.
174 * sysdeps/generic/bits/wchar.h (WCHAR_MIN): Define to -2147483647 - 1.
175 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Likewise.
176
177 * assert/assert.h: Update comment header about ISO C section.
178 * math/complex.h: Likewise.
179 * ctype/ctype.h: Likewise.
180 * include/errno.h: Likewise.
181 * include/limits.h: Likewise.
182 * locale/locale.h: Likewise.
183 * math/math.h: Likewise.
184 * setjmp/setjmp.h: Likewise.
185 * signal/signal.h: Likewise.
186 * stdio/stdio.h: Likewise.
187 * libio/stdio.h: Likewise.
188 * stdlib/stdlib.h: Likewise.
189 * string/string.h: Likewise.
190 * time/time.h: Likewise.
191 * wcsmbs/wchar.h: Likewise.
192 * wctype/wctype.h: Likewise.
193 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
194
195 2000-09-13 Andreas Jaeger <aj@suse.de>
196
197 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Fix test
198 for no more entries.
199 * sysdeps/unix/sysv/aix/bits/socket.h (__cmsg_nxthdr): Likewise.
200 * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Likewise.
201 Reported by Eric S. Johnson <esj@cs.fiu.edu>, closes PR libc/1887.
202
203 2000-09-13 Ulrich Drepper <drepper@redhat.com>
204
205 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Make a long int
206 constant since this is what clock_t is.
207 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
208 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
209 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
210 * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.
211
212 * time/time.h: Don't defined clockid_t and timer_t unless POSIX
213 definitions are requested.
214
215 2000-09-13 Andreas Jaeger <aj@suse.de>
216
217 * shlib-versions: libBrokenLocale needs minimal version for ia64,
218 sparc64 and sh to synch with libc.
219
220 2000-09-13 Ulrich Drepper <drepper@redhat.com>
221
222 * iconvdata/Makefile (modules): Add ISO-2022-CN-EXT.
223 (distribute): Add iso-2022-cn-ext.c.
224 Add definitions to compile the new module.
225 * iconvdata/gconv-modules: Add entries for ISO-2022-CN-EXT.
226 * iconvdata/iso-2022-cn-ext.c: New file.
227 * iconvdata/iso-ir-165.h (isoir165_to_ucs4): Renamed from
228 ucs4_from_isoir165. Increment input pointer if successful.
229
230 * csu/Makefile: Work around a gcc bug when creating csu-dummies.
231
232 * sysdeps/unix/sysv/linux/getdents.c: Pretty print.
233
234 2000-09-01 Jes Sorensen <jes@linuxcare.com>
235
236 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add
237 __syscall_getdents64 wrapper.
238
239 * sysdeps/unix/sysv/linux/ia64/net/route.h: New file.
240
241 2000-09-12 Ulrich Drepper <drepper@redhat.com>
242
243 * iconvdata/gb18030.c: Many many changes. Make consistent with
244 charmap and with itself.
245 * iconvdata/tst-tables.sh: Test GB18030.
246
247 2000-09-11 Ulrich Drepper <drepper@redhat.com>
248
249 * iconv/skeleton.c: Fix last patch, add missing parameter to
250 unaligned function call.
251
252 2000-09-10 Bruno Haible <haible@clisp.cons.org>
253
254 * locale/programs/ld-collate.c (collate_read): Fix typo in handling
255 of decimal ellipsis.
256
257 2000-09-11 Bruno Haible <haible@clisp.cons.org>
258
259 * locale/programs/ld-collate.c (collate_read): Always initialize
260 error_section.next.
261
262 2000-09-10 Bruno Haible <haible@clisp.cons.org>
263
264 * locale/programs/ld-collate.c (collate_finish): Upper bound for
265 ruleidx is 128, not 256.
266
267 2000-09-11 Ulrich Drepper <drepper@redhat.com>
268
269 * locale/programs/ld-collate.c (collate_read): Correct check for
270 already inserted entries.
271
272 2000-09-10 Bruno Haible <haible@clisp.cons.org>
273
274 * iconv/skeleton.c (FUNCTION_NAME): Handle unaligned access in
275 second try as well.
276
277 2000-09-10 Bruno Haible <haible@clisp.cons.org>
278
279 * iconv/skeleton.c (FUNCTION_NAME): Optimize an `if' if
280 MAX_NEEDED_FROM > 1 && MAX_NEEDED_TO > 1.
281
282 2000-09-10 Bruno Haible <haible@clisp.cons.org>
283
284 * iconv/skeleton.c (gconv_init): Replace all uses of RESET_STATE with
285 SAVE_RESET_STATE.
286
287 2000-09-10 Bruno Haible <haible@clisp.cons.org>
288
289 * iconvdata/utf-7.c: New file.
290 * iconvdata/gconv-modules (UTF-7): New module entries.
291 * iconvdata/Makefile (modules): Add UTF-7.
292 (distribute): Add utf-7.c.
293 * iconvdata/testdata/UTF-7: New file.
294 * iconvdata/testdata/UTF-7..UTF8: New file.
295 * iconvdata/TESTS (UTF-7): New entry.
296 * iconvdata/run-iconv-test.sh: Fix confusing output.
297
298 2000-09-11 Ulrich Drepper <drepper@redhat.com>
299
300 * sysdeps/posix/tempname.c (__gen_tempname): Use __lxstat and __xstat.
301
302 2000-09-10 David S. Miller <davem@redhat.com>
303
304 * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Correct %fp
305 frame pointer offset for non-fast path.
306
307 2000-09-10 Ulrich Drepper <drepper@redhat.com>
308
309 * locale/programs/3level.h (*_init): Initialize level1, level2,
310 and level3 as well.
311 (*_add): Remove a few unnecessary conditionals.
312
313 2000-09-05 Wolfram Gloger <wg@malloc.de>
314
315 * malloc/thread-m.h [_LIBC]: Even if not linking with libpthread,
316 ensure usability of mutex as an `in use' flag.
317
318 2000-09-10 Ulrich Drepper <drepper@redhat.com>
319
320 * shlib-versions: Simplify libm entries. Correct a few Hurd entries.
321
322 * sysdeps/generic/initfini.c: Rewrite slightly to get rid of the
323 ugly GMON_WEAK_START hack.
324 Patch by Philip Blundell <philb@gnu.org>.
325
326 * sysdeps/i386/i486/bits/string.h: Pretty printing.
327
328 2000-09-09 Ulrich Drepper <drepper@redhat.com>
329
330 * sysdeps/powerpc/dl-machine.c: Add volatile to PPC_DCBST, PPC_SYNC,
331 and PPC_ICBI asm for broken compilers.
332 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
333
334 2000-09-09 Andreas Jaeger <aj@suse.de>
335
336 * manual/message.texi (Advanced gettext functions): Fix typo.
337
338 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include <string.h> for
339 strncpy prototype.
340
341 2000-09-09 Ulrich Drepper <drepper@redhat.com>
342
343 * sysdeps/ia64/memchr.S: Add .pred.rel to avoid wrong assembler
344 warnings.
345 * sysdeps/ia64/memccpy.S: Likewise.
346 Patches by Jim Wilson <wilson@redhat.com>.
347
348 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Use uname
349 before trying to read /proc.
350 Patch by Matt Wilson <msw@redhat.com>.
351 * include/sys/utsname.h: Declare __uname.
352 * sysdeps/generic/uname.c: Make uname a weak alias of __uname.
353 * sysdeps/mach/hurd/uname.c: Likewise.
354 * sysdeps/unix/syscalls.list: Likewise.
355
356 * iconv/gconv_dl.c (do_release_shlib): Rewrite condition for
357 unloading a bit.
358
359 2000-09-08 Ulrich Drepper <drepper@redhat.com>
360
361 * posix/getopt.c (_getopt_internal): When long_only is set always
362 recognize conflicts just like before.
363
364 2000-09-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
365
366 * sysdeps/ia64/Makefile (sysdep-rtld-routines): New variable.
367
368 2000-09-08 Greg McGary <greg@mcgary.org>
369
370 * sysdeps/unix/sysv/linux/syscalls.list (mincore): Fix arg signature.
371 * sysdeps/unix/make-syscalls.sh: New signature keyletter `V'.
372 * sysdeps/generic/bp-checks.h (CHECK_N_PAGES): New macro.
373
374 2000-09-08 Andreas Jaeger <aj@suse.de>
375
376 * sysdeps/unix/sysv/linux/arm/lockf64.c: New file.
377
378 * sysdeps/unix/sysv/linux/arm/fcntl.c: New file.
379
380 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h
381 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
382 (F_GETLK,F_SETLK,F_SETLKW): Handle __USE_FILE_OFFSET64 correctly.
383
384 2000-09-07 Ulrich Drepper <drepper@redhat.com>
385
386 * iconvdata/tst-tables.sh: Enable EUC-KR test.
387
388 * elf/dl-load.c (lose): Decrement _nl_loaded.
389 (_dl_map_object_from_fd): Don't try to dlopen executables.
390
391 * iconvdata/tst-tables.sh: Actually return with an error if
392 something goes wrong.
393 * iconvdata/tst-table.sh: Return with an error if any of the cmp fails.
394 * iconvdata/big5hkscs.c (BODY of FROM_LOOP): Reject 0xff as input.
395
396 * iconvdata/tst-tables.sh: Add BIG5HKSCS.
397
398 * iconvdata/tst-table-to.c (main): Correct cast in iconv call.
399 * iconvdata/tst-table-from.c: Include <string.h>.
400 (try): Correct cast in iconv call.
401
402 * elf/Makefile (all-rtld-routines): Evaluate $(sysdep-rtld-routines)
403 too.
404 * sysdeps/powerpc/Makefile (sysdep-rtld-routines): New variable.
405 (sysdep_routines): Remove dl-start.
406 Patches by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
407
408 * assert/__assert.c: Undefine NDEBUG before include <assert.h>.
409
410 * sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning.
411 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
412
413 2000-09-06 Andreas Schwab <schwab@suse.de>
414
415 * sysdeps/unix/sysv/linux/ia64/bits/time.h: New file.
416
417 2000-09-07 Ulrich Drepper <drepper@redhat.com>
418
419 * sysdeps/unix/sysv/linux/gethostid.c: Find hostid file in /etc.
420
421 * scripts/config.sub: Strip out -unknown for Linux targets.
422 Patch by Scott Bambrough <scottb@netwinder.org>.
423
424 * posix/tst-dir.c (main): Correct one bug (missing NULL test) and
425 add one more test.
426
427 2000-09-07 Andreas Jaeger <aj@suse.de>
428
429 * sysdeps/unix/sysv/linux/mips/lockf64.c: New file.
430
431 * sysdeps/unix/sysv/linux/i386/fcntl.c: Add prototypes for the
432 syscalls.
433
434 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add __syscall_fcntl.
435
436 * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Fix calls to dl_lookup.
437 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
438
439 * sysdeps/unix/sysv/linux/mips/fcntl.c: New file.
440
441 * stdlib/tst-bsearch.c (main): Add more test cases.
442
443 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo.
444 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
445 Reported by GOTO Masanori <gotom@debian.or.jp>.
446
447 2000-09-07 Ulrich Drepper <drepper@redhat.com>
448
449 * posix/Makefile (tests): Add tst-dir.
450 (tst-dir-ARGS): New variable.
451 * posix/tst-dir.c: New file.
452
453 2000-09-07 Andreas Jaeger <aj@suse.de>
454
455 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_getdents64): New.
456 (SYS_fcntl64): New.
457
458 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add getdents64.
459
460 2000-09-06 Ulrich Drepper <drepper@redhat.com>
461
462 * sysdeps/unix/opendir.c: If O_DIRECTORY_WORKS is defined don't
463 use the hack with tryopen_o_directory to determine at runtime
464 whether it works.
465 * sysdeps/unix/sysv/linux/opendir.c: New file.
466 * sysdeps/unix/sysv/linux/kernel-features.h: Define
467 __ASSUME_O_DIRECTORY if kernel knows O_DIRECTORY.
468
469 * catgets/Depend: New file. Add intl.
470 * catgets/Makefile (tests): Add tst-catgets.
471 (generated): Remove de.msg.
472 (generated-dirs): Add de.
473 Add dependency if tst-catgets output on de/libc.cat.
474 * catgets/tst-catgets.c: New file.
475
476 * po/ja.po: New file.
477 * po/el.po: Update from translation team.
478
479 * wcsmbs/Depend: New file.
480 * wcsmbs/Makefile (tests): Add tst-btowc.
481 (tst-btowc-ENV): Define.
482 * wcsmbs/tst-btowc.c: New file.
483
484 * sysdeps/unix/sysv/linux/_G_config.h: Moved to...
485 * sysdeps/gnu/_G_config.h: ...here to be shared with Hurd.
486
487 * sysdeps/posix/signal.c: Add sig to act.sa_mask for completeness.
488
489 * stdlib/Makefile (tests): Add tst-bsearch.
490 * stdlib/tst-bsearch.c: New file.
491
492 * posix/getopt.c (_getopt_internal): Don't recognize an option
493 name as ambiguous if it's a prefix for more than one name but the
494 other struct option values are identical.
495
496 * posix/tstgetopt.c: Add test for improved ambiguity recognition.
497 Don't depend on visual inspection of the output file to recognize
498 errors.
499 * posix/Makefile (tstgetopt-ARGS): Add a few more parameters.
500
501 2000-09-06 Andreas Jaeger <aj@suse.de>
502
503 * sysdeps/alpha/soft-fp/Dist: New file.
504 * sysdeps/i386/soft-fp/Dist: New file.
505 * sysdeps/mips/mips64/soft-fp/Dist: New file.
506 * sysdeps/mips/soft-fp/Dist: New file.
507 * sysdeps/powerpc/soft-fp/Dist: New file.
508 * sysdeps/sparc/sparc32/soft-fp/Dist: New file.
509 * sysdeps/sparc/sparc64/soft-fp/Dist: New file.
510
511 * sysdeps/sparc/sparc64/soft-fp/Makefile [$(subdir) = soft-fp]:
512 Use sysdep_routines instead of routines to fix make dist failure.
513 * sysdeps/sparc/sparc32/soft-fp/Makefile: Likewise (in commented
514 out code).
515 * sysdeps/powerpc/soft-fp/Makefile [$(subdir) = soft-fp]: Likewise.
516
517 * sysdeps/mips/Makefile [$(subdir) = misc]: Use
518 sysdep_headers instead of headers for make dist.
519
520 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = misc]:
521 Likewise.
522
523 2000-09-06 Andreas Schwab <schwab@suse.de>
524
525 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: New file.
526
527 2000-09-06 Andreas Jaeger <aj@suse.de>
528
529 * soft-fp/Makefile (distribute): Remove ChangeLog.
530
531 * sysdeps/sparc/sparc32/Makefile [$(subdir) = gnulib]: Use
532 sysdep_routines instead of routines for make dist.
533
534 2000-09-05 Ulrich Drepper <drepper@redhat.com>
535
536 * libio/libio.h (_IO_fwide_maybe_incompatible): For glibc 2.0
537 compatibility check for old stream and call _IO_wide in doubt.
538 (_IO_fwide): Use _IO_fwide_maybe_incompatible macro.
539 * libio/iofwide.c (_IO_fwide): If compatibility with glibc 2.0 is
540 needed tst for such an old structure and don't do anything.
541 * libio/freopen.c: Remove declaration of _IO_stdin_used.
542
543 2000-09-06 Andreas Jaeger <aj@suse.de>
544
545 * sysdeps/powerpc/Makefile [$(subdir) = elf]: Modify
546 sysdep-dl-routines and sysdep_routines instead of rtld-routines
547 and dl-routines.
548
549 * soft-fp/ChangeLog: Merged with this file.
550
551 2000-06-13 Ulrich Drepper <drepper@redhat.com>
552
553 * soft-fp/Makefile (distribute): Add op-8.h and testit.c.
554
555 * soft-fp/Makefile (distribute): Add the math functions, too.
556
557 * soft-fp/Makefile (distribute): Add ChangeLog, Banner, and configure.
558
559 2000-03-03 Geoff Keating <geoffk@cygnus.com>
560
561 * soft-fp/soft-fp.h (_FP_ROUND_ZERO): Cast 0 to void before using it
562 as a statement.
563
564 * soft-fp/sysdeps/powerpc/Makefile (routines): New file.
565 * soft-fp/sysdeps/powerpc/q_*: New files.
566
567 2000-09-05 Ulrich Drepper <drepper@redhat.com>
568
569 * stdio-common/vfprintf.c (process_string_arg): Handle precision
570 in wide char case correctly. Don't allocate too long temporary
571 strings with alloca.
572
573 * stdio-common/Makefile (tests): Add tst-swprintf.
574 (tst-swprintf-ENV): New variable.
575 * stdio-common/tst-swprintf.c: New file.
576
577 2000-09-05 Andreas Jaeger <aj@suse.de>
578
579 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use st_pad5.
580 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Fix assignments.
581 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
582
583 2000-09-05 Ulrich Drepper <drepper@redhat.com>
584
585 * configure.in: Strip out "unknown" from configuration names.
586
587 2000-09-05 Andreas Jaeger <aj@suse.de>
588
589 * sysdeps/powerpc/Subdirs: New file, adds soft-fp.
590
591 * sysdeps/sparc/sparc64/Implies: Add soft-fp.
592 * sysdeps/sparc/sparc32/Implies: Likewise.
593 * sysdeps/powerpc/Implies: Likewise.
594
595 * libio/oldiofsetpos64.c: Check for compatibility with glibc 2.1.
596 * libio/oldiofgetpos64.c: Likewise.
597
598 * soft-fp/Makefile (distribute): Remove configure.
599
600 * sysdeps/sparc/sparc64/soft-fp/Versions: Use version glibc 2.2.
601
602 * soft-fp/configure: Remove.
603
604 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
605 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
606
607 * soft-fp/sysdeps/sparc/sparc32/Makefile: Move from here...
608 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... to here.
609
610 * soft-fp/sysdeps/powerpc/Makefile: Move from here...
611 * sysdeps/powerpc/soft-fp/Makefile: ... to here.
612
613 * soft-fp/sysdeps/sparc/sparc64/Makefile: Move from here...
614 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... to here.
615
616 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
617 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
618
619 * soft-fp/sysdeps/powerpc/q_add.c: Move from here...
620 * sysdeps/powerpc/soft-fp/q_add.c: ... to here.
621
622 * soft-fp/sysdeps/powerpc/q_cmp.c: Move from here...
623 * sysdeps/powerpc/soft-fp/q_cmp.c: ... to here.
624
625 * soft-fp/sysdeps/powerpc/q_cmpe.c: Move from here...
626 * sysdeps/powerpc/soft-fp/q_cmpe.c: ... to here.
627
628 * soft-fp/sysdeps/powerpc/q_div.c: Move from here...
629 * sysdeps/powerpc/soft-fp/q_div.c: ... to here.
630
631 * soft-fp/sysdeps/powerpc/q_dtoq.c: Move from here...
632 * sysdeps/powerpc/soft-fp/q_dtoq.c: ... to here.
633
634 * soft-fp/sysdeps/powerpc/q_feq.c: Move from here...
635 * sysdeps/powerpc/soft-fp/q_feq.c: ... to here.
636
637 * soft-fp/sysdeps/powerpc/q_fge.c: Move from here...
638 * sysdeps/powerpc/soft-fp/q_fge.c: ... to here.
639
640 * soft-fp/sysdeps/powerpc/q_fgt.c: Move from here...
641 * sysdeps/powerpc/soft-fp/q_fgt.c: ... to here.
642
643 * soft-fp/sysdeps/powerpc/q_fle.c: Move from here...
644 * sysdeps/powerpc/soft-fp/q_fle.c: ... to here.
645
646 * soft-fp/sysdeps/powerpc/q_flt.c: Move from here...
647 * sysdeps/powerpc/soft-fp/q_flt.c: ... to here.
648
649 * soft-fp/sysdeps/powerpc/q_fne.c: Move from here...
650 * sysdeps/powerpc/soft-fp/q_fne.c: ... to here.
651
652 * soft-fp/sysdeps/powerpc/q_itoq.c: Move from here...
653 * sysdeps/powerpc/soft-fp/q_itoq.c: ... to here.
654
655 * soft-fp/sysdeps/powerpc/q_lltoq.c: Move from here...
656 * sysdeps/powerpc/soft-fp/q_lltoq.c: ... to here.
657
658 * soft-fp/sysdeps/powerpc/q_mul.c: Move from here...
659 * sysdeps/powerpc/soft-fp/q_mul.c: ... to here.
660
661 * soft-fp/sysdeps/powerpc/q_neg.c: Move from here...
662 * sysdeps/powerpc/soft-fp/q_neg.c: ... to here.
663
664 * soft-fp/sysdeps/powerpc/q_qtod.c: Move from here...
665 * sysdeps/powerpc/soft-fp/q_qtod.c: ... to here.
666
667 * soft-fp/sysdeps/powerpc/q_qtoi.c: Move from here...
668 * sysdeps/powerpc/soft-fp/q_qtoi.c: ... to here.
669
670 * soft-fp/sysdeps/powerpc/q_qtoll.c: Move from here...
671 * sysdeps/powerpc/soft-fp/q_qtoll.c: ... to here.
672
673 * soft-fp/sysdeps/powerpc/q_qtos.c: Move from here...
674 * sysdeps/powerpc/soft-fp/q_qtos.c: ... to here.
675
676 * soft-fp/sysdeps/powerpc/q_qtou.c: Move from here...
677 * sysdeps/powerpc/soft-fp/q_qtou.c: ... to here.
678
679 * soft-fp/sysdeps/powerpc/q_qtoull.c: Move from here...
680 * sysdeps/powerpc/soft-fp/q_qtoull.c: ... to here.
681
682 * soft-fp/sysdeps/powerpc/q_sqrt.c: Move from here...
683 * sysdeps/powerpc/soft-fp/q_sqrt.c: ... to here.
684
685 * soft-fp/sysdeps/powerpc/q_stoq.c: Move from here...
686 * sysdeps/powerpc/soft-fp/q_stoq.c: ... to here.
687
688 * soft-fp/sysdeps/powerpc/q_sub.c: Move from here...
689 * sysdeps/powerpc/soft-fp/q_sub.c: ... to here.
690
691 * soft-fp/sysdeps/powerpc/q_ulltoq.c: Move from here...
692 * sysdeps/powerpc/soft-fp/q_ulltoq.c: ... to here.
693
694 * soft-fp/sysdeps/powerpc/q_util.c: Move from here...
695 * sysdeps/powerpc/soft-fp/q_util.c: ... to here.
696
697 * soft-fp/sysdeps/powerpc/q_utoq.c: Move from here...
698 * sysdeps/powerpc/soft-fp/q_utoq.c: ... to here.
699
700 * soft-fp/sysdeps/sparc/sparc32/q_add.c: Move from here...
701 * sysdeps/sparc/sparc32/soft-fp/q_add.c: ... to here.
702
703 * soft-fp/sysdeps/sparc/sparc32/q_cmp.c: Move from here...
704 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: ... to here.
705
706 * soft-fp/sysdeps/sparc/sparc32/q_cmpe.c: Move from here...
707 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: ... to here.
708
709 * soft-fp/sysdeps/sparc/sparc32/q_div.c: Move from here...
710 * sysdeps/sparc/sparc32/soft-fp/q_div.c: ... to here.
711
712 * soft-fp/sysdeps/sparc/sparc32/q_dtoq.c: Move from here...
713 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: ... to here.
714
715 * soft-fp/sysdeps/sparc/sparc32/q_feq.c: Move from here...
716 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: ... to here.
717
718 * soft-fp/sysdeps/sparc/sparc32/q_fge.c: Move from here...
719 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: ... to here.
720
721 * soft-fp/sysdeps/sparc/sparc32/q_fgt.c: Move from here...
722 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: ... to here.
723
724 * soft-fp/sysdeps/sparc/sparc32/q_fle.c: Move from here...
725 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: ... to here.
726
727 * soft-fp/sysdeps/sparc/sparc32/q_flt.c: Move from here...
728 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: ... to here.
729
730 * soft-fp/sysdeps/sparc/sparc32/q_fne.c: Move from here...
731 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: ... to here.
732
733 * soft-fp/sysdeps/sparc/sparc32/q_itoq.c: Move from here...
734 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: ... to here.
735
736 * soft-fp/sysdeps/sparc/sparc32/q_mul.c: Move from here...
737 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: ... to here.
738
739 * soft-fp/sysdeps/sparc/sparc32/q_neg.c: Move from here...
740 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: ... to here.
741
742 * soft-fp/sysdeps/sparc/sparc32/q_qtod.c: Move from here...
743 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: ... to here.
744
745 * soft-fp/sysdeps/sparc/sparc32/q_qtoi.c: Move from here...
746 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: ... to here.
747
748 * soft-fp/sysdeps/sparc/sparc32/q_qtos.c: Move from here...
749 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: ... to here.
750
751 * soft-fp/sysdeps/sparc/sparc32/q_qtoui.c: Move from here...
752 * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: ... to here.
753
754 * soft-fp/sysdeps/sparc/sparc32/q_qtoux.c: Move from here...
755 * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: ... to here.
756
757 * soft-fp/sysdeps/sparc/sparc32/q_qtox.c: Move from here...
758 * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: ... to here.
759
760 * soft-fp/sysdeps/sparc/sparc32/q_sqrt.c: Move from here...
761 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: ... to here.
762
763 * soft-fp/sysdeps/sparc/sparc32/q_stoq.c: Move from here...
764 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: ... to here.
765
766 * soft-fp/sysdeps/sparc/sparc32/q_sub.c: Move from here...
767 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: ... to here.
768
769 * soft-fp/sysdeps/sparc/sparc32/q_uitoq.c: Move from here...
770 * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: ... to here.
771
772 * soft-fp/sysdeps/sparc/sparc32/q_util.c: Move from here...
773 * sysdeps/sparc/sparc32/soft-fp/q_util.c: ... to here.
774
775 * soft-fp/sysdeps/sparc/sparc32/q_uxtoq.c: Move from here...
776 * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: ... to here.
777
778 * soft-fp/sysdeps/sparc/sparc32/q_xtoq.c: Move from here...
779 * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: ... to here.
780
781 * soft-fp/sysdeps/sparc/sparc64/qp_add.c: Move from here...
782 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: ... to here.
783
784 * soft-fp/sysdeps/sparc/sparc64/qp_cmp.c: Move from here...
785 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: ... to here.
786
787 * soft-fp/sysdeps/sparc/sparc64/qp_cmpe.c: Move from here...
788 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: ... to here.
789
790 * soft-fp/sysdeps/sparc/sparc64/qp_div.c: Move from here...
791 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: ... to here.
792
793 * soft-fp/sysdeps/sparc/sparc64/qp_dtoq.c: Move from here...
794 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: ... to here.
795
796 * soft-fp/sysdeps/sparc/sparc64/qp_feq.c: Move from here...
797 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: ... to here.
798
799 * soft-fp/sysdeps/sparc/sparc64/qp_fge.c: Move from here...
800 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: ... to here.
801
802 * soft-fp/sysdeps/sparc/sparc64/qp_fgt.c: Move from here...
803 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: ... to here.
804
805 * soft-fp/sysdeps/sparc/sparc64/qp_fle.c: Move from here...
806 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: ... to here.
807
808 * soft-fp/sysdeps/sparc/sparc64/qp_flt.c: Move from here...
809 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: ... to here.
810
811 * soft-fp/sysdeps/sparc/sparc64/qp_fne.c: Move from here...
812 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: ... to here.
813
814 * soft-fp/sysdeps/sparc/sparc64/qp_itoq.c: Move from here...
815 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: ... to here.
816
817 * soft-fp/sysdeps/sparc/sparc64/qp_mul.c: Move from here...
818 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: ... to here.
819
820 * soft-fp/sysdeps/sparc/sparc64/qp_qtod.c: Move from here...
821 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: ... to here.
822
823 * soft-fp/sysdeps/sparc/sparc64/qp_qtoi.c: Move from here...
824 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: ... to here.
825
826 * soft-fp/sysdeps/sparc/sparc64/qp_qtos.c: Move from here...
827 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: ... to here.
828
829 * soft-fp/sysdeps/sparc/sparc64/qp_qtoui.c: Move from here...
830 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: ... to here.
831
832 * soft-fp/sysdeps/sparc/sparc64/qp_qtoux.c: Move from here...
833 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: ... to here.
834
835 * soft-fp/sysdeps/sparc/sparc64/qp_qtox.c: Move from here...
836 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: ... to here.
837
838 * soft-fp/sysdeps/sparc/sparc64/qp_sqrt.c: Move from here...
839 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: ... to here.
840
841 * soft-fp/sysdeps/sparc/sparc64/qp_stoq.c: Move from here...
842 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: ... to here.
843
844 * soft-fp/sysdeps/sparc/sparc64/qp_sub.c: Move from here...
845 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: ... to here.
846
847 * soft-fp/sysdeps/sparc/sparc64/qp_uitoq.c: Move from here...
848 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: ... to here.
849
850 * soft-fp/sysdeps/sparc/sparc64/qp_util.c: Move from here...
851 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: ... to here.
852
853 * soft-fp/sysdeps/sparc/sparc64/qp_uxtoq.c: Move from here...
854 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: ... to here.
855
856 * soft-fp/sysdeps/sparc/sparc64/qp_xtoq.c: Move from here...
857 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: ... to here.
858
859 * soft-fp/sysdeps/sparc/sparc64/s_frexpl.c: Move from here...
860 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: ... to here.
861
862 * soft-fp/sysdeps/sparc/sparc64/s_ilogbl.c: Move from here...
863 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: ... to here.
864
865 * soft-fp/sysdeps/sparc/sparc64/s_scalblnl.c: Move from here...
866 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: ... to here.
867
868 * soft-fp/sysdeps/sparc/sparc64/s_scalbnl.c: Move from here...
869 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: ... to here.
870
871 * soft-fp/sysdeps/alpha/sfp-machine.h: Move from here...
872 * sysdeps/alpha/soft-fp/sfp-machine.h: ... to here.
873
874 * soft-fp/sysdeps/i386/sfp-machine.h: Move from here...
875 * sysdeps/i386/soft-fp/sfp-machine.h: ... to here.
876
877 * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Move from here...
878 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: ... to here.
879
880 * soft-fp/sysdeps/mips/sfp-machine.h: Move from here...
881 * sysdeps/mips/soft-fp/sfp-machine.h: ... to here.
882
883 * soft-fp/sysdeps/powerpc/sfp-machine.h: Move from here...
884 * sysdeps/powerpc/soft-fp/sfp-machine.h: ... to here.
885
886 * soft-fp/sysdeps/sparc/sparc32/sfp-machine.h: Move from here...
887 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: ... to here.
888
889 * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Move from here...
890 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: ... to here.
891
892 * soft-fp/sysdeps/powerpc/Versions: Move from here...
893 * sysdeps/powerpc/soft-fp/Versions: ... to here.
894
895 * soft-fp/sysdeps/sparc/sparc64/Versions: Move from here...
896 * sysdeps/sparc/sparc64/soft-fp/Versions: ... to here.
897
898 * libio/oldiofsetpos64.c: iofsetpos was introduced in glibc 2.1,
899 change symbol version.
900 * libio/oldiofgetpos64.c: Likewise.
901 Reported by Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>.
902
903 * locale/programs/ld-ctype.c (charclass_charcode_ellipsis): Fix
904 typo.
905 Reported by dyky@kondara.org, closes PR libc/1886.
906
907 * stdlib/tst-strtod.c: Add testcases for denormal numbers from PR
908 libc/1880.
909
910 2000-09-04 Ulrich Drepper <drepper@redhat.com>
911
912 * iconvdata/run-iconv-test.sh: Add code to immediately stop the
913 script when ^C is hit.
914
915 * locale/programs/localedef.c (construct_output_path): Correct
916 computation of endp after asprintf.
917 * locale/programs/locfile.c (write_locale_data): Don't add extra
918 slash in filename.
919
920 2000-09-05 Andreas Jaeger <aj@suse.de>
921
922 * scripts/config.guess: New upstream version.
923 * scripts/config.sub: Likewise.
924 * manual/texinfo.tex: Likewise.
925
926 2000-09-04 Andreas Schwab <schwab@suse.de>
927
928 * elf/Makefile (all-dl-routines): New variable.
929 (elide-routines.os): Use it instead of $(dl-routines).
930 (all-rtld-routines): New variable.
931 (extra-objs): Use it instead of $(rtld-routines).
932 ($(objpfx)dl-allobjs.os): Likewise.
933 * sysdeps/ia64/Makefile [$(subdir) = elf]: Modify
934 sysdep-dl-routines and sysdep_routines instead of rtld-routines
935 and dl-routines.
936
937 2000-09-03 Bruno Haible <haible@clisp.cons.org>
938
939 * iconv/gconv_trans.c (__gconv_translit_find): Update open_count.
940 Set fname to NULL if the module wasn't found.
941
942 2000-09-03 Bruno Haible <haible@clisp.cons.org>
943
944 * iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to
945 true if trans->name already ends in ".so".
946
947 2000-09-03 Bruno Haible <haible@clisp.cons.org>
948
949 * iconv/gconv_int.h (__gconv_release_shlib): Change return type to
950 void.
951 * iconv/gconv_dl.c (do_release_shlib): Don't decrement the counter
952 below -TRIES_BEFORE_UNLOAD-1, to avoid wraparound.
953 (__gconv_release_shlib): Change return type to void.
954 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Don't set
955 step->__counter here.
956 * iconv/gconv_db.c (free_derivation): Don't call a step's destructor
957 if the reference is zero.
958 (release_step): New function.
959 (gen_steps): Always initialize the __counter to 1. Use release_step.
960 Don't call the destructor on the step whose initializer failed.
961 (increment_counter): Use release_step. Don't normally run destructors
962 here.
963 (__gconv_close_transform): Use release_step.
964
965 2000-09-03 Bruno Haible <haible@clisp.cons.org>
966
967 * iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove.
968 (__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead.
969
970 2000-09-03 Bruno Haible <haible@clisp.cons.org>
971
972 * iconvdata/euc-tw.c (BODY for FROM_LOOP): Initialize ch2 correctly.
973 If the first byte is 0x8E, don't ask for 4 bytes until it has been
974 verified that the second byte is valid. Leave it to cns11643_to_ucs4
975 to check for incomplete input.
976 * iconvdata/cns11643.h (cns11643_to_ucs4): The plane number is
977 ch - 0x20 - offset, not ch - 0x21 - offset. Upper bound for
978 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
979 (ucs4_to_cns11643): Fix mapping for ranges 0x3105..0x3129 and
980 0x9f9d..0x9fa5.
981 * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Upper bound for
982 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
983 (ucs4_to_cns11643l1): Fix mapping for range 0x3105..0x3129.
984 * iconvdata/cns11643l1.c (__cns11643l1_from_ucs4_tab6): Extend
985 upto index 0x0052.
986
987 2000-09-03 Bruno Haible <haible@clisp.cons.org>
988
989 * iconv/gconv_db.c (find_derivation): Always use the least-cost
990 solution.
991
992 2000-09-03 Bruno Haible <haible@clisp.cons.org>
993
994 * iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF
995 are invalid.
996
997 2000-09-03 Bruno Haible <haible@clisp.cons.org>
998
999 * iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C.
1000 * iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to
1001 U+007E.
1002
1003 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1004
1005 * iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C.
1006
1007 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1008
1009 * iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7.
1010
1011 2000-09-03 Bruno Haible <haible@clisp.cons.org>
1012
1013 * iconvdata/tst-tables.sh: New file.
1014 * iconvdata/tst-table.sh: New file.
1015 * iconvdata/tst-table-from.c: New file.
1016 * iconvdata/tst-table-to.c: New file.
1017 * iconvdata/tst-table-charmap.sh: New file.
1018 * iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to.
1019 (distribute): Add tst-tables.sh, tst-table.sh, tst-table-charmap.sh,
1020 tst-table-from.c, tst-table-to.c, EUC-JP.irreversible,
1021 ISIRI-3342.irreversible, SJIS.irreversible.
1022 (tests): Add dependency on tst-tables.out.
1023 (tst-tables.out, tst-tables-clean): New rules.
1024 (do-tests-clean, common-mostlyclean): Require tst-tables-clean.
1025 * iconvdata/ISIRI-3342.irreversible: New file.
1026 * iconvdata/EUC-JP.irreversible: New file.
1027 * iconvdata/SJIS.irreversible: New file.
1028
1029 2000-09-04 Ulrich Drepper <drepper@redhat.com>
1030
1031 * manual/locale.texi (General Numeric): Update description of
1032 representation of the grouping information in the locale data.
1033 Patch by Gaute B. Strokkenes <gs234@cam.ac.uk>.
1034
1035 2000-09-04 Andreas Jaeger <aj@suse.de>
1036
1037 * locale/programs/ld-monetary.c (monetary_read): Fix typo.
1038 * iconv/iconv_prog.c (options): Fix typo.
1039 Reported by dyky@kondara.org, closes PR libc/1885.
1040
1041 2000-09-04 Andreas Jaeger <aj@suse.de>
1042
1043 * sysdeps/generic/fegetenv.c: It's __fegetenv.
1044 Reported by Rob Levin <lilo@transvirtual.com>.
1045
1046 2000-09-03 Ulrich Drepper <drepper@redhat.com>
1047
1048 * time/sys/time.h (gettimeofday): Move restrict for tz parameter
1049 to the typedefs of __timezone_ptr_t.
1050 Reported by MATSUMURA Hiromitsu <coji2@mb.infoweb.ne.jp>.
1051
1052 2000-09-02 Jakub Jelinek <jakub@redhat.com>
1053
1054 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in
1055 the loop.
1056
1057 2000-09-01 H.J. Lu <hjl@gnu.org>
1058
1059 * Makeconfig (built-program-cmd): Don't use the dynamic linker
1060 to run a binary if it is in $(tests-static).
1061
1062 * Rules (binaries-static): Add $(tests-static).
1063
1064 2000-09-02 Andreas Jaeger <aj@suse.de>
1065
1066 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Fixes for fcntl64.
1067
1068 * libio/fmemopen.c (fmemopen_close): Revert one part of last
1069 patch.
1070
1071 2000-09-01 Ulrich Drepper <drepper@redhat.com>
1072
1073 * iconvdata/big5hkscs.c: Regenerated from charmap.
1074 * iconvdata/testdata/BIG5HKSCS: Regenerated.
1075 * iconvdata/testdata/BIG5HKSCS..UTF8: Regenerated.
1076
1077 * libio/fmemopen.c (fmemopen_seek): Add default case in switch
1078 statement. General cleanup.
1079
1080 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1081
1082 * wctype/wcfuncs.c (iswblank): New function.
1083 * wctype/wcfuncs_l.c (__iswblank_l): New function.
1084 * wctype/wcextra.c: Remove file.
1085 * wctype/wcextra_l.c: Remove file.
1086 * wctype/Makefile (distribute): Remove wcextra and wcextra_l.
1087
1088 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1089
1090 * locale/programs/ld-collate.c (collate_output): Remove redundant
1091 assert call.
1092 * string/strcoll.c: Likewise.
1093 * string/strxfrm.c: Include assert.h. Add assert calls like in
1094 string/strcoll.c.
1095
1096 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1097
1098 * locale/categories.def (_NL_COLLATE_HASH_SIZE,
1099 _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_NAMES, _NL_CTYPE_NAMES,
1100 _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Remove definitions.
1101 * locale/langinfo.h (_NL_COLLATE_HASH_SIZE, _NL_COLLATE_HASH_LAYERS,
1102 _NL_COLLATE_NAMES): Rename to _NL_COLLATE_GAP1/2/3 respectively.
1103 (_NL_CTYPE_NAMES): Rename to _NL_CTYPE_GAP3.
1104 (_NL_CTYPE_GAP3): Rename to _NL_CTYPE_GAP4.
1105 (_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Rename to
1106 _NL_CTYPE_GAP5/6 respectively.
1107
1108 * locale/C-ctype.c (_nl_C_LC_CTYPE): Update.
1109 * ctype/ctype-info.c (__ctype_names, __ctype_width): Remove variables.
1110 * locale/lc-ctype.c (_nl_postload_ctype): Assume new locale format.
1111 Don't initialize __ctype_names and __ctype_width.
1112 * wctype/cname-lookup.h: Remove file.
1113 * wctype/Makefile (distribute): Remove cname-lookup.h.
1114 * wctype/wchar-lookup.h: Include stdint.h.
1115 * wctype/wctype.c (__wctype): Assume new locale format.
1116 * wctype/wctype_l.c (__wctype_l): Likewise.
1117 * wctype/iswctype.c: Don't include cname-lookup.h.
1118 (__iswctype): Assume new locale format.
1119 * wctype/iswctype_l.c: Don't include cname-lookup.h.
1120 (__iswctype_l): Assume new locale format.
1121 * wctype/wctrans.c: Don't include ctype.h.
1122 (wctrans): Assume new locale format.
1123 * wctype/wctrans_l.c (__wctrans_l): Likewise.
1124 * wctype/towctrans.c: Don't include cname-lookup.h.
1125 (__towctrans): Assume new locale format.
1126 * wctype/towctrans_l.c: Don't include cname-lookup.h.
1127 (__towctrans_l): Assume new locale format.
1128 * wctype/wcfuncs.c: Don't include ctype.h and cname-lookup.h. Include
1129 localeinfo.h instead.
1130 (__NO_WCTYPE): Remove unused macro.
1131 (__ctype32_b, __ctype32_toupper, __ctype32_tolower): Remove
1132 declarations.
1133 (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, iswprint,
1134 iswpunct, iswspace, iswupper, iswxdigit): Assume new locale format.
1135 (towlower, towupper): Likewise.
1136 * wctype/wcfuncs_l.c: Don't include cname-lookup.h. Include
1137 localeinfo.h instead.
1138 (__NO_WCTYPE): Remove unused macro.
1139 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
1140 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
1141 __iswxdigit_l): Assume new locale format.
1142 (__towlower_l, __towupper_l): Likewise.
1143 * wcsmbs/wcwidth.h: Don't include cname-lookup.h.
1144 (__ctype32_b): Remove declaration.
1145 (internal_wcwidth): Assume new locale format.
1146 * locale/programs/ld-ctype.c (struct locale_ctype_t): Remove fields
1147 plane_size, plane_cnt, names, width. Rename map to map_b, rename map32
1148 to map32_b, rename width_3level to width.
1149 (ctype_output): Always create new locale format. Don't emit
1150 _NL_CTYPE_NAMES, _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS any more.
1151 (allocate_arrays): Always create new locale format.
1152
1153 * locale/C-collate.c (_nl_C_LC_COLLATE): Update.
1154 * locale/weightwc.h (findidx): Assume new locale format.
1155 * string/strcoll.c (wcscoll): Remove local variables size, layers,
1156 names.
1157 * string/strxfrm.c (wcsxfrm): Likewise.
1158 * posix/fnmatch_loop.c (internal_fnwmatch): Likewise. Change type of
1159 local variable collseq to 'const char *'.
1160 (SUFFIX): Don't use, don't undefine.
1161 * posix/fnmatch.c: Remove SUFFIX definition.
1162 * locale/programs/ld-collate.c (struct locale_collate_t): Remove
1163 fields plane_size, plane_cnt, wcheads, wcseqorder. Rename
1164 wcheads_3level to wcheads, rename wcseqorder_3level to wcseqorder.
1165 (collate_finish): Always create new locale format. Remove local
1166 variables min_total, act_size.
1167 (collate_output): Always create new locale format. Remove local
1168 variables table_size, names, tablewc. Rename tablewc_3level to
1169 tablewc.
1170
1171 2000-08-31 Bruno Haible <haible@clisp.cons.org>
1172
1173 * locale/programs/ld-collate.c (obstack_int32_grow,
1174 obstack_int32_grow_fast): New inline functions.
1175 (output_weightwc, collate_output): Use them where possible.
1176
1177 2000-09-01 Ulrich Drepper <drepper@redhat.com>
1178
1179 * libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last
1180 patch (_mode -> _flags).
1181
1182 * libio/Makefile (headers): Add stdio_ext.h.
1183 (routines): Add __fbufsize, __freading, __fwriting, __freadable,
1184 __fwritable, __flbf, __fpurge, __fpending, and __fsetlocking.
1185 * libio/Versions [libc] (GLIBC_2.2): Add __fbufsize, __freading,
1186 __fwriting, __freadable, __fwritable, __flbf, __fpurge, __fpending,
1187 __fsetlocking, and _flushlbf.
1188 * libio/__fbufsize.c: New file.
1189 * libio/__flbf.c: New file.
1190 * libio/__fpending.c: New file.
1191 * libio/__fpurge.c: New file.
1192 * libio/__freadable.c: New file.
1193 * libio/__freading.c: New file.
1194 * libio/__fsetlocking.c: New file.
1195 * libio/__fwritable.c: New file.
1196 * libio/__fwriting.c: New file.
1197 * libio/stdio_ext.h: New file.
1198 * libio/genops.c (_IO_flush_all_linebuffered): Add alias _flushlbf.
1199 * libio/libio.h (_IO_USER_LOCK): Define.
1200 [_IO_MTSAFE_IO] (_IO_flockfile, _IO_funlockfile): Add macros which
1201 test _IO_USER_LOCK flag first.
1202
1203 * iconv/gconv_open.c (__gconv_open): Set res to __GCONV_NOMEM is
1204 malloc fails.
1205
1206 2000-09-01 Andreas Jaeger <aj@suse.de>
1207
1208 * sysdeps/unix/sysv/linux/bits/fcntl.h: Always fail.
1209
1210 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: New file.
1211
1212 2000-08-31 Ulrich Drepper <drepper@redhat.com>
1213
1214 * math/Makefile (tests): Add tst-defintions.
1215 * math/tst-definitions.c: New file.
1216
1217 * stdlib/Makefile (headers): Add bits/wchar.h.
1218 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file.
1219 * sysdeps/generic/bits/wchar.h: New file.
1220 * sysdeps/generic/stdint.h: Include <bits/wchar.h>. Use values in this
1221 file to define WCHAR_MIN and WCHAR_MAX.
1222 Change UINT*8_MAX and UIN*16_MAX value to type int.
1223 * wcsmbs/wchar.h: Include <bits/wchar.h>. Use values in this
1224 file to define WCHAR_MIN and WCHAR_MAX.
1225 * sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN
1226 int values.
1227 * sysdeps/arm/fpu/bits/mathdef.h: Likewise.
1228 * sysdeps/generic/bits/mathdef.h: Likewise.
1229 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
1230 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
1231 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
1232 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
1233 * locale/locale.h (struct lconv): Add __ prefix to the new members
1234 if not C99.
1235 * sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and
1236 imaxdiv optimizations.
1237 * sysdeps/wordsize-32/lldiv.c: Add hack to make alias work.
1238 * sysdeps/wordsize-64/ldiv.c: Likewise.
1239 * sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to
1240 const fenv_t*.
1241 * sysdeps/generic/bits/fenv.h: Likewise.
1242 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
1243 * sysdeps/ia64/bits/fenv.h: Likewise.
1244 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
1245 * sysdeps/mips/bits/fenv.h: Likewise.
1246 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
1247 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
1248 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1249
1250 * inet/rcmd.c: Use *stat64 instead of *stat internally.
1251 * inet/ruserpass.c: Likewise.
1252 * catgets/open_catalog.c: Likewise.
1253 * intl/loadmsgcat.c: Likewise.
1254 * io/getdirname.c: Likewise.
1255 * locale/loadlocale.c: Likewise.
1256 * misc/getusershell.c: Likewise.
1257 * stdlib/canonicalize.c: Likewise.
1258 * sysdeps/posix/euidaccess.c: Likewise.
1259 * sysdeps/posix/isfdtype.c: Likewise.
1260 * sysdeps/posix/posix_fallocate.c: Likewise.
1261 * sysdeps/posix/tempname.c: Likewise.
1262 * sysdeps/unix/grantpt.c: Likewise.
1263 * sysdeps/unix/opendir.c: Likewise.
1264 * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
1265 * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
1266 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1267 * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
1268 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1269 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1270 * sysvipc/ftok.c: Likewise.
1271 * time/getdate.c: Likewise.
1272
1273 * time/getdate.c: Add extra access test.
1274
1275 2000-08-31 Ulrich Drepper <drepper@redhat.com>
1276
1277 * version.h (VERSION): Bump to 2.1.93.
1278
1279 * sysdeps/unix/sysv/linux/powerpc/Dist: Add fe_nomask.c.
1280 * sysdeps/unix/sysv/linux/i386/Dist: Add olddirent.h.
1281
1282 * intl/Makefile (tests): Depend in mtrace-tst-gettext.
1283 Make this a new rule depending on tst-gettext.out and run mtrace.
1284 * intl/tst-gettext.c: Call mtrace.
1285 * intl/tst-gettext.sh: Put MALLOC_TRACE in environment of tst-gettext.
1286
1287 * elf/dl-reloc.c: Add a few more __builtin_expect.
1288
1289 * configure.in: Remove --with-gettext option.
1290
1291 * intl/dcigettext.c (free_mem): Correct freeing of
1292 _nl_domain_bindings list.
1293
1294 * sysdeps/generic/setenv.c (free_mem): New function. Free all
1295 allocated memory.
1296
1297 * intl/locale.alias: Add aliases for bokmal and nynorsk.
1298
1299 * locale/iso-639.def: Fix 639-1 code for Bokmal.
1300
1301 * stdio-common/itoa-digits.c: Move upper digits to...
1302 * stdio-common/itoa-udigits.c: ...here. New file.
1303 * stdio-common/Makefile (routines): Add itoa-udigits.
1304
1305 * sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to
1306 relocate ld.so don't add supprt for relocations which should not
1307 appear in ld.so.
1308
1309 * malloc/malloc.c (ptmalloc_init): Optimize a bit by not calling
1310 __secure_getenv. Instead test __libc_enable_secure once.
1311
1312 * io/pwd.c (main): Provide a good example, use *_unlocked function.
1313
1314 2000-08-30 Ulrich Drepper <drepper@redhat.com>
1315
1316 * iconv/gconv_conf.c (insert_module): Take extra parameter to decide
1317 whether the new record should be freed if it's a duplicate.
1318 (add_module): Adjust insert_module call.
1319 (__gconv_read_conf): Likewise.
1320 * iconvdata/Makefile (generated): Add tst-loading.mtrace and
1321 mtrace-tst-loading.
1322 (tests): Make $(objpfx)mtrace-tst-loading a dependency. Add rule.
1323
1324 * sysdeps/generic/ldsodefs.h: Add declaration for _dl_all_dirs and
1325 _dl_all_init_dirs.
1326 * include/link.h (struct r_search_path_struct): New.
1327 (struct link_map): Use it for l_rpath_dirs and l_runpath_dirs.
1328 * elf/Versions [ld] (GLIBC_2.2): Add _dl_all_dirs and
1329 _dl_all_init_dirs.
1330 * elf/dl-close.c (_dl_close): Free l_rpath_dirs and l_runpath_dirs.
1331 * elf/dl-libc.c (free_mem): Free _dl_all_dirs list except elements
1332 added at startup time.
1333 * elf/dl-load.c: Fix memory handling. r_search_path_struct
1334 contains element to remember fact that we can free memory.
1335 (all_dirs): Renamed to _dl_all_dirs. Made global.
1336 (_dl_init_all_dirs): New variable.
1337 (fillin_rpath): Save one malloc call.
1338 (decompose_rpath): Change interface. New first parameter points to
1339 r_search_path_struct.
1340 (_dl_init_paths): Adjust for changes. Mark all memory as not
1341 deletable. Set _dl_init_all_paths value.
1342 (open_path): Remove may_free_dirs parameter. r_search_path_elem ***
1343 parameter replaced with r_search_path_struct *. Information about
1344 freeing now contained in r_search_path_struct.
1345 (_dl_map_object): Adjust for above changes.
1346
1347 * elf/dl-open.c (dl_open_worker): Change format of debug info a bit.
1348
1349 * elf/dl-load.c (fillin_rpath): Only check for trusted directories
1350 when adding new entries.
1351
1352 * elf/dl-load.c (fillin_rpath): Make local copy of where string
1353 since the object being loaded can be unloaded.
1354
1355 * iconvdata/Makefile (tests): Add tst-loading.
1356 * iconvdata/tst-loading.c: New file.
1357
1358 2000-08-29 Bruno Haible <haible@clisp.cons.org>
1359
1360 * stdio-common/vfscanf.c (_IO_vfscanf): Back out last ungetc change.
1361 When comparing a char with an int, always cast the char to
1362 'unsigned char'. New macro ungetc_not_eof, to avoid warnings when
1363 compiling with -funsigned-char. Use UCHAR_MAX+1 instead of UCHAR_MAX.
1364
1365 2000-08-30 Ulrich Drepper <drepper@redhat.com>
1366
1367 * time/strftime.c (my_strftime): Add compatibility code for use
1368 outside glibc. Patch by Jim Meyering <meyering@ascend.com>.
1369
1370 * sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere
1371 return 0 for success but always < 0 on failure.
1372
1373 * nss/getXXbyYY_r.c: Define result to *result before including
1374 digits_dots.c.
1375
1376 2000-08-30 Andreas Jaeger <aj@suse.de>
1377
1378 * math/gen-libm-test.pl (parse_ulps): Remove extra \.
1379
1380 2000-08-29 Ulrich Drepper <drepper@redhat.com>
1381
1382 * iconvdata/big5hkscs.c: Rewritten. Regenerate data from the
1383 official file.
1384 * iconvdata/TESTS: Add BIG5HKSCS entry.
1385 * iconvdata/testdata/BIG5HKSCS: New file.
1386 * iconvdata/testdata/BIG5HKSCS..UTF8: New file.
1387
1388 * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is
1389 always true.
1390
1391 * libio/iogetline.c: Set mode before the loop in case n==0.
1392 * libio/iogetwline.c: Likewise.
1393
1394 2000-08-29 H.J. Lu <hjl@gnu.org>
1395
1396 * libio/fileops.c (new_do_write): Check fp->_mode <= 0 instead
1397 of fp->_mode < 0.
1398 (_IO_new_file_overflow): Likewise.
1399 * libio/genops.c (_IO_flush_all): Likewise.
1400 * libio/ioftell.c (_IO_ftell): Likewise.
1401
1402 2000-08-29 Akira Higuchi <a@kondara.org>
1403
1404 * iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct,
1405 and __end_fct fields of struct __gconv_step.
1406 * iconv/Makefile (tests): Add iconv-bug2.
1407 * iconv/iconv-bug2.c: New file.
1408
1409 * iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr'
1410 instead of 'inptr - inend' to ksc5601_to_ucs4.
1411
1412 * iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character.
1413
1414 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete
1415 character or shift sequence is found at the end of the input
1416 string, return__GCONV_INCOMPLETE_INPUT instead of
1417 __GCONV_EMPTY_INPUT.
1418 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
1419 * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.
1420
1421 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return
1422 __GCONV_ILLEGAL_INPUT for 8bit characters.
1423
1424 2000-08-29 Ulrich Drepper <drepper@redhat.com>
1425
1426 * signal/signal.h (sigpause): Move __THROW before __asm__.
1427
1428 * inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
1429 names don't match don't return.
1430 Patch by Olaf Kirch <okir@flash.lst.de>.
1431
1432 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1433
1434 * time/strftime.c (my_strftime): Handle # flag for %b as well.
1435
1436 2000-08-27 H.J. Lu <hjl@gnu.org>
1437
1438 * posix/Makefile (otherlibs): Add for building with static-nss
1439 for "make check".
1440
1441 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1442
1443 * libio/stdio.h: Add fmemopen prototype.
1444
1445 2000-08-25 Andreas Jaeger <aj@suse.de>
1446
1447 * libio/Makefile (routines): Add fmemopen.
1448 (tests): Add test-fmemopen.
1449 * libio/Versions: Add fmemopen with version GLIBC_2.2.
1450 * libio/test-fmemopen.c: New file.
1451 * libio/fmemopen.c: New file.
1452 Patches by Hanno Mueller <kontakt@hanno.de>.
1453
1454 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1455
1456 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double
1457 inclusion. Patch by Jes Sorensen <jes@linuxcare.com>.
1458
1459 * locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828
1460 to avoid crashing statically linked applications.
1461
1462 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1463
1464 * string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
1465 If nrules == 0 and srclen < n, copy only srclen + 1 characters.
1466
1467 * sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>.
1468 If the result is fits in the buffer, copy only as many bytes as needed.
1469
1470 * sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the
1471 buffer after copying numbuf into it.
1472 * sysdeps/mach/_strerror.c (__strerror_r): Likewise.
1473
1474 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1475
1476 * posix/confstr.c (confstr): When string_len > len, NUL-terminate
1477 the result. When string_len < len, don't clear the rest of the buffer.
1478
1479 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1480
1481 Support for new LC_COLLATE format.
1482 * locale/coll-lookup.h: New file.
1483 * locale/weightwc.h (findidx): When size == 0, call
1484 collidx_table_lookup.
1485 * wcsmbs/wcscoll.c: Include coll-lookup.h.
1486 * wcsmbs/wcsxfrm.c: Likewise.
1487 * posix/fnmatch.c: Likewise.
1488 * posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call
1489 collseq_table_lookup.
1490 * locale/programs/3level.h: New file.
1491 * locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define
1492 by including "3level.h".
1493 * locale/programs/ld-collate.c (wchead_table, collidx_table,
1494 collseq_table): New types, defined by including "3level.h".
1495 (locale_collate_t): New wcheads_3level, wcseqorder_3level fields.
1496 (encoding_mask, encoding_byte): Remove.
1497 (utf8_encode): Use simple shifts instead.
1498 (collate_finish): When !oldstyle_tables, set plane_size and plane_cnt
1499 to 0, and initialize and fill wcheads_3level and wcseqorder_3level.
1500 (collate_output): New local variable tablewc_3level. When
1501 !oldstyle_tables, set table_size to 0 and names to NULL and fill
1502 tablewc_3level instead of tablewc. Change format of TABLEWC and
1503 COLLSEQWC entries written to the file.
1504 * locale/C-collate.c (collseqwc): Change format.
1505 (_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format
1506 of COLLSEQWC.
1507 * locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h.
1508
1509 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1510
1511 * locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro.
1512 (locale_ctype_t): New charnames_idx field.
1513 (ctype_startup): Initialize charnames_idx field.
1514 (find_idx): Speed up dramatically by using charnames_idx inverse table.
1515
1516 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1517
1518 * locale/C-ctype.c: Switch to new locale format.
1519 (_nl_C_LC_CTYPE_names): Remove array.
1520 (STRUCT_CTYPE_CLASS): New macro.
1521 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
1522 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
1523 New three-level tables.
1524 (_nl_C_LC_CTYPE_width): Change from array to three-level table.
1525 (_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS
1526 to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add
1527 12 class tables and 2 map tables at the end.
1528 * ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration.
1529 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
1530 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
1531 New declarations.
1532 (b): Remove trailing semicolon.
1533 (__ctype_names, __ctype_width): Don't initialize.
1534 (__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize.
1535
1536 2000-08-27 Bruno Haible <haible@clisp.cons.org>
1537
1538 * elf/dl-load.c (open_path): Add a argument telling whether *dirsp
1539 is guaranteed to be allocated with the same malloc() and may be
1540 passed to free().
1541 (_dl_map_object): Update open_path calls. If rtld_search_dirs has
1542 been set to empty by an earlier open_path call, don't pass it again.
1543
1544 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1545
1546 * include/libintl.h: Include <locale.h> since libintl.h doesn't if
1547 we are not optimizing.
1548
1549 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double
1550 inclusion.
1551
1552 * stdio-common/vfscanf.c (ungetc): Cast c to signed char first to
1553 really match EOF.
1554 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1555
1556 2000-08-28 Andreas Jaeger <aj@suse.de>
1557
1558 * sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon.
1559
1560 2000-08-28 Mark Kettenis <kettenis@gnu.org>
1561
1562 * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from
1563 getpeername. Use ISO C style function definition.
1564 (getpeername): Provide weak alias.
1565 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from
1566 setrlimit. Use ISO C style function definition.
1567 (setrlimit): Provide weak alias.
1568
1569 2000-08-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
1570
1571 * shlib-versions: Add a rule for S/390 to the libm version list.
1572 * sysdeps/s390/Versions: New file.
1573 * sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c.
1574 * sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64.
1575 * sysdeps/unix/sysv/linux/s390/Versions: New file.
1576 * sysdeps/unix/sysv/linux/s390/alphasort64.c: New file.
1577 * sysdeps/unix/sysv/linux/s390/chown.c: New file.
1578 * sysdeps/unix/sysv/linux/s390/fxstat.c: New file.
1579 * sysdeps/unix/sysv/linux/s390/getdents64.c: New file.
1580 * sysdeps/unix/sysv/linux/s390/getrlimit.c: New file.
1581 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file.
1582 * sysdeps/unix/sysv/linux/s390/lxstat.c: New file.
1583 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file.
1584 * sysdeps/unix/sysv/linux/s390/readdir64.c: New file.
1585 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file.
1586 * sysdeps/unix/sysv/linux/s390/scandir64.c: New file.
1587 * sysdeps/unix/sysv/linux/s390/setrlimit.c: New file.
1588 * sysdeps/unix/sysv/linux/s390/syscalls.list: New file.
1589 * sysdeps/unix/sysv/linux/s390/versionsort64.c: New file.
1590 * sysdeps/unix/sysv/linux/s390/xstat.c: New file.
1591
1592 2000-08-28 Ulrich Drepper <drepper@redhat.com>
1593
1594 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu]
1595 (CFLAGS-initfini.s): Add -DWEAK_GMON_START.
1596
1597 * elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files.
1598 * elf/dl-close.c (_dl_close): Print debug message if object is not
1599 unloaded.
1600 * elf/dl-open.c (dl_open_worked): Print message about opencount before
1601 returning to caller.
1602
1603 * po/zh.po: Renamed to...
1604 * po/zh_TW.po: ...this.
1605
1606 2000-08-27 Geoff Keating <geoffk@cygnus.com>
1607
1608 * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
1609
1610 * sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
1611 * sysdeps/powerpc/fpu/feenablxcpt.c: New file.
1612 * sysdeps/powerpc/fpu/fegetexcept.c: New file.
1613 * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
1614
1615 2000-08-27 Ulrich Drepper <drepper@redhat.com>
1616
1617 * locale/programs/ld-collate.c (insert_weights): Also update
1618 backpointer of next element.
1619 (collate_read): Allow definition of new collation symbols in stage 2.
1620 Symbol after reorder-after can be UCS4 value.
1621 Allow reordering of collation symbols and elements.
1622 Do not only move reorder entry in new position. Instead call
1623 insert_weight to do this and read the weights.
1624
1625 * locale/findlocale.c (free_mem): Add cast to avoid warning.
1626
1627 * intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code
1628 to determine invalid locale name.
1629 * locale/findlocale.c (_nl_find_locale): Likewise.
1630
1631 * posix/annexc.c: Correct test for unavailable feature.
1632
1633 * sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE ->
1634 __inline.
1635
1636 2000-08-26 Ulrich Drepper <drepper@redhat.com>
1637
1638 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64
1639 syscall.
1640
1641 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource]
1642 (sysdep_routines): Add oldgetrlimit64.
1643
1644 * elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c,
1645 reldepmod2.c, reldepmod3.c, and reldepmod4.c.
1646 (tests): Add unload, reldep, reldep2, and reldep3.
1647 (modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3,
1648 and reldepmod4.
1649 Add rules to build and run unload, reldep, reldep2, and reldep3.
1650 * elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit.
1651 Don't create relocation dependency if it is nonzero.
1652 (_dl_lookup_symbol_skip): Remove relocation dependency stuff. This
1653 can never happen here.
1654 (_dl_lookup_versioned_symbol): Add new parameter explicit.
1655 Don't create relocation dependency if it is nonzero.
1656 (_dl_lookup_versioned_symbol_skip): Remove relocation dependency
1657 stuff. This can never happen here.
1658 * sysdeps/generic/ldsodefs.h: Change prototypes.
1659 * elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to
1660 _dl_lookup_up and _dl_lookup_versioned_symbol.
1661 (RESOLV): Likewise.
1662 * elf/dl-runtime.c (fixup): Likewise.
1663 (profile_fixup): Likewise.
1664 * elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to
1665 _dl_lookup_symbol.
1666 * elf/dl-symbol.c (_dl_symbol_value): Likewise.
1667 * elf/rtld.c (dl_main): Likewise.
1668 * elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to
1669 _dl_lookup_symbol if handle is not RTLD_DEFAULT. Always compute
1670 and pass down the caller map.
1671 (_dl_vsym): Likewise.
1672 * elf/reldep.c: New file.
1673 * elf/reldep2.c: New file.
1674 * elf/reldep3.c: New file.
1675 * elf/reldepmod1.c: New file.
1676 * elf/reldepmod2.c: New file.
1677 * elf/reldepmod3.c: New file.
1678 * elf/reldepmod4.c: New file.
1679 * elf/unload.c: New file.
1680 * elf/unloadmod.c: New file.
1681
1682 * elf/do-lookup.h: Remove unused undef_name parameter.
1683 * elf/dl-lookup.c: Adjust callers.
1684
1685 2000-08-25 Ulrich Drepper <drepper@redhat.com>
1686
1687 * iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of
1688 irreversible in recursive call of conversion function to signal that
1689 no error handling is wanted.
1690 * iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too.
1691 (STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL.
1692 * iconv/skeleton.c (lirreversiblep): New variable. Set to NULL is
1693 recursive error handling call, otherwise to &lirreversible. Use it
1694 for calls to conversion functions.
1695 * iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when
1696 transliterating.
1697 (ucs4_internal_loop_unaligned): Likewise.
1698 (ucs4le_internal_loop): Likewise.
1699 (ucs4le_internal_loop_unaligned): Likewise.
1700
1701 2000-08-25 Greg McGary <greg@mcgary.org>
1702
1703 * sysdeps/i386/memchr.S: Check high bound against chars
1704 actually scanned.
1705 * sysdeps/i386/memcmp.S: Likewise.
1706 * sysdeps/i386/stpncpy.S: Adjust high-bound check to
1707 account for pointers that lie one beyond end-of-buffer.
1708
1709 2000-08-25 Ulrich Drepper <drepper@redhat.com>
1710
1711 * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic.
1712 * elf/nodelete.c (fini_ran): New global variable.
1713 (do_test): Before every dlclose call clear fini_ran and test
1714 afterwards that it is not set by the destructors.
1715 * elf/nodelmod1.c: Add destructor which sets fini_ran.
1716 * elf/nodelmod2.c: Likewise.
1717 * elf/nodelmod4.c: Likewise.
1718
1719 2000-08-21 Jes Sorensen <jes@linuxcare.com>
1720
1721 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and
1722 getrlimit to the list.
1723
1724 2000-08-18 Jes Sorensen <jes@linuxcare.com>
1725
1726 * sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit
1727 long double format so use ldbl-96 instead of ldbl-128.
1728
1729 2000-08-25 Ulrich Drepper <drepper@redhat.com>
1730
1731 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL
1732 even if bits 10 a 11 are non-zero.
1733 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise.
1734
1735 * Makeconfig: Ensures the soversions.mk part of Makefile gets
1736 included before building gnu/lib-names.h
1737 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1738
1739 * elf/dl-close.c (_dl_close): Don't run destructors of objects
1740 marked DF_1_NODELETE.
1741
1742 * sysdeps/posix/system.c (__libc_system): We cannot use vfork here
1743 since we call sigaction in the child.
1744
1745 2000-08-25 Andreas Jaeger <aj@suse.de>
1746
1747 * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on
1748 gconv-modules.
1749
1750 2000-08-25 Andreas Jaeger <aj@suse.de>
1751
1752 * manual/arith.texi (Control Functions): Clarify possible
1753 arguments. Closes PR libc/1856.
1754
1755 2000-08-24 H.J. Lu <hjl@gnu.org>
1756
1757 * stdio-common/Makefile (tests): Don't do it for cross compiling.
1758 * malloc/Makefile (tests): Likewise.
1759
1760 2000-08-24 Ulrich Drepper <drepper@redhat.com>
1761
1762 * iconvdata/unicode.c (gconv_init): Correct test for direction.
1763
1764 2000-08-24 Andreas Jaeger <aj@suse.de>
1765
1766 * malloc/Makefile (extra-objs): Fix last patch, build memusagestat
1767 only if LIBGD is available.
1768
1769 2000-08-24 Ulrich Drepper <drepper@redhat.com>
1770
1771 * resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid
1772 problems with now restrict parameter types.
1773 (convaddr4to6): Likewise.
1774
1775 2000-08-24 Denis Joseph Barrow <djbarrow@de.ibm.com>
1776
1777 * sysdeps/s390/fpu/fedisblxcpt.c: New file.
1778 * sysdeps/s390/fpu/feenablxcpt.c: New file.
1779 * sysdeps/s390/fpu/fegetexcept.c: New file.
1780 * sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition
1781 FPC_VALID_MASK.
1782
1783 2000-08-24 Andreas Jaeger <aj@suse.de>
1784
1785 * malloc/Makefile (extra-objs): Add memusagestat.o.
1786 (generated): Added memusage and memusagestat for make clean.
1787
1788 * libio/tst_putwc.c (do_test): Delete temporary file.
1789 Move inclusion of test-skeleton to front to have prototype for
1790 add_temp_file.
1791
1792 * posix/Makefile (generated): Add wordexp-tst.out.
1793
1794 2000-08-24 Ulrich Drepper <drepper@redhat.com>
1795
1796 * resolv/res_hconf.c (free_mem): Remove not needed if.
1797
1798 * time/tzset.c (free_mem): New function.
1799 * string/strsignal.c (free_mem): New function.
1800 * inet/inet_ntoa.c (free_mem): New function.
1801 * sunrpc/clnt_perr.c (free_mem): New function.
1802
1803 2000-08-24 Andreas Jaeger <aj@suse.de>
1804
1805 * sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
1806 * sysdeps/unix/sysv/syscalls.list: Likewise.
1807
1808 * posix/unistd.h: Move internal prototypes from here ...
1809 * include/unistd.h: ... to here.
1810
1811 * sysvipc/sys/shm.h: Add const attribute to __getpagesize.
1812
1813 2000-08-24 Ulrich Drepper <drepper@redhat.com>
1814
1815 * grp/initgroups.c (initgroups): Deallocate groups array.
1816 Reported by jani.raiha@sonera.com [PR libc/1868].
1817
1818 * sysdeps/s390/Dist: Add fpu/fenv_libc.h.
1819 * sysdeps/alpha/Dist: Likewise.
1820
1821 2000-08-23 Ulrich Drepper <drepper@redhat.com>
1822
1823 * crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
1824 destructor). Reported by Solar Designer <solar@false.com>.
1825
1826 * iconv/gconv_conf.c (add_module): Remove some unneeded code to
1827 avoid adding double slashes.
1828
1829 2000-08-23 Jakub Jelinek <jakub@redhat.com>
1830
1831 * dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__
1832 out of the __REDIRECT macro.
1833
1834 2000-08-23 Ulrich Drepper <drepper@redhat.com>
1835
1836 * stdio-common/vfscanf.c: Add %F format support.
1837
1838 * locale/programs/ld-ctype.c (ctype_output): Make sure
1839 _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and
1840 _NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned.
1841 (ctype_read): Enable returning of wide character strings for reading
1842 transliteration information.
1843
1844 2000-08-23 Andreas Jaeger <aj@suse.de>
1845
1846 * sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove.
1847 Use static __inline instead of _EXTERN_INLINE.
1848
1849 * misc/sys/select.h: Move prototypes of __select from here ...
1850 * include/sys/select.h: ... to here.
1851
1852 * socket/sys/socket.h: Move prototypes of __send and __connect
1853 from here....
1854 * include/sys/socket.h: ... to here.
1855
1856 * locale/programs/ld-ctype.c (ctype_read): Fix parameter for
1857 lr_error.
1858
1859 2000-08-23 Jakub Jelinek <jakub@redhat.com>
1860
1861 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use
1862 __setrlimit as strong name. Takes only 2 arguments.
1863
1864 * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit
1865 takes only 2 arguments.
1866
1867 2000-08-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
1868
1869 * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
1870
1871 * sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines.
1872
1873 2000-08-23 Ulrich Drepper <drepper@redhat.com>
1874
1875 * locale/programs/ld-ctype.c (ctype_read): Allow more than one
1876 default_missing character being specified, pick the first
1877 representable.
1878
1879 2000-08-23 Andreas Jaeger <aj@suse.de>
1880
1881 * include/wchar.h: Add some pure attributes.
1882
1883 * time/time.h: Add const attribute for dysize.
1884
1885 * include/stdlib.h: Add malloc attribute to __posix memalign.
1886
1887 * stdlib/stdlib.h: Add some pure and malloc attributes.
1888 * wcsmbs/wchar.h: Likewise.
1889
1890 * dirent/dirent.h: Add some pure attributes.
1891 * include/dirent.h: Likewise.
1892
1893 2000-08-23 Jakub Jelinek <jakub@redhat.com>
1894
1895 * inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
1896 on 64bit arches.
1897
1898 2000-08-22 Ulrich Drepper <drepper@redhat.com>
1899
1900 * iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two
1901 missing buffer size checks.
1902
1903 2000-08-23 Andreas Jaeger <aj@suse.de>
1904
1905 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as
1906 strong name.
1907 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1908
1909 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
1910 otherwise __LINUX_KERNEL_VERSION might not be defined.
1911 (MIN): Define if not already defined.
1912
1913 2000-08-22 Ulrich Drepper <drepper@redhat.com>
1914
1915 * stdio-common/vfprintf.c: Handle %F format.
1916 * stdio-common/printf-parse.h (parse_one_spec): Likewise.
1917 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1918
1919 * stdio-common/tstdiomisc.c: Add test for %F printf format.
1920
1921 * po/zh.po: New file.
1922
1923 * iconvdata/sjis.c: In conversion from UCS4, correct test for
1924 enough room in target buffer.
1925 Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865].
1926 * iconvdata/bug-iconv1.c: New file.
1927 * iconvdata/Makefile (tests): Add bug-iconv1.
1928
1929 * locale/iso-4217.def: Update entry for Nicaragua.
1930
1931 2000-08-22 Mark Kettenis <kettenis@gnu.org>
1932
1933 * hurd/hurdsig.c: Rearrange headers a bit.
1934 (_hurdsig_init): Block until _hurd_msgport_thread is initialized
1935 when cthreads is being used.
1936
1937 2000-08-22 Ulrich Drepper <drepper@redhat.com>
1938
1939 * elf/Makefile (distribute): Add dl-osinfo.h.
1940 * sysdeps/generic/dl-osinfo.h: New file.
1941 * sysdeps/unix/sysv/linux/dl-osinfo.h: New file.
1942 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK
1943 if defined.
1944 * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test
1945 only for !SHARED case. Get the code from dl-osinfo.h.
1946
1947 * stdlib/random_r.c: Cleanups.
1948 * stdlib/tst-random.c: New file.
1949 * stdlib/Makefile (tests): Add tst-random.
1950 Patches by Michael Fischer <fischer-michael@cs.yale.edu>.
1951
1952 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
1953
1954 * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove.
1955 * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove.
1956 * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove.
1957 * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
1958
1959 2000-08-22 Jakub Jelinek <jakub@redhat.com>
1960
1961 * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove.
1962 * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove.
1963 (__syscall__sysctl): Add.
1964
1965 2000-08-21 Andreas Jaeger <aj@suse.de>
1966
1967 * stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR
1968 libc/1864).
1969 * stdlib/tst-strtoll.c: Likewise.
1970
1971 2000-08-21 Ulrich Drepper <drepper@redhat.com>
1972
1973 * stdlib/random_r.c (__setstate_r): Also compute end_ptr
1974 correctly.
1975 (__initstate_r): Set errno on error.
1976 (__random_r): Likewise.
1977 (__setstate_r): Correct offset when computing
1978 new rptr and fptr. Test for arg_state being NULL.
1979 Reported by Michael Fischer <fischer@cs.yale.edu>.
1980
1981 * posix/regex.h: Add macro definitions to allow compiling outside
1982 glibc.
1983
1984 * sysdeps/i370/Implies: Removed.
1985 * sysdeps/mvs/Implies: Removed.
1986
1987 * catgets/catgets.c (catopen): Filter out env_var values with / if
1988 necessary.
1989
1990 * locale/findlocale.c (_nl_find_locale): Move test for unusable
1991 locale name after all getenvs.
1992
1993 * configure.in: Allow sed versions like 3.02.8.
1994 Patch by Rodrigo Barbosa <rodrigob@conectiva.com.br>.
1995
1996 2000-08-21 Marko Myllynen <myllynen@lut.fi>
1997
1998 * inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
1999
2000 2000-08-21 Ulrich Drepper <drepper@redhat.com>
2001
2002 * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error
2003 of gethostbyname2_r call.
2004
2005 * intl/locale.alias: Add aliases for Korean.
2006
2007 2000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
2008
2009 * sysdeps/s390/__longjmp.c: Remove unused variable result.
2010 * sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h.
2011 * sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h.
2012 * sysdeps/s390/fpu/fegetenv.c: New file.
2013 * sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h.
2014 * sysdeps/s390/fpu/feholdexcpt.c: New file.
2015 * sysdeps/s390/fpu/fenv_libc.h: New file.
2016 * sysdeps/s390/fpu/fesetenv.c: New file.
2017 * sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h.
2018 * sysdeps/s390/fpu/feupdateenv.c: New file.
2019 * sysdeps/s390/fpu/fgetexcptflg.c: Reformatted.
2020 * sysdeps/s390/fpu/fpu_control.h: Corrected header.
2021 * sysdeps/s390/fpu/fraiseexcpt.c: New file.
2022 * sysdeps/s390/fpu/fsetexcptflg.c: New file.
2023 * sysdeps/s390/fpu/ftestexcept.c: New file.
2024 * sysdeps/s390/fpu/libm-test-ulps: New file.
2025 * sysdeps/s390/gmp-mparam.h: Add end of comment.
2026 * sysdeps/s390/initfini.c: New file.
2027 * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
2028 * sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h.
2029 * sysdeps/unix/sysv/linux/s390/bits/stat.h: New file.
2030 * sysdeps/unix/sysv/linux/s390/lchown.c: New file.
2031 * sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to
2032 sys/procfs.h as proposed by Mark Kettenis.
2033 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file.
2034
2035 2000-08-21 Andreas Jaeger <aj@suse.de>
2036
2037 * include/poll.h: Include include/sys/poll.h to get __poll
2038 declaration.
2039
2040 * io/sys/poll.h: Move __poll declaration from here...
2041 * include/sys/poll.h: ...to here.
2042
2043 * include/sys/socket.h (__getpeername): Add declaration.
2044
2045 * include/wchar.h (__vswprintf): Add declaration.
2046
2047 * include/stdio.h (__flockfile): Add declaration.
2048 (__funlockfile): Likewise.
2049
2050 2000-08-20 Ulrich Drepper <drepper@redhat.com>
2051
2052 * misc/sys/cdefs.h: Define __restrict_arr.
2053 * include/sys/time.h: Add restrict where required by AGd4.
2054 * inet/arpa/inet.h: Likewise.
2055 * io/sys/stat.h: Likewise.
2056 * io/sys/statvfs.h: Likewise.
2057 * misc/search.h: Likewise.
2058 * misc/sys/select.h: Likewise.
2059 * posix/glob.h: Likewise.
2060 * posix/regex.h: Likewise.
2061 * posix/spawn.h: Likewise.
2062 * posix/unistd.h: Likewise.
2063 * rt/aio.h: Likewise.
2064 * signal/signal.h: Likewise.
2065 * socket/sys/socket.h: Likewise.
2066 * stdlib/ucontext.h: Likewise.
2067 * streams/stropts.h: Likewise.
2068 * string/string.h: Likewise.
2069 * time/time.h: Likewise.
2070 * time/sys/time.h: Likewise.
2071
2072 * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam
2073 and posix_spawnattr_setscheparam.
2074
2075 * libio/stdio.h: Make cuserid prototype again available for all
2076 XPG versions.
2077
2078 * argp/argp-help.c: Unify use of function aliases to make more compact
2079 PLT.
2080 * include/libintl.h: Likewise.
2081 * inet/rcmd.c: Likewise.
2082 * intl/dcigettext.c: Likewise.
2083 * libio/iofputws.c: Likewise.
2084 * libio/iofputws_u.c: Likewise.
2085 * libio/iogetwline.c: Likewise.
2086 * libio/swprintf.c: Likewise.
2087 * malloc/malloc.c: Likewise.
2088 * nss/digits_dots.c: Likewise.
2089 * posix/fnmatch.c: Likewise.
2090 * posix/spawn_faction_addclose.c: Likewise.
2091 * posix/spawn_faction_adddup2.c: Likewise.
2092 * posix/spawn_faction_addopen.c: Likewise.
2093 * posix/spawni.c: Likewise.
2094 * posix/wordexp.c: Likewise.
2095 * posix/spawni.c: Likewise.
2096 * resolv/res_hconf.c: Likewise.
2097 * resolv/res_init.c: Likewise.
2098 * shadow/lckpwdf.c: Likewise.
2099 * signal/sighold.c: Likewise.
2100 * signal/sigrelse.c: Likewise.
2101 * stdio-common/printf-parse.h: Likewise.
2102 * stdio-common/printf-prs.c: Likewise.
2103 * stdio-common/printf_fp.c: Likewise.
2104 * stdio-common/vfprintf.c: Likewise.
2105 * stdio-common/vfscanf.c: Likewise.
2106 * stdlib/rpmatch.c: Likewise.
2107 * sunrpc/create_xid.c: Likewise.
2108 * sunrpc/key_call.c: Likewise.
2109 * sysdeps/generic/setrlimit64.c: Likewise.
2110 * sysdeps/generic/utmp_file.c: Likewise.
2111 * sysdeps/generic/vlimit.c: Likewise.
2112 * sysdeps/posix/posix_fallocate.c: Likewise.
2113 * sysdeps/posix/posix_fallocate64.c: Likewise.
2114 * sysdeps/posix/sigpause.c: Likewise.
2115 * sysdeps/posix/sigset.c: Likewise.
2116 * sysdeps/unix/grantpt.c: Likewise.
2117 * sysdeps/unix/bsd/ualarm.c: Likewise.
2118 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
2119 * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
2120 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2121 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
2122 * time/strftime.c: Likewise.
2123 * wcsmbs/wcscoll.c: Likewise.
2124 * wcsmbs/wcsxfrm.c: Likewise.
2125
2126 * time/tst-getdate.c (main): Make error messages more human readable.
2127
2128 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generate
2129 postinc/predec instruction.
2130 (_FPU_SETCW): Likewise.
2131 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2132
2133 2000-08-20 Andreas Jaeger <aj@suse.de>
2134
2135 * time/tst-getdate.c (main): Increase error in case of wrong
2136 conversion.
2137 Fix typo in test case.
2138
2139 2000-08-20 Ulrich Drepper <drepper@redhat.com>
2140
2141 * ctype/ctype.h (isblank): Make available if ISO C99.
2142 * wctype/wctype.h (iswblank): Make available if ISO C99.
2143 * math/math.h (signgam): Don't make available if ISO C99.
2144 * math/tgmath.h (tgamma): Renamed from gamma.
2145 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
2146
2147 * intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
2148 Pretty printing.
2149 * intl/plural.y (new_exp): Take number of optional parameters in
2150 second parameter. Test for correct number of parameters and free
2151 correctly in case of failure. Adjust all callers.
2152 (yylex): Allow ';' as terminator character.
2153
2154 2000-08-19 Ulrich Drepper <drepper@redhat.com>
2155
2156 * locale/lc-time.c (free_mem): New function. Free alt_digits and
2157 walt_digits.
2158
2159 * locale/findlocale.c (free_mem): Also free here->filename.
2160
2161 * locale/loadlocale.c (_nl_unload_locale): Also free locale->name.
2162
2163 * math/test-fenv.c (feenv_tests): Clear all exceptions before
2164 first test.
2165 (feexcp_nomask_test): Correct printf args.
2166 (feexcp_mask_test): Likewise.
2167
2168 2000-08-19 Andreas Jaeger <aj@suse.de>
2169
2170 * inet/tst-gethnm.c: Include string.h to provide prototype for
2171 strcmp.
2172
2173 * malloc/mtrace.pl (usage): Inform about --help.
2174
2175 2000-08-19 Wolfram Gloger <wg@malloc.de>
2176
2177 * malloc/malloc.c (new_heap): Try harder to get an aligned chunk of
2178 size HEAP_MAX_SIZE.
2179
2180 2000-08-19 Andreas Jaeger <aj@suse.de>
2181
2182 * shlib-versions: Remove libnss_db, libdb and libdb1.
2183
2184 2000-08-19 Jakub Jelinek <jakub@redhat.com>
2185
2186 * sysdeps/unix/sysv/linux/alpha/readdir.c: Move...
2187 * sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and
2188 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here.
2189 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move...
2190 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and
2191 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here.
2192 * sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove.
2193 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove.
2194 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove.
2195 * sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS
2196 getdents.
2197 * sysdeps/unix/sysv/linux/readdir64.c: Remove versioning.
2198 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
2199
2200 2000-08-18 Jakub Jelinek <jakub@redhat.com>
2201
2202 * include/glob.h (__glob64): Add prototype.
2203 * sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only
2204 define glob and glob_in_dir.
2205 * sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2.
2206 * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
2207 * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
2208 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
2209 * sysdeps/unix/sysv/linux/i386/glob64.c: New file.
2210 * sysdeps/unix/sysv/linux/arm/glob64.c: New file.
2211 * sysdeps/unix/sysv/linux/powerpc/glob64.c: New file.
2212 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: New file.
2213
2214 2000-08-18 Jakub Jelinek <jakub@redhat.com>
2215
2216 * malloc/Makefile (memusage): libmemusage.so is installed in slibdir.
2217
2218 2000-08-17 Andreas Jaeger <aj@suse.de>
2219
2220 * math/test-fenv.c (fe_single_test): New function.
2221 (fe_env_tests): Use fe_single_test.
2222 (feenable_test): New tests for feenable/fedisable and
2223 fegetexcpetions.
2224 (feexcp_mask_test): New function.
2225 (feexcp_nomask_test): New function.
2226
2227 2000-08-19 Richard Henderson <rth@cygnus.com>
2228
2229 * sysdeps/alpha/fpu/fenv_libc.h: New file.
2230 * sysdeps/alpha/fpu/fclrexcpt.c: Use it.
2231 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
2232 * sysdeps/alpha/fpu/fesetround.c: Likewise.
2233 * sysdeps/alpha/fpu/fegetround.c: Likewise.
2234 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
2235 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
2236 * sysdeps/alpha/fpu/ftestexcept.c: Likewise.
2237 * sysdeps/alpha/fpu/fedisblxcpt.c: Likewise. Use the smaller mask.
2238 * sysdeps/alpha/fpu/feenablxcpt.c: Likewise.
2239 * sysdeps/alpha/fpu/fegetexcept.c: Likewise.
2240 * sysdeps/alpha/fpu/feholdexcpt.c: Retain the SWCR_MAP bits.
2241 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
2242 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
2243 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
2244 * sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): New.
2245 (FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New.
2246
2247 2000-08-19 Andreas Jaeger <aj@suse.de>
2248
2249 * elf/constload1.c: Include <stdio.h> for puts prototype.
2250
2251 2000-08-19 Ulrich Drepper <drepper@redhat.com>
2252
2253 * elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions.
2254 * elf/dl-deps.c (_dl_map_object_deps): If object was dependency of
2255 a dynamically loaded object remove old l_initfini list.
2256 * elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to
2257 remove some dynamically allocated memory blocks in the dynamic
2258 loading data structures.
2259 * elf/dl-load.c (add_name_to_object): Initialize dont_free to 0.
2260 * elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions.
2261 Instead call _dl_check_map_versions only for the dependencies.
2262 * elf/rtld.c: Avoid unneccessary initializations. Mark l_libname
2263 information of initial objects as not free-able.
2264 * sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free
2265 element.
2266
2267 * elf/filter.c: Call mtrace.
2268 * elf/restest1.c: Likewise. Close the objects.
2269 * elf/loadtest.c: Call mtrace. Check result of dlclose. Print more
2270 debug information.
2271
2272 * elf/constload1.c: Add comment explaining not freed memory.
2273
2274 2000-08-18 Andreas Jaeger <aj@suse.de>
2275
2276 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show
2277 alignment for structs stat and stat64.
2278 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2279
2280 2000-08-17 Ulrich Drepper <drepper@redhat.com>
2281
2282 * sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino
2283 handling. Patch by Richard Henderson <rth@twiddle.net>.
2284
2285 * nss/Versions: Remove libnss_db information.
2286
2287 2000-08-16 Jakub Jelinek <jakub@redhat.com>
2288
2289 * sysdeps/sparc/fpu/fedisblxcpt.c: New file.
2290 * sysdeps/sparc/fpu/feenablxcpt.c: New file.
2291 * sysdeps/sparc/fpu/fegetexcept.c: New file.
2292 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: New file.
2293
2294 * sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries
2295 to match Solaris.
2296
2297 2000-08-17 Ulrich Drepper <drepper@redhat.com>
2298
2299 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code.
2300 (_FPU_SETCW): Likewise.
2301 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2302
2303 * stdio-common/printf_fp.c: Fix chars_needed computation.
2304 Patch by Greg McGary <greg@mcgary.org>.
2305
2306 2000-08-17 Jakub Jelinek <jakub@redhat.com>
2307
2308 * elf/dl-load.c (_dl_map_object): Don't crash if both loader and
2309 _dl_loaded are NULL.
2310
2311 2000-08-17 Jakub Jelinek <jakub@redhat.com>
2312
2313 * manual/arith.texi (feholdexcept): Returns 0 on success.
2314
2315 2000-08-17 Andreas Jaeger <aj@suse.de>
2316
2317 * sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname.
2318 (ifr_newname): New.
2319 Reported by Andi Kleen <ak@suse.de>.
2320
2321 2000-08-17 Jakub Jelinek <jakub@redhat.com>
2322
2323 * sysdeps/alpha/fpu/fedisblxcpt.c: New file.
2324 * sysdeps/alpha/fpu/feenablxcpt.c: New file.
2325 * sysdeps/alpha/fpu/fegetexcept.c: New file.
2326
2327 2000-08-16 Jakub Jelinek <jakub@redhat.com>
2328
2329 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): Test sizes
2330 of buf->st_ino and kbuf->st_ino, not __st_ino.
2331 If _HAVE_STAT64___ST_INO is not defined, don't use __st_ino at all.
2332 * sysdeps/unix/sysv/linux/getdents64.c: Change path in #include
2333 directive so that only linux/getdents.c is used, not some
2334 architecture specific one.
2335
2336 2000-08-16 Jakub Jelinek <jakub@redhat.com>
2337
2338 * sysdeps/i386/fpu/fegetexcept.c (fegetexcept): Return currently
2339 enabled, not disabled exceptions.
2340 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2341 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
2342
2343 2000-08-17 Greg McGary <greg@mcgary.org>
2344
2345 * Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix
2346 from test program name when constructing suffix for $(LDLIBS-*).
2347 (bounded-thread-library): New variable.
2348 * crypt/Makefile
2349 [build-shared, build-static] (libcrypt-dep): Remove variable.
2350 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
2351 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
2352 * linuxthreads/Makefile (libpthread, librt): Remove variables.
2353 (librt-tests): Add variable. (tests): Use it.
2354 [build-shared, build-static]
2355 ($(addprefix $(objpfx),$(tests)),
2356 $(addprefix $(objpfx),$(librt-tests))):
2357 Consolidate individual dependencies.
2358 [build-bounded]
2359 ($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)):
2360 Add dependencies.
2361 * math/Makefile (LDLIBS-*): Remove variables (they are redundant).
2362 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
2363 * misc/Makefile
2364 [build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies.
2365 * rt/Makefile
2366 [build-shared, build-static]
2367 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
2368 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
2369
2370 2000-08-17 Greg McGary <greg@mcgary.org>
2371
2372 * sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/
2373 * sysdeps/unix/make-syscalls.sh: Likewise.
2374 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2375 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2376 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
2377 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
2378 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
2379
2380 2000-08-17 Greg McGary <greg@mcgary.org>
2381
2382 * sysdeps/i386/fpu/s_frexp.S: Check bounds.
2383 Wrap extern symbols in BP_SYM ().
2384 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2385 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2386 * sysdeps/i386/fpu/s_remquo.S: Likewise.
2387 * sysdeps/i386/fpu/s_remquof.S: Likewise.
2388 * sysdeps/i386/fpu/s_remquol.S: Likewise.
2389 * sysdeps/i386/fpu/s_sincos.S: Likewise.
2390 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
2391 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2392 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2393 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2394
2395 2000-08-16 Andreas Schwab <schwab@suse.de>
2396
2397 * sysdeps/m68k/fpu/fegetexcept.c: New file.
2398 * sysdeps/m68k/fpu/fedisblxcpt.c: New file.
2399 * sysdeps/m68k/fpu/feenablxcpt.c: New file.
2400
2401 2000-08-15 Ulrich Drepper <drepper@redhat.com>
2402
2403 * sysdeps/generic/ldsodefs.h: Declare _nl_nloaded.
2404 * elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded.
2405 * elf/dl-support.c: Define _nl_nloaded.
2406 * elf/rtld.c: Likewise. Increment _nl_nloaded for rtld itself.
2407 * elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding
2408 object to global list.
2409 * elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing
2410 from _dl_loaded list.
2411 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2412 * elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the
2413 number here.
2414
2415 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not
2416 unmask, exceptions.
2417 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask,
2418 exceptions.
2419 Reported by Harvey J. Stein <hjstein@bfr.co.il>.
2420
2421 2000-08-16 Andreas Jaeger <aj@suse.de>
2422
2423 * elf/elf.h (EM_X8664): Add official x86-64 specific value.
2424
2425 2000-08-15 Marko Myllynen <myllynen@lut.fi>
2426
2427 * inet/netinet/icmp6.h: Added Mobile IPv6 definitions.
2428
2429 2000-08-15 Ulrich Drepper <drepper@redhat.com>
2430
2431 * sysdeps/unix/sysv/linux/powerpc/Dist: Add oldgetrlimit64.c.
2432 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)=resource]
2433 (sysdep_routines): Add oldgetrlimit64.
2434 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file.
2435 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2436
2437 * include/link.h: Undo last patches. Hurd now has stat64.
2438 * elf/Makefile: Likewise.
2439 * elf/dl-load.c: Likewise.
2440 * elf/dl-misc.c: Likewise.
2441 * elf/dl-profile.c: Likewise.
2442 * sysdeps/generic/sysd-link.h: Removed.
2443 * sysdeps/unix/sysv/linux/sysd-link.h: Removed.
2444
2445 * rt/aio_notify.c (notify_func_wrapper): Wrapper function to call
2446 thread event callback function.
2447 (__aio_notify_only): Use function above.
2448 Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
2449
2450 2000-08-16 Mark Kettenis <kettenis@gnu.org>
2451
2452 * sysdeps/mach/hurd/lseek64.c: New file.
2453
2454 2000-08-15 Mark Kettenis <kettenis@gnu.org>
2455
2456 * sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t):
2457 Remove typedefs.
2458 * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove
2459 typedefs.
2460 * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove
2461 typedefs.
2462 * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.
2463
2464 2000-08-15 Mark Kettenis <kettenis@gnu.org>
2465
2466 * sysdeps/mach/hurd/xstatconv.c: New file.
2467 * sysdeps/mach/hurd/fxstat64.c: New file.
2468 * sysdeps/mach/hurd/lxstat64.c: New file.
2469 * sysdeps/mach/hurd/xstat64.c: New file.
2470 * sysdeps/mach/hurd/Dist: Add xstatconv.c.
2471
2472 2000-08-15 Mark Kettenis <kettenis@gnu.org>
2473
2474 * sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs):
2475 Initialize, needed for change in common symbol handling in newer
2476 binutils. Mirrors 2000-01-03 change made by Andreas Schwab.
2477
2478 2000-08-15 Ulrich Drepper <drepper@redhat.com>
2479
2480 * elf/constload1.c: Call mtrace. Check return value of dlclose call.
2481 * elf/constload2.c: Add destructor to unload constload3.
2482
2483 * include/link.h: Include sysd-link.h.
2484 * sysdeps/generic/sysd-link.h: New file.
2485 * sysdeps/unix/sysv/linux/sysd-link.h: New file.
2486 * elf/Makefile (distribute): Add sysd-link.h.
2487 * elf/dl-load.c: Use definitions from sysd-link.h instead of stat
2488 types and functions directly.
2489 * elf/dl-misc.c: Likewise.
2490 * elf/dl-profile.c: Likewise.
2491
2492 * elf/loadfail.c (main): Close all successfully loaded objects.
2493
2494 * elf/multiload.c: Add mtrace call. Call dlclose for all handles and
2495 free wd.
2496 * elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if
2497 there is already one.
2498
2499 * elf/dl-close.c: Pretty print.
2500
2501 2000-08-14 Ulrich Drepper <drepper@redhat.com>
2502
2503 * sysdeps/posix/ttyname.c: Make name variable from getttyname function
2504 global (with file scope). Add __libc_subfreeres function to free the
2505 string.
2506 * sysdeps/unix/sysv/linux/ttyname.c: Likewise. Also for buf variable
2507 in ttyname function.
2508
2509 * sysdeps/generic/strtok.c: Remove initializer for olds variable.
2510
2511 * crypt/md5-crypt.c: Let destructor deallocate static buffer.
2512
2513 * iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by
2514 mapping them to /x5c and /x7e respectively.
2515
2516 * locale/programs/ld-ctype.c: Add support for more definitions after
2517 copy statement.
2518
2519 2000-08-14 Jakub Jelinek <jakub@redhat.com>
2520
2521 * dirent/Versions (getdirentries64): Export at GLIBC_2.2.
2522 * sysdeps/unix/sysv/linux/kernel-features.h
2523 (__ASSUME_GETDENTS64_SYSCALL): Define.
2524 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64
2525 syscall if available to get d_type fields.
2526 * sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define.
2527 * sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64,
2528 __lxstat64): Export at GLIBC_2.2.
2529 (alphasort64, readdir64, readdir64_r, scandir64, versionsort64):
2530 Likewise.
2531 * sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove.
2532 * sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define.
2533 * sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64,
2534 getdirentries64, versionsort64): Remove.
2535 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64,
2536 getdirentries64, versionsort64): Remove.
2537
2538 2000-08-13 Ulrich Drepper <drepper@redhat.com>
2539
2540 * posix/Makefile: Remove rules to generate glob package.
2541
2542 * posix/Makefile (tests): Add tst-regexloc.
2543 (tst-regexloc-ENV): Add LOCPATH.
2544 * posix/tst-regexloc.c: New file.
2545
2546 2000-08-12 Andreas Jaeger <aj@suse.de>
2547
2548 * include/features.h (__STDC_ISO_10646__): Define.
2549 Reported by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
2550
2551 2000-08-13 Ulrich Drepper <drepper@redhat.com>
2552
2553 * include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600.
2554
2555 * locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not
2556 for revision 6 and up).
2557
2558 * posix/sys/types.h: Define __need_timer_t and __need_clockid_t before
2559 including <time.h>.
2560 * time/time.h: Allow __need_timer_t and __need_clockid_t to be defined
2561 to get definitions of just these types.
2562
2563 * signal/signal.h: Define thread signal handling functions also for
2564 POSIX95.
2565
2566 * sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for
2567 POSIX95.
2568 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2569 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
2570 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2571 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2572
2573 * sysvipc/sys/shm.h: Define pid_t for XPG.
2574
2575 * posix/unistd.h: Remove setkey, rename, and cuserid prototypes as
2576 they are not anymore required here.
2577
2578 * wcsmbs/wchar.h: Make the various wide char string and stream
2579 functions available for the respective XPG versions.
2580
2581 * nss/Makefile: Remove rules to build and distribute nss_db.
2582
2583 * sysdeps/generic/alphasort64.c: Remove unnecessary versioning.
2584 * sysdeps/generic/scandir64.c: Likewise.
2585 * sysdeps/generic/versionsort64.c: Likewise.
2586
2587 2000-08-13 Ulrich Drepper <drepper@redhat.com>
2588 Benjamin Koznik <bkoz@redhat.com>
2589
2590 * libio/fileops.c: Merge with libstdc++-v3.
2591 * libio/genops.c: Likewise.
2592 * libio/iofclose.c: Likewise.
2593 * libio/iofopen.c: Likewise.
2594 * libio/iofwide.c: Likewise.
2595 * libio/libio.h: Likewise.
2596 * libio/libioP.h: Likewise.
2597 * libio/stdfiles.c: Likewise.
2598 * libio/stdio.c: Likewise.
2599 * libio/wfileops.c: Likewise.
2600 * libio/wgenops.c: Likewise.
2601
2602 * libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2.
2603
2604 2000-08-12 Ulrich Drepper <drepper@redhat.com>
2605
2606 * locale/programs/localedef.c: Implement --prefix option to allow
2607 writing in standard places of alternative install directories.
2608
2609 * posix/regex.c (compile_range): Implement collation sequence
2610 handling for glibc. Use simple character ordering otherwise and
2611 not strcoll.
2612
2613 2000-08-12 Mark Kettenis <kettenis@gnu.org>
2614
2615 * sysdeps/generic/scandir64.c: Include <dirent.h>.
2616
2617 2000-08-12 Andreas Jaeger <aj@suse.de>
2618
2619 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle
2620 __USE_FILE_OFFSET64 correctly for locking.
2621 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2622
2623 2000-08-12 Jakub Jelinek <jakub@redhat.com>
2624
2625 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2626 Define for 2.4.1 on sparc as well.
2627 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fill in correct values
2628 for F_GETLK64, F_SETLK64, and F_SETLKW64.
2629 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: New file.
2630 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: New file.
2631
2632 2000-08-12 Ulrich Drepper <drepper@redhat.com>
2633
2634 * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also
2635 defined.
2636
2637 2000-08-12 Andreas Jaeger <aj@suse.de>
2638
2639 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64,
2640 F_SETLK64, F_SETLKW64): Define with F_GETLK etc.
2641
2642 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
2643 mips2 for assembler.
2644
2645 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl
2646 if fnctl64 is not available for F_*LK*64.
2647
2648 * sysdeps/unix/sysv/linux/i386/lockf64.c: New file.
2649
2650 2000-08-12 Ulrich Drepper <drepper@redhat.com>
2651
2652 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2653 Define for 2.4.1 on x86.
2654 * sysdeps/unix/sysv/linux/i386/fcntl.c: New file.
2655 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Fill in correct values
2656 for F_GETLK64, F_SETLK64, and F_SETLKW64.
2657
2658 * dirent/dirent.h: Define DT_WHT.
2659
2660 * sysdeps/unix/sysv/linux/arm/alphasort64.c: New file.
2661 * sysdeps/unix/sysv/linux/arm/getdents64.c: New file.
2662 * sysdeps/unix/sysv/linux/arm/readdir64.c: New file.
2663 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: New file.
2664 * sysdeps/unix/sysv/linux/arm/scandir64.c: New file.
2665 * sysdeps/unix/sysv/linux/arm/versionsort64.c: New file.
2666
2667 2000-08-11 Ulrich Drepper <drepper@redhat.com>
2668
2669 * nss/digits_dots.c: Don't pass NULL in h_aliases for successful
2670 lookup, pass pointer to array with NULL pointer [PR libc/1858].
2671 * inet/Makefile (tests): Add tst-gethnm.
2672 * inet/tst-gethnm.c: New file.
2673
2674 * rt/aio_cancel.c: If canceling a specific request which is running
2675 *really* do nothing.
2676 * rt/aio_misc.h: Add `done' to states of a request.
2677 * rt/aio_misc.c: Add several tests for the correct state.
2678 Simplify request table memory handling.
2679
2680 2000-08-10 Jakub Jelinek <jakub@redhat.com>
2681
2682 * dirent/scandir.c: Use it for scandir64 and old_scandir64 as well.
2683 * dirent/scandir64.c: Move...
2684 * sysdeps/generic/scandir64.c: ...here.
2685 * dirent/alphasort64.c: Move...
2686 * sysdeps/generic/alphasort64.c: ...here.
2687 * dirent/versionsort64.c: Move...
2688 * sysdeps/generic/versionsort64.c: ...here.
2689 * sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64,
2690 getdirentries64, readdir64, readdir64_r, scandir64, versionsort64):
2691 Export symbols at GLIBC_2.2.
2692 * sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise.
2693 * sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise.
2694 * include/dirent.h (__readdir64_r, __scandir64, __alphasort64,
2695 __versionsort64): Add prototypes.
2696 * io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
2697 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove
2698 unused prototype.
2699 * sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1
2700 and GLIBC_2.2.
2701 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise.
2702 * sysdeps/unix/sysv/linux/alpha/getdents.c: New.
2703 * sysdeps/unix/sysv/linux/alpha/getdents64.c: New.
2704 * sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to
2705 __u_quad_t.
2706 * sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64):
2707 Adjust for kernel-2.4.0-test6 layout.
2708 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both
2709 GLIBC_2.1 and GLIBC_2.2.
2710 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise.
2711 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise.
2712 * sysdeps/unix/sysv/linux/i386/getdents64.c: New.
2713 * sysdeps/unix/sysv/linux/i386/olddirent.h: New.
2714 * sysdeps/unix/sysv/linux/i386/readdir64.c: New.
2715 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: New.
2716 * sysdeps/unix/sysv/linux/i386/scandir64.c: New.
2717 * sysdeps/unix/sysv/linux/i386/alphasort64.c: New.
2718 * sysdeps/unix/sysv/linux/i386/versionsort64.c: New.
2719 * sysdeps/unix/sysv/linux/ia64/getdents.c: New.
2720 * sysdeps/unix/sysv/linux/ia64/getdents64.c: New.
2721 * sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c.
2722 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c.
2723 * sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to
2724 __u_quad_t.
2725 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New.
2726 * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define.
2727 * sysdeps/unix/sysv/linux/powerpc/scandir64.c: New.
2728 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: New.
2729 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: New.
2730 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New.
2731 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to
2732 __u_quad_t.
2733 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: New.
2734 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*):
2735 Define.
2736 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New.
2737 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New.
2738 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New.
2739 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New.
2740 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*):
2741 Define.
2742 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include
2743 alpha/readdir.c.
2744 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include
2745 alpha/readdir_r.c
2746 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New.
2747 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New.
2748 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If
2749 _HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set
2750 st_ino from __st_ino.
2751 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
2752 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
2753 * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv,
2754 xstat32_conv): Use _HAVE_STAT* macros. If _HAVE_STAT64___ST_INO,
2755 set __st_ino in addition to st_ino.
2756 * sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define.
2757 * sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and
2758 __old_getdents64 as well.
2759 * sysdeps/unix/sysv/linux/getdirentries.c: Use it for
2760 getdirentries64 and old_getdirentries64 as well.
2761 * sysdeps/unix/sysv/linux/getdirentries64.c (GETDIRENTRIES,
2762 __GETDENTS): Define.
2763 (GETDENTS64): Remove.
2764 * sysdeps/unix/sysv/linux/getdents64.c (__GETDENTS, DIRENT_TYPE):
2765 Define.
2766 (GETDENTS64): Remove.
2767 * sysdeps/unix/sysv/linux/readdir64.c: Use sysdeps/unix/readdir.c.
2768 * sysdeps/unix/sysv/linux/readdir64_r.c: Use sysdeps/unix/readdir_r.c.
2769 * sysdeps/unix/readdir.c: Use it for readdir64 and __old_readdir64
2770 as well.
2771 * sysdeps/unix/readdir_r.c: Use it for readdir64_r and
2772 __old_readdir64_r as well.
2773 * sysdeps/unix/sysv/linux/kernel-features.h: Define
2774 __ASSUME_ST_INO_64_bit for kernel 2.4.1 and up.
2775
2776 2000-08-08 Jes Sorensen <jes@linuxcare.com>
2777
2778 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL define.
2779 Add missing ILL_BADIADDR to enum and make ILL_BREAK match the
2780 define of the kernel.
2781 Add missing __SEG_PSTKOVF definition.
2782 Adjust the padding of struct siginfo and struct sigevent to
2783 match the fact that sigval_t is 64 bit.
2784
2785 2000-08-10 Ulrich Drepper <drepper@redhat.com>
2786
2787 * timezone/zic.c: Update from tzcode2000f.
2788 * timezone/australasia: Update from tzdata2000f.
2789 * timezone/europe: Likewise.
2790 * timezone/southamerica: Likewise.
2791 * timezone/yearistype: Likewise.
2792
2793 2000-08-10 Andreas Jaeger <aj@suse.de>
2794
2795 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Synch struct stat64 and
2796 stat with current MIPS kernel.
2797
2798 2000-08-01 Mark Kettenis <kettenis@gnu.org>
2799
2800 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_greg_t, ELF_NGREG,
2801 elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved to
2802 sysdeps/unix/sysv/linux/i386/sys/procfs.h.
2803 Remove the junk that's only relevant in the Linux kernel itself.
2804 Add a warning saying that this file is now obsolete, and include
2805 <sys/procfs.h>.
2806 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (elf_greg_t,
2807 ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved
2808 here from sysdeps/unix/sysv/linux/i386/sys/elf.h. Don't include
2809 <signal.h>, <sys/ucontext.h> and <sys/elf.h>. Remove parts of
2810 `struct elf_prstatus' that are #ifdef'ed out. Improve comments
2811 and add the notice that the file is primarily there for GDB.
2812 * sysdeps/unix/sysv/linux/i386/sys/user.h: Fix comment.
2813
2814 2000-08-09 Jakub Jelinek <jakub@redhat.com>
2815
2816 * time/tzfile.c (__tzfile_compute): __tzstring zones
2817 from zone_names.
2818
2819 2000-08-09 Jakub Jelinek <jakub@redhat.com>
2820
2821 * resolv/resolv.h (__res_state): Surround prototype with
2822 __BEGIN_DECLS/__END_DECLS.
2823 * sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h.
2824
2825 2000-08-04 Jes Sorensen <jes@linuxcare.com>
2826
2827 * sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource):
2828 Make independant of asm/resource.h from the Linux kernel.
2829
2830 2000-08-06 Bruno Haible <haible@clisp.cons.org>
2831
2832 * iconv/gconv_conf.c (__gconv_read_conf): Don't call realpath.
2833
2834 2000-08-06 Bruno Haible <haible@clisp.cons.org>
2835
2836 * intl/Makefile (CPPFLAGS): Remove $(i18ndir) from LOCALE_ALIAS_PATH.
2837 * locale/Makefile (locale-CPPFLAGS): Likewise.
2838
2839 2000-08-09 Ulrich Drepper <drepper@redhat.com>
2840
2841 * sysdeps/i386/fpu/libm-test-ulps: Increase several error values
2842 for AMD processors.
2843
2844 2000-08-03 Jakub Jelinek <jakub@redhat.com>
2845
2846 * misc/Versions (mincore): Export at GLIBC_2.2.
2847
2848 2000-08-03 Bruno Haible <haible@clisp.cons.org>
2849
2850 * intl/libintl.h (gettext, dgettext, dcgettext): Add back __THROW.
2851
2852 2000-08-02 Mark Kettenis <kettenis@gnu.org>
2853
2854 * sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from
2855 socketpair. Made socketpair a weak alias.
2856 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplemented using
2857 __socketpair. Use S_IFIFO protocol to make pipes POSIX
2858 conforming, but fall back on the old protocol if the socket server
2859 doesn't support it.
2860 * include/sys/socket.h: Add prototype for __socketpair.
2861
2862 2000-08-09 Andreas Schwab <schwab@suse.de>
2863
2864 * stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the
2865 long long modifier is seen.
2866
2867 * elf/nodelete.c (do_test): Remove reference to undefined member
2868 sa_restorer.
2869 * rt/tst-aio4.c (do_test): Likewise.
2870
2871 * configure.in: Add `-lm' when checking for libgd.
2872 * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during
2873 linking.
2874
2875 2000-08-09 Andreas Jaeger <aj@suse.de>
2876
2877 * configure.in: Change required make versions.
2878
2879 * manual/install.texi (Tools for Compilation): Document required
2880 make version.
2881 (Supported Configurations): Update list of supported
2882 configurations.
2883
2884 2000-08-08 Ulrich Drepper <drepper@redhat.com>
2885
2886 * locale/linereader.c (get_string): Don't print an error is a string
2887 contains an unknown character.
2888
2889 2000-08-06 Ulrich Drepper <drepper@redhat.com>
2890
2891 * locale/programs/ld-collate.c (struct symbol_t): Add name element.
2892 (new_symbol): Take new parameters with name of the symbol.
2893 Adjust callers.
2894 (handle_ellipsis): Don't only allow character symbols.
2895 (collate_read): Allow string of collating elements contain invalid
2896 characters; ignore entry in this case.
2897 Handle ellipsis of collating symbols before first order_start.
2898 Allow ellipsis in state 0.
2899
2900 2000-08-04 Ulrich Drepper <drepper@redhat.com>
2901
2902 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo in
2903 error message.
2904 Reported by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
2905
2906 2000-08-04 Greg McGary <greg@mcgary.org>
2907
2908 * posix/regex.c (SET_HIGH_BOUND): New macro.
2909 (MOVE_BUFFER_POINTER): Use it.
2910 (ELSE_EXTEND_BUFFER_HIGH_BOUND): New macro.
2911 (EXTEND_BUFFER): Use it.
2912
2913 2000-08-03 Ulrich Drepper <drepper@redhat.com>
2914
2915 * libio/iofwide.c (_IO_fwide): Initialize fp->_codecvt as well.
2916 * libio/fileops.c (_IO_new_file_fopen): Use _codecvt not from
2917 _wide_data but from _IO_FILE directly.
2918 * libio/iofclose.c: Likewise.
2919 * libio/wfileops.c: Likewise.
2920
2921 * libio/genops.c (_IO_default_showmanyc): Change return type to size_t.
2922 * libio/libioP.h: Change prototypes.
2923
2924 2000-08-03 Greg McGary <greg@mcgary.org>
2925
2926 * sysdeps/i386/setjmp.S (__sigsetjmp): Pop our
2927 frame pointer early so that we save caller's frame pointer.
2928 * sysdeps/i386/elf/setjmp.S: Likewise.
2929
2930 * sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures.
2931 * io/test-utime.c: Test passing NULL as utimbuf* arg.
2932
2933 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): Remove macro.
2934 (MOVE_BUFFER_POINTER): Handle high_bound properly.
2935 (EXTEND_BUFFER): Don't call EXTEND_BUFFER_HIGH_BOUND.
2936
2937 2000-08-03 Ulrich Drepper <drepper@redhat.com>
2938
2939 * iconvdata/big5.c: Updated.
2940 Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
2941
2942 2000-08-02 Ulrich Drepper <drepper@redhat.com>
2943
2944 * Makeconfig (all-subdirs): Add conform.
2945 * conform/Makefile: Include ../Rules.
2946
2947 * Makefile (README): Add rules to generate here as well.
2948
2949 2000-08-02 Ulrich Drepper <drepper@redhat.com>
2950
2951 * version.h (VERSION): Bump to 2.1.92.
2952
2953 * sysdeps/ia64/Dist: Add _mcount.S.
2954
2955 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone.S.
2956
2957 * sysdeps/unix/sysv/linux/mips/Dist: Add _test_and_set.c.
2958
2959 * elf/Makefile (distribute): Add missing modules.
2960
2961 * sysdeps/unix/sysv/linux/s390/Dist: Remove nonexisting files.
2962
2963 * posix/regex.c (compile_range): Translate range start and end
2964 characters to avoid empty range in case of REG_ICASE [PR libc/1842].
2965
2966 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Don't include
2967 asm/resource.h.
2968
2969 * sysdeps/unix/sysv/linux/arm/Makefile: Undo last change.
2970
2971 2000-08-02 Andreas Jaeger <aj@suse.de>
2972
2973 * elf/elf.h (EM_S390): Added.
2974 (R_390_*): New relocs for S390.
2975
2976 * sysdeps/unix/sysv/linux/s390/Dist: New file.
2977 * sysdeps/unix/sysv/linux/s390/sysdep.h: New file.
2978 * sysdeps/unix/sysv/linux/s390/sysdep.S: New file.
2979 * sysdeps/unix/sysv/linux/s390/syscall.S: New file.
2980 * sysdeps/unix/sysv/linux/s390/sys/user.h: New file.
2981 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
2982 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file.
2983 * sysdeps/unix/sysv/linux/s390/sys/elf.h: New file.
2984 * sysdeps/unix/sysv/linux/s390/socket.S: New file.
2985 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file.
2986 * sysdeps/unix/sysv/linux/s390/shmctl.c: New file.
2987 * sysdeps/unix/sysv/linux/s390/setreuid.c: New file.
2988 * sysdeps/unix/sysv/linux/s390/setresuid.c: New file.
2989 * sysdeps/unix/sysv/linux/s390/setresgid.c: New file.
2990 * sysdeps/unix/sysv/linux/s390/setregid.c: New file.
2991 * sysdeps/unix/sysv/linux/s390/setgroups.c: New file.
2992 * sysdeps/unix/sysv/linux/s390/setgid.c: New file.
2993 * sysdeps/unix/sysv/linux/s390/setfsuid.c: New file.
2994 * sysdeps/unix/sysv/linux/s390/setfsgid.c: New file.
2995 * sysdeps/unix/sysv/linux/s390/seteuid.c: New file.
2996 * sysdeps/unix/sysv/linux/s390/setegid.c: New file.
2997 * sysdeps/unix/sysv/linux/s390/semctl.c: New file.
2998 * sysdeps/unix/sysv/linux/s390/register-dump.h: New file.
2999 * sysdeps/unix/sysv/linux/s390/putpmsg.c: New file.
3000 * sysdeps/unix/sysv/linux/s390/putmsg.c: New file.
3001 * sysdeps/unix/sysv/linux/s390/profil-counter.h: New file.
3002 * sysdeps/unix/sysv/linux/s390/msgctl.c: New file.
3003 * sysdeps/unix/sysv/linux/s390/mmap.S: New file.
3004 * sysdeps/unix/sysv/linux/s390/getuid.c: New file.
3005 * sysdeps/unix/sysv/linux/s390/getresuid.c: New file.
3006 * sysdeps/unix/sysv/linux/s390/getresgid.c: New file.
3007 * sysdeps/unix/sysv/linux/s390/getpmsg.c: New file.
3008 * sysdeps/unix/sysv/linux/s390/getmsg.c: New file.
3009 * sysdeps/unix/sysv/linux/s390/getgroups.c: New file.
3010 * sysdeps/unix/sysv/linux/s390/getegid.c: New file.
3011 * sysdeps/unix/sysv/linux/s390/geteuid.c: New file.
3012 * sysdeps/unix/sysv/linux/s390/fchown.c: New file.
3013 * sysdeps/unix/sysv/linux/s390/clone.S: New file.
3014 * sysdeps/unix/sysv/linux/s390/brk.c: New file.
3015 * sysdeps/unix/sysv/linux/s390/bits/time.h: New file.
3016 * sysdeps/unix/sysv/linux/s390/bits/resource.h: New file.
3017 * sysdeps/unix/sysv/linux/s390/bits/mman.h: New file.
3018 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file.
3019 * sysdeps/unix/sysv/linux/s390/Makefile: New file.
3020 * sysdeps/s390/sysdep.h: New file.
3021 * sysdeps/s390/sys/ucontext.h: New file.
3022 * sysdeps/s390/sub_n.S: New file.
3023 * sysdeps/s390/strncpy.S: New file.
3024 * sysdeps/s390/strcpy.S: New file.
3025 * sysdeps/s390/stackinfo.h: New file.
3026 * sysdeps/s390/setjmp.S: New file.
3027 * sysdeps/s390/s390-mcount.S: New file.
3028 * sysdeps/s390/mul_1.S: New file.
3029 * sysdeps/s390/memusage.h: New file.
3030 * sysdeps/s390/memset.S: New file.
3031 * sysdeps/s390/memcpy.S: New file.
3032 * sysdeps/s390/memchr.S: New file.
3033 * sysdeps/s390/machine-gmon.h: New file.
3034 * sysdeps/s390/ldbl2mpn.c: New file.
3035 * sysdeps/s390/gmp-mparam.h: New file.
3036 * sysdeps/s390/fpu/fpu_control.h: New file.
3037 * sysdeps/s390/fpu/fesetround.c: New file.
3038 * sysdeps/s390/fpu/fegetround.c: New file.
3039 * sysdeps/s390/fpu/fclrexcpt.c: New file.
3040 * sysdeps/s390/fpu/bits/fenv.h: New file.
3041 * sysdeps/s390/ffs.c: New file.
3042 * sysdeps/s390/elf/start.S: New file.
3043 * sysdeps/s390/elf/setjmp.S: New file.
3044 * sysdeps/s390/elf/bsd-setjmp.S: New file.
3045 * sysdeps/s390/elf/bsd-_setjmp.S: New file.
3046 * sysdeps/s390/dl-machine.h: New file.
3047 * sysdeps/s390/bzero.S: New file.
3048 * sysdeps/s390/bsd-setjmp.S: New file.
3049 * sysdeps/s390/bsd-_setjmp.S: New file.
3050 * sysdeps/s390/bits/string.h: New file.
3051 * sysdeps/s390/bits/setjmp.h: New file.
3052 * sysdeps/s390/bits/huge_val.h: New file.
3053 * sysdeps/s390/bits/endian.h: New file.
3054 * sysdeps/s390/bits/byteswap.h: New file.
3055 * sysdeps/s390/bcopy.S: New file.
3056 * sysdeps/s390/backtrace.c: New file.
3057 * sysdeps/s390/atomicity.h: New file.
3058 * sysdeps/s390/asm-syntax.h: New file.
3059 * sysdeps/s390/addmul_1.S: New file.
3060 * sysdeps/s390/add_n.S: New file.
3061 * sysdeps/s390/abort-instr.h: New file.
3062 * sysdeps/s390/__longjmp.c: New file.
3063 * sysdeps/s390/Makefile: New file.
3064 * sysdeps/s390/Implies: New file.
3065 * sysdeps/s390/Dist: New file.
3066 Patches by Martin Schwidefsky <schwidefsky@de.ibm.com>.
3067
3068 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3069
3070 Remove incompatible IPv6 extension of RPC.
3071 * sunrpc/Makefile: Undo changes.
3072 * sunrpc/rpc_main.c: Likewise.
3073 * sunrpc/rpc/clnt.h: Likewise.
3074 * sunrpc/rpc/svc.h: Likewise.
3075 * sunrpc/bindrsvprt6.c: Removed.
3076 * sunrpc/clnt_tcp6.c: Removed.
3077 * sunrpc/clnt_udp6.c: Removed.
3078 * sunrpc/svc_tcp6.c: Removed.
3079 * sunrpc/svc_udp6.c: Removed.
3080
3081 * intl/libintl.h: Don't use __attribute_format_arg__ for gettext,
3082 dgettext, and dcgettetxt.
3083
3084 * intl/locale.alias: Update japanese aliases.
3085
3086 * sysdeps/ia64/bits/byteswap.h: New file.
3087 Patch by Dan Pop <Dan.Pop@cern.ch>.
3088
3089 * misc/sys/cdefs.h: Define __attribute_format_arg__.
3090 * intl/libintl.h: Use it here instead of using __attribute__ directly.
3091
3092 2000-07-13 H.J. Lu <hjl@gnu.org>
3093
3094 * posix/regex.c (re_max_failures): Set to 4000.
3095
3096 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3097
3098 * gnulib/Makefile (tests): Add tst-gcc.
3099 * gnulib/tst-gcc.c: New file.
3100
3101 * assert/Makefile (routines): Add __assert.
3102 * assert/Versions: Export __assert for glibc 2.2.
3103 * assert/__assert.c: New file.
3104 * assert/assert.h: Declare __assert.
3105
3106 2000-07-27 Bruno Haible <haible@clisp.cons.org>
3107
3108 * locale/localeinfo.h (_ISCTYPE): New macro.
3109 * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new
3110 LC_CTYPE locale format.
3111 * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b.
3112 (ctype_output): Output class_b[nr] right before class_3level[nr].
3113 (allocate_arrays): Fill class_b, similarly to class_3level.
3114
3115 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3116 Joseph S. Myers <jsm28@cam.ac.uk>
3117
3118 * math/tgmath.h: Make standard compliant. Don't ask how.
3119
3120 2000-07-04 H.J. Lu <hjl@gnu.org>
3121
3122 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)):
3123 Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new".
3124 ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only.
3125
3126 2000-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3127
3128 * include/features.h (_XOPEN_SOURCE): Update the explanation.
3129 (__USE_LARGEFILE): Add an explanation.
3130 (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500.
3131 (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600.
3132
3133 2000-08-01 Ulrich Drepper <drepper@redhat.com>
3134
3135 * libio/Makefile: Enable exception handling for genops, wgenops,
3136 fileops, and wfileops.
3137
3138 2000-07-29 Mark Kettenis <kettenis@gnu.org>
3139
3140 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into
3141 acount that elf/rtld's main program might remove some varibales
3142 from the environment if we're trying to be secure. Move the Hurd
3143 startup data if necessary, or, if we there is no startup data,
3144 make sure the magical convention that ARGV[0] is stored just after
3145 the environment list.
3146
3147 2000-08-01 Philip Blundell <philb@gnu.org>
3148
3149 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
3150 (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
3151 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
3152 oldsetrlimit for GLIBC_2.0.
3153
3154 2000-08-01 Andreas Jaeger <aj@suse.de>
3155
3156 * nss/nss_files/files-ethers.c: Use case-insensitive lookup.
3157 (LINE_PARSER): Allow any number of spaces between ip address and
3158 number. Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt.
3159
3160 * conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
3161
3162 * include/netdb.h: Remove getipnodebyaddr and friends, leave
3163 constants in.
3164
3165 * nis/Versions: Remove _nss_nis_getipnodebyname_r and
3166 _nss_nisplus_getipnodebyname_r.
3167
3168 * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
3169 now, getipnodebyname is deprecated.
3170 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
3171 Likewise.
3172
3173 * inet/Makefile (routines): Don't build getipnodebyaddr and
3174 friends.
3175
3176 * intl/Makefile (distribute): Add tst-translit.sh and translit.po.
3177
3178 * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h.
3179
3180 * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c.
3181
3182 * wctype/Makefile (distribute): Add wchar-lookup.h.
3183
3184 * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h.
3185
3186 * iconvdata/Makefile (distribute): Add isiri-3342.h.
3187
3188 2000-08-01 Andreas Schwab <schwab@suse.de>
3189
3190 * Make-dist (dist): Resolve `..' in file names.
3191
3192 2000-08-01 Andreas Jaeger <aj@suse.de>
3193
3194 * stdio-common/Makefile (distribute): Remove removed files, add
3195 new files.
3196
3197 * Makefile (distribute): Remove include/db_185.h and db.h.
3198
3199 * include/db_185.h: Remove, it's not needed anymore.
3200 * include/db.h: Likewise.
3201
3202 2000-07-31 Ulrich Drepper <drepper@redhat.com>
3203
3204 * inet/Makefile (tests): Remove tst-ipnode.
3205 * include/netdb.h: Add stuff removed from resolv/netdb.h here for
3206 now.
3207
3208 2000-07-31 Jes Sorensen <jes@linuxcare.com>
3209
3210 * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and
3211 endp statements have already been added.
3212
3213 2000-04-18 David Mosberger <davidm@hpl.hp.com>
3214
3215 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include
3216 <sysdeps/ia64/sysdep.h>.
3217
3218 * sysdeps/ia64/_mcount.S: New file.
3219
3220 * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to
3221 __gmon_start__. Fix up extraneous whitespace.
3222
3223 2000-01-12 H.J. Lu <hjl@gnu.org>
3224
3225 * sysdeps/ia64/elf/initfini.c: New file.
3226
3227 2000-07-31 Jes Sorensen <jes@linuxcare.com>
3228
3229 * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW
3230 dependency between branch and ar.pfs write.
3231
3232 2000-07-31 H.J. Lu <hjl@gnu.org>
3233
3234 * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly
3235 handle the wchar_t array.
3236
3237 2000-07-31 Ulrich Drepper <drepper@redhat.com>
3238
3239 * iconvdata/gb18030.c: Don't map to and from positions in ISO
3240 10646 which are not yet assigned.
3241 Patch by wang shouhua <shouhuawang@redflag-linux.com>.
3242
3243 2000-07-31 Andreas Jaeger <aj@suse.de>
3244
3245 * inet/Versions: Remove getipnodebyaddr and friends from
3246 GLIBC_2.2.
3247
3248 * resolv/netdb.h: Remove getipnodebyaddr and friends.
3249
3250 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3251
3252 * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
3253 ch >= 0x81 && ch2 < 0x40 as invalid.
3254
3255 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3256
3257 * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
3258 (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
3259
3260 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3261
3262 * iconvdata/johab.c (BODY for TO_LOOP): After calling
3263 ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
3264
3265 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3266
3267 * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
3268 0xb8.
3269 (from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
3270
3271 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3272
3273 * iconvdata/macintosh.c (HAS_HOLES): Set to 1.
3274
3275 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3276
3277 * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
3278 (from_ucs4): Change values of U+00A4 and U+00ED.
3279 (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
3280
3281 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3282
3283 * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
3284 (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
3285
3286 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3287
3288 * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
3289 * iconvdata/isiri-3342.h: New file.
3290 * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
3291 treat 0x80 as a gap.
3292
3293 2000-07-30 Bruno Haible <haible@clisp.cons.org>
3294
3295 * string/strxfrm.c (encoding_mask, encoding_byte): Remove.
3296 (utf8_encode): Use simple shifts instead. Fix return value.
3297
3298 2000-07-31 Ulrich Drepper <drepper@redhat.com>
3299
3300 * timezone/private.h: Update from tzcode2000e.
3301 * timezone/asia: Update from tzdata2000e.
3302 * timezone/australasia: Likewise.
3303 * timezone/europe: Likewise.
3304 * timezone/northamerica: Likewise.
3305 * timezone/zone-tab: Likewise.
3306
3307 2000-07-30 Ralf Baechle <ralf@gnu.org>
3308
3309 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
3310 the order of struct sigaltstack members is different.
3311
3312 2000-07-26 Philip Blundell <philb@gnu.org>
3313
3314 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
3315
3316 2000-07-29 Ulrich Drepper <drepper@redhat.com>
3317
3318 * locale/langinfo.h: Add entries for extra tables in CTYPE data.
3319 * locale/programs/ld-ctype.c: Adjust for this.
3320
3321 * locale/programs/ld-collate.c: Add more alignment checks.
3322 * locale/string/strcoll.c: Likewise.
3323
3324 2000-07-30 Mark Kettenis <kettenis@gnu.org>
3325
3326 * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
3327 outside USE_IN_LIBIO block.
3328
3329 2000-07-26 Philip Blundell <philb@gnu.org>
3330
3331 * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
3332 (elf_machine_rel): Use it for out-of-range PC24 relocs.
3333
3334 2000-07-28 Philip Blundell <philb@gnu.org>
3335
3336 * math/test-fpucw.c: Ignore reserved bits in control word.
3337
3338 2000-07-28 Philip Blundell <philb@gnu.org>
3339
3340 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
3341 (ret): Redefine to PSEUDO_RET.
3342 (PSEUDO): Remove jump to syscall_error.
3343
3344 2000-07-29 Mark Kettenis <kettenis@gnu.org>
3345
3346 * resolv/README: Add some information about using the resolver in
3347 multi-threaded code and with C++. Spelling fixes.
3348
3349 2000-07-29 Mark Kettenis <kettenis@gnu.org>
3350
3351 * resolv/resolv.h (struct __sockaddr_in): Remove.
3352 (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
3353
3354 2000-07-29 Greg McGary <greg@mcgary.org>
3355
3356 * Rules (test-bp-inputs, make-test-out): New variables.
3357 ($(objpfx)%-bp.out): New rule.
3358 ($(objpfx)%.out): Rewrite in terms of new variables.
3359
3360 * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
3361 internal function that uses vtable.
3362 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
3363 * libio/vswprintf.c (_IO_vswprintf): Likewise.
3364
3365 * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
3366 (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
3367 (chunk_align): Likewise.
3368
3369 * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
3370 in a way that conforms to decl, and avoids spurious bounds violation.
3371
3372 * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
3373 * sysdeps/generic/frame.h: Likewise.
3374 * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
3375 around return value.
3376 (__backtrace): Qualify frame-pointer chain and return address
3377 pointers as __unbounded. Wrap bounds around variable `current'.
3378 * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
3379 around return value.
3380 (catch_segfault): Qualify frame-pointer chain and return address
3381 pointers as __unbounded. Wrap bounds around variable `current'.
3382 * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
3383 (ADVANCE_STACK_FRAME): Wrap bounds around return value.
3384 * sysdeps/powerpc/backtrace.c (struct layout): Make pointers
3385 __unbounded.
3386 (__backtrace): Qualify frame-pointer chain and return address
3387 pointers as __unbounded. Wrap bounds around variable `current'.
3388
3389 * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
3390 * sysdeps/i386/mul_1.S: Likewise.
3391 * sysdeps/i386/submul_1.S: Likewise.
3392 * sysdeps/i386/i586/addmul_1.S: Likewise.
3393 * sysdeps/i386/i586/mul_1.S: Add bounds checks.
3394 * sysdeps/i386/i586/submul_1.S: Likewise.
3395
3396 2000-07-27 Andreas Jaeger <aj@suse.de>
3397
3398 * libio/Depend: New file, libio needs localedata for tests.
3399 * posix/Depend: Likewise.
3400
3401 2000-07-28 Ulrich Drepper <drepper@redhat.com>
3402
3403 * stdio-common/_i18n_itoa.c: Removed.
3404 * stdio-common/_i18n_itoa.h: Removed.
3405 * stdio-common/_i18n_itowa.c: Removed.
3406 * stdio-common/_i18n_itowa.h: Removed.
3407 * stdio-common/_i18n_number.h: New file.
3408 * stdio-common/Depend: New file.
3409 * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize.
3410 * stdio-common/vfprintf.c: Rewrite buffer handling for integer
3411 printing. Change printing of numbers with locale specific digits to
3412 use new code in _i18n_number.h.
3413 * stdio-common/Makefile (routines): Remove _i18n_itoa and
3414 _i18n_itowa.
3415
3416 * stdio-common/bug13.c: Improve messages.
3417
3418 * locale/programs/ld-ctype.c (ctype_read): Improve error message.
3419 (set_class_defaults): Always search also for Uxxxx names.
3420 Detect insufficient number of outdigits.
3421
3422 * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
3423
3424 2000-07-27 Bruno Haible <haible@clisp.cons.org>
3425
3426 * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
3427 _NL_CTYPE_MAP_NAMES.
3428 * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
3429 * wctype/wcfuncs.c (towlower, towupper): Use them.
3430 * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
3431 * wctype/wctrans.c (wctrans): Likewise.
3432 * wctype/wctrans_l.c (__wctrans_l): Likewise.
3433
3434 2000-07-27 Bruno Haible <haible@clisp.cons.org>
3435
3436 * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun.
3437 Use the optimized version of this function outside glibc as well.
3438
3439 2000-07-27 Jakub Jelinek <jakub@redhat.com>
3440
3441 * locale/indigits.h (indigit_value): Correct.
3442 * locale/indigitswc.h (indigitwc_value): Correct.
3443 * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
3444 conversion, add GROUP checking for it, fix GROUP number
3445 conversion with strlen(thousands) > 1.
3446 Honour width correctly in the presence of floating
3447 decimal points and thousands separators.
3448 * stdio-common/tst-sscanf.c: New test.
3449 * stdio-common/Makefile: Add it to tests.
3450 * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
3451 thousands separators and group argument is non-zero.
3452
3453 2000-07-25 Bruno Haible <haible@clisp.cons.org>
3454
3455 * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
3456 starts at GLIBC_2.2.
3457
3458 2000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3459
3460 * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
3461 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
3462 _test_and_set.
3463 (headers): Add sys/tas.h.
3464 * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
3465 GLIBC_2.2 from libc.
3466 * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
3467 * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
3468 _test_and_set.
3469
3470 2000-07-28 Andreas Jaeger <aj@suse.de>
3471
3472 * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
3473
3474 * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
3475 ($(objpfx)tst-dladdr.out): new.
3476 (tests): Add tst-dladdr.
3477 ($(objpfx)glrefmain): Use libdl.
3478
3479 * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh
3480 <vs@caldera.de>.
3481
3482 2000-07-27 Jes Sorensen <jes@linuxcare.com>
3483
3484 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
3485 ftruncate(64) calls.
3486
3487 2000-07-27 Jes Sorensen <jes@linuxcare.com>
3488
3489 * intl/tst-translit.c: Include string.h to get prototype for
3490 strcmp().
3491
3492 2000-07-27 Jes Sorensen <jes@linuxcare.com>
3493
3494 * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
3495 name and add weak alias for __fork.
3496
3497 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
3498 & pwrite to use __libc_<name> as strong names instead of
3499 __syscall_<name>.
3500
3501 * include/sched.h: Add clone2 prototype.
3502
3503 2000-07-26 Jes Sorensen <jes@linuxcare.com>
3504
3505 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
3506 procedure name twice.
3507
3508 2000-07-27 Philip Blundell <philb@gnu.org>
3509
3510 * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
3511
3512 2000-07-27 Andreas Jaeger <aj@suse.de>
3513
3514 * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
3515 MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
3516 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
3517 Reported by Andi Kleen <ak@suse.de>.
3518
3519 * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
3520 (do_wait): Test requests with aio_return64.
3521 (do_test): Change callers of do_wait.
3522
3523 2000-07-26 Andreas Jaeger <aj@suse.de>
3524
3525 * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
3526 (do_wait): Test requests with aio_return.
3527 (do_test): Change callers of do_wait.
3528
3529 2000-07-27 Ulrich Drepper <drepper@redhat.com>
3530
3531 * rt/aio_misc.c (__aio_remove_request): New function. Handle removing
3532 from request list. Don't do the list handling here, call
3533 __aio_remove_request.
3534 * rt/aio_misc.h: Add prototype for __aio_remove_request.
3535 * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
3536 request might already be processed. Don't do the list handling
3537 here, call __aio_remove_request.
3538
3539 * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
3540 LIO_DSYNC.
3541
3542 * rt/aio_misc.c: Add comment explaining why writer memory barriers
3543 are missing.
3544
3545 2000-07-27 Greg McGary <greg@mcgary.org>
3546
3547 * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
3548 * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
3549 in union init. Pass zero for ignored semnum arg to semctl.
3550 * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
3551
3552 2000-07-26 Greg McGary <greg@mcgary.org>
3553
3554 * sysdeps/gnu/bits/msq.h: Qualify kernel's
3555 data structure pointers as __unbounded.
3556 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
3557 * sysdeps/generic/bp-semctl.h: New file.
3558 * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
3559 pointers as __unbounded. Check bounds of syscall args.
3560 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3561 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
3562 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3563 * sysdeps/unix/sysv/linux/semop.c: Likewise.
3564 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
3565 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3566 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
3567 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
3568 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
3569 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
3570 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
3571 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
3572 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
3573 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
3574 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
3575 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
3576
3577 2000-07-26 Ulrich Drepper <drepper@redhat.com>
3578
3579 * libio/iofwide.c: Enable transliteration for conversion from wchar_t
3580 by default.
3581 * locale/C-ctype.c: Likewise.
3582 * wcsmbs/wcsmbsload.c: Likewise.
3583
3584 2000-07-26 Greg McGary <greg@mcgary.org>
3585
3586 * Makeconfig (+link-bounded, link-libc-bounded,
3587 link-extra-libs-bounded): New variables.
3588 (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
3589 * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
3590 * Rules (tests-bp.out): New variable.
3591 (tests): Conditionally add BP tests.
3592 (binaries-bounded): Add variable and associated rule.
3593 * csu/Makefile [build-bounded] (extra-objs, install-lib):
3594 Move conditional stuff after place where condition is defined.
3595
3596 * malloc/malloc.c (bp-checks.h): Add #include.
3597 (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
3598 (_bin_at): Add unbounded version of bin_at.
3599 (IAV, chunk_alloc): Use unbounded _bin_at.
3600 (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
3601 chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
3602 Wrap BOUNDED_N around return value.
3603 (chunk_realloc): Adjust oldsize once.
3604
3605 * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
3606 (__ubp_memchr): Add correct decl.
3607 (_CHECK_STRING): Use __ubp_memchr.
3608 * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3609 New alias for unbounded-pointer __memchr.
3610 * sysdeps/i386/memchr.S: Likewise.
3611 * sysdeps/ia64/memchr.S: Likewise.
3612 * sysdeps/m68k/memchr.S: Likewise.
3613 * sysdeps/sparc/sparc32/memchr.S: Likewise.
3614 * sysdeps/sparc/sparc64/memchr.S: Likewise.
3615 * sysdeps/vax/memchr.s: Likewise.
3616
3617 * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
3618 (SAVE_PTR): New macro. (save_ptr): Expand size as BP.
3619 (strtok): Don't bother to write into SAVE_PTR when returning NULL.
3620 * sysdeps/i386/i686/strtok.S: Likewise.
3621 * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
3622 RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
3623
3624 * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
3625 * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
3626
3627 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
3628 bounds of copy_result to mount_proc.
3629
3630 2000-07-25 Bruno Haible <haible@clisp.cons.org>
3631
3632 * wctype/wctype.h (__wctrans_l): New declaration.
3633 * wctype/wctrans_l.c: New file.
3634 * wctype/Makefile (routines): Add wctrans_l.
3635
3636 2000-07-26 Ulrich Drepper <drepper@redhat.com>
3637
3638 * posix/fnmatch_loop.c: Fixes for use outside glibc.
3639 Patch by MacGyver <macgyver@tos.net>.
3640
3641 2000-07-26 Andreas Jaeger <aj@suse.de>
3642
3643 * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
3644 * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
3645 * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
3646
3647 * rt/tst-aio.c (test_file): Fix typo.
3648 * rt/tst-aio64.c (test_file): Likewise.
3649
3650 * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
3651 * rt/Makefile: Add rules to build and run tst-aio3.
3652
3653 * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
3654 it's not needed and confuses only.
3655
3656 2000-07-26 Ulrich Drepper <drepper@redhat.com>
3657
3658 * resolv/res_init.c: Add support for nameserver communication with
3659 IPv6.
3660 * resolv/res_send.c: Likewise.
3661 * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
3662 in nsaddrs field.
3663 Patch by <venaas@nvg.ntnu.no>.
3664
3665 2000-07-25 Bruno Haible <haible@clisp.cons.org>
3666
3667 * locale/programs/ld-ctype.c (wctype_table_get): New function.
3668 (wcwidth_table_get): New function.
3669 (wcwidth_table_add): Call it.
3670 (wctrans_table_get): New function.
3671 (wctrans_table_add): Call it.
3672
3673 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3674
3675 * rt/lio_listio.c (lio_listio): Always disable individual
3676 notification.
3677 * rt/Makefile: Add rules to build and run tst-aio2.
3678 * rt/tst-aio2.c: New file.
3679
3680 * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
3681 Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
3682
3683 2000-07-25 Mark Kettenis <kettenis@gnu.org>
3684
3685 * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
3686 (_nss_netgroup_parseline): Use strip_whitespace to strip off any
3687 leading and trailing spaces from host, user and domain name.
3688
3689 2000-07-25 Jes Sorensen <jes@linuxcare.com>
3690
3691 * csu/defs.awk: Add support for need_endp.
3692
3693 2000-07-25 Mark Kettenis <kettenis@gnu.org>
3694
3695 * resolv/resolv.h: Remove __P from res_send_qhook and
3696 res_send_rhook typedefs.
3697
3698 2000-07-25 Bruno Haible <haible@clisp.cons.org>
3699
3700 * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
3701
3702 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3703
3704 * iconv/gconv_builtin.h: Add WCHAR_T alias.
3705
3706 2000-07-25 Mark Kettenis <kettenis@gnu.org>
3707
3708 * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
3709 calling thread, set the cancellation flag and return success
3710 instead of EINTR.
3711
3712 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3713
3714 * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
3715 * libio/tst-widetext.c: New file.
3716 * libio/tst-widetext.input: New file.
3717
3718 * libio/iogetwline.c (_IO_getwline_info): Pretty print.
3719
3720 * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
3721 empty external buffer correctly.
3722
3723 2000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3724
3725 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
3726 __STRING(entry) and not #entry.
3727 (_RTLD_EPILOGUE): Likewise.
3728 * sysdeps/mips/mips64/dl-machine.h: Likewise.
3729
3730 2000-07-25 Andreas Jaeger <aj@suse.de>
3731
3732 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
3733 according to changes in test program, run also with static only
3734 builds.
3735 ($(objpfx)tst-printf.out): Likewise.
3736
3737 * stdio-common/tst-unbputc.sh: Likewise.
3738 * stdio-common/tst-printf.sh: Likewise.
3739
3740 2000-07-25 Ulrich Drepper <drepper@redhat.com>
3741
3742 * libio/wfileops.c (_IO_wdo_write): Correct return value.
3743
3744 * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
3745 loop.
3746
3747 * libio/fileops.c: Pretty print.
3748
3749 2000-07-23 Bruno Haible <haible@clisp.cons.org>
3750
3751 * wctype/wchar-lookup.h: New file.
3752 * wctype/iswctype.c: Include "wchar-lookup.h".
3753 (__iswctype): Support alternate locale format with 3-level tables.
3754 * wctype/iswctype_l.c (__iswctype_l): Likewise.
3755 * wctype/towctrans.c (__towctrans): Likewise.
3756 * wctype/towctrans_l.c (__towctrans_l): Likewise.
3757 * wctype/wcfuncs.c: Include "wchar-lookup.h".
3758 (__ctype32_wctype, __ctype32_wctrans): Declare external.
3759 (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
3760 __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
3761 __iswxdigit, towlower, towupper): Support alternate locale format
3762 with 3-level tables.
3763 * wctype/wcextra.c (iswblank): Likewise.
3764 * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
3765 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
3766 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
3767 __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
3768 format with 3-level tables.
3769 * wctype/wcextra_l.c (__iswblank_l): Likewise.
3770 * wctype/wctype.c (__wctype): Likewise. In the alternate locale
3771 format, return a 3-level table pointer.
3772 * wctype/wctype_l.c (__wctype_l): Likewise.
3773 * wctype/wctrans.c (wctrans): Likewise.
3774 * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
3775 __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
3776 __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
3777 (iswctype): Remove macro definition.
3778 * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
3779 (internal_wcwidth): Support alternate locale format with 3-level
3780 tables.
3781 * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
3782 New nl_items.
3783 * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
3784 Define them as being type "word".
3785 * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
3786 * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
3787 __ctype32_width): New exported variables.
3788 * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
3789 alternate locale format. Don't initialize __ctype_names and
3790 __ctype_width in the alternate locale format.
3791 * locale/programs/localedef.h (oldstyle_tables): New declaration.
3792 * locale/programs/localedef.c (oldstyle_tables): New variable.
3793 (OPT_OLDSTYLE): New macro.
3794 (options): Add --old-style option.
3795 (parse_opt): Handle --old-style option.
3796 * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
3797 map_offset, class_3level, map_3level, width_3level members.
3798 (ctype_output): Support for alternate locale format: Computation of
3799 nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
3800 _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
3801 New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
3802 _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
3803 now contain both class and map tables.
3804 (struct wctype_table): New type.
3805 (wctype_table_init, wctype_table_add, wctype_table_finalize): New
3806 functions.
3807 (struct wcwidth_table): New type.
3808 (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
3809 functions.
3810 (struct wctrans_table): New type.
3811 (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
3812 functions.
3813 (allocate_arrays): Support for alternate locale format: Set
3814 plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
3815 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
3816 to the first 256 characters. Compute ctype->map_3level. Set
3817 ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
3818 instead of ctype->width.
3819
3820 2000-07-24 Ulrich Drepper <drepper@redhat.com>
3821
3822 * libio/iogetwline.c (_IO_getwline_info): Use wide character
3823 string functions.
3824
3825 2000-07-24 Jakub Jelinek <jakub@redhat.com>
3826
3827 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
3828 in wide characters, not bytes.
3829 * libio/tst_putwc.c (do_test): Add test for writing lots of data
3830 into file.
3831
3832 2000-07-22 Bruno Haible <haible@clisp.cons.org>
3833
3834 * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
3835 new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
3836 LC_MEASUREMENT, LC_IDENTIFICATION.
3837
3838 * locale/xlocale.h (struct __locale_struct): Increase size of
3839 __locales array.
3840 * locale/duplocale.c (__duplocale): Copy newly added categories as
3841 well.
3842 * locale/freelocale.c (__freelocale): Free newly added categories.
3843 * locale/newlocale.c (__newlocale): Fix typo in sanity check.
3844 If a base is given, use it, don't simply return it.
3845
3846 2000-07-22 Bruno Haible <haible@clisp.cons.org>
3847
3848 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
3849 variables, copied_key and copied_salt, instead of boolean variables.
3850
3851 2000-07-24 Andreas Jaeger <aj@suse.de>
3852
3853 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
3854 check for offset.
3855
3856 * grp/initgroups.c (initgroups_dyn_function): Renamed from
3857 initgroups_function, adopted prototype for change from 2000-07-23.
3858 (initgroups): Follow type change.
3859
3860 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
3861 & PAGE_MASK case, reformat.
3862
3863 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
3864 from stdin and setup environment.
3865
3866 2000-07-24 Andreas Schwab <schwab@suse.de>
3867
3868 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
3869
3870 2000-07-23 Ulrich Drepper <drepper@redhat.com>
3871
3872 * string/endian.h: Explain the _*_ENDIAN constant values a bit
3873 more. Patch by scarlet@mit.edu [PR libc/1799].
3874
3875 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
3876 [PR libc/1792].
3877
3878 * argp/argp-parse.c (parser_finalize): Reverse order in which
3879 parsers are run for ARGP_KEY_END. [PR libc/1755].
3880
3881 * grp/initgroups.c (initgroups): Don't limit the possible number
3882 of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around
3883 the setgroups call while the call fails and descrease the number
3884 of groups each round.
3885 The name of the initgroups function in the NSS modules changed.
3886 (compat_call): Adapt for dynamic resizing.
3887 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3888 Implement dynamic resizing.
3889 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
3890 Likewise.
3891 * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
3892 * hesiod/Versions: Change exported interface name.
3893 * nis/Versions: Change exported interface name.
3894
3895 2000-07-23 Ulrich Drepper <drepper@redhat.com>
3896
3897 * locale/iso-639.def: Some errors corrected.
3898 Patch by Keld Simonsen.
3899
3900 * include/limits.h: Update non-gcc portion.
3901 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
3902
3903 2000-07-22 Mark Kettenis <kettenis@gnu.org>
3904
3905 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
3906 program's data space, reallocate only the space that was just
3907 deallocated to release its backing space.
3908
3909 2000-07-23 Ulrich Drepper <drepper@redhat.com>
3910
3911 * stdio-common/vfprintf.c (process_string_arg): For wide character
3912 version, handle precision also correctly.
3913
3914 * nss/nss_files/files-hosts.c: Correct problem with three or more
3915 entries with the same name.
3916
3917 * nss/nss_files/files-hosts.c: Implement multi handling.
3918 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
3919
3920 2000-07-22 Ulrich Drepper <drepper@redhat.com>
3921
3922 * nss/nss_files/files-parse.c: Don't pollute namespace by using
3923 strcasecmp.
3924
3925 * grp/Makefile: Change Makefiles and tests to run only when necessary.
3926 * malloc/Makefile: Likewise.
3927 * malloc/tst-mtrace.sh: Likewise.
3928 * posix/Makefile: Likewise.
3929 * posix/globtest.sh: Likewise.
3930 * posix/wordexp-tst.sh: Likewise.
3931 * string/Makefile: Likewise.
3932
3933 2000-07-22 Mark Kettenis <kettenis@gnu.org>
3934
3935 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
3936 size instead of LC_ALL to take into account the new locale
3937 categories.
3938
3939 2000-07-22 Ulrich Drepper <drepper@redhat.com>
3940
3941 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
3942 remainders of hash table.
3943 * locale/categories.def: Remove remainders of transliteration
3944 hash table.
3945 * locale/langinfo.h: Likewise.
3946 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
3947 transliteration tables.
3948
3949 * locale/gen-translit.pl: New file.
3950 * locale/C-translit.h.in: New file.
3951 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
3952 data pointers with data from this file.
3953 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
3954 and gen-translit.pl.
3955 Add rule to generate C-translit.h.
3956 * intl/tst-translit.c (main): Update for now performed
3957 transliteration.
3958
3959 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
3960 (it's no input error).
3961 * stdio-common/tstscanf.c: Add test case for format %f with input --.
3962 * stdio-common/scanf12.c: Correct expected result for first scanf.
3963
3964 * stdio-common/vfprintf.c (process_string_arg): Correct handling
3965 of multibyte character strings in %s format with precision.
3966
3967 2000-07-21 Ulrich Drepper <drepper@redhat.com>
3968
3969 * locale/programs/ld-collate.c (collate_read): Allow collating
3970 symbols and elements be named in reorder-after instructions.
3971 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
3972
3973 * locale/programs/ld-collate.c (handle_ellipsis): Test for
3974 duplication with generated name, not the name of the first
3975 character.
3976 Patch by Yong Li <yong.li@asu.edu>.
3977
3978 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
3979 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3980
3981 2000-07-21 Wolfram Gloger <wg@malloc.de>
3982
3983 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
3984 allocations only if a non-main arena cannot be extended.
3985
3986 2000-07-21 Ulrich Drepper <drepper@redhat.com>
3987
3988 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
3989 in DF_1_NODEFLIB handling.
3990
3991 2000-07-21 Andreas Jaeger <aj@suse.de>
3992
3993 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
3994 own rule.
3995
3996 * libio/fwide.c: Include <wchar.h> for prototype.
3997
3998 2000-07-21 Greg McGary <greg@mcgary.org>
3999
4000 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
4001 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
4002 Define in terms of chunk_at_offset.
4003 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
4004 (next_bin, prev_bin): offset by size of real array elements.
4005 (chunk_align): Make `m' a scalar, since that's how it's used.
4006
4007 2000-07-21 Greg McGary <greg@mcgary.org>
4008
4009 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
4010 UNCHECK_BOUNDS.
4011 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
4012 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
4013 Wrap bounds around argv & envp and each of their string members.
4014 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
4015 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
4016 symbol in BP_SYM (). Discard bounds of address arg.
4017 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
4018 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
4019 Discard bounds on address arg, add bounds to return value.
4020
4021 2000-07-20 Ulrich Drepper <drepper@redhat.com>
4022
4023 * elf/Makefile (tests): Add filter. Add rules to generate filter.
4024 * elf/filter.c: New file.
4025 * elf/filtmod1.c: New file.
4026 * elf/filtmod2.c: New file.
4027
4028 * elf/rtld.c: Define _dl_bind_not variable.
4029 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
4030 * elf/dl-support.c: Likewise.
4031 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
4032 * elf/dl-runtime.c (fixup): Don't remember looked up value if
4033 _dl_bind_not.
4034 (profile_fixup): Likewise.
4035
4036 * libio/Makefile (routines): Add fwide.
4037 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
4038 fwide now. Internal calls to _IO_fwide must do locking themselves
4039 or don't need locking.
4040 * libio/fwide.c: New file.
4041
4042 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
4043
4044 * elf/Makefile: Add no modules for nodelete test.
4045 * elf/nodelmod3.c: New file.
4046 * elf/nodelmod4.c: New file.
4047 * elf/nodelete.c: Also test case where dependency of dlopen() object
4048 is marked nodelete.
4049
4050 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
4051 * elf/nodlopen.c: New file.
4052 * elf/nodlopenmod.c: New file.
4053 * include/dlfcn.h: Define __RTLD_DLOPEN.
4054 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
4055 and this is a dlopen() call, do not load the binary.
4056 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
4057 * dlfcn/dlopenold.c: Likewise.
4058 * configure.in: Add test for -z nodelete option.
4059 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
4060
4061 2000-07-20 Mark Kettenis <kettenis@gnu.org>
4062
4063 Make Hesiod NSS module thread-safe.
4064
4065 * hesiod/README.hesiod: Update.
4066
4067 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
4068 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
4069 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
4070 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
4071 hesiod-proto.
4072 * hesiod/nss_hesiod/hesiod-init.c: New file.
4073 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
4074 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
4075 * hesiod/nss_hesiod/nss_hesiod.h: New file.
4076 * hesiod/nss_hesiod/hesiod-service.c
4077 (_nss_hesiod_getservbyport_r): New function. Provide support for
4078 looking up services by port number.
4079 * hesiod/nss_hesiod/hesiod-proto.c: New file.
4080
4081 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
4082 * hesiod/hesiod.h: Likewise.
4083 * hesiod/hesiod_p.h: Likewise.
4084
4085 2000-07-20 Mark Kettenis <kettenis@gnu.org>
4086
4087 Fix problems with `struct __res_state' getting too big.
4088 * resolv/resolv.h (struct __sockaddr_in): New definition.
4089 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
4090 the private parts of the structure to save some space.
4091 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
4092 (struct sockaddr_in *) in call to sock_eq.
4093 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
4094
4095 2000-07-20 Ulrich Drepper <drepper@redhat.com>
4096
4097 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
4098 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
4099 with nodelete.
4100 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
4101 to _dl_map_object. Return immediately if no object loaded.
4102 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
4103 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
4104 if it exists into l_flags_1 word.
4105 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
4106 it to determine whether loading is wanted or not.
4107 (_dl_map_object): Likewise.
4108 Call _dl_map_object_from_fd with new parameter.
4109 * sysdeps/generic/ldsodefs.h: Update prototype.
4110 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
4111 * elf/rtld.c: Likewise.
4112 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4113 * elf/Makefile (tests): Add noload. Add rules to generate noload.
4114 * elf/noload.c: New file.
4115 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
4116 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
4117 * sysdeps/mips/bits/dlfcn.h: Likewise.
4118 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
4119 (tests-nodelete-yes): Define.
4120 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
4121 Add rules to build nodelete and modules.
4122 * elf/nodelete.c: New file.
4123 * elf/nodelmod1.c: New file.
4124 * elf/nodelmod2.c: New file.
4125 * configure.in: Add test for -z nodelete option.
4126 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
4127
4128 * libio/Makefile (tests): Add tst_wprintf2.
4129 (tst_wprintf2-ARGS): Define.
4130 * libio/tst_wprintf2.c: New file.
4131 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
4132
4133 * libio/wfiledoalloc.c: Only allocate external buffer if this
4134 hasn't happened yet.
4135
4136 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
4137 something in the buffer. gconv call can write up to end of the
4138 buffer, not only _IO_write_end.
4139 (_IO_wfile_overflow): Allocate also external buffer.
4140
4141 2000-07-19 Ulrich Drepper <drepper@redhat.com>
4142
4143 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
4144 strings with precision in vfwprintf correctly.
4145 * stdio-common/vfprintf.c: Fix completely broken handling of
4146 unbuffered wide character streams.
4147 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
4148
4149 * resolv/Makefile (distribute): Add README.
4150
4151 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
4152
4153 2000-07-18 Mark Kettenis <kettenis@gnu.org>
4154
4155 Update resolver code to BIND 8.2.3-T5B.
4156
4157 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
4158 __res_nclose.
4159 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
4160 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
4161 __res_search.
4162 * resolv/Banner: BIND-8.2.3-T5B.
4163
4164 * resolv/base64.c: Update from BIND 8.2.3-T5B.
4165 * resolv/herror.c: Likewise.
4166 * resolv/inet_addr.c: Likewise.
4167 * resolv/inet_net_ntop.c: Likewise.
4168 * resolv/inet_net_pton.c: Likewise.
4169 * resolv/inet_neta.c: Likewise.
4170 * resolv/inet_ntop.c: Likewise.
4171 * resolv/nsap_addr.c: Likewise.
4172 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
4173 IPv6 addresses (ISC bug #520).
4174
4175 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
4176 * resolv/ns_parse.c: Likewise.
4177 * resolv/ns_netint.c: Likewise.
4178 * resolv/ns_samedomain.c: Likewise.
4179 * resolv/ns_ttl.c: Likewise.
4180 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
4181 RCS ID in object file.
4182
4183 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
4184 * resolv/res_mkquery.c: Likewise.
4185 * resolv/res_query.c: Likewise.
4186 * resolv/res_init.c: Likewise.
4187 (res_setoptions): Mark internal.
4188 * resolv/res_send.c: Likewise.
4189 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
4190 by using poll instead.
4191 * resolv/res_comp.c: Likewise.
4192 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
4193 weak alias for __dn_expand.
4194 * resolv/res_data.c: Likewise.
4195 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
4196 in _res.options. Avoids a potential security risk by avoiding a
4197 close (0).
4198 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
4199 res_mkquery, res_query, res_querydomain adn res_search weak
4200 aliases for __res_mkquery, __res_query, __res_querydomain and
4201 __res_search.
4202 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
4203 instead to avoid close(0).
4204 (res_init): Always use the static resolver context.
4205 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
4206 alias for __res_init.
4207
4208 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
4209 RES_SET_H_ERRNO and accompanying comment to...
4210 * include/resolv.h: ... here.
4211
4212 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
4213 * resolv/arpa/nameser_compat.h: Likewise.
4214
4215 2000-07-18 Ulrich Drepper <drepper@redhat.com>
4216
4217 * nss/makedb.c (main): Compare result of load_db with
4218 NSS_STATUS_SUCCESS and not 0.
4219 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
4220
4221 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
4222
4223 2000-07-18 Greg McGary <greg@mcgary.org>
4224
4225 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
4226 (EXTEND_BUFFER): Use it.
4227
4228 2000-07-18 Ulrich Drepper <drepper@redhat.com>
4229
4230 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
4231 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
4232 __builtin_return_address.
4233 * dlfcn/dlopenold.c: Likewise.
4234 * dlfcn/dlsym.c: Likewise.
4235 * dlfcn/dlvsym.c: Likewise.
4236 * elf/dl-profstub.c: Likewise.
4237 * malloc/malloc.c: Likewise.
4238 * sysdeps/generic/machine-gmon.h: Likewise.
4239 Based on a patch by schwidefsky@de.ibm.com.
4240
4241 2000-07-18 Andreas Jaeger <aj@suse.de>
4242
4243 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
4244 NULL to elf_machine_fixup_plt t argument to silence GCC.
4245
4246 * include/string.h: Add prototype for __memchr.
4247
4248 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
4249
4250 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
4251 instead of memrchr.
4252
4253 2000-07-18 Ulrich Drepper <drepper@redhat.com>
4254
4255 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
4256
4257 * locale/C-ctype.c: Add initializers for gap elements.
4258 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
4259 for gap elements.
4260
4261 2000-07-16 Ulrich Drepper <drepper@redhat.com>
4262
4263 * nscd/nscd.c (print_version): Update copyright year.
4264
4265 2000-07-17 Greg McGary <greg@mcgary.org>
4266
4267 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
4268 keyletters F, I, S, W. Remove unused keyletter V. Surround
4269 signature argnames with angle-brackets for use as word delimiters,
4270 and to induce syntax errors for any args not handled. Split
4271 multi-echo echoes and comment each stage.
4272 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
4273 * sysdeps/unix/inet/syscalls.list: Likewise.
4274 * sysdeps/unix/mman/syscalls.list: Likewise.
4275 * sysdeps/unix/syscalls.list: Likewise.
4276 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4277 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4278 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4279 * sysdeps/unix/sysv/syscalls.list: Likewise.
4280 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
4281
4282 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
4283 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
4284 qualifiers. Don't check NULL-terminator of argv & envp.
4285 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
4286 unbounded pointer type in word-size assertion.
4287 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
4288 cases to stifle warnings.
4289
4290 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
4291 _IO_file_attach.
4292 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
4293
4294 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
4295 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
4296 ptr as __unbouned.
4297
4298 * Makerules (o-objects): Supplement with $(o-objects$o).
4299 * string/Makefile (o-objects.ob): Add variable to pull
4300 unbounded versions of memcpy, memset and memchr into libc_b.
4301
4302 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
4303 rather than non-existent __ubp_memchr.
4304 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
4305 (_CHECK_STRING, _CHECK_N): New macros.
4306 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
4307 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
4308 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
4309 Add weak alias "memchr".
4310 * sysdeps/generic/memchr.c: Likewise.
4311 * sysdeps/i386/memchr.S: Likewise.
4312 * sysdeps/ia64/memchr.S: Likewise.
4313 * sysdeps/m68k/memchr.S: Likewise.
4314 * sysdeps/sparc/sparc32/memchr.S: Likewise.
4315 * sysdeps/sparc/sparc64/memchr.S: Likewise.
4316 * sysdeps/vax/memchr.s: Likewise.
4317
4318 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
4319
4320 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
4321 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
4322 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
4323 __BOUNDED_POINTERS__.
4324 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
4325 for __BOUNDED_POINTERS__.
4326
4327 2000-07-17 Bruno Haible <haible@clisp.cons.org>
4328
4329 * iconv/gconv_open.c (__gconv_open): Initialize the __data
4330 field of struct __gconv_trans_data differently. Don't pass NULL to
4331 trans_init_fct. Simplify list append operation.
4332
4333 2000-07-14 Bruno Haible <haible@clisp.cons.org>
4334
4335 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
4336 not only those having tsearch.
4337
4338 2000-07-17 Ulrich Drepper <drepper@redhat.com>
4339
4340 * locale/langinfo.h: Add placeholder values in enum for removed
4341 LC_CTYPE entries.
4342
4343 2000-07-17 Jakub Jelinek <jakub@redhat.com>
4344
4345 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
4346 chain if the PHDR check fails.
4347
4348 2000-07-17 Mark Kettenis <kettenis@gnu.org>
4349
4350 * nss/getent.c (print_hosts): Make sure we always print a space
4351 between numeric addresses and hostnames.
4352
4353 2000-07-17 Wolfram Gloger <wg@malloc.de>
4354
4355 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
4356 i.e. if n_mmaps_max>0.
4357
4358 2000-07-16 Mark Kettenis <kettenis@gnu.org>
4359
4360 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
4361 values to remove possible clash with other AI_* constants.
4362 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
4363 hexadecimal constants to stress the fact they're in fact
4364 bit flags.
4365
4366 2000-07-15 Mark Kettenis <kettenis@gnu.org>
4367
4368 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
4369 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
4370 instead of res_init.
4371
4372 2000-07-16 Ulrich Drepper <drepper@redhat.com>
4373
4374 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
4375 parameters of memset calls to avoid warnings.
4376
4377 2000-07-15 Ulrich Drepper <drepper@redhat.com>
4378
4379 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
4380 necessary.
4381
4382 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
4383 Patch by Greg McGary <greg@mcgary.org>.
4384
4385 * io/Makefile (tests): Add tst-getcwd.
4386 * io/tst-getcwd.c: New file.
4387
4388 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
4389
4390 2000-07-15 Jakub Jelinek <jakub@redhat.com>
4391
4392 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
4393 structure.
4394
4395 2000-07-13 Jakub Jelinek <jakub@redhat.com>
4396
4397 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
4398 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
4399
4400 2000-07-12 H.J. Lu <hjl@gnu.org>
4401
4402 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
4403 GLIBC_2.2.
4404 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
4405 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
4406 (sysdep-routines): Add clone2.
4407 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
4408
4409 2000-07-13 Jes Sorensen <jes@linuxcare.com>
4410
4411 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
4412 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
4413
4414 2000-06-05 David Mosberger <davidm@hpl.hp.com>
4415
4416 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
4417 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
4418 Change type of si_band from "int" to "long".
4419 (si_imm) [USE_GNU]: Define
4420 (si_isr) [USE_GNU]: Ditto.
4421 (ILL_BREAK) [USE_GNU]: Ditto.
4422 (FPE_DECOVF) [USE_GNU]: Ditto.
4423 (FPE_DECDIV) [USE_GNU]: Ditto.
4424 (FPE_DECERR) [USE_GNU]: Ditto.
4425 (FPE_INVASC) [USE_GNU]: Ditto.
4426 (FPE_INVDEC) [USE_GNU]: Ditto.
4427 (TRAP_BRANCH) [USE_GNU]: Ditto.
4428 (TRAP_HWBKPT) [USE_GNU]: Ditto.
4429
4430 2000-07-06 Jes Sorensen <jes@linuxcare.com>
4431
4432 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
4433 bits/sigcontext as struct mcontext does not depend on it.
4434
4435 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
4436
4437 2000-07-04 Jes Sorensen <jes@linuxcare.com>
4438
4439 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
4440
4441 2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
4442
4443 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
4444
4445 2000-06-22 Jes Sorensen <jes@linuxcare.com>
4446
4447 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
4448
4449 2000-07-15 Ulrich Drepper <drepper@redhat.com>
4450
4451 * intl/Makefile (test-srcs): Add tst-translit.
4452 (tests): Likewise.
4453 Add rules to build and run tst-translit.
4454 * intl/tst-translit.c: New file.
4455 * intl/tst-translit.sh: New file.
4456 * intl/translit.po: New file.
4457
4458 2000-07-14 Ulrich Drepper <drepper@redhat.com>
4459
4460 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
4461 transliteration function did its job, continue, don't stop.
4462
4463 * iconvdata/iso646.c: Little optimizations in body for conversion
4464 from UCS4.
4465
4466 2000-07-14 Mark Kettenis <kettenis@gnu.org>
4467
4468 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
4469
4470 2000-07-14 Mark Kettenis <kettenis@gnu.org>
4471
4472 * configure.in: Check for pwd binary.
4473 * config.make.in: Add PWD_P to be subsituted.
4474 * Makerules: Use $(PWD_P) instead of /bin/pwd.
4475
4476 2000-07-14 Ulrich Drepper <drepper@redhat.com>
4477
4478 * iconvdata/Makefile (modules): Add GB18030.
4479 (distribute): Add gb18030.c.
4480 * iconvdata/gconv-modules: Add entries for GB18030 module.
4481 * iconvdata/gb18030.c: New file.
4482 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
4483 and Wu Jian.
4484
4485 2000-07-13 Andreas Jaeger <aj@suse.de>
4486
4487 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
4488 patch.
4489
4490 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
4491 * inet/getnetgrent.c (free_mem): Likewise.
4492 * misc/mntent.c (free_mem): Likewise.
4493 * nss/getXXbyYY.c (free_mem): Likewise.
4494 * nss/getXXent.c (free_mem): Likewise.
4495 * pwd/fgetpwent.c (free_mem): Likewise.
4496 * shadow/fgetspent.c (free_mem): Likewise.
4497
4498 2000-07-14 Ulrich Drepper <drepper@redhat.com>
4499
4500 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
4501 64-bit architecture correctly [PR libc/1794].
4502
4503 2000-07-13 Ulrich Drepper <drepper@redhat.com>
4504
4505 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
4506 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
4507 report that we are out of memory.
4508 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4509 * elf/dl-libc.c (dlerror_run): Likewise.
4510 * elf/dl-open.c (_dl_open): Likewise.
4511 * elf/rtld.c (dl_main): Likewise.
4512 * elf/dl-error.c: Define _dl_out_of_memory.
4513 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
4514 the error string.
4515 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
4516 [PR libc/1813].
4517
4518 * dlfcn/dlerror.c (free_key_mem): Also free error string.
4519
4520 * iconv/loop.c: Fix comment.
4521
4522 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
4523
4524 2000-07-13 Andreas Jaeger <aj@suse.de>
4525
4526 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
4527 getcwd (NULL, size) with size > 0.
4528 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
4529
4530 2000-07-13 Andreas Jaeger <aj@suse.de>
4531
4532 * posix/Makefile: Remove build rules for libposix.
4533
4534 2000-07-13 Andreas Schwab <schwab@suse.de>
4535
4536 * sysdeps/generic/glob.c (glob): Fix memory leak.
4537 [SHELL]: Remove reference to undefined variable `files'.
4538 Fixes PR libc/1782.
4539
4540 2000-07-13 Andreas Jaeger <aj@suse.de>
4541
4542 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
4543 functions.
4544
4545 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
4546 memory if it was allocated.
4547
4548 2000-07-12 Ulrich Drepper <drepper@redhat.com>
4549
4550 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
4551 step.
4552
4553 * iconv/gconv_open.c (__gconv_open): Reapply
4554 2000-07-12 Bruno Haible <haible@clisp.cons.org>
4555
4556 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
4557
4558 * iconv/gconv_open.c: Undo last two changes for now. They break
4559 everything.
4560
4561 2000-07-12 Andreas Jaeger <aj@suse.de>
4562
4563 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
4564 compiler.
4565 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
4566 (CFLAGS-dl-cache.c): Likewise.
4567 (CFLAGS-ldconfig.c): Added, passes directory locations.
4568
4569 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
4570 locate cache.
4571 * elf/ldconfig.c (LD_SO_CONF): Likewise.
4572 (main): Use configured LIBDIR and SLIBDIR.
4573
4574 2000-07-11 Jakub Jelinek <jakub@redhat.com>
4575
4576 * math/bits/cmathcalls.h (cimag): Add __THROW.
4577 (creal, conj): Likewise.
4578 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
4579 by negative value.
4580
4581 2000-07-12 H.J. Lu <hjl@gnu.org>
4582
4583 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
4584 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
4585
4586 2000-07-12 Ulrich Drepper <drepper@redhat.com>
4587
4588 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
4589 it is wrong.
4590
4591 2000-07-12 Bruno Haible <haible@clisp.cons.org>
4592
4593 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
4594
4595 2000-07-12 Bruno Haible <haible@clisp.cons.org>
4596
4597 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
4598 __modname.
4599
4600 2000-07-12 Bruno Haible <haible@clisp.cons.org>
4601
4602 * iconv/gconv_open.c (__gconv_open): Initialize
4603 result->__steps[cnt].__data.
4604
4605 2000-07-12 Mark Kettenis <kettenis@gnu.org>
4606
4607 * nss/getent.c (services_keys): Pass port number in network byte
4608 order in call to getservbyport.
4609
4610 2000-07-11 Andreas Jaeger <aj@suse.de>
4611
4612 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
4613 source dir.
4614 * intl/Makefile (do-gettext-test): Likewise.
4615 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
4616
4617 2000-07-11 Andreas Schwab <schwab@suse.de>
4618
4619 * Makeconfig (run-program-prefix): New rule.
4620 (built-program-cmd): Use run-program-prefix.
4621
4622 2000-07-12 Ulrich Drepper <drepper@redhat.com>
4623
4624 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
4625 and NOEXPR unconditionally available.
4626
4627 2000-07-12 Greg McGary <greg@mcgary.org>
4628
4629 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
4630 * sysdeps/posix/open64.c: Likewise.
4631 * sysdeps/generic/fegetenv.c: Likewise.
4632 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
4633 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4634 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4635 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
4636 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
4637 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
4638
4639 2000-07-11 Greg McGary <greg@mcgary.org>
4640
4641 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
4642 Add extra level of macro expansion.
4643 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
4644 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
4645 is available at the time `select' prototype is declared.
4646 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
4647 Collect non-versioned weak aliases. Consider only non-versioned
4648 aliases for the user-visible systemcall name. Do checks inline with
4649 call to primitive system call.
4650 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
4651 stand-alone bounds checks to suppress unused value warnings.
4652 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
4653
4654 2000-07-10 Mark Kettenis <kettenis@gnu.org>
4655
4656 * sysdeps/mach/hurd/check_fds.c: New file. Implements
4657 file descriptor checking in SUID programs for the Hurd.
4658
4659 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
4660 res_hostalias instead of __hostalias for thread-safety.
4661
4662 2000-07-09 Mark Kettenis <kettenis@gnu.org>
4663
4664 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
4665 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
4666
4667 2000-07-10 Ulrich Drepper <drepper@redhat.com>
4668
4669 * include/features.h: Include ISO C99 features if the compiler used
4670 is an ISO C99 compiler.
4671 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
4672
4673 2000-07-08 Mark Kettenis <kettenis@gnu.org>
4674
4675 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
4676
4677 2000-07-10 Andreas Jaeger <aj@suse.de>
4678
4679 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
4680 it's overridden by libpthreads.
4681 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4682 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4683 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4684 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4685 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4686
4687 * malloc/Makefile: Run tst-mtrace only with shared libs.
4688
4689 * stdio-common/Makefile: Run unbputc and tst-printf tests only
4690 with shared libs.
4691
4692 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4693
4694 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
4695 that gpreg really points to the GOT section of the calling object.
4696 Scan all PT_LOAD segments of objects for stub_pc, instead of only
4697 checking a start address of first one.
4698 Fix typos.
4699 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
4700 Likewise.
4701
4702 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
4703
4704 2000-07-10 Andreas Jaeger <aj@suse.de>
4705
4706 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
4707 (string_alias->strong_alias).
4708
4709 2000-07-08 Mark Kettenis <kettenis@gnu.org>
4710
4711 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
4712
4713 2000-07-07 Greg McGary <greg@mcgary.org>
4714
4715 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
4716 have no names without leading underscores.
4717
4718 2000-07-07 Ulrich Drepper <drepper@redhat.com>
4719
4720 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
4721 U007E.
4722
4723 * stdio-common/Makefile (tests): Remove tst-printf here...
4724 (tests-srcs): ...and add it here.
4725 (distribute): Add tst-unbputc.sh and tst-printf.sh.
4726 Add rules to run tst-printf.sh.
4727 * stdio-common/tst-printf.c: Move code around so that there is really
4728 no further output where it's stated.
4729 * stdio-common/tst-printf.sh: New file.
4730
4731 2000-07-07 Mark Kettenis <kettenis@gnu.org>
4732
4733 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
4734 (do_write): Renamed from pwrite.
4735 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
4736 `struct _IO_cookie_file'.
4737
4738 2000-07-07 Ulrich Drepper <drepper@redhat.com>
4739
4740 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
4741 detected.
4742 * malloc/tst-mtrace.sh: Run mtrace script.
4743
4744 2000-07-07 Greg McGary <greg@mcgary.org>
4745
4746 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
4747 Move all three components of a bounded pointer.
4748
4749 2000-07-07 Ulrich Drepper <drepper@redhat.com>
4750
4751 * locale/programs/locale.c (write_locales): Don't simply add all
4752 directories found in the subdir, test whether at least the
4753 LC_CTYPE file is in there.
4754
4755 2000-07-06 Ulrich Drepper <drepper@redhat.com>
4756
4757 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
4758 * iconvdata/euc-kr.c: Likewise.
4759
4760 * stdio-common/vfprintf.c (process_string_arg): Check result of
4761 wcrtomb call and bail out if it failed.
4762
4763 * malloc/Makefile (test-srcs): Add tst-mtrace.
4764 (distribute): Add tst-mtrace.sh.
4765 Add rule to run tst-mtrace.sh.
4766 * malloc/tst-mtrace.c: New file.
4767 * malloc/tst-mtrace.sh: New file.
4768
4769 * include/signal.h: Declare __libc_sigaction.
4770 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
4771 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
4772 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4773 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4774 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4775 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4776 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4777
4778 * configure.in: Fix CFLAGS-memprofstat.c definition after
4779 2000-06-19 change.
4780 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
4781
4782 2000-07-06 Jakub Jelinek <jakub@redhat.com>
4783
4784 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
4785 instead of NULL to elf_machine_fixup_plt t argument.
4786 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4787 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
4788 cast.
4789
4790 2000-07-06 Andreas Jaeger <aj@suse.de>
4791
4792 * crypt/Makefile (LDLIBS-cert): Removed.
4793 (LDLIBS-md5c-test): Removed.
4794 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
4795 ($(objpfx)md5c-test): Likewise for md5c-test.out.
4796
4797 2000-07-06 Andreas Jaeger <aj@suse.de>
4798
4799 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
4800 of the proc system is "proc".
4801
4802 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
4803 thread library for static programs.
4804
4805 2000-07-06 Greg McGary <greg@mcgary.org>
4806
4807 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
4808 New macros.
4809 * sysdeps/generic/strcpy.c: Add bounds checks.
4810 * sysdeps/unix/fxstat.c: Likewise.
4811 * sysdeps/unix/xstat.c: Likewise.
4812 * sysdeps/unix/common/lxstat.c: Likewise.
4813 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4814 * sysdeps/unix/sysv/linux/execve.c: Likewise.
4815 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
4816 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
4817 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4818 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4819 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
4820 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
4821 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
4822 * sysdeps/unix/sysv/linux/poll.c: Likewise.
4823 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4824 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4825 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
4826 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4827 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4828 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4829 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4830 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4831 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4832 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
4833 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4834 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
4835 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4836 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
4837 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
4838 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
4839 * sysdeps/unix/sysv/linux/writev.c: Likewise.
4840 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
4841 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
4842 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
4843 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4844 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
4845 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4846 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4847 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4848 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4849 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4850 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
4851 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4852 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4853 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4854 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
4855 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4856 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4857 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
4858 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
4859 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4860 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
4861 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
4862 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
4863 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
4864 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
4865 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4866 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4867 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4868 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4869 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
4870 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
4871 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
4872 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
4873 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4874 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
4875 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
4876 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
4877
4878 * string/endian.h (__LONG_LONG_PAIR): New macro.
4879 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
4880 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4881 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4882 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4883 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4884 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
4885 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
4886 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4887 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4888 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4889 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4890 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
4891
4892 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
4893
4894 2000-07-06 Andreas Jaeger <aj@suse.de>
4895
4896 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
4897 Initialize result.
4898
4899 * math/test-fpucw.c: Include <stdio.h> for printf.
4900
4901 2000-07-05 Greg McGary <greg@mcgary.org>
4902
4903 * sysdeps/generic/bp-checks.h: New file.
4904 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
4905 with list of #include files.
4906 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
4907 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
4908 Don't generate BP thunk if `V' appears in signature.
4909 Generate thunks with complete bounds checks.
4910 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
4911 * sysdeps/unix/inet/syscalls.list: Likewise.
4912 * sysdeps/unix/mman/syscalls.list: Likewise.
4913 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4914 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4915 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4916 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
4917
4918 2000-07-05 Ulrich Drepper <drepper@redhat.com>
4919
4920 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
4921 result. Search first in /etc/mtab (proc/mounts would be stupid).
4922 If mount not in the file fall back on /proc.
4923
4924 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
4925 string got copied in.
4926 Patch by Solar Designer <solar@false.com>.
4927
4928 2000-07-05 Andreas Jaeger <aj@suse.de>
4929
4930 * manual/install.texi (Installation): Update information about
4931 add-ons.
4932 (Configuring and compiling): Update for glibc 2.2.
4933
4934 2000-07-04 Andreas Jaeger <aj@suse.de>
4935
4936 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
4937 (_FPU_IEEE): Likewise.
4938
4939 * math/Makefile (tests): Add test-fpucw.
4940
4941 * math/test-fpucw.c (main): New file.
4942
4943 2000-07-05 Ulrich Drepper <drepper@redhat.com>
4944
4945 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
4946
4947 * locale/programs/ld-collate.c (collate_output): Also write out the
4948 collation sequence values and the wide character string for the
4949 collation symbol table.
4950
4951 * posix/fnmatch.c: Include "../locale/elem-hash.h".
4952 * posix/fnmatch_loop.c: Implement collating symbol handling.
4953 * posix/tst-fnmatch.input: Add more tests, especially for collating
4954 symbol handling.
4955
4956 * posix/regex.c: Fix comment.
4957
4958 2000-07-05 Andreas Jaeger <aj@suse.de>
4959
4960 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
4961 (_FPU_GETCW): Remove extra colon.
4962 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
4963
4964 * posix/fnmatch_loop.c (FCT): Only declare len if
4965 !WIDE_CHAR_VERSION to silence GCC.
4966
4967 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
4968 prototype.
4969 * sysdeps/generic/strchrnul.c: Likewise.
4970 * sysdeps/generic/strlen.c: Likewise.
4971 * sysdeps/generic/strchr.c: Likewise.
4972 * sysdeps/generic/memchr.c: Likewise.
4973
4974 2000-07-04 Ulrich Drepper <drepper@redhat.com>
4975
4976 * posix/fnmatch_loop.c: Implement equivalence class handling.
4977 * posix/tst-fnmatch.input: Add tests for equivalence class
4978 handling.
4979
4980 * posix/fnmatch_loop.c: Improve performance for single-byte
4981 character sets by not using btowc.
4982
4983 * posix/tst-fnmatch.input: Add tests for locale dependent
4984 behaviour.
4985 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
4986
4987 * posix/tst-fnmatch.input: Add more test cases.
4988
4989 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
4990 are not aligned to alignof(md5_uint32) do it before calling
4991 __md5_process_bytes.
4992 * crypt/md5.c: Make sure buffers are aligned.
4993 * crypt/md5.h: Likewise.
4994 Reported by Solar Designer <solar@false.com>.
4995
4996 * crypt/Makefile: Add dependencies for test programs.
4997
4998 * Rules: Define LC_ALL=C in environments of all programs we run.
4999
5000 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
5001
5002 2000-07-03 H.J. Lu <hjl@gnu.org>
5003
5004 * locale/programs/ld-ctype.c (ctype_output): The size of iov
5005 is 2 + elem + offset, not 2 + elem + offset + 2.
5006
5007 2000-07-04 Ulrich Drepper <drepper@redhat.com>
5008
5009 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
5010 suite.
5011 * posix/Makefile (tests): Add tst-fnmatch.
5012 (tst-fnmatch-ENV): Define.
5013 * posix/tst-fnmatch.c: New file.
5014 * posix/tst-fnmatch.sh: New file.
5015
5016 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
5017
5018 * locale/programs/charmap.c (charmap_read): Prepend
5019 the condition filename == NULL.
5020
5021 2000-07-03 Greg McGary <greg@mcgary.org>
5022
5023 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
5024
5025 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
5026 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
5027
5028 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
5029 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
5030 (FILEBUF_LITERAL): Add cast for CHAIN init.
5031 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
5032 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
5033 Revert type of `fp' to _IO_FILE*.
5034 (_IO_iter_file): Remove cast.
5035 (_IO_iter_next): Elide intermediate member reference.
5036
5037 * sysdeps/powerpc/strchr.S: Check bounds.
5038 Wrap extern symbols in BP_SYM ().
5039
5040 2000-07-03 Andreas Jaeger <aj@suse.de>
5041
5042 * dlfcn/Makefile (generated): New.
5043
5044 2000-07-03 Ulrich Drepper <drepper@redhat.com>
5045
5046 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
5047 (__uflow): Likewise.
5048 (__underflow): Likewise.
5049 * libio/wgenops.c (__wunderflow): Likewise.
5050 * stdio-common/tst-unbputc.c: New file.
5051 * stdio-common/tst-unbputc.sh: New file.
5052 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
5053
5054 * po/en_GB.po: New file.
5055 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
5056
5057 2000-07-01 Andreas Jaeger <aj@suse.de>
5058
5059 * intl/Makefile (generated-dirs): New.
5060
5061 * elf/Makefile (generated): trusted-dirs.h is always generated,
5062 move out of build-shared condition.
5063 (generated): Merge the two entries for build-shared.
5064
5065 2000-07-01 Ulrich Drepper <drepper@redhat.com>
5066
5067 * debug/Makefile (distribute): Add xtrace.sh.
5068
5069 2000-06-30 Ulrich Drepper <drepper@redhat.com>
5070
5071 * version.h (VERSION): Bump to 2.1.91.
5072
5073 * configure.in: Update warning comment. glibc should not be
5074 broken anymore.
5075
5076 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
5077 ioperm.c, sys/procfs.h, and sys/io.h.
5078
5079 * sysdeps/powerpc/Dist: Add bp-asm.h.
5080
5081 * assert/Depend: Add localedata.
5082 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
5083 (test-assert-perr-ENV): New. Define LANGUAGE=C.
5084
5085 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
5086 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
5087 relocation address to prevent unaligned trap.
5088 Suggested by Richard Henderson <rth@cygnus.com>.
5089
5090 2000-06-30 Jakub Jelinek <jakub@redhat.com>
5091
5092 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
5093 if redirecting and either redirection is done using defines or
5094 not optimizing.
5095
5096 2000-06-30 Ulrich Drepper <drepper@redhat.com>
5097
5098 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
5099 generated expressions.
5100 Patch by Darren McClelland <dmcclell@zetec.com>.
5101
5102 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
5103 since zic uses setlocale and gettext but we cannot make it use the
5104 new locale data since zic calls a shell which might not use the
5105 new libc.
5106
5107 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
5108 handling the internation currency symbol. POSIX says that the
5109 fourth character is used to separate the currency symbol from the
5110 value. Therefore it does not have to be printed. But we cannot
5111 remove the space if the currency symbol is printed before the
5112 number since this is what many locales expect.
5113
5114 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
5115 whether this information is available.
5116
5117 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
5118 buffers in case the translation is too large. Remember allocated
5119 memory blocks in a list.
5120 (free_mem): Free memory for translations.
5121
5122 * intl/tst-gettext.c: Use correct locale. Improve error messages.
5123
5124 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
5125 information is available set the string length to zero.
5126
5127 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
5128
5129 2000-06-30 Greg McGary <greg@mcgary.org>
5130
5131 * sysdeps/powerpc/bp-asm.h: New file.
5132 * sysdeps/powerpc/__longjmp.S: Check bounds.
5133 Wrap extern symbols in BP_SYM ().
5134 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
5135 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
5136 * sysdeps/powerpc/setjmp.S: Likewise.
5137 * sysdeps/powerpc/add_n.S: Likewise.
5138 * sysdeps/powerpc/addmul_1.S: Likewise.
5139 * sysdeps/powerpc/lshift.S: Likewise.
5140 * sysdeps/powerpc/rshift.S: Likewise.
5141 * sysdeps/powerpc/mul_1.S: Likewise.
5142 * sysdeps/powerpc/sub_n.S: Likewise.
5143 * sysdeps/powerpc/submul_1.S: Likewise.
5144 * sysdeps/powerpc/strlen.S: Likewise.
5145 * sysdeps/powerpc/memset.S: Likewise.
5146 * sysdeps/powerpc/stpcpy.S: Likewise.
5147 * sysdeps/powerpc/strcmp.S: Likewise.
5148 * sysdeps/powerpc/strcpy.S: Likewise.
5149 * sysdeps/powerpc/elf/bzero.S: Likewise.
5150
5151 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
5152 Line up operands column with tabs.
5153
5154 2000-06-30 Ulrich Drepper <drepper@redhat.com>
5155
5156 * elf/Makefile (LDFLAGS-origtest): Actually add it.
5157
5158 * sysdeps/ia64/htonl.S: New file.
5159 * sysdeps/ia64/htons.S: New file.
5160 * sysdeps/ia64/memcpy.S: Replace with version which does not use
5161 floating point registers.
5162 Patches by Dan Pop <Dan.Pop@cern.ch>.
5163
5164 2000-06-30 Andreas Jaeger <aj@suse.de>
5165
5166 * posix/Makefile (tests): tst-exec and tst-spawn only work with
5167 shared libraries.
5168
5169 * io/Makefile (CFLAGS-test-lfs.c): New.
5170 (tests): Add test-lfs.
5171
5172 * io/test-lfs.c: New file.
5173
5174 2000-06-30 Jakub Jelinek <jakub@redhat.com>
5175
5176 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
5177 instruction.
5178
5179 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
5180
5181 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
5182
5183 2000-06-29 Jes Sorensen <jes@linuxcare.com>
5184
5185 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
5186 alias to the fstatfs call.
5187
5188 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
5189 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
5190
5191 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
5192 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
5193
5194 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
5195 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
5196 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
5197 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
5198
5199 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
5200 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
5201
5202 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
5203 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
5204
5205 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
5206 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
5207
5208 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
5209
5210 2000-06-29 Andreas Jaeger <aj@suse.de>
5211
5212 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
5213 with syslog.
5214 (print_err_message): Likewise.
5215 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
5216
5217 2000-06-29 Ulrich Drepper <drepper@redhat.com>
5218
5219 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
5220 used as words is properly aligned.
5221
5222 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
5223 data files.
5224
5225 2000-06-29 Greg McGary <greg@mcgary.org>
5226
5227 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
5228 * sysdeps/unix/make-syscalls.sh: Handle signatures of
5229 length 7..9, just in case...
5230 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
5231
5232 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
5233 (POP_ERRNO_LOCATION_RETURN): Fold insns.
5234 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
5235 (PUSH_SIGNAL_MASK): New macro.
5236 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
5237 LEAVE is unnecessary. Check bounds of jmp_buf.
5238 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
5239 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
5240 immediately before tail-call.
5241 * sysdeps/i386/setjmp.S: Likewise.
5242 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5243 * sysdeps/i386/bsd-setjmp.S: Likewise.
5244
5245 2000-06-29 Jakub Jelinek <jakub@redhat.com>
5246
5247 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
5248 versioned_symbol.
5249 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
5250 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
5251 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
5252 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5253 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
5254 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
5255 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
5256 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
5257
5258 2000-06-29 Ulrich Drepper <drepper@redhat.com>
5259
5260 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
5261 we later need to calling free().
5262 Patch by Matt Wilson <msw@redhat.com>.
5263
5264 * stdio-common/tst-printf.c: Add test for above problem.
5265
5266 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
5267
5268 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
5269 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
5270
5271 2000-06-28 Jes Sorensen <jes@linuxcare.com>
5272
5273 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
5274 prototype for abs().
5275 * sysdeps/ieee754/flt-32/s_exp2f.c: ditto.
5276
5277 2000-06-23 Andreas Jaeger <aj@suse.de>
5278
5279 * config.h.in: Don't use regparm with bounded pointers.
5280
5281 2000-06-29 Ulrich Drepper <drepper@redhat.com>
5282
5283 * stdlib/grouping.h: Correctly handle multibyte thousands
5284 separator and decimal point.
5285 * stdlib/stdtod.c: Likewise.
5286 * sysdeps/generic/strtol.c: Likewise.
5287
5288 * locale/categories.def: Add entries for wide character decimal point
5289 and thousands separator in numeric and monetary category.
5290
5291 2000-06-28 Ulrich Drepper <drepper@redhat.com>
5292
5293 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
5294 second definition and initialization of decimal.
5295
5296 2000-06-28 Greg McGary <greg@mcgary.org>
5297
5298 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
5299 out.
5300 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
5301 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
5302 in.
5303 (_IO_JUMPS): Don't cast THIS--expect arg to be a
5304 (struct _IO_FILE_plus *).
5305 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
5306 THIS, since _IO_JUMPS no longer does it implicitly.
5307 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
5308 arg type as (struct _IO_FILE_plus *).
5309 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
5310 arg as (_IO_strfile *).
5311 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
5312 Declare 1st arg as (_IO_strfile *).
5313 * libio/fileops.c (_IO_new_file_init): Declare
5314 arg type as (struct _IO_FILE_plus *).
5315 * libio/oldfileops.c (_IO_old_file_init): Likewise.
5316 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
5317 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
5318 Declare iteration pointer as (struct _IO_FILE_plus *).
5319 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
5320 (struct _IO_FILE_plus *).
5321 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
5322 * libio/oldstdfiles.c (_IO_list_all): Likewise.
5323 (_IO_check_libio): Set user-visible handles to
5324 (struct _IO_FILE_plus *).
5325 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
5326 to (struct _IO_FILE_plus *).
5327
5328 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
5329 whose high bound includes vtable to all functions that will use
5330 vtable. For streambufs, pass pointer whose bounds include struct
5331 _IO_strfile.
5332 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
5333 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5334 * libio/iofopen.c (_IO_new_fopen): Likewise.
5335 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5336 * libio/iofopen64.c (_IO_fopen64): Likewise.
5337 * libio/iopopen.c (_IO_new_popen): Likewise.
5338 * libio/oldiopopen.c (_IO_old_popen): Likewise.
5339 * libio/memstream.c (open_memstream): Likewise.
5340 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
5341 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
5342 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
5343 * libio/iofopncook.c (_IO_cookie_init): Likewise.
5344 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
5345 * libio/vasprintf.c (_IO_vasprintf): Likewise.
5346 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
5347 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
5348 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
5349 * stdlib/strfmon.c (__strfmon_l): Likewise.
5350 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
5351 (vfprintf): Qualify computed-goto targets as unbounded.
5352
5353 2000-06-28 Ulrich Drepper <drepper@redhat.com>
5354
5355 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
5356 thousands separator correctly.
5357
5358 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
5359 * stdio-common/vfwscanf.c: Likewise.
5360
5361 2000-06-27 Jes Sorensen <jes@linuxcare.com>
5362
5363 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
5364 count into signatures for most calls.
5365
5366 2000-06-28 Ulrich Drepper <drepper@redhat.com>
5367
5368 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
5369 the generic parser now.
5370
5371 2000-06-28 Jes Sorensen <jes@linuxcare.com>
5372
5373 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
5374 table entries are 32 bit on the ia64 (as specified by the ABI),
5375 not 64 bit as on the Alpha.
5376
5377 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
5378 change of objects to use 32 bit hash table indices (see above).
5379
5380 2000-06-28 Jes Sorensen <jes@linuxcare.com>
5381
5382 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
5383 prototype for abs().
5384
5385 2000-06-28 Wolfram Gloger <wg@malloc.de>
5386
5387 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
5388 fails, try mmap_chunk() as a last resort even though n_mmaps_max
5389 may have been reached.
5390
5391 2000-06-28 Ulrich Drepper <drepper@redhat.com>
5392
5393 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
5394 symbols in multi-character weights correctly.
5395
5396 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
5397 depending on whether the input string is empty or not.
5398
5399 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
5400 given state and not avoiding this by modifying a local object.
5401 * wcsmbs/wcrtomb.c: Likewise.
5402
5403 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
5404 object since some incomplete characters might be in there.
5405
5406 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
5407 sequences with first byte 0x8e correctly.
5408
5409 * iconvdata/jis0208.h: Remove redundant test.
5410
5411 2000-06-27 Ulrich Drepper <drepper@redhat.com>
5412
5413 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
5414 Add it where it is needed now.
5415
5416 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
5417 the input charset into account when generating the hash table.
5418 (allocate_arrays): Correct setting default width. Not all empty slots
5419 in the table are filled, only those not covert explicitly by the
5420 locale description and in the charset.
5421
5422 * wctype/towctrans.c (__towctrans): Be graceful and accept error
5423 return values from the wctrans function.
5424
5425 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
5426 wide character version.
5427 For %C handling, test correct pointer variable for NULL.
5428
5429 * wcsmbs/wctob.c: Handle WEOF special.
5430
5431 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
5432
5433 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
5434 always-true test to avoid warning.
5435
5436 2000-06-27 Greg McGary <greg@mcgary.org>
5437
5438 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
5439 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
5440 (symbol_version, default_symbol_version): Factor redundant
5441 definitions out of conditional.
5442
5443 2000-06-27 Jakub Jelinek <jakub@redhat.com>
5444
5445 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
5446 not obstack_blank.
5447
5448 2000-06-26 Ulrich Drepper <drepper@redhat.com>
5449
5450 * include/libc-symbols.h (symbol_version): Add extra level of
5451 macro expansion.
5452 (default_symbol_version): Likewise.
5453
5454 2000-06-26 Greg McGary <greg@mcgary.org>
5455
5456 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
5457 for BP return value & push implicit struct-return pointer to
5458 __errno_location.
5459 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5460 (SYSCALL_ERROR_HANDLER): Likewise.
5461 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
5462 (SYSCALL_ERROR_HANDLER): Likewise.
5463
5464 * Makeconfig: Add missing comment.
5465 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
5466 BP-flavored startup object.
5467 ($(objpfx)b$(start-installed-name)): New rule.
5468 * include/libc-symbols.h (symbol_set_declare): Change type
5469 of `__start_##set' and `__stop_##set' to pointer-to-function.
5470 (symbol_set_declare): Change type of `set' to array of
5471 pointer-to-function.
5472 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
5473 pointer-to-function.
5474
5475 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
5476
5477 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
5478 Remove clock_* and timer_* entries.
5479 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
5480 arg-count with signatures.
5481
5482 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
5483 Check bounds of arguments.
5484 * sysdeps/i386/addmul_1.S: Likewise.
5485 * sysdeps/i386/lshift.S: Likewise.
5486 * sysdeps/i386/mul_1.S: Likewise.
5487 * sysdeps/i386/rshift.S: Likewise.
5488 * sysdeps/i386/sub_n.S: Likewise.
5489 * sysdeps/i386/submul_1.S: Likewise.
5490 * sysdeps/i386/i586/add_n.S: Likewise.
5491 * sysdeps/i386/i586/addmul_1.S: Likewise.
5492 * sysdeps/i386/i586/lshift.S: Likewise.
5493 * sysdeps/i386/i586/rshift.S: Likewise.
5494 * sysdeps/i386/i586/sub_n.S: Likewise.
5495 * sysdeps/i386/i686/add_n.S: Likewise.
5496
5497 * sysdeps/i386/memchr.S: Likewise.
5498 * sysdeps/i386/memcmp.S: Likewise.
5499 * sysdeps/i386/rawmemchr.S: Likewise.
5500 * sysdeps/i386/i586/bzero.S: Likewise.
5501 * sysdeps/i386/i586/memcpy.S: Likewise.
5502 * sysdeps/i386/i586/mempcpy.S: Likewise.
5503 * sysdeps/i386/i586/memset.S: Likewise.
5504 * sysdeps/i386/i686/bzero.S: Likewise.
5505 * sysdeps/i386/i686/memcpy.S: Likewise.
5506 * sysdeps/i386/i686/mempcpy.S: Likewise.
5507 * sysdeps/i386/i686/memset.S: Likewise.
5508
5509 * sysdeps/i386/stpcpy.S: Likewise.
5510 * sysdeps/i386/stpncpy.S: Likewise.
5511 * sysdeps/i386/strchr.S: Likewise.
5512 * sysdeps/i386/strchrnul.S: Likewise.
5513 * sysdeps/i386/strcspn.S: Likewise.
5514 * sysdeps/i386/strpbrk.S: Likewise.
5515 * sysdeps/i386/strrchr.S: Likewise.
5516 * sysdeps/i386/strspn.S: Likewise.
5517 * sysdeps/i386/strtok.S: Likewise.
5518 * sysdeps/i386/strtok_r.S: Likewise.
5519 * sysdeps/i386/i486/strcat.S: Likewise.
5520 * sysdeps/i386/i486/strlen.S: Likewise.
5521 * sysdeps/i386/i586/strchr.S: Likewise.
5522 * sysdeps/i386/i586/strcpy.S: Likewise.
5523 * sysdeps/i386/i586/strlen.S: Likewise.
5524 * sysdeps/i386/i686/strcmp.S: Likewise.
5525 * sysdeps/i386/i686/strtok.S: Likewise.
5526 * sysdeps/i386/i686/strtok_r.S: Likewise.
5527
5528 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
5529 * sysdeps/i386/fpu/fesetenv.c: Likewise.
5530 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
5531 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
5532 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
5533
5534 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
5535 * sysdeps/i386/mul_1.S: Likewise.
5536 * sysdeps/i386/submul_1.S: Likewise.
5537 * sysdeps/i386/i586/add_n.S: Likewise.
5538 * sysdeps/i386/i586/addmul_1.S: Likewise.
5539 * sysdeps/i386/i586/lshift.S: Likewise.
5540 * sysdeps/i386/i586/mul_1.S: Likewise.
5541 * sysdeps/i386/i586/rshift.S: Likewise.
5542 * sysdeps/i386/i586/sub_n.S: Likewise.
5543 * sysdeps/i386/i586/submul_1.S: Likewise.
5544
5545 2000-06-26 Ulrich Drepper <drepper@redhat.com>
5546
5547 * rt/Makefile (librt-routines): Add clock_nanosleep.
5548 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
5549 * sysdeps/generic/clock_nanosleep.c: New file.
5550 * sysdeps/unix/clock_nanosleep.c: New file.
5551 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
5552 * time/time.h: Declare clock_nanosleep.
5553
5554 2000-06-26 Greg McGary <greg@mcgary.org>
5555
5556 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
5557 INSN1, INSN2, TEXT, GLOBL): Remove macros.
5558 (ALIGN): Cleanup surrounding conditionals.
5559
5560 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
5561 Call ENTER/LEAVE macros.
5562 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
5563 * sysdeps/i386/submul_1.S: Likewise.
5564
5565 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
5566 syntax. Define & use symbolic argument stack offsets. Call
5567 ENTER/LEAVE macros.
5568 * sysdeps/i386/i586/mul_1.S: Likewise.
5569 * sysdeps/i386/i586/submul_1.S: Likewise.
5570
5571 2000-06-25 Greg McGary <greg@mcgary.org>
5572
5573 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
5574 not as bcopy.
5575
5576 2000-06-25 Ulrich Drepper <drepper@redhat.com>
5577
5578 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
5579 * iconvdata/gen-8bit-gap.sh: Likewise.
5580 * iconvdata/gen-8bit.sh: Likewise.
5581
5582 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
5583
5584 * locale/programs/ld-collate.c (collate_read): Don't actually read
5585 the copy locale if we are ignoring the content.
5586
5587 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
5588 unknown character.
5589
5590 * locale/programs/ld-collate.c: Correct handling of different
5591 collation sections.
5592 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
5593 as extra parameter from which to copy category information.
5594 Change all callers.
5595 (load_locale): Likewise.
5596 * locale/programs/localedef.h: Update prototypes of add_to_readlist
5597 and load_locale.
5598 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
5599 * locale/programs/locfile.h: Likewise.
5600 * locale/programs/locfile-kw.gperf: Add entry for script.
5601 * locale/programs/locfile-token.h: Add tok_script.
5602
5603 * locale/programs/locale.c: Update copyright year.
5604 * locale/programs/localedef.c: Likewise.
5605
5606 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
5607
5608 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
5609 Jens Moeller <jens.moeller@waii.com>.
5610
5611 2000-06-24 Ulrich Drepper <drepper@redhat.com>
5612
5613 * locale/programs/ld-name.c (name_finish): Add missing format
5614 specifier to test for name_fmt.
5615
5616 * locale/programs/ld-address.c (iso639): Correct length of string
5617 elements.
5618 (iso3166): Likewise.
5619
5620 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
5621
5622 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
5623 Define.
5624
5625 * elf/elf.h (NT_PRFPXREG): Define.
5626
5627 2000-06-23 Ulrich Drepper <drepper@redhat.com>
5628
5629 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
5630 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
5631
5632 2000-06-23 Andreas Schwab <schwab@suse.de>
5633
5634 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
5635 with signatures.
5636
5637 2000-06-23 Andreas Jaeger <aj@suse.de>
5638
5639 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
5640
5641 * io/test-stat.c: Add copyright header, mention Maciej.
5642
5643 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
5644 SYS_mincore, SYS_madvise): Added.
5645
5646 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
5647 execve.
5648
5649 2000-06-22 Ulrich Drepper <drepper@redhat.com>
5650
5651 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
5652 (CFLAGS-tst_putwc.c): New definition.
5653 * libio/tst_getwc.c: New file.
5654 * libio/tst_getwc.input: New file.
5655 * libio/tst_putwc.c: New file.
5656
5657 * include/string.h: Add prototype for __strdup.
5658
5659 2000-06-22 Greg McGary <greg@mcgary.org>
5660
5661 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
5662 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
5663 Fix signatures.
5664
5665 2000-06-23 Jes Sorensen <jes@linuxcare.com>
5666
5667 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
5668
5669 2000-06-22 Jes Sorensen <jes@linuxcare.com>
5670
5671 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
5672
5673 2000-06-22 Jes Sorensen <jes@linuxcare.com>
5674
5675 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
5676 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
5677
5678 2000-06-22 Ulrich Drepper <drepper@redhat.com>
5679
5680 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
5681 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
5682 and __S_TYPEISSHM.
5683 * sysdeps/mach/hurd/bits/stat.h: Likewise.
5684 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5685 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
5686 * sysdeps/unix/sysv/bits/stat.h: Likewise.
5687 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
5688 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
5689 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
5690 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
5691 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
5692 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
5693 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
5694 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
5695 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
5696 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
5697 S_TYPEISSHM.
5698
5699 2000-06-22 Andreas Jaeger <aj@suse.de>
5700
5701 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
5702 with signatures.
5703
5704 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
5705
5706 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
5707
5708 2000-06-21 Ulrich Drepper <drepper@redhat.com>
5709
5710 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
5711 ahead.
5712
5713 2000-06-21 Greg McGary <greg@mcgary.org>
5714
5715 * Makerules (elide-routines.*, elide-bp-thunks):
5716 Define unconditionally.
5717
5718 2000-06-21 Jes Sorensen <jes@linuxcare.com>
5719
5720 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
5721
5722 2000-06-21 Andreas Jaeger <aj@suse.de>
5723
5724 * io/Makefile (tests): Add test-stat.
5725 (CFLAGS-test-stat.c): New.
5726
5727 * io/test-stat.c: New file from Maciej W. Rozycki
5728 <macro@ds2.pg.gda.pl>.
5729
5730 2000-06-21 Jes Sorensen <jes@linuxcare.com>
5731
5732 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
5733 in __rlimit_resource to make them match the kernel order.
5734 rlim_t is always 64 bit, use __rlim64_t to declare it
5735 unconditionally.
5736
5737 2000-05-04 Jes Sorensen <jes@linuxcare.com>
5738
5739 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
5740 RLIM_INFINITY before defining it to avoid clash with kernel header
5741
5742 2000-05-03 Jes Sorensen <jes@linuxcare.com>
5743
5744 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
5745
5746 2000-06-21 Ulrich Drepper <drepper@redhat.com>
5747
5748 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
5749
5750 2000-06-21 Andreas Jaeger <aj@suse.de>
5751
5752 * stdio-common/temptest.c: Include <stdlib.h>.
5753 * stdio-common/tst-fileno.c: Likewise.
5754 * stdio-common/scanf4.c: Likewise.
5755 * stdio-common/scanf5.c: Likewise.
5756 * time/clocktest.c: Likewise.
5757 * posix/test-vfork.c: Likewise.
5758 * posix/globtest.c: Likewise.
5759 * io/test-utime.c: Likewise.
5760 * wctype/test_wcfuncs.c: Likewise.
5761 * crypt/cert.c: Likewise.
5762
5763 * stdio-common/tst-printfsz.c: Include <string.h>.
5764 * libio/tst_swscanf.c: Likewise.
5765 * libio/tst_wscanf.c: Likewise.
5766 * posix/runtests.c: Likewise.
5767 * posix/tst-getaddrinfo.c: Likewise.
5768 * posix/wordexp-test.c: Likewise.
5769 * misc/tst-efgcvt.c: Likewise.
5770
5771 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
5772 * nss/test-netdb.c: Likewise.
5773
5774 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
5775 supported kernel for MIPS.
5776
5777 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
5778 * rt/aio_suspend.c: Likewise.
5779
5780 2000-06-20 Ulrich Drepper <drepper@redhat.com>
5781
5782 * math/libm-test.inc: Include <string.h>.
5783
5784 2000-06-20 Jes Sorensen <jes@linuxcare.com>
5785
5786 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
5787
5788 2000-06-20 Jes Sorensen <jes@linuxcare.com>
5789
5790 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
5791 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
5792
5793 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
5794
5795 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
5796
5797 2000-06-20 Jes Sorensen <jes@linuxcare.com>
5798
5799 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
5800
5801 2000-06-20 Ulrich Drepper <drepper@redhat.com>
5802
5803 * locale/programs/ld-collate.c (insert_value): Now take string and
5804 length instead of struct token* parameter. Adjust use of token.
5805 (handle_ellipsis): Likewise.
5806 (collate_read): Allow <Uxxxx> names and transform them into names
5807 to be passed to insert_value and handle_ellipsis.
5808
5809 * locale/programs/ld-ctype.c (uninames): New array with names of
5810 digits in <Uxxxxxxxx> format.
5811 (ctype_finish): Correct search for space character value. Likewise
5812 for default outdigits values.
5813
5814 2000-06-20 Greg McGary <greg@mcgary.org>
5815
5816 * Makerules (objects): Add BP thunks.
5817
5818 2000-06-20 Ulrich Drepper <drepper@redhat.com>
5819
5820 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
5821 in width definitions.
5822
5823 2000-06-20 Andreas Jaeger <aj@suse.de>
5824
5825 * sysdeps/mips/fpu/libm-test-ulps: New file.
5826
5827 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
5828 first.
5829
5830 * sysdeps/mips/fpu/feholdexcpt.c: New file.
5831
5832 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
5833
5834 2000-06-19 Ulrich Drepper <drepper@redhat.com>
5835
5836 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
5837 change in gconv_builtin.h.
5838
5839 * malloc/Makefile: Change all references to memprof into memusage.
5840 * malloc/memprof.c: Rename to...
5841 * malloc/memusage.c: ...this. New file.
5842 * malloc/memprof.sh: Rename to...
5843 * malloc/memusage.sh: ...this. New file.
5844 * malloc/memprofstat.c: Rename to...
5845 * malloc/memusagestat.c: ...this. New file.
5846 * sysdeps/alpha/memprof.h: Rename to..
5847 * sysdeps/alpha/memusage.h: ...this. New file.
5848 * sysdeps/arm/memprof.h: Rename to..
5849 * sysdeps/arm/memusage.h: ...this. New file.
5850 * sysdeps/generic/memprof.h: Rename to..
5851 * sysdeps/generic/memusage.h: ...this. New file.
5852 * sysdeps/i386/memprof.h: Rename to..
5853 * sysdeps/i386/memusage.h: ...this. New file.
5854 * sysdeps/ia64/memprof.h: Rename to..
5855 * sysdeps/ia64/memusage.h: ...this. New file.
5856 * sysdeps/m68k/memprof.h: Rename to..
5857 * sysdeps/m68k/memusage.h: ...this. New file.
5858 * sysdeps/mips/memprof.h: Rename to..
5859 * sysdeps/mips/memusage.h: ...this. New file.
5860 * sysdeps/powerpc/memprof.h: Rename to..
5861 * sysdeps/powerpc/memusage.h: ...this. New file.
5862 * sysdeps/sparc/memprof.h: Rename to..
5863 * sysdeps/sparc/memusage.h: ...this. New file.
5864 * sysdeps/sh/memprof.h: Rename to..
5865 * sysdeps/sh/memusage.h: ...this. New file.
5866
5867 * elf/sprof.c (print_version): Update year.
5868
5869 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
5870 table entry values. Use D_PTR.
5871 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
5872 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
5873
5874 2000-06-20 Jes Sorensen <jes@linuxcare.com>
5875
5876 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
5877 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
5878 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
5879 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
5880
5881 2000-05-05 Jes Sorensen <jes@linuxcare.com>
5882
5883 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
5884
5885 2000-06-16 Jes Sorensen <jes@linuxcare.com>
5886
5887 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
5888 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
5889 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
5890
5891 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
5892
5893 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
5894 kernel change.
5895
5896 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
5897 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
5898 structure.
5899 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
5900 implementation.
5901
5902 2000-06-15 Jes Sorensen <jes@linuxcare.com>
5903
5904 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
5905
5906 2000-06-08 Jes Sorensen <jes@linuxcare.com>
5907
5908 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
5909
5910 2000-06-19 Ulrich Drepper <drepper@redhat.com>
5911
5912 * iconv/gconv_int.h (strict gconv_module): Remove all members
5913 associated with regular expressions. Use a simple string as the
5914 from name.
5915 * iconv/gconv_db.c: Remove code handling regular expressions.
5916 * iconv/gconv_conf.c: Likewise.
5917 * iconv/iconv_prog.c: Likewise.
5918 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
5919
5920 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
5921 General namespace cleanup.
5922 (struct __gconv_trans_data): Add next field.
5923 (struct __gconv_step_data): Make __trans a pointer.
5924 * iconv/gconv_conf.c: Split out code to find gconv directories from
5925 __gconv_read_conf in new functions.
5926 * iconv/gconv_int.h: Define new data structure and declare new
5927 functions for handling of gconv directory list.
5928 * iconv/gconv_open.c: Allow more than one error handling step being
5929 used. Call function to load error handling module if it is none
5930 of the builtin transformations.
5931 * iconv/gconv_close.c: Add code to free transliteration data.
5932 * iconv/gconv_trans.c: Add functions to load and unload modules
5933 implementing transliteration etc.
5934 * iconv/skeleton.c: Call all context functions now that more than
5935 one module is allowed.
5936 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
5937 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
5938 where the full error handling using transliteration is needed.
5939 * iconvdata/8bit-gap.c: Likewise.
5940 * iconvdata/8bit-generic.c: Likewise.
5941 * iconvdata/ansi_x3.110.c: Likewise.
5942 * iconvdata/big5.c: Likewise.
5943 * iconvdata/big5hkscs.c: Likewise.
5944 * iconvdata/euc-cn.c: Likewise.
5945 * iconvdata/euc-jp.c: Likewise.
5946 * iconvdata/euc-kr.c: Likewise.
5947 * iconvdata/euc-tw.c: Likewise.
5948 * iconvdata/gbgbk.c: Likewise.
5949 * iconvdata/gbk.c: Likewise.
5950 * iconvdata/iso-2022-cn.c: Likewise.
5951 * iconvdata/iso-2022-jp.c: Likewise.
5952 * iconvdata/iso-2022-kr.c: Likewise.
5953 * iconvdata/iso646.c: Likewise.
5954 * iconvdata/iso8859-1.c: Likewise.
5955 * iconvdata/iso_6937-2.c: Likewise.
5956 * iconvdata/iso_6937.c: Likewise.
5957 * iconvdata/johab.c: Likewise.
5958 * iconvdata/sjis.c: Likewise.
5959 * iconvdata/t.61.c: Likewise.
5960 * iconvdata/uhc.c: Likewise.
5961 * iconvdata/unicode.c: Likewise.
5962 * iconvdata/utf-16.c: Likewise.
5963 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
5964 structure correctly after last change.
5965 * wcsmbs/btowc.c: Likewise.
5966 * wcsmbs/mbrtowc.c: Likewise.
5967 * wcsmbs/mbsnrtowcs.c: Likewise.
5968 * wcsmbs/mbsrtowcs.c: Likewise.
5969 * wcsmbs/wcrtomb.c: Likewise.
5970 * wcsmbs/wcsnrtombs.c: Likewise.
5971 * wcsmbs/wcsrtombs.c: Likewise.
5972 * wcsmbs/wctob.c: Likewise.
5973
5974 * localedata/Makefile: Set -Wno-format for some files since gcc does
5975 not know all the format specifiers.
5976
5977 2000-06-18 Ulrich Drepper <drepper@redhat.com>
5978
5979 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
5980 unneeded code.
5981 * locale/lc-time.c (_nl_init_era_entries): Likewise.
5982
5983 2000-06-18 Andreas Jaeger <aj@suse.de>
5984
5985 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
5986 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
5987
5988 2000-06-17 Ulrich Drepper <drepper@redhat.com>
5989
5990 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
5991 LINUX_LINK_MAX.
5992 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
5993
5994 * locale/programs/ld-ctype.c (ctype_output): Really write out
5995 mboutdigits information.
5996 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
5997 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
5998 * localedata/tests/trans.def: Add outdigit information.
5999
6000 * localedata/tst-mbswcs3.c: Remove comment.
6001
6002 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
6003 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
6004 * libio/tst_wprintf.c (main): Add test for I flag.
6005
6006 * iconv/gconv_trans.c: Implement handling if translit_ignore.
6007 * locale/langinfo.h: Add entries for translit_ignore information.
6008 * locale/categories.def: Add entries for new LC_CTYPE elements.
6009 * locale/C-ctype.c: Add initializers for new fields. Use NULL
6010 pointer instead of "" where possible.
6011 * locale/programs/ld-ctype.c: Write out translit_ignore information.
6012 * intl/Depend: Add localedata.
6013 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
6014 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
6015
6016 2000-06-16 Ulrich Drepper <drepper@redhat.com>
6017
6018 * locale/langinfo.h: Add entries for default_missing information.
6019 * locale/C-ctype.c: Add initializers for new fields.
6020 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
6021 information.
6022 * locale/categories.h: Add entries for all LC_CTYPE values.
6023 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
6024 information.
6025
6026 * localedata/tst-trans.c: Write out an error message if class is
6027 not found.
6028
6029 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
6030 * iconv/gconv_open.c: Remove error handling specification from `from'
6031 character set name.
6032 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
6033 new parameter to always enable transliteration.
6034 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
6035 change.
6036 (struct locale_data): Add new members use_translit and options.
6037 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
6038 character set name contained modifier TRANSLIT.
6039 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
6040 and options fields.
6041 (_nl_unload_locale): Free options string if necessary.
6042 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
6043 the locale names suggested this.
6044 * locale/C-address.c: Add two new initialilzers to adjust data
6045 structure for new format.
6046 * locale/C-collate.c: Likewise.
6047 * locale/C-ctype.c: Likewise.
6048 * locale/C-identification.c: Likewise.
6049 * locale/C-measurement.c: Likewise.
6050 * locale/C-messages.c: Likewise.
6051 * locale/C-monetary.c: Likewise.
6052 * locale/C-name.c: Likewise.
6053 * locale/C-numeric.c: Likewise.
6054 * locale/C-paper.c: Likewise.
6055 * locale/C-telephone.c: Likewise.
6056 * locale/C-time.c: Likewise.
6057
6058 * locale/setlocale.c: Add some more __builtin_expect.
6059
6060 2000-06-15 Ulrich Drepper <drepper@redhat.com>
6061
6062 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
6063 unsigned char **.
6064 (__gconv_init_fct): Remove two parameters.
6065 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
6066 gconv_transliterate. Remove two parameters.
6067 Change prototypes of builtin functions according to __gconv_fct change.
6068 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
6069 != NULL only during error handling. Stop in this case after the
6070 conversion.
6071 * iconv/gconv_trans.c: Replace with real implementation for
6072 __gconv_transliterate.
6073 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
6074 * iconv/gconv.c: Change calls to downstream functions once again.
6075 Use NULL for the fifth parameter instead of pointer to output buffer.
6076 * libio/iofwide.c: Likewise.
6077 * wcsmbs/btowc.c: Likewise.
6078 * wcsmbs/mbrtowc.c: Likewise.
6079 * wcsmbs/mbsnrtowcs.c: Likewise.
6080 * wcsmbs/mbsrtowcs.c: Likewise.
6081 * wcsmbs/wcrtomb.c: Likewise.
6082 * wcsmbs/wcsnrtombs.c: Likewise.
6083 * wcsmbs/wcsrtombs.c: Likewise.
6084 * wcsmbs/wctob.c: Likewise.
6085 * iconv/gconv_simple.c: Remove two parameters from error handling
6086 function call.
6087 * iconvdata/8bit-gap.c: Likewise.
6088 * iconvdata/8bit-generic.c: Likewise.
6089 * iconvdata/ansi_x3.110.c: Likewise.
6090 * iconvdata/big5.c: Likewise.
6091 * iconvdata/big5hkscs.c: Likewise.
6092 * iconvdata/euc-cn.c: Likewise.
6093 * iconvdata/euc-jp.c: Likewise.
6094 * iconvdata/euc-kr.c: Likewise.
6095 * iconvdata/euc-tw.c: Likewise.
6096 * iconvdata/gbgbk.c: Likewise.
6097 * iconvdata/gbk.c: Likewise.
6098 * iconvdata/iso-2022-cn.c: Likewise.
6099 * iconvdata/iso-2022-jp.c: Likewise.
6100 * iconvdata/iso-2022-kr.c: Likewise.
6101 * iconvdata/iso646.c: Likewise.
6102 * iconvdata/iso8859-1.c: Likewise.
6103 * iconvdata/iso_6937-2.c: Likewise.
6104 * iconvdata/iso_6937.c: Likewise.
6105 * iconvdata/johab.c: Likewise.
6106 * iconvdata/sjis.c: Likewise.
6107 * iconvdata/t.61.c: Likewise.
6108 * iconvdata/uhc.c: Likewise.
6109 * iconvdata/unicode.c: Likewise.
6110 * iconvdata/utf-16.c: Likewise.
6111
6112 2000-06-15 Greg McGary <greg@mcgary.org>
6113
6114 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
6115 of callnum assignment. Tolerate callnum expressions containing
6116 parens.
6117
6118 2000-06-14 Ulrich Drepper <drepper@redhat.com>
6119
6120 * login/Makefile (utmpd): Remove rule to build utmpd.
6121
6122 * csu/Versions: Move libgcc frame handling functions from here...
6123 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
6124 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
6125 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
6126 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
6127 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
6128 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
6129 New file.
6130 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
6131
6132 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
6133
6134 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
6135
6136 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
6137
6138 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
6139 compatibility.
6140 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
6141 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
6142 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
6143 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
6144
6145 2000-06-14 Jakub Jelinek <jakub@redhat.com>
6146
6147 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
6148 defined, terminate quotes and read them after the comment char.
6149 * configure.in (HAVE_SECTION_QUOTES): Test whether
6150 __attribute__((section ("x"))) puts quotes around x or not.
6151 * config.h.in (HAVE_SECTION_QUOTES): Add.
6152 * configure: Rebuilt.
6153
6154 2000-06-14 Andreas Jaeger <aj@suse.de>
6155
6156 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
6157 depending on the configure option --sysconfdir.
6158 Closes PR libc/1762.
6159 Patch by Andreas Schwab <schwab@suse.de>.
6160
6161 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
6162 entry point.
6163 Reported by Jim Pick <jim@jimpick.com>.
6164
6165 2000-06-14 Ulrich Drepper <drepper@redhat.com>
6166
6167 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
6168 crashing the application. Emit some simple error message.
6169 Reported by mju@panasas.com [PR libc/1769].
6170
6171 2000-06-13 Ulrich Drepper <drepper@redhat.com>
6172
6173 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
6174
6175 * crypt/Makefile (distribute): Add md5.h.
6176
6177 * Makefile (distribute): Add include/shlib-compat.h.
6178
6179 * Make-dist: Search for tests also in sysdeps hierachy.
6180
6181 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
6182 ufc.c, speeds.c, README.ufc-crypt, and Banner.
6183
6184 * sysdeps/sparc/Subdirs: New file.
6185
6186 * locale/Makefile (distribute): Add weightwc.h and
6187 programs/localedef.h.
6188
6189 * time/Makefile (distribute): Add datemsk.
6190
6191 * sysdeps/ia64/Dist: Add softpipe.h.
6192
6193 * sysdeps/unix/sysv/aix/Dist: New file.
6194
6195 * posix/setpgrp.c: Moved to...
6196 * sysdeps/generic/setpgrp.c: ...here. New file.
6197 * io/mknod.c: Moved to...
6198 * sysdeps/generic/mknod.c: ...here. New file.
6199
6200 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
6201
6202 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
6203
6204 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
6205
6206 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
6207 gprsave0.S, gprrest1.S, and gprrest0.S.
6208
6209 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
6210
6211 * posix/Makefile (routines): Add spawnattr_getsigmask,
6212 spawnattr_getschedpolicy, spawnattr_getschedparam,
6213 spawnattr_setsigmask, spawnattr_setschedpolicy, and
6214 spawnattr_setschedparam.
6215 * posix/Versions: Add posix_spawnattr_getschedpolicy,
6216 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
6217 posix_spawnattr_setschedparam.
6218
6219 * posix/spawnattr_setschedparam.c: Fix typo.
6220
6221 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
6222 Correct typo.
6223
6224 * login/programs/utmpd.c: Removed.
6225 * login/programs/utmpd.h: Removed.
6226 * login/programs/utmpd-private.h: Removed.
6227
6228 * Makefile (distribute): Add include/db_185.h and include/db.h.
6229
6230 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
6231 iso-ir-165.h.
6232
6233 * elf/Makefile (distribute): Add missing files.
6234
6235 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
6236 * elf/eval.c: Moved to...
6237 * dlfcn/eval.c: ...here. New file.
6238
6239 * Makefile (distribute): Also distribute ChangeLog.1?.
6240
6241 * Make-dist (+tsrcs): Remove .args handling here as well.
6242
6243 * rt/Makefile (tests): Add tst-timer.
6244 * sysdeps/generic/tst-timer.c: New file.
6245
6246 * Makerules (sources): Don't add BP sources here.
6247
6248 * login/Makefile (distribute): Remove xtmp.h.
6249
6250 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
6251 is true. Reported by Bruno Haible <haible@ilog.fr>.
6252
6253 2000-06-13 Andreas Jaeger <aj@suse.de>
6254
6255 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
6256 Patch by Ralf Baechle <ralf@gnu.org>.
6257
6258 2000-06-13 Ulrich Drepper <drepper@redhat.com>
6259
6260 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
6261 for mincore syscall.
6262
6263 * misc/sys/cdefs.h: Define __bounded and __unbounded if
6264 __BOUNDED_POINTERS__ is not defined.
6265
6266 2000-06-07 Greg McGary <greg@mcgary.org>
6267
6268 * sysdeps/generic/bp-sym.h: New file.
6269 * sysdeps/generic/bp-start.h: New file.
6270 * sysdeps/i386/elf/start.S: Designate BP symbols.
6271 * sysdeps/generic/libc-start.c: Wrap bounds around
6272 argv & envp and each of their string members.
6273
6274 2000-06-07 Greg McGary <greg@mcgary.org>
6275
6276 * sysdeps/unix/make-syscalls.sh: Add comments to
6277 output that aid debugging & comprehension.
6278 Map simple syscall signatures to number of args.
6279 Generate BP syscall thunk definitions.
6280 * sysdeps/generic/bp-thunks.h: New file.
6281 * sysdeps/unix/syscalls.list: Replace arg-count with
6282 simple return+arg signature.
6283 * sysdeps/unix/common/syscalls.list: Likewise.
6284 * sysdeps/unix/inet/syscalls.list: Likewise.
6285 * sysdeps/unix/mman/syscalls.list: Likewise.
6286 * sysdeps/unix/sysv/syscalls.list: Likewise.
6287 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6288 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
6289
6290 2000-06-07 Greg McGary <greg@mcgary.org>
6291
6292 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
6293 for all files *.[cS].
6294 (CFLAGS-.ob): Don't optimize sibling calls.
6295 (bppfx): New variable.
6296 * Makerules (elide-bp-thunks): New variable.
6297 (elide-routines.*): Elide BP-* files for all but *.ob.
6298 (sources): Include bp-thunks.
6299
6300 2000-06-12 Ulrich Drepper <drepper@redhat.com>
6301
6302 * iconv/gconv_simple.c: Remove unnecessary prototype.
6303
6304 * iconv/gconv_trans.c: Pretty print.
6305
6306 * elf/elf.h (R_SH_NUM): Got accidently dropped.
6307
6308 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
6309 minimal kernel versions. Add information about IA-64 kernel.
6310
6311 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
6312 specific minimal supported kernel versions to be specified.
6313
6314 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
6315 step data structure.
6316 * wcsmbs/btowc.c: Likewise.
6317 * wcsmbs/mbrtowc.c: Likewise.
6318 * wcsmbs/mbsnrtowcs.c: Likewise.
6319 * wcsmbs/mbsrtowcs.c: Likewise.
6320 * wcsmbs/wcrtomb.c: Likewise.
6321 * wcsmbs/wcsnrtombs.c: Likewise.
6322 * wcsmbs/wcsrtombs.c: Likewise.
6323 * wcsmbs/wctob.c: Likewise.
6324
6325 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
6326 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
6327
6328 * shlib-versions: Earliest backward compatible version for SH is 2.2.
6329
6330 * misc/sys/cdefs.h: Remove one more __P.
6331
6332 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
6333 Reported by HJ Lu.
6334
6335 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
6336 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
6337 * sysdeps/sh/bits/setjmp.h: ...here. New file.
6338
6339 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
6340 Yutaka Niibe <gniibe@chroot.org>
6341
6342 * configure.in: Add machine sh3, sh4.
6343 * elf/elf.h: Add SH specific declarations of relocations.
6344 * shlib-versions: Add sh*-*-linux* cases.
6345
6346 2000-06-12 Ulrich Drepper <drepper@redhat.com>
6347
6348 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
6349 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
6350 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
6351 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
6352 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
6353 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
6354
6355 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
6356 instead of KERNEL_MATH_EMULATION.
6357 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
6358 KERNEL_MATH_EMULATION.
6359
6360 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
6361 * sysdeps/sh/sh3/dl-machine.h: Moved to...
6362 * sysdeps/sh/dl-machine.h: ...here. New file.
6363 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
6364 and include generic SH version.
6365 * sysdeps/sh/sh3/bits/endian.h: Move to...
6366 * sysdeps/sh/bits/endian.h: ...here. New file.
6367 * sysdeps/sh/sh4/bits/endian.h: Removed.
6368 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
6369 * sysdeps/sh/bits/huge_val.h: ...here. New file.
6370 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
6371
6372 * include/libc-symbols.h (link_warning): Work around a change in
6373 GAS which warns about changing section attributes.
6374 Proposed by Nick Clifton <nickc@redhat.com>.
6375
6376 2000-06-12 H.J. Lu <hjl@gnu.org>
6377
6378 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
6379
6380 2000-06-11 H.J. Lu <hjl@gnu.org>
6381
6382 * sysdeps/i386/fpu/Versions: New file.
6383
6384 2000-06-12 Ulrich Drepper <drepper@redhat.com>
6385
6386 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
6387 parameters.
6388 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
6389 exists.
6390
6391 2000-06-12 Jes Sorensen <jes@linuxcare.com>
6392
6393 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
6394 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
6395 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
6396
6397 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
6398 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
6399 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
6400
6401 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
6402 Yutaka Niibe <gniibe@chroot.org>
6403
6404 * sysdeps/sh/Dist: New file.
6405 * sysdeps/sh/Implies: New file.
6406 * sysdeps/sh/elf/initfini.c: New file.
6407 * sysdeps/sh/gmp-mparam.h: New file.
6408 * sysdeps/sh/init-first.c: New file.
6409 * sysdeps/sh/machine-gmon.h: New file.
6410 * sysdeps/sh/memcpy.S: New file.
6411 * sysdeps/sh/memprof.h: New file.
6412 * sysdeps/sh/memset.S: New file.
6413 * sysdeps/sh/sh3/__longjmp.S: New file.
6414 * sysdeps/sh/sh3/bits/endian.h: New file.
6415 * sysdeps/sh/sh3/bits/huge_val.h: New file.
6416 * sysdeps/sh/sh3/bits/setjmp.h: New file.
6417 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
6418 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
6419 * sysdeps/sh/sh3/dl-machine.h: New file.
6420 * sysdeps/sh/sh3/setjmp.S: New file.
6421 * sysdeps/sh/sh4/__longjmp.S: New file.
6422 * sysdeps/sh/sh4/bits/endian.h: New file.
6423 * sysdeps/sh/sh4/bits/huge_val.h: New file.
6424 * sysdeps/sh/sh4/bits/setjmp.h: New file.
6425 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
6426 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
6427 * sysdeps/sh/sh4/dl-machine.h: New file.
6428 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
6429 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
6430 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
6431 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
6432 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
6433 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
6434 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
6435 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
6436 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
6437 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
6438 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
6439 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
6440 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
6441 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
6442 * sysdeps/sh/sh4/setjmp.S: New file.
6443 * sysdeps/sh/elf/start.S: New file.
6444 * sysdeps/sh/sys/ucontext.h: New file.
6445 * sysdeps/sh/strlen.S: New file.
6446 * sysdeps/sh/sysdep.h: New file.
6447 * sysdeps/unix/sh/sysdep.S: New file.
6448 * sysdeps/unix/sh/sysdep.h: New file.
6449 * sysdeps/unix/sysv/linux/sh/Dist: New file.
6450 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
6451 * sysdeps/unix/sysv/linux/sh/Versions: New file.
6452 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
6453 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
6454 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
6455 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
6456 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
6457 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
6458 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
6459 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
6460 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
6461 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
6462 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
6463 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
6464 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
6465 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
6466 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
6467 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
6468 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
6469 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
6470 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
6471 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
6472 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
6473 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
6474 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
6475 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
6476 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
6477 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
6478 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
6479 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
6480 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
6481 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
6482 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
6483 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
6484 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
6485 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
6486 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
6487 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
6488 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
6489 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
6490 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
6491 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
6492 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6493 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
6494 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
6495 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
6496 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
6497 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
6498 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
6499
6500 2000-06-12 Ulrich Drepper <drepper@redhat.com>
6501
6502 * Rules (%.out): Define GCONV_PATH in the environment.
6503 * assert/Depend: New file.
6504 * iconvdata/Depend: New file.
6505 * intl/Depend: New file.
6506 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
6507 * intl/tst-gettext.sh: Likewise.
6508 * iconv/Makefile (routines): Add gconv_trans.
6509 * iconv/gconv_trans.c: New file.
6510 * iconv/gconv.h (struct __gconv_trans_data): New type.
6511 (__gconv_fct): New parameter with starting position in output buffer.
6512 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
6513 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
6514 (struct __gconv_step): Add new member __trans.
6515 * iconv/gconv_int.h: Pretty print prototypes.
6516 (gconv_transliterate): New prototype.
6517 (__BUILTIN_TRANS): Update for new conversion function interface.
6518 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
6519 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
6520 in names, find appropriate function, and install in the conversion
6521 steps it can be used.
6522 * iconv/skeleton.c: Add additional parameter for beginning of output
6523 buffer. Change calls of downstream functions.
6524 * iconv/loop.c: Change loop function interface completely. Pass in
6525 step and step_data structure. Remove optimization for BODY with
6526 NEED_LENGTH_TEST == 0.
6527 * iconv/gconv_simple.c: Update interfaces of functions. Insert
6528 appropriate error handling code to use transliteration steps. Remove
6529 optimization for BODY with NEED_LENGTH_TEST == 0.
6530 * iconvdata/8bit-gap.c: Likewise.
6531 * iconvdata/8bit-generic.c: Likewise.
6532 * iconvdata/ansi_x3.110.c: Likewise.
6533 * iconvdata/big5.c: Likewise.
6534 * iconvdata/big5hkscs.c: Likewise.
6535 * iconvdata/euc-cn.c: Likewise.
6536 * iconvdata/euc-jp.c: Likewise.
6537 * iconvdata/euc-kr.c: Likewise.
6538 * iconvdata/euc-tw.c: Likewise.
6539 * iconvdata/gbgbk.c: Likewise.
6540 * iconvdata/gbk.c: Likewise.
6541 * iconvdata/iso-2022-cn.c: Likewise.
6542 * iconvdata/iso-2022-jp.c: Likewise.
6543 * iconvdata/iso-2022-kr.c: Likewise.
6544 * iconvdata/iso646.c: Likewise.
6545 * iconvdata/iso8859-1.c: Likewise.
6546 * iconvdata/iso_6937-2.c: Likewise.
6547 * iconvdata/iso_6937.c: Likewise.
6548 * iconvdata/johab.c: Likewise.
6549 * iconvdata/sjis.c: Likewise.
6550 * iconvdata/t.61.c: Likewise.
6551 * iconvdata/uhc.c: Likewise.
6552 * iconvdata/unicode.c: Likewise.
6553 * iconvdata/utf-16.c: Likewise.
6554 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
6555 DL_CALL_FCT.
6556 * wcsmbs/btowc.c: Likewise.
6557 * wcsmbs/mbrtowc.c: Likewise.
6558 * wcsmbs/mbsnrtowcs.c: Likewise.
6559 * wcsmbs/mbsrtowcs.c: Likewise.
6560 * wcsmbs/wcrtomb.c: Likewise.
6561 * wcsmbs/wcsnrtombs.c: Likewise.
6562 * wcsmbs/wcsrtombs.c: Likewise.
6563 * wcsmbs/wctob.c: Likewise.
6564
6565 2000-04-11 Geoff Keating <geoffk@cygnus.com>
6566
6567 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
6568 other header files. Mention about 128-byte cache line sizes.
6569 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
6570 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
6571 for current calling sequence.
6572 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
6573
6574 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
6575 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6576
6577 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
6578 and setrlimit syscalls for backwards compatibility.
6579
6580 2000-06-10 Ulrich Drepper <drepper@redhat.com>
6581
6582 * iconv/skeleton.c: Rename converted written to correcter name
6583 irreversible.
6584 * iconv/gconv.c: Rename converted variable to correcter name
6585 irreversible.
6586 * iconv/gconv_int.h: Likewise.
6587 * iconv/gconv_simple.c: Likewise.
6588 * iconv/iconv.c: Likewise.
6589 * iconv/loop.c: Likewise.
6590 * iconvdata/8bit-gap.c: Likewise.
6591 * iconvdata/8bit-generic.c: Likewise.
6592 * iconvdata/ansi_x3.110.c: Likewise.
6593 * iconvdata/big5.c: Likewise.
6594 * iconvdata/big5hkscs.c: Likewise.
6595 * iconvdata/euc-cn.c: Likewise.
6596 * iconvdata/euc-jp.c: Likewise.
6597 * iconvdata/euc-kr.c: Likewise.
6598 * iconvdata/gbgbk.c: Likewise.
6599 * iconvdata/gbk.c: Likewise.
6600 * iconvdata/iso-2022-cn.c: Likewise.
6601 * iconvdata/iso-2022-jp.c: Likewise.
6602 * iconvdata/iso-2022-kr.c: Likewise.
6603 * iconvdata/iso646.c: Likewise.
6604 * iconvdata/iso8859-1.c: Likewise.
6605 * iconvdata/iso_6937-2.c: Likewise.
6606 * iconvdata/iso_6937.c: Likewise.
6607 * iconvdata/johab.c: Likewise.
6608 * iconvdata/sjis.c: Likewise.
6609 * iconvdata/t.61.c: Likewise.
6610 * iconvdata/uhc.c: Likewise.
6611 * iconvdata/unicode.c: Likewise.
6612 * iconvdata/utf-16.c: Likewise.
6613
6614 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
6615 __cmsg_data field with __extension__.
6616
6617 2000-06-10 David Mosberger <davidm@hpl.hp.com>
6618
6619 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
6620
6621 2000-06-10 Ulrich Drepper <drepper@redhat.com>
6622
6623 * iconv/gconv_simple.c: Fix various small bugs in several
6624 functions.
6625
6626 * iconv/loop.c: Fix comment.
6627
6628 2000-06-10 Jakub Jelinek <jakub@redhat.com>
6629
6630 * elf/link.h: Remove libc internal declarations.
6631 * include/link.h: Move them here.
6632
6633 2000-06-09 Ulrich Drepper <drepper@redhat.com>
6634
6635 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
6636 Patch by Dan Pop <Dan.Pop@cern.ch>.
6637
6638 Rewrite error message handling.
6639 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
6640 _dl_catch_error.
6641 * elf/dl-error (struct catch): Add objname member.
6642 (_dl_signal_error): Take new parameter with object name. When
6643 passing message on simply store object name and duplicate error
6644 message.
6645 (_dl_catch_error): Take new parameter. Store object name in the
6646 place pointed to.
6647 * include/dlfcn.h: Adjust _dl_catch_error prototype.
6648 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
6649 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
6650 (dlerror): Add objname to asprintf() parameters.
6651 (_dl_error_run): Pass new parameter to _dl_catch_error.
6652 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
6653 * elf/dl-open.c (_dl_open): Likewise.
6654 * elf/rtld.c (dl_main): Likewise.
6655 * elf/dl-close.c: Mark error messages with N_().
6656 * elf/dl-deps.c: Likewise.
6657 * elf/dl-error.c: Likewise.
6658 * elf/dl-load.c: Likewise.
6659 * elf/dl-open.c: Likewise.
6660 * elf/dl-reloc.c: Likewise.
6661 * elf/dl-support.c: Likewise.
6662 * elf/dl-sym.c: Likewise.
6663 * elf/dl-version.c: Likewise.
6664 * elf/dl-lookup.c: Add comments about problems with error message
6665 translations.
6666 * elf/dl-reloc.c: Likewise.
6667 * elf/dl-version.c: Likewise.
6668
6669 2000-06-09 H.J. Lu <hjl@gnu.org>
6670
6671 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
6672 after freeing it.
6673
6674 * dlfcn/Makefile (distribute): Add failtestmod.c.
6675 (tests): Add failtest.
6676 Add rules to build and run failtest.
6677 * dlfcn/failtest.c: New file.
6678 * dlfcn/failtestmod.c: New file.
6679
6680 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
6681
6682 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
6683 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
6684 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
6685 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
6686 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
6687
6688 2000-06-09 Jes Sorensen <jes@linuxcare.com>
6689
6690 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
6691 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
6692
6693 2000-06-09 Jes Sorensen <jes@linuxcare.com>
6694 Ulrich Drepper <drepper@redhat.com>
6695
6696 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
6697 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
6698 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
6699 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
6700 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
6701 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
6702
6703 2000-06-09 Ulrich Drepper <drepper@redhat.com>
6704
6705 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
6706 to find correct mount point despite wrong information from the
6707 kernel.
6708
6709 2000-06-09 Jes Sorensen <jes@linuxcare.com>
6710
6711 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
6712 the address of a symbol so function pointers are handled properly.
6713
6714 2000-06-08 Ulrich Drepper <drepper@redhat.com>
6715
6716 * sysdeps/i386/Dist: Add bp-asm.h.
6717
6718 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
6719 defaultdir variable instead of "/var/shm" everywhere.
6720 (defaultdir): Change to /dev/shm/.
6721
6722 2000-06-08 Greg McGary <greg@mcgary.org>
6723
6724 * sysdeps/i386/bp-asm.h: New file.
6725 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
6726 offsets. Add ENTER/LEAVE macros for optionally maintaining
6727 frame-pointer chain when debugging.
6728 * sysdeps/i386/add_n.S: Likewise.
6729 * sysdeps/i386/addmul_1.S: Likewise.
6730 * sysdeps/i386/lshift.S: Likewise.
6731 * sysdeps/i386/memchr.S: Likewise.
6732 * sysdeps/i386/memcmp.S: Likewise.
6733 * sysdeps/i386/mul_1.S: Likewise.
6734 * sysdeps/i386/rawmemchr.S: Likewise.
6735 * sysdeps/i386/rshift.S: Likewise.
6736 * sysdeps/i386/stpcpy.S: Likewise.
6737 * sysdeps/i386/stpncpy.S: Likewise.
6738 * sysdeps/i386/strchr.S: Likewise.
6739 * sysdeps/i386/strchrnul.S: Likewise.
6740 * sysdeps/i386/strcspn.S: Likewise.
6741 * sysdeps/i386/strpbrk.S: Likewise.
6742 * sysdeps/i386/strrchr.S: Likewise.
6743 * sysdeps/i386/strspn.S: Likewise.
6744 * sysdeps/i386/strtok.S: Likewise.
6745 * sysdeps/i386/sub_n.S: Likewise.
6746 * sysdeps/i386/submul_1.S: Likewise.
6747 * sysdeps/i386/elf/setjmp.S: Likewise.
6748 * sysdeps/i386/i486/strcat.S: Likewise.
6749 * sysdeps/i386/i486/strlen.S: Likewise.
6750 * sysdeps/i386/i586/add_n.S: Likewise.
6751 * sysdeps/i386/i586/lshift.S: Likewise.
6752 * sysdeps/i386/i586/memcpy.S: Likewise.
6753 * sysdeps/i386/i586/memset.S: Likewise.
6754 * sysdeps/i386/i586/rshift.S: Likewise.
6755 * sysdeps/i386/i586/strchr.S: Likewise.
6756 * sysdeps/i386/i586/strcpy.S: Likewise.
6757 * sysdeps/i386/i586/strlen.S: Likewise.
6758 * sysdeps/i386/i586/sub_n.S: Likewise.
6759 * sysdeps/i386/i686/add_n.S: Likewise.
6760 * sysdeps/i386/i686/memcpy.S: Likewise.
6761 * sysdeps/i386/i686/mempcpy.S: Likewise.
6762 * sysdeps/i386/i686/memset.S: Likewise.
6763 * sysdeps/i386/i686/strcmp.S: Likewise.
6764
6765 2000-06-08 Ulrich Drepper <drepper@redhat.com>
6766
6767 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
6768
6769 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
6770 256 and don't use OPEN_MAX.
6771
6772 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
6773 use it instead of LINK_MAX.
6774 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
6775
6776 2000-06-08 Andreas Jaeger <aj@suse.de>
6777
6778 * libio/genops.c (_IO_list_lock): Only compile body if we're
6779 thread safe.
6780 (_IO_list_unlock): Likewise.
6781 (_IO_list_resetlock): Likewise.
6782
6783 2000-06-07 Ulrich Drepper <drepper@redhat.com>
6784
6785 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
6786 unless user defined it.
6787
6788 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
6789 if not defined by the user.
6790
6791 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
6792 * libio/iofwrite.c (_IO_fwrite): Likewise.
6793
6794 * time/time.h: Add missing __THROW for clock_getcpuclockid
6795 prototype.
6796
6797 * elf/Makefile (distribute): Add dl-dtprocnum.h.
6798 * include/elf.h: Include also <dl-dtprocnum.h>.
6799 * elf/dl-deps.c: Likewise.
6800 * elf/dl-lookup.c: Likewise.
6801 * elf/dl-runtime.c: Likewise.
6802 * elf/dl-version.c: Likewise.
6803 * elf/do-rel.h: Likewise.
6804 * elf/dynamic-link.h: Likewise.
6805 * elf/link.h: Likewise.
6806 * elf/rtld.c: Likewise.
6807 * sysdeps/generic/dl-dtprocnum.h: New file.
6808 * sysdeps/ia64/dl-dtprocnum.h: New file.
6809 * sysdeps/mips/dl-dtprocnum.h: New file.
6810 * sysdeps/sparc/dl-dtprocnum.h: New file.
6811
6812 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
6813
6814 * elf/do-lookup.h: Add some __builtin_expect.
6815
6816 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
6817
6818 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
6819 (_dl_dynamic_weak): New variable.
6820 * elf/dl-support.c: Likewise.
6821 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
6822 * elf/do-lookup.h: If we find a weak definition treat it like a
6823 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
6824 case treat it like before.
6825
6826 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
6827 is in main program.
6828 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
6829
6830 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
6831 using l_map_start and l_map_end.
6832
6833 * elf/dl-version.c: Add __builtin_expect in many places.
6834
6835 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
6836 Update.
6837
6838 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
6839
6840 Lock for stdio stream list becomes global, for use in LinuxThreads.
6841
6842 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
6843 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
6844 _IO_list_resetlock): New interface for iterating global list of
6845 streams without accessing the _IO_list_all global variable,
6846 and for manipulating the lock which protects this list.
6847 * libio/libioP.h: Likewise.
6848 * libio/Version: Add entries for the new functions.
6849
6850 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
6851 pointer to _IO_FILE.
6852
6853 2000-06-07 Ulrich Drepper <drepper@redhat.com>
6854
6855 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
6856 BIT() must actually be BITw().
6857
6858 * locale/programs/ld-ctype.c: Handle SP and space consistently.
6859
6860 * locale/programs/charmap.c: Allow string arguments for
6861 code_set_name and repertoiremap.
6862
6863 2000-06-07 Andreas Jaeger <aj@suse.de>
6864
6865 * elf/Makefile: Build ldconfig only when building shared libraries.
6866
6867 2000-06-07 Jakub Jelinek <jakub@redhat.com>
6868
6869 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
6870 __USE_ISOC99.
6871 (fdimf, __fdim, fdim): Likewise.
6872
6873 2000-06-07 Ulrich Drepper <drepper@redhat.com>
6874
6875 * locale/findlocale.c: Add __builtin_expect in many places.
6876 * locale/loadlocale.c: Likewise.
6877
6878 2000-06-06 Greg McGary <greg@mcgary.org>
6879
6880 * sysdeps/mips/elf/start.S: Trim redundant code.
6881
6882 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
6883 Use C comments throughout. Line up operands column with tabs.
6884 * sysdeps/powerpc/strchr.S: Likewise.
6885 * sysdeps/powerpc/strcmp.S: Likewise.
6886 * sysdeps/powerpc/strcpy.S: Likewise.
6887 * sysdeps/powerpc/strlen.S: Likewise.
6888
6889 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
6890 Get low part of &__curbrk with @l.
6891
6892 2000-06-06 Ulrich Drepper <drepper@redhat.com>
6893
6894 * iconvdata/utf-16.c: Add __builtin_expect in many places.
6895 * iconvdata/unicode.c: Likewise.
6896 * iconvdata/uhc.c: Likewise.
6897 * iconvdata/t.61.c: Likewise.
6898 * iconvdata/sjis.c: Likewise.
6899 * iconvdata/johab.c: Likewise.
6900 * iconvdata/iso_6937.c: Likewise.
6901 * iconvdata/iso_6937-2.c: Likewise.
6902 * iconvdata/iso8859-1.c: Likewise.
6903 * iconvdata/iso646.c: Likewise.
6904 * iconvdata/iso-2022-kr.c: Likewise.
6905 * iconvdata/iso-2022-jp.c: Likewise.
6906 * iconvdata/iso-2022-cn.c: Likewise.
6907 * iconvdata/gbgbk.c: Likewise.
6908 * iconvdata/gbk.c: Likewise.
6909 * iconvdata/euc-kr.c: Likewise.
6910 * iconvdata/euc-jp.c: Likewise.
6911 * iconvdata/euc-cn.c: Likewise.
6912
6913 2000-06-05 Ulrich Drepper <drepper@redhat.com>
6914
6915 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
6916 * iconvdata/big5.c: Likewise.
6917 * iconvdata/ansi_x3.110.c: Likewise.
6918 * iconvdata/8bit-generic.c: Likewise.
6919 * iconvdata/8bit-gap.c: Likewise.
6920 * iconv/loop.c: Likewise.
6921 * iconv/gconv_db.c: Likewise.
6922 * iconv/gconv_dl.c: Likewise.
6923 * iconv/gconv_simple.c: Likewise.
6924 * iconv/skeleton.c: Likewise.
6925
6926 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
6927 (struct __gconv_step_data): Rename __is_last to __flags.
6928 * iconv/gconv_close.c: Change all uses of __is_last.
6929 * iconv/skeleton.c: Likewise.
6930 * iconvdata/iso-2022-cn.c: Likewise.
6931 * iconvdata/iso-2022-jp.c: Likewise.
6932 * iconvdata/iso-2022-kr.c: Likewise.
6933 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
6934 Recognize IGNORE error handling, set flag, and remove from name.
6935 * iconv/loop.c (ignore_errors_p): Define.
6936 Add flags parameter to both functions.
6937 * iconv/skeleton.c: Pass flags to all conversion functions.
6938 * iconv/gconv_simple.c: Add flags parameter to all functions.
6939 Don't return error for invald error if ignore flag is set.
6940 (ucs4_internal_loop_single): Add missing pointer increment.
6941 (internal_ucs4le_loop_single): Likewise.
6942 * iconv/iconv_prog.c: Implement handling of -c parameter.
6943 * iconvdata/8bit-gap.c: Don't return error for invald error if
6944 ignore flag is set.
6945 * iconvdata/8bit-generic.c: Likewise.
6946 * iconvdata/ansi_x3.110.c: Likewise.
6947 * iconvdata/big5.c: Likewise.
6948 * iconvdata/big5hkscs.c: Likewise.
6949 * iconvdata/euc-cn.c: Likewise.
6950 * iconvdata/euc-jp.c: Likewise.
6951 * iconvdata/euc-kr.c: Likewise.
6952 * iconvdata/gbgbk.c: Likewise.
6953 * iconvdata/gbk.c: Likewise.
6954 * iconvdata/iso-2022-cn.c: Likewise.
6955 * iconvdata/iso-2022-jp.c: Likewise.
6956 * iconvdata/iso-2022-kr.c: Likewise.
6957 * iconvdata/iso646.c: Likewise.
6958 * iconvdata/iso8859-1.c: Likewise.
6959 * iconvdata/iso_6937-2.c: Likewise.
6960 * iconvdata/iso_6937.c: Likewise.
6961 * iconvdata/johab.c: Likewise.
6962 * iconvdata/sjis.c: Likewise.
6963 * iconvdata/t.61.c: Likewise.
6964 * iconvdata/uhc.c: Likewise.
6965 * iconvdata/unicode.c: Likewise.
6966 * iconvdata/utf-16.c: Likewise.
6967 * libio/fileops.c: Likewise.
6968 * libio/iofwide.c: Likewise.
6969 * wcsmbs/btowc.c: Likewise.
6970 * wcsmbs/mbrtowc.c: Likewise.
6971 * wcsmbs/mbsnrtowcs.c: Likewise.
6972 * wcsmbs/mbsrtowcs.c: Likewise.
6973 * wcsmbs/wcrtomb.c: Likewise.
6974 * wcsmbs/wcsnrtombs.c: Likewise.
6975 * wcsmbs/wcsrtombs.c: Likewise.
6976 * wcsmbs/wctob.c: Likewise.
6977
6978 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
6979 an error.
6980
6981 2000-06-04 Ulrich Drepper <drepper@redhat.com>
6982
6983 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
6984 counter for the object we are releasing, just decrement it.
6985 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
6986
6987 2000-06-04 Jakub Jelinek <jakub@redhat.com>
6988
6989 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
6990 if -ffast-math.
6991
6992 2000-06-04 Ulrich Drepper <drepper@redhat.com>
6993
6994 * iconvdata/big5hkscs.c: New file.
6995 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
6996
6997 * iconvdata/gconv-modules: Add entry for new module.
6998 * iconvdata/Makefile (modules): Add BIG5HKSCS.
6999 (distribute): Add big5hkscs.c.
7000
7001 2000-06-01 Jakub Jelinek <jakub@redhat.com>
7002
7003 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
7004 inlines to match prototypes in mathcalls.h.
7005 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
7006 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
7007 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
7008 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7009
7010 2000-06-03 Ulrich Drepper <drepper@redhat.com>
7011
7012 * elf/elf.h (SHT_SUNW_move): Define.
7013
7014 * elf/elf.h: Add more Solaris compatiblity definitions.
7015
7016 2000-06-03 Andreas Jaeger <aj@suse.de>
7017
7018 * sysdeps/powerpc/dl-start.S: Close open comment.
7019
7020 2000-06-03 Jakub Jelinek <jakub@redhat.com>
7021
7022 * inet/Versions: Fix typo in rresvport_af export.
7023
7024 2000-06-02 Ulrich Drepper <drepper@redhat.com>
7025
7026 * math/tgmath.h: Pretty print.
7027
7028 2000-06-02 Andreas Jaeger <aj@suse.de>
7029
7030 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
7031 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7032
7033 2000-06-02 Ulrich Drepper <drepper@redhat.com>
7034
7035 * elf/rtld.c (process_envvars): Test for = after variable name.
7036
7037 2000-06-01 Ulrich Drepper <drepper@redhat.com>
7038
7039 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
7040 have extra call to __gmon_start__, use the pointer we already have.
7041
7042 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
7043 shifting.
7044
7045 * sysdeps/i386/elf/setjmp.S: Work around change is recent
7046 binutils. gas now emits a jump through the PLT instead of a
7047 relative jump if the jump target is an exported symbol.
7048
7049 2000-05-31 Ulrich Drepper <drepper@redhat.com>
7050
7051 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
7052
7053 2000-05-31 Andreas Jaeger <aj@suse.de>
7054
7055 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
7056 gregset_t.
7057
7058 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
7059 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7060
7061 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
7062 syscall.
7063 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
7064
7065 2000-05-30 Ulrich Drepper <drepper@redhat.com>
7066
7067 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
7068
7069 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
7070 * locale/localeconv.c: Make function versioned (with same definition).
7071
7072 * elf/Makefile (modules-names): Strip before using it.
7073
7074 2000-05-30 Andreas Jaeger <aj@suse.de>
7075
7076 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
7077 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
7078 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
7079 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
7080 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
7081 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
7082
7083 2000-05-29 Ulrich Drepper <drepper@redhat.com>
7084
7085 * Makefile: Add GNU make magic.
7086
7087 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
7088 Removed.
7089 * inet/rcmd.c: Remove __P. Remove unused variables.
7090 (iruserfopen): Make first parameter const.
7091 (ruserok_sa): Return result of ruserok2_sa.
7092 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
7093 * inet/rexec.c: Remove unused variables. Other small cleanups.
7094 * inet/ruserpass.c: Remove __P. Remove unused variables.
7095 (ruserpass): Check results of memory allocation.
7096 * include/netdb.h: Add prototype for ruserpass.
7097
7098 2000-05-29 Andreas Jaeger <aj@suse.de>
7099
7100 * elf/readlib.c (interpreters): Use LD_SO since this is supported
7101 for all platforms.
7102
7103 2000-05-29 Jakub Jelinek <jakub@redhat.com>
7104
7105 * inet/rcmd.c (rresvport_af): Use correct port number.
7106
7107 2000-05-26 Andreas Schwab <schwab@suse.de>
7108
7109 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
7110 entries in all-sonames.
7111 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
7112 preserving the old name if different for compatibility.
7113
7114 2000-05-29 Ulrich Drepper <drepper@redhat.com>
7115
7116 * posix/Makefile (tests): Add tst-spawn.
7117 (tst-spawn-ARGS): New variable.
7118 * posix/tst-spawn.c: New file.
7119
7120 * posix/spawn_faction_addclose.c: Correctly account for new entry.
7121 * posix/spawn_faction_adddup2.c: Likewise.
7122 * posix/spawn_faction_addopen.c: Likewise.
7123 * posix/spawni.c: Correctly test for success of dup2 calls.
7124
7125 * posix/tst-preadwrite.c: Check success of malloc call.
7126
7127 2000-05-28 Ulrich Drepper <drepper@redhat.com>
7128
7129 * posix/Makefile (tests): Add tst-exec.
7130 (tst-exec-ARGS): New variable.
7131 * posix/tst-exec.c: New file.
7132
7133 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
7134
7135 2000-05-04 Andreas Jaeger <aj@suse.de>
7136
7137 * string/string.h: Remove __strdup prototype, it's not needed in
7138 this file anymore.
7139
7140 2000-05-28 Ulrich Drepper <drepper@redhat.com>
7141
7142 * posix/Makefile (tests): Add tst-fork.
7143 * posix/tst-fork.c: New file.
7144
7145 * resolv/inet_pton.c: Loose __P.
7146
7147 2000-05-21 Jakub Jelinek <jakub@redhat.com>
7148
7149 * libio/libioP.h (_IO_CHECK_WIDE): Define.
7150 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
7151 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
7152 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
7153 _IO_CHECK_WIDE fails.
7154
7155 2000-05-28 Ulrich Drepper <drepper@redhat.com>
7156
7157 * po/da.po: New file.
7158
7159 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
7160 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
7161
7162 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
7163 (Other iconv Implementations): Fix typo.
7164 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
7165
7166 2000-05-27 Andreas Jaeger <aj@suse.de>
7167
7168 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
7169 normal version now.
7170 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
7171 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
7172 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7173 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7174 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
7175 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
7176
7177 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
7178 endianness to decide how to pass arguments.
7179 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7180
7181 * elf/vismain.c: Use test-skeleton interface.
7182 (TEST_FUNCTION): New macro.
7183 (do_test): Renamed from main.
7184
7185 2000-05-27 Ulrich Drepper <drepper@redhat.com>
7186
7187 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
7188 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
7189
7190 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
7191 handling of AI_V4MAPPED flag.
7192
7193 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
7194 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
7195 perform lookup for T_A type and tell getanswer_r to convert the
7196 result with new argument.
7197 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
7198 Don't convert addresses from IPv4 to IPv6 here.
7199 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
7200 IPv6 is wanted. Allow qtype and type from reply to disagree if
7201 IPv4 mapping has to be done. Perform mappings if required by the
7202 caller and not if RES_USE_INET6 bit in _res.options is set.
7203 Add several __builtin_expect.
7204
7205 2000-05-26 Ulrich Drepper <drepper@redhat.com>
7206
7207 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
7208
7209 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
7210 NULL.
7211
7212 * posix/tst-preadwrite.c: Allow parallel execution of
7213 tst-preadwrite and tst-preadwrite64.
7214
7215 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
7216 * posix/tst-truncate.c: New file.
7217 * posix/tst-truncate64.c: New file.
7218
7219 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
7220 was switched.
7221
7222 * posix/Makefile (tests): Add tst-preadwrite64.
7223 * posix/tst-preadwrite.c: Alloc file being used also for testing
7224 pread64 and pwrite64.
7225 * posix/tst-preadwrite64.c: New file.
7226
7227 2000-05-26 Andreas Jaeger <aj@suse.de>
7228
7229 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
7230 of arguments dependend on endianness.
7231 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
7232
7233 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
7234 normal version now.
7235 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
7236 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
7237 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7238 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7239
7240 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
7241 endianness to check how to pass argument.
7242 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
7243
7244 * elf/ldconfig.h: Update parameter list for process_elf_file.
7245
7246 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
7247 Add parameter file_length and pass it ot process_elf*file.
7248
7249 * sysdeps/generic/readelflib.c (check_ptr): New.
7250 (process_elf_file): Use check_ptr to check all accesses to the
7251 mmapped file. Add parameter file_length.
7252
7253 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
7254 library names.
7255
7256 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
7257 Closes PR libc/1573, reported by Bradley White
7258 <bww@laurelnetworks.com>.
7259
7260 2000-05-25 Ulrich Drepper <drepper@redhat.com>
7261
7262 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
7263 __FAST_MATH__ is defined.
7264
7265 2000-05-22 Andreas Jaeger <aj@suse.de>
7266
7267 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
7268 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
7269
7270 * manual/math.texi (FP Function Optimizations): Document gcc
7271 -ffast-math behaviour with mathinlines.
7272
7273 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
7274 functions unless -ffast-math is given to gcc.
7275
7276 2000-05-23 Jakub Jelinek <jakub@redhat.com>
7277
7278 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
7279 __sincosl): Guard with __USE_GNU.
7280
7281 2000-05-24 Ulrich Drepper <drepper@redhat.com>
7282
7283 * csu/Makefile (routines): Add check_fds.
7284 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
7285 binaries. Add various __builtin_expect.
7286 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
7287 * sysdeps/generic/check_fds.c: ...here. New file.
7288
7289 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
7290 binaries if file /etc/suid-debug is available.
7291
7292 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
7293 and wcseqorder members.
7294 (struct locale_collate_t): Likewise.
7295 (collate_finish): Assign collation sequence value to each character.
7296 Create tables for output.
7297 (collate_output): Write out tables with collation sequence information.
7298 * locale/C-collate.c: Provide C locale data for collation sequence
7299 table.
7300 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
7301 _NL_COLLATE_COLLSEQWC.
7302 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
7303 _NL_COLLATE_COLLSEQWC.
7304 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
7305 include fnmatch_loop.c.
7306 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
7307 character is matched by range expression. Use collation sequence
7308 table. Outside glibc fall back on simple character value comparison.
7309
7310 2000-05-24 Andreas Jaeger <aj@suse.de>
7311
7312 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
7313 words.
7314
7315 * intl/Makefile: Run gettext-test only if msgfmt is available.
7316
7317 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
7318 Define it for newer kernels.
7319
7320 2000-05-23 Ulrich Drepper <drepper@redhat.com>
7321
7322 * elf/dl-sym.c: Minor cleanups.
7323
7324 * configure.in: Add test for .protected.
7325 * config.make.in: Add have-protected variable.
7326 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
7327 (tests-vis-yes): Add vismain.
7328 (modules-names): Add $(modules-vis-$(have-protected)).
7329 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
7330 Add rules to generate and run vismain.
7331 * elf/vismain.c: New file.
7332 * elf/vismod1.c: New file.
7333 * elf/vismod2.c: New file.
7334 * elf/vismod3.c: New file.
7335
7336 2000-05-23 Andreas Jaeger <aj@suse.de>
7337
7338 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
7339
7340 * manual/search.texi (Array Sort Function): Document that qsort is
7341 not necessarily in-place.
7342
7343 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
7344 Closes PR libc/1731.
7345
7346 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
7347 * dirent/scandir64.c: Likewise.
7348 * pwd/getpw.c: Likewise.
7349 * stdlib/bsearch.c (bsearch): Likewise.
7350 * stdlib/tst-strtoll.c: Likewise.
7351 * localedata/collate-test.c: Likewise.
7352 * localedata/xfrm-test.c: Likewise.
7353 * posix/bsd-getpgrp.c: Likewise.
7354 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
7355 * sysdeps/generic/bits/siginfo.h: Likewise.
7356 * sysdeps/generic/bits/sockaddr.h: Likewise.
7357 * sysdeps/generic/sys/swap.h: Likewise.
7358 * sysdeps/generic/sys/sysinfo.h: Likewise.
7359 * sysdeps/generic/vfork.c: Likewise.
7360 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
7361 * sysdeps/mach/hurd/fdopen.c: Likewise.
7362 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
7363 * sysdeps/unix/sysv/linux/poll.c: Likewise.
7364 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7365 * sysdeps/unix/sysv/linux/writev.c: Likewise.
7366 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7367 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7368 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
7369
7370 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
7371 * shadow/lckpwdf.c: Likewise.
7372 * stdlib/tst-strtol.c: Likewise.
7373 * sysdeps/generic/tcsetattr.c: Likewise.
7374 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7375 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7376
7377 2000-05-22 Jakub Jelinek <jakub@redhat.com>
7378
7379 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
7380 free it and set to (void *) -1.
7381
7382 2000-05-22 Jakub Jelinek <jakub@redhat.com>
7383
7384 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
7385 not the second character in the range.
7386 * stdio-common/tstscanf.c (main): Add testcase for the above.
7387 Reported by jik@kamens.brookline.ma.us.
7388
7389 2000-05-21 H.J. Lu <hjl@gnu.org>
7390
7391 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
7392 with noexec and noplt parameter.
7393 (do_lookup): Likewise.
7394
7395 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
7396 do_lookup. Support STV_PROTECTED.
7397 (_dl_lookup_symbol_skip): Likewise.
7398 (_dl_lookup_versioned_symbol): Likewise.
7399 (_dl_lookup_versioned_symbol_skip): Likewise.
7400
7401 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
7402
7403 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
7404
7405 2000-05-21 Jakub Jelinek <jakub@redhat.com>
7406
7407 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
7408 * sysdeps/i386/bits/huge_val.h: Likewise.
7409 * sysdeps/ieee754/bits/huge_val.h: Likewise.
7410 * sysdeps/m68k/bits/huge_val.h: Likewise.
7411 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
7412 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
7413
7414 2000-05-22 Andreas Jaeger <aj@suse.de>
7415
7416 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
7417 change in iconv.h.
7418
7419 2000-05-19 Andreas Jaeger <aj@suse.de>
7420
7421 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
7422 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
7423 breaks compilation without linuxthreads.
7424
7425 2000-05-21 Ulrich Drepper <drepper@redhat.com>
7426
7427 * sysdeps/ia64/memccpy.S: New file.
7428 * sysdeps/ia64/memchr.S: New file.
7429 * sysdeps/ia64/memcmp.S: New file.
7430 * sysdeps/ia64/memcpy.S: New file.
7431 * sysdeps/ia64/memmove.S: New file.
7432 * sysdeps/ia64/memset.S: New file.
7433 * sysdeps/ia64/strcat.S: New file.
7434 * sysdeps/ia64/strchr.S: New file.
7435 * sysdeps/ia64/strcmp.S: New file.
7436 * sysdeps/ia64/strcpy.S: New file.
7437 * sysdeps/ia64/strlen.S: New file.
7438 * sysdeps/ia64/strncmp.S: New file.
7439 * sysdeps/ia64/strncpy.S: New file.
7440 * sysdeps/ia64/softpipe.h: New file.
7441 Patches by Dan Pop <Dan.Pop@cern.ch>.
7442
7443 * manual/memory.texi: Document memory handling functions (mlock,
7444 munlock, mlockall, munlockall, brk, and sbrk)
7445 * manual/time.texi: Document timespec and friends.
7446 * manual/conf.texi: Fix references.
7447 * manual/ctype.texi: Likewise.
7448 * manual/errno.texi: Likewise.
7449 * manual/intro.texi: Likewise.
7450 * manual/locale.texi: Likewise.
7451 * manual/sysinfo.texi: Likewise.
7452 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
7453
7454 2000-05-09 Jes Sorensen <jes@linuxcare.com>
7455
7456 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
7457 * sysdeps/ia64/dl-lookupcfg.h: ...here.
7458
7459 2000-05-21 Jakub Jelinek <jakub@redhat.com>
7460
7461 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
7462 dxfer_direction.
7463
7464 2000-05-21 Ulrich Drepper <drepper@redhat.com>
7465
7466 * locale/locale.h (struct lconv): Add new elements from ISO C99.
7467 * locale/localeconv.c: Initialize new elements from ISO C99.
7468 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
7469 new standard elements.
7470 * locale/categories.def: Adjust accordingly.
7471
7472 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
7473 * iconv/iconv.c: Likewise.
7474 * conform/data/iconv.h-data: Likewise.
7475 * iconv/iconv_prog.c (process_block): Remove const from second
7476 parameter.
7477 (main): Remove const from addr definition.
7478 * manual/charset.texi (Generic Conversion Interface): Remove from
7479 inbuf parameter of iconv.
7480
7481 * intl/dcigettext.c: Fix typo in comment.
7482
7483 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
7484
7485 * resolv/res_libc.c (_res): Initialize _sock to -1.
7486
7487 2000-05-18 Jakub Jelinek <jakub@redhat.com>
7488
7489 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
7490 (fopencookie@@GLIBC_2.2): New.
7491 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
7492 (fopencookie@GLIBC_2.0): New.
7493 * libio/Versions: Add fopencookie to GLIBC_2.2.
7494
7495 2000-05-18 Andreas Jaeger <aj@suse.de>
7496
7497 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
7498 Closes PR libc/1731.
7499
7500 * manual/arith.texi (Parsing of Integers): Fix typo.
7501 Closes PR libc/1744, reported by blp@gnu.org.
7502
7503 2000-05-17 Jakub Jelinek <jakub@redhat.com>
7504
7505 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
7506 __extension__ to hexadecimal floating constant notation.
7507 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
7508 Likewise.
7509 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
7510 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
7511 Likewise.
7512 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
7513 HUGE_VALL): Likewise.
7514 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
7515 HUGE_VALL): Likewise.
7516 (HUGE_VALL): Set to HUGE_VAL on sparc32.
7517
7518 2000-05-17 Andreas Jaeger <aj@suse.de>
7519
7520 * string/envz.h: Add pure attributes if possible.
7521
7522 * string/argz.h: argz_count is a pure function.
7523
7524 * string/strings.h: Add pure and const attributes if possible.
7525
7526 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
7527 possibly searching through the whole memory.
7528 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
7529
7530 2000-05-17 Jakub Jelinek <jakub@redhat.com>
7531
7532 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
7533 not yet defined.
7534 (_dl_cache_check_flags): Likewise.
7535 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
7536 dl-cache.h.
7537
7538 2000-05-17 Andreas Jaeger <aj@suse.de>
7539
7540 * manual/creature.texi (Feature Test Macros): Remove paragraph
7541 since the description is wrong.
7542 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
7543
7544 * scripts/config.sub: New version.
7545 * scripts/config.guess: Likewise.
7546 * manual/texinfo.tex: Likewise.
7547
7548 * time/test_time.args: Removed.
7549 * time/Makefile (test_time-ARGS): Added contents here instead.
7550
7551 * posix/tstgetopt.args: Removed.
7552 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
7553
7554 * Rules: Allow arguments for test files to be specified in
7555 Makefile with testname-ARGS; remove rules with .args in it.
7556
7557 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
7558 remove old bogus rule for opendir-tst1.args.
7559
7560 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
7561
7562 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
7563 into objdir. This allows a readonly sourcetree.
7564 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
7565
7566 2000-05-16 Andreas Jaeger <aj@suse.de>,
7567 David Huggins-Daines <dhd@linuxcare.com>
7568
7569 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
7570 cache_data in case of only new cache format correctly.
7571
7572 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
7573 cache_file_new.
7574
7575 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
7576 struct cache_file_new.
7577
7578 * elf/cache.c (save_cache): Fix str_offset if only new cache is
7579 present.
7580
7581 * elf/cache.c (save_cache): Align struct new_file_cache.
7582 (print_cache): Likewise.
7583
7584 2000-05-13 Jakub Jelinek <jakub@redhat.com>
7585
7586 * elf/soinit.c (__libc_global_ctors): Move
7587 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
7588 * resolv/resolv.h (__res_state): Added __attribute__((const)).
7589 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
7590 variable, don't define it to __res_state call.
7591
7592 2000-05-13 Andreas Jaeger <aj@suse.de>
7593
7594 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
7595 Linux 2.3.99pre7.
7596 (AF_PPPOX): Likewise.
7597 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
7598 (AF_PPPOX): Likewise.
7599
7600 2000-05-12 Andreas Jaeger <aj@suse.de>
7601
7602 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
7603 Reported by tmoestl@gmx.net, closes PR libc/1732.
7604
7605 2000-05-11 Jan Hubicka <jh@suse.cz>
7606
7607 * misc/sys/cdefs.h: Add support for pure attribute.
7608
7609 * include/string.h: Add __attribute_pure__ to various functions.
7610 * string/string.h: Likewise.
7611
7612 2000-05-10 Jakub Jelinek <jakub@redhat.com>
7613
7614 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
7615 argument.
7616 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7617 R_SPARC_UA64.
7618 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
7619
7620 2000-05-10 Jakub Jelinek <jakub@redhat.com>
7621
7622 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
7623 at proper place. Compute the high nibble correctly.
7624
7625 2000-05-09 Jakub Jelinek <jakub@redhat.com>
7626
7627 * elf/ldconfig.c: Include elf.h.
7628
7629 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
7630 (_dl_vsym): Likewise.
7631 Reported by Owen Taylor <otaylor@redhat.com>.
7632
7633 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
7634 always.
7635
7636 2000-05-08 Andreas Jaeger <aj@suse.de>
7637
7638 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
7639
7640 * intl/bindtextdom.c (set_binding_values): Add prototype.
7641
7642 2000-05-08 Jakub Jelinek <jakub@redhat.com>
7643
7644 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
7645 call to elf_machine_fixup_plt.
7646 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7647 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7648
7649 2000-05-08 Jakub Jelinek <jakub@redhat.com>
7650
7651 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
7652 they are not dlclose'd from underneath us.
7653
7654 2000-05-08 Andreas Schwab <schwab@suse.de>
7655
7656 * posix/execle.c: Fix size parameter of memcpy.
7657
7658 2000-05-08 Andreas Schwab <schwab@suse.de>
7659
7660 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
7661 getpagesize syscall if available.
7662
7663 2000-05-08 Andreas Jaeger <aj@suse.de>
7664
7665 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
7666 set errno.
7667
7668 2000-05-08 Jakub Jelinek <jakub@redhat.com>
7669
7670 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
7671 sizeof(struct link_map *) chunks, not in bytes.
7672
7673 2000-05-07 Ulrich Drepper <drepper@redhat.com>
7674
7675 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
7676 only needed for locale.
7677 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
7678 It's only needed for catgets.
7679 Patches by Greg McGary <gkm@eng.ascend.com>.
7680
7681 2000-05-07 Mark Kettenis <kettenis@gnu.org>
7682
7683 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
7684 Remove duplicate <errno.h> include. Remove inclusion of
7685 <libintl.h> and "nsswitch.h".
7686 (set_cloexec_flag): New function, broken out of dbopen.
7687 (dbopen): Changed return type to `enum
7688 nss_status'. Mostly rewritten to make sure that we do not report
7689 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
7690 (internal_setent): Change return type to nss_status.
7691 Document, and make sure that the function
7692 behaves accordingly. Make dynamically loading the database
7693 library really thread-safe and return NSS_STATUS_UNAVAIL if it
7694 failed.
7695 (db_cursor): Return ENOMEM is memory allocation failed. Remove
7696 unecessary casts.
7697 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
7698 documentation.
7699 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
7700 c_get function member.
7701 * nss/nss_db/nss_db.h: Add and tweak some comments.
7702 (DBT): Move typedef before NSS_DBC typedef.
7703 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
7704
7705 2000-05-07 H.J. Lu <hjl@gnu.org>
7706
7707 * csu/initfini.c: Moved to ....
7708 * sysdeps/generic/initfini.c: ...here.
7709
7710 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
7711
7712 2000-05-07 Ulrich Drepper <drepper@redhat.com>
7713
7714 * manual/resource.texi: Document POSIX scheduling functions.
7715 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7716
7717 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
7718 reading anything. Reported by Andries.Brouwer@cwi.nl.
7719
7720 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
7721 for x since promotion in comparison might leads to unexpected
7722 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
7723
7724 * iconv/Makefile (tests): Add tst-iconv1.
7725 * iconv/tst-iconv1.c: New file.
7726 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
7727 empty input buffer over full output buffer.
7728 (ucs4_internal_loop): Likewise.
7729 (ucs4_internal_loop_unaligned): Likewise.
7730 (internal_ucs4le_loop): Likewise.
7731 (internal_ucs4le_loop_unaligned): Likewise.
7732 (ucs4le_internal_loop): Likewise.
7733 (ucs4le_internal_loop_unaligned): Likewise.
7734 Reported by yaoz@nih.gov.
7735
7736 2000-05-06 Bruno Haible <haible@clisp.cons.org>
7737
7738 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
7739 returned != __GCONV_OK, there is nothing to clean up.
7740
7741 2000-05-06 Bruno Haible <haible@clisp.cons.org>
7742
7743 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
7744 OUTPUT_CHARSET environment variables.
7745
7746 2000-05-06 Andreas Jaeger <aj@suse.de>
7747
7748 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
7749 (struct cache_file_new): New.
7750 (struct file_entry): New (moved from cache.c).
7751 (struct cache_file): New (moved from cache.c).
7752
7753 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
7754 from _dl_load_cache_lookup.
7755 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
7756 the different cache formats.
7757 New variable cache_new for new format.
7758
7759 * elf/ldconfig.h: Change according to changes in cache.c and
7760 ldconfig.c; remove cache_libcmp; add opt_format.
7761
7762 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
7763 stuff that's defined in those headers.
7764 Add hwcap to struct lib_entry.
7765 (opt_format): New variable to select cache format.
7766 (options): Add format parameter.
7767 (is_hwcap): New function.
7768 (path_hwcap): New function.
7769 (parse_opt): Handle new format parameter.
7770 (search_dir): Handle hwcap, search also subdirectories with hwcap.
7771
7772 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
7773 ldconfig is part of glibc.
7774 Include dl-cache.h and remove stuff that's defined there.
7775 (struct cache_entry): Add new member hwcap.
7776 (print_entry): Print hwcap, cleanup a bit.
7777 (print_cache): Print new and old formats.
7778 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
7779 (save_cache): Save new and old formats.
7780 (add_to_cache): Handle hwcap.
7781
7782 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
7783 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
7784 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
7785 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
7786 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
7787 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
7788
7789 2000-05-05 Bruno Haible <haible@clisp.cons.org>
7790
7791 * intl/dcigettext.c (alignof): New macro.
7792 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
7793 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
7794 freemem_size to 0.
7795
7796 2000-05-05 Bruno Haible <haible@clisp.cons.org>
7797
7798 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
7799 return value.
7800
7801 2000-05-06 Ulrich Drepper <drepper@redhat.com>
7802
7803 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
7804 (mempcpy): Correct typo is parameter list.
7805
7806 2000-05-06 Andreas Jaeger <aj@suse.de>
7807
7808 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
7809 functions unless -ffast-math is given to gcc.
7810
7811 2000-05-06 Ulrich Drepper <drepper@redhat.com>
7812
7813 * po/ko.po: Update from translation team.
7814
7815 2000-05-05 Ulrich Drepper <drepper@redhat.com>
7816
7817 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
7818 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
7819 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
7820 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
7821 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
7822 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
7823
7824 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
7825 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
7826 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
7827
7828 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
7829 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
7830 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
7831 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
7832
7833 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
7834 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
7835
7836 2000-05-05 Jes Sorensen <jes@linuxcare.com>
7837
7838 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
7839 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
7840
7841 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
7842 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
7843
7844 * sysdeps/ia64/Implies: New file.
7845 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
7846 * sysdeps/ia64/Makefile: New file.
7847 * sysdeps/ia64/gmp-mparam.h: New file,
7848
7849 * sysdeps/ia64/elf/start.S: New file.
7850
7851 * sysdeps/ia64/bits/fenv.h: New file.
7852
7853 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
7854
7855 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
7856
7857 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
7858
7859 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
7860 ia64 has 64 bit .hash entries just as the Alpha.
7861
7862 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
7863
7864 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
7865
7866 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
7867
7868 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
7869 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
7870 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
7871 * sysdeps/ia64/fpu/fegetenv.c: New file.
7872 * sysdeps/ia64/fpu/fegetexcept.c: New file.
7873 * sysdeps/ia64/fpu/fegetround.c: New file.
7874 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
7875 * sysdeps/ia64/fpu/fesetenv.c: New file.
7876 * sysdeps/ia64/fpu/fesetround.c: New file.
7877 * sysdeps/ia64/fpu/feupdateenv.c: New file.
7878 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
7879 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
7880 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
7881 * sysdeps/ia64/fpu/ftestexcept.c: New file.
7882
7883 2000-05-05 Andreas Jaeger <aj@suse.de>
7884
7885 * misc/tst-tsearch.c (main): Correct type for initstate argument.
7886
7887 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
7888 (_dl_string_hwcap): New, does nothing.
7889
7890 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
7891 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
7892 (_dl_string_hwcap): New function, converts from string to hwcap
7893 encoding.
7894 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
7895 (_DL_HWCAP_COUNT): New.
7896 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
7897 (_dl_string_hwcap): New function, converts from string to hwcap
7898 encoding.
7899 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
7900 (_DL_HWCAP_COUNT): New.
7901 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
7902 (_dl_string_hwcap): New function, converts from string to hwcap
7903 encoding.
7904
7905 2000-05-05 Ulrich Drepper <drepper@redhat.com>
7906
7907 * elf/Makefile (distribute): Add dl-lookupcfg.h.
7908 * sysdeps/ia64/Dist: New file.
7909
7910 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
7911 parameter to mprotect and for variable assignments.
7912
7913 2000-05-03 Jes Sorensen <jes@linuxcare.com>
7914
7915 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
7916 validity of map before dereferencing it.
7917
7918 * elf/dl-reloc.c (RESOLVE_MAP): Define.
7919
7920 2000-05-02 Jes Sorensen <jes@linuxcare.com>
7921
7922 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
7923 lookup to the arguments to elf_machine_fixup_plt().
7924
7925 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
7926 of the symbol being resolved to input argument list and make the
7927 function return the pointer to the reloc.
7928
7929 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
7930 return valuie to lookup_t and return the value.
7931 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
7932 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
7933 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
7934 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
7935 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
7936 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
7937
7938 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
7939 Make it an inline function returning value after calling
7940 __elf_machine_fixup_plt().
7941
7942 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
7943 symbol address.
7944
7945 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
7946 obtain the symbol address.
7947
7948 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
7949 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
7950
7951 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
7952 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
7953 inline on non ia64.
7954
7955 2000-04-28 Jes Sorensen <jes@linuxcare.com>
7956
7957 * elf/dl-runtime.c (fixup): Use the portable macros to get the
7958 symbol address of an object.
7959
7960 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
7961 the symbol address of an object.
7962
7963 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
7964 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
7965 (_dl_lookup_symbol_skip): Likewise.
7966 (_dl_lookup_versioned_symbol): Likewise.
7967 (_dl_lookup_versioned_symbol_skip): Likewise.
7968
7969 2000-04-27 Jes Sorensen <jes@linuxcare.com>
7970
7971 * elf/rtld.c (_dl_start): Get the function pointer return address
7972 via _dl_start_address for architectures that need a function
7973 pointer descriptor rather than just a pointer (ia64).
7974
7975 * sysdeps/generic/dl-lookupcfg.h: New file.
7976 * sysdeps/ia64/dl-lookupcfg.h: New file.
7977 * sysdeps/ia64/dl-machine.h: New file.
7978 * sysdeps/ia64/dl-symaddr.c: New file.
7979 * sysdeps/ia64/dl-fptr.c: New file.
7980
7981 * elf/elf.h: Add IA-64 specific definitions.
7982
7983 2000-05-04 Jakub Jelinek <jakub@redhat.com>
7984
7985 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
7986 end of enum.
7987
7988 2000-05-04 Jakub Jelinek <jakub@redhat.com>
7989
7990 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
7991 happy.
7992
7993 2000-04-11 Geoff Keating <geoffk@cygnus.com>
7994
7995 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
7996 symbol. Call _dl_init rather than the old way.
7997
7998 2000-05-04 Ulrich Drepper <drepper@redhat.com>
7999
8000 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
8001 test for pointer in range of DSO address space.
8002
8003 2000-05-04 Andreas Jaeger <aj@suse.de>
8004
8005 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
8006
8007 2000-05-03 Ulrich Drepper <drepper@redhat.com>
8008
8009 * locale/findlocale.c (_nl_find_locale): Add new parameter to
8010 calls of _nl_make_l10nflist.
8011
8012 * libio/stdio.h: Make fseeko and ftello prototypes available is
8013 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
8014
8015 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
8016 real unsetenv implementation from 1999-07-29 [PR libc/1714].
8017
8018 2000-05-03 Bruno Haible <haible@clisp.cons.org>
8019
8020 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
8021 before calling tfind.
8022
8023 2000-03-05 Jakub Jelinek <jakub@redhat.com>
8024
8025 * resolv/resolv.h (res_querydomain): Remove redefinition to
8026 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
8027
8028 2000-05-03 Ulrich Drepper <drepper@redhat.com>
8029
8030 * po/gl.po: Update from translation team.
8031
8032 * manual/intro.texi (Program Basics): Change section title.
8033 * manual/process.texi: Fix reference.
8034 (Executing a File): Add reference exec in other section.
8035 * manual/signal.texi: Fix reference.
8036 * manual/startup.texi: Document syscall function.
8037 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
8038
8039 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8040
8041 * intl/libintl.h (bind_textdomain_codeset): New declaration.
8042 * intl/bindtextdom.c (set_binding_values): New function.
8043 (bindtextdomain): Call it.
8044 (bind_textdomain_codeset): New function.
8045 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
8046 (free_mem): Free each binding's codeset.
8047 * intl/gettextP.h (struct binding): Add codeset field.
8048 (_nl_find_domain): Add domainbinding argument.
8049 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
8050 Pass it to _nl_make_l10nflist.
8051 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
8052 (_nl_make_l10nflist): Add domainbinding argument.
8053 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
8054 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
8055 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
8056 locale_charset().
8057 * manual/message.texi: New node "Charset conversion in gettext".
8058
8059 2000-04-30 Bruno Haible <haible@clisp.cons.org>
8060
8061 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
8062 appropriate. Handle possible __read error.
8063
8064 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8065
8066 * intl/gettextP.h (__builtin_expect): Define as empty if not a
8067 compiler builtin.
8068 * intl/loadinfo.h (__builtin_expect): Likewise.
8069 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
8070 __builtin_expect where appropriate.
8071 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8072 * intl/localealias.c (extend_alias_table): Return an error indicator.
8073 (read_alias_file): Bail out if extend_alias_table fails.
8074
8075 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8076
8077 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
8078 * intl/localealias.c: Likewise.
8079
8080 2000-05-01 Bruno Haible <haible@clisp.cons.org>
8081
8082 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
8083 Initialize domain->plural and domain->nplurals even if there is no
8084 nullentry.
8085
8086 2000-05-01 Bruno Haible <haible@clisp.cons.org>
8087
8088 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
8089 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
8090 In case of failure, goto converted.
8091
8092 2000-05-01 Bruno Haible <haible@clisp.cons.org>
8093
8094 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
8095 * iconv/gconv_int.h (norm_add_slashes): Move to here.
8096 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
8097 __gconv_open.
8098
8099 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8100
8101 * intl/dcigettext.c (transcmp): Compare the domains as well.
8102 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
8103 not before.
8104 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
8105 <errno.h>.
8106
8107 2000-05-03 Ulrich Drepper <drepper@redhat.com>
8108
8109 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
8110 Reported by Bruno Haible.
8111
8112 2000-04-29 Bruno Haible <haible@clisp.cons.org>
8113
8114 * manual/arith.texi: Remove @w from @itemize.
8115
8116 2000-05-02 Andreas Jaeger <aj@suse.de>
8117
8118 * conform/data/tar.h-data: Add some checks for specific values.
8119
8120 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
8121 and RAND_MAX.
8122
8123 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
8124 FOPEN_MAX.
8125
8126 * conform/data/netinet/in.h-data: Add exact checks for the values
8127 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
8128
8129 * conform/data/float.h-data: Add some minimal values.
8130
8131 * conform/conformtest.pl: Test for macros with string constants,
8132 check for minimum and maximum values.
8133 Add limits.h to headers.
8134
8135 * conform/data/cpio.h-data: Test for value of MAGIC.
8136
8137 * conform/data/limits.h-data: New file.
8138
8139 2000-04-30 Bruno Haible <haible@clisp.cons.org>
8140
8141 * math/Makefile (headers): Add bits/fenvinline.h.
8142
8143 2000-05-01 Ulrich Drepper <drepper@redhat.com>
8144
8145 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
8146 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
8147
8148 * posix/Versions: Change posix_spawnattr_getdefault and
8149 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
8150 and posix_spawnattr_setsigdefault respectively.
8151 * posix/spawn.h: Likewise.
8152 * posix/spawnattr_getdefault.h: Likewise.
8153 * posix/spawnattr_setdefault.h: Likewise.
8154 * conform/data/spawn.h-data: Likewise.
8155
8156 2000-05-01 Andreas Jaeger <aj@suse.de>
8157
8158 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
8159
8160 2000-04-30 Ulrich Drepper <drepper@redhat.com>
8161
8162 * manual/sysinfo.texi: Document getdomainname, setdomainname
8163 and sysctl.
8164 * manual/string.texi: Fix typo.
8165 * manual/terminal.texi: Document gtty and stty.
8166 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8167
8168 2000-04-30 Andreas Jaeger <aj@suse.de>
8169
8170 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
8171 accordance with Austin Draft.
8172
8173 2000-04-30 Ulrich Drepper <drepper@redhat.com>
8174
8175 * catgets/gencat.c (read_input_file): Use isblank and not isspace
8176 to recognize second character in comment line.
8177
8178 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
8179 ENOBUFS if we are out of memory.
8180
8181 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
8182 available if __USE_XOPEN2K.
8183 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
8184 * sysdeps/unix/common/bits/fcntl.h: Likewise.
8185 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
8186 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8187 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
8188 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8189 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
8190 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
8191
8192 2000-04-29 Ulrich Drepper <drepper@redhat.com>
8193
8194 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
8195 Recognize option -s, -c, and -l.
8196
8197 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
8198
8199 * nscd/nscd.c: Start new session for nscd, drop privilegs
8200 to configured user if requested and no -S parameter are used.
8201 * nscd/nscd.conf: Add new option "server-user".
8202 * nscd/nscd_conf.c: Add support for new "server-user" option.
8203 * nscd/nscd.h: Add declaration for server_user variable.
8204 Based on patch by Chris Wing <wingc@engin.umich.edu>
8205
8206 2000-04-29 Mark Kettenis <kettenis@gnu.org>
8207
8208 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
8209 that changing the __restore and __restore_rt signal return code
8210 will break GDB.
8211
8212 2000-04-29 Mark Kettenis <kettenis@gnu.org>
8213
8214 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
8215 <sys/user.h>.
8216
8217 2000-04-29 Mark Kettenis <kettenis@gnu.org>
8218
8219 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
8220
8221 2000-04-29 Ulrich Drepper <drepper@redhat.com>
8222
8223 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
8224 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
8225 arpa/inet.h.
8226 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
8227 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
8228 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
8229 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
8230 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
8231 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
8232 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
8233 posix_fallocate, and posix_madvise.
8234 * conform/data/netdb.h-data: New file.
8235 * conform/data/pthread.h-data: Add pthread_barrier_t,
8236 pthread_barrierattr_t, pthread_barrier_destroy,
8237 pthread_barrier_init, pthread_barrier_wait,
8238 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
8239 pthread_barrierattr_init, pthread_barrierattr_setpshared,
8240 pthread_condattr_getclock, pthread_condattr_setclock,
8241 pthread_getcpuclockid, pthread_mutex_timedlock,
8242 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
8243 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
8244 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
8245 * conform/data/sched.h-data: Add sched_ss_low_priority,
8246 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
8247 SCHED_SPORADIC.
8248 * conform/data/semaphore.h-data: Add sem_timedwait.
8249 * conform/data/signal.h-data: Add SIGIO.
8250 * conform/data/spawn.h-data: New file.
8251 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
8252 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
8253 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
8254 Fix typo in gmtime_r definition.
8255 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
8256 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
8257 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
8258 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
8259 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
8260 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
8261 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
8262 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
8263 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
8264 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
8265 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
8266 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
8267 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
8268 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
8269 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
8270 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
8271 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
8272 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
8273 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
8274 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
8275 typo in off_t definition.
8276 * conform/data/net/if.h-data: New file.
8277 * conform/data/netinet/in.h-data: New file.
8278 * conform/data/netinet/tcp.h-data: New file.
8279 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
8280 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
8281 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
8282 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
8283 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
8284 and posix_typed_mem_open.
8285 * conform/data/sys/socket.h-data: New file.
8286 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
8287 * conform/data/sys/types.h-data: Add pthread_barrier_t,
8288 pthread_barrierattr_t, and pthread_spinlock_t.
8289 * conform/data/sys/un.h-data: New file.
8290 * conform/data/sys/utsname.h-data: New file.
8291
8292 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
8293 parameter.
8294 * inet/gethstbyad.c (gethostbyname): Likewise.
8295 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
8296 * inet/getipnodebyad.c (getipnodebyad): Likewise.
8297 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
8298 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
8299 Likewise.
8300 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
8301 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
8302 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
8303 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
8304 * resolv/gethnamaddr.c (gethostbyname): Likewise.
8305 * resolv/netdb.h (struct hostent): Fix type of h_length member.
8306 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
8307 and second parameter.
8308
8309 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
8310 == NULL.
8311
8312 2000-04-29 Andreas Jaeger <aj@suse.de>
8313
8314 * conform/data/arpa/inet.h-data: New file.
8315
8316 2000-04-28 Geoff Clare <gwc@unisoft.com>
8317
8318 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
8319 path passed to ftw() or nftw() is an empty string.
8320 Closes PR libc/1710.
8321
8322 2000-04-27 Ulrich Drepper <drepper@redhat.com>
8323
8324 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
8325 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
8326 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
8327 * localedata/tst-mbswcs4.c: New file.
8328 * localedata/tst-mbswcs5.c: New file.
8329
8330 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
8331 == NULL. Little optimization.
8332
8333 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
8334 DT_PREINIT_ARRAYSZ).
8335 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
8336
8337 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
8338 overflows in conversion from ASCII.
8339
8340 2000-04-26 Jakub Jelinek <jakub@redhat.com>
8341
8342 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
8343 * Makerules (full_config_sysdirs): Likewise.
8344 * MakeTAGS (full_config_sysdirs): Likewise.
8345
8346 2000-04-26 Jakub Jelinek <jakub@redhat.com>
8347
8348 * .cvsignore: Remove linuxthreads.
8349 * po/.cvsignore: Remove *.pot.
8350 * posix/glob/.cvsignore: Removed.
8351 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
8352
8353 2000-04-25 Andreas Jaeger <aj@suse.de>
8354
8355 * conform/Makefile (distribute): Also distribute contents of
8356 subdirectories.
8357
8358 * Makerules (no_deps): Remove abi-versions.h.
8359
8360 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
8361
8362 2000-04-25 Jakub Jelinek <jakub@redhat.com>
8363
8364 * sysdeps/sparc/sparc64/elf/Dist: Remove.
8365 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
8366 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
8367 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
8368 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
8369 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
8370 objects.
8371
8372 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
8373
8374 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
8375
8376 2000-04-23 Bruno Haible <haible@clisp.cons.org>
8377
8378 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
8379 * intl/l10nflist.c: Likewise.
8380
8381 2000-04-23 Bruno Haible <haible@clisp.cons.org>
8382
8383 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
8384 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
8385 * intl/textdomain.c [!_LIBC]: Likewise.
8386 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
8387 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
8388 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
8389 syntax error.
8390
8391 2000-04-23 Bruno Haible <haible@clisp.cons.org>
8392
8393 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
8394 character set conversion also in the case the translation was found
8395 after a hash collision or through binary search. Store the maximum
8396 index together with the converted message. Use iconv() when available.
8397 In case of out of memory during conversion, return the unconverted
8398 translated string, not NULL.
8399
8400 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
8401
8402 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
8403 to avoid name clashes with the ia32 linker.
8404
8405 2000-04-25 Jakub Jelinek <jakub@redhat.com>
8406
8407 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
8408 handling.
8409
8410 2000-04-27 Ulrich Drepper <drepper@redhat.com>
8411
8412 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
8413 strtoumax, strfry, and memfrob.
8414 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
8415 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8416
8417 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
8418 if this function is available.
8419
8420 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
8421 all values.
8422
8423 2000-04-27 Jakub Jelinek <jakub@redhat.com>
8424
8425 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
8426
8427 2000-04-27 Ulrich Drepper <drepper@redhat.com>
8428
8429 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
8430 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
8431 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
8432 * localedata/tst-mbswcs3.c: New file.
8433
8434 2000-04-26 Ulrich Drepper <drepper@redhat.com>
8435
8436 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
8437 characters. Don't handle incomplete characters as errors.
8438 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
8439 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
8440 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
8441 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
8442 * localedata/tst-mbswcs2.c: New file.
8443
8444 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
8445 stored character in state in UNPACK_BYTES macro.
8446 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
8447 test for available characters, handle result of BODY code correctly.
8448 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
8449 (distribute): Add tst-mbswcs.sh.
8450 Add rule to run tst-mbswcs.sh.
8451 * localedata/tst-mbswcs.sh: New file.
8452 * localedata/tst-mbswcs1.c: New file.
8453
8454 2000-04-26 Jakub Jelinek <jakub@redhat.com>
8455
8456 * nis/nis_callback.c (__nis_create_callback): Do failed memory
8457 allocation fixups centrally, fix __builtin_expect call, return NULL
8458 on failure, not NIS_NOMEMORY.
8459
8460 2000-04-27 Bruno Haible <haible@clisp.cons.org>
8461
8462 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
8463
8464 * intl/loadinfo.h (internal_function): Define if not already defined.
8465
8466 2000-04-27 Andreas Jaeger <aj@suse.de>
8467
8468 * intl/libintl.h: Fix typo, reported by Bruno Haible
8469 <haible@clisp.cons.org>.
8470
8471 2000-04-25 Ulrich Drepper <drepper@redhat.com>
8472
8473 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
8474 setting the state to GMON_PROF_BUSY.
8475
8476 2000-04-24 Ulrich Drepper <drepper@redhat.com>
8477
8478 * elf/dl-profile.c (_dl_start_profile): define all variables which
8479 do not have to be global as local variables.
8480
8481 * nis/nis_callback.c (__nis_create_callback): Partially undo last
8482 patch. Keep needed tests for failed memory allocation.
8483
8484 * elf/dl-reloc.c (_dl_relocate_object): Add one more
8485 __builtin_expect saying that we don't normally expect to profile.
8486
8487 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
8488 __builtin_expect where desirable.
8489
8490 2000-04-23 Ulrich Drepper <drepper@redhat.com>
8491
8492 * manual/Makefile (chapters): Add syslog.
8493 * manual/syslog.texi: New file.
8494 * manual/math.texi: Fix references.
8495 * manual/terminal.texi: Likewise.
8496 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8497
8498 2000-04-18 Jakub Jelinek <jakub@redhat.com>
8499
8500 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
8501 stdlib.h was not included or __USE_XOPEN not defined.
8502
8503 2000-04-23 Ulrich Drepper <drepper@redhat.com>
8504
8505 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
8506 Patch by Zack Weinberg <zack@wolery.cumb.org>.
8507
8508 2000-04-22 Ulrich Drepper <drepper@redhat.com>
8509
8510 * manual/examples/subopt.c (mount_opts): Add missing terminating
8511 entry.
8512 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
8513
8514 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
8515 * libio/ftello.c: Likewise.
8516 * libio/ftello64.c: Likewise.
8517 * libio/ioftell.c: Likewise.
8518 * sysdeps/generic/memrchr.c: Likewise.
8519 * sysdeps/posix/libc_fatal.c: Likewise.
8520 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
8521 * misc/fstab.c: Include <string.h> for strcmp prototype.
8522 * sysdeps/generic/ldsodefs.h: Likewise.
8523 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8524 Patch by Kurt Roeckx <Q@ping.be>.
8525
8526 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
8527 Remove db-open. Change all uses.
8528 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
8529
8530 2000-04-21 Jakub Jelinek <jakub@redhat.com>
8531
8532 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
8533 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
8534 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
8535 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
8536 with .set noat/at to shut up warnings.
8537 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
8538 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
8539 compilation if __NR_pciconfig_iobase is not defined.
8540 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
8541 Add alias.
8542
8543 2000-04-21 Ulrich Drepper <drepper@redhat.com>
8544
8545 * manual/sysinfo.texi: Fix typo.
8546 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
8547 Replace "high precision time" with "high accuracy clock".
8548 Fix language.
8549 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
8550
8551 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
8552 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
8553 instead of malloc.
8554 * nis/nis_subr.c: Use __builtin_expect.
8555 * nis/ypclnt.c: Likewise.
8556 * nis/nis_getservlist.c: Likewise.
8557 * nis/nis_creategroup.c: Likewise.
8558
8559 * nis/nis_callback.c (__nis_create_callback): Check result of
8560 memory allocation. Fix memory leaks. Use __builtin_expect.
8561 (__nis_destroy_callback): Fix memory leaks.
8562
8563 2000-04-21 Andreas Jaeger <aj@suse.de>
8564
8565 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
8566 * sysdeps/mips/mips64/add_n.S: Likewise.
8567 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
8568 * sysdeps/mips/mips64/lshift.S: Likewise.
8569 * sysdeps/mips/mips64/mul_1.S: Likewise.
8570 * sysdeps/mips/mips64/rshift.S: Likewise.
8571 * sysdeps/mips/mips64/setjmp.S: Likewise.
8572 * sysdeps/mips/mips64/sub_n.S: Likewise.
8573 * sysdeps/mips/mips64/submul_1.S: Likewise
8574 * sysdeps/unix/mips/sysdep.S: Likewise.
8575
8576 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
8577 and update comment. The strtab from _dl_relocate_object can be
8578 used.
8579
8580 2000-04-21 Ulrich Drepper <drepper@redhat.com>
8581
8582 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
8583 * iconv/iconv_close.c (iconv_close): Likewise.
8584 * iconv/iconv_open.c (iconv_open): Likewise.
8585
8586 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
8587 __builtin_expect where useful.
8588
8589 * grp/initgroups.c (initgroups): Test for result of memory
8590 allocation and punt if it fails.
8591
8592 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
8593 * grp/fgetgrent.c (fgetfrent): Likewise.
8594 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
8595
8596 2000-04-21 Jakub Jelinek <jakub@redhat.com>
8597
8598 * libio/vasprintf.c: Include string.h to get memcpy prototype.
8599
8600 2000-04-20 Ulrich Drepper <drepper@redhat.com>
8601
8602 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
8603 don't search for NUL byte to decrement counter.
8604 Reported by Ulrich.Brink@sap.com.
8605
8606 * iconv/gconv_simple.c: Define separate functions to convert from
8607 UCS4/UCS4-LE to the internal encoding.
8608 * iconv/gconv_builtin.h: Use separate functions to convert from
8609 UCS4/UCS4-LE to the internal encoding.
8610 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
8611 __gconv_transform_ucs4le_internal.
8612
8613 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
8614 output buffer overflow. Reported by Ulrich.Brink@sap.com.
8615
8616 * iconv/skeleton.c: Add some more __builtin_expect.
8617 * iconv/loop.c: Likewise.
8618
8619 2000-03-08 H.J. Lu <hjl@gnu.org>
8620
8621 * posix/regex.c (regex_compile): Correctly handle "\{" when
8622 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
8623
8624 2000-04-20 Ulrich Drepper <drepper@redhat.com>
8625
8626 * manual/stdio.texi: Give advise about handling error when using
8627 stream functions.
8628 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
8629
8630 2000-04-19 Jakub Jelinek <jakub@redhat.com>
8631
8632 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
8633 field to nelems * sizeof (uint32_t).
8634 * locale/programs/ld-address.c (address_output): Align word fields
8635 properly.
8636 * locale/programs/ld-monetary.c (monetary_output): Likewise.
8637 Don't restart idx pointers to idx end at the duo_int_curr_symbol
8638 field.
8639 Avoid giving arbitrary garbage in the crncystr field.
8640 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
8641 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
8642 fields.
8643 * locale/programs/ld-numeric.c (numeric_output): Likewise.
8644 Don't restart idx pointers to idx end at the decimal_point_wc field.
8645 * locale/programs/ld-time.c (time_output): week_1stday should be
8646 word, not byte. Align it properly.
8647
8648 2000-04-19 H.J. Lu <hjl@gnu.org>
8649
8650 * csu/gmon-start.c (_start): Declared as "extern void".
8651 (etext): Likewise.
8652
8653 2000-04-18 Andreas Jaeger <aj@suse.de>
8654
8655 * manual/install.texi (Running make install): Don't mention utmpd
8656 anymore.
8657
8658 2000-04-18 Andreas Jaeger <aj@suse.de>
8659
8660 * linuxthreads/Versions: Use ld instead of ld.so.
8661
8662 * elf/Makefile (ld-map): Use ld.map.
8663
8664 * Versions.def: Use ld instead of ld.so.
8665 * elf/Versions: Likewise.
8666 * sysdeps/mach/hurd/Versions: Likewise.
8667
8668 2000-04-20 Andreas Jaeger <aj@suse.de>
8669
8670 * elf/rtld.c (print_statistics): Move ifndef further up.
8671 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
8672 (dl_main): Likewise.
8673
8674 2000-04-18 Ulrich Drepper <drepper@redhat.com>
8675
8676 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
8677 * gmon/Versions: Move moncontrol to GLIBC_2.2.
8678
8679 * po/cs.po: Update from translation team.
8680
8681 * sysdeps/generic/updwtmp.c: Remove daemon support.
8682
8683 * login/Makefile (routines): Remove utmp_daemon.
8684
8685 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
8686 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
8687 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
8688 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
8689
8690 * elf/rtld.c: Display statitics option also if hp timing is not
8691 available.
8692
8693 * login/programs/connection.c: Removed.
8694 * login/programs/database.c Removed.
8695 * login/programs/error.c: Removed.
8696 * login/programs/request.c: Removed.
8697 * login/programs/xtmp.c: Removed.
8698 * login/programs/xtmp.h: Removed.
8699 * login/Makefile: Remove rules for utmpd.
8700 * login/README.utmpd: Removed.
8701 * login/utmp_daemon.c: Removed.
8702 * login/getutent_r.c: Remove references to daemon functions.
8703 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
8704 declaration.
8705
8706 2000-04-18 Andreas Jaeger <aj@suse.de>
8707
8708 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
8709 2.2 for libnsl, libresolv, librt, libnss_*.
8710
8711 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
8712
8713 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
8714
8715 2000-04-18 Ulrich Drepper <drepper@redhat.com>
8716
8717 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
8718 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
8719 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
8720 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
8721 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
8722 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
8723 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
8724 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
8725 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
8726 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
8727 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
8728 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
8729 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
8730 it here.
8731 * sysdeps/unix/sysv/aix/msync.c: New file.
8732 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
8733 * sysdeps/unix/sysv/aix/net/if.h: New file.
8734 * sysdeps/unix/sysv/aix/pipe.c: New file.
8735 * sysdeps/unix/sysv/aix/poll.c: New file.
8736 * sysdeps/unix/sysv/aix/rename.c: New file.
8737 * sysdeps/unix/sysv/aix/rmdir.c: New file.
8738 * sysdeps/unix/sysv/aix/select.c: New file.
8739 * sysdeps/unix/sysv/aix/semctl.c: New file.
8740 * sysdeps/unix/sysv/aix/semget.c: New file.
8741 * sysdeps/unix/sysv/aix/semop.c: New file.
8742 * sysdeps/unix/sysv/aix/sendto.c: New file.
8743 * sysdeps/unix/sysv/aix/setgroups.c: New file.
8744 * sysdeps/unix/sysv/aix/setpgid.c: New file.
8745 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
8746 * sysdeps/unix/sysv/aix/setpriority.c: New file.
8747 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
8748 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
8749 * sysdeps/unix/sysv/aix/setsid.c: New file.
8750 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
8751 * sysdeps/unix/sysv/aix/shmat.c: New file.
8752 * sysdeps/unix/sysv/aix/shmctl.c: New file.
8753 * sysdeps/unix/sysv/aix/shmdt.c: New file.
8754 * sysdeps/unix/sysv/aix/shmget.c: New file.
8755 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
8756 * sysdeps/unix/sysv/aix/sigstack.c: New file.
8757 * sysdeps/unix/sysv/aix/socket.c: New file.
8758 * sysdeps/unix/sysv/aix/socketpair.c: New file.
8759 * sysdeps/unix/sysv/aix/speed.c: New file.
8760 * sysdeps/unix/sysv/aix/symlink.c: New file.
8761 * sysdeps/unix/sysv/aix/sync.c: New file.
8762 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
8763 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
8764 * sysdeps/unix/sysv/aix/times.c: New file.
8765 * sysdeps/unix/sysv/aix/ulimit.c: New file.
8766 * sysdeps/unix/sysv/aix/umask.c: New file.
8767 * sysdeps/unix/sysv/aix/unlink.c: New file.
8768 * sysdeps/unix/sysv/aix/ustat.c: New file.
8769 * sysdeps/unix/sysv/aix/utimes.c: New file.
8770
8771 2000-04-18 Andreas Jaeger <aj@suse.de>
8772
8773 * manual/startup.texi (Environment Access): Fix putenv prototype
8774 according to recent changes.
8775 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
8776 PR libc/1692.
8777
8778 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
8779 needed.
8780
8781 2000-04-18 Ulrich Drepper <drepper@redhat.com>
8782
8783 * posix/Makefile (tests): Add tst-getaddrinfo.
8784 * posix/tst-getaddrinfo.c: New file.
8785
8786 2000-04-17 Ulrich Drepper <drepper@redhat.com>
8787
8788 * manual/sysinfo.texi: Document that umount2 is not widely available.
8789
8790 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
8791 signal timing is not really implemented.
8792
8793 2000-04-17 Andreas Jaeger <aj@suse.de>
8794
8795 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
8796
8797 2000-04-17 Jakub Jelinek <jakub@redhat.com>
8798
8799 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
8800 and inst_libdir.
8801
8802 2000-04-17 Ulrich Drepper <drepper@redhat.com>
8803
8804 * manual/intro.texi: Change reference from System Information to
8805 System Management.
8806 * manual/users.texi: Likewise.
8807 * manual/conf.texi: Likewise.
8808 * manual/sysinfo.texi: Document mount, umount, and umount2.
8809 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8810
8811 2000-04-17 Jakub Jelinek <jakub@redhat.com>
8812
8813 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
8814 Create wnumstr as well as numstr to support wide character output
8815 correctly.
8816
8817 2000-04-15 Jakub Jelinek <jakub@redhat.com>
8818
8819 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
8820 modification and move it...
8821 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
8822 Add -melf64_sparc switch to $(LD) on sparc64-linux.
8823 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
8824 switch to $(LD) on sparc-linux.
8825
8826 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
8827
8828 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
8829 and setresuid from sysdep_routines.
8830
8831 2000-04-17 Ulrich Drepper <drepper@redhat.com>
8832
8833 * manual/Makefile (chapters): Add resource.
8834
8835 * manual/time.texi: Move section on resources to...
8836 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
8837 and vtimes.
8838 * manual/setjmp.texi: Adjust back reference.
8839 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8840
8841 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
8842 definition.
8843 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
8844 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
8845 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
8846 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
8847 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
8848 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
8849 * sysdeps/unix/sysv/aix/close.c: Add copyright.
8850 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
8851 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
8852 * sysdeps/unix/sysv/aix/access.c: Add copyright.
8853 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
8854 * sysdeps/unix/sysv/aix/Implies: New file.
8855 * sysdeps/unix/sysv/aix/Versions: New file.
8856 * sysdeps/unix/sysv/aix/bind.c: New file.
8857 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
8858 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
8859 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
8860 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
8861 * sysdeps/unix/sysv/aix/chdir.c: New file.
8862 * sysdeps/unix/sysv/aix/chmod.c: New file.
8863 * sysdeps/unix/sysv/aix/chroot.c: New file.
8864 * sysdeps/unix/sysv/aix/creat.c: New file.
8865 * sysdeps/unix/sysv/aix/dl-close.c: New file.
8866 * sysdeps/unix/sysv/aix/dl-open.c: New file.
8867 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
8868 * sysdeps/unix/sysv/aix/fchdir.c: New file.
8869 * sysdeps/unix/sysv/aix/fchmod.c: New file.
8870 * sysdeps/unix/sysv/aix/getgroups.c: New file.
8871 * sysdeps/unix/sysv/aix/gethostname.c: New file.
8872 * sysdeps/unix/sysv/aix/getpriority.c: New file.
8873 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
8874 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
8875 * sysdeps/unix/sysv/aix/getrusage.c: New file.
8876 * sysdeps/unix/sysv/aix/link.c: New file.
8877 * sysdeps/unix/sysv/aix/madvise.c: New file.
8878 * sysdeps/unix/sysv/aix/mkdir.c: New file.
8879 * sysdeps/unix/sysv/aix/mknod.c: New file.
8880 * sysdeps/unix/sysv/aix/mprotect.c: New file.
8881 * sysdeps/unix/sysv/aix/msgctl.c: New file.
8882 * sysdeps/unix/sysv/aix/msgget.c: New file.
8883 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
8884
8885 2000-04-17 Andreas Jaeger <aj@suse.de>
8886
8887 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
8888 as suggested by Ulrich Drepper.
8889 (__dl_runtime_resolve): Remove unused variable, initialize sym
8890 directly.
8891 (RTLD_START): Document OFFSET_GP_GOT.
8892 (OFFSET_GP_GOT): New magic value.
8893 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
8894 (elf_machine_got_rel): Only declare strtab if needed.
8895 (elf_machine_relplt): Removed, it's not needed.
8896 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
8897
8898 * sysdeps/mips/add_n.S: Add newline at EOF.
8899 * sysdeps/mips/rshift.S: Likewise.
8900 * sysdeps/mips/mul_1.S: Likewise.
8901 * sysdeps/mips/lshift.S: Likewise.
8902 * sysdeps/mips/addmul_1.S: Likewise.
8903
8904 2000-04-17 Ulrich Drepper <drepper@redhat.com>
8905
8906 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
8907
8908 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
8909 * elf/dl-lookup.c: Likewise.
8910 * elf/dl-init.c (_dl_init): Likewise.
8911 * elf/dl-fini.c (_dl_fini): Likewise.
8912 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8913 * elf/dl-close.c (_dl_close): Likewise.
8914 * elf/rtld.c (_dl_start_final): Likewise.
8915
8916 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
8917
8918 2000-04-15 Ulrich Drepper <drepper@redhat.com>
8919
8920 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
8921 only fall back on using Linux.
8922
8923 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
8924 Before testing versions check that we actually loaded the object
8925 and whether we are in trace mode. If not loaded during tracing don't
8926 test versions in this object.
8927 (_dl_check_all_versions): Take new parameter and pass to
8928 _dl_check_map_versions.
8929 * sysdeps/generic/ldsodefs.h: Update prototypes for
8930 _dl_check_all_versions and _dl_check_map_versions.
8931 * elf/rtld.c (struct version_check_args): Add dotrace.
8932 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
8933 (dl_main): Pass info about trace mode to version_check_doit.
8934 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
8935 _dl_check_all_versions.
8936
8937 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
8938 and getutmpx.
8939 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8940
8941 * manual/argp.texi: Document index parameter of argp_parse.
8942 Fix typo.
8943 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
8944
8945 2000-04-14 Andreas Jaeger <aj@suse.de>
8946
8947 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
8948 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
8949
8950 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
8951
8952 2000-04-15 Ulrich Drepper <drepper@redhat.com>
8953
8954 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
8955 compat_symbol call for old adjtime.
8956
8957 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
8958 function interface. Patch by Richard Henderson <rth@cygnus.com>.
8959
8960 * posix/Makefile (headers): Add spawn.h.
8961 (distribute): Add spawn_int.h.
8962 (routines): Add spawn_faction_init, spawn_faction_destroy,
8963 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
8964 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
8965 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
8966 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
8967 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
8968 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
8969 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
8970 posix_spawnattr_init, posix_spawnattr_destroy,
8971 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
8972 posix_spawnattr_getflags, posix_spawnattr_setflags,
8973 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
8974 and posix_spawnp.
8975 * posix/spawn.c: New file.
8976 * posix/spawn.h: New file.
8977 * posix/spawn_faction_addclose.c: New file.
8978 * posix/spawn_faction_adddup2.c: New file.
8979 * posix/spawn_faction_addopen.c: New file.
8980 * posix/spawn_faction_destroy.c: New file.
8981 * posix/spawn_faction_init.c: New file.
8982 * posix/spawn_int.h: New file.
8983 * posix/spawnattr_destroy.c: New file.
8984 * posix/spawnattr_getdefault.c: New file.
8985 * posix/spawnattr_getflags.c: New file.
8986 * posix/spawnattr_getpgroup.c: New file.
8987 * posix/spawnattr_getschedparam.c: New file.
8988 * posix/spawnattr_getschedpolicy.c: New file.
8989 * posix/spawnattr_getsigmask.c: New file.
8990 * posix/spawnattr_init.c: New file.
8991 * posix/spawnattr_setdefault.c: New file.
8992 * posix/spawnattr_setflags.c: New file.
8993 * posix/spawnattr_setpgroup.c: New file.
8994 * posix/spawnattr_setschedparam.c: New file.
8995 * posix/spawnattr_setschedpolicy.c: New file.
8996 * posix/spawnattr_setsigmask.c: New file.
8997 * posix/spawni.c: New file.
8998 * posix/spawnp.c: New file.
8999
9000 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
9001 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
9002
9003 2000-04-14 Ulrich Drepper <drepper@redhat.com>
9004
9005 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
9006 * malloc/malloc.c: Implement posix_memalign for glibc.
9007 * include/stdlib.h: Add prototype for __posix_memalign.
9008 * stdlib/stdlib.h: Add prototype for posix_memalign.
9009
9010 2000-04-14 Andreas Jaeger <aj@suse.de>
9011
9012 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
9013 symidx correctly.
9014 (elf_machine_got_rel): Cast sym correctly.
9015
9016 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
9017 * sysdeps/mips/addmul_1.S: Likewise.
9018 * sysdeps/mips/lshift.S: Likewise.
9019 * sysdeps/mips/mul_1.S: Likewise.
9020 * sysdeps/mips/rshift.S: Likewise.
9021 * sysdeps/mips/sub_n.S: Likewise.
9022 * sysdeps/mips/submul_1.S: Likewise.
9023
9024 * stdlib/stdlib.h: Fix typo in comment.
9025
9026 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
9027 2.2 for libdl, ld and libm.
9028
9029 * sysdeps/generic/madvise.c: Fix typos.
9030
9031 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
9032
9033 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
9034
9035 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
9036 warnings.
9037
9038 2000-04-14 Ulrich Drepper <drepper@redhat.com>
9039
9040 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
9041 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
9042 Make old name weak alias.
9043 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
9044 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
9045 Make old name weak alias.
9046 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
9047
9048 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
9049 posix_fallocate, and posix_fallocate64.
9050 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
9051 posix_fallocate, and posix_fallocate64.
9052 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
9053 posix_fallocate, and posix_fallocate64.
9054 * sysdeps/generic/fadvise.c: New file.
9055 * sysdeps/generic/fadvise64.c: New file.
9056 * sysdeps/generic/fallocate.c: New file.
9057 * sysdeps/generic/fallocate64.c: New file.
9058 * sysdeps/posix/fallocate.c: New file.
9059 * sysdeps/posix/fallocate64.c: New file.
9060 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
9061 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
9062 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
9063 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
9064 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
9065 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
9066 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9067 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
9068 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9069
9070 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
9071 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9072
9073 2000-04-13 Ulrich Drepper <drepper@redhat.com>
9074
9075 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
9076 * misc/sys/mman.h (posix_madvise): Add prototype.
9077 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
9078 old name and posix_madvise weak aliases.
9079 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9080 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
9081 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
9082 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
9083 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
9084 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9085 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9086
9087 2000-04-13 Andreas Jaeger <aj@suse.de>
9088
9089 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
9090 versioning.
9091 (elf_machine_got_rel): Only add runtime display if needed.
9092 (elf_machine_got_rel): Handle symbol versioning.
9093
9094 2000-04-13 Andreas Jaeger <aj@suse.de>
9095
9096 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
9097
9098 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
9099 default.
9100
9101 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
9102 with some applications.
9103 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
9104
9105 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
9106 * sysdeps/mips/bsd-_setjmp.S: Likewise.
9107 * sysdeps/mips/setjmp.S: Likewise.
9108
9109 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
9110
9111 2000-04-13 Ulrich Drepper <drepper@redhat.com>
9112
9113 * posix/globtest.sh: Work around inconsistency with expanding ~/
9114 in shell (PR libc/1690). Reported by patsmith@pobox.com.
9115
9116 2000-04-12 Ulrich Drepper <drepper@redhat.com>
9117
9118 * posix/getconf.c: Add support for many more POSIX options.
9119 * sysdeps/posix/sysconf.c: Likewise.
9120 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
9121 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
9122 _POSIX_SHELL.
9123 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
9124 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
9125 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
9126 CLOCK_THREAD_CPUTIME_ID.
9127 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
9128 CLOCK_PROCESS_CPUTIME_ID.
9129 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
9130 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
9131 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
9132 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
9133
9134 * malloc/Makefile (tests): Add tst-calloc.
9135 * malloc/tst-calloc.c: New file.
9136
9137 * sysdeps/arm/libm-test-ulps: New file.
9138
9139 * malloc/malloc.c: Undo all of today's changes.
9140
9141 * locale/programs/locale.c (show_info): Don't try to look into
9142 data for LC_ALL (there is none).
9143
9144 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
9145 avoid writing over boundary.
9146 Patch by Greg McGary <gkm@eng.ascend.com>.
9147
9148 * sysdeps/arm/memprof.h: New file.
9149
9150 2000-04-12 Andreas Jaeger <aj@suse.de>
9151
9152 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
9153
9154 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
9155 for memmem declaration.
9156
9157 2000-04-12 Ulrich Drepper <drepper@redhat.com>
9158
9159 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
9160 to -1.
9161 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
9162
9163 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
9164 mode is invalid.
9165 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
9166 Patch by Bart Veer <bartv@redhat.com>.
9167
9168 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
9169 function interface.
9170
9171 2000-04-11 Andreas Jaeger <aj@suse.de>
9172
9173 * sysdeps/mips/dl-machine.h: Update some comments.
9174 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
9175
9176 2000-04-11 Ulrich Drepper <drepper@redhat.com>
9177
9178 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
9179 _POSIX_SHARED_MEMORY_OBJECTS.
9180
9181 * rt/Makefile (tests): Add tst-shm.
9182 Add rules to generate tst-shm.
9183 * rt/tst-shm.c: New file.
9184
9185 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
9186 for descriptor.
9187
9188 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
9189 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
9190 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
9191 * sysdeps/generic/shm_open.c: New file.
9192 * sysdeps/generic/shm_unlink.c: New file.
9193 * sysdeps/unix/sysv/linux/shm_open.c: New file.
9194 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
9195 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
9196 __endmntent, __getmntent_r, __setmntent, and __statfs.
9197
9198 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
9199 fragmentation by allocating new memory at the end instead of
9200 reallocating.
9201
9202 * posix/globtest.sh: Fix last change.
9203
9204 2000-04-10 Philip Blundell <philb@gnu.org>
9205
9206 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
9207 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
9208 IPV6_DROP_MEMBERSHIP.
9209 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
9210 Likewise.
9211
9212 2000-04-11 Ulrich Drepper <drepper@redhat.com>
9213
9214 * elf/readlib (process_file): Close streams in case of an error.
9215
9216 2000-04-09 Andreas Jaeger <aj@suse.de>
9217
9218 * elf/readlib.c (process_file): Check if file is big enough to
9219 contain aout and ELF headers.
9220 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
9221
9222 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
9223
9224 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
9225
9226 2000-04-11 Ulrich Drepper <drepper@redhat.com>
9227
9228 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
9229 stream unbuffered.
9230 * rt/Makefile (tests): Add tst-clock.
9231 Add rules to build tst-clock.
9232 * rt/tst-clock.c: New file.
9233 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
9234 about initialization of nsec.
9235 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
9236 about initialization of freq. Set retval to zero if successful.
9237 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
9238
9239 2000-04-10 Ulrich Drepper <drepper@redhat.com>
9240
9241 * Versions.def (librt): Add GLIBC_2.2.
9242 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
9243 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
9244 timer_getoverr, timer_gettime, and timer_settime.
9245 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
9246 clock_settime, timer_create, timer_delete, timer_getoverrun,
9247 timer_gettime, and timer_settime.
9248 * sysdeps/generic/clock_getcpuclockid.c: New file.
9249 * sysdeps/generic/get_clockfreq.c: New file.
9250 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
9251 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
9252 * sysdeps/mach/hurd/i386/bits/time.h: New file.
9253 * sysdeps/unix/i386/i586/clock_getres.c: New file.
9254 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
9255 * sysdeps/unix/i386/i686/Implies: New file.
9256 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
9257 * time/Makefile (routines): Move clock_getres, clock_gettime,
9258 clock_settime, timer_create, timer_delete, timer_getoverr,
9259 timer_gettime, and timer_settime to rt/Makefile.
9260 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
9261 clock_settime, timer_create, timer_delete, timer_getoverrun,
9262 timer_gettime, and timer_settime.
9263 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
9264
9265 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
9266 and not const as attribute name.
9267
9268 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
9269
9270 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
9271
9272 2000-04-10 Andreas Schwab <schwab@suse.de>
9273
9274 * posix/globtest.sh: Skip tests that depend on unreadable
9275 directories if run as root.
9276
9277 2000-04-10 Ulrich Drepper <drepper@redhat.com>
9278
9279 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
9280 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
9281
9282 2000-04-09 Ulrich Drepper <drepper@redhat.com>
9283
9284 * sysdeps/unix/clock_gettime.c: New file.
9285 * sysdeps/unix/clock_settime.c: New file.
9286 * sysdeps/posix/clock_getres.c: New file.
9287
9288 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
9289
9290 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
9291 lseek call be passing in a buffer which never allow a successful
9292 first getdents syscall if not at leas the initial entry can be
9293 stored in the user buffer.
9294
9295 * localedata/Makefile: Add rules to clean up directories created by
9296 new strfmon tests.
9297
9298 2000-04-09 Geoff Clare <gwc@unisoft.com>
9299
9300 * localedata/tst-fmon.data: Added new tests for strfmon()
9301 using test locales with all combinations of cs_precedes,
9302 sign_posn and sep_by_space.
9303 * localedata/tst-fmon.sh: Updated to support the new tests.
9304 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
9305 the localedef source for the new strfmon() test locale.
9306 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
9307 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
9308 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
9309 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
9310 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
9311 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
9312 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
9313 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
9314 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
9315 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
9316 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
9317 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
9318 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
9319 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
9320
9321 * stdlib/strfmon.c: Correct problems with missing or extra
9322 spaces for unusual combinations of sign_posn and sep_by_space.
9323 Improved left-precision alignment code.
9324
9325 2000-04-07 Andreas Jaeger <aj@suse.de>
9326
9327 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
9328
9329 2000-04-10 Andreas Jaeger <aj@suse.de>
9330
9331 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
9332
9333 2000-04-09 Ulrich Drepper <drepper@redhat.com>
9334
9335 Implement handling of restartable conversion functions according to
9336 ISO C.
9337 * iconv/gconv.h (__gconv_fct): Add additional parameter.
9338 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
9339 * iconv/gconv.c: Pass additional parameter to conversion function.
9340 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
9341 (internal_ucs4le_loop_single): New function.
9342 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
9343 (__gconv_transform_internal_ascii): Likewise.
9344 (__gconv_transform_internal_utf8): Likewise.
9345 (__gconv_transform_utf8_internal): Likewise.
9346 (__gconv_transform_ucs2_internal): Likewise.
9347 (__gconv_transform_internal_ucs2): Likewise.
9348 (__gconv_transform_ucs2reverse_internal): Likewise.
9349 (__gconv_transform_internal_ucs2reverse): Likewise.
9350 (internal_ucs4le_loop_unaligned): Before return
9351 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
9352 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
9353 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
9354 * iconv/loop.c: Fit in definition of function to convert one character
9355 for processing of left-over bytes from the state object.
9356 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
9357 inend to match names in loop functions.
9358 (RESET_INPUT_BUFFER): Change apprpriately.
9359 (gconv): If needed, call function to process bytes from the state
9360 object. Similar at the end: store left over bytes if input is
9361 incomplete.
9362 Take extra argument and add new argument to all calls of the
9363 conversion function.
9364 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
9365 information in the state object to not conflict with length count.
9366 * iconvdata/iso-2022-jp.c: Likewise.
9367 * iconvdata/iso-2022-kr.c: Likewise.
9368 * iconvdata/unicode.c: Adjust for change change in parameters of
9369 skeleton function.
9370 * iconvdata/utf-16.c: Likewise.
9371 * libio/iofwide.c: Add new parameter to all calls of conversion
9372 function.
9373 * wcsmbs/btowc.c: Likewise.
9374 * wcsmbs/mbrtowc.c: Likewise.
9375 * wcsmbs/mbsnrtowcs.c: Likewise.
9376 * wcsmbs/mbsrtowcs.c: Likewise.
9377 * wcsmbs/wcrtomb.c: Likewise.
9378 * wcsmbs/wcsnrtombs.c: Likewise.
9379 * wcsmbs/wcsrtombs.c: Likewise.
9380 * wcsmbs/wctob.c: Likewise.
9381
9382 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
9383 MAX_NEEDED_INPUT.
9384
9385 2000-04-07 Andreas Jaeger <aj@suse.de>
9386
9387 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
9388 newer kernels.
9389
9390 2000-04-07 Ulrich Drepper <drepper@redhat.com>
9391
9392 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
9393 element a union to allow byte access.
9394 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
9395 mbstate_t.
9396 * iconvdata/iso-2022-jp.c: Likewise.
9397 * iconvdata/iso-2022-kr.c: Likewise.
9398 * wcsmbs/mbsinit.c: Likewise.
9399 * stdlib/mblen.c: Likewise.
9400 * stdio-common/printf-parse.h: Likewise.
9401
9402 2000-04-06 Ulrich Drepper <drepper@redhat.com>
9403
9404 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
9405 kernel does not allow relative seeks on descriptors associated
9406 with directories. Go back to get the position in the directory
9407 every time we enter the function. Return -1 and set errno if one
9408 entry could be read from the kernel but does not fit into the
9409 buffer passed in by the user.
9410
9411 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
9412 Support ..(2).. ellipsis.
9413 (parse_charmap): Recognize ..(2).. etc and pass step down.
9414 Correctly generate names for UCS4 characters.
9415
9416 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
9417 (ctype_finish): We know the wide character value for <SP>,
9418 don't search.
9419 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
9420 (charclass_ucs4_ellipsis): Likewise.
9421 (read_translit_ignore_entry): Store ellipsis step.
9422 (ctype_read): Recognize ..(2).. etc and pass step down.
9423
9424 * locale/programs/linereader.c (lr_token): When seeing comment
9425 character ignore only rest of line in sources but stop at escaped
9426 newline.
9427 Recognize ..(2).. and ....(2).....
9428
9429 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
9430 and tok_ellipsis4_2.
9431
9432 2000-04-06 Andreas Jaeger <aj@suse.de>
9433
9434 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
9435 removed, remove it here also.
9436 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
9437 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
9438 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
9439 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
9440
9441 2000-04-06 Jakub Jelinek <jakub@redhat.com>
9442
9443 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
9444 include bits/sigcontext.h.
9445 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9446
9447 2000-04-06 Ulrich Drepper <drepper@redhat.com>
9448
9449 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
9450 collation symbol definition. Value in quivalence definition must
9451 be defined, don't check that it is not.
9452
9453 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
9454 values as character names.
9455
9456 * locale/programs/ld-ctype.c (get_character): Handle missing
9457 repertoire map correctly.
9458
9459 2000-04-05 Cristian Gafton <gafton@redhat.com>
9460
9461 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
9462 because it is used in generic code.
9463 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
9464 * wcsmbs/wcwidth.h: Declare __ctype32_b.
9465 * intl/gettext.c: Include <locale.h>.
9466 * intl/ngettext.c: Likewise.
9467
9468 2000-04-05 Jakub Jelinek <jakub@redhat.com>
9469
9470 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
9471 socklen_t type for size.
9472 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
9473 init function interface.
9474 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9475 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
9476 sys/ucontext.h.
9477 (__jmp_buf): Declare the whole type structure here, don't use
9478 ucontext.
9479
9480 2000-04-05 Ulrich Drepper <drepper@redhat.com>
9481
9482 * iconv/skeleton.c (put16u): Fix typo.
9483 Reported by Bruno Haible <haible@ilog.fr>.
9484
9485 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
9486 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
9487 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
9488 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
9489 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
9490 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
9491
9492 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
9493 * Makefile (distribute): Add abi-versions.awk and
9494 firstversions.awk.
9495 Patches by Torsten Duwe <duwe@caldera.de>.
9496
9497 2000-04-05 Andreas Schwab <schwab@suse.de>
9498
9499 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
9500
9501 2000-04-05 Andreas Schwab <schwab@suse.de>
9502
9503 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
9504 entry point, used on Hurd.
9505
9506 2000-04-04 Andreas Jaeger <aj@suse.de>
9507
9508 * intl/Makefile: Only run the gettext test with shared libraries.
9509
9510 2000-03-16 Mark Kettenis <kettenis@gnu.org>
9511
9512 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
9513 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
9514
9515 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
9516
9517 * Makeconfig: Undo last change.
9518 * configure.in: If --disable-shared was given, don't set VERSIONING,
9519 don't define DO_VERSIONING, and don't give scare warning for no
9520 versioning.
9521 * configure: Regenerated.
9522
9523 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
9524
9525 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
9526
9527 2000-04-04 Andreas Jaeger <aj@suse.de>
9528
9529 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
9530
9531 2000-04-04 Ulrich Drepper <drepper@redhat.com>
9532
9533 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
9534 STV_HIDDEN and STV_INTERNAL during lookup.
9535 (profile_fixup): Likewise.
9536 * elf/dl-reloc.c (RESOLVE): Likewise.
9537
9538 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
9539 unaligned so that it compiles for system which need unaligned
9540 access handling.
9541
9542 2000-04-04 Andreas Schwab <schwab@suse.de>
9543
9544 * elf/cache.c (print_entry): Only look at the type field when
9545 printing the type.
9546
9547 2000-04-04 Andreas Schwab <schwab@suse.de>
9548
9549 * iconvdata/big5.c (BODY): Fix typo.
9550
9551 2000-04-04 Andreas Schwab <schwab@suse.de>
9552
9553 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
9554 function interface. Remove unused _dl_start_user entry point.
9555
9556 2000-04-03 Andreas Jaeger <aj@suse.de>
9557
9558 * include/arpa/inet.h (__inet_aton): Add protoype.
9559
9560 2000-04-01 Andreas Jaeger <aj@suse.de>
9561
9562 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
9563
9564 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
9565 * sysdeps/mach/mips/thread_state.h: Likewise.
9566
9567 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
9568 * sysdeps/generic/fegetenv.c: Likewise.
9569 * sysdeps/generic/fesetenv.c: Likewise.
9570 * sysdeps/generic/feupdateenv.c: Likewise.
9571 * sysdeps/generic/fraiseexcpt.c: Likewise.
9572 * sysdeps/generic/fsetexcptflg.c: Likewise.
9573 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
9574 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
9575 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
9576 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9577
9578 2000-04-02 H.J. Lu <hjl@gnu.org>
9579
9580 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
9581
9582 2000-04-03 Ulrich Drepper <drepper@redhat.com>
9583
9584 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
9585 (add_name_to_object): Add cast in malloc call.
9586 (fillin_rpath): Optimize loop to initialize ->status a bit.
9587
9588 * sysdeps/i386/dl-machine.h: Undo last change.
9589 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
9590 Restore %edx register after call here.
9591
9592 * sysdeps/arm/atomicity.h: New file.
9593 Contributed by Jesper Skov <jskov@redhat.com>.
9594
9595 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
9596
9597 * Makeconfig (preprocess-versions): Undo last change.
9598 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
9599
9600 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
9601 here, before we might move the stack.
9602 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
9603 (init1): And not here.
9604
9605 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
9606 change, to restore argc value in call-clobbered register after
9607 RTLD_START_SPECIAL_INIT, which will contain a call.
9608
9609 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
9610 allocating and initializing L->l_initfini.
9611
9612 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
9613
9614 2000-04-03 Ulrich Drepper <drepper@redhat.com>
9615
9616 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
9617 RUNPATH, RPATH, and LD_LIBRARY_PATH.
9618 (open_path): Change type of fourth parameter. Make pointer to array
9619 of pointers. Create variable dirs with original type.
9620 Track whether any directory for the object exists and if not,
9621 change *DIRSP to (void*) -1 to signal there is no such search path.
9622 (_dl_map_object): Change all calls of open_path.
9623 Rewrite decompose_rpath calls.
9624
9625 2000-03-31 Andreas Schwab <schwab@suse.de>
9626
9627 * string/strfry.c: Declare STATE as array of char instead of int
9628 and do not initialize it (done by initstate_r). Pass correct
9629 size.
9630
9631 2000-04-03 Ulrich Drepper <drepper@redhat.com>
9632
9633 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
9634
9635 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
9636 instruction out of the code.
9637
9638 2000-04-02 Ulrich Drepper <drepper@redhat.com>
9639
9640 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
9641 element at this position.
9642
9643 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
9644 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
9645 l_reldeps elements.
9646 * elf/dl-lookup.c (add_dependency): New function.
9647 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
9648 dynamically loaded object.
9649 (_dl_lookup_symbol_skip): Likewise.
9650 (_dl_lookup_versioned_symbol): Likewise.
9651 (_dl_lookup_versioned_symbol_skip): Likewise.
9652 * elf/dl-open.c: Don't define _dl_load_lock here...
9653 * elf/rtld.c: ...but here...
9654 * elf/dl-support.c: ...and here.
9655 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
9656 through relocation.
9657 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
9658 relocations.
9659 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
9660 anymore.
9661 * dlfcn/glrefmain.c: Add one more debug message.
9662
9663 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
9664 command line.
9665 * Makerules (sysd-versions): Use ( ) instead of { }.
9666
9667 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
9668 optimize for the non-debugging case.
9669 * elf/dl-lookup.c: Likewise.
9670 * sysdeps/generic/libc-start.c: Likewise.
9671
9672 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
9673
9674 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
9675 (init1): Don't initialize __environ here, since init already does it.
9676 (first_init): New function, broken out of _init.
9677 (_hurd_stack_setup): Use it.
9678 [SHARED] (_dl_init_first): New function, renamed from old _init.
9679 (init1) [SHARED]: Don't call posixland_init here.
9680 (posixland_init): Take ENVP arg, so signature is usual for initializer.
9681 [SHARED] (_init): Define as alias for posixland_init.
9682 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
9683 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
9684 RTLD_START_SPECIAL_INIT before calling initializers.
9685 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
9686 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
9687 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
9688 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
9689
9690 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
9691 since we define the function with the name `tmpfile'.
9692
9693 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
9694 * hurd/Versions: Likewise.
9695
9696 2000-04-02 Ulrich Drepper <drepper@redhat.com>
9697
9698 * elf/dl-runtime.c (fixup): Fix typo in comment.
9699
9700 * resolv/netdb.h (getnameinfo): All length parameters are of type
9701 socklen_t.
9702 * inet/getnameinfo.c: Likewise.
9703
9704 2000-04-01 Ulrich Drepper <drepper@redhat.com>
9705
9706 * posix/unistd.h (socklen_t): Define if it has not yet happened.
9707 (gethostname): Change type of second parameter to socklen_t.
9708 * include/unistd.h (__gethostname): Change type of second
9709 parameter to socklen_t.
9710 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
9711 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
9712 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
9713 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
9714 Likewise.
9715 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
9716 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
9717 Allow definition elsewhere.
9718 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
9719 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9720 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
9721 * sysdeps/generic/bits/types.h: Define __socklen_t.
9722 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
9723 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
9724 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
9725 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9726 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
9727 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
9728 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
9729
9730 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
9731 (inet_lnaof): Likewise.
9732 (inet_netof): Likewise.
9733 (inet_network): Likewise.
9734 (inet_aton): Likewise.
9735 (inet_makeaddr): Change parameter types to in_addr_t.
9736 (inet_neta): Likewise.
9737 (inet_ntop): Change type of last parameter to socklen_t.
9738 (inet_aton): Only make available if __USE_MISC.
9739 (inet_neta): Likewise.
9740 (inet_net_ntop): Likewise.
9741 (inet_net_pton): Likewise.
9742 (inet_nsap_ntoa): Likewise.
9743
9744 * inet/in.h: Define in_port_t type.
9745 Define in_addr_t type.
9746 (struct in_addr): Use in_addr_t in definition.
9747 (IN_CLASSA): Use cast to in_addr_t.
9748 (IN_CLASSB): Likewise.
9749 (IN_CLASSC): Likewise.
9750 (IN_CLASSD): Likewise.
9751 (IN_EXPERIMENTAL): Likewise.
9752 (IN_BADCLASS): Likewise.
9753 (INADDR_ANY): Likewise.
9754 (INADDR_BROADCAST): Likewise.
9755 (INADDR_NONE): Likewise.
9756 (INADDR_LOOPBACK): Likewise.
9757 (INADDR_UNSPEC_GROUP): Likewise.
9758 (INADDR_ALLHOSTS_GROUP): Likewise.
9759 (INADDR_ALLRTRS_GROUP): Likewise.
9760 (INADDR_MAX_LOCAL_GROUP): Likewise.
9761 (struct sockaddr_in): Use in_port_t for sin_port element.
9762 (struct sockaddr_in6): Use in_port_t for sin6_port element.
9763 Use uint8_t instead of u_int8_t.
9764
9765 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
9766 Call __inet_aton instead of inet_aton.
9767 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
9768
9769 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
9770 (innetgr): Likewise.
9771 (struct addrinfo): Use socklen_t for ai_addrlen element.
9772
9773 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
9774 IPV6_RECVERR): New defines.
9775
9776 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
9777 * inet/getnetbyad.c: Likewise.
9778 * inet/getnetbyad_r.c: Likewise.
9779 * nis/nss_nis/nis-network.c: Likewise.
9780 * nis/nssplus_nis/nisplus-network.c: Likewise.
9781 * nss/nss_files/files-network.c: Likewise.
9782 * resolv/netdb.h: Define uint32_t if not already happened.
9783 Include bits/netdb.h. Remove definition of struct netent.
9784 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
9785 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
9786 * sysdeps/generic/bits/netdb.h: New file.
9787 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
9788
9789 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
9790 (tests): Add glrefmain.
9791 Add rules to build modules and run tests. Ignore result of glrefmain
9792 for now since it fails.
9793 * dlfcn/glrefmain.c: New file.
9794 * dlfcn/glreflib1.c: New file.
9795 * dlfcn/glreflib2.c: New file.
9796
9797 * test-skeleton.c: Include <string.h> for strsignal prototype.
9798
9799 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
9800 to be missing.
9801
9802 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
9803 former init-first.h. Initialize __libc_multiple_libcs.
9804
9805 2000-03-31 Ulrich Drepper <drepper@redhat.com>
9806
9807 * iconv/skeleton.c: Define access macros with u suffix. Adjust
9808 #if expression for use of unaligned function to the one used in
9809 the definition of these functions.
9810 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
9811 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
9812 (internal_ucs4le_loop_unaligned): New function.
9813
9814 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
9815 (tests): Add order.
9816 (module-names): Add dep1, dep2, dep3, and dep4.
9817 Add dependencies for dep* modules and order.
9818 Define rule for order.out which checks the result.
9819 * elf/dep1.c: New file.
9820 * elf/dep2.c: New file.
9821 * elf/dep3.c: New file.
9822 * elf/dep4.c: New file.
9823 * elf/order.c: New file.
9824
9825 * elf/dl-init.c: Fix typo in comment.
9826
9827 2000-03-31 Andreas Jaeger <aj@suse.de>
9828
9829 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
9830 init function interface.
9831 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
9832
9833 2000-03-31 Andreas Jaeger <aj@suse.de>
9834
9835 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
9836 * sysdeps/mips/fpu/fegetenv.c: Likewise.
9837 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
9838 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
9839 * sysdeps/mips/fpu/fesetenv.c: Likewise.
9840
9841 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
9842 anymore, update comment.
9843
9844 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9845
9846 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
9847 SHLIB_COMPAT - the struct is always needed.
9848
9849 2000-03-31 Ulrich Drepper <drepper@redhat.com>
9850
9851 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
9852 * elf/dl-support.c: Define _dl_starting_up.
9853
9854 2000-03-30 Ulrich Drepper <drepper@redhat.com>
9855
9856 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
9857 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
9858
9859 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
9860
9861 * elf/Makefile (dl-routines): Remove preinit.
9862 * elf/Versions: Remove _dl_preinit.
9863 * elf/dl-preinit.c: Removed. Move content into...
9864 * elf/dl-init.c: ...here.
9865 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
9866
9867 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
9868 elements.
9869
9870 2000-03-29 Geoff Clare <gwc@unisoft.com>
9871
9872 * stdlib/strfmon.c: Corrected problems with the code that
9873 sets default values for [np]_sep_by_space and
9874 [np]_sign_posn; also the new positive/negative alignment
9875 code from the previous patch was not quite right for
9876 [np]_sign_posn = 0.
9877
9878 * localedata/tst-fmon.data: Changes corresponding to the
9879 two sets of fixes made to stdlib/strfmon.c.
9880
9881 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
9882
9883 * malloc/malloc.c: Declare bit flags UL so that they will not
9884 default to int size when being inverted.
9885
9886 2000-03-29 Andreas Jaeger <aj@suse.de>
9887
9888 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
9889 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
9890
9891 2000-03-29 Andreas Jaeger <aj@suse.de>,
9892 Ralf Baechle <ralf@uni-koblenz.de>
9893
9894 * Makeconfig: Introduce new variable SHARED to mark code used in
9895 the shared library.
9896 * elf/dl-close.c: Use it instead of PIC.
9897 * elf/dl-load.c: Likewise.
9898 * elf/dl-open.c: Likewise.
9899 * hurd/geteuids.c: Likewise.
9900 * include/libc-symbols.h: Likewise.
9901 * include/shlib-compat.h: Likewise.
9902 * libio/freopen.c: Likewise.
9903 * linuxthreads/cancel.c: Likewise.
9904 * linuxthreads/pthread.c: Likewise.
9905 * linuxthreads/wrapsyscall.c: Likewise.
9906 * nss/nsswitch.c: Likewise.
9907 * stdio-common/vfprintf.c: Likewise.
9908 * sysdeps/arm/init-first.c: Likewise.
9909 * sysdeps/i386/init-first.c: Likewise
9910 * sysdeps/generic/init-first.c: Likewise.
9911 * sysdeps/generic/libc-start.c: Likewise.
9912 * sysdeps/mips/init-first.c: Likewise.
9913 * sysdeps/powerpc/elf/libc-start.c: Likewise.
9914 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9915 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
9916 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
9917 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9918
9919 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
9920
9921 2000-03-29 Andreas Jaeger <aj@suse.de>
9922
9923 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
9924 Use D_PTR to access relocated entries in l_info.
9925 (elf_machine_rela): Likewise.
9926
9927 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
9928 Likewise.
9929 (elf_machine_rela): Likewise.
9930
9931 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
9932 Likewise.
9933 (__elf_machine_fixup_plt): Likewise.
9934 (__process_machine_rela): Likewise.
9935
9936 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
9937 (elf_machine_rela): Likewise.
9938
9939 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
9940 (elf_machine_rel): Likewise.
9941
9942 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
9943 (elf_machine_fixup_plt): Likewise.
9944 (elf_machine_rela): Likewise.
9945
9946 2000-03-29 Andreas Jaeger <aj@suse.de>
9947
9948 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
9949 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9950 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9951 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
9952 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
9953 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
9954 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
9955 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
9956 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
9957 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
9958 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
9959 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
9960 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
9961 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
9962 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9963
9964 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
9965 macros, remove K&R prototypes.
9966
9967 2000-03-30 Ulrich Drepper <drepper@redhat.com>
9968
9969 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
9970 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
9971 (PR libc/1677).
9972
9973 2000-03-30 Andreas Jaeger <aj@suse.de>
9974
9975 * misc/sys/cdefs.h: Remove K&R support.
9976
9977 2000-03-30 Ulrich Drepper <drepper@redhat.com>
9978
9979 * iconv/skeleton.c: Avoid compiling unaligned versions in some
9980 more cases.
9981 * iconv/loop.c: Likewise.
9982
9983 2000-03-29 Bruno Haible <haible@clisp.cons.org>
9984
9985 * iconv/loop.c (put16): Remove __const. Fix access index.
9986 (put32): Remove __const. Use uint32_t instead of uint16_t.
9987 * iconv/skeleton.c: Likewise.
9988
9989 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
9990
9991 * mach/Versions (libc: GLIBC_2.0)
9992 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
9993 __vm_allocate on this.
9994 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
9995 mutex- and spinlock-related symbols on this.
9996 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
9997 New version set. Lock-related symbols go here instead in this case.
9998 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
9999 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
10000 cthread_getspecific, cthread_setspecific, __libc_getspecific.
10001 * hurd/Versions
10002 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
10003 Put them here instead.
10004 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
10005 New version set. Those cthreads symbols go here instead in this case.
10006 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
10007
10008 2000-03-30 Ulrich Drepper <drepper@redhat.com>
10009
10010 * elf/dl-init.c (_dl_init): We don't need to call constructors
10011 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
10012
10013 Implement dynamic determination of constructor/destructor order in
10014 the dynamic linker.
10015 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
10016 (GLIBC_2.2): Add _dl_init.
10017 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
10018 r_duplist is not anymore allocated separately. l_initfini is and
10019 therefore free it if necessary.
10020 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
10021 malloc block. Otherwise allocate l_initfini list only.
10022 Put dependencies for the object in l_initfini list.
10023 Sort dependencies for the object to be loaded topologically.
10024 * elf/dl-fini.c: Before running the destructors sort the topologically.
10025 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
10026 call constructors instead of iterating over the pointers. Get list of
10027 objects for which to run constructors from l_initfini element. Accept
10028 argc, argv, and env as parameters and pass them to the constructors.
10029 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
10030 with size of dynamic section.
10031 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
10032 _dl_init_next and calling constructors ourself.
10033 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
10034 Take argc, argv, and env as parameters and pass them to the
10035 constructors. Rewrite to call all constructors and not iterate over
10036 the pointers.
10037 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
10038 precompute l_initcount and l_preinitcount.
10039 * elf/link.h (struct link_map): Add l_ldnum member.
10040 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
10041 l_initcount, and l_preinitcount. Add l_initfini.
10042 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
10043 one for _dl_init.
10044 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
10045 function interface.
10046 * sysdeps/unix/sysv/linux/init-first.h: Removed.
10047 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
10048 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
10049 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
10050 conventions now match.
10051
10052 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
10053 effect for shared objects. Don't emit message and call only for
10054 static library.
10055
10056 2000-03-29 Ulrich Drepper <drepper@redhat.com>
10057
10058 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
10059 CSA_Z243.4-1985-1..UCS2.
10060 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
10061 ISO-8859-10..UCS2.
10062
10063 2000-03-29 Andreas Jaeger <aj@suse.de>
10064
10065 * include/unistd.h: Remove duplicate entry for __rmdir.
10066 Remove declaration of __mkdir since __mkdir is declared in
10067 sys/stat.h.
10068
10069 * manual/creature.texi (Feature Test Macros): Fix typo, reported
10070 by Michael Deutschmann <michael@talamasca.ocis.net>.
10071
10072 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
10073 * sysdeps/mips/fpu/fegetenv.c: Likewise.
10074 * sysdeps/mips/fpu/fesetenv.c: Likewise.
10075 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
10076 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
10077
10078 2000-03-28 Andreas Jaeger <aj@suse.de>
10079
10080 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
10081 declaration, the prototype is defined via bits/mathcalls.h.
10082 (__sincosf): Likewise.
10083 (__sincosl): Likewise.
10084 (ldexp): Likewise.
10085 (ldexpf): Likewise.
10086 (ldexpl): Likewise.
10087 (__finite): Likewise.
10088 (__inline_mathcodeNP): New macro without prototype
10089 declarations.
10090 (__inline_mathcodeNP2): Likewise.
10091 (__inline_mathcodeNP3): Likewise.
10092 (__inline_mathcodeNP_): Likewise.
10093 (__inline_mathcodeNP2_): Likewise.
10094 (__inline_mathcodeNP3_): Likewise.
10095 (__inline_mathopNP): Likewise.
10096 (__inline_mathop_declNP): Likewise.
10097 (__inline_mathop_declNP_): Likewise.
10098 (__inline_mathcode_): Use __inline_mathcodeNP_.
10099 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
10100 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
10101 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
10102 (__expm1l): Don't define prototype, the prototype is defined via
10103 bits/mathcalls.h.
10104 (exp): Likewise.
10105 (__expl): Likewise.
10106 (tan): Likewise.
10107 (atan2): Likewise.
10108 (__atan2l): Likewise.
10109 (fmod): Likewise.
10110 (pow): Likewise.
10111 (fabsf): Likewise.
10112 (fabsl): Likewise.
10113 (__fabsl): Likewise.
10114 (asin): Likewise.
10115 (acos): Likewise.
10116 (sinh): Likewise.
10117 (cosh): Likewise.
10118 (tanh): Likewise.
10119 (floor): Likewise.
10120 (ceil): Likewise.
10121 (expm1): Likewise.
10122 (log1p): Likewise.
10123 (asinh): Likewise.
10124 (acosh): Likewise.
10125 (atanh): Likewise.
10126 (hypot): Likewise.
10127 (logb): Likewise.
10128 (fma): Likewise.
10129 (drem): Likewise.
10130 (sqrt): Likewise.
10131 (__sqrtl): Likewise.
10132 (sin): Likewise.
10133 (cos): Likewise.
10134 (atan): Likewise.
10135 (log): Likewise.
10136 (log10): Likewise.
10137 (asinh): Likewise.
10138 (log2): Likewise.
10139 (rint): Likewise.
10140
10141 2000-03-28 Ulrich Drepper <drepper@redhat.com>
10142
10143 * Makerules: If make variable md5 is defined to yes after
10144 generating dependencies generate MD5 sum for the object.
10145
10146 * iconv/gconv_builtin.h: Fix length in transformation definition
10147 for UNICODEBIG.
10148
10149 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
10150
10151 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
10152 allow as well reading from/writing to unaligned addresses on machines
10153 which don't support this in hardware. Use FCTNAME macro to define
10154 function name. Include the file a second time for platforms which
10155 need special unaligned handling.
10156 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
10157 to access potentially unaligned addresses. These macros are intended
10158 to be used only outside the loops.
10159 (unaligned): New definition. In case the machine can handle unaligned
10160 access define as zero. Otherwise as a variable which is initialized
10161 as nonzero in case the buffer passed in at runtime is unaligned with
10162 respect to the character set encoding involved.
10163 Call aligned or unaligned looop functions according to unaligned
10164 variable.
10165 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
10166 of direct casting pointer to potentially handle unaligned memory
10167 accesses.
10168 * iconvdata/8bit-generic.c: Likewise.
10169 * iconvdata/ansi_x3.110.c: Likewise.
10170 * iconvdata/big5.c: Likewise.
10171 * iconvdata/euc-cn.c: Likewise.
10172 * iconvdata/euc-jp.c: Likewise.
10173 * iconvdata/euc-kr.c: Likewise.
10174 * iconvdata/euc-tw.c: Likewise.
10175 * iconvdata/gbk.c: Likewise.
10176 * iconvdata/iso-2022-cn.c: Likewise.
10177 * iconvdata/iso-2022-jp.c: Likewise.
10178 * iconvdata/iso-2022-kr.c: Likewise.
10179 * iconvdata/iso646.c: Likewise.
10180 * iconvdata/iso_6937-2.c: Likewise.
10181 * iconvdata/iso_6937.c: Likewise.
10182 * iconvdata/johab.c: Likewise.
10183 * iconvdata/sjis.c: Likewise.
10184 * iconvdata/t.61.c: Likewise.
10185 * iconvdata/uhc.c: Likewise.
10186 * iconvdata/unicode.c: Likewise.
10187 * iconvdata/utf-16.c: Likewise.
10188
10189 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
10190 prototypes.
10191
10192 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
10193 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
10194 public.
10195 * malloc/mcheck.h (mcheck_check_all): Declare.
10196
10197 * stdio-common/Makefile (tests): Add tst-obprintf.
10198
10199 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
10200
10201 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
10202 Declare pthread_sigmask.
10203
10204 * csu/version.c: Add 2000 to copyright years.
10205 Remove Emacs local variables section.
10206
10207 2000-03-23 Bruno Haible <haible@clisp.cons.org>
10208
10209 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
10210 __gconv_transform_internal_ucs2little): Remove declarations.
10211 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
10212 __gconv_transform_internal_ucs2): Never need to bswap_16.
10213 (__gconv_transform_ucs2reverse_internal,
10214 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
10215
10216 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
10217
10218 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
10219 obsoleting version not being defined at all, in which case the
10220 result is always true.
10221
10222 * Makeconfig (preprocess-versions): New canned sequence for running
10223 cpp on shlib-versions and the like.
10224 (soversions.i): Use it.
10225 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
10226 Versions.def and Versions files.
10227
10228 2000-03-27 Ulrich Drepper <drepper@redhat.com>
10229
10230 * stdio-common/tst-obprintf.c (main): Add another check to see
10231 obstack_printf handling all possible beginnings of the block
10232 inside an obstack chunk.
10233
10234 * locale/programs/localedef.c: Use __malloc_initialize_hook to
10235 install mcheck handler.
10236
10237 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
10238 handling problem.
10239
10240 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
10241
10242 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
10243
10244 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
10245 on [HAVE_ELF && DO_VERSIONING].
10246
10247 2000-03-27 Ulrich Drepper <drepper@redhat.com>
10248
10249 * stdio-common/tst-obprintf.c: New file.
10250
10251 2000-03-26 Ulrich Drepper <drepper@redhat.com>
10252
10253 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
10254 _IO_OVERFLOW directly instead through __overflow.
10255
10256 * locale/programs/localedef.c (construct_output_path): If path
10257 contains a / compute the end of the directory name correctly.
10258
10259 * include/features.h: Undef and document __USE_XOPEN2K.
10260
10261 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
10262 whenever a function is called. Initiated by calling mcheck_pedantic
10263 instead of mcheck.
10264 * malloc/mcheck.h: Declare mcheck_pedantic.
10265 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
10266 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
10267 for now.
10268
10269 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
10270
10271 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
10272 * dlfcn/dlopenold.c: Likewise.
10273 * nss/getXXbyYY_r.c: Likewise.
10274 * nss/getXXent_r.c: Likewise.
10275 * hurd/hurdinit.c: Likewise.
10276 * hurd/compat-20.c: Likewise.
10277 * libio/oldiofopen.c: Likewise.
10278 * libio/oldiofclose.c: Likewise.
10279 * libio/oldiofdopen.c: Likewise.
10280 * libio/oldfileops.c: Likewise.
10281 * libio/oldstdfiles.c: Likewise.
10282 * libio/oldiofsetpos.c: Likewise.
10283 * libio/oldiofgetpos.c: Likewise.
10284 * libio/oldiofgetpos64.c: Likewise.
10285 * libio/oldiofsetpos64.c: Likewise.
10286 * libio/oldiopopen.c: Likewise.
10287 * libio/oldpclose.c: Likewise.
10288 * libio/oldtmpfile.c: Likewise.
10289 * libio/freopen.c (freopen): Likewise.
10290 * libio/iofclose.c (_IO_new_fclose): Likewise.
10291
10292 * sysdeps/mach/sys/reboot.h: Include <features.h>.
10293 (reboot): Declare it.
10294
10295 * libio/Makefile (headers): Add bits/stdio-lock.h here.
10296
10297 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
10298
10299 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
10300
10301 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
10302 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
10303 We need this for the sbrk decl, which can be included without Unix98.
10304
10305 2000-03-20 Richard Henderson <rth@cygnus.com>
10306
10307 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
10308 argument to yperr2nss is an int, not size_t.
10309 * posix/regex.c (print_partial_compiled_pattern): Cast all
10310 ptrdiff_t to long for printing.
10311 (print_compiled_pattern): Use Z for printing size_t.
10312 * posix/testfnm.c (tests): Avoid trigraphs.
10313 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
10314 Use a C comment, not an assembly comment.
10315
10316 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
10317 of __ASSUME_32BITUIDS.
10318
10319 2000-03-26 Ulrich Drepper <drepper@redhat.com>
10320
10321 * libio/iofopncook.c: Remove K&R prototypes.
10322
10323 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
10324
10325 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
10326 an initial value of 1024 instead of RLIM_INFINITY.
10327
10328 * Versions.def (libmachuser, libhurduser): Remove these sections,
10329 since these libraries do not presently use symbol versions.
10330
10331 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
10332 is RLIM_INFINITY, return -1 instead.
10333
10334 2000-03-24 Andreas Jaeger <aj@suse.de>
10335
10336 * Makefile (postclean): Added soversions.i.
10337
10338 2000-03-24 Scott Bambrough <scottb@netwinder.org>
10339
10340 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
10341 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
10342 and _FPU_IEEE. Change _FPU_RESERVED.
10343
10344 2000-03-24 Scott Bambrough <scottb@netwinder.org>
10345
10346 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
10347
10348 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
10349
10350 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
10351 (gaih_inet): Remove unused duplicate variable.
10352
10353 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
10354 Don't use __libc_sa_len, which only exists for Linux. Just handle
10355 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
10356 only flavors supported by this function anyway.
10357
10358 2000-03-24 Geoff Clare <gwc@unisoft.com>
10359
10360 * stdlib/strfmon.c: Corrected problems with missing signs and
10361 missing or extra spaces; allow for sign strings longer than
10362 one character; add padding to ensure positive and negative
10363 formats are aligned when a left precision is used.
10364
10365 2000-03-26 Ulrich Drepper <drepper@redhat.com>
10366
10367 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
10368 Patch by John Mizel <John.Mizel@msdw.com>.
10369
10370 2000-03-25 Ulrich Drepper <drepper@redhat.com>
10371
10372 * manual/install.texi: Remove references to crypt add-on.
10373
10374 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
10375
10376 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
10377 section while taking the _hurd_rlimit_lock.
10378 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
10379
10380 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
10381
10382 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
10383 using $(LN_S).
10384
10385 * sysdeps/mach/hurd/if_index.c: New file.
10386
10387 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
10388 * sysdeps/gnu/net/if.h: here.
10389 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
10390 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
10391 * sysdeps/generic/net/if.h: New file. Declares just the standard
10392 functions and `struct if_nameindex' type.
10393 * socket/Makefile (headers): Add net/if.h here.
10394 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
10395 * sysdeps/mach/hurd/Dist: Remove it here.
10396 * sysdeps/unix/sysv/linux/Dist: And here.
10397 * sysdeps/generic/if_index.c: Include <net/if.h>.
10398
10399 2000-03-24 Andreas Jaeger <aj@suse.de>
10400
10401 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
10402 access relocated entries in l_info.
10403 (elf_machine_got_rel): Likewise.
10404 (elf_machine_runtime_setup): Likewise.
10405 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
10406 (elf_machine_runtime_setup): Likewise.
10407 (__dl_runtime_resolve): Likewise.
10408
10409 2000-03-23 Ulrich Drepper <drepper@redhat.com>
10410
10411 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
10412 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
10413 according to RFC 2553.
10414 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
10415 * inet/getnameinfo.c: Likewise.
10416 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
10417
10418 2000-03-23 Bruno Haible <haible@clisp.cons.org>
10419
10420 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
10421 Remove no-op pointer increment.
10422
10423 2000-03-23 Andreas Jaeger <aj@suse.de>
10424
10425 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
10426 follow change for libio.h from 2000-03-10.
10427
10428 2000-03-23 Andreas Jaeger <aj@suse.de>
10429
10430 * elf/dl-addr.c: Adjust include paths for ldsodefs location
10431 change.
10432 * elf/dl-debug.c: Likewise.
10433 * elf/dl-deps.c: Likewise.
10434 * elf/dl-error.c: Likewise.
10435 * elf/dl-fini.c: Likewise.
10436 * elf/dl-init.c: Likewise.
10437 * elf/dl-load.c: Likewise.
10438 * elf/dl-lookup.c: Likewise.
10439 * elf/dl-minimal.c: Likewise.
10440 * elf/dl-object.c: Likewise.
10441 * elf/dl-open.c: Likewise.
10442 * elf/dl-preinit.c: Likewise.
10443 * elf/dl-profile.c: Likewise.
10444 * elf/dl-profstub.c: Likewise.
10445 * elf/dl-reloc.c: Likewise.
10446 * elf/dl-runtime.c: Likewise.
10447 * elf/dl-support.c: Likewise.
10448 * elf/dl-symbol.c: Likewise.
10449 * elf/dl-version.c: Likewise.
10450 * elf/rtld.c: Likewise.
10451 * elf/sprof.c: Likewise.
10452 * sysdeps/generic/dl-cache.c: Likewise.
10453 * sysdeps/generic/dl-origin.c: Likewise.
10454 * sysdeps/generic/dl-sysdep.c: Likewise.
10455 * sysdeps/generic/elf/backtracesyms.c: Likewise.
10456 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
10457 * sysdeps/generic/libc-start.c: Likewise.
10458 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10459 * sysdeps/powerpc/dl-machine.c: Likewise.
10460 * sysdeps/powerpc/elf/libc-start.c: Likewise.
10461 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10462 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10463 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
10464
10465 * elf/ldsodefs.h: Move file to ...
10466 * sysdeps/generic/ldsodefs.h: ... here.
10467
10468 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
10469
10470 * sysdeps/mips/elf/ldsodefs.h: New file.
10471
10472 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
10473 entries in l_info.
10474 (_dl_check_map_versions): Likewise.
10475 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10476 * elf/dl-load.c (_dl_init_paths): Likewise.
10477 (_dl_map_object): Likewise.
10478 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
10479 (elf_get_dynamic_info): Likewise.
10480 * elf/do-lookup.h (FCT): Likewise.
10481 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
10482 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
10483 * elf/dl-addr.c (_dl_addr): Likewise.
10484 * elf/dl-runtime.c (profile_fixup): Likewise.
10485 (fixup): Likewise.
10486 * elf/dl-init.c (_dl_init_next): Likewise.
10487 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
10488 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
10489 (DISTINGUISH_LIB_VERSIONS): Likewise.
10490 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
10491 (elf_machine_rel): Likewise.
10492
10493 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
10494 for writable dynamic section.
10495
10496 2000-03-22 Ulrich Drepper <drepper@redhat.com>
10497
10498 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
10499 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
10500
10501 2000-03-22 Andreas Jaeger <aj@suse.de>
10502
10503 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
10504 from latest Linux kernel.
10505
10506 2000-03-21 Andreas Jaeger <aj@suse.de>
10507
10508 * Versions.def: Add version 2.1.4.
10509
10510 2000-03-21 Ulrich Drepper <drepper@redhat.com>
10511
10512 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
10513 * libio/oldiofopen.c: Likewise.
10514 * libio/oldiofclose.c: Likewise.
10515 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
10516
10517 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
10518
10519 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
10520 indicating the first version set to obsolete the conditionalized code.
10521 (compat_symbol): New macro.
10522 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
10523 rhs be the ABI_* macro for the subsuming version. Assign increasing
10524 integer values to the ABI_* macros for supported versions.
10525 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
10526 compat_symbol macro.
10527
10528 2000-03-21 Ulrich Drepper <drepper@redhat.com>
10529
10530 * nscd/connections.c (nscd_run): Pretty print.
10531 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
10532
10533 * manual/charset.texi: Fix typos. Rephrase.
10534 * manual/process.texi: Likewise.
10535 * manual/signal.texi: Likewise.
10536 Patches by Mike Coleman <mkc@kc.net>.
10537
10538 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
10539 versions.
10540 * libio/iofdopen.c: Likewise.
10541 * libio/iofgetpos.c: Likewise.
10542 * libio/iofgetpos64.c: Likewise.
10543 * libio/iofopen.c: Likewise.
10544 * libio/iofsetpos.c: Likewise.
10545 * libio/iofsetpos64.c: Likewise.
10546 * libio/iopopen.c: Likewise.
10547 * libio/oldiofopen.c: Likewise.
10548 * libio/pclose.c: Likewise.
10549 * sysdeps/gnu/siglist.c: Likewise.
10550 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
10551
10552 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
10553 chance to expand VERSION_##lib##_##version.
10554
10555 * libio/fileops.c: Use new macros from shlib-compat.h to define
10556 versions.
10557 * libio/iofclose.c: Likewise.
10558 * libio/oldiofclose.c: Likewise.
10559 Patch by Roland McGrath <roland@frob.com>.
10560
10561 2000-03-21 Jakub Jelinek <jakub@redhat.com>
10562
10563 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
10564 Lay out struct sigcontext according to what really gets passed on
10565 the stack.
10566 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
10567 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
10568 (prgregset_t, prfpregset_t): Define to elf_* types.
10569 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
10570 Define to correct value.
10571 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
10572 sigcontext.
10573 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
10574
10575 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
10576
10577 * scripts/firstversions.awk: Allow multiple version sets in the
10578 "earliest version" specification, meaning that version sets in the
10579 gaps between listed versions should be folded into the earliest later
10580 version that is explicitly listed.
10581 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
10582 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
10583
10584 2000-03-21 Ulrich Drepper <drepper@redhat.com>
10585
10586 * iconv/gconv_builtin.c: Include <endian.h>.
10587 * iconv/gconv_builtin.h: Add UCS-BE aliases.
10588 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
10589 according to current platform.
10590 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
10591 __gconv_transform_internal_ucs2reverse, and
10592 __gconv_transform_internal_ucs4le.
10593 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
10594 __gconv_transform_ucs2reverse_internal and
10595 __gconv_transform_internal_ucs2reverse.
10596 * iconvdata/Makefile (modules): Add UNICODE.
10597 (distribute): Add unicode.c.
10598 * iconvdata/gconv-modules: Add definitions for UNICODE module.
10599 * iconvdata/unicode.c: New file.
10600
10601 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
10602 determine byte order of input and convert accordingly.
10603
10604 * iconvdata/utf-16.c (gconv_init): Fix typo.
10605
10606 2000-03-20 Ulrich Drepper <drepper@redhat.com>
10607
10608 * iconvdata/gconv-modules: Fix typo.
10609
10610 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
10611 more messages.
10612
10613 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
10614
10615 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
10616
10617 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
10618
10619 2000-03-20 Ulrich Drepper <drepper@redhat.com>
10620
10621 * misc/Makefile (routines): Add mincore.
10622
10623 2000-03-20 Andreas Jaeger <aj@suse.de>
10624
10625 * sysdeps/generic/mincore.c: New stub file.
10626
10627 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
10628 from latest Linux kernel.
10629
10630 2000-03-20 Ulrich Drepper <drepper@redhat.com>
10631
10632 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
10633 _SC_GETPW_R_SIZE_MAX.
10634
10635 2000-03-20 Richard Henderson <rth@cygnus.com>
10636
10637 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
10638 in GLIBC_2.1.4.
10639
10640 2000-03-20 Richard Henderson <rth@cygnus.com>
10641
10642 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
10643 of arithmetic instructions.
10644
10645 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
10646 with the fpcr. Protect from INV exception.
10647 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
10648 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
10649 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
10650
10651 * sysdeps/alpha/fpu/s_copysign.c: New.
10652 * sysdeps/alpha/fpu/s_copysignf.c: New.
10653 * sysdeps/alpha/fpu/s_fabs.c: New.
10654 * sysdeps/alpha/fpu/s_fabsf.c: New.
10655 * sysdeps/alpha/fpu/s_rint.c: New.
10656 * sysdeps/alpha/fpu/s_rintf.c: New.
10657
10658 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
10659
10660 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
10661 Kill sethae.
10662 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
10663 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
10664 Use physical addresses not KSEG addresses.
10665 (io_system): Add PYXIS.
10666 (io): Remove hae.reg, sys, hae_shift.
10667 (stb_mb, stw_mb, stl_mb, __sethae): New.
10668 (inline_outb, inline_outw, inline_outl): Don't set hae.
10669 (inline_inb, inline_inw, inline_inl): Likewise.
10670 (dense_sethae): New null function.
10671 (struct cpuinfo_data): New.
10672 (process_cpuinfo): Use local and stack variables, not static.
10673 Move readlink check here from init_iosys.
10674 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
10675 (_iopl): Simplify.
10676 (_hae_shift): Calculate it here.
10677 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
10678 add pciconfig_iobase.
10679
10680 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
10681
10682 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
10683 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
10684
10685 * scripts/versions.awk: Fixed version renaming code to distinguish
10686 libraries properly.
10687
10688 2000-03-19 Ulrich Drepper <drepper@redhat.com>
10689
10690 * include/stdlib.h: Add prototype for __cxa_atexit.
10691
10692 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
10693 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
10694
10695 2000-03-17 Cristian Gafton <gafton@redhat.com>
10696
10697 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
10698 existing rtld-installed-name.
10699 ($(rtld-installed-name)): Request libc-$(version) be installed too.
10700 replace existing rtld-installed-name using $(symbolic-link-prog).
10701
10702 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
10703
10704 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
10705 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
10706 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
10707 but not the former.
10708
10709 2000-03-19 Ulrich Drepper <drepper@redhat.com>
10710
10711 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
10712 glob64. Since there is no glob64 in the LFS proposal applications
10713 can assume that glob handles LFS situations. glob64 is only needed
10714 if alternative filesystem functions are used.
10715
10716 2000-03-19 Geoff Clare <gwc@unisoft.com>
10717
10718 * sysdeps/generic/glob.c: Correct gl_pathc value returned
10719 when GLOB_DOOFFS is set; correct handling of patterns
10720 containing escaped wildcards (and no unescaped ones);
10721 GLOB_ERR flag was being ignored in some situations.
10722
10723 * posix/globtest.c, posix/globtest.sh: Updated to include
10724 tests for the problems fixed by the above changes to glob.c.
10725
10726 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
10727
10728 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
10729
10730 * Makeconfig (soversion.i): Use only first match for each lib.
10731
10732 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
10733
10734 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
10735 rather than $(sysd-dirs-done) to protect these rules.
10736
10737 * Makerules (version-renames.def): Target removed.
10738 (Versions.all): Depend on soversions.i directly and parse it.
10739
10740 * Makeconfig (soversions.i): New target, input-reading parts of
10741 soversions.mk generation moved here; result is a canonicalized
10742 list "LIB VERSION [SET]" for this configuration.
10743 (soversions.mk): Use that as input. Don't emit map-firstversions.
10744 * Makerules (version-renames.def): New target, generated from
10745 soversions.i with contents that was in $(map-firstversions).
10746 (Versions.all): Don't depend on soversions.mk, depend on
10747 version-renames.def instead; just cat it into the input.
10748
10749 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
10750 for $(map-firstversions), which better handles it being empty.
10751
10752 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
10753 supported version for libc 0.2.90.libio to GLIBC_2.2.
10754
10755 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
10756 and use it to emit new variable `map-firstversions'.
10757 * scripts/firstversions.awk: New file.
10758 * Makerules (Versions.all): Use scripts/firstversions.awk and
10759 the $(map-firstversions) value to generate a modified versions list
10760 that includes renames in "A = B" syntax for each version set earlier
10761 than the "earliest symbol version" named in shlib-versions.
10762 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
10763 rename version set A to B in the output to the intermediate file.
10764 * scripts/abi-versions.awk: New file.
10765 * Makerules (abi-versions.h): New target, generated by that script.
10766 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
10767 * include/shlib-compat.h: New file, uses that generated header.
10768
10769 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
10770
10771 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
10772 after stripping # comments, and then run it through cpp.
10773 This allows things like "%ifdef FOO" based on config.h settings.
10774 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
10775
10776 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
10777 and other errors that indicate a pseudo-receive happened, grok through
10778 the message buffer for port rights that need references fixed up.
10779
10780 2000-03-16 Andreas Jaeger <aj@suse.de>
10781
10782 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
10783
10784 * sysdeps/unix/sysv/linux/madvise.c: Remove.
10785
10786 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
10787 from latest Linux kernel.
10788 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
10789
10790 * misc/sys/mman.h: Add prototype for mincore.
10791
10792 2000-03-17 Ulrich Drepper <drepper@redhat.com>
10793
10794 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
10795 entry for GLIBC_2.0 version of setrlimit.
10796 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
10797
10798 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
10799
10800 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
10801 * nis/nss_compat/compat-initgroups.c: Likewise.
10802 * nis/nss_nis/nis-initgroups.c: Likewise.
10803 * nis/nss_nis/nis-netgrp.c: Likewise.
10804 * nis/nss_nis/nis-proto.c: Likewise.
10805 * nis/nss_nis/nis-rpc.c: Likewise.
10806 * nis/nss_nis/nis-service.c: Likewise.
10807 * nis/ypclnt.c: Likewise.
10808
10809 2000-03-16 Andreas Jaeger <aj@suse.de>
10810
10811 * manual/Makefile: MAKEINFO is set to `:' from configure if it
10812 doesn't exist, correct checks. Fixes PR libc/1649.
10813
10814 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
10815
10816 * nscd/hstcache.c: Restore correct UID.
10817 * nscd/pwdcache.c: Likewise.
10818 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
10819
10820 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
10821
10822 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
10823 macros for register names, in line with 2000-03-14 linux change.
10824
10825 * sysdeps/mach/sched_yield.c: New file.
10826
10827 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
10828
10829 * sysdeps/generic/lockfile.c: Include <stdio.h>
10830 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
10831 case <libio.h> defined them.
10832 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
10833 from __internal_*.
10834 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
10835 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
10836
10837 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
10838 for more pleasing parse error.
10839
10840 2000-03-16 Ulrich Drepper <drepper@redhat.com>
10841
10842 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
10843 memory for eras.
10844 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
10845
10846 * elf/Makefile: Add rules to compile and run constload1 test.
10847 * elf/constload1.c: New file.
10848 * elf/constload2.c: New file.
10849 * elf/constload3.c: New file.
10850
10851 2000-03-15 Ulrich Drepper <drepper@redhat.com>
10852
10853 * sysdeps/posix/open64.c: Make __open64 weak alias.
10854 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
10855 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10856 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
10857 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10858 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
10859 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
10860 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10861 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
10862 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10863 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
10864
10865 2000-03-14 Ulrich Drepper <drepper@redhat.com>
10866
10867 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
10868 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
10869
10870 2000-03-16 Mark Kettenis <kettenis@gnu.org>
10871
10872 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
10873 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
10874
10875 2000-03-08 Andreas Jaeger <aj@suse.de>
10876
10877 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
10878
10879 2000-03-14 Ulrich Drepper <drepper@redhat.com>
10880
10881 * timezone/africa: Update from tzdata2000d.
10882 * timezone/asia: Likewise.
10883 * timezone/australasia: Likewise.
10884 * timezone/europe: Likewise.
10885 * timezone/northamerica: Likewise.
10886 * timezone/southamerica: Likewise.
10887
10888 * po/fr.po: Update from translation team.
10889 * po/de.po: Likewise.
10890
10891 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
10892 last parameter. Move code to add map to global scope from here...
10893 * elf/dl-open.c (dl_open_worker): ...here.
10894 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
10895 * elf/rtld.c: Adjust call to _dl_map_object_deps.
10896
10897 * locale/programs/ld-collate.c (collate_read): Fix warning.
10898
10899 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
10900 values and macros for register names.
10901
10902 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
10903 returned by seek cookie function is -1.
10904
10905 2000-03-14 Andreas Jaeger <aj@suse.de>
10906
10907 * locale/localeconv.c (localeconv): Fix typo.
10908 Reported by Andre Charbonneau <andrec@corel.com>.
10909
10910 2000-03-14 Ulrich Drepper <drepper@redhat.com>
10911
10912 * iconv/skeleton.c: Increment __invocation_counter in inner loop
10913 since modules depend on it counting the number of times the conversion
10914 function got called.
10915
10916 * iconv/gconv_open.c: Optimize loop to setup step data structure.
10917
10918 * iconv/gconv.h: Pretty print.
10919
10920 2000-03-04 Ulrich Drepper <drepper@redhat.com>
10921
10922 * posix/wordexp-test.c: Correct one of the tests added in the last
10923 change. Really get the root passwd entry to check again ~root.
10924
10925 2000-03-10 Andreas Jaeger <aj@suse.de>
10926
10927 * manual/filesys.texi (Working Directory): Fix last patch.
10928 Patch by Martin Buchholz <martin@xemacs.org>.
10929
10930 2000-03-10 Andreas Jaeger <aj@suse.de>
10931
10932 * manual/creature.texi (Feature Test Macros): Fix language.
10933
10934 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
10935
10936 * mach/devstream.c (devstream_write, devstream_read): New functions.
10937 (input, output): Functions removed.
10938 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
10939 using only the vanilla fopencookie interface.
10940
10941 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
10942 as macro for __io_functions.
10943 (funcsio): Use cookie_io_functions_t type name.
10944 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
10945
10946 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
10947 fopencookie.
10948 (fopencookie): Use it.
10949 * libio/libio.h: Declare _IO_cookie_init.
10950 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
10951 _IO_cookie_init.
10952
10953 * libio/libio.h (__io_seek_fn): Fix second argument type
10954 to be a pointer, in line with the manual and the old stdio.
10955 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
10956
10957 * sysdeps/generic/bits/stdio-lock.h: New file.
10958 This is a stub with #error, but that's better than no file at all.
10959
10960 2000-03-09 Martin Buchholz <martin@xemacs.org>
10961
10962 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
10963 * manual/message.texi (Using gettextized software): Doc Fixes.
10964 * manual/message.texi (Message Translation): Doc Fixes.
10965 * manual/filesys.texi (File Size): Doc Fixes.
10966 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
10967 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
10968 * iconv/gconv_db.c (find_derivation): Doc Fixes.
10969 * manual/install.texi: Doc Fixes.
10970 * manual/search.texi (Hash Search Function): Doc Fixes.
10971 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
10972 * FAQ.in: Doc Fixes.
10973 * config.h.in: Doc Fixes.
10974 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
10975 Doc Fixes. `allows to' is not correct English.
10976
10977 * elf/rtld.c: Doc fixes.
10978 * manual/creature.texi (Feature Test Macros): Doc fixes.
10979 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
10980
10981 * manual/filesys.texi (Working Directory): Check for ERANGE to
10982 avoid infloop.
10983
10984 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
10985
10986 * string/argz-stringify.c (__argz_stringify): Fix loop termination
10987 conditions so as not to clobber the final '\0' when there is only one
10988 element in the vector.
10989
10990 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
10991
10992 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
10993 broken by 2000-02-27 change.
10994
10995 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
10996
10997 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
10998
10999 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
11000 argument type, for 2000-02-22 change in signal/signal.h declaration.
11001
11002 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
11003
11004 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
11005 to getdirentries64 (no __), since the Linux implementation
11006 has no __ name, and there is no declaration for the __ name.
11007
11008 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
11009
11010 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
11011 sed regexp so as not to break directory names including /../ within.
11012
11013 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
11014 The sysdeps/generic file is right for BSD. This file was in fact the
11015 Hurd file, but the only difference was the WNOREAP flag that was never
11016 actually implemented or used anywhere.
11017
11018 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
11019 since AC_PATH_PROG already does it for us.
11020 (PERL): Rewrite check added in 2000-02-29 change for syntactic
11021 correctness and sh portability. I replaced the broken check
11022 with a more sensible implementation of the apparently intended
11023 semantics, which might still be questionable. Using expr causes
11024 a non-numeric value for `perl -V:apiversion` to be accepted,
11025 refusing to use only a perl that reports a number less than 5;
11026 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
11027 * configure: Regenerated.
11028
11029 2000-03-08 Andreas Jaeger <aj@suse.de>
11030
11031 * manual/crypt.texi: Fix paths.
11032
11033 2000-03-07 Andreas Jaeger <aj@suse.de>
11034
11035 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
11036 were swapped.
11037 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
11038 libc/1636.
11039
11040 2000-03-06 Andreas Jaeger <aj@suse.de>
11041
11042 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
11043 in __sgn1l, otherwise g++ fails to parse this.
11044 Reported by Sean Chen <sean.chen@turbolinux.com>.
11045
11046 2000-03-03 Geoff Keating <geoffk@cygnus.com>
11047
11048 * configure.in: Compute sizeof-long-double.
11049 * configure: Regenerated.
11050 * config.make.in: Make sizeof-long-double available to sub-makes.
11051
11052 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
11053
11054 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
11055 call.
11056
11057 2000-03-03 Geoff Keating <geoffk@cygnus.com>
11058
11059 * Makeconfig (rpath-dirs): Add crypt.
11060 (all-subdirs): Remove md5crypt.
11061 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
11062 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
11063 * sysdeps/generic/crypt-entry.c: Delete.
11064 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
11065 * sysdeps/generic/crypt.h: Delete.
11066 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
11067 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
11068 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
11069 * sysdeps/generic/des_impl.c: Delete.
11070 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
11071 * crypt/sysdeps: Delete.
11072 * crypt/crypt_util.c: Don't use `patchlevel.h'.
11073 * md5-crypt/Versions: Move to crypt/.
11074 * md5-crypt/md5-crypt.c: Move to crypt/.
11075 * md5-crypt/md5.c: Move to crypt/.
11076 * md5-crypt/md5c-test.c: Move to crypt/.
11077 * md5-crypt/md5test.c: Move to crypt/.
11078 * md5-crypt: Delete.
11079 * crypt/Makefile: Adjust for new structure.
11080
11081 2000-03-03 Paul Eggert <eggert@twinsun.com>
11082
11083 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
11084 define to 1 if not defined.
11085
11086 2000-03-03 Andreas Jaeger <aj@suse.de>
11087
11088 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
11089
11090 2000-03-03 Andreas Jaeger <aj@suse.de>
11091
11092 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
11093 cases.
11094 (xdr_int64_t): Correctly handle lower half.
11095 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
11096
11097 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
11098
11099 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
11100 call.
11101
11102 2000-03-02 Andreas Jaeger <aj@suse.de>
11103
11104 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
11105 2.3.43.
11106
11107 2000-03-02 Andreas Jaeger <aj@suse.de>
11108
11109 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
11110
11111 2000-03-01 Andreas Jaeger <aj@suse.de>
11112
11113 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
11114 (tests): Added tst-getdate.
11115
11116 * time/tst-getdate.c: New file.
11117
11118 * time/datemsk: New file, needed for tst-getdate.
11119
11120 2000-02-29 Cristian Gafton <gafton@redhat.com>
11121
11122 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
11123
11124 2000-02-17 H.J. Lu <hjl@gnu.org>
11125
11126 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
11127
11128 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
11129 available.
11130 (svcudp_recv): Set up message with the new "xp_pad" field for
11131 IP_PKTINFO.
11132 (svcudp_reply): Support IP_PKTINFO if available.
11133
11134 2000-03-01 Andreas Jaeger <aj@suse.de>
11135
11136 * time/getdate.c (check_mday): Fix check for february.
11137 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
11138 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
11139
11140 2000-03-02 Andreas Jaeger <aj@suse.de>
11141
11142 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
11143 g++ fails to parse this.
11144 Reported by Sean Chen <sean.chen@turbolinux.com>.
11145
11146 2000-02-28 Ulrich Drepper <drepper@redhat.com>
11147
11148 * io/creat.c: Moved to...
11149 * sysdeps/generic/creat.c: ...here.
11150 * io/creat64.c: Moved to...
11151 * sysdeps/generic/creat64.c: ...here.
11152 * io/lockf.c: Moved to...
11153 * sysdeps/generic/lockf.c: ...here.
11154
11155 * crypt/crypt.texi: Moved to...
11156 * manual/crypt.texi: ...here.
11157 * crypt/examples/genpass.c: Moved to...
11158 * manual/examples/genpass.c: ...here.
11159 * crypt/examples/mygenpass.c: Moved to...
11160 * manual/examples/mygenpass.c: ...here.
11161 * crypt/examples/testpass.c: Moved to...
11162 * manual/examples/testpass.c: ...here.
11163
11164 * manual/Makefile (chapters): Add crypt.
11165 * manual/conf.texi: Add usual header for not-last chapter.
11166 * manual/crypt.texi: Add special header for last chapter.
11167
11168 2000-02-28 Geoff Keating <geoffk@cygnus.com>
11169
11170 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
11171 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
11172 complain if there is no crypt add-on.
11173 * crypt/configure: Removed.
11174
11175 * crypt/crypt.texi: Update documentation of US export restrictions
11176 to match the 14 Jan 2000 regulations.
11177
11178 2000-02-28 Geoff Keating <geoffk@cygnus.com>
11179
11180 * crypt: New subdirectory, merged in from the crypt add-on.
11181
11182 2000-02-28 Ulrich Drepper <drepper@redhat.com>
11183
11184 * include/unistd.h: Add __rmdir and __mkdir prototypes.
11185
11186
11187 See ChangeLog.10 for earlier changes.