1 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
3 * sysdeps/unix/sysv/linux/bits/types.h: Correct
4 signed/unsigned-ness of blkcnt and fsblkcnt.
5 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
8 * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
11 1999-04-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
13 * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero. Don't
14 include "linux_fsinfo.h".
15 Based on a patch by H.J. Lu <hjl@gnu.org>.
17 1999-04-16 Thorsten Kukuk <kukuk@suse.de>
19 * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
21 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
23 * nscd/cache.c (prune_cache): Only disable file checking for
24 future if the file does not exist.
25 Update file_mtime if cache was flushed.
27 1999-04-15 David S. Miller <davem@redhat.com>
29 * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
30 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
32 1999-04-15 Scott Bambrough <scottb@netwinder.org>
34 * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
37 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
39 * Versions.def: Add GLIBC_2.1.1 to libpthread.
41 * iconvdata/Makefile (modules): Add KOI8-U.
42 (distribute): Add koi8-u.c.
43 (gen-8bit-gap-modules): Add koi8-u.
44 * iconvdata/gconv-modules: Add KOI8-U entries.
45 * iconvdata/koi8-u.c: New file.
47 1999-04-13 Thorsten Kukuk <kukuk@suse.de>
49 * sunrpc/auth_des.c: 64bit fixes, security fixes.
50 * sunrpc/auth_none.c: Pretty print.
51 * sunrpc/auth_unix.c: Likewise.
52 * sunrpc/authdes_prot.c: Likewise.
53 * sunrpc/authuxprot.c: Likewise.
54 * sunrpc/bindrsvprt.c: Likewise.
55 * sunrpc/clnt_gen.c: Likewise.
56 * sunrpc/rpc/xdr.h: Likewise.
57 * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
58 * sunrpc/rpc_cmsg.c: Don't use *long pointers.
59 * sunrpc/rtime.c: Use new rpc_timeval.
60 * sunrpc/svc_authux.c: Don't use *long pointers.
61 * sunrpc/svcauth_des.c: Likewise + security fixes.
62 * sunrpc/xdr_mem.c: Don't use *long pointers.
63 * sunrpc/xdr_rec.c: Likewise.
64 * sunrpc/xdr_sizeof.c: Likewise.
65 * sunrpc/xdr_stdio.c: Likewise.
67 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
69 * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
70 so that it is redone for each sending.
72 1999-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
74 * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
76 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
78 * iconv/gconv_db.c (__gconv_find_transform): If conversion is
79 known to not exist don't try to load shared objects.
80 Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
82 * nscd/cache.c (prune_cache): The table might not be unused. In
85 * catgets/gencat.c (read_input_file): Don't drop white spaces
86 between number/identifier and string.
87 Patch by Dima Barsky <dima@pwd.hp.com>.
88 If no white space at all follows number/identifier remove existing
89 message with the number/identifier.
91 1999-04-14 H.J. Lu <hjl@gnu.org>
93 * sunrpc/clnt_udp.c (is_network_up): New function.
94 (clntudp_call): Call is_network_up () to check if any network
95 interface is up in case of timeout.
97 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
99 * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
100 * wctype/Makefile (tests): Add test_wcfuncs.
102 1999-04-14 Jakub Jelinek <jj@ultra.linux.cz>
104 * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
106 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
108 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
109 instead of CFLAGS. For gnulib and string directories use
110 -Wa,-Av9a gcc ASFLAGS.
111 * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
112 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
113 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
114 * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
115 the same way as sparc-*.
117 1999-04-14 Ulrich Drepper <drepper@cygnus.com>
119 * locale/programs/locfile.c (locfile_read): Fix typo.
120 Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
122 1999-04-14 Scott Bambrough <scottb@netwinder.org>
124 * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
125 restarted after being interrupted by a signal. The parameters on
126 the stack were corrupted by the signal handler.
128 * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
129 restarted after being interrupted by a signal. The parameters on
130 the stack were corrupted by the signal handler.
132 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
134 * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
135 Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
137 1999-04-12 Tim Waugh <tim@cyberelk.demon.co.uk>
139 * posix/wordexp-test.c: In field-splitting test cases where
140 subshells were involved, unset IFS first: some shells (ash) use
141 IFS even when no expansion is performed.
143 1999-04-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
145 * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
146 the real end of the chunk, not some random point inbetween.
147 (_IO_obstack_xsputn): Likewise. Actually copy the data into the
148 obstack when growing. Use fast version of obstack_blank when
150 (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
151 allocating the vtable pointer.
152 (_IO_obstack_vprintf): Adjust for above change and avoid
153 unnecessary casts. Use fast version of obstack_blank when
157 1999-04-12 Ulrich Drepper <drepper@cygnus.com>
159 * iconvdata/gconv-modules: Fix typo. Add UJIS alias.
160 Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
162 1999-04-11 Tim Waugh <tim@cyberelk.demon.co.uk>
164 * posix/wordexp.c (wordexp): Fix a leak when an invalid character
165 is seen, as well as fixing semantics. Don't reset the word count
166 to zero when an invalid character is seen, but leave it as it was
167 (this makes a difference with WRDE_APPEND).
169 * posix/wordexp-test.c: More test cases.
171 * posix/wordexp.c (parse_param): In words like ${var#pattern},
172 always expand pattern when it is needed. Also, handle quoting in
175 1999-04-12 Philip Blundell <philb@gnu.org>
177 * elf/elf.h: Update ARM definitions to match current gas2.
179 * sysdeps/arm/bits/endian.h: Support big endian operation.
181 * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
182 Don't bother range checking the port number.
184 * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
186 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
187 the syscall name in assembler output for ease of debugging.
189 * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
191 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
192 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
193 (sysdep_routines): Add sigrestorer.
195 * string/tester.c (test_strcpy): Add new tests for unaligned
197 * sysdeps/arm/bits/string.h: Delete inline implementations of
200 1999-04-11 Ulrich Drepper <drepper@cygnus.com>
202 * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
204 1999-04-10 Mark Kettenis <kettenis@gnu.org>
206 * sysdeps/mach/hurd/Dist: Add clk_tck.c.
208 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
210 * iconvdata/Makefile (modules): Add TIS-620.
211 (distribute): Add tis-620.c.
212 (gen-8bit-gap-modules): tis-620.
213 * iconvdata/tis-620.c: New file.
214 * iconvdata/gconv-modules: Add TIS-620 entries.
216 * iconvdata/asmo_449.c: Correct comment.
218 1999-04-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
220 * manual/install.texi (Configuring and compiling): Comment out
221 description of --disable-static since this doesn't work currently
222 (see change by Ulrich Drepper on 1998-12-07 for configure.in).
224 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
226 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
228 Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
230 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
232 * scripts/test-installation.pl (installation_problem): Skip
233 libnss1_* libraries from glibc-compat add-on.
235 1999-04-07 H.J. Lu <hjl@gnu.org>
237 * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
239 * posix/Versions (__waitpid): Likewise.
241 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
243 * manual/install.texi (Reporting Bugs): Add section about reported
244 bugs and correct email address of glibcbug script.
246 1999-04-01 Thorsten Kukuk <kukuk@suse.de>
248 * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
249 * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
250 xdr_u_longlong_t. Based on patch from Dan Shechter
251 <damageboy@isdn.net.il>.
252 * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
253 * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
255 * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
257 1999-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
259 * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
260 directly if getdents returns with error set.
262 1999-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
264 * locale/langinfo.h (THOUSEP): Rename second occurence of
265 THOUSANDS_SEP to THOUSEP.
266 Reported by Roman Belenov <roman@nstl.nnov.ru>.
268 1999-04-05 Roland McGrath <roland@baalperazim.frob.com>
270 * hurd/STATUS: File removed. Moved items that are still relevant into
271 TODO list in hurd source.
273 1999-03-26 Mark Kettenis <kettenis@gnu.org>
275 * sysdeps/mach/hurd/bits/time.h: New file.
276 * sysdeps/mach/hurd/getrusage.c: New file.
277 * sysdeps/mach/hurd/clk_tck.c: New file.
278 * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
279 * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
280 (sysdep_routines): Add clk_tck.
281 * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
284 1999-04-02 Ulrich Drepper <drepper@cygnus.com>
286 * misc/syslog.c (closelog_internal): Do not reset LogTag here.
287 (closelog): But instead here.
288 Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
290 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
292 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
293 the source directory. Fixes PR libc/1059.
295 1999-04-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
297 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
298 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
300 1999-04-01 Ulrich Drepper <drepper@cygnus.com>
302 * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
303 * iconvdata/testdata/ISO-8859-14: New file.
304 * iconvdata/testdata/ISO-8859-14..UTF8: New file.
305 * iconvdata/testdata/ISO-8859-15: New file.
306 * iconvdata/testdata/ISO-8859-15..UTF8: New file.
308 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
310 * iconvdata/testdata/CP1258: New file.
311 * iconvdata/testdata/CP1258..UTF8: New file.
312 * iconvdata/TESTS: Add CP1258 entry.
314 * iconvdata/cp874.h (to_ucs4): Add Euro sign.
316 * timezone/africa: Update from tzdata1999d.
317 * timezone/europe: Likewise.
318 * timezone/northamerica: Likewise.
320 1999-03-31 Mark Kettenis <kettenis@gnu.org>
322 * login/programs/pt_chown.c (main): Save effective user ID before
323 dropping priviliges and use this to check if the program is
326 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
328 * iconvdata/testdata/CP1254: Update for charmap changes.
329 * iconvdata/testdata/CP1254..UTF8: Likewise.
330 * iconvdata/testdata/CP1255: Likewise.
331 * iconvdata/testdata/CP1255..UTF8: Likewise.
332 * iconvdata/testdata/CP1256: Likewise.
333 * iconvdata/testdata/CP1256..UTF8: Likewise.
334 * iconvdata/testdata/CP1257: Likewise.
335 * iconvdata/testdata/CP1257..UTF8: Likewise.
337 * iconvdata/Makefile (distribute): Remove cp1258.h.
338 (gen-8bit-gap-modules): Add cp1258.
339 * iconvdata/cp1258.h: Removed.
341 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
343 * timezone/tst-timezone.c (tests): Add more cases.
344 (check_tzvars): Mark errors clearer.
347 1999-03-30 20:59 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
349 * login/programs/pt_chown.c: Drop privileges if invoked with
350 arguments. Don't close the master pty.
352 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
354 * time/tzfile.c (__tzfile_read): Process transitions from the rear.
357 1999-03-29 Ulrich Drepper <drepper@cygnus.com>
359 * elf/rtld.c (process_envvars): Do not automatically prevent lazy
360 relocation for SUID binaries.
362 1999-03-29 Paul Eggert <eggert@twinsun.com>
364 * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
365 while in child process.
367 1999-03-29 Jakub Jelinek <jj@ultra.linux.cz>
369 * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
370 * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
371 * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
372 * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
373 * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
375 * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
376 * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
377 * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
378 * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
379 * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
380 * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
381 * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
382 * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
383 * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
384 * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
385 * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
386 * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
387 * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
388 * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
389 * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
390 * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
391 * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
392 * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
393 * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
394 * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
395 * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
396 * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
397 * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
398 * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
399 * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
400 * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
402 * sysdeps/sparc/sparc32/bcopy.c: New file.
403 * sysdeps/sparc/sparc32/bzero.c: New file.
404 * sysdeps/sparc/sparc32/memchr.S: New file.
405 * sysdeps/sparc/sparc32/memcpy.S: New file.
406 * sysdeps/sparc/sparc32/memmove.c: New file.
407 * sysdeps/sparc/sparc32/memset.S: New file.
408 * sysdeps/sparc/sparc32/stpcpy.S: New file.
409 * sysdeps/sparc/sparc32/strchr.S: New file.
410 * sysdeps/sparc/sparc32/strrchr.c: New file.
411 * sysdeps/sparc/sparc32/strcpy.S: New file.
412 * sysdeps/sparc/sparc32/strlen.S: New file.
413 * sysdeps/sparc/sparc32/strcat.S: New file.
414 * sysdeps/sparc/sparc32/strcmp.S: New file.
416 * sysdeps/sparc/sparc64/bcopy.c: New file.
417 * sysdeps/sparc/sparc64/bzero.c: New file.
418 * sysdeps/sparc/sparc64/memchr.S: New file.
419 * sysdeps/sparc/sparc64/memcmp.S: New file.
420 * sysdeps/sparc/sparc64/memcpy.S: New file.
421 * sysdeps/sparc/sparc64/memset.S: New file.
422 * sysdeps/sparc/sparc64/stpcpy.S: New file.
423 * sysdeps/sparc/sparc64/strcat.S: New file.
424 * sysdeps/sparc/sparc64/strchr.S: New file.
425 * sysdeps/sparc/sparc64/strcmp.S: New file.
426 * sysdeps/sparc/sparc64/strcpy.S: New file.
427 * sysdeps/sparc/sparc64/strcspn.S: New file.
428 * sysdeps/sparc/sparc64/strlen.S: New file.
429 * sysdeps/sparc/sparc64/strncpy.S: New file.
430 * sysdeps/sparc/sparc64/strpbrk.S: New file.
431 * sysdeps/sparc/sparc64/strrchr.c: New file.
432 * sysdeps/sparc/sparc64/strspn.S: New file.
433 * sysdeps/sparc/sparc64/stpncpy.S: New file.
434 * sysdeps/sparc/sparc64/strncmp.S: New file.
436 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
437 Append -fPIC, don't replace.
439 * configure.in: Recognize sparcv8plus / sparcv9.
441 1999-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
443 * malloc/obstack.h (obstack_free): Explicitly convert __obj to
444 char * to avoid C++ warning.
445 Patch by yasushi@cs.washington.edu [PR libc/1035].
447 1999-03-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
449 * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
450 declared in stdlib.h, correct return value of mkstemp.
451 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
453 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
456 1999-03-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
458 * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
461 * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
462 inline functions. Closes PR libc/1049.
464 1999-03-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
466 * timezone/README: Update from tzdata1999c and tzcode1999c.
468 * timezone/africa: Update from tzdata1999c.
469 * timezone/antarctica: Likewise.
470 * timezone/asia: Likewise.
471 * timezone/australasia: Likewise.
472 * timezone/europe: Likewise.
473 * timezone/northamerica: Likewise.
474 * timezone/southamerica: Likewise.
475 * timezone/zone.tab: Likewise.
477 * timezone/zic.c: Update from tzcode1999c.
479 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
481 * Makerules: Add $(common-objpfx)Versions.all to common-generated
482 outside of ifndef avoid-generated.
484 * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
486 * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
488 * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
490 * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
491 _IO_old_file_seekoff): Bring over recent changes in fileops.c.
493 1999-03-26 Mark Kettenis <kettenis@gnu.org>
495 * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
496 if we build the profiled library.
498 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
500 * math/Makefile (gmp-objs): Add inlines. Reported by Andreas
501 Jaeger <aj@arthur.rhein-neckar.de>
503 1999-03-25 Roland McGrath <roland@yaumatei.ai.mit.edu>
505 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
506 (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
507 This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
509 1999-03-24 Roland McGrath <roland@baalperazim.frob.com>
511 * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
512 works properly in subdirs.
514 1999-03-23 Roland McGrath <roland@baalperazim.frob.com>
516 * sysdeps/mach/hurd/Makefile: Undo last change.
517 [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
518 [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
520 * mach/Machrules (+preinit, +postinit, +interp,
521 LDFLAGS-$(interface.so)): Variables removed. Interface libraries get
522 linked just like other shared libraries.
523 (interface.so): Fix typo in defn, so it works.
524 ($(objpfx)$(interface.so)): Make it depend on libc.so.
526 1999-03-21 Roland McGrath <roland@baalperazim.frob.com>
528 * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
531 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
533 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
534 $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
535 targets if not building shared libraries.
537 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
539 * configure.in: Also look in $PATH when searching for
540 install-info. Remove autoconf bug workaround and require autoconf
543 1999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
545 * db/Makefile: Don't try to install shared library link if not
546 building with shared libs.
548 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
550 * rt/Makefile: Link against static library if no shared lib is
553 * localedata/Makefile: The shells scripts implementing the test
554 require the dynamic linker which is not available with
555 --disable-shared. Skip the test if --disable-shared is given.
557 * linuxthreads/Makefile: Link test against static libpthread if no
558 shared lib is available.
560 * iconvdata/Makefile (tests): Run iconv-test only if we're
561 building shared libraries.
562 * elf/Makefile (tests): Likewise for elf tests.
564 * posix/Makefile: The test frameworks globtest and wordexp-test
565 require the dynamic linker which is not available with
566 --disable-shared. Skip the test if --disable-shared is given.
568 * grp/Makefile (otherlibs): For static nss build link against
571 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
573 * debug/Makefile (install-bin): Install and build catchsegv only
574 if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR
577 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
579 * time/tzfile.c (__tzfile_read): Handle the case where there are
580 transitions but no DST.
582 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>
584 * mach/Machrules (extra-libs-others): Add $(interface-library) here
585 too, so it gets built in the others pass rather than the lib pass.
586 This is necessary since the RPC libraries need to be linked against
589 1999-03-19 Roland McGrath <roland@baalperazim.frob.com>
591 * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
594 * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
595 ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
596 ($(link-rpcuserlibs)): New static pattern rule; link intermediate
597 versions of lib{mach,hurd}user.so without reference to libc.so,
598 then link libc.so against that to get deps and symbol versions, then
599 finally link real lib*user.so against libc.so.
601 * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
602 Support whole-file locking (only) by using the file_lock RPC. This
603 has very wrong semantics, but is better than nothing for the time
604 being. (Correct POSIX.1 locking will require new RPCs in the Hurd
605 protocols that will be somewhat hairy to specify.)
607 1999-03-17 Mark Kettenis <kettenis@gnu.org>
609 * sysdeps/mach/hurd/ptsname.c: New file.
611 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
613 * timezone/asia: Fix rule in Asia/Nicosia entry.
615 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
617 * manual/getopt.texi (Using Getopt): Explain "::" in option
618 string. Reported by Yuri Niyazov <yuricake@geocities.com>.
620 1999-03-18 Thorsten Kukuk <kukuk@suse.de>
622 * sunrpc/clnt_unix.c: Fix creation of parameters for
623 sendmsg/recvmsg on non intel platforms.
624 * sunrpc/svc_unix.c: Likewise.
626 1999-03-18 Philip Blundell <philb@gnu.org>
628 * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386
631 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
633 * timezone/africa: Update from tzdata1999b.
634 * timezone/asia: Likewise.
635 * timezone/australasia: Likewise.
636 * timezone/europe: Likewise.
637 * timezone/northamerica: Likewise.
638 * timezone/southamerica: Likewise.
639 * timezone/zone.tab: Likewise.
641 * timezone/README: Mention tzdata1999b.
643 1999-03-17 Ulrich Drepper <drepper@cygnus.com>
645 * sysdeps/generic/segfault.c (write_strsignal): New function.
646 (catch_segfault): Use it instead of calling strsignal.
648 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
650 * iconv/gconv.c (__gconv): Change type of last_start to unsigned
651 char to avoid warning.
653 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
655 * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
657 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
658 outbuf to unsigned char to avoid warning.
660 1999-03-11 David S. Miller <davem@redhat.com>
662 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
664 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
666 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
668 * iconv/gconv.h (gconv_fct): Change parameter from `char' to
670 (gconv_step_data): Likewise.
671 * iconv/gconv_int.h (__gconv): Likewise.
672 (__BUILINT_TRANS): Likewise.
673 * iconv/gconv.c (__gconv): Likewise.
674 * iconv/iconv.c (iconv): Add casts for call of __gconv.
675 * iconv/skeleton.c: Change local parameters and variable from `char' to
676 `unsigned char'. Remove casts from calls into modules.
677 * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
678 `char' to `unsigned char'.
679 * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
680 * wcsmbs/mbrtowc.c: Likewise.
681 * wcsmbs/mbsnrtowcs.c: Likewise.
682 * wcsmbs/mbsrtowcs.c: Likewise.
683 * wcsmbs/wcrtomb.c: Likewise.
684 * wcsmbs/wcsnrtombs.c: Likewise.
685 * wcsmbs/wcsrtombs.c: Likewise.
686 * wcsmbs/wctob.c: Likewise.
688 1999-03-15 Mark Kettenis <kettenis@gnu.org>
690 * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
691 __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
692 __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
693 __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
694 __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
695 __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
697 1999-03-15 Mark Kettenis <kettenis@gnu.org>
699 * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
700 _hurd_select if TIMEMOUT is -1.
702 1999-03-15 Mark Kettenis <kettenis@gnu.org>
704 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
706 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
708 * elf/dl-load.c: Compute rtld_search_dir array size correctly.
709 Reported by Yasushi Saito <yasushi@cs.washington.edu>.
711 1999-03-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
713 * manual/libc.texinfo: Undo last change for now.
715 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
717 * intl/locale.alias: Add entries for Croatian.
718 Patch by Tomislav Vujec <tvujec@CARNet.hr>.
720 1999-03-13 Mark Kettenis <kettenis@gnu.org>
722 * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
723 if the opened master pty really is a pty. `isatty' checks for
724 tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE
725 if we are out of pty's.
727 1999-03-13 Mark Kettenis <kettenis@gnu.org>
729 * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
730 opened file is closed on exec.
731 * login/utmp_daemon.c (setutent_daemon): Likewise for the just
734 1999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
736 * manual/llio.texi (File Position Primitive): Reformat @end
737 command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
739 1999-03-14 Ulrich Drepper <drepper@cygnus.com>
741 * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
743 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
744 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
746 * locale/programs/localedef.c (main): Initialize `cat' to please
749 1999-03-14 Roland McGrath <roland@baalperazim.frob.com>
751 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
752 check for root-owned symlinks and reject them too.
754 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
756 * stdio-common/printf_fphex.c: Move to ...
757 * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of
758 extended precision number.
759 * sysdeps/m68k/printf_fphex.c: New file.
761 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
763 * manual/stdio.texi: Fix typos.
765 1999-03-09 Ulrich Drepper <drepper@cygnus.com>
767 * version.h (VERSION): Bump to 2.1.1.
769 1999-03-09 Thorsten Kukuk <kukuk@suse.de>
771 * nis/ypclnt.c: Try only twice to connect to NIS server.
773 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
775 * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
777 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
779 * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
780 (DENORM_EXP): New define. Use it as the exponent for a denormal.
781 * stdlib/strtold.c: Moved to ...
782 * sysdeps/generic/strtold.c: ... here.
783 * sysdeps/m68k/strtold.c: New file.
785 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
787 * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
788 point if the precision is zero, even if the mantissa is non-zero.
790 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
792 * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
793 arguments into the request message buffer inside `send_rpc'
794 subfunction. We must repeat the marshalling when retrying the RPC
795 after a SIGTTOU delivery.
797 * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
798 path when there is no ctty port.
799 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
800 Move sigstate check inside loop so we recheck after handling a signal.
802 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
804 * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
805 O_EXLOCK are BSD extensions.
806 Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
808 1999-03-08 Ulrich Drepper <drepper@cygnus.com>
810 * manual/signal.texi (Termination in Handler): Correct example.
811 Install default handler before reraising the signal.
812 Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
814 1999-03-08 Roland McGrath <roland@baalperazim.frob.com>
816 * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
817 null, in which case send an empty string.
819 1999-03-02 Mark Kettenis <kettenis@gnu.org>
821 * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
822 backward compatibility EH functions to be linked when using
823 gcc-2.8.1. Patch by Zack Weinberg <zack@rabi.columbia.edu>.
825 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
827 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
828 /dev/pts status may change during runtime.
830 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
832 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
833 change. /dev/pts status can change during runtime.
835 1999-03-07 Thorsten Kukuk <kukuk@suse.de>
837 * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
839 * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
840 add some more sanity checks.
841 * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
844 1999-03-05 Thorsten Kukuk <kukuk@suse.de>
846 * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
847 change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
848 * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
849 * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
850 * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
852 * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
853 * nis/nis_print.c: Fix ctime argument for platforms where
854 sizeof (time_t) != sizeof (int).
856 1999-03-07 Mark Kettenis <kettenis@gnu.org>
858 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
859 CLOCKS_PER_SEC instead of CLK_TCK.
861 1999-03-05 Ulrich Drepper <drepper@cygnus.com>
863 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
864 whether /dev/pts is available.
865 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
868 * posix/globtest.sh: Make common_objpfx path absolute and and db2
869 and hesiod directory to library path [PR libc/1007].
871 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
873 * resolv/inet_addr.c (inet_aton): Don't allow componets >
874 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
876 1999-03-05 Geoff Keating <geoffk@ozemail.com.au>
878 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
879 DT_PLTGOT has already been relocated.
880 (__elf_machine_fixup_plt): Likewise.
883 1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
885 * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
887 1999-03-03 Ulrich Drepper <drepper@cygnus.com>
889 * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
890 and fold string to uppercase [PR libc/1005].
892 1999-03-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
894 * elf/dl-load.c (lose): Fix return type.
896 1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
898 * sysdeps/mach/hurd/bits/fcntl.h
899 [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
900 * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
901 set O_NOTRANS as well.
902 (__hurd_file_name_lookup_retry): At successful end of lookup,
903 if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
904 it is a translated node not owned by root.
905 (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
906 on the file name passed to LOOKUP.
908 1999-03-02 Ulrich Drepper <drepper@cygnus.com>
910 * manual/time.texi (High Resolution Timer): Correct computation in
911 example. Reported by jjf@devel.cemsys.com.
913 1999-03-02 Philip Blundell <pb@nexus.co.uk>
915 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
916 entry is already relocated.
918 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
920 * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported
921 by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
923 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
925 * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
926 uc_link which is the right name according to Unix98.
927 Reported by Craig Metz [PR libc/1001].
928 * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
929 * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
930 * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
931 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
932 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise
933 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
935 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
937 * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
940 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
942 * iconvdata/Makefile: Always include iconv-rules, but disable rule
943 to regenerate it if avoid-generated.
945 * Makeconfig: Always include sys-dirs, but disable rule to
946 regenerate it when avoid-generated.
948 * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
949 rule to generate sysd-syscalls.
951 * elf/Makefile (generated): Remove $(objpfx) from names.
953 1999-02-28 Mark Kettenis <kettenis@gnu.org>
955 * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
956 actual length if the adress length is smaller than the input
957 value. Change type of *LEN paramater to socklen_t.
958 * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
959 * sysdeps/mach/hurd/accept.c (accept): Likewise.
960 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
961 * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
962 paramater to socklen_t.
964 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
966 * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
967 msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
970 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
972 * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
973 __get_phys_pages): Cast &HBI to silence warning.
975 * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
976 * hurd/hurdchdir.c: New file.
977 * hurd/hurdfchdir.c: New file.
978 * sysdeps/mach/hurd/chroot.c: Call
979 _hurd_change_directory_port_from_name to do the work.
980 * sysdeps/mach/hurd/chdir.c: Likewise.
981 * sysdeps/mach/hurd/fchdir.c: Call
982 _hurd_change_directory_port_from_fd to do the work.
983 * hurd/fchroot.c: Likewise.
984 * hurd/hurd.h: Declare them.
986 1999-02-27 Ulrich Drepper <drepper@cygnus.com>
988 * elf/dl-load.c (lose): Add more comments to explain the `why'.
989 (_dl_map_object): Remove redundant test.
991 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
993 * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
994 try to _hurd_port_free a lower-numbered descriptor that was not in any
997 1999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
999 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
1000 declaration for ____wcstod_l_internal.
1002 * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
1003 __strtod_internal prototype.
1004 * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
1005 (____strtold_l_internal): Add prototype declaration.
1006 (__strtold_l): Call correct function.
1008 1999-02-24 Ulrich Drepper <drepper@cygnus.com>
1010 * elf/elf.h: Add 32bit HPPA definitions.
1012 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1014 * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
1015 non-checked heap is restored when malloc checking was requested by
1017 (struct malloc_state): Add using_malloc_checking.
1018 (MALLOC_STATE_VERSION): Increment minor.
1019 (using_malloc_checking, disallow_malloc_check): New variables.
1020 (__malloc_check_init): Use them.
1021 (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
1022 that it can the chunk is properly instrumented when malloc
1023 checking is enabled. Set the new using_malloc_checking field.
1024 (malloc_hook_ini): Correct signature when _LIBC is not defined.
1026 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1028 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
1029 (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
1032 * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
1033 Don't call elf_get_dynamic_info and _dl_setup_hash a second time
1034 if ld.so is the main program.
1036 1999-02-23 Ulrich Drepper <drepper@cygnus.com>
1038 * stdio-common/vfprintf.c (vfprintf): If precision or width is too
1039 large for work_buffer, allocate new buffer.
1040 (printf_unknown): Likewise. [PR libc/988]
1042 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
1044 * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
1045 instead of stat and fstat.
1046 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1048 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1050 * elf/dl-error.c (_dl_signal_cerror): New function.
1051 (_dl_signal_error): Don't call receiver function.
1052 * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
1053 instead of _dl_signal_error when reporting references to undefined
1054 symbols or versions.
1055 (_dl_lookup_versioned_symbol): Likewise.
1056 (_dl_lookup_versioned_symbol_skip): Likewise.
1057 * elf/dl-version.c (match_symbol): Likewise.
1059 * elf/ldsodefs.h: Declare _dl_signal_cerror.
1061 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
1063 * misc/getttyent.c (getttyent): Release lock on stream later to
1064 also protect global variable zapchar.
1066 * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
1067 __times [PR libc/990].
1069 1999-02-21 David S. Miller <davem@redhat.com>
1071 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
1072 parentheses in Feb 2 changes.
1073 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
1075 1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1077 * sysdeps/generic/glob.c (glob): Save previous errno.
1079 1999-02-21 Ulrich Drepper <drepper@cygnus.com>
1081 * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
1082 lookup functions if it is too small.
1084 1999-02-20 Ulrich Drepper <drepper@cygnus.com>
1086 * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
1087 for tracing to the scope lists.
1088 * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
1089 DT_SYMTAB is always available according to ELF spec.
1091 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
1092 call test whether there is any scope left.
1093 (_dl_lookup_versioned_symbol_skip): Likewise.
1095 * elf/Makefile (distribute): Add do-lookup.h.
1096 * elf/do-lookup.h: New file. Split out from dl-lookup.c.
1097 * elf/dl-lookup.c: Move do_lookup function in separate file and
1098 include the file twice, for handling versioning and without it.
1100 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
1101 entry is already relocated.
1102 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
1103 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
1104 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
1105 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
1107 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
1109 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
1112 * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
1113 load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
1114 DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
1115 (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
1116 rel and rela relocations can both happen and skip one test if this
1118 (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
1120 * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
1122 * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
1124 * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
1125 (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
1126 (_dl_map_object): DT_STRTAB entry is already relocated.
1127 * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
1129 * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
1131 * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
1132 DT_VERSYM entries are already relocated.
1133 (profile_fixup): Likewise.
1134 * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace
1136 (match_symbol): DT_STRTAB entry is already relocated.
1137 (_dl_check_map_versions): Likewise. Also fo DT_VERSYM.
1138 * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
1139 relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated.
1140 * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
1141 (find_needed): DT_STRTAB entry is already relocated.
1142 (dl_main): Pass extra argument to elf_get_dynamic_info.
1143 DT_STRTAB entry is already relocated.
1144 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
1145 DT_PLTGOT entries are already relocated.
1146 (elf_machine_rela): Likewise for DT_SYMTAB.
1147 * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
1149 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1150 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
1151 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
1152 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1153 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
1154 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
1155 (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
1156 * sysdeps/mips/mips64/dl-machine.h: Likewise.
1158 * grp/initgroups.c (initgroups): If function in current module was
1159 successful don't stop but continue to process to get all the groups.
1161 * elf/dl-load.c (_dl_map_object_from_fd): Use global
1162 _dl_pf_to_proot array to convert p_flags value.
1163 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1165 * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
1166 loop to clear `info'.
1168 * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
1169 do the work and don't use inline assembler.
1171 1999-02-19 Ulrich Drepper <drepper@cygnus.com>
1173 * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
1174 * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
1175 noreturn, and prevent it from being inlined.
1176 Define LOSE appropriately.
1177 (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
1178 Optimize decoding of p_flags for certain platforms.
1180 1999-02-19 Philip Blundell <pb@nexus.co.uk>
1182 * Makeconfig (link-libc): When doing a static link, make sure that
1183 libgcc.a is included both before and after libc.a.
1185 1999-02-18 Thorsten Kukuk <kukuk@suse.de>
1187 * nis/nss_compat/compat-spwd.c: Fix handling of default values for
1188 sp_warn, sp_inact, sp_expire and sp_flag.
1190 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
1192 * elf/link.h (link_map): Add l_dev and l_ino.
1193 * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
1194 loaded shared object with all laoded objects. Initialize l_ino
1195 and l_dev in case it's new.
1196 * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
1198 * elf/Makefile: Compile and run new test.
1199 * elf/multiload.c: New file.
1201 * nss/nsswitch.h (service_user): Change name field from const char *
1203 (name_database_entry): Likewise.
1204 * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
1205 for change of `service_user'.
1206 (nss_getline): Adjust memory allocation for change of
1207 `name_database_entry'.
1209 * catgets/catgets.c: Correctly handle NLSPATH from environment
1212 * io/Makefile (routines): Add lock64.
1213 * io/Versions: Add lockf64 for GLIBC_2.1.1.
1214 * sysdeps/generic/lockf64.c: New file.
1216 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
1218 * string/bits/string2.h: Only use strncmp optimization if count
1219 argument is constant.
1221 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
1223 * sysdeps/mach/hurd/revoke.c: New file.
1225 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
1227 * wctype/wctype.h (_ISwbit): Cast result of shift operations to
1228 int to avoid warning about `ISO C restricts enumerator values to
1231 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1233 * elf/dlfcn.h: Fix typo.
1234 * sysdeps/generic/bits/dlfcn.h: Likewise.
1235 * sysdeps/mips/bits/dlfcn.h: Likewise.
1237 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
1239 * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
1240 for the case N == 0.
1242 * db2/Makefile (distribute): Add LICENSE.
1244 1999-02-03 Jeff Bailey <jbailey@nisa.net>
1246 * sysdeps/unix/make_errlist.c: Add i18n and copyright to
1249 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
1251 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
1253 * time/mktime.c: Use ISO C form for function definitions and
1254 remove unnecessary prototypes.
1256 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
1258 * time/time.h: Avoid unneccesary #ifdef.
1260 1999-02-15 Geoff Keating <geoffk@ozemail.com.au>
1262 * stdio-common/_itoa.c (_itoa): Correct parameters to
1265 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1267 * misc/sys/cdefs.h: Undefine __PMT since it might be defined
1268 before (e.g. in glob.h).
1271 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1273 * sysdeps/mips/fpu_control.h: Fix typo.
1274 Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
1277 1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
1279 * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
1280 the "unused" ends of the sockets. Let pipes be bidirectional.
1282 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
1284 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
1287 1999-02-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1289 * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by
1290 Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
1292 * manual/setjmp.texi (Non-Local Exits and Signals): Fix
1293 typo. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
1295 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
1297 * string/Versions: Add __strverscmp to GLIBC_2.1.1.
1299 1999-02-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1301 * misc/syslog.c (vsyslog): Remember errno for %m format. Fix
1302 check for priority mask.
1304 1999-02-14 Ulrich Drepper <drepper@cygnus.com>
1306 * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
1307 Reported by Craig Metz <cmetz@inner.net> .
1309 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1311 * stdio-common/Makefile (tests): tllformat added.
1313 * stdio-common/tllformat.c: New program, based on tiformat.c with
1314 examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1316 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1318 * posix/test-vfork.c: Fix exit status test.
1320 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1322 * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
1323 missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
1325 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1327 * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
1328 of separare explicit comparisons.
1330 1999-02-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1332 * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
1335 * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
1338 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
1340 * po/el.po: Update from translation team.
1342 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1344 * intl/locale.alias: Fix slovenian entry [PR libc/948].
1346 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1348 * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
1349 * inet/ruserpass.c: Likewise.
1350 * locale/programs/stringtrans.c: Likewise.
1351 * locale/programs/localedef.c: Likewise.
1352 * nscd/grpcache.c: Likewise.
1353 * nss/nss_files/files-XXX.c: Likewise.
1354 * stdlib/canonicalize.c: Likewise.
1355 * sysdeps/posix/sigwait.c: Likewise.
1357 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1359 * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
1360 even on 64 bit platforms.
1362 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
1363 Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
1365 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
1367 * intl/dcgettext.c: Include locale.h is available.
1369 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
1371 * po/nl.po: Update from translation team.
1373 * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
1375 * Makefile: Allow calling goals for po subdir.
1377 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
1380 * po/el.po: New file.
1382 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1384 * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
1385 when processing DT_SYMBOLIC objects.
1387 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1389 * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
1390 program headers without PT_PHDR only require that they are
1391 contained within one of the loaded segments. Don't use assert,
1392 since that would be a bug in the object, not the dynamic linker.
1394 1999-02-08 Richard Henderson <rth@cygnus.com>
1396 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
1397 restore all call-clobbered fp regs.
1399 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
1401 * po/cs.po: New file.
1403 * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
1406 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
1408 * signal/signal.h: Don't declare __libc_allocate_rtsig.
1409 * include/signal.h: Declare __libc_allocate_rtsig here.
1411 * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
1412 point functions, not do_lookup since the later can be called more
1415 1999-02-03 Jakub Jelinek <jj@ultra.linux.cz>
1417 * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
1418 macro, so that architectures which need to add some special
1419 offset to stack pointer can share this file.
1421 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
1422 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
1423 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
1424 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
1426 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
1427 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
1428 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
1429 between sparc32 and sparc64.
1431 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
1432 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
1433 * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
1434 between sparc32 and sparc64.
1436 * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
1437 * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
1438 * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
1439 between sparc32 and sparc64.
1441 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
1442 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
1443 * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
1444 between sparc32 and sparc64.
1446 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
1448 * Versions.def: New version GLIBC_2.1.1 for libc.
1449 * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
1450 * stdlib/labs.c: Moved to...
1451 * sysdeps/generic/labs.c: ...here.
1452 * stdlib/llabs.c: Moved to...
1453 * sysdeps/generic/llabs.c: ...here.
1454 * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
1455 header. Declare _Exit.
1456 * sysdeps/generic/_exit.c: Add alias _Exit.
1457 * sysdeps/mach/hurd/_exit.c: Likewise.
1458 * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
1459 * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
1460 * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
1461 * sysdeps/unix/_exit.c: Likewise.
1462 * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
1463 imaxdiv and imaxabs. Declare lldiv_t if necessary.
1464 * sysdeps/wordsize-64/inttypes.h: Likewise.
1465 * sysdeps/wordsize-32/llabs.c: New file.
1466 * sysdeps/wordsize-32/lldiv.c: New file.
1467 * sysdeps/wordsize-64/labs.c: New file.
1468 * sysdeps/wordsize-64/ldiv.c: New file.
1469 * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
1470 * manual/startup.texi: Document _Exit.
1472 1999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1474 * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
1476 1999-02-06 Ulrich Drepper <drepper@cygnus.com>
1478 * Versions.def: Add versions for ld.so.
1479 * csu/Versions: Remove __libc_stack_end here.
1480 * elf/Versions: Split libc definitions in libc and ld.so definitions.
1481 * elf/Makefile (ld-map): Change to ld.so.map.
1482 * scripts/versions.awk: Recognize dot in library names.
1484 * ctype/ctype.h: Remove definitions of __tolower and __toupper.
1485 Don't use __tolower and __toupper in inline functions.
1486 Add optimizing macros for tolower and toupper.
1487 * ctype/ctype-extn.c (_tolower): Don't use __tolower.
1488 (_toupper): Don't use __toupper.
1489 * ctype/ctype.c (tolower): Don't use __tolower.
1490 (toupper): Don't use toupper.
1492 * nscd/cache.c (prune_cache): Correct printing of debugging messages.
1494 * resolv/Versions (libresolv): Export __ns_name_unpack and
1496 * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
1497 make it global. Change all users. Similar for ns_name_ntop.
1498 * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
1499 user-provided buffer. Use __ns_name_unpack and __ns_name_ntop
1500 directly to detect too small buffer.
1501 * resolv/nss_dns/dns-network.c: Likewise.
1503 * stdio-common/Makefile (tests): Add scanf12.
1504 * stdio-common/scanf12.c: New file.
1505 * stdio-common/scanf12.input: New file.
1506 * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
1507 floating-point correctly if the number is invalid.
1509 * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
1511 * stdio-common/printf_fp.c: Likewise.
1512 * stdio-common/printf_fphex.c: Likewise.
1513 * stdio-common/vfprintf.c: Likewise.
1516 See ChangeLog.9 for earlier changes.