Update.
[glibc.git] / ChangeLog
blob0ac46ab46633aaa453dd52b7c2f843d7096990e1
1 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
3         * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
4         Patch by Peter Miller <millerp@canb.auug.org.au>.
6 1999-04-27  Thorsten Kukuk  <kukuk@suse.de>
8         * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
9           prefers loopback device.
11 1999-04-28  Ulrich Drepper  <drepper@cygnus.com>
13         * posix/fnmatch.c (internal_fnmatch): Finish incomplete
14         no_leading_period change.
16         * posix/testfnm.c: More test cases.
18 1999-04-27  Ulrich Drepper  <drepper@cygnus.com>
20         * include/dirent.h: Remove __getdirentries declaration, add __getdents
21         and __getdents64.
22         * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
23         * sysdeps/unix/readdir_r.c: Likewise.
24         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
26         * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
27         __getdirentries.  Remove fourth argument.
28         * sysdeps/unix/sysv/linux/getdirentries.c: New file.
29         * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
30         * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
31         Add getdirentries and getdirentries64.
32         * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
34         * posix/fnmatch.c (internal_fnmatch): Correctly reset string
35         pointer in case of an invalid [[: expression.
37         * posix/testfnm.c: Add more test cases.
39 1999-04-27  Roland McGrath  <roland@baalperazim.frob.com>
41         * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
42         set, pass EXEC_SIGTRAP flag in exec RPC.
44 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
46         * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch.  Take
47         extra parameter.  Fix several more bugs involving wildcard and
48         ranges.
49         (fnmatch): New function.  Call internal_fnmatch.
51         * posix/testfnm.c: More test cases.
53 1999-04-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
55         * manual/install.texi (Configuring and compiling): Explain that
56         files are changed in the source directory.
57         Closes PR libc/981.
58         (Configuring and compiling): Explain situation with PARALLELMFLAGS
59         in the source directory.
61 1999-04-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
63         * locale/programs/ld-ctype.c: Spelling fixes.
64         (ctype_finish): Fix argument of error message format.
65         * locale/programs/ld-messages.c: Spelling fixes.
66         * locale/programs/ld-monetary.c: Spelling fixes.
67         * locale/programs/ld-time.c (time_finish): Make sure that name and
68         format of era_entries are adjacent.
69         (time_output): Reduce the size of the io vector.
71 1999-04-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
73         * manual/filesys.texi (Attribute Meanings): Move a misplaced
74         paragraph.
76 1999-04-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
78         * locale/programs/ld-collate.c (collate_output): Convert
79         undefined_offset to an array index.  Fix computation of other
80         endian extra table.
82 1999-04-26  Roland McGrath  <roland@baalperazim.frob.com>
84         * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
85         return success with empty value.
87 1999-04-26  Ulrich Drepper  <drepper@cygnus.com>
89         * posix/fnmatch.c: Include string.h also for glibc.
90         (fnmatch, case '?'): Optimize if cascades a bit.
91         (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
93         * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
95 1999-04-24  Ulrich Drepper  <drepper@cygnus.com>
97         * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
98         * iconv/gconv_int.h: Declare UTF16 functions.
99         * iconv/gconv_simple.c: Add UTF16 conversion functions.
101 1999-04-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
103         * posix/wordexp.c (parse_param): Fix type of offset to allow it to
104         be used correctly as parameter for parse_dollars/parse_tilde.
106 1999-04-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
108         * manual/conf.texi (Utility Limits): Remove duplicate description
109         of BC_DIM_MAX.
111 1999-04-19  Ulrich Drepper  <drepper@cygnus.com>
113         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
114         outbufend for dst==NULL.
116 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
118         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
119         for dst==NULL.
120         Fixes PR libc/1084.
122         * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
123         Fixes PR libc/1083.
125 1999-04-18  Thorsten Kukuk  <kukuk@suse.de>
127         * sunrpc/Makefile: Remove special handling of bootparam.x,
128         add rpcsvc/bootparam.h to headers.
129         * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
130         * sunrpc/rpcsvc/bootparam.x: Renamed to...
131         * sunrpc/rpcsvc/bootparam_prot.x: ...this.
133 1999-04-18  Ulrich Drepper  <drepper@cygnus.com>
135         * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
136         detect and handle invalid descriptors.
138 1999-04-17  Thorsten Kukuk  <kukuk@suse.de>
140         * timezone/zic.c (dolink): Append complete path not only filename
141         to ../ list.
143 1999-04-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
145         * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
147 1999-04-17  Ulrich Drepper  <drepper@cygnus.com>
149         * iconvdata/gconv-modules: Rename CP874 to IBM874.
150         * iconvdata/Makefile: Likewise.
151         * iconvdata/cp874.h: Removed.
152         * iconvdata/cp874.c: Renamed to...
153         * iconvdata/ibm874.c: ...this.
155 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
157         * sysdeps/unix/sysv/linux/bits/types.h: Correct
158         signed/unsigned-ness of blkcnt and fsblkcnt.
159         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
160         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
162         * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
163         SOL_AAL, and SOL_IRDA.
165 1999-04-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
167         * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero.  Don't
168         include "linux_fsinfo.h".
169         Based on a patch by H.J. Lu <hjl@gnu.org>.
171 1999-04-16  Thorsten Kukuk  <kukuk@suse.de>
173         * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
175 1999-04-16  Ulrich Drepper  <drepper@cygnus.com>
177         * nscd/cache.c (prune_cache): Only disable file checking for
178         future if the file does not exist.
179         Update file_mtime if cache was flushed.
181 1999-04-15  David S. Miller  <davem@redhat.com>
183         * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
184         * sysdeps/sparc/sparc32/strcpy.S: Likewise.
186 1999-04-15  Scott Bambrough  <scottb@netwinder.org>
188         * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
189         compilation of file.
191 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
193         * Versions.def: Add GLIBC_2.1.1 to libpthread.
195         * iconvdata/Makefile (modules): Add KOI8-U.
196         (distribute): Add koi8-u.c.
197         (gen-8bit-gap-modules): Add koi8-u.
198         * iconvdata/gconv-modules: Add KOI8-U entries.
199         * iconvdata/koi8-u.c: New file.
201 1999-04-13  Thorsten Kukuk  <kukuk@suse.de>
203         * sunrpc/auth_des.c: 64bit fixes, security fixes.
204         * sunrpc/auth_none.c: Pretty print.
205         * sunrpc/auth_unix.c: Likewise.
206         * sunrpc/authdes_prot.c: Likewise.
207         * sunrpc/authuxprot.c: Likewise.
208         * sunrpc/bindrsvprt.c: Likewise.
209         * sunrpc/clnt_gen.c: Likewise.
210         * sunrpc/rpc/xdr.h: Likewise.
211         * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
212         * sunrpc/rpc_cmsg.c: Don't use *long pointers.
213         * sunrpc/rtime.c: Use new rpc_timeval.
214         * sunrpc/svc_authux.c: Don't use *long pointers.
215         * sunrpc/svcauth_des.c: Likewise + security fixes.
216         * sunrpc/xdr_mem.c: Don't use *long pointers.
217         * sunrpc/xdr_rec.c: Likewise.
218         * sunrpc/xdr_sizeof.c: Likewise.
219         * sunrpc/xdr_stdio.c: Likewise.
221 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
223         * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
224         so that it is redone for each sending.
226 1999-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
228         * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
230 1999-04-15  Ulrich Drepper  <drepper@cygnus.com>
232         * iconv/gconv_db.c (__gconv_find_transform): If conversion is
233         known to not exist don't try to load shared objects.
234         Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
236         * nscd/cache.c (prune_cache): The table might not be unused.  In
237         this case do nothing.
239         * catgets/gencat.c (read_input_file): Don't drop white spaces
240         between number/identifier and string.
241         Patch by Dima Barsky <dima@pwd.hp.com>.
242         If no white space at all follows number/identifier remove existing
243         message with the number/identifier.
245 1999-04-14  H.J. Lu  <hjl@gnu.org>
247         * sunrpc/clnt_udp.c (is_network_up): New function.
248         (clntudp_call): Call is_network_up () to check if any network
249         interface is up in case of timeout.
251 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
253         * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
254         * wctype/Makefile (tests): Add test_wcfuncs.
256 1999-04-14  Jakub Jelinek  <jj@ultra.linux.cz>
258         * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
259         architectures.
260         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
261         instead of CFLAGS.
262         * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
263         instead of CFLAGS. For gnulib and string directories use
264         -Wa,-Av9a gcc ASFLAGS.
265         * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
266         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
267         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
268         * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
269         the same way as sparc-*.
271 1999-04-14  Ulrich Drepper  <drepper@cygnus.com>
273         * locale/programs/locfile.c (locfile_read): Fix typo.
274         Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
276 1999-04-14  Scott Bambrough  <scottb@netwinder.org>
278         * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
279         restarted after being interrupted by a signal.  The parameters on
280         the stack were corrupted by the signal handler.
282         * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
283         restarted after being interrupted by a signal.  The parameters on
284         the stack were corrupted by the signal handler.
286 1999-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
288         * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
289         Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
291 1999-04-12  Tim Waugh  <tim@cyberelk.demon.co.uk>
293         * posix/wordexp-test.c: In field-splitting test cases where
294         subshells were involved, unset IFS first: some shells (ash) use
295         IFS even when no expansion is performed.
297 1999-04-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
299         * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
300         the real end of the chunk, not some random point inbetween.
301         (_IO_obstack_xsputn): Likewise.  Actually copy the data into the
302         obstack when growing.  Use fast version of obstack_blank when
303         shrinking.
304         (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
305         allocating the vtable pointer.
306         (_IO_obstack_vprintf): Adjust for above change and avoid
307         unnecessary casts.  Use fast version of obstack_blank when
308         shrinking.
309         Fixes PR libc/1075.
311 1999-04-12  Ulrich Drepper  <drepper@cygnus.com>
313         * iconvdata/gconv-modules: Fix typo.  Add UJIS alias.
314         Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
316 1999-04-11  Tim Waugh  <tim@cyberelk.demon.co.uk>
318         * posix/wordexp.c (wordexp): Fix a leak when an invalid character
319         is seen, as well as fixing semantics.  Don't reset the word count
320         to zero when an invalid character is seen, but leave it as it was
321         (this makes a difference with WRDE_APPEND).
323         * posix/wordexp-test.c: More test cases.
325         * posix/wordexp.c (parse_param): In words like ${var#pattern},
326         always expand pattern when it is needed.  Also, handle quoting in
327         pattern properly.
329 1999-04-12  Philip Blundell  <philb@gnu.org>
331         * elf/elf.h: Update ARM definitions to match current gas2.
333         * sysdeps/arm/bits/endian.h: Support big endian operation.
335         * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
336         Don't bother range checking the port number.
338         * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
340         * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
341         the syscall name in assembler output for ease of debugging.
343         * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
344         compiler behaviour.
345         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
346         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
347         (sysdep_routines): Add sigrestorer.
349         * string/tester.c (test_strcpy): Add new tests for unaligned
350         arguments.
351         * sysdeps/arm/bits/string.h: Delete inline implementations of
352         strcpy and stpcpy.
354 1999-04-11  Ulrich Drepper  <drepper@cygnus.com>
356         * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
358 1999-04-10  Mark Kettenis  <kettenis@gnu.org>
360         * sysdeps/mach/hurd/Dist: Add clk_tck.c.
362 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
364         * iconvdata/Makefile (modules): Add TIS-620.
365         (distribute): Add tis-620.c.
366         (gen-8bit-gap-modules): tis-620.
367         * iconvdata/tis-620.c: New file.
368         * iconvdata/gconv-modules: Add TIS-620 entries.
370         * iconvdata/asmo_449.c: Correct comment.
372 1999-04-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
374         * manual/install.texi (Configuring and compiling): Comment out
375         description of --disable-static since this doesn't work currently
376         (see change by Ulrich Drepper on 1998-12-07 for configure.in).
378 1999-04-10  Ulrich Drepper  <drepper@cygnus.com>
380         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
381         use binary search.
382         Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
384 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
386         * scripts/test-installation.pl (installation_problem): Skip
387         libnss1_* libraries from glibc-compat add-on.
389 1999-04-07  H.J. Lu  <hjl@gnu.org>
391         * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
392         libstdc++ 2.7.2.
393         * posix/Versions (__waitpid): Likewise.
395 1999-04-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
397         * manual/install.texi (Reporting Bugs): Add section about reported
398         bugs and correct email address of glibcbug script.
400 1999-04-01  Thorsten Kukuk  <kukuk@suse.de>
402         * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
403         * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
404         xdr_u_longlong_t. Based on patch from Dan Shechter
405         <damageboy@isdn.net.il>.
406         * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
407         * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
409         * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
411 1999-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
413         * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
414         directly if getdents returns with error set.
416 1999-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
418         * locale/langinfo.h (THOUSEP): Rename second occurence of
419         THOUSANDS_SEP to THOUSEP.
420         Reported by Roman Belenov <roman@nstl.nnov.ru>.
422 1999-04-05  Roland McGrath  <roland@baalperazim.frob.com>
424         * hurd/STATUS: File removed.  Moved items that are still relevant into
425         TODO list in hurd source.
427 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
429         * sysdeps/mach/hurd/bits/time.h: New file.
430         * sysdeps/mach/hurd/getrusage.c: New file.
431         * sysdeps/mach/hurd/clk_tck.c: New file.
432         * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
433         * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
434         (sysdep_routines): Add clk_tck.
435         * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
436         implemented.
438 1999-04-02  Ulrich Drepper  <drepper@cygnus.com>
440         * misc/syslog.c (closelog_internal): Do not reset LogTag here.
441         (closelog): But instead here.
442         Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
444 1999-04-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
446         * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
447         the source directory.  Fixes PR libc/1059.
449 1999-04-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
451         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
452         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
454 1999-04-01  Ulrich Drepper  <drepper@cygnus.com>
456         * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
457         * iconvdata/testdata/ISO-8859-14: New file.
458         * iconvdata/testdata/ISO-8859-14..UTF8: New file.
459         * iconvdata/testdata/ISO-8859-15: New file.
460         * iconvdata/testdata/ISO-8859-15..UTF8: New file.
462 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
464         * iconvdata/testdata/CP1258: New file.
465         * iconvdata/testdata/CP1258..UTF8: New file.
466         * iconvdata/TESTS: Add CP1258 entry.
468         * iconvdata/cp874.h (to_ucs4): Add Euro sign.
470         * timezone/africa: Update from tzdata1999d.
471         * timezone/europe: Likewise.
472         * timezone/northamerica: Likewise.
474 1999-03-31  Mark Kettenis  <kettenis@gnu.org>
476         * login/programs/pt_chown.c (main): Save effective user ID before
477         dropping priviliges and use this to check if the program is
478         properly installed.
480 1999-03-31  Ulrich Drepper  <drepper@cygnus.com>
482         * iconvdata/testdata/CP1254: Update for charmap changes.
483         * iconvdata/testdata/CP1254..UTF8: Likewise.
484         * iconvdata/testdata/CP1255: Likewise.
485         * iconvdata/testdata/CP1255..UTF8: Likewise.
486         * iconvdata/testdata/CP1256: Likewise.
487         * iconvdata/testdata/CP1256..UTF8: Likewise.
488         * iconvdata/testdata/CP1257: Likewise.
489         * iconvdata/testdata/CP1257..UTF8: Likewise.
491         * iconvdata/Makefile (distribute): Remove cp1258.h.
492         (gen-8bit-gap-modules): Add cp1258.
493         * iconvdata/cp1258.h: Removed.
495 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
497         * timezone/tst-timezone.c (tests): Add more cases.
498         (check_tzvars): Mark errors clearer.
499         (main): Likewise.
501 1999-03-30 20:59 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
503         * login/programs/pt_chown.c: Drop privileges if invoked with
504         arguments.  Don't close the master pty.
506 1999-03-30  Ulrich Drepper  <drepper@cygnus.com>
508         * time/tzfile.c (__tzfile_read): Process transitions from the rear.
509         Minor optimization.
511 1999-03-29  Ulrich Drepper  <drepper@cygnus.com>
513         * elf/rtld.c (process_envvars): Do not automatically prevent lazy
514         relocation for SUID binaries.
516 1999-03-29  Paul Eggert  <eggert@twinsun.com>
518         * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
519         while in child process.
521 1999-03-29  Jakub Jelinek  <jj@ultra.linux.cz>
523         * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
524         * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
525         * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
526         * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
527         * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
529         * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
530         * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
531         * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
532         * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
533         * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
534         * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
535         * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
536         * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
537         * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
538         * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
539         * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
540         * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
541         * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
542         * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
543         * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
544         * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
545         * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
546         * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
547         * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
548         * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
549         * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
550         * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
551         * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
552         * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
553         * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
554         * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
556         * sysdeps/sparc/sparc32/bcopy.c: New file.
557         * sysdeps/sparc/sparc32/bzero.c: New file.
558         * sysdeps/sparc/sparc32/memchr.S: New file.
559         * sysdeps/sparc/sparc32/memcpy.S: New file.
560         * sysdeps/sparc/sparc32/memmove.c: New file.
561         * sysdeps/sparc/sparc32/memset.S: New file.
562         * sysdeps/sparc/sparc32/stpcpy.S: New file.
563         * sysdeps/sparc/sparc32/strchr.S: New file.
564         * sysdeps/sparc/sparc32/strrchr.c: New file.
565         * sysdeps/sparc/sparc32/strcpy.S: New file.
566         * sysdeps/sparc/sparc32/strlen.S: New file.
567         * sysdeps/sparc/sparc32/strcat.S: New file.
568         * sysdeps/sparc/sparc32/strcmp.S: New file.
570         * sysdeps/sparc/sparc64/bcopy.c: New file.
571         * sysdeps/sparc/sparc64/bzero.c: New file.
572         * sysdeps/sparc/sparc64/memchr.S: New file.
573         * sysdeps/sparc/sparc64/memcmp.S: New file.
574         * sysdeps/sparc/sparc64/memcpy.S: New file.
575         * sysdeps/sparc/sparc64/memset.S: New file.
576         * sysdeps/sparc/sparc64/stpcpy.S: New file.
577         * sysdeps/sparc/sparc64/strcat.S: New file.
578         * sysdeps/sparc/sparc64/strchr.S: New file.
579         * sysdeps/sparc/sparc64/strcmp.S: New file.
580         * sysdeps/sparc/sparc64/strcpy.S: New file.
581         * sysdeps/sparc/sparc64/strcspn.S: New file.
582         * sysdeps/sparc/sparc64/strlen.S: New file.
583         * sysdeps/sparc/sparc64/strncpy.S: New file.
584         * sysdeps/sparc/sparc64/strpbrk.S: New file.
585         * sysdeps/sparc/sparc64/strrchr.c: New file.
586         * sysdeps/sparc/sparc64/strspn.S: New file.
587         * sysdeps/sparc/sparc64/stpncpy.S: New file.
588         * sysdeps/sparc/sparc64/strncmp.S: New file.
590         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
591         Append -fPIC, don't replace.
593         * configure.in: Recognize sparcv8plus / sparcv9.
595 1999-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
597         * malloc/obstack.h (obstack_free): Explicitly convert __obj to
598         char * to avoid C++ warning.
599         Patch by yasushi@cs.washington.edu [PR libc/1035].
601 1999-03-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
603         * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
604         declared in stdlib.h, correct return value of mkstemp.
605         Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
607         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
608         from Linux 2.2.5.
610 1999-03-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
612         * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
613         C++ warning.
615         * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
616         inline functions.  Closes PR libc/1049.
618 1999-03-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
620         * timezone/README: Update from tzdata1999c and tzcode1999c.
622         * timezone/africa: Update from tzdata1999c.
623         * timezone/antarctica: Likewise.
624         * timezone/asia: Likewise.
625         * timezone/australasia: Likewise.
626         * timezone/europe: Likewise.
627         * timezone/northamerica: Likewise.
628         * timezone/southamerica: Likewise.
629         * timezone/zone.tab: Likewise.
631         * timezone/zic.c: Update from tzcode1999c.
633 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
635         * Makerules: Add $(common-objpfx)Versions.all to common-generated
636         outside of ifndef avoid-generated.
638         * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
639         in iofdopen.c.
640         * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
641         iofopen.c.
642         * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
643         in iofclose.c.
644         * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
645         _IO_old_file_seekoff): Bring over recent changes in fileops.c.
647 1999-03-26  Mark Kettenis  <kettenis@gnu.org>
649         * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
650         if we build the profiled library.
652 1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
654         * math/Makefile (gmp-objs): Add inlines.  Reported by Andreas
655         Jaeger <aj@arthur.rhein-neckar.de>
657 1999-03-25  Roland McGrath  <roland@yaumatei.ai.mit.edu>
659         * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
660         (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
661         This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
663 1999-03-24  Roland McGrath  <roland@baalperazim.frob.com>
665         * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
666         works properly in subdirs.
668 1999-03-23  Roland McGrath  <roland@baalperazim.frob.com>
670         * sysdeps/mach/hurd/Makefile: Undo last change.
671         [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
672         [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
674         * mach/Machrules (+preinit, +postinit, +interp,
675         LDFLAGS-$(interface.so)): Variables removed.  Interface libraries get
676         linked just like other shared libraries.
677         (interface.so): Fix typo in defn, so it works.
678         ($(objpfx)$(interface.so)): Make it depend on libc.so.
680 1999-03-21  Roland McGrath  <roland@baalperazim.frob.com>
682         * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
683         $(link-rpcuserlibs).
685 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
687         * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
688         $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
689         targets if not building shared libraries.
691 1999-03-22  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
693         * configure.in: Also look in $PATH when searching for
694         install-info.  Remove autoconf bug workaround and require autoconf
695         2.13.
697 1999-03-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
699         * db/Makefile: Don't try to install shared library link if not
700         building with shared libs.
702 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
704         * rt/Makefile: Link against static library if no shared lib is
705         available.
707         * localedata/Makefile: The shells scripts implementing the test
708         require the dynamic linker which is not available with
709         --disable-shared.  Skip the test if --disable-shared is given.
711         * linuxthreads/Makefile: Link test against static libpthread if no
712         shared lib is available.
714         * iconvdata/Makefile (tests): Run iconv-test only if we're
715         building shared libraries.
716         * elf/Makefile (tests): Likewise for elf tests.
718         * posix/Makefile: The test frameworks globtest and wordexp-test
719         require the dynamic linker which is not available with
720         --disable-shared.  Skip the test if --disable-shared is given.
722         * grp/Makefile (otherlibs): For static nss build link against
723         necessary libs.
725 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
727         * debug/Makefile (install-bin): Install and build catchsegv only
728         if build-shared == yes.  Reported by jussi@jlaako.pp.fi [PR
729         libc/965].
731 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
733         * time/tzfile.c (__tzfile_read): Handle the case where there are
734         transitions but no DST.
736 1999-03-20  Roland McGrath  <roland@baalperazim.frob.com>
738         * mach/Machrules (extra-libs-others): Add $(interface-library) here
739         too, so it gets built in the others pass rather than the lib pass.
740         This is necessary since the RPC libraries need to be linked against
741         libc.
743 1999-03-19  Roland McGrath  <roland@baalperazim.frob.com>
745         * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
746         _itoa_word decl.
748         * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
749         ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
750         ($(link-rpcuserlibs)): New static pattern rule; link intermediate
751         versions of lib{mach,hurd}user.so without reference to libc.so,
752         then link libc.so against that to get deps and symbol versions, then
753         finally link real lib*user.so against libc.so.
755         * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
756         Support whole-file locking (only) by using the file_lock RPC.  This
757         has very wrong semantics, but is better than nothing for the time
758         being.  (Correct POSIX.1 locking will require new RPCs in the Hurd
759         protocols that will be somewhat hairy to specify.)
761 1999-03-17  Mark Kettenis  <kettenis@gnu.org>
763         * sysdeps/mach/hurd/ptsname.c: New file.
765 1999-03-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
767         * timezone/asia: Fix rule in Asia/Nicosia entry.
769 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
771         * manual/getopt.texi (Using Getopt): Explain "::" in option
772         string.  Reported by Yuri Niyazov <yuricake@geocities.com>.
774 1999-03-18  Thorsten Kukuk  <kukuk@suse.de>
776         * sunrpc/clnt_unix.c: Fix creation of parameters for
777         sendmsg/recvmsg on non intel platforms.
778         * sunrpc/svc_unix.c: Likewise.
780 1999-03-18  Philip Blundell  <philb@gnu.org>
782         * sysdeps/unix/sysv/linux/arm/getgroups.c: New file.  Use the i386
783         implementation.
785 1999-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
787         * timezone/africa: Update from tzdata1999b.
788         * timezone/asia: Likewise.
789         * timezone/australasia: Likewise.
790         * timezone/europe: Likewise.
791         * timezone/northamerica: Likewise.
792         * timezone/southamerica: Likewise.
793         * timezone/zone.tab: Likewise.
795         * timezone/README: Mention tzdata1999b.
797 1999-03-17  Ulrich Drepper  <drepper@cygnus.com>
799         * sysdeps/generic/segfault.c (write_strsignal): New function.
800         (catch_segfault): Use it instead of calling strsignal.
802 1999-03-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
804         * iconv/gconv.c (__gconv): Change type of last_start to unsigned
805         char to avoid warning.
807 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
809         * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
811         * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
812         outbuf to unsigned char to avoid warning.
814 1999-03-11  David S. Miller  <davem@redhat.com>
816         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
817         masks.
818         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
820 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
822         * iconv/gconv.h (gconv_fct): Change parameter from `char' to
823         `unsigned char'.
824         (gconv_step_data): Likewise.
825         * iconv/gconv_int.h (__gconv): Likewise.
826         (__BUILINT_TRANS): Likewise.
827         * iconv/gconv.c (__gconv): Likewise.
828         * iconv/iconv.c (iconv): Add casts for call of __gconv.
829         * iconv/skeleton.c: Change local parameters and variable from `char' to
830         `unsigned char'.  Remove casts from calls into modules.
831         * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
832         `char' to `unsigned char'.
833         * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
834         * wcsmbs/mbrtowc.c: Likewise.
835         * wcsmbs/mbsnrtowcs.c: Likewise.
836         * wcsmbs/mbsrtowcs.c: Likewise.
837         * wcsmbs/wcrtomb.c: Likewise.
838         * wcsmbs/wcsnrtombs.c: Likewise.
839         * wcsmbs/wcsrtombs.c: Likewise.
840         * wcsmbs/wctob.c: Likewise.
842 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
844         * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
845         __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
846         __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
847         __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
848         __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
849         __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
851 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
853         * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
854         _hurd_select if TIMEMOUT is -1.
856 1999-03-15  Mark Kettenis  <kettenis@gnu.org>
858         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
860 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
862         * elf/dl-load.c: Compute rtld_search_dir array size correctly.
863         Reported by Yasushi Saito <yasushi@cs.washington.edu>.
865 1999-03-15  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
867         * manual/libc.texinfo: Undo last change for now.
869 1999-03-15  Ulrich Drepper  <drepper@cygnus.com>
871         * intl/locale.alias: Add entries for Croatian.
872         Patch by Tomislav Vujec <tvujec@CARNet.hr>.
874 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
876         * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
877         if the opened master pty really is a pty.  `isatty' checks for
878         tty-ness and a pty is not a tty.  Return ENOENT instead of ENFILE
879         if we are out of pty's.
881 1999-03-13  Mark Kettenis  <kettenis@gnu.org>
883         * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
884         opened file is closed on exec.
885         * login/utmp_daemon.c (setutent_daemon): Likewise for the just
886         opened socket.
888 1999-03-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
890         * manual/llio.texi (File Position Primitive): Reformat @end
891         command.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
893 1999-03-14  Ulrich Drepper  <drepper@cygnus.com>
895         * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
896         entry is found.
897         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
898         * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
900         * locale/programs/localedef.c (main): Initialize `cat' to please
901         the compiler.
903 1999-03-14  Roland McGrath  <roland@baalperazim.frob.com>
905         * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
906         check for root-owned symlinks and reject them too.
908 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
910         * stdio-common/printf_fphex.c: Move to ...
911         * sysdeps/generic/printf_fphex.c: ... here.  Fix exponent of
912         extended precision number.
913         * sysdeps/m68k/printf_fphex.c: New file.
915 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
917         * manual/stdio.texi: Fix typos.
919 1999-03-09  Ulrich Drepper  <drepper@cygnus.com>
921         * version.h (VERSION): Bump to 2.1.1.
923 1999-03-09  Thorsten Kukuk  <kukuk@suse.de>
925         * nis/ypclnt.c: Try only twice to connect to NIS server.
927 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
929         * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
931 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
933         * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
934         (DENORM_EXP): New define.  Use it as the exponent for a denormal.
935         * stdlib/strtold.c: Moved to ...
936         * sysdeps/generic/strtold.c: ... here.
937         * sysdeps/m68k/strtold.c: New file.
939 1999-03-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
941         * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
942         point if the precision is zero, even if the mantissa is non-zero.
944 1999-03-09  Roland McGrath  <roland@baalperazim.frob.com>
946         * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
947         arguments into the request message buffer inside `send_rpc'
948         subfunction.  We must repeat the marshalling when retrying the RPC
949         after a SIGTTOU delivery.
951         * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
952         path when there is no ctty port.
953         * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
954         Move sigstate check inside loop so we recheck after handling a signal.
956 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
958         * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
959         O_EXLOCK are BSD extensions.
960         Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
962 1999-03-08  Ulrich Drepper  <drepper@cygnus.com>
964         * manual/signal.texi (Termination in Handler): Correct example.
965         Install default handler before reraising the signal.
966         Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
968 1999-03-08  Roland McGrath  <roland@baalperazim.frob.com>
970         * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
971         null, in which case send an empty string.
973 1999-03-02  Mark Kettenis  <kettenis@gnu.org>
975         * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
976         backward compatibility EH functions to be linked when using
977         gcc-2.8.1.  Patch by Zack Weinberg <zack@rabi.columbia.edu>.
979 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
981         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
982         /dev/pts status may change during runtime.
984 1999-03-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
986         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
987         change.  /dev/pts status can change during runtime.
989 1999-03-07  Thorsten Kukuk  <kukuk@suse.de>
991         * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
992         poll reports error.
993         * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
994         add some more sanity checks.
995         * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
996         parser prototype.
998 1999-03-05  Thorsten Kukuk  <kukuk@suse.de>
1000         * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
1001         change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
1002         * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
1003         * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
1004         * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
1005         for x_getint32.
1006         * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
1007         * nis/nis_print.c: Fix ctime argument for platforms where
1008         sizeof (time_t) != sizeof (int).
1010 1999-03-07  Mark Kettenis  <kettenis@gnu.org>
1012         * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
1013         CLOCKS_PER_SEC instead of CLK_TCK.
1015 1999-03-05  Ulrich Drepper  <drepper@cygnus.com>
1017         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
1018         whether /dev/pts is available.
1019         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
1020         dev_pts_available.
1022         * posix/globtest.sh: Make common_objpfx path absolute and and db2
1023         and hesiod directory to library path [PR libc/1007].
1025 1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1027         * resolv/inet_addr.c (inet_aton): Don't allow componets >
1028         255.  Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
1030 1999-03-05  Geoff Keating  <geoffk@ozemail.com.au>
1032         * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
1033         DT_PLTGOT has already been relocated.
1034         (__elf_machine_fixup_plt): Likewise.
1035         Minor cleanups.
1037 1999-03-04  Roland McGrath  <roland@baalperazim.frob.com>
1039         * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
1041 1999-03-03  Ulrich Drepper  <drepper@cygnus.com>
1043         * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
1044         and fold string to uppercase [PR libc/1005].
1046 1999-03-03  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1048         * elf/dl-load.c (lose): Fix return type.
1050 1999-03-03  Roland McGrath  <roland@baalperazim.frob.com>
1052         * sysdeps/mach/hurd/bits/fcntl.h
1053         [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
1054         * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
1055         set O_NOTRANS as well.
1056         (__hurd_file_name_lookup_retry): At successful end of lookup,
1057         if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
1058         it is a translated node not owned by root.
1059         (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
1060         on the file name passed to LOOKUP.
1062 1999-03-02  Ulrich Drepper  <drepper@cygnus.com>
1064         * manual/time.texi (High Resolution Timer): Correct computation in
1065         example.  Reported by jjf@devel.cemsys.com.
1067 1999-03-02  Philip Blundell  <pb@nexus.co.uk>
1069         * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
1070         entry is already relocated.
1072 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1074         * resolv/res_hconf.c (parse_line): Skip empty lines.  Bug reported
1075         by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
1077 1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1079         * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
1080         uc_link which is the right name according to Unix98.
1081         Reported by Craig Metz [PR libc/1001].
1082         * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
1083         * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
1084         * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
1085         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
1086         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise
1087         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
1089 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1091         * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
1092         @ifinfo.
1094 1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1096         * iconvdata/Makefile: Always include iconv-rules, but disable rule
1097         to regenerate it if avoid-generated.
1099         * Makeconfig: Always include sys-dirs, but disable rule to
1100         regenerate it when avoid-generated.
1102         * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
1103         rule to generate sysd-syscalls.
1105         * elf/Makefile (generated): Remove $(objpfx) from names.
1107 1999-02-28  Mark Kettenis  <kettenis@gnu.org>
1109         * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
1110         actual length if the adress length is smaller than the input
1111         value.  Change type of *LEN paramater to socklen_t.
1112         * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
1113         * sysdeps/mach/hurd/accept.c (accept): Likewise.
1114         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
1115         * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
1116         paramater to socklen_t.
1118 1999-02-28  Roland McGrath  <roland@baalperazim.frob.com>
1120         * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
1121         msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
1122         with the RPC.
1124 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
1126         * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
1127         __get_phys_pages): Cast &HBI to silence warning.
1129         * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
1130         * hurd/hurdchdir.c: New file.
1131         * hurd/hurdfchdir.c: New file.
1132         * sysdeps/mach/hurd/chroot.c: Call
1133         _hurd_change_directory_port_from_name to do the work.
1134         * sysdeps/mach/hurd/chdir.c: Likewise.
1135         * sysdeps/mach/hurd/fchdir.c: Call
1136         _hurd_change_directory_port_from_fd to do the work.
1137         * hurd/fchroot.c: Likewise.
1138         * hurd/hurd.h: Declare them.
1140 1999-02-27  Ulrich Drepper  <drepper@cygnus.com>
1142         * elf/dl-load.c (lose): Add more comments to explain the `why'.
1143         (_dl_map_object): Remove redundant test.
1145 1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>
1147         * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
1148         try to _hurd_port_free a lower-numbered descriptor that was not in any
1149         fd_set.
1151 1999-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1153         * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
1154         declaration for ____wcstod_l_internal.
1156         * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
1157         __strtod_internal prototype.
1158         * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
1159         (____strtold_l_internal): Add prototype declaration.
1160         (__strtold_l): Call correct function.
1162 1999-02-24  Ulrich Drepper  <drepper@cygnus.com>
1164         * elf/elf.h: Add 32bit HPPA definitions.
1166 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1168         * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
1169         non-checked heap is restored when malloc checking was requested by
1170         the user.
1171         (struct malloc_state): Add using_malloc_checking.
1172         (MALLOC_STATE_VERSION): Increment minor.
1173         (using_malloc_checking, disallow_malloc_check): New variables.
1174         (__malloc_check_init): Use them.
1175         (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
1176         that it can the chunk is properly instrumented when malloc
1177         checking is enabled.  Set the new using_malloc_checking field.
1178         (malloc_hook_ini): Correct signature when _LIBC is not defined.
1180 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1182         * sysdeps/unix/sysv/linux/i386/dl-librecon.h
1183         (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
1184         time.
1186         * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
1187         Don't call elf_get_dynamic_info and _dl_setup_hash a second time
1188         if ld.so is the main program.
1190 1999-02-23  Ulrich Drepper  <drepper@cygnus.com>
1192         * stdio-common/vfprintf.c (vfprintf): If precision or width is too
1193         large for work_buffer, allocate new buffer.
1194         (printf_unknown): Likewise.  [PR libc/988]
1196 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
1198         * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
1199         instead of stat and fstat.
1200         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1202 1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1204         * elf/dl-error.c (_dl_signal_cerror): New function.
1205         (_dl_signal_error): Don't call receiver function.
1206         * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
1207         instead of _dl_signal_error when reporting references to undefined
1208         symbols or versions.
1209         (_dl_lookup_versioned_symbol): Likewise.
1210         (_dl_lookup_versioned_symbol_skip): Likewise.
1211         * elf/dl-version.c (match_symbol): Likewise.
1213         * elf/ldsodefs.h: Declare _dl_signal_cerror.
1215 1999-02-22  Ulrich Drepper  <drepper@cygnus.com>
1217         * misc/getttyent.c (getttyent): Release lock on stream later to
1218         also protect global variable zapchar.
1220         * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
1221         __times [PR libc/990].
1223 1999-02-21  David S. Miller  <davem@redhat.com>
1225         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
1226         parentheses in Feb 2 changes.
1227         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
1229 1999-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1231         * sysdeps/generic/glob.c (glob): Save previous errno.
1233 1999-02-21  Ulrich Drepper  <drepper@cygnus.com>
1235         * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
1236         lookup functions if it is too small.
1238 1999-02-20  Ulrich Drepper  <drepper@cygnus.com>
1240         * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
1241         for tracing to the scope lists.
1242         * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
1243         DT_SYMTAB is always available according to ELF spec.
1245         * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
1246         call test whether there is any scope left.
1247         (_dl_lookup_versioned_symbol_skip): Likewise.
1249         * elf/Makefile (distribute): Add do-lookup.h.
1250         * elf/do-lookup.h: New file.  Split out from dl-lookup.c.
1251         * elf/dl-lookup.c: Move do_lookup function in separate file and
1252         include the file twice, for handling versioning and without it.
1254         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
1255         entry is already relocated.
1256         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
1257         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
1258         * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
1259         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
1260         Likewise.
1261         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
1262         Likewise.
1263         * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
1264         Likewise.
1266         * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
1267         load address.  Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
1268         DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
1269         (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
1270         rel and rela relocations can both happen and skip one test if this
1271         is not possible.
1272         (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
1273         appropriately.
1274         * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
1275         already relocated.
1276         * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
1277         relocated.
1278         * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
1279         (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
1280         (_dl_map_object): DT_STRTAB entry is already relocated.
1281         * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
1282         already relocated.
1283         * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
1284         relocated.
1285         * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
1286         DT_VERSYM entries are already relocated.
1287         (profile_fixup): Likewise.
1288         * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX.  Replace
1289         all users.
1290         (match_symbol): DT_STRTAB entry is already relocated.
1291         (_dl_check_map_versions): Likewise.  Also fo DT_VERSYM.
1292         * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
1293         relocated already.  DT_SYMTAB and DT_VERSYM entries are also relocated.
1294         * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
1295         (find_needed): DT_STRTAB entry is already relocated.
1296         (dl_main): Pass extra argument to elf_get_dynamic_info.
1297         DT_STRTAB entry is already relocated.
1298         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
1299         DT_PLTGOT entries are already relocated.
1300         (elf_machine_rela): Likewise for DT_SYMTAB.
1301         * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
1302         relocated.
1303         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1304         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
1305         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
1306         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1307         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
1308         * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
1309         (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
1310         * sysdeps/mips/mips64/dl-machine.h: Likewise.
1312         * grp/initgroups.c (initgroups): If function in current module was
1313         successful don't stop but continue to process to get all the groups.
1315         * elf/dl-load.c (_dl_map_object_from_fd): Use global
1316         _dl_pf_to_proot array to convert p_flags value.
1317         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1319         * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
1320         loop to clear `info'.
1322         * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
1323         do the work and don't use inline assembler.
1325 1999-02-19  Ulrich Drepper  <drepper@cygnus.com>
1327         * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
1328         * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
1329         noreturn, and prevent it from being inlined.
1330         Define LOSE appropriately.
1331         (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
1332         Optimize decoding of p_flags for certain platforms.
1334 1999-02-19  Philip Blundell  <pb@nexus.co.uk>
1336         * Makeconfig (link-libc): When doing a static link, make sure that
1337         libgcc.a is included both before and after libc.a.
1339 1999-02-18  Thorsten Kukuk  <kukuk@suse.de>
1341         * nis/nss_compat/compat-spwd.c: Fix handling of default values for
1342         sp_warn, sp_inact, sp_expire and sp_flag.
1344 1999-02-18  Ulrich Drepper  <drepper@cygnus.com>
1346         * elf/link.h (link_map): Add l_dev and l_ino.
1347         * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
1348         loaded shared object with all laoded objects.  Initialize l_ino
1349         and l_dev in case it's new.
1350         * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
1351         object.
1352         * elf/Makefile: Compile and run new test.
1353         * elf/multiload.c: New file.
1355         * nss/nsswitch.h (service_user): Change name field from const char *
1356         to char[0].
1357         (name_database_entry): Likewise.
1358         * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
1359         for change of `service_user'.
1360         (nss_getline): Adjust memory allocation for change of
1361         `name_database_entry'.
1363         * catgets/catgets.c: Correctly handle NLSPATH from environment
1364         [PR libc/980].
1366         * io/Makefile (routines): Add lock64.
1367         * io/Versions: Add lockf64 for GLIBC_2.1.1.
1368         * sysdeps/generic/lockf64.c: New file.
1370 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
1372         * string/bits/string2.h: Only use strncmp optimization if count
1373         argument is constant.
1375 1999-02-16  Roland McGrath  <roland@baalperazim.frob.com>
1377         * sysdeps/mach/hurd/revoke.c: New file.
1379 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
1381         * wctype/wctype.h (_ISwbit): Cast result of shift operations to
1382         int to avoid warning about `ISO C restricts enumerator values to
1383         range of `int''.
1385 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1387         * elf/dlfcn.h: Fix typo.
1388         * sysdeps/generic/bits/dlfcn.h: Likewise.
1389         * sysdeps/mips/bits/dlfcn.h: Likewise.
1391 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
1393         * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
1394         for the case N == 0.
1396         * db2/Makefile (distribute): Add LICENSE.
1398 1999-02-03  Jeff Bailey  <jbailey@nisa.net>
1400         * sysdeps/unix/make_errlist.c: Add i18n and copyright to
1401         generated files.
1403         * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
1405 1999-02-16  Ulrich Drepper  <drepper@cygnus.com>
1407         * time/mktime.c: Use ISO C form for function definitions and
1408         remove unnecessary prototypes.
1410         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
1412         * time/time.h: Avoid unneccesary #ifdef.
1414 1999-02-15  Geoff Keating  <geoffk@ozemail.com.au>
1416         * stdio-common/_itoa.c (_itoa): Correct parameters to
1417         udiv_qrnnd_preinv.
1419 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1421         * misc/sys/cdefs.h: Undefine __PMT since it might be defined
1422         before (e.g. in glob.h).
1423         Closes PR libc/959.
1425 1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1427         * sysdeps/mips/fpu_control.h: Fix typo.
1428         Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
1429         Remove __setfpucw.
1431 1999-02-10  Roland McGrath  <roland@baalperazim.frob.com>
1433         * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
1434         the "unused" ends of the sockets.  Let pipes be bidirectional.
1436 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
1438         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
1439         invalid ai_flags.
1441 1999-02-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1443         * manual/llio.texi (Waiting for I/O): Correct meaning.  Patch by
1444         Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
1446         * manual/setjmp.texi (Non-Local Exits and Signals): Fix
1447         typo.  Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
1449 1999-02-15  Ulrich Drepper  <drepper@cygnus.com>
1451         * string/Versions: Add __strverscmp to GLIBC_2.1.1.
1453 1999-02-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1455         * misc/syslog.c (vsyslog): Remember errno for %m format.  Fix
1456         check for priority mask.
1458 1999-02-14  Ulrich Drepper  <drepper@cygnus.com>
1460         * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
1461         Reported by Craig Metz <cmetz@inner.net> .
1463 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1465         * stdio-common/Makefile (tests): tllformat added.
1467         * stdio-common/tllformat.c: New program, based on tiformat.c with
1468         examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1470 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1472         * posix/test-vfork.c: Fix exit status test.
1474 1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1476         * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
1477         missing cases.  Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
1479 1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1481         * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
1482         of separare explicit comparisons.
1484 1999-02-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1486         * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
1487         defined.
1489         * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
1490         defined.
1492 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
1494         * po/el.po: Update from translation team.
1496 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1498         * intl/locale.alias: Fix slovenian entry [PR libc/948].
1500 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1502         * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
1503         * inet/ruserpass.c: Likewise.
1504         * locale/programs/stringtrans.c: Likewise.
1505         * locale/programs/localedef.c: Likewise.
1506         * nscd/grpcache.c: Likewise.
1507         * nss/nss_files/files-XXX.c: Likewise.
1508         * stdlib/canonicalize.c: Likewise.
1509         * sysdeps/posix/sigwait.c: Likewise.
1511 1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1513         * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
1514         even on 64 bit platforms.
1516         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
1517         Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
1519 1999-02-09  Ulrich Drepper  <drepper@cygnus.com>
1521         * intl/dcgettext.c: Include locale.h is available.
1523 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
1525         * po/nl.po: Update from translation team.
1527         * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
1529         * Makefile: Allow calling goals for po subdir.
1531         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
1532         signal definitions.
1534         * po/el.po: New file.
1536 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1538         * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
1539         when processing DT_SYMBOLIC objects.
1541 1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1543         * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
1544         program headers without PT_PHDR only require that they are
1545         contained within one of the loaded segments.  Don't use assert,
1546         since that would be a bug in the object, not the dynamic linker.
1548 1999-02-08  Richard Henderson  <rth@cygnus.com>
1550         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
1551         restore all call-clobbered fp regs.
1553 1999-02-08  Ulrich Drepper  <drepper@cygnus.com>
1555         * po/cs.po: New file.
1557         * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
1558         SUID binaries.
1560 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
1562         * signal/signal.h: Don't declare __libc_allocate_rtsig.
1563         * include/signal.h: Declare __libc_allocate_rtsig here.
1565         * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
1566         point functions, not do_lookup since the later can be called more
1567         than once.
1569 1999-02-03  Jakub Jelinek  <jj@ultra.linux.cz>
1571         * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
1572         macro, so that architectures which need to add some special
1573         offset to stack pointer can share this file.
1575         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
1576         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
1577         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
1578         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
1580         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
1581         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
1582         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
1583         between sparc32 and sparc64.
1585         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
1586         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
1587         * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
1588         between sparc32 and sparc64.
1590         * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
1591         * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
1592         * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
1593         between sparc32 and sparc64.
1595         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
1596         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
1597         * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
1598         between sparc32 and sparc64.
1600 1999-02-07  Ulrich Drepper  <drepper@cygnus.com>
1602         * Versions.def: New version GLIBC_2.1.1 for libc.
1603         * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
1604         * stdlib/labs.c: Moved to...
1605         * sysdeps/generic/labs.c: ...here.
1606         * stdlib/llabs.c: Moved to...
1607         * sysdeps/generic/llabs.c: ...here.
1608         * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
1609         header.  Declare _Exit.
1610         * sysdeps/generic/_exit.c: Add alias _Exit.
1611         * sysdeps/mach/hurd/_exit.c: Likewise.
1612         * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
1613         * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
1614         * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
1615         * sysdeps/unix/_exit.c: Likewise.
1616         * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
1617         imaxdiv and imaxabs.  Declare lldiv_t if necessary.
1618         * sysdeps/wordsize-64/inttypes.h: Likewise.
1619         * sysdeps/wordsize-32/llabs.c: New file.
1620         * sysdeps/wordsize-32/lldiv.c: New file.
1621         * sysdeps/wordsize-64/labs.c: New file.
1622         * sysdeps/wordsize-64/ldiv.c: New file.
1623         * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
1624         * manual/startup.texi: Document _Exit.
1626 1999-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1628         * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
1630 1999-02-06  Ulrich Drepper  <drepper@cygnus.com>
1632         * Versions.def: Add versions for ld.so.
1633         * csu/Versions: Remove __libc_stack_end here.
1634         * elf/Versions: Split libc definitions in libc and ld.so definitions.
1635         * elf/Makefile (ld-map): Change to ld.so.map.
1636         * scripts/versions.awk: Recognize dot in library names.
1638         * ctype/ctype.h: Remove definitions of __tolower and __toupper.
1639         Don't use __tolower and __toupper in inline functions.
1640         Add optimizing macros for tolower and toupper.
1641         * ctype/ctype-extn.c (_tolower): Don't use __tolower.
1642         (_toupper): Don't use __toupper.
1643         * ctype/ctype.c (tolower): Don't use __tolower.
1644         (toupper): Don't use toupper.
1646         * nscd/cache.c (prune_cache): Correct printing of debugging messages.
1648         * resolv/Versions (libresolv): Export __ns_name_unpack and
1649         __ns_name_ntop.
1650         * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
1651         make it global.  Change all users.  Similar for ns_name_ntop.
1652         * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
1653         user-provided buffer.  Use __ns_name_unpack and __ns_name_ntop
1654         directly to detect too small buffer.
1655         * resolv/nss_dns/dns-network.c: Likewise.
1657         * stdio-common/Makefile (tests): Add scanf12.
1658         * stdio-common/scanf12.c: New file.
1659         * stdio-common/scanf12.input: New file.
1660         * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
1661         floating-point correctly if the number is invalid.
1663         * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
1664         functions.
1665         * stdio-common/printf_fp.c: Likewise.
1666         * stdio-common/printf_fphex.c: Likewise.
1667         * stdio-common/vfprintf.c: Likewise.
1670 See ChangeLog.9 for earlier changes.