1 1999-06-15 Ulrich Drepper <drepper@cygnus.com>
3 * posix/regex.c (re_error_msgid): Remove extra commas.
5 1999-06-14 Geoff Keating <geoffk@ozemail.com.au>
7 * stdlib/tst-strtoll.c: New file.
8 * stdlib/Makefile (tests): Add tst-strtoll.c
9 * stdlib/strtol.c: It is not generally true that if
10 (unsigned)a*(unsigned)b overflows, then the result is
13 1999-06-14 Thorsten Kukuk <kukuk@suse.de>
15 * nscd/connections.c (handle_request): Only root is allowed to
16 send GETSTAT request in non secure mode.
17 * nscd/nscd.c: Print error message if other then root try to
20 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
22 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
24 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
26 * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
27 Closes PR libc/1164, reported by sascha@schumann.2ns.de.
29 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
31 * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
32 for character to search, to help the compiler.
33 * sysdeps/generic/strchrnul.c: Likewise.
34 * sysdeps/generic/memchr.c: Likewise.
35 * sysdeps/generic/memccpy.c: Likewise.
36 * sysdeps/generic/rawmemchr.c: Likewise. Fix comment.
38 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
40 * sysdeps/m68k/memchr.S: New file.
41 * sysdeps/m68k/rawmemchr.S: New file.
42 * sysdeps/m68k/strchr.S: New file.
43 * sysdeps/m68k/strchrnul.S: New file.
45 1999-06-13 Geoff Keating <geoffk@ozemail.com.au>
47 * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
48 add `memory' clobber; optimise for constant `val'.
49 (atomic_add): Likewise.
50 (test_and_set): Remove `volatile'; add `memory' clobber; be more
51 like the original `test_and_set'.
52 (compare_and_swap): Remove `volatile'; add `memory' clobber;
53 optimise for constant `oldval'.
54 (always_swap): Remove `volatile'; add `memory' clobber.
56 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
58 * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
59 functions for gcc <= 2.7.x.
61 1999-06-13 Roland McGrath <roland@baalperazim.frob.com>
63 * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
66 1999-06-13 Ulrich Drepper <drepper@cygnus.com>
68 * db2/Makefile (distribute): Remove files which do not exist
71 * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
72 definitions to calm down gcc.
74 * db2/db.h: Update from db 2.7.5.
75 * db2/db_185.h: Likewise.
76 * db2/db_int.h: Likewise.
77 * db2/btree/bt_compare.c: Likewise.
78 * db2/btree/bt_conv.c: Likewise.
79 * db2/btree/bt_curadj.c: Likewise.
80 * db2/btree/bt_cursor.c: Likewise.
81 * db2/btree/bt_delete.c: Likewise.
82 * db2/btree/bt_open.c: Likewise.
83 * db2/btree/bt_page.c: Likewise.
84 * db2/btree/bt_put.c: Likewise.
85 * db2/btree/bt_rec.c: Likewise.
86 * db2/btree/bt_recno.c: Likewise.
87 * db2/btree/bt_rsearch.c: Likewise.
88 * db2/btree/bt_search.c: Likewise.
89 * db2/btree/bt_split.c: Likewise.
90 * db2/btree/bt_stat.c: Likewise.
91 * db2/btree/btree_auto.c: Likewise.
92 * db2/common/db_appinit.c: Likewise.
93 * db2/common/db_apprec.c: Likewise.
94 * db2/common/db_err.c: Likewise.
95 * db2/common/db_region.c: Likewise.
96 * db2/common/db_salloc.c: Likewise.
97 * db2/db/db.c: Likewise.
98 * db2/db/db.src: Likewise.
99 * db2/db/db_am.c: Likewise.
100 * db2/db/db_auto.c: Likewise.
101 * db2/db/db_dispatch.c: Likewise.
102 * db2/db/db_dup.c: Likewise.
103 * db2/db/db_iface.c: Likewise.
104 * db2/db/db_join.c: Likewise.
105 * db2/db/db_overflow.c: Likewise.
106 * db2/db/db_pr.c: Likewise.
107 * db2/db/db_rec.c: Likewise.
108 * db2/db/db_ret.c: Likewise.
109 * db2/db185/db185.c: Likewise.
110 * db2/dbm/dbm.c: Likewise.
111 * db2/hash/hash.c: Likewise.
112 * db2/hash/hash_auto.c: Likewise.
113 * db2/hash/hash_dup.c: Likewise.
114 * db2/hash/hash_page.c: Likewise.
115 * db2/hash/hash_rec.c: Likewise.
116 * db2/hash/hash_stat.c: Likewise.
117 * db2/include/btree.h: Likewise.
118 * db2/include/btree_ext.h: Likewise.
119 * db2/include/clib_ext.h: Likewise.
120 * db2/include/common_ext.h: Likewise.
121 * db2/include/db_am.h: Likewise.
122 * db2/include/db_auto.h: Likewise.
123 * db2/include/db_cxx.h: Likewise.
124 * db2/include/db_ext.h: Likewise.
125 * db2/include/db_join.h: Likewise.
126 * db2/include/db_page.h: Likewise.
127 * db2/include/hash.h: Likewise.
128 * db2/include/hash_ext.h: Likewise.
129 * db2/include/lock.h: Likewise.
130 * db2/include/lock_ext.h: Likewise.
131 * db2/include/log.h: Likewise.
132 * db2/include/log_ext.h: Likewise.
133 * db2/include/mp.h: Likewise.
134 * db2/include/mp_ext.h: Likewise.
135 * db2/include/os.h: Likewise.
136 * db2/include/os_ext.h: Likewise.
137 * db2/include/os_func.h: Likewise.
138 * db2/include/txn.h: Likewise.
139 * db2/include/txn_auto.h: Likewise.
140 * db2/include/txn_ext.h: Likewise.
141 * db2/include/xa.h: Likewise.
142 * db2/include/xa_ext.h: Likewise.
143 * db2/lock/lock.c: Likewise.
144 * db2/lock/lock_conflict.c: Likewise.
145 * db2/lock/lock_deadlock.c: Likewise.
146 * db2/lock/lock_region.c: Likewise.
147 * db2/lock/lock_util.c: Likewise.
148 * db2/log/log.c: Likewise.
149 * db2/log/log_archive.c: Likewise.
150 * db2/log/log_auto.c: Likewise.
151 * db2/log/log_findckp.c: Likewise.
152 * db2/log/log_get.c: Likewise.
153 * db2/log/log_put.c: Likewise.
154 * db2/log/log_rec.c: Likewise.
155 * db2/log/log_register.c: Likewise.
156 * db2/mp/mp_bh.c: Likewise.
157 * db2/mp/mp_fget.c: Likewise.
158 * db2/mp/mp_fopen.c: Likewise.
159 * db2/mp/mp_fput.c: Likewise.
160 * db2/mp/mp_fset.c: Likewise.
161 * db2/mp/mp_open.c: Likewise.
162 * db2/mp/mp_pr.c: Likewise.
163 * db2/mp/mp_region.c: Likewise.
164 * db2/mp/mp_sync.c: Likewise.
165 * db2/mutex/mutex.c: Likewise.
166 * db2/mutex/uts4_cc.s: Likewise.
167 * db2/os/os_abs.c: Likewise.
168 * db2/os/os_alloc.c: Likewise.
169 * db2/os/os_config.c: Likewise.
170 * db2/os/os_dir.c: Likewise.
171 * db2/os/os_fid.c: Likewise.
172 * db2/os/os_fsync.c: Likewise.
173 * db2/os/os_map.c: Likewise.
174 * db2/os/os_oflags.c: Likewise.
175 * db2/os/os_open.c: Likewise.
176 * db2/os/os_rw.c: Likewise.
177 * db2/os/os_seek.c: Likewise.
178 * db2/os/os_sleep.c: Likewise.
179 * db2/os/os_spin.c: Likewise.
180 * db2/os/os_stat.c: Likewise.
181 * db2/os/os_tmpdir.c: Likewise.
182 * db2/os/os_unlink.c: Likewise.
183 * db2/progs/db_archive/db_archive.c: Likewise.
184 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
185 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
186 * db2/progs/db_dump/db_dump.c: Likewise.
187 * db2/progs/db_load/db_load.c: Likewise.
188 * db2/progs/db_printlog/README: Likewise.
189 * db2/progs/db_printlog/commit.awk: Likewise.
190 * db2/progs/db_printlog/count.awk: Likewise.
191 * db2/progs/db_printlog/db_printlog.c: Likewise.
192 * db2/progs/db_printlog/pgno.awk: Likewise.
193 * db2/progs/db_printlog/range.awk: Likewise.
194 * db2/progs/db_printlog/status.awk: Likewise.
195 * db2/progs/db_printlog/txn.awk: Likewise.
196 * db2/progs/db_recover/db_recover.c: Likewise.
197 * db2/progs/db_stat/db_stat.c: Likewise.
198 * db2/txn/txn.c: Likewise.
199 * db2/txn/txn.src: Likewise.
200 * db2/txn/txn_auto.c: Likewise.
201 * db2/txn/txn_rec.c: Likewise.
202 * db2/xa/xa.c: Likewise.
203 * db2/xa/xa_db.c: Likewise.
204 * db2/xa/xa_map.c: Likewise.
206 * db2/btree/bt_close.c: Removed.
207 * db2/db/db_thread.c: Likewise.
208 * db2/hash/hash_debug.c: Likewise.
209 * db2/include/db.h.src: Likewise.
210 * db2/include/db_int.h.src: Likewise.
211 * db2/include/os_jump.h: Likewise.
212 * db2/mutex/alpha.dec: Likewise.
213 * db2/mutex/alpha.gcc: Likewise.
214 * db2/mutex/parisc.hp: Likewise.
215 * db2/mutex/uts4.cc.s: Likewise.
217 * db2/Makefile: Add new routines, remove old for 2.7.5.
218 * db2/Versions: Add internal function names for the helper programs.
219 * db2/makedb.c: Update for new cursor callback.
220 * Versions.def: Define versions for libdb.
222 1999-06-13 Thorsten Kukuk <kukuk@suse.de>
224 * nscd/connections.c (nscd_run): Get user ID for all non-db services.
225 * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
226 * nscd/nscd_nischeck.c: New file.
227 * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
229 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
231 * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
232 MSG_* flags from Linux 2.2.9.
234 1999-06-12 Mark Kettenis <kettenis@gnu.org>
236 * Makeconfig (static-start-installed-name): Set to
237 $(start-installed-name) if not defined.
238 (+link-static): Use $(static-start-installed-name) instead of
239 $(start-installed-name).
240 * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
243 1999-06-12 Mark Kettenis <kettenis@gnu.org>
245 * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
246 inserting a send right into the child instead of unconditionally
247 copying the send right.
249 1999-06-12 Ulrich Drepper <drepper@cygnus.com>
251 * locale/lc-time.c: Add free_mem function to free if necessary
252 statically allocated memory.
254 1999-06-10 Jakub Jelinek <jj@ultra.linux.cz>
256 * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
257 bias from the raw exponent.
259 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
261 * inet/arpa/tftp.h: Move attribute declaration in right position.
263 1999-06-11 Thorsten Kukuk <kukuk@suse.de>
265 * nscd/nscd.c: Add -S options for separate caching of data for
266 every user. So one user couldn't see the data another user
267 has gotten with his credentials.
268 * nscd/nscd.h: Add new prototypes.
269 * nscd/cache.c: Compare owner of cache entry if in secure mode.
270 * nscd/connections.c: Check on shutdown if caller really was root.
271 In secure mode get uid of caller.
272 * nscd/grpcache.c: Add support for new secure group mode.
273 * nscd/hstcache.c: Add support for new secure hosts mode.
274 * nscd/pwdcache.c: Add support for new secure passwd mode.
276 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
278 * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
279 of user-provided buffer.
281 1999-06-11 Mark Kettenis <kettenis@gnu.org>
283 * hurd/hurdsock.c (max_domain): Initialize to `-1'.
284 (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
286 1999-06-10 Ulrich Drepper <drepper@cygnus.com>
288 * stdio-common/printf-parse.h (parse_one_spec): Add support for a
291 * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
292 returning after last entry.
293 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
295 1999-06-09 Ulrich Drepper <drepper@cygnus.com>
297 * misc/sysexits.h: Remove advertising clause of copyright.
298 * resolv/getnetnamadr.c: Likewise.
299 * sysdeps/vax/bcopy.s: Likewise.
300 * sysdeps/vax/bzero.s: Likewise.
301 * sysdeps/vax/ffs.s: Likewise.
302 * sysdeps/vax/memchr.s: Likewise.
303 * sysdeps/vax/memcmp.s: Likewise.
304 * sysdeps/vax/memmove.s: Likewise.
305 * sysdeps/vax/memset.s: Likewise.
306 * sysdeps/vax/strcat.s: Likewise.
307 * sysdeps/vax/strchr.s: Likewise.
308 * sysdeps/vax/strcmp.s: Likewise.
309 * sysdeps/vax/strcpy.s: Likewise.
310 * sysdeps/vax/strcspn.s: Likewise.
311 * sysdeps/vax/strlen.s: Likewise.
312 * sysdeps/vax/strncat.s: Likewise.
313 * sysdeps/vax/strncmp.s: Likewise.
314 * sysdeps/vax/strncpy.s: Likewise.
315 * sysdeps/vax/strpbrk.s: Likewise.
316 * sysdeps/vax/strrchr.s: Likewise.
317 * sysdeps/vax/strsep.s: Likewise.
318 * sysdeps/vax/strspn.s: Likewise.
319 * sysdeps/vax/strstr.s: Likewise.
321 * libio/iofopncook.c: Adjust for renaming of structure elements.
322 * libio/libio.h: Define cookie functions with all the names.
324 * pwd/fgetpwent_r.c: Set errno in the correct way.
325 * shadow/fgetspent_r.c: Likewise.
326 * pwd/fgetpwent.c: Handle long lines correctly. Little
327 optimizations. Free static buffer when debugging memory handling.
328 * shadow/fgetspent.c: Likewise.
330 * grp/fgetgrent.c: Little optimization in loop.
332 1999-06-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
334 * grp/tst_fgetgrent.c (write_group): Fix generation of long line
337 1999-06-09 Jakub Jelinek <jj@ultra.linux.cz>
339 * stdlib/longlong.h: gas changed sethi handling when without
341 * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
342 port specific cache id checks.
343 * sysdeps/generic/dl-cache.h: New file.
344 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
346 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
348 * gmon/gmon.c: Remove advertising clause of copyright.
349 * gmon/mcount.c: Likewise.
350 * gmon/sys/gmon.h: Likewise.
351 * inet/arpa/ftp.h: Likewise.
352 * inet/arpa/telnet.h: Likewise.
353 * inet/arpa/tftp.h: Likewise.
354 * inet/inet_lnaof.c: Likewise.
355 * inet/inet_mkadr.c: Likewise.
356 * inet/inet_net.c: Likewise.
357 * inet/inet_netof.c: Likewise.
358 * inet/protocols/routed.h: Likewise.
359 * inet/protocols/rwhod.h: Likewise.
360 * inet/protocols/talkd.h: Likewise.
361 * inet/protocols/timed.h: Likewise.
362 * inet/rcmd.c: Likewise.
363 * inet/rexec.c: Likewise.
364 * inet/ruserpass.c: Likewise.
365 * io/fts.c: Likewise.
366 * io/fts.h: Likewise.
367 * login/login_tty.c: Likewise.
368 * misc/fstab.h: Likewise.
369 * misc/getttyent.c: Likewise.
370 * misc/getusershell.c: Likewise.
371 * misc/sys/queue.h: Likewise.
372 * misc/sys/syslog.h: Likewise.
373 * misc/syslog.c: Likewise.
374 * misc/ttyent.h: Likewise.
375 * misc/ttyslot.c: Likewise.
376 * resolv/arpa/nameser.h: Likewise.
377 * resolv/gethnamaddr.c: Likewise.
378 * resolv/herror.c: Likewise.
379 * resolv/inet_addr.c: Likewise.
380 * resolv/mapv4v6addr.h: Likewise.
381 * resolv/mapv4v6hostent.h: Likewise
382 * resolv/nss_dns/dns-host.c: Likewise.
383 * resolv/nss_dns/dns-network.c: Likewise.
384 * resolv/res_comp.c: Likewise.
385 * resolv/res_data.c: Likewise.
386 * resolv/res_debug.c: Likewise.
387 * resolv/res_init.c: Likewise.
388 * resolv/res_mkquery.c: Likewise.
389 * resolv/res_query.c: Likewise.
390 * resolv/res_send.c: Likewise.
391 * resolv/resolv.h: Likewise.
392 * sysdeps/generic/div.c: Likewise.
393 * sysdeps/generic/netinet/ip.h: Likewise.
394 * sysdeps/generic/netinet/tcp.h: Likewise.
395 * sysdeps/generic/paths.h: Likewise.
396 * sysdeps/generic/prof-freq.c: Likewise.
397 * sysdeps/generic/sys/ttydefaults.h: Likewise.
398 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
399 * sysdeps/gnu/netinet/tcp.h: Likewise.
400 * sysdeps/ieee754/support.c: Likewise.
401 * sysdeps/mach/hurd/sys/param.h: Likewise.
402 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
403 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
404 * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
405 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
406 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
407 * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
408 * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
409 * sysdeps/unix/sysv/linux/paths.h: Likewise.
410 * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
411 * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
412 * sysdeps/vax/DEFS.h: Likewise.
413 * termios/sys/ttychars.h: Likewise.
414 * misc/daemon.c: Likewise. Call fork.
416 * grp/fgetgrent.c (buffer): Make file local variable.
417 (free_mem): New function. Call for malloc debugging.
419 * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
421 1999-06-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
423 * grp/Makefile: Add rules for tst_fgetgrent.
425 * grp/tst_fgetgrent.c: Rewritten to read only one file.
427 * grp/tst_fgetgrent.sh: New file.
429 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
431 * grp/Makefile (tests): Add tst_fgetgrent.
432 * grp/tst_fgetgrent.c: New file.
433 Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
435 1999-06-07 Roland McGrath <roland@baalperazim.frob.com>
437 * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
438 be POSIX compliant. Prior definition was broken for Hurd.
439 Reported by Mark Kettenis <kettenis@gnu.org>.
441 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
443 * ctype/ctype.h: Protect __tobody code by __extension__.
445 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
447 * grp/fgetgrent.c (fgetgrent): Remember position of stream before
448 reading and reset in case the buffer was too small.
450 * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
453 1999-06-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
455 * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
456 another SIOGIFNAME typo.
458 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
460 * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
462 * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
465 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
467 * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
468 the precision if the mantissa is zero.
470 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
472 * manual/lang.texi (Floating Point Parameters): GCC already
473 supports long double for a long time.
475 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
477 * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
478 yn_test): Increase some epsilons.
480 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
482 * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
485 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
487 * sysdeps/unix/sysv/linux/kernel-features.h: Define
488 __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
489 * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
490 SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
492 * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
493 * sysdeps/libm-ieee754/w_j0f.c: Likewise.
494 * sysdeps/libm-ieee754/w_j0l.c: Likewise.
495 * sysdeps/libm-ieee754/w_j1.c: Likewise.
496 * sysdeps/libm-ieee754/w_j1f.c: Likewise.
497 * sysdeps/libm-ieee754/w_j1l.c: Likewise.
498 * sysdeps/libm-ieee754/w_jn.c: Likewise.
499 * sysdeps/libm-ieee754/w_jnf.c: Likewise.
500 * sysdeps/libm-ieee754/w_jnl.c: Likewise.
502 * stdio-common/vfprintf.c: Correct typos.
504 * math/libm-test.c (jn_test): Adjust delta.
508 * elf/do-lookup.h: It should never happen that if we expect a versioned
509 symbol from a file the file has no version table. This should have
510 been checked in dl-version.c.
511 * elf/dl-lookup.c: Include assert.h.
513 * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
516 * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
518 1999-06-06 Andi Kleen <ak@muc.de>
520 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
523 1999-06-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
525 * math/libm-test.c (yn_test): Change one delta.
530 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
532 * malloc/malloc.c: Introduce local variable __libc_getpagesize to
533 avoid multiple calls to getpagesize() which might be a syscall.
535 1999-06-06 Philip Blundell <philb@gnu.org>
537 * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
539 1999-06-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
541 * manual/install.texi (Running make install): Correct typo in
542 dynamic linker invocation.
544 1999-06-05 Philip Blundell <philb@gnu.org>
546 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
547 problems with GOT addressing.
549 1999-06-05 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
551 * malloc/malloc.c (check_action): Change into bitmap so that both
552 diagnostic and abort can be requested by setting it to 3.
553 (mALLOC_SET_STATe): Disable malloc checking if necessary.
555 1999-06-03 Ulrich Drepper <drepper@cygnus.com>
557 * configure.in: Few changes for HPUX.
559 * scripts/config.guess: Update from latest version.
560 * scripts/config.sub: Likewise.
562 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
564 * Makerules: Set LC_ALL explicitly to archieve correct sorting of
565 map files. Closes PR libc/1147.
567 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
569 * math/libm-test.c (main): Add new test functions.
570 (jn_test): New tests.
571 (j1_test): Add some more tests.
572 (j0_test): Add some more tests.
573 (y0_test): Add some more tests.
574 (y1_test): Add some more tests.
576 1999-06-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
578 * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
579 Patch by mhagger@dera.gov.uk [PR libc/1145].
581 * math/libm-test.c (y1_test): New tests.
585 (main): Added new tests.
587 1999-06-02 Jakub Jelinek <jj@ultra.linux.cz>
589 * stdlib/longlong.h: Define UDIV_TIME on sparc64.
590 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
591 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
592 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
593 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
594 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
596 1999-06-02 David S. Miller <davem@redhat.com>
598 * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
601 1999-06-02 Ulrich Drepper <drepper@cygnus.com>
603 * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
604 and elide compatibility code if possible.
606 1999-06-01 Ulrich Drepper <drepper@cygnus.com>
608 * manual/llio.texi: Remove menu entry for removed section.
610 1999-05-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
612 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
615 1999-06-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
617 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
620 1999-05-30 Ulrich Drepper <drepper@cygnus.com>
622 * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
624 1999-05-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
626 * manual/stdio.texi: Fix some typos.
628 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
630 * malloc/malloc.h: Properly handle future GCC versions.
632 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
634 * sysdeps/unix/sysv/linux/configure.in: Change version checks to
635 use AC_EGREP_CPP. Change sed pattern to not use alternation. Fix
636 text of error message.
638 * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
640 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
642 * manual/filesys.texi: Extend (f)truncate documentation.
643 * manual/llio.texi: Remove duplicate (f)truncate definition.
645 1999-05-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
647 * manual/stdio.texi (Formatted Output Functions): Mention
648 semantics of snprintf in glibc 2.0.
649 Reported by Ben Pfaff <pfaffben@msu.edu>.
651 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
653 * include/features.h (__GLIBC_MINOR__): Bump to 2.
655 1999-05-27 Ulrich Drepper <drepper@cygnus.com>
657 * math/libm-test.c: Adjust a few more deltas for the poor ARM
660 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
662 * configure.in: Fix typo.
664 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
666 * manual/socket.texi (Host Names): Remove statement that h_errno
667 needs to be declared since this isn't true anymore.
670 1999-05-26 Ulrich Drepper <drepper@cygnus.com>
672 * config.h.in: Add __LINUX_KERNEL_VERSION.
673 * configure.in: Recognize --enable-kernel.
674 * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
675 headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
677 * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
678 given perform runtime test.
680 * sysdeps/unix/sysv/linux/kernel-features.h: New file.
681 * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
682 minimal supported kernel is known to have the feature.
683 * sysdeps/unix/sysv/linux/poll.c: Likewise.
684 * sysdeps/unix/sysv/linux/pread.c: Likewise.
685 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
686 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
687 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
688 * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
689 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
690 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
691 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
692 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
693 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
694 * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
695 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
696 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
697 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
699 * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
701 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
703 * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
705 1999-05-26 Jakub Jelinek <jj@ultra.linux.cz>
707 * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
708 Optimized sparc64 routines.
710 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
712 * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
713 they are the same as ints.
714 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
716 * version.h (VERSION): Bump to 2.1.90.
717 (RELEASE): Mark as development.
719 * stdio-common/vfprintf.c (vfprintf): Don't implement special
720 handling for long long if it is the same as long.
721 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
723 * stdlib/strtol.c: Moved to ...
724 * sysdeps/generic/strtol.c: ...here.
725 * stdlib/strtoul.c: Moved to ...
726 * sysdeps/generic/strtoul.c: ...here.
727 * stdlib/strtoll.c: Moved to ...
728 * sysdeps/generic/strtoll.c: ...here.
729 * stdlib/strtoull.c: Moved to ...
730 * sysdeps/generic/strtoull.c: ...here.
731 * stdlib/strtol_l.c: Moved to ...
732 * sysdeps/generic/strtol_l.c: ...here.
733 * stdlib/strtoul_l.c: Moved to ...
734 * sysdeps/generic/strtoul_l.c: ...here.
735 * stdlib/strtoll_l.c: Moved to ...
736 * sysdeps/generic/strtoll_l.c: ...here.
737 * stdlib/strtoull_l.c: Moved to ...
738 * sysdeps/generic/strtoull_l.c: ...here.
740 * sysdeps/wordsize-64/strtol.c: New file.
741 * sysdeps/wordsize-64/strtoul.c: New file.
742 * sysdeps/wordsize-64/strtoll.c: New file.
743 * sysdeps/wordsize-64/strtoull.c: New file.
744 * sysdeps/wordsize-64/strtol_l.c: New file.
745 * sysdeps/wordsize-64/strtoul_l.c: New file.
746 * sysdeps/wordsize-64/strtoll_l.c: New file.
747 * sysdeps/wordsize-64/strtoull_l.c: New file.
749 * wcsmbs/wcstol.c: Moved to ...
750 * sysdeps/generic/wcstol.c: ...here.
751 * wcsmbs/wcstoul.c: Moved to ...
752 * sysdeps/generic/wcstoul.c: ...here.
753 * wcsmbs/wcstoll.c: Moved to ...
754 * sysdeps/generic/wcstoll.c: ...here.
755 * wcsmbs/wcstoull.c: Moved to ...
756 * sysdeps/generic/wcstoull.c: ...here.
757 * wcsmbs/wcstol_l.c: Moved to ...
758 * sysdeps/generic/wcstol_l.c: ...here.
759 * wcsmbs/wcstoul_l.c: Moved to ...
760 * sysdeps/generic/wcstoul_l.c: ...here.
761 * wcsmbs/wcstoll_l.c: Moved to ...
762 * sysdeps/generic/wcstoll_l.c: ...here.
763 * wcsmbs/wcstoull_l.c: Moved to ...
764 * sysdeps/generic/wcstoull_l.c: ...here.
766 * sysdeps/wordsize-64/wcstol.c: New file.
767 * sysdeps/wordsize-64/wcstoul.c: New file.
768 * sysdeps/wordsize-64/wcstoll.c: New file.
769 * sysdeps/wordsize-64/wcstoull.c: New file.
770 * sysdeps/wordsize-64/wcstol_l.c: New file.
771 * sysdeps/wordsize-64/wcstoul_l.c: New file.
772 * sysdeps/wordsize-64/wcstoll_l.c: New file.
773 * sysdeps/wordsize-64/wcstoull_l.c: New file.
775 1999-05-24 Jakub Jelinek <jj@ultra.linux.cz>
777 * sysdeps/sparc/bits/wordsize.h: New file.
778 * sysdeps/sparc/fpu/bits/fenv.h: New file.
779 * sysdeps/sparc/fpu/fpu_control.h: New file.
780 * sysdeps/sparc/gmp-mparam.h: New file.
782 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
783 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
784 * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
785 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
786 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
787 * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
789 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
790 * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
791 * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
792 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
794 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
795 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
796 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
797 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
798 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
800 1999-05-24 Ulrich Drepper <drepper@cygnus.com>
802 * login/openpty.c (openpty): Make sure pty does not because
805 * ctype/ctype.h: Don't optimize toupper/tolower for C++.
807 1999-05-23 Roland McGrath <roland@baalperazim.frob.com>
809 * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
810 Do proper error return.
812 1999-05-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
814 * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
815 of __P in the rest of glibc; define __MALLOC_PMT and use it.
816 Reported by Stephan Kulow <coolo@kde.org>.
818 1999-05-23 Ulrich Drepper <drepper@cygnus.com>
820 * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
822 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
824 1999-05-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
826 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
827 names to protect from user's macro namespace.
828 * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
829 * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
830 * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
831 * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
832 * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
834 * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
835 sysdeps/arm/fpu/fesetenv.c: Likewise.
836 * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
837 sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
838 sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
839 * sysdeps/mips/fesetenv.c: Likewise.
841 1999-05-22 Roland McGrath <roland@baalperazim.frob.com>
843 * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
845 1999-05-20 Ulrich Drepper <drepper@cygnus.com>
847 * configure.in: Recognize and allow gcc 2.95.
849 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
851 * sysdeps/generic/bits/elfclass.h: Version common to
852 wordsize-32 and wordsize-64.
853 * sysdeps/generic/bits/environments.h: Ditto.
854 * sysdeps/generic/stdint.h: Ditto.
855 * sysdeps/generic/inttypes.h: Ditto.
857 * sysdeps/generic/bits/wordsize.h: New file.
858 * stdlib/Makefile: Add bits/wordsize.h to headers.
860 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
862 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
863 headers to be used for 32bit and 64bit ABI compilations.
864 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
865 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
866 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
867 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
868 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
870 * sysdeps/wordsize-64/bits/elfclass.h: Remove.
871 * sysdeps/wordsize-64/bits/environments.h: Remove.
872 * sysdeps/wordsize-64/stdint.h: Remove.
873 * sysdeps/wordsize-64/inttypes.h: Remove.
874 * sysdeps/wordsize-64/bits/wordsize.h: New file.
876 * sysdeps/wordsize-32/bits/elfclass.h: Remove.
877 * sysdeps/wordsize-32/bits/environments.h: Remove.
878 * sysdeps/wordsize-32/stdint.h: Remove.
879 * sysdeps/wordsize-32/inttypes.h: Remove.
880 * sysdeps/wordsize-32/bits/wordsize.h: New file.
882 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
884 * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
885 __align_cpy_16): New functions.
886 (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
888 * sysdeps/sparc/sparc32/Versions: New file.
889 * sysdeps/sparc/sparc64/Versions: New file.
890 * sysdeps/sparc/Versions: Remove.
892 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
894 * sysdeps/unix/sysv/linux/configure.in:
895 On sparc64-*-linux*, set slibdir to /lib64 if prefix
896 is /usr, plus set libdir to ${exec_prefix}/lib64.
897 * sysdeps/unix/sysv/linux/configure: Regenerated.
898 * config.make.in: Propagate libdir settings from configure
900 * shlib-versions: sparc64-*-linux* dynamic linker is
901 /lib64/ld-linux.so.2.
903 1999-05-18 Thorsten Kukuk <kukuk@suse.de>
905 * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
908 1999-05-18 Jakub Jelinek <jj@ultra.linux.cz>
910 * sysdeps/sparc/sparc64/rawmemchr.S: New file.
911 * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
913 * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
914 contains garbage in bits 8-63.
915 * sysdeps/sparc/sparc64/memset.S: Ditto.
916 * sysdeps/sparc/sparc64/strchr.S: Ditto.
918 1999-05-18 Ulrich Drepper <drepper@cygnus.com>
920 * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
922 1999-05-17 David S. Miller <davem@redhat.com>
924 * sysdeps/sparc/sparc32/atomicity.h: New file.
925 * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
926 * sysdeps/sparc/sparc64/atomicity.h: New file.
927 * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
930 1999-05-18 Richard Henderson <rth@twiddle.net>
932 * sysdeps/alpha/memchr.S: Zap high byte of length. Reschedule.
934 1999-05-04 Zack Weinberg <zack@rabi.phys.columbia.edu>
936 * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
937 posix/sys/types.h: Handle the case of __GNUC__=3,
938 __GNUC_MINOR__=(anything).
940 1999-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
942 * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
945 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
947 * elf/Makefile (distribute): Remove dl-origin.h.
948 Add dl-dst.h and gen-trusted-dirs.awk.
950 1999-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
952 * sysdeps/i386/i486/Versions: New file with inline functions from
953 sysdeps/i386/i486/bits/string.h for now.
955 * sysdeps/i386/Versions: Add inline functions from
956 sysdeps/i386/bits/string.h.
958 * string/Versions: Add inline functions from <bits/string2.h>.
960 * string/Makefile (routines): Add string-inlines.
961 * string/string-inlines.c: New file, used for implementation of
962 extern inline functions.
964 * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
965 non inlined versions of functions.
966 * string/bits/string2.h: Likewise.
967 * sysdeps/i386/bits/string.h: Likewise.
969 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
971 * inet/arpa/tftp.h: Add second packed attribute.
973 1999-05-16 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
975 * malloc/malloc.c: Cleanup to bring in line with released
976 stand-alone version `ptmalloc'. Update some comments.
977 (internal_function): Move fallback definition so that the source
978 compiles outside of libc, and use it in more places.
979 (malloc_atfork): Fix when malloc_check is in use.
981 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
983 * stdlib/tst-strtod.c: Fix typo.
985 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
987 * elf/dl-close.c (_dl_close): Add cast to avoid warning about
990 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
992 * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
994 1999-05-16 Thorsten Kukuk <kukuk@suse.de>
996 * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
997 * sunrpc/key_call.c: Fix memory leak, close file handle.
998 * nis/nis_creategroup.c: Use malloc instead of calloc,
1000 * nis/nis_subr.c: Check for realloc result.
1001 * nis/nis_file.c: Fix memory leak.
1002 * nis/nis_table.c: Pretty print.
1003 * nis/nis_getservlist.c: Likewise.
1004 * nis/nis_ismember.c: Likewise.
1005 * nis/nis_lookup.c: Likewise.
1006 * nis/nis_ping.c: Likewise.
1007 * nis/nis_removemember.c: Likewise.
1008 * nis/nis_util.c: Likewise, check calloc result.
1010 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
1012 * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
1013 * sysdeps/generic/sys/socketvar.h: ... here.
1014 * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
1015 * sysdeps/generic/netinet/in_systm.h: ... here.
1016 * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
1018 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
1019 * inet/Makefile (headers): Add netinet/in_systm.h here.
1020 * socket/Makefile (headers): Add sys/socketvar.h here.
1022 1999-05-15 Ulrich Drepper <drepper@cygnus.com>
1024 * stdlib/strtol.c: Optimize inner loop of long long versions.
1026 * sysdeps/gnu/utmpx.h: Add needed type definitions according to
1027 Unix98. Add forward declaration of struct utmp.
1029 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
1031 * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
1034 * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
1035 * nis/nis_addmember.c (nis_addmember): Fix memory leak. Test
1036 memory allocation results.
1038 1999-05-14 Mark Kettenis <kettenis@gnu.org>
1040 * sysdeps/generic/getutmp.c: Include <string.h>
1041 (getutmp): Rewrite to only copy those members that are really
1042 present in `struct utmp'.
1043 * sysdeps/generic/getutmpx.c: Likewise.
1045 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
1047 * nss/getXXbyYY.c: Add free_mem function which disposes all
1048 statically allocated memory when debugging.
1049 * nss/getXXent.c: Likewise.
1050 * nss/nsswitch.c: Likewise.
1052 1999-05-13 Ulrich Drepper <drepper@cygnus.com>
1054 * sysdeps/gnu/getutmpx.c: New file.
1055 * sysdeps/gnu/getutmp.c: New file.
1057 1999-05-13 H.J. Lu <hjl@gnu.org>
1059 * login/Versions (getutmpx): Added to GLIBC_2.1.1.
1060 (getutmp): Likewise.
1062 * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
1065 * sysdeps/gnu/utmpx.h (getutmp): Added.
1066 (getutmpx): Likewise.
1068 * sysdeps/generic/getutmp.c: New file.
1070 * sysdeps/generic/getutmpx.c: New file.
1072 1999-05-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1074 * glibcbug.in (BUGGLIBC): Change address to
1075 libc-alpha@sourceware.cygnus.com.
1077 1999-05-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1079 * resolv/arpa/nameser.h: Add C++ protectors.
1081 1999-05-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1083 * iconvdata/gconv-modules: Fix alias for CP1255. Reported by
1084 Elad Tsur <eladts@post.tau.ac.il>.
1086 1999-05-11 Ulrich Drepper <drepper@cygnus.com>
1088 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
1089 * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
1090 lazily if LD_BIND_NOW is not set.
1091 * elf/dl-support.c (_dl_lazy): New variable.
1092 (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
1093 * elf/rtld.c (_dl_lazy): new global variable.
1094 ( dl_main): Remove lazy, replace it by _dl_lazy.
1096 1999-05-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1098 * locale/setlocale.c (new_composite_name): Check also whether the
1099 first category name differs.
1101 1999-05-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1103 * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
1106 1999-05-11 Philip Blundell <pb@nexus.co.uk>
1108 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
1109 structure; storage suitable for any socket address.
1110 * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
1112 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
1113 sockaddr_storage): Likewise.
1115 * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
1118 1999-05-10 Ulrich Drepper <drepper@cygnus.com>
1120 * hesiod/Versions: Change _nss_hesiod_getpwuid and
1121 _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
1122 _nss_hesiod_getgrgid_r respectively. Fixes pr libc/1115.
1124 1999-05-09 Mark Kettenis <kettenis@gnu.org>
1126 * hurd/get-host.c (_hurd_get_host_config): Return an empty value
1127 if the file is empty.
1129 1999-05-07 Ulrich Drepper <drepper@cygnus.com>
1131 * elf/do-lookup.h: Fix typo in comment.
1133 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
1134 f_bsize to help some broken programs.
1136 * stdio-common/tst-printf.c: Add test case for last _itoa problem.
1138 * stdio-common/vfprintf.c: Fix typo.
1140 1999-05-06 Ulrich Drepper <drepper@cygnus.com>
1142 * elf/link.h (struct link_map): New field l_phdr_allocated.
1143 * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
1144 the program header being part of any loaded segment. If it is not
1145 allocate memory and set l_phdr_allocated flag.
1146 * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
1148 * nss/digits_dots.c: Correct return value interpretation of
1149 inet_ntoa. Fix PR libc/1109.
1151 1999-05-06 Zack Weinberg <zack@rabi.columbia.edu>
1153 * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
1155 1999-05-06 Thorsten Kukuk <kukuk@suse.de>
1157 * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
1158 * stdlib/fpioconst.c: Move #endif before end of struct.
1160 1999-05-05 Ulrich Drepper <drepper@cygnus.com>
1162 * Versions.def (ld.so): Add GLIBC_2.1.1.
1163 * elf/Makefile (routines): Add dl-origin.
1164 (tests): Add origtest. Add dependencies for the program.
1165 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
1166 _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
1167 * elf/dl-deps.c (expand_dst): New macro. Expand DSTs in filename.
1168 (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
1169 DT_AUXILIARY, and DT_FILTER filenames.
1170 * elf/dl-load.c (expand_dynamic_string_token): Explode into
1171 two functions and three macros.
1172 (_dl_dst_count, _dl_dst_substitute): New functions.
1173 * elf/dl-dst.h: New file.
1174 * elf/dl-open.c (_dl_open): Take extra parameter with address of
1175 caller. Pass address in args structure.
1176 (dl_open_worker): Recognize and expand DSTs in filename.
1177 * elf/ldsodefs.h (_dl_open): Adapt prototype.
1178 * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
1179 (__dlopen_check): Pass caller address to dlopen_doit in args.
1180 * elf/dlopendoit.c: Likewise.
1181 * iconv/gconv_dl.c: Adapt call of _dl_open.
1182 * nss/nsswitch.c: Likewise.
1183 * elf/origtest.c: New file.
1184 * sysdeps/generic/dl-origin.h: Moved to...
1185 * sysdeps/generic/dl-origin.c: ...here.
1186 * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
1187 * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
1189 * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
1190 with specific bases and only few bits set in second word.
1192 * timezone/Makefile (install-others): Create target directory
1193 before creating tzfiles.
1195 1999-05-05 Thorsten Kukuk <kukuk@suse.de>
1197 * nis/nis_file.c (readColdStartFile): Allocate memory only after
1198 the file is opened successfully.
1200 * nis/nis_table.c: Fix some memory leaks.
1202 1999-05-04 Ulrich Drepper <drepper@cygnus.com>
1204 * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
1207 * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
1208 around DST. Correctly ignore ORIGIN IN SUID binaries.
1210 1999-05-03 Ulrich Drepper <drepper@cygnus.com>
1212 * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
1213 * sysdeps/generic/strtok.c: Likewise.
1215 * string/tester.c: Add test of rawmemchr.
1217 * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
1218 specification. It's not necessary.
1220 * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
1221 * elf/gen-trusted-dirs.awk: New file.
1222 * elf/dl-load.c (systems_dirs): Moved into file scope. Initialize
1223 from SYSTEM_DIRS macro.
1224 (system_dirs_len): New variable. Contains lengths of system_dirs
1226 (fillin_rpath): Rewrite for systems_dirs being a simple string.
1227 Improve string comparisons. Change parameter trusted to be a flag.
1229 (_dt_init_paths): Improve using new format for system_dirs.
1231 * elf/dl-load.c (expand_dynamic_string_token): Don't expand
1232 $ORIGIN for SUID binaries.
1234 * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
1236 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1238 * sunrpc/Makefile: Generate dependencies for all flavors of
1240 (rpcgen-cmd): Pass -Y flag here and remove it from the macro
1243 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1245 * elf/dlopenold.c: Move #if down after includes to get
1248 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1250 * sysdeps/generic/bzero.c: Undefine __bzero.
1252 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
1254 * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
1255 * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
1256 * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
1257 Patch by Craig Small <csmall@scooter.eye-net.com.au>.
1259 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
1260 parameter to struct gaih_servtuple *. Adapt appropriately.
1261 (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
1262 This fixes a memory leak.
1263 Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
1265 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
1266 and fpregset_t definition. They are defined in ucontext.h.
1268 1999-04-14 Scott Bambrough <scottb@netwinder.org>
1270 * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
1271 and struct ether_header must be packed on the ARM. The default
1272 alignment constraints add padding to the end of the structures.
1274 1999-04-14 Scott Bambrough <scottb@netwinder.org>
1276 * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM. The
1277 default alignment constraints add padding to the end of the
1278 structure and between members.
1280 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
1282 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
1283 _dl_cache_libcmp instead of strcmp.
1285 * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
1287 Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
1289 1998-03-30 Joel Klecker <espy@debian.org>
1291 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
1292 (sysdep-others,install-bin): Add lddlibc4.
1294 1999-05-02 H.J. Lu <hjl@gnu.org>
1296 * timezone/zic.c (dolink): Remove the symlink destination first.
1298 * catgets/open_catalog.c (__open_catalog): Set catalog->status
1299 to "nonexisting" if failed to open the file.
1301 1999-05-01 Ulrich Drepper <drepper@cygnus.com>
1303 * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
1306 * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
1307 Prevent warnings from multiplication with 0x01010101 by another cast.
1309 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1311 * string/bits/string2.h (memset): Revert to previous version if
1312 unaligned writes are not available.
1314 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
1316 * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
1317 better code in presence of the asm.
1319 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1321 * stdlib/fmtmsg.c (keywords): Increase array size for faster
1324 * locale/localeinfo.h (_nl_category_names): Increase array element
1325 size for faster indexing.
1326 * locale/setlocale.c (_nl_category_names): Adjusted.
1328 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1330 * iconv/gconv_conf.c (add_alias): Remove wrong cast.
1332 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1334 * sysdeps/m68k/stackinfo.h: New file.
1336 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
1338 * string/tester.c (test_strchrnul): New function.
1339 (test_memset): Test one more special case.
1341 * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
1344 * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
1347 * string/bits/string2.h: Fix bugs I introduced in last change.
1349 * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
1351 Extend memset optimization.
1352 Correct i686 version of memchr.
1354 1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
1356 * sysdeps/i386/bzero.c: Add #undef __bzero.
1358 * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
1359 EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
1360 exec server simulated a SIGTRAP before we even started up, so gdb is
1363 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
1365 * nss/digits_dots.c: Always initialize not_ok.
1367 1999-04-30 09:02 -0400 Zack Weinberg <zack@rabi.columbia.edu>
1369 * string/bits/string2.h (memset): Avoid arithmetic overflow at
1370 compile time, which produces obnoxious warnings. If GCCv2 is
1371 in use, map __bzero to __builtin_memset to enable that
1374 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
1376 * string/bits/string2.h: Add more memset optimizations.
1378 * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
1380 * resolv/inet_pton.c (inet_pton4): Little optimizations.
1381 (inet_pton6): Likewise.
1383 * nss/getXXbyYY_r.c: Include assert.h.
1384 * nss/getXXbyYY.c: Likewise.
1386 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1388 * termios/tcgetsid.c (tcgetsid): Rename variable to
1389 tiocgsid_does_not_work.
1391 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
1393 * inet/getnameinfo.c (nrl_domainname): Fix last patch.
1395 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1397 * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
1398 This allows e.g. gethostbyname to accept "10.1234".
1399 Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
1401 * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
1402 non quad IPv4 numbers.
1404 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1406 * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
1408 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
1410 * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
1411 * argp/argp-parse.c (_argp_hang): Likewise.
1412 * argp/argp-pv.c (argp_program_version): Likewise.
1413 * argp/argp-pvh.c (argp_program_version_hook): Likewise.
1414 * inet/ether_hton.c (ether_hton, startp): Likewise.
1415 * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
1416 * inet/getnetgrent_r.c (setup, startp): Likewise.
1417 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
1418 * intl/localealias.c (string_space, string_space_act, string_space_max,
1419 nmap, maxmap): Likewise.
1420 * libio/iopopen.c (proc_file_chain): Likewise.
1421 * libio/oldiopopen.c (old_proc_file_chain): Likewise.
1422 * locale/lc-collate.c (__collate_table, __collate_extra,
1423 __collate_element_hash, __collate_element_strings,
1424 __collate_element_values): Likewise.
1425 * malloc/mcheck.c (mcheck_used): Likewise.
1426 * malloc/mtrace.c (added_atexit_handler): Likewise.
1427 * malloc/set-freeres.c (already_called): Likewise.
1428 * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
1429 * misc/syslog.c (LogStat, LogTag): Likewise.
1430 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
1431 * nss/getXXbyYY_r.c (startp): Likewise.
1432 * posix/getopt.c (optarg, __getopt_initialized): Likewise.
1433 * posix/regex.c (init_syntax_once) [done]: Likewise.
1435 * string/strfry.c (init): Likewise.
1436 * sunrpc/svc_run.c (svc_top): Likewise.
1437 * posix/euidaccess.c (have_ids): Likewise.
1438 * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
1439 * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
1440 * time/getdate.c (getdate_err): Likewise.
1441 * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
1443 * time/tzset.c (old_tz, is_initialized): Likewise.
1445 * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
1446 of static data with zero.
1447 * signal/allocrtsig.c (init): Likewise.
1449 * string/Makefile (routines): Add strchrnul.
1450 * string/Versions [GLIBC_2.1.1]: Add strchrnul.
1451 * string/string.c: Add strchrnul prototype.
1452 * include/string.h: Add __strchrnul prototype.
1453 * sysdeps/generic/strchrnul.c: New file.
1454 * sysdeps/i386/strchrnul.S: New file.
1455 * sysdeps/i386/bits/string.c: Add strchrnul optimization.
1456 * sysdeps/i386/i486/bits/string.c: Likewise.
1457 * argp/argp-help.c (argp_args_usage): Use __strchrnul.
1458 * inet/ether_line.c (ether_line): Likewise.
1459 * nscd/nscd_conf.c (nscd_parse_file): Likewise.
1460 * nss/nsswitch.c (nss_parse_file): Likewise.
1461 * posix/execvp.c (execvp): Likewise.
1462 * posix/fnmatch.c (internal_fnmatch): Likewise.
1463 * resolv/res_hconf.c (_res_hconv_init): Likewise.
1464 * resolv/res_init.c (res_init): Likewise.
1465 * stdlib/fmtmsg.c (init): Likewise.
1466 * stdlib/getsubopt.c (getsubopt): Likewise.
1468 * catgets/catgets.c (catopen): Only allocate one memory block.
1469 (catclose): Only one free call necessary.
1471 * catgets/open_catalog.c (__open_catalog): Simplify handling of
1474 * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
1475 of real functions. Simplify _tolower and _toupper.
1477 * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
1480 * iconv/gconv.h (struct gconv_info): Change data element from pointer
1482 * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
1483 * iconv/gconv_close.c (__gconv_close): Don't free data.
1485 * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
1488 * iconv/gconv_db.c (add_derivation): More efficient copying. Check
1489 for error while inserting in tree.
1491 * include/time.h: Pretty print.
1493 * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
1494 in table and lots of relocations.
1495 * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
1496 string pointers in table and lots of relocations.
1498 * intl/finddomain.c: Remove definition of strchr macro.
1500 * io/ftw.c (nftw_arr, ftw_arr): Make const.
1502 * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
1504 * locale/localeinfo.h (_nl_category_names): Change into an array with
1505 fixed width char string elements.
1506 * locale/setlocale.c (_nl_category_names): Likewise.
1507 (_nl_current): Make global.
1508 * locale/nl_langinfo.c (nldata): Removed. Use _nl_current now.
1510 * malloc/Makefile (distribute): Add stackinfo.h.
1511 * sysdeps/generic/stackinfo.h: New file.
1512 * sysdeps/i386/stackinfo.h: New file.
1513 * posix/execl.c: Use stackinfo.h in optimizing alloca use.
1514 * posix/execle.c: Likewise.
1515 * posix/execlp.c: Likewise.
1517 * nis/nis_table.c (__create_ib_request): Always use realloc.
1519 * posix/execvp.c (execute): Rename to script_execute and keep only
1520 code to execute using shell.
1521 (execvp): Call execv directly and only fall back on script_execute.
1523 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
1524 and always use xdigits instead.
1526 * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
1529 * stdlib/fpioconst.h (__tens): New declaration.
1530 (struct mp_power): Remove array, add arrayoff element.
1531 * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
1532 __tens array and add in _fpioconst_pow10 offsets into __tens.
1533 * stdio-common/printf_fp.c: Rewrite to use new __tens array.
1534 * stdlib/strtod.c: Likewise.
1536 * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
1538 * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
1540 * stdlib/atexit.c (__exit_funcs): Don't initialize.
1542 * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
1544 * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
1545 a single and an array with offsets.
1547 * sunrpc/des_soft.c (partab): Make it const.
1549 * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
1550 (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
1551 (__key_decryptsession_pk_LOCAL): Likewise.
1552 (__key_gendes_LOCAL): Likewise.
1553 (MESSENGER): Mark const.
1554 (key_call_private_main): Don't initialize with 0.
1555 (use_keyenvoy): Don't initialize with 0.
1556 (key_call): Rewrite to reverse logic of use_doors variable.
1558 * sunrpc/netname.c (OPSYS): Define as array, not pointer.
1559 (startp): Don't initialize with zero.
1561 * sunrpc/openchild.c (_openchild): Make first argument const.
1563 * sunrpc/pmap_rmt.c (timeout): Mark const.
1564 * sunrpc/xcrypt.c (hex): Likewise.
1566 * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
1567 initialization of global variables.
1568 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
1569 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1570 * termios/tcgetsid.c: Likewise.
1572 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
1575 * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
1576 block. Add function to free memory if wanted.
1577 * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
1579 * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
1581 * wcsmbs/wmemset.c: Little code optimization.
1583 1999-04-23 Paul Eggert <eggert@twinsun.com>
1585 * stdlib/strtoull.c: Surround strong_alias and weak_alias with
1588 1999-04-28 Roland McGrath <roland@baalperazim.frob.com>
1590 * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
1591 implementation and just always fail with ENOSYS. This entry point is
1592 obsolete. Add link warning to that effect.
1594 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
1596 * hurd/get-host.c: Include <hurd/lookup.h>.
1598 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
1600 * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
1603 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1605 * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
1608 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
1610 * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
1611 Patch by Peter Miller <millerp@canb.auug.org.au>.
1613 1999-04-27 Thorsten Kukuk <kukuk@suse.de>
1615 * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
1616 prefers loopback device.
1618 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
1620 * posix/fnmatch.c (internal_fnmatch): Finish incomplete
1621 no_leading_period change.
1623 * posix/testfnm.c: More test cases.
1625 1999-04-27 Ulrich Drepper <drepper@cygnus.com>
1627 * include/dirent.h: Remove __getdirentries declaration, add __getdents
1629 * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
1630 * sysdeps/unix/readdir_r.c: Likewise.
1631 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1632 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
1633 * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
1634 __getdirentries. Remove fourth argument.
1635 * sysdeps/unix/sysv/linux/getdirentries.c: New file.
1636 * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
1637 * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
1638 Add getdirentries and getdirentries64.
1639 * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
1641 * posix/fnmatch.c (internal_fnmatch): Correctly reset string
1642 pointer in case of an invalid [[: expression.
1644 * posix/testfnm.c: Add more test cases.
1646 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
1648 * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
1649 set, pass EXEC_SIGTRAP flag in exec RPC.
1651 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
1653 * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch. Take
1654 extra parameter. Fix several more bugs involving wildcard and
1656 (fnmatch): New function. Call internal_fnmatch.
1658 * posix/testfnm.c: More test cases.
1660 1999-04-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1662 * manual/install.texi (Configuring and compiling): Explain that
1663 files are changed in the source directory.
1665 (Configuring and compiling): Explain situation with PARALLELMFLAGS
1666 in the source directory.
1668 1999-04-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1670 * locale/programs/ld-ctype.c: Spelling fixes.
1671 (ctype_finish): Fix argument of error message format.
1672 * locale/programs/ld-messages.c: Spelling fixes.
1673 * locale/programs/ld-monetary.c: Spelling fixes.
1674 * locale/programs/ld-time.c (time_finish): Make sure that name and
1675 format of era_entries are adjacent.
1676 (time_output): Reduce the size of the io vector.
1678 1999-04-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1680 * manual/filesys.texi (Attribute Meanings): Move a misplaced
1683 1999-04-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1685 * locale/programs/ld-collate.c (collate_output): Convert
1686 undefined_offset to an array index. Fix computation of other
1689 1999-04-26 Roland McGrath <roland@baalperazim.frob.com>
1691 * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
1692 return success with empty value.
1694 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
1696 * posix/fnmatch.c: Include string.h also for glibc.
1697 (fnmatch, case '?'): Optimize if cascades a bit.
1698 (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
1700 * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
1702 1999-04-24 Ulrich Drepper <drepper@cygnus.com>
1704 * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
1705 * iconv/gconv_int.h: Declare UTF16 functions.
1706 * iconv/gconv_simple.c: Add UTF16 conversion functions.
1708 1999-04-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1710 * posix/wordexp.c (parse_param): Fix type of offset to allow it to
1711 be used correctly as parameter for parse_dollars/parse_tilde.
1713 1999-04-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1715 * manual/conf.texi (Utility Limits): Remove duplicate description
1718 1999-04-19 Ulrich Drepper <drepper@cygnus.com>
1720 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
1721 outbufend for dst==NULL.
1723 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
1725 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
1729 * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
1732 1999-04-18 Thorsten Kukuk <kukuk@suse.de>
1734 * sunrpc/Makefile: Remove special handling of bootparam.x,
1735 add rpcsvc/bootparam.h to headers.
1736 * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
1737 * sunrpc/rpcsvc/bootparam.x: Renamed to...
1738 * sunrpc/rpcsvc/bootparam_prot.x: ...this.
1740 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
1742 * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
1743 detect and handle invalid descriptors.
1745 1999-04-17 Thorsten Kukuk <kukuk@suse.de>
1747 * timezone/zic.c (dolink): Append complete path not only filename
1750 1999-04-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1752 * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
1754 1999-04-17 Ulrich Drepper <drepper@cygnus.com>
1756 * iconvdata/gconv-modules: Rename CP874 to IBM874.
1757 * iconvdata/Makefile: Likewise.
1758 * iconvdata/cp874.h: Removed.
1759 * iconvdata/cp874.c: Renamed to...
1760 * iconvdata/ibm874.c: ...this.
1762 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
1764 * sysdeps/unix/sysv/linux/bits/types.h: Correct
1765 signed/unsigned-ness of blkcnt and fsblkcnt.
1766 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1767 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1769 * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
1770 SOL_AAL, and SOL_IRDA.
1772 1999-04-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1774 * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero. Don't
1775 include "linux_fsinfo.h".
1776 Based on a patch by H.J. Lu <hjl@gnu.org>.
1778 1999-04-16 Thorsten Kukuk <kukuk@suse.de>
1780 * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
1782 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
1784 * nscd/cache.c (prune_cache): Only disable file checking for
1785 future if the file does not exist.
1786 Update file_mtime if cache was flushed.
1788 1999-04-15 David S. Miller <davem@redhat.com>
1790 * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
1791 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
1793 1999-04-15 Scott Bambrough <scottb@netwinder.org>
1795 * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
1796 compilation of file.
1798 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
1800 * Versions.def: Add GLIBC_2.1.1 to libpthread.
1802 * iconvdata/Makefile (modules): Add KOI8-U.
1803 (distribute): Add koi8-u.c.
1804 (gen-8bit-gap-modules): Add koi8-u.
1805 * iconvdata/gconv-modules: Add KOI8-U entries.
1806 * iconvdata/koi8-u.c: New file.
1808 1999-04-13 Thorsten Kukuk <kukuk@suse.de>
1810 * sunrpc/auth_des.c: 64bit fixes, security fixes.
1811 * sunrpc/auth_none.c: Pretty print.
1812 * sunrpc/auth_unix.c: Likewise.
1813 * sunrpc/authdes_prot.c: Likewise.
1814 * sunrpc/authuxprot.c: Likewise.
1815 * sunrpc/bindrsvprt.c: Likewise.
1816 * sunrpc/clnt_gen.c: Likewise.
1817 * sunrpc/rpc/xdr.h: Likewise.
1818 * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
1819 * sunrpc/rpc_cmsg.c: Don't use *long pointers.
1820 * sunrpc/rtime.c: Use new rpc_timeval.
1821 * sunrpc/svc_authux.c: Don't use *long pointers.
1822 * sunrpc/svcauth_des.c: Likewise + security fixes.
1823 * sunrpc/xdr_mem.c: Don't use *long pointers.
1824 * sunrpc/xdr_rec.c: Likewise.
1825 * sunrpc/xdr_sizeof.c: Likewise.
1826 * sunrpc/xdr_stdio.c: Likewise.
1828 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
1830 * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
1831 so that it is redone for each sending.
1833 1999-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1835 * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
1837 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
1839 * iconv/gconv_db.c (__gconv_find_transform): If conversion is
1840 known to not exist don't try to load shared objects.
1841 Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
1843 * nscd/cache.c (prune_cache): The table might not be unused. In
1844 this case do nothing.
1846 * catgets/gencat.c (read_input_file): Don't drop white spaces
1847 between number/identifier and string.
1848 Patch by Dima Barsky <dima@pwd.hp.com>.
1849 If no white space at all follows number/identifier remove existing
1850 message with the number/identifier.
1852 1999-04-14 H.J. Lu <hjl@gnu.org>
1854 * sunrpc/clnt_udp.c (is_network_up): New function.
1855 (clntudp_call): Call is_network_up () to check if any network
1856 interface is up in case of timeout.
1858 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1860 * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
1861 * wctype/Makefile (tests): Add test_wcfuncs.
1863 1999-04-14 Jakub Jelinek <jj@ultra.linux.cz>
1865 * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
1867 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
1869 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
1870 instead of CFLAGS. For gnulib and string directories use
1871 -Wa,-Av9a gcc ASFLAGS.
1872 * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
1873 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
1874 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
1875 * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
1876 the same way as sparc-*.
1878 1999-04-14 Ulrich Drepper <drepper@cygnus.com>
1880 * locale/programs/locfile.c (locfile_read): Fix typo.
1881 Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
1883 1999-04-14 Scott Bambrough <scottb@netwinder.org>
1885 * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
1886 restarted after being interrupted by a signal. The parameters on
1887 the stack were corrupted by the signal handler.
1889 * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
1890 restarted after being interrupted by a signal. The parameters on
1891 the stack were corrupted by the signal handler.
1893 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1895 * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
1896 Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
1898 1999-04-12 Tim Waugh <tim@cyberelk.demon.co.uk>
1900 * posix/wordexp-test.c: In field-splitting test cases where
1901 subshells were involved, unset IFS first: some shells (ash) use
1902 IFS even when no expansion is performed.
1904 1999-04-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1906 * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
1907 the real end of the chunk, not some random point inbetween.
1908 (_IO_obstack_xsputn): Likewise. Actually copy the data into the
1909 obstack when growing. Use fast version of obstack_blank when
1911 (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
1912 allocating the vtable pointer.
1913 (_IO_obstack_vprintf): Adjust for above change and avoid
1914 unnecessary casts. Use fast version of obstack_blank when
1918 1999-04-12 Ulrich Drepper <drepper@cygnus.com>
1920 * iconvdata/gconv-modules: Fix typo. Add UJIS alias.
1921 Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
1923 1999-04-11 Tim Waugh <tim@cyberelk.demon.co.uk>
1925 * posix/wordexp.c (wordexp): Fix a leak when an invalid character
1926 is seen, as well as fixing semantics. Don't reset the word count
1927 to zero when an invalid character is seen, but leave it as it was
1928 (this makes a difference with WRDE_APPEND).
1930 * posix/wordexp-test.c: More test cases.
1932 * posix/wordexp.c (parse_param): In words like ${var#pattern},
1933 always expand pattern when it is needed. Also, handle quoting in
1936 1999-04-12 Philip Blundell <philb@gnu.org>
1938 * elf/elf.h: Update ARM definitions to match current gas2.
1940 * sysdeps/arm/bits/endian.h: Support big endian operation.
1942 * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
1943 Don't bother range checking the port number.
1945 * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
1947 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
1948 the syscall name in assembler output for ease of debugging.
1950 * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
1952 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
1953 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
1954 (sysdep_routines): Add sigrestorer.
1956 * string/tester.c (test_strcpy): Add new tests for unaligned
1958 * sysdeps/arm/bits/string.h: Delete inline implementations of
1961 1999-04-11 Ulrich Drepper <drepper@cygnus.com>
1963 * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
1965 1999-04-10 Mark Kettenis <kettenis@gnu.org>
1967 * sysdeps/mach/hurd/Dist: Add clk_tck.c.
1969 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
1971 * iconvdata/Makefile (modules): Add TIS-620.
1972 (distribute): Add tis-620.c.
1973 (gen-8bit-gap-modules): tis-620.
1974 * iconvdata/tis-620.c: New file.
1975 * iconvdata/gconv-modules: Add TIS-620 entries.
1977 * iconvdata/asmo_449.c: Correct comment.
1979 1999-04-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1981 * manual/install.texi (Configuring and compiling): Comment out
1982 description of --disable-static since this doesn't work currently
1983 (see change by Ulrich Drepper on 1998-12-07 for configure.in).
1985 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
1987 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
1989 Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
1991 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1993 * scripts/test-installation.pl (installation_problem): Skip
1994 libnss1_* libraries from glibc-compat add-on.
1996 1999-04-07 H.J. Lu <hjl@gnu.org>
1998 * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
2000 * posix/Versions (__waitpid): Likewise.
2002 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2004 * manual/install.texi (Reporting Bugs): Add section about reported
2005 bugs and correct email address of glibcbug script.
2007 1999-04-01 Thorsten Kukuk <kukuk@suse.de>
2009 * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
2010 * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
2011 xdr_u_longlong_t. Based on patch from Dan Shechter
2012 <damageboy@isdn.net.il>.
2013 * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
2014 * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
2016 * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
2018 1999-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2020 * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
2021 directly if getdents returns with error set.
2023 1999-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2025 * locale/langinfo.h (THOUSEP): Rename second occurence of
2026 THOUSANDS_SEP to THOUSEP.
2027 Reported by Roman Belenov <roman@nstl.nnov.ru>.
2029 1999-04-05 Roland McGrath <roland@baalperazim.frob.com>
2031 * hurd/STATUS: File removed. Moved items that are still relevant into
2032 TODO list in hurd source.
2034 1999-03-26 Mark Kettenis <kettenis@gnu.org>
2036 * sysdeps/mach/hurd/bits/time.h: New file.
2037 * sysdeps/mach/hurd/getrusage.c: New file.
2038 * sysdeps/mach/hurd/clk_tck.c: New file.
2039 * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
2040 * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
2041 (sysdep_routines): Add clk_tck.
2042 * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
2045 1999-04-02 Ulrich Drepper <drepper@cygnus.com>
2047 * misc/syslog.c (closelog_internal): Do not reset LogTag here.
2048 (closelog): But instead here.
2049 Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
2051 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2053 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
2054 the source directory. Fixes PR libc/1059.
2056 1999-04-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2058 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
2059 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
2061 1999-04-01 Ulrich Drepper <drepper@cygnus.com>
2063 * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
2064 * iconvdata/testdata/ISO-8859-14: New file.
2065 * iconvdata/testdata/ISO-8859-14..UTF8: New file.
2066 * iconvdata/testdata/ISO-8859-15: New file.
2067 * iconvdata/testdata/ISO-8859-15..UTF8: New file.
2069 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
2071 * iconvdata/testdata/CP1258: New file.
2072 * iconvdata/testdata/CP1258..UTF8: New file.
2073 * iconvdata/TESTS: Add CP1258 entry.
2075 * iconvdata/cp874.h (to_ucs4): Add Euro sign.
2077 * timezone/africa: Update from tzdata1999d.
2078 * timezone/europe: Likewise.
2079 * timezone/northamerica: Likewise.
2081 1999-03-31 Mark Kettenis <kettenis@gnu.org>
2083 * login/programs/pt_chown.c (main): Save effective user ID before
2084 dropping priviliges and use this to check if the program is
2087 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
2089 * iconvdata/testdata/CP1254: Update for charmap changes.
2090 * iconvdata/testdata/CP1254..UTF8: Likewise.
2091 * iconvdata/testdata/CP1255: Likewise.
2092 * iconvdata/testdata/CP1255..UTF8: Likewise.
2093 * iconvdata/testdata/CP1256: Likewise.
2094 * iconvdata/testdata/CP1256..UTF8: Likewise.
2095 * iconvdata/testdata/CP1257: Likewise.
2096 * iconvdata/testdata/CP1257..UTF8: Likewise.
2098 * iconvdata/Makefile (distribute): Remove cp1258.h.
2099 (gen-8bit-gap-modules): Add cp1258.
2100 * iconvdata/cp1258.h: Removed.
2102 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
2104 * timezone/tst-timezone.c (tests): Add more cases.
2105 (check_tzvars): Mark errors clearer.
2108 1999-03-30 20:59 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
2110 * login/programs/pt_chown.c: Drop privileges if invoked with
2111 arguments. Don't close the master pty.
2113 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
2115 * time/tzfile.c (__tzfile_read): Process transitions from the rear.
2118 1999-03-29 Ulrich Drepper <drepper@cygnus.com>
2120 * elf/rtld.c (process_envvars): Do not automatically prevent lazy
2121 relocation for SUID binaries.
2123 1999-03-29 Paul Eggert <eggert@twinsun.com>
2125 * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
2126 while in child process.
2128 1999-03-29 Jakub Jelinek <jj@ultra.linux.cz>
2130 * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
2131 * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
2132 * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
2133 * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
2134 * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
2136 * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
2137 * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
2138 * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
2139 * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
2140 * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
2141 * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
2142 * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
2143 * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
2144 * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
2145 * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
2146 * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
2147 * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
2148 * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
2149 * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
2150 * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
2151 * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
2152 * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
2153 * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
2154 * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
2155 * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
2156 * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
2157 * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
2158 * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
2159 * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
2160 * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
2161 * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
2163 * sysdeps/sparc/sparc32/bcopy.c: New file.
2164 * sysdeps/sparc/sparc32/bzero.c: New file.
2165 * sysdeps/sparc/sparc32/memchr.S: New file.
2166 * sysdeps/sparc/sparc32/memcpy.S: New file.
2167 * sysdeps/sparc/sparc32/memmove.c: New file.
2168 * sysdeps/sparc/sparc32/memset.S: New file.
2169 * sysdeps/sparc/sparc32/stpcpy.S: New file.
2170 * sysdeps/sparc/sparc32/strchr.S: New file.
2171 * sysdeps/sparc/sparc32/strrchr.c: New file.
2172 * sysdeps/sparc/sparc32/strcpy.S: New file.
2173 * sysdeps/sparc/sparc32/strlen.S: New file.
2174 * sysdeps/sparc/sparc32/strcat.S: New file.
2175 * sysdeps/sparc/sparc32/strcmp.S: New file.
2177 * sysdeps/sparc/sparc64/bcopy.c: New file.
2178 * sysdeps/sparc/sparc64/bzero.c: New file.
2179 * sysdeps/sparc/sparc64/memchr.S: New file.
2180 * sysdeps/sparc/sparc64/memcmp.S: New file.
2181 * sysdeps/sparc/sparc64/memcpy.S: New file.
2182 * sysdeps/sparc/sparc64/memset.S: New file.
2183 * sysdeps/sparc/sparc64/stpcpy.S: New file.
2184 * sysdeps/sparc/sparc64/strcat.S: New file.
2185 * sysdeps/sparc/sparc64/strchr.S: New file.
2186 * sysdeps/sparc/sparc64/strcmp.S: New file.
2187 * sysdeps/sparc/sparc64/strcpy.S: New file.
2188 * sysdeps/sparc/sparc64/strcspn.S: New file.
2189 * sysdeps/sparc/sparc64/strlen.S: New file.
2190 * sysdeps/sparc/sparc64/strncpy.S: New file.
2191 * sysdeps/sparc/sparc64/strpbrk.S: New file.
2192 * sysdeps/sparc/sparc64/strrchr.c: New file.
2193 * sysdeps/sparc/sparc64/strspn.S: New file.
2194 * sysdeps/sparc/sparc64/stpncpy.S: New file.
2195 * sysdeps/sparc/sparc64/strncmp.S: New file.
2197 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
2198 Append -fPIC, don't replace.
2200 * configure.in: Recognize sparcv8plus / sparcv9.
2202 1999-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2204 * malloc/obstack.h (obstack_free): Explicitly convert __obj to
2205 char * to avoid C++ warning.
2206 Patch by yasushi@cs.washington.edu [PR libc/1035].
2208 1999-03-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2210 * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
2211 declared in stdlib.h, correct return value of mkstemp.
2212 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
2214 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
2217 1999-03-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2219 * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
2222 * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
2223 inline functions. Closes PR libc/1049.
2225 1999-03-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2227 * timezone/README: Update from tzdata1999c and tzcode1999c.
2229 * timezone/africa: Update from tzdata1999c.
2230 * timezone/antarctica: Likewise.
2231 * timezone/asia: Likewise.
2232 * timezone/australasia: Likewise.
2233 * timezone/europe: Likewise.
2234 * timezone/northamerica: Likewise.
2235 * timezone/southamerica: Likewise.
2236 * timezone/zone.tab: Likewise.
2238 * timezone/zic.c: Update from tzcode1999c.
2240 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2242 * Makerules: Add $(common-objpfx)Versions.all to common-generated
2243 outside of ifndef avoid-generated.
2245 * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
2247 * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
2249 * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
2251 * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
2252 _IO_old_file_seekoff): Bring over recent changes in fileops.c.
2254 1999-03-26 Mark Kettenis <kettenis@gnu.org>
2256 * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
2257 if we build the profiled library.
2259 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2261 * math/Makefile (gmp-objs): Add inlines. Reported by Andreas
2262 Jaeger <aj@arthur.rhein-neckar.de>
2264 1999-03-25 Roland McGrath <roland@yaumatei.ai.mit.edu>
2266 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
2267 (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
2268 This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
2270 1999-03-24 Roland McGrath <roland@baalperazim.frob.com>
2272 * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
2273 works properly in subdirs.
2275 1999-03-23 Roland McGrath <roland@baalperazim.frob.com>
2277 * sysdeps/mach/hurd/Makefile: Undo last change.
2278 [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
2279 [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
2281 * mach/Machrules (+preinit, +postinit, +interp,
2282 LDFLAGS-$(interface.so)): Variables removed. Interface libraries get
2283 linked just like other shared libraries.
2284 (interface.so): Fix typo in defn, so it works.
2285 ($(objpfx)$(interface.so)): Make it depend on libc.so.
2287 1999-03-21 Roland McGrath <roland@baalperazim.frob.com>
2289 * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
2290 $(link-rpcuserlibs).
2292 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2294 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
2295 $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
2296 targets if not building shared libraries.
2298 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2300 * configure.in: Also look in $PATH when searching for
2301 install-info. Remove autoconf bug workaround and require autoconf
2304 1999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2306 * db/Makefile: Don't try to install shared library link if not
2307 building with shared libs.
2309 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2311 * rt/Makefile: Link against static library if no shared lib is
2314 * localedata/Makefile: The shells scripts implementing the test
2315 require the dynamic linker which is not available with
2316 --disable-shared. Skip the test if --disable-shared is given.
2318 * linuxthreads/Makefile: Link test against static libpthread if no
2319 shared lib is available.
2321 * iconvdata/Makefile (tests): Run iconv-test only if we're
2322 building shared libraries.
2323 * elf/Makefile (tests): Likewise for elf tests.
2325 * posix/Makefile: The test frameworks globtest and wordexp-test
2326 require the dynamic linker which is not available with
2327 --disable-shared. Skip the test if --disable-shared is given.
2329 * grp/Makefile (otherlibs): For static nss build link against
2332 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2334 * debug/Makefile (install-bin): Install and build catchsegv only
2335 if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR
2338 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2340 * time/tzfile.c (__tzfile_read): Handle the case where there are
2341 transitions but no DST.
2343 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>
2345 * mach/Machrules (extra-libs-others): Add $(interface-library) here
2346 too, so it gets built in the others pass rather than the lib pass.
2347 This is necessary since the RPC libraries need to be linked against
2350 1999-03-19 Roland McGrath <roland@baalperazim.frob.com>
2352 * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
2355 * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
2356 ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
2357 ($(link-rpcuserlibs)): New static pattern rule; link intermediate
2358 versions of lib{mach,hurd}user.so without reference to libc.so,
2359 then link libc.so against that to get deps and symbol versions, then
2360 finally link real lib*user.so against libc.so.
2362 * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
2363 Support whole-file locking (only) by using the file_lock RPC. This
2364 has very wrong semantics, but is better than nothing for the time
2365 being. (Correct POSIX.1 locking will require new RPCs in the Hurd
2366 protocols that will be somewhat hairy to specify.)
2368 1999-03-17 Mark Kettenis <kettenis@gnu.org>
2370 * sysdeps/mach/hurd/ptsname.c: New file.
2372 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2374 * timezone/asia: Fix rule in Asia/Nicosia entry.
2376 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2378 * manual/getopt.texi (Using Getopt): Explain "::" in option
2379 string. Reported by Yuri Niyazov <yuricake@geocities.com>.
2381 1999-03-18 Thorsten Kukuk <kukuk@suse.de>
2383 * sunrpc/clnt_unix.c: Fix creation of parameters for
2384 sendmsg/recvmsg on non intel platforms.
2385 * sunrpc/svc_unix.c: Likewise.
2387 1999-03-18 Philip Blundell <philb@gnu.org>
2389 * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386
2392 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2394 * timezone/africa: Update from tzdata1999b.
2395 * timezone/asia: Likewise.
2396 * timezone/australasia: Likewise.
2397 * timezone/europe: Likewise.
2398 * timezone/northamerica: Likewise.
2399 * timezone/southamerica: Likewise.
2400 * timezone/zone.tab: Likewise.
2402 * timezone/README: Mention tzdata1999b.
2404 1999-03-17 Ulrich Drepper <drepper@cygnus.com>
2406 * sysdeps/generic/segfault.c (write_strsignal): New function.
2407 (catch_segfault): Use it instead of calling strsignal.
2409 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2411 * iconv/gconv.c (__gconv): Change type of last_start to unsigned
2412 char to avoid warning.
2414 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
2416 * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
2418 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
2419 outbuf to unsigned char to avoid warning.
2421 1999-03-11 David S. Miller <davem@redhat.com>
2423 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
2425 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
2427 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
2429 * iconv/gconv.h (gconv_fct): Change parameter from `char' to
2431 (gconv_step_data): Likewise.
2432 * iconv/gconv_int.h (__gconv): Likewise.
2433 (__BUILINT_TRANS): Likewise.
2434 * iconv/gconv.c (__gconv): Likewise.
2435 * iconv/iconv.c (iconv): Add casts for call of __gconv.
2436 * iconv/skeleton.c: Change local parameters and variable from `char' to
2437 `unsigned char'. Remove casts from calls into modules.
2438 * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
2439 `char' to `unsigned char'.
2440 * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
2441 * wcsmbs/mbrtowc.c: Likewise.
2442 * wcsmbs/mbsnrtowcs.c: Likewise.
2443 * wcsmbs/mbsrtowcs.c: Likewise.
2444 * wcsmbs/wcrtomb.c: Likewise.
2445 * wcsmbs/wcsnrtombs.c: Likewise.
2446 * wcsmbs/wcsrtombs.c: Likewise.
2447 * wcsmbs/wctob.c: Likewise.
2449 1999-03-15 Mark Kettenis <kettenis@gnu.org>
2451 * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
2452 __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
2453 __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
2454 __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
2455 __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
2456 __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
2458 1999-03-15 Mark Kettenis <kettenis@gnu.org>
2460 * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
2461 _hurd_select if TIMEMOUT is -1.
2463 1999-03-15 Mark Kettenis <kettenis@gnu.org>
2465 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
2467 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
2469 * elf/dl-load.c: Compute rtld_search_dir array size correctly.
2470 Reported by Yasushi Saito <yasushi@cs.washington.edu>.
2472 1999-03-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2474 * manual/libc.texinfo: Undo last change for now.
2476 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
2478 * intl/locale.alias: Add entries for Croatian.
2479 Patch by Tomislav Vujec <tvujec@CARNet.hr>.
2481 1999-03-13 Mark Kettenis <kettenis@gnu.org>
2483 * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
2484 if the opened master pty really is a pty. `isatty' checks for
2485 tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE
2486 if we are out of pty's.
2488 1999-03-13 Mark Kettenis <kettenis@gnu.org>
2490 * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
2491 opened file is closed on exec.
2492 * login/utmp_daemon.c (setutent_daemon): Likewise for the just
2495 1999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2497 * manual/llio.texi (File Position Primitive): Reformat @end
2498 command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
2500 1999-03-14 Ulrich Drepper <drepper@cygnus.com>
2502 * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
2504 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2505 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
2507 * locale/programs/localedef.c (main): Initialize `cat' to please
2510 1999-03-14 Roland McGrath <roland@baalperazim.frob.com>
2512 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
2513 check for root-owned symlinks and reject them too.
2515 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2517 * stdio-common/printf_fphex.c: Move to ...
2518 * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of
2519 extended precision number.
2520 * sysdeps/m68k/printf_fphex.c: New file.
2522 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2524 * manual/stdio.texi: Fix typos.
2526 1999-03-09 Ulrich Drepper <drepper@cygnus.com>
2528 * version.h (VERSION): Bump to 2.1.1.
2530 1999-03-09 Thorsten Kukuk <kukuk@suse.de>
2532 * nis/ypclnt.c: Try only twice to connect to NIS server.
2534 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
2536 * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
2538 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2540 * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
2541 (DENORM_EXP): New define. Use it as the exponent for a denormal.
2542 * stdlib/strtold.c: Moved to ...
2543 * sysdeps/generic/strtold.c: ... here.
2544 * sysdeps/m68k/strtold.c: New file.
2546 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2548 * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
2549 point if the precision is zero, even if the mantissa is non-zero.
2551 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
2553 * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
2554 arguments into the request message buffer inside `send_rpc'
2555 subfunction. We must repeat the marshalling when retrying the RPC
2556 after a SIGTTOU delivery.
2558 * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
2559 path when there is no ctty port.
2560 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
2561 Move sigstate check inside loop so we recheck after handling a signal.
2563 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2565 * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
2566 O_EXLOCK are BSD extensions.
2567 Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
2569 1999-03-08 Ulrich Drepper <drepper@cygnus.com>
2571 * manual/signal.texi (Termination in Handler): Correct example.
2572 Install default handler before reraising the signal.
2573 Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
2575 1999-03-08 Roland McGrath <roland@baalperazim.frob.com>
2577 * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
2578 null, in which case send an empty string.
2580 1999-03-02 Mark Kettenis <kettenis@gnu.org>
2582 * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
2583 backward compatibility EH functions to be linked when using
2584 gcc-2.8.1. Patch by Zack Weinberg <zack@rabi.columbia.edu>.
2586 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2588 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
2589 /dev/pts status may change during runtime.
2591 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2593 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
2594 change. /dev/pts status can change during runtime.
2596 1999-03-07 Thorsten Kukuk <kukuk@suse.de>
2598 * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
2600 * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
2601 add some more sanity checks.
2602 * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
2605 1999-03-05 Thorsten Kukuk <kukuk@suse.de>
2607 * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
2608 change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
2609 * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
2610 * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
2611 * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
2613 * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
2614 * nis/nis_print.c: Fix ctime argument for platforms where
2615 sizeof (time_t) != sizeof (int).
2617 1999-03-07 Mark Kettenis <kettenis@gnu.org>
2619 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
2620 CLOCKS_PER_SEC instead of CLK_TCK.
2622 1999-03-05 Ulrich Drepper <drepper@cygnus.com>
2624 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
2625 whether /dev/pts is available.
2626 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
2629 * posix/globtest.sh: Make common_objpfx path absolute and and db2
2630 and hesiod directory to library path [PR libc/1007].
2632 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2634 * resolv/inet_addr.c (inet_aton): Don't allow componets >
2635 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
2637 1999-03-05 Geoff Keating <geoffk@ozemail.com.au>
2639 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
2640 DT_PLTGOT has already been relocated.
2641 (__elf_machine_fixup_plt): Likewise.
2644 1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
2646 * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
2648 1999-03-03 Ulrich Drepper <drepper@cygnus.com>
2650 * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
2651 and fold string to uppercase [PR libc/1005].
2653 1999-03-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2655 * elf/dl-load.c (lose): Fix return type.
2657 1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
2659 * sysdeps/mach/hurd/bits/fcntl.h
2660 [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
2661 * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
2662 set O_NOTRANS as well.
2663 (__hurd_file_name_lookup_retry): At successful end of lookup,
2664 if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
2665 it is a translated node not owned by root.
2666 (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
2667 on the file name passed to LOOKUP.
2669 1999-03-02 Ulrich Drepper <drepper@cygnus.com>
2671 * manual/time.texi (High Resolution Timer): Correct computation in
2672 example. Reported by jjf@devel.cemsys.com.
2674 1999-03-02 Philip Blundell <pb@nexus.co.uk>
2676 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
2677 entry is already relocated.
2679 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2681 * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported
2682 by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
2684 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2686 * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
2687 uc_link which is the right name according to Unix98.
2688 Reported by Craig Metz [PR libc/1001].
2689 * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
2690 * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
2691 * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
2692 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
2693 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise
2694 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
2696 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2698 * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
2701 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2703 * iconvdata/Makefile: Always include iconv-rules, but disable rule
2704 to regenerate it if avoid-generated.
2706 * Makeconfig: Always include sys-dirs, but disable rule to
2707 regenerate it when avoid-generated.
2709 * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
2710 rule to generate sysd-syscalls.
2712 * elf/Makefile (generated): Remove $(objpfx) from names.
2714 1999-02-28 Mark Kettenis <kettenis@gnu.org>
2716 * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
2717 actual length if the adress length is smaller than the input
2718 value. Change type of *LEN paramater to socklen_t.
2719 * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
2720 * sysdeps/mach/hurd/accept.c (accept): Likewise.
2721 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
2722 * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
2723 paramater to socklen_t.
2725 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
2727 * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
2728 msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
2731 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
2733 * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
2734 __get_phys_pages): Cast &HBI to silence warning.
2736 * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
2737 * hurd/hurdchdir.c: New file.
2738 * hurd/hurdfchdir.c: New file.
2739 * sysdeps/mach/hurd/chroot.c: Call
2740 _hurd_change_directory_port_from_name to do the work.
2741 * sysdeps/mach/hurd/chdir.c: Likewise.
2742 * sysdeps/mach/hurd/fchdir.c: Call
2743 _hurd_change_directory_port_from_fd to do the work.
2744 * hurd/fchroot.c: Likewise.
2745 * hurd/hurd.h: Declare them.
2747 1999-02-27 Ulrich Drepper <drepper@cygnus.com>
2749 * elf/dl-load.c (lose): Add more comments to explain the `why'.
2750 (_dl_map_object): Remove redundant test.
2752 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
2754 * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
2755 try to _hurd_port_free a lower-numbered descriptor that was not in any
2758 1999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2760 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
2761 declaration for ____wcstod_l_internal.
2763 * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
2764 __strtod_internal prototype.
2765 * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
2766 (____strtold_l_internal): Add prototype declaration.
2767 (__strtold_l): Call correct function.
2769 1999-02-24 Ulrich Drepper <drepper@cygnus.com>
2771 * elf/elf.h: Add 32bit HPPA definitions.
2773 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2775 * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
2776 non-checked heap is restored when malloc checking was requested by
2778 (struct malloc_state): Add using_malloc_checking.
2779 (MALLOC_STATE_VERSION): Increment minor.
2780 (using_malloc_checking, disallow_malloc_check): New variables.
2781 (__malloc_check_init): Use them.
2782 (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
2783 that it can the chunk is properly instrumented when malloc
2784 checking is enabled. Set the new using_malloc_checking field.
2785 (malloc_hook_ini): Correct signature when _LIBC is not defined.
2787 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2789 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
2790 (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
2793 * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
2794 Don't call elf_get_dynamic_info and _dl_setup_hash a second time
2795 if ld.so is the main program.
2797 1999-02-23 Ulrich Drepper <drepper@cygnus.com>
2799 * stdio-common/vfprintf.c (vfprintf): If precision or width is too
2800 large for work_buffer, allocate new buffer.
2801 (printf_unknown): Likewise. [PR libc/988]
2803 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
2805 * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
2806 instead of stat and fstat.
2807 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2809 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2811 * elf/dl-error.c (_dl_signal_cerror): New function.
2812 (_dl_signal_error): Don't call receiver function.
2813 * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
2814 instead of _dl_signal_error when reporting references to undefined
2815 symbols or versions.
2816 (_dl_lookup_versioned_symbol): Likewise.
2817 (_dl_lookup_versioned_symbol_skip): Likewise.
2818 * elf/dl-version.c (match_symbol): Likewise.
2820 * elf/ldsodefs.h: Declare _dl_signal_cerror.
2822 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
2824 * misc/getttyent.c (getttyent): Release lock on stream later to
2825 also protect global variable zapchar.
2827 * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
2828 __times [PR libc/990].
2830 1999-02-21 David S. Miller <davem@redhat.com>
2832 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
2833 parentheses in Feb 2 changes.
2834 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
2836 1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2838 * sysdeps/generic/glob.c (glob): Save previous errno.
2840 1999-02-21 Ulrich Drepper <drepper@cygnus.com>
2842 * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
2843 lookup functions if it is too small.
2845 1999-02-20 Ulrich Drepper <drepper@cygnus.com>
2847 * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
2848 for tracing to the scope lists.
2849 * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
2850 DT_SYMTAB is always available according to ELF spec.
2852 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
2853 call test whether there is any scope left.
2854 (_dl_lookup_versioned_symbol_skip): Likewise.
2856 * elf/Makefile (distribute): Add do-lookup.h.
2857 * elf/do-lookup.h: New file. Split out from dl-lookup.c.
2858 * elf/dl-lookup.c: Move do_lookup function in separate file and
2859 include the file twice, for handling versioning and without it.
2861 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
2862 entry is already relocated.
2863 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
2864 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
2865 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
2866 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
2868 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
2870 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
2873 * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
2874 load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
2875 DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
2876 (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
2877 rel and rela relocations can both happen and skip one test if this
2879 (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
2881 * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
2883 * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
2885 * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
2886 (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
2887 (_dl_map_object): DT_STRTAB entry is already relocated.
2888 * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
2890 * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
2892 * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
2893 DT_VERSYM entries are already relocated.
2894 (profile_fixup): Likewise.
2895 * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace
2897 (match_symbol): DT_STRTAB entry is already relocated.
2898 (_dl_check_map_versions): Likewise. Also fo DT_VERSYM.
2899 * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
2900 relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated.
2901 * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
2902 (find_needed): DT_STRTAB entry is already relocated.
2903 (dl_main): Pass extra argument to elf_get_dynamic_info.
2904 DT_STRTAB entry is already relocated.
2905 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
2906 DT_PLTGOT entries are already relocated.
2907 (elf_machine_rela): Likewise for DT_SYMTAB.
2908 * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
2910 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2911 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
2912 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
2913 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2914 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
2915 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
2916 (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
2917 * sysdeps/mips/mips64/dl-machine.h: Likewise.
2919 * grp/initgroups.c (initgroups): If function in current module was
2920 successful don't stop but continue to process to get all the groups.
2922 * elf/dl-load.c (_dl_map_object_from_fd): Use global
2923 _dl_pf_to_proot array to convert p_flags value.
2924 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2926 * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
2927 loop to clear `info'.
2929 * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
2930 do the work and don't use inline assembler.
2932 1999-02-19 Ulrich Drepper <drepper@cygnus.com>
2934 * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
2935 * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
2936 noreturn, and prevent it from being inlined.
2937 Define LOSE appropriately.
2938 (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
2939 Optimize decoding of p_flags for certain platforms.
2941 1999-02-19 Philip Blundell <pb@nexus.co.uk>
2943 * Makeconfig (link-libc): When doing a static link, make sure that
2944 libgcc.a is included both before and after libc.a.
2946 1999-02-18 Thorsten Kukuk <kukuk@suse.de>
2948 * nis/nss_compat/compat-spwd.c: Fix handling of default values for
2949 sp_warn, sp_inact, sp_expire and sp_flag.
2951 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
2953 * elf/link.h (link_map): Add l_dev and l_ino.
2954 * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
2955 loaded shared object with all loaded objects. Initialize l_ino
2956 and l_dev in case it's new.
2957 * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
2959 * elf/Makefile: Compile and run new test.
2960 * elf/multiload.c: New file.
2962 * nss/nsswitch.h (service_user): Change name field from const char *
2964 (name_database_entry): Likewise.
2965 * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
2966 for change of `service_user'.
2967 (nss_getline): Adjust memory allocation for change of
2968 `name_database_entry'.
2970 * catgets/catgets.c: Correctly handle NLSPATH from environment
2973 * io/Makefile (routines): Add lock64.
2974 * io/Versions: Add lockf64 for GLIBC_2.1.1.
2975 * sysdeps/generic/lockf64.c: New file.
2977 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
2979 * string/bits/string2.h: Only use strncmp optimization if count
2980 argument is constant.
2982 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
2984 * sysdeps/mach/hurd/revoke.c: New file.
2986 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
2988 * wctype/wctype.h (_ISwbit): Cast result of shift operations to
2989 int to avoid warning about `ISO C restricts enumerator values to
2992 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2994 * elf/dlfcn.h: Fix typo.
2995 * sysdeps/generic/bits/dlfcn.h: Likewise.
2996 * sysdeps/mips/bits/dlfcn.h: Likewise.
2998 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
3000 * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
3001 for the case N == 0.
3003 * db2/Makefile (distribute): Add LICENSE.
3005 1999-02-03 Jeff Bailey <jbailey@nisa.net>
3007 * sysdeps/unix/make_errlist.c: Add i18n and copyright to
3010 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
3012 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
3014 * time/mktime.c: Use ISO C form for function definitions and
3015 remove unnecessary prototypes.
3017 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
3019 * time/time.h: Avoid unneccesary #ifdef.
3021 1999-02-15 Geoff Keating <geoffk@ozemail.com.au>
3023 * stdio-common/_itoa.c (_itoa): Correct parameters to
3026 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3028 * misc/sys/cdefs.h: Undefine __PMT since it might be defined
3029 before (e.g. in glob.h).
3032 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3034 * sysdeps/mips/fpu_control.h: Fix typo.
3035 Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
3038 1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
3040 * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
3041 the "unused" ends of the sockets. Let pipes be bidirectional.
3043 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
3045 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
3048 1999-02-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3050 * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by
3051 Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
3053 * manual/setjmp.texi (Non-Local Exits and Signals): Fix
3054 typo. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
3056 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
3058 * string/Versions: Add __strverscmp to GLIBC_2.1.1.
3060 1999-02-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3062 * misc/syslog.c (vsyslog): Remember errno for %m format. Fix
3063 check for priority mask.
3065 1999-02-14 Ulrich Drepper <drepper@cygnus.com>
3067 * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
3068 Reported by Craig Metz <cmetz@inner.net> .
3070 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3072 * stdio-common/Makefile (tests): tllformat added.
3074 * stdio-common/tllformat.c: New program, based on tiformat.c with
3075 examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3077 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3079 * posix/test-vfork.c: Fix exit status test.
3081 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3083 * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
3084 missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
3086 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3088 * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
3089 of separare explicit comparisons.
3091 1999-02-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3093 * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
3096 * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
3099 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
3101 * po/el.po: Update from translation team.
3103 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3105 * intl/locale.alias: Fix slovenian entry [PR libc/948].
3107 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3109 * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
3110 * inet/ruserpass.c: Likewise.
3111 * locale/programs/stringtrans.c: Likewise.
3112 * locale/programs/localedef.c: Likewise.
3113 * nscd/grpcache.c: Likewise.
3114 * nss/nss_files/files-XXX.c: Likewise.
3115 * stdlib/canonicalize.c: Likewise.
3116 * sysdeps/posix/sigwait.c: Likewise.
3118 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3120 * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
3121 even on 64 bit platforms.
3123 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
3124 Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
3126 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
3128 * intl/dcgettext.c: Include locale.h is available.
3130 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
3132 * po/nl.po: Update from translation team.
3134 * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
3136 * Makefile: Allow calling goals for po subdir.
3138 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
3141 * po/el.po: New file.
3143 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3145 * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
3146 when processing DT_SYMBOLIC objects.
3148 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3150 * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
3151 program headers without PT_PHDR only require that they are
3152 contained within one of the loaded segments. Don't use assert,
3153 since that would be a bug in the object, not the dynamic linker.
3155 1999-02-08 Richard Henderson <rth@cygnus.com>
3157 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
3158 restore all call-clobbered fp regs.
3160 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
3162 * po/cs.po: New file.
3164 * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
3167 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
3169 * signal/signal.h: Don't declare __libc_allocate_rtsig.
3170 * include/signal.h: Declare __libc_allocate_rtsig here.
3172 * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
3173 point functions, not do_lookup since the later can be called more
3176 1999-02-03 Jakub Jelinek <jj@ultra.linux.cz>
3178 * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
3179 macro, so that architectures which need to add some special
3180 offset to stack pointer can share this file.
3182 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
3183 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
3184 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
3185 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
3187 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
3188 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
3189 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
3190 between sparc32 and sparc64.
3192 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
3193 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
3194 * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
3195 between sparc32 and sparc64.
3197 * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
3198 * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
3199 * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
3200 between sparc32 and sparc64.
3202 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
3203 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
3204 * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
3205 between sparc32 and sparc64.
3207 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
3209 * Versions.def: New version GLIBC_2.1.1 for libc.
3210 * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
3211 * stdlib/labs.c: Moved to...
3212 * sysdeps/generic/labs.c: ...here.
3213 * stdlib/llabs.c: Moved to...
3214 * sysdeps/generic/llabs.c: ...here.
3215 * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
3216 header. Declare _Exit.
3217 * sysdeps/generic/_exit.c: Add alias _Exit.
3218 * sysdeps/mach/hurd/_exit.c: Likewise.
3219 * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
3220 * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
3221 * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
3222 * sysdeps/unix/_exit.c: Likewise.
3223 * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
3224 imaxdiv and imaxabs. Declare lldiv_t if necessary.
3225 * sysdeps/wordsize-64/inttypes.h: Likewise.
3226 * sysdeps/wordsize-32/llabs.c: New file.
3227 * sysdeps/wordsize-32/lldiv.c: New file.
3228 * sysdeps/wordsize-64/labs.c: New file.
3229 * sysdeps/wordsize-64/ldiv.c: New file.
3230 * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
3231 * manual/startup.texi: Document _Exit.
3233 1999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3235 * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
3237 1999-02-06 Ulrich Drepper <drepper@cygnus.com>
3239 * Versions.def: Add versions for ld.so.
3240 * csu/Versions: Remove __libc_stack_end here.
3241 * elf/Versions: Split libc definitions in libc and ld.so definitions.
3242 * elf/Makefile (ld-map): Change to ld.so.map.
3243 * scripts/versions.awk: Recognize dot in library names.
3245 * ctype/ctype.h: Remove definitions of __tolower and __toupper.
3246 Don't use __tolower and __toupper in inline functions.
3247 Add optimizing macros for tolower and toupper.
3248 * ctype/ctype-extn.c (_tolower): Don't use __tolower.
3249 (_toupper): Don't use __toupper.
3250 * ctype/ctype.c (tolower): Don't use __tolower.
3251 (toupper): Don't use toupper.
3253 * nscd/cache.c (prune_cache): Correct printing of debugging messages.
3255 * resolv/Versions (libresolv): Export __ns_name_unpack and
3257 * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
3258 make it global. Change all users. Similar for ns_name_ntop.
3259 * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
3260 user-provided buffer. Use __ns_name_unpack and __ns_name_ntop
3261 directly to detect too small buffer.
3262 * resolv/nss_dns/dns-network.c: Likewise.
3264 * stdio-common/Makefile (tests): Add scanf12.
3265 * stdio-common/scanf12.c: New file.
3266 * stdio-common/scanf12.input: New file.
3267 * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
3268 floating-point correctly if the number is invalid.
3270 * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
3272 * stdio-common/printf_fp.c: Likewise.
3273 * stdio-common/printf_fphex.c: Likewise.
3274 * stdio-common/vfprintf.c: Likewise.
3277 See ChangeLog.9 for earlier changes.