1 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3 * termios/tcgetsid.c (tcgetsid): Rename variable to
4 tiocgsid_does_not_work.
6 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
8 * inet/getnameinfo.c (nrl_domainname): Fix last patch.
10 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
12 * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
13 This allows e.g. gethostbyname to accept "10.1234".
14 Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
16 * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
17 non quad IPv4 numbers.
19 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
21 * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
23 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
25 * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
26 * argp/argp-parse.c (_argp_hang): Likewise.
27 * argp/argp-pv.c (argp_program_version): Likewise.
28 * argp/argp-pvh.c (argp_program_version_hook): Likewise.
29 * inet/ether_hton.c (ether_hton, startp): Likewise.
30 * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
31 * inet/getnetgrent_r.c (setup, startp): Likewise.
32 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
33 * intl/localealias.c (string_space, string_space_act, string_space_max,
34 nmap, maxmap): Likewise.
35 * libio/iopopen.c (proc_file_chain): Likewise.
36 * libio/oldiopopen.c (old_proc_file_chain): Likewise.
37 * locale/lc-collate.c (__collate_table, __collate_extra,
38 __collate_element_hash, __collate_element_strings,
39 __collate_element_values): Likewise.
40 * malloc/mcheck.c (mcheck_used): Likewise.
41 * malloc/mtrace.c (added_atexit_handler): Likewise.
42 * malloc/set-freeres.c (already_called): Likewise.
43 * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
44 * misc/syslog.c (LogStat, LogTag): Likewise.
45 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
46 * nss/getXXbyYY_r.c (startp): Likewise.
47 * posix/getopt.c (optarg, __getopt_initialized): Likewise.
48 * posix/regex.c (init_syntax_once) [done]: Likewise.
50 * string/strfry.c (init): Likewise.
51 * sunrpc/svc_run.c (svc_top): Likewise.
52 * posix/euidaccess.c (have_ids): Likewise.
53 * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
54 * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
55 * time/getdate.c (getdate_err): Likewise.
56 * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
58 * time/tzset.c (old_tz, is_initialized): Likewise.
60 * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
61 of static data with zero.
62 * signal/allocrtsig.c (init): Likewise.
64 * string/Makefile (routines): Add strchrnul.
65 * string/Versions [GLIBC_2.1.1]: Add strchrnul.
66 * string/string.c: Add strchrnul prototype.
67 * include/string.h: Add __strchrnul prototype.
68 * sysdeps/generic/strchrnul.c: New file.
69 * sysdeps/i386/strchrnul.S: New file.
70 * sysdeps/i386/bits/string.c: Add strchrnul optimization.
71 * sysdeps/i386/i486/bits/string.c: Likewise.
72 * argp/argp-help.c (argp_args_usage): Use __strchrnul.
73 * inet/ether_line.c (ether_line): Likewise.
74 * nscd/nscd_conf.c (nscd_parse_file): Likewise.
75 * nss/nsswitch.c (nss_parse_file): Likewise.
76 * posix/execvp.c (execvp): Likewise.
77 * posix/fnmatch.c (internal_fnmatch): Likewise.
78 * resolv/res_hconf.c (_res_hconv_init): Likewise.
79 * resolv/res_init.c (res_init): Likewise.
80 * stdlib/fmtmsg.c (init): Likewise.
81 * stdlib/getsubopt.c (getsubopt): Likewise.
83 * catgets/catgets.c (catopen): Only allocate one memory block.
84 (catclose): Only one free call necessary.
86 * catgets/open_catalog.c (__open_catalog): Simplify handling of
89 * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
90 of real functions. Simplify _tolower and _toupper.
92 * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
95 * iconv/gconv.h (struct gconv_info): Change data element from pointer
97 * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
98 * iconv/gconv_close.c (__gconv_close): Don't free data.
100 * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
103 * iconv/gconv_db.c (add_derivation): More efficient copying. Check
104 for error while inserting in tree.
106 * include/time.h: Pretty print.
108 * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
109 in table and lots of relocations.
110 * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
111 string pointers in table and lots of relocations.
113 * intl/finddomain.c: Remove definition of strchr macro.
115 * io/ftw.c (nftw_arr, ftw_arr): Make const.
117 * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
119 * locale/localeinfo.h (_nl_category_names): Change into an array with
120 fixed width char string elements.
121 * locale/setlocale.c (_nl_category_names): Likewise.
122 (_nl_current): Make global.
123 * locale/nl_langinfo.c (nldata): Removed. Use _nl_current now.
125 * malloc/Makefile (distribute): Add stackinfo.h.
126 * sysdeps/generic/stackinfo.h: New file.
127 * sysdeps/i386/stackinfo.h: New file.
128 * posix/execl.c: Use stackinfo.h in optimizing alloca use.
129 * posix/execle.c: Likewise.
130 * posix/execlp.c: Likewise.
132 * nis/nis_table.c (__create_ib_request): Always use realloc.
134 * posix/execvp.c (execute): Rename to script_execute and keep only
135 code to execute using shell.
136 (execvp): Call execv directly and only fall back on script_execute.
138 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
139 and always use xdigits instead.
141 * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
144 * stdlib/fpioconst.h (__tens): New declaration.
145 (struct mp_power): Remove array, add arrayoff element.
146 * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
147 __tens array and add in _fpioconst_pow10 offsets into __tens.
148 * stdio-common/printf_fp.c: Rewrite to use new __tens array.
149 * stdlib/strtod.c: Likewise.
151 * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
153 * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
155 * stdlib/atexit.c (__exit_funcs): Don't initialize.
157 * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
159 * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
160 a single and an array with offsets.
162 * sunrpc/des_soft.c (partab): Make it const.
164 * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
165 (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
166 (__key_decryptsession_pk_LOCAL): Likewise.
167 (__key_gendes_LOCAL): Likewise.
168 (MESSENGER): Mark const.
169 (key_call_private_main): Don't initialize with 0.
170 (use_keyenvoy): Don't initialize with 0.
171 (key_call): Rewrite to reverse logic of use_doors variable.
173 * sunrpc/netname.c (OPSYS): Define as array, not pointer.
174 (startp): Don't initialize with zero.
176 * sunrpc/openchild.c (_openchild): Make first argument const.
178 * sunrpc/pmap_rmt.c (timeout): Mark const.
179 * sunrpc/xcrypt.c (hex): Likewise.
181 * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
182 initialization of global variables.
183 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
184 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
185 * termios/tcgetsid.c: Likewise.
187 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
190 * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
191 block. Add function to free memory if wanted.
192 * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
194 * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
196 * wcsmbs/wmemset.c: Little code optimization.
198 1999-04-23 Paul Eggert <eggert@twinsun.com>
200 * stdlib/strtoull.c: Surround strong_alias and weak_alias with
203 1999-04-28 Roland McGrath <roland@baalperazim.frob.com>
205 * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
206 implementation and just always fail with ENOSYS. This entry point is
207 obsolete. Add link warning to that effect.
209 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
211 * hurd/get-host.c: Include <hurd/lookup.h>.
213 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
215 * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
218 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
220 * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
223 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
225 * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
226 Patch by Peter Miller <millerp@canb.auug.org.au>.
228 1999-04-27 Thorsten Kukuk <kukuk@suse.de>
230 * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
231 prefers loopback device.
233 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
235 * posix/fnmatch.c (internal_fnmatch): Finish incomplete
236 no_leading_period change.
238 * posix/testfnm.c: More test cases.
240 1999-04-27 Ulrich Drepper <drepper@cygnus.com>
242 * include/dirent.h: Remove __getdirentries declaration, add __getdents
244 * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
245 * sysdeps/unix/readdir_r.c: Likewise.
246 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
247 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
248 * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
249 __getdirentries. Remove fourth argument.
250 * sysdeps/unix/sysv/linux/getdirentries.c: New file.
251 * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
252 * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
253 Add getdirentries and getdirentries64.
254 * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
256 * posix/fnmatch.c (internal_fnmatch): Correctly reset string
257 pointer in case of an invalid [[: expression.
259 * posix/testfnm.c: Add more test cases.
261 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
263 * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
264 set, pass EXEC_SIGTRAP flag in exec RPC.
266 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
268 * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch. Take
269 extra parameter. Fix several more bugs involving wildcard and
271 (fnmatch): New function. Call internal_fnmatch.
273 * posix/testfnm.c: More test cases.
275 1999-04-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
277 * manual/install.texi (Configuring and compiling): Explain that
278 files are changed in the source directory.
280 (Configuring and compiling): Explain situation with PARALLELMFLAGS
281 in the source directory.
283 1999-04-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
285 * locale/programs/ld-ctype.c: Spelling fixes.
286 (ctype_finish): Fix argument of error message format.
287 * locale/programs/ld-messages.c: Spelling fixes.
288 * locale/programs/ld-monetary.c: Spelling fixes.
289 * locale/programs/ld-time.c (time_finish): Make sure that name and
290 format of era_entries are adjacent.
291 (time_output): Reduce the size of the io vector.
293 1999-04-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
295 * manual/filesys.texi (Attribute Meanings): Move a misplaced
298 1999-04-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
300 * locale/programs/ld-collate.c (collate_output): Convert
301 undefined_offset to an array index. Fix computation of other
304 1999-04-26 Roland McGrath <roland@baalperazim.frob.com>
306 * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
307 return success with empty value.
309 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
311 * posix/fnmatch.c: Include string.h also for glibc.
312 (fnmatch, case '?'): Optimize if cascades a bit.
313 (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
315 * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
317 1999-04-24 Ulrich Drepper <drepper@cygnus.com>
319 * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
320 * iconv/gconv_int.h: Declare UTF16 functions.
321 * iconv/gconv_simple.c: Add UTF16 conversion functions.
323 1999-04-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
325 * posix/wordexp.c (parse_param): Fix type of offset to allow it to
326 be used correctly as parameter for parse_dollars/parse_tilde.
328 1999-04-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
330 * manual/conf.texi (Utility Limits): Remove duplicate description
333 1999-04-19 Ulrich Drepper <drepper@cygnus.com>
335 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
336 outbufend for dst==NULL.
338 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
340 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
344 * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
347 1999-04-18 Thorsten Kukuk <kukuk@suse.de>
349 * sunrpc/Makefile: Remove special handling of bootparam.x,
350 add rpcsvc/bootparam.h to headers.
351 * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
352 * sunrpc/rpcsvc/bootparam.x: Renamed to...
353 * sunrpc/rpcsvc/bootparam_prot.x: ...this.
355 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
357 * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
358 detect and handle invalid descriptors.
360 1999-04-17 Thorsten Kukuk <kukuk@suse.de>
362 * timezone/zic.c (dolink): Append complete path not only filename
365 1999-04-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
367 * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
369 1999-04-17 Ulrich Drepper <drepper@cygnus.com>
371 * iconvdata/gconv-modules: Rename CP874 to IBM874.
372 * iconvdata/Makefile: Likewise.
373 * iconvdata/cp874.h: Removed.
374 * iconvdata/cp874.c: Renamed to...
375 * iconvdata/ibm874.c: ...this.
377 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
379 * sysdeps/unix/sysv/linux/bits/types.h: Correct
380 signed/unsigned-ness of blkcnt and fsblkcnt.
381 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
382 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
384 * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
385 SOL_AAL, and SOL_IRDA.
387 1999-04-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
389 * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero. Don't
390 include "linux_fsinfo.h".
391 Based on a patch by H.J. Lu <hjl@gnu.org>.
393 1999-04-16 Thorsten Kukuk <kukuk@suse.de>
395 * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
397 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
399 * nscd/cache.c (prune_cache): Only disable file checking for
400 future if the file does not exist.
401 Update file_mtime if cache was flushed.
403 1999-04-15 David S. Miller <davem@redhat.com>
405 * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
406 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
408 1999-04-15 Scott Bambrough <scottb@netwinder.org>
410 * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
413 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
415 * Versions.def: Add GLIBC_2.1.1 to libpthread.
417 * iconvdata/Makefile (modules): Add KOI8-U.
418 (distribute): Add koi8-u.c.
419 (gen-8bit-gap-modules): Add koi8-u.
420 * iconvdata/gconv-modules: Add KOI8-U entries.
421 * iconvdata/koi8-u.c: New file.
423 1999-04-13 Thorsten Kukuk <kukuk@suse.de>
425 * sunrpc/auth_des.c: 64bit fixes, security fixes.
426 * sunrpc/auth_none.c: Pretty print.
427 * sunrpc/auth_unix.c: Likewise.
428 * sunrpc/authdes_prot.c: Likewise.
429 * sunrpc/authuxprot.c: Likewise.
430 * sunrpc/bindrsvprt.c: Likewise.
431 * sunrpc/clnt_gen.c: Likewise.
432 * sunrpc/rpc/xdr.h: Likewise.
433 * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
434 * sunrpc/rpc_cmsg.c: Don't use *long pointers.
435 * sunrpc/rtime.c: Use new rpc_timeval.
436 * sunrpc/svc_authux.c: Don't use *long pointers.
437 * sunrpc/svcauth_des.c: Likewise + security fixes.
438 * sunrpc/xdr_mem.c: Don't use *long pointers.
439 * sunrpc/xdr_rec.c: Likewise.
440 * sunrpc/xdr_sizeof.c: Likewise.
441 * sunrpc/xdr_stdio.c: Likewise.
443 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
445 * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
446 so that it is redone for each sending.
448 1999-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
450 * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
452 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
454 * iconv/gconv_db.c (__gconv_find_transform): If conversion is
455 known to not exist don't try to load shared objects.
456 Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
458 * nscd/cache.c (prune_cache): The table might not be unused. In
459 this case do nothing.
461 * catgets/gencat.c (read_input_file): Don't drop white spaces
462 between number/identifier and string.
463 Patch by Dima Barsky <dima@pwd.hp.com>.
464 If no white space at all follows number/identifier remove existing
465 message with the number/identifier.
467 1999-04-14 H.J. Lu <hjl@gnu.org>
469 * sunrpc/clnt_udp.c (is_network_up): New function.
470 (clntudp_call): Call is_network_up () to check if any network
471 interface is up in case of timeout.
473 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
475 * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
476 * wctype/Makefile (tests): Add test_wcfuncs.
478 1999-04-14 Jakub Jelinek <jj@ultra.linux.cz>
480 * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
482 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
484 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
485 instead of CFLAGS. For gnulib and string directories use
486 -Wa,-Av9a gcc ASFLAGS.
487 * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
488 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
489 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
490 * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
491 the same way as sparc-*.
493 1999-04-14 Ulrich Drepper <drepper@cygnus.com>
495 * locale/programs/locfile.c (locfile_read): Fix typo.
496 Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
498 1999-04-14 Scott Bambrough <scottb@netwinder.org>
500 * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
501 restarted after being interrupted by a signal. The parameters on
502 the stack were corrupted by the signal handler.
504 * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
505 restarted after being interrupted by a signal. The parameters on
506 the stack were corrupted by the signal handler.
508 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
510 * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
511 Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
513 1999-04-12 Tim Waugh <tim@cyberelk.demon.co.uk>
515 * posix/wordexp-test.c: In field-splitting test cases where
516 subshells were involved, unset IFS first: some shells (ash) use
517 IFS even when no expansion is performed.
519 1999-04-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
521 * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
522 the real end of the chunk, not some random point inbetween.
523 (_IO_obstack_xsputn): Likewise. Actually copy the data into the
524 obstack when growing. Use fast version of obstack_blank when
526 (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
527 allocating the vtable pointer.
528 (_IO_obstack_vprintf): Adjust for above change and avoid
529 unnecessary casts. Use fast version of obstack_blank when
533 1999-04-12 Ulrich Drepper <drepper@cygnus.com>
535 * iconvdata/gconv-modules: Fix typo. Add UJIS alias.
536 Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
538 1999-04-11 Tim Waugh <tim@cyberelk.demon.co.uk>
540 * posix/wordexp.c (wordexp): Fix a leak when an invalid character
541 is seen, as well as fixing semantics. Don't reset the word count
542 to zero when an invalid character is seen, but leave it as it was
543 (this makes a difference with WRDE_APPEND).
545 * posix/wordexp-test.c: More test cases.
547 * posix/wordexp.c (parse_param): In words like ${var#pattern},
548 always expand pattern when it is needed. Also, handle quoting in
551 1999-04-12 Philip Blundell <philb@gnu.org>
553 * elf/elf.h: Update ARM definitions to match current gas2.
555 * sysdeps/arm/bits/endian.h: Support big endian operation.
557 * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
558 Don't bother range checking the port number.
560 * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
562 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
563 the syscall name in assembler output for ease of debugging.
565 * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
567 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
568 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
569 (sysdep_routines): Add sigrestorer.
571 * string/tester.c (test_strcpy): Add new tests for unaligned
573 * sysdeps/arm/bits/string.h: Delete inline implementations of
576 1999-04-11 Ulrich Drepper <drepper@cygnus.com>
578 * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
580 1999-04-10 Mark Kettenis <kettenis@gnu.org>
582 * sysdeps/mach/hurd/Dist: Add clk_tck.c.
584 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
586 * iconvdata/Makefile (modules): Add TIS-620.
587 (distribute): Add tis-620.c.
588 (gen-8bit-gap-modules): tis-620.
589 * iconvdata/tis-620.c: New file.
590 * iconvdata/gconv-modules: Add TIS-620 entries.
592 * iconvdata/asmo_449.c: Correct comment.
594 1999-04-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
596 * manual/install.texi (Configuring and compiling): Comment out
597 description of --disable-static since this doesn't work currently
598 (see change by Ulrich Drepper on 1998-12-07 for configure.in).
600 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
602 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
604 Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
606 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
608 * scripts/test-installation.pl (installation_problem): Skip
609 libnss1_* libraries from glibc-compat add-on.
611 1999-04-07 H.J. Lu <hjl@gnu.org>
613 * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
615 * posix/Versions (__waitpid): Likewise.
617 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
619 * manual/install.texi (Reporting Bugs): Add section about reported
620 bugs and correct email address of glibcbug script.
622 1999-04-01 Thorsten Kukuk <kukuk@suse.de>
624 * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
625 * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
626 xdr_u_longlong_t. Based on patch from Dan Shechter
627 <damageboy@isdn.net.il>.
628 * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
629 * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
631 * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
633 1999-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
635 * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
636 directly if getdents returns with error set.
638 1999-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
640 * locale/langinfo.h (THOUSEP): Rename second occurence of
641 THOUSANDS_SEP to THOUSEP.
642 Reported by Roman Belenov <roman@nstl.nnov.ru>.
644 1999-04-05 Roland McGrath <roland@baalperazim.frob.com>
646 * hurd/STATUS: File removed. Moved items that are still relevant into
647 TODO list in hurd source.
649 1999-03-26 Mark Kettenis <kettenis@gnu.org>
651 * sysdeps/mach/hurd/bits/time.h: New file.
652 * sysdeps/mach/hurd/getrusage.c: New file.
653 * sysdeps/mach/hurd/clk_tck.c: New file.
654 * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
655 * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
656 (sysdep_routines): Add clk_tck.
657 * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
660 1999-04-02 Ulrich Drepper <drepper@cygnus.com>
662 * misc/syslog.c (closelog_internal): Do not reset LogTag here.
663 (closelog): But instead here.
664 Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
666 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
668 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
669 the source directory. Fixes PR libc/1059.
671 1999-04-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
673 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
674 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
676 1999-04-01 Ulrich Drepper <drepper@cygnus.com>
678 * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
679 * iconvdata/testdata/ISO-8859-14: New file.
680 * iconvdata/testdata/ISO-8859-14..UTF8: New file.
681 * iconvdata/testdata/ISO-8859-15: New file.
682 * iconvdata/testdata/ISO-8859-15..UTF8: New file.
684 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
686 * iconvdata/testdata/CP1258: New file.
687 * iconvdata/testdata/CP1258..UTF8: New file.
688 * iconvdata/TESTS: Add CP1258 entry.
690 * iconvdata/cp874.h (to_ucs4): Add Euro sign.
692 * timezone/africa: Update from tzdata1999d.
693 * timezone/europe: Likewise.
694 * timezone/northamerica: Likewise.
696 1999-03-31 Mark Kettenis <kettenis@gnu.org>
698 * login/programs/pt_chown.c (main): Save effective user ID before
699 dropping priviliges and use this to check if the program is
702 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
704 * iconvdata/testdata/CP1254: Update for charmap changes.
705 * iconvdata/testdata/CP1254..UTF8: Likewise.
706 * iconvdata/testdata/CP1255: Likewise.
707 * iconvdata/testdata/CP1255..UTF8: Likewise.
708 * iconvdata/testdata/CP1256: Likewise.
709 * iconvdata/testdata/CP1256..UTF8: Likewise.
710 * iconvdata/testdata/CP1257: Likewise.
711 * iconvdata/testdata/CP1257..UTF8: Likewise.
713 * iconvdata/Makefile (distribute): Remove cp1258.h.
714 (gen-8bit-gap-modules): Add cp1258.
715 * iconvdata/cp1258.h: Removed.
717 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
719 * timezone/tst-timezone.c (tests): Add more cases.
720 (check_tzvars): Mark errors clearer.
723 1999-03-30 20:59 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
725 * login/programs/pt_chown.c: Drop privileges if invoked with
726 arguments. Don't close the master pty.
728 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
730 * time/tzfile.c (__tzfile_read): Process transitions from the rear.
733 1999-03-29 Ulrich Drepper <drepper@cygnus.com>
735 * elf/rtld.c (process_envvars): Do not automatically prevent lazy
736 relocation for SUID binaries.
738 1999-03-29 Paul Eggert <eggert@twinsun.com>
740 * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
741 while in child process.
743 1999-03-29 Jakub Jelinek <jj@ultra.linux.cz>
745 * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
746 * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
747 * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
748 * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
749 * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
751 * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
752 * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
753 * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
754 * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
755 * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
756 * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
757 * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
758 * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
759 * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
760 * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
761 * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
762 * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
763 * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
764 * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
765 * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
766 * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
767 * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
768 * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
769 * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
770 * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
771 * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
772 * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
773 * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
774 * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
775 * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
776 * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
778 * sysdeps/sparc/sparc32/bcopy.c: New file.
779 * sysdeps/sparc/sparc32/bzero.c: New file.
780 * sysdeps/sparc/sparc32/memchr.S: New file.
781 * sysdeps/sparc/sparc32/memcpy.S: New file.
782 * sysdeps/sparc/sparc32/memmove.c: New file.
783 * sysdeps/sparc/sparc32/memset.S: New file.
784 * sysdeps/sparc/sparc32/stpcpy.S: New file.
785 * sysdeps/sparc/sparc32/strchr.S: New file.
786 * sysdeps/sparc/sparc32/strrchr.c: New file.
787 * sysdeps/sparc/sparc32/strcpy.S: New file.
788 * sysdeps/sparc/sparc32/strlen.S: New file.
789 * sysdeps/sparc/sparc32/strcat.S: New file.
790 * sysdeps/sparc/sparc32/strcmp.S: New file.
792 * sysdeps/sparc/sparc64/bcopy.c: New file.
793 * sysdeps/sparc/sparc64/bzero.c: New file.
794 * sysdeps/sparc/sparc64/memchr.S: New file.
795 * sysdeps/sparc/sparc64/memcmp.S: New file.
796 * sysdeps/sparc/sparc64/memcpy.S: New file.
797 * sysdeps/sparc/sparc64/memset.S: New file.
798 * sysdeps/sparc/sparc64/stpcpy.S: New file.
799 * sysdeps/sparc/sparc64/strcat.S: New file.
800 * sysdeps/sparc/sparc64/strchr.S: New file.
801 * sysdeps/sparc/sparc64/strcmp.S: New file.
802 * sysdeps/sparc/sparc64/strcpy.S: New file.
803 * sysdeps/sparc/sparc64/strcspn.S: New file.
804 * sysdeps/sparc/sparc64/strlen.S: New file.
805 * sysdeps/sparc/sparc64/strncpy.S: New file.
806 * sysdeps/sparc/sparc64/strpbrk.S: New file.
807 * sysdeps/sparc/sparc64/strrchr.c: New file.
808 * sysdeps/sparc/sparc64/strspn.S: New file.
809 * sysdeps/sparc/sparc64/stpncpy.S: New file.
810 * sysdeps/sparc/sparc64/strncmp.S: New file.
812 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
813 Append -fPIC, don't replace.
815 * configure.in: Recognize sparcv8plus / sparcv9.
817 1999-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
819 * malloc/obstack.h (obstack_free): Explicitly convert __obj to
820 char * to avoid C++ warning.
821 Patch by yasushi@cs.washington.edu [PR libc/1035].
823 1999-03-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
825 * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
826 declared in stdlib.h, correct return value of mkstemp.
827 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
829 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
832 1999-03-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
834 * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
837 * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
838 inline functions. Closes PR libc/1049.
840 1999-03-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
842 * timezone/README: Update from tzdata1999c and tzcode1999c.
844 * timezone/africa: Update from tzdata1999c.
845 * timezone/antarctica: Likewise.
846 * timezone/asia: Likewise.
847 * timezone/australasia: Likewise.
848 * timezone/europe: Likewise.
849 * timezone/northamerica: Likewise.
850 * timezone/southamerica: Likewise.
851 * timezone/zone.tab: Likewise.
853 * timezone/zic.c: Update from tzcode1999c.
855 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
857 * Makerules: Add $(common-objpfx)Versions.all to common-generated
858 outside of ifndef avoid-generated.
860 * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
862 * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
864 * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
866 * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
867 _IO_old_file_seekoff): Bring over recent changes in fileops.c.
869 1999-03-26 Mark Kettenis <kettenis@gnu.org>
871 * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
872 if we build the profiled library.
874 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
876 * math/Makefile (gmp-objs): Add inlines. Reported by Andreas
877 Jaeger <aj@arthur.rhein-neckar.de>
879 1999-03-25 Roland McGrath <roland@yaumatei.ai.mit.edu>
881 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
882 (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
883 This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
885 1999-03-24 Roland McGrath <roland@baalperazim.frob.com>
887 * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
888 works properly in subdirs.
890 1999-03-23 Roland McGrath <roland@baalperazim.frob.com>
892 * sysdeps/mach/hurd/Makefile: Undo last change.
893 [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
894 [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
896 * mach/Machrules (+preinit, +postinit, +interp,
897 LDFLAGS-$(interface.so)): Variables removed. Interface libraries get
898 linked just like other shared libraries.
899 (interface.so): Fix typo in defn, so it works.
900 ($(objpfx)$(interface.so)): Make it depend on libc.so.
902 1999-03-21 Roland McGrath <roland@baalperazim.frob.com>
904 * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
907 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
909 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
910 $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
911 targets if not building shared libraries.
913 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
915 * configure.in: Also look in $PATH when searching for
916 install-info. Remove autoconf bug workaround and require autoconf
919 1999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
921 * db/Makefile: Don't try to install shared library link if not
922 building with shared libs.
924 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
926 * rt/Makefile: Link against static library if no shared lib is
929 * localedata/Makefile: The shells scripts implementing the test
930 require the dynamic linker which is not available with
931 --disable-shared. Skip the test if --disable-shared is given.
933 * linuxthreads/Makefile: Link test against static libpthread if no
934 shared lib is available.
936 * iconvdata/Makefile (tests): Run iconv-test only if we're
937 building shared libraries.
938 * elf/Makefile (tests): Likewise for elf tests.
940 * posix/Makefile: The test frameworks globtest and wordexp-test
941 require the dynamic linker which is not available with
942 --disable-shared. Skip the test if --disable-shared is given.
944 * grp/Makefile (otherlibs): For static nss build link against
947 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
949 * debug/Makefile (install-bin): Install and build catchsegv only
950 if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR
953 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
955 * time/tzfile.c (__tzfile_read): Handle the case where there are
956 transitions but no DST.
958 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>
960 * mach/Machrules (extra-libs-others): Add $(interface-library) here
961 too, so it gets built in the others pass rather than the lib pass.
962 This is necessary since the RPC libraries need to be linked against
965 1999-03-19 Roland McGrath <roland@baalperazim.frob.com>
967 * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
970 * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
971 ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
972 ($(link-rpcuserlibs)): New static pattern rule; link intermediate
973 versions of lib{mach,hurd}user.so without reference to libc.so,
974 then link libc.so against that to get deps and symbol versions, then
975 finally link real lib*user.so against libc.so.
977 * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
978 Support whole-file locking (only) by using the file_lock RPC. This
979 has very wrong semantics, but is better than nothing for the time
980 being. (Correct POSIX.1 locking will require new RPCs in the Hurd
981 protocols that will be somewhat hairy to specify.)
983 1999-03-17 Mark Kettenis <kettenis@gnu.org>
985 * sysdeps/mach/hurd/ptsname.c: New file.
987 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
989 * timezone/asia: Fix rule in Asia/Nicosia entry.
991 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
993 * manual/getopt.texi (Using Getopt): Explain "::" in option
994 string. Reported by Yuri Niyazov <yuricake@geocities.com>.
996 1999-03-18 Thorsten Kukuk <kukuk@suse.de>
998 * sunrpc/clnt_unix.c: Fix creation of parameters for
999 sendmsg/recvmsg on non intel platforms.
1000 * sunrpc/svc_unix.c: Likewise.
1002 1999-03-18 Philip Blundell <philb@gnu.org>
1004 * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386
1007 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1009 * timezone/africa: Update from tzdata1999b.
1010 * timezone/asia: Likewise.
1011 * timezone/australasia: Likewise.
1012 * timezone/europe: Likewise.
1013 * timezone/northamerica: Likewise.
1014 * timezone/southamerica: Likewise.
1015 * timezone/zone.tab: Likewise.
1017 * timezone/README: Mention tzdata1999b.
1019 1999-03-17 Ulrich Drepper <drepper@cygnus.com>
1021 * sysdeps/generic/segfault.c (write_strsignal): New function.
1022 (catch_segfault): Use it instead of calling strsignal.
1024 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1026 * iconv/gconv.c (__gconv): Change type of last_start to unsigned
1027 char to avoid warning.
1029 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
1031 * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
1033 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
1034 outbuf to unsigned char to avoid warning.
1036 1999-03-11 David S. Miller <davem@redhat.com>
1038 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
1040 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
1042 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
1044 * iconv/gconv.h (gconv_fct): Change parameter from `char' to
1046 (gconv_step_data): Likewise.
1047 * iconv/gconv_int.h (__gconv): Likewise.
1048 (__BUILINT_TRANS): Likewise.
1049 * iconv/gconv.c (__gconv): Likewise.
1050 * iconv/iconv.c (iconv): Add casts for call of __gconv.
1051 * iconv/skeleton.c: Change local parameters and variable from `char' to
1052 `unsigned char'. Remove casts from calls into modules.
1053 * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
1054 `char' to `unsigned char'.
1055 * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
1056 * wcsmbs/mbrtowc.c: Likewise.
1057 * wcsmbs/mbsnrtowcs.c: Likewise.
1058 * wcsmbs/mbsrtowcs.c: Likewise.
1059 * wcsmbs/wcrtomb.c: Likewise.
1060 * wcsmbs/wcsnrtombs.c: Likewise.
1061 * wcsmbs/wcsrtombs.c: Likewise.
1062 * wcsmbs/wctob.c: Likewise.
1064 1999-03-15 Mark Kettenis <kettenis@gnu.org>
1066 * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
1067 __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
1068 __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
1069 __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
1070 __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
1071 __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
1073 1999-03-15 Mark Kettenis <kettenis@gnu.org>
1075 * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
1076 _hurd_select if TIMEMOUT is -1.
1078 1999-03-15 Mark Kettenis <kettenis@gnu.org>
1080 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
1082 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
1084 * elf/dl-load.c: Compute rtld_search_dir array size correctly.
1085 Reported by Yasushi Saito <yasushi@cs.washington.edu>.
1087 1999-03-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1089 * manual/libc.texinfo: Undo last change for now.
1091 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
1093 * intl/locale.alias: Add entries for Croatian.
1094 Patch by Tomislav Vujec <tvujec@CARNet.hr>.
1096 1999-03-13 Mark Kettenis <kettenis@gnu.org>
1098 * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
1099 if the opened master pty really is a pty. `isatty' checks for
1100 tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE
1101 if we are out of pty's.
1103 1999-03-13 Mark Kettenis <kettenis@gnu.org>
1105 * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
1106 opened file is closed on exec.
1107 * login/utmp_daemon.c (setutent_daemon): Likewise for the just
1110 1999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1112 * manual/llio.texi (File Position Primitive): Reformat @end
1113 command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
1115 1999-03-14 Ulrich Drepper <drepper@cygnus.com>
1117 * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
1119 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1120 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
1122 * locale/programs/localedef.c (main): Initialize `cat' to please
1125 1999-03-14 Roland McGrath <roland@baalperazim.frob.com>
1127 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
1128 check for root-owned symlinks and reject them too.
1130 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1132 * stdio-common/printf_fphex.c: Move to ...
1133 * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of
1134 extended precision number.
1135 * sysdeps/m68k/printf_fphex.c: New file.
1137 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1139 * manual/stdio.texi: Fix typos.
1141 1999-03-09 Ulrich Drepper <drepper@cygnus.com>
1143 * version.h (VERSION): Bump to 2.1.1.
1145 1999-03-09 Thorsten Kukuk <kukuk@suse.de>
1147 * nis/ypclnt.c: Try only twice to connect to NIS server.
1149 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
1151 * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
1153 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1155 * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
1156 (DENORM_EXP): New define. Use it as the exponent for a denormal.
1157 * stdlib/strtold.c: Moved to ...
1158 * sysdeps/generic/strtold.c: ... here.
1159 * sysdeps/m68k/strtold.c: New file.
1161 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1163 * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
1164 point if the precision is zero, even if the mantissa is non-zero.
1166 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
1168 * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
1169 arguments into the request message buffer inside `send_rpc'
1170 subfunction. We must repeat the marshalling when retrying the RPC
1171 after a SIGTTOU delivery.
1173 * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
1174 path when there is no ctty port.
1175 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
1176 Move sigstate check inside loop so we recheck after handling a signal.
1178 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1180 * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
1181 O_EXLOCK are BSD extensions.
1182 Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
1184 1999-03-08 Ulrich Drepper <drepper@cygnus.com>
1186 * manual/signal.texi (Termination in Handler): Correct example.
1187 Install default handler before reraising the signal.
1188 Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
1190 1999-03-08 Roland McGrath <roland@baalperazim.frob.com>
1192 * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
1193 null, in which case send an empty string.
1195 1999-03-02 Mark Kettenis <kettenis@gnu.org>
1197 * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
1198 backward compatibility EH functions to be linked when using
1199 gcc-2.8.1. Patch by Zack Weinberg <zack@rabi.columbia.edu>.
1201 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1203 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
1204 /dev/pts status may change during runtime.
1206 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1208 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
1209 change. /dev/pts status can change during runtime.
1211 1999-03-07 Thorsten Kukuk <kukuk@suse.de>
1213 * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
1215 * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
1216 add some more sanity checks.
1217 * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
1220 1999-03-05 Thorsten Kukuk <kukuk@suse.de>
1222 * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
1223 change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
1224 * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
1225 * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
1226 * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
1228 * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
1229 * nis/nis_print.c: Fix ctime argument for platforms where
1230 sizeof (time_t) != sizeof (int).
1232 1999-03-07 Mark Kettenis <kettenis@gnu.org>
1234 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
1235 CLOCKS_PER_SEC instead of CLK_TCK.
1237 1999-03-05 Ulrich Drepper <drepper@cygnus.com>
1239 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
1240 whether /dev/pts is available.
1241 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
1244 * posix/globtest.sh: Make common_objpfx path absolute and and db2
1245 and hesiod directory to library path [PR libc/1007].
1247 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1249 * resolv/inet_addr.c (inet_aton): Don't allow componets >
1250 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
1252 1999-03-05 Geoff Keating <geoffk@ozemail.com.au>
1254 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
1255 DT_PLTGOT has already been relocated.
1256 (__elf_machine_fixup_plt): Likewise.
1259 1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
1261 * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
1263 1999-03-03 Ulrich Drepper <drepper@cygnus.com>
1265 * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
1266 and fold string to uppercase [PR libc/1005].
1268 1999-03-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1270 * elf/dl-load.c (lose): Fix return type.
1272 1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
1274 * sysdeps/mach/hurd/bits/fcntl.h
1275 [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
1276 * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
1277 set O_NOTRANS as well.
1278 (__hurd_file_name_lookup_retry): At successful end of lookup,
1279 if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
1280 it is a translated node not owned by root.
1281 (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
1282 on the file name passed to LOOKUP.
1284 1999-03-02 Ulrich Drepper <drepper@cygnus.com>
1286 * manual/time.texi (High Resolution Timer): Correct computation in
1287 example. Reported by jjf@devel.cemsys.com.
1289 1999-03-02 Philip Blundell <pb@nexus.co.uk>
1291 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
1292 entry is already relocated.
1294 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1296 * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported
1297 by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
1299 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1301 * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
1302 uc_link which is the right name according to Unix98.
1303 Reported by Craig Metz [PR libc/1001].
1304 * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
1305 * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
1306 * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
1307 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
1308 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise
1309 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
1311 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1313 * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
1316 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1318 * iconvdata/Makefile: Always include iconv-rules, but disable rule
1319 to regenerate it if avoid-generated.
1321 * Makeconfig: Always include sys-dirs, but disable rule to
1322 regenerate it when avoid-generated.
1324 * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
1325 rule to generate sysd-syscalls.
1327 * elf/Makefile (generated): Remove $(objpfx) from names.
1329 1999-02-28 Mark Kettenis <kettenis@gnu.org>
1331 * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
1332 actual length if the adress length is smaller than the input
1333 value. Change type of *LEN paramater to socklen_t.
1334 * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
1335 * sysdeps/mach/hurd/accept.c (accept): Likewise.
1336 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
1337 * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
1338 paramater to socklen_t.
1340 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
1342 * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
1343 msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
1346 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
1348 * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
1349 __get_phys_pages): Cast &HBI to silence warning.
1351 * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
1352 * hurd/hurdchdir.c: New file.
1353 * hurd/hurdfchdir.c: New file.
1354 * sysdeps/mach/hurd/chroot.c: Call
1355 _hurd_change_directory_port_from_name to do the work.
1356 * sysdeps/mach/hurd/chdir.c: Likewise.
1357 * sysdeps/mach/hurd/fchdir.c: Call
1358 _hurd_change_directory_port_from_fd to do the work.
1359 * hurd/fchroot.c: Likewise.
1360 * hurd/hurd.h: Declare them.
1362 1999-02-27 Ulrich Drepper <drepper@cygnus.com>
1364 * elf/dl-load.c (lose): Add more comments to explain the `why'.
1365 (_dl_map_object): Remove redundant test.
1367 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
1369 * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
1370 try to _hurd_port_free a lower-numbered descriptor that was not in any
1373 1999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1375 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
1376 declaration for ____wcstod_l_internal.
1378 * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
1379 __strtod_internal prototype.
1380 * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
1381 (____strtold_l_internal): Add prototype declaration.
1382 (__strtold_l): Call correct function.
1384 1999-02-24 Ulrich Drepper <drepper@cygnus.com>
1386 * elf/elf.h: Add 32bit HPPA definitions.
1388 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1390 * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
1391 non-checked heap is restored when malloc checking was requested by
1393 (struct malloc_state): Add using_malloc_checking.
1394 (MALLOC_STATE_VERSION): Increment minor.
1395 (using_malloc_checking, disallow_malloc_check): New variables.
1396 (__malloc_check_init): Use them.
1397 (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
1398 that it can the chunk is properly instrumented when malloc
1399 checking is enabled. Set the new using_malloc_checking field.
1400 (malloc_hook_ini): Correct signature when _LIBC is not defined.
1402 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1404 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
1405 (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
1408 * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
1409 Don't call elf_get_dynamic_info and _dl_setup_hash a second time
1410 if ld.so is the main program.
1412 1999-02-23 Ulrich Drepper <drepper@cygnus.com>
1414 * stdio-common/vfprintf.c (vfprintf): If precision or width is too
1415 large for work_buffer, allocate new buffer.
1416 (printf_unknown): Likewise. [PR libc/988]
1418 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
1420 * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
1421 instead of stat and fstat.
1422 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1424 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1426 * elf/dl-error.c (_dl_signal_cerror): New function.
1427 (_dl_signal_error): Don't call receiver function.
1428 * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
1429 instead of _dl_signal_error when reporting references to undefined
1430 symbols or versions.
1431 (_dl_lookup_versioned_symbol): Likewise.
1432 (_dl_lookup_versioned_symbol_skip): Likewise.
1433 * elf/dl-version.c (match_symbol): Likewise.
1435 * elf/ldsodefs.h: Declare _dl_signal_cerror.
1437 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
1439 * misc/getttyent.c (getttyent): Release lock on stream later to
1440 also protect global variable zapchar.
1442 * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
1443 __times [PR libc/990].
1445 1999-02-21 David S. Miller <davem@redhat.com>
1447 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
1448 parentheses in Feb 2 changes.
1449 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
1451 1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1453 * sysdeps/generic/glob.c (glob): Save previous errno.
1455 1999-02-21 Ulrich Drepper <drepper@cygnus.com>
1457 * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
1458 lookup functions if it is too small.
1460 1999-02-20 Ulrich Drepper <drepper@cygnus.com>
1462 * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
1463 for tracing to the scope lists.
1464 * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
1465 DT_SYMTAB is always available according to ELF spec.
1467 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
1468 call test whether there is any scope left.
1469 (_dl_lookup_versioned_symbol_skip): Likewise.
1471 * elf/Makefile (distribute): Add do-lookup.h.
1472 * elf/do-lookup.h: New file. Split out from dl-lookup.c.
1473 * elf/dl-lookup.c: Move do_lookup function in separate file and
1474 include the file twice, for handling versioning and without it.
1476 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
1477 entry is already relocated.
1478 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
1479 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
1480 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
1481 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
1483 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
1485 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
1488 * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
1489 load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
1490 DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
1491 (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
1492 rel and rela relocations can both happen and skip one test if this
1494 (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
1496 * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
1498 * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
1500 * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
1501 (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
1502 (_dl_map_object): DT_STRTAB entry is already relocated.
1503 * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
1505 * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
1507 * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
1508 DT_VERSYM entries are already relocated.
1509 (profile_fixup): Likewise.
1510 * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace
1512 (match_symbol): DT_STRTAB entry is already relocated.
1513 (_dl_check_map_versions): Likewise. Also fo DT_VERSYM.
1514 * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
1515 relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated.
1516 * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
1517 (find_needed): DT_STRTAB entry is already relocated.
1518 (dl_main): Pass extra argument to elf_get_dynamic_info.
1519 DT_STRTAB entry is already relocated.
1520 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
1521 DT_PLTGOT entries are already relocated.
1522 (elf_machine_rela): Likewise for DT_SYMTAB.
1523 * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
1525 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1526 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
1527 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
1528 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1529 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
1530 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
1531 (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
1532 * sysdeps/mips/mips64/dl-machine.h: Likewise.
1534 * grp/initgroups.c (initgroups): If function in current module was
1535 successful don't stop but continue to process to get all the groups.
1537 * elf/dl-load.c (_dl_map_object_from_fd): Use global
1538 _dl_pf_to_proot array to convert p_flags value.
1539 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1541 * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
1542 loop to clear `info'.
1544 * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
1545 do the work and don't use inline assembler.
1547 1999-02-19 Ulrich Drepper <drepper@cygnus.com>
1549 * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
1550 * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
1551 noreturn, and prevent it from being inlined.
1552 Define LOSE appropriately.
1553 (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
1554 Optimize decoding of p_flags for certain platforms.
1556 1999-02-19 Philip Blundell <pb@nexus.co.uk>
1558 * Makeconfig (link-libc): When doing a static link, make sure that
1559 libgcc.a is included both before and after libc.a.
1561 1999-02-18 Thorsten Kukuk <kukuk@suse.de>
1563 * nis/nss_compat/compat-spwd.c: Fix handling of default values for
1564 sp_warn, sp_inact, sp_expire and sp_flag.
1566 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
1568 * elf/link.h (link_map): Add l_dev and l_ino.
1569 * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
1570 loaded shared object with all loaded objects. Initialize l_ino
1571 and l_dev in case it's new.
1572 * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
1574 * elf/Makefile: Compile and run new test.
1575 * elf/multiload.c: New file.
1577 * nss/nsswitch.h (service_user): Change name field from const char *
1579 (name_database_entry): Likewise.
1580 * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
1581 for change of `service_user'.
1582 (nss_getline): Adjust memory allocation for change of
1583 `name_database_entry'.
1585 * catgets/catgets.c: Correctly handle NLSPATH from environment
1588 * io/Makefile (routines): Add lock64.
1589 * io/Versions: Add lockf64 for GLIBC_2.1.1.
1590 * sysdeps/generic/lockf64.c: New file.
1592 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
1594 * string/bits/string2.h: Only use strncmp optimization if count
1595 argument is constant.
1597 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
1599 * sysdeps/mach/hurd/revoke.c: New file.
1601 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
1603 * wctype/wctype.h (_ISwbit): Cast result of shift operations to
1604 int to avoid warning about `ISO C restricts enumerator values to
1607 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1609 * elf/dlfcn.h: Fix typo.
1610 * sysdeps/generic/bits/dlfcn.h: Likewise.
1611 * sysdeps/mips/bits/dlfcn.h: Likewise.
1613 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
1615 * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
1616 for the case N == 0.
1618 * db2/Makefile (distribute): Add LICENSE.
1620 1999-02-03 Jeff Bailey <jbailey@nisa.net>
1622 * sysdeps/unix/make_errlist.c: Add i18n and copyright to
1625 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
1627 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
1629 * time/mktime.c: Use ISO C form for function definitions and
1630 remove unnecessary prototypes.
1632 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
1634 * time/time.h: Avoid unneccesary #ifdef.
1636 1999-02-15 Geoff Keating <geoffk@ozemail.com.au>
1638 * stdio-common/_itoa.c (_itoa): Correct parameters to
1641 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1643 * misc/sys/cdefs.h: Undefine __PMT since it might be defined
1644 before (e.g. in glob.h).
1647 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1649 * sysdeps/mips/fpu_control.h: Fix typo.
1650 Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
1653 1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
1655 * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
1656 the "unused" ends of the sockets. Let pipes be bidirectional.
1658 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
1660 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
1663 1999-02-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1665 * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by
1666 Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
1668 * manual/setjmp.texi (Non-Local Exits and Signals): Fix
1669 typo. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
1671 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
1673 * string/Versions: Add __strverscmp to GLIBC_2.1.1.
1675 1999-02-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1677 * misc/syslog.c (vsyslog): Remember errno for %m format. Fix
1678 check for priority mask.
1680 1999-02-14 Ulrich Drepper <drepper@cygnus.com>
1682 * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
1683 Reported by Craig Metz <cmetz@inner.net> .
1685 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1687 * stdio-common/Makefile (tests): tllformat added.
1689 * stdio-common/tllformat.c: New program, based on tiformat.c with
1690 examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1692 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1694 * posix/test-vfork.c: Fix exit status test.
1696 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1698 * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
1699 missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
1701 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1703 * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
1704 of separare explicit comparisons.
1706 1999-02-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1708 * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
1711 * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
1714 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
1716 * po/el.po: Update from translation team.
1718 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1720 * intl/locale.alias: Fix slovenian entry [PR libc/948].
1722 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1724 * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
1725 * inet/ruserpass.c: Likewise.
1726 * locale/programs/stringtrans.c: Likewise.
1727 * locale/programs/localedef.c: Likewise.
1728 * nscd/grpcache.c: Likewise.
1729 * nss/nss_files/files-XXX.c: Likewise.
1730 * stdlib/canonicalize.c: Likewise.
1731 * sysdeps/posix/sigwait.c: Likewise.
1733 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1735 * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
1736 even on 64 bit platforms.
1738 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
1739 Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
1741 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
1743 * intl/dcgettext.c: Include locale.h is available.
1745 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
1747 * po/nl.po: Update from translation team.
1749 * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
1751 * Makefile: Allow calling goals for po subdir.
1753 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
1756 * po/el.po: New file.
1758 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1760 * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
1761 when processing DT_SYMBOLIC objects.
1763 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1765 * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
1766 program headers without PT_PHDR only require that they are
1767 contained within one of the loaded segments. Don't use assert,
1768 since that would be a bug in the object, not the dynamic linker.
1770 1999-02-08 Richard Henderson <rth@cygnus.com>
1772 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
1773 restore all call-clobbered fp regs.
1775 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
1777 * po/cs.po: New file.
1779 * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
1782 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
1784 * signal/signal.h: Don't declare __libc_allocate_rtsig.
1785 * include/signal.h: Declare __libc_allocate_rtsig here.
1787 * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
1788 point functions, not do_lookup since the later can be called more
1791 1999-02-03 Jakub Jelinek <jj@ultra.linux.cz>
1793 * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
1794 macro, so that architectures which need to add some special
1795 offset to stack pointer can share this file.
1797 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
1798 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
1799 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
1800 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
1802 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
1803 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
1804 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
1805 between sparc32 and sparc64.
1807 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
1808 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
1809 * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
1810 between sparc32 and sparc64.
1812 * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
1813 * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
1814 * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
1815 between sparc32 and sparc64.
1817 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
1818 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
1819 * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
1820 between sparc32 and sparc64.
1822 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
1824 * Versions.def: New version GLIBC_2.1.1 for libc.
1825 * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
1826 * stdlib/labs.c: Moved to...
1827 * sysdeps/generic/labs.c: ...here.
1828 * stdlib/llabs.c: Moved to...
1829 * sysdeps/generic/llabs.c: ...here.
1830 * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
1831 header. Declare _Exit.
1832 * sysdeps/generic/_exit.c: Add alias _Exit.
1833 * sysdeps/mach/hurd/_exit.c: Likewise.
1834 * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
1835 * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
1836 * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
1837 * sysdeps/unix/_exit.c: Likewise.
1838 * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
1839 imaxdiv and imaxabs. Declare lldiv_t if necessary.
1840 * sysdeps/wordsize-64/inttypes.h: Likewise.
1841 * sysdeps/wordsize-32/llabs.c: New file.
1842 * sysdeps/wordsize-32/lldiv.c: New file.
1843 * sysdeps/wordsize-64/labs.c: New file.
1844 * sysdeps/wordsize-64/ldiv.c: New file.
1845 * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
1846 * manual/startup.texi: Document _Exit.
1848 1999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1850 * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
1852 1999-02-06 Ulrich Drepper <drepper@cygnus.com>
1854 * Versions.def: Add versions for ld.so.
1855 * csu/Versions: Remove __libc_stack_end here.
1856 * elf/Versions: Split libc definitions in libc and ld.so definitions.
1857 * elf/Makefile (ld-map): Change to ld.so.map.
1858 * scripts/versions.awk: Recognize dot in library names.
1860 * ctype/ctype.h: Remove definitions of __tolower and __toupper.
1861 Don't use __tolower and __toupper in inline functions.
1862 Add optimizing macros for tolower and toupper.
1863 * ctype/ctype-extn.c (_tolower): Don't use __tolower.
1864 (_toupper): Don't use __toupper.
1865 * ctype/ctype.c (tolower): Don't use __tolower.
1866 (toupper): Don't use toupper.
1868 * nscd/cache.c (prune_cache): Correct printing of debugging messages.
1870 * resolv/Versions (libresolv): Export __ns_name_unpack and
1872 * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
1873 make it global. Change all users. Similar for ns_name_ntop.
1874 * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
1875 user-provided buffer. Use __ns_name_unpack and __ns_name_ntop
1876 directly to detect too small buffer.
1877 * resolv/nss_dns/dns-network.c: Likewise.
1879 * stdio-common/Makefile (tests): Add scanf12.
1880 * stdio-common/scanf12.c: New file.
1881 * stdio-common/scanf12.input: New file.
1882 * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
1883 floating-point correctly if the number is invalid.
1885 * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
1887 * stdio-common/printf_fp.c: Likewise.
1888 * stdio-common/printf_fphex.c: Likewise.
1889 * stdio-common/vfprintf.c: Likewise.
1892 See ChangeLog.9 for earlier changes.