]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Update.
[thirdparty/glibc.git] / ChangeLog
1 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
2
3 * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap.
4 * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in
5 range of mmap. If not fail.
6 Patches by Daniel Jacobowitz <dan@debian.org>.
7
8 * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage
9 before the relocation happened.
10 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
11
12 * Versions.def (libnsl): Add GLIBC_2.2.
13 * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall.
14
15 1999-07-08 Cristian Gafton <gafton@redhat.com>
16
17 * nis/yp_xdr.c (xdr_ypall): New function.
18
19 1999-07-09 Andreas Schwab <schwab@suse.de>
20
21 * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h.
22
23 * dlfcn/Makefile (headers): Add bits/dlfcn.h.
24
25 1999-07-09 Ulrich Drepper <drepper@cygnus.com>
26
27 * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups.
28 * hesiod/hesiod-grp.c: Add initgroups support.
29 Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
30
31 1999-07-08 Andreas Schwab <schwab@suse.de>
32
33 * libio/iofopncook.c (fopencookie): Set _fileno to -2.
34
35 * libio/libioP.h (_IO_file_is_open): Only check for -1, not all
36 negative numbers.
37
38 * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not
39 EOF.
40 * libio/oldfileops.c (_IO_old_file_close_it): Likewise.
41
42 1999-07-08 Andreas Schwab <schwab@suse.de>
43
44 * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode.
45
46 1999-07-08 Andreas Schwab <schwab@suse.de>
47
48 * libio/fileno.c: Return -1 instead of EOF and set errno if the
49 stream is not a real file stream.
50
51 1999-07-08 Andreas Schwab <schwab@suse.de>
52
53 * manual/charset.texi: Fix typos.
54
55 1999-07-07 Ulrich Drepper <drepper@cygnus.com>
56
57 * sysdeps/gnu/Makefile (libdl-routines): Add eval.
58
59 1999-07-06 Zack Weinberg <zack@rabi.columbia.edu>
60
61 * dlfcn: New directory. Move the following files from elf:
62 dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c,
63 dlopenold.c, dlsym.c, dlvsym.c.
64 * dlfcn/Makefile: New file.
65 * dlfcn/Versions: New file.
66 * dlfcn/dlsym.c: All ELF-specific code split out to new
67 function _dl_sym.
68 * dlfcn/dlvsym.c: All ELF-specific code split out to new
69 function _dl_vsym.
70 * elf/dl-sym.c: New file. _dl_sym and _dl_vsym are
71 implemented here.
72
73 * dlfcn/dladdr.c: Remove all references to ELF data structures
74 or headers.
75 * dlfcn/dlclose.c: Likewise.
76 * dlfcn/dlerror.c: Likewise.
77 * dlfcn/dlopen.c: Likewise.
78 * dlfcn/dlopenold.c: Likewise.
79
80 * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is
81 yes, empty otherwise.
82 (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes,
83 depending on build-shared.
84 (subdirs): Add $(dlfcn).
85 (rpath-dirs): Add dlfcn.
86 * elf/Makefile: Remove all references to libdl or its
87 components, except the ones relating to the test cases.
88 (routines): Add dl-sym.
89 * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2.
90 (libdl): Delete.
91
92 * elf/dl-close.c (_dl_close): Change argument to void *.
93 * elf/dl-open.c (_dl_open): Change return type to void *.
94 * elf/eval.c: Removed.
95 * elf/ldsodefs.h: Move prototypes of _dl_catch_error,
96 _dlerror_run, _dl_open, _dl_close, _dl_addr, and
97 _dl_mcount_wrapper_check to include/dlfcn.h. Delete
98 _CALL_DL_FCT macro.
99 * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here.
100 Include real header from dlfcn directory.
101 * include/ldsodefs.h: Removed.
102
103 * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT.
104 * nss/getXXbyYY_r.c: Likewise.
105 * nss/getXXent_r.c: Likewise.
106 * iconv/gconv.c: Likewise. Don't include ldsodefs.h.
107 * iconv/gconv_db.c: Likewise. Don't include ldsodefs.h.
108 * iconv/skeleton.c: Don't include ldsodefs.h.
109 * nss/nsswitch.h: Don't include ldsodefs.h. Include dlfcn.h.
110
111 1999-07-07 Ulrich Drepper <drepper@cygnus.com>
112
113 * sysdeps/generic/setenv.c: Describe problem.
114
115 * malloc/malloc.c (request2size): Also set errno if failing.
116
117 * malloc/malloc.c (request2size): Take care of overflow in
118 addition.
119
120 * sysdeps/posix/getcwd.c: Correct last patch. Handle getcwd
121 (NULL, != 0) correctly.
122
123 * elf/dl-load.c: Use a few more __builtin_expect.
124
125 * sysdeps/posix/getcwd.c: When resizing buffer make sure new size
126 is large enough.
127
128 1999-07-07 Andreas Schwab <schwab@suse.de>
129
130 * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted.
131 (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
132 (_PATH_DEVPTMX): Use _PATH_DEV.
133
134 1999-07-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
135
136 * malloc/tst-malloc.c: New file. Tests some basic functionality.
137 * malloc/Makefile (tests): Add tst-malloc.
138
139 1999-07-06 Ulrich Drepper <drepper@cygnus.com>
140
141 * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new
142 convention.
143
144 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more
145 motherboards.
146 Patch by Jay Estabrook.
147
148 * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in
149 ldd for SPARC.
150 * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
151 Patch by Cristian Gafton.
152
153 1999-07-02 Cristian Gafton <gafton@redhat.com>
154
155 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0"
156 instead of "return NULL" to make C++ happy.
157
158 1999-07-04 Mark Kettenis <kettenis@gnu.org>
159
160 * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not
161 allowed by the file access mode of the open file.
162
163 1999-07-06 Ulrich Drepper <drepper@cygnus.com>
164
165 * sysdeps/generic/setfpucw.c: Include math.h to get all needed
166 macros defined.
167
168 1999-07-03 Jakub Jelinek <jj@ultra.linux.cz>
169
170 * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize.
171 * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize.
172 * sysdeps/sparc/sparc64/rshift.S: Likewise.
173 * sysdeps/sparc/sparc64/mul_1.S: Optimize.
174
175 1999-07-04 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
176
177 * malloc/malloc.c (request2size): Check for overflow and return
178 NULL whenever it is encountered.
179
180 1999-07-04 Zack Weinberg <zack@rabi.columbia.edu>
181
182 * sysdeps/posix/tempname.c (__gen_tempname): Add
183 ability to create directories. Replace OPENIT and LARGEFILE
184 args with a single flags parameter.
185 * sysdeps/generic/tempname.c: Likewise.
186 * include/stdio.h: Adjust prototype of __gen_tempname to
187 match. Define symbolic constants for second argument.
188
189 * misc/mkdtemp.c: New file, provides new function mkdtemp().
190 * stdlib/stdlib.h: Prototype it.
191 * misc/Versions: Export it.
192 * misc/Makefile (routines): Add mktemp.
193 * manual/filesys.texi: Document it.
194
195 * misc/mktemp.c: Adjust call of __gen_tempname to match new
196 convention.
197 * misc/mkstemp.c: Likewise.
198 * stdio-common/tempnam.c: Likewise.
199 * stdio-common/tmpfile.c: Likewise.
200 * stdio-common/tmpfile64.c: Likewise.
201 * stdio-common/tmpnam.c: Likewise.
202 * stdio-common/tmpnam_r.c: Likewise.
203
204 1999-07-05 Jakub Jelinek <jj@ultra.linux.cz>
205
206 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support
207 R_SPARC_OLO10 relocations.
208 * elf/elf.h (R_SPARC_OLO10): Fix comment.
209
210 1999-07-02 Tim Waugh <tim@cyberelk.demon.co.uk>
211
212 * posix/wordexp-test.c: Revert bogus 'unset IFS' change. It
213 doesn't belong in the tests, but in the wordexp implementation.
214
215 * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't
216 split fields.
217
218 1999-07-01 Cristian Gafton <gafton@redhat.com>
219
220 * time/strptime.c (strptime): Initialize the tm struct first to avoid
221 returning bogus results on incomplete data.
222 (strptime_internal): day_of_the_week() requres bith tm_mon and
223 tm_mday to be initializaed.
224 Computer them first if they are not given.
225 (strptime_internal): (have_mon, have_mday): New variables.
226
227 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
228
229 * inet/rcmd.c (__icheckhost): Fix typo in last patch.
230
231 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
232
233 * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
234 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
235
236 1999-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
237
238 * posix/wordexp.c (parse_tilde): Handle failing call to
239 get.*_r functions correctly for non-existing entry.
240 * sysdeps/posix/cuserid.c (cuserid): Likewise.
241 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
242
243 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
244
245 * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to
246 getxxbyYY_r functions correctly for non-existing entry.
247 * sunrpc/getrpcport.c: Likewise.
248 * sunrpc/clnt_simp.c: Likewise.
249 * inet/rexec.c: Likewise.
250 * sunrpc/clnt_gen.c: Likewise.
251 * inet/rcmd.c: Likewise.
252 * sysdeps/generic/glob.c: Likewise.
253
254 1999-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
255
256 * pwd/Makefile (tests): Add rules for tst-getpw.
257
258 * pwd/tst-getpw.c: New program to test getpw.
259
260 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
261
262 * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result
263 correctly.
264
265 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
266
267 * manual/arith.texi (System V Number Conversion): Fix the
268 description which confused pointer and value to pointer.
269 Reported by Andries.Brouwer@cwi.nl.
270
271 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
272
273 * pwd/getpw.c (__getpw): Check for NULL result pointer.
274
275 1999-06-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
276
277 * manual/users.texi (Lookup User): Document POSIX return
278 semantics for getpwuid_r and getgrgid_r.
279
280 * manual/socket.texi (Host Names): Document that the result
281 pointer is null in case of error or host not found and fix a
282 typo. Give a small example.
283
284 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
285
286 * pwd/getpw.c: Add warning since no buffer size is given and
287 therefore no overrun tests are possible.
288
289 1999-06-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
290
291 * pwd/pwd.h: Add getpw prototype declaration.
292
293 1999-06-30 Ulrich Drepper <drepper@cygnus.com>
294
295 * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
296 * wcsmbs/wcschr.c: Likewise.
297
298 1999-06-28 Ulrich Drepper <drepper@cygnus.com>
299
300 * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN
301 returns.
302 * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise.
303 * sysdeps/libm-ieee754/e_gammal_r.c: Likewise.
304 Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185].
305
306 * elf/dl-dst.h: Fix typo.
307 * elf/dl-open.c: Likewise.
308
309 1999-06-26 Zack Weinberg <zack@rabi.columbia.edu>
310
311 * elf/dl-libc.c: New file, provides three functions:
312 __libc_dlopen, __libc_dlclose, __libc_dlsym.
313 * include/dlfcn.h: Prototype them. Prototype _dl_addr.
314 * elf/Makefile (routines): Add dl-libc.c.
315 * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of
316 argument to void *.
317 * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match.
318
319 * iconv/gconv.c: Include dlfcn.h.
320 * iconv/gconv_db.c: Likewise.
321 * malloc/mtrace.c: Likewise. Don't include ldsodefs.h.
322
323 * iconv/gconv_int.h (struct __gconv_loaded_object): Change
324 `handle' to a void *.
325 (__gconv_find_func): Delete prototype.
326
327 * iconv/gconv_dl.c: Don't include ldsodefs.h. Remove
328 dlerror_run and related functions and structs. Use
329 __libc_dlopen, __libc_dlsym, __libc_dlclose.
330 * nss/nsswitch.c: Likewise.
331
332 1999-06-28 Ulrich Drepper <drepper@cygnus.com>
333
334 * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r
335 function correctly.
336
337 * sunrpc/getrpcport.c: Test for gethostbyname_r function
338 correctly.
339
340 * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly.
341
342 * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r
343 functions correctly.
344
345 * inet/rexec.c (rexec): Test for gethostbyname_r result correctly.
346
347 * inet/rcmd.c: Test for gethostbyname_r result correctly. Optimize
348 file reading a bit.
349
350 * sysdeps/generic/glob.c: Test for getpwnam_r result correctly.
351
352 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
353
354 * manual/string.texi (Copying and Concatenation): Mention that
355 strndup is a GNU extension.
356
357 1999-06-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
358
359 * pwd/getpw.c (__getpw): Fix check for error return.
360
361 1999-06-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
362
363 * elf/dl-deps.c (_dl_map_object_deps): When looking for the next
364 occurence of the aux object start with the current list entry, not
365 the new one. Adjust tail pointer in the unique list. Explain how
366 the meaning of the variables changes [PR libc/1168].
367
368 1999-06-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
369
370 * sysdeps/m68k/fpu/Dist: New file.
371
372 1999-06-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
373
374 * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal
375 definitions...
376 * sysdeps/m68k/fpu/mathimpl.h: ... here. New file.
377 * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h".
378 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
379 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
380 * sysdeps/m68k/fpu/e_pow.c: Likewise.
381 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
382 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
383 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
384 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
385 * sysdeps/m68k/fpu/s_csin.c: Likewise.
386 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
387 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
388 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
389 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
390 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
391 * sysdeps/m68k/fpu/s_modf.c: Likewise.
392
393 1999-06-25 Roland McGrath <roland@baalperazim.frob.com>
394
395 * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
396 hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
397 _EXTERN_INLINE, use a macro specific to each file,
398 _HURD_FD_H_EXTERN_INLINE and the like.
399 * hurd/Makefile (inline-headers): New variable.
400 (routines): Remove hurdinline. Add $(inlines).
401 (inlines): New variable.
402 ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
403 (generated): Append those here.
404 * hurd/hurdinline.c: File removed.
405
406 * sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
407
408 * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
409
410 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
411
412 * nscd/connections.c (nscd_run): Use correct type for optlen variable.
413
414 1999-06-25 Ulrich Drepper <drepper@cygnus.com>
415
416 * string/bits/string2.h (strnlen): Remove extra prototype.
417
418 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
419
420 * manual/filesys.texi (Working on Directory Trees): Fix typos.
421 Reported by Andries.Brouwer@cwi.nl.
422
423 1999-06-24 Ulrich Drepper <drepper@cygnus.com>
424
425 * nscd/connections.c (handle_request): Use correct type for optlen
426 variable.
427
428 * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
429 * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
430
431 1999-06-24 Thorsten Kukuk <kukuk@suse.de>
432
433 * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
434 * nscd/pwdcache.c: Likewise.
435 * nscd/hstcache.c: Likewise.
436
437 1999-06-23 Ulrich Drepper <drepper@cygnus.com>
438
439 * sysdeps/generic/fpu_control.c: Include math.h for __P definition.
440
441 * posix/getopt.h: Include stdio.h.
442
443 * manual/arith.texi: Document restriction of ndigit parameter of
444 ecvt and friends.
445 * misc/efgcvt.c: Define NDIGIT_MAX.
446 (gcvt): Limit precision in sprintf call to NDIGIT_MAX.
447 Do not dynamically allocate the static buffers. They are small enough.
448 * misc/efgcvt_r.c: Define NDIGIT_MAX.
449 (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX.
450 * misc/qefgcvt.c: Define NDIGIT_MAX.
451 * misc/qefgcvt_r.c: Likewise.
452 * misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
453
454 1999-06-23 Zack Weinberg <zack@rabi.columbia.edu>
455
456 * libio/stdio.h: Define stdin, stdout, stderr as macros.
457 * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.
458 These are *pragmas* not macros.
459 * wcsmbs/wchar.h: Fix comment.
460
461 * grp/grp.h: Use __foo_t_defined convention to typedef things
462 only once.
463 * io/sys/stat.h: Likewise.
464 * libio/stdio.h: Likewise.
465 * posix/unistd.h: Likewise.
466 * posix/sys/types.h: Likewise.
467 * posix/sys/wait.h: Likewise.
468 * pwd/pwd.h: Likewise.
469 * signal/signal.h: Likewise.
470 * sysdeps/generic/stdint.h: Likewise.
471 * sysdeps/gnu/utmpx.h: Likewise.
472 * termios/termios.h: Likewise.
473
474 1999-06-23 Ulrich Drepper <drepper@cygnus.com>
475
476 * stdio/fputc.c: Don't define alias if fputc is defined as a
477 macro.
478 * stdio/putc.c: Define weak alias here since it is not done
479 anymore in fputc.c.
480
481 1999-06-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
482
483 * assert/assert.h: Don't produce `defined' as part of macro
484 expansion.
485
486 1999-06-23 Roland McGrath <roland@baalperazim.frob.com>
487
488 * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
489 OFFSET argument of (off_t) -1.
490 * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
491 OFFSET argument of (off_t) -1.
492
493 * sysdeps/mach/hurd/pwrite.c: New file.
494 * sysdeps/mach/hurd/pread.c: New file.
495
496 * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
497 pass it in the RPC instead of always -1.
498 * hurd/fd-write.c (_hurd_fd_write): Likewise.
499 * hurd/hurd/fd.h: Update decls.
500
501 1999-06-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
502
503 * libio/wscanf.c: Include <wchar.h> for prototype.
504
505 1999-06-22 Ulrich Drepper <drepper@cygnus.com>
506
507 * manual/io.texi. Fix typos.
508 * manual/stdio.texi: Likewise.
509 Patches by Brian Youmans <3diff@gnu.org>.
510
511 1999-06-22 Geoff Keating <geoffk@ozemail.com.au>
512
513 * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
514 bits of two words differ.
515
516 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
517
518 * libio/Makefile (routines): Add putwchar and putwchar_u.
519
520 * libio/putwchar.c: Include <wchar.h> instead of "stdio.h".
521 * libio/putwchar_u.c: Likewise. Use _IO_stdout instead of
522 stdout. Fix parameter name.
523
524 * libio/getchar.c: Consistently use _IO_stdin instead of stdin.
525 * libio/getchar_u.c: Likewise.
526
527 * libio/putchar_u.c: Use _IO_stdout instead of stdout.
528
529 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
530
531 * include/features.h (__GNUC_PREREQ): Don't generate `defined' via
532 macro expansion---it's undefined. Properly parenthesize
533 substituted parameters.
534 (__GLIBC_PREREQ): Likewise.
535
536 1999-06-21 Ulrich Drepper <drepper@cygnus.com>
537
538 * Makeconfig (CPPFLAGS): Revert last change. It has too many
539 weird effects.
540
541 * stdlib/longlong.h: Provide __P definition if not already
542 defined.
543
544 * include/wchar.h: Use __gnuc_va_list not va_list in prototype.
545
546 1999-06-18 Thorsten Kukuk <kukuk@suse.de>
547
548 * sysdeps/alpha/atomicity.h: Correct counting of subsections.
549
550 1999-06-17 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
551
552 * stdlib/tst-strtoll.c: Avoid warning about huge constant.
553
554 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
555
556 * stdio-common/vfprintf.c (group_member): Make parameters and
557 return types pointers to CHAR_T instead of UCHAR_T.
558 (vfprintf): Change type of work_buffer, workend and string to
559 CHAR_T pointer/array.
560 (process_arg, process_string_arg): Adjust/remove casts. Add
561 missing use of L_ macro.
562 (printf_unknown): Add missing uses of L_ macro.
563
564 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
565
566 * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid
567 warning.
568
569 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
570
571 * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF. Call
572 _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode.
573 (__wunderflow): Likewise.
574 (_IO_switch_to_wget_mode): Likewise.
575 (_IO_init_wmarker): Likewise.
576
577 * libio/wfileops.c (_IO_wfile_seekoff): Call
578 _IO_switch_to_wget_mode, not _IO_switch_to_get_mode.
579 (_IO_wfile_jumps): Fix pbackfail entry.
580
581 * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf
582 function if the stream is currently unoriented.
583
584 1999-06-19 Zack Weinberg <zack@rabi.columbia.edu>
585
586 * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h.
587 Wrap all wide stream functions with #ifdef __USE_ISOC9X. Use
588 __gnuc_va_list in v*w(printf|scanf) prototypes.
589
590 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
591
592 * libio/oldiopopen.c (_IO_old_proc_open): Apply change from
593 1999-03-29 to iopopen also here.
594 Reported by Richard Braakman <dark@xs4all.nl>.
595
596 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
597
598 * include/features.h: Use __GNUC_PREREQ.
599 * sysdeps/i386/fpu/bits/mathinline.h: Likewise
600
601 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
602
603 * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]:
604 Change EOF to WEOF and remove cast.
605 (UNGETC): Remove macro.
606 (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc.
607 * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]:
608 Change ISASCII to isascii and MBRLEN to mbrlen.
609 (parse_one_spec): Compare info.spec always against wchar_t
610 values.
611 * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN.
612 (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument.
613 (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_.
614
615 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
616
617 * libio/Makefile (shared-only-routines): Add oldiofgetpos,
618 oldiofgetpos64, oldiofsetpos and oldiofsetpos64.
619 (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and
620 oldiofsetpos64 only if doing versioning.
621
622 1999-06-20 Ulrich Drepper <drepper@cygnus.com>
623
624 * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
625
626 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
627
628 * libio/libio.h: Fix last patch.
629
630 1999-06-20 Ulrich Drepper <drepper@cygnus.com>
631
632 * libio/libio.h (_IO_putwc): Correct type of first argument.
633 * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked,
634 putwc_unlocked, putwchar_unlocked): Likewise.
635 * libio/fputwc.c: Likewise.
636 * libio/fputwc_unlocked.c: Likewise.
637 * libio/putwc.c: Likewise.
638 * libio/putwc_unlocked.c: Likewise.
639 * libio/putwchar.c: Likewise.
640 * libio/putwchar_unlocked.c: Likewise.
641
642 1999-06-19 Roland McGrath <roland@baalperazim.frob.com>
643
644 * sysdeps/gnu/siglist.h: File moved to ...
645 * sysdeps/generic/siglist.h: ... here. This file should be usable for
646 any platform, since it just associates the SIG* macros with text names
647 and descriptions. For any signal macros do not exist on every
648 platform, we can use #ifdef tests here and still use this single
649 common file for all platforms.
650 * sysdeps/generic/siglist.c: Rewrite using <siglist.h>. This file
651 should be usable for all platforms after the binary compatibility
652 stuff in the current sysdeps/gnu version is no longer required.
653 * sysdeps/generic/Makefile: Remove rules for generating siglist.c.
654 * sysdeps/generic/make_siglist.c: File removed.
655 * sysdeps/mach/hurd/siglist.h: Use #include_next.
656 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
657
658 1999-06-16 Roland McGrath <roland@baalperazim.frob.com>
659
660 * sysdeps/unix/sysv/linux/siglist.c: Moved to ...
661 * sysdeps/gnu/siglist.c: ... here.
662 Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
663 Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
664 * sysdeps/gnu/siglist.h: New file, contents from linux version.
665 Add entry for SIGLOST protected by #ifdef.
666 * sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
667 and define OLD_SIGLIST_SIZE_STR.
668 * sysdeps/mach/hurd/siglist.h: New file, likewise.
669
670 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
671
672 * include/features.h: Define new macros __GNUC_PREREQ and
673 __GLIBC_PREREQ which can be used to test the version of gcc
674 and glibc respectively.
675
676 * assert/assert.h: Use __GNUC_PREREQ.
677 * intl/libintl.h: Likewise.
678 * math/complex.h: Likewise.
679 * math/tgmath.h: Likewise.
680 * misc/sys/cdefs.h: Likewise.
681 * posix/sys/types.h: Likewise.
682 * socket/sys/socket.h: Likewise.
683 * string/bits/string2.h: Likewise.
684 * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
685 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
686
687 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
688
689 * include/libintl.h: Declare _libc_intl_domainname here.
690 Define _ and N_ here.
691 * include/libc-symbols.h: Don't include <libintl.h>. Don't
692 define _ and N_. Don't declare _libc_intl_domainname.
693 * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h.
694
695 * db2/config.h: Don't include sys/stat.h or define
696 HAVE_ST_BLKSIZE here...
697 * db2/compat.h: ...do it here.
698
699 * linuxthreads/internals.h: Include bits/libc-tsd.h after all
700 other headers.
701 * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P.
702 * iconv/iconv.c: Include stddef.h for NULL.
703 * malloc/malloc.h: Include features.h.
704 * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t.
705
706 * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>"
707 into the generated file.
708 * sysdeps/gnu/errlist.awk: Likewise.
709 * sysdeps/gnu/errlist.c: Rebuilt.
710
711 * assert/assert-perr.c: Include libintl.h.
712 * assert/assert.c: Likewise.
713 * elf/dl-open.c: Likewise.
714 * elf/dlsym.c: Likewise.
715 * elf/dlvsym.c: Likewise.
716 * iconv/iconv_prog.c: Likewise.
717 * inet/rcmd.c: Likewise.
718 * inet/ruserpass.c: Likewise.
719 * locale/programs/charset.c: Likewise.
720 * locale/programs/ld-collate.c: Likewise.
721 * locale/programs/ld-ctype.c: Likewise.
722 * locale/programs/ld-messages.c: Likewise.
723 * locale/programs/ld-monetary.c: Likewise.
724 * locale/programs/ld-numeric.c: Likewise.
725 * locale/programs/ld-time.c: Likewise.
726 * locale/programs/locfile.c: Likewise.
727 * locale/programs/repertoire.c: Likewise.
728 * login/programs/database.c: Likewise.
729 * login/programs/request.c: Likewise.
730 * malloc/mcheck.c: Likewise.
731 * misc/error.c: Likewise.
732 * nis/nis_call.c: Likewise.
733 * nis/nis_callback.c: Likewise.
734 * nis/nis_error.c: Likewise.
735 * nis/nis_local_names.c: Likewise.
736 * nis/nis_print.c: Likewise.
737 * nis/nis_print_group_entry.c: Likewise.
738 * nis/ypclnt.c: Likewise.
739 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
740 * nscd/cache.c: Likewise.
741 * nscd/connections.c: Likewise.
742 * nscd/grpcache.c: Likewise.
743 * nscd/hstcache.c: Likewise.
744 * nscd/nscd_conf.c: Likewise.
745 * nscd/nscd_stat.c: Likewise.
746 * nscd/pwdcache.c: Likewise.
747 * posix/id.c: Likewise.
748 * resolv/herror.c: Likewise.
749 * stdio-common/psignal.c: Likewise.
750 * string/strsignal.c: Likewise.
751 * sunrpc/auth_unix.c: Likewise.
752 * sunrpc/clnt_perr.c: Likewise.
753 * sunrpc/clnt_raw.c: Likewise.
754 * sunrpc/clnt_tcp.c: Likewise.
755 * sunrpc/clnt_udp.c: Likewise.
756 * sunrpc/clnt_unix.c: Likewise.
757 * sunrpc/get_myaddr.c: Likewise.
758 * sunrpc/pm_getmaps.c: Likewise.
759 * sunrpc/pmap_clnt.c: Likewise.
760 * sunrpc/pmap_rmt.c: Likewise.
761 * sunrpc/rpc_main.c: Likewise.
762 * sunrpc/rpc_scan.c: Likewise.
763 * sunrpc/svc_run.c: Likewise.
764 * sunrpc/svc_simple.c: Likewise.
765 * sunrpc/svc_tcp.c: Likewise.
766 * sunrpc/svc_udp.c: Likewise.
767 * sunrpc/svc_unix.c: Likewise.
768 * sunrpc/xdr_rec.c: Likewise.
769 * sunrpc/xdr_ref.c: Likewise.
770 * sysdeps/mach/hurd/mips/dl-machine.c: Likewise.
771 * sysdeps/posix/gai_strerror.c: Likewise.
772 * sysdeps/unix/siglist.c: Likewise.
773 * sysdeps/unix/sysv/linux/siglist.c: Likewise.
774 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
775 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise.
776 * timezone/zic.c: Likewise.
777
778 1999-06-18 H.J. Lu <hjl@gnu.org>
779
780 * localedata/Makefile (charmaps): Exclude SCCS.
781 (locales): Likewise.
782 (repertoiremaps): Likewise.
783
784 1999-06-18 Ulrich Drepper <drepper@cygnus.com>
785
786 * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
787 * sysdeps/generic/bsd-setjmp.c: Likewise.
788
789 * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
790
791 * iconv/gconv_open.c: Include string.h for memset prototype.
792
793 * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
794 definitions.
795
796 * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
797 assignment to avoid warning on 64bit platforms.
798
799 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
800
801 * libio/libio.h (_IO_codecvt): Change __P ot __PMT.
802
803 * nss/getXXbyYY_r.c: Return error code not -1.
804 * nss/getXXent_r.c: Likewise.
805 * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
806 small.
807 * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and
808 value > 0 for error.
809 * nscd/nscd_gethst_r.c: Likewise.
810 * nscd/nscd_getpw_r.c: Likewise.
811
812 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
813
814 * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line
815 disciplines.
816
817 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
818
819 * nscd/nscd_nischeck.c: Fix typos.
820
821 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
822
823 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail
824 always when oact is NULL.
825 Patch by Christian Meder <meder@isr.uni-stuttgart.de>.
826
827 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
828
829 * math/libm-test.c (jn_test): Adjust delta.
830
831 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
832
833 * libio/vwprintf.c: Include <wchar.h> for prototypes.
834 * libio/wprintf.c: Likewise.
835
836 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
837
838 * elf/dl-load.c (_dl_init_paths): Add one more element to aelem
839 to not write beyond allocated memory.
840 Reported by John Reiser <jreiser@BitWagon.com>, closes PR libc/1167.
841
842 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
843
844 * malloc/mtrace.c: Keep lock while printing output lines.
845 Patch by carsten.zimmermann@mediaways.net [PR libc/1166].
846
847 1999-06-16 Ulrich Drepper <drepper@cygnus.com>
848
849 * configure.in: Add warnings about broken code.
850
851 * Versions.def: Add GLIBC_2.2 for libc.
852
853 * iconv/gconv.h: Make header suitable for inclusion in public header
854 by protecting all names with __.
855 * iconv/gconv.c: Adapt for symbol name changes.
856 * iconv/gconv.h: Likewise.
857 * iconv/gconv_builtin.c: Likewise.
858 * iconv/gconv_close.c: Likewise.
859 * iconv/gconv_db.c: Likewise.
860 * iconv/gconv_dl.c: Likewise.
861 * iconv/gconv_int.h: Likewise.
862 * iconv/gconv_open.c: Likewise.
863 * iconv/gconv_simple.c: Likewise.
864 * iconv/iconv.c: Likewise.
865 * iconv/iconv_close.c: Likewise.
866 * iconv/iconv_open.c: Likewise.
867 * iconv/loop.c: Likewise.
868 * iconv/skeleton.c: Likewise.
869 * iconvdata/8bit-gap.c: Likewise.
870 * iconvdata/8bit-generic.c: Likewise.
871 * iconvdata/ansi_x3.110.c: Likewise.
872 * iconvdata/big5.c: Likewise.
873 * iconvdata/cns11643.h: Likewise.
874 * iconvdata/cns11643l1.h: Likewise.
875 * iconvdata/euc-cn.c: Likewise.
876 * iconvdata/euc-jp.c: Likewise.
877 * iconvdata/euc-kr.c: Likewise.
878 * iconvdata/euc-tw.c: Likewise.
879 * iconvdata/gb2312.h: Likewise.
880 * iconvdata/iso-2022-jp.c: Likewise.
881 * iconvdata/iso-2022-kr.c: Likewise.
882 * iconvdata/iso646.c: Likewise.
883 * iconvdata/iso8859-1.c: Likewise.
884 * iconvdata/iso_6937-2.c: Likewise.
885 * iconvdata/iso_6937.c: Likewise.
886 * iconvdata/jis0201.h: Likewise.
887 * iconvdata/jis0208.h: Likewise.
888 * iconvdata/jis0212.h: Likewise.
889 * iconvdata/johab.c: Likewise.
890 * iconvdata/ksc5601.h: Likewise.
891 * iconvdata/sjis.c: Likewise.
892 * iconvdata/t.61.c: Likewise.
893 * iconvdata/uhc.c: Likewise.
894 * stdlib/mblen.c: Likewise.
895 * stdlib/mbtowc.c: Likewise.
896 * stdlib/wctomb.c: Likewise.
897 * wcsmbs/btowc.c: Likewise.
898 * wcsmbs/mbrtowc.c: Likewise.
899 * wcsmbs/mbsnrtowcs.c: Likewise.
900 * wcsmbs/mbsrtowcs.c: Likewise.
901 * wcsmbs/wchar.h: Likewise.
902 * wcsmbs/wcrtomb.c: Likewise.
903 * wcsmbs/wcsmbsload.c: Likewise.
904 * wcsmbs/wcsmbsload.h: Likewise.
905 * wcsmbs/wcsnrtombs.c: Likewise.
906 * wcsmbs/wcsrtombs.c: Likewise.
907 * wcsmbs/wctob.c: Likewise.
908
909 * include/limits.h (MB_LEN_MAX): Increase to 16.
910
911 * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct. Define
912 _G_iconv_t.
913 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
914 * include/wchar.h: Change mbstate_t to __mbstate_t.
915
916 * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
917 oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
918 getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
919 iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
920 putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
921 vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
922 and iofwide.
923 (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
924 * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
925 _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
926 fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
927 fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
928 getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
929 putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
930 vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
931 GLIBC_2.2 for libc.
932 * libio/libio.h: Define codecvt struct. Define _IO_wide_data.
933 Extend _IO_file contain pointer to codecvt, widedata and mode.
934 (_IO_getwc_unlocked): New macro.
935 (_IO_putwc_unlocked): New macro.
936 (_IO_fwide): New macro.
937 * libio/libioP.h: Add new prototypes and adjust existing declarations.
938 * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
939 buffers based on mode.
940 (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
941 oriented.
942 (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
943 flag to be enough to signal unallocated buffer. For wide oriented
944 stream don't make it linebuffered. Don't use _IO_do_flush, use
945 _IO_new_do_write directly.
946 (_IO_new_file_seekoff): Change return value type to _IO_off64_t.
947 (_IO_file_seek): Likewise.
948 * libio/genops.c (_IO_least_marker): Make global.
949 (__underflow): Orient stream if not already done.
950 (__uflow): Likewise.
951 (_IO_default_seekpos): Change to type _IO_off64_t.
952 (_IO_default_seekoff): Likewise.
953 (_IO_default_seek): Likewise.
954 (_IO_no_init): New function. Similar to _IO_init but allows to orient
955 in initialization.
956 * libio/iolibio.h: Add prototype for _IO_vswprintf. Change _IO_pos_BAD
957 to use _IO_off64_t.
958 * libio/ftello.c: Use _IO_off_t. For now abort when use with wide
959 char stream.
960 * libio/ftello64.c: Likewise.
961 * libio/ioftell.c: Likewise.
962 * libio/iofopncook.c: Likewise.
963 * libio/ioseekoff.c: Likewise.
964 * libio/ioseekpos.c: Likewise.
965 * libio/oldfileops.c: Likewise.
966 * libio/iofgetpos.c: Store state of conversion if necessary.
967 * libio/iofgetpos64.c: Likewise.
968 * libio/iofsetpos.c: Restore conversion state if necessary.
969 * libio/iofsetpos64.c: Likewise.
970 * libio/iofdopen.c: Initialize so that stream can be wide oriented.
971 * libio/iofopen.c: Likewise.
972 * libio/iofopen64.c: Likewise.
973 * libio/iopopen.c: Likewise.
974 * libio/iovdprintf.c: Likewise.
975 * libio/iovsprintf.c: Likewise.
976 * libio/iovsscanf.c: Likewise.
977 * libio/memstream.c: Likewise.
978 * libio/obprintf.c: Likewise.
979 * libio/iofputs.c: Orient stream if not already happened.
980 * libio/iofputs_u.c: Likewise.
981 * libio/iofwrite.c: Likewise.
982 * libio/iofwrite_u.c: Likewise.
983 * libio/ioputs.c: Likewise.
984 * libio/iosetbuffer.c: Handle not yet oriented stream.
985 * libio/iosetvbuf.c: Likewise.
986 * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
987 * libio/stdfiles.c: Likewise.
988 * libio/strops.c (_IO_str_overflow): Correctly free buffer after
989 failed allocation.
990 (_IO_str_seekoff): Use _IO_off64_t.
991 * libio/vasprintf.c: Pre-orient stream.
992 * libio/vsnprintf.c: Likewise.
993 * libio/fputwc.c: New file.
994 * libio/fputwc_u.c: New file.
995 * libio/fwprintf.c: New file.
996 * libio/fwscanf.c: New file.
997 * libio/getwc.c: New file.
998 * libio/getwc_u.c: New file.
999 * libio/getwchar.c: New file.
1000 * libio/getwchar_u.c: New file.
1001 * libio/iofgetws.c: New file.
1002 * libio/iofgetws_u.c: New file.
1003 * libio/iofputws.c: New file.
1004 * libio/iofputws_u.c: New file.
1005 * libio/iofwide.c: New file.
1006 * libio/iogetwline.c: New file.
1007 * libio/ioungetwc.c: New file.
1008 * libio/iovswscanf.c: New file.
1009 * libio/iowpadn.c: New file.
1010 * libio/oldiofgetpos.c: New file.
1011 * libio/oldiofgetpos64.c: New file.
1012 * libio/oldiofsetpos.c: New file.
1013 * libio/oldiofsetpos64.c: New file.
1014 * libio/putwc.c: New file.
1015 * libio/putwc_u.c: New file.
1016 * libio/putwchar.c: New file.
1017 * libio/putwchar_u.c: New file.
1018 * libio/swprintf.c: New file.
1019 * libio/swscanf.c: New file.
1020 * libio/tst_swprintf.c: New file.
1021 * libio/tst_swscanf.c: New file.
1022 * libio/tst_wprintf.c: New file.
1023 * libio/tst_wscanf.c: New file.
1024 * libio/tst_wscanf.input: New file.
1025 * libio/vswprintf.c: New file.
1026 * libio/vwprintf.c: New file.
1027 * libio/vwscanf.c: New file.
1028 * libio/wfiledoalloc.c: New file.
1029 * libio/wfileops.c: New file.
1030 * libio/wgenops.c: New file.
1031 * libio/wprintf.c: New file.
1032 * libio/wscanf.c: New file.
1033 * libio/wstrops.c: New file.
1034 * stdio-common/Makefile (routines): Add _itowa, itowa-digits,
1035 vfwprintf, and vfwscanf.
1036 * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
1037 make global.
1038 * stdio-common/_itowa.c: New file.
1039 * stdio-common/_itowa.h: New file.
1040 * stdio-common/itoa-digits.c: Minimal optimization.
1041 * stdio-common/itowa-digits.c: New file.
1042 * stdio-common/printf-parse.h: Allow use in wide character context.
1043 * stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
1044 * stdio-common/printf.h (printf_info): Add wide bit.
1045 * stdio-common/printf_fp.c: Determine from wide bit whether stream
1046 is wide oriented or not.
1047 * stdio-common/printf_size.c: Likewise.
1048 * sysdeps/generic/printf_fphex.c: Likewise.
1049 * stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
1050 * stdio-common/vfprintf.c: Rewrite to allow use in wide character
1051 context.
1052 * stdio-common/vfscand.c: Likewise.
1053 * stdio-common/vfwprintf.c: New file.
1054 * stdio-common/vfwscanf.c: New file.
1055
1056 * time/Makefile (routines): Add wcsftime.
1057 (tests): Add tst_wcsftime.
1058 * time/Versions: Add wcsftime to GLIBC_2.2 for libc.
1059 * time/strftime.c: Make usable as wcsftime.
1060 * time/wcsftime.c: New file.
1061 * time/tst_wcsftime.c: New file.
1062
1063 * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
1064 * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
1065 * wcsmbs/wcschrnul.c: New file.
1066 * wcsmbs/wmemcpy.c: New file.
1067 * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
1068 * wcsmbs/wmemmove.c: Likewise for wmemmove.
1069
1070 * manual/stdio.texi: Document is_char and wide element if printf_info.
1071
1072 * manual/time.texi: Document wcsftime.
1073
1074 * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
1075 __wmemmove, __wcschrnul, and __vfwscanf.
1076
1077 * locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
1078 * locale/C-time.c: Adapt for above change.
1079 * locale/categories.def: Likewise.
1080 * locale/localeinfo.h: Likewise.
1081 * localedata/Makefile: Don't run tests for now.
1082
1083 * manual/errno.texi: Fix typos.
1084 * manual/memory.texi: Likewise.
1085 * manual/ctype.texi: Likewise.
1086 Patches by Brian Youmans <3diff@gnu.org>.
1087
1088 1999-06-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1089
1090 * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
1091
1092 1999-06-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1093
1094 * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
1095 word order.
1096 * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
1097 * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
1098
1099 1999-06-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1100
1101 * db2/db/db.c: Restore __nss_db_open alias.
1102 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in
1103 include.
1104 * db2/os/os_rw.c (__os_write): Maintain const correctness.
1105 * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'.
1106
1107 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
1108
1109 * stdio-common/printf-parse.h (parse_one_spec): Don't set
1110 is_longlong if not necessary.
1111
1112 1999-06-15 H.J. Lu <hjl@gnu.org>
1113
1114 * Make-dist (sysdep_dirs): Exclude SCCS.
1115 * MakeTAGS (sysdep_dirs): Likewise.
1116
1117 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
1118
1119 * posix/regex.c (re_error_msgid): Remove extra commas.
1120
1121 1999-06-14 Geoff Keating <geoffk@ozemail.com.au>
1122
1123 * stdlib/tst-strtoll.c: New file.
1124 * stdlib/Makefile (tests): Add tst-strtoll.c
1125 * stdlib/strtol.c: It is not generally true that if
1126 (unsigned)a*(unsigned)b overflows, then the result is
1127 less than 'a'.
1128
1129 1999-06-14 Thorsten Kukuk <kukuk@suse.de>
1130
1131 * nscd/connections.c (handle_request): Only root is allowed to
1132 send GETSTAT request in non secure mode.
1133 * nscd/nscd.c: Print error message if other then root try to
1134 use getstat.
1135
1136 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1137
1138 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
1139
1140 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1141
1142 * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
1143 Closes PR libc/1164, reported by sascha@schumann.2ns.de.
1144
1145 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1146
1147 * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
1148 for character to search, to help the compiler.
1149 * sysdeps/generic/strchrnul.c: Likewise.
1150 * sysdeps/generic/memchr.c: Likewise.
1151 * sysdeps/generic/memccpy.c: Likewise.
1152 * sysdeps/generic/rawmemchr.c: Likewise. Fix comment.
1153
1154 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1155
1156 * sysdeps/m68k/memchr.S: New file.
1157 * sysdeps/m68k/rawmemchr.S: New file.
1158 * sysdeps/m68k/strchr.S: New file.
1159 * sysdeps/m68k/strchrnul.S: New file.
1160
1161 1999-06-13 Geoff Keating <geoffk@ozemail.com.au>
1162
1163 * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
1164 add `memory' clobber; optimise for constant `val'.
1165 (atomic_add): Likewise.
1166 (test_and_set): Remove `volatile'; add `memory' clobber; be more
1167 like the original `test_and_set'.
1168 (compare_and_swap): Remove `volatile'; add `memory' clobber;
1169 optimise for constant `oldval'.
1170 (always_swap): Remove `volatile'; add `memory' clobber.
1171
1172 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1173
1174 * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
1175 functions for gcc <= 2.7.x.
1176
1177 1999-06-13 Roland McGrath <roland@baalperazim.frob.com>
1178
1179 * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
1180 change.
1181
1182 1999-06-13 Ulrich Drepper <drepper@cygnus.com>
1183
1184 * db2/Makefile (distribute): Remove files which do not exist
1185 anymore.
1186
1187 * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
1188 definitions to calm down gcc.
1189
1190 * db2/db.h: Update from db 2.7.5.
1191 * db2/db_185.h: Likewise.
1192 * db2/db_int.h: Likewise.
1193 * db2/btree/bt_compare.c: Likewise.
1194 * db2/btree/bt_conv.c: Likewise.
1195 * db2/btree/bt_curadj.c: Likewise.
1196 * db2/btree/bt_cursor.c: Likewise.
1197 * db2/btree/bt_delete.c: Likewise.
1198 * db2/btree/bt_open.c: Likewise.
1199 * db2/btree/bt_page.c: Likewise.
1200 * db2/btree/bt_put.c: Likewise.
1201 * db2/btree/bt_rec.c: Likewise.
1202 * db2/btree/bt_recno.c: Likewise.
1203 * db2/btree/bt_rsearch.c: Likewise.
1204 * db2/btree/bt_search.c: Likewise.
1205 * db2/btree/bt_split.c: Likewise.
1206 * db2/btree/bt_stat.c: Likewise.
1207 * db2/btree/btree_auto.c: Likewise.
1208 * db2/common/db_appinit.c: Likewise.
1209 * db2/common/db_apprec.c: Likewise.
1210 * db2/common/db_err.c: Likewise.
1211 * db2/common/db_region.c: Likewise.
1212 * db2/common/db_salloc.c: Likewise.
1213 * db2/db/db.c: Likewise.
1214 * db2/db/db.src: Likewise.
1215 * db2/db/db_am.c: Likewise.
1216 * db2/db/db_auto.c: Likewise.
1217 * db2/db/db_dispatch.c: Likewise.
1218 * db2/db/db_dup.c: Likewise.
1219 * db2/db/db_iface.c: Likewise.
1220 * db2/db/db_join.c: Likewise.
1221 * db2/db/db_overflow.c: Likewise.
1222 * db2/db/db_pr.c: Likewise.
1223 * db2/db/db_rec.c: Likewise.
1224 * db2/db/db_ret.c: Likewise.
1225 * db2/db185/db185.c: Likewise.
1226 * db2/dbm/dbm.c: Likewise.
1227 * db2/hash/hash.c: Likewise.
1228 * db2/hash/hash_auto.c: Likewise.
1229 * db2/hash/hash_dup.c: Likewise.
1230 * db2/hash/hash_page.c: Likewise.
1231 * db2/hash/hash_rec.c: Likewise.
1232 * db2/hash/hash_stat.c: Likewise.
1233 * db2/include/btree.h: Likewise.
1234 * db2/include/btree_ext.h: Likewise.
1235 * db2/include/clib_ext.h: Likewise.
1236 * db2/include/common_ext.h: Likewise.
1237 * db2/include/db_am.h: Likewise.
1238 * db2/include/db_auto.h: Likewise.
1239 * db2/include/db_cxx.h: Likewise.
1240 * db2/include/db_ext.h: Likewise.
1241 * db2/include/db_join.h: Likewise.
1242 * db2/include/db_page.h: Likewise.
1243 * db2/include/hash.h: Likewise.
1244 * db2/include/hash_ext.h: Likewise.
1245 * db2/include/lock.h: Likewise.
1246 * db2/include/lock_ext.h: Likewise.
1247 * db2/include/log.h: Likewise.
1248 * db2/include/log_ext.h: Likewise.
1249 * db2/include/mp.h: Likewise.
1250 * db2/include/mp_ext.h: Likewise.
1251 * db2/include/os.h: Likewise.
1252 * db2/include/os_ext.h: Likewise.
1253 * db2/include/os_func.h: Likewise.
1254 * db2/include/txn.h: Likewise.
1255 * db2/include/txn_auto.h: Likewise.
1256 * db2/include/txn_ext.h: Likewise.
1257 * db2/include/xa.h: Likewise.
1258 * db2/include/xa_ext.h: Likewise.
1259 * db2/lock/lock.c: Likewise.
1260 * db2/lock/lock_conflict.c: Likewise.
1261 * db2/lock/lock_deadlock.c: Likewise.
1262 * db2/lock/lock_region.c: Likewise.
1263 * db2/lock/lock_util.c: Likewise.
1264 * db2/log/log.c: Likewise.
1265 * db2/log/log_archive.c: Likewise.
1266 * db2/log/log_auto.c: Likewise.
1267 * db2/log/log_findckp.c: Likewise.
1268 * db2/log/log_get.c: Likewise.
1269 * db2/log/log_put.c: Likewise.
1270 * db2/log/log_rec.c: Likewise.
1271 * db2/log/log_register.c: Likewise.
1272 * db2/mp/mp_bh.c: Likewise.
1273 * db2/mp/mp_fget.c: Likewise.
1274 * db2/mp/mp_fopen.c: Likewise.
1275 * db2/mp/mp_fput.c: Likewise.
1276 * db2/mp/mp_fset.c: Likewise.
1277 * db2/mp/mp_open.c: Likewise.
1278 * db2/mp/mp_pr.c: Likewise.
1279 * db2/mp/mp_region.c: Likewise.
1280 * db2/mp/mp_sync.c: Likewise.
1281 * db2/mutex/mutex.c: Likewise.
1282 * db2/mutex/uts4_cc.s: Likewise.
1283 * db2/os/os_abs.c: Likewise.
1284 * db2/os/os_alloc.c: Likewise.
1285 * db2/os/os_config.c: Likewise.
1286 * db2/os/os_dir.c: Likewise.
1287 * db2/os/os_fid.c: Likewise.
1288 * db2/os/os_fsync.c: Likewise.
1289 * db2/os/os_map.c: Likewise.
1290 * db2/os/os_oflags.c: Likewise.
1291 * db2/os/os_open.c: Likewise.
1292 * db2/os/os_rw.c: Likewise.
1293 * db2/os/os_seek.c: Likewise.
1294 * db2/os/os_sleep.c: Likewise.
1295 * db2/os/os_spin.c: Likewise.
1296 * db2/os/os_stat.c: Likewise.
1297 * db2/os/os_tmpdir.c: Likewise.
1298 * db2/os/os_unlink.c: Likewise.
1299 * db2/progs/db_archive/db_archive.c: Likewise.
1300 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
1301 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
1302 * db2/progs/db_dump/db_dump.c: Likewise.
1303 * db2/progs/db_load/db_load.c: Likewise.
1304 * db2/progs/db_printlog/README: Likewise.
1305 * db2/progs/db_printlog/commit.awk: Likewise.
1306 * db2/progs/db_printlog/count.awk: Likewise.
1307 * db2/progs/db_printlog/db_printlog.c: Likewise.
1308 * db2/progs/db_printlog/pgno.awk: Likewise.
1309 * db2/progs/db_printlog/range.awk: Likewise.
1310 * db2/progs/db_printlog/status.awk: Likewise.
1311 * db2/progs/db_printlog/txn.awk: Likewise.
1312 * db2/progs/db_recover/db_recover.c: Likewise.
1313 * db2/progs/db_stat/db_stat.c: Likewise.
1314 * db2/txn/txn.c: Likewise.
1315 * db2/txn/txn.src: Likewise.
1316 * db2/txn/txn_auto.c: Likewise.
1317 * db2/txn/txn_rec.c: Likewise.
1318 * db2/xa/xa.c: Likewise.
1319 * db2/xa/xa_db.c: Likewise.
1320 * db2/xa/xa_map.c: Likewise.
1321
1322 * db2/btree/bt_close.c: Removed.
1323 * db2/db/db_thread.c: Likewise.
1324 * db2/hash/hash_debug.c: Likewise.
1325 * db2/include/db.h.src: Likewise.
1326 * db2/include/db_int.h.src: Likewise.
1327 * db2/include/os_jump.h: Likewise.
1328 * db2/mutex/alpha.dec: Likewise.
1329 * db2/mutex/alpha.gcc: Likewise.
1330 * db2/mutex/parisc.hp: Likewise.
1331 * db2/mutex/uts4.cc.s: Likewise.
1332
1333 * db2/Makefile: Add new routines, remove old for 2.7.5.
1334 * db2/Versions: Add internal function names for the helper programs.
1335 * db2/makedb.c: Update for new cursor callback.
1336 * Versions.def: Define versions for libdb.
1337
1338 1999-06-13 Thorsten Kukuk <kukuk@suse.de>
1339
1340 * nscd/connections.c (nscd_run): Get user ID for all non-db services.
1341 * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
1342 * nscd/nscd_nischeck.c: New file.
1343 * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
1344
1345 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1346
1347 * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
1348 MSG_* flags from Linux 2.2.9.
1349
1350 1999-06-12 Mark Kettenis <kettenis@gnu.org>
1351
1352 * Makeconfig (static-start-installed-name): Set to
1353 $(start-installed-name) if not defined.
1354 (+link-static): Use $(static-start-installed-name) instead of
1355 $(start-installed-name).
1356 * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
1357 Set to crt0.o.
1358
1359 1999-06-12 Mark Kettenis <kettenis@gnu.org>
1360
1361 * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
1362 inserting a send right into the child instead of unconditionally
1363 copying the send right.
1364
1365 1999-06-12 Ulrich Drepper <drepper@cygnus.com>
1366
1367 * locale/lc-time.c: Add free_mem function to free if necessary
1368 statically allocated memory.
1369
1370 1999-06-10 Jakub Jelinek <jj@ultra.linux.cz>
1371
1372 * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
1373 bias from the raw exponent.
1374
1375 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
1376
1377 * inet/arpa/tftp.h: Move attribute declaration in right position.
1378
1379 1999-06-11 Thorsten Kukuk <kukuk@suse.de>
1380
1381 * nscd/nscd.c: Add -S options for separate caching of data for
1382 every user. So one user couldn't see the data another user
1383 has gotten with his credentials.
1384 * nscd/nscd.h: Add new prototypes.
1385 * nscd/cache.c: Compare owner of cache entry if in secure mode.
1386 * nscd/connections.c: Check on shutdown if caller really was root.
1387 In secure mode get uid of caller.
1388 * nscd/grpcache.c: Add support for new secure group mode.
1389 * nscd/hstcache.c: Add support for new secure hosts mode.
1390 * nscd/pwdcache.c: Add support for new secure passwd mode.
1391
1392 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
1393
1394 * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
1395 of user-provided buffer.
1396
1397 1999-06-11 Mark Kettenis <kettenis@gnu.org>
1398
1399 * hurd/hurdsock.c (max_domain): Initialize to `-1'.
1400 (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
1401
1402 1999-06-10 Ulrich Drepper <drepper@cygnus.com>
1403
1404 * stdio-common/printf-parse.h (parse_one_spec): Add support for a
1405 and A format.
1406
1407 * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
1408 returning after last entry.
1409 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
1410
1411 1999-06-09 Ulrich Drepper <drepper@cygnus.com>
1412
1413 * misc/sysexits.h: Remove advertising clause of copyright.
1414 * resolv/getnetnamadr.c: Likewise.
1415 * sysdeps/vax/bcopy.s: Likewise.
1416 * sysdeps/vax/bzero.s: Likewise.
1417 * sysdeps/vax/ffs.s: Likewise.
1418 * sysdeps/vax/memchr.s: Likewise.
1419 * sysdeps/vax/memcmp.s: Likewise.
1420 * sysdeps/vax/memmove.s: Likewise.
1421 * sysdeps/vax/memset.s: Likewise.
1422 * sysdeps/vax/strcat.s: Likewise.
1423 * sysdeps/vax/strchr.s: Likewise.
1424 * sysdeps/vax/strcmp.s: Likewise.
1425 * sysdeps/vax/strcpy.s: Likewise.
1426 * sysdeps/vax/strcspn.s: Likewise.
1427 * sysdeps/vax/strlen.s: Likewise.
1428 * sysdeps/vax/strncat.s: Likewise.
1429 * sysdeps/vax/strncmp.s: Likewise.
1430 * sysdeps/vax/strncpy.s: Likewise.
1431 * sysdeps/vax/strpbrk.s: Likewise.
1432 * sysdeps/vax/strrchr.s: Likewise.
1433 * sysdeps/vax/strsep.s: Likewise.
1434 * sysdeps/vax/strspn.s: Likewise.
1435 * sysdeps/vax/strstr.s: Likewise.
1436
1437 * libio/iofopncook.c: Adjust for renaming of structure elements.
1438 * libio/libio.h: Define cookie functions with all the names.
1439
1440 * pwd/fgetpwent_r.c: Set errno in the correct way.
1441 * shadow/fgetspent_r.c: Likewise.
1442 * pwd/fgetpwent.c: Handle long lines correctly. Little
1443 optimizations. Free static buffer when debugging memory handling.
1444 * shadow/fgetspent.c: Likewise.
1445
1446 * grp/fgetgrent.c: Little optimization in loop.
1447
1448 1999-06-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1449
1450 * grp/tst_fgetgrent.c (write_group): Fix generation of long line
1451 in a different way.
1452
1453 1999-06-09 Jakub Jelinek <jj@ultra.linux.cz>
1454
1455 * stdlib/longlong.h: gas changed sethi handling when without
1456 %hi(). Fix assembly.
1457 * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
1458 port specific cache id checks.
1459 * sysdeps/generic/dl-cache.h: New file.
1460 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
1461
1462 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
1463
1464 * gmon/gmon.c: Remove advertising clause of copyright.
1465 * gmon/mcount.c: Likewise.
1466 * gmon/sys/gmon.h: Likewise.
1467 * inet/arpa/ftp.h: Likewise.
1468 * inet/arpa/telnet.h: Likewise.
1469 * inet/arpa/tftp.h: Likewise.
1470 * inet/inet_lnaof.c: Likewise.
1471 * inet/inet_mkadr.c: Likewise.
1472 * inet/inet_net.c: Likewise.
1473 * inet/inet_netof.c: Likewise.
1474 * inet/protocols/routed.h: Likewise.
1475 * inet/protocols/rwhod.h: Likewise.
1476 * inet/protocols/talkd.h: Likewise.
1477 * inet/protocols/timed.h: Likewise.
1478 * inet/rcmd.c: Likewise.
1479 * inet/rexec.c: Likewise.
1480 * inet/ruserpass.c: Likewise.
1481 * io/fts.c: Likewise.
1482 * io/fts.h: Likewise.
1483 * login/login_tty.c: Likewise.
1484 * misc/fstab.h: Likewise.
1485 * misc/getttyent.c: Likewise.
1486 * misc/getusershell.c: Likewise.
1487 * misc/sys/queue.h: Likewise.
1488 * misc/sys/syslog.h: Likewise.
1489 * misc/syslog.c: Likewise.
1490 * misc/ttyent.h: Likewise.
1491 * misc/ttyslot.c: Likewise.
1492 * resolv/arpa/nameser.h: Likewise.
1493 * resolv/gethnamaddr.c: Likewise.
1494 * resolv/herror.c: Likewise.
1495 * resolv/inet_addr.c: Likewise.
1496 * resolv/mapv4v6addr.h: Likewise.
1497 * resolv/mapv4v6hostent.h: Likewise
1498 * resolv/nss_dns/dns-host.c: Likewise.
1499 * resolv/nss_dns/dns-network.c: Likewise.
1500 * resolv/res_comp.c: Likewise.
1501 * resolv/res_data.c: Likewise.
1502 * resolv/res_debug.c: Likewise.
1503 * resolv/res_init.c: Likewise.
1504 * resolv/res_mkquery.c: Likewise.
1505 * resolv/res_query.c: Likewise.
1506 * resolv/res_send.c: Likewise.
1507 * resolv/resolv.h: Likewise.
1508 * sysdeps/generic/div.c: Likewise.
1509 * sysdeps/generic/netinet/ip.h: Likewise.
1510 * sysdeps/generic/netinet/tcp.h: Likewise.
1511 * sysdeps/generic/paths.h: Likewise.
1512 * sysdeps/generic/prof-freq.c: Likewise.
1513 * sysdeps/generic/sys/ttydefaults.h: Likewise.
1514 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1515 * sysdeps/gnu/netinet/tcp.h: Likewise.
1516 * sysdeps/ieee754/support.c: Likewise.
1517 * sysdeps/mach/hurd/sys/param.h: Likewise.
1518 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
1519 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1520 * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
1521 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1522 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
1523 * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
1524 * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
1525 * sysdeps/unix/sysv/linux/paths.h: Likewise.
1526 * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
1527 * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
1528 * sysdeps/vax/DEFS.h: Likewise.
1529 * termios/sys/ttychars.h: Likewise.
1530 * misc/daemon.c: Likewise. Call fork.
1531
1532 * grp/fgetgrent.c (buffer): Make file local variable.
1533 (free_mem): New function. Call for malloc debugging.
1534
1535 * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
1536
1537 1999-06-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1538
1539 * grp/Makefile: Add rules for tst_fgetgrent.
1540
1541 * grp/tst_fgetgrent.c: Rewritten to read only one file.
1542
1543 * grp/tst_fgetgrent.sh: New file.
1544
1545 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
1546
1547 * grp/Makefile (tests): Add tst_fgetgrent.
1548 * grp/tst_fgetgrent.c: New file.
1549 Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
1550
1551 1999-06-07 Roland McGrath <roland@baalperazim.frob.com>
1552
1553 * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
1554 be POSIX compliant. Prior definition was broken for Hurd.
1555 Reported by Mark Kettenis <kettenis@gnu.org>.
1556
1557 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
1558
1559 * ctype/ctype.h: Protect __tobody code by __extension__.
1560
1561 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
1562
1563 * grp/fgetgrent.c (fgetgrent): Remember position of stream before
1564 reading and reset in case the buffer was too small.
1565
1566 * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
1567 of EOF.
1568
1569 1999-06-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1570
1571 * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
1572 another SIOGIFNAME typo.
1573
1574 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
1575
1576 * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
1577
1578 * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
1579 bit.
1580
1581 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1582
1583 * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
1584 the precision if the mantissa is zero.
1585
1586 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1587
1588 * manual/lang.texi (Floating Point Parameters): GCC already
1589 supports long double for a long time.
1590
1591 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1592
1593 * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
1594 yn_test): Increase some epsilons.
1595
1596 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
1597
1598 * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
1599 parameters.
1600
1601 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
1602
1603 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1604 __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
1605 * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
1606 SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
1607
1608 * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
1609 * sysdeps/libm-ieee754/w_j0f.c: Likewise.
1610 * sysdeps/libm-ieee754/w_j0l.c: Likewise.
1611 * sysdeps/libm-ieee754/w_j1.c: Likewise.
1612 * sysdeps/libm-ieee754/w_j1f.c: Likewise.
1613 * sysdeps/libm-ieee754/w_j1l.c: Likewise.
1614 * sysdeps/libm-ieee754/w_jn.c: Likewise.
1615 * sysdeps/libm-ieee754/w_jnf.c: Likewise.
1616 * sysdeps/libm-ieee754/w_jnl.c: Likewise.
1617
1618 * stdio-common/vfprintf.c: Correct typos.
1619
1620 * math/libm-test.c (jn_test): Adjust delta.
1621 (y1_test): Likewise.
1622 (yn_test): Likewise.
1623
1624 * elf/do-lookup.h: It should never happen that if we expect a versioned
1625 symbol from a file the file has no version table. This should have
1626 been checked in dl-version.c.
1627 * elf/dl-lookup.c: Include assert.h.
1628
1629 * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
1630 function handling.
1631
1632 * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
1633
1634 1999-06-06 Andi Kleen <ak@muc.de>
1635
1636 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
1637 SA_RESTORER flag.
1638
1639 1999-06-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1640
1641 * math/libm-test.c (yn_test): Change one delta.
1642 (jn_test): Likewise.
1643 (j1_test): Likewise.
1644 (y0_test): Likewise.
1645
1646 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
1647
1648 * malloc/malloc.c: Introduce local variable __libc_getpagesize to
1649 avoid multiple calls to getpagesize() which might be a syscall.
1650
1651 1999-06-06 Philip Blundell <philb@gnu.org>
1652
1653 * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
1654
1655 1999-06-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1656
1657 * manual/install.texi (Running make install): Correct typo in
1658 dynamic linker invocation.
1659
1660 1999-06-05 Philip Blundell <philb@gnu.org>
1661
1662 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
1663 problems with GOT addressing.
1664
1665 1999-06-05 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
1666
1667 * malloc/malloc.c (check_action): Change into bitmap so that both
1668 diagnostic and abort can be requested by setting it to 3.
1669 (mALLOC_SET_STATe): Disable malloc checking if necessary.
1670
1671 1999-06-03 Ulrich Drepper <drepper@cygnus.com>
1672
1673 * configure.in: Few changes for HPUX.
1674
1675 * scripts/config.guess: Update from latest version.
1676 * scripts/config.sub: Likewise.
1677
1678 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1679
1680 * Makerules: Set LC_ALL explicitly to archieve correct sorting of
1681 map files. Closes PR libc/1147.
1682
1683 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1684
1685 * math/libm-test.c (main): Add new test functions.
1686 (jn_test): New tests.
1687 (j1_test): Add some more tests.
1688 (j0_test): Add some more tests.
1689 (y0_test): Add some more tests.
1690 (y1_test): Add some more tests.
1691
1692 1999-06-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1693
1694 * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
1695 Patch by mhagger@dera.gov.uk [PR libc/1145].
1696
1697 * math/libm-test.c (y1_test): New tests.
1698 (y0_test): Likewise.
1699 (j1_test): Likewise.
1700 (j0_test): Likewise.
1701 (main): Added new tests.
1702
1703 1999-06-02 Jakub Jelinek <jj@ultra.linux.cz>
1704
1705 * stdlib/longlong.h: Define UDIV_TIME on sparc64.
1706 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
1707 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
1708 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
1709 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
1710 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
1711
1712 1999-06-02 David S. Miller <davem@redhat.com>
1713
1714 * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
1715 pointers properly.
1716
1717 1999-06-02 Ulrich Drepper <drepper@cygnus.com>
1718
1719 * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
1720 and elide compatibility code if possible.
1721
1722 1999-06-01 Ulrich Drepper <drepper@cygnus.com>
1723
1724 * manual/llio.texi: Remove menu entry for removed section.
1725
1726 1999-05-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1727
1728 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
1729 variables.
1730
1731 1999-06-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1732
1733 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
1734 (from Linux 2.3.4).
1735
1736 1999-05-30 Ulrich Drepper <drepper@cygnus.com>
1737
1738 * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
1739
1740 1999-05-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1741
1742 * manual/stdio.texi: Fix some typos.
1743
1744 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1745
1746 * malloc/malloc.h: Properly handle future GCC versions.
1747
1748 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1749
1750 * sysdeps/unix/sysv/linux/configure.in: Change version checks to
1751 use AC_EGREP_CPP. Change sed pattern to not use alternation. Fix
1752 text of error message.
1753
1754 * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
1755
1756 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
1757
1758 * manual/filesys.texi: Extend (f)truncate documentation.
1759 * manual/llio.texi: Remove duplicate (f)truncate definition.
1760
1761 1999-05-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1762
1763 * manual/stdio.texi (Formatted Output Functions): Mention
1764 semantics of snprintf in glibc 2.0.
1765 Reported by Ben Pfaff <pfaffben@msu.edu>.
1766
1767 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
1768
1769 * include/features.h (__GLIBC_MINOR__): Bump to 2.
1770
1771 1999-05-27 Ulrich Drepper <drepper@cygnus.com>
1772
1773 * math/libm-test.c: Adjust a few more deltas for the poor ARM
1774 FPU emulator.
1775
1776 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1777
1778 * configure.in: Fix typo.
1779
1780 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1781
1782 * manual/socket.texi (Host Names): Remove statement that h_errno
1783 needs to be declared since this isn't true anymore.
1784 Closes PR libc/1138.
1785
1786 1999-05-26 Ulrich Drepper <drepper@cygnus.com>
1787
1788 * config.h.in: Add __LINUX_KERNEL_VERSION.
1789 * configure.in: Recognize --enable-kernel.
1790 * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
1791 headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
1792 appropriately.
1793 * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
1794 given perform runtime test.
1795
1796 * sysdeps/unix/sysv/linux/kernel-features.h: New file.
1797 * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
1798 minimal supported kernel is known to have the feature.
1799 * sysdeps/unix/sysv/linux/poll.c: Likewise.
1800 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1801 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1802 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1803 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1804 * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
1805 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1806 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1807 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1808 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1809 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1810 * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
1811 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
1812 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
1813 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
1814
1815 * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
1816
1817 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
1818
1819 * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
1820
1821 1999-05-26 Jakub Jelinek <jj@ultra.linux.cz>
1822
1823 * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
1824 Optimized sparc64 routines.
1825
1826 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
1827
1828 * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
1829 they are the same as ints.
1830 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
1831
1832 * version.h (VERSION): Bump to 2.1.90.
1833 (RELEASE): Mark as development.
1834
1835 * stdio-common/vfprintf.c (vfprintf): Don't implement special
1836 handling for long long if it is the same as long.
1837 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
1838
1839 * stdlib/strtol.c: Moved to ...
1840 * sysdeps/generic/strtol.c: ...here.
1841 * stdlib/strtoul.c: Moved to ...
1842 * sysdeps/generic/strtoul.c: ...here.
1843 * stdlib/strtoll.c: Moved to ...
1844 * sysdeps/generic/strtoll.c: ...here.
1845 * stdlib/strtoull.c: Moved to ...
1846 * sysdeps/generic/strtoull.c: ...here.
1847 * stdlib/strtol_l.c: Moved to ...
1848 * sysdeps/generic/strtol_l.c: ...here.
1849 * stdlib/strtoul_l.c: Moved to ...
1850 * sysdeps/generic/strtoul_l.c: ...here.
1851 * stdlib/strtoll_l.c: Moved to ...
1852 * sysdeps/generic/strtoll_l.c: ...here.
1853 * stdlib/strtoull_l.c: Moved to ...
1854 * sysdeps/generic/strtoull_l.c: ...here.
1855
1856 * sysdeps/wordsize-64/strtol.c: New file.
1857 * sysdeps/wordsize-64/strtoul.c: New file.
1858 * sysdeps/wordsize-64/strtoll.c: New file.
1859 * sysdeps/wordsize-64/strtoull.c: New file.
1860 * sysdeps/wordsize-64/strtol_l.c: New file.
1861 * sysdeps/wordsize-64/strtoul_l.c: New file.
1862 * sysdeps/wordsize-64/strtoll_l.c: New file.
1863 * sysdeps/wordsize-64/strtoull_l.c: New file.
1864
1865 * wcsmbs/wcstol.c: Moved to ...
1866 * sysdeps/generic/wcstol.c: ...here.
1867 * wcsmbs/wcstoul.c: Moved to ...
1868 * sysdeps/generic/wcstoul.c: ...here.
1869 * wcsmbs/wcstoll.c: Moved to ...
1870 * sysdeps/generic/wcstoll.c: ...here.
1871 * wcsmbs/wcstoull.c: Moved to ...
1872 * sysdeps/generic/wcstoull.c: ...here.
1873 * wcsmbs/wcstol_l.c: Moved to ...
1874 * sysdeps/generic/wcstol_l.c: ...here.
1875 * wcsmbs/wcstoul_l.c: Moved to ...
1876 * sysdeps/generic/wcstoul_l.c: ...here.
1877 * wcsmbs/wcstoll_l.c: Moved to ...
1878 * sysdeps/generic/wcstoll_l.c: ...here.
1879 * wcsmbs/wcstoull_l.c: Moved to ...
1880 * sysdeps/generic/wcstoull_l.c: ...here.
1881
1882 * sysdeps/wordsize-64/wcstol.c: New file.
1883 * sysdeps/wordsize-64/wcstoul.c: New file.
1884 * sysdeps/wordsize-64/wcstoll.c: New file.
1885 * sysdeps/wordsize-64/wcstoull.c: New file.
1886 * sysdeps/wordsize-64/wcstol_l.c: New file.
1887 * sysdeps/wordsize-64/wcstoul_l.c: New file.
1888 * sysdeps/wordsize-64/wcstoll_l.c: New file.
1889 * sysdeps/wordsize-64/wcstoull_l.c: New file.
1890
1891 1999-05-24 Jakub Jelinek <jj@ultra.linux.cz>
1892
1893 * sysdeps/sparc/bits/wordsize.h: New file.
1894 * sysdeps/sparc/fpu/bits/fenv.h: New file.
1895 * sysdeps/sparc/fpu/fpu_control.h: New file.
1896 * sysdeps/sparc/gmp-mparam.h: New file.
1897
1898 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
1899 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
1900 * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
1901 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
1902 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
1903 * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
1904
1905 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
1906 * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
1907 * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
1908 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
1909
1910 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
1911 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
1912 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
1913 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
1914 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
1915
1916 1999-05-24 Ulrich Drepper <drepper@cygnus.com>
1917
1918 * login/openpty.c (openpty): Make sure pty does not because
1919 controlling TTY.
1920
1921 * ctype/ctype.h: Don't optimize toupper/tolower for C++.
1922
1923 1999-05-23 Roland McGrath <roland@baalperazim.frob.com>
1924
1925 * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
1926 Do proper error return.
1927
1928 1999-05-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1929
1930 * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
1931 of __P in the rest of glibc; define __MALLOC_PMT and use it.
1932 Reported by Stephan Kulow <coolo@kde.org>.
1933
1934 1999-05-23 Ulrich Drepper <drepper@cygnus.com>
1935
1936 * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
1937
1938 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
1939
1940 1999-05-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1941
1942 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
1943 names to protect from user's macro namespace.
1944 * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
1945 * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
1946 * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
1947 * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
1948 * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
1949 Adapted.
1950 * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
1951 sysdeps/arm/fpu/fesetenv.c: Likewise.
1952 * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
1953 sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
1954 sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
1955 * sysdeps/mips/fesetenv.c: Likewise.
1956
1957 1999-05-22 Roland McGrath <roland@baalperazim.frob.com>
1958
1959 * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
1960
1961 1999-05-20 Ulrich Drepper <drepper@cygnus.com>
1962
1963 * configure.in: Recognize and allow gcc 2.95.
1964
1965 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
1966
1967 * sysdeps/generic/bits/elfclass.h: Version common to
1968 wordsize-32 and wordsize-64.
1969 * sysdeps/generic/bits/environments.h: Ditto.
1970 * sysdeps/generic/stdint.h: Ditto.
1971 * sysdeps/generic/inttypes.h: Ditto.
1972
1973 * sysdeps/generic/bits/wordsize.h: New file.
1974 * stdlib/Makefile: Add bits/wordsize.h to headers.
1975
1976 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
1977
1978 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
1979 headers to be used for 32bit and 64bit ABI compilations.
1980 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
1981 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
1982 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
1983 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
1984 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
1985
1986 * sysdeps/wordsize-64/bits/elfclass.h: Remove.
1987 * sysdeps/wordsize-64/bits/environments.h: Remove.
1988 * sysdeps/wordsize-64/stdint.h: Remove.
1989 * sysdeps/wordsize-64/inttypes.h: Remove.
1990 * sysdeps/wordsize-64/bits/wordsize.h: New file.
1991
1992 * sysdeps/wordsize-32/bits/elfclass.h: Remove.
1993 * sysdeps/wordsize-32/bits/environments.h: Remove.
1994 * sysdeps/wordsize-32/stdint.h: Remove.
1995 * sysdeps/wordsize-32/inttypes.h: Remove.
1996 * sysdeps/wordsize-32/bits/wordsize.h: New file.
1997
1998 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
1999
2000 * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
2001 __align_cpy_16): New functions.
2002 (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
2003
2004 * sysdeps/sparc/sparc32/Versions: New file.
2005 * sysdeps/sparc/sparc64/Versions: New file.
2006 * sysdeps/sparc/Versions: Remove.
2007
2008 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
2009
2010 * sysdeps/unix/sysv/linux/configure.in:
2011 On sparc64-*-linux*, set slibdir to /lib64 if prefix
2012 is /usr, plus set libdir to ${exec_prefix}/lib64.
2013 * sysdeps/unix/sysv/linux/configure: Regenerated.
2014 * config.make.in: Propagate libdir settings from configure
2015 to the Makefiles.
2016 * shlib-versions: sparc64-*-linux* dynamic linker is
2017 /lib64/ld-linux.so.2.
2018
2019 1999-05-18 Thorsten Kukuk <kukuk@suse.de>
2020
2021 * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
2022 RPC connection.
2023
2024 1999-05-18 Jakub Jelinek <jj@ultra.linux.cz>
2025
2026 * sysdeps/sparc/sparc64/rawmemchr.S: New file.
2027 * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
2028
2029 * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
2030 contains garbage in bits 8-63.
2031 * sysdeps/sparc/sparc64/memset.S: Ditto.
2032 * sysdeps/sparc/sparc64/strchr.S: Ditto.
2033
2034 1999-05-18 Ulrich Drepper <drepper@cygnus.com>
2035
2036 * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
2037
2038 1999-05-17 David S. Miller <davem@redhat.com>
2039
2040 * sysdeps/sparc/sparc32/atomicity.h: New file.
2041 * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
2042 * sysdeps/sparc/sparc64/atomicity.h: New file.
2043 * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
2044 sysdep-CFLAGS.
2045
2046 1999-05-18 Richard Henderson <rth@twiddle.net>
2047
2048 * sysdeps/alpha/memchr.S: Zap high byte of length. Reschedule.
2049
2050 1999-05-04 Zack Weinberg <zack@rabi.phys.columbia.edu>
2051
2052 * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
2053 posix/sys/types.h: Handle the case of __GNUC__=3,
2054 __GNUC_MINOR__=(anything).
2055
2056 1999-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2057
2058 * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
2059 if _FORCE_INLINES.
2060
2061 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
2062
2063 * elf/Makefile (distribute): Remove dl-origin.h.
2064 Add dl-dst.h and gen-trusted-dirs.awk.
2065
2066 1999-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2067
2068 * sysdeps/i386/i486/Versions: New file with inline functions from
2069 sysdeps/i386/i486/bits/string.h for now.
2070
2071 * sysdeps/i386/Versions: Add inline functions from
2072 sysdeps/i386/bits/string.h.
2073
2074 * string/Versions: Add inline functions from <bits/string2.h>.
2075
2076 * string/Makefile (routines): Add string-inlines.
2077 * string/string-inlines.c: New file, used for implementation of
2078 extern inline functions.
2079
2080 * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
2081 non inlined versions of functions.
2082 * string/bits/string2.h: Likewise.
2083 * sysdeps/i386/bits/string.h: Likewise.
2084
2085 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
2086
2087 * inet/arpa/tftp.h: Add second packed attribute.
2088
2089 1999-05-16 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
2090
2091 * malloc/malloc.c: Cleanup to bring in line with released
2092 stand-alone version `ptmalloc'. Update some comments.
2093 (internal_function): Move fallback definition so that the source
2094 compiles outside of libc, and use it in more places.
2095 (malloc_atfork): Fix when malloc_check is in use.
2096
2097 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2098
2099 * stdlib/tst-strtod.c: Fix typo.
2100
2101 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2102
2103 * elf/dl-close.c (_dl_close): Add cast to avoid warning about
2104 const incorrectness.
2105
2106 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
2107
2108 * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
2109
2110 1999-05-16 Thorsten Kukuk <kukuk@suse.de>
2111
2112 * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
2113 * sunrpc/key_call.c: Fix memory leak, close file handle.
2114 * nis/nis_creategroup.c: Use malloc instead of calloc,
2115 set ctime and mtime.
2116 * nis/nis_subr.c: Check for realloc result.
2117 * nis/nis_file.c: Fix memory leak.
2118 * nis/nis_table.c: Pretty print.
2119 * nis/nis_getservlist.c: Likewise.
2120 * nis/nis_ismember.c: Likewise.
2121 * nis/nis_lookup.c: Likewise.
2122 * nis/nis_ping.c: Likewise.
2123 * nis/nis_removemember.c: Likewise.
2124 * nis/nis_util.c: Likewise, check calloc result.
2125
2126 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
2127
2128 * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
2129 * sysdeps/generic/sys/socketvar.h: ... here.
2130 * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
2131 * sysdeps/generic/netinet/in_systm.h: ... here.
2132 * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
2133 sys/socketvar.h.
2134 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
2135 * inet/Makefile (headers): Add netinet/in_systm.h here.
2136 * socket/Makefile (headers): Add sys/socketvar.h here.
2137
2138 1999-05-15 Ulrich Drepper <drepper@cygnus.com>
2139
2140 * stdlib/strtol.c: Optimize inner loop of long long versions.
2141
2142 * sysdeps/gnu/utmpx.h: Add needed type definitions according to
2143 Unix98. Add forward declaration of struct utmp.
2144
2145 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
2146
2147 * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
2148 calloc.
2149
2150 * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
2151 * nis/nis_addmember.c (nis_addmember): Fix memory leak. Test
2152 memory allocation results.
2153
2154 1999-05-14 Mark Kettenis <kettenis@gnu.org>
2155
2156 * sysdeps/generic/getutmp.c: Include <string.h>
2157 (getutmp): Rewrite to only copy those members that are really
2158 present in `struct utmp'.
2159 * sysdeps/generic/getutmpx.c: Likewise.
2160
2161 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
2162
2163 * nss/getXXbyYY.c: Add free_mem function which disposes all
2164 statically allocated memory when debugging.
2165 * nss/getXXent.c: Likewise.
2166 * nss/nsswitch.c: Likewise.
2167
2168 1999-05-13 Ulrich Drepper <drepper@cygnus.com>
2169
2170 * sysdeps/gnu/getutmpx.c: New file.
2171 * sysdeps/gnu/getutmp.c: New file.
2172
2173 1999-05-13 H.J. Lu <hjl@gnu.org>
2174
2175 * login/Versions (getutmpx): Added to GLIBC_2.1.1.
2176 (getutmp): Likewise.
2177
2178 * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
2179 getutmpx for login.
2180
2181 * sysdeps/gnu/utmpx.h (getutmp): Added.
2182 (getutmpx): Likewise.
2183
2184 * sysdeps/generic/getutmp.c: New file.
2185
2186 * sysdeps/generic/getutmpx.c: New file.
2187
2188 1999-05-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2189
2190 * glibcbug.in (BUGGLIBC): Change address to
2191 libc-alpha@sourceware.cygnus.com.
2192
2193 1999-05-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2194
2195 * resolv/arpa/nameser.h: Add C++ protectors.
2196
2197 1999-05-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2198
2199 * iconvdata/gconv-modules: Fix alias for CP1255. Reported by
2200 Elad Tsur <eladts@post.tau.ac.il>.
2201
2202 1999-05-11 Ulrich Drepper <drepper@cygnus.com>
2203
2204 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
2205 * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
2206 lazily if LD_BIND_NOW is not set.
2207 * elf/dl-support.c (_dl_lazy): New variable.
2208 (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
2209 * elf/rtld.c (_dl_lazy): new global variable.
2210 ( dl_main): Remove lazy, replace it by _dl_lazy.
2211
2212 1999-05-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2213
2214 * locale/setlocale.c (new_composite_name): Check also whether the
2215 first category name differs.
2216
2217 1999-05-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2218
2219 * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
2220 the generic one.
2221
2222 1999-05-11 Philip Blundell <pb@nexus.co.uk>
2223
2224 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
2225 structure; storage suitable for any socket address.
2226 * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
2227 Likewise.
2228 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
2229 sockaddr_storage): Likewise.
2230
2231 * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
2232 platform.
2233
2234 1999-05-10 Ulrich Drepper <drepper@cygnus.com>
2235
2236 * hesiod/Versions: Change _nss_hesiod_getpwuid and
2237 _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
2238 _nss_hesiod_getgrgid_r respectively. Fixes pr libc/1115.
2239
2240 1999-05-09 Mark Kettenis <kettenis@gnu.org>
2241
2242 * hurd/get-host.c (_hurd_get_host_config): Return an empty value
2243 if the file is empty.
2244
2245 1999-05-07 Ulrich Drepper <drepper@cygnus.com>
2246
2247 * elf/do-lookup.h: Fix typo in comment.
2248
2249 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
2250 f_bsize to help some broken programs.
2251
2252 * stdio-common/tst-printf.c: Add test case for last _itoa problem.
2253
2254 * stdio-common/vfprintf.c: Fix typo.
2255
2256 1999-05-06 Ulrich Drepper <drepper@cygnus.com>
2257
2258 * elf/link.h (struct link_map): New field l_phdr_allocated.
2259 * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
2260 the program header being part of any loaded segment. If it is not
2261 allocate memory and set l_phdr_allocated flag.
2262 * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
2263
2264 * nss/digits_dots.c: Correct return value interpretation of
2265 inet_ntoa. Fix PR libc/1109.
2266
2267 1999-05-06 Zack Weinberg <zack@rabi.columbia.edu>
2268
2269 * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
2270
2271 1999-05-06 Thorsten Kukuk <kukuk@suse.de>
2272
2273 * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
2274 * stdlib/fpioconst.c: Move #endif before end of struct.
2275
2276 1999-05-05 Ulrich Drepper <drepper@cygnus.com>
2277
2278 * Versions.def (ld.so): Add GLIBC_2.1.1.
2279 * elf/Makefile (routines): Add dl-origin.
2280 (tests): Add origtest. Add dependencies for the program.
2281 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
2282 _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
2283 * elf/dl-deps.c (expand_dst): New macro. Expand DSTs in filename.
2284 (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
2285 DT_AUXILIARY, and DT_FILTER filenames.
2286 * elf/dl-load.c (expand_dynamic_string_token): Explode into
2287 two functions and three macros.
2288 (_dl_dst_count, _dl_dst_substitute): New functions.
2289 * elf/dl-dst.h: New file.
2290 * elf/dl-open.c (_dl_open): Take extra parameter with address of
2291 caller. Pass address in args structure.
2292 (dl_open_worker): Recognize and expand DSTs in filename.
2293 * elf/ldsodefs.h (_dl_open): Adapt prototype.
2294 * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
2295 (__dlopen_check): Pass caller address to dlopen_doit in args.
2296 * elf/dlopendoit.c: Likewise.
2297 * iconv/gconv_dl.c: Adapt call of _dl_open.
2298 * nss/nsswitch.c: Likewise.
2299 * elf/origtest.c: New file.
2300 * sysdeps/generic/dl-origin.h: Moved to...
2301 * sysdeps/generic/dl-origin.c: ...here.
2302 * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
2303 * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
2304
2305 * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
2306 with specific bases and only few bits set in second word.
2307
2308 * timezone/Makefile (install-others): Create target directory
2309 before creating tzfiles.
2310
2311 1999-05-05 Thorsten Kukuk <kukuk@suse.de>
2312
2313 * nis/nis_file.c (readColdStartFile): Allocate memory only after
2314 the file is opened successfully.
2315
2316 * nis/nis_table.c: Fix some memory leaks.
2317
2318 1999-05-04 Ulrich Drepper <drepper@cygnus.com>
2319
2320 * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
2321 variable.
2322
2323 * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
2324 around DST. Correctly ignore ORIGIN IN SUID binaries.
2325
2326 1999-05-03 Ulrich Drepper <drepper@cygnus.com>
2327
2328 * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
2329 * sysdeps/generic/strtok.c: Likewise.
2330
2331 * string/tester.c: Add test of rawmemchr.
2332
2333 * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
2334 specification. It's not necessary.
2335
2336 * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
2337 * elf/gen-trusted-dirs.awk: New file.
2338 * elf/dl-load.c (systems_dirs): Moved into file scope. Initialize
2339 from SYSTEM_DIRS macro.
2340 (system_dirs_len): New variable. Contains lengths of system_dirs
2341 strings.
2342 (fillin_rpath): Rewrite for systems_dirs being a simple string.
2343 Improve string comparisons. Change parameter trusted to be a flag.
2344 Change all callers.
2345 (_dt_init_paths): Improve using new format for system_dirs.
2346
2347 * elf/dl-load.c (expand_dynamic_string_token): Don't expand
2348 $ORIGIN for SUID binaries.
2349
2350 * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
2351
2352 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2353
2354 * sunrpc/Makefile: Generate dependencies for all flavors of
2355 librpcsvc objects.
2356 (rpcgen-cmd): Pass -Y flag here and remove it from the macro
2357 invocations.
2358
2359 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2360
2361 * elf/dlopenold.c: Move #if down after includes to get
2362 dependencies right.
2363
2364 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2365
2366 * sysdeps/generic/bzero.c: Undefine __bzero.
2367
2368 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
2369
2370 * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
2371 * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
2372 * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
2373 Patch by Craig Small <csmall@scooter.eye-net.com.au>.
2374
2375 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
2376 parameter to struct gaih_servtuple *. Adapt appropriately.
2377 (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
2378 This fixes a memory leak.
2379 Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
2380
2381 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
2382 and fpregset_t definition. They are defined in ucontext.h.
2383
2384 1999-04-14 Scott Bambrough <scottb@netwinder.org>
2385
2386 * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
2387 and struct ether_header must be packed on the ARM. The default
2388 alignment constraints add padding to the end of the structures.
2389
2390 1999-04-14 Scott Bambrough <scottb@netwinder.org>
2391
2392 * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM. The
2393 default alignment constraints add padding to the end of the
2394 structure and between members.
2395
2396 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
2397
2398 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
2399 _dl_cache_libcmp instead of strcmp.
2400
2401 * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
2402 fails on a file.
2403 Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
2404
2405 1998-03-30 Joel Klecker <espy@debian.org>
2406
2407 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
2408 (sysdep-others,install-bin): Add lddlibc4.
2409
2410 1999-05-02 H.J. Lu <hjl@gnu.org>
2411
2412 * timezone/zic.c (dolink): Remove the symlink destination first.
2413
2414 * catgets/open_catalog.c (__open_catalog): Set catalog->status
2415 to "nonexisting" if failed to open the file.
2416
2417 1999-05-01 Ulrich Drepper <drepper@cygnus.com>
2418
2419 * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
2420 gcc3.
2421
2422 * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
2423 Prevent warnings from multiplication with 0x01010101 by another cast.
2424
2425 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2426
2427 * string/bits/string2.h (memset): Revert to previous version if
2428 unaligned writes are not available.
2429
2430 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
2431
2432 * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
2433 better code in presence of the asm.
2434
2435 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2436
2437 * stdlib/fmtmsg.c (keywords): Increase array size for faster
2438 indexing.
2439
2440 * locale/localeinfo.h (_nl_category_names): Increase array element
2441 size for faster indexing.
2442 * locale/setlocale.c (_nl_category_names): Adjusted.
2443
2444 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2445
2446 * iconv/gconv_conf.c (add_alias): Remove wrong cast.
2447
2448 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2449
2450 * sysdeps/m68k/stackinfo.h: New file.
2451
2452 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
2453
2454 * string/tester.c (test_strchrnul): New function.
2455 (test_memset): Test one more special case.
2456
2457 * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
2458 25% of all cases.
2459
2460 * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
2461 base types.
2462
2463 * string/bits/string2.h: Fix bugs I introduced in last change.
2464
2465 * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
2466 register stall.
2467 Extend memset optimization.
2468 Correct i686 version of memchr.
2469
2470 1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
2471
2472 * sysdeps/i386/bzero.c: Add #undef __bzero.
2473
2474 * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
2475 EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
2476 exec server simulated a SIGTRAP before we even started up, so gdb is
2477 already happy.
2478
2479 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
2480
2481 * nss/digits_dots.c: Always initialize not_ok.
2482
2483 1999-04-30 09:02 -0400 Zack Weinberg <zack@rabi.columbia.edu>
2484
2485 * string/bits/string2.h (memset): Avoid arithmetic overflow at
2486 compile time, which produces obnoxious warnings. If GCCv2 is
2487 in use, map __bzero to __builtin_memset to enable that
2488 optimization.
2489
2490 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
2491
2492 * string/bits/string2.h: Add more memset optimizations.
2493
2494 * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
2495
2496 * resolv/inet_pton.c (inet_pton4): Little optimizations.
2497 (inet_pton6): Likewise.
2498
2499 * nss/getXXbyYY_r.c: Include assert.h.
2500 * nss/getXXbyYY.c: Likewise.
2501
2502 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2503
2504 * termios/tcgetsid.c (tcgetsid): Rename variable to
2505 tiocgsid_does_not_work.
2506
2507 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
2508
2509 * inet/getnameinfo.c (nrl_domainname): Fix last patch.
2510
2511 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2512
2513 * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
2514 This allows e.g. gethostbyname to accept "10.1234".
2515 Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
2516
2517 * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
2518 non quad IPv4 numbers.
2519
2520 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2521
2522 * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
2523
2524 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
2525
2526 * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
2527 * argp/argp-parse.c (_argp_hang): Likewise.
2528 * argp/argp-pv.c (argp_program_version): Likewise.
2529 * argp/argp-pvh.c (argp_program_version_hook): Likewise.
2530 * inet/ether_hton.c (ether_hton, startp): Likewise.
2531 * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
2532 * inet/getnetgrent_r.c (setup, startp): Likewise.
2533 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
2534 * intl/localealias.c (string_space, string_space_act, string_space_max,
2535 nmap, maxmap): Likewise.
2536 * libio/iopopen.c (proc_file_chain): Likewise.
2537 * libio/oldiopopen.c (old_proc_file_chain): Likewise.
2538 * locale/lc-collate.c (__collate_table, __collate_extra,
2539 __collate_element_hash, __collate_element_strings,
2540 __collate_element_values): Likewise.
2541 * malloc/mcheck.c (mcheck_used): Likewise.
2542 * malloc/mtrace.c (added_atexit_handler): Likewise.
2543 * malloc/set-freeres.c (already_called): Likewise.
2544 * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
2545 * misc/syslog.c (LogStat, LogTag): Likewise.
2546 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
2547 * nss/getXXbyYY_r.c (startp): Likewise.
2548 * posix/getopt.c (optarg, __getopt_initialized): Likewise.
2549 * posix/regex.c (init_syntax_once) [done]: Likewise.
2550 (debug): Likewise.
2551 * string/strfry.c (init): Likewise.
2552 * sunrpc/svc_run.c (svc_top): Likewise.
2553 * posix/euidaccess.c (have_ids): Likewise.
2554 * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
2555 * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
2556 * time/getdate.c (getdate_err): Likewise.
2557 * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
2558 Likewise.
2559 * time/tzset.c (old_tz, is_initialized): Likewise.
2560
2561 * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
2562 of static data with zero.
2563 * signal/allocrtsig.c (init): Likewise.
2564
2565 * string/Makefile (routines): Add strchrnul.
2566 * string/Versions [GLIBC_2.1.1]: Add strchrnul.
2567 * string/string.c: Add strchrnul prototype.
2568 * include/string.h: Add __strchrnul prototype.
2569 * sysdeps/generic/strchrnul.c: New file.
2570 * sysdeps/i386/strchrnul.S: New file.
2571 * sysdeps/i386/bits/string.c: Add strchrnul optimization.
2572 * sysdeps/i386/i486/bits/string.c: Likewise.
2573 * argp/argp-help.c (argp_args_usage): Use __strchrnul.
2574 * inet/ether_line.c (ether_line): Likewise.
2575 * nscd/nscd_conf.c (nscd_parse_file): Likewise.
2576 * nss/nsswitch.c (nss_parse_file): Likewise.
2577 * posix/execvp.c (execvp): Likewise.
2578 * posix/fnmatch.c (internal_fnmatch): Likewise.
2579 * resolv/res_hconf.c (_res_hconv_init): Likewise.
2580 * resolv/res_init.c (res_init): Likewise.
2581 * stdlib/fmtmsg.c (init): Likewise.
2582 * stdlib/getsubopt.c (getsubopt): Likewise.
2583
2584 * catgets/catgets.c (catopen): Only allocate one memory block.
2585 (catclose): Only one free call necessary.
2586
2587 * catgets/open_catalog.c (__open_catalog): Simplify handling of
2588 file descriptor.
2589
2590 * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
2591 of real functions. Simplify _tolower and _toupper.
2592
2593 * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
2594 variable.
2595
2596 * iconv/gconv.h (struct gconv_info): Change data element from pointer
2597 to array of size 0.
2598 * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
2599 * iconv/gconv_close.c (__gconv_close): Don't free data.
2600
2601 * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
2602 insert new alias.
2603
2604 * iconv/gconv_db.c (add_derivation): More efficient copying. Check
2605 for error while inserting in tree.
2606
2607 * include/time.h: Pretty print.
2608
2609 * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
2610 in table and lots of relocations.
2611 * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
2612 string pointers in table and lots of relocations.
2613
2614 * intl/finddomain.c: Remove definition of strchr macro.
2615
2616 * io/ftw.c (nftw_arr, ftw_arr): Make const.
2617
2618 * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
2619
2620 * locale/localeinfo.h (_nl_category_names): Change into an array with
2621 fixed width char string elements.
2622 * locale/setlocale.c (_nl_category_names): Likewise.
2623 (_nl_current): Make global.
2624 * locale/nl_langinfo.c (nldata): Removed. Use _nl_current now.
2625
2626 * malloc/Makefile (distribute): Add stackinfo.h.
2627 * sysdeps/generic/stackinfo.h: New file.
2628 * sysdeps/i386/stackinfo.h: New file.
2629 * posix/execl.c: Use stackinfo.h in optimizing alloca use.
2630 * posix/execle.c: Likewise.
2631 * posix/execlp.c: Likewise.
2632
2633 * nis/nis_table.c (__create_ib_request): Always use realloc.
2634
2635 * posix/execvp.c (execute): Rename to script_execute and keep only
2636 code to execute using shell.
2637 (execvp): Call execv directly and only fall back on script_execute.
2638
2639 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
2640 and always use xdigits instead.
2641
2642 * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
2643 where appropriate.
2644
2645 * stdlib/fpioconst.h (__tens): New declaration.
2646 (struct mp_power): Remove array, add arrayoff element.
2647 * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
2648 __tens array and add in _fpioconst_pow10 offsets into __tens.
2649 * stdio-common/printf_fp.c: Rewrite to use new __tens array.
2650 * stdlib/strtod.c: Likewise.
2651
2652 * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
2653
2654 * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
2655 of the list.
2656 * stdlib/atexit.c (__exit_funcs): Don't initialize.
2657
2658 * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
2659
2660 * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
2661 a single and an array with offsets.
2662
2663 * sunrpc/des_soft.c (partab): Make it const.
2664
2665 * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
2666 (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
2667 (__key_decryptsession_pk_LOCAL): Likewise.
2668 (__key_gendes_LOCAL): Likewise.
2669 (MESSENGER): Mark const.
2670 (key_call_private_main): Don't initialize with 0.
2671 (use_keyenvoy): Don't initialize with 0.
2672 (key_call): Rewrite to reverse logic of use_doors variable.
2673
2674 * sunrpc/netname.c (OPSYS): Define as array, not pointer.
2675 (startp): Don't initialize with zero.
2676
2677 * sunrpc/openchild.c (_openchild): Make first argument const.
2678
2679 * sunrpc/pmap_rmt.c (timeout): Mark const.
2680 * sunrpc/xcrypt.c (hex): Likewise.
2681
2682 * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
2683 initialization of global variables.
2684 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
2685 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2686 * termios/tcgetsid.c: Likewise.
2687
2688 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
2689 fxsr to osfxsr.
2690
2691 * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
2692 block. Add function to free memory if wanted.
2693 * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
2694
2695 * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
2696
2697 * wcsmbs/wmemset.c: Little code optimization.
2698
2699 1999-04-23 Paul Eggert <eggert@twinsun.com>
2700
2701 * stdlib/strtoull.c: Surround strong_alias and weak_alias with
2702 ifdef _LIBC.
2703
2704 1999-04-28 Roland McGrath <roland@baalperazim.frob.com>
2705
2706 * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
2707 implementation and just always fail with ENOSYS. This entry point is
2708 obsolete. Add link warning to that effect.
2709
2710 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
2711
2712 * hurd/get-host.c: Include <hurd/lookup.h>.
2713
2714 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
2715
2716 * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
2717 is != NULL.
2718
2719 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2720
2721 * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
2722 ISO C9x and Unix98.
2723
2724 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
2725
2726 * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
2727 Patch by Peter Miller <millerp@canb.auug.org.au>.
2728
2729 1999-04-27 Thorsten Kukuk <kukuk@suse.de>
2730
2731 * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
2732 prefers loopback device.
2733
2734 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
2735
2736 * posix/fnmatch.c (internal_fnmatch): Finish incomplete
2737 no_leading_period change.
2738
2739 * posix/testfnm.c: More test cases.
2740
2741 1999-04-27 Ulrich Drepper <drepper@cygnus.com>
2742
2743 * include/dirent.h: Remove __getdirentries declaration, add __getdents
2744 and __getdents64.
2745 * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
2746 * sysdeps/unix/readdir_r.c: Likewise.
2747 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2748 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
2749 * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
2750 __getdirentries. Remove fourth argument.
2751 * sysdeps/unix/sysv/linux/getdirentries.c: New file.
2752 * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
2753 * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
2754 Add getdirentries and getdirentries64.
2755 * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
2756
2757 * posix/fnmatch.c (internal_fnmatch): Correctly reset string
2758 pointer in case of an invalid [[: expression.
2759
2760 * posix/testfnm.c: Add more test cases.
2761
2762 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
2763
2764 * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
2765 set, pass EXEC_SIGTRAP flag in exec RPC.
2766
2767 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
2768
2769 * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch. Take
2770 extra parameter. Fix several more bugs involving wildcard and
2771 ranges.
2772 (fnmatch): New function. Call internal_fnmatch.
2773
2774 * posix/testfnm.c: More test cases.
2775
2776 1999-04-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2777
2778 * manual/install.texi (Configuring and compiling): Explain that
2779 files are changed in the source directory.
2780 Closes PR libc/981.
2781 (Configuring and compiling): Explain situation with PARALLELMFLAGS
2782 in the source directory.
2783
2784 1999-04-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2785
2786 * locale/programs/ld-ctype.c: Spelling fixes.
2787 (ctype_finish): Fix argument of error message format.
2788 * locale/programs/ld-messages.c: Spelling fixes.
2789 * locale/programs/ld-monetary.c: Spelling fixes.
2790 * locale/programs/ld-time.c (time_finish): Make sure that name and
2791 format of era_entries are adjacent.
2792 (time_output): Reduce the size of the io vector.
2793
2794 1999-04-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2795
2796 * manual/filesys.texi (Attribute Meanings): Move a misplaced
2797 paragraph.
2798
2799 1999-04-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2800
2801 * locale/programs/ld-collate.c (collate_output): Convert
2802 undefined_offset to an array index. Fix computation of other
2803 endian extra table.
2804
2805 1999-04-26 Roland McGrath <roland@baalperazim.frob.com>
2806
2807 * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
2808 return success with empty value.
2809
2810 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
2811
2812 * posix/fnmatch.c: Include string.h also for glibc.
2813 (fnmatch, case '?'): Optimize if cascades a bit.
2814 (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
2815
2816 * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
2817
2818 1999-04-24 Ulrich Drepper <drepper@cygnus.com>
2819
2820 * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
2821 * iconv/gconv_int.h: Declare UTF16 functions.
2822 * iconv/gconv_simple.c: Add UTF16 conversion functions.
2823
2824 1999-04-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2825
2826 * posix/wordexp.c (parse_param): Fix type of offset to allow it to
2827 be used correctly as parameter for parse_dollars/parse_tilde.
2828
2829 1999-04-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2830
2831 * manual/conf.texi (Utility Limits): Remove duplicate description
2832 of BC_DIM_MAX.
2833
2834 1999-04-19 Ulrich Drepper <drepper@cygnus.com>
2835
2836 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
2837 outbufend for dst==NULL.
2838
2839 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
2840
2841 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
2842 for dst==NULL.
2843 Fixes PR libc/1084.
2844
2845 * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
2846 Fixes PR libc/1083.
2847
2848 1999-04-18 Thorsten Kukuk <kukuk@suse.de>
2849
2850 * sunrpc/Makefile: Remove special handling of bootparam.x,
2851 add rpcsvc/bootparam.h to headers.
2852 * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
2853 * sunrpc/rpcsvc/bootparam.x: Renamed to...
2854 * sunrpc/rpcsvc/bootparam_prot.x: ...this.
2855
2856 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
2857
2858 * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
2859 detect and handle invalid descriptors.
2860
2861 1999-04-17 Thorsten Kukuk <kukuk@suse.de>
2862
2863 * timezone/zic.c (dolink): Append complete path not only filename
2864 to ../ list.
2865
2866 1999-04-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2867
2868 * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
2869
2870 1999-04-17 Ulrich Drepper <drepper@cygnus.com>
2871
2872 * iconvdata/gconv-modules: Rename CP874 to IBM874.
2873 * iconvdata/Makefile: Likewise.
2874 * iconvdata/cp874.h: Removed.
2875 * iconvdata/cp874.c: Renamed to...
2876 * iconvdata/ibm874.c: ...this.
2877
2878 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
2879
2880 * sysdeps/unix/sysv/linux/bits/types.h: Correct
2881 signed/unsigned-ness of blkcnt and fsblkcnt.
2882 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2883 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2884
2885 * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
2886 SOL_AAL, and SOL_IRDA.
2887
2888 1999-04-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2889
2890 * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero. Don't
2891 include "linux_fsinfo.h".
2892 Based on a patch by H.J. Lu <hjl@gnu.org>.
2893
2894 1999-04-16 Thorsten Kukuk <kukuk@suse.de>
2895
2896 * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
2897
2898 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
2899
2900 * nscd/cache.c (prune_cache): Only disable file checking for
2901 future if the file does not exist.
2902 Update file_mtime if cache was flushed.
2903
2904 1999-04-15 David S. Miller <davem@redhat.com>
2905
2906 * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
2907 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
2908
2909 1999-04-15 Scott Bambrough <scottb@netwinder.org>
2910
2911 * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
2912 compilation of file.
2913
2914 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
2915
2916 * Versions.def: Add GLIBC_2.1.1 to libpthread.
2917
2918 * iconvdata/Makefile (modules): Add KOI8-U.
2919 (distribute): Add koi8-u.c.
2920 (gen-8bit-gap-modules): Add koi8-u.
2921 * iconvdata/gconv-modules: Add KOI8-U entries.
2922 * iconvdata/koi8-u.c: New file.
2923
2924 1999-04-13 Thorsten Kukuk <kukuk@suse.de>
2925
2926 * sunrpc/auth_des.c: 64bit fixes, security fixes.
2927 * sunrpc/auth_none.c: Pretty print.
2928 * sunrpc/auth_unix.c: Likewise.
2929 * sunrpc/authdes_prot.c: Likewise.
2930 * sunrpc/authuxprot.c: Likewise.
2931 * sunrpc/bindrsvprt.c: Likewise.
2932 * sunrpc/clnt_gen.c: Likewise.
2933 * sunrpc/rpc/xdr.h: Likewise.
2934 * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
2935 * sunrpc/rpc_cmsg.c: Don't use *long pointers.
2936 * sunrpc/rtime.c: Use new rpc_timeval.
2937 * sunrpc/svc_authux.c: Don't use *long pointers.
2938 * sunrpc/svcauth_des.c: Likewise + security fixes.
2939 * sunrpc/xdr_mem.c: Don't use *long pointers.
2940 * sunrpc/xdr_rec.c: Likewise.
2941 * sunrpc/xdr_sizeof.c: Likewise.
2942 * sunrpc/xdr_stdio.c: Likewise.
2943
2944 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
2945
2946 * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
2947 so that it is redone for each sending.
2948
2949 1999-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2950
2951 * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
2952
2953 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
2954
2955 * iconv/gconv_db.c (__gconv_find_transform): If conversion is
2956 known to not exist don't try to load shared objects.
2957 Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
2958
2959 * nscd/cache.c (prune_cache): The table might not be unused. In
2960 this case do nothing.
2961
2962 * catgets/gencat.c (read_input_file): Don't drop white spaces
2963 between number/identifier and string.
2964 Patch by Dima Barsky <dima@pwd.hp.com>.
2965 If no white space at all follows number/identifier remove existing
2966 message with the number/identifier.
2967
2968 1999-04-14 H.J. Lu <hjl@gnu.org>
2969
2970 * sunrpc/clnt_udp.c (is_network_up): New function.
2971 (clntudp_call): Call is_network_up () to check if any network
2972 interface is up in case of timeout.
2973
2974 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2975
2976 * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
2977 * wctype/Makefile (tests): Add test_wcfuncs.
2978
2979 1999-04-14 Jakub Jelinek <jj@ultra.linux.cz>
2980
2981 * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
2982 architectures.
2983 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
2984 instead of CFLAGS.
2985 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
2986 instead of CFLAGS. For gnulib and string directories use
2987 -Wa,-Av9a gcc ASFLAGS.
2988 * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
2989 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
2990 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
2991 * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
2992 the same way as sparc-*.
2993
2994 1999-04-14 Ulrich Drepper <drepper@cygnus.com>
2995
2996 * locale/programs/locfile.c (locfile_read): Fix typo.
2997 Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
2998
2999 1999-04-14 Scott Bambrough <scottb@netwinder.org>
3000
3001 * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
3002 restarted after being interrupted by a signal. The parameters on
3003 the stack were corrupted by the signal handler.
3004
3005 * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
3006 restarted after being interrupted by a signal. The parameters on
3007 the stack were corrupted by the signal handler.
3008
3009 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3010
3011 * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
3012 Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
3013
3014 1999-04-12 Tim Waugh <tim@cyberelk.demon.co.uk>
3015
3016 * posix/wordexp-test.c: In field-splitting test cases where
3017 subshells were involved, unset IFS first: some shells (ash) use
3018 IFS even when no expansion is performed.
3019
3020 1999-04-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3021
3022 * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
3023 the real end of the chunk, not some random point inbetween.
3024 (_IO_obstack_xsputn): Likewise. Actually copy the data into the
3025 obstack when growing. Use fast version of obstack_blank when
3026 shrinking.
3027 (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
3028 allocating the vtable pointer.
3029 (_IO_obstack_vprintf): Adjust for above change and avoid
3030 unnecessary casts. Use fast version of obstack_blank when
3031 shrinking.
3032 Fixes PR libc/1075.
3033
3034 1999-04-12 Ulrich Drepper <drepper@cygnus.com>
3035
3036 * iconvdata/gconv-modules: Fix typo. Add UJIS alias.
3037 Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
3038
3039 1999-04-11 Tim Waugh <tim@cyberelk.demon.co.uk>
3040
3041 * posix/wordexp.c (wordexp): Fix a leak when an invalid character
3042 is seen, as well as fixing semantics. Don't reset the word count
3043 to zero when an invalid character is seen, but leave it as it was
3044 (this makes a difference with WRDE_APPEND).
3045
3046 * posix/wordexp-test.c: More test cases.
3047
3048 * posix/wordexp.c (parse_param): In words like ${var#pattern},
3049 always expand pattern when it is needed. Also, handle quoting in
3050 pattern properly.
3051
3052 1999-04-12 Philip Blundell <philb@gnu.org>
3053
3054 * elf/elf.h: Update ARM definitions to match current gas2.
3055
3056 * sysdeps/arm/bits/endian.h: Support big endian operation.
3057
3058 * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
3059 Don't bother range checking the port number.
3060
3061 * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
3062
3063 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
3064 the syscall name in assembler output for ease of debugging.
3065
3066 * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
3067 compiler behaviour.
3068 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
3069 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
3070 (sysdep_routines): Add sigrestorer.
3071
3072 * string/tester.c (test_strcpy): Add new tests for unaligned
3073 arguments.
3074 * sysdeps/arm/bits/string.h: Delete inline implementations of
3075 strcpy and stpcpy.
3076
3077 1999-04-11 Ulrich Drepper <drepper@cygnus.com>
3078
3079 * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
3080
3081 1999-04-10 Mark Kettenis <kettenis@gnu.org>
3082
3083 * sysdeps/mach/hurd/Dist: Add clk_tck.c.
3084
3085 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
3086
3087 * iconvdata/Makefile (modules): Add TIS-620.
3088 (distribute): Add tis-620.c.
3089 (gen-8bit-gap-modules): tis-620.
3090 * iconvdata/tis-620.c: New file.
3091 * iconvdata/gconv-modules: Add TIS-620 entries.
3092
3093 * iconvdata/asmo_449.c: Correct comment.
3094
3095 1999-04-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3096
3097 * manual/install.texi (Configuring and compiling): Comment out
3098 description of --disable-static since this doesn't work currently
3099 (see change by Ulrich Drepper on 1998-12-07 for configure.in).
3100
3101 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
3102
3103 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
3104 use binary search.
3105 Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
3106
3107 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3108
3109 * scripts/test-installation.pl (installation_problem): Skip
3110 libnss1_* libraries from glibc-compat add-on.
3111
3112 1999-04-07 H.J. Lu <hjl@gnu.org>
3113
3114 * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
3115 libstdc++ 2.7.2.
3116 * posix/Versions (__waitpid): Likewise.
3117
3118 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3119
3120 * manual/install.texi (Reporting Bugs): Add section about reported
3121 bugs and correct email address of glibcbug script.
3122
3123 1999-04-01 Thorsten Kukuk <kukuk@suse.de>
3124
3125 * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
3126 * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
3127 xdr_u_longlong_t. Based on patch from Dan Shechter
3128 <damageboy@isdn.net.il>.
3129 * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
3130 * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
3131
3132 * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
3133
3134 1999-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3135
3136 * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
3137 directly if getdents returns with error set.
3138
3139 1999-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3140
3141 * locale/langinfo.h (THOUSEP): Rename second occurence of
3142 THOUSANDS_SEP to THOUSEP.
3143 Reported by Roman Belenov <roman@nstl.nnov.ru>.
3144
3145 1999-04-05 Roland McGrath <roland@baalperazim.frob.com>
3146
3147 * hurd/STATUS: File removed. Moved items that are still relevant into
3148 TODO list in hurd source.
3149
3150 1999-03-26 Mark Kettenis <kettenis@gnu.org>
3151
3152 * sysdeps/mach/hurd/bits/time.h: New file.
3153 * sysdeps/mach/hurd/getrusage.c: New file.
3154 * sysdeps/mach/hurd/clk_tck.c: New file.
3155 * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
3156 * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
3157 (sysdep_routines): Add clk_tck.
3158 * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
3159 implemented.
3160
3161 1999-04-02 Ulrich Drepper <drepper@cygnus.com>
3162
3163 * misc/syslog.c (closelog_internal): Do not reset LogTag here.
3164 (closelog): But instead here.
3165 Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
3166
3167 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3168
3169 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
3170 the source directory. Fixes PR libc/1059.
3171
3172 1999-04-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3173
3174 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
3175 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3176
3177 1999-04-01 Ulrich Drepper <drepper@cygnus.com>
3178
3179 * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
3180 * iconvdata/testdata/ISO-8859-14: New file.
3181 * iconvdata/testdata/ISO-8859-14..UTF8: New file.
3182 * iconvdata/testdata/ISO-8859-15: New file.
3183 * iconvdata/testdata/ISO-8859-15..UTF8: New file.
3184
3185 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
3186
3187 * iconvdata/testdata/CP1258: New file.
3188 * iconvdata/testdata/CP1258..UTF8: New file.
3189 * iconvdata/TESTS: Add CP1258 entry.
3190
3191 * iconvdata/cp874.h (to_ucs4): Add Euro sign.
3192
3193 * timezone/africa: Update from tzdata1999d.
3194 * timezone/europe: Likewise.
3195 * timezone/northamerica: Likewise.
3196
3197 1999-03-31 Mark Kettenis <kettenis@gnu.org>
3198
3199 * login/programs/pt_chown.c (main): Save effective user ID before
3200 dropping priviliges and use this to check if the program is
3201 properly installed.
3202
3203 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
3204
3205 * iconvdata/testdata/CP1254: Update for charmap changes.
3206 * iconvdata/testdata/CP1254..UTF8: Likewise.
3207 * iconvdata/testdata/CP1255: Likewise.
3208 * iconvdata/testdata/CP1255..UTF8: Likewise.
3209 * iconvdata/testdata/CP1256: Likewise.
3210 * iconvdata/testdata/CP1256..UTF8: Likewise.
3211 * iconvdata/testdata/CP1257: Likewise.
3212 * iconvdata/testdata/CP1257..UTF8: Likewise.
3213
3214 * iconvdata/Makefile (distribute): Remove cp1258.h.
3215 (gen-8bit-gap-modules): Add cp1258.
3216 * iconvdata/cp1258.h: Removed.
3217
3218 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
3219
3220 * timezone/tst-timezone.c (tests): Add more cases.
3221 (check_tzvars): Mark errors clearer.
3222 (main): Likewise.
3223
3224 1999-03-30 20:59 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
3225
3226 * login/programs/pt_chown.c: Drop privileges if invoked with
3227 arguments. Don't close the master pty.
3228
3229 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
3230
3231 * time/tzfile.c (__tzfile_read): Process transitions from the rear.
3232 Minor optimization.
3233
3234 1999-03-29 Ulrich Drepper <drepper@cygnus.com>
3235
3236 * elf/rtld.c (process_envvars): Do not automatically prevent lazy
3237 relocation for SUID binaries.
3238
3239 1999-03-29 Paul Eggert <eggert@twinsun.com>
3240
3241 * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
3242 while in child process.
3243
3244 1999-03-29 Jakub Jelinek <jj@ultra.linux.cz>
3245
3246 * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
3247 * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
3248 * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
3249 * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
3250 * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
3251
3252 * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
3253 * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
3254 * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
3255 * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
3256 * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
3257 * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
3258 * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
3259 * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
3260 * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
3261 * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
3262 * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
3263 * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
3264 * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
3265 * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
3266 * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
3267 * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
3268 * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
3269 * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
3270 * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
3271 * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
3272 * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
3273 * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
3274 * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
3275 * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
3276 * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
3277 * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
3278
3279 * sysdeps/sparc/sparc32/bcopy.c: New file.
3280 * sysdeps/sparc/sparc32/bzero.c: New file.
3281 * sysdeps/sparc/sparc32/memchr.S: New file.
3282 * sysdeps/sparc/sparc32/memcpy.S: New file.
3283 * sysdeps/sparc/sparc32/memmove.c: New file.
3284 * sysdeps/sparc/sparc32/memset.S: New file.
3285 * sysdeps/sparc/sparc32/stpcpy.S: New file.
3286 * sysdeps/sparc/sparc32/strchr.S: New file.
3287 * sysdeps/sparc/sparc32/strrchr.c: New file.
3288 * sysdeps/sparc/sparc32/strcpy.S: New file.
3289 * sysdeps/sparc/sparc32/strlen.S: New file.
3290 * sysdeps/sparc/sparc32/strcat.S: New file.
3291 * sysdeps/sparc/sparc32/strcmp.S: New file.
3292
3293 * sysdeps/sparc/sparc64/bcopy.c: New file.
3294 * sysdeps/sparc/sparc64/bzero.c: New file.
3295 * sysdeps/sparc/sparc64/memchr.S: New file.
3296 * sysdeps/sparc/sparc64/memcmp.S: New file.
3297 * sysdeps/sparc/sparc64/memcpy.S: New file.
3298 * sysdeps/sparc/sparc64/memset.S: New file.
3299 * sysdeps/sparc/sparc64/stpcpy.S: New file.
3300 * sysdeps/sparc/sparc64/strcat.S: New file.
3301 * sysdeps/sparc/sparc64/strchr.S: New file.
3302 * sysdeps/sparc/sparc64/strcmp.S: New file.
3303 * sysdeps/sparc/sparc64/strcpy.S: New file.
3304 * sysdeps/sparc/sparc64/strcspn.S: New file.
3305 * sysdeps/sparc/sparc64/strlen.S: New file.
3306 * sysdeps/sparc/sparc64/strncpy.S: New file.
3307 * sysdeps/sparc/sparc64/strpbrk.S: New file.
3308 * sysdeps/sparc/sparc64/strrchr.c: New file.
3309 * sysdeps/sparc/sparc64/strspn.S: New file.
3310 * sysdeps/sparc/sparc64/stpncpy.S: New file.
3311 * sysdeps/sparc/sparc64/strncmp.S: New file.
3312
3313 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
3314 Append -fPIC, don't replace.
3315
3316 * configure.in: Recognize sparcv8plus / sparcv9.
3317
3318 1999-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3319
3320 * malloc/obstack.h (obstack_free): Explicitly convert __obj to
3321 char * to avoid C++ warning.
3322 Patch by yasushi@cs.washington.edu [PR libc/1035].
3323
3324 1999-03-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3325
3326 * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
3327 declared in stdlib.h, correct return value of mkstemp.
3328 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
3329
3330 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
3331 from Linux 2.2.5.
3332
3333 1999-03-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3334
3335 * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
3336 C++ warning.
3337
3338 * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
3339 inline functions. Closes PR libc/1049.
3340
3341 1999-03-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3342
3343 * timezone/README: Update from tzdata1999c and tzcode1999c.
3344
3345 * timezone/africa: Update from tzdata1999c.
3346 * timezone/antarctica: Likewise.
3347 * timezone/asia: Likewise.
3348 * timezone/australasia: Likewise.
3349 * timezone/europe: Likewise.
3350 * timezone/northamerica: Likewise.
3351 * timezone/southamerica: Likewise.
3352 * timezone/zone.tab: Likewise.
3353
3354 * timezone/zic.c: Update from tzcode1999c.
3355
3356 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3357
3358 * Makerules: Add $(common-objpfx)Versions.all to common-generated
3359 outside of ifndef avoid-generated.
3360
3361 * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
3362 in iofdopen.c.
3363 * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
3364 iofopen.c.
3365 * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
3366 in iofclose.c.
3367 * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
3368 _IO_old_file_seekoff): Bring over recent changes in fileops.c.
3369
3370 1999-03-26 Mark Kettenis <kettenis@gnu.org>
3371
3372 * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
3373 if we build the profiled library.
3374
3375 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3376
3377 * math/Makefile (gmp-objs): Add inlines. Reported by Andreas
3378 Jaeger <aj@arthur.rhein-neckar.de>
3379
3380 1999-03-25 Roland McGrath <roland@yaumatei.ai.mit.edu>
3381
3382 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
3383 (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
3384 This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
3385
3386 1999-03-24 Roland McGrath <roland@baalperazim.frob.com>
3387
3388 * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
3389 works properly in subdirs.
3390
3391 1999-03-23 Roland McGrath <roland@baalperazim.frob.com>
3392
3393 * sysdeps/mach/hurd/Makefile: Undo last change.
3394 [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
3395 [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
3396
3397 * mach/Machrules (+preinit, +postinit, +interp,
3398 LDFLAGS-$(interface.so)): Variables removed. Interface libraries get
3399 linked just like other shared libraries.
3400 (interface.so): Fix typo in defn, so it works.
3401 ($(objpfx)$(interface.so)): Make it depend on libc.so.
3402
3403 1999-03-21 Roland McGrath <roland@baalperazim.frob.com>
3404
3405 * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
3406 $(link-rpcuserlibs).
3407
3408 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3409
3410 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
3411 $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
3412 targets if not building shared libraries.
3413
3414 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3415
3416 * configure.in: Also look in $PATH when searching for
3417 install-info. Remove autoconf bug workaround and require autoconf
3418 2.13.
3419
3420 1999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3421
3422 * db/Makefile: Don't try to install shared library link if not
3423 building with shared libs.
3424
3425 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3426
3427 * rt/Makefile: Link against static library if no shared lib is
3428 available.
3429
3430 * localedata/Makefile: The shells scripts implementing the test
3431 require the dynamic linker which is not available with
3432 --disable-shared. Skip the test if --disable-shared is given.
3433
3434 * linuxthreads/Makefile: Link test against static libpthread if no
3435 shared lib is available.
3436
3437 * iconvdata/Makefile (tests): Run iconv-test only if we're
3438 building shared libraries.
3439 * elf/Makefile (tests): Likewise for elf tests.
3440
3441 * posix/Makefile: The test frameworks globtest and wordexp-test
3442 require the dynamic linker which is not available with
3443 --disable-shared. Skip the test if --disable-shared is given.
3444
3445 * grp/Makefile (otherlibs): For static nss build link against
3446 necessary libs.
3447
3448 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3449
3450 * debug/Makefile (install-bin): Install and build catchsegv only
3451 if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR
3452 libc/965].
3453
3454 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3455
3456 * time/tzfile.c (__tzfile_read): Handle the case where there are
3457 transitions but no DST.
3458
3459 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>
3460
3461 * mach/Machrules (extra-libs-others): Add $(interface-library) here
3462 too, so it gets built in the others pass rather than the lib pass.
3463 This is necessary since the RPC libraries need to be linked against
3464 libc.
3465
3466 1999-03-19 Roland McGrath <roland@baalperazim.frob.com>
3467
3468 * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
3469 _itoa_word decl.
3470
3471 * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
3472 ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
3473 ($(link-rpcuserlibs)): New static pattern rule; link intermediate
3474 versions of lib{mach,hurd}user.so without reference to libc.so,
3475 then link libc.so against that to get deps and symbol versions, then
3476 finally link real lib*user.so against libc.so.
3477
3478 * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
3479 Support whole-file locking (only) by using the file_lock RPC. This
3480 has very wrong semantics, but is better than nothing for the time
3481 being. (Correct POSIX.1 locking will require new RPCs in the Hurd
3482 protocols that will be somewhat hairy to specify.)
3483
3484 1999-03-17 Mark Kettenis <kettenis@gnu.org>
3485
3486 * sysdeps/mach/hurd/ptsname.c: New file.
3487
3488 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3489
3490 * timezone/asia: Fix rule in Asia/Nicosia entry.
3491
3492 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3493
3494 * manual/getopt.texi (Using Getopt): Explain "::" in option
3495 string. Reported by Yuri Niyazov <yuricake@geocities.com>.
3496
3497 1999-03-18 Thorsten Kukuk <kukuk@suse.de>
3498
3499 * sunrpc/clnt_unix.c: Fix creation of parameters for
3500 sendmsg/recvmsg on non intel platforms.
3501 * sunrpc/svc_unix.c: Likewise.
3502
3503 1999-03-18 Philip Blundell <philb@gnu.org>
3504
3505 * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386
3506 implementation.
3507
3508 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3509
3510 * timezone/africa: Update from tzdata1999b.
3511 * timezone/asia: Likewise.
3512 * timezone/australasia: Likewise.
3513 * timezone/europe: Likewise.
3514 * timezone/northamerica: Likewise.
3515 * timezone/southamerica: Likewise.
3516 * timezone/zone.tab: Likewise.
3517
3518 * timezone/README: Mention tzdata1999b.
3519
3520 1999-03-17 Ulrich Drepper <drepper@cygnus.com>
3521
3522 * sysdeps/generic/segfault.c (write_strsignal): New function.
3523 (catch_segfault): Use it instead of calling strsignal.
3524
3525 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3526
3527 * iconv/gconv.c (__gconv): Change type of last_start to unsigned
3528 char to avoid warning.
3529
3530 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
3531
3532 * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
3533
3534 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
3535 outbuf to unsigned char to avoid warning.
3536
3537 1999-03-11 David S. Miller <davem@redhat.com>
3538
3539 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
3540 masks.
3541 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
3542
3543 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
3544
3545 * iconv/gconv.h (gconv_fct): Change parameter from `char' to
3546 `unsigned char'.
3547 (gconv_step_data): Likewise.
3548 * iconv/gconv_int.h (__gconv): Likewise.
3549 (__BUILINT_TRANS): Likewise.
3550 * iconv/gconv.c (__gconv): Likewise.
3551 * iconv/iconv.c (iconv): Add casts for call of __gconv.
3552 * iconv/skeleton.c: Change local parameters and variable from `char' to
3553 `unsigned char'. Remove casts from calls into modules.
3554 * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
3555 `char' to `unsigned char'.
3556 * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
3557 * wcsmbs/mbrtowc.c: Likewise.
3558 * wcsmbs/mbsnrtowcs.c: Likewise.
3559 * wcsmbs/mbsrtowcs.c: Likewise.
3560 * wcsmbs/wcrtomb.c: Likewise.
3561 * wcsmbs/wcsnrtombs.c: Likewise.
3562 * wcsmbs/wcsrtombs.c: Likewise.
3563 * wcsmbs/wctob.c: Likewise.
3564
3565 1999-03-15 Mark Kettenis <kettenis@gnu.org>
3566
3567 * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
3568 __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
3569 __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
3570 __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
3571 __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
3572 __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
3573
3574 1999-03-15 Mark Kettenis <kettenis@gnu.org>
3575
3576 * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
3577 _hurd_select if TIMEMOUT is -1.
3578
3579 1999-03-15 Mark Kettenis <kettenis@gnu.org>
3580
3581 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
3582
3583 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
3584
3585 * elf/dl-load.c: Compute rtld_search_dir array size correctly.
3586 Reported by Yasushi Saito <yasushi@cs.washington.edu>.
3587
3588 1999-03-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3589
3590 * manual/libc.texinfo: Undo last change for now.
3591
3592 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
3593
3594 * intl/locale.alias: Add entries for Croatian.
3595 Patch by Tomislav Vujec <tvujec@CARNet.hr>.
3596
3597 1999-03-13 Mark Kettenis <kettenis@gnu.org>
3598
3599 * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
3600 if the opened master pty really is a pty. `isatty' checks for
3601 tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE
3602 if we are out of pty's.
3603
3604 1999-03-13 Mark Kettenis <kettenis@gnu.org>
3605
3606 * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
3607 opened file is closed on exec.
3608 * login/utmp_daemon.c (setutent_daemon): Likewise for the just
3609 opened socket.
3610
3611 1999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3612
3613 * manual/llio.texi (File Position Primitive): Reformat @end
3614 command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
3615
3616 1999-03-14 Ulrich Drepper <drepper@cygnus.com>
3617
3618 * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
3619 entry is found.
3620 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3621 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
3622
3623 * locale/programs/localedef.c (main): Initialize `cat' to please
3624 the compiler.
3625
3626 1999-03-14 Roland McGrath <roland@baalperazim.frob.com>
3627
3628 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
3629 check for root-owned symlinks and reject them too.
3630
3631 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3632
3633 * stdio-common/printf_fphex.c: Move to ...
3634 * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of
3635 extended precision number.
3636 * sysdeps/m68k/printf_fphex.c: New file.
3637
3638 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3639
3640 * manual/stdio.texi: Fix typos.
3641
3642 1999-03-09 Ulrich Drepper <drepper@cygnus.com>
3643
3644 * version.h (VERSION): Bump to 2.1.1.
3645
3646 1999-03-09 Thorsten Kukuk <kukuk@suse.de>
3647
3648 * nis/ypclnt.c: Try only twice to connect to NIS server.
3649
3650 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
3651
3652 * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
3653
3654 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3655
3656 * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
3657 (DENORM_EXP): New define. Use it as the exponent for a denormal.
3658 * stdlib/strtold.c: Moved to ...
3659 * sysdeps/generic/strtold.c: ... here.
3660 * sysdeps/m68k/strtold.c: New file.
3661
3662 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3663
3664 * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
3665 point if the precision is zero, even if the mantissa is non-zero.
3666
3667 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
3668
3669 * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
3670 arguments into the request message buffer inside `send_rpc'
3671 subfunction. We must repeat the marshalling when retrying the RPC
3672 after a SIGTTOU delivery.
3673
3674 * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
3675 path when there is no ctty port.
3676 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
3677 Move sigstate check inside loop so we recheck after handling a signal.
3678
3679 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3680
3681 * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
3682 O_EXLOCK are BSD extensions.
3683 Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
3684
3685 1999-03-08 Ulrich Drepper <drepper@cygnus.com>
3686
3687 * manual/signal.texi (Termination in Handler): Correct example.
3688 Install default handler before reraising the signal.
3689 Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
3690
3691 1999-03-08 Roland McGrath <roland@baalperazim.frob.com>
3692
3693 * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
3694 null, in which case send an empty string.
3695
3696 1999-03-02 Mark Kettenis <kettenis@gnu.org>
3697
3698 * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
3699 backward compatibility EH functions to be linked when using
3700 gcc-2.8.1. Patch by Zack Weinberg <zack@rabi.columbia.edu>.
3701
3702 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3703
3704 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
3705 /dev/pts status may change during runtime.
3706
3707 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3708
3709 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
3710 change. /dev/pts status can change during runtime.
3711
3712 1999-03-07 Thorsten Kukuk <kukuk@suse.de>
3713
3714 * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
3715 poll reports error.
3716 * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
3717 add some more sanity checks.
3718 * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
3719 parser prototype.
3720
3721 1999-03-05 Thorsten Kukuk <kukuk@suse.de>
3722
3723 * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
3724 change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
3725 * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
3726 * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
3727 * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
3728 for x_getint32.
3729 * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
3730 * nis/nis_print.c: Fix ctime argument for platforms where
3731 sizeof (time_t) != sizeof (int).
3732
3733 1999-03-07 Mark Kettenis <kettenis@gnu.org>
3734
3735 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
3736 CLOCKS_PER_SEC instead of CLK_TCK.
3737
3738 1999-03-05 Ulrich Drepper <drepper@cygnus.com>
3739
3740 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
3741 whether /dev/pts is available.
3742 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
3743 dev_pts_available.
3744
3745 * posix/globtest.sh: Make common_objpfx path absolute and and db2
3746 and hesiod directory to library path [PR libc/1007].
3747
3748 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3749
3750 * resolv/inet_addr.c (inet_aton): Don't allow componets >
3751 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
3752
3753 1999-03-05 Geoff Keating <geoffk@ozemail.com.au>
3754
3755 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
3756 DT_PLTGOT has already been relocated.
3757 (__elf_machine_fixup_plt): Likewise.
3758 Minor cleanups.
3759
3760 1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
3761
3762 * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
3763
3764 1999-03-03 Ulrich Drepper <drepper@cygnus.com>
3765
3766 * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
3767 and fold string to uppercase [PR libc/1005].
3768
3769 1999-03-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3770
3771 * elf/dl-load.c (lose): Fix return type.
3772
3773 1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
3774
3775 * sysdeps/mach/hurd/bits/fcntl.h
3776 [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
3777 * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
3778 set O_NOTRANS as well.
3779 (__hurd_file_name_lookup_retry): At successful end of lookup,
3780 if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
3781 it is a translated node not owned by root.
3782 (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
3783 on the file name passed to LOOKUP.
3784
3785 1999-03-02 Ulrich Drepper <drepper@cygnus.com>
3786
3787 * manual/time.texi (High Resolution Timer): Correct computation in
3788 example. Reported by jjf@devel.cemsys.com.
3789
3790 1999-03-02 Philip Blundell <pb@nexus.co.uk>
3791
3792 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
3793 entry is already relocated.
3794
3795 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3796
3797 * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported
3798 by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
3799
3800 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3801
3802 * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
3803 uc_link which is the right name according to Unix98.
3804 Reported by Craig Metz [PR libc/1001].
3805 * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
3806 * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
3807 * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
3808 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
3809 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise
3810 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
3811
3812 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3813
3814 * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
3815 @ifinfo.
3816
3817 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3818
3819 * iconvdata/Makefile: Always include iconv-rules, but disable rule
3820 to regenerate it if avoid-generated.
3821
3822 * Makeconfig: Always include sys-dirs, but disable rule to
3823 regenerate it when avoid-generated.
3824
3825 * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
3826 rule to generate sysd-syscalls.
3827
3828 * elf/Makefile (generated): Remove $(objpfx) from names.
3829
3830 1999-02-28 Mark Kettenis <kettenis@gnu.org>
3831
3832 * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
3833 actual length if the adress length is smaller than the input
3834 value. Change type of *LEN paramater to socklen_t.
3835 * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
3836 * sysdeps/mach/hurd/accept.c (accept): Likewise.
3837 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
3838 * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
3839 paramater to socklen_t.
3840
3841 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
3842
3843 * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
3844 msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
3845 with the RPC.
3846
3847 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
3848
3849 * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
3850 __get_phys_pages): Cast &HBI to silence warning.
3851
3852 * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
3853 * hurd/hurdchdir.c: New file.
3854 * hurd/hurdfchdir.c: New file.
3855 * sysdeps/mach/hurd/chroot.c: Call
3856 _hurd_change_directory_port_from_name to do the work.
3857 * sysdeps/mach/hurd/chdir.c: Likewise.
3858 * sysdeps/mach/hurd/fchdir.c: Call
3859 _hurd_change_directory_port_from_fd to do the work.
3860 * hurd/fchroot.c: Likewise.
3861 * hurd/hurd.h: Declare them.
3862
3863 1999-02-27 Ulrich Drepper <drepper@cygnus.com>
3864
3865 * elf/dl-load.c (lose): Add more comments to explain the `why'.
3866 (_dl_map_object): Remove redundant test.
3867
3868 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
3869
3870 * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
3871 try to _hurd_port_free a lower-numbered descriptor that was not in any
3872 fd_set.
3873
3874 1999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3875
3876 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
3877 declaration for ____wcstod_l_internal.
3878
3879 * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
3880 __strtod_internal prototype.
3881 * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
3882 (____strtold_l_internal): Add prototype declaration.
3883 (__strtold_l): Call correct function.
3884
3885 1999-02-24 Ulrich Drepper <drepper@cygnus.com>
3886
3887 * elf/elf.h: Add 32bit HPPA definitions.
3888
3889 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3890
3891 * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
3892 non-checked heap is restored when malloc checking was requested by
3893 the user.
3894 (struct malloc_state): Add using_malloc_checking.
3895 (MALLOC_STATE_VERSION): Increment minor.
3896 (using_malloc_checking, disallow_malloc_check): New variables.
3897 (__malloc_check_init): Use them.
3898 (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
3899 that it can the chunk is properly instrumented when malloc
3900 checking is enabled. Set the new using_malloc_checking field.
3901 (malloc_hook_ini): Correct signature when _LIBC is not defined.
3902
3903 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3904
3905 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
3906 (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
3907 time.
3908
3909 * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
3910 Don't call elf_get_dynamic_info and _dl_setup_hash a second time
3911 if ld.so is the main program.
3912
3913 1999-02-23 Ulrich Drepper <drepper@cygnus.com>
3914
3915 * stdio-common/vfprintf.c (vfprintf): If precision or width is too
3916 large for work_buffer, allocate new buffer.
3917 (printf_unknown): Likewise. [PR libc/988]
3918
3919 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
3920
3921 * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
3922 instead of stat and fstat.
3923 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3924
3925 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3926
3927 * elf/dl-error.c (_dl_signal_cerror): New function.
3928 (_dl_signal_error): Don't call receiver function.
3929 * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
3930 instead of _dl_signal_error when reporting references to undefined
3931 symbols or versions.
3932 (_dl_lookup_versioned_symbol): Likewise.
3933 (_dl_lookup_versioned_symbol_skip): Likewise.
3934 * elf/dl-version.c (match_symbol): Likewise.
3935
3936 * elf/ldsodefs.h: Declare _dl_signal_cerror.
3937
3938 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
3939
3940 * misc/getttyent.c (getttyent): Release lock on stream later to
3941 also protect global variable zapchar.
3942
3943 * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
3944 __times [PR libc/990].
3945
3946 1999-02-21 David S. Miller <davem@redhat.com>
3947
3948 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
3949 parentheses in Feb 2 changes.
3950 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
3951
3952 1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3953
3954 * sysdeps/generic/glob.c (glob): Save previous errno.
3955
3956 1999-02-21 Ulrich Drepper <drepper@cygnus.com>
3957
3958 * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
3959 lookup functions if it is too small.
3960
3961 1999-02-20 Ulrich Drepper <drepper@cygnus.com>
3962
3963 * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
3964 for tracing to the scope lists.
3965 * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
3966 DT_SYMTAB is always available according to ELF spec.
3967
3968 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
3969 call test whether there is any scope left.
3970 (_dl_lookup_versioned_symbol_skip): Likewise.
3971
3972 * elf/Makefile (distribute): Add do-lookup.h.
3973 * elf/do-lookup.h: New file. Split out from dl-lookup.c.
3974 * elf/dl-lookup.c: Move do_lookup function in separate file and
3975 include the file twice, for handling versioning and without it.
3976
3977 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
3978 entry is already relocated.
3979 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
3980 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
3981 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
3982 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
3983 Likewise.
3984 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
3985 Likewise.
3986 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
3987 Likewise.
3988
3989 * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
3990 load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
3991 DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
3992 (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
3993 rel and rela relocations can both happen and skip one test if this
3994 is not possible.
3995 (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
3996 appropriately.
3997 * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
3998 already relocated.
3999 * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
4000 relocated.
4001 * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
4002 (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
4003 (_dl_map_object): DT_STRTAB entry is already relocated.
4004 * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
4005 already relocated.
4006 * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
4007 relocated.
4008 * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
4009 DT_VERSYM entries are already relocated.
4010 (profile_fixup): Likewise.
4011 * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace
4012 all users.
4013 (match_symbol): DT_STRTAB entry is already relocated.
4014 (_dl_check_map_versions): Likewise. Also fo DT_VERSYM.
4015 * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
4016 relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated.
4017 * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
4018 (find_needed): DT_STRTAB entry is already relocated.
4019 (dl_main): Pass extra argument to elf_get_dynamic_info.
4020 DT_STRTAB entry is already relocated.
4021 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
4022 DT_PLTGOT entries are already relocated.
4023 (elf_machine_rela): Likewise for DT_SYMTAB.
4024 * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
4025 relocated.
4026 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4027 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
4028 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4029 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4030 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
4031 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
4032 (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
4033 * sysdeps/mips/mips64/dl-machine.h: Likewise.
4034
4035 * grp/initgroups.c (initgroups): If function in current module was
4036 successful don't stop but continue to process to get all the groups.
4037
4038 * elf/dl-load.c (_dl_map_object_from_fd): Use global
4039 _dl_pf_to_proot array to convert p_flags value.
4040 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4041
4042 * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
4043 loop to clear `info'.
4044
4045 * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
4046 do the work and don't use inline assembler.
4047
4048 1999-02-19 Ulrich Drepper <drepper@cygnus.com>
4049
4050 * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
4051 * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
4052 noreturn, and prevent it from being inlined.
4053 Define LOSE appropriately.
4054 (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
4055 Optimize decoding of p_flags for certain platforms.
4056
4057 1999-02-19 Philip Blundell <pb@nexus.co.uk>
4058
4059 * Makeconfig (link-libc): When doing a static link, make sure that
4060 libgcc.a is included both before and after libc.a.
4061
4062 1999-02-18 Thorsten Kukuk <kukuk@suse.de>
4063
4064 * nis/nss_compat/compat-spwd.c: Fix handling of default values for
4065 sp_warn, sp_inact, sp_expire and sp_flag.
4066
4067 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
4068
4069 * elf/link.h (link_map): Add l_dev and l_ino.
4070 * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
4071 loaded shared object with all loaded objects. Initialize l_ino
4072 and l_dev in case it's new.
4073 * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
4074 object.
4075 * elf/Makefile: Compile and run new test.
4076 * elf/multiload.c: New file.
4077
4078 * nss/nsswitch.h (service_user): Change name field from const char *
4079 to char[0].
4080 (name_database_entry): Likewise.
4081 * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
4082 for change of `service_user'.
4083 (nss_getline): Adjust memory allocation for change of
4084 `name_database_entry'.
4085
4086 * catgets/catgets.c: Correctly handle NLSPATH from environment
4087 [PR libc/980].
4088
4089 * io/Makefile (routines): Add lock64.
4090 * io/Versions: Add lockf64 for GLIBC_2.1.1.
4091 * sysdeps/generic/lockf64.c: New file.
4092
4093 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
4094
4095 * string/bits/string2.h: Only use strncmp optimization if count
4096 argument is constant.
4097
4098 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
4099
4100 * sysdeps/mach/hurd/revoke.c: New file.
4101
4102 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
4103
4104 * wctype/wctype.h (_ISwbit): Cast result of shift operations to
4105 int to avoid warning about `ISO C restricts enumerator values to
4106 range of `int''.
4107
4108 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4109
4110 * elf/dlfcn.h: Fix typo.
4111 * sysdeps/generic/bits/dlfcn.h: Likewise.
4112 * sysdeps/mips/bits/dlfcn.h: Likewise.
4113
4114 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
4115
4116 * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
4117 for the case N == 0.
4118
4119 * db2/Makefile (distribute): Add LICENSE.
4120
4121 1999-02-03 Jeff Bailey <jbailey@nisa.net>
4122
4123 * sysdeps/unix/make_errlist.c: Add i18n and copyright to
4124 generated files.
4125
4126 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
4127
4128 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
4129
4130 * time/mktime.c: Use ISO C form for function definitions and
4131 remove unnecessary prototypes.
4132
4133 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
4134
4135 * time/time.h: Avoid unneccesary #ifdef.
4136
4137 1999-02-15 Geoff Keating <geoffk@ozemail.com.au>
4138
4139 * stdio-common/_itoa.c (_itoa): Correct parameters to
4140 udiv_qrnnd_preinv.
4141
4142 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4143
4144 * misc/sys/cdefs.h: Undefine __PMT since it might be defined
4145 before (e.g. in glob.h).
4146 Closes PR libc/959.
4147
4148 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4149
4150 * sysdeps/mips/fpu_control.h: Fix typo.
4151 Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
4152 Remove __setfpucw.
4153
4154 1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
4155
4156 * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
4157 the "unused" ends of the sockets. Let pipes be bidirectional.
4158
4159 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
4160
4161 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
4162 invalid ai_flags.
4163
4164 1999-02-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4165
4166 * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by
4167 Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
4168
4169 * manual/setjmp.texi (Non-Local Exits and Signals): Fix
4170 typo. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
4171
4172 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
4173
4174 * string/Versions: Add __strverscmp to GLIBC_2.1.1.
4175
4176 1999-02-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4177
4178 * misc/syslog.c (vsyslog): Remember errno for %m format. Fix
4179 check for priority mask.
4180
4181 1999-02-14 Ulrich Drepper <drepper@cygnus.com>
4182
4183 * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
4184 Reported by Craig Metz <cmetz@inner.net> .
4185
4186 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4187
4188 * stdio-common/Makefile (tests): tllformat added.
4189
4190 * stdio-common/tllformat.c: New program, based on tiformat.c with
4191 examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
4192
4193 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4194
4195 * posix/test-vfork.c: Fix exit status test.
4196
4197 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4198
4199 * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
4200 missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
4201
4202 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4203
4204 * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
4205 of separare explicit comparisons.
4206
4207 1999-02-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4208
4209 * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
4210 defined.
4211
4212 * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
4213 defined.
4214
4215 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
4216
4217 * po/el.po: Update from translation team.
4218
4219 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4220
4221 * intl/locale.alias: Fix slovenian entry [PR libc/948].
4222
4223 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4224
4225 * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
4226 * inet/ruserpass.c: Likewise.
4227 * locale/programs/stringtrans.c: Likewise.
4228 * locale/programs/localedef.c: Likewise.
4229 * nscd/grpcache.c: Likewise.
4230 * nss/nss_files/files-XXX.c: Likewise.
4231 * stdlib/canonicalize.c: Likewise.
4232 * sysdeps/posix/sigwait.c: Likewise.
4233
4234 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4235
4236 * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
4237 even on 64 bit platforms.
4238
4239 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
4240 Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
4241
4242 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
4243
4244 * intl/dcgettext.c: Include locale.h is available.
4245
4246 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
4247
4248 * po/nl.po: Update from translation team.
4249
4250 * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
4251
4252 * Makefile: Allow calling goals for po subdir.
4253
4254 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
4255 signal definitions.
4256
4257 * po/el.po: New file.
4258
4259 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4260
4261 * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
4262 when processing DT_SYMBOLIC objects.
4263
4264 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4265
4266 * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
4267 program headers without PT_PHDR only require that they are
4268 contained within one of the loaded segments. Don't use assert,
4269 since that would be a bug in the object, not the dynamic linker.
4270
4271 1999-02-08 Richard Henderson <rth@cygnus.com>
4272
4273 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
4274 restore all call-clobbered fp regs.
4275
4276 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
4277
4278 * po/cs.po: New file.
4279
4280 * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
4281 SUID binaries.
4282
4283 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
4284
4285 * signal/signal.h: Don't declare __libc_allocate_rtsig.
4286 * include/signal.h: Declare __libc_allocate_rtsig here.
4287
4288 * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
4289 point functions, not do_lookup since the later can be called more
4290 than once.
4291
4292 1999-02-03 Jakub Jelinek <jj@ultra.linux.cz>
4293
4294 * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
4295 macro, so that architectures which need to add some special
4296 offset to stack pointer can share this file.
4297
4298 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
4299 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
4300 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
4301 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
4302
4303 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
4304 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
4305 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
4306 between sparc32 and sparc64.
4307
4308 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
4309 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
4310 * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
4311 between sparc32 and sparc64.
4312
4313 * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
4314 * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
4315 * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
4316 between sparc32 and sparc64.
4317
4318 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
4319 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
4320 * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
4321 between sparc32 and sparc64.
4322
4323 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
4324
4325 * Versions.def: New version GLIBC_2.1.1 for libc.
4326 * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
4327 * stdlib/labs.c: Moved to...
4328 * sysdeps/generic/labs.c: ...here.
4329 * stdlib/llabs.c: Moved to...
4330 * sysdeps/generic/llabs.c: ...here.
4331 * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
4332 header. Declare _Exit.
4333 * sysdeps/generic/_exit.c: Add alias _Exit.
4334 * sysdeps/mach/hurd/_exit.c: Likewise.
4335 * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
4336 * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
4337 * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
4338 * sysdeps/unix/_exit.c: Likewise.
4339 * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
4340 imaxdiv and imaxabs. Declare lldiv_t if necessary.
4341 * sysdeps/wordsize-64/inttypes.h: Likewise.
4342 * sysdeps/wordsize-32/llabs.c: New file.
4343 * sysdeps/wordsize-32/lldiv.c: New file.
4344 * sysdeps/wordsize-64/labs.c: New file.
4345 * sysdeps/wordsize-64/ldiv.c: New file.
4346 * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
4347 * manual/startup.texi: Document _Exit.
4348
4349 1999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4350
4351 * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
4352
4353 1999-02-06 Ulrich Drepper <drepper@cygnus.com>
4354
4355 * Versions.def: Add versions for ld.so.
4356 * csu/Versions: Remove __libc_stack_end here.
4357 * elf/Versions: Split libc definitions in libc and ld.so definitions.
4358 * elf/Makefile (ld-map): Change to ld.so.map.
4359 * scripts/versions.awk: Recognize dot in library names.
4360
4361 * ctype/ctype.h: Remove definitions of __tolower and __toupper.
4362 Don't use __tolower and __toupper in inline functions.
4363 Add optimizing macros for tolower and toupper.
4364 * ctype/ctype-extn.c (_tolower): Don't use __tolower.
4365 (_toupper): Don't use __toupper.
4366 * ctype/ctype.c (tolower): Don't use __tolower.
4367 (toupper): Don't use toupper.
4368
4369 * nscd/cache.c (prune_cache): Correct printing of debugging messages.
4370
4371 * resolv/Versions (libresolv): Export __ns_name_unpack and
4372 __ns_name_ntop.
4373 * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
4374 make it global. Change all users. Similar for ns_name_ntop.
4375 * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
4376 user-provided buffer. Use __ns_name_unpack and __ns_name_ntop
4377 directly to detect too small buffer.
4378 * resolv/nss_dns/dns-network.c: Likewise.
4379
4380 * stdio-common/Makefile (tests): Add scanf12.
4381 * stdio-common/scanf12.c: New file.
4382 * stdio-common/scanf12.input: New file.
4383 * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
4384 floating-point correctly if the number is invalid.
4385
4386 * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
4387 functions.
4388 * stdio-common/printf_fp.c: Likewise.
4389 * stdio-common/printf_fphex.c: Likewise.
4390 * stdio-common/vfprintf.c: Likewise.
4391
4392
4393 See ChangeLog.9 for earlier changes.