1 1999-03-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3 * timezone/README: Update from tzdata1999c and tzcode1999c.
5 * timezone/africa: Update from tzdata1999c.
6 * timezone/antarctica: Likewise.
7 * timezone/asia: Likewise.
8 * timezone/australasia: Likewise.
9 * timezone/europe: Likewise.
10 * timezone/northamerica: Likewise.
11 * timezone/southamerica: Likewise.
12 * timezone/zone.tab: Likewise.
14 * timezone/zic.c: Update from tzcode1999c.
16 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
18 * Makerules: Add $(common-objpfx)Versions.all to common-generated
19 outside of ifndef avoid-generated.
21 * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
23 * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
25 * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
27 * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
28 _IO_old_file_seekoff): Bring over recent changes in fileops.c.
30 1999-03-26 Mark Kettenis <kettenis@gnu.org>
32 * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
33 if we build the profiled library.
35 Fri Mar 26 10:27:38 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
37 * math/Makefile (gmp-objs): Add inlines. Reported by Andreas
38 Jaeger <aj@arthur.rhein-neckar.de>
40 Thu Mar 25 23:57:57 1999 Roland McGrath <roland@yaumatei.ai.mit.edu>
42 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
43 (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
44 This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
46 1999-03-24 Roland McGrath <roland@baalperazim.frob.com>
48 * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
49 works properly in subdirs.
51 1999-03-23 Roland McGrath <roland@baalperazim.frob.com>
53 * sysdeps/mach/hurd/Makefile: Undo last change.
54 [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
55 [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
57 * mach/Machrules (+preinit, +postinit, +interp,
58 LDFLAGS-$(interface.so)): Variables removed. Interface libraries get
59 linked just like other shared libraries.
60 (interface.so): Fix typo in defn, so it works.
61 ($(objpfx)$(interface.so)): Make it depend on libc.so.
63 1999-03-21 Roland McGrath <roland@baalperazim.frob.com>
65 * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
68 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
70 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
71 $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
72 targets if not building shared libraries.
74 Mon Mar 22 15:48:06 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
76 * configure.in: Also look in $PATH when searching for
77 install-info. Remove autoconf bug workaround and require autoconf
80 1999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
82 * db/Makefile: Don't try to install shared library link if not
83 building with shared libs.
85 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
87 * rt/Makefile: Link against static library if no shared lib is
90 * localedata/Makefile: The shells scripts implementing the test
91 require the dynamic linker which is not available with
92 --disable-shared. Skip the test if --disable-shared is given.
94 * linuxthreads/Makefile: Link test against static libpthread if no
95 shared lib is available.
97 * iconvdata/Makefile (tests): Run iconv-test only if we're
98 building shared libraries.
99 * elf/Makefile (tests): Likewise for elf tests.
101 * posix/Makefile: The test frameworks globtest and wordexp-test
102 require the dynamic linker which is not available with
103 --disable-shared. Skip the test if --disable-shared is given.
105 * grp/Makefile (otherlibs): For static nss build link against
108 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
110 * debug/Makefile (install-bin): Install and build catchsegv only
111 if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR
114 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
116 * time/tzfile.c (__tzfile_read): Handle the case where there are
117 transitions but no DST.
119 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>
121 * mach/Machrules (extra-libs-others): Add $(interface-library) here
122 too, so it gets built in the others pass rather than the lib pass.
123 This is necessary since the RPC libraries need to be linked against
126 1999-03-19 Roland McGrath <roland@baalperazim.frob.com>
128 * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
131 * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
132 ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
133 ($(link-rpcuserlibs)): New static pattern rule; link intermediate
134 versions of lib{mach,hurd}user.so without reference to libc.so,
135 then link libc.so against that to get deps and symbol versions, then
136 finally link real lib*user.so against libc.so.
138 * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
139 Support whole-file locking (only) by using the file_lock RPC. This
140 has very wrong semantics, but is better than nothing for the time
141 being. (Correct POSIX.1 locking will require new RPCs in the Hurd
142 protocols that will be somewhat hairy to specify.)
144 1999-03-17 Mark Kettenis <kettenis@gnu.org>
146 * sysdeps/mach/hurd/ptsname.c: New file.
148 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
150 * timezone/asia: Fix rule in Asia/Nicosia entry.
152 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
154 * manual/getopt.texi (Using Getopt): Explain "::" in option
155 string. Reported by Yuri Niyazov <yuricake@geocities.com>.
157 1999-03-18 Thorsten Kukuk <kukuk@suse.de>
159 * sunrpc/clnt_unix.c: Fix creation of parameters for
160 sendmsg/recvmsg on non intel platforms.
161 * sunrpc/svc_unix.c: Likewise.
163 1999-03-18 Philip Blundell <philb@gnu.org>
165 * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386
168 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
170 * timezone/africa: Update from tzdata1999b.
171 * timezone/asia: Likewise.
172 * timezone/australasia: Likewise.
173 * timezone/europe: Likewise.
174 * timezone/northamerica: Likewise.
175 * timezone/southamerica: Likewise.
176 * timezone/zone.tab: Likewise.
178 * timezone/README: Mention tzdata1999b.
180 1999-03-17 Ulrich Drepper <drepper@cygnus.com>
182 * sysdeps/generic/segfault.c (write_strsignal): New function.
183 (catch_segfault): Use it instead of calling strsignal.
185 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
187 * iconv/gconv.c (__gconv): Change type of last_start to unsigned
188 char to avoid warning.
190 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
192 * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
194 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
195 outbuf to unsigned char to avoid warning.
197 1999-03-11 David S. Miller <davem@redhat.com>
199 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
201 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
203 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
205 * iconv/gconv.h (gconv_fct): Change parameter from `char' to
207 (gconv_step_data): Likewise.
208 * iconv/gconv_int.h (__gconv): Likewise.
209 (__BUILINT_TRANS): Likewise.
210 * iconv/gconv.c (__gconv): Likewise.
211 * iconv/iconv.c (iconv): Add casts for call of __gconv.
212 * iconv/skeleton.c: Change local parameters and variable from `char' to
213 `unsigned char'. Remove casts from calls into modules.
214 * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
215 `char' to `unsigned char'.
216 * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
217 * wcsmbs/mbrtowc.c: Likewise.
218 * wcsmbs/mbsnrtowcs.c: Likewise.
219 * wcsmbs/mbsrtowcs.c: Likewise.
220 * wcsmbs/wcrtomb.c: Likewise.
221 * wcsmbs/wcsnrtombs.c: Likewise.
222 * wcsmbs/wcsrtombs.c: Likewise.
223 * wcsmbs/wctob.c: Likewise.
225 1999-03-15 Mark Kettenis <kettenis@gnu.org>
227 * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
228 __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
229 __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
230 __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
231 __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
232 __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
234 1999-03-15 Mark Kettenis <kettenis@gnu.org>
236 * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
237 _hurd_select if TIMEMOUT is -1.
239 1999-03-15 Mark Kettenis <kettenis@gnu.org>
241 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
243 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
245 * elf/dl-load.c: Compute rtld_search_dir array size correctly.
246 Reported by Yasushi Saito <yasushi@cs.washington.edu>.
248 1999-03-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
250 * manual/libc.texinfo: Undo last change for now.
252 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
254 * intl/locale.alias: Add entries for Croatian.
255 Patch by Tomislav Vujec <tvujec@CARNet.hr>.
257 1999-03-13 Mark Kettenis <kettenis@gnu.org>
259 * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
260 if the opened master pty really is a pty. `isatty' checks for
261 tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE
262 if we are out of pty's.
264 1999-03-13 Mark Kettenis <kettenis@gnu.org>
266 * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
267 opened file is closed on exec.
268 * login/utmp_daemon.c (setutent_daemon): Likewise for the just
271 1999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
273 * manual/llio.texi (File Position Primitive): Reformat @end
274 command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
276 1999-03-14 Ulrich Drepper <drepper@cygnus.com>
278 * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
280 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
281 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
283 * locale/programs/localedef.c (main): Initialize `cat' to please
286 1999-03-14 Roland McGrath <roland@baalperazim.frob.com>
288 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
289 check for root-owned symlinks and reject them too.
291 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
293 * stdio-common/printf_fphex.c: Move to ...
294 * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of
295 extended precision number.
296 * sysdeps/m68k/printf_fphex.c: New file.
298 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
300 * manual/stdio.texi: Fix typos.
302 1999-03-09 Ulrich Drepper <drepper@cygnus.com>
304 * version.h (VERSION): Bump to 2.1.1.
306 1999-03-09 Thorsten Kukuk <kukuk@suse.de>
308 * nis/ypclnt.c: Try only twice to connect to NIS server.
310 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
312 * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
314 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
316 * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
317 (DENORM_EXP): New define. Use it as the exponent for a denormal.
318 * stdlib/strtold.c: Moved to ...
319 * sysdeps/generic/strtold.c: ... here.
320 * sysdeps/m68k/strtold.c: New file.
322 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
324 * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
325 point if the precision is zero, even if the mantissa is non-zero.
327 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
329 * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
330 arguments into the request message buffer inside `send_rpc'
331 subfunction. We must repeat the marshalling when retrying the RPC
332 after a SIGTTOU delivery.
334 * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
335 path when there is no ctty port.
336 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
337 Move sigstate check inside loop so we recheck after handling a signal.
339 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
341 * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
342 O_EXLOCK are BSD extensions.
343 Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
345 1999-03-08 Ulrich Drepper <drepper@cygnus.com>
347 * manual/signal.texi (Termination in Handler): Correct example.
348 Install default handler before reraising the signal.
349 Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
351 1999-03-08 Roland McGrath <roland@baalperazim.frob.com>
353 * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
354 null, in which case send an empty string.
356 1999-03-02 Mark Kettenis <kettenis@gnu.org>
358 * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
359 backward compatibility EH functions to be linked when using
360 gcc-2.8.1. Patch by Zack Weinberg <zack@rabi.columbia.edu>.
362 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
364 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
365 /dev/pts status may change during runtime.
367 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
369 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
370 change. /dev/pts status can change during runtime.
372 1999-03-07 Thorsten Kukuk <kukuk@suse.de>
374 * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
376 * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
377 add some more sanity checks.
378 * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
381 1999-03-05 Thorsten Kukuk <kukuk@suse.de>
383 * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
384 change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
385 * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
386 * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
387 * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
389 * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
390 * nis/nis_print.c: Fix ctime argument for platforms where
391 sizeof (time_t) != sizeof (int).
393 1999-03-07 Mark Kettenis <kettenis@gnu.org>
395 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
396 CLOCKS_PER_SEC instead of CLK_TCK.
398 1999-03-05 Ulrich Drepper <drepper@cygnus.com>
400 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
401 whether /dev/pts is available.
402 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
405 * posix/globtest.sh: Make common_objpfx path absolute and and db2
406 and hesiod directory to library path [PR libc/1007].
408 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
410 * resolv/inet_addr.c (inet_aton): Don't allow componets >
411 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
413 1999-03-05 Geoff Keating <geoffk@ozemail.com.au>
415 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
416 DT_PLTGOT has already been relocated.
417 (__elf_machine_fixup_plt): Likewise.
420 1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
422 * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
424 1999-03-03 Ulrich Drepper <drepper@cygnus.com>
426 * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
427 and fold string to uppercase [PR libc/1005].
429 1999-03-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
431 * elf/dl-load.c (lose): Fix return type.
433 1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
435 * sysdeps/mach/hurd/bits/fcntl.h
436 [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
437 * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
438 set O_NOTRANS as well.
439 (__hurd_file_name_lookup_retry): At successful end of lookup,
440 if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
441 it is a translated node not owned by root.
442 (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
443 on the file name passed to LOOKUP.
445 1999-03-02 Ulrich Drepper <drepper@cygnus.com>
447 * manual/time.texi (High Resolution Timer): Correct computation in
448 example. Reported by jjf@devel.cemsys.com.
450 1999-03-02 Philip Blundell <pb@nexus.co.uk>
452 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
453 entry is already relocated.
455 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
457 * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported
458 by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
460 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
462 * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
463 uc_link which is the right name according to Unix98.
464 Reported by Craig Metz [PR libc/1001].
465 * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
466 * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
467 * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
468 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
469 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise
470 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
472 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
474 * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
477 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
479 * iconvdata/Makefile: Always include iconv-rules, but disable rule
480 to regenerate it if avoid-generated.
482 * Makeconfig: Always include sys-dirs, but disable rule to
483 regenerate it when avoid-generated.
485 * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
486 rule to generate sysd-syscalls.
488 * elf/Makefile (generated): Remove $(objpfx) from names.
490 1999-02-28 Mark Kettenis <kettenis@gnu.org>
492 * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
493 actual length if the adress length is smaller than the input
494 value. Change type of *LEN paramater to socklen_t.
495 * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
496 * sysdeps/mach/hurd/accept.c (accept): Likewise.
497 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
498 * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
499 paramater to socklen_t.
501 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
503 * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
504 msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
507 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
509 * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
510 __get_phys_pages): Cast &HBI to silence warning.
512 * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
513 * hurd/hurdchdir.c: New file.
514 * hurd/hurdfchdir.c: New file.
515 * sysdeps/mach/hurd/chroot.c: Call
516 _hurd_change_directory_port_from_name to do the work.
517 * sysdeps/mach/hurd/chdir.c: Likewise.
518 * sysdeps/mach/hurd/fchdir.c: Call
519 _hurd_change_directory_port_from_fd to do the work.
520 * hurd/fchroot.c: Likewise.
521 * hurd/hurd.h: Declare them.
523 1999-02-27 Ulrich Drepper <drepper@cygnus.com>
525 * elf/dl-load.c (lose): Add more comments to explain the `why'.
526 (_dl_map_object): Remove redundant test.
528 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
530 * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
531 try to _hurd_port_free a lower-numbered descriptor that was not in any
534 1999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
536 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
537 declaration for ____wcstod_l_internal.
539 * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
540 __strtod_internal prototype.
541 * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
542 (____strtold_l_internal): Add prototype declaration.
543 (__strtold_l): Call correct function.
545 1999-02-24 Ulrich Drepper <drepper@cygnus.com>
547 * elf/elf.h: Add 32bit HPPA definitions.
549 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
551 * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
552 non-checked heap is restored when malloc checking was requested by
554 (struct malloc_state): Add using_malloc_checking.
555 (MALLOC_STATE_VERSION): Increment minor.
556 (using_malloc_checking, disallow_malloc_check): New variables.
557 (__malloc_check_init): Use them.
558 (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
559 that it can the chunk is properly instrumented when malloc
560 checking is enabled. Set the new using_malloc_checking field.
561 (malloc_hook_ini): Correct signature when _LIBC is not defined.
563 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
565 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
566 (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
569 * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
570 Don't call elf_get_dynamic_info and _dl_setup_hash a second time
571 if ld.so is the main program.
573 1999-02-23 Ulrich Drepper <drepper@cygnus.com>
575 * stdio-common/vfprintf.c (vfprintf): If precision or width is too
576 large for work_buffer, allocate new buffer.
577 (printf_unknown): Likewise. [PR libc/988]
579 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
581 * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
582 instead of stat and fstat.
583 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
585 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
587 * elf/dl-error.c (_dl_signal_cerror): New function.
588 (_dl_signal_error): Don't call receiver function.
589 * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
590 instead of _dl_signal_error when reporting references to undefined
592 (_dl_lookup_versioned_symbol): Likewise.
593 (_dl_lookup_versioned_symbol_skip): Likewise.
594 * elf/dl-version.c (match_symbol): Likewise.
596 * elf/ldsodefs.h: Declare _dl_signal_cerror.
598 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
600 * misc/getttyent.c (getttyent): Release lock on stream later to
601 also protect global variable zapchar.
603 * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
604 __times [PR libc/990].
606 1999-02-21 David S. Miller <davem@redhat.com>
608 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
609 parentheses in Feb 2 changes.
610 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
612 1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
614 * sysdeps/generic/glob.c (glob): Save previous errno.
616 1999-02-21 Ulrich Drepper <drepper@cygnus.com>
618 * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
619 lookup functions if it is too small.
621 1999-02-20 Ulrich Drepper <drepper@cygnus.com>
623 * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
624 for tracing to the scope lists.
625 * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
626 DT_SYMTAB is always available according to ELF spec.
628 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
629 call test whether there is any scope left.
630 (_dl_lookup_versioned_symbol_skip): Likewise.
632 * elf/Makefile (distribute): Add do-lookup.h.
633 * elf/do-lookup.h: New file. Split out from dl-lookup.c.
634 * elf/dl-lookup.c: Move do_lookup function in separate file and
635 include the file twice, for handling versioning and without it.
637 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
638 entry is already relocated.
639 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
640 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
641 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
642 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
644 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
646 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
649 * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
650 load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
651 DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
652 (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
653 rel and rela relocations can both happen and skip one test if this
655 (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
657 * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
659 * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
661 * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
662 (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
663 (_dl_map_object): DT_STRTAB entry is already relocated.
664 * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
666 * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
668 * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
669 DT_VERSYM entries are already relocated.
670 (profile_fixup): Likewise.
671 * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace
673 (match_symbol): DT_STRTAB entry is already relocated.
674 (_dl_check_map_versions): Likewise. Also fo DT_VERSYM.
675 * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
676 relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated.
677 * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
678 (find_needed): DT_STRTAB entry is already relocated.
679 (dl_main): Pass extra argument to elf_get_dynamic_info.
680 DT_STRTAB entry is already relocated.
681 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
682 DT_PLTGOT entries are already relocated.
683 (elf_machine_rela): Likewise for DT_SYMTAB.
684 * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
686 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
687 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
688 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
689 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
690 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
691 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
692 (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
693 * sysdeps/mips/mips64/dl-machine.h: Likewise.
695 * grp/initgroups.c (initgroups): If function in current module was
696 successful don't stop but continue to process to get all the groups.
698 * elf/dl-load.c (_dl_map_object_from_fd): Use global
699 _dl_pf_to_proot array to convert p_flags value.
700 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
702 * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
703 loop to clear `info'.
705 * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
706 do the work and don't use inline assembler.
708 1999-02-19 Ulrich Drepper <drepper@cygnus.com>
710 * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
711 * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
712 noreturn, and prevent it from being inlined.
713 Define LOSE appropriately.
714 (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
715 Optimize decoding of p_flags for certain platforms.
717 1999-02-19 Philip Blundell <pb@nexus.co.uk>
719 * Makeconfig (link-libc): When doing a static link, make sure that
720 libgcc.a is included both before and after libc.a.
722 1999-02-18 Thorsten Kukuk <kukuk@suse.de>
724 * nis/nss_compat/compat-spwd.c: Fix handling of default values for
725 sp_warn, sp_inact, sp_expire and sp_flag.
727 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
729 * elf/link.h (link_map): Add l_dev and l_ino.
730 * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
731 loaded shared object with all laoded objects. Initialize l_ino
732 and l_dev in case it's new.
733 * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
735 * elf/Makefile: Compile and run new test.
736 * elf/multiload.c: New file.
738 * nss/nsswitch.h (service_user): Change name field from const char *
740 (name_database_entry): Likewise.
741 * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
742 for change of `service_user'.
743 (nss_getline): Adjust memory allocation for change of
744 `name_database_entry'.
746 * catgets/catgets.c: Correctly handle NLSPATH from environment
749 * io/Makefile (routines): Add lock64.
750 * io/Versions: Add lockf64 for GLIBC_2.1.1.
751 * sysdeps/generic/lockf64.c: New file.
753 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
755 * string/bits/string2.h: Only use strncmp optimization if count
756 argument is constant.
758 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
760 * sysdeps/mach/hurd/revoke.c: New file.
762 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
764 * wctype/wctype.h (_ISwbit): Cast result of shift operations to
765 int to avoid warning about `ISO C restricts enumerator values to
768 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
770 * elf/dlfcn.h: Fix typo.
771 * sysdeps/generic/bits/dlfcn.h: Likewise.
772 * sysdeps/mips/bits/dlfcn.h: Likewise.
774 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
776 * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
779 * db2/Makefile (distribute): Add LICENSE.
781 1999-02-03 Jeff Bailey <jbailey@nisa.net>
783 * sysdeps/unix/make_errlist.c: Add i18n and copyright to
786 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
788 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
790 * time/mktime.c: Use ISO C form for function definitions and
791 remove unnecessary prototypes.
793 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
795 * time/time.h: Avoid unneccesary #ifdef.
797 1999-02-15 Geoff Keating <geoffk@ozemail.com.au>
799 * stdio-common/_itoa.c (_itoa): Correct parameters to
802 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
804 * misc/sys/cdefs.h: Undefine __PMT since it might be defined
805 before (e.g. in glob.h).
808 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
810 * sysdeps/mips/fpu_control.h: Fix typo.
811 Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
814 1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
816 * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
817 the "unused" ends of the sockets. Let pipes be bidirectional.
819 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
821 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
824 1999-02-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
826 * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by
827 Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
829 * manual/setjmp.texi (Non-Local Exits and Signals): Fix
830 typo. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
832 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
834 * string/Versions: Add __strverscmp to GLIBC_2.1.1.
836 1999-02-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
838 * misc/syslog.c (vsyslog): Remember errno for %m format. Fix
839 check for priority mask.
841 1999-02-14 Ulrich Drepper <drepper@cygnus.com>
843 * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
844 Reported by Craig Metz <cmetz@inner.net> .
846 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
848 * stdio-common/Makefile (tests): tllformat added.
850 * stdio-common/tllformat.c: New program, based on tiformat.c with
851 examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
853 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
855 * posix/test-vfork.c: Fix exit status test.
857 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
859 * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
860 missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
862 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
864 * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
865 of separare explicit comparisons.
867 1999-02-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
869 * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
872 * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
875 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
877 * po/el.po: Update from translation team.
879 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
881 * intl/locale.alias: Fix slovenian entry [PR libc/948].
883 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
885 * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
886 * inet/ruserpass.c: Likewise.
887 * locale/programs/stringtrans.c: Likewise.
888 * locale/programs/localedef.c: Likewise.
889 * nscd/grpcache.c: Likewise.
890 * nss/nss_files/files-XXX.c: Likewise.
891 * stdlib/canonicalize.c: Likewise.
892 * sysdeps/posix/sigwait.c: Likewise.
894 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
896 * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
897 even on 64 bit platforms.
899 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
900 Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
902 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
904 * intl/dcgettext.c: Include locale.h is available.
906 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
908 * po/nl.po: Update from translation team.
910 * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
912 * Makefile: Allow calling goals for po subdir.
914 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
917 * po/el.po: New file.
919 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
921 * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
922 when processing DT_SYMBOLIC objects.
924 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
926 * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
927 program headers without PT_PHDR only require that they are
928 contained within one of the loaded segments. Don't use assert,
929 since that would be a bug in the object, not the dynamic linker.
931 1999-02-08 Richard Henderson <rth@cygnus.com>
933 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
934 restore all call-clobbered fp regs.
936 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
938 * po/cs.po: New file.
940 * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
943 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
945 * signal/signal.h: Don't declare __libc_allocate_rtsig.
946 * include/signal.h: Declare __libc_allocate_rtsig here.
948 * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
949 point functions, not do_lookup since the later can be called more
952 1999-02-03 Jakub Jelinek <jj@ultra.linux.cz>
954 * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
955 macro, so that architectures which need to add some special
956 offset to stack pointer can share this file.
958 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
959 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
960 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
961 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
963 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
964 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
965 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
966 between sparc32 and sparc64.
968 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
969 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
970 * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
971 between sparc32 and sparc64.
973 * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
974 * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
975 * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
976 between sparc32 and sparc64.
978 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
979 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
980 * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
981 between sparc32 and sparc64.
983 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
985 * Versions.def: New version GLIBC_2.1.1 for libc.
986 * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
987 * stdlib/labs.c: Moved to...
988 * sysdeps/generic/labs.c: ...here.
989 * stdlib/llabs.c: Moved to...
990 * sysdeps/generic/llabs.c: ...here.
991 * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
992 header. Declare _Exit.
993 * sysdeps/generic/_exit.c: Add alias _Exit.
994 * sysdeps/mach/hurd/_exit.c: Likewise.
995 * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
996 * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
997 * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
998 * sysdeps/unix/_exit.c: Likewise.
999 * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
1000 imaxdiv and imaxabs. Declare lldiv_t if necessary.
1001 * sysdeps/wordsize-64/inttypes.h: Likewise.
1002 * sysdeps/wordsize-32/llabs.c: New file.
1003 * sysdeps/wordsize-32/lldiv.c: New file.
1004 * sysdeps/wordsize-64/labs.c: New file.
1005 * sysdeps/wordsize-64/ldiv.c: New file.
1006 * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
1007 * manual/startup.texi: Document _Exit.
1009 1999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1011 * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
1013 1999-02-06 Ulrich Drepper <drepper@cygnus.com>
1015 * Versions.def: Add versions for ld.so.
1016 * csu/Versions: Remove __libc_stack_end here.
1017 * elf/Versions: Split libc definitions in libc and ld.so definitions.
1018 * elf/Makefile (ld-map): Change to ld.so.map.
1019 * scripts/versions.awk: Recognize dot in library names.
1021 * ctype/ctype.h: Remove definitions of __tolower and __toupper.
1022 Don't use __tolower and __toupper in inline functions.
1023 Add optimizing macros for tolower and toupper.
1024 * ctype/ctype-extn.c (_tolower): Don't use __tolower.
1025 (_toupper): Don't use __toupper.
1026 * ctype/ctype.c (tolower): Don't use __tolower.
1027 (toupper): Don't use toupper.
1029 * nscd/cache.c (prune_cache): Correct printing of debugging messages.
1031 * resolv/Versions (libresolv): Export __ns_name_unpack and
1033 * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
1034 make it global. Change all users. Similar for ns_name_ntop.
1035 * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
1036 user-provided buffer. Use __ns_name_unpack and __ns_name_ntop
1037 directly to detect too small buffer.
1038 * resolv/nss_dns/dns-network.c: Likewise.
1040 * stdio-common/Makefile (tests): Add scanf12.
1041 * stdio-common/scanf12.c: New file.
1042 * stdio-common/scanf12.input: New file.
1043 * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
1044 floating-point correctly if the number is invalid.
1046 * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
1048 * stdio-common/printf_fp.c: Likewise.
1049 * stdio-common/printf_fphex.c: Likewise.
1050 * stdio-common/vfprintf.c: Likewise.
1053 See ChangeLog.9 for earlier changes.