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