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