Update.
[glibc.git] / ChangeLog
blob7e4ecb20662b53343cb50b1a4e35a9c3bb2e8618
1 2000-09-14  Ulrich Drepper  <drepper@redhat.com>
3         * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Change
4         to not use sysctl().  Too many architectures have problems with it.
6 2000-09-14  Andreas Jaeger  <aj@suse.de>
8         * scripts/config.sub: New version from subversions.gnu.org.
10         * time/clocktest.c (main): Change format, CLOCKS_PER_SEC is now
11         long.
13 2000-09-14  Jakub Jelinek  <jakub@redhat.com>
15         * posix/regex.c (compile_range): Cast collseq index to unsigned char
16         to avoid accessing data before collseq.
18         * sysdeps/sparc/fpu/bits/mathinline.h (__unordered_v9cmp): Avoid
19         pasting strings together.
21 2000-09-14  Greg McGary  <greg@mcgary.org>
23         * bp-checks.h: Remove bogus reference to GNU MP in copyright notice.
24         * bp-semctl.h: Likewise.
25         * bp-start.h: Likewise.
26         * bp-sym.h: Likewise.
27         * bp-thunks.h: Likewise.  Include <stdio.h> to get rename prototype.
29 2000-09-13  Ulrich Drepper  <drepper@redhat.com>
31         * io/test-lfs.c (do_test): Allow stat64() to return EOVERFLOW and
32         don't fail.
34         * elf/elf.h: Add missing official relocations.
36         * libio/stdio.h: Define __FILE if __need___FILE is defined.
37         * stdio/stdio.h: Likewise.
38         * wcsmbs/wchar.h: Get definition of __FILE. Use __FILE instead of FILE.
39         * include/stdio.h: Handle __need___FILE like __need_FILE.
40         * include/wchar.h: Use __FILE instead of FILE.
41         * libio/fwprintf.c: Include <stdio.h> for FILE definition.
42         * libio/fwscanf.c: Likewise.
43         * libio/getwc.c: Likewise.
45         * sysdeps/generic/stdint.h (WINT_MAX): Define to 4294967295u.
46         * sysdeps/generic/bits/wchar.h (WCHAR_MIN): Define to -2147483647 - 1.
47         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Likewise.
49         * assert/assert.h: Update comment header about ISO C section.
50         * math/complex.h: Likewise.
51         * ctype/ctype.h: Likewise.
52         * include/errno.h: Likewise.
53         * include/limits.h: Likewise.
54         * locale/locale.h: Likewise.
55         * math/math.h: Likewise.
56         * setjmp/setjmp.h: Likewise.
57         * signal/signal.h: Likewise.
58         * stdio/stdio.h: Likewise.
59         * libio/stdio.h: Likewise.
60         * stdlib/stdlib.h: Likewise.
61         * string/string.h: Likewise.
62         * time/time.h: Likewise.
63         * wcsmbs/wchar.h: Likewise.
64         * wctype/wctype.h: Likewise.
65         Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
67 2000-09-13  Andreas Jaeger  <aj@suse.de>
69         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Fix test
70         for no more entries.
71         * sysdeps/unix/sysv/aix/bits/socket.h (__cmsg_nxthdr): Likewise.
72         * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Likewise.
73         Reported by Eric S. Johnson <esj@cs.fiu.edu>, closes PR libc/1887.
75 2000-09-13  Ulrich Drepper  <drepper@redhat.com>
77         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Make a long int
78         constant since this is what clock_t is.
79         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
80         * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
81         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
82         * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.
84         * time/time.h: Don't defined clockid_t and timer_t unless POSIX
85         definitions are requested.
87 2000-09-13  Andreas Jaeger  <aj@suse.de>
89         * shlib-versions: libBrokenLocale needs minimal version for ia64,
90         sparc64 and sh to synch with libc.
92 2000-09-13  Ulrich Drepper  <drepper@redhat.com>
94         * iconvdata/Makefile (modules): Add ISO-2022-CN-EXT.
95         (distribute): Add iso-2022-cn-ext.c.
96         Add definitions to compile the new module.
97         * iconvdata/gconv-modules: Add entries for ISO-2022-CN-EXT.
98         * iconvdata/iso-2022-cn-ext.c: New file.
99         * iconvdata/iso-ir-165.h (isoir165_to_ucs4): Renamed from
100         ucs4_from_isoir165.  Increment input pointer if successful.
102         * csu/Makefile: Work around a gcc bug when creating csu-dummies.
104         * sysdeps/unix/sysv/linux/getdents.c: Pretty print.
106 2000-09-01  Jes Sorensen  <jes@linuxcare.com>
108         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add
109         __syscall_getdents64 wrapper.
111         * sysdeps/unix/sysv/linux/ia64/net/route.h: New file.
113 2000-09-12  Ulrich Drepper  <drepper@redhat.com>
115         * iconvdata/gb18030.c: Many many changes.  Make consistent with
116         charmap and with itself.
117         * iconvdata/tst-tables.sh: Test GB18030.
119 2000-09-11  Ulrich Drepper  <drepper@redhat.com>
121         * iconv/skeleton.c: Fix last patch, add missing parameter to
122         unaligned function call.
124 2000-09-10  Bruno Haible  <haible@clisp.cons.org>
126         * locale/programs/ld-collate.c (collate_read): Fix typo in handling
127         of decimal ellipsis.
129 2000-09-11  Bruno Haible <haible@clisp.cons.org>
131         * locale/programs/ld-collate.c (collate_read): Always initialize
132         error_section.next.
134 2000-09-10  Bruno Haible  <haible@clisp.cons.org>
136         * locale/programs/ld-collate.c (collate_finish): Upper bound for
137         ruleidx is 128, not 256.
139 2000-09-11  Ulrich Drepper  <drepper@redhat.com>
141         * locale/programs/ld-collate.c (collate_read): Correct check for
142         already inserted entries.
144 2000-09-10  Bruno Haible <haible@clisp.cons.org>
146         * iconv/skeleton.c (FUNCTION_NAME): Handle unaligned access in
147         second try as well.
149 2000-09-10  Bruno Haible <haible@clisp.cons.org>
151         * iconv/skeleton.c (FUNCTION_NAME): Optimize an `if' if
152         MAX_NEEDED_FROM > 1 && MAX_NEEDED_TO > 1.
154 2000-09-10  Bruno Haible <haible@clisp.cons.org>
156         * iconv/skeleton.c (gconv_init): Replace all uses of RESET_STATE with
157         SAVE_RESET_STATE.
159 2000-09-10  Bruno Haible  <haible@clisp.cons.org>
161         * iconvdata/utf-7.c: New file.
162         * iconvdata/gconv-modules (UTF-7): New module entries.
163         * iconvdata/Makefile (modules): Add UTF-7.
164         (distribute): Add utf-7.c.
165         * iconvdata/testdata/UTF-7: New file.
166         * iconvdata/testdata/UTF-7..UTF8: New file.
167         * iconvdata/TESTS (UTF-7): New entry.
168         * iconvdata/run-iconv-test.sh: Fix confusing output.
170 2000-09-11  Ulrich Drepper  <drepper@redhat.com>
172         * sysdeps/posix/tempname.c (__gen_tempname): Use __lxstat and __xstat.
174 2000-09-10  David S. Miller  <davem@redhat.com>
176         * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Correct %fp
177         frame pointer offset for non-fast path.
179 2000-09-10  Ulrich Drepper  <drepper@redhat.com>
181         * locale/programs/3level.h (*_init): Initialize level1, level2,
182         and level3 as well.
183         (*_add): Remove a few unnecessary conditionals.
185 2000-09-05  Wolfram Gloger  <wg@malloc.de>
187         * malloc/thread-m.h [_LIBC]: Even if not linking with libpthread,
188         ensure usability of mutex as an `in use' flag.
190 2000-09-10  Ulrich Drepper  <drepper@redhat.com>
192         * shlib-versions: Simplify libm entries.  Correct a few Hurd entries.
194         * sysdeps/generic/initfini.c: Rewrite slightly to get rid of the
195         ugly GMON_WEAK_START hack.
196         Patch by Philip Blundell <philb@gnu.org>.
198         * sysdeps/i386/i486/bits/string.h: Pretty printing.
200 2000-09-09  Ulrich Drepper  <drepper@redhat.com>
202         * sysdeps/powerpc/dl-machine.c: Add volatile to PPC_DCBST, PPC_SYNC,
203         and PPC_ICBI asm for broken compilers.
204         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
206 2000-09-09  Andreas Jaeger  <aj@suse.de>
208         * manual/message.texi (Advanced gettext functions): Fix typo.
210         * sysdeps/unix/sysv/linux/dl-osinfo.h: Include <string.h> for
211         strncpy prototype.
213 2000-09-09  Ulrich Drepper  <drepper@redhat.com>
215         * sysdeps/ia64/memchr.S: Add .pred.rel to avoid wrong assembler
216         warnings.
217         * sysdeps/ia64/memccpy.S: Likewise.
218         Patches by Jim Wilson <wilson@redhat.com>.
220         * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Use uname
221         before trying to read /proc.
222         Patch by Matt Wilson <msw@redhat.com>.
223         * include/sys/utsname.h: Declare __uname.
224         * sysdeps/generic/uname.c: Make uname a weak alias of __uname.
225         * sysdeps/mach/hurd/uname.c: Likewise.
226         * sysdeps/unix/syscalls.list: Likewise.
228         * iconv/gconv_dl.c (do_release_shlib): Rewrite condition for
229         unloading a bit.
231 2000-09-08  Ulrich Drepper  <drepper@redhat.com>
233         * posix/getopt.c (_getopt_internal): When long_only is set always
234         recognize conflicts just like before.
236 2000-09-08  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
238         * sysdeps/ia64/Makefile (sysdep-rtld-routines): New variable.
240 2000-09-08  Greg McGary  <greg@mcgary.org>
242         * sysdeps/unix/sysv/linux/syscalls.list (mincore): Fix arg signature.
243         * sysdeps/unix/make-syscalls.sh: New signature keyletter `V'.
244         * sysdeps/generic/bp-checks.h (CHECK_N_PAGES): New macro.
246 2000-09-08  Andreas Jaeger  <aj@suse.de>
248         * sysdeps/unix/sysv/linux/arm/lockf64.c: New file.
250         * sysdeps/unix/sysv/linux/arm/fcntl.c: New file.
252         * sysdeps/unix/sysv/linux/arm/bits/fcntl.h
253         (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
254         (F_GETLK,F_SETLK,F_SETLKW): Handle __USE_FILE_OFFSET64 correctly.
256 2000-09-07  Ulrich Drepper  <drepper@redhat.com>
258         * iconvdata/tst-tables.sh: Enable EUC-KR test.
260         * elf/dl-load.c (lose): Decrement _nl_loaded.
261         (_dl_map_object_from_fd): Don't try to dlopen executables.
263         * iconvdata/tst-tables.sh: Actually return with an error if
264         something goes wrong.
265         * iconvdata/tst-table.sh: Return with an error if any of the cmp fails.
266         * iconvdata/big5hkscs.c (BODY of FROM_LOOP): Reject 0xff as input.
268         * iconvdata/tst-tables.sh: Add BIG5HKSCS.
270         * iconvdata/tst-table-to.c (main): Correct cast in iconv call.
271         * iconvdata/tst-table-from.c: Include <string.h>.
272         (try): Correct cast in iconv call.
274         * elf/Makefile (all-rtld-routines): Evaluate $(sysdep-rtld-routines)
275         too.
276         * sysdeps/powerpc/Makefile (sysdep-rtld-routines): New variable.
277         (sysdep_routines): Remove dl-start.
278         Patches by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
280         * assert/__assert.c: Undefine NDEBUG before include <assert.h>.
282         * sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning.
283         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
285 2000-09-06  Andreas Schwab  <schwab@suse.de>
287         * sysdeps/unix/sysv/linux/ia64/bits/time.h: New file.
289 2000-09-07  Ulrich Drepper  <drepper@redhat.com>
291         * sysdeps/unix/sysv/linux/gethostid.c: Find hostid file in /etc.
293         * scripts/config.sub: Strip out -unknown for Linux targets.
294         Patch by Scott Bambrough <scottb@netwinder.org>.
296         * posix/tst-dir.c (main): Correct one bug (missing NULL test) and
297         add one more test.
299 2000-09-07  Andreas Jaeger  <aj@suse.de>
301         * sysdeps/unix/sysv/linux/mips/lockf64.c: New file.
303         * sysdeps/unix/sysv/linux/i386/fcntl.c: Add prototypes for the
304         syscalls.
306         * sysdeps/unix/sysv/linux/mips/syscalls.list: Add __syscall_fcntl.
308         * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Fix calls to dl_lookup.
309         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
311         * sysdeps/unix/sysv/linux/mips/fcntl.c: New file.
313         * stdlib/tst-bsearch.c (main): Add more test cases.
315         * locale/programs/ld-collate.c (handle_ellipsis): Fix typo.
316         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
317         Reported by GOTO Masanori <gotom@debian.or.jp>.
319 2000-09-07  Ulrich Drepper  <drepper@redhat.com>
321         * posix/Makefile (tests): Add tst-dir.
322         (tst-dir-ARGS): New variable.
323         * posix/tst-dir.c: New file.
325 2000-09-07  Andreas Jaeger  <aj@suse.de>
327         * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_getdents64): New.
328         (SYS_fcntl64): New.
330         * sysdeps/unix/sysv/linux/mips/syscalls.list: Add getdents64.
332 2000-09-06  Ulrich Drepper  <drepper@redhat.com>
334         * sysdeps/unix/opendir.c: If O_DIRECTORY_WORKS is defined don't
335         use the hack with tryopen_o_directory to determine at runtime
336         whether it works.
337         * sysdeps/unix/sysv/linux/opendir.c: New file.
338         * sysdeps/unix/sysv/linux/kernel-features.h: Define
339         __ASSUME_O_DIRECTORY if kernel knows O_DIRECTORY.
341         * catgets/Depend: New file.  Add intl.
342         * catgets/Makefile (tests): Add tst-catgets.
343         (generated): Remove de.msg.
344         (generated-dirs): Add de.
345         Add dependency if tst-catgets output on de/libc.cat.
346         * catgets/tst-catgets.c: New file.
348         * po/ja.po: New file.
349         * po/el.po: Update from translation team.
351         * wcsmbs/Depend: New file.
352         * wcsmbs/Makefile (tests): Add tst-btowc.
353         (tst-btowc-ENV): Define.
354         * wcsmbs/tst-btowc.c: New file.
356         * sysdeps/unix/sysv/linux/_G_config.h: Moved to...
357         * sysdeps/gnu/_G_config.h: ...here to be shared with Hurd.
359         * sysdeps/posix/signal.c: Add sig to act.sa_mask for completeness.
361         * stdlib/Makefile (tests): Add tst-bsearch.
362         * stdlib/tst-bsearch.c: New file.
364         * posix/getopt.c (_getopt_internal): Don't recognize an option
365         name as ambiguous if it's a prefix for more than one name but the
366         other struct option values are identical.
368         * posix/tstgetopt.c: Add test for improved ambiguity recognition.
369         Don't depend on visual inspection of the output file to recognize
370         errors.
371         * posix/Makefile (tstgetopt-ARGS): Add a few more parameters.
373 2000-09-06  Andreas Jaeger  <aj@suse.de>
375         * sysdeps/alpha/soft-fp/Dist: New file.
376         * sysdeps/i386/soft-fp/Dist: New file.
377         * sysdeps/mips/mips64/soft-fp/Dist: New file.
378         * sysdeps/mips/soft-fp/Dist: New file.
379         * sysdeps/powerpc/soft-fp/Dist: New file.
380         * sysdeps/sparc/sparc32/soft-fp/Dist: New file.
381         * sysdeps/sparc/sparc64/soft-fp/Dist: New file.
383         * sysdeps/sparc/sparc64/soft-fp/Makefile [$(subdir) = soft-fp]:
384         Use sysdep_routines instead of routines to fix make dist failure.
385         * sysdeps/sparc/sparc32/soft-fp/Makefile: Likewise (in commented
386         out code).
387         * sysdeps/powerpc/soft-fp/Makefile [$(subdir) = soft-fp]: Likewise.
389         * sysdeps/mips/Makefile [$(subdir) = misc]:  Use
390         sysdep_headers instead of headers for make dist.
392         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = misc]:
393         Likewise.
395 2000-09-06  Andreas Schwab  <schwab@suse.de>
397         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: New file.
399 2000-09-06  Andreas Jaeger  <aj@suse.de>
401         * soft-fp/Makefile (distribute): Remove ChangeLog.
403         * sysdeps/sparc/sparc32/Makefile [$(subdir) = gnulib]:  Use
404         sysdep_routines instead of routines for make dist.
406 2000-09-05  Ulrich Drepper  <drepper@redhat.com>
408         * libio/libio.h (_IO_fwide_maybe_incompatible): For glibc 2.0
409         compatibility check for old stream and call _IO_wide in doubt.
410         (_IO_fwide): Use _IO_fwide_maybe_incompatible macro.
411         * libio/iofwide.c (_IO_fwide): If compatibility with glibc 2.0 is
412         needed tst for such an old structure and don't do anything.
413         * libio/freopen.c: Remove declaration of _IO_stdin_used.
415 2000-09-06  Andreas Jaeger  <aj@suse.de>
417         * sysdeps/powerpc/Makefile [$(subdir) = elf]: Modify
418         sysdep-dl-routines and sysdep_routines instead of rtld-routines
419         and dl-routines.
421         * soft-fp/ChangeLog: Merged with this file.
423 2000-06-13  Ulrich Drepper  <drepper@redhat.com>
425         * soft-fp/Makefile (distribute): Add op-8.h and testit.c.
427         * soft-fp/Makefile (distribute): Add the math functions, too.
429         * soft-fp/Makefile (distribute): Add ChangeLog, Banner, and configure.
431 2000-03-03  Geoff Keating  <geoffk@cygnus.com>
433         * soft-fp/soft-fp.h (_FP_ROUND_ZERO): Cast 0 to void before using it
434         as a statement.
436         * soft-fp/sysdeps/powerpc/Makefile (routines): New file.
437         * soft-fp/sysdeps/powerpc/q_*: New files.
439 2000-09-05  Ulrich Drepper  <drepper@redhat.com>
441         * stdio-common/vfprintf.c (process_string_arg): Handle precision
442         in wide char case correctly.  Don't allocate too long temporary
443         strings with alloca.
445         * stdio-common/Makefile (tests): Add tst-swprintf.
446         (tst-swprintf-ENV): New variable.
447         * stdio-common/tst-swprintf.c: New file.
449 2000-09-05  Andreas Jaeger  <aj@suse.de>
451         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use st_pad5.
452         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Fix assignments.
453         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
455 2000-09-05  Ulrich Drepper  <drepper@redhat.com>
457         * configure.in: Strip out "unknown" from configuration names.
459 2000-09-05  Andreas Jaeger  <aj@suse.de>
461         * sysdeps/powerpc/Subdirs: New file, adds soft-fp.
463         * sysdeps/sparc/sparc64/Implies: Add soft-fp.
464         * sysdeps/sparc/sparc32/Implies: Likewise.
465         * sysdeps/powerpc/Implies: Likewise.
467         * libio/oldiofsetpos64.c: Check for compatibility with glibc 2.1.
468         * libio/oldiofgetpos64.c: Likewise.
470         * soft-fp/Makefile (distribute): Remove configure.
472         * sysdeps/sparc/sparc64/soft-fp/Versions: Use version glibc 2.2.
474         * soft-fp/configure: Remove.
476         * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
477         * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
479         * soft-fp/sysdeps/sparc/sparc32/Makefile: Move from here...
480         * sysdeps/sparc/sparc32/soft-fp/Makefile: ... to here.
482         * soft-fp/sysdeps/powerpc/Makefile: Move from here...
483         * sysdeps/powerpc/soft-fp/Makefile: ... to here.
485         * soft-fp/sysdeps/sparc/sparc64/Makefile: Move from here...
486         * sysdeps/sparc/sparc64/soft-fp/Makefile: ... to here.
488         * soft-fp/sysdeps/sparc/sparc64/qp_neg.S: Move from here...
489         * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: ... to here.
491         * soft-fp/sysdeps/powerpc/q_add.c: Move from here...
492         * sysdeps/powerpc/soft-fp/q_add.c: ... to here.
494         * soft-fp/sysdeps/powerpc/q_cmp.c: Move from here...
495         * sysdeps/powerpc/soft-fp/q_cmp.c: ... to here.
497         * soft-fp/sysdeps/powerpc/q_cmpe.c: Move from here...
498         * sysdeps/powerpc/soft-fp/q_cmpe.c: ... to here.
500         * soft-fp/sysdeps/powerpc/q_div.c: Move from here...
501         * sysdeps/powerpc/soft-fp/q_div.c: ... to here.
503         * soft-fp/sysdeps/powerpc/q_dtoq.c: Move from here...
504         * sysdeps/powerpc/soft-fp/q_dtoq.c: ... to here.
506         * soft-fp/sysdeps/powerpc/q_feq.c: Move from here...
507         * sysdeps/powerpc/soft-fp/q_feq.c: ... to here.
509         * soft-fp/sysdeps/powerpc/q_fge.c: Move from here...
510         * sysdeps/powerpc/soft-fp/q_fge.c: ... to here.
512         * soft-fp/sysdeps/powerpc/q_fgt.c: Move from here...
513         * sysdeps/powerpc/soft-fp/q_fgt.c: ... to here.
515         * soft-fp/sysdeps/powerpc/q_fle.c: Move from here...
516         * sysdeps/powerpc/soft-fp/q_fle.c: ... to here.
518         * soft-fp/sysdeps/powerpc/q_flt.c: Move from here...
519         * sysdeps/powerpc/soft-fp/q_flt.c: ... to here.
521         * soft-fp/sysdeps/powerpc/q_fne.c: Move from here...
522         * sysdeps/powerpc/soft-fp/q_fne.c: ... to here.
524         * soft-fp/sysdeps/powerpc/q_itoq.c: Move from here...
525         * sysdeps/powerpc/soft-fp/q_itoq.c: ... to here.
527         * soft-fp/sysdeps/powerpc/q_lltoq.c: Move from here...
528         * sysdeps/powerpc/soft-fp/q_lltoq.c: ... to here.
530         * soft-fp/sysdeps/powerpc/q_mul.c: Move from here...
531         * sysdeps/powerpc/soft-fp/q_mul.c: ... to here.
533         * soft-fp/sysdeps/powerpc/q_neg.c: Move from here...
534         * sysdeps/powerpc/soft-fp/q_neg.c: ... to here.
536         * soft-fp/sysdeps/powerpc/q_qtod.c: Move from here...
537         * sysdeps/powerpc/soft-fp/q_qtod.c: ... to here.
539         * soft-fp/sysdeps/powerpc/q_qtoi.c: Move from here...
540         * sysdeps/powerpc/soft-fp/q_qtoi.c: ... to here.
542         * soft-fp/sysdeps/powerpc/q_qtoll.c: Move from here...
543         * sysdeps/powerpc/soft-fp/q_qtoll.c: ... to here.
545         * soft-fp/sysdeps/powerpc/q_qtos.c: Move from here...
546         * sysdeps/powerpc/soft-fp/q_qtos.c: ... to here.
548         * soft-fp/sysdeps/powerpc/q_qtou.c: Move from here...
549         * sysdeps/powerpc/soft-fp/q_qtou.c: ... to here.
551         * soft-fp/sysdeps/powerpc/q_qtoull.c: Move from here...
552         * sysdeps/powerpc/soft-fp/q_qtoull.c: ... to here.
554         * soft-fp/sysdeps/powerpc/q_sqrt.c: Move from here...
555         * sysdeps/powerpc/soft-fp/q_sqrt.c: ... to here.
557         * soft-fp/sysdeps/powerpc/q_stoq.c: Move from here...
558         * sysdeps/powerpc/soft-fp/q_stoq.c: ... to here.
560         * soft-fp/sysdeps/powerpc/q_sub.c: Move from here...
561         * sysdeps/powerpc/soft-fp/q_sub.c: ... to here.
563         * soft-fp/sysdeps/powerpc/q_ulltoq.c: Move from here...
564         * sysdeps/powerpc/soft-fp/q_ulltoq.c: ... to here.
566         * soft-fp/sysdeps/powerpc/q_util.c: Move from here...
567         * sysdeps/powerpc/soft-fp/q_util.c: ... to here.
569         * soft-fp/sysdeps/powerpc/q_utoq.c: Move from here...
570         * sysdeps/powerpc/soft-fp/q_utoq.c: ... to here.
572         * soft-fp/sysdeps/sparc/sparc32/q_add.c: Move from here...
573         * sysdeps/sparc/sparc32/soft-fp/q_add.c: ... to here.
575         * soft-fp/sysdeps/sparc/sparc32/q_cmp.c: Move from here...
576         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: ... to here.
578         * soft-fp/sysdeps/sparc/sparc32/q_cmpe.c: Move from here...
579         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: ... to here.
581         * soft-fp/sysdeps/sparc/sparc32/q_div.c: Move from here...
582         * sysdeps/sparc/sparc32/soft-fp/q_div.c: ... to here.
584         * soft-fp/sysdeps/sparc/sparc32/q_dtoq.c: Move from here...
585         * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: ... to here.
587         * soft-fp/sysdeps/sparc/sparc32/q_feq.c: Move from here...
588         * sysdeps/sparc/sparc32/soft-fp/q_feq.c: ... to here.
590         * soft-fp/sysdeps/sparc/sparc32/q_fge.c: Move from here...
591         * sysdeps/sparc/sparc32/soft-fp/q_fge.c: ... to here.
593         * soft-fp/sysdeps/sparc/sparc32/q_fgt.c: Move from here...
594         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: ... to here.
596         * soft-fp/sysdeps/sparc/sparc32/q_fle.c: Move from here...
597         * sysdeps/sparc/sparc32/soft-fp/q_fle.c: ... to here.
599         * soft-fp/sysdeps/sparc/sparc32/q_flt.c: Move from here...
600         * sysdeps/sparc/sparc32/soft-fp/q_flt.c: ... to here.
602         * soft-fp/sysdeps/sparc/sparc32/q_fne.c: Move from here...
603         * sysdeps/sparc/sparc32/soft-fp/q_fne.c: ... to here.
605         * soft-fp/sysdeps/sparc/sparc32/q_itoq.c: Move from here...
606         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: ... to here.
608         * soft-fp/sysdeps/sparc/sparc32/q_mul.c: Move from here...
609         * sysdeps/sparc/sparc32/soft-fp/q_mul.c: ... to here.
611         * soft-fp/sysdeps/sparc/sparc32/q_neg.c: Move from here...
612         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: ... to here.
614         * soft-fp/sysdeps/sparc/sparc32/q_qtod.c: Move from here...
615         * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: ... to here.
617         * soft-fp/sysdeps/sparc/sparc32/q_qtoi.c: Move from here...
618         * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: ... to here.
620         * soft-fp/sysdeps/sparc/sparc32/q_qtos.c: Move from here...
621         * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: ... to here.
623         * soft-fp/sysdeps/sparc/sparc32/q_qtoui.c: Move from here...
624         * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: ... to here.
626         * soft-fp/sysdeps/sparc/sparc32/q_qtoux.c: Move from here...
627         * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: ... to here.
629         * soft-fp/sysdeps/sparc/sparc32/q_qtox.c: Move from here...
630         * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: ... to here.
632         * soft-fp/sysdeps/sparc/sparc32/q_sqrt.c: Move from here...
633         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: ... to here.
635         * soft-fp/sysdeps/sparc/sparc32/q_stoq.c: Move from here...
636         * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: ... to here.
638         * soft-fp/sysdeps/sparc/sparc32/q_sub.c: Move from here...
639         * sysdeps/sparc/sparc32/soft-fp/q_sub.c: ... to here.
641         * soft-fp/sysdeps/sparc/sparc32/q_uitoq.c: Move from here...
642         * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: ... to here.
644         * soft-fp/sysdeps/sparc/sparc32/q_util.c: Move from here...
645         * sysdeps/sparc/sparc32/soft-fp/q_util.c: ... to here.
647         * soft-fp/sysdeps/sparc/sparc32/q_uxtoq.c: Move from here...
648         * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: ... to here.
650         * soft-fp/sysdeps/sparc/sparc32/q_xtoq.c: Move from here...
651         * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: ... to here.
653         * soft-fp/sysdeps/sparc/sparc64/qp_add.c: Move from here...
654         * sysdeps/sparc/sparc64/soft-fp/qp_add.c: ... to here.
656         * soft-fp/sysdeps/sparc/sparc64/qp_cmp.c: Move from here...
657         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: ... to here.
659         * soft-fp/sysdeps/sparc/sparc64/qp_cmpe.c: Move from here...
660         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: ... to here.
662         * soft-fp/sysdeps/sparc/sparc64/qp_div.c: Move from here...
663         * sysdeps/sparc/sparc64/soft-fp/qp_div.c: ... to here.
665         * soft-fp/sysdeps/sparc/sparc64/qp_dtoq.c: Move from here...
666         * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: ... to here.
668         * soft-fp/sysdeps/sparc/sparc64/qp_feq.c: Move from here...
669         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: ... to here.
671         * soft-fp/sysdeps/sparc/sparc64/qp_fge.c: Move from here...
672         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: ... to here.
674         * soft-fp/sysdeps/sparc/sparc64/qp_fgt.c: Move from here...
675         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: ... to here.
677         * soft-fp/sysdeps/sparc/sparc64/qp_fle.c: Move from here...
678         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: ... to here.
680         * soft-fp/sysdeps/sparc/sparc64/qp_flt.c: Move from here...
681         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: ... to here.
683         * soft-fp/sysdeps/sparc/sparc64/qp_fne.c: Move from here...
684         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: ... to here.
686         * soft-fp/sysdeps/sparc/sparc64/qp_itoq.c: Move from here...
687         * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: ... to here.
689         * soft-fp/sysdeps/sparc/sparc64/qp_mul.c: Move from here...
690         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: ... to here.
692         * soft-fp/sysdeps/sparc/sparc64/qp_qtod.c: Move from here...
693         * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: ... to here.
695         * soft-fp/sysdeps/sparc/sparc64/qp_qtoi.c: Move from here...
696         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: ... to here.
698         * soft-fp/sysdeps/sparc/sparc64/qp_qtos.c: Move from here...
699         * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: ... to here.
701         * soft-fp/sysdeps/sparc/sparc64/qp_qtoui.c: Move from here...
702         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: ... to here.
704         * soft-fp/sysdeps/sparc/sparc64/qp_qtoux.c: Move from here...
705         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: ... to here.
707         * soft-fp/sysdeps/sparc/sparc64/qp_qtox.c: Move from here...
708         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: ... to here.
710         * soft-fp/sysdeps/sparc/sparc64/qp_sqrt.c: Move from here...
711         * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: ... to here.
713         * soft-fp/sysdeps/sparc/sparc64/qp_stoq.c: Move from here...
714         * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: ... to here.
716         * soft-fp/sysdeps/sparc/sparc64/qp_sub.c: Move from here...
717         * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: ... to here.
719         * soft-fp/sysdeps/sparc/sparc64/qp_uitoq.c: Move from here...
720         * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: ... to here.
722         * soft-fp/sysdeps/sparc/sparc64/qp_util.c: Move from here...
723         * sysdeps/sparc/sparc64/soft-fp/qp_util.c: ... to here.
725         * soft-fp/sysdeps/sparc/sparc64/qp_uxtoq.c: Move from here...
726         * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: ... to here.
728         * soft-fp/sysdeps/sparc/sparc64/qp_xtoq.c: Move from here...
729         * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: ... to here.
731         * soft-fp/sysdeps/sparc/sparc64/s_frexpl.c: Move from here...
732         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: ... to here.
734         * soft-fp/sysdeps/sparc/sparc64/s_ilogbl.c: Move from here...
735         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: ... to here.
737         * soft-fp/sysdeps/sparc/sparc64/s_scalblnl.c: Move from here...
738         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: ... to here.
740         * soft-fp/sysdeps/sparc/sparc64/s_scalbnl.c: Move from here...
741         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: ... to here.
743         * soft-fp/sysdeps/alpha/sfp-machine.h: Move from here...
744         * sysdeps/alpha/soft-fp/sfp-machine.h: ... to here.
746         * soft-fp/sysdeps/i386/sfp-machine.h: Move from here...
747         * sysdeps/i386/soft-fp/sfp-machine.h: ... to here.
749         * soft-fp/sysdeps/mips/mips64/sfp-machine.h: Move from here...
750         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: ... to here.
752         * soft-fp/sysdeps/mips/sfp-machine.h: Move from here...
753         * sysdeps/mips/soft-fp/sfp-machine.h: ... to here.
755         * soft-fp/sysdeps/powerpc/sfp-machine.h: Move from here...
756         * sysdeps/powerpc/soft-fp/sfp-machine.h: ... to here.
758         * soft-fp/sysdeps/sparc/sparc32/sfp-machine.h: Move from here...
759         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: ... to here.
761         * soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Move from here...
762         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: ... to here.
764         * soft-fp/sysdeps/powerpc/Versions: Move from here...
765         * sysdeps/powerpc/soft-fp/Versions: ... to here.
767         * soft-fp/sysdeps/sparc/sparc64/Versions: Move from here...
768         * sysdeps/sparc/sparc64/soft-fp/Versions: ... to here.
770         * libio/oldiofsetpos64.c: iofsetpos was introduced in glibc 2.1,
771         change symbol version.
772         * libio/oldiofgetpos64.c: Likewise.
773         Reported by Martin v. Loewis <martin@loewis.home.cs.tu-berlin.de>.
775         * locale/programs/ld-ctype.c (charclass_charcode_ellipsis): Fix
776         typo.
777         Reported by dyky@kondara.org, closes PR libc/1886.
779         * stdlib/tst-strtod.c: Add testcases for denormal numbers from PR
780         libc/1880.
782 2000-09-04  Ulrich Drepper  <drepper@redhat.com>
784         * iconvdata/run-iconv-test.sh: Add code to immediately stop the
785         script when ^C is hit.
787         * locale/programs/localedef.c (construct_output_path): Correct
788         computation of endp after asprintf.
789         * locale/programs/locfile.c (write_locale_data): Don't add extra
790         slash in filename.
792 2000-09-05  Andreas Jaeger  <aj@suse.de>
794         * scripts/config.guess: New upstream version.
795         * scripts/config.sub: Likewise.
796         * manual/texinfo.tex: Likewise.
798 2000-09-04  Andreas Schwab  <schwab@suse.de>
800         * elf/Makefile (all-dl-routines): New variable.
801         (elide-routines.os): Use it instead of $(dl-routines).
802         (all-rtld-routines): New variable.
803         (extra-objs): Use it instead of $(rtld-routines).
804         ($(objpfx)dl-allobjs.os): Likewise.
805         * sysdeps/ia64/Makefile [$(subdir) = elf]: Modify
806         sysdep-dl-routines and sysdep_routines instead of rtld-routines
807         and dl-routines.
809 2000-09-03  Bruno Haible  <haible@clisp.cons.org>
811         * iconv/gconv_trans.c (__gconv_translit_find): Update open_count.
812         Set fname to NULL if the module wasn't found.
814 2000-09-03  Bruno Haible  <haible@clisp.cons.org>
816         * iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to
817         true if trans->name already ends in ".so".
819 2000-09-03  Bruno Haible  <haible@clisp.cons.org>
821         * iconv/gconv_int.h (__gconv_release_shlib): Change return type to
822         void.
823         * iconv/gconv_dl.c (do_release_shlib): Don't decrement the counter
824         below -TRIES_BEFORE_UNLOAD-1, to avoid wraparound.
825         (__gconv_release_shlib): Change return type to void.
826         * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Don't set
827         step->__counter here.
828         * iconv/gconv_db.c (free_derivation): Don't call a step's destructor
829         if the reference is zero.
830         (release_step): New function.
831         (gen_steps): Always initialize the __counter to 1. Use release_step.
832         Don't call the destructor on the step whose initializer failed.
833         (increment_counter): Use release_step. Don't normally run destructors
834         here.
835         (__gconv_close_transform): Use release_step.
837 2000-09-03  Bruno Haible  <haible@clisp.cons.org>
839         * iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove.
840         (__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead.
842 2000-09-03  Bruno Haible  <haible@clisp.cons.org>
844         * iconvdata/euc-tw.c (BODY for FROM_LOOP): Initialize ch2 correctly.
845         If the first byte is 0x8E, don't ask for 4 bytes until it has been
846         verified that the second byte is valid. Leave it to cns11643_to_ucs4
847         to check for incomplete input.
848         * iconvdata/cns11643.h (cns11643_to_ucs4): The plane number is
849         ch - 0x20 - offset, not ch - 0x21 - offset. Upper bound for
850         __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
851         (ucs4_to_cns11643): Fix mapping for ranges 0x3105..0x3129 and
852         0x9f9d..0x9fa5.
853         * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Upper bound for
854         __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
855         (ucs4_to_cns11643l1): Fix mapping for range 0x3105..0x3129.
856         * iconvdata/cns11643l1.c (__cns11643l1_from_ucs4_tab6): Extend
857         upto index 0x0052.
859 2000-09-03  Bruno Haible  <haible@clisp.cons.org>
861         * iconv/gconv_db.c (find_derivation): Always use the least-cost
862         solution.
864 2000-09-03  Bruno Haible  <haible@clisp.cons.org>
866         * iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF
867         are invalid.
869 2000-09-03  Bruno Haible  <haible@clisp.cons.org>
871         * iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C.
872         * iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to
873         U+007E.
875 2000-09-03  Bruno Haible  <haible@clisp.cons.org>
877         * iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C.
879 2000-09-03  Bruno Haible  <haible@clisp.cons.org>
881         * iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7.
883 2000-09-03  Bruno Haible  <haible@clisp.cons.org>
885         * iconvdata/tst-tables.sh: New file.
886         * iconvdata/tst-table.sh: New file.
887         * iconvdata/tst-table-from.c: New file.
888         * iconvdata/tst-table-to.c: New file.
889         * iconvdata/tst-table-charmap.sh: New file.
890         * iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to.
891         (distribute): Add tst-tables.sh, tst-table.sh, tst-table-charmap.sh,
892         tst-table-from.c, tst-table-to.c, EUC-JP.irreversible,
893         ISIRI-3342.irreversible, SJIS.irreversible.
894         (tests): Add dependency on tst-tables.out.
895         (tst-tables.out, tst-tables-clean): New rules.
896         (do-tests-clean, common-mostlyclean): Require tst-tables-clean.
897         * iconvdata/ISIRI-3342.irreversible: New file.
898         * iconvdata/EUC-JP.irreversible: New file.
899         * iconvdata/SJIS.irreversible: New file.
901 2000-09-04  Ulrich Drepper  <drepper@redhat.com>
903         * manual/locale.texi (General Numeric): Update description of
904         representation of the grouping information in the locale data.
905         Patch by Gaute B. Strokkenes <gs234@cam.ac.uk>.
907 2000-09-04  Andreas Jaeger  <aj@suse.de>
909         * locale/programs/ld-monetary.c (monetary_read): Fix typo.
910         * iconv/iconv_prog.c (options): Fix typo.
911         Reported by dyky@kondara.org, closes PR libc/1885.
913 2000-09-04  Andreas Jaeger  <aj@suse.de>
915         * sysdeps/generic/fegetenv.c: It's __fegetenv.
916         Reported by Rob Levin <lilo@transvirtual.com>.
918 2000-09-03  Ulrich Drepper  <drepper@redhat.com>
920         * time/sys/time.h (gettimeofday): Move restrict for tz parameter
921         to the typedefs of __timezone_ptr_t.
922         Reported by MATSUMURA Hiromitsu <coji2@mb.infoweb.ne.jp>.
924 2000-09-02  Jakub Jelinek  <jakub@redhat.com>
926         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in
927         the loop.
929 2000-09-01  H.J. Lu  <hjl@gnu.org>
931         * Makeconfig (built-program-cmd): Don't use the dynamic linker
932         to run a binary if it is in $(tests-static).
934         * Rules (binaries-static): Add $(tests-static).
936 2000-09-02  Andreas Jaeger  <aj@suse.de>
938         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Fixes for fcntl64.
940         * libio/fmemopen.c (fmemopen_close): Revert one part of last
941         patch.
943 2000-09-01  Ulrich Drepper  <drepper@redhat.com>
945         * iconvdata/big5hkscs.c: Regenerated from charmap.
946         * iconvdata/testdata/BIG5HKSCS: Regenerated.
947         * iconvdata/testdata/BIG5HKSCS..UTF8: Regenerated.
949         * libio/fmemopen.c (fmemopen_seek): Add default case in switch
950         statement.  General cleanup.
952 2000-08-31  Bruno Haible  <haible@clisp.cons.org>
954         * wctype/wcfuncs.c (iswblank): New function.
955         * wctype/wcfuncs_l.c (__iswblank_l): New function.
956         * wctype/wcextra.c: Remove file.
957         * wctype/wcextra_l.c: Remove file.
958         * wctype/Makefile (distribute): Remove wcextra and wcextra_l.
960 2000-08-31  Bruno Haible  <haible@clisp.cons.org>
962         * locale/programs/ld-collate.c (collate_output): Remove redundant
963         assert call.
964         * string/strcoll.c: Likewise.
965         * string/strxfrm.c: Include assert.h.  Add assert calls like in
966         string/strcoll.c.
968 2000-08-31  Bruno Haible  <haible@clisp.cons.org>
970         * locale/categories.def (_NL_COLLATE_HASH_SIZE,
971         _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_NAMES, _NL_CTYPE_NAMES,
972         _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Remove definitions.
973         * locale/langinfo.h (_NL_COLLATE_HASH_SIZE, _NL_COLLATE_HASH_LAYERS,
974         _NL_COLLATE_NAMES): Rename to _NL_COLLATE_GAP1/2/3 respectively.
975         (_NL_CTYPE_NAMES): Rename to _NL_CTYPE_GAP3.
976         (_NL_CTYPE_GAP3): Rename to _NL_CTYPE_GAP4.
977         (_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Rename to
978         _NL_CTYPE_GAP5/6 respectively.
980         * locale/C-ctype.c (_nl_C_LC_CTYPE): Update.
981         * ctype/ctype-info.c (__ctype_names, __ctype_width): Remove variables.
982         * locale/lc-ctype.c (_nl_postload_ctype): Assume new locale format.
983         Don't initialize __ctype_names and __ctype_width.
984         * wctype/cname-lookup.h: Remove file.
985         * wctype/Makefile (distribute): Remove cname-lookup.h.
986         * wctype/wchar-lookup.h: Include stdint.h.
987         * wctype/wctype.c (__wctype): Assume new locale format.
988         * wctype/wctype_l.c (__wctype_l): Likewise.
989         * wctype/iswctype.c: Don't include cname-lookup.h.
990         (__iswctype): Assume new locale format.
991         * wctype/iswctype_l.c: Don't include cname-lookup.h.
992         (__iswctype_l): Assume new locale format.
993         * wctype/wctrans.c: Don't include ctype.h.
994         (wctrans): Assume new locale format.
995         * wctype/wctrans_l.c (__wctrans_l): Likewise.
996         * wctype/towctrans.c: Don't include cname-lookup.h.
997         (__towctrans): Assume new locale format.
998         * wctype/towctrans_l.c: Don't include cname-lookup.h.
999         (__towctrans_l): Assume new locale format.
1000         * wctype/wcfuncs.c: Don't include ctype.h and cname-lookup.h. Include
1001         localeinfo.h instead.
1002         (__NO_WCTYPE): Remove unused macro.
1003         (__ctype32_b, __ctype32_toupper, __ctype32_tolower): Remove
1004         declarations.
1005         (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, iswprint,
1006         iswpunct, iswspace, iswupper, iswxdigit): Assume new locale format.
1007         (towlower, towupper): Likewise.
1008         * wctype/wcfuncs_l.c: Don't include cname-lookup.h. Include
1009         localeinfo.h instead.
1010         (__NO_WCTYPE): Remove unused macro.
1011         (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
1012         __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
1013         __iswxdigit_l): Assume new locale format.
1014         (__towlower_l, __towupper_l): Likewise.
1015         * wcsmbs/wcwidth.h: Don't include cname-lookup.h.
1016         (__ctype32_b): Remove declaration.
1017         (internal_wcwidth): Assume new locale format.
1018         * locale/programs/ld-ctype.c (struct locale_ctype_t): Remove fields
1019         plane_size, plane_cnt, names, width. Rename map to map_b, rename map32
1020         to map32_b, rename width_3level to width.
1021         (ctype_output): Always create new locale format. Don't emit
1022         _NL_CTYPE_NAMES, _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS any more.
1023         (allocate_arrays): Always create new locale format.
1025         * locale/C-collate.c (_nl_C_LC_COLLATE): Update.
1026         * locale/weightwc.h (findidx): Assume new locale format.
1027         * string/strcoll.c (wcscoll): Remove local variables size, layers,
1028         names.
1029         * string/strxfrm.c (wcsxfrm): Likewise.
1030         * posix/fnmatch_loop.c (internal_fnwmatch): Likewise. Change type of
1031         local variable collseq to 'const char *'.
1032         (SUFFIX): Don't use, don't undefine.
1033         * posix/fnmatch.c: Remove SUFFIX definition.
1034         * locale/programs/ld-collate.c (struct locale_collate_t): Remove
1035         fields plane_size, plane_cnt, wcheads, wcseqorder. Rename
1036         wcheads_3level to wcheads, rename wcseqorder_3level to wcseqorder.
1037         (collate_finish): Always create new locale format. Remove local
1038         variables min_total, act_size.
1039         (collate_output): Always create new locale format. Remove local
1040         variables table_size, names, tablewc. Rename tablewc_3level to
1041         tablewc.
1043 2000-08-31  Bruno Haible  <haible@clisp.cons.org>
1045         * locale/programs/ld-collate.c (obstack_int32_grow,
1046         obstack_int32_grow_fast): New inline functions.
1047         (output_weightwc, collate_output): Use them where possible.
1049 2000-09-01  Ulrich Drepper  <drepper@redhat.com>
1051         * libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last
1052         patch (_mode -> _flags).
1054         * libio/Makefile (headers): Add stdio_ext.h.
1055         (routines): Add __fbufsize, __freading, __fwriting, __freadable,
1056         __fwritable, __flbf, __fpurge, __fpending, and __fsetlocking.
1057         * libio/Versions [libc] (GLIBC_2.2): Add __fbufsize, __freading,
1058         __fwriting, __freadable, __fwritable, __flbf, __fpurge, __fpending,
1059         __fsetlocking, and _flushlbf.
1060         * libio/__fbufsize.c: New file.
1061         * libio/__flbf.c: New file.
1062         * libio/__fpending.c: New file.
1063         * libio/__fpurge.c: New file.
1064         * libio/__freadable.c: New file.
1065         * libio/__freading.c: New file.
1066         * libio/__fsetlocking.c: New file.
1067         * libio/__fwritable.c: New file.
1068         * libio/__fwriting.c: New file.
1069         * libio/stdio_ext.h: New file.
1070         * libio/genops.c (_IO_flush_all_linebuffered): Add alias _flushlbf.
1071         * libio/libio.h (_IO_USER_LOCK): Define.
1072         [_IO_MTSAFE_IO] (_IO_flockfile, _IO_funlockfile): Add macros which
1073         test _IO_USER_LOCK flag first.
1075         * iconv/gconv_open.c (__gconv_open): Set res to __GCONV_NOMEM is
1076         malloc fails.
1078 2000-09-01  Andreas Jaeger  <aj@suse.de>
1080         * sysdeps/unix/sysv/linux/bits/fcntl.h: Always fail.
1082         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: New file.
1084 2000-08-31  Ulrich Drepper  <drepper@redhat.com>
1086         * math/Makefile (tests): Add tst-defintions.
1087         * math/tst-definitions.c: New file.
1089         * stdlib/Makefile (headers): Add bits/wchar.h.
1090         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file.
1091         * sysdeps/generic/bits/wchar.h: New file.
1092         * sysdeps/generic/stdint.h: Include <bits/wchar.h>.  Use values in this
1093         file to define WCHAR_MIN and WCHAR_MAX.
1094         Change UINT*8_MAX and UIN*16_MAX value to type int.
1095         * wcsmbs/wchar.h: Include <bits/wchar.h>.  Use values in this
1096         file to define WCHAR_MIN and WCHAR_MAX.
1097         * sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN
1098         int values.
1099         * sysdeps/arm/fpu/bits/mathdef.h: Likewise.
1100         * sysdeps/generic/bits/mathdef.h: Likewise.
1101         * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
1102         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
1103         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
1104         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
1105         * locale/locale.h (struct lconv): Add __ prefix to the new members
1106         if not C99.
1107         * sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and
1108         imaxdiv optimizations.
1109         * sysdeps/wordsize-32/lldiv.c: Add hack to make alias work.
1110         * sysdeps/wordsize-64/ldiv.c: Likewise.
1111         * sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to
1112         const fenv_t*.
1113         * sysdeps/generic/bits/fenv.h: Likewise.
1114         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
1115         * sysdeps/ia64/bits/fenv.h: Likewise.
1116         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
1117         * sysdeps/mips/bits/fenv.h: Likewise.
1118         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
1119         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
1120         Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1122         * inet/rcmd.c: Use *stat64 instead of *stat internally.
1123         * inet/ruserpass.c: Likewise.
1124         * catgets/open_catalog.c: Likewise.
1125         * intl/loadmsgcat.c: Likewise.
1126         * io/getdirname.c: Likewise.
1127         * locale/loadlocale.c: Likewise.
1128         * misc/getusershell.c: Likewise.
1129         * stdlib/canonicalize.c: Likewise.
1130         * sysdeps/posix/euidaccess.c: Likewise.
1131         * sysdeps/posix/isfdtype.c: Likewise.
1132         * sysdeps/posix/posix_fallocate.c: Likewise.
1133         * sysdeps/posix/tempname.c: Likewise.
1134         * sysdeps/unix/grantpt.c: Likewise.
1135         * sysdeps/unix/opendir.c: Likewise.
1136         * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
1137         * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
1138         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1139         * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
1140         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1141         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1142         * sysvipc/ftok.c: Likewise.
1143         * time/getdate.c: Likewise.
1145         * time/getdate.c: Add extra access test.
1147 2000-08-31  Ulrich Drepper  <drepper@redhat.com>
1149         * version.h (VERSION): Bump to 2.1.93.
1151         * sysdeps/unix/sysv/linux/powerpc/Dist: Add fe_nomask.c.
1152         * sysdeps/unix/sysv/linux/i386/Dist: Add olddirent.h.
1154         * intl/Makefile (tests): Depend in mtrace-tst-gettext.
1155         Make this a new rule depending on tst-gettext.out and run mtrace.
1156         * intl/tst-gettext.c: Call mtrace.
1157         * intl/tst-gettext.sh: Put MALLOC_TRACE in environment of tst-gettext.
1159         * elf/dl-reloc.c: Add a few more __builtin_expect.
1161         * configure.in: Remove --with-gettext option.
1163         * intl/dcigettext.c (free_mem): Correct freeing of
1164         _nl_domain_bindings list.
1166         * sysdeps/generic/setenv.c (free_mem): New function.  Free all
1167         allocated memory.
1169         * intl/locale.alias: Add aliases for bokmal and nynorsk.
1171         * locale/iso-639.def: Fix 639-1 code for Bokmal.
1173         * stdio-common/itoa-digits.c: Move upper digits to...
1174         * stdio-common/itoa-udigits.c: ...here.  New file.
1175         * stdio-common/Makefile (routines): Add itoa-udigits.
1177         * sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to
1178         relocate ld.so don't add supprt for relocations which should not
1179         appear in ld.so.
1181         * malloc/malloc.c (ptmalloc_init): Optimize a bit by not calling
1182         __secure_getenv.  Instead test __libc_enable_secure once.
1184         * io/pwd.c (main): Provide a good example, use *_unlocked function.
1186 2000-08-30  Ulrich Drepper  <drepper@redhat.com>
1188         * iconv/gconv_conf.c (insert_module): Take extra parameter to decide
1189         whether the new record should be freed if it's a duplicate.
1190         (add_module): Adjust insert_module call.
1191         (__gconv_read_conf): Likewise.
1192         * iconvdata/Makefile (generated): Add tst-loading.mtrace and
1193         mtrace-tst-loading.
1194         (tests): Make $(objpfx)mtrace-tst-loading a dependency.  Add rule.
1196         * sysdeps/generic/ldsodefs.h: Add declaration for _dl_all_dirs and
1197         _dl_all_init_dirs.
1198         * include/link.h (struct r_search_path_struct): New.
1199         (struct link_map): Use it for l_rpath_dirs and l_runpath_dirs.
1200         * elf/Versions [ld] (GLIBC_2.2): Add _dl_all_dirs and
1201         _dl_all_init_dirs.
1202         * elf/dl-close.c (_dl_close): Free l_rpath_dirs and l_runpath_dirs.
1203         * elf/dl-libc.c (free_mem): Free _dl_all_dirs list except elements
1204         added at startup time.
1205         * elf/dl-load.c: Fix memory handling.  r_search_path_struct
1206         contains element to remember fact that we can free memory.
1207         (all_dirs): Renamed to _dl_all_dirs.  Made global.
1208         (_dl_init_all_dirs): New variable.
1209         (fillin_rpath): Save one malloc call.
1210         (decompose_rpath): Change interface.  New first parameter points to
1211         r_search_path_struct.
1212         (_dl_init_paths): Adjust for changes.  Mark all memory as not
1213         deletable.  Set _dl_init_all_paths value.
1214         (open_path): Remove may_free_dirs parameter.  r_search_path_elem ***
1215         parameter replaced with r_search_path_struct *.  Information about
1216         freeing now contained in r_search_path_struct.
1217         (_dl_map_object): Adjust for above changes.
1219         * elf/dl-open.c (dl_open_worker): Change format of debug info a bit.
1221         * elf/dl-load.c (fillin_rpath): Only check for trusted directories
1222         when adding new entries.
1224         * elf/dl-load.c (fillin_rpath): Make local copy of where string
1225         since the object being loaded can be unloaded.
1227         * iconvdata/Makefile (tests): Add tst-loading.
1228         * iconvdata/tst-loading.c: New file.
1230 2000-08-29  Bruno Haible  <haible@clisp.cons.org>
1232         * stdio-common/vfscanf.c (_IO_vfscanf): Back out last ungetc change.
1233         When comparing a char with an int, always cast the char to
1234         'unsigned char'. New macro ungetc_not_eof, to avoid warnings when
1235         compiling with -funsigned-char. Use UCHAR_MAX+1 instead of UCHAR_MAX.
1237 2000-08-30  Ulrich Drepper  <drepper@redhat.com>
1239         * time/strftime.c (my_strftime): Add compatibility code for use
1240         outside glibc.  Patch by Jim Meyering <meyering@ascend.com>.
1242         * sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere
1243         return 0 for success but always < 0 on failure.
1245         * nss/getXXbyYY_r.c: Define result to *result before including
1246         digits_dots.c.
1248 2000-08-30  Andreas Jaeger  <aj@suse.de>
1250         * math/gen-libm-test.pl (parse_ulps): Remove extra \.
1252 2000-08-29  Ulrich Drepper  <drepper@redhat.com>
1254         * iconvdata/big5hkscs.c: Rewritten.  Regenerate data from the
1255         official file.
1256         * iconvdata/TESTS: Add BIG5HKSCS entry.
1257         * iconvdata/testdata/BIG5HKSCS: New file.
1258         * iconvdata/testdata/BIG5HKSCS..UTF8: New file.
1260         * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is
1261         always true.
1263         * libio/iogetline.c: Set mode before the loop in case n==0.
1264         * libio/iogetwline.c: Likewise.
1266 2000-08-29  H.J. Lu  <hjl@gnu.org>
1268         * libio/fileops.c (new_do_write): Check fp->_mode <= 0 instead
1269         of fp->_mode < 0.
1270         (_IO_new_file_overflow): Likewise.
1271         * libio/genops.c (_IO_flush_all): Likewise.
1272         * libio/ioftell.c (_IO_ftell): Likewise.
1274 2000-08-29  Akira Higuchi  <a@kondara.org>
1276         * iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct,
1277         and __end_fct fields of struct __gconv_step.
1278         * iconv/Makefile (tests): Add iconv-bug2.
1279         * iconv/iconv-bug2.c: New file.
1281         * iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr'
1282         instead of 'inptr - inend' to ksc5601_to_ucs4.
1284         * iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character.
1286         * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete
1287         character or shift sequence is found at the end of the input
1288         string, return__GCONV_INCOMPLETE_INPUT instead of
1289         __GCONV_EMPTY_INPUT.
1290         * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
1291         * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.
1293         * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return
1294         __GCONV_ILLEGAL_INPUT for 8bit characters.
1296 2000-08-29  Ulrich Drepper  <drepper@redhat.com>
1298         * signal/signal.h (sigpause): Move __THROW before __asm__.
1300         * inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
1301         names don't match don't return.
1302         Patch by Olaf Kirch <okir@flash.lst.de>.
1304 2000-08-28  Ulrich Drepper  <drepper@redhat.com>
1306         * time/strftime.c (my_strftime): Handle # flag for %b as well.
1308 2000-08-27  H.J. Lu  <hjl@gnu.org>
1310         * posix/Makefile (otherlibs): Add for building with static-nss
1311         for "make check".
1313 2000-08-28  Ulrich Drepper  <drepper@redhat.com>
1315         * libio/stdio.h: Add fmemopen prototype.
1317 2000-08-25  Andreas Jaeger  <aj@suse.de>
1319         * libio/Makefile (routines): Add fmemopen.
1320         (tests): Add test-fmemopen.
1321         * libio/Versions: Add fmemopen with version GLIBC_2.2.
1322         * libio/test-fmemopen.c: New file.
1323         * libio/fmemopen.c: New file.
1324         Patches by Hanno Mueller <kontakt@hanno.de>.
1326 2000-08-28  Ulrich Drepper  <drepper@redhat.com>
1328         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double
1329         inclusion.  Patch by Jes Sorensen <jes@linuxcare.com>.
1331         * locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828
1332         to avoid crashing statically linked applications.
1334 2000-08-27  Bruno Haible  <haible@clisp.cons.org>
1336         * string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
1337         If nrules == 0 and srclen < n, copy only srclen + 1 characters.
1339         * sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>.
1340         If the result is fits in the buffer, copy only as many bytes as needed.
1342         * sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the
1343         buffer after copying numbuf into it.
1344         * sysdeps/mach/_strerror.c (__strerror_r): Likewise.
1346 2000-08-27  Bruno Haible  <haible@clisp.cons.org>
1348         * posix/confstr.c (confstr): When string_len > len, NUL-terminate
1349         the result.  When string_len < len, don't clear the rest of the buffer.
1351 2000-08-27  Bruno Haible  <haible@clisp.cons.org>
1353         Support for new LC_COLLATE format.
1354         * locale/coll-lookup.h: New file.
1355         * locale/weightwc.h (findidx): When size == 0, call
1356         collidx_table_lookup.
1357         * wcsmbs/wcscoll.c: Include coll-lookup.h.
1358         * wcsmbs/wcsxfrm.c: Likewise.
1359         * posix/fnmatch.c: Likewise.
1360         * posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call
1361         collseq_table_lookup.
1362         * locale/programs/3level.h: New file.
1363         * locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define
1364         by including "3level.h".
1365         * locale/programs/ld-collate.c (wchead_table, collidx_table,
1366         collseq_table): New types, defined by including "3level.h".
1367         (locale_collate_t): New wcheads_3level, wcseqorder_3level fields.
1368         (encoding_mask, encoding_byte): Remove.
1369         (utf8_encode): Use simple shifts instead.
1370         (collate_finish): When !oldstyle_tables, set plane_size and plane_cnt
1371         to 0, and initialize and fill wcheads_3level and wcseqorder_3level.
1372         (collate_output): New local variable tablewc_3level. When
1373         !oldstyle_tables, set table_size to 0 and names to NULL and fill
1374         tablewc_3level instead of tablewc. Change format of TABLEWC and
1375         COLLSEQWC entries written to the file.
1376         * locale/C-collate.c (collseqwc): Change format.
1377         (_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format
1378         of COLLSEQWC.
1379         * locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h.
1381 2000-08-27  Bruno Haible  <haible@clisp.cons.org>
1383         * locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro.
1384         (locale_ctype_t): New charnames_idx field.
1385         (ctype_startup): Initialize charnames_idx field.
1386         (find_idx): Speed up dramatically by using charnames_idx inverse table.
1388 2000-08-27  Bruno Haible  <haible@clisp.cons.org>
1390         * locale/C-ctype.c: Switch to new locale format.
1391         (_nl_C_LC_CTYPE_names): Remove array.
1392         (STRUCT_CTYPE_CLASS): New macro.
1393         (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
1394         graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
1395         New three-level tables.
1396         (_nl_C_LC_CTYPE_width): Change from array to three-level table.
1397         (_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS
1398         to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add
1399         12 class tables and 2 map tables at the end.
1400         * ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration.
1401         (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
1402         graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
1403         New declarations.
1404         (b): Remove trailing semicolon.
1405         (__ctype_names, __ctype_width): Don't initialize.
1406         (__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize.
1408 2000-08-27  Bruno Haible  <haible@clisp.cons.org>
1410         * elf/dl-load.c (open_path): Add a argument telling whether *dirsp
1411         is guaranteed to be allocated with the same malloc() and may be
1412         passed to free().
1413         (_dl_map_object): Update open_path calls. If rtld_search_dirs has
1414         been set to empty by an earlier open_path call, don't pass it again.
1416 2000-08-28  Ulrich Drepper  <drepper@redhat.com>
1418         * include/libintl.h: Include <locale.h> since libintl.h doesn't if
1419         we are not optimizing.
1421         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double
1422         inclusion.
1424         * stdio-common/vfscanf.c (ungetc): Cast c to signed char first to
1425         really match EOF.
1426         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1428 2000-08-28  Andreas Jaeger  <aj@suse.de>
1430         * sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon.
1432 2000-08-28  Mark Kettenis  <kettenis@gnu.org>
1434         * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from
1435         getpeername.  Use ISO C style function definition.
1436         (getpeername): Provide weak alias.
1437         * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from
1438         setrlimit.  Use ISO C style function definition.
1439         (setrlimit): Provide weak alias.
1441 2000-08-28  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1443         * shlib-versions: Add a rule for S/390 to the libm version list.
1444         * sysdeps/s390/Versions: New file.
1445         * sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c.
1446         * sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64.
1447         * sysdeps/unix/sysv/linux/s390/Versions: New file.
1448         * sysdeps/unix/sysv/linux/s390/alphasort64.c: New file.
1449         * sysdeps/unix/sysv/linux/s390/chown.c: New file.
1450         * sysdeps/unix/sysv/linux/s390/fxstat.c: New file.
1451         * sysdeps/unix/sysv/linux/s390/getdents64.c: New file.
1452         * sysdeps/unix/sysv/linux/s390/getrlimit.c: New file.
1453         * sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file.
1454         * sysdeps/unix/sysv/linux/s390/lxstat.c: New file.
1455         * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file.
1456         * sysdeps/unix/sysv/linux/s390/readdir64.c: New file.
1457         * sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file.
1458         * sysdeps/unix/sysv/linux/s390/scandir64.c: New file.
1459         * sysdeps/unix/sysv/linux/s390/setrlimit.c: New file.
1460         * sysdeps/unix/sysv/linux/s390/syscalls.list: New file.
1461         * sysdeps/unix/sysv/linux/s390/versionsort64.c: New file.
1462         * sysdeps/unix/sysv/linux/s390/xstat.c: New file.
1464 2000-08-28  Ulrich Drepper  <drepper@redhat.com>
1466         * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu]
1467         (CFLAGS-initfini.s): Add -DWEAK_GMON_START.
1469         * elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files.
1470         * elf/dl-close.c (_dl_close): Print debug message if object is not
1471         unloaded.
1472         * elf/dl-open.c (dl_open_worked): Print message about opencount before
1473         returning to caller.
1475         * po/zh.po: Renamed to...
1476         * po/zh_TW.po: ...this.
1478 2000-08-27  Geoff Keating  <geoffk@cygnus.com>
1480         * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
1482         * sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
1483         * sysdeps/powerpc/fpu/feenablxcpt.c: New file.
1484         * sysdeps/powerpc/fpu/fegetexcept.c: New file.
1485         * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
1487 2000-08-27  Ulrich Drepper  <drepper@redhat.com>
1489         * locale/programs/ld-collate.c (insert_weights): Also update
1490         backpointer of next element.
1491         (collate_read): Allow definition of new collation symbols in stage 2.
1492         Symbol after reorder-after can be UCS4 value.
1493         Allow reordering of collation symbols and elements.
1494         Do not only move reorder entry in new position.  Instead call
1495         insert_weight to do this and read the weights.
1497         * locale/findlocale.c (free_mem): Add cast to avoid warning.
1499         * intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code
1500         to determine invalid locale name.
1501         * locale/findlocale.c (_nl_find_locale): Likewise.
1503         * posix/annexc.c: Correct test for unavailable feature.
1505         * sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE ->
1506         __inline.
1508 2000-08-26  Ulrich Drepper  <drepper@redhat.com>
1510         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64
1511         syscall.
1513         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource]
1514         (sysdep_routines): Add oldgetrlimit64.
1516         * elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c,
1517         reldepmod2.c, reldepmod3.c, and reldepmod4.c.
1518         (tests): Add unload, reldep, reldep2, and reldep3.
1519         (modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3,
1520         and reldepmod4.
1521         Add rules to build and run unload, reldep, reldep2, and reldep3.
1522         * elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit.
1523         Don't create relocation dependency if it is nonzero.
1524         (_dl_lookup_symbol_skip): Remove relocation dependency stuff.  This
1525         can never happen here.
1526         (_dl_lookup_versioned_symbol): Add new parameter explicit.
1527         Don't create relocation dependency if it is nonzero.
1528         (_dl_lookup_versioned_symbol_skip): Remove relocation dependency
1529         stuff.  This can never happen here.
1530         * sysdeps/generic/ldsodefs.h: Change prototypes.
1531         * elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to
1532         _dl_lookup_up and _dl_lookup_versioned_symbol.
1533         (RESOLV): Likewise.
1534         * elf/dl-runtime.c (fixup): Likewise.
1535         (profile_fixup): Likewise.
1536         * elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to
1537         _dl_lookup_symbol.
1538         * elf/dl-symbol.c (_dl_symbol_value): Likewise.
1539         * elf/rtld.c (dl_main): Likewise.
1540         * elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to
1541         _dl_lookup_symbol if handle is not RTLD_DEFAULT.  Always compute
1542         and pass down the caller map.
1543         (_dl_vsym): Likewise.
1544         * elf/reldep.c: New file.
1545         * elf/reldep2.c: New file.
1546         * elf/reldep3.c: New file.
1547         * elf/reldepmod1.c: New file.
1548         * elf/reldepmod2.c: New file.
1549         * elf/reldepmod3.c: New file.
1550         * elf/reldepmod4.c: New file.
1551         * elf/unload.c: New file.
1552         * elf/unloadmod.c: New file.
1554         * elf/do-lookup.h: Remove unused undef_name parameter.
1555         * elf/dl-lookup.c: Adjust callers.
1557 2000-08-25  Ulrich Drepper  <drepper@redhat.com>
1559         * iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of
1560         irreversible in recursive call of conversion function to signal that
1561         no error handling is wanted.
1562         * iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too.
1563         (STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL.
1564         * iconv/skeleton.c (lirreversiblep): New variable.  Set to NULL is
1565         recursive error handling call, otherwise to &lirreversible.  Use it
1566         for calls to conversion functions.
1567         * iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when
1568         transliterating.
1569         (ucs4_internal_loop_unaligned): Likewise.
1570         (ucs4le_internal_loop): Likewise.
1571         (ucs4le_internal_loop_unaligned): Likewise.
1573 2000-08-25  Greg McGary  <greg@mcgary.org>
1575         * sysdeps/i386/memchr.S: Check high bound against chars
1576         actually scanned.
1577         * sysdeps/i386/memcmp.S: Likewise.
1578         * sysdeps/i386/stpncpy.S: Adjust high-bound check to
1579         account for pointers that lie one beyond end-of-buffer.
1581 2000-08-25  Ulrich Drepper  <drepper@redhat.com>
1583         * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic.
1584         * elf/nodelete.c (fini_ran): New global variable.
1585         (do_test): Before every dlclose call clear fini_ran and test
1586         afterwards that it is not set by the destructors.
1587         * elf/nodelmod1.c: Add destructor which sets fini_ran.
1588         * elf/nodelmod2.c: Likewise.
1589         * elf/nodelmod4.c: Likewise.
1591 2000-08-21  Jes Sorensen  <jes@linuxcare.com>
1593         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and
1594         getrlimit to the list.
1596 2000-08-18  Jes Sorensen  <jes@linuxcare.com>
1598         * sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit
1599         long double format so use ldbl-96 instead of ldbl-128.
1601 2000-08-25  Ulrich Drepper  <drepper@redhat.com>
1603         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL
1604         even if bits 10 a 11 are non-zero.
1605         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise.
1607         * Makeconfig: Ensures the soversions.mk part of Makefile gets
1608         included before building gnu/lib-names.h
1609         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1611         * elf/dl-close.c (_dl_close): Don't run destructors of objects
1612         marked DF_1_NODELETE.
1614         * sysdeps/posix/system.c (__libc_system): We cannot use vfork here
1615         since we call sigaction in the child.
1617 2000-08-25  Andreas Jaeger  <aj@suse.de>
1619         * iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on
1620         gconv-modules.
1622 2000-08-25  Andreas Jaeger  <aj@suse.de>
1624         * manual/arith.texi (Control Functions): Clarify possible
1625         arguments.  Closes PR libc/1856.
1627 2000-08-24  H.J. Lu  <hjl@gnu.org>
1629         * stdio-common/Makefile (tests): Don't do it for cross compiling.
1630         * malloc/Makefile (tests): Likewise.
1632 2000-08-24  Ulrich Drepper  <drepper@redhat.com>
1634         * iconvdata/unicode.c (gconv_init): Correct test for direction.
1636 2000-08-24  Andreas Jaeger  <aj@suse.de>
1638         * malloc/Makefile (extra-objs): Fix last patch, build memusagestat
1639         only if LIBGD is available.
1641 2000-08-24  Ulrich Drepper  <drepper@redhat.com>
1643         * resolv/res_send.c (res_ourserver_p): Cleanup the type mess to avoid
1644         problems with now restrict parameter types.
1645         (convaddr4to6): Likewise.
1647 2000-08-24  Denis Joseph Barrow  <djbarrow@de.ibm.com>
1649         * sysdeps/s390/fpu/fedisblxcpt.c: New file.
1650         * sysdeps/s390/fpu/feenablxcpt.c: New file.
1651         * sysdeps/s390/fpu/fegetexcept.c: New file.
1652         * sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition
1653         FPC_VALID_MASK.
1655 2000-08-24  Andreas Jaeger  <aj@suse.de>
1657         * malloc/Makefile (extra-objs): Add memusagestat.o.
1658         (generated): Added memusage and memusagestat for make clean.
1660         * libio/tst_putwc.c (do_test): Delete temporary file.
1661         Move inclusion of test-skeleton to front to have prototype for
1662         add_temp_file.
1664         * posix/Makefile (generated): Add wordexp-tst.out.
1666 2000-08-24  Ulrich Drepper  <drepper@redhat.com>
1668         * resolv/res_hconf.c (free_mem): Remove not needed if.
1670         * time/tzset.c (free_mem): New function.
1671         * string/strsignal.c (free_mem): New function.
1672         * inet/inet_ntoa.c (free_mem): New function.
1673         * sunrpc/clnt_perr.c (free_mem): New function.
1675 2000-08-24  Andreas Jaeger  <aj@suse.de>
1677         * sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
1678         * sysdeps/unix/sysv/syscalls.list: Likewise.
1680         * posix/unistd.h: Move internal prototypes from here ...
1681         * include/unistd.h: ... to here.
1683         * sysvipc/sys/shm.h: Add const attribute to __getpagesize.
1685 2000-08-24  Ulrich Drepper  <drepper@redhat.com>
1687         * grp/initgroups.c (initgroups): Deallocate groups array.
1688         Reported by jani.raiha@sonera.com [PR libc/1868].
1690         * sysdeps/s390/Dist: Add fpu/fenv_libc.h.
1691         * sysdeps/alpha/Dist: Likewise.
1693 2000-08-23  Ulrich Drepper  <drepper@redhat.com>
1695         * crypt/md5-crypt.c (free_mem): Fix typo (constructor ->
1696         destructor).  Reported by Solar Designer <solar@false.com>.
1698         * iconv/gconv_conf.c (add_module): Remove some unneeded code to
1699         avoid adding double slashes.
1701 2000-08-23  Jakub Jelinek  <jakub@redhat.com>
1703         * dirent/dirent.h (alphasort, versionsort): Move __attribute_pure__
1704         out of the __REDIRECT macro.
1706 2000-08-23  Ulrich Drepper  <drepper@redhat.com>
1708         * stdio-common/vfscanf.c: Add %F format support.
1710         * locale/programs/ld-ctype.c (ctype_output): Make sure
1711         _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN and
1712         _NL_CTYPE_TRANSLIT_IGNORE_LEN are aligned.
1713         (ctype_read): Enable returning of wide character strings for reading
1714         transliteration information.
1716 2000-08-23  Andreas Jaeger  <aj@suse.de>
1718         * sysdeps/unix/sysv/linux/i386/sys/io.h (_EXTERN_INLINE): Remove.
1719         Use static __inline instead of _EXTERN_INLINE.
1721         * misc/sys/select.h: Move prototypes of __select from here ...
1722         * include/sys/select.h: ... to here.
1724         * socket/sys/socket.h: Move prototypes of __send and __connect
1725         from here....
1726         * include/sys/socket.h: ... to here.
1728         * locale/programs/ld-ctype.c (ctype_read): Fix parameter for
1729         lr_error.
1731 2000-08-23  Jakub Jelinek  <jakub@redhat.com>
1733         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use
1734         __setrlimit as strong name. Takes only 2 arguments.
1736         * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit
1737         takes only 2 arguments.
1739 2000-08-23  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1741         * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
1743         * sysdeps/s390/bits/setjmp.h: Add __ to JB_GPR* defines.
1745 2000-08-23  Ulrich Drepper  <drepper@redhat.com>
1747         * locale/programs/ld-ctype.c (ctype_read): Allow more than one
1748         default_missing character being specified, pick the first
1749         representable.
1751 2000-08-23  Andreas Jaeger  <aj@suse.de>
1753         * include/wchar.h: Add some pure attributes.
1755         * time/time.h: Add const attribute for dysize.
1757         * include/stdlib.h: Add malloc attribute to __posix memalign.
1759         * stdlib/stdlib.h: Add some pure and malloc attributes.
1760         * wcsmbs/wchar.h: Likewise.
1762         * dirent/dirent.h: Add some pure attributes.
1763         * include/dirent.h: Likewise.
1765 2000-08-23  Jakub Jelinek  <jakub@redhat.com>
1767         * inet/netinet/in.h (struct in6_addr): Don't enforce 64bit alignment
1768         on 64bit arches.
1770 2000-08-22  Ulrich Drepper  <drepper@redhat.com>
1772         * iconvdata/iso-2022-jp.c: In conversion to ISO-2022-JP, add two
1773         missing buffer size checks.
1775 2000-08-23  Andreas Jaeger  <aj@suse.de>
1777         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Use __setrlimit as
1778         strong name.
1779         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1781         * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h",
1782         otherwise __LINUX_KERNEL_VERSION might not be defined.
1783         (MIN): Define if not already defined.
1785 2000-08-22  Ulrich Drepper  <drepper@redhat.com>
1787         * stdio-common/vfprintf.c: Handle %F format.
1788         * stdio-common/printf-parse.h (parse_one_spec): Likewise.
1789         Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
1791         * stdio-common/tstdiomisc.c: Add test for %F printf format.
1793         * po/zh.po: New file.
1795         * iconvdata/sjis.c: In conversion from UCS4, correct test for
1796         enough room in target buffer.
1797         Patch by KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp> [PR libc/1865].
1798         * iconvdata/bug-iconv1.c: New file.
1799         * iconvdata/Makefile (tests): Add bug-iconv1.
1801         * locale/iso-4217.def: Update entry for Nicaragua.
1803 2000-08-22  Mark Kettenis  <kettenis@gnu.org>
1805         * hurd/hurdsig.c: Rearrange headers a bit.
1806         (_hurdsig_init): Block until _hurd_msgport_thread is initialized
1807         when cthreads is being used.
1809 2000-08-22  Ulrich Drepper  <drepper@redhat.com>
1811         * elf/Makefile (distribute): Add dl-osinfo.h.
1812         * sysdeps/generic/dl-osinfo.h: New file.
1813         * sysdeps/unix/sysv/linux/dl-osinfo.h: New file.
1814         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK
1815         if defined.
1816         * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test
1817         only for !SHARED case.  Get the code from dl-osinfo.h.
1819         * stdlib/random_r.c: Cleanups.
1820         * stdlib/tst-random.c: New file.
1821         * stdlib/Makefile (tests): Add tst-random.
1822         Patches by Michael Fischer <fischer-michael@cs.yale.edu>.
1824 2000-08-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1826         * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove.
1827         * sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove.
1828         * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove.
1829         * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
1831 2000-08-22  Jakub Jelinek  <jakub@redhat.com>
1833         * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove.
1834         * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove.
1835         (__syscall__sysctl): Add.
1837 2000-08-21  Andreas Jaeger  <aj@suse.de>
1839         * stdlib/tst-strtol.c: Add test for 0xFFFFFFFFFFFF00FF (from PR
1840         libc/1864).
1841         * stdlib/tst-strtoll.c: Likewise.
1843 2000-08-21  Ulrich Drepper  <drepper@redhat.com>
1845         * stdlib/random_r.c (__setstate_r): Also compute end_ptr
1846         correctly.
1847         (__initstate_r): Set errno on error.
1848         (__random_r): Likewise.
1849         (__setstate_r): Correct offset when computing
1850         new rptr and fptr.  Test for arg_state being NULL.
1851         Reported by Michael Fischer <fischer@cs.yale.edu>.
1853         * posix/regex.h: Add macro definitions to allow compiling outside
1854         glibc.
1856         * sysdeps/i370/Implies: Removed.
1857         * sysdeps/mvs/Implies: Removed.
1859         * catgets/catgets.c (catopen): Filter out env_var values with / if
1860         necessary.
1862         * locale/findlocale.c (_nl_find_locale): Move test for unusable
1863         locale name after all getenvs.
1865         * configure.in: Allow sed versions like 3.02.8.
1866         Patch by Rodrigo Barbosa <rodrigob@conectiva.com.br>.
1868 2000-08-21  Marko Myllynen  <myllynen@lut.fi>
1870         * inet/netinet/icmp6.h: Add Mobile IPv6 extensions structures.
1872 2000-08-21  Ulrich Drepper  <drepper@redhat.com>
1874         * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error
1875         of gethostbyname2_r call.
1877         * intl/locale.alias: Add aliases for Korean.
1879 2000-08-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1881         * sysdeps/s390/__longjmp.c: Remove unused variable result.
1882         * sysdeps/s390/fpu/bits/fenv.h: Move FPC_* definitions to fenv_libc.h.
1883         * sysdeps/s390/fpu/fclrexcpt.c: Include fenv_libc.h instead of fenv.h.
1884         * sysdeps/s390/fpu/fegetenv.c: New file.
1885         * sysdeps/s390/fpu/fegetround.c: Include fenv_libc.h instead of fenv.h.
1886         * sysdeps/s390/fpu/feholdexcpt.c: New file.
1887         * sysdeps/s390/fpu/fenv_libc.h: New file.
1888         * sysdeps/s390/fpu/fesetenv.c: New file.
1889         * sysdeps/s390/fpu/fesetround.c: Include fenv_libc.h instead of fenv.h.
1890         * sysdeps/s390/fpu/feupdateenv.c: New file.
1891         * sysdeps/s390/fpu/fgetexcptflg.c: Reformatted.
1892         * sysdeps/s390/fpu/fpu_control.h: Corrected header.
1893         * sysdeps/s390/fpu/fraiseexcpt.c: New file.
1894         * sysdeps/s390/fpu/fsetexcptflg.c: New file.
1895         * sysdeps/s390/fpu/ftestexcept.c: New file.
1896         * sysdeps/s390/fpu/libm-test-ulps: New file.
1897         * sysdeps/s390/gmp-mparam.h: Add end of comment.
1898         * sysdeps/s390/initfini.c: New file.
1899         * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
1900         * sysdeps/unix/sysv/linux/s390/Makefile: Remove sys/reg.h.
1901         * sysdeps/unix/sysv/linux/s390/bits/stat.h: New file.
1902         * sysdeps/unix/sysv/linux/s390/lchown.c: New file.
1903         * sysdeps/unix/sysv/linux/s390/sys/elf.h: Move elf definitions to
1904         sys/procfs.h as proposed by Mark Kettenis.
1905         * sysdeps/unix/sysv/linux/s390/sys/procfs.h: New file.
1907 2000-08-21  Andreas Jaeger  <aj@suse.de>
1909         * include/poll.h: Include include/sys/poll.h to get __poll
1910         declaration.
1912         * io/sys/poll.h: Move __poll declaration from here...
1913         * include/sys/poll.h: ...to here.
1915         * include/sys/socket.h (__getpeername): Add declaration.
1917         * include/wchar.h (__vswprintf): Add declaration.
1919         * include/stdio.h (__flockfile): Add declaration.
1920         (__funlockfile): Likewise.
1922 2000-08-20  Ulrich Drepper  <drepper@redhat.com>
1924         * misc/sys/cdefs.h: Define __restrict_arr.
1925         * include/sys/time.h: Add restrict where required by AGd4.
1926         * inet/arpa/inet.h: Likewise.
1927         * io/sys/stat.h: Likewise.
1928         * io/sys/statvfs.h: Likewise.
1929         * misc/search.h: Likewise.
1930         * misc/sys/select.h: Likewise.
1931         * posix/glob.h: Likewise.
1932         * posix/regex.h: Likewise.
1933         * posix/spawn.h: Likewise.
1934         * posix/unistd.h: Likewise.
1935         * rt/aio.h: Likewise.
1936         * signal/signal.h: Likewise.
1937         * socket/sys/socket.h: Likewise.
1938         * stdlib/ucontext.h: Likewise.
1939         * streams/stropts.h: Likewise.
1940         * string/string.h: Likewise.
1941         * time/time.h: Likewise.
1942         * time/sys/time.h: Likewise.
1944         * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam
1945         and posix_spawnattr_setscheparam.
1947         * libio/stdio.h: Make cuserid prototype again available for all
1948         XPG versions.
1950         * argp/argp-help.c: Unify use of function aliases to make more compact
1951         PLT.
1952         * include/libintl.h: Likewise.
1953         * inet/rcmd.c: Likewise.
1954         * intl/dcigettext.c: Likewise.
1955         * libio/iofputws.c: Likewise.
1956         * libio/iofputws_u.c: Likewise.
1957         * libio/iogetwline.c: Likewise.
1958         * libio/swprintf.c: Likewise.
1959         * malloc/malloc.c: Likewise.
1960         * nss/digits_dots.c: Likewise.
1961         * posix/fnmatch.c: Likewise.
1962         * posix/spawn_faction_addclose.c: Likewise.
1963         * posix/spawn_faction_adddup2.c: Likewise.
1964         * posix/spawn_faction_addopen.c: Likewise.
1965         * posix/spawni.c: Likewise.
1966         * posix/wordexp.c: Likewise.
1967         * posix/spawni.c: Likewise.
1968         * resolv/res_hconf.c: Likewise.
1969         * resolv/res_init.c: Likewise.
1970         * shadow/lckpwdf.c: Likewise.
1971         * signal/sighold.c: Likewise.
1972         * signal/sigrelse.c: Likewise.
1973         * stdio-common/printf-parse.h: Likewise.
1974         * stdio-common/printf-prs.c: Likewise.
1975         * stdio-common/printf_fp.c: Likewise.
1976         * stdio-common/vfprintf.c: Likewise.
1977         * stdio-common/vfscanf.c: Likewise.
1978         * stdlib/rpmatch.c: Likewise.
1979         * sunrpc/create_xid.c: Likewise.
1980         * sunrpc/key_call.c: Likewise.
1981         * sysdeps/generic/setrlimit64.c: Likewise.
1982         * sysdeps/generic/utmp_file.c: Likewise.
1983         * sysdeps/generic/vlimit.c: Likewise.
1984         * sysdeps/posix/posix_fallocate.c: Likewise.
1985         * sysdeps/posix/posix_fallocate64.c: Likewise.
1986         * sysdeps/posix/sigpause.c: Likewise.
1987         * sysdeps/posix/sigset.c: Likewise.
1988         * sysdeps/unix/grantpt.c: Likewise.
1989         * sysdeps/unix/bsd/ualarm.c: Likewise.
1990         * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
1991         * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
1992         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1993         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
1994         * time/strftime.c: Likewise.
1995         * wcsmbs/wcscoll.c: Likewise.
1996         * wcsmbs/wcsxfrm.c: Likewise.
1998         * time/tst-getdate.c (main): Make error messages more human readable.
2000         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Allow gcc to generate
2001         postinc/predec instruction.
2002         (_FPU_SETCW): Likewise.
2003         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2005 2000-08-20  Andreas Jaeger  <aj@suse.de>
2007         * time/tst-getdate.c (main): Increase error in case of wrong
2008         conversion.
2009         Fix typo in test case.
2011 2000-08-20  Ulrich Drepper  <drepper@redhat.com>
2013         * ctype/ctype.h (isblank): Make available if ISO C99.
2014         * wctype/wctype.h (iswblank): Make available if ISO C99.
2015         * math/math.h (signgam): Don't make available if ISO C99.
2016         * math/tgmath.h (tgamma): Renamed from gamma.
2017         Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
2019         * intl/loadmsgcat.c (_nl_unload_domain): Also free conv_tab element.
2020         Pretty printing.
2021         * intl/plural.y (new_exp): Take number of optional parameters in
2022         second parameter.  Test for correct number of parameters and free
2023         correctly in case of failure.  Adjust all callers.
2024         (yylex): Allow ';' as terminator character.
2026 2000-08-19  Ulrich Drepper  <drepper@redhat.com>
2028         * locale/lc-time.c (free_mem): New function.  Free alt_digits and
2029         walt_digits.
2031         * locale/findlocale.c (free_mem): Also free here->filename.
2033         * locale/loadlocale.c (_nl_unload_locale): Also free locale->name.
2035         * math/test-fenv.c (feenv_tests): Clear all exceptions before
2036         first test.
2037         (feexcp_nomask_test): Correct printf args.
2038         (feexcp_mask_test): Likewise.
2040 2000-08-19  Andreas Jaeger  <aj@suse.de>
2042         * inet/tst-gethnm.c: Include string.h to provide prototype for
2043         strcmp.
2045         * malloc/mtrace.pl (usage): Inform about --help.
2047 2000-08-19  Wolfram Gloger  <wg@malloc.de>
2049         * malloc/malloc.c (new_heap): Try harder to get an aligned chunk of
2050         size HEAP_MAX_SIZE.
2052 2000-08-19  Andreas Jaeger  <aj@suse.de>
2054         * shlib-versions: Remove libnss_db, libdb and libdb1.
2056 2000-08-19  Jakub Jelinek  <jakub@redhat.com>
2058         * sysdeps/unix/sysv/linux/alpha/readdir.c: Move...
2059         * sysdeps/unix/sysv/linux/ia64/readdir.c: ...here and
2060         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: ...here.
2061         * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Move...
2062         * sysdeps/unix/sysv/linux/ia64/readdir_r.c: ...here and
2063         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: ...here.
2064         * sysdeps/unix/sysv/linux/alpha/readdir64.c: Remove.
2065         * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: Remove.
2066         * sysdeps/unix/sysv/linux/alpha/getdents64.c: Remove.
2067         * sysdeps/unix/sysv/linux/alpha/getdents.c: Only use for non-LFS
2068         getdents.
2069         * sysdeps/unix/sysv/linux/readdir64.c: Remove versioning.
2070         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
2072 2000-08-18  Jakub Jelinek  <jakub@redhat.com>
2074         * include/glob.h (__glob64): Add prototype.
2075         * sysdeps/generic/glob.c: If GLOB_ONLY_P is defined, only
2076         define glob and glob_in_dir.
2077         * sysdeps/unix/sysv/linux/i386/Versions: Add glob64@@GLIBC_2.2.
2078         * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
2079         * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
2080         * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
2081         * sysdeps/unix/sysv/linux/i386/glob64.c: New file.
2082         * sysdeps/unix/sysv/linux/arm/glob64.c: New file.
2083         * sysdeps/unix/sysv/linux/powerpc/glob64.c: New file.
2084         * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: New file.
2086 2000-08-18  Jakub Jelinek  <jakub@redhat.com>
2088         * malloc/Makefile (memusage): libmemusage.so is installed in slibdir.
2090 2000-08-17  Andreas Jaeger  <aj@suse.de>
2092         * math/test-fenv.c (fe_single_test): New function.
2093         (fe_env_tests): Use fe_single_test.
2094         (feenable_test): New tests for feenable/fedisable and
2095         fegetexcpetions.
2096         (feexcp_mask_test): New function.
2097         (feexcp_nomask_test): New function.
2099 2000-08-19  Richard Henderson  <rth@cygnus.com>
2101         * sysdeps/alpha/fpu/fenv_libc.h: New file.
2102         * sysdeps/alpha/fpu/fclrexcpt.c: Use it.
2103         * sysdeps/alpha/fpu/fegetenv.c: Likewise.
2104         * sysdeps/alpha/fpu/fesetround.c: Likewise.
2105         * sysdeps/alpha/fpu/fegetround.c: Likewise.
2106         * sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
2107         * sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
2108         * sysdeps/alpha/fpu/ftestexcept.c: Likewise.
2109         * sysdeps/alpha/fpu/fedisblxcpt.c: Likewise.  Use the smaller mask.
2110         * sysdeps/alpha/fpu/feenablxcpt.c: Likewise.
2111         * sysdeps/alpha/fpu/fegetexcept.c: Likewise.
2112         * sysdeps/alpha/fpu/feholdexcpt.c: Retain the SWCR_MAP bits.
2113         * sysdeps/alpha/fpu/fesetenv.c: Likewise.
2114         * sysdeps/alpha/fpu/feupdateenv.c: Likewise.
2115         * sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
2116         * sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): New.
2117         (FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New.
2119 2000-08-19  Andreas Jaeger  <aj@suse.de>
2121         * elf/constload1.c: Include <stdio.h> for puts prototype.
2123 2000-08-19  Ulrich Drepper  <drepper@redhat.com>
2125         * elf/Versions [ld] (GLIBC_2.2): Export _dl_check_map_versions.
2126         * elf/dl-deps.c (_dl_map_object_deps): If object was dependency of
2127         a dynamically loaded object remove old l_initfini list.
2128         * elf/dl-libc.c (free_mem): Used as __libc_subfreeres callback to
2129         remove some dynamically allocated memory blocks in the dynamic
2130         loading data structures.
2131         * elf/dl-load.c (add_name_to_object): Initialize dont_free to 0.
2132         * elf/dl-open.c (dl_open_workder): Don't call _dl_check_all_versions.
2133         Instead call _dl_check_map_versions only for the dependencies.
2134         * elf/rtld.c: Avoid unneccessary initializations.  Mark l_libname
2135         information of initial objects as not free-able.
2136         * sysdeps/generic/ldsodefs.h (struct libname_list): Add dont_free
2137         element.
2139         * elf/filter.c: Call mtrace.
2140         * elf/restest1.c: Likewise.  Close the objects.
2141         * elf/loadtest.c: Call mtrace.  Check result of dlclose.  Print more
2142         debug information.
2144         * elf/constload1.c: Add comment explaining not freed memory.
2146 2000-08-18  Andreas Jaeger  <aj@suse.de>
2148         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Add pads to show
2149         alignment for structs stat and stat64.
2150         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2152 2000-08-17  Ulrich Drepper  <drepper@redhat.com>
2154         * sysdeps/unix/sysv/linux/alpha/getdents.c: Remove special d_ino
2155         handling.  Patch by Richard Henderson <rth@twiddle.net>.
2157         * nss/Versions: Remove libnss_db information.
2159 2000-08-16  Jakub Jelinek  <jakub@redhat.com>
2161         * sysdeps/sparc/fpu/fedisblxcpt.c: New file.
2162         * sysdeps/sparc/fpu/feenablxcpt.c: New file.
2163         * sysdeps/sparc/fpu/fegetexcept.c: New file.
2164         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: New file.
2166         * sysdeps/sparc/sparc64/dl-machine.h: Subtract 4 .rela.plt entries
2167         to match Solaris.
2169 2000-08-17  Ulrich Drepper  <drepper@redhat.com>
2171         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Use type-correct code.
2172         (_FPU_SETCW): Likewise.
2173         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2175         * stdio-common/printf_fp.c: Fix chars_needed computation.
2176         Patch by Greg McGary <greg@mcgary.org>.
2178 2000-08-17  Jakub Jelinek  <jakub@redhat.com>
2180         * elf/dl-load.c (_dl_map_object): Don't crash if both loader and
2181         _dl_loaded are NULL.
2183 2000-08-17  Jakub Jelinek  <jakub@redhat.com>
2185         * manual/arith.texi (feholdexcept): Returns 0 on success.
2187 2000-08-17  Andreas Jaeger  <aj@suse.de>
2189         * sysdeps/gnu/net/if.h (struct ifreq): Add ifru_newname.
2190         (ifr_newname): New.
2191         Reported by Andi Kleen <ak@suse.de>.
2193 2000-08-17  Jakub Jelinek  <jakub@redhat.com>
2195         * sysdeps/alpha/fpu/fedisblxcpt.c: New file.
2196         * sysdeps/alpha/fpu/feenablxcpt.c: New file.
2197         * sysdeps/alpha/fpu/fegetexcept.c: New file.
2199 2000-08-16  Jakub Jelinek  <jakub@redhat.com>
2201         * sysdeps/unix/sysv/linux/xstatconv.c (xstat32_conv): Test sizes
2202         of buf->st_ino and kbuf->st_ino, not __st_ino.
2203         If _HAVE_STAT64___ST_INO is not defined, don't use __st_ino at all.
2204         * sysdeps/unix/sysv/linux/getdents64.c: Change path in #include
2205         directive so that only linux/getdents.c is used, not some
2206         architecture specific one.
2208 2000-08-16  Jakub Jelinek  <jakub@redhat.com>
2210         * sysdeps/i386/fpu/fegetexcept.c (fegetexcept): Return currently
2211         enabled, not disabled exceptions.
2212         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2213         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
2215 2000-08-17  Greg McGary  <greg@mcgary.org>
2217         * Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix
2218         from test program name when constructing suffix for $(LDLIBS-*).
2219         (bounded-thread-library): New variable.
2220         * crypt/Makefile
2221         [build-shared, build-static] (libcrypt-dep): Remove variable.
2222         ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
2223         [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
2224         * linuxthreads/Makefile (libpthread, librt): Remove variables.
2225         (librt-tests): Add variable.  (tests): Use it.
2226         [build-shared, build-static]
2227         ($(addprefix $(objpfx),$(tests)),
2228         $(addprefix $(objpfx),$(librt-tests))):
2229         Consolidate individual dependencies.
2230         [build-bounded]
2231         ($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)):
2232         Add dependencies.
2233         * math/Makefile (LDLIBS-*): Remove variables (they are redundant).
2234         [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
2235         * misc/Makefile
2236         [build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies.
2237         * rt/Makefile
2238         [build-shared, build-static]
2239         ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies.
2240         [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies.
2242 2000-08-17  Greg McGary  <greg@mcgary.org>
2244         * sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/
2245         * sysdeps/unix/make-syscalls.sh: Likewise.
2246         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2247         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2248         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
2249         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
2250         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
2252 2000-08-17  Greg McGary  <greg@mcgary.org>
2254         * sysdeps/i386/fpu/s_frexp.S: Check bounds.
2255         Wrap extern symbols in BP_SYM ().
2256         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2257         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2258         * sysdeps/i386/fpu/s_remquo.S: Likewise.
2259         * sysdeps/i386/fpu/s_remquof.S: Likewise.
2260         * sysdeps/i386/fpu/s_remquol.S: Likewise.
2261         * sysdeps/i386/fpu/s_sincos.S: Likewise.
2262         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
2263         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2264         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2265         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2267 2000-08-16  Andreas Schwab  <schwab@suse.de>
2269         * sysdeps/m68k/fpu/fegetexcept.c: New file.
2270         * sysdeps/m68k/fpu/fedisblxcpt.c: New file.
2271         * sysdeps/m68k/fpu/feenablxcpt.c: New file.
2273 2000-08-15  Ulrich Drepper  <drepper@redhat.com>
2275         * sysdeps/generic/ldsodefs.h: Declare _nl_nloaded.
2276         * elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded.
2277         * elf/dl-support.c: Define _nl_nloaded.
2278         * elf/rtld.c: Likewise.  Increment _nl_nloaded for rtld itself.
2279         * elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding
2280         object to global list.
2281         * elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing
2282         from _dl_loaded list.
2283         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2284         * elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the
2285         number here.
2287         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not
2288         unmask, exceptions.
2289         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask,
2290         exceptions.
2291         Reported by Harvey J. Stein <hjstein@bfr.co.il>.
2293 2000-08-16  Andreas Jaeger  <aj@suse.de>
2295         * elf/elf.h (EM_X8664): Add official x86-64 specific value.
2297 2000-08-15  Marko Myllynen  <myllynen@lut.fi>
2299         * inet/netinet/icmp6.h: Added Mobile IPv6 definitions.
2301 2000-08-15  Ulrich Drepper  <drepper@redhat.com>
2303         * sysdeps/unix/sysv/linux/powerpc/Dist: Add oldgetrlimit64.c.
2304         * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)=resource]
2305         (sysdep_routines): Add oldgetrlimit64.
2306         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: New file.
2307         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2309         * include/link.h: Undo last patches.  Hurd now has stat64.
2310         * elf/Makefile: Likewise.
2311         * elf/dl-load.c: Likewise.
2312         * elf/dl-misc.c: Likewise.
2313         * elf/dl-profile.c: Likewise.
2314         * sysdeps/generic/sysd-link.h: Removed.
2315         * sysdeps/unix/sysv/linux/sysd-link.h: Removed.
2317         * rt/aio_notify.c (notify_func_wrapper): Wrapper function to call
2318         thread event callback function.
2319         (__aio_notify_only): Use function above.
2320         Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
2322 2000-08-16  Mark Kettenis  <kettenis@gnu.org>
2324         * sysdeps/mach/hurd/lseek64.c: New file.
2326 2000-08-15  Mark Kettenis  <kettenis@gnu.org>
2328         * sysdeps/mach/hurd/i386/bits/time.h (__clockid_t, __timer_t):
2329         Remove typedefs.
2330         * sysdeps/mach/hurd/bits/time.h (__clockid_t, __timer_t): Remove
2331         typedefs.
2332         * sysdeps/generic/bits/time.h (__clockid_t, __timer_t): Remove
2333         typedefs.
2334         * sysdeps/generic/bits/types.h (__clockid_t, __timer_t): New typedefs.
2336 2000-08-15  Mark Kettenis  <kettenis@gnu.org>
2338         * sysdeps/mach/hurd/xstatconv.c: New file.
2339         * sysdeps/mach/hurd/fxstat64.c: New file.
2340         * sysdeps/mach/hurd/lxstat64.c: New file.
2341         * sysdeps/mach/hurd/xstat64.c: New file.
2342         * sysdeps/mach/hurd/Dist: Add xstatconv.c.
2344 2000-08-15  Mark Kettenis  <kettenis@gnu.org>
2346         * sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs):
2347         Initialize, needed for change in common symbol handling in newer
2348         binutils.  Mirrors 2000-01-03 change made by Andreas Schwab.
2350 2000-08-15  Ulrich Drepper  <drepper@redhat.com>
2352         * elf/constload1.c: Call mtrace.  Check return value of dlclose call.
2353         * elf/constload2.c: Add destructor to unload constload3.
2355         * include/link.h: Include sysd-link.h.
2356         * sysdeps/generic/sysd-link.h: New file.
2357         * sysdeps/unix/sysv/linux/sysd-link.h: New file.
2358         * elf/Makefile (distribute): Add sysd-link.h.
2359         * elf/dl-load.c: Use definitions from sysd-link.h instead of stat
2360         types and functions directly.
2361         * elf/dl-misc.c: Likewise.
2362         * elf/dl-profile.c: Likewise.
2364         * elf/loadfail.c (main): Close all successfully loaded objects.
2366         * elf/multiload.c: Add mtrace call.  Call dlclose for all handles and
2367         free wd.
2368         * elf/dl-deps.c (_dl_map_object_deps): Don't allocate needed list if
2369         there is already one.
2371         * elf/dl-close.c: Pretty print.
2373 2000-08-14  Ulrich Drepper  <drepper@redhat.com>
2375         * sysdeps/posix/ttyname.c: Make name variable from getttyname function
2376         global (with file scope).  Add __libc_subfreeres function to free the
2377         string.
2378         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.  Also for buf variable
2379         in ttyname function.
2381         * sysdeps/generic/strtok.c: Remove initializer for olds variable.
2383         * crypt/md5-crypt.c: Let destructor deallocate static buffer.
2385         * iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by
2386         mapping them to /x5c and /x7e respectively.
2388         * locale/programs/ld-ctype.c: Add support for more definitions after
2389         copy statement.
2391 2000-08-14  Jakub Jelinek  <jakub@redhat.com>
2393         * dirent/Versions (getdirentries64): Export at GLIBC_2.2.
2394         * sysdeps/unix/sysv/linux/kernel-features.h
2395         (__ASSUME_GETDENTS64_SYSCALL): Define.
2396         * sysdeps/unix/sysv/linux/getdents.c (__getdents): Use getdents64
2397         syscall if available to get d_type fields.
2398         * sysdeps/unix/sysv/linux/alpha/getdents.c (DIRENT_TYPE): Define.
2399         * sysdeps/unix/sysv/linux/arm/Versions (__xstat64, __fxstat64,
2400         __lxstat64): Export at GLIBC_2.2.
2401         (alphasort64, readdir64, readdir64_r, scandir64, versionsort64):
2402         Likewise.
2403         * sysdeps/unix/sysv/linux/i386/Versions (getdirentries64): Remove.
2404         * sysdeps/unix/sysv/linux/i386/getdents64.c (kernel_dirent64): Define.
2405         * sysdeps/unix/sysv/linux/powerpc/Versions (alphasort64,
2406         getdirentries64, versionsort64): Remove.
2407         * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (alphasort64,
2408         getdirentries64, versionsort64): Remove.
2410 2000-08-13  Ulrich Drepper  <drepper@redhat.com>
2412         * posix/Makefile: Remove rules to generate glob package.
2414         * posix/Makefile (tests): Add tst-regexloc.
2415         (tst-regexloc-ENV): Add LOCPATH.
2416         * posix/tst-regexloc.c: New file.
2418 2000-08-12  Andreas Jaeger  <aj@suse.de>
2420         * include/features.h (__STDC_ISO_10646__): Define.
2421         Reported by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
2423 2000-08-13  Ulrich Drepper  <drepper@redhat.com>
2425         * include/features.h (__USE_ISOC99): Define for _XOPEN_SOURCE >= 600.
2427         * locale/langinfo.h: Define YESSTR and NOSTR also for XPG4 (but not
2428         for revision 6 and up).
2430         * posix/sys/types.h: Define __need_timer_t and __need_clockid_t before
2431         including <time.h>.
2432         * time/time.h: Allow __need_timer_t and __need_clockid_t to be defined
2433         to get definitions of just these types.
2435         * signal/signal.h: Define thread signal handling functions also for
2436         POSIX95.
2438         * sysdeps/unix/sysv/linux/bits/types.h: Define thread types also for
2439         POSIX95.
2440         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2441         * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
2442         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2443         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2445         * sysvipc/sys/shm.h: Define pid_t for XPG.
2447         * posix/unistd.h: Remove setkey, rename, and cuserid prototypes as
2448         they are not anymore required here.
2450         * wcsmbs/wchar.h: Make the various wide char string and stream
2451         functions available for the respective XPG versions.
2453         * nss/Makefile: Remove rules to build and distribute nss_db.
2455         * sysdeps/generic/alphasort64.c: Remove unnecessary versioning.
2456         * sysdeps/generic/scandir64.c: Likewise.
2457         * sysdeps/generic/versionsort64.c: Likewise.
2459 2000-08-13  Ulrich Drepper  <drepper@redhat.com>
2460             Benjamin Koznik  <bkoz@redhat.com>
2462         * libio/fileops.c: Merge with libstdc++-v3.
2463         * libio/genops.c: Likewise.
2464         * libio/iofclose.c: Likewise.
2465         * libio/iofopen.c: Likewise.
2466         * libio/iofwide.c: Likewise.
2467         * libio/libio.h: Likewise.
2468         * libio/libioP.h: Likewise.
2469         * libio/stdfiles.c: Likewise.
2470         * libio/stdio.c: Likewise.
2471         * libio/wfileops.c: Likewise.
2472         * libio/wgenops.c: Likewise.
2474         * libio/Versions: Export functions needed by libstdc++-v3 in GLIBC_2.2.
2476 2000-08-12  Ulrich Drepper  <drepper@redhat.com>
2478         * locale/programs/localedef.c: Implement --prefix option to allow
2479         writing in standard places of alternative install directories.
2481         * posix/regex.c (compile_range): Implement collation sequence
2482         handling for glibc.  Use simple character ordering otherwise and
2483         not strcoll.
2485 2000-08-12  Mark Kettenis  <kettenis@gnu.org>
2487         * sysdeps/generic/scandir64.c: Include <dirent.h>.
2489 2000-08-12  Andreas Jaeger  <aj@suse.de>
2491         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Handle
2492         __USE_FILE_OFFSET64 correctly for locking.
2493         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2495 2000-08-12  Jakub Jelinek  <jakub@redhat.com>
2497         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2498         Define for 2.4.1 on sparc as well.
2499         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fill in correct values
2500         for F_GETLK64, F_SETLK64, and F_SETLKW64.
2501         * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: New file.
2502         * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: New file.
2504 2000-08-12  Ulrich Drepper  <drepper@redhat.com>
2506         * io/fts.c (fts_stat): Recognize DT_WHT only if S_IFWHT is also
2507         defined.
2509 2000-08-12  Andreas Jaeger  <aj@suse.de>
2511         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_GETLK64,
2512         F_SETLK64, F_SETLKW64): Define with F_GETLK etc.
2514         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
2515         mips2 for assembler.
2517         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Try fcntl
2518         if fnctl64 is not available for F_*LK*64.
2520         * sysdeps/unix/sysv/linux/i386/lockf64.c: New file.
2522 2000-08-12  Ulrich Drepper  <drepper@redhat.com>
2524         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2525         Define for 2.4.1 on x86.
2526         * sysdeps/unix/sysv/linux/i386/fcntl.c: New file.
2527         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Fill in correct values
2528         for F_GETLK64, F_SETLK64, and F_SETLKW64.
2530         * dirent/dirent.h: Define DT_WHT.
2532         * sysdeps/unix/sysv/linux/arm/alphasort64.c: New file.
2533         * sysdeps/unix/sysv/linux/arm/getdents64.c: New file.
2534         * sysdeps/unix/sysv/linux/arm/readdir64.c: New file.
2535         * sysdeps/unix/sysv/linux/arm/readdir64_r.c: New file.
2536         * sysdeps/unix/sysv/linux/arm/scandir64.c: New file.
2537         * sysdeps/unix/sysv/linux/arm/versionsort64.c: New file.
2539 2000-08-11  Ulrich Drepper  <drepper@redhat.com>
2541         * nss/digits_dots.c: Don't pass NULL in h_aliases for successful
2542         lookup, pass pointer to array with NULL pointer [PR libc/1858].
2543         * inet/Makefile (tests): Add tst-gethnm.
2544         * inet/tst-gethnm.c: New file.
2546         * rt/aio_cancel.c: If canceling a specific request which is running
2547         *really* do nothing.
2548         * rt/aio_misc.h: Add `done' to states of a request.
2549         * rt/aio_misc.c: Add several tests for the correct state.
2550         Simplify request table memory handling.
2552 2000-08-10  Jakub Jelinek  <jakub@redhat.com>
2554         * dirent/scandir.c: Use it for scandir64 and old_scandir64 as well.
2555         * dirent/scandir64.c: Move...
2556         * sysdeps/generic/scandir64.c: ...here.
2557         * dirent/alphasort64.c: Move...
2558         * sysdeps/generic/alphasort64.c: ...here.
2559         * dirent/versionsort64.c: Move...
2560         * sysdeps/generic/versionsort64.c: ...here.
2561         * sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64,
2562         getdirentries64, readdir64, readdir64_r, scandir64, versionsort64):
2563         Export symbols at GLIBC_2.2.
2564         * sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise.
2565         * sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise.
2566         * include/dirent.h (__readdir64_r, __scandir64, __alphasort64,
2567         __versionsort64): Add prototypes.
2568         * io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
2569         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove
2570         unused prototype.
2571         * sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1
2572         and GLIBC_2.2.
2573         * sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise.
2574         * sysdeps/unix/sysv/linux/alpha/getdents.c: New.
2575         * sysdeps/unix/sysv/linux/alpha/getdents64.c: New.
2576         * sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to
2577         __u_quad_t.
2578         * sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64):
2579         Adjust for kernel-2.4.0-test6 layout.
2580         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both
2581         GLIBC_2.1 and GLIBC_2.2.
2582         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise.
2583         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise.
2584         * sysdeps/unix/sysv/linux/i386/getdents64.c: New.
2585         * sysdeps/unix/sysv/linux/i386/olddirent.h: New.
2586         * sysdeps/unix/sysv/linux/i386/readdir64.c: New.
2587         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: New.
2588         * sysdeps/unix/sysv/linux/i386/scandir64.c: New.
2589         * sysdeps/unix/sysv/linux/i386/alphasort64.c: New.
2590         * sysdeps/unix/sysv/linux/i386/versionsort64.c: New.
2591         * sysdeps/unix/sysv/linux/ia64/getdents.c: New.
2592         * sysdeps/unix/sysv/linux/ia64/getdents64.c: New.
2593         * sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c.
2594         * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c.
2595         * sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to
2596         __u_quad_t.
2597         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New.
2598         * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define.
2599         * sysdeps/unix/sysv/linux/powerpc/scandir64.c: New.
2600         * sysdeps/unix/sysv/linux/powerpc/getdents64.c: New.
2601         * sysdeps/unix/sysv/linux/powerpc/readdir64.c: New.
2602         * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New.
2603         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to
2604         __u_quad_t.
2605         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: New.
2606         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*):
2607         Define.
2608         * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New.
2609         * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New.
2610         * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New.
2611         * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New.
2612         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*):
2613         Define.
2614         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include
2615         alpha/readdir.c.
2616         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include
2617         alpha/readdir_r.c
2618         * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New.
2619         * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New.
2620         * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If
2621         _HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set
2622         st_ino from __st_ino.
2623         * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
2624         * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
2625         * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv,
2626         xstat32_conv): Use _HAVE_STAT* macros.  If _HAVE_STAT64___ST_INO,
2627         set __st_ino in addition to st_ino.
2628         * sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define.
2629         * sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and
2630         __old_getdents64 as well.
2631         * sysdeps/unix/sysv/linux/getdirentries.c: Use it for
2632         getdirentries64 and old_getdirentries64 as well.
2633         * sysdeps/unix/sysv/linux/getdirentries64.c (GETDIRENTRIES,
2634         __GETDENTS): Define.
2635         (GETDENTS64): Remove.
2636         * sysdeps/unix/sysv/linux/getdents64.c (__GETDENTS, DIRENT_TYPE):
2637         Define.
2638         (GETDENTS64): Remove.
2639         * sysdeps/unix/sysv/linux/readdir64.c: Use sysdeps/unix/readdir.c.
2640         * sysdeps/unix/sysv/linux/readdir64_r.c: Use sysdeps/unix/readdir_r.c.
2641         * sysdeps/unix/readdir.c: Use it for readdir64 and __old_readdir64
2642         as well.
2643         * sysdeps/unix/readdir_r.c: Use it for readdir64_r and
2644         __old_readdir64_r as well.
2645         * sysdeps/unix/sysv/linux/kernel-features.h: Define
2646         __ASSUME_ST_INO_64_bit for kernel 2.4.1 and up.
2648 2000-08-08  Jes Sorensen  <jes@linuxcare.com>
2650         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL define.
2651         Add missing ILL_BADIADDR to enum and make ILL_BREAK match the
2652         define of the kernel.
2653         Add missing __SEG_PSTKOVF definition.
2654         Adjust the padding of struct siginfo and struct sigevent to
2655         match the fact that sigval_t is 64 bit.
2657 2000-08-10  Ulrich Drepper  <drepper@redhat.com>
2659         * timezone/zic.c: Update from tzcode2000f.
2660         * timezone/australasia: Update from tzdata2000f.
2661         * timezone/europe: Likewise.
2662         * timezone/southamerica: Likewise.
2663         * timezone/yearistype: Likewise.
2665 2000-08-10  Andreas Jaeger  <aj@suse.de>
2667         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Synch struct stat64 and
2668         stat with current MIPS kernel.
2670 2000-08-01  Mark Kettenis  <kettenis@gnu.org>
2672         * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_greg_t, ELF_NGREG,
2673         elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved to
2674         sysdeps/unix/sysv/linux/i386/sys/procfs.h.
2675         Remove the junk that's only relevant in the Linux kernel itself.
2676         Add a warning saying that this file is now obsolete, and include
2677         <sys/procfs.h>.
2678         * sysdeps/unix/sysv/linux/i386/sys/procfs.h (elf_greg_t,
2679         ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved
2680         here from sysdeps/unix/sysv/linux/i386/sys/elf.h.  Don't include
2681         <signal.h>, <sys/ucontext.h> and <sys/elf.h>.  Remove parts of
2682         `struct elf_prstatus' that are #ifdef'ed out.  Improve comments
2683         and add the notice that the file is primarily there for GDB.
2684         * sysdeps/unix/sysv/linux/i386/sys/user.h: Fix comment.
2686 2000-08-09  Jakub Jelinek  <jakub@redhat.com>
2688         * time/tzfile.c (__tzfile_compute): __tzstring zones
2689         from zone_names.
2691 2000-08-09  Jakub Jelinek  <jakub@redhat.com>
2693         * resolv/resolv.h (__res_state): Surround prototype with
2694         __BEGIN_DECLS/__END_DECLS.
2695         * sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h.
2697 2000-08-04  Jes Sorensen  <jes@linuxcare.com>
2699         * sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource):
2700         Make independant of asm/resource.h from the Linux kernel.
2702 2000-08-06  Bruno Haible  <haible@clisp.cons.org>
2704         * iconv/gconv_conf.c (__gconv_read_conf): Don't call realpath.
2706 2000-08-06  Bruno Haible  <haible@clisp.cons.org>
2708         * intl/Makefile (CPPFLAGS): Remove $(i18ndir) from LOCALE_ALIAS_PATH.
2709         * locale/Makefile (locale-CPPFLAGS): Likewise.
2711 2000-08-09  Ulrich Drepper  <drepper@redhat.com>
2713         * sysdeps/i386/fpu/libm-test-ulps: Increase several error values
2714         for AMD processors.
2716 2000-08-03  Jakub Jelinek  <jakub@redhat.com>
2718         * misc/Versions (mincore): Export at GLIBC_2.2.
2720 2000-08-03  Bruno Haible  <haible@clisp.cons.org>
2722         * intl/libintl.h (gettext, dgettext, dcgettext): Add back __THROW.
2724 2000-08-02  Mark Kettenis  <kettenis@gnu.org>
2726         * sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from
2727         socketpair.  Made socketpair a weak alias.
2728         * sysdeps/mach/hurd/pipe.c (__pipe): Reimplemented using
2729         __socketpair.  Use S_IFIFO protocol to make pipes POSIX
2730         conforming, but fall back on the old protocol if the socket server
2731         doesn't support it.
2732         * include/sys/socket.h: Add prototype for __socketpair.
2734 2000-08-09  Andreas Schwab  <schwab@suse.de>
2736         * stdio-common/vfprintf.c (vfprintf): Also set `is_long' if the
2737         long long modifier is seen.
2739         * elf/nodelete.c (do_test): Remove reference to undefined member
2740         sa_restorer.
2741         * rt/tst-aio4.c (do_test): Likewise.
2743         * configure.in: Add `-lm' when checking for libgd.
2744         * malloc/Makefile ($(objpfx)memusagestat): Add `-lm' during
2745         linking.
2747 2000-08-09  Andreas Jaeger  <aj@suse.de>
2749         * configure.in: Change required make versions.
2751         * manual/install.texi (Tools for Compilation): Document required
2752         make version.
2753         (Supported Configurations): Update list of supported
2754         configurations.
2756 2000-08-08  Ulrich Drepper  <drepper@redhat.com>
2758         * locale/linereader.c (get_string): Don't print an error is a string
2759         contains an unknown character.
2761 2000-08-06  Ulrich Drepper  <drepper@redhat.com>
2763         * locale/programs/ld-collate.c (struct symbol_t): Add name element.
2764         (new_symbol): Take new parameters with name of the symbol.
2765         Adjust callers.
2766         (handle_ellipsis): Don't only allow character symbols.
2767         (collate_read): Allow string of collating elements contain invalid
2768         characters; ignore entry in this case.
2769         Handle ellipsis of collating symbols before first order_start.
2770         Allow ellipsis in state 0.
2772 2000-08-04  Ulrich Drepper  <drepper@redhat.com>
2774         * locale/programs/ld-collate.c (handle_ellipsis): Fix typo in
2775         error message.
2776         Reported by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
2778 2000-08-04  Greg McGary  <greg@mcgary.org>
2780         * posix/regex.c (SET_HIGH_BOUND): New macro.
2781         (MOVE_BUFFER_POINTER): Use it.
2782         (ELSE_EXTEND_BUFFER_HIGH_BOUND): New macro.
2783         (EXTEND_BUFFER): Use it.
2785 2000-08-03  Ulrich Drepper  <drepper@redhat.com>
2787         * libio/iofwide.c (_IO_fwide): Initialize fp->_codecvt as well.
2788         * libio/fileops.c (_IO_new_file_fopen): Use _codecvt not from
2789         _wide_data but from _IO_FILE directly.
2790         * libio/iofclose.c: Likewise.
2791         * libio/wfileops.c: Likewise.
2793         * libio/genops.c (_IO_default_showmanyc): Change return type to size_t.
2794         * libio/libioP.h: Change prototypes.
2796 2000-08-03  Greg McGary  <greg@mcgary.org>
2798         * sysdeps/i386/setjmp.S (__sigsetjmp): Pop our
2799         frame pointer early so that we save caller's frame pointer.
2800         * sysdeps/i386/elf/setjmp.S: Likewise.
2802         * sysdeps/unix/sysv/syscalls.list (time, utime): Correct signatures.
2803         * io/test-utime.c: Test passing NULL as utimbuf* arg.
2805         * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): Remove macro.
2806         (MOVE_BUFFER_POINTER): Handle high_bound properly.
2807         (EXTEND_BUFFER): Don't call EXTEND_BUFFER_HIGH_BOUND.
2809 2000-08-03  Ulrich Drepper  <drepper@redhat.com>
2811         * iconvdata/big5.c: Updated.
2812         Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
2814 2000-08-02  Ulrich Drepper  <drepper@redhat.com>
2816         * Makeconfig (all-subdirs): Add conform.
2817         * conform/Makefile: Include ../Rules.
2819         * Makefile (README): Add rules to generate here as well.
2821 2000-08-02  Ulrich Drepper  <drepper@redhat.com>
2823         * version.h (VERSION): Bump to 2.1.92.
2825         * sysdeps/ia64/Dist: Add _mcount.S.
2827         * sysdeps/unix/sysv/linux/ia64/Dist: Add clone.S.
2829         * sysdeps/unix/sysv/linux/mips/Dist: Add _test_and_set.c.
2831         * elf/Makefile (distribute): Add missing modules.
2833         * sysdeps/unix/sysv/linux/s390/Dist: Remove nonexisting files.
2835         * posix/regex.c (compile_range): Translate range start and end
2836         characters to avoid empty range in case of REG_ICASE [PR libc/1842].
2838         * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Don't include
2839         asm/resource.h.
2841         * sysdeps/unix/sysv/linux/arm/Makefile: Undo last change.
2843 2000-08-02  Andreas Jaeger  <aj@suse.de>
2845         * elf/elf.h (EM_S390): Added.
2846         (R_390_*): New relocs for S390.
2848         * sysdeps/unix/sysv/linux/s390/Dist: New file.
2849         * sysdeps/unix/sysv/linux/s390/sysdep.h: New file.
2850         * sysdeps/unix/sysv/linux/s390/sysdep.S: New file.
2851         * sysdeps/unix/sysv/linux/s390/syscall.S: New file.
2852         * sysdeps/unix/sysv/linux/s390/sys/user.h: New file.
2853         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
2854         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: New file.
2855         * sysdeps/unix/sysv/linux/s390/sys/elf.h: New file.
2856         * sysdeps/unix/sysv/linux/s390/socket.S: New file.
2857         * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: New file.
2858         * sysdeps/unix/sysv/linux/s390/shmctl.c: New file.
2859         * sysdeps/unix/sysv/linux/s390/setreuid.c: New file.
2860         * sysdeps/unix/sysv/linux/s390/setresuid.c: New file.
2861         * sysdeps/unix/sysv/linux/s390/setresgid.c: New file.
2862         * sysdeps/unix/sysv/linux/s390/setregid.c: New file.
2863         * sysdeps/unix/sysv/linux/s390/setgroups.c: New file.
2864         * sysdeps/unix/sysv/linux/s390/setgid.c: New file.
2865         * sysdeps/unix/sysv/linux/s390/setfsuid.c: New file.
2866         * sysdeps/unix/sysv/linux/s390/setfsgid.c: New file.
2867         * sysdeps/unix/sysv/linux/s390/seteuid.c: New file.
2868         * sysdeps/unix/sysv/linux/s390/setegid.c: New file.
2869         * sysdeps/unix/sysv/linux/s390/semctl.c: New file.
2870         * sysdeps/unix/sysv/linux/s390/register-dump.h: New file.
2871         * sysdeps/unix/sysv/linux/s390/putpmsg.c: New file.
2872         * sysdeps/unix/sysv/linux/s390/putmsg.c: New file.
2873         * sysdeps/unix/sysv/linux/s390/profil-counter.h: New file.
2874         * sysdeps/unix/sysv/linux/s390/msgctl.c: New file.
2875         * sysdeps/unix/sysv/linux/s390/mmap.S: New file.
2876         * sysdeps/unix/sysv/linux/s390/getuid.c: New file.
2877         * sysdeps/unix/sysv/linux/s390/getresuid.c: New file.
2878         * sysdeps/unix/sysv/linux/s390/getresgid.c: New file.
2879         * sysdeps/unix/sysv/linux/s390/getpmsg.c: New file.
2880         * sysdeps/unix/sysv/linux/s390/getmsg.c: New file.
2881         * sysdeps/unix/sysv/linux/s390/getgroups.c: New file.
2882         * sysdeps/unix/sysv/linux/s390/getegid.c: New file.
2883         * sysdeps/unix/sysv/linux/s390/geteuid.c: New file.
2884         * sysdeps/unix/sysv/linux/s390/fchown.c: New file.
2885         * sysdeps/unix/sysv/linux/s390/clone.S: New file.
2886         * sysdeps/unix/sysv/linux/s390/brk.c: New file.
2887         * sysdeps/unix/sysv/linux/s390/bits/time.h: New file.
2888         * sysdeps/unix/sysv/linux/s390/bits/resource.h: New file.
2889         * sysdeps/unix/sysv/linux/s390/bits/mman.h: New file.
2890         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: New file.
2891         * sysdeps/unix/sysv/linux/s390/Makefile: New file.
2892         * sysdeps/s390/sysdep.h: New file.
2893         * sysdeps/s390/sys/ucontext.h: New file.
2894         * sysdeps/s390/sub_n.S: New file.
2895         * sysdeps/s390/strncpy.S: New file.
2896         * sysdeps/s390/strcpy.S: New file.
2897         * sysdeps/s390/stackinfo.h: New file.
2898         * sysdeps/s390/setjmp.S: New file.
2899         * sysdeps/s390/s390-mcount.S: New file.
2900         * sysdeps/s390/mul_1.S: New file.
2901         * sysdeps/s390/memusage.h: New file.
2902         * sysdeps/s390/memset.S: New file.
2903         * sysdeps/s390/memcpy.S: New file.
2904         * sysdeps/s390/memchr.S: New file.
2905         * sysdeps/s390/machine-gmon.h: New file.
2906         * sysdeps/s390/ldbl2mpn.c: New file.
2907         * sysdeps/s390/gmp-mparam.h: New file.
2908         * sysdeps/s390/fpu/fpu_control.h: New file.
2909         * sysdeps/s390/fpu/fesetround.c: New file.
2910         * sysdeps/s390/fpu/fegetround.c: New file.
2911         * sysdeps/s390/fpu/fclrexcpt.c: New file.
2912         * sysdeps/s390/fpu/bits/fenv.h: New file.
2913         * sysdeps/s390/ffs.c: New file.
2914         * sysdeps/s390/elf/start.S: New file.
2915         * sysdeps/s390/elf/setjmp.S: New file.
2916         * sysdeps/s390/elf/bsd-setjmp.S: New file.
2917         * sysdeps/s390/elf/bsd-_setjmp.S: New file.
2918         * sysdeps/s390/dl-machine.h: New file.
2919         * sysdeps/s390/bzero.S: New file.
2920         * sysdeps/s390/bsd-setjmp.S: New file.
2921         * sysdeps/s390/bsd-_setjmp.S: New file.
2922         * sysdeps/s390/bits/string.h: New file.
2923         * sysdeps/s390/bits/setjmp.h: New file.
2924         * sysdeps/s390/bits/huge_val.h: New file.
2925         * sysdeps/s390/bits/endian.h: New file.
2926         * sysdeps/s390/bits/byteswap.h: New file.
2927         * sysdeps/s390/bcopy.S: New file.
2928         * sysdeps/s390/backtrace.c: New file.
2929         * sysdeps/s390/atomicity.h: New file.
2930         * sysdeps/s390/asm-syntax.h: New file.
2931         * sysdeps/s390/addmul_1.S: New file.
2932         * sysdeps/s390/add_n.S: New file.
2933         * sysdeps/s390/abort-instr.h: New file.
2934         * sysdeps/s390/__longjmp.c: New file.
2935         * sysdeps/s390/Makefile: New file.
2936         * sysdeps/s390/Implies: New file.
2937         * sysdeps/s390/Dist: New file.
2938         Patches by Martin Schwidefsky <schwidefsky@de.ibm.com>.
2940 2000-08-01  Ulrich Drepper  <drepper@redhat.com>
2942         Remove incompatible IPv6 extension of RPC.
2943         * sunrpc/Makefile: Undo changes.
2944         * sunrpc/rpc_main.c: Likewise.
2945         * sunrpc/rpc/clnt.h: Likewise.
2946         * sunrpc/rpc/svc.h: Likewise.
2947         * sunrpc/bindrsvprt6.c: Removed.
2948         * sunrpc/clnt_tcp6.c: Removed.
2949         * sunrpc/clnt_udp6.c: Removed.
2950         * sunrpc/svc_tcp6.c: Removed.
2951         * sunrpc/svc_udp6.c: Removed.
2953         * intl/libintl.h: Don't use __attribute_format_arg__ for gettext,
2954         dgettext, and dcgettetxt.
2956         * intl/locale.alias: Update japanese aliases.
2958         * sysdeps/ia64/bits/byteswap.h: New file.
2959         Patch by Dan Pop <Dan.Pop@cern.ch>.
2961         * misc/sys/cdefs.h: Define __attribute_format_arg__.
2962         * intl/libintl.h: Use it here instead of using __attribute__ directly.
2964 2000-07-13  H.J. Lu  <hjl@gnu.org>
2966         * posix/regex.c (re_max_failures): Set to 4000.
2968 2000-08-01  Ulrich Drepper  <drepper@redhat.com>
2970         * gnulib/Makefile (tests): Add tst-gcc.
2971         * gnulib/tst-gcc.c: New file.
2973         * assert/Makefile (routines): Add __assert.
2974         * assert/Versions: Export __assert for glibc 2.2.
2975         * assert/__assert.c: New file.
2976         * assert/assert.h: Declare __assert.
2978 2000-07-27  Bruno Haible  <haible@clisp.cons.org>
2980         * locale/localeinfo.h (_ISCTYPE): New macro.
2981         * posix/fnmatch_loop.c (internal_fnmatch): Use it, support new
2982         LC_CTYPE locale format.
2983         * locale/programs/ld-ctype.c (locale_ctype_t): New field class_b.
2984         (ctype_output): Output class_b[nr] right before class_3level[nr].
2985         (allocate_arrays): Fill class_b, similarly to class_3level.
2987 2000-08-01  Ulrich Drepper  <drepper@redhat.com>
2988             Joseph S. Myers  <jsm28@cam.ac.uk>
2990         * math/tgmath.h: Make standard compliant.  Don't ask how.
2992 2000-07-04  H.J. Lu  <hjl@gnu.org>
2994         * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name)):
2995         Use $(do-install-program) instead of "$(INSTALL_PROGRAM) $< $@.new".
2996         ($(inst_slibdir)/$(rtld-installed-name)): Use $(make-shlib-link) only.
2998 2000-07-30  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
3000         * include/features.h (_XOPEN_SOURCE): Update the explanation.
3001         (__USE_LARGEFILE): Add an explanation.
3002         (_POSIX_C_SOURCE): Define to 2 only if _XOPEN_SOURCE < 500.
3003         (__USE_XOPEN2K): Define whenever _XOPEN_SOURCE >= 600.
3005 2000-08-01  Ulrich Drepper  <drepper@redhat.com>
3007         * libio/Makefile: Enable exception handling for genops, wgenops,
3008         fileops, and wfileops.
3010 2000-07-29  Mark Kettenis  <kettenis@gnu.org>
3012         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Take into
3013         acount that elf/rtld's main program might remove some varibales
3014         from the environment if we're trying to be secure.  Move the Hurd
3015         startup data if necessary, or, if we there is no startup data,
3016         make sure the magical convention that ARGV[0] is stored just after
3017         the environment list.
3019 2000-08-01  Philip Blundell  <philb@gnu.org>
3021         * sysdeps/unix/sysv/linux/arm/Makefile [subdir=resource]
3022         (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
3023         * sysdeps/unix/sysv/linux/arm/syscalls.list: Add oldgetrlimit,
3024         oldsetrlimit for GLIBC_2.0.
3026 2000-08-01  Andreas Jaeger  <aj@suse.de>
3028         * nss/nss_files/files-ethers.c: Use case-insensitive lookup.
3029         (LINE_PARSER): Allow any number of spaces between ip address and
3030         number.  Fixes PR libc/1833, reported by rp010gf@voruta.vu.lt.
3032         * conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
3034         * include/netdb.h: Remove getipnodebyaddr and friends, leave
3035         constants in.
3037         * nis/Versions: Remove _nss_nis_getipnodebyname_r and
3038         _nss_nisplus_getipnodebyname_r.
3040         * nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
3041         now, getipnodebyname is deprecated.
3042         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
3043         Likewise.
3045         * inet/Makefile (routines): Don't build getipnodebyaddr and
3046         friends.
3048         * intl/Makefile (distribute): Add tst-translit.sh and translit.po.
3050         * hesiod/Makefile (distribute): Add nss_hesiod/nss_hesiod.h.
3052         * elf/Makefile (distribute): Add filtmod1.c and filtmod2.c.
3054         * wctype/Makefile (distribute): Add wchar-lookup.h.
3056         * sysdeps/generic/Dist: Add bp-checks.h and bp-semctl.h.
3058         * iconvdata/Makefile (distribute): Add isiri-3342.h.
3060 2000-08-01  Andreas Schwab  <schwab@suse.de>
3062         * Make-dist (dist): Resolve `..' in file names.
3064 2000-08-01  Andreas Jaeger  <aj@suse.de>
3066         * stdio-common/Makefile (distribute): Remove removed files, add
3067         new files.
3069         * Makefile (distribute): Remove include/db_185.h and db.h.
3071         * include/db_185.h: Remove, it's not needed anymore.
3072         * include/db.h: Likewise.
3074 2000-07-31  Ulrich Drepper  <drepper@redhat.com>
3076         * inet/Makefile (tests): Remove tst-ipnode.
3077         * include/netdb.h: Add stuff removed from resolv/netdb.h here for
3078         now.
3080 2000-07-31  Jes Sorensen  <jes@linuxcare.com>
3082         * sysdeps/ia64/elf/initfini.c: Kill dummy section since align and
3083         endp statements have already been added.
3085 2000-04-18  David Mosberger  <davidm@hpl.hp.com>
3087         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Include
3088         <sysdeps/ia64/sysdep.h>.
3090         * sysdeps/ia64/_mcount.S: New file.
3092         * sysdeps/ia64/elf/initfini.c (_init): Preserve gp around call to
3093         __gmon_start__.  Fix up extraneous whitespace.
3095 2000-01-12  H.J. Lu  <hjl@gnu.org>
3097         * sysdeps/ia64/elf/initfini.c: New file.
3099 2000-07-31  Jes Sorensen  <jes@linuxcare.com>
3101         * sysdeps/unix/sysv/linux/ia64/clone.S: Add stop bit to avoid WAW
3102         dependency between branch and ar.pfs write.
3104 2000-07-31  H.J. Lu  <hjl@gnu.org>
3106         * sysdeps/generic/printf_fphex.c (__printf_fphex): Correctly
3107         handle the wchar_t array.
3109 2000-07-31  Ulrich Drepper  <drepper@redhat.com>
3111         * iconvdata/gb18030.c: Don't map to and from positions in ISO
3112         10646 which are not yet assigned.
3113         Patch by wang shouhua <shouhuawang@redflag-linux.com>.
3115 2000-07-31  Andreas Jaeger  <aj@suse.de>
3117         * inet/Versions: Remove getipnodebyaddr and friends from
3118         GLIBC_2.2.
3120         * resolv/netdb.h: Remove getipnodebyaddr and friends.
3122 2000-07-30  Bruno Haible  <haible@clisp.cons.org>
3124         * iconvdata/sjis.c (BODY for FROM_LOOP): Treat the case
3125         ch >= 0x81 && ch2 < 0x40 as invalid.
3127 2000-07-30  Bruno Haible  <haible@clisp.cons.org>
3129         * iconvdata/uhc.c (BODY for FROM_LOOP): Reject ch2 == 0xff as invalid.
3130         (BODY for TO_LOOP): Accept 0x7f. Increment outptr as needed.
3132 2000-07-30  Bruno Haible  <haible@clisp.cons.org>
3134         * iconvdata/johab.c (BODY for TO_LOOP): After calling
3135         ucs4_to_ksc5601_sym, fix the conversion to JOHAB.
3137 2000-07-30  Bruno Haible  <haible@clisp.cons.org>
3139         * iconvdata/t.61.c (to_ucs4): Change values of 0xa4, 0a6, 0xa8, 0xb4,
3140         0xb8.
3141         (from_ucs4): Change values of U+00A4, U+00BB, U+00ED.
3143 2000-07-30  Bruno Haible  <haible@clisp.cons.org>
3145         * iconvdata/macintosh.c (HAS_HOLES): Set to 1.
3147 2000-07-30  Bruno Haible  <haible@clisp.cons.org>
3149         * iconvdata/iso_6937.c (to_ucs4): Change values of 0x24 and 0xb4.
3150         (from_ucs4): Change values of U+00A4 and U+00ED.
3151         (BODY of TO_LOOP): Remove mapping from U+02DC to 0x0020.
3153 2000-07-30  Bruno Haible  <haible@clisp.cons.org>
3155         * iconvdata/ansi_x3.110.c (from_ucs4): Change entry for 0xed.
3156         (BODY for TO_LOOP): Map U+2122, U+2126, not U+2022, U+2026.
3158 2000-07-30  Bruno Haible  <haible@clisp.cons.org>
3160         * iconvdata/Makefile (gen-8bit-gap-modules): Remove isiri-3342.
3161         * iconvdata/isiri-3342.h: New file.
3162         * iconvdata/isiri-3342.c (HAS_HOLES): Avoid gaps >= 0xe0, but don't
3163         treat 0x80 as a gap.
3165 2000-07-30  Bruno Haible  <haible@clisp.cons.org>
3167         * string/strxfrm.c (encoding_mask, encoding_byte): Remove.
3168         (utf8_encode): Use simple shifts instead.  Fix return value.
3170 2000-07-31  Ulrich Drepper  <drepper@redhat.com>
3172         * timezone/private.h: Update from tzcode2000e.
3173         * timezone/asia: Update from tzdata2000e.
3174         * timezone/australasia: Likewise.
3175         * timezone/europe: Likewise.
3176         * timezone/northamerica: Likewise.
3177         * timezone/zone-tab: Likewise.
3179 2000-07-30  Ralf Baechle  <ralf@gnu.org>
3181         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h:  New file.  On MIPS
3182         the order of struct sigaltstack members is different.
3184 2000-07-26  Philip Blundell  <philb@gnu.org>
3186         * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: New file.
3188 2000-07-29  Ulrich Drepper  <drepper@redhat.com>
3190         * locale/langinfo.h: Add entries for extra tables in CTYPE data.
3191         * locale/programs/ld-ctype.c: Adjust for this.
3193         * locale/programs/ld-collate.c: Add more alignment checks.
3194         * locale/string/strcoll.c: Likewise.
3196 2000-07-30  Mark Kettenis  <kettenis@gnu.org>
3198         * stdio-common/vfprintf.c: Move inclusion of _i18n_number.h
3199         outside USE_IN_LIBIO block.
3201 2000-07-26  Philip Blundell  <philb@gnu.org>
3203         * sysdeps/arm/dl-machine.h (fix_bad_pc24): New function.
3204         (elf_machine_rel): Use it for out-of-range PC24 relocs.
3206 2000-07-28  Philip Blundell  <philb@gnu.org>
3208         * math/test-fpucw.c: Ignore reserved bits in control word.
3210 2000-07-28  Philip Blundell  <philb@gnu.org>
3212         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
3213         (ret): Redefine to PSEUDO_RET.
3214         (PSEUDO): Remove jump to syscall_error.
3216 2000-07-29  Mark Kettenis  <kettenis@gnu.org>
3218         * resolv/README: Add some information about using the resolver in
3219         multi-threaded code and with C++.  Spelling fixes.
3221 2000-07-29  Mark Kettenis  <kettenis@gnu.org>
3223         * resolv/resolv.h (struct __sockaddr_in): Remove.
3224         (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
3226 2000-07-29  Greg McGary  <greg@mcgary.org>
3228         * Rules (test-bp-inputs, make-test-out): New variables.
3229         ($(objpfx)%-bp.out): New rule.
3230         ($(objpfx)%.out): Rewrite in terms of new variables.
3232         * libio/iovswscanf.c (vswscanf): Pass _IO_FILE_plus pointer to
3233         internal function that uses vtable.
3234         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
3235         * libio/vswprintf.c (_IO_vswprintf): Likewise.
3237         * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
3238         (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
3239         (chunk_align): Likewise.
3241         * time/asctime.c (ab_day_name, ab_month_name): Rewrite expression
3242         in a way that conforms to decl, and avoids spurious bounds violation.
3244         * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
3245         * sysdeps/generic/frame.h: Likewise.
3246         * sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
3247         around return value.
3248         (__backtrace): Qualify frame-pointer chain and return address
3249         pointers as __unbounded.  Wrap bounds around variable `current'.
3250         * sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
3251         around return value.
3252         (catch_segfault): Qualify frame-pointer chain and return address
3253         pointers as __unbounded.  Wrap bounds around variable `current'.
3254         * sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
3255         (ADVANCE_STACK_FRAME): Wrap bounds around return value.
3256         * sysdeps/powerpc/backtrace.c (struct layout): Make pointers
3257         __unbounded.
3258         (__backtrace): Qualify frame-pointer chain and return address
3259         pointers as __unbounded.  Wrap bounds around variable `current'.
3261         * sysdeps/i386/addmul_1.S: s2_limb is scalar so remove bounds check.
3262         * sysdeps/i386/mul_1.S: Likewise.
3263         * sysdeps/i386/submul_1.S: Likewise.
3264         * sysdeps/i386/i586/addmul_1.S: Likewise.
3265         * sysdeps/i386/i586/mul_1.S: Add bounds checks.
3266         * sysdeps/i386/i586/submul_1.S: Likewise.
3268 2000-07-27  Andreas Jaeger  <aj@suse.de>
3270         * libio/Depend: New file, libio needs localedata for tests.
3271         * posix/Depend: Likewise.
3273 2000-07-28  Ulrich Drepper  <drepper@redhat.com>
3275         * stdio-common/_i18n_itoa.c: Removed.
3276         * stdio-common/_i18n_itoa.h: Removed.
3277         * stdio-common/_i18n_itowa.c: Removed.
3278         * stdio-common/_i18n_itowa.h: Removed.
3279         * stdio-common/_i18n_number.h: New file.
3280         * stdio-common/Depend: New file.
3281         * stdio-common/printf-parse.h: Handle I modifier correctly.  Optimize.
3282         * stdio-common/vfprintf.c: Rewrite buffer handling for integer
3283         printing.  Change printing of numbers with locale specific digits to
3284         use new code in _i18n_number.h.
3285         * stdio-common/Makefile (routines): Remove _i18n_itoa and
3286         _i18n_itowa.
3288         * stdio-common/bug13.c: Improve messages.
3290         * locale/programs/ld-ctype.c (ctype_read): Improve error message.
3291         (set_class_defaults): Always search also for Uxxxx names.
3292         Detect insufficient number of outdigits.
3294         * locale/Makefile (C-translit.h): Use mv not $(move-if-changed).
3296 2000-07-27  Bruno Haible  <haible@clisp.cons.org>
3298         * locale/C-ctype.c (_nl_C_LC_CTYPE): Swap the two names in
3299         _NL_CTYPE_MAP_NAMES.
3300         * locale/localeinfo.h (__TOW_toupper, __TOW_tolower): New enum values.
3301         * wctype/wcfuncs.c (towlower, towupper): Use them.
3302         * wctype/wcfuncs_l.c (__towlower_l, __towupper_l): Likewise.
3303         * wctype/wctrans.c (wctrans): Likewise.
3304         * wctype/wctrans_l.c (__wctrans_l): Likewise.
3306 2000-07-27  Bruno Haible  <haible@clisp.cons.org>
3308         * posix/fnmatch.c (is_char_class): Fix logic.  Avoid buffer overrun.
3309         Use the optimized version of this function outside glibc as well.
3311 2000-07-27  Jakub Jelinek  <jakub@redhat.com>
3313         * locale/indigits.h (indigit_value): Correct.
3314         * locale/indigitswc.h (indigitwc_value): Correct.
3315         * stdio-common/vfscanf.c (__vfscanf): Fix I18N number
3316         conversion, add GROUP checking for it, fix GROUP number
3317         conversion with strlen(thousands) > 1.
3318         Honour width correctly in the presence of floating
3319         decimal points and thousands separators.
3320         * stdio-common/tst-sscanf.c: New test.
3321         * stdio-common/Makefile: Add it to tests.
3322         * sysdeps/generic/strtol.c (strtol): Fix conversion if there are
3323         thousands separators and group argument is non-zero.
3325 2000-07-25  Bruno Haible  <haible@clisp.cons.org>
3327         * locale/Versions: Enumerate __*_l functions individually. __wctrans_l
3328         starts at GLIBC_2.2.
3330 2000-07-12  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
3332         * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
3333         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
3334         _test_and_set.
3335         (headers): Add sys/tas.h.
3336         * sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
3337         GLIBC_2.2 from libc.
3338         * sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
3339         * sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
3340         _test_and_set.
3342 2000-07-28  Andreas Jaeger  <aj@suse.de>
3344         * sysdeps/gnu/netinet/tcp.h: Add TCP options from Linux 2.4.
3346         * dlfcn/Makefile ($(objpfx)tst-dladdr): New.
3347         ($(objpfx)tst-dladdr.out): new.
3348         (tests): Add tst-dladdr.
3349         ($(objpfx)glrefmain): Use libdl.
3351         * dlfcn/tst-dladdr.c: New file.  Based on a test by Volkmar Sieh
3352         <vs@caldera.de>.
3354 2000-07-27  Jes Sorensen  <jes@linuxcare.com>
3356         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add truncate(64) and
3357         ftruncate(64) calls.
3359 2000-07-27  Jes Sorensen  <jes@linuxcare.com>
3361         * intl/tst-translit.c: Include string.h to get prototype for
3362         strcmp().
3364 2000-07-27  Jes Sorensen  <jes@linuxcare.com>
3366         * sysdeps/unix/sysv/linux/ia64/fork.c: Make __libc_fork the strong
3367         name and add weak alias for __fork.
3369         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change llseek, pread
3370         & pwrite to use __libc_<name> as strong names instead of
3371         __syscall_<name>.
3373         * include/sched.h: Add clone2 prototype.
3375 2000-07-26  Jes Sorensen  <jes@linuxcare.com>
3377         * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Don't declare the
3378         procedure name twice.
3380 2000-07-27  Philip Blundell  <philb@gnu.org>
3382         * malloc/malloc.c (HAVE_MREMAP): Undo change of 1997-12-04.
3384 2000-07-27  Andreas Jaeger  <aj@suse.de>
3386         * sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
3387         MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
3388         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
3389         Reported by Andi Kleen <ak@suse.de>.
3391         * rt/tst-aio64.c: Add tests for aio_fsync64 and aio_cancel64.
3392         (do_wait): Test requests with aio_return64.
3393         (do_test): Change callers of do_wait.
3395 2000-07-26  Andreas Jaeger  <aj@suse.de>
3397         * rt/tst-aio.c: Add tests for aio_fsync and aio_cancel.
3398         (do_wait): Test requests with aio_return.
3399         (do_test): Change callers of do_wait.
3401 2000-07-27  Ulrich Drepper  <drepper@redhat.com>
3403         * rt/aio_misc.c (__aio_remove_request): New function.  Handle removing
3404         from request list.  Don't do the list handling here, call
3405         __aio_remove_request.
3406         * rt/aio_misc.h: Add prototype for __aio_remove_request.
3407         * rt/aio_cancel.c: Don't assume __aio_find_req_fd succeeds since the
3408         request might already be processed.  Don't do the list handling
3409         here, call __aio_remove_request.
3411         * rt/aio_misc.c: Don't depend on aio_reqprio field for LIO_SYNC and
3412         LIO_DSYNC.
3414         * rt/aio_misc.c: Add comment explaining why writer memory barriers
3415         are missing.
3417 2000-07-27  Greg McGary  <greg@mcgary.org>
3419         * sysdeps/generic/bp-checks.h (BOUNDED_N): Make it work for void*.
3420         * sysdeps/generic/bp-semctl.h (check_semctl): Fix syntax error
3421         in union init.  Pass zero for ignored semnum arg to semctl.
3422         * sysdeps/unix/sysv/linux/shmat.c (shmat): Fix typo.
3424 2000-07-26  Greg McGary  <greg@mcgary.org>
3426         * sysdeps/gnu/bits/msq.h: Qualify kernel's
3427         data structure pointers as __unbounded.
3428         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
3429         * sysdeps/generic/bp-semctl.h: New file.
3430         * sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
3431         pointers as __unbounded.  Check bounds of syscall args.
3432         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3433         * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
3434         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3435         * sysdeps/unix/sysv/linux/semop.c: Likewise.
3436         * sysdeps/unix/sysv/linux/shmat.c: Likewise.
3437         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3438         * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
3439         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
3440         * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
3441         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
3442         * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
3443         * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
3444         * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
3445         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
3446         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
3447         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
3449 2000-07-26  Ulrich Drepper  <drepper@redhat.com>
3451         * libio/iofwide.c: Enable transliteration for conversion from wchar_t
3452         by default.
3453         * locale/C-ctype.c: Likewise.
3454         * wcsmbs/wcsmbsload.c: Likewise.
3456 2000-07-26  Greg McGary  <greg@mcgary.org>
3458         * Makeconfig (+link-bounded, link-libc-bounded,
3459         link-extra-libs-bounded): New variables.
3460         (built-program-cmd): Omit $(run-program-prefix) for static BP tests.
3461         * Makerules (do-tests-clean, common-mostlyclean): Remove BP test files.
3462         * Rules (tests-bp.out): New variable.
3463         (tests): Conditionally add BP tests.
3464         (binaries-bounded): Add variable and associated rule.
3465         * csu/Makefile [build-bounded] (extra-objs, install-lib):
3466         Move conditional stuff after place where condition is defined.
3468         * malloc/malloc.c (bp-checks.h): Add #include.
3469         (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
3470         (_bin_at): Add unbounded version of bin_at.
3471         (IAV, chunk_alloc): Use unbounded _bin_at.
3472         (mALLOc, rEALLOc, chunk_realloc, mEMALIGn, cALLOc,
3473         chunk2mem_check, realloc_check, malloc_starter, malloc_atfork):
3474         Wrap BOUNDED_N around return value.
3475         (chunk_realloc): Adjust oldsize once.
3477         * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
3478         (__ubp_memchr): Add correct decl.
3479         (_CHECK_STRING): Use __ubp_memchr.
3480         * sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3481         New alias for unbounded-pointer __memchr.
3482         * sysdeps/i386/memchr.S: Likewise.
3483         * sysdeps/ia64/memchr.S: Likewise.
3484         * sysdeps/m68k/memchr.S: Likewise.
3485         * sysdeps/sparc/sparc32/memchr.S: Likewise.
3486         * sysdeps/sparc/sparc64/memchr.S: Likewise.
3487         * sysdeps/vax/memchr.s: Likewise.
3489         * sysdeps/i386/strtok.S: Fix bounds checks to pass tests.
3490         (SAVE_PTR): New macro.  (save_ptr): Expand size as BP.
3491         (strtok): Don't bother to write into SAVE_PTR when returning NULL.
3492         * sysdeps/i386/i686/strtok.S: Likewise.
3493         * sysdeps/i386/bp-asm.h (RETURN_BOUNDED_POINTER,
3494         RETURN_NULL_BOUNDED_POINTER): Use %ecx as the scratch register.
3496         * sysdeps/i386/bits/string.h [!__BOUNDED_POINTERS__]: Disable inlines.
3497         * sysdeps/i386/i486/bits/string.h [!__BOUNDED_POINTERS__]: Likewise.
3499         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Copy
3500         bounds of copy_result to mount_proc.
3502 2000-07-25  Bruno Haible  <haible@clisp.cons.org>
3504         * wctype/wctype.h (__wctrans_l): New declaration.
3505         * wctype/wctrans_l.c: New file.
3506         * wctype/Makefile (routines): Add wctrans_l.
3508 2000-07-26  Ulrich Drepper  <drepper@redhat.com>
3510         * posix/fnmatch_loop.c: Fixes for use outside glibc.
3511         Patch by MacGyver <macgyver@tos.net>.
3513 2000-07-26  Andreas Jaeger  <aj@suse.de>
3515         * rt/tst-aio4.c: New file, slightly modified version of tst-aio2.
3516         * rt/tst-aio5.c: New file, slightly modified version of tst-aio2.
3517         * rt/Makefile: Add rules to build and run tst-aio4 and tst-aio5.
3519         * rt/tst-aio.c (test_file): Fix typo.
3520         * rt/tst-aio64.c (test_file): Likewise.
3522         * rt/tst-aio3.c: New file, slightly modified version of tst-aio2.
3523         * rt/Makefile: Add rules to build and run tst-aio3.
3525         * sysdeps/unix/sysv/linux/netinet/ip.h: Removed ip_options since
3526         it's not needed and confuses only.
3528 2000-07-26  Ulrich Drepper  <drepper@redhat.com>
3530         * resolv/res_init.c: Add support for nameserver communication with
3531         IPv6.
3532         * resolv/res_send.c: Likewise.
3533         * resolv/resolv.h (struct __res_state): Store IPv6 address, not IPv4
3534         in nsaddrs field.
3535         Patch by <venaas@nvg.ntnu.no>.
3537 2000-07-25  Bruno Haible  <haible@clisp.cons.org>
3539         * locale/programs/ld-ctype.c (wctype_table_get): New function.
3540         (wcwidth_table_get): New function.
3541         (wcwidth_table_add): Call it.
3542         (wctrans_table_get): New function.
3543         (wctrans_table_add): Call it.
3545 2000-07-25  Ulrich Drepper  <drepper@redhat.com>
3547         * rt/lio_listio.c (lio_listio): Always disable individual
3548         notification.
3549         * rt/Makefile: Add rules to build and run tst-aio2.
3550         * rt/tst-aio2.c: New file.
3552         * rt/lio_listio.c (lio_listio): Handle case of SIG == NULL correctly.
3553         Reported by Kevin Beard <beardk@gatwick.Geco-Prakla.slb.com>.
3555 2000-07-25  Mark Kettenis  <kettenis@gnu.org>
3557         * nss/nss_files/files-netgrp.c (strip_whitespace): New function.
3558         (_nss_netgroup_parseline): Use strip_whitespace to strip off any
3559         leading and trailing spaces from host, user and domain name.
3561 2000-07-25  Jes Sorensen  <jes@linuxcare.com>
3563         * csu/defs.awk: Add support for need_endp.
3565 2000-07-25  Mark Kettenis  <kettenis@gnu.org>
3567         * resolv/resolv.h: Remove __P from res_send_qhook and
3568         res_send_rhook typedefs.
3570 2000-07-25  Bruno Haible  <haible@clisp.cons.org>
3572         * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
3574 2000-07-25  Ulrich Drepper  <drepper@redhat.com>
3576         * iconv/gconv_builtin.h: Add WCHAR_T alias.
3578 2000-07-25  Mark Kettenis  <kettenis@gnu.org>
3580         * hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
3581         calling thread, set the cancellation flag and return success
3582         instead of EINTR.
3584 2000-07-25  Ulrich Drepper  <drepper@redhat.com>
3586         * libio/Makefile: Add rules build, run, and distribute tst-widetext.c.
3587         * libio/tst-widetext.c: New file.
3588         * libio/tst-widetext.input: New file.
3590         * libio/iogetwline.c (_IO_getwline_info): Pretty print.
3592         * libio/wfileops.c (_IO_wfile_underflow): Handle not entirely
3593         empty external buffer correctly.
3595 2000-07-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
3597         * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
3598         __STRING(entry) and not #entry.
3599         (_RTLD_EPILOGUE): Likewise.
3600         * sysdeps/mips/mips64/dl-machine.h: Likewise.
3602 2000-07-25  Andreas Jaeger  <aj@suse.de>
3604         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Change parameter
3605         according to changes in test program, run also with static only
3606         builds.
3607         ($(objpfx)tst-printf.out): Likewise.
3609         * stdio-common/tst-unbputc.sh: Likewise.
3610         * stdio-common/tst-printf.sh: Likewise.
3612 2000-07-25  Ulrich Drepper  <drepper@redhat.com>
3614         * libio/wfileops.c (_IO_wdo_write): Correct return value.
3616         * libio/wfileops.c (_IO_wdo_write): Allow partial conversions in the
3617         loop.
3619         * libio/fileops.c: Pretty print.
3621 2000-07-23  Bruno Haible  <haible@clisp.cons.org>
3623         * wctype/wchar-lookup.h: New file.
3624         * wctype/iswctype.c: Include "wchar-lookup.h".
3625         (__iswctype): Support alternate locale format with 3-level tables.
3626         * wctype/iswctype_l.c (__iswctype_l): Likewise.
3627         * wctype/towctrans.c (__towctrans): Likewise.
3628         * wctype/towctrans_l.c (__towctrans_l): Likewise.
3629         * wctype/wcfuncs.c: Include "wchar-lookup.h".
3630         (__ctype32_wctype, __ctype32_wctrans): Declare external.
3631         (__iswalnum, __iswalpha, __iswcntrl, __iswdigit, __iswlower,
3632         __iswgraph, __iswprint, __iswpunct, __iswspace, __iswupper,
3633         __iswxdigit, towlower, towupper): Support alternate locale format
3634         with 3-level tables.
3635         * wctype/wcextra.c (iswblank): Likewise.
3636         * wctype/wcfuncs_l.c: Include "wchar-lookup.h".
3637         (__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
3638         __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
3639         __iswxdigit_l, __towlower_l, __towupper_l): Support alternate locale
3640         format with 3-level tables.
3641         * wctype/wcextra_l.c (__iswblank_l): Likewise.
3642         * wctype/wctype.c (__wctype): Likewise.  In the alternate locale
3643         format, return a 3-level table pointer.
3644         * wctype/wctype_l.c (__wctype_l): Likewise.
3645         * wctype/wctrans.c (wctrans): Likewise.
3646         * wctype/wctype.h (__ISwupper, __ISwlower, __ISwalpha, __ISwdigit,
3647         __ISwxdigit, __ISwspace, __ISwprint, __ISwgraph, __ISwblank,
3648         __ISwcntrl, __ISwpunct, __ISwalnum): New enum values.
3649         (iswctype): Remove macro definition.
3650         * wcsmbs/wcwidth.h: Include "wchar-lookup.h".
3651         (internal_wcwidth): Support alternate locale format with 3-level
3652         tables.
3653         * locale/langinfo.h (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
3654         New nl_items.
3655         * locale/categories.def (_NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET):
3656         Define them as being type "word".
3657         * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializers for them.
3658         * ctype/ctype-info.c (__ctype32_wctype, __ctype32_wctrans,
3659         __ctype32_width): New exported variables.
3660         * locale/lc-ctype.c (_nl_postload_ctype): Initialize them in the
3661         alternate locale format. Don't initialize __ctype_names and
3662         __ctype_width in the alternate locale format.
3663         * locale/programs/localedef.h (oldstyle_tables): New declaration.
3664         * locale/programs/localedef.c (oldstyle_tables): New variable.
3665         (OPT_OLDSTYLE): New macro.
3666         (options): Add --old-style option.
3667         (parse_opt): Handle --old-style option.
3668         * locale/programs/ld-ctype.c (locale_ctype_t): Add class_offset,
3669         map_offset, class_3level, map_3level, width_3level members.
3670         (ctype_output): Support for alternate locale format: Computation of
3671         nelems changes. _NL_CTYPE_TOUPPER32, _NL_CTYPE_TOLOWER32 and
3672         _NL_CTYPE_CLASS32 only 256 characters. _NL_CTYPE_NAMES empty.
3673         New fields _NL_CTYPE_CLASS_OFFSET, _NL_CTYPE_MAP_OFFSET. Field
3674         _NL_CTYPE_WIDTH now contains the three-level table. Extra elems
3675         now contain both class and map tables.
3676         (struct wctype_table): New type.
3677         (wctype_table_init, wctype_table_add, wctype_table_finalize): New
3678         functions.
3679         (struct wcwidth_table): New type.
3680         (wcwidth_table_init, wcwidth_table_add, wcwidth_table_finalize): New
3681         functions.
3682         (struct wctrans_table): New type.
3683         (wctrans_table_init, wctrans_table_add, wctrans_table_finalize): New
3684         functions.
3685         (allocate_arrays): Support for alternate locale format: Set
3686         plane_size and plane_cnt to 0. Restrict ctype->ctype32_b to the first
3687         256 characters. Compute ctype->class_3level. Restrict ctype->map32[idx]
3688         to the first 256 characters. Compute ctype->map_3level. Set
3689         ctype->class_offset and ctype->map_offset. Compute ctype->width_3level
3690         instead of ctype->width.
3692 2000-07-24  Ulrich Drepper  <drepper@redhat.com>
3694         * libio/iogetwline.c (_IO_getwline_info): Use wide character
3695         string functions.
3697 2000-07-24  Jakub Jelinek  <jakub@redhat.com>
3699         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size
3700         in wide characters, not bytes.
3701         * libio/tst_putwc.c (do_test): Add test for writing lots of data
3702         into file.
3704 2000-07-22  Bruno Haible  <haible@clisp.cons.org>
3706         * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the
3707         new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE,
3708         LC_MEASUREMENT, LC_IDENTIFICATION.
3710         * locale/xlocale.h (struct __locale_struct): Increase size of
3711         __locales array.
3712         * locale/duplocale.c (__duplocale): Copy newly added categories as
3713         well.
3714         * locale/freelocale.c (__freelocale): Free newly added categories.
3715         * locale/newlocale.c (__newlocale): Fix typo in sanity check.
3716         If a base is given, use it, don't simply return it.
3718 2000-07-22  Bruno Haible  <haible@clisp.cons.org>
3720         * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer
3721         variables, copied_key and copied_salt, instead of boolean variables.
3723 2000-07-24  Andreas Jaeger  <aj@suse.de>
3725         * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Really fix
3726         check for offset.
3728         * grp/initgroups.c (initgroups_dyn_function): Renamed from
3729         initgroups_function, adopted prototype for change from 2000-07-23.
3730         (initgroups): Follow type change.
3732         * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Fix offset
3733         & PAGE_MASK case, reformat.
3735         * string/Makefile ($(objpfx)tst-svc.out): Fix rule to read input
3736         from stdin and setup environment.
3738 2000-07-24  Andreas Schwab  <schwab@suse.de>
3740         * sysdeps/unix/sysv/linux/m68k/mmap.S: Remove mmap64 alias.
3742 2000-07-23  Ulrich Drepper  <drepper@redhat.com>
3744         * string/endian.h: Explain the _*_ENDIAN constant values a bit
3745         more.  Patch by scarlet@mit.edu [PR libc/1799].
3747         * io/ftwtest-sh: Add -f parameter to chmod if -R is also given.
3748         [PR libc/1792].
3750         * argp/argp-parse.c (parser_finalize): Reverse order in which
3751         parsers are run for ARGP_KEY_END.  [PR libc/1755].
3753         * grp/initgroups.c (initgroups): Don't limit the possible number
3754         of groups to NGROUPS_MAX.  Allow dynamic resizing.  Loop around
3755         the setgroups call while the call fails and descrease the number
3756         of groups each round.
3757         The name of the initgroups function in the NSS modules changed.
3758         (compat_call): Adapt for dynamic resizing.
3759         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3760         Implement dynamic resizing.
3761         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
3762         Likewise.
3763         * nis/nss_nis/compat-initgroups.c (_nss_nis_initgroups_dyn): Likewise.
3764         * hesiod/Versions: Change exported interface name.
3765         * nis/Versions: Change exported interface name.
3767 2000-07-23  Ulrich Drepper  <drepper@redhat.com>
3769         * locale/iso-639.def: Some errors corrected.
3770         Patch by Keld Simonsen.
3772         * include/limits.h: Update non-gcc portion.
3773         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
3775 2000-07-22  Mark Kettenis  <kettenis@gnu.org>
3777         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the
3778         program's data space, reallocate only the space that was just
3779         deallocated to release its backing space.
3781 2000-07-23  Ulrich Drepper  <drepper@redhat.com>
3783         * stdio-common/vfprintf.c (process_string_arg): For wide character
3784         version, handle precision also correctly.
3786         * nss/nss_files/files-hosts.c: Correct problem with three or more
3787         entries with the same name.
3789         * nss/nss_files/files-hosts.c: Implement multi handling.
3790         * resolv/Versions: Export _res_hconf for GLIBC_2.2 from libc.
3792 2000-07-22  Ulrich Drepper  <drepper@redhat.com>
3794         * nss/nss_files/files-parse.c: Don't pollute namespace by using
3795         strcasecmp.
3797         * grp/Makefile: Change Makefiles and tests to run only when necessary.
3798         * malloc/Makefile: Likewise.
3799         * malloc/tst-mtrace.sh: Likewise.
3800         * posix/Makefile: Likewise.
3801         * posix/globtest.sh: Likewise.
3802         * posix/wordexp-tst.sh: Likewise.
3803         * string/Makefile: Likewise.
3805 2000-07-22  Mark Kettenis  <kettenis@gnu.org>
3807         * locale/findlocale.c (locale_file_list): Use __LC_LAST as array
3808         size instead of LC_ALL to take into account the new locale
3809         categories.
3811 2000-07-22  Ulrich Drepper  <drepper@redhat.com>
3813         * iconv/gconv_trans.c: Correct a few bugs in the search loop.  Remove
3814         remainders of hash table.
3815         * locale/categories.def: Remove remainders of transliteration
3816         hash table.
3817         * locale/langinfo.h: Likewise.
3818         * locale/programs/ld-ctype.c: Likewise.  Fix code to write out
3819         transliteration tables.
3821         * locale/gen-translit.pl: New file.
3822         * locale/C-translit.h.in: New file.
3823         * locale/C-ctype.c: Include C-translit.h.  Initialize transliteration
3824         data pointers with data from this file.
3825         * locale/Makefile (distribute): Add C-translit.h.in, C-translit.h,
3826         and gen-translit.pl.
3827         Add rule to generate C-translit.h.
3828         * intl/tst-translit.c (main): Update for now performed
3829         transliteration.
3831         * stdio-common/vfscanf.c: Handle input -- with format %f correctly
3832         (it's no input error).
3833         * stdio-common/tstscanf.c: Add test case for format %f with input --.
3834         * stdio-common/scanf12.c: Correct expected result for first scanf.
3836         * stdio-common/vfprintf.c (process_string_arg): Correct handling
3837         of multibyte character strings in %s format with precision.
3839 2000-07-21  Ulrich Drepper  <drepper@redhat.com>
3841         * locale/programs/ld-collate.c (collate_read): Allow collating
3842         symbols and elements be named in reorder-after instructions.
3843         Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
3845         * locale/programs/ld-collate.c (handle_ellipsis): Test for
3846         duplication with generated name, not the name of the first
3847         character.
3848         Patch by Yong Li <yong.li@asu.edu>.
3850         * sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
3851         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3853 2000-07-21  Wolfram Gloger  <wg@malloc.de>
3855         * malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
3856         allocations only if a non-main arena cannot be extended.
3858 2000-07-21  Ulrich Drepper  <drepper@redhat.com>
3860         * elf/dl-load.c (_dl_map_object): Take loader==NULL into account
3861         in DF_1_NODEFLIB handling.
3863 2000-07-21  Andreas Jaeger  <aj@suse.de>
3865         * elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
3866         own rule.
3868         * libio/fwide.c: Include <wchar.h> for prototype.
3870 2000-07-21  Greg McGary  <greg@mcgary.org>
3872         * malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
3873         set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
3874         Define in terms of chunk_at_offset.
3875         (inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
3876         (next_bin, prev_bin): offset by size of real array elements.
3877         (chunk_align): Make `m' a scalar, since that's how it's used.
3879 2000-07-21  Greg McGary  <greg@mcgary.org>
3881         * sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
3882         UNCHECK_BOUNDS.
3883         * sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
3884         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
3885         Wrap bounds around argv & envp and each of their string members.
3886         * sysdeps/powerpc/elf/start.S: Designate BP symbols.
3887         * sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
3888         symbol in BP_SYM ().  Discard bounds of address arg.
3889         * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
3890         * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
3891         Discard bounds on address arg, add bounds to return value.
3893 2000-07-20  Ulrich Drepper  <drepper@redhat.com>
3895         * elf/Makefile (tests): Add filter.  Add rules to generate filter.
3896         * elf/filter.c: New file.
3897         * elf/filtmod1.c: New file.
3898         * elf/filtmod2.c: New file.
3900         * elf/rtld.c: Define _dl_bind_not variable.
3901         (process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
3902         * elf/dl-support.c: Likewise.
3903         * sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
3904         * elf/dl-runtime.c (fixup): Don't remember looked up value if
3905         _dl_bind_not.
3906         (profile_fixup): Likewise.
3908         * libio/Makefile (routines): Add fwide.
3909         * libio/iofwide.c (_IO_fwide): Remove locking.  This is done in
3910         fwide now.  Internal calls to _IO_fwide must do locking themselves
3911         or don't need locking.
3912         * libio/fwide.c: New file.
3914         * elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
3916         * elf/Makefile: Add no modules for nodelete test.
3917         * elf/nodelmod3.c: New file.
3918         * elf/nodelmod4.c: New file.
3919         * elf/nodelete.c: Also test case where dependency of dlopen() object
3920         is marked nodelete.
3922         * elf/Makefile (tests): Add nodlopen.  Add rules to generate nodlopen.
3923         * elf/nodlopen.c: New file.
3924         * elf/nodlopenmod.c: New file.
3925         * include/dlfcn.h: Define __RTLD_DLOPEN.
3926         * elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
3927         and this is a dlopen() call, do not load the binary.
3928         * dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
3929         * dlfcn/dlopenold.c: Likewise.
3930         * configure.in: Add test for -z nodelete option.
3931         * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
3933 2000-07-20  Mark Kettenis  <kettenis@gnu.org>
3935         Make Hesiod NSS module thread-safe.
3937         * hesiod/README.hesiod: Update.
3939         * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
3940         _nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
3941         _nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
3942         * hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
3943         hesiod-proto.
3944         * hesiod/nss_hesiod/hesiod-init.c: New file.
3945         * hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
3946         * hesiod/nss_hesiod/hesiod-grp.c: Likewise.
3947         * hesiod/nss_hesiod/nss_hesiod.h: New file.
3948         * hesiod/nss_hesiod/hesiod-service.c
3949         (_nss_hesiod_getservbyport_r): New function.  Provide support for
3950         looking up services by port number.
3951         * hesiod/nss_hesiod/hesiod-proto.c: New file.
3953         * hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
3954         * hesiod/hesiod.h: Likewise.
3955         * hesiod/hesiod_p.h: Likewise.
3957 2000-07-20  Mark Kettenis  <kettenis@gnu.org>
3959         Fix problems with `struct __res_state' getting too big.
3960         * resolv/resolv.h (struct __sockaddr_in): New definition.
3961         (struct __res_state): Use __sockaddr_in instead of sockaddr_in in
3962         the private parts of the structure to save some space.
3963         * resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
3964         (struct sockaddr_in *) in call to sock_eq.
3965         Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].
3967 2000-07-20  Ulrich Drepper  <drepper@redhat.com>
3969         * elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
3970         * elf/dl-close.c (_dl_close): Don't close an object if it is marked
3971         with nodelete.
3972         * elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
3973         to _dl_map_object.  Return immediately if no object loaded.
3974         Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
3975         * elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
3976         if it exists into l_flags_1 word.
3977         * elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
3978         it to determine whether loading is wanted or not.
3979         (_dl_map_object): Likewise.
3980         Call _dl_map_object_from_fd with new parameter.
3981         * sysdeps/generic/ldsodefs.h: Update prototype.
3982         * elf/dl-deps.c: Add new parameter to _dl_map_object calls.
3983         * elf/rtld.c: Likewise.
3984         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3985         * elf/Makefile (tests): Add noload.  Add rules to generate noload.
3986         * elf/noload.c: New file.
3987         * include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
3988         * sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
3989         * sysdeps/mips/bits/dlfcn.h: Likewise.
3990         * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
3991         (tests-nodelete-yes): Define.
3992         (modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
3993         Add rules to build nodelete and modules.
3994         * elf/nodelete.c: New file.
3995         * elf/nodelmod1.c: New file.
3996         * elf/nodelmod2.c: New file.
3997         * configure.in: Add test for -z nodelete option.
3998         * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
4000         * libio/Makefile (tests): Add tst_wprintf2.
4001         (tst_wprintf2-ARGS): Define.
4002         * libio/tst_wprintf2.c: New file.
4003         Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.
4005         * libio/wfiledoalloc.c: Only allocate external buffer if this
4006         hasn't happened yet.
4008         * libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
4009         something in the buffer.  gconv call can write up to end of the
4010         buffer, not only _IO_write_end.
4011         (_IO_wfile_overflow): Allocate also external buffer.
4013 2000-07-19  Ulrich Drepper  <drepper@redhat.com>
4015         * stdio-common/vfprintf.c (process_string_arg): Handle multibyte
4016         strings with precision in vfwprintf correctly.
4017         * stdio-common/vfprintf.c: Fix completely broken handling of
4018         unbuffered wide character streams.
4019         Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.
4021         * resolv/Makefile (distribute): Add README.
4023         * resolv/README: New file.  By Mark Kettenis <kettenis@gnu.org>.
4025 2000-07-18  Mark Kettenis  <kettenis@gnu.org>
4027         Update resolver code to BIND 8.2.3-T5B.
4029         * resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
4030         __res_nclose.
4031         [GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
4032         __res_mkquery, __res_nsend, __res_query, __res_querydomain and
4033         __res_search.
4034         * resolv/Banner: BIND-8.2.3-T5B.
4036         * resolv/base64.c: Update from BIND 8.2.3-T5B.
4037         * resolv/herror.c: Likewise.
4038         * resolv/inet_addr.c: Likewise.
4039         * resolv/inet_net_ntop.c: Likewise.
4040         * resolv/inet_net_pton.c: Likewise.
4041         * resolv/inet_neta.c: Likewise.
4042         * resolv/inet_ntop.c: Likewise.
4043         * resolv/nsap_addr.c: Likewise.
4044         * resolv/inet_pton.c: Likewise.  Reject a few more more invalid
4045         IPv6 addresses (ISC bug #520).
4047         * resolv/ns_name.c: Avoid emitting RCS ID in object file.
4048         * resolv/ns_parse.c: Likewise.
4049         * resolv/ns_netint.c: Likewise.
4050         * resolv/ns_samedomain.c: Likewise.
4051         * resolv/ns_ttl.c: Likewise.
4052         * resolv/ns_print.c: Update from BIND 8.2.3-T5B.  Avoid emitting
4053         RCS ID in object file.
4055         * resolv/res_debug.c: Update from BIND 8.2.3-T5B.
4056         * resolv/res_mkquery.c: Likewise.
4057         * resolv/res_query.c: Likewise.
4058         * resolv/res_init.c: Likewise.
4059         (res_setoptions): Mark internal.
4060         * resolv/res_send.c: Likewise.
4061         [_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
4062         by using poll instead.
4063         * resolv/res_comp.c: Likewise.
4064         [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
4065         weak alias for __dn_expand.
4066         * resolv/res_data.c: Likewise.
4067         (res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
4068         in _res.options.  Avoids a potential security risk by avoiding a
4069         close (0).
4070         [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
4071         res_mkquery, res_query, res_querydomain adn res_search weak
4072         aliases for __res_mkquery, __res_query, __res_querydomain and
4073         __res_search.
4074         * resolv/res_libc.c: (_res): Don't initialize.  Fix res_close
4075         instead to avoid close(0).
4076         (res_init): Always use the static resolver context.
4077         [SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
4078         alias for __res_init.
4080         * resolv/resolv.h: Update from BIND 8.2.3-T5B.  Move definition of
4081         RES_SET_H_ERRNO and accompanying comment to...
4082         * include/resolv.h: ... here.
4084         * resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
4085         * resolv/arpa/nameser_compat.h: Likewise.
4087 2000-07-18  Ulrich Drepper  <drepper@redhat.com>
4089         * nss/makedb.c (main): Compare result of load_db with
4090         NSS_STATUS_SUCCESS and not 0.
4091         Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.
4093         * sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.
4095 2000-07-18  Greg McGary  <greg@mcgary.org>
4097         * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
4098         (EXTEND_BUFFER): Use it.
4100 2000-07-18  Ulrich Drepper  <drepper@redhat.com>
4102         * include/libc-symbols.h: Define RETURN_ADDRESS macro.
4103         * dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
4104         __builtin_return_address.
4105         * dlfcn/dlopenold.c: Likewise.
4106         * dlfcn/dlsym.c: Likewise.
4107         * dlfcn/dlvsym.c: Likewise.
4108         * elf/dl-profstub.c: Likewise.
4109         * malloc/malloc.c: Likewise.
4110         * sysdeps/generic/machine-gmon.h: Likewise.
4111         Based on a patch by schwidefsky@de.ibm.com.
4113 2000-07-18  Andreas Jaeger  <aj@suse.de>
4115         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
4116         NULL to elf_machine_fixup_plt t argument to silence GCC.
4118         * include/string.h: Add prototype for __memchr.
4120         * sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
4122         * sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
4123         instead of memrchr.
4125 2000-07-18  Ulrich Drepper  <drepper@redhat.com>
4127         * intl/Makefile: Make sure tst-translit is run after tst-gettext.
4129         * locale/C-ctype.c: Add initializers for gap elements.
4130         * locale/programs/ld-ctype.c (ctype_output): Write out index entries
4131         for gap elements.
4133 2000-07-16  Ulrich Drepper  <drepper@redhat.com>
4135         * nscd/nscd.c (print_version): Update copyright year.
4137 2000-07-17  Greg McGary  <greg@mcgary.org>
4139         * sysdeps/unix/make-syscalls.sh: Handle new arg signature
4140         keyletters F, I, S, W.  Remove unused keyletter V.  Surround
4141         signature argnames with angle-brackets for use as word delimiters,
4142         and to induce syntax errors for any args not handled.  Split
4143         multi-echo echoes and comment each stage.
4144         * sysdeps/unix/common/syscalls.list: Refine & correct signatures.
4145         * sysdeps/unix/inet/syscalls.list: Likewise.
4146         * sysdeps/unix/mman/syscalls.list: Likewise.
4147         * sysdeps/unix/syscalls.list: Likewise.
4148         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4149         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4150         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4151         * sysdeps/unix/sysv/syscalls.list: Likewise.
4152         * sysdeps/unix/sysv/linux/powerpc/syscalls.list
4154         * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
4155         * sysdeps/unix/sysv/linux/execve.c (__execve): Add const
4156         qualifiers.  Don't check NULL-terminator of argv & envp.
4157         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
4158         unbounded pointer type in word-size assertion.
4159         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
4160         cases to stifle warnings.
4162         * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
4163         _IO_file_attach.
4164         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
4166         * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
4167         * include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods.  Qualify
4168         ptr as __unbouned.
4170         * Makerules (o-objects): Supplement with $(o-objects$o).
4171         * string/Makefile (o-objects.ob): Add variable to pull
4172         unbounded versions of memcpy, memset and memchr into libc_b.
4174         * sysdeps/generic/bp-checks.h: Use unbounded __memchr
4175         rather than non-existent __ubp_memchr.
4176         (CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
4177         (_CHECK_STRING, _CHECK_N): New macros.
4178         (CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
4179         (CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
4180         * sysdeps/alpha/memchr.S: Change strong name to "__memchr".
4181         Add weak alias "memchr".
4182         * sysdeps/generic/memchr.c: Likewise.
4183         * sysdeps/i386/memchr.S: Likewise.
4184         * sysdeps/ia64/memchr.S: Likewise.
4185         * sysdeps/m68k/memchr.S: Likewise.
4186         * sysdeps/sparc/sparc32/memchr.S: Likewise.
4187         * sysdeps/sparc/sparc64/memchr.S: Likewise.
4188         * sysdeps/vax/memchr.s: Likewise.
4190         * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
4192         * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
4193         (profile_fixup): Don't define for __BOUNDED_POINTERS__.
4194         * sysdeps/i386/dl-machine.h: Don't use regparm attribute for
4195         __BOUNDED_POINTERS__.
4196         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
4197         for __BOUNDED_POINTERS__.
4199 2000-07-17  Bruno Haible  <haible@clisp.cons.org>
4201         * iconv/gconv_open.c (__gconv_open): Initialize the __data
4202         field of struct __gconv_trans_data differently.  Don't pass NULL to
4203         trans_init_fct.  Simplify list append operation.
4205 2000-07-14  Bruno Haible  <haible@clisp.cons.org>
4207         * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
4208         not only those having tsearch.
4210 2000-07-17  Ulrich Drepper  <drepper@redhat.com>
4212         * locale/langinfo.h: Add placeholder values in enum for removed
4213         LC_CTYPE entries.
4215 2000-07-17  Jakub Jelinek  <jakub@redhat.com>
4217         * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
4218         chain if the PHDR check fails.
4220 2000-07-17  Mark Kettenis  <kettenis@gnu.org>
4222         * nss/getent.c (print_hosts): Make sure we always print a space
4223         between numeric addresses and hostnames.
4225 2000-07-17  Wolfram Gloger  <wg@malloc.de>
4227         * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
4228         i.e. if n_mmaps_max>0.
4230 2000-07-16  Mark Kettenis  <kettenis@gnu.org>
4232         * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
4233         values to remove possible clash with other AI_* constants.
4234         (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
4235         hexadecimal constants to stress the fact they're in fact
4236         bit flags.
4238 2000-07-15  Mark Kettenis  <kettenis@gnu.org>
4240         * nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
4241         (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
4242         instead of res_init.
4244 2000-07-16  Ulrich Drepper  <drepper@redhat.com>
4246         * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
4247         parameters of memset calls to avoid warnings.
4249 2000-07-15  Ulrich Drepper  <drepper@redhat.com>
4251         * stdlib/Makefile: Rewrite rules to avoid running isomac unless
4252         necessary.
4254         * sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
4255         Patch by Greg McGary <greg@mcgary.org>.
4257         * io/Makefile (tests): Add tst-getcwd.
4258         * io/tst-getcwd.c: New file.
4260         * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
4262 2000-07-15  Jakub Jelinek  <jakub@redhat.com>
4264         * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
4265         structure.
4267 2000-07-13  Jakub Jelinek  <jakub@redhat.com>
4269         * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
4270         * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
4272 2000-07-12  H.J. Lu  <hjl@gnu.org>
4274         * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
4275         GLIBC_2.2.
4276         * sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
4277         * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
4278         (sysdep-routines): Add clone2.
4279         * sysdeps/unix/sysv/linux/ia64/clone2.S: New.
4281 2000-07-13  Jes Sorensen  <jes@linuxcare.com>
4283         * sysdeps/unix/sysv/linux/ia64/clone.S: New file.
4284         * sysdeps/unix/sysv/linux/ia64/fork.c: New file.
4286 2000-06-05  David Mosberger  <davidm@hpl.hp.com>
4288         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
4289         based on sysdeps/unix/sysv/linux/bits/siginfo.h.
4290         Change type of si_band from "int" to "long".
4291         (si_imm) [USE_GNU]: Define
4292         (si_isr) [USE_GNU]: Ditto.
4293         (ILL_BREAK) [USE_GNU]: Ditto.
4294         (FPE_DECOVF) [USE_GNU]: Ditto.
4295         (FPE_DECDIV) [USE_GNU]: Ditto.
4296         (FPE_DECERR) [USE_GNU]: Ditto.
4297         (FPE_INVASC) [USE_GNU]: Ditto.
4298         (FPE_INVDEC) [USE_GNU]: Ditto.
4299         (TRAP_BRANCH) [USE_GNU]: Ditto.
4300         (TRAP_HWBKPT) [USE_GNU]: Ditto.
4302 2000-07-06  Jes Sorensen  <jes@linuxcare.com>
4304         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
4305         bits/sigcontext as struct mcontext does not depend on it.
4307         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
4309 2000-07-04  Jes Sorensen  <jes@linuxcare.com>
4311         * sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
4313 2000-07-04  David Mosberger-Tang  <davidm@hpl.hp.com>
4315         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
4317 2000-06-22  Jes Sorensen  <jes@linuxcare.com>
4319         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
4321 2000-07-15  Ulrich Drepper  <drepper@redhat.com>
4323         * intl/Makefile (test-srcs): Add tst-translit.
4324         (tests): Likewise.
4325         Add rules to build and run tst-translit.
4326         * intl/tst-translit.c: New file.
4327         * intl/tst-translit.sh: New file.
4328         * intl/translit.po: New file.
4330 2000-07-14  Ulrich Drepper  <drepper@redhat.com>
4332         * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
4333         transliteration function did its job, continue, don't stop.
4335         * iconvdata/iso646.c: Little optimizations in body for conversion
4336         from UCS4.
4338 2000-07-14  Mark Kettenis  <kettenis@gnu.org>
4340         * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
4342 2000-07-14  Mark Kettenis  <kettenis@gnu.org>
4344         * configure.in: Check for pwd binary.
4345         * config.make.in: Add PWD_P to be subsituted.
4346         * Makerules: Use $(PWD_P) instead of /bin/pwd.
4348 2000-07-14  Ulrich Drepper  <drepper@redhat.com>
4350         * iconvdata/Makefile (modules): Add GB18030.
4351         (distribute): Add gb18030.c.
4352         * iconvdata/gconv-modules: Add entries for GB18030 module.
4353         * iconvdata/gb18030.c: New file.
4354         Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
4355         and Wu Jian.
4357 2000-07-13  Andreas Jaeger  <aj@suse.de>
4359         * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
4360         patch.
4362         * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
4363         * inet/getnetgrent.c (free_mem): Likewise.
4364         * misc/mntent.c (free_mem): Likewise.
4365         * nss/getXXbyYY.c (free_mem): Likewise.
4366         * nss/getXXent.c (free_mem): Likewise.
4367         * pwd/fgetpwent.c (free_mem): Likewise.
4368         * shadow/fgetspent.c (free_mem): Likewise.
4370 2000-07-14  Ulrich Drepper  <drepper@redhat.com>
4372         * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
4373         64-bit architecture correctly [PR libc/1794].
4375 2000-07-13  Ulrich Drepper  <drepper@redhat.com>
4377         * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
4378         * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
4379         report that we are out of memory.
4380         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4381         * elf/dl-libc.c (dlerror_run): Likewise.
4382         * elf/dl-open.c (_dl_open): Likewise.
4383         * elf/rtld.c (dl_main): Likewise.
4384         * elf/dl-error.c: Define _dl_out_of_memory.
4385         (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
4386         the error string.
4387         * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
4388         [PR libc/1813].
4390         * dlfcn/dlerror.c (free_key_mem): Also free error string.
4392         * iconv/loop.c: Fix comment.
4394         * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
4396 2000-07-13  Andreas Jaeger  <aj@suse.de>
4398         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
4399         getcwd (NULL, size) with size > 0.
4400         Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
4402 2000-07-13  Andreas Jaeger  <aj@suse.de>
4404         * posix/Makefile: Remove build rules for libposix.
4406 2000-07-13  Andreas Schwab  <schwab@suse.de>
4408         * sysdeps/generic/glob.c (glob): Fix memory leak.
4409         [SHELL]: Remove reference to undefined variable `files'.
4410         Fixes PR libc/1782.
4412 2000-07-13  Andreas Jaeger  <aj@suse.de>
4414         * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
4415         functions.
4417         * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
4418         memory if it was allocated.
4420 2000-07-12  Ulrich Drepper  <drepper@redhat.com>
4422         * iconv/gconv_db.c (gen_steps): Always initialize __data field of
4423         step.
4425         * iconv/gconv_open.c (__gconv_open): Reapply
4426         2000-07-12 Bruno Haible <haible@clisp.cons.org>
4428                 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
4430         * iconv/gconv_open.c: Undo last two changes for now.  They break
4431         everything.
4433 2000-07-12  Andreas Jaeger  <aj@suse.de>
4435         * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
4436         compiler.
4437         (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
4438         (CFLAGS-dl-cache.c): Likewise.
4439         (CFLAGS-ldconfig.c): Added, passes directory locations.
4441         * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
4442         locate cache.
4443         * elf/ldconfig.c (LD_SO_CONF): Likewise.
4444         (main): Use configured LIBDIR and SLIBDIR.
4446 2000-07-11  Jakub Jelinek  <jakub@redhat.com>
4448         * math/bits/cmathcalls.h (cimag): Add __THROW.
4449         (creal, conj): Likewise.
4450         * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
4451         by negative value.
4453 2000-07-12  H.J. Lu  <hjl@gnu.org>
4455         * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
4456         for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
4458 2000-07-12  Ulrich Drepper  <drepper@redhat.com>
4460         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
4461         it is wrong.
4463 2000-07-12  Bruno Haible  <haible@clisp.cons.org>
4465         * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
4467 2000-07-12  Bruno Haible  <haible@clisp.cons.org>
4469         * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
4470         __modname.
4472 2000-07-12  Bruno Haible  <haible@clisp.cons.org>
4474         * iconv/gconv_open.c (__gconv_open): Initialize
4475         result->__steps[cnt].__data.
4477 2000-07-12  Mark Kettenis  <kettenis@gnu.org>
4479         * nss/getent.c (services_keys): Pass port number in network byte
4480         order in call to getservbyport.
4482 2000-07-11  Andreas Jaeger  <aj@suse.de>
4484         * stdlib/Makefile (test-canon-ARGS): Fix for building in the
4485         source dir.
4486         * intl/Makefile (do-gettext-test): Likewise.
4487         * dirent/Makefile (opendir-tst1-ARGS): Likewise.
4489 2000-07-11  Andreas Schwab  <schwab@suse.de>
4491         * Makeconfig (run-program-prefix): New rule.
4492         (built-program-cmd): Use run-program-prefix.
4494 2000-07-12  Ulrich Drepper  <drepper@redhat.com>
4496         * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
4497         and NOEXPR unconditionally available.
4499 2000-07-12  Greg McGary  <greg@mcgary.org>
4501         * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
4502         * sysdeps/posix/open64.c: Likewise.
4503         * sysdeps/generic/fegetenv.c: Likewise.
4504         * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
4505         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4506         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4507         * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
4508         * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
4509         * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
4511 2000-07-11  Greg McGary  <greg@mcgary.org>
4513         * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
4514         Add extra level of macro expansion.
4515         [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
4516         * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
4517         is available at the time `select' prototype is declared.
4518         * sysdeps/unix/make-syscalls.sh: Remove unused variables.
4519         Collect non-versioned weak aliases.  Consider only non-versioned
4520         aliases for the user-visible systemcall name.  Do checks inline with
4521         call to primitive system call.
4522         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
4523         stand-alone bounds checks to suppress unused value warnings.
4524         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
4526 2000-07-10  Mark Kettenis  <kettenis@gnu.org>
4528         * sysdeps/mach/hurd/check_fds.c: New file.  Implements
4529         file descriptor checking in SUID programs for the Hurd.
4531         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
4532         res_hostalias instead of __hostalias for thread-safety.
4534 2000-07-09  Mark Kettenis  <kettenis@gnu.org>
4536         * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
4537         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
4539 2000-07-10  Ulrich Drepper  <drepper@redhat.com>
4541         * include/features.h: Include ISO C99 features if the compiler used
4542         is an ISO C99 compiler.
4543         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
4545 2000-07-08  Mark Kettenis  <kettenis@gnu.org>
4547         * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
4549 2000-07-10  Andreas Jaeger  <aj@suse.de>
4551         * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
4552         it's overridden by libpthreads.
4553         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4554         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4555         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4556         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4557         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4559         * malloc/Makefile: Run tst-mtrace only with shared libs.
4561         * stdio-common/Makefile: Run unbputc and tst-printf tests only
4562         with shared libs.
4564 2000-07-10  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
4566         * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
4567         that gpreg really points to the GOT section of the calling object.
4568         Scan all PT_LOAD segments of objects for stub_pc, instead of only
4569         checking a start address of first one.
4570         Fix typos.
4571         * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
4572         Likewise.
4574         * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
4576 2000-07-10  Andreas Jaeger  <aj@suse.de>
4578         * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
4579         (string_alias->strong_alias).
4581 2000-07-08  Mark Kettenis  <kettenis@gnu.org>
4583         * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
4585 2000-07-07  Greg McGary  <greg@mcgary.org>
4587         * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
4588         have no names without leading underscores.
4590 2000-07-07  Ulrich Drepper  <drepper@redhat.com>
4592         * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
4593         U007E.
4595         * stdio-common/Makefile (tests): Remove tst-printf here...
4596         (tests-srcs): ...and add it here.
4597         (distribute): Add tst-unbputc.sh and tst-printf.sh.
4598         Add rules to run tst-printf.sh.
4599         * stdio-common/tst-printf.c: Move code around so that there is really
4600         no further output where it's stated.
4601         * stdio-common/tst-printf.sh: New file.
4603 2000-07-07  Mark Kettenis  <kettenis@gnu.org>
4605         * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
4606         (do_write): Renamed from pwrite.
4607         (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
4608         `struct _IO_cookie_file'.
4610 2000-07-07  Ulrich Drepper  <drepper@redhat.com>
4612         * malloc/mtrace.pl: Exit with exit code 1 if any leak was
4613         detected.
4614         * malloc/tst-mtrace.sh: Run mtrace script.
4616 2000-07-07  Greg McGary  <greg@mcgary.org>
4618         * posix/regex.c (EXTEND_BUFFER): Compute increment once.
4619         Move all three components of a bounded pointer.
4621 2000-07-07  Ulrich Drepper  <drepper@redhat.com>
4623         * locale/programs/locale.c (write_locales): Don't simply add all
4624         directories found in the subdir, test whether at least the
4625         LC_CTYPE file is in there.
4627 2000-07-06  Ulrich Drepper  <drepper@redhat.com>
4629         * iconvdata/euc-jp.c: Map characters in C1 area to itself.
4630         * iconvdata/euc-kr.c: Likewise.
4632         * stdio-common/vfprintf.c (process_string_arg): Check result of
4633         wcrtomb call and bail out if it failed.
4635         * malloc/Makefile (test-srcs): Add tst-mtrace.
4636         (distribute): Add tst-mtrace.sh.
4637         Add rule to run tst-mtrace.sh.
4638         * malloc/tst-mtrace.c: New file.
4639         * malloc/tst-mtrace.sh: New file.
4641         * include/signal.h: Declare __libc_sigaction.
4642         * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
4643         * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
4644         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4645         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4646         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4647         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4648         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4650         * configure.in: Fix CFLAGS-memprofstat.c definition after
4651         2000-06-19 change.
4652         Patch by Bradford W. Johnson <bradford@math.umn.edu>.
4654 2000-07-06  Jakub Jelinek  <jakub@redhat.com>
4656         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
4657         instead of NULL to elf_machine_fixup_plt t argument.
4658         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4659         * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
4660         cast.
4662 2000-07-06  Andreas Jaeger  <aj@suse.de>
4664         * crypt/Makefile (LDLIBS-cert): Removed.
4665         (LDLIBS-md5c-test): Removed.
4666         ($(objpfx)cert): Renamed from cert.out to fix dependencies.
4667         ($(objpfx)md5c-test): Likewise for md5c-test.out.
4669 2000-07-06  Andreas Jaeger  <aj@suse.de>
4671         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
4672         of the proc system is "proc".
4674         * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
4675         thread library for static programs.
4677 2000-07-06  Greg McGary  <greg@mcgary.org>
4679         * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
4680         New macros.
4681         * sysdeps/generic/strcpy.c: Add bounds checks.
4682         * sysdeps/unix/fxstat.c: Likewise.
4683         * sysdeps/unix/xstat.c: Likewise.
4684         * sysdeps/unix/common/lxstat.c: Likewise.
4685         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4686         * sysdeps/unix/sysv/linux/execve.c: Likewise.
4687         * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
4688         * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
4689         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4690         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4691         * sysdeps/unix/sysv/linux/llseek.c: Likewise.
4692         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
4693         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
4694         * sysdeps/unix/sysv/linux/poll.c: Likewise.
4695         * sysdeps/unix/sysv/linux/pread.c: Likewise.
4696         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4697         * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
4698         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4699         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4700         * sysdeps/unix/sysv/linux/readv.c: Likewise.
4701         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4702         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4703         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4704         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
4705         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4706         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
4707         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4708         * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
4709         * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
4710         * sysdeps/unix/sysv/linux/ustat.c: Likewise.
4711         * sysdeps/unix/sysv/linux/writev.c: Likewise.
4712         * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
4713         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
4714         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
4715         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4716         * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
4717         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4718         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4719         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4720         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4721         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4722         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
4723         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4724         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4725         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4726         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
4727         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4728         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4729         * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
4730         * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
4731         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4732         * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
4733         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
4734         * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
4735         * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
4736         * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
4737         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4738         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4739         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4740         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4741         * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
4742         * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
4743         * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
4744         * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
4745         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4746         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
4747         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
4748         * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
4750         * string/endian.h (__LONG_LONG_PAIR): New macro.
4751         * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
4752         * sysdeps/unix/sysv/linux/pread.c: Likewise.
4753         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4754         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4755         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4756         * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
4757         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
4758         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4759         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4760         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4761         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4762         * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
4764         * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
4766 2000-07-06  Andreas Jaeger  <aj@suse.de>
4768         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
4769         Initialize result.
4771         * math/test-fpucw.c: Include <stdio.h> for printf.
4773 2000-07-05  Greg McGary  <greg@mcgary.org>
4775         * sysdeps/generic/bp-checks.h: New file.
4776         * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
4777         with list of #include files.
4778         * sysdeps/unix/make-syscalls.sh: Handle new arg signature
4779         keyletters a, b, B, f, n, N, P, v, V.  Fixup some indentation.
4780         Don't generate BP thunk if `V' appears in signature.
4781         Generate thunks with complete bounds checks.
4782         * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
4783         * sysdeps/unix/inet/syscalls.list: Likewise.
4784         * sysdeps/unix/mman/syscalls.list: Likewise.
4785         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4786         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4787         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4788         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
4790 2000-07-05  Ulrich Drepper  <drepper@redhat.com>
4792         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
4793         result.  Search first in /etc/mtab (proc/mounts would be stupid).
4794         If mount not in the file fall back on /proc.
4796         * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
4797         string got copied in.
4798         Patch by Solar Designer <solar@false.com>.
4800 2000-07-05  Andreas Jaeger  <aj@suse.de>
4802         * manual/install.texi (Installation): Update information about
4803         add-ons.
4804         (Configuring and compiling): Update for glibc 2.2.
4806 2000-07-04  Andreas Jaeger  <aj@suse.de>
4808         * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
4809         (_FPU_IEEE): Likewise.
4811         * math/Makefile (tests): Add test-fpucw.
4813         * math/test-fpucw.c (main): New file.
4815 2000-07-05  Ulrich Drepper  <drepper@redhat.com>
4817         * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
4819         * locale/programs/ld-collate.c (collate_output): Also write out the
4820         collation sequence values and the wide character string for the
4821         collation symbol table.
4823         * posix/fnmatch.c: Include "../locale/elem-hash.h".
4824         * posix/fnmatch_loop.c: Implement collating symbol handling.
4825         * posix/tst-fnmatch.input: Add more tests, especially for collating
4826         symbol handling.
4828         * posix/regex.c: Fix comment.
4830 2000-07-05  Andreas Jaeger  <aj@suse.de>
4832         * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
4833         (_FPU_GETCW): Remove extra colon.
4834         Patch by Ralf Baechle <ralf@uni-koblenz.de>.
4836         * posix/fnmatch_loop.c (FCT): Only declare len if
4837         !WIDE_CHAR_VERSION to silence GCC.
4839         * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
4840         prototype.
4841         * sysdeps/generic/strchrnul.c: Likewise.
4842         * sysdeps/generic/strlen.c: Likewise.
4843         * sysdeps/generic/strchr.c: Likewise.
4844         * sysdeps/generic/memchr.c: Likewise.
4846 2000-07-04  Ulrich Drepper  <drepper@redhat.com>
4848         * posix/fnmatch_loop.c: Implement equivalence class handling.
4849         * posix/tst-fnmatch.input: Add tests for equivalence class
4850         handling.
4852         * posix/fnmatch_loop.c: Improve performance for single-byte
4853         character sets by not using btowc.
4855         * posix/tst-fnmatch.input: Add tests for locale dependent
4856         behaviour.
4857         * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
4859         * posix/tst-fnmatch.input: Add more test cases.
4861         * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
4862         are not aligned to alignof(md5_uint32) do it before calling
4863         __md5_process_bytes.
4864         * crypt/md5.c: Make sure buffers are aligned.
4865         * crypt/md5.h: Likewise.
4866         Reported by Solar Designer <solar@false.com>.
4868         * crypt/Makefile: Add dependencies for test programs.
4870         * Rules: Define LC_ALL=C in environments of all programs we run.
4872         * intl/tst-gettext.sh (LC_ALL): Define to C and export.
4874 2000-07-03  H.J. Lu  <hjl@gnu.org>
4876         * locale/programs/ld-ctype.c (ctype_output): The size of iov
4877         is 2 + elem + offset, not 2 + elem + offset + 2.
4879 2000-07-04  Ulrich Drepper  <drepper@redhat.com>
4881         * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
4882         suite.
4883         * posix/Makefile (tests): Add tst-fnmatch.
4884         (tst-fnmatch-ENV): Define.
4885         * posix/tst-fnmatch.c: New file.
4886         * posix/tst-fnmatch.sh: New file.
4888 2000-07-04  NIIBE Yutaka  <gniibe@chroot.org>
4890         * locale/programs/charmap.c (charmap_read): Prepend
4891         the condition filename == NULL.
4893 2000-07-03  Greg McGary  <greg@mcgary.org>
4895         * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
4897         * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
4898         ($(objpfx)b$(start-installed-name)): Add non-elf rule.
4900         * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
4901         * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
4902         (FILEBUF_LITERAL): Add cast for CHAIN init.
4903         * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
4904         (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
4905         Revert type of `fp' to _IO_FILE*.
4906         (_IO_iter_file): Remove cast.
4907         (_IO_iter_next): Elide intermediate member reference.
4909         * sysdeps/powerpc/strchr.S:  Check bounds.
4910         Wrap extern symbols in BP_SYM ().
4912 2000-07-03  Andreas Jaeger  <aj@suse.de>
4914         * dlfcn/Makefile (generated): New.
4916 2000-07-03  Ulrich Drepper  <drepper@redhat.com>
4918         * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
4919         (__uflow): Likewise.
4920         (__underflow): Likewise.
4921         * libio/wgenops.c (__wunderflow): Likewise.
4922         * stdio-common/tst-unbputc.c: New file.
4923         * stdio-common/tst-unbputc.sh: New file.
4924         * stdio-common/Makefile: Add rules to build and run tst-unbputc.
4926         * po/en_GB.po: New file.
4927         Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
4929 2000-07-01  Andreas Jaeger  <aj@suse.de>
4931         * intl/Makefile (generated-dirs): New.
4933         * elf/Makefile (generated): trusted-dirs.h is always generated,
4934         move out of build-shared condition.
4935         (generated): Merge the two entries for build-shared.
4937 2000-07-01  Ulrich Drepper  <drepper@redhat.com>
4939         * debug/Makefile (distribute): Add xtrace.sh.
4941 2000-06-30  Ulrich Drepper  <drepper@redhat.com>
4943         * version.h (VERSION): Bump to 2.1.91.
4945         * configure.in: Update warning comment.  glibc should not be
4946         broken anymore.
4948         * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content.  Add
4949         ioperm.c, sys/procfs.h, and sys/io.h.
4951         * sysdeps/powerpc/Dist: Add bp-asm.h.
4953         * assert/Depend: Add localedata.
4954         * assert/Makefile (test-assert-ENV): New.  Define LANGUAGE=C.
4955         (test-assert-perr-ENV): New.  Define LANGUAGE=C.
4957         * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
4958         R_ALPHA_REFQUAD]: Use memcpy to load and store value from
4959         relocation address to prevent unaligned trap.
4960         Suggested by Richard Henderson <rth@cygnus.com>.
4962 2000-06-30  Jakub Jelinek  <jakub@redhat.com>
4964         * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
4965         if redirecting and either redirection is done using defines or
4966         not optimizing.
4968 2000-06-30  Ulrich Drepper  <drepper@redhat.com>
4970         * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
4971         generated expressions.
4972         Patch by Darren McClelland <dmcclell@zetec.com>.
4974         * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
4975         since zic uses setlocale and gettext but we cannot make it use the
4976         new locale data since zic calls a shell which might not use the
4977         new libc.
4979         * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
4980         handling the internation currency symbol.  POSIX says that the
4981         fourth character is used to separate the currency symbol from the
4982         value.  Therefore it does not have to be printed.  But we cannot
4983         remove the space if the currency symbol is printed before the
4984         number since this is what many locales expect.
4986         * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
4987         whether this information is available.
4989         * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
4990         buffers in case the translation is too large.  Remember allocated
4991         memory blocks in a list.
4992         (free_mem): Free memory for translations.
4994         * intl/tst-gettext.c: Use correct locale.  Improve error messages.
4996         * locale/programs/ld-ctype.c (ctype_output): If no default_missing
4997         information is available set the string length to zero.
4999         * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
5001 2000-06-30  Greg McGary  <greg@mcgary.org>
5003         * sysdeps/powerpc/bp-asm.h: New file.
5004         * sysdeps/powerpc/__longjmp.S:  Check bounds.
5005         Wrap extern symbols in BP_SYM ().
5006         * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
5007         * sysdeps/powerpc/bsd-setjmp.S: Likewise.
5008         * sysdeps/powerpc/setjmp.S: Likewise.
5009         * sysdeps/powerpc/add_n.S: Likewise.
5010         * sysdeps/powerpc/addmul_1.S: Likewise.
5011         * sysdeps/powerpc/lshift.S: Likewise.
5012         * sysdeps/powerpc/rshift.S: Likewise.
5013         * sysdeps/powerpc/mul_1.S: Likewise.
5014         * sysdeps/powerpc/sub_n.S: Likewise.
5015         * sysdeps/powerpc/submul_1.S: Likewise.
5016         * sysdeps/powerpc/strlen.S: Likewise.
5017         * sysdeps/powerpc/memset.S: Likewise.
5018         * sysdeps/powerpc/stpcpy.S: Likewise.
5019         * sysdeps/powerpc/strcmp.S: Likewise.
5020         * sysdeps/powerpc/strcpy.S: Likewise.
5021         * sysdeps/powerpc/elf/bzero.S: Likewise.
5023         * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
5024         Line up operands column with tabs.
5026 2000-06-30  Ulrich Drepper  <drepper@redhat.com>
5028         * elf/Makefile (LDFLAGS-origtest): Actually add it.
5030         * sysdeps/ia64/htonl.S: New file.
5031         * sysdeps/ia64/htons.S: New file.
5032         * sysdeps/ia64/memcpy.S: Replace with version which does not use
5033         floating point registers.
5034         Patches by Dan Pop <Dan.Pop@cern.ch>.
5036 2000-06-30  Andreas Jaeger  <aj@suse.de>
5038         * posix/Makefile (tests): tst-exec and tst-spawn only work with
5039         shared libraries.
5041         * io/Makefile (CFLAGS-test-lfs.c): New.
5042         (tests): Add test-lfs.
5044         * io/test-lfs.c: New file.
5046 2000-06-30  Jakub Jelinek  <jakub@redhat.com>
5048         * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
5049         instruction.
5051 2000-06-29  David Mosberger-Tang  <davidm@hpl.hp.com>
5053         * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
5055 2000-06-29  Jes Sorensen  <jes@linuxcare.com>
5057         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
5058         alias to the fstatfs call.
5060         * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
5061         * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
5063         * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
5064         * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
5066         * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
5067         * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
5068         * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
5069         * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
5071         * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
5072         * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
5074         * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
5075         * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
5077         * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
5078         * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
5080         * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
5082 2000-06-29  Andreas Jaeger  <aj@suse.de>
5084         * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
5085         with syslog.
5086         (print_err_message): Likewise.
5087         Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
5089 2000-06-29  Ulrich Drepper  <drepper@redhat.com>
5091         * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
5092         used as words is properly aligned.
5094         * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
5095         data files.
5097 2000-06-29  Greg McGary  <greg@mcgary.org>
5099         * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
5100         * sysdeps/unix/make-syscalls.sh: Handle signatures of
5101         length 7..9, just in case...
5102         * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
5104         * sysdeps/i386/bp-asm.h (PCOFF): New constant.
5105         (POP_ERRNO_LOCATION_RETURN): Fold insns.
5106         * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
5107         (PUSH_SIGNAL_MASK): New macro.
5108         * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
5109         LEAVE is unnecessary.  Check bounds of jmp_buf.
5110         * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK.  Wrap symbols
5111         in BP_SYM ().  Check bounds of jmp_buf.  Don't call LEAVE until
5112         immediately before tail-call.
5113         * sysdeps/i386/setjmp.S: Likewise.
5114         * sysdeps/i386/bsd-_setjmp.S: Likewise.
5115         * sysdeps/i386/bsd-setjmp.S: Likewise.
5117 2000-06-29  Jakub Jelinek  <jakub@redhat.com>
5119         * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
5120         versioned_symbol.
5121         * sysdeps/sparc/fpu/fesetenv.c: Likewise.
5122         * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
5123         * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
5124         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5125         * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
5126         * sysdeps/sparc/fpu/fegetenv.c: Likewise.
5127         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
5128         * shlib-versions: Make sparc64 GLIBC_2.2+ only.
5130 2000-06-29  Ulrich Drepper  <drepper@redhat.com>
5132         * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
5133         we later need to calling free().
5134         Patch by Matt Wilson <msw@redhat.com>.
5136         * stdio-common/tst-printf.c: Add test for above problem.
5138 2000-06-27  David Mosberger-Tang  <davidm@hpl.hp.com>
5140         * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
5141         * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
5143 2000-06-28  Jes Sorensen  <jes@linuxcare.com>
5145         * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
5146         prototype for abs().
5147         * sysdeps/ieee754/flt-32/s_exp2f.c: ditto.
5149 2000-06-23  Andreas Jaeger  <aj@suse.de>
5151         * config.h.in: Don't use regparm with bounded pointers.
5153 2000-06-29  Ulrich Drepper  <drepper@redhat.com>
5155         * stdlib/grouping.h: Correctly handle multibyte thousands
5156         separator and decimal point.
5157         * stdlib/stdtod.c: Likewise.
5158         * sysdeps/generic/strtol.c: Likewise.
5160         * locale/categories.def: Add entries for wide character decimal point
5161         and thousands separator in numeric and monetary category.
5163 2000-06-28  Ulrich Drepper  <drepper@redhat.com>
5165         * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
5166         second definition and initialization of decimal.
5168 2000-06-28  Greg McGary  <greg@mcgary.org>
5170         * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
5171         out.
5172         (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
5173         * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
5174         in.
5175         (_IO_JUMPS): Don't cast THIS--expect arg to be a
5176         (struct _IO_FILE_plus *).
5177         (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
5178         THIS, since _IO_JUMPS no longer does it implicitly.
5179         (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
5180         arg type as (struct _IO_FILE_plus *).
5181         (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
5182         arg as (_IO_strfile *).
5183         * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
5184         Declare 1st arg as (_IO_strfile *).
5185         * libio/fileops.c (_IO_new_file_init): Declare
5186         arg type as (struct _IO_FILE_plus *).
5187         * libio/oldfileops.c (_IO_old_file_init): Likewise.
5188         * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
5189         (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
5190         Declare iteration pointer as (struct _IO_FILE_plus *).
5191         (_IO_iter_next, _IO_iter_file): _IO_ITER is now
5192                 (struct _IO_FILE_plus *).
5193         * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
5194         * libio/oldstdfiles.c (_IO_list_all): Likewise.
5195         (_IO_check_libio): Set user-visible handles to
5196         (struct _IO_FILE_plus *).
5197         * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
5198         to (struct _IO_FILE_plus *).
5200         * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
5201         whose high bound includes vtable to all functions that will use
5202         vtable.  For streambufs, pass pointer whose bounds include struct
5203         _IO_strfile.
5204         * libio/wgenops.c (_IO_wdefault_finish): Likewise.
5205         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5206         * libio/iofopen.c (_IO_new_fopen): Likewise.
5207         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5208         * libio/iofopen64.c (_IO_fopen64): Likewise.
5209         * libio/iopopen.c (_IO_new_popen): Likewise.
5210         * libio/oldiopopen.c (_IO_old_popen): Likewise.
5211         * libio/memstream.c (open_memstream): Likewise.
5212         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
5213         * libio/iovsprintf.c (_IO_vsprintf): Likewise.
5214         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
5215         * libio/iofopncook.c (_IO_cookie_init): Likewise.
5216         * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
5217         * libio/vasprintf.c (_IO_vasprintf): Likewise.
5218         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
5219         * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
5220         * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
5221         * stdlib/strfmon.c (__strfmon_l): Likewise.
5222         * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
5223         (vfprintf): Qualify computed-goto targets as unbounded.
5225 2000-06-28  Ulrich Drepper  <drepper@redhat.com>
5227         * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
5228         thousands separator correctly.
5230         * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
5231         * stdio-common/vfwscanf.c: Likewise.
5233 2000-06-27  Jes Sorensen  <jes@linuxcare.com>
5235         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
5236         count into signatures for most calls.
5238 2000-06-28  Ulrich Drepper  <drepper@redhat.com>
5240         * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed.  We can use
5241         the generic parser now.
5243 2000-06-28  Jes Sorensen  <jes@linuxcare.com>
5245         * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted.  Hash
5246         table entries are 32 bit on the ia64 (as specified by the ABI),
5247         not 64 bit as on the Alpha.
5249         * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
5250         change of objects to use 32 bit hash table indices (see above).
5252 2000-06-28  Jes Sorensen  <jes@linuxcare.com>
5254         * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
5255         prototype for abs().
5257 2000-06-28  Wolfram Gloger  <wg@malloc.de>
5259         * malloc/malloc.c (chunk_alloc): If extension of the linear heap
5260         fails, try mmap_chunk() as a last resort even though n_mmaps_max
5261         may have been reached.
5263 2000-06-28  Ulrich Drepper  <drepper@redhat.com>
5265         * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
5266         symbols in multi-character weights correctly.
5268         * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
5269         depending on whether the input string is empty or not.
5271         * wcsmbs/mbrtowc.c: Calling function without input means clearing the
5272         given state and not avoiding this by modifying a local object.
5273         * wcsmbs/wcrtomb.c: Likewise.
5275         * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
5276         object since some incomplete characters might be in there.
5278         * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
5279         sequences with first byte 0x8e correctly.
5281         * iconvdata/jis0208.h: Remove redundant test.
5283 2000-06-27  Ulrich Drepper  <drepper@redhat.com>
5285         * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
5286         Add it where it is needed now.
5288         * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
5289         the input charset into account when generating the hash table.
5290         (allocate_arrays): Correct setting default width.  Not all empty slots
5291         in the table are filled, only those not covert explicitly by the
5292         locale description and in the charset.
5294         * wctype/towctrans.c (__towctrans): Be graceful and accept error
5295         return values from the wctrans function.
5297         * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
5298         wide character version.
5299         For %C handling, test correct pointer variable for NULL.
5301         * wcsmbs/wctob.c: Handle WEOF special.
5303         * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
5305         * wctype/wctype.h: Protect gcc-isms with __extension__.  Avoid
5306         always-true test to avoid warning.
5308 2000-06-27  Greg McGary  <greg@mcgary.org>
5310         * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
5311         * include/libc-symbols.h (weak_extern): Add extra level of expansion.
5312         (symbol_version, default_symbol_version): Factor redundant
5313         definitions out of conditional.
5315 2000-06-27  Jakub Jelinek  <jakub@redhat.com>
5317         * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
5318         not obstack_blank.
5320 2000-06-26  Ulrich Drepper  <drepper@redhat.com>
5322         * include/libc-symbols.h (symbol_version): Add extra level of
5323         macro expansion.
5324         (default_symbol_version): Likewise.
5326 2000-06-26  Greg McGary  <greg@mcgary.org>
5328         * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
5329         for BP return value & push implicit struct-return pointer to
5330         __errno_location.
5331         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5332         (SYSCALL_ERROR_HANDLER): Likewise.
5333         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
5334         (SYSCALL_ERROR_HANDLER): Likewise.
5336         * Makeconfig: Add missing comment.
5337         * csu/Makefile (extra-objs, omit-deps, install-lib): Add
5338         BP-flavored startup object.
5339         ($(objpfx)b$(start-installed-name)): New rule.
5340         * include/libc-symbols.h (symbol_set_declare): Change type
5341         of `__start_##set' and `__stop_##set' to pointer-to-function.
5342         (symbol_set_declare): Change type of `set' to array of
5343         pointer-to-function.
5344         * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
5345         pointer-to-function.
5347         * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
5349         * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
5350         Remove clock_* and timer_* entries.
5351         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
5352         arg-count with signatures.
5354         * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
5355         Check bounds of arguments.
5356         * sysdeps/i386/addmul_1.S: Likewise.
5357         * sysdeps/i386/lshift.S: Likewise.
5358         * sysdeps/i386/mul_1.S: Likewise.
5359         * sysdeps/i386/rshift.S: Likewise.
5360         * sysdeps/i386/sub_n.S: Likewise.
5361         * sysdeps/i386/submul_1.S: Likewise.
5362         * sysdeps/i386/i586/add_n.S: Likewise.
5363         * sysdeps/i386/i586/addmul_1.S: Likewise.
5364         * sysdeps/i386/i586/lshift.S: Likewise.
5365         * sysdeps/i386/i586/rshift.S: Likewise.
5366         * sysdeps/i386/i586/sub_n.S: Likewise.
5367         * sysdeps/i386/i686/add_n.S: Likewise.
5369         * sysdeps/i386/memchr.S: Likewise.
5370         * sysdeps/i386/memcmp.S: Likewise.
5371         * sysdeps/i386/rawmemchr.S: Likewise.
5372         * sysdeps/i386/i586/bzero.S: Likewise.
5373         * sysdeps/i386/i586/memcpy.S: Likewise.
5374         * sysdeps/i386/i586/mempcpy.S: Likewise.
5375         * sysdeps/i386/i586/memset.S: Likewise.
5376         * sysdeps/i386/i686/bzero.S: Likewise.
5377         * sysdeps/i386/i686/memcpy.S: Likewise.
5378         * sysdeps/i386/i686/mempcpy.S: Likewise.
5379         * sysdeps/i386/i686/memset.S: Likewise.
5381         * sysdeps/i386/stpcpy.S: Likewise.
5382         * sysdeps/i386/stpncpy.S: Likewise.
5383         * sysdeps/i386/strchr.S: Likewise.
5384         * sysdeps/i386/strchrnul.S: Likewise.
5385         * sysdeps/i386/strcspn.S: Likewise.
5386         * sysdeps/i386/strpbrk.S: Likewise.
5387         * sysdeps/i386/strrchr.S: Likewise.
5388         * sysdeps/i386/strspn.S: Likewise.
5389         * sysdeps/i386/strtok.S: Likewise.
5390         * sysdeps/i386/strtok_r.S: Likewise.
5391         * sysdeps/i386/i486/strcat.S: Likewise.
5392         * sysdeps/i386/i486/strlen.S: Likewise.
5393         * sysdeps/i386/i586/strchr.S: Likewise.
5394         * sysdeps/i386/i586/strcpy.S: Likewise.
5395         * sysdeps/i386/i586/strlen.S: Likewise.
5396         * sysdeps/i386/i686/strcmp.S: Likewise.
5397         * sysdeps/i386/i686/strtok.S: Likewise.
5398         * sysdeps/i386/i686/strtok_r.S: Likewise.
5400         * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
5401         * sysdeps/i386/fpu/fesetenv.c: Likewise.
5402         * sysdeps/i386/fpu/feupdateenv.c: Likewise.
5403         * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
5404         * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
5406         * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
5407         * sysdeps/i386/mul_1.S: Likewise.
5408         * sysdeps/i386/submul_1.S: Likewise.
5409         * sysdeps/i386/i586/add_n.S: Likewise.
5410         * sysdeps/i386/i586/addmul_1.S: Likewise.
5411         * sysdeps/i386/i586/lshift.S: Likewise.
5412         * sysdeps/i386/i586/mul_1.S: Likewise.
5413         * sysdeps/i386/i586/rshift.S: Likewise.
5414         * sysdeps/i386/i586/sub_n.S: Likewise.
5415         * sysdeps/i386/i586/submul_1.S: Likewise.
5417 2000-06-26  Ulrich Drepper  <drepper@redhat.com>
5419         * rt/Makefile (librt-routines): Add clock_nanosleep.
5420         * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
5421         * sysdeps/generic/clock_nanosleep.c: New file.
5422         * sysdeps/unix/clock_nanosleep.c: New file.
5423         * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
5424         * time/time.h: Declare clock_nanosleep.
5426 2000-06-26  Greg McGary  <greg@mcgary.org>
5428         * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
5429         INSN1, INSN2, TEXT, GLOBL): Remove macros.
5430         (ALIGN): Cleanup surrounding conditionals.
5432         * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
5433         Call ENTER/LEAVE macros.
5434         * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
5435         * sysdeps/i386/submul_1.S: Likewise.
5437         * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
5438         syntax.  Define & use symbolic argument stack offsets.  Call
5439         ENTER/LEAVE macros.
5440         * sysdeps/i386/i586/mul_1.S: Likewise.
5441         * sysdeps/i386/i586/submul_1.S: Likewise.
5443 2000-06-25  Greg McGary  <greg@mcgary.org>
5445         * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
5446         not as bcopy.
5448 2000-06-25  Ulrich Drepper  <drepper@redhat.com>
5450         * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
5451         * iconvdata/gen-8bit-gap.sh: Likewise.
5452         * iconvdata/gen-8bit.sh: Likewise.
5454         * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
5456         * locale/programs/ld-collate.c (collate_read): Don't actually read
5457         the copy locale if we are ignoring the content.
5459         * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
5460         unknown character.
5462         * locale/programs/ld-collate.c: Correct handling of different
5463         collation sections.
5464         * locale/programs/localedef.c (add_to_readlist): Take locale pointer
5465         as extra parameter from which to copy category information.
5466         Change all callers.
5467         (load_locale): Likewise.
5468         * locale/programs/localedef.h: Update prototypes of add_to_readlist
5469         and load_locale.
5470         * locale/programs/ld-ctype.c: Update call to add_to_readlist.
5471         * locale/programs/locfile.h: Likewise.
5472         * locale/programs/locfile-kw.gperf: Add entry for script.
5473         * locale/programs/locfile-token.h: Add tok_script.
5475         * locale/programs/locale.c: Update copyright year.
5476         * locale/programs/localedef.c: Likewise.
5478 2000-06-23  Thorsten Kukuk  <kukuk@suse.de>
5480         * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
5481         Jens Moeller <jens.moeller@waii.com>.
5483 2000-06-24  Ulrich Drepper  <drepper@redhat.com>
5485         * locale/programs/ld-name.c (name_finish): Add missing format
5486         specifier to test for name_fmt.
5488         * locale/programs/ld-address.c (iso639): Correct length of string
5489         elements.
5490         (iso3166): Likewise.
5492         * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
5494         * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
5495         Define.
5497         * elf/elf.h (NT_PRFPXREG): Define.
5499 2000-06-23  Ulrich Drepper  <drepper@redhat.com>
5501         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
5502         PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
5504 2000-06-23  Andreas Schwab  <schwab@suse.de>
5506         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
5507         with signatures.
5509 2000-06-23  Andreas Jaeger  <aj@suse.de>
5511         * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
5513         * io/test-stat.c: Add copyright header, mention Maciej.
5515         * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
5516         SYS_mincore, SYS_madvise): Added.
5518         * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
5519         execve.
5521 2000-06-22  Ulrich Drepper  <drepper@redhat.com>
5523         * libio/Makefile (tests): Add tst-getwc and tst_putwc.
5524         (CFLAGS-tst_putwc.c): New definition.
5525         * libio/tst_getwc.c: New file.
5526         * libio/tst_getwc.input: New file.
5527         * libio/tst_putwc.c: New file.
5529         * include/string.h: Add prototype for __strdup.
5531 2000-06-22  Greg McGary  <greg@mcgary.org>
5533         * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
5534         * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
5535         Fix signatures.
5537 2000-06-23  Jes Sorensen  <jes@linuxcare.com>
5539         * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
5541 2000-06-22  Jes Sorensen  <jes@linuxcare.com>
5543         * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
5545 2000-06-22  Jes Sorensen  <jes@linuxcare.com>
5547         * shlib-versions: Bump so versions to 6.1 for libc and libm on the
5548         ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
5550 2000-06-22  Ulrich Drepper  <drepper@redhat.com>
5552         * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
5553         * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
5554         and __S_TYPEISSHM.
5555         * sysdeps/mach/hurd/bits/stat.h: Likewise.
5556         * sysdeps/unix/bsd/bits/stat.h: Likewise.
5557         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
5558         * sysdeps/unix/sysv/bits/stat.h: Likewise.
5559         * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
5560         * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
5561         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
5562         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
5563         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
5564         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
5565         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
5566         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
5567         * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
5568         * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
5569         S_TYPEISSHM.
5571 2000-06-22  Andreas Jaeger  <aj@suse.de>
5573         * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
5574         with signatures.
5576         * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
5578         * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
5580 2000-06-21  Ulrich Drepper  <drepper@redhat.com>
5582         * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
5583         ahead.
5585 2000-06-21  Greg McGary  <greg@mcgary.org>
5587         * Makerules (elide-routines.*, elide-bp-thunks):
5588         Define unconditionally.
5590 2000-06-21  Jes Sorensen  <jes@linuxcare.com>
5592         * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
5594 2000-06-21  Andreas Jaeger  <aj@suse.de>
5596         * io/Makefile (tests): Add test-stat.
5597         (CFLAGS-test-stat.c): New.
5599         * io/test-stat.c: New file from Maciej W. Rozycki
5600         <macro@ds2.pg.gda.pl>.
5602 2000-06-21  Jes Sorensen  <jes@linuxcare.com>
5604         * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
5605         in __rlimit_resource to make them match the kernel order.
5606         rlim_t is always 64 bit, use __rlim64_t to declare it
5607         unconditionally.
5609 2000-05-04  Jes Sorensen  <jes@linuxcare.com>
5611         * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
5612         RLIM_INFINITY before defining it to avoid clash with kernel header
5614 2000-05-03  Jes Sorensen  <jes@linuxcare.com>
5616         * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
5618 2000-06-21  Ulrich Drepper  <drepper@redhat.com>
5620         * sysdeps/unix/sysv/linux/ia64/Versions: New file.
5622 2000-06-21  Andreas Jaeger  <aj@suse.de>
5624         * stdio-common/temptest.c: Include <stdlib.h>.
5625         * stdio-common/tst-fileno.c: Likewise.
5626         * stdio-common/scanf4.c: Likewise.
5627         * stdio-common/scanf5.c: Likewise.
5628         * time/clocktest.c: Likewise.
5629         * posix/test-vfork.c: Likewise.
5630         * posix/globtest.c: Likewise.
5631         * io/test-utime.c: Likewise.
5632         * wctype/test_wcfuncs.c: Likewise.
5633         * crypt/cert.c: Likewise.
5635         * stdio-common/tst-printfsz.c: Include <string.h>.
5636         * libio/tst_swscanf.c: Likewise.
5637         * libio/tst_wscanf.c: Likewise.
5638         * posix/runtests.c: Likewise.
5639         * posix/tst-getaddrinfo.c: Likewise.
5640         * posix/wordexp-test.c: Likewise.
5641         * misc/tst-efgcvt.c: Likewise.
5643         * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
5644         * nss/test-netdb.c: Likewise.
5646         * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
5647         supported kernel for MIPS.
5649         * elf/vismod2.c: Include <stdlib.h> for abort prototype.
5650         * rt/aio_suspend.c: Likewise.
5652 2000-06-20  Ulrich Drepper  <drepper@redhat.com>
5654         * math/libm-test.inc: Include <string.h>.
5656 2000-06-20  Jes Sorensen  <jes@linuxcare.com>
5658         * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
5660 2000-06-20  Jes Sorensen  <jes@linuxcare.com>
5662         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
5663         * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
5665 2000-06-20  David Mosberger-Tang  <davidm@hpl.hp.com>
5667         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
5669 2000-06-20  Jes Sorensen  <jes@linuxcare.com>
5671         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
5673 2000-06-20  Ulrich Drepper  <drepper@redhat.com>
5675         * locale/programs/ld-collate.c (insert_value): Now take string and
5676         length instead of struct token* parameter.  Adjust use of token.
5677         (handle_ellipsis): Likewise.
5678         (collate_read): Allow <Uxxxx> names and transform them into names
5679         to be passed to insert_value and handle_ellipsis.
5681         * locale/programs/ld-ctype.c (uninames): New array with names of
5682         digits in <Uxxxxxxxx> format.
5683         (ctype_finish): Correct search for space character value.  Likewise
5684         for default outdigits values.
5686 2000-06-20  Greg McGary  <greg@mcgary.org>
5688         * Makerules (objects): Add BP thunks.
5690 2000-06-20  Ulrich Drepper  <drepper@redhat.com>
5692         * locale/programs/charmap.c (parse_charmap): Handle UCS names also
5693         in width definitions.
5695 2000-06-20  Andreas Jaeger  <aj@suse.de>
5697         * sysdeps/mips/fpu/libm-test-ulps: New file.
5699         * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
5700         first.
5702         * sysdeps/mips/fpu/feholdexcpt.c: New file.
5704         * sysdeps/mips/fpu/fraiseexcpt.c: New file.
5706 2000-06-19  Ulrich Drepper  <drepper@redhat.com>
5708         * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
5709         change in gconv_builtin.h.
5711         * malloc/Makefile: Change all references to memprof into memusage.
5712         * malloc/memprof.c: Rename to...
5713         * malloc/memusage.c: ...this.  New file.
5714         * malloc/memprof.sh: Rename to...
5715         * malloc/memusage.sh: ...this.  New file.
5716         * malloc/memprofstat.c: Rename to...
5717         * malloc/memusagestat.c: ...this.  New file.
5718         * sysdeps/alpha/memprof.h: Rename to..
5719         * sysdeps/alpha/memusage.h: ...this.  New file.
5720         * sysdeps/arm/memprof.h: Rename to..
5721         * sysdeps/arm/memusage.h: ...this.  New file.
5722         * sysdeps/generic/memprof.h: Rename to..
5723         * sysdeps/generic/memusage.h: ...this.  New file.
5724         * sysdeps/i386/memprof.h: Rename to..
5725         * sysdeps/i386/memusage.h: ...this.  New file.
5726         * sysdeps/ia64/memprof.h: Rename to..
5727         * sysdeps/ia64/memusage.h: ...this.  New file.
5728         * sysdeps/m68k/memprof.h: Rename to..
5729         * sysdeps/m68k/memusage.h: ...this.  New file.
5730         * sysdeps/mips/memprof.h: Rename to..
5731         * sysdeps/mips/memusage.h: ...this.  New file.
5732         * sysdeps/powerpc/memprof.h: Rename to..
5733         * sysdeps/powerpc/memusage.h: ...this.  New file.
5734         * sysdeps/sparc/memprof.h: Rename to..
5735         * sysdeps/sparc/memusage.h: ...this.  New file.
5736         * sysdeps/sh/memprof.h: Rename to..
5737         * sysdeps/sh/memusage.h: ...this.  New file.
5739         * elf/sprof.c (print_version): Update year.
5741         * elf/sprof.c (load_shobj): Don't always add load address to dynamic
5742         table entry values.  Use D_PTR.
5743         * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
5744         binaries without PLT.  Patches by James Mathiesen <james@curl.com>.
5746 2000-06-20  Jes Sorensen  <jes@linuxcare.com>
5748         * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
5749         * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
5750         * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
5751         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
5753 2000-05-05  Jes Sorensen  <jes@linuxcare.com>
5755         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
5757 2000-06-16  Jes Sorensen  <jes@linuxcare.com>
5759         * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
5760         * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
5761         * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
5763         * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
5765         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
5766         kernel change.
5768         * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
5769         __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
5770         structure.
5771         Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
5772         implementation.
5774 2000-06-15  Jes Sorensen  <jes@linuxcare.com>
5776         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
5778 2000-06-08  Jes Sorensen  <jes@linuxcare.com>
5780         * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
5782 2000-06-19  Ulrich Drepper  <drepper@redhat.com>
5784         * iconv/gconv_int.h (strict gconv_module): Remove all members
5785         associated with regular expressions.  Use a simple string as the
5786         from name.
5787         * iconv/gconv_db.c: Remove code handling regular expressions.
5788         * iconv/gconv_conf.c: Likewise.
5789         * iconv/iconv_prog.c: Likewise.
5790         * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
5792         * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
5793         General namespace cleanup.
5794         (struct __gconv_trans_data): Add next field.
5795         (struct __gconv_step_data): Make __trans a pointer.
5796         * iconv/gconv_conf.c: Split out code to find gconv directories from
5797         __gconv_read_conf in new functions.
5798         * iconv/gconv_int.h: Define new data structure and declare new
5799         functions for handling of gconv directory list.
5800         * iconv/gconv_open.c: Allow more than one error handling step being
5801         used.  Call function to load error handling module if it is none
5802         of the builtin transformations.
5803         * iconv/gconv_close.c: Add code to free transliteration data.
5804         * iconv/gconv_trans.c: Add functions to load and unload modules
5805         implementing transliteration etc.
5806         * iconv/skeleton.c: Call all context functions now that more than
5807         one module is allowed.
5808         * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
5809         * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
5810         where the full error handling using transliteration is needed.
5811         * iconvdata/8bit-gap.c: Likewise.
5812         * iconvdata/8bit-generic.c: Likewise.
5813         * iconvdata/ansi_x3.110.c: Likewise.
5814         * iconvdata/big5.c: Likewise.
5815         * iconvdata/big5hkscs.c: Likewise.
5816         * iconvdata/euc-cn.c: Likewise.
5817         * iconvdata/euc-jp.c: Likewise.
5818         * iconvdata/euc-kr.c: Likewise.
5819         * iconvdata/euc-tw.c: Likewise.
5820         * iconvdata/gbgbk.c: Likewise.
5821         * iconvdata/gbk.c: Likewise.
5822         * iconvdata/iso-2022-cn.c: Likewise.
5823         * iconvdata/iso-2022-jp.c: Likewise.
5824         * iconvdata/iso-2022-kr.c: Likewise.
5825         * iconvdata/iso646.c: Likewise.
5826         * iconvdata/iso8859-1.c: Likewise.
5827         * iconvdata/iso_6937-2.c: Likewise.
5828         * iconvdata/iso_6937.c: Likewise.
5829         * iconvdata/johab.c: Likewise.
5830         * iconvdata/sjis.c: Likewise.
5831         * iconvdata/t.61.c: Likewise.
5832         * iconvdata/uhc.c: Likewise.
5833         * iconvdata/unicode.c: Likewise.
5834         * iconvdata/utf-16.c: Likewise.
5835         * libio/iofwide.c: Reset __trans member of __gconv_trans_data
5836         structure correctly after last change.
5837         * wcsmbs/btowc.c: Likewise.
5838         * wcsmbs/mbrtowc.c: Likewise.
5839         * wcsmbs/mbsnrtowcs.c: Likewise.
5840         * wcsmbs/mbsrtowcs.c: Likewise.
5841         * wcsmbs/wcrtomb.c: Likewise.
5842         * wcsmbs/wcsnrtombs.c: Likewise.
5843         * wcsmbs/wcsrtombs.c: Likewise.
5844         * wcsmbs/wctob.c: Likewise.
5846         * localedata/Makefile: Set -Wno-format for some files since gcc does
5847         not know all the format specifiers.
5849 2000-06-18  Ulrich Drepper  <drepper@redhat.com>
5851         * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
5852         unneeded code.
5853         * locale/lc-time.c (_nl_init_era_entries): Likewise.
5855 2000-06-18  Andreas Jaeger  <aj@suse.de>
5857         * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
5858         Patch by Ralf Baechle <ralf@uni-koblenz.de>.
5860 2000-06-17  Ulrich Drepper  <drepper@redhat.com>
5862         * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
5863         LINUX_LINK_MAX.
5864         * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
5866         * locale/programs/ld-ctype.c (ctype_output): Really write out
5867         mboutdigits information.
5868         * localedata/tst-trans.c: Add code to test printf's I flag with locale.
5869         * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
5870         * localedata/tests/trans.def: Add outdigit information.
5872         * localedata/tst-mbswcs3.c: Remove comment.
5874         * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
5875         * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
5876         * libio/tst_wprintf.c (main): Add test for I flag.
5878         * iconv/gconv_trans.c: Implement handling if translit_ignore.
5879         * locale/langinfo.h: Add entries for translit_ignore information.
5880         * locale/categories.def: Add entries for new LC_CTYPE elements.
5881         * locale/C-ctype.c: Add initializers for new fields.  Use NULL
5882         pointer instead of "" where possible.
5883         * locale/programs/ld-ctype.c: Write out translit_ignore information.
5884         * intl/Depend: Add localedata.
5885         * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
5886         * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
5888 2000-06-16  Ulrich Drepper  <drepper@redhat.com>
5890         * locale/langinfo.h: Add entries for default_missing information.
5891         * locale/C-ctype.c: Add initializers for new fields.
5892         * iconv/gconv_trans.c: If nothing matched, try to use default_missing
5893         information.
5894         * locale/categories.h: Add entries for all LC_CTYPE values.
5895         * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
5896         information.
5898         * localedata/tst-trans.c: Write out an error message if class is
5899         not found.
5901         * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
5902         * iconv/gconv_open.c: Remove error handling specification from `from'
5903         character set name.
5904         * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
5905         new parameter to always enable transliteration.
5906         * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
5907         change.
5908         (struct locale_data): Add new members use_translit and options.
5909         * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
5910         character set name contained modifier TRANSLIT.
5911         * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
5912         and options fields.
5913         (_nl_unload_locale): Free options string if necessary.
5914         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
5915         the locale names suggested this.
5916         * locale/C-address.c: Add two new initialilzers to adjust data
5917         structure for new format.
5918         * locale/C-collate.c: Likewise.
5919         * locale/C-ctype.c: Likewise.
5920         * locale/C-identification.c: Likewise.
5921         * locale/C-measurement.c: Likewise.
5922         * locale/C-messages.c: Likewise.
5923         * locale/C-monetary.c: Likewise.
5924         * locale/C-name.c: Likewise.
5925         * locale/C-numeric.c: Likewise.
5926         * locale/C-paper.c: Likewise.
5927         * locale/C-telephone.c: Likewise.
5928         * locale/C-time.c: Likewise.
5930         * locale/setlocale.c: Add some more __builtin_expect.
5932 2000-06-15  Ulrich Drepper  <drepper@redhat.com>
5934         * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
5935         unsigned char **.
5936         (__gconv_init_fct): Remove two parameters.
5937         * iconv/gconv_int.h (__gconv_transliterate): Renamed from
5938         gconv_transliterate.  Remove two parameters.
5939         Change prototypes of builtin functions according to __gconv_fct change.
5940         * iconv/skeleton.c: Change type of fifth parameter.  make sure it is
5941         != NULL only during error handling.  Stop in this case after the
5942         conversion.
5943         * iconv/gconv_trans.c: Replace with real implementation for
5944         __gconv_transliterate.
5945         * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
5946         * iconv/gconv.c: Change calls to downstream functions once again.
5947         Use NULL for the fifth parameter instead of pointer to output buffer.
5948         * libio/iofwide.c: Likewise.
5949         * wcsmbs/btowc.c: Likewise.
5950         * wcsmbs/mbrtowc.c: Likewise.
5951         * wcsmbs/mbsnrtowcs.c: Likewise.
5952         * wcsmbs/mbsrtowcs.c: Likewise.
5953         * wcsmbs/wcrtomb.c: Likewise.
5954         * wcsmbs/wcsnrtombs.c: Likewise.
5955         * wcsmbs/wcsrtombs.c: Likewise.
5956         * wcsmbs/wctob.c: Likewise.
5957         * iconv/gconv_simple.c: Remove two parameters from error handling
5958         function call.
5959         * iconvdata/8bit-gap.c: Likewise.
5960         * iconvdata/8bit-generic.c: Likewise.
5961         * iconvdata/ansi_x3.110.c: Likewise.
5962         * iconvdata/big5.c: Likewise.
5963         * iconvdata/big5hkscs.c: Likewise.
5964         * iconvdata/euc-cn.c: Likewise.
5965         * iconvdata/euc-jp.c: Likewise.
5966         * iconvdata/euc-kr.c: Likewise.
5967         * iconvdata/euc-tw.c: Likewise.
5968         * iconvdata/gbgbk.c: Likewise.
5969         * iconvdata/gbk.c: Likewise.
5970         * iconvdata/iso-2022-cn.c: Likewise.
5971         * iconvdata/iso-2022-jp.c: Likewise.
5972         * iconvdata/iso-2022-kr.c: Likewise.
5973         * iconvdata/iso646.c: Likewise.
5974         * iconvdata/iso8859-1.c: Likewise.
5975         * iconvdata/iso_6937-2.c: Likewise.
5976         * iconvdata/iso_6937.c: Likewise.
5977         * iconvdata/johab.c: Likewise.
5978         * iconvdata/sjis.c: Likewise.
5979         * iconvdata/t.61.c: Likewise.
5980         * iconvdata/uhc.c: Likewise.
5981         * iconvdata/unicode.c: Likewise.
5982         * iconvdata/utf-16.c: Likewise.
5984 2000-06-15  Greg McGary  <greg@mcgary.org>
5986         * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
5987         of callnum assignment.  Tolerate callnum expressions containing
5988         parens.
5990 2000-06-14  Ulrich Drepper  <drepper@redhat.com>
5992         * login/Makefile (utmpd): Remove rule to build utmpd.
5994         * csu/Versions: Move libgcc frame handling functions from here...
5995         * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
5996         * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
5997         * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
5998         * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
5999         * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
6000         * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
6001         New file.
6002         * sysdeps/mach/hurd/i386/Versions: ...and here.  New file.
6004         * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
6006         * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
6008 2000-06-14  Kazumoto Kojima  <kkojima@rr.iij4u.or.jp>
6010         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
6011         compatibility.
6012         * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
6013         * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
6014         * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
6015         * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
6017 2000-06-14  Jakub Jelinek  <jakub@redhat.com>
6019         * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
6020         defined, terminate quotes and read them after the comment char.
6021         * configure.in (HAVE_SECTION_QUOTES): Test whether
6022         __attribute__((section ("x"))) puts quotes around x or not.
6023         * config.h.in (HAVE_SECTION_QUOTES): Add.
6024         * configure: Rebuilt.
6026 2000-06-14  Andreas Jaeger  <aj@suse.de>
6028         * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
6029         depending on the configure option --sysconfdir.
6030         Closes PR libc/1762.
6031         Patch by Andreas Schwab <schwab@suse.de>.
6033         * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
6034         entry point.
6035         Reported by Jim Pick <jim@jimpick.com>.
6037 2000-06-14  Ulrich Drepper  <drepper@redhat.com>
6039         * misc/syslog.c (vsyslog): Allow open_memstream to fail without
6040         crashing the application.  Emit some simple error message.
6041         Reported by mju@panasas.com [PR libc/1769].
6043 2000-06-13  Ulrich Drepper  <drepper@redhat.com>
6045         * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
6047         * crypt/Makefile (distribute): Add md5.h.
6049         * Makefile (distribute): Add include/shlib-compat.h.
6051         * Make-dist: Search for tests also in sysdeps hierachy.
6053         * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
6054         ufc.c, speeds.c, README.ufc-crypt, and Banner.
6056         * sysdeps/sparc/Subdirs: New file.
6058         * locale/Makefile (distribute): Add weightwc.h and
6059         programs/localedef.h.
6061         * time/Makefile (distribute): Add datemsk.
6063         * sysdeps/ia64/Dist: Add softpipe.h.
6065         * sysdeps/unix/sysv/aix/Dist: New file.
6067         * posix/setpgrp.c: Moved to...
6068         * sysdeps/generic/setpgrp.c: ...here.  New file.
6069         * io/mknod.c: Moved to...
6070         * sysdeps/generic/mknod.c: ...here.  New file.
6072         * sysdeps/unix/sysv/linux/ia64/Dist: New file.
6074         * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
6076         * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
6078         * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
6079         gprsave0.S, gprrest1.S, and gprrest0.S.
6081         * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
6083         * posix/Makefile (routines): Add spawnattr_getsigmask,
6084         spawnattr_getschedpolicy, spawnattr_getschedparam,
6085         spawnattr_setsigmask, spawnattr_setschedpolicy, and
6086         spawnattr_setschedparam.
6087         * posix/Versions: Add posix_spawnattr_getschedpolicy,
6088         posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
6089         posix_spawnattr_setschedparam.
6091         * posix/spawnattr_setschedparam.c: Fix typo.
6093         * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
6094         Correct typo.
6096         * login/programs/utmpd.c: Removed.
6097         * login/programs/utmpd.h: Removed.
6098         * login/programs/utmpd-private.h: Removed.
6100         * Makefile (distribute): Add include/db_185.h and include/db.h.
6102         * iconvdata/Makefile (distribute): Add iso-ir-165.c and
6103         iso-ir-165.h.
6105         * elf/Makefile (distribute): Add missing files.
6107         * dlfcn/Makefile: Add back rules to include eval in libdl.so.
6108         * elf/eval.c: Moved to...
6109         * dlfcn/eval.c: ...here.  New file.
6111         * Makefile (distribute): Also distribute ChangeLog.1?.
6113         * Make-dist (+tsrcs): Remove .args handling here as well.
6115         * rt/Makefile (tests): Add tst-timer.
6116         * sysdeps/generic/tst-timer.c: New file.
6118         * Makerules (sources): Don't add BP sources here.
6120         * login/Makefile (distribute): Remove xtmp.h.
6122         * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
6123         is true.  Reported by Bruno Haible <haible@ilog.fr>.
6125 2000-06-13  Andreas Jaeger  <aj@suse.de>
6127         * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
6128         Patch by Ralf Baechle <ralf@gnu.org>.
6130 2000-06-13  Ulrich Drepper  <drepper@redhat.com>
6132         * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
6133         for mincore syscall.
6135         * misc/sys/cdefs.h: Define __bounded and __unbounded if
6136         __BOUNDED_POINTERS__ is not defined.
6138 2000-06-07  Greg McGary  <greg@mcgary.org>
6140         * sysdeps/generic/bp-sym.h: New file.
6141         * sysdeps/generic/bp-start.h: New file.
6142         * sysdeps/i386/elf/start.S: Designate BP symbols.
6143         * sysdeps/generic/libc-start.c: Wrap bounds around
6144         argv & envp and each of their string members.
6146 2000-06-07  Greg McGary  <greg@mcgary.org>
6148         * sysdeps/unix/make-syscalls.sh: Add comments to
6149         output that aid debugging & comprehension.
6150         Map simple syscall signatures to number of args.
6151         Generate BP syscall thunk definitions.
6152         * sysdeps/generic/bp-thunks.h: New file.
6153         * sysdeps/unix/syscalls.list: Replace arg-count with
6154         simple return+arg signature.
6155         * sysdeps/unix/common/syscalls.list: Likewise.
6156         * sysdeps/unix/inet/syscalls.list: Likewise.
6157         * sysdeps/unix/mman/syscalls.list: Likewise.
6158         * sysdeps/unix/sysv/syscalls.list: Likewise.
6159         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6160         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
6162 2000-06-07  Greg McGary  <greg@mcgary.org>
6164         * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
6165         for all files *.[cS].
6166         (CFLAGS-.ob): Don't optimize sibling calls.
6167         (bppfx): New variable.
6168         * Makerules (elide-bp-thunks): New variable.
6169         (elide-routines.*): Elide BP-* files for all but *.ob.
6170         (sources): Include bp-thunks.
6172 2000-06-12  Ulrich Drepper  <drepper@redhat.com>
6174         * iconv/gconv_simple.c: Remove unnecessary prototype.
6176         * iconv/gconv_trans.c: Pretty print.
6178         * elf/elf.h (R_SH_NUM): Got accidently dropped.
6180         * sysdeps/unix/sysv/linux/configure.in: Improve handling of
6181         minimal kernel versions.  Add information about IA-64 kernel.
6183         * sysdeps/unix/sysv/linux/configure.in: Allow architecture
6184         specific minimal supported kernel versions to be specified.
6186         * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
6187         step data structure.
6188         * wcsmbs/btowc.c: Likewise.
6189         * wcsmbs/mbrtowc.c: Likewise.
6190         * wcsmbs/mbsnrtowcs.c: Likewise.
6191         * wcsmbs/mbsrtowcs.c: Likewise.
6192         * wcsmbs/wcrtomb.c: Likewise.
6193         * wcsmbs/wcsnrtombs.c: Likewise.
6194         * wcsmbs/wcsrtombs.c: Likewise.
6195         * wcsmbs/wctob.c: Likewise.
6197         * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
6198         * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
6200         * shlib-versions: Earliest backward compatible version for SH is 2.2.
6202         * misc/sys/cdefs.h: Remove one more __P.
6204         * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
6205         Reported by HJ Lu.
6207         * sysdeps/sh/sh3/bits/setjmp.h: Removed.
6208         * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
6209         * sysdeps/sh/bits/setjmp.h: ...here.  New file.
6211 2000-06-12  Kazumoto Kojima  <kkojima@rr.iij4u.or.jp>
6212             Yutaka Niibe  <gniibe@chroot.org>
6214         * configure.in: Add machine sh3, sh4.
6215         * elf/elf.h: Add SH specific declarations of relocations.
6216         * shlib-versions: Add sh*-*-linux* cases.
6218 2000-06-12  Ulrich Drepper  <drepper@redhat.com>
6220         * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
6221         * sysdeps/sh/bsd-_setjmp.S: ...here.  New file.
6222         * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
6223         * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
6224         * sysdeps/sh/bsd-setjmp.S: ...here.  New file.
6225         * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
6227         * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
6228         instead of KERNEL_MATH_EMULATION.
6229         * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
6230         KERNEL_MATH_EMULATION.
6232         * sysdeps/sh/Dist: Removed.  There is no ieee754.h file.
6233         * sysdeps/sh/sh3/dl-machine.h: Moved to...
6234         * sysdeps/sh/dl-machine.h: ...here.  New file.
6235         * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
6236         and include generic SH version.
6237         * sysdeps/sh/sh3/bits/endian.h: Move to...
6238         * sysdeps/sh/bits/endian.h: ...here.  New file.
6239         * sysdeps/sh/sh4/bits/endian.h: Removed.
6240         * sysdeps/sh/sh3/bits/huge_val.h: Move to...
6241         * sysdeps/sh/bits/huge_val.h: ...here.  New file.
6242         * sysdeps/sh/sh4/bits/huge_val.h: Removed.
6244         * include/libc-symbols.h (link_warning): Work around a change in
6245         GAS which warns about changing section attributes.
6246         Proposed by Nick Clifton <nickc@redhat.com>.
6248 2000-06-12  H.J. Lu  <hjl@gnu.org>
6250         * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
6252 2000-06-11  H.J. Lu  <hjl@gnu.org>
6254         * sysdeps/i386/fpu/Versions: New file.
6256 2000-06-12  Ulrich Drepper  <drepper@redhat.com>
6258         * iconv/gconv.h (__gconv_trans_context_fct): Remove two
6259         parameters.
6260         * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
6261         exists.
6263 2000-06-12  Jes Sorensen  <jes@linuxcare.com>
6265         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
6266         * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
6267         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
6269         * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
6270         * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
6271         * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
6273 2000-06-12  Kazumoto Kojima  <kkojima@rr.iij4u.or.jp>
6274             Yutaka Niibe  <gniibe@chroot.org>
6276         * sysdeps/sh/Dist: New file.
6277         * sysdeps/sh/Implies: New file.
6278         * sysdeps/sh/elf/initfini.c: New file.
6279         * sysdeps/sh/gmp-mparam.h: New file.
6280         * sysdeps/sh/init-first.c: New file.
6281         * sysdeps/sh/machine-gmon.h: New file.
6282         * sysdeps/sh/memcpy.S: New file.
6283         * sysdeps/sh/memprof.h: New file.
6284         * sysdeps/sh/memset.S: New file.
6285         * sysdeps/sh/sh3/__longjmp.S: New file.
6286         * sysdeps/sh/sh3/bits/endian.h: New file.
6287         * sysdeps/sh/sh3/bits/huge_val.h: New file.
6288         * sysdeps/sh/sh3/bits/setjmp.h: New file.
6289         * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
6290         * sysdeps/sh/sh3/bsd-setjmp.S: New file.
6291         * sysdeps/sh/sh3/dl-machine.h: New file.
6292         * sysdeps/sh/sh3/setjmp.S: New file.
6293         * sysdeps/sh/sh4/__longjmp.S: New file.
6294         * sysdeps/sh/sh4/bits/endian.h: New file.
6295         * sysdeps/sh/sh4/bits/huge_val.h: New file.
6296         * sysdeps/sh/sh4/bits/setjmp.h: New file.
6297         * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
6298         * sysdeps/sh/sh4/bsd-setjmp.S: New file.
6299         * sysdeps/sh/sh4/dl-machine.h: New file.
6300         * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
6301         * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
6302         * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
6303         * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
6304         * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
6305         * sysdeps/sh/sh4/fpu/fegetround.c: New file.
6306         * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
6307         * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
6308         * sysdeps/sh/sh4/fpu/fesetround.c: New file.
6309         * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
6310         * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
6311         * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
6312         * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
6313         * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
6314         * sysdeps/sh/sh4/setjmp.S: New file.
6315         * sysdeps/sh/elf/start.S: New file.
6316         * sysdeps/sh/sys/ucontext.h: New file.
6317         * sysdeps/sh/strlen.S: New file.
6318         * sysdeps/sh/sysdep.h: New file.
6319         * sysdeps/unix/sh/sysdep.S: New file.
6320         * sysdeps/unix/sh/sysdep.h: New file.
6321         * sysdeps/unix/sysv/linux/sh/Dist: New file.
6322         * sysdeps/unix/sysv/linux/sh/Makefile: New file.
6323         * sysdeps/unix/sysv/linux/sh/Versions: New file.
6324         * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
6325         * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
6326         * sysdeps/unix/sysv/linux/sh/brk.c: New file.
6327         * sysdeps/unix/sysv/linux/sh/chown.c: New file.
6328         * sysdeps/unix/sysv/linux/sh/clone.S: New file.
6329         * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
6330         * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
6331         * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
6332         * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
6333         * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
6334         * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
6335         * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
6336         * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
6337         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
6338         * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
6339         * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
6340         * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
6341         * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
6342         * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
6343         * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
6344         * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
6345         * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
6346         * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
6347         * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
6348         * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
6349         * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
6350         * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
6351         * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
6352         * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
6353         * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
6354         * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
6355         * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
6356         * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
6357         * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
6358         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
6359         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
6360         * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
6361         * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
6362         * sysdeps/unix/sysv/linux/sh/socket.S: New file.
6363         * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
6364         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6365         * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
6366         * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
6367         * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
6368         * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
6369         * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
6370         * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
6372 2000-06-12  Ulrich Drepper  <drepper@redhat.com>
6374         * Rules (%.out): Define GCONV_PATH in the environment.
6375         * assert/Depend: New file.
6376         * iconvdata/Depend: New file.
6377         * intl/Depend: New file.
6378         * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
6379         * intl/tst-gettext.sh: Likewise.
6380         * iconv/Makefile (routines): Add gconv_trans.
6381         * iconv/gconv_trans.c: New file.
6382         * iconv/gconv.h (struct __gconv_trans_data): New type.
6383         (__gconv_fct): New parameter with starting position in output buffer.
6384         (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
6385         __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
6386         (struct __gconv_step): Add new member __trans.
6387         * iconv/gconv_int.h: Pretty print prototypes.
6388         (gconv_transliterate): New prototype.
6389         (__BUILTIN_TRANS): Update for new conversion function interface.
6390         * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
6391         * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
6392         in names, find appropriate function, and install in the conversion
6393         steps it can be used.
6394         * iconv/skeleton.c: Add additional parameter for beginning of output
6395         buffer.  Change calls of downstream functions.
6396         * iconv/loop.c: Change loop function interface completely.  Pass in
6397         step and step_data structure.  Remove optimization for BODY with
6398         NEED_LENGTH_TEST == 0.
6399         * iconv/gconv_simple.c: Update interfaces of functions.  Insert
6400         appropriate error handling code to use transliteration steps.  Remove
6401         optimization for BODY with NEED_LENGTH_TEST == 0.
6402         * iconvdata/8bit-gap.c: Likewise.
6403         * iconvdata/8bit-generic.c: Likewise.
6404         * iconvdata/ansi_x3.110.c: Likewise.
6405         * iconvdata/big5.c: Likewise.
6406         * iconvdata/big5hkscs.c: Likewise.
6407         * iconvdata/euc-cn.c: Likewise.
6408         * iconvdata/euc-jp.c: Likewise.
6409         * iconvdata/euc-kr.c: Likewise.
6410         * iconvdata/euc-tw.c: Likewise.
6411         * iconvdata/gbgbk.c: Likewise.
6412         * iconvdata/gbk.c: Likewise.
6413         * iconvdata/iso-2022-cn.c: Likewise.
6414         * iconvdata/iso-2022-jp.c: Likewise.
6415         * iconvdata/iso-2022-kr.c: Likewise.
6416         * iconvdata/iso646.c: Likewise.
6417         * iconvdata/iso8859-1.c: Likewise.
6418         * iconvdata/iso_6937-2.c: Likewise.
6419         * iconvdata/iso_6937.c: Likewise.
6420         * iconvdata/johab.c: Likewise.
6421         * iconvdata/sjis.c: Likewise.
6422         * iconvdata/t.61.c: Likewise.
6423         * iconvdata/uhc.c: Likewise.
6424         * iconvdata/unicode.c: Likewise.
6425         * iconvdata/utf-16.c: Likewise.
6426         * libio/iofwide.c: Adjust to new interface of gconv functions.  Use
6427         DL_CALL_FCT.
6428         * wcsmbs/btowc.c: Likewise.
6429         * wcsmbs/mbrtowc.c: Likewise.
6430         * wcsmbs/mbsnrtowcs.c: Likewise.
6431         * wcsmbs/mbsrtowcs.c: Likewise.
6432         * wcsmbs/wcrtomb.c: Likewise.
6433         * wcsmbs/wcsnrtombs.c: Likewise.
6434         * wcsmbs/wcsrtombs.c: Likewise.
6435         * wcsmbs/wctob.c: Likewise.
6437 2000-04-11  Geoff Keating  <geoffk@cygnus.com>
6439         * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
6440         other header files.  Mention about 128-byte cache line sizes.
6441         (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
6442         * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
6443         for current calling sequence.
6444         * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
6446         * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
6447         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6449         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
6450         and setrlimit syscalls for backwards compatibility.
6452 2000-06-10  Ulrich Drepper  <drepper@redhat.com>
6454         * iconv/skeleton.c:  Rename converted written to correcter name
6455         irreversible.
6456         * iconv/gconv.c: Rename converted variable to correcter name
6457         irreversible.
6458         * iconv/gconv_int.h: Likewise.
6459         * iconv/gconv_simple.c: Likewise.
6460         * iconv/iconv.c: Likewise.
6461         * iconv/loop.c: Likewise.
6462         * iconvdata/8bit-gap.c: Likewise.
6463         * iconvdata/8bit-generic.c: Likewise.
6464         * iconvdata/ansi_x3.110.c: Likewise.
6465         * iconvdata/big5.c: Likewise.
6466         * iconvdata/big5hkscs.c: Likewise.
6467         * iconvdata/euc-cn.c: Likewise.
6468         * iconvdata/euc-jp.c: Likewise.
6469         * iconvdata/euc-kr.c: Likewise.
6470         * iconvdata/gbgbk.c: Likewise.
6471         * iconvdata/gbk.c: Likewise.
6472         * iconvdata/iso-2022-cn.c: Likewise.
6473         * iconvdata/iso-2022-jp.c: Likewise.
6474         * iconvdata/iso-2022-kr.c: Likewise.
6475         * iconvdata/iso646.c: Likewise.
6476         * iconvdata/iso8859-1.c: Likewise.
6477         * iconvdata/iso_6937-2.c: Likewise.
6478         * iconvdata/iso_6937.c: Likewise.
6479         * iconvdata/johab.c: Likewise.
6480         * iconvdata/sjis.c: Likewise.
6481         * iconvdata/t.61.c: Likewise.
6482         * iconvdata/uhc.c: Likewise.
6483         * iconvdata/unicode.c: Likewise.
6484         * iconvdata/utf-16.c: Likewise.
6486         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
6487         __cmsg_data field with __extension__.
6489 2000-06-10  David Mosberger  <davidm@hpl.hp.com>
6491         * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
6493 2000-06-10  Ulrich Drepper  <drepper@redhat.com>
6495         * iconv/gconv_simple.c: Fix various small bugs in several
6496         functions.
6498         * iconv/loop.c: Fix comment.
6500 2000-06-10  Jakub Jelinek  <jakub@redhat.com>
6502         * elf/link.h: Remove libc internal declarations.
6503         * include/link.h: Move them here.
6505 2000-06-09  Ulrich Drepper  <drepper@redhat.com>
6507         * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
6508         Patch by Dan Pop <Dan.Pop@cern.ch>.
6510         Rewrite error message handling.
6511         * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
6512         _dl_catch_error.
6513         * elf/dl-error (struct catch): Add objname member.
6514         (_dl_signal_error): Take new parameter with object name.  When
6515         passing message on simply store object name and duplicate error
6516         message.
6517         (_dl_catch_error): Take new parameter.  Store object name in the
6518         place pointed to.
6519         * include/dlfcn.h: Adjust _dl_catch_error prototype.
6520         * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
6521         * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
6522         (dlerror): Add objname to asprintf() parameters.
6523         (_dl_error_run): Pass new parameter to _dl_catch_error.
6524         * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
6525         * elf/dl-open.c (_dl_open): Likewise.
6526         * elf/rtld.c (dl_main): Likewise.
6527         * elf/dl-close.c: Mark error messages with N_().
6528         * elf/dl-deps.c: Likewise.
6529         * elf/dl-error.c: Likewise.
6530         * elf/dl-load.c: Likewise.
6531         * elf/dl-open.c: Likewise.
6532         * elf/dl-reloc.c: Likewise.
6533         * elf/dl-support.c: Likewise.
6534         * elf/dl-sym.c: Likewise.
6535         * elf/dl-version.c: Likewise.
6536         * elf/dl-lookup.c: Add comments about problems with error message
6537         translations.
6538         * elf/dl-reloc.c: Likewise.
6539         * elf/dl-version.c: Likewise.
6541 2000-06-09  H.J. Lu  <hjl@gnu.org>
6543         * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
6544         after freeing it.
6546         * dlfcn/Makefile (distribute): Add failtestmod.c.
6547         (tests): Add failtest.
6548         Add rules to build and run failtest.
6549         * dlfcn/failtest.c: New file.
6550         * dlfcn/failtestmod.c: New file.
6552 2000-06-09  David Mosberger-Tang  <davidm@hpl.hp.com>
6554         * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
6555         * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
6556         * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
6557         * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
6558         * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
6560 2000-06-09  Jes Sorensen  <jes@linuxcare.com>
6562         * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
6563         * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
6565 2000-06-09  Jes Sorensen  <jes@linuxcare.com>
6566             Ulrich Drepper  <drepper@redhat.com>
6568         * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
6569         * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
6570         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
6571         * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
6572         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
6573         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
6575 2000-06-09  Ulrich Drepper  <drepper@redhat.com>
6577         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
6578         to find correct mount point despite wrong information from the
6579         kernel.
6581 2000-06-09  Jes Sorensen  <jes@linuxcare.com>
6583         * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
6584         the address of a symbol so function pointers are handled properly.
6586 2000-06-08  Ulrich Drepper  <drepper@redhat.com>
6588         * sysdeps/i386/Dist: Add bp-asm.h.
6590         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
6591         defaultdir variable instead of "/var/shm" everywhere.
6592         (defaultdir): Change to /dev/shm/.
6594 2000-06-08  Greg McGary  <greg@mcgary.org>
6596         * sysdeps/i386/bp-asm.h: New file.
6597         * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
6598         offsets.  Add ENTER/LEAVE macros for optionally maintaining
6599         frame-pointer chain when debugging.
6600         * sysdeps/i386/add_n.S: Likewise.
6601         * sysdeps/i386/addmul_1.S: Likewise.
6602         * sysdeps/i386/lshift.S: Likewise.
6603         * sysdeps/i386/memchr.S: Likewise.
6604         * sysdeps/i386/memcmp.S: Likewise.
6605         * sysdeps/i386/mul_1.S: Likewise.
6606         * sysdeps/i386/rawmemchr.S: Likewise.
6607         * sysdeps/i386/rshift.S: Likewise.
6608         * sysdeps/i386/stpcpy.S: Likewise.
6609         * sysdeps/i386/stpncpy.S: Likewise.
6610         * sysdeps/i386/strchr.S: Likewise.
6611         * sysdeps/i386/strchrnul.S: Likewise.
6612         * sysdeps/i386/strcspn.S: Likewise.
6613         * sysdeps/i386/strpbrk.S: Likewise.
6614         * sysdeps/i386/strrchr.S: Likewise.
6615         * sysdeps/i386/strspn.S: Likewise.
6616         * sysdeps/i386/strtok.S: Likewise.
6617         * sysdeps/i386/sub_n.S: Likewise.
6618         * sysdeps/i386/submul_1.S: Likewise.
6619         * sysdeps/i386/elf/setjmp.S: Likewise.
6620         * sysdeps/i386/i486/strcat.S: Likewise.
6621         * sysdeps/i386/i486/strlen.S: Likewise.
6622         * sysdeps/i386/i586/add_n.S: Likewise.
6623         * sysdeps/i386/i586/lshift.S: Likewise.
6624         * sysdeps/i386/i586/memcpy.S: Likewise.
6625         * sysdeps/i386/i586/memset.S: Likewise.
6626         * sysdeps/i386/i586/rshift.S: Likewise.
6627         * sysdeps/i386/i586/strchr.S: Likewise.
6628         * sysdeps/i386/i586/strcpy.S: Likewise.
6629         * sysdeps/i386/i586/strlen.S: Likewise.
6630         * sysdeps/i386/i586/sub_n.S: Likewise.
6631         * sysdeps/i386/i686/add_n.S: Likewise.
6632         * sysdeps/i386/i686/memcpy.S: Likewise.
6633         * sysdeps/i386/i686/mempcpy.S: Likewise.
6634         * sysdeps/i386/i686/memset.S: Likewise.
6635         * sysdeps/i386/i686/strcmp.S: Likewise.
6637 2000-06-08  Ulrich Drepper  <drepper@redhat.com>
6639         * sysdeps/unix/sysv/linux/getdtsz.c: New file.
6641         * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
6642         256 and don't use OPEN_MAX.
6644         * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
6645         use it instead of LINK_MAX.
6646         * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
6648 2000-06-08  Andreas Jaeger  <aj@suse.de>
6650         * libio/genops.c (_IO_list_lock): Only compile body if we're
6651         thread safe.
6652         (_IO_list_unlock): Likewise.
6653         (_IO_list_resetlock): Likewise.
6655 2000-06-07  Ulrich Drepper  <drepper@redhat.com>
6657         * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
6658         unless user defined it.
6660         * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
6661         if not defined by the user.
6663         * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
6664         * libio/iofwrite.c (_IO_fwrite): Likewise.
6666         * time/time.h: Add missing __THROW for clock_getcpuclockid
6667         prototype.
6669         * elf/Makefile (distribute): Add dl-dtprocnum.h.
6670         * include/elf.h: Include also <dl-dtprocnum.h>.
6671         * elf/dl-deps.c: Likewise.
6672         * elf/dl-lookup.c: Likewise.
6673         * elf/dl-runtime.c: Likewise.
6674         * elf/dl-version.c: Likewise.
6675         * elf/do-rel.h: Likewise.
6676         * elf/dynamic-link.h: Likewise.
6677         * elf/link.h: Likewise.
6678         * elf/rtld.c: Likewise.
6679         * sysdeps/generic/dl-dtprocnum.h: New file.
6680         * sysdeps/ia64/dl-dtprocnum.h: New file.
6681         * sysdeps/mips/dl-dtprocnum.h: New file.
6682         * sysdeps/sparc/dl-dtprocnum.h: New file.
6684         * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
6686         * elf/do-lookup.h: Add some __builtin_expect.
6688         * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
6690         * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
6691         (_dl_dynamic_weak): New variable.
6692         * elf/dl-support.c: Likewise.
6693         * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
6694         * elf/do-lookup.h: If we find a weak definition treat it like a
6695         normal symbol unless _dl_dynamic_weak is nonzero.  In the latter
6696         case treat it like before.
6698         * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
6699         is in main program.
6700         * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
6702         * elf/dl-addr.c (_dl_addr): Do exact testing of address range
6703         using l_map_start and l_map_end.
6705         * elf/dl-version.c: Add __builtin_expect in many places.
6707         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
6708         Update.
6710 2000-06-04  Kaz Kylheku  <kaz@ashi.footprints.net>
6712         Lock for stdio stream list becomes global, for use in LinuxThreads.
6714         * libio/genops.c (_IO_iter_begin, _IO_iter_end,
6715         _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
6716         _IO_list_resetlock): New interface for iterating global list of
6717         streams without accessing the _IO_list_all global variable,
6718         and for manipulating the lock which protects this list.
6719         * libio/libioP.h: Likewise.
6720         * libio/Version: Add entries for the new functions.
6722         * libio/libioP.h (_IO_ITER): New typedef, just an alias for
6723         pointer to _IO_FILE.
6725 2000-06-07  Ulrich Drepper  <drepper@redhat.com>
6727         * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
6728         BIT() must actually be BITw().
6730         * locale/programs/ld-ctype.c: Handle SP and space consistently.
6732         * locale/programs/charmap.c: Allow string arguments for
6733         code_set_name and repertoiremap.
6735 2000-06-07  Andreas Jaeger  <aj@suse.de>
6737         * elf/Makefile: Build ldconfig only when building shared libraries.
6739 2000-06-07  Jakub Jelinek  <jakub@redhat.com>
6741         * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
6742         __USE_ISOC99.
6743         (fdimf, __fdim, fdim): Likewise.
6745 2000-06-07  Ulrich Drepper  <drepper@redhat.com>
6747         * locale/findlocale.c: Add __builtin_expect in many places.
6748         * locale/loadlocale.c: Likewise.
6750 2000-06-06  Greg McGary  <greg@mcgary.org>
6752         * sysdeps/mips/elf/start.S: Trim redundant code.
6754         * sysdeps/powerpc/memset.S: Define & use symbolic register names.
6755         Use C comments throughout.  Line up operands column with tabs.
6756         * sysdeps/powerpc/strchr.S: Likewise.
6757         * sysdeps/powerpc/strcmp.S: Likewise.
6758         * sysdeps/powerpc/strcpy.S: Likewise.
6759         * sysdeps/powerpc/strlen.S: Likewise.
6761         * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
6762         Get low part of &__curbrk with @l.
6764 2000-06-06  Ulrich Drepper  <drepper@redhat.com>
6766         * iconvdata/utf-16.c: Add __builtin_expect in many places.
6767         * iconvdata/unicode.c: Likewise.
6768         * iconvdata/uhc.c: Likewise.
6769         * iconvdata/t.61.c: Likewise.
6770         * iconvdata/sjis.c: Likewise.
6771         * iconvdata/johab.c: Likewise.
6772         * iconvdata/iso_6937.c: Likewise.
6773         * iconvdata/iso_6937-2.c: Likewise.
6774         * iconvdata/iso8859-1.c: Likewise.
6775         * iconvdata/iso646.c: Likewise.
6776         * iconvdata/iso-2022-kr.c: Likewise.
6777         * iconvdata/iso-2022-jp.c: Likewise.
6778         * iconvdata/iso-2022-cn.c: Likewise.
6779         * iconvdata/gbgbk.c: Likewise.
6780         * iconvdata/gbk.c: Likewise.
6781         * iconvdata/euc-kr.c: Likewise.
6782         * iconvdata/euc-jp.c: Likewise.
6783         * iconvdata/euc-cn.c: Likewise.
6785 2000-06-05  Ulrich Drepper  <drepper@redhat.com>
6787         * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
6788         * iconvdata/big5.c: Likewise.
6789         * iconvdata/ansi_x3.110.c: Likewise.
6790         * iconvdata/8bit-generic.c: Likewise.
6791         * iconvdata/8bit-gap.c: Likewise.
6792         * iconv/loop.c: Likewise.
6793         * iconv/gconv_db.c: Likewise.
6794         * iconv/gconv_dl.c: Likewise.
6795         * iconv/gconv_simple.c: Likewise.
6796         * iconv/skeleton.c: Likewise.
6798         * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
6799         (struct __gconv_step_data): Rename __is_last to __flags.
6800         * iconv/gconv_close.c: Change all uses of __is_last.
6801         * iconv/skeleton.c: Likewise.
6802         * iconvdata/iso-2022-cn.c: Likewise.
6803         * iconvdata/iso-2022-jp.c: Likewise.
6804         * iconvdata/iso-2022-kr.c: Likewise.
6805         * iconv/gconv_open.c: Likewise.  Avoid unneeded initializations.
6806         Recognize IGNORE error handling, set flag, and remove from name.
6807         * iconv/loop.c (ignore_errors_p): Define.
6808         Add flags parameter to both functions.
6809         * iconv/skeleton.c: Pass flags to all conversion functions.
6810         * iconv/gconv_simple.c: Add flags parameter to all functions.
6811         Don't return error for invald error if ignore flag is set.
6812         (ucs4_internal_loop_single): Add missing pointer increment.
6813         (internal_ucs4le_loop_single): Likewise.
6814         * iconv/iconv_prog.c: Implement handling of -c parameter.
6815         * iconvdata/8bit-gap.c: Don't return error for invald error if
6816         ignore flag is set.
6817         * iconvdata/8bit-generic.c: Likewise.
6818         * iconvdata/ansi_x3.110.c: Likewise.
6819         * iconvdata/big5.c: Likewise.
6820         * iconvdata/big5hkscs.c: Likewise.
6821         * iconvdata/euc-cn.c: Likewise.
6822         * iconvdata/euc-jp.c: Likewise.
6823         * iconvdata/euc-kr.c: Likewise.
6824         * iconvdata/gbgbk.c: Likewise.
6825         * iconvdata/gbk.c: Likewise.
6826         * iconvdata/iso-2022-cn.c: Likewise.
6827         * iconvdata/iso-2022-jp.c: Likewise.
6828         * iconvdata/iso-2022-kr.c: Likewise.
6829         * iconvdata/iso646.c: Likewise.
6830         * iconvdata/iso8859-1.c: Likewise.
6831         * iconvdata/iso_6937-2.c: Likewise.
6832         * iconvdata/iso_6937.c: Likewise.
6833         * iconvdata/johab.c: Likewise.
6834         * iconvdata/sjis.c: Likewise.
6835         * iconvdata/t.61.c: Likewise.
6836         * iconvdata/uhc.c: Likewise.
6837         * iconvdata/unicode.c: Likewise.
6838         * iconvdata/utf-16.c: Likewise.
6839         * libio/fileops.c: Likewise.
6840         * libio/iofwide.c: Likewise.
6841         * wcsmbs/btowc.c: Likewise.
6842         * wcsmbs/mbrtowc.c: Likewise.
6843         * wcsmbs/mbsnrtowcs.c: Likewise.
6844         * wcsmbs/mbsrtowcs.c: Likewise.
6845         * wcsmbs/wcrtomb.c: Likewise.
6846         * wcsmbs/wcsnrtombs.c: Likewise.
6847         * wcsmbs/wcsrtombs.c: Likewise.
6848         * wcsmbs/wctob.c: Likewise.
6850         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
6851         an error.
6853 2000-06-04  Ulrich Drepper  <drepper@redhat.com>
6855         * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
6856         counter for the object we are releasing, just decrement it.
6857         Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
6859 2000-06-04  Jakub Jelinek  <jakub@redhat.com>
6861         * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
6862         if -ffast-math.
6864 2000-06-04  Ulrich Drepper  <drepper@redhat.com>
6866         * iconvdata/big5hkscs.c: New file.
6867         Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
6869         * iconvdata/gconv-modules: Add entry for new module.
6870         * iconvdata/Makefile (modules): Add BIG5HKSCS.
6871         (distribute): Add big5hkscs.c.
6873 2000-06-01  Jakub Jelinek  <jakub@redhat.com>
6875         * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
6876         inlines to match prototypes in mathcalls.h.
6877         * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
6878         * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
6879         * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
6880         * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6882 2000-06-03  Ulrich Drepper  <drepper@redhat.com>
6884         * elf/elf.h (SHT_SUNW_move): Define.
6886         * elf/elf.h: Add more Solaris compatiblity definitions.
6888 2000-06-03  Andreas Jaeger  <aj@suse.de>
6890         * sysdeps/powerpc/dl-start.S: Close open comment.
6892 2000-06-03  Jakub Jelinek  <jakub@redhat.com>
6894         * inet/Versions: Fix typo in rresvport_af export.
6896 2000-06-02  Ulrich Drepper  <drepper@redhat.com>
6898         * math/tgmath.h: Pretty print.
6900 2000-06-02  Andreas Jaeger  <aj@suse.de>
6902         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
6903         Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
6905 2000-06-02  Ulrich Drepper  <drepper@redhat.com>
6907         * elf/rtld.c (process_envvars): Test for = after variable name.
6909 2000-06-01  Ulrich Drepper  <drepper@redhat.com>
6911         * sysdeps/generic/initfini.c (_init): One less relocation.  Don't
6912         have extra call to __gmon_start__, use the pointer we already have.
6914         * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
6915         shifting.
6917         * sysdeps/i386/elf/setjmp.S: Work around change is recent
6918         binutils.  gas now emits a jump through the PLT instead of a
6919         relative jump if the jump target is an exported symbol.
6921 2000-05-31  Ulrich Drepper  <drepper@redhat.com>
6923         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
6925 2000-05-31  Andreas Jaeger  <aj@suse.de>
6927         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
6928         gregset_t.
6930         * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
6931         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
6933         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
6934         syscall.
6935         * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
6937 2000-05-30  Ulrich Drepper  <drepper@redhat.com>
6939         * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
6941         * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
6942         * locale/localeconv.c: Make function versioned (with same definition).
6944         * elf/Makefile (modules-names): Strip before using it.
6946 2000-05-30  Andreas Jaeger  <aj@suse.de>
6948         * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
6949         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
6950         * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
6951         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
6952         * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
6953         * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
6955 2000-05-29  Ulrich Drepper  <drepper@redhat.com>
6957         * Makefile: Add GNU make magic.
6959         * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
6960         Removed.
6961         * inet/rcmd.c: Remove __P.  Remove unused variables.
6962         (iruserfopen): Make first parameter const.
6963         (ruserok_sa): Return result of ruserok2_sa.
6964         (__checkhost_sa): Correctly iterate through results of getaddrinfo.
6965         * inet/rexec.c: Remove unused variables.  Other small cleanups.
6966         * inet/ruserpass.c: Remove __P.  Remove unused variables.
6967         (ruserpass): Check results of memory allocation.
6968         * include/netdb.h: Add prototype for ruserpass.
6970 2000-05-29  Andreas Jaeger  <aj@suse.de>
6972         * elf/readlib.c (interpreters): Use LD_SO since this is supported
6973         for all platforms.
6975 2000-05-29  Jakub Jelinek  <jakub@redhat.com>
6977         * inet/rcmd.c (rresvport_af): Use correct port number.
6979 2000-05-26  Andreas Schwab  <schwab@suse.de>
6981         * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
6982         entries in all-sonames.
6983         ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
6984         preserving the old name if different for compatibility.
6986 2000-05-29  Ulrich Drepper  <drepper@redhat.com>
6988         * posix/Makefile (tests): Add tst-spawn.
6989         (tst-spawn-ARGS): New variable.
6990         * posix/tst-spawn.c: New file.
6992         * posix/spawn_faction_addclose.c: Correctly account for new entry.
6993         * posix/spawn_faction_adddup2.c: Likewise.
6994         * posix/spawn_faction_addopen.c: Likewise.
6995         * posix/spawni.c: Correctly test for success of dup2 calls.
6997         * posix/tst-preadwrite.c: Check success of malloc call.
6999 2000-05-28  Ulrich Drepper  <drepper@redhat.com>
7001         * posix/Makefile (tests): Add tst-exec.
7002         (tst-exec-ARGS): New variable.
7003         * posix/tst-exec.c: New file.
7005         * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
7007 2000-05-04  Andreas Jaeger  <aj@suse.de>
7009         * string/string.h: Remove __strdup prototype, it's not needed in
7010         this file anymore.
7012 2000-05-28  Ulrich Drepper  <drepper@redhat.com>
7014         * posix/Makefile (tests): Add tst-fork.
7015         * posix/tst-fork.c: New file.
7017         * resolv/inet_pton.c: Loose __P.
7019 2000-05-21  Jakub Jelinek  <jakub@redhat.com>
7021         * libio/libioP.h (_IO_CHECK_WIDE): Define.
7022         * libio/iosetbuffer.c (_IO_setbuffer): Use it.
7023         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
7024         * libio/fileops.c (_IO_new_file_fopen): Return NULL if
7025         _IO_CHECK_WIDE fails.
7027 2000-05-28  Ulrich Drepper  <drepper@redhat.com>
7029         * po/da.po: New file.
7031         * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
7032         Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
7034         * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
7035         (Other iconv Implementations): Fix typo.
7036         Patch by Martin Pool <mbp@wistful.humbug.org.au>.
7038 2000-05-27  Andreas Jaeger  <aj@suse.de>
7040         * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
7041         normal version now.
7042         * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
7043         * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
7044         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7045         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7046         * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
7047         * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
7049         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
7050         endianness to decide how to pass arguments.
7051         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7053         * elf/vismain.c: Use test-skeleton interface.
7054         (TEST_FUNCTION): New macro.
7055         (do_test): Renamed from main.
7057 2000-05-27  Ulrich Drepper  <drepper@redhat.com>
7059         * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
7060         AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
7062         * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify.  Correct
7063         handling of AI_V4MAPPED flag.
7065         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
7066         of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
7067         perform lookup for T_A type and tell getanswer_r to convert the
7068         result with new argument.
7069         (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
7070         Don't convert addresses from IPv4 to IPv6 here.
7071         (getanswer_r): Take new parameter indicating if mapping from IPv4 to
7072         IPv6 is wanted.  Allow qtype and type from reply to disagree if
7073         IPv4 mapping has to be done.  Perform mappings if required by the
7074         caller and not if RES_USE_INET6 bit in _res.options is set.
7075         Add several __builtin_expect.
7077 2000-05-26  Ulrich Drepper  <drepper@redhat.com>
7079         * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
7081         * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
7082         NULL.
7084         * posix/tst-preadwrite.c: Allow parallel execution of
7085         tst-preadwrite and tst-preadwrite64.
7087         * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
7088         * posix/tst-truncate.c: New file.
7089         * posix/tst-truncate64.c: New file.
7091         * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
7092         was switched.
7094         * posix/Makefile (tests): Add tst-preadwrite64.
7095         * posix/tst-preadwrite.c: Alloc file being used also for testing
7096         pread64 and pwrite64.
7097         * posix/tst-preadwrite64.c: New file.
7099 2000-05-26  Andreas Jaeger  <aj@suse.de>
7101         * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
7102         of arguments dependend on endianness.
7103         * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
7105         * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
7106         normal version now.
7107         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
7108         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
7109         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7110         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7112         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
7113         endianness to check how to pass argument.
7114         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
7116         * elf/ldconfig.h: Update parameter list for process_elf_file.
7118         * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
7119         Add parameter file_length and pass it ot process_elf*file.
7121         * sysdeps/generic/readelflib.c (check_ptr): New.
7122         (process_elf_file): Use check_ptr to check all accesses to the
7123         mmapped file. Add parameter file_length.
7125         * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
7126         library names.
7128         * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
7129         Closes PR libc/1573, reported by Bradley White
7130         <bww@laurelnetworks.com>.
7132 2000-05-25  Ulrich Drepper  <drepper@redhat.com>
7134         * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
7135         __FAST_MATH__ is defined.
7137 2000-05-22  Andreas Jaeger  <aj@suse.de>
7139         * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
7140         CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
7142         * manual/math.texi (FP Function Optimizations): Document gcc
7143         -ffast-math behaviour with mathinlines.
7145         * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
7146         functions unless -ffast-math is given to gcc.
7148 2000-05-23  Jakub Jelinek  <jakub@redhat.com>
7150         * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
7151         __sincosl): Guard with __USE_GNU.
7153 2000-05-24  Ulrich Drepper  <drepper@redhat.com>
7155         * csu/Makefile (routines): Add check_fds.
7156         * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
7157         binaries.  Add various __builtin_expect.
7158         * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
7159         * sysdeps/generic/check_fds.c: ...here.  New file.
7161         * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
7162         binaries if file /etc/suid-debug is available.
7164         * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
7165         and wcseqorder members.
7166         (struct locale_collate_t): Likewise.
7167         (collate_finish): Assign collation sequence value to each character.
7168         Create tables for output.
7169         (collate_output): Write out tables with collation sequence information.
7170         * locale/C-collate.c: Provide C locale data for collation sequence
7171         table.
7172         * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
7173         _NL_COLLATE_COLLSEQWC.
7174         * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
7175         _NL_COLLATE_COLLSEQWC.
7176         * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
7177         include fnmatch_loop.c.
7178         * posix/fnmatch_loop.c: Don't use strcoll while determining whether
7179         character is matched by range expression.  Use collation sequence
7180         table.  Outside glibc fall back on simple character value comparison.
7182 2000-05-24  Andreas Jaeger  <aj@suse.de>
7184         * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
7185         words.
7187         * intl/Makefile: Run gettext-test only if msgfmt is available.
7189         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
7190         Define it for newer kernels.
7192 2000-05-23  Ulrich Drepper  <drepper@redhat.com>
7194         * elf/dl-sym.c: Minor cleanups.
7196         * configure.in: Add test for .protected.
7197         * config.make.in: Add have-protected variable.
7198         * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
7199         (tests-vis-yes): Add vismain.
7200         (modules-names): Add $(modules-vis-$(have-protected)).
7201         (modules-vis-yes): Add vismod1, vismod2, and vismod3.
7202         Add rules to generate and run vismain.
7203         * elf/vismain.c: New file.
7204         * elf/vismod1.c: New file.
7205         * elf/vismod2.c: New file.
7206         * elf/vismod3.c: New file.
7208 2000-05-23  Andreas Jaeger  <aj@suse.de>
7210         * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
7212         * manual/search.texi (Array Sort Function): Document that qsort is
7213         not necessarily in-place.
7215         * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
7216         Closes PR libc/1731.
7218         * csu/munch-tmpl.c (__libc_init): Remove K&R support.
7219         * dirent/scandir64.c: Likewise.
7220         * pwd/getpw.c: Likewise.
7221         * stdlib/bsearch.c (bsearch): Likewise.
7222         * stdlib/tst-strtoll.c: Likewise.
7223         * localedata/collate-test.c: Likewise.
7224         * localedata/xfrm-test.c: Likewise.
7225         * posix/bsd-getpgrp.c: Likewise.
7226         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
7227         * sysdeps/generic/bits/siginfo.h: Likewise.
7228         * sysdeps/generic/bits/sockaddr.h: Likewise.
7229         * sysdeps/generic/sys/swap.h: Likewise.
7230         * sysdeps/generic/sys/sysinfo.h: Likewise.
7231         * sysdeps/generic/vfork.c: Likewise.
7232         * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
7233         * sysdeps/mach/hurd/fdopen.c: Likewise.
7234         * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
7235         * sysdeps/unix/sysv/linux/poll.c: Likewise.
7236         * sysdeps/unix/sysv/linux/readv.c: Likewise.
7237         * sysdeps/unix/sysv/linux/writev.c: Likewise.
7238         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7239         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7240         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
7242         * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
7243         * shadow/lckpwdf.c: Likewise.
7244         * stdlib/tst-strtol.c: Likewise.
7245         * sysdeps/generic/tcsetattr.c: Likewise.
7246         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7247         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7249 2000-05-22  Jakub Jelinek  <jakub@redhat.com>
7251         * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
7252         free it and set to (void *) -1.
7254 2000-05-22  Jakub Jelinek <jakub@redhat.com>
7256         * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
7257         not the second character in the range.
7258         * stdio-common/tstscanf.c (main): Add testcase for the above.
7259         Reported by jik@kamens.brookline.ma.us.
7261 2000-05-21  H.J. Lu  <hjl@gnu.org>
7263         * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
7264         with noexec and noplt parameter.
7265         (do_lookup): Likewise.
7267         * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
7268         do_lookup.  Support STV_PROTECTED.
7269         (_dl_lookup_symbol_skip): Likewise.
7270         (_dl_lookup_versioned_symbol): Likewise.
7271         (_dl_lookup_versioned_symbol_skip): Likewise.
7273         * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
7275         * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
7277 2000-05-21  Jakub Jelinek  <jakub@redhat.com>
7279         * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
7280         * sysdeps/i386/bits/huge_val.h: Likewise.
7281         * sysdeps/ieee754/bits/huge_val.h: Likewise.
7282         * sysdeps/m68k/bits/huge_val.h: Likewise.
7283         * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
7284         * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
7286 2000-05-22  Andreas Jaeger  <aj@suse.de>
7288         * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
7289         change in iconv.h.
7291 2000-05-19  Andreas Jaeger  <aj@suse.de>
7293         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
7294         (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
7295         breaks compilation without linuxthreads.
7297 2000-05-21  Ulrich Drepper  <drepper@redhat.com>
7299         * sysdeps/ia64/memccpy.S: New file.
7300         * sysdeps/ia64/memchr.S: New file.
7301         * sysdeps/ia64/memcmp.S: New file.
7302         * sysdeps/ia64/memcpy.S: New file.
7303         * sysdeps/ia64/memmove.S: New file.
7304         * sysdeps/ia64/memset.S: New file.
7305         * sysdeps/ia64/strcat.S: New file.
7306         * sysdeps/ia64/strchr.S: New file.
7307         * sysdeps/ia64/strcmp.S: New file.
7308         * sysdeps/ia64/strcpy.S: New file.
7309         * sysdeps/ia64/strlen.S: New file.
7310         * sysdeps/ia64/strncmp.S: New file.
7311         * sysdeps/ia64/strncpy.S: New file.
7312         * sysdeps/ia64/softpipe.h: New file.
7313         Patches by Dan Pop <Dan.Pop@cern.ch>.
7315         * manual/memory.texi: Document memory handling functions (mlock,
7316         munlock, mlockall, munlockall, brk, and sbrk)
7317         * manual/time.texi: Document timespec and friends.
7318         * manual/conf.texi: Fix references.
7319         * manual/ctype.texi: Likewise.
7320         * manual/errno.texi: Likewise.
7321         * manual/intro.texi: Likewise.
7322         * manual/locale.texi: Likewise.
7323         * manual/sysinfo.texi: Likewise.
7324         Patches by Bryan Henderson <bryanh@giraffe-data.com>.
7326 2000-05-09  Jes Sorensen  <jes@linuxcare.com>
7328         * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
7329         * sysdeps/ia64/dl-lookupcfg.h: ...here.
7331 2000-05-21  Jakub Jelinek  <jakub@redhat.com>
7333         * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
7334         dxfer_direction.
7336 2000-05-21  Ulrich Drepper  <drepper@redhat.com>
7338         * locale/locale.h (struct lconv): Add new elements from ISO C99.
7339         * locale/localeconv.c: Initialize new elements from ISO C99.
7340         * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
7341         new standard elements.
7342         * locale/categories.def: Adjust accordingly.
7344         * iconv/iconv.h (iconv): Remove const from inbuf parameter.
7345         * iconv/iconv.c: Likewise.
7346         * conform/data/iconv.h-data: Likewise.
7347         * iconv/iconv_prog.c (process_block): Remove const from second
7348         parameter.
7349         (main): Remove const from addr definition.
7350         * manual/charset.texi (Generic Conversion Interface): Remove from
7351         inbuf parameter of iconv.
7353         * intl/dcigettext.c: Fix typo in comment.
7355 2000-05-20 2000  H.J. Lu  <hjl@gnu.org>
7357         * resolv/res_libc.c (_res): Initialize _sock to -1.
7359 2000-05-18  Jakub Jelinek  <jakub@redhat.com>
7361         * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
7362         (fopencookie@@GLIBC_2.2): New.
7363         (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
7364         (fopencookie@GLIBC_2.0): New.
7365         * libio/Versions: Add fopencookie to GLIBC_2.2.
7367 2000-05-18  Andreas Jaeger  <aj@suse.de>
7369         * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
7370         Closes PR libc/1731.
7372         * manual/arith.texi (Parsing of Integers): Fix typo.
7373         Closes PR libc/1744, reported by blp@gnu.org.
7375 2000-05-17  Jakub Jelinek  <jakub@redhat.com>
7377         * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
7378         __extension__ to hexadecimal floating constant notation.
7379         * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
7380         Likewise.
7381         * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
7382         * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
7383         Likewise.
7384         * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
7385         HUGE_VALL): Likewise.
7386         * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
7387         HUGE_VALL): Likewise.
7388         (HUGE_VALL): Set to HUGE_VAL on sparc32.
7390 2000-05-17  Andreas Jaeger  <aj@suse.de>
7392         * string/envz.h: Add pure attributes if possible.
7394         * string/argz.h: argz_count is a pure function.
7396         * string/strings.h: Add pure and const attributes if possible.
7398         * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
7399         possibly searching through the whole memory.
7400         Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
7402 2000-05-17  Jakub Jelinek  <jakub@redhat.com>
7404         * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
7405         not yet defined.
7406         (_dl_cache_check_flags): Likewise.
7407         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
7408         dl-cache.h.
7410 2000-05-17  Andreas Jaeger  <aj@suse.de>
7412         * manual/creature.texi (Feature Test Macros): Remove paragraph
7413         since the description is wrong.
7414         Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
7416         * scripts/config.sub: New version.
7417         * scripts/config.guess: Likewise.
7418         * manual/texinfo.tex: Likewise.
7420         * time/test_time.args: Removed.
7421         * time/Makefile (test_time-ARGS): Added contents here instead.
7423         * posix/tstgetopt.args: Removed.
7424         * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
7426         * Rules: Allow arguments for test files to be specified in
7427         Makefile with testname-ARGS; remove rules with .args in it.
7429         * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
7430         remove old bogus rule for opendir-tst1.args.
7432         * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
7434         * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
7435         into objdir.  This allows a readonly sourcetree.
7436         Reported by lrgallardo@yahoo.com, closes PR libc/1421.
7438 2000-05-16  Andreas Jaeger  <aj@suse.de>,
7439             David Huggins-Daines <dhd@linuxcare.com>
7441         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
7442         cache_data in case of only new cache format correctly.
7444         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
7445         cache_file_new.
7447         * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
7448         struct cache_file_new.
7450         * elf/cache.c (save_cache): Fix str_offset if only new cache is
7451         present.
7453         * elf/cache.c (save_cache): Align struct new_file_cache.
7454         (print_cache): Likewise.
7456 2000-05-13  Jakub Jelinek  <jakub@redhat.com>
7458         * elf/soinit.c (__libc_global_ctors): Move
7459         __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
7460         * resolv/resolv.h (__res_state): Added __attribute__((const)).
7461         (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
7462         variable, don't define it to __res_state call.
7464 2000-05-13  Andreas Jaeger  <aj@suse.de>
7466         * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
7467         Linux 2.3.99pre7.
7468         (AF_PPPOX): Likewise.
7469         * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
7470         (AF_PPPOX): Likewise.
7472 2000-05-12  Andreas Jaeger  <aj@suse.de>
7474         * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
7475         Reported by tmoestl@gmx.net, closes PR libc/1732.
7477 2000-05-11  Jan Hubicka  <jh@suse.cz>
7479         * misc/sys/cdefs.h: Add support for pure attribute.
7481         * include/string.h: Add __attribute_pure__ to various functions.
7482         * string/string.h: Likewise.
7484 2000-05-10  Jakub Jelinek  <jakub@redhat.com>
7486         * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
7487         argument.
7488         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7489         R_SPARC_UA64.
7490         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
7492 2000-05-10  Jakub Jelinek  <jakub@redhat.com>
7494         * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
7495         at proper place.  Compute the high nibble correctly.
7497 2000-05-09  Jakub Jelinek  <jakub@redhat.com>
7499         * elf/ldconfig.c: Include elf.h.
7501         * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
7502         (_dl_vsym): Likewise.
7503         Reported by Owen Taylor <otaylor@redhat.com>.
7505         * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
7506         always.
7508 2000-05-08  Andreas Jaeger  <aj@suse.de>
7510         * include/libintl.h: Add prototype for __bind_textdomain_codeset.
7512         * intl/bindtextdom.c (set_binding_values): Add prototype.
7514 2000-05-08  Jakub Jelinek  <jakub@redhat.com>
7516         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
7517         call to elf_machine_fixup_plt.
7518         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7519         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7521 2000-05-08  Jakub Jelinek  <jakub@redhat.com>
7523         * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
7524         they are not dlclose'd from underneath us.
7526 2000-05-08  Andreas Schwab  <schwab@suse.de>
7528         * posix/execle.c: Fix size parameter of memcpy.
7530 2000-05-08  Andreas Schwab  <schwab@suse.de>
7532         * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file.  Use
7533         getpagesize syscall if available.
7535 2000-05-08  Andreas Jaeger  <aj@suse.de>
7537         * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
7538         set errno.
7540 2000-05-08  Jakub Jelinek  <jakub@redhat.com>
7542         * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
7543         sizeof(struct link_map *) chunks, not in bytes.
7545 2000-05-07  Ulrich Drepper  <drepper@redhat.com>
7547         * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS.  It's
7548         only needed for locale.
7549         * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
7550         It's only needed for catgets.
7551         Patches by Greg McGary <gkm@eng.ascend.com>.
7553 2000-05-07  Mark Kettenis  <kettenis@gnu.org>
7555         * nss/nss_db/db-open.c: Cleanup and add comments.  Pretty print.
7556         Remove duplicate <errno.h> include.  Remove inclusion of
7557         <libintl.h> and "nsswitch.h".
7558         (set_cloexec_flag): New function, broken out of dbopen.
7559         (dbopen): Changed return type to `enum
7560         nss_status'.  Mostly rewritten to make sure that we do not report
7561         NSS_STATUS_SUCCESS if something went wrong.  Remove unnecessary casts.
7562         (internal_setent): Change return type to nss_status.
7563         Document, and make sure that the function
7564         behaves accordingly.  Make dynamically loading the database
7565         library really thread-safe and return NSS_STATUS_UNAVAIL if it
7566         failed.
7567         (db_cursor): Return ENOMEM is memory allocation failed.  Remove
7568         unecessary casts.
7569         * nss/nss_db/dummy-db.h: Add copyright notice.  Improve
7570         documentation.
7571         (struct dbc24, struct dbc27): Use DBT type in parameter lists for
7572         c_get function member.
7573         * nss/nss_db/nss_db.h: Add and tweak some comments.
7574         (DBT): Move typedef before NSS_DBC typedef.
7575         (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
7577 2000-05-07  H.J. Lu  <hjl@gnu.org>
7579         * csu/initfini.c: Moved to ....
7580         * sysdeps/generic/initfini.c: ...here.
7582         * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
7584 2000-05-07  Ulrich Drepper  <drepper@redhat.com>
7586         * manual/resource.texi: Document POSIX scheduling functions.
7587         Patch by Bryan Henderson <bryanh@giraffe-data.com>.
7589         * inet/rcmd.c (rcmd_af): errno is not set if read returns without
7590         reading anything.  Reported by Andries.Brouwer@cwi.nl.
7592         * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
7593         for x since promotion in comparison might leads to unexpected
7594         results.  Reported by Dan Pop <Dan.Pop@cern.ch>.
7596         * iconv/Makefile (tests): Add tst-iconv1.
7597         * iconv/tst-iconv1.c: New file.
7598         * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
7599         empty input buffer over full output buffer.
7600         (ucs4_internal_loop): Likewise.
7601         (ucs4_internal_loop_unaligned): Likewise.
7602         (internal_ucs4le_loop): Likewise.
7603         (internal_ucs4le_loop_unaligned): Likewise.
7604         (ucs4le_internal_loop): Likewise.
7605         (ucs4le_internal_loop_unaligned): Likewise.
7606         Reported by yaoz@nih.gov.
7608 2000-05-06  Bruno Haible  <haible@clisp.cons.org>
7610         * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
7611         returned != __GCONV_OK, there is nothing to clean up.
7613 2000-05-06  Bruno Haible  <haible@clisp.cons.org>
7615         * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
7616         OUTPUT_CHARSET environment variables.
7618 2000-05-06  Andreas Jaeger  <aj@suse.de>
7620         * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
7621         (struct cache_file_new): New.
7622         (struct file_entry): New (moved from cache.c).
7623         (struct cache_file): New (moved from cache.c).
7625         * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
7626         from _dl_load_cache_lookup.
7627         (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
7628         the different cache formats.
7629         New variable cache_new for new format.
7631         * elf/ldconfig.h: Change according to changes in cache.c and
7632         ldconfig.c; remove cache_libcmp; add opt_format.
7634         * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
7635         stuff that's defined in those headers.
7636         Add hwcap to struct lib_entry.
7637         (opt_format): New variable to select cache format.
7638         (options): Add format parameter.
7639         (is_hwcap): New function.
7640         (path_hwcap): New function.
7641         (parse_opt): Handle new format parameter.
7642         (search_dir): Handle hwcap, search also subdirectories with hwcap.
7644         * elf/cache.c (_GNU_SOURCE): Removed.  Not needed anymore since
7645         ldconfig is part of glibc.
7646         Include dl-cache.h and remove stuff that's defined there.
7647         (struct cache_entry): Add new member hwcap.
7648         (print_entry): Print hwcap, cleanup a bit.
7649         (print_cache): Print new and old formats.
7650         (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
7651         (save_cache): Save new and old formats.
7652         (add_to_cache): Handle hwcap.
7654         * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
7655         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
7656         * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
7657         * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
7658         * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
7659         * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
7661 2000-05-05  Bruno Haible  <haible@clisp.cons.org>
7663         * intl/dcigettext.c (alignof): New macro.
7664         (_nl_find_msg): Use it instead of __alignof__. Pass correct output
7665         buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
7666         freemem_size to 0.
7668 2000-05-05  Bruno Haible  <haible@clisp.cons.org>
7670         * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
7671         return value.
7673 2000-05-06  Ulrich Drepper  <drepper@redhat.com>
7675         * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
7676         (mempcpy): Correct typo is parameter list.
7678 2000-05-06  Andreas Jaeger  <aj@suse.de>
7680         * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
7681         functions unless -ffast-math is given to gcc.
7683 2000-05-06  Ulrich Drepper  <drepper@redhat.com>
7685         * po/ko.po: Update from translation team.
7687 2000-05-05  Ulrich Drepper  <drepper@redhat.com>
7689         * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
7690         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
7691         * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
7692         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
7693         * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
7694         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
7696         * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
7697         * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
7698         * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
7700         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
7701         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
7702         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
7703         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
7705         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
7706         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
7708 2000-05-05  Jes Sorensen  <jes@linuxcare.com>
7710         * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
7711         * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
7713         * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
7714         * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
7716         * sysdeps/ia64/Implies: New file.
7717         * sysdeps/ia64/Versions: New file.  Declare _dl_symbol_address.
7718         * sysdeps/ia64/Makefile: New file.
7719         * sysdeps/ia64/gmp-mparam.h: New file,
7721         * sysdeps/ia64/elf/start.S: New file.
7723         * sysdeps/ia64/bits/fenv.h: New file.
7725 2000-05-05  David Mosberger-Tang  <davidm@hpl.hp.com>
7727         * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
7729 2000-04-26  Jes Sorensen  <Jes.Sorensen@cern.ch>
7731         * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file.  The
7732         ia64 has 64 bit .hash entries just as the Alpha.
7734 2000-04-25  Jes Sorensen  <Jes.Sorensen@cern.ch>
7736         * sysdeps/ia64/memprof.h: New file.  Provide GETSP() macro.
7738 2000-04-17  Jes Sorensen  <Jes.Sorensen@cern.ch>
7740         * sysdeps/ia64/fpu/fclrexcpt.c: New file.
7741         * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
7742         * sysdeps/ia64/fpu/feenablxcpt.c: New file.
7743         * sysdeps/ia64/fpu/fegetenv.c: New file.
7744         * sysdeps/ia64/fpu/fegetexcept.c: New file.
7745         * sysdeps/ia64/fpu/fegetround.c: New file.
7746         * sysdeps/ia64/fpu/feholdexcpt.c: New file.
7747         * sysdeps/ia64/fpu/fesetenv.c: New file.
7748         * sysdeps/ia64/fpu/fesetround.c: New file.
7749         * sysdeps/ia64/fpu/feupdateenv.c: New file.
7750         * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
7751         * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
7752         * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
7753         * sysdeps/ia64/fpu/ftestexcept.c: New file.
7755 2000-05-05  Andreas Jaeger  <aj@suse.de>
7757         * misc/tst-tsearch.c (main): Correct type for initstate argument.
7759         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
7760         (_dl_string_hwcap): New, does nothing.
7762         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
7763         (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
7764         (_dl_string_hwcap): New function, converts from string to hwcap
7765         encoding.
7766         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
7767         (_DL_HWCAP_COUNT): New.
7768         (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
7769         (_dl_string_hwcap): New function, converts from string to hwcap
7770         encoding.
7771         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
7772         (_DL_HWCAP_COUNT): New.
7773         (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
7774         (_dl_string_hwcap): New function, converts from string to hwcap
7775         encoding.
7777 2000-05-05  Ulrich Drepper  <drepper@redhat.com>
7779         * elf/Makefile (distribute): Add dl-lookupcfg.h.
7780         * sysdeps/ia64/Dist: New file.
7782         * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
7783         parameter to mprotect and for variable assignments.
7785 2000-05-03  Jes Sorensen  <jes@linuxcare.com>
7787         * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
7788         validity of map before dereferencing it.
7790         * elf/dl-reloc.c (RESOLVE_MAP): Define.
7792 2000-05-02  Jes Sorensen  <jes@linuxcare.com>
7794         * elf/dl-runtime.c (fixup): Add the value returned in the symbol
7795         lookup to the arguments to elf_machine_fixup_plt().
7797         * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
7798         of the symbol being resolved to input argument list and make the
7799         function return the pointer to the reloc.
7801         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
7802         return valuie to lookup_t and return the value.
7803         * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
7804         * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
7805         * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
7806         * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
7807         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
7808         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
7810         * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
7811         Make it an inline function returning value after calling
7812         __elf_machine_fixup_plt().
7814         * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
7815         symbol address.
7817         * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
7818         obtain the symbol address.
7820         * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
7821         depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
7823         * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
7824         _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
7825         inline on non ia64.
7827 2000-04-28  Jes Sorensen  <jes@linuxcare.com>
7829         * elf/dl-runtime.c (fixup): Use the portable macros to get the
7830         symbol address of an object.
7832         * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
7833         the symbol address of an object.
7835         * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
7836         * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
7837         (_dl_lookup_symbol_skip): Likewise.
7838         (_dl_lookup_versioned_symbol): Likewise.
7839         (_dl_lookup_versioned_symbol_skip): Likewise.
7841 2000-04-27  Jes Sorensen  <jes@linuxcare.com>
7843         * elf/rtld.c (_dl_start): Get the function pointer return address
7844         via _dl_start_address for architectures that need a function
7845         pointer descriptor rather than just a pointer (ia64).
7847         * sysdeps/generic/dl-lookupcfg.h: New file.
7848         * sysdeps/ia64/dl-lookupcfg.h: New file.
7849         * sysdeps/ia64/dl-machine.h: New file.
7850         * sysdeps/ia64/dl-symaddr.c: New file.
7851         * sysdeps/ia64/dl-fptr.c: New file.
7853         * elf/elf.h: Add IA-64 specific definitions.
7855 2000-05-04  Jakub Jelinek  <jakub@redhat.com>
7857         * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
7858         end of enum.
7860 2000-05-04  Jakub Jelinek  <jakub@redhat.com>
7862         * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
7863         happy.
7865 2000-04-11  Geoff Keating  <geoffk@cygnus.com>
7867         * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
7868         symbol.  Call _dl_init rather than the old way.
7870 2000-05-04  Ulrich Drepper  <drepper@redhat.com>
7872         * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
7873         test for pointer in range of DSO address space.
7875 2000-05-04  Andreas Jaeger  <aj@suse.de>
7877         * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
7879 2000-05-03  Ulrich Drepper  <drepper@redhat.com>
7881         * locale/findlocale.c (_nl_find_locale): Add new parameter to
7882         calls of _nl_make_l10nflist.
7884         * libio/stdio.h: Make fseeko and ftello prototypes available is
7885         __USE_LARGEFILE.  Patch by Paul Eggert <eggert@twinsun.com>.
7887         * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
7888         real unsetenv implementation from 1999-07-29 [PR libc/1714].
7890 2000-05-03  Bruno Haible  <haible@clisp.cons.org>
7892         * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
7893         before calling tfind.
7895 2000-03-05  Jakub Jelinek  <jakub@redhat.com>
7897         * resolv/resolv.h (res_querydomain): Remove redefinition to
7898         __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
7900 2000-05-03  Ulrich Drepper  <drepper@redhat.com>
7902         * po/gl.po: Update from translation team.
7904         * manual/intro.texi (Program Basics): Change section title.
7905         * manual/process.texi: Fix reference.
7906         (Executing a File): Add reference exec in other section.
7907         * manual/signal.texi: Fix reference.
7908         * manual/startup.texi: Document syscall function.
7909         Patches by Bryan Henderson <bryanh@giraffe-data.com>.
7911 2000-04-29  Bruno Haible  <haible@clisp.cons.org>
7913         * intl/libintl.h (bind_textdomain_codeset): New declaration.
7914         * intl/bindtextdom.c (set_binding_values): New function.
7915         (bindtextdomain): Call it.
7916         (bind_textdomain_codeset): New function.
7917         * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
7918         (free_mem): Free each binding's codeset.
7919         * intl/gettextP.h (struct binding): Add codeset field.
7920         (_nl_find_domain): Add domainbinding argument.
7921         * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
7922         Pass it to _nl_make_l10nflist.
7923         * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
7924         (_nl_make_l10nflist): Add domainbinding argument.
7925         * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
7926         * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
7927         codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
7928         locale_charset().
7929         * manual/message.texi: New node "Charset conversion in gettext".
7931 2000-04-30  Bruno Haible  <haible@clisp.cons.org>
7933         * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
7934         appropriate.  Handle possible __read error.
7936 2000-04-29  Bruno Haible  <haible@clisp.cons.org>
7938         * intl/gettextP.h (__builtin_expect): Define as empty if not a
7939         compiler builtin.
7940         * intl/loadinfo.h (__builtin_expect): Likewise.
7941         * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
7942         __builtin_expect where appropriate.
7943         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7944         * intl/localealias.c (extend_alias_table): Return an error indicator.
7945         (read_alias_file): Bail out if extend_alias_table fails.
7947 2000-04-29  Bruno Haible  <haible@clisp.cons.org>
7949         * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
7950         * intl/localealias.c: Likewise.
7952 2000-05-01  Bruno Haible  <haible@clisp.cons.org>
7954         * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
7955         Initialize domain->plural and domain->nplurals even if there is no
7956         nullentry.
7958 2000-05-01  Bruno Haible  <haible@clisp.cons.org>
7960         * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
7961         value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
7962         In case of failure, goto converted.
7964 2000-05-01  Bruno Haible  <haible@clisp.cons.org>
7966         * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
7967         * iconv/gconv_int.h (norm_add_slashes): Move to here.
7968         * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
7969         __gconv_open.
7971 2000-04-29  Bruno Haible  <haible@clisp.cons.org>
7973         * intl/dcigettext.c (transcmp): Compare the domains as well.
7974         (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
7975         not before.
7976         * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
7977         <errno.h>.
7979 2000-05-03  Ulrich Drepper  <drepper@redhat.com>
7981         * string/bits/string2.h: Declare __strdup and __strndup if necessary.
7982         Reported by Bruno Haible.
7984 2000-04-29  Bruno Haible  <haible@clisp.cons.org>
7986         * manual/arith.texi: Remove @w from @itemize.
7988 2000-05-02  Andreas Jaeger  <aj@suse.de>
7990         * conform/data/tar.h-data: Add some checks for specific values.
7992         * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
7993         and RAND_MAX.
7995         * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
7996         FOPEN_MAX.
7998         * conform/data/netinet/in.h-data: Add exact checks for the values
7999         fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
8001         * conform/data/float.h-data: Add some minimal values.
8003         * conform/conformtest.pl: Test for macros with string constants,
8004         check for minimum and maximum values.
8005         Add limits.h to headers.
8007         * conform/data/cpio.h-data: Test for value of MAGIC.
8009         * conform/data/limits.h-data: New file.
8011 2000-04-30  Bruno Haible  <haible@clisp.cons.org>
8013         * math/Makefile (headers): Add bits/fenvinline.h.
8015 2000-05-01  Ulrich Drepper  <drepper@redhat.com>
8017         * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
8018         * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
8020         * posix/Versions: Change posix_spawnattr_getdefault and
8021         posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
8022         and posix_spawnattr_setsigdefault respectively.
8023         * posix/spawn.h: Likewise.
8024         * posix/spawnattr_getdefault.h: Likewise.
8025         * posix/spawnattr_setdefault.h: Likewise.
8026         * conform/data/spawn.h-data: Likewise.
8028 2000-05-01  Andreas Jaeger  <aj@suse.de>
8030         * nscd/nscd.c: Include <grp.h> for setgroups prototype.
8032 2000-04-30  Ulrich Drepper  <drepper@redhat.com>
8034         * manual/sysinfo.texi: Document getdomainname, setdomainname
8035         and sysctl.
8036         * manual/string.texi: Fix typo.
8037         * manual/terminal.texi: Document gtty and stty.
8038         Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8040 2000-04-30  Andreas Jaeger  <aj@suse.de>
8042         * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
8043         accordance with Austin Draft.
8045 2000-04-30  Ulrich Drepper  <drepper@redhat.com>
8047         * catgets/gencat.c (read_input_file): Use isblank and not isspace
8048         to recognize second character in comment line.
8050         * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
8051         ENOBUFS if we are out of memory.
8053         * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
8054         available if __USE_XOPEN2K.
8055         * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
8056         * sysdeps/unix/common/bits/fcntl.h: Likewise.
8057         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
8058         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8059         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
8060         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8061         * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
8062         * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
8064 2000-04-29  Ulrich Drepper  <drepper@redhat.com>
8066         * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
8067         Recognize option -s, -c, and -l.
8069 2000-04-20  Thorsten Kukuk  <kukuk@suse.de>
8071         * nscd/nscd.c: Start new session for nscd, drop privilegs
8072         to configured user if requested and no -S parameter are used.
8073         * nscd/nscd.conf: Add new option "server-user".
8074         * nscd/nscd_conf.c: Add support for new "server-user" option.
8075         * nscd/nscd.h: Add declaration for server_user variable.
8076         Based on patch by Chris Wing <wingc@engin.umich.edu>
8078 2000-04-29  Mark Kettenis  <kettenis@gnu.org>
8080         * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
8081         that changing the __restore and __restore_rt signal return code
8082         will break GDB.
8084 2000-04-29  Mark Kettenis  <kettenis@gnu.org>
8086         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
8087         <sys/user.h>.
8089 2000-04-29  Mark Kettenis  <kettenis@gnu.org>
8091         * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
8093 2000-04-29  Ulrich Drepper  <drepper@redhat.com>
8095         * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
8096         sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
8097         arpa/inet.h.
8098         * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
8099         SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
8100         S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
8101         S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
8102         S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
8103         POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
8104         POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
8105         posix_fallocate, and posix_madvise.
8106         * conform/data/netdb.h-data: New file.
8107         * conform/data/pthread.h-data: Add pthread_barrier_t,
8108         pthread_barrierattr_t, pthread_barrier_destroy,
8109         pthread_barrier_init, pthread_barrier_wait,
8110         pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
8111         pthread_barrierattr_init, pthread_barrierattr_setpshared,
8112         pthread_condattr_getclock, pthread_condattr_setclock,
8113         pthread_getcpuclockid, pthread_mutex_timedlock,
8114         pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
8115         pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
8116         pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
8117         * conform/data/sched.h-data: Add sched_ss_low_priority,
8118         sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
8119         SCHED_SPORADIC.
8120         * conform/data/semaphore.h-data: Add sem_timedwait.
8121         * conform/data/signal.h-data: Add SIGIO.
8122         * conform/data/spawn.h-data: New file.
8123         * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
8124         * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
8125         CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
8126         Fix typo in gmtime_r definition.
8127         * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
8128         _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
8129         _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
8130         _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
8131         _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
8132         _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
8133         _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
8134         _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
8135         _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
8136         _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
8137         _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
8138         _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
8139         _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
8140         _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
8141         _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
8142         _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
8143         _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
8144         _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
8145         _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
8146         _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid.  Fix
8147         typo in off_t definition.
8148         * conform/data/net/if.h-data: New file.
8149         * conform/data/netinet/in.h-data: New file.
8150         * conform/data/netinet/tcp.h-data: New file.
8151         * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
8152         POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
8153         POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
8154         POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
8155         posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
8156         and posix_typed_mem_open.
8157         * conform/data/sys/socket.h-data: New file.
8158         * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
8159         * conform/data/sys/types.h-data: Add pthread_barrier_t,
8160         pthread_barrierattr_t, and pthread_spinlock_t.
8161         * conform/data/sys/un.h-data: New file.
8162         * conform/data/sys/utsname.h-data: New file.
8164         * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
8165         parameter.
8166         * inet/gethstbyad.c (gethostbyname): Likewise.
8167         * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
8168         * inet/getipnodebyad.c (getipnodebyad): Likewise.
8169         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
8170         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
8171         Likewise.
8172         * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
8173         * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
8174         * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
8175         * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
8176         * resolv/gethnamaddr.c (gethostbyname): Likewise.
8177         * resolv/netdb.h (struct hostent): Fix type of h_length member.
8178         (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
8179         and second parameter.
8181         * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
8182         == NULL.
8184 2000-04-29  Andreas Jaeger  <aj@suse.de>
8186         * conform/data/arpa/inet.h-data: New file.
8188 2000-04-28  Geoff Clare <gwc@unisoft.com>
8190         * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
8191         path passed to ftw() or nftw() is an empty string.
8192         Closes PR libc/1710.
8194 2000-04-27  Ulrich Drepper  <drepper@redhat.com>
8196         * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
8197         (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
8198         * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
8199         * localedata/tst-mbswcs4.c: New file.
8200         * localedata/tst-mbswcs5.c: New file.
8202         * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
8203         == NULL.  Little optimization.
8205         * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
8206         DT_PREINIT_ARRAYSZ).
8207         Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
8209         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
8210         overflows in conversion from ASCII.
8212 2000-04-26  Jakub Jelinek  <jakub@redhat.com>
8214         * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
8215         * Makerules (full_config_sysdirs): Likewise.
8216         * MakeTAGS (full_config_sysdirs): Likewise.
8218 2000-04-26  Jakub Jelinek  <jakub@redhat.com>
8220         * .cvsignore: Remove linuxthreads.
8221         * po/.cvsignore: Remove *.pot.
8222         * posix/glob/.cvsignore: Removed.
8223         * sysdeps/unix/bsd/osf/.cvsignore: Removed.
8225 2000-04-25  Andreas Jaeger  <aj@suse.de>
8227         * conform/Makefile (distribute): Also distribute contents of
8228         subdirectories.
8230         * Makerules (no_deps): Remove abi-versions.h.
8232         * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
8234 2000-04-25  Jakub Jelinek  <jakub@redhat.com>
8236         * sysdeps/sparc/sparc64/elf/Dist: Remove.
8237         * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
8238         * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
8239         * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
8240         * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
8241         * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
8242         objects.
8244 2000-04-25  Thorsten Kukuk  <kukuk@suse.de>
8246         * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
8248 2000-04-23  Bruno Haible  <haible@clisp.cons.org>
8250         * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
8251         * intl/l10nflist.c: Likewise.
8253 2000-04-23  Bruno Haible  <haible@clisp.cons.org>
8255         * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
8256         __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
8257         * intl/textdomain.c [!_LIBC]: Likewise.
8258         * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
8259         __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
8260         * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
8261         syntax error.
8263 2000-04-23  Bruno Haible  <haible@clisp.cons.org>
8265         * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
8266         character set conversion also in the case the translation was found
8267         after a hash collision or through binary search.  Store the maximum
8268         index together with the converted message.  Use iconv() when available.
8269         In case of out of memory during conversion, return the unconverted
8270         translated string, not NULL.
8272 2000-04-25  Jes Sorensen  <Jes.Sorensen@cern.ch>
8274         * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
8275         to avoid name clashes with the ia32 linker.
8277 2000-04-25  Jakub Jelinek  <jakub@redhat.com>
8279         * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
8280         handling.
8282 2000-04-27  Ulrich Drepper  <drepper@redhat.com>
8284         * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
8285         strtoumax, strfry, and memfrob.
8286         * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
8287         Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8289         * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
8290         if this function is available.
8292         * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
8293         all values.
8295 2000-04-27  Jakub Jelinek  <jakub@redhat.com>
8297         * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
8299 2000-04-27  Ulrich Drepper  <drepper@redhat.com>
8301         * localedata/Makefile (test-srcs); Add tst-mbswcs3.
8302         Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
8303         * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
8304         * localedata/tst-mbswcs3.c: New file.
8306 2000-04-26  Ulrich Drepper  <drepper@redhat.com>
8308         * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
8309         characters.  Don't handle incomplete characters as errors.
8310         * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
8311         * localedata/Makefile (test-srcs): Add tst-mbswcs2.
8312         Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
8313         * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
8314         * localedata/tst-mbswcs2.c: New file.
8316         * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
8317         stored character in state in UNPACK_BYTES macro.
8318         * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work.  Correct
8319         test for available characters, handle result of BODY code correctly.
8320         * localedata/Makefile (test-srcs): Add tst-mbswcs1.
8321         (distribute): Add tst-mbswcs.sh.
8322         Add rule to run tst-mbswcs.sh.
8323         * localedata/tst-mbswcs.sh: New file.
8324         * localedata/tst-mbswcs1.c: New file.
8326 2000-04-26  Jakub Jelinek  <jakub@redhat.com>
8328         * nis/nis_callback.c (__nis_create_callback): Do failed memory
8329         allocation fixups centrally, fix __builtin_expect call, return NULL
8330         on failure, not NIS_NOMEMORY.
8332 2000-04-27  Bruno Haible  <haible@clisp.cons.org>
8334         * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
8336         * intl/loadinfo.h (internal_function): Define if not already defined.
8338 2000-04-27  Andreas Jaeger  <aj@suse.de>
8340         * intl/libintl.h: Fix typo, reported by Bruno Haible
8341         <haible@clisp.cons.org>.
8343 2000-04-25  Ulrich Drepper  <drepper@redhat.com>
8345         * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
8346         setting the state to GMON_PROF_BUSY.
8348 2000-04-24  Ulrich Drepper  <drepper@redhat.com>
8350         * elf/dl-profile.c (_dl_start_profile): define all variables which
8351         do not have to be global as local variables.
8353         * nis/nis_callback.c (__nis_create_callback): Partially undo last
8354         patch.  Keep needed tests for failed memory allocation.
8356         * elf/dl-reloc.c (_dl_relocate_object): Add one more
8357         __builtin_expect saying that we don't normally expect to profile.
8359         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
8360         __builtin_expect where desirable.
8362 2000-04-23  Ulrich Drepper  <drepper@redhat.com>
8364         * manual/Makefile (chapters): Add syslog.
8365         * manual/syslog.texi: New file.
8366         * manual/math.texi: Fix references.
8367         * manual/terminal.texi: Likewise.
8368         Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8370 2000-04-18  Jakub Jelinek  <jakub@redhat.com>
8372         * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
8373         stdlib.h was not included or __USE_XOPEN not defined.
8375 2000-04-23  Ulrich Drepper  <drepper@redhat.com>
8377         * nss/Makefile (libnss_db-dbs): Remove stray backslash.
8378         Patch by Zack Weinberg <zack@wolery.cumb.org>.
8380 2000-04-22  Ulrich Drepper  <drepper@redhat.com>
8382         * manual/examples/subopt.c (mount_opts): Add missing terminating
8383         entry.
8384         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
8386         * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
8387         * libio/ftello.c: Likewise.
8388         * libio/ftello64.c: Likewise.
8389         * libio/ioftell.c: Likewise.
8390         * sysdeps/generic/memrchr.c: Likewise.
8391         * sysdeps/posix/libc_fatal.c: Likewise.
8392         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
8393         * misc/fstab.c: Include <string.h> for strcmp prototype.
8394         * sysdeps/generic/ldsodefs.h: Likewise.
8395         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8396         Patch by Kurt Roeckx <Q@ping.be>.
8398         * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
8399         Remove db-open.  Change all uses.
8400         (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
8402 2000-04-21  Jakub Jelinek  <jakub@redhat.com>
8404         * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
8405         * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
8406         * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
8407         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
8408         with .set noat/at to shut up warnings.
8409         * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
8410         * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
8411         compilation if __NR_pciconfig_iobase is not defined.
8412         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
8413         Add alias.
8415 2000-04-21  Ulrich Drepper  <drepper@redhat.com>
8417         * manual/sysinfo.texi: Fix typo.
8418         * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
8419         Replace "high precision time" with "high accuracy clock".
8420         Fix language.
8421         Patches by Bryan Henderson <bryanh@giraffe-data.com>.
8423         * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
8424         * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
8425         instead of malloc.
8426         * nis/nis_subr.c: Use __builtin_expect.
8427         * nis/ypclnt.c: Likewise.
8428         * nis/nis_getservlist.c: Likewise.
8429         * nis/nis_creategroup.c: Likewise.
8431         * nis/nis_callback.c (__nis_create_callback): Check result of
8432         memory allocation.  Fix memory leaks.  Use __builtin_expect.
8433         (__nis_destroy_callback): Fix memory leaks.
8435 2000-04-21  Andreas Jaeger  <aj@suse.de>
8437         * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
8438         * sysdeps/mips/mips64/add_n.S: Likewise.
8439         * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
8440         * sysdeps/mips/mips64/lshift.S: Likewise.
8441         * sysdeps/mips/mips64/mul_1.S: Likewise.
8442         * sysdeps/mips/mips64/rshift.S: Likewise.
8443         * sysdeps/mips/mips64/setjmp.S: Likewise.
8444         * sysdeps/mips/mips64/sub_n.S: Likewise.
8445         * sysdeps/mips/mips64/submul_1.S: Likewise
8446         * sysdeps/unix/mips/sysdep.S: Likewise.
8448         * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
8449         and update comment.  The strtab from _dl_relocate_object can be
8450         used.
8452 2000-04-21  Ulrich Drepper  <drepper@redhat.com>
8454         * iconv/iconv.c (iconv): Add __builtin_expect where useful.
8455         * iconv/iconv_close.c (iconv_close): Likewise.
8456         * iconv/iconv_open.c (iconv_open): Likewise.
8458         * grp/putgrent.c (putgrent): Unlock steam if fprintf failed.  Add
8459         __builtin_expect where useful.
8461         * grp/initgroups.c (initgroups): Test for result of memory
8462         allocation and punt if it fails.
8464         * dirent/scandir.c (scandir): Add __builtin_expect where useful.
8465         * grp/fgetgrent.c (fgetfrent): Likewise.
8466         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
8468 2000-04-21  Jakub Jelinek  <jakub@redhat.com>
8470         * libio/vasprintf.c: Include string.h to get memcpy prototype.
8472 2000-04-20  Ulrich Drepper  <drepper@redhat.com>
8474         * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
8475         don't search for NUL byte to decrement counter.
8476         Reported by Ulrich.Brink@sap.com.
8478         * iconv/gconv_simple.c: Define separate functions to convert from
8479         UCS4/UCS4-LE to the internal encoding.
8480         * iconv/gconv_builtin.h: Use separate functions to convert from
8481         UCS4/UCS4-LE to the internal encoding.
8482         * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
8483         __gconv_transform_ucs4le_internal.
8485         * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
8486         output buffer overflow.  Reported by Ulrich.Brink@sap.com.
8488         * iconv/skeleton.c: Add some more __builtin_expect.
8489         * iconv/loop.c: Likewise.
8491 2000-03-08  H.J. Lu  <hjl@gnu.org>
8493         * posix/regex.c (regex_compile): Correctly handle "\{" when
8494         the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
8496 2000-04-20  Ulrich Drepper  <drepper@redhat.com>
8498         * manual/stdio.texi: Give advise about handling error when using
8499         stream functions.
8500         Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
8502 2000-04-19  Jakub Jelinek  <jakub@redhat.com>
8504         * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
8505         field to nelems * sizeof (uint32_t).
8506         * locale/programs/ld-address.c (address_output): Align word fields
8507         properly.
8508         * locale/programs/ld-monetary.c (monetary_output): Likewise.
8509         Don't restart idx pointers to idx end at the duo_int_curr_symbol
8510         field.
8511         Avoid giving arbitrary garbage in the crncystr field.
8512         Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
8513         uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
8514         fields.
8515         * locale/programs/ld-numeric.c (numeric_output): Likewise.
8516         Don't restart idx pointers to idx end at the decimal_point_wc field.
8517         * locale/programs/ld-time.c (time_output): week_1stday should be
8518         word, not byte.  Align it properly.
8520 2000-04-19  H.J. Lu  <hjl@gnu.org>
8522         * csu/gmon-start.c (_start): Declared as "extern void".
8523         (etext): Likewise.
8525 2000-04-18  Andreas Jaeger  <aj@suse.de>
8527         * manual/install.texi (Running make install): Don't mention utmpd
8528         anymore.
8530 2000-04-18  Andreas Jaeger  <aj@suse.de>
8532         * linuxthreads/Versions: Use ld instead of ld.so.
8534         * elf/Makefile (ld-map): Use ld.map.
8536         * Versions.def: Use ld instead of ld.so.
8537         * elf/Versions: Likewise.
8538         * sysdeps/mach/hurd/Versions: Likewise.
8540 2000-04-20  Andreas Jaeger  <aj@suse.de>
8542         * elf/rtld.c (print_statistics): Move ifndef further up.
8543         (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
8544         (dl_main): Likewise.
8546 2000-04-18  Ulrich Drepper  <drepper@redhat.com>
8548         * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
8549         * gmon/Versions: Move moncontrol to GLIBC_2.2.
8551         * po/cs.po: Update from translation team.
8553         * sysdeps/generic/updwtmp.c: Remove daemon support.
8555         * login/Makefile (routines): Remove utmp_daemon.
8557         * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
8558         * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
8559         * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
8560         * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
8562         * elf/rtld.c: Display statitics option also if hp timing is not
8563         available.
8565         * login/programs/connection.c: Removed.
8566         * login/programs/database.c Removed.
8567         * login/programs/error.c: Removed.
8568         * login/programs/request.c: Removed.
8569         * login/programs/xtmp.c: Removed.
8570         * login/programs/xtmp.h: Removed.
8571         * login/Makefile: Remove rules for utmpd.
8572         * login/README.utmpd: Removed.
8573         * login/utmp_daemon.c: Removed.
8574         * login/getutent_r.c: Remove references to daemon functions.
8575         * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
8576         declaration.
8578 2000-04-18  Andreas Jaeger  <aj@suse.de>
8580         * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
8581         2.2 for libnsl, libresolv, librt, libnss_*.
8583         * elf/rtld.c (process_dl_debug): Remove obsolete comment.
8585         * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
8587 2000-04-18  Ulrich Drepper  <drepper@redhat.com>
8589         * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
8590         * sysdeps/unix/sysv/aix/getegid.c: Likewise.
8591         * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
8592         * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
8593         * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
8594         * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
8595         * sysdeps/unix/sysv/aix/setregid.c: Likewise.
8596         * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
8597         * sysdeps/unix/sysv/aix/setgid.c: Likewise.
8598         * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
8599         * sysdeps/unix/sysv/aix/setegid.c: Likewise.
8600         * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
8601         * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
8602         it here.
8603         * sysdeps/unix/sysv/aix/msync.c: New file.
8604         * sysdeps/unix/sysv/aix/msgsnd.c: New file.
8605         * sysdeps/unix/sysv/aix/net/if.h: New file.
8606         * sysdeps/unix/sysv/aix/pipe.c: New file.
8607         * sysdeps/unix/sysv/aix/poll.c: New file.
8608         * sysdeps/unix/sysv/aix/rename.c: New file.
8609         * sysdeps/unix/sysv/aix/rmdir.c: New file.
8610         * sysdeps/unix/sysv/aix/select.c: New file.
8611         * sysdeps/unix/sysv/aix/semctl.c: New file.
8612         * sysdeps/unix/sysv/aix/semget.c: New file.
8613         * sysdeps/unix/sysv/aix/semop.c: New file.
8614         * sysdeps/unix/sysv/aix/sendto.c: New file.
8615         * sysdeps/unix/sysv/aix/setgroups.c: New file.
8616         * sysdeps/unix/sysv/aix/setpgid.c: New file.
8617         * sysdeps/unix/sysv/aix/setpgrp.c: New file.
8618         * sysdeps/unix/sysv/aix/setpriority.c: New file.
8619         * sysdeps/unix/sysv/aix/setrlimit.c: New file.
8620         * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
8621         * sysdeps/unix/sysv/aix/setsid.c: New file.
8622         * sysdeps/unix/sysv/aix/setsockopt.c: New file.
8623         * sysdeps/unix/sysv/aix/shmat.c: New file.
8624         * sysdeps/unix/sysv/aix/shmctl.c: New file.
8625         * sysdeps/unix/sysv/aix/shmdt.c: New file.
8626         * sysdeps/unix/sysv/aix/shmget.c: New file.
8627         * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
8628         * sysdeps/unix/sysv/aix/sigstack.c: New file.
8629         * sysdeps/unix/sysv/aix/socket.c: New file.
8630         * sysdeps/unix/sysv/aix/socketpair.c: New file.
8631         * sysdeps/unix/sysv/aix/speed.c: New file.
8632         * sysdeps/unix/sysv/aix/symlink.c: New file.
8633         * sysdeps/unix/sysv/aix/sync.c: New file.
8634         * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
8635         * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
8636         * sysdeps/unix/sysv/aix/times.c: New file.
8637         * sysdeps/unix/sysv/aix/ulimit.c: New file.
8638         * sysdeps/unix/sysv/aix/umask.c: New file.
8639         * sysdeps/unix/sysv/aix/unlink.c: New file.
8640         * sysdeps/unix/sysv/aix/ustat.c: New file.
8641         * sysdeps/unix/sysv/aix/utimes.c: New file.
8643 2000-04-18  Andreas Jaeger  <aj@suse.de>
8645         * manual/startup.texi (Environment Access): Fix putenv prototype
8646         according to recent changes.
8647         Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
8648         PR libc/1692.
8650         * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
8651         needed.
8653 2000-04-18  Ulrich Drepper  <drepper@redhat.com>
8655         * posix/Makefile (tests): Add tst-getaddrinfo.
8656         * posix/tst-getaddrinfo.c: New file.
8658 2000-04-17  Ulrich Drepper  <drepper@redhat.com>
8660         * manual/sysinfo.texi: Document that umount2 is not widely available.
8662         * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
8663         signal timing is not really implemented.
8665 2000-04-17  Andreas Jaeger  <aj@suse.de>
8667         * elf/rtld.c (process_dl_debug): Mention statistics in help message.
8669 2000-04-17  Jakub Jelinek  <jakub@redhat.com>
8671         * Makefile (install): Use slibdir and libdir instead of inst_slibdir
8672         and inst_libdir.
8674 2000-04-17  Ulrich Drepper  <drepper@redhat.com>
8676         * manual/intro.texi: Change reference from System Information to
8677         System Management.
8678         * manual/users.texi: Likewise.
8679         * manual/conf.texi: Likewise.
8680         * manual/sysinfo.texi: Document mount, umount, and umount2.
8681         Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8683 2000-04-17  Jakub Jelinek  <jakub@redhat.com>
8685         * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
8686         Create wnumstr as well as numstr to support wide character output
8687         correctly.
8689 2000-04-15  Jakub Jelinek  <jakub@redhat.com>
8691         * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
8692         modification and move it...
8693         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
8694         Add -melf64_sparc switch to $(LD) on sparc64-linux.
8695         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
8696         switch to $(LD) on sparc-linux.
8698 2000-04-17  Thorsten Kukuk  <kukuk@suse.de>
8700         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
8701         and setresuid from sysdep_routines.
8703 2000-04-17  Ulrich Drepper  <drepper@redhat.com>
8705         * manual/Makefile (chapters): Add resource.
8707         * manual/time.texi: Move section on resources to...
8708         * manual/resource.texi: ...here.  New file.  Document ulimit, vlimit,
8709         and vtimes.
8710         * manual/setjmp.texi: Adjust back reference.
8711         Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8713         * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
8714         definition.
8715         * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
8716         * sysdeps/unix/sysv/aix/kill.c: Add copyright.
8717         * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
8718         * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
8719         * sysdeps/unix/sysv/aix/execve.c: Add copyright.
8720         * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
8721         * sysdeps/unix/sysv/aix/close.c: Add copyright.
8722         * sysdeps/unix/sysv/aix/brk.c: Add copyright.
8723         * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
8724         * sysdeps/unix/sysv/aix/access.c: Add copyright.
8725         * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
8726         * sysdeps/unix/sysv/aix/Implies: New file.
8727         * sysdeps/unix/sysv/aix/Versions: New file.
8728         * sysdeps/unix/sysv/aix/bind.c: New file.
8729         * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
8730         * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
8731         * sysdeps/unix/sysv/aix/bits/poll.h: New file.
8732         * sysdeps/unix/sysv/aix/bits/termios.h: New file.
8733         * sysdeps/unix/sysv/aix/chdir.c: New file.
8734         * sysdeps/unix/sysv/aix/chmod.c: New file.
8735         * sysdeps/unix/sysv/aix/chroot.c: New file.
8736         * sysdeps/unix/sysv/aix/creat.c: New file.
8737         * sysdeps/unix/sysv/aix/dl-close.c: New file.
8738         * sysdeps/unix/sysv/aix/dl-open.c: New file.
8739         * sysdeps/unix/sysv/aix/dl-sym.c: New file.
8740         * sysdeps/unix/sysv/aix/fchdir.c: New file.
8741         * sysdeps/unix/sysv/aix/fchmod.c: New file.
8742         * sysdeps/unix/sysv/aix/getgroups.c: New file.
8743         * sysdeps/unix/sysv/aix/gethostname.c: New file.
8744         * sysdeps/unix/sysv/aix/getpriority.c: New file.
8745         * sysdeps/unix/sysv/aix/getrlimit.c: New file.
8746         * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
8747         * sysdeps/unix/sysv/aix/getrusage.c: New file.
8748         * sysdeps/unix/sysv/aix/link.c: New file.
8749         * sysdeps/unix/sysv/aix/madvise.c: New file.
8750         * sysdeps/unix/sysv/aix/mkdir.c: New file.
8751         * sysdeps/unix/sysv/aix/mknod.c: New file.
8752         * sysdeps/unix/sysv/aix/mprotect.c: New file.
8753         * sysdeps/unix/sysv/aix/msgctl.c: New file.
8754         * sysdeps/unix/sysv/aix/msgget.c: New file.
8755         * sysdeps/unix/sysv/aix/msgrcv.c: New file.
8757 2000-04-17  Andreas Jaeger  <aj@suse.de>
8759         * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
8760         as suggested by Ulrich Drepper.
8761         (__dl_runtime_resolve): Remove unused variable, initialize sym
8762         directly.
8763         (RTLD_START): Document OFFSET_GP_GOT.
8764         (OFFSET_GP_GOT): New magic value.
8765         (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
8766         (elf_machine_got_rel): Only declare strtab if needed.
8767         (elf_machine_relplt): Removed, it's not needed.
8768         (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
8770         * sysdeps/mips/add_n.S: Add newline at EOF.
8771         * sysdeps/mips/rshift.S: Likewise.
8772         * sysdeps/mips/mul_1.S: Likewise.
8773         * sysdeps/mips/lshift.S: Likewise.
8774         * sysdeps/mips/addmul_1.S: Likewise.
8776 2000-04-17  Ulrich Drepper  <drepper@redhat.com>
8778         * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
8780         * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
8781         * elf/dl-lookup.c: Likewise.
8782         * elf/dl-init.c (_dl_init): Likewise.
8783         * elf/dl-fini.c (_dl_fini): Likewise.
8784         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8785         * elf/dl-close.c (_dl_close): Likewise.
8786         * elf/rtld.c (_dl_start_final): Likewise.
8788         * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
8790 2000-04-15  Ulrich Drepper  <drepper@redhat.com>
8792         * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
8793         only fall back on using Linux.
8795         * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
8796         Before testing versions check that we actually loaded the object
8797         and whether we are in trace mode.  If not loaded during tracing don't
8798         test versions in this object.
8799         (_dl_check_all_versions): Take new parameter and pass to
8800         _dl_check_map_versions.
8801         * sysdeps/generic/ldsodefs.h: Update prototypes for
8802         _dl_check_all_versions and _dl_check_map_versions.
8803         * elf/rtld.c (struct version_check_args): Add dotrace.
8804         (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
8805         (dl_main): Pass info about trace mode to version_check_doit.
8806         * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
8807         _dl_check_all_versions.
8809         * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
8810         and getutmpx.
8811         Patch by Bryan Henderson <bryanh@giraffe-data.com>.
8813         * manual/argp.texi: Document index parameter of argp_parse.
8814         Fix typo.
8815         Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
8817 2000-04-14  Andreas Jaeger  <aj@suse.de>
8819         * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
8820         SHMFS_SUPER_MAGIC.  Remove definition of SHMFS_SUPER_MAGIC.
8822         * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
8824 2000-04-15  Ulrich Drepper  <drepper@redhat.com>
8826         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
8827         compat_symbol call for old adjtime.
8829         * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
8830         function interface.  Patch by Richard Henderson <rth@cygnus.com>.
8832         * posix/Makefile (headers): Add spawn.h.
8833         (distribute): Add spawn_int.h.
8834         (routines): Add spawn_faction_init, spawn_faction_destroy,
8835         spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
8836         spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
8837         spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
8838         spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
8839         * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
8840         posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
8841         posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
8842         posix_spawnattr_init, posix_spawnattr_destroy,
8843         posix_spawnattr_getdefault, posix_spawnattr_setdefault,
8844         posix_spawnattr_getflags, posix_spawnattr_setflags,
8845         posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
8846         and posix_spawnp.
8847         * posix/spawn.c: New file.
8848         * posix/spawn.h: New file.
8849         * posix/spawn_faction_addclose.c: New file.
8850         * posix/spawn_faction_adddup2.c: New file.
8851         * posix/spawn_faction_addopen.c: New file.
8852         * posix/spawn_faction_destroy.c: New file.
8853         * posix/spawn_faction_init.c: New file.
8854         * posix/spawn_int.h: New file.
8855         * posix/spawnattr_destroy.c: New file.
8856         * posix/spawnattr_getdefault.c: New file.
8857         * posix/spawnattr_getflags.c: New file.
8858         * posix/spawnattr_getpgroup.c: New file.
8859         * posix/spawnattr_getschedparam.c: New file.
8860         * posix/spawnattr_getschedpolicy.c: New file.
8861         * posix/spawnattr_getsigmask.c: New file.
8862         * posix/spawnattr_init.c: New file.
8863         * posix/spawnattr_setdefault.c: New file.
8864         * posix/spawnattr_setflags.c: New file.
8865         * posix/spawnattr_setpgroup.c: New file.
8866         * posix/spawnattr_setschedparam.c: New file.
8867         * posix/spawnattr_setschedpolicy.c: New file.
8868         * posix/spawnattr_setsigmask.c: New file.
8869         * posix/spawni.c: New file.
8870         * posix/spawnp.c: New file.
8872         * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
8873         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
8875 2000-04-14  Ulrich Drepper  <drepper@redhat.com>
8877         * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
8878         * malloc/malloc.c: Implement posix_memalign for glibc.
8879         * include/stdlib.h: Add prototype for __posix_memalign.
8880         * stdlib/stdlib.h: Add prototype for posix_memalign.
8882 2000-04-14  Andreas Jaeger  <aj@suse.de>
8884         * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
8885         symidx correctly.
8886         (elf_machine_got_rel): Cast sym correctly.
8888         * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
8889         * sysdeps/mips/addmul_1.S: Likewise.
8890         * sysdeps/mips/lshift.S: Likewise.
8891         * sysdeps/mips/mul_1.S: Likewise.
8892         * sysdeps/mips/rshift.S: Likewise.
8893         * sysdeps/mips/sub_n.S: Likewise.
8894         * sysdeps/mips/submul_1.S: Likewise.
8896         * stdlib/stdlib.h: Fix typo in comment.
8898         * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
8899         2.2 for libdl, ld and libm.
8901         * sysdeps/generic/madvise.c: Fix typos.
8903         * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
8905         * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
8907         * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
8908         warnings.
8910 2000-04-14  Ulrich Drepper  <drepper@redhat.com>
8912         * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
8913         * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
8914         Make old name weak alias.
8915         * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
8916         * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
8917         Make old name weak alias.
8918         * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
8920         * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
8921         posix_fallocate, and posix_fallocate64.
8922         * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
8923         posix_fallocate, and posix_fallocate64.
8924         * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
8925         posix_fallocate, and posix_fallocate64.
8926         * sysdeps/generic/fadvise.c: New file.
8927         * sysdeps/generic/fadvise64.c: New file.
8928         * sysdeps/generic/fallocate.c: New file.
8929         * sysdeps/generic/fallocate64.c: New file.
8930         * sysdeps/posix/fallocate.c: New file.
8931         * sysdeps/posix/fallocate64.c: New file.
8932         * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
8933         POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
8934         POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
8935         * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
8936         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
8937         * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
8938         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8939         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
8940         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8942         * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
8943         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8945 2000-04-13  Ulrich Drepper  <drepper@redhat.com>
8947         * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
8948         * misc/sys/mman.h (posix_madvise): Add prototype.
8949         * sysdeps/generic/madvise.c (madvise): Renamed to __madvise.  Make
8950         old name and posix_madvise weak aliases.
8951         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8952         * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
8953         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
8954         * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
8955         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
8956         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8957         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8959 2000-04-13  Andreas Jaeger  <aj@suse.de>
8961         * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
8962         versioning.
8963         (elf_machine_got_rel): Only add runtime display if needed.
8964         (elf_machine_got_rel): Handle symbol versioning.
8966 2000-04-13  Andreas Jaeger  <aj@suse.de>
8968         * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
8970         * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
8971         default.
8973         * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
8974         with some applications.
8975         Patches by Ralf Baechle <ralf@uni-koblenz.de>.
8977         * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
8978         * sysdeps/mips/bsd-_setjmp.S: Likewise.
8979         * sysdeps/mips/setjmp.S: Likewise.
8981         * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
8983 2000-04-13  Ulrich Drepper  <drepper@redhat.com>
8985         * posix/globtest.sh: Work around inconsistency with expanding ~/
8986         in shell (PR libc/1690).  Reported by patsmith@pobox.com.
8988 2000-04-12  Ulrich Drepper  <drepper@redhat.com>
8990         * posix/getconf.c: Add support for many more POSIX options.
8991         * sysdeps/posix/sysconf.c: Likewise.
8992         * sysdeps/generic/bits/confname.h: Add many more POSIX options.
8993         * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
8994         _POSIX_SHELL.
8995         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
8996         * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
8997         CLOCK_PROCESS_CPUTIME_ID.  Add define CLOCK_MONOTONIC and
8998         CLOCK_THREAD_CPUTIME_ID.
8999         * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
9000         CLOCK_PROCESS_CPUTIME_ID.
9001         * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
9002         __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID.  Handle
9003         CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
9004         * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
9006         * malloc/Makefile (tests): Add tst-calloc.
9007         * malloc/tst-calloc.c: New file.
9009         * sysdeps/arm/libm-test-ulps: New file.
9011         * malloc/malloc.c: Undo all of today's changes.
9013         * locale/programs/locale.c (show_info): Don't try to look into
9014         data for LC_ALL (there is none).
9016         * malloc/malloc.c (cALLOc): Clear only what the user asked for and
9017         avoid writing over boundary.
9018         Patch by Greg McGary <gkm@eng.ascend.com>.
9020         * sysdeps/arm/memprof.h: New file.
9022 2000-04-12  Andreas Jaeger  <aj@suse.de>
9024         * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
9026         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
9027         for memmem declaration.
9029 2000-04-12  Ulrich Drepper  <drepper@redhat.com>
9031         * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
9032         to -1.
9033         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
9035         * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
9036         mode is invalid.
9037         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
9038         Patch by Bart Veer <bartv@redhat.com>.
9040         * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
9041         function interface.
9043 2000-04-11  Andreas Jaeger  <aj@suse.de>
9045         * sysdeps/mips/dl-machine.h: Update some comments.
9046         (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
9048 2000-04-11  Ulrich Drepper  <drepper@redhat.com>
9050         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
9051         _POSIX_SHARED_MEMORY_OBJECTS.
9053         * rt/Makefile (tests): Add tst-shm.
9054         Add rules to generate tst-shm.
9055         * rt/tst-shm.c: New file.
9057         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
9058         for descriptor.
9060         * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
9061         * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
9062         * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
9063         * sysdeps/generic/shm_open.c: New file.
9064         * sysdeps/generic/shm_unlink.c: New file.
9065         * sysdeps/unix/sysv/linux/shm_open.c: New file.
9066         * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
9067         * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
9068          __endmntent, __getmntent_r, __setmntent, and __statfs.
9070         * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
9071         fragmentation by allocating new memory at the end instead of
9072         reallocating.
9074         * posix/globtest.sh: Fix last change.
9076 2000-04-10  Philip Blundell  <philb@gnu.org>
9078         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
9079         IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
9080         IPV6_DROP_MEMBERSHIP.
9081         * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
9082         Likewise.
9084 2000-04-11  Ulrich Drepper  <drepper@redhat.com>
9086         * elf/readlib (process_file): Close streams in case of an error.
9088 2000-04-09  Andreas Jaeger  <aj@suse.de>
9090         * elf/readlib.c (process_file): Check if file is big enough to
9091         contain aout and ELF headers.
9092         Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
9094 2000-04-10  Jes Sorensen  <Jes.Sorensen@cern.ch>
9096         * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
9098 2000-04-11  Ulrich Drepper  <drepper@redhat.com>
9100         * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
9101         stream unbuffered.
9102         * rt/Makefile (tests): Add tst-clock.
9103         Add rules to build tst-clock.
9104         * rt/tst-clock.c: New file.
9105         * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
9106         about initialization of nsec.
9107         * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
9108         about initialization of freq.  Set retval to zero if successful.
9109         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
9111 2000-04-10  Ulrich Drepper  <drepper@redhat.com>
9113         * Versions.def (librt): Add GLIBC_2.2.
9114         * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
9115         clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
9116         timer_getoverr, timer_gettime, and timer_settime.
9117         * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
9118         clock_settime, timer_create, timer_delete, timer_getoverrun,
9119         timer_gettime, and timer_settime.
9120         * sysdeps/generic/clock_getcpuclockid.c: New file.
9121         * sysdeps/generic/get_clockfreq.c: New file.
9122         * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
9123         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
9124         * sysdeps/mach/hurd/i386/bits/time.h: New file.
9125         * sysdeps/unix/i386/i586/clock_getres.c: New file.
9126         * sysdeps/unix/i386/i586/clock_gettime.c: New file.
9127         * sysdeps/unix/i386/i686/Implies: New file.
9128         * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
9129         * time/Makefile (routines): Move clock_getres, clock_gettime,
9130         clock_settime, timer_create, timer_delete, timer_getoverr,
9131         timer_gettime, and timer_settime to rt/Makefile.
9132         * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
9133         clock_settime, timer_create, timer_delete, timer_getoverrun,
9134         timer_gettime, and timer_settime.
9135         * time/time.h: Define pid_t.  Add prototype for clock_getcpuclockid.
9137         * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility.  Use __const__
9138         and not const as attribute name.
9140 2000-04-10  Thorsten Kukuk  <kukuk@suse.de>
9142         * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
9144 2000-04-10  Andreas Schwab  <schwab@suse.de>
9146         * posix/globtest.sh: Skip tests that depend on unreadable
9147         directories if run as root.
9149 2000-04-10  Ulrich Drepper  <drepper@redhat.com>
9151         * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
9152         for correct range.  From code by Kaz Kylheku <kaz@ashi.footprints.net>.
9154 2000-04-09  Ulrich Drepper  <drepper@redhat.com>
9156         * sysdeps/unix/clock_gettime.c: New file.
9157         * sysdeps/unix/clock_settime.c: New file.
9158         * sysdeps/posix/clock_getres.c: New file.
9160         * conform/data/ftw.h-data: Add allow-header sys/stat.h.
9162         * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
9163         lseek call be passing in a buffer which never allow a successful
9164         first getdents syscall if not at leas the initial entry can be
9165         stored in the user buffer.
9167         * localedata/Makefile: Add rules to clean up directories created by
9168         new strfmon tests.
9170 2000-04-09  Geoff Clare  <gwc@unisoft.com>
9172         * localedata/tst-fmon.data: Added new tests for strfmon()
9173         using test locales with all combinations of cs_precedes,
9174         sign_posn and sep_by_space.
9175         * localedata/tst-fmon.sh: Updated to support the new tests.
9176         * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
9177         the localedef source for the new strfmon() test locale.
9178         * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
9179         * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
9180         * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
9181         * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
9182         * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
9183         * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
9184         * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
9185         * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
9186         * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
9187         * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
9188         * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
9189         * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
9190         * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
9191         * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
9193         * stdlib/strfmon.c: Correct problems with missing or extra
9194         spaces for unusual combinations of sign_posn and sep_by_space.
9195         Improved left-precision alignment code.
9197 2000-04-07  Andreas Jaeger  <aj@suse.de>
9199         * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
9201 2000-04-10  Andreas Jaeger  <aj@suse.de>
9203         * intl/Makefile: Don't run do-gettext-test when cross-compiling.
9205 2000-04-09  Ulrich Drepper  <drepper@redhat.com>
9207         Implement handling of restartable conversion functions according to
9208         ISO C.
9209         * iconv/gconv.h (__gconv_fct): Add additional parameter.
9210         * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
9211         * iconv/gconv.c: Pass additional parameter to conversion function.
9212         * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
9213         (internal_ucs4le_loop_single): New function.
9214         (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
9215         (__gconv_transform_internal_ascii): Likewise.
9216         (__gconv_transform_internal_utf8): Likewise.
9217         (__gconv_transform_utf8_internal): Likewise.
9218         (__gconv_transform_ucs2_internal): Likewise.
9219         (__gconv_transform_internal_ucs2): Likewise.
9220         (__gconv_transform_ucs2reverse_internal): Likewise.
9221         (__gconv_transform_internal_ucs2reverse): Likewise.
9222         (internal_ucs4le_loop_unaligned): Before return
9223         __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
9224         a valid character.  Otherwise return __GCONV_ILLEGAL_INPUT.
9225         (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
9226         * iconv/loop.c: Fit in definition of function to convert one character
9227         for processing of left-over bytes from the state object.
9228         * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
9229         inend to match names in loop functions.
9230         (RESET_INPUT_BUFFER): Change apprpriately.
9231         (gconv): If needed, call function to process bytes from the state
9232         object.  Similar at the end: store left over bytes if input is
9233         incomplete.
9234         Take extra argument and add new argument to all calls of the
9235         conversion function.
9236         * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
9237         information in the state object to not conflict with length count.
9238         * iconvdata/iso-2022-jp.c: Likewise.
9239         * iconvdata/iso-2022-kr.c: Likewise.
9240         * iconvdata/unicode.c: Adjust for change change in parameters of
9241         skeleton function.
9242         * iconvdata/utf-16.c: Likewise.
9243         * libio/iofwide.c: Add new parameter to all calls of conversion
9244         function.
9245         * wcsmbs/btowc.c: Likewise.
9246         * wcsmbs/mbrtowc.c: Likewise.
9247         * wcsmbs/mbsnrtowcs.c: Likewise.
9248         * wcsmbs/mbsrtowcs.c: Likewise.
9249         * wcsmbs/wcrtomb.c: Likewise.
9250         * wcsmbs/wcsnrtombs.c: Likewise.
9251         * wcsmbs/wcsrtombs.c: Likewise.
9252         * wcsmbs/wctob.c: Likewise.
9254         * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
9255         MAX_NEEDED_INPUT.
9257 2000-04-07  Andreas Jaeger  <aj@suse.de>
9259         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
9260         newer kernels.
9262 2000-04-07  Ulrich Drepper  <drepper@redhat.com>
9264         * wcsmbs/wchar.h (__mbstate_t): Rename elements.  Make __value
9265         element a union to allow byte access.
9266         * iconvdata/iso-2022-cn.c: Adjust for change of element name in
9267         mbstate_t.
9268         * iconvdata/iso-2022-jp.c: Likewise.
9269         * iconvdata/iso-2022-kr.c: Likewise.
9270         * wcsmbs/mbsinit.c: Likewise.
9271         * stdlib/mblen.c: Likewise.
9272         * stdio-common/printf-parse.h: Likewise.
9274 2000-04-06  Ulrich Drepper  <drepper@redhat.com>
9276         * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
9277         kernel does not allow relative seeks on descriptors associated
9278         with directories.  Go back to get the position in the directory
9279         every time we enter the function.  Return -1 and set errno if one
9280         entry could be read from the kernel but does not fit into the
9281         buffer passed in by the user.
9283         * locale/programs/charmap.c (charmap_new_char): Add parameter step.
9284         Support ..(2).. ellipsis.
9285         (parse_charmap): Recognize ..(2).. etc and pass step down.
9286         Correctly generate names for UCS4 characters.
9288         * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
9289         (ctype_finish): We know the wide character value for <SP>,
9290         don't search.
9291         (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
9292         (charclass_ucs4_ellipsis): Likewise.
9293         (read_translit_ignore_entry): Store ellipsis step.
9294         (ctype_read): Recognize ..(2).. etc and pass step down.
9296         * locale/programs/linereader.c (lr_token): When seeing comment
9297         character ignore only rest of line in sources but stop at escaped
9298         newline.
9299         Recognize ..(2).. and ....(2).....
9301         * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
9302         and tok_ellipsis4_2.
9304 2000-04-06  Andreas Jaeger  <aj@suse.de>
9306         * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
9307         removed, remove it here also.
9308         * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
9309         * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
9310         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
9311         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
9313 2000-04-06  Jakub Jelinek  <jakub@redhat.com>
9315         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
9316         include bits/sigcontext.h.
9317         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9319 2000-04-06  Ulrich Drepper  <drepper@redhat.com>
9321         * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
9322         collation symbol definition.  Value in quivalence definition must
9323         be defined, don't check that it is not.
9325         * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
9326         values as character names.
9328         * locale/programs/ld-ctype.c (get_character): Handle missing
9329         repertoire map correctly.
9331 2000-04-05  Cristian Gafton  <gafton@redhat.com>
9333         * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
9334         because it is used in generic code.
9335         * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
9336         * wcsmbs/wcwidth.h: Declare __ctype32_b.
9337         * intl/gettext.c: Include <locale.h>.
9338         * intl/ngettext.c: Likewise.
9340 2000-04-05  Jakub Jelinek  <jakub@redhat.com>
9342         * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
9343         socklen_t type for size.
9344         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
9345         init function interface.
9346         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9347         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
9348         sys/ucontext.h.
9349         (__jmp_buf): Declare the whole type structure here, don't use
9350         ucontext.
9352 2000-04-05  Ulrich Drepper  <drepper@redhat.com>
9354         * iconv/skeleton.c (put16u): Fix typo.
9355         Reported by Bruno Haible <haible@ilog.fr>.
9357         * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
9358         * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
9359         * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
9360         * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
9361         * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
9362         * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
9364         * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
9365         * Makefile (distribute): Add abi-versions.awk and
9366         firstversions.awk.
9367         Patches by Torsten Duwe <duwe@caldera.de>.
9369 2000-04-05  Andreas Schwab  <schwab@suse.de>
9371         * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
9373 2000-04-05  Andreas Schwab  <schwab@suse.de>
9375         * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
9376         entry point, used on Hurd.
9378 2000-04-04  Andreas Jaeger  <aj@suse.de>
9380         * intl/Makefile: Only run the gettext test with shared libraries.
9382 2000-03-16  Mark Kettenis  <kettenis@gnu.org>
9384         * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
9385         Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
9387 2000-04-05  Roland McGrath  <roland@baalperazim.frob.com>
9389         * Makeconfig: Undo last change.
9390         * configure.in: If --disable-shared was given, don't set VERSIONING,
9391         don't define DO_VERSIONING, and don't give scare warning for no
9392         versioning.
9393         * configure: Regenerated.
9395 2000-04-04  Roland McGrath  <roland@baalperazim.frob.com>
9397         * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
9399 2000-04-04  Andreas Jaeger  <aj@suse.de>
9401         * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
9403 2000-04-04  Ulrich Drepper  <drepper@redhat.com>
9405         * elf/dl-runtime.c (fixup): Correct handling of symbols marked
9406         STV_HIDDEN and STV_INTERNAL during lookup.
9407         (profile_fixup): Likewise.
9408         * elf/dl-reloc.c (RESOLVE): Likewise.
9410         * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
9411         unaligned so that it compiles for system which need unaligned
9412         access handling.
9414 2000-04-04  Andreas Schwab  <schwab@suse.de>
9416         * elf/cache.c (print_entry): Only look at the type field when
9417         printing the type.
9419 2000-04-04  Andreas Schwab  <schwab@suse.de>
9421         * iconvdata/big5.c (BODY): Fix typo.
9423 2000-04-04  Andreas Schwab  <schwab@suse.de>
9425         * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
9426         function interface.  Remove unused _dl_start_user entry point.
9428 2000-04-03  Andreas Jaeger  <aj@suse.de>
9430         * include/arpa/inet.h (__inet_aton): Add protoype.
9432 2000-04-01  Andreas Jaeger  <aj@suse.de>
9434         * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
9436         * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
9437         * sysdeps/mach/mips/thread_state.h: Likewise.
9439         * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
9440         * sysdeps/generic/fegetenv.c: Likewise.
9441         * sysdeps/generic/fesetenv.c: Likewise.
9442         * sysdeps/generic/feupdateenv.c: Likewise.
9443         * sysdeps/generic/fraiseexcpt.c: Likewise.
9444         * sysdeps/generic/fsetexcptflg.c: Likewise.
9445         * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
9446         * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
9447         * sysdeps/unix/sysv/linux/errlist.c: Likewise.
9448         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9450 2000-04-02  H.J. Lu  <hjl@gnu.org>
9452         * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
9454 2000-04-03  Ulrich Drepper  <drepper@redhat.com>
9456         * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
9457         (add_name_to_object): Add cast in malloc call.
9458         (fillin_rpath): Optimize loop to initialize ->status a bit.
9460         * sysdeps/i386/dl-machine.h: Undo last change.
9461         * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
9462         Restore %edx register after call here.
9464         * sysdeps/arm/atomicity.h: New file.
9465         Contributed by Jesper Skov <jskov@redhat.com>.
9467 2000-04-03  Roland McGrath  <roland@baalperazim.frob.com>
9469         * Makeconfig (preprocess-versions): Undo last change.
9470         Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
9472         * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
9473         here, before we might move the stack.
9474         (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
9475         (init1): And not here.
9477         * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
9478         change, to restore argc value in call-clobbered register after
9479         RTLD_START_SPECIAL_INIT, which will contain a call.
9481         * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
9482         allocating and initializing L->l_initfini.
9484         * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
9486 2000-04-03  Ulrich Drepper  <drepper@redhat.com>
9488         * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
9489         RUNPATH, RPATH, and LD_LIBRARY_PATH.
9490         (open_path): Change type of fourth parameter.  Make pointer to array
9491         of pointers.  Create variable dirs with original type.
9492         Track whether any directory for the object exists and if not,
9493         change *DIRSP to (void*) -1 to signal there is no such search path.
9494         (_dl_map_object): Change all calls of open_path.
9495         Rewrite decompose_rpath calls.
9497 2000-03-31  Andreas Schwab  <schwab@suse.de>
9499         * string/strfry.c: Declare STATE as array of char instead of int
9500         and do not initialize it (done by initstate_r).  Pass correct
9501         size.
9503 2000-04-03  Ulrich Drepper  <drepper@redhat.com>
9505         * sysdeps/generic/ldsodefs.h: Fix typo in comment.
9507         * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
9508         instruction out of the code.
9510 2000-04-02  Ulrich Drepper  <drepper@redhat.com>
9512         * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
9513         element at this position.
9515         * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
9516         * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
9517         l_reldeps elements.
9518         * elf/dl-lookup.c (add_dependency): New function.
9519         (_dl_lookup_symbol): Use it whenever symbol was found in a global,
9520         dynamically loaded object.
9521         (_dl_lookup_symbol_skip): Likewise.
9522         (_dl_lookup_versioned_symbol): Likewise.
9523         (_dl_lookup_versioned_symbol_skip): Likewise.
9524         * elf/dl-open.c: Don't define _dl_load_lock here...
9525         * elf/rtld.c: ...but here...
9526         * elf/dl-support.c: ...and here.
9527         * elf/dl-close.c (_dl_close): Close also dependent objects introduce
9528         through relocation.
9529         * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
9530         relocations.
9531         * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
9532         anymore.
9533         * dlfcn/glrefmain.c: Add one more debug message.
9535         * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
9536         command line.
9537         * Makerules (sysd-versions): Use ( ) instead of { }.
9539         * elf/dl-load.c: Use __builtin_expect to signal that compiler should
9540         optimize for the non-debugging case.
9541         * elf/dl-lookup.c: Likewise.
9542         * sysdeps/generic/libc-start.c: Likewise.
9544 2000-04-02  Roland McGrath  <roland@baalperazim.frob.com>
9546         * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
9547         (init1): Don't initialize __environ here, since init already does it.
9548         (first_init): New function, broken out of _init.
9549         (_hurd_stack_setup): Use it.
9550         [SHARED] (_dl_init_first): New function, renamed from old _init.
9551         (init1) [SHARED]: Don't call posixland_init here.
9552         (posixland_init): Take ENVP arg, so signature is usual for initializer.
9553         [SHARED] (_init): Define as alias for posixland_init.
9554         [! SHARED] (__libc_first_init): Define as alias for posixland_init.
9555         * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
9556         RTLD_START_SPECIAL_INIT before calling initializers.
9557         (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
9558         * sysdeps/mach/hurd/i386/dl-machine.h: New file.
9559         * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
9560         * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
9562         * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
9563         since we define the function with the name `tmpfile'.
9565         * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
9566         * hurd/Versions: Likewise.
9568 2000-04-02  Ulrich Drepper  <drepper@redhat.com>
9570         * elf/dl-runtime.c (fixup): Fix typo in comment.
9572         * resolv/netdb.h (getnameinfo): All length parameters are of type
9573         socklen_t.
9574         * inet/getnameinfo.c: Likewise.
9576 2000-04-01  Ulrich Drepper  <drepper@redhat.com>
9578         * posix/unistd.h (socklen_t): Define if it has not yet happened.
9579         (gethostname): Change type of second parameter to socklen_t.
9580         * include/unistd.h (__gethostname): Change type of second
9581         parameter to socklen_t.
9582         * sysdeps/generic/gethostname.c (__gethostname): Likewise.
9583         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
9584         * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
9585         * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
9586         Likewise.
9587         * sysdeps/unix/sysv/linux/gethostname.c: Removed.
9588         * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
9589         Allow definition elsewhere.
9590         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
9591         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9592         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
9593         * sysdeps/generic/bits/types.h: Define __socklen_t.
9594         * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
9595         * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
9596         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
9597         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9598         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
9599         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
9600         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
9602         * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
9603         (inet_lnaof): Likewise.
9604         (inet_netof): Likewise.
9605         (inet_network): Likewise.
9606         (inet_aton): Likewise.
9607         (inet_makeaddr): Change parameter types to in_addr_t.
9608         (inet_neta): Likewise.
9609         (inet_ntop): Change type of last parameter to socklen_t.
9610         (inet_aton): Only make available if __USE_MISC.
9611         (inet_neta): Likewise.
9612         (inet_net_ntop): Likewise.
9613         (inet_net_pton): Likewise.
9614         (inet_nsap_ntoa): Likewise.
9616         * inet/in.h: Define in_port_t type.
9617         Define in_addr_t type.
9618         (struct in_addr): Use in_addr_t in definition.
9619         (IN_CLASSA): Use cast to in_addr_t.
9620         (IN_CLASSB): Likewise.
9621         (IN_CLASSC): Likewise.
9622         (IN_CLASSD): Likewise.
9623         (IN_EXPERIMENTAL): Likewise.
9624         (IN_BADCLASS): Likewise.
9625         (INADDR_ANY): Likewise.
9626         (INADDR_BROADCAST): Likewise.
9627         (INADDR_NONE): Likewise.
9628         (INADDR_LOOPBACK): Likewise.
9629         (INADDR_UNSPEC_GROUP): Likewise.
9630         (INADDR_ALLHOSTS_GROUP): Likewise.
9631         (INADDR_ALLRTRS_GROUP): Likewise.
9632         (INADDR_MAX_LOCAL_GROUP): Likewise.
9633         (struct sockaddr_in): Use in_port_t for sin_port element.
9634         (struct sockaddr_in6): Use in_port_t for sin6_port element.
9635         Use uint8_t instead of u_int8_t.
9637         * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
9638         Call __inet_aton instead of inet_aton.
9639         (__inet_aton): Renamed from inet_aton.  Add weak alias under old name.
9641         * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
9642         (innetgr): Likewise.
9643         (struct addrinfo): Use socklen_t for ai_addrlen element.
9645         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
9646         IPV6_RECVERR): New defines.
9648         * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
9649         * inet/getnetbyad.c: Likewise.
9650         * inet/getnetbyad_r.c: Likewise.
9651         * nis/nss_nis/nis-network.c: Likewise.
9652         * nis/nssplus_nis/nisplus-network.c: Likewise.
9653         * nss/nss_files/files-network.c: Likewise.
9654         * resolv/netdb.h: Define uint32_t if not already happened.
9655         Include bits/netdb.h.  Remove definition of struct netent.
9656         Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
9657         * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
9658         * sysdeps/generic/bits/netdb.h: New file.
9659         * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
9661         * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
9662         (tests): Add glrefmain.
9663         Add rules to build modules and run tests.  Ignore result of glrefmain
9664         for now since it fails.
9665         * dlfcn/glrefmain.c: New file.
9666         * dlfcn/glreflib1.c: New file.
9667         * dlfcn/glreflib2.c: New file.
9669         * test-skeleton.c: Include <string.h> for strsignal prototype.
9671         * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
9672         to be missing.
9674         * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
9675         former init-first.h.  Initialize __libc_multiple_libcs.
9677 2000-03-31  Ulrich Drepper  <drepper@redhat.com>
9679         * iconv/skeleton.c: Define access macros with u suffix.  Adjust
9680         #if expression for use of unaligned function to the one used in
9681         the definition of these functions.
9682         * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
9683         * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
9684         (internal_ucs4le_loop_unaligned): New function.
9686         * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
9687         (tests): Add order.
9688         (module-names): Add dep1, dep2, dep3, and dep4.
9689         Add dependencies for dep* modules and order.
9690         Define rule for order.out which checks the result.
9691         * elf/dep1.c: New file.
9692         * elf/dep2.c: New file.
9693         * elf/dep3.c: New file.
9694         * elf/dep4.c: New file.
9695         * elf/order.c: New file.
9697         * elf/dl-init.c: Fix typo in comment.
9699 2000-03-31  Andreas Jaeger  <aj@suse.de>
9701         * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
9702         init function interface.
9703         * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
9705 2000-03-31  Andreas Jaeger  <aj@suse.de>
9707         * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
9708         * sysdeps/mips/fpu/fegetenv.c: Likewise.
9709         * sysdeps/mips/fpu/feupdateenv.c: Likewise.
9710         * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
9711         * sysdeps/mips/fpu/fesetenv.c: Likewise.
9713         * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
9714         anymore, update comment.
9716         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9718         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
9719         SHLIB_COMPAT - the struct is always needed.
9721 2000-03-31  Ulrich Drepper  <drepper@redhat.com>
9723         * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
9724         * elf/dl-support.c: Define _dl_starting_up.
9726 2000-03-30  Ulrich Drepper  <drepper@redhat.com>
9728         * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
9729         * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
9731         * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
9733         * elf/Makefile (dl-routines): Remove preinit.
9734         * elf/Versions: Remove _dl_preinit.
9735         * elf/dl-preinit.c: Removed.  Move content into...
9736         * elf/dl-init.c: ...here.
9737         * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
9739         * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
9740         elements.
9742 2000-03-29  Geoff Clare  <gwc@unisoft.com>
9744         * stdlib/strfmon.c: Corrected problems with the code that
9745         sets default values for [np]_sep_by_space and
9746         [np]_sign_posn; also the new positive/negative alignment
9747         code from the previous patch was not quite right for
9748         [np]_sign_posn = 0.
9750         * localedata/tst-fmon.data: Changes corresponding to the
9751         two sets of fixes made to stdlib/strfmon.c.
9753 2000-03-29  Jes Sorensen  <jes@pcatls01.cern.ch>
9755         * malloc/malloc.c: Declare bit flags UL so that they will not
9756         default to int size when being inverted.
9758 2000-03-29  Andreas Jaeger  <aj@suse.de>
9760         * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
9761         * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
9763 2000-03-29  Andreas Jaeger  <aj@suse.de>,
9764             Ralf Baechle <ralf@uni-koblenz.de>
9766         * Makeconfig: Introduce new variable SHARED to mark code used in
9767         the shared library.
9768         * elf/dl-close.c: Use it instead of PIC.
9769         * elf/dl-load.c: Likewise.
9770         * elf/dl-open.c: Likewise.
9771         * hurd/geteuids.c: Likewise.
9772         * include/libc-symbols.h: Likewise.
9773         * include/shlib-compat.h: Likewise.
9774         * libio/freopen.c: Likewise.
9775         * linuxthreads/cancel.c: Likewise.
9776         * linuxthreads/pthread.c: Likewise.
9777         * linuxthreads/wrapsyscall.c: Likewise.
9778         * nss/nsswitch.c: Likewise.
9779         * stdio-common/vfprintf.c: Likewise.
9780         * sysdeps/arm/init-first.c: Likewise.
9781         * sysdeps/i386/init-first.c: Likewise
9782         * sysdeps/generic/init-first.c: Likewise.
9783         * sysdeps/generic/libc-start.c: Likewise.
9784         * sysdeps/mips/init-first.c: Likewise.
9785         * sysdeps/powerpc/elf/libc-start.c: Likewise.
9786         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9787         * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
9788         * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
9789         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9791         * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
9793 2000-03-29  Andreas Jaeger  <aj@suse.de>
9795         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
9796         Use D_PTR to access relocated entries in l_info.
9797         (elf_machine_rela): Likewise.
9799         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
9800         Likewise.
9801         (elf_machine_rela): Likewise.
9803         * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
9804         Likewise.
9805         (__elf_machine_fixup_plt): Likewise.
9806         (__process_machine_rela): Likewise.
9808         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
9809         (elf_machine_rela): Likewise.
9811         * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
9812         (elf_machine_rel): Likewise.
9814         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
9815         (elf_machine_fixup_plt): Likewise.
9816         (elf_machine_rela): Likewise.
9818 2000-03-29  Andreas Jaeger  <aj@suse.de>
9820         * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
9821         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9822         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9823         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
9824         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
9825         * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
9826         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
9827         * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
9828         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
9829         * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
9830         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
9831         * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
9832         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
9833         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
9834         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9836         * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
9837         macros, remove K&R prototypes.
9839 2000-03-30  Ulrich Drepper  <drepper@redhat.com>
9841         * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
9842         Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
9843         (PR libc/1677).
9845 2000-03-30  Andreas Jaeger  <aj@suse.de>
9847         * misc/sys/cdefs.h: Remove K&R support.
9849 2000-03-30  Ulrich Drepper  <drepper@redhat.com>
9851         * iconv/skeleton.c: Avoid compiling unaligned versions in some
9852         more cases.
9853         * iconv/loop.c: Likewise.
9855 2000-03-29  Bruno Haible  <haible@clisp.cons.org>
9857         * iconv/loop.c (put16): Remove __const. Fix access index.
9858         (put32): Remove __const. Use uint32_t instead of uint16_t.
9859         * iconv/skeleton.c: Likewise.
9861 2000-03-30  Roland McGrath  <roland@baalperazim.frob.com>
9863         * mach/Versions (libc: GLIBC_2.0)
9864         [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
9865         __vm_allocate on this.
9866         [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
9867         mutex- and spinlock-related symbols on this.
9868         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
9869         New version set.  Lock-related symbols go here instead in this case.
9870         * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
9871         _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
9872         cthread_getspecific, cthread_setspecific, __libc_getspecific.
9873         * hurd/Versions
9874         [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
9875         Put them here instead.
9876         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
9877         New version set.  Those cthreads symbols go here instead in this case.
9878         * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
9880 2000-03-30  Ulrich Drepper  <drepper@redhat.com>
9882         * elf/dl-init.c (_dl_init): We don't need to call constructors
9883         recursively.  Fold _dl_init_rec in _dl_init and optimize a bit more.
9885         Implement dynamic determination of constructor/destructor order in
9886         the dynamic linker.
9887         * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
9888         (GLIBC_2.2): Add _dl_init.
9889         * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
9890         r_duplist is not anymore allocated separately.  l_initfini is and
9891         therefore free it if necessary.
9892         * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
9893         malloc block.  Otherwise allocate l_initfini list only.
9894         Put dependencies for the object in l_initfini list.
9895         Sort dependencies for the object to be loaded topologically.
9896         * elf/dl-fini.c: Before running the destructors sort the topologically.
9897         * elf/dl-init.c (_dl_init): Renamed from _dl_init_next.  Rewrite to
9898         call constructors instead of iterating over the pointers.  Get list of
9899         objects for which to run constructors from l_initfini element. Accept
9900         argc, argv, and env as parameters and pass them to the constructors.
9901         * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
9902         with size of dynamic section.
9903         * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
9904         _dl_init_next and calling constructors ourself.
9905         * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
9906         Take argc, argv, and env as parameters and pass them to the
9907         constructors.  Rewrite to call all constructors and not iterate over
9908         the pointers.
9909         * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry.  Don't
9910         precompute l_initcount and l_preinitcount.
9911         * elf/link.h (struct link_map): Add l_ldnum member.
9912         Make l_phdr_allocated part of the bitfield.  Remove l_runcount,
9913         l_initcount, and l_preinitcount.  Add l_initfini.
9914         * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
9915         one for _dl_init.
9916         * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
9917         function interface.
9918         * sysdeps/unix/sysv/linux/init-first.h: Removed.
9919         * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
9920         * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
9921         SYSDEP_CALL_INIT.  Make _init a strong alias of init.  The calling
9922         conventions now match.
9924         * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
9925         effect for shared objects.  Don't emit message and call only for
9926         static library.
9928 2000-03-29  Ulrich Drepper  <drepper@redhat.com>
9930         * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
9931         CSA_Z243.4-1985-1..UCS2.
9932         * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
9933         ISO-8859-10..UCS2.
9935 2000-03-29  Andreas Jaeger  <aj@suse.de>
9937         * include/unistd.h: Remove duplicate entry for __rmdir.
9938         Remove declaration of __mkdir since __mkdir is declared in
9939         sys/stat.h.
9941         * manual/creature.texi (Feature Test Macros): Fix typo, reported
9942         by Michael Deutschmann <michael@talamasca.ocis.net>.
9944         * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
9945         * sysdeps/mips/fpu/fegetenv.c: Likewise.
9946         * sysdeps/mips/fpu/fesetenv.c: Likewise.
9947         * sysdeps/mips/fpu/feupdateenv.c: Likewise.
9948         * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
9950 2000-03-28  Andreas Jaeger  <aj@suse.de>
9952         * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
9953         declaration, the prototype is defined via bits/mathcalls.h.
9954         (__sincosf): Likewise.
9955         (__sincosl): Likewise.
9956         (ldexp): Likewise.
9957         (ldexpf): Likewise.
9958         (ldexpl): Likewise.
9959         (__finite): Likewise.
9960         (__inline_mathcodeNP): New macro without prototype
9961         declarations.
9962         (__inline_mathcodeNP2): Likewise.
9963         (__inline_mathcodeNP3): Likewise.
9964         (__inline_mathcodeNP_): Likewise.
9965         (__inline_mathcodeNP2_): Likewise.
9966         (__inline_mathcodeNP3_): Likewise.
9967         (__inline_mathopNP): Likewise.
9968         (__inline_mathop_declNP): Likewise.
9969         (__inline_mathop_declNP_): Likewise.
9970         (__inline_mathcode_): Use __inline_mathcodeNP_.
9971         (__inline_mathcode2_): Use __inline_mathcodeNP2_.
9972         (__inline_mathcode3_): Use __inline_mathcodeNP3_.
9973         (__inline_mathop_decl_): Use __inline_mathop_declNP__.
9974         (__expm1l): Don't define prototype, the prototype is defined via
9975         bits/mathcalls.h.
9976         (exp): Likewise.
9977         (__expl): Likewise.
9978         (tan): Likewise.
9979         (atan2): Likewise.
9980         (__atan2l): Likewise.
9981         (fmod): Likewise.
9982         (pow): Likewise.
9983         (fabsf): Likewise.
9984         (fabsl): Likewise.
9985         (__fabsl): Likewise.
9986         (asin): Likewise.
9987         (acos): Likewise.
9988         (sinh): Likewise.
9989         (cosh): Likewise.
9990         (tanh): Likewise.
9991         (floor): Likewise.
9992         (ceil): Likewise.
9993         (expm1): Likewise.
9994         (log1p): Likewise.
9995         (asinh): Likewise.
9996         (acosh): Likewise.
9997         (atanh): Likewise.
9998         (hypot): Likewise.
9999         (logb): Likewise.
10000         (fma): Likewise.
10001         (drem): Likewise.
10002         (sqrt): Likewise.
10003         (__sqrtl): Likewise.
10004         (sin): Likewise.
10005         (cos): Likewise.
10006         (atan): Likewise.
10007         (log): Likewise.
10008         (log10): Likewise.
10009         (asinh): Likewise.
10010         (log2): Likewise.
10011         (rint): Likewise.
10013 2000-03-28  Ulrich Drepper  <drepper@redhat.com>
10015         * Makerules: If make variable md5 is defined to yes after
10016         generating dependencies generate MD5 sum for the object.
10018         * iconv/gconv_builtin.h: Fix length in transformation definition
10019         for UNICODEBIG.
10021         * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
10023         * iconv/loop.c: Define get16, get32, put16, and put32 macros to
10024         allow as well reading from/writing to unaligned addresses on machines
10025         which don't support this in hardware.  Use FCTNAME macro to define
10026         function name.  Include the file a second time for platforms which
10027         need special unaligned handling.
10028         * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
10029         to access potentially unaligned addresses.  These macros are intended
10030         to be used only outside the loops.
10031         (unaligned): New definition.  In case the machine can handle unaligned
10032         access define as zero.  Otherwise as a variable which is initialized
10033         as nonzero in case the buffer passed in at runtime is unaligned with
10034         respect to the character set encoding involved.
10035         Call aligned or unaligned looop functions according to unaligned
10036         variable.
10037         * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
10038         of direct casting pointer to potentially handle unaligned memory
10039         accesses.
10040         * iconvdata/8bit-generic.c: Likewise.
10041         * iconvdata/ansi_x3.110.c: Likewise.
10042         * iconvdata/big5.c: Likewise.
10043         * iconvdata/euc-cn.c: Likewise.
10044         * iconvdata/euc-jp.c: Likewise.
10045         * iconvdata/euc-kr.c: Likewise.
10046         * iconvdata/euc-tw.c: Likewise.
10047         * iconvdata/gbk.c: Likewise.
10048         * iconvdata/iso-2022-cn.c: Likewise.
10049         * iconvdata/iso-2022-jp.c: Likewise.
10050         * iconvdata/iso-2022-kr.c: Likewise.
10051         * iconvdata/iso646.c: Likewise.
10052         * iconvdata/iso_6937-2.c: Likewise.
10053         * iconvdata/iso_6937.c: Likewise.
10054         * iconvdata/johab.c: Likewise.
10055         * iconvdata/sjis.c: Likewise.
10056         * iconvdata/t.61.c: Likewise.
10057         * iconvdata/uhc.c: Likewise.
10058         * iconvdata/unicode.c: Likewise.
10059         * iconvdata/utf-16.c: Likewise.
10061         * locale/programs/simple-hash.c: Little optimizations.  Remove K&R
10062         prototypes.
10064         * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
10065         * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
10066         public.
10067         * malloc/mcheck.h (mcheck_check_all): Declare.
10069         * stdio-common/Makefile (tests): Add tst-obprintf.
10071 2000-03-28  Roland McGrath  <roland@baalperazim.frob.com>
10073         * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
10074         Declare pthread_sigmask.
10076         * csu/version.c: Add 2000 to copyright years.
10077         Remove Emacs local variables section.
10079 2000-03-23  Bruno Haible  <haible@clisp.cons.org>
10081         * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
10082         __gconv_transform_internal_ucs2little): Remove declarations.
10083         * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
10084         __gconv_transform_internal_ucs2): Never need to bswap_16.
10085         (__gconv_transform_ucs2reverse_internal,
10086         __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
10088 2000-03-27  Roland McGrath  <roland@baalperazim.frob.com>
10090         * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
10091         obsoleting version not being defined at all, in which case the
10092         result is always true.
10094         * Makeconfig (preprocess-versions): New canned sequence for running
10095         cpp on shlib-versions and the like.
10096         (soversions.i): Use it.
10097         * Makerules (Versions.all, sysd-versions): Use it to preprocess the
10098         Versions.def and Versions files.
10100 2000-03-27  Ulrich Drepper  <drepper@redhat.com>
10102         * stdio-common/tst-obprintf.c (main): Add another check to see
10103         obstack_printf handling all possible beginnings of the block
10104         inside an obstack chunk.
10106         * locale/programs/localedef.c: Use __malloc_initialize_hook to
10107         install mcheck handler.
10109         * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
10110         handling problem.
10112 2000-03-27  Roland McGrath  <roland@baalperazim.frob.com>
10114         * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
10116         * include/shlib-compat.h: Conditionalize <abi-versions.h> include
10117         on [HAVE_ELF && DO_VERSIONING].
10119 2000-03-27  Ulrich Drepper  <drepper@redhat.com>
10121         * stdio-common/tst-obprintf.c: New file.
10123 2000-03-26  Ulrich Drepper  <drepper@redhat.com>
10125         * libio/genops.c (_IO_default_xsputn): Little optimization.  Call
10126         _IO_OVERFLOW directly instead through __overflow.
10128         * locale/programs/localedef.c (construct_output_path): If path
10129         contains a / compute the end of the directory name correctly.
10131         * include/features.h: Undef and document __USE_XOPEN2K.
10133         * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
10134         whenever a function is called.  Initiated by calling mcheck_pedantic
10135         instead of mcheck.
10136         * malloc/mcheck.h: Declare mcheck_pedantic.
10137         * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
10138         * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
10139         for now.
10141 2000-03-26  Roland McGrath  <roland@baalperazim.frob.com>
10143         * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
10144         * dlfcn/dlopenold.c: Likewise.
10145         * nss/getXXbyYY_r.c: Likewise.
10146         * nss/getXXent_r.c: Likewise.
10147         * hurd/hurdinit.c: Likewise.
10148         * hurd/compat-20.c: Likewise.
10149         * libio/oldiofopen.c: Likewise.
10150         * libio/oldiofclose.c: Likewise.
10151         * libio/oldiofdopen.c: Likewise.
10152         * libio/oldfileops.c: Likewise.
10153         * libio/oldstdfiles.c: Likewise.
10154         * libio/oldiofsetpos.c: Likewise.
10155         * libio/oldiofgetpos.c: Likewise.
10156         * libio/oldiofgetpos64.c: Likewise.
10157         * libio/oldiofsetpos64.c: Likewise.
10158         * libio/oldiopopen.c: Likewise.
10159         * libio/oldpclose.c: Likewise.
10160         * libio/oldtmpfile.c: Likewise.
10161         * libio/freopen.c (freopen): Likewise.
10162         * libio/iofclose.c (_IO_new_fclose): Likewise.
10164         * sysdeps/mach/sys/reboot.h: Include <features.h>.
10165         (reboot): Declare it.
10167         * libio/Makefile (headers): Add bits/stdio-lock.h here.
10169         * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
10171         * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
10173         * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
10174         __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
10175         We need this for the sbrk decl, which can be included without Unix98.
10177 2000-03-20  Richard Henderson  <rth@cygnus.com>
10179         * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
10180         argument to yperr2nss is an int, not size_t.
10181         * posix/regex.c (print_partial_compiled_pattern): Cast all
10182         ptrdiff_t to long for printing.
10183         (print_compiled_pattern): Use Z for printing size_t.
10184         * posix/testfnm.c (tests): Avoid trigraphs.
10185         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
10186         Use a C comment, not an assembly comment.
10188         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
10189         of __ASSUME_32BITUIDS.
10191 2000-03-26  Ulrich Drepper  <drepper@redhat.com>
10193         * libio/iofopncook.c: Remove K&R prototypes.
10195 2000-03-26  Roland McGrath  <roland@baalperazim.frob.com>
10197         * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
10198         an initial value of 1024 instead of RLIM_INFINITY.
10200         * Versions.def (libmachuser, libhurduser): Remove these sections,
10201         since these libraries do not presently use symbol versions.
10203         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
10204         is RLIM_INFINITY, return -1 instead.
10206 2000-03-24  Andreas Jaeger  <aj@suse.de>
10208         * Makefile (postclean): Added soversions.i.
10210 2000-03-24  Scott Bambrough  <scottb@netwinder.org>
10212         * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
10213         _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
10214         and _FPU_IEEE.  Change _FPU_RESERVED.
10216 2000-03-24  Scott Bambrough  <scottb@netwinder.org>
10218         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
10220 2000-03-24  Roland McGrath  <roland@baalperazim.frob.com>
10222         * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
10223         (gaih_inet): Remove unused duplicate variable.
10225         * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
10226         Don't use __libc_sa_len, which only exists for Linux.  Just handle
10227         AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
10228         only flavors supported by this function anyway.
10230 2000-03-24  Geoff Clare  <gwc@unisoft.com>
10232         * stdlib/strfmon.c: Corrected problems with missing signs and
10233         missing or extra spaces; allow for sign strings longer than
10234         one character; add padding to ensure positive and negative
10235         formats are aligned when a left precision is used.
10237 2000-03-26  Ulrich Drepper  <drepper@redhat.com>
10239         * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
10240         Patch by John Mizel <John.Mizel@msdw.com>.
10242 2000-03-25  Ulrich Drepper  <drepper@redhat.com>
10244         * manual/install.texi: Remove references to crypt add-on.
10246 2000-03-25  Roland McGrath  <roland@baalperazim.frob.com>
10248         * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
10249         section while taking the _hurd_rlimit_lock.
10250         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
10252 2000-03-24  Roland McGrath  <roland@baalperazim.frob.com>
10254         * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
10255         using $(LN_S).
10257         * sysdeps/mach/hurd/if_index.c: New file.
10259         * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
10260         * sysdeps/gnu/net/if.h: here.
10261         (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
10262         * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
10263         * sysdeps/generic/net/if.h: New file.  Declares just the standard
10264         functions and `struct if_nameindex' type.
10265         * socket/Makefile (headers): Add net/if.h here.
10266         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
10267         * sysdeps/mach/hurd/Dist: Remove it here.
10268         * sysdeps/unix/sysv/linux/Dist: And here.
10269         * sysdeps/generic/if_index.c: Include <net/if.h>.
10271 2000-03-24  Andreas Jaeger  <aj@suse.de>
10273         * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
10274         access relocated entries in l_info.
10275         (elf_machine_got_rel): Likewise.
10276         (elf_machine_runtime_setup): Likewise.
10277         * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
10278         (elf_machine_runtime_setup): Likewise.
10279         (__dl_runtime_resolve): Likewise.
10281 2000-03-23  Ulrich Drepper  <drepper@redhat.com>
10283         * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
10284         * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
10285         according to RFC 2553.
10286         * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
10287         * inet/getnameinfo.c: Likewise.
10288         Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
10290 2000-03-23  Bruno Haible  <haible@clisp.cons.org>
10292         * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
10293         Remove no-op pointer increment.
10295 2000-03-23  Andreas Jaeger  <aj@suse.de>
10297         * stdio-common/tst-cookie.c (cookieseek): Change prototype to
10298         follow change for libio.h from 2000-03-10.
10300 2000-03-23  Andreas Jaeger  <aj@suse.de>
10302         * elf/dl-addr.c: Adjust include paths for ldsodefs location
10303         change.
10304         * elf/dl-debug.c: Likewise.
10305         * elf/dl-deps.c: Likewise.
10306         * elf/dl-error.c: Likewise.
10307         * elf/dl-fini.c: Likewise.
10308         * elf/dl-init.c: Likewise.
10309         * elf/dl-load.c: Likewise.
10310         * elf/dl-lookup.c: Likewise.
10311         * elf/dl-minimal.c: Likewise.
10312         * elf/dl-object.c: Likewise.
10313         * elf/dl-open.c: Likewise.
10314         * elf/dl-preinit.c: Likewise.
10315         * elf/dl-profile.c: Likewise.
10316         * elf/dl-profstub.c: Likewise.
10317         * elf/dl-reloc.c: Likewise.
10318         * elf/dl-runtime.c: Likewise.
10319         * elf/dl-support.c: Likewise.
10320         * elf/dl-symbol.c: Likewise.
10321         * elf/dl-version.c: Likewise.
10322         * elf/rtld.c: Likewise.
10323         * elf/sprof.c: Likewise.
10324         * sysdeps/generic/dl-cache.c: Likewise.
10325         * sysdeps/generic/dl-origin.c: Likewise.
10326         * sysdeps/generic/dl-sysdep.c: Likewise.
10327         * sysdeps/generic/elf/backtracesyms.c: Likewise.
10328         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
10329         * sysdeps/generic/libc-start.c: Likewise.
10330         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10331         * sysdeps/powerpc/dl-machine.c: Likewise.
10332         * sysdeps/powerpc/elf/libc-start.c: Likewise.
10333         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10334         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10335         * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
10337         * elf/ldsodefs.h: Move file to ...
10338         * sysdeps/generic/ldsodefs.h: ... here.
10340         * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
10342         * sysdeps/mips/elf/ldsodefs.h: New file.
10344         * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
10345         entries in l_info.
10346         (_dl_check_map_versions): Likewise.
10347         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10348         * elf/dl-load.c (_dl_init_paths): Likewise.
10349         (_dl_map_object): Likewise.
10350         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
10351         (elf_get_dynamic_info): Likewise.
10352         * elf/do-lookup.h (FCT): Likewise.
10353         * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
10354         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
10355         * elf/dl-addr.c (_dl_addr): Likewise.
10356         * elf/dl-runtime.c (profile_fixup): Likewise.
10357         (fixup): Likewise.
10358         * elf/dl-init.c (_dl_init_next): Likewise.
10359         * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
10360         * sysdeps/unix/sysv/linux/i386/dl-librecon.h
10361         (DISTINGUISH_LIB_VERSIONS): Likewise.
10362         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
10363         (elf_machine_rel): Likewise.
10365         * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
10366         for writable dynamic section.
10368 2000-03-22  Ulrich Drepper  <drepper@redhat.com>
10370         * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
10371         large enough.  Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
10373 2000-03-22  Andreas Jaeger  <aj@suse.de>
10375         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
10376         from latest Linux kernel.
10378 2000-03-21  Andreas Jaeger  <aj@suse.de>
10380         * Versions.def: Add version 2.1.4.
10382 2000-03-21  Ulrich Drepper  <drepper@redhat.com>
10384         * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
10385         * libio/oldiofopen.c: Likewise.
10386         * libio/oldiofclose.c: Likewise.
10387         * sysdeps/unix/sysv/linux/errlist.c: Likewise.
10389 2000-03-22  Roland McGrath  <roland@baalperazim.frob.com>
10391         * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
10392         indicating the first version set to obsolete the conditionalized code.
10393         (compat_symbol): New macro.
10394         * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
10395         rhs be the ABI_* macro for the subsuming version.  Assign increasing
10396         integer values to the ABI_* macros for supported versions.
10397         * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
10398         compat_symbol macro.
10400 2000-03-21  Ulrich Drepper  <drepper@redhat.com>
10402         * nscd/connections.c (nscd_run): Pretty print.
10403         * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
10405         * manual/charset.texi: Fix typos.  Rephrase.
10406         * manual/process.texi: Likewise.
10407         * manual/signal.texi: Likewise.
10408         Patches by Mike Coleman <mkc@kc.net>.
10410         * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
10411         versions.
10412         * libio/iofdopen.c: Likewise.
10413         * libio/iofgetpos.c: Likewise.
10414         * libio/iofgetpos64.c: Likewise.
10415         * libio/iofopen.c: Likewise.
10416         * libio/iofsetpos.c: Likewise.
10417         * libio/iofsetpos64.c: Likewise.
10418         * libio/iopopen.c: Likewise.
10419         * libio/oldiofopen.c: Likewise.
10420         * libio/pclose.c: Likewise.
10421         * sysdeps/gnu/siglist.c: Likewise.
10422         * sysdeps/unix/sysv/linux/errlist.c: Likewise.
10424         * include/shlib-compat.h (versioned_symbol): Give preprocessor the
10425         chance to expand VERSION_##lib##_##version.
10427         * libio/fileops.c: Use new macros from shlib-compat.h to define
10428         versions.
10429         * libio/iofclose.c: Likewise.
10430         * libio/oldiofclose.c: Likewise.
10431         Patch by Roland McGrath <roland@frob.com>.
10433 2000-03-21  Jakub Jelinek  <jakub@redhat.com>
10435         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
10436         Lay out struct sigcontext according to what really gets passed on
10437         the stack.
10438         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
10439         (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
10440         (prgregset_t, prfpregset_t): Define to elf_* types.
10441         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
10442         Define to correct value.
10443         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
10444         sigcontext.
10445         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
10447 2000-03-21  Roland McGrath  <roland@baalperazim.frob.com>
10449         * scripts/firstversions.awk: Allow multiple version sets in the
10450         "earliest version" specification, meaning that version sets in the
10451         gaps between listed versions should be folded into the earliest later
10452         version that is explicitly listed.
10453         * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
10454         we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
10456 2000-03-21  Ulrich Drepper  <drepper@redhat.com>
10458         * iconv/gconv_builtin.c: Include <endian.h>.
10459         * iconv/gconv_builtin.h: Add UCS-BE aliases.
10460         Add UCS-4LE transformation.  Define UNICODEBIG and UNICODELITTLE
10461         according to current platform.
10462         * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
10463         __gconv_transform_internal_ucs2reverse, and
10464         __gconv_transform_internal_ucs4le.
10465         * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
10466         __gconv_transform_ucs2reverse_internal and
10467         __gconv_transform_internal_ucs2reverse.
10468         * iconvdata/Makefile (modules): Add UNICODE.
10469         (distribute): Add unicode.c.
10470         * iconvdata/gconv-modules: Add definitions for UNICODE module.
10471         * iconvdata/unicode.c: New file.
10473         * iconvdata/utf-16.c: Rewrite code to emit BOM.  Correct code to
10474         determine byte order of input and convert accordingly.
10476         * iconvdata/utf-16.c (gconv_init): Fix typo.
10478 2000-03-20  Ulrich Drepper  <drepper@redhat.com>
10480         * iconvdata/gconv-modules: Fix typo.
10482         * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
10483         more messages.
10485         * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
10487 2000-03-16  Thorsten Kukuk  <kukuk@suse.de>
10489         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
10491 2000-03-20  Ulrich Drepper  <drepper@redhat.com>
10493         * misc/Makefile (routines): Add mincore.
10495 2000-03-20  Andreas Jaeger  <aj@suse.de>
10497         * sysdeps/generic/mincore.c: New stub file.
10499         * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
10500         from latest Linux kernel.
10502 2000-03-20  Ulrich Drepper  <drepper@redhat.com>
10504         * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
10505         _SC_GETPW_R_SIZE_MAX.
10507 2000-03-20  Richard Henderson  <rth@cygnus.com>
10509         * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
10510         in GLIBC_2.1.4.
10512 2000-03-20  Richard Henderson  <rth@cygnus.com>
10514         * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
10515         of arithmetic instructions.
10517         * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
10518         with the fpcr.  Protect from INV exception.
10519         * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
10520         * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
10521         * sysdeps/alpha/fpu/s_floorf.c: Likewise.
10523         * sysdeps/alpha/fpu/s_copysign.c: New.
10524         * sysdeps/alpha/fpu/s_copysignf.c: New.
10525         * sysdeps/alpha/fpu/s_fabs.c: New.
10526         * sysdeps/alpha/fpu/s_fabsf.c: New.
10527         * sysdeps/alpha/fpu/s_rint.c: New.
10528         * sysdeps/alpha/fpu/s_rintf.c: New.
10530         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
10532         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
10533         Kill sethae.
10534         * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
10535         * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
10536         Use physical addresses not KSEG addresses.
10537         (io_system): Add PYXIS.
10538         (io): Remove hae.reg, sys, hae_shift.
10539         (stb_mb, stw_mb, stl_mb, __sethae): New.
10540         (inline_outb, inline_outw, inline_outl): Don't set hae.
10541         (inline_inb, inline_inw, inline_inl): Likewise.
10542         (dense_sethae): New null function.
10543         (struct cpuinfo_data): New.
10544         (process_cpuinfo): Use local and stack variables, not static.
10545         Move readlink check here from init_iosys.
10546         (init_iosys): Use __pciconfig_iobase first.  Know SX and LX as PYXIS.
10547         (_iopl): Simplify.
10548         (_hae_shift): Calculate it here.
10549         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
10550         add pciconfig_iobase.
10552 2000-03-20  Roland McGrath  <roland@baalperazim.frob.com>
10554         * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
10555         * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
10557         * scripts/versions.awk: Fixed version renaming code to distinguish
10558         libraries properly.
10560 2000-03-19  Ulrich Drepper  <drepper@redhat.com>
10562         * include/stdlib.h: Add prototype for __cxa_atexit.
10564         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
10565         _SLOWDOWN flags.  Patch by Jim Blandy <jimb@cygnus.com>.
10567 2000-03-17  Cristian Gafton  <gafton@redhat.com>
10569         * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
10570         existing rtld-installed-name.
10571         ($(rtld-installed-name)): Request libc-$(version) be installed too.
10572         replace existing rtld-installed-name using $(symbolic-link-prog).
10574 2000-03-17  Roland McGrath  <roland@baalperazim.frob.com>
10576         * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
10577         (insert_value, handle_ellipsis, collate_read): Replace %zu in format
10578         strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
10579         but not the former.
10581 2000-03-19  Ulrich Drepper  <drepper@redhat.com>
10583         * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
10584         glob64.  Since there is no glob64 in the LFS proposal applications
10585         can assume that glob handles LFS situations.  glob64 is only needed
10586         if alternative filesystem functions are used.
10588 2000-03-19  Geoff Clare  <gwc@unisoft.com>
10590         * sysdeps/generic/glob.c: Correct gl_pathc value returned
10591         when GLOB_DOOFFS is set; correct handling of patterns
10592         containing escaped wildcards (and no unescaped ones);
10593         GLOB_ERR flag was being ignored in some situations.
10595         * posix/globtest.c, posix/globtest.sh: Updated to include
10596         tests for the problems fixed by the above changes to glob.c.
10598         * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
10600 2000-03-19  Roland McGrath  <roland@baalperazim.frob.com>
10602         * Makeconfig (soversion.i): Use only first match for each lib.
10604         * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
10606         * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
10607         rather than $(sysd-dirs-done) to protect these rules.
10609         * Makerules (version-renames.def): Target removed.
10610         (Versions.all): Depend on soversions.i directly and parse it.
10612         * Makeconfig (soversions.i): New target, input-reading parts of
10613         soversions.mk generation moved here; result is a canonicalized
10614         list "LIB VERSION [SET]" for this configuration.
10615         (soversions.mk): Use that as input.  Don't emit map-firstversions.
10616         * Makerules (version-renames.def): New target, generated from
10617         soversions.i with contents that was in $(map-firstversions).
10618         (Versions.all): Don't depend on soversions.mk, depend on
10619         version-renames.def instead; just cat it into the input.
10621         * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
10622         for $(map-firstversions), which better handles it being empty.
10624         * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
10625         supported version for libc 0.2.90.libio to GLIBC_2.2.
10627         * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
10628         and use it to emit new variable `map-firstversions'.
10629         * scripts/firstversions.awk: New file.
10630         * Makerules (Versions.all): Use scripts/firstversions.awk and
10631         the $(map-firstversions) value to generate a modified versions list
10632         that includes renames in "A = B" syntax for each version set earlier
10633         than the "earliest symbol version" named in shlib-versions.
10634         * scripts/versions.awk: Recognize "A = B" lines in the input to mean
10635         rename version set A to B in the output to the intermediate file.
10636         * scripts/abi-versions.awk: New file.
10637         * Makerules (abi-versions.h): New target, generated by that script.
10638         [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
10639         * include/shlib-compat.h: New file, uses that generated header.
10641 2000-03-18  Roland McGrath  <roland@baalperazim.frob.com>
10643         * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
10644         after stripping # comments, and then run it through cpp.
10645         This allows things like "%ifdef FOO" based on config.h settings.
10646         * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
10648         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
10649         and other errors that indicate a pseudo-receive happened, grok through
10650         the message buffer for port rights that need references fixed up.
10652 2000-03-16  Andreas Jaeger  <aj@suse.de>
10654         * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
10656         * sysdeps/unix/sysv/linux/madvise.c: Remove.
10658         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
10659         from latest Linux kernel.
10660         * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
10662         * misc/sys/mman.h: Add prototype for mincore.
10664 2000-03-17  Ulrich Drepper  <drepper@redhat.com>
10666         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
10667         entry for GLIBC_2.0 version of setrlimit.
10668         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
10670 2000-03-16  Thorsten Kukuk  <kukuk@suse.de>
10672         * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
10673         * nis/nss_compat/compat-initgroups.c: Likewise.
10674         * nis/nss_nis/nis-initgroups.c: Likewise.
10675         * nis/nss_nis/nis-netgrp.c: Likewise.
10676         * nis/nss_nis/nis-proto.c: Likewise.
10677         * nis/nss_nis/nis-rpc.c: Likewise.
10678         * nis/nss_nis/nis-service.c: Likewise.
10679         * nis/ypclnt.c: Likewise.
10681 2000-03-16  Andreas Jaeger  <aj@suse.de>
10683         * manual/Makefile: MAKEINFO is set to `:' from configure if it
10684         doesn't exist, correct checks.  Fixes PR libc/1649.
10686 2000-03-16  Thorsten Kukuk  <kukuk@suse.de>
10688         * nscd/hstcache.c: Restore correct UID.
10689         * nscd/pwdcache.c: Likewise.
10690         Patch from Gabor Gombas <gombasg@inf.elte.hu>.
10692 2000-03-17  Roland McGrath  <roland@baalperazim.frob.com>
10694         * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
10695         macros for register names, in line with 2000-03-14 linux change.
10697         * sysdeps/mach/sched_yield.c: New file.
10699 2000-03-13  Roland McGrath  <roland@baalperazim.frob.com>
10701         * sysdeps/generic/lockfile.c: Include <stdio.h>
10702         (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
10703         case <libio.h> defined them.
10704         (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
10705         from __internal_*.
10706         (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
10707         ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
10709         * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
10710         for more pleasing parse error.
10712 2000-03-16  Ulrich Drepper  <drepper@redhat.com>
10714         * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
10715         memory for eras.
10716         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
10718         * elf/Makefile: Add rules to compile and run constload1 test.
10719         * elf/constload1.c: New file.
10720         * elf/constload2.c: New file.
10721         * elf/constload3.c: New file.
10723 2000-03-15  Ulrich Drepper  <drepper@redhat.com>
10725         * sysdeps/posix/open64.c: Make __open64 weak alias.
10726         * sysdeps/posix/pread64.c: Make __pread64 weak alias.
10727         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10728         * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
10729         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10730         * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
10731         * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
10732         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10733         * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
10734         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10735         * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
10737 2000-03-14  Ulrich Drepper  <drepper@redhat.com>
10739         * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
10740         Nautilus.  Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
10742 2000-03-16  Mark Kettenis  <kettenis@gnu.org>
10744         * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
10745         Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
10747 2000-03-08  Andreas Jaeger  <aj@suse.de>
10749         * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
10751 2000-03-14  Ulrich Drepper  <drepper@redhat.com>
10753         * timezone/africa: Update from tzdata2000d.
10754         * timezone/asia: Likewise.
10755         * timezone/australasia: Likewise.
10756         * timezone/europe: Likewise.
10757         * timezone/northamerica: Likewise.
10758         * timezone/southamerica: Likewise.
10760         * po/fr.po: Update from translation team.
10761         * po/de.po: Likewise.
10763         * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
10764         last parameter.  Move code to add map to global scope from here...
10765         * elf/dl-open.c (dl_open_worker): ...here.
10766         * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
10767         * elf/rtld.c: Adjust call to _dl_map_object_deps.
10769         * locale/programs/ld-collate.c (collate_read): Fix warning.
10771         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
10772         values and macros for register names.
10774         * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
10775         returned by seek cookie function is -1.
10777 2000-03-14  Andreas Jaeger  <aj@suse.de>
10779         * locale/localeconv.c (localeconv): Fix typo.
10780         Reported by Andre Charbonneau <andrec@corel.com>.
10782 2000-03-14  Ulrich Drepper  <drepper@redhat.com>
10784         * iconv/skeleton.c: Increment __invocation_counter in inner loop
10785         since modules depend on it counting the number of times the conversion
10786         function got called.
10788         * iconv/gconv_open.c: Optimize loop to setup step data structure.
10790         * iconv/gconv.h: Pretty print.
10792 2000-03-04  Ulrich Drepper  <drepper@redhat.com>
10794         * posix/wordexp-test.c: Correct one of the tests added in the last
10795         change.  Really get the root passwd entry to check again ~root.
10797 2000-03-10  Andreas Jaeger  <aj@suse.de>
10799         * manual/filesys.texi (Working Directory): Fix last patch.
10800         Patch by Martin Buchholz  <martin@xemacs.org>.
10802 2000-03-10  Andreas Jaeger  <aj@suse.de>
10804         * manual/creature.texi (Feature Test Macros): Fix language.
10806 2000-03-10  Roland McGrath  <roland@baalperazim.frob.com>
10808         * mach/devstream.c (devstream_write, devstream_read): New functions.
10809         (input, output): Functions removed.
10810         (mach_open_devstream): Use devstream_{read,write} as cookie functions,
10811         using only the vanilla fopencookie interface.
10813         * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
10814         as macro for __io_functions.
10815         (funcsio): Use cookie_io_functions_t type name.
10816         (fopenport): Renamed from __fopenport.  Rewrite to call fopencookie.
10818         * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
10819         fopencookie.
10820         (fopencookie): Use it.
10821         * libio/libio.h: Declare _IO_cookie_init.
10822         * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
10823         _IO_cookie_init.
10825         * libio/libio.h (__io_seek_fn): Fix second argument type
10826         to be a pointer, in line with the manual and the old stdio.
10827         * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
10829         * sysdeps/generic/bits/stdio-lock.h: New file.
10830         This is a stub with #error, but that's better than no file at all.
10832 2000-03-09  Martin Buchholz  <martin@xemacs.org>
10834         * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
10835         * manual/message.texi (Using gettextized software): Doc Fixes.
10836         * manual/message.texi (Message Translation): Doc Fixes.
10837         * manual/filesys.texi (File Size): Doc Fixes.
10838         * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
10839         * locale/programs/ld-collate.c (collate_output): Doc Fixes.
10840         * iconv/gconv_db.c (find_derivation): Doc Fixes.
10841         * manual/install.texi: Doc Fixes.
10842         * manual/search.texi (Hash Search Function): Doc Fixes.
10843         * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
10844         * FAQ.in: Doc Fixes.
10845         * config.h.in: Doc Fixes.
10846         * sysdeps/generic/dl-sysdep.c: Doc Fixes.
10847         Doc Fixes.  `allows to' is not correct English.
10849         * elf/rtld.c: Doc fixes.
10850         * manual/creature.texi (Feature Test Macros): Doc fixes.
10851         * manual/memory.texi (Hooks for Malloc): Doc Fixes.
10853         * manual/filesys.texi (Working Directory): Check for ERANGE to
10854         avoid infloop.
10856 2000-02-23  Roland McGrath  <roland@baalperazim.frob.com>
10858         * string/argz-stringify.c (__argz_stringify): Fix loop termination
10859         conditions so as not to clobber the final '\0' when there is only one
10860         element in the vector.
10862 2000-03-09  Roland McGrath  <roland@baalperazim.frob.com>
10864         * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
10865         broken by 2000-02-27 change.
10867         * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
10869 2000-02-23  Roland McGrath  <roland@baalperazim.frob.com>
10871         * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
10872         argument type, for 2000-02-22 change in signal/signal.h declaration.
10874 2000-03-09  Roland McGrath  <roland@baalperazim.frob.com>
10876         * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
10877         to getdirentries64 (no __), since the Linux implementation
10878         has no __ name, and there is no declaration for the __ name.
10880         * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
10882         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
10883         sed regexp so as not to break directory names including /../ within.
10885         * sysdeps/unix/bsd/bits/waitflags.h: File removed.
10886         The sysdeps/generic file is right for BSD.  This file was in fact the
10887         Hurd file, but the only difference was the WNOREAP flag that was never
10888         actually implemented or used anywhere.
10890         * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
10891         since AC_PATH_PROG already does it for us.
10892         (PERL): Rewrite check added in 2000-02-29 change for syntactic
10893         correctness and sh portability.  I replaced the broken check
10894         with a more sensible implementation of the apparently intended
10895         semantics, which might still be questionable.  Using expr causes
10896         a non-numeric value for `perl -V:apiversion` to be accepted,
10897         refusing to use only a perl that reports a number less than 5;
10898         on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
10899         * configure: Regenerated.
10901 2000-03-08  Andreas Jaeger  <aj@suse.de>
10903         * manual/crypt.texi: Fix paths.
10905 2000-03-07  Andreas Jaeger  <aj@suse.de>
10907         * resolv/netdb.h: The descriptions of rresvport and rresvport_af
10908         were swapped.
10909         Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
10910         libc/1636.
10912 2000-03-06  Andreas Jaeger  <aj@suse.de>
10914         * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
10915         in __sgn1l, otherwise g++ fails to parse this.
10916         Reported by Sean Chen <sean.chen@turbolinux.com>.
10918 2000-03-03  Geoff Keating  <geoffk@cygnus.com>
10920         * configure.in: Compute sizeof-long-double.
10921         * configure: Regenerated.
10922         * config.make.in: Make sizeof-long-double available to sub-makes.
10924 2000-03-03  Ulrich Drepper  <drepper@cygnus.com>
10926         * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
10927         call.
10929 2000-03-03  Geoff Keating  <geoffk@cygnus.com>
10931         * Makeconfig (rpath-dirs): Add crypt.
10932         (all-subdirs): Remove md5crypt.
10933         * crypt/sysdeps/unix/crypt.c: Move to crypt/.
10934         * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
10935         * sysdeps/generic/crypt-entry.c: Delete.
10936         * crypt/sysdeps/unix/crypt.h: Move to crypt/.
10937         * sysdeps/generic/crypt.h: Delete.
10938         * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
10939         * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
10940         * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
10941         * sysdeps/generic/des_impl.c: Delete.
10942         * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
10943         * crypt/sysdeps: Delete.
10944         * crypt/crypt_util.c: Don't use `patchlevel.h'.
10945         * md5-crypt/Versions: Move to crypt/.
10946         * md5-crypt/md5-crypt.c: Move to crypt/.
10947         * md5-crypt/md5.c: Move to crypt/.
10948         * md5-crypt/md5c-test.c: Move to crypt/.
10949         * md5-crypt/md5test.c: Move to crypt/.
10950         * md5-crypt: Delete.
10951         * crypt/Makefile: Adjust for new structure.
10953 2000-03-03  Paul Eggert  <eggert@twinsun.com>
10955         * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
10956         define to 1 if not defined.
10958 2000-03-03  Andreas Jaeger  <aj@suse.de>
10960         * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
10962 2000-03-03  Andreas Jaeger  <aj@suse.de>
10964         * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
10965         cases.
10966         (xdr_int64_t): Correctly handle lower half.
10967         Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
10969 2000-03-03  Ulrich Drepper  <drepper@cygnus.com>
10971         * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
10972         call.
10974 2000-03-02  Andreas Jaeger  <aj@suse.de>
10976         * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
10977         2.3.43.
10979 2000-03-02  Andreas Jaeger  <aj@suse.de>
10981         * resolv/Makefile (headers): Add arpa/nameser_compat.h.
10983 2000-03-01  Andreas Jaeger  <aj@suse.de>
10985         * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
10986         (tests): Added tst-getdate.
10988         * time/tst-getdate.c: New file.
10990         * time/datemsk: New file, needed for tst-getdate.
10992 2000-02-29  Cristian Gafton  <gafton@redhat.com>
10994         * configure.in (CCVERSION): Require at least veersion 5 of perl API.
10996 2000-02-17  H.J. Lu  <hjl@gnu.org>
10998         * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
11000         * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
11001         available.
11002         (svcudp_recv): Set up message with the new "xp_pad" field for
11003         IP_PKTINFO.
11004         (svcudp_reply): Support IP_PKTINFO if available.
11006 2000-03-01  Andreas Jaeger  <aj@suse.de>
11008         * time/getdate.c (check_mday): Fix check for february.
11009         Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
11010         <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
11012 2000-03-02  Andreas Jaeger  <aj@suse.de>
11014         * posix/unistd.h: __THROW has to precede __attribute__, otherwise
11015         g++ fails to parse this.
11016         Reported by Sean Chen <sean.chen@turbolinux.com>.
11018 2000-02-28  Ulrich Drepper  <drepper@redhat.com>
11020         * io/creat.c: Moved to...
11021         * sysdeps/generic/creat.c: ...here.
11022         * io/creat64.c: Moved to...
11023         * sysdeps/generic/creat64.c: ...here.
11024         * io/lockf.c: Moved to...
11025         * sysdeps/generic/lockf.c: ...here.
11027         * crypt/crypt.texi: Moved to...
11028         * manual/crypt.texi: ...here.
11029         * crypt/examples/genpass.c: Moved to...
11030         * manual/examples/genpass.c: ...here.
11031         * crypt/examples/mygenpass.c: Moved to...
11032         * manual/examples/mygenpass.c: ...here.
11033         * crypt/examples/testpass.c: Moved to...
11034         * manual/examples/testpass.c: ...here.
11036         * manual/Makefile (chapters): Add crypt.
11037         * manual/conf.texi: Add usual header for not-last chapter.
11038         * manual/crypt.texi: Add special header for last chapter.
11040 2000-02-28  Geoff Keating  <geoffk@cygnus.com>
11042         * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
11043         * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
11044         complain if there is no crypt add-on.
11045         * crypt/configure: Removed.
11047         * crypt/crypt.texi: Update documentation of US export restrictions
11048         to match the 14 Jan 2000 regulations.
11050 2000-02-28  Geoff Keating  <geoffk@cygnus.com>
11052         * crypt: New subdirectory, merged in from the crypt add-on.
11054 2000-02-28  Ulrich Drepper  <drepper@redhat.com>
11056         * include/unistd.h: Add __rmdir and __mkdir prototypes.
11059 See ChangeLog.10 for earlier changes.