1 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
3 * string/bits/string2.h: Add more memset optimizations.
5 * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
7 * resolv/inet_pton.c (inet_pton4): Little optimizations.
8 (inet_pton6): Likewise.
10 * nss/getXXbyYY_r.c: Include assert.h.
11 * nss/getXXbyYY.c: Likewise.
13 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
15 * termios/tcgetsid.c (tcgetsid): Rename variable to
16 tiocgsid_does_not_work.
18 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
20 * inet/getnameinfo.c (nrl_domainname): Fix last patch.
22 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
24 * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
25 This allows e.g. gethostbyname to accept "10.1234".
26 Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
28 * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
29 non quad IPv4 numbers.
31 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
33 * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
35 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
37 * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
38 * argp/argp-parse.c (_argp_hang): Likewise.
39 * argp/argp-pv.c (argp_program_version): Likewise.
40 * argp/argp-pvh.c (argp_program_version_hook): Likewise.
41 * inet/ether_hton.c (ether_hton, startp): Likewise.
42 * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
43 * inet/getnetgrent_r.c (setup, startp): Likewise.
44 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
45 * intl/localealias.c (string_space, string_space_act, string_space_max,
46 nmap, maxmap): Likewise.
47 * libio/iopopen.c (proc_file_chain): Likewise.
48 * libio/oldiopopen.c (old_proc_file_chain): Likewise.
49 * locale/lc-collate.c (__collate_table, __collate_extra,
50 __collate_element_hash, __collate_element_strings,
51 __collate_element_values): Likewise.
52 * malloc/mcheck.c (mcheck_used): Likewise.
53 * malloc/mtrace.c (added_atexit_handler): Likewise.
54 * malloc/set-freeres.c (already_called): Likewise.
55 * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
56 * misc/syslog.c (LogStat, LogTag): Likewise.
57 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
58 * nss/getXXbyYY_r.c (startp): Likewise.
59 * posix/getopt.c (optarg, __getopt_initialized): Likewise.
60 * posix/regex.c (init_syntax_once) [done]: Likewise.
62 * string/strfry.c (init): Likewise.
63 * sunrpc/svc_run.c (svc_top): Likewise.
64 * posix/euidaccess.c (have_ids): Likewise.
65 * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
66 * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
67 * time/getdate.c (getdate_err): Likewise.
68 * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
70 * time/tzset.c (old_tz, is_initialized): Likewise.
72 * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
73 of static data with zero.
74 * signal/allocrtsig.c (init): Likewise.
76 * string/Makefile (routines): Add strchrnul.
77 * string/Versions [GLIBC_2.1.1]: Add strchrnul.
78 * string/string.c: Add strchrnul prototype.
79 * include/string.h: Add __strchrnul prototype.
80 * sysdeps/generic/strchrnul.c: New file.
81 * sysdeps/i386/strchrnul.S: New file.
82 * sysdeps/i386/bits/string.c: Add strchrnul optimization.
83 * sysdeps/i386/i486/bits/string.c: Likewise.
84 * argp/argp-help.c (argp_args_usage): Use __strchrnul.
85 * inet/ether_line.c (ether_line): Likewise.
86 * nscd/nscd_conf.c (nscd_parse_file): Likewise.
87 * nss/nsswitch.c (nss_parse_file): Likewise.
88 * posix/execvp.c (execvp): Likewise.
89 * posix/fnmatch.c (internal_fnmatch): Likewise.
90 * resolv/res_hconf.c (_res_hconv_init): Likewise.
91 * resolv/res_init.c (res_init): Likewise.
92 * stdlib/fmtmsg.c (init): Likewise.
93 * stdlib/getsubopt.c (getsubopt): Likewise.
95 * catgets/catgets.c (catopen): Only allocate one memory block.
96 (catclose): Only one free call necessary.
98 * catgets/open_catalog.c (__open_catalog): Simplify handling of
101 * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
102 of real functions. Simplify _tolower and _toupper.
104 * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
107 * iconv/gconv.h (struct gconv_info): Change data element from pointer
109 * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
110 * iconv/gconv_close.c (__gconv_close): Don't free data.
112 * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
115 * iconv/gconv_db.c (add_derivation): More efficient copying. Check
116 for error while inserting in tree.
118 * include/time.h: Pretty print.
120 * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
121 in table and lots of relocations.
122 * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
123 string pointers in table and lots of relocations.
125 * intl/finddomain.c: Remove definition of strchr macro.
127 * io/ftw.c (nftw_arr, ftw_arr): Make const.
129 * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
131 * locale/localeinfo.h (_nl_category_names): Change into an array with
132 fixed width char string elements.
133 * locale/setlocale.c (_nl_category_names): Likewise.
134 (_nl_current): Make global.
135 * locale/nl_langinfo.c (nldata): Removed. Use _nl_current now.
137 * malloc/Makefile (distribute): Add stackinfo.h.
138 * sysdeps/generic/stackinfo.h: New file.
139 * sysdeps/i386/stackinfo.h: New file.
140 * posix/execl.c: Use stackinfo.h in optimizing alloca use.
141 * posix/execle.c: Likewise.
142 * posix/execlp.c: Likewise.
144 * nis/nis_table.c (__create_ib_request): Always use realloc.
146 * posix/execvp.c (execute): Rename to script_execute and keep only
147 code to execute using shell.
148 (execvp): Call execv directly and only fall back on script_execute.
150 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
151 and always use xdigits instead.
153 * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
156 * stdlib/fpioconst.h (__tens): New declaration.
157 (struct mp_power): Remove array, add arrayoff element.
158 * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
159 __tens array and add in _fpioconst_pow10 offsets into __tens.
160 * stdio-common/printf_fp.c: Rewrite to use new __tens array.
161 * stdlib/strtod.c: Likewise.
163 * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
165 * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
167 * stdlib/atexit.c (__exit_funcs): Don't initialize.
169 * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
171 * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
172 a single and an array with offsets.
174 * sunrpc/des_soft.c (partab): Make it const.
176 * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
177 (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
178 (__key_decryptsession_pk_LOCAL): Likewise.
179 (__key_gendes_LOCAL): Likewise.
180 (MESSENGER): Mark const.
181 (key_call_private_main): Don't initialize with 0.
182 (use_keyenvoy): Don't initialize with 0.
183 (key_call): Rewrite to reverse logic of use_doors variable.
185 * sunrpc/netname.c (OPSYS): Define as array, not pointer.
186 (startp): Don't initialize with zero.
188 * sunrpc/openchild.c (_openchild): Make first argument const.
190 * sunrpc/pmap_rmt.c (timeout): Mark const.
191 * sunrpc/xcrypt.c (hex): Likewise.
193 * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
194 initialization of global variables.
195 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
196 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
197 * termios/tcgetsid.c: Likewise.
199 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
202 * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
203 block. Add function to free memory if wanted.
204 * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
206 * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
208 * wcsmbs/wmemset.c: Little code optimization.
210 1999-04-23 Paul Eggert <eggert@twinsun.com>
212 * stdlib/strtoull.c: Surround strong_alias and weak_alias with
215 1999-04-28 Roland McGrath <roland@baalperazim.frob.com>
217 * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
218 implementation and just always fail with ENOSYS. This entry point is
219 obsolete. Add link warning to that effect.
221 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
223 * hurd/get-host.c: Include <hurd/lookup.h>.
225 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
227 * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
230 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
232 * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
235 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
237 * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
238 Patch by Peter Miller <millerp@canb.auug.org.au>.
240 1999-04-27 Thorsten Kukuk <kukuk@suse.de>
242 * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
243 prefers loopback device.
245 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
247 * posix/fnmatch.c (internal_fnmatch): Finish incomplete
248 no_leading_period change.
250 * posix/testfnm.c: More test cases.
252 1999-04-27 Ulrich Drepper <drepper@cygnus.com>
254 * include/dirent.h: Remove __getdirentries declaration, add __getdents
256 * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
257 * sysdeps/unix/readdir_r.c: Likewise.
258 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
259 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
260 * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
261 __getdirentries. Remove fourth argument.
262 * sysdeps/unix/sysv/linux/getdirentries.c: New file.
263 * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
264 * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
265 Add getdirentries and getdirentries64.
266 * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
268 * posix/fnmatch.c (internal_fnmatch): Correctly reset string
269 pointer in case of an invalid [[: expression.
271 * posix/testfnm.c: Add more test cases.
273 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
275 * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
276 set, pass EXEC_SIGTRAP flag in exec RPC.
278 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
280 * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch. Take
281 extra parameter. Fix several more bugs involving wildcard and
283 (fnmatch): New function. Call internal_fnmatch.
285 * posix/testfnm.c: More test cases.
287 1999-04-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
289 * manual/install.texi (Configuring and compiling): Explain that
290 files are changed in the source directory.
292 (Configuring and compiling): Explain situation with PARALLELMFLAGS
293 in the source directory.
295 1999-04-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
297 * locale/programs/ld-ctype.c: Spelling fixes.
298 (ctype_finish): Fix argument of error message format.
299 * locale/programs/ld-messages.c: Spelling fixes.
300 * locale/programs/ld-monetary.c: Spelling fixes.
301 * locale/programs/ld-time.c (time_finish): Make sure that name and
302 format of era_entries are adjacent.
303 (time_output): Reduce the size of the io vector.
305 1999-04-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
307 * manual/filesys.texi (Attribute Meanings): Move a misplaced
310 1999-04-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
312 * locale/programs/ld-collate.c (collate_output): Convert
313 undefined_offset to an array index. Fix computation of other
316 1999-04-26 Roland McGrath <roland@baalperazim.frob.com>
318 * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
319 return success with empty value.
321 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
323 * posix/fnmatch.c: Include string.h also for glibc.
324 (fnmatch, case '?'): Optimize if cascades a bit.
325 (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
327 * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
329 1999-04-24 Ulrich Drepper <drepper@cygnus.com>
331 * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
332 * iconv/gconv_int.h: Declare UTF16 functions.
333 * iconv/gconv_simple.c: Add UTF16 conversion functions.
335 1999-04-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
337 * posix/wordexp.c (parse_param): Fix type of offset to allow it to
338 be used correctly as parameter for parse_dollars/parse_tilde.
340 1999-04-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
342 * manual/conf.texi (Utility Limits): Remove duplicate description
345 1999-04-19 Ulrich Drepper <drepper@cygnus.com>
347 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
348 outbufend for dst==NULL.
350 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
352 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
356 * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
359 1999-04-18 Thorsten Kukuk <kukuk@suse.de>
361 * sunrpc/Makefile: Remove special handling of bootparam.x,
362 add rpcsvc/bootparam.h to headers.
363 * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
364 * sunrpc/rpcsvc/bootparam.x: Renamed to...
365 * sunrpc/rpcsvc/bootparam_prot.x: ...this.
367 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
369 * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
370 detect and handle invalid descriptors.
372 1999-04-17 Thorsten Kukuk <kukuk@suse.de>
374 * timezone/zic.c (dolink): Append complete path not only filename
377 1999-04-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
379 * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
381 1999-04-17 Ulrich Drepper <drepper@cygnus.com>
383 * iconvdata/gconv-modules: Rename CP874 to IBM874.
384 * iconvdata/Makefile: Likewise.
385 * iconvdata/cp874.h: Removed.
386 * iconvdata/cp874.c: Renamed to...
387 * iconvdata/ibm874.c: ...this.
389 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
391 * sysdeps/unix/sysv/linux/bits/types.h: Correct
392 signed/unsigned-ness of blkcnt and fsblkcnt.
393 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
394 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
396 * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
397 SOL_AAL, and SOL_IRDA.
399 1999-04-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
401 * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero. Don't
402 include "linux_fsinfo.h".
403 Based on a patch by H.J. Lu <hjl@gnu.org>.
405 1999-04-16 Thorsten Kukuk <kukuk@suse.de>
407 * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
409 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
411 * nscd/cache.c (prune_cache): Only disable file checking for
412 future if the file does not exist.
413 Update file_mtime if cache was flushed.
415 1999-04-15 David S. Miller <davem@redhat.com>
417 * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
418 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
420 1999-04-15 Scott Bambrough <scottb@netwinder.org>
422 * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
425 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
427 * Versions.def: Add GLIBC_2.1.1 to libpthread.
429 * iconvdata/Makefile (modules): Add KOI8-U.
430 (distribute): Add koi8-u.c.
431 (gen-8bit-gap-modules): Add koi8-u.
432 * iconvdata/gconv-modules: Add KOI8-U entries.
433 * iconvdata/koi8-u.c: New file.
435 1999-04-13 Thorsten Kukuk <kukuk@suse.de>
437 * sunrpc/auth_des.c: 64bit fixes, security fixes.
438 * sunrpc/auth_none.c: Pretty print.
439 * sunrpc/auth_unix.c: Likewise.
440 * sunrpc/authdes_prot.c: Likewise.
441 * sunrpc/authuxprot.c: Likewise.
442 * sunrpc/bindrsvprt.c: Likewise.
443 * sunrpc/clnt_gen.c: Likewise.
444 * sunrpc/rpc/xdr.h: Likewise.
445 * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
446 * sunrpc/rpc_cmsg.c: Don't use *long pointers.
447 * sunrpc/rtime.c: Use new rpc_timeval.
448 * sunrpc/svc_authux.c: Don't use *long pointers.
449 * sunrpc/svcauth_des.c: Likewise + security fixes.
450 * sunrpc/xdr_mem.c: Don't use *long pointers.
451 * sunrpc/xdr_rec.c: Likewise.
452 * sunrpc/xdr_sizeof.c: Likewise.
453 * sunrpc/xdr_stdio.c: Likewise.
455 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
457 * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
458 so that it is redone for each sending.
460 1999-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
462 * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
464 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
466 * iconv/gconv_db.c (__gconv_find_transform): If conversion is
467 known to not exist don't try to load shared objects.
468 Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
470 * nscd/cache.c (prune_cache): The table might not be unused. In
471 this case do nothing.
473 * catgets/gencat.c (read_input_file): Don't drop white spaces
474 between number/identifier and string.
475 Patch by Dima Barsky <dima@pwd.hp.com>.
476 If no white space at all follows number/identifier remove existing
477 message with the number/identifier.
479 1999-04-14 H.J. Lu <hjl@gnu.org>
481 * sunrpc/clnt_udp.c (is_network_up): New function.
482 (clntudp_call): Call is_network_up () to check if any network
483 interface is up in case of timeout.
485 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
487 * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
488 * wctype/Makefile (tests): Add test_wcfuncs.
490 1999-04-14 Jakub Jelinek <jj@ultra.linux.cz>
492 * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
494 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
496 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
497 instead of CFLAGS. For gnulib and string directories use
498 -Wa,-Av9a gcc ASFLAGS.
499 * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
500 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
501 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
502 * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
503 the same way as sparc-*.
505 1999-04-14 Ulrich Drepper <drepper@cygnus.com>
507 * locale/programs/locfile.c (locfile_read): Fix typo.
508 Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
510 1999-04-14 Scott Bambrough <scottb@netwinder.org>
512 * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
513 restarted after being interrupted by a signal. The parameters on
514 the stack were corrupted by the signal handler.
516 * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
517 restarted after being interrupted by a signal. The parameters on
518 the stack were corrupted by the signal handler.
520 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
522 * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
523 Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
525 1999-04-12 Tim Waugh <tim@cyberelk.demon.co.uk>
527 * posix/wordexp-test.c: In field-splitting test cases where
528 subshells were involved, unset IFS first: some shells (ash) use
529 IFS even when no expansion is performed.
531 1999-04-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
533 * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
534 the real end of the chunk, not some random point inbetween.
535 (_IO_obstack_xsputn): Likewise. Actually copy the data into the
536 obstack when growing. Use fast version of obstack_blank when
538 (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
539 allocating the vtable pointer.
540 (_IO_obstack_vprintf): Adjust for above change and avoid
541 unnecessary casts. Use fast version of obstack_blank when
545 1999-04-12 Ulrich Drepper <drepper@cygnus.com>
547 * iconvdata/gconv-modules: Fix typo. Add UJIS alias.
548 Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
550 1999-04-11 Tim Waugh <tim@cyberelk.demon.co.uk>
552 * posix/wordexp.c (wordexp): Fix a leak when an invalid character
553 is seen, as well as fixing semantics. Don't reset the word count
554 to zero when an invalid character is seen, but leave it as it was
555 (this makes a difference with WRDE_APPEND).
557 * posix/wordexp-test.c: More test cases.
559 * posix/wordexp.c (parse_param): In words like ${var#pattern},
560 always expand pattern when it is needed. Also, handle quoting in
563 1999-04-12 Philip Blundell <philb@gnu.org>
565 * elf/elf.h: Update ARM definitions to match current gas2.
567 * sysdeps/arm/bits/endian.h: Support big endian operation.
569 * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
570 Don't bother range checking the port number.
572 * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
574 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
575 the syscall name in assembler output for ease of debugging.
577 * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
579 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
580 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
581 (sysdep_routines): Add sigrestorer.
583 * string/tester.c (test_strcpy): Add new tests for unaligned
585 * sysdeps/arm/bits/string.h: Delete inline implementations of
588 1999-04-11 Ulrich Drepper <drepper@cygnus.com>
590 * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
592 1999-04-10 Mark Kettenis <kettenis@gnu.org>
594 * sysdeps/mach/hurd/Dist: Add clk_tck.c.
596 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
598 * iconvdata/Makefile (modules): Add TIS-620.
599 (distribute): Add tis-620.c.
600 (gen-8bit-gap-modules): tis-620.
601 * iconvdata/tis-620.c: New file.
602 * iconvdata/gconv-modules: Add TIS-620 entries.
604 * iconvdata/asmo_449.c: Correct comment.
606 1999-04-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
608 * manual/install.texi (Configuring and compiling): Comment out
609 description of --disable-static since this doesn't work currently
610 (see change by Ulrich Drepper on 1998-12-07 for configure.in).
612 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
614 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
616 Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
618 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
620 * scripts/test-installation.pl (installation_problem): Skip
621 libnss1_* libraries from glibc-compat add-on.
623 1999-04-07 H.J. Lu <hjl@gnu.org>
625 * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
627 * posix/Versions (__waitpid): Likewise.
629 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
631 * manual/install.texi (Reporting Bugs): Add section about reported
632 bugs and correct email address of glibcbug script.
634 1999-04-01 Thorsten Kukuk <kukuk@suse.de>
636 * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
637 * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
638 xdr_u_longlong_t. Based on patch from Dan Shechter
639 <damageboy@isdn.net.il>.
640 * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
641 * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
643 * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
645 1999-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
647 * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
648 directly if getdents returns with error set.
650 1999-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
652 * locale/langinfo.h (THOUSEP): Rename second occurence of
653 THOUSANDS_SEP to THOUSEP.
654 Reported by Roman Belenov <roman@nstl.nnov.ru>.
656 1999-04-05 Roland McGrath <roland@baalperazim.frob.com>
658 * hurd/STATUS: File removed. Moved items that are still relevant into
659 TODO list in hurd source.
661 1999-03-26 Mark Kettenis <kettenis@gnu.org>
663 * sysdeps/mach/hurd/bits/time.h: New file.
664 * sysdeps/mach/hurd/getrusage.c: New file.
665 * sysdeps/mach/hurd/clk_tck.c: New file.
666 * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
667 * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
668 (sysdep_routines): Add clk_tck.
669 * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
672 1999-04-02 Ulrich Drepper <drepper@cygnus.com>
674 * misc/syslog.c (closelog_internal): Do not reset LogTag here.
675 (closelog): But instead here.
676 Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
678 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
680 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
681 the source directory. Fixes PR libc/1059.
683 1999-04-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
685 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
686 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
688 1999-04-01 Ulrich Drepper <drepper@cygnus.com>
690 * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
691 * iconvdata/testdata/ISO-8859-14: New file.
692 * iconvdata/testdata/ISO-8859-14..UTF8: New file.
693 * iconvdata/testdata/ISO-8859-15: New file.
694 * iconvdata/testdata/ISO-8859-15..UTF8: New file.
696 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
698 * iconvdata/testdata/CP1258: New file.
699 * iconvdata/testdata/CP1258..UTF8: New file.
700 * iconvdata/TESTS: Add CP1258 entry.
702 * iconvdata/cp874.h (to_ucs4): Add Euro sign.
704 * timezone/africa: Update from tzdata1999d.
705 * timezone/europe: Likewise.
706 * timezone/northamerica: Likewise.
708 1999-03-31 Mark Kettenis <kettenis@gnu.org>
710 * login/programs/pt_chown.c (main): Save effective user ID before
711 dropping priviliges and use this to check if the program is
714 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
716 * iconvdata/testdata/CP1254: Update for charmap changes.
717 * iconvdata/testdata/CP1254..UTF8: Likewise.
718 * iconvdata/testdata/CP1255: Likewise.
719 * iconvdata/testdata/CP1255..UTF8: Likewise.
720 * iconvdata/testdata/CP1256: Likewise.
721 * iconvdata/testdata/CP1256..UTF8: Likewise.
722 * iconvdata/testdata/CP1257: Likewise.
723 * iconvdata/testdata/CP1257..UTF8: Likewise.
725 * iconvdata/Makefile (distribute): Remove cp1258.h.
726 (gen-8bit-gap-modules): Add cp1258.
727 * iconvdata/cp1258.h: Removed.
729 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
731 * timezone/tst-timezone.c (tests): Add more cases.
732 (check_tzvars): Mark errors clearer.
735 1999-03-30 20:59 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
737 * login/programs/pt_chown.c: Drop privileges if invoked with
738 arguments. Don't close the master pty.
740 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
742 * time/tzfile.c (__tzfile_read): Process transitions from the rear.
745 1999-03-29 Ulrich Drepper <drepper@cygnus.com>
747 * elf/rtld.c (process_envvars): Do not automatically prevent lazy
748 relocation for SUID binaries.
750 1999-03-29 Paul Eggert <eggert@twinsun.com>
752 * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
753 while in child process.
755 1999-03-29 Jakub Jelinek <jj@ultra.linux.cz>
757 * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
758 * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
759 * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
760 * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
761 * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
763 * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
764 * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
765 * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
766 * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
767 * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
768 * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
769 * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
770 * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
771 * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
772 * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
773 * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
774 * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
775 * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
776 * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
777 * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
778 * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
779 * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
780 * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
781 * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
782 * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
783 * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
784 * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
785 * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
786 * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
787 * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
788 * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
790 * sysdeps/sparc/sparc32/bcopy.c: New file.
791 * sysdeps/sparc/sparc32/bzero.c: New file.
792 * sysdeps/sparc/sparc32/memchr.S: New file.
793 * sysdeps/sparc/sparc32/memcpy.S: New file.
794 * sysdeps/sparc/sparc32/memmove.c: New file.
795 * sysdeps/sparc/sparc32/memset.S: New file.
796 * sysdeps/sparc/sparc32/stpcpy.S: New file.
797 * sysdeps/sparc/sparc32/strchr.S: New file.
798 * sysdeps/sparc/sparc32/strrchr.c: New file.
799 * sysdeps/sparc/sparc32/strcpy.S: New file.
800 * sysdeps/sparc/sparc32/strlen.S: New file.
801 * sysdeps/sparc/sparc32/strcat.S: New file.
802 * sysdeps/sparc/sparc32/strcmp.S: New file.
804 * sysdeps/sparc/sparc64/bcopy.c: New file.
805 * sysdeps/sparc/sparc64/bzero.c: New file.
806 * sysdeps/sparc/sparc64/memchr.S: New file.
807 * sysdeps/sparc/sparc64/memcmp.S: New file.
808 * sysdeps/sparc/sparc64/memcpy.S: New file.
809 * sysdeps/sparc/sparc64/memset.S: New file.
810 * sysdeps/sparc/sparc64/stpcpy.S: New file.
811 * sysdeps/sparc/sparc64/strcat.S: New file.
812 * sysdeps/sparc/sparc64/strchr.S: New file.
813 * sysdeps/sparc/sparc64/strcmp.S: New file.
814 * sysdeps/sparc/sparc64/strcpy.S: New file.
815 * sysdeps/sparc/sparc64/strcspn.S: New file.
816 * sysdeps/sparc/sparc64/strlen.S: New file.
817 * sysdeps/sparc/sparc64/strncpy.S: New file.
818 * sysdeps/sparc/sparc64/strpbrk.S: New file.
819 * sysdeps/sparc/sparc64/strrchr.c: New file.
820 * sysdeps/sparc/sparc64/strspn.S: New file.
821 * sysdeps/sparc/sparc64/stpncpy.S: New file.
822 * sysdeps/sparc/sparc64/strncmp.S: New file.
824 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
825 Append -fPIC, don't replace.
827 * configure.in: Recognize sparcv8plus / sparcv9.
829 1999-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
831 * malloc/obstack.h (obstack_free): Explicitly convert __obj to
832 char * to avoid C++ warning.
833 Patch by yasushi@cs.washington.edu [PR libc/1035].
835 1999-03-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
837 * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
838 declared in stdlib.h, correct return value of mkstemp.
839 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
841 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
844 1999-03-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
846 * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
849 * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
850 inline functions. Closes PR libc/1049.
852 1999-03-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
854 * timezone/README: Update from tzdata1999c and tzcode1999c.
856 * timezone/africa: Update from tzdata1999c.
857 * timezone/antarctica: Likewise.
858 * timezone/asia: Likewise.
859 * timezone/australasia: Likewise.
860 * timezone/europe: Likewise.
861 * timezone/northamerica: Likewise.
862 * timezone/southamerica: Likewise.
863 * timezone/zone.tab: Likewise.
865 * timezone/zic.c: Update from tzcode1999c.
867 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
869 * Makerules: Add $(common-objpfx)Versions.all to common-generated
870 outside of ifndef avoid-generated.
872 * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
874 * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
876 * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
878 * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
879 _IO_old_file_seekoff): Bring over recent changes in fileops.c.
881 1999-03-26 Mark Kettenis <kettenis@gnu.org>
883 * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
884 if we build the profiled library.
886 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
888 * math/Makefile (gmp-objs): Add inlines. Reported by Andreas
889 Jaeger <aj@arthur.rhein-neckar.de>
891 1999-03-25 Roland McGrath <roland@yaumatei.ai.mit.edu>
893 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
894 (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
895 This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
897 1999-03-24 Roland McGrath <roland@baalperazim.frob.com>
899 * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
900 works properly in subdirs.
902 1999-03-23 Roland McGrath <roland@baalperazim.frob.com>
904 * sysdeps/mach/hurd/Makefile: Undo last change.
905 [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
906 [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
908 * mach/Machrules (+preinit, +postinit, +interp,
909 LDFLAGS-$(interface.so)): Variables removed. Interface libraries get
910 linked just like other shared libraries.
911 (interface.so): Fix typo in defn, so it works.
912 ($(objpfx)$(interface.so)): Make it depend on libc.so.
914 1999-03-21 Roland McGrath <roland@baalperazim.frob.com>
916 * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
919 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
921 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
922 $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
923 targets if not building shared libraries.
925 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
927 * configure.in: Also look in $PATH when searching for
928 install-info. Remove autoconf bug workaround and require autoconf
931 1999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
933 * db/Makefile: Don't try to install shared library link if not
934 building with shared libs.
936 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
938 * rt/Makefile: Link against static library if no shared lib is
941 * localedata/Makefile: The shells scripts implementing the test
942 require the dynamic linker which is not available with
943 --disable-shared. Skip the test if --disable-shared is given.
945 * linuxthreads/Makefile: Link test against static libpthread if no
946 shared lib is available.
948 * iconvdata/Makefile (tests): Run iconv-test only if we're
949 building shared libraries.
950 * elf/Makefile (tests): Likewise for elf tests.
952 * posix/Makefile: The test frameworks globtest and wordexp-test
953 require the dynamic linker which is not available with
954 --disable-shared. Skip the test if --disable-shared is given.
956 * grp/Makefile (otherlibs): For static nss build link against
959 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
961 * debug/Makefile (install-bin): Install and build catchsegv only
962 if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR
965 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
967 * time/tzfile.c (__tzfile_read): Handle the case where there are
968 transitions but no DST.
970 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>
972 * mach/Machrules (extra-libs-others): Add $(interface-library) here
973 too, so it gets built in the others pass rather than the lib pass.
974 This is necessary since the RPC libraries need to be linked against
977 1999-03-19 Roland McGrath <roland@baalperazim.frob.com>
979 * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
982 * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
983 ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
984 ($(link-rpcuserlibs)): New static pattern rule; link intermediate
985 versions of lib{mach,hurd}user.so without reference to libc.so,
986 then link libc.so against that to get deps and symbol versions, then
987 finally link real lib*user.so against libc.so.
989 * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
990 Support whole-file locking (only) by using the file_lock RPC. This
991 has very wrong semantics, but is better than nothing for the time
992 being. (Correct POSIX.1 locking will require new RPCs in the Hurd
993 protocols that will be somewhat hairy to specify.)
995 1999-03-17 Mark Kettenis <kettenis@gnu.org>
997 * sysdeps/mach/hurd/ptsname.c: New file.
999 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1001 * timezone/asia: Fix rule in Asia/Nicosia entry.
1003 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1005 * manual/getopt.texi (Using Getopt): Explain "::" in option
1006 string. Reported by Yuri Niyazov <yuricake@geocities.com>.
1008 1999-03-18 Thorsten Kukuk <kukuk@suse.de>
1010 * sunrpc/clnt_unix.c: Fix creation of parameters for
1011 sendmsg/recvmsg on non intel platforms.
1012 * sunrpc/svc_unix.c: Likewise.
1014 1999-03-18 Philip Blundell <philb@gnu.org>
1016 * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386
1019 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1021 * timezone/africa: Update from tzdata1999b.
1022 * timezone/asia: Likewise.
1023 * timezone/australasia: Likewise.
1024 * timezone/europe: Likewise.
1025 * timezone/northamerica: Likewise.
1026 * timezone/southamerica: Likewise.
1027 * timezone/zone.tab: Likewise.
1029 * timezone/README: Mention tzdata1999b.
1031 1999-03-17 Ulrich Drepper <drepper@cygnus.com>
1033 * sysdeps/generic/segfault.c (write_strsignal): New function.
1034 (catch_segfault): Use it instead of calling strsignal.
1036 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1038 * iconv/gconv.c (__gconv): Change type of last_start to unsigned
1039 char to avoid warning.
1041 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
1043 * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
1045 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
1046 outbuf to unsigned char to avoid warning.
1048 1999-03-11 David S. Miller <davem@redhat.com>
1050 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
1052 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
1054 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
1056 * iconv/gconv.h (gconv_fct): Change parameter from `char' to
1058 (gconv_step_data): Likewise.
1059 * iconv/gconv_int.h (__gconv): Likewise.
1060 (__BUILINT_TRANS): Likewise.
1061 * iconv/gconv.c (__gconv): Likewise.
1062 * iconv/iconv.c (iconv): Add casts for call of __gconv.
1063 * iconv/skeleton.c: Change local parameters and variable from `char' to
1064 `unsigned char'. Remove casts from calls into modules.
1065 * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
1066 `char' to `unsigned char'.
1067 * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
1068 * wcsmbs/mbrtowc.c: Likewise.
1069 * wcsmbs/mbsnrtowcs.c: Likewise.
1070 * wcsmbs/mbsrtowcs.c: Likewise.
1071 * wcsmbs/wcrtomb.c: Likewise.
1072 * wcsmbs/wcsnrtombs.c: Likewise.
1073 * wcsmbs/wcsrtombs.c: Likewise.
1074 * wcsmbs/wctob.c: Likewise.
1076 1999-03-15 Mark Kettenis <kettenis@gnu.org>
1078 * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
1079 __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
1080 __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
1081 __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
1082 __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
1083 __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
1085 1999-03-15 Mark Kettenis <kettenis@gnu.org>
1087 * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
1088 _hurd_select if TIMEMOUT is -1.
1090 1999-03-15 Mark Kettenis <kettenis@gnu.org>
1092 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
1094 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
1096 * elf/dl-load.c: Compute rtld_search_dir array size correctly.
1097 Reported by Yasushi Saito <yasushi@cs.washington.edu>.
1099 1999-03-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1101 * manual/libc.texinfo: Undo last change for now.
1103 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
1105 * intl/locale.alias: Add entries for Croatian.
1106 Patch by Tomislav Vujec <tvujec@CARNet.hr>.
1108 1999-03-13 Mark Kettenis <kettenis@gnu.org>
1110 * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
1111 if the opened master pty really is a pty. `isatty' checks for
1112 tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE
1113 if we are out of pty's.
1115 1999-03-13 Mark Kettenis <kettenis@gnu.org>
1117 * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
1118 opened file is closed on exec.
1119 * login/utmp_daemon.c (setutent_daemon): Likewise for the just
1122 1999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1124 * manual/llio.texi (File Position Primitive): Reformat @end
1125 command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
1127 1999-03-14 Ulrich Drepper <drepper@cygnus.com>
1129 * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
1131 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1132 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
1134 * locale/programs/localedef.c (main): Initialize `cat' to please
1137 1999-03-14 Roland McGrath <roland@baalperazim.frob.com>
1139 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
1140 check for root-owned symlinks and reject them too.
1142 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1144 * stdio-common/printf_fphex.c: Move to ...
1145 * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of
1146 extended precision number.
1147 * sysdeps/m68k/printf_fphex.c: New file.
1149 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1151 * manual/stdio.texi: Fix typos.
1153 1999-03-09 Ulrich Drepper <drepper@cygnus.com>
1155 * version.h (VERSION): Bump to 2.1.1.
1157 1999-03-09 Thorsten Kukuk <kukuk@suse.de>
1159 * nis/ypclnt.c: Try only twice to connect to NIS server.
1161 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
1163 * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
1165 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1167 * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
1168 (DENORM_EXP): New define. Use it as the exponent for a denormal.
1169 * stdlib/strtold.c: Moved to ...
1170 * sysdeps/generic/strtold.c: ... here.
1171 * sysdeps/m68k/strtold.c: New file.
1173 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1175 * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
1176 point if the precision is zero, even if the mantissa is non-zero.
1178 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
1180 * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
1181 arguments into the request message buffer inside `send_rpc'
1182 subfunction. We must repeat the marshalling when retrying the RPC
1183 after a SIGTTOU delivery.
1185 * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
1186 path when there is no ctty port.
1187 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
1188 Move sigstate check inside loop so we recheck after handling a signal.
1190 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1192 * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
1193 O_EXLOCK are BSD extensions.
1194 Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
1196 1999-03-08 Ulrich Drepper <drepper@cygnus.com>
1198 * manual/signal.texi (Termination in Handler): Correct example.
1199 Install default handler before reraising the signal.
1200 Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
1202 1999-03-08 Roland McGrath <roland@baalperazim.frob.com>
1204 * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
1205 null, in which case send an empty string.
1207 1999-03-02 Mark Kettenis <kettenis@gnu.org>
1209 * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
1210 backward compatibility EH functions to be linked when using
1211 gcc-2.8.1. Patch by Zack Weinberg <zack@rabi.columbia.edu>.
1213 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1215 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
1216 /dev/pts status may change during runtime.
1218 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1220 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
1221 change. /dev/pts status can change during runtime.
1223 1999-03-07 Thorsten Kukuk <kukuk@suse.de>
1225 * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
1227 * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
1228 add some more sanity checks.
1229 * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
1232 1999-03-05 Thorsten Kukuk <kukuk@suse.de>
1234 * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
1235 change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
1236 * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
1237 * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
1238 * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
1240 * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
1241 * nis/nis_print.c: Fix ctime argument for platforms where
1242 sizeof (time_t) != sizeof (int).
1244 1999-03-07 Mark Kettenis <kettenis@gnu.org>
1246 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
1247 CLOCKS_PER_SEC instead of CLK_TCK.
1249 1999-03-05 Ulrich Drepper <drepper@cygnus.com>
1251 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
1252 whether /dev/pts is available.
1253 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
1256 * posix/globtest.sh: Make common_objpfx path absolute and and db2
1257 and hesiod directory to library path [PR libc/1007].
1259 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1261 * resolv/inet_addr.c (inet_aton): Don't allow componets >
1262 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
1264 1999-03-05 Geoff Keating <geoffk@ozemail.com.au>
1266 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
1267 DT_PLTGOT has already been relocated.
1268 (__elf_machine_fixup_plt): Likewise.
1271 1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
1273 * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
1275 1999-03-03 Ulrich Drepper <drepper@cygnus.com>
1277 * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
1278 and fold string to uppercase [PR libc/1005].
1280 1999-03-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1282 * elf/dl-load.c (lose): Fix return type.
1284 1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
1286 * sysdeps/mach/hurd/bits/fcntl.h
1287 [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
1288 * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
1289 set O_NOTRANS as well.
1290 (__hurd_file_name_lookup_retry): At successful end of lookup,
1291 if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
1292 it is a translated node not owned by root.
1293 (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
1294 on the file name passed to LOOKUP.
1296 1999-03-02 Ulrich Drepper <drepper@cygnus.com>
1298 * manual/time.texi (High Resolution Timer): Correct computation in
1299 example. Reported by jjf@devel.cemsys.com.
1301 1999-03-02 Philip Blundell <pb@nexus.co.uk>
1303 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
1304 entry is already relocated.
1306 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1308 * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported
1309 by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
1311 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1313 * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
1314 uc_link which is the right name according to Unix98.
1315 Reported by Craig Metz [PR libc/1001].
1316 * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
1317 * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
1318 * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
1319 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
1320 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise
1321 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
1323 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1325 * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
1328 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1330 * iconvdata/Makefile: Always include iconv-rules, but disable rule
1331 to regenerate it if avoid-generated.
1333 * Makeconfig: Always include sys-dirs, but disable rule to
1334 regenerate it when avoid-generated.
1336 * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
1337 rule to generate sysd-syscalls.
1339 * elf/Makefile (generated): Remove $(objpfx) from names.
1341 1999-02-28 Mark Kettenis <kettenis@gnu.org>
1343 * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
1344 actual length if the adress length is smaller than the input
1345 value. Change type of *LEN paramater to socklen_t.
1346 * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
1347 * sysdeps/mach/hurd/accept.c (accept): Likewise.
1348 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
1349 * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
1350 paramater to socklen_t.
1352 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
1354 * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
1355 msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
1358 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
1360 * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
1361 __get_phys_pages): Cast &HBI to silence warning.
1363 * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
1364 * hurd/hurdchdir.c: New file.
1365 * hurd/hurdfchdir.c: New file.
1366 * sysdeps/mach/hurd/chroot.c: Call
1367 _hurd_change_directory_port_from_name to do the work.
1368 * sysdeps/mach/hurd/chdir.c: Likewise.
1369 * sysdeps/mach/hurd/fchdir.c: Call
1370 _hurd_change_directory_port_from_fd to do the work.
1371 * hurd/fchroot.c: Likewise.
1372 * hurd/hurd.h: Declare them.
1374 1999-02-27 Ulrich Drepper <drepper@cygnus.com>
1376 * elf/dl-load.c (lose): Add more comments to explain the `why'.
1377 (_dl_map_object): Remove redundant test.
1379 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
1381 * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
1382 try to _hurd_port_free a lower-numbered descriptor that was not in any
1385 1999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1387 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
1388 declaration for ____wcstod_l_internal.
1390 * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
1391 __strtod_internal prototype.
1392 * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
1393 (____strtold_l_internal): Add prototype declaration.
1394 (__strtold_l): Call correct function.
1396 1999-02-24 Ulrich Drepper <drepper@cygnus.com>
1398 * elf/elf.h: Add 32bit HPPA definitions.
1400 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1402 * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
1403 non-checked heap is restored when malloc checking was requested by
1405 (struct malloc_state): Add using_malloc_checking.
1406 (MALLOC_STATE_VERSION): Increment minor.
1407 (using_malloc_checking, disallow_malloc_check): New variables.
1408 (__malloc_check_init): Use them.
1409 (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
1410 that it can the chunk is properly instrumented when malloc
1411 checking is enabled. Set the new using_malloc_checking field.
1412 (malloc_hook_ini): Correct signature when _LIBC is not defined.
1414 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1416 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
1417 (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
1420 * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
1421 Don't call elf_get_dynamic_info and _dl_setup_hash a second time
1422 if ld.so is the main program.
1424 1999-02-23 Ulrich Drepper <drepper@cygnus.com>
1426 * stdio-common/vfprintf.c (vfprintf): If precision or width is too
1427 large for work_buffer, allocate new buffer.
1428 (printf_unknown): Likewise. [PR libc/988]
1430 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
1432 * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
1433 instead of stat and fstat.
1434 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1436 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1438 * elf/dl-error.c (_dl_signal_cerror): New function.
1439 (_dl_signal_error): Don't call receiver function.
1440 * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
1441 instead of _dl_signal_error when reporting references to undefined
1442 symbols or versions.
1443 (_dl_lookup_versioned_symbol): Likewise.
1444 (_dl_lookup_versioned_symbol_skip): Likewise.
1445 * elf/dl-version.c (match_symbol): Likewise.
1447 * elf/ldsodefs.h: Declare _dl_signal_cerror.
1449 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
1451 * misc/getttyent.c (getttyent): Release lock on stream later to
1452 also protect global variable zapchar.
1454 * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
1455 __times [PR libc/990].
1457 1999-02-21 David S. Miller <davem@redhat.com>
1459 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
1460 parentheses in Feb 2 changes.
1461 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
1463 1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1465 * sysdeps/generic/glob.c (glob): Save previous errno.
1467 1999-02-21 Ulrich Drepper <drepper@cygnus.com>
1469 * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
1470 lookup functions if it is too small.
1472 1999-02-20 Ulrich Drepper <drepper@cygnus.com>
1474 * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
1475 for tracing to the scope lists.
1476 * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
1477 DT_SYMTAB is always available according to ELF spec.
1479 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
1480 call test whether there is any scope left.
1481 (_dl_lookup_versioned_symbol_skip): Likewise.
1483 * elf/Makefile (distribute): Add do-lookup.h.
1484 * elf/do-lookup.h: New file. Split out from dl-lookup.c.
1485 * elf/dl-lookup.c: Move do_lookup function in separate file and
1486 include the file twice, for handling versioning and without it.
1488 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
1489 entry is already relocated.
1490 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
1491 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
1492 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
1493 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
1495 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
1497 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
1500 * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
1501 load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
1502 DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
1503 (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
1504 rel and rela relocations can both happen and skip one test if this
1506 (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
1508 * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
1510 * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
1512 * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
1513 (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
1514 (_dl_map_object): DT_STRTAB entry is already relocated.
1515 * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
1517 * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
1519 * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
1520 DT_VERSYM entries are already relocated.
1521 (profile_fixup): Likewise.
1522 * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace
1524 (match_symbol): DT_STRTAB entry is already relocated.
1525 (_dl_check_map_versions): Likewise. Also fo DT_VERSYM.
1526 * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
1527 relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated.
1528 * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
1529 (find_needed): DT_STRTAB entry is already relocated.
1530 (dl_main): Pass extra argument to elf_get_dynamic_info.
1531 DT_STRTAB entry is already relocated.
1532 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
1533 DT_PLTGOT entries are already relocated.
1534 (elf_machine_rela): Likewise for DT_SYMTAB.
1535 * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
1537 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1538 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
1539 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
1540 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1541 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
1542 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
1543 (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
1544 * sysdeps/mips/mips64/dl-machine.h: Likewise.
1546 * grp/initgroups.c (initgroups): If function in current module was
1547 successful don't stop but continue to process to get all the groups.
1549 * elf/dl-load.c (_dl_map_object_from_fd): Use global
1550 _dl_pf_to_proot array to convert p_flags value.
1551 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1553 * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
1554 loop to clear `info'.
1556 * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
1557 do the work and don't use inline assembler.
1559 1999-02-19 Ulrich Drepper <drepper@cygnus.com>
1561 * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
1562 * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
1563 noreturn, and prevent it from being inlined.
1564 Define LOSE appropriately.
1565 (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
1566 Optimize decoding of p_flags for certain platforms.
1568 1999-02-19 Philip Blundell <pb@nexus.co.uk>
1570 * Makeconfig (link-libc): When doing a static link, make sure that
1571 libgcc.a is included both before and after libc.a.
1573 1999-02-18 Thorsten Kukuk <kukuk@suse.de>
1575 * nis/nss_compat/compat-spwd.c: Fix handling of default values for
1576 sp_warn, sp_inact, sp_expire and sp_flag.
1578 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
1580 * elf/link.h (link_map): Add l_dev and l_ino.
1581 * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
1582 loaded shared object with all loaded objects. Initialize l_ino
1583 and l_dev in case it's new.
1584 * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
1586 * elf/Makefile: Compile and run new test.
1587 * elf/multiload.c: New file.
1589 * nss/nsswitch.h (service_user): Change name field from const char *
1591 (name_database_entry): Likewise.
1592 * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
1593 for change of `service_user'.
1594 (nss_getline): Adjust memory allocation for change of
1595 `name_database_entry'.
1597 * catgets/catgets.c: Correctly handle NLSPATH from environment
1600 * io/Makefile (routines): Add lock64.
1601 * io/Versions: Add lockf64 for GLIBC_2.1.1.
1602 * sysdeps/generic/lockf64.c: New file.
1604 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
1606 * string/bits/string2.h: Only use strncmp optimization if count
1607 argument is constant.
1609 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
1611 * sysdeps/mach/hurd/revoke.c: New file.
1613 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
1615 * wctype/wctype.h (_ISwbit): Cast result of shift operations to
1616 int to avoid warning about `ISO C restricts enumerator values to
1619 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1621 * elf/dlfcn.h: Fix typo.
1622 * sysdeps/generic/bits/dlfcn.h: Likewise.
1623 * sysdeps/mips/bits/dlfcn.h: Likewise.
1625 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
1627 * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
1628 for the case N == 0.
1630 * db2/Makefile (distribute): Add LICENSE.
1632 1999-02-03 Jeff Bailey <jbailey@nisa.net>
1634 * sysdeps/unix/make_errlist.c: Add i18n and copyright to
1637 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
1639 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
1641 * time/mktime.c: Use ISO C form for function definitions and
1642 remove unnecessary prototypes.
1644 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
1646 * time/time.h: Avoid unneccesary #ifdef.
1648 1999-02-15 Geoff Keating <geoffk@ozemail.com.au>
1650 * stdio-common/_itoa.c (_itoa): Correct parameters to
1653 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1655 * misc/sys/cdefs.h: Undefine __PMT since it might be defined
1656 before (e.g. in glob.h).
1659 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1661 * sysdeps/mips/fpu_control.h: Fix typo.
1662 Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
1665 1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
1667 * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
1668 the "unused" ends of the sockets. Let pipes be bidirectional.
1670 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
1672 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
1675 1999-02-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1677 * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by
1678 Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
1680 * manual/setjmp.texi (Non-Local Exits and Signals): Fix
1681 typo. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
1683 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
1685 * string/Versions: Add __strverscmp to GLIBC_2.1.1.
1687 1999-02-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1689 * misc/syslog.c (vsyslog): Remember errno for %m format. Fix
1690 check for priority mask.
1692 1999-02-14 Ulrich Drepper <drepper@cygnus.com>
1694 * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
1695 Reported by Craig Metz <cmetz@inner.net> .
1697 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1699 * stdio-common/Makefile (tests): tllformat added.
1701 * stdio-common/tllformat.c: New program, based on tiformat.c with
1702 examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1704 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1706 * posix/test-vfork.c: Fix exit status test.
1708 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1710 * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
1711 missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
1713 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1715 * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
1716 of separare explicit comparisons.
1718 1999-02-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1720 * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
1723 * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
1726 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
1728 * po/el.po: Update from translation team.
1730 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1732 * intl/locale.alias: Fix slovenian entry [PR libc/948].
1734 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1736 * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
1737 * inet/ruserpass.c: Likewise.
1738 * locale/programs/stringtrans.c: Likewise.
1739 * locale/programs/localedef.c: Likewise.
1740 * nscd/grpcache.c: Likewise.
1741 * nss/nss_files/files-XXX.c: Likewise.
1742 * stdlib/canonicalize.c: Likewise.
1743 * sysdeps/posix/sigwait.c: Likewise.
1745 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1747 * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
1748 even on 64 bit platforms.
1750 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
1751 Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
1753 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
1755 * intl/dcgettext.c: Include locale.h is available.
1757 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
1759 * po/nl.po: Update from translation team.
1761 * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
1763 * Makefile: Allow calling goals for po subdir.
1765 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
1768 * po/el.po: New file.
1770 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1772 * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
1773 when processing DT_SYMBOLIC objects.
1775 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1777 * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
1778 program headers without PT_PHDR only require that they are
1779 contained within one of the loaded segments. Don't use assert,
1780 since that would be a bug in the object, not the dynamic linker.
1782 1999-02-08 Richard Henderson <rth@cygnus.com>
1784 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
1785 restore all call-clobbered fp regs.
1787 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
1789 * po/cs.po: New file.
1791 * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
1794 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
1796 * signal/signal.h: Don't declare __libc_allocate_rtsig.
1797 * include/signal.h: Declare __libc_allocate_rtsig here.
1799 * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
1800 point functions, not do_lookup since the later can be called more
1803 1999-02-03 Jakub Jelinek <jj@ultra.linux.cz>
1805 * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
1806 macro, so that architectures which need to add some special
1807 offset to stack pointer can share this file.
1809 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
1810 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
1811 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
1812 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
1814 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
1815 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
1816 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
1817 between sparc32 and sparc64.
1819 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
1820 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
1821 * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
1822 between sparc32 and sparc64.
1824 * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
1825 * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
1826 * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
1827 between sparc32 and sparc64.
1829 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
1830 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
1831 * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
1832 between sparc32 and sparc64.
1834 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
1836 * Versions.def: New version GLIBC_2.1.1 for libc.
1837 * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
1838 * stdlib/labs.c: Moved to...
1839 * sysdeps/generic/labs.c: ...here.
1840 * stdlib/llabs.c: Moved to...
1841 * sysdeps/generic/llabs.c: ...here.
1842 * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
1843 header. Declare _Exit.
1844 * sysdeps/generic/_exit.c: Add alias _Exit.
1845 * sysdeps/mach/hurd/_exit.c: Likewise.
1846 * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
1847 * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
1848 * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
1849 * sysdeps/unix/_exit.c: Likewise.
1850 * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
1851 imaxdiv and imaxabs. Declare lldiv_t if necessary.
1852 * sysdeps/wordsize-64/inttypes.h: Likewise.
1853 * sysdeps/wordsize-32/llabs.c: New file.
1854 * sysdeps/wordsize-32/lldiv.c: New file.
1855 * sysdeps/wordsize-64/labs.c: New file.
1856 * sysdeps/wordsize-64/ldiv.c: New file.
1857 * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
1858 * manual/startup.texi: Document _Exit.
1860 1999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1862 * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
1864 1999-02-06 Ulrich Drepper <drepper@cygnus.com>
1866 * Versions.def: Add versions for ld.so.
1867 * csu/Versions: Remove __libc_stack_end here.
1868 * elf/Versions: Split libc definitions in libc and ld.so definitions.
1869 * elf/Makefile (ld-map): Change to ld.so.map.
1870 * scripts/versions.awk: Recognize dot in library names.
1872 * ctype/ctype.h: Remove definitions of __tolower and __toupper.
1873 Don't use __tolower and __toupper in inline functions.
1874 Add optimizing macros for tolower and toupper.
1875 * ctype/ctype-extn.c (_tolower): Don't use __tolower.
1876 (_toupper): Don't use __toupper.
1877 * ctype/ctype.c (tolower): Don't use __tolower.
1878 (toupper): Don't use toupper.
1880 * nscd/cache.c (prune_cache): Correct printing of debugging messages.
1882 * resolv/Versions (libresolv): Export __ns_name_unpack and
1884 * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
1885 make it global. Change all users. Similar for ns_name_ntop.
1886 * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
1887 user-provided buffer. Use __ns_name_unpack and __ns_name_ntop
1888 directly to detect too small buffer.
1889 * resolv/nss_dns/dns-network.c: Likewise.
1891 * stdio-common/Makefile (tests): Add scanf12.
1892 * stdio-common/scanf12.c: New file.
1893 * stdio-common/scanf12.input: New file.
1894 * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
1895 floating-point correctly if the number is invalid.
1897 * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
1899 * stdio-common/printf_fp.c: Likewise.
1900 * stdio-common/printf_fphex.c: Likewise.
1901 * stdio-common/vfprintf.c: Likewise.
1904 See ChangeLog.9 for earlier changes.