Update.
[glibc.git] / ChangeLog
blob356a5d3790ff10c1aabd6641b510fe84057e1ca2
1 1998-12-18  Ulrich Drepper  <drepper@cygnus.com>
3         * time/getdate.c (check_mday): tm_mon contains values from 0 to 11,
4         not 1 to 12.
6         * manual/texinfo.tex: Update to latest version.
8         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add ipc.
9         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
10         Patch by Cristian Gafton <gafton@redhat.com>.
12 1998-12-17  Ulrich Drepper  <drepper@cygnus.com>
14         * iconvdata/gconv-modules: Add remaining aliases from Internet
15         standards.
17         * iconv/gconv_int.h (gconv_module): Add new element from_regex_mem.
18         * iconv/gconv_conf.c (module_compare): Make s1 and s2 const.
19         (detect_conflict): New function.
20         (add_alias): Call detect_conflict to see whether there is already
21         a module for the new name.
22         (add_module): Make sure there is no alias for the new name.
23         (read_conf_file): Call add_alias with new argument.
24         (__gconv_read_conf): Don't destroy module tree immediately after
25         walking it.  We need it to test the internal conversions for
26         conflicts.
27         * iconv/gconv_db.c (find_derivation): Don't allocate memory for
28         regular expression.  There is now room in the module descriptor.
29         (free_mem): Don't free memory for regular expression.
31         * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_IRDA, PF_IRDA and
32         MSG_TRYHARD.
34         * sunrpc/clnt_unix.c (clntunix_destroy): Use __close not close.
35         * libio/oldtmpfile.c: Likewise.
36         * libio/oldiofdopen.c: Use __fcntl instead fcntl.
37         * sysdeps/posix/profil.c: Use __sigaction instead of sigaction.
39         * iconvdata/iso646.c (gconv_init): Return correct error value if we
40         run out of memory.
41         * iconvdata/iso-2022-jp.c: Likewise.
43         * iconv/gconv_db.c (gen_steps): Respect error return value from
44         init functions and abort.
46         * iconvdata/iso646.c: Recognize NF_Z_62-010_1973 as charset name.
48 1998-12-17  H.J. Lu  <hjl@gnu.org>
50         * sunrpc/rpc/xdr.h (XDR_DESTROY): Add ';'.
51         (xdr_destroy): Likewise.
53 1998-12-17  Ulrich Drepper  <drepper@cygnus.com>
55         * login/login.c: Determine pts/3 as terminal name if path is
56         /dev/pts/3.  This is consistent with getlogin.  [PR libc/906]
58 1998-12-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
60         * sysdeps/posix/tempname.c (__path_search): Add casts for format
61         string.
63 1998-12-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
65         * sunrpc/rpc/xdr.h (XDR_DESTROY, xdr_destroy): Avoid dangling else
66         problem.
67         (IXDR_PUT_INT32): Fully parenthesize parameters.
68         (IXDR_GET_LONG, IXDR_PUT_LONG): Mark GCC extension.  Fully
69         parenthesize parameter.
71 1998-12-16  Ulrich Drepper  <drepper@cygnus.com>
73         * iconvdata/gconv-modules: Add some of the charset name aliases
74         used in Internet standards.
76 1998-12-16  Ulrich Drepper  <drepper@cygnus.com>
78         * version.h (VERSION): Bump to 2.0.107.
80         * sysdeps/i386/i486/bits/string.h: Pretty printing.
82 1998-12-16  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
84         * sunrpc/rpc/xdr.h: Revert patch from 1998-12-14, partly revert
85         patch from 1998-12-01.
87 1998-12-16  Roland McGrath  <roland@baalperazim.frob.com>
89         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Define this #ifdef
90         __USE_BSD as well as #ifdef __USE_GNU, so MAXSYMLINKS can use it.
91         Reported by UCHIYAMA Yasushi <uch@nop.or.jp>
93 1998-12-16  Ulrich Drepper  <drepper@cygnus.com>
95         * iconvdata/ibm866.c: New file.
96         * iconvdata/cp1258.c: New file.
97         * iconvdata/cp1258.h: New file.
98         * iconvdata/mac-uk.c: New file.
99         * iconvdata/gconv-modules: Add rules for new modules.
100         * iconvdata/Makefile: Likewise.
102         * sysdeps/gnu/bits/ipc.h: Move libc internal bits to...
103         * include/bits/ipc.h: ..here.  New file.
105 1998-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
107         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Don't change
108         read-only struct termios_p* but change k_termios member directly.
110 1998-12-15  H.J. Lu  <hjl@gnu.org>
112         * sysdeps/posix/tempname.c (__path_search): Fix the maximum
113         string length.
115 1998-12-15  Ulrich Drepper  <drepper@cygnus.com>
117         * sysdeps/unix/sysv/linux/msgctl.c: Use INLINE_SYSCALL.
118         * sysdeps/unix/sysv/linux/msgget.c: Likewise.
119         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
120         * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
121         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
122         * sysdeps/unix/sysv/linux/semget.c: Likewise.
123         * sysdeps/unix/sysv/linux/semop.c: Likewise.
124         * sysdeps/unix/sysv/linux/shmat.c: Likewise.
125         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
126         * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
127         * sysdeps/unix/sysv/linux/shmget.c: Likewise.
128         * sysdeps/unix/sysv/linux/syscalls.list: Remove ipc syscall here.
129         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add ipc syscall here.
131         * time/strftime.c: Remove 'f' format.
133         * time/strptime.c (get_number): Ignore trailing whitespace.
134         (strptime_internal): Handle 'F' and 'k' formats.
136         * sysdeps/posix/tempname.c (__path_search): Add second part of the
137         patch by Andreas Jaeger.
139 1998-12-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
141         * stdio-common/tst-tmpnam.c (main): Use void as parameter to avoid
142         warnings about unused args.  Fix comment.
144 1998-12-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
146         * sysdeps/posix/tempname.c (__path_search): Correct last patch.
148 1998-12-14  Ulrich Drepper  <drepper@cygnus.com>
150         * sunrpc/rpc/xdr.h (IXDR_GET_INT32): Case pointer before reading from
151         it.
152         (IXDR_PUT_INT32): Likewise for writing.
153         Patch by Bruce Elliott <bde@nwlink.com>.
155 1998-12-08  H.J. Lu  <hjl@gnu.org>
157         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Don't clear
158         the IBAUD0 bit in c_iflag.
160         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Clear the
161         the IBAUD0 bit in c_iflag.
163 1998-12-14  Ulrich Drepper  <drepper@cygnus.com>
165         * time/Makefile (tests): Add tst-strptime.
166         * time/tst-strptime.c: New file.
167         * time/strptime.c: Correct bugs in weekday and yearday computation.
169 1998-12-14  Ulrich Drepper  <drepper@cygnus.com>
171         * time/strptime.c (strptime_internal): Set tm_wday and tm_yday in
172         any of tm_year, tm_mon, or tm_mday was changed and the value
173         itself wasn't specified.
175         * include/stdio.h: Add new parameter to __path_search.
176         * libio/oldtmpfile.c: Add 0 as new parameter to __path_search.
177         * stdio-common/tmpfile.c: Likewise.
178         * stdio-common/tmpfile64.c: Likewise.
179         * stdio-common/tmpnam.c: Likewise.
180         * stdio-common/tmpnam_r.c: Likewise.
181         * stdio-common/tempnam.c: Add 1 as new parameter to __path_search.
182         * sysdeps/posix/tempname.c: Add new parameter.  If value is nonzero
183         consider TMPDIR environment variable and dir parameter.  Otherwise not.
184         * stdio-common/Makefile (tests): Add tst-tmpnam.
185         * stdio-common/tst-tmpnam.c: New file.
187         * po/es.po: Update from translation team.
189 1998-12-12  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
191         * timezone/Makefile: Protect inclusion of z.* by avoid-generated
192         and inhibit_timezone_rules instead of no_deps.
193         * Make-dist: Pass inhibit_timezone_rules=t when making
194         echo-distinfo.
196 1998-12-12  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
198         * manual/Makefile (distribute): Remove dir-add.texinfo.
200         * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/procfs.h and
201         sys/user.h.
203 1998-12-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
205         * manual/Makefile (stamp-summary): Use ^L as separator for
206         sorting.
207         * manual/arith.texi: Add comments before all @deffoox lines to get
208         them added to the summary.
209         * manual/creature.texi: Likewise.
210         * manual/math.texi: Likewise.
212 1998-12-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
214         * math/libm-test.c: Remove macro ISINF.  Change all usages of
215         ISINF to isinf.
217 1998-12-13  Ulrich Drepper  <drepper@cygnus.com>
219         * sysdeps/posix/tempname.c: Use __xstat instead of __stat.
220         * sysdeps/unix/grantpt.c: Likewise.
221         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
222         * sysvipc/ftok.c: Likewise.
223         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
225         * stdlib/test-canon.c: Define PATH_MAX if the system does not.
226         * string/stratcliff.c: Use MAP_ANON instead of MAP_ANONYMOUS.
227         Patch by UCHIYAMA Yasushi <uch@nop.or.jp>.
229 1998-12-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
231         * sysdeps/alpha/fpu/fsetexcptflg.c: Avoid -Wparentheses warning.
233         * sysdeps/libm-ieee754/s_expm1.c (__expm1): Avoid -Wparentheses
234         warning.
235         * sysdeps/libm-ieee754/s_log1p.c (__log1p): Likewise.
236         * sysdeps/libm-ieee754/e_logf.c (__ieee754_logf): Likewise.
237         * sysdeps/libm-ieee754/s_expm1f.c (__expm1f): Likewise.
238         * sysdeps/libm-ieee754/e_log.c (__ieee754_log): Likewise.
239         * sysdeps/libm-ieee754/s_log1pf.c (__log1pf): Likewise.
241 1998-12-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
243         * sunrpc/svc_udp.c (svcudp_bufcreate): Declare len as socklen_t.
244         (svcudp_recv): Likewise.
246 1998-12-13  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
248         * nis/nss-nisplus.h: Change some mappings of NIS+ errors to
249         NSS error codes to avoid endless loops.
251 1998-12-13  Ulrich Drepper  <drepper@cygnus.com>
253         * iconvdata/gconv-modules: Correct aliases for ISO-8859-13 and add
254         aliases for ISO-8859-14.
256 1998-12-12  Geoff Keating  <geoffk@ozemail.com.au>
258         * posix/fnmatch.c (fnmatch): Arguments to FOLD must not have
259         side-effects.
261 1998-12-12  Ulrich Drepper  <drepper@cygnus.com>
263         * iconvdata/iso-8859-11.h: ISO 8859-11 conversion data.
264         * iconvdata/iso-8859-11.c: ISO 8859-11 conversion module.
265         * iconvdata/iso-8859-13.c: Likewise for 8859-13.
266         * iconvdata/iso-8859-14.c: Likewise for 8859-14.
267         * iconvdata/iso-8859-15.c: Likewise for 8859-15.
268         * iconvdata/gconv-modules: Add rules for new modules.
269         * iconvdata/Makefile: Likewise.
271 1998-12-12  Ulrich Drepper  <drepper@cygnus.com>
273         * stdio-common/printf_fp.c: #ifdef out long double handling code if
274         __NO_LONG_DOUBLE_MATH is defined to avoid warnings.
275         * stdio-common/printf_fphex.c: Likewise.
276         * stdio-common/printf-size.c: Likewise.
278 1998-12-12  Ulrich Drepper  <drepper@cygnus.com>
280         * login/Makefile: Install pt_chown using INSTALL_PROGRAM.
281         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
283 1998-12-11  Ulrich Drepper  <drepper@cygnus.com>
285         * sysdeps/powerpc/dl-machine.h (elf_machine_matches_host): Mark
286         static inline, not extern inline.
287         (elf_machine_dynamic): Likewise.
288         (elf_machine_lazy_rel): Likewise.
289         (elf_machine_plt_value): Likewise.
290         * sysdeps/powerpc/backtrace.c: Include stddef.h to get NULL
291         definition.
292         Patchess by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
294         * sysdeps/mips/dl-machine.h (elf_machine_rel): Fixl_addr parameter
295         type.  Reported by job bogan <job@piquin.uchicago.edu>.
297         * sysdeps/unix/opendir.c (__opendir): Use __xstat instead of
298         __stat.
300 1998-12-11  Kunihiro Ishiguro  <kunihiro@zebra.org>
302         * inet/netinet/in.h: Change obsolete structure member
303         ipv6mr_ifindex to new ipv6mr_interface.
305 1998-12-11  Ulrich Drepper  <drepper@cygnus.com>
307         * sysdeps/ieee754/dbl2mpn.c: Changed '#include "ieee754.h"' to
308         '#include <ieee754.h>'.  ARM port has its own version of 'ieee754.h'
309         due to its big endian floating point format.
310         * sysdeps/ieee754/ldbl2mpn.c: Likewise.
311         * sysdeps/ieee754/mpn2dbl.c: Likewise.
312         * sysdeps/ieee754/mpn2ldbl.c: Likewise.
313         * sysdeps/ieee754/mpn2flt.c: Likewise.
314         Patch by Scott Bambrough <scottb@corelcomputer.com>.
316 1998-12-10  Ulrich Drepper  <drepper@cygnus.com>
318         * sysdeps/unix/sysv/linux/adjtime.c: Undo last change.
320         * posix/PTESTS: Fix typo.
322         * po/es.po: Update from translation team.
323         * po/fr.po: Likewise.
325 1998-12-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
327         * nis/nss_compat/compat-pwd.c: Fix handling of +/- entries.
329 1998-12-10  Ulrich Drepper  <drepper@cygnus.com>
331         * sunrpc/Makefile: Call rpcgen program which -Y parameter so that
332         it can find the preprocessor.
334 1998-12-09  Geoff Keating  <geoffk@ozemail.com.au>
336         * sysdeps/unix/sysv/linux/sys/procfs.h: Use sys/user.h not
337         asm/user.h.
338         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
340         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: New file,
341         like linux/sys/procfs.h but uses uid_t and gid_t.
342         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: New file,
343         don't include <linux/ptrace.h>.
345 1998-12-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
347         * posix/runptests.c (main): Check that regcomp did not succeed
348         unexpectedly.
349         * posix/runtests.c (run_a_test): Likewise.  Return appropriate
350         exit code.
351         * posix/TESTS: Regexp "a[b-a]" should not compile.
352         * posix/PTESTS: Comment out bogus tests GA113(2), GA145(2) and
353         GA147(2).
355 1998-12-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
357         * locale/programs/ld-ctype.c (allocate_arrays): Don't crash if
358         there is no codeset name.
359         * locale/programs/ld-collate.c (collate_output): Don't crash if a
360         character has no weight.
362 1998-12-10  Ulrich Drepper  <drepper@cygnus.com>
364         * inet/getnetgrent_r.c (innetgr): Check host and domain name with
365         strcasecmp, not strcmp.  [PR libc/894].
367 1998-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
369         * posix/regex.h: Declare re_comp, re_exec if compiling for libc to
370         get prototypes.
372         * wctype/wctype.h: Add prototypes for __iswblank_l and iswblank.
374 1998-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
376         * sysdeps/unix/sysv/linux/gethostid.c: Include <netdb.h> to get
377         prototype for __gethostbyname_r.
379         * include/time.h: Add declarations of internal interfaces.
381         * time/tzset.c: Remove declarations of internal interfaces.
382         * time/gmtime.c: Likewise.
383         * time/localtime.c: Likewise.
384         * time/offtime.c: Likewise.
385         * time/tzfile.c: Likewise.
387 1998-12-01 09:47 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
389         * sysdeps/unix/sysv/linux/sys/timex.h: Copy out
390         user-space-relevant definitions from linux/timex.h of kernel
391         2.1.130 and remove include of kernel header.
393         * sysdeps/unix/sysv/linux/adjtime.c: Remove portability crud.
395 1998-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
397         * posix/regex.c: Get regex.h from system path, not from local
398         directory.
400         * posix/regex.h: Move internal interfaces to ...
401         * include/regex.h: ...here.
403         * posix/unistd.h: Move internal interfaces to ...
404         * include/unistd.h: ...here.
406         * math/math.h: Move internal interfaces to ...
407         * include/math.h: ...here.
409         * posix/glob.h: Move internal interfaces to ...
410         * include/glob.h: ...here.
412         * string/string.h: Move internal interfaces to ...
413         * include/string.h: ...here.
415         * time/sys/time.h: Move internal interfaces to ...
416         * include/sys/time.h: ...here.
418         * resolv/netdb.h: Move internal interfaces to ...
419         * include/netdb.h: ...here.
421 1998-12-08  Ulrich Drepper  <drepper@cygnus.com>
423         * iconvdata/eucjp.c: Handle Yen in overscore conversion from ISO 10646
424         correctly.
425         * iconvdata/iso-2022-jp.c: Handle Kana in 2022-JP2 correctly
426         Fix various bugs in conversion routine.
427         * iconvdata/jis0201.h: Correct variable name.
428         * iconvdata/jis0208.c: Correct script to generate tables and regenerate
429         them.
430         * iconvdata/jis0208.h: Likewise.
431         * iconvdata/jis0212.c: Likewise.
432         * iconvdata/sjis.c: Likewise.
433         Patch by HANATAKA Shinya <hanataka@abyss.rim.or.jp>.
435 1998-12-07  Ulrich Drepper  <drepper@cygnus.com>
437         * sysdeps/unix/sysv/linux/speed.c (IBAUD0): New definition.  Bit
438         set in c_iflag if cfsetispeed is call with SPEED set to zero.
439         (cfgetispeed): Return zero if prior if IBAUD0 is set.
440         (cfsetospeed): Clear IBAUD0 bit.
441         (cfgetispeed): Set IBAUD0 bit if necessary.
442         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Clear
443         the IBAUD0 bit in c_iflag when making the system call.
444         Work around a Linux kernel bug which silently changes the
445         PARENB/CREAD/CSIZE bits in c_cflag on pty.
446         * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Make a real
447         function.  Don't set speed is SPEED parameter is zero since this
448         means set it to the output speed.
449         Based on a patch by H.J. Lu <hjl@gnu.org>.
451         * version.h (VERSION): Bump to 2.0.106.
453         * Makeconfig (link-libc-static): Don't use link-libc since this
454         includes the shared object.  Use gnulib only.
456         * configure.in: Disable --disable-static.
458 1998-12-07 12:06  Ulrich Drepper  <drepper@cygnus.com>
460         * po/de.po: Update from translation team.
461         * po/ko.po: Likewise.
463 1998-12-07  Richard Henderson  <rth@cygnus.com>
465         * sysdeps/unix/sysv/linux/alpha/select.S: Save a4 through
466         both paths.
468 1998-12-05  Roland McGrath  <roland@baalperazim.frob.com>
470         * sysdeps/mach/hurd/pselect.c: New file.
472         * sysdeps/mach/hurd/poll.c: New file.
474         * hurd/Makefile (routines): Add hurdselect.
475         * hurd/hurdselect.c: New file.
476         (_hurd_select): New function, guts taken from ...
477         * sysdeps/mach/hurd/select.c (__select): ... here.
478         Now work by just calling _hurd_select.
479         * hurd/hurd/fd.h: Declare _hurd_select.
481 1998-12-05  Roland McGrath  <roland@baalperazim.frob.com>
483         * time/strptime.c: Fix unterminated comment in last change.
485 1998-12-05  Ulrich Drepper  <drepper@cygnus.com>
487         * ctype/ctype.h (_ISbit): Protect use of parameter with
488         parentheses.
489         * wctype/wctype.h (_ISwbit): Likewise.
491         * locale/Versions: Make experimental locale interface available in
492         GLIBC_2.1.
494         * sysdeps/gnu/bits/utmp.h (struct exit_status): Define members
495         without leading __ only for __USE_GNU.
496         * sysdeps/gnu/bits/utmpx.h (struct __exit_status): Likewise.
498 1998-12-04  Ulrich Drepper  <drepper@cygnus.com>
500         * argp/argp.h: Add __restrict.
501         * dirent/dirent.h: Likewise.
502         * elf/dlfcn.h: Likewise.
503         * grp/grp.h: Likewise.
504         * iconv/iconv.h: Likewise.
505         * inet/aliases.h: Likewise.
506         * libio/libio.h: Likewise.
507         * libio/stdio.h: Likewise.
508         * locale/locale.h: Likewise.
509         * misc/mntent.h: Likewise.
510         * posix/wordexp.h: Likewise.
511         * pwd/pwd.h: Likewise.
512         * resolv/netdb.h: Likewise.
513         * rt/aio.h: Likewise.
514         * stdio-common/printf.h: Likewise.
515         * stdlib/monetary.h: Likewise.
516         * stdlib/stdlib.h: Likewise.
517         * string/argz.h: Likewise.
518         * string/envz.h: Likewise.
519         * string/string.h: Likewise.
520         * time/time.h: Likewise.
522 1998-12-04  Zack Weinberg  <zack@rabi.phys.columbia.edu>
524         * misc/sys/cdefs.h: Only include features.h if _FEATURES_H isn't
525         defined.  gcc's redundant include optimizer isn't clever enough to
526         prevent a reinclusion here.
527         Define __restrict to the empty string only if not GCC or
528         GCC version less than 2.92.
530 1998-12-03  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
532         * sysdeps/unix/sysv/linux/configure.in: Fix last change.
534 1998-12-03  Mark Kettenis  <kettenis@phys.uva.nl>
536         * time/strptime.c (strptime_internal): Make use of `%C' format
537         specifier if it is seen together with the `%y' specifier.
539 1998-12-04  Ulrich Drepper  <drepper@cygnus.com>
541         * po/sk.po: New file.
543 1998-12-03  Scott Bambrough  <scottb@corelcomputer.com>
545         * sysdeps/arm/dl-machine.h (dl_start_user): Incorrect address
546         for _dl_main_searchlist passed to _dl_init_next.
548 1998-12-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
550         * math/libm-test.c: Expand literal tabs in strings.  Normalize
551         whitespace.
553 1998-12-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
555         * sysdeps/unix/sysv/linux/sys/fsuid.h: Fix spelling.
557 1998-12-04  Mark Kettenis  <kettenis@phys.uva.nl>
559         Provide backwards binary compatibility for the Hurd.
560         * hurd/geteuids.c [PIC && DO_VERSIONING]: Make __getuids a weak
561         alias for geteuids.
562         * hurd/Versions [GLIBC_2.0]: Add __getuids,
563         __hurd_file_name_lookup and _hurd_umask.
564         [GLIBC_2.1]: Add _hurd_proc_init.
565         * hurd/Makefile [versioning] (routines): Add compat-20.
566         (shared-only-routines): Likewise.
567         * hurd/hurdinit.c (_hurd_new_proc_init): Renamed from
568         _hurd_proc_init.  Use it as the default _hurd_proc_init version
569         for GLIBC_2.1.
570         * hurd/compat-20.c: New file.
571         * mach/Versions [GLIBC_2.0]: Add __vm_allocate.
573 1998-12-02  Ulrich Drepper  <drepper@cygnus.com>
575         * elf/elf.h: Add R_MIPS_JALR and adjust R_MIPS_NUM appropriately.
577 1998-12-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
579         * inet/Versions: Remove inet6_isipv4mapped.
581 1998-12-02  Philip Blundell  <pb@nexus.co.uk>
583         * inet/in6_addr.c (inet6_isipv4mapped): Obsolete, deleted.
585 1998-11-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
587         * manual/time.texi (Formatting Date and Time): Fix typo.
589 1998-11-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
591         * sysdeps/unix/sysv/linux/configure.in: Only check for symlinks
592         when configuring natively.  Use autoconf macros instead of rolling
593         our own.  Handle defaulted prefix.
595 1998-12-01  Ulrich Drepper  <drepper@cygnus.com>
597         * version.h (VERSION): Bump to 2.0.105.
599         * sysdeps/generic/Dist: Add bits/libc-tsd.h.
601         * sysdeps/mach/hurd/Dist: Add bits/libc-tsd.h.
603         * sysdeps/unix/sysv/linux/mips/Dist: Add xstatconv.c.
605 1998-11-29 1998  H.J. Lu  <hjl@gnu.org>
607         * libio/genops.c (_IO_unbuffer_write): Renamed from
608         _IO_unbuffer_all.
609         (_IO_cleanup): Call _IO_unbuffer_write instead of
610         _IO_unbuffer_all.
612 1998-12-01  Ulrich Drepper  <drepper@cygnus.com>
614         * intl/localealias.c: Use *_unlocked version of stdio function if
615         _LIBC_REENTRANT is defined, not _LIBC.
617 1998-12-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
619         * include/grp.h: Add prototypes for internal functions
620         __getgrgid_r and __getgrnam_r.
622         * inet/herrno.c: Include <netdb.h> for prototype, undef h_errno.
624         * resolv/nsap_addr.c: Include <arpa/inet.h> for inet_nsap_addr and
625         inet_nsap_ntoa prototypes.
627 1998-12-01  Ulrich Drepper  <drepper@cygnus.com>
629         * sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Pass -I option
630         to gcc to have it find the correct system header.
631         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
633         * Makefile (postclean): Add sysd-sorted.
634         Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
636 1998-12-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
638         * sunrpc/auth_des.c: Use new XDR int32 functions for integers.
639         * sunrpc/rpc/xdr.h: Add IXDR INT32 functions.
640         * sunrpc/rpc_hout.c: Remove (u_long) casts in defines to avoid
641         conflicts with new solaris version.
642         * sunrpc/rpc_main.c: Fix bug in generating Makefile name (malloc
643         doesn't zero allocated memory).
644         * sunrpc/rpc_svcout.c: Local variables now starts with a _ to avoid
645         conflicts with xdr functions.  Solves PR libc/877.
646         * nis/rpcsvc/nis.x: Use always uint32_t.
647         * nis/rpcsvc/nis.h: Likewise.
648         * nis/rpcsvc/nis_object.x: Likewise.
650 1998-12-01  Ulrich Drepper  <drepper@cygnus.com>
652         * math/libm-test.c: Various cleanups.  Patch by Zack Weinberg.
654         * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Use correct type for
655         parameter.  Patch by Christian Gafton.
657         * string/envz.h: Add prototype for envz_remove.
658         Reported by Andreas Jaeger.
660 1998-11-30  Mark Kettenis  <kettenis@phys.uva.nl>
662         * mach/Versions [libc, GLIBC_2.0]: Add __spin_lock,
663         __spin_lock_init,  __mutex_lock, __mutex_trylock,
664         __mutex_unlock.
665         Remove get_priviliged_ports.  Moved to hurd/Versions.
667         * hurd/Versions [libc, GLIBC_2.0]: Add _end.  This makes the Hurd
668         brk implementation see the end of the data segment of the program
669         instead of the shared library.
670         Add __hurd_errno_location.  This inline function is used in user
671         programs.
672         Add _hurd_critical_section_lock, _hurd_critical_section_unlock,
673         _hurd_fd_get, _hurd_port_free, _hurd_port_get,
674         _hurd_port_locked_get.  These inline functions are used by macros
675         used in mail.local in the Hurd distribution.
676         Add get_privileged_ports.  Moved here from mach/Versions.
677         Remove __hurd_file_name_lookup, __hurd_file_name_lookup_retry,
678         __hurd_file_name_split, __hurd_file_name_path_lookup.  These are
679         not used outside libc.
681 1998-11-30  Mark Kettenis  <kettenis@phys.uva.nl>
683         * hurd/hurdstartup.c: Really include set-hooks.h with <> instead
684         of "".
686 1998-11-29  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
688         * sunrpc/Makefile: Add xdr_intXX_t to routines.
689         * sunrpc/Versions: Add xdr_int8_t, xdr_uint8_t, xdr_in16_t and
690           xdr_uint16_t.
691         * sunrpc/rpc/xdr.h: Add prototypes for new xdr_intXX_t functions.
692         * sunrpc/xdr.c: Remove xdr_int32_t and xdr_uint32_t.
693         * sunrpc/xdr_intXX_t.c: New, contains all xdr_intXX_t functions.
695         * nis/Depend: New.
696         * nis/nss_nis/nis-service.c: Include generated prototype for parser.
698 1998-11-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
700         * nscd/nscd_getpw_r.c: Include nscd_proto.h for prototypes.
702         * sysdeps/generic/errno-loc.c: Include <errno.h> for prototype,
703         undefine errno to get variable.
705         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Include <sys/fsuid.h>
706         instead of <unistd.h> for prototype.
707         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
709 1998-11-30  Ulrich Drepper  <drepper@cygnus.com>
711         * misc/err.h: Correct comments and use protected attribute keywords.
712         Reported by Joseph Myers <jsm28@cam.ac.uk>.
714 1998-11-29  Roland McGrath  <roland@baalperazim.frob.com>
716         * malloc/thread-m.h [_LIBC]: Include <bits/libc-tsd.h>, and
717         remove tsd stuff from pthreads/cthreads libc sections.
718         Use __libc_tsd_define for MALLOC key.
719         [_LIBC] (tsd_key_t, tsd_key_create): Define to a zero-size type and a
720         no-op, respectively.
721         [_LIBC] (tsd_setspecific, tsd_getspecific): Use __libc_tsd_get/set.
723         * elf/dl-error.c: Include <bits/libc-tsd.h>.
724         Use __libc_tsd_define for DL_ERROR key.
725         (tsd_setspecific, tsd_getspecific): Rewritten using __libc_tsd_get/set.
727         * sysdeps/mach/hurd/bits/libc-tsd.h: New file.
728         * sysdeps/generic/bits/libc-tsd.h: New file.
729         * Makefile (distribute): Add bits/libc-tsd.h.
731 1998-10-12  Roland McGrath  <roland@baalperazim.frob.com>
733         * elf/dl-error.c: Remove kludge to check for ld.so load address.
734         There is no need if weak undefined symbols are not used in ld.so;
735         see linuxthreads/ChangeLog for changes to files
736         linuxthreads/sysdeps/pthread/bits/libc-lock.h and
737         linuxthreads/sysdeps/pthread/bits/libc-tsd.h.
739 1998-11-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
741         * sysdeps/i386/bits/string.h (__memset_cc): Fix typo (s->__s).
743         * sysdeps/i386/i486/bits/string.h: Add prototypes for all new
744         inline functions.
745         * sysdeps/i386/bits/string.h: Likewise.
747 1998-11-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
749         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Remove ipc_kludge.
751 1998-11-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
753         * db2/progs/db_load/db_load.c (main): Avoid -Wparentheses warning.
755 1998-09-12  Mark Kettenis  <kettenis@phys.uva.nl>
757         * sysdeps/mach/hurd/dl-sysdep.c: Do not define
758         __hurd_threadvar_max.  Add comment explaining why we define
759         __hurd_threadvar_stack_offset and __hurd_threadvar_stack_mask here.
761 1998-07-29  Mark Kettenis  <kettenis@phys.uva.nl>
763         * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
764         __hurd_sigthread_stack_end, __hurd_sigthread_variables): Define to
765         prevent inclusion of Hurd signal handling code.
766         (__libc_write): New function.
767         (_dl_sysdep_output): Removed.  The implementation in
768         `elf/dl-misc.c' now also works for the Hurd.
770 1998-09-12  Mark Kettenis  <kettenis@phys.uva.nl>
772         * hurd/hurdstartup.c: Do not include hurdmalloc.h; _hurd_startup
773         does not use any of malloc/realloc/free anymore.  Include
774         set-hooks.h with <> instead of "".
776 1998-11-29  Roland McGrath  <roland@baalperazim.frob.com>
778         * sunrpc/svc_unix.c (__msgread): Move ON local var inside block
779         within #ifdef SO_PASSCRED.  Avoids unused var when no SO_PASSCRED.
780         * sunrpc/clnt_unix.c (__msgread): Likewise.
782 1998-11-28  Roland McGrath  <roland@baalperazim.frob.com>
784         * hurd/setuids.c: Renamed to ...
785         * hurd/seteuids.c: this.
786         (setuids): Renamed to seteuids.
787         * hurd/getuids.c: Renamed to ...
788         * hurd/geteuids.c: this.
789         (__getuids): Renamed to geteuids, no aliases.
790         * hurd/hurd.h (geteuids, seteuids): Declare them.
791         * hurd/Versions: Replace getuids; __getuids with geteuids; seteuids.
792         * hurd/Makefile (routines): Updated.
794 1998-11-29  Ulrich Drepper  <drepper@cygnus.com>
796         * sysdeps/generic/segfault.c (install_handler): Correct test for
797         SEGFAULT_HANDLER=all.
798         Patch by Zack Weinberg.
800 1998-11-28 23:23 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
802         * sysdeps/unix/sysv/linux/configure.in: Test for symlinks in
803         $prefix/include that may be clobbered on installation.
805 1998-11-27  Philip Blundell  <pb@nexus.co.uk>
807         Fixes to allow compilation with static NSS:
808         * nss/Makefile: Make explicit the dependency of getent on
809         libnss_files.a.
810         [build_static_nss]: Define $(otherlibs) appropriately.
811         * nss/Depend: Add a dependency on `resolv'.
813 1998-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
815         Partial support for MIPS ISO C 9x exception handling:
816         * sysdeps/mips/fclrexcpt.c: New file.
817         * sysdeps/mips/ftestexcept.c: New file.
818         * sysdeps/mips/fgetexcptflg.c: New file.
819         * sysdeps/mips/fesetround.c: New file.
820         * sysdeps/mips/fegetround.c: New file.
821         * sysdeps/mips/fegetenv.c: New file.
822         * sysdeps/mips/fesetenv.c: New file.
823         * sysdeps/mips/feupdateenv.c: Likewise.
824         * sysdeps/mips/bits/fenv.h: New file.
826 1998-11-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
828         * sysdeps/unix/sysv/linux/mips/bits/signum.h: Remove inclusion of
829         <asm/signal.h> and add needed symbols from <asm/signal.h>; bring
830         in sync with linux specific version.
832         Patches by Ralf Baechle <ralf@uni-koblenz.de> for mips-linux:
834         * sysdeps/unix/mips/sysdep.S: Define _errno as weak_alias, rewrite
835         errno declaration.
837         * sysdeps/unix/sysv/linux/mips/ustat.c: Use INLINE_SYSCALL instead
838         of calling __syscall_*.
839         * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
841         * sysdeps/unix/sysv/linux/mips/syscalls.list: Update entries.
843         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Add missing SYS_*
844         constants, correct values according to Linux 2.1.130.
846         * sysdeps/unix/sysv/linux/mips/pwrite.c: New file.
847         * sysdeps/unix/sysv/linux/mips/pwrite64.c: New file.
848         * sysdeps/unix/sysv/linux/mips/pread.c: New file.
849         * sysdeps/unix/sysv/linux/mips/pread64.c: New file.
851         * sysdeps/mips/Makefile (sysdep_routines): Use += instead of a
852         :=.
854         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Remove ipc_kludge.
856         * sysdeps/unix/sysv/linux/mips/xstatconv.c: New file.
858         * sysdeps/unix/sysv/linux/mips/xstat.c: Removed.
860         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: New file.
862         * sysdeps/unix/sysv/linux/mips/kernel_termios.h: Add copyright
863         message, change name of include protection, remove inclusion of
864         <bits/termios.h>.
866         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h
867         (old_kernel_sigaction): Define.
868         (struct kernel_sigaction): Rename sa_handler to k_sa_handler.
870         * sysdeps/unix/sysv/linux/mips/bits/time.h: Removed, we can use
871         the general linux version.
872         * sysdeps/unix/sysv/linux/mips/bits/stat.h (_STAT_VER_KERNEL): Added.
874         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Update file.
876 1998-09-03  Philip Blundell  <pb@nexus.co.uk>
878         * sysdeps/arm/bits/endian.h (__FLOAT_WORD_ORDER): Define to big
879         endian.
880         * math/math_private.h: Use __FLOAT_WORD_ORDER rather than
881         BYTE_ORDER.
882         * string/endian.h: If __FLOAT_WORD_ORDER wasn't defined by
883         <bits/endian.h>, make it the same as __BYTE_ORDER.
885 1998-11-27  Ulrich Drepper  <drepper@cygnus.com>
887         * math/math.h: Avoid using long double functions in generic macros
888         if __NO_LONG_DOUBLE_MATH.
890         * sysdeps/arm/dl-machine.h: Fix handling of weak undefined symbols
891         during bootstrapping.
892         * scripts/config.sub: Add Netwinder specific matches.
893         Patch by Scott Bambrough <scottb@corelcomputer.com>.
895 1998-11-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
897         * Makeconfig ($(common-objpfx)sysd-dirs): Use automatic variables
898         if possible.
899         ($(common-objpfx)sysd-sorted): Likewise.
901 1998-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
903         * sysdeps/libm-ieee754/e_log.c (__ieee754_log): Add declaration of
904         local variables t1,t2 only if needed.
906         * sysdeps/libm-ieee754/e_atan2.c: Added braces to avoid compiler
907         warnings.
908         * sysdeps/libm-ieee754/s_truncf.c (__truncf): Likewise.
909         * sysdeps/libm-ieee754/s_trunc.c (__trunc): Likewise.
911         * sysdeps/mips/mul_1.S (Loop): Add closing comment to avoid
912         warning.
914 1998-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
916         * math/math.h: Add brace to correct #if expression.
918 1998-11-26  Philip Blundell  <philb@gnu.org>
920         Undo change of 1998-11-12:
921         * sysdeps/unix/sysv/linux/netlink/netlink.h: Deleted.
922         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
923         netlink/netlink.h.
924         * sysdeps/unix/sysv/linux/Dist: Likewise.
926 1998-11-22  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
928         * nis/nis_print.c (nis_print_entry): Changes to match Solaris output.
930 1998-11-26  Ulrich Drepper  <drepper@cygnus.com>
932         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): New defined macro.
933         (elf_machine_got_rel): Remove scope variable.  Use scope from the map.
934         Don't modify _dl_global_scope_end in the end.
935         (__dl_runtime_resolv): Also use scope from the map.
936         * sysdeps/mips/mips64/dl-machine.h: Likewise.
937         * elf/dl-runtime.c: Don't define fixup and profile_fixup if
938         ELF_MACHINE_NO_PLT is defined.
939         * sysdeps/mips/sys/ucontext.h: New file.
940         Patches by kaz Kojima <kkojima@rr.iij4u.or.jp>.
942 1998-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
944         * sysdeps/generic/pselect.c (__pselect): Change interface,
945         set/restore sigmask.
947         * misc/sys/select.h: Change declaration according to Stevens' Unix
948         Network Programming.
949         * include/sys/select.h (__pselect): Likewise.
950         Reported by <bwelling@anomaly.munge.com> [PR libc/872].
952         * include/fpu_control.h: New file, contains __setfpucw
953         declaration.
955         * sysdeps/generic/fpu_control.h: Remove __setfpucw declaration,
956         it's an internal symbol.
957         * sysdeps/alpha/fpu/fpu_control.h: Likewise.
958         * sysdeps/arm/fpu/fpu_control.h: Likewise.
959         * sysdeps/i386/fpu_control.h: Likewise.
960         * sysdeps/m68k/fpu_control.h: Likewise.
961         * sysdeps/powerpc/fpu_control.h: Likewise.
962         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Likewise.
963         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
965 1998-11-25  Ulrich Drepper  <drepper@cygnus.com>
967         * version.h (VERSION): Bump to 2.0.104.
969 1998-11-25  Mark Kettenis  <kettenis@phys.uva.nl>
971         * libio/bits/stdio.h (fread_unlocked): Add missing parentheses
972         around parameter n.
974 1998-11-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
976         * time/tzfile.c (__tzfile_read): Fix comment.
978 1998-11-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
980         * Makerules (build-shlib): Pass -O1 down to linker to get
981         optimized shared libraries.
983 1998-11-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
985         * Makeconfig ($(common-objpfx)sysd-dirs): Cope with no Subdirs
986         file.  Strip "-" from inhibited subdir name.  Combine into a
987         single awk program.
988         ($(common-objpfx)sysd-sorted): Fix sed command.
990 1998-11-25  Roland McGrath  <roland@baalperazim.frob.com>
992         * sysdeps/mach/hurd/i386/init-first.c (init): Restored as inline fn.
993         Use constant _HURD_THREADVARS_MAX for temporary array size.
995         * Makeconfig ($(common-objpfx)sysd-sorted): Use @ instead of / as sed
996         s separator, since $(..) might contain a /.
998 1998-11-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1000         * configure.in (mips): Fix typo (Replace ,, by ;;).
1002         * libio/Versions: Clean up entries.
1004 1998-11-23  Ulrich Drepper  <drepper@cygnus.com>
1006         * sysdeps/i386/fpu/bits/mathinline.h: Add optimizations for lrint
1007         and llrint.
1009 1998-11-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1011         * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Removed.  There are too
1012         many differences between the Linux 2.0 and 2.1 versions of this
1013         file and it's too difficult to convert all calls.  The file should
1014         only be needed by the ipfw program which has to take care of the
1015         correct kernel version and include files.
1017         * sysdeps/unix/sysv/linux/Dist: Remove netinet/ip_fw.h.
1018         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
1020 1998-11-23  Ulrich Drepper  <drepper@cygnus.com>
1022         * Makeconfig: Don't read sysd-sorted unless sysd-dirs is read.
1023         Patch by Zack Weinberg.
1025         * math/bits/mathcalls.h: Adjust comments.  Remove gamma_r prototype.
1027         * sysdeps/i386/fpu/bits/mathinline.h: Make log2 only available if
1028         __USE_ISOC9X is defined.  Provide rint optimization.
1030 1998-11-21  H.J. Lu  <hjl@gnu.org>
1032         * libio/Versions (_IO_popen, _IO_proc_open, _IO_proc_close,
1033         popen, pclose): Add to GLIBC_2.1.
1035         * libio/Makefile (routines): Add oldiopopen and oldpclose.
1036         (shared-only-routines): Likewise.
1038         * libio/pclose.c (pclose): Make it default for GLIBC_2.1.
1039         * libio/iopopen.c (_IO_proc_open, _IO_popen, popen,
1040         _IO_proc_close): Likewise.
1042         * libio/iolibio.h (_IO_new_popen, _IO_old_popen, __new_pclose,
1043         __old_pclose): New prototypes.
1045         * libio/libioP.h (_IO_new_file_jumps): Removed.
1046         (_IO_old_proc_jumps): Added.
1047         (_IO_new_proc_open, _IO_old_proc_open): New prototypes.
1049         * libio/oldiopopen.c: New file.
1051         * libio/oldpclose.c: New file.
1053 1998-11-22  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1055         * nss/Makefile: Build and install getent.
1056         * nss/getent.c: New, get entries from administrative database.
1058 1998-11-22  Roland McGrath  <roland@baalperazim.frob.com>
1060         * sysdeps/mach/hurd/i386/init-first.c (init): Provide temporary storage
1061         for the per-thread variables of the main user thread to make it
1062         possible to use malloc as soon as _hurd_preinit_hook has been run.
1063         For cthreads, copy values to new stack from there.
1064         For non-cthreads, malloc threadvar array here and copy from temp space.
1065         (init1): No longer initialize threadvars here.
1066         (doinit1): Made static void at top level.
1067         (init): Folded into [PIC] _init or [!PIC] doinit1, since GCC cannot
1068         inline a function that uses dynamic auto arrays.
1070 1998-11-20  Ulrich Drepper  <drepper@cygnus.com>
1072         * version.h (VERSION): Bump to 2.0.103.
1074         * aclocal.m4 (LIBC_PROG_BINUTILS): Also add AR and RANLIB using the
1075         same method.
1076         * configure.in: Don't define AR and RANLIB here.
1078         * inet/gethstbyad_r.c: Define NEED__RES_HCONV and POSTPROCESS for
1079         host name res_hconf code.
1080         * inet/gethstbynm_r.c: Likewise.
1081         * nss/getXXbyYY_r.c: Include resolv/res_hconf.h if NEED__RES_HCONF
1082         is defined.  Call res_hconf_init if necessary.  If POSTPROCESS is
1083         defined execute the code.
1084         * resolv/Makefile (routines): Add res_hconf.
1085         (headers): Add res_hconf.h.
1086         * resolv/res_hconf.c: Pretty print.
1087         * resolv/res_hconf.h: Likewise.
1089 1998-11-20  Ulrich Drepper  <drepper@cygnus.com>
1091         * sysdeps/generic/bits/byteswap.h: Fix typos in non-GCC
1092         definitions.  Reported by Scott Bambrough <scottb@corelcomputer.com>.
1094 1998-11-20 1998  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1096         * math/libm-test.c: Raise some epsilons a bit.
1098 1998-11-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1100         * Makeconfig ($(common-objpfx)sysd-sorted): Fix portability problems.
1102 1998-11-20  Ulrich Drepper  <drepper@cygnus.com>
1104         * Makefile (distribute): Add scripts/gen-sorted.awk.
1106 1998-11-19  Ulrich Drepper  <drepper@cygnus.com>
1108         * posix/regex.c (regex_compile): Handle extra long class names
1109         correctly.
1111 1998-11-19  Geoff Keating  <geoffk@ozemail.com.au>
1113         * elf/rtld.c (_dl_start): Handle weak undefined symbols in ld.so
1114         correctly.
1116 1998-11-19  Ulrich Drepper  <drepper@cygnus.com>
1118         * misc/error.c: Undo last change.
1120         * ctype/Versions: Add _tolower and _toupper.
1122 1998-11-19  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1124         * sunrpc/svc_unix.c (readunix): Check for POLLERR, POLLHUP and
1125         POLLNVAL.
1127 1998-11-19  Ulrich Drepper  <drepper@cygnus.com>
1129         * Makeconfig: Add comment to all-subdirs definition.
1130         Add rule to generate sysd-sorted.  Include this file and and set
1131         subdirs value to $(sorted-subdirs).
1132         * scripts/gen-sorted.awk: New file.
1133         * Make-dist (+tsrcs): Add Depend.
1134         * nscd/Depend: New file.
1135         * nss/Depend: New file.
1136         * rt/Depend: New file.
1138 1998-11-18  Ulrich Drepper  <drepper@cygnus.com>
1140         * sysdeps/unix/bsd/poll.c (__poll): Add code to extend sets if any
1141         passed file descriptor exceeds the size determined by
1142         getdtablesize.
1144         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Update
1145         from inline version in bits/socket.h.
1147         * sysdeps/unix/sysv/linux/bits/socket.h: Define __cmsg_nxthdr as
1148         inline function only is __USE_EXTERN_INLINES is defined.
1150         * time/strftime.c (my_strftime): Make code a bit clearer.
1151         Patch by Paul Eggert <eggert@twinsun.com>.
1153         * io/Makefile (CFLAGS-ftw.c): Removed.
1155         * manual/errno.texi: Change the short text for ENODEV to
1156         "No such device".
1158 1998-11-18  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1160         * io/Makefile (tests): Make sure that the test program has an
1161         explicit directory part.
1163 1998-11-18  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1165         * configure.in: Fix last change.
1167 1998-11-18  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1169         * sunrpc/Makefile (routines): Add create_xid.
1171         * sunrpc/clnt_tcp.c: Use non-guessable xid.
1172         * sunrpc/clnt_udp.c: Likewise.
1173         * sunrpc/clnt_unix.c: Likewise.
1174         * sunrpc/pmap_rmt.c: Likewise.
1175         * sunrpc/create_xid.c: New, create non-guessable xid.
1177         * sunrpc/svc_tcp.c: Remove patch from 1998-06-15, use poll instead
1178         of select.
1179         * sunrpc/svc_unix.c: Use poll instead of select.
1181 1998-11-17  Ulrich Drepper  <drepper@cygnus.com>
1183         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Make Unix98 compliant
1184         by removing SIG_IGN handler for SIGCHLD if necessary.
1185         Patch by H.J. Lu <hjl@lucon.org>.
1187         * stdio-common/printf_fphex.c (__printf_fphex): Correct printing
1188         of denormalized numbers.
1190 1998-10-06  Geoff Keating  <geoffk@ozemail.com.au>
1192         * sysdeps/powerpc/dl-machine.h (elf_machine_load_address): Suppress
1193         another parentheses warning, make nano-optimisation.
1195         * sysdeps/powerpc/dl-machine.h (_dl_runtime_resolve): Preserve
1196         saved LR on stack so _mcount works.
1197         (_dl_prof_resolve): Likewise.
1198         * sysdeps/powerpc/register-dump.h: Print FPRs.  Adjust for correct
1199         signal handler calling convention.
1200         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Adjust for
1201         correct signal handler calling convention---more like x86 linux and
1202         mklinux, less like linux-ppc versions between 2.1 and 2.1.126.
1204 1998-11-17  Ulrich Drepper  <drepper@cygnus.com>
1206         * configure.in: Correct allowed makeinfo version.
1208 1998-11-17  Philip Blundell  <pb@nexus.co.uk>
1210         * sysdeps/generic/bits/mathdef.h: Fix typo.
1212 1998-11-17  Geoff Keating  <geoffk@ozemail.com.au>
1214         * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Prototype the syscall
1215         under the right name (squish warning).
1216         * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
1218 1998-11-17  Geoff Keating  <geoffk@ozemail.com.au>
1220         * stdio-common/_itoa.c (_itoa): Add redundant parentheses to
1221         prevent warnings.
1223 1998-11-16  Ulrich Drepper  <drepper@cygnus.com>
1225         * intl/locale.alias: Change `japanese' alias to match X11R6's.
1226         Add `japanese.euc' alias.
1228         * manual/Makefile (%.info): Set LANGUAGE and LC_ALL explicitly to C
1229         before running makeinfo.
1231         * math/Makefile (libm-routines): $(strip) entire value.
1233         * nss/nss_db/db-XXX.c (internal_setent): Rewrite to avoid warning.
1235 1998-10-24  H.J. Lu  <hjl@gnu.org>
1237         * libio/libio.h (_IO_cookie_io_functions_t): Protect with __USE_GNU.
1238         (_IO_cookie_file): Likewise.
1240 1998-11-16  Philip Blundell  <philb@gnu.org>
1242         * inet/netinet/icmp6.h: Correct naming of constants.
1244 1998-11-16  Ulrich Drepper  <drepper@cygnus.com>
1246         * sysdeps/unix/opendir.c: Use o_directory_works differently.  Treat
1247         zero value as uninitialized so that variable can go into .bss.
1249         * dirent/opendir-tst1.c: Print error strings to stdout.
1251         * sysdeps/unix/sysv/linux/mmap64.c: New file.  Empty.
1252         * sysdeps/unix/sysv/linux/syscalls.list: Add mmap with mmap64 alias.
1253         * sysdeps/unix/sysv/linux/arm/mmap.S: Add mmap64 alias.
1254         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1255         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
1257 1998-11-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1259         * time/tzfile.c (__tzfile_read): Check that types[i].isdst is in
1260         range.
1262 1998-11-16  Ulrich Drepper  <drepper@cygnus.com>
1264         * libio/bits/stdio.h (fread_unlocked): Do handle zero size and number.
1265         (fwrite_unlocked): Likewise.
1267 1998-11-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1269         * libio/bits/stdio.h (fread_unlocked): Don't evaluate non-constant
1270         twice.  Don't bother handling zero size.
1271         (fwrite_unlocked): Likewise.
1273 1998-11-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1275         * configure.in: Fix regex for makeinfo version string.
1277 1998-11-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1279         * sunrpc/rpc_sample.c (write_sample_server): Avoid -Wparentheses
1280         warning.
1281         * sunrpc/rpc_svcout.c (write_program): Likewise.
1283 1998-11-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1285         * time/Makefile (CFLAGS-test_time.c): Add -Wno-format.
1287 1998-11-16  Ulrich Drepper  <drepper@cygnus.com
1289         * misc/sys/mman.h: Pretty print prototypes.
1291 1998-11-15  Ulrich Drepper  <drepper@cygnus.com
1293         * misc/error.c (error): Don't use result of strerror_r call directly
1294         since at least DEC Unix has a wrong return type.
1295         Patch by Johan Danielsson <joda@pdc.kth.se>.
1297 1998-11-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1299         * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Undo
1300         last change.
1302 1998-11-13  Ulrich Drepper  <drepper@cygnus.com>
1304         * stdio-common/vfscanf.c: Don't return -1 in case of an invalid
1305         format, just stop.
1307         * version.h (VERSION): Bump to 2.0.102.
1309         * stdio-common/tstdiomisc.c (t2): Update test case for last scanf
1310         change.
1311         * stdio-common/scanf7.c (main): Likewise.
1313 1998-11-13  Ulrich Drepper  <drepper@cygnus.com>
1315         * stdio-common/vfscanf.c: Return EOF for invalid format
1316         characters.
1318         * version.h (VERSION): Bump to 2.0.101.
1320         * Makerules (Versions.all): Generate this file from all Versions.def
1321         files.
1322         (sysd-versions): Use Versions.all instead of Versions.def.
1324 1998-11-13  Philip Blundell  <philb@gnu.org>
1326         * sysdeps/arm/fpu/bits/setjmp.h (__JMP_BUF_SP): Correct value.
1327         Reported by Scott Bambrough.
1329 1998-11-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1331         * locale/programs/config.h: Define HAVE_STRING_H for xstrdup.c.
1333 1998-11-13  Ulrich Drepper  <drepper@cygnus.com>
1335         * libio/bits/stdio.h: Correct and improve fread_unlocked and
1336         fwrite_unlocked optimizations.
1338         * time/tzfile.c (__tzfile_read): Set __tzname based on last names
1339         in time not to last entries in the file.
1340         (__tzfile_compute): Likewise.  Fix for PR libc/863.
1342         * timezone/Makefile: Generate GB timezone data for test.
1343         * timezone/tst-timezone.c: More tests for DST switching time (disabled
1344         for now).
1346 1998-11-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1348         * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Remove
1349         d0 from clobber list.
1351 1998-11-12  Ulrich Drepper  <drepper@cygnus.com>
1353         * inet/netinet/in.h: Add a few more IPPROTO_* macros.
1355         * libio/Makefile (headers): Add bits/stdio.h.
1356         * libio/iofread_u.c: Undefine fread_unlocked before definition.
1357         * libio/iofwrite_u.c: Undefine fwrite_unlocked before definition.
1358         * libio/stdio.h: Move optimizations into ...
1359         * libio/bits/stdio.h: ...here.  New file.
1361         * libio/iofread.c: Pretty print.
1363 1998-11-12  Mark Kettenis  <kettenis@phys.uva.nl>
1365         * sysdeps/gnu/bits/utmpx.h: Protect members of struct
1366         __exit_status with `__'.  Rename pad member of struct utmpx to
1367         __unused.
1368         (RUN_LVL): Define unconditionally.
1369         * sysdeps/gnu/bits/utmp.h: Rename pad member of struct utmp to
1370         __unused.
1372 1998-11-12  Philip Blundell  <philb@gnu.org>
1374         * sysdeps/unix/sysv/linux/netlink/netlink.h: New file, support for
1375         Linux AF_NETLINK sockets (needed since the kernel version is
1376         unusable).
1377         * sysdeps/unix/sysv/linux/Makefile: Install it.
1378         * sysdeps/unix/sysv/linux/Dist: Distribute it.
1380 1998-11-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1382         * timezone/tst-timezone.c (tests): Add entry for America/Chicago
1383         to test for bug in PR libc/863.
1385 1998-11-12  Ulrich Drepper  <drepper@cygnus.com>
1387         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Cleanup comment.
1389         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Rename macro
1390         parameter lazy to do_lazy to avoid clashing with struct member name.
1391         Reported by Ralf Baechle <ralf@uni-koblenz.de>.
1393 1998-11-10  H.J. Lu  <hjl@gnu.org>
1395         * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine NR_OPEN
1396         if it is defined in <linux/limits.h>.
1398 1998-11-09 13:07 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1400         * include/protocols/routed.h: Include the real header with
1401         a full path from the top of the source tree.
1402         * include/protocols/rwhod.h: Likewise.
1403         * include/protocols/talkd.h: Likewise.
1404         * include/protocols/timed.h: Likewise.
1406         * timezone/Makefile: Don't include z.ZONE files if no_deps
1407         is set, not if avoid-generated is set.
1409 1998-11-12  Ulrich Drepper  <drepper@cygnus.com>
1411         * signal/signal.h: Undo last change.  Get definition of timespec
1412         if __USE_POSIX199309.
1414         * string/bits/string2.h (__strpbrk_c2): Add intermediate cast to
1415         size_t to prevent gcc warning when using -Wqual-cast.
1416         (__strpbrk_c3): Likewise.
1417         Suggested by Alan Curry <pacman@cqc.com>.
1419 1998-11-11  Roland McGrath  <roland@baalperazim.frob.com>
1421         * hurd/hurdsig.c (_hurdsig_init): Add assertion that no pending,
1422         unblocked signals are set in the startup masks.
1424         * hurd/hurdsig.c (_hurdsig_init): Take new args, INTARRAY and
1425         INTARRAYSIZE.  Initialize main thread's sigstate from INIT_SIG* ints.
1427         * hurd/hurd/signal.h: Update _hurdsig_init decl.
1428         * hurd/hurdinit.c (_hurd_proc_init): Take new args, INTARRAY and
1429         INTARRAYSIZE, pass them down to _hurdsig_init.
1430         * hurd/hurd.h: Update _hurd_proc_init decl.
1432 1998-11-10  Ulrich Drepper  <drepper@cygnus.com>
1434         * math/cabs.c: Replace complex by _Complex.
1435         * math/cabsf.c: Likewise.
1436         * math/cabsl.c: Likewise.
1437         * math/cimag.c: Likewise.
1438         * math/cimagf.c: Likewise.
1439         * math/cimagl.c: Likewise.
1440         * math/conj.c: Likewise.
1441         * math/conjf.c: Likewise.
1442         * math/conjl.c: Likewise.
1443         * math/creal.c: Likewise.
1444         * math/crealf.c: Likewise.
1445         * math/creall.c: Likewise.
1447         * sysdeps/alpha/fpu/bits/mathdef.h: Define ISO C 9X stuff only if
1448         included from math.h and __USE_ISOC9X is defined.
1449         * sysdeps/generic/bits/mathdef.h: Likewise.
1450         * sysdeps/generic/i386/fpu/mathdef.h: Likewise.
1451         * sysdeps/generic/m68k/fpu/mathdef.h: Likewise.
1452         * sysdeps/generic/powerpc/bits/mathdef.h: Likewise.
1453         * sysdeps/generic/sparc/fpu/bits/mathdef.h: Likewise.
1455 1998-11-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1457         * sysdeps/i386/fpu/bits/mathdef.h: Allow direct inclusion by
1458         <complex.h>.
1459         * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
1460         * sysdeps/generic/bits/mathdef.h: Likewise.
1461         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
1462         * sysdeps/powerpc/bits/mathdef.h: Likewise.
1463         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
1465 1998-11-09  Ulrich Drepper  <drepper@cygnus.com>
1467         * extra-lib.mk: Fix typo in last change.
1469         * math/complex.h: Include bits/mathdef.h to get __NO_LONG_DOUBLE_MATH
1470         is needed.
1471         Don't define long double functions if __NO_LONG_DOUBLE_MATH is defined.
1472         Don't define `complex' but instead `_Complex'.  The later is the
1473         reserved keyword.
1474         * math/bits/cmathcalls.c: Define _Mdouble_complex_ using _Complex,
1475         not complex.
1477 1998-11-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1479         * manual/libc.texinfo: Remove colon from category name.
1480         * manual/Makefile (dir-add.info): Likewise.
1482 1998-11-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1484         * configure.in: Avoid autoconf bug.
1486 1998-10-28  H.J. Lu  <hjl@gnu.org>
1488         * posix/getopt.h: Add "__" to arguments in prototypes.
1490 1998-11-05  H.J. Lu  <hjl@gnu.org>
1492         * libio/iofgets.c (_IO_fgets): Don't report error
1493         if something was read in and errno is set to
1494         EAGAIN.
1495         * libio/iofgets_u.c (fgets_unlocked): Likewise.
1497 1998-11-05  Philip Blundell  <philb@gnu.org>
1499         * sysdeps/unix/sysv/linux/net/if_packet.h: Don't include kernel
1500         header; it defines too much.  Provide a local definition of struct
1501         sockaddr_pkt and a comment advising against its use.
1503 1998-11-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1505         * extra-lib.mk: Avoid empty include list.
1507 1998-11-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1509         * extra-lib.mk: Add support for $(lib)-shared-only-routines.
1511         * elf/Makefile (libdl-routines): Add dlopenold only if doing
1512         versioning.
1513         (libdl-shared-only-routines): New variable.
1515 1998-11-06  Paul Eggert  <eggert@twinsun.com>
1517         Don't invoke localtime_r or gmtime_r unless it's the GNU C
1518         library's localtime_r and gmtime_r; there are too many buggy
1519         implementations of localtime_r and gmtime_r out there, and
1520         it's not worth keeping track of all the different bugs.
1522         * time/mktime.c (__EXTENSIONS__): Remove.
1523         (<unistd.h>): No need to include.
1524         * time/strftime.c: Likewise.
1526         * time/mktime.c (_POSIX_THREAD_SAFE_FUNCTIONS, HAVE_LOCALTIME_R):
1527         Remove.
1528         (my_mktime_localtime_r): Renamed from localtime_r; all uses changed.
1529         Base it on localtime unless _LIBC.
1531         * time/strftime.c (my_strftime_gmtime_r): Renamed from gmtime_r;
1532         all uses changed.
1533         (my_strftime_localtime_r): Renamed from localtime_r; all uses changed.
1534         Base them on localtime/gmtime if not _LIBC.
1536 1998-11-07  Ulrich Drepper  <drepper@cygnus.com>
1538         * sysdeps/generic/isastream.c: Always return 0 unless it is an invalid
1539         file descriptor.  This makes this function actually usable.
1540         Proposed by Mark Kettenis <kettenis@phys.uva.nl>.
1542 1998-11-05  Ulrich Drepper  <drepper@cygnus.com>
1544         * math/math.h: Unconditionally include bits/mathdef.h.  Declare
1545         long double functions only if __NO_LONG_DOUBLE_MATH is not
1546         defined.
1547         * sysdeps/generic/bits/mathdef.h: Define only if __USE_ISOC9X.
1548         Define __NO_LONG_DOUBLE_MATH.
1549         * sysdeps/m68k/fpu/bits/mathdef.h: Define only if __USE_ISOC9X.
1550         * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
1552         * elf/rtld.c: Add a few __builtin_expects where they will improve
1553         a lot.
1555 1998-11-05  Ulrich Drepper  <drepper@cygnus.com>
1557         * version.h (VERSION): Bump to 2.0.100.
1559         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Fix fldl -> fld.
1561         * sysdeps/libm-i387/s_fma.S: Optimize a bit.
1562         * sysdeps/libm-i387/s_fmaf.S: Likewise.
1564 1998-11-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1566         * libio/genops.c (_IO_least_marker): Add additional parameter
1567         end_p replacing fp->_IO_read_end.
1568         (save_for_backup): Likewise.  All callers changed.  Use _IO_size_t
1569         and _IO_ssize_t instead of int.
1570         (_IO_switch_to_main_get_area): Remove use of _IO_save_ptr.
1571         (_IO_switch_to_backup_area): Likewise.  Fix comments.
1572         (_IO_seekmark): Undo last change.
1573         (_IO_default_pbackfail): Correct use of backup area.
1574         * libio/libio.h (_IO_FILE_complete): Remove _IO_save_ptr.
1576 1998-11-04 19:47 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1578         * configure.in: Search for install-info and substitute it.
1579         Determine whether install-info is the buggy Debian version
1580         that doesn't understand INFO-DIR-SECTION.
1581         * config.make.in: Add INSTALL_INFO and OLD_DEBIAN_INSTALL_INFO
1582         to be substituted.
1583         * manual/Makefile: If OLD_DEBIAN_INSTALL_INFO, give
1584         install-info the --section argument it needs to work properly.
1585         (dir-add.texinfo): Delete target.
1586         (dir-add.info): Generate this directly.  Sort entries.  Put a
1587         colon at the end of the INFO-DIR-SECTION line.
1588         * manual/libc.texinfo: Put a colon at the end of the
1589         @dircategory line.
1591 1998-11-05  Paul Eggert  <eggert@twinsun.com>
1593         * time/mktime.c (__mktime_internal): Adopt the traditional (and
1594         problematic) notion of what to do when tm_isdst doesn't match.
1596 1998-11-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1598         * posix/PTESTS: Fix spelling.
1600 1998-11-04  Ulrich Drepper  <drepper@cygnus.com>
1602         * misc/efgcvt_r.c (fcvt_r): Remove code which tries to use libm
1603         functions.  Reduce error in computing normalized value by multiplying
1604         factor in loop and compute result in one step.
1605         Reported by Christian Gafton.
1607         * sysdeps/libm-i387/e_hypot.S: New file.
1608         * sysdeps/libm-i387/e_hypotf.S: New file.
1610 1998-11-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1612         * elf/dlopenold.c: Compile only if DO_VERSIONING is also defined.
1614 1998-11-03  H.J. Lu  <hjl@gnu.org>
1616         * libio/fileops.c (new_do_write): New function.
1617         (_IO_new_do_write): Call new_do_write.
1618         (_IO_new_file_xsputn): Likewise.
1620         * libio/oldfileops.c (old_do_write): New function.
1621         (_IO_old_do_write): Call old_do_write.
1622         (_IO_old_file_xsputn): Likewise.
1624 1998-11-04  Ulrich Drepper  <drepper@cygnus.com>
1626         * time/mktime.c (__mktime_internal): Correct last change.  We must
1627         stop searching for the right isdst value before stepping to the
1628         initial value.
1630         * malloc/malloc.c: Make sure calloc really returned zeroed memory.
1631         Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
1633 1998-11-02 16:12 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1635         * sysdeps/generic/bits/signum.h: Define signals with their
1636         historical numbers when those are in the 1-15 range and
1637         consistent across platforms.
1638         Define compatibility aliases (SIGIOT, SIGCLD) if __USE_MISC.
1639         Define SIG_DFL, SIG_IGN, SIG_ERR as numeric constants cast
1640         appropriately instead of with fake function declarations
1641         (would cause link errors).
1642         If __USE_UNIX98, define SIG_HOLD.
1644 1998-10-29  H.J. Lu  <hjl@gnu.org>
1646         * sysdeps/unix/sysv/linux/bits/sigaction.h (sigaction): Use
1647         union only if __USE_POSIX199309 is defined.
1649         * misc/sys/select.h (pselect): Declared only if __USE_GNU is
1650         defined.
1652 1998-11-03  Ulrich Drepper  <drepper@cygnus.com>
1654         * time/mktime.c (__mktime_internal): Handle broken down times
1655         around the time of the DST switches more correctly.
1657 1998-11-02  Ulrich Drepper  <drepper@cygnus.com>
1659         * elf/Makefile (libdl-routines): Add dlopenold.
1660         * elf/Versions [libdl, GLIBC_2.1]: Add dlopen.
1661         * elf/dl-open.c (_dl_open): Check whether RTLD_LAZY or RTLD_GLOBAL
1662         is set and bounce otherwise.
1663         * elf/dlopen.c: Rename function to __dlopen_check and make version
1664         named dlopen.
1665         * elf/dlopenold.c: New file.
1667 1998-11-02  Ulrich Drepper  <drepper@cygnus.com>
1669         * elf/Versions [libc, GLIBC_2.01]: Add _dl_global_scope_alloc.
1670         * elf/dl-open.c (_dl_global_scope_alloc): Move definition to
1671         * elf/dl-deps.c: ...here.
1672         * elf/dl-open.c (dl_open_worker): Call _dl_map_object_deps with
1673         new parameter and expect result.  Remove code handling RTLD_GLOBAL.
1674         Add return value of _dl_map_object_deps to
1675         _dl_main_searchlist->r_nlist.
1676         * elf/dl-deps.c (_dl_map_object_deps): Change to return value.
1677         If we parameter GLOBAL is nonzero add object and dependencies to
1678         the global scope.
1679         * elf/ldsodefs.h: Adapt prototype for _dl_map_object_deps.
1680         * elf/rtld.c (dl_main): Call _dl_map_object_deps with new parameter.
1681         Mark all objects as in global scope.
1682         * elf/dl-object.c (_dl_new_object): Initialize l_global to zero.
1684         * sysdeps/unix/sysv/linux/bits/sockunion.h: Add Econet support.
1686         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add .L prefix to symbols
1687         used in macro magic.
1689 1998-11-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1691         * sysdeps/unix/sysv/linux/netatalk/at.h: Include <linux/atalk.h>
1692         before <sys/socket.h> to make sockaddr_at available to
1693         <sys/socket.h>.
1695         * posix/glob.h: Remove __P from parameter lists of declarations.
1697 1998-11-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1699         * time/tzset.c (tz_compute): Remove unused parameter timer.
1700         Change caller.
1702 1998-11-02  Mark Kettenis  <kettenis@phys.uva.nl>
1704         * sysdeps/generic/bits/types.h (__ipc_pid_t): New typedef.
1706 1998-11-02  Ulrich Drepper  <drepper@cygnus.com>
1708         * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Remove
1709         unnecessary test and add cast.
1711 1998-11-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1713         * posix/getconf.c: Add initializer SYSCONF for CHARCLASS_NAME_MAX.
1715         * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Remove unused
1716         parameter fd.
1717         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1719 1998-11-02  Mark Kettenis  <kettenis@phys.uva.nl>
1721         * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
1722         fds_bits member.
1723         (__FDMASK): Use __fd_mask instead of unsigned long int in cast.
1725 1998-10-31  Richard Henderson  <rth@cygnus.com>
1727         * math/Makefile (gmp-objs): Add udiv_qrnnd.
1729         * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL*): New.
1730         (inline_syscall*): New.
1731         * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL): New.
1732         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Kill __syscall* bits.
1734 1998-10-31  Ulrich Drepper  <drepper@cygnus.com>
1736         * aclocal.m4 (LIBC_PROG_FOO_GNU): Name output file using -o to
1737         avoid ld test generating an unwanted file.
1739         * posix/PTESTS: Remove comment about incorrect test (it is correct).
1741 1998-10-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1743         * sunrpc/Versions: Add xdr_uint32_t and xdr_int32_t.
1744         * sunrpc/pmap_rmt.c: Initialize clnt_stat variable.
1745         * sunrpc/rpc/auth_des.h: Use uint32_t for time values.
1746         * sunrpc/rpc/xdr.h: Add INT32 support.
1747         * sunrpc/xdr.c: Implement xdr_int32_t and xdr_uint32_t .
1749         * nis/nis_call.c: Changes for new 64bit clean NIS+ interface.
1750         * nis/nis_callback.c: Likewise.
1751         * nis/nis_creategroup.c: Likewise.
1752         * nis/nis_defaults.c: Likewise.
1753         * nis/nis_intern.h: Likewise.
1754         * nis/nis_lookup.c: Likewise.
1755         * nis/nis_ping.c: Likewise.
1756         * nis/nis_print.c: Likewise.
1757         * nis/nis_table.c: Likewise.
1758         * nis/nis_util.c: Likewise.
1759         * nis/nis_xdr.c: Likewise.
1760         * nis/rpcsvc/nis.h: Likewise.
1761         * nis/rpcsvc/nis.x: Likewise.
1762         * nis/rpcsvc/nis_callback.h: Likewise.
1763         * nis/rpcsvc/nis_object.x: Likewise.
1764         * nis/rpcsvc/nislib.h: Likewise.
1766         * nis/rpcsvc/yp.h: Remove casts to (u_long).
1767         * nis/rpcsvc/yp_prot.h: Likewise.
1768         * nis/rpcsvc/ypupd.h: Likewise.
1769         * nis/ypclnt.c: Change %ld to %d in sprintf.
1771 1998-10-29  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1773         * manual/locale.texi (Formatting Numbers): Fix strfmon examples.
1775 1998-10-28  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1777         * sysdeps/generic/bits/select.h (__FD_ZERO): Change '\0' to plain
1778         0, __fd_mask is usually not a char.
1780 1998-10-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1782         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Allow
1783         compilation on systems without rt_* syscalls (e.g. on Linux 2.0).
1784         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
1785         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1786         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
1787         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise
1788         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1789         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1791         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Allow
1792         compiling on systems without rt_sigaction syscall.
1793         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction):
1794         Likewise.
1796 1998-10-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1798         * time/strptime.c (HERE_D_FMT): Fix typo.
1799         Reported by Claus Heine <heine@math1.rwth-aachen.de>, PR libc/842.
1801 1998-10-30  Ulrich Drepper  <drepper@cygnus.com>
1803         * catgets/Makefile (tests): Add rules to run gencat on test1.msg.
1804         (generate): Add test1.cat and test1.h.
1805         (distribute): Add test1.msg.
1806         * catgets/test1.msg: New file.
1808         * catgets/gencat.c: Do a better job in initializing dynamic
1809         memory [PR libc/844].
1811 1998-10-30 18:11  Ulrich Drepper  <drepper@cygnus.com>
1813         * iconv/gconv_conf.c (__gconv_read_conf): Don't define as
1814         internal_function since it is called through a pointer.
1815         * iconv/gconv_db.c (free_derivation): Likewise.
1816         * iconv/gconv_int.h: Adjust prototype od __gconv_read_conf.
1818         * posix/wordexp.c: Add internal_function to parse_backtick definition.
1819         * rt/aio_misc.c: Add internal_function to __aio_free_request,
1820         __aio_find_req, __aio_find_req_fd, and __aio_enqueue_request
1821         definitions.
1822         * rt/aio_notify.c: Add internal_function to __aio_notify_only and
1823         __aio_notify definitions.
1824         * wcsmbsload.c: Add internal_function to __wcsmbs_load_conv definition.
1826 1998-10-30  Ulrich Drepper  <drepper@cygnus.com>
1828         * Makerules (build-shlib): Add -O to generate optimized shared
1829         objects.
1831 1998-10-30 11:15  Ulrich Drepper  <drepper@cygnus.com>
1833         * sysdeps/libm-i387/e_fmod.S: Remove invalid operand size suffix.
1834         * sysdeps/libm-i387/e_fmodf.S: Likewise.
1835         * sysdeps/libm-i387/e_fmodl.S: Likewise.
1836         * sysdeps/libm-i387/s_ilogb.S: Likewise.
1837         * sysdeps/libm-i387/s_ilogbf.S: Likewise.
1838         * sysdeps/libm-i387/s_logb.S: Likewise.
1839         * sysdeps/libm-i387/s_logbf.S: Likewise.
1840         * sysdeps/libm-i387/s_remquo.S: Likewise.
1841         * sysdeps/libm-i387/s_remquof.S: Likewise.
1842         * sysdeps/libm-i387/s_remquol.S: Likewise.
1843         * sysdeps/libm-i387/s_significand.S: Likewise.
1844         * sysdeps/libm-i387/s_significandf.S: Likewise.
1846 1998-10-30  Geoff Keating  <geoffk@ozemail.com.au>
1848         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Really correct
1849         _llseek.
1851 1998-10-30  Geoff Keating  <geoffk@ozemail.com.au>
1853         * math/libm-test.c: Loosen deltas for sin(0.9)^2+cos(0.9)^2.
1855 1998-10-29  Ulrich Drepper  <drepper@cygnus.com>
1857         * stdio-common/vfprintf.c (vfprintf): Fix the remaining premature
1858         returns without cleaning up the lock.
1859         (printf_unknown): Add label all_done.
1861         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Keep Linux 2.0
1862         kernels in mind when reading /proc/self/fd/FD.
1863         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1865         * nscd/nscd.c (doc): It's "Name Service" not "Name Switch".
1867         * malloc/mtrace.c (tr_where): Replace snprintf call by mempcpy and
1868         _fitoa.
1870         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Try reading
1871         /prof/self/fd/FD first.
1872         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
1874         * stdio-common/_itoa.h (_fitoa_word): New inline function.  Write
1875         formatted number starting at given position and return pointer to
1876         following byte.
1877         (_fitoa): Likewise, for long long.
1879 1998-10-29  Roland McGrath  <roland@baalperazim.frob.com>
1881         * sysdeps/unix/sysv/linux/bits/sem.h,
1882         sysdeps/unix/sysv/linux/bits/ipc.h,
1883         sysdeps/unix/sysv/linux/bits/shm.h,
1884         sysdeps/unix/sysv/linux/bits/msq.h: Moved to ...
1885         * sysdeps/gnu/bits/sem.h, sysdeps/gnu/bits/ipc.h,
1886         sysdeps/gnu/bits/shm.h, sysdeps/gnu/bits/msq.h: ... here,
1887         so the same bits will be used for the Hurd.
1889 1998-10-29  Ulrich Drepper  <drepper@cygnus.com>
1891         * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Allow
1892         compiling on systems without rt_sigaction syscall.
1894 1998-10-12  Philip Blundell  <pb@nexus.co.uk>
1896         * Makeconfig (sysdep-subdirs): Allow Subdirs files to remove
1897         directories as well as add them.
1899 1998-10-28  Philip Blundell  <pb@nexus.co.uk>
1901         * sysdeps/unix/sysv/linux/neteconet/ec.h: New file.  Support for
1902         AF_ECONET sockets as found in recent Linux 2.1 kernels.
1903         * sysdeps/unix/sysv/linux/Dist: Distribute it.
1904         * sysdeps/unix/sysv/linux/Makefile: Install it.
1906 1998-10-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1908         * string/bits/string2.h: __USE_GNU already implies __USE_MISC.
1910 1998-10-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1912         * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
1913         fds_bits member.
1914         * sysdeps/unix/sysv/linux/alpha/bits/types.h (__FDS_BITS): Likewise.
1915         * sysdeps/unix/sysv/linux/bits/types.h (__FDS_BITS): Likewise.
1916         * sysdeps/unix/sysv/linux/mips/bits/types.h (__FDS_BITS): Likewise.
1917         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__FDS_BITS):
1918         Likewise.
1919         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h (__FDS_BITS):
1920         Likewise.
1921         * sysdeps/generic/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
1922         __FD_ISSET): Use it.
1923         * sysdeps/i386/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
1924         __FD_ISSET): Likewise.
1926 1998-10-28  Geoff Keating  <geoffk@ozemail.com.au>
1928         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Tidy up, correct
1929         llseek.
1931         * sysdeps/unix/sysv/linux/powerpc/pread.c: Do not use the i386 version.
1932         Instead call the system call wrapper function using an 64bit argument.
1933         * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
1934         * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
1935         * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
1937 1998-10-27  Ulrich Drepper  <drepper@cygnus.com>
1939         * signal/signal.h: Don't include <time.h> for timespec, add
1940         forward declaration.
1942         * sysdeps/i386/bits/select.h [!__USE_XOPEN]: Add special version
1943         of __FD_* macros which use __fds_bits.
1944         * sysdeps/generic/bits/select.h: Likewise.
1945         Reported by Matt McLean <keys@yikes.com>.
1947 1998-10-27  Philip Blundell  <pb@nexus.co.uk>
1949         * elf/elf.h: Update ARM definitions.
1951 1998-10-27  Ulrich Drepper  <drepper@cygnus.com>
1953         * signal/signal.h: Include bits/sigthread.h only for Unix98.
1955 1998-10-26  Ulrich Drepper  <drepper@cygnus.com>
1957         * include/libc-symbols.h: If HAVE_BUILTIN_EXPECT is not defined
1958         define __builtin_expect as a macro substituting to the first
1959         argument.
1960         * config.h.in: Define HAVE_BUILTIN_EXPECT.
1961         * configure.in: Add test for __builtin_expect.
1963         * sysdeps/unix/sysv/linux/bits/types.h: Include
1964         bits/pthreadtypes.h only not for POSIX 199506.
1965         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1966         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1967         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
1969 1998-10-26  Mark Kettenis  <kettenis@phys.uva.nl>
1971         * sysdeps/unix/sysv/linux/Versions: Move shutdown ...
1972         * socket/Versions [libc, GLIBC_2.0]: ... to here.
1974 1998-10-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1976         * include/stdio.h: Included <stddef.h> for size_t.
1978         * stdio/stdio.h: Move __path_search, __gen_tempname, __libc_fatal
1979         to ...
1980         * include/stdio.h: ...here.
1981         * libio/stdio.h: Removed __path_search, __gen_tempname, __libc_fatal.
1983 1998-10-26 11:09  Ulrich Drepper  <drepper@cygnus.com>
1985         * time/Makefile (tests): Add tst-posixtz.
1986         * time/tst-posixtz.c: New file.
1988 1998-10-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1990         * elf/rtld.c (process_envvars): Accept any non-null value of
1991         LD_BIND_NOW, as mandated by the ABI.
1993 1998-10-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1995         * sysdeps/unix/sysv/linux/pread.c: Rename __syscall_pread64 to
1996         __syscall_pread.
1997         * sysdeps/unix/sysv/linux/pwrite.c: Rename __syscall_pwrite64 to
1998         __syscall_pwrite.
1999         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
2000         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2001         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2002         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
2003         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.  Remove
2004         duplicate entries.
2005         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
2006         s_pread64 and s_pwrite64.
2007         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
2009 1998-10-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2011         * sysdeps/unix/sysv/linux/llseek.c: Use INLINE_SYSCALL.
2012         * sysdeps/unix/sysv/linux/arm/syscalls.list: Rename __sys_llseek
2013         to __syscall__llseek.
2014         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2015         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
2016         * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove entry for
2017         __sys_llseek.
2019 1998-10-26  Cristian Gafton  <gafton@redhat.com>
2021         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add s_setfsgid
2022         and s_setfsuid.
2024 1998-10-26  Ulrich Drepper  <drepper@cygnus.com>
2026         * time/tzset.c (tz_compute): Correct last patch and describe this
2027         in a comment.
2029 1998-10-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2031         * sysdeps/unix/sysv/linux/m68k/Makefile [subdir=signal]: Remove
2032         rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo,
2033         rt_sigaction and rt_sigpending.
2034         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove all entries
2035         for __syscall_* functions.
2036         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Implement INLINE_SYSCALL.
2038 1998-10-26  Roland McGrath  <roland@baalperazim.frob.com>
2040         * hurd/Versions: Add _hurd_dtable, _hurd_dtablesize,
2041         _hurd_dtable_lock, _hurd_intern_fd.
2043         * sysdeps/mach/hurd/Versions: Add cthread_keycreate,
2044         cthread_getspecific, cthread_setspecific, __libc_getspecific.
2046         * mach/Versions: Fix typo in last change.
2048 1998-10-25  Ulrich Drepper  <drepper@cygnus.com>
2050         * time/tzset.c (tz_compute): If time to switch to DST is later in
2051         the year switch back in the next year.
2052         Reported by jwitford@hutch.com.au.
2054 1998-10-24  Mark Kettenis  <kettenis@phys.uva.nl>
2056         * mach/Versions: Add evc_wait, mach_error, mach_error_string,
2057         mach_error_type, mach_msg_destroy, mig_deallocate_reply_port.
2058         Remove __mach_host_self, __mach_reply_port, __mach_setup_thread,
2059         __mach_port_allocate, __mach_port_allocate_name,
2060         __mach_port_insert_right __mutex_trylock, __mutex_lock,
2061         __mutex_unlock, __swtch, __switch, __task_create, __task_suspend,
2062         __task_set_special_port, __task_terminate, __thread_depress_abort,
2063         __thread_switch, __vm_allocate, __vm_deallocate, __vm_map.  These
2064         functions are not used outside libc.
2066         * sysdeps/mach/hurd/Versions: New file.
2067         [libc, GLIBC_2.0]: Add _cthread_exit_routine and
2068         _cthread_init_routine.  These are set by the Hurd cthreads library.
2069         Add __getcwd, __mmap.  If we don't add these, the weak definitions in
2070         the dynamic linker will not be replaced by the corresponding shared
2071         library routines once they are loaded.
2073 1998-10-21  Mark Kettenis  <kettenis@phys.uva.nl>
2075         * sysdeps/mach/hurd/i386/init-first.c: Only define
2076         __libc_enable_secure if PIC is not defined.
2078 1998-10-25  Roland McGrath  <roland@baalperazim.frob.com>
2080         * argp/Versions: Add _argp_unlock_xxx.  Lock-savvy functions call this
2081         to recurse into argp.
2083 1998-10-25  Ulrich Drepper  <drepper@cygnus.com>
2085         * include/features.h: Define __USE_POSIS199506 is _POSIX_C_SOURCE is
2086         greater or equal than 199506L.
2088         * sysdeps/generic/bits/types.h (__fd_set): Define element as fds_bits
2089         only is __USE_XOPEN.  Otherwise use __fds_bits.
2090         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2091         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2092         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
2093         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
2094         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
2096 1998-10-24  H.J. Lu  <hjl@gnu.org>
2098         * locale/programs/charmap.c (parse_charmap): Accept tok_string
2099         for <code_set_name>.
2101 1998-10-25  H.J. Lu  <hjl@gnu.org>
2103         * locale/programs/ld-ctype.c (ctype_finish): Also check
2104         <space>.
2106 1998-10-25  Ulrich Drepper  <drepper@cygnus.com>
2108         * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX199506.
2110         * sysdeps/unix/sysv/linux/bits/types.h: Include pthreadtypes.h only
2111         if __USE_POSIX199506 or __USE_UNIX98.
2113 1998-10-24 22:34 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2115         * string/bits/string2.h: Inline strdup+friends only if
2116         __USE_MISC || __USE_GNU (prevents namespace pollution).
2118 1998-10-24  H.J. Lu  <hjl@gnu.org>
2120         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (LOCK_SH,
2121         LOCK_EX, LOCK_NB, LOCK_UN): Protect with __USE_BSD.
2122         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (LOCK_SH, LOCK_EX,
2123         LOCK_NB, LOCK_UN): Likewise.
2124         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (LOCK_SH, LOCK_EX,
2125         LOCK_NB, LOCK_UN): Likewise.
2126         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (LOCK_SH, LOCK_EX,
2127         LOCK_NB, LOCK_UN): Likewise.
2128         * sysdeps/unix/sysv/linux/bits/fcntl.h (LOCK_SH, LOCK_EX,
2129         LOCK_NB, LOCK_UN): Likewise.
2131 1998-10-24  H.J. Lu  <hjl@gnu.org>
2133         * libio/ioseekoff.c (_IO_seekoff): Check the valid dir value.
2135         * libio/rewind.c (rewind): Clear the error.
2137 1998-10-24  H.J. Lu  <hjl@gnu.org>
2139         * grp/grp.h (getgrent_r, getgrgid_r, getgrnam_r): Add "__" to
2140         "buffer".
2142 1998-10-24  H.J. Lu  <hjl@gnu.org>
2144         * sysdeps/unix/sysv/linux/alpha/bits/time.h (timeval): Protect
2145         with __need_timeval.
2146         * sysdeps/unix/sysv/linux/mips/bits/time.h (timeval): Likewise.
2147         * sysdeps/unix/sysv/linux/bits/time.h (timeval): Likewise.
2149 1998-10-24  H.J. Lu  <hjl@gnu.org>
2151         * signal/signal.h (timespec, siginfo_t, sigwaitinfo, sigtimedwait,
2152         sigqueue): Protect with __USE_POSIX199309.
2154 1998-10-24  H.J. Lu  <hjl@gnu.org>
2156         * time/time.h (timespec): Protect with __USE_POSIX199309 instead of
2157         __USE_POSIX.
2159 1998-10-24  H.J. Lu  <hjl@gnu.org>
2161         * libio/fileops.c (_IO_new_file_seekoff): Always resync with
2162         the kernel file offset.
2163         * libio/oldfileops.c (_IO_old_file_seekoff): Likewise.
2165 1998-10-24  H.J. Lu  <hjl@gnu.org>
2167         * time/tzfile.c (__tzfile_default): Set num_types to 2.
2169 1998-10-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2171         * rt/aio.h: Move __aio_init to...
2172         * include/aio.h: ...here.
2174 1998-10-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2176         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove duplicate
2177         definition of O_LARGEFILE.
2179 1998-10-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2181         * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Use path
2182         as first argument to statfs.
2184 1998-10-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2186         * sysdeps/generic/setenv.c (setenv): Add braces around ambiguous else.
2188 1998-10-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2190         * malloc/mtrace.c: Include <string.h> for strlen.
2192 1998-10-24  Roland McGrath  <roland@baalperazim.frob.com>
2194         * sysdeps/mach/hurd/bits/environments.h: New file.
2196         * sysdeps/mach/hurd/dl-sysdep.c (__getcwd): New weak function.
2198         * mach/Versions, hurd/Versions: Add numerous symbols.
2199         Remove libmachuser and libhurduser sections, punt
2200         versioning for those libraries for now.
2202         * misc/Versions: Add reboot here; it exists on all platforms.
2203         * sysdeps/unix/sysv/linux/Versions: Remove reboot here.
2205 1998-10-23  Ulrich Drepper  <drepper@cygnus.com>
2207         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOFOLLOW): New
2208         macro.
2209         * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
2210         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
2211         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_LARGEFILE,
2212         O_NOFOLLOW, O_DIRECT): New macros.
2213         (O_DIRECTORY): Correct definition according to official 2.1.126.
2214         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECTORY,
2215         O_NOFOLLOW): New macros.
2217 1998-10-24  Roland McGrath  <roland@baalperazim.frob.com>
2219         * include/ldsodefs.h: Test HAVE_ELF instead of __ELF__.
2221         * sysdeps/mach/hurd/opendir.c (__opendir): Return ENOENT for "".
2222         (__opendir): Add trailing slash to name for open, for ENOTDIR check.
2224 1998-10-23  Ulrich Drepper  <drepper@cygnus.com>
2226         * sysdeps/unix/sysv/linux/i386/Dist: Add setresuid.c, setresgid.c,
2227         setfsuid.c, and setfsgid.c.
2228         * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
2229         * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
2230         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
2232         * version.h (VERSION): Bump to 2.0.99.
2234         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove duplicate
2235         ustat definition.
2237         * sysdeps/unix/sysv/linux/i386/Dist: Remove s_pread64.c and
2238         s_pwrite64.c.
2240         * posix/fnmath.h: Don't redefine __P when used in glibc.
2241         * posix/glob.h: Likewise.
2243         * inet/rcmd.c (__ivaliduser2): Fix memory leak.
2244         Patch by Dick Streefland <dick_streefland@tasking.com>.
2246         * stdio-common/tst-ungetc.c: Add more test cases.
2248         * sysdeps/unix/sysv/linux/Dist: Add linux_fsinfo.h.
2249         * sysdeps/unix/sysv/linux/fstatvfs.c: Move filesystem magic number
2250         definitions to ...
2251         * sysdeps/unix/sysv/linux/linux_fsinfo.h: ...here.  New file.
2252         * sysdeps/unix/sysv/linux/fpathconf.c: New file.
2253         * sysdeps/unix/sysv/linux/pathconf.c: New file.
2254         * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Handle _PC_LINK_MAX here.
2255         * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
2257 1998-10-20  Philip Blundell  <pb@nexus.co.uk>
2259         * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Include
2260         <asm/ptrace.h> to define struct pt_regs.
2261         * sysdeps/unix/sysv/linux/arm/profil-counter.h: Don't bother
2262         including <asm/ptrace.h> here.
2264         * sysdeps/unix/sysv/linux/arm/sysdep.S: Remove spurious call to
2265         C_SYMBOL_NAME macro.
2267 1998-10-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2269         * sysdeps/generic/sys/ptrace.h (__ptrace_request): Remove comma at
2270         end of enumerator list.
2271         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Likewise.
2272         * posix/wordexp.h: Likewise.
2274         * db/db.h: Use __PMT instead of __P in typedefs.
2275         * db/mpool.h: Likewise.
2276         * sysdeps/generic/bits/siginfo.h: Likewise.
2277         * nis/rpcsvc/ypclnt.h: Likewise.
2279 1998-10-23  Ulrich Drepper  <drepper@cygnus.com>
2281         * libio/genops.c (_IO_seekmark): When switching to backup buffer
2282         make sure all characters from the read buffer are read after
2283         switching back to it.
2285 1998-10-22  Ulrich Drepper  <drepper@cygnus.com>
2287         * configure.in: Add support for Cygnus GNUPro compilers.
2289 1998-10-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2291         * stdio/stdio.h: Use __PMT instead of __P in typedefs.
2293         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use __PMT instead
2294         of __P for sa_restorer.
2295         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
2296         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
2297         kernel_sigaction, old_kernel_sigaction): Likewise.
2299 1998-10-22  Ulrich Drepper  <drepper@cygnus.com>
2301         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add __syscall_pread
2302         and __syscall_pwrite aliases.
2304         * sunrpc/rpc/auth.h (AUTH_DH): New macro.  Alias for AUTH_DES.
2306         * sysdeps/unix/sysv/linux/i386/sysdep.h: Drastically simplify and
2307         improve INLINE_SYSCALL using macro assembler magic.
2309 1998-10-22  H.J. Lu  <hjl@gnu.org>
2311         * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Add
2312         sanity check for n.
2313         * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
2315         * sysdeps/posix/fpathconf.c (__fpathconf): Set errno to
2316         EINVAL if errno == ENODEV.  Tested by VSX-PCT.
2318         * sysdeps/posix/isatty.c (__isatty): Don't reset errno.  Tested
2319         by VSX-PCT.
2321         * posix/execvp.c (execvp): Check "".  Tested by VSX-PCT.
2323 1998-10-22  Philip Blundell  <pb@nexus.co.uk>
2325         * sysdeps/unix/arm/sysdep.h: Wrap assembler macros in #ifdef
2326         __ASSEMBLER__.
2328 1998-10-21  Ulrich Drepper  <drepper@cygnus.com>
2330         * sysdeps/unix/sysv/linux/i386/sysdep.h: Remove EXTRAVARS_* macros
2331         and adjust formats.
2333 1998-10-21 14:38  Ulrich Drepper  <drepper@cygnus.com>
2335         * sysdeps/unix/sysdep.h (INLINE_SYSCALL): New macro.  Simply call
2336         __syscall_* function.
2337         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use INLINE_SYSCALL instead
2338         of calling __syscall_* function.
2339         * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
2340         * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
2341         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2342         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2343         * sysdeps/unix/sysv/linux/getpriority.c: Likewise.
2344         * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
2345         * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
2346         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
2347         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
2348         * sysdeps/unix/sysv/linux/poll.c: Likewise.
2349         * sysdeps/unix/sysv/linux/pread.c: Likewise.
2350         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2351         * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
2352         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2353         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2354         * sysdeps/unix/sysv/linux/readv.c: Likewise.
2355         * sysdeps/unix/sysv/linux/reboot.c: Likewise.
2356         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2357         * sysdeps/unix/sysv/linux/siglist.h: Likewise.
2358         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2359         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2360         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
2361         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2362         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
2363         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
2364         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2365         * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
2366         * sysdeps/unix/sysv/linux/ustat.c: Likewise.
2367         * sysdeps/unix/sysv/linux/writev.c: Likewise.
2368         * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
2369         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
2370         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
2371         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2372         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2373         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2374         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
2375         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
2376         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
2377         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2378         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
2379         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
2380         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
2382         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define INLINE_SYSCALL using
2383         inline assembler.
2384         * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove various
2385         __syscall_* definitions.
2387         * sysdeps/unix/sysv/linux/syscalls.list: Move various __syscall_*
2388         definitions to...
2389         * sysdeps/unix/sysv/linux/alpha/syscalls.list: ...here...
2390         * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
2391         * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
2392         * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
2393         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
2394         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
2395         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
2397         * sysdeps/unix/sysv/linux/Makefile [subdir=signal] (sysdep_routines):
2398         Move definition to...
2399         * sysdeps/unix/sysv/linux/alpha/Makefile: ...here...
2400         * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
2401         * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
2402         * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
2403         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
2404         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
2405         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
2407         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
2408         (sysdep_routines): Remove s_pread64 and s_pwrite64.
2410         * sysdeps/unix/sysv/linux/i386/pread.c: New file.
2411         * sysdeps/unix/sysv/linux/i386/pread64.c: New file.
2412         * sysdeps/unix/sysv/linux/i386/pwrite.c: New file.
2413         * sysdeps/unix/sysv/linux/i386/pwrite64.c: New file.
2414         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Removed.
2415         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Removed.
2417 1998-10-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2419         * sysdeps/unix/sysv/linux/siglist.h: Fix some typos in these files
2420         and bring them in synch.
2421         * sysdeps/unix/siglist.c: Likewise.
2422         Reported by Vladimir Michl <michlv@risc.upol.cz> [PR libc/832].
2424 1998-10-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2426         * sysdeps/unix/sysv/linux/i386/setresuid.c: Allow -1 as arguments.
2427         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
2429         * sysdeps/unix/sysv/linux/i386/setreuid.c: New file.
2430         * sysdeps/unix/sysv/linux/i386/setregid.c: New file.
2431         * sysdeps/unix/sysv/linux/m68k/setreuid.c: New file.
2432         * sysdeps/unix/sysv/linux/m68k/setregid.c: New file.
2433         * sysdeps/unix/sysv/linux/arm/setreuid.c: New file.
2434         * sysdeps/unix/sysv/linux/arm/setregid.c: New file.
2435         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: New file.
2436         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: New file.
2437         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_setreuid and
2438         s_setregid.
2439         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
2440         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2441         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
2443 1998-10-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2445         * sunrpc/rpc_main.c (close_output, close_input): New functions.
2446         (c_output, h_output, s_output, l_output, t_output, svc_output,
2447         clnt_output, mkfile_output): Call them at the end.
2449 1998-10-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2451         * db/Makefile (LDFLAGS-db1.so): New variable, to avoid duplicating
2452         link command.
2454 1998-10-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2456         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Add real contents.
2457         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add s_setfs[ug]id.
2459 1998-10-20  Ulrich Drepper  <drepper@cygnus.com>
2461         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_pread64 and
2462         s_pwrite64.
2463         * sysdeps/unix/sysv/linux/powerpc/pread.c: New file.
2464         * sysdeps/unix/sysv/linux/powerpc/pread64.c: New file.
2465         * sysdeps/unix/sysv/linux/powerpc/pwrite.c: New file.
2466         * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: New file.
2467         Patch by Geoffrey KEATING <geoffk@discus.anu.edu.au>.
2469 1998-10-18  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2471         * sysdeps/unix/opendir.c: Check at runtime for kernel support for
2472         O_DIRECTORY.
2474 1998-10-20  H.J. Lu  <hjl@gnu.org>
2476         * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Fix
2477         argument types.
2479 1998-10-19  Ulrich Drepper  <drepper@cygnus.com>
2481         * math/tgmath.h: Make nested function calls work.
2483         * include/ldsodefs.h: Fix typo.
2485         * posix/Makefile (tests): Add tst-preadwrite.
2486         * posix/tst-preadwrite.c: New file.
2488         * sysdeps/unix/opendir.c (__opendir): Add back fstat call to make
2489         sure that descriptor is in any case for a directory.
2491 1998-10-19 18:59 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2493         * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG): Fix typo: val -> Val.
2494         (atan2): Takes two arguments.
2496 1998-10-19  Ulrich Drepper  <drepper@cygnus.com>
2498         * include/ldsodefs.h: New file.
2500         * iconv/gconv.c: Include ldsodefs.h, not elf/ldsodefs.h.
2501         Remove change to avoid using _CALL_DL_FCT.
2502         * iconv/gconv_db.c: Likewise.
2503         * iconv/gconv_dl.c: Likewise.
2504         * iconv/skeleton.c: Likewise, here for DL_CALL_FCT.
2505         * malloc/mtrace.c: Include ldsodefs.h, not elf/ldsodefs.h.
2506         * nss/nsswitch.c: Likewise.
2507         * nss/nsswitch.h: Likewise.
2509 1998-10-19  Philip Blundell  <pb@nexus.co.uk>
2511         * sunrpc/Makefile (otherlibs): If static NSS is in use, set to the
2512         required libraries.
2513         * login/Makefile (otherlibs): Likewise.
2514         * nscd/Makefile (otherlibs): Likewise.
2515         * Makeconfig (link-libc) [! build_shared]: Add $(otherlibs).
2517         * debug/Makefile (install-bin): Only build catchsegv if using ELF.
2519         * inet/Makefile: Add -DSTATIC_NSS to CFLAGS.
2521 1998-10-19  Philip Blundell  <pb@nexus.co.uk>
2523         * sysdeps/unix/sysv/linux/arm/syscalls.list: Added setfsgid
2524         and setfsuid.
2526 1998-10-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2528         * nscd/connections.c: Fix typos in comments and strings.
2530         * nscd/nscd.conf: Update according to recent changes to nscd.
2532         * nscd/cache.c (prune_cache): Remove wrong comment.
2534 1998-10-19 13:24  Ulrich Drepper  <drepper@cygnus.com>
2536         * locale/programs/ld-collate.c (collate_startup): Clear bit for this
2537         category in copy_posix.
2538         (collate_finish): Don't warn about UNDEFINED not being defined.
2539         * locale/programs/ld-ctype.c (ctype_startup): Clear bit for this
2540         category in copy_posix.
2541         * locale/programs/ld-messages.c (messages_startup): Likewise.
2542         * locale/programs/ld-monetary.c (monetary_startup): Likewise.
2543         * locale/programs/ld-numeric.c (numeric_startup): Likewise.
2544         * locale/programs/ld-time.c (time_startup): Likewise.
2545         * locale/programs/localedef.c: Move copy_def_list_t definition into
2546         locales.h.  Define copy_posix variable.
2547         (main): Before processing copy list add &copy_posix to copy_list.
2548         * locale/programs/locales.h: Add definition of copy_def_list_t.
2549         * locale/programs/locfile.c: Clear bit for appropriate category in
2550         copy_posix.mask for copy instruction.
2552 1998-10-19  Ulrich Drepper  <drepper@cygnus.com>
2554         * sysdeps/unix/sysv/linux/i386/setresgid.c: Remove #include of
2555         non-existing file with generic implementation.
2556         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
2558 1998-10-19  Philip Blundell  <pb@nexus.co.uk>
2560         * iconv/gconv_db.c: Include ELF header only if STATIC_GCONV is not
2561         defined.  Avoid using _CALL_DL_FCT if it is not defined.
2562         * iconv/gconv.c: Likewise.
2564 1998-10-19  Ulrich Drepper  <drepper@cygnus.com>
2566         * nscd/connections.c (dbs): Define defualt values for timeouts and
2567         set enabled to 0 by default.
2568         (CACHE_PRUNE_INTERVAL): New constant.  Use it instead of magical 15 in
2569         nscd_run.
2571         * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISCNTRL bit for
2572         character >= 0x80.
2573         (_nl_C_LC_CTYPE_class32): Likewise.
2574         Reported by HJ Lu.
2576 1998-10-19  Roland McGrath  <roland@baalperazim.frob.com>
2578         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
2579         _HURD_THREADVAR_DL_ERROR.
2581         * hurd/Makefile (user-interfaces): Add login, password.
2583         * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses.
2585 1998-08-06  Mark Kettenis  <kettenis@phys.uva.nl>
2587         [submitted 1998-08-06]
2588         * mach/Machrules: Create target directory and force re-evaluation
2589         of Makefile to prevent `make' from optimizing away most of the
2590         implicit rules and `vpath' directives.
2592 1998-10-19  Roland McGrath  <roland@baalperazim.frob.com>
2594         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): If _hurd_msgport_thread
2595         is null, short-circuit to __mach_msg.
2597         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): New function,
2598         broken out of init1.
2599         (init1) [PIC]: Call it.
2600         (__libc_init_first) [! PIC]: Call it.
2602         * sysdeps/mach/hurd/i386/init-first.c (init1): Don't call
2603         __libc_init_secure.  Instead set __libc_enable_secure here from
2604         the exec flags.
2605         (__libc_enable_secure): New variable it.
2606         * sysdeps/mach/hurd/enbl-secure.c: New file, empty placeholder module.
2608 1998-10-19  Roland McGrath  <roland@baalperazim.frob.com>
2610         * nscd/nscd-client.h: New file, broken out of "nscd.h".
2611         * nscd/nscd.h: Move defns needed by clients to "nscd-client.h",
2612         and #include that.
2613         * nscd/Makefile (distribute): Add nscd-client.h.
2614         * nscd/nscd_getgr_r.c, nscd/nscd_gethst_r.c, nscd/nscd_getpw_r.c:
2615         Include "nscd-client.h" instead of "nscd.h"
2617 1998-10-18  Ulrich Drepper  <drepper@cygnus.com>
2619         * sysdeps/posix/getcwd.c (__getcwd): Don't stop processing
2620         directory entries when a lstat call fails.
2621         Patch by Colin Plumb <colin@nyx.net>.
2623         * resolv/nss_dns/dns-host.c: Add missing errnop parameter to the
2624         NSS functions.
2625         * resolv/nss_dns/dns-network.c: Likewise.
2627         * grp/Makefile: Don't search for linuxthreads in add-ons, use
2628         have-thread-library to determine whether threads are available.
2629         * pwd/Makefile: Remove wrong comment.
2631         * inet/Makefile: Define CFLAGS-gethstbyad_r.c, CFLAGS-gethstbynm_r.c,
2632         and CFLAGS-gethstbynm2_r.c to -DUSE_NSCD=1.
2634         * locale/C-messages.c: Define default strings for YESTR and NOSTR.
2636         * nss/Versions: Add __nss_hosts_lookup.
2638         * nss/getXXbyYY.c: Remove unneeded assignment.
2640         * nss/getXXbyYY_r.c: Include nscd/nscd_proto.h only if needed.
2642         Almost complete rewrite of the NSCD to make it smaller, faster,
2643         add more functionnality and make it easier to extend.
2644         * nscd/Makfile (routines): Add nscd_gethst_r.
2645         (nscd-modules): Add hstcache, gethstbyad_r, gethstbynm2_r, and cache.
2646         * nscd/cache.c: New file.
2647         * nscd/gethstbyad_r.c: New file.
2648         * nscd/gethstbynm2_r.c: New file.
2649         * nscd/hstcache.c: New file.
2650         * nscd/nscd_gethst_r.c: New file.
2651         * nscd/connections.c: Rewritten.  Don't start new thread for every
2652         new connection.  Use a fixed set of threads which handle all
2653         connections and also the cache cleanup.
2654         * nscd/grpcache.c: Rewritten to use generic cache handling functions
2655         in cache.c.
2656         * nscd/nscd.c: Recognize new parameter nthreads.  Adjust initialization
2657         for rewrite.  Remove handle_requests function.
2658         * nscd/nscd.h (NSCD_VERSION): Bump to 2.
2659         Define new data structure for the new unified cache and the host
2660         database entries.
2661         * nscd/nscd_conf.c: Rewrite parsing partly to allow adding of more
2662         databases easily.  Recognize check-files and threads definitions.
2663         * nscd/nscd.conf: Add definition of enable-cache and check-files to
2664         passwd and group definitions.  Add new set of definitions for hosts.
2665         * nscd/nscd_getgr_r.c: Rewrite for new protocol.
2666         * nscd/nscd_getpw_r.c: Likewise.
2667         * nscd/nscd_proto.h: Add prototype for host database functions.
2668         * nscd/nscd_stat.c: Rewrite to simplify printing of information
2669         for many databases.
2670         * nscd/dbg_log.c: Remove unnecessary variable initializations.
2671         Global variable debug_flag is renamed to dbg_level.
2672         * nscd/dbg_log.h: Declare set_logfile.
2674 1998-10-16  Ulrich Drepper  <drepper@cygnus.com>
2676         * sysdeps/unix/sysv/linux/bits/fcntl.h: Add dummy definition of
2677         O_LARGEFILE back.
2679 1998-10-16  Paul Eggert  <eggert@shade.twinsun.com>
2681         * time/mktime.c: Some systems require <unistd.h> to be
2682         included before <time.h> for localtime_r to be declared
2683         properly.
2684         * time/strftime.c: Likewise.
2686 1998-10-16  Ulrich Drepper  <drepper@cygnus.com>
2688         * db/Makefile: Add rule to generate shared object with the soname
2689         from glibc 2.0.
2691         * sysdeps/unix/opendir.c: Use O_DIRECTORY if available.  If not
2692         available double check to verify it's a directory.
2694         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add O_DIRECTORY.
2695         * sysdeps/unix/sysv/linux/mips/bits/fcntl: Likewise.
2696         * sysdeps/unix/sysv/linux/bits/fcntl.h: Remove O_* constants which
2697         are not generally available.
2698         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: New file.
2700         * sysdeps/unix/sysv/linux/i386/setgroups.c: Add range check for values.
2701         * sysdeps/unix/sysv/linux/arm/Makefile: New file.
2702         * sysdeps/unix/sysv/linux/arm/setegid.c: New file.
2703         * sysdeps/unix/sysv/linux/arm/seteuid.c: New file.
2704         * sysdeps/unix/sysv/linux/arm/setfsgid.c: New file.
2705         * sysdeps/unix/sysv/linux/arm/setfsuid.c: New file.
2706         * sysdeps/unix/sysv/linux/arm/setgid.c: New file.
2707         * sysdeps/unix/sysv/linux/arm/setgroups.c: New file.
2708         * sysdeps/unix/sysv/linux/arm/setresgid.c: New file.
2709         * sysdeps/unix/sysv/linux/arm/setresuid.c: New file.
2710         * sysdeps/unix/sysv/linux/arm/setuid.c: New file.
2711         * sysdeps/unix/sysv/linux/i386/setegid.c: New file.
2712         * sysdeps/unix/sysv/linux/i386/seteuid.c: New file.
2713         * sysdeps/unix/sysv/linux/i386/setfsgid.c: New file.
2714         * sysdeps/unix/sysv/linux/i386/setfsuid.c: New file.
2715         * sysdeps/unix/sysv/linux/i386/setgid.c: New file.
2716         * sysdeps/unix/sysv/linux/i386/setgroups.c: New file.
2717         * sysdeps/unix/sysv/linux/i386/setresgid.c: New file.
2718         * sysdeps/unix/sysv/linux/i386/setresuid.c: New file.
2719         * sysdeps/unix/sysv/linux/i386/setuid.c: New file.
2720         * sysdeps/unix/sysv/linux/m68k/setegid.c: New file.
2721         * sysdeps/unix/sysv/linux/m68k/seteuid.c: New file.
2722         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: New file.
2723         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: New file.
2724         * sysdeps/unix/sysv/linux/m68k/setgid.c: New file.
2725         * sysdeps/unix/sysv/linux/m68k/setgroups.c: New file.
2726         * sysdeps/unix/sysv/linux/m68k/setresgid.c: New file.
2727         * sysdeps/unix/sysv/linux/m68k/setresuid.c: New file.
2728         * sysdeps/unix/sysv/linux/m68k/setuid.c: New file.
2729         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
2730         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
2731         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: New file.
2732         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: New file.
2733         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: New file.
2734         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
2735         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file.
2736         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file.
2737         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: New file.
2739         * sysdeps/unix/sysv/linux/arm/syscalls.list: Add s_setgid, s_setresuid,
2740         s_setresgid, and s_setuid.
2741         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
2742         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
2743         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
2744         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
2745         (sysdep_routines): Add setfsgid, setfsuid, setresgid, and setresuid.
2746         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
2747         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
2749 1998-10-16  Ulrich Drepper  <drepper@cygnus.com>
2751         * time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get
2752         localtime_t declaration on some systems.
2754 1998-10-16 10:07  Ulrich Drepper  <drepper@cygnus.com>
2756         * iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to
2757         -DSTATIC_GCONV.
2758         * iconv/skeleton.c: Include ELF header only of STATIC_GCONV is not
2759         defined.  Avoid using DL_CLL_FCT if it is not defined.
2761 1998-10-16 10:40 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2763         * resolv/arpa/nameser.h: Include sys/types.h unconditionally.
2764         Include endian.h unconditionally.  Remove portability goop
2765         depending on #ifdef linux, #ifdef BSD, #ifdef machine-type.
2767 1998-10-16 11:39 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2769         * sunrpc/rpc/types.h: Mark file so fixincludes won't modify it.
2771 1998-10-15  Ulrich Drepper  <drepper@cygnus.com>
2773         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios
2774         again.  Use char[44] to define size of the struct.
2776         * sysdeps/unix/sysv/linux/arm/Dist: Add bits/armsigctx.h.
2778 1998-10-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2780         * string/bits/string2.h (strcmp): Don't cache the result of
2781         __builtin_constant_p in variables, otherwise constant folding
2782         can fail in big functions.
2784 1998-10-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2786         * string/bits/string2.h: Add prototypes for the new inline
2787         functions.
2789 1998-10-15  Ulrich Drepper  <drepper@cygnus.com>
2791         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to
2792         have all types defined.
2793         Patch by Matti Aarnio <matti.aarnio@sonera.fi>.
2795 1998-10-08  Paul Eggert  <eggert@twinsun.com>
2797         * time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r.
2798         Define also if HAVE_LOCALTIME_R && defined localtime_r, with
2799         a body that merely expands localtime_r; this works around a
2800         bug in Digital Unix 4.0A and 4.0D.
2802 1998-10-14  Ulrich Drepper  <drepper@cygnus.com>
2804         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl.
2805         * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define
2806         __ioctl to __syscall_ioctl and include Linux version of this file.
2807         * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
2808         * sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file.  Redirect
2809         ioctl calls which handle struct termios.
2810         Based on a patch by Dan Jacobowitz <drow@false.org>.
2812 1998-10-14  Ulrich Drepper  <drepper@cygnus.com>
2814         * version.h (VERSION): Bump to 2.0.98.
2816         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios
2817         here instead of including kernel_termios.h.
2819 1998-10-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2821         * sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is
2822         unnecessary after the changes of 1998-10-12.
2824 1998-10-13  Ulrich Drepper  <drepper@cygnus.com>
2826         * sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output
2827         parameter format string.
2828         (inline_outw): Likewise.
2830         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include
2831         string.h to get memcpy prototype and NULL definition.
2833 1998-10-12  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2835         * misc/sys/cdefs.h (__THROW): New macro.
2836         * argp/argp.h: Use it to replace the kludgey __P in inline
2837         function definitions.
2838         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2839         * stdlib/stdlib.h: Likewise.
2840         * wcsmbs/wchar.h: Likewise.
2841         * libio/stdio.h: Likewise.
2842         * stdio/stdio.h: Likewise.
2843         * sysdeps/wordsize-64/inttypes.h: Likewise.
2844         * sysdeps/wordsize-32/inttypes.h: Likewise.
2845         * string/argz.h: Likewise.
2846         * io/sys/stat.h: Likewise.
2848 1998-10-12  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2850         * Rules (stdio_lim): New variable.
2851         ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend
2852         on Rules and config.make, use $(move-if-change) to avoid unnessary
2853         recompilations, and cleanup command.
2854         (common-generated): Add bits/stdio_lim.st.
2856 1998-10-12  Ulrich Drepper  <drepper@cygnus.com>
2858         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): New
2859         variable to prevent warnings from use of modern CPU instructions.
2860         Patch by Richard Henderson <rth@cygnus.com>.
2862         * sysdeps/unix/opendir.c: Test whether NAME is directory before
2863         opening it.
2865 1998-10-12  Philip Blundell  <pb@nexus.co.uk>
2867         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Add missing
2868         semicolon so that profiling works.
2870 1998-10-12  Roland McGrath  <roland@baalperazim.frob.com>
2872         * sysdeps/generic/glob.c: #undef mempcpy before #define.
2874         * sysdeps/unix/bsd/clock.c: Use prototype defns.
2876 1998-10-11  Ulrich Drepper  <drepper@cygnus.com>
2878         * Rules [posix in sysdirs]: Set L_tmpnam to 20.
2879         Patch by Zack Weinberg <zack@rabi.columbia.edu>.
2881         * string/bits/string2.h [!_STRING_ARCH_unaligned]
2882         (__mempcpy_small): Add parameter for 1 byte copy and use it.
2883         Reported by Geoff Keating <geoffk@ozemail.com.au>.
2885 1998-10-09  Mark Kettenis  <kettenis@phys.uva.nl>
2887         * sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove,
2888         it is already defined in <bits/environments.h>.
2890 1998-10-09  Ulrich Drepper  <drepper@cygnus.com>
2892         * posix/ptestcases.h: Fix typo.
2894 1998-10-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2896         * posix/regex.c (regcomp): Allocate and prepare a fastmap.
2897         (regexec): Allocate regs.start and regs.end as one block.
2899 1998-10-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2901         * sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of
2902         enum decl.
2904 1998-10-08  Philip Blundell  <pb@nexus.co.uk>
2906         * sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of
2907         sigcontext union to ...
2908         * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here.  New
2909         file.
2910         * sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for
2911         version 2.0 kernels.
2913 1998-10-08  Ulrich Drepper  <drepper@cygnus.com>
2915         * malloc/mtrace.c (tr_reallochook): Produce better output for real
2916         reallocation case.
2918         * signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined.
2919         * argp/argp-xinl.c: Likewise.
2921         * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing
2922         Ruffian entry back.
2923         Patch by Christian Gafton.
2925 1998-10-08  Paul Eggert  <eggert@twinsun.com>
2927         * time/mktime.c (__mktime_internal): When the requested time falls
2928         in a spring-forward gap of size DT, return a time that is DT away
2929         from the requested time, preferring a time whose tm_isdst differs
2930         from the requested value.  Bump the max number of probes from 4 to
2931         6 to account for the extra probes needed to discover a
2932         spring-forward gap in the worst case.
2934 1998-10-07 17:05  Ulrich Drepper  <drepper@cygnus.com>
2936         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection
2937         of the weird alpha architectures.
2938         Patch by Cristian Gafton <gafton@redhat.com>.
2940 1998-02-18 23:31  Richard Henderson  <rth@cygnus.com>
2942         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
2943         RAWHIDE and TSUNAMI.  Patch from Jay.Estabrook@digital.com.
2945 1998-10-07  Ulrich Drepper  <drepper@cygnus.com>
2947         * elf/dl-open.c (_dl_global_scope_alloc): Make global.
2948         (dl_open_worker): Use realloc, not malloc to resize array.
2949         * elf/rtld.c (_dl_initial_searchlist): New variable.
2950         (_dl_main): Copy content of _dl_main_searchlist to
2951         _dl_initial_searchlist.
2952         * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and
2953         _dl_global_scope_alloc.
2954         * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist.
2955         * elf/dl-close.c (_dl_close): When removing object with global
2956         scope remove allocated searchlist if no dynamically loaded object
2957         is on it anymore.
2958         * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope.
2959         (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist.
2961         * malloc/mtrace.c (tr_where): Don't print space in location string,
2962         print it afterwards.  Print better symbol name information.
2964 1998-10-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2966         * manual/filesys.texi (Setting Permissions): Fix example for
2967         reading umask.
2969 1998-10-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2971         * elf/sprof.c (load_profdata): Fix typo in error message.
2973 1998-10-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2975         * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
2976         flag.
2978 1998-10-04  Roland McGrath  <roland@baalperazim.frob.com>
2980         * mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it.
2982 1998-10-06  Ulrich Drepper  <drepper@cygnus.com>
2984         * version.h (VERSION): Bump to 2.0.97.
2986 1998-10-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2988         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P
2989         in definitions of inline stat functions so that they match the
2990         declaration.
2991         * stdlib/stdlib.h: Likewise.
2992         * wcsmbs/wchar.h: Likewise.
2993         * libio/stdio.h: Likewise.
2994         * stdio/stdio.h: Likewise.
2995         * sysdeps/wordsize-64/inttypes.h: Likewise.
2996         * sysdeps/wordsize-32/inttypes.h: Likewise.
2997         * string/argz.h: Likewise.
2998         * argp/argp.h: Likewise.
3000 1998-10-06  Ulrich Drepper  <drepper@cygnus.com>
3002         * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
3003         netinet/in.h.
3005 1998-10-05  Philip Blundell  <philb@gnu.org>
3007         * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures
3008         and constants.  Tidy up formatting a little.
3010         * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6):
3011         Move definitions to in.h.
3013 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3015         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER,
3016         SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added.
3017         Remove inclusion of <linux/swap.h>.
3019 1998-10-05  Ulrich Drepper  <drepper@cygnus.com>
3021         * io/sys/stat.h: Use __P in definitions of inline stat functions
3022         so that they match the declaration.
3024 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3026         * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added.
3028 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3030         * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current
3031         linux 2.1 version.
3033 1998-10-02  Philip Blundell  <pb@nexus.co.uk>
3035         * sysdeps/arm/dl-machine.h: Fix typo in last change.
3037         * sysdeps/arm/bits/huge_val.h: New file.
3039 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3041         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added.
3043         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add
3044         define.
3046 1998-10-05  Ulrich Drepper  <drepper@cygnus.com>
3048         * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to
3049         store result of realloc instead of using BUF.
3051 1998-10-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3053         * misc/sgtty.h (_SGTTY_H): Correct spelling.
3054         Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817].
3056 1998-10-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3058         * manual/memory.texi (Obstacks): Document
3059         obstack_alloc_failed_handler usage.
3061         * malloc/obstack.h: Enhance comment about
3062         obstack_alloc_failed_handler usage.
3063         * malloc/obstack.c: Likewise.
3065 1998-10-05  Ulrich Drepper  <drepper@cygnus.com>
3067         * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or
3068         gcc before 2.8 is used.
3070 1998-10-01  Philip Blundell  <pb@nexus.co.uk>
3072         * sysdeps/arm/machine-gmon.h: Correct args to mcount().  Patch
3073         from Scott Bambrough.
3075         * sysdeps/unix/sysv/linux/arm/register-dump.h: New file.
3077         * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
3078         include the lock member.
3080 1998-09-03  Philip Blundell  <pb@nexus.co.uk>
3082         * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.
3084 1998-10-01  Ulrich Drepper  <drepper@cygnus.com>
3086         * timezone/zic.c: Update from tzcode1998h.
3087         * timezone/europe: Update from tzdata1998i.
3088         * timezone/southamerica: Likewise.
3090         * sys/types.h: Protect use of long long by __extension__.
3091         * stdlib/stdlib.h: Likewise.
3092         * string/string.h: Likewise.
3093         * sysdeps/i386/bits/byteswap.h: Likewise.
3094         * sysdeps/geeric/bits/byteswap.h: Likewise.
3095         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
3096         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
3097         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3098         * sysdeps/wordsize-32/inttypes.h: Likewise.
3099         * sysdeps/wordsize-32/stdint.h: Likewise.
3100         * wcsmbs/wchar.h: Likewise.
3102 1998-09-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3104         * string/bits/string2.h (__string2_1bptr_p): Don't use a statement
3105         expression.
3106         (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
3107         __strsep): Greatly reduce size of expansion by combining common
3108         expressions.
3109         (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
3110         inline function.
3111         (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
3112         by the above definitions.
3114 1998-09-27  Geoff Keating  <geoffk@ozemail.com.au>
3116         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
3117         correct struct ipc_perm definition.
3119 1998-09-29  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3121         * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.
3123 1998-09-29  Cristian Gafton  <gafton@redhat.com>
3125         * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
3126         * sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
3127         * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
3128         * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
3129         Add net/if_shaper.h.
3131 1998-09-29  Ulrich Drepper  <drepper@cygnus.com>
3133         * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.
3135         * nis/ypclnt.c: Remove not needed close calls.
3137 1998-09-28 23:55  Ulrich Drepper  <drepper@cygnus.com>
3139         * nis/ypclnt.c (__yp_bind): Pretty print.  Optimize readv result
3140         check a bit.  Also close socket of domain client.  Close socket
3141         in IPPORT_RESERVED error case.
3143 1998-09-28  Ulrich Drepper  <drepper@cygnus.com>
3145         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
3146         CMSG_ALIGN (fixes a bug) and correct test for availability of
3147         another entry.
3148         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
3149         Linux version.
3150         (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
3151         availability of another entry.
3152         Patch by ak@muc.de.
3154         * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
3155         Patch by ak@muc.de.
3157         * libio/libio.h [!__STDC__]: Define const only if not defined.
3159 1998-09-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3161         * posix/annexc.c (xsystem): New function.  Use it instead of
3162         system.
3164 1998-09-28  Ulrich Drepper  <drepper@cygnus.com>
3166         * stdlib/longlong.h: Remove #endif for #if removed in last change.
3168 1998-09-25  Ulrich Drepper  <drepper@cygnus.com>
3170         * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
3171         Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
3172         allow using `ut' parameter.
3173         [!emacs]: Define ut_argument, ut_argument_spec, and
3174         ut_argument_spec_iso as empty.  Define ut to 0.  Add ut_argument and
3175         argument_spec to prototypes and definitions.
3176         (my_strftime): Don't call tzset of ut != 0.
3177         Compute diff as 0 is ut != 0;
3178         [emacs]: Define new emacs_strftime function.
3179         Based on a patch by Paul Eggert.
3181 1998-09-24  Paul Eggert  <eggert@twinsun.com>
3183         * time/strftime.c (my_strftime): When asking for the length of the
3184         subformatted buffer, do not limit the length to look for;
3185         otherwise, we have no reliable way to distinguish between the
3186         empty buffer and an error.
3188 1998-09-25  Ulrich Drepper  <drepper@cygnus.com>
3190         * math/Makefile (gmp-objs): Add mp_clz_tab.
3192 1998-09-25  David S. Miller  <davem@pierdol.cobaltmicro.com>
3194         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
3195         set them.
3196         * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
3197         cpus lacking hardware multiply and divide.
3199 1998-09-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3201         * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
3202         $(<F), not $(^F).
3204 1998-09-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3206         * db/btree/bt_delete.c: Fix -Wparentheses warning.
3208 1998-09-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3210         * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
3211         $(do-install).
3213 1998-09-24  Ulrich Drepper  <drepper@cygnus.com>
3215         * debug/catchsegv.sh: Also produce output if clone process died.
3217 1998-09-24  Paul Eggert  <eggert@twinsun.com>
3219         * time/strftime.c (f_wkday): Remove duplicate definition.
3220         (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
3221         !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
3222         1998-09-11 fix to this case.
3223         (wkday_len, month_len): Remove these macros; they're no longer needed.
3225 1998-09-24  Paul Eggert  <eggert@twinsun.com>
3227         * time/strftime.c (my_strftime): Don't store past the end of a
3228         zero-sized buffer.
3230 1998-09-24  Paul Eggert  <eggert@twinsun.com>
3232         * time/strftime.c (underlying_strftime):
3233         Set the buffer to a nonzero value before calling
3234         strftime, and check to see whether strftime has set the buffer to zero.
3235         This lets us distinguish between an empty buffer and an error.
3237 1998-09-24  Paul Eggert  <eggert@shade.twinsun.com>
3239         * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
3240         This fix is propagated from tzcode1998g.tar.gz.
3242 1998-09-24  Mark Kettenis  <kettenis@phys.uva.nl>
3244         * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
3245         _sys_siglist.  [!HAVE_GNU_LD]: Do not define _sys_siglist as
3246         sys_siglist.  This is handled correctly by the weak_alias macro.
3248 1998-09-24  Ulrich Drepper  <drepper@cygnus.com>
3250         * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
3251         of mempcpy.  Reported by Andreas Jaeger.
3253         * misc/regexp.h (compile): Use alloca instead of __alloca.  It won't
3254         pollute the namespace since the compiler will resolve it inline.
3255         Reported by Florian La Roche <florian@suse.de>.
3257 1998-09-24 10:29  Ulrich Drepper  <drepper@cygnus.com>
3259         * timezone/private.h: Update from tzcode1998g.
3261         * timezone/africa: Update from tzdata1998h.
3262         * timezone/asia: Likewise.
3263         * timezone/australasia: Likewise.
3264         * timezone/europe: Likewise.
3265         * timezone/northamerica: Likewise.
3266         * timezone/southamerica: Likewise.
3267         * timezone/zone.tab: Likewise.
3269 1998-09-23 17:28 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3271         * misc/sys/mman.h: New file.
3273         * sysdeps/generic/bits/mman.h: New file.
3274         * sysdeps/unix/bsd/osf/bits/mman.h: New file.
3275         * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
3276         * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
3277         * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
3279         * sysdeps/generic/sys/mman.h: Removed.
3280         * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
3281         * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
3282         * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
3283         * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
3284         * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
3286         * include/sys/mman.h: Look directly for misc/sys/mman.h.
3287         * misc/Makefile (headers): Add bits/mman.h.
3288         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
3289         bits/mman.h.
3291         * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
3292         * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
3293         * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
3294         * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
3295         * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
3296         * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
3297         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
3298         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
3300 1998-09-23 16:27 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3302         * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
3303         * sysdeps/mach/alpha/thread_state.h: Likewise.
3304         * sysdeps/mach/i386/sysdep.h: Likewise.
3305         * sysdeps/mach/i386/thread_state.h: Likewise.
3306         * sysdeps/mach/mips/sysdep.h: Likewise.
3307         * sysdeps/mach/mips/thread_state.h: Likewise.
3308         * sysdeps/posix/profil.c: Likewise.
3309         * sysdeps/i386/i586/memcopy.h: Likewise.
3310         * sysdeps/mach/pagecopy.h: Likewise.
3312 1998-09-23 15:25  Ulrich Drepper  <drepper@cygnus.com>
3314         * libio/stdio.h: Define __need_getopt and include getopt.h to define
3315         getopt stuff.
3316         * posix/unistd.h: Likewise.
3317         * stdio/stdio.h: Likewise.
3318         * posix/getopt.h: Remove _GNU_SOURCE use.  If __need_getopt is defined
3319         define only getopt and the variables.
3321 1998-09-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3323         * scripts/test-installation.pl (installation_problem): Don't link
3324         the test program against libdb1.
3326 1998-09-23 13:52  Ulrich Drepper  <drepper@cygnus.com>
3328         * Makeconfig (all-subdirs): Add db.
3329         * Versions.def: Add definition for libdb1.
3330         * shlib-versions: Add definitions for libdb1.
3331         * db/Makefile (extra-libs): Replace by libdb1.
3332         (libdb-routines): Rename to libdb1-routines.
3333         (headers): Rename to db1-headers.
3334         (distribute): Add $(db1-headers).
3335         (install-others): Define to install symlink libdb.so.NN and the
3336         $(db1-headers).
3337         (CPPFLAGS): Add -DUSE_LIBDB1
3338         Remove rules to build makedb.
3339         * db/Versions: Rename libdb to libdb1.
3340         * include/db.h: If USE_LIBDB1 is defined include db/db.h.
3341         * db/makedb.c: Removed.
3343         * scripts/versions.awk: Recognize digits in library names.
3345         * db/btree/bt_open.c: Fix compiler warnings.
3346         * db/btree/bt_put.c: Likewise.
3347         * db/btree/bt_split.c: Likewise.
3348         * db/hash/hash.c: Likewise.
3349         * db/hash/hash_bigkey.c: Likewise.
3350         * db/recno/rec_close.c: Likewise.
3352         * Makefile: Add localedata/% goal.
3354 1998-09-22 19:58 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3356         * posix/execvp.c: Don't give up searching the PATH if execve
3357         returns ENOTDIR.
3359 1998-09-22 12:53  Ulrich Drepper  <drepper@cygnus.com>
3361         * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
3362         if _dl_fpu_control_set is set.
3363         * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
3364         * elf/rtld.c: Don't define _dl_fpu_control_set.
3365         * elf/Versions: Remove _dl_fpu_control_set.
3367 1998-09-22 11:51  Ulrich Drepper  <drepper@cygnus.com>
3369         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
3370         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
3371         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
3372         Correct values of other SA_* macros according to kernel headers.
3374 1998-09-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3376         * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
3377         variable l.
3378         * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
3379         old.
3381 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3383         * elf/ldsodefs.h: Fix typo in comment.
3385 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3387         * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
3388         char when comparing buffer contents with putback character.
3390 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3392         * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
3393         Undo last change.
3394         * elf/Versions: Undo last change.  Export _dl_fpu_control and
3395         _dl_fpu_control_set.
3396         * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
3397         variables.  Include <fpu_control.h>.
3398         * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
3399         _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
3400         to indicate that is was seen.
3401         * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
3402         only if _dl_fpu_control was set and is equal to desired value.
3403         * math/Makefile (aux): Undo last change.
3404         * math/Versions: Export __fpu_control with version GLIBC_2.0.
3406 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3408         * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
3409         optimized.
3411 1998-09-21 10:00  Ulrich Drepper  <drepper@cygnus.com>
3413         * string/bits/string2.h: Add mempcpy optimization.
3414         * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
3415         * intl/localealias.c: Define mempcpy only if not already defined.
3417         * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
3418         defined.
3420 1998-09-20 10:48 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3422         * csu/abi-note.S: Emit the note directly instead of defining
3423         a preprocessor macro that's only used once.  Don't include sysdep.h.
3424         * abi-tags: Generalize Solaris entry.
3426 1998-09-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3428         * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
3429         Change to array to avoid runtime relocation.
3430         * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
3432 1998-09-21 12:22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3434         * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
3435         * math/Makefile ($(objpfx)libieee.a): Likewise.
3437 1998-09-21  Ulrich Drepper  <drepper@cygnus.com>
3439         * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
3440         Patch by John Tobey <jtobey@banta-im.com>.
3442 1998-09-20  Ulrich Drepper  <drepper@cygnus.com>
3444         * login/Makefile (distribute): Remove pty-internal.h, add
3445         pty-private.h.
3447         * stdlib/tst-strtol.c: Add more checks.
3448         Patch by Zack Weinberg <zack@rabi.columbia.edu>.
3450 1998-09-20 09:37  Ulrich Drepper  <drepper@cygnus.com>
3452         * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
3453         * elf/elf.h: Add AT_FPUCW.
3454         * elf/Makefile (dl-routines): Add fpu_control.
3455         (elide-routines.os): Add fpu_control.
3456         (rtld-routines): Add fpu_control.
3457         * math/Makefile (aux): Remove fpu_control.
3458         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
3459         (_dl_show_auxv): Likewise.
3460         * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
3461         if different from OS default.
3463         * stdio-common/tstscanf.c: Add test case for (nil).
3465 1998-09-18 17:41  Ulrich Drepper  <drepper@cygnus.com>
3467         * libio/fileops.c (_IO_new_file_underflow): Before allocating
3468         buffer make sure the pushback buffer is destroyed.
3469         (_IO_new_file_seekoff): Likewise.
3470         If mode==0 quit early with the result.
3471         Clear OEF flag after successful fseek.
3472         * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
3473         * libio/ftello.c (ftello): Add offset from original buffer if
3474         stream has pushed back characters.
3475         * libio/ftello64.c (ftello64): Likewise.
3476         * libio/iofgetpos.c (_IO_fgetpos): Likewise.
3477         * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
3478         * libio/ioftell.c (_IO_ftell): Likewise.
3479         * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
3480         and _IO_save_ptr.
3481         (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
3482         (_IO_default_pbackfail): Only stored push back character in original
3483         buffer if it is the same as the one in the file at this position.
3484         * libio/iofclose.c: Free backup buffer if one is available.
3485         * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
3486         mode!=0.
3488         * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
3490         * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
3492         * stdio-common/vfscanf.c: Fix reading (nil) for %p.
3494 1998-09-18  Mark Kettenis  <kettenis@phys.uva.nl>
3496         * login/programs/pt_chown.c (more_help): Correct message that
3497         describes the purpose of the program.
3499         * login/openpty.c: Do not include pty-private.h.
3500         (pts_name): New function.  Return name of slave pseudo terminal in
3501         an allocated buffer if necessary.
3502         (openpty): Use pts_name to get name of the slave end of the pseudo
3503         terminal pair.
3505         * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
3506         pts_name before return.
3508 1998-09-18 11:15  Ulrich Drepper  <drepper@cygnus.com>
3510         * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
3512 1998-09-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3514         * login/openpty.c: Include pty-private.h instead of
3515         pty-internal.h.
3517 1998-09-09  Philip Blundell  <pb@nexus.co.uk>
3519         * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
3521 1998-09-07  Philip Blundell  <pb@nexus.co.uk>
3523         * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
3524         recent ld.so changes.
3525         (elf_machine_runtime_setup): Correct behaviour when profiling.
3527 1998-09-17 19:34  Ulrich Drepper  <drepper@cygnus.com>
3529         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
3530         Patch by John Tobey <jtobey@banta-im.com>.
3532 1998-09-17  Mark Kettenis  <kettenis@phys.uva.nl>
3534         * login/pty-internal.h: Removed.  Moved constants related to the
3535         `grantpt' helper program protocol to ...
3536         * login/pty-private.h: ... here.  New file.
3537         * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
3538         to make the function work with kernels >= 2.1.115.
3539         * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
3540         version if using the cloning device fails.
3541         * sysdeps/unix/sysv/linux/grantpt.c: New file.
3542         * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
3543         * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
3544         use by Linux specific code.
3545         * sysdeps/unix/bsd/unlockpt.c: General cleanup.
3546         * sysdeps/unix/grantpt.c: Largely rewritten.  (pts_name): New
3547         function.  (grantpt): Use pts_name, check group and permission
3548         mode in addition to owner.  Try to set the owner, group and
3549         permission mode first without invoking the helper program.
3550         * login/programs/pt_chown.c: Largely rewritten.  Add argp and
3551         internationalization support.  Use symbolic constants instead of
3552         hardwired numbers for permission mode.
3553         * sysdeps/unix/bsd/ptsname.c: New file.
3555 1998-09-17 22:04  Tim Waugh  <tim@cyberelk.demon.co.uk>
3557         * posix/wordexp-test.c: Undo last change.
3559         * posix/wordexp.c: Undo last change.
3561 1998-09-16  Ulrich Drepper  <drepper@cygnus.com>
3563         * nscd/grpcache.c (save_grp): Partly undo last change.
3565         * nscd/pwdcache.c (save_pwd): Undo last change.
3567 1998-09-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3569         * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
3570         function.  Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
3572 1998-09-15  David S. Miller  <davem@pierdol.cobaltmicro.com>
3574         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
3575         Add profiling support.
3576         (TRAMPOLINE_TEMPLATE): New macro.
3577         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
3578         (RTLD_START): Prettify, and set __libc_stack_end properly.
3579         (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
3580         and check for sym being NULL instead.
3581         * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
3582         of stack space.
3583         * sysdeps/sparc/sparc64/lshift.S: Likewise.
3584         * sysdeps/sparc/sparc64/mul_1.S: Likewise.
3585         * sysdeps/sparc/sparc64/rshift.S: Likewise.
3586         * sysdeps/sparc/sparc64/submul_1.S: Likewise.
3587         * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
3588         MEDANY code model %g4 usage.
3589         * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
3590         MEDANY code model %g4 usage.
3591         * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
3592         code model address formation.
3593         * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
3594         include elf/ldsodefs.h
3595         (DT_SPARC): Remove.
3596         (elf_machine_matches_host): It is now EM_SPARCV9.
3597         (elf_machine_dynamic): Clean up to remove ugly cast.
3598         (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
3599         new PLT formats.
3600         (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
3601         Prettify rest of function.
3602         [R_SPARC_COPY]: Check for sym being NULL.
3603         [R_SPARC_32]: Handle it.
3604         [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
3605         MEDMID code model.
3606         [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
3607         MEDANY code model.
3608         [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
3609         (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
3610         Add profiling support.
3611         (TRAMPOLINE_TEMPLATE): New macro.
3612         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
3613         (RTLD_START): Prettify and set __libc_stack_end.
3614         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
3615         Define.
3616         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
3617         (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
3618         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
3619         unused variable scratch.
3620         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3621         (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
3622         Declare.
3623         (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
3624         stub to rt_sigaction syscalls.  Rewrite non-rt case to use correct
3625         old format kernel sigaction structures.
3626         * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
3627         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
3628         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
3629         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
3630         ucontext include.
3631         (_JMPBUF_UNWINDS): Define.
3632         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
3633         statfs64 structure, which is exactly the same as the normal one.
3634         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
3635         of stack.  Use correct syscall trap number.  Add branch prediction
3636         settings to branch instructions.  Remove old MEDANY code model %g4
3637         referneces for non-PIC.
3638         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
3639         * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
3640         * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
3641         * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
3642         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3643         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
3644         __libc_longjmp and __libc_siglongjmp strong aliases.
3645         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
3646         Also define to __no__readdir64_decl around readdir.c inclusion.
3647         (__readdir64): Add strong alias.
3648         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
3649         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
3650         Set strong and weak names properly.
3652 1998-09-16 11:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3654         * manual/Makefile (AWK): Default to gawk if standalone.
3656 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3658         * Makefile (distribute): Undo last change.
3659         * Make-dist (+tsrc) [not subdir]: Also include indirection headers
3660         for sysdep headers.
3661         (+subdir-headers): Removed, unused.
3663 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3665         * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
3666         $(do-install).
3668 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3670         * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
3671         absolute name in $(config-sysdirs), can never happen.
3672         ($(+sysdir_pfx)sysd-rules): Likewise.
3673         * Makeconfig (full-config-sysdirs): Likewise.
3674         (all-Subdirs-files): Prepend $(..).
3676         * configure.in: Don't check for absolute name in $add_ons_pfx, can
3677         not happen.  Let --enable-add-ons=yes work if no add-ons actually
3678         exist.
3680 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3682         * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
3683         continuations in command.
3685 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3687         * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
3689 1998-09-16 00:47  Tim Waugh  <tim@cyberelk.demon.co.uk>
3691         * posix/wordexp-test.c: If expansion or substitution occurs
3692         anywhere in a word, the entire word is subject to field-splitting.
3694         * posix/wordexp.c (parse_glob): Look for end of word instead of
3695         end of field when deciding what to glob.
3696         (field_split_word): New function, now the only place where
3697         field-splitting is performed.
3698         (parse_dollars): New parameter - tell the caller if
3699         field-splitting should be performed on this word.
3701         * posix/wordexp-test.c (testit): Only call wordfree if wordexp
3702         succeeded (or failed with WRDE_NOSPACE).
3704 1998-09-15 19:53 1998  Tim Waugh  <tim@cyberelk.demon.co.uk>
3706         * posix/wordexp.c (wordexp): Don't convert IFS characters to
3707         blanks.
3709         * posix/wordexp-test.c: Words not the result of expansion or
3710         substitution should remain unchanged.
3712 1998-09-15  Ulrich Drepper  <drepper@cygnus.com>
3714         * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
3715         (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
3717 1998-09-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3719         * stdio-common/Makefile: Include Makeconfig so that
3720         $(inst_includedir) is defined.
3722 1998-09-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3724         * io/pwd.c: Include <mcheck.h>.
3726 1998-09-15 08:00  Ulrich Drepper  <drepper@cygnus.com>
3728         * nscd/pwdcache.c (save_pwd): Correct copying.
3729         * nscd/grpcache.c (save_grp): Likewise.
3731 1998-09-14 23:36  Ulrich Drepper  <drepper@cygnus.com>
3733         * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
3734         (free_pwd): Adjust for this change.
3735         * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
3736         (free_grp): Adjust for this change.
3738 1998-09-14  Ulrich Drepper  <drepper@cygnus.com>
3740         * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
3742 1998-09-14 15:29  Ulrich Drepper  <drepper@cygnus.com>
3744         * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
3745         (install-others): Add bits/stdio_lim.h.
3746         Add rule to install bits/stdio_lim.h.
3748         * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
3750         * Makefile (distribute): Add include/sys/mman.h.
3752         * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
3753         * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
3754         * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
3756         * grp/initgroups.c: Include stdlib.h.
3757         Patch by Zack Weinberg.
3759 1998-09-14 22:46  Tim Waugh  <tim@cyberelk.demon.co.uk>
3761         * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
3762         for field-splitting :abc: is correct, and that two fields should
3763         result. Revert tests to reflect this.
3765         * posix/wordexp.c (w_emptyword): Remove function.
3766         (exec_comm): Don't use w_emptyword.
3767         (parse_param): Likewise.
3769 1998-09-14 15:00  Ulrich Drepper  <drepper@cygnus.com>
3771         * sysdeps/arm/fpu/Dist: Moved to...
3772         * sysdeps/arm/Dist: ...here.
3773         * sysdeps/posix/Dist: Removed.
3774         * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
3775         * sysdeps/unix/sysv/linux/i386/Dist: ...here.
3777 1998-08-26  Geoff Keating  <geoffk@ozemail.com.au>
3779         * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
3781 1998-09-14 11:26  Ulrich Drepper  <drepper@cygnus.com>
3783         * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
3785 1998-09-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3787         * libc-work/nis/nss_nisplus/nisplus-service.c
3788         (_nss_nisplus_parse_servent): Convert port in network byte order.
3790 1998-09-14 07:53 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3792         * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
3793         to provide only malloc and calloc.
3794         * include/stdlib.h: Support the above.
3795         * string/bits/string2.h: Use __need_malloc_and_calloc when
3796         including stdlib.h.
3797         (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
3799         * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
3800         * iconvdata/iso646.c: Include <stdlib.h>.
3802 1998-09-14 07:51 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3804         * sunrpc/rpc_cout.c: Add braces around ambiguous else.
3805         * sysdeps/libm-ieee754/w_pow.c: Likewise.
3806         * sysdeps/libm-ieee754/w_powf.c: Likewise.
3807         * sysdeps/libm-ieee754/w_powl.c: Likewise.
3809 1998-09-14 07:57 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3811         * stdio-common/stdio_lim.h.in: New file.  All parameters
3812         are adjustable at build time.
3813         * Rules: Add a rule to build bits/stdio_lim.h from
3814         stdio-common/stdio_lim.h.in.  (It has to be in Rules so that
3815         all subdirectories know how to make the file.  It can't be
3816         in Makerules because then it gets built at top level and the
3817         dependencies are wrong.)
3819         * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
3820         * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
3821         stdio_lim.h.
3822         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
3823         * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
3824         * sysdeps/posix/Makefile: Removed.
3825         * sysdeps/posix/mk-stdiolim.c: Removed.
3826         * sysdeps/generic/bits/stdio_lim.h: Removed.
3828 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3830         * argp/argp-help.c: Fixup indentation.
3831         * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
3832         * resolv/nss_dns/dns-network.c: Likewise.
3833         * resolv/res_send.c: Likewise.
3834         * rt/aio_cancel.c: Likewise.
3835         * rt/aio_misc.c: Likewise.
3837 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3839         * Makefile (install-symbolic-link): Remove the link list file at last.
3840         * Makerules (install-clean-symbolic-link-list): Removed.
3842 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3844         * timezone/tst-timezone.c: Print time in UTC to get consistent
3845         output.
3847 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3849         * elf/rtld.c (_dl_rpath): Removed.
3850         * elf/dl-support.c (_dl_path): Removed.
3851         * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
3852         (CFLAGS-dl-support.c): Removed.
3854         * elf/dl-load.c (env_path_list): Renamed from fake_path_list.  All
3855         uses changed.
3856         (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
3857         instead of appending it to the main map's rpath info.
3858         (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
3859         DT_RPATHs.  This makes it effective again.
3860         (decompose_rpath): Remove second parameter, callers changed.
3861         (fillin_rpath): Allocate enough space in curwd.
3862         (expand_dynamic_string_token): Cope with get_origin returning -1.
3864 1998-09-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3866         * libc-work/nis/nss_compat/compat-pwd.c: Add support for
3867         passwd.adjunct.
3869         * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
3870         invalid password.
3872 1998-09-13 18:06  Ulrich Drepper  <drepper@cygnus.com>
3874         * locale/programs/locale.c: Update dates.
3876 1998-09-13  Mark Kettenis  <kettenis@phys.uva.nl>
3878         * sysdeps/generic/bits/types.h: Include <features.h>.  Make sure
3879         size_t is defined.  Some reordering of definitions to make
3880         maintaining this file in parallel with the linux-specific file easier.
3882 1998-09-13  Ulrich Drepper  <drepper@cygnus.com>
3884         * io/pwd.c (main): Add call to mtrace.
3886         * malloc/mtrace.pl: Quote @ in string.
3888 1998-09-13 19:25  Tim Waugh  <tim@cyberelk.demon.co.uk>
3890         * posix/wordexp.c (parse_arith): Fix memory leaks.
3891         (exec_comm): Likewise.
3892         (parse_param): Likewise.
3893         (wordexp): Likewise.
3894         (exec_comm): Reduce number of function return points.
3895         (parse_param): Likewise.
3896         (wordexp): Likewise.
3898 1998-09-13 14:53  Tim Waugh  <tim@cyberelk.demon.co.uk>
3900         * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
3901         yield three fields, not two.  Test both parameter expansion and
3902         command substitution for correct field-splitting behaviour.
3904         * posix/wordexp.c (w_emptyword): New function.
3905         (parse_param): Use it.
3906         (exec_comm): Likewise, for consistency with the way parse_param
3907         splits fields.
3908         (parse_param): Fix some memory leaks.
3910 1998-09-13 18:04  Geoff Keating  <geoffk@ozemail.com.au>
3912         * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
3913         Don't mark asm `volatile'.
3914         (__elf_machine_runtime_setup): Clear the last partial block in the PLT
3915         from the data cache too.  Assume it isn't in the instruction cache yet.
3916         (__elf_machine_fixup_plt): Clear the modified address from the caches.
3918 1998-09-12  Mark Kettenis  <kettenis@phys.uva.nl>
3920         * sysdeps/generic/segfault.c (install_handler): Install signal
3921         handler with SA_ONSTACK instead of setting the stack flags to
3922         SS_ONSTACK.  Do not install handler for SIGSTKFLT if it is not
3923         defined.
3925 1998-09-12 14:24 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3927         * signal/signal.h: Fix multiple inclusion guard to cover the
3928         entire file.
3929         * wcsmbs/wchar.h: Remove prototype of internal function
3930         __mbsrtowcs.
3931         * sysdeps/i386/i486/bits/string.h (memchr): Don't do
3932         arithmetic on `void *'.
3934 1998-09-12 01:09  Tim Waugh  <tim@cyberelk.demon.co.uk>
3936         * posix/wordexp-test.c: Fix wrong tests.  Add new tests.
3938         * posix/wordexp.c (wordexp): Perform word-splitting instead of
3939         field-splitting here.
3940         (wordexp): If out of memory mid-word, free the word (but still
3941         leave pwordexp alone for caller to see).
3942         (parse_param): Allow for zero-length fields (smarter checking of
3943         memory allocation failure).
3944         (w_addword): Convert NULL words to "".
3945         (wordexp): Convert left-over IFS characters to blanks (like bash).
3947 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
3949         * configure.in: Use test -f instead of test -e.
3950         Patch by John Tobey <jtobey@banta-im.com>.
3952         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
3953         * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
3954         * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
3955         * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
3956         * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
3957         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
3958         * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
3959         Patches by John Tobey <jtobey@banta-im.com>.
3961         * time/strftime.c (my_strftime): Delay use of *tp values until
3962         latest possible point to allow partly initialized structures
3963         (e.g., from strptime).
3965         * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
3966         and NATS-SEFI.
3967         Define *-routines variables for new modules.
3968         (distribute): Add .c files for new modules.
3969         (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
3970         and nats-sefi.h.
3971         Add rules for header generation.
3972         * iconvdata/gconv-modules: Add entries for new modules.
3973         * iconvdata/iso_10367-box.c: New file.
3974         * iconvdata/mac-is.c: New file.
3975         * iconvdata/nats-dano.c: New file.
3976         * iconvdata/nats-sefi.c: New file.
3978 1998-04-30 18:20  H.J. Lu  <hjl@gnu.org>
3980         * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
3981         loader if PIC is not defined.
3983 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
3985         * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
3986         ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
3987         INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
3988         and ISO_5428.
3989         Define *-routines variables for new modules.
3990         (distribute): Add .c files for new modules.
3991         (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
3992         ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
3993         greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
3994         iso_5427.h, iso_5427-ext.h, and iso_5428.h.
3995         Add rules for header generation.
3996         * iconvdata/gconv-modules: Add entries for new modules.
3997         * iconvdata/csn_369103.c: New file.
3998         * iconvdata/cwi.c: New file.
3999         * iconvdata/dec-mcs.c: New file.
4000         * iconvdata/ecma-cyrillic.c: New file.
4001         * iconvdata/gost_19768-74.c: New file.
4002         * iconvdata/greek-ccitt.c: New file.
4003         * iconvdata/greek7-old.c: New file.
4004         * iconvdata/greek7.c: New file.
4005         * iconvdata/inis-8.c: New file.
4006         * iconvdata/inis-cyrillic.c: New file.
4007         * iconvdata/inis.c: New file.
4008         * iconvdata/iso6937-2.c: New file.
4009         * iconvdata/iso_2033.c: New file.
4010         * iconvdata/iso_5427-ext.c: New file.
4011         * iconvdata/iso_5427.c: New file.
4012         * iconvdata/iso_5428.c: New file.
4014         * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
4015         entries.
4016         Convert U02dd correctly.
4018 1998-09-11 20:46  Richard Henderson  <rth@cygnus.com>
4020         * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
4021         _dl_main_searchlist not _dl_default_scope to _dl_init_next.
4022         * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
4023         * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
4025 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
4027         * resolv/res_init.c (res_init): Handle resolv.conf file with only
4028         one nameserver correctly.  Patch by HJ Lu.
4030         * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
4031         and ANSI_X3.110.
4032         Define *-routines variables for new modules.
4033         (distribute): Add .c files for new modules.
4034         (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
4035         Add rules for hedaer generation.
4036         * iconvdata/gconv-modules: Add entries for new modules.  Pretty print.
4037         * iconvdata/ansi_x3.110.c: New file.
4038         * iconvdata/asmo_449.c: New file.
4039         * iconvdata/baltic.c: New file.
4040         * iconvdata/iec_p27-1.c: New file.
4042         * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
4043         entries.
4044         Convert U02dc correctly.
4046         * math/atest-exp.c: Add parentheses to avoid gcc warnings.
4047         * math/atest-exp2.c: Likewise.
4048         * math/atest-sincos.c: Likewise.
4050         * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
4051         is defined.
4053 1998-09-11 10:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4055         * string/strcoll.c: Optimize a few expressions.
4056         * string/strxfrm.c: Likewise.
4058 1998-09-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4060         * manual/locale.texi: Fix typos.
4062 1998-09-10  Ulrich Drepper  <drepper@cygnus.com>
4064         * stdlib/random_r.c (__setstate_r): Allow call with same state
4065         array as currently used (PR libc/774).
4067         * include/limits.h: Include gcc's header even if this file is
4068         found more than once before it (PR libc/778)
4070         * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
4071         (sysdep_headers): Remove sys/debugreg.h.
4072         * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
4073         (sysdep_headers): Add sys/debugreg.h.
4074         * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
4075         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
4077         * stdio-common/tmpnam.c: Move local static variable buf to
4078         toplevel and rename to tmpnam_buffer to ease debugging.
4079         Patch by Joe Keane <jgk@jgk.org>.
4080         Optimize s == NULL case a bit.
4082         * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
4083         correction.
4085 1998-09-10 12:51  Ulrich Drepper  <drepper@cygnus.com>
4087         * resolv/res_init.c (res_init): Initialize _res.nscount and
4088         _res.nsaddr.sin_port differently for the can when no loopback
4089         is available to allow immediate timeout in non-networking environments.
4090         Patch by Cristian Gafton <gafton@redhat.com>.
4092 1998-09-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4094         * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
4095         BAR and not EM DASH.
4096         * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
4097         * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
4098         Fixes PR libc/717.
4100 1998-09-10 11:53  Ulrich Drepper  <drepper@cygnus.com>
4102         * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
4103         for test.
4104         * timezone/tst-timezone.c (tests): Fix typo in last patch.
4106         * time/tzfile.c (__tzfile_read): Handle case when there are no
4107         transitions.  Set __timezone based on computed offset.
4108         * time/tzset.c (tzset_internal): Set __timezone before returning.
4110         * time/tzset.c (tzset_internal): Optimize handling of local string
4111         copy.
4113 1998-09-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4115         * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
4116         libc/776).
4118 1998-09-09  Benjamin Kosnik  <bkoz@tintin.cygnus.com>
4120         * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
4121         (csqrt_test): Likewise.
4122         * sysdeps/powerpc/bits/fenv.h: Add parens.
4124 1998-09-09 18:48  Ulrich Drepper  <drepper@cygnus.com>
4126         * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
4127         _dl_main_searchlist not _dl_default_scope to _dl_init_next.
4128         Patch by Benjamin Kosnik <bkoz@cygnus.com>.
4130 1998-09-09  Mark Kettenis  <kettenis@phys.uva.nl>
4132         * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
4133         the special `-1' pointer.
4135 1998-09-09 09:32  Ulrich Drepper  <drepper@cygnus.com>
4137         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
4138         inline.
4140 1998-09-07  Paul Eggert  <eggert@twinsun.com>
4142         * time/mktime.c (__EXTENSIONS__): Define if not defined.
4143         (_REENTRANT): Remove.  It has undesirable consequences in
4144         Solaris 2.6 (e.g. it turns off the putc macro).  Defining
4145         __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
4146         is what we want.
4147         * time/strftime.c: Likewise.
4149 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4151         * elf/dl-error.c: Fix spelling.
4153 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4155         * stdlib/strfmon.c: Quiet -Wparentheses warnings.
4156         * stdio-common/_itoa.c: Likewise.
4157         * stdio-common/printf_fp.c: Likewise.
4158         * stdio-common/vfscanf.c: Likewise.
4159         * wcsmbs/wcstok.c: Likewise.
4160         * sysdeps/generic/glob.c: Likewise.
4161         * posix/getopt.c: Likewise.
4162         * sysdeps/posix/getaddrinfo.c: Likewise.
4163         * posix/wordexp.c: Likewise.
4164         * io/ftw.c: Likewise.
4165         * io/fts.c: Likewise.
4166         * misc/getpass.c: Likewise.
4167         * iconv/gconv_conf.c: Likewise.
4168         * argp/argp-fmtstream.c: Likewise.
4169         * argp/argp-help.c: Likewise.
4170         * elf/dl-load.c: Likewise.
4171         * locale/programs/stringtrans.c: Likewise.
4172         * catgets/gencat.c: Likewise.
4173         * posix/getconf.c: Likewise.
4174         * iconv/gconv_conf.c: Likewise.
4175         * iconv/iconv_prog.c: Likewise.
4177         * string/strcoll.c: Optimize a few expressions.
4178         * string/strxfrm.c: Likewise.
4180 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4182         * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
4183         level to avoid uninit variable warning.
4185 1998-09-09 10:34  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4187         * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
4188         instead of _dl_default_scope[2] as argument to _dl_init_next.
4190         * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
4191         C9x macro.
4193 1998-09-08  Ulrich Drepper  <drepper@cygnus.com>
4195         Fix compatibility problems introduced in last change.
4196         * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
4197         defined.
4198         * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
4199         -DWEAK_GMON_START to CFLAGS-initfini.s.
4201         * elf/dl-object.c (_dl_new_object): Store map address in
4202         _dl_loaded if _dl_loaded is NULL.
4203         * elf/rtld.c (dl_main): Don't update _dl_loaded here.
4205         * sysdeps/generic/setrlimit64.c: Remove stub warning.
4207 1998-09-07  Ulrich Drepper  <drepper@cygnus.com>
4209         * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
4210         quiet.
4211         * db2/btree/bt_cursor.c: Likewise.
4212         * db2/common/db_region.db_c: Likewise.
4213         * db2/common/db_salloc.db_c: Likewise.
4214         * db2/db/db.c: Likewise.
4215         * db2/db/db_rec.c: Likewise.
4216         * db2/hash/hash.c: Likewise.
4217         * db2/hash/hash_page.c: Likewise.
4218         * db2/hash/hash_rec.c: Likewise.
4219         * db2/log/log_findckp.c: Likewise.
4220         * db2/log/log_get.c: Likewise.
4221         * db2/log/log_put.c: Likewise.
4222         * db2/mp/mp_fget.c: Likewise.
4223         * db2/mp/mp_fput.c: Likewise.
4224         * db2/mp/mp_region.c: Likewise.
4225         * stdlib/strtol.c: Likewise.
4226         * string/strcoll.c: Likewise.
4227         * string/strxfrm.c: Likewise.
4228         * argp/argp-help.c: Likewise.
4229         * argp/argp-parse.c: Likewise.
4230         * resolv/res_debug.c: Likewise.
4232 1998-09-07 09:58  Ulrich Drepper  <drepper@cygnus.com>
4234         * math/tgmath.h (scalb): Only define for __USE_MISC or
4235         __USE_XOPEN_EXTENDED.  Patch by Zack Weinberg.
4237 1998-09-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4239         * libio/stdio.h: Fix comment.
4241         * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
4242         __USE_ISOC9X.
4244 1998-09-06 09:53 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4246         * Makeconfig (+gccwarn): Remove -Wno-parentheses.
4248         * elf/dl-open.c: Quiet -Wparentheses warnings.
4249         * iconvdata/johab.c: Likewise.
4250         * iconvdata/uhc.c: Likewise.
4251         * inet/inet_net.c: Likewise.
4252         * io/fts.c: Likewise.
4253         * locale/newlocale.c: Likewise.
4254         * misc/getttyent.c: Likewise.
4255         * misc/mntent_r.c: Likewise.
4256         * misc/ttyslot.c: Likewise.
4257         * nscd/nscd_conf.c: Likewise.
4258         * nss/nsswitch.c: Likewise.
4259         * resolv/gethnamaddr.c: Likewise.
4260         * resolv/nsap_addr.c: Likewise.
4261         * resolv/res_debug.c: Likewise.
4262         * stdio-common/_itoa.c: Likewise.
4263         * stdlib/strtod.c: Likewise.
4264         * string/strverscmp.c: Likewise.
4265         * sunrpc/svc.c: Likewise.
4266         * sysdeps/libm-ieee754/e_cosh.c: Likewise.
4267         * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
4268         * sysdeps/libm-ieee754/e_sinh.c: Likewise.
4269         * sysdeps/posix/getaddrinfo.c: Likewise.
4271 1998-09-06 15:13  Ulrich Drepper  <drepper@cygnus.com>
4273         * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
4274         for use of global scope.
4275         * elf/dlvsym.c (dlvsym_doit): Likewise.
4277 1998-09-02  Paul Eggert  <eggert@twinsun.com>
4279         * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
4280         copy the redundant bytes at the end of the format as-is; don't
4281         just copy their first byte and then rescan, as that might get
4282         us an encoding error.
4283         Account correctly for the length of multibyte sequences in the
4284         format.
4286 1998-09-03 20:14  Tim Waugh  <tim@cyberelk.demon.co.uk>
4288         * posix/wordexp-test.c: Add tests for different IFS values.
4289         Change unquoted-newline test so that newline is not in IFS.
4291         * posix/wordexp.c (wordexp): Correct null/unset mix-up when
4292         determining IFS characters.  Return WRDE_BADCHAR for unquoted
4293         special characters _except_ if they are separators.
4295 1998-09-06 10:56  Ulrich Drepper  <drepper@cygnus.com>
4297         * include/tgmath.h: New file.
4299         * libio/stdio.h: Correct reversed #ifs.
4300         Patch by Zack Weinberg.
4302         * manual/creature.texi: Better explain reason for feature select
4303         macros.
4304         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
4306 1998-09-06 10:25 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4308         * include/alloca.h: Add multiple-inclusion guard.
4309         * include/db.h: Likewise.
4310         * include/db_185.h: Likewise.
4311         * include/dlfcn.h: Likewise.
4312         * include/fcntl.h: Likewise.
4313         * include/grp.h: Likewise.
4314         * include/libintl.h: Likewise.
4315         * include/mntent.h: Likewise.
4316         * include/pwd.h: Likewise.
4317         * include/sched.h: Likewise.
4318         * include/search.h: Likewise.
4319         * include/setjmp.h: Likewise.
4320         * include/shadow.h: Likewise.
4321         * include/signal.h: Likewise.
4322         * include/stdio.h: Likewise.
4323         * include/stdlib.h: Likewise.
4324         * include/string.h: Likewise.
4325         * include/termios.h: Likewise.
4326         * include/time.h: Likewise.
4327         * include/ulimit.h: Likewise.
4328         * include/utmp.h: Likewise.
4329         * include/wchar.h: Likewise.
4330         * include/sys/file.h: Likewise.
4331         * include/sys/gmon.h: Likewise.
4332         * include/sys/ioctl.h: Likewise.
4333         * include/sys/mman.h: Likewise.
4334         * include/sys/resource.h: Likewise.
4335         * include/sys/select.h: Likewise.
4336         * include/sys/socket.h: Likewise.
4337         * include/sys/statfs.h: Likewise.
4338         * include/sys/time.h: Likewise.
4339         * include/sys/times.h: Likewise.
4340         * include/sys/wait.h: Likewise.
4342 1998-09-06 09:00  Ulrich Drepper  <drepper@cygnus.com>
4344         * version.h (VERSION): Bump to 2.0.96.
4346         Rewrite runtime linker to be truly thread-safe.  There is now no
4347         global variable specifying the scope.  We create all needed
4348         scopes at the time the link maps are created.
4349         * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
4350         * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
4351         l_symbolic_searchlist, l_scope, and l_local_scope elements in
4352         struct link_map.
4353         * elf/dl-close.c: Rewritten accordingly.
4354         * elf/dl-deps.c: Likewise.
4355         * elf/dl-error.c: Likewise.
4356         * elf/dl-init.c: Likewise.
4357         * elf/dl-load.c: Likewise.
4358         * elf/dl-lookup.c: Likewise.
4359         * elf/dl-object.c: Likewise.
4360         * elf/dl-open.c: Likewise.
4361         * elf/dl-reloc.c: Likewise.
4362         * elf/dl-runtime.c: Likewise.
4363         * elf/dl-support.c: Likewise.
4364         * elf/dl-symbol.c: Likewise.
4365         * elf/dl-version.c: Likewise.
4366         * elf/dlsym.c: Likewise.
4367         * elf/dlvsym.c: Likewise.
4368         * elf/ldsodefs.h: Likewise.
4369         * elf/rtld.c: Likewise.
4370         * iconv/gconv_dl.c: Likewise.
4371         * nss/nsswitch.c: Likewise.
4372         * sysdeps/i386/dl-machine.h: Likewise.
4373         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
4375         * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
4376         Define RTLD_DEFAULT.
4378 1998-09-05  Mark Kettenis  <kettenis@phys.uva.nl>
4380         * sysdeps/mach/hurd/i386/init-first.c (init1): Call
4381         __getopt_clean_environment with __environ instead of envp.
4383 1998-09-05  Roland McGrath  <roland@baalperazim.frob.com>
4385         * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
4387         * string/argz-extract.c (__argz_extract): Add de-consting cast for
4388         setting results.
4390         * string/argz.h (argz_next): Add de-consting cast for return.
4391         * string/argz-next.c (__argz_next): Likewise.
4393         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
4394         Don't add netinet/udp.h, netinet/ip_icmp.h here.
4395         * sysdeps/gnu/Makefile: Do it here instead.
4396         * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
4397         * sysdeps/gnu/Dist: ... to here.
4399         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
4400         sysdeps/unix/sysv/linux/netinet/tcp.h,
4401         sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
4403 1998-09-04  Roland McGrath  <roland@baalperazim.frob.com>
4405         * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
4406         * string/argz-next.c, string/argz-extract.c: Fix defns.
4408 1998-09-03  Roland McGrath  <roland@baalperazim.frob.com>
4410         * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
4412         * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
4413         __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
4414         * sysdeps/generic/sysd-stdio.c: Likewise.
4416 1998-09-02  Ulrich Drepper  <drepper@cygnus.com>
4418         * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
4419         (_dl_map_object_from_fd): Make NAME argument const.
4420         Remove last parameter in _dl_new_object call.
4421         (print_search_path): Correct construction of composed path name.
4422         (_dl_map_object): Prevent looking at RPATH of the main map twice.
4423         Remove last parameter in _dl_new_object call.
4424         * elf/dl-object.c: Remove last parameter.  Determine whether create
4425         origin entry based on empty realname.  Handle file in root directory
4426         correctly.
4427         * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
4428         * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
4429         Remove last parameter in _dl_new_object call.
4430         * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
4431         * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
4433 1998-09-01  Ulrich Drepper  <drepper@cygnus.com>
4435         * elf/dl-close.c (_dl_close): Add more comments and correct some.
4436         Free l_searchlist and l_dupsearchlist.
4438         * debug/catchsegv.sh: Add one more pair of quotes.
4440 1998-09-01 17:53  Ulrich Drepper  <drepper@cygnus.com>
4442         * elf/dl-load.c (add_name_to_object): Change return type to void and
4443         make NAME parameter const.  Allocate room for NAME in same memory
4444         block used for l_libname entry.
4445         (_dl_map_object_from_fd): Don't free NAME on failure.
4446         (map_segment): Pass SONAME to add_name_to_object, not a copy.
4447         (_dl_map_object): Don't create copy of NAME.  Pass NAME to
4448         _dl_map_object_from_fd.
4449         * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
4450         memory block used for l_libname entry.
4451         * elf/dl-close.c: Adjust free()ing for this change.
4453 1998-09-01 15:36  Ulrich Drepper  <drepper@cygnus.com>
4455         * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
4457         * malloc/mtrace.c: Add bug report address.  Update email address.
4458         Add more @XXX@ to print correct address size.
4460         * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
4461         really initialized.
4463         * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
4464         for munmap call instead of examining phdr again.
4465         Free all malloc()ed strings and arrays.
4467 1998-08-09  Geoff Keating  <geoffk@ozemail.com.au>
4469         * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
4470         dl-machine.h.
4471         * sysdeps/powerpc/dl-machine.c: New file.
4472         * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
4473         files.  Revise ELF_PREFERRED_ADDRESS to take account of
4474         the new mapping information (fixes bug involving huge bloated
4475         web browser).  Set ELF_MACHINE_PLTREL_OVERLAP.
4476         * sysdeps/powerpc/dl-start.S: New file.
4478         * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
4479         l_map_end.
4480         * elf/do-rel.h: Call elf_machine_rel only once (to save space).
4481         * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
4482         others.  Call elf_dynamic_do_##reloc only once (to save even more
4483         space).
4484         * elf/link.h: Add new members l_map_start and l_map_end to keep
4485         track of the memory map.
4486         * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
4487         the executable.
4489 1998-09-01 11:53  Ulrich Drepper  <drepper@cygnus.com>
4491         * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
4492         Reported by Andreas Jaeger.
4494         * posix/glob.h: Use __size_t instead of size_t in definitions and
4495         make sure this is defined.
4497 1998-09-01 10:34  Ulrich Drepper  <drepper@cygnus.com>
4499         * manual/locale.texi: Almost complete rewrite.  Document more functions
4500         and functionality.
4501         * manual/arith.texi: Correct reference.
4502         * manual/string.texi: Pretty printing.
4504         * manual/texinfo.tex: Update from last available version.
4506 1998-08-31 22:44  Ulrich Drepper  <drepper@cygnus.com>
4508         * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
4509         invalid password.
4510         (_nss_nis_getpwuid_r): Likewise.
4511         Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
4513         * inet/rcmd.c: Implement netgroup support.
4514         Patch by Dick Streefland <dick_streefland@tasking.com>.
4516 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
4518         * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
4519         object on the list is removed.  Don't use this code for PIC.
4520         Reported by HJ Lu [PR libc/770].
4522 1998-08-31 15:56  Ulrich Drepper  <drepper@cygnus.com>
4524         * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
4526         * include/stdio.h: Add __vsscanf.
4528         * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
4529         __USE_ISOC9X.
4530         Remove __vsscanf declaration.
4531         Always declare fgetpos and fsetpos.
4533         * math/math.h: Define isinf as macro.
4534         * math/bits/mathcalls.h: Change to declare __isinf all the time.
4535         Don't declare scalb for ISO C 9x.
4537         * math/tgmath.h: Define fma.  Rewrite the underlying macros.
4539         * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
4541         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
4542         sys/ucontext.h.
4544         * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
4545         macros.
4547 1998-08-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4549         * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
4550         Reported by jreising@frequentis.com [PR libc/767].
4552 1998-08-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4554         * io/lockf.c (lockf): Move initilisation of fl.l_whence and
4555         fl.l_start at beginning of function.
4556         Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
4558 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
4560         * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
4561         Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
4563         * nscd/nscd.init: Make it work in RedHat systems.
4564         Patch by Christian Gafton.
4566 1998-08-29  Philip Blundell  <philb@gnu.org>
4568         * catgets/Makefile: Don't try to run test programs when
4569         cross-compiling.
4571 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
4573         * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
4574         Reported by Zack Weinberg.
4576 1998-08-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4578         * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
4579         * elf/Makefile (distribute): Remove ldd.sh.in.
4581 1998-08-31 11:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4583         * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
4584         variable.
4586 1998-08-29  Ulrich Drepper  <drepper@cygnus.com>
4588         * sysdeps/i386/register-dump.h: Move to ...
4589         * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
4591 1998-08-28 22:49  Ulrich Drepper  <drepper@cygnus.com>
4593         * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
4594         with load address, not map address.
4595         * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
4596         parameter and use this value.
4597         * sysdeps/arm/dl-machine.h: Likewise.
4598         * sysdeps/i386/dl-machine.h: Likewise.
4599         * sysdeps/m68k/dl-machine.h: Likewise.
4600         * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
4601         parameter.
4602         * sysdeps/powerpc/dl-machine.h: Likewise
4603         * sysdeps/sparc/sparc32/dl-machine.h: Likewise
4604         * sysdeps/sparc/sparc64/dl-machine.h: Likewise
4606 1998-08-28 09:22  Ulrich Drepper  <drepper@cygnus.com>
4608         * elf/rtld.c (process_envvars): Fix copy&paste error.
4610         * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
4611         memalign hook.
4612         (realloc_hook_ini): Don't overwrite memalign hook.
4613         (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
4614         Reported by Philippe Troin <phil@fifi.org>.
4616         * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
4617         Patch by Philippe Troin <phil@fifi.org>.
4619 1998-08-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4621         * sysdeps/generic/segfault.c (install_handler): Protect the
4622         non-POSIX signals with #ifdef.
4623         (catch_segfault): Add missing mode parameter for open.
4624         * debug/catchsegv.sh: Avoid termination message from shell.  Allow
4625         other termination signals.
4627 1998-08-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4629         * debug/Makefile (distribute): Add register-dump.h.
4631 1998-08-28 10:41  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4633         * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
4635 1998-08-27 19:42  Ulrich Drepper  <drepper@cygnus.com>
4637         * elf/Makefile (distribute): Add dl-origin.h.
4638         * sysdeps/generic/dl-origin.h: New file.
4639         * sysdeps/unix/sysv/linux/dl-origin.h: New file.
4640         * elf/link.h (struct link_map): Add l_origin field.
4641         * elf/dl-load.c (expand_dynamic_string_token): New function.
4642         (decompose_path): Remove WHERE argument, take link map pointer instead.
4643         Call expand_dynamic_string_token instead of local_strdup to make copy
4644         of rpath.
4645         (_dl_init_paths): Call decompose_path with correct argument.
4646         (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
4647         not defined.
4648         Check EI_OSABI and EI_ABIVERSION fields in header.
4649         Call _dl_new_object with extra argument.
4650         (_dl_map_object): Call decompose_path with correct argument.
4651         Call expand_dynamic_string_token instead of local_strdup to also
4652         expand DST.
4653         Call _dl_new_object with extra argument.
4654         * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
4655         but the main one if new argument is nonzero.
4656         * elf/ldsodefs.h: Adjust for _dl_new_object change.
4657         * elf/dl-support.c: Define _dl_origin_path.
4658         * elf/rtld.c: Likewise.  Set _dl_origin_path based on LD_ORIGIN_PATH.
4659         (dl_main): Call _dl_new_object with extra argument.
4661         * elf/dl-close (_dl_close): Free l_name and l_origin.
4663         * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
4664         modifier in asm, not c.
4666         * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
4667         to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
4669 1998-08-26 17:48  Ulrich Drepper  <drepper@cygnus.com>
4671         * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
4672         variable so that map can be freed.
4673         Reported by Philippe Troin <phil@fifi.org>.
4675         * elf/dl-open.c (dl_open_worker): Correct test for extending global
4676         scope array.
4677         Patch by Philippe Troin <phil@fifi.org>.
4679 1998-08-26  Geoff Keating  <geoffk@ozemail.com.au>
4681         * sysdeps/powerpc/register-dump.h: Rewrite.  Much nicer this way.
4682         Don't call writev() with a 100-element vector.
4683         * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
4684         return address.
4686         * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
4687         In particular, set __libc_stack_end.
4688         * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
4689         undefined.  Fix copyright notice.
4691 1998-08-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4693         * math/Makefile (gmp-objs): New variable.
4694         ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
4695         Depend on it.
4696         (tests): Add atest-exp atest-sincos atest-exp2.
4697         (tests-static): Remove atest-exp atest-sincos atest-exp2.
4699 1998-08-25  Ulrich Drepper  <drepper@cygnus.com>
4701         * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
4702         to toplevel.
4703         (_dl_unload_cache): New function.
4704         * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
4705         * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
4706         * elf/rtld.c (dl_main): Unload map file before jumping to user code.
4708         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
4709         Correct comment for O_LARGEFILE.
4710         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
4711         Change O_LARGEFILE to correct value.
4713 1998-08-25 14:34  Ulrich Drepper  <drepper@cygnus.com>
4715         * libio/iogetline.c (_IO_getline_info): Don't read anything for
4716         N == 0.  Patch by HJ Lu.
4718 1998-08-25 11:43  Ulrich Drepper  <drepper@cygnus.com>
4720         * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
4722 1998-08-25  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
4724         * argp/argp.h: Use __inline__ not inline.
4726         * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
4727         an input register as being clobbered.
4728         * sysdeps/i386/memset.c (memset): Likewise.
4729         * sysdeps/i386/bzero.c (__bzero): Likewise.
4730         * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
4732 1998-08-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4734         * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
4735         Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
4737 1998-08-24 16:34  Ulrich Drepper  <drepper@cygnus.com>
4739         * debug/catchsegv.sh: Handle text preceding backtrace better.
4740         * sysdeps/generic/segfault.c: Allow register dump.  Allow handler
4741         to be installed for other signals than SIGSEGV.
4742         * sysdeps/generic/register-dump.h: New file.
4743         * sysdeps/i386/register-dump.h: New file.
4744         * sysdeps/powerpc/register-dump.h: New file.
4746         * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
4747         sigcontextinfo.h.
4748         * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
4750 1998-08-24  Geoff Keating  <geoffk@ozemail.com.au>
4752         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
4754 1998-08-09  Geoff Keating  <geoffk@ozemail.com.au>
4756         * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
4757         * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
4758         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
4759         getresuid, getresgid.
4761 1998-08-16  Geoff Keating  <geoffk@ozemail.com.au>
4763         * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs.  Set up stack
4764         pointer in userland.
4766 1998-08-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4768         * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
4769         and fix value.
4771 1998-08-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4773         * elf/ldd.bash.in: Add missing quotes around $file.  Make loop
4774         over arguments Bourne shell compatible.  Don't exit unsuccessfully
4775         if nonelf returns successfully.  Avoid duplicating most of the
4776         script.
4777         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
4778         around $file.
4780 1998-08-24 10:37  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4782         * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
4783         sys/reg.h.
4784         * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
4785         * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
4787 1998-08-23  Ulrich Drepper  <drepper@cygnus.com>
4789         * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
4790         __modify_ldt and modify_ldt.
4791         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
4793         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4794         Use orl $-1 instead of movl $-1 to save two bytes.
4795         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
4796         Likewise.
4798 1998-08-17  H.J. Lu  <hjl@gnu.org>
4800         * libio/Versions (_IO_do_write, _IO_file_attach,
4801         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
4802         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
4803         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
4804         _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
4806         * libio/fileops.c (_IO_do_write, _IO_file_attach,
4807         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
4808         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
4809         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
4810         _IO_file_write, _IO_file_xsputn): Change the prefix to
4811         "_IO_new_". Added to GLIBC_2.1.
4813         * libio/libioP.h (_IO_do_write, _IO_file_attach,
4814         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
4815         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
4816         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
4817         _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
4818         "_IO_new_".
4820         * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
4821         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
4822         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
4823         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
4824         _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
4826 1998-08-23  Richard Henderson  <rth@cygnus.com>
4828         * Makeconfig (LDFLAGS): Remove.
4830         * csu/initfini.c: Return to .text before __gmon_start__.
4832         * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
4833         (STO_MIPS_*): Rename from STO_*.
4834         (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
4835         (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
4837         * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
4838         (main): e3s is negative on zero.
4839         * math/atest-exp2.c: Likewise.
4840         * math/atest-sincos.c: Likewise.
4842 1998-08-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4844         * Makerules (install): Add comment about absolute paths.
4846 1998-08-23  Ulrich Drepper  <drepper@cygnus.com>
4848         * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
4849         array to NUL to handle maxlen==1 case correctly.
4850         Patch by HJ Lu.
4852 1998-08-23  Richard Henderson  <rth@cygnus.com>
4854         * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
4855         * sysdeps/alpha/elf/crtend.S: Likewise.
4856         * sysdeps/alpha/elf/start.S: Likewise.
4858         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
4859         non-standard pv usage.
4861         * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
4862         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
4863         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
4864         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
4865         * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
4866         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
4867         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
4868         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
4869         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
4870         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
4871         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
4873         * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
4874         a finite non-denormal, deferring to the full IEEE version otherwise.
4876         * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
4877         Early out for -0.  Optimize for !_IEEE_FP_INEXACT.
4878         * sysdeps/alpha/fpu/s_floor.c: New.
4879         * sysdeps/alpha/fpu/s_floorf.c: New.
4880         * sysdeps/alpha/fpu/s_ceil.c: New.
4881         * sysdeps/alpha/fpu/s_ceilf.c: New.
4883 1998-08-22  Philip Blundell  <philb@gnu.org>
4885         * sysdeps/arm/bits/string.h: New file.
4887 1998-08-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4889         * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
4890         document it.
4892         * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
4893         test for recent Linux 2.1.100+ headers.
4895 1998-08-21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4897         * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
4899 1998-08-21 17:21  Ulrich Drepper  <drepper@cygnus.com>
4901         * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
4903 1998-08-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4905         * Makefile (elf/ldso_install): Put back.  The problem still persists.
4906         * elf/Makefile (ldso_install): Likewise.
4908 1998-08-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4910         * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
4911         create weak alias.
4912         * include/db.h: Declare __nss_db_open.
4913         * db2/Versions: Export it.
4915         * db2/makedb.c: Convert to use db2 API.
4916         * nss/nss_db/db-XXX.c: Likewise.
4917         * nss/nss_db/db-netgrp.c: Likewise.
4918         * nss/nss_db/db-alias.c: Likewise.
4919         (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
4921 1998-08-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4923         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
4924         sys_setresuid, already built automatically (or not).
4925         * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
4926         instead of __syscall_setresuid and add back setresuid.
4927         * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
4928         __syscall_setresuid.
4930 1998-08-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4932         * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
4934 1998-08-20  Ulrich Drepper  <drepper@cygnus.com>
4936         * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
4937         BASH-ONLY marked region.
4938         * elf/ldd.bash.in: Remove special BASH-ONLY markers.
4940 1998-02-20 17:54  H.J. Lu  <hjl@gnu.org>
4942         * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
4943         _IO_SYSSEEK fails.
4945         * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
4947         * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
4948         element.
4950 1998-08-21  Roland McGrath  <roland@baalperazim.frob.com>
4952         * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
4953         with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
4954         * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
4955         (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
4956         (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
4957         those magic comments, and to use /bin/sh for @BASH@.
4958         (bash-ldd-rewrite): Use $(common-ldd-rewrite).
4959         * elf/ldd.sh.in: File removed.
4961 1998-08-20 20:07  Ulrich Drepper  <drepper@cygnus.com>
4963         * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
4964         cast them to unsigned long int.
4965         * pwd/putpwent.c (putpwent): Likewise.
4966         Patch by John Tobey <jtobey@banta-im.com>.
4968 1998-08-20 17:14  H.J. Lu  <hjl@gnu.org>
4970         * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
4971         _IO_pos_BAD.
4973 1998-02-20 17:54  H.J. Lu  <hjl@gnu.org>
4975         * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
4976         _IO_SYSSEEK fails.
4978 1998-08-20 19:14  Ulrich Drepper  <drepper@cygnus.com>
4980         * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
4981         Add umount and umount2.
4982         * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
4983         * sysdeps/unix/sysv/linux/umount.S: New file.
4984         * sysdeps/unix/sysv/linux/umount2.S: New file.
4985         * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
4986         Define MNT_FORCE.
4988         * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
4989         Add sys/sendfile.h.
4990         * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
4991         * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
4993         * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
4995         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
4996         sendfile.
4998 1998-08-20 16:01  Ulrich Drepper  <drepper@cygnus.com>
5000         * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
5001         * elf/ldd.bash.in: Likewise.
5003         * elf/sln.c: Avoid warning for no main prototype.
5005         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
5006         O_WRITE.
5007         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
5008         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5010         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
5011         F_GETSIG.
5012         * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
5013         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
5014         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5016 1998-08-20  Philip Blundell  <pb@nexus.co.uk>
5018         * sysdeps/arm/fpu/ieee754.h: Move to...
5019         * sysdeps/arm/ieee754.h: ... here.
5021         * sysdeps/arm/__longjmp.S: Put return value in correct register.
5022         Don't set the condition flags unnecessarily.
5023         * sysdeps/arm/fpu/__longjmp.S: Likewise.  Restore floating point
5024         registers correctly.
5026         * sysdeps/arm/dl-machine.h: Fix problems with profiling code
5027         (patch from Scott Bambrough).
5029         * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
5031         * csu/initfini.c (_init): Don't check whether __gmon_start__ is
5032         NULL, just call it unconditionally.
5033         (__gmon_start__): Provide stub version as a weak symbol.
5035 1998-07-30  Philip Blundell  <philb@gnu.org>
5037         * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
5038         by Scott Bambrough)
5040         * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
5041         like `@' in .type directives.
5043         * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
5044         * sysdeps/arm/bsd-_setjmp.S: Likewise.
5046         * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
5048 1998-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5050         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
5051         (F_GETOWN): Likewise.
5053         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
5054         Linux 2.1.117).
5056 1998-08-20  Ulrich Drepper  <drepper@cygnus.com>
5058         * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
5059         already defined.
5061 1998-08-18  Ulrich Drepper  <drepper@cygnus.com>
5063         * include/features.h: Define __USE_EXTERN_INLINES for recent
5064         enough gcc.
5065         * argp/argp.h: Define extern inline functions only if
5066         __USE_EXTERN_INLINES is defined.
5067         * libio/stdio.h: Likewise.
5068         * math/math.h: Likewise.
5069         * stdlib/stdlib.h: Likewise.
5070         * string/argz.h: Likewise.
5071         * sysdeps/generic/bits/sigset.h: Likewise.
5072         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
5073         * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
5074         * sysdeps/wordsize-32/inttypes.h: Likewise.
5075         * sysdeps/wordsize-64/inttypes.h: Likewise.
5076         * wcsmbs/wchar.h: Likewise.
5078         * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
5079         to allow compilation without optimization.
5081 1998-08-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5083         * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
5084         more entries.
5085         * nis/nss_compat/compat-initgroups.c: Likewise.
5086         * nis/nss_compat/compat-pwd.c: Likewise.
5087         * nis/nss_compat/compat-spwd.c: Likewise.
5088         * nis/nss_nis/nis-alias.c: Likewise.
5089         * nis/nss_nis/nis-ethers.c: Likewise.
5090         * nis/nss_nis/nis-grp.c: Likewise.
5091         * nis/nss_nis/nis-hosts.c: Likewise.
5092         * nis/nss_nis/nis-initgroups.c: Likewise.
5093         * nis/nss_nis/nis-network.c: Likewise.
5094         * nis/nss_nis/nis-proto.c: Likewise.
5095         * nis/nss_nis/nis-pwd.c: Likewise.
5096         * nis/nss_nis/nis-rpc.c: Likewise.
5097         * nis/nss_nis/nis-service.c: Likewise.
5098         * nis/nss_nis/nis-spwd.c: Likewise.
5100         * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
5102         * nis/ypclnt.c: Try binding dir only first time, could be to old.
5104         * nis/yp_xdr.c: Remove 1024 byte limit.
5105         * nis/ypupdate_xdr.c: Likewise.
5107         * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
5108         wrong data.
5110 1998-08-18  Roland McGrath  <roland@baalperazim.frob.com>
5112         * Rules (binaries-static, binaries-shared static pattern rules):
5113         Depend on lib%, not just libc%, from $(link-libc{,-static}).
5115         * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
5116         this here, overriding Makeconfig generic value so we link against
5117         the RPC libs.
5119 1998-08-17  Ulrich Drepper  <drepper@cygnus.com>
5121         * posix/tstgetopt.c (options): Add NULL entry at end
5122         Patch by Adrian Miranda <ade@psg.com>.
5124 1998-08-15 18:21  Ulrich Drepper  <drepper@cygnus.com>
5126         * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION.  Move EI_PAD
5127         to 9.
5129 1998-08-15 14:11  Ulrich Drepper  <drepper@cygnus.com>
5131         * elf/elf.h: Add PPC Diab relocations.
5133         * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
5135 1998-08-14 10:08  Ulrich Drepper  <drepper@cygnus.com>
5137         * manual/texinfo.tex: Update.
5139 1998-08-07  Geoff Keating  <geoffk@ozemail.com.au>
5141         * sysdeps/powerpc/backtrace.c: New file.
5143 1998-08-14  Philip Blundell  <pb@nexus.co.uk>
5145         * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
5146         sigjmp_save.
5147         * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
5149 1998-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5151         * Makefile (install-symbolic-link): Fix spelling.
5153 1998-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5155         * elf/elf.h (SHT_HIOS): Fix value.
5157 1998-08-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5159         * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
5160         part of the expansion, this is undefined by the standard.
5162 1998-08-13 19:41  Ulrich Drepper  <drepper@cygnus.com>
5164         * posix/getconf.c: Add support for systems with incomplete confname.h.
5166         * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
5168         * sysdeps/posix/wait3.c: Make it work.
5170 1998-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5172         * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
5173         (elf/ldso_install): Remove.
5175         * elf/Makefile (distribute): Add sln.c.
5176         (others): Add sln.
5177         (others-static): Add sln.
5178         (install-rootsbin): Add sln.
5179         (others-static): Add sln.
5180         (ldso_install): Remove.
5182 1998-07-24 10:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5184         * Makerules (install-clean-symbolic-link-list): Make phony.
5185         * Makefile (install-symbolic-link): Make phony.  Depend on
5186         subdir_install for parallel makes.
5189 1998-07-22  Ulrich Drepper  <drepper@cygnus.com>
5191         * elf/Makefile (distribute): Add sln.c
5193 1998-07-21 07:10  H.J. Lu  <hjl@gnu.org>
5195         * elf/sln.c: New file.
5197         * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
5198         (install-clean-symbolic-link-list): New target.
5199         (install): Depend on install-clean-symbolic-link-list.
5200         (make-shlib-link): Changed for $(symbolic-link-list).
5202         * Makefile (install-symbolic-link): New target.
5203         (install): Depend on install-symbolic-link.
5205 1998-08-12 17:03  Ulrich Drepper  <drepper@cygnus.com>
5207         * include/unistd.h: Protect against multiple inclusion.
5209         * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
5210         is defined, not is glob is defined.
5211         * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
5213 1998-08-01 17:18  H.J. Lu  <hjl@gnu.org>
5215         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
5216         xdr_string for ut_line, ut_name and ut_host.
5218 1998-08-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5220         * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
5221         /var/mail in accordance with FHS 2.0.
5222         Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
5224 1998-08-12  Richard Henderson  <rth@cygnus.com>
5226         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
5227         Update aliases for cancelation.
5229         * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
5230         playing with symbol versions.
5232 1998-08-12  Roland McGrath  <roland@baalperazim.frob.com>
5234         * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
5235         multiple inclusion protection.
5236         (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
5237         _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
5238         define all these to 1.
5239         (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
5241 1998-08-12  Roland McGrath  <roland@baalperazim.frob.com>
5243         * sysdeps/mach/usleep.c: Include <unistd.h>.
5244         (usleep): Return void.
5246 1998-08-11  Roland McGrath  <roland@baalperazim.frob.com>
5248         * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
5249         decl to inhibit warning in if_freenameindex defn.
5251         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
5253         * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
5255         * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
5256         * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
5257         * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
5258         * sysdeps/mach/usleep.c: Likewise.
5260         * sysdeps/mach/hurd/bind.c (bind): Add a const.
5262         * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
5263         * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
5264         * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
5265         * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
5266         * sysdeps/mach/usleep.c (usleep): Likewise.
5267         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
5268         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
5269         * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
5270         * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
5272 1998-08-11  Roland McGrath  <roland@baalperazim.frob.com>
5274         * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
5275         (glob64): Fix typo.
5277         * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
5278         %p arg to fprintf, since `void *' is the right type already.
5280 1998-07-25 19:47  Jose M. Moya  <josem@gnu.org>
5282         * sysdeps/mach/hurd/getcwd.c
5283         (_hurd_canonicalize_directory_name_internal): Do not loop forever
5284         for unknown root directories.
5285         (__getcwd): Return NULL when the current root directory could not
5286         be reached.
5288 1998-08-11 18:39  Ulrich Drepper  <drepper@cygnus.com>
5290         * string/strsignal.c (strsignal): Count real-time signals from zero.
5293 See ChangeLog.8 for earlier changes.