]> sourceware.org Git - glibc.git/blame - ChangeLog
Update.
[glibc.git] / ChangeLog
CommitLineData
d1646309
UD
12000-09-13 Ulrich Drepper <drepper@redhat.com>
2
3 * libio/stdio.h: Define __FILE if __need___FILE is defined.
4 * stdio/stdio.h: Likewise.
5 * wcsmbs/wchar.h: Get definition of __FILE. Use __FILE instead of FILE.
6 * include/stdio.h: Handle __need___FILE like __need_FILE.
7 * include/wchar.h: Use __FILE instead of FILE.
8 * libio/fwprintf.c: Include <stdio.h> for FILE definition.
9 * libio/fwscanf.c: Likewise.
10 * libio/getwc.c: Likewise.
11
12 * sysdeps/generic/stdint.h (WINT_MAX): Define to 4294967295u.
13 * sysdeps/generic/bits/wchar.h (WCHAR_MIN): Define to -2147483647 - 1.
14 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Likewise.
15
16 * assert/assert.h: Update comment header about ISO C section.
17 * math/complex.h: Likewise.
18 * ctype/ctype.h: Likewise.
19 * include/errno.h: Likewise.
20 * include/limits.h: Likewise.
21 * locale/locale.h: Likewise.
22 * math/math.h: Likewise.
23 * setjmp/setjmp.h: Likewise.
24 * signal/signal.h: Likewise.
25 * stdio/stdio.h: Likewise.
26 * libio/stdio.h: Likewise.
27 * stdlib/stdlib.h: Likewise.
28 * string/string.h: Likewise.
29 * time/time.h: Likewise.
30 * wcsmbs/wchar.h: Likewise.
31 * wctype/wctype.h: Likewise.
32 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
33
342000-09-13 Andreas Jaeger <aj@suse.de>
35
36 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Fix test
37 for no more entries.
38 * sysdeps/unix/sysv/aix/bits/socket.h (__cmsg_nxthdr): Likewise.
39 * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Likewise.
40 Reported by Eric S. Johnson <esj@cs.fiu.edu>, closes PR libc/1887.
41
6340ea91
UD
422000-09-13 Ulrich Drepper <drepper@redhat.com>
43
d817a438
UD
44 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Make a long int
45 constant since this is what clock_t is.
46 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
47 * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
48 * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
49 * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.
50
6340ea91
UD
51 * time/time.h: Don't defined clockid_t and timer_t unless POSIX
52 definitions are requested.
53
56f77c8b
AJ
542000-09-13 Andreas Jaeger <aj@suse.de>
55
56 * shlib-versions: libBrokenLocale needs minimal version for ia64,
57 sparc64 and sh to synch with libc.
58
da0fdef0
UD
592000-09-13 Ulrich Drepper <drepper@redhat.com>
60
c0d99958
UD
61 * iconvdata/Makefile (modules): Add ISO-2022-CN-EXT.
62 (distribute): Add iso-2022-cn-ext.c.
63 Add definitions to compile the new module.
64 * iconvdata/gconv-modules: Add entries for ISO-2022-CN-EXT.
65 * iconvdata/iso-2022-cn-ext.c: New file.
66 * iconvdata/iso-ir-165.h (isoir165_to_ucs4): Renamed from
67 ucs4_from_isoir165. Increment input pointer if successful.
68
875fc783
UD
69 * csu/Makefile: Work around a gcc bug when creating csu-dummies.
70
da0fdef0
UD
71 * sysdeps/unix/sysv/linux/getdents.c: Pretty print.
72
25159a85
UD
732000-09-01 Jes Sorensen <jes@linuxcare.com>
74
75 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add
76 __syscall_getdents64 wrapper.
77
78 * sysdeps/unix/sysv/linux/ia64/net/route.h: New file.
79
5de565cd
UD
802000-09-12 Ulrich Drepper <drepper@redhat.com>
81
82 * iconvdata/gb18030.c: Many many changes. Make consistent with
83 charmap and with itself.
84 * iconvdata/tst-tables.sh: Test GB18030.
85
d1700665
UD
862000-09-11 Ulrich Drepper <drepper@redhat.com>
87
88 * iconv/skeleton.c: Fix last patch, add missing parameter to
89 unaligned function call.
90
f6ad4726
UD
912000-09-10 Bruno Haible <haible@clisp.cons.org>
92
93 * locale/programs/ld-collate.c (collate_read): Fix typo in handling
94 of decimal ellipsis.
95
962000-09-11 Bruno Haible <haible@clisp.cons.org>
97
98 * locale/programs/ld-collate.c (collate_read): Always initialize
99 error_section.next.
100
1012000-09-10 Bruno Haible <haible@clisp.cons.org>
102
103 * locale/programs/ld-collate.c (collate_finish): Upper bound for
104 ruleidx is 128, not 256.
105
1062000-09-11 Ulrich Drepper <drepper@redhat.com>
107
108 * locale/programs/ld-collate.c (collate_read): Correct check for
109 already inserted entries.
110
1112000-09-10 Bruno Haible <haible@clisp.cons.org>
112
113 * iconv/skeleton.c (FUNCTION_NAME): Handle unaligned access in
114 second try as well.
115
1162000-09-10 Bruno Haible <haible@clisp.cons.org>
117
118 * iconv/skeleton.c (FUNCTION_NAME): Optimize an `if' if
119 MAX_NEEDED_FROM > 1 && MAX_NEEDED_TO > 1.
120
1212000-09-10 Bruno Haible <haible@clisp.cons.org>
122
123 * iconv/skeleton.c (gconv_init): Replace all uses of RESET_STATE with
124 SAVE_RESET_STATE.
125
1262000-09-10 Bruno Haible <haible@clisp.cons.org>
127
128 * iconvdata/utf-7.c: New file.
129 * iconvdata/gconv-modules (UTF-7): New module entries.
130 * iconvdata/Makefile (modules): Add UTF-7.
131 (distribute): Add utf-7.c.
132 * iconvdata/testdata/UTF-7: New file.
133 * iconvdata/testdata/UTF-7..UTF8: New file.
134 * iconvdata/TESTS (UTF-7): New entry.
135 * iconvdata/run-iconv-test.sh: Fix confusing output.
136
72c65ff4
UD
1372000-09-11 Ulrich Drepper <drepper@redhat.com>
138
139 * sysdeps/posix/tempname.c (__gen_tempname): Use __lxstat and __xstat.
140
ab52d206
UD
1412000-09-10 David S. Miller <davem@redhat.com>
142
143 * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Correct %fp
144 frame pointer offset for non-fast path.
145
1462000-09-10 Ulrich Drepper <drepper@redhat.com>
147
148 * locale/programs/3level.h (*_init): Initialize level1, level2,
149 and level3 as well.
150 (*_add): Remove a few unnecessary conditionals.
151
6fb7c68e
UD
1522000-09-05 Wolfram Gloger <wg@malloc.de>
153
154 * malloc/thread-m.h [_LIBC]: Even if not linking with libpthread,
155 ensure usability of mutex as an `in use' flag.
156
2119c705
UD
1572000-09-10 Ulrich Drepper <drepper@redhat.com>
158
159 * shlib-versions: Simplify libm entries. Correct a few Hurd entries.
160
161 * sysdeps/generic/initfini.c: Rewrite slightly to get rid of the
162 ugly GMON_WEAK_START hack.
163 Patch by Philip Blundell <philb@gnu.org>.
164
165 * sysdeps/i386/i486/bits/string.h: Pretty printing.
166
ada0ce8f
UD
1672000-09-09 Ulrich Drepper <drepper@redhat.com>
168
169 * sysdeps/powerpc/dl-machine.c: Add volatile to PPC_DCBST, PPC_SYNC,
170 and PPC_ICBI asm for broken compilers.
171 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
172
9840ed3e
AJ
1732000-09-09 Andreas Jaeger <aj@suse.de>
174
c934e1c0
AJ
175 * manual/message.texi (Advanced gettext functions): Fix typo.
176
9840ed3e
AJ
177 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include <string.h> for
178 strncpy prototype.
179
fc5f4a97
UD
1802000-09-09 Ulrich Drepper <drepper@redhat.com>
181
a1ce647f
UD
182 * sysdeps/ia64/memchr.S: Add .pred.rel to avoid wrong assembler
183 warnings.
184 * sysdeps/ia64/memccpy.S: Likewise.
185 Patches by Jim Wilson <wilson@redhat.com>.
186
fc5f4a97
UD
187 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Use uname
188 before trying to read /proc.
189 Patch by Matt Wilson <msw@redhat.com>.
190 * include/sys/utsname.h: Declare __uname.
191 * sysdeps/generic/uname.c: Make uname a weak alias of __uname.
192 * sysdeps/mach/hurd/uname.c: Likewise.
193 * sysdeps/unix/syscalls.list: Likewise.
194
195 * iconv/gconv_dl.c (do_release_shlib): Rewrite condition for
196 unloading a bit.
197
1982000-09-08 Ulrich Drepper <drepper@redhat.com>
199
200 * posix/getopt.c (_getopt_internal): When long_only is set always
201 recognize conflicts just like before.
202
2032000-09-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
204
205 * sysdeps/ia64/Makefile (sysdep-rtld-routines): New variable.
206
e694422d
GM
2072000-09-08 Greg McGary <greg@mcgary.org>
208
209 * sysdeps/unix/sysv/linux/syscalls.list (mincore): Fix arg signature.
210 * sysdeps/unix/make-syscalls.sh: New signature keyletter `V'.
211 * sysdeps/generic/bp-checks.h (CHECK_N_PAGES): New macro.
212
9b4a6eac
AJ
2132000-09-08 Andreas Jaeger <aj@suse.de>
214
215 * sysdeps/unix/sysv/linux/arm/lockf64.c: New file.
216
217 * sysdeps/unix/sysv/linux/arm/fcntl.c: New file.
218
219 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h
220 (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
221 (F_GETLK,F_SETLK,F_SETLKW): Handle __USE_FILE_OFFSET64 correctly.
222
21e41c58
UD
2232000-09-07 Ulrich Drepper <drepper@redhat.com>
224
1edd1b14
UD
225 * iconvdata/tst-tables.sh: Enable EUC-KR test.
226
48da1092
UD
227 * elf/dl-load.c (lose): Decrement _nl_loaded.
228 (_dl_map_object_from_fd): Don't try to dlopen executables.
229
63e18f77
UD
230 * iconvdata/tst-tables.sh: Actually return with an error if
231 something goes wrong.
232 * iconvdata/tst-table.sh: Return with an error if any of the cmp fails.
233 * iconvdata/big5hkscs.c (BODY of FROM_LOOP): Reject 0xff as input.
234
c329332e
UD
235 * iconvdata/tst-tables.sh: Add BIG5HKSCS.
236
5f7d74ab
UD
237 * iconvdata/tst-table-to.c (main): Correct cast in iconv call.
238 * iconvdata/tst-table-from.c: Include <string.h>.
239 (try): Correct cast in iconv call.
240
e39e6956
UD
241 * elf/Makefile (all-rtld-routines): Evaluate $(sysdep-rtld-routines)
242 too.
243 * sysdeps/powerpc/Makefile (sysdep-rtld-routines): New variable.
244 (sysdep_routines): Remove dl-start.
245 Patches by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
246
21e41c58
UD
247 * assert/__assert.c: Undefine NDEBUG before include <assert.h>.
248
249 * sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning.
250 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
251
d998b043
UD
2522000-09-06 Andreas Schwab <schwab@suse.de>
253
254 * sysdeps/unix/sysv/linux/ia64/bits/time.h: New file.
255
ea639044
UD
2562000-09-07 Ulrich Drepper <drepper@redhat.com>
257
e0baae12
UD
258 * sysdeps/unix/sysv/linux/gethostid.c: Find hostid file in /etc.
259
377f6020
UD
260 * scripts/config.sub: Strip out -unknown for Linux targets.
261 Patch by Scott Bambrough <scottb@netwinder.org>.
262
ea639044
UD
263 * posix/tst-dir.c (main): Correct one bug (missing NULL test) and
264 add one more test.
265
c5914fa7
AJ
2662000-09-07 Andreas Jaeger <aj@suse.de>
267
b540e5d0
AJ
268 * sysdeps/unix/sysv/linux/mips/lockf64.c: New file.
269
270 * sysdeps/unix/sysv/linux/i386/fcntl.c: Add prototypes for the
271 syscalls.
272
9aee41de
AJ
273 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add __syscall_fcntl.
274
e0baae12 275 * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Fix calls to dl_lookup.
9aee41de
AJ
276 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
277
278 * sysdeps/unix/sysv/linux/mips/fcntl.c: New file.
279
280 * stdlib/tst-bsearch.c (main): Add more test cases.
281
c5914fa7
AJ
282 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo.
283 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
284 Reported by GOTO Masanori <gotom@debian.or.jp>.
285
47a03c51
UD
2862000-09-07 Ulrich Drepper <drepper@redhat.com>
287
288 * posix/Makefile (tests): Add tst-dir.
289 (tst-dir-ARGS): New variable.
290 * posix/tst-dir.c: New file.
291
8273647f
AJ
2922000-09-07 Andreas Jaeger <aj@suse.de>
293
294 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_getdents64): New.
295 (SYS_fcntl64): New.
296
297 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add getdents64.
298
b64cd08a
UD
2992000-09-06 Ulrich Drepper <drepper@redhat.com>
300
675e4015
UD
301 * sysdeps/unix/opendir.c: If O_DIRECTORY_WORKS is defined don't
302 use the hack with tryopen_o_directory to determine at runtime
303 whether it works.
304 * sysdeps/unix/sysv/linux/opendir.c: New file.
305 * sysdeps/unix/sysv/linux/kernel-features.h: Define
306 __ASSUME_O_DIRECTORY if kernel knows O_DIRECTORY.
307
04ba8790
UD
308 * catgets/Depend: New file. Add intl.
309 * catgets/Makefile (tests): Add tst-catgets.
310 (generated): Remove de.msg.
311 (generated-dirs): Add de.
312 Add dependency if tst-catgets output on de/libc.cat.
313 * catgets/tst-catgets.c: New file.
314
82cd2e44
UD
315 * po/ja.po: New file.
316 * po/el.po: Update from translation team.
317
0d69b1ac
UD
318 * wcsmbs/Depend: New file.
319 * wcsmbs/Makefile (tests): Add tst-btowc.
320 (tst-btowc-ENV): Define.
321 * wcsmbs/tst-btowc.c: New file.
322
fda0f3ba
UD
323 * sysdeps/unix/sysv/linux/_G_config.h: Moved to...
324 * sysdeps/gnu/_G_config.h: ...here to be shared with Hurd.
325
d482d2a3
UD
326 * sysdeps/posix/signal.c: Add sig to act.sa_mask for completeness.
327
8cb9c650
UD
328 * stdlib/Makefile (tests): Add tst-bsearch.
329 * stdlib/tst-bsearch.c: New file.
330
b64cd08a
UD
331 * posix/getopt.c (_getopt_internal): Don't recognize an option
332 name as ambiguous if it's a prefix for more than one name but the
333 other struct option values are identical.
334
335 * posix/tstgetopt.c: Add test for improved ambiguity recognition.
336 Don't depend on visual inspection of the output file to recognize
337 errors.
338 * posix/Makefile (tstgetopt-ARGS): Add a few more parameters.
339
ccd77b89
AJ
3402000-09-06 Andreas Jaeger <aj@suse.de>
341
342 * sysdeps/alpha/soft-fp/Dist: New file.
343 * sysdeps/i386/soft-fp/Dist: New file.
344 * sysdeps/mips/mips64/soft-fp/Dist: New file.
345 * sysdeps/mips/soft-fp/Dist: New file.
346 * sysdeps/powerpc/soft-fp/Dist: New file.
347 * sysdeps/sparc/sparc32/soft-fp/Dist: New file.
348 * sysdeps/sparc/sparc64/soft-fp/Dist: New file.
349
350 * sysdeps/sparc/sparc64/soft-fp/Makefile [$(subdir) = soft-fp]:
351 Use sysdep_routines instead of routines to fix make dist failure.
352 * sysdeps/sparc/sparc32/soft-fp/Makefile: Likewise (in commented
353 out code).
354 * sysdeps/powerpc/soft-fp/Makefile [$(subdir) = soft-fp]: Likewise.
355
356 * sysdeps/mips/Makefile [$(subdir) = misc]: Use
357 sysdep_headers instead of headers for make dist.
358
359 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = misc]:
360 Likewise.
361
414002b1
AS
3622000-09-06 Andreas Schwab <schwab@suse.de>
363
364 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: New file.
365
2e1184e8
AJ
3662000-09-06 Andreas Jaeger <aj@suse.de>
367
368 * soft-fp/Makefile (distribute): Remove ChangeLog.
369
370 * sysdeps/sparc/sparc32/Makefile [$(subdir) = gnulib]: Use
371 sysdep_routines instead of routines for make dist.
372
8bfae061
UD
3732000-09-05 Ulrich Drepper <drepper@redhat.com>
374
375 * libio/libio.h (_IO_fwide_maybe_incompatible): For glibc 2.0
376 compatibility check for old stream and call _IO_wide in doubt.
377 (_IO_fwide): Use _IO_fwide_maybe_incompatible macro.
378 * libio/iofwide.c (_IO_fwide): If compatibility with glibc 2.0 is
379 needed tst for such an old structure and don't do anything.
380 * libio/freopen.c: Remove declaration of _IO_stdin_used.
381
10878c33
AJ
3822000-09-06 Andreas Jaeger <aj@suse.de>
383
384 * sysdeps/powerpc/Makefile [$(subdir) = elf]: Modify
385 sysdep-dl-routines and sysdep_routines instead of rtld-routines
386 and dl-routines.
387
388 * soft-fp/ChangeLog: Merged with this file.
389
3902000-06-13 Ulrich Drepper <drepper@redhat.com>
391
8bfae061 392 * soft-fp/Makefile (distribute): Add op-8.h and testit.c.
10878c33 393
8bfae061 394 * soft-fp/Makefile (distribute): Add the math functions, too.
10878c33 395
8bfae061 396 * soft-fp/Makefile (distribute): Add ChangeLog, Banner, and configure.
10878c33
AJ
397
3982000-03-03 Geoff Keating <geoffk@cygnus.com>
399
8bfae061
UD
400 * soft-fp/soft-fp.h (_FP_ROUND_ZERO): Cast 0 to void before using it
401 as a statement.
10878c33 402
8bfae061
UD
403 * soft-fp/sysdeps/powerpc/Makefile (routines): New file.
404 * soft-fp/sysdeps/powerpc/q_*: New files.
10878c33 405
74ac2cec
UD
4062000-09-05 Ulrich Drepper <drepper@redhat.com>
407
408 * stdio-common/vfprintf.c (process_string_arg): Handle precision
409 in wide char case correctly. Don't allocate too long temporary
410 strings with alloca.
411
412 * stdio-common/Makefile (tests): Add tst-swprintf.
413 (tst-swprintf-ENV): New variable.
414 * stdio-common/tst-swprintf.c: New file.
415
aa26edfb
AJ
4162000-09-05 Andreas Jaeger <aj@suse.de>
417
418 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use st_pad5.
419 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Fix assignments.
420 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
421
0816838f
UD
4222000-09-05 Ulrich Drepper <drepper@redhat.com>
423
424 * configure.in: Strip out "unknown" from configuration names.
425
1e9877a7
AJ
4262000-09-05 Andreas Jaeger <aj@suse.de>
427
a82f3aff
AJ
428 * sysdeps/powerpc/Subdirs: New file, adds soft-fp.
429
430 * sysdeps/sparc/sparc64/Implies: Add soft-fp.
431 * sysdeps/sparc/sparc32/Implies: Likewise.
432 * sysdeps/powerpc/Implies: Likewise.
433
eab1830e
AJ
434 * libio/oldiofsetpos64.c: Check for compatibility with glibc 2.1.
435 * libio/oldiofgetpos64.c: Likewise.
436
8219785c
AJ
437 * soft-fp/Makefile (distribute): Remove configure.
438
1e9877a7
AJ
439 * sysdeps/sparc/sparc64/soft-fp/Versions: Use version glibc 2.2.
440
441 * soft-fp/configure: Remove.
442
443 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
444 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
445
446 * soft-fp/sysdeps/sparc/sparc32/Makefile: Move from here...
447 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... to here.
448
449 * soft-fp/sysdeps/powerpc/Makefile: Move from here...
450 * sysdeps/powerpc/soft-fp/Makefile: ... to here.
451
452 * soft-fp/sysdeps/sparc/sparc64/Makefile: Move from here...
453 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... to here.
454
74ac2cec
UD
455 * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
456 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
1e9877a7
AJ
457
458 * soft-fp/sysdeps/powerpc/q_add.c: Move from here...
459 * sysdeps/powerpc/soft-fp/q_add.c: ... to here.
460
461 * soft-fp/sysdeps/powerpc/q_cmp.c: Move from here...
462 * sysdeps/powerpc/soft-fp/q_cmp.c: ... to here.
463
464 * soft-fp/sysdeps/powerpc/q_cmpe.c: Move from here...
465 * sysdeps/powerpc/soft-fp/q_cmpe.c: ... to here.
466
467 * soft-fp/sysdeps/powerpc/q_div.c: Move from here...
468 * sysdeps/powerpc/soft-fp/q_div.c: ... to here.
469
470 * soft-fp/sysdeps/powerpc/q_dtoq.c: Move from here...
471 * sysdeps/powerpc/soft-fp/q_dtoq.c: ... to here.
472
473 * soft-fp/sysdeps/powerpc/q_feq.c: Move from here...
474 * sysdeps/powerpc/soft-fp/q_feq.c: ... to here.
475
476 * soft-fp/sysdeps/powerpc/q_fge.c: Move from here...
477 * sysdeps/powerpc/soft-fp/q_fge.c: ... to here.
478
479 * soft-fp/sysdeps/powerpc/q_fgt.c: Move from here...
480 * sysdeps/powerpc/soft-fp/q_fgt.c: ... to here.
481
482 * soft-fp/sysdeps/powerpc/q_fle.c: Move from here...
483 * sysdeps/powerpc/soft-fp/q_fle.c: ... to here.
484
485 * soft-fp/sysdeps/powerpc/q_flt.c: Move from here...
486 * sysdeps/powerpc/soft-fp/q_flt.c: ... to here.
487
488 * soft-fp/sysdeps/powerpc/q_fne.c: Move from here...
489 * sysdeps/powerpc/soft-fp/q_fne.c: ... to here.
490
491 * soft-fp/sysdeps/powerpc/q_itoq.c: Move from here...
492 * sysdeps/powerpc/soft-fp/q_itoq.c: ... to here.
493
494 * soft-fp/sysdeps/powerpc/q_lltoq.c: Move from here...
495 * sysdeps/powerpc/soft-fp/q_lltoq.c: ... to here.
496
497 * soft-fp/sysdeps/powerpc/q_mul.c: Move from here...
498 * sysdeps/powerpc/soft-fp/q_mul.c: ... to here.
499
500 * soft-fp/sysdeps/powerpc/q_neg.c: Move from here...
501 * sysdeps/powerpc/soft-fp/q_neg.c: ... to here.
502
503 * soft-fp/sysdeps/powerpc/q_qtod.c: Move from here...
504 * sysdeps/powerpc/soft-fp/q_qtod.c: ... to here.
505
506 * soft-fp/sysdeps/powerpc/q_qtoi.c: Move from here...
507 * sysdeps/powerpc/soft-fp/q_qtoi.c: ... to here.
508
509 * soft-fp/sysdeps/powerpc/q_qtoll.c: Move from here...
510 * sysdeps/powerpc/soft-fp/q_qtoll.c: ... to here.
511
512 * soft-fp/sysdeps/powerpc/q_qtos.c: Move from here...
513 * sysdeps/powerpc/soft-fp/q_qtos.c: ... to here.
514
515 * soft-fp/sysdeps/powerpc/q_qtou.c: Move from here...
516 * sysdeps/powerpc/soft-fp/q_qtou.c: ... to here.
517
518 * soft-fp/sysdeps/powerpc/q_qtoull.c: Move from here...
519 * sysdeps/powerpc/soft-fp/q_qtoull.c: ... to here.
520
521 * soft-fp/sysdeps/powerpc/q_sqrt.c: Move from here...
522 * sysdeps/powerpc/soft-fp/q_sqrt.c: ... to here.
523
524 * soft-fp/sysdeps/powerpc/q_stoq.c: Move from here...
525 * sysdeps/powerpc/soft-fp/q_stoq.c: ... to here.
526
527 * soft-fp/sysdeps/powerpc/q_sub.c: Move from here...
528 * sysdeps/powerpc/soft-fp/q_sub.c: ... to here.
529
530 * soft-fp/sysdeps/powerpc/q_ulltoq.c: Move from here...
531 * sysdeps/powerpc/soft-fp/q_ulltoq.c: ... to here.
532
533 * soft-fp/sysdeps/powerpc/q_util.c: Move from here...
534 * sysdeps/powerpc/soft-fp/q_util.c: ... to here.
535
536 * soft-fp/sysdeps/powerpc/q_utoq.c: Move from here...
537 * sysdeps/powerpc/soft-fp/q_utoq.c: ... to here.
538
539 * soft-fp/sysdeps/sparc/sparc32/q_add.c: Move from here...
540 * sysdeps/sparc/sparc32/soft-fp/q_add.c: ... to here.
541
542 * soft-fp/sysdeps/sparc/sparc32/q_cmp.c: Move from here...
543 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: ... to here.
544
545 * soft-fp/sysdeps/sparc/sparc32/q_cmpe.c: Move from here...
546 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: ... to here.
547
548 * soft-fp/sysdeps/sparc/sparc32/q_div.c: Move from here...
549 * sysdeps/sparc/sparc32/soft-fp/q_div.c: ... to here.
550
551 * soft-fp/sysdeps/sparc/sparc32/q_dtoq.c: Move from here...
552 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: ... to here.
553
554 * soft-fp/sysdeps/sparc/sparc32/q_feq.c: Move from here...
555 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: ... to here.
556
557 * soft-fp/sysdeps/sparc/sparc32/q_fge.c: Move from here...
558 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: ... to here.
559
560 * soft-fp/sysdeps/sparc/sparc32/q_fgt.c: Move from here...
561 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: ... to here.
562
563 * soft-fp/sysdeps/sparc/sparc32/q_fle.c: Move from here...
564 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: ... to here.
565
566 * soft-fp/sysdeps/sparc/sparc32/q_flt.c: Move from here...
567 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: ... to here.
568
569 * soft-fp/sysdeps/sparc/sparc32/q_fne.c: Move from here...
570 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: ... to here.
571
572 * soft-fp/sysdeps/sparc/sparc32/q_itoq.c: Move from here...
573 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: ... to here.
574
575 * soft-fp/sysdeps/sparc/sparc32/q_mul.c: Move from here...
576 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: ... to here.
577
578 * soft-fp/sysdeps/sparc/sparc32/q_neg.c: Move from here...
579 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: ... to here.
580
581 * soft-fp/sysdeps/sparc/sparc32/q_qtod.c: Move from here...
582 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: ... to here.
583
584 * soft-fp/sysdeps/sparc/sparc32/q_qtoi.c: Move from here...
585 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: ... to here.
586
587 * soft-fp/sysdeps/sparc/sparc32/q_qtos.c: Move from here...
588 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: ... to here.
589
590 * soft-fp/sysdeps/sparc/sparc32/q_qtoui.c: Move from here...
591 * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: ... to here.
592
593 * soft-fp/sysdeps/sparc/sparc32/q_qtoux.c: Move from here...
594 * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: ... to here.
595
596 * soft-fp/sysdeps/sparc/sparc32/q_qtox.c: Move from here...
597 * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: ... to here.
598
599 * soft-fp/sysdeps/sparc/sparc32/q_sqrt.c: Move from here...
600 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: ... to here.
601
602 * soft-fp/sysdeps/sparc/sparc32/q_stoq.c: Move from here...
603 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: ... to here.
604
605 * soft-fp/sysdeps/sparc/sparc32/q_sub.c: Move from here...
606 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: ... to here.
607
608 * soft-fp/sysdeps/sparc/sparc32/q_uitoq.c: Move from here...
609 * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: ... to here.
610
611 * soft-fp/sysdeps/sparc/sparc32/q_util.c: Move from here...
612 * sysdeps/sparc/sparc32/soft-fp/q_util.c: ... to here.
613
614 * soft-fp/sysdeps/sparc/sparc32/q_uxtoq.c: Move from here...
615 * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: ... to here.
616
617 * soft-fp/sysdeps/sparc/sparc32/q_xtoq.c: Move from here...
618 * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: ... to here.
619
620 * soft-fp/sysdeps/sparc/sparc64/qp_add.c: Move from here...
621 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: ... to here.
622
623 * soft-fp/sysdeps/sparc/sparc64/qp_cmp.c: Move from here...
624 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: ... to here.
625
626 * soft-fp/sysdeps/sparc/sparc64/qp_cmpe.c: Move from here...
627 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: ... to here.
628
629 * soft-fp/sysdeps/sparc/sparc64/qp_div.c: Move from here...
630 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: ... to here.
631
632 * soft-fp/sysdeps/sparc/sparc64/qp_dtoq.c: Move from here...
633 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: ... to here.
634
635 * soft-fp/sysdeps/sparc/sparc64/qp_feq.c: Move from here...
636 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: ... to here.
637
638 * soft-fp/sysdeps/sparc/sparc64/qp_fge.c: Move from here...
639 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: ... to here.
640
641 * soft-fp/sysdeps/sparc/sparc64/qp_fgt.c: Move from here...
642 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: ... to here.
643
644 * soft-fp/sysdeps/sparc/sparc64/qp_fle.c: Move from here...
645 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: ... to here.
646
647 * soft-fp/sysdeps/sparc/sparc64/qp_flt.c: Move from here...
648 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: ... to here.
649
650 * soft-fp/sysdeps/sparc/sparc64/qp_fne.c: Move from here...
651 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: ... to here.
652
653 * soft-fp/sysdeps/sparc/sparc64/qp_itoq.c: Move from here...
654 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: ... to here.
655
656 * soft-fp/sysdeps/sparc/sparc64/qp_mul.c: Move from here...
657 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: ... to here.
658
659 * soft-fp/sysdeps/sparc/sparc64/qp_qtod.c: Move from here...
660 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: ... to here.
661
662 * soft-fp/sysdeps/sparc/sparc64/qp_qtoi.c: Move from here...
663 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: ... to here.
664
665 * soft-fp/sysdeps/sparc/sparc64/qp_qtos.c: Move from here...
666 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: ... to here.
667
668 * soft-fp/sysdeps/sparc/sparc64/qp_qtoui.c: Move from here...
669 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: ... to here.
670
671 * soft-fp/sysdeps/sparc/sparc64/qp_qtoux.c: Move from here...
672 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: ... to here.
673
674 * soft-fp/sysdeps/sparc/sparc64/qp_qtox.c: Move from here...
675 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: ... to here.
676
677 * soft-fp/sysdeps/sparc/sparc64/qp_sqrt.c: Move from here...
678 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: ... to here.
679
680 * soft-fp/sysdeps/sparc/sparc64/qp_stoq.c: Move from here...
681 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: ... to here.
682
683 * soft-fp/sysdeps/sparc/sparc64/qp_sub.c: Move from here...
684 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: ... to here.
685
686 * soft-fp/sysdeps/sparc/sparc64/qp_uitoq.c: Move from here...
687 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: ... to here.
688
689 * soft-fp/sysdeps/sparc/sparc64/qp_util.c: Move from here...
690 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: ... to here.
691
692 * soft-fp/sysdeps/sparc/sparc64/qp_uxtoq.c: Move from here...
693 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: ... to here.
694
695 * soft-fp/sysdeps/sparc/sparc64/qp_xtoq.c: Move from here...
696 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: ... to here.
697
698 * soft-fp/sysdeps/sparc/sparc64/s_frexpl.c: Move from here...
699 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: ... to here.
700
701 * soft-fp/sysdeps/sparc/sparc64/s_ilogbl.c: Move from here...
702 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: ... to here.
703
704 * soft-fp/sysdeps/sparc/sparc64/s_scalblnl.c: Move from here...
705 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: ... to here.
706
707 * soft-fp/sysdeps/sparc/sparc64/s_scalbnl.c: Move from here...
708 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: ... to here.
709
710 * soft-fp/sysdeps/alpha/sfp-machine.h: Move from here...
711 * sysdeps/alpha/soft-fp/sfp-machine.h: ... to here.
712
713 * soft-fp/sysdeps/i386/sfp-machine.h: Move from here...
714 * sysdeps/i386/soft-fp/sfp-machine.h: ... to here.
715
716 * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Move from here...
717 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: ... to here.
718
719 * soft-fp/sysdeps/mips/sfp-machine.h: Move from here...
720 * sysdeps/mips/soft-fp/sfp-machine.h: ... to here.
721
722 * soft-fp/sysdeps/powerpc/sfp-machine.h: Move from here...
723 * sysdeps/powerpc/soft-fp/sfp-machine.h: ... to here.
724
725 * soft-fp/sysdeps/sparc/sparc32/sfp-machine.h: Move from here...
726 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: ... to here.
727
728 * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Move from here...
729 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: ... to here.
730
731 * soft-fp/sysdeps/powerpc/Versions: Move from here...
732 * sysdeps/powerpc/soft-fp/Versions: ... to here.
733
734 * soft-fp/sysdeps/sparc/sparc64/Versions: Move from here...
735 * sysdeps/sparc/sparc64/soft-fp/Versions: ... to here.
736
737 * libio/oldiofsetpos64.c: iofsetpos was introduced in glibc 2.1,
738 change symbol version.
739 * libio/oldiofgetpos64.c: Likewise.
740 Reported by Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>.
741
742 * locale/programs/ld-ctype.c (charclass_charcode_ellipsis): Fix
743 typo.
744 Reported by dyky@kondara.org, closes PR libc/1886.
745
746 * stdlib/tst-strtod.c: Add testcases for denormal numbers from PR
747 libc/1880.
748
16fe0a88
UD
7492000-09-04 Ulrich Drepper <drepper@redhat.com>
750
0816838f 751 * iconvdata/run-iconv-test.sh: Add code to immediately stop the
813bb1f1
UD
752 script when ^C is hit.
753
16fe0a88
UD
754 * locale/programs/localedef.c (construct_output_path): Correct
755 computation of endp after asprintf.
756 * locale/programs/locfile.c (write_locale_data): Don't add extra
757 slash in filename.
758
2e865507
AJ
7592000-09-05 Andreas Jaeger <aj@suse.de>
760
761 * scripts/config.guess: New upstream version.
762 * scripts/config.sub: Likewise.
763 * manual/texinfo.tex: Likewise.
764
c743652a
UD
7652000-09-04 Andreas Schwab <schwab@suse.de>
766
767 * elf/Makefile (all-dl-routines): New variable.
768 (elide-routines.os): Use it instead of $(dl-routines).
769 (all-rtld-routines): New variable.
770 (extra-objs): Use it instead of $(rtld-routines).
771 ($(objpfx)dl-allobjs.os): Likewise.
772 * sysdeps/ia64/Makefile [$(subdir) = elf]: Modify
773 sysdep-dl-routines and sysdep_routines instead of rtld-routines
774 and dl-routines.
775
7762000-09-03 Bruno Haible <haible@clisp.cons.org>
777
778 * iconv/gconv_trans.c (__gconv_translit_find): Update open_count.
779 Set fname to NULL if the module wasn't found.
780
7812000-09-03 Bruno Haible <haible@clisp.cons.org>
782
783 * iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to
784 true if trans->name already ends in ".so".
785
7862000-09-03 Bruno Haible <haible@clisp.cons.org>
787
788 * iconv/gconv_int.h (__gconv_release_shlib): Change return type to
789 void.
790 * iconv/gconv_dl.c (do_release_shlib): Don't decrement the counter
791 below -TRIES_BEFORE_UNLOAD-1, to avoid wraparound.
792 (__gconv_release_shlib): Change return type to void.
793 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Don't set
794 step->__counter here.
795 * iconv/gconv_db.c (free_derivation): Don't call a step's destructor
796 if the reference is zero.
797 (release_step): New function.
798 (gen_steps): Always initialize the __counter to 1. Use release_step.
799 Don't call the destructor on the step whose initializer failed.
800 (increment_counter): Use release_step. Don't normally run destructors
801 here.
802 (__gconv_close_transform): Use release_step.
803
8042000-09-03 Bruno Haible <haible@clisp.cons.org>
805
806 * iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove.
807 (__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead.
808
8092000-09-03 Bruno Haible <haible@clisp.cons.org>
810
811 * iconvdata/euc-tw.c (BODY for FROM_LOOP): Initialize ch2 correctly.
812 If the first byte is 0x8E, don't ask for 4 bytes until it has been
813 verified that the second byte is valid. Leave it to cns11643_to_ucs4
814 to check for incomplete input.
815 * iconvdata/cns11643.h (cns11643_to_ucs4): The plane number is
816 ch - 0x20 - offset, not ch - 0x21 - offset. Upper bound for
817 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
818 (ucs4_to_cns11643): Fix mapping for ranges 0x3105..0x3129 and
819 0x9f9d..0x9fa5.
820 * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Upper bound for
821 __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
822 (ucs4_to_cns11643l1): Fix mapping for range 0x3105..0x3129.
823 * iconvdata/cns11643l1.c (__cns11643l1_from_ucs4_tab6): Extend
824 upto index 0x0052.
825
8262000-09-03 Bruno Haible <haible@clisp.cons.org>
827
828 * iconv/gconv_db.c (find_derivation): Always use the least-cost
829 solution.
830
8312000-09-03 Bruno Haible <haible@clisp.cons.org>
832
833 * iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF
834 are invalid.
835
8362000-09-03 Bruno Haible <haible@clisp.cons.org>
837
838 * iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C.
839 * iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to
840 U+007E.
841
8422000-09-03 Bruno Haible <haible@clisp.cons.org>
843
844 * iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C.
845
8462000-09-03 Bruno Haible <haible@clisp.cons.org>
847
848 * iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7.
849
8502000-09-03 Bruno Haible <haible@clisp.cons.org>
851
852 * iconvdata/tst-tables.sh: New file.
853 * iconvdata/tst-table.sh: New file.
854 * iconvdata/tst-table-from.c: New file.
855 * iconvdata/tst-table-to.c: New file.
856 * iconvdata/tst-table-charmap.sh: New file.
857 * iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to.
858 (distribute): Add tst-tables.sh, tst-table.sh, tst-table-charmap.sh,
859 tst-table-from.c, tst-table-to.c, EUC-JP.irreversible,
860 ISIRI-3342.irreversible, SJIS.irreversible.
861 (tests): Add dependency on tst-tables.out.
862 (tst-tables.out, tst-tables-clean): New rules.
863 (do-tests-clean, common-mostlyclean): Require tst-tables-clean.
864 * iconvdata/ISIRI-3342.irreversible: New file.
865 * iconvdata/EUC-JP.irreversible: New file.
866 * iconvdata/SJIS.irreversible: New file.
867
8682000-09-04 Ulrich Drepper <drepper@redhat.com>
869
870 * manual/locale.texi (General Numeric): Update description of
871 representation of the grouping information in the locale data.
872 Patch by Gaute B. Strokkenes <gs234@cam.ac.uk>.
873
6d77214d
AJ
8742000-09-04 Andreas Jaeger <aj@suse.de>
875
876 * locale/programs/ld-monetary.c (monetary_read): Fix typo.
877 * iconv/iconv_prog.c (options): Fix typo.
878 Reported by dyky@kondara.org, closes PR libc/1885.
879
56735b11
AJ
8802000-09-04 Andreas Jaeger <aj@suse.de>
881
882 * sysdeps/generic/fegetenv.c: It's __fegetenv.
c743652a 883 Reported by Rob Levin <lilo@transvirtual.com>.
56735b11 884
2e4581e4
UD
8852000-09-03 Ulrich Drepper <drepper@redhat.com>
886
887 * time/sys/time.h (gettimeofday): Move restrict for tz parameter
888 to the typedefs of __timezone_ptr_t.
889 Reported by MATSUMURA Hiromitsu <coji2@mb.infoweb.ne.jp>.
890
8912000-09-02 Jakub Jelinek <jakub@redhat.com>
892
893 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in
894 the loop.
895
8962000-09-01 H.J. Lu <hjl@gnu.org>
897
898 * Makeconfig (built-program-cmd): Don't use the dynamic linker
899 to run a binary if it is in $(tests-static).
900
901 * Rules (binaries-static): Add $(tests-static).
902
3146ad42
AJ
9032000-09-02 Andreas Jaeger <aj@suse.de>
904
905 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Fixes for fcntl64.
906
907 * libio/fmemopen.c (fmemopen_close): Revert one part of last
908 patch.
909
c6cc2207
UD
9102000-09-01 Ulrich Drepper <drepper@redhat.com>
911
6fab0fd3
UD
912 * iconvdata/big5hkscs.c: Regenerated from charmap.
913 * iconvdata/testdata/BIG5HKSCS: Regenerated.
914 * iconvdata/testdata/BIG5HKSCS..UTF8: Regenerated.
915
c6cc2207
UD
916 * libio/fmemopen.c (fmemopen_seek): Add default case in switch
917 statement. General cleanup.
918
4c7d276e
UD
9192000-08-31 Bruno Haible <haible@clisp.cons.org>
920
921 * wctype/wcfuncs.c (iswblank): New function.
922 * wctype/wcfuncs_l.c (__iswblank_l): New function.
923 * wctype/wcextra.c: Remove file.
924 * wctype/wcextra_l.c: Remove file.
925 * wctype/Makefile (distribute): Remove wcextra and wcextra_l.
926
9272000-08-31 Bruno Haible <haible@clisp.cons.org>
928
929 * locale/programs/ld-collate.c (collate_output): Remove redundant
930 assert call.
931 * string/strcoll.c: Likewise.
932 * string/strxfrm.c: Include assert.h. Add assert calls like in
933 string/strcoll.c.
934
9352000-08-31 Bruno Haible <haible@clisp.cons.org>
936
937 * locale/categories.def (_NL_COLLATE_HASH_SIZE,
938 _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_NAMES, _NL_CTYPE_NAMES,
939 _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Remove definitions.
940 * locale/langinfo.h (_NL_COLLATE_HASH_SIZE, _NL_COLLATE_HASH_LAYERS,
941 _NL_COLLATE_NAMES): Rename to _NL_COLLATE_GAP1/2/3 respectively.
942 (_NL_CTYPE_NAMES): Rename to _NL_CTYPE_GAP3.
943 (_NL_CTYPE_GAP3): Rename to _NL_CTYPE_GAP4.
944 (_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Rename to
945 _NL_CTYPE_GAP5/6 respectively.
946
947 * locale/C-ctype.c (_nl_C_LC_CTYPE): Update.
948 * ctype/ctype-info.c (__ctype_names, __ctype_width): Remove variables.
949 * locale/lc-ctype.c (_nl_postload_ctype): Assume new locale format.
950 Don't initialize __ctype_names and __ctype_width.
951 * wctype/cname-lookup.h: Remove file.
952 * wctype/Makefile (distribute): Remove cname-lookup.h.
953 * wctype/wchar-lookup.h: Include stdint.h.
954 * wctype/wctype.c (__wctype): Assume new locale format.
955 * wctype/wctype_l.c (__wctype_l): Likewise.
956 * wctype/iswctype.c: Don't include cname-lookup.h.
957 (__iswctype): Assume new locale format.
958 * wctype/iswctype_l.c: Don't include cname-lookup.h.
959 (__iswctype_l): Assume new locale format.
960 * wctype/wctrans.c: Don't include ctype.h.
961 (wctrans): Assume new locale format.
962 * wctype/wctrans_l.c (__wctrans_l): Likewise.
963 * wctype/towctrans.c: Don't include cname-lookup.h.
964 (__towctrans): Assume new locale format.
965 * wctype/towctrans_l.c: Don't include cname-lookup.h.
966 (__towctrans_l): Assume new locale format.
967 * wctype/wcfuncs.c: Don't include ctype.h and cname-lookup.h. Include
968 localeinfo.h instead.
969 (__NO_WCTYPE): Remove unused macro.
970 (__ctype32_b, __ctype32_toupper, __ctype32_tolower): Remove
971 declarations.
972 (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, iswprint,
973 iswpunct, iswspace, iswupper, iswxdigit): Assume new locale format.
974 (towlower, towupper): Likewise.
975 * wctype/wcfuncs_l.c: Don't include cname-lookup.h. Include
976 localeinfo.h instead.
977 (__NO_WCTYPE): Remove unused macro.
978 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
979 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
980 __iswxdigit_l): Assume new locale format.
981 (__towlower_l, __towupper_l): Likewise.
982 * wcsmbs/wcwidth.h: Don't include cname-lookup.h.
983 (__ctype32_b): Remove declaration.
984 (internal_wcwidth): Assume new locale format.
985 * locale/programs/ld-ctype.c (struct locale_ctype_t): Remove fields
986 plane_size, plane_cnt, names, width. Rename map to map_b, rename map32
987 to map32_b, rename width_3level to width.
988 (ctype_output): Always create new locale format. Don't emit
989 _NL_CTYPE_NAMES, _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS any more.
990 (allocate_arrays): Always create new locale format.
991
992 * locale/C-collate.c (_nl_C_LC_COLLATE): Update.
993 * locale/weightwc.h (findidx): Assume new locale format.
994 * string/strcoll.c (wcscoll): Remove local variables size, layers,
995 names.
996 * string/strxfrm.c (wcsxfrm): Likewise.
997 * posix/fnmatch_loop.c (internal_fnwmatch): Likewise. Change type of
998 local variable collseq to 'const char *'.
999 (SUFFIX): Don't use, don't undefine.
1000 * posix/fnmatch.c: Remove SUFFIX definition.
1001 * locale/programs/ld-collate.c (struct locale_collate_t): Remove
1002 fields plane_size, plane_cnt, wcheads, wcseqorder. Rename
1003 wcheads_3level to wcheads, rename wcseqorder_3level to wcseqorder.
1004 (collate_finish): Always create new locale format. Remove local
1005 variables min_total, act_size.
1006 (collate_output): Always create new locale format. Remove local
1007 variables table_size, names, tablewc. Rename tablewc_3level to
1008 tablewc.
1009
10102000-08-31 Bruno Haible <haible@clisp.cons.org>
1011
1012 * locale/programs/ld-collate.c (obstack_int32_grow,
1013 obstack_int32_grow_fast): New inline functions.
1014 (output_weightwc, collate_output): Use them where possible.
1015
1341abee
UD
10162000-09-01 Ulrich Drepper <drepper@redhat.com>
1017
aebb1faa
UD
1018 * libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last
1019 patch (_mode -> _flags).
1020
a91d3cd3
UD
1021 * libio/Makefile (headers): Add stdio_ext.h.
1022 (routines): Add __fbufsize, __freading, __fwriting, __freadable,
1023 __fwritable, __flbf, __fpurge, __fpending, and __fsetlocking.
1024 * libio/Versions [libc] (GLIBC_2.2): Add __fbufsize, __freading,
1025 __fwriting, __freadable, __fwritable, __flbf, __fpurge, __fpending,
1026 __fsetlocking, and _flushlbf.
1027 * libio/__fbufsize.c: New file.
1028 * libio/__flbf.c: New file.
1029 * libio/__fpending.c: New file.
1030 * libio/__fpurge.c: New file.
1031 * libio/__freadable.c: New file.
1032 * libio/__freading.c: New file.
1033 * libio/__fsetlocking.c: New file.
1034 * libio/__fwritable.c: New file.
1035 * libio/__fwriting.c: New file.
1036 * libio/stdio_ext.h: New file.
1037 * libio/genops.c (_IO_flush_all_linebuffered): Add alias _flushlbf.
1038 * libio/libio.h (_IO_USER_LOCK): Define.
a8e58aa9
UD
1039 [_IO_MTSAFE_IO] (_IO_flockfile, _IO_funlockfile): Add macros which
1040 test _IO_USER_LOCK flag first.
a91d3cd3 1041
1341abee
UD
1042 * iconv/gconv_open.c (__gconv_open): Set res to __GCONV_NOMEM is
1043 malloc fails.
1044
7e481496
AJ
10452000-09-01 Andreas Jaeger <aj@suse.de>
1046
1047 * sysdeps/unix/sysv/linux/bits/fcntl.h: Always fail.
1048
1049 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: New file.
1050
8edf6e0d
UD
10512000-08-31 Ulrich Drepper <drepper@redhat.com>
1052
507cef08
UD
1053 * math/Makefile (tests): Add tst-defintions.
1054 * math/tst-definitions.c: New file.
1055
417bafec
UD
1056 * stdlib/Makefile (headers): Add bits/wchar.h.
1057 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file.
1058 * sysdeps/generic/bits/wchar.h: New file.
1059 * sysdeps/generic/stdint.h: Include <bits/wchar.h>. Use values in this
1060 file to define WCHAR_MIN and WCHAR_MAX.
1061 Change UINT*8_MAX and UIN*16_MAX value to type int.
1062 * wcsmbs/wchar.h: Include <bits/wchar.h>. Use values in this
1063 file to define WCHAR_MIN and WCHAR_MAX.
1064 * sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN
1065 int values.
1066 * sysdeps/arm/fpu/bits/mathdef.h: Likewise.
1067 * sysdeps/generic/bits/mathdef.h: Likewise.
1068 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
1069 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
1070 * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
1071 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
1072 * locale/locale.h (struct lconv): Add __ prefix to the new members
1073 if not C99.
1074 * sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and
1075 imaxdiv optimizations.
1076 * sysdeps/wordsize-32/lldiv.c: Add hack to make alias work.
1077 * sysdeps/wordsize-64/ldiv.c: Likewise.
1078 * sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to
1079 const fenv_t*.
1080 * sysdeps/generic/bits/fenv.h: Likewise.
1081 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
1082 * sysdeps/ia64/bits/fenv.h: Likewise.
1083 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
1084 * sysdeps/mips/bits/fenv.h: Likewise.
1085 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
1086 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
1087 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1088
8edf6e0d
UD
1089 * inet/rcmd.c: Use *stat64 instead of *stat internally.
1090 * inet/ruserpass.c: Likewise.
417bafec 1091 * catgets/open_catalog.c: Likewise.
8edf6e0d
UD
1092 * intl/loadmsgcat.c: Likewise.
1093 * io/getdirname.c: Likewise.
1094 * locale/loadlocale.c: Likewise.
1095 * misc/getusershell.c: Likewise.
1096 * stdlib/canonicalize.c: Likewise.
1097 * sysdeps/posix/euidaccess.c: Likewise.
1098 * sysdeps/posix/isfdtype.c: Likewise.
1099 * sysdeps/posix/posix_fallocate.c: Likewise.
1100 * sysdeps/posix/tempname.c: Likewise.
1101 * sysdeps/unix/grantpt.c: Likewise.
1102 * sysdeps/unix/opendir.c: Likewise.
1103 * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
1104 * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
1105 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1106 * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
1107 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1108 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1109 * sysvipc/ftok.c: Likewise.
1110 * time/getdate.c: Likewise.
1111
1112 * time/getdate.c: Add extra access test.
1113
fbcc0996
UD
11142000-08-31 Ulrich Drepper <drepper@redhat.com>
1115
fe019b57
UD
1116 * version.h (VERSION): Bump to 2.1.93.
1117
3d784d83
UD
1118 * sysdeps/unix/sysv/linux/powerpc/Dist: Add fe_nomask.c.
1119 * sysdeps/unix/sysv/linux/i386/Dist: Add olddirent.h.
1120
55e2d5c7
UD
1121 * intl/Makefile (tests): Depend in mtrace-tst-gettext.
1122 Make this a new rule depending on tst-gettext.out and run mtrace.
1123 * intl/tst-gettext.c: Call mtrace.
1124 * intl/tst-gettext.sh: Put MALLOC_TRACE in environment of tst-gettext.
1125
1126 * elf/dl-reloc.c: Add a few more __builtin_expect.
1127
1128 * configure.in: Remove --with-gettext option.
1129
1130 * intl/dcigettext.c (free_mem): Correct freeing of
1131 _nl_domain_bindings list.
1132
69071b2a
UD
1133 * sysdeps/generic/setenv.c (free_mem): New function. Free all
1134 allocated memory.
1135
fe019b57 1136 * intl/locale.alias: Add aliases for bokmal and nynorsk.
736dda8c
UD
1137
1138 * locale/iso-639.def: Fix 639-1 code for Bokmal.
1139
cb7c4a27
UD
1140 * stdio-common/itoa-digits.c: Move upper digits to...
1141 * stdio-common/itoa-udigits.c: ...here. New file.
1142 * stdio-common/Makefile (routines): Add itoa-udigits.
1143
a778db06
UD
1144 * sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to
1145 relocate ld.so don't add supprt for relocations which should not
1146 appear in ld.so.
1147
fbcc0996
UD
1148 * malloc/malloc.c (ptmalloc_init): Optimize a bit by not calling
1149 __secure_getenv. Instead test __libc_enable_secure once.
1150
1151 * io/pwd.c (main): Provide a good example, use *_unlocked function.
1152
b4f95b74
UD
11532000-08-30 Ulrich Drepper <drepper@redhat.com>
1154
b2fe29dd
UD
1155 * iconv/gconv_conf.c (insert_module): Take extra parameter to decide
1156 whether the new record should be freed if it's a duplicate.
1157 (add_module): Adjust insert_module call.
1158 (__gconv_read_conf): Likewise.
1159 * iconvdata/Makefile (generated): Add tst-loading.mtrace and
1160 mtrace-tst-loading.
1161 (tests): Make $(objpfx)mtrace-tst-loading a dependency. Add rule.
1162
f55727ca
UD
1163 * sysdeps/generic/ldsodefs.h: Add declaration for _dl_all_dirs and
1164 _dl_all_init_dirs.
1165 * include/link.h (struct r_search_path_struct): New.
1166 (struct link_map): Use it for l_rpath_dirs and l_runpath_dirs.
1167 * elf/Versions [ld] (GLIBC_2.2): Add _dl_all_dirs and
1168 _dl_all_init_dirs.
1169 * elf/dl-close.c (_dl_close): Free l_rpath_dirs and l_runpath_dirs.
1170 * elf/dl-libc.c (free_mem): Free _dl_all_dirs list except elements
1171 added at startup time.
1172 * elf/dl-load.c: Fix memory handling. r_search_path_struct
1173 contains element to remember fact that we can free memory.
1174 (all_dirs): Renamed to _dl_all_dirs. Made global.
1175 (_dl_init_all_dirs): New variable.
1176 (fillin_rpath): Save one malloc call.
1177 (decompose_rpath): Change interface. New first parameter points to
1178 r_search_path_struct.
1179 (_dl_init_paths): Adjust for changes. Mark all memory as not
1180 deletable. Set _dl_init_all_paths value.
1181 (open_path): Remove may_free_dirs parameter. r_search_path_elem ***
1182 parameter replaced with r_search_path_struct *. Information about
1183 freeing now contained in r_search_path_struct.
1184 (_dl_map_object): Adjust for above changes.
1185
1186 * elf/dl-open.c (dl_open_worker): Change format of debug info a bit.
1187
4a6d1198
UD
1188 * elf/dl-load.c (fillin_rpath): Only check for trusted directories
1189 when adding new entries.
1190
32ee8d95
UD
1191 * elf/dl-load.c (fillin_rpath): Make local copy of where string
1192 since the object being loaded can be unloaded.
1193
b4f95b74
UD
1194 * iconvdata/Makefile (tests): Add tst-loading.
1195 * iconvdata/tst-loading.c: New file.
1196
44f8759b
UD
11972000-08-29 Bruno Haible <haible@clisp.cons.org>
1198
1199 * stdio-common/vfscanf.c (_IO_vfscanf): Back out last ungetc change.
1200 When comparing a char with an int, always cast the char to
1201 'unsigned char'. New macro ungetc_not_eof, to avoid warnings when
1202 compiling with -funsigned-char. Use UCHAR_MAX+1 instead of UCHAR_MAX.
1203
3dc4a544
UD
12042000-08-30 Ulrich Drepper <drepper@redhat.com>
1205
e668889a
UD
1206 * time/strftime.c (my_strftime): Add compatibility code for use
1207 outside glibc. Patch by Jim Meyering <meyering@ascend.com>.
1208
db7dc811
UD
1209 * sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere
1210 return 0 for success but always < 0 on failure.
1211
3dc4a544
UD
1212 * nss/getXXbyYY_r.c: Define result to *result before including
1213 digits_dots.c.
1214
f6bb547a
AJ
12152000-08-30 Andreas Jaeger <aj@suse.de>
1216
1217 * math/gen-libm-test.pl (parse_ulps): Remove extra \.
1218
076bfcf6
UD
12192000-08-29 Ulrich Drepper <drepper@redhat.com>
1220
47cae281
UD
1221 * iconvdata/big5hkscs.c: Rewritten. Regenerate data from the
1222 official file.
1223 * iconvdata/TESTS: Add BIG5HKSCS entry.
1224 * iconvdata/testdata/BIG5HKSCS: New file.
1225 * iconvdata/testdata/BIG5HKSCS..UTF8: New file.
1226
1227 * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is
1228 always true.
1229
076bfcf6
UD
1230 * libio/iogetline.c: Set mode before the loop in case n==0.
1231 * libio/iogetwline.c: Likewise.
1232
12332000-08-29 H.J. Lu <hjl@gnu.org>
1234
1235 * libio/fileops.c (new_do_write): Check fp->_mode <= 0 instead
1236 of fp->_mode < 0.
1237 (_IO_new_file_overflow): Likewise.
1238 * libio/genops.c (_IO_flush_all): Likewise.
1239 * libio/ioftell.c (_IO_ftell): Likewise.
1240
c7c3b0e9
UD
12412000-08-29 Akira Higuchi <a@kondara.org>
1242
1243 * iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct,
1244 and __end_fct fields of struct __gconv_step.
1245 * iconv/Makefile (tests): Add iconv-bug2.
1246 * iconv/iconv-bug2.c: New file.
1247
1248 * iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr'
1249 instead of 'inptr - inend' to ksc5601_to_ucs4.
1250
1251 * iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character.
1252
1253 * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete
1254 character or shift sequence is found at the end of the input
1255 string, return__GCONV_INCOMPLETE_INPUT instead of
1256 __GCONV_EMPTY_INPUT.
1257 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
1258 * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.
1259
1260 * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return
1261 __GCONV_ILLEGAL_INPUT for 8bit characters.
1262
30f1226b
UD
12632000-08-29 Ulrich Drepper <drepper@redhat.com>
1264
4dadd40c
UD
1265 * signal/signal.h (sigpause): Move __THROW before __asm__.
1266
30f1226b
UD
1267 * inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
1268 names don't match don't return.
1269 Patch by Olaf Kirch <okir@flash.lst.de>.
1270
1a6c971d
UD
12712000-08-28 Ulrich Drepper <drepper@redhat.com>
1272
1273 * time/strftime.c (my_strftime): Handle # flag for %b as well.
1274
8f3f1e09
UD
12752000-08-27 H.J. Lu <hjl@gnu.org>
1276
1277 * posix/Makefile (otherlibs): Add for building with static-nss
1278 for "make check".
1279
46e4bd3b
UD
12802000-08-28 Ulrich Drepper <drepper@redhat.com>
1281
1282 * libio/stdio.h: Add fmemopen prototype.
1283
12842000-08-25 Andreas Jaeger <aj@suse.de>
1285
1286 * libio/Makefile (routines): Add fmemopen.
1287 (tests): Add test-fmemopen.
1288 * libio/Versions: Add fmemopen with version GLIBC_2.2.
1289 * libio/test-fmemopen.c: New file.
1290 * libio/fmemopen.c: New file.
1291 Patches by Hanno Mueller <kontakt@hanno.de>.
1292
4370efec
UD
12932000-08-28 Ulrich Drepper <drepper@redhat.com>
1294
07d94f90
UD
1295 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double
1296 inclusion. Patch by Jes Sorensen <jes@linuxcare.com>.
1297
4370efec
UD
1298 * locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828
1299 to avoid crashing statically linked applications.
1300
04ea3b0f
UD
13012000-08-27 Bruno Haible <haible@clisp.cons.org>
1302
1303 * string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
1304 If nrules == 0 and srclen < n, copy only srclen + 1 characters.
1305
1306 * sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>.
1307 If the result is fits in the buffer, copy only as many bytes as needed.
1308
1309 * sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the
1310 buffer after copying numbuf into it.
1311 * sysdeps/mach/_strerror.c (__strerror_r): Likewise.
1312
13132000-08-27 Bruno Haible <haible@clisp.cons.org>
1314
1315 * posix/confstr.c (confstr): When string_len > len, NUL-terminate
1316 the result. When string_len < len, don't clear the rest of the buffer.
1317
13182000-08-27 Bruno Haible <haible@clisp.cons.org>
1319
1320 Support for new LC_COLLATE format.
1321 * locale/coll-lookup.h: New file.
1322 * locale/weightwc.h (findidx): When size == 0, call
1323 collidx_table_lookup.
1324 * wcsmbs/wcscoll.c: Include coll-lookup.h.
1325 * wcsmbs/wcsxfrm.c: Likewise.
1326 * posix/fnmatch.c: Likewise.
1327 * posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call
1328 collseq_table_lookup.
1329 * locale/programs/3level.h: New file.
1330 * locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define
1331 by including "3level.h".
1332 * locale/programs/ld-collate.c (wchead_table, collidx_table,
1333 collseq_table): New types, defined by including "3level.h".
1334 (locale_collate_t): New wcheads_3level, wcseqorder_3level fields.
1335 (encoding_mask, encoding_byte): Remove.
1336 (utf8_encode): Use simple shifts instead.
1337 (collate_finish): When !oldstyle_tables, set plane_size and plane_cnt
1338 to 0, and initialize and fill wcheads_3level and wcseqorder_3level.
1339 (collate_output): New local variable tablewc_3level. When
1340 !oldstyle_tables, set table_size to 0 and names to NULL and fill
1341 tablewc_3level instead of tablewc. Change format of TABLEWC and
1342 COLLSEQWC entries written to the file.
1343 * locale/C-collate.c (collseqwc): Change format.
1344 (_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format
1345 of COLLSEQWC.
1346 * locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h.
1347
13482000-08-27 Bruno Haible <haible@clisp.cons.org>
1349
1350 * locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro.
1351 (locale_ctype_t): New charnames_idx field.
1352 (ctype_startup): Initialize charnames_idx field.
1353 (find_idx): Speed up dramatically by using charnames_idx inverse table.
1354
13552000-08-27 Bruno Haible <haible@clisp.cons.org>
1356
1357 * locale/C-ctype.c: Switch to new locale format.
1358 (_nl_C_LC_CTYPE_names): Remove array.
1359 (STRUCT_CTYPE_CLASS): New macro.
1360 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
1361 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
1362 New three-level tables.
1363 (_nl_C_LC_CTYPE_width): Change from array to three-level table.
1364 (_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS
1365 to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add
1366 12 class tables and 2 map tables at the end.
1367 * ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration.
1368 (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
1369 graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
1370 New declarations.
1371 (b): Remove trailing semicolon.
1372 (__ctype_names, __ctype_width): Don't initialize.
1373 (__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize.
1374
13752000-08-27 Bruno Haible <haible@clisp.cons.org>
1376
1377 * elf/dl-load.c (open_path): Add a argument telling whether *dirsp
1378 is guaranteed to be allocated with the same malloc() and may be
1379 passed to free().
1380 (_dl_map_object): Update open_path calls. If rtld_search_dirs has
1381 been set to empty by an earlier open_path call, don't pass it again.
1382
102f0642
UD
13832000-08-28 Ulrich Drepper <drepper@redhat.com>
1384
50fd913b
UD
1385 * include/libintl.h: Include <locale.h> since libintl.h doesn't if
1386 we are not optimizing.
1387
924102e7
UD
1388 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double
1389 inclusion.
1390
102f0642
UD
1391 * stdio-common/vfscanf.c (ungetc): Cast c to signed char first to
1392 really match EOF.
1393 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1394
1e0448d4
AJ
13952000-08-28 Andreas Jaeger <aj@suse.de>
1396
1397 * sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon.
1398
b222360c
MK
13992000-08-28 Mark Kettenis <kettenis@gnu.org>
1400
1401 * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from
1402 getpeername. Use ISO C style function definition.
1403 (getpeername): Provide weak alias.
1404 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from
1405 setrlimit. Use ISO C style function definition.
1406 (setrlimit): Provide weak alias.
1407
ba55e591
AJ
14082000-08-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
1409
1410 * shlib-versions: Add a rule for S/390 to the libm version list.
1411 * sysdeps/s390/Versions: New file.
1412 * sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c.
1413 * sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64.
1414 * sysdeps/unix/sysv/linux/s390/Versions: New file.
1415 * sysdeps/unix/sysv/linux/s390/alphasort64.c: New file.
1416 * sysdeps/unix/sysv/linux/s390/chown.c: New file.
1417 * sysdeps/unix/sysv/linux/s390/fxstat.c: New file.
1418 * sysdeps/unix/sysv/linux/s390/getdents64.c: New file.
1419 * sysdeps/unix/sysv/linux/s390/getrlimit.c: New file.
1420 * sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file.
1421 * sysdeps/unix/sysv/linux/s390/lxstat.c: New file.
1422 * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file.
1423 * sysdeps/unix/sysv/linux/s390/readdir64.c: New file.
1424 * sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file.
1425 * sysdeps/unix/sysv/linux/s390/scandir64.c: New file.
1426 * sysdeps/unix/sysv/linux/s390/setrlimit.c: New file.
1427 * sysdeps/unix/sysv/linux/s390/syscalls.list: New file.
1428 * sysdeps/unix/sysv/linux/s390/versionsort64.c: New file.
1429 * sysdeps/unix/sysv/linux/s390/xstat.c: New file.
1430
b9672e71
UD
14312000-08-28 Ulrich Drepper <drepper@redhat.com>
1432
67c28b12
UD
1433 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu]
1434 (CFLAGS-initfini.s): Add -DWEAK_GMON_START.
1435
b35e21f4
UD
1436 * elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files.
1437 * elf/dl-close.c (_dl_close): Print debug message if object is not
1438 unloaded.
1439 * elf/dl-open.c (dl_open_worked): Print message about opencount before
1440 returning to caller.
1441
b9672e71
UD
1442 * po/zh.po: Renamed to...
1443 * po/zh_TW.po: ...this.
1444
e4df97b8
GK
14452000-08-27 Geoff Keating <geoffk@cygnus.com>
1446
5a364152
GK
1447 * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
1448
e4df97b8
GK
1449 * sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
1450 * sysdeps/powerpc/fpu/feenablxcpt.c: New file.
1451 * sysdeps/powerpc/fpu/fegetexcept.c: New file.
1452 * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
1453
48bde9c3
UD
14542000-08-27 Ulrich Drepper <drepper@redhat.com>
1455
3d4ac1ec
UD
1456 * locale/programs/ld-collate.c (insert_weights): Also update
1457 backpointer of next element.
1458 (collate_read): Allow definition of new collation symbols in stage 2.
1459 Symbol after reorder-after can be UCS4 value.
1460 Allow reordering of collation symbols and elements.
1461 Do not only move reorder entry in new position. Instead call
1462 insert_weight to do this and read the weights.
1463
6adc15f5
UD
1464 * locale/findlocale.c (free_mem): Add cast to avoid warning.
1465
4944d5d6
UD
1466 * intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code
1467 to determine invalid locale name.
1468 * locale/findlocale.c (_nl_find_locale): Likewise.
1469
b4f48b41
UD
1470 * posix/annexc.c: Correct test for unavailable feature.
1471
48bde9c3
UD
1472 * sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE ->
1473 __inline.
1474
2b7238dd
UD
14752000-08-26 Ulrich Drepper <drepper@redhat.com>
1476
6a72ae21
UD
1477 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64
1478 syscall.
1479
d4cfddf9
UD
1480 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource]
1481 (sysdep_routines): Add oldgetrlimit64.
1482
2b7238dd
UD
1483 * elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c,
1484 reldepmod2.c, reldepmod3.c, and reldepmod4.c.
1485 (tests): Add unload, reldep, reldep2, and reldep3.
1486 (modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3,
1487 and reldepmod4.
1488 Add rules to build and run unload, reldep, reldep2, and reldep3.
1489 * elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit.
1490 Don't create relocation dependency if it is nonzero.
1491 (_dl_lookup_symbol_skip): Remove relocation dependency stuff. This
1492 can never happen here.
1493 (_dl_lookup_versioned_symbol): Add new parameter explicit.
1494 Don't create relocation dependency if it is nonzero.
1495 (_dl_lookup_versioned_symbol_skip): Remove relocation dependency
1496 stuff. This can never happen here.
1497 * sysdeps/generic/ldsodefs.h: Change prototypes.
1498 * elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to
1499 _dl_lookup_up and _dl_lookup_versioned_symbol.
1500 (RESOLV): Likewise.
1501 * elf/dl-runtime.c (fixup): Likewise.
1502 (profile_fixup): Likewise.
1503 * elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to
1504 _dl_lookup_symbol.
1505 * elf/dl-symbol.c (_dl_symbol_value): Likewise.
1506 * elf/rtld.c (dl_main): Likewise.
1507 * elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to
1508 _dl_lookup_symbol if handle is not RTLD_DEFAULT. Always compute
1509 and pass down the caller map.
1510 (_dl_vsym): Likewise.
1511 * elf/reldep.c: New file.
1512 * elf/reldep2.c: New file.
1513 * elf/reldep3.c: New file.
1514 * elf/reldepmod1.c: New file.
1515 * elf/reldepmod2.c: New file.
1516 * elf/reldepmod3.c: New file.
1517 * elf/reldepmod4.c: New file.
1518 * elf/unload.c: New file.
1519 * elf/unloadmod.c: New file.
1520
1521 * elf/do-lookup.h: Remove unused undef_name parameter.
1522 * elf/dl-lookup.c: Adjust callers.
1523
36466e64
UD
15242000-08-25 Ulrich Drepper <drepper@redhat.com>
1525
1526 * iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of
1527 irreversible in recursive call of conversion function to signal that
1528 no error handling is wanted.
1529 * iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too.
1530 (STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL.
1531 * iconv/skeleton.c (lirreversiblep): New variable. Set to NULL is
1532 recursive error handling call, otherwise to &lirreversible. Use it
1533 for calls to conversion functions.
1534 * iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when
1535 transliterating.
1536 (ucs4_internal_loop_unaligned): Likewise.
1537 (ucs4le_internal_loop): Likewise.
1538 (ucs4le_internal_loop_unaligned): Likewise.
1539
c7f524b8
GM
15402000-08-25 Greg McGary <greg@mcgary.org>
1541
1542 * sysdeps/i386/memchr.S: Check high bound against chars
1543 actually scanned.
1544 * sysdeps/i386/memcmp.S: Likewise.
1545 * sysdeps/i386/stpncpy.S: Adjust high-bound check to
1546 account for pointers that lie one beyond end-of-buffer.
1547
ad7534c8
UD
15482000-08-25 Ulrich Drepper <drepper@redhat.com>
1549
1550 * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic.
1551 * elf/nodelete.c (fini_ran): New global variable.
1552 (do_test): Before every dlclose call clear fini_ran and test
1553 afterwards that it is not set by the destructors.
1554 * elf/nodelmod1.c: Add destructor which sets fini_ran.
1555 * elf/nodelmod2.c: Likewise.
1556 * elf/nodelmod4.c: Likewise.
1557
bb8d0fd5
UD
15582000-08-21 Jes Sorensen <jes@linuxcare.com>
1559
1560 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and
1561 getrlimit to the list.
1562
15632000-08-18 Jes Sorensen <jes@linuxcare.com>
1564
1565 * sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit
1566 long double format so use ldbl-96 instead of ldbl-128.
1567
b7fb789d
UD
15682000-08-25 Ulrich Drepper <drepper@redhat.com>
1569
b0af120f
UD
1570 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL
1571 even if bits 10 a 11 are non-zero.
1572 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise.
1573
1bc777b8
UD
1574 * Makeconfig: Ensures the soversions.mk part of Makefile gets
1575 included before building gnu/lib-names.h
1576 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1577
7045878b
UD
1578 * elf/dl-close.c (_dl_close): Don't run destructors of objects
1579 marked DF_1_NODELETE.
1580
b7fb789d
UD
1581 * sysdeps/posix/system.c (__libc_system): We cannot use vfork here
1582 since we call sigaction in the child.
1583
700f371b
AJ
15842000-08-25 Andreas Jaeger <aj@suse.de>
1585
1586 * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on
1587 gconv-modules.
1588
7a7a7ee5
AJ
15892000-08-25 Andreas Jaeger <aj@suse.de>
1590
1591 * manual/arith.texi (Control Functions): Clarify possible
1592 arguments. Closes PR libc/1856.
1593
2085b8d1
AJ
15942000-08-24 H.J. Lu <hjl@gnu.org>
1595
1596 * stdio-common/Makefile (tests): Don't do it for cross compiling.
8f3f1e09 1597 * malloc/Makefile (tests): Likewise.
2085b8d1 1598
62c27582
UD
15992000-08-24 Ulrich Drepper <drepper@redhat.com>
1600
1601 * iconvdata/unicode.c (gconv_init): Correct test for direction.
1602
469e977f
AJ
16032000-08-24 Andreas Jaeger <aj@suse.de>
1604
1605 * malloc/Makefile (extra-objs): Fix last patch, build memusagestat
1606 only if LIBGD is available.
1607
d46a5ab9
UD
16082000-08-24 Ulrich Drepper <drepper@redhat.com>
1609
1610 * resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid
1611 problems with now restrict parameter types.
1612 (convaddr4to6): Likewise.
1613
16142000-08-24 Denis Joseph Barrow <djbarrow@de.ibm.com>
0067c4cf
AJ
1615
1616 * sysdeps/s390/fpu/fedisblxcpt.c: New file.
1617 * sysdeps/s390/fpu/feenablxcpt.c: New file.
1618 * sysdeps/s390/fpu/fegetexcept.c: New file.
1619 * sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition
1620 FPC_VALID_MASK.
1621
991dca90
AJ
16222000-08-24 Andreas Jaeger <aj@suse.de>
1623
1624 * malloc/Makefile (extra-objs): Add memusagestat.o.
1625 (generated): Added memusage and memusagestat for make clean.
1626
1627 * libio/tst_putwc.c (do_test): Delete temporary file.
3b526f89
AJ
1628 Move inclusion of test-skeleton to front to have prototype for
1629 add_temp_file.
991dca90
AJ
1630
1631 * posix/Makefile (generated): Add wordexp-tst.out.
1632
c81459e7
UD
16332000-08-24 Ulrich Drepper <drepper@redhat.com>
1634
1635 * resolv/res_hconf.c (free_mem): Remove not needed if.
1636
1637 * time/tzset.c (free_mem): New function.
1638 * string/strsignal.c (free_mem): New function.
1639 * inet/inet_ntoa.c (free_mem): New function.
1640 * sunrpc/clnt_perr.c (free_mem): New function.
1641
d5fb902b
AJ
16422000-08-24 Andreas Jaeger <aj@suse.de>
1643
1644 * sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
7e98470d 1645 * sysdeps/unix/sysv/syscalls.list: Likewise.
d5fb902b 1646
219f2381
AJ
1647 * posix/unistd.h: Move internal prototypes from here ...
1648 * include/unistd.h: ... to here.
1649
1650 * sysvipc/sys/shm.h: Add const attribute to __getpagesize.
1651
80bae720
UD
16522000-08-24 Ulrich Drepper <drepper@redhat.com>
1653
84364bf8
UD
1654 * grp/initgroups.c (initgroups): Deallocate groups array.
1655 Reported by jani.raiha@sonera.com [PR libc/1868].
1656
80bae720
UD
1657 * sysdeps/s390/Dist: Add fpu/fenv_libc.h.
1658 * sysdeps/alpha/Dist: Likewise.
1659
f4942eca
UD
16602000-08-23 Ulrich Drepper <drepper@redhat.com>
1661
0c571040
UD
1662 * crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
1663 destructor). Reported by Solar Designer <solar@false.com>.
1664
f4942eca
UD
1665 * iconv/gconv_conf.c (add_module): Remove some unneeded code to
1666 avoid adding double slashes.
1667
91ca07d8
UD
16682000-08-23 Jakub Jelinek <jakub@redhat.com>
1669
1670 * dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__
1671 out of the __REDIRECT macro.
1672
56ce46d5
UD
16732000-08-23 Ulrich Drepper <drepper@redhat.com>
1674
1675 * stdio-common/vfscanf.c: Add %F format support.
1676
1677 * locale/programs/ld-ctype.c (ctype_output): Make sure
1678 _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and
1679 _NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned.
1680 (ctype_read): Enable returning of wide character strings for reading
1681 transliteration information.
1682
0232a3ae
AJ
16832000-08-23 Andreas Jaeger <aj@suse.de>
1684
df9650f1
AJ
1685 * sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove.
1686 Use static __inline instead of _EXTERN_INLINE.
1687
1688 * misc/sys/select.h: Move prototypes of __select from here ...
1689 * include/sys/select.h: ... to here.
1690
1691 * socket/sys/socket.h: Move prototypes of __send and __connect
1692 from here....
1693 * include/sys/socket.h: ... to here.
1694
0232a3ae
AJ
1695 * locale/programs/ld-ctype.c (ctype_read): Fix parameter for
1696 lr_error.
1697
39d4e06f
AJ
16982000-08-23 Jakub Jelinek <jakub@redhat.com>
1699
1700 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use
1701 __setrlimit as strong name. Takes only 2 arguments.
1702
1703 * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit
1704 takes only 2 arguments.
1705
84056c71
AJ
17062000-08-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
1707
ea18f670
AJ
1708 * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
1709
84056c71
AJ
1710 * sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines.
1711
4b156cb2
UD
17122000-08-23 Ulrich Drepper <drepper@redhat.com>
1713
1714 * locale/programs/ld-ctype.c (ctype_read): Allow more than one
1715 default_missing character being specified, pick the first
1716 representable.
1717
d6585e0b
AJ
17182000-08-23 Andreas Jaeger <aj@suse.de>
1719
1720 * include/wchar.h: Add some pure attributes.
1721
1722 * time/time.h: Add const attribute for dysize.
1723
1724 * include/stdlib.h: Add malloc attribute to __posix memalign.
1725
1726 * stdlib/stdlib.h: Add some pure and malloc attributes.
1727 * wcsmbs/wchar.h: Likewise.
1728
1729 * dirent/dirent.h: Add some pure attributes.
1730 * include/dirent.h: Likewise.
1731
24c7f4c1
UD
17322000-08-23 Jakub Jelinek <jakub@redhat.com>
1733
1734 * inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
1735 on 64bit arches.
1736
4cee32dd
UD
17372000-08-22 Ulrich Drepper <drepper@redhat.com>
1738
1739 * iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two
1740 missing buffer size checks.
1741
b4246fd6
UD
17422000-08-23 Andreas Jaeger <aj@suse.de>
1743
7e7b6007
AJ
1744 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as
1745 strong name.
1746 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1747
b4246fd6
UD
1748 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
1749 otherwise __LINUX_KERNEL_VERSION might not be defined.
1750 (MIN): Define if not already defined.
1751
dc63ee35
UD
17522000-08-22 Ulrich Drepper <drepper@redhat.com>
1753
6c46718f
UD
1754 * stdio-common/vfprintf.c: Handle %F format.
1755 * stdio-common/printf-parse.h (parse_one_spec): Likewise.
1756 Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1757
1758 * stdio-common/tstdiomisc.c: Add test for %F printf format.
1759
1760 * po/zh.po: New file.
1761
cf970a32
UD
1762 * iconvdata/sjis.c: In conversion from UCS4, correct test for
1763 enough room in target buffer.
1764 Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865].
1765 * iconvdata/bug-iconv1.c: New file.
1766 * iconvdata/Makefile (tests): Add bug-iconv1.
1767
dc63ee35
UD
1768 * locale/iso-4217.def: Update entry for Nicaragua.
1769
64659255
MK
17702000-08-22 Mark Kettenis <kettenis@gnu.org>
1771
1772 * hurd/hurdsig.c: Rearrange headers a bit.
1773 (_hurdsig_init): Block until _hurd_msgport_thread is initialized
1774 when cthreads is being used.
1775
ea83223c
UD
17762000-08-22 Ulrich Drepper <drepper@redhat.com>
1777
32b4fe6a
UD
1778 * elf/Makefile (distribute): Add dl-osinfo.h.
1779 * sysdeps/generic/dl-osinfo.h: New file.
1780 * sysdeps/unix/sysv/linux/dl-osinfo.h: New file.
1781 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK
1782 if defined.
1783 * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test
84056c71 1784 only for !SHARED case. Get the code from dl-osinfo.h.
32b4fe6a 1785
ea83223c
UD
1786 * stdlib/random_r.c: Cleanups.
1787 * stdlib/tst-random.c: New file.
1788 * stdlib/Makefile (tests): Add tst-random.
1789 Patches by Michael Fischer <fischer-michael@cs.yale.edu>.
1790
84056c71 17912000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
26830935 1792
ea83223c
UD
1793 * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove.
1794 * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove.
1795 * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove.
1796 * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
26830935 1797
8859f576
UD
17982000-08-22 Jakub Jelinek <jakub@redhat.com>
1799
1800 * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove.
1801 * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove.
1802 (__syscall__sysctl): Add.
1803
fe615dce
AJ
18042000-08-21 Andreas Jaeger <aj@suse.de>
1805
1806 * stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR
1807 libc/1864).
1808 * stdlib/tst-strtoll.c: Likewise.
1809
ce19d417
UD
18102000-08-21 Ulrich Drepper <drepper@redhat.com>
1811
faa57563
UD
1812 * stdlib/random_r.c (__setstate_r): Also compute end_ptr
1813 correctly.
1814 (__initstate_r): Set errno on error.
1815 (__random_r): Likewise.
1816 (__setstate_r): Correct offset when computing
1817 new rptr and fptr. Test for arg_state being NULL.
1818 Reported by Michael Fischer <fischer@cs.yale.edu>.
7ca404ad
UD
1819
1820 * posix/regex.h: Add macro definitions to allow compiling outside
1821 glibc.
1822
63336471
UD
1823 * sysdeps/i370/Implies: Removed.
1824 * sysdeps/mvs/Implies: Removed.
1825
1826 * catgets/catgets.c (catopen): Filter out env_var values with / if
1827 necessary.
1828
1829 * locale/findlocale.c (_nl_find_locale): Move test for unusable
1830 locale name after all getenvs.
1831
ce19d417
UD
1832 * configure.in: Allow sed versions like 3.02.8.
1833 Patch by Rodrigo Barbosa <rodrigob@conectiva.com.br>.
1834
959eb65d
UD
18352000-08-21 Marko Myllynen <myllynen@lut.fi>
1836
1837 * inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
1838
9ca00c5b
UD
18392000-08-21 Ulrich Drepper <drepper@redhat.com>
1840
fb7268b2
UD
1841 * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error
1842 of gethostbyname2_r call.
1843
9ca00c5b
UD
1844 * intl/locale.alias: Add aliases for Korean.
1845
84056c71 18462000-08-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
b7d2cec0 1847
b6341471
AJ
1848 * sysdeps/s390/__longjmp.c: Remove unused variable result.
1849 * sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h.
b7d2cec0
AJ
1850 * sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h.
1851 * sysdeps/s390/fpu/fegetenv.c: New file.
1852 * sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h.
1853 * sysdeps/s390/fpu/feholdexcpt.c: New file.
1854 * sysdeps/s390/fpu/fenv_libc.h: New file.
1855 * sysdeps/s390/fpu/fesetenv.c: New file.
1856 * sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h.
1857 * sysdeps/s390/fpu/feupdateenv.c: New file.
1858 * sysdeps/s390/fpu/fgetexcptflg.c: Reformatted.
1859 * sysdeps/s390/fpu/fpu_control.h: Corrected header.
1860 * sysdeps/s390/fpu/fraiseexcpt.c: New file.
1861 * sysdeps/s390/fpu/fsetexcptflg.c: New file.
1862 * sysdeps/s390/fpu/ftestexcept.c: New file.
1863 * sysdeps/s390/fpu/libm-test-ulps: New file.
1864 * sysdeps/s390/gmp-mparam.h: Add end of comment.
1865 * sysdeps/s390/initfini.c: New file.
1866 * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
1867 * sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h.
1868 * sysdeps/unix/sysv/linux/s390/bits/stat.h: New file.
1869 * sysdeps/unix/sysv/linux/s390/lchown.c: New file.
b6341471 1870 * sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to
b7d2cec0
AJ
1871 sys/procfs.h as proposed by Mark Kettenis.
1872 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file.
1873
d4b0774f
AJ
18742000-08-21 Andreas Jaeger <aj@suse.de>
1875
1876 * include/poll.h: Include include/sys/poll.h to get __poll
1877 declaration.
1878
1879 * io/sys/poll.h: Move __poll declaration from here...
1880 * include/sys/poll.h: ...to here.
1881
1882 * include/sys/socket.h (__getpeername): Add declaration.
1883
1884 * include/wchar.h (__vswprintf): Add declaration.
1885
1886 * include/stdio.h (__flockfile): Add declaration.
1887 (__funlockfile): Likewise.
1888
a785f6c5
UD
18892000-08-20 Ulrich Drepper <drepper@redhat.com>
1890
98cbe360
UD
1891 * misc/sys/cdefs.h: Define __restrict_arr.
1892 * include/sys/time.h: Add restrict where required by AGd4.
1893 * inet/arpa/inet.h: Likewise.
1894 * io/sys/stat.h: Likewise.
1895 * io/sys/statvfs.h: Likewise.
1896 * misc/search.h: Likewise.
1897 * misc/sys/select.h: Likewise.
1898 * posix/glob.h: Likewise.
1899 * posix/regex.h: Likewise.
1900 * posix/spawn.h: Likewise.
1901 * posix/unistd.h: Likewise.
1902 * rt/aio.h: Likewise.
1903 * signal/signal.h: Likewise.
1904 * socket/sys/socket.h: Likewise.
1905 * stdlib/ucontext.h: Likewise.
1906 * streams/stropts.h: Likewise.
1907 * string/string.h: Likewise.
1908 * time/time.h: Likewise.
1909 * time/sys/time.h: Likewise.
1910
1911 * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam
1912 and posix_spawnattr_setscheparam.
1913
1914 * libio/stdio.h: Make cuserid prototype again available for all
1915 XPG versions.
1916
4aebaa6b
UD
1917 * argp/argp-help.c: Unify use of function aliases to make more compact
1918 PLT.
1919 * include/libintl.h: Likewise.
1920 * inet/rcmd.c: Likewise.
1921 * intl/dcigettext.c: Likewise.
1922 * libio/iofputws.c: Likewise.
1923 * libio/iofputws_u.c: Likewise.
1924 * libio/iogetwline.c: Likewise.
1925 * libio/swprintf.c: Likewise.
1926 * malloc/malloc.c: Likewise.
1927 * nss/digits_dots.c: Likewise.
1928 * posix/fnmatch.c: Likewise.
1929 * posix/spawn_faction_addclose.c: Likewise.
1930 * posix/spawn_faction_adddup2.c: Likewise.
1931 * posix/spawn_faction_addopen.c: Likewise.
1932 * posix/spawni.c: Likewise.
1933 * posix/wordexp.c: Likewise.
1934 * posix/spawni.c: Likewise.
1935 * resolv/res_hconf.c: Likewise.
1936 * resolv/res_init.c: Likewise.
1937 * shadow/lckpwdf.c: Likewise.
1938 * signal/sighold.c: Likewise.
1939 * signal/sigrelse.c: Likewise.
1940 * stdio-common/printf-parse.h: Likewise.
1941 * stdio-common/printf-prs.c: Likewise.
1942 * stdio-common/printf_fp.c: Likewise.
1943 * stdio-common/vfprintf.c: Likewise.
1944 * stdio-common/vfscanf.c: Likewise.
1945 * stdlib/rpmatch.c: Likewise.
1946 * sunrpc/create_xid.c: Likewise.
1947 * sunrpc/key_call.c: Likewise.
1948 * sysdeps/generic/setrlimit64.c: Likewise.
1949 * sysdeps/generic/utmp_file.c: Likewise.
1950 * sysdeps/generic/vlimit.c: Likewise.
1951 * sysdeps/posix/posix_fallocate.c: Likewise.
1952 * sysdeps/posix/posix_fallocate64.c: Likewise.
1953 * sysdeps/posix/sigpause.c: Likewise.
1954 * sysdeps/posix/sigset.c: Likewise.
1955 * sysdeps/unix/grantpt.c: Likewise.
1956 * sysdeps/unix/bsd/ualarm.c: Likewise.
1957 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
1958 * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
1959 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1960 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
1961 * time/strftime.c: Likewise.
1962 * wcsmbs/wcscoll.c: Likewise.
1963 * wcsmbs/wcsxfrm.c: Likewise.
1964
a785f6c5
UD
1965 * time/tst-getdate.c (main): Make error messages more human readable.
1966
4aebaa6b
UD
1967 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generate
1968 postinc/predec instruction.
a785f6c5
UD
1969 (_FPU_SETCW): Likewise.
1970 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1971
7a66c585
AJ
19722000-08-20 Andreas Jaeger <aj@suse.de>
1973
1974 * time/tst-getdate.c (main): Increase error in case of wrong
1975 conversion.
1976 Fix typo in test case.
1977
2f599545
UD
19782000-08-20 Ulrich Drepper <drepper@redhat.com>
1979
00d8bc81
UD
1980 * ctype/ctype.h (isblank): Make available if ISO C99.
1981 * wctype/wctype.h (iswblank): Make available if ISO C99.
1982 * math/math.h (signgam): Don't make available if ISO C99.
1983 * math/tgmath.h (tgamma): Renamed from gamma.
1984 Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
1985
2f599545
UD
1986 * intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
1987 Pretty printing.
1988 * intl/plural.y (new_exp): Take number of optional parameters in
1989 second parameter. Test for correct number of parameters and free
1990 correctly in case of failure. Adjust all callers.
1991 (yylex): Allow ';' as terminator character.
1992
6145e823
UD
19932000-08-19 Ulrich Drepper <drepper@redhat.com>
1994
9b02e868
UD
1995 * locale/lc-time.c (free_mem): New function. Free alt_digits and
1996 walt_digits.
1997
f1ba489e
UD
1998 * locale/findlocale.c (free_mem): Also free here->filename.
1999
2000 * locale/loadlocale.c (_nl_unload_locale): Also free locale->name.
2001
6145e823
UD
2002 * math/test-fenv.c (feenv_tests): Clear all exceptions before
2003 first test.
2004 (feexcp_nomask_test): Correct printf args.
2005 (feexcp_mask_test): Likewise.
2006
60f0e64b
UD
20072000-08-19 Andreas Jaeger <aj@suse.de>
2008
03ae3c1e
AJ
2009 * inet/tst-gethnm.c: Include string.h to provide prototype for
2010 strcmp.
2011
60f0e64b
UD
2012 * malloc/mtrace.pl (usage): Inform about --help.
2013
20142000-08-19 Wolfram Gloger <wg@malloc.de>
2015
f1ba489e 2016 * malloc/malloc.c (new_heap): Try harder to get an aligned chunk of
60f0e64b
UD
2017 size HEAP_MAX_SIZE.
2018
20192000-08-19 Andreas Jaeger <aj@suse.de>
2020
2021 * shlib-versions: Remove libnss_db, libdb and libdb1.
2022
20232000-08-19 Jakub Jelinek <jakub@redhat.com>
2024
2025 * sysdeps/unix/sysv/linux/alpha/readdir.c: Move...
2026 * sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and
2027 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here.
2028 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move...
2029 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and
2030 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here.
2031 * sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove.
2032 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove.
2033 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove.
2034 * sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS
2035 getdents.
2036 * sysdeps/unix/sysv/linux/readdir64.c: Remove versioning.
2037 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
2038
20392000-08-18 Jakub Jelinek <jakub@redhat.com>
2040
2041 * include/glob.h (__glob64): Add prototype.
2042 * sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only
2043 define glob and glob_in_dir.
2044 * sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2.
2045 * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
2046 * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
2047 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
2048 * sysdeps/unix/sysv/linux/i386/glob64.c: New file.
2049 * sysdeps/unix/sysv/linux/arm/glob64.c: New file.
2050 * sysdeps/unix/sysv/linux/powerpc/glob64.c: New file.
2051 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: New file.
2052
20532000-08-18 Jakub Jelinek <jakub@redhat.com>
2054
2055 * malloc/Makefile (memusage): libmemusage.so is installed in slibdir.
2056
20572000-08-17 Andreas Jaeger <aj@suse.de>
2058
2059 * math/test-fenv.c (fe_single_test): New function.
2060 (fe_env_tests): Use fe_single_test.
2061 (feenable_test): New tests for feenable/fedisable and
2062 fegetexcpetions.
2063 (feexcp_mask_test): New function.
2064 (feexcp_nomask_test): New function.
2065
20662000-08-19 Richard Henderson <rth@cygnus.com>
2067
2068 * sysdeps/alpha/fpu/fenv_libc.h: New file.
2069 * sysdeps/alpha/fpu/fclrexcpt.c: Use it.
2070 * sysdeps/alpha/fpu/fegetenv.c: Likewise.
2071 * sysdeps/alpha/fpu/fesetround.c: Likewise.
2072 * sysdeps/alpha/fpu/fegetround.c: Likewise.
2073 * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
2074 * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
2075 * sysdeps/alpha/fpu/ftestexcept.c: Likewise.
2076 * sysdeps/alpha/fpu/fedisblxcpt.c: Likewise. Use the smaller mask.
2077 * sysdeps/alpha/fpu/feenablxcpt.c: Likewise.
2078 * sysdeps/alpha/fpu/fegetexcept.c: Likewise.
2079 * sysdeps/alpha/fpu/feholdexcpt.c: Retain the SWCR_MAP bits.
2080 * sysdeps/alpha/fpu/fesetenv.c: Likewise.
2081 * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
2082 * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
2083 * sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): New.
2084 (FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New.
2085
f3322bec
AJ
20862000-08-19 Andreas Jaeger <aj@suse.de>
2087
2088 * elf/constload1.c: Include <stdio.h> for puts prototype.
2089
752a2a50
UD
20902000-08-19 Ulrich Drepper <drepper@redhat.com>
2091
2092 * elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions.
2093 * elf/dl-deps.c (_dl_map_object_deps): If object was dependency of
2094 a dynamically loaded object remove old l_initfini list.
2095 * elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to
2096 remove some dynamically allocated memory blocks in the dynamic
2097 loading data structures.
2098 * elf/dl-load.c (add_name_to_object): Initialize dont_free to 0.
2099 * elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions.
2100 Instead call _dl_check_map_versions only for the dependencies.
2101 * elf/rtld.c: Avoid unneccessary initializations. Mark l_libname
2102 information of initial objects as not free-able.
2103 * sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free
2104 element.
2105
2106 * elf/filter.c: Call mtrace.
2107 * elf/restest1.c: Likewise. Close the objects.
2108 * elf/loadtest.c: Call mtrace. Check result of dlclose. Print more
2109 debug information.
2110
2111 * elf/constload1.c: Add comment explaining not freed memory.
2112
a0c9a28b
AJ
21132000-08-18 Andreas Jaeger <aj@suse.de>
2114
2115 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show
2116 alignment for structs stat and stat64.
2117 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2118
de9bd685
UD
21192000-08-17 Ulrich Drepper <drepper@redhat.com>
2120
09970c4e
UD
2121 * sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino
2122 handling. Patch by Richard Henderson <rth@twiddle.net>.
2123
de9bd685
UD
2124 * nss/Versions: Remove libnss_db information.
2125
4c4b9518
UD
21262000-08-16 Jakub Jelinek <jakub@redhat.com>
2127
2128 * sysdeps/sparc/fpu/fedisblxcpt.c: New file.
2129 * sysdeps/sparc/fpu/feenablxcpt.c: New file.
2130 * sysdeps/sparc/fpu/fegetexcept.c: New file.
2131 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: New file.
2132
2133 * sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries
2134 to match Solaris.
2135
0f6b172f
UD
21362000-08-17 Ulrich Drepper <drepper@redhat.com>
2137
319b400b
UD
2138 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code.
2139 (_FPU_SETCW): Likewise.
2140 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2141
0f6b172f
UD
2142 * stdio-common/printf_fp.c: Fix chars_needed computation.
2143 Patch by Greg McGary <greg@mcgary.org>.
2144
21452000-08-17 Jakub Jelinek <jakub@redhat.com>
2146
2147 * elf/dl-load.c (_dl_map_object): Don't crash if both loader and
2148 _dl_loaded are NULL.
2149
21502000-08-17 Jakub Jelinek <jakub@redhat.com>
2151
2152 * manual/arith.texi (feholdexcept): Returns 0 on success.
2153
21542000-08-17 Andreas Jaeger <aj@suse.de>
2155
2156 * sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname.
2157 (ifr_newname): New.
2158 Reported by Andi Kleen <ak@suse.de>.
2159
21602000-08-17 Jakub Jelinek <jakub@redhat.com>
2161
2162 * sysdeps/alpha/fpu/fedisblxcpt.c: New file.
2163 * sysdeps/alpha/fpu/feenablxcpt.c: New file.
2164 * sysdeps/alpha/fpu/fegetexcept.c: New file.
2165
21662000-08-16 Jakub Jelinek <jakub@redhat.com>
2167
2168 * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): Test sizes
2169 of buf->st_ino and kbuf->st_ino, not __st_ino.
2170 If _HAVE_STAT64___ST_INO is not defined, don't use __st_ino at all.
2171 * sysdeps/unix/sysv/linux/getdents64.c: Change path in #include
2172 directive so that only linux/getdents.c is used, not some
2173 architecture specific one.
2174
21752000-08-16 Jakub Jelinek <jakub@redhat.com>
2176
2177 * sysdeps/i386/fpu/fegetexcept.c (fegetexcept): Return currently
2178 enabled, not disabled exceptions.
2179 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2180 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
2181
e64911d1
GM
21822000-08-17 Greg McGary <greg@mcgary.org>
2183
2184 * Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix
2185 from test program name when constructing suffix for $(LDLIBS-*).
2186 (bounded-thread-library): New variable.
2187 * crypt/Makefile
2188 [build-shared, build-static] (libcrypt-dep): Remove variable.
2189 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
2190 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
2191 * linuxthreads/Makefile (libpthread, librt): Remove variables.
2192 (librt-tests): Add variable. (tests): Use it.
2193 [build-shared, build-static]
0f6b172f
UD
2194 ($(addprefix $(objpfx),$(tests)),
2195 $(addprefix $(objpfx),$(librt-tests))):
e64911d1
GM
2196 Consolidate individual dependencies.
2197 [build-bounded]
2198 ($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)):
2199 Add dependencies.
2200 * math/Makefile (LDLIBS-*): Remove variables (they are redundant).
2201 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
2202 * misc/Makefile
2203 [build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies.
2204 * rt/Makefile
2205 [build-shared, build-static]
2206 ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
2207 [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
2208
22092000-08-17 Greg McGary <greg@mcgary.org>
2210
2211 * sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/
2212 * sysdeps/unix/make-syscalls.sh: Likewise.
2213 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2214 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2215 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
2216 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
2217 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
2218
22192000-08-17 Greg McGary <greg@mcgary.org>
2220
2221 * sysdeps/i386/fpu/s_frexp.S: Check bounds.
2222 Wrap extern symbols in BP_SYM ().
2223 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2224 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2225 * sysdeps/i386/fpu/s_remquo.S: Likewise.
2226 * sysdeps/i386/fpu/s_remquof.S: Likewise.
2227 * sysdeps/i386/fpu/s_remquol.S: Likewise.
2228 * sysdeps/i386/fpu/s_sincos.S: Likewise.
2229 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
2230 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2231 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2232 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2233
9a81430b
AS
22342000-08-16 Andreas Schwab <schwab@suse.de>
2235
2236 * sysdeps/m68k/fpu/fegetexcept.c: New file.
2237 * sysdeps/m68k/fpu/fedisblxcpt.c: New file.
2238 * sysdeps/m68k/fpu/feenablxcpt.c: New file.
2239
1ebba33e
UD
22402000-08-15 Ulrich Drepper <drepper@redhat.com>
2241
2242 * sysdeps/generic/ldsodefs.h: Declare _nl_nloaded.
2243 * elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded.
2244 * elf/dl-support.c: Define _nl_nloaded.
2245 * elf/rtld.c: Likewise. Increment _nl_nloaded for rtld itself.
2246 * elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding
2247 object to global list.
2248 * elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing
2249 from _dl_loaded list.
2250 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2251 * elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the
2252 number here.
2253
2254 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not
2255 unmask, exceptions.
2256 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask,
2257 exceptions.
2258 Reported by Harvey J. Stein <hjstein@bfr.co.il>.
2259
6784ab92
AJ
22602000-08-16 Andreas Jaeger <aj@suse.de>
2261
2262 * elf/elf.h (EM_X8664): Add official x86-64 specific value.
2263
9df76933
UD
22642000-08-15 Marko Myllynen <myllynen@lut.fi>
2265
2266 * inet/netinet/icmp6.h: Added Mobile IPv6 definitions.
2267
5763742f
UD
22682000-08-15 Ulrich Drepper <drepper@redhat.com>
2269
3a41e723
UD
2270 * sysdeps/unix/sysv/linux/powerpc/Dist: Add oldgetrlimit64.c.
2271 * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)=resource]
2272 (sysdep_routines): Add oldgetrlimit64.
2273 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file.
2274 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2275
0f6b172f 2276 * include/link.h: Undo last patches. Hurd now has stat64.
5763742f
UD
2277 * elf/Makefile: Likewise.
2278 * elf/dl-load.c: Likewise.
2279 * elf/dl-misc.c: Likewise.
2280 * elf/dl-profile.c: Likewise.
2281 * sysdeps/generic/sysd-link.h: Removed.
2282 * sysdeps/unix/sysv/linux/sysd-link.h: Removed.
2283
2284 * rt/aio_notify.c (notify_func_wrapper): Wrapper function to call
2285 thread event callback function.
2286 (__aio_notify_only): Use function above.
2287 Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
2288
dee6b86d
MK
22892000-08-16 Mark Kettenis <kettenis@gnu.org>
2290
2291 * sysdeps/mach/hurd/lseek64.c: New file.
2292
724000bc
MK
22932000-08-15 Mark Kettenis <kettenis@gnu.org>
2294
2295 * sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t):
2296 Remove typedefs.
2297 * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove
2298 typedefs.
2299 * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove
2300 typedefs.
2301 * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.
2302
fd811dc6
MK
23032000-08-15 Mark Kettenis <kettenis@gnu.org>
2304
2305 * sysdeps/mach/hurd/xstatconv.c: New file.
2306 * sysdeps/mach/hurd/fxstat64.c: New file.
2307 * sysdeps/mach/hurd/lxstat64.c: New file.
2308 * sysdeps/mach/hurd/xstat64.c: New file.
2309 * sysdeps/mach/hurd/Dist: Add xstatconv.c.
2310
3142475c
MK
23112000-08-15 Mark Kettenis <kettenis@gnu.org>
2312
2313 * sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs):
2314 Initialize, needed for change in common symbol handling in newer
2315 binutils. Mirrors 2000-01-03 change made by Andreas Schwab.
2316
07a3d63e
UD
23172000-08-15 Ulrich Drepper <drepper@redhat.com>
2318
805d2e7d
UD
2319 * elf/constload1.c: Call mtrace. Check return value of dlclose call.
2320 * elf/constload2.c: Add destructor to unload constload3.
2321
fc7f617d
UD
2322 * include/link.h: Include sysd-link.h.
2323 * sysdeps/generic/sysd-link.h: New file.
2324 * sysdeps/unix/sysv/linux/sysd-link.h: New file.
2325 * elf/Makefile (distribute): Add sysd-link.h.
2326 * elf/dl-load.c: Use definitions from sysd-link.h instead of stat
2327 types and functions directly.
2328 * elf/dl-misc.c: Likewise.
2329 * elf/dl-profile.c: Likewise.
2330
2331 * elf/loadfail.c (main): Close all successfully loaded objects.
2332
07a3d63e
UD
2333 * elf/multiload.c: Add mtrace call. Call dlclose for all handles and
2334 free wd.
2335 * elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if
2336 there is already one.
2337
2338 * elf/dl-close.c: Pretty print.
2339
a6bd56c7
UD
23402000-08-14 Ulrich Drepper <drepper@redhat.com>
2341
b8fd5502
UD
2342 * sysdeps/posix/ttyname.c: Make name variable from getttyname function
2343 global (with file scope). Add __libc_subfreeres function to free the
2344 string.
2345 * sysdeps/unix/sysv/linux/ttyname.c: Likewise. Also for buf variable
2346 in ttyname function.
2347
2348 * sysdeps/generic/strtok.c: Remove initializer for olds variable.
2349
2350 * crypt/md5-crypt.c: Let destructor deallocate static buffer.
2351
2352 * iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by
2353 mapping them to /x5c and /x7e respectively.
2354
a6bd56c7
UD
2355 * locale/programs/ld-ctype.c: Add support for more definitions after
2356 copy statement.
2357
14860991
UD
23582000-08-14 Jakub Jelinek <jakub@redhat.com>
2359
2360 * dirent/Versions (getdirentries64): Export at GLIBC_2.2.
2361 * sysdeps/unix/sysv/linux/kernel-features.h
2362 (__ASSUME_GETDENTS64_SYSCALL): Define.
2363 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64
2364 syscall if available to get d_type fields.
2365 * sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define.
2366 * sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64,
2367 __lxstat64): Export at GLIBC_2.2.
2368 (alphasort64, readdir64, readdir64_r, scandir64, versionsort64):
2369 Likewise.
2370 * sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove.
2371 * sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define.
2372 * sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64,
2373 getdirentries64, versionsort64): Remove.
2374 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64,
2375 getdirentries64, versionsort64): Remove.
2376
47b853e8
UD
23772000-08-13 Ulrich Drepper <drepper@redhat.com>
2378
2379 * posix/Makefile: Remove rules to generate glob package.
2380
2381 * posix/Makefile (tests): Add tst-regexloc.
2382 (tst-regexloc-ENV): Add LOCPATH.
2383 * posix/tst-regexloc.c: New file.
2384
91bc38d0
UD
23852000-08-12 Andreas Jaeger <aj@suse.de>
2386
2387 * include/features.h (__STDC_ISO_10646__): Define.
2388 Reported by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
2389
7e3399b3
UD
23902000-08-13 Ulrich Drepper <drepper@redhat.com>
2391
91bc38d0
UD
2392 * include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600.
2393
2394 * locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not
2395 for revision 6 and up).
2396
2397 * posix/sys/types.h: Define __need_timer_t and __need_clockid_t before
2398 including <time.h>.
2399 * time/time.h: Allow __need_timer_t and __need_clockid_t to be defined
2400 to get definitions of just these types.
2401
2402 * signal/signal.h: Define thread signal handling functions also for
2403 POSIX95.
2404
2405 * sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for
2406 POSIX95.
2407 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2408 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
2409 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2410 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2411
2412 * sysvipc/sys/shm.h: Define pid_t for XPG.
2413
8de72f53
UD
2414 * posix/unistd.h: Remove setkey, rename, and cuserid prototypes as
2415 they are not anymore required here.
2416
91bc38d0
UD
2417 * wcsmbs/wchar.h: Make the various wide char string and stream
2418 functions available for the respective XPG versions.
2419
7e3399b3
UD
2420 * nss/Makefile: Remove rules to build and distribute nss_db.
2421
2422 * sysdeps/generic/alphasort64.c: Remove unnecessary versioning.
2423 * sysdeps/generic/scandir64.c: Likewise.
2424 * sysdeps/generic/versionsort64.c: Likewise.
2425
319d719d
UD
24262000-08-13 Ulrich Drepper <drepper@redhat.com>
2427 Benjamin Koznik <bkoz@redhat.com>
2428
2429 * libio/fileops.c: Merge with libstdc++-v3.
2430 * libio/genops.c: Likewise.
2431 * libio/iofclose.c: Likewise.
2432 * libio/iofopen.c: Likewise.
2433 * libio/iofwide.c: Likewise.
2434 * libio/libio.h: Likewise.
2435 * libio/libioP.h: Likewise.
2436 * libio/stdfiles.c: Likewise.
2437 * libio/stdio.c: Likewise.
2438 * libio/wfileops.c: Likewise.
2439 * libio/wgenops.c: Likewise.
2440
2441 * libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2.
2442
8868f97b
UD
24432000-08-12 Ulrich Drepper <drepper@redhat.com>
2444
8a82cc30
UD
2445 * locale/programs/localedef.c: Implement --prefix option to allow
2446 writing in standard places of alternative install directories.
2447
8868f97b
UD
2448 * posix/regex.c (compile_range): Implement collation sequence
2449 handling for glibc. Use simple character ordering otherwise and
2450 not strcoll.
2451
451fc032
UD
24522000-08-12 Mark Kettenis <kettenis@gnu.org>
2453
2454 * sysdeps/generic/scandir64.c: Include <dirent.h>.
2455
2390667f
UD
24562000-08-12 Andreas Jaeger <aj@suse.de>
2457
2458 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle
2459 __USE_FILE_OFFSET64 correctly for locking.
2460 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2461
00c02822
UD
24622000-08-12 Jakub Jelinek <jakub@redhat.com>
2463
2464 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2465 Define for 2.4.1 on sparc as well.
2466 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fill in correct values
2467 for F_GETLK64, F_SETLK64, and F_SETLKW64.
2468 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: New file.
2469 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: New file.
2470
977588cd
UD
24712000-08-12 Ulrich Drepper <drepper@redhat.com>
2472
2473 * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also
2474 defined.
2475
590a6393
UD
24762000-08-12 Andreas Jaeger <aj@suse.de>
2477
facd11c2
AJ
2478 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64,
2479 F_SETLK64, F_SETLKW64): Define with F_GETLK etc.
2480
e762517d
AJ
2481 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
2482 mips2 for assembler.
2483
590a6393
UD
2484 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl
2485 if fnctl64 is not available for F_*LK*64.
2486
2487 * sysdeps/unix/sysv/linux/i386/lockf64.c: New file.
2488
21f6a100
UD
24892000-08-12 Ulrich Drepper <drepper@redhat.com>
2490
2491 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2492 Define for 2.4.1 on x86.
2493 * sysdeps/unix/sysv/linux/i386/fcntl.c: New file.
2494 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Fill in correct values
2495 for F_GETLK64, F_SETLK64, and F_SETLKW64.
2496
2497 * dirent/dirent.h: Define DT_WHT.
2498
2499 * sysdeps/unix/sysv/linux/arm/alphasort64.c: New file.
2500 * sysdeps/unix/sysv/linux/arm/getdents64.c: New file.
2501 * sysdeps/unix/sysv/linux/arm/readdir64.c: New file.
2502 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: New file.
2503 * sysdeps/unix/sysv/linux/arm/scandir64.c: New file.
2504 * sysdeps/unix/sysv/linux/arm/versionsort64.c: New file.
2505
56ddf355
UD
25062000-08-11 Ulrich Drepper <drepper@redhat.com>
2507
8337f053
UD
2508 * nss/digits_dots.c: Don't pass NULL in h_aliases for successful
2509 lookup, pass pointer to array with NULL pointer [PR libc/1858].
11a9c0ce
UD
2510 * inet/Makefile (tests): Add tst-gethnm.
2511 * inet/tst-gethnm.c: New file.
8337f053 2512
56ddf355
UD
2513 * rt/aio_cancel.c: If canceling a specific request which is running
2514 *really* do nothing.
2515 * rt/aio_misc.h: Add `done' to states of a request.
2516 * rt/aio_misc.c: Add several tests for the correct state.
2517 Simplify request table memory handling.
2518
25192000-08-10 Jakub Jelinek <jakub@redhat.com>
2520
2521 * dirent/scandir.c: Use it for scandir64 and old_scandir64 as well.
2522 * dirent/scandir64.c: Move...
2523 * sysdeps/generic/scandir64.c: ...here.
2524 * dirent/alphasort64.c: Move...
2525 * sysdeps/generic/alphasort64.c: ...here.
2526 * dirent/versionsort64.c: Move...
2527 * sysdeps/generic/versionsort64.c: ...here.
2528 * sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64,
2529 getdirentries64, readdir64, readdir64_r, scandir64, versionsort64):
2530 Export symbols at GLIBC_2.2.
2531 * sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise.
2532 * sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise.
2533 * include/dirent.h (__readdir64_r, __scandir64, __alphasort64,
2534 __versionsort64): Add prototypes.
2535 * io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
2536 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove
2537 unused prototype.
2538 * sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1
2539 and GLIBC_2.2.
2540 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise.
2541 * sysdeps/unix/sysv/linux/alpha/getdents.c: New.
2542 * sysdeps/unix/sysv/linux/alpha/getdents64.c: New.
2543 * sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to
2544 __u_quad_t.
2545 * sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64):
2546 Adjust for kernel-2.4.0-test6 layout.
2547 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both
2548 GLIBC_2.1 and GLIBC_2.2.
2549 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise.
2550 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise.
2551 * sysdeps/unix/sysv/linux/i386/getdents64.c: New.
2552 * sysdeps/unix/sysv/linux/i386/olddirent.h: New.
2553 * sysdeps/unix/sysv/linux/i386/readdir64.c: New.
2554 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: New.
2555 * sysdeps/unix/sysv/linux/i386/scandir64.c: New.
2556 * sysdeps/unix/sysv/linux/i386/alphasort64.c: New.
2557 * sysdeps/unix/sysv/linux/i386/versionsort64.c: New.
2558 * sysdeps/unix/sysv/linux/ia64/getdents.c: New.
2559 * sysdeps/unix/sysv/linux/ia64/getdents64.c: New.
2560 * sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c.
2561 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c.
2562 * sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to
2563 __u_quad_t.
2564 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New.
2565 * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define.
2566 * sysdeps/unix/sysv/linux/powerpc/scandir64.c: New.
2567 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: New.
2568 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: New.
2569 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New.
2570 * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to
2571 __u_quad_t.
2572 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: New.
2573 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*):
2574 Define.
2575 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New.
2576 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New.
2577 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New.
2578 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New.
2579 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*):
2580 Define.
2581 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include
2582 alpha/readdir.c.
2583 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include
2584 alpha/readdir_r.c
2585 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New.
2586 * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New.
2587 * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If
2588 _HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set
2589 st_ino from __st_ino.
2590 * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
2591 * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
2592 * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv,
2593 xstat32_conv): Use _HAVE_STAT* macros. If _HAVE_STAT64___ST_INO,
2594 set __st_ino in addition to st_ino.
2595 * sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define.
2596 * sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and
2597 __old_getdents64 as well.
2598 * sysdeps/unix/sysv/linux/getdirentries.c: Use it for
2599 getdirentries64 and old_getdirentries64 as well.
2600 * sysdeps/unix/sysv/linux/getdirentries64.c (GETDIRENTRIES,
2601 __GETDENTS): Define.
2602 (GETDENTS64): Remove.
2603 * sysdeps/unix/sysv/linux/getdents64.c (__GETDENTS, DIRENT_TYPE):
2604 Define.
2605 (GETDENTS64): Remove.
2606 * sysdeps/unix/sysv/linux/readdir64.c: Use sysdeps/unix/readdir.c.
2607 * sysdeps/unix/sysv/linux/readdir64_r.c: Use sysdeps/unix/readdir_r.c.
2608 * sysdeps/unix/readdir.c: Use it for readdir64 and __old_readdir64
2609 as well.
2610 * sysdeps/unix/readdir_r.c: Use it for readdir64_r and
2611 __old_readdir64_r as well.
2612 * sysdeps/unix/sysv/linux/kernel-features.h: Define
2613 __ASSUME_ST_INO_64_bit for kernel 2.4.1 and up.
2614
1a5b42af
UD
26152000-08-08 Jes Sorensen <jes@linuxcare.com>
2616
56ddf355 2617 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL define.
1a5b42af
UD
2618 Add missing ILL_BADIADDR to enum and make ILL_BREAK match the
2619 define of the kernel.
2620 Add missing __SEG_PSTKOVF definition.
2621 Adjust the padding of struct siginfo and struct sigevent to
2622 match the fact that sigval_t is 64 bit.
2623
3459f702
UD
26242000-08-10 Ulrich Drepper <drepper@redhat.com>
2625
2626 * timezone/zic.c: Update from tzcode2000f.
2627 * timezone/australasia: Update from tzdata2000f.
2628 * timezone/europe: Likewise.
2629 * timezone/southamerica: Likewise.
2630 * timezone/yearistype: Likewise.
2631
5c75f32d
AJ
26322000-08-10 Andreas Jaeger <aj@suse.de>
2633
2634 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Synch struct stat64 and
2635 stat with current MIPS kernel.
2636
835bf8e0
UD
26372000-08-01 Mark Kettenis <kettenis@gnu.org>
2638
2639 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_greg_t, ELF_NGREG,
2640 elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved to
2641 sysdeps/unix/sysv/linux/i386/sys/procfs.h.
2642 Remove the junk that's only relevant in the Linux kernel itself.
2643 Add a warning saying that this file is now obsolete, and include
2644 <sys/procfs.h>.
2645 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (elf_greg_t,
2646 ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved
2647 here from sysdeps/unix/sysv/linux/i386/sys/elf.h. Don't include
2648 <signal.h>, <sys/ucontext.h> and <sys/elf.h>. Remove parts of
2649 `struct elf_prstatus' that are #ifdef'ed out. Improve comments
2650 and add the notice that the file is primarily there for GDB.
2651 * sysdeps/unix/sysv/linux/i386/sys/user.h: Fix comment.
2652
26532000-08-09 Jakub Jelinek <jakub@redhat.com>
2654
2655 * time/tzfile.c (__tzfile_compute): __tzstring zones
2656 from zone_names.
2657
26582000-08-09 Jakub Jelinek <jakub@redhat.com>
2659
2660 * resolv/resolv.h (__res_state): Surround prototype with
2661 __BEGIN_DECLS/__END_DECLS.
2662 * sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h.
2663
26642000-08-04 Jes Sorensen <jes@linuxcare.com>
2665
2666 * sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource):
2667 Make independant of asm/resource.h from the Linux kernel.
2668
26692000-08-06 Bruno Haible <haible@clisp.cons.org>
2670
2671 * iconv/gconv_conf.c (__gconv_read_conf): Don't call realpath.
2672
26732000-08-06 Bruno Haible <haible@clisp.cons.org>
2674
2675 * intl/Makefile (CPPFLAGS): Remove $(i18ndir) from LOCALE_ALIAS_PATH.
2676 * locale/Makefile (locale-CPPFLAGS): Likewise.
2677
26782000-08-09 Ulrich Drepper <drepper@redhat.com>
2679
2680 * sysdeps/i386/fpu/libm-test-ulps: Increase several error values
2681 for AMD processors.
2682
26832000-08-03 Jakub Jelinek <jakub@redhat.com>
2684
2685 * misc/Versions (mincore): Export at GLIBC_2.2.
2686
26872000-08-03 Bruno Haible <haible@clisp.cons.org>
2688
2689 * intl/libintl.h (gettext, dgettext, dcgettext): Add back __THROW.
2690
36f7b1df
MK
26912000-08-02 Mark Kettenis <kettenis@gnu.org>
2692
2693 * sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from
2694 socketpair. Made socketpair a weak alias.
2695 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplemented using
2696 __socketpair. Use S_IFIFO protocol to make pipes POSIX
2697 conforming, but fall back on the old protocol if the socket server
2698 doesn't support it.
2699 * include/sys/socket.h: Add prototype for __socketpair.
2700
1d2f626e
AS
27012000-08-09 Andreas Schwab <schwab@suse.de>
2702
1000d1e5
AS
2703 * stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the
2704 long long modifier is seen.
2705
bce0e517
AS
2706 * elf/nodelete.c (do_test): Remove reference to undefined member
2707 sa_restorer.
2708 * rt/tst-aio4.c (do_test): Likewise.
2709
1d2f626e
AS
2710 * configure.in: Add `-lm' when checking for libgd.
2711 * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during
2712 linking.
2713
2bbc70d5
AJ
27142000-08-09 Andreas Jaeger <aj@suse.de>
2715
2716 * configure.in: Change required make versions.
2717
2718 * manual/install.texi (Tools for Compilation): Document required
2719 make version.
2720 (Supported Configurations): Update list of supported
2721 configurations.
835bf8e0 2722
d364e525
UD
27232000-08-08 Ulrich Drepper <drepper@redhat.com>
2724
2725 * locale/linereader.c (get_string): Don't print an error is a string
2726 contains an unknown character.
2727
91933d23
UD
27282000-08-06 Ulrich Drepper <drepper@redhat.com>
2729
2730 * locale/programs/ld-collate.c (struct symbol_t): Add name element.
2731 (new_symbol): Take new parameters with name of the symbol.
2732 Adjust callers.
2733 (handle_ellipsis): Don't only allow character symbols.
2734 (collate_read): Allow string of collating elements contain invalid
2735 characters; ignore entry in this case.
2736 Handle ellipsis of collating symbols before first order_start.
2737 Allow ellipsis in state 0.
2738
21b2be88
UD
27392000-08-04 Ulrich Drepper <drepper@redhat.com>
2740
2741 * locale/programs/ld-collate.c (handle_ellipsis): Fix typo in
2742 error message.
2743 Reported by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
2744
13550428
GM
27452000-08-04 Greg McGary <greg@mcgary.org>
2746
2747 * posix/regex.c (SET_HIGH_BOUND): New macro.
2748 (MOVE_BUFFER_POINTER): Use it.
2749 (ELSE_EXTEND_BUFFER_HIGH_BOUND): New macro.
2750 (EXTEND_BUFFER): Use it.
2751
faf8ccab
UD
27522000-08-03 Ulrich Drepper <drepper@redhat.com>
2753
2754 * libio/iofwide.c (_IO_fwide): Initialize fp->_codecvt as well.
2755 * libio/fileops.c (_IO_new_file_fopen): Use _codecvt not from
2756 _wide_data but from _IO_FILE directly.
2757 * libio/iofclose.c: Likewise.
2758 * libio/wfileops.c: Likewise.
2759
2760 * libio/genops.c (_IO_default_showmanyc): Change return type to size_t.
2761 * libio/libioP.h: Change prototypes.
2762
7f6f3e35
GM
27632000-08-03 Greg McGary <greg@mcgary.org>
2764
eb48f491
GM
2765 * sysdeps/i386/setjmp.S (__sigsetjmp): Pop our
2766 frame pointer early so that we save caller's frame pointer.
2767 * sysdeps/i386/elf/setjmp.S: Likewise.
2768
7f6f3e35
GM
2769 * sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures.
2770 * io/test-utime.c: Test passing NULL as utimbuf* arg.
2771
2772 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): Remove macro.
2773 (MOVE_BUFFER_POINTER): Handle high_bound properly.
2774 (EXTEND_BUFFER): Don't call EXTEND_BUFFER_HIGH_BOUND.
2775
139a4d95
UD
27762000-08-03 Ulrich Drepper <drepper@redhat.com>
2777
2778 * iconvdata/big5.c: Updated.
2779 Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
2780
aaf688e8
UD
27812000-08-02 Ulrich Drepper <drepper@redhat.com>
2782
2783 * Makeconfig (all-subdirs): Add conform.
2784 * conform/Makefile: Include ../Rules.
2785
2786 * Makefile (README): Add rules to generate here as well.
2787
ea1c96f5
UD
27882000-08-02 Ulrich Drepper <drepper@redhat.com>
2789
bf3888be
UD
2790 * version.h (VERSION): Bump to 2.1.92.
2791
74dd1fee
UD
2792 * sysdeps/ia64/Dist: Add _mcount.S.
2793
2794 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone.S.
2795
2796 * sysdeps/unix/sysv/linux/mips/Dist: Add _test_and_set.c.
2797
2798 * elf/Makefile (distribute): Add missing modules.
2799
349e00ef
UD
2800 * sysdeps/unix/sysv/linux/s390/Dist: Remove nonexisting files.
2801
21b2be88 2802 * posix/regex.c (compile_range): Translate range start and end
f6cfb13f
UD
2803 characters to avoid empty range in case of REG_ICASE [PR libc/1842].
2804
cfd57cdc
UD
2805 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Don't include
2806 asm/resource.h.
2807
ea1c96f5
UD
2808 * sysdeps/unix/sysv/linux/arm/Makefile: Undo last change.
2809
847b055c
AJ
28102000-08-02 Andreas Jaeger <aj@suse.de>
2811
3d2b5f69
AJ
2812 * elf/elf.h (EM_S390): Added.
2813 (R_390_*): New relocs for S390.
2814
847b055c
AJ
2815 * sysdeps/unix/sysv/linux/s390/Dist: New file.
2816 * sysdeps/unix/sysv/linux/s390/sysdep.h: New file.
2817 * sysdeps/unix/sysv/linux/s390/sysdep.S: New file.
2818 * sysdeps/unix/sysv/linux/s390/syscall.S: New file.
2819 * sysdeps/unix/sysv/linux/s390/sys/user.h: New file.
2820 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
2821 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file.
2822 * sysdeps/unix/sysv/linux/s390/sys/elf.h: New file.
2823 * sysdeps/unix/sysv/linux/s390/socket.S: New file.
2824 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file.
2825 * sysdeps/unix/sysv/linux/s390/shmctl.c: New file.
2826 * sysdeps/unix/sysv/linux/s390/setreuid.c: New file.
2827 * sysdeps/unix/sysv/linux/s390/setresuid.c: New file.
2828 * sysdeps/unix/sysv/linux/s390/setresgid.c: New file.
2829 * sysdeps/unix/sysv/linux/s390/setregid.c: New file.
2830 * sysdeps/unix/sysv/linux/s390/setgroups.c: New file.
2831 * sysdeps/unix/sysv/linux/s390/setgid.c: New file.
2832 * sysdeps/unix/sysv/linux/s390/setfsuid.c: New file.
2833 * sysdeps/unix/sysv/linux/s390/setfsgid.c: New file.
2834 * sysdeps/unix/sysv/linux/s390/seteuid.c: New file.
2835 * sysdeps/unix/sysv/linux/s390/setegid.c: New file.
2836 * sysdeps/unix/sysv/linux/s390/semctl.c: New file.
2837 * sysdeps/unix/sysv/linux/s390/register-dump.h: New file.
2838 * sysdeps/unix/sysv/linux/s390/putpmsg.c: New file.
2839 * sysdeps/unix/sysv/linux/s390/putmsg.c: New file.
2840 * sysdeps/unix/sysv/linux/s390/profil-counter.h: New file.
2841 * sysdeps/unix/sysv/linux/s390/msgctl.c: New file.
2842 * sysdeps/unix/sysv/linux/s390/mmap.S: New file.
2843 * sysdeps/unix/sysv/linux/s390/getuid.c: New file.
2844 * sysdeps/unix/sysv/linux/s390/getresuid.c: New file.
2845 * sysdeps/unix/sysv/linux/s390/getresgid.c: New file.
2846 * sysdeps/unix/sysv/linux/s390/getpmsg.c: New file.
2847 * sysdeps/unix/sysv/linux/s390/getmsg.c: New file.
2848 * sysdeps/unix/sysv/linux/s390/getgroups.c: New file.
2849 * sysdeps/unix/sysv/linux/s390/getegid.c: New file.
2850 * sysdeps/unix/sysv/linux/s390/geteuid.c: New file.
2851 * sysdeps/unix/sysv/linux/s390/fchown.c: New file.
2852 * sysdeps/unix/sysv/linux/s390/clone.S: New file.
2853 * sysdeps/unix/sysv/linux/s390/brk.c: New file.
2854 * sysdeps/unix/sysv/linux/s390/bits/time.h: New file.
2855 * sysdeps/unix/sysv/linux/s390/bits/resource.h: New file.
2856 * sysdeps/unix/sysv/linux/s390/bits/mman.h: New file.
2857 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file.
2858 * sysdeps/unix/sysv/linux/s390/Makefile: New file.
2859 * sysdeps/s390/sysdep.h: New file.
2860 * sysdeps/s390/sys/ucontext.h: New file.
2861 * sysdeps/s390/sub_n.S: New file.
2862 * sysdeps/s390/strncpy.S: New file.
2863 * sysdeps/s390/strcpy.S: New file.
2864 * sysdeps/s390/stackinfo.h: New file.
2865 * sysdeps/s390/setjmp.S: New file.
2866 * sysdeps/s390/s390-mcount.S: New file.
2867 * sysdeps/s390/mul_1.S: New file.
2868 * sysdeps/s390/memusage.h: New file.
2869 * sysdeps/s390/memset.S: New file.
2870 * sysdeps/s390/memcpy.S: New file.
2871 * sysdeps/s390/memchr.S: New file.
2872 * sysdeps/s390/machine-gmon.h: New file.
2873 * sysdeps/s390/ldbl2mpn.c: New file.
2874 * sysdeps/s390/gmp-mparam.h: New file.
2875 * sysdeps/s390/fpu/fpu_control.h: New file.
2876 * sysdeps/s390/fpu/fesetround.c: New file.
2877 * sysdeps/s390/fpu/fegetround.c: New file.
2878 * sysdeps/s390/fpu/fclrexcpt.c: New file.
2879 * sysdeps/s390/fpu/bits/fenv.h: New file.
2880 * sysdeps/s390/ffs.c: New file.
2881 * sysdeps/s390/elf/start.S: New file.
2882 * sysdeps/s390/elf/setjmp.S: New file.
2883 * sysdeps/s390/elf/bsd-setjmp.S: New file.
2884 * sysdeps/s390/elf/bsd-_setjmp.S: New file.
2885 * sysdeps/s390/dl-machine.h: New file.
2886 * sysdeps/s390/bzero.S: New file.
2887 * sysdeps/s390/bsd-setjmp.S: New file.
2888 * sysdeps/s390/bsd-_setjmp.S: New file.
2889 * sysdeps/s390/bits/string.h: New file.
2890 * sysdeps/s390/bits/setjmp.h: New file.
2891 * sysdeps/s390/bits/huge_val.h: New file.
2892 * sysdeps/s390/bits/endian.h: New file.
2893 * sysdeps/s390/bits/byteswap.h: New file.
2894 * sysdeps/s390/bcopy.S: New file.
2895 * sysdeps/s390/backtrace.c: New file.
2896 * sysdeps/s390/atomicity.h: New file.
2897 * sysdeps/s390/asm-syntax.h: New file.
2898 * sysdeps/s390/addmul_1.S: New file.
2899 * sysdeps/s390/add_n.S: New file.
2900 * sysdeps/s390/abort-instr.h: New file.
2901 * sysdeps/s390/__longjmp.c: New file.
2902 * sysdeps/s390/Makefile: New file.
2903 * sysdeps/s390/Implies: New file.
2904 * sysdeps/s390/Dist: New file.
2905 Patches by Martin Schwidefsky <schwidefsky@de.ibm.com>.
2906
ca8d5a5f
UD
29072000-08-01 Ulrich Drepper <drepper@redhat.com>
2908
be18eced
UD
2909 Remove incompatible IPv6 extension of RPC.
2910 * sunrpc/Makefile: Undo changes.
2911 * sunrpc/rpc_main.c: Likewise.
2912 * sunrpc/rpc/clnt.h: Likewise.
2913 * sunrpc/rpc/svc.h: Likewise.
2914 * sunrpc/bindrsvprt6.c: Removed.
2915 * sunrpc/clnt_tcp6.c: Removed.
2916 * sunrpc/clnt_udp6.c: Removed.
2917 * sunrpc/svc_tcp6.c: Removed.
2918 * sunrpc/svc_udp6.c: Removed.
2919
2920 * intl/libintl.h: Don't use __attribute_format_arg__ for gettext,
2921 dgettext, and dcgettetxt.
2922
2923 * intl/locale.alias: Update japanese aliases.
2924
ca8d5a5f
UD
2925 * sysdeps/ia64/bits/byteswap.h: New file.
2926 Patch by Dan Pop <Dan.Pop@cern.ch>.
2927
2928 * misc/sys/cdefs.h: Define __attribute_format_arg__.
2929 * intl/libintl.h: Use it here instead of using __attribute__ directly.
2930
29312000-07-13 H.J. Lu <hjl@gnu.org>
2932
2933 * posix/regex.c (re_max_failures): Set to 4000.
2934
8fb81470
UD
29352000-08-01 Ulrich Drepper <drepper@redhat.com>
2936
2937 * gnulib/Makefile (tests): Add tst-gcc.
2938 * gnulib/tst-gcc.c: New file.
2939
2940 * assert/Makefile (routines): Add __assert.
2941 * assert/Versions: Export __assert for glibc 2.2.
2942 * assert/__assert.c: New file.
2943 * assert/assert.h: Declare __assert.
2944
29452000-07-27 Bruno Haible <haible@clisp.cons.org>
2946
2947 * locale/localeinfo.h (_ISCTYPE): New macro.
2948 * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new
2949 LC_CTYPE locale format.
2950 * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b.
2951 (ctype_output): Output class_b[nr] right before class_3level[nr].
2952 (allocate_arrays): Fill class_b, similarly to class_3level.
2953
925e31d9
UD
29542000-08-01 Ulrich Drepper <drepper@redhat.com>
2955 Joseph S. Myers <jsm28@cam.ac.uk>
2956
2957 * math/tgmath.h: Make standard compliant. Don't ask how.
2958
29592000-07-04 H.J. Lu <hjl@gnu.org>
2960
2961 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)):
2962 Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new".
2963 ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only.
2964
29652000-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2966
2967 * include/features.h (_XOPEN_SOURCE): Update the explanation.
2968 (__USE_LARGEFILE): Add an explanation.
2969 (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500.
2970 (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600.
2971
29722000-08-01 Ulrich Drepper <drepper@redhat.com>
2973
2974 * libio/Makefile: Enable exception handling for genops, wgenops,
2975 fileops, and wfileops.
2976
15f033cf
MK
29772000-07-29 Mark Kettenis <kettenis@gnu.org>
2978
2979 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into
2980 acount that elf/rtld's main program might remove some varibales
2981 from the environment if we're trying to be secure. Move the Hurd
2982 startup data if necessary, or, if we there is no startup data,
2983 make sure the magical convention that ARGV[0] is stored just after
2984 the environment list.
2985
b73204bf
UD
29862000-08-01 Philip Blundell <philb@gnu.org>
2987
2988 * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
2989 (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
2990 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
2991 oldsetrlimit for GLIBC_2.0.
2992
5cc90078
AJ
29932000-08-01 Andreas Jaeger <aj@suse.de>
2994
9bd0bec2 2995 * nss/nss_files/files-ethers.c: Use case-insensitive lookup.
b73204bf
UD
2996 (LINE_PARSER): Allow any number of spaces between ip address and
2997 number. Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt.
9bd0bec2 2998
eba8c0e2
AJ
2999 * conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
3000
3001 * include/netdb.h: Remove getipnodebyaddr and friends, leave
3002 constants in.
3003
3004 * nis/Versions: Remove _nss_nis_getipnodebyname_r and
3005 _nss_nisplus_getipnodebyname_r.
3006
3007 * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
3008 now, getipnodebyname is deprecated.
b73204bf
UD
3009 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
3010 Likewise.
eba8c0e2
AJ
3011
3012 * inet/Makefile (routines): Don't build getipnodebyaddr and
3013 friends.
3014
4df4f8b1
AJ
3015 * intl/Makefile (distribute): Add tst-translit.sh and translit.po.
3016
5cc90078
AJ
3017 * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h.
3018
3019 * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c.
3020
3021 * wctype/Makefile (distribute): Add wchar-lookup.h.
3022
4df4f8b1 3023 * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h.
5cc90078
AJ
3024
3025 * iconvdata/Makefile (distribute): Add isiri-3342.h.
3026
db54bbfb
AJ
30272000-08-01 Andreas Schwab <schwab@suse.de>
3028
b73204bf 3029 * Make-dist (dist): Resolve `..' in file names.
db54bbfb 3030
d9fd4f33
AJ
30312000-08-01 Andreas Jaeger <aj@suse.de>
3032
3033 * stdio-common/Makefile (distribute): Remove removed files, add
3034 new files.
3035
3036 * Makefile (distribute): Remove include/db_185.h and db.h.
3037
3038 * include/db_185.h: Remove, it's not needed anymore.
3039 * include/db.h: Likewise.
3040
6eace24c
UD
30412000-07-31 Ulrich Drepper <drepper@redhat.com>
3042
68c685f9 3043 * inet/Makefile (tests): Remove tst-ipnode.
6eace24c
UD
3044 * include/netdb.h: Add stuff removed from resolv/netdb.h here for
3045 now.
3046
ed80b9ee
UD
30472000-07-31 Jes Sorensen <jes@linuxcare.com>
3048
3049 * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and
3050 endp statements have already been added.
3051
30522000-04-18 David Mosberger <davidm@hpl.hp.com>
3053
3054 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include
3055 <sysdeps/ia64/sysdep.h>.
3056
3057 * sysdeps/ia64/_mcount.S: New file.
3058
3059 * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to
3060 __gmon_start__. Fix up extraneous whitespace.
3061
30622000-01-12 H.J. Lu <hjl@gnu.org>
3063
3064 * sysdeps/ia64/elf/initfini.c: New file.
3065
30662000-07-31 Jes Sorensen <jes@linuxcare.com>
3067
3068 * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW
3069 dependency between branch and ar.pfs write.
3070
a535ce14
UD
30712000-07-31 H.J. Lu <hjl@gnu.org>
3072
3073 * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly
3074 handle the wchar_t array.
3075
b3cedb09
UD
30762000-07-31 Ulrich Drepper <drepper@redhat.com>
3077
3078 * iconvdata/gb18030.c: Don't map to and from positions in ISO
3079 10646 which are not yet assigned.
3080 Patch by wang shouhua <shouhuawang@redflag-linux.com>.
3081
b669ab02
UD
30822000-07-31 Andreas Jaeger <aj@suse.de>
3083
3084 * inet/Versions: Remove getipnodebyaddr and friends from
3085 GLIBC_2.2.
3086
3087 * resolv/netdb.h: Remove getipnodebyaddr and friends.
3088
5134584a
UD
30892000-07-30 Bruno Haible <haible@clisp.cons.org>
3090
3091 * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
3092 ch >= 0x81 && ch2 < 0x40 as invalid.
3093
30942000-07-30 Bruno Haible <haible@clisp.cons.org>
3095
3096 * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
3097 (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
3098
30992000-07-30 Bruno Haible <haible@clisp.cons.org>
3100
3101 * iconvdata/johab.c (BODY for TO_LOOP): After calling
3102 ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
3103
31042000-07-30 Bruno Haible <haible@clisp.cons.org>
3105
3106 * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
3107 0xb8.
3108 (from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
3109
31102000-07-30 Bruno Haible <haible@clisp.cons.org>
3111
3112 * iconvdata/macintosh.c (HAS_HOLES): Set to 1.
3113
31142000-07-30 Bruno Haible <haible@clisp.cons.org>
3115
3116 * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
3117 (from_ucs4): Change values of U+00A4 and U+00ED.
3118 (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
3119
31202000-07-30 Bruno Haible <haible@clisp.cons.org>
3121
3122 * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
3123 (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
3124
31252000-07-30 Bruno Haible <haible@clisp.cons.org>
3126
3127 * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
3128 * iconvdata/isiri-3342.h: New file.
3129 * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
3130 treat 0x80 as a gap.
3131
31322000-07-30 Bruno Haible <haible@clisp.cons.org>
3133
3134 * string/strxfrm.c (encoding_mask, encoding_byte): Remove.
3135 (utf8_encode): Use simple shifts instead. Fix return value.
3136
89533d41
UD
31372000-07-31 Ulrich Drepper <drepper@redhat.com>
3138
3139 * timezone/private.h: Update from tzcode2000e.
3140 * timezone/asia: Update from tzdata2000e.
3141 * timezone/australasia: Likewise.
3142 * timezone/europe: Likewise.
3143 * timezone/northamerica: Likewise.
3144 * timezone/zone-tab: Likewise.
3145
9316fb42
AJ
31462000-07-30 Ralf Baechle <ralf@gnu.org>
3147
3148 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
3149 the order of struct sigaltstack members is different.
3150
e6cc1ee3
UD
31512000-07-26 Philip Blundell <philb@gnu.org>
3152
3153 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
3154
a9706118
UD
31552000-07-29 Ulrich Drepper <drepper@redhat.com>
3156
3157 * locale/langinfo.h: Add entries for extra tables in CTYPE data.
3158 * locale/programs/ld-ctype.c: Adjust for this.
3159
3160 * locale/programs/ld-collate.c: Add more alignment checks.
3161 * locale/string/strcoll.c: Likewise.
3162
31632000-07-30 Mark Kettenis <kettenis@gnu.org>
3164
3165 * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
3166 outside USE_IN_LIBIO block.
3167
fb032fbd
UD
31682000-07-26 Philip Blundell <philb@gnu.org>
3169
3170 * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
3171 (elf_machine_rel): Use it for out-of-range PC24 relocs.
3172
497b8ef4
UD
31732000-07-28 Philip Blundell <philb@gnu.org>
3174
3175 * math/test-fpucw.c: Ignore reserved bits in control word.
3176
31772000-07-28 Philip Blundell <philb@gnu.org>
3178
3179 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
3180 (ret): Redefine to PSEUDO_RET.
3181 (PSEUDO): Remove jump to syscall_error.
3182
31832000-07-29 Mark Kettenis <kettenis@gnu.org>
3184
3185 * resolv/README: Add some information about using the resolver in
3186 multi-threaded code and with C++. Spelling fixes.
3187
31882000-07-29 Mark Kettenis <kettenis@gnu.org>
3189
3190 * resolv/resolv.h (struct __sockaddr_in): Remove.
3191 (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
3192
41d998a6
GM
31932000-07-29 Greg McGary <greg@mcgary.org>
3194
3195 * Rules (test-bp-inputs, make-test-out): New variables.
3196 ($(objpfx)%-bp.out): New rule.
3197 ($(objpfx)%.out): Rewrite in terms of new variables.
3198
3199 * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
3200 internal function that uses vtable.
3201 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
3202 * libio/vswprintf.c (_IO_vswprintf): Likewise.
3203
3204 * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
3205 (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
3206 (chunk_align): Likewise.
3207
3208 * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
3209 in a way that conforms to decl, and avoids spurious bounds violation.
3210
3211 * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
3212 * sysdeps/generic/frame.h: Likewise.
3213 * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
3214 around return value.
3215 (__backtrace): Qualify frame-pointer chain and return address
3216 pointers as __unbounded. Wrap bounds around variable `current'.
3217 * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
3218 around return value.
3219 (catch_segfault): Qualify frame-pointer chain and return address
3220 pointers as __unbounded. Wrap bounds around variable `current'.
3221 * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
3222 (ADVANCE_STACK_FRAME): Wrap bounds around return value.
497b8ef4
UD
3223 * sysdeps/powerpc/backtrace.c (struct layout): Make pointers
3224 __unbounded.
41d998a6
GM
3225 (__backtrace): Qualify frame-pointer chain and return address
3226 pointers as __unbounded. Wrap bounds around variable `current'.
3227
3228 * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
3229 * sysdeps/i386/mul_1.S: Likewise.
3230 * sysdeps/i386/submul_1.S: Likewise.
3231 * sysdeps/i386/i586/addmul_1.S: Likewise.
3232 * sysdeps/i386/i586/mul_1.S: Add bounds checks.
3233 * sysdeps/i386/i586/submul_1.S: Likewise.
3234
7f394842
AJ
32352000-07-27 Andreas Jaeger <aj@suse.de>
3236
3237 * libio/Depend: New file, libio needs localedata for tests.
3238 * posix/Depend: Likewise.
3239
69c69fe1
UD
32402000-07-28 Ulrich Drepper <drepper@redhat.com>
3241
3242 * stdio-common/_i18n_itoa.c: Removed.
3243 * stdio-common/_i18n_itoa.h: Removed.
3244 * stdio-common/_i18n_itowa.c: Removed.
3245 * stdio-common/_i18n_itowa.h: Removed.
3246 * stdio-common/_i18n_number.h: New file.
3247 * stdio-common/Depend: New file.
3248 * stdio-common/printf-parse.h: Handle I modifier correctly. Optimize.
3249 * stdio-common/vfprintf.c: Rewrite buffer handling for integer
3250 printing. Change printing of numbers with locale specific digits to
3251 use new code in _i18n_number.h.
c1d835ce
UD
3252 * stdio-common/Makefile (routines): Remove _i18n_itoa and
3253 _i18n_itowa.
69c69fe1
UD
3254
3255 * stdio-common/bug13.c: Improve messages.
3256
3257 * locale/programs/ld-ctype.c (ctype_read): Improve error message.
3258 (set_class_defaults): Always search also for Uxxxx names.
3259 Detect insufficient number of outdigits.
3260
3261 * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
3262
5e463393
UD
32632000-07-27 Bruno Haible <haible@clisp.cons.org>
3264
3265 * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
3266 _NL_CTYPE_MAP_NAMES.
3267 * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
3268 * wctype/wcfuncs.c (towlower, towupper): Use them.
3269 * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
3270 * wctype/wctrans.c (wctrans): Likewise.
3271 * wctype/wctrans_l.c (__wctrans_l): Likewise.
3272
32732000-07-27 Bruno Haible <haible@clisp.cons.org>
3274
3275 * posix/fnmatch.c (is_char_class): Fix logic. Avoid buffer overrun.
3276 Use the optimized version of this function outside glibc as well.
3277
eac4282f
UD
32782000-07-27 Jakub Jelinek <jakub@redhat.com>
3279
3280 * locale/indigits.h (indigit_value): Correct.
3281 * locale/indigitswc.h (indigitwc_value): Correct.
3282 * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
3283 conversion, add GROUP checking for it, fix GROUP number
3284 conversion with strlen(thousands) > 1.
3285 Honour width correctly in the presence of floating
3286 decimal points and thousands separators.
3287 * stdio-common/tst-sscanf.c: New test.
3288 * stdio-common/Makefile: Add it to tests.
3289 * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
3290 thousands separators and group argument is non-zero.
3291
f3cfed61
AJ
32922000-07-25 Bruno Haible <haible@clisp.cons.org>
3293
3294 * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
3295 starts at GLIBC_2.2.
3296
af9a0841
AJ
32972000-07-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3298
3299 * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
3300 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
3301 _test_and_set.
3302 (headers): Add sys/tas.h.
3303 * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
3304 GLIBC_2.2 from libc.
3305 * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
3306 * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
3307 _test_and_set.
3308
00213fe4
AJ
33092000-07-28 Andreas Jaeger <aj@suse.de>
3310
3311 * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
3312
3313 * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
3314 ($(objpfx)tst-dladdr.out): new.
3315 (tests): Add tst-dladdr.
3316 ($(objpfx)glrefmain): Use libdl.
3317
3318 * dlfcn/tst-dladdr.c: New file. Based on a test by Volkmar Sieh
3319 <vs@caldera.de>.
af9a0841 3320
51f46f92
UD
33212000-07-27 Jes Sorensen <jes@linuxcare.com>
3322
3323 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
3324 ftruncate(64) calls.
3325
e4a0c468
UD
33262000-07-27 Jes Sorensen <jes@linuxcare.com>
3327
3328 * intl/tst-translit.c: Include string.h to get prototype for
3329 strcmp().
3330
37d33038
UD
33312000-07-27 Jes Sorensen <jes@linuxcare.com>
3332
3333 * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
3334 name and add weak alias for __fork.
3335
3336 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
3337 & pwrite to use __libc_<name> as strong names instead of
3338 __syscall_<name>.
3339
3340 * include/sched.h: Add clone2 prototype.
3341
33422000-07-26 Jes Sorensen <jes@linuxcare.com>
3343
3344 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
3345 procedure name twice.
3346
33472000-07-27 Philip Blundell <philb@gnu.org>
3348
3349 * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
3350
aef116ea
AJ
33512000-07-27 Andreas Jaeger <aj@suse.de>
3352
64c81855
AJ
3353 * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
3354 MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
3355 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
eac4282f 3356 Reported by Andi Kleen <ak@suse.de>.
64c81855 3357
aef116ea
AJ
3358 * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
3359 (do_wait): Test requests with aio_return64.
3360 (do_test): Change callers of do_wait.
3361
92806ee9
UD
33622000-07-26 Andreas Jaeger <aj@suse.de>
3363
3364 * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
3365 (do_wait): Test requests with aio_return.
3366 (do_test): Change callers of do_wait.
3367
33682000-07-27 Ulrich Drepper <drepper@redhat.com>
3369
3370 * rt/aio_misc.c (__aio_remove_request): New function. Handle removing
3371 from request list. Don't do the list handling here, call
3372 __aio_remove_request.
3373 * rt/aio_misc.h: Add prototype for __aio_remove_request.
3374 * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
3375 request might already be processed. Don't do the list handling
3376 here, call __aio_remove_request.
3377
3378 * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
3379 LIO_DSYNC.
3380
3381 * rt/aio_misc.c: Add comment explaining why writer memory barriers
3382 are missing.
3383
da8f38c5
GM
33842000-07-27 Greg McGary <greg@mcgary.org>
3385
3386 * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
3387 * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
3388 in union init. Pass zero for ignored semnum arg to semctl.
3389 * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
3390
d25c879d
GM
33912000-07-26 Greg McGary <greg@mcgary.org>
3392
3393 * sysdeps/gnu/bits/msq.h: Qualify kernel's
3394 data structure pointers as __unbounded.
3395 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
3396 * sysdeps/generic/bp-semctl.h: New file.
3397 * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
3398 pointers as __unbounded. Check bounds of syscall args.
3399 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3400 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
3401 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3402 * sysdeps/unix/sysv/linux/semop.c: Likewise.
3403 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
3404 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3405 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
3406 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
3407 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
3408 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
3409 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
3410 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
3411 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
3412 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
3413 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
3414 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
3415
476b6d7f
UD
34162000-07-26 Ulrich Drepper <drepper@redhat.com>
3417
3418 * libio/iofwide.c: Enable transliteration for conversion from wchar_t
3419 by default.
3420 * locale/C-ctype.c: Likewise.
3421 * wcsmbs/wcsmbsload.c: Likewise.
3422
2ed5fd9a
GM
34232000-07-26 Greg McGary <greg@mcgary.org>
3424
3425 * Makeconfig (+link-bounded, link-libc-bounded,
3426 link-extra-libs-bounded): New variables.
3427 (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
3428 * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
3429 * Rules (tests-bp.out): New variable.
3430 (tests): Conditionally add BP tests.
3431 (binaries-bounded): Add variable and associated rule.
3432 * csu/Makefile [build-bounded] (extra-objs, install-lib):
3433 Move conditional stuff after place where condition is defined.
3434
3435 * malloc/malloc.c (bp-checks.h): Add #include.
3436 (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
3437 (_bin_at): Add unbounded version of bin_at.
3438 (IAV, chunk_alloc): Use unbounded _bin_at.
3439 (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
3440 chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
3441 Wrap BOUNDED_N around return value.
3442 (chunk_realloc): Adjust oldsize once.
3443
3444 * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
3445 (__ubp_memchr): Add correct decl.
3446 (_CHECK_STRING): Use __ubp_memchr.
3447 * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3448 New alias for unbounded-pointer __memchr.
3449 * sysdeps/i386/memchr.S: Likewise.
3450 * sysdeps/ia64/memchr.S: Likewise.
3451 * sysdeps/m68k/memchr.S: Likewise.
3452 * sysdeps/sparc/sparc32/memchr.S: Likewise.
3453 * sysdeps/sparc/sparc64/memchr.S: Likewise.
3454 * sysdeps/vax/memchr.s: Likewise.
3455
3456 * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
3457 (SAVE_PTR): New macro. (save_ptr): Expand size as BP.
3458 (strtok): Don't bother to write into SAVE_PTR when returning NULL.
3459 * sysdeps/i386/i686/strtok.S: Likewise.
3460 * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
3461 RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
3462
3463 * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
3464 * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
3465
3466 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
3467 bounds of copy_result to mount_proc.
3468
e04b831a
UD
34692000-07-25 Bruno Haible <haible@clisp.cons.org>
3470
3471 * wctype/wctype.h (__wctrans_l): New declaration.
3472 * wctype/wctrans_l.c: New file.
3473 * wctype/Makefile (routines): Add wctrans_l.
3474
10301ff8
UD
34752000-07-26 Ulrich Drepper <drepper@redhat.com>
3476
3477 * posix/fnmatch_loop.c: Fixes for use outside glibc.
3478 Patch by MacGyver <macgyver@tos.net>.
3479
9881cbf8
AJ
34802000-07-26 Andreas Jaeger <aj@suse.de>
3481
e04b831a
UD
3482 * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
3483 * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
9881cbf8
AJ
3484 * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
3485
3486 * rt/tst-aio.c (test_file): Fix typo.
3487 * rt/tst-aio64.c (test_file): Likewise.
3488
3489 * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
3490 * rt/Makefile: Add rules to build and run tst-aio3.
3491
3492 * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
3493 it's not needed and confuses only.
3494
438e8239
UD
34952000-07-26 Ulrich Drepper <drepper@redhat.com>
3496
3497 * resolv/res_init.c: Add support for nameserver communication with
3498 IPv6.
3499 * resolv/res_send.c: Likewise.
3500 * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
3501 in nsaddrs field.
3502 Patch by <venaas@nvg.ntnu.no>.
3503
ec08818d
UD
35042000-07-25 Bruno Haible <haible@clisp.cons.org>
3505
3506 * locale/programs/ld-ctype.c (wctype_table_get): New function.
3507 (wcwidth_table_get): New function.
3508 (wcwidth_table_add): Call it.
3509 (wctrans_table_get): New function.
3510 (wctrans_table_add): Call it.
3511
b7ed26c6
UD
35122000-07-25 Ulrich Drepper <drepper@redhat.com>
3513
025a5afa
UD
3514 * rt/lio_listio.c (lio_listio): Always disable individual
3515 notification.
3516 * rt/Makefile: Add rules to build and run tst-aio2.
3517 * rt/tst-aio2.c: New file.
3518
b7ed26c6
UD
3519 * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
3520 Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
3521
3452aba8
UD
35222000-07-25 Mark Kettenis <kettenis@gnu.org>
3523
3524 * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
3525 (_nss_netgroup_parseline): Use strip_whitespace to strip off any
3526 leading and trailing spaces from host, user and domain name.
3527
35282000-07-25 Jes Sorensen <jes@linuxcare.com>
3529
3530 * csu/defs.awk: Add support for need_endp.
3531
35322000-07-25 Mark Kettenis <kettenis@gnu.org>
3533
3534 * resolv/resolv.h: Remove __P from res_send_qhook and
3535 res_send_rhook typedefs.
3536
35372000-07-25 Bruno Haible <haible@clisp.cons.org>
3538
3539 * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
3540
16093625
UD
35412000-07-25 Ulrich Drepper <drepper@redhat.com>
3542
3543 * iconv/gconv_builtin.h: Add WCHAR_T alias.
3544
2d3d740b
MK
35452000-07-25 Mark Kettenis <kettenis@gnu.org>
3546
3547 * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
3548 calling thread, set the cancellation flag and return success
3549 instead of EINTR.
3550
d54adfd9
UD
35512000-07-25 Ulrich Drepper <drepper@redhat.com>
3552
a3b231b7
UD
3553 * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
3554 * libio/tst-widetext.c: New file.
3555 * libio/tst-widetext.input: New file.
3556
3557 * libio/iogetwline.c (_IO_getwline_info): Pretty print.
3558
70e392a3 3559 * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
d54adfd9
UD
3560 empty external buffer correctly.
3561
7f6ba52f
AJ
35622000-07-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3563
3564 * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
3565 __STRING(entry) and not #entry.
3566 (_RTLD_EPILOGUE): Likewise.
3567 * sysdeps/mips/mips64/dl-machine.h: Likewise.
3568
35692000-07-25 Andreas Jaeger <aj@suse.de>
3570
3571 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
3572 according to changes in test program, run also with static only
3573 builds.
3574 ($(objpfx)tst-printf.out): Likewise.
3575
3576 * stdio-common/tst-unbputc.sh: Likewise.
3577 * stdio-common/tst-printf.sh: Likewise.
3578
9494452c
UD
35792000-07-25 Ulrich Drepper <drepper@redhat.com>
3580
11fd973a
UD
3581 * libio/wfileops.c (_IO_wdo_write): Correct return value.
3582
9494452c
UD
3583 * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
3584 loop.
3585
3586 * libio/fileops.c: Pretty print.
3587
ef446144
UD
35882000-07-23 Bruno Haible <haible@clisp.cons.org>
3589
3590 * wctype/wchar-lookup.h: New file.
3591 * wctype/iswctype.c: Include "wchar-lookup.h".
3592 (__iswctype): Support alternate locale format with 3-level tables.
3593 * wctype/iswctype_l.c (__iswctype_l): Likewise.
3594 * wctype/towctrans.c (__towctrans): Likewise.
3595 * wctype/towctrans_l.c (__towctrans_l): Likewise.
3596 * wctype/wcfuncs.c: Include "wchar-lookup.h".
3597 (__ctype32_wctype, __ctype32_wctrans): Declare external.
3598 (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
3599 __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
3600 __iswxdigit, towlower, towupper): Support alternate locale format
3601 with 3-level tables.
3602 * wctype/wcextra.c (iswblank): Likewise.
3603 * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
3604 (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
3605 __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
3606 __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
3607 format with 3-level tables.
3608 * wctype/wcextra_l.c (__iswblank_l): Likewise.
3609 * wctype/wctype.c (__wctype): Likewise. In the alternate locale
3610 format, return a 3-level table pointer.
3611 * wctype/wctype_l.c (__wctype_l): Likewise.
3612 * wctype/wctrans.c (wctrans): Likewise.
3613 * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
3614 __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
3615 __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
3616 (iswctype): Remove macro definition.
3617 * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
3618 (internal_wcwidth): Support alternate locale format with 3-level
3619 tables.
3620 * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
3621 New nl_items.
3622 * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
3623 Define them as being type "word".
3624 * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
3625 * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
3626 __ctype32_width): New exported variables.
3627 * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
3628 alternate locale format. Don't initialize __ctype_names and
3629 __ctype_width in the alternate locale format.
3630 * locale/programs/localedef.h (oldstyle_tables): New declaration.
3631 * locale/programs/localedef.c (oldstyle_tables): New variable.
3632 (OPT_OLDSTYLE): New macro.
3633 (options): Add --old-style option.
3634 (parse_opt): Handle --old-style option.
3635 * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
3636 map_offset, class_3level, map_3level, width_3level members.
3637 (ctype_output): Support for alternate locale format: Computation of
3638 nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
3639 _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
3640 New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
3641 _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
3642 now contain both class and map tables.
3643 (struct wctype_table): New type.
3644 (wctype_table_init, wctype_table_add, wctype_table_finalize): New
3645 functions.
3646 (struct wcwidth_table): New type.
3647 (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
3648 functions.
3649 (struct wctrans_table): New type.
3650 (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
3651 functions.
3652 (allocate_arrays): Support for alternate locale format: Set
3653 plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
3654 256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
3655 to the first 256 characters. Compute ctype->map_3level. Set
3656 ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
3657 instead of ctype->width.
3658
a64e8af1
UD
36592000-07-24 Ulrich Drepper <drepper@redhat.com>
3660
3661 * libio/iogetwline.c (_IO_getwline_info): Use wide character
3662 string functions.
3663
5bef2820
UD
36642000-07-24 Jakub Jelinek <jakub@redhat.com>
3665
3666 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
3667 in wide characters, not bytes.
3668 * libio/tst_putwc.c (do_test): Add test for writing lots of data
3669 into file.
3670
36712000-07-22 Bruno Haible <haible@clisp.cons.org>
3672
3673 * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
3674 new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
3675 LC_MEASUREMENT, LC_IDENTIFICATION.
3676
3677 * locale/xlocale.h (struct __locale_struct): Increase size of
3678 __locales array.
3679 * locale/duplocale.c (__duplocale): Copy newly added categories as
3680 well.
3681 * locale/freelocale.c (__freelocale): Free newly added categories.
3682 * locale/newlocale.c (__newlocale): Fix typo in sanity check.
3683 If a base is given, use it, don't simply return it.
3684
36852000-07-22 Bruno Haible <haible@clisp.cons.org>
3686
3687 * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
3688 variables, copied_key and copied_salt, instead of boolean variables.
3689
cddad6b2
AJ
36902000-07-24 Andreas Jaeger <aj@suse.de>
3691
02d0efdf
AJ
3692 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
3693 check for offset.
3694
3695 * grp/initgroups.c (initgroups_dyn_function): Renamed from
3696 initgroups_function, adopted prototype for change from 2000-07-23.
3697 (initgroups): Follow type change.
3698
9f4b36ca
AJ
3699 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
3700 & PAGE_MASK case, reformat.
3701
3702 * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
3703 from stdin and setup environment.
cddad6b2 3704
9a18638a
AS
37052000-07-24 Andreas Schwab <schwab@suse.de>
3706
3707 * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
3708
cf9e9ad9
UD
37092000-07-23 Ulrich Drepper <drepper@redhat.com>
3710
7603ea28
UD
3711 * string/endian.h: Explain the _*_ENDIAN constant values a bit
3712 more. Patch by scarlet@mit.edu [PR libc/1799].
3713
3714 * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
3715 [PR libc/1792].
3716
3717 * argp/argp-parse.c (parser_finalize): Reverse order in which
3718 parsers are run for ARGP_KEY_END. [PR libc/1755].
3719
cf9e9ad9
UD
3720 * grp/initgroups.c (initgroups): Don't limit the possible number
3721 of groups to NGROUPS_MAX. Allow dynamic resizing. Loop around
3722 the setgroups call while the call fails and descrease the number
3723 of groups each round.
3724 The name of the initgroups function in the NSS modules changed.
3725 (compat_call): Adapt for dynamic resizing.
3726 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3727 Implement dynamic resizing.
3728 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
3729 Likewise.
3730 * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
3731 * hesiod/Versions: Change exported interface name.
3732 * nis/Versions: Change exported interface name.
3733
945b22ed
UD
37342000-07-23 Ulrich Drepper <drepper@redhat.com>
3735
3736 * locale/iso-639.def: Some errors corrected.
3737 Patch by Keld Simonsen.
3738
3739 * include/limits.h: Update non-gcc portion.
3740 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
3741
6abc15e9
MK
37422000-07-22 Mark Kettenis <kettenis@gnu.org>
3743
3744 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
3745 program's data space, reallocate only the space that was just
3746 deallocated to release its backing space.
3747
a1d4a3bc
UD
37482000-07-23 Ulrich Drepper <drepper@redhat.com>
3749
6a1fc4ed
UD
3750 * stdio-common/vfprintf.c (process_string_arg): For wide character
3751 version, handle precision also correctly.
3752
3accf5d1
UD
3753 * nss/nss_files/files-hosts.c: Correct problem with three or more
3754 entries with the same name.
3755
a1d4a3bc
UD
3756 * nss/nss_files/files-hosts.c: Implement multi handling.
3757 * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
3758
3f36c563
UD
37592000-07-22 Ulrich Drepper <drepper@redhat.com>
3760
3b9754f4
UD
3761 * nss/nss_files/files-parse.c: Don't pollute namespace by using
3762 strcasecmp.
3763
3f36c563
UD
3764 * grp/Makefile: Change Makefiles and tests to run only when necessary.
3765 * malloc/Makefile: Likewise.
3766 * malloc/tst-mtrace.sh: Likewise.
3767 * posix/Makefile: Likewise.
3768 * posix/globtest.sh: Likewise.
3769 * posix/wordexp-tst.sh: Likewise.
3770 * string/Makefile: Likewise.
3771
5df3a373
UD
37722000-07-22 Mark Kettenis <kettenis@gnu.org>
3773
3774 * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
3775 size instead of LC_ALL to take into account the new locale
3776 categories.
3777
40c014b3
UD
37782000-07-22 Ulrich Drepper <drepper@redhat.com>
3779
04fbc779
UD
3780 * iconv/gconv_trans.c: Correct a few bugs in the search loop. Remove
3781 remainders of hash table.
3782 * locale/categories.def: Remove remainders of transliteration
3783 hash table.
3784 * locale/langinfo.h: Likewise.
3785 * locale/programs/ld-ctype.c: Likewise. Fix code to write out
3786 transliteration tables.
3787
3788 * locale/gen-translit.pl: New file.
3789 * locale/C-translit.h.in: New file.
3790 * locale/C-ctype.c: Include C-translit.h. Initialize transliteration
3791 data pointers with data from this file.
3792 * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
3793 and gen-translit.pl.
3794 Add rule to generate C-translit.h.
49ba1c12
UD
3795 * intl/tst-translit.c (main): Update for now performed
3796 transliteration.
04fbc779 3797
fcc10ffa
UD
3798 * stdio-common/vfscanf.c: Handle input -- with format %f correctly
3799 (it's no input error).
3800 * stdio-common/tstscanf.c: Add test case for format %f with input --.
3801 * stdio-common/scanf12.c: Correct expected result for first scanf.
3802
40c014b3
UD
3803 * stdio-common/vfprintf.c (process_string_arg): Correct handling
3804 of multibyte character strings in %s format with precision.
3805
dfef32ef
UD
38062000-07-21 Ulrich Drepper <drepper@redhat.com>
3807
d58c3ad0 3808 * locale/programs/ld-collate.c (collate_read): Allow collating
c056ee48 3809 symbols and elements be named in reorder-after instructions.
d58c3ad0
UD
3810 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
3811
0c0c8bde
UD
3812 * locale/programs/ld-collate.c (handle_ellipsis): Test for
3813 duplication with generated name, not the name of the first
3814 character.
3815 Patch by Yong Li <yong.li@asu.edu>.
3816
dfef32ef
UD
3817 * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
3818 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3819
f74e61f0
UD
38202000-07-21 Wolfram Gloger <wg@malloc.de>
3821
3822 * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
3823 allocations only if a non-main arena cannot be extended.
3824
58bad803
UD
38252000-07-21 Ulrich Drepper <drepper@redhat.com>
3826
3827 * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
3828 in DF_1_NODEFLIB handling.
3829
c7e6b2e7
AJ
38302000-07-21 Andreas Jaeger <aj@suse.de>
3831
10b36b41
AJ
3832 * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
3833 own rule.
3834
c7e6b2e7
AJ
3835 * libio/fwide.c: Include <wchar.h> for prototype.
3836
cb5113c1
GM
38372000-07-21 Greg McGary <greg@mcgary.org>
3838
3839 * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
3840 set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
3841 Define in terms of chunk_at_offset.
3842 (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
3843 (next_bin, prev_bin): offset by size of real array elements.
3844 (chunk_align): Make `m' a scalar, since that's how it's used.
3845
df0f2bf8
GM
38462000-07-21 Greg McGary <greg@mcgary.org>
3847
f74e61f0
UD
3848 * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
3849 UNCHECK_BOUNDS.
df0f2bf8
GM
3850 * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
3851 * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
3852 Wrap bounds around argv & envp and each of their string members.
3853 * sysdeps/powerpc/elf/start.S: Designate BP symbols.
3854 * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
3855 symbol in BP_SYM (). Discard bounds of address arg.
3856 * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
3857 * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
3858 Discard bounds on address arg, add bounds to return value.
3859
2f54c82d
UD
38602000-07-20 Ulrich Drepper <drepper@redhat.com>
3861
fcacb36a
UD
3862 * elf/Makefile (tests): Add filter. Add rules to generate filter.
3863 * elf/filter.c: New file.
3864 * elf/filtmod1.c: New file.
3865 * elf/filtmod2.c: New file.
3866
f53c03c2
UD
3867 * elf/rtld.c: Define _dl_bind_not variable.
3868 (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
3869 * elf/dl-support.c: Likewise.
3870 * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
3871 * elf/dl-runtime.c (fixup): Don't remember looked up value if
3872 _dl_bind_not.
3873 (profile_fixup): Likewise.
3874
d052b31b
UD
3875 * libio/Makefile (routines): Add fwide.
3876 * libio/iofwide.c (_IO_fwide): Remove locking. This is done in
3877 fwide now. Internal calls to _IO_fwide must do locking themselves
3878 or don't need locking.
3879 * libio/fwide.c: New file.
3880
3881 * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
266bb989 3882
2cb8cefb
UD
3883 * elf/Makefile: Add no modules for nodelete test.
3884 * elf/nodelmod3.c: New file.
3885 * elf/nodelmod4.c: New file.
3886 * elf/nodelete.c: Also test case where dependency of dlopen() object
3887 is marked nodelete.
3888
2f54c82d 3889 * elf/Makefile (tests): Add nodlopen. Add rules to generate nodlopen.
2cb8cefb
UD
3890 * elf/nodlopen.c: New file.
3891 * elf/nodlopenmod.c: New file.
2f54c82d
UD
3892 * include/dlfcn.h: Define __RTLD_DLOPEN.
3893 * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
3894 and this is a dlopen() call, do not load the binary.
3895 * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
3896 * dlfcn/dlopenold.c: Likewise.
3897 * configure.in: Add test for -z nodelete option.
3898 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
3899
39002000-07-20 Mark Kettenis <kettenis@gnu.org>
3901
3902 Make Hesiod NSS module thread-safe.
3903
3904 * hesiod/README.hesiod: Update.
3905
3906 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
3907 _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
3908 _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
3909 * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
3910 hesiod-proto.
3911 * hesiod/nss_hesiod/hesiod-init.c: New file.
3912 * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
3913 * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
3914 * hesiod/nss_hesiod/nss_hesiod.h: New file.
3915 * hesiod/nss_hesiod/hesiod-service.c
3916 (_nss_hesiod_getservbyport_r): New function. Provide support for
3917 looking up services by port number.
3918 * hesiod/nss_hesiod/hesiod-proto.c: New file.
3919
3920 * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
3921 * hesiod/hesiod.h: Likewise.
3922 * hesiod/hesiod_p.h: Likewise.
3923
39242000-07-20 Mark Kettenis <kettenis@gnu.org>
3925
3926 Fix problems with `struct __res_state' getting too big.
3927 * resolv/resolv.h (struct __sockaddr_in): New definition.
3928 (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
3929 the private parts of the structure to save some space.
3930 * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
3931 (struct sockaddr_in *) in call to sock_eq.
3932 Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
3933
9c38a689
UD
39342000-07-20 Ulrich Drepper <drepper@redhat.com>
3935
bf8b3e74
UD
3936 * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
3937 * elf/dl-close.c (_dl_close): Don't close an object if it is marked
3938 with nodelete.
3939 * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
3940 to _dl_map_object. Return immediately if no object loaded.
3941 Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
3942 * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
3943 if it exists into l_flags_1 word.
3944 * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
3945 it to determine whether loading is wanted or not.
3946 (_dl_map_object): Likewise.
3947 Call _dl_map_object_from_fd with new parameter.
3948 * sysdeps/generic/ldsodefs.h: Update prototype.
3949 * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
3950 * elf/rtld.c: Likewise.
2f54c82d 3951 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
bf8b3e74
UD
3952 * elf/Makefile (tests): Add noload. Add rules to generate noload.
3953 * elf/noload.c: New file.
3954 * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
3955 * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
3956 * sysdeps/mips/bits/dlfcn.h: Likewise.
0fb7851f
UD
3957 * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
3958 (tests-nodelete-yes): Define.
3959 (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
3960 Add rules to build nodelete and modules.
3961 * elf/nodelete.c: New file.
3962 * elf/nodelmod1.c: New file.
3963 * elf/nodelmod2.c: New file.
3964 * configure.in: Add test for -z nodelete option.
3965 * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
bf8b3e74 3966
9c38a689
UD
3967 * libio/Makefile (tests): Add tst_wprintf2.
3968 (tst_wprintf2-ARGS): Define.
3969 * libio/tst_wprintf2.c: New file.
3970 Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
3971
3972 * libio/wfiledoalloc.c: Only allocate external buffer if this
3973 hasn't happened yet.
3974
3975 * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
3976 something in the buffer. gconv call can write up to end of the
3977 buffer, not only _IO_write_end.
3978 (_IO_wfile_overflow): Allocate also external buffer.
3979
4e8286ac
UD
39802000-07-19 Ulrich Drepper <drepper@redhat.com>
3981
9c38a689
UD
3982 * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
3983 strings with precision in vfwprintf correctly.
3984 * stdio-common/vfprintf.c: Fix completely broken handling of
3985 unbuffered wide character streams.
3986 Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
3987
4e8286ac
UD
3988 * resolv/Makefile (distribute): Add README.
3989
3990 * resolv/README: New file. By Mark Kettenis <kettenis@gnu.org>.
3991
e685e07d
UD
39922000-07-18 Mark Kettenis <kettenis@gnu.org>
3993
3994 Update resolver code to BIND 8.2.3-T5B.
3995
3996 * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
3997 __res_nclose.
3998 [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
3999 __res_mkquery, __res_nsend, __res_query, __res_querydomain and
4000 __res_search.
4001 * resolv/Banner: BIND-8.2.3-T5B.
4002
4003 * resolv/base64.c: Update from BIND 8.2.3-T5B.
4004 * resolv/herror.c: Likewise.
4005 * resolv/inet_addr.c: Likewise.
4006 * resolv/inet_net_ntop.c: Likewise.
4007 * resolv/inet_net_pton.c: Likewise.
4008 * resolv/inet_neta.c: Likewise.
4009 * resolv/inet_ntop.c: Likewise.
4010 * resolv/nsap_addr.c: Likewise.
4011 * resolv/inet_pton.c: Likewise. Reject a few more more invalid
4012 IPv6 addresses (ISC bug #520).
4013
4014 * resolv/ns_name.c: Avoid emitting RCS ID in object file.
4015 * resolv/ns_parse.c: Likewise.
4016 * resolv/ns_netint.c: Likewise.
4017 * resolv/ns_samedomain.c: Likewise.
4018 * resolv/ns_ttl.c: Likewise.
4019 * resolv/ns_print.c: Update from BIND 8.2.3-T5B. Avoid emitting
4020 RCS ID in object file.
4021
4022 * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
4023 * resolv/res_mkquery.c: Likewise.
4024 * resolv/res_query.c: Likewise.
4025 * resolv/res_init.c: Likewise.
4026 (res_setoptions): Mark internal.
4027 * resolv/res_send.c: Likewise.
4028 [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
4029 by using poll instead.
4030 * resolv/res_comp.c: Likewise.
4031 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
4032 weak alias for __dn_expand.
4033 * resolv/res_data.c: Likewise.
4034 (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
4035 in _res.options. Avoids a potential security risk by avoiding a
4036 close (0).
4037 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
4038 res_mkquery, res_query, res_querydomain adn res_search weak
4039 aliases for __res_mkquery, __res_query, __res_querydomain and
4040 __res_search.
4041 * resolv/res_libc.c: (_res): Don't initialize. Fix res_close
4042 instead to avoid close(0).
4043 (res_init): Always use the static resolver context.
4044 [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
4045 alias for __res_init.
4046
4047 * resolv/resolv.h: Update from BIND 8.2.3-T5B. Move definition of
4048 RES_SET_H_ERRNO and accompanying comment to...
4049 * include/resolv.h: ... here.
4050
4051 * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
4052 * resolv/arpa/nameser_compat.h: Likewise.
4053
695a0763
UD
40542000-07-18 Ulrich Drepper <drepper@redhat.com>
4055
247c8869
UD
4056 * nss/makedb.c (main): Compare result of load_db with
4057 NSS_STATUS_SUCCESS and not 0.
4058 Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
4059
695a0763
UD
4060 * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
4061
f306e7ff
GM
40622000-07-18 Greg McGary <greg@mcgary.org>
4063
4064 * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
4065 (EXTEND_BUFFER): Use it.
4066
83142e8f
UD
40672000-07-18 Ulrich Drepper <drepper@redhat.com>
4068
4069 * include/libc-symbols.h: Define RETURN_ADDRESS macro.
4070 * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
4071 __builtin_return_address.
4072 * dlfcn/dlopenold.c: Likewise.
4073 * dlfcn/dlsym.c: Likewise.
4074 * dlfcn/dlvsym.c: Likewise.
4075 * elf/dl-profstub.c: Likewise.
4076 * malloc/malloc.c: Likewise.
4077 * sysdeps/generic/machine-gmon.h: Likewise.
4078 Based on a patch by schwidefsky@de.ibm.com.
4079
626da526
AJ
40802000-07-18 Andreas Jaeger <aj@suse.de>
4081
9f791dcf
AJ
4082 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
4083 NULL to elf_machine_fixup_plt t argument to silence GCC.
4084
80f41baa
AJ
4085 * include/string.h: Add prototype for __memchr.
4086
626da526
AJ
4087 * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
4088
4089 * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
4090 instead of memrchr.
4091
c6df09ad
UD
40922000-07-18 Ulrich Drepper <drepper@redhat.com>
4093
4094 * intl/Makefile: Make sure tst-translit is run after tst-gettext.
4095
4096 * locale/C-ctype.c: Add initializers for gap elements.
4097 * locale/programs/ld-ctype.c (ctype_output): Write out index entries
4098 for gap elements.
4099
9aaac141
UD
41002000-07-16 Ulrich Drepper <drepper@redhat.com>
4101
4102 * nscd/nscd.c (print_version): Update copyright year.
4103
4d928e8d
GM
41042000-07-17 Greg McGary <greg@mcgary.org>
4105
4106 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
4107 keyletters F, I, S, W. Remove unused keyletter V. Surround
4108 signature argnames with angle-brackets for use as word delimiters,
4109 and to induce syntax errors for any args not handled. Split
4110 multi-echo echoes and comment each stage.
4111 * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
4112 * sysdeps/unix/inet/syscalls.list: Likewise.
4113 * sysdeps/unix/mman/syscalls.list: Likewise.
4114 * sysdeps/unix/syscalls.list: Likewise.
4115 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4116 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4117 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4118 * sysdeps/unix/sysv/syscalls.list: Likewise.
4119 * sysdeps/unix/sysv/linux/powerpc/syscalls.list
4120
14fa17cc
GM
4121 * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
4122 * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
4123 qualifiers. Don't check NULL-terminator of argv & envp.
4124 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
4125 unbounded pointer type in word-size assertion.
4126 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
4127 cases to stifle warnings.
4128
4129 * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
4130 _IO_file_attach.
4131 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
4132
03df72bf
GM
4133 * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
4134 * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
4135 ptr as __unbouned.
4136
916c1395
GM
4137 * Makerules (o-objects): Supplement with $(o-objects$o).
4138 * string/Makefile (o-objects.ob): Add variable to pull
4139 unbounded versions of memcpy, memset and memchr into libc_b.
4140
abf70633
GM
4141 * sysdeps/generic/bp-checks.h: Use unbounded __memchr
4142 rather than non-existent __ubp_memchr.
4143 (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
4144 (_CHECK_STRING, _CHECK_N): New macros.
4145 (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
4146 (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
4147 * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
4148 Add weak alias "memchr".
4149 * sysdeps/generic/memchr.c: Likewise.
4150 * sysdeps/i386/memchr.S: Likewise.
4151 * sysdeps/ia64/memchr.S: Likewise.
4152 * sysdeps/m68k/memchr.S: Likewise.
4153 * sysdeps/sparc/sparc32/memchr.S: Likewise.
4154 * sysdeps/sparc/sparc64/memchr.S: Likewise.
4155 * sysdeps/vax/memchr.s: Likewise.
4156
7884bf47
GM
4157 * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
4158
4159 * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
4160 (profile_fixup): Don't define for __BOUNDED_POINTERS__.
4161 * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
4162 __BOUNDED_POINTERS__.
4163 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
4164 for __BOUNDED_POINTERS__.
4165
8114530a
UD
41662000-07-17 Bruno Haible <haible@clisp.cons.org>
4167
4168 * iconv/gconv_open.c (__gconv_open): Initialize the __data
4169 field of struct __gconv_trans_data differently. Don't pass NULL to
4170 trans_init_fct. Simplify list append operation.
4171
41722000-07-14 Bruno Haible <haible@clisp.cons.org>
4173
4174 * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
4175 not only those having tsearch.
4176
41772000-07-17 Ulrich Drepper <drepper@redhat.com>
4178
4179 * locale/langinfo.h: Add placeholder values in enum for removed
4180 LC_CTYPE entries.
4181
41822000-07-17 Jakub Jelinek <jakub@redhat.com>
4183
4184 * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
4185 chain if the PHDR check fails.
4186
41872000-07-17 Mark Kettenis <kettenis@gnu.org>
4188
4189 * nss/getent.c (print_hosts): Make sure we always print a space
4190 between numeric addresses and hostnames.
4191
41922000-07-17 Wolfram Gloger <wg@malloc.de>
4193
4194 * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
4195 i.e. if n_mmaps_max>0.
4196
41972000-07-16 Mark Kettenis <kettenis@gnu.org>
4198
4199 * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
4200 values to remove possible clash with other AI_* constants.
4201 (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
4202 hexadecimal constants to stress the fact they're in fact
4203 bit flags.
4204
42052000-07-15 Mark Kettenis <kettenis@gnu.org>
4206
4207 * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
4208 (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
4209 instead of res_init.
4210
7f53da19
UD
42112000-07-16 Ulrich Drepper <drepper@redhat.com>
4212
4213 * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
4214 parameters of memset calls to avoid warnings.
4215
9ff9add9
UD
42162000-07-15 Ulrich Drepper <drepper@redhat.com>
4217
7f53da19
UD
4218 * stdlib/Makefile: Rewrite rules to avoid running isomac unless
4219 necessary.
4220
9ff9add9
UD
4221 * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
4222 Patch by Greg McGary <greg@mcgary.org>.
4223
4224 * io/Makefile (tests): Add tst-getcwd.
4225 * io/tst-getcwd.c: New file.
4226
e0ea35a3
UD
4227 * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
4228
e993e9cc
UD
42292000-07-15 Jakub Jelinek <jakub@redhat.com>
4230
7f53da19 4231 * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
e993e9cc
UD
4232 structure.
4233
42342000-07-13 Jakub Jelinek <jakub@redhat.com>
4235
4236 * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
4237 * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
4238
101c92fc
UD
42392000-07-12 H.J. Lu <hjl@gnu.org>
4240
4241 * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
4242 GLIBC_2.2.
4243 * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
4244 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
4245 (sysdep-routines): Add clone2.
4246 * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
4247
a9a4127e
UD
42482000-07-13 Jes Sorensen <jes@linuxcare.com>
4249
4250 * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
4251 * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
4252
42532000-06-05 David Mosberger <davidm@hpl.hp.com>
4254
4255 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
4256 based on sysdeps/unix/sysv/linux/bits/siginfo.h.
4257 Change type of si_band from "int" to "long".
4258 (si_imm) [USE_GNU]: Define
4259 (si_isr) [USE_GNU]: Ditto.
4260 (ILL_BREAK) [USE_GNU]: Ditto.
4261 (FPE_DECOVF) [USE_GNU]: Ditto.
4262 (FPE_DECDIV) [USE_GNU]: Ditto.
4263 (FPE_DECERR) [USE_GNU]: Ditto.
4264 (FPE_INVASC) [USE_GNU]: Ditto.
4265 (FPE_INVDEC) [USE_GNU]: Ditto.
4266 (TRAP_BRANCH) [USE_GNU]: Ditto.
4267 (TRAP_HWBKPT) [USE_GNU]: Ditto.
4268
42692000-07-06 Jes Sorensen <jes@linuxcare.com>
4270
4271 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
4272 bits/sigcontext as struct mcontext does not depend on it.
4273
4274 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
4275
42762000-07-04 Jes Sorensen <jes@linuxcare.com>
4277
4278 * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
4279
42802000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
4281
4282 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
4283
42842000-06-22 Jes Sorensen <jes@linuxcare.com>
4285
4286 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
4287
4ab8e75a
UD
42882000-07-15 Ulrich Drepper <drepper@redhat.com>
4289
4290 * intl/Makefile (test-srcs): Add tst-translit.
4291 (tests): Likewise.
4292 Add rules to build and run tst-translit.
4293 * intl/tst-translit.c: New file.
4294 * intl/tst-translit.sh: New file.
a9a4127e 4295 * intl/translit.po: New file.
4ab8e75a 4296
7888313d
UD
42972000-07-14 Ulrich Drepper <drepper@redhat.com>
4298
4299 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
4300 transliteration function did its job, continue, don't stop.
4301
4302 * iconvdata/iso646.c: Little optimizations in body for conversion
4303 from UCS4.
4304
ea1efc6f
UD
43052000-07-14 Mark Kettenis <kettenis@gnu.org>
4306
4307 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
4308
c218729d
UD
43092000-07-14 Mark Kettenis <kettenis@gnu.org>
4310
4311 * configure.in: Check for pwd binary.
4312 * config.make.in: Add PWD_P to be subsituted.
4313 * Makerules: Use $(PWD_P) instead of /bin/pwd.
4314
cfd14df5
UD
43152000-07-14 Ulrich Drepper <drepper@redhat.com>
4316
4317 * iconvdata/Makefile (modules): Add GB18030.
4318 (distribute): Add gb18030.c.
4319 * iconvdata/gconv-modules: Add entries for GB18030 module.
4320 * iconvdata/gb18030.c: New file.
4321 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
4322 and Wu Jian.
4323
4ea1f016
AJ
43242000-07-13 Andreas Jaeger <aj@suse.de>
4325
4326 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
4327 patch.
4328
4329 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
4330 * inet/getnetgrent.c (free_mem): Likewise.
4331 * misc/mntent.c (free_mem): Likewise.
4332 * nss/getXXbyYY.c (free_mem): Likewise.
4333 * nss/getXXent.c (free_mem): Likewise.
4334 * pwd/fgetpwent.c (free_mem): Likewise.
4335 * shadow/fgetspent.c (free_mem): Likewise.
4336
f218b5f5
UD
43372000-07-14 Ulrich Drepper <drepper@redhat.com>
4338
4339 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
4340 64-bit architecture correctly [PR libc/1794].
4341
aa4068f2
UD
43422000-07-13 Ulrich Drepper <drepper@redhat.com>
4343
ca3c0135
UD
4344 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
4345 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
4346 report that we are out of memory.
4347 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4348 * elf/dl-libc.c (dlerror_run): Likewise.
4349 * elf/dl-open.c (_dl_open): Likewise.
4350 * elf/rtld.c (dl_main): Likewise.
4351 * elf/dl-error.c: Define _dl_out_of_memory.
383b654b 4352 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
ca3c0135
UD
4353 the error string.
4354 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
383b654b 4355 [PR libc/1813].
ca3c0135
UD
4356
4357 * dlfcn/dlerror.c (free_key_mem): Also free error string.
4358
4359 * iconv/loop.c: Fix comment.
4360
aa4068f2
UD
4361 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
4362
9cd865e0
UD
43632000-07-13 Andreas Jaeger <aj@suse.de>
4364
4365 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
4366 getcwd (NULL, size) with size > 0.
aa4068f2 4367 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
9cd865e0
UD
4368
43692000-07-13 Andreas Jaeger <aj@suse.de>
4370
4371 * posix/Makefile: Remove build rules for libposix.
4372
1338451b
AJ
43732000-07-13 Andreas Schwab <schwab@suse.de>
4374
4375 * sysdeps/generic/glob.c (glob): Fix memory leak.
4376 [SHELL]: Remove reference to undefined variable `files'.
4377 Fixes PR libc/1782.
4378
5f85c7ac
AJ
43792000-07-13 Andreas Jaeger <aj@suse.de>
4380
e940b742
AJ
4381 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
4382 functions.
4383
5f85c7ac
AJ
4384 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
4385 memory if it was allocated.
4386
7039a4c9
UD
43872000-07-12 Ulrich Drepper <drepper@redhat.com>
4388
405b8c60
UD
4389 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
4390 step.
4391
4392 * iconv/gconv_open.c (__gconv_open): Reapply
4393 2000-07-12 Bruno Haible <haible@clisp.cons.org>
4394
aa4068f2 4395 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
405b8c60 4396
7039a4c9
UD
4397 * iconv/gconv_open.c: Undo last two changes for now. They break
4398 everything.
4399
8ca91b36
UD
44002000-07-12 Andreas Jaeger <aj@suse.de>
4401
4402 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
4403 compiler.
4404 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
4405 (CFLAGS-dl-cache.c): Likewise.
4406 (CFLAGS-ldconfig.c): Added, passes directory locations.
4407
4408 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
4409 locate cache.
4410 * elf/ldconfig.c (LD_SO_CONF): Likewise.
4411 (main): Use configured LIBDIR and SLIBDIR.
4412
44132000-07-11 Jakub Jelinek <jakub@redhat.com>
4414
4415 * math/bits/cmathcalls.h (cimag): Add __THROW.
4416 (creal, conj): Likewise.
4417 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
4418 by negative value.
4419
0d655550
UD
44202000-07-12 H.J. Lu <hjl@gnu.org>
4421
4422 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
4423 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
4424
44252000-07-12 Ulrich Drepper <drepper@redhat.com>
4426
4427 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
4428 it is wrong.
4429
9f835f5f
UD
44302000-07-12 Bruno Haible <haible@clisp.cons.org>
4431
4432 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
4433
44342000-07-12 Bruno Haible <haible@clisp.cons.org>
4435
4436 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
4437 __modname.
4438
44392000-07-12 Bruno Haible <haible@clisp.cons.org>
4440
4441 * iconv/gconv_open.c (__gconv_open): Initialize
4442 result->__steps[cnt].__data.
4443
44442000-07-12 Mark Kettenis <kettenis@gnu.org>
4445
4446 * nss/getent.c (services_keys): Pass port number in network byte
4447 order in call to getservbyport.
4448
44492000-07-11 Andreas Jaeger <aj@suse.de>
4450
4451 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
4452 source dir.
4453 * intl/Makefile (do-gettext-test): Likewise.
4454 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
4455
44562000-07-11 Andreas Schwab <schwab@suse.de>
4457
4458 * Makeconfig (run-program-prefix): New rule.
4459 (built-program-cmd): Use run-program-prefix.
4460
50a65643
UD
44612000-07-12 Ulrich Drepper <drepper@redhat.com>
4462
4463 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
4464 and NOEXPR unconditionally available.
4465
e279e90b
GM
44662000-07-12 Greg McGary <greg@mcgary.org>
4467
4468 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
4469 * sysdeps/posix/open64.c: Likewise.
4470 * sysdeps/generic/fegetenv.c: Likewise.
4471 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
4472 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4473 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4474 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
4475 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
4476 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
4477
c62f5cab
GM
44782000-07-11 Greg McGary <greg@mcgary.org>
4479
4480 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
4481 Add extra level of macro expansion.
4482 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
4483 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
4484 is available at the time `select' prototype is declared.
4485 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
4486 Collect non-versioned weak aliases. Consider only non-versioned
4487 aliases for the user-visible systemcall name. Do checks inline with
4488 call to primitive system call.
4489 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
4490 stand-alone bounds checks to suppress unused value warnings.
4491 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
4492
f80f1a4a
UD
44932000-07-10 Mark Kettenis <kettenis@gnu.org>
4494
19624ed6
MK
4495 * sysdeps/mach/hurd/check_fds.c: New file. Implements
4496 file descriptor checking in SUID programs for the Hurd.
4497
f80f1a4a
UD
4498 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
4499 res_hostalias instead of __hostalias for thread-safety.
4500
47a81620
UD
45012000-07-09 Mark Kettenis <kettenis@gnu.org>
4502
4503 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
4504 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
4505
45062000-07-10 Ulrich Drepper <drepper@redhat.com>
4507
4508 * include/features.h: Include ISO C99 features if the compiler used
4509 is an ISO C99 compiler.
4510 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
4511
45122000-07-08 Mark Kettenis <kettenis@gnu.org>
4513
4514 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
4515
02ba6e61
AJ
45162000-07-10 Andreas Jaeger <aj@suse.de>
4517
ab18b1e1
AJ
4518 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
4519 it's overridden by libpthreads.
4520 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4521 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4522 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4523 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4524 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4525
02ba6e61
AJ
4526 * malloc/Makefile: Run tst-mtrace only with shared libs.
4527
4528 * stdio-common/Makefile: Run unbputc and tst-printf tests only
4529 with shared libs.
4530
45312000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4532
4533 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
4534 that gpreg really points to the GOT section of the calling object.
4535 Scan all PT_LOAD segments of objects for stub_pc, instead of only
4536 checking a start address of first one.
4537 Fix typos.
4538 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
4539 Likewise.
4540
4541 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
4542
989eef3e
AJ
45432000-07-10 Andreas Jaeger <aj@suse.de>
4544
4545 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
4546 (string_alias->strong_alias).
4547
f9812076
MK
45482000-07-08 Mark Kettenis <kettenis@gnu.org>
4549
4550 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
4551
f2c9942e
GM
45522000-07-07 Greg McGary <greg@mcgary.org>
4553
4554 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
4555 have no names without leading underscores.
4556
0755050e
UD
45572000-07-07 Ulrich Drepper <drepper@redhat.com>
4558
6ccf5e67
UD
4559 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
4560 U007E.
4561
0755050e
UD
4562 * stdio-common/Makefile (tests): Remove tst-printf here...
4563 (tests-srcs): ...and add it here.
4564 (distribute): Add tst-unbputc.sh and tst-printf.sh.
4565 Add rules to run tst-printf.sh.
4566 * stdio-common/tst-printf.c: Move code around so that there is really
4567 no further output where it's stated.
4568 * stdio-common/tst-printf.sh: New file.
4569
f5dcffc5
MK
45702000-07-07 Mark Kettenis <kettenis@gnu.org>
4571
4572 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
4573 (do_write): Renamed from pwrite.
4574 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
4575 `struct _IO_cookie_file'.
4576
d6a25063
UD
45772000-07-07 Ulrich Drepper <drepper@redhat.com>
4578
4579 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
4580 detected.
4581 * malloc/tst-mtrace.sh: Run mtrace script.
4582
8ccd2cb1
GM
45832000-07-07 Greg McGary <greg@mcgary.org>
4584
4585 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
4586 Move all three components of a bounded pointer.
4587
89a4f6ff
UD
45882000-07-07 Ulrich Drepper <drepper@redhat.com>
4589
4590 * locale/programs/locale.c (write_locales): Don't simply add all
4591 directories found in the subdir, test whether at least the
4592 LC_CTYPE file is in there.
4593
c0f53cdd
UD
45942000-07-06 Ulrich Drepper <drepper@redhat.com>
4595
2528edd3
UD
4596 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
4597 * iconvdata/euc-kr.c: Likewise.
4598
ca4447d6
UD
4599 * stdio-common/vfprintf.c (process_string_arg): Check result of
4600 wcrtomb call and bail out if it failed.
4601
199d6eb0
UD
4602 * malloc/Makefile (test-srcs): Add tst-mtrace.
4603 (distribute): Add tst-mtrace.sh.
4604 Add rule to run tst-mtrace.sh.
4605 * malloc/tst-mtrace.c: New file.
4606 * malloc/tst-mtrace.sh: New file.
4607
c0f53cdd
UD
4608 * include/signal.h: Declare __libc_sigaction.
4609 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
4610 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
4611 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4612 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4613 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4614 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4615 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4616
ca4447d6 4617 * configure.in: Fix CFLAGS-memprofstat.c definition after
c0f53cdd
UD
4618 2000-06-19 change.
4619 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
4620
46212000-07-06 Jakub Jelinek <jakub@redhat.com>
4622
4623 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
4624 instead of NULL to elf_machine_fixup_plt t argument.
4625 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4626 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
4627 cast.
4628
46292000-07-06 Andreas Jaeger <aj@suse.de>
4630
4631 * crypt/Makefile (LDLIBS-cert): Removed.
4632 (LDLIBS-md5c-test): Removed.
4633 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
4634 ($(objpfx)md5c-test): Likewise for md5c-test.out.
4635
f7b0d45a
AJ
46362000-07-06 Andreas Jaeger <aj@suse.de>
4637
4638 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
4639 of the proc system is "proc".
4640
394d3277 4641 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
5d7ecaa8 4642 thread library for static programs.
394d3277 4643
1055cf7c
GM
46442000-07-06 Greg McGary <greg@mcgary.org>
4645
4bbb61e4
GM
4646 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
4647 New macros.
4648 * sysdeps/generic/strcpy.c: Add bounds checks.
4649 * sysdeps/unix/fxstat.c: Likewise.
4650 * sysdeps/unix/xstat.c: Likewise.
4651 * sysdeps/unix/common/lxstat.c: Likewise.
4652 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4653 * sysdeps/unix/sysv/linux/execve.c: Likewise.
4654 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
4655 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
4656 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4657 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4658 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
4659 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
4660 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
4661 * sysdeps/unix/sysv/linux/poll.c: Likewise.
4662 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4663 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4664 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
4665 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4666 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4667 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4668 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4669 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4670 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4671 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
4672 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4673 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
4674 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4675 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
4676 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
4677 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
4678 * sysdeps/unix/sysv/linux/writev.c: Likewise.
4679 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
4680 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
4681 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
4682 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4683 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
4684 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4685 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4686 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4687 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4688 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4689 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
4690 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4691 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4692 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4693 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
4694 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4695 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4696 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
4697 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
4698 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4699 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
4700 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
4701 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
4702 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
4703 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
4704 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4705 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4706 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4707 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4708 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
4709 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
4710 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
4711 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
4712 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4713 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
4714 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
4715 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
4716
ca1cde9e
GM
4717 * string/endian.h (__LONG_LONG_PAIR): New macro.
4718 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
4719 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4720 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4721 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4722 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4723 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
4724 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
4725 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4726 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4727 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4728 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4729 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
4730
1055cf7c
GM
4731 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
4732
fe4e204f
AJ
47332000-07-06 Andreas Jaeger <aj@suse.de>
4734
71cebc12
AJ
4735 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
4736 Initialize result.
4737
fe4e204f
AJ
4738 * math/test-fpucw.c: Include <stdio.h> for printf.
4739
34173b51
GM
47402000-07-05 Greg McGary <greg@mcgary.org>
4741
4742 * sysdeps/generic/bp-checks.h: New file.
4743 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
4744 with list of #include files.
4745 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
4746 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
4747 Don't generate BP thunk if `V' appears in signature.
4748 Generate thunks with complete bounds checks.
4749 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
4750 * sysdeps/unix/inet/syscalls.list: Likewise.
4751 * sysdeps/unix/mman/syscalls.list: Likewise.
4752 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4753 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4754 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4755 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
4756
11b34882
UD
47572000-07-05 Ulrich Drepper <drepper@redhat.com>
4758
77432371
UD
4759 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
4760 result. Search first in /etc/mtab (proc/mounts would be stupid).
4761 If mount not in the file fall back on /proc.
4762
11b34882
UD
4763 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
4764 string got copied in.
4765 Patch by Solar Designer <solar@false.com>.
4766
47672000-07-05 Andreas Jaeger <aj@suse.de>
4768
4769 * manual/install.texi (Installation): Update information about
4770 add-ons.
4771 (Configuring and compiling): Update for glibc 2.2.
4772
47732000-07-04 Andreas Jaeger <aj@suse.de>
4774
4775 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
4776 (_FPU_IEEE): Likewise.
4777
4778 * math/Makefile (tests): Add test-fpucw.
4779
4780 * math/test-fpucw.c (main): New file.
4781
f3e29a1a
UD
47822000-07-05 Ulrich Drepper <drepper@redhat.com>
4783
4784 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
4785
4786 * locale/programs/ld-collate.c (collate_output): Also write out the
4787 collation sequence values and the wide character string for the
4788 collation symbol table.
4789
4790 * posix/fnmatch.c: Include "../locale/elem-hash.h".
4791 * posix/fnmatch_loop.c: Implement collating symbol handling.
4792 * posix/tst-fnmatch.input: Add more tests, especially for collating
4793 symbol handling.
4794
4795 * posix/regex.c: Fix comment.
4796
0843ed1c
AJ
47972000-07-05 Andreas Jaeger <aj@suse.de>
4798
a2616aed
AJ
4799 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
4800 (_FPU_GETCW): Remove extra colon.
4801 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
4802
0843ed1c
AJ
4803 * posix/fnmatch_loop.c (FCT): Only declare len if
4804 !WIDE_CHAR_VERSION to silence GCC.
4805
4806 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
4807 prototype.
4808 * sysdeps/generic/strchrnul.c: Likewise.
d41293c7
AJ
4809 * sysdeps/generic/strlen.c: Likewise.
4810 * sysdeps/generic/strchr.c: Likewise.
4811 * sysdeps/generic/memchr.c: Likewise.
0843ed1c 4812
3248e3a3
UD
48132000-07-04 Ulrich Drepper <drepper@redhat.com>
4814
ecce00a9
UD
4815 * posix/fnmatch_loop.c: Implement equivalence class handling.
4816 * posix/tst-fnmatch.input: Add tests for equivalence class
4817 handling.
4818
7239b3a4
UD
4819 * posix/fnmatch_loop.c: Improve performance for single-byte
4820 character sets by not using btowc.
4821
ab9afc21
UD
4822 * posix/tst-fnmatch.input: Add tests for locale dependent
4823 behaviour.
4824 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
4825
f5c68a01
UD
4826 * posix/tst-fnmatch.input: Add more test cases.
4827
3248e3a3
UD
4828 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
4829 are not aligned to alignof(md5_uint32) do it before calling
4830 __md5_process_bytes.
4831 * crypt/md5.c: Make sure buffers are aligned.
4832 * crypt/md5.h: Likewise.
4833 Reported by Solar Designer <solar@false.com>.
4834
4835 * crypt/Makefile: Add dependencies for test programs.
4836
4837 * Rules: Define LC_ALL=C in environments of all programs we run.
4838
4839 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
4840
48412000-07-03 H.J. Lu <hjl@gnu.org>
4842
4843 * locale/programs/ld-ctype.c (ctype_output): The size of iov
4844 is 2 + elem + offset, not 2 + elem + offset + 2.
4845
48462000-07-04 Ulrich Drepper <drepper@redhat.com>
4847
4848 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
4849 suite.
4850 * posix/Makefile (tests): Add tst-fnmatch.
4851 (tst-fnmatch-ENV): Define.
4852 * posix/tst-fnmatch.c: New file.
4853 * posix/tst-fnmatch.sh: New file.
4854
a88b96f4
UD
48552000-07-04 NIIBE Yutaka <gniibe@chroot.org>
4856
4857 * locale/programs/charmap.c (charmap_read): Prepend
4858 the condition filename == NULL.
4859
b1fc7a6a
GM
48602000-07-03 Greg McGary <greg@mcgary.org>
4861
293c6b3c 4862 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
a2616aed 4863
98186375
GM
4864 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
4865 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
4866
73c115ed
GM
4867 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
4868 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
4869 (FILEBUF_LITERAL): Add cast for CHAIN init.
4870 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
4871 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
4872 Revert type of `fp' to _IO_FILE*.
4873 (_IO_iter_file): Remove cast.
4874 (_IO_iter_next): Elide intermediate member reference.
4875
b1fc7a6a
GM
4876 * sysdeps/powerpc/strchr.S: Check bounds.
4877 Wrap extern symbols in BP_SYM ().
4878
68eefde7 48792000-07-03 Andreas Jaeger <aj@suse.de>
3248e3a3 4880
68eefde7
UD
4881 * dlfcn/Makefile (generated): New.
4882
6f98fd7e
UD
48832000-07-03 Ulrich Drepper <drepper@redhat.com>
4884
4885 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
4886 (__uflow): Likewise.
4887 (__underflow): Likewise.
4888 * libio/wgenops.c (__wunderflow): Likewise.
4889 * stdio-common/tst-unbputc.c: New file.
4890 * stdio-common/tst-unbputc.sh: New file.
4891 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
4892
4893 * po/en_GB.po: New file.
4894 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
4895
40c4c9b5
UD
48962000-07-01 Andreas Jaeger <aj@suse.de>
4897
4898 * intl/Makefile (generated-dirs): New.
4899
4900 * elf/Makefile (generated): trusted-dirs.h is always generated,
4901 move out of build-shared condition.
4902 (generated): Merge the two entries for build-shared.
4903
49042000-07-01 Ulrich Drepper <drepper@redhat.com>
4905
4906 * debug/Makefile (distribute): Add xtrace.sh.
4907
5e087c71
UD
49082000-06-30 Ulrich Drepper <drepper@redhat.com>
4909
a2294e57
UD
4910 * version.h (VERSION): Bump to 2.1.91.
4911
4912 * configure.in: Update warning comment. glibc should not be
4913 broken anymore.
4914
4915 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
4916 ioperm.c, sys/procfs.h, and sys/io.h.
4917
4918 * sysdeps/powerpc/Dist: Add bp-asm.h.
4919
5e087c71
UD
4920 * assert/Depend: Add localedata.
4921 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
4922 (test-assert-perr-ENV): New. Define LANGUAGE=C.
4923
4924 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
4925 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
4926 relocation address to prevent unaligned trap.
4927 Suggested by Richard Henderson <rth@cygnus.com>.
4928
49292000-06-30 Jakub Jelinek <jakub@redhat.com>
4930
4931 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
4932 if redirecting and either redirection is done using defines or
4933 not optimizing.
4934
dbda6079
UD
49352000-06-30 Ulrich Drepper <drepper@redhat.com>
4936
a2294e57 4937 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
b856f875
UD
4938 generated expressions.
4939 Patch by Darren McClelland <dmcclell@zetec.com>.
4940
71d82dbe
UD
4941 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
4942 since zic uses setlocale and gettext but we cannot make it use the
4943 new locale data since zic calls a shell which might not use the
4944 new libc.
4945
3da67f99
UD
4946 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
4947 handling the internation currency symbol. POSIX says that the
4948 fourth character is used to separate the currency symbol from the
4949 value. Therefore it does not have to be printed. But we cannot
4950 remove the space if the currency symbol is printed before the
4951 number since this is what many locales expect.
3da67f99 4952
7f455351
UD
4953 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
4954 whether this information is available.
4955
4956 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
4957 buffers in case the translation is too large. Remember allocated
4958 memory blocks in a list.
4959 (free_mem): Free memory for translations.
4960
4961 * intl/tst-gettext.c: Use correct locale. Improve error messages.
4962
4963 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
4964 information is available set the string length to zero.
4965
dbda6079
UD
4966 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
4967
cb2eb742
GM
49682000-06-30 Greg McGary <greg@mcgary.org>
4969
fa87f403
GM
4970 * sysdeps/powerpc/bp-asm.h: New file.
4971 * sysdeps/powerpc/__longjmp.S: Check bounds.
4972 Wrap extern symbols in BP_SYM ().
4973 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
4974 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
4975 * sysdeps/powerpc/setjmp.S: Likewise.
4976 * sysdeps/powerpc/add_n.S: Likewise.
4977 * sysdeps/powerpc/addmul_1.S: Likewise.
4978 * sysdeps/powerpc/lshift.S: Likewise.
4979 * sysdeps/powerpc/rshift.S: Likewise.
4980 * sysdeps/powerpc/mul_1.S: Likewise.
4981 * sysdeps/powerpc/sub_n.S: Likewise.
4982 * sysdeps/powerpc/submul_1.S: Likewise.
4983 * sysdeps/powerpc/strlen.S: Likewise.
4984 * sysdeps/powerpc/memset.S: Likewise.
4985 * sysdeps/powerpc/stpcpy.S: Likewise.
4986 * sysdeps/powerpc/strcmp.S: Likewise.
4987 * sysdeps/powerpc/strcpy.S: Likewise.
4988 * sysdeps/powerpc/elf/bzero.S: Likewise.
4989
cb2eb742
GM
4990 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
4991 Line up operands column with tabs.
4992
cb48e60f
UD
49932000-06-30 Ulrich Drepper <drepper@redhat.com>
4994
394679eb
UD
4995 * elf/Makefile (LDFLAGS-origtest): Actually add it.
4996
cb48e60f
UD
4997 * sysdeps/ia64/htonl.S: New file.
4998 * sysdeps/ia64/htons.S: New file.
4999 * sysdeps/ia64/memcpy.S: Replace with version which does not use
5000 floating point registers.
5001 Patches by Dan Pop <Dan.Pop@cern.ch>.
5002
4a3c3ca1
AJ
50032000-06-30 Andreas Jaeger <aj@suse.de>
5004
e8c6a442
AJ
5005 * posix/Makefile (tests): tst-exec and tst-spawn only work with
5006 shared libraries.
5007
4a3c3ca1
AJ
5008 * io/Makefile (CFLAGS-test-lfs.c): New.
5009 (tests): Add test-lfs.
5010
5011 * io/test-lfs.c: New file.
5012
2fc9b742
UD
50132000-06-30 Jakub Jelinek <jakub@redhat.com>
5014
5015 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
5016 instruction.
5017
e7262a65
UD
50182000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
5019
5020 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
5021
50222000-06-29 Jes Sorensen <jes@linuxcare.com>
5023
5024 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
5025 alias to the fstatfs call.
5026
5027 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
5028 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
5029
5030 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
5031 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
5032
5033 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
5034 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
5035 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
5036 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
5037
5038 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
5039 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
5040
5041 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
5042 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
5043
5044 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
5045 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
5046
5047 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
5048
c421d4b7
AJ
50492000-06-29 Andreas Jaeger <aj@suse.de>
5050
5051 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
5052 with syslog.
5053 (print_err_message): Likewise.
5054 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
5055
f175216d
UD
50562000-06-29 Ulrich Drepper <drepper@redhat.com>
5057
e43e0dd6
UD
5058 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
5059 used as words is properly aligned.
5060
f175216d
UD
5061 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
5062 data files.
5063
e5f88e0c
GM
50642000-06-29 Greg McGary <greg@mcgary.org>
5065
5785c39f
GM
5066 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
5067 * sysdeps/unix/make-syscalls.sh: Handle signatures of
5068 length 7..9, just in case...
5069 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
5070
e5f88e0c
GM
5071 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
5072 (POP_ERRNO_LOCATION_RETURN): Fold insns.
5073 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
5074 (PUSH_SIGNAL_MASK): New macro.
5075 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
5076 LEAVE is unnecessary. Check bounds of jmp_buf.
5077 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
5078 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
5079 immediately before tail-call.
5080 * sysdeps/i386/setjmp.S: Likewise.
5081 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5082 * sysdeps/i386/bsd-setjmp.S: Likewise.
5083
d3d89ab3
UD
50842000-06-29 Jakub Jelinek <jakub@redhat.com>
5085
5086 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
5087 versioned_symbol.
5088 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
5089 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
5090 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
5091 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5092 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
5093 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
5094 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
5095 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
5096
a5707dad
UD
50972000-06-29 Ulrich Drepper <drepper@redhat.com>
5098
5099 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
5100 we later need to calling free().
5101 Patch by Matt Wilson <msw@redhat.com>.
5102
a0e5d73a
UD
5103 * stdio-common/tst-printf.c: Add test for above problem.
5104
a5707dad
UD
51052000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
5106
5107 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
5108 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
5109
51102000-06-28 Jes Sorensen <jes@linuxcare.com>
5111
5112 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
5113 prototype for abs().
5114 * sysdeps/ieee754/flt-32/s_exp2f.c: ditto.
5115
6fc1dd3f
AJ
51162000-06-23 Andreas Jaeger <aj@suse.de>
5117
5118 * config.h.in: Don't use regparm with bounded pointers.
5119
a748c3c6
UD
51202000-06-29 Ulrich Drepper <drepper@redhat.com>
5121
5122 * stdlib/grouping.h: Correctly handle multibyte thousands
5123 separator and decimal point.
5124 * stdlib/stdtod.c: Likewise.
5125 * sysdeps/generic/strtol.c: Likewise.
5126
5127 * locale/categories.def: Add entries for wide character decimal point
5128 and thousands separator in numeric and monetary category.
5129
51302000-06-28 Ulrich Drepper <drepper@redhat.com>
5131
5132 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
5133 second definition and initialization of decimal.
5134
2ca8b1ee
GM
51352000-06-28 Greg McGary <greg@mcgary.org>
5136
a748c3c6
UD
5137 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
5138 out.
2ca8b1ee 5139 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
a748c3c6
UD
5140 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
5141 in.
5142 (_IO_JUMPS): Don't cast THIS--expect arg to be a
5143 (struct _IO_FILE_plus *).
2ca8b1ee
GM
5144 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
5145 THIS, since _IO_JUMPS no longer does it implicitly.
5146 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
5147 arg type as (struct _IO_FILE_plus *).
5148 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
5149 arg as (_IO_strfile *).
5150 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
5151 Declare 1st arg as (_IO_strfile *).
5152 * libio/fileops.c (_IO_new_file_init): Declare
5153 arg type as (struct _IO_FILE_plus *).
5154 * libio/oldfileops.c (_IO_old_file_init): Likewise.
5155 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
5156 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
5157 Declare iteration pointer as (struct _IO_FILE_plus *).
a748c3c6
UD
5158 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
5159 (struct _IO_FILE_plus *).
2ca8b1ee
GM
5160 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
5161 * libio/oldstdfiles.c (_IO_list_all): Likewise.
a748c3c6
UD
5162 (_IO_check_libio): Set user-visible handles to
5163 (struct _IO_FILE_plus *).
2ca8b1ee
GM
5164 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
5165 to (struct _IO_FILE_plus *).
5166
5167 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
5168 whose high bound includes vtable to all functions that will use
5169 vtable. For streambufs, pass pointer whose bounds include struct
5170 _IO_strfile.
5171 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
5172 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5173 * libio/iofopen.c (_IO_new_fopen): Likewise.
5174 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5175 * libio/iofopen64.c (_IO_fopen64): Likewise.
5176 * libio/iopopen.c (_IO_new_popen): Likewise.
5177 * libio/oldiopopen.c (_IO_old_popen): Likewise.
5178 * libio/memstream.c (open_memstream): Likewise.
5179 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
5180 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
5181 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
5182 * libio/iofopncook.c (_IO_cookie_init): Likewise.
5183 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
5184 * libio/vasprintf.c (_IO_vasprintf): Likewise.
5185 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
5186 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
5187 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
5188 * stdlib/strfmon.c (__strfmon_l): Likewise.
5189 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
5190 (vfprintf): Qualify computed-goto targets as unbounded.
5191
72acaddf
UD
51922000-06-28 Ulrich Drepper <drepper@redhat.com>
5193
5194 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
5195 thousands separator correctly.
5196
5197 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
5198 * stdio-common/vfwscanf.c: Likewise.
5199
2d7fb37a
UD
52002000-06-27 Jes Sorensen <jes@linuxcare.com>
5201
5202 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
5203 count into signatures for most calls.
5204
99274b38
UD
52052000-06-28 Ulrich Drepper <drepper@redhat.com>
5206
5207 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
5208 the generic parser now.
5209
aa1b0984
UD
52102000-06-28 Jes Sorensen <jes@linuxcare.com>
5211
5212 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
5213 table entries are 32 bit on the ia64 (as specified by the ABI),
5214 not 64 bit as on the Alpha.
5215
5216 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
5217 change of objects to use 32 bit hash table indices (see above).
5218
52192000-06-28 Jes Sorensen <jes@linuxcare.com>
5220
5221 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
5222 prototype for abs().
5223
07c35131
UD
52242000-06-28 Wolfram Gloger <wg@malloc.de>
5225
5226 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
5227 fails, try mmap_chunk() as a last resort even though n_mmaps_max
5228 may have been reached.
5229
044ff622
UD
52302000-06-28 Ulrich Drepper <drepper@redhat.com>
5231
5295113f
UD
5232 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
5233 symbols in multi-character weights correctly.
5234
f1f1b6b9
UD
5235 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
5236 depending on whether the input string is empty or not.
5237
5238 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
5239 given state and not avoiding this by modifying a local object.
5240 * wcsmbs/wcrtomb.c: Likewise.
5241
5242 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
5243 object since some incomplete characters might be in there.
5244
392ac969 5245 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
72acaddf 5246 sequences with first byte 0x8e correctly.
392ac969 5247
044ff622
UD
5248 * iconvdata/jis0208.h: Remove redundant test.
5249
37696206
UD
52502000-06-27 Ulrich Drepper <drepper@redhat.com>
5251
d1660439
UD
5252 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
5253 Add it where it is needed now.
5254
0e16ecfa
UD
5255 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
5256 the input charset into account when generating the hash table.
5257 (allocate_arrays): Correct setting default width. Not all empty slots
5258 in the table are filled, only those not covert explicitly by the
5259 locale description and in the charset.
5260
37696206
UD
5261 * wctype/towctrans.c (__towctrans): Be graceful and accept error
5262 return values from the wctrans function.
5263
0e16ecfa
UD
5264 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
5265 wide character version.
5266 For %C handling, test correct pointer variable for NULL.
5267
5268 * wcsmbs/wctob.c: Handle WEOF special.
5269
5270 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
5271
5272 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
5273 always-true test to avoid warning.
5274
ebdf53a7
GM
52752000-06-27 Greg McGary <greg@mcgary.org>
5276
5277 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
5278 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
5279 (symbol_version, default_symbol_version): Factor redundant
5280 definitions out of conditional.
ebdf53a7 5281
1cf98aae
UD
52822000-06-27 Jakub Jelinek <jakub@redhat.com>
5283
5284 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
5285 not obstack_blank.
5286
8b943b4a
UD
52872000-06-26 Ulrich Drepper <drepper@redhat.com>
5288
5289 * include/libc-symbols.h (symbol_version): Add extra level of
5290 macro expansion.
5291 (default_symbol_version): Likewise.
5292
f9e7bbce
GM
52932000-06-26 Greg McGary <greg@mcgary.org>
5294
ee63ca21
GM
5295 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
5296 for BP return value & push implicit struct-return pointer to
5297 __errno_location.
5298 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5299 (SYSCALL_ERROR_HANDLER): Likewise.
5300 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
5301 (SYSCALL_ERROR_HANDLER): Likewise.
5302
58ff985d
GM
5303 * Makeconfig: Add missing comment.
5304 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
5305 BP-flavored startup object.
5306 ($(objpfx)b$(start-installed-name)): New rule.
5307 * include/libc-symbols.h (symbol_set_declare): Change type
5308 of `__start_##set' and `__stop_##set' to pointer-to-function.
5309 (symbol_set_declare): Change type of `set' to array of
5310 pointer-to-function.
5311 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
5312 pointer-to-function.
5313
7c90419b
GM
5314 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
5315
22fda766
GM
5316 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
5317 Remove clock_* and timer_* entries.
5318 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
5319 arg-count with signatures.
5320
2fc08826
GM
5321 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
5322 Check bounds of arguments.
5323 * sysdeps/i386/addmul_1.S: Likewise.
5324 * sysdeps/i386/lshift.S: Likewise.
5325 * sysdeps/i386/mul_1.S: Likewise.
5326 * sysdeps/i386/rshift.S: Likewise.
5327 * sysdeps/i386/sub_n.S: Likewise.
5328 * sysdeps/i386/submul_1.S: Likewise.
5329 * sysdeps/i386/i586/add_n.S: Likewise.
5330 * sysdeps/i386/i586/addmul_1.S: Likewise.
5331 * sysdeps/i386/i586/lshift.S: Likewise.
5332 * sysdeps/i386/i586/rshift.S: Likewise.
5333 * sysdeps/i386/i586/sub_n.S: Likewise.
5334 * sysdeps/i386/i686/add_n.S: Likewise.
5335
5336 * sysdeps/i386/memchr.S: Likewise.
5337 * sysdeps/i386/memcmp.S: Likewise.
5338 * sysdeps/i386/rawmemchr.S: Likewise.
5339 * sysdeps/i386/i586/bzero.S: Likewise.
5340 * sysdeps/i386/i586/memcpy.S: Likewise.
5341 * sysdeps/i386/i586/mempcpy.S: Likewise.
5342 * sysdeps/i386/i586/memset.S: Likewise.
5343 * sysdeps/i386/i686/bzero.S: Likewise.
5344 * sysdeps/i386/i686/memcpy.S: Likewise.
5345 * sysdeps/i386/i686/mempcpy.S: Likewise.
5346 * sysdeps/i386/i686/memset.S: Likewise.
5347
5348 * sysdeps/i386/stpcpy.S: Likewise.
5349 * sysdeps/i386/stpncpy.S: Likewise.
5350 * sysdeps/i386/strchr.S: Likewise.
5351 * sysdeps/i386/strchrnul.S: Likewise.
5352 * sysdeps/i386/strcspn.S: Likewise.
5353 * sysdeps/i386/strpbrk.S: Likewise.
5354 * sysdeps/i386/strrchr.S: Likewise.
5355 * sysdeps/i386/strspn.S: Likewise.
5356 * sysdeps/i386/strtok.S: Likewise.
5357 * sysdeps/i386/strtok_r.S: Likewise.
5358 * sysdeps/i386/i486/strcat.S: Likewise.
5359 * sysdeps/i386/i486/strlen.S: Likewise.
5360 * sysdeps/i386/i586/strchr.S: Likewise.
5361 * sysdeps/i386/i586/strcpy.S: Likewise.
5362 * sysdeps/i386/i586/strlen.S: Likewise.
5363 * sysdeps/i386/i686/strcmp.S: Likewise.
5364 * sysdeps/i386/i686/strtok.S: Likewise.
5365 * sysdeps/i386/i686/strtok_r.S: Likewise.
5366
5367 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
5368 * sysdeps/i386/fpu/fesetenv.c: Likewise.
5369 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
5370 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
5371 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
5372
f9e7bbce
GM
5373 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
5374 * sysdeps/i386/mul_1.S: Likewise.
5375 * sysdeps/i386/submul_1.S: Likewise.
5376 * sysdeps/i386/i586/add_n.S: Likewise.
5377 * sysdeps/i386/i586/addmul_1.S: Likewise.
5378 * sysdeps/i386/i586/lshift.S: Likewise.
5379 * sysdeps/i386/i586/mul_1.S: Likewise.
5380 * sysdeps/i386/i586/rshift.S: Likewise.
5381 * sysdeps/i386/i586/sub_n.S: Likewise.
5382 * sysdeps/i386/i586/submul_1.S: Likewise.
5383
c000cdad
UD
53842000-06-26 Ulrich Drepper <drepper@redhat.com>
5385
5386 * rt/Makefile (librt-routines): Add clock_nanosleep.
5387 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
5388 * sysdeps/generic/clock_nanosleep.c: New file.
5389 * sysdeps/unix/clock_nanosleep.c: New file.
5390 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
5391 * time/time.h: Declare clock_nanosleep.
5392
43c81906
GM
53932000-06-26 Greg McGary <greg@mcgary.org>
5394
5395 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
5396 INSN1, INSN2, TEXT, GLOBL): Remove macros.
5397 (ALIGN): Cleanup surrounding conditionals.
5398
5399 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
5400 Call ENTER/LEAVE macros.
5401 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
5402 * sysdeps/i386/submul_1.S: Likewise.
5403
5404 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
5405 syntax. Define & use symbolic argument stack offsets. Call
5406 ENTER/LEAVE macros.
5407 * sysdeps/i386/i586/mul_1.S: Likewise.
5408 * sysdeps/i386/i586/submul_1.S: Likewise.
5409
7475d016
UD
54102000-06-25 Greg McGary <greg@mcgary.org>
5411
5412 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
5413 not as bcopy.
5414
07dab0c3
UD
54152000-06-25 Ulrich Drepper <drepper@redhat.com>
5416
8b682b99
UD
5417 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
5418 * iconvdata/gen-8bit-gap.sh: Likewise.
5419 * iconvdata/gen-8bit.sh: Likewise.
5420
5421 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
5422
5423 * locale/programs/ld-collate.c (collate_read): Don't actually read
5424 the copy locale if we are ignoring the content.
5425
45a9eda2
UD
5426 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
5427 unknown character.
5428
07dab0c3
UD
5429 * locale/programs/ld-collate.c: Correct handling of different
5430 collation sections.
5431 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
5432 as extra parameter from which to copy category information.
5433 Change all callers.
5434 (load_locale): Likewise.
5435 * locale/programs/localedef.h: Update prototypes of add_to_readlist
5436 and load_locale.
5437 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
5438 * locale/programs/locfile.h: Likewise.
5439 * locale/programs/locfile-kw.gperf: Add entry for script.
5440 * locale/programs/locfile-token.h: Add tok_script.
5441
5442 * locale/programs/locale.c: Update copyright year.
5443 * locale/programs/localedef.c: Likewise.
5444
eacc6555
AJ
54452000-06-23 Thorsten Kukuk <kukuk@suse.de>
5446
8b682b99
UD
5447 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
5448 Jens Moeller <jens.moeller@waii.com>.
eacc6555 5449
756186e7
UD
54502000-06-24 Ulrich Drepper <drepper@redhat.com>
5451
ae1aff77
UD
5452 * locale/programs/ld-name.c (name_finish): Add missing format
5453 specifier to test for name_fmt.
5454
17955ae2
UD
5455 * locale/programs/ld-address.c (iso639): Correct length of string
5456 elements.
0ea5f1b8 5457 (iso3166): Likewise.
17955ae2
UD
5458
5459 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
756186e7 5460
17955ae2
UD
5461 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
5462 Define.
756186e7
UD
5463
5464 * elf/elf.h (NT_PRFPXREG): Define.
5465
64f022a4
UD
54662000-06-23 Ulrich Drepper <drepper@redhat.com>
5467
5468 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
5469 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
5470
a4b33f03
AS
54712000-06-23 Andreas Schwab <schwab@suse.de>
5472
5473 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
5474 with signatures.
5475
16b02fef
AJ
54762000-06-23 Andreas Jaeger <aj@suse.de>
5477
536f4e87
AJ
5478 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
5479
ffce1bc7
AJ
5480 * io/test-stat.c: Add copyright header, mention Maciej.
5481
16b02fef
AJ
5482 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
5483 SYS_mincore, SYS_madvise): Added.
5484
5485 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
5486 execve.
5487
e7d3a52a
UD
54882000-06-22 Ulrich Drepper <drepper@redhat.com>
5489
e8595e84
UD
5490 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
5491 (CFLAGS-tst_putwc.c): New definition.
5492 * libio/tst_getwc.c: New file.
5493 * libio/tst_getwc.input: New file.
5494 * libio/tst_putwc.c: New file.
5495
e7d3a52a
UD
5496 * include/string.h: Add prototype for __strdup.
5497
6a05c783
GM
54982000-06-22 Greg McGary <greg@mcgary.org>
5499
5500 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
5501 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
5502 Fix signatures.
5503
d2e7a240
UD
55042000-06-23 Jes Sorensen <jes@linuxcare.com>
5505
5506 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
5507
3a10a8bc
UD
55082000-06-22 Jes Sorensen <jes@linuxcare.com>
5509
5510 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
5511
33256e8a
UD
55122000-06-22 Jes Sorensen <jes@linuxcare.com>
5513
5514 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
5515 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
5516
2fcbf75b
UD
55172000-06-22 Ulrich Drepper <drepper@redhat.com>
5518
5519 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
5520 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
5521 and __S_TYPEISSHM.
5522 * sysdeps/mach/hurd/bits/stat.h: Likewise.
5523 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5524 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
5525 * sysdeps/unix/sysv/bits/stat.h: Likewise.
5526 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
5527 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
5528 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
5529 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
5530 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
5531 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
5532 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
5533 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
5534 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
d0db5a44
UD
5535 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
5536 S_TYPEISSHM.
2fcbf75b 5537
72a96435
AJ
55382000-06-22 Andreas Jaeger <aj@suse.de>
5539
2b22b881
AJ
5540 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
5541 with signatures.
5542
3cfd2d07
AJ
5543 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
5544
72a96435
AJ
5545 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
5546
de568fbe
UD
55472000-06-21 Ulrich Drepper <drepper@redhat.com>
5548
5549 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
5550 ahead.
5551
2b6fb3df
GM
55522000-06-21 Greg McGary <greg@mcgary.org>
5553
5554 * Makerules (elide-routines.*, elide-bp-thunks):
5555 Define unconditionally.
5556
387be087
UD
55572000-06-21 Jes Sorensen <jes@linuxcare.com>
5558
5559 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
5560
514f9e32
UD
55612000-06-21 Andreas Jaeger <aj@suse.de>
5562
5563 * io/Makefile (tests): Add test-stat.
5564 (CFLAGS-test-stat.c): New.
5565
5566 * io/test-stat.c: New file from Maciej W. Rozycki
5567 <macro@ds2.pg.gda.pl>.
5568
4cdf2d81
UD
55692000-06-21 Jes Sorensen <jes@linuxcare.com>
5570
5571 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
5572 in __rlimit_resource to make them match the kernel order.
5573 rlim_t is always 64 bit, use __rlim64_t to declare it
5574 unconditionally.
5575
55762000-05-04 Jes Sorensen <jes@linuxcare.com>
5577
5578 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
5579 RLIM_INFINITY before defining it to avoid clash with kernel header
5580
55812000-05-03 Jes Sorensen <jes@linuxcare.com>
5582
5583 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
5584
b1b5152b
UD
55852000-06-21 Ulrich Drepper <drepper@redhat.com>
5586
5587 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
5588
ae0d72a5
AJ
55892000-06-21 Andreas Jaeger <aj@suse.de>
5590
906ec4a2
AJ
5591 * stdio-common/temptest.c: Include <stdlib.h>.
5592 * stdio-common/tst-fileno.c: Likewise.
5593 * stdio-common/scanf4.c: Likewise.
5594 * stdio-common/scanf5.c: Likewise.
5595 * time/clocktest.c: Likewise.
5596 * posix/test-vfork.c: Likewise.
5597 * posix/globtest.c: Likewise.
5598 * io/test-utime.c: Likewise.
5599 * wctype/test_wcfuncs.c: Likewise.
5600 * crypt/cert.c: Likewise.
5601
5602 * stdio-common/tst-printfsz.c: Include <string.h>.
5603 * libio/tst_swscanf.c: Likewise.
5604 * libio/tst_wscanf.c: Likewise.
5605 * posix/runtests.c: Likewise.
5606 * posix/tst-getaddrinfo.c: Likewise.
5607 * posix/wordexp-test.c: Likewise.
5608 * misc/tst-efgcvt.c: Likewise.
5609
5610 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
5611 * nss/test-netdb.c: Likewise.
5612
5613 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
5614 supported kernel for MIPS.
5615
ae0d72a5
AJ
5616 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
5617 * rt/aio_suspend.c: Likewise.
5618
bdf09fab
UD
56192000-06-20 Ulrich Drepper <drepper@redhat.com>
5620
ae0d72a5 5621 * math/libm-test.inc: Include <string.h>.
bdf09fab 5622
697568d1
UD
56232000-06-20 Jes Sorensen <jes@linuxcare.com>
5624
5625 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
5626
56272000-06-20 Jes Sorensen <jes@linuxcare.com>
5628
5629 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
5630 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
5631
56322000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
5633
5634 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
5635
56362000-06-20 Jes Sorensen <jes@linuxcare.com>
5637
5638 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
5639
1b97149d
UD
56402000-06-20 Ulrich Drepper <drepper@redhat.com>
5641
5642 * locale/programs/ld-collate.c (insert_value): Now take string and
5643 length instead of struct token* parameter. Adjust use of token.
5644 (handle_ellipsis): Likewise.
5645 (collate_read): Allow <Uxxxx> names and transform them into names
5646 to be passed to insert_value and handle_ellipsis.
5647
5648 * locale/programs/ld-ctype.c (uninames): New array with names of
5649 digits in <Uxxxxxxxx> format.
5650 (ctype_finish): Correct search for space character value. Likewise
5651 for default outdigits values.
5652
28546617
GM
56532000-06-20 Greg McGary <greg@mcgary.org>
5654
5655 * Makerules (objects): Add BP thunks.
5656
620cdffb
UD
56572000-06-20 Ulrich Drepper <drepper@redhat.com>
5658
5659 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
5660 in width definitions.
5661
a8a9cd6b
AJ
56622000-06-20 Andreas Jaeger <aj@suse.de>
5663
9380bb48
AJ
5664 * sysdeps/mips/fpu/libm-test-ulps: New file.
5665
a8a9cd6b
AJ
5666 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
5667 first.
5668
5669 * sysdeps/mips/fpu/feholdexcpt.c: New file.
5670
5671 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
5672
ea97f90c
UD
56732000-06-19 Ulrich Drepper <drepper@redhat.com>
5674
5d5a23df
UD
5675 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
5676 change in gconv_builtin.h.
5677
ba80a015
UD
5678 * malloc/Makefile: Change all references to memprof into memusage.
5679 * malloc/memprof.c: Rename to...
5680 * malloc/memusage.c: ...this. New file.
5681 * malloc/memprof.sh: Rename to...
5682 * malloc/memusage.sh: ...this. New file.
5683 * malloc/memprofstat.c: Rename to...
5684 * malloc/memusagestat.c: ...this. New file.
fa4a5fe7
UD
5685 * sysdeps/alpha/memprof.h: Rename to..
5686 * sysdeps/alpha/memusage.h: ...this. New file.
5687 * sysdeps/arm/memprof.h: Rename to..
5688 * sysdeps/arm/memusage.h: ...this. New file.
5689 * sysdeps/generic/memprof.h: Rename to..
5690 * sysdeps/generic/memusage.h: ...this. New file.
5691 * sysdeps/i386/memprof.h: Rename to..
5692 * sysdeps/i386/memusage.h: ...this. New file.
5693 * sysdeps/ia64/memprof.h: Rename to..
5694 * sysdeps/ia64/memusage.h: ...this. New file.
5695 * sysdeps/m68k/memprof.h: Rename to..
5696 * sysdeps/m68k/memusage.h: ...this. New file.
5697 * sysdeps/mips/memprof.h: Rename to..
5698 * sysdeps/mips/memusage.h: ...this. New file.
5699 * sysdeps/powerpc/memprof.h: Rename to..
5700 * sysdeps/powerpc/memusage.h: ...this. New file.
5701 * sysdeps/sparc/memprof.h: Rename to..
5702 * sysdeps/sparc/memusage.h: ...this. New file.
5703 * sysdeps/sh/memprof.h: Rename to..
5704 * sysdeps/sh/memusage.h: ...this. New file.
ba80a015 5705
ea97f90c
UD
5706 * elf/sprof.c (print_version): Update year.
5707
5708 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
5709 table entry values. Use D_PTR.
5710 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
5711 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
5712
131bf9f3
UD
57132000-06-20 Jes Sorensen <jes@linuxcare.com>
5714
5715 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
5716 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
5717 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
5718 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
5719
57202000-05-05 Jes Sorensen <jes@linuxcare.com>
5721
5722 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
5723
0289ab3b
UD
57242000-06-16 Jes Sorensen <jes@linuxcare.com>
5725
5726 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
5727 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
5728 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
5729
5730 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
5731
5732 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
5733 kernel change.
5734
5735 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
5736 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
5737 structure.
5738 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
5739 implementation.
5740
57412000-06-15 Jes Sorensen <jes@linuxcare.com>
5742
5743 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
5744
57452000-06-08 Jes Sorensen <jes@linuxcare.com>
5746
5747 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
5748
d6204268
UD
57492000-06-19 Ulrich Drepper <drepper@redhat.com>
5750
d2dfc5de
UD
5751 * iconv/gconv_int.h (strict gconv_module): Remove all members
5752 associated with regular expressions. Use a simple string as the
5753 from name.
5754 * iconv/gconv_db.c: Remove code handling regular expressions.
5755 * iconv/gconv_conf.c: Likewise.
5756 * iconv/iconv_prog.c: Likewise.
5757 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
5758
d6204268
UD
5759 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
5760 General namespace cleanup.
5761 (struct __gconv_trans_data): Add next field.
5762 (struct __gconv_step_data): Make __trans a pointer.
5763 * iconv/gconv_conf.c: Split out code to find gconv directories from
5764 __gconv_read_conf in new functions.
5765 * iconv/gconv_int.h: Define new data structure and declare new
5766 functions for handling of gconv directory list.
5767 * iconv/gconv_open.c: Allow more than one error handling step being
5768 used. Call function to load error handling module if it is none
5769 of the builtin transformations.
5770 * iconv/gconv_close.c: Add code to free transliteration data.
5771 * iconv/gconv_trans.c: Add functions to load and unload modules
5772 implementing transliteration etc.
5773 * iconv/skeleton.c: Call all context functions now that more than
5774 one module is allowed.
5775 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
5776 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
5777 where the full error handling using transliteration is needed.
5778 * iconvdata/8bit-gap.c: Likewise.
5779 * iconvdata/8bit-generic.c: Likewise.
5780 * iconvdata/ansi_x3.110.c: Likewise.
5781 * iconvdata/big5.c: Likewise.
5782 * iconvdata/big5hkscs.c: Likewise.
5783 * iconvdata/euc-cn.c: Likewise.
5784 * iconvdata/euc-jp.c: Likewise.
5785 * iconvdata/euc-kr.c: Likewise.
5786 * iconvdata/euc-tw.c: Likewise.
5787 * iconvdata/gbgbk.c: Likewise.
5788 * iconvdata/gbk.c: Likewise.
5789 * iconvdata/iso-2022-cn.c: Likewise.
5790 * iconvdata/iso-2022-jp.c: Likewise.
5791 * iconvdata/iso-2022-kr.c: Likewise.
5792 * iconvdata/iso646.c: Likewise.
5793 * iconvdata/iso8859-1.c: Likewise.
5794 * iconvdata/iso_6937-2.c: Likewise.
5795 * iconvdata/iso_6937.c: Likewise.
5796 * iconvdata/johab.c: Likewise.
5797 * iconvdata/sjis.c: Likewise.
5798 * iconvdata/t.61.c: Likewise.
5799 * iconvdata/uhc.c: Likewise.
5800 * iconvdata/unicode.c: Likewise.
5801 * iconvdata/utf-16.c: Likewise.
5802 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
5803 structure correctly after last change.
5804 * wcsmbs/btowc.c: Likewise.
5805 * wcsmbs/mbrtowc.c: Likewise.
5806 * wcsmbs/mbsnrtowcs.c: Likewise.
5807 * wcsmbs/mbsrtowcs.c: Likewise.
5808 * wcsmbs/wcrtomb.c: Likewise.
5809 * wcsmbs/wcsnrtombs.c: Likewise.
5810 * wcsmbs/wcsrtombs.c: Likewise.
5811 * wcsmbs/wctob.c: Likewise.
5812
5813 * localedata/Makefile: Set -Wno-format for some files since gcc does
5814 not know all the format specifiers.
5815
58162000-06-18 Ulrich Drepper <drepper@redhat.com>
5817
5818 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
5819 unneeded code.
5820 * locale/lc-time.c (_nl_init_era_entries): Likewise.
5821
85577882
AJ
58222000-06-18 Andreas Jaeger <aj@suse.de>
5823
5824 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
5825 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
5826
a8e4c924
UD
58272000-06-17 Ulrich Drepper <drepper@redhat.com>
5828
89ffa8a8
UD
5829 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
5830 LINUX_LINK_MAX.
5831 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
a9c464ab 5832
498b733e
UD
5833 * locale/programs/ld-ctype.c (ctype_output): Really write out
5834 mboutdigits information.
5835 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
5836 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
5837 * localedata/tests/trans.def: Add outdigit information.
5838
5839 * localedata/tst-mbswcs3.c: Remove comment.
5840
9d54e984 5841 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
ce723583
UD
5842 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
5843 * libio/tst_wprintf.c (main): Add test for I flag.
9d54e984 5844
a8e4c924
UD
5845 * iconv/gconv_trans.c: Implement handling if translit_ignore.
5846 * locale/langinfo.h: Add entries for translit_ignore information.
5847 * locale/categories.def: Add entries for new LC_CTYPE elements.
5848 * locale/C-ctype.c: Add initializers for new fields. Use NULL
5849 pointer instead of "" where possible.
5850 * locale/programs/ld-ctype.c: Write out translit_ignore information.
5851 * intl/Depend: Add localedata.
5852 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
5853 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
5854
323fb88d
UD
58552000-06-16 Ulrich Drepper <drepper@redhat.com>
5856
1d96d74d
UD
5857 * locale/langinfo.h: Add entries for default_missing information.
5858 * locale/C-ctype.c: Add initializers for new fields.
5859 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
5860 information.
5861 * locale/categories.h: Add entries for all LC_CTYPE values.
5862 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
5863 information.
5864
5865 * localedata/tst-trans.c: Write out an error message if class is
5866 not found.
5867
323fb88d
UD
5868 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
5869 * iconv/gconv_open.c: Remove error handling specification from `from'
5870 character set name.
5871 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
5872 new parameter to always enable transliteration.
5873 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
5874 change.
5875 (struct locale_data): Add new members use_translit and options.
5876 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
5877 character set name contained modifier TRANSLIT.
5878 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
5879 and options fields.
5880 (_nl_unload_locale): Free options string if necessary.
5881 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
5882 the locale names suggested this.
5883 * locale/C-address.c: Add two new initialilzers to adjust data
5884 structure for new format.
5885 * locale/C-collate.c: Likewise.
5886 * locale/C-ctype.c: Likewise.
5887 * locale/C-identification.c: Likewise.
5888 * locale/C-measurement.c: Likewise.
5889 * locale/C-messages.c: Likewise.
5890 * locale/C-monetary.c: Likewise.
5891 * locale/C-name.c: Likewise.
5892 * locale/C-numeric.c: Likewise.
5893 * locale/C-paper.c: Likewise.
5894 * locale/C-telephone.c: Likewise.
5895 * locale/C-time.c: Likewise.
5896
5897 * locale/setlocale.c: Add some more __builtin_expect.
5898
f1d5c60d
UD
58992000-06-15 Ulrich Drepper <drepper@redhat.com>
5900
5901 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
5902 unsigned char **.
5903 (__gconv_init_fct): Remove two parameters.
5904 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
5905 gconv_transliterate. Remove two parameters.
5906 Change prototypes of builtin functions according to __gconv_fct change.
5907 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
5908 != NULL only during error handling. Stop in this case after the
5909 conversion.
5910 * iconv/gconv_trans.c: Replace with real implementation for
5911 __gconv_transliterate.
5912 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
5913 * iconv/gconv.c: Change calls to downstream functions once again.
5914 Use NULL for the fifth parameter instead of pointer to output buffer.
5915 * libio/iofwide.c: Likewise.
5916 * wcsmbs/btowc.c: Likewise.
5917 * wcsmbs/mbrtowc.c: Likewise.
5918 * wcsmbs/mbsnrtowcs.c: Likewise.
5919 * wcsmbs/mbsrtowcs.c: Likewise.
5920 * wcsmbs/wcrtomb.c: Likewise.
5921 * wcsmbs/wcsnrtombs.c: Likewise.
5922 * wcsmbs/wcsrtombs.c: Likewise.
5923 * wcsmbs/wctob.c: Likewise.
5924 * iconv/gconv_simple.c: Remove two parameters from error handling
5925 function call.
5926 * iconvdata/8bit-gap.c: Likewise.
5927 * iconvdata/8bit-generic.c: Likewise.
5928 * iconvdata/ansi_x3.110.c: Likewise.
5929 * iconvdata/big5.c: Likewise.
5930 * iconvdata/big5hkscs.c: Likewise.
5931 * iconvdata/euc-cn.c: Likewise.
5932 * iconvdata/euc-jp.c: Likewise.
5933 * iconvdata/euc-kr.c: Likewise.
5934 * iconvdata/euc-tw.c: Likewise.
5935 * iconvdata/gbgbk.c: Likewise.
5936 * iconvdata/gbk.c: Likewise.
5937 * iconvdata/iso-2022-cn.c: Likewise.
5938 * iconvdata/iso-2022-jp.c: Likewise.
5939 * iconvdata/iso-2022-kr.c: Likewise.
5940 * iconvdata/iso646.c: Likewise.
5941 * iconvdata/iso8859-1.c: Likewise.
5942 * iconvdata/iso_6937-2.c: Likewise.
5943 * iconvdata/iso_6937.c: Likewise.
5944 * iconvdata/johab.c: Likewise.
5945 * iconvdata/sjis.c: Likewise.
5946 * iconvdata/t.61.c: Likewise.
5947 * iconvdata/uhc.c: Likewise.
5948 * iconvdata/unicode.c: Likewise.
5949 * iconvdata/utf-16.c: Likewise.
5950
f5361098
UD
59512000-06-15 Greg McGary <greg@mcgary.org>
5952
5953 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
5954 of callnum assignment. Tolerate callnum expressions containing
5955 parens.
5956
6bca0305
UD
59572000-06-14 Ulrich Drepper <drepper@redhat.com>
5958
18b149d8
UD
5959 * login/Makefile (utmpd): Remove rule to build utmpd.
5960
5961 * csu/Versions: Move libgcc frame handling functions from here...
5962 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
5963 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
5964 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
5965 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
5966 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
5967 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
5968 New file.
fcf81e81 5969 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
18b149d8 5970
9ca23765
UD
5971 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
5972
6bca0305
UD
5973 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
5974
e26dd47f
UD
59752000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
5976
5977 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
5978 compatibility.
5979 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
5980 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
5981 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
5982 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
5983
59842000-06-14 Jakub Jelinek <jakub@redhat.com>
5985
5986 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
5987 defined, terminate quotes and read them after the comment char.
5988 * configure.in (HAVE_SECTION_QUOTES): Test whether
5989 __attribute__((section ("x"))) puts quotes around x or not.
5990 * config.h.in (HAVE_SECTION_QUOTES): Add.
5991 * configure: Rebuilt.
5992
e85db9de
AJ
59932000-06-14 Andreas Jaeger <aj@suse.de>
5994
cee49e0c
AJ
5995 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
5996 depending on the configure option --sysconfdir.
e3978a35
UD
5997 Closes PR libc/1762.
5998 Patch by Andreas Schwab <schwab@suse.de>.
cee49e0c 5999
e85db9de
AJ
6000 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
6001 entry point.
6002 Reported by Jim Pick <jim@jimpick.com>.
6003
594cee6c
UD
60042000-06-14 Ulrich Drepper <drepper@redhat.com>
6005
6006 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
6007 crashing the application. Emit some simple error message.
6008 Reported by mju@panasas.com [PR libc/1769].
6009
b8d36e83
UD
60102000-06-13 Ulrich Drepper <drepper@redhat.com>
6011
1bfae401
UD
6012 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
6013
46462326
UD
6014 * crypt/Makefile (distribute): Add md5.h.
6015
cf2964e2
UD
6016 * Makefile (distribute): Add include/shlib-compat.h.
6017
002ab034
UD
6018 * Make-dist: Search for tests also in sysdeps hierachy.
6019
afa0569f
UD
6020 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
6021 ufc.c, speeds.c, README.ufc-crypt, and Banner.
6022
6023 * sysdeps/sparc/Subdirs: New file.
6024
6025 * locale/Makefile (distribute): Add weightwc.h and
6026 programs/localedef.h.
6027
6028 * time/Makefile (distribute): Add datemsk.
6029
6030 * sysdeps/ia64/Dist: Add softpipe.h.
6031
6032 * sysdeps/unix/sysv/aix/Dist: New file.
6033
6034 * posix/setpgrp.c: Moved to...
6035 * sysdeps/generic/setpgrp.c: ...here. New file.
6036 * io/mknod.c: Moved to...
6037 * sysdeps/generic/mknod.c: ...here. New file.
6038
6039 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
6040
6041 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
6042
6043 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
6044
6045 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
6046 gprsave0.S, gprrest1.S, and gprrest0.S.
6047
6048 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
6049
6050 * posix/Makefile (routines): Add spawnattr_getsigmask,
6051 spawnattr_getschedpolicy, spawnattr_getschedparam,
6052 spawnattr_setsigmask, spawnattr_setschedpolicy, and
6053 spawnattr_setschedparam.
6054 * posix/Versions: Add posix_spawnattr_getschedpolicy,
6055 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
6056 posix_spawnattr_setschedparam.
6057
6058 * posix/spawnattr_setschedparam.c: Fix typo.
6059
6060 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
6061 Correct typo.
6062
6063 * login/programs/utmpd.c: Removed.
6064 * login/programs/utmpd.h: Removed.
6065 * login/programs/utmpd-private.h: Removed.
6066
6067 * Makefile (distribute): Add include/db_185.h and include/db.h.
6068
6069 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
6070 iso-ir-165.h.
6071
6072 * elf/Makefile (distribute): Add missing files.
6073
6074 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
6075 * elf/eval.c: Moved to...
6076 * dlfcn/eval.c: ...here. New file.
6077
6078 * Makefile (distribute): Also distribute ChangeLog.1?.
6079
490dc9aa
UD
6080 * Make-dist (+tsrcs): Remove .args handling here as well.
6081
7ae1fe4d
UD
6082 * rt/Makefile (tests): Add tst-timer.
6083 * sysdeps/generic/tst-timer.c: New file.
6084
5539d257
UD
6085 * Makerules (sources): Don't add BP sources here.
6086
6087 * login/Makefile (distribute): Remove xtmp.h.
6088
b8d36e83
UD
6089 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
6090 is true. Reported by Bruno Haible <haible@ilog.fr>.
6091
f7b94528
AJ
60922000-06-13 Andreas Jaeger <aj@suse.de>
6093
6094 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
6095 Patch by Ralf Baechle <ralf@gnu.org>.
6096
ab95290c
UD
60972000-06-13 Ulrich Drepper <drepper@redhat.com>
6098
b4e3d964
UD
6099 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
6100 for mincore syscall.
6101
ab95290c
UD
6102 * misc/sys/cdefs.h: Define __bounded and __unbounded if
6103 __BOUNDED_POINTERS__ is not defined.
6104
61052000-06-07 Greg McGary <greg@mcgary.org>
6106
6107 * sysdeps/generic/bp-sym.h: New file.
6108 * sysdeps/generic/bp-start.h: New file.
6109 * sysdeps/i386/elf/start.S: Designate BP symbols.
6110 * sysdeps/generic/libc-start.c: Wrap bounds around
6111 argv & envp and each of their string members.
6112
61132000-06-07 Greg McGary <greg@mcgary.org>
6114
6115 * sysdeps/unix/make-syscalls.sh: Add comments to
6116 output that aid debugging & comprehension.
6117 Map simple syscall signatures to number of args.
6118 Generate BP syscall thunk definitions.
6119 * sysdeps/generic/bp-thunks.h: New file.
6120 * sysdeps/unix/syscalls.list: Replace arg-count with
6121 simple return+arg signature.
6122 * sysdeps/unix/common/syscalls.list: Likewise.
6123 * sysdeps/unix/inet/syscalls.list: Likewise.
6124 * sysdeps/unix/mman/syscalls.list: Likewise.
6125 * sysdeps/unix/sysv/syscalls.list: Likewise.
6126 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6127 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
6128
61292000-06-07 Greg McGary <greg@mcgary.org>
6130
ee63ca21
GM
6131 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
6132 for all files *.[cS].
ab95290c
UD
6133 (CFLAGS-.ob): Don't optimize sibling calls.
6134 (bppfx): New variable.
6135 * Makerules (elide-bp-thunks): New variable.
6136 (elide-routines.*): Elide BP-* files for all but *.ob.
6137 (sources): Include bp-thunks.
6138
4b40cff4
UD
61392000-06-12 Ulrich Drepper <drepper@redhat.com>
6140
ab95290c
UD
6141 * iconv/gconv_simple.c: Remove unnecessary prototype.
6142
6143 * iconv/gconv_trans.c: Pretty print.
6144
a5c88158
UD
6145 * elf/elf.h (R_SH_NUM): Got accidently dropped.
6146
48d0c5d8
UD
6147 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
6148 minimal kernel versions. Add information about IA-64 kernel.
6149
003a02c6
UD
6150 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
6151 specific minimal supported kernel versions to be specified.
6152
ff048a13
UD
6153 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
6154 step data structure.
6155 * wcsmbs/btowc.c: Likewise.
6156 * wcsmbs/mbrtowc.c: Likewise.
6157 * wcsmbs/mbsnrtowcs.c: Likewise.
6158 * wcsmbs/mbsrtowcs.c: Likewise.
6159 * wcsmbs/wcrtomb.c: Likewise.
6160 * wcsmbs/wcsnrtombs.c: Likewise.
6161 * wcsmbs/wcsrtombs.c: Likewise.
6162 * wcsmbs/wctob.c: Likewise.
6163
0aaf6d96
UD
6164 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
6165 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
6166
6e62dceb
UD
6167 * shlib-versions: Earliest backward compatible version for SH is 2.2.
6168
fbedbe9d
UD
6169 * misc/sys/cdefs.h: Remove one more __P.
6170
04cdaa08 6171 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
0da2f50b
UD
6172 Reported by HJ Lu.
6173
4b40cff4
UD
6174 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
6175 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
6176 * sysdeps/sh/bits/setjmp.h: ...here. New file.
6177
88615235
UD
61782000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
6179 Yutaka Niibe <gniibe@chroot.org>
6180
6181 * configure.in: Add machine sh3, sh4.
6182 * elf/elf.h: Add SH specific declarations of relocations.
6183 * shlib-versions: Add sh*-*-linux* cases.
6184
37fb8add
UD
61852000-06-12 Ulrich Drepper <drepper@redhat.com>
6186
9405414f
UD
6187 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
6188 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
6189 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
6190 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
6191 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
6192 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
6193
afa0db7a
UD
6194 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
6195 instead of KERNEL_MATH_EMULATION.
6196 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
6197 KERNEL_MATH_EMULATION.
6198
65074d23
UD
6199 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
6200 * sysdeps/sh/sh3/dl-machine.h: Moved to...
6201 * sysdeps/sh/dl-machine.h: ...here. New file.
6202 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
6203 and include generic SH version.
6204 * sysdeps/sh/sh3/bits/endian.h: Move to...
6205 * sysdeps/sh/bits/endian.h: ...here. New file.
6206 * sysdeps/sh/sh4/bits/endian.h: Removed.
6207 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
6208 * sysdeps/sh/bits/huge_val.h: ...here. New file.
6209 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
6210
37fb8add 6211 * include/libc-symbols.h (link_warning): Work around a change in
65074d23
UD
6212 GAS which warns about changing section attributes.
6213 Proposed by Nick Clifton <nickc@redhat.com>.
37fb8add 6214
2caacb0a
UD
62152000-06-12 H.J. Lu <hjl@gnu.org>
6216
6217 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
6218
62192000-06-11 H.J. Lu <hjl@gnu.org>
6220
6221 * sysdeps/i386/fpu/Versions: New file.
6222
4d37e19c
UD
62232000-06-12 Ulrich Drepper <drepper@redhat.com>
6224
6225 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
6226 parameters.
6227 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
6228 exists.
6229
30010c63
UD
62302000-06-12 Jes Sorensen <jes@linuxcare.com>
6231
6232 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
6233 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
6234 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
6235
6236 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
6237 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
6238 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
6239
3846ef75
UD
62402000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
6241 Yutaka Niibe <gniibe@chroot.org>
6242
6243 * sysdeps/sh/Dist: New file.
6244 * sysdeps/sh/Implies: New file.
65074d23 6245 * sysdeps/sh/elf/initfini.c: New file.
3846ef75
UD
6246 * sysdeps/sh/gmp-mparam.h: New file.
6247 * sysdeps/sh/init-first.c: New file.
6248 * sysdeps/sh/machine-gmon.h: New file.
6249 * sysdeps/sh/memcpy.S: New file.
6250 * sysdeps/sh/memprof.h: New file.
6251 * sysdeps/sh/memset.S: New file.
6252 * sysdeps/sh/sh3/__longjmp.S: New file.
6253 * sysdeps/sh/sh3/bits/endian.h: New file.
6254 * sysdeps/sh/sh3/bits/huge_val.h: New file.
6255 * sysdeps/sh/sh3/bits/setjmp.h: New file.
6256 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
6257 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
6258 * sysdeps/sh/sh3/dl-machine.h: New file.
3846ef75 6259 * sysdeps/sh/sh3/setjmp.S: New file.
3846ef75
UD
6260 * sysdeps/sh/sh4/__longjmp.S: New file.
6261 * sysdeps/sh/sh4/bits/endian.h: New file.
6262 * sysdeps/sh/sh4/bits/huge_val.h: New file.
6263 * sysdeps/sh/sh4/bits/setjmp.h: New file.
6264 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
6265 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
6266 * sysdeps/sh/sh4/dl-machine.h: New file.
3846ef75
UD
6267 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
6268 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
6269 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
6270 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
6271 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
6272 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
6273 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
6274 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
6275 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
6276 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
6277 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
6278 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
6279 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
6280 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
6281 * sysdeps/sh/sh4/setjmp.S: New file.
65074d23
UD
6282 * sysdeps/sh/elf/start.S: New file.
6283 * sysdeps/sh/sys/ucontext.h: New file.
3846ef75
UD
6284 * sysdeps/sh/strlen.S: New file.
6285 * sysdeps/sh/sysdep.h: New file.
6286 * sysdeps/unix/sh/sysdep.S: New file.
6287 * sysdeps/unix/sh/sysdep.h: New file.
6288 * sysdeps/unix/sysv/linux/sh/Dist: New file.
6289 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
6290 * sysdeps/unix/sysv/linux/sh/Versions: New file.
6291 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
6292 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
6293 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
6294 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
6295 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
6296 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
6297 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
6298 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
6299 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
6300 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
6301 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
6302 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
6303 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
6304 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
6305 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
6306 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
6307 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
6308 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
6309 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
6310 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
6311 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
6312 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
6313 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
6314 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
6315 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
6316 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
6317 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
6318 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
6319 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
6320 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
6321 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
6322 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
6323 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
6324 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
6325 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
6326 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
6327 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
6328 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
6329 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
6330 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
6331 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6332 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
6333 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
6334 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
6335 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
6336 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
6337 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
6338
55985355
UD
63392000-06-12 Ulrich Drepper <drepper@redhat.com>
6340
6341 * Rules (%.out): Define GCONV_PATH in the environment.
6342 * assert/Depend: New file.
6343 * iconvdata/Depend: New file.
6344 * intl/Depend: New file.
6345 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
6346 * intl/tst-gettext.sh: Likewise.
6347 * iconv/Makefile (routines): Add gconv_trans.
6348 * iconv/gconv_trans.c: New file.
6349 * iconv/gconv.h (struct __gconv_trans_data): New type.
6350 (__gconv_fct): New parameter with starting position in output buffer.
6351 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
6352 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
6353 (struct __gconv_step): Add new member __trans.
6354 * iconv/gconv_int.h: Pretty print prototypes.
6355 (gconv_transliterate): New prototype.
6356 (__BUILTIN_TRANS): Update for new conversion function interface.
6357 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
6358 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
6359 in names, find appropriate function, and install in the conversion
6360 steps it can be used.
6361 * iconv/skeleton.c: Add additional parameter for beginning of output
6362 buffer. Change calls of downstream functions.
6363 * iconv/loop.c: Change loop function interface completely. Pass in
6364 step and step_data structure. Remove optimization for BODY with
6365 NEED_LENGTH_TEST == 0.
6366 * iconv/gconv_simple.c: Update interfaces of functions. Insert
6367 appropriate error handling code to use transliteration steps. Remove
6368 optimization for BODY with NEED_LENGTH_TEST == 0.
6369 * iconvdata/8bit-gap.c: Likewise.
6370 * iconvdata/8bit-generic.c: Likewise.
6371 * iconvdata/ansi_x3.110.c: Likewise.
6372 * iconvdata/big5.c: Likewise.
6373 * iconvdata/big5hkscs.c: Likewise.
6374 * iconvdata/euc-cn.c: Likewise.
6375 * iconvdata/euc-jp.c: Likewise.
6376 * iconvdata/euc-kr.c: Likewise.
6377 * iconvdata/euc-tw.c: Likewise.
6378 * iconvdata/gbgbk.c: Likewise.
6379 * iconvdata/gbk.c: Likewise.
6380 * iconvdata/iso-2022-cn.c: Likewise.
6381 * iconvdata/iso-2022-jp.c: Likewise.
6382 * iconvdata/iso-2022-kr.c: Likewise.
6383 * iconvdata/iso646.c: Likewise.
6384 * iconvdata/iso8859-1.c: Likewise.
6385 * iconvdata/iso_6937-2.c: Likewise.
6386 * iconvdata/iso_6937.c: Likewise.
6387 * iconvdata/johab.c: Likewise.
6388 * iconvdata/sjis.c: Likewise.
6389 * iconvdata/t.61.c: Likewise.
6390 * iconvdata/uhc.c: Likewise.
6391 * iconvdata/unicode.c: Likewise.
6392 * iconvdata/utf-16.c: Likewise.
6393 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
6394 DL_CALL_FCT.
6395 * wcsmbs/btowc.c: Likewise.
6396 * wcsmbs/mbrtowc.c: Likewise.
6397 * wcsmbs/mbsnrtowcs.c: Likewise.
6398 * wcsmbs/mbsrtowcs.c: Likewise.
6399 * wcsmbs/wcrtomb.c: Likewise.
6400 * wcsmbs/wcsnrtombs.c: Likewise.
6401 * wcsmbs/wcsrtombs.c: Likewise.
6402 * wcsmbs/wctob.c: Likewise.
6403
b6299091
GK
64042000-04-11 Geoff Keating <geoffk@cygnus.com>
6405
6406 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
6407 other header files. Mention about 128-byte cache line sizes.
6408 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
6409 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
6410 for current calling sequence.
6411 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
6412
6413 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
6414 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6415
6416 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
6417 and setrlimit syscalls for backwards compatibility.
6418
e5221165
UD
64192000-06-10 Ulrich Drepper <drepper@redhat.com>
6420
38677ace
UD
6421 * iconv/skeleton.c: Rename converted written to correcter name
6422 irreversible.
6423 * iconv/gconv.c: Rename converted variable to correcter name
6424 irreversible.
6425 * iconv/gconv_int.h: Likewise.
6426 * iconv/gconv_simple.c: Likewise.
6427 * iconv/iconv.c: Likewise.
6428 * iconv/loop.c: Likewise.
6429 * iconvdata/8bit-gap.c: Likewise.
6430 * iconvdata/8bit-generic.c: Likewise.
6431 * iconvdata/ansi_x3.110.c: Likewise.
6432 * iconvdata/big5.c: Likewise.
6433 * iconvdata/big5hkscs.c: Likewise.
6434 * iconvdata/euc-cn.c: Likewise.
6435 * iconvdata/euc-jp.c: Likewise.
6436 * iconvdata/euc-kr.c: Likewise.
6437 * iconvdata/gbgbk.c: Likewise.
6438 * iconvdata/gbk.c: Likewise.
6439 * iconvdata/iso-2022-cn.c: Likewise.
6440 * iconvdata/iso-2022-jp.c: Likewise.
6441 * iconvdata/iso-2022-kr.c: Likewise.
6442 * iconvdata/iso646.c: Likewise.
6443 * iconvdata/iso8859-1.c: Likewise.
6444 * iconvdata/iso_6937-2.c: Likewise.
6445 * iconvdata/iso_6937.c: Likewise.
6446 * iconvdata/johab.c: Likewise.
6447 * iconvdata/sjis.c: Likewise.
6448 * iconvdata/t.61.c: Likewise.
6449 * iconvdata/uhc.c: Likewise.
6450 * iconvdata/unicode.c: Likewise.
6451 * iconvdata/utf-16.c: Likewise.
6452
e5221165
UD
6453 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
6454 __cmsg_data field with __extension__.
6455
d049b712
UD
64562000-06-10 David Mosberger <davidm@hpl.hp.com>
6457
6458 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
6459
3f912cee
UD
64602000-06-10 Ulrich Drepper <drepper@redhat.com>
6461
3593973b
UD
6462 * iconv/gconv_simple.c: Fix various small bugs in several
6463 functions.
6464
3f912cee
UD
6465 * iconv/loop.c: Fix comment.
6466
7e6d3809
UD
64672000-06-10 Jakub Jelinek <jakub@redhat.com>
6468
6469 * elf/link.h: Remove libc internal declarations.
6470 * include/link.h: Move them here.
6471
8e17ea58
UD
64722000-06-09 Ulrich Drepper <drepper@redhat.com>
6473
000171e5
UD
6474 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
6475 Patch by Dan Pop <Dan.Pop@cern.ch>.
6476
8e17ea58
UD
6477 Rewrite error message handling.
6478 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
6479 _dl_catch_error.
6480 * elf/dl-error (struct catch): Add objname member.
6481 (_dl_signal_error): Take new parameter with object name. When
6482 passing message on simply store object name and duplicate error
6483 message.
6484 (_dl_catch_error): Take new parameter. Store object name in the
6485 place pointed to.
6486 * include/dlfcn.h: Adjust _dl_catch_error prototype.
6487 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
04470dc0
UD
6488 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
6489 (dlerror): Add objname to asprintf() parameters.
6490 (_dl_error_run): Pass new parameter to _dl_catch_error.
8e17ea58
UD
6491 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
6492 * elf/dl-open.c (_dl_open): Likewise.
6493 * elf/rtld.c (dl_main): Likewise.
6494 * elf/dl-close.c: Mark error messages with N_().
6495 * elf/dl-deps.c: Likewise.
6496 * elf/dl-error.c: Likewise.
6497 * elf/dl-load.c: Likewise.
6498 * elf/dl-open.c: Likewise.
6499 * elf/dl-reloc.c: Likewise.
6500 * elf/dl-support.c: Likewise.
6501 * elf/dl-sym.c: Likewise.
6502 * elf/dl-version.c: Likewise.
6503 * elf/dl-lookup.c: Add comments about problems with error message
6504 translations.
6505 * elf/dl-reloc.c: Likewise.
6506 * elf/dl-version.c: Likewise.
6507
d743ba1e
UD
65082000-06-09 H.J. Lu <hjl@gnu.org>
6509
6510 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
6511 after freeing it.
6512
6513 * dlfcn/Makefile (distribute): Add failtestmod.c.
6514 (tests): Add failtest.
6515 Add rules to build and run failtest.
6516 * dlfcn/failtest.c: New file.
6517 * dlfcn/failtestmod.c: New file.
6518
f3863621
UD
65192000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
6520
6521 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
6522 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
6523 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
6524 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
6525 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
6526
af501e15
UD
65272000-06-09 Jes Sorensen <jes@linuxcare.com>
6528
6529 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
6530 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
6531
c79c9039
UD
65322000-06-09 Jes Sorensen <jes@linuxcare.com>
6533 Ulrich Drepper <drepper@redhat.com>
6534
6535 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
6536 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
6537 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
6538 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
6539 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
6540 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
6541
301909fb
UD
65422000-06-09 Ulrich Drepper <drepper@redhat.com>
6543
6544 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
6545 to find correct mount point despite wrong information from the
6546 kernel.
6547
b511d8fc
UD
65482000-06-09 Jes Sorensen <jes@linuxcare.com>
6549
6550 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
6551 the address of a symbol so function pointers are handled properly.
6552
1acc0b55
UD
65532000-06-08 Ulrich Drepper <drepper@redhat.com>
6554
8aa8fc7f
UD
6555 * sysdeps/i386/Dist: Add bp-asm.h.
6556
480a06df
UD
6557 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
6558 defaultdir variable instead of "/var/shm" everywhere.
6559 (defaultdir): Change to /dev/shm/.
1acc0b55 6560
3f02f778
GM
65612000-06-08 Greg McGary <greg@mcgary.org>
6562
6563 * sysdeps/i386/bp-asm.h: New file.
6564 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
6565 offsets. Add ENTER/LEAVE macros for optionally maintaining
6566 frame-pointer chain when debugging.
6567 * sysdeps/i386/add_n.S: Likewise.
6568 * sysdeps/i386/addmul_1.S: Likewise.
6569 * sysdeps/i386/lshift.S: Likewise.
6570 * sysdeps/i386/memchr.S: Likewise.
6571 * sysdeps/i386/memcmp.S: Likewise.
6572 * sysdeps/i386/mul_1.S: Likewise.
6573 * sysdeps/i386/rawmemchr.S: Likewise.
6574 * sysdeps/i386/rshift.S: Likewise.
6575 * sysdeps/i386/stpcpy.S: Likewise.
6576 * sysdeps/i386/stpncpy.S: Likewise.
6577 * sysdeps/i386/strchr.S: Likewise.
6578 * sysdeps/i386/strchrnul.S: Likewise.
6579 * sysdeps/i386/strcspn.S: Likewise.
6580 * sysdeps/i386/strpbrk.S: Likewise.
6581 * sysdeps/i386/strrchr.S: Likewise.
6582 * sysdeps/i386/strspn.S: Likewise.
6583 * sysdeps/i386/strtok.S: Likewise.
6584 * sysdeps/i386/sub_n.S: Likewise.
6585 * sysdeps/i386/submul_1.S: Likewise.
6586 * sysdeps/i386/elf/setjmp.S: Likewise.
6587 * sysdeps/i386/i486/strcat.S: Likewise.
6588 * sysdeps/i386/i486/strlen.S: Likewise.
6589 * sysdeps/i386/i586/add_n.S: Likewise.
6590 * sysdeps/i386/i586/lshift.S: Likewise.
6591 * sysdeps/i386/i586/memcpy.S: Likewise.
6592 * sysdeps/i386/i586/memset.S: Likewise.
6593 * sysdeps/i386/i586/rshift.S: Likewise.
6594 * sysdeps/i386/i586/strchr.S: Likewise.
6595 * sysdeps/i386/i586/strcpy.S: Likewise.
6596 * sysdeps/i386/i586/strlen.S: Likewise.
6597 * sysdeps/i386/i586/sub_n.S: Likewise.
6598 * sysdeps/i386/i686/add_n.S: Likewise.
6599 * sysdeps/i386/i686/memcpy.S: Likewise.
6600 * sysdeps/i386/i686/mempcpy.S: Likewise.
6601 * sysdeps/i386/i686/memset.S: Likewise.
6602 * sysdeps/i386/i686/strcmp.S: Likewise.
6603
9e56352f
UD
66042000-06-08 Ulrich Drepper <drepper@redhat.com>
6605
47bc7a9b
UD
6606 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
6607
9001274d
UD
6608 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
6609 256 and don't use OPEN_MAX.
6610
9e56352f
UD
6611 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
6612 use it instead of LINK_MAX.
de1a7177 6613 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
9e56352f 6614
46a26d45
AJ
66152000-06-08 Andreas Jaeger <aj@suse.de>
6616
6617 * libio/genops.c (_IO_list_lock): Only compile body if we're
6618 thread safe.
6619 (_IO_list_unlock): Likewise.
6620 (_IO_list_resetlock): Likewise.
6621
dc3b5786
UD
66222000-06-07 Ulrich Drepper <drepper@redhat.com>
6623
bb790106
UD
6624 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
6625 unless user defined it.
6626
104d0690
UD
6627 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
6628 if not defined by the user.
6629
a27c96b0
UD
6630 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
6631 * libio/iofwrite.c (_IO_fwrite): Likewise.
6632
77741499
UD
6633 * time/time.h: Add missing __THROW for clock_getcpuclockid
6634 prototype.
6635
ffa8a903 6636 * elf/Makefile (distribute): Add dl-dtprocnum.h.
b0982c4a
UD
6637 * include/elf.h: Include also <dl-dtprocnum.h>.
6638 * elf/dl-deps.c: Likewise.
6639 * elf/dl-lookup.c: Likewise.
6640 * elf/dl-runtime.c: Likewise.
6641 * elf/dl-version.c: Likewise.
6642 * elf/do-rel.h: Likewise.
6643 * elf/dynamic-link.h: Likewise.
6644 * elf/link.h: Likewise.
6645 * elf/rtld.c: Likewise.
6646 * sysdeps/generic/dl-dtprocnum.h: New file.
6647 * sysdeps/ia64/dl-dtprocnum.h: New file.
6648 * sysdeps/mips/dl-dtprocnum.h: New file.
6649 * sysdeps/sparc/dl-dtprocnum.h: New file.
6650
d4f170a9
UD
6651 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
6652
7e281477
UD
6653 * elf/do-lookup.h: Add some __builtin_expect.
6654
dec126b4
UD
6655 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
6656
6657 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
6658 (_dl_dynamic_weak): New variable.
6659 * elf/dl-support.c: Likewise.
6660 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
6661 * elf/do-lookup.h: If we find a weak definition treat it like a
6662 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
6663 case treat it like before.
6664
b8565e78
UD
6665 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
6666 is in main program.
6667 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
6668
1c14af44
UD
6669 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
6670 using l_map_start and l_map_end.
6671
7b228b68
UD
6672 * elf/dl-version.c: Add __builtin_expect in many places.
6673
dc3b5786
UD
6674 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
6675 Update.
6676
3fc9ca4e
UD
66772000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
6678
6679 Lock for stdio stream list becomes global, for use in LinuxThreads.
6680
6681 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
6682 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
6683 _IO_list_resetlock): New interface for iterating global list of
6684 streams without accessing the _IO_list_all global variable,
6685 and for manipulating the lock which protects this list.
6686 * libio/libioP.h: Likewise.
6687 * libio/Version: Add entries for the new functions.
6688
6689 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
6690 pointer to _IO_FILE.
6691
2a631990
UD
66922000-06-07 Ulrich Drepper <drepper@redhat.com>
6693
ce177a84
UD
6694 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
6695 BIT() must actually be BITw().
6696
45c95239
UD
6697 * locale/programs/ld-ctype.c: Handle SP and space consistently.
6698
2a631990
UD
6699 * locale/programs/charmap.c: Allow string arguments for
6700 code_set_name and repertoiremap.
6701
99ac5e47
UD
67022000-06-07 Andreas Jaeger <aj@suse.de>
6703
6704 * elf/Makefile: Build ldconfig only when building shared libraries.
6705
67062000-06-07 Jakub Jelinek <jakub@redhat.com>
6707
6708 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
6709 __USE_ISOC99.
6710 (fdimf, __fdim, fdim): Likewise.
6711
345f9ac0
UD
67122000-06-07 Ulrich Drepper <drepper@redhat.com>
6713
6714 * locale/findlocale.c: Add __builtin_expect in many places.
6715 * locale/loadlocale.c: Likewise.
6716
9b6a9cee
GM
67172000-06-06 Greg McGary <greg@mcgary.org>
6718
d5bc737a
GM
6719 * sysdeps/mips/elf/start.S: Trim redundant code.
6720
1d280d9f
GM
6721 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
6722 Use C comments throughout. Line up operands column with tabs.
6723 * sysdeps/powerpc/strchr.S: Likewise.
6724 * sysdeps/powerpc/strcmp.S: Likewise.
6725 * sysdeps/powerpc/strcpy.S: Likewise.
6726 * sysdeps/powerpc/strlen.S: Likewise.
6727
9b6a9cee
GM
6728 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
6729 Get low part of &__curbrk with @l.
6730
89301d68
UD
67312000-06-06 Ulrich Drepper <drepper@redhat.com>
6732
4c3192f9
UD
6733 * iconvdata/utf-16.c: Add __builtin_expect in many places.
6734 * iconvdata/unicode.c: Likewise.
6735 * iconvdata/uhc.c: Likewise.
6736 * iconvdata/t.61.c: Likewise.
6737 * iconvdata/sjis.c: Likewise.
6738 * iconvdata/johab.c: Likewise.
6739 * iconvdata/iso_6937.c: Likewise.
6740 * iconvdata/iso_6937-2.c: Likewise.
6741 * iconvdata/iso8859-1.c: Likewise.
6742 * iconvdata/iso646.c: Likewise.
6743 * iconvdata/iso-2022-kr.c: Likewise.
89301d68
UD
6744 * iconvdata/iso-2022-jp.c: Likewise.
6745 * iconvdata/iso-2022-cn.c: Likewise.
6746 * iconvdata/gbgbk.c: Likewise.
6747 * iconvdata/gbk.c: Likewise.
6748 * iconvdata/euc-kr.c: Likewise.
6749 * iconvdata/euc-jp.c: Likewise.
6750 * iconvdata/euc-cn.c: Likewise.
6751
b0f1ca68
UD
67522000-06-05 Ulrich Drepper <drepper@redhat.com>
6753
5ea1a82d
UD
6754 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
6755 * iconvdata/big5.c: Likewise.
6756 * iconvdata/ansi_x3.110.c: Likewise.
6757 * iconvdata/8bit-generic.c: Likewise.
6758 * iconvdata/8bit-gap.c: Likewise.
6759 * iconv/loop.c: Likewise.
6760 * iconv/gconv_db.c: Likewise.
6761 * iconv/gconv_dl.c: Likewise.
6762 * iconv/gconv_simple.c: Likewise.
6763 * iconv/skeleton.c: Likewise.
365afefc 6764
85830c4c
UD
6765 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
6766 (struct __gconv_step_data): Rename __is_last to __flags.
6767 * iconv/gconv_close.c: Change all uses of __is_last.
6768 * iconv/skeleton.c: Likewise.
6769 * iconvdata/iso-2022-cn.c: Likewise.
6770 * iconvdata/iso-2022-jp.c: Likewise.
6771 * iconvdata/iso-2022-kr.c: Likewise.
6772 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
6773 Recognize IGNORE error handling, set flag, and remove from name.
6774 * iconv/loop.c (ignore_errors_p): Define.
6775 Add flags parameter to both functions.
6776 * iconv/skeleton.c: Pass flags to all conversion functions.
6777 * iconv/gconv_simple.c: Add flags parameter to all functions.
6778 Don't return error for invald error if ignore flag is set.
6779 (ucs4_internal_loop_single): Add missing pointer increment.
6780 (internal_ucs4le_loop_single): Likewise.
6781 * iconv/iconv_prog.c: Implement handling of -c parameter.
6782 * iconvdata/8bit-gap.c: Don't return error for invald error if
6783 ignore flag is set.
6784 * iconvdata/8bit-generic.c: Likewise.
6785 * iconvdata/ansi_x3.110.c: Likewise.
6786 * iconvdata/big5.c: Likewise.
6787 * iconvdata/big5hkscs.c: Likewise.
6788 * iconvdata/euc-cn.c: Likewise.
6789 * iconvdata/euc-jp.c: Likewise.
6790 * iconvdata/euc-kr.c: Likewise.
6791 * iconvdata/gbgbk.c: Likewise.
6792 * iconvdata/gbk.c: Likewise.
6793 * iconvdata/iso-2022-cn.c: Likewise.
6794 * iconvdata/iso-2022-jp.c: Likewise.
6795 * iconvdata/iso-2022-kr.c: Likewise.
6796 * iconvdata/iso646.c: Likewise.
6797 * iconvdata/iso8859-1.c: Likewise.
6798 * iconvdata/iso_6937-2.c: Likewise.
6799 * iconvdata/iso_6937.c: Likewise.
6800 * iconvdata/johab.c: Likewise.
6801 * iconvdata/sjis.c: Likewise.
6802 * iconvdata/t.61.c: Likewise.
6803 * iconvdata/uhc.c: Likewise.
6804 * iconvdata/unicode.c: Likewise.
6805 * iconvdata/utf-16.c: Likewise.
6806 * libio/fileops.c: Likewise.
6807 * libio/iofwide.c: Likewise.
6808 * wcsmbs/btowc.c: Likewise.
6809 * wcsmbs/mbrtowc.c: Likewise.
6810 * wcsmbs/mbsnrtowcs.c: Likewise.
6811 * wcsmbs/mbsrtowcs.c: Likewise.
6812 * wcsmbs/wcrtomb.c: Likewise.
6813 * wcsmbs/wcsnrtombs.c: Likewise.
6814 * wcsmbs/wcsrtombs.c: Likewise.
6815 * wcsmbs/wctob.c: Likewise.
6816
6817 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
b0f1ca68
UD
6818 an error.
6819
add40772
UD
68202000-06-04 Ulrich Drepper <drepper@redhat.com>
6821
6822 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
6823 counter for the object we are releasing, just decrement it.
6824 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
6825
1dd54850
UD
68262000-06-04 Jakub Jelinek <jakub@redhat.com>
6827
6828 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
6829 if -ffast-math.
6830
dda5c10b
UD
68312000-06-04 Ulrich Drepper <drepper@redhat.com>
6832
6833 * iconvdata/big5hkscs.c: New file.
6834 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
6835
6836 * iconvdata/gconv-modules: Add entry for new module.
61da7687
UD
6837 * iconvdata/Makefile (modules): Add BIG5HKSCS.
6838 (distribute): Add big5hkscs.c.
dda5c10b 6839
cc46c92d
UD
68402000-06-01 Jakub Jelinek <jakub@redhat.com>
6841
6842 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
6843 inlines to match prototypes in mathcalls.h.
6844 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
6845 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
6846 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
6847 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6848
b7a65b86
UD
68492000-06-03 Ulrich Drepper <drepper@redhat.com>
6850
ec880cc7
UD
6851 * elf/elf.h (SHT_SUNW_move): Define.
6852
b7a65b86
UD
6853 * elf/elf.h: Add more Solaris compatiblity definitions.
6854
ec215d43
AJ
68552000-06-03 Andreas Jaeger <aj@suse.de>
6856
cc46c92d 6857 * sysdeps/powerpc/dl-start.S: Close open comment.
ec215d43
AJ
6858
68592000-06-03 Jakub Jelinek <jakub@redhat.com>
6860
6861 * inet/Versions: Fix typo in rresvport_af export.
6862
a6dd2e55
UD
68632000-06-02 Ulrich Drepper <drepper@redhat.com>
6864
6865 * math/tgmath.h: Pretty print.
6866
7b61638d
AJ
68672000-06-02 Andreas Jaeger <aj@suse.de>
6868
6869 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
6870 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
6871
75e8d1f5
UD
68722000-06-02 Ulrich Drepper <drepper@redhat.com>
6873
6874 * elf/rtld.c (process_envvars): Test for = after variable name.
6875
61d655c1
UD
68762000-06-01 Ulrich Drepper <drepper@redhat.com>
6877
6c021fdc
UD
6878 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
6879 have extra call to __gmon_start__, use the pointer we already have.
6880
68979757
UD
6881 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
6882 shifting.
6883
61d655c1
UD
6884 * sysdeps/i386/elf/setjmp.S: Work around change is recent
6885 binutils. gas now emits a jump through the PLT instead of a
6886 relative jump if the jump target is an exported symbol.
6887
9f97f790
UD
68882000-05-31 Ulrich Drepper <drepper@redhat.com>
6889
6890 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
6891
c3e485f1
AJ
68922000-05-31 Andreas Jaeger <aj@suse.de>
6893
6894 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
6895 gregset_t.
6896
6897 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
6898 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
9f97f790 6899
c3e485f1
AJ
6900 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
6901 syscall.
6902 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
6903
a907bff9
UD
69042000-05-30 Ulrich Drepper <drepper@redhat.com>
6905
a2fa8605
UD
6906 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
6907
9b014809
UD
6908 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
6909 * locale/localeconv.c: Make function versioned (with same definition).
6910
a907bff9
UD
6911 * elf/Makefile (modules-names): Strip before using it.
6912
e82a0295
AJ
69132000-05-30 Andreas Jaeger <aj@suse.de>
6914
6915 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
6916 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
6917 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
6918 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
6919 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
6920 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
6921
3846463e
UD
69222000-05-29 Ulrich Drepper <drepper@redhat.com>
6923
c8d32817
UD
6924 * Makefile: Add GNU make magic.
6925
3846463e
UD
6926 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
6927 Removed.
6928 * inet/rcmd.c: Remove __P. Remove unused variables.
6929 (iruserfopen): Make first parameter const.
6930 (ruserok_sa): Return result of ruserok2_sa.
6931 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
6932 * inet/rexec.c: Remove unused variables. Other small cleanups.
6933 * inet/ruserpass.c: Remove __P. Remove unused variables.
6934 (ruserpass): Check results of memory allocation.
6935 * include/netdb.h: Add prototype for ruserpass.
6936
03fad0ec
AJ
69372000-05-29 Andreas Jaeger <aj@suse.de>
6938
6939 * elf/readlib.c (interpreters): Use LD_SO since this is supported
6940 for all platforms.
6941
a8322b4f
UD
69422000-05-29 Jakub Jelinek <jakub@redhat.com>
6943
6944 * inet/rcmd.c (rresvport_af): Use correct port number.
6945
69462000-05-26 Andreas Schwab <schwab@suse.de>
6947
6948 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
6949 entries in all-sonames.
6950 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
6951 preserving the old name if different for compatibility.
6952
08c7f6b0
UD
69532000-05-29 Ulrich Drepper <drepper@redhat.com>
6954
6955 * posix/Makefile (tests): Add tst-spawn.
6956 (tst-spawn-ARGS): New variable.
6957 * posix/tst-spawn.c: New file.
6958
6959 * posix/spawn_faction_addclose.c: Correctly account for new entry.
6960 * posix/spawn_faction_adddup2.c: Likewise.
6961 * posix/spawn_faction_addopen.c: Likewise.
6962 * posix/spawni.c: Correctly test for success of dup2 calls.
6963
6964 * posix/tst-preadwrite.c: Check success of malloc call.
6965
31eb0a91
UD
69662000-05-28 Ulrich Drepper <drepper@redhat.com>
6967
079199de
UD
6968 * posix/Makefile (tests): Add tst-exec.
6969 (tst-exec-ARGS): New variable.
6970 * posix/tst-exec.c: New file.
6971
31eb0a91
UD
6972 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
6973
84838b8f
UD
69742000-05-04 Andreas Jaeger <aj@suse.de>
6975
6976 * string/string.h: Remove __strdup prototype, it's not needed in
6977 this file anymore.
6978
2588068b
UD
69792000-05-28 Ulrich Drepper <drepper@redhat.com>
6980
c0f3519d 6981 * posix/Makefile (tests): Add tst-fork.
079199de 6982 * posix/tst-fork.c: New file.
c0f3519d 6983
2588068b
UD
6984 * resolv/inet_pton.c: Loose __P.
6985
7163e69e
UD
69862000-05-21 Jakub Jelinek <jakub@redhat.com>
6987
6988 * libio/libioP.h (_IO_CHECK_WIDE): Define.
6989 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
7163e69e
UD
6990 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
6991 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
6992 _IO_CHECK_WIDE fails.
6993
e6e81391
UD
69942000-05-28 Ulrich Drepper <drepper@redhat.com>
6995
1ef9f0b6
UD
6996 * po/da.po: New file.
6997
e6e81391
UD
6998 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
6999 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
7000
b160422e
UD
7001 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
7002 (Other iconv Implementations): Fix typo.
7003 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
7004
741845cb
AJ
70052000-05-27 Andreas Jaeger <aj@suse.de>
7006
7007 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
7008 normal version now.
7009 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
7010 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
7011 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7012 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7013 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
7014 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
7015
7016 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
7017 endianness to decide how to pass arguments.
7018 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7019
7020 * elf/vismain.c: Use test-skeleton interface.
7021 (TEST_FUNCTION): New macro.
7022 (do_test): Renamed from main.
7023
b455972f
UD
70242000-05-27 Ulrich Drepper <drepper@redhat.com>
7025
7026 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
7027 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
7028
7029 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
7030 handling of AI_V4MAPPED flag.
7031
7032 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
7033 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
7034 perform lookup for T_A type and tell getanswer_r to convert the
7035 result with new argument.
7036 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
7037 Don't convert addresses from IPv4 to IPv6 here.
7038 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
7039 IPv6 is wanted. Allow qtype and type from reply to disagree if
7040 IPv4 mapping has to be done. Perform mappings if required by the
7041 caller and not if RES_USE_INET6 bit in _res.options is set.
7042 Add several __builtin_expect.
7043
09bbe3bf
UD
70442000-05-26 Ulrich Drepper <drepper@redhat.com>
7045
e84e339f
UD
7046 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
7047
7048 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
4c540916
UD
7049 NULL.
7050
0a550321
UD
7051 * posix/tst-preadwrite.c: Allow parallel execution of
7052 tst-preadwrite and tst-preadwrite64.
7053
ad92208d
UD
7054 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
7055 * posix/tst-truncate.c: New file.
7056 * posix/tst-truncate64.c: New file.
7057
f0b2767b
UD
7058 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
7059 was switched.
7060
bd9df4cd 7061 * posix/Makefile (tests): Add tst-preadwrite64.
09bbe3bf
UD
7062 * posix/tst-preadwrite.c: Alloc file being used also for testing
7063 pread64 and pwrite64.
7064 * posix/tst-preadwrite64.c: New file.
7065
dc95d158
AJ
70662000-05-26 Andreas Jaeger <aj@suse.de>
7067
aac468ae
AJ
7068 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
7069 of arguments dependend on endianness.
7070 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
7071
088b9917
AJ
7072 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
7073 normal version now.
7074 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
7075 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
7076 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7077 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7078
7079 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
7080 endianness to check how to pass argument.
7081 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
7082
dc95d158
AJ
7083 * elf/ldconfig.h: Update parameter list for process_elf_file.
7084
7085 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
7086 Add parameter file_length and pass it ot process_elf*file.
7087
7088 * sysdeps/generic/readelflib.c (check_ptr): New.
7089 (process_elf_file): Use check_ptr to check all accesses to the
7090 mmapped file. Add parameter file_length.
7091
7092 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
7093 library names.
7094
7095 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
7096 Closes PR libc/1573, reported by Bradley White
7097 <bww@laurelnetworks.com>.
7098
81e43fc1
UD
70992000-05-25 Ulrich Drepper <drepper@redhat.com>
7100
7101 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
7102 __FAST_MATH__ is defined.
7103
378fbeb4
UD
71042000-05-22 Andreas Jaeger <aj@suse.de>
7105
7106 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
7107 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
7108
7109 * manual/math.texi (FP Function Optimizations): Document gcc
7110 -ffast-math behaviour with mathinlines.
7111
7112 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
7113 functions unless -ffast-math is given to gcc.
7114
0f550417
UD
71152000-05-23 Jakub Jelinek <jakub@redhat.com>
7116
7117 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
7118 __sincosl): Guard with __USE_GNU.
7119
acb5ee2e
UD
71202000-05-24 Ulrich Drepper <drepper@redhat.com>
7121
db33f7d4
UD
7122 * csu/Makefile (routines): Add check_fds.
7123 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
7124 binaries. Add various __builtin_expect.
7125 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
7126 * sysdeps/generic/check_fds.c: ...here. New file.
7127
7128 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
7129 binaries if file /etc/suid-debug is available.
7130
acb5ee2e
UD
7131 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
7132 and wcseqorder members.
7133 (struct locale_collate_t): Likewise.
7134 (collate_finish): Assign collation sequence value to each character.
7135 Create tables for output.
7136 (collate_output): Write out tables with collation sequence information.
7137 * locale/C-collate.c: Provide C locale data for collation sequence
7138 table.
7139 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
7140 _NL_COLLATE_COLLSEQWC.
7141 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
7142 _NL_COLLATE_COLLSEQWC.
7143 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
7144 include fnmatch_loop.c.
7145 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
7146 character is matched by range expression. Use collation sequence
7147 table. Outside glibc fall back on simple character value comparison.
7148
ff31ba59
AJ
71492000-05-24 Andreas Jaeger <aj@suse.de>
7150
fff82885
AJ
7151 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
7152 words.
7153
ff31ba59
AJ
7154 * intl/Makefile: Run gettext-test only if msgfmt is available.
7155
a074fa3c
AJ
7156 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
7157 Define it for newer kernels.
7158
eec8ef5a
UD
71592000-05-23 Ulrich Drepper <drepper@redhat.com>
7160
5e76a346
UD
7161 * elf/dl-sym.c: Minor cleanups.
7162
2d499f55
UD
7163 * configure.in: Add test for .protected.
7164 * config.make.in: Add have-protected variable.
eec8ef5a
UD
7165 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
7166 (tests-vis-yes): Add vismain.
7167 (modules-names): Add $(modules-vis-$(have-protected)).
7168 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
7169 Add rules to generate and run vismain.
7170 * elf/vismain.c: New file.
7171 * elf/vismod1.c: New file.
7172 * elf/vismod2.c: New file.
7173 * elf/vismod3.c: New file.
7174
21ad6b26
AJ
71752000-05-23 Andreas Jaeger <aj@suse.de>
7176
7177 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
7178
7179 * manual/search.texi (Array Sort Function): Document that qsort is
7180 not necessarily in-place.
7181
7182 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
7183 Closes PR libc/1731.
7184
bcaad6ee
AJ
7185 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
7186 * dirent/scandir64.c: Likewise.
7187 * pwd/getpw.c: Likewise.
7188 * stdlib/bsearch.c (bsearch): Likewise.
7189 * stdlib/tst-strtoll.c: Likewise.
7190 * localedata/collate-test.c: Likewise.
7191 * localedata/xfrm-test.c: Likewise.
7192 * posix/bsd-getpgrp.c: Likewise.
7193 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
7194 * sysdeps/generic/bits/siginfo.h: Likewise.
7195 * sysdeps/generic/bits/sockaddr.h: Likewise.
7196 * sysdeps/generic/sys/swap.h: Likewise.
7197 * sysdeps/generic/sys/sysinfo.h: Likewise.
7198 * sysdeps/generic/vfork.c: Likewise.
7199 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
7200 * sysdeps/mach/hurd/fdopen.c: Likewise.
7201 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
7202 * sysdeps/unix/sysv/linux/poll.c: Likewise.
7203 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7204 * sysdeps/unix/sysv/linux/writev.c: Likewise.
7205 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7206 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7207 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
7208
7209 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
7210 * shadow/lckpwdf.c: Likewise.
7211 * stdlib/tst-strtol.c: Likewise.
7212 * sysdeps/generic/tcsetattr.c: Likewise.
7213 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7214 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7215
6a7c9bb4
UD
72162000-05-22 Jakub Jelinek <jakub@redhat.com>
7217
7218 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
7219 free it and set to (void *) -1.
7220
3f651a4d
UD
72212000-05-22 Jakub Jelinek <jakub@redhat.com>
7222
7223 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
7224 not the second character in the range.
7225 * stdio-common/tstscanf.c (main): Add testcase for the above.
7226 Reported by jik@kamens.brookline.ma.us.
7227
6aa29abe
UD
72282000-05-21 H.J. Lu <hjl@gnu.org>
7229
7230 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
7231 with noexec and noplt parameter.
7232 (do_lookup): Likewise.
7233
7234 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
7235 do_lookup. Support STV_PROTECTED.
7236 (_dl_lookup_symbol_skip): Likewise.
7237 (_dl_lookup_versioned_symbol): Likewise.
7238 (_dl_lookup_versioned_symbol_skip): Likewise.
7239
7240 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
7241
7242 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
7243
85153f6c
AJ
72442000-05-21 Jakub Jelinek <jakub@redhat.com>
7245
7246 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
7247 * sysdeps/i386/bits/huge_val.h: Likewise.
7248 * sysdeps/ieee754/bits/huge_val.h: Likewise.
7249 * sysdeps/m68k/bits/huge_val.h: Likewise.
7250 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
7251 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
7252
5748f418
AJ
72532000-05-22 Andreas Jaeger <aj@suse.de>
7254
7255 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
7256 change in iconv.h.
7257
4a624ae3
UD
72582000-05-19 Andreas Jaeger <aj@suse.de>
7259
7260 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
7261 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
7262 breaks compilation without linuxthreads.
7263
99a20616
UD
72642000-05-21 Ulrich Drepper <drepper@redhat.com>
7265
5bfc4252
UD
7266 * sysdeps/ia64/memccpy.S: New file.
7267 * sysdeps/ia64/memchr.S: New file.
7268 * sysdeps/ia64/memcmp.S: New file.
7269 * sysdeps/ia64/memcpy.S: New file.
7270 * sysdeps/ia64/memmove.S: New file.
7271 * sysdeps/ia64/memset.S: New file.
7272 * sysdeps/ia64/strcat.S: New file.
7273 * sysdeps/ia64/strchr.S: New file.
7274 * sysdeps/ia64/strcmp.S: New file.
7275 * sysdeps/ia64/strcpy.S: New file.
7276 * sysdeps/ia64/strlen.S: New file.
7277 * sysdeps/ia64/strncmp.S: New file.
7278 * sysdeps/ia64/strncpy.S: New file.
7279 * sysdeps/ia64/softpipe.h: New file.
7280 Patches by Dan Pop <Dan.Pop@cern.ch>.
7281
7282 * manual/memory.texi: Document memory handling functions (mlock,
7283 munlock, mlockall, munlockall, brk, and sbrk)
99a20616
UD
7284 * manual/time.texi: Document timespec and friends.
7285 * manual/conf.texi: Fix references.
7286 * manual/ctype.texi: Likewise.
7287 * manual/errno.texi: Likewise.
7288 * manual/intro.texi: Likewise.
7289 * manual/locale.texi: Likewise.
7290 * manual/sysinfo.texi: Likewise.
7291 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
7292
371071d5
UD
72932000-05-09 Jes Sorensen <jes@linuxcare.com>
7294
7295 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
7296 * sysdeps/ia64/dl-lookupcfg.h: ...here.
7297
f87e0815
UD
72982000-05-21 Jakub Jelinek <jakub@redhat.com>
7299
7300 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
7301 dxfer_direction.
7302
0efb48a1
UD
73032000-05-21 Ulrich Drepper <drepper@redhat.com>
7304
3b434940
UD
7305 * locale/locale.h (struct lconv): Add new elements from ISO C99.
7306 * locale/localeconv.c: Initialize new elements from ISO C99.
3446e2c3
UD
7307 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
7308 new standard elements.
7309 * locale/categories.def: Adjust accordingly.
3b434940 7310
0efb48a1
UD
7311 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
7312 * iconv/iconv.c: Likewise.
7313 * conform/data/iconv.h-data: Likewise.
3b434940
UD
7314 * iconv/iconv_prog.c (process_block): Remove const from second
7315 parameter.
7316 (main): Remove const from addr definition.
70a1a465
UD
7317 * manual/charset.texi (Generic Conversion Interface): Remove from
7318 inbuf parameter of iconv.
0efb48a1
UD
7319
7320 * intl/dcigettext.c: Fix typo in comment.
7321
5d1fba6d
AJ
73222000-05-20 2000 H.J. Lu <hjl@gnu.org>
7323
7324 * resolv/res_libc.c (_res): Initialize _sock to -1.
7325
73262000-05-18 Jakub Jelinek <jakub@redhat.com>
7327
7328 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
7329 (fopencookie@@GLIBC_2.2): New.
7330 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
7331 (fopencookie@GLIBC_2.0): New.
7332 * libio/Versions: Add fopencookie to GLIBC_2.2.
7333
600a7457
AJ
73342000-05-18 Andreas Jaeger <aj@suse.de>
7335
5d1fba6d
AJ
7336 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
7337 Closes PR libc/1731.
7338
600a7457
AJ
7339 * manual/arith.texi (Parsing of Integers): Fix typo.
7340 Closes PR libc/1744, reported by blp@gnu.org.
7341
cc3f0ddb
AJ
73422000-05-17 Jakub Jelinek <jakub@redhat.com>
7343
7344 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
7345 __extension__ to hexadecimal floating constant notation.
7346 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
7347 Likewise.
7348 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
7349 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
7350 Likewise.
7351 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
7352 HUGE_VALL): Likewise.
7353 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
7354 HUGE_VALL): Likewise.
7355 (HUGE_VALL): Set to HUGE_VAL on sparc32.
7356
e656498e
AJ
73572000-05-17 Andreas Jaeger <aj@suse.de>
7358
7359 * string/envz.h: Add pure attributes if possible.
7360
7361 * string/argz.h: argz_count is a pure function.
7362
7363 * string/strings.h: Add pure and const attributes if possible.
7364
1261b97d
AJ
7365 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
7366 possibly searching through the whole memory.
7367 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
7368
e25054c4
AJ
73692000-05-17 Jakub Jelinek <jakub@redhat.com>
7370
7371 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
7372 not yet defined.
7373 (_dl_cache_check_flags): Likewise.
7374 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
7375 dl-cache.h.
7376
73772000-05-17 Andreas Jaeger <aj@suse.de>
7378
7379 * manual/creature.texi (Feature Test Macros): Remove paragraph
7380 since the description is wrong.
7381 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
7382
7626e16c
AJ
7383 * scripts/config.sub: New version.
7384 * scripts/config.guess: Likewise.
7385 * manual/texinfo.tex: Likewise.
7386
e25054c4
AJ
7387 * time/test_time.args: Removed.
7388 * time/Makefile (test_time-ARGS): Added contents here instead.
7389
7390 * posix/tstgetopt.args: Removed.
7391 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
7392
7393 * Rules: Allow arguments for test files to be specified in
7394 Makefile with testname-ARGS; remove rules with .args in it.
7395
7396 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
7397 remove old bogus rule for opendir-tst1.args.
7398
7399 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
7400
7401 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
7402 into objdir. This allows a readonly sourcetree.
7403 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
7404
74052000-05-16 Andreas Jaeger <aj@suse.de>,
0efb48a1 7406 David Huggins-Daines <dhd@linuxcare.com>
e25054c4
AJ
7407
7408 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
7409 cache_data in case of only new cache format correctly.
7410
7411 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
7412 cache_file_new.
7413
7414 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
7415 struct cache_file_new.
7416
7417 * elf/cache.c (save_cache): Fix str_offset if only new cache is
7418 present.
7419
7420 * elf/cache.c (save_cache): Align struct new_file_cache.
7421 (print_cache): Likewise.
7422
d7dcf126
AJ
74232000-05-13 Jakub Jelinek <jakub@redhat.com>
7424
7425 * elf/soinit.c (__libc_global_ctors): Move
7426 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
7427 * resolv/resolv.h (__res_state): Added __attribute__((const)).
7428 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
7429 variable, don't define it to __res_state call.
7430
99356b9b
AJ
74312000-05-13 Andreas Jaeger <aj@suse.de>
7432
7433 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
7434 Linux 2.3.99pre7.
7435 (AF_PPPOX): Likewise.
7436 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
7437 (AF_PPPOX): Likewise.
7438
88d9b1b2
AJ
74392000-05-12 Andreas Jaeger <aj@suse.de>
7440
7441 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
7442 Reported by tmoestl@gmx.net, closes PR libc/1732.
7443
ca5a4c3c
AJ
74442000-05-11 Jan Hubicka <jh@suse.cz>
7445
7446 * misc/sys/cdefs.h: Add support for pure attribute.
7447
7448 * include/string.h: Add __attribute_pure__ to various functions.
7449 * string/string.h: Likewise.
7450
b227a3a6
AJ
74512000-05-10 Jakub Jelinek <jakub@redhat.com>
7452
99356b9b
AJ
7453 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
7454 argument.
7455 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7456 R_SPARC_UA64.
7457 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
b227a3a6 7458
676d12fd
AJ
74592000-05-10 Jakub Jelinek <jakub@redhat.com>
7460
7461 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
5d693ae3 7462 at proper place. Compute the high nibble correctly.
676d12fd 7463
a8571d37
AJ
74642000-05-09 Jakub Jelinek <jakub@redhat.com>
7465
9c95d361
AJ
7466 * elf/ldconfig.c: Include elf.h.
7467
a8571d37
AJ
7468 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
7469 (_dl_vsym): Likewise.
7470 Reported by Owen Taylor <otaylor@redhat.com>.
7471
7472 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
7473 always.
7474
fbd61fc1
AJ
74752000-05-08 Andreas Jaeger <aj@suse.de>
7476
7477 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
7478
7479 * intl/bindtextdom.c (set_binding_values): Add prototype.
7480
470175f1
AJ
74812000-05-08 Jakub Jelinek <jakub@redhat.com>
7482
7483 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
7484 call to elf_machine_fixup_plt.
7485 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7486 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7487
3b3938c9
UD
74882000-05-08 Jakub Jelinek <jakub@redhat.com>
7489
7490 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
7491 they are not dlclose'd from underneath us.
7492
0320a5aa
UD
74932000-05-08 Andreas Schwab <schwab@suse.de>
7494
7495 * posix/execle.c: Fix size parameter of memcpy.
7496
4159408a
AS
74972000-05-08 Andreas Schwab <schwab@suse.de>
7498
7499 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
7500 getpagesize syscall if available.
7501
97d9957b
AJ
75022000-05-08 Andreas Jaeger <aj@suse.de>
7503
7504 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
7505 set errno.
7506
ded812f4
AJ
75072000-05-08 Jakub Jelinek <jakub@redhat.com>
7508
7509 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
7510 sizeof(struct link_map *) chunks, not in bytes.
7511
33f5839f
UD
75122000-05-07 Ulrich Drepper <drepper@redhat.com>
7513
7514 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
7515 only needed for locale.
7516 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
7517 It's only needed for catgets.
7518 Patches by Greg McGary <gkm@eng.ascend.com>.
7519
d1c2a14c
UD
75202000-05-07 Mark Kettenis <kettenis@gnu.org>
7521
7522 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
7523 Remove duplicate <errno.h> include. Remove inclusion of
7524 <libintl.h> and "nsswitch.h".
7525 (set_cloexec_flag): New function, broken out of dbopen.
7526 (dbopen): Changed return type to `enum
7527 nss_status'. Mostly rewritten to make sure that we do not report
7528 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
7529 (internal_setent): Change return type to nss_status.
7530 Document, and make sure that the function
7531 behaves accordingly. Make dynamically loading the database
7532 library really thread-safe and return NSS_STATUS_UNAVAIL if it
7533 failed.
7534 (db_cursor): Return ENOMEM is memory allocation failed. Remove
7535 unecessary casts.
7536 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
7537 documentation.
7538 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
7539 c_get function member.
7540 * nss/nss_db/nss_db.h: Add and tweak some comments.
7541 (DBT): Move typedef before NSS_DBC typedef.
7542 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
7543
93414bb9
UD
75442000-05-07 H.J. Lu <hjl@gnu.org>
7545
7546 * csu/initfini.c: Moved to ....
7547 * sysdeps/generic/initfini.c: ...here.
7548
7549 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
7550
c63b67bd
UD
75512000-05-07 Ulrich Drepper <drepper@redhat.com>
7552
639c6286
UD
7553 * manual/resource.texi: Document POSIX scheduling functions.
7554 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7555
6ac52e83
UD
7556 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
7557 reading anything. Reported by Andries.Brouwer@cwi.nl.
7558
74a0513d
UD
7559 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
7560 for x since promotion in comparison might leads to unexpected
7561 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
7562
c63b67bd
UD
7563 * iconv/Makefile (tests): Add tst-iconv1.
7564 * iconv/tst-iconv1.c: New file.
1336419e
UD
7565 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
7566 empty input buffer over full output buffer.
fc08075d
UD
7567 (ucs4_internal_loop): Likewise.
7568 (ucs4_internal_loop_unaligned): Likewise.
7569 (internal_ucs4le_loop): Likewise.
7570 (internal_ucs4le_loop_unaligned): Likewise.
7571 (ucs4le_internal_loop): Likewise.
7572 (ucs4le_internal_loop_unaligned): Likewise.
c63b67bd
UD
7573 Reported by yaoz@nih.gov.
7574
45eca4d1
UD
75752000-05-06 Bruno Haible <haible@clisp.cons.org>
7576
7577 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
7578 returned != __GCONV_OK, there is nothing to clean up.
7579
75802000-05-06 Bruno Haible <haible@clisp.cons.org>
7581
7582 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
7583 OUTPUT_CHARSET environment variables.
7584
75852000-05-06 Andreas Jaeger <aj@suse.de>
7586
7587 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
7588 (struct cache_file_new): New.
7589 (struct file_entry): New (moved from cache.c).
7590 (struct cache_file): New (moved from cache.c).
7591
7592 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
7593 from _dl_load_cache_lookup.
7594 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
7595 the different cache formats.
7596 New variable cache_new for new format.
7597
7598 * elf/ldconfig.h: Change according to changes in cache.c and
7599 ldconfig.c; remove cache_libcmp; add opt_format.
7600
7601 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
7602 stuff that's defined in those headers.
7603 Add hwcap to struct lib_entry.
7604 (opt_format): New variable to select cache format.
7605 (options): Add format parameter.
7606 (is_hwcap): New function.
7607 (path_hwcap): New function.
7608 (parse_opt): Handle new format parameter.
7609 (search_dir): Handle hwcap, search also subdirectories with hwcap.
7610
7611 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
7612 ldconfig is part of glibc.
7613 Include dl-cache.h and remove stuff that's defined there.
7614 (struct cache_entry): Add new member hwcap.
7615 (print_entry): Print hwcap, cleanup a bit.
7616 (print_cache): Print new and old formats.
7617 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
7618 (save_cache): Save new and old formats.
7619 (add_to_cache): Handle hwcap.
7620
7621 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
7622 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
7623 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
7624 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
7625 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
7626 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
7627
76282000-05-05 Bruno Haible <haible@clisp.cons.org>
7629
7630 * intl/dcigettext.c (alignof): New macro.
7631 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
7632 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
7633 freemem_size to 0.
7634
76352000-05-05 Bruno Haible <haible@clisp.cons.org>
7636
7637 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
7638 return value.
7639
f0a7f742
UD
76402000-05-06 Ulrich Drepper <drepper@redhat.com>
7641
7642 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
7643 (mempcpy): Correct typo is parameter list.
7644
badd9b02
AJ
76452000-05-06 Andreas Jaeger <aj@suse.de>
7646
7647 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
7648 functions unless -ffast-math is given to gcc.
7649
d02b1569
UD
76502000-05-06 Ulrich Drepper <drepper@redhat.com>
7651
7652 * po/ko.po: Update from translation team.
7653
3c38e028
UD
76542000-05-05 Ulrich Drepper <drepper@redhat.com>
7655
7656 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
7657 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
7658 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
7659 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
7660 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
7661 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
7662
7663 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
7664 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
7665 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
7666
7667 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
7668 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
7669 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
7670 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
7671
fda4deac 7672 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
3c38e028
UD
7673 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
7674
f1d86a93
UD
76752000-05-05 Jes Sorensen <jes@linuxcare.com>
7676
7677 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
7678 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
7679
7680 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
7681 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
7682
7683 * sysdeps/ia64/Implies: New file.
7684 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
7685 * sysdeps/ia64/Makefile: New file.
7686 * sysdeps/ia64/gmp-mparam.h: New file,
7687
7688 * sysdeps/ia64/elf/start.S: New file.
7689
7690 * sysdeps/ia64/bits/fenv.h: New file.
7691
76922000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
7693
7694 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
7695
76962000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
7697
7698 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
7699 ia64 has 64 bit .hash entries just as the Alpha.
7700
77012000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
7702
7703 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
7704
77052000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
7706
7707 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
7708 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
7709 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
7710 * sysdeps/ia64/fpu/fegetenv.c: New file.
7711 * sysdeps/ia64/fpu/fegetexcept.c: New file.
7712 * sysdeps/ia64/fpu/fegetround.c: New file.
7713 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
7714 * sysdeps/ia64/fpu/fesetenv.c: New file.
7715 * sysdeps/ia64/fpu/fesetround.c: New file.
7716 * sysdeps/ia64/fpu/feupdateenv.c: New file.
7717 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
7718 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
7719 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
7720 * sysdeps/ia64/fpu/ftestexcept.c: New file.
7721
621d9092
AJ
77222000-05-05 Andreas Jaeger <aj@suse.de>
7723
7724 * misc/tst-tsearch.c (main): Correct type for initstate argument.
7725
0b630168
AJ
7726 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
7727 (_dl_string_hwcap): New, does nothing.
7728
f1d86a93 7729 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
0b630168
AJ
7730 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
7731 (_dl_string_hwcap): New function, converts from string to hwcap
7732 encoding.
f1d86a93
UD
7733 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
7734 (_DL_HWCAP_COUNT): New.
0b630168
AJ
7735 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
7736 (_dl_string_hwcap): New function, converts from string to hwcap
7737 encoding.
f1d86a93
UD
7738 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
7739 (_DL_HWCAP_COUNT): New.
0b630168
AJ
7740 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
7741 (_dl_string_hwcap): New function, converts from string to hwcap
7742 encoding.
f1d86a93 7743
c0282c06
UD
77442000-05-05 Ulrich Drepper <drepper@redhat.com>
7745
c77ec56d
UD
7746 * elf/Makefile (distribute): Add dl-lookupcfg.h.
7747 * sysdeps/ia64/Dist: New file.
7748
c0282c06
UD
7749 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
7750 parameter to mprotect and for variable assignments.
7751
77522000-05-03 Jes Sorensen <jes@linuxcare.com>
7753
7754 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
7755 validity of map before dereferencing it.
7756
7757 * elf/dl-reloc.c (RESOLVE_MAP): Define.
7758
77592000-05-02 Jes Sorensen <jes@linuxcare.com>
7760
7761 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
7762 lookup to the arguments to elf_machine_fixup_plt().
7763
7764 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
7765 of the symbol being resolved to input argument list and make the
7766 function return the pointer to the reloc.
7767
7768 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
7769 return valuie to lookup_t and return the value.
7770 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
7771 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
7772 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
7773 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
7774 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
7775 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
7776
7777 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
7778 Make it an inline function returning value after calling
7779 __elf_machine_fixup_plt().
7780
7781 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
7782 symbol address.
7783
7784 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
7785 obtain the symbol address.
7786
7787 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
7788 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
7789
7790 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
7791 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
7792 inline on non ia64.
7793
77942000-04-28 Jes Sorensen <jes@linuxcare.com>
7795
7796 * elf/dl-runtime.c (fixup): Use the portable macros to get the
7797 symbol address of an object.
7798
7799 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
7800 the symbol address of an object.
7801
7802 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
7803 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
7804 (_dl_lookup_symbol_skip): Likewise.
7805 (_dl_lookup_versioned_symbol): Likewise.
7806 (_dl_lookup_versioned_symbol_skip): Likewise.
7807
78082000-04-27 Jes Sorensen <jes@linuxcare.com>
7809
7810 * elf/rtld.c (_dl_start): Get the function pointer return address
7811 via _dl_start_address for architectures that need a function
7812 pointer descriptor rather than just a pointer (ia64).
7813
7814 * sysdeps/generic/dl-lookupcfg.h: New file.
7815 * sysdeps/ia64/dl-lookupcfg.h: New file.
7816 * sysdeps/ia64/dl-machine.h: New file.
7817 * sysdeps/ia64/dl-symaddr.c: New file.
7818 * sysdeps/ia64/dl-fptr.c: New file.
7819
7820 * elf/elf.h: Add IA-64 specific definitions.
7821
61d357ca
UD
78222000-05-04 Jakub Jelinek <jakub@redhat.com>
7823
7824 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
7825 end of enum.
7826
78272000-05-04 Jakub Jelinek <jakub@redhat.com>
7828
7829 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
7830 happy.
7831
5a59a3a5
GK
78322000-04-11 Geoff Keating <geoffk@cygnus.com>
7833
7834 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
7835 symbol. Call _dl_init rather than the old way.
7836
6c51aa64
UD
78372000-05-04 Ulrich Drepper <drepper@redhat.com>
7838
7839 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
7840 test for pointer in range of DSO address space.
7841
68843294
AJ
78422000-05-04 Andreas Jaeger <aj@suse.de>
7843
6c51aa64 7844 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
68843294 7845
17c389fc
UD
78462000-05-03 Ulrich Drepper <drepper@redhat.com>
7847
229c86ea
UD
7848 * locale/findlocale.c (_nl_find_locale): Add new parameter to
7849 calls of _nl_make_l10nflist.
7850
17c389fc
UD
7851 * libio/stdio.h: Make fseeko and ftello prototypes available is
7852 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
7853
7854 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
7855 real unsetenv implementation from 1999-07-29 [PR libc/1714].
7856
78572000-05-03 Bruno Haible <haible@clisp.cons.org>
7858
7859 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
7860 before calling tfind.
7861
78622000-03-05 Jakub Jelinek <jakub@redhat.com>
7863
7864 * resolv/resolv.h (res_querydomain): Remove redefinition to
7865 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
7866
78672000-05-03 Ulrich Drepper <drepper@redhat.com>
7868
7869 * po/gl.po: Update from translation team.
7870
7871 * manual/intro.texi (Program Basics): Change section title.
7872 * manual/process.texi: Fix reference.
7873 (Executing a File): Add reference exec in other section.
7874 * manual/signal.texi: Fix reference.
7875 * manual/startup.texi: Document syscall function.
7876 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
7877
78782000-04-29 Bruno Haible <haible@clisp.cons.org>
7879
7880 * intl/libintl.h (bind_textdomain_codeset): New declaration.
7881 * intl/bindtextdom.c (set_binding_values): New function.
7882 (bindtextdomain): Call it.
7883 (bind_textdomain_codeset): New function.
7884 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
7885 (free_mem): Free each binding's codeset.
7886 * intl/gettextP.h (struct binding): Add codeset field.
7887 (_nl_find_domain): Add domainbinding argument.
7888 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
7889 Pass it to _nl_make_l10nflist.
7890 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
7891 (_nl_make_l10nflist): Add domainbinding argument.
7892 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
7893 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
7894 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
7895 locale_charset().
7896 * manual/message.texi: New node "Charset conversion in gettext".
7897
78982000-04-30 Bruno Haible <haible@clisp.cons.org>
7899
7900 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
7901 appropriate. Handle possible __read error.
7902
79032000-04-29 Bruno Haible <haible@clisp.cons.org>
7904
7905 * intl/gettextP.h (__builtin_expect): Define as empty if not a
7906 compiler builtin.
7907 * intl/loadinfo.h (__builtin_expect): Likewise.
7908 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
7909 __builtin_expect where appropriate.
7910 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7911 * intl/localealias.c (extend_alias_table): Return an error indicator.
7912 (read_alias_file): Bail out if extend_alias_table fails.
7913
79142000-04-29 Bruno Haible <haible@clisp.cons.org>
7915
7916 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
7917 * intl/localealias.c: Likewise.
7918
79192000-05-01 Bruno Haible <haible@clisp.cons.org>
7920
7921 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
7922 Initialize domain->plural and domain->nplurals even if there is no
7923 nullentry.
7924
79252000-05-01 Bruno Haible <haible@clisp.cons.org>
7926
7927 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
7928 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
7929 In case of failure, goto converted.
7930
79312000-05-01 Bruno Haible <haible@clisp.cons.org>
7932
7933 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
7934 * iconv/gconv_int.h (norm_add_slashes): Move to here.
7935 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
7936 __gconv_open.
7937
79382000-04-29 Bruno Haible <haible@clisp.cons.org>
7939
7940 * intl/dcigettext.c (transcmp): Compare the domains as well.
7941 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
7942 not before.
7943 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
7944 <errno.h>.
7945
160016c9
UD
79462000-05-03 Ulrich Drepper <drepper@redhat.com>
7947
7948 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
7949 Reported by Bruno Haible.
7950
79512000-04-29 Bruno Haible <haible@clisp.cons.org>
7952
7953 * manual/arith.texi: Remove @w from @itemize.
7954
20d49639
AJ
79552000-05-02 Andreas Jaeger <aj@suse.de>
7956
75cabb04
AJ
7957 * conform/data/tar.h-data: Add some checks for specific values.
7958
7959 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
7960 and RAND_MAX.
7961
7962 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
7963 FOPEN_MAX.
7964
7965 * conform/data/netinet/in.h-data: Add exact checks for the values
7966 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
7967
7968 * conform/data/float.h-data: Add some minimal values.
7969
20d49639
AJ
7970 * conform/conformtest.pl: Test for macros with string constants,
7971 check for minimum and maximum values.
7972 Add limits.h to headers.
7973
7974 * conform/data/cpio.h-data: Test for value of MAGIC.
7975
7976 * conform/data/limits.h-data: New file.
7977
741befc8
AJ
79782000-04-30 Bruno Haible <haible@clisp.cons.org>
7979
7980 * math/Makefile (headers): Add bits/fenvinline.h.
7981
09411686
UD
79822000-05-01 Ulrich Drepper <drepper@redhat.com>
7983
0f50c8d3
UD
7984 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
7985 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
7986
09411686
UD
7987 * posix/Versions: Change posix_spawnattr_getdefault and
7988 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
7989 and posix_spawnattr_setsigdefault respectively.
7990 * posix/spawn.h: Likewise.
7991 * posix/spawnattr_getdefault.h: Likewise.
7992 * posix/spawnattr_setdefault.h: Likewise.
782af2c0 7993 * conform/data/spawn.h-data: Likewise.
09411686 7994
2c1efeaf
AJ
79952000-05-01 Andreas Jaeger <aj@suse.de>
7996
7997 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
7998
e52236e5
UD
79992000-04-30 Ulrich Drepper <drepper@redhat.com>
8000
4b9a6d7c
UD
8001 * manual/sysinfo.texi: Document getdomainname, setdomainname
8002 and sysctl.
e52236e5
UD
8003 * manual/string.texi: Fix typo.
8004 * manual/terminal.texi: Document gtty and stty.
8005 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8006
93b1a554
UD
80072000-04-30 Andreas Jaeger <aj@suse.de>
8008
8009 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
8010 accordance with Austin Draft.
8011
01ed6c51
UD
80122000-04-30 Ulrich Drepper <drepper@redhat.com>
8013
c3880fbd
UD
8014 * catgets/gencat.c (read_input_file): Use isblank and not isspace
8015 to recognize second character in comment line.
8016
edecfcda
UD
8017 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
8018 ENOBUFS if we are out of memory.
8019
01ed6c51
UD
8020 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
8021 available if __USE_XOPEN2K.
8022 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
8023 * sysdeps/unix/common/bits/fcntl.h: Likewise.
8024 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
8025 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8026 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
8027 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8028 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
8029 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
8030
adcf0e4a
UD
80312000-04-29 Ulrich Drepper <drepper@redhat.com>
8032
8033 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
8034 Recognize option -s, -c, and -l.
8035
80362000-04-20 Thorsten Kukuk <kukuk@suse.de>
8037
8038 * nscd/nscd.c: Start new session for nscd, drop privilegs
8039 to configured user if requested and no -S parameter are used.
8040 * nscd/nscd.conf: Add new option "server-user".
8041 * nscd/nscd_conf.c: Add support for new "server-user" option.
8042 * nscd/nscd.h: Add declaration for server_user variable.
8043 Based on patch by Chris Wing <wingc@engin.umich.edu>
8044
80452000-04-29 Mark Kettenis <kettenis@gnu.org>
8046
8047 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
8048 that changing the __restore and __restore_rt signal return code
8049 will break GDB.
8050
80512000-04-29 Mark Kettenis <kettenis@gnu.org>
8052
8053 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
8054 <sys/user.h>.
8055
80562000-04-29 Mark Kettenis <kettenis@gnu.org>
8057
8058 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
8059
d2dc3fc9
UD
80602000-04-29 Ulrich Drepper <drepper@redhat.com>
8061
9d4d69b8
UD
8062 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
8063 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
8064 arpa/inet.h.
8065 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
8066 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
8067 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
8068 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
8069 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
8070 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
8071 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
8072 posix_fallocate, and posix_madvise.
8073 * conform/data/netdb.h-data: New file.
8074 * conform/data/pthread.h-data: Add pthread_barrier_t,
8075 pthread_barrierattr_t, pthread_barrier_destroy,
8076 pthread_barrier_init, pthread_barrier_wait,
8077 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
8078 pthread_barrierattr_init, pthread_barrierattr_setpshared,
8079 pthread_condattr_getclock, pthread_condattr_setclock,
8080 pthread_getcpuclockid, pthread_mutex_timedlock,
8081 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
8082 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
8083 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
8084 * conform/data/sched.h-data: Add sched_ss_low_priority,
8085 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
8086 SCHED_SPORADIC.
8087 * conform/data/semaphore.h-data: Add sem_timedwait.
8088 * conform/data/signal.h-data: Add SIGIO.
8089 * conform/data/spawn.h-data: New file.
8090 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
8091 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
8092 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
8093 Fix typo in gmtime_r definition.
8094 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
8095 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
8096 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
8097 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
8098 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
8099 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
8100 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
8101 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
8102 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
8103 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
8104 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
8105 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
8106 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
8107 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
8108 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
8109 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
8110 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
8111 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
8112 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
8113 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
8114 typo in off_t definition.
8115 * conform/data/net/if.h-data: New file.
8116 * conform/data/netinet/in.h-data: New file.
8117 * conform/data/netinet/tcp.h-data: New file.
8118 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
8119 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
8120 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
8121 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
8122 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
8123 and posix_typed_mem_open.
8124 * conform/data/sys/socket.h-data: New file.
8125 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
8126 * conform/data/sys/types.h-data: Add pthread_barrier_t,
8127 pthread_barrierattr_t, and pthread_spinlock_t.
8128 * conform/data/sys/un.h-data: New file.
8129 * conform/data/sys/utsname.h-data: New file.
8130
8131 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
8132 parameter.
8133 * inet/gethstbyad.c (gethostbyname): Likewise.
8134 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
8135 * inet/getipnodebyad.c (getipnodebyad): Likewise.
8136 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
8137 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
8138 Likewise.
8139 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
8140 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
8141 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
8142 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
8143 * resolv/gethnamaddr.c (gethostbyname): Likewise.
8144 * resolv/netdb.h (struct hostent): Fix type of h_length member.
8145 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
8146 and second parameter.
8147
d2dc3fc9
UD
8148 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
8149 == NULL.
8150
9d4d69b8
UD
81512000-04-29 Andreas Jaeger <aj@suse.de>
8152
8153 * conform/data/arpa/inet.h-data: New file.
8154
cffad2ae
AJ
81552000-04-28 Geoff Clare <gwc@unisoft.com>
8156
8157 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
8158 path passed to ftw() or nftw() is an empty string.
8159 Closes PR libc/1710.
8160
0a55a284
UD
81612000-04-27 Ulrich Drepper <drepper@redhat.com>
8162
d4134450
UD
8163 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
8164 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
8165 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
8166 * localedata/tst-mbswcs4.c: New file.
8167 * localedata/tst-mbswcs5.c: New file.
8168
a7f91846
UD
8169 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
8170 == NULL. Little optimization.
8171
8172 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
8173 DT_PREINIT_ARRAYSZ).
8174 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
8175
0a55a284
UD
8176 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
8177 overflows in conversion from ASCII.
8178
81792000-04-26 Jakub Jelinek <jakub@redhat.com>
8180
8181 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
8182 * Makerules (full_config_sysdirs): Likewise.
8183 * MakeTAGS (full_config_sysdirs): Likewise.
8184
81852000-04-26 Jakub Jelinek <jakub@redhat.com>
8186
8187 * .cvsignore: Remove linuxthreads.
8188 * po/.cvsignore: Remove *.pot.
8189 * posix/glob/.cvsignore: Removed.
8190 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
8191
81922000-04-25 Andreas Jaeger <aj@suse.de>
8193
8194 * conform/Makefile (distribute): Also distribute contents of
8195 subdirectories.
8196
8197 * Makerules (no_deps): Remove abi-versions.h.
8198
8199 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
8200
82012000-04-25 Jakub Jelinek <jakub@redhat.com>
8202
8203 * sysdeps/sparc/sparc64/elf/Dist: Remove.
8204 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
8205 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
8206 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
8207 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
8208 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
8209 objects.
8210
82112000-04-25 Thorsten Kukuk <kukuk@suse.de>
8212
8213 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
8214
8651d8a2 82152000-04-23 Bruno Haible <haible@clisp.cons.org>
0a55a284
UD
8216
8217 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
8218 * intl/l10nflist.c: Likewise.
8219
8651d8a2 82202000-04-23 Bruno Haible <haible@clisp.cons.org>
0a55a284
UD
8221
8222 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
8223 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
8224 * intl/textdomain.c [!_LIBC]: Likewise.
8225 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
8226 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
8227 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
8228 syntax error.
8229
8651d8a2 82302000-04-23 Bruno Haible <haible@clisp.cons.org>
0a55a284
UD
8231
8232 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
8233 character set conversion also in the case the translation was found
8651d8a2
UD
8234 after a hash collision or through binary search. Store the maximum
8235 index together with the converted message. Use iconv() when available.
0a55a284
UD
8236 In case of out of memory during conversion, return the unconverted
8237 translated string, not NULL.
8238
0e4ee106
UD
82392000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
8240
8241 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
8242 to avoid name clashes with the ia32 linker.
8243
82442000-04-25 Jakub Jelinek <jakub@redhat.com>
8245
8246 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
8247 handling.
8248
3300816c
UD
82492000-04-27 Ulrich Drepper <drepper@redhat.com>
8250
0e4ee106
UD
8251 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
8252 strtoumax, strfry, and memfrob.
8253 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
8254 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8255
3300816c
UD
8256 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
8257 if this function is available.
8258
8259 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
8260 all values.
8261
159a2a51
AJ
82622000-04-27 Jakub Jelinek <jakub@redhat.com>
8263
8264 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
8265
3c5adb76
UD
82662000-04-27 Ulrich Drepper <drepper@redhat.com>
8267
8268 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
8269 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
8270 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
8271 * localedata/tst-mbswcs3.c: New file.
8272
316518d6
UD
82732000-04-26 Ulrich Drepper <drepper@redhat.com>
8274
1da6cab2
UD
8275 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
8276 characters. Don't handle incomplete characters as errors.
8277 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
8278 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
8279 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
8280 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
8281 * localedata/tst-mbswcs2.c: New file.
8282
316518d6
UD
8283 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
8284 stored character in state in UNPACK_BYTES macro.
8285 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
8286 test for available characters, handle result of BODY code correctly.
8287 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
8288 (distribute): Add tst-mbswcs.sh.
8289 Add rule to run tst-mbswcs.sh.
8290 * localedata/tst-mbswcs.sh: New file.
8291 * localedata/tst-mbswcs1.c: New file.
8292
82932000-04-26 Jakub Jelinek <jakub@redhat.com>
8294
8295 * nis/nis_callback.c (__nis_create_callback): Do failed memory
8296 allocation fixups centrally, fix __builtin_expect call, return NULL
8297 on failure, not NIS_NOMEMORY.
8298
82992000-04-27 Bruno Haible <haible@clisp.cons.org>
fff1a600
AJ
8300
8301 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
8302
8303 * intl/loadinfo.h (internal_function): Define if not already defined.
8304
83052000-04-27 Andreas Jaeger <aj@suse.de>
8306
8307 * intl/libintl.h: Fix typo, reported by Bruno Haible
3300816c 8308 <haible@clisp.cons.org>.
fff1a600 8309
d472655c
UD
83102000-04-25 Ulrich Drepper <drepper@redhat.com>
8311
8312 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
8313 setting the state to GMON_PROF_BUSY.
8314
20b02a2e 83152000-04-24 Ulrich Drepper <drepper@redhat.com>
128e2b0f
UD
8316
8317 * elf/dl-profile.c (_dl_start_profile): define all variables which
8318 do not have to be global as local variables.
20b02a2e 8319
6d5728c8
UD
8320 * nis/nis_callback.c (__nis_create_callback): Partially undo last
8321 patch. Keep needed tests for failed memory allocation.
8322
655ab929
UD
8323 * elf/dl-reloc.c (_dl_relocate_object): Add one more
8324 __builtin_expect saying that we don't normally expect to profile.
8325
20b02a2e
UD
8326 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
8327 __builtin_expect where desirable.
8328
d52b6462
UD
83292000-04-23 Ulrich Drepper <drepper@redhat.com>
8330
8331 * manual/Makefile (chapters): Add syslog.
8332 * manual/syslog.texi: New file.
8333 * manual/math.texi: Fix references.
8334 * manual/terminal.texi: Likewise.
8335 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8336
83372000-04-18 Jakub Jelinek <jakub@redhat.com>
8338
8339 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
8340 stdlib.h was not included or __USE_XOPEN not defined.
8341
bcad2c29
UD
83422000-04-23 Ulrich Drepper <drepper@redhat.com>
8343
4ded1f08 8344 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
bcad2c29
UD
8345 Patch by Zack Weinberg <zack@wolery.cumb.org>.
8346
ef52edfc
UD
83472000-04-22 Ulrich Drepper <drepper@redhat.com>
8348
b1184fcd
UD
8349 * manual/examples/subopt.c (mount_opts): Add missing terminating
8350 entry.
8351 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
8352
ef52edfc
UD
8353 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
8354 * libio/ftello.c: Likewise.
8355 * libio/ftello64.c: Likewise.
8356 * libio/ioftell.c: Likewise.
8357 * sysdeps/generic/memrchr.c: Likewise.
8358 * sysdeps/posix/libc_fatal.c: Likewise.
8359 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
8360 * misc/fstab.c: Include <string.h> for strcmp prototype.
8361 * sysdeps/generic/ldsodefs.h: Likewise.
8362 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8363 Patch by Kurt Roeckx <Q@ping.be>.
8364
8365 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
8366 Remove db-open. Change all uses.
8367 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
8368
83692000-04-21 Jakub Jelinek <jakub@redhat.com>
8370
8371 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
8372 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
8373 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
8374 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
8375 with .set noat/at to shut up warnings.
8376 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
8377 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
8378 compilation if __NR_pciconfig_iobase is not defined.
8379 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
8380 Add alias.
8381
4fcfc4c6
UD
83822000-04-21 Ulrich Drepper <drepper@redhat.com>
8383
3566d33c
UD
8384 * manual/sysinfo.texi: Fix typo.
8385 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
8386 Replace "high precision time" with "high accuracy clock".
8387 Fix language.
8388 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
8389
54eb84d0
UD
8390 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
8391 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
8392 instead of malloc.
8393 * nis/nis_subr.c: Use __builtin_expect.
8394 * nis/ypclnt.c: Likewise.
8395 * nis/nis_getservlist.c: Likewise.
8396 * nis/nis_creategroup.c: Likewise.
8397
4fcfc4c6
UD
8398 * nis/nis_callback.c (__nis_create_callback): Check result of
8399 memory allocation. Fix memory leaks. Use __builtin_expect.
8400 (__nis_destroy_callback): Fix memory leaks.
8401
4f263528
AJ
84022000-04-21 Andreas Jaeger <aj@suse.de>
8403
8404 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
8405 * sysdeps/mips/mips64/add_n.S: Likewise.
8406 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
8407 * sysdeps/mips/mips64/lshift.S: Likewise.
8408 * sysdeps/mips/mips64/mul_1.S: Likewise.
8409 * sysdeps/mips/mips64/rshift.S: Likewise.
8410 * sysdeps/mips/mips64/setjmp.S: Likewise.
8411 * sysdeps/mips/mips64/sub_n.S: Likewise.
abd8a0b5
AJ
8412 * sysdeps/mips/mips64/submul_1.S: Likewise
8413 * sysdeps/unix/mips/sysdep.S: Likewise.
4f263528
AJ
8414
8415 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
8416 and update comment. The strtab from _dl_relocate_object can be
8417 used.
8418
a711dd4b
UD
84192000-04-21 Ulrich Drepper <drepper@redhat.com>
8420
8421 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
8422 * iconv/iconv_close.c (iconv_close): Likewise.
8423 * iconv/iconv_open.c (iconv_open): Likewise.
8424
8425 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
8426 __builtin_expect where useful.
8427
8428 * grp/initgroups.c (initgroups): Test for result of memory
8429 allocation and punt if it fails.
8430
8431 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
8432 * grp/fgetgrent.c (fgetfrent): Likewise.
8433 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
8434
761df3a7
UD
84352000-04-21 Jakub Jelinek <jakub@redhat.com>
8436
8437 * libio/vasprintf.c: Include string.h to get memcpy prototype.
8438
978ce92b
UD
84392000-04-20 Ulrich Drepper <drepper@redhat.com>
8440
376b8b3d
UD
8441 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
8442 don't search for NUL byte to decrement counter.
8443 Reported by Ulrich.Brink@sap.com.
8444
4a069c33
UD
8445 * iconv/gconv_simple.c: Define separate functions to convert from
8446 UCS4/UCS4-LE to the internal encoding.
8447 * iconv/gconv_builtin.h: Use separate functions to convert from
8448 UCS4/UCS4-LE to the internal encoding.
8449 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
8450 __gconv_transform_ucs4le_internal.
8451
8452 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
8453 output buffer overflow. Reported by Ulrich.Brink@sap.com.
8454
978ce92b
UD
8455 * iconv/skeleton.c: Add some more __builtin_expect.
8456 * iconv/loop.c: Likewise.
8457
460e040a
UD
84582000-03-08 H.J. Lu <hjl@gnu.org>
8459
8460 * posix/regex.c (regex_compile): Correctly handle "\{" when
8461 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
8462
d879eb85
UD
84632000-04-20 Ulrich Drepper <drepper@redhat.com>
8464
8465 * manual/stdio.texi: Give advise about handling error when using
8466 stream functions.
8467 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
8468
a0edd63e
UD
84692000-04-19 Jakub Jelinek <jakub@redhat.com>
8470
8471 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
8472 field to nelems * sizeof (uint32_t).
8473 * locale/programs/ld-address.c (address_output): Align word fields
8474 properly.
8475 * locale/programs/ld-monetary.c (monetary_output): Likewise.
8476 Don't restart idx pointers to idx end at the duo_int_curr_symbol
8477 field.
8478 Avoid giving arbitrary garbage in the crncystr field.
8479 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
8480 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
8481 fields.
8482 * locale/programs/ld-numeric.c (numeric_output): Likewise.
8483 Don't restart idx pointers to idx end at the decimal_point_wc field.
8484 * locale/programs/ld-time.c (time_output): week_1stday should be
8485 word, not byte. Align it properly.
8486
84872000-04-19 H.J. Lu <hjl@gnu.org>
8488
8489 * csu/gmon-start.c (_start): Declared as "extern void".
8490 (etext): Likewise.
8491
84922000-04-18 Andreas Jaeger <aj@suse.de>
8493
8494 * manual/install.texi (Running make install): Don't mention utmpd
8495 anymore.
8496
84972000-04-18 Andreas Jaeger <aj@suse.de>
8498
8499 * linuxthreads/Versions: Use ld instead of ld.so.
8500
8501 * elf/Makefile (ld-map): Use ld.map.
8502
8503 * Versions.def: Use ld instead of ld.so.
8504 * elf/Versions: Likewise.
8505 * sysdeps/mach/hurd/Versions: Likewise.
8506
8b07d6a8
AJ
85072000-04-20 Andreas Jaeger <aj@suse.de>
8508
8509 * elf/rtld.c (print_statistics): Move ifndef further up.
8510 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
8511 (dl_main): Likewise.
8512
74f99822
UD
85132000-04-18 Ulrich Drepper <drepper@redhat.com>
8514
69173865
UD
8515 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
8516 * gmon/Versions: Move moncontrol to GLIBC_2.2.
8517
17ef6f59
UD
8518 * po/cs.po: Update from translation team.
8519
22b0607b
UD
8520 * sysdeps/generic/updwtmp.c: Remove daemon support.
8521
92da46fc
UD
8522 * login/Makefile (routines): Remove utmp_daemon.
8523
bd4ebb90 8524 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
9434de89 8525 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
acda7090
UD
8526 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
8527 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
8528
dc911631
UD
8529 * elf/rtld.c: Display statitics option also if hp timing is not
8530 available.
8531
74f99822
UD
8532 * login/programs/connection.c: Removed.
8533 * login/programs/database.c Removed.
8534 * login/programs/error.c: Removed.
8535 * login/programs/request.c: Removed.
8536 * login/programs/xtmp.c: Removed.
8537 * login/programs/xtmp.h: Removed.
8538 * login/Makefile: Remove rules for utmpd.
8539 * login/README.utmpd: Removed.
33c50f10
UD
8540 * login/utmp_daemon.c: Removed.
8541 * login/getutent_r.c: Remove references to daemon functions.
8542 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
8543 declaration.
74f99822 8544
d1891b39
AJ
85452000-04-18 Andreas Jaeger <aj@suse.de>
8546
69a79602
AJ
8547 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
8548 2.2 for libnsl, libresolv, librt, libnss_*.
8549
b034c2b1
AJ
8550 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
8551
d1891b39
AJ
8552 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
8553
dc32d4fe
UD
85542000-04-18 Ulrich Drepper <drepper@redhat.com>
8555
ed7abbd0
UD
8556 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
8557 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
dc32d4fe
UD
8558 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
8559 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
8560 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
8561 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
8562 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
8563 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
8564 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
8565 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
8566 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
8567 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
8568 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
8569 it here.
8570 * sysdeps/unix/sysv/aix/msync.c: New file.
8571 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
8572 * sysdeps/unix/sysv/aix/net/if.h: New file.
8573 * sysdeps/unix/sysv/aix/pipe.c: New file.
8574 * sysdeps/unix/sysv/aix/poll.c: New file.
8575 * sysdeps/unix/sysv/aix/rename.c: New file.
8576 * sysdeps/unix/sysv/aix/rmdir.c: New file.
8577 * sysdeps/unix/sysv/aix/select.c: New file.
8578 * sysdeps/unix/sysv/aix/semctl.c: New file.
8579 * sysdeps/unix/sysv/aix/semget.c: New file.
8580 * sysdeps/unix/sysv/aix/semop.c: New file.
8581 * sysdeps/unix/sysv/aix/sendto.c: New file.
8582 * sysdeps/unix/sysv/aix/setgroups.c: New file.
8583 * sysdeps/unix/sysv/aix/setpgid.c: New file.
8584 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
8585 * sysdeps/unix/sysv/aix/setpriority.c: New file.
8586 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
8587 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
8588 * sysdeps/unix/sysv/aix/setsid.c: New file.
8589 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
8590 * sysdeps/unix/sysv/aix/shmat.c: New file.
8591 * sysdeps/unix/sysv/aix/shmctl.c: New file.
8592 * sysdeps/unix/sysv/aix/shmdt.c: New file.
8593 * sysdeps/unix/sysv/aix/shmget.c: New file.
8594 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
8595 * sysdeps/unix/sysv/aix/sigstack.c: New file.
8596 * sysdeps/unix/sysv/aix/socket.c: New file.
8597 * sysdeps/unix/sysv/aix/socketpair.c: New file.
8598 * sysdeps/unix/sysv/aix/speed.c: New file.
8599 * sysdeps/unix/sysv/aix/symlink.c: New file.
8600 * sysdeps/unix/sysv/aix/sync.c: New file.
8601 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
8602 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
8603 * sysdeps/unix/sysv/aix/times.c: New file.
8604 * sysdeps/unix/sysv/aix/ulimit.c: New file.
8605 * sysdeps/unix/sysv/aix/umask.c: New file.
8606 * sysdeps/unix/sysv/aix/unlink.c: New file.
8607 * sysdeps/unix/sysv/aix/ustat.c: New file.
8608 * sysdeps/unix/sysv/aix/utimes.c: New file.
8609
1531e094
AJ
86102000-04-18 Andreas Jaeger <aj@suse.de>
8611
18be3f69
AJ
8612 * manual/startup.texi (Environment Access): Fix putenv prototype
8613 according to recent changes.
8614 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
8615 PR libc/1692.
8616
1531e094
AJ
8617 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
8618 needed.
8619
cd43f797
UD
86202000-04-18 Ulrich Drepper <drepper@redhat.com>
8621
8622 * posix/Makefile (tests): Add tst-getaddrinfo.
8623 * posix/tst-getaddrinfo.c: New file.
8624
5732c4df
UD
86252000-04-17 Ulrich Drepper <drepper@redhat.com>
8626
dbacafe5
UD
8627 * manual/sysinfo.texi: Document that umount2 is not widely available.
8628
5732c4df
UD
8629 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
8630 signal timing is not really implemented.
8631
86322000-04-17 Andreas Jaeger <aj@suse.de>
8633
8634 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
8635
86362000-04-17 Jakub Jelinek <jakub@redhat.com>
8637
8638 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
8639 and inst_libdir.
8640
faf2289f
UD
86412000-04-17 Ulrich Drepper <drepper@redhat.com>
8642
8643 * manual/intro.texi: Change reference from System Information to
8644 System Management.
8645 * manual/users.texi: Likewise.
8646 * manual/conf.texi: Likewise.
8647 * manual/sysinfo.texi: Document mount, umount, and umount2.
8648 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8649
86502000-04-17 Jakub Jelinek <jakub@redhat.com>
8651
8652 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
8653 Create wnumstr as well as numstr to support wide character output
8654 correctly.
8655
86562000-04-15 Jakub Jelinek <jakub@redhat.com>
8657
8658 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
8659 modification and move it...
8660 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
8661 Add -melf64_sparc switch to $(LD) on sparc64-linux.
8662 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
8663 switch to $(LD) on sparc-linux.
8664
86652000-04-17 Thorsten Kukuk <kukuk@suse.de>
8666
8667 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
cd43f797 8668 and setresuid from sysdep_routines.
faf2289f 8669
171b7cf1
UD
86702000-04-17 Ulrich Drepper <drepper@redhat.com>
8671
5ce8f203
UD
8672 * manual/Makefile (chapters): Add resource.
8673
8674 * manual/time.texi: Move section on resources to...
faf2289f
UD
8675 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
8676 and vtimes.
5ce8f203
UD
8677 * manual/setjmp.texi: Adjust back reference.
8678 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8679
171b7cf1
UD
8680 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
8681 definition.
8682 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
8683 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
8684 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
8685 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
8686 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
8687 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
8688 * sysdeps/unix/sysv/aix/close.c: Add copyright.
8689 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
8690 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
8691 * sysdeps/unix/sysv/aix/access.c: Add copyright.
8692 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
8693 * sysdeps/unix/sysv/aix/Implies: New file.
8694 * sysdeps/unix/sysv/aix/Versions: New file.
8695 * sysdeps/unix/sysv/aix/bind.c: New file.
8696 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
8697 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
8698 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
8699 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
8700 * sysdeps/unix/sysv/aix/chdir.c: New file.
8701 * sysdeps/unix/sysv/aix/chmod.c: New file.
8702 * sysdeps/unix/sysv/aix/chroot.c: New file.
8703 * sysdeps/unix/sysv/aix/creat.c: New file.
8704 * sysdeps/unix/sysv/aix/dl-close.c: New file.
8705 * sysdeps/unix/sysv/aix/dl-open.c: New file.
8706 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
8707 * sysdeps/unix/sysv/aix/fchdir.c: New file.
8708 * sysdeps/unix/sysv/aix/fchmod.c: New file.
8709 * sysdeps/unix/sysv/aix/getgroups.c: New file.
8710 * sysdeps/unix/sysv/aix/gethostname.c: New file.
8711 * sysdeps/unix/sysv/aix/getpriority.c: New file.
8712 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
8713 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
8714 * sysdeps/unix/sysv/aix/getrusage.c: New file.
8715 * sysdeps/unix/sysv/aix/link.c: New file.
8716 * sysdeps/unix/sysv/aix/madvise.c: New file.
8717 * sysdeps/unix/sysv/aix/mkdir.c: New file.
8718 * sysdeps/unix/sysv/aix/mknod.c: New file.
8719 * sysdeps/unix/sysv/aix/mprotect.c: New file.
8720 * sysdeps/unix/sysv/aix/msgctl.c: New file.
8721 * sysdeps/unix/sysv/aix/msgget.c: New file.
8722 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
8723
42eb5242
AJ
87242000-04-17 Andreas Jaeger <aj@suse.de>
8725
b0a62805
AJ
8726 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
8727 as suggested by Ulrich Drepper.
8728 (__dl_runtime_resolve): Remove unused variable, initialize sym
8729 directly.
8730 (RTLD_START): Document OFFSET_GP_GOT.
8731 (OFFSET_GP_GOT): New magic value.
8732 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
8733 (elf_machine_got_rel): Only declare strtab if needed.
716c75c4
AJ
8734 (elf_machine_relplt): Removed, it's not needed.
8735 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
b0a62805 8736
42eb5242
AJ
8737 * sysdeps/mips/add_n.S: Add newline at EOF.
8738 * sysdeps/mips/rshift.S: Likewise.
8739 * sysdeps/mips/mul_1.S: Likewise.
8740 * sysdeps/mips/lshift.S: Likewise.
8741 * sysdeps/mips/addmul_1.S: Likewise.
8742
e3265f5b
UD
87432000-04-17 Ulrich Drepper <drepper@redhat.com>
8744
b99a3e9a
UD
8745 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
8746
dc051821
UD
8747 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
8748 * elf/dl-lookup.c: Likewise.
8749 * elf/dl-init.c (_dl_init): Likewise.
8750 * elf/dl-fini.c (_dl_fini): Likewise.
8751 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8752 * elf/dl-close.c (_dl_close): Likewise.
8753 * elf/rtld.c (_dl_start_final): Likewise.
466a0ec9 8754
e3265f5b
UD
8755 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
8756
29094e48
UD
87572000-04-15 Ulrich Drepper <drepper@redhat.com>
8758
c269fdb4
UD
8759 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
8760 only fall back on using Linux.
8761
145b8413
UD
8762 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
8763 Before testing versions check that we actually loaded the object
8764 and whether we are in trace mode. If not loaded during tracing don't
8765 test versions in this object.
8766 (_dl_check_all_versions): Take new parameter and pass to
8767 _dl_check_map_versions.
8768 * sysdeps/generic/ldsodefs.h: Update prototypes for
8769 _dl_check_all_versions and _dl_check_map_versions.
8770 * elf/rtld.c (struct version_check_args): Add dotrace.
8771 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
8772 (dl_main): Pass info about trace mode to version_check_doit.
8773 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
8774 _dl_check_all_versions.
8775
8776 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
8777 and getutmpx.
8778 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8779
29094e48
UD
8780 * manual/argp.texi: Document index parameter of argp_parse.
8781 Fix typo.
8782 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
8783
afdda55a
UD
87842000-04-14 Andreas Jaeger <aj@suse.de>
8785
8786 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
8787 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
8788
8789 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
8790
a5a6f926
UD
87912000-04-15 Ulrich Drepper <drepper@redhat.com>
8792
150f740a
UD
8793 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
8794 compat_symbol call for old adjtime.
8795
8796 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
ef187474
UD
8797 function interface. Patch by Richard Henderson <rth@cygnus.com>.
8798
a5a6f926
UD
8799 * posix/Makefile (headers): Add spawn.h.
8800 (distribute): Add spawn_int.h.
8801 (routines): Add spawn_faction_init, spawn_faction_destroy,
8802 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
8803 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
8804 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
8805 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
8806 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
8807 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
8808 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
8809 posix_spawnattr_init, posix_spawnattr_destroy,
8810 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
8811 posix_spawnattr_getflags, posix_spawnattr_setflags,
8812 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
8813 and posix_spawnp.
8814 * posix/spawn.c: New file.
8815 * posix/spawn.h: New file.
8816 * posix/spawn_faction_addclose.c: New file.
8817 * posix/spawn_faction_adddup2.c: New file.
8818 * posix/spawn_faction_addopen.c: New file.
8819 * posix/spawn_faction_destroy.c: New file.
8820 * posix/spawn_faction_init.c: New file.
8821 * posix/spawn_int.h: New file.
8822 * posix/spawnattr_destroy.c: New file.
8823 * posix/spawnattr_getdefault.c: New file.
8824 * posix/spawnattr_getflags.c: New file.
8825 * posix/spawnattr_getpgroup.c: New file.
8826 * posix/spawnattr_getschedparam.c: New file.
8827 * posix/spawnattr_getschedpolicy.c: New file.
8828 * posix/spawnattr_getsigmask.c: New file.
8829 * posix/spawnattr_init.c: New file.
8830 * posix/spawnattr_setdefault.c: New file.
8831 * posix/spawnattr_setflags.c: New file.
8832 * posix/spawnattr_setpgroup.c: New file.
8833 * posix/spawnattr_setschedparam.c: New file.
8834 * posix/spawnattr_setschedpolicy.c: New file.
8835 * posix/spawnattr_setsigmask.c: New file.
8836 * posix/spawni.c: New file.
8837 * posix/spawnp.c: New file.
8838
8839 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
8840 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
8841
0758ea0c
UD
88422000-04-14 Ulrich Drepper <drepper@redhat.com>
8843
8844 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
8845 * malloc/malloc.c: Implement posix_memalign for glibc.
8846 * include/stdlib.h: Add prototype for __posix_memalign.
8847 * stdlib/stdlib.h: Add prototype for posix_memalign.
8848
12d3e579
AJ
88492000-04-14 Andreas Jaeger <aj@suse.de>
8850
fe81e988
AJ
8851 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
8852 symidx correctly.
c84956c7 8853 (elf_machine_got_rel): Cast sym correctly.
fe81e988 8854
30c2f3c4 8855 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
90bf0e07
AJ
8856 * sysdeps/mips/addmul_1.S: Likewise.
8857 * sysdeps/mips/lshift.S: Likewise.
8858 * sysdeps/mips/mul_1.S: Likewise.
8859 * sysdeps/mips/rshift.S: Likewise.
8860 * sysdeps/mips/sub_n.S: Likewise.
8861 * sysdeps/mips/submul_1.S: Likewise.
fe81e988 8862
c8c73ac3
AJ
8863 * stdlib/stdlib.h: Fix typo in comment.
8864
d0a5dae4
AJ
8865 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
8866 2.2 for libdl, ld and libm.
8867
12d3e579
AJ
8868 * sysdeps/generic/madvise.c: Fix typos.
8869
8870 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
8871
8872 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
8873
8874 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
8875 warnings.
8876
bb8e0116
UD
88772000-04-14 Ulrich Drepper <drepper@redhat.com>
8878
8879 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
8880 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
8881 Make old name weak alias.
8882 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
8883 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
8884 Make old name weak alias.
8885 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
8886
8887 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
8888 posix_fallocate, and posix_fallocate64.
8889 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
8890 posix_fallocate, and posix_fallocate64.
8891 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
8892 posix_fallocate, and posix_fallocate64.
8893 * sysdeps/generic/fadvise.c: New file.
8894 * sysdeps/generic/fadvise64.c: New file.
8895 * sysdeps/generic/fallocate.c: New file.
8896 * sysdeps/generic/fallocate64.c: New file.
8897 * sysdeps/posix/fallocate.c: New file.
8898 * sysdeps/posix/fallocate64.c: New file.
8899 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
8900 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
8901 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
8902 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
8903 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
8904 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
8905 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8906 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
8907 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8908
8909 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
8910 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8911
8f6f7a31
UD
89122000-04-13 Ulrich Drepper <drepper@redhat.com>
8913
8914 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
8915 * misc/sys/mman.h (posix_madvise): Add prototype.
8916 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
8917 old name and posix_madvise weak aliases.
8918 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8919 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
8920 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
8921 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
8922 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
8923 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8924 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8925
490a9ab7
AJ
89262000-04-13 Andreas Jaeger <aj@suse.de>
8927
8928 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
8929 versioning.
0fc95464 8930 (elf_machine_got_rel): Only add runtime display if needed.
68e1ab18 8931 (elf_machine_got_rel): Handle symbol versioning.
490a9ab7 8932
382e7b29
AJ
89332000-04-13 Andreas Jaeger <aj@suse.de>
8934
44a202c0 8935 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
ab718a79 8936
382e7b29
AJ
8937 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
8938 default.
8939
8940 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
8941 with some applications.
8942 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
8943
8944 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
8945 * sysdeps/mips/bsd-_setjmp.S: Likewise.
8946 * sysdeps/mips/setjmp.S: Likewise.
44a202c0
AJ
8947
8948 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
8f6f7a31 8949
3737ff12
UD
89502000-04-13 Ulrich Drepper <drepper@redhat.com>
8951
8952 * posix/globtest.sh: Work around inconsistency with expanding ~/
8953 in shell (PR libc/1690). Reported by patsmith@pobox.com.
8954
aee46704
UD
89552000-04-12 Ulrich Drepper <drepper@redhat.com>
8956
b3ae0650
UD
8957 * posix/getconf.c: Add support for many more POSIX options.
8958 * sysdeps/posix/sysconf.c: Likewise.
8959 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
8960 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
8961 _POSIX_SHELL.
8962 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
8963 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
8964 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
8965 CLOCK_THREAD_CPUTIME_ID.
8966 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
8967 CLOCK_PROCESS_CPUTIME_ID.
8968 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
8969 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
8970 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
8971 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
8972
aa780bab
UD
8973 * malloc/Makefile (tests): Add tst-calloc.
8974 * malloc/tst-calloc.c: New file.
8975
c49b2a4e
UD
8976 * sysdeps/arm/libm-test-ulps: New file.
8977
13f536d4
UD
8978 * malloc/malloc.c: Undo all of today's changes.
8979
92d2e18f
UD
8980 * locale/programs/locale.c (show_info): Don't try to look into
8981 data for LC_ALL (there is none).
8982
3ea1b82e
UD
8983 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
8984 avoid writing over boundary.
8985 Patch by Greg McGary <gkm@eng.ascend.com>.
8986
aee46704
UD
8987 * sysdeps/arm/memprof.h: New file.
8988
4a199526
UD
89892000-04-12 Andreas Jaeger <aj@suse.de>
8990
8991 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
8992
8993 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
8994 for memmem declaration.
8995
da240c6b
UD
89962000-04-12 Ulrich Drepper <drepper@redhat.com>
8997
4a199526
UD
8998 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
8999 to -1.
9000 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
9001
a4dec43d
UD
9002 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
9003 mode is invalid.
9004 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
9005 Patch by Bart Veer <bartv@redhat.com>.
9006
da240c6b
UD
9007 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
9008 function interface.
9009
bfe42f05
AJ
90102000-04-11 Andreas Jaeger <aj@suse.de>
9011
9012 * sysdeps/mips/dl-machine.h: Update some comments.
9013 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
9014
e7c036b3
UD
90152000-04-11 Ulrich Drepper <drepper@redhat.com>
9016
8a31d742
UD
9017 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
9018 _POSIX_SHARED_MEMORY_OBJECTS.
9019
ca99b8a0
UD
9020 * rt/Makefile (tests): Add tst-shm.
9021 Add rules to generate tst-shm.
9022 * rt/tst-shm.c: New file.
9023
fb125e0c
UD
9024 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
9025 for descriptor.
9026
a63be9f7
UD
9027 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
9028 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
9029 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
9030 * sysdeps/generic/shm_open.c: New file.
9031 * sysdeps/generic/shm_unlink.c: New file.
9032 * sysdeps/unix/sysv/linux/shm_open.c: New file.
9033 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
9034 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
9035 __endmntent, __getmntent_r, __setmntent, and __statfs.
9036
25728f03
UD
9037 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
9038 fragmentation by allocating new memory at the end instead of
9039 reallocating.
9040
e7c036b3
UD
9041 * posix/globtest.sh: Fix last change.
9042
90432000-04-10 Philip Blundell <philb@gnu.org>
9044
9045 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
9046 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
9047 IPV6_DROP_MEMBERSHIP.
9048 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
9049 Likewise.
9050
90512000-04-11 Ulrich Drepper <drepper@redhat.com>
9052
9053 * elf/readlib (process_file): Close streams in case of an error.
9054
90552000-04-09 Andreas Jaeger <aj@suse.de>
9056
9057 * elf/readlib.c (process_file): Check if file is big enough to
9058 contain aout and ELF headers.
9059 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
9060
90612000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
9062
9063 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
9064
90652000-04-11 Ulrich Drepper <drepper@redhat.com>
9066
9067 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
9068 stream unbuffered.
9069 * rt/Makefile (tests): Add tst-clock.
9070 Add rules to build tst-clock.
9071 * rt/tst-clock.c: New file.
9072 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
9073 about initialization of nsec.
9074 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
9075 about initialization of freq. Set retval to zero if successful.
9076 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
9077
6689a188
UD
90782000-04-10 Ulrich Drepper <drepper@redhat.com>
9079
9080 * Versions.def (librt): Add GLIBC_2.2.
9081 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
9082 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
9083 timer_getoverr, timer_gettime, and timer_settime.
9084 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
9085 clock_settime, timer_create, timer_delete, timer_getoverrun,
9086 timer_gettime, and timer_settime.
9087 * sysdeps/generic/clock_getcpuclockid.c: New file.
9088 * sysdeps/generic/get_clockfreq.c: New file.
9089 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
9090 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
9091 * sysdeps/mach/hurd/i386/bits/time.h: New file.
9092 * sysdeps/unix/i386/i586/clock_getres.c: New file.
9093 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
9094 * sysdeps/unix/i386/i686/Implies: New file.
9095 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
9096 * time/Makefile (routines): Move clock_getres, clock_gettime,
9097 clock_settime, timer_create, timer_delete, timer_getoverr,
9098 timer_gettime, and timer_settime to rt/Makefile.
9099 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
9100 clock_settime, timer_create, timer_delete, timer_getoverrun,
9101 timer_gettime, and timer_settime.
094f72c6 9102 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
6689a188
UD
9103
9104 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
9105 and not const as attribute name.
9106
25ee87d6
UD
91072000-04-10 Thorsten Kukuk <kukuk@suse.de>
9108
9109 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
9110
3b690639
UD
91112000-04-10 Andreas Schwab <schwab@suse.de>
9112
9113 * posix/globtest.sh: Skip tests that depend on unreadable
9114 directories if run as root.
9115
e79af11c
UD
91162000-04-10 Ulrich Drepper <drepper@redhat.com>
9117
9118 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
9119 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
9120
8956ac9e
UD
91212000-04-09 Ulrich Drepper <drepper@redhat.com>
9122
13fa3676
UD
9123 * sysdeps/unix/clock_gettime.c: New file.
9124 * sysdeps/unix/clock_settime.c: New file.
9125 * sysdeps/posix/clock_getres.c: New file.
9126
1a8de3e4
UD
9127 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
9128
4186c9f4
UD
9129 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
9130 lseek call be passing in a buffer which never allow a successful
9131 first getdents syscall if not at leas the initial entry can be
9132 stored in the user buffer.
9133
8956ac9e
UD
9134 * localedata/Makefile: Add rules to clean up directories created by
9135 new strfmon tests.
9136
91372000-04-09 Geoff Clare <gwc@unisoft.com>
9138
9139 * localedata/tst-fmon.data: Added new tests for strfmon()
9140 using test locales with all combinations of cs_precedes,
9141 sign_posn and sep_by_space.
9142 * localedata/tst-fmon.sh: Updated to support the new tests.
9143 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
9144 the localedef source for the new strfmon() test locale.
9145 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
9146 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
9147 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
9148 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
9149 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
9150 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
9151 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
9152 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
9153 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
9154 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
9155 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
9156 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
9157 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
9158 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
9159
9160 * stdlib/strfmon.c: Correct problems with missing or extra
9161 spaces for unusual combinations of sign_posn and sep_by_space.
9162 Improved left-precision alignment code.
9163
fe9d16a5
UD
91642000-04-07 Andreas Jaeger <aj@suse.de>
9165
9166 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
9167
ddf0c536
AJ
91682000-04-10 Andreas Jaeger <aj@suse.de>
9169
9170 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
9171
fd1b5c0f
UD
91722000-04-09 Ulrich Drepper <drepper@redhat.com>
9173
9174 Implement handling of restartable conversion functions according to
9175 ISO C.
9176 * iconv/gconv.h (__gconv_fct): Add additional parameter.
9177 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
9178 * iconv/gconv.c: Pass additional parameter to conversion function.
9179 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
9180 (internal_ucs4le_loop_single): New function.
9181 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
9182 (__gconv_transform_internal_ascii): Likewise.
9183 (__gconv_transform_internal_utf8): Likewise.
9184 (__gconv_transform_utf8_internal): Likewise.
9185 (__gconv_transform_ucs2_internal): Likewise.
9186 (__gconv_transform_internal_ucs2): Likewise.
9187 (__gconv_transform_ucs2reverse_internal): Likewise.
9188 (__gconv_transform_internal_ucs2reverse): Likewise.
9189 (internal_ucs4le_loop_unaligned): Before return
9190 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
9191 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
9192 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
9193 * iconv/loop.c: Fit in definition of function to convert one character
9194 for processing of left-over bytes from the state object.
9195 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
9196 inend to match names in loop functions.
9197 (RESET_INPUT_BUFFER): Change apprpriately.
9198 (gconv): If needed, call function to process bytes from the state
9199 object. Similar at the end: store left over bytes if input is
9200 incomplete.
9201 Take extra argument and add new argument to all calls of the
9202 conversion function.
9203 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
9204 information in the state object to not conflict with length count.
9205 * iconvdata/iso-2022-jp.c: Likewise.
9206 * iconvdata/iso-2022-kr.c: Likewise.
9207 * iconvdata/unicode.c: Adjust for change change in parameters of
9208 skeleton function.
9209 * iconvdata/utf-16.c: Likewise.
9210 * libio/iofwide.c: Add new parameter to all calls of conversion
9211 function.
9212 * wcsmbs/btowc.c: Likewise.
9213 * wcsmbs/mbrtowc.c: Likewise.
9214 * wcsmbs/mbsnrtowcs.c: Likewise.
9215 * wcsmbs/mbsrtowcs.c: Likewise.
9216 * wcsmbs/wcrtomb.c: Likewise.
9217 * wcsmbs/wcsnrtombs.c: Likewise.
9218 * wcsmbs/wcsrtombs.c: Likewise.
9219 * wcsmbs/wctob.c: Likewise.
9220
9221 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
9222 MAX_NEEDED_INPUT.
9223
22804455
AJ
92242000-04-07 Andreas Jaeger <aj@suse.de>
9225
9226 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
9227 newer kernels.
9228
aa831d6d
UD
92292000-04-07 Ulrich Drepper <drepper@redhat.com>
9230
9231 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
9232 element a union to allow byte access.
9233 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
9234 mbstate_t.
9235 * iconvdata/iso-2022-jp.c: Likewise.
9236 * iconvdata/iso-2022-kr.c: Likewise.
404ee5fc
UD
9237 * wcsmbs/mbsinit.c: Likewise.
9238 * stdlib/mblen.c: Likewise.
b837918e 9239 * stdio-common/printf-parse.h: Likewise.
aa831d6d 9240
a0dc5206
UD
92412000-04-06 Ulrich Drepper <drepper@redhat.com>
9242
f11b9da6
UD
9243 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
9244 kernel does not allow relative seeks on descriptors associated
9245 with directories. Go back to get the position in the directory
9246 every time we enter the function. Return -1 and set errno if one
9247 entry could be read from the kernel but does not fit into the
9248 buffer passed in by the user.
9249
a0dc5206
UD
9250 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
9251 Support ..(2).. ellipsis.
9252 (parse_charmap): Recognize ..(2).. etc and pass step down.
9253 Correctly generate names for UCS4 characters.
9254
9255 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
9256 (ctype_finish): We know the wide character value for <SP>,
9257 don't search.
9258 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
9259 (charclass_ucs4_ellipsis): Likewise.
9260 (read_translit_ignore_entry): Store ellipsis step.
9261 (ctype_read): Recognize ..(2).. etc and pass step down.
9262
9263 * locale/programs/linereader.c (lr_token): When seeing comment
9264 character ignore only rest of line in sources but stop at escaped
9265 newline.
9266 Recognize ..(2).. and ....(2).....
9267
9268 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
9269 and tok_ellipsis4_2.
9270
372f94ba
UD
92712000-04-06 Andreas Jaeger <aj@suse.de>
9272
9273 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
9274 removed, remove it here also.
9275 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
9276 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
9277 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
9278 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
9279
92802000-04-06 Jakub Jelinek <jakub@redhat.com>
9281
9282 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
9283 include bits/sigcontext.h.
9284 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9285
723faa38
UD
92862000-04-06 Ulrich Drepper <drepper@redhat.com>
9287
5943f0bc
UD
9288 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
9289 collation symbol definition. Value in quivalence definition must
9290 be defined, don't check that it is not.
9291
723faa38
UD
9292 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
9293 values as character names.
9294
9295 * locale/programs/ld-ctype.c (get_character): Handle missing
9296 repertoire map correctly.
9297
a1303dc8
UD
92982000-04-05 Cristian Gafton <gafton@redhat.com>
9299
9300 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
9301 because it is used in generic code.
9302 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
9303 * wcsmbs/wcwidth.h: Declare __ctype32_b.
9304 * intl/gettext.c: Include <locale.h>.
9305 * intl/ngettext.c: Likewise.
9306
93072000-04-05 Jakub Jelinek <jakub@redhat.com>
9308
9309 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
9310 socklen_t type for size.
9311 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
9312 init function interface.
9313 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9314 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
9315 sys/ucontext.h.
9316 (__jmp_buf): Declare the whole type structure here, don't use
9317 ucontext.
9318
2a0ff6ff
UD
93192000-04-05 Ulrich Drepper <drepper@redhat.com>
9320
a1303dc8
UD
9321 * iconv/skeleton.c (put16u): Fix typo.
9322 Reported by Bruno Haible <haible@ilog.fr>.
9323
2a0ff6ff
UD
9324 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
9325 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
9326 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
9327 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
9328 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
9329 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
9330
9331 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
9332 * Makefile (distribute): Add abi-versions.awk and
9333 firstversions.awk.
9334 Patches by Torsten Duwe <duwe@caldera.de>.
9335
5560eac7
UD
93362000-04-05 Andreas Schwab <schwab@suse.de>
9337
9338 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
9339
a6dd65cd
AS
93402000-04-05 Andreas Schwab <schwab@suse.de>
9341
9342 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
9343 entry point, used on Hurd.
9344
7d4de961
UD
93452000-04-04 Andreas Jaeger <aj@suse.de>
9346
9347 * intl/Makefile: Only run the gettext test with shared libraries.
9348
f0d872e9
UD
93492000-03-16 Mark Kettenis <kettenis@gnu.org>
9350
9351 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
9352 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
9353
7499a22a
RM
93542000-04-05 Roland McGrath <roland@baalperazim.frob.com>
9355
9356 * Makeconfig: Undo last change.
9357 * configure.in: If --disable-shared was given, don't set VERSIONING,
9358 don't define DO_VERSIONING, and don't give scare warning for no
9359 versioning.
9360 * configure: Regenerated.
9361
2c57ff21
RM
93622000-04-04 Roland McGrath <roland@baalperazim.frob.com>
9363
9364 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
9365
09847c8d
UD
93662000-04-04 Andreas Jaeger <aj@suse.de>
9367
9368 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
9369
3aaad0b6
UD
93702000-04-04 Ulrich Drepper <drepper@redhat.com>
9371
736d0841
UD
9372 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
9373 STV_HIDDEN and STV_INTERNAL during lookup.
9374 (profile_fixup): Likewise.
9375 * elf/dl-reloc.c (RESOLVE): Likewise.
9376
3aaad0b6
UD
9377 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
9378 unaligned so that it compiles for system which need unaligned
9379 access handling.
9380
0b7219cc
UD
93812000-04-04 Andreas Schwab <schwab@suse.de>
9382
9383 * elf/cache.c (print_entry): Only look at the type field when
9384 printing the type.
9385
93862000-04-04 Andreas Schwab <schwab@suse.de>
9387
9388 * iconvdata/big5.c (BODY): Fix typo.
9389
658943b9
AS
93902000-04-04 Andreas Schwab <schwab@suse.de>
9391
9392 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
9393 function interface. Remove unused _dl_start_user entry point.
9394
bd457114
UD
93952000-04-03 Andreas Jaeger <aj@suse.de>
9396
9397 * include/arpa/inet.h (__inet_aton): Add protoype.
9398
41aefe41
UD
93992000-04-01 Andreas Jaeger <aj@suse.de>
9400
9401 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
9402
9403 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
9404 * sysdeps/mach/mips/thread_state.h: Likewise.
9405
9406 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
9407 * sysdeps/generic/fegetenv.c: Likewise.
9408 * sysdeps/generic/fesetenv.c: Likewise.
9409 * sysdeps/generic/feupdateenv.c: Likewise.
9410 * sysdeps/generic/fraiseexcpt.c: Likewise.
9411 * sysdeps/generic/fsetexcptflg.c: Likewise.
9412 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
9413 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
9414 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
9415 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9416
94172000-04-02 H.J. Lu <hjl@gnu.org>
9418
9419 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
9420
ad085e8a
UD
94212000-04-03 Ulrich Drepper <drepper@redhat.com>
9422
839be784
UD
9423 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
9424 (add_name_to_object): Add cast in malloc call.
9425 (fillin_rpath): Optimize loop to initialize ->status a bit.
9426
f9b798ba
UD
9427 * sysdeps/i386/dl-machine.h: Undo last change.
9428 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
9429 Restore %edx register after call here.
9430
ad085e8a
UD
9431 * sysdeps/arm/atomicity.h: New file.
9432 Contributed by Jesper Skov <jskov@redhat.com>.
9433
c6d80202
RM
94342000-04-03 Roland McGrath <roland@baalperazim.frob.com>
9435
ca5becb0
RM
9436 * Makeconfig (preprocess-versions): Undo last change.
9437 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
9438
c6d80202
RM
9439 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
9440 here, before we might move the stack.
9441 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
9442 (init1): And not here.
9443
9444 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
9445 change, to restore argc value in call-clobbered register after
9446 RTLD_START_SPECIAL_INIT, which will contain a call.
9447
9448 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
9449 allocating and initializing L->l_initfini.
9450
9451 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
9452
152e7964
UD
94532000-04-03 Ulrich Drepper <drepper@redhat.com>
9454
9455 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
9456 RUNPATH, RPATH, and LD_LIBRARY_PATH.
9457 (open_path): Change type of fourth parameter. Make pointer to array
9458 of pointers. Create variable dirs with original type.
9459 Track whether any directory for the object exists and if not,
9460 change *DIRSP to (void*) -1 to signal there is no such search path.
9461 (_dl_map_object): Change all calls of open_path.
9462 Rewrite decompose_rpath calls.
9463
42ba2c11
UD
94642000-03-31 Andreas Schwab <schwab@suse.de>
9465
9466 * string/strfry.c: Declare STATE as array of char instead of int
9467 and do not initialize it (done by initstate_r). Pass correct
9468 size.
9469
0a63529d
UD
94702000-04-03 Ulrich Drepper <drepper@redhat.com>
9471
42ba2c11
UD
9472 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
9473
0a63529d
UD
9474 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
9475 instruction out of the code.
9476
cf197e41
UD
94772000-04-02 Ulrich Drepper <drepper@redhat.com>
9478
9479 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
9480 element at this position.
9481
9482 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
9483 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
9484 l_reldeps elements.
9485 * elf/dl-lookup.c (add_dependency): New function.
9486 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
9487 dynamically loaded object.
9488 (_dl_lookup_symbol_skip): Likewise.
9489 (_dl_lookup_versioned_symbol): Likewise.
9490 (_dl_lookup_versioned_symbol_skip): Likewise.
9491 * elf/dl-open.c: Don't define _dl_load_lock here...
9492 * elf/rtld.c: ...but here...
9493 * elf/dl-support.c: ...and here.
9494 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
9495 through relocation.
9496 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
9497 relocations.
9498 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
9499 anymore.
9500 * dlfcn/glrefmain.c: Add one more debug message.
9501
9502 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
9503 command line.
9504 * Makerules (sysd-versions): Use ( ) instead of { }.
9505
9506 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
9507 optimize for the non-debugging case.
9508 * elf/dl-lookup.c: Likewise.
9509 * sysdeps/generic/libc-start.c: Likewise.
9510
e1724cd7
RM
95112000-04-02 Roland McGrath <roland@baalperazim.frob.com>
9512
5879ee9f
RM
9513 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
9514 (init1): Don't initialize __environ here, since init already does it.
9515 (first_init): New function, broken out of _init.
9516 (_hurd_stack_setup): Use it.
9517 [SHARED] (_dl_init_first): New function, renamed from old _init.
9518 (init1) [SHARED]: Don't call posixland_init here.
9519 (posixland_init): Take ENVP arg, so signature is usual for initializer.
9520 [SHARED] (_init): Define as alias for posixland_init.
9521 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
9522 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
9523 RTLD_START_SPECIAL_INIT before calling initializers.
9524 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
9525 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
9526 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
9527 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
9528
e1724cd7
RM
9529 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
9530 since we define the function with the name `tmpfile'.
9531
9532 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
9533 * hurd/Versions: Likewise.
9534
e10b8512
UD
95352000-04-02 Ulrich Drepper <drepper@redhat.com>
9536
e1724cd7 9537 * elf/dl-runtime.c (fixup): Fix typo in comment.
d8655fd7 9538
e1724cd7 9539 * resolv/netdb.h (getnameinfo): All length parameters are of type
e10b8512
UD
9540 socklen_t.
9541 * inet/getnameinfo.c: Likewise.
9542
0adb8e47
UD
95432000-04-01 Ulrich Drepper <drepper@redhat.com>
9544
750f9af6
UD
9545 * posix/unistd.h (socklen_t): Define if it has not yet happened.
9546 (gethostname): Change type of second parameter to socklen_t.
9547 * include/unistd.h (__gethostname): Change type of second
9548 parameter to socklen_t.
9549 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
9550 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
9551 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
9552 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
9553 Likewise.
9554 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
9555 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
9556 Allow definition elsewhere.
9557 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
9558 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9559 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
9560 * sysdeps/generic/bits/types.h: Define __socklen_t.
9561 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
9562 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
9563 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
9564 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9565 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
9566 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
9567 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
9568
ad483238
UD
9569 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
9570 (inet_lnaof): Likewise.
9571 (inet_netof): Likewise.
9572 (inet_network): Likewise.
9573 (inet_aton): Likewise.
9574 (inet_makeaddr): Change parameter types to in_addr_t.
9575 (inet_neta): Likewise.
9576 (inet_ntop): Change type of last parameter to socklen_t.
9577 (inet_aton): Only make available if __USE_MISC.
9578 (inet_neta): Likewise.
9579 (inet_net_ntop): Likewise.
9580 (inet_net_pton): Likewise.
9581 (inet_nsap_ntoa): Likewise.
9582
9583 * inet/in.h: Define in_port_t type.
9584 Define in_addr_t type.
9585 (struct in_addr): Use in_addr_t in definition.
9586 (IN_CLASSA): Use cast to in_addr_t.
9587 (IN_CLASSB): Likewise.
9588 (IN_CLASSC): Likewise.
9589 (IN_CLASSD): Likewise.
9590 (IN_EXPERIMENTAL): Likewise.
9591 (IN_BADCLASS): Likewise.
9592 (INADDR_ANY): Likewise.
9593 (INADDR_BROADCAST): Likewise.
9594 (INADDR_NONE): Likewise.
9595 (INADDR_LOOPBACK): Likewise.
9596 (INADDR_UNSPEC_GROUP): Likewise.
9597 (INADDR_ALLHOSTS_GROUP): Likewise.
9598 (INADDR_ALLRTRS_GROUP): Likewise.
9599 (INADDR_MAX_LOCAL_GROUP): Likewise.
9600 (struct sockaddr_in): Use in_port_t for sin_port element.
9601 (struct sockaddr_in6): Use in_port_t for sin6_port element.
9602 Use uint8_t instead of u_int8_t.
9603
9604 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
9605 Call __inet_aton instead of inet_aton.
9606 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
9607
9608 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
9609 (innetgr): Likewise.
9610 (struct addrinfo): Use socklen_t for ai_addrlen element.
9611
9612 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
9613 IPV6_RECVERR): New defines.
9614
9b48fa9b
UD
9615 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
9616 * inet/getnetbyad.c: Likewise.
9617 * inet/getnetbyad_r.c: Likewise.
9618 * nis/nss_nis/nis-network.c: Likewise.
9619 * nis/nssplus_nis/nisplus-network.c: Likewise.
9620 * nss/nss_files/files-network.c: Likewise.
9621 * resolv/netdb.h: Define uint32_t if not already happened.
9622 Include bits/netdb.h. Remove definition of struct netent.
9623 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
9624 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
9625 * sysdeps/generic/bits/netdb.h: New file.
9626 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
9627
4380ef5e
UD
9628 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
9629 (tests): Add glrefmain.
9630 Add rules to build modules and run tests. Ignore result of glrefmain
9631 for now since it fails.
9632 * dlfcn/glrefmain.c: New file.
9633 * dlfcn/glreflib1.c: New file.
9634 * dlfcn/glreflib2.c: New file.
9635
9636 * test-skeleton.c: Include <string.h> for strsignal prototype.
9637
289e8e7e
UD
9638 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
9639 to be missing.
9640
0adb8e47
UD
9641 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
9642 former init-first.h. Initialize __libc_multiple_libcs.
9643
c0c2af07
UD
96442000-03-31 Ulrich Drepper <drepper@redhat.com>
9645
c1db8b0d
UD
9646 * iconv/skeleton.c: Define access macros with u suffix. Adjust
9647 #if expression for use of unaligned function to the one used in
9648 the definition of these functions.
6674e127 9649 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
c1db8b0d
UD
9650 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
9651 (internal_ucs4le_loop_unaligned): New function.
9652
c0c2af07
UD
9653 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
9654 (tests): Add order.
9655 (module-names): Add dep1, dep2, dep3, and dep4.
9656 Add dependencies for dep* modules and order.
9657 Define rule for order.out which checks the result.
9658 * elf/dep1.c: New file.
9659 * elf/dep2.c: New file.
9660 * elf/dep3.c: New file.
9661 * elf/dep4.c: New file.
9662 * elf/order.c: New file.
9663
e1724cd7 9664 * elf/dl-init.c: Fix typo in comment.
c0c2af07 9665
ad08a5b6
AJ
96662000-03-31 Andreas Jaeger <aj@suse.de>
9667
9668 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
9669 init function interface.
9670 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
9671
e7960df5
AJ
96722000-03-31 Andreas Jaeger <aj@suse.de>
9673
36d04330
AJ
9674 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
9675 * sysdeps/mips/fpu/fegetenv.c: Likewise.
9676 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
9677 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
9678 * sysdeps/mips/fpu/fesetenv.c: Likewise.
9679
88fdf42f 9680 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
e1724cd7 9681 anymore, update comment.
88fdf42f 9682
e7960df5
AJ
9683 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9684
9685 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
9686 SHLIB_COMPAT - the struct is always needed.
9687
9ad04ff7
UD
96882000-03-31 Ulrich Drepper <drepper@redhat.com>
9689
9690 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
9691 * elf/dl-support.c: Define _dl_starting_up.
9692
924c3f59
UD
96932000-03-30 Ulrich Drepper <drepper@redhat.com>
9694
9ad04ff7 9695 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
7688db91
UD
9696 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
9697
9ad04ff7 9698 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
7688db91 9699
d7926ed9
UD
9700 * elf/Makefile (dl-routines): Remove preinit.
9701 * elf/Versions: Remove _dl_preinit.
9702 * elf/dl-preinit.c: Removed. Move content into...
9703 * elf/dl-init.c: ...here.
758cb061 9704 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
d7926ed9 9705
924c3f59 9706 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
9ad04ff7 9707 elements.
924c3f59 9708
9e9e0532
UD
97092000-03-29 Geoff Clare <gwc@unisoft.com>
9710
9711 * stdlib/strfmon.c: Corrected problems with the code that
9712 sets default values for [np]_sep_by_space and
9713 [np]_sign_posn; also the new positive/negative alignment
9714 code from the previous patch was not quite right for
9715 [np]_sign_posn = 0.
9716
9717 * localedata/tst-fmon.data: Changes corresponding to the
9718 two sets of fixes made to stdlib/strfmon.c.
9719
b5567b2a
UD
97202000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
9721
9722 * malloc/malloc.c: Declare bit flags UL so that they will not
9723 default to int size when being inverted.
9724
97252000-03-29 Andreas Jaeger <aj@suse.de>
9726
9727 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
9728 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
9729
97302000-03-29 Andreas Jaeger <aj@suse.de>,
c1db8b0d 9731 Ralf Baechle <ralf@uni-koblenz.de>
b5567b2a
UD
9732
9733 * Makeconfig: Introduce new variable SHARED to mark code used in
9734 the shared library.
9735 * elf/dl-close.c: Use it instead of PIC.
9736 * elf/dl-load.c: Likewise.
9737 * elf/dl-open.c: Likewise.
9738 * hurd/geteuids.c: Likewise.
9739 * include/libc-symbols.h: Likewise.
9740 * include/shlib-compat.h: Likewise.
9741 * libio/freopen.c: Likewise.
9742 * linuxthreads/cancel.c: Likewise.
9743 * linuxthreads/pthread.c: Likewise.
9744 * linuxthreads/wrapsyscall.c: Likewise.
9745 * nss/nsswitch.c: Likewise.
9746 * stdio-common/vfprintf.c: Likewise.
9747 * sysdeps/arm/init-first.c: Likewise.
9748 * sysdeps/i386/init-first.c: Likewise
9749 * sysdeps/generic/init-first.c: Likewise.
9750 * sysdeps/generic/libc-start.c: Likewise.
9751 * sysdeps/mips/init-first.c: Likewise.
9752 * sysdeps/powerpc/elf/libc-start.c: Likewise.
9753 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9754 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
9755 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
9756 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9757
9758 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
9759
b86120ed
UD
97602000-03-29 Andreas Jaeger <aj@suse.de>
9761
9762 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
9763 Use D_PTR to access relocated entries in l_info.
9764 (elf_machine_rela): Likewise.
9765
9766 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
9767 Likewise.
9768 (elf_machine_rela): Likewise.
9769
9770 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
9771 Likewise.
9772 (__elf_machine_fixup_plt): Likewise.
9773 (__process_machine_rela): Likewise.
9774
9775 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
9776 (elf_machine_rela): Likewise.
9777
9778 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
9779 (elf_machine_rel): Likewise.
9780
9781 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
9782 (elf_machine_fixup_plt): Likewise.
9783 (elf_machine_rela): Likewise.
9784
97852000-03-29 Andreas Jaeger <aj@suse.de>
9786
9787 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
9788 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9789 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9790 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
9791 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
9792 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
9793 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
9794 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
9795 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
9796 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
9797 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
9798 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
9799 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
9800 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
9801 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9802
9803 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
9804 macros, remove K&R prototypes.
9805
05c54d4c
UD
98062000-03-30 Ulrich Drepper <drepper@redhat.com>
9807
9808 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
9809 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
9810 (PR libc/1677).
9811
7f4e0e58
UD
98122000-03-30 Andreas Jaeger <aj@suse.de>
9813
9814 * misc/sys/cdefs.h: Remove K&R support.
9815
fdf64555
UD
98162000-03-30 Ulrich Drepper <drepper@redhat.com>
9817
9818 * iconv/skeleton.c: Avoid compiling unaligned versions in some
9d54e984 9819 more cases.
fdf64555
UD
9820 * iconv/loop.c: Likewise.
9821
99a7e065
UD
98222000-03-29 Bruno Haible <haible@clisp.cons.org>
9823
9824 * iconv/loop.c (put16): Remove __const. Fix access index.
9825 (put32): Remove __const. Use uint32_t instead of uint16_t.
9826 * iconv/skeleton.c: Likewise.
9827
9a95cd1c
RM
98282000-03-30 Roland McGrath <roland@baalperazim.frob.com>
9829
9830 * mach/Versions (libc: GLIBC_2.0)
9831 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
9832 __vm_allocate on this.
9833 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
9834 mutex- and spinlock-related symbols on this.
9835 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
9836 New version set. Lock-related symbols go here instead in this case.
9837 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
9838 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
9839 cthread_getspecific, cthread_setspecific, __libc_getspecific.
9840 * hurd/Versions
9841 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
9842 Put them here instead.
9843 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
9844 New version set. Those cthreads symbols go here instead in this case.
9845 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
9846
dacc8ffa
UD
98472000-03-30 Ulrich Drepper <drepper@redhat.com>
9848
841288ec
UD
9849 * elf/dl-init.c (_dl_init): We don't need to call constructors
9850 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
9851
dacc8ffa
UD
9852 Implement dynamic determination of constructor/destructor order in
9853 the dynamic linker.
9854 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
9855 (GLIBC_2.2): Add _dl_init.
9856 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
9857 r_duplist is not anymore allocated separately. l_initfini is and
9858 therefore free it if necessary.
9859 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
9860 malloc block. Otherwise allocate l_initfini list only.
9861 Put dependencies for the object in l_initfini list.
9862 Sort dependencies for the object to be loaded topologically.
9863 * elf/dl-fini.c: Before running the destructors sort the topologically.
9864 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
9865 call constructors instead of iterating over the pointers. Get list of
9866 objects for which to run constructors from l_initfini element. Accept
9867 argc, argv, and env as parameters and pass them to the constructors.
9868 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
9869 with size of dynamic section.
9870 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
9871 _dl_init_next and calling constructors ourself.
9872 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
9873 Take argc, argv, and env as parameters and pass them to the
9874 constructors. Rewrite to call all constructors and not iterate over
9875 the pointers.
9876 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
9877 precompute l_initcount and l_preinitcount.
9878 * elf/link.h (struct link_map): Add l_ldnum member.
9879 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
9880 l_initcount, and l_preinitcount. Add l_initfini.
9881 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
9882 one for _dl_init.
9883 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
9884 function interface.
9885 * sysdeps/unix/sysv/linux/init-first.h: Removed.
9886 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
9887 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
9888 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
9889 conventions now match.
9890
9891 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
9892 effect for shared objects. Don't emit message and call only for
9893 static library.
9894
38e986ec
UD
98952000-03-29 Ulrich Drepper <drepper@redhat.com>
9896
9897 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
9898 CSA_Z243.4-1985-1..UCS2.
9899 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
9900 ISO-8859-10..UCS2.
9901
689993b2
AJ
99022000-03-29 Andreas Jaeger <aj@suse.de>
9903
dab715b9
AJ
9904 * include/unistd.h: Remove duplicate entry for __rmdir.
9905 Remove declaration of __mkdir since __mkdir is declared in
9906 sys/stat.h.
9907
56fbd811
AJ
9908 * manual/creature.texi (Feature Test Macros): Fix typo, reported
9909 by Michael Deutschmann <michael@talamasca.ocis.net>.
9910
689993b2
AJ
9911 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
9912 * sysdeps/mips/fpu/fegetenv.c: Likewise.
9913 * sysdeps/mips/fpu/fesetenv.c: Likewise.
9914 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
9915 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
9916
300583a7
UD
99172000-03-28 Andreas Jaeger <aj@suse.de>
9918
9919 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
9920 declaration, the prototype is defined via bits/mathcalls.h.
9921 (__sincosf): Likewise.
9922 (__sincosl): Likewise.
9923 (ldexp): Likewise.
9924 (ldexpf): Likewise.
9925 (ldexpl): Likewise.
9926 (__finite): Likewise.
10685cd0 9927 (__inline_mathcodeNP): New macro without prototype
300583a7 9928 declarations.
10685cd0
AJ
9929 (__inline_mathcodeNP2): Likewise.
9930 (__inline_mathcodeNP3): Likewise.
9931 (__inline_mathcodeNP_): Likewise.
9932 (__inline_mathcodeNP2_): Likewise.
9933 (__inline_mathcodeNP3_): Likewise.
9934 (__inline_mathopNP): Likewise.
9935 (__inline_mathop_declNP): Likewise.
9936 (__inline_mathop_declNP_): Likewise.
300583a7
UD
9937 (__inline_mathcode_): Use __inline_mathcodeNP_.
9938 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
9939 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
9940 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
9941 (__expm1l): Don't define prototype, the prototype is defined via
9942 bits/mathcalls.h.
9943 (exp): Likewise.
9944 (__expl): Likewise.
9945 (tan): Likewise.
9946 (atan2): Likewise.
9947 (__atan2l): Likewise.
9948 (fmod): Likewise.
9949 (pow): Likewise.
10685cd0
AJ
9950 (fabsf): Likewise.
9951 (fabsl): Likewise.
9952 (__fabsl): Likewise.
300583a7
UD
9953 (asin): Likewise.
9954 (acos): Likewise.
9955 (sinh): Likewise.
9956 (cosh): Likewise.
9957 (tanh): Likewise.
9958 (floor): Likewise.
9959 (ceil): Likewise.
9960 (expm1): Likewise.
9961 (log1p): Likewise.
9962 (asinh): Likewise.
9963 (acosh): Likewise.
9964 (atanh): Likewise.
9965 (hypot): Likewise.
9966 (logb): Likewise.
9967 (fma): Likewise.
9968 (drem): Likewise.
9969 (sqrt): Likewise.
9970 (__sqrtl): Likewise.
9971 (sin): Likewise.
9972 (cos): Likewise.
9973 (atan): Likewise.
9974 (log): Likewise.
9975 (log10): Likewise.
9976 (asinh): Likewise.
9977 (log2): Likewise.
9978 (rint): Likewise.
9979
77e1d15a
UD
99802000-03-28 Ulrich Drepper <drepper@redhat.com>
9981
d2b9a50e
UD
9982 * Makerules: If make variable md5 is defined to yes after
9983 generating dependencies generate MD5 sum for the object.
9984
9dfa9a5a
UD
9985 * iconv/gconv_builtin.h: Fix length in transformation definition
9986 for UNICODEBIG.
9987
77e1d15a
UD
9988 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
9989
9990 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
9991 allow as well reading from/writing to unaligned addresses on machines
9992 which don't support this in hardware. Use FCTNAME macro to define
9993 function name. Include the file a second time for platforms which
9994 need special unaligned handling.
9995 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
9996 to access potentially unaligned addresses. These macros are intended
9997 to be used only outside the loops.
9998 (unaligned): New definition. In case the machine can handle unaligned
9999 access define as zero. Otherwise as a variable which is initialized
10000 as nonzero in case the buffer passed in at runtime is unaligned with
10001 respect to the character set encoding involved.
10002 Call aligned or unaligned looop functions according to unaligned
10003 variable.
10004 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
10005 of direct casting pointer to potentially handle unaligned memory
10006 accesses.
10007 * iconvdata/8bit-generic.c: Likewise.
10008 * iconvdata/ansi_x3.110.c: Likewise.
10009 * iconvdata/big5.c: Likewise.
10010 * iconvdata/euc-cn.c: Likewise.
10011 * iconvdata/euc-jp.c: Likewise.
10012 * iconvdata/euc-kr.c: Likewise.
10013 * iconvdata/euc-tw.c: Likewise.
10014 * iconvdata/gbk.c: Likewise.
10015 * iconvdata/iso-2022-cn.c: Likewise.
10016 * iconvdata/iso-2022-jp.c: Likewise.
10017 * iconvdata/iso-2022-kr.c: Likewise.
10018 * iconvdata/iso646.c: Likewise.
10019 * iconvdata/iso_6937-2.c: Likewise.
10020 * iconvdata/iso_6937.c: Likewise.
10021 * iconvdata/johab.c: Likewise.
10022 * iconvdata/sjis.c: Likewise.
10023 * iconvdata/t.61.c: Likewise.
10024 * iconvdata/uhc.c: Likewise.
10025 * iconvdata/unicode.c: Likewise.
10026 * iconvdata/utf-16.c: Likewise.
10027
10028 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
10029 prototypes.
10030
10031 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
10032 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
10033 public.
10034 * malloc/mcheck.h (mcheck_check_all): Declare.
10035
10036 * stdio-common/Makefile (tests): Add tst-obprintf.
10037
26c400e6
RM
100382000-03-28 Roland McGrath <roland@baalperazim.frob.com>
10039
10040 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
10041 Declare pthread_sigmask.
10042
10043 * csu/version.c: Add 2000 to copyright years.
10044 Remove Emacs local variables section.
10045
428bcea4
UD
100462000-03-23 Bruno Haible <haible@clisp.cons.org>
10047
10048 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
10049 __gconv_transform_internal_ucs2little): Remove declarations.
10050 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
10051 __gconv_transform_internal_ucs2): Never need to bswap_16.
10052 (__gconv_transform_ucs2reverse_internal,
10053 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
10054
58dc1d49
RM
100552000-03-27 Roland McGrath <roland@baalperazim.frob.com>
10056
65b4f10b
RM
10057 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
10058 obsoleting version not being defined at all, in which case the
10059 result is always true.
10060
58dc1d49
RM
10061 * Makeconfig (preprocess-versions): New canned sequence for running
10062 cpp on shlib-versions and the like.
10063 (soversions.i): Use it.
10064 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
10065 Versions.def and Versions files.
10066
670066c3
UD
100672000-03-27 Ulrich Drepper <drepper@redhat.com>
10068
22d5fbfe
UD
10069 * stdio-common/tst-obprintf.c (main): Add another check to see
10070 obstack_printf handling all possible beginnings of the block
10071 inside an obstack chunk.
10072
670066c3
UD
10073 * locale/programs/localedef.c: Use __malloc_initialize_hook to
10074 install mcheck handler.
10075
10076 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
10077 handling problem.
22d5fbfe 10078
3e5155f8
RM
100792000-03-27 Roland McGrath <roland@baalperazim.frob.com>
10080
9010d7f8
RM
10081 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
10082
3e5155f8
RM
10083 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
10084 on [HAVE_ELF && DO_VERSIONING].
10085
0c04b91e
UD
100862000-03-27 Ulrich Drepper <drepper@redhat.com>
10087
10088 * stdio-common/tst-obprintf.c: New file.
10089
8e605e78
UD
100902000-03-26 Ulrich Drepper <drepper@redhat.com>
10091
9202ffe3
UD
10092 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
10093 _IO_OVERFLOW directly instead through __overflow.
10094
30e0f9c3
UD
10095 * locale/programs/localedef.c (construct_output_path): If path
10096 contains a / compute the end of the directory name correctly.
10097
8e605e78
UD
10098 * include/features.h: Undef and document __USE_XOPEN2K.
10099
10100 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
10101 whenever a function is called. Initiated by calling mcheck_pedantic
10102 instead of mcheck.
10103 * malloc/mcheck.h: Declare mcheck_pedantic.
10104 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
10105 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
10106 for now.
10107
4c63ebaa
UD
101082000-03-26 Roland McGrath <roland@baalperazim.frob.com>
10109
16710d58
RM
10110 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
10111 * dlfcn/dlopenold.c: Likewise.
10112 * nss/getXXbyYY_r.c: Likewise.
10113 * nss/getXXent_r.c: Likewise.
10114 * hurd/hurdinit.c: Likewise.
10115 * hurd/compat-20.c: Likewise.
10116 * libio/oldiofopen.c: Likewise.
10117 * libio/oldiofclose.c: Likewise.
10118 * libio/oldiofdopen.c: Likewise.
10119 * libio/oldfileops.c: Likewise.
10120 * libio/oldstdfiles.c: Likewise.
10121 * libio/oldiofsetpos.c: Likewise.
10122 * libio/oldiofgetpos.c: Likewise.
10123 * libio/oldiofgetpos64.c: Likewise.
10124 * libio/oldiofsetpos64.c: Likewise.
10125 * libio/oldiopopen.c: Likewise.
10126 * libio/oldpclose.c: Likewise.
10127 * libio/oldtmpfile.c: Likewise.
10128 * libio/freopen.c (freopen): Likewise.
10129 * libio/iofclose.c (_IO_new_fclose): Likewise.
10130
54f6cbb3
RM
10131 * sysdeps/mach/sys/reboot.h: Include <features.h>.
10132 (reboot): Declare it.
10133
1c479f72
RM
10134 * libio/Makefile (headers): Add bits/stdio-lock.h here.
10135
10136 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
10137
a7ca88b8
RM
10138 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
10139
4c63ebaa
UD
10140 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
10141 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
10142 We need this for the sbrk decl, which can be included without Unix98.
10143
c7e41631
UD
101442000-03-20 Richard Henderson <rth@cygnus.com>
10145
10146 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
10147 argument to yperr2nss is an int, not size_t.
10148 * posix/regex.c (print_partial_compiled_pattern): Cast all
10149 ptrdiff_t to long for printing.
10150 (print_compiled_pattern): Use Z for printing size_t.
10151 * posix/testfnm.c (tests): Avoid trigraphs.
10152 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
10153 Use a C comment, not an assembly comment.
10154
10155 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
10156 of __ASSUME_32BITUIDS.
10157
6d2e234a
UD
101582000-03-26 Ulrich Drepper <drepper@redhat.com>
10159
10160 * libio/iofopncook.c: Remove K&R prototypes.
10161
2e6f096f
RM
101622000-03-26 Roland McGrath <roland@baalperazim.frob.com>
10163
10164 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
10165 an initial value of 1024 instead of RLIM_INFINITY.
10166
10167 * Versions.def (libmachuser, libhurduser): Remove these sections,
10168 since these libraries do not presently use symbol versions.
10169
10170 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
10171 is RLIM_INFINITY, return -1 instead.
10172
4fcddf8e
UD
101732000-03-24 Andreas Jaeger <aj@suse.de>
10174
10175 * Makefile (postclean): Added soversions.i.
10176
101772000-03-24 Scott Bambrough <scottb@netwinder.org>
10178
10179 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
10180 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
10181 and _FPU_IEEE. Change _FPU_RESERVED.
10182
101832000-03-24 Scott Bambrough <scottb@netwinder.org>
10184
10185 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
10186
101872000-03-24 Roland McGrath <roland@baalperazim.frob.com>
10188
10189 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
10190 (gaih_inet): Remove unused duplicate variable.
10191
10192 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
10193 Don't use __libc_sa_len, which only exists for Linux. Just handle
10194 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
10195 only flavors supported by this function anyway.
10196
101972000-03-24 Geoff Clare <gwc@unisoft.com>
10198
9d54e984 10199 * stdlib/strfmon.c: Corrected problems with missing signs and
4fcddf8e
UD
10200 missing or extra spaces; allow for sign strings longer than
10201 one character; add padding to ensure positive and negative
10202 formats are aligned when a left precision is used.
10203
102042000-03-26 Ulrich Drepper <drepper@redhat.com>
10205
10206 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
10207 Patch by John Mizel <John.Mizel@msdw.com>.
10208
0efadcd9
UD
102092000-03-25 Ulrich Drepper <drepper@redhat.com>
10210
10211 * manual/install.texi: Remove references to crypt add-on.
10212
9e3438be
RM
102132000-03-25 Roland McGrath <roland@baalperazim.frob.com>
10214
10215 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
10216 section while taking the _hurd_rlimit_lock.
10217 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
10218
4f173e2c
RM
102192000-03-24 Roland McGrath <roland@baalperazim.frob.com>
10220
6a08db09
RM
10221 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
10222 using $(LN_S).
10223
4f173e2c
RM
10224 * sysdeps/mach/hurd/if_index.c: New file.
10225
10226 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
10227 * sysdeps/gnu/net/if.h: here.
10228 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
10229 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
10230 * sysdeps/generic/net/if.h: New file. Declares just the standard
10231 functions and `struct if_nameindex' type.
10232 * socket/Makefile (headers): Add net/if.h here.
10233 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
10234 * sysdeps/mach/hurd/Dist: Remove it here.
10235 * sysdeps/unix/sysv/linux/Dist: And here.
10236 * sysdeps/generic/if_index.c: Include <net/if.h>.
10237
e63721a4
AJ
102382000-03-24 Andreas Jaeger <aj@suse.de>
10239
10240 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
10241 access relocated entries in l_info.
10242 (elf_machine_got_rel): Likewise.
10243 (elf_machine_runtime_setup): Likewise.
10244 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
10245 (elf_machine_runtime_setup): Likewise.
10246 (__dl_runtime_resolve): Likewise.
10247
383052e9
UD
102482000-03-23 Ulrich Drepper <drepper@redhat.com>
10249
10250 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
10251 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
10252 according to RFC 2553.
10253 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
10254 * inet/getnameinfo.c: Likewise.
10255 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
10256
c0bc5f7b
UD
102572000-03-23 Bruno Haible <haible@clisp.cons.org>
10258
10259 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
10260 Remove no-op pointer increment.
10261
7392ce9b
UD
102622000-03-23 Andreas Jaeger <aj@suse.de>
10263
10264 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
10265 follow change for libio.h from 2000-03-10.
10266
a42195db
UD
102672000-03-23 Andreas Jaeger <aj@suse.de>
10268
10269 * elf/dl-addr.c: Adjust include paths for ldsodefs location
10270 change.
10271 * elf/dl-debug.c: Likewise.
10272 * elf/dl-deps.c: Likewise.
10273 * elf/dl-error.c: Likewise.
10274 * elf/dl-fini.c: Likewise.
10275 * elf/dl-init.c: Likewise.
10276 * elf/dl-load.c: Likewise.
10277 * elf/dl-lookup.c: Likewise.
10278 * elf/dl-minimal.c: Likewise.
10279 * elf/dl-object.c: Likewise.
10280 * elf/dl-open.c: Likewise.
10281 * elf/dl-preinit.c: Likewise.
10282 * elf/dl-profile.c: Likewise.
10283 * elf/dl-profstub.c: Likewise.
10284 * elf/dl-reloc.c: Likewise.
10285 * elf/dl-runtime.c: Likewise.
10286 * elf/dl-support.c: Likewise.
10287 * elf/dl-symbol.c: Likewise.
10288 * elf/dl-version.c: Likewise.
10289 * elf/rtld.c: Likewise.
10290 * elf/sprof.c: Likewise.
10291 * sysdeps/generic/dl-cache.c: Likewise.
10292 * sysdeps/generic/dl-origin.c: Likewise.
10293 * sysdeps/generic/dl-sysdep.c: Likewise.
10294 * sysdeps/generic/elf/backtracesyms.c: Likewise.
10295 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
10296 * sysdeps/generic/libc-start.c: Likewise.
10297 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10298 * sysdeps/powerpc/dl-machine.c: Likewise.
10299 * sysdeps/powerpc/elf/libc-start.c: Likewise.
10300 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10301 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10302 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
10303
10304 * elf/ldsodefs.h: Move file to ...
10305 * sysdeps/generic/ldsodefs.h: ... here.
10306
10307 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
7392ce9b 10308
a42195db
UD
10309 * sysdeps/mips/elf/ldsodefs.h: New file.
10310
10311 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
10312 entries in l_info.
10313 (_dl_check_map_versions): Likewise.
10314 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10315 * elf/dl-load.c (_dl_init_paths): Likewise.
10316 (_dl_map_object): Likewise.
10317 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
10318 (elf_get_dynamic_info): Likewise.
10319 * elf/do-lookup.h (FCT): Likewise.
10320 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
10321 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
10322 * elf/dl-addr.c (_dl_addr): Likewise.
10323 * elf/dl-runtime.c (profile_fixup): Likewise.
10324 (fixup): Likewise.
10325 * elf/dl-init.c (_dl_init_next): Likewise.
10326 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
10327 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
10328 (DISTINGUISH_LIB_VERSIONS): Likewise.
10329 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
10330 (elf_machine_rel): Likewise.
10331
10332 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
10333 for writable dynamic section.
10334
922809a2
UD
103352000-03-22 Ulrich Drepper <drepper@redhat.com>
10336
10337 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
10338 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
10339
103402000-03-22 Andreas Jaeger <aj@suse.de>
10341
10342 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
10343 from latest Linux kernel.
10344
0ddd06d1
AJ
103452000-03-21 Andreas Jaeger <aj@suse.de>
10346
10347 * Versions.def: Add version 2.1.4.
10348
1ab1ea76
UD
103492000-03-21 Ulrich Drepper <drepper@redhat.com>
10350
10351 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
10352 * libio/oldiofopen.c: Likewise.
10353 * libio/oldiofclose.c: Likewise.
ef7dddd0 10354 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
1ab1ea76 10355
42f76b6b
RM
103562000-03-22 Roland McGrath <roland@baalperazim.frob.com>
10357
10358 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
10359 indicating the first version set to obsolete the conditionalized code.
2ae13e20 10360 (compat_symbol): New macro.
42f76b6b
RM
10361 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
10362 rhs be the ABI_* macro for the subsuming version. Assign increasing
10363 integer values to the ABI_* macros for supported versions.
2ae13e20
RM
10364 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
10365 compat_symbol macro.
42f76b6b 10366
cb162e13
UD
103672000-03-21 Ulrich Drepper <drepper@redhat.com>
10368
101edd3f
UD
10369 * nscd/connections.c (nscd_run): Pretty print.
10370 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
10371
bafb8ee9
UD
10372 * manual/charset.texi: Fix typos. Rephrase.
10373 * manual/process.texi: Likewise.
10374 * manual/signal.texi: Likewise.
10375 Patches by Mike Coleman <mkc@kc.net>.
10376
fd091d3f
UD
10377 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
10378 versions.
10379 * libio/iofdopen.c: Likewise.
10380 * libio/iofgetpos.c: Likewise.
10381 * libio/iofgetpos64.c: Likewise.
10382 * libio/iofopen.c: Likewise.
10383 * libio/iofsetpos.c: Likewise.
10384 * libio/iofsetpos64.c: Likewise.
10385 * libio/iopopen.c: Likewise.
10386 * libio/oldiofopen.c: Likewise.
10387 * libio/pclose.c: Likewise.
10388 * sysdeps/gnu/siglist.c: Likewise.
10389 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
10390
cb162e13
UD
10391 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
10392 chance to expand VERSION_##lib##_##version.
10393
0bf98029
UD
10394 * libio/fileops.c: Use new macros from shlib-compat.h to define
10395 versions.
10396 * libio/iofclose.c: Likewise.
10397 * libio/oldiofclose.c: Likewise.
75836bc8 10398 Patch by Roland McGrath <roland@frob.com>.
0bf98029 10399
54021487
UD
104002000-03-21 Jakub Jelinek <jakub@redhat.com>
10401
10402 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
10403 Lay out struct sigcontext according to what really gets passed on
10404 the stack.
10405 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
10406 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
10407 (prgregset_t, prfpregset_t): Define to elf_* types.
10408 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
10409 Define to correct value.
10410 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
10411 sigcontext.
10412 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
10413
39c57122
RM
104142000-03-21 Roland McGrath <roland@baalperazim.frob.com>
10415
10416 * scripts/firstversions.awk: Allow multiple version sets in the
10417 "earliest version" specification, meaning that version sets in the
10418 gaps between listed versions should be folded into the earliest later
10419 version that is explicitly listed.
10420 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
10421 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
10422
bc4831b9
UD
104232000-03-21 Ulrich Drepper <drepper@redhat.com>
10424
8d617a71
UD
10425 * iconv/gconv_builtin.c: Include <endian.h>.
10426 * iconv/gconv_builtin.h: Add UCS-BE aliases.
10427 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
10428 according to current platform.
10429 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
10430 __gconv_transform_internal_ucs2reverse, and
10431 __gconv_transform_internal_ucs4le.
10432 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
10433 __gconv_transform_ucs2reverse_internal and
10434 __gconv_transform_internal_ucs2reverse.
10435 * iconvdata/Makefile (modules): Add UNICODE.
10436 (distribute): Add unicode.c.
10437 * iconvdata/gconv-modules: Add definitions for UNICODE module.
10438 * iconvdata/unicode.c: New file.
10439
10440 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
10441 determine byte order of input and convert accordingly.
10442
bc4831b9
UD
10443 * iconvdata/utf-16.c (gconv_init): Fix typo.
10444
7e836977
UD
104452000-03-20 Ulrich Drepper <drepper@redhat.com>
10446
6abcde8e
UD
10447 * iconvdata/gconv-modules: Fix typo.
10448
b0c766dd 10449 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
62d999dc
UD
10450 more messages.
10451
7e836977
UD
10452 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
10453
db840914
UD
104542000-03-16 Thorsten Kukuk <kukuk@suse.de>
10455
10456 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
10457
4159e387
UD
104582000-03-20 Ulrich Drepper <drepper@redhat.com>
10459
10460 * misc/Makefile (routines): Add mincore.
10461
104622000-03-20 Andreas Jaeger <aj@suse.de>
10463
10464 * sysdeps/generic/mincore.c: New stub file.
10465
10466 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
10467 from latest Linux kernel.
10468
db766e12
UD
104692000-03-20 Ulrich Drepper <drepper@redhat.com>
10470
10471 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
10472 _SC_GETPW_R_SIZE_MAX.
10473
cf9e0cbc
RH
104742000-03-20 Richard Henderson <rth@cygnus.com>
10475
db766e12 10476 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
cf9e0cbc
RH
10477 in GLIBC_2.1.4.
10478
c069bb98
RH
104792000-03-20 Richard Henderson <rth@cygnus.com>
10480
b7434f82
RH
10481 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
10482 of arithmetic instructions.
10483
10484 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
10485 with the fpcr. Protect from INV exception.
10486 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
10487 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
10488 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
10489
10490 * sysdeps/alpha/fpu/s_copysign.c: New.
10491 * sysdeps/alpha/fpu/s_copysignf.c: New.
10492 * sysdeps/alpha/fpu/s_fabs.c: New.
10493 * sysdeps/alpha/fpu/s_fabsf.c: New.
10494 * sysdeps/alpha/fpu/s_rint.c: New.
10495 * sysdeps/alpha/fpu/s_rintf.c: New.
10496
45159f00
RH
10497 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
10498
c069bb98
RH
10499 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
10500 Kill sethae.
10501 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
10502 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
10503 Use physical addresses not KSEG addresses.
10504 (io_system): Add PYXIS.
10505 (io): Remove hae.reg, sys, hae_shift.
10506 (stb_mb, stw_mb, stl_mb, __sethae): New.
10507 (inline_outb, inline_outw, inline_outl): Don't set hae.
10508 (inline_inb, inline_inw, inline_inl): Likewise.
10509 (dense_sethae): New null function.
10510 (struct cpuinfo_data): New.
10511 (process_cpuinfo): Use local and stack variables, not static.
10512 Move readlink check here from init_iosys.
10513 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
10514 (_iopl): Simplify.
10515 (_hae_shift): Calculate it here.
10516 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
10517 add pciconfig_iobase.
10518
d3564d01
RM
105192000-03-20 Roland McGrath <roland@baalperazim.frob.com>
10520
5d431a3e
RM
10521 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
10522 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
10523
d3564d01
RM
10524 * scripts/versions.awk: Fixed version renaming code to distinguish
10525 libraries properly.
10526
41a173e1
UD
105272000-03-19 Ulrich Drepper <drepper@redhat.com>
10528
a6a478e9
UD
10529 * include/stdlib.h: Add prototype for __cxa_atexit.
10530
41a173e1
UD
10531 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
10532 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
10533
105342000-03-17 Cristian Gafton <gafton@redhat.com>
10535
10536 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
10537 existing rtld-installed-name.
10538 ($(rtld-installed-name)): Request libc-$(version) be installed too.
10539 replace existing rtld-installed-name using $(symbolic-link-prog).
10540
105412000-03-17 Roland McGrath <roland@baalperazim.frob.com>
10542
10543 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
10544 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
10545 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
10546 but not the former.
10547
105482000-03-19 Ulrich Drepper <drepper@redhat.com>
10549
10550 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
10551 glob64. Since there is no glob64 in the LFS proposal applications
10552 can assume that glob handles LFS situations. glob64 is only needed
10553 if alternative filesystem functions are used.
10554
105552000-03-19 Geoff Clare <gwc@unisoft.com>
10556
10557 * sysdeps/generic/glob.c: Correct gl_pathc value returned
10558 when GLOB_DOOFFS is set; correct handling of patterns
10559 containing escaped wildcards (and no unescaped ones);
10560 GLOB_ERR flag was being ignored in some situations.
10561
10562 * posix/globtest.c, posix/globtest.sh: Updated to include
10563 tests for the problems fixed by the above changes to glob.c.
10564
10565 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
10566
361742ed
RM
105672000-03-19 Roland McGrath <roland@baalperazim.frob.com>
10568
af260314
RM
10569 * Makeconfig (soversion.i): Use only first match for each lib.
10570
0ecdeb26
RM
10571 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
10572
c95527a1
RM
10573 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
10574 rather than $(sysd-dirs-done) to protect these rules.
10575
3c132532
RM
10576 * Makerules (version-renames.def): Target removed.
10577 (Versions.all): Depend on soversions.i directly and parse it.
10578
ba7e89ec
RM
10579 * Makeconfig (soversions.i): New target, input-reading parts of
10580 soversions.mk generation moved here; result is a canonicalized
10581 list "LIB VERSION [SET]" for this configuration.
10582 (soversions.mk): Use that as input. Don't emit map-firstversions.
10583 * Makerules (version-renames.def): New target, generated from
10584 soversions.i with contents that was in $(map-firstversions).
10585 (Versions.all): Don't depend on soversions.mk, depend on
10586 version-renames.def instead; just cat it into the input.
10587
6b3c3a35
RM
10588 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
10589 for $(map-firstversions), which better handles it being empty.
10590
361742ed
RM
10591 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
10592 supported version for libc 0.2.90.libio to GLIBC_2.2.
10593
10594 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
10595 and use it to emit new variable `map-firstversions'.
10596 * scripts/firstversions.awk: New file.
10597 * Makerules (Versions.all): Use scripts/firstversions.awk and
10598 the $(map-firstversions) value to generate a modified versions list
10599 that includes renames in "A = B" syntax for each version set earlier
10600 than the "earliest symbol version" named in shlib-versions.
10601 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
10602 rename version set A to B in the output to the intermediate file.
10603 * scripts/abi-versions.awk: New file.
10604 * Makerules (abi-versions.h): New target, generated by that script.
10605 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
10606 * include/shlib-compat.h: New file, uses that generated header.
10607
a5733c28
RM
106082000-03-18 Roland McGrath <roland@baalperazim.frob.com>
10609
88268852
RM
10610 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
10611 after stripping # comments, and then run it through cpp.
10612 This allows things like "%ifdef FOO" based on config.h settings.
10613 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
10614
a5733c28
RM
10615 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
10616 and other errors that indicate a pseudo-receive happened, grok through
10617 the message buffer for port rights that need references fixed up.
10618
f5ef7558
UD
106192000-03-16 Andreas Jaeger <aj@suse.de>
10620
10621 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
10622
10623 * sysdeps/unix/sysv/linux/madvise.c: Remove.
10624
10625 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
10626 from latest Linux kernel.
10627 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
10628
4ede8b06
UD
10629 * misc/sys/mman.h: Add prototype for mincore.
10630
b9b178ac
UD
106312000-03-17 Ulrich Drepper <drepper@redhat.com>
10632
10633 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
10634 entry for GLIBC_2.0 version of setrlimit.
10635 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
10636
3b965a7d
UD
106372000-03-16 Thorsten Kukuk <kukuk@suse.de>
10638
10639 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
10640 * nis/nss_compat/compat-initgroups.c: Likewise.
10641 * nis/nss_nis/nis-initgroups.c: Likewise.
10642 * nis/nss_nis/nis-netgrp.c: Likewise.
10643 * nis/nss_nis/nis-proto.c: Likewise.
10644 * nis/nss_nis/nis-rpc.c: Likewise.
10645 * nis/nss_nis/nis-service.c: Likewise.
10646 * nis/ypclnt.c: Likewise.
a5733c28 10647
96888079
UD
106482000-03-16 Andreas Jaeger <aj@suse.de>
10649
10650 * manual/Makefile: MAKEINFO is set to `:' from configure if it
3b965a7d 10651 doesn't exist, correct checks. Fixes PR libc/1649.
96888079 10652
5c7b0fb2
UD
106532000-03-16 Thorsten Kukuk <kukuk@suse.de>
10654
10655 * nscd/hstcache.c: Restore correct UID.
10656 * nscd/pwdcache.c: Likewise.
10657 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
10658
da28fa2a
RM
106592000-03-17 Roland McGrath <roland@baalperazim.frob.com>
10660
4ae18693
RM
10661 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
10662 macros for register names, in line with 2000-03-14 linux change.
10663
da28fa2a
RM
10664 * sysdeps/mach/sched_yield.c: New file.
10665
106662000-03-13 Roland McGrath <roland@baalperazim.frob.com>
10667
10668 * sysdeps/generic/lockfile.c: Include <stdio.h>
10669 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
10670 case <libio.h> defined them.
10671 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
10672 from __internal_*.
10673 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
10674 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
10675
10676 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
10677 for more pleasing parse error.
10678
19cf43be
UD
106792000-03-16 Ulrich Drepper <drepper@redhat.com>
10680
0db0e149
UD
10681 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
10682 memory for eras.
10683 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
10684
da28fa2a 10685 * elf/Makefile: Add rules to compile and run constload1 test.
19cf43be
UD
10686 * elf/constload1.c: New file.
10687 * elf/constload2.c: New file.
10688 * elf/constload3.c: New file.
10689
a96206f4
UD
106902000-03-15 Ulrich Drepper <drepper@redhat.com>
10691
10692 * sysdeps/posix/open64.c: Make __open64 weak alias.
10693 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
10694 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10695 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
10696 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10697 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
10698 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
10699 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10700 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
10701 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10702 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
10703
04366d5f
UD
107042000-03-14 Ulrich Drepper <drepper@redhat.com>
10705
10706 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
10707 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
10708
f0d872e9
UD
107092000-03-16 Mark Kettenis <kettenis@gnu.org>
10710
10711 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
10712 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
10713
5d141597
UD
107142000-03-08 Andreas Jaeger <aj@suse.de>
10715
10716 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
10717
9658516a
UD
107182000-03-14 Ulrich Drepper <drepper@redhat.com>
10719
5d141597
UD
10720 * timezone/africa: Update from tzdata2000d.
10721 * timezone/asia: Likewise.
10722 * timezone/australasia: Likewise.
10723 * timezone/europe: Likewise.
10724 * timezone/northamerica: Likewise.
10725 * timezone/southamerica: Likewise.
10726
10727 * po/fr.po: Update from translation team.
10728 * po/de.po: Likewise.
10729
d9cb1a7d
UD
10730 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
10731 last parameter. Move code to add map to global scope from here...
10732 * elf/dl-open.c (dl_open_worker): ...here.
10733 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
10734 * elf/rtld.c: Adjust call to _dl_map_object_deps.
10735
36388ac4
UD
10736 * locale/programs/ld-collate.c (collate_read): Fix warning.
10737
6213a055
UD
10738 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
10739 values and macros for register names.
10740
9658516a
UD
10741 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
10742 returned by seek cookie function is -1.
10743
f1a53402
UD
107442000-03-14 Andreas Jaeger <aj@suse.de>
10745
10746 * locale/localeconv.c (localeconv): Fix typo.
10747 Reported by Andre Charbonneau <andrec@corel.com>.
10748
0aece08d
UD
107492000-03-14 Ulrich Drepper <drepper@redhat.com>
10750
10751 * iconv/skeleton.c: Increment __invocation_counter in inner loop
10752 since modules depend on it counting the number of times the conversion
10753 function got called.
10754
10755 * iconv/gconv_open.c: Optimize loop to setup step data structure.
10756
10757 * iconv/gconv.h: Pretty print.
10758
107592000-03-04 Ulrich Drepper <drepper@redhat.com>
10760
10761 * posix/wordexp-test.c: Correct one of the tests added in the last
10762 change. Really get the root passwd entry to check again ~root.
10763
d1d62b53
AJ
107642000-03-10 Andreas Jaeger <aj@suse.de>
10765
10766 * manual/filesys.texi (Working Directory): Fix last patch.
10767 Patch by Martin Buchholz <martin@xemacs.org>.
10768
0aa9fad6
AJ
107692000-03-10 Andreas Jaeger <aj@suse.de>
10770
10771 * manual/creature.texi (Feature Test Macros): Fix language.
10772
b4e54243
RM
107732000-03-10 Roland McGrath <roland@baalperazim.frob.com>
10774
10775 * mach/devstream.c (devstream_write, devstream_read): New functions.
10776 (input, output): Functions removed.
10777 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
10778 using only the vanilla fopencookie interface.
10779
10780 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
10781 as macro for __io_functions.
10782 (funcsio): Use cookie_io_functions_t type name.
10783 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
10784
10785 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
10786 fopencookie.
10787 (fopencookie): Use it.
10788 * libio/libio.h: Declare _IO_cookie_init.
10789 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
10790 _IO_cookie_init.
10791
10792 * libio/libio.h (__io_seek_fn): Fix second argument type
10793 to be a pointer, in line with the manual and the old stdio.
10794 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
10795
10796 * sysdeps/generic/bits/stdio-lock.h: New file.
10797 This is a stub with #error, but that's better than no file at all.
10798
d10c8b66
AJ
107992000-03-09 Martin Buchholz <martin@xemacs.org>
10800
9d54e984
UD
10801 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
10802 * manual/message.texi (Using gettextized software): Doc Fixes.
d10c8b66 10803 * manual/message.texi (Message Translation): Doc Fixes.
9d54e984
UD
10804 * manual/filesys.texi (File Size): Doc Fixes.
10805 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
10806 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
10807 * iconv/gconv_db.c (find_derivation): Doc Fixes.
10808 * manual/install.texi: Doc Fixes.
10809 * manual/search.texi (Hash Search Function): Doc Fixes.
10810 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
10811 * FAQ.in: Doc Fixes.
10812 * config.h.in: Doc Fixes.
10813 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
d10c8b66
AJ
10814 Doc Fixes. `allows to' is not correct English.
10815
10816 * elf/rtld.c: Doc fixes.
10817 * manual/creature.texi (Feature Test Macros): Doc fixes.
10818 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
10819
10820 * manual/filesys.texi (Working Directory): Check for ERANGE to
10821 avoid infloop.
10822
f25da8d0
RM
108232000-02-23 Roland McGrath <roland@baalperazim.frob.com>
10824
10825 * string/argz-stringify.c (__argz_stringify): Fix loop termination
10826 conditions so as not to clobber the final '\0' when there is only one
10827 element in the vector.
10828
07760b35
RM
108292000-03-09 Roland McGrath <roland@baalperazim.frob.com>
10830
10831 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
10832 broken by 2000-02-27 change.
10833
10834 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
10835
224a12bc
RM
108362000-02-23 Roland McGrath <roland@baalperazim.frob.com>
10837
10838 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
10839 argument type, for 2000-02-22 change in signal/signal.h declaration.
10840
9ab47461
RM
108412000-03-09 Roland McGrath <roland@baalperazim.frob.com>
10842
224a12bc
RM
10843 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
10844 to getdirentries64 (no __), since the Linux implementation
10845 has no __ name, and there is no declaration for the __ name.
10846
10847 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
10848
10849 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
10850 sed regexp so as not to break directory names including /../ within.
10851
10852 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
10853 The sysdeps/generic file is right for BSD. This file was in fact the
10854 Hurd file, but the only difference was the WNOREAP flag that was never
10855 actually implemented or used anywhere.
10856
9ab47461
RM
10857 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
10858 since AC_PATH_PROG already does it for us.
10859 (PERL): Rewrite check added in 2000-02-29 change for syntactic
10860 correctness and sh portability. I replaced the broken check
10861 with a more sensible implementation of the apparently intended
10862 semantics, which might still be questionable. Using expr causes
10863 a non-numeric value for `perl -V:apiversion` to be accepted,
10864 refusing to use only a perl that reports a number less than 5;
10865 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
10866 * configure: Regenerated.
10867
93773779
AJ
108682000-03-08 Andreas Jaeger <aj@suse.de>
10869
10870 * manual/crypt.texi: Fix paths.
10871
d92c02e8
AJ
108722000-03-07 Andreas Jaeger <aj@suse.de>
10873
10874 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
10875 were swapped.
10876 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
10877 libc/1636.
10878
8f95ad1c
AJ
108792000-03-06 Andreas Jaeger <aj@suse.de>
10880
5d141597
UD
10881 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
10882 in __sgn1l, otherwise g++ fails to parse this.
10883 Reported by Sean Chen <sean.chen@turbolinux.com>.
8f95ad1c 10884
8ed1e7d5
GK
108852000-03-03 Geoff Keating <geoffk@cygnus.com>
10886
10887 * configure.in: Compute sizeof-long-double.
10888 * configure: Regenerated.
10889 * config.make.in: Make sizeof-long-double available to sub-makes.
10890
706546ff
UD
108912000-03-03 Ulrich Drepper <drepper@cygnus.com>
10892
10893 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
10894 call.
10895
b11f5954
GK
108962000-03-03 Geoff Keating <geoffk@cygnus.com>
10897
10898 * Makeconfig (rpath-dirs): Add crypt.
10899 (all-subdirs): Remove md5crypt.
10900 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
10901 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
10902 * sysdeps/generic/crypt-entry.c: Delete.
10903 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
10904 * sysdeps/generic/crypt.h: Delete.
10905 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
10906 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
10907 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
10908 * sysdeps/generic/des_impl.c: Delete.
10909 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
10910 * crypt/sysdeps: Delete.
10911 * crypt/crypt_util.c: Don't use `patchlevel.h'.
10912 * md5-crypt/Versions: Move to crypt/.
10913 * md5-crypt/md5-crypt.c: Move to crypt/.
10914 * md5-crypt/md5.c: Move to crypt/.
10915 * md5-crypt/md5c-test.c: Move to crypt/.
10916 * md5-crypt/md5test.c: Move to crypt/.
10917 * md5-crypt: Delete.
10918 * crypt/Makefile: Adjust for new structure.
10919
e3d53b06
UD
109202000-03-03 Paul Eggert <eggert@twinsun.com>
10921
10922 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
10923 define to 1 if not defined.
10924
c88c8399
UD
109252000-03-03 Andreas Jaeger <aj@suse.de>
10926
10927 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
10928
109292000-03-03 Andreas Jaeger <aj@suse.de>
10930
10931 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
10932 cases.
10933 (xdr_int64_t): Correctly handle lower half.
10934 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
10935
bdd5fccd
UD
109362000-03-03 Ulrich Drepper <drepper@cygnus.com>
10937
10938 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
10939 call.
10940
2f1afc88
UD
109412000-03-02 Andreas Jaeger <aj@suse.de>
10942
10943 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
10944 2.3.43.
10945
6500dff6
UD
109462000-03-02 Andreas Jaeger <aj@suse.de>
10947
10948 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
10949
fc304e02
UD
109502000-03-01 Andreas Jaeger <aj@suse.de>
10951
10952 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
10953 (tests): Added tst-getdate.
10954
10955 * time/tst-getdate.c: New file.
10956
10957 * time/datemsk: New file, needed for tst-getdate.
10958
ecb06196
UD
109592000-02-29 Cristian Gafton <gafton@redhat.com>
10960
10961 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
10962
3fd759d1
UD
109632000-02-17 H.J. Lu <hjl@gnu.org>
10964
10965 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
10966
10967 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
10968 available.
10969 (svcudp_recv): Set up message with the new "xp_pad" field for
10970 IP_PKTINFO.
10971 (svcudp_reply): Support IP_PKTINFO if available.
10972
06b54322
AJ
109732000-03-01 Andreas Jaeger <aj@suse.de>
10974
10975 * time/getdate.c (check_mday): Fix check for february.
10976 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
10977 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
10978
901a5bd7
AJ
109792000-03-02 Andreas Jaeger <aj@suse.de>
10980
10981 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
10982 g++ fails to parse this.
10983 Reported by Sean Chen <sean.chen@turbolinux.com>.
10984
07e0f7ad
UD
109852000-02-28 Ulrich Drepper <drepper@redhat.com>
10986
6df9984c
UD
10987 * io/creat.c: Moved to...
10988 * sysdeps/generic/creat.c: ...here.
10989 * io/creat64.c: Moved to...
10990 * sysdeps/generic/creat64.c: ...here.
522dc855
UD
10991 * io/lockf.c: Moved to...
10992 * sysdeps/generic/lockf.c: ...here.
6df9984c 10993
6d7496e8 10994 * crypt/crypt.texi: Moved to...
07e0f7ad 10995 * manual/crypt.texi: ...here.
6d7496e8
UD
10996 * crypt/examples/genpass.c: Moved to...
10997 * manual/examples/genpass.c: ...here.
10998 * crypt/examples/mygenpass.c: Moved to...
10999 * manual/examples/mygenpass.c: ...here.
11000 * crypt/examples/testpass.c: Moved to...
11001 * manual/examples/testpass.c: ...here.
11002
11003 * manual/Makefile (chapters): Add crypt.
11004 * manual/conf.texi: Add usual header for not-last chapter.
11005 * manual/crypt.texi: Add special header for last chapter.
07e0f7ad 11006
63f791d3
GK
110072000-02-28 Geoff Keating <geoffk@cygnus.com>
11008
11009 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
11010 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
11011 complain if there is no crypt add-on.
11012 * crypt/configure: Removed.
6d7496e8 11013
63f791d3
GK
11014 * crypt/crypt.texi: Update documentation of US export restrictions
11015 to match the 14 Jan 2000 regulations.
11016
110172000-02-28 Geoff Keating <geoffk@cygnus.com>
11018
11019 * crypt: New subdirectory, merged in from the crypt add-on.
11020
a808d541
UD
110212000-02-28 Ulrich Drepper <drepper@redhat.com>
11022
108c6efa 11023 * include/unistd.h: Add __rmdir and __mkdir prototypes.
9b51f431 11024
d59e49d8 11025
108c6efa 11026See ChangeLog.10 for earlier changes.
This page took 1.56471 seconds and 5 git commands to generate.