1 1998-12-17 Ulrich Drepper <drepper@cygnus.com>
3 * iconv/gconv_int.h (gconv_module): Add new element from_regex_mem.
4 * iconv/gconv_conf.c (module_compare): Make s1 and s2 const.
5 (detect_conflict): New function.
6 (add_alias): Call detect_conflict to see whether there is already
7 a module for the new name.
8 (add_module): Make sure there is no alias for the new name.
9 (read_conf_file): Call add_alias with new argument.
10 (__gconv_read_conf): Don't destroy module tree immediately after
11 walking it. We need it to test the internal conversions for
13 * iconv/gconv_db.c (find_derivation): Don't allocate memory for
14 regular expression. There is now room in the module descriptor.
15 (free_mem): Don't free memory for regular expression.
17 * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_IRDA, PF_IRDA and
20 * sunrpc/clnt_unix.c (clntunix_destroy): Use __close not close.
21 * libio/oldtmpfile.c: Likewise.
22 * libio/oldiofdopen.c: Use __fcntl instead fcntl.
23 * sysdeps/posix/profil.c: Use __sigaction instead of sigaction.
25 * iconvdata/iso646.c (gconv_init): Return correct error value if we
27 * iconvdata/iso-2022-jp.c: Likewise.
29 * iconv/gconv_db.c (gen_steps): Respect error return value from
30 init functions and abort.
32 * iconvdata/iso646.c: Recognize NF_Z_62-010_1973 as charset name.
34 1998-12-17 H.J. Lu <hjl@gnu.org>
36 * sunrpc/rpc/xdr.h (XDR_DESTROY): Add ';'.
37 (xdr_destroy): Likewise.
39 1998-12-17 Ulrich Drepper <drepper@cygnus.com>
41 * login/login.c: Determine pts/3 as terminal name if path is
42 /dev/pts/3. This is consistent with getlogin. [PR libc/906]
44 1998-12-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
46 * sysdeps/posix/tempname.c (__path_search): Add casts for format
49 1998-12-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
51 * sunrpc/rpc/xdr.h (XDR_DESTROY, xdr_destroy): Avoid dangling else
53 (IXDR_PUT_INT32): Fully parenthesize parameters.
54 (IXDR_GET_LONG, IXDR_PUT_LONG): Mark GCC extension. Fully
55 parenthesize parameter.
57 1998-12-16 Ulrich Drepper <drepper@cygnus.com>
59 * iconvdata/gconv-modules: Add some of the charset name aliases
60 used in Internet standards.
62 1998-12-16 Ulrich Drepper <drepper@cygnus.com>
64 * version.h (VERSION): Bump to 2.0.107.
66 * sysdeps/i386/i486/bits/string.h: Pretty printing.
68 1998-12-16 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
70 * sunrpc/rpc/xdr.h: Revert patch from 1998-12-14, partly revert
71 patch from 1998-12-01.
73 1998-12-16 Roland McGrath <roland@baalperazim.frob.com>
75 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Define this #ifdef
76 __USE_BSD as well as #ifdef __USE_GNU, so MAXSYMLINKS can use it.
77 Reported by UCHIYAMA Yasushi <uch@nop.or.jp>
79 1998-12-16 Ulrich Drepper <drepper@cygnus.com>
81 * iconvdata/ibm866.c: New file.
82 * iconvdata/cp1258.c: New file.
83 * iconvdata/cp1258.h: New file.
84 * iconvdata/mac-uk.c: New file.
85 * iconvdata/gconv-modules: Add rules for new modules.
86 * iconvdata/Makefile: Likewise.
88 * sysdeps/gnu/bits/ipc.h: Move libc internal bits to...
89 * include/bits/ipc.h: ..here. New file.
91 1998-12-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
93 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Don't change
94 read-only struct termios_p* but change k_termios member directly.
96 1998-12-15 H.J. Lu <hjl@gnu.org>
98 * sysdeps/posix/tempname.c (__path_search): Fix the maximum
101 1998-12-15 Ulrich Drepper <drepper@cygnus.com>
103 * sysdeps/unix/sysv/linux/msgctl.c: Use INLINE_SYSCALL.
104 * sysdeps/unix/sysv/linux/msgget.c: Likewise.
105 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
106 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
107 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
108 * sysdeps/unix/sysv/linux/semget.c: Likewise.
109 * sysdeps/unix/sysv/linux/semop.c: Likewise.
110 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
111 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
112 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
113 * sysdeps/unix/sysv/linux/shmget.c: Likewise.
114 * sysdeps/unix/sysv/linux/syscalls.list: Remove ipc syscall here.
115 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add ipc syscall here.
117 * time/strftime.c: Remove 'f' format.
119 * time/strptime.c (get_number): Ignore trailing whitespace.
120 (strptime_internal): Handle 'F' and 'k' formats.
122 * sysdeps/posix/tempname.c (__path_search): Add second part of the
123 patch by Andreas Jaeger.
125 1998-12-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
127 * stdio-common/tst-tmpnam.c (main): Use void as parameter to avoid
128 warnings about unused args. Fix comment.
130 1998-12-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
132 * sysdeps/posix/tempname.c (__path_search): Correct last patch.
134 1998-12-14 Ulrich Drepper <drepper@cygnus.com>
136 * sunrpc/rpc/xdr.h (IXDR_GET_INT32): Case pointer before reading from
138 (IXDR_PUT_INT32): Likewise for writing.
139 Patch by Bruce Elliott <bde@nwlink.com>.
141 1998-12-08 H.J. Lu <hjl@gnu.org>
143 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Don't clear
144 the IBAUD0 bit in c_iflag.
146 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Clear the
147 the IBAUD0 bit in c_iflag.
149 1998-12-14 Ulrich Drepper <drepper@cygnus.com>
151 * time/Makefile (tests): Add tst-strptime.
152 * time/tst-strptime.c: New file.
153 * time/strptime.c: Correct bugs in weekday and yearday computation.
155 1998-12-14 Ulrich Drepper <drepper@cygnus.com>
157 * time/strptime.c (strptime_internal): Set tm_wday and tm_yday in
158 any of tm_year, tm_mon, or tm_mday was changed and the value
159 itself wasn't specified.
161 * include/stdio.h: Add new parameter to __path_search.
162 * libio/oldtmpfile.c: Add 0 as new parameter to __path_search.
163 * stdio-common/tmpfile.c: Likewise.
164 * stdio-common/tmpfile64.c: Likewise.
165 * stdio-common/tmpnam.c: Likewise.
166 * stdio-common/tmpnam_r.c: Likewise.
167 * stdio-common/tempnam.c: Add 1 as new parameter to __path_search.
168 * sysdeps/posix/tempname.c: Add new parameter. If value is nonzero
169 consider TMPDIR environment variable and dir parameter. Otherwise not.
170 * stdio-common/Makefile (tests): Add tst-tmpnam.
171 * stdio-common/tst-tmpnam.c: New file.
173 * po/es.po: Update from translation team.
175 1998-12-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
177 * timezone/Makefile: Protect inclusion of z.* by avoid-generated
178 and inhibit_timezone_rules instead of no_deps.
179 * Make-dist: Pass inhibit_timezone_rules=t when making
182 1998-12-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
184 * manual/Makefile (distribute): Remove dir-add.texinfo.
186 * sysdeps/unix/sysv/linux/powerpc/Dist: Add sys/procfs.h and
189 1998-12-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
191 * manual/Makefile (stamp-summary): Use ^L as separator for
193 * manual/arith.texi: Add comments before all @deffoox lines to get
194 them added to the summary.
195 * manual/creature.texi: Likewise.
196 * manual/math.texi: Likewise.
198 1998-12-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
200 * math/libm-test.c: Remove macro ISINF. Change all usages of
203 1998-12-13 Ulrich Drepper <drepper@cygnus.com>
205 * sysdeps/posix/tempname.c: Use __xstat instead of __stat.
206 * sysdeps/unix/grantpt.c: Likewise.
207 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
208 * sysvipc/ftok.c: Likewise.
209 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
211 * stdlib/test-canon.c: Define PATH_MAX if the system does not.
212 * string/stratcliff.c: Use MAP_ANON instead of MAP_ANONYMOUS.
213 Patch by UCHIYAMA Yasushi <uch@nop.or.jp>.
215 1998-12-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
217 * sysdeps/alpha/fpu/fsetexcptflg.c: Avoid -Wparentheses warning.
219 * sysdeps/libm-ieee754/s_expm1.c (__expm1): Avoid -Wparentheses
221 * sysdeps/libm-ieee754/s_log1p.c (__log1p): Likewise.
222 * sysdeps/libm-ieee754/e_logf.c (__ieee754_logf): Likewise.
223 * sysdeps/libm-ieee754/s_expm1f.c (__expm1f): Likewise.
224 * sysdeps/libm-ieee754/e_log.c (__ieee754_log): Likewise.
225 * sysdeps/libm-ieee754/s_log1pf.c (__log1pf): Likewise.
227 1998-12-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
229 * sunrpc/svc_udp.c (svcudp_bufcreate): Declare len as socklen_t.
230 (svcudp_recv): Likewise.
232 1998-12-13 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
234 * nis/nss-nisplus.h: Change some mappings of NIS+ errors to
235 NSS error codes to avoid endless loops.
237 1998-12-13 Ulrich Drepper <drepper@cygnus.com>
239 * iconvdata/gconv-modules: Correct aliases for ISO-8859-13 and add
240 aliases for ISO-8859-14.
242 1998-12-12 Geoff Keating <geoffk@ozemail.com.au>
244 * posix/fnmatch.c (fnmatch): Arguments to FOLD must not have
247 1998-12-12 Ulrich Drepper <drepper@cygnus.com>
249 * iconvdata/iso-8859-11.h: ISO 8859-11 conversion data.
250 * iconvdata/iso-8859-11.c: ISO 8859-11 conversion module.
251 * iconvdata/iso-8859-13.c: Likewise for 8859-13.
252 * iconvdata/iso-8859-14.c: Likewise for 8859-14.
253 * iconvdata/iso-8859-15.c: Likewise for 8859-15.
254 * iconvdata/gconv-modules: Add rules for new modules.
255 * iconvdata/Makefile: Likewise.
257 1998-12-12 Ulrich Drepper <drepper@cygnus.com>
259 * stdio-common/printf_fp.c: #ifdef out long double handling code if
260 __NO_LONG_DOUBLE_MATH is defined to avoid warnings.
261 * stdio-common/printf_fphex.c: Likewise.
262 * stdio-common/printf-size.c: Likewise.
264 1998-12-12 Ulrich Drepper <drepper@cygnus.com>
266 * login/Makefile: Install pt_chown using INSTALL_PROGRAM.
267 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
269 1998-12-11 Ulrich Drepper <drepper@cygnus.com>
271 * sysdeps/powerpc/dl-machine.h (elf_machine_matches_host): Mark
272 static inline, not extern inline.
273 (elf_machine_dynamic): Likewise.
274 (elf_machine_lazy_rel): Likewise.
275 (elf_machine_plt_value): Likewise.
276 * sysdeps/powerpc/backtrace.c: Include stddef.h to get NULL
278 Patchess by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
280 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fixl_addr parameter
281 type. Reported by job bogan <job@piquin.uchicago.edu>.
283 * sysdeps/unix/opendir.c (__opendir): Use __xstat instead of
286 1998-12-11 Kunihiro Ishiguro <kunihiro@zebra.org>
288 * inet/netinet/in.h: Change obsolete structure member
289 ipv6mr_ifindex to new ipv6mr_interface.
291 1998-12-11 Ulrich Drepper <drepper@cygnus.com>
293 * sysdeps/ieee754/dbl2mpn.c: Changed '#include "ieee754.h"' to
294 '#include <ieee754.h>'. ARM port has its own version of 'ieee754.h'
295 due to its big endian floating point format.
296 * sysdeps/ieee754/ldbl2mpn.c: Likewise.
297 * sysdeps/ieee754/mpn2dbl.c: Likewise.
298 * sysdeps/ieee754/mpn2ldbl.c: Likewise.
299 * sysdeps/ieee754/mpn2flt.c: Likewise.
300 Patch by Scott Bambrough <scottb@corelcomputer.com>.
302 1998-12-10 Ulrich Drepper <drepper@cygnus.com>
304 * sysdeps/unix/sysv/linux/adjtime.c: Undo last change.
306 * posix/PTESTS: Fix typo.
308 * po/es.po: Update from translation team.
309 * po/fr.po: Likewise.
311 1998-12-10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
313 * nis/nss_compat/compat-pwd.c: Fix handling of +/- entries.
315 1998-12-10 Ulrich Drepper <drepper@cygnus.com>
317 * sunrpc/Makefile: Call rpcgen program which -Y parameter so that
318 it can find the preprocessor.
320 1998-12-09 Geoff Keating <geoffk@ozemail.com.au>
322 * sysdeps/unix/sysv/linux/sys/procfs.h: Use sys/user.h not
324 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
326 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: New file,
327 like linux/sys/procfs.h but uses uid_t and gid_t.
328 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: New file,
329 don't include <linux/ptrace.h>.
331 1998-12-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
333 * posix/runptests.c (main): Check that regcomp did not succeed
335 * posix/runtests.c (run_a_test): Likewise. Return appropriate
337 * posix/TESTS: Regexp "a[b-a]" should not compile.
338 * posix/PTESTS: Comment out bogus tests GA113(2), GA145(2) and
341 1998-12-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
343 * locale/programs/ld-ctype.c (allocate_arrays): Don't crash if
344 there is no codeset name.
345 * locale/programs/ld-collate.c (collate_output): Don't crash if a
346 character has no weight.
348 1998-12-10 Ulrich Drepper <drepper@cygnus.com>
350 * inet/getnetgrent_r.c (innetgr): Check host and domain name with
351 strcasecmp, not strcmp. [PR libc/894].
353 1998-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
355 * posix/regex.h: Declare re_comp, re_exec if compiling for libc to
358 * wctype/wctype.h: Add prototypes for __iswblank_l and iswblank.
360 1998-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
362 * sysdeps/unix/sysv/linux/gethostid.c: Include <netdb.h> to get
363 prototype for __gethostbyname_r.
365 * include/time.h: Add declarations of internal interfaces.
367 * time/tzset.c: Remove declarations of internal interfaces.
368 * time/gmtime.c: Likewise.
369 * time/localtime.c: Likewise.
370 * time/offtime.c: Likewise.
371 * time/tzfile.c: Likewise.
373 1998-12-01 09:47 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
375 * sysdeps/unix/sysv/linux/sys/timex.h: Copy out
376 user-space-relevant definitions from linux/timex.h of kernel
377 2.1.130 and remove include of kernel header.
379 * sysdeps/unix/sysv/linux/adjtime.c: Remove portability crud.
381 1998-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
383 * posix/regex.c: Get regex.h from system path, not from local
386 * posix/regex.h: Move internal interfaces to ...
387 * include/regex.h: ...here.
389 * posix/unistd.h: Move internal interfaces to ...
390 * include/unistd.h: ...here.
392 * math/math.h: Move internal interfaces to ...
393 * include/math.h: ...here.
395 * posix/glob.h: Move internal interfaces to ...
396 * include/glob.h: ...here.
398 * string/string.h: Move internal interfaces to ...
399 * include/string.h: ...here.
401 * time/sys/time.h: Move internal interfaces to ...
402 * include/sys/time.h: ...here.
404 * resolv/netdb.h: Move internal interfaces to ...
405 * include/netdb.h: ...here.
407 1998-12-08 Ulrich Drepper <drepper@cygnus.com>
409 * iconvdata/eucjp.c: Handle Yen in overscore conversion from ISO 10646
411 * iconvdata/iso-2022-jp.c: Handle Kana in 2022-JP2 correctly
412 Fix various bugs in conversion routine.
413 * iconvdata/jis0201.h: Correct variable name.
414 * iconvdata/jis0208.c: Correct script to generate tables and regenerate
416 * iconvdata/jis0208.h: Likewise.
417 * iconvdata/jis0212.c: Likewise.
418 * iconvdata/sjis.c: Likewise.
419 Patch by HANATAKA Shinya <hanataka@abyss.rim.or.jp>.
421 1998-12-07 Ulrich Drepper <drepper@cygnus.com>
423 * sysdeps/unix/sysv/linux/speed.c (IBAUD0): New definition. Bit
424 set in c_iflag if cfsetispeed is call with SPEED set to zero.
425 (cfgetispeed): Return zero if prior if IBAUD0 is set.
426 (cfsetospeed): Clear IBAUD0 bit.
427 (cfgetispeed): Set IBAUD0 bit if necessary.
428 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Clear
429 the IBAUD0 bit in c_iflag when making the system call.
430 Work around a Linux kernel bug which silently changes the
431 PARENB/CREAD/CSIZE bits in c_cflag on pty.
432 * sysdeps/unix/sysv/linux/speed.c (cfsetispeed): Make a real
433 function. Don't set speed is SPEED parameter is zero since this
434 means set it to the output speed.
435 Based on a patch by H.J. Lu <hjl@gnu.org>.
437 * version.h (VERSION): Bump to 2.0.106.
439 * Makeconfig (link-libc-static): Don't use link-libc since this
440 includes the shared object. Use gnulib only.
442 * configure.in: Disable --disable-static.
444 1998-12-07 12:06 Ulrich Drepper <drepper@cygnus.com>
446 * po/de.po: Update from translation team.
447 * po/ko.po: Likewise.
449 1998-12-07 Richard Henderson <rth@cygnus.com>
451 * sysdeps/unix/sysv/linux/alpha/select.S: Save a4 through
454 1998-12-05 Roland McGrath <roland@baalperazim.frob.com>
456 * sysdeps/mach/hurd/pselect.c: New file.
458 * sysdeps/mach/hurd/poll.c: New file.
460 * hurd/Makefile (routines): Add hurdselect.
461 * hurd/hurdselect.c: New file.
462 (_hurd_select): New function, guts taken from ...
463 * sysdeps/mach/hurd/select.c (__select): ... here.
464 Now work by just calling _hurd_select.
465 * hurd/hurd/fd.h: Declare _hurd_select.
467 1998-12-05 Roland McGrath <roland@baalperazim.frob.com>
469 * time/strptime.c: Fix unterminated comment in last change.
471 1998-12-05 Ulrich Drepper <drepper@cygnus.com>
473 * ctype/ctype.h (_ISbit): Protect use of parameter with
475 * wctype/wctype.h (_ISwbit): Likewise.
477 * locale/Versions: Make experimental locale interface available in
480 * sysdeps/gnu/bits/utmp.h (struct exit_status): Define members
481 without leading __ only for __USE_GNU.
482 * sysdeps/gnu/bits/utmpx.h (struct __exit_status): Likewise.
484 1998-12-04 Ulrich Drepper <drepper@cygnus.com>
486 * argp/argp.h: Add __restrict.
487 * dirent/dirent.h: Likewise.
488 * elf/dlfcn.h: Likewise.
489 * grp/grp.h: Likewise.
490 * iconv/iconv.h: Likewise.
491 * inet/aliases.h: Likewise.
492 * libio/libio.h: Likewise.
493 * libio/stdio.h: Likewise.
494 * locale/locale.h: Likewise.
495 * misc/mntent.h: Likewise.
496 * posix/wordexp.h: Likewise.
497 * pwd/pwd.h: Likewise.
498 * resolv/netdb.h: Likewise.
499 * rt/aio.h: Likewise.
500 * stdio-common/printf.h: Likewise.
501 * stdlib/monetary.h: Likewise.
502 * stdlib/stdlib.h: Likewise.
503 * string/argz.h: Likewise.
504 * string/envz.h: Likewise.
505 * string/string.h: Likewise.
506 * time/time.h: Likewise.
508 1998-12-04 Zack Weinberg <zack@rabi.phys.columbia.edu>
510 * misc/sys/cdefs.h: Only include features.h if _FEATURES_H isn't
511 defined. gcc's redundant include optimizer isn't clever enough to
512 prevent a reinclusion here.
513 Define __restrict to the empty string only if not GCC or
514 GCC version less than 2.92.
516 1998-12-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
518 * sysdeps/unix/sysv/linux/configure.in: Fix last change.
520 1998-12-03 Mark Kettenis <kettenis@phys.uva.nl>
522 * time/strptime.c (strptime_internal): Make use of `%C' format
523 specifier if it is seen together with the `%y' specifier.
525 1998-12-04 Ulrich Drepper <drepper@cygnus.com>
527 * po/sk.po: New file.
529 1998-12-03 Scott Bambrough <scottb@corelcomputer.com>
531 * sysdeps/arm/dl-machine.h (dl_start_user): Incorrect address
532 for _dl_main_searchlist passed to _dl_init_next.
534 1998-12-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
536 * math/libm-test.c: Expand literal tabs in strings. Normalize
539 1998-12-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
541 * sysdeps/unix/sysv/linux/sys/fsuid.h: Fix spelling.
543 1998-12-04 Mark Kettenis <kettenis@phys.uva.nl>
545 Provide backwards binary compatibility for the Hurd.
546 * hurd/geteuids.c [PIC && DO_VERSIONING]: Make __getuids a weak
548 * hurd/Versions [GLIBC_2.0]: Add __getuids,
549 __hurd_file_name_lookup and _hurd_umask.
550 [GLIBC_2.1]: Add _hurd_proc_init.
551 * hurd/Makefile [versioning] (routines): Add compat-20.
552 (shared-only-routines): Likewise.
553 * hurd/hurdinit.c (_hurd_new_proc_init): Renamed from
554 _hurd_proc_init. Use it as the default _hurd_proc_init version
556 * hurd/compat-20.c: New file.
557 * mach/Versions [GLIBC_2.0]: Add __vm_allocate.
559 1998-12-02 Ulrich Drepper <drepper@cygnus.com>
561 * elf/elf.h: Add R_MIPS_JALR and adjust R_MIPS_NUM appropriately.
563 1998-12-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
565 * inet/Versions: Remove inet6_isipv4mapped.
567 1998-12-02 Philip Blundell <pb@nexus.co.uk>
569 * inet/in6_addr.c (inet6_isipv4mapped): Obsolete, deleted.
571 1998-11-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
573 * manual/time.texi (Formatting Date and Time): Fix typo.
575 1998-11-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
577 * sysdeps/unix/sysv/linux/configure.in: Only check for symlinks
578 when configuring natively. Use autoconf macros instead of rolling
579 our own. Handle defaulted prefix.
581 1998-12-01 Ulrich Drepper <drepper@cygnus.com>
583 * version.h (VERSION): Bump to 2.0.105.
585 * sysdeps/generic/Dist: Add bits/libc-tsd.h.
587 * sysdeps/mach/hurd/Dist: Add bits/libc-tsd.h.
589 * sysdeps/unix/sysv/linux/mips/Dist: Add xstatconv.c.
591 1998-11-29 1998 H.J. Lu <hjl@gnu.org>
593 * libio/genops.c (_IO_unbuffer_write): Renamed from
595 (_IO_cleanup): Call _IO_unbuffer_write instead of
598 1998-12-01 Ulrich Drepper <drepper@cygnus.com>
600 * intl/localealias.c: Use *_unlocked version of stdio function if
601 _LIBC_REENTRANT is defined, not _LIBC.
603 1998-12-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
605 * include/grp.h: Add prototypes for internal functions
606 __getgrgid_r and __getgrnam_r.
608 * inet/herrno.c: Include <netdb.h> for prototype, undef h_errno.
610 * resolv/nsap_addr.c: Include <arpa/inet.h> for inet_nsap_addr and
611 inet_nsap_ntoa prototypes.
613 1998-12-01 Ulrich Drepper <drepper@cygnus.com>
615 * sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Pass -I option
616 to gcc to have it find the correct system header.
617 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
619 * Makefile (postclean): Add sysd-sorted.
620 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
622 1998-12-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
624 * sunrpc/auth_des.c: Use new XDR int32 functions for integers.
625 * sunrpc/rpc/xdr.h: Add IXDR INT32 functions.
626 * sunrpc/rpc_hout.c: Remove (u_long) casts in defines to avoid
627 conflicts with new solaris version.
628 * sunrpc/rpc_main.c: Fix bug in generating Makefile name (malloc
629 doesn't zero allocated memory).
630 * sunrpc/rpc_svcout.c: Local variables now starts with a _ to avoid
631 conflicts with xdr functions. Solves PR libc/877.
632 * nis/rpcsvc/nis.x: Use always uint32_t.
633 * nis/rpcsvc/nis.h: Likewise.
634 * nis/rpcsvc/nis_object.x: Likewise.
636 1998-12-01 Ulrich Drepper <drepper@cygnus.com>
638 * math/libm-test.c: Various cleanups. Patch by Zack Weinberg.
640 * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Use correct type for
641 parameter. Patch by Christian Gafton.
643 * string/envz.h: Add prototype for envz_remove.
644 Reported by Andreas Jaeger.
646 1998-11-30 Mark Kettenis <kettenis@phys.uva.nl>
648 * mach/Versions [libc, GLIBC_2.0]: Add __spin_lock,
649 __spin_lock_init, __mutex_lock, __mutex_trylock,
651 Remove get_priviliged_ports. Moved to hurd/Versions.
653 * hurd/Versions [libc, GLIBC_2.0]: Add _end. This makes the Hurd
654 brk implementation see the end of the data segment of the program
655 instead of the shared library.
656 Add __hurd_errno_location. This inline function is used in user
658 Add _hurd_critical_section_lock, _hurd_critical_section_unlock,
659 _hurd_fd_get, _hurd_port_free, _hurd_port_get,
660 _hurd_port_locked_get. These inline functions are used by macros
661 used in mail.local in the Hurd distribution.
662 Add get_privileged_ports. Moved here from mach/Versions.
663 Remove __hurd_file_name_lookup, __hurd_file_name_lookup_retry,
664 __hurd_file_name_split, __hurd_file_name_path_lookup. These are
665 not used outside libc.
667 1998-11-30 Mark Kettenis <kettenis@phys.uva.nl>
669 * hurd/hurdstartup.c: Really include set-hooks.h with <> instead
672 1998-11-29 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
674 * sunrpc/Makefile: Add xdr_intXX_t to routines.
675 * sunrpc/Versions: Add xdr_int8_t, xdr_uint8_t, xdr_in16_t and
677 * sunrpc/rpc/xdr.h: Add prototypes for new xdr_intXX_t functions.
678 * sunrpc/xdr.c: Remove xdr_int32_t and xdr_uint32_t.
679 * sunrpc/xdr_intXX_t.c: New, contains all xdr_intXX_t functions.
682 * nis/nss_nis/nis-service.c: Include generated prototype for parser.
684 1998-11-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
686 * nscd/nscd_getpw_r.c: Include nscd_proto.h for prototypes.
688 * sysdeps/generic/errno-loc.c: Include <errno.h> for prototype,
689 undefine errno to get variable.
691 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Include <sys/fsuid.h>
692 instead of <unistd.h> for prototype.
693 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
695 1998-11-30 Ulrich Drepper <drepper@cygnus.com>
697 * misc/err.h: Correct comments and use protected attribute keywords.
698 Reported by Joseph Myers <jsm28@cam.ac.uk>.
700 1998-11-29 Roland McGrath <roland@baalperazim.frob.com>
702 * malloc/thread-m.h [_LIBC]: Include <bits/libc-tsd.h>, and
703 remove tsd stuff from pthreads/cthreads libc sections.
704 Use __libc_tsd_define for MALLOC key.
705 [_LIBC] (tsd_key_t, tsd_key_create): Define to a zero-size type and a
707 [_LIBC] (tsd_setspecific, tsd_getspecific): Use __libc_tsd_get/set.
709 * elf/dl-error.c: Include <bits/libc-tsd.h>.
710 Use __libc_tsd_define for DL_ERROR key.
711 (tsd_setspecific, tsd_getspecific): Rewritten using __libc_tsd_get/set.
713 * sysdeps/mach/hurd/bits/libc-tsd.h: New file.
714 * sysdeps/generic/bits/libc-tsd.h: New file.
715 * Makefile (distribute): Add bits/libc-tsd.h.
717 1998-10-12 Roland McGrath <roland@baalperazim.frob.com>
719 * elf/dl-error.c: Remove kludge to check for ld.so load address.
720 There is no need if weak undefined symbols are not used in ld.so;
721 see linuxthreads/ChangeLog for changes to files
722 linuxthreads/sysdeps/pthread/bits/libc-lock.h and
723 linuxthreads/sysdeps/pthread/bits/libc-tsd.h.
725 1998-11-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
727 * sysdeps/i386/bits/string.h (__memset_cc): Fix typo (s->__s).
729 * sysdeps/i386/i486/bits/string.h: Add prototypes for all new
731 * sysdeps/i386/bits/string.h: Likewise.
733 1998-11-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
735 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Remove ipc_kludge.
737 1998-11-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
739 * db2/progs/db_load/db_load.c (main): Avoid -Wparentheses warning.
741 1998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
743 * sysdeps/mach/hurd/dl-sysdep.c: Do not define
744 __hurd_threadvar_max. Add comment explaining why we define
745 __hurd_threadvar_stack_offset and __hurd_threadvar_stack_mask here.
747 1998-07-29 Mark Kettenis <kettenis@phys.uva.nl>
749 * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
750 __hurd_sigthread_stack_end, __hurd_sigthread_variables): Define to
751 prevent inclusion of Hurd signal handling code.
752 (__libc_write): New function.
753 (_dl_sysdep_output): Removed. The implementation in
754 `elf/dl-misc.c' now also works for the Hurd.
756 1998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
758 * hurd/hurdstartup.c: Do not include hurdmalloc.h; _hurd_startup
759 does not use any of malloc/realloc/free anymore. Include
760 set-hooks.h with <> instead of "".
762 1998-11-29 Roland McGrath <roland@baalperazim.frob.com>
764 * sunrpc/svc_unix.c (__msgread): Move ON local var inside block
765 within #ifdef SO_PASSCRED. Avoids unused var when no SO_PASSCRED.
766 * sunrpc/clnt_unix.c (__msgread): Likewise.
768 1998-11-28 Roland McGrath <roland@baalperazim.frob.com>
770 * hurd/setuids.c: Renamed to ...
771 * hurd/seteuids.c: this.
772 (setuids): Renamed to seteuids.
773 * hurd/getuids.c: Renamed to ...
774 * hurd/geteuids.c: this.
775 (__getuids): Renamed to geteuids, no aliases.
776 * hurd/hurd.h (geteuids, seteuids): Declare them.
777 * hurd/Versions: Replace getuids; __getuids with geteuids; seteuids.
778 * hurd/Makefile (routines): Updated.
780 1998-11-29 Ulrich Drepper <drepper@cygnus.com>
782 * sysdeps/generic/segfault.c (install_handler): Correct test for
783 SEGFAULT_HANDLER=all.
784 Patch by Zack Weinberg.
786 1998-11-28 23:23 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
788 * sysdeps/unix/sysv/linux/configure.in: Test for symlinks in
789 $prefix/include that may be clobbered on installation.
791 1998-11-27 Philip Blundell <pb@nexus.co.uk>
793 Fixes to allow compilation with static NSS:
794 * nss/Makefile: Make explicit the dependency of getent on
796 [build_static_nss]: Define $(otherlibs) appropriately.
797 * nss/Depend: Add a dependency on `resolv'.
799 1998-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
801 Partial support for MIPS ISO C 9x exception handling:
802 * sysdeps/mips/fclrexcpt.c: New file.
803 * sysdeps/mips/ftestexcept.c: New file.
804 * sysdeps/mips/fgetexcptflg.c: New file.
805 * sysdeps/mips/fesetround.c: New file.
806 * sysdeps/mips/fegetround.c: New file.
807 * sysdeps/mips/fegetenv.c: New file.
808 * sysdeps/mips/fesetenv.c: New file.
809 * sysdeps/mips/feupdateenv.c: Likewise.
810 * sysdeps/mips/bits/fenv.h: New file.
812 1998-11-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
814 * sysdeps/unix/sysv/linux/mips/bits/signum.h: Remove inclusion of
815 <asm/signal.h> and add needed symbols from <asm/signal.h>; bring
816 in sync with linux specific version.
818 Patches by Ralf Baechle <ralf@uni-koblenz.de> for mips-linux:
820 * sysdeps/unix/mips/sysdep.S: Define _errno as weak_alias, rewrite
823 * sysdeps/unix/sysv/linux/mips/ustat.c: Use INLINE_SYSCALL instead
824 of calling __syscall_*.
825 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
827 * sysdeps/unix/sysv/linux/mips/syscalls.list: Update entries.
829 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Add missing SYS_*
830 constants, correct values according to Linux 2.1.130.
832 * sysdeps/unix/sysv/linux/mips/pwrite.c: New file.
833 * sysdeps/unix/sysv/linux/mips/pwrite64.c: New file.
834 * sysdeps/unix/sysv/linux/mips/pread.c: New file.
835 * sysdeps/unix/sysv/linux/mips/pread64.c: New file.
837 * sysdeps/mips/Makefile (sysdep_routines): Use += instead of a
840 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Remove ipc_kludge.
842 * sysdeps/unix/sysv/linux/mips/xstatconv.c: New file.
844 * sysdeps/unix/sysv/linux/mips/xstat.c: Removed.
846 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: New file.
848 * sysdeps/unix/sysv/linux/mips/kernel_termios.h: Add copyright
849 message, change name of include protection, remove inclusion of
852 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h
853 (old_kernel_sigaction): Define.
854 (struct kernel_sigaction): Rename sa_handler to k_sa_handler.
856 * sysdeps/unix/sysv/linux/mips/bits/time.h: Removed, we can use
857 the general linux version.
858 * sysdeps/unix/sysv/linux/mips/bits/stat.h (_STAT_VER_KERNEL): Added.
860 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Update file.
862 1998-09-03 Philip Blundell <pb@nexus.co.uk>
864 * sysdeps/arm/bits/endian.h (__FLOAT_WORD_ORDER): Define to big
866 * math/math_private.h: Use __FLOAT_WORD_ORDER rather than
868 * string/endian.h: If __FLOAT_WORD_ORDER wasn't defined by
869 <bits/endian.h>, make it the same as __BYTE_ORDER.
871 1998-11-27 Ulrich Drepper <drepper@cygnus.com>
873 * math/math.h: Avoid using long double functions in generic macros
874 if __NO_LONG_DOUBLE_MATH.
876 * sysdeps/arm/dl-machine.h: Fix handling of weak undefined symbols
877 during bootstrapping.
878 * scripts/config.sub: Add Netwinder specific matches.
879 Patch by Scott Bambrough <scottb@corelcomputer.com>.
881 1998-11-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
883 * Makeconfig ($(common-objpfx)sysd-dirs): Use automatic variables
885 ($(common-objpfx)sysd-sorted): Likewise.
887 1998-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
889 * sysdeps/libm-ieee754/e_log.c (__ieee754_log): Add declaration of
890 local variables t1,t2 only if needed.
892 * sysdeps/libm-ieee754/e_atan2.c: Added braces to avoid compiler
894 * sysdeps/libm-ieee754/s_truncf.c (__truncf): Likewise.
895 * sysdeps/libm-ieee754/s_trunc.c (__trunc): Likewise.
897 * sysdeps/mips/mul_1.S (Loop): Add closing comment to avoid
900 1998-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
902 * math/math.h: Add brace to correct #if expression.
904 1998-11-26 Philip Blundell <philb@gnu.org>
906 Undo change of 1998-11-12:
907 * sysdeps/unix/sysv/linux/netlink/netlink.h: Deleted.
908 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
910 * sysdeps/unix/sysv/linux/Dist: Likewise.
912 1998-11-22 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
914 * nis/nis_print.c (nis_print_entry): Changes to match Solaris output.
916 1998-11-26 Ulrich Drepper <drepper@cygnus.com>
918 * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): New defined macro.
919 (elf_machine_got_rel): Remove scope variable. Use scope from the map.
920 Don't modify _dl_global_scope_end in the end.
921 (__dl_runtime_resolv): Also use scope from the map.
922 * sysdeps/mips/mips64/dl-machine.h: Likewise.
923 * elf/dl-runtime.c: Don't define fixup and profile_fixup if
924 ELF_MACHINE_NO_PLT is defined.
925 * sysdeps/mips/sys/ucontext.h: New file.
926 Patches by kaz Kojima <kkojima@rr.iij4u.or.jp>.
928 1998-11-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
930 * sysdeps/generic/pselect.c (__pselect): Change interface,
933 * misc/sys/select.h: Change declaration according to Stevens' Unix
935 * include/sys/select.h (__pselect): Likewise.
936 Reported by <bwelling@anomaly.munge.com> [PR libc/872].
938 * include/fpu_control.h: New file, contains __setfpucw
941 * sysdeps/generic/fpu_control.h: Remove __setfpucw declaration,
942 it's an internal symbol.
943 * sysdeps/alpha/fpu/fpu_control.h: Likewise.
944 * sysdeps/arm/fpu/fpu_control.h: Likewise.
945 * sysdeps/i386/fpu_control.h: Likewise.
946 * sysdeps/m68k/fpu_control.h: Likewise.
947 * sysdeps/powerpc/fpu_control.h: Likewise.
948 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Likewise.
949 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
951 1998-11-25 Ulrich Drepper <drepper@cygnus.com>
953 * version.h (VERSION): Bump to 2.0.104.
955 1998-11-25 Mark Kettenis <kettenis@phys.uva.nl>
957 * libio/bits/stdio.h (fread_unlocked): Add missing parentheses
960 1998-11-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
962 * time/tzfile.c (__tzfile_read): Fix comment.
964 1998-11-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
966 * Makerules (build-shlib): Pass -O1 down to linker to get
967 optimized shared libraries.
969 1998-11-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
971 * Makeconfig ($(common-objpfx)sysd-dirs): Cope with no Subdirs
972 file. Strip "-" from inhibited subdir name. Combine into a
974 ($(common-objpfx)sysd-sorted): Fix sed command.
976 1998-11-25 Roland McGrath <roland@baalperazim.frob.com>
978 * sysdeps/mach/hurd/i386/init-first.c (init): Restored as inline fn.
979 Use constant _HURD_THREADVARS_MAX for temporary array size.
981 * Makeconfig ($(common-objpfx)sysd-sorted): Use @ instead of / as sed
982 s separator, since $(..) might contain a /.
984 1998-11-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
986 * configure.in (mips): Fix typo (Replace ,, by ;;).
988 * libio/Versions: Clean up entries.
990 1998-11-23 Ulrich Drepper <drepper@cygnus.com>
992 * sysdeps/i386/fpu/bits/mathinline.h: Add optimizations for lrint
995 1998-11-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
997 * sysdeps/unix/sysv/linux/netinet/ip_fw.h: Removed. There are too
998 many differences between the Linux 2.0 and 2.1 versions of this
999 file and it's too difficult to convert all calls. The file should
1000 only be needed by the ipfw program which has to take care of the
1001 correct kernel version and include files.
1003 * sysdeps/unix/sysv/linux/Dist: Remove netinet/ip_fw.h.
1004 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
1006 1998-11-23 Ulrich Drepper <drepper@cygnus.com>
1008 * Makeconfig: Don't read sysd-sorted unless sysd-dirs is read.
1009 Patch by Zack Weinberg.
1011 * math/bits/mathcalls.h: Adjust comments. Remove gamma_r prototype.
1013 * sysdeps/i386/fpu/bits/mathinline.h: Make log2 only available if
1014 __USE_ISOC9X is defined. Provide rint optimization.
1016 1998-11-21 H.J. Lu <hjl@gnu.org>
1018 * libio/Versions (_IO_popen, _IO_proc_open, _IO_proc_close,
1019 popen, pclose): Add to GLIBC_2.1.
1021 * libio/Makefile (routines): Add oldiopopen and oldpclose.
1022 (shared-only-routines): Likewise.
1024 * libio/pclose.c (pclose): Make it default for GLIBC_2.1.
1025 * libio/iopopen.c (_IO_proc_open, _IO_popen, popen,
1026 _IO_proc_close): Likewise.
1028 * libio/iolibio.h (_IO_new_popen, _IO_old_popen, __new_pclose,
1029 __old_pclose): New prototypes.
1031 * libio/libioP.h (_IO_new_file_jumps): Removed.
1032 (_IO_old_proc_jumps): Added.
1033 (_IO_new_proc_open, _IO_old_proc_open): New prototypes.
1035 * libio/oldiopopen.c: New file.
1037 * libio/oldpclose.c: New file.
1039 1998-11-22 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1041 * nss/Makefile: Build and install getent.
1042 * nss/getent.c: New, get entries from administrative database.
1044 1998-11-22 Roland McGrath <roland@baalperazim.frob.com>
1046 * sysdeps/mach/hurd/i386/init-first.c (init): Provide temporary storage
1047 for the per-thread variables of the main user thread to make it
1048 possible to use malloc as soon as _hurd_preinit_hook has been run.
1049 For cthreads, copy values to new stack from there.
1050 For non-cthreads, malloc threadvar array here and copy from temp space.
1051 (init1): No longer initialize threadvars here.
1052 (doinit1): Made static void at top level.
1053 (init): Folded into [PIC] _init or [!PIC] doinit1, since GCC cannot
1054 inline a function that uses dynamic auto arrays.
1056 1998-11-20 Ulrich Drepper <drepper@cygnus.com>
1058 * version.h (VERSION): Bump to 2.0.103.
1060 * aclocal.m4 (LIBC_PROG_BINUTILS): Also add AR and RANLIB using the
1062 * configure.in: Don't define AR and RANLIB here.
1064 * inet/gethstbyad_r.c: Define NEED__RES_HCONV and POSTPROCESS for
1065 host name res_hconf code.
1066 * inet/gethstbynm_r.c: Likewise.
1067 * nss/getXXbyYY_r.c: Include resolv/res_hconf.h if NEED__RES_HCONF
1068 is defined. Call res_hconf_init if necessary. If POSTPROCESS is
1069 defined execute the code.
1070 * resolv/Makefile (routines): Add res_hconf.
1071 (headers): Add res_hconf.h.
1072 * resolv/res_hconf.c: Pretty print.
1073 * resolv/res_hconf.h: Likewise.
1075 1998-11-20 Ulrich Drepper <drepper@cygnus.com>
1077 * sysdeps/generic/bits/byteswap.h: Fix typos in non-GCC
1078 definitions. Reported by Scott Bambrough <scottb@corelcomputer.com>.
1080 1998-11-20 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1082 * math/libm-test.c: Raise some epsilons a bit.
1084 1998-11-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1086 * Makeconfig ($(common-objpfx)sysd-sorted): Fix portability problems.
1088 1998-11-20 Ulrich Drepper <drepper@cygnus.com>
1090 * Makefile (distribute): Add scripts/gen-sorted.awk.
1092 1998-11-19 Ulrich Drepper <drepper@cygnus.com>
1094 * posix/regex.c (regex_compile): Handle extra long class names
1097 1998-11-19 Geoff Keating <geoffk@ozemail.com.au>
1099 * elf/rtld.c (_dl_start): Handle weak undefined symbols in ld.so
1102 1998-11-19 Ulrich Drepper <drepper@cygnus.com>
1104 * misc/error.c: Undo last change.
1106 * ctype/Versions: Add _tolower and _toupper.
1108 1998-11-19 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1110 * sunrpc/svc_unix.c (readunix): Check for POLLERR, POLLHUP and
1113 1998-11-19 Ulrich Drepper <drepper@cygnus.com>
1115 * Makeconfig: Add comment to all-subdirs definition.
1116 Add rule to generate sysd-sorted. Include this file and and set
1117 subdirs value to $(sorted-subdirs).
1118 * scripts/gen-sorted.awk: New file.
1119 * Make-dist (+tsrcs): Add Depend.
1120 * nscd/Depend: New file.
1121 * nss/Depend: New file.
1122 * rt/Depend: New file.
1124 1998-11-18 Ulrich Drepper <drepper@cygnus.com>
1126 * sysdeps/unix/bsd/poll.c (__poll): Add code to extend sets if any
1127 passed file descriptor exceeds the size determined by
1130 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Update
1131 from inline version in bits/socket.h.
1133 * sysdeps/unix/sysv/linux/bits/socket.h: Define __cmsg_nxthdr as
1134 inline function only is __USE_EXTERN_INLINES is defined.
1136 * time/strftime.c (my_strftime): Make code a bit clearer.
1137 Patch by Paul Eggert <eggert@twinsun.com>.
1139 * io/Makefile (CFLAGS-ftw.c): Removed.
1141 * manual/errno.texi: Change the short text for ENODEV to
1144 1998-11-18 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1146 * io/Makefile (tests): Make sure that the test program has an
1147 explicit directory part.
1149 1998-11-18 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1151 * configure.in: Fix last change.
1153 1998-11-18 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1155 * sunrpc/Makefile (routines): Add create_xid.
1157 * sunrpc/clnt_tcp.c: Use non-guessable xid.
1158 * sunrpc/clnt_udp.c: Likewise.
1159 * sunrpc/clnt_unix.c: Likewise.
1160 * sunrpc/pmap_rmt.c: Likewise.
1161 * sunrpc/create_xid.c: New, create non-guessable xid.
1163 * sunrpc/svc_tcp.c: Remove patch from 1998-06-15, use poll instead
1165 * sunrpc/svc_unix.c: Use poll instead of select.
1167 1998-11-17 Ulrich Drepper <drepper@cygnus.com>
1169 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Make Unix98 compliant
1170 by removing SIG_IGN handler for SIGCHLD if necessary.
1171 Patch by H.J. Lu <hjl@lucon.org>.
1173 * stdio-common/printf_fphex.c (__printf_fphex): Correct printing
1174 of denormalized numbers.
1176 1998-10-06 Geoff Keating <geoffk@ozemail.com.au>
1178 * sysdeps/powerpc/dl-machine.h (elf_machine_load_address): Suppress
1179 another parentheses warning, make nano-optimisation.
1181 * sysdeps/powerpc/dl-machine.h (_dl_runtime_resolve): Preserve
1182 saved LR on stack so _mcount works.
1183 (_dl_prof_resolve): Likewise.
1184 * sysdeps/powerpc/register-dump.h: Print FPRs. Adjust for correct
1185 signal handler calling convention.
1186 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Adjust for
1187 correct signal handler calling convention---more like x86 linux and
1188 mklinux, less like linux-ppc versions between 2.1 and 2.1.126.
1190 1998-11-17 Ulrich Drepper <drepper@cygnus.com>
1192 * configure.in: Correct allowed makeinfo version.
1194 1998-11-17 Philip Blundell <pb@nexus.co.uk>
1196 * sysdeps/generic/bits/mathdef.h: Fix typo.
1198 1998-11-17 Geoff Keating <geoffk@ozemail.com.au>
1200 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Prototype the syscall
1201 under the right name (squish warning).
1202 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
1204 1998-11-17 Geoff Keating <geoffk@ozemail.com.au>
1206 * stdio-common/_itoa.c (_itoa): Add redundant parentheses to
1209 1998-11-16 Ulrich Drepper <drepper@cygnus.com>
1211 * intl/locale.alias: Change `japanese' alias to match X11R6's.
1212 Add `japanese.euc' alias.
1214 * manual/Makefile (%.info): Set LANGUAGE and LC_ALL explicitly to C
1215 before running makeinfo.
1217 * math/Makefile (libm-routines): $(strip) entire value.
1219 * nss/nss_db/db-XXX.c (internal_setent): Rewrite to avoid warning.
1221 1998-10-24 H.J. Lu <hjl@gnu.org>
1223 * libio/libio.h (_IO_cookie_io_functions_t): Protect with __USE_GNU.
1224 (_IO_cookie_file): Likewise.
1226 1998-11-16 Philip Blundell <philb@gnu.org>
1228 * inet/netinet/icmp6.h: Correct naming of constants.
1230 1998-11-16 Ulrich Drepper <drepper@cygnus.com>
1232 * sysdeps/unix/opendir.c: Use o_directory_works differently. Treat
1233 zero value as uninitialized so that variable can go into .bss.
1235 * dirent/opendir-tst1.c: Print error strings to stdout.
1237 * sysdeps/unix/sysv/linux/mmap64.c: New file. Empty.
1238 * sysdeps/unix/sysv/linux/syscalls.list: Add mmap with mmap64 alias.
1239 * sysdeps/unix/sysv/linux/arm/mmap.S: Add mmap64 alias.
1240 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1241 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
1243 1998-11-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1245 * time/tzfile.c (__tzfile_read): Check that types[i].isdst is in
1248 1998-11-16 Ulrich Drepper <drepper@cygnus.com>
1250 * libio/bits/stdio.h (fread_unlocked): Do handle zero size and number.
1251 (fwrite_unlocked): Likewise.
1253 1998-11-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1255 * libio/bits/stdio.h (fread_unlocked): Don't evaluate non-constant
1256 twice. Don't bother handling zero size.
1257 (fwrite_unlocked): Likewise.
1259 1998-11-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1261 * configure.in: Fix regex for makeinfo version string.
1263 1998-11-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1265 * sunrpc/rpc_sample.c (write_sample_server): Avoid -Wparentheses
1267 * sunrpc/rpc_svcout.c (write_program): Likewise.
1269 1998-11-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1271 * time/Makefile (CFLAGS-test_time.c): Add -Wno-format.
1273 1998-11-16 Ulrich Drepper <drepper@cygnus.com
1275 * misc/sys/mman.h: Pretty print prototypes.
1277 1998-11-15 Ulrich Drepper <drepper@cygnus.com
1279 * misc/error.c (error): Don't use result of strerror_r call directly
1280 since at least DEC Unix has a wrong return type.
1281 Patch by Johan Danielsson <joda@pdc.kth.se>.
1283 1998-11-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1285 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Undo
1288 1998-11-13 Ulrich Drepper <drepper@cygnus.com>
1290 * stdio-common/vfscanf.c: Don't return -1 in case of an invalid
1293 * version.h (VERSION): Bump to 2.0.102.
1295 * stdio-common/tstdiomisc.c (t2): Update test case for last scanf
1297 * stdio-common/scanf7.c (main): Likewise.
1299 1998-11-13 Ulrich Drepper <drepper@cygnus.com>
1301 * stdio-common/vfscanf.c: Return EOF for invalid format
1304 * version.h (VERSION): Bump to 2.0.101.
1306 * Makerules (Versions.all): Generate this file from all Versions.def
1308 (sysd-versions): Use Versions.all instead of Versions.def.
1310 1998-11-13 Philip Blundell <philb@gnu.org>
1312 * sysdeps/arm/fpu/bits/setjmp.h (__JMP_BUF_SP): Correct value.
1313 Reported by Scott Bambrough.
1315 1998-11-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1317 * locale/programs/config.h: Define HAVE_STRING_H for xstrdup.c.
1319 1998-11-13 Ulrich Drepper <drepper@cygnus.com>
1321 * libio/bits/stdio.h: Correct and improve fread_unlocked and
1322 fwrite_unlocked optimizations.
1324 * time/tzfile.c (__tzfile_read): Set __tzname based on last names
1325 in time not to last entries in the file.
1326 (__tzfile_compute): Likewise. Fix for PR libc/863.
1328 * timezone/Makefile: Generate GB timezone data for test.
1329 * timezone/tst-timezone.c: More tests for DST switching time (disabled
1332 1998-11-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1334 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Remove
1335 d0 from clobber list.
1337 1998-11-12 Ulrich Drepper <drepper@cygnus.com>
1339 * inet/netinet/in.h: Add a few more IPPROTO_* macros.
1341 * libio/Makefile (headers): Add bits/stdio.h.
1342 * libio/iofread_u.c: Undefine fread_unlocked before definition.
1343 * libio/iofwrite_u.c: Undefine fwrite_unlocked before definition.
1344 * libio/stdio.h: Move optimizations into ...
1345 * libio/bits/stdio.h: ...here. New file.
1347 * libio/iofread.c: Pretty print.
1349 1998-11-12 Mark Kettenis <kettenis@phys.uva.nl>
1351 * sysdeps/gnu/bits/utmpx.h: Protect members of struct
1352 __exit_status with `__'. Rename pad member of struct utmpx to
1354 (RUN_LVL): Define unconditionally.
1355 * sysdeps/gnu/bits/utmp.h: Rename pad member of struct utmp to
1358 1998-11-12 Philip Blundell <philb@gnu.org>
1360 * sysdeps/unix/sysv/linux/netlink/netlink.h: New file, support for
1361 Linux AF_NETLINK sockets (needed since the kernel version is
1363 * sysdeps/unix/sysv/linux/Makefile: Install it.
1364 * sysdeps/unix/sysv/linux/Dist: Distribute it.
1366 1998-11-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1368 * timezone/tst-timezone.c (tests): Add entry for America/Chicago
1369 to test for bug in PR libc/863.
1371 1998-11-12 Ulrich Drepper <drepper@cygnus.com>
1373 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Cleanup comment.
1375 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Rename macro
1376 parameter lazy to do_lazy to avoid clashing with struct member name.
1377 Reported by Ralf Baechle <ralf@uni-koblenz.de>.
1379 1998-11-10 H.J. Lu <hjl@gnu.org>
1381 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine NR_OPEN
1382 if it is defined in <linux/limits.h>.
1384 1998-11-09 13:07 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
1386 * include/protocols/routed.h: Include the real header with
1387 a full path from the top of the source tree.
1388 * include/protocols/rwhod.h: Likewise.
1389 * include/protocols/talkd.h: Likewise.
1390 * include/protocols/timed.h: Likewise.
1392 * timezone/Makefile: Don't include z.ZONE files if no_deps
1393 is set, not if avoid-generated is set.
1395 1998-11-12 Ulrich Drepper <drepper@cygnus.com>
1397 * signal/signal.h: Undo last change. Get definition of timespec
1398 if __USE_POSIX199309.
1400 * string/bits/string2.h (__strpbrk_c2): Add intermediate cast to
1401 size_t to prevent gcc warning when using -Wqual-cast.
1402 (__strpbrk_c3): Likewise.
1403 Suggested by Alan Curry <pacman@cqc.com>.
1405 1998-11-11 Roland McGrath <roland@baalperazim.frob.com>
1407 * hurd/hurdsig.c (_hurdsig_init): Add assertion that no pending,
1408 unblocked signals are set in the startup masks.
1410 * hurd/hurdsig.c (_hurdsig_init): Take new args, INTARRAY and
1411 INTARRAYSIZE. Initialize main thread's sigstate from INIT_SIG* ints.
1413 * hurd/hurd/signal.h: Update _hurdsig_init decl.
1414 * hurd/hurdinit.c (_hurd_proc_init): Take new args, INTARRAY and
1415 INTARRAYSIZE, pass them down to _hurdsig_init.
1416 * hurd/hurd.h: Update _hurd_proc_init decl.
1418 1998-11-10 Ulrich Drepper <drepper@cygnus.com>
1420 * math/cabs.c: Replace complex by _Complex.
1421 * math/cabsf.c: Likewise.
1422 * math/cabsl.c: Likewise.
1423 * math/cimag.c: Likewise.
1424 * math/cimagf.c: Likewise.
1425 * math/cimagl.c: Likewise.
1426 * math/conj.c: Likewise.
1427 * math/conjf.c: Likewise.
1428 * math/conjl.c: Likewise.
1429 * math/creal.c: Likewise.
1430 * math/crealf.c: Likewise.
1431 * math/creall.c: Likewise.
1433 * sysdeps/alpha/fpu/bits/mathdef.h: Define ISO C 9X stuff only if
1434 included from math.h and __USE_ISOC9X is defined.
1435 * sysdeps/generic/bits/mathdef.h: Likewise.
1436 * sysdeps/generic/i386/fpu/mathdef.h: Likewise.
1437 * sysdeps/generic/m68k/fpu/mathdef.h: Likewise.
1438 * sysdeps/generic/powerpc/bits/mathdef.h: Likewise.
1439 * sysdeps/generic/sparc/fpu/bits/mathdef.h: Likewise.
1441 1998-11-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1443 * sysdeps/i386/fpu/bits/mathdef.h: Allow direct inclusion by
1445 * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
1446 * sysdeps/generic/bits/mathdef.h: Likewise.
1447 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
1448 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1449 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
1451 1998-11-09 Ulrich Drepper <drepper@cygnus.com>
1453 * extra-lib.mk: Fix typo in last change.
1455 * math/complex.h: Include bits/mathdef.h to get __NO_LONG_DOUBLE_MATH
1457 Don't define long double functions if __NO_LONG_DOUBLE_MATH is defined.
1458 Don't define `complex' but instead `_Complex'. The later is the
1460 * math/bits/cmathcalls.c: Define _Mdouble_complex_ using _Complex,
1463 1998-11-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1465 * manual/libc.texinfo: Remove colon from category name.
1466 * manual/Makefile (dir-add.info): Likewise.
1468 1998-11-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1470 * configure.in: Avoid autoconf bug.
1472 1998-10-28 H.J. Lu <hjl@gnu.org>
1474 * posix/getopt.h: Add "__" to arguments in prototypes.
1476 1998-11-05 H.J. Lu <hjl@gnu.org>
1478 * libio/iofgets.c (_IO_fgets): Don't report error
1479 if something was read in and errno is set to
1481 * libio/iofgets_u.c (fgets_unlocked): Likewise.
1483 1998-11-05 Philip Blundell <philb@gnu.org>
1485 * sysdeps/unix/sysv/linux/net/if_packet.h: Don't include kernel
1486 header; it defines too much. Provide a local definition of struct
1487 sockaddr_pkt and a comment advising against its use.
1489 1998-11-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1491 * extra-lib.mk: Avoid empty include list.
1493 1998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1495 * extra-lib.mk: Add support for $(lib)-shared-only-routines.
1497 * elf/Makefile (libdl-routines): Add dlopenold only if doing
1499 (libdl-shared-only-routines): New variable.
1501 1998-11-06 Paul Eggert <eggert@twinsun.com>
1503 Don't invoke localtime_r or gmtime_r unless it's the GNU C
1504 library's localtime_r and gmtime_r; there are too many buggy
1505 implementations of localtime_r and gmtime_r out there, and
1506 it's not worth keeping track of all the different bugs.
1508 * time/mktime.c (__EXTENSIONS__): Remove.
1509 (<unistd.h>): No need to include.
1510 * time/strftime.c: Likewise.
1512 * time/mktime.c (_POSIX_THREAD_SAFE_FUNCTIONS, HAVE_LOCALTIME_R):
1514 (my_mktime_localtime_r): Renamed from localtime_r; all uses changed.
1515 Base it on localtime unless _LIBC.
1517 * time/strftime.c (my_strftime_gmtime_r): Renamed from gmtime_r;
1519 (my_strftime_localtime_r): Renamed from localtime_r; all uses changed.
1520 Base them on localtime/gmtime if not _LIBC.
1522 1998-11-07 Ulrich Drepper <drepper@cygnus.com>
1524 * sysdeps/generic/isastream.c: Always return 0 unless it is an invalid
1525 file descriptor. This makes this function actually usable.
1526 Proposed by Mark Kettenis <kettenis@phys.uva.nl>.
1528 1998-11-05 Ulrich Drepper <drepper@cygnus.com>
1530 * math/math.h: Unconditionally include bits/mathdef.h. Declare
1531 long double functions only if __NO_LONG_DOUBLE_MATH is not
1533 * sysdeps/generic/bits/mathdef.h: Define only if __USE_ISOC9X.
1534 Define __NO_LONG_DOUBLE_MATH.
1535 * sysdeps/m68k/fpu/bits/mathdef.h: Define only if __USE_ISOC9X.
1536 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
1538 * elf/rtld.c: Add a few __builtin_expects where they will improve
1541 1998-11-05 Ulrich Drepper <drepper@cygnus.com>
1543 * version.h (VERSION): Bump to 2.0.100.
1545 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Fix fldl -> fld.
1547 * sysdeps/libm-i387/s_fma.S: Optimize a bit.
1548 * sysdeps/libm-i387/s_fmaf.S: Likewise.
1550 1998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1552 * libio/genops.c (_IO_least_marker): Add additional parameter
1553 end_p replacing fp->_IO_read_end.
1554 (save_for_backup): Likewise. All callers changed. Use _IO_size_t
1555 and _IO_ssize_t instead of int.
1556 (_IO_switch_to_main_get_area): Remove use of _IO_save_ptr.
1557 (_IO_switch_to_backup_area): Likewise. Fix comments.
1558 (_IO_seekmark): Undo last change.
1559 (_IO_default_pbackfail): Correct use of backup area.
1560 * libio/libio.h (_IO_FILE_complete): Remove _IO_save_ptr.
1562 1998-11-04 19:47 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
1564 * configure.in: Search for install-info and substitute it.
1565 Determine whether install-info is the buggy Debian version
1566 that doesn't understand INFO-DIR-SECTION.
1567 * config.make.in: Add INSTALL_INFO and OLD_DEBIAN_INSTALL_INFO
1569 * manual/Makefile: If OLD_DEBIAN_INSTALL_INFO, give
1570 install-info the --section argument it needs to work properly.
1571 (dir-add.texinfo): Delete target.
1572 (dir-add.info): Generate this directly. Sort entries. Put a
1573 colon at the end of the INFO-DIR-SECTION line.
1574 * manual/libc.texinfo: Put a colon at the end of the
1577 1998-11-05 Paul Eggert <eggert@twinsun.com>
1579 * time/mktime.c (__mktime_internal): Adopt the traditional (and
1580 problematic) notion of what to do when tm_isdst doesn't match.
1582 1998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1584 * posix/PTESTS: Fix spelling.
1586 1998-11-04 Ulrich Drepper <drepper@cygnus.com>
1588 * misc/efgcvt_r.c (fcvt_r): Remove code which tries to use libm
1589 functions. Reduce error in computing normalized value by multiplying
1590 factor in loop and compute result in one step.
1591 Reported by Christian Gafton.
1593 * sysdeps/libm-i387/e_hypot.S: New file.
1594 * sysdeps/libm-i387/e_hypotf.S: New file.
1596 1998-11-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1598 * elf/dlopenold.c: Compile only if DO_VERSIONING is also defined.
1600 1998-11-03 H.J. Lu <hjl@gnu.org>
1602 * libio/fileops.c (new_do_write): New function.
1603 (_IO_new_do_write): Call new_do_write.
1604 (_IO_new_file_xsputn): Likewise.
1606 * libio/oldfileops.c (old_do_write): New function.
1607 (_IO_old_do_write): Call old_do_write.
1608 (_IO_old_file_xsputn): Likewise.
1610 1998-11-04 Ulrich Drepper <drepper@cygnus.com>
1612 * time/mktime.c (__mktime_internal): Correct last change. We must
1613 stop searching for the right isdst value before stepping to the
1616 * malloc/malloc.c: Make sure calloc really returned zeroed memory.
1617 Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
1619 1998-11-02 16:12 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
1621 * sysdeps/generic/bits/signum.h: Define signals with their
1622 historical numbers when those are in the 1-15 range and
1623 consistent across platforms.
1624 Define compatibility aliases (SIGIOT, SIGCLD) if __USE_MISC.
1625 Define SIG_DFL, SIG_IGN, SIG_ERR as numeric constants cast
1626 appropriately instead of with fake function declarations
1627 (would cause link errors).
1628 If __USE_UNIX98, define SIG_HOLD.
1630 1998-10-29 H.J. Lu <hjl@gnu.org>
1632 * sysdeps/unix/sysv/linux/bits/sigaction.h (sigaction): Use
1633 union only if __USE_POSIX199309 is defined.
1635 * misc/sys/select.h (pselect): Declared only if __USE_GNU is
1638 1998-11-03 Ulrich Drepper <drepper@cygnus.com>
1640 * time/mktime.c (__mktime_internal): Handle broken down times
1641 around the time of the DST switches more correctly.
1643 1998-11-02 Ulrich Drepper <drepper@cygnus.com>
1645 * elf/Makefile (libdl-routines): Add dlopenold.
1646 * elf/Versions [libdl, GLIBC_2.1]: Add dlopen.
1647 * elf/dl-open.c (_dl_open): Check whether RTLD_LAZY or RTLD_GLOBAL
1648 is set and bounce otherwise.
1649 * elf/dlopen.c: Rename function to __dlopen_check and make version
1651 * elf/dlopenold.c: New file.
1653 1998-11-02 Ulrich Drepper <drepper@cygnus.com>
1655 * elf/Versions [libc, GLIBC_2.01]: Add _dl_global_scope_alloc.
1656 * elf/dl-open.c (_dl_global_scope_alloc): Move definition to
1657 * elf/dl-deps.c: ...here.
1658 * elf/dl-open.c (dl_open_worker): Call _dl_map_object_deps with
1659 new parameter and expect result. Remove code handling RTLD_GLOBAL.
1660 Add return value of _dl_map_object_deps to
1661 _dl_main_searchlist->r_nlist.
1662 * elf/dl-deps.c (_dl_map_object_deps): Change to return value.
1663 If we parameter GLOBAL is nonzero add object and dependencies to
1665 * elf/ldsodefs.h: Adapt prototype for _dl_map_object_deps.
1666 * elf/rtld.c (dl_main): Call _dl_map_object_deps with new parameter.
1667 Mark all objects as in global scope.
1668 * elf/dl-object.c (_dl_new_object): Initialize l_global to zero.
1670 * sysdeps/unix/sysv/linux/bits/sockunion.h: Add Econet support.
1672 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add .L prefix to symbols
1673 used in macro magic.
1675 1998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1677 * sysdeps/unix/sysv/linux/netatalk/at.h: Include <linux/atalk.h>
1678 before <sys/socket.h> to make sockaddr_at available to
1681 * posix/glob.h: Remove __P from parameter lists of declarations.
1683 1998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1685 * time/tzset.c (tz_compute): Remove unused parameter timer.
1688 1998-11-02 Mark Kettenis <kettenis@phys.uva.nl>
1690 * sysdeps/generic/bits/types.h (__ipc_pid_t): New typedef.
1692 1998-11-02 Ulrich Drepper <drepper@cygnus.com>
1694 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Remove
1695 unnecessary test and add cast.
1697 1998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1699 * posix/getconf.c: Add initializer SYSCONF for CHARCLASS_NAME_MAX.
1701 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Remove unused
1703 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1705 1998-11-02 Mark Kettenis <kettenis@phys.uva.nl>
1707 * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
1709 (__FDMASK): Use __fd_mask instead of unsigned long int in cast.
1711 1998-10-31 Richard Henderson <rth@cygnus.com>
1713 * math/Makefile (gmp-objs): Add udiv_qrnnd.
1715 * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL*): New.
1716 (inline_syscall*): New.
1717 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL): New.
1718 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Kill __syscall* bits.
1720 1998-10-31 Ulrich Drepper <drepper@cygnus.com>
1722 * aclocal.m4 (LIBC_PROG_FOO_GNU): Name output file using -o to
1723 avoid ld test generating an unwanted file.
1725 * posix/PTESTS: Remove comment about incorrect test (it is correct).
1727 1998-10-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1729 * sunrpc/Versions: Add xdr_uint32_t and xdr_int32_t.
1730 * sunrpc/pmap_rmt.c: Initialize clnt_stat variable.
1731 * sunrpc/rpc/auth_des.h: Use uint32_t for time values.
1732 * sunrpc/rpc/xdr.h: Add INT32 support.
1733 * sunrpc/xdr.c: Implement xdr_int32_t and xdr_uint32_t .
1735 * nis/nis_call.c: Changes for new 64bit clean NIS+ interface.
1736 * nis/nis_callback.c: Likewise.
1737 * nis/nis_creategroup.c: Likewise.
1738 * nis/nis_defaults.c: Likewise.
1739 * nis/nis_intern.h: Likewise.
1740 * nis/nis_lookup.c: Likewise.
1741 * nis/nis_ping.c: Likewise.
1742 * nis/nis_print.c: Likewise.
1743 * nis/nis_table.c: Likewise.
1744 * nis/nis_util.c: Likewise.
1745 * nis/nis_xdr.c: Likewise.
1746 * nis/rpcsvc/nis.h: Likewise.
1747 * nis/rpcsvc/nis.x: Likewise.
1748 * nis/rpcsvc/nis_callback.h: Likewise.
1749 * nis/rpcsvc/nis_object.x: Likewise.
1750 * nis/rpcsvc/nislib.h: Likewise.
1752 * nis/rpcsvc/yp.h: Remove casts to (u_long).
1753 * nis/rpcsvc/yp_prot.h: Likewise.
1754 * nis/rpcsvc/ypupd.h: Likewise.
1755 * nis/ypclnt.c: Change %ld to %d in sprintf.
1757 1998-10-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1759 * manual/locale.texi (Formatting Numbers): Fix strfmon examples.
1761 1998-10-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1763 * sysdeps/generic/bits/select.h (__FD_ZERO): Change '\0' to plain
1764 0, __fd_mask is usually not a char.
1766 1998-10-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1768 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Allow
1769 compilation on systems without rt_* syscalls (e.g. on Linux 2.0).
1770 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
1771 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1772 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
1773 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise
1774 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1775 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1777 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Allow
1778 compiling on systems without rt_sigaction syscall.
1779 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction):
1782 1998-10-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1784 * time/strptime.c (HERE_D_FMT): Fix typo.
1785 Reported by Claus Heine <heine@math1.rwth-aachen.de>, PR libc/842.
1787 1998-10-30 Ulrich Drepper <drepper@cygnus.com>
1789 * catgets/Makefile (tests): Add rules to run gencat on test1.msg.
1790 (generate): Add test1.cat and test1.h.
1791 (distribute): Add test1.msg.
1792 * catgets/test1.msg: New file.
1794 * catgets/gencat.c: Do a better job in initializing dynamic
1795 memory [PR libc/844].
1797 1998-10-30 18:11 Ulrich Drepper <drepper@cygnus.com>
1799 * iconv/gconv_conf.c (__gconv_read_conf): Don't define as
1800 internal_function since it is called through a pointer.
1801 * iconv/gconv_db.c (free_derivation): Likewise.
1802 * iconv/gconv_int.h: Adjust prototype od __gconv_read_conf.
1804 * posix/wordexp.c: Add internal_function to parse_backtick definition.
1805 * rt/aio_misc.c: Add internal_function to __aio_free_request,
1806 __aio_find_req, __aio_find_req_fd, and __aio_enqueue_request
1808 * rt/aio_notify.c: Add internal_function to __aio_notify_only and
1809 __aio_notify definitions.
1810 * wcsmbsload.c: Add internal_function to __wcsmbs_load_conv definition.
1812 1998-10-30 Ulrich Drepper <drepper@cygnus.com>
1814 * Makerules (build-shlib): Add -O to generate optimized shared
1817 1998-10-30 11:15 Ulrich Drepper <drepper@cygnus.com>
1819 * sysdeps/libm-i387/e_fmod.S: Remove invalid operand size suffix.
1820 * sysdeps/libm-i387/e_fmodf.S: Likewise.
1821 * sysdeps/libm-i387/e_fmodl.S: Likewise.
1822 * sysdeps/libm-i387/s_ilogb.S: Likewise.
1823 * sysdeps/libm-i387/s_ilogbf.S: Likewise.
1824 * sysdeps/libm-i387/s_logb.S: Likewise.
1825 * sysdeps/libm-i387/s_logbf.S: Likewise.
1826 * sysdeps/libm-i387/s_remquo.S: Likewise.
1827 * sysdeps/libm-i387/s_remquof.S: Likewise.
1828 * sysdeps/libm-i387/s_remquol.S: Likewise.
1829 * sysdeps/libm-i387/s_significand.S: Likewise.
1830 * sysdeps/libm-i387/s_significandf.S: Likewise.
1832 1998-10-30 Geoff Keating <geoffk@ozemail.com.au>
1834 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Really correct
1837 1998-10-30 Geoff Keating <geoffk@ozemail.com.au>
1839 * math/libm-test.c: Loosen deltas for sin(0.9)^2+cos(0.9)^2.
1841 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
1843 * stdio-common/vfprintf.c (vfprintf): Fix the remaining premature
1844 returns without cleaning up the lock.
1845 (printf_unknown): Add label all_done.
1847 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Keep Linux 2.0
1848 kernels in mind when reading /proc/self/fd/FD.
1849 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1851 * nscd/nscd.c (doc): It's "Name Service" not "Name Switch".
1853 * malloc/mtrace.c (tr_where): Replace snprintf call by mempcpy and
1856 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Try reading
1857 /prof/self/fd/FD first.
1858 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
1860 * stdio-common/_itoa.h (_fitoa_word): New inline function. Write
1861 formatted number starting at given position and return pointer to
1863 (_fitoa): Likewise, for long long.
1865 1998-10-29 Roland McGrath <roland@baalperazim.frob.com>
1867 * sysdeps/unix/sysv/linux/bits/sem.h,
1868 sysdeps/unix/sysv/linux/bits/ipc.h,
1869 sysdeps/unix/sysv/linux/bits/shm.h,
1870 sysdeps/unix/sysv/linux/bits/msq.h: Moved to ...
1871 * sysdeps/gnu/bits/sem.h, sysdeps/gnu/bits/ipc.h,
1872 sysdeps/gnu/bits/shm.h, sysdeps/gnu/bits/msq.h: ... here,
1873 so the same bits will be used for the Hurd.
1875 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
1877 * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Allow
1878 compiling on systems without rt_sigaction syscall.
1880 1998-10-12 Philip Blundell <pb@nexus.co.uk>
1882 * Makeconfig (sysdep-subdirs): Allow Subdirs files to remove
1883 directories as well as add them.
1885 1998-10-28 Philip Blundell <pb@nexus.co.uk>
1887 * sysdeps/unix/sysv/linux/neteconet/ec.h: New file. Support for
1888 AF_ECONET sockets as found in recent Linux 2.1 kernels.
1889 * sysdeps/unix/sysv/linux/Dist: Distribute it.
1890 * sysdeps/unix/sysv/linux/Makefile: Install it.
1892 1998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1894 * string/bits/string2.h: __USE_GNU already implies __USE_MISC.
1896 1998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1898 * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
1900 * sysdeps/unix/sysv/linux/alpha/bits/types.h (__FDS_BITS): Likewise.
1901 * sysdeps/unix/sysv/linux/bits/types.h (__FDS_BITS): Likewise.
1902 * sysdeps/unix/sysv/linux/mips/bits/types.h (__FDS_BITS): Likewise.
1903 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__FDS_BITS):
1905 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h (__FDS_BITS):
1907 * sysdeps/generic/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
1908 __FD_ISSET): Use it.
1909 * sysdeps/i386/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
1910 __FD_ISSET): Likewise.
1912 1998-10-28 Geoff Keating <geoffk@ozemail.com.au>
1914 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Tidy up, correct
1917 * sysdeps/unix/sysv/linux/powerpc/pread.c: Do not use the i386 version.
1918 Instead call the system call wrapper function using an 64bit argument.
1919 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
1920 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
1921 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
1923 1998-10-27 Ulrich Drepper <drepper@cygnus.com>
1925 * signal/signal.h: Don't include <time.h> for timespec, add
1926 forward declaration.
1928 * sysdeps/i386/bits/select.h [!__USE_XOPEN]: Add special version
1929 of __FD_* macros which use __fds_bits.
1930 * sysdeps/generic/bits/select.h: Likewise.
1931 Reported by Matt McLean <keys@yikes.com>.
1933 1998-10-27 Philip Blundell <pb@nexus.co.uk>
1935 * elf/elf.h: Update ARM definitions.
1937 1998-10-27 Ulrich Drepper <drepper@cygnus.com>
1939 * signal/signal.h: Include bits/sigthread.h only for Unix98.
1941 1998-10-26 Ulrich Drepper <drepper@cygnus.com>
1943 * include/libc-symbols.h: If HAVE_BUILTIN_EXPECT is not defined
1944 define __builtin_expect as a macro substituting to the first
1946 * config.h.in: Define HAVE_BUILTIN_EXPECT.
1947 * configure.in: Add test for __builtin_expect.
1949 * sysdeps/unix/sysv/linux/bits/types.h: Include
1950 bits/pthreadtypes.h only not for POSIX 199506.
1951 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1952 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1953 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
1955 1998-10-26 Mark Kettenis <kettenis@phys.uva.nl>
1957 * sysdeps/unix/sysv/linux/Versions: Move shutdown ...
1958 * socket/Versions [libc, GLIBC_2.0]: ... to here.
1960 1998-10-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1962 * include/stdio.h: Included <stddef.h> for size_t.
1964 * stdio/stdio.h: Move __path_search, __gen_tempname, __libc_fatal
1966 * include/stdio.h: ...here.
1967 * libio/stdio.h: Removed __path_search, __gen_tempname, __libc_fatal.
1969 1998-10-26 11:09 Ulrich Drepper <drepper@cygnus.com>
1971 * time/Makefile (tests): Add tst-posixtz.
1972 * time/tst-posixtz.c: New file.
1974 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1976 * elf/rtld.c (process_envvars): Accept any non-null value of
1977 LD_BIND_NOW, as mandated by the ABI.
1979 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1981 * sysdeps/unix/sysv/linux/pread.c: Rename __syscall_pread64 to
1983 * sysdeps/unix/sysv/linux/pwrite.c: Rename __syscall_pwrite64 to
1985 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
1986 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1987 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1988 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1989 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise. Remove
1991 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
1992 s_pread64 and s_pwrite64.
1993 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
1995 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1997 * sysdeps/unix/sysv/linux/llseek.c: Use INLINE_SYSCALL.
1998 * sysdeps/unix/sysv/linux/arm/syscalls.list: Rename __sys_llseek
1999 to __syscall__llseek.
2000 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2001 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
2002 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove entry for
2005 1998-10-26 Cristian Gafton <gafton@redhat.com>
2007 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add s_setfsgid
2010 1998-10-26 Ulrich Drepper <drepper@cygnus.com>
2012 * time/tzset.c (tz_compute): Correct last patch and describe this
2015 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2017 * sysdeps/unix/sysv/linux/m68k/Makefile [subdir=signal]: Remove
2018 rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo,
2019 rt_sigaction and rt_sigpending.
2020 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove all entries
2021 for __syscall_* functions.
2022 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Implement INLINE_SYSCALL.
2024 1998-10-26 Roland McGrath <roland@baalperazim.frob.com>
2026 * hurd/Versions: Add _hurd_dtable, _hurd_dtablesize,
2027 _hurd_dtable_lock, _hurd_intern_fd.
2029 * sysdeps/mach/hurd/Versions: Add cthread_keycreate,
2030 cthread_getspecific, cthread_setspecific, __libc_getspecific.
2032 * mach/Versions: Fix typo in last change.
2034 1998-10-25 Ulrich Drepper <drepper@cygnus.com>
2036 * time/tzset.c (tz_compute): If time to switch to DST is later in
2037 the year switch back in the next year.
2038 Reported by jwitford@hutch.com.au.
2040 1998-10-24 Mark Kettenis <kettenis@phys.uva.nl>
2042 * mach/Versions: Add evc_wait, mach_error, mach_error_string,
2043 mach_error_type, mach_msg_destroy, mig_deallocate_reply_port.
2044 Remove __mach_host_self, __mach_reply_port, __mach_setup_thread,
2045 __mach_port_allocate, __mach_port_allocate_name,
2046 __mach_port_insert_right __mutex_trylock, __mutex_lock,
2047 __mutex_unlock, __swtch, __switch, __task_create, __task_suspend,
2048 __task_set_special_port, __task_terminate, __thread_depress_abort,
2049 __thread_switch, __vm_allocate, __vm_deallocate, __vm_map. These
2050 functions are not used outside libc.
2052 * sysdeps/mach/hurd/Versions: New file.
2053 [libc, GLIBC_2.0]: Add _cthread_exit_routine and
2054 _cthread_init_routine. These are set by the Hurd cthreads library.
2055 Add __getcwd, __mmap. If we don't add these, the weak definitions in
2056 the dynamic linker will not be replaced by the corresponding shared
2057 library routines once they are loaded.
2059 1998-10-21 Mark Kettenis <kettenis@phys.uva.nl>
2061 * sysdeps/mach/hurd/i386/init-first.c: Only define
2062 __libc_enable_secure if PIC is not defined.
2064 1998-10-25 Roland McGrath <roland@baalperazim.frob.com>
2066 * argp/Versions: Add _argp_unlock_xxx. Lock-savvy functions call this
2067 to recurse into argp.
2069 1998-10-25 Ulrich Drepper <drepper@cygnus.com>
2071 * include/features.h: Define __USE_POSIS199506 is _POSIX_C_SOURCE is
2072 greater or equal than 199506L.
2074 * sysdeps/generic/bits/types.h (__fd_set): Define element as fds_bits
2075 only is __USE_XOPEN. Otherwise use __fds_bits.
2076 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2077 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2078 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
2079 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
2080 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
2082 1998-10-24 H.J. Lu <hjl@gnu.org>
2084 * locale/programs/charmap.c (parse_charmap): Accept tok_string
2085 for <code_set_name>.
2087 1998-10-25 H.J. Lu <hjl@gnu.org>
2089 * locale/programs/ld-ctype.c (ctype_finish): Also check
2092 1998-10-25 Ulrich Drepper <drepper@cygnus.com>
2094 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX199506.
2096 * sysdeps/unix/sysv/linux/bits/types.h: Include pthreadtypes.h only
2097 if __USE_POSIX199506 or __USE_UNIX98.
2099 1998-10-24 22:34 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2101 * string/bits/string2.h: Inline strdup+friends only if
2102 __USE_MISC || __USE_GNU (prevents namespace pollution).
2104 1998-10-24 H.J. Lu <hjl@gnu.org>
2106 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (LOCK_SH,
2107 LOCK_EX, LOCK_NB, LOCK_UN): Protect with __USE_BSD.
2108 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (LOCK_SH, LOCK_EX,
2109 LOCK_NB, LOCK_UN): Likewise.
2110 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (LOCK_SH, LOCK_EX,
2111 LOCK_NB, LOCK_UN): Likewise.
2112 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (LOCK_SH, LOCK_EX,
2113 LOCK_NB, LOCK_UN): Likewise.
2114 * sysdeps/unix/sysv/linux/bits/fcntl.h (LOCK_SH, LOCK_EX,
2115 LOCK_NB, LOCK_UN): Likewise.
2117 1998-10-24 H.J. Lu <hjl@gnu.org>
2119 * libio/ioseekoff.c (_IO_seekoff): Check the valid dir value.
2121 * libio/rewind.c (rewind): Clear the error.
2123 1998-10-24 H.J. Lu <hjl@gnu.org>
2125 * grp/grp.h (getgrent_r, getgrgid_r, getgrnam_r): Add "__" to
2128 1998-10-24 H.J. Lu <hjl@gnu.org>
2130 * sysdeps/unix/sysv/linux/alpha/bits/time.h (timeval): Protect
2131 with __need_timeval.
2132 * sysdeps/unix/sysv/linux/mips/bits/time.h (timeval): Likewise.
2133 * sysdeps/unix/sysv/linux/bits/time.h (timeval): Likewise.
2135 1998-10-24 H.J. Lu <hjl@gnu.org>
2137 * signal/signal.h (timespec, siginfo_t, sigwaitinfo, sigtimedwait,
2138 sigqueue): Protect with __USE_POSIX199309.
2140 1998-10-24 H.J. Lu <hjl@gnu.org>
2142 * time/time.h (timespec): Protect with __USE_POSIX199309 instead of
2145 1998-10-24 H.J. Lu <hjl@gnu.org>
2147 * libio/fileops.c (_IO_new_file_seekoff): Always resync with
2148 the kernel file offset.
2149 * libio/oldfileops.c (_IO_old_file_seekoff): Likewise.
2151 1998-10-24 H.J. Lu <hjl@gnu.org>
2153 * time/tzfile.c (__tzfile_default): Set num_types to 2.
2155 1998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2157 * rt/aio.h: Move __aio_init to...
2158 * include/aio.h: ...here.
2160 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2162 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove duplicate
2163 definition of O_LARGEFILE.
2165 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2167 * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Use path
2168 as first argument to statfs.
2170 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2172 * sysdeps/generic/setenv.c (setenv): Add braces around ambiguous else.
2174 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2176 * malloc/mtrace.c: Include <string.h> for strlen.
2178 1998-10-24 Roland McGrath <roland@baalperazim.frob.com>
2180 * sysdeps/mach/hurd/bits/environments.h: New file.
2182 * sysdeps/mach/hurd/dl-sysdep.c (__getcwd): New weak function.
2184 * mach/Versions, hurd/Versions: Add numerous symbols.
2185 Remove libmachuser and libhurduser sections, punt
2186 versioning for those libraries for now.
2188 * misc/Versions: Add reboot here; it exists on all platforms.
2189 * sysdeps/unix/sysv/linux/Versions: Remove reboot here.
2191 1998-10-23 Ulrich Drepper <drepper@cygnus.com>
2193 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOFOLLOW): New
2195 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
2196 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
2197 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_LARGEFILE,
2198 O_NOFOLLOW, O_DIRECT): New macros.
2199 (O_DIRECTORY): Correct definition according to official 2.1.126.
2200 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECTORY,
2201 O_NOFOLLOW): New macros.
2203 1998-10-24 Roland McGrath <roland@baalperazim.frob.com>
2205 * include/ldsodefs.h: Test HAVE_ELF instead of __ELF__.
2207 * sysdeps/mach/hurd/opendir.c (__opendir): Return ENOENT for "".
2208 (__opendir): Add trailing slash to name for open, for ENOTDIR check.
2210 1998-10-23 Ulrich Drepper <drepper@cygnus.com>
2212 * sysdeps/unix/sysv/linux/i386/Dist: Add setresuid.c, setresgid.c,
2213 setfsuid.c, and setfsgid.c.
2214 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
2215 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
2216 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
2218 * version.h (VERSION): Bump to 2.0.99.
2220 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove duplicate
2223 * sysdeps/unix/sysv/linux/i386/Dist: Remove s_pread64.c and
2226 * posix/fnmath.h: Don't redefine __P when used in glibc.
2227 * posix/glob.h: Likewise.
2229 * inet/rcmd.c (__ivaliduser2): Fix memory leak.
2230 Patch by Dick Streefland <dick_streefland@tasking.com>.
2232 * stdio-common/tst-ungetc.c: Add more test cases.
2234 * sysdeps/unix/sysv/linux/Dist: Add linux_fsinfo.h.
2235 * sysdeps/unix/sysv/linux/fstatvfs.c: Move filesystem magic number
2237 * sysdeps/unix/sysv/linux/linux_fsinfo.h: ...here. New file.
2238 * sysdeps/unix/sysv/linux/fpathconf.c: New file.
2239 * sysdeps/unix/sysv/linux/pathconf.c: New file.
2240 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Handle _PC_LINK_MAX here.
2241 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
2243 1998-10-20 Philip Blundell <pb@nexus.co.uk>
2245 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Include
2246 <asm/ptrace.h> to define struct pt_regs.
2247 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Don't bother
2248 including <asm/ptrace.h> here.
2250 * sysdeps/unix/sysv/linux/arm/sysdep.S: Remove spurious call to
2251 C_SYMBOL_NAME macro.
2253 1998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2255 * sysdeps/generic/sys/ptrace.h (__ptrace_request): Remove comma at
2256 end of enumerator list.
2257 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Likewise.
2258 * posix/wordexp.h: Likewise.
2260 * db/db.h: Use __PMT instead of __P in typedefs.
2261 * db/mpool.h: Likewise.
2262 * sysdeps/generic/bits/siginfo.h: Likewise.
2263 * nis/rpcsvc/ypclnt.h: Likewise.
2265 1998-10-23 Ulrich Drepper <drepper@cygnus.com>
2267 * libio/genops.c (_IO_seekmark): When switching to backup buffer
2268 make sure all characters from the read buffer are read after
2269 switching back to it.
2271 1998-10-22 Ulrich Drepper <drepper@cygnus.com>
2273 * configure.in: Add support for Cygnus GNUPro compilers.
2275 1998-10-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2277 * stdio/stdio.h: Use __PMT instead of __P in typedefs.
2279 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use __PMT instead
2280 of __P for sa_restorer.
2281 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
2282 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
2283 kernel_sigaction, old_kernel_sigaction): Likewise.
2285 1998-10-22 Ulrich Drepper <drepper@cygnus.com>
2287 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add __syscall_pread
2288 and __syscall_pwrite aliases.
2290 * sunrpc/rpc/auth.h (AUTH_DH): New macro. Alias for AUTH_DES.
2292 * sysdeps/unix/sysv/linux/i386/sysdep.h: Drastically simplify and
2293 improve INLINE_SYSCALL using macro assembler magic.
2295 1998-10-22 H.J. Lu <hjl@gnu.org>
2297 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Add
2299 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
2301 * sysdeps/posix/fpathconf.c (__fpathconf): Set errno to
2302 EINVAL if errno == ENODEV. Tested by VSX-PCT.
2304 * sysdeps/posix/isatty.c (__isatty): Don't reset errno. Tested
2307 * posix/execvp.c (execvp): Check "". Tested by VSX-PCT.
2309 1998-10-22 Philip Blundell <pb@nexus.co.uk>
2311 * sysdeps/unix/arm/sysdep.h: Wrap assembler macros in #ifdef
2314 1998-10-21 Ulrich Drepper <drepper@cygnus.com>
2316 * sysdeps/unix/sysv/linux/i386/sysdep.h: Remove EXTRAVARS_* macros
2319 1998-10-21 14:38 Ulrich Drepper <drepper@cygnus.com>
2321 * sysdeps/unix/sysdep.h (INLINE_SYSCALL): New macro. Simply call
2322 __syscall_* function.
2323 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use INLINE_SYSCALL instead
2324 of calling __syscall_* function.
2325 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
2326 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
2327 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2328 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2329 * sysdeps/unix/sysv/linux/getpriority.c: Likewise.
2330 * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
2331 * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
2332 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
2333 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
2334 * sysdeps/unix/sysv/linux/poll.c: Likewise.
2335 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2336 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2337 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
2338 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2339 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2340 * sysdeps/unix/sysv/linux/readv.c: Likewise.
2341 * sysdeps/unix/sysv/linux/reboot.c: Likewise.
2342 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2343 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
2344 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2345 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2346 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
2347 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2348 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
2349 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
2350 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2351 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
2352 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
2353 * sysdeps/unix/sysv/linux/writev.c: Likewise.
2354 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
2355 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
2356 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
2357 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2358 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2359 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2360 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
2361 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
2362 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
2363 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2364 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
2365 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
2366 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
2368 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define INLINE_SYSCALL using
2370 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove various
2371 __syscall_* definitions.
2373 * sysdeps/unix/sysv/linux/syscalls.list: Move various __syscall_*
2375 * sysdeps/unix/sysv/linux/alpha/syscalls.list: ...here...
2376 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
2377 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
2378 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
2379 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
2380 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
2381 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
2383 * sysdeps/unix/sysv/linux/Makefile [subdir=signal] (sysdep_routines):
2384 Move definition to...
2385 * sysdeps/unix/sysv/linux/alpha/Makefile: ...here...
2386 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
2387 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
2388 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
2389 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
2390 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
2391 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
2393 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
2394 (sysdep_routines): Remove s_pread64 and s_pwrite64.
2396 * sysdeps/unix/sysv/linux/i386/pread.c: New file.
2397 * sysdeps/unix/sysv/linux/i386/pread64.c: New file.
2398 * sysdeps/unix/sysv/linux/i386/pwrite.c: New file.
2399 * sysdeps/unix/sysv/linux/i386/pwrite64.c: New file.
2400 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Removed.
2401 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Removed.
2403 1998-10-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2405 * sysdeps/unix/sysv/linux/siglist.h: Fix some typos in these files
2406 and bring them in synch.
2407 * sysdeps/unix/siglist.c: Likewise.
2408 Reported by Vladimir Michl <michlv@risc.upol.cz> [PR libc/832].
2410 1998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2412 * sysdeps/unix/sysv/linux/i386/setresuid.c: Allow -1 as arguments.
2413 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
2415 * sysdeps/unix/sysv/linux/i386/setreuid.c: New file.
2416 * sysdeps/unix/sysv/linux/i386/setregid.c: New file.
2417 * sysdeps/unix/sysv/linux/m68k/setreuid.c: New file.
2418 * sysdeps/unix/sysv/linux/m68k/setregid.c: New file.
2419 * sysdeps/unix/sysv/linux/arm/setreuid.c: New file.
2420 * sysdeps/unix/sysv/linux/arm/setregid.c: New file.
2421 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: New file.
2422 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: New file.
2423 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_setreuid and
2425 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
2426 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2427 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
2429 1998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2431 * sunrpc/rpc_main.c (close_output, close_input): New functions.
2432 (c_output, h_output, s_output, l_output, t_output, svc_output,
2433 clnt_output, mkfile_output): Call them at the end.
2435 1998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2437 * db/Makefile (LDFLAGS-db1.so): New variable, to avoid duplicating
2440 1998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2442 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Add real contents.
2443 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add s_setfs[ug]id.
2445 1998-10-20 Ulrich Drepper <drepper@cygnus.com>
2447 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_pread64 and
2449 * sysdeps/unix/sysv/linux/powerpc/pread.c: New file.
2450 * sysdeps/unix/sysv/linux/powerpc/pread64.c: New file.
2451 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: New file.
2452 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: New file.
2453 Patch by Geoffrey KEATING <geoffk@discus.anu.edu.au>.
2455 1998-10-18 Zack Weinberg <zack@rabi.phys.columbia.edu>
2457 * sysdeps/unix/opendir.c: Check at runtime for kernel support for
2460 1998-10-20 H.J. Lu <hjl@gnu.org>
2462 * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Fix
2465 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
2467 * math/tgmath.h: Make nested function calls work.
2469 * include/ldsodefs.h: Fix typo.
2471 * posix/Makefile (tests): Add tst-preadwrite.
2472 * posix/tst-preadwrite.c: New file.
2474 * sysdeps/unix/opendir.c (__opendir): Add back fstat call to make
2475 sure that descriptor is in any case for a directory.
2477 1998-10-19 18:59 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2479 * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG): Fix typo: val -> Val.
2480 (atan2): Takes two arguments.
2482 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
2484 * include/ldsodefs.h: New file.
2486 * iconv/gconv.c: Include ldsodefs.h, not elf/ldsodefs.h.
2487 Remove change to avoid using _CALL_DL_FCT.
2488 * iconv/gconv_db.c: Likewise.
2489 * iconv/gconv_dl.c: Likewise.
2490 * iconv/skeleton.c: Likewise, here for DL_CALL_FCT.
2491 * malloc/mtrace.c: Include ldsodefs.h, not elf/ldsodefs.h.
2492 * nss/nsswitch.c: Likewise.
2493 * nss/nsswitch.h: Likewise.
2495 1998-10-19 Philip Blundell <pb@nexus.co.uk>
2497 * sunrpc/Makefile (otherlibs): If static NSS is in use, set to the
2499 * login/Makefile (otherlibs): Likewise.
2500 * nscd/Makefile (otherlibs): Likewise.
2501 * Makeconfig (link-libc) [! build_shared]: Add $(otherlibs).
2503 * debug/Makefile (install-bin): Only build catchsegv if using ELF.
2505 * inet/Makefile: Add -DSTATIC_NSS to CFLAGS.
2507 1998-10-19 Philip Blundell <pb@nexus.co.uk>
2509 * sysdeps/unix/sysv/linux/arm/syscalls.list: Added setfsgid
2512 1998-10-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2514 * nscd/connections.c: Fix typos in comments and strings.
2516 * nscd/nscd.conf: Update according to recent changes to nscd.
2518 * nscd/cache.c (prune_cache): Remove wrong comment.
2520 1998-10-19 13:24 Ulrich Drepper <drepper@cygnus.com>
2522 * locale/programs/ld-collate.c (collate_startup): Clear bit for this
2523 category in copy_posix.
2524 (collate_finish): Don't warn about UNDEFINED not being defined.
2525 * locale/programs/ld-ctype.c (ctype_startup): Clear bit for this
2526 category in copy_posix.
2527 * locale/programs/ld-messages.c (messages_startup): Likewise.
2528 * locale/programs/ld-monetary.c (monetary_startup): Likewise.
2529 * locale/programs/ld-numeric.c (numeric_startup): Likewise.
2530 * locale/programs/ld-time.c (time_startup): Likewise.
2531 * locale/programs/localedef.c: Move copy_def_list_t definition into
2532 locales.h. Define copy_posix variable.
2533 (main): Before processing copy list add ©_posix to copy_list.
2534 * locale/programs/locales.h: Add definition of copy_def_list_t.
2535 * locale/programs/locfile.c: Clear bit for appropriate category in
2536 copy_posix.mask for copy instruction.
2538 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
2540 * sysdeps/unix/sysv/linux/i386/setresgid.c: Remove #include of
2541 non-existing file with generic implementation.
2542 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
2544 1998-10-19 Philip Blundell <pb@nexus.co.uk>
2546 * iconv/gconv_db.c: Include ELF header only if STATIC_GCONV is not
2547 defined. Avoid using _CALL_DL_FCT if it is not defined.
2548 * iconv/gconv.c: Likewise.
2550 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
2552 * nscd/connections.c (dbs): Define defualt values for timeouts and
2553 set enabled to 0 by default.
2554 (CACHE_PRUNE_INTERVAL): New constant. Use it instead of magical 15 in
2557 * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISCNTRL bit for
2559 (_nl_C_LC_CTYPE_class32): Likewise.
2562 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
2564 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
2565 _HURD_THREADVAR_DL_ERROR.
2567 * hurd/Makefile (user-interfaces): Add login, password.
2569 * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses.
2571 1998-08-06 Mark Kettenis <kettenis@phys.uva.nl>
2573 [submitted 1998-08-06]
2574 * mach/Machrules: Create target directory and force re-evaluation
2575 of Makefile to prevent `make' from optimizing away most of the
2576 implicit rules and `vpath' directives.
2578 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
2580 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): If _hurd_msgport_thread
2581 is null, short-circuit to __mach_msg.
2583 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): New function,
2584 broken out of init1.
2585 (init1) [PIC]: Call it.
2586 (__libc_init_first) [! PIC]: Call it.
2588 * sysdeps/mach/hurd/i386/init-first.c (init1): Don't call
2589 __libc_init_secure. Instead set __libc_enable_secure here from
2591 (__libc_enable_secure): New variable it.
2592 * sysdeps/mach/hurd/enbl-secure.c: New file, empty placeholder module.
2594 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
2596 * nscd/nscd-client.h: New file, broken out of "nscd.h".
2597 * nscd/nscd.h: Move defns needed by clients to "nscd-client.h",
2599 * nscd/Makefile (distribute): Add nscd-client.h.
2600 * nscd/nscd_getgr_r.c, nscd/nscd_gethst_r.c, nscd/nscd_getpw_r.c:
2601 Include "nscd-client.h" instead of "nscd.h"
2603 1998-10-18 Ulrich Drepper <drepper@cygnus.com>
2605 * sysdeps/posix/getcwd.c (__getcwd): Don't stop processing
2606 directory entries when a lstat call fails.
2607 Patch by Colin Plumb <colin@nyx.net>.
2609 * resolv/nss_dns/dns-host.c: Add missing errnop parameter to the
2611 * resolv/nss_dns/dns-network.c: Likewise.
2613 * grp/Makefile: Don't search for linuxthreads in add-ons, use
2614 have-thread-library to determine whether threads are available.
2615 * pwd/Makefile: Remove wrong comment.
2617 * inet/Makefile: Define CFLAGS-gethstbyad_r.c, CFLAGS-gethstbynm_r.c,
2618 and CFLAGS-gethstbynm2_r.c to -DUSE_NSCD=1.
2620 * locale/C-messages.c: Define default strings for YESTR and NOSTR.
2622 * nss/Versions: Add __nss_hosts_lookup.
2624 * nss/getXXbyYY.c: Remove unneeded assignment.
2626 * nss/getXXbyYY_r.c: Include nscd/nscd_proto.h only if needed.
2628 Almost complete rewrite of the NSCD to make it smaller, faster,
2629 add more functionnality and make it easier to extend.
2630 * nscd/Makfile (routines): Add nscd_gethst_r.
2631 (nscd-modules): Add hstcache, gethstbyad_r, gethstbynm2_r, and cache.
2632 * nscd/cache.c: New file.
2633 * nscd/gethstbyad_r.c: New file.
2634 * nscd/gethstbynm2_r.c: New file.
2635 * nscd/hstcache.c: New file.
2636 * nscd/nscd_gethst_r.c: New file.
2637 * nscd/connections.c: Rewritten. Don't start new thread for every
2638 new connection. Use a fixed set of threads which handle all
2639 connections and also the cache cleanup.
2640 * nscd/grpcache.c: Rewritten to use generic cache handling functions
2642 * nscd/nscd.c: Recognize new parameter nthreads. Adjust initialization
2643 for rewrite. Remove handle_requests function.
2644 * nscd/nscd.h (NSCD_VERSION): Bump to 2.
2645 Define new data structure for the new unified cache and the host
2647 * nscd/nscd_conf.c: Rewrite parsing partly to allow adding of more
2648 databases easily. Recognize check-files and threads definitions.
2649 * nscd/nscd.conf: Add definition of enable-cache and check-files to
2650 passwd and group definitions. Add new set of definitions for hosts.
2651 * nscd/nscd_getgr_r.c: Rewrite for new protocol.
2652 * nscd/nscd_getpw_r.c: Likewise.
2653 * nscd/nscd_proto.h: Add prototype for host database functions.
2654 * nscd/nscd_stat.c: Rewrite to simplify printing of information
2656 * nscd/dbg_log.c: Remove unnecessary variable initializations.
2657 Global variable debug_flag is renamed to dbg_level.
2658 * nscd/dbg_log.h: Declare set_logfile.
2660 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
2662 * sysdeps/unix/sysv/linux/bits/fcntl.h: Add dummy definition of
2665 1998-10-16 Paul Eggert <eggert@shade.twinsun.com>
2667 * time/mktime.c: Some systems require <unistd.h> to be
2668 included before <time.h> for localtime_r to be declared
2670 * time/strftime.c: Likewise.
2672 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
2674 * db/Makefile: Add rule to generate shared object with the soname
2677 * sysdeps/unix/opendir.c: Use O_DIRECTORY if available. If not
2678 available double check to verify it's a directory.
2680 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add O_DIRECTORY.
2681 * sysdeps/unix/sysv/linux/mips/bits/fcntl: Likewise.
2682 * sysdeps/unix/sysv/linux/bits/fcntl.h: Remove O_* constants which
2683 are not generally available.
2684 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: New file.
2686 * sysdeps/unix/sysv/linux/i386/setgroups.c: Add range check for values.
2687 * sysdeps/unix/sysv/linux/arm/Makefile: New file.
2688 * sysdeps/unix/sysv/linux/arm/setegid.c: New file.
2689 * sysdeps/unix/sysv/linux/arm/seteuid.c: New file.
2690 * sysdeps/unix/sysv/linux/arm/setfsgid.c: New file.
2691 * sysdeps/unix/sysv/linux/arm/setfsuid.c: New file.
2692 * sysdeps/unix/sysv/linux/arm/setgid.c: New file.
2693 * sysdeps/unix/sysv/linux/arm/setgroups.c: New file.
2694 * sysdeps/unix/sysv/linux/arm/setresgid.c: New file.
2695 * sysdeps/unix/sysv/linux/arm/setresuid.c: New file.
2696 * sysdeps/unix/sysv/linux/arm/setuid.c: New file.
2697 * sysdeps/unix/sysv/linux/i386/setegid.c: New file.
2698 * sysdeps/unix/sysv/linux/i386/seteuid.c: New file.
2699 * sysdeps/unix/sysv/linux/i386/setfsgid.c: New file.
2700 * sysdeps/unix/sysv/linux/i386/setfsuid.c: New file.
2701 * sysdeps/unix/sysv/linux/i386/setgid.c: New file.
2702 * sysdeps/unix/sysv/linux/i386/setgroups.c: New file.
2703 * sysdeps/unix/sysv/linux/i386/setresgid.c: New file.
2704 * sysdeps/unix/sysv/linux/i386/setresuid.c: New file.
2705 * sysdeps/unix/sysv/linux/i386/setuid.c: New file.
2706 * sysdeps/unix/sysv/linux/m68k/setegid.c: New file.
2707 * sysdeps/unix/sysv/linux/m68k/seteuid.c: New file.
2708 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: New file.
2709 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: New file.
2710 * sysdeps/unix/sysv/linux/m68k/setgid.c: New file.
2711 * sysdeps/unix/sysv/linux/m68k/setgroups.c: New file.
2712 * sysdeps/unix/sysv/linux/m68k/setresgid.c: New file.
2713 * sysdeps/unix/sysv/linux/m68k/setresuid.c: New file.
2714 * sysdeps/unix/sysv/linux/m68k/setuid.c: New file.
2715 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
2716 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
2717 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: New file.
2718 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: New file.
2719 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: New file.
2720 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
2721 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file.
2722 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file.
2723 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: New file.
2725 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add s_setgid, s_setresuid,
2726 s_setresgid, and s_setuid.
2727 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
2728 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
2729 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
2730 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
2731 (sysdep_routines): Add setfsgid, setfsuid, setresgid, and setresuid.
2732 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
2733 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
2735 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
2737 * time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get
2738 localtime_t declaration on some systems.
2740 1998-10-16 10:07 Ulrich Drepper <drepper@cygnus.com>
2742 * iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to
2744 * iconv/skeleton.c: Include ELF header only of STATIC_GCONV is not
2745 defined. Avoid using DL_CLL_FCT if it is not defined.
2747 1998-10-16 10:40 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2749 * resolv/arpa/nameser.h: Include sys/types.h unconditionally.
2750 Include endian.h unconditionally. Remove portability goop
2751 depending on #ifdef linux, #ifdef BSD, #ifdef machine-type.
2753 1998-10-16 11:39 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2755 * sunrpc/rpc/types.h: Mark file so fixincludes won't modify it.
2757 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
2759 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios
2760 again. Use char[44] to define size of the struct.
2762 * sysdeps/unix/sysv/linux/arm/Dist: Add bits/armsigctx.h.
2764 1998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2766 * string/bits/string2.h (strcmp): Don't cache the result of
2767 __builtin_constant_p in variables, otherwise constant folding
2768 can fail in big functions.
2770 1998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2772 * string/bits/string2.h: Add prototypes for the new inline
2775 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
2777 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to
2778 have all types defined.
2779 Patch by Matti Aarnio <matti.aarnio@sonera.fi>.
2781 1998-10-08 Paul Eggert <eggert@twinsun.com>
2783 * time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r.
2784 Define also if HAVE_LOCALTIME_R && defined localtime_r, with
2785 a body that merely expands localtime_r; this works around a
2786 bug in Digital Unix 4.0A and 4.0D.
2788 1998-10-14 Ulrich Drepper <drepper@cygnus.com>
2790 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl.
2791 * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define
2792 __ioctl to __syscall_ioctl and include Linux version of this file.
2793 * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
2794 * sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file. Redirect
2795 ioctl calls which handle struct termios.
2796 Based on a patch by Dan Jacobowitz <drow@false.org>.
2798 1998-10-14 Ulrich Drepper <drepper@cygnus.com>
2800 * version.h (VERSION): Bump to 2.0.98.
2802 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios
2803 here instead of including kernel_termios.h.
2805 1998-10-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2807 * sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is
2808 unnecessary after the changes of 1998-10-12.
2810 1998-10-13 Ulrich Drepper <drepper@cygnus.com>
2812 * sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output
2813 parameter format string.
2814 (inline_outw): Likewise.
2816 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include
2817 string.h to get memcpy prototype and NULL definition.
2819 1998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2821 * misc/sys/cdefs.h (__THROW): New macro.
2822 * argp/argp.h: Use it to replace the kludgey __P in inline
2823 function definitions.
2824 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2825 * stdlib/stdlib.h: Likewise.
2826 * wcsmbs/wchar.h: Likewise.
2827 * libio/stdio.h: Likewise.
2828 * stdio/stdio.h: Likewise.
2829 * sysdeps/wordsize-64/inttypes.h: Likewise.
2830 * sysdeps/wordsize-32/inttypes.h: Likewise.
2831 * string/argz.h: Likewise.
2832 * io/sys/stat.h: Likewise.
2834 1998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2836 * Rules (stdio_lim): New variable.
2837 ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend
2838 on Rules and config.make, use $(move-if-change) to avoid unnessary
2839 recompilations, and cleanup command.
2840 (common-generated): Add bits/stdio_lim.st.
2842 1998-10-12 Ulrich Drepper <drepper@cygnus.com>
2844 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): New
2845 variable to prevent warnings from use of modern CPU instructions.
2846 Patch by Richard Henderson <rth@cygnus.com>.
2848 * sysdeps/unix/opendir.c: Test whether NAME is directory before
2851 1998-10-12 Philip Blundell <pb@nexus.co.uk>
2853 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Add missing
2854 semicolon so that profiling works.
2856 1998-10-12 Roland McGrath <roland@baalperazim.frob.com>
2858 * sysdeps/generic/glob.c: #undef mempcpy before #define.
2860 * sysdeps/unix/bsd/clock.c: Use prototype defns.
2862 1998-10-11 Ulrich Drepper <drepper@cygnus.com>
2864 * Rules [posix in sysdirs]: Set L_tmpnam to 20.
2865 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
2867 * string/bits/string2.h [!_STRING_ARCH_unaligned]
2868 (__mempcpy_small): Add parameter for 1 byte copy and use it.
2869 Reported by Geoff Keating <geoffk@ozemail.com.au>.
2871 1998-10-09 Mark Kettenis <kettenis@phys.uva.nl>
2873 * sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove,
2874 it is already defined in <bits/environments.h>.
2876 1998-10-09 Ulrich Drepper <drepper@cygnus.com>
2878 * posix/ptestcases.h: Fix typo.
2880 1998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2882 * posix/regex.c (regcomp): Allocate and prepare a fastmap.
2883 (regexec): Allocate regs.start and regs.end as one block.
2885 1998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2887 * sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of
2890 1998-10-08 Philip Blundell <pb@nexus.co.uk>
2892 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of
2893 sigcontext union to ...
2894 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here. New
2896 * sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for
2897 version 2.0 kernels.
2899 1998-10-08 Ulrich Drepper <drepper@cygnus.com>
2901 * malloc/mtrace.c (tr_reallochook): Produce better output for real
2904 * signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined.
2905 * argp/argp-xinl.c: Likewise.
2907 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing
2909 Patch by Christian Gafton.
2911 1998-10-08 Paul Eggert <eggert@twinsun.com>
2913 * time/mktime.c (__mktime_internal): When the requested time falls
2914 in a spring-forward gap of size DT, return a time that is DT away
2915 from the requested time, preferring a time whose tm_isdst differs
2916 from the requested value. Bump the max number of probes from 4 to
2917 6 to account for the extra probes needed to discover a
2918 spring-forward gap in the worst case.
2920 1998-10-07 17:05 Ulrich Drepper <drepper@cygnus.com>
2922 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection
2923 of the weird alpha architectures.
2924 Patch by Cristian Gafton <gafton@redhat.com>.
2926 1998-02-18 23:31 Richard Henderson <rth@cygnus.com>
2928 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
2929 RAWHIDE and TSUNAMI. Patch from Jay.Estabrook@digital.com.
2931 1998-10-07 Ulrich Drepper <drepper@cygnus.com>
2933 * elf/dl-open.c (_dl_global_scope_alloc): Make global.
2934 (dl_open_worker): Use realloc, not malloc to resize array.
2935 * elf/rtld.c (_dl_initial_searchlist): New variable.
2936 (_dl_main): Copy content of _dl_main_searchlist to
2937 _dl_initial_searchlist.
2938 * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and
2939 _dl_global_scope_alloc.
2940 * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist.
2941 * elf/dl-close.c (_dl_close): When removing object with global
2942 scope remove allocated searchlist if no dynamically loaded object
2944 * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope.
2945 (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist.
2947 * malloc/mtrace.c (tr_where): Don't print space in location string,
2948 print it afterwards. Print better symbol name information.
2950 1998-10-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2952 * manual/filesys.texi (Setting Permissions): Fix example for
2955 1998-10-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2957 * elf/sprof.c (load_profdata): Fix typo in error message.
2959 1998-10-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2961 * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
2964 1998-10-04 Roland McGrath <roland@baalperazim.frob.com>
2966 * mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it.
2968 1998-10-06 Ulrich Drepper <drepper@cygnus.com>
2970 * version.h (VERSION): Bump to 2.0.97.
2972 1998-10-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2974 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P
2975 in definitions of inline stat functions so that they match the
2977 * stdlib/stdlib.h: Likewise.
2978 * wcsmbs/wchar.h: Likewise.
2979 * libio/stdio.h: Likewise.
2980 * stdio/stdio.h: Likewise.
2981 * sysdeps/wordsize-64/inttypes.h: Likewise.
2982 * sysdeps/wordsize-32/inttypes.h: Likewise.
2983 * string/argz.h: Likewise.
2984 * argp/argp.h: Likewise.
2986 1998-10-06 Ulrich Drepper <drepper@cygnus.com>
2988 * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
2991 1998-10-05 Philip Blundell <philb@gnu.org>
2993 * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures
2994 and constants. Tidy up formatting a little.
2996 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6):
2997 Move definitions to in.h.
2999 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3001 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER,
3002 SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added.
3003 Remove inclusion of <linux/swap.h>.
3005 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
3007 * io/sys/stat.h: Use __P in definitions of inline stat functions
3008 so that they match the declaration.
3010 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3012 * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added.
3014 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3016 * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current
3019 1998-10-02 Philip Blundell <pb@nexus.co.uk>
3021 * sysdeps/arm/dl-machine.h: Fix typo in last change.
3023 * sysdeps/arm/bits/huge_val.h: New file.
3025 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3027 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added.
3029 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add
3032 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
3034 * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to
3035 store result of realloc instead of using BUF.
3037 1998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3039 * misc/sgtty.h (_SGTTY_H): Correct spelling.
3040 Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817].
3042 1998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3044 * manual/memory.texi (Obstacks): Document
3045 obstack_alloc_failed_handler usage.
3047 * malloc/obstack.h: Enhance comment about
3048 obstack_alloc_failed_handler usage.
3049 * malloc/obstack.c: Likewise.
3051 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
3053 * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or
3054 gcc before 2.8 is used.
3056 1998-10-01 Philip Blundell <pb@nexus.co.uk>
3058 * sysdeps/arm/machine-gmon.h: Correct args to mcount(). Patch
3059 from Scott Bambrough.
3061 * sysdeps/unix/sysv/linux/arm/register-dump.h: New file.
3063 * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
3064 include the lock member.
3066 1998-09-03 Philip Blundell <pb@nexus.co.uk>
3068 * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.
3070 1998-10-01 Ulrich Drepper <drepper@cygnus.com>
3072 * timezone/zic.c: Update from tzcode1998h.
3073 * timezone/europe: Update from tzdata1998i.
3074 * timezone/southamerica: Likewise.
3076 * sys/types.h: Protect use of long long by __extension__.
3077 * stdlib/stdlib.h: Likewise.
3078 * string/string.h: Likewise.
3079 * sysdeps/i386/bits/byteswap.h: Likewise.
3080 * sysdeps/geeric/bits/byteswap.h: Likewise.
3081 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
3082 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
3083 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
3084 * sysdeps/wordsize-32/inttypes.h: Likewise.
3085 * sysdeps/wordsize-32/stdint.h: Likewise.
3086 * wcsmbs/wchar.h: Likewise.
3088 1998-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3090 * string/bits/string2.h (__string2_1bptr_p): Don't use a statement
3092 (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
3093 __strsep): Greatly reduce size of expansion by combining common
3095 (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
3097 (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
3098 by the above definitions.
3100 1998-09-27 Geoff Keating <geoffk@ozemail.com.au>
3102 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
3103 correct struct ipc_perm definition.
3105 1998-09-29 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3107 * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.
3109 1998-09-29 Cristian Gafton <gafton@redhat.com>
3111 * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
3112 * sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
3113 * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
3114 * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
3115 Add net/if_shaper.h.
3117 1998-09-29 Ulrich Drepper <drepper@cygnus.com>
3119 * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.
3121 * nis/ypclnt.c: Remove not needed close calls.
3123 1998-09-28 23:55 Ulrich Drepper <drepper@cygnus.com>
3125 * nis/ypclnt.c (__yp_bind): Pretty print. Optimize readv result
3126 check a bit. Also close socket of domain client. Close socket
3127 in IPPORT_RESERVED error case.
3129 1998-09-28 Ulrich Drepper <drepper@cygnus.com>
3131 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
3132 CMSG_ALIGN (fixes a bug) and correct test for availability of
3134 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
3136 (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
3137 availability of another entry.
3140 * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
3143 * libio/libio.h [!__STDC__]: Define const only if not defined.
3145 1998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3147 * posix/annexc.c (xsystem): New function. Use it instead of
3150 1998-09-28 Ulrich Drepper <drepper@cygnus.com>
3152 * stdlib/longlong.h: Remove #endif for #if removed in last change.
3154 1998-09-25 Ulrich Drepper <drepper@cygnus.com>
3156 * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
3157 Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
3158 allow using `ut' parameter.
3159 [!emacs]: Define ut_argument, ut_argument_spec, and
3160 ut_argument_spec_iso as empty. Define ut to 0. Add ut_argument and
3161 argument_spec to prototypes and definitions.
3162 (my_strftime): Don't call tzset of ut != 0.
3163 Compute diff as 0 is ut != 0;
3164 [emacs]: Define new emacs_strftime function.
3165 Based on a patch by Paul Eggert.
3167 1998-09-24 Paul Eggert <eggert@twinsun.com>
3169 * time/strftime.c (my_strftime): When asking for the length of the
3170 subformatted buffer, do not limit the length to look for;
3171 otherwise, we have no reliable way to distinguish between the
3172 empty buffer and an error.
3174 1998-09-25 Ulrich Drepper <drepper@cygnus.com>
3176 * math/Makefile (gmp-objs): Add mp_clz_tab.
3178 1998-09-25 David S. Miller <davem@pierdol.cobaltmicro.com>
3180 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
3182 * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
3183 cpus lacking hardware multiply and divide.
3185 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3187 * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
3190 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3192 * db/btree/bt_delete.c: Fix -Wparentheses warning.
3194 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3196 * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
3199 1998-09-24 Ulrich Drepper <drepper@cygnus.com>
3201 * debug/catchsegv.sh: Also produce output if clone process died.
3203 1998-09-24 Paul Eggert <eggert@twinsun.com>
3205 * time/strftime.c (f_wkday): Remove duplicate definition.
3206 (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
3207 !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
3208 1998-09-11 fix to this case.
3209 (wkday_len, month_len): Remove these macros; they're no longer needed.
3211 1998-09-24 Paul Eggert <eggert@twinsun.com>
3213 * time/strftime.c (my_strftime): Don't store past the end of a
3216 1998-09-24 Paul Eggert <eggert@twinsun.com>
3218 * time/strftime.c (underlying_strftime):
3219 Set the buffer to a nonzero value before calling
3220 strftime, and check to see whether strftime has set the buffer to zero.
3221 This lets us distinguish between an empty buffer and an error.
3223 1998-09-24 Paul Eggert <eggert@shade.twinsun.com>
3225 * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
3226 This fix is propagated from tzcode1998g.tar.gz.
3228 1998-09-24 Mark Kettenis <kettenis@phys.uva.nl>
3230 * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
3231 _sys_siglist. [!HAVE_GNU_LD]: Do not define _sys_siglist as
3232 sys_siglist. This is handled correctly by the weak_alias macro.
3234 1998-09-24 Ulrich Drepper <drepper@cygnus.com>
3236 * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
3237 of mempcpy. Reported by Andreas Jaeger.
3239 * misc/regexp.h (compile): Use alloca instead of __alloca. It won't
3240 pollute the namespace since the compiler will resolve it inline.
3241 Reported by Florian La Roche <florian@suse.de>.
3243 1998-09-24 10:29 Ulrich Drepper <drepper@cygnus.com>
3245 * timezone/private.h: Update from tzcode1998g.
3247 * timezone/africa: Update from tzdata1998h.
3248 * timezone/asia: Likewise.
3249 * timezone/australasia: Likewise.
3250 * timezone/europe: Likewise.
3251 * timezone/northamerica: Likewise.
3252 * timezone/southamerica: Likewise.
3253 * timezone/zone.tab: Likewise.
3255 1998-09-23 17:28 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3257 * misc/sys/mman.h: New file.
3259 * sysdeps/generic/bits/mman.h: New file.
3260 * sysdeps/unix/bsd/osf/bits/mman.h: New file.
3261 * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
3262 * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
3263 * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
3265 * sysdeps/generic/sys/mman.h: Removed.
3266 * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
3267 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
3268 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
3269 * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
3270 * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
3272 * include/sys/mman.h: Look directly for misc/sys/mman.h.
3273 * misc/Makefile (headers): Add bits/mman.h.
3274 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
3277 * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
3278 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
3279 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
3280 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
3281 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
3282 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
3283 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
3284 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
3286 1998-09-23 16:27 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3288 * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
3289 * sysdeps/mach/alpha/thread_state.h: Likewise.
3290 * sysdeps/mach/i386/sysdep.h: Likewise.
3291 * sysdeps/mach/i386/thread_state.h: Likewise.
3292 * sysdeps/mach/mips/sysdep.h: Likewise.
3293 * sysdeps/mach/mips/thread_state.h: Likewise.
3294 * sysdeps/posix/profil.c: Likewise.
3295 * sysdeps/i386/i586/memcopy.h: Likewise.
3296 * sysdeps/mach/pagecopy.h: Likewise.
3298 1998-09-23 15:25 Ulrich Drepper <drepper@cygnus.com>
3300 * libio/stdio.h: Define __need_getopt and include getopt.h to define
3302 * posix/unistd.h: Likewise.
3303 * stdio/stdio.h: Likewise.
3304 * posix/getopt.h: Remove _GNU_SOURCE use. If __need_getopt is defined
3305 define only getopt and the variables.
3307 1998-09-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3309 * scripts/test-installation.pl (installation_problem): Don't link
3310 the test program against libdb1.
3312 1998-09-23 13:52 Ulrich Drepper <drepper@cygnus.com>
3314 * Makeconfig (all-subdirs): Add db.
3315 * Versions.def: Add definition for libdb1.
3316 * shlib-versions: Add definitions for libdb1.
3317 * db/Makefile (extra-libs): Replace by libdb1.
3318 (libdb-routines): Rename to libdb1-routines.
3319 (headers): Rename to db1-headers.
3320 (distribute): Add $(db1-headers).
3321 (install-others): Define to install symlink libdb.so.NN and the
3323 (CPPFLAGS): Add -DUSE_LIBDB1
3324 Remove rules to build makedb.
3325 * db/Versions: Rename libdb to libdb1.
3326 * include/db.h: If USE_LIBDB1 is defined include db/db.h.
3327 * db/makedb.c: Removed.
3329 * scripts/versions.awk: Recognize digits in library names.
3331 * db/btree/bt_open.c: Fix compiler warnings.
3332 * db/btree/bt_put.c: Likewise.
3333 * db/btree/bt_split.c: Likewise.
3334 * db/hash/hash.c: Likewise.
3335 * db/hash/hash_bigkey.c: Likewise.
3336 * db/recno/rec_close.c: Likewise.
3338 * Makefile: Add localedata/% goal.
3340 1998-09-22 19:58 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3342 * posix/execvp.c: Don't give up searching the PATH if execve
3345 1998-09-22 12:53 Ulrich Drepper <drepper@cygnus.com>
3347 * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
3348 if _dl_fpu_control_set is set.
3349 * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
3350 * elf/rtld.c: Don't define _dl_fpu_control_set.
3351 * elf/Versions: Remove _dl_fpu_control_set.
3353 1998-09-22 11:51 Ulrich Drepper <drepper@cygnus.com>
3355 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
3356 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
3357 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
3358 Correct values of other SA_* macros according to kernel headers.
3360 1998-09-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3362 * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
3364 * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
3367 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3369 * elf/ldsodefs.h: Fix typo in comment.
3371 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3373 * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
3374 char when comparing buffer contents with putback character.
3376 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3378 * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
3380 * elf/Versions: Undo last change. Export _dl_fpu_control and
3381 _dl_fpu_control_set.
3382 * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
3383 variables. Include <fpu_control.h>.
3384 * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
3385 _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
3386 to indicate that is was seen.
3387 * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
3388 only if _dl_fpu_control was set and is equal to desired value.
3389 * math/Makefile (aux): Undo last change.
3390 * math/Versions: Export __fpu_control with version GLIBC_2.0.
3392 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3394 * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
3397 1998-09-21 10:00 Ulrich Drepper <drepper@cygnus.com>
3399 * string/bits/string2.h: Add mempcpy optimization.
3400 * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
3401 * intl/localealias.c: Define mempcpy only if not already defined.
3403 * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
3406 1998-09-20 10:48 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3408 * csu/abi-note.S: Emit the note directly instead of defining
3409 a preprocessor macro that's only used once. Don't include sysdep.h.
3410 * abi-tags: Generalize Solaris entry.
3412 1998-09-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3414 * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
3415 Change to array to avoid runtime relocation.
3416 * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
3418 1998-09-21 12:22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3420 * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
3421 * math/Makefile ($(objpfx)libieee.a): Likewise.
3423 1998-09-21 Ulrich Drepper <drepper@cygnus.com>
3425 * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
3426 Patch by John Tobey <jtobey@banta-im.com>.
3428 1998-09-20 Ulrich Drepper <drepper@cygnus.com>
3430 * login/Makefile (distribute): Remove pty-internal.h, add
3433 * stdlib/tst-strtol.c: Add more checks.
3434 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
3436 1998-09-20 09:37 Ulrich Drepper <drepper@cygnus.com>
3438 * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
3439 * elf/elf.h: Add AT_FPUCW.
3440 * elf/Makefile (dl-routines): Add fpu_control.
3441 (elide-routines.os): Add fpu_control.
3442 (rtld-routines): Add fpu_control.
3443 * math/Makefile (aux): Remove fpu_control.
3444 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
3445 (_dl_show_auxv): Likewise.
3446 * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
3447 if different from OS default.
3449 * stdio-common/tstscanf.c: Add test case for (nil).
3451 1998-09-18 17:41 Ulrich Drepper <drepper@cygnus.com>
3453 * libio/fileops.c (_IO_new_file_underflow): Before allocating
3454 buffer make sure the pushback buffer is destroyed.
3455 (_IO_new_file_seekoff): Likewise.
3456 If mode==0 quit early with the result.
3457 Clear OEF flag after successful fseek.
3458 * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
3459 * libio/ftello.c (ftello): Add offset from original buffer if
3460 stream has pushed back characters.
3461 * libio/ftello64.c (ftello64): Likewise.
3462 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
3463 * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
3464 * libio/ioftell.c (_IO_ftell): Likewise.
3465 * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
3467 (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
3468 (_IO_default_pbackfail): Only stored push back character in original
3469 buffer if it is the same as the one in the file at this position.
3470 * libio/iofclose.c: Free backup buffer if one is available.
3471 * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
3474 * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
3476 * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
3478 * stdio-common/vfscanf.c: Fix reading (nil) for %p.
3480 1998-09-18 Mark Kettenis <kettenis@phys.uva.nl>
3482 * login/programs/pt_chown.c (more_help): Correct message that
3483 describes the purpose of the program.
3485 * login/openpty.c: Do not include pty-private.h.
3486 (pts_name): New function. Return name of slave pseudo terminal in
3487 an allocated buffer if necessary.
3488 (openpty): Use pts_name to get name of the slave end of the pseudo
3491 * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
3492 pts_name before return.
3494 1998-09-18 11:15 Ulrich Drepper <drepper@cygnus.com>
3496 * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
3498 1998-09-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3500 * login/openpty.c: Include pty-private.h instead of
3503 1998-09-09 Philip Blundell <pb@nexus.co.uk>
3505 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
3507 1998-09-07 Philip Blundell <pb@nexus.co.uk>
3509 * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
3510 recent ld.so changes.
3511 (elf_machine_runtime_setup): Correct behaviour when profiling.
3513 1998-09-17 19:34 Ulrich Drepper <drepper@cygnus.com>
3515 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
3516 Patch by John Tobey <jtobey@banta-im.com>.
3518 1998-09-17 Mark Kettenis <kettenis@phys.uva.nl>
3520 * login/pty-internal.h: Removed. Moved constants related to the
3521 `grantpt' helper program protocol to ...
3522 * login/pty-private.h: ... here. New file.
3523 * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
3524 to make the function work with kernels >= 2.1.115.
3525 * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
3526 version if using the cloning device fails.
3527 * sysdeps/unix/sysv/linux/grantpt.c: New file.
3528 * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
3529 * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
3530 use by Linux specific code.
3531 * sysdeps/unix/bsd/unlockpt.c: General cleanup.
3532 * sysdeps/unix/grantpt.c: Largely rewritten. (pts_name): New
3533 function. (grantpt): Use pts_name, check group and permission
3534 mode in addition to owner. Try to set the owner, group and
3535 permission mode first without invoking the helper program.
3536 * login/programs/pt_chown.c: Largely rewritten. Add argp and
3537 internationalization support. Use symbolic constants instead of
3538 hardwired numbers for permission mode.
3539 * sysdeps/unix/bsd/ptsname.c: New file.
3541 1998-09-17 22:04 Tim Waugh <tim@cyberelk.demon.co.uk>
3543 * posix/wordexp-test.c: Undo last change.
3545 * posix/wordexp.c: Undo last change.
3547 1998-09-16 Ulrich Drepper <drepper@cygnus.com>
3549 * nscd/grpcache.c (save_grp): Partly undo last change.
3551 * nscd/pwdcache.c (save_pwd): Undo last change.
3553 1998-09-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3555 * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
3556 function. Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
3558 1998-09-15 David S. Miller <davem@pierdol.cobaltmicro.com>
3560 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
3561 Add profiling support.
3562 (TRAMPOLINE_TEMPLATE): New macro.
3563 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
3564 (RTLD_START): Prettify, and set __libc_stack_end properly.
3565 (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
3566 and check for sym being NULL instead.
3567 * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
3569 * sysdeps/sparc/sparc64/lshift.S: Likewise.
3570 * sysdeps/sparc/sparc64/mul_1.S: Likewise.
3571 * sysdeps/sparc/sparc64/rshift.S: Likewise.
3572 * sysdeps/sparc/sparc64/submul_1.S: Likewise.
3573 * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
3574 MEDANY code model %g4 usage.
3575 * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
3576 MEDANY code model %g4 usage.
3577 * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
3578 code model address formation.
3579 * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
3580 include elf/ldsodefs.h
3582 (elf_machine_matches_host): It is now EM_SPARCV9.
3583 (elf_machine_dynamic): Clean up to remove ugly cast.
3584 (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
3586 (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
3587 Prettify rest of function.
3588 [R_SPARC_COPY]: Check for sym being NULL.
3589 [R_SPARC_32]: Handle it.
3590 [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
3592 [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
3594 [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
3595 (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
3596 Add profiling support.
3597 (TRAMPOLINE_TEMPLATE): New macro.
3598 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
3599 (RTLD_START): Prettify and set __libc_stack_end.
3600 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
3602 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
3603 (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
3604 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
3605 unused variable scratch.
3606 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3607 (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
3609 (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
3610 stub to rt_sigaction syscalls. Rewrite non-rt case to use correct
3611 old format kernel sigaction structures.
3612 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
3613 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
3614 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
3615 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
3617 (_JMPBUF_UNWINDS): Define.
3618 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
3619 statfs64 structure, which is exactly the same as the normal one.
3620 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
3621 of stack. Use correct syscall trap number. Add branch prediction
3622 settings to branch instructions. Remove old MEDANY code model %g4
3623 referneces for non-PIC.
3624 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
3625 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
3626 * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
3627 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
3628 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3629 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
3630 __libc_longjmp and __libc_siglongjmp strong aliases.
3631 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
3632 Also define to __no__readdir64_decl around readdir.c inclusion.
3633 (__readdir64): Add strong alias.
3634 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
3635 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
3636 Set strong and weak names properly.
3638 1998-09-16 11:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3640 * manual/Makefile (AWK): Default to gawk if standalone.
3642 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3644 * Makefile (distribute): Undo last change.
3645 * Make-dist (+tsrc) [not subdir]: Also include indirection headers
3647 (+subdir-headers): Removed, unused.
3649 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3651 * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
3654 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3656 * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
3657 absolute name in $(config-sysdirs), can never happen.
3658 ($(+sysdir_pfx)sysd-rules): Likewise.
3659 * Makeconfig (full-config-sysdirs): Likewise.
3660 (all-Subdirs-files): Prepend $(..).
3662 * configure.in: Don't check for absolute name in $add_ons_pfx, can
3663 not happen. Let --enable-add-ons=yes work if no add-ons actually
3666 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3668 * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
3669 continuations in command.
3671 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3673 * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
3675 1998-09-16 00:47 Tim Waugh <tim@cyberelk.demon.co.uk>
3677 * posix/wordexp-test.c: If expansion or substitution occurs
3678 anywhere in a word, the entire word is subject to field-splitting.
3680 * posix/wordexp.c (parse_glob): Look for end of word instead of
3681 end of field when deciding what to glob.
3682 (field_split_word): New function, now the only place where
3683 field-splitting is performed.
3684 (parse_dollars): New parameter - tell the caller if
3685 field-splitting should be performed on this word.
3687 * posix/wordexp-test.c (testit): Only call wordfree if wordexp
3688 succeeded (or failed with WRDE_NOSPACE).
3690 1998-09-15 19:53 1998 Tim Waugh <tim@cyberelk.demon.co.uk>
3692 * posix/wordexp.c (wordexp): Don't convert IFS characters to
3695 * posix/wordexp-test.c: Words not the result of expansion or
3696 substitution should remain unchanged.
3698 1998-09-15 Ulrich Drepper <drepper@cygnus.com>
3700 * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
3701 (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
3703 1998-09-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3705 * stdio-common/Makefile: Include Makeconfig so that
3706 $(inst_includedir) is defined.
3708 1998-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3710 * io/pwd.c: Include <mcheck.h>.
3712 1998-09-15 08:00 Ulrich Drepper <drepper@cygnus.com>
3714 * nscd/pwdcache.c (save_pwd): Correct copying.
3715 * nscd/grpcache.c (save_grp): Likewise.
3717 1998-09-14 23:36 Ulrich Drepper <drepper@cygnus.com>
3719 * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
3720 (free_pwd): Adjust for this change.
3721 * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
3722 (free_grp): Adjust for this change.
3724 1998-09-14 Ulrich Drepper <drepper@cygnus.com>
3726 * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
3728 1998-09-14 15:29 Ulrich Drepper <drepper@cygnus.com>
3730 * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
3731 (install-others): Add bits/stdio_lim.h.
3732 Add rule to install bits/stdio_lim.h.
3734 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
3736 * Makefile (distribute): Add include/sys/mman.h.
3738 * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
3739 * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
3740 * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
3742 * grp/initgroups.c: Include stdlib.h.
3743 Patch by Zack Weinberg.
3745 1998-09-14 22:46 Tim Waugh <tim@cyberelk.demon.co.uk>
3747 * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
3748 for field-splitting :abc: is correct, and that two fields should
3749 result. Revert tests to reflect this.
3751 * posix/wordexp.c (w_emptyword): Remove function.
3752 (exec_comm): Don't use w_emptyword.
3753 (parse_param): Likewise.
3755 1998-09-14 15:00 Ulrich Drepper <drepper@cygnus.com>
3757 * sysdeps/arm/fpu/Dist: Moved to...
3758 * sysdeps/arm/Dist: ...here.
3759 * sysdeps/posix/Dist: Removed.
3760 * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
3761 * sysdeps/unix/sysv/linux/i386/Dist: ...here.
3763 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
3765 * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
3767 1998-09-14 11:26 Ulrich Drepper <drepper@cygnus.com>
3769 * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
3771 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3773 * libc-work/nis/nss_nisplus/nisplus-service.c
3774 (_nss_nisplus_parse_servent): Convert port in network byte order.
3776 1998-09-14 07:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3778 * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
3779 to provide only malloc and calloc.
3780 * include/stdlib.h: Support the above.
3781 * string/bits/string2.h: Use __need_malloc_and_calloc when
3783 (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
3785 * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
3786 * iconvdata/iso646.c: Include <stdlib.h>.
3788 1998-09-14 07:51 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3790 * sunrpc/rpc_cout.c: Add braces around ambiguous else.
3791 * sysdeps/libm-ieee754/w_pow.c: Likewise.
3792 * sysdeps/libm-ieee754/w_powf.c: Likewise.
3793 * sysdeps/libm-ieee754/w_powl.c: Likewise.
3795 1998-09-14 07:57 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3797 * stdio-common/stdio_lim.h.in: New file. All parameters
3798 are adjustable at build time.
3799 * Rules: Add a rule to build bits/stdio_lim.h from
3800 stdio-common/stdio_lim.h.in. (It has to be in Rules so that
3801 all subdirectories know how to make the file. It can't be
3802 in Makerules because then it gets built at top level and the
3803 dependencies are wrong.)
3805 * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
3806 * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
3808 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
3809 * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
3810 * sysdeps/posix/Makefile: Removed.
3811 * sysdeps/posix/mk-stdiolim.c: Removed.
3812 * sysdeps/generic/bits/stdio_lim.h: Removed.
3814 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3816 * argp/argp-help.c: Fixup indentation.
3817 * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
3818 * resolv/nss_dns/dns-network.c: Likewise.
3819 * resolv/res_send.c: Likewise.
3820 * rt/aio_cancel.c: Likewise.
3821 * rt/aio_misc.c: Likewise.
3823 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3825 * Makefile (install-symbolic-link): Remove the link list file at last.
3826 * Makerules (install-clean-symbolic-link-list): Removed.
3828 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3830 * timezone/tst-timezone.c: Print time in UTC to get consistent
3833 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3835 * elf/rtld.c (_dl_rpath): Removed.
3836 * elf/dl-support.c (_dl_path): Removed.
3837 * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
3838 (CFLAGS-dl-support.c): Removed.
3840 * elf/dl-load.c (env_path_list): Renamed from fake_path_list. All
3842 (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
3843 instead of appending it to the main map's rpath info.
3844 (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
3845 DT_RPATHs. This makes it effective again.
3846 (decompose_rpath): Remove second parameter, callers changed.
3847 (fillin_rpath): Allocate enough space in curwd.
3848 (expand_dynamic_string_token): Cope with get_origin returning -1.
3850 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3852 * libc-work/nis/nss_compat/compat-pwd.c: Add support for
3855 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
3858 1998-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
3860 * locale/programs/locale.c: Update dates.
3862 1998-09-13 Mark Kettenis <kettenis@phys.uva.nl>
3864 * sysdeps/generic/bits/types.h: Include <features.h>. Make sure
3865 size_t is defined. Some reordering of definitions to make
3866 maintaining this file in parallel with the linux-specific file easier.
3868 1998-09-13 Ulrich Drepper <drepper@cygnus.com>
3870 * io/pwd.c (main): Add call to mtrace.
3872 * malloc/mtrace.pl: Quote @ in string.
3874 1998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk>
3876 * posix/wordexp.c (parse_arith): Fix memory leaks.
3877 (exec_comm): Likewise.
3878 (parse_param): Likewise.
3879 (wordexp): Likewise.
3880 (exec_comm): Reduce number of function return points.
3881 (parse_param): Likewise.
3882 (wordexp): Likewise.
3884 1998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk>
3886 * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
3887 yield three fields, not two. Test both parameter expansion and
3888 command substitution for correct field-splitting behaviour.
3890 * posix/wordexp.c (w_emptyword): New function.
3891 (parse_param): Use it.
3892 (exec_comm): Likewise, for consistency with the way parse_param
3894 (parse_param): Fix some memory leaks.
3896 1998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au>
3898 * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
3899 Don't mark asm `volatile'.
3900 (__elf_machine_runtime_setup): Clear the last partial block in the PLT
3901 from the data cache too. Assume it isn't in the instruction cache yet.
3902 (__elf_machine_fixup_plt): Clear the modified address from the caches.
3904 1998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
3906 * sysdeps/generic/segfault.c (install_handler): Install signal
3907 handler with SA_ONSTACK instead of setting the stack flags to
3908 SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
3911 1998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3913 * signal/signal.h: Fix multiple inclusion guard to cover the
3915 * wcsmbs/wchar.h: Remove prototype of internal function
3917 * sysdeps/i386/i486/bits/string.h (memchr): Don't do
3918 arithmetic on `void *'.
3920 1998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
3922 * posix/wordexp-test.c: Fix wrong tests. Add new tests.
3924 * posix/wordexp.c (wordexp): Perform word-splitting instead of
3925 field-splitting here.
3926 (wordexp): If out of memory mid-word, free the word (but still
3927 leave pwordexp alone for caller to see).
3928 (parse_param): Allow for zero-length fields (smarter checking of
3929 memory allocation failure).
3930 (w_addword): Convert NULL words to "".
3931 (wordexp): Convert left-over IFS characters to blanks (like bash).
3933 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
3935 * configure.in: Use test -f instead of test -e.
3936 Patch by John Tobey <jtobey@banta-im.com>.
3938 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
3939 * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
3940 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
3941 * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
3942 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
3943 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
3944 * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
3945 Patches by John Tobey <jtobey@banta-im.com>.
3947 * time/strftime.c (my_strftime): Delay use of *tp values until
3948 latest possible point to allow partly initialized structures
3949 (e.g., from strptime).
3951 * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
3953 Define *-routines variables for new modules.
3954 (distribute): Add .c files for new modules.
3955 (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
3957 Add rules for header generation.
3958 * iconvdata/gconv-modules: Add entries for new modules.
3959 * iconvdata/iso_10367-box.c: New file.
3960 * iconvdata/mac-is.c: New file.
3961 * iconvdata/nats-dano.c: New file.
3962 * iconvdata/nats-sefi.c: New file.
3964 1998-04-30 18:20 H.J. Lu <hjl@gnu.org>
3966 * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
3967 loader if PIC is not defined.
3969 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
3971 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
3972 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
3973 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
3975 Define *-routines variables for new modules.
3976 (distribute): Add .c files for new modules.
3977 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
3978 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
3979 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
3980 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
3981 Add rules for header generation.
3982 * iconvdata/gconv-modules: Add entries for new modules.
3983 * iconvdata/csn_369103.c: New file.
3984 * iconvdata/cwi.c: New file.
3985 * iconvdata/dec-mcs.c: New file.
3986 * iconvdata/ecma-cyrillic.c: New file.
3987 * iconvdata/gost_19768-74.c: New file.
3988 * iconvdata/greek-ccitt.c: New file.
3989 * iconvdata/greek7-old.c: New file.
3990 * iconvdata/greek7.c: New file.
3991 * iconvdata/inis-8.c: New file.
3992 * iconvdata/inis-cyrillic.c: New file.
3993 * iconvdata/inis.c: New file.
3994 * iconvdata/iso6937-2.c: New file.
3995 * iconvdata/iso_2033.c: New file.
3996 * iconvdata/iso_5427-ext.c: New file.
3997 * iconvdata/iso_5427.c: New file.
3998 * iconvdata/iso_5428.c: New file.
4000 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
4002 Convert U02dd correctly.
4004 1998-09-11 20:46 Richard Henderson <rth@cygnus.com>
4006 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
4007 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
4008 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
4009 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
4011 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
4013 * resolv/res_init.c (res_init): Handle resolv.conf file with only
4014 one nameserver correctly. Patch by HJ Lu.
4016 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
4018 Define *-routines variables for new modules.
4019 (distribute): Add .c files for new modules.
4020 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
4021 Add rules for hedaer generation.
4022 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
4023 * iconvdata/ansi_x3.110.c: New file.
4024 * iconvdata/asmo_449.c: New file.
4025 * iconvdata/baltic.c: New file.
4026 * iconvdata/iec_p27-1.c: New file.
4028 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
4030 Convert U02dc correctly.
4032 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
4033 * math/atest-exp2.c: Likewise.
4034 * math/atest-sincos.c: Likewise.
4036 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
4039 1998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4041 * string/strcoll.c: Optimize a few expressions.
4042 * string/strxfrm.c: Likewise.
4044 1998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4046 * manual/locale.texi: Fix typos.
4048 1998-09-10 Ulrich Drepper <drepper@cygnus.com>
4050 * stdlib/random_r.c (__setstate_r): Allow call with same state
4051 array as currently used (PR libc/774).
4053 * include/limits.h: Include gcc's header even if this file is
4054 found more than once before it (PR libc/778)
4056 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
4057 (sysdep_headers): Remove sys/debugreg.h.
4058 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
4059 (sysdep_headers): Add sys/debugreg.h.
4060 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
4061 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
4063 * stdio-common/tmpnam.c: Move local static variable buf to
4064 toplevel and rename to tmpnam_buffer to ease debugging.
4065 Patch by Joe Keane <jgk@jgk.org>.
4066 Optimize s == NULL case a bit.
4068 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
4071 1998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
4073 * resolv/res_init.c (res_init): Initialize _res.nscount and
4074 _res.nsaddr.sin_port differently for the can when no loopback
4075 is available to allow immediate timeout in non-networking environments.
4076 Patch by Cristian Gafton <gafton@redhat.com>.
4078 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4080 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
4081 BAR and not EM DASH.
4082 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
4083 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
4086 1998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
4088 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
4090 * timezone/tst-timezone.c (tests): Fix typo in last patch.
4092 * time/tzfile.c (__tzfile_read): Handle case when there are no
4093 transitions. Set __timezone based on computed offset.
4094 * time/tzset.c (tzset_internal): Set __timezone before returning.
4096 * time/tzset.c (tzset_internal): Optimize handling of local string
4099 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4101 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
4104 1998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
4106 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
4107 (csqrt_test): Likewise.
4108 * sysdeps/powerpc/bits/fenv.h: Add parens.
4110 1998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
4112 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
4113 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
4114 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
4116 1998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
4118 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
4119 the special `-1' pointer.
4121 1998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
4123 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
4126 1998-09-07 Paul Eggert <eggert@twinsun.com>
4128 * time/mktime.c (__EXTENSIONS__): Define if not defined.
4129 (_REENTRANT): Remove. It has undesirable consequences in
4130 Solaris 2.6 (e.g. it turns off the putc macro). Defining
4131 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
4133 * time/strftime.c: Likewise.
4135 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4137 * elf/dl-error.c: Fix spelling.
4139 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4141 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
4142 * stdio-common/_itoa.c: Likewise.
4143 * stdio-common/printf_fp.c: Likewise.
4144 * stdio-common/vfscanf.c: Likewise.
4145 * wcsmbs/wcstok.c: Likewise.
4146 * sysdeps/generic/glob.c: Likewise.
4147 * posix/getopt.c: Likewise.
4148 * sysdeps/posix/getaddrinfo.c: Likewise.
4149 * posix/wordexp.c: Likewise.
4150 * io/ftw.c: Likewise.
4151 * io/fts.c: Likewise.
4152 * misc/getpass.c: Likewise.
4153 * iconv/gconv_conf.c: Likewise.
4154 * argp/argp-fmtstream.c: Likewise.
4155 * argp/argp-help.c: Likewise.
4156 * elf/dl-load.c: Likewise.
4157 * locale/programs/stringtrans.c: Likewise.
4158 * catgets/gencat.c: Likewise.
4159 * posix/getconf.c: Likewise.
4160 * iconv/gconv_conf.c: Likewise.
4161 * iconv/iconv_prog.c: Likewise.
4163 * string/strcoll.c: Optimize a few expressions.
4164 * string/strxfrm.c: Likewise.
4166 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4168 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
4169 level to avoid uninit variable warning.
4171 1998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4173 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
4174 instead of _dl_default_scope[2] as argument to _dl_init_next.
4176 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
4179 1998-09-08 Ulrich Drepper <drepper@cygnus.com>
4181 Fix compatibility problems introduced in last change.
4182 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
4184 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
4185 -DWEAK_GMON_START to CFLAGS-initfini.s.
4187 * elf/dl-object.c (_dl_new_object): Store map address in
4188 _dl_loaded if _dl_loaded is NULL.
4189 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
4191 * sysdeps/generic/setrlimit64.c: Remove stub warning.
4193 1998-09-07 Ulrich Drepper <drepper@cygnus.com>
4195 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
4197 * db2/btree/bt_cursor.c: Likewise.
4198 * db2/common/db_region.db_c: Likewise.
4199 * db2/common/db_salloc.db_c: Likewise.
4200 * db2/db/db.c: Likewise.
4201 * db2/db/db_rec.c: Likewise.
4202 * db2/hash/hash.c: Likewise.
4203 * db2/hash/hash_page.c: Likewise.
4204 * db2/hash/hash_rec.c: Likewise.
4205 * db2/log/log_findckp.c: Likewise.
4206 * db2/log/log_get.c: Likewise.
4207 * db2/log/log_put.c: Likewise.
4208 * db2/mp/mp_fget.c: Likewise.
4209 * db2/mp/mp_fput.c: Likewise.
4210 * db2/mp/mp_region.c: Likewise.
4211 * stdlib/strtol.c: Likewise.
4212 * string/strcoll.c: Likewise.
4213 * string/strxfrm.c: Likewise.
4214 * argp/argp-help.c: Likewise.
4215 * argp/argp-parse.c: Likewise.
4216 * resolv/res_debug.c: Likewise.
4218 1998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
4220 * math/tgmath.h (scalb): Only define for __USE_MISC or
4221 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
4223 1998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4225 * libio/stdio.h: Fix comment.
4227 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
4230 1998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
4232 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
4234 * elf/dl-open.c: Quiet -Wparentheses warnings.
4235 * iconvdata/johab.c: Likewise.
4236 * iconvdata/uhc.c: Likewise.
4237 * inet/inet_net.c: Likewise.
4238 * io/fts.c: Likewise.
4239 * locale/newlocale.c: Likewise.
4240 * misc/getttyent.c: Likewise.
4241 * misc/mntent_r.c: Likewise.
4242 * misc/ttyslot.c: Likewise.
4243 * nscd/nscd_conf.c: Likewise.
4244 * nss/nsswitch.c: Likewise.
4245 * resolv/gethnamaddr.c: Likewise.
4246 * resolv/nsap_addr.c: Likewise.
4247 * resolv/res_debug.c: Likewise.
4248 * stdio-common/_itoa.c: Likewise.
4249 * stdlib/strtod.c: Likewise.
4250 * string/strverscmp.c: Likewise.
4251 * sunrpc/svc.c: Likewise.
4252 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
4253 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
4254 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
4255 * sysdeps/posix/getaddrinfo.c: Likewise.
4257 1998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
4259 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
4260 for use of global scope.
4261 * elf/dlvsym.c (dlvsym_doit): Likewise.
4263 1998-09-02 Paul Eggert <eggert@twinsun.com>
4265 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
4266 copy the redundant bytes at the end of the format as-is; don't
4267 just copy their first byte and then rescan, as that might get
4268 us an encoding error.
4269 Account correctly for the length of multibyte sequences in the
4272 1998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
4274 * posix/wordexp-test.c: Add tests for different IFS values.
4275 Change unquoted-newline test so that newline is not in IFS.
4277 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
4278 determining IFS characters. Return WRDE_BADCHAR for unquoted
4279 special characters _except_ if they are separators.
4281 1998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
4283 * include/tgmath.h: New file.
4285 * libio/stdio.h: Correct reversed #ifs.
4286 Patch by Zack Weinberg.
4288 * manual/creature.texi: Better explain reason for feature select
4290 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
4292 1998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
4294 * include/alloca.h: Add multiple-inclusion guard.
4295 * include/db.h: Likewise.
4296 * include/db_185.h: Likewise.
4297 * include/dlfcn.h: Likewise.
4298 * include/fcntl.h: Likewise.
4299 * include/grp.h: Likewise.
4300 * include/libintl.h: Likewise.
4301 * include/mntent.h: Likewise.
4302 * include/pwd.h: Likewise.
4303 * include/sched.h: Likewise.
4304 * include/search.h: Likewise.
4305 * include/setjmp.h: Likewise.
4306 * include/shadow.h: Likewise.
4307 * include/signal.h: Likewise.
4308 * include/stdio.h: Likewise.
4309 * include/stdlib.h: Likewise.
4310 * include/string.h: Likewise.
4311 * include/termios.h: Likewise.
4312 * include/time.h: Likewise.
4313 * include/ulimit.h: Likewise.
4314 * include/utmp.h: Likewise.
4315 * include/wchar.h: Likewise.
4316 * include/sys/file.h: Likewise.
4317 * include/sys/gmon.h: Likewise.
4318 * include/sys/ioctl.h: Likewise.
4319 * include/sys/mman.h: Likewise.
4320 * include/sys/resource.h: Likewise.
4321 * include/sys/select.h: Likewise.
4322 * include/sys/socket.h: Likewise.
4323 * include/sys/statfs.h: Likewise.
4324 * include/sys/time.h: Likewise.
4325 * include/sys/times.h: Likewise.
4326 * include/sys/wait.h: Likewise.
4328 1998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
4330 * version.h (VERSION): Bump to 2.0.96.
4332 Rewrite runtime linker to be truly thread-safe. There is now no
4333 global variable specifying the scope. We create all needed
4334 scopes at the time the link maps are created.
4335 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
4336 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
4337 l_symbolic_searchlist, l_scope, and l_local_scope elements in
4339 * elf/dl-close.c: Rewritten accordingly.
4340 * elf/dl-deps.c: Likewise.
4341 * elf/dl-error.c: Likewise.
4342 * elf/dl-init.c: Likewise.
4343 * elf/dl-load.c: Likewise.
4344 * elf/dl-lookup.c: Likewise.
4345 * elf/dl-object.c: Likewise.
4346 * elf/dl-open.c: Likewise.
4347 * elf/dl-reloc.c: Likewise.
4348 * elf/dl-runtime.c: Likewise.
4349 * elf/dl-support.c: Likewise.
4350 * elf/dl-symbol.c: Likewise.
4351 * elf/dl-version.c: Likewise.
4352 * elf/dlsym.c: Likewise.
4353 * elf/dlvsym.c: Likewise.
4354 * elf/ldsodefs.h: Likewise.
4355 * elf/rtld.c: Likewise.
4356 * iconv/gconv_dl.c: Likewise.
4357 * nss/nsswitch.c: Likewise.
4358 * sysdeps/i386/dl-machine.h: Likewise.
4359 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
4361 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
4362 Define RTLD_DEFAULT.
4364 1998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
4366 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
4367 __getopt_clean_environment with __environ instead of envp.
4369 1998-09-05 Roland McGrath <roland@baalperazim.frob.com>
4371 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
4373 * string/argz-extract.c (__argz_extract): Add de-consting cast for
4376 * string/argz.h (argz_next): Add de-consting cast for return.
4377 * string/argz-next.c (__argz_next): Likewise.
4379 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
4380 Don't add netinet/udp.h, netinet/ip_icmp.h here.
4381 * sysdeps/gnu/Makefile: Do it here instead.
4382 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
4383 * sysdeps/gnu/Dist: ... to here.
4385 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
4386 sysdeps/unix/sysv/linux/netinet/tcp.h,
4387 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
4389 1998-09-04 Roland McGrath <roland@baalperazim.frob.com>
4391 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
4392 * string/argz-next.c, string/argz-extract.c: Fix defns.
4394 1998-09-03 Roland McGrath <roland@baalperazim.frob.com>
4396 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
4398 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
4399 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
4400 * sysdeps/generic/sysd-stdio.c: Likewise.
4402 1998-09-02 Ulrich Drepper <drepper@cygnus.com>
4404 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
4405 (_dl_map_object_from_fd): Make NAME argument const.
4406 Remove last parameter in _dl_new_object call.
4407 (print_search_path): Correct construction of composed path name.
4408 (_dl_map_object): Prevent looking at RPATH of the main map twice.
4409 Remove last parameter in _dl_new_object call.
4410 * elf/dl-object.c: Remove last parameter. Determine whether create
4411 origin entry based on empty realname. Handle file in root directory
4413 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
4414 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
4415 Remove last parameter in _dl_new_object call.
4416 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
4417 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
4419 1998-09-01 Ulrich Drepper <drepper@cygnus.com>
4421 * elf/dl-close.c (_dl_close): Add more comments and correct some.
4422 Free l_searchlist and l_dupsearchlist.
4424 * debug/catchsegv.sh: Add one more pair of quotes.
4426 1998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
4428 * elf/dl-load.c (add_name_to_object): Change return type to void and
4429 make NAME parameter const. Allocate room for NAME in same memory
4430 block used for l_libname entry.
4431 (_dl_map_object_from_fd): Don't free NAME on failure.
4432 (map_segment): Pass SONAME to add_name_to_object, not a copy.
4433 (_dl_map_object): Don't create copy of NAME. Pass NAME to
4434 _dl_map_object_from_fd.
4435 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
4436 memory block used for l_libname entry.
4437 * elf/dl-close.c: Adjust free()ing for this change.
4439 1998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
4441 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
4443 * malloc/mtrace.c: Add bug report address. Update email address.
4444 Add more @XXX@ to print correct address size.
4446 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
4449 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
4450 for munmap call instead of examining phdr again.
4451 Free all malloc()ed strings and arrays.
4453 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
4455 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
4457 * sysdeps/powerpc/dl-machine.c: New file.
4458 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
4459 files. Revise ELF_PREFERRED_ADDRESS to take account of
4460 the new mapping information (fixes bug involving huge bloated
4461 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
4462 * sysdeps/powerpc/dl-start.S: New file.
4464 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
4466 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
4467 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
4468 others. Call elf_dynamic_do_##reloc only once (to save even more
4470 * elf/link.h: Add new members l_map_start and l_map_end to keep
4471 track of the memory map.
4472 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
4475 1998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
4477 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
4478 Reported by Andreas Jaeger.
4480 * posix/glob.h: Use __size_t instead of size_t in definitions and
4481 make sure this is defined.
4483 1998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
4485 * manual/locale.texi: Almost complete rewrite. Document more functions
4487 * manual/arith.texi: Correct reference.
4488 * manual/string.texi: Pretty printing.
4490 * manual/texinfo.tex: Update from last available version.
4492 1998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
4494 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
4496 (_nss_nis_getpwuid_r): Likewise.
4497 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
4499 * inet/rcmd.c: Implement netgroup support.
4500 Patch by Dick Streefland <dick_streefland@tasking.com>.
4502 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
4504 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
4505 object on the list is removed. Don't use this code for PIC.
4506 Reported by HJ Lu [PR libc/770].
4508 1998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
4510 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
4512 * include/stdio.h: Add __vsscanf.
4514 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
4516 Remove __vsscanf declaration.
4517 Always declare fgetpos and fsetpos.
4519 * math/math.h: Define isinf as macro.
4520 * math/bits/mathcalls.h: Change to declare __isinf all the time.
4521 Don't declare scalb for ISO C 9x.
4523 * math/tgmath.h: Define fma. Rewrite the underlying macros.
4525 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
4527 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
4530 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
4533 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4535 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
4536 Reported by jreising@frequentis.com [PR libc/767].
4538 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4540 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
4541 fl.l_start at beginning of function.
4542 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
4544 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
4546 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
4547 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
4549 * nscd/nscd.init: Make it work in RedHat systems.
4550 Patch by Christian Gafton.
4552 1998-08-29 Philip Blundell <philb@gnu.org>
4554 * catgets/Makefile: Don't try to run test programs when
4557 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
4559 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
4560 Reported by Zack Weinberg.
4562 1998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4564 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
4565 * elf/Makefile (distribute): Remove ldd.sh.in.
4567 1998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4569 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
4572 1998-08-29 Ulrich Drepper <drepper@cygnus.com>
4574 * sysdeps/i386/register-dump.h: Move to ...
4575 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
4577 1998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
4579 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
4580 with load address, not map address.
4581 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
4582 parameter and use this value.
4583 * sysdeps/arm/dl-machine.h: Likewise.
4584 * sysdeps/i386/dl-machine.h: Likewise.
4585 * sysdeps/m68k/dl-machine.h: Likewise.
4586 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
4588 * sysdeps/powerpc/dl-machine.h: Likewise
4589 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
4590 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
4592 1998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
4594 * elf/rtld.c (process_envvars): Fix copy&paste error.
4596 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
4598 (realloc_hook_ini): Don't overwrite memalign hook.
4599 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
4600 Reported by Philippe Troin <phil@fifi.org>.
4602 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
4603 Patch by Philippe Troin <phil@fifi.org>.
4605 1998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4607 * sysdeps/generic/segfault.c (install_handler): Protect the
4608 non-POSIX signals with #ifdef.
4609 (catch_segfault): Add missing mode parameter for open.
4610 * debug/catchsegv.sh: Avoid termination message from shell. Allow
4611 other termination signals.
4613 1998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4615 * debug/Makefile (distribute): Add register-dump.h.
4617 1998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4619 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
4621 1998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
4623 * elf/Makefile (distribute): Add dl-origin.h.
4624 * sysdeps/generic/dl-origin.h: New file.
4625 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
4626 * elf/link.h (struct link_map): Add l_origin field.
4627 * elf/dl-load.c (expand_dynamic_string_token): New function.
4628 (decompose_path): Remove WHERE argument, take link map pointer instead.
4629 Call expand_dynamic_string_token instead of local_strdup to make copy
4631 (_dl_init_paths): Call decompose_path with correct argument.
4632 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
4634 Check EI_OSABI and EI_ABIVERSION fields in header.
4635 Call _dl_new_object with extra argument.
4636 (_dl_map_object): Call decompose_path with correct argument.
4637 Call expand_dynamic_string_token instead of local_strdup to also
4639 Call _dl_new_object with extra argument.
4640 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
4641 but the main one if new argument is nonzero.
4642 * elf/ldsodefs.h: Adjust for _dl_new_object change.
4643 * elf/dl-support.c: Define _dl_origin_path.
4644 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
4645 (dl_main): Call _dl_new_object with extra argument.
4647 * elf/dl-close (_dl_close): Free l_name and l_origin.
4649 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
4650 modifier in asm, not c.
4652 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
4653 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
4655 1998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
4657 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
4658 variable so that map can be freed.
4659 Reported by Philippe Troin <phil@fifi.org>.
4661 * elf/dl-open.c (dl_open_worker): Correct test for extending global
4663 Patch by Philippe Troin <phil@fifi.org>.
4665 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
4667 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
4668 Don't call writev() with a 100-element vector.
4669 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
4672 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
4673 In particular, set __libc_stack_end.
4674 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
4675 undefined. Fix copyright notice.
4677 1998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4679 * math/Makefile (gmp-objs): New variable.
4680 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
4682 (tests): Add atest-exp atest-sincos atest-exp2.
4683 (tests-static): Remove atest-exp atest-sincos atest-exp2.
4685 1998-08-25 Ulrich Drepper <drepper@cygnus.com>
4687 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
4689 (_dl_unload_cache): New function.
4690 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
4691 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
4692 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
4694 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
4695 Correct comment for O_LARGEFILE.
4696 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
4697 Change O_LARGEFILE to correct value.
4699 1998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
4701 * libio/iogetline.c (_IO_getline_info): Don't read anything for
4702 N == 0. Patch by HJ Lu.
4704 1998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
4706 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
4708 1998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
4710 * argp/argp.h: Use __inline__ not inline.
4712 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
4713 an input register as being clobbered.
4714 * sysdeps/i386/memset.c (memset): Likewise.
4715 * sysdeps/i386/bzero.c (__bzero): Likewise.
4716 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
4718 1998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4720 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
4721 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
4723 1998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
4725 * debug/catchsegv.sh: Handle text preceding backtrace better.
4726 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
4727 to be installed for other signals than SIGSEGV.
4728 * sysdeps/generic/register-dump.h: New file.
4729 * sysdeps/i386/register-dump.h: New file.
4730 * sysdeps/powerpc/register-dump.h: New file.
4732 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
4734 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
4736 1998-08-24 Geoff Keating <geoffk@ozemail.com.au>
4738 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
4740 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
4742 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
4743 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
4744 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
4745 getresuid, getresgid.
4747 1998-08-16 Geoff Keating <geoffk@ozemail.com.au>
4749 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
4750 pointer in userland.
4752 1998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4754 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
4757 1998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4759 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
4760 over arguments Bourne shell compatible. Don't exit unsuccessfully
4761 if nonelf returns successfully. Avoid duplicating most of the
4763 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
4766 1998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4768 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
4770 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
4771 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
4773 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
4775 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
4776 __modify_ldt and modify_ldt.
4777 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
4779 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4780 Use orl $-1 instead of movl $-1 to save two bytes.
4781 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
4784 1998-08-17 H.J. Lu <hjl@gnu.org>
4786 * libio/Versions (_IO_do_write, _IO_file_attach,
4787 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
4788 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
4789 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
4790 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
4792 * libio/fileops.c (_IO_do_write, _IO_file_attach,
4793 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
4794 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
4795 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
4796 _IO_file_write, _IO_file_xsputn): Change the prefix to
4797 "_IO_new_". Added to GLIBC_2.1.
4799 * libio/libioP.h (_IO_do_write, _IO_file_attach,
4800 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
4801 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
4802 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
4803 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
4806 * libio/oldfileops.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): Added to GLIBC_2.0.
4812 1998-08-23 Richard Henderson <rth@cygnus.com>
4814 * Makeconfig (LDFLAGS): Remove.
4816 * csu/initfini.c: Return to .text before __gmon_start__.
4818 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
4819 (STO_MIPS_*): Rename from STO_*.
4820 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
4821 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
4823 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
4824 (main): e3s is negative on zero.
4825 * math/atest-exp2.c: Likewise.
4826 * math/atest-sincos.c: Likewise.
4828 1998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4830 * Makerules (install): Add comment about absolute paths.
4832 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
4834 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
4835 array to NUL to handle maxlen==1 case correctly.
4838 1998-08-23 Richard Henderson <rth@cygnus.com>
4840 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
4841 * sysdeps/alpha/elf/crtend.S: Likewise.
4842 * sysdeps/alpha/elf/start.S: Likewise.
4844 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
4845 non-standard pv usage.
4847 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
4848 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
4849 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
4850 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
4851 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
4852 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
4853 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
4854 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
4855 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
4856 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
4857 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
4859 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
4860 a finite non-denormal, deferring to the full IEEE version otherwise.
4862 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
4863 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
4864 * sysdeps/alpha/fpu/s_floor.c: New.
4865 * sysdeps/alpha/fpu/s_floorf.c: New.
4866 * sysdeps/alpha/fpu/s_ceil.c: New.
4867 * sysdeps/alpha/fpu/s_ceilf.c: New.
4869 1998-08-22 Philip Blundell <philb@gnu.org>
4871 * sysdeps/arm/bits/string.h: New file.
4873 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4875 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
4878 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
4879 test for recent Linux 2.1.100+ headers.
4881 1998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4883 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
4885 1998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
4887 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
4889 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4891 * Makefile (elf/ldso_install): Put back. The problem still persists.
4892 * elf/Makefile (ldso_install): Likewise.
4894 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4896 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
4898 * include/db.h: Declare __nss_db_open.
4899 * db2/Versions: Export it.
4901 * db2/makedb.c: Convert to use db2 API.
4902 * nss/nss_db/db-XXX.c: Likewise.
4903 * nss/nss_db/db-netgrp.c: Likewise.
4904 * nss/nss_db/db-alias.c: Likewise.
4905 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
4907 1998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4909 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
4910 sys_setresuid, already built automatically (or not).
4911 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
4912 instead of __syscall_setresuid and add back setresuid.
4913 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
4914 __syscall_setresuid.
4916 1998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4918 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
4920 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
4922 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
4923 BASH-ONLY marked region.
4924 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
4926 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
4928 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
4931 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
4933 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
4936 1998-08-21 Roland McGrath <roland@baalperazim.frob.com>
4938 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
4939 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
4940 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
4941 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
4942 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
4943 those magic comments, and to use /bin/sh for @BASH@.
4944 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
4945 * elf/ldd.sh.in: File removed.
4947 1998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
4949 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
4950 cast them to unsigned long int.
4951 * pwd/putpwent.c (putpwent): Likewise.
4952 Patch by John Tobey <jtobey@banta-im.com>.
4954 1998-08-20 17:14 H.J. Lu <hjl@gnu.org>
4956 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
4959 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
4961 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
4964 1998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
4966 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
4967 Add umount and umount2.
4968 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
4969 * sysdeps/unix/sysv/linux/umount.S: New file.
4970 * sysdeps/unix/sysv/linux/umount2.S: New file.
4971 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
4974 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
4976 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
4977 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
4979 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
4981 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
4984 1998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
4986 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
4987 * elf/ldd.bash.in: Likewise.
4989 * elf/sln.c: Avoid warning for no main prototype.
4991 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
4993 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
4994 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4996 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
4998 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
4999 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
5000 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5002 1998-08-20 Philip Blundell <pb@nexus.co.uk>
5004 * sysdeps/arm/fpu/ieee754.h: Move to...
5005 * sysdeps/arm/ieee754.h: ... here.
5007 * sysdeps/arm/__longjmp.S: Put return value in correct register.
5008 Don't set the condition flags unnecessarily.
5009 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
5010 registers correctly.
5012 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
5013 (patch from Scott Bambrough).
5015 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
5017 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
5018 NULL, just call it unconditionally.
5019 (__gmon_start__): Provide stub version as a weak symbol.
5021 1998-07-30 Philip Blundell <philb@gnu.org>
5023 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
5026 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
5027 like `@' in .type directives.
5029 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
5030 * sysdeps/arm/bsd-_setjmp.S: Likewise.
5032 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
5034 1998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5036 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
5037 (F_GETOWN): Likewise.
5039 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
5042 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
5044 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
5047 1998-08-18 Ulrich Drepper <drepper@cygnus.com>
5049 * include/features.h: Define __USE_EXTERN_INLINES for recent
5051 * argp/argp.h: Define extern inline functions only if
5052 __USE_EXTERN_INLINES is defined.
5053 * libio/stdio.h: Likewise.
5054 * math/math.h: Likewise.
5055 * stdlib/stdlib.h: Likewise.
5056 * string/argz.h: Likewise.
5057 * sysdeps/generic/bits/sigset.h: Likewise.
5058 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
5059 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
5060 * sysdeps/wordsize-32/inttypes.h: Likewise.
5061 * sysdeps/wordsize-64/inttypes.h: Likewise.
5062 * wcsmbs/wchar.h: Likewise.
5064 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
5065 to allow compilation without optimization.
5067 1998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5069 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
5071 * nis/nss_compat/compat-initgroups.c: Likewise.
5072 * nis/nss_compat/compat-pwd.c: Likewise.
5073 * nis/nss_compat/compat-spwd.c: Likewise.
5074 * nis/nss_nis/nis-alias.c: Likewise.
5075 * nis/nss_nis/nis-ethers.c: Likewise.
5076 * nis/nss_nis/nis-grp.c: Likewise.
5077 * nis/nss_nis/nis-hosts.c: Likewise.
5078 * nis/nss_nis/nis-initgroups.c: Likewise.
5079 * nis/nss_nis/nis-network.c: Likewise.
5080 * nis/nss_nis/nis-proto.c: Likewise.
5081 * nis/nss_nis/nis-pwd.c: Likewise.
5082 * nis/nss_nis/nis-rpc.c: Likewise.
5083 * nis/nss_nis/nis-service.c: Likewise.
5084 * nis/nss_nis/nis-spwd.c: Likewise.
5086 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
5088 * nis/ypclnt.c: Try binding dir only first time, could be to old.
5090 * nis/yp_xdr.c: Remove 1024 byte limit.
5091 * nis/ypupdate_xdr.c: Likewise.
5093 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
5096 1998-08-18 Roland McGrath <roland@baalperazim.frob.com>
5098 * Rules (binaries-static, binaries-shared static pattern rules):
5099 Depend on lib%, not just libc%, from $(link-libc{,-static}).
5101 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
5102 this here, overriding Makeconfig generic value so we link against
5105 1998-08-17 Ulrich Drepper <drepper@cygnus.com>
5107 * posix/tstgetopt.c (options): Add NULL entry at end
5108 Patch by Adrian Miranda <ade@psg.com>.
5110 1998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
5112 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
5115 1998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
5117 * elf/elf.h: Add PPC Diab relocations.
5119 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
5121 1998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
5123 * manual/texinfo.tex: Update.
5125 1998-08-07 Geoff Keating <geoffk@ozemail.com.au>
5127 * sysdeps/powerpc/backtrace.c: New file.
5129 1998-08-14 Philip Blundell <pb@nexus.co.uk>
5131 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
5133 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
5135 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5137 * Makefile (install-symbolic-link): Fix spelling.
5139 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5141 * elf/elf.h (SHT_HIOS): Fix value.
5143 1998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5145 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
5146 part of the expansion, this is undefined by the standard.
5148 1998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
5150 * posix/getconf.c: Add support for systems with incomplete confname.h.
5152 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
5154 * sysdeps/posix/wait3.c: Make it work.
5156 1998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5158 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
5159 (elf/ldso_install): Remove.
5161 * elf/Makefile (distribute): Add sln.c.
5163 (others-static): Add sln.
5164 (install-rootsbin): Add sln.
5165 (others-static): Add sln.
5166 (ldso_install): Remove.
5168 1998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5170 * Makerules (install-clean-symbolic-link-list): Make phony.
5171 * Makefile (install-symbolic-link): Make phony. Depend on
5172 subdir_install for parallel makes.
5175 1998-07-22 Ulrich Drepper <drepper@cygnus.com>
5177 * elf/Makefile (distribute): Add sln.c
5179 1998-07-21 07:10 H.J. Lu <hjl@gnu.org>
5181 * elf/sln.c: New file.
5183 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
5184 (install-clean-symbolic-link-list): New target.
5185 (install): Depend on install-clean-symbolic-link-list.
5186 (make-shlib-link): Changed for $(symbolic-link-list).
5188 * Makefile (install-symbolic-link): New target.
5189 (install): Depend on install-symbolic-link.
5191 1998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
5193 * include/unistd.h: Protect against multiple inclusion.
5195 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
5196 is defined, not is glob is defined.
5197 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
5199 1998-08-01 17:18 H.J. Lu <hjl@gnu.org>
5201 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
5202 xdr_string for ut_line, ut_name and ut_host.
5204 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5206 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
5207 /var/mail in accordance with FHS 2.0.
5208 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
5210 1998-08-12 Richard Henderson <rth@cygnus.com>
5212 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
5213 Update aliases for cancelation.
5215 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
5216 playing with symbol versions.
5218 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
5220 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
5221 multiple inclusion protection.
5222 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
5223 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
5224 define all these to 1.
5225 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
5227 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
5229 * sysdeps/mach/usleep.c: Include <unistd.h>.
5230 (usleep): Return void.
5232 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
5234 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
5235 decl to inhibit warning in if_freenameindex defn.
5237 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
5239 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
5241 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
5242 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
5243 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
5244 * sysdeps/mach/usleep.c: Likewise.
5246 * sysdeps/mach/hurd/bind.c (bind): Add a const.
5248 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
5249 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
5250 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
5251 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
5252 * sysdeps/mach/usleep.c (usleep): Likewise.
5253 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
5254 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
5255 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
5256 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
5258 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
5260 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
5263 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
5264 %p arg to fprintf, since `void *' is the right type already.
5266 1998-07-25 19:47 Jose M. Moya <josem@gnu.org>
5268 * sysdeps/mach/hurd/getcwd.c
5269 (_hurd_canonicalize_directory_name_internal): Do not loop forever
5270 for unknown root directories.
5271 (__getcwd): Return NULL when the current root directory could not
5274 1998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
5276 * string/strsignal.c (strsignal): Count real-time signals from zero.
5279 See ChangeLog.8 for earlier changes.