1 1999-06-25 Roland McGrath <roland@baalperazim.frob.com>
3 * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
4 hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
5 _EXTERN_INLINE, use a macro specific to each file,
6 _HURD_FD_H_EXTERN_INLINE and the like.
7 * hurd/Makefile (inline-headers): New variable.
8 (routines): Remove hurdinline. Add $(inlines).
9 (inlines): New variable.
10 ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
11 (generated): Append those here.
12 * hurd/hurdinline.c: File removed.
14 * sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
16 * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
18 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
20 * nscd/connections.c (nscd_run): Use correct type for optlen variable.
22 1999-06-25 Ulrich Drepper <drepper@cygnus.com>
24 * string/bits/string2.h (strnlen): Remove extra prototype.
26 1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
28 * manual/filesys.texi (Working on Directory Trees): Fix typos.
29 Reported by Andries.Brouwer@cwi.nl.
31 1999-06-24 Ulrich Drepper <drepper@cygnus.com>
33 * nscd/connections.c (handle_request): Use correct type for optlen
36 * misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
37 * misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.
39 1999-06-24 Thorsten Kukuk <kukuk@suse.de>
41 * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
42 * nscd/pwdcache.c: Likewise.
43 * nscd/hstcache.c: Likewise.
45 1999-06-23 Ulrich Drepper <drepper@cygnus.com>
47 * sysdeps/generic/fpu_control.c: Include math.h for __P definition.
49 * posix/getopt.h: Include stdio.h.
51 * manual/arith.texi: Document restriction of ndigit parameter of
53 * misc/efgcvt.c: Define NDIGIT_MAX.
54 (gcvt): Limit precision in sprintf call to NDIGIT_MAX.
55 Do not dynamically allocate the static buffers. They are small enough.
56 * misc/efgcvt_r.c: Define NDIGIT_MAX.
57 (fcvt_r): Limit precision in snprintf call to NDIGIT_MAX.
58 * misc/qefgcvt.c: Define NDIGIT_MAX.
59 * misc/qefgcvt_r.c: Likewise.
60 * misc/tst-efgcvt.c (special): Add test for large ndigit parameter.
62 1999-06-23 Zack Weinberg <zack@rabi.columbia.edu>
64 * libio/stdio.h: Define stdin, stdout, stderr as macros.
65 * math/complex.h: Don't define CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.
66 These are *pragmas* not macros.
67 * wcsmbs/wchar.h: Fix comment.
69 * grp/grp.h: Use __foo_t_defined convention to typedef things
71 * io/sys/stat.h: Likewise.
72 * libio/stdio.h: Likewise.
73 * posix/unistd.h: Likewise.
74 * posix/sys/types.h: Likewise.
75 * posix/sys/wait.h: Likewise.
76 * pwd/pwd.h: Likewise.
77 * signal/signal.h: Likewise.
78 * sysdeps/generic/stdint.h: Likewise.
79 * sysdeps/gnu/utmpx.h: Likewise.
80 * termios/termios.h: Likewise.
82 1999-06-23 Ulrich Drepper <drepper@cygnus.com>
84 * stdio/fputc.c: Don't define alias if fputc is defined as a
86 * stdio/putc.c: Define weak alias here since it is not done
89 1999-06-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
91 * assert/assert.h: Don't produce `defined' as part of macro
94 1999-06-23 Roland McGrath <roland@baalperazim.frob.com>
96 * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
97 OFFSET argument of (off_t) -1.
98 * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
99 OFFSET argument of (off_t) -1.
101 * sysdeps/mach/hurd/pwrite.c: New file.
102 * sysdeps/mach/hurd/pread.c: New file.
104 * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
105 pass it in the RPC instead of always -1.
106 * hurd/fd-write.c (_hurd_fd_write): Likewise.
107 * hurd/hurd/fd.h: Update decls.
109 1999-06-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
111 * libio/wscanf.c: Include <wchar.h> for prototype.
113 1999-06-22 Ulrich Drepper <drepper@cygnus.com>
115 * manual/io.texi. Fix typos.
116 * manual/stdio.texi: Likewise.
117 Patches by Brian Youmans <3diff@gnu.org>.
119 1999-06-22 Geoff Keating <geoffk@ozemail.com.au>
121 * sysdeps/powerpc/strcmp.S: Don't return a zero result if the high
122 bits of two words differ.
124 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
126 * libio/Makefile (routines): Add putwchar and putwchar_u.
128 * libio/putwchar.c: Include <wchar.h> instead of "stdio.h".
129 * libio/putwchar_u.c: Likewise. Use _IO_stdout instead of
130 stdout. Fix parameter name.
132 * libio/getchar.c: Consistently use _IO_stdin instead of stdin.
133 * libio/getchar_u.c: Likewise.
135 * libio/putchar_u.c: Use _IO_stdout instead of stdout.
137 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
139 * include/features.h (__GNUC_PREREQ): Don't generate `defined' via
140 macro expansion---it's undefined. Properly parenthesize
141 substituted parameters.
142 (__GLIBC_PREREQ): Likewise.
144 1999-06-21 Ulrich Drepper <drepper@cygnus.com>
146 * Makeconfig (CPPFLAGS): Revert last change. It has too many
149 * stdlib/longlong.h: Provide __P definition if not already
152 * include/wchar.h: Use __gnuc_va_list not va_list in prototype.
154 1999-06-18 Thorsten Kukuk <kukuk@suse.de>
156 * sysdeps/alpha/atomicity.h: Correct counting of subsections.
158 1999-06-17 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
160 * stdlib/tst-strtoll.c: Avoid warning about huge constant.
162 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
164 * stdio-common/vfprintf.c (group_member): Make parameters and
165 return types pointers to CHAR_T instead of UCHAR_T.
166 (vfprintf): Change type of work_buffer, workend and string to
167 CHAR_T pointer/array.
168 (process_arg, process_string_arg): Adjust/remove casts. Add
169 missing use of L_ macro.
170 (printf_unknown): Add missing uses of L_ macro.
172 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
174 * wcsmbs/wcschrnul.c: Explicitly cast return value to avoid
177 1999-06-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
179 * libio/wgenops.c (__wuflow): Fix use of WEOF vs. EOF. Call
180 _IO_switch_to_wget_mode instead of _IO_switch_to_get_mode.
181 (__wunderflow): Likewise.
182 (_IO_switch_to_wget_mode): Likewise.
183 (_IO_init_wmarker): Likewise.
185 * libio/wfileops.c (_IO_wfile_seekoff): Call
186 _IO_switch_to_wget_mode, not _IO_switch_to_get_mode.
187 (_IO_wfile_jumps): Fix pbackfail entry.
189 * libio/iosetvbuf.c (_IO_setvbuf): Only call wide char setbuf
190 function if the stream is currently unoriented.
192 1999-06-19 Zack Weinberg <zack@rabi.columbia.edu>
194 * wcsmbs/wchar.h: Define __need___va_list before including stdarg.h.
195 Wrap all wide stream functions with #ifdef __USE_ISOC9X. Use
196 __gnuc_va_list in v*w(printf|scanf) prototypes.
198 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
200 * libio/oldiopopen.c (_IO_old_proc_open): Apply change from
201 1999-03-29 to iopopen also here.
202 Reported by Richard Braakman <dark@xs4all.nl>.
204 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
206 * include/features.h: Use __GNUC_PREREQ.
207 * sysdeps/i386/fpu/bits/mathinline.h: Likewise
209 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
211 * stdio-common/vfscanf.c (ungetc, inchar) [COMPILE_WPRINTF]:
212 Change EOF to WEOF and remove cast.
213 (UNGETC): Remove macro.
214 (_IO_vfwscanf): Change isspace to ISSPACE and UNGETC to ungetc.
215 * stdio-common/printf-parse.h (find_spec) [!COMPILE_WPRINTF]:
216 Change ISASCII to isascii and MBRLEN to mbrlen.
217 (parse_one_spec): Compare info.spec always against wchar_t
219 * stdio-common/vfprintf.c: Remove unused ISASCII and MBRLEN.
220 (_itoa, _itoa_word) [COMPILE_WRPINTF]: Don't cast second argument.
221 (NOT_IN_JUMP_RANGE, CHAR_CLASS): Change (int) to (INT_T), use L_.
223 1999-06-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
225 * libio/Makefile (shared-only-routines): Add oldiofgetpos,
226 oldiofgetpos64, oldiofsetpos and oldiofsetpos64.
227 (routines): Include oldiofgetpos, oldiofgetpos64, oldiofsetpos and
228 oldiofsetpos64 only if doing versioning.
230 1999-06-20 Ulrich Drepper <drepper@cygnus.com>
232 * wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
234 1999-06-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
236 * libio/libio.h: Fix last patch.
238 1999-06-20 Ulrich Drepper <drepper@cygnus.com>
240 * libio/libio.h (_IO_putwc): Correct type of first argument.
241 * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked,
242 putwc_unlocked, putwchar_unlocked): Likewise.
243 * libio/fputwc.c: Likewise.
244 * libio/fputwc_unlocked.c: Likewise.
245 * libio/putwc.c: Likewise.
246 * libio/putwc_unlocked.c: Likewise.
247 * libio/putwchar.c: Likewise.
248 * libio/putwchar_unlocked.c: Likewise.
250 1999-06-19 Roland McGrath <roland@baalperazim.frob.com>
252 * sysdeps/gnu/siglist.h: File moved to ...
253 * sysdeps/generic/siglist.h: ... here. This file should be usable for
254 any platform, since it just associates the SIG* macros with text names
255 and descriptions. For any signal macros do not exist on every
256 platform, we can use #ifdef tests here and still use this single
257 common file for all platforms.
258 * sysdeps/generic/siglist.c: Rewrite using <siglist.h>. This file
259 should be usable for all platforms after the binary compatibility
260 stuff in the current sysdeps/gnu version is no longer required.
261 * sysdeps/generic/Makefile: Remove rules for generating siglist.c.
262 * sysdeps/generic/make_siglist.c: File removed.
263 * sysdeps/mach/hurd/siglist.h: Use #include_next.
264 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
266 1999-06-16 Roland McGrath <roland@baalperazim.frob.com>
268 * sysdeps/unix/sysv/linux/siglist.c: Moved to ...
269 * sysdeps/gnu/siglist.c: ... here.
270 Use <siglist.h> instead of "siglist.h", to ensure sysdeps-search.
271 Use <bits/wordsize.h> instead of <sizes.h> to determine PTR_SIZE_STR.
272 * sysdeps/gnu/siglist.h: New file, contents from linux version.
273 Add entry for SIGLOST protected by #ifdef.
274 * sysdeps/unix/sysv/linux/siglist.h: Just #include that file,
275 and define OLD_SIGLIST_SIZE_STR.
276 * sysdeps/mach/hurd/siglist.h: New file, likewise.
278 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
280 * include/features.h: Define new macros __GNUC_PREREQ and
281 __GLIBC_PREREQ which can be used to test the version of gcc
282 and glibc respectively.
284 * assert/assert.h: Use __GNUC_PREREQ.
285 * intl/libintl.h: Likewise.
286 * math/complex.h: Likewise.
287 * math/tgmath.h: Likewise.
288 * misc/sys/cdefs.h: Likewise.
289 * posix/sys/types.h: Likewise.
290 * socket/sys/socket.h: Likewise.
291 * string/bits/string2.h: Likewise.
292 * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
293 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
295 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu>
297 * include/libintl.h: Declare _libc_intl_domainname here.
298 Define _ and N_ here.
299 * include/libc-symbols.h: Don't include <libintl.h>. Don't
300 define _ and N_. Don't declare _libc_intl_domainname.
301 * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h.
303 * db2/config.h: Don't include sys/stat.h or define
304 HAVE_ST_BLKSIZE here...
305 * db2/compat.h: ...do it here.
307 * linuxthreads/internals.h: Include bits/libc-tsd.h after all
309 * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P.
310 * iconv/iconv.c: Include stddef.h for NULL.
311 * malloc/malloc.h: Include features.h.
312 * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t.
314 * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>"
315 into the generated file.
316 * sysdeps/gnu/errlist.awk: Likewise.
317 * sysdeps/gnu/errlist.c: Rebuilt.
319 * assert/assert-perr.c: Include libintl.h.
320 * assert/assert.c: Likewise.
321 * elf/dl-open.c: Likewise.
322 * elf/dlsym.c: Likewise.
323 * elf/dlvsym.c: Likewise.
324 * iconv/iconv_prog.c: Likewise.
325 * inet/rcmd.c: Likewise.
326 * inet/ruserpass.c: Likewise.
327 * locale/programs/charset.c: Likewise.
328 * locale/programs/ld-collate.c: Likewise.
329 * locale/programs/ld-ctype.c: Likewise.
330 * locale/programs/ld-messages.c: Likewise.
331 * locale/programs/ld-monetary.c: Likewise.
332 * locale/programs/ld-numeric.c: Likewise.
333 * locale/programs/ld-time.c: Likewise.
334 * locale/programs/locfile.c: Likewise.
335 * locale/programs/repertoire.c: Likewise.
336 * login/programs/database.c: Likewise.
337 * login/programs/request.c: Likewise.
338 * malloc/mcheck.c: Likewise.
339 * misc/error.c: Likewise.
340 * nis/nis_call.c: Likewise.
341 * nis/nis_callback.c: Likewise.
342 * nis/nis_error.c: Likewise.
343 * nis/nis_local_names.c: Likewise.
344 * nis/nis_print.c: Likewise.
345 * nis/nis_print_group_entry.c: Likewise.
346 * nis/ypclnt.c: Likewise.
347 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
348 * nscd/cache.c: Likewise.
349 * nscd/connections.c: Likewise.
350 * nscd/grpcache.c: Likewise.
351 * nscd/hstcache.c: Likewise.
352 * nscd/nscd_conf.c: Likewise.
353 * nscd/nscd_stat.c: Likewise.
354 * nscd/pwdcache.c: Likewise.
355 * posix/id.c: Likewise.
356 * resolv/herror.c: Likewise.
357 * stdio-common/psignal.c: Likewise.
358 * string/strsignal.c: Likewise.
359 * sunrpc/auth_unix.c: Likewise.
360 * sunrpc/clnt_perr.c: Likewise.
361 * sunrpc/clnt_raw.c: Likewise.
362 * sunrpc/clnt_tcp.c: Likewise.
363 * sunrpc/clnt_udp.c: Likewise.
364 * sunrpc/clnt_unix.c: Likewise.
365 * sunrpc/get_myaddr.c: Likewise.
366 * sunrpc/pm_getmaps.c: Likewise.
367 * sunrpc/pmap_clnt.c: Likewise.
368 * sunrpc/pmap_rmt.c: Likewise.
369 * sunrpc/rpc_main.c: Likewise.
370 * sunrpc/rpc_scan.c: Likewise.
371 * sunrpc/svc_run.c: Likewise.
372 * sunrpc/svc_simple.c: Likewise.
373 * sunrpc/svc_tcp.c: Likewise.
374 * sunrpc/svc_udp.c: Likewise.
375 * sunrpc/svc_unix.c: Likewise.
376 * sunrpc/xdr_rec.c: Likewise.
377 * sunrpc/xdr_ref.c: Likewise.
378 * sysdeps/mach/hurd/mips/dl-machine.c: Likewise.
379 * sysdeps/posix/gai_strerror.c: Likewise.
380 * sysdeps/unix/siglist.c: Likewise.
381 * sysdeps/unix/sysv/linux/siglist.c: Likewise.
382 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
383 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise.
384 * timezone/zic.c: Likewise.
386 1999-06-18 H.J. Lu <hjl@gnu.org>
388 * localedata/Makefile (charmaps): Exclude SCCS.
390 (repertoiremaps): Likewise.
392 1999-06-18 Ulrich Drepper <drepper@cygnus.com>
394 * sysdeps/generic/bsd-_setjmp.c: Include setjmp.h.
395 * sysdeps/generic/bsd-setjmp.c: Likewise.
397 * sunrpc/xdr_sizeof.c (x_inline): Cleanup pointer assignments.
399 * iconv/gconv_open.c: Include string.h for memset prototype.
401 * libio/libioP.h (FILEBUF_LITERAL): Add missing parameter to macro
404 * sysdeps/unix/sysv/linux/init-first.h: Add extra cast in argc
405 assignment to avoid warning on 64bit platforms.
407 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
409 * libio/libio.h (_IO_codecvt): Change __P ot __PMT.
411 * nss/getXXbyYY_r.c: Return error code not -1.
412 * nss/getXXent_r.c: Likewise.
413 * nss/getXXbyYY.c: Expect return value to be ERANGE if buffer is too
415 * nscd/nscd_getgr_r.c: Return -1 in case nscd is not available and
417 * nscd/nscd_gethst_r.c: Likewise.
418 * nscd/nscd_getpw_r.c: Likewise.
420 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
422 * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Add missing line
425 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
427 * nscd/nscd_nischeck.c: Fix typos.
429 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
431 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Don't fail
432 always when oact is NULL.
433 Patch by Christian Meder <meder@isr.uni-stuttgart.de>.
435 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
437 * math/libm-test.c (jn_test): Adjust delta.
439 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
441 * libio/vwprintf.c: Include <wchar.h> for prototypes.
442 * libio/wprintf.c: Likewise.
444 1999-06-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
446 * elf/dl-load.c (_dl_init_paths): Add one more element to aelem
447 to not write beyond allocated memory.
448 Reported by John Reiser <jreiser@BitWagon.com>, closes PR libc/1167.
450 1999-06-17 Ulrich Drepper <drepper@cygnus.com>
452 * malloc/mtrace.c: Keep lock while printing output lines.
453 Patch by carsten.zimmermann@mediaways.net [PR libc/1166].
455 1999-06-16 Ulrich Drepper <drepper@cygnus.com>
457 * configure.in: Add warnings about broken code.
459 * Versions.def: Add GLIBC_2.2 for libc.
461 * iconv/gconv.h: Make header suitable for inclusion in public header
462 by protecting all names with __.
463 * iconv/gconv.c: Adapt for symbol name changes.
464 * iconv/gconv.h: Likewise.
465 * iconv/gconv_builtin.c: Likewise.
466 * iconv/gconv_close.c: Likewise.
467 * iconv/gconv_db.c: Likewise.
468 * iconv/gconv_dl.c: Likewise.
469 * iconv/gconv_int.h: Likewise.
470 * iconv/gconv_open.c: Likewise.
471 * iconv/gconv_simple.c: Likewise.
472 * iconv/iconv.c: Likewise.
473 * iconv/iconv_close.c: Likewise.
474 * iconv/iconv_open.c: Likewise.
475 * iconv/loop.c: Likewise.
476 * iconv/skeleton.c: Likewise.
477 * iconvdata/8bit-gap.c: Likewise.
478 * iconvdata/8bit-generic.c: Likewise.
479 * iconvdata/ansi_x3.110.c: Likewise.
480 * iconvdata/big5.c: Likewise.
481 * iconvdata/cns11643.h: Likewise.
482 * iconvdata/cns11643l1.h: Likewise.
483 * iconvdata/euc-cn.c: Likewise.
484 * iconvdata/euc-jp.c: Likewise.
485 * iconvdata/euc-kr.c: Likewise.
486 * iconvdata/euc-tw.c: Likewise.
487 * iconvdata/gb2312.h: Likewise.
488 * iconvdata/iso-2022-jp.c: Likewise.
489 * iconvdata/iso-2022-kr.c: Likewise.
490 * iconvdata/iso646.c: Likewise.
491 * iconvdata/iso8859-1.c: Likewise.
492 * iconvdata/iso_6937-2.c: Likewise.
493 * iconvdata/iso_6937.c: Likewise.
494 * iconvdata/jis0201.h: Likewise.
495 * iconvdata/jis0208.h: Likewise.
496 * iconvdata/jis0212.h: Likewise.
497 * iconvdata/johab.c: Likewise.
498 * iconvdata/ksc5601.h: Likewise.
499 * iconvdata/sjis.c: Likewise.
500 * iconvdata/t.61.c: Likewise.
501 * iconvdata/uhc.c: Likewise.
502 * stdlib/mblen.c: Likewise.
503 * stdlib/mbtowc.c: Likewise.
504 * stdlib/wctomb.c: Likewise.
505 * wcsmbs/btowc.c: Likewise.
506 * wcsmbs/mbrtowc.c: Likewise.
507 * wcsmbs/mbsnrtowcs.c: Likewise.
508 * wcsmbs/mbsrtowcs.c: Likewise.
509 * wcsmbs/wchar.h: Likewise.
510 * wcsmbs/wcrtomb.c: Likewise.
511 * wcsmbs/wcsmbsload.c: Likewise.
512 * wcsmbs/wcsmbsload.h: Likewise.
513 * wcsmbs/wcsnrtombs.c: Likewise.
514 * wcsmbs/wcsrtombs.c: Likewise.
515 * wcsmbs/wctob.c: Likewise.
517 * include/limits.h (MB_LEN_MAX): Increase to 16.
519 * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct. Define
521 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
522 * include/wchar.h: Change mbstate_t to __mbstate_t.
524 * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
525 oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
526 getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
527 iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
528 putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
529 vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
531 (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
532 * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
533 _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
534 fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
535 fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
536 getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
537 putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
538 vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
540 * libio/libio.h: Define codecvt struct. Define _IO_wide_data.
541 Extend _IO_file contain pointer to codecvt, widedata and mode.
542 (_IO_getwc_unlocked): New macro.
543 (_IO_putwc_unlocked): New macro.
544 (_IO_fwide): New macro.
545 * libio/libioP.h: Add new prototypes and adjust existing declarations.
546 * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
547 buffers based on mode.
548 (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
550 (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
551 flag to be enough to signal unallocated buffer. For wide oriented
552 stream don't make it linebuffered. Don't use _IO_do_flush, use
553 _IO_new_do_write directly.
554 (_IO_new_file_seekoff): Change return value type to _IO_off64_t.
555 (_IO_file_seek): Likewise.
556 * libio/genops.c (_IO_least_marker): Make global.
557 (__underflow): Orient stream if not already done.
559 (_IO_default_seekpos): Change to type _IO_off64_t.
560 (_IO_default_seekoff): Likewise.
561 (_IO_default_seek): Likewise.
562 (_IO_no_init): New function. Similar to _IO_init but allows to orient
564 * libio/iolibio.h: Add prototype for _IO_vswprintf. Change _IO_pos_BAD
566 * libio/ftello.c: Use _IO_off_t. For now abort when use with wide
568 * libio/ftello64.c: Likewise.
569 * libio/ioftell.c: Likewise.
570 * libio/iofopncook.c: Likewise.
571 * libio/ioseekoff.c: Likewise.
572 * libio/ioseekpos.c: Likewise.
573 * libio/oldfileops.c: Likewise.
574 * libio/iofgetpos.c: Store state of conversion if necessary.
575 * libio/iofgetpos64.c: Likewise.
576 * libio/iofsetpos.c: Restore conversion state if necessary.
577 * libio/iofsetpos64.c: Likewise.
578 * libio/iofdopen.c: Initialize so that stream can be wide oriented.
579 * libio/iofopen.c: Likewise.
580 * libio/iofopen64.c: Likewise.
581 * libio/iopopen.c: Likewise.
582 * libio/iovdprintf.c: Likewise.
583 * libio/iovsprintf.c: Likewise.
584 * libio/iovsscanf.c: Likewise.
585 * libio/memstream.c: Likewise.
586 * libio/obprintf.c: Likewise.
587 * libio/iofputs.c: Orient stream if not already happened.
588 * libio/iofputs_u.c: Likewise.
589 * libio/iofwrite.c: Likewise.
590 * libio/iofwrite_u.c: Likewise.
591 * libio/ioputs.c: Likewise.
592 * libio/iosetbuffer.c: Handle not yet oriented stream.
593 * libio/iosetvbuf.c: Likewise.
594 * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
595 * libio/stdfiles.c: Likewise.
596 * libio/strops.c (_IO_str_overflow): Correctly free buffer after
598 (_IO_str_seekoff): Use _IO_off64_t.
599 * libio/vasprintf.c: Pre-orient stream.
600 * libio/vsnprintf.c: Likewise.
601 * libio/fputwc.c: New file.
602 * libio/fputwc_u.c: New file.
603 * libio/fwprintf.c: New file.
604 * libio/fwscanf.c: New file.
605 * libio/getwc.c: New file.
606 * libio/getwc_u.c: New file.
607 * libio/getwchar.c: New file.
608 * libio/getwchar_u.c: New file.
609 * libio/iofgetws.c: New file.
610 * libio/iofgetws_u.c: New file.
611 * libio/iofputws.c: New file.
612 * libio/iofputws_u.c: New file.
613 * libio/iofwide.c: New file.
614 * libio/iogetwline.c: New file.
615 * libio/ioungetwc.c: New file.
616 * libio/iovswscanf.c: New file.
617 * libio/iowpadn.c: New file.
618 * libio/oldiofgetpos.c: New file.
619 * libio/oldiofgetpos64.c: New file.
620 * libio/oldiofsetpos.c: New file.
621 * libio/oldiofsetpos64.c: New file.
622 * libio/putwc.c: New file.
623 * libio/putwc_u.c: New file.
624 * libio/putwchar.c: New file.
625 * libio/putwchar_u.c: New file.
626 * libio/swprintf.c: New file.
627 * libio/swscanf.c: New file.
628 * libio/tst_swprintf.c: New file.
629 * libio/tst_swscanf.c: New file.
630 * libio/tst_wprintf.c: New file.
631 * libio/tst_wscanf.c: New file.
632 * libio/tst_wscanf.input: New file.
633 * libio/vswprintf.c: New file.
634 * libio/vwprintf.c: New file.
635 * libio/vwscanf.c: New file.
636 * libio/wfiledoalloc.c: New file.
637 * libio/wfileops.c: New file.
638 * libio/wgenops.c: New file.
639 * libio/wprintf.c: New file.
640 * libio/wscanf.c: New file.
641 * libio/wstrops.c: New file.
642 * stdio-common/Makefile (routines): Add _itowa, itowa-digits,
643 vfwprintf, and vfwscanf.
644 * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
646 * stdio-common/_itowa.c: New file.
647 * stdio-common/_itowa.h: New file.
648 * stdio-common/itoa-digits.c: Minimal optimization.
649 * stdio-common/itowa-digits.c: New file.
650 * stdio-common/printf-parse.h: Allow use in wide character context.
651 * stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
652 * stdio-common/printf.h (printf_info): Add wide bit.
653 * stdio-common/printf_fp.c: Determine from wide bit whether stream
654 is wide oriented or not.
655 * stdio-common/printf_size.c: Likewise.
656 * sysdeps/generic/printf_fphex.c: Likewise.
657 * stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
658 * stdio-common/vfprintf.c: Rewrite to allow use in wide character
660 * stdio-common/vfscand.c: Likewise.
661 * stdio-common/vfwprintf.c: New file.
662 * stdio-common/vfwscanf.c: New file.
664 * time/Makefile (routines): Add wcsftime.
665 (tests): Add tst_wcsftime.
666 * time/Versions: Add wcsftime to GLIBC_2.2 for libc.
667 * time/strftime.c: Make usable as wcsftime.
668 * time/wcsftime.c: New file.
669 * time/tst_wcsftime.c: New file.
671 * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
672 * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
673 * wcsmbs/wcschrnul.c: New file.
674 * wcsmbs/wmemcpy.c: New file.
675 * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
676 * wcsmbs/wmemmove.c: Likewise for wmemmove.
678 * manual/stdio.texi: Document is_char and wide element if printf_info.
680 * manual/time.texi: Document wcsftime.
682 * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
683 __wmemmove, __wcschrnul, and __vfwscanf.
685 * locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
686 * locale/C-time.c: Adapt for above change.
687 * locale/categories.def: Likewise.
688 * locale/localeinfo.h: Likewise.
689 * localedata/Makefile: Don't run tests for now.
691 * manual/errno.texi: Fix typos.
692 * manual/memory.texi: Likewise.
693 * manual/ctype.texi: Likewise.
694 Patches by Brian Youmans <3diff@gnu.org>.
696 1999-06-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
698 * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
700 1999-06-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
702 * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
704 * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
705 * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
707 1999-06-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
709 * db2/db/db.c: Restore __nss_db_open alias.
710 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in
712 * db2/os/os_rw.c (__os_write): Maintain const correctness.
713 * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'.
715 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
717 * stdio-common/printf-parse.h (parse_one_spec): Don't set
718 is_longlong if not necessary.
720 1999-06-15 H.J. Lu <hjl@gnu.org>
722 * Make-dist (sysdep_dirs): Exclude SCCS.
723 * MakeTAGS (sysdep_dirs): Likewise.
725 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
727 * posix/regex.c (re_error_msgid): Remove extra commas.
729 1999-06-14 Geoff Keating <geoffk@ozemail.com.au>
731 * stdlib/tst-strtoll.c: New file.
732 * stdlib/Makefile (tests): Add tst-strtoll.c
733 * stdlib/strtol.c: It is not generally true that if
734 (unsigned)a*(unsigned)b overflows, then the result is
737 1999-06-14 Thorsten Kukuk <kukuk@suse.de>
739 * nscd/connections.c (handle_request): Only root is allowed to
740 send GETSTAT request in non secure mode.
741 * nscd/nscd.c: Print error message if other then root try to
744 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
746 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
748 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
750 * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
751 Closes PR libc/1164, reported by sascha@schumann.2ns.de.
753 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
755 * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
756 for character to search, to help the compiler.
757 * sysdeps/generic/strchrnul.c: Likewise.
758 * sysdeps/generic/memchr.c: Likewise.
759 * sysdeps/generic/memccpy.c: Likewise.
760 * sysdeps/generic/rawmemchr.c: Likewise. Fix comment.
762 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
764 * sysdeps/m68k/memchr.S: New file.
765 * sysdeps/m68k/rawmemchr.S: New file.
766 * sysdeps/m68k/strchr.S: New file.
767 * sysdeps/m68k/strchrnul.S: New file.
769 1999-06-13 Geoff Keating <geoffk@ozemail.com.au>
771 * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
772 add `memory' clobber; optimise for constant `val'.
773 (atomic_add): Likewise.
774 (test_and_set): Remove `volatile'; add `memory' clobber; be more
775 like the original `test_and_set'.
776 (compare_and_swap): Remove `volatile'; add `memory' clobber;
777 optimise for constant `oldval'.
778 (always_swap): Remove `volatile'; add `memory' clobber.
780 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
782 * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
783 functions for gcc <= 2.7.x.
785 1999-06-13 Roland McGrath <roland@baalperazim.frob.com>
787 * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
790 1999-06-13 Ulrich Drepper <drepper@cygnus.com>
792 * db2/Makefile (distribute): Remove files which do not exist
795 * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
796 definitions to calm down gcc.
798 * db2/db.h: Update from db 2.7.5.
799 * db2/db_185.h: Likewise.
800 * db2/db_int.h: Likewise.
801 * db2/btree/bt_compare.c: Likewise.
802 * db2/btree/bt_conv.c: Likewise.
803 * db2/btree/bt_curadj.c: Likewise.
804 * db2/btree/bt_cursor.c: Likewise.
805 * db2/btree/bt_delete.c: Likewise.
806 * db2/btree/bt_open.c: Likewise.
807 * db2/btree/bt_page.c: Likewise.
808 * db2/btree/bt_put.c: Likewise.
809 * db2/btree/bt_rec.c: Likewise.
810 * db2/btree/bt_recno.c: Likewise.
811 * db2/btree/bt_rsearch.c: Likewise.
812 * db2/btree/bt_search.c: Likewise.
813 * db2/btree/bt_split.c: Likewise.
814 * db2/btree/bt_stat.c: Likewise.
815 * db2/btree/btree_auto.c: Likewise.
816 * db2/common/db_appinit.c: Likewise.
817 * db2/common/db_apprec.c: Likewise.
818 * db2/common/db_err.c: Likewise.
819 * db2/common/db_region.c: Likewise.
820 * db2/common/db_salloc.c: Likewise.
821 * db2/db/db.c: Likewise.
822 * db2/db/db.src: Likewise.
823 * db2/db/db_am.c: Likewise.
824 * db2/db/db_auto.c: Likewise.
825 * db2/db/db_dispatch.c: Likewise.
826 * db2/db/db_dup.c: Likewise.
827 * db2/db/db_iface.c: Likewise.
828 * db2/db/db_join.c: Likewise.
829 * db2/db/db_overflow.c: Likewise.
830 * db2/db/db_pr.c: Likewise.
831 * db2/db/db_rec.c: Likewise.
832 * db2/db/db_ret.c: Likewise.
833 * db2/db185/db185.c: Likewise.
834 * db2/dbm/dbm.c: Likewise.
835 * db2/hash/hash.c: Likewise.
836 * db2/hash/hash_auto.c: Likewise.
837 * db2/hash/hash_dup.c: Likewise.
838 * db2/hash/hash_page.c: Likewise.
839 * db2/hash/hash_rec.c: Likewise.
840 * db2/hash/hash_stat.c: Likewise.
841 * db2/include/btree.h: Likewise.
842 * db2/include/btree_ext.h: Likewise.
843 * db2/include/clib_ext.h: Likewise.
844 * db2/include/common_ext.h: Likewise.
845 * db2/include/db_am.h: Likewise.
846 * db2/include/db_auto.h: Likewise.
847 * db2/include/db_cxx.h: Likewise.
848 * db2/include/db_ext.h: Likewise.
849 * db2/include/db_join.h: Likewise.
850 * db2/include/db_page.h: Likewise.
851 * db2/include/hash.h: Likewise.
852 * db2/include/hash_ext.h: Likewise.
853 * db2/include/lock.h: Likewise.
854 * db2/include/lock_ext.h: Likewise.
855 * db2/include/log.h: Likewise.
856 * db2/include/log_ext.h: Likewise.
857 * db2/include/mp.h: Likewise.
858 * db2/include/mp_ext.h: Likewise.
859 * db2/include/os.h: Likewise.
860 * db2/include/os_ext.h: Likewise.
861 * db2/include/os_func.h: Likewise.
862 * db2/include/txn.h: Likewise.
863 * db2/include/txn_auto.h: Likewise.
864 * db2/include/txn_ext.h: Likewise.
865 * db2/include/xa.h: Likewise.
866 * db2/include/xa_ext.h: Likewise.
867 * db2/lock/lock.c: Likewise.
868 * db2/lock/lock_conflict.c: Likewise.
869 * db2/lock/lock_deadlock.c: Likewise.
870 * db2/lock/lock_region.c: Likewise.
871 * db2/lock/lock_util.c: Likewise.
872 * db2/log/log.c: Likewise.
873 * db2/log/log_archive.c: Likewise.
874 * db2/log/log_auto.c: Likewise.
875 * db2/log/log_findckp.c: Likewise.
876 * db2/log/log_get.c: Likewise.
877 * db2/log/log_put.c: Likewise.
878 * db2/log/log_rec.c: Likewise.
879 * db2/log/log_register.c: Likewise.
880 * db2/mp/mp_bh.c: Likewise.
881 * db2/mp/mp_fget.c: Likewise.
882 * db2/mp/mp_fopen.c: Likewise.
883 * db2/mp/mp_fput.c: Likewise.
884 * db2/mp/mp_fset.c: Likewise.
885 * db2/mp/mp_open.c: Likewise.
886 * db2/mp/mp_pr.c: Likewise.
887 * db2/mp/mp_region.c: Likewise.
888 * db2/mp/mp_sync.c: Likewise.
889 * db2/mutex/mutex.c: Likewise.
890 * db2/mutex/uts4_cc.s: Likewise.
891 * db2/os/os_abs.c: Likewise.
892 * db2/os/os_alloc.c: Likewise.
893 * db2/os/os_config.c: Likewise.
894 * db2/os/os_dir.c: Likewise.
895 * db2/os/os_fid.c: Likewise.
896 * db2/os/os_fsync.c: Likewise.
897 * db2/os/os_map.c: Likewise.
898 * db2/os/os_oflags.c: Likewise.
899 * db2/os/os_open.c: Likewise.
900 * db2/os/os_rw.c: Likewise.
901 * db2/os/os_seek.c: Likewise.
902 * db2/os/os_sleep.c: Likewise.
903 * db2/os/os_spin.c: Likewise.
904 * db2/os/os_stat.c: Likewise.
905 * db2/os/os_tmpdir.c: Likewise.
906 * db2/os/os_unlink.c: Likewise.
907 * db2/progs/db_archive/db_archive.c: Likewise.
908 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
909 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
910 * db2/progs/db_dump/db_dump.c: Likewise.
911 * db2/progs/db_load/db_load.c: Likewise.
912 * db2/progs/db_printlog/README: Likewise.
913 * db2/progs/db_printlog/commit.awk: Likewise.
914 * db2/progs/db_printlog/count.awk: Likewise.
915 * db2/progs/db_printlog/db_printlog.c: Likewise.
916 * db2/progs/db_printlog/pgno.awk: Likewise.
917 * db2/progs/db_printlog/range.awk: Likewise.
918 * db2/progs/db_printlog/status.awk: Likewise.
919 * db2/progs/db_printlog/txn.awk: Likewise.
920 * db2/progs/db_recover/db_recover.c: Likewise.
921 * db2/progs/db_stat/db_stat.c: Likewise.
922 * db2/txn/txn.c: Likewise.
923 * db2/txn/txn.src: Likewise.
924 * db2/txn/txn_auto.c: Likewise.
925 * db2/txn/txn_rec.c: Likewise.
926 * db2/xa/xa.c: Likewise.
927 * db2/xa/xa_db.c: Likewise.
928 * db2/xa/xa_map.c: Likewise.
930 * db2/btree/bt_close.c: Removed.
931 * db2/db/db_thread.c: Likewise.
932 * db2/hash/hash_debug.c: Likewise.
933 * db2/include/db.h.src: Likewise.
934 * db2/include/db_int.h.src: Likewise.
935 * db2/include/os_jump.h: Likewise.
936 * db2/mutex/alpha.dec: Likewise.
937 * db2/mutex/alpha.gcc: Likewise.
938 * db2/mutex/parisc.hp: Likewise.
939 * db2/mutex/uts4.cc.s: Likewise.
941 * db2/Makefile: Add new routines, remove old for 2.7.5.
942 * db2/Versions: Add internal function names for the helper programs.
943 * db2/makedb.c: Update for new cursor callback.
944 * Versions.def: Define versions for libdb.
946 1999-06-13 Thorsten Kukuk <kukuk@suse.de>
948 * nscd/connections.c (nscd_run): Get user ID for all non-db services.
949 * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
950 * nscd/nscd_nischeck.c: New file.
951 * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
953 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
955 * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
956 MSG_* flags from Linux 2.2.9.
958 1999-06-12 Mark Kettenis <kettenis@gnu.org>
960 * Makeconfig (static-start-installed-name): Set to
961 $(start-installed-name) if not defined.
962 (+link-static): Use $(static-start-installed-name) instead of
963 $(start-installed-name).
964 * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
967 1999-06-12 Mark Kettenis <kettenis@gnu.org>
969 * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
970 inserting a send right into the child instead of unconditionally
971 copying the send right.
973 1999-06-12 Ulrich Drepper <drepper@cygnus.com>
975 * locale/lc-time.c: Add free_mem function to free if necessary
976 statically allocated memory.
978 1999-06-10 Jakub Jelinek <jj@ultra.linux.cz>
980 * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
981 bias from the raw exponent.
983 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
985 * inet/arpa/tftp.h: Move attribute declaration in right position.
987 1999-06-11 Thorsten Kukuk <kukuk@suse.de>
989 * nscd/nscd.c: Add -S options for separate caching of data for
990 every user. So one user couldn't see the data another user
991 has gotten with his credentials.
992 * nscd/nscd.h: Add new prototypes.
993 * nscd/cache.c: Compare owner of cache entry if in secure mode.
994 * nscd/connections.c: Check on shutdown if caller really was root.
995 In secure mode get uid of caller.
996 * nscd/grpcache.c: Add support for new secure group mode.
997 * nscd/hstcache.c: Add support for new secure hosts mode.
998 * nscd/pwdcache.c: Add support for new secure passwd mode.
1000 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
1002 * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
1003 of user-provided buffer.
1005 1999-06-11 Mark Kettenis <kettenis@gnu.org>
1007 * hurd/hurdsock.c (max_domain): Initialize to `-1'.
1008 (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
1010 1999-06-10 Ulrich Drepper <drepper@cygnus.com>
1012 * stdio-common/printf-parse.h (parse_one_spec): Add support for a
1015 * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
1016 returning after last entry.
1017 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
1019 1999-06-09 Ulrich Drepper <drepper@cygnus.com>
1021 * misc/sysexits.h: Remove advertising clause of copyright.
1022 * resolv/getnetnamadr.c: Likewise.
1023 * sysdeps/vax/bcopy.s: Likewise.
1024 * sysdeps/vax/bzero.s: Likewise.
1025 * sysdeps/vax/ffs.s: Likewise.
1026 * sysdeps/vax/memchr.s: Likewise.
1027 * sysdeps/vax/memcmp.s: Likewise.
1028 * sysdeps/vax/memmove.s: Likewise.
1029 * sysdeps/vax/memset.s: Likewise.
1030 * sysdeps/vax/strcat.s: Likewise.
1031 * sysdeps/vax/strchr.s: Likewise.
1032 * sysdeps/vax/strcmp.s: Likewise.
1033 * sysdeps/vax/strcpy.s: Likewise.
1034 * sysdeps/vax/strcspn.s: Likewise.
1035 * sysdeps/vax/strlen.s: Likewise.
1036 * sysdeps/vax/strncat.s: Likewise.
1037 * sysdeps/vax/strncmp.s: Likewise.
1038 * sysdeps/vax/strncpy.s: Likewise.
1039 * sysdeps/vax/strpbrk.s: Likewise.
1040 * sysdeps/vax/strrchr.s: Likewise.
1041 * sysdeps/vax/strsep.s: Likewise.
1042 * sysdeps/vax/strspn.s: Likewise.
1043 * sysdeps/vax/strstr.s: Likewise.
1045 * libio/iofopncook.c: Adjust for renaming of structure elements.
1046 * libio/libio.h: Define cookie functions with all the names.
1048 * pwd/fgetpwent_r.c: Set errno in the correct way.
1049 * shadow/fgetspent_r.c: Likewise.
1050 * pwd/fgetpwent.c: Handle long lines correctly. Little
1051 optimizations. Free static buffer when debugging memory handling.
1052 * shadow/fgetspent.c: Likewise.
1054 * grp/fgetgrent.c: Little optimization in loop.
1056 1999-06-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1058 * grp/tst_fgetgrent.c (write_group): Fix generation of long line
1061 1999-06-09 Jakub Jelinek <jj@ultra.linux.cz>
1063 * stdlib/longlong.h: gas changed sethi handling when without
1064 %hi(). Fix assembly.
1065 * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
1066 port specific cache id checks.
1067 * sysdeps/generic/dl-cache.h: New file.
1068 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
1070 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
1072 * gmon/gmon.c: Remove advertising clause of copyright.
1073 * gmon/mcount.c: Likewise.
1074 * gmon/sys/gmon.h: Likewise.
1075 * inet/arpa/ftp.h: Likewise.
1076 * inet/arpa/telnet.h: Likewise.
1077 * inet/arpa/tftp.h: Likewise.
1078 * inet/inet_lnaof.c: Likewise.
1079 * inet/inet_mkadr.c: Likewise.
1080 * inet/inet_net.c: Likewise.
1081 * inet/inet_netof.c: Likewise.
1082 * inet/protocols/routed.h: Likewise.
1083 * inet/protocols/rwhod.h: Likewise.
1084 * inet/protocols/talkd.h: Likewise.
1085 * inet/protocols/timed.h: Likewise.
1086 * inet/rcmd.c: Likewise.
1087 * inet/rexec.c: Likewise.
1088 * inet/ruserpass.c: Likewise.
1089 * io/fts.c: Likewise.
1090 * io/fts.h: Likewise.
1091 * login/login_tty.c: Likewise.
1092 * misc/fstab.h: Likewise.
1093 * misc/getttyent.c: Likewise.
1094 * misc/getusershell.c: Likewise.
1095 * misc/sys/queue.h: Likewise.
1096 * misc/sys/syslog.h: Likewise.
1097 * misc/syslog.c: Likewise.
1098 * misc/ttyent.h: Likewise.
1099 * misc/ttyslot.c: Likewise.
1100 * resolv/arpa/nameser.h: Likewise.
1101 * resolv/gethnamaddr.c: Likewise.
1102 * resolv/herror.c: Likewise.
1103 * resolv/inet_addr.c: Likewise.
1104 * resolv/mapv4v6addr.h: Likewise.
1105 * resolv/mapv4v6hostent.h: Likewise
1106 * resolv/nss_dns/dns-host.c: Likewise.
1107 * resolv/nss_dns/dns-network.c: Likewise.
1108 * resolv/res_comp.c: Likewise.
1109 * resolv/res_data.c: Likewise.
1110 * resolv/res_debug.c: Likewise.
1111 * resolv/res_init.c: Likewise.
1112 * resolv/res_mkquery.c: Likewise.
1113 * resolv/res_query.c: Likewise.
1114 * resolv/res_send.c: Likewise.
1115 * resolv/resolv.h: Likewise.
1116 * sysdeps/generic/div.c: Likewise.
1117 * sysdeps/generic/netinet/ip.h: Likewise.
1118 * sysdeps/generic/netinet/tcp.h: Likewise.
1119 * sysdeps/generic/paths.h: Likewise.
1120 * sysdeps/generic/prof-freq.c: Likewise.
1121 * sysdeps/generic/sys/ttydefaults.h: Likewise.
1122 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1123 * sysdeps/gnu/netinet/tcp.h: Likewise.
1124 * sysdeps/ieee754/support.c: Likewise.
1125 * sysdeps/mach/hurd/sys/param.h: Likewise.
1126 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
1127 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1128 * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
1129 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1130 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
1131 * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
1132 * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
1133 * sysdeps/unix/sysv/linux/paths.h: Likewise.
1134 * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
1135 * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
1136 * sysdeps/vax/DEFS.h: Likewise.
1137 * termios/sys/ttychars.h: Likewise.
1138 * misc/daemon.c: Likewise. Call fork.
1140 * grp/fgetgrent.c (buffer): Make file local variable.
1141 (free_mem): New function. Call for malloc debugging.
1143 * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
1145 1999-06-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1147 * grp/Makefile: Add rules for tst_fgetgrent.
1149 * grp/tst_fgetgrent.c: Rewritten to read only one file.
1151 * grp/tst_fgetgrent.sh: New file.
1153 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
1155 * grp/Makefile (tests): Add tst_fgetgrent.
1156 * grp/tst_fgetgrent.c: New file.
1157 Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
1159 1999-06-07 Roland McGrath <roland@baalperazim.frob.com>
1161 * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
1162 be POSIX compliant. Prior definition was broken for Hurd.
1163 Reported by Mark Kettenis <kettenis@gnu.org>.
1165 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
1167 * ctype/ctype.h: Protect __tobody code by __extension__.
1169 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
1171 * grp/fgetgrent.c (fgetgrent): Remember position of stream before
1172 reading and reset in case the buffer was too small.
1174 * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
1177 1999-06-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1179 * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
1180 another SIOGIFNAME typo.
1182 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
1184 * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
1186 * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
1189 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1191 * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
1192 the precision if the mantissa is zero.
1194 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1196 * manual/lang.texi (Floating Point Parameters): GCC already
1197 supports long double for a long time.
1199 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1201 * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
1202 yn_test): Increase some epsilons.
1204 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
1206 * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
1209 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
1211 * sysdeps/unix/sysv/linux/kernel-features.h: Define
1212 __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
1213 * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
1214 SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
1216 * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
1217 * sysdeps/libm-ieee754/w_j0f.c: Likewise.
1218 * sysdeps/libm-ieee754/w_j0l.c: Likewise.
1219 * sysdeps/libm-ieee754/w_j1.c: Likewise.
1220 * sysdeps/libm-ieee754/w_j1f.c: Likewise.
1221 * sysdeps/libm-ieee754/w_j1l.c: Likewise.
1222 * sysdeps/libm-ieee754/w_jn.c: Likewise.
1223 * sysdeps/libm-ieee754/w_jnf.c: Likewise.
1224 * sysdeps/libm-ieee754/w_jnl.c: Likewise.
1226 * stdio-common/vfprintf.c: Correct typos.
1228 * math/libm-test.c (jn_test): Adjust delta.
1229 (y1_test): Likewise.
1230 (yn_test): Likewise.
1232 * elf/do-lookup.h: It should never happen that if we expect a versioned
1233 symbol from a file the file has no version table. This should have
1234 been checked in dl-version.c.
1235 * elf/dl-lookup.c: Include assert.h.
1237 * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
1240 * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
1242 1999-06-06 Andi Kleen <ak@muc.de>
1244 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
1247 1999-06-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1249 * math/libm-test.c (yn_test): Change one delta.
1250 (jn_test): Likewise.
1251 (j1_test): Likewise.
1252 (y0_test): Likewise.
1254 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
1256 * malloc/malloc.c: Introduce local variable __libc_getpagesize to
1257 avoid multiple calls to getpagesize() which might be a syscall.
1259 1999-06-06 Philip Blundell <philb@gnu.org>
1261 * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
1263 1999-06-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1265 * manual/install.texi (Running make install): Correct typo in
1266 dynamic linker invocation.
1268 1999-06-05 Philip Blundell <philb@gnu.org>
1270 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
1271 problems with GOT addressing.
1273 1999-06-05 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
1275 * malloc/malloc.c (check_action): Change into bitmap so that both
1276 diagnostic and abort can be requested by setting it to 3.
1277 (mALLOC_SET_STATe): Disable malloc checking if necessary.
1279 1999-06-03 Ulrich Drepper <drepper@cygnus.com>
1281 * configure.in: Few changes for HPUX.
1283 * scripts/config.guess: Update from latest version.
1284 * scripts/config.sub: Likewise.
1286 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1288 * Makerules: Set LC_ALL explicitly to archieve correct sorting of
1289 map files. Closes PR libc/1147.
1291 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1293 * math/libm-test.c (main): Add new test functions.
1294 (jn_test): New tests.
1295 (j1_test): Add some more tests.
1296 (j0_test): Add some more tests.
1297 (y0_test): Add some more tests.
1298 (y1_test): Add some more tests.
1300 1999-06-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1302 * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
1303 Patch by mhagger@dera.gov.uk [PR libc/1145].
1305 * math/libm-test.c (y1_test): New tests.
1306 (y0_test): Likewise.
1307 (j1_test): Likewise.
1308 (j0_test): Likewise.
1309 (main): Added new tests.
1311 1999-06-02 Jakub Jelinek <jj@ultra.linux.cz>
1313 * stdlib/longlong.h: Define UDIV_TIME on sparc64.
1314 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
1315 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
1316 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
1317 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
1318 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
1320 1999-06-02 David S. Miller <davem@redhat.com>
1322 * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
1325 1999-06-02 Ulrich Drepper <drepper@cygnus.com>
1327 * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
1328 and elide compatibility code if possible.
1330 1999-06-01 Ulrich Drepper <drepper@cygnus.com>
1332 * manual/llio.texi: Remove menu entry for removed section.
1334 1999-05-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1336 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
1339 1999-06-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1341 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
1344 1999-05-30 Ulrich Drepper <drepper@cygnus.com>
1346 * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
1348 1999-05-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1350 * manual/stdio.texi: Fix some typos.
1352 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1354 * malloc/malloc.h: Properly handle future GCC versions.
1356 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1358 * sysdeps/unix/sysv/linux/configure.in: Change version checks to
1359 use AC_EGREP_CPP. Change sed pattern to not use alternation. Fix
1360 text of error message.
1362 * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
1364 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
1366 * manual/filesys.texi: Extend (f)truncate documentation.
1367 * manual/llio.texi: Remove duplicate (f)truncate definition.
1369 1999-05-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1371 * manual/stdio.texi (Formatted Output Functions): Mention
1372 semantics of snprintf in glibc 2.0.
1373 Reported by Ben Pfaff <pfaffben@msu.edu>.
1375 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
1377 * include/features.h (__GLIBC_MINOR__): Bump to 2.
1379 1999-05-27 Ulrich Drepper <drepper@cygnus.com>
1381 * math/libm-test.c: Adjust a few more deltas for the poor ARM
1384 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1386 * configure.in: Fix typo.
1388 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1390 * manual/socket.texi (Host Names): Remove statement that h_errno
1391 needs to be declared since this isn't true anymore.
1392 Closes PR libc/1138.
1394 1999-05-26 Ulrich Drepper <drepper@cygnus.com>
1396 * config.h.in: Add __LINUX_KERNEL_VERSION.
1397 * configure.in: Recognize --enable-kernel.
1398 * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
1399 headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
1401 * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
1402 given perform runtime test.
1404 * sysdeps/unix/sysv/linux/kernel-features.h: New file.
1405 * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
1406 minimal supported kernel is known to have the feature.
1407 * sysdeps/unix/sysv/linux/poll.c: Likewise.
1408 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1409 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1410 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1411 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1412 * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
1413 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1414 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1415 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1416 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1417 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1418 * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
1419 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
1420 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
1421 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
1423 * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
1425 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
1427 * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
1429 1999-05-26 Jakub Jelinek <jj@ultra.linux.cz>
1431 * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
1432 Optimized sparc64 routines.
1434 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
1436 * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
1437 they are the same as ints.
1438 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
1440 * version.h (VERSION): Bump to 2.1.90.
1441 (RELEASE): Mark as development.
1443 * stdio-common/vfprintf.c (vfprintf): Don't implement special
1444 handling for long long if it is the same as long.
1445 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
1447 * stdlib/strtol.c: Moved to ...
1448 * sysdeps/generic/strtol.c: ...here.
1449 * stdlib/strtoul.c: Moved to ...
1450 * sysdeps/generic/strtoul.c: ...here.
1451 * stdlib/strtoll.c: Moved to ...
1452 * sysdeps/generic/strtoll.c: ...here.
1453 * stdlib/strtoull.c: Moved to ...
1454 * sysdeps/generic/strtoull.c: ...here.
1455 * stdlib/strtol_l.c: Moved to ...
1456 * sysdeps/generic/strtol_l.c: ...here.
1457 * stdlib/strtoul_l.c: Moved to ...
1458 * sysdeps/generic/strtoul_l.c: ...here.
1459 * stdlib/strtoll_l.c: Moved to ...
1460 * sysdeps/generic/strtoll_l.c: ...here.
1461 * stdlib/strtoull_l.c: Moved to ...
1462 * sysdeps/generic/strtoull_l.c: ...here.
1464 * sysdeps/wordsize-64/strtol.c: New file.
1465 * sysdeps/wordsize-64/strtoul.c: New file.
1466 * sysdeps/wordsize-64/strtoll.c: New file.
1467 * sysdeps/wordsize-64/strtoull.c: New file.
1468 * sysdeps/wordsize-64/strtol_l.c: New file.
1469 * sysdeps/wordsize-64/strtoul_l.c: New file.
1470 * sysdeps/wordsize-64/strtoll_l.c: New file.
1471 * sysdeps/wordsize-64/strtoull_l.c: New file.
1473 * wcsmbs/wcstol.c: Moved to ...
1474 * sysdeps/generic/wcstol.c: ...here.
1475 * wcsmbs/wcstoul.c: Moved to ...
1476 * sysdeps/generic/wcstoul.c: ...here.
1477 * wcsmbs/wcstoll.c: Moved to ...
1478 * sysdeps/generic/wcstoll.c: ...here.
1479 * wcsmbs/wcstoull.c: Moved to ...
1480 * sysdeps/generic/wcstoull.c: ...here.
1481 * wcsmbs/wcstol_l.c: Moved to ...
1482 * sysdeps/generic/wcstol_l.c: ...here.
1483 * wcsmbs/wcstoul_l.c: Moved to ...
1484 * sysdeps/generic/wcstoul_l.c: ...here.
1485 * wcsmbs/wcstoll_l.c: Moved to ...
1486 * sysdeps/generic/wcstoll_l.c: ...here.
1487 * wcsmbs/wcstoull_l.c: Moved to ...
1488 * sysdeps/generic/wcstoull_l.c: ...here.
1490 * sysdeps/wordsize-64/wcstol.c: New file.
1491 * sysdeps/wordsize-64/wcstoul.c: New file.
1492 * sysdeps/wordsize-64/wcstoll.c: New file.
1493 * sysdeps/wordsize-64/wcstoull.c: New file.
1494 * sysdeps/wordsize-64/wcstol_l.c: New file.
1495 * sysdeps/wordsize-64/wcstoul_l.c: New file.
1496 * sysdeps/wordsize-64/wcstoll_l.c: New file.
1497 * sysdeps/wordsize-64/wcstoull_l.c: New file.
1499 1999-05-24 Jakub Jelinek <jj@ultra.linux.cz>
1501 * sysdeps/sparc/bits/wordsize.h: New file.
1502 * sysdeps/sparc/fpu/bits/fenv.h: New file.
1503 * sysdeps/sparc/fpu/fpu_control.h: New file.
1504 * sysdeps/sparc/gmp-mparam.h: New file.
1506 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
1507 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
1508 * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
1509 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
1510 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
1511 * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
1513 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
1514 * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
1515 * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
1516 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
1518 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
1519 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
1520 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
1521 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
1522 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
1524 1999-05-24 Ulrich Drepper <drepper@cygnus.com>
1526 * login/openpty.c (openpty): Make sure pty does not because
1529 * ctype/ctype.h: Don't optimize toupper/tolower for C++.
1531 1999-05-23 Roland McGrath <roland@baalperazim.frob.com>
1533 * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
1534 Do proper error return.
1536 1999-05-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1538 * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
1539 of __P in the rest of glibc; define __MALLOC_PMT and use it.
1540 Reported by Stephan Kulow <coolo@kde.org>.
1542 1999-05-23 Ulrich Drepper <drepper@cygnus.com>
1544 * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
1546 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
1548 1999-05-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1550 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
1551 names to protect from user's macro namespace.
1552 * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
1553 * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
1554 * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
1555 * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
1556 * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
1558 * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
1559 sysdeps/arm/fpu/fesetenv.c: Likewise.
1560 * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
1561 sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
1562 sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
1563 * sysdeps/mips/fesetenv.c: Likewise.
1565 1999-05-22 Roland McGrath <roland@baalperazim.frob.com>
1567 * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
1569 1999-05-20 Ulrich Drepper <drepper@cygnus.com>
1571 * configure.in: Recognize and allow gcc 2.95.
1573 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
1575 * sysdeps/generic/bits/elfclass.h: Version common to
1576 wordsize-32 and wordsize-64.
1577 * sysdeps/generic/bits/environments.h: Ditto.
1578 * sysdeps/generic/stdint.h: Ditto.
1579 * sysdeps/generic/inttypes.h: Ditto.
1581 * sysdeps/generic/bits/wordsize.h: New file.
1582 * stdlib/Makefile: Add bits/wordsize.h to headers.
1584 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
1586 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
1587 headers to be used for 32bit and 64bit ABI compilations.
1588 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
1589 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
1590 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
1591 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
1592 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
1594 * sysdeps/wordsize-64/bits/elfclass.h: Remove.
1595 * sysdeps/wordsize-64/bits/environments.h: Remove.
1596 * sysdeps/wordsize-64/stdint.h: Remove.
1597 * sysdeps/wordsize-64/inttypes.h: Remove.
1598 * sysdeps/wordsize-64/bits/wordsize.h: New file.
1600 * sysdeps/wordsize-32/bits/elfclass.h: Remove.
1601 * sysdeps/wordsize-32/bits/environments.h: Remove.
1602 * sysdeps/wordsize-32/stdint.h: Remove.
1603 * sysdeps/wordsize-32/inttypes.h: Remove.
1604 * sysdeps/wordsize-32/bits/wordsize.h: New file.
1606 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
1608 * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
1609 __align_cpy_16): New functions.
1610 (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
1612 * sysdeps/sparc/sparc32/Versions: New file.
1613 * sysdeps/sparc/sparc64/Versions: New file.
1614 * sysdeps/sparc/Versions: Remove.
1616 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
1618 * sysdeps/unix/sysv/linux/configure.in:
1619 On sparc64-*-linux*, set slibdir to /lib64 if prefix
1620 is /usr, plus set libdir to ${exec_prefix}/lib64.
1621 * sysdeps/unix/sysv/linux/configure: Regenerated.
1622 * config.make.in: Propagate libdir settings from configure
1624 * shlib-versions: sparc64-*-linux* dynamic linker is
1625 /lib64/ld-linux.so.2.
1627 1999-05-18 Thorsten Kukuk <kukuk@suse.de>
1629 * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
1632 1999-05-18 Jakub Jelinek <jj@ultra.linux.cz>
1634 * sysdeps/sparc/sparc64/rawmemchr.S: New file.
1635 * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
1637 * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
1638 contains garbage in bits 8-63.
1639 * sysdeps/sparc/sparc64/memset.S: Ditto.
1640 * sysdeps/sparc/sparc64/strchr.S: Ditto.
1642 1999-05-18 Ulrich Drepper <drepper@cygnus.com>
1644 * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
1646 1999-05-17 David S. Miller <davem@redhat.com>
1648 * sysdeps/sparc/sparc32/atomicity.h: New file.
1649 * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
1650 * sysdeps/sparc/sparc64/atomicity.h: New file.
1651 * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
1654 1999-05-18 Richard Henderson <rth@twiddle.net>
1656 * sysdeps/alpha/memchr.S: Zap high byte of length. Reschedule.
1658 1999-05-04 Zack Weinberg <zack@rabi.phys.columbia.edu>
1660 * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
1661 posix/sys/types.h: Handle the case of __GNUC__=3,
1662 __GNUC_MINOR__=(anything).
1664 1999-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1666 * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
1669 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
1671 * elf/Makefile (distribute): Remove dl-origin.h.
1672 Add dl-dst.h and gen-trusted-dirs.awk.
1674 1999-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1676 * sysdeps/i386/i486/Versions: New file with inline functions from
1677 sysdeps/i386/i486/bits/string.h for now.
1679 * sysdeps/i386/Versions: Add inline functions from
1680 sysdeps/i386/bits/string.h.
1682 * string/Versions: Add inline functions from <bits/string2.h>.
1684 * string/Makefile (routines): Add string-inlines.
1685 * string/string-inlines.c: New file, used for implementation of
1686 extern inline functions.
1688 * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
1689 non inlined versions of functions.
1690 * string/bits/string2.h: Likewise.
1691 * sysdeps/i386/bits/string.h: Likewise.
1693 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
1695 * inet/arpa/tftp.h: Add second packed attribute.
1697 1999-05-16 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
1699 * malloc/malloc.c: Cleanup to bring in line with released
1700 stand-alone version `ptmalloc'. Update some comments.
1701 (internal_function): Move fallback definition so that the source
1702 compiles outside of libc, and use it in more places.
1703 (malloc_atfork): Fix when malloc_check is in use.
1705 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1707 * stdlib/tst-strtod.c: Fix typo.
1709 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1711 * elf/dl-close.c (_dl_close): Add cast to avoid warning about
1712 const incorrectness.
1714 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
1716 * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
1718 1999-05-16 Thorsten Kukuk <kukuk@suse.de>
1720 * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
1721 * sunrpc/key_call.c: Fix memory leak, close file handle.
1722 * nis/nis_creategroup.c: Use malloc instead of calloc,
1723 set ctime and mtime.
1724 * nis/nis_subr.c: Check for realloc result.
1725 * nis/nis_file.c: Fix memory leak.
1726 * nis/nis_table.c: Pretty print.
1727 * nis/nis_getservlist.c: Likewise.
1728 * nis/nis_ismember.c: Likewise.
1729 * nis/nis_lookup.c: Likewise.
1730 * nis/nis_ping.c: Likewise.
1731 * nis/nis_removemember.c: Likewise.
1732 * nis/nis_util.c: Likewise, check calloc result.
1734 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
1736 * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
1737 * sysdeps/generic/sys/socketvar.h: ... here.
1738 * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
1739 * sysdeps/generic/netinet/in_systm.h: ... here.
1740 * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
1742 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
1743 * inet/Makefile (headers): Add netinet/in_systm.h here.
1744 * socket/Makefile (headers): Add sys/socketvar.h here.
1746 1999-05-15 Ulrich Drepper <drepper@cygnus.com>
1748 * stdlib/strtol.c: Optimize inner loop of long long versions.
1750 * sysdeps/gnu/utmpx.h: Add needed type definitions according to
1751 Unix98. Add forward declaration of struct utmp.
1753 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
1755 * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
1758 * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
1759 * nis/nis_addmember.c (nis_addmember): Fix memory leak. Test
1760 memory allocation results.
1762 1999-05-14 Mark Kettenis <kettenis@gnu.org>
1764 * sysdeps/generic/getutmp.c: Include <string.h>
1765 (getutmp): Rewrite to only copy those members that are really
1766 present in `struct utmp'.
1767 * sysdeps/generic/getutmpx.c: Likewise.
1769 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
1771 * nss/getXXbyYY.c: Add free_mem function which disposes all
1772 statically allocated memory when debugging.
1773 * nss/getXXent.c: Likewise.
1774 * nss/nsswitch.c: Likewise.
1776 1999-05-13 Ulrich Drepper <drepper@cygnus.com>
1778 * sysdeps/gnu/getutmpx.c: New file.
1779 * sysdeps/gnu/getutmp.c: New file.
1781 1999-05-13 H.J. Lu <hjl@gnu.org>
1783 * login/Versions (getutmpx): Added to GLIBC_2.1.1.
1784 (getutmp): Likewise.
1786 * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
1789 * sysdeps/gnu/utmpx.h (getutmp): Added.
1790 (getutmpx): Likewise.
1792 * sysdeps/generic/getutmp.c: New file.
1794 * sysdeps/generic/getutmpx.c: New file.
1796 1999-05-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1798 * glibcbug.in (BUGGLIBC): Change address to
1799 libc-alpha@sourceware.cygnus.com.
1801 1999-05-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1803 * resolv/arpa/nameser.h: Add C++ protectors.
1805 1999-05-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1807 * iconvdata/gconv-modules: Fix alias for CP1255. Reported by
1808 Elad Tsur <eladts@post.tau.ac.il>.
1810 1999-05-11 Ulrich Drepper <drepper@cygnus.com>
1812 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
1813 * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
1814 lazily if LD_BIND_NOW is not set.
1815 * elf/dl-support.c (_dl_lazy): New variable.
1816 (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
1817 * elf/rtld.c (_dl_lazy): new global variable.
1818 ( dl_main): Remove lazy, replace it by _dl_lazy.
1820 1999-05-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1822 * locale/setlocale.c (new_composite_name): Check also whether the
1823 first category name differs.
1825 1999-05-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1827 * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
1830 1999-05-11 Philip Blundell <pb@nexus.co.uk>
1832 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
1833 structure; storage suitable for any socket address.
1834 * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
1836 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
1837 sockaddr_storage): Likewise.
1839 * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
1842 1999-05-10 Ulrich Drepper <drepper@cygnus.com>
1844 * hesiod/Versions: Change _nss_hesiod_getpwuid and
1845 _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
1846 _nss_hesiod_getgrgid_r respectively. Fixes pr libc/1115.
1848 1999-05-09 Mark Kettenis <kettenis@gnu.org>
1850 * hurd/get-host.c (_hurd_get_host_config): Return an empty value
1851 if the file is empty.
1853 1999-05-07 Ulrich Drepper <drepper@cygnus.com>
1855 * elf/do-lookup.h: Fix typo in comment.
1857 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
1858 f_bsize to help some broken programs.
1860 * stdio-common/tst-printf.c: Add test case for last _itoa problem.
1862 * stdio-common/vfprintf.c: Fix typo.
1864 1999-05-06 Ulrich Drepper <drepper@cygnus.com>
1866 * elf/link.h (struct link_map): New field l_phdr_allocated.
1867 * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
1868 the program header being part of any loaded segment. If it is not
1869 allocate memory and set l_phdr_allocated flag.
1870 * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
1872 * nss/digits_dots.c: Correct return value interpretation of
1873 inet_ntoa. Fix PR libc/1109.
1875 1999-05-06 Zack Weinberg <zack@rabi.columbia.edu>
1877 * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
1879 1999-05-06 Thorsten Kukuk <kukuk@suse.de>
1881 * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
1882 * stdlib/fpioconst.c: Move #endif before end of struct.
1884 1999-05-05 Ulrich Drepper <drepper@cygnus.com>
1886 * Versions.def (ld.so): Add GLIBC_2.1.1.
1887 * elf/Makefile (routines): Add dl-origin.
1888 (tests): Add origtest. Add dependencies for the program.
1889 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
1890 _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
1891 * elf/dl-deps.c (expand_dst): New macro. Expand DSTs in filename.
1892 (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
1893 DT_AUXILIARY, and DT_FILTER filenames.
1894 * elf/dl-load.c (expand_dynamic_string_token): Explode into
1895 two functions and three macros.
1896 (_dl_dst_count, _dl_dst_substitute): New functions.
1897 * elf/dl-dst.h: New file.
1898 * elf/dl-open.c (_dl_open): Take extra parameter with address of
1899 caller. Pass address in args structure.
1900 (dl_open_worker): Recognize and expand DSTs in filename.
1901 * elf/ldsodefs.h (_dl_open): Adapt prototype.
1902 * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
1903 (__dlopen_check): Pass caller address to dlopen_doit in args.
1904 * elf/dlopendoit.c: Likewise.
1905 * iconv/gconv_dl.c: Adapt call of _dl_open.
1906 * nss/nsswitch.c: Likewise.
1907 * elf/origtest.c: New file.
1908 * sysdeps/generic/dl-origin.h: Moved to...
1909 * sysdeps/generic/dl-origin.c: ...here.
1910 * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
1911 * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
1913 * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
1914 with specific bases and only few bits set in second word.
1916 * timezone/Makefile (install-others): Create target directory
1917 before creating tzfiles.
1919 1999-05-05 Thorsten Kukuk <kukuk@suse.de>
1921 * nis/nis_file.c (readColdStartFile): Allocate memory only after
1922 the file is opened successfully.
1924 * nis/nis_table.c: Fix some memory leaks.
1926 1999-05-04 Ulrich Drepper <drepper@cygnus.com>
1928 * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
1931 * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
1932 around DST. Correctly ignore ORIGIN IN SUID binaries.
1934 1999-05-03 Ulrich Drepper <drepper@cygnus.com>
1936 * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
1937 * sysdeps/generic/strtok.c: Likewise.
1939 * string/tester.c: Add test of rawmemchr.
1941 * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
1942 specification. It's not necessary.
1944 * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
1945 * elf/gen-trusted-dirs.awk: New file.
1946 * elf/dl-load.c (systems_dirs): Moved into file scope. Initialize
1947 from SYSTEM_DIRS macro.
1948 (system_dirs_len): New variable. Contains lengths of system_dirs
1950 (fillin_rpath): Rewrite for systems_dirs being a simple string.
1951 Improve string comparisons. Change parameter trusted to be a flag.
1953 (_dt_init_paths): Improve using new format for system_dirs.
1955 * elf/dl-load.c (expand_dynamic_string_token): Don't expand
1956 $ORIGIN for SUID binaries.
1958 * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
1960 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1962 * sunrpc/Makefile: Generate dependencies for all flavors of
1964 (rpcgen-cmd): Pass -Y flag here and remove it from the macro
1967 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1969 * elf/dlopenold.c: Move #if down after includes to get
1972 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1974 * sysdeps/generic/bzero.c: Undefine __bzero.
1976 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
1978 * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
1979 * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
1980 * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
1981 Patch by Craig Small <csmall@scooter.eye-net.com.au>.
1983 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
1984 parameter to struct gaih_servtuple *. Adapt appropriately.
1985 (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
1986 This fixes a memory leak.
1987 Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
1989 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
1990 and fpregset_t definition. They are defined in ucontext.h.
1992 1999-04-14 Scott Bambrough <scottb@netwinder.org>
1994 * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
1995 and struct ether_header must be packed on the ARM. The default
1996 alignment constraints add padding to the end of the structures.
1998 1999-04-14 Scott Bambrough <scottb@netwinder.org>
2000 * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM. The
2001 default alignment constraints add padding to the end of the
2002 structure and between members.
2004 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
2006 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
2007 _dl_cache_libcmp instead of strcmp.
2009 * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
2011 Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
2013 1998-03-30 Joel Klecker <espy@debian.org>
2015 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
2016 (sysdep-others,install-bin): Add lddlibc4.
2018 1999-05-02 H.J. Lu <hjl@gnu.org>
2020 * timezone/zic.c (dolink): Remove the symlink destination first.
2022 * catgets/open_catalog.c (__open_catalog): Set catalog->status
2023 to "nonexisting" if failed to open the file.
2025 1999-05-01 Ulrich Drepper <drepper@cygnus.com>
2027 * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
2030 * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
2031 Prevent warnings from multiplication with 0x01010101 by another cast.
2033 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2035 * string/bits/string2.h (memset): Revert to previous version if
2036 unaligned writes are not available.
2038 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
2040 * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
2041 better code in presence of the asm.
2043 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2045 * stdlib/fmtmsg.c (keywords): Increase array size for faster
2048 * locale/localeinfo.h (_nl_category_names): Increase array element
2049 size for faster indexing.
2050 * locale/setlocale.c (_nl_category_names): Adjusted.
2052 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2054 * iconv/gconv_conf.c (add_alias): Remove wrong cast.
2056 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2058 * sysdeps/m68k/stackinfo.h: New file.
2060 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
2062 * string/tester.c (test_strchrnul): New function.
2063 (test_memset): Test one more special case.
2065 * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
2068 * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
2071 * string/bits/string2.h: Fix bugs I introduced in last change.
2073 * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
2075 Extend memset optimization.
2076 Correct i686 version of memchr.
2078 1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
2080 * sysdeps/i386/bzero.c: Add #undef __bzero.
2082 * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
2083 EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
2084 exec server simulated a SIGTRAP before we even started up, so gdb is
2087 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
2089 * nss/digits_dots.c: Always initialize not_ok.
2091 1999-04-30 09:02 -0400 Zack Weinberg <zack@rabi.columbia.edu>
2093 * string/bits/string2.h (memset): Avoid arithmetic overflow at
2094 compile time, which produces obnoxious warnings. If GCCv2 is
2095 in use, map __bzero to __builtin_memset to enable that
2098 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
2100 * string/bits/string2.h: Add more memset optimizations.
2102 * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
2104 * resolv/inet_pton.c (inet_pton4): Little optimizations.
2105 (inet_pton6): Likewise.
2107 * nss/getXXbyYY_r.c: Include assert.h.
2108 * nss/getXXbyYY.c: Likewise.
2110 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2112 * termios/tcgetsid.c (tcgetsid): Rename variable to
2113 tiocgsid_does_not_work.
2115 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
2117 * inet/getnameinfo.c (nrl_domainname): Fix last patch.
2119 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2121 * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
2122 This allows e.g. gethostbyname to accept "10.1234".
2123 Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
2125 * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
2126 non quad IPv4 numbers.
2128 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2130 * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
2132 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
2134 * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
2135 * argp/argp-parse.c (_argp_hang): Likewise.
2136 * argp/argp-pv.c (argp_program_version): Likewise.
2137 * argp/argp-pvh.c (argp_program_version_hook): Likewise.
2138 * inet/ether_hton.c (ether_hton, startp): Likewise.
2139 * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
2140 * inet/getnetgrent_r.c (setup, startp): Likewise.
2141 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
2142 * intl/localealias.c (string_space, string_space_act, string_space_max,
2143 nmap, maxmap): Likewise.
2144 * libio/iopopen.c (proc_file_chain): Likewise.
2145 * libio/oldiopopen.c (old_proc_file_chain): Likewise.
2146 * locale/lc-collate.c (__collate_table, __collate_extra,
2147 __collate_element_hash, __collate_element_strings,
2148 __collate_element_values): Likewise.
2149 * malloc/mcheck.c (mcheck_used): Likewise.
2150 * malloc/mtrace.c (added_atexit_handler): Likewise.
2151 * malloc/set-freeres.c (already_called): Likewise.
2152 * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
2153 * misc/syslog.c (LogStat, LogTag): Likewise.
2154 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
2155 * nss/getXXbyYY_r.c (startp): Likewise.
2156 * posix/getopt.c (optarg, __getopt_initialized): Likewise.
2157 * posix/regex.c (init_syntax_once) [done]: Likewise.
2159 * string/strfry.c (init): Likewise.
2160 * sunrpc/svc_run.c (svc_top): Likewise.
2161 * posix/euidaccess.c (have_ids): Likewise.
2162 * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
2163 * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
2164 * time/getdate.c (getdate_err): Likewise.
2165 * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
2167 * time/tzset.c (old_tz, is_initialized): Likewise.
2169 * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
2170 of static data with zero.
2171 * signal/allocrtsig.c (init): Likewise.
2173 * string/Makefile (routines): Add strchrnul.
2174 * string/Versions [GLIBC_2.1.1]: Add strchrnul.
2175 * string/string.c: Add strchrnul prototype.
2176 * include/string.h: Add __strchrnul prototype.
2177 * sysdeps/generic/strchrnul.c: New file.
2178 * sysdeps/i386/strchrnul.S: New file.
2179 * sysdeps/i386/bits/string.c: Add strchrnul optimization.
2180 * sysdeps/i386/i486/bits/string.c: Likewise.
2181 * argp/argp-help.c (argp_args_usage): Use __strchrnul.
2182 * inet/ether_line.c (ether_line): Likewise.
2183 * nscd/nscd_conf.c (nscd_parse_file): Likewise.
2184 * nss/nsswitch.c (nss_parse_file): Likewise.
2185 * posix/execvp.c (execvp): Likewise.
2186 * posix/fnmatch.c (internal_fnmatch): Likewise.
2187 * resolv/res_hconf.c (_res_hconv_init): Likewise.
2188 * resolv/res_init.c (res_init): Likewise.
2189 * stdlib/fmtmsg.c (init): Likewise.
2190 * stdlib/getsubopt.c (getsubopt): Likewise.
2192 * catgets/catgets.c (catopen): Only allocate one memory block.
2193 (catclose): Only one free call necessary.
2195 * catgets/open_catalog.c (__open_catalog): Simplify handling of
2198 * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
2199 of real functions. Simplify _tolower and _toupper.
2201 * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
2204 * iconv/gconv.h (struct gconv_info): Change data element from pointer
2206 * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
2207 * iconv/gconv_close.c (__gconv_close): Don't free data.
2209 * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
2212 * iconv/gconv_db.c (add_derivation): More efficient copying. Check
2213 for error while inserting in tree.
2215 * include/time.h: Pretty print.
2217 * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
2218 in table and lots of relocations.
2219 * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
2220 string pointers in table and lots of relocations.
2222 * intl/finddomain.c: Remove definition of strchr macro.
2224 * io/ftw.c (nftw_arr, ftw_arr): Make const.
2226 * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
2228 * locale/localeinfo.h (_nl_category_names): Change into an array with
2229 fixed width char string elements.
2230 * locale/setlocale.c (_nl_category_names): Likewise.
2231 (_nl_current): Make global.
2232 * locale/nl_langinfo.c (nldata): Removed. Use _nl_current now.
2234 * malloc/Makefile (distribute): Add stackinfo.h.
2235 * sysdeps/generic/stackinfo.h: New file.
2236 * sysdeps/i386/stackinfo.h: New file.
2237 * posix/execl.c: Use stackinfo.h in optimizing alloca use.
2238 * posix/execle.c: Likewise.
2239 * posix/execlp.c: Likewise.
2241 * nis/nis_table.c (__create_ib_request): Always use realloc.
2243 * posix/execvp.c (execute): Rename to script_execute and keep only
2244 code to execute using shell.
2245 (execvp): Call execv directly and only fall back on script_execute.
2247 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
2248 and always use xdigits instead.
2250 * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
2253 * stdlib/fpioconst.h (__tens): New declaration.
2254 (struct mp_power): Remove array, add arrayoff element.
2255 * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
2256 __tens array and add in _fpioconst_pow10 offsets into __tens.
2257 * stdio-common/printf_fp.c: Rewrite to use new __tens array.
2258 * stdlib/strtod.c: Likewise.
2260 * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
2262 * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
2264 * stdlib/atexit.c (__exit_funcs): Don't initialize.
2266 * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
2268 * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
2269 a single and an array with offsets.
2271 * sunrpc/des_soft.c (partab): Make it const.
2273 * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
2274 (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
2275 (__key_decryptsession_pk_LOCAL): Likewise.
2276 (__key_gendes_LOCAL): Likewise.
2277 (MESSENGER): Mark const.
2278 (key_call_private_main): Don't initialize with 0.
2279 (use_keyenvoy): Don't initialize with 0.
2280 (key_call): Rewrite to reverse logic of use_doors variable.
2282 * sunrpc/netname.c (OPSYS): Define as array, not pointer.
2283 (startp): Don't initialize with zero.
2285 * sunrpc/openchild.c (_openchild): Make first argument const.
2287 * sunrpc/pmap_rmt.c (timeout): Mark const.
2288 * sunrpc/xcrypt.c (hex): Likewise.
2290 * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
2291 initialization of global variables.
2292 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
2293 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2294 * termios/tcgetsid.c: Likewise.
2296 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
2299 * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
2300 block. Add function to free memory if wanted.
2301 * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
2303 * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
2305 * wcsmbs/wmemset.c: Little code optimization.
2307 1999-04-23 Paul Eggert <eggert@twinsun.com>
2309 * stdlib/strtoull.c: Surround strong_alias and weak_alias with
2312 1999-04-28 Roland McGrath <roland@baalperazim.frob.com>
2314 * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
2315 implementation and just always fail with ENOSYS. This entry point is
2316 obsolete. Add link warning to that effect.
2318 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
2320 * hurd/get-host.c: Include <hurd/lookup.h>.
2322 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
2324 * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
2327 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2329 * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
2332 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
2334 * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
2335 Patch by Peter Miller <millerp@canb.auug.org.au>.
2337 1999-04-27 Thorsten Kukuk <kukuk@suse.de>
2339 * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
2340 prefers loopback device.
2342 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
2344 * posix/fnmatch.c (internal_fnmatch): Finish incomplete
2345 no_leading_period change.
2347 * posix/testfnm.c: More test cases.
2349 1999-04-27 Ulrich Drepper <drepper@cygnus.com>
2351 * include/dirent.h: Remove __getdirentries declaration, add __getdents
2353 * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
2354 * sysdeps/unix/readdir_r.c: Likewise.
2355 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2356 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
2357 * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
2358 __getdirentries. Remove fourth argument.
2359 * sysdeps/unix/sysv/linux/getdirentries.c: New file.
2360 * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
2361 * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
2362 Add getdirentries and getdirentries64.
2363 * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
2365 * posix/fnmatch.c (internal_fnmatch): Correctly reset string
2366 pointer in case of an invalid [[: expression.
2368 * posix/testfnm.c: Add more test cases.
2370 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
2372 * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
2373 set, pass EXEC_SIGTRAP flag in exec RPC.
2375 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
2377 * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch. Take
2378 extra parameter. Fix several more bugs involving wildcard and
2380 (fnmatch): New function. Call internal_fnmatch.
2382 * posix/testfnm.c: More test cases.
2384 1999-04-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2386 * manual/install.texi (Configuring and compiling): Explain that
2387 files are changed in the source directory.
2389 (Configuring and compiling): Explain situation with PARALLELMFLAGS
2390 in the source directory.
2392 1999-04-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2394 * locale/programs/ld-ctype.c: Spelling fixes.
2395 (ctype_finish): Fix argument of error message format.
2396 * locale/programs/ld-messages.c: Spelling fixes.
2397 * locale/programs/ld-monetary.c: Spelling fixes.
2398 * locale/programs/ld-time.c (time_finish): Make sure that name and
2399 format of era_entries are adjacent.
2400 (time_output): Reduce the size of the io vector.
2402 1999-04-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2404 * manual/filesys.texi (Attribute Meanings): Move a misplaced
2407 1999-04-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2409 * locale/programs/ld-collate.c (collate_output): Convert
2410 undefined_offset to an array index. Fix computation of other
2413 1999-04-26 Roland McGrath <roland@baalperazim.frob.com>
2415 * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
2416 return success with empty value.
2418 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
2420 * posix/fnmatch.c: Include string.h also for glibc.
2421 (fnmatch, case '?'): Optimize if cascades a bit.
2422 (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
2424 * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
2426 1999-04-24 Ulrich Drepper <drepper@cygnus.com>
2428 * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
2429 * iconv/gconv_int.h: Declare UTF16 functions.
2430 * iconv/gconv_simple.c: Add UTF16 conversion functions.
2432 1999-04-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2434 * posix/wordexp.c (parse_param): Fix type of offset to allow it to
2435 be used correctly as parameter for parse_dollars/parse_tilde.
2437 1999-04-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2439 * manual/conf.texi (Utility Limits): Remove duplicate description
2442 1999-04-19 Ulrich Drepper <drepper@cygnus.com>
2444 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
2445 outbufend for dst==NULL.
2447 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
2449 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
2453 * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
2456 1999-04-18 Thorsten Kukuk <kukuk@suse.de>
2458 * sunrpc/Makefile: Remove special handling of bootparam.x,
2459 add rpcsvc/bootparam.h to headers.
2460 * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
2461 * sunrpc/rpcsvc/bootparam.x: Renamed to...
2462 * sunrpc/rpcsvc/bootparam_prot.x: ...this.
2464 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
2466 * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
2467 detect and handle invalid descriptors.
2469 1999-04-17 Thorsten Kukuk <kukuk@suse.de>
2471 * timezone/zic.c (dolink): Append complete path not only filename
2474 1999-04-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2476 * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
2478 1999-04-17 Ulrich Drepper <drepper@cygnus.com>
2480 * iconvdata/gconv-modules: Rename CP874 to IBM874.
2481 * iconvdata/Makefile: Likewise.
2482 * iconvdata/cp874.h: Removed.
2483 * iconvdata/cp874.c: Renamed to...
2484 * iconvdata/ibm874.c: ...this.
2486 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
2488 * sysdeps/unix/sysv/linux/bits/types.h: Correct
2489 signed/unsigned-ness of blkcnt and fsblkcnt.
2490 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2491 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2493 * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
2494 SOL_AAL, and SOL_IRDA.
2496 1999-04-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2498 * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero. Don't
2499 include "linux_fsinfo.h".
2500 Based on a patch by H.J. Lu <hjl@gnu.org>.
2502 1999-04-16 Thorsten Kukuk <kukuk@suse.de>
2504 * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
2506 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
2508 * nscd/cache.c (prune_cache): Only disable file checking for
2509 future if the file does not exist.
2510 Update file_mtime if cache was flushed.
2512 1999-04-15 David S. Miller <davem@redhat.com>
2514 * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
2515 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
2517 1999-04-15 Scott Bambrough <scottb@netwinder.org>
2519 * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
2520 compilation of file.
2522 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
2524 * Versions.def: Add GLIBC_2.1.1 to libpthread.
2526 * iconvdata/Makefile (modules): Add KOI8-U.
2527 (distribute): Add koi8-u.c.
2528 (gen-8bit-gap-modules): Add koi8-u.
2529 * iconvdata/gconv-modules: Add KOI8-U entries.
2530 * iconvdata/koi8-u.c: New file.
2532 1999-04-13 Thorsten Kukuk <kukuk@suse.de>
2534 * sunrpc/auth_des.c: 64bit fixes, security fixes.
2535 * sunrpc/auth_none.c: Pretty print.
2536 * sunrpc/auth_unix.c: Likewise.
2537 * sunrpc/authdes_prot.c: Likewise.
2538 * sunrpc/authuxprot.c: Likewise.
2539 * sunrpc/bindrsvprt.c: Likewise.
2540 * sunrpc/clnt_gen.c: Likewise.
2541 * sunrpc/rpc/xdr.h: Likewise.
2542 * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
2543 * sunrpc/rpc_cmsg.c: Don't use *long pointers.
2544 * sunrpc/rtime.c: Use new rpc_timeval.
2545 * sunrpc/svc_authux.c: Don't use *long pointers.
2546 * sunrpc/svcauth_des.c: Likewise + security fixes.
2547 * sunrpc/xdr_mem.c: Don't use *long pointers.
2548 * sunrpc/xdr_rec.c: Likewise.
2549 * sunrpc/xdr_sizeof.c: Likewise.
2550 * sunrpc/xdr_stdio.c: Likewise.
2552 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
2554 * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
2555 so that it is redone for each sending.
2557 1999-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2559 * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
2561 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
2563 * iconv/gconv_db.c (__gconv_find_transform): If conversion is
2564 known to not exist don't try to load shared objects.
2565 Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
2567 * nscd/cache.c (prune_cache): The table might not be unused. In
2568 this case do nothing.
2570 * catgets/gencat.c (read_input_file): Don't drop white spaces
2571 between number/identifier and string.
2572 Patch by Dima Barsky <dima@pwd.hp.com>.
2573 If no white space at all follows number/identifier remove existing
2574 message with the number/identifier.
2576 1999-04-14 H.J. Lu <hjl@gnu.org>
2578 * sunrpc/clnt_udp.c (is_network_up): New function.
2579 (clntudp_call): Call is_network_up () to check if any network
2580 interface is up in case of timeout.
2582 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2584 * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
2585 * wctype/Makefile (tests): Add test_wcfuncs.
2587 1999-04-14 Jakub Jelinek <jj@ultra.linux.cz>
2589 * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
2591 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
2593 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
2594 instead of CFLAGS. For gnulib and string directories use
2595 -Wa,-Av9a gcc ASFLAGS.
2596 * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
2597 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
2598 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
2599 * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
2600 the same way as sparc-*.
2602 1999-04-14 Ulrich Drepper <drepper@cygnus.com>
2604 * locale/programs/locfile.c (locfile_read): Fix typo.
2605 Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
2607 1999-04-14 Scott Bambrough <scottb@netwinder.org>
2609 * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
2610 restarted after being interrupted by a signal. The parameters on
2611 the stack were corrupted by the signal handler.
2613 * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
2614 restarted after being interrupted by a signal. The parameters on
2615 the stack were corrupted by the signal handler.
2617 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2619 * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
2620 Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
2622 1999-04-12 Tim Waugh <tim@cyberelk.demon.co.uk>
2624 * posix/wordexp-test.c: In field-splitting test cases where
2625 subshells were involved, unset IFS first: some shells (ash) use
2626 IFS even when no expansion is performed.
2628 1999-04-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2630 * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
2631 the real end of the chunk, not some random point inbetween.
2632 (_IO_obstack_xsputn): Likewise. Actually copy the data into the
2633 obstack when growing. Use fast version of obstack_blank when
2635 (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
2636 allocating the vtable pointer.
2637 (_IO_obstack_vprintf): Adjust for above change and avoid
2638 unnecessary casts. Use fast version of obstack_blank when
2642 1999-04-12 Ulrich Drepper <drepper@cygnus.com>
2644 * iconvdata/gconv-modules: Fix typo. Add UJIS alias.
2645 Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
2647 1999-04-11 Tim Waugh <tim@cyberelk.demon.co.uk>
2649 * posix/wordexp.c (wordexp): Fix a leak when an invalid character
2650 is seen, as well as fixing semantics. Don't reset the word count
2651 to zero when an invalid character is seen, but leave it as it was
2652 (this makes a difference with WRDE_APPEND).
2654 * posix/wordexp-test.c: More test cases.
2656 * posix/wordexp.c (parse_param): In words like ${var#pattern},
2657 always expand pattern when it is needed. Also, handle quoting in
2660 1999-04-12 Philip Blundell <philb@gnu.org>
2662 * elf/elf.h: Update ARM definitions to match current gas2.
2664 * sysdeps/arm/bits/endian.h: Support big endian operation.
2666 * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
2667 Don't bother range checking the port number.
2669 * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
2671 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
2672 the syscall name in assembler output for ease of debugging.
2674 * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
2676 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
2677 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
2678 (sysdep_routines): Add sigrestorer.
2680 * string/tester.c (test_strcpy): Add new tests for unaligned
2682 * sysdeps/arm/bits/string.h: Delete inline implementations of
2685 1999-04-11 Ulrich Drepper <drepper@cygnus.com>
2687 * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
2689 1999-04-10 Mark Kettenis <kettenis@gnu.org>
2691 * sysdeps/mach/hurd/Dist: Add clk_tck.c.
2693 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
2695 * iconvdata/Makefile (modules): Add TIS-620.
2696 (distribute): Add tis-620.c.
2697 (gen-8bit-gap-modules): tis-620.
2698 * iconvdata/tis-620.c: New file.
2699 * iconvdata/gconv-modules: Add TIS-620 entries.
2701 * iconvdata/asmo_449.c: Correct comment.
2703 1999-04-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2705 * manual/install.texi (Configuring and compiling): Comment out
2706 description of --disable-static since this doesn't work currently
2707 (see change by Ulrich Drepper on 1998-12-07 for configure.in).
2709 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
2711 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
2713 Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
2715 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2717 * scripts/test-installation.pl (installation_problem): Skip
2718 libnss1_* libraries from glibc-compat add-on.
2720 1999-04-07 H.J. Lu <hjl@gnu.org>
2722 * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
2724 * posix/Versions (__waitpid): Likewise.
2726 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2728 * manual/install.texi (Reporting Bugs): Add section about reported
2729 bugs and correct email address of glibcbug script.
2731 1999-04-01 Thorsten Kukuk <kukuk@suse.de>
2733 * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
2734 * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
2735 xdr_u_longlong_t. Based on patch from Dan Shechter
2736 <damageboy@isdn.net.il>.
2737 * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
2738 * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
2740 * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
2742 1999-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2744 * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
2745 directly if getdents returns with error set.
2747 1999-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2749 * locale/langinfo.h (THOUSEP): Rename second occurence of
2750 THOUSANDS_SEP to THOUSEP.
2751 Reported by Roman Belenov <roman@nstl.nnov.ru>.
2753 1999-04-05 Roland McGrath <roland@baalperazim.frob.com>
2755 * hurd/STATUS: File removed. Moved items that are still relevant into
2756 TODO list in hurd source.
2758 1999-03-26 Mark Kettenis <kettenis@gnu.org>
2760 * sysdeps/mach/hurd/bits/time.h: New file.
2761 * sysdeps/mach/hurd/getrusage.c: New file.
2762 * sysdeps/mach/hurd/clk_tck.c: New file.
2763 * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
2764 * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
2765 (sysdep_routines): Add clk_tck.
2766 * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
2769 1999-04-02 Ulrich Drepper <drepper@cygnus.com>
2771 * misc/syslog.c (closelog_internal): Do not reset LogTag here.
2772 (closelog): But instead here.
2773 Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
2775 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2777 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
2778 the source directory. Fixes PR libc/1059.
2780 1999-04-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2782 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
2783 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
2785 1999-04-01 Ulrich Drepper <drepper@cygnus.com>
2787 * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
2788 * iconvdata/testdata/ISO-8859-14: New file.
2789 * iconvdata/testdata/ISO-8859-14..UTF8: New file.
2790 * iconvdata/testdata/ISO-8859-15: New file.
2791 * iconvdata/testdata/ISO-8859-15..UTF8: New file.
2793 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
2795 * iconvdata/testdata/CP1258: New file.
2796 * iconvdata/testdata/CP1258..UTF8: New file.
2797 * iconvdata/TESTS: Add CP1258 entry.
2799 * iconvdata/cp874.h (to_ucs4): Add Euro sign.
2801 * timezone/africa: Update from tzdata1999d.
2802 * timezone/europe: Likewise.
2803 * timezone/northamerica: Likewise.
2805 1999-03-31 Mark Kettenis <kettenis@gnu.org>
2807 * login/programs/pt_chown.c (main): Save effective user ID before
2808 dropping priviliges and use this to check if the program is
2811 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
2813 * iconvdata/testdata/CP1254: Update for charmap changes.
2814 * iconvdata/testdata/CP1254..UTF8: Likewise.
2815 * iconvdata/testdata/CP1255: Likewise.
2816 * iconvdata/testdata/CP1255..UTF8: Likewise.
2817 * iconvdata/testdata/CP1256: Likewise.
2818 * iconvdata/testdata/CP1256..UTF8: Likewise.
2819 * iconvdata/testdata/CP1257: Likewise.
2820 * iconvdata/testdata/CP1257..UTF8: Likewise.
2822 * iconvdata/Makefile (distribute): Remove cp1258.h.
2823 (gen-8bit-gap-modules): Add cp1258.
2824 * iconvdata/cp1258.h: Removed.
2826 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
2828 * timezone/tst-timezone.c (tests): Add more cases.
2829 (check_tzvars): Mark errors clearer.
2832 1999-03-30 20:59 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
2834 * login/programs/pt_chown.c: Drop privileges if invoked with
2835 arguments. Don't close the master pty.
2837 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
2839 * time/tzfile.c (__tzfile_read): Process transitions from the rear.
2842 1999-03-29 Ulrich Drepper <drepper@cygnus.com>
2844 * elf/rtld.c (process_envvars): Do not automatically prevent lazy
2845 relocation for SUID binaries.
2847 1999-03-29 Paul Eggert <eggert@twinsun.com>
2849 * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
2850 while in child process.
2852 1999-03-29 Jakub Jelinek <jj@ultra.linux.cz>
2854 * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
2855 * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
2856 * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
2857 * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
2858 * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
2860 * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
2861 * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
2862 * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
2863 * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
2864 * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
2865 * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
2866 * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
2867 * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
2868 * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
2869 * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
2870 * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
2871 * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
2872 * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
2873 * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
2874 * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
2875 * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
2876 * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
2877 * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
2878 * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
2879 * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
2880 * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
2881 * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
2882 * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
2883 * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
2884 * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
2885 * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
2887 * sysdeps/sparc/sparc32/bcopy.c: New file.
2888 * sysdeps/sparc/sparc32/bzero.c: New file.
2889 * sysdeps/sparc/sparc32/memchr.S: New file.
2890 * sysdeps/sparc/sparc32/memcpy.S: New file.
2891 * sysdeps/sparc/sparc32/memmove.c: New file.
2892 * sysdeps/sparc/sparc32/memset.S: New file.
2893 * sysdeps/sparc/sparc32/stpcpy.S: New file.
2894 * sysdeps/sparc/sparc32/strchr.S: New file.
2895 * sysdeps/sparc/sparc32/strrchr.c: New file.
2896 * sysdeps/sparc/sparc32/strcpy.S: New file.
2897 * sysdeps/sparc/sparc32/strlen.S: New file.
2898 * sysdeps/sparc/sparc32/strcat.S: New file.
2899 * sysdeps/sparc/sparc32/strcmp.S: New file.
2901 * sysdeps/sparc/sparc64/bcopy.c: New file.
2902 * sysdeps/sparc/sparc64/bzero.c: New file.
2903 * sysdeps/sparc/sparc64/memchr.S: New file.
2904 * sysdeps/sparc/sparc64/memcmp.S: New file.
2905 * sysdeps/sparc/sparc64/memcpy.S: New file.
2906 * sysdeps/sparc/sparc64/memset.S: New file.
2907 * sysdeps/sparc/sparc64/stpcpy.S: New file.
2908 * sysdeps/sparc/sparc64/strcat.S: New file.
2909 * sysdeps/sparc/sparc64/strchr.S: New file.
2910 * sysdeps/sparc/sparc64/strcmp.S: New file.
2911 * sysdeps/sparc/sparc64/strcpy.S: New file.
2912 * sysdeps/sparc/sparc64/strcspn.S: New file.
2913 * sysdeps/sparc/sparc64/strlen.S: New file.
2914 * sysdeps/sparc/sparc64/strncpy.S: New file.
2915 * sysdeps/sparc/sparc64/strpbrk.S: New file.
2916 * sysdeps/sparc/sparc64/strrchr.c: New file.
2917 * sysdeps/sparc/sparc64/strspn.S: New file.
2918 * sysdeps/sparc/sparc64/stpncpy.S: New file.
2919 * sysdeps/sparc/sparc64/strncmp.S: New file.
2921 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
2922 Append -fPIC, don't replace.
2924 * configure.in: Recognize sparcv8plus / sparcv9.
2926 1999-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2928 * malloc/obstack.h (obstack_free): Explicitly convert __obj to
2929 char * to avoid C++ warning.
2930 Patch by yasushi@cs.washington.edu [PR libc/1035].
2932 1999-03-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2934 * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
2935 declared in stdlib.h, correct return value of mkstemp.
2936 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
2938 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
2941 1999-03-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2943 * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
2946 * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
2947 inline functions. Closes PR libc/1049.
2949 1999-03-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2951 * timezone/README: Update from tzdata1999c and tzcode1999c.
2953 * timezone/africa: Update from tzdata1999c.
2954 * timezone/antarctica: Likewise.
2955 * timezone/asia: Likewise.
2956 * timezone/australasia: Likewise.
2957 * timezone/europe: Likewise.
2958 * timezone/northamerica: Likewise.
2959 * timezone/southamerica: Likewise.
2960 * timezone/zone.tab: Likewise.
2962 * timezone/zic.c: Update from tzcode1999c.
2964 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2966 * Makerules: Add $(common-objpfx)Versions.all to common-generated
2967 outside of ifndef avoid-generated.
2969 * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
2971 * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
2973 * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
2975 * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
2976 _IO_old_file_seekoff): Bring over recent changes in fileops.c.
2978 1999-03-26 Mark Kettenis <kettenis@gnu.org>
2980 * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
2981 if we build the profiled library.
2983 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2985 * math/Makefile (gmp-objs): Add inlines. Reported by Andreas
2986 Jaeger <aj@arthur.rhein-neckar.de>
2988 1999-03-25 Roland McGrath <roland@yaumatei.ai.mit.edu>
2990 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
2991 (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
2992 This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
2994 1999-03-24 Roland McGrath <roland@baalperazim.frob.com>
2996 * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
2997 works properly in subdirs.
2999 1999-03-23 Roland McGrath <roland@baalperazim.frob.com>
3001 * sysdeps/mach/hurd/Makefile: Undo last change.
3002 [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
3003 [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
3005 * mach/Machrules (+preinit, +postinit, +interp,
3006 LDFLAGS-$(interface.so)): Variables removed. Interface libraries get
3007 linked just like other shared libraries.
3008 (interface.so): Fix typo in defn, so it works.
3009 ($(objpfx)$(interface.so)): Make it depend on libc.so.
3011 1999-03-21 Roland McGrath <roland@baalperazim.frob.com>
3013 * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
3014 $(link-rpcuserlibs).
3016 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3018 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
3019 $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
3020 targets if not building shared libraries.
3022 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3024 * configure.in: Also look in $PATH when searching for
3025 install-info. Remove autoconf bug workaround and require autoconf
3028 1999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3030 * db/Makefile: Don't try to install shared library link if not
3031 building with shared libs.
3033 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3035 * rt/Makefile: Link against static library if no shared lib is
3038 * localedata/Makefile: The shells scripts implementing the test
3039 require the dynamic linker which is not available with
3040 --disable-shared. Skip the test if --disable-shared is given.
3042 * linuxthreads/Makefile: Link test against static libpthread if no
3043 shared lib is available.
3045 * iconvdata/Makefile (tests): Run iconv-test only if we're
3046 building shared libraries.
3047 * elf/Makefile (tests): Likewise for elf tests.
3049 * posix/Makefile: The test frameworks globtest and wordexp-test
3050 require the dynamic linker which is not available with
3051 --disable-shared. Skip the test if --disable-shared is given.
3053 * grp/Makefile (otherlibs): For static nss build link against
3056 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3058 * debug/Makefile (install-bin): Install and build catchsegv only
3059 if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR
3062 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3064 * time/tzfile.c (__tzfile_read): Handle the case where there are
3065 transitions but no DST.
3067 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>
3069 * mach/Machrules (extra-libs-others): Add $(interface-library) here
3070 too, so it gets built in the others pass rather than the lib pass.
3071 This is necessary since the RPC libraries need to be linked against
3074 1999-03-19 Roland McGrath <roland@baalperazim.frob.com>
3076 * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
3079 * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
3080 ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
3081 ($(link-rpcuserlibs)): New static pattern rule; link intermediate
3082 versions of lib{mach,hurd}user.so without reference to libc.so,
3083 then link libc.so against that to get deps and symbol versions, then
3084 finally link real lib*user.so against libc.so.
3086 * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
3087 Support whole-file locking (only) by using the file_lock RPC. This
3088 has very wrong semantics, but is better than nothing for the time
3089 being. (Correct POSIX.1 locking will require new RPCs in the Hurd
3090 protocols that will be somewhat hairy to specify.)
3092 1999-03-17 Mark Kettenis <kettenis@gnu.org>
3094 * sysdeps/mach/hurd/ptsname.c: New file.
3096 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3098 * timezone/asia: Fix rule in Asia/Nicosia entry.
3100 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3102 * manual/getopt.texi (Using Getopt): Explain "::" in option
3103 string. Reported by Yuri Niyazov <yuricake@geocities.com>.
3105 1999-03-18 Thorsten Kukuk <kukuk@suse.de>
3107 * sunrpc/clnt_unix.c: Fix creation of parameters for
3108 sendmsg/recvmsg on non intel platforms.
3109 * sunrpc/svc_unix.c: Likewise.
3111 1999-03-18 Philip Blundell <philb@gnu.org>
3113 * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386
3116 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3118 * timezone/africa: Update from tzdata1999b.
3119 * timezone/asia: Likewise.
3120 * timezone/australasia: Likewise.
3121 * timezone/europe: Likewise.
3122 * timezone/northamerica: Likewise.
3123 * timezone/southamerica: Likewise.
3124 * timezone/zone.tab: Likewise.
3126 * timezone/README: Mention tzdata1999b.
3128 1999-03-17 Ulrich Drepper <drepper@cygnus.com>
3130 * sysdeps/generic/segfault.c (write_strsignal): New function.
3131 (catch_segfault): Use it instead of calling strsignal.
3133 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3135 * iconv/gconv.c (__gconv): Change type of last_start to unsigned
3136 char to avoid warning.
3138 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
3140 * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
3142 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
3143 outbuf to unsigned char to avoid warning.
3145 1999-03-11 David S. Miller <davem@redhat.com>
3147 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
3149 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
3151 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
3153 * iconv/gconv.h (gconv_fct): Change parameter from `char' to
3155 (gconv_step_data): Likewise.
3156 * iconv/gconv_int.h (__gconv): Likewise.
3157 (__BUILINT_TRANS): Likewise.
3158 * iconv/gconv.c (__gconv): Likewise.
3159 * iconv/iconv.c (iconv): Add casts for call of __gconv.
3160 * iconv/skeleton.c: Change local parameters and variable from `char' to
3161 `unsigned char'. Remove casts from calls into modules.
3162 * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
3163 `char' to `unsigned char'.
3164 * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
3165 * wcsmbs/mbrtowc.c: Likewise.
3166 * wcsmbs/mbsnrtowcs.c: Likewise.
3167 * wcsmbs/mbsrtowcs.c: Likewise.
3168 * wcsmbs/wcrtomb.c: Likewise.
3169 * wcsmbs/wcsnrtombs.c: Likewise.
3170 * wcsmbs/wcsrtombs.c: Likewise.
3171 * wcsmbs/wctob.c: Likewise.
3173 1999-03-15 Mark Kettenis <kettenis@gnu.org>
3175 * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
3176 __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
3177 __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
3178 __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
3179 __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
3180 __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
3182 1999-03-15 Mark Kettenis <kettenis@gnu.org>
3184 * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
3185 _hurd_select if TIMEMOUT is -1.
3187 1999-03-15 Mark Kettenis <kettenis@gnu.org>
3189 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
3191 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
3193 * elf/dl-load.c: Compute rtld_search_dir array size correctly.
3194 Reported by Yasushi Saito <yasushi@cs.washington.edu>.
3196 1999-03-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3198 * manual/libc.texinfo: Undo last change for now.
3200 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
3202 * intl/locale.alias: Add entries for Croatian.
3203 Patch by Tomislav Vujec <tvujec@CARNet.hr>.
3205 1999-03-13 Mark Kettenis <kettenis@gnu.org>
3207 * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
3208 if the opened master pty really is a pty. `isatty' checks for
3209 tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE
3210 if we are out of pty's.
3212 1999-03-13 Mark Kettenis <kettenis@gnu.org>
3214 * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
3215 opened file is closed on exec.
3216 * login/utmp_daemon.c (setutent_daemon): Likewise for the just
3219 1999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3221 * manual/llio.texi (File Position Primitive): Reformat @end
3222 command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
3224 1999-03-14 Ulrich Drepper <drepper@cygnus.com>
3226 * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
3228 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3229 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
3231 * locale/programs/localedef.c (main): Initialize `cat' to please
3234 1999-03-14 Roland McGrath <roland@baalperazim.frob.com>
3236 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
3237 check for root-owned symlinks and reject them too.
3239 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3241 * stdio-common/printf_fphex.c: Move to ...
3242 * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of
3243 extended precision number.
3244 * sysdeps/m68k/printf_fphex.c: New file.
3246 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3248 * manual/stdio.texi: Fix typos.
3250 1999-03-09 Ulrich Drepper <drepper@cygnus.com>
3252 * version.h (VERSION): Bump to 2.1.1.
3254 1999-03-09 Thorsten Kukuk <kukuk@suse.de>
3256 * nis/ypclnt.c: Try only twice to connect to NIS server.
3258 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
3260 * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
3262 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3264 * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
3265 (DENORM_EXP): New define. Use it as the exponent for a denormal.
3266 * stdlib/strtold.c: Moved to ...
3267 * sysdeps/generic/strtold.c: ... here.
3268 * sysdeps/m68k/strtold.c: New file.
3270 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3272 * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
3273 point if the precision is zero, even if the mantissa is non-zero.
3275 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
3277 * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
3278 arguments into the request message buffer inside `send_rpc'
3279 subfunction. We must repeat the marshalling when retrying the RPC
3280 after a SIGTTOU delivery.
3282 * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
3283 path when there is no ctty port.
3284 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
3285 Move sigstate check inside loop so we recheck after handling a signal.
3287 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3289 * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
3290 O_EXLOCK are BSD extensions.
3291 Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
3293 1999-03-08 Ulrich Drepper <drepper@cygnus.com>
3295 * manual/signal.texi (Termination in Handler): Correct example.
3296 Install default handler before reraising the signal.
3297 Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
3299 1999-03-08 Roland McGrath <roland@baalperazim.frob.com>
3301 * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
3302 null, in which case send an empty string.
3304 1999-03-02 Mark Kettenis <kettenis@gnu.org>
3306 * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
3307 backward compatibility EH functions to be linked when using
3308 gcc-2.8.1. Patch by Zack Weinberg <zack@rabi.columbia.edu>.
3310 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3312 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
3313 /dev/pts status may change during runtime.
3315 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3317 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
3318 change. /dev/pts status can change during runtime.
3320 1999-03-07 Thorsten Kukuk <kukuk@suse.de>
3322 * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
3324 * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
3325 add some more sanity checks.
3326 * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
3329 1999-03-05 Thorsten Kukuk <kukuk@suse.de>
3331 * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
3332 change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
3333 * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
3334 * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
3335 * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
3337 * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
3338 * nis/nis_print.c: Fix ctime argument for platforms where
3339 sizeof (time_t) != sizeof (int).
3341 1999-03-07 Mark Kettenis <kettenis@gnu.org>
3343 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
3344 CLOCKS_PER_SEC instead of CLK_TCK.
3346 1999-03-05 Ulrich Drepper <drepper@cygnus.com>
3348 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
3349 whether /dev/pts is available.
3350 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
3353 * posix/globtest.sh: Make common_objpfx path absolute and and db2
3354 and hesiod directory to library path [PR libc/1007].
3356 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3358 * resolv/inet_addr.c (inet_aton): Don't allow componets >
3359 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
3361 1999-03-05 Geoff Keating <geoffk@ozemail.com.au>
3363 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
3364 DT_PLTGOT has already been relocated.
3365 (__elf_machine_fixup_plt): Likewise.
3368 1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
3370 * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
3372 1999-03-03 Ulrich Drepper <drepper@cygnus.com>
3374 * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
3375 and fold string to uppercase [PR libc/1005].
3377 1999-03-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3379 * elf/dl-load.c (lose): Fix return type.
3381 1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
3383 * sysdeps/mach/hurd/bits/fcntl.h
3384 [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
3385 * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
3386 set O_NOTRANS as well.
3387 (__hurd_file_name_lookup_retry): At successful end of lookup,
3388 if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
3389 it is a translated node not owned by root.
3390 (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
3391 on the file name passed to LOOKUP.
3393 1999-03-02 Ulrich Drepper <drepper@cygnus.com>
3395 * manual/time.texi (High Resolution Timer): Correct computation in
3396 example. Reported by jjf@devel.cemsys.com.
3398 1999-03-02 Philip Blundell <pb@nexus.co.uk>
3400 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
3401 entry is already relocated.
3403 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3405 * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported
3406 by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
3408 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3410 * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
3411 uc_link which is the right name according to Unix98.
3412 Reported by Craig Metz [PR libc/1001].
3413 * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
3414 * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
3415 * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
3416 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
3417 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise
3418 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
3420 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3422 * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
3425 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3427 * iconvdata/Makefile: Always include iconv-rules, but disable rule
3428 to regenerate it if avoid-generated.
3430 * Makeconfig: Always include sys-dirs, but disable rule to
3431 regenerate it when avoid-generated.
3433 * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
3434 rule to generate sysd-syscalls.
3436 * elf/Makefile (generated): Remove $(objpfx) from names.
3438 1999-02-28 Mark Kettenis <kettenis@gnu.org>
3440 * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
3441 actual length if the adress length is smaller than the input
3442 value. Change type of *LEN paramater to socklen_t.
3443 * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
3444 * sysdeps/mach/hurd/accept.c (accept): Likewise.
3445 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
3446 * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
3447 paramater to socklen_t.
3449 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
3451 * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
3452 msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
3455 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
3457 * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
3458 __get_phys_pages): Cast &HBI to silence warning.
3460 * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
3461 * hurd/hurdchdir.c: New file.
3462 * hurd/hurdfchdir.c: New file.
3463 * sysdeps/mach/hurd/chroot.c: Call
3464 _hurd_change_directory_port_from_name to do the work.
3465 * sysdeps/mach/hurd/chdir.c: Likewise.
3466 * sysdeps/mach/hurd/fchdir.c: Call
3467 _hurd_change_directory_port_from_fd to do the work.
3468 * hurd/fchroot.c: Likewise.
3469 * hurd/hurd.h: Declare them.
3471 1999-02-27 Ulrich Drepper <drepper@cygnus.com>
3473 * elf/dl-load.c (lose): Add more comments to explain the `why'.
3474 (_dl_map_object): Remove redundant test.
3476 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
3478 * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
3479 try to _hurd_port_free a lower-numbered descriptor that was not in any
3482 1999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3484 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
3485 declaration for ____wcstod_l_internal.
3487 * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
3488 __strtod_internal prototype.
3489 * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
3490 (____strtold_l_internal): Add prototype declaration.
3491 (__strtold_l): Call correct function.
3493 1999-02-24 Ulrich Drepper <drepper@cygnus.com>
3495 * elf/elf.h: Add 32bit HPPA definitions.
3497 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3499 * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
3500 non-checked heap is restored when malloc checking was requested by
3502 (struct malloc_state): Add using_malloc_checking.
3503 (MALLOC_STATE_VERSION): Increment minor.
3504 (using_malloc_checking, disallow_malloc_check): New variables.
3505 (__malloc_check_init): Use them.
3506 (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
3507 that it can the chunk is properly instrumented when malloc
3508 checking is enabled. Set the new using_malloc_checking field.
3509 (malloc_hook_ini): Correct signature when _LIBC is not defined.
3511 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3513 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
3514 (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
3517 * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
3518 Don't call elf_get_dynamic_info and _dl_setup_hash a second time
3519 if ld.so is the main program.
3521 1999-02-23 Ulrich Drepper <drepper@cygnus.com>
3523 * stdio-common/vfprintf.c (vfprintf): If precision or width is too
3524 large for work_buffer, allocate new buffer.
3525 (printf_unknown): Likewise. [PR libc/988]
3527 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
3529 * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
3530 instead of stat and fstat.
3531 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3533 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3535 * elf/dl-error.c (_dl_signal_cerror): New function.
3536 (_dl_signal_error): Don't call receiver function.
3537 * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
3538 instead of _dl_signal_error when reporting references to undefined
3539 symbols or versions.
3540 (_dl_lookup_versioned_symbol): Likewise.
3541 (_dl_lookup_versioned_symbol_skip): Likewise.
3542 * elf/dl-version.c (match_symbol): Likewise.
3544 * elf/ldsodefs.h: Declare _dl_signal_cerror.
3546 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
3548 * misc/getttyent.c (getttyent): Release lock on stream later to
3549 also protect global variable zapchar.
3551 * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
3552 __times [PR libc/990].
3554 1999-02-21 David S. Miller <davem@redhat.com>
3556 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
3557 parentheses in Feb 2 changes.
3558 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
3560 1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3562 * sysdeps/generic/glob.c (glob): Save previous errno.
3564 1999-02-21 Ulrich Drepper <drepper@cygnus.com>
3566 * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
3567 lookup functions if it is too small.
3569 1999-02-20 Ulrich Drepper <drepper@cygnus.com>
3571 * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
3572 for tracing to the scope lists.
3573 * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
3574 DT_SYMTAB is always available according to ELF spec.
3576 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
3577 call test whether there is any scope left.
3578 (_dl_lookup_versioned_symbol_skip): Likewise.
3580 * elf/Makefile (distribute): Add do-lookup.h.
3581 * elf/do-lookup.h: New file. Split out from dl-lookup.c.
3582 * elf/dl-lookup.c: Move do_lookup function in separate file and
3583 include the file twice, for handling versioning and without it.
3585 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
3586 entry is already relocated.
3587 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
3588 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
3589 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
3590 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
3592 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
3594 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
3597 * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
3598 load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
3599 DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
3600 (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
3601 rel and rela relocations can both happen and skip one test if this
3603 (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
3605 * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
3607 * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
3609 * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
3610 (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
3611 (_dl_map_object): DT_STRTAB entry is already relocated.
3612 * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
3614 * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
3616 * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
3617 DT_VERSYM entries are already relocated.
3618 (profile_fixup): Likewise.
3619 * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace
3621 (match_symbol): DT_STRTAB entry is already relocated.
3622 (_dl_check_map_versions): Likewise. Also fo DT_VERSYM.
3623 * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
3624 relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated.
3625 * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
3626 (find_needed): DT_STRTAB entry is already relocated.
3627 (dl_main): Pass extra argument to elf_get_dynamic_info.
3628 DT_STRTAB entry is already relocated.
3629 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
3630 DT_PLTGOT entries are already relocated.
3631 (elf_machine_rela): Likewise for DT_SYMTAB.
3632 * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
3634 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3635 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
3636 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
3637 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3638 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
3639 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
3640 (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
3641 * sysdeps/mips/mips64/dl-machine.h: Likewise.
3643 * grp/initgroups.c (initgroups): If function in current module was
3644 successful don't stop but continue to process to get all the groups.
3646 * elf/dl-load.c (_dl_map_object_from_fd): Use global
3647 _dl_pf_to_proot array to convert p_flags value.
3648 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3650 * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
3651 loop to clear `info'.
3653 * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
3654 do the work and don't use inline assembler.
3656 1999-02-19 Ulrich Drepper <drepper@cygnus.com>
3658 * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
3659 * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
3660 noreturn, and prevent it from being inlined.
3661 Define LOSE appropriately.
3662 (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
3663 Optimize decoding of p_flags for certain platforms.
3665 1999-02-19 Philip Blundell <pb@nexus.co.uk>
3667 * Makeconfig (link-libc): When doing a static link, make sure that
3668 libgcc.a is included both before and after libc.a.
3670 1999-02-18 Thorsten Kukuk <kukuk@suse.de>
3672 * nis/nss_compat/compat-spwd.c: Fix handling of default values for
3673 sp_warn, sp_inact, sp_expire and sp_flag.
3675 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
3677 * elf/link.h (link_map): Add l_dev and l_ino.
3678 * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
3679 loaded shared object with all loaded objects. Initialize l_ino
3680 and l_dev in case it's new.
3681 * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
3683 * elf/Makefile: Compile and run new test.
3684 * elf/multiload.c: New file.
3686 * nss/nsswitch.h (service_user): Change name field from const char *
3688 (name_database_entry): Likewise.
3689 * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
3690 for change of `service_user'.
3691 (nss_getline): Adjust memory allocation for change of
3692 `name_database_entry'.
3694 * catgets/catgets.c: Correctly handle NLSPATH from environment
3697 * io/Makefile (routines): Add lock64.
3698 * io/Versions: Add lockf64 for GLIBC_2.1.1.
3699 * sysdeps/generic/lockf64.c: New file.
3701 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
3703 * string/bits/string2.h: Only use strncmp optimization if count
3704 argument is constant.
3706 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
3708 * sysdeps/mach/hurd/revoke.c: New file.
3710 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
3712 * wctype/wctype.h (_ISwbit): Cast result of shift operations to
3713 int to avoid warning about `ISO C restricts enumerator values to
3716 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3718 * elf/dlfcn.h: Fix typo.
3719 * sysdeps/generic/bits/dlfcn.h: Likewise.
3720 * sysdeps/mips/bits/dlfcn.h: Likewise.
3722 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
3724 * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
3725 for the case N == 0.
3727 * db2/Makefile (distribute): Add LICENSE.
3729 1999-02-03 Jeff Bailey <jbailey@nisa.net>
3731 * sysdeps/unix/make_errlist.c: Add i18n and copyright to
3734 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
3736 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
3738 * time/mktime.c: Use ISO C form for function definitions and
3739 remove unnecessary prototypes.
3741 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
3743 * time/time.h: Avoid unneccesary #ifdef.
3745 1999-02-15 Geoff Keating <geoffk@ozemail.com.au>
3747 * stdio-common/_itoa.c (_itoa): Correct parameters to
3750 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3752 * misc/sys/cdefs.h: Undefine __PMT since it might be defined
3753 before (e.g. in glob.h).
3756 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3758 * sysdeps/mips/fpu_control.h: Fix typo.
3759 Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
3762 1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
3764 * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
3765 the "unused" ends of the sockets. Let pipes be bidirectional.
3767 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
3769 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
3772 1999-02-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3774 * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by
3775 Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
3777 * manual/setjmp.texi (Non-Local Exits and Signals): Fix
3778 typo. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
3780 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
3782 * string/Versions: Add __strverscmp to GLIBC_2.1.1.
3784 1999-02-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3786 * misc/syslog.c (vsyslog): Remember errno for %m format. Fix
3787 check for priority mask.
3789 1999-02-14 Ulrich Drepper <drepper@cygnus.com>
3791 * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
3792 Reported by Craig Metz <cmetz@inner.net> .
3794 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3796 * stdio-common/Makefile (tests): tllformat added.
3798 * stdio-common/tllformat.c: New program, based on tiformat.c with
3799 examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3801 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3803 * posix/test-vfork.c: Fix exit status test.
3805 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3807 * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
3808 missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
3810 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3812 * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
3813 of separare explicit comparisons.
3815 1999-02-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3817 * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
3820 * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
3823 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
3825 * po/el.po: Update from translation team.
3827 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3829 * intl/locale.alias: Fix slovenian entry [PR libc/948].
3831 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3833 * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
3834 * inet/ruserpass.c: Likewise.
3835 * locale/programs/stringtrans.c: Likewise.
3836 * locale/programs/localedef.c: Likewise.
3837 * nscd/grpcache.c: Likewise.
3838 * nss/nss_files/files-XXX.c: Likewise.
3839 * stdlib/canonicalize.c: Likewise.
3840 * sysdeps/posix/sigwait.c: Likewise.
3842 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3844 * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
3845 even on 64 bit platforms.
3847 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
3848 Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
3850 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
3852 * intl/dcgettext.c: Include locale.h is available.
3854 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
3856 * po/nl.po: Update from translation team.
3858 * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
3860 * Makefile: Allow calling goals for po subdir.
3862 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
3865 * po/el.po: New file.
3867 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3869 * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
3870 when processing DT_SYMBOLIC objects.
3872 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3874 * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
3875 program headers without PT_PHDR only require that they are
3876 contained within one of the loaded segments. Don't use assert,
3877 since that would be a bug in the object, not the dynamic linker.
3879 1999-02-08 Richard Henderson <rth@cygnus.com>
3881 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
3882 restore all call-clobbered fp regs.
3884 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
3886 * po/cs.po: New file.
3888 * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
3891 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
3893 * signal/signal.h: Don't declare __libc_allocate_rtsig.
3894 * include/signal.h: Declare __libc_allocate_rtsig here.
3896 * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
3897 point functions, not do_lookup since the later can be called more
3900 1999-02-03 Jakub Jelinek <jj@ultra.linux.cz>
3902 * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
3903 macro, so that architectures which need to add some special
3904 offset to stack pointer can share this file.
3906 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
3907 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
3908 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
3909 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
3911 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
3912 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
3913 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
3914 between sparc32 and sparc64.
3916 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
3917 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
3918 * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
3919 between sparc32 and sparc64.
3921 * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
3922 * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
3923 * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
3924 between sparc32 and sparc64.
3926 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
3927 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
3928 * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
3929 between sparc32 and sparc64.
3931 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
3933 * Versions.def: New version GLIBC_2.1.1 for libc.
3934 * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
3935 * stdlib/labs.c: Moved to...
3936 * sysdeps/generic/labs.c: ...here.
3937 * stdlib/llabs.c: Moved to...
3938 * sysdeps/generic/llabs.c: ...here.
3939 * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
3940 header. Declare _Exit.
3941 * sysdeps/generic/_exit.c: Add alias _Exit.
3942 * sysdeps/mach/hurd/_exit.c: Likewise.
3943 * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
3944 * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
3945 * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
3946 * sysdeps/unix/_exit.c: Likewise.
3947 * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
3948 imaxdiv and imaxabs. Declare lldiv_t if necessary.
3949 * sysdeps/wordsize-64/inttypes.h: Likewise.
3950 * sysdeps/wordsize-32/llabs.c: New file.
3951 * sysdeps/wordsize-32/lldiv.c: New file.
3952 * sysdeps/wordsize-64/labs.c: New file.
3953 * sysdeps/wordsize-64/ldiv.c: New file.
3954 * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
3955 * manual/startup.texi: Document _Exit.
3957 1999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3959 * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
3961 1999-02-06 Ulrich Drepper <drepper@cygnus.com>
3963 * Versions.def: Add versions for ld.so.
3964 * csu/Versions: Remove __libc_stack_end here.
3965 * elf/Versions: Split libc definitions in libc and ld.so definitions.
3966 * elf/Makefile (ld-map): Change to ld.so.map.
3967 * scripts/versions.awk: Recognize dot in library names.
3969 * ctype/ctype.h: Remove definitions of __tolower and __toupper.
3970 Don't use __tolower and __toupper in inline functions.
3971 Add optimizing macros for tolower and toupper.
3972 * ctype/ctype-extn.c (_tolower): Don't use __tolower.
3973 (_toupper): Don't use __toupper.
3974 * ctype/ctype.c (tolower): Don't use __tolower.
3975 (toupper): Don't use toupper.
3977 * nscd/cache.c (prune_cache): Correct printing of debugging messages.
3979 * resolv/Versions (libresolv): Export __ns_name_unpack and
3981 * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
3982 make it global. Change all users. Similar for ns_name_ntop.
3983 * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
3984 user-provided buffer. Use __ns_name_unpack and __ns_name_ntop
3985 directly to detect too small buffer.
3986 * resolv/nss_dns/dns-network.c: Likewise.
3988 * stdio-common/Makefile (tests): Add scanf12.
3989 * stdio-common/scanf12.c: New file.
3990 * stdio-common/scanf12.input: New file.
3991 * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
3992 floating-point correctly if the number is invalid.
3994 * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
3996 * stdio-common/printf_fp.c: Likewise.
3997 * stdio-common/printf_fphex.c: Likewise.
3998 * stdio-common/vfprintf.c: Likewise.
4001 See ChangeLog.9 for earlier changes.