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