1 1999-03-30 20:59 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
3 * login/programs/pt_chown.c: Drop privileges if invoked with
4 arguments. Don't close the master pty.
6 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
8 * time/tzfile.c (__tzfile_read): Process transitions from the rear.
11 1999-03-29 Ulrich Drepper <drepper@cygnus.com>
13 * elf/rtld.c (process_envvars): Do not automatically prevent lazy
14 relocation for SUID binaries.
16 1999-03-29 Paul Eggert <eggert@twinsun.com>
18 * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
19 while in child process.
21 1999-03-29 Jakub Jelinek <jj@ultra.linux.cz>
23 * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
24 * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
25 * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
26 * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
27 * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
29 * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
30 * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
31 * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
32 * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
33 * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
34 * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
35 * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
36 * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
37 * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
38 * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
39 * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
40 * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
41 * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
42 * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
43 * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
44 * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
45 * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
46 * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
47 * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
48 * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
49 * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
50 * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
51 * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
52 * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
53 * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
54 * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
56 * sysdeps/sparc/sparc32/bcopy.c: New file.
57 * sysdeps/sparc/sparc32/bzero.c: New file.
58 * sysdeps/sparc/sparc32/memchr.S: New file.
59 * sysdeps/sparc/sparc32/memcpy.S: New file.
60 * sysdeps/sparc/sparc32/memmove.c: New file.
61 * sysdeps/sparc/sparc32/memset.S: New file.
62 * sysdeps/sparc/sparc32/stpcpy.S: New file.
63 * sysdeps/sparc/sparc32/strchr.S: New file.
64 * sysdeps/sparc/sparc32/strrchr.c: New file.
65 * sysdeps/sparc/sparc32/strcpy.S: New file.
66 * sysdeps/sparc/sparc32/strlen.S: New file.
67 * sysdeps/sparc/sparc32/strcat.S: New file.
68 * sysdeps/sparc/sparc32/strcmp.S: New file.
70 * sysdeps/sparc/sparc64/bcopy.c: New file.
71 * sysdeps/sparc/sparc64/bzero.c: New file.
72 * sysdeps/sparc/sparc64/memchr.S: New file.
73 * sysdeps/sparc/sparc64/memcmp.S: New file.
74 * sysdeps/sparc/sparc64/memcpy.S: New file.
75 * sysdeps/sparc/sparc64/memset.S: New file.
76 * sysdeps/sparc/sparc64/stpcpy.S: New file.
77 * sysdeps/sparc/sparc64/strcat.S: New file.
78 * sysdeps/sparc/sparc64/strchr.S: New file.
79 * sysdeps/sparc/sparc64/strcmp.S: New file.
80 * sysdeps/sparc/sparc64/strcpy.S: New file.
81 * sysdeps/sparc/sparc64/strcspn.S: New file.
82 * sysdeps/sparc/sparc64/strlen.S: New file.
83 * sysdeps/sparc/sparc64/strncpy.S: New file.
84 * sysdeps/sparc/sparc64/strpbrk.S: New file.
85 * sysdeps/sparc/sparc64/strrchr.c: New file.
86 * sysdeps/sparc/sparc64/strspn.S: New file.
87 * sysdeps/sparc/sparc64/stpncpy.S: New file.
88 * sysdeps/sparc/sparc64/strncmp.S: New file.
90 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
91 Append -fPIC, don't replace.
93 * configure.in: Recognize sparcv8plus / sparcv9.
95 1999-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
97 * malloc/obstack.h (obstack_free): Explicitly convert __obj to
98 char * to avoid C++ warning.
99 Patch by yasushi@cs.washington.edu [PR libc/1035].
101 1999-03-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
103 * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
104 declared in stdlib.h, correct return value of mkstemp.
105 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
107 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
110 1999-03-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
112 * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
115 * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
116 inline functions. Closes PR libc/1049.
118 1999-03-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
120 * timezone/README: Update from tzdata1999c and tzcode1999c.
122 * timezone/africa: Update from tzdata1999c.
123 * timezone/antarctica: Likewise.
124 * timezone/asia: Likewise.
125 * timezone/australasia: Likewise.
126 * timezone/europe: Likewise.
127 * timezone/northamerica: Likewise.
128 * timezone/southamerica: Likewise.
129 * timezone/zone.tab: Likewise.
131 * timezone/zic.c: Update from tzcode1999c.
133 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
135 * Makerules: Add $(common-objpfx)Versions.all to common-generated
136 outside of ifndef avoid-generated.
138 * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
140 * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
142 * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
144 * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
145 _IO_old_file_seekoff): Bring over recent changes in fileops.c.
147 1999-03-26 Mark Kettenis <kettenis@gnu.org>
149 * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
150 if we build the profiled library.
152 Fri Mar 26 10:27:38 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
154 * math/Makefile (gmp-objs): Add inlines. Reported by Andreas
155 Jaeger <aj@arthur.rhein-neckar.de>
157 Thu Mar 25 23:57:57 1999 Roland McGrath <roland@yaumatei.ai.mit.edu>
159 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
160 (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
161 This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
163 1999-03-24 Roland McGrath <roland@baalperazim.frob.com>
165 * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
166 works properly in subdirs.
168 1999-03-23 Roland McGrath <roland@baalperazim.frob.com>
170 * sysdeps/mach/hurd/Makefile: Undo last change.
171 [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
172 [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
174 * mach/Machrules (+preinit, +postinit, +interp,
175 LDFLAGS-$(interface.so)): Variables removed. Interface libraries get
176 linked just like other shared libraries.
177 (interface.so): Fix typo in defn, so it works.
178 ($(objpfx)$(interface.so)): Make it depend on libc.so.
180 1999-03-21 Roland McGrath <roland@baalperazim.frob.com>
182 * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
185 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
187 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
188 $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
189 targets if not building shared libraries.
191 Mon Mar 22 15:48:06 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
193 * configure.in: Also look in $PATH when searching for
194 install-info. Remove autoconf bug workaround and require autoconf
197 1999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
199 * db/Makefile: Don't try to install shared library link if not
200 building with shared libs.
202 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
204 * rt/Makefile: Link against static library if no shared lib is
207 * localedata/Makefile: The shells scripts implementing the test
208 require the dynamic linker which is not available with
209 --disable-shared. Skip the test if --disable-shared is given.
211 * linuxthreads/Makefile: Link test against static libpthread if no
212 shared lib is available.
214 * iconvdata/Makefile (tests): Run iconv-test only if we're
215 building shared libraries.
216 * elf/Makefile (tests): Likewise for elf tests.
218 * posix/Makefile: The test frameworks globtest and wordexp-test
219 require the dynamic linker which is not available with
220 --disable-shared. Skip the test if --disable-shared is given.
222 * grp/Makefile (otherlibs): For static nss build link against
225 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
227 * debug/Makefile (install-bin): Install and build catchsegv only
228 if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR
231 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
233 * time/tzfile.c (__tzfile_read): Handle the case where there are
234 transitions but no DST.
236 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>
238 * mach/Machrules (extra-libs-others): Add $(interface-library) here
239 too, so it gets built in the others pass rather than the lib pass.
240 This is necessary since the RPC libraries need to be linked against
243 1999-03-19 Roland McGrath <roland@baalperazim.frob.com>
245 * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
248 * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
249 ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
250 ($(link-rpcuserlibs)): New static pattern rule; link intermediate
251 versions of lib{mach,hurd}user.so without reference to libc.so,
252 then link libc.so against that to get deps and symbol versions, then
253 finally link real lib*user.so against libc.so.
255 * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
256 Support whole-file locking (only) by using the file_lock RPC. This
257 has very wrong semantics, but is better than nothing for the time
258 being. (Correct POSIX.1 locking will require new RPCs in the Hurd
259 protocols that will be somewhat hairy to specify.)
261 1999-03-17 Mark Kettenis <kettenis@gnu.org>
263 * sysdeps/mach/hurd/ptsname.c: New file.
265 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
267 * timezone/asia: Fix rule in Asia/Nicosia entry.
269 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
271 * manual/getopt.texi (Using Getopt): Explain "::" in option
272 string. Reported by Yuri Niyazov <yuricake@geocities.com>.
274 1999-03-18 Thorsten Kukuk <kukuk@suse.de>
276 * sunrpc/clnt_unix.c: Fix creation of parameters for
277 sendmsg/recvmsg on non intel platforms.
278 * sunrpc/svc_unix.c: Likewise.
280 1999-03-18 Philip Blundell <philb@gnu.org>
282 * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386
285 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
287 * timezone/africa: Update from tzdata1999b.
288 * timezone/asia: Likewise.
289 * timezone/australasia: Likewise.
290 * timezone/europe: Likewise.
291 * timezone/northamerica: Likewise.
292 * timezone/southamerica: Likewise.
293 * timezone/zone.tab: Likewise.
295 * timezone/README: Mention tzdata1999b.
297 1999-03-17 Ulrich Drepper <drepper@cygnus.com>
299 * sysdeps/generic/segfault.c (write_strsignal): New function.
300 (catch_segfault): Use it instead of calling strsignal.
302 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
304 * iconv/gconv.c (__gconv): Change type of last_start to unsigned
305 char to avoid warning.
307 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
309 * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
311 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
312 outbuf to unsigned char to avoid warning.
314 1999-03-11 David S. Miller <davem@redhat.com>
316 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
318 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
320 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
322 * iconv/gconv.h (gconv_fct): Change parameter from `char' to
324 (gconv_step_data): Likewise.
325 * iconv/gconv_int.h (__gconv): Likewise.
326 (__BUILINT_TRANS): Likewise.
327 * iconv/gconv.c (__gconv): Likewise.
328 * iconv/iconv.c (iconv): Add casts for call of __gconv.
329 * iconv/skeleton.c: Change local parameters and variable from `char' to
330 `unsigned char'. Remove casts from calls into modules.
331 * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
332 `char' to `unsigned char'.
333 * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
334 * wcsmbs/mbrtowc.c: Likewise.
335 * wcsmbs/mbsnrtowcs.c: Likewise.
336 * wcsmbs/mbsrtowcs.c: Likewise.
337 * wcsmbs/wcrtomb.c: Likewise.
338 * wcsmbs/wcsnrtombs.c: Likewise.
339 * wcsmbs/wcsrtombs.c: Likewise.
340 * wcsmbs/wctob.c: Likewise.
342 1999-03-15 Mark Kettenis <kettenis@gnu.org>
344 * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
345 __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
346 __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
347 __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
348 __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
349 __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
351 1999-03-15 Mark Kettenis <kettenis@gnu.org>
353 * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
354 _hurd_select if TIMEMOUT is -1.
356 1999-03-15 Mark Kettenis <kettenis@gnu.org>
358 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
360 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
362 * elf/dl-load.c: Compute rtld_search_dir array size correctly.
363 Reported by Yasushi Saito <yasushi@cs.washington.edu>.
365 1999-03-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
367 * manual/libc.texinfo: Undo last change for now.
369 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
371 * intl/locale.alias: Add entries for Croatian.
372 Patch by Tomislav Vujec <tvujec@CARNet.hr>.
374 1999-03-13 Mark Kettenis <kettenis@gnu.org>
376 * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
377 if the opened master pty really is a pty. `isatty' checks for
378 tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE
379 if we are out of pty's.
381 1999-03-13 Mark Kettenis <kettenis@gnu.org>
383 * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
384 opened file is closed on exec.
385 * login/utmp_daemon.c (setutent_daemon): Likewise for the just
388 1999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
390 * manual/llio.texi (File Position Primitive): Reformat @end
391 command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
393 1999-03-14 Ulrich Drepper <drepper@cygnus.com>
395 * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
397 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
398 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
400 * locale/programs/localedef.c (main): Initialize `cat' to please
403 1999-03-14 Roland McGrath <roland@baalperazim.frob.com>
405 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
406 check for root-owned symlinks and reject them too.
408 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
410 * stdio-common/printf_fphex.c: Move to ...
411 * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of
412 extended precision number.
413 * sysdeps/m68k/printf_fphex.c: New file.
415 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
417 * manual/stdio.texi: Fix typos.
419 1999-03-09 Ulrich Drepper <drepper@cygnus.com>
421 * version.h (VERSION): Bump to 2.1.1.
423 1999-03-09 Thorsten Kukuk <kukuk@suse.de>
425 * nis/ypclnt.c: Try only twice to connect to NIS server.
427 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
429 * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
431 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
433 * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
434 (DENORM_EXP): New define. Use it as the exponent for a denormal.
435 * stdlib/strtold.c: Moved to ...
436 * sysdeps/generic/strtold.c: ... here.
437 * sysdeps/m68k/strtold.c: New file.
439 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
441 * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
442 point if the precision is zero, even if the mantissa is non-zero.
444 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
446 * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
447 arguments into the request message buffer inside `send_rpc'
448 subfunction. We must repeat the marshalling when retrying the RPC
449 after a SIGTTOU delivery.
451 * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
452 path when there is no ctty port.
453 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
454 Move sigstate check inside loop so we recheck after handling a signal.
456 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
458 * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
459 O_EXLOCK are BSD extensions.
460 Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
462 1999-03-08 Ulrich Drepper <drepper@cygnus.com>
464 * manual/signal.texi (Termination in Handler): Correct example.
465 Install default handler before reraising the signal.
466 Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
468 1999-03-08 Roland McGrath <roland@baalperazim.frob.com>
470 * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
471 null, in which case send an empty string.
473 1999-03-02 Mark Kettenis <kettenis@gnu.org>
475 * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
476 backward compatibility EH functions to be linked when using
477 gcc-2.8.1. Patch by Zack Weinberg <zack@rabi.columbia.edu>.
479 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
481 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
482 /dev/pts status may change during runtime.
484 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
486 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
487 change. /dev/pts status can change during runtime.
489 1999-03-07 Thorsten Kukuk <kukuk@suse.de>
491 * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
493 * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
494 add some more sanity checks.
495 * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
498 1999-03-05 Thorsten Kukuk <kukuk@suse.de>
500 * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
501 change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
502 * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
503 * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
504 * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
506 * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
507 * nis/nis_print.c: Fix ctime argument for platforms where
508 sizeof (time_t) != sizeof (int).
510 1999-03-07 Mark Kettenis <kettenis@gnu.org>
512 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
513 CLOCKS_PER_SEC instead of CLK_TCK.
515 1999-03-05 Ulrich Drepper <drepper@cygnus.com>
517 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
518 whether /dev/pts is available.
519 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
522 * posix/globtest.sh: Make common_objpfx path absolute and and db2
523 and hesiod directory to library path [PR libc/1007].
525 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
527 * resolv/inet_addr.c (inet_aton): Don't allow componets >
528 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
530 1999-03-05 Geoff Keating <geoffk@ozemail.com.au>
532 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
533 DT_PLTGOT has already been relocated.
534 (__elf_machine_fixup_plt): Likewise.
537 1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
539 * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
541 1999-03-03 Ulrich Drepper <drepper@cygnus.com>
543 * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
544 and fold string to uppercase [PR libc/1005].
546 1999-03-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
548 * elf/dl-load.c (lose): Fix return type.
550 1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
552 * sysdeps/mach/hurd/bits/fcntl.h
553 [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
554 * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
555 set O_NOTRANS as well.
556 (__hurd_file_name_lookup_retry): At successful end of lookup,
557 if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
558 it is a translated node not owned by root.
559 (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
560 on the file name passed to LOOKUP.
562 1999-03-02 Ulrich Drepper <drepper@cygnus.com>
564 * manual/time.texi (High Resolution Timer): Correct computation in
565 example. Reported by jjf@devel.cemsys.com.
567 1999-03-02 Philip Blundell <pb@nexus.co.uk>
569 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
570 entry is already relocated.
572 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
574 * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported
575 by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
577 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
579 * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
580 uc_link which is the right name according to Unix98.
581 Reported by Craig Metz [PR libc/1001].
582 * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
583 * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
584 * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
585 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
586 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise
587 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
589 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
591 * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
594 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
596 * iconvdata/Makefile: Always include iconv-rules, but disable rule
597 to regenerate it if avoid-generated.
599 * Makeconfig: Always include sys-dirs, but disable rule to
600 regenerate it when avoid-generated.
602 * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
603 rule to generate sysd-syscalls.
605 * elf/Makefile (generated): Remove $(objpfx) from names.
607 1999-02-28 Mark Kettenis <kettenis@gnu.org>
609 * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
610 actual length if the adress length is smaller than the input
611 value. Change type of *LEN paramater to socklen_t.
612 * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
613 * sysdeps/mach/hurd/accept.c (accept): Likewise.
614 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
615 * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
616 paramater to socklen_t.
618 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
620 * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
621 msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
624 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
626 * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
627 __get_phys_pages): Cast &HBI to silence warning.
629 * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
630 * hurd/hurdchdir.c: New file.
631 * hurd/hurdfchdir.c: New file.
632 * sysdeps/mach/hurd/chroot.c: Call
633 _hurd_change_directory_port_from_name to do the work.
634 * sysdeps/mach/hurd/chdir.c: Likewise.
635 * sysdeps/mach/hurd/fchdir.c: Call
636 _hurd_change_directory_port_from_fd to do the work.
637 * hurd/fchroot.c: Likewise.
638 * hurd/hurd.h: Declare them.
640 1999-02-27 Ulrich Drepper <drepper@cygnus.com>
642 * elf/dl-load.c (lose): Add more comments to explain the `why'.
643 (_dl_map_object): Remove redundant test.
645 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
647 * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
648 try to _hurd_port_free a lower-numbered descriptor that was not in any
651 1999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
653 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
654 declaration for ____wcstod_l_internal.
656 * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
657 __strtod_internal prototype.
658 * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
659 (____strtold_l_internal): Add prototype declaration.
660 (__strtold_l): Call correct function.
662 1999-02-24 Ulrich Drepper <drepper@cygnus.com>
664 * elf/elf.h: Add 32bit HPPA definitions.
666 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
668 * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
669 non-checked heap is restored when malloc checking was requested by
671 (struct malloc_state): Add using_malloc_checking.
672 (MALLOC_STATE_VERSION): Increment minor.
673 (using_malloc_checking, disallow_malloc_check): New variables.
674 (__malloc_check_init): Use them.
675 (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
676 that it can the chunk is properly instrumented when malloc
677 checking is enabled. Set the new using_malloc_checking field.
678 (malloc_hook_ini): Correct signature when _LIBC is not defined.
680 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
682 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
683 (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
686 * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
687 Don't call elf_get_dynamic_info and _dl_setup_hash a second time
688 if ld.so is the main program.
690 1999-02-23 Ulrich Drepper <drepper@cygnus.com>
692 * stdio-common/vfprintf.c (vfprintf): If precision or width is too
693 large for work_buffer, allocate new buffer.
694 (printf_unknown): Likewise. [PR libc/988]
696 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
698 * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
699 instead of stat and fstat.
700 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
702 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
704 * elf/dl-error.c (_dl_signal_cerror): New function.
705 (_dl_signal_error): Don't call receiver function.
706 * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
707 instead of _dl_signal_error when reporting references to undefined
709 (_dl_lookup_versioned_symbol): Likewise.
710 (_dl_lookup_versioned_symbol_skip): Likewise.
711 * elf/dl-version.c (match_symbol): Likewise.
713 * elf/ldsodefs.h: Declare _dl_signal_cerror.
715 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
717 * misc/getttyent.c (getttyent): Release lock on stream later to
718 also protect global variable zapchar.
720 * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
721 __times [PR libc/990].
723 1999-02-21 David S. Miller <davem@redhat.com>
725 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
726 parentheses in Feb 2 changes.
727 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
729 1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
731 * sysdeps/generic/glob.c (glob): Save previous errno.
733 1999-02-21 Ulrich Drepper <drepper@cygnus.com>
735 * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
736 lookup functions if it is too small.
738 1999-02-20 Ulrich Drepper <drepper@cygnus.com>
740 * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
741 for tracing to the scope lists.
742 * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
743 DT_SYMTAB is always available according to ELF spec.
745 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
746 call test whether there is any scope left.
747 (_dl_lookup_versioned_symbol_skip): Likewise.
749 * elf/Makefile (distribute): Add do-lookup.h.
750 * elf/do-lookup.h: New file. Split out from dl-lookup.c.
751 * elf/dl-lookup.c: Move do_lookup function in separate file and
752 include the file twice, for handling versioning and without it.
754 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
755 entry is already relocated.
756 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
757 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
758 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
759 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
761 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
763 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
766 * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
767 load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
768 DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
769 (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
770 rel and rela relocations can both happen and skip one test if this
772 (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
774 * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
776 * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
778 * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
779 (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
780 (_dl_map_object): DT_STRTAB entry is already relocated.
781 * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
783 * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
785 * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
786 DT_VERSYM entries are already relocated.
787 (profile_fixup): Likewise.
788 * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace
790 (match_symbol): DT_STRTAB entry is already relocated.
791 (_dl_check_map_versions): Likewise. Also fo DT_VERSYM.
792 * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
793 relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated.
794 * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
795 (find_needed): DT_STRTAB entry is already relocated.
796 (dl_main): Pass extra argument to elf_get_dynamic_info.
797 DT_STRTAB entry is already relocated.
798 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
799 DT_PLTGOT entries are already relocated.
800 (elf_machine_rela): Likewise for DT_SYMTAB.
801 * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
803 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
804 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
805 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
806 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
807 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
808 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
809 (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
810 * sysdeps/mips/mips64/dl-machine.h: Likewise.
812 * grp/initgroups.c (initgroups): If function in current module was
813 successful don't stop but continue to process to get all the groups.
815 * elf/dl-load.c (_dl_map_object_from_fd): Use global
816 _dl_pf_to_proot array to convert p_flags value.
817 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
819 * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
820 loop to clear `info'.
822 * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
823 do the work and don't use inline assembler.
825 1999-02-19 Ulrich Drepper <drepper@cygnus.com>
827 * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
828 * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
829 noreturn, and prevent it from being inlined.
830 Define LOSE appropriately.
831 (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
832 Optimize decoding of p_flags for certain platforms.
834 1999-02-19 Philip Blundell <pb@nexus.co.uk>
836 * Makeconfig (link-libc): When doing a static link, make sure that
837 libgcc.a is included both before and after libc.a.
839 1999-02-18 Thorsten Kukuk <kukuk@suse.de>
841 * nis/nss_compat/compat-spwd.c: Fix handling of default values for
842 sp_warn, sp_inact, sp_expire and sp_flag.
844 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
846 * elf/link.h (link_map): Add l_dev and l_ino.
847 * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
848 loaded shared object with all laoded objects. Initialize l_ino
849 and l_dev in case it's new.
850 * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
852 * elf/Makefile: Compile and run new test.
853 * elf/multiload.c: New file.
855 * nss/nsswitch.h (service_user): Change name field from const char *
857 (name_database_entry): Likewise.
858 * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
859 for change of `service_user'.
860 (nss_getline): Adjust memory allocation for change of
861 `name_database_entry'.
863 * catgets/catgets.c: Correctly handle NLSPATH from environment
866 * io/Makefile (routines): Add lock64.
867 * io/Versions: Add lockf64 for GLIBC_2.1.1.
868 * sysdeps/generic/lockf64.c: New file.
870 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
872 * string/bits/string2.h: Only use strncmp optimization if count
873 argument is constant.
875 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
877 * sysdeps/mach/hurd/revoke.c: New file.
879 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
881 * wctype/wctype.h (_ISwbit): Cast result of shift operations to
882 int to avoid warning about `ISO C restricts enumerator values to
885 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
887 * elf/dlfcn.h: Fix typo.
888 * sysdeps/generic/bits/dlfcn.h: Likewise.
889 * sysdeps/mips/bits/dlfcn.h: Likewise.
891 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
893 * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
896 * db2/Makefile (distribute): Add LICENSE.
898 1999-02-03 Jeff Bailey <jbailey@nisa.net>
900 * sysdeps/unix/make_errlist.c: Add i18n and copyright to
903 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
905 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
907 * time/mktime.c: Use ISO C form for function definitions and
908 remove unnecessary prototypes.
910 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
912 * time/time.h: Avoid unneccesary #ifdef.
914 1999-02-15 Geoff Keating <geoffk@ozemail.com.au>
916 * stdio-common/_itoa.c (_itoa): Correct parameters to
919 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
921 * misc/sys/cdefs.h: Undefine __PMT since it might be defined
922 before (e.g. in glob.h).
925 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
927 * sysdeps/mips/fpu_control.h: Fix typo.
928 Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
931 1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
933 * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
934 the "unused" ends of the sockets. Let pipes be bidirectional.
936 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
938 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
941 1999-02-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
943 * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by
944 Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
946 * manual/setjmp.texi (Non-Local Exits and Signals): Fix
947 typo. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
949 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
951 * string/Versions: Add __strverscmp to GLIBC_2.1.1.
953 1999-02-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
955 * misc/syslog.c (vsyslog): Remember errno for %m format. Fix
956 check for priority mask.
958 1999-02-14 Ulrich Drepper <drepper@cygnus.com>
960 * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
961 Reported by Craig Metz <cmetz@inner.net> .
963 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
965 * stdio-common/Makefile (tests): tllformat added.
967 * stdio-common/tllformat.c: New program, based on tiformat.c with
968 examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
970 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
972 * posix/test-vfork.c: Fix exit status test.
974 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
976 * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
977 missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
979 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
981 * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
982 of separare explicit comparisons.
984 1999-02-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
986 * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
989 * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
992 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
994 * po/el.po: Update from translation team.
996 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
998 * intl/locale.alias: Fix slovenian entry [PR libc/948].
1000 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1002 * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
1003 * inet/ruserpass.c: Likewise.
1004 * locale/programs/stringtrans.c: Likewise.
1005 * locale/programs/localedef.c: Likewise.
1006 * nscd/grpcache.c: Likewise.
1007 * nss/nss_files/files-XXX.c: Likewise.
1008 * stdlib/canonicalize.c: Likewise.
1009 * sysdeps/posix/sigwait.c: Likewise.
1011 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1013 * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
1014 even on 64 bit platforms.
1016 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
1017 Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
1019 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
1021 * intl/dcgettext.c: Include locale.h is available.
1023 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
1025 * po/nl.po: Update from translation team.
1027 * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
1029 * Makefile: Allow calling goals for po subdir.
1031 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
1034 * po/el.po: New file.
1036 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1038 * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
1039 when processing DT_SYMBOLIC objects.
1041 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1043 * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
1044 program headers without PT_PHDR only require that they are
1045 contained within one of the loaded segments. Don't use assert,
1046 since that would be a bug in the object, not the dynamic linker.
1048 1999-02-08 Richard Henderson <rth@cygnus.com>
1050 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
1051 restore all call-clobbered fp regs.
1053 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
1055 * po/cs.po: New file.
1057 * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
1060 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
1062 * signal/signal.h: Don't declare __libc_allocate_rtsig.
1063 * include/signal.h: Declare __libc_allocate_rtsig here.
1065 * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
1066 point functions, not do_lookup since the later can be called more
1069 1999-02-03 Jakub Jelinek <jj@ultra.linux.cz>
1071 * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
1072 macro, so that architectures which need to add some special
1073 offset to stack pointer can share this file.
1075 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
1076 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
1077 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
1078 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
1080 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
1081 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
1082 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
1083 between sparc32 and sparc64.
1085 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
1086 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
1087 * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
1088 between sparc32 and sparc64.
1090 * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
1091 * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
1092 * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
1093 between sparc32 and sparc64.
1095 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
1096 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
1097 * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
1098 between sparc32 and sparc64.
1100 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
1102 * Versions.def: New version GLIBC_2.1.1 for libc.
1103 * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
1104 * stdlib/labs.c: Moved to...
1105 * sysdeps/generic/labs.c: ...here.
1106 * stdlib/llabs.c: Moved to...
1107 * sysdeps/generic/llabs.c: ...here.
1108 * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
1109 header. Declare _Exit.
1110 * sysdeps/generic/_exit.c: Add alias _Exit.
1111 * sysdeps/mach/hurd/_exit.c: Likewise.
1112 * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
1113 * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
1114 * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
1115 * sysdeps/unix/_exit.c: Likewise.
1116 * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
1117 imaxdiv and imaxabs. Declare lldiv_t if necessary.
1118 * sysdeps/wordsize-64/inttypes.h: Likewise.
1119 * sysdeps/wordsize-32/llabs.c: New file.
1120 * sysdeps/wordsize-32/lldiv.c: New file.
1121 * sysdeps/wordsize-64/labs.c: New file.
1122 * sysdeps/wordsize-64/ldiv.c: New file.
1123 * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
1124 * manual/startup.texi: Document _Exit.
1126 1999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1128 * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
1130 1999-02-06 Ulrich Drepper <drepper@cygnus.com>
1132 * Versions.def: Add versions for ld.so.
1133 * csu/Versions: Remove __libc_stack_end here.
1134 * elf/Versions: Split libc definitions in libc and ld.so definitions.
1135 * elf/Makefile (ld-map): Change to ld.so.map.
1136 * scripts/versions.awk: Recognize dot in library names.
1138 * ctype/ctype.h: Remove definitions of __tolower and __toupper.
1139 Don't use __tolower and __toupper in inline functions.
1140 Add optimizing macros for tolower and toupper.
1141 * ctype/ctype-extn.c (_tolower): Don't use __tolower.
1142 (_toupper): Don't use __toupper.
1143 * ctype/ctype.c (tolower): Don't use __tolower.
1144 (toupper): Don't use toupper.
1146 * nscd/cache.c (prune_cache): Correct printing of debugging messages.
1148 * resolv/Versions (libresolv): Export __ns_name_unpack and
1150 * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
1151 make it global. Change all users. Similar for ns_name_ntop.
1152 * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
1153 user-provided buffer. Use __ns_name_unpack and __ns_name_ntop
1154 directly to detect too small buffer.
1155 * resolv/nss_dns/dns-network.c: Likewise.
1157 * stdio-common/Makefile (tests): Add scanf12.
1158 * stdio-common/scanf12.c: New file.
1159 * stdio-common/scanf12.input: New file.
1160 * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
1161 floating-point correctly if the number is invalid.
1163 * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
1165 * stdio-common/printf_fp.c: Likewise.
1166 * stdio-common/printf_fphex.c: Likewise.
1167 * stdio-common/vfprintf.c: Likewise.
1170 See ChangeLog.9 for earlier changes.