1 1999-06-16 Ulrich Drepper <drepper@cygnus.com>
3 * Versions.def: Add GLIBC_2.2 for libc.
5 * iconv/gconv.h: Make header suitable for inclusion in public header
6 by protecting all names with __.
7 * iconv/gconv.c: Adapt for symbol name changes.
8 * iconv/gconv.h: Likewise.
9 * iconv/gconv_builtin.c: Likewise.
10 * iconv/gconv_close.c: Likewise.
11 * iconv/gconv_db.c: Likewise.
12 * iconv/gconv_dl.c: Likewise.
13 * iconv/gconv_int.h: Likewise.
14 * iconv/gconv_open.c: Likewise.
15 * iconv/gconv_simple.c: Likewise.
16 * iconv/iconv.c: Likewise.
17 * iconv/iconv_close.c: Likewise.
18 * iconv/iconv_open.c: Likewise.
19 * iconv/loop.c: Likewise.
20 * iconv/skeleton.c: Likewise.
21 * iconvdata/8bit-gap.c: Likewise.
22 * iconvdata/8bit-generic.c: Likewise.
23 * iconvdata/ansi_x3.110.c: Likewise.
24 * iconvdata/big5.c: Likewise.
25 * iconvdata/cns11643.h: Likewise.
26 * iconvdata/cns11643l1.h: Likewise.
27 * iconvdata/euc-cn.c: Likewise.
28 * iconvdata/euc-jp.c: Likewise.
29 * iconvdata/euc-kr.c: Likewise.
30 * iconvdata/euc-tw.c: Likewise.
31 * iconvdata/gb2312.h: Likewise.
32 * iconvdata/iso-2022-jp.c: Likewise.
33 * iconvdata/iso-2022-kr.c: Likewise.
34 * iconvdata/iso646.c: Likewise.
35 * iconvdata/iso8859-1.c: Likewise.
36 * iconvdata/iso_6937-2.c: Likewise.
37 * iconvdata/iso_6937.c: Likewise.
38 * iconvdata/jis0201.h: Likewise.
39 * iconvdata/jis0208.h: Likewise.
40 * iconvdata/jis0212.h: Likewise.
41 * iconvdata/johab.c: Likewise.
42 * iconvdata/ksc5601.h: Likewise.
43 * iconvdata/sjis.c: Likewise.
44 * iconvdata/t.61.c: Likewise.
45 * iconvdata/uhc.c: Likewise.
46 * stdlib/mblen.c: Likewise.
47 * stdlib/mbtowc.c: Likewise.
48 * stdlib/wctomb.c: Likewise.
49 * wcsmbs/btowc.c: Likewise.
50 * wcsmbs/mbrtowc.c: Likewise.
51 * wcsmbs/mbsnrtowcs.c: Likewise.
52 * wcsmbs/mbsrtowcs.c: Likewise.
53 * wcsmbs/wchar.h: Likewise.
54 * wcsmbs/wcrtomb.c: Likewise.
55 * wcsmbs/wcsmbsload.c: Likewise.
56 * wcsmbs/wcsmbsload.h: Likewise.
57 * wcsmbs/wcsnrtombs.c: Likewise.
58 * wcsmbs/wcsrtombs.c: Likewise.
59 * wcsmbs/wctob.c: Likewise.
61 * include/limits.h (MB_LEN_MAX): Increase to 16.
63 * sysdeps/generic/_G_config.h: Define _G_fpos_t as struct. Define
65 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
66 * include/wchar.h: Change mbstate_t to __mbstate_t.
68 * libio/Makefile (routines): Add wfiledoalloc, oldiofgetpos,
69 oldiofgetpos64, oldiofsetpos, oldiofsetpos64, fputwc, fputwc_u,
70 getwc, getwc_u, getwchar, getwchar_u, iofgetws, iofgetws_u,
71 iofputws, iofputws_u, iogetwline, iowpadn, ioungetwc, putwc, putwc_u,
72 putchar, putchar_u, swprintf, vwprintf, wprintf, wscanf, fwscanf,
73 vwscanf, vswprintf, iovswscanf, swscanf, wgenops, wstrops, wfileops,
75 (tests): Add tst_swprintf, tst_wprintf, tst_swscanf, and tst_wscanf.
76 * libio/Versions: Add _IO_fgetpos, _IO_fgetpos64, _IO_fsetpos,
77 _IO_fsetpos64, fgetpos, fgetpos64, fgetwc, fgetwc_unlocked, fgetws,
78 fgetws_unlocked, fputwc, fputwc_unlocked, fputws, fputws_unlocked,
79 fsetpos, fsetpos64, fwide, fwprintf, fwscanf, getwc, getwc_unlocked,
80 getwchar, getwchar_unlocked, putwc, putwc_unlocked, putwchar,
81 putwchar_unlocked, swprintf, swscanf, ungetwc, vfwprintf, vswprintf,
82 vwprintf, vfwscanf, vswscanf, vwscanf, wprintf, and wscanf to
84 * libio/libio.h: Define codecvt struct. Define _IO_wide_data.
85 Extend _IO_file contain pointer to codecvt, widedata and mode.
86 (_IO_getwc_unlocked): New macro.
87 (_IO_putwc_unlocked): New macro.
88 (_IO_fwide): New macro.
89 * libio/libioP.h: Add new prototypes and adjust existing declarations.
90 * libio/fileops.c (_IO_new_file_close_it): Reset normal or widedata
91 buffers based on mode.
92 (new_do_write): Set _IO_write_end to _IO_buf_end if stream is wide
94 (_IO_new_file_overflow): Don't depend only on _IO_CURRENTLY_PUTTING
95 flag to be enough to signal unallocated buffer. For wide oriented
96 stream don't make it linebuffered. Don't use _IO_do_flush, use
97 _IO_new_do_write directly.
98 (_IO_new_file_seekoff): Change return value type to _IO_off64_t.
99 (_IO_file_seek): Likewise.
100 * libio/genops.c (_IO_least_marker): Make global.
101 (__underflow): Orient stream if not already done.
103 (_IO_default_seekpos): Change to type _IO_off64_t.
104 (_IO_default_seekoff): Likewise.
105 (_IO_default_seek): Likewise.
106 (_IO_no_init): New function. Similar to _IO_init but allows to orient
108 * libio/iolibio.h: Add prototype for _IO_vswprintf. Change _IO_pos_BAD
110 * libio/ftello.c: Use _IO_off_t. For now abort when use with wide
112 * libio/ftello64.c: Likewise.
113 * libio/ioftell.c: Likewise.
114 * libio/iofopncook.c: Likewise.
115 * libio/ioseekoff.c: Likewise.
116 * libio/ioseekpos.c: Likewise.
117 * libio/oldfileops.c: Likewise.
118 * libio/iofgetpos.c: Store state of conversion if necessary.
119 * libio/iofgetpos64.c: Likewise.
120 * libio/iofsetpos.c: Restore conversion state if necessary.
121 * libio/iofsetpos64.c: Likewise.
122 * libio/iofdopen.c: Initialize so that stream can be wide oriented.
123 * libio/iofopen.c: Likewise.
124 * libio/iofopen64.c: Likewise.
125 * libio/iopopen.c: Likewise.
126 * libio/iovdprintf.c: Likewise.
127 * libio/iovsprintf.c: Likewise.
128 * libio/iovsscanf.c: Likewise.
129 * libio/memstream.c: Likewise.
130 * libio/obprintf.c: Likewise.
131 * libio/iofputs.c: Orient stream if not already happened.
132 * libio/iofputs_u.c: Likewise.
133 * libio/iofwrite.c: Likewise.
134 * libio/iofwrite_u.c: Likewise.
135 * libio/ioputs.c: Likewise.
136 * libio/iosetbuffer.c: Handle not yet oriented stream.
137 * libio/iosetvbuf.c: Likewise.
138 * libio/oldstdfiles.c: Adjust FILEBUF_LITERAL call.
139 * libio/stdfiles.c: Likewise.
140 * libio/strops.c (_IO_str_overflow): Correctly free buffer after
142 (_IO_str_seekoff): Use _IO_off64_t.
143 * libio/vasprintf.c: Pre-orient stream.
144 * libio/vsnprintf.c: Likewise.
145 * libio/fputwc.c: New file.
146 * libio/fputwc_u.c: New file.
147 * libio/fwprintf.c: New file.
148 * libio/fwscanf.c: New file.
149 * libio/getwc.c: New file.
150 * libio/getwc_u.c: New file.
151 * libio/getwchar.c: New file.
152 * libio/getwchar_u.c: New file.
153 * libio/iofgetws.c: New file.
154 * libio/iofgetws_u.c: New file.
155 * libio/iofputws.c: New file.
156 * libio/iofputws_u.c: New file.
157 * libio/iofwide.c: New file.
158 * libio/iogetwline.c: New file.
159 * libio/ioungetwc.c: New file.
160 * libio/iovswscanf.c: New file.
161 * libio/iowpadn.c: New file.
162 * libio/oldiofgetpos.c: New file.
163 * libio/oldiofgetpos64.c: New file.
164 * libio/oldiofsetpos.c: New file.
165 * libio/oldiofsetpos64.c: New file.
166 * libio/putwc.c: New file.
167 * libio/putwc_u.c: New file.
168 * libio/putwchar.c: New file.
169 * libio/putwchar_u.c: New file.
170 * libio/swprintf.c: New file.
171 * libio/swscanf.c: New file.
172 * libio/tst_swprintf.c: New file.
173 * libio/tst_swscanf.c: New file.
174 * libio/tst_wprintf.c: New file.
175 * libio/tst_wscanf.c: New file.
176 * libio/tst_wscanf.input: New file.
177 * libio/vswprintf.c: New file.
178 * libio/vwprintf.c: New file.
179 * libio/vwscanf.c: New file.
180 * libio/wfiledoalloc.c: New file.
181 * libio/wfileops.c: New file.
182 * libio/wgenops.c: New file.
183 * libio/wprintf.c: New file.
184 * libio/wscanf.c: New file.
185 * libio/wstrops.c: New file.
186 * stdio-common/Makefile (routines): Add _itowa, itowa-digits,
187 vfwprintf, and vfwscanf.
188 * stdio-common/_itoa.c (base_table): Rename to _IO_base_table and
190 * stdio-common/_itowa.c: New file.
191 * stdio-common/_itowa.h: New file.
192 * stdio-common/itoa-digits.c: Minimal optimization.
193 * stdio-common/itowa-digits.c: New file.
194 * stdio-common/printf-parse.h: Allow use in wide character context.
195 * stdio-common/printf-prs.c: Define ISASCII and MBRLEN.
196 * stdio-common/printf.h (printf_info): Add wide bit.
197 * stdio-common/printf_fp.c: Determine from wide bit whether stream
198 is wide oriented or not.
199 * stdio-common/printf_size.c: Likewise.
200 * sysdeps/generic/printf_fphex.c: Likewise.
201 * stdlib/strfmon.c: Call __printf_fp with wide bit cleared.
202 * stdio-common/vfprintf.c: Rewrite to allow use in wide character
204 * stdio-common/vfscand.c: Likewise.
205 * stdio-common/vfwprintf.c: New file.
206 * stdio-common/vfwscanf.c: New file.
208 * time/Makefile (routines): Add wcsftime.
209 (tests): Add tst_wcsftime.
210 * time/Versions: Add wcsftime to GLIBC_2.2 for libc.
211 * time/strftime.c: Make usable as wcsftime.
212 * time/wcsftime.c: New file.
213 * time/tst_wcsftime.c: New file.
215 * wcsmbs/Makefile (routines): Add wmempcpy and wcschrnul.
216 * wcsmbs/Versions: Add wmempcpy and wcschrnul to GLIBC_2.2 for libc.
217 * wcsmbs/wcschrnul.c: New file.
218 * wcsmbs/wmemcpy.c: New file.
219 * wcsmbs/wmemcpy.c: Rename to __wmemcpy and make wmemcpy weak alias.
220 * wcsmbs/wmemmove.c: Likewise for wmemmove.
222 * manual/stdio.texi: Document is_char and wide element if printf_info.
224 * manual/time.texi: Document wcsftime.
226 * include/wchar.h: Add prototypes for __wmemcpy, __wmempcpy,
227 __wmemmove, __wcschrnul, and __vfwscanf.
229 * locale/langinfo.h: Add new LC_TIME entries for wchar_t data.
230 * locale/C-time.c: Adapt for above change.
231 * locale/categories.def: Likewise.
232 * locale/localeinfo.h: Likewise.
233 * localedata/Makefile: Don't run tests for now.
235 * manual/errno.texi: Fix typos.
236 * manual/memory.texi: Likewise.
237 * manual/ctype.texi: Likewise.
238 Patches by Brian Youmans <3diff@gnu.org>.
240 1999-06-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
242 * sysdeps/unix/sysv/linux/netax25/ax25.h (AX25_PIDINCL): Added.
244 1999-06-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
246 * sysdeps/unix/sysv/linux/sys/sysmacros.h [!__GNUC__]: Use correct
248 * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: New file.
249 * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: New file.
251 1999-06-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
253 * db2/db/db.c: Restore __nss_db_open alias.
254 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in
256 * db2/os/os_rw.c (__os_write): Maintain const correctness.
257 * db2/progs/db_load/db_load.c (main): Avoid ambiguous `else'.
259 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
261 * stdio-common/printf-parse.h (parse_one_spec): Don't set
262 is_longlong if not necessary.
264 1999-06-15 H.J. Lu <hjl@gnu.org>
266 * Make-dist (sysdep_dirs): Exclude SCCS.
267 * MakeTAGS (sysdep_dirs): Likewise.
269 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
271 * posix/regex.c (re_error_msgid): Remove extra commas.
273 1999-06-14 Geoff Keating <geoffk@ozemail.com.au>
275 * stdlib/tst-strtoll.c: New file.
276 * stdlib/Makefile (tests): Add tst-strtoll.c
277 * stdlib/strtol.c: It is not generally true that if
278 (unsigned)a*(unsigned)b overflows, then the result is
281 1999-06-14 Thorsten Kukuk <kukuk@suse.de>
283 * nscd/connections.c (handle_request): Only root is allowed to
284 send GETSTAT request in non secure mode.
285 * nscd/nscd.c: Print error message if other then root try to
288 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
290 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
292 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
294 * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
295 Closes PR libc/1164, reported by sascha@schumann.2ns.de.
297 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
299 * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
300 for character to search, to help the compiler.
301 * sysdeps/generic/strchrnul.c: Likewise.
302 * sysdeps/generic/memchr.c: Likewise.
303 * sysdeps/generic/memccpy.c: Likewise.
304 * sysdeps/generic/rawmemchr.c: Likewise. Fix comment.
306 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
308 * sysdeps/m68k/memchr.S: New file.
309 * sysdeps/m68k/rawmemchr.S: New file.
310 * sysdeps/m68k/strchr.S: New file.
311 * sysdeps/m68k/strchrnul.S: New file.
313 1999-06-13 Geoff Keating <geoffk@ozemail.com.au>
315 * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
316 add `memory' clobber; optimise for constant `val'.
317 (atomic_add): Likewise.
318 (test_and_set): Remove `volatile'; add `memory' clobber; be more
319 like the original `test_and_set'.
320 (compare_and_swap): Remove `volatile'; add `memory' clobber;
321 optimise for constant `oldval'.
322 (always_swap): Remove `volatile'; add `memory' clobber.
324 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
326 * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
327 functions for gcc <= 2.7.x.
329 1999-06-13 Roland McGrath <roland@baalperazim.frob.com>
331 * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
334 1999-06-13 Ulrich Drepper <drepper@cygnus.com>
336 * db2/Makefile (distribute): Remove files which do not exist
339 * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
340 definitions to calm down gcc.
342 * db2/db.h: Update from db 2.7.5.
343 * db2/db_185.h: Likewise.
344 * db2/db_int.h: Likewise.
345 * db2/btree/bt_compare.c: Likewise.
346 * db2/btree/bt_conv.c: Likewise.
347 * db2/btree/bt_curadj.c: Likewise.
348 * db2/btree/bt_cursor.c: Likewise.
349 * db2/btree/bt_delete.c: Likewise.
350 * db2/btree/bt_open.c: Likewise.
351 * db2/btree/bt_page.c: Likewise.
352 * db2/btree/bt_put.c: Likewise.
353 * db2/btree/bt_rec.c: Likewise.
354 * db2/btree/bt_recno.c: Likewise.
355 * db2/btree/bt_rsearch.c: Likewise.
356 * db2/btree/bt_search.c: Likewise.
357 * db2/btree/bt_split.c: Likewise.
358 * db2/btree/bt_stat.c: Likewise.
359 * db2/btree/btree_auto.c: Likewise.
360 * db2/common/db_appinit.c: Likewise.
361 * db2/common/db_apprec.c: Likewise.
362 * db2/common/db_err.c: Likewise.
363 * db2/common/db_region.c: Likewise.
364 * db2/common/db_salloc.c: Likewise.
365 * db2/db/db.c: Likewise.
366 * db2/db/db.src: Likewise.
367 * db2/db/db_am.c: Likewise.
368 * db2/db/db_auto.c: Likewise.
369 * db2/db/db_dispatch.c: Likewise.
370 * db2/db/db_dup.c: Likewise.
371 * db2/db/db_iface.c: Likewise.
372 * db2/db/db_join.c: Likewise.
373 * db2/db/db_overflow.c: Likewise.
374 * db2/db/db_pr.c: Likewise.
375 * db2/db/db_rec.c: Likewise.
376 * db2/db/db_ret.c: Likewise.
377 * db2/db185/db185.c: Likewise.
378 * db2/dbm/dbm.c: Likewise.
379 * db2/hash/hash.c: Likewise.
380 * db2/hash/hash_auto.c: Likewise.
381 * db2/hash/hash_dup.c: Likewise.
382 * db2/hash/hash_page.c: Likewise.
383 * db2/hash/hash_rec.c: Likewise.
384 * db2/hash/hash_stat.c: Likewise.
385 * db2/include/btree.h: Likewise.
386 * db2/include/btree_ext.h: Likewise.
387 * db2/include/clib_ext.h: Likewise.
388 * db2/include/common_ext.h: Likewise.
389 * db2/include/db_am.h: Likewise.
390 * db2/include/db_auto.h: Likewise.
391 * db2/include/db_cxx.h: Likewise.
392 * db2/include/db_ext.h: Likewise.
393 * db2/include/db_join.h: Likewise.
394 * db2/include/db_page.h: Likewise.
395 * db2/include/hash.h: Likewise.
396 * db2/include/hash_ext.h: Likewise.
397 * db2/include/lock.h: Likewise.
398 * db2/include/lock_ext.h: Likewise.
399 * db2/include/log.h: Likewise.
400 * db2/include/log_ext.h: Likewise.
401 * db2/include/mp.h: Likewise.
402 * db2/include/mp_ext.h: Likewise.
403 * db2/include/os.h: Likewise.
404 * db2/include/os_ext.h: Likewise.
405 * db2/include/os_func.h: Likewise.
406 * db2/include/txn.h: Likewise.
407 * db2/include/txn_auto.h: Likewise.
408 * db2/include/txn_ext.h: Likewise.
409 * db2/include/xa.h: Likewise.
410 * db2/include/xa_ext.h: Likewise.
411 * db2/lock/lock.c: Likewise.
412 * db2/lock/lock_conflict.c: Likewise.
413 * db2/lock/lock_deadlock.c: Likewise.
414 * db2/lock/lock_region.c: Likewise.
415 * db2/lock/lock_util.c: Likewise.
416 * db2/log/log.c: Likewise.
417 * db2/log/log_archive.c: Likewise.
418 * db2/log/log_auto.c: Likewise.
419 * db2/log/log_findckp.c: Likewise.
420 * db2/log/log_get.c: Likewise.
421 * db2/log/log_put.c: Likewise.
422 * db2/log/log_rec.c: Likewise.
423 * db2/log/log_register.c: Likewise.
424 * db2/mp/mp_bh.c: Likewise.
425 * db2/mp/mp_fget.c: Likewise.
426 * db2/mp/mp_fopen.c: Likewise.
427 * db2/mp/mp_fput.c: Likewise.
428 * db2/mp/mp_fset.c: Likewise.
429 * db2/mp/mp_open.c: Likewise.
430 * db2/mp/mp_pr.c: Likewise.
431 * db2/mp/mp_region.c: Likewise.
432 * db2/mp/mp_sync.c: Likewise.
433 * db2/mutex/mutex.c: Likewise.
434 * db2/mutex/uts4_cc.s: Likewise.
435 * db2/os/os_abs.c: Likewise.
436 * db2/os/os_alloc.c: Likewise.
437 * db2/os/os_config.c: Likewise.
438 * db2/os/os_dir.c: Likewise.
439 * db2/os/os_fid.c: Likewise.
440 * db2/os/os_fsync.c: Likewise.
441 * db2/os/os_map.c: Likewise.
442 * db2/os/os_oflags.c: Likewise.
443 * db2/os/os_open.c: Likewise.
444 * db2/os/os_rw.c: Likewise.
445 * db2/os/os_seek.c: Likewise.
446 * db2/os/os_sleep.c: Likewise.
447 * db2/os/os_spin.c: Likewise.
448 * db2/os/os_stat.c: Likewise.
449 * db2/os/os_tmpdir.c: Likewise.
450 * db2/os/os_unlink.c: Likewise.
451 * db2/progs/db_archive/db_archive.c: Likewise.
452 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
453 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
454 * db2/progs/db_dump/db_dump.c: Likewise.
455 * db2/progs/db_load/db_load.c: Likewise.
456 * db2/progs/db_printlog/README: Likewise.
457 * db2/progs/db_printlog/commit.awk: Likewise.
458 * db2/progs/db_printlog/count.awk: Likewise.
459 * db2/progs/db_printlog/db_printlog.c: Likewise.
460 * db2/progs/db_printlog/pgno.awk: Likewise.
461 * db2/progs/db_printlog/range.awk: Likewise.
462 * db2/progs/db_printlog/status.awk: Likewise.
463 * db2/progs/db_printlog/txn.awk: Likewise.
464 * db2/progs/db_recover/db_recover.c: Likewise.
465 * db2/progs/db_stat/db_stat.c: Likewise.
466 * db2/txn/txn.c: Likewise.
467 * db2/txn/txn.src: Likewise.
468 * db2/txn/txn_auto.c: Likewise.
469 * db2/txn/txn_rec.c: Likewise.
470 * db2/xa/xa.c: Likewise.
471 * db2/xa/xa_db.c: Likewise.
472 * db2/xa/xa_map.c: Likewise.
474 * db2/btree/bt_close.c: Removed.
475 * db2/db/db_thread.c: Likewise.
476 * db2/hash/hash_debug.c: Likewise.
477 * db2/include/db.h.src: Likewise.
478 * db2/include/db_int.h.src: Likewise.
479 * db2/include/os_jump.h: Likewise.
480 * db2/mutex/alpha.dec: Likewise.
481 * db2/mutex/alpha.gcc: Likewise.
482 * db2/mutex/parisc.hp: Likewise.
483 * db2/mutex/uts4.cc.s: Likewise.
485 * db2/Makefile: Add new routines, remove old for 2.7.5.
486 * db2/Versions: Add internal function names for the helper programs.
487 * db2/makedb.c: Update for new cursor callback.
488 * Versions.def: Define versions for libdb.
490 1999-06-13 Thorsten Kukuk <kukuk@suse.de>
492 * nscd/connections.c (nscd_run): Get user ID for all non-db services.
493 * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
494 * nscd/nscd_nischeck.c: New file.
495 * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
497 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
499 * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
500 MSG_* flags from Linux 2.2.9.
502 1999-06-12 Mark Kettenis <kettenis@gnu.org>
504 * Makeconfig (static-start-installed-name): Set to
505 $(start-installed-name) if not defined.
506 (+link-static): Use $(static-start-installed-name) instead of
507 $(start-installed-name).
508 * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
511 1999-06-12 Mark Kettenis <kettenis@gnu.org>
513 * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
514 inserting a send right into the child instead of unconditionally
515 copying the send right.
517 1999-06-12 Ulrich Drepper <drepper@cygnus.com>
519 * locale/lc-time.c: Add free_mem function to free if necessary
520 statically allocated memory.
522 1999-06-10 Jakub Jelinek <jj@ultra.linux.cz>
524 * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
525 bias from the raw exponent.
527 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
529 * inet/arpa/tftp.h: Move attribute declaration in right position.
531 1999-06-11 Thorsten Kukuk <kukuk@suse.de>
533 * nscd/nscd.c: Add -S options for separate caching of data for
534 every user. So one user couldn't see the data another user
535 has gotten with his credentials.
536 * nscd/nscd.h: Add new prototypes.
537 * nscd/cache.c: Compare owner of cache entry if in secure mode.
538 * nscd/connections.c: Check on shutdown if caller really was root.
539 In secure mode get uid of caller.
540 * nscd/grpcache.c: Add support for new secure group mode.
541 * nscd/hstcache.c: Add support for new secure hosts mode.
542 * nscd/pwdcache.c: Add support for new secure passwd mode.
544 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
546 * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
547 of user-provided buffer.
549 1999-06-11 Mark Kettenis <kettenis@gnu.org>
551 * hurd/hurdsock.c (max_domain): Initialize to `-1'.
552 (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
554 1999-06-10 Ulrich Drepper <drepper@cygnus.com>
556 * stdio-common/printf-parse.h (parse_one_spec): Add support for a
559 * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
560 returning after last entry.
561 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
563 1999-06-09 Ulrich Drepper <drepper@cygnus.com>
565 * misc/sysexits.h: Remove advertising clause of copyright.
566 * resolv/getnetnamadr.c: Likewise.
567 * sysdeps/vax/bcopy.s: Likewise.
568 * sysdeps/vax/bzero.s: Likewise.
569 * sysdeps/vax/ffs.s: Likewise.
570 * sysdeps/vax/memchr.s: Likewise.
571 * sysdeps/vax/memcmp.s: Likewise.
572 * sysdeps/vax/memmove.s: Likewise.
573 * sysdeps/vax/memset.s: Likewise.
574 * sysdeps/vax/strcat.s: Likewise.
575 * sysdeps/vax/strchr.s: Likewise.
576 * sysdeps/vax/strcmp.s: Likewise.
577 * sysdeps/vax/strcpy.s: Likewise.
578 * sysdeps/vax/strcspn.s: Likewise.
579 * sysdeps/vax/strlen.s: Likewise.
580 * sysdeps/vax/strncat.s: Likewise.
581 * sysdeps/vax/strncmp.s: Likewise.
582 * sysdeps/vax/strncpy.s: Likewise.
583 * sysdeps/vax/strpbrk.s: Likewise.
584 * sysdeps/vax/strrchr.s: Likewise.
585 * sysdeps/vax/strsep.s: Likewise.
586 * sysdeps/vax/strspn.s: Likewise.
587 * sysdeps/vax/strstr.s: Likewise.
589 * libio/iofopncook.c: Adjust for renaming of structure elements.
590 * libio/libio.h: Define cookie functions with all the names.
592 * pwd/fgetpwent_r.c: Set errno in the correct way.
593 * shadow/fgetspent_r.c: Likewise.
594 * pwd/fgetpwent.c: Handle long lines correctly. Little
595 optimizations. Free static buffer when debugging memory handling.
596 * shadow/fgetspent.c: Likewise.
598 * grp/fgetgrent.c: Little optimization in loop.
600 1999-06-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
602 * grp/tst_fgetgrent.c (write_group): Fix generation of long line
605 1999-06-09 Jakub Jelinek <jj@ultra.linux.cz>
607 * stdlib/longlong.h: gas changed sethi handling when without
609 * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
610 port specific cache id checks.
611 * sysdeps/generic/dl-cache.h: New file.
612 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
614 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
616 * gmon/gmon.c: Remove advertising clause of copyright.
617 * gmon/mcount.c: Likewise.
618 * gmon/sys/gmon.h: Likewise.
619 * inet/arpa/ftp.h: Likewise.
620 * inet/arpa/telnet.h: Likewise.
621 * inet/arpa/tftp.h: Likewise.
622 * inet/inet_lnaof.c: Likewise.
623 * inet/inet_mkadr.c: Likewise.
624 * inet/inet_net.c: Likewise.
625 * inet/inet_netof.c: Likewise.
626 * inet/protocols/routed.h: Likewise.
627 * inet/protocols/rwhod.h: Likewise.
628 * inet/protocols/talkd.h: Likewise.
629 * inet/protocols/timed.h: Likewise.
630 * inet/rcmd.c: Likewise.
631 * inet/rexec.c: Likewise.
632 * inet/ruserpass.c: Likewise.
633 * io/fts.c: Likewise.
634 * io/fts.h: Likewise.
635 * login/login_tty.c: Likewise.
636 * misc/fstab.h: Likewise.
637 * misc/getttyent.c: Likewise.
638 * misc/getusershell.c: Likewise.
639 * misc/sys/queue.h: Likewise.
640 * misc/sys/syslog.h: Likewise.
641 * misc/syslog.c: Likewise.
642 * misc/ttyent.h: Likewise.
643 * misc/ttyslot.c: Likewise.
644 * resolv/arpa/nameser.h: Likewise.
645 * resolv/gethnamaddr.c: Likewise.
646 * resolv/herror.c: Likewise.
647 * resolv/inet_addr.c: Likewise.
648 * resolv/mapv4v6addr.h: Likewise.
649 * resolv/mapv4v6hostent.h: Likewise
650 * resolv/nss_dns/dns-host.c: Likewise.
651 * resolv/nss_dns/dns-network.c: Likewise.
652 * resolv/res_comp.c: Likewise.
653 * resolv/res_data.c: Likewise.
654 * resolv/res_debug.c: Likewise.
655 * resolv/res_init.c: Likewise.
656 * resolv/res_mkquery.c: Likewise.
657 * resolv/res_query.c: Likewise.
658 * resolv/res_send.c: Likewise.
659 * resolv/resolv.h: Likewise.
660 * sysdeps/generic/div.c: Likewise.
661 * sysdeps/generic/netinet/ip.h: Likewise.
662 * sysdeps/generic/netinet/tcp.h: Likewise.
663 * sysdeps/generic/paths.h: Likewise.
664 * sysdeps/generic/prof-freq.c: Likewise.
665 * sysdeps/generic/sys/ttydefaults.h: Likewise.
666 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
667 * sysdeps/gnu/netinet/tcp.h: Likewise.
668 * sysdeps/ieee754/support.c: Likewise.
669 * sysdeps/mach/hurd/sys/param.h: Likewise.
670 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
671 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
672 * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
673 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
674 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
675 * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
676 * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
677 * sysdeps/unix/sysv/linux/paths.h: Likewise.
678 * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
679 * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
680 * sysdeps/vax/DEFS.h: Likewise.
681 * termios/sys/ttychars.h: Likewise.
682 * misc/daemon.c: Likewise. Call fork.
684 * grp/fgetgrent.c (buffer): Make file local variable.
685 (free_mem): New function. Call for malloc debugging.
687 * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
689 1999-06-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
691 * grp/Makefile: Add rules for tst_fgetgrent.
693 * grp/tst_fgetgrent.c: Rewritten to read only one file.
695 * grp/tst_fgetgrent.sh: New file.
697 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
699 * grp/Makefile (tests): Add tst_fgetgrent.
700 * grp/tst_fgetgrent.c: New file.
701 Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
703 1999-06-07 Roland McGrath <roland@baalperazim.frob.com>
705 * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
706 be POSIX compliant. Prior definition was broken for Hurd.
707 Reported by Mark Kettenis <kettenis@gnu.org>.
709 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
711 * ctype/ctype.h: Protect __tobody code by __extension__.
713 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
715 * grp/fgetgrent.c (fgetgrent): Remember position of stream before
716 reading and reset in case the buffer was too small.
718 * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
721 1999-06-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
723 * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
724 another SIOGIFNAME typo.
726 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
728 * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
730 * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
733 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
735 * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
736 the precision if the mantissa is zero.
738 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
740 * manual/lang.texi (Floating Point Parameters): GCC already
741 supports long double for a long time.
743 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
745 * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
746 yn_test): Increase some epsilons.
748 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
750 * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
753 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
755 * sysdeps/unix/sysv/linux/kernel-features.h: Define
756 __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
757 * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
758 SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
760 * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
761 * sysdeps/libm-ieee754/w_j0f.c: Likewise.
762 * sysdeps/libm-ieee754/w_j0l.c: Likewise.
763 * sysdeps/libm-ieee754/w_j1.c: Likewise.
764 * sysdeps/libm-ieee754/w_j1f.c: Likewise.
765 * sysdeps/libm-ieee754/w_j1l.c: Likewise.
766 * sysdeps/libm-ieee754/w_jn.c: Likewise.
767 * sysdeps/libm-ieee754/w_jnf.c: Likewise.
768 * sysdeps/libm-ieee754/w_jnl.c: Likewise.
770 * stdio-common/vfprintf.c: Correct typos.
772 * math/libm-test.c (jn_test): Adjust delta.
776 * elf/do-lookup.h: It should never happen that if we expect a versioned
777 symbol from a file the file has no version table. This should have
778 been checked in dl-version.c.
779 * elf/dl-lookup.c: Include assert.h.
781 * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
784 * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
786 1999-06-06 Andi Kleen <ak@muc.de>
788 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
791 1999-06-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
793 * math/libm-test.c (yn_test): Change one delta.
798 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
800 * malloc/malloc.c: Introduce local variable __libc_getpagesize to
801 avoid multiple calls to getpagesize() which might be a syscall.
803 1999-06-06 Philip Blundell <philb@gnu.org>
805 * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
807 1999-06-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
809 * manual/install.texi (Running make install): Correct typo in
810 dynamic linker invocation.
812 1999-06-05 Philip Blundell <philb@gnu.org>
814 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
815 problems with GOT addressing.
817 1999-06-05 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
819 * malloc/malloc.c (check_action): Change into bitmap so that both
820 diagnostic and abort can be requested by setting it to 3.
821 (mALLOC_SET_STATe): Disable malloc checking if necessary.
823 1999-06-03 Ulrich Drepper <drepper@cygnus.com>
825 * configure.in: Few changes for HPUX.
827 * scripts/config.guess: Update from latest version.
828 * scripts/config.sub: Likewise.
830 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
832 * Makerules: Set LC_ALL explicitly to archieve correct sorting of
833 map files. Closes PR libc/1147.
835 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
837 * math/libm-test.c (main): Add new test functions.
838 (jn_test): New tests.
839 (j1_test): Add some more tests.
840 (j0_test): Add some more tests.
841 (y0_test): Add some more tests.
842 (y1_test): Add some more tests.
844 1999-06-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
846 * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
847 Patch by mhagger@dera.gov.uk [PR libc/1145].
849 * math/libm-test.c (y1_test): New tests.
853 (main): Added new tests.
855 1999-06-02 Jakub Jelinek <jj@ultra.linux.cz>
857 * stdlib/longlong.h: Define UDIV_TIME on sparc64.
858 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
859 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
860 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
861 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
862 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
864 1999-06-02 David S. Miller <davem@redhat.com>
866 * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
869 1999-06-02 Ulrich Drepper <drepper@cygnus.com>
871 * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
872 and elide compatibility code if possible.
874 1999-06-01 Ulrich Drepper <drepper@cygnus.com>
876 * manual/llio.texi: Remove menu entry for removed section.
878 1999-05-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
880 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
883 1999-06-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
885 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
888 1999-05-30 Ulrich Drepper <drepper@cygnus.com>
890 * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
892 1999-05-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
894 * manual/stdio.texi: Fix some typos.
896 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
898 * malloc/malloc.h: Properly handle future GCC versions.
900 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
902 * sysdeps/unix/sysv/linux/configure.in: Change version checks to
903 use AC_EGREP_CPP. Change sed pattern to not use alternation. Fix
904 text of error message.
906 * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
908 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
910 * manual/filesys.texi: Extend (f)truncate documentation.
911 * manual/llio.texi: Remove duplicate (f)truncate definition.
913 1999-05-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
915 * manual/stdio.texi (Formatted Output Functions): Mention
916 semantics of snprintf in glibc 2.0.
917 Reported by Ben Pfaff <pfaffben@msu.edu>.
919 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
921 * include/features.h (__GLIBC_MINOR__): Bump to 2.
923 1999-05-27 Ulrich Drepper <drepper@cygnus.com>
925 * math/libm-test.c: Adjust a few more deltas for the poor ARM
928 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
930 * configure.in: Fix typo.
932 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
934 * manual/socket.texi (Host Names): Remove statement that h_errno
935 needs to be declared since this isn't true anymore.
938 1999-05-26 Ulrich Drepper <drepper@cygnus.com>
940 * config.h.in: Add __LINUX_KERNEL_VERSION.
941 * configure.in: Recognize --enable-kernel.
942 * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
943 headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
945 * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
946 given perform runtime test.
948 * sysdeps/unix/sysv/linux/kernel-features.h: New file.
949 * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
950 minimal supported kernel is known to have the feature.
951 * sysdeps/unix/sysv/linux/poll.c: Likewise.
952 * sysdeps/unix/sysv/linux/pread.c: Likewise.
953 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
954 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
955 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
956 * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
957 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
958 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
959 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
960 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
961 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
962 * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
963 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
964 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
965 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
967 * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
969 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
971 * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
973 1999-05-26 Jakub Jelinek <jj@ultra.linux.cz>
975 * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
976 Optimized sparc64 routines.
978 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
980 * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
981 they are the same as ints.
982 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
984 * version.h (VERSION): Bump to 2.1.90.
985 (RELEASE): Mark as development.
987 * stdio-common/vfprintf.c (vfprintf): Don't implement special
988 handling for long long if it is the same as long.
989 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
991 * stdlib/strtol.c: Moved to ...
992 * sysdeps/generic/strtol.c: ...here.
993 * stdlib/strtoul.c: Moved to ...
994 * sysdeps/generic/strtoul.c: ...here.
995 * stdlib/strtoll.c: Moved to ...
996 * sysdeps/generic/strtoll.c: ...here.
997 * stdlib/strtoull.c: Moved to ...
998 * sysdeps/generic/strtoull.c: ...here.
999 * stdlib/strtol_l.c: Moved to ...
1000 * sysdeps/generic/strtol_l.c: ...here.
1001 * stdlib/strtoul_l.c: Moved to ...
1002 * sysdeps/generic/strtoul_l.c: ...here.
1003 * stdlib/strtoll_l.c: Moved to ...
1004 * sysdeps/generic/strtoll_l.c: ...here.
1005 * stdlib/strtoull_l.c: Moved to ...
1006 * sysdeps/generic/strtoull_l.c: ...here.
1008 * sysdeps/wordsize-64/strtol.c: New file.
1009 * sysdeps/wordsize-64/strtoul.c: New file.
1010 * sysdeps/wordsize-64/strtoll.c: New file.
1011 * sysdeps/wordsize-64/strtoull.c: New file.
1012 * sysdeps/wordsize-64/strtol_l.c: New file.
1013 * sysdeps/wordsize-64/strtoul_l.c: New file.
1014 * sysdeps/wordsize-64/strtoll_l.c: New file.
1015 * sysdeps/wordsize-64/strtoull_l.c: New file.
1017 * wcsmbs/wcstol.c: Moved to ...
1018 * sysdeps/generic/wcstol.c: ...here.
1019 * wcsmbs/wcstoul.c: Moved to ...
1020 * sysdeps/generic/wcstoul.c: ...here.
1021 * wcsmbs/wcstoll.c: Moved to ...
1022 * sysdeps/generic/wcstoll.c: ...here.
1023 * wcsmbs/wcstoull.c: Moved to ...
1024 * sysdeps/generic/wcstoull.c: ...here.
1025 * wcsmbs/wcstol_l.c: Moved to ...
1026 * sysdeps/generic/wcstol_l.c: ...here.
1027 * wcsmbs/wcstoul_l.c: Moved to ...
1028 * sysdeps/generic/wcstoul_l.c: ...here.
1029 * wcsmbs/wcstoll_l.c: Moved to ...
1030 * sysdeps/generic/wcstoll_l.c: ...here.
1031 * wcsmbs/wcstoull_l.c: Moved to ...
1032 * sysdeps/generic/wcstoull_l.c: ...here.
1034 * sysdeps/wordsize-64/wcstol.c: New file.
1035 * sysdeps/wordsize-64/wcstoul.c: New file.
1036 * sysdeps/wordsize-64/wcstoll.c: New file.
1037 * sysdeps/wordsize-64/wcstoull.c: New file.
1038 * sysdeps/wordsize-64/wcstol_l.c: New file.
1039 * sysdeps/wordsize-64/wcstoul_l.c: New file.
1040 * sysdeps/wordsize-64/wcstoll_l.c: New file.
1041 * sysdeps/wordsize-64/wcstoull_l.c: New file.
1043 1999-05-24 Jakub Jelinek <jj@ultra.linux.cz>
1045 * sysdeps/sparc/bits/wordsize.h: New file.
1046 * sysdeps/sparc/fpu/bits/fenv.h: New file.
1047 * sysdeps/sparc/fpu/fpu_control.h: New file.
1048 * sysdeps/sparc/gmp-mparam.h: New file.
1050 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
1051 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
1052 * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
1053 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
1054 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
1055 * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
1057 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
1058 * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
1059 * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
1060 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
1062 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
1063 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
1064 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
1065 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
1066 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
1068 1999-05-24 Ulrich Drepper <drepper@cygnus.com>
1070 * login/openpty.c (openpty): Make sure pty does not because
1073 * ctype/ctype.h: Don't optimize toupper/tolower for C++.
1075 1999-05-23 Roland McGrath <roland@baalperazim.frob.com>
1077 * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
1078 Do proper error return.
1080 1999-05-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1082 * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
1083 of __P in the rest of glibc; define __MALLOC_PMT and use it.
1084 Reported by Stephan Kulow <coolo@kde.org>.
1086 1999-05-23 Ulrich Drepper <drepper@cygnus.com>
1088 * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
1090 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
1092 1999-05-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1094 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
1095 names to protect from user's macro namespace.
1096 * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
1097 * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
1098 * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
1099 * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
1100 * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
1102 * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
1103 sysdeps/arm/fpu/fesetenv.c: Likewise.
1104 * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
1105 sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
1106 sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
1107 * sysdeps/mips/fesetenv.c: Likewise.
1109 1999-05-22 Roland McGrath <roland@baalperazim.frob.com>
1111 * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
1113 1999-05-20 Ulrich Drepper <drepper@cygnus.com>
1115 * configure.in: Recognize and allow gcc 2.95.
1117 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
1119 * sysdeps/generic/bits/elfclass.h: Version common to
1120 wordsize-32 and wordsize-64.
1121 * sysdeps/generic/bits/environments.h: Ditto.
1122 * sysdeps/generic/stdint.h: Ditto.
1123 * sysdeps/generic/inttypes.h: Ditto.
1125 * sysdeps/generic/bits/wordsize.h: New file.
1126 * stdlib/Makefile: Add bits/wordsize.h to headers.
1128 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
1130 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
1131 headers to be used for 32bit and 64bit ABI compilations.
1132 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
1133 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
1134 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
1135 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
1136 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
1138 * sysdeps/wordsize-64/bits/elfclass.h: Remove.
1139 * sysdeps/wordsize-64/bits/environments.h: Remove.
1140 * sysdeps/wordsize-64/stdint.h: Remove.
1141 * sysdeps/wordsize-64/inttypes.h: Remove.
1142 * sysdeps/wordsize-64/bits/wordsize.h: New file.
1144 * sysdeps/wordsize-32/bits/elfclass.h: Remove.
1145 * sysdeps/wordsize-32/bits/environments.h: Remove.
1146 * sysdeps/wordsize-32/stdint.h: Remove.
1147 * sysdeps/wordsize-32/inttypes.h: Remove.
1148 * sysdeps/wordsize-32/bits/wordsize.h: New file.
1150 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
1152 * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
1153 __align_cpy_16): New functions.
1154 (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
1156 * sysdeps/sparc/sparc32/Versions: New file.
1157 * sysdeps/sparc/sparc64/Versions: New file.
1158 * sysdeps/sparc/Versions: Remove.
1160 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
1162 * sysdeps/unix/sysv/linux/configure.in:
1163 On sparc64-*-linux*, set slibdir to /lib64 if prefix
1164 is /usr, plus set libdir to ${exec_prefix}/lib64.
1165 * sysdeps/unix/sysv/linux/configure: Regenerated.
1166 * config.make.in: Propagate libdir settings from configure
1168 * shlib-versions: sparc64-*-linux* dynamic linker is
1169 /lib64/ld-linux.so.2.
1171 1999-05-18 Thorsten Kukuk <kukuk@suse.de>
1173 * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
1176 1999-05-18 Jakub Jelinek <jj@ultra.linux.cz>
1178 * sysdeps/sparc/sparc64/rawmemchr.S: New file.
1179 * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
1181 * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
1182 contains garbage in bits 8-63.
1183 * sysdeps/sparc/sparc64/memset.S: Ditto.
1184 * sysdeps/sparc/sparc64/strchr.S: Ditto.
1186 1999-05-18 Ulrich Drepper <drepper@cygnus.com>
1188 * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
1190 1999-05-17 David S. Miller <davem@redhat.com>
1192 * sysdeps/sparc/sparc32/atomicity.h: New file.
1193 * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
1194 * sysdeps/sparc/sparc64/atomicity.h: New file.
1195 * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
1198 1999-05-18 Richard Henderson <rth@twiddle.net>
1200 * sysdeps/alpha/memchr.S: Zap high byte of length. Reschedule.
1202 1999-05-04 Zack Weinberg <zack@rabi.phys.columbia.edu>
1204 * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
1205 posix/sys/types.h: Handle the case of __GNUC__=3,
1206 __GNUC_MINOR__=(anything).
1208 1999-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1210 * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
1213 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
1215 * elf/Makefile (distribute): Remove dl-origin.h.
1216 Add dl-dst.h and gen-trusted-dirs.awk.
1218 1999-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1220 * sysdeps/i386/i486/Versions: New file with inline functions from
1221 sysdeps/i386/i486/bits/string.h for now.
1223 * sysdeps/i386/Versions: Add inline functions from
1224 sysdeps/i386/bits/string.h.
1226 * string/Versions: Add inline functions from <bits/string2.h>.
1228 * string/Makefile (routines): Add string-inlines.
1229 * string/string-inlines.c: New file, used for implementation of
1230 extern inline functions.
1232 * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
1233 non inlined versions of functions.
1234 * string/bits/string2.h: Likewise.
1235 * sysdeps/i386/bits/string.h: Likewise.
1237 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
1239 * inet/arpa/tftp.h: Add second packed attribute.
1241 1999-05-16 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
1243 * malloc/malloc.c: Cleanup to bring in line with released
1244 stand-alone version `ptmalloc'. Update some comments.
1245 (internal_function): Move fallback definition so that the source
1246 compiles outside of libc, and use it in more places.
1247 (malloc_atfork): Fix when malloc_check is in use.
1249 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1251 * stdlib/tst-strtod.c: Fix typo.
1253 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1255 * elf/dl-close.c (_dl_close): Add cast to avoid warning about
1256 const incorrectness.
1258 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
1260 * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
1262 1999-05-16 Thorsten Kukuk <kukuk@suse.de>
1264 * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
1265 * sunrpc/key_call.c: Fix memory leak, close file handle.
1266 * nis/nis_creategroup.c: Use malloc instead of calloc,
1267 set ctime and mtime.
1268 * nis/nis_subr.c: Check for realloc result.
1269 * nis/nis_file.c: Fix memory leak.
1270 * nis/nis_table.c: Pretty print.
1271 * nis/nis_getservlist.c: Likewise.
1272 * nis/nis_ismember.c: Likewise.
1273 * nis/nis_lookup.c: Likewise.
1274 * nis/nis_ping.c: Likewise.
1275 * nis/nis_removemember.c: Likewise.
1276 * nis/nis_util.c: Likewise, check calloc result.
1278 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
1280 * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
1281 * sysdeps/generic/sys/socketvar.h: ... here.
1282 * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
1283 * sysdeps/generic/netinet/in_systm.h: ... here.
1284 * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
1286 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
1287 * inet/Makefile (headers): Add netinet/in_systm.h here.
1288 * socket/Makefile (headers): Add sys/socketvar.h here.
1290 1999-05-15 Ulrich Drepper <drepper@cygnus.com>
1292 * stdlib/strtol.c: Optimize inner loop of long long versions.
1294 * sysdeps/gnu/utmpx.h: Add needed type definitions according to
1295 Unix98. Add forward declaration of struct utmp.
1297 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
1299 * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
1302 * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
1303 * nis/nis_addmember.c (nis_addmember): Fix memory leak. Test
1304 memory allocation results.
1306 1999-05-14 Mark Kettenis <kettenis@gnu.org>
1308 * sysdeps/generic/getutmp.c: Include <string.h>
1309 (getutmp): Rewrite to only copy those members that are really
1310 present in `struct utmp'.
1311 * sysdeps/generic/getutmpx.c: Likewise.
1313 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
1315 * nss/getXXbyYY.c: Add free_mem function which disposes all
1316 statically allocated memory when debugging.
1317 * nss/getXXent.c: Likewise.
1318 * nss/nsswitch.c: Likewise.
1320 1999-05-13 Ulrich Drepper <drepper@cygnus.com>
1322 * sysdeps/gnu/getutmpx.c: New file.
1323 * sysdeps/gnu/getutmp.c: New file.
1325 1999-05-13 H.J. Lu <hjl@gnu.org>
1327 * login/Versions (getutmpx): Added to GLIBC_2.1.1.
1328 (getutmp): Likewise.
1330 * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
1333 * sysdeps/gnu/utmpx.h (getutmp): Added.
1334 (getutmpx): Likewise.
1336 * sysdeps/generic/getutmp.c: New file.
1338 * sysdeps/generic/getutmpx.c: New file.
1340 1999-05-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1342 * glibcbug.in (BUGGLIBC): Change address to
1343 libc-alpha@sourceware.cygnus.com.
1345 1999-05-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1347 * resolv/arpa/nameser.h: Add C++ protectors.
1349 1999-05-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1351 * iconvdata/gconv-modules: Fix alias for CP1255. Reported by
1352 Elad Tsur <eladts@post.tau.ac.il>.
1354 1999-05-11 Ulrich Drepper <drepper@cygnus.com>
1356 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
1357 * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
1358 lazily if LD_BIND_NOW is not set.
1359 * elf/dl-support.c (_dl_lazy): New variable.
1360 (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
1361 * elf/rtld.c (_dl_lazy): new global variable.
1362 ( dl_main): Remove lazy, replace it by _dl_lazy.
1364 1999-05-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1366 * locale/setlocale.c (new_composite_name): Check also whether the
1367 first category name differs.
1369 1999-05-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1371 * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
1374 1999-05-11 Philip Blundell <pb@nexus.co.uk>
1376 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
1377 structure; storage suitable for any socket address.
1378 * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
1380 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
1381 sockaddr_storage): Likewise.
1383 * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
1386 1999-05-10 Ulrich Drepper <drepper@cygnus.com>
1388 * hesiod/Versions: Change _nss_hesiod_getpwuid and
1389 _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
1390 _nss_hesiod_getgrgid_r respectively. Fixes pr libc/1115.
1392 1999-05-09 Mark Kettenis <kettenis@gnu.org>
1394 * hurd/get-host.c (_hurd_get_host_config): Return an empty value
1395 if the file is empty.
1397 1999-05-07 Ulrich Drepper <drepper@cygnus.com>
1399 * elf/do-lookup.h: Fix typo in comment.
1401 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
1402 f_bsize to help some broken programs.
1404 * stdio-common/tst-printf.c: Add test case for last _itoa problem.
1406 * stdio-common/vfprintf.c: Fix typo.
1408 1999-05-06 Ulrich Drepper <drepper@cygnus.com>
1410 * elf/link.h (struct link_map): New field l_phdr_allocated.
1411 * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
1412 the program header being part of any loaded segment. If it is not
1413 allocate memory and set l_phdr_allocated flag.
1414 * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
1416 * nss/digits_dots.c: Correct return value interpretation of
1417 inet_ntoa. Fix PR libc/1109.
1419 1999-05-06 Zack Weinberg <zack@rabi.columbia.edu>
1421 * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
1423 1999-05-06 Thorsten Kukuk <kukuk@suse.de>
1425 * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
1426 * stdlib/fpioconst.c: Move #endif before end of struct.
1428 1999-05-05 Ulrich Drepper <drepper@cygnus.com>
1430 * Versions.def (ld.so): Add GLIBC_2.1.1.
1431 * elf/Makefile (routines): Add dl-origin.
1432 (tests): Add origtest. Add dependencies for the program.
1433 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
1434 _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
1435 * elf/dl-deps.c (expand_dst): New macro. Expand DSTs in filename.
1436 (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
1437 DT_AUXILIARY, and DT_FILTER filenames.
1438 * elf/dl-load.c (expand_dynamic_string_token): Explode into
1439 two functions and three macros.
1440 (_dl_dst_count, _dl_dst_substitute): New functions.
1441 * elf/dl-dst.h: New file.
1442 * elf/dl-open.c (_dl_open): Take extra parameter with address of
1443 caller. Pass address in args structure.
1444 (dl_open_worker): Recognize and expand DSTs in filename.
1445 * elf/ldsodefs.h (_dl_open): Adapt prototype.
1446 * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
1447 (__dlopen_check): Pass caller address to dlopen_doit in args.
1448 * elf/dlopendoit.c: Likewise.
1449 * iconv/gconv_dl.c: Adapt call of _dl_open.
1450 * nss/nsswitch.c: Likewise.
1451 * elf/origtest.c: New file.
1452 * sysdeps/generic/dl-origin.h: Moved to...
1453 * sysdeps/generic/dl-origin.c: ...here.
1454 * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
1455 * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
1457 * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
1458 with specific bases and only few bits set in second word.
1460 * timezone/Makefile (install-others): Create target directory
1461 before creating tzfiles.
1463 1999-05-05 Thorsten Kukuk <kukuk@suse.de>
1465 * nis/nis_file.c (readColdStartFile): Allocate memory only after
1466 the file is opened successfully.
1468 * nis/nis_table.c: Fix some memory leaks.
1470 1999-05-04 Ulrich Drepper <drepper@cygnus.com>
1472 * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
1475 * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
1476 around DST. Correctly ignore ORIGIN IN SUID binaries.
1478 1999-05-03 Ulrich Drepper <drepper@cygnus.com>
1480 * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
1481 * sysdeps/generic/strtok.c: Likewise.
1483 * string/tester.c: Add test of rawmemchr.
1485 * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
1486 specification. It's not necessary.
1488 * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
1489 * elf/gen-trusted-dirs.awk: New file.
1490 * elf/dl-load.c (systems_dirs): Moved into file scope. Initialize
1491 from SYSTEM_DIRS macro.
1492 (system_dirs_len): New variable. Contains lengths of system_dirs
1494 (fillin_rpath): Rewrite for systems_dirs being a simple string.
1495 Improve string comparisons. Change parameter trusted to be a flag.
1497 (_dt_init_paths): Improve using new format for system_dirs.
1499 * elf/dl-load.c (expand_dynamic_string_token): Don't expand
1500 $ORIGIN for SUID binaries.
1502 * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
1504 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1506 * sunrpc/Makefile: Generate dependencies for all flavors of
1508 (rpcgen-cmd): Pass -Y flag here and remove it from the macro
1511 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1513 * elf/dlopenold.c: Move #if down after includes to get
1516 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1518 * sysdeps/generic/bzero.c: Undefine __bzero.
1520 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
1522 * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
1523 * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
1524 * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
1525 Patch by Craig Small <csmall@scooter.eye-net.com.au>.
1527 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
1528 parameter to struct gaih_servtuple *. Adapt appropriately.
1529 (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
1530 This fixes a memory leak.
1531 Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
1533 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
1534 and fpregset_t definition. They are defined in ucontext.h.
1536 1999-04-14 Scott Bambrough <scottb@netwinder.org>
1538 * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
1539 and struct ether_header must be packed on the ARM. The default
1540 alignment constraints add padding to the end of the structures.
1542 1999-04-14 Scott Bambrough <scottb@netwinder.org>
1544 * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM. The
1545 default alignment constraints add padding to the end of the
1546 structure and between members.
1548 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
1550 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
1551 _dl_cache_libcmp instead of strcmp.
1553 * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
1555 Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
1557 1998-03-30 Joel Klecker <espy@debian.org>
1559 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
1560 (sysdep-others,install-bin): Add lddlibc4.
1562 1999-05-02 H.J. Lu <hjl@gnu.org>
1564 * timezone/zic.c (dolink): Remove the symlink destination first.
1566 * catgets/open_catalog.c (__open_catalog): Set catalog->status
1567 to "nonexisting" if failed to open the file.
1569 1999-05-01 Ulrich Drepper <drepper@cygnus.com>
1571 * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
1574 * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
1575 Prevent warnings from multiplication with 0x01010101 by another cast.
1577 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1579 * string/bits/string2.h (memset): Revert to previous version if
1580 unaligned writes are not available.
1582 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
1584 * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
1585 better code in presence of the asm.
1587 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1589 * stdlib/fmtmsg.c (keywords): Increase array size for faster
1592 * locale/localeinfo.h (_nl_category_names): Increase array element
1593 size for faster indexing.
1594 * locale/setlocale.c (_nl_category_names): Adjusted.
1596 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1598 * iconv/gconv_conf.c (add_alias): Remove wrong cast.
1600 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1602 * sysdeps/m68k/stackinfo.h: New file.
1604 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
1606 * string/tester.c (test_strchrnul): New function.
1607 (test_memset): Test one more special case.
1609 * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
1612 * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
1615 * string/bits/string2.h: Fix bugs I introduced in last change.
1617 * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
1619 Extend memset optimization.
1620 Correct i686 version of memchr.
1622 1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
1624 * sysdeps/i386/bzero.c: Add #undef __bzero.
1626 * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
1627 EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
1628 exec server simulated a SIGTRAP before we even started up, so gdb is
1631 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
1633 * nss/digits_dots.c: Always initialize not_ok.
1635 1999-04-30 09:02 -0400 Zack Weinberg <zack@rabi.columbia.edu>
1637 * string/bits/string2.h (memset): Avoid arithmetic overflow at
1638 compile time, which produces obnoxious warnings. If GCCv2 is
1639 in use, map __bzero to __builtin_memset to enable that
1642 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
1644 * string/bits/string2.h: Add more memset optimizations.
1646 * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
1648 * resolv/inet_pton.c (inet_pton4): Little optimizations.
1649 (inet_pton6): Likewise.
1651 * nss/getXXbyYY_r.c: Include assert.h.
1652 * nss/getXXbyYY.c: Likewise.
1654 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1656 * termios/tcgetsid.c (tcgetsid): Rename variable to
1657 tiocgsid_does_not_work.
1659 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
1661 * inet/getnameinfo.c (nrl_domainname): Fix last patch.
1663 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1665 * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
1666 This allows e.g. gethostbyname to accept "10.1234".
1667 Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
1669 * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
1670 non quad IPv4 numbers.
1672 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1674 * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
1676 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
1678 * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
1679 * argp/argp-parse.c (_argp_hang): Likewise.
1680 * argp/argp-pv.c (argp_program_version): Likewise.
1681 * argp/argp-pvh.c (argp_program_version_hook): Likewise.
1682 * inet/ether_hton.c (ether_hton, startp): Likewise.
1683 * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
1684 * inet/getnetgrent_r.c (setup, startp): Likewise.
1685 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
1686 * intl/localealias.c (string_space, string_space_act, string_space_max,
1687 nmap, maxmap): Likewise.
1688 * libio/iopopen.c (proc_file_chain): Likewise.
1689 * libio/oldiopopen.c (old_proc_file_chain): Likewise.
1690 * locale/lc-collate.c (__collate_table, __collate_extra,
1691 __collate_element_hash, __collate_element_strings,
1692 __collate_element_values): Likewise.
1693 * malloc/mcheck.c (mcheck_used): Likewise.
1694 * malloc/mtrace.c (added_atexit_handler): Likewise.
1695 * malloc/set-freeres.c (already_called): Likewise.
1696 * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
1697 * misc/syslog.c (LogStat, LogTag): Likewise.
1698 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
1699 * nss/getXXbyYY_r.c (startp): Likewise.
1700 * posix/getopt.c (optarg, __getopt_initialized): Likewise.
1701 * posix/regex.c (init_syntax_once) [done]: Likewise.
1703 * string/strfry.c (init): Likewise.
1704 * sunrpc/svc_run.c (svc_top): Likewise.
1705 * posix/euidaccess.c (have_ids): Likewise.
1706 * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
1707 * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
1708 * time/getdate.c (getdate_err): Likewise.
1709 * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
1711 * time/tzset.c (old_tz, is_initialized): Likewise.
1713 * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
1714 of static data with zero.
1715 * signal/allocrtsig.c (init): Likewise.
1717 * string/Makefile (routines): Add strchrnul.
1718 * string/Versions [GLIBC_2.1.1]: Add strchrnul.
1719 * string/string.c: Add strchrnul prototype.
1720 * include/string.h: Add __strchrnul prototype.
1721 * sysdeps/generic/strchrnul.c: New file.
1722 * sysdeps/i386/strchrnul.S: New file.
1723 * sysdeps/i386/bits/string.c: Add strchrnul optimization.
1724 * sysdeps/i386/i486/bits/string.c: Likewise.
1725 * argp/argp-help.c (argp_args_usage): Use __strchrnul.
1726 * inet/ether_line.c (ether_line): Likewise.
1727 * nscd/nscd_conf.c (nscd_parse_file): Likewise.
1728 * nss/nsswitch.c (nss_parse_file): Likewise.
1729 * posix/execvp.c (execvp): Likewise.
1730 * posix/fnmatch.c (internal_fnmatch): Likewise.
1731 * resolv/res_hconf.c (_res_hconv_init): Likewise.
1732 * resolv/res_init.c (res_init): Likewise.
1733 * stdlib/fmtmsg.c (init): Likewise.
1734 * stdlib/getsubopt.c (getsubopt): Likewise.
1736 * catgets/catgets.c (catopen): Only allocate one memory block.
1737 (catclose): Only one free call necessary.
1739 * catgets/open_catalog.c (__open_catalog): Simplify handling of
1742 * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
1743 of real functions. Simplify _tolower and _toupper.
1745 * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
1748 * iconv/gconv.h (struct gconv_info): Change data element from pointer
1750 * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
1751 * iconv/gconv_close.c (__gconv_close): Don't free data.
1753 * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
1756 * iconv/gconv_db.c (add_derivation): More efficient copying. Check
1757 for error while inserting in tree.
1759 * include/time.h: Pretty print.
1761 * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
1762 in table and lots of relocations.
1763 * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
1764 string pointers in table and lots of relocations.
1766 * intl/finddomain.c: Remove definition of strchr macro.
1768 * io/ftw.c (nftw_arr, ftw_arr): Make const.
1770 * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
1772 * locale/localeinfo.h (_nl_category_names): Change into an array with
1773 fixed width char string elements.
1774 * locale/setlocale.c (_nl_category_names): Likewise.
1775 (_nl_current): Make global.
1776 * locale/nl_langinfo.c (nldata): Removed. Use _nl_current now.
1778 * malloc/Makefile (distribute): Add stackinfo.h.
1779 * sysdeps/generic/stackinfo.h: New file.
1780 * sysdeps/i386/stackinfo.h: New file.
1781 * posix/execl.c: Use stackinfo.h in optimizing alloca use.
1782 * posix/execle.c: Likewise.
1783 * posix/execlp.c: Likewise.
1785 * nis/nis_table.c (__create_ib_request): Always use realloc.
1787 * posix/execvp.c (execute): Rename to script_execute and keep only
1788 code to execute using shell.
1789 (execvp): Call execv directly and only fall back on script_execute.
1791 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
1792 and always use xdigits instead.
1794 * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
1797 * stdlib/fpioconst.h (__tens): New declaration.
1798 (struct mp_power): Remove array, add arrayoff element.
1799 * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
1800 __tens array and add in _fpioconst_pow10 offsets into __tens.
1801 * stdio-common/printf_fp.c: Rewrite to use new __tens array.
1802 * stdlib/strtod.c: Likewise.
1804 * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
1806 * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
1808 * stdlib/atexit.c (__exit_funcs): Don't initialize.
1810 * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
1812 * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
1813 a single and an array with offsets.
1815 * sunrpc/des_soft.c (partab): Make it const.
1817 * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
1818 (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
1819 (__key_decryptsession_pk_LOCAL): Likewise.
1820 (__key_gendes_LOCAL): Likewise.
1821 (MESSENGER): Mark const.
1822 (key_call_private_main): Don't initialize with 0.
1823 (use_keyenvoy): Don't initialize with 0.
1824 (key_call): Rewrite to reverse logic of use_doors variable.
1826 * sunrpc/netname.c (OPSYS): Define as array, not pointer.
1827 (startp): Don't initialize with zero.
1829 * sunrpc/openchild.c (_openchild): Make first argument const.
1831 * sunrpc/pmap_rmt.c (timeout): Mark const.
1832 * sunrpc/xcrypt.c (hex): Likewise.
1834 * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
1835 initialization of global variables.
1836 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
1837 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1838 * termios/tcgetsid.c: Likewise.
1840 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
1843 * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
1844 block. Add function to free memory if wanted.
1845 * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
1847 * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
1849 * wcsmbs/wmemset.c: Little code optimization.
1851 1999-04-23 Paul Eggert <eggert@twinsun.com>
1853 * stdlib/strtoull.c: Surround strong_alias and weak_alias with
1856 1999-04-28 Roland McGrath <roland@baalperazim.frob.com>
1858 * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
1859 implementation and just always fail with ENOSYS. This entry point is
1860 obsolete. Add link warning to that effect.
1862 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
1864 * hurd/get-host.c: Include <hurd/lookup.h>.
1866 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
1868 * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
1871 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1873 * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
1876 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
1878 * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
1879 Patch by Peter Miller <millerp@canb.auug.org.au>.
1881 1999-04-27 Thorsten Kukuk <kukuk@suse.de>
1883 * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
1884 prefers loopback device.
1886 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
1888 * posix/fnmatch.c (internal_fnmatch): Finish incomplete
1889 no_leading_period change.
1891 * posix/testfnm.c: More test cases.
1893 1999-04-27 Ulrich Drepper <drepper@cygnus.com>
1895 * include/dirent.h: Remove __getdirentries declaration, add __getdents
1897 * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
1898 * sysdeps/unix/readdir_r.c: Likewise.
1899 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1900 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
1901 * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
1902 __getdirentries. Remove fourth argument.
1903 * sysdeps/unix/sysv/linux/getdirentries.c: New file.
1904 * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
1905 * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
1906 Add getdirentries and getdirentries64.
1907 * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
1909 * posix/fnmatch.c (internal_fnmatch): Correctly reset string
1910 pointer in case of an invalid [[: expression.
1912 * posix/testfnm.c: Add more test cases.
1914 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
1916 * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
1917 set, pass EXEC_SIGTRAP flag in exec RPC.
1919 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
1921 * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch. Take
1922 extra parameter. Fix several more bugs involving wildcard and
1924 (fnmatch): New function. Call internal_fnmatch.
1926 * posix/testfnm.c: More test cases.
1928 1999-04-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1930 * manual/install.texi (Configuring and compiling): Explain that
1931 files are changed in the source directory.
1933 (Configuring and compiling): Explain situation with PARALLELMFLAGS
1934 in the source directory.
1936 1999-04-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1938 * locale/programs/ld-ctype.c: Spelling fixes.
1939 (ctype_finish): Fix argument of error message format.
1940 * locale/programs/ld-messages.c: Spelling fixes.
1941 * locale/programs/ld-monetary.c: Spelling fixes.
1942 * locale/programs/ld-time.c (time_finish): Make sure that name and
1943 format of era_entries are adjacent.
1944 (time_output): Reduce the size of the io vector.
1946 1999-04-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1948 * manual/filesys.texi (Attribute Meanings): Move a misplaced
1951 1999-04-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1953 * locale/programs/ld-collate.c (collate_output): Convert
1954 undefined_offset to an array index. Fix computation of other
1957 1999-04-26 Roland McGrath <roland@baalperazim.frob.com>
1959 * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
1960 return success with empty value.
1962 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
1964 * posix/fnmatch.c: Include string.h also for glibc.
1965 (fnmatch, case '?'): Optimize if cascades a bit.
1966 (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
1968 * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
1970 1999-04-24 Ulrich Drepper <drepper@cygnus.com>
1972 * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
1973 * iconv/gconv_int.h: Declare UTF16 functions.
1974 * iconv/gconv_simple.c: Add UTF16 conversion functions.
1976 1999-04-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1978 * posix/wordexp.c (parse_param): Fix type of offset to allow it to
1979 be used correctly as parameter for parse_dollars/parse_tilde.
1981 1999-04-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1983 * manual/conf.texi (Utility Limits): Remove duplicate description
1986 1999-04-19 Ulrich Drepper <drepper@cygnus.com>
1988 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
1989 outbufend for dst==NULL.
1991 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
1993 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
1997 * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
2000 1999-04-18 Thorsten Kukuk <kukuk@suse.de>
2002 * sunrpc/Makefile: Remove special handling of bootparam.x,
2003 add rpcsvc/bootparam.h to headers.
2004 * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
2005 * sunrpc/rpcsvc/bootparam.x: Renamed to...
2006 * sunrpc/rpcsvc/bootparam_prot.x: ...this.
2008 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
2010 * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
2011 detect and handle invalid descriptors.
2013 1999-04-17 Thorsten Kukuk <kukuk@suse.de>
2015 * timezone/zic.c (dolink): Append complete path not only filename
2018 1999-04-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2020 * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
2022 1999-04-17 Ulrich Drepper <drepper@cygnus.com>
2024 * iconvdata/gconv-modules: Rename CP874 to IBM874.
2025 * iconvdata/Makefile: Likewise.
2026 * iconvdata/cp874.h: Removed.
2027 * iconvdata/cp874.c: Renamed to...
2028 * iconvdata/ibm874.c: ...this.
2030 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
2032 * sysdeps/unix/sysv/linux/bits/types.h: Correct
2033 signed/unsigned-ness of blkcnt and fsblkcnt.
2034 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2035 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2037 * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
2038 SOL_AAL, and SOL_IRDA.
2040 1999-04-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2042 * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero. Don't
2043 include "linux_fsinfo.h".
2044 Based on a patch by H.J. Lu <hjl@gnu.org>.
2046 1999-04-16 Thorsten Kukuk <kukuk@suse.de>
2048 * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
2050 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
2052 * nscd/cache.c (prune_cache): Only disable file checking for
2053 future if the file does not exist.
2054 Update file_mtime if cache was flushed.
2056 1999-04-15 David S. Miller <davem@redhat.com>
2058 * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
2059 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
2061 1999-04-15 Scott Bambrough <scottb@netwinder.org>
2063 * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
2064 compilation of file.
2066 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
2068 * Versions.def: Add GLIBC_2.1.1 to libpthread.
2070 * iconvdata/Makefile (modules): Add KOI8-U.
2071 (distribute): Add koi8-u.c.
2072 (gen-8bit-gap-modules): Add koi8-u.
2073 * iconvdata/gconv-modules: Add KOI8-U entries.
2074 * iconvdata/koi8-u.c: New file.
2076 1999-04-13 Thorsten Kukuk <kukuk@suse.de>
2078 * sunrpc/auth_des.c: 64bit fixes, security fixes.
2079 * sunrpc/auth_none.c: Pretty print.
2080 * sunrpc/auth_unix.c: Likewise.
2081 * sunrpc/authdes_prot.c: Likewise.
2082 * sunrpc/authuxprot.c: Likewise.
2083 * sunrpc/bindrsvprt.c: Likewise.
2084 * sunrpc/clnt_gen.c: Likewise.
2085 * sunrpc/rpc/xdr.h: Likewise.
2086 * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
2087 * sunrpc/rpc_cmsg.c: Don't use *long pointers.
2088 * sunrpc/rtime.c: Use new rpc_timeval.
2089 * sunrpc/svc_authux.c: Don't use *long pointers.
2090 * sunrpc/svcauth_des.c: Likewise + security fixes.
2091 * sunrpc/xdr_mem.c: Don't use *long pointers.
2092 * sunrpc/xdr_rec.c: Likewise.
2093 * sunrpc/xdr_sizeof.c: Likewise.
2094 * sunrpc/xdr_stdio.c: Likewise.
2096 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
2098 * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
2099 so that it is redone for each sending.
2101 1999-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2103 * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
2105 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
2107 * iconv/gconv_db.c (__gconv_find_transform): If conversion is
2108 known to not exist don't try to load shared objects.
2109 Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
2111 * nscd/cache.c (prune_cache): The table might not be unused. In
2112 this case do nothing.
2114 * catgets/gencat.c (read_input_file): Don't drop white spaces
2115 between number/identifier and string.
2116 Patch by Dima Barsky <dima@pwd.hp.com>.
2117 If no white space at all follows number/identifier remove existing
2118 message with the number/identifier.
2120 1999-04-14 H.J. Lu <hjl@gnu.org>
2122 * sunrpc/clnt_udp.c (is_network_up): New function.
2123 (clntudp_call): Call is_network_up () to check if any network
2124 interface is up in case of timeout.
2126 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2128 * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
2129 * wctype/Makefile (tests): Add test_wcfuncs.
2131 1999-04-14 Jakub Jelinek <jj@ultra.linux.cz>
2133 * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
2135 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
2137 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
2138 instead of CFLAGS. For gnulib and string directories use
2139 -Wa,-Av9a gcc ASFLAGS.
2140 * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
2141 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
2142 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
2143 * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
2144 the same way as sparc-*.
2146 1999-04-14 Ulrich Drepper <drepper@cygnus.com>
2148 * locale/programs/locfile.c (locfile_read): Fix typo.
2149 Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
2151 1999-04-14 Scott Bambrough <scottb@netwinder.org>
2153 * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
2154 restarted after being interrupted by a signal. The parameters on
2155 the stack were corrupted by the signal handler.
2157 * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
2158 restarted after being interrupted by a signal. The parameters on
2159 the stack were corrupted by the signal handler.
2161 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2163 * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
2164 Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
2166 1999-04-12 Tim Waugh <tim@cyberelk.demon.co.uk>
2168 * posix/wordexp-test.c: In field-splitting test cases where
2169 subshells were involved, unset IFS first: some shells (ash) use
2170 IFS even when no expansion is performed.
2172 1999-04-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2174 * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
2175 the real end of the chunk, not some random point inbetween.
2176 (_IO_obstack_xsputn): Likewise. Actually copy the data into the
2177 obstack when growing. Use fast version of obstack_blank when
2179 (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
2180 allocating the vtable pointer.
2181 (_IO_obstack_vprintf): Adjust for above change and avoid
2182 unnecessary casts. Use fast version of obstack_blank when
2186 1999-04-12 Ulrich Drepper <drepper@cygnus.com>
2188 * iconvdata/gconv-modules: Fix typo. Add UJIS alias.
2189 Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
2191 1999-04-11 Tim Waugh <tim@cyberelk.demon.co.uk>
2193 * posix/wordexp.c (wordexp): Fix a leak when an invalid character
2194 is seen, as well as fixing semantics. Don't reset the word count
2195 to zero when an invalid character is seen, but leave it as it was
2196 (this makes a difference with WRDE_APPEND).
2198 * posix/wordexp-test.c: More test cases.
2200 * posix/wordexp.c (parse_param): In words like ${var#pattern},
2201 always expand pattern when it is needed. Also, handle quoting in
2204 1999-04-12 Philip Blundell <philb@gnu.org>
2206 * elf/elf.h: Update ARM definitions to match current gas2.
2208 * sysdeps/arm/bits/endian.h: Support big endian operation.
2210 * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
2211 Don't bother range checking the port number.
2213 * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
2215 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
2216 the syscall name in assembler output for ease of debugging.
2218 * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
2220 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
2221 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
2222 (sysdep_routines): Add sigrestorer.
2224 * string/tester.c (test_strcpy): Add new tests for unaligned
2226 * sysdeps/arm/bits/string.h: Delete inline implementations of
2229 1999-04-11 Ulrich Drepper <drepper@cygnus.com>
2231 * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
2233 1999-04-10 Mark Kettenis <kettenis@gnu.org>
2235 * sysdeps/mach/hurd/Dist: Add clk_tck.c.
2237 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
2239 * iconvdata/Makefile (modules): Add TIS-620.
2240 (distribute): Add tis-620.c.
2241 (gen-8bit-gap-modules): tis-620.
2242 * iconvdata/tis-620.c: New file.
2243 * iconvdata/gconv-modules: Add TIS-620 entries.
2245 * iconvdata/asmo_449.c: Correct comment.
2247 1999-04-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2249 * manual/install.texi (Configuring and compiling): Comment out
2250 description of --disable-static since this doesn't work currently
2251 (see change by Ulrich Drepper on 1998-12-07 for configure.in).
2253 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
2255 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
2257 Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
2259 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2261 * scripts/test-installation.pl (installation_problem): Skip
2262 libnss1_* libraries from glibc-compat add-on.
2264 1999-04-07 H.J. Lu <hjl@gnu.org>
2266 * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
2268 * posix/Versions (__waitpid): Likewise.
2270 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2272 * manual/install.texi (Reporting Bugs): Add section about reported
2273 bugs and correct email address of glibcbug script.
2275 1999-04-01 Thorsten Kukuk <kukuk@suse.de>
2277 * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
2278 * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
2279 xdr_u_longlong_t. Based on patch from Dan Shechter
2280 <damageboy@isdn.net.il>.
2281 * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
2282 * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
2284 * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
2286 1999-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2288 * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
2289 directly if getdents returns with error set.
2291 1999-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2293 * locale/langinfo.h (THOUSEP): Rename second occurence of
2294 THOUSANDS_SEP to THOUSEP.
2295 Reported by Roman Belenov <roman@nstl.nnov.ru>.
2297 1999-04-05 Roland McGrath <roland@baalperazim.frob.com>
2299 * hurd/STATUS: File removed. Moved items that are still relevant into
2300 TODO list in hurd source.
2302 1999-03-26 Mark Kettenis <kettenis@gnu.org>
2304 * sysdeps/mach/hurd/bits/time.h: New file.
2305 * sysdeps/mach/hurd/getrusage.c: New file.
2306 * sysdeps/mach/hurd/clk_tck.c: New file.
2307 * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
2308 * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
2309 (sysdep_routines): Add clk_tck.
2310 * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
2313 1999-04-02 Ulrich Drepper <drepper@cygnus.com>
2315 * misc/syslog.c (closelog_internal): Do not reset LogTag here.
2316 (closelog): But instead here.
2317 Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
2319 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2321 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
2322 the source directory. Fixes PR libc/1059.
2324 1999-04-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2326 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
2327 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
2329 1999-04-01 Ulrich Drepper <drepper@cygnus.com>
2331 * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
2332 * iconvdata/testdata/ISO-8859-14: New file.
2333 * iconvdata/testdata/ISO-8859-14..UTF8: New file.
2334 * iconvdata/testdata/ISO-8859-15: New file.
2335 * iconvdata/testdata/ISO-8859-15..UTF8: New file.
2337 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
2339 * iconvdata/testdata/CP1258: New file.
2340 * iconvdata/testdata/CP1258..UTF8: New file.
2341 * iconvdata/TESTS: Add CP1258 entry.
2343 * iconvdata/cp874.h (to_ucs4): Add Euro sign.
2345 * timezone/africa: Update from tzdata1999d.
2346 * timezone/europe: Likewise.
2347 * timezone/northamerica: Likewise.
2349 1999-03-31 Mark Kettenis <kettenis@gnu.org>
2351 * login/programs/pt_chown.c (main): Save effective user ID before
2352 dropping priviliges and use this to check if the program is
2355 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
2357 * iconvdata/testdata/CP1254: Update for charmap changes.
2358 * iconvdata/testdata/CP1254..UTF8: Likewise.
2359 * iconvdata/testdata/CP1255: Likewise.
2360 * iconvdata/testdata/CP1255..UTF8: Likewise.
2361 * iconvdata/testdata/CP1256: Likewise.
2362 * iconvdata/testdata/CP1256..UTF8: Likewise.
2363 * iconvdata/testdata/CP1257: Likewise.
2364 * iconvdata/testdata/CP1257..UTF8: Likewise.
2366 * iconvdata/Makefile (distribute): Remove cp1258.h.
2367 (gen-8bit-gap-modules): Add cp1258.
2368 * iconvdata/cp1258.h: Removed.
2370 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
2372 * timezone/tst-timezone.c (tests): Add more cases.
2373 (check_tzvars): Mark errors clearer.
2376 1999-03-30 20:59 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
2378 * login/programs/pt_chown.c: Drop privileges if invoked with
2379 arguments. Don't close the master pty.
2381 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
2383 * time/tzfile.c (__tzfile_read): Process transitions from the rear.
2386 1999-03-29 Ulrich Drepper <drepper@cygnus.com>
2388 * elf/rtld.c (process_envvars): Do not automatically prevent lazy
2389 relocation for SUID binaries.
2391 1999-03-29 Paul Eggert <eggert@twinsun.com>
2393 * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
2394 while in child process.
2396 1999-03-29 Jakub Jelinek <jj@ultra.linux.cz>
2398 * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
2399 * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
2400 * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
2401 * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
2402 * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
2404 * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
2405 * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
2406 * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
2407 * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
2408 * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
2409 * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
2410 * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
2411 * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
2412 * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
2413 * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
2414 * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
2415 * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
2416 * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
2417 * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
2418 * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
2419 * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
2420 * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
2421 * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
2422 * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
2423 * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
2424 * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
2425 * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
2426 * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
2427 * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
2428 * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
2429 * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
2431 * sysdeps/sparc/sparc32/bcopy.c: New file.
2432 * sysdeps/sparc/sparc32/bzero.c: New file.
2433 * sysdeps/sparc/sparc32/memchr.S: New file.
2434 * sysdeps/sparc/sparc32/memcpy.S: New file.
2435 * sysdeps/sparc/sparc32/memmove.c: New file.
2436 * sysdeps/sparc/sparc32/memset.S: New file.
2437 * sysdeps/sparc/sparc32/stpcpy.S: New file.
2438 * sysdeps/sparc/sparc32/strchr.S: New file.
2439 * sysdeps/sparc/sparc32/strrchr.c: New file.
2440 * sysdeps/sparc/sparc32/strcpy.S: New file.
2441 * sysdeps/sparc/sparc32/strlen.S: New file.
2442 * sysdeps/sparc/sparc32/strcat.S: New file.
2443 * sysdeps/sparc/sparc32/strcmp.S: New file.
2445 * sysdeps/sparc/sparc64/bcopy.c: New file.
2446 * sysdeps/sparc/sparc64/bzero.c: New file.
2447 * sysdeps/sparc/sparc64/memchr.S: New file.
2448 * sysdeps/sparc/sparc64/memcmp.S: New file.
2449 * sysdeps/sparc/sparc64/memcpy.S: New file.
2450 * sysdeps/sparc/sparc64/memset.S: New file.
2451 * sysdeps/sparc/sparc64/stpcpy.S: New file.
2452 * sysdeps/sparc/sparc64/strcat.S: New file.
2453 * sysdeps/sparc/sparc64/strchr.S: New file.
2454 * sysdeps/sparc/sparc64/strcmp.S: New file.
2455 * sysdeps/sparc/sparc64/strcpy.S: New file.
2456 * sysdeps/sparc/sparc64/strcspn.S: New file.
2457 * sysdeps/sparc/sparc64/strlen.S: New file.
2458 * sysdeps/sparc/sparc64/strncpy.S: New file.
2459 * sysdeps/sparc/sparc64/strpbrk.S: New file.
2460 * sysdeps/sparc/sparc64/strrchr.c: New file.
2461 * sysdeps/sparc/sparc64/strspn.S: New file.
2462 * sysdeps/sparc/sparc64/stpncpy.S: New file.
2463 * sysdeps/sparc/sparc64/strncmp.S: New file.
2465 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
2466 Append -fPIC, don't replace.
2468 * configure.in: Recognize sparcv8plus / sparcv9.
2470 1999-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2472 * malloc/obstack.h (obstack_free): Explicitly convert __obj to
2473 char * to avoid C++ warning.
2474 Patch by yasushi@cs.washington.edu [PR libc/1035].
2476 1999-03-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2478 * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
2479 declared in stdlib.h, correct return value of mkstemp.
2480 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
2482 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
2485 1999-03-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2487 * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
2490 * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
2491 inline functions. Closes PR libc/1049.
2493 1999-03-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2495 * timezone/README: Update from tzdata1999c and tzcode1999c.
2497 * timezone/africa: Update from tzdata1999c.
2498 * timezone/antarctica: Likewise.
2499 * timezone/asia: Likewise.
2500 * timezone/australasia: Likewise.
2501 * timezone/europe: Likewise.
2502 * timezone/northamerica: Likewise.
2503 * timezone/southamerica: Likewise.
2504 * timezone/zone.tab: Likewise.
2506 * timezone/zic.c: Update from tzcode1999c.
2508 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2510 * Makerules: Add $(common-objpfx)Versions.all to common-generated
2511 outside of ifndef avoid-generated.
2513 * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
2515 * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
2517 * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
2519 * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
2520 _IO_old_file_seekoff): Bring over recent changes in fileops.c.
2522 1999-03-26 Mark Kettenis <kettenis@gnu.org>
2524 * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
2525 if we build the profiled library.
2527 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2529 * math/Makefile (gmp-objs): Add inlines. Reported by Andreas
2530 Jaeger <aj@arthur.rhein-neckar.de>
2532 1999-03-25 Roland McGrath <roland@yaumatei.ai.mit.edu>
2534 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
2535 (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
2536 This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
2538 1999-03-24 Roland McGrath <roland@baalperazim.frob.com>
2540 * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
2541 works properly in subdirs.
2543 1999-03-23 Roland McGrath <roland@baalperazim.frob.com>
2545 * sysdeps/mach/hurd/Makefile: Undo last change.
2546 [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
2547 [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
2549 * mach/Machrules (+preinit, +postinit, +interp,
2550 LDFLAGS-$(interface.so)): Variables removed. Interface libraries get
2551 linked just like other shared libraries.
2552 (interface.so): Fix typo in defn, so it works.
2553 ($(objpfx)$(interface.so)): Make it depend on libc.so.
2555 1999-03-21 Roland McGrath <roland@baalperazim.frob.com>
2557 * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
2558 $(link-rpcuserlibs).
2560 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2562 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
2563 $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
2564 targets if not building shared libraries.
2566 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2568 * configure.in: Also look in $PATH when searching for
2569 install-info. Remove autoconf bug workaround and require autoconf
2572 1999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2574 * db/Makefile: Don't try to install shared library link if not
2575 building with shared libs.
2577 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2579 * rt/Makefile: Link against static library if no shared lib is
2582 * localedata/Makefile: The shells scripts implementing the test
2583 require the dynamic linker which is not available with
2584 --disable-shared. Skip the test if --disable-shared is given.
2586 * linuxthreads/Makefile: Link test against static libpthread if no
2587 shared lib is available.
2589 * iconvdata/Makefile (tests): Run iconv-test only if we're
2590 building shared libraries.
2591 * elf/Makefile (tests): Likewise for elf tests.
2593 * posix/Makefile: The test frameworks globtest and wordexp-test
2594 require the dynamic linker which is not available with
2595 --disable-shared. Skip the test if --disable-shared is given.
2597 * grp/Makefile (otherlibs): For static nss build link against
2600 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2602 * debug/Makefile (install-bin): Install and build catchsegv only
2603 if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR
2606 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2608 * time/tzfile.c (__tzfile_read): Handle the case where there are
2609 transitions but no DST.
2611 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>
2613 * mach/Machrules (extra-libs-others): Add $(interface-library) here
2614 too, so it gets built in the others pass rather than the lib pass.
2615 This is necessary since the RPC libraries need to be linked against
2618 1999-03-19 Roland McGrath <roland@baalperazim.frob.com>
2620 * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
2623 * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
2624 ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
2625 ($(link-rpcuserlibs)): New static pattern rule; link intermediate
2626 versions of lib{mach,hurd}user.so without reference to libc.so,
2627 then link libc.so against that to get deps and symbol versions, then
2628 finally link real lib*user.so against libc.so.
2630 * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
2631 Support whole-file locking (only) by using the file_lock RPC. This
2632 has very wrong semantics, but is better than nothing for the time
2633 being. (Correct POSIX.1 locking will require new RPCs in the Hurd
2634 protocols that will be somewhat hairy to specify.)
2636 1999-03-17 Mark Kettenis <kettenis@gnu.org>
2638 * sysdeps/mach/hurd/ptsname.c: New file.
2640 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2642 * timezone/asia: Fix rule in Asia/Nicosia entry.
2644 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2646 * manual/getopt.texi (Using Getopt): Explain "::" in option
2647 string. Reported by Yuri Niyazov <yuricake@geocities.com>.
2649 1999-03-18 Thorsten Kukuk <kukuk@suse.de>
2651 * sunrpc/clnt_unix.c: Fix creation of parameters for
2652 sendmsg/recvmsg on non intel platforms.
2653 * sunrpc/svc_unix.c: Likewise.
2655 1999-03-18 Philip Blundell <philb@gnu.org>
2657 * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386
2660 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2662 * timezone/africa: Update from tzdata1999b.
2663 * timezone/asia: Likewise.
2664 * timezone/australasia: Likewise.
2665 * timezone/europe: Likewise.
2666 * timezone/northamerica: Likewise.
2667 * timezone/southamerica: Likewise.
2668 * timezone/zone.tab: Likewise.
2670 * timezone/README: Mention tzdata1999b.
2672 1999-03-17 Ulrich Drepper <drepper@cygnus.com>
2674 * sysdeps/generic/segfault.c (write_strsignal): New function.
2675 (catch_segfault): Use it instead of calling strsignal.
2677 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2679 * iconv/gconv.c (__gconv): Change type of last_start to unsigned
2680 char to avoid warning.
2682 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
2684 * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
2686 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
2687 outbuf to unsigned char to avoid warning.
2689 1999-03-11 David S. Miller <davem@redhat.com>
2691 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
2693 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
2695 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
2697 * iconv/gconv.h (gconv_fct): Change parameter from `char' to
2699 (gconv_step_data): Likewise.
2700 * iconv/gconv_int.h (__gconv): Likewise.
2701 (__BUILINT_TRANS): Likewise.
2702 * iconv/gconv.c (__gconv): Likewise.
2703 * iconv/iconv.c (iconv): Add casts for call of __gconv.
2704 * iconv/skeleton.c: Change local parameters and variable from `char' to
2705 `unsigned char'. Remove casts from calls into modules.
2706 * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
2707 `char' to `unsigned char'.
2708 * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
2709 * wcsmbs/mbrtowc.c: Likewise.
2710 * wcsmbs/mbsnrtowcs.c: Likewise.
2711 * wcsmbs/mbsrtowcs.c: Likewise.
2712 * wcsmbs/wcrtomb.c: Likewise.
2713 * wcsmbs/wcsnrtombs.c: Likewise.
2714 * wcsmbs/wcsrtombs.c: Likewise.
2715 * wcsmbs/wctob.c: Likewise.
2717 1999-03-15 Mark Kettenis <kettenis@gnu.org>
2719 * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
2720 __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
2721 __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
2722 __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
2723 __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
2724 __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
2726 1999-03-15 Mark Kettenis <kettenis@gnu.org>
2728 * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
2729 _hurd_select if TIMEMOUT is -1.
2731 1999-03-15 Mark Kettenis <kettenis@gnu.org>
2733 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
2735 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
2737 * elf/dl-load.c: Compute rtld_search_dir array size correctly.
2738 Reported by Yasushi Saito <yasushi@cs.washington.edu>.
2740 1999-03-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2742 * manual/libc.texinfo: Undo last change for now.
2744 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
2746 * intl/locale.alias: Add entries for Croatian.
2747 Patch by Tomislav Vujec <tvujec@CARNet.hr>.
2749 1999-03-13 Mark Kettenis <kettenis@gnu.org>
2751 * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
2752 if the opened master pty really is a pty. `isatty' checks for
2753 tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE
2754 if we are out of pty's.
2756 1999-03-13 Mark Kettenis <kettenis@gnu.org>
2758 * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
2759 opened file is closed on exec.
2760 * login/utmp_daemon.c (setutent_daemon): Likewise for the just
2763 1999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2765 * manual/llio.texi (File Position Primitive): Reformat @end
2766 command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
2768 1999-03-14 Ulrich Drepper <drepper@cygnus.com>
2770 * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
2772 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2773 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
2775 * locale/programs/localedef.c (main): Initialize `cat' to please
2778 1999-03-14 Roland McGrath <roland@baalperazim.frob.com>
2780 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
2781 check for root-owned symlinks and reject them too.
2783 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2785 * stdio-common/printf_fphex.c: Move to ...
2786 * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of
2787 extended precision number.
2788 * sysdeps/m68k/printf_fphex.c: New file.
2790 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2792 * manual/stdio.texi: Fix typos.
2794 1999-03-09 Ulrich Drepper <drepper@cygnus.com>
2796 * version.h (VERSION): Bump to 2.1.1.
2798 1999-03-09 Thorsten Kukuk <kukuk@suse.de>
2800 * nis/ypclnt.c: Try only twice to connect to NIS server.
2802 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
2804 * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
2806 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2808 * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
2809 (DENORM_EXP): New define. Use it as the exponent for a denormal.
2810 * stdlib/strtold.c: Moved to ...
2811 * sysdeps/generic/strtold.c: ... here.
2812 * sysdeps/m68k/strtold.c: New file.
2814 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2816 * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
2817 point if the precision is zero, even if the mantissa is non-zero.
2819 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
2821 * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
2822 arguments into the request message buffer inside `send_rpc'
2823 subfunction. We must repeat the marshalling when retrying the RPC
2824 after a SIGTTOU delivery.
2826 * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
2827 path when there is no ctty port.
2828 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
2829 Move sigstate check inside loop so we recheck after handling a signal.
2831 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2833 * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
2834 O_EXLOCK are BSD extensions.
2835 Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
2837 1999-03-08 Ulrich Drepper <drepper@cygnus.com>
2839 * manual/signal.texi (Termination in Handler): Correct example.
2840 Install default handler before reraising the signal.
2841 Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
2843 1999-03-08 Roland McGrath <roland@baalperazim.frob.com>
2845 * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
2846 null, in which case send an empty string.
2848 1999-03-02 Mark Kettenis <kettenis@gnu.org>
2850 * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
2851 backward compatibility EH functions to be linked when using
2852 gcc-2.8.1. Patch by Zack Weinberg <zack@rabi.columbia.edu>.
2854 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2856 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
2857 /dev/pts status may change during runtime.
2859 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2861 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
2862 change. /dev/pts status can change during runtime.
2864 1999-03-07 Thorsten Kukuk <kukuk@suse.de>
2866 * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
2868 * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
2869 add some more sanity checks.
2870 * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
2873 1999-03-05 Thorsten Kukuk <kukuk@suse.de>
2875 * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
2876 change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
2877 * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
2878 * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
2879 * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
2881 * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
2882 * nis/nis_print.c: Fix ctime argument for platforms where
2883 sizeof (time_t) != sizeof (int).
2885 1999-03-07 Mark Kettenis <kettenis@gnu.org>
2887 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
2888 CLOCKS_PER_SEC instead of CLK_TCK.
2890 1999-03-05 Ulrich Drepper <drepper@cygnus.com>
2892 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
2893 whether /dev/pts is available.
2894 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
2897 * posix/globtest.sh: Make common_objpfx path absolute and and db2
2898 and hesiod directory to library path [PR libc/1007].
2900 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2902 * resolv/inet_addr.c (inet_aton): Don't allow componets >
2903 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
2905 1999-03-05 Geoff Keating <geoffk@ozemail.com.au>
2907 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
2908 DT_PLTGOT has already been relocated.
2909 (__elf_machine_fixup_plt): Likewise.
2912 1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
2914 * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
2916 1999-03-03 Ulrich Drepper <drepper@cygnus.com>
2918 * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
2919 and fold string to uppercase [PR libc/1005].
2921 1999-03-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2923 * elf/dl-load.c (lose): Fix return type.
2925 1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
2927 * sysdeps/mach/hurd/bits/fcntl.h
2928 [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
2929 * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
2930 set O_NOTRANS as well.
2931 (__hurd_file_name_lookup_retry): At successful end of lookup,
2932 if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
2933 it is a translated node not owned by root.
2934 (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
2935 on the file name passed to LOOKUP.
2937 1999-03-02 Ulrich Drepper <drepper@cygnus.com>
2939 * manual/time.texi (High Resolution Timer): Correct computation in
2940 example. Reported by jjf@devel.cemsys.com.
2942 1999-03-02 Philip Blundell <pb@nexus.co.uk>
2944 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
2945 entry is already relocated.
2947 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2949 * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported
2950 by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
2952 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2954 * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
2955 uc_link which is the right name according to Unix98.
2956 Reported by Craig Metz [PR libc/1001].
2957 * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
2958 * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
2959 * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
2960 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
2961 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise
2962 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
2964 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2966 * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
2969 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2971 * iconvdata/Makefile: Always include iconv-rules, but disable rule
2972 to regenerate it if avoid-generated.
2974 * Makeconfig: Always include sys-dirs, but disable rule to
2975 regenerate it when avoid-generated.
2977 * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
2978 rule to generate sysd-syscalls.
2980 * elf/Makefile (generated): Remove $(objpfx) from names.
2982 1999-02-28 Mark Kettenis <kettenis@gnu.org>
2984 * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
2985 actual length if the adress length is smaller than the input
2986 value. Change type of *LEN paramater to socklen_t.
2987 * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
2988 * sysdeps/mach/hurd/accept.c (accept): Likewise.
2989 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
2990 * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
2991 paramater to socklen_t.
2993 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
2995 * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
2996 msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
2999 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
3001 * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
3002 __get_phys_pages): Cast &HBI to silence warning.
3004 * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
3005 * hurd/hurdchdir.c: New file.
3006 * hurd/hurdfchdir.c: New file.
3007 * sysdeps/mach/hurd/chroot.c: Call
3008 _hurd_change_directory_port_from_name to do the work.
3009 * sysdeps/mach/hurd/chdir.c: Likewise.
3010 * sysdeps/mach/hurd/fchdir.c: Call
3011 _hurd_change_directory_port_from_fd to do the work.
3012 * hurd/fchroot.c: Likewise.
3013 * hurd/hurd.h: Declare them.
3015 1999-02-27 Ulrich Drepper <drepper@cygnus.com>
3017 * elf/dl-load.c (lose): Add more comments to explain the `why'.
3018 (_dl_map_object): Remove redundant test.
3020 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
3022 * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
3023 try to _hurd_port_free a lower-numbered descriptor that was not in any
3026 1999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3028 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
3029 declaration for ____wcstod_l_internal.
3031 * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
3032 __strtod_internal prototype.
3033 * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
3034 (____strtold_l_internal): Add prototype declaration.
3035 (__strtold_l): Call correct function.
3037 1999-02-24 Ulrich Drepper <drepper@cygnus.com>
3039 * elf/elf.h: Add 32bit HPPA definitions.
3041 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3043 * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
3044 non-checked heap is restored when malloc checking was requested by
3046 (struct malloc_state): Add using_malloc_checking.
3047 (MALLOC_STATE_VERSION): Increment minor.
3048 (using_malloc_checking, disallow_malloc_check): New variables.
3049 (__malloc_check_init): Use them.
3050 (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
3051 that it can the chunk is properly instrumented when malloc
3052 checking is enabled. Set the new using_malloc_checking field.
3053 (malloc_hook_ini): Correct signature when _LIBC is not defined.
3055 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3057 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
3058 (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
3061 * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
3062 Don't call elf_get_dynamic_info and _dl_setup_hash a second time
3063 if ld.so is the main program.
3065 1999-02-23 Ulrich Drepper <drepper@cygnus.com>
3067 * stdio-common/vfprintf.c (vfprintf): If precision or width is too
3068 large for work_buffer, allocate new buffer.
3069 (printf_unknown): Likewise. [PR libc/988]
3071 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
3073 * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
3074 instead of stat and fstat.
3075 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3077 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3079 * elf/dl-error.c (_dl_signal_cerror): New function.
3080 (_dl_signal_error): Don't call receiver function.
3081 * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
3082 instead of _dl_signal_error when reporting references to undefined
3083 symbols or versions.
3084 (_dl_lookup_versioned_symbol): Likewise.
3085 (_dl_lookup_versioned_symbol_skip): Likewise.
3086 * elf/dl-version.c (match_symbol): Likewise.
3088 * elf/ldsodefs.h: Declare _dl_signal_cerror.
3090 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
3092 * misc/getttyent.c (getttyent): Release lock on stream later to
3093 also protect global variable zapchar.
3095 * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
3096 __times [PR libc/990].
3098 1999-02-21 David S. Miller <davem@redhat.com>
3100 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
3101 parentheses in Feb 2 changes.
3102 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
3104 1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3106 * sysdeps/generic/glob.c (glob): Save previous errno.
3108 1999-02-21 Ulrich Drepper <drepper@cygnus.com>
3110 * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
3111 lookup functions if it is too small.
3113 1999-02-20 Ulrich Drepper <drepper@cygnus.com>
3115 * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
3116 for tracing to the scope lists.
3117 * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
3118 DT_SYMTAB is always available according to ELF spec.
3120 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
3121 call test whether there is any scope left.
3122 (_dl_lookup_versioned_symbol_skip): Likewise.
3124 * elf/Makefile (distribute): Add do-lookup.h.
3125 * elf/do-lookup.h: New file. Split out from dl-lookup.c.
3126 * elf/dl-lookup.c: Move do_lookup function in separate file and
3127 include the file twice, for handling versioning and without it.
3129 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
3130 entry is already relocated.
3131 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
3132 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
3133 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
3134 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
3136 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
3138 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
3141 * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
3142 load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
3143 DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
3144 (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
3145 rel and rela relocations can both happen and skip one test if this
3147 (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
3149 * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
3151 * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
3153 * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
3154 (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
3155 (_dl_map_object): DT_STRTAB entry is already relocated.
3156 * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
3158 * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
3160 * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
3161 DT_VERSYM entries are already relocated.
3162 (profile_fixup): Likewise.
3163 * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace
3165 (match_symbol): DT_STRTAB entry is already relocated.
3166 (_dl_check_map_versions): Likewise. Also fo DT_VERSYM.
3167 * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
3168 relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated.
3169 * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
3170 (find_needed): DT_STRTAB entry is already relocated.
3171 (dl_main): Pass extra argument to elf_get_dynamic_info.
3172 DT_STRTAB entry is already relocated.
3173 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
3174 DT_PLTGOT entries are already relocated.
3175 (elf_machine_rela): Likewise for DT_SYMTAB.
3176 * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
3178 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3179 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
3180 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
3181 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3182 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
3183 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
3184 (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
3185 * sysdeps/mips/mips64/dl-machine.h: Likewise.
3187 * grp/initgroups.c (initgroups): If function in current module was
3188 successful don't stop but continue to process to get all the groups.
3190 * elf/dl-load.c (_dl_map_object_from_fd): Use global
3191 _dl_pf_to_proot array to convert p_flags value.
3192 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3194 * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
3195 loop to clear `info'.
3197 * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
3198 do the work and don't use inline assembler.
3200 1999-02-19 Ulrich Drepper <drepper@cygnus.com>
3202 * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
3203 * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
3204 noreturn, and prevent it from being inlined.
3205 Define LOSE appropriately.
3206 (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
3207 Optimize decoding of p_flags for certain platforms.
3209 1999-02-19 Philip Blundell <pb@nexus.co.uk>
3211 * Makeconfig (link-libc): When doing a static link, make sure that
3212 libgcc.a is included both before and after libc.a.
3214 1999-02-18 Thorsten Kukuk <kukuk@suse.de>
3216 * nis/nss_compat/compat-spwd.c: Fix handling of default values for
3217 sp_warn, sp_inact, sp_expire and sp_flag.
3219 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
3221 * elf/link.h (link_map): Add l_dev and l_ino.
3222 * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
3223 loaded shared object with all loaded objects. Initialize l_ino
3224 and l_dev in case it's new.
3225 * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
3227 * elf/Makefile: Compile and run new test.
3228 * elf/multiload.c: New file.
3230 * nss/nsswitch.h (service_user): Change name field from const char *
3232 (name_database_entry): Likewise.
3233 * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
3234 for change of `service_user'.
3235 (nss_getline): Adjust memory allocation for change of
3236 `name_database_entry'.
3238 * catgets/catgets.c: Correctly handle NLSPATH from environment
3241 * io/Makefile (routines): Add lock64.
3242 * io/Versions: Add lockf64 for GLIBC_2.1.1.
3243 * sysdeps/generic/lockf64.c: New file.
3245 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
3247 * string/bits/string2.h: Only use strncmp optimization if count
3248 argument is constant.
3250 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
3252 * sysdeps/mach/hurd/revoke.c: New file.
3254 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
3256 * wctype/wctype.h (_ISwbit): Cast result of shift operations to
3257 int to avoid warning about `ISO C restricts enumerator values to
3260 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3262 * elf/dlfcn.h: Fix typo.
3263 * sysdeps/generic/bits/dlfcn.h: Likewise.
3264 * sysdeps/mips/bits/dlfcn.h: Likewise.
3266 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
3268 * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
3269 for the case N == 0.
3271 * db2/Makefile (distribute): Add LICENSE.
3273 1999-02-03 Jeff Bailey <jbailey@nisa.net>
3275 * sysdeps/unix/make_errlist.c: Add i18n and copyright to
3278 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
3280 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
3282 * time/mktime.c: Use ISO C form for function definitions and
3283 remove unnecessary prototypes.
3285 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
3287 * time/time.h: Avoid unneccesary #ifdef.
3289 1999-02-15 Geoff Keating <geoffk@ozemail.com.au>
3291 * stdio-common/_itoa.c (_itoa): Correct parameters to
3294 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3296 * misc/sys/cdefs.h: Undefine __PMT since it might be defined
3297 before (e.g. in glob.h).
3300 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3302 * sysdeps/mips/fpu_control.h: Fix typo.
3303 Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
3306 1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
3308 * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
3309 the "unused" ends of the sockets. Let pipes be bidirectional.
3311 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
3313 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
3316 1999-02-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3318 * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by
3319 Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
3321 * manual/setjmp.texi (Non-Local Exits and Signals): Fix
3322 typo. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
3324 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
3326 * string/Versions: Add __strverscmp to GLIBC_2.1.1.
3328 1999-02-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3330 * misc/syslog.c (vsyslog): Remember errno for %m format. Fix
3331 check for priority mask.
3333 1999-02-14 Ulrich Drepper <drepper@cygnus.com>
3335 * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
3336 Reported by Craig Metz <cmetz@inner.net> .
3338 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3340 * stdio-common/Makefile (tests): tllformat added.
3342 * stdio-common/tllformat.c: New program, based on tiformat.c with
3343 examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3345 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3347 * posix/test-vfork.c: Fix exit status test.
3349 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3351 * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
3352 missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
3354 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3356 * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
3357 of separare explicit comparisons.
3359 1999-02-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3361 * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
3364 * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
3367 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
3369 * po/el.po: Update from translation team.
3371 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3373 * intl/locale.alias: Fix slovenian entry [PR libc/948].
3375 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3377 * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
3378 * inet/ruserpass.c: Likewise.
3379 * locale/programs/stringtrans.c: Likewise.
3380 * locale/programs/localedef.c: Likewise.
3381 * nscd/grpcache.c: Likewise.
3382 * nss/nss_files/files-XXX.c: Likewise.
3383 * stdlib/canonicalize.c: Likewise.
3384 * sysdeps/posix/sigwait.c: Likewise.
3386 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3388 * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
3389 even on 64 bit platforms.
3391 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
3392 Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
3394 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
3396 * intl/dcgettext.c: Include locale.h is available.
3398 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
3400 * po/nl.po: Update from translation team.
3402 * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
3404 * Makefile: Allow calling goals for po subdir.
3406 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
3409 * po/el.po: New file.
3411 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3413 * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
3414 when processing DT_SYMBOLIC objects.
3416 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3418 * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
3419 program headers without PT_PHDR only require that they are
3420 contained within one of the loaded segments. Don't use assert,
3421 since that would be a bug in the object, not the dynamic linker.
3423 1999-02-08 Richard Henderson <rth@cygnus.com>
3425 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
3426 restore all call-clobbered fp regs.
3428 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
3430 * po/cs.po: New file.
3432 * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
3435 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
3437 * signal/signal.h: Don't declare __libc_allocate_rtsig.
3438 * include/signal.h: Declare __libc_allocate_rtsig here.
3440 * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
3441 point functions, not do_lookup since the later can be called more
3444 1999-02-03 Jakub Jelinek <jj@ultra.linux.cz>
3446 * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
3447 macro, so that architectures which need to add some special
3448 offset to stack pointer can share this file.
3450 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
3451 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
3452 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
3453 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
3455 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
3456 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
3457 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
3458 between sparc32 and sparc64.
3460 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
3461 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
3462 * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
3463 between sparc32 and sparc64.
3465 * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
3466 * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
3467 * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
3468 between sparc32 and sparc64.
3470 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
3471 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
3472 * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
3473 between sparc32 and sparc64.
3475 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
3477 * Versions.def: New version GLIBC_2.1.1 for libc.
3478 * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
3479 * stdlib/labs.c: Moved to...
3480 * sysdeps/generic/labs.c: ...here.
3481 * stdlib/llabs.c: Moved to...
3482 * sysdeps/generic/llabs.c: ...here.
3483 * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
3484 header. Declare _Exit.
3485 * sysdeps/generic/_exit.c: Add alias _Exit.
3486 * sysdeps/mach/hurd/_exit.c: Likewise.
3487 * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
3488 * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
3489 * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
3490 * sysdeps/unix/_exit.c: Likewise.
3491 * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
3492 imaxdiv and imaxabs. Declare lldiv_t if necessary.
3493 * sysdeps/wordsize-64/inttypes.h: Likewise.
3494 * sysdeps/wordsize-32/llabs.c: New file.
3495 * sysdeps/wordsize-32/lldiv.c: New file.
3496 * sysdeps/wordsize-64/labs.c: New file.
3497 * sysdeps/wordsize-64/ldiv.c: New file.
3498 * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
3499 * manual/startup.texi: Document _Exit.
3501 1999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3503 * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
3505 1999-02-06 Ulrich Drepper <drepper@cygnus.com>
3507 * Versions.def: Add versions for ld.so.
3508 * csu/Versions: Remove __libc_stack_end here.
3509 * elf/Versions: Split libc definitions in libc and ld.so definitions.
3510 * elf/Makefile (ld-map): Change to ld.so.map.
3511 * scripts/versions.awk: Recognize dot in library names.
3513 * ctype/ctype.h: Remove definitions of __tolower and __toupper.
3514 Don't use __tolower and __toupper in inline functions.
3515 Add optimizing macros for tolower and toupper.
3516 * ctype/ctype-extn.c (_tolower): Don't use __tolower.
3517 (_toupper): Don't use __toupper.
3518 * ctype/ctype.c (tolower): Don't use __tolower.
3519 (toupper): Don't use toupper.
3521 * nscd/cache.c (prune_cache): Correct printing of debugging messages.
3523 * resolv/Versions (libresolv): Export __ns_name_unpack and
3525 * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
3526 make it global. Change all users. Similar for ns_name_ntop.
3527 * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
3528 user-provided buffer. Use __ns_name_unpack and __ns_name_ntop
3529 directly to detect too small buffer.
3530 * resolv/nss_dns/dns-network.c: Likewise.
3532 * stdio-common/Makefile (tests): Add scanf12.
3533 * stdio-common/scanf12.c: New file.
3534 * stdio-common/scanf12.input: New file.
3535 * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
3536 floating-point correctly if the number is invalid.
3538 * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
3540 * stdio-common/printf_fp.c: Likewise.
3541 * stdio-common/printf_fphex.c: Likewise.
3542 * stdio-common/vfprintf.c: Likewise.
3545 See ChangeLog.9 for earlier changes.