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