]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Update.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
344c67b6
UD
11999-04-29 Ulrich Drepper <drepper@cygnus.com>
2
3 * nss/getXXbyYY_r.c: Include assert.h.
4 * nss/getXXbyYY.c: Likewise.
5
619cba73
UD
61999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7
8 * termios/tcgetsid.c (tcgetsid): Rename variable to
9 tiocgsid_does_not_work.
10
3a07823a
UD
111999-04-29 Ulrich Drepper <drepper@cygnus.com>
12
13 * inet/getnameinfo.c (nrl_domainname): Fix last patch.
14
16b0f634
UD
151999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
16
17 * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
18 This allows e.g. gethostbyname to accept "10.1234".
19 Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
20
21 * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
22 non quad IPv4 numbers.
23
2c68584c
UD
241999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
25
26 * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
27
c4563d2d
UD
281999-04-28 Ulrich Drepper <drepper@cygnus.com>
29
30 * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
31 * argp/argp-parse.c (_argp_hang): Likewise.
32 * argp/argp-pv.c (argp_program_version): Likewise.
33 * argp/argp-pvh.c (argp_program_version_hook): Likewise.
34 * inet/ether_hton.c (ether_hton, startp): Likewise.
35 * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
36 * inet/getnetgrent_r.c (setup, startp): Likewise.
37 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
38 * intl/localealias.c (string_space, string_space_act, string_space_max,
39 nmap, maxmap): Likewise.
40 * libio/iopopen.c (proc_file_chain): Likewise.
41 * libio/oldiopopen.c (old_proc_file_chain): Likewise.
42 * locale/lc-collate.c (__collate_table, __collate_extra,
43 __collate_element_hash, __collate_element_strings,
44 __collate_element_values): Likewise.
45 * malloc/mcheck.c (mcheck_used): Likewise.
46 * malloc/mtrace.c (added_atexit_handler): Likewise.
47 * malloc/set-freeres.c (already_called): Likewise.
48 * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
49 * misc/syslog.c (LogStat, LogTag): Likewise.
50 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
51 * nss/getXXbyYY_r.c (startp): Likewise.
52 * posix/getopt.c (optarg, __getopt_initialized): Likewise.
53 * posix/regex.c (init_syntax_once) [done]: Likewise.
54 (debug): Likewise.
55 * string/strfry.c (init): Likewise.
56 * sunrpc/svc_run.c (svc_top): Likewise.
57 * posix/euidaccess.c (have_ids): Likewise.
58 * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
59 * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
60 * time/getdate.c (getdate_err): Likewise.
61 * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
62 Likewise.
63 * time/tzset.c (old_tz, is_initialized): Likewise.
64
65 * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
66 of static data with zero.
67 * signal/allocrtsig.c (init): Likewise.
68
69 * string/Makefile (routines): Add strchrnul.
70 * string/Versions [GLIBC_2.1.1]: Add strchrnul.
71 * string/string.c: Add strchrnul prototype.
72 * include/string.h: Add __strchrnul prototype.
73 * sysdeps/generic/strchrnul.c: New file.
74 * sysdeps/i386/strchrnul.S: New file.
75 * sysdeps/i386/bits/string.c: Add strchrnul optimization.
76 * sysdeps/i386/i486/bits/string.c: Likewise.
77 * argp/argp-help.c (argp_args_usage): Use __strchrnul.
78 * inet/ether_line.c (ether_line): Likewise.
79 * nscd/nscd_conf.c (nscd_parse_file): Likewise.
80 * nss/nsswitch.c (nss_parse_file): Likewise.
81 * posix/execvp.c (execvp): Likewise.
82 * posix/fnmatch.c (internal_fnmatch): Likewise.
83 * resolv/res_hconf.c (_res_hconv_init): Likewise.
84 * resolv/res_init.c (res_init): Likewise.
85 * stdlib/fmtmsg.c (init): Likewise.
86 * stdlib/getsubopt.c (getsubopt): Likewise.
87
88 * catgets/catgets.c (catopen): Only allocate one memory block.
89 (catclose): Only one free call necessary.
90
91 * catgets/open_catalog.c (__open_catalog): Simplify handling of
92 file descriptor.
93
94 * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
95 of real functions. Simplify _tolower and _toupper.
96
97 * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
98 variable.
99
100 * iconv/gconv.h (struct gconv_info): Change data element from pointer
101 to array of size 0.
102 * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
103 * iconv/gconv_close.c (__gconv_close): Don't free data.
104
105 * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
106 insert new alias.
107
108 * iconv/gconv_db.c (add_derivation): More efficient copying. Check
109 for error while inserting in tree.
110
111 * include/time.h: Pretty print.
112
113 * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
114 in table and lots of relocations.
115 * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
116 string pointers in table and lots of relocations.
117
118 * intl/finddomain.c: Remove definition of strchr macro.
119
120 * io/ftw.c (nftw_arr, ftw_arr): Make const.
121
122 * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
123
124 * locale/localeinfo.h (_nl_category_names): Change into an array with
125 fixed width char string elements.
126 * locale/setlocale.c (_nl_category_names): Likewise.
127 (_nl_current): Make global.
128 * locale/nl_langinfo.c (nldata): Removed. Use _nl_current now.
129
130 * malloc/Makefile (distribute): Add stackinfo.h.
131 * sysdeps/generic/stackinfo.h: New file.
132 * sysdeps/i386/stackinfo.h: New file.
133 * posix/execl.c: Use stackinfo.h in optimizing alloca use.
134 * posix/execle.c: Likewise.
135 * posix/execlp.c: Likewise.
136
137 * nis/nis_table.c (__create_ib_request): Always use realloc.
138
139 * posix/execvp.c (execute): Rename to script_execute and keep only
140 code to execute using shell.
141 (execvp): Call execv directly and only fall back on script_execute.
142
143 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
144 and always use xdigits instead.
145
146 * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
147 where appropriate.
148
149 * stdlib/fpioconst.h (__tens): New declaration.
150 (struct mp_power): Remove array, add arrayoff element.
151 * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
152 __tens array and add in _fpioconst_pow10 offsets into __tens.
153 * stdio-common/printf_fp.c: Rewrite to use new __tens array.
154 * stdlib/strtod.c: Likewise.
155
156 * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
157
158 * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
159 of the list.
160 * stdlib/atexit.c (__exit_funcs): Don't initialize.
161
162 * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
163
164 * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
165 a single and an array with offsets.
166
167 * sunrpc/des_soft.c (partab): Make it const.
168
169 * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
170 (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
171 (__key_decryptsession_pk_LOCAL): Likewise.
172 (__key_gendes_LOCAL): Likewise.
173 (MESSENGER): Mark const.
174 (key_call_private_main): Don't initialize with 0.
175 (use_keyenvoy): Don't initialize with 0.
176 (key_call): Rewrite to reverse logic of use_doors variable.
177
178 * sunrpc/netname.c (OPSYS): Define as array, not pointer.
179 (startp): Don't initialize with zero.
180
181 * sunrpc/openchild.c (_openchild): Make first argument const.
182
183 * sunrpc/pmap_rmt.c (timeout): Mark const.
184 * sunrpc/xcrypt.c (hex): Likewise.
185
186 * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
187 initialization of global variables.
188 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
189 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
190 * termios/tcgetsid.c: Likewise.
191
192 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
193 fxsr to osfxsr.
194
195 * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
196 block. Add function to free memory if wanted.
197 * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
198
199 * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
200
201 * wcsmbs/wmemset.c: Little code optimization.
202
fbb9cc91 2031999-04-23 Paul Eggert <eggert@twinsun.com>
b0f88c14
UD
204
205 * stdlib/strtoull.c: Surround strong_alias and weak_alias with
206 ifdef _LIBC.
207
af275fea
RM
2081999-04-28 Roland McGrath <roland@baalperazim.frob.com>
209
210 * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
211 implementation and just always fail with ENOSYS. This entry point is
212 obsolete. Add link warning to that effect.
213
f2a2816c
RM
2141999-04-27 Roland McGrath <roland@baalperazim.frob.com>
215
216 * hurd/get-host.c: Include <hurd/lookup.h>.
217
7c2b945e
UD
2181999-04-28 Ulrich Drepper <drepper@cygnus.com>
219
220 * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
221 is != NULL.
222
2231999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
224
225 * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
226 ISO C9x and Unix98.
227
925ed47c
UD
2281999-04-28 Ulrich Drepper <drepper@cygnus.com>
229
230 * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
231 Patch by Peter Miller <millerp@canb.auug.org.au>.
232
2331999-04-27 Thorsten Kukuk <kukuk@suse.de>
234
235 * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
fbb9cc91 236 prefers loopback device.
925ed47c 237
66f93c2d
UD
2381999-04-28 Ulrich Drepper <drepper@cygnus.com>
239
240 * posix/fnmatch.c (internal_fnmatch): Finish incomplete
241 no_leading_period change.
242
243 * posix/testfnm.c: More test cases.
244
10bb450d
UD
2451999-04-27 Ulrich Drepper <drepper@cygnus.com>
246
980e5832
UD
247 * include/dirent.h: Remove __getdirentries declaration, add __getdents
248 and __getdents64.
249 * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
250 * sysdeps/unix/readdir_r.c: Likewise.
251 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
252 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
253 * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
254 __getdirentries. Remove fourth argument.
255 * sysdeps/unix/sysv/linux/getdirentries.c: New file.
256 * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
257 * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
258 Add getdirentries and getdirentries64.
259 * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
260
10bb450d
UD
261 * posix/fnmatch.c (internal_fnmatch): Correctly reset string
262 pointer in case of an invalid [[: expression.
263
b6a7609d
UD
264 * posix/testfnm.c: Add more test cases.
265
8a495c09
RM
2661999-04-27 Roland McGrath <roland@baalperazim.frob.com>
267
268 * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
269 set, pass EXEC_SIGTRAP flag in exec RPC.
270
d8aaef00
UD
2711999-04-26 Ulrich Drepper <drepper@cygnus.com>
272
273 * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch. Take
274 extra parameter. Fix several more bugs involving wildcard and
275 ranges.
276 (fnmatch): New function. Call internal_fnmatch.
277
278 * posix/testfnm.c: More test cases.
279
f76d7052
UD
2801999-04-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
281
282 * manual/install.texi (Configuring and compiling): Explain that
283 files are changed in the source directory.
284 Closes PR libc/981.
285 (Configuring and compiling): Explain situation with PARALLELMFLAGS
286 in the source directory.
287
2881999-04-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
289
290 * locale/programs/ld-ctype.c: Spelling fixes.
291 (ctype_finish): Fix argument of error message format.
292 * locale/programs/ld-messages.c: Spelling fixes.
293 * locale/programs/ld-monetary.c: Spelling fixes.
294 * locale/programs/ld-time.c (time_finish): Make sure that name and
295 format of era_entries are adjacent.
296 (time_output): Reduce the size of the io vector.
297
2981999-04-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
299
300 * manual/filesys.texi (Attribute Meanings): Move a misplaced
301 paragraph.
302
3031999-04-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
304
305 * locale/programs/ld-collate.c (collate_output): Convert
306 undefined_offset to an array index. Fix computation of other
307 endian extra table.
308
6e4184e4
RM
3091999-04-26 Roland McGrath <roland@baalperazim.frob.com>
310
311 * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
312 return success with empty value.
313
45a89cc6
UD
3141999-04-26 Ulrich Drepper <drepper@cygnus.com>
315
316 * posix/fnmatch.c: Include string.h also for glibc.
317 (fnmatch, case '?'): Optimize if cascades a bit.
318 (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
319
320 * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
321
62ece32b
UD
3221999-04-24 Ulrich Drepper <drepper@cygnus.com>
323
324 * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
325 * iconv/gconv_int.h: Declare UTF16 functions.
326 * iconv/gconv_simple.c: Add UTF16 conversion functions.
327
4ad1f026
UD
3281999-04-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
329
330 * posix/wordexp.c (parse_param): Fix type of offset to allow it to
331 be used correctly as parameter for parse_dollars/parse_tilde.
332
a3ab859c
UD
3331999-04-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
334
335 * manual/conf.texi (Utility Limits): Remove duplicate description
336 of BC_DIM_MAX.
337
d788be1e
UD
3381999-04-19 Ulrich Drepper <drepper@cygnus.com>
339
340 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
341 outbufend for dst==NULL.
342
3ee12f2b
UD
3431999-04-18 Ulrich Drepper <drepper@cygnus.com>
344
d4bc783b
UD
345 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
346 for dst==NULL.
347 Fixes PR libc/1084.
348
3ee12f2b
UD
349 * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
350 Fixes PR libc/1083.
351
b02f5013
UD
3521999-04-18 Thorsten Kukuk <kukuk@suse.de>
353
354 * sunrpc/Makefile: Remove special handling of bootparam.x,
355 add rpcsvc/bootparam.h to headers.
356 * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
357 * sunrpc/rpcsvc/bootparam.x: Renamed to...
358 * sunrpc/rpcsvc/bootparam_prot.x: ...this.
359
62acd376
UD
3601999-04-18 Ulrich Drepper <drepper@cygnus.com>
361
362 * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
363 detect and handle invalid descriptors.
364
1e76ce9c
UD
3651999-04-17 Thorsten Kukuk <kukuk@suse.de>
366
62ece32b 367 * timezone/zic.c (dolink): Append complete path not only filename
1e76ce9c
UD
368 to ../ list.
369
53ab6afa
UD
3701999-04-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
371
372 * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
373
4510507b
UD
3741999-04-17 Ulrich Drepper <drepper@cygnus.com>
375
376 * iconvdata/gconv-modules: Rename CP874 to IBM874.
377 * iconvdata/Makefile: Likewise.
378 * iconvdata/cp874.h: Removed.
379 * iconvdata/cp874.c: Renamed to...
380 * iconvdata/ibm874.c: ...this.
381
17c7887b
UD
3821999-04-16 Ulrich Drepper <drepper@cygnus.com>
383
10c38463
UD
384 * sysdeps/unix/sysv/linux/bits/types.h: Correct
385 signed/unsigned-ness of blkcnt and fsblkcnt.
386 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
387 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
388
17c7887b
UD
389 * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
390 SOL_AAL, and SOL_IRDA.
391
7d17e925
UD
3921999-04-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
393
394 * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero. Don't
395 include "linux_fsinfo.h".
396 Based on a patch by H.J. Lu <hjl@gnu.org>.
397
afab401e
UD
3981999-04-16 Thorsten Kukuk <kukuk@suse.de>
399
400 * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
401
2456406d
UD
4021999-04-16 Ulrich Drepper <drepper@cygnus.com>
403
404 * nscd/cache.c (prune_cache): Only disable file checking for
405 future if the file does not exist.
406 Update file_mtime if cache was flushed.
407
5d15fc5c
RH
4081999-04-15 David S. Miller <davem@redhat.com>
409
410 * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
411 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
412
080f7c58 4131999-04-15 Scott Bambrough <scottb@netwinder.org>
46a4682d
UD
414
415 * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
416 compilation of file.
417
f8afba91
UD
4181999-04-15 Ulrich Drepper <drepper@cygnus.com>
419
420 * Versions.def: Add GLIBC_2.1.1 to libpthread.
421
422 * iconvdata/Makefile (modules): Add KOI8-U.
423 (distribute): Add koi8-u.c.
424 (gen-8bit-gap-modules): Add koi8-u.
425 * iconvdata/gconv-modules: Add KOI8-U entries.
426 * iconvdata/koi8-u.c: New file.
427
4281999-04-13 Thorsten Kukuk <kukuk@suse.de>
429
430 * sunrpc/auth_des.c: 64bit fixes, security fixes.
431 * sunrpc/auth_none.c: Pretty print.
432 * sunrpc/auth_unix.c: Likewise.
433 * sunrpc/authdes_prot.c: Likewise.
434 * sunrpc/authuxprot.c: Likewise.
435 * sunrpc/bindrsvprt.c: Likewise.
436 * sunrpc/clnt_gen.c: Likewise.
437 * sunrpc/rpc/xdr.h: Likewise.
438 * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
439 * sunrpc/rpc_cmsg.c: Don't use *long pointers.
440 * sunrpc/rtime.c: Use new rpc_timeval.
441 * sunrpc/svc_authux.c: Don't use *long pointers.
442 * sunrpc/svcauth_des.c: Likewise + security fixes.
443 * sunrpc/xdr_mem.c: Don't use *long pointers.
444 * sunrpc/xdr_rec.c: Likewise.
445 * sunrpc/xdr_sizeof.c: Likewise.
446 * sunrpc/xdr_stdio.c: Likewise.
447
a5486962
UD
4481999-04-15 Ulrich Drepper <drepper@cygnus.com>
449
450 * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
451 so that it is redone for each sending.
452
c556351f
UD
4531999-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
454
455 * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
456
96eaef36
UD
4571999-04-15 Ulrich Drepper <drepper@cygnus.com>
458
9654fd27
UD
459 * iconv/gconv_db.c (__gconv_find_transform): If conversion is
460 known to not exist don't try to load shared objects.
461 Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
462
9514f4e6
UD
463 * nscd/cache.c (prune_cache): The table might not be unused. In
464 this case do nothing.
465
96eaef36
UD
466 * catgets/gencat.c (read_input_file): Don't drop white spaces
467 between number/identifier and string.
468 Patch by Dima Barsky <dima@pwd.hp.com>.
469 If no white space at all follows number/identifier remove existing
9514f4e6 470 message with the number/identifier.
96eaef36 471
670af0d9
UD
4721999-04-14 H.J. Lu <hjl@gnu.org>
473
474 * sunrpc/clnt_udp.c (is_network_up): New function.
475 (clntudp_call): Call is_network_up () to check if any network
476 interface is up in case of timeout.
477
ea48e2c4
UD
4781999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
479
480 * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
481 * wctype/Makefile (tests): Add test_wcfuncs.
482
4e75fa85
RH
4831999-04-14 Jakub Jelinek <jj@ultra.linux.cz>
484
485 * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
486 architectures.
487 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
488 instead of CFLAGS.
489 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
490 instead of CFLAGS. For gnulib and string directories use
491 -Wa,-Av9a gcc ASFLAGS.
492 * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
493 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
494 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
495 * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
496 the same way as sparc-*.
497
e5681dee
UD
4981999-04-14 Ulrich Drepper <drepper@cygnus.com>
499
500 * locale/programs/locfile.c (locfile_read): Fix typo.
501 Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
502
080f7c58 5031999-04-14 Scott Bambrough <scottb@netwinder.org>
9b2446e8
UD
504
505 * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
506 restarted after being interrupted by a signal. The parameters on
507 the stack were corrupted by the signal handler.
508
509 * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
510 restarted after being interrupted by a signal. The parameters on
511 the stack were corrupted by the signal handler.
512
1156499b
UD
5131999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
514
515 * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
516 Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
517
b2900a13
UD
5181999-04-12 Tim Waugh <tim@cyberelk.demon.co.uk>
519
520 * posix/wordexp-test.c: In field-splitting test cases where
521 subshells were involved, unset IFS first: some shells (ash) use
522 IFS even when no expansion is performed.
523
27995311
UD
5241999-04-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
525
526 * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
527 the real end of the chunk, not some random point inbetween.
528 (_IO_obstack_xsputn): Likewise. Actually copy the data into the
529 obstack when growing. Use fast version of obstack_blank when
530 shrinking.
531 (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
532 allocating the vtable pointer.
533 (_IO_obstack_vprintf): Adjust for above change and avoid
534 unnecessary casts. Use fast version of obstack_blank when
535 shrinking.
536 Fixes PR libc/1075.
537
97119860
UD
5381999-04-12 Ulrich Drepper <drepper@cygnus.com>
539
540 * iconvdata/gconv-modules: Fix typo. Add UJIS alias.
541 Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
542
bac660f8
UD
5431999-04-11 Tim Waugh <tim@cyberelk.demon.co.uk>
544
545 * posix/wordexp.c (wordexp): Fix a leak when an invalid character
546 is seen, as well as fixing semantics. Don't reset the word count
547 to zero when an invalid character is seen, but leave it as it was
548 (this makes a difference with WRDE_APPEND).
549
550 * posix/wordexp-test.c: More test cases.
551
552 * posix/wordexp.c (parse_param): In words like ${var#pattern},
553 always expand pattern when it is needed. Also, handle quoting in
554 pattern properly.
555
a64e578b
UD
5561999-04-12 Philip Blundell <philb@gnu.org>
557
558 * elf/elf.h: Update ARM definitions to match current gas2.
559
560 * sysdeps/arm/bits/endian.h: Support big endian operation.
561
562 * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
563 Don't bother range checking the port number.
564
565 * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
566
567 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
568 the syscall name in assembler output for ease of debugging.
569
570 * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
571 compiler behaviour.
572 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
573 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
574 (sysdep_routines): Add sigrestorer.
575
576 * string/tester.c (test_strcpy): Add new tests for unaligned
577 arguments.
578 * sysdeps/arm/bits/string.h: Delete inline implementations of
579 strcpy and stpcpy.
580
eb822fcf
UD
5811999-04-11 Ulrich Drepper <drepper@cygnus.com>
582
583 * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
584
7ff4841b
RM
5851999-04-10 Mark Kettenis <kettenis@gnu.org>
586
587 * sysdeps/mach/hurd/Dist: Add clk_tck.c.
588
46f83754
UD
5891999-04-10 Ulrich Drepper <drepper@cygnus.com>
590
591 * iconvdata/Makefile (modules): Add TIS-620.
592 (distribute): Add tis-620.c.
593 (gen-8bit-gap-modules): tis-620.
594 * iconvdata/tis-620.c: New file.
595 * iconvdata/gconv-modules: Add TIS-620 entries.
596
597 * iconvdata/asmo_449.c: Correct comment.
598
b5ca0fb0
UD
5991999-04-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
600
601 * manual/install.texi (Configuring and compiling): Comment out
602 description of --disable-static since this doesn't work currently
603 (see change by Ulrich Drepper on 1998-12-07 for configure.in).
604
3877d9ea
UD
6051999-04-10 Ulrich Drepper <drepper@cygnus.com>
606
607 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
608 use binary search.
609 Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
610
c1349648
AS
6111999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
612
613 * scripts/test-installation.pl (installation_problem): Skip
614 libnss1_* libraries from glibc-compat add-on.
615
3877d9ea 6161999-04-07 H.J. Lu <hjl@gnu.org>
c1349648
AS
617
618 * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
619 libstdc++ 2.7.2.
620 * posix/Versions (__waitpid): Likewise.
621
612fdf25
AS
6221999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
623
3877d9ea 624 * manual/install.texi (Reporting Bugs): Add section about reported
612fdf25
AS
625 bugs and correct email address of glibcbug script.
626
50f301a8
AS
6271999-04-01 Thorsten Kukuk <kukuk@suse.de>
628
629 * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
630 * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
631 xdr_u_longlong_t. Based on patch from Dan Shechter
632 <damageboy@isdn.net.il>.
633 * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
634 * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
635
636 * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
637
516d718a
AS
6381999-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
639
640 * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
641 directly if getdents returns with error set.
642
5a56576d
AS
6431999-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
644
645 * locale/langinfo.h (THOUSEP): Rename second occurence of
646 THOUSANDS_SEP to THOUSEP.
647 Reported by Roman Belenov <roman@nstl.nnov.ru>.
648
18579100
RM
6491999-04-05 Roland McGrath <roland@baalperazim.frob.com>
650
651 * hurd/STATUS: File removed. Moved items that are still relevant into
652 TODO list in hurd source.
653
6541999-03-26 Mark Kettenis <kettenis@gnu.org>
655
656 * sysdeps/mach/hurd/bits/time.h: New file.
657 * sysdeps/mach/hurd/getrusage.c: New file.
658 * sysdeps/mach/hurd/clk_tck.c: New file.
659 * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
660 * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
661 (sysdep_routines): Add clk_tck.
662 * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
663 implemented.
664
b6d04893
UD
6651999-04-02 Ulrich Drepper <drepper@cygnus.com>
666
667 * misc/syslog.c (closelog_internal): Do not reset LogTag here.
668 (closelog): But instead here.
669 Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
670
bf726173
UD
6711999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
672
673 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
674 the source directory. Fixes PR libc/1059.
675
7081e0a3
UD
6761999-04-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
677
bf726173 678 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
7081e0a3
UD
679 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
680
134c659c
UD
6811999-04-01 Ulrich Drepper <drepper@cygnus.com>
682
683 * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
684 * iconvdata/testdata/ISO-8859-14: New file.
685 * iconvdata/testdata/ISO-8859-14..UTF8: New file.
686 * iconvdata/testdata/ISO-8859-15: New file.
687 * iconvdata/testdata/ISO-8859-15..UTF8: New file.
688
b81ee757
UD
6891999-03-31 Ulrich Drepper <drepper@cygnus.com>
690
e31fd8c0
UD
691 * iconvdata/testdata/CP1258: New file.
692 * iconvdata/testdata/CP1258..UTF8: New file.
693 * iconvdata/TESTS: Add CP1258 entry.
694
42ec4cab 695 * iconvdata/cp874.h (to_ucs4): Add Euro sign.
cb869102 696
b81ee757
UD
697 * timezone/africa: Update from tzdata1999d.
698 * timezone/europe: Likewise.
699 * timezone/northamerica: Likewise.
700
a0e0c6c5
UD
7011999-03-31 Mark Kettenis <kettenis@gnu.org>
702
703 * login/programs/pt_chown.c (main): Save effective user ID before
704 dropping priviliges and use this to check if the program is
705 properly installed.
706
99179803
UD
7071999-03-31 Ulrich Drepper <drepper@cygnus.com>
708
9f9914af
UD
709 * iconvdata/testdata/CP1254: Update for charmap changes.
710 * iconvdata/testdata/CP1254..UTF8: Likewise.
711 * iconvdata/testdata/CP1255: Likewise.
712 * iconvdata/testdata/CP1255..UTF8: Likewise.
713 * iconvdata/testdata/CP1256: Likewise.
714 * iconvdata/testdata/CP1256..UTF8: Likewise.
715 * iconvdata/testdata/CP1257: Likewise.
716 * iconvdata/testdata/CP1257..UTF8: Likewise.
717
99179803
UD
718 * iconvdata/Makefile (distribute): Remove cp1258.h.
719 (gen-8bit-gap-modules): Add cp1258.
720 * iconvdata/cp1258.h: Removed.
721
72188776
UD
7221999-03-30 Ulrich Drepper <drepper@cygnus.com>
723
724 * timezone/tst-timezone.c (tests): Add more cases.
725 (check_tzvars): Mark errors clearer.
726 (main): Likewise.
727
71e5d196
UD
7281999-03-30 20:59 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
729
730 * login/programs/pt_chown.c: Drop privileges if invoked with
731 arguments. Don't close the master pty.
732
d3345073
UD
7331999-03-30 Ulrich Drepper <drepper@cygnus.com>
734
735 * time/tzfile.c (__tzfile_read): Process transitions from the rear.
736 Minor optimization.
737
57de5037
UD
7381999-03-29 Ulrich Drepper <drepper@cygnus.com>
739
740 * elf/rtld.c (process_envvars): Do not automatically prevent lazy
741 relocation for SUID binaries.
742
155eae1d
AS
7431999-03-29 Paul Eggert <eggert@twinsun.com>
744
745 * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
746 while in child process.
747
ae6b8730
RH
7481999-03-29 Jakub Jelinek <jj@ultra.linux.cz>
749
750 * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
751 * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
752 * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
753 * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
754 * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
755
756 * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
757 * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
758 * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
759 * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
760 * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
761 * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
762 * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
763 * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
764 * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
765 * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
766 * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
767 * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
768 * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
769 * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
770 * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
771 * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
772 * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
773 * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
774 * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
775 * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
776 * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
777 * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
778 * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
779 * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
780 * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
781 * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
782
783 * sysdeps/sparc/sparc32/bcopy.c: New file.
784 * sysdeps/sparc/sparc32/bzero.c: New file.
785 * sysdeps/sparc/sparc32/memchr.S: New file.
786 * sysdeps/sparc/sparc32/memcpy.S: New file.
787 * sysdeps/sparc/sparc32/memmove.c: New file.
788 * sysdeps/sparc/sparc32/memset.S: New file.
789 * sysdeps/sparc/sparc32/stpcpy.S: New file.
790 * sysdeps/sparc/sparc32/strchr.S: New file.
791 * sysdeps/sparc/sparc32/strrchr.c: New file.
792 * sysdeps/sparc/sparc32/strcpy.S: New file.
793 * sysdeps/sparc/sparc32/strlen.S: New file.
794 * sysdeps/sparc/sparc32/strcat.S: New file.
795 * sysdeps/sparc/sparc32/strcmp.S: New file.
796
797 * sysdeps/sparc/sparc64/bcopy.c: New file.
798 * sysdeps/sparc/sparc64/bzero.c: New file.
799 * sysdeps/sparc/sparc64/memchr.S: New file.
800 * sysdeps/sparc/sparc64/memcmp.S: New file.
801 * sysdeps/sparc/sparc64/memcpy.S: New file.
802 * sysdeps/sparc/sparc64/memset.S: New file.
803 * sysdeps/sparc/sparc64/stpcpy.S: New file.
804 * sysdeps/sparc/sparc64/strcat.S: New file.
805 * sysdeps/sparc/sparc64/strchr.S: New file.
806 * sysdeps/sparc/sparc64/strcmp.S: New file.
807 * sysdeps/sparc/sparc64/strcpy.S: New file.
808 * sysdeps/sparc/sparc64/strcspn.S: New file.
809 * sysdeps/sparc/sparc64/strlen.S: New file.
810 * sysdeps/sparc/sparc64/strncpy.S: New file.
811 * sysdeps/sparc/sparc64/strpbrk.S: New file.
812 * sysdeps/sparc/sparc64/strrchr.c: New file.
813 * sysdeps/sparc/sparc64/strspn.S: New file.
814 * sysdeps/sparc/sparc64/stpncpy.S: New file.
815 * sysdeps/sparc/sparc64/strncmp.S: New file.
816
817 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
818 Append -fPIC, don't replace.
819
820 * configure.in: Recognize sparcv8plus / sparcv9.
821
b4751608
AS
8221999-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
823
824 * malloc/obstack.h (obstack_free): Explicitly convert __obj to
825 char * to avoid C++ warning.
826 Patch by yasushi@cs.washington.edu [PR libc/1035].
827
8281999-03-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
829
830 * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
831 declared in stdlib.h, correct return value of mkstemp.
832 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
833
834 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
835 from Linux 2.2.5.
836
bce4e800
AS
8371999-03-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
838
57de5037 839 * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
b4751608
AS
840 C++ warning.
841
bce4e800
AS
842 * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
843 inline functions. Closes PR libc/1049.
844
b9f1792a
AS
8451999-03-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
846
847 * timezone/README: Update from tzdata1999c and tzcode1999c.
848
849 * timezone/africa: Update from tzdata1999c.
850 * timezone/antarctica: Likewise.
851 * timezone/asia: Likewise.
852 * timezone/australasia: Likewise.
853 * timezone/europe: Likewise.
854 * timezone/northamerica: Likewise.
855 * timezone/southamerica: Likewise.
856 * timezone/zone.tab: Likewise.
857
858 * timezone/zic.c: Update from tzcode1999c.
859
3c022f42
AS
8601999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
861
862 * Makerules: Add $(common-objpfx)Versions.all to common-generated
863 outside of ifndef avoid-generated.
864
865 * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
866 in iofdopen.c.
867 * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
868 iofopen.c.
869 * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
870 in iofclose.c.
871 * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
872 _IO_old_file_seekoff): Bring over recent changes in fileops.c.
873
d782afad
RM
8741999-03-26 Mark Kettenis <kettenis@gnu.org>
875
876 * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
877 if we build the profiled library.
878
080f7c58 8791999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7ddfa374
AS
880
881 * math/Makefile (gmp-objs): Add inlines. Reported by Andreas
080f7c58 882 Jaeger <aj@arthur.rhein-neckar.de>
7ddfa374 883
080f7c58 8841999-03-25 Roland McGrath <roland@yaumatei.ai.mit.edu>
0d29d6d6
RM
885
886 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
887 (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
888 This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
889
9ba5483d
RM
8901999-03-24 Roland McGrath <roland@baalperazim.frob.com>
891
892 * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
893 works properly in subdirs.
894
5407f442
RM
8951999-03-23 Roland McGrath <roland@baalperazim.frob.com>
896
897 * sysdeps/mach/hurd/Makefile: Undo last change.
898 [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
899 [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
900
901 * mach/Machrules (+preinit, +postinit, +interp,
902 LDFLAGS-$(interface.so)): Variables removed. Interface libraries get
903 linked just like other shared libraries.
904 (interface.so): Fix typo in defn, so it works.
905 ($(objpfx)$(interface.so)): Make it depend on libc.so.
906
7aff0002
RM
9071999-03-21 Roland McGrath <roland@baalperazim.frob.com>
908
909 * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
910 $(link-rpcuserlibs).
911
9f2a9248
AS
9121999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
913
914 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
915 $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
916 targets if not building shared libraries.
917
080f7c58 9181999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2f512715
AS
919
920 * configure.in: Also look in $PATH when searching for
080f7c58
UD
921 install-info. Remove autoconf bug workaround and require autoconf
922 2.13.
2f512715 923
19b54427
AS
9241999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
925
926 * db/Makefile: Don't try to install shared library link if not
927 building with shared libs.
928
df455ccb
AS
9291999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
930
931 * rt/Makefile: Link against static library if no shared lib is
932 available.
933
934 * localedata/Makefile: The shells scripts implementing the test
080f7c58
UD
935 require the dynamic linker which is not available with
936 --disable-shared. Skip the test if --disable-shared is given.
df455ccb 937
7aff0002 938 * linuxthreads/Makefile: Link test against static libpthread if no
080f7c58 939 shared lib is available.
df455ccb
AS
940
941 * iconvdata/Makefile (tests): Run iconv-test only if we're
942 building shared libraries.
943 * elf/Makefile (tests): Likewise for elf tests.
944
945 * posix/Makefile: The test frameworks globtest and wordexp-test
946 require the dynamic linker which is not available with
947 --disable-shared. Skip the test if --disable-shared is given.
948
949 * grp/Makefile (otherlibs): For static nss build link against
950 necessary libs.
951
bfe1b528
AS
9521999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
953
954 * debug/Makefile (install-bin): Install and build catchsegv only
955 if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR
956 libc/965].
957
d16e36e0
AS
9581999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
959
960 * time/tzfile.c (__tzfile_read): Handle the case where there are
961 transitions but no DST.
962
e10cd1dc
RM
9631999-03-20 Roland McGrath <roland@baalperazim.frob.com>
964
965 * mach/Machrules (extra-libs-others): Add $(interface-library) here
966 too, so it gets built in the others pass rather than the lib pass.
967 This is necessary since the RPC libraries need to be linked against
968 libc.
969
007241f3
RM
9701999-03-19 Roland McGrath <roland@baalperazim.frob.com>
971
972 * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
973 _itoa_word decl.
974
975 * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
976 ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
977 ($(link-rpcuserlibs)): New static pattern rule; link intermediate
978 versions of lib{mach,hurd}user.so without reference to libc.so,
979 then link libc.so against that to get deps and symbol versions, then
980 finally link real lib*user.so against libc.so.
981
982 * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
983 Support whole-file locking (only) by using the file_lock RPC. This
984 has very wrong semantics, but is better than nothing for the time
985 being. (Correct POSIX.1 locking will require new RPCs in the Hurd
986 protocols that will be somewhat hairy to specify.)
987
9881999-03-17 Mark Kettenis <kettenis@gnu.org>
989
990 * sysdeps/mach/hurd/ptsname.c: New file.
991
c2965673
AS
9921999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
993
994 * timezone/asia: Fix rule in Asia/Nicosia entry.
995
ec23315f
AS
9961999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
997
998 * manual/getopt.texi (Using Getopt): Explain "::" in option
999 string. Reported by Yuri Niyazov <yuricake@geocities.com>.
1000
d1275afe
AS
10011999-03-18 Thorsten Kukuk <kukuk@suse.de>
1002
1003 * sunrpc/clnt_unix.c: Fix creation of parameters for
080f7c58 1004 sendmsg/recvmsg on non intel platforms.
d1275afe
AS
1005 * sunrpc/svc_unix.c: Likewise.
1006
6fc8f783
AS
10071999-03-18 Philip Blundell <philb@gnu.org>
1008
007241f3 1009 * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386
6fc8f783
AS
1010 implementation.
1011
b21c5832
AS
10121999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1013
1014 * timezone/africa: Update from tzdata1999b.
1015 * timezone/asia: Likewise.
1016 * timezone/australasia: Likewise.
1017 * timezone/europe: Likewise.
1018 * timezone/northamerica: Likewise.
1019 * timezone/southamerica: Likewise.
1020 * timezone/zone.tab: Likewise.
1021
1022 * timezone/README: Mention tzdata1999b.
1023
f2a37858
UD
10241999-03-17 Ulrich Drepper <drepper@cygnus.com>
1025
1026 * sysdeps/generic/segfault.c (write_strsignal): New function.
1027 (catch_segfault): Use it instead of calling strsignal.
1028
e573146a
UD
10291999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1030
1031 * iconv/gconv.c (__gconv): Change type of last_start to unsigned
1032 char to avoid warning.
1033
97e94e49
UD
10341999-03-15 Ulrich Drepper <drepper@cygnus.com>
1035
1036 * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
1037
1038 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
1039 outbuf to unsigned char to avoid warning.
1040
2c8aeff8
UD
10411999-03-11 David S. Miller <davem@redhat.com>
1042
1043 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
1044 masks.
1045 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
1046
b117f744
UD
10471999-03-15 Ulrich Drepper <drepper@cygnus.com>
1048
1049 * iconv/gconv.h (gconv_fct): Change parameter from `char' to
1050 `unsigned char'.
1051 (gconv_step_data): Likewise.
1052 * iconv/gconv_int.h (__gconv): Likewise.
1053 (__BUILINT_TRANS): Likewise.
1054 * iconv/gconv.c (__gconv): Likewise.
1055 * iconv/iconv.c (iconv): Add casts for call of __gconv.
1056 * iconv/skeleton.c: Change local parameters and variable from `char' to
1057 `unsigned char'. Remove casts from calls into modules.
1058 * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
1059 `char' to `unsigned char'.
1060 * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
1061 * wcsmbs/mbrtowc.c: Likewise.
1062 * wcsmbs/mbsnrtowcs.c: Likewise.
1063 * wcsmbs/mbsrtowcs.c: Likewise.
1064 * wcsmbs/wcrtomb.c: Likewise.
1065 * wcsmbs/wcsnrtombs.c: Likewise.
1066 * wcsmbs/wcsrtombs.c: Likewise.
1067 * wcsmbs/wctob.c: Likewise.
1068
488c6a32
RM
10691999-03-15 Mark Kettenis <kettenis@gnu.org>
1070
1071 * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
1072 __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
1073 __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
1074 __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
1075 __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
1076 __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
1077
d012636f
RM
10781999-03-15 Mark Kettenis <kettenis@gnu.org>
1079
1080 * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
1081 _hurd_select if TIMEMOUT is -1.
1082
10831999-03-15 Mark Kettenis <kettenis@gnu.org>
1084
1085 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
1086
983b29ed
UD
10871999-03-15 Ulrich Drepper <drepper@cygnus.com>
1088
1089 * elf/dl-load.c: Compute rtld_search_dir array size correctly.
1090 Reported by Yasushi Saito <yasushi@cs.washington.edu>.
1091
d1987d2d
UD
10921999-03-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1093
1094 * manual/libc.texinfo: Undo last change for now.
1095
b0377551
UD
10961999-03-15 Ulrich Drepper <drepper@cygnus.com>
1097
1098 * intl/locale.alias: Add entries for Croatian.
1099 Patch by Tomislav Vujec <tvujec@CARNet.hr>.
1100
336dfb2d
UD
11011999-03-13 Mark Kettenis <kettenis@gnu.org>
1102
1103 * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
1104 if the opened master pty really is a pty. `isatty' checks for
1105 tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE
1106 if we are out of pty's.
1107
11081999-03-13 Mark Kettenis <kettenis@gnu.org>
1109
1110 * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
1111 opened file is closed on exec.
1112 * login/utmp_daemon.c (setutent_daemon): Likewise for the just
1113 opened socket.
1114
11151999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1116
1117 * manual/llio.texi (File Position Primitive): Reformat @end
1118 command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
1119
cb9245ba
UD
11201999-03-14 Ulrich Drepper <drepper@cygnus.com>
1121
336dfb2d
UD
1122 * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
1123 entry is found.
1124 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1125 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
1126
cb9245ba
UD
1127 * locale/programs/localedef.c (main): Initialize `cat' to please
1128 the compiler.
1129
108b08c0
RM
11301999-03-14 Roland McGrath <roland@baalperazim.frob.com>
1131
1132 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
1133 check for root-owned symlinks and reject them too.
1134
91ea72b7
UD
11351999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1136
1137 * stdio-common/printf_fphex.c: Move to ...
1138 * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of
1139 extended precision number.
1140 * sysdeps/m68k/printf_fphex.c: New file.
1141
11421999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1143
1144 * manual/stdio.texi: Fix typos.
1145
11c293e1
UD
11461999-03-09 Ulrich Drepper <drepper@cygnus.com>
1147
1148 * version.h (VERSION): Bump to 2.1.1.
1149
16a2ea64
UD
11501999-03-09 Thorsten Kukuk <kukuk@suse.de>
1151
1152 * nis/ypclnt.c: Try only twice to connect to NIS server.
1153
ee336c20
RM
11541999-03-09 Roland McGrath <roland@baalperazim.frob.com>
1155
1156 * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
1157
5be4316e
UD
11581999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1159
1160 * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
1161 (DENORM_EXP): New define. Use it as the exponent for a denormal.
1162 * stdlib/strtold.c: Moved to ...
1163 * sysdeps/generic/strtold.c: ... here.
1164 * sysdeps/m68k/strtold.c: New file.
1165
11661999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1167
1168 * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
1169 point if the precision is zero, even if the mantissa is non-zero.
1170
1d67062e
RM
11711999-03-09 Roland McGrath <roland@baalperazim.frob.com>
1172
1173 * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
1174 arguments into the request message buffer inside `send_rpc'
1175 subfunction. We must repeat the marshalling when retrying the RPC
1176 after a SIGTTOU delivery.
1177
1178 * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
1179 path when there is no ctty port.
1180 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
1181 Move sigstate check inside loop so we recheck after handling a signal.
1182
27e309c1
UD
11831999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1184
1185 * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
1186 O_EXLOCK are BSD extensions.
1187 Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
1188
57b4b78a
UD
11891999-03-08 Ulrich Drepper <drepper@cygnus.com>
1190
1191 * manual/signal.texi (Termination in Handler): Correct example.
1192 Install default handler before reraising the signal.
1193 Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
1194
dec87ebe
RM
11951999-03-08 Roland McGrath <roland@baalperazim.frob.com>
1196
1197 * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
1198 null, in which case send an empty string.
1199
b93492aa
UD
12001999-03-02 Mark Kettenis <kettenis@gnu.org>
1201
1202 * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
1203 backward compatibility EH functions to be linked when using
1204 gcc-2.8.1. Patch by Zack Weinberg <zack@rabi.columbia.edu>.
1205
7d1de115
UD
12061999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1207
1208 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
1209 /dev/pts status may change during runtime.
1210
12111999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1212
1213 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
1214 change. /dev/pts status can change during runtime.
1215
12161999-03-07 Thorsten Kukuk <kukuk@suse.de>
1217
1218 * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
1219 poll reports error.
1220 * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
1221 add some more sanity checks.
1222 * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
1223 parser prototype.
1224
12251999-03-05 Thorsten Kukuk <kukuk@suse.de>
1226
1227 * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
1228 change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
1229 * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
1230 * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
1231 * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
1232 for x_getint32.
1233 * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
1234 * nis/nis_print.c: Fix ctime argument for platforms where
1235 sizeof (time_t) != sizeof (int).
1236
598b5dc2
RM
12371999-03-07 Mark Kettenis <kettenis@gnu.org>
1238
1239 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
1240 CLOCKS_PER_SEC instead of CLK_TCK.
1241
c277d2e5
UD
12421999-03-05 Ulrich Drepper <drepper@cygnus.com>
1243
aad20af4
UD
1244 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
1245 whether /dev/pts is available.
1246 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
1247 dev_pts_available.
1248
c277d2e5
UD
1249 * posix/globtest.sh: Make common_objpfx path absolute and and db2
1250 and hesiod directory to library path [PR libc/1007].
1251
ad792af7
UD
12521999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1253
1254 * resolv/inet_addr.c (inet_aton): Don't allow componets >
7d1de115 1255 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
ad792af7 1256
346af50a
UD
12571999-03-05 Geoff Keating <geoffk@ozemail.com.au>
1258
1259 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
1260 DT_PLTGOT has already been relocated.
1261 (__elf_machine_fixup_plt): Likewise.
1262 Minor cleanups.
1263
809d570d
RM
12641999-03-04 Roland McGrath <roland@baalperazim.frob.com>
1265
1266 * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
1267
e4d0709f
UD
12681999-03-03 Ulrich Drepper <drepper@cygnus.com>
1269
1270 * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
1271 and fold string to uppercase [PR libc/1005].
1272
d52852da
UD
12731999-03-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1274
1275 * elf/dl-load.c (lose): Fix return type.
1276
171511ec
RM
12771999-03-03 Roland McGrath <roland@baalperazim.frob.com>
1278
1279 * sysdeps/mach/hurd/bits/fcntl.h
1280 [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
1281 * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
1282 set O_NOTRANS as well.
1283 (__hurd_file_name_lookup_retry): At successful end of lookup,
1284 if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
1285 it is a translated node not owned by root.
1286 (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
1287 on the file name passed to LOOKUP.
1288
9af2e76f
UD
12891999-03-02 Ulrich Drepper <drepper@cygnus.com>
1290
1291 * manual/time.texi (High Resolution Timer): Correct computation in
1292 example. Reported by jjf@devel.cemsys.com.
1293
d77fad15
UD
12941999-03-02 Philip Blundell <pb@nexus.co.uk>
1295
1296 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
1297 entry is already relocated.
1298
6dc25b55
UD
12991999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1300
1301 * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported
1302 by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
1303
9f6b6d8d
UD
13041999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1305
1306 * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
1307 uc_link which is the right name according to Unix98.
1308 Reported by Craig Metz [PR libc/1001].
1309 * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
1310 * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
1311 * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
1312 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
1313 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise
1314 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
1315
407a7d0e
UD
13161999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1317
1318 * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
1319 @ifinfo.
1320
13211999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1322
1323 * iconvdata/Makefile: Always include iconv-rules, but disable rule
1324 to regenerate it if avoid-generated.
1325
1326 * Makeconfig: Always include sys-dirs, but disable rule to
1327 regenerate it when avoid-generated.
1328
1329 * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
1330 rule to generate sysd-syscalls.
1331
1332 * elf/Makefile (generated): Remove $(objpfx) from names.
1333
5615c549
RM
13341999-02-28 Mark Kettenis <kettenis@gnu.org>
1335
1336 * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
1337 actual length if the adress length is smaller than the input
1338 value. Change type of *LEN paramater to socklen_t.
1339 * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
1340 * sysdeps/mach/hurd/accept.c (accept): Likewise.
1341 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
1342 * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
1343 paramater to socklen_t.
1344
813de3b3
RM
13451999-02-28 Roland McGrath <roland@baalperazim.frob.com>
1346
1347 * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
1348 msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
1349 with the RPC.
1350
e8f51d56
RM
13511999-02-27 Roland McGrath <roland@baalperazim.frob.com>
1352
1353 * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
1354 __get_phys_pages): Cast &HBI to silence warning.
1355
1356 * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
1357 * hurd/hurdchdir.c: New file.
1358 * hurd/hurdfchdir.c: New file.
1359 * sysdeps/mach/hurd/chroot.c: Call
1360 _hurd_change_directory_port_from_name to do the work.
1361 * sysdeps/mach/hurd/chdir.c: Likewise.
1362 * sysdeps/mach/hurd/fchdir.c: Call
1363 _hurd_change_directory_port_from_fd to do the work.
1364 * hurd/fchroot.c: Likewise.
1365 * hurd/hurd.h: Declare them.
1366
928ab888
UD
13671999-02-27 Ulrich Drepper <drepper@cygnus.com>
1368
1369 * elf/dl-load.c (lose): Add more comments to explain the `why'.
1370 (_dl_map_object): Remove redundant test.
1371
e4950117
RM
13721999-02-27 Roland McGrath <roland@baalperazim.frob.com>
1373
1374 * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
1375 try to _hurd_port_free a lower-numbered descriptor that was not in any
1376 fd_set.
1377
521c0ad5
UD
13781999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1379
1380 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
1381 declaration for ____wcstod_l_internal.
1382
1383 * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
1384 __strtod_internal prototype.
1385 * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
1386 (____strtold_l_internal): Add prototype declaration.
1387 (__strtold_l): Call correct function.
1388
1ff283cb
UD
13891999-02-24 Ulrich Drepper <drepper@cygnus.com>
1390
1391 * elf/elf.h: Add 32bit HPPA definitions.
1392
9a51759b
UD
13931999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1394
1395 * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
1396 non-checked heap is restored when malloc checking was requested by
1397 the user.
1398 (struct malloc_state): Add using_malloc_checking.
1399 (MALLOC_STATE_VERSION): Increment minor.
1400 (using_malloc_checking, disallow_malloc_check): New variables.
1401 (__malloc_check_init): Use them.
1402 (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
1403 that it can the chunk is properly instrumented when malloc
1404 checking is enabled. Set the new using_malloc_checking field.
1405 (malloc_hook_ini): Correct signature when _LIBC is not defined.
1406
14071999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1408
1409 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
1410 (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
1411 time.
1412
1413 * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
1414 Don't call elf_get_dynamic_info and _dl_setup_hash a second time
1415 if ld.so is the main program.
1416
afe426a0
UD
14171999-02-23 Ulrich Drepper <drepper@cygnus.com>
1418
9a51759b 1419 * stdio-common/vfprintf.c (vfprintf): If precision or width is too
afe426a0
UD
1420 large for work_buffer, allocate new buffer.
1421 (printf_unknown): Likewise. [PR libc/988]
1422
4985fb53
UD
14231999-02-22 Ulrich Drepper <drepper@cygnus.com>
1424
1425 * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
1426 instead of stat and fstat.
1427 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1428
3f933dc2
UD
14291999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1430
1431 * elf/dl-error.c (_dl_signal_cerror): New function.
1432 (_dl_signal_error): Don't call receiver function.
1433 * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
1434 instead of _dl_signal_error when reporting references to undefined
1435 symbols or versions.
1436 (_dl_lookup_versioned_symbol): Likewise.
1437 (_dl_lookup_versioned_symbol_skip): Likewise.
1438 * elf/dl-version.c (match_symbol): Likewise.
1439
1440 * elf/ldsodefs.h: Declare _dl_signal_cerror.
1441
69b3b3cb
UD
14421999-02-22 Ulrich Drepper <drepper@cygnus.com>
1443
3f933dc2
UD
1444 * misc/getttyent.c (getttyent): Release lock on stream later to
1445 also protect global variable zapchar.
1446
69b3b3cb
UD
1447 * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
1448 __times [PR libc/990].
1449
555d4c58
UD
14501999-02-21 David S. Miller <davem@redhat.com>
1451
1452 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
1453 parentheses in Feb 2 changes.
1454 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
1455
13f2ac59
UD
14561999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1457
1458 * sysdeps/generic/glob.c (glob): Save previous errno.
1459
f6b56b55
UD
14601999-02-21 Ulrich Drepper <drepper@cygnus.com>
1461
1462 * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
1463 lookup functions if it is too small.
1464
57846308
UD
14651999-02-20 Ulrich Drepper <drepper@cygnus.com>
1466
ad9570d7
UD
1467 * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
1468 for tracing to the scope lists.
1469 * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
1470 DT_SYMTAB is always available according to ELF spec.
1471
2f6164e2
UD
1472 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
1473 call test whether there is any scope left.
1474 (_dl_lookup_versioned_symbol_skip): Likewise.
1475
a0e3f6f4
UD
1476 * elf/Makefile (distribute): Add do-lookup.h.
1477 * elf/do-lookup.h: New file. Split out from dl-lookup.c.
1478 * elf/dl-lookup.c: Move do_lookup function in separate file and
1479 include the file twice, for handling versioning and without it.
1480
7796221a
UD
1481 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
1482 entry is already relocated.
1483 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
1484 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
1485 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
1486 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
1487 Likewise.
1488 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
1489 Likewise.
1490 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
1491 Likewise.
1492
f420344c
UD
1493 * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
1494 load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
1495 DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
1496 (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
1497 rel and rela relocations can both happen and skip one test if this
1498 is not possible.
1499 (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
1500 appropriately.
1501 * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
1502 already relocated.
1503 * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
1504 relocated.
1505 * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
1506 (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
1507 (_dl_map_object): DT_STRTAB entry is already relocated.
1508 * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
1509 already relocated.
1510 * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
1511 relocated.
1512 * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
1513 DT_VERSYM entries are already relocated.
1514 (profile_fixup): Likewise.
1515 * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace
1516 all users.
1517 (match_symbol): DT_STRTAB entry is already relocated.
1518 (_dl_check_map_versions): Likewise. Also fo DT_VERSYM.
1519 * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
1520 relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated.
1521 * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
1522 (find_needed): DT_STRTAB entry is already relocated.
1523 (dl_main): Pass extra argument to elf_get_dynamic_info.
1524 DT_STRTAB entry is already relocated.
1525 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
1526 DT_PLTGOT entries are already relocated.
1527 (elf_machine_rela): Likewise for DT_SYMTAB.
1528 * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
1529 relocated.
1530 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1531 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
1532 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
1533 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1534 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
1535 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
1536 (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
7796221a 1537 * sysdeps/mips/mips64/dl-machine.h: Likewise.
f420344c
UD
1538
1539 * grp/initgroups.c (initgroups): If function in current module was
1540 successful don't stop but continue to process to get all the groups.
1541
24d60840
UD
1542 * elf/dl-load.c (_dl_map_object_from_fd): Use global
1543 _dl_pf_to_proot array to convert p_flags value.
1544 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1545
57846308
UD
1546 * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
1547 loop to clear `info'.
1548
1549 * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
1550 do the work and don't use inline assembler.
1551
126b06f9
UD
15521999-02-19 Ulrich Drepper <drepper@cygnus.com>
1553
1554 * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
1555 * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
1556 noreturn, and prevent it from being inlined.
1557 Define LOSE appropriately.
1558 (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
1559 Optimize decoding of p_flags for certain platforms.
1560
4ac5087b
UD
15611999-02-19 Philip Blundell <pb@nexus.co.uk>
1562
1563 * Makeconfig (link-libc): When doing a static link, make sure that
1564 libgcc.a is included both before and after libc.a.
1565
b378b9f9
UD
15661999-02-18 Thorsten Kukuk <kukuk@suse.de>
1567
1568 * nis/nss_compat/compat-spwd.c: Fix handling of default values for
1569 sp_warn, sp_inact, sp_expire and sp_flag.
1570
d629bcec
UD
15711999-02-18 Ulrich Drepper <drepper@cygnus.com>
1572
61e0617a
UD
1573 * elf/link.h (link_map): Add l_dev and l_ino.
1574 * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
16b0f634 1575 loaded shared object with all loaded objects. Initialize l_ino
61e0617a
UD
1576 and l_dev in case it's new.
1577 * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
1578 object.
1579 * elf/Makefile: Compile and run new test.
1580 * elf/multiload.c: New file.
1581
1a989e00
UD
1582 * nss/nsswitch.h (service_user): Change name field from const char *
1583 to char[0].
1584 (name_database_entry): Likewise.
1585 * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
1586 for change of `service_user'.
1587 (nss_getline): Adjust memory allocation for change of
1588 `name_database_entry'.
1589
ed3b44d3
UD
1590 * catgets/catgets.c: Correctly handle NLSPATH from environment
1591 [PR libc/980].
1592
d629bcec
UD
1593 * io/Makefile (routines): Add lock64.
1594 * io/Versions: Add lockf64 for GLIBC_2.1.1.
1595 * sysdeps/generic/lockf64.c: New file.
1596
5fdc5ad7
UD
15971999-02-16 Ulrich Drepper <drepper@cygnus.com>
1598
1599 * string/bits/string2.h: Only use strncmp optimization if count
1600 argument is constant.
1a989e00 1601
6686d05a
RM
16021999-02-16 Roland McGrath <roland@baalperazim.frob.com>
1603
1604 * sysdeps/mach/hurd/revoke.c: New file.
1605
ff827339
UD
16061999-02-16 Ulrich Drepper <drepper@cygnus.com>
1607
1608 * wctype/wctype.h (_ISwbit): Cast result of shift operations to
1609 int to avoid warning about `ISO C restricts enumerator values to
1610 range of `int''.
1611
3f80a33b
UD
16121999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1613
1614 * elf/dlfcn.h: Fix typo.
1615 * sysdeps/generic/bits/dlfcn.h: Likewise.
1616 * sysdeps/mips/bits/dlfcn.h: Likewise.
1617
4811cda9
UD
16181999-02-16 Ulrich Drepper <drepper@cygnus.com>
1619
7cd1708f
UD
1620 * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
1621 for the case N == 0.
1622
1623 * db2/Makefile (distribute): Add LICENSE.
4811cda9 1624
9677f17a
UD
16251999-02-03 Jeff Bailey <jbailey@nisa.net>
1626
1627 * sysdeps/unix/make_errlist.c: Add i18n and copyright to
1628 generated files.
1629
1630 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
1631
bc03c49e
UD
16321999-02-16 Ulrich Drepper <drepper@cygnus.com>
1633
eda78eec
UD
1634 * time/mktime.c: Use ISO C form for function definitions and
1635 remove unnecessary prototypes.
1636
b09bb958
UD
1637 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
1638
bc03c49e
UD
1639 * time/time.h: Avoid unneccesary #ifdef.
1640
d112ae30
UD
16411999-02-15 Geoff Keating <geoffk@ozemail.com.au>
1642
1643 * stdio-common/_itoa.c (_itoa): Correct parameters to
1644 udiv_qrnnd_preinv.
1645
16461999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1647
1648 * misc/sys/cdefs.h: Undefine __PMT since it might be defined
1649 before (e.g. in glob.h).
1650 Closes PR libc/959.
1651
16521999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1653
1654 * sysdeps/mips/fpu_control.h: Fix typo.
1655 Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
1656 Remove __setfpucw.
1657
4d120c73
RM
16581999-02-10 Roland McGrath <roland@baalperazim.frob.com>
1659
1660 * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
1661 the "unused" ends of the sockets. Let pipes be bidirectional.
1662
98ad0700
UD
16631999-02-15 Ulrich Drepper <drepper@cygnus.com>
1664
1665 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
1666 invalid ai_flags.
1667
d07e37e2
UD
16681999-02-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1669
1670 * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by
1671 Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
1672
1673 * manual/setjmp.texi (Non-Local Exits and Signals): Fix
1674 typo. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
1675
a199ee5d
UD
16761999-02-15 Ulrich Drepper <drepper@cygnus.com>
1677
1678 * string/Versions: Add __strverscmp to GLIBC_2.1.1.
1679
0543cd26
UD
16801999-02-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1681
1682 * misc/syslog.c (vsyslog): Remember errno for %m format. Fix
1683 check for priority mask.
1684
6e0d277c
UD
16851999-02-14 Ulrich Drepper <drepper@cygnus.com>
1686
1687 * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
1688 Reported by Craig Metz <cmetz@inner.net> .
1689
b1195070
UD
16901999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1691
1692 * stdio-common/Makefile (tests): tllformat added.
1693
1694 * stdio-common/tllformat.c: New program, based on tiformat.c with
1695 examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1696
16971999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1698
1699 * posix/test-vfork.c: Fix exit status test.
1700
17011999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1702
1703 * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
1704 missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
1705
17061999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3634b070
AS
1707
1708 * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
1709 of separare explicit comparisons.
1710
5ff1a70a
UD
17111999-02-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1712
1713 * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
1714 defined.
1715
1716 * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
1717 defined.
1718
5512461f
UD
17191999-02-09 Ulrich Drepper <drepper@cygnus.com>
1720
1721 * po/el.po: Update from translation team.
1722
17231999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1724
1725 * intl/locale.alias: Fix slovenian entry [PR libc/948].
1726
17271999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1728
1729 * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
1730 * inet/ruserpass.c: Likewise.
1731 * locale/programs/stringtrans.c: Likewise.
1732 * locale/programs/localedef.c: Likewise.
1733 * nscd/grpcache.c: Likewise.
1734 * nss/nss_files/files-XXX.c: Likewise.
1735 * stdlib/canonicalize.c: Likewise.
1736 * sysdeps/posix/sigwait.c: Likewise.
1737
17381999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1739
1740 * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
1741 even on 64 bit platforms.
1742
1743 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
1744 Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
1745
4c95120e
UD
17461999-02-09 Ulrich Drepper <drepper@cygnus.com>
1747
1748 * intl/dcgettext.c: Include locale.h is available.
1749
82d0c099
UD
17501999-02-08 Ulrich Drepper <drepper@cygnus.com>
1751
c8184960
UD
1752 * po/nl.po: Update from translation team.
1753
037ff09f
UD
1754 * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
1755
c3c62655
UD
1756 * Makefile: Allow calling goals for po subdir.
1757
c56661df
UD
1758 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
1759 signal definitions.
1760
82d0c099
UD
1761 * po/el.po: New file.
1762
17631999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1764
1765 * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
1766 when processing DT_SYMBOLIC objects.
1767
17681999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1769
1770 * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
1771 program headers without PT_PHDR only require that they are
1772 contained within one of the loaded segments. Don't use assert,
1773 since that would be a bug in the object, not the dynamic linker.
1774
17751999-02-08 Richard Henderson <rth@cygnus.com>
1776
1777 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
1778 restore all call-clobbered fp regs.
1779
17f6d8b9
UD
17801999-02-08 Ulrich Drepper <drepper@cygnus.com>
1781
c18cec57
UD
1782 * po/cs.po: New file.
1783
17f6d8b9
UD
1784 * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
1785 SUID binaries.
1786
48f6496e
UD
17871999-02-07 Ulrich Drepper <drepper@cygnus.com>
1788
9395e889
UD
1789 * signal/signal.h: Don't declare __libc_allocate_rtsig.
1790 * include/signal.h: Declare __libc_allocate_rtsig here.
1791
48f6496e
UD
1792 * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
1793 point functions, not do_lookup since the later can be called more
1794 than once.
1795
e1f601e8
UD
17961999-02-03 Jakub Jelinek <jj@ultra.linux.cz>
1797
1798 * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
1799 macro, so that architectures which need to add some special
1800 offset to stack pointer can share this file.
1801
1802 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
1803 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
1804 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
1805 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
1806
1807 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
1808 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
1809 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
1810 between sparc32 and sparc64.
1811
1812 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
1813 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
1814 * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
1815 between sparc32 and sparc64.
1816
1817 * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
1818 * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
1819 * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
1820 between sparc32 and sparc64.
1821
1822 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
1823 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
1824 * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
1825 between sparc32 and sparc64.
1826
e518937a
UD
18271999-02-07 Ulrich Drepper <drepper@cygnus.com>
1828
1829 * Versions.def: New version GLIBC_2.1.1 for libc.
1830 * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
1831 * stdlib/labs.c: Moved to...
1832 * sysdeps/generic/labs.c: ...here.
1833 * stdlib/llabs.c: Moved to...
1834 * sysdeps/generic/llabs.c: ...here.
1835 * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
1836 header. Declare _Exit.
1837 * sysdeps/generic/_exit.c: Add alias _Exit.
1838 * sysdeps/mach/hurd/_exit.c: Likewise.
1839 * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
1840 * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
1841 * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
1842 * sysdeps/unix/_exit.c: Likewise.
1843 * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
1844 imaxdiv and imaxabs. Declare lldiv_t if necessary.
1845 * sysdeps/wordsize-64/inttypes.h: Likewise.
1846 * sysdeps/wordsize-32/llabs.c: New file.
1847 * sysdeps/wordsize-32/lldiv.c: New file.
1848 * sysdeps/wordsize-64/labs.c: New file.
1849 * sysdeps/wordsize-64/ldiv.c: New file.
1850 * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
1851 * manual/startup.texi: Document _Exit.
1852
18531999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1854
1855 * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
1856
8d8c6efa
UD
18571999-02-06 Ulrich Drepper <drepper@cygnus.com>
1858
1859 * Versions.def: Add versions for ld.so.
1860 * csu/Versions: Remove __libc_stack_end here.
1861 * elf/Versions: Split libc definitions in libc and ld.so definitions.
1862 * elf/Makefile (ld-map): Change to ld.so.map.
1863 * scripts/versions.awk: Recognize dot in library names.
1864
1865 * ctype/ctype.h: Remove definitions of __tolower and __toupper.
1866 Don't use __tolower and __toupper in inline functions.
1867 Add optimizing macros for tolower and toupper.
1868 * ctype/ctype-extn.c (_tolower): Don't use __tolower.
1869 (_toupper): Don't use __toupper.
1870 * ctype/ctype.c (tolower): Don't use __tolower.
1871 (toupper): Don't use toupper.
1872
1873 * nscd/cache.c (prune_cache): Correct printing of debugging messages.
1874
1875 * resolv/Versions (libresolv): Export __ns_name_unpack and
1876 __ns_name_ntop.
1877 * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
1878 make it global. Change all users. Similar for ns_name_ntop.
1879 * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
1880 user-provided buffer. Use __ns_name_unpack and __ns_name_ntop
1881 directly to detect too small buffer.
1882 * resolv/nss_dns/dns-network.c: Likewise.
4caef86c 1883
8d8c6efa
UD
1884 * stdio-common/Makefile (tests): Add scanf12.
1885 * stdio-common/scanf12.c: New file.
1886 * stdio-common/scanf12.input: New file.
1887 * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
1888 floating-point correctly if the number is invalid.
4caef86c 1889
8d8c6efa
UD
1890 * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
1891 functions.
4caef86c 1892 * stdio-common/printf_fp.c: Likewise.
f98b4bbd 1893 * stdio-common/printf_fphex.c: Likewise.
8d8c6efa 1894 * stdio-common/vfprintf.c: Likewise.
a2bde807 1895
a5f4e34a 1896
8d8c6efa 1897See ChangeLog.9 for earlier changes.