1 1999-06-14 Thorsten Kukuk <kukuk@suse.de>
3 * nscd/connections.c (handle_request): Only root is allowed to
4 send GETSTAT request in non secure mode.
5 * nscd/nscd.c: Print error message if other then root try to
8 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __sysctl.
12 1999-06-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
14 * manual/time.texi (Limits on Resources): Describe RLIMIT_AS.
15 Closes PR libc/1164, reported by sascha@schumann.2ns.de.
17 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
19 * sysdeps/generic/strchr.c: Include <memcopy.h> and use reg_char
20 for character to search, to help the compiler.
21 * sysdeps/generic/strchrnul.c: Likewise.
22 * sysdeps/generic/memchr.c: Likewise.
23 * sysdeps/generic/memccpy.c: Likewise.
24 * sysdeps/generic/rawmemchr.c: Likewise. Fix comment.
26 1999-06-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
28 * sysdeps/m68k/memchr.S: New file.
29 * sysdeps/m68k/rawmemchr.S: New file.
30 * sysdeps/m68k/strchr.S: New file.
31 * sysdeps/m68k/strchrnul.S: New file.
33 1999-06-13 Geoff Keating <geoffk@ozemail.com.au>
35 * sysdeps/powerpc/atomicity.h (exchange_and_add): Remove `volatile';
36 add `memory' clobber; optimise for constant `val'.
37 (atomic_add): Likewise.
38 (test_and_set): Remove `volatile'; add `memory' clobber; be more
39 like the original `test_and_set'.
40 (compare_and_swap): Remove `volatile'; add `memory' clobber;
41 optimise for constant `oldval'.
42 (always_swap): Remove `volatile'; add `memory' clobber.
44 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
46 * sysdeps/i386/fpu/bits/mathinline.h: Disable signbit* inline
47 functions for gcc <= 2.7.x.
49 1999-06-13 Roland McGrath <roland@baalperazim.frob.com>
51 * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last
54 1999-06-13 Ulrich Drepper <drepper@cygnus.com>
56 * db2/Makefile (distribute): Remove files which do not exist
59 * sysdeps/i386/fpu/bits/mathinline.h: Add __extension__ to signbit
60 definitions to calm down gcc.
62 * db2/db.h: Update from db 2.7.5.
63 * db2/db_185.h: Likewise.
64 * db2/db_int.h: Likewise.
65 * db2/btree/bt_compare.c: Likewise.
66 * db2/btree/bt_conv.c: Likewise.
67 * db2/btree/bt_curadj.c: Likewise.
68 * db2/btree/bt_cursor.c: Likewise.
69 * db2/btree/bt_delete.c: Likewise.
70 * db2/btree/bt_open.c: Likewise.
71 * db2/btree/bt_page.c: Likewise.
72 * db2/btree/bt_put.c: Likewise.
73 * db2/btree/bt_rec.c: Likewise.
74 * db2/btree/bt_recno.c: Likewise.
75 * db2/btree/bt_rsearch.c: Likewise.
76 * db2/btree/bt_search.c: Likewise.
77 * db2/btree/bt_split.c: Likewise.
78 * db2/btree/bt_stat.c: Likewise.
79 * db2/btree/btree_auto.c: Likewise.
80 * db2/common/db_appinit.c: Likewise.
81 * db2/common/db_apprec.c: Likewise.
82 * db2/common/db_err.c: Likewise.
83 * db2/common/db_region.c: Likewise.
84 * db2/common/db_salloc.c: Likewise.
85 * db2/db/db.c: Likewise.
86 * db2/db/db.src: Likewise.
87 * db2/db/db_am.c: Likewise.
88 * db2/db/db_auto.c: Likewise.
89 * db2/db/db_dispatch.c: Likewise.
90 * db2/db/db_dup.c: Likewise.
91 * db2/db/db_iface.c: Likewise.
92 * db2/db/db_join.c: Likewise.
93 * db2/db/db_overflow.c: Likewise.
94 * db2/db/db_pr.c: Likewise.
95 * db2/db/db_rec.c: Likewise.
96 * db2/db/db_ret.c: Likewise.
97 * db2/db185/db185.c: Likewise.
98 * db2/dbm/dbm.c: Likewise.
99 * db2/hash/hash.c: Likewise.
100 * db2/hash/hash_auto.c: Likewise.
101 * db2/hash/hash_dup.c: Likewise.
102 * db2/hash/hash_page.c: Likewise.
103 * db2/hash/hash_rec.c: Likewise.
104 * db2/hash/hash_stat.c: Likewise.
105 * db2/include/btree.h: Likewise.
106 * db2/include/btree_ext.h: Likewise.
107 * db2/include/clib_ext.h: Likewise.
108 * db2/include/common_ext.h: Likewise.
109 * db2/include/db_am.h: Likewise.
110 * db2/include/db_auto.h: Likewise.
111 * db2/include/db_cxx.h: Likewise.
112 * db2/include/db_ext.h: Likewise.
113 * db2/include/db_join.h: Likewise.
114 * db2/include/db_page.h: Likewise.
115 * db2/include/hash.h: Likewise.
116 * db2/include/hash_ext.h: Likewise.
117 * db2/include/lock.h: Likewise.
118 * db2/include/lock_ext.h: Likewise.
119 * db2/include/log.h: Likewise.
120 * db2/include/log_ext.h: Likewise.
121 * db2/include/mp.h: Likewise.
122 * db2/include/mp_ext.h: Likewise.
123 * db2/include/os.h: Likewise.
124 * db2/include/os_ext.h: Likewise.
125 * db2/include/os_func.h: Likewise.
126 * db2/include/txn.h: Likewise.
127 * db2/include/txn_auto.h: Likewise.
128 * db2/include/txn_ext.h: Likewise.
129 * db2/include/xa.h: Likewise.
130 * db2/include/xa_ext.h: Likewise.
131 * db2/lock/lock.c: Likewise.
132 * db2/lock/lock_conflict.c: Likewise.
133 * db2/lock/lock_deadlock.c: Likewise.
134 * db2/lock/lock_region.c: Likewise.
135 * db2/lock/lock_util.c: Likewise.
136 * db2/log/log.c: Likewise.
137 * db2/log/log_archive.c: Likewise.
138 * db2/log/log_auto.c: Likewise.
139 * db2/log/log_findckp.c: Likewise.
140 * db2/log/log_get.c: Likewise.
141 * db2/log/log_put.c: Likewise.
142 * db2/log/log_rec.c: Likewise.
143 * db2/log/log_register.c: Likewise.
144 * db2/mp/mp_bh.c: Likewise.
145 * db2/mp/mp_fget.c: Likewise.
146 * db2/mp/mp_fopen.c: Likewise.
147 * db2/mp/mp_fput.c: Likewise.
148 * db2/mp/mp_fset.c: Likewise.
149 * db2/mp/mp_open.c: Likewise.
150 * db2/mp/mp_pr.c: Likewise.
151 * db2/mp/mp_region.c: Likewise.
152 * db2/mp/mp_sync.c: Likewise.
153 * db2/mutex/mutex.c: Likewise.
154 * db2/mutex/uts4_cc.s: Likewise.
155 * db2/os/os_abs.c: Likewise.
156 * db2/os/os_alloc.c: Likewise.
157 * db2/os/os_config.c: Likewise.
158 * db2/os/os_dir.c: Likewise.
159 * db2/os/os_fid.c: Likewise.
160 * db2/os/os_fsync.c: Likewise.
161 * db2/os/os_map.c: Likewise.
162 * db2/os/os_oflags.c: Likewise.
163 * db2/os/os_open.c: Likewise.
164 * db2/os/os_rw.c: Likewise.
165 * db2/os/os_seek.c: Likewise.
166 * db2/os/os_sleep.c: Likewise.
167 * db2/os/os_spin.c: Likewise.
168 * db2/os/os_stat.c: Likewise.
169 * db2/os/os_tmpdir.c: Likewise.
170 * db2/os/os_unlink.c: Likewise.
171 * db2/progs/db_archive/db_archive.c: Likewise.
172 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
173 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
174 * db2/progs/db_dump/db_dump.c: Likewise.
175 * db2/progs/db_load/db_load.c: Likewise.
176 * db2/progs/db_printlog/README: Likewise.
177 * db2/progs/db_printlog/commit.awk: Likewise.
178 * db2/progs/db_printlog/count.awk: Likewise.
179 * db2/progs/db_printlog/db_printlog.c: Likewise.
180 * db2/progs/db_printlog/pgno.awk: Likewise.
181 * db2/progs/db_printlog/range.awk: Likewise.
182 * db2/progs/db_printlog/status.awk: Likewise.
183 * db2/progs/db_printlog/txn.awk: Likewise.
184 * db2/progs/db_recover/db_recover.c: Likewise.
185 * db2/progs/db_stat/db_stat.c: Likewise.
186 * db2/txn/txn.c: Likewise.
187 * db2/txn/txn.src: Likewise.
188 * db2/txn/txn_auto.c: Likewise.
189 * db2/txn/txn_rec.c: Likewise.
190 * db2/xa/xa.c: Likewise.
191 * db2/xa/xa_db.c: Likewise.
192 * db2/xa/xa_map.c: Likewise.
194 * db2/btree/bt_close.c: Removed.
195 * db2/db/db_thread.c: Likewise.
196 * db2/hash/hash_debug.c: Likewise.
197 * db2/include/db.h.src: Likewise.
198 * db2/include/db_int.h.src: Likewise.
199 * db2/include/os_jump.h: Likewise.
200 * db2/mutex/alpha.dec: Likewise.
201 * db2/mutex/alpha.gcc: Likewise.
202 * db2/mutex/parisc.hp: Likewise.
203 * db2/mutex/uts4.cc.s: Likewise.
205 * db2/Makefile: Add new routines, remove old for 2.7.5.
206 * db2/Versions: Add internal function names for the helper programs.
207 * db2/makedb.c: Update for new cursor callback.
208 * Versions.def: Define versions for libdb.
210 1999-06-13 Thorsten Kukuk <kukuk@suse.de>
212 * nscd/connections.c (nscd_run): Get user ID for all non-db services.
213 * nscd/Makefile (others, install-sbin): Add nscd_nischeck.
214 * nscd/nscd_nischeck.c: New file.
215 * nscd/nscd.init: Enable use of nscd_nischeck and secure tables.
217 1999-06-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
219 * sysdeps/unix/sysv/linux/bits/socket.h: Add some missing
220 MSG_* flags from Linux 2.2.9.
222 1999-06-12 Mark Kettenis <kettenis@gnu.org>
224 * Makeconfig (static-start-installed-name): Set to
225 $(start-installed-name) if not defined.
226 (+link-static): Use $(static-start-installed-name) instead of
227 $(start-installed-name).
228 * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
231 1999-06-12 Mark Kettenis <kettenis@gnu.org>
233 * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
234 inserting a send right into the child instead of unconditionally
235 copying the send right.
237 1999-06-12 Ulrich Drepper <drepper@cygnus.com>
239 * locale/lc-time.c: Add free_mem function to free if necessary
240 statically allocated memory.
242 1999-06-10 Jakub Jelinek <jj@ultra.linux.cz>
244 * sysdeps/libm-ieee754/s_truncl.c: Subtract exponent
245 bias from the raw exponent.
247 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
249 * inet/arpa/tftp.h: Move attribute declaration in right position.
251 1999-06-11 Thorsten Kukuk <kukuk@suse.de>
253 * nscd/nscd.c: Add -S options for separate caching of data for
254 every user. So one user couldn't see the data another user
255 has gotten with his credentials.
256 * nscd/nscd.h: Add new prototypes.
257 * nscd/cache.c: Compare owner of cache entry if in secure mode.
258 * nscd/connections.c: Check on shutdown if caller really was root.
259 In secure mode get uid of caller.
260 * nscd/grpcache.c: Add support for new secure group mode.
261 * nscd/hstcache.c: Add support for new secure hosts mode.
262 * nscd/pwdcache.c: Add support for new secure passwd mode.
264 1999-06-11 Ulrich Drepper <drepper@cygnus.com>
266 * resolv/nss_dns/dns-host.c (getanswer_r): Correctly track usage
267 of user-provided buffer.
269 1999-06-11 Mark Kettenis <kettenis@gnu.org>
271 * hurd/hurdsock.c (max_domain): Initialize to `-1'.
272 (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
274 1999-06-10 Ulrich Drepper <drepper@cygnus.com>
276 * stdio-common/printf-parse.h (parse_one_spec): Add support for a
279 * shadow/fgetspent_r.c (__fgetspent_r): Set errno to ENOENT for
280 returning after last entry.
281 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
283 1999-06-09 Ulrich Drepper <drepper@cygnus.com>
285 * misc/sysexits.h: Remove advertising clause of copyright.
286 * resolv/getnetnamadr.c: Likewise.
287 * sysdeps/vax/bcopy.s: Likewise.
288 * sysdeps/vax/bzero.s: Likewise.
289 * sysdeps/vax/ffs.s: Likewise.
290 * sysdeps/vax/memchr.s: Likewise.
291 * sysdeps/vax/memcmp.s: Likewise.
292 * sysdeps/vax/memmove.s: Likewise.
293 * sysdeps/vax/memset.s: Likewise.
294 * sysdeps/vax/strcat.s: Likewise.
295 * sysdeps/vax/strchr.s: Likewise.
296 * sysdeps/vax/strcmp.s: Likewise.
297 * sysdeps/vax/strcpy.s: Likewise.
298 * sysdeps/vax/strcspn.s: Likewise.
299 * sysdeps/vax/strlen.s: Likewise.
300 * sysdeps/vax/strncat.s: Likewise.
301 * sysdeps/vax/strncmp.s: Likewise.
302 * sysdeps/vax/strncpy.s: Likewise.
303 * sysdeps/vax/strpbrk.s: Likewise.
304 * sysdeps/vax/strrchr.s: Likewise.
305 * sysdeps/vax/strsep.s: Likewise.
306 * sysdeps/vax/strspn.s: Likewise.
307 * sysdeps/vax/strstr.s: Likewise.
309 * libio/iofopncook.c: Adjust for renaming of structure elements.
310 * libio/libio.h: Define cookie functions with all the names.
312 * pwd/fgetpwent_r.c: Set errno in the correct way.
313 * shadow/fgetspent_r.c: Likewise.
314 * pwd/fgetpwent.c: Handle long lines correctly. Little
315 optimizations. Free static buffer when debugging memory handling.
316 * shadow/fgetspent.c: Likewise.
318 * grp/fgetgrent.c: Little optimization in loop.
320 1999-06-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
322 * grp/tst_fgetgrent.c (write_group): Fix generation of long line
325 1999-06-09 Jakub Jelinek <jj@ultra.linux.cz>
327 * stdlib/longlong.h: gas changed sethi handling when without
329 * sysdeps/generic/dl-cache.c (_dl_cache_lookup): Allow
330 port specific cache id checks.
331 * sysdeps/generic/dl-cache.h: New file.
332 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: New file.
334 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
336 * gmon/gmon.c: Remove advertising clause of copyright.
337 * gmon/mcount.c: Likewise.
338 * gmon/sys/gmon.h: Likewise.
339 * inet/arpa/ftp.h: Likewise.
340 * inet/arpa/telnet.h: Likewise.
341 * inet/arpa/tftp.h: Likewise.
342 * inet/inet_lnaof.c: Likewise.
343 * inet/inet_mkadr.c: Likewise.
344 * inet/inet_net.c: Likewise.
345 * inet/inet_netof.c: Likewise.
346 * inet/protocols/routed.h: Likewise.
347 * inet/protocols/rwhod.h: Likewise.
348 * inet/protocols/talkd.h: Likewise.
349 * inet/protocols/timed.h: Likewise.
350 * inet/rcmd.c: Likewise.
351 * inet/rexec.c: Likewise.
352 * inet/ruserpass.c: Likewise.
353 * io/fts.c: Likewise.
354 * io/fts.h: Likewise.
355 * login/login_tty.c: Likewise.
356 * misc/fstab.h: Likewise.
357 * misc/getttyent.c: Likewise.
358 * misc/getusershell.c: Likewise.
359 * misc/sys/queue.h: Likewise.
360 * misc/sys/syslog.h: Likewise.
361 * misc/syslog.c: Likewise.
362 * misc/ttyent.h: Likewise.
363 * misc/ttyslot.c: Likewise.
364 * resolv/arpa/nameser.h: Likewise.
365 * resolv/gethnamaddr.c: Likewise.
366 * resolv/herror.c: Likewise.
367 * resolv/inet_addr.c: Likewise.
368 * resolv/mapv4v6addr.h: Likewise.
369 * resolv/mapv4v6hostent.h: Likewise
370 * resolv/nss_dns/dns-host.c: Likewise.
371 * resolv/nss_dns/dns-network.c: Likewise.
372 * resolv/res_comp.c: Likewise.
373 * resolv/res_data.c: Likewise.
374 * resolv/res_debug.c: Likewise.
375 * resolv/res_init.c: Likewise.
376 * resolv/res_mkquery.c: Likewise.
377 * resolv/res_query.c: Likewise.
378 * resolv/res_send.c: Likewise.
379 * resolv/resolv.h: Likewise.
380 * sysdeps/generic/div.c: Likewise.
381 * sysdeps/generic/netinet/ip.h: Likewise.
382 * sysdeps/generic/netinet/tcp.h: Likewise.
383 * sysdeps/generic/paths.h: Likewise.
384 * sysdeps/generic/prof-freq.c: Likewise.
385 * sysdeps/generic/sys/ttydefaults.h: Likewise.
386 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
387 * sysdeps/gnu/netinet/tcp.h: Likewise.
388 * sysdeps/ieee754/support.c: Likewise.
389 * sysdeps/mach/hurd/sys/param.h: Likewise.
390 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
391 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
392 * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise.
393 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
394 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise.
395 * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise.
396 * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise.
397 * sysdeps/unix/sysv/linux/paths.h: Likewise.
398 * sysdeps/unix/sysv/linux/sys/quota.h: Likewise.
399 * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise.
400 * sysdeps/vax/DEFS.h: Likewise.
401 * termios/sys/ttychars.h: Likewise.
402 * misc/daemon.c: Likewise. Call fork.
404 * grp/fgetgrent.c (buffer): Make file local variable.
405 (free_mem): New function. Call for malloc debugging.
407 * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
409 1999-06-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
411 * grp/Makefile: Add rules for tst_fgetgrent.
413 * grp/tst_fgetgrent.c: Rewritten to read only one file.
415 * grp/tst_fgetgrent.sh: New file.
417 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
419 * grp/Makefile (tests): Add tst_fgetgrent.
420 * grp/tst_fgetgrent.c: New file.
421 Patches by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
423 1999-06-07 Roland McGrath <roland@baalperazim.frob.com>
425 * db2/os/os_oflags.c (__db_oflags): Fix checking of O_ACCMODE bits to
426 be POSIX compliant. Prior definition was broken for Hurd.
427 Reported by Mark Kettenis <kettenis@gnu.org>.
429 1999-06-08 Ulrich Drepper <drepper@cygnus.com>
431 * ctype/ctype.h: Protect __tobody code by __extension__.
433 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
435 * grp/fgetgrent.c (fgetgrent): Remember position of stream before
436 reading and reset in case the buffer was too small.
438 * grp/fgetgrent_r.c (__fgetgrent_r): Set errno to ENOENT in case
441 1999-06-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
443 * sysdeps/unix/sysv/linux/if_index.c: Use SIGIOCGIFINDEX and fix
444 another SIOGIFNAME typo.
446 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
448 * elf/dl-lookup.c: Remove duplicated assert.h inclusion.
450 * sysdeps/generic/printf_fphex.c (__printf_fphex): Optimize a little
453 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
455 * sysdeps/generic/printf_fphex.c (__printf_fphex): Don't ignore
456 the precision if the mantissa is zero.
458 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
460 * manual/lang.texi (Floating Point Parameters): GCC already
461 supports long double for a long time.
463 1999-06-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
465 * math/libm-test.c (j0_test, j1_test, jn_test, y0_test, y1_test,
466 yn_test): Increase some epsilons.
468 1999-06-07 Ulrich Drepper <drepper@cygnus.com>
470 * sysdeps/unix/sysv/linux/sys/sysmacros.h (makedev): Handle signed
473 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
475 * sysdeps/unix/sysv/linux/kernel-features.h: Define
476 __ASSUME_SIOCGIFNAME for kernel >= 2.1.50.
477 * sysdeps/unix/sysv/linux/if_index.c: Correct typo (SIOGIFNAME ->
478 SIOCGIFNAME) and use __ASSUME_SIOCGIFNAME.
480 * sysdeps/libm-ieee754/w_j0.c: Remove __ from symbol definitions.
481 * sysdeps/libm-ieee754/w_j0f.c: Likewise.
482 * sysdeps/libm-ieee754/w_j0l.c: Likewise.
483 * sysdeps/libm-ieee754/w_j1.c: Likewise.
484 * sysdeps/libm-ieee754/w_j1f.c: Likewise.
485 * sysdeps/libm-ieee754/w_j1l.c: Likewise.
486 * sysdeps/libm-ieee754/w_jn.c: Likewise.
487 * sysdeps/libm-ieee754/w_jnf.c: Likewise.
488 * sysdeps/libm-ieee754/w_jnl.c: Likewise.
490 * stdio-common/vfprintf.c: Correct typos.
492 * math/libm-test.c (jn_test): Adjust delta.
496 * elf/do-lookup.h: It should never happen that if we expect a versioned
497 symbol from a file the file has no version table. This should have
498 been checked in dl-version.c.
499 * elf/dl-lookup.c: Include assert.h.
501 * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct restorer
504 * sysdeps/unix/sysv/linux/i386/sigaction.c (SA_RESTORER): New #define.
506 1999-06-06 Andi Kleen <ak@muc.de>
508 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Set
511 1999-06-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
513 * math/libm-test.c (yn_test): Change one delta.
518 1999-06-06 Ulrich Drepper <drepper@cygnus.com>
520 * malloc/malloc.c: Introduce local variable __libc_getpagesize to
521 avoid multiple calls to getpagesize() which might be a syscall.
523 1999-06-06 Philip Blundell <philb@gnu.org>
525 * stdio-common/tstscanf.c (main): Test the half-word format "%hd".
527 1999-06-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
529 * manual/install.texi (Running make install): Correct typo in
530 dynamic linker invocation.
532 1999-06-05 Philip Blundell <philb@gnu.org>
534 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Fix
535 problems with GOT addressing.
537 1999-06-05 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
539 * malloc/malloc.c (check_action): Change into bitmap so that both
540 diagnostic and abort can be requested by setting it to 3.
541 (mALLOC_SET_STATe): Disable malloc checking if necessary.
543 1999-06-03 Ulrich Drepper <drepper@cygnus.com>
545 * configure.in: Few changes for HPUX.
547 * scripts/config.guess: Update from latest version.
548 * scripts/config.sub: Likewise.
550 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
552 * Makerules: Set LC_ALL explicitly to archieve correct sorting of
553 map files. Closes PR libc/1147.
555 1999-06-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
557 * math/libm-test.c (main): Add new test functions.
558 (jn_test): New tests.
559 (j1_test): Add some more tests.
560 (j0_test): Add some more tests.
561 (y0_test): Add some more tests.
562 (y1_test): Add some more tests.
564 1999-06-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
566 * sysdeps/libm-ieee754/e_j0.c (__ieee754_y0): Fix array indices.
567 Patch by mhagger@dera.gov.uk [PR libc/1145].
569 * math/libm-test.c (y1_test): New tests.
573 (main): Added new tests.
575 1999-06-02 Jakub Jelinek <jj@ultra.linux.cz>
577 * stdlib/longlong.h: Define UDIV_TIME on sparc64.
578 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: New file.
579 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: New file.
580 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: New file.
581 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: New file.
582 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: New file.
584 1999-06-02 David S. Miller <davem@redhat.com>
586 * nscd/nscd_gethst_r.c (nscd_gethst_r): Align the h_addr_list
589 1999-06-02 Ulrich Drepper <drepper@cygnus.com>
591 * sysdeps/unix/sysv/linux/i386/sigaction.c: Read kernel-features.h
592 and elide compatibility code if possible.
594 1999-06-01 Ulrich Drepper <drepper@cygnus.com>
596 * manual/llio.texi: Remove menu entry for removed section.
598 1999-05-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
600 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo and avoid unused
603 1999-06-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
605 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_DDCMP): Add it
608 1999-05-30 Ulrich Drepper <drepper@cygnus.com>
610 * inet/netinet/in.h: Mark ntoh* and hton* as constant functions.
612 1999-05-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
614 * manual/stdio.texi: Fix some typos.
616 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
618 * malloc/malloc.h: Properly handle future GCC versions.
620 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
622 * sysdeps/unix/sysv/linux/configure.in: Change version checks to
623 use AC_EGREP_CPP. Change sed pattern to not use alternation. Fix
624 text of error message.
626 * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'.
628 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
630 * manual/filesys.texi: Extend (f)truncate documentation.
631 * manual/llio.texi: Remove duplicate (f)truncate definition.
633 1999-05-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
635 * manual/stdio.texi (Formatted Output Functions): Mention
636 semantics of snprintf in glibc 2.0.
637 Reported by Ben Pfaff <pfaffben@msu.edu>.
639 1999-05-29 Ulrich Drepper <drepper@cygnus.com>
641 * include/features.h (__GLIBC_MINOR__): Bump to 2.
643 1999-05-27 Ulrich Drepper <drepper@cygnus.com>
645 * math/libm-test.c: Adjust a few more deltas for the poor ARM
648 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
650 * configure.in: Fix typo.
652 1999-05-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
654 * manual/socket.texi (Host Names): Remove statement that h_errno
655 needs to be declared since this isn't true anymore.
658 1999-05-26 Ulrich Drepper <drepper@cygnus.com>
660 * config.h.in: Add __LINUX_KERNEL_VERSION.
661 * configure.in: Recognize --enable-kernel.
662 * sysdeps/unix/sysv/linux/configure.in: Check for correct kernel
663 headers if --enable-kernel is given and set __LINUX_KERNEL_VERSION
665 * sysdeps/unix/sysv/linux/init-first.c: If minimal kernel version is
666 given perform runtime test.
668 * sysdeps/unix/sysv/linux/kernel-features.h: New file.
669 * sysdeps/unix/sysv/linux/getcwd.c: Elide compatibility code if
670 minimal supported kernel is known to have the feature.
671 * sysdeps/unix/sysv/linux/poll.c: Likewise.
672 * sysdeps/unix/sysv/linux/pread.c: Likewise.
673 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
674 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
675 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
676 * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
677 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
678 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
679 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
680 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
681 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
682 * sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
683 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
684 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
685 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
687 * sysdeps/unix/sysv/linux/sysctl.c: Add __sysctl alias.
689 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
691 * sysdeps/posix/getcwd.c (__getcwd): Fix potential memory leaks.
693 1999-05-26 Jakub Jelinek <jj@ultra.linux.cz>
695 * stdlib/longlong.h (add_ssaaaa, sub_ddmmss, umul_ppmm):
696 Optimized sparc64 routines.
698 1999-05-25 Ulrich Drepper <drepper@cygnus.com>
700 * stdio-common/vfprintf.c (vfprintf): Don't handle long numbers if
701 they are the same as ints.
702 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
704 * version.h (VERSION): Bump to 2.1.90.
705 (RELEASE): Mark as development.
707 * stdio-common/vfprintf.c (vfprintf): Don't implement special
708 handling for long long if it is the same as long.
709 * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
711 * stdlib/strtol.c: Moved to ...
712 * sysdeps/generic/strtol.c: ...here.
713 * stdlib/strtoul.c: Moved to ...
714 * sysdeps/generic/strtoul.c: ...here.
715 * stdlib/strtoll.c: Moved to ...
716 * sysdeps/generic/strtoll.c: ...here.
717 * stdlib/strtoull.c: Moved to ...
718 * sysdeps/generic/strtoull.c: ...here.
719 * stdlib/strtol_l.c: Moved to ...
720 * sysdeps/generic/strtol_l.c: ...here.
721 * stdlib/strtoul_l.c: Moved to ...
722 * sysdeps/generic/strtoul_l.c: ...here.
723 * stdlib/strtoll_l.c: Moved to ...
724 * sysdeps/generic/strtoll_l.c: ...here.
725 * stdlib/strtoull_l.c: Moved to ...
726 * sysdeps/generic/strtoull_l.c: ...here.
728 * sysdeps/wordsize-64/strtol.c: New file.
729 * sysdeps/wordsize-64/strtoul.c: New file.
730 * sysdeps/wordsize-64/strtoll.c: New file.
731 * sysdeps/wordsize-64/strtoull.c: New file.
732 * sysdeps/wordsize-64/strtol_l.c: New file.
733 * sysdeps/wordsize-64/strtoul_l.c: New file.
734 * sysdeps/wordsize-64/strtoll_l.c: New file.
735 * sysdeps/wordsize-64/strtoull_l.c: New file.
737 * wcsmbs/wcstol.c: Moved to ...
738 * sysdeps/generic/wcstol.c: ...here.
739 * wcsmbs/wcstoul.c: Moved to ...
740 * sysdeps/generic/wcstoul.c: ...here.
741 * wcsmbs/wcstoll.c: Moved to ...
742 * sysdeps/generic/wcstoll.c: ...here.
743 * wcsmbs/wcstoull.c: Moved to ...
744 * sysdeps/generic/wcstoull.c: ...here.
745 * wcsmbs/wcstol_l.c: Moved to ...
746 * sysdeps/generic/wcstol_l.c: ...here.
747 * wcsmbs/wcstoul_l.c: Moved to ...
748 * sysdeps/generic/wcstoul_l.c: ...here.
749 * wcsmbs/wcstoll_l.c: Moved to ...
750 * sysdeps/generic/wcstoll_l.c: ...here.
751 * wcsmbs/wcstoull_l.c: Moved to ...
752 * sysdeps/generic/wcstoull_l.c: ...here.
754 * sysdeps/wordsize-64/wcstol.c: New file.
755 * sysdeps/wordsize-64/wcstoul.c: New file.
756 * sysdeps/wordsize-64/wcstoll.c: New file.
757 * sysdeps/wordsize-64/wcstoull.c: New file.
758 * sysdeps/wordsize-64/wcstol_l.c: New file.
759 * sysdeps/wordsize-64/wcstoul_l.c: New file.
760 * sysdeps/wordsize-64/wcstoll_l.c: New file.
761 * sysdeps/wordsize-64/wcstoull_l.c: New file.
763 1999-05-24 Jakub Jelinek <jj@ultra.linux.cz>
765 * sysdeps/sparc/bits/wordsize.h: New file.
766 * sysdeps/sparc/fpu/bits/fenv.h: New file.
767 * sysdeps/sparc/fpu/fpu_control.h: New file.
768 * sysdeps/sparc/gmp-mparam.h: New file.
770 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
771 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
772 * sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
773 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
774 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
775 * sysdeps/sparc/sparc64/gmp-mparam.h: Remove.
777 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
778 * sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
779 * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
780 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.
782 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
783 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
784 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
785 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
786 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.
788 1999-05-24 Ulrich Drepper <drepper@cygnus.com>
790 * login/openpty.c (openpty): Make sure pty does not because
793 * ctype/ctype.h: Don't optimize toupper/tolower for C++.
795 1999-05-23 Roland McGrath <roland@baalperazim.frob.com>
797 * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
798 Do proper error return.
800 1999-05-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
802 * malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
803 of __P in the rest of glibc; define __MALLOC_PMT and use it.
804 Reported by Stephan Kulow <coolo@kde.org>.
806 1999-05-23 Ulrich Drepper <drepper@cygnus.com>
808 * sysdeps/alpha/fpu/bits/fenv.h: Pretty print.
810 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.
812 1999-05-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
814 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
815 names to protect from user's macro namespace.
816 * sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
817 * sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
818 * sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
819 * sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
820 * sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
822 * sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
823 sysdeps/arm/fpu/fesetenv.c: Likewise.
824 * sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
825 sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
826 sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
827 * sysdeps/mips/fesetenv.c: Likewise.
829 1999-05-22 Roland McGrath <roland@baalperazim.frob.com>
831 * sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.
833 1999-05-20 Ulrich Drepper <drepper@cygnus.com>
835 * configure.in: Recognize and allow gcc 2.95.
837 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
839 * sysdeps/generic/bits/elfclass.h: Version common to
840 wordsize-32 and wordsize-64.
841 * sysdeps/generic/bits/environments.h: Ditto.
842 * sysdeps/generic/stdint.h: Ditto.
843 * sysdeps/generic/inttypes.h: Ditto.
845 * sysdeps/generic/bits/wordsize.h: New file.
846 * stdlib/Makefile: Add bits/wordsize.h to headers.
848 * sysdeps/sparc/sparc64/bits/wordsize.h: New file.
850 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
851 headers to be used for 32bit and 64bit ABI compilations.
852 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
853 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
854 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
855 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
856 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.
858 * sysdeps/wordsize-64/bits/elfclass.h: Remove.
859 * sysdeps/wordsize-64/bits/environments.h: Remove.
860 * sysdeps/wordsize-64/stdint.h: Remove.
861 * sysdeps/wordsize-64/inttypes.h: Remove.
862 * sysdeps/wordsize-64/bits/wordsize.h: New file.
864 * sysdeps/wordsize-32/bits/elfclass.h: Remove.
865 * sysdeps/wordsize-32/bits/environments.h: Remove.
866 * sysdeps/wordsize-32/stdint.h: Remove.
867 * sysdeps/wordsize-32/inttypes.h: Remove.
868 * sysdeps/wordsize-32/bits/wordsize.h: New file.
870 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
872 * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
873 __align_cpy_16): New functions.
874 (__align_cpy_2, __align_cpy_1): New aliases to memcpy.
876 * sysdeps/sparc/sparc32/Versions: New file.
877 * sysdeps/sparc/sparc64/Versions: New file.
878 * sysdeps/sparc/Versions: Remove.
880 1999-05-19 Jakub Jelinek <jj@ultra.linux.cz>
882 * sysdeps/unix/sysv/linux/configure.in:
883 On sparc64-*-linux*, set slibdir to /lib64 if prefix
884 is /usr, plus set libdir to ${exec_prefix}/lib64.
885 * sysdeps/unix/sysv/linux/configure: Regenerated.
886 * config.make.in: Propagate libdir settings from configure
888 * shlib-versions: sparc64-*-linux* dynamic linker is
889 /lib64/ld-linux.so.2.
891 1999-05-18 Thorsten Kukuk <kukuk@suse.de>
893 * nis/nis_lookup.c (nis_lookup): If we run out of memory, close
896 1999-05-18 Jakub Jelinek <jj@ultra.linux.cz>
898 * sysdeps/sparc/sparc64/rawmemchr.S: New file.
899 * sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.
901 * sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
902 contains garbage in bits 8-63.
903 * sysdeps/sparc/sparc64/memset.S: Ditto.
904 * sysdeps/sparc/sparc64/strchr.S: Ditto.
906 1999-05-18 Ulrich Drepper <drepper@cygnus.com>
908 * sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).
910 1999-05-17 David S. Miller <davem@redhat.com>
912 * sysdeps/sparc/sparc32/atomicity.h: New file.
913 * sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
914 * sysdeps/sparc/sparc64/atomicity.h: New file.
915 * sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
918 1999-05-18 Richard Henderson <rth@twiddle.net>
920 * sysdeps/alpha/memchr.S: Zap high byte of length. Reschedule.
922 1999-05-04 Zack Weinberg <zack@rabi.phys.columbia.edu>
924 * argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
925 posix/sys/types.h: Handle the case of __GNUC__=3,
926 __GNUC_MINOR__=(anything).
928 1999-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
930 * sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
933 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
935 * elf/Makefile (distribute): Remove dl-origin.h.
936 Add dl-dst.h and gen-trusted-dirs.awk.
938 1999-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
940 * sysdeps/i386/i486/Versions: New file with inline functions from
941 sysdeps/i386/i486/bits/string.h for now.
943 * sysdeps/i386/Versions: Add inline functions from
944 sysdeps/i386/bits/string.h.
946 * string/Versions: Add inline functions from <bits/string2.h>.
948 * string/Makefile (routines): Add string-inlines.
949 * string/string-inlines.c: New file, used for implementation of
950 extern inline functions.
952 * sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
953 non inlined versions of functions.
954 * string/bits/string2.h: Likewise.
955 * sysdeps/i386/bits/string.h: Likewise.
957 1999-05-17 Ulrich Drepper <drepper@cygnus.com>
959 * inet/arpa/tftp.h: Add second packed attribute.
961 1999-05-16 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
963 * malloc/malloc.c: Cleanup to bring in line with released
964 stand-alone version `ptmalloc'. Update some comments.
965 (internal_function): Move fallback definition so that the source
966 compiles outside of libc, and use it in more places.
967 (malloc_atfork): Fix when malloc_check is in use.
969 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
971 * stdlib/tst-strtod.c: Fix typo.
973 1999-05-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
975 * elf/dl-close.c (_dl_close): Add cast to avoid warning about
978 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
980 * sysdeps/generic/bits/termios.h (CRTSCTS): New macro.
982 1999-05-16 Thorsten Kukuk <kukuk@suse.de>
984 * sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
985 * sunrpc/key_call.c: Fix memory leak, close file handle.
986 * nis/nis_creategroup.c: Use malloc instead of calloc,
988 * nis/nis_subr.c: Check for realloc result.
989 * nis/nis_file.c: Fix memory leak.
990 * nis/nis_table.c: Pretty print.
991 * nis/nis_getservlist.c: Likewise.
992 * nis/nis_ismember.c: Likewise.
993 * nis/nis_lookup.c: Likewise.
994 * nis/nis_ping.c: Likewise.
995 * nis/nis_removemember.c: Likewise.
996 * nis/nis_util.c: Likewise, check calloc result.
998 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
1000 * sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
1001 * sysdeps/generic/sys/socketvar.h: ... here.
1002 * sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
1003 * sysdeps/generic/netinet/in_systm.h: ... here.
1004 * sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
1006 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
1007 * inet/Makefile (headers): Add netinet/in_systm.h here.
1008 * socket/Makefile (headers): Add sys/socketvar.h here.
1010 1999-05-15 Ulrich Drepper <drepper@cygnus.com>
1012 * stdlib/strtol.c: Optimize inner loop of long long versions.
1014 * sysdeps/gnu/utmpx.h: Add needed type definitions according to
1015 Unix98. Add forward declaration of struct utmp.
1017 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
1019 * nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
1022 * nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
1023 * nis/nis_addmember.c (nis_addmember): Fix memory leak. Test
1024 memory allocation results.
1026 1999-05-14 Mark Kettenis <kettenis@gnu.org>
1028 * sysdeps/generic/getutmp.c: Include <string.h>
1029 (getutmp): Rewrite to only copy those members that are really
1030 present in `struct utmp'.
1031 * sysdeps/generic/getutmpx.c: Likewise.
1033 1999-05-14 Ulrich Drepper <drepper@cygnus.com>
1035 * nss/getXXbyYY.c: Add free_mem function which disposes all
1036 statically allocated memory when debugging.
1037 * nss/getXXent.c: Likewise.
1038 * nss/nsswitch.c: Likewise.
1040 1999-05-13 Ulrich Drepper <drepper@cygnus.com>
1042 * sysdeps/gnu/getutmpx.c: New file.
1043 * sysdeps/gnu/getutmp.c: New file.
1045 1999-05-13 H.J. Lu <hjl@gnu.org>
1047 * login/Versions (getutmpx): Added to GLIBC_2.1.1.
1048 (getutmp): Likewise.
1050 * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
1053 * sysdeps/gnu/utmpx.h (getutmp): Added.
1054 (getutmpx): Likewise.
1056 * sysdeps/generic/getutmp.c: New file.
1058 * sysdeps/generic/getutmpx.c: New file.
1060 1999-05-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1062 * glibcbug.in (BUGGLIBC): Change address to
1063 libc-alpha@sourceware.cygnus.com.
1065 1999-05-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1067 * resolv/arpa/nameser.h: Add C++ protectors.
1069 1999-05-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1071 * iconvdata/gconv-modules: Fix alias for CP1255. Reported by
1072 Elad Tsur <eladts@post.tau.ac.il>.
1074 1999-05-11 Ulrich Drepper <drepper@cygnus.com>
1076 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
1077 * elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
1078 lazily if LD_BIND_NOW is not set.
1079 * elf/dl-support.c (_dl_lazy): New variable.
1080 (non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
1081 * elf/rtld.c (_dl_lazy): new global variable.
1082 ( dl_main): Remove lazy, replace it by _dl_lazy.
1084 1999-05-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1086 * locale/setlocale.c (new_composite_name): Check also whether the
1087 first category name differs.
1089 1999-05-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1091 * sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
1094 1999-05-11 Philip Blundell <pb@nexus.co.uk>
1096 * sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
1097 structure; storage suitable for any socket address.
1098 * sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
1100 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
1101 sockaddr_storage): Likewise.
1103 * inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
1106 1999-05-10 Ulrich Drepper <drepper@cygnus.com>
1108 * hesiod/Versions: Change _nss_hesiod_getpwuid and
1109 _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
1110 _nss_hesiod_getgrgid_r respectively. Fixes pr libc/1115.
1112 1999-05-09 Mark Kettenis <kettenis@gnu.org>
1114 * hurd/get-host.c (_hurd_get_host_config): Return an empty value
1115 if the file is empty.
1117 1999-05-07 Ulrich Drepper <drepper@cygnus.com>
1119 * elf/do-lookup.h: Fix typo in comment.
1121 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
1122 f_bsize to help some broken programs.
1124 * stdio-common/tst-printf.c: Add test case for last _itoa problem.
1126 * stdio-common/vfprintf.c: Fix typo.
1128 1999-05-06 Ulrich Drepper <drepper@cygnus.com>
1130 * elf/link.h (struct link_map): New field l_phdr_allocated.
1131 * elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
1132 the program header being part of any loaded segment. If it is not
1133 allocate memory and set l_phdr_allocated flag.
1134 * elf/dl-close.c (_dl_close): Free l_phdr if necessary.
1136 * nss/digits_dots.c: Correct return value interpretation of
1137 inet_ntoa. Fix PR libc/1109.
1139 1999-05-06 Zack Weinberg <zack@rabi.columbia.edu>
1141 * sysdeps/sparc/sparc32/sparcv9/Dist: New file.
1143 1999-05-06 Thorsten Kukuk <kukuk@suse.de>
1145 * stdlib/fpioconst.c (__tens): Export also for 64bit platforms.
1146 * stdlib/fpioconst.c: Move #endif before end of struct.
1148 1999-05-05 Ulrich Drepper <drepper@cygnus.com>
1150 * Versions.def (ld.so): Add GLIBC_2.1.1.
1151 * elf/Makefile (routines): Add dl-origin.
1152 (tests): Add origtest. Add dependencies for the program.
1153 * elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
1154 _dl_platformlen, _dl_dst_count and _dl_dst_substitute.
1155 * elf/dl-deps.c (expand_dst): New macro. Expand DSTs in filename.
1156 (_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
1157 DT_AUXILIARY, and DT_FILTER filenames.
1158 * elf/dl-load.c (expand_dynamic_string_token): Explode into
1159 two functions and three macros.
1160 (_dl_dst_count, _dl_dst_substitute): New functions.
1161 * elf/dl-dst.h: New file.
1162 * elf/dl-open.c (_dl_open): Take extra parameter with address of
1163 caller. Pass address in args structure.
1164 (dl_open_worker): Recognize and expand DSTs in filename.
1165 * elf/ldsodefs.h (_dl_open): Adapt prototype.
1166 * elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
1167 (__dlopen_check): Pass caller address to dlopen_doit in args.
1168 * elf/dlopendoit.c: Likewise.
1169 * iconv/gconv_dl.c: Adapt call of _dl_open.
1170 * nss/nsswitch.c: Likewise.
1171 * elf/origtest.c: New file.
1172 * sysdeps/generic/dl-origin.h: Moved to...
1173 * sysdeps/generic/dl-origin.c: ...here.
1174 * sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
1175 * sysdeps/unix/sysv/linux/dl-origin.c: ...here.
1177 * stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
1178 with specific bases and only few bits set in second word.
1180 * timezone/Makefile (install-others): Create target directory
1181 before creating tzfiles.
1183 1999-05-05 Thorsten Kukuk <kukuk@suse.de>
1185 * nis/nis_file.c (readColdStartFile): Allocate memory only after
1186 the file is opened successfully.
1188 * nis/nis_table.c: Fix some memory leaks.
1190 1999-05-04 Ulrich Drepper <drepper@cygnus.com>
1192 * elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
1195 * elf/dl-load.c (expand_dynamic_string_token): Recognize { }
1196 around DST. Correctly ignore ORIGIN IN SUID binaries.
1198 1999-05-03 Ulrich Drepper <drepper@cygnus.com>
1200 * sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
1201 * sysdeps/generic/strtok.c: Likewise.
1203 * string/tester.c: Add test of rawmemchr.
1205 * sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
1206 specification. It's not necessary.
1208 * elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
1209 * elf/gen-trusted-dirs.awk: New file.
1210 * elf/dl-load.c (systems_dirs): Moved into file scope. Initialize
1211 from SYSTEM_DIRS macro.
1212 (system_dirs_len): New variable. Contains lengths of system_dirs
1214 (fillin_rpath): Rewrite for systems_dirs being a simple string.
1215 Improve string comparisons. Change parameter trusted to be a flag.
1217 (_dt_init_paths): Improve using new format for system_dirs.
1219 * elf/dl-load.c (expand_dynamic_string_token): Don't expand
1220 $ORIGIN for SUID binaries.
1222 * sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.
1224 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1226 * sunrpc/Makefile: Generate dependencies for all flavors of
1228 (rpcgen-cmd): Pass -Y flag here and remove it from the macro
1231 1999-05-02 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1233 * elf/dlopenold.c: Move #if down after includes to get
1236 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1238 * sysdeps/generic/bzero.c: Undefine __bzero.
1240 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
1242 * sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
1243 * sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
1244 * sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
1245 Patch by Craig Small <csmall@scooter.eye-net.com.au>.
1247 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
1248 parameter to struct gaih_servtuple *. Adapt appropriately.
1249 (gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
1250 This fixes a memory leak.
1251 Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.
1253 * sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
1254 and fpregset_t definition. They are defined in ucontext.h.
1256 1999-04-14 Scott Bambrough <scottb@netwinder.org>
1258 * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
1259 and struct ether_header must be packed on the ARM. The default
1260 alignment constraints add padding to the end of the structures.
1262 1999-04-14 Scott Bambrough <scottb@netwinder.org>
1264 * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM. The
1265 default alignment constraints add padding to the end of the
1266 structure and between members.
1268 1999-05-02 Ulrich Drepper <drepper@cygnus.com>
1270 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
1271 _dl_cache_libcmp instead of strcmp.
1273 * sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
1275 Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].
1277 1998-03-30 Joel Klecker <espy@debian.org>
1279 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
1280 (sysdep-others,install-bin): Add lddlibc4.
1282 1999-05-02 H.J. Lu <hjl@gnu.org>
1284 * timezone/zic.c (dolink): Remove the symlink destination first.
1286 * catgets/open_catalog.c (__open_catalog): Set catalog->status
1287 to "nonexisting" if failed to open the file.
1289 1999-05-01 Ulrich Drepper <drepper@cygnus.com>
1291 * string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
1294 * sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
1295 Prevent warnings from multiplication with 0x01010101 by another cast.
1297 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1299 * string/bits/string2.h (memset): Revert to previous version if
1300 unaligned writes are not available.
1302 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
1304 * sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
1305 better code in presence of the asm.
1307 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1309 * stdlib/fmtmsg.c (keywords): Increase array size for faster
1312 * locale/localeinfo.h (_nl_category_names): Increase array element
1313 size for faster indexing.
1314 * locale/setlocale.c (_nl_category_names): Adjusted.
1316 1999-04-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1318 * iconv/gconv_conf.c (add_alias): Remove wrong cast.
1320 1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1322 * sysdeps/m68k/stackinfo.h: New file.
1324 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
1326 * string/tester.c (test_strchrnul): New function.
1327 (test_memset): Test one more special case.
1329 * sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in
1332 * sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
1335 * string/bits/string2.h: Fix bugs I introduced in last change.
1337 * sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
1339 Extend memset optimization.
1340 Correct i686 version of memchr.
1342 1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
1344 * sysdeps/i386/bzero.c: Add #undef __bzero.
1346 * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
1347 EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
1348 exec server simulated a SIGTRAP before we even started up, so gdb is
1351 1999-04-30 Ulrich Drepper <drepper@cygnus.com>
1353 * nss/digits_dots.c: Always initialize not_ok.
1355 1999-04-30 09:02 -0400 Zack Weinberg <zack@rabi.columbia.edu>
1357 * string/bits/string2.h (memset): Avoid arithmetic overflow at
1358 compile time, which produces obnoxious warnings. If GCCv2 is
1359 in use, map __bzero to __builtin_memset to enable that
1362 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
1364 * string/bits/string2.h: Add more memset optimizations.
1366 * resolv/inet_addr.c (inet_aton): Optimize switch statement away.
1368 * resolv/inet_pton.c (inet_pton4): Little optimizations.
1369 (inet_pton6): Likewise.
1371 * nss/getXXbyYY_r.c: Include assert.h.
1372 * nss/getXXbyYY.c: Likewise.
1374 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1376 * termios/tcgetsid.c (tcgetsid): Rename variable to
1377 tiocgsid_does_not_work.
1379 1999-04-29 Ulrich Drepper <drepper@cygnus.com>
1381 * inet/getnameinfo.c (nrl_domainname): Fix last patch.
1383 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1385 * nss/digits_dots.c: Use inet_aton to parse IPv4 numbers.
1386 This allows e.g. gethostbyname to accept "10.1234".
1387 Reported by Alexander V. Lukyanov <lav@long.yar.ru> [PR libc/1096].
1389 * nss/test-netdb.c (test_hosts): Add test for gethostbyname and
1390 non quad IPv4 numbers.
1392 1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1394 * resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
1396 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
1398 * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.
1399 * argp/argp-parse.c (_argp_hang): Likewise.
1400 * argp/argp-pv.c (argp_program_version): Likewise.
1401 * argp/argp-pvh.c (argp_program_version_hook): Likewise.
1402 * inet/ether_hton.c (ether_hton, startp): Likewise.
1403 * inet/ether_ntoh.c (ether_ntoh, startp): Likewise.
1404 * inet/getnetgrent_r.c (setup, startp): Likewise.
1405 * intl/loadmsgcat.c (_nl_msg_cat_cntr): Likewise.
1406 * intl/localealias.c (string_space, string_space_act, string_space_max,
1407 nmap, maxmap): Likewise.
1408 * libio/iopopen.c (proc_file_chain): Likewise.
1409 * libio/oldiopopen.c (old_proc_file_chain): Likewise.
1410 * locale/lc-collate.c (__collate_table, __collate_extra,
1411 __collate_element_hash, __collate_element_strings,
1412 __collate_element_values): Likewise.
1413 * malloc/mcheck.c (mcheck_used): Likewise.
1414 * malloc/mtrace.c (added_atexit_handler): Likewise.
1415 * malloc/set-freeres.c (already_called): Likewise.
1416 * misc/getpass.c (getpass) [buf, bufsize]: Likewise.
1417 * misc/syslog.c (LogStat, LogTag): Likewise.
1418 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
1419 * nss/getXXbyYY_r.c (startp): Likewise.
1420 * posix/getopt.c (optarg, __getopt_initialized): Likewise.
1421 * posix/regex.c (init_syntax_once) [done]: Likewise.
1423 * string/strfry.c (init): Likewise.
1424 * sunrpc/svc_run.c (svc_top): Likewise.
1425 * posix/euidaccess.c (have_ids): Likewise.
1426 * sysdeps/unix/sysv/linux/poll.c (must_emulate): Likewise.
1427 * sysdeps/unix/sysv/linux/ttyname.c (__ttyname, namelen): Likewise.
1428 * time/getdate.c (getdate_err): Likewise.
1429 * time/tzfile.c (transitions, type_idxs, types, zone_names, leaps):
1431 * time/tzset.c (old_tz, is_initialized): Likewise.
1433 * inet/getnameinfo.c (nrl_domainname): Rewrite to allow initialization
1434 of static data with zero.
1435 * signal/allocrtsig.c (init): Likewise.
1437 * string/Makefile (routines): Add strchrnul.
1438 * string/Versions [GLIBC_2.1.1]: Add strchrnul.
1439 * string/string.c: Add strchrnul prototype.
1440 * include/string.h: Add __strchrnul prototype.
1441 * sysdeps/generic/strchrnul.c: New file.
1442 * sysdeps/i386/strchrnul.S: New file.
1443 * sysdeps/i386/bits/string.c: Add strchrnul optimization.
1444 * sysdeps/i386/i486/bits/string.c: Likewise.
1445 * argp/argp-help.c (argp_args_usage): Use __strchrnul.
1446 * inet/ether_line.c (ether_line): Likewise.
1447 * nscd/nscd_conf.c (nscd_parse_file): Likewise.
1448 * nss/nsswitch.c (nss_parse_file): Likewise.
1449 * posix/execvp.c (execvp): Likewise.
1450 * posix/fnmatch.c (internal_fnmatch): Likewise.
1451 * resolv/res_hconf.c (_res_hconv_init): Likewise.
1452 * resolv/res_init.c (res_init): Likewise.
1453 * stdlib/fmtmsg.c (init): Likewise.
1454 * stdlib/getsubopt.c (getsubopt): Likewise.
1456 * catgets/catgets.c (catopen): Only allocate one memory block.
1457 (catclose): Only one free call necessary.
1459 * catgets/open_catalog.c (__open_catalog): Simplify handling of
1462 * ctype/ctype-extn.c: Make __toascii_l and __isascii_l alias instead
1463 of real functions. Simplify _tolower and _toupper.
1465 * grp/initgroups.c (compat_call): Remove unnecessary use of pointer
1468 * iconv/gconv.h (struct gconv_info): Change data element from pointer
1470 * iconv/gconv_open.c (__gconv_open): Allocate structures accordingly.
1471 * iconv/gconv_close.c (__gconv_close): Don't free data.
1473 * iconv/gconv_conf.c (add_alias): Avoid searching in tree twice to
1476 * iconv/gconv_db.c (add_derivation): More efficient copying. Check
1477 for error while inserting in tree.
1479 * include/time.h: Pretty print.
1481 * inet/ruserpass.c: Rewrite use of toktab to avoid string pointers
1482 in table and lots of relocations.
1483 * posix/regex.c (regerror): Rewrite use of re_error_msgid to avoid
1484 string pointers in table and lots of relocations.
1486 * intl/finddomain.c: Remove definition of strchr macro.
1488 * io/ftw.c (nftw_arr, ftw_arr): Make const.
1490 * locale/loadlocale.c (_nl_load_locale): Optimize string copying.
1492 * locale/localeinfo.h (_nl_category_names): Change into an array with
1493 fixed width char string elements.
1494 * locale/setlocale.c (_nl_category_names): Likewise.
1495 (_nl_current): Make global.
1496 * locale/nl_langinfo.c (nldata): Removed. Use _nl_current now.
1498 * malloc/Makefile (distribute): Add stackinfo.h.
1499 * sysdeps/generic/stackinfo.h: New file.
1500 * sysdeps/i386/stackinfo.h: New file.
1501 * posix/execl.c: Use stackinfo.h in optimizing alloca use.
1502 * posix/execle.c: Likewise.
1503 * posix/execlp.c: Likewise.
1505 * nis/nis_table.c (__create_ib_request): Always use realloc.
1507 * posix/execvp.c (execute): Rename to script_execute and keep only
1508 code to execute using shell.
1509 (execvp): Call execv directly and only fall back on script_execute.
1511 * resolv/inet_net_pton.c (inet_net_pton_ipv4): Remove digits define
1512 and always use xdigits instead.
1514 * resolv/res_init.c (res_init): Use rawmemchr instead of strchr
1517 * stdlib/fpioconst.h (__tens): New declaration.
1518 (struct mp_power): Remove array, add arrayoff element.
1519 * stdlib/fpioconst.c: Replace definitions of _ten_p* arrays by one
1520 __tens array and add in _fpioconst_pow10 offsets into __tens.
1521 * stdio-common/printf_fp.c: Rewrite to use new __tens array.
1522 * stdlib/strtod.c: Likewise.
1524 * stdlib/a64l.c (a64l_table): Avoid unnecessary elements.
1526 * stdlib/exit.c: Rewrite to use __exit_funcs being as sign for end
1528 * stdlib/atexit.c (__exit_funcs): Don't initialize.
1530 * stdlib/fmtmsg.c (keywords): Make name element fixed width array.
1532 * sunrpc/clnt_perr.c: Rewrite clnt_sperrno and auth_errmsg to use
1533 a single and an array with offsets.
1535 * sunrpc/des_soft.c (partab): Make it const.
1537 * sunrpc/key_call.c (trytimeout, tottimeout): Make const.
1538 (__key_encryptsession_pk_LOCAL): Don't initialize with 0.
1539 (__key_decryptsession_pk_LOCAL): Likewise.
1540 (__key_gendes_LOCAL): Likewise.
1541 (MESSENGER): Mark const.
1542 (key_call_private_main): Don't initialize with 0.
1543 (use_keyenvoy): Don't initialize with 0.
1544 (key_call): Rewrite to reverse logic of use_doors variable.
1546 * sunrpc/netname.c (OPSYS): Define as array, not pointer.
1547 (startp): Don't initialize with zero.
1549 * sunrpc/openchild.c (_openchild): Make first argument const.
1551 * sunrpc/pmap_rmt.c (timeout): Mark const.
1552 * sunrpc/xcrypt.c (hex): Likewise.
1554 * sysdeps/unix/sysv/linux/getcwd.c: Rewrite to allow omitting
1555 initialization of global variables.
1556 * sysdeps/unix/sysv/linux/getpt.c: Likewise.
1557 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1558 * termios/tcgetsid.c: Likewise.
1560 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Change
1563 * time/tzfile.c (__tzfile_read): Rewrite to allocate only one memory
1564 block. Add function to free memory if wanted.
1565 * time/tzset.c (tzset_internal): Pass extra argument to __tzfile_read.
1567 * wcsmbs/wcsmbsload.c (to_wc, to_mb): Correct initializers.
1569 * wcsmbs/wmemset.c: Little code optimization.
1571 1999-04-23 Paul Eggert <eggert@twinsun.com>
1573 * stdlib/strtoull.c: Surround strong_alias and weak_alias with
1576 1999-04-28 Roland McGrath <roland@baalperazim.frob.com>
1578 * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove
1579 implementation and just always fail with ENOSYS. This entry point is
1580 obsolete. Add link warning to that effect.
1582 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
1584 * hurd/get-host.c: Include <hurd/lookup.h>.
1586 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
1588 * malloc/malloc.c (rEALLOc): Only free memory for size 0 if oldmem
1591 1999-04-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1593 * malloc/malloc.c (REALLOC_ZERO_BYTES_FREES): Define it to follow
1596 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
1598 * libio/iofopncook.c (_IO_cookie_seek): Correct return value.
1599 Patch by Peter Miller <millerp@canb.auug.org.au>.
1601 1999-04-27 Thorsten Kukuk <kukuk@suse.de>
1603 * sunrpc/pmap_clnt.c: Add own get_myaddress function, which
1604 prefers loopback device.
1606 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
1608 * posix/fnmatch.c (internal_fnmatch): Finish incomplete
1609 no_leading_period change.
1611 * posix/testfnm.c: More test cases.
1613 1999-04-27 Ulrich Drepper <drepper@cygnus.com>
1615 * include/dirent.h: Remove __getdirentries declaration, add __getdents
1617 * sysdeps/unix/readdir.c: Use __getdents, not __getdirentries.
1618 * sysdeps/unix/readdir_r.c: Likewise.
1619 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
1620 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
1621 * sysdeps/unix/sysv/linux/getdents.c: Define __getdents, not
1622 __getdirentries. Remove fourth argument.
1623 * sysdeps/unix/sysv/linux/getdirentries.c: New file.
1624 * sysdeps/unix/sysv/linux/getdirentries64.c: New file.
1625 * sysdeps/unix/sysv/linux/Makefile [subdir=dirent] (sysdep_routines):
1626 Add getdirentries and getdirentries64.
1627 * sysdeps/unix/sysv/linux/Dist: Add getdirentries and getdirentries64.
1629 * posix/fnmatch.c (internal_fnmatch): Correctly reset string
1630 pointer in case of an invalid [[: expression.
1632 * posix/testfnm.c: Add more test cases.
1634 1999-04-27 Roland McGrath <roland@baalperazim.frob.com>
1636 * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced
1637 set, pass EXEC_SIGTRAP flag in exec RPC.
1639 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
1641 * posix/fnmatch.c (internal_fnmatch): Renamed from fnmatch. Take
1642 extra parameter. Fix several more bugs involving wildcard and
1644 (fnmatch): New function. Call internal_fnmatch.
1646 * posix/testfnm.c: More test cases.
1648 1999-04-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1650 * manual/install.texi (Configuring and compiling): Explain that
1651 files are changed in the source directory.
1653 (Configuring and compiling): Explain situation with PARALLELMFLAGS
1654 in the source directory.
1656 1999-04-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1658 * locale/programs/ld-ctype.c: Spelling fixes.
1659 (ctype_finish): Fix argument of error message format.
1660 * locale/programs/ld-messages.c: Spelling fixes.
1661 * locale/programs/ld-monetary.c: Spelling fixes.
1662 * locale/programs/ld-time.c (time_finish): Make sure that name and
1663 format of era_entries are adjacent.
1664 (time_output): Reduce the size of the io vector.
1666 1999-04-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1668 * manual/filesys.texi (Attribute Meanings): Move a misplaced
1671 1999-04-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1673 * locale/programs/ld-collate.c (collate_output): Convert
1674 undefined_offset to an array index. Fix computation of other
1677 1999-04-26 Roland McGrath <roland@baalperazim.frob.com>
1679 * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file,
1680 return success with empty value.
1682 1999-04-26 Ulrich Drepper <drepper@cygnus.com>
1684 * posix/fnmatch.c: Include string.h also for glibc.
1685 (fnmatch, case '?'): Optimize if cascades a bit.
1686 (fnmatch, case '*'): Correct handling if FNM_PATHNAME is set.
1688 * posix/testfnm.c: Add test cases for * with FNM_PATHNAME errors.
1690 1999-04-24 Ulrich Drepper <drepper@cygnus.com>
1692 * iconv/gconv_builtin.h: Add definitions for UTF16 builtins.
1693 * iconv/gconv_int.h: Declare UTF16 functions.
1694 * iconv/gconv_simple.c: Add UTF16 conversion functions.
1696 1999-04-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1698 * posix/wordexp.c (parse_param): Fix type of offset to allow it to
1699 be used correctly as parameter for parse_dollars/parse_tilde.
1701 1999-04-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1703 * manual/conf.texi (Utility Limits): Remove duplicate description
1706 1999-04-19 Ulrich Drepper <drepper@cygnus.com>
1708 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Correctly initialize
1709 outbufend for dst==NULL.
1711 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
1713 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Correctly initialize outbufend
1717 * socket/sys/socket.h: Define SHUT_RD, SHUT_WR, and SHUT_RDWR.
1720 1999-04-18 Thorsten Kukuk <kukuk@suse.de>
1722 * sunrpc/Makefile: Remove special handling of bootparam.x,
1723 add rpcsvc/bootparam.h to headers.
1724 * sunrpc/rpcsvc/bootparam.h: New, for backward compatibility.
1725 * sunrpc/rpcsvc/bootparam.x: Renamed to...
1726 * sunrpc/rpcsvc/bootparam_prot.x: ...this.
1728 1999-04-18 Ulrich Drepper <drepper@cygnus.com>
1730 * sysdeps/unix/bsd/poll.c (__poll): Add more compatiblity code to
1731 detect and handle invalid descriptors.
1733 1999-04-17 Thorsten Kukuk <kukuk@suse.de>
1735 * timezone/zic.c (dolink): Append complete path not only filename
1738 1999-04-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1740 * iconvdata/ibm874.c (TABLES, CHARSET_NAME): Follow name change.
1742 1999-04-17 Ulrich Drepper <drepper@cygnus.com>
1744 * iconvdata/gconv-modules: Rename CP874 to IBM874.
1745 * iconvdata/Makefile: Likewise.
1746 * iconvdata/cp874.h: Removed.
1747 * iconvdata/cp874.c: Renamed to...
1748 * iconvdata/ibm874.c: ...this.
1750 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
1752 * sysdeps/unix/sysv/linux/bits/types.h: Correct
1753 signed/unsigned-ness of blkcnt and fsblkcnt.
1754 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1755 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1757 * sysdeps/unix/sysv/linux/bits/socket.h: Add SOL_PACKET, SOL_ATM,
1758 SOL_AAL, and SOL_IRDA.
1760 1999-04-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1762 * sysdeps/unix/sysv/linux/fstatvfs.c: Set f_frsize to zero. Don't
1763 include "linux_fsinfo.h".
1764 Based on a patch by H.J. Lu <hjl@gnu.org>.
1766 1999-04-16 Thorsten Kukuk <kukuk@suse.de>
1768 * sunrpc/rpc_cout.c (print_header): Use int32_t pointer, not long.
1770 1999-04-16 Ulrich Drepper <drepper@cygnus.com>
1772 * nscd/cache.c (prune_cache): Only disable file checking for
1773 future if the file does not exist.
1774 Update file_mtime if cache was flushed.
1776 1999-04-15 David S. Miller <davem@redhat.com>
1778 * sysdeps/sparc/sparc32/strcat.S: Avoid using register g6.
1779 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
1781 1999-04-15 Scott Bambrough <scottb@netwinder.org>
1783 * sysdeps/unix/sysv/linux/arm/sigaction.c: Fix typo in preventing
1784 compilation of file.
1786 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
1788 * Versions.def: Add GLIBC_2.1.1 to libpthread.
1790 * iconvdata/Makefile (modules): Add KOI8-U.
1791 (distribute): Add koi8-u.c.
1792 (gen-8bit-gap-modules): Add koi8-u.
1793 * iconvdata/gconv-modules: Add KOI8-U entries.
1794 * iconvdata/koi8-u.c: New file.
1796 1999-04-13 Thorsten Kukuk <kukuk@suse.de>
1798 * sunrpc/auth_des.c: 64bit fixes, security fixes.
1799 * sunrpc/auth_none.c: Pretty print.
1800 * sunrpc/auth_unix.c: Likewise.
1801 * sunrpc/authdes_prot.c: Likewise.
1802 * sunrpc/authuxprot.c: Likewise.
1803 * sunrpc/bindrsvprt.c: Likewise.
1804 * sunrpc/clnt_gen.c: Likewise.
1805 * sunrpc/rpc/xdr.h: Likewise.
1806 * sunrpc/rpc/auth_des.h: Add rpc_timeval struct.
1807 * sunrpc/rpc_cmsg.c: Don't use *long pointers.
1808 * sunrpc/rtime.c: Use new rpc_timeval.
1809 * sunrpc/svc_authux.c: Don't use *long pointers.
1810 * sunrpc/svcauth_des.c: Likewise + security fixes.
1811 * sunrpc/xdr_mem.c: Don't use *long pointers.
1812 * sunrpc/xdr_rec.c: Likewise.
1813 * sunrpc/xdr_sizeof.c: Likewise.
1814 * sunrpc/xdr_stdio.c: Likewise.
1816 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
1818 * sunrpc/clnt_udp.c (clntudp_call): Move initialization of anyup
1819 so that it is redone for each sending.
1821 1999-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1823 * sunrpc/clnt_udp.c (clntudp_call): Initialize anyup.
1825 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
1827 * iconv/gconv_db.c (__gconv_find_transform): If conversion is
1828 known to not exist don't try to load shared objects.
1829 Patch by Petr Vandrovec Ing. VTEI <VANDROVE@vc.cvut.cz>.
1831 * nscd/cache.c (prune_cache): The table might not be unused. In
1832 this case do nothing.
1834 * catgets/gencat.c (read_input_file): Don't drop white spaces
1835 between number/identifier and string.
1836 Patch by Dima Barsky <dima@pwd.hp.com>.
1837 If no white space at all follows number/identifier remove existing
1838 message with the number/identifier.
1840 1999-04-14 H.J. Lu <hjl@gnu.org>
1842 * sunrpc/clnt_udp.c (is_network_up): New function.
1843 (clntudp_call): Call is_network_up () to check if any network
1844 interface is up in case of timeout.
1846 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1848 * wctype/test_wcfuncs.c: New file, tests towlower and towupper.
1849 * wctype/Makefile (tests): Add test_wcfuncs.
1851 1999-04-14 Jakub Jelinek <jj@ultra.linux.cz>
1853 * scripts/config.sub: Allow sparcv[6789]-* and sparcv8plus{,a}-*
1855 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
1857 * sysdeps/sparc/sparc32/sparcv8/Makefile: Use sysdep-CFLAGS
1858 instead of CFLAGS. For gnulib and string directories use
1859 -Wa,-Av9a gcc ASFLAGS.
1860 * sysdeps/sparc/sparc32/sparcv9/memmove.c: New file.
1861 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: New file.
1862 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: New file.
1863 * shlib-versions: Handle sparcv[6789]-* and sparcv8plus{,a}-*
1864 the same way as sparc-*.
1866 1999-04-14 Ulrich Drepper <drepper@cygnus.com>
1868 * locale/programs/locfile.c (locfile_read): Fix typo.
1869 Patch by Kaoru Fukui <k_fukui@highway.ne.jp>.
1871 1999-04-14 Scott Bambrough <scottb@netwinder.org>
1873 * sysdeps/unix/sysv/linux/arm/socket.S: Socket calls could not be
1874 restarted after being interrupted by a signal. The parameters on
1875 the stack were corrupted by the signal handler.
1877 * sysdeps/unix/sysv/linux/arm/mmap.S: mmap calls could not be
1878 restarted after being interrupted by a signal. The parameters on
1879 the stack were corrupted by the signal handler.
1881 1999-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1883 * wctype/wcfuncs.c (towlower): Use __ctype_tolower.
1884 Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>
1886 1999-04-12 Tim Waugh <tim@cyberelk.demon.co.uk>
1888 * posix/wordexp-test.c: In field-splitting test cases where
1889 subshells were involved, unset IFS first: some shells (ash) use
1890 IFS even when no expansion is performed.
1892 1999-04-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1894 * libio/obprintf.c (_IO_obstack_overflow): Put the write end at
1895 the real end of the chunk, not some random point inbetween.
1896 (_IO_obstack_xsputn): Likewise. Actually copy the data into the
1897 obstack when growing. Use fast version of obstack_blank when
1899 (struct _IO_obstack_file): Use _IO_FILE_plus instead of explicitly
1900 allocating the vtable pointer.
1901 (_IO_obstack_vprintf): Adjust for above change and avoid
1902 unnecessary casts. Use fast version of obstack_blank when
1906 1999-04-12 Ulrich Drepper <drepper@cygnus.com>
1908 * iconvdata/gconv-modules: Fix typo. Add UJIS alias.
1909 Reported by GOTO Masanori <gotom@cs.titech.ac.jp>.
1911 1999-04-11 Tim Waugh <tim@cyberelk.demon.co.uk>
1913 * posix/wordexp.c (wordexp): Fix a leak when an invalid character
1914 is seen, as well as fixing semantics. Don't reset the word count
1915 to zero when an invalid character is seen, but leave it as it was
1916 (this makes a difference with WRDE_APPEND).
1918 * posix/wordexp-test.c: More test cases.
1920 * posix/wordexp.c (parse_param): In words like ${var#pattern},
1921 always expand pattern when it is needed. Also, handle quoting in
1924 1999-04-12 Philip Blundell <philb@gnu.org>
1926 * elf/elf.h: Update ARM definitions to match current gas2.
1928 * sysdeps/arm/bits/endian.h: Support big endian operation.
1930 * sysdeps/unix/sysv/linux/arm/ioperm.c (_outw, _outb, _outl):
1931 Don't bother range checking the port number.
1933 * sysdeps/unix/sysv/linux/arm/vfork.S: New file.
1935 * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Include
1936 the syscall name in assembler output for ease of debugging.
1938 * sysdeps/unix/sysv/linux/arm/sigaction.c: Don't rely on undefined
1940 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: New file.
1941 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = signal]
1942 (sysdep_routines): Add sigrestorer.
1944 * string/tester.c (test_strcpy): Add new tests for unaligned
1946 * sysdeps/arm/bits/string.h: Delete inline implementations of
1949 1999-04-11 Ulrich Drepper <drepper@cygnus.com>
1951 * libio/Makefile (CPPFLAGS-.o): Don't define IO_DEBUG.
1953 1999-04-10 Mark Kettenis <kettenis@gnu.org>
1955 * sysdeps/mach/hurd/Dist: Add clk_tck.c.
1957 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
1959 * iconvdata/Makefile (modules): Add TIS-620.
1960 (distribute): Add tis-620.c.
1961 (gen-8bit-gap-modules): tis-620.
1962 * iconvdata/tis-620.c: New file.
1963 * iconvdata/gconv-modules: Add TIS-620 entries.
1965 * iconvdata/asmo_449.c: Correct comment.
1967 1999-04-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1969 * manual/install.texi (Configuring and compiling): Comment out
1970 description of --disable-static since this doesn't work currently
1971 (see change by Ulrich Drepper on 1998-12-07 for configure.in).
1973 1999-04-10 Ulrich Drepper <drepper@cygnus.com>
1975 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Rewrite to
1977 Based on a patch by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
1979 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1981 * scripts/test-installation.pl (installation_problem): Skip
1982 libnss1_* libraries from glibc-compat add-on.
1984 1999-04-07 H.J. Lu <hjl@gnu.org>
1986 * io/Versions (__dup2, __pipe): Added to GLIBC_2.0 for
1988 * posix/Versions (__waitpid): Likewise.
1990 1999-04-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1992 * manual/install.texi (Reporting Bugs): Add section about reported
1993 bugs and correct email address of glibcbug script.
1995 1999-04-01 Thorsten Kukuk <kukuk@suse.de>
1997 * sunrpc/Versions: Add new xdr functions to GLIBC_2.1.1
1998 * sunrpc/xdr.c: Add xdr_hyper, xdr_u_hyper, xdr_longlong_t and
1999 xdr_u_longlong_t. Based on patch from Dan Shechter
2000 <damageboy@isdn.net.il>.
2001 * sunrpc/xdr_intXX_t.c: Implement xdr_int64_t, xdr_uint64_t
2002 * sunrpc/rpc/xdr.h: Add prototypes for new xdr functions.
2004 * nis/nis_lookup.c (nis_lookup): Don't overwrite RPC error code.
2006 1999-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2008 * sysdeps/unix/sysv/linux/getdents.c (__getdirentries): Return
2009 directly if getdents returns with error set.
2011 1999-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2013 * locale/langinfo.h (THOUSEP): Rename second occurence of
2014 THOUSANDS_SEP to THOUSEP.
2015 Reported by Roman Belenov <roman@nstl.nnov.ru>.
2017 1999-04-05 Roland McGrath <roland@baalperazim.frob.com>
2019 * hurd/STATUS: File removed. Moved items that are still relevant into
2020 TODO list in hurd source.
2022 1999-03-26 Mark Kettenis <kettenis@gnu.org>
2024 * sysdeps/mach/hurd/bits/time.h: New file.
2025 * sysdeps/mach/hurd/getrusage.c: New file.
2026 * sysdeps/mach/hurd/clk_tck.c: New file.
2027 * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck.
2028 * sysdeps/mach/hurd/Makefile [$(subdir) = posix]
2029 (sysdep_routines): Add clk_tck.
2030 * sysdeps/mach/hurd/times.c: Removed, since getrusage is now
2033 1999-04-02 Ulrich Drepper <drepper@cygnus.com>
2035 * misc/syslog.c (closelog_internal): Do not reset LogTag here.
2036 (closelog): But instead here.
2037 Patch by Alan Curry <pacman@cqc.com> [PR libc/1061].
2039 1999-04-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2041 * elf/Makefile (CFLAGS-multiload.c): Change to allow building in
2042 the source directory. Fixes PR libc/1059.
2044 1999-04-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2046 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Terminate the string.
2047 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
2049 1999-04-01 Ulrich Drepper <drepper@cygnus.com>
2051 * iconvdata/TESTS: Add ISO-8859-14 and ISO-8859-15.
2052 * iconvdata/testdata/ISO-8859-14: New file.
2053 * iconvdata/testdata/ISO-8859-14..UTF8: New file.
2054 * iconvdata/testdata/ISO-8859-15: New file.
2055 * iconvdata/testdata/ISO-8859-15..UTF8: New file.
2057 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
2059 * iconvdata/testdata/CP1258: New file.
2060 * iconvdata/testdata/CP1258..UTF8: New file.
2061 * iconvdata/TESTS: Add CP1258 entry.
2063 * iconvdata/cp874.h (to_ucs4): Add Euro sign.
2065 * timezone/africa: Update from tzdata1999d.
2066 * timezone/europe: Likewise.
2067 * timezone/northamerica: Likewise.
2069 1999-03-31 Mark Kettenis <kettenis@gnu.org>
2071 * login/programs/pt_chown.c (main): Save effective user ID before
2072 dropping priviliges and use this to check if the program is
2075 1999-03-31 Ulrich Drepper <drepper@cygnus.com>
2077 * iconvdata/testdata/CP1254: Update for charmap changes.
2078 * iconvdata/testdata/CP1254..UTF8: Likewise.
2079 * iconvdata/testdata/CP1255: Likewise.
2080 * iconvdata/testdata/CP1255..UTF8: Likewise.
2081 * iconvdata/testdata/CP1256: Likewise.
2082 * iconvdata/testdata/CP1256..UTF8: Likewise.
2083 * iconvdata/testdata/CP1257: Likewise.
2084 * iconvdata/testdata/CP1257..UTF8: Likewise.
2086 * iconvdata/Makefile (distribute): Remove cp1258.h.
2087 (gen-8bit-gap-modules): Add cp1258.
2088 * iconvdata/cp1258.h: Removed.
2090 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
2092 * timezone/tst-timezone.c (tests): Add more cases.
2093 (check_tzvars): Mark errors clearer.
2096 1999-03-30 20:59 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
2098 * login/programs/pt_chown.c: Drop privileges if invoked with
2099 arguments. Don't close the master pty.
2101 1999-03-30 Ulrich Drepper <drepper@cygnus.com>
2103 * time/tzfile.c (__tzfile_read): Process transitions from the rear.
2106 1999-03-29 Ulrich Drepper <drepper@cygnus.com>
2108 * elf/rtld.c (process_envvars): Do not automatically prevent lazy
2109 relocation for SUID binaries.
2111 1999-03-29 Paul Eggert <eggert@twinsun.com>
2113 * libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
2114 while in child process.
2116 1999-03-29 Jakub Jelinek <jj@ultra.linux.cz>
2118 * sysdeps/sparc/sparc32/sparcv8/Makefile: New file.
2119 * sysdeps/sparc/sparc32/sparcv8/rem.S: Delay after write %y.
2120 * sysdeps/sparc/sparc32/sparcv8/sdiv.S: Likewise.
2121 * sysdeps/sparc/sparc32/sparcv8/udiv.S: Likewise.
2122 * sysdeps/sparc/sparc32/sparcv8/urem.S: Likewise.
2124 * sysdeps/sparc/sparc32/sparcv9/bcopy.c: New file.
2125 * sysdeps/sparc/sparc32/sparcv9/bzero.c: New file.
2126 * sysdeps/sparc/sparc32/sparcv9/memchr.S: New file.
2127 * sysdeps/sparc/sparc32/sparcv9/memcmp.S: New file.
2128 * sysdeps/sparc/sparc32/sparcv9/memcpy.S: New file.
2129 * sysdeps/sparc/sparc32/sparcv9/memset.S: New file.
2130 * sysdeps/sparc/sparc32/sparcv9/stpcpy.S: New file.
2131 * sysdeps/sparc/sparc32/sparcv9/strcat.S: New file.
2132 * sysdeps/sparc/sparc32/sparcv9/strchr.S: New file.
2133 * sysdeps/sparc/sparc32/sparcv9/strcmp.S: New file.
2134 * sysdeps/sparc/sparc32/sparcv9/strcpy.S: New file.
2135 * sysdeps/sparc/sparc32/sparcv9/strcspn.S: New file.
2136 * sysdeps/sparc/sparc32/sparcv9/strlen.S: New file.
2137 * sysdeps/sparc/sparc32/sparcv9/strncpy.S: New file.
2138 * sysdeps/sparc/sparc32/sparcv9/strpbrk.S: New file.
2139 * sysdeps/sparc/sparc32/sparcv9/strrchr.c: New file.
2140 * sysdeps/sparc/sparc32/sparcv9/strspn.S: New file.
2141 * sysdeps/sparc/sparc32/sparcv9/dotmul.S: New file.
2142 * sysdeps/sparc/sparc32/sparcv9/rem.S: New file.
2143 * sysdeps/sparc/sparc32/sparcv9/sdiv.S: New file.
2144 * sysdeps/sparc/sparc32/sparcv9/udiv.S: New file.
2145 * sysdeps/sparc/sparc32/sparcv9/umul.S: New file.
2146 * sysdeps/sparc/sparc32/sparcv9/urem.S: New file.
2147 * sysdeps/sparc/sparc32/sparcv9/Makefile: New file.
2148 * sysdeps/sparc/sparc32/sparcv9/stpncpy.S: New file.
2149 * sysdeps/sparc/sparc32/sparcv9/strncmp.S: New file.
2151 * sysdeps/sparc/sparc32/bcopy.c: New file.
2152 * sysdeps/sparc/sparc32/bzero.c: New file.
2153 * sysdeps/sparc/sparc32/memchr.S: New file.
2154 * sysdeps/sparc/sparc32/memcpy.S: New file.
2155 * sysdeps/sparc/sparc32/memmove.c: New file.
2156 * sysdeps/sparc/sparc32/memset.S: New file.
2157 * sysdeps/sparc/sparc32/stpcpy.S: New file.
2158 * sysdeps/sparc/sparc32/strchr.S: New file.
2159 * sysdeps/sparc/sparc32/strrchr.c: New file.
2160 * sysdeps/sparc/sparc32/strcpy.S: New file.
2161 * sysdeps/sparc/sparc32/strlen.S: New file.
2162 * sysdeps/sparc/sparc32/strcat.S: New file.
2163 * sysdeps/sparc/sparc32/strcmp.S: New file.
2165 * sysdeps/sparc/sparc64/bcopy.c: New file.
2166 * sysdeps/sparc/sparc64/bzero.c: New file.
2167 * sysdeps/sparc/sparc64/memchr.S: New file.
2168 * sysdeps/sparc/sparc64/memcmp.S: New file.
2169 * sysdeps/sparc/sparc64/memcpy.S: New file.
2170 * sysdeps/sparc/sparc64/memset.S: New file.
2171 * sysdeps/sparc/sparc64/stpcpy.S: New file.
2172 * sysdeps/sparc/sparc64/strcat.S: New file.
2173 * sysdeps/sparc/sparc64/strchr.S: New file.
2174 * sysdeps/sparc/sparc64/strcmp.S: New file.
2175 * sysdeps/sparc/sparc64/strcpy.S: New file.
2176 * sysdeps/sparc/sparc64/strcspn.S: New file.
2177 * sysdeps/sparc/sparc64/strlen.S: New file.
2178 * sysdeps/sparc/sparc64/strncpy.S: New file.
2179 * sysdeps/sparc/sparc64/strpbrk.S: New file.
2180 * sysdeps/sparc/sparc64/strrchr.c: New file.
2181 * sysdeps/sparc/sparc64/strspn.S: New file.
2182 * sysdeps/sparc/sparc64/stpncpy.S: New file.
2183 * sysdeps/sparc/sparc64/strncmp.S: New file.
2185 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (ASFLAGS-.os):
2186 Append -fPIC, don't replace.
2188 * configure.in: Recognize sparcv8plus / sparcv9.
2190 1999-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2192 * malloc/obstack.h (obstack_free): Explicitly convert __obj to
2193 char * to avoid C++ warning.
2194 Patch by yasushi@cs.washington.edu [PR libc/1035].
2196 1999-03-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2198 * manual/filesys.texi (Temporary Files): mktemp and mkstemp are
2199 declared in stdlib.h, correct return value of mkstemp.
2200 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>.
2202 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines
2205 1999-03-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2207 * misc/regexp.h (compile): Cast some pointers to (char *) to avoid
2210 * ctype/ctype.h (tolower, toupper): Add __THROW declaration to
2211 inline functions. Closes PR libc/1049.
2213 1999-03-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2215 * timezone/README: Update from tzdata1999c and tzcode1999c.
2217 * timezone/africa: Update from tzdata1999c.
2218 * timezone/antarctica: Likewise.
2219 * timezone/asia: Likewise.
2220 * timezone/australasia: Likewise.
2221 * timezone/europe: Likewise.
2222 * timezone/northamerica: Likewise.
2223 * timezone/southamerica: Likewise.
2224 * timezone/zone.tab: Likewise.
2226 * timezone/zic.c: Update from tzcode1999c.
2228 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2230 * Makerules: Add $(common-objpfx)Versions.all to common-generated
2231 outside of ifndef avoid-generated.
2233 * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
2235 * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
2237 * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
2239 * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
2240 _IO_old_file_seekoff): Bring over recent changes in fileops.c.
2242 1999-03-26 Mark Kettenis <kettenis@gnu.org>
2244 * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script
2245 if we build the profiled library.
2247 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2249 * math/Makefile (gmp-objs): Add inlines. Reported by Andreas
2250 Jaeger <aj@arthur.rhein-neckar.de>
2252 1999-03-25 Roland McGrath <roland@yaumatei.ai.mit.edu>
2254 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
2255 (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
2256 This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
2258 1999-03-24 Roland McGrath <roland@baalperazim.frob.com>
2260 * Makeconfig (sysd-sorted): Use $(..) on rhs of patsubst, so this rule
2261 works properly in subdirs.
2263 1999-03-23 Roland McGrath <roland@baalperazim.frob.com>
2265 * sysdeps/mach/hurd/Makefile: Undo last change.
2266 [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so.
2267 [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so.
2269 * mach/Machrules (+preinit, +postinit, +interp,
2270 LDFLAGS-$(interface.so)): Variables removed. Interface libraries get
2271 linked just like other shared libraries.
2272 (interface.so): Fix typo in defn, so it works.
2273 ($(objpfx)$(interface.so)): Make it depend on libc.so.
2275 1999-03-21 Roland McGrath <roland@baalperazim.frob.com>
2277 * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on
2278 $(link-rpcuserlibs).
2280 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2282 * elf/Makefile ($(inst_slibdir)/$(rtld-version-installed-name),
2283 $(inst_slibdir)/$(rtld-installed-name), ldso_install): Disable
2284 targets if not building shared libraries.
2286 1999-03-22 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2288 * configure.in: Also look in $PATH when searching for
2289 install-info. Remove autoconf bug workaround and require autoconf
2292 1999-03-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2294 * db/Makefile: Don't try to install shared library link if not
2295 building with shared libs.
2297 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2299 * rt/Makefile: Link against static library if no shared lib is
2302 * localedata/Makefile: The shells scripts implementing the test
2303 require the dynamic linker which is not available with
2304 --disable-shared. Skip the test if --disable-shared is given.
2306 * linuxthreads/Makefile: Link test against static libpthread if no
2307 shared lib is available.
2309 * iconvdata/Makefile (tests): Run iconv-test only if we're
2310 building shared libraries.
2311 * elf/Makefile (tests): Likewise for elf tests.
2313 * posix/Makefile: The test frameworks globtest and wordexp-test
2314 require the dynamic linker which is not available with
2315 --disable-shared. Skip the test if --disable-shared is given.
2317 * grp/Makefile (otherlibs): For static nss build link against
2320 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2322 * debug/Makefile (install-bin): Install and build catchsegv only
2323 if build-shared == yes. Reported by jussi@jlaako.pp.fi [PR
2326 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2328 * time/tzfile.c (__tzfile_read): Handle the case where there are
2329 transitions but no DST.
2331 1999-03-20 Roland McGrath <roland@baalperazim.frob.com>
2333 * mach/Machrules (extra-libs-others): Add $(interface-library) here
2334 too, so it gets built in the others pass rather than the lib pass.
2335 This is necessary since the RPC libraries need to be linked against
2338 1999-03-19 Roland McGrath <roland@baalperazim.frob.com>
2340 * sysdeps/generic/segfault.c: Include <stdio-common/_itoa.h> for
2343 * sysdeps/mach/hurd/Makefile (link-rpcuserlibs): New variable.
2344 ($(common-objpfx)libc.so): Depend on that instead of $(rpcuserlibs).
2345 ($(link-rpcuserlibs)): New static pattern rule; link intermediate
2346 versions of lib{mach,hurd}user.so without reference to libc.so,
2347 then link libc.so against that to get deps and symbol versions, then
2348 finally link real lib*user.so against libc.so.
2350 * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW):
2351 Support whole-file locking (only) by using the file_lock RPC. This
2352 has very wrong semantics, but is better than nothing for the time
2353 being. (Correct POSIX.1 locking will require new RPCs in the Hurd
2354 protocols that will be somewhat hairy to specify.)
2356 1999-03-17 Mark Kettenis <kettenis@gnu.org>
2358 * sysdeps/mach/hurd/ptsname.c: New file.
2360 1999-03-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2362 * timezone/asia: Fix rule in Asia/Nicosia entry.
2364 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2366 * manual/getopt.texi (Using Getopt): Explain "::" in option
2367 string. Reported by Yuri Niyazov <yuricake@geocities.com>.
2369 1999-03-18 Thorsten Kukuk <kukuk@suse.de>
2371 * sunrpc/clnt_unix.c: Fix creation of parameters for
2372 sendmsg/recvmsg on non intel platforms.
2373 * sunrpc/svc_unix.c: Likewise.
2375 1999-03-18 Philip Blundell <philb@gnu.org>
2377 * sysdeps/unix/sysv/linux/arm/getgroups.c: New file. Use the i386
2380 1999-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2382 * timezone/africa: Update from tzdata1999b.
2383 * timezone/asia: Likewise.
2384 * timezone/australasia: Likewise.
2385 * timezone/europe: Likewise.
2386 * timezone/northamerica: Likewise.
2387 * timezone/southamerica: Likewise.
2388 * timezone/zone.tab: Likewise.
2390 * timezone/README: Mention tzdata1999b.
2392 1999-03-17 Ulrich Drepper <drepper@cygnus.com>
2394 * sysdeps/generic/segfault.c (write_strsignal): New function.
2395 (catch_segfault): Use it instead of calling strsignal.
2397 1999-03-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2399 * iconv/gconv.c (__gconv): Change type of last_start to unsigned
2400 char to avoid warning.
2402 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
2404 * iconv/iconv.c (iconv): Correctly cast parameters for __gconv.
2406 * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Change type of
2407 outbuf to unsigned char to avoid warning.
2409 1999-03-11 David S. Miller <davem@redhat.com>
2411 * sysdeps/sparc/sparc32/fpu/fpu_control.h: Add missing trap enable
2413 * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
2415 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
2417 * iconv/gconv.h (gconv_fct): Change parameter from `char' to
2419 (gconv_step_data): Likewise.
2420 * iconv/gconv_int.h (__gconv): Likewise.
2421 (__BUILINT_TRANS): Likewise.
2422 * iconv/gconv.c (__gconv): Likewise.
2423 * iconv/iconv.c (iconv): Add casts for call of __gconv.
2424 * iconv/skeleton.c: Change local parameters and variable from `char' to
2425 `unsigned char'. Remove casts from calls into modules.
2426 * iconvdata/iso-2022-jp.c (gconv): Change local variable outbuf from
2427 `char' to `unsigned char'.
2428 * wcsmbs/btowc.c: Change pointers from `char *' to `unsigned char *'.
2429 * wcsmbs/mbrtowc.c: Likewise.
2430 * wcsmbs/mbsnrtowcs.c: Likewise.
2431 * wcsmbs/mbsrtowcs.c: Likewise.
2432 * wcsmbs/wcrtomb.c: Likewise.
2433 * wcsmbs/wcsnrtombs.c: Likewise.
2434 * wcsmbs/wcsrtombs.c: Likewise.
2435 * wcsmbs/wctob.c: Likewise.
2437 1999-03-15 Mark Kettenis <kettenis@gnu.org>
2439 * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: Add
2440 __hurd_sigthread_stack_base, __hurd_sigthread_stack_end,
2441 __hurd_sigthread_variables, __hurd_threadvar_stack_mask,
2442 __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd,
2443 __getpid, __libc_read, __libc_write, __lseek, __mmap, __open,
2444 __xstat, _exit, _hurd_intr_rpc_mach_msg and abort.
2446 1999-03-15 Mark Kettenis <kettenis@gnu.org>
2448 * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to
2449 _hurd_select if TIMEMOUT is -1.
2451 1999-03-15 Mark Kettenis <kettenis@gnu.org>
2453 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
2455 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
2457 * elf/dl-load.c: Compute rtld_search_dir array size correctly.
2458 Reported by Yasushi Saito <yasushi@cs.washington.edu>.
2460 1999-03-15 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2462 * manual/libc.texinfo: Undo last change for now.
2464 1999-03-15 Ulrich Drepper <drepper@cygnus.com>
2466 * intl/locale.alias: Add entries for Croatian.
2467 Patch by Tomislav Vujec <tvujec@CARNet.hr>.
2469 1999-03-13 Mark Kettenis <kettenis@gnu.org>
2471 * sysdeps/unix/bsd/getpt.c (__getpt): Do not use `isatty' to check
2472 if the opened master pty really is a pty. `isatty' checks for
2473 tty-ness and a pty is not a tty. Return ENOENT instead of ENFILE
2474 if we are out of pty's.
2476 1999-03-13 Mark Kettenis <kettenis@gnu.org>
2478 * sysdeps/generic/utmp_file.c (setutent_file): Make sure the just
2479 opened file is closed on exec.
2480 * login/utmp_daemon.c (setutent_daemon): Likewise for the just
2483 1999-03-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2485 * manual/llio.texi (File Position Primitive): Reformat @end
2486 command. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1020].
2488 1999-03-14 Ulrich Drepper <drepper@cygnus.com>
2490 * nscd/nscd_getpw_r.c (nscd_getpw_r): Set `errno' correctly if no
2492 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2493 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
2495 * locale/programs/localedef.c (main): Initialize `cat' to please
2498 1999-03-14 Roland McGrath <roland@baalperazim.frob.com>
2500 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW,
2501 check for root-owned symlinks and reject them too.
2503 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2505 * stdio-common/printf_fphex.c: Move to ...
2506 * sysdeps/generic/printf_fphex.c: ... here. Fix exponent of
2507 extended precision number.
2508 * sysdeps/m68k/printf_fphex.c: New file.
2510 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2512 * manual/stdio.texi: Fix typos.
2514 1999-03-09 Ulrich Drepper <drepper@cygnus.com>
2516 * version.h (VERSION): Bump to 2.1.1.
2518 1999-03-09 Thorsten Kukuk <kukuk@suse.de>
2520 * nis/ypclnt.c: Try only twice to connect to NIS server.
2522 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
2524 * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
2526 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2528 * stdlib/strtod.c (round_and_return): Fix rounding of denormals.
2529 (DENORM_EXP): New define. Use it as the exponent for a denormal.
2530 * stdlib/strtold.c: Moved to ...
2531 * sysdeps/generic/strtold.c: ... here.
2532 * sysdeps/m68k/strtold.c: New file.
2534 1999-03-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2536 * stdio-common/printf_fphex.c (__printf_fphex): Print no decimal
2537 point if the precision is zero, even if the mantissa is non-zero.
2539 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>
2541 * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the
2542 arguments into the request message buffer inside `send_rpc'
2543 subfunction. We must repeat the marshalling when retrying the RPC
2544 after a SIGTTOU delivery.
2546 * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code
2547 path when there is no ctty port.
2548 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
2549 Move sigstate check inside loop so we recheck after handling a signal.
2551 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2553 * manual/llio.texi (Open-time Flags): Clarify that O_SHLOCK and
2554 O_EXLOCK are BSD extensions.
2555 Reported by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/985].
2557 1999-03-08 Ulrich Drepper <drepper@cygnus.com>
2559 * manual/signal.texi (Termination in Handler): Correct example.
2560 Install default handler before reraising the signal.
2561 Patch by Jochen Voss <voss@mathematik.uni-kl.de>.
2563 1999-03-08 Roland McGrath <roland@baalperazim.frob.com>
2565 * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being
2566 null, in which case send an empty string.
2568 1999-03-02 Mark Kettenis <kettenis@gnu.org>
2570 * Makerules (LD_FLAGS-c.so): Add -u __register_frame to force the
2571 backward compatibility EH functions to be linked when using
2572 gcc-2.8.1. Patch by Zack Weinberg <zack@rabi.columbia.edu>.
2574 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2576 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Undo last change.
2577 /dev/pts status may change during runtime.
2579 1999-03-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2581 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Undo last
2582 change. /dev/pts status can change during runtime.
2584 1999-03-07 Thorsten Kukuk <kukuk@suse.de>
2586 * sunrpc/svc_tcp.c (readtcp): go into fatal error state if
2588 * nis/nss_nisplus/nisplus-parser.c: Avoid duplicate strlen calls,
2589 add some more sanity checks.
2590 * nis/nss_nisplus/nisplus-pwd.c: Include nisplus-parser.h for
2593 1999-03-05 Thorsten Kukuk <kukuk@suse.de>
2595 * sunrpc/rpc/xdr.h: Add x_getint32/x_putint32 to xdr_ops,
2596 change XDR_GETINT32/XDR_PUTINT32 to sue new functions.
2597 * sunrpc/xdr_mem.c: Add xdrmem_getint32, xdrmem_putint32.
2598 * sunrpc/xdr_rec.c: Add xdrrec_getint32, xdrrec_putint32.
2599 * sunrpc/xdr_sizeof.c: Add x_putint32, add dummy function
2601 * sunrpc/xdr_stdio.c: Add xdrstdio_getint32, xdrstdio_putint32.
2602 * nis/nis_print.c: Fix ctime argument for platforms where
2603 sizeof (time_t) != sizeof (int).
2605 1999-03-07 Mark Kettenis <kettenis@gnu.org>
2607 * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Use
2608 CLOCKS_PER_SEC instead of CLK_TCK.
2610 1999-03-05 Ulrich Drepper <drepper@cygnus.com>
2612 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
2613 whether /dev/pts is available.
2614 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
2617 * posix/globtest.sh: Make common_objpfx path absolute and and db2
2618 and hesiod directory to library path [PR libc/1007].
2620 1999-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2622 * resolv/inet_addr.c (inet_aton): Don't allow componets >
2623 255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].
2625 1999-03-05 Geoff Keating <geoffk@ozemail.com.au>
2627 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
2628 DT_PLTGOT has already been relocated.
2629 (__elf_machine_fixup_plt): Likewise.
2632 1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
2634 * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
2636 1999-03-03 Ulrich Drepper <drepper@cygnus.com>
2638 * wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
2639 and fold string to uppercase [PR libc/1005].
2641 1999-03-03 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2643 * elf/dl-load.c (lose): Fix return type.
2645 1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
2647 * sysdeps/mach/hurd/bits/fcntl.h
2648 [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
2649 * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
2650 set O_NOTRANS as well.
2651 (__hurd_file_name_lookup_retry): At successful end of lookup,
2652 if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
2653 it is a translated node not owned by root.
2654 (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
2655 on the file name passed to LOOKUP.
2657 1999-03-02 Ulrich Drepper <drepper@cygnus.com>
2659 * manual/time.texi (High Resolution Timer): Correct computation in
2660 example. Reported by jjf@devel.cemsys.com.
2662 1999-03-02 Philip Blundell <pb@nexus.co.uk>
2664 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
2665 entry is already relocated.
2667 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2669 * resolv/res_hconf.c (parse_line): Skip empty lines. Bug reported
2670 by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.
2672 1999-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2674 * sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
2675 uc_link which is the right name according to Unix98.
2676 Reported by Craig Metz [PR libc/1001].
2677 * sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
2678 * sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
2679 * sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
2680 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
2681 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise
2682 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.
2684 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2686 * manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
2689 1999-02-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2691 * iconvdata/Makefile: Always include iconv-rules, but disable rule
2692 to regenerate it if avoid-generated.
2694 * Makeconfig: Always include sys-dirs, but disable rule to
2695 regenerate it when avoid-generated.
2697 * sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
2698 rule to generate sysd-syscalls.
2700 * elf/Makefile (generated): Remove $(objpfx) from names.
2702 1999-02-28 Mark Kettenis <kettenis@gnu.org>
2704 * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
2705 actual length if the adress length is smaller than the input
2706 value. Change type of *LEN paramater to socklen_t.
2707 * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
2708 * sysdeps/mach/hurd/accept.c (accept): Likewise.
2709 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
2710 * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
2711 paramater to socklen_t.
2713 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
2715 * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
2716 msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
2719 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
2721 * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
2722 __get_phys_pages): Cast &HBI to silence warning.
2724 * hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
2725 * hurd/hurdchdir.c: New file.
2726 * hurd/hurdfchdir.c: New file.
2727 * sysdeps/mach/hurd/chroot.c: Call
2728 _hurd_change_directory_port_from_name to do the work.
2729 * sysdeps/mach/hurd/chdir.c: Likewise.
2730 * sysdeps/mach/hurd/fchdir.c: Call
2731 _hurd_change_directory_port_from_fd to do the work.
2732 * hurd/fchroot.c: Likewise.
2733 * hurd/hurd.h: Declare them.
2735 1999-02-27 Ulrich Drepper <drepper@cygnus.com>
2737 * elf/dl-load.c (lose): Add more comments to explain the `why'.
2738 (_dl_map_object): Remove redundant test.
2740 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
2742 * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
2743 try to _hurd_port_free a lower-numbered descriptor that was not in any
2746 1999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2748 * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
2749 declaration for ____wcstod_l_internal.
2751 * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
2752 __strtod_internal prototype.
2753 * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
2754 (____strtold_l_internal): Add prototype declaration.
2755 (__strtold_l): Call correct function.
2757 1999-02-24 Ulrich Drepper <drepper@cygnus.com>
2759 * elf/elf.h: Add 32bit HPPA definitions.
2761 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2763 * malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
2764 non-checked heap is restored when malloc checking was requested by
2766 (struct malloc_state): Add using_malloc_checking.
2767 (MALLOC_STATE_VERSION): Increment minor.
2768 (using_malloc_checking, disallow_malloc_check): New variables.
2769 (__malloc_check_init): Use them.
2770 (mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
2771 that it can the chunk is properly instrumented when malloc
2772 checking is enabled. Set the new using_malloc_checking field.
2773 (malloc_hook_ini): Correct signature when _LIBC is not defined.
2775 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2777 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
2778 (DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
2781 * elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
2782 Don't call elf_get_dynamic_info and _dl_setup_hash a second time
2783 if ld.so is the main program.
2785 1999-02-23 Ulrich Drepper <drepper@cygnus.com>
2787 * stdio-common/vfprintf.c (vfprintf): If precision or width is too
2788 large for work_buffer, allocate new buffer.
2789 (printf_unknown): Likewise. [PR libc/988]
2791 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
2793 * sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
2794 instead of stat and fstat.
2795 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2797 1999-02-23 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2799 * elf/dl-error.c (_dl_signal_cerror): New function.
2800 (_dl_signal_error): Don't call receiver function.
2801 * elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
2802 instead of _dl_signal_error when reporting references to undefined
2803 symbols or versions.
2804 (_dl_lookup_versioned_symbol): Likewise.
2805 (_dl_lookup_versioned_symbol_skip): Likewise.
2806 * elf/dl-version.c (match_symbol): Likewise.
2808 * elf/ldsodefs.h: Declare _dl_signal_cerror.
2810 1999-02-22 Ulrich Drepper <drepper@cygnus.com>
2812 * misc/getttyent.c (getttyent): Release lock on stream later to
2813 also protect global variable zapchar.
2815 * sysdeps/unix/sysv/linux/clock.c: Don't test return value of
2816 __times [PR libc/990].
2818 1999-02-21 David S. Miller <davem@redhat.com>
2820 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
2821 parentheses in Feb 2 changes.
2822 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
2824 1999-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2826 * sysdeps/generic/glob.c (glob): Save previous errno.
2828 1999-02-21 Ulrich Drepper <drepper@cygnus.com>
2830 * sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
2831 lookup functions if it is too small.
2833 1999-02-20 Ulrich Drepper <drepper@cygnus.com>
2835 * elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
2836 for tracing to the scope lists.
2837 * elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
2838 DT_SYMTAB is always available according to ELF spec.
2840 * elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
2841 call test whether there is any scope left.
2842 (_dl_lookup_versioned_symbol_skip): Likewise.
2844 * elf/Makefile (distribute): Add do-lookup.h.
2845 * elf/do-lookup.h: New file. Split out from dl-lookup.c.
2846 * elf/dl-lookup.c: Move do_lookup function in separate file and
2847 include the file twice, for handling versioning and without it.
2849 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
2850 entry is already relocated.
2851 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
2852 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
2853 * sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
2854 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
2856 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
2858 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
2861 * elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
2862 load address. Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
2863 DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
2864 (_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
2865 rel and rela relocations can both happen and skip one test if this
2867 (ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
2869 * elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
2871 * elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
2873 * elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
2874 (_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
2875 (_dl_map_object): DT_STRTAB entry is already relocated.
2876 * elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
2878 * elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
2880 * elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
2881 DT_VERSYM entries are already relocated.
2882 (profile_fixup): Likewise.
2883 * elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX. Replace
2885 (match_symbol): DT_STRTAB entry is already relocated.
2886 (_dl_check_map_versions): Likewise. Also fo DT_VERSYM.
2887 * elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
2888 relocated already. DT_SYMTAB and DT_VERSYM entries are also relocated.
2889 * elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
2890 (find_needed): DT_STRTAB entry is already relocated.
2891 (dl_main): Pass extra argument to elf_get_dynamic_info.
2892 DT_STRTAB entry is already relocated.
2893 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
2894 DT_PLTGOT entries are already relocated.
2895 (elf_machine_rela): Likewise for DT_SYMTAB.
2896 * sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
2898 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2899 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
2900 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
2901 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2902 * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
2903 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
2904 (elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.
2905 * sysdeps/mips/mips64/dl-machine.h: Likewise.
2907 * grp/initgroups.c (initgroups): If function in current module was
2908 successful don't stop but continue to process to get all the groups.
2910 * elf/dl-load.c (_dl_map_object_from_fd): Use global
2911 _dl_pf_to_proot array to convert p_flags value.
2912 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2914 * elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
2915 loop to clear `info'.
2917 * sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
2918 do the work and don't use inline assembler.
2920 1999-02-19 Ulrich Drepper <drepper@cygnus.com>
2922 * elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
2923 * elf/dl-load.c (lose): Make it a function at the toplevel, mark as
2924 noreturn, and prevent it from being inlined.
2925 Define LOSE appropriately.
2926 (_dl_map_object_from_fd): Compare all bytes in e_ident at once.
2927 Optimize decoding of p_flags for certain platforms.
2929 1999-02-19 Philip Blundell <pb@nexus.co.uk>
2931 * Makeconfig (link-libc): When doing a static link, make sure that
2932 libgcc.a is included both before and after libc.a.
2934 1999-02-18 Thorsten Kukuk <kukuk@suse.de>
2936 * nis/nss_compat/compat-spwd.c: Fix handling of default values for
2937 sp_warn, sp_inact, sp_expire and sp_flag.
2939 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
2941 * elf/link.h (link_map): Add l_dev and l_ino.
2942 * elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
2943 loaded shared object with all loaded objects. Initialize l_ino
2944 and l_dev in case it's new.
2945 * elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
2947 * elf/Makefile: Compile and run new test.
2948 * elf/multiload.c: New file.
2950 * nss/nsswitch.h (service_user): Change name field from const char *
2952 (name_database_entry): Likewise.
2953 * nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
2954 for change of `service_user'.
2955 (nss_getline): Adjust memory allocation for change of
2956 `name_database_entry'.
2958 * catgets/catgets.c: Correctly handle NLSPATH from environment
2961 * io/Makefile (routines): Add lock64.
2962 * io/Versions: Add lockf64 for GLIBC_2.1.1.
2963 * sysdeps/generic/lockf64.c: New file.
2965 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
2967 * string/bits/string2.h: Only use strncmp optimization if count
2968 argument is constant.
2970 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
2972 * sysdeps/mach/hurd/revoke.c: New file.
2974 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
2976 * wctype/wctype.h (_ISwbit): Cast result of shift operations to
2977 int to avoid warning about `ISO C restricts enumerator values to
2980 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2982 * elf/dlfcn.h: Fix typo.
2983 * sysdeps/generic/bits/dlfcn.h: Likewise.
2984 * sysdeps/mips/bits/dlfcn.h: Likewise.
2986 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
2988 * sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
2989 for the case N == 0.
2991 * db2/Makefile (distribute): Add LICENSE.
2993 1999-02-03 Jeff Bailey <jbailey@nisa.net>
2995 * sysdeps/unix/make_errlist.c: Add i18n and copyright to
2998 * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.
3000 1999-02-16 Ulrich Drepper <drepper@cygnus.com>
3002 * time/mktime.c: Use ISO C form for function definitions and
3003 remove unnecessary prototypes.
3005 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.
3007 * time/time.h: Avoid unneccesary #ifdef.
3009 1999-02-15 Geoff Keating <geoffk@ozemail.com.au>
3011 * stdio-common/_itoa.c (_itoa): Correct parameters to
3014 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3016 * misc/sys/cdefs.h: Undefine __PMT since it might be defined
3017 before (e.g. in glob.h).
3020 1999-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3022 * sysdeps/mips/fpu_control.h: Fix typo.
3023 Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
3026 1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
3028 * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
3029 the "unused" ends of the sockets. Let pipes be bidirectional.
3031 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
3033 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
3036 1999-02-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3038 * manual/llio.texi (Waiting for I/O): Correct meaning. Patch by
3039 Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].
3041 * manual/setjmp.texi (Non-Local Exits and Signals): Fix
3042 typo. Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].
3044 1999-02-15 Ulrich Drepper <drepper@cygnus.com>
3046 * string/Versions: Add __strverscmp to GLIBC_2.1.1.
3048 1999-02-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3050 * misc/syslog.c (vsyslog): Remember errno for %m format. Fix
3051 check for priority mask.
3053 1999-02-14 Ulrich Drepper <drepper@cygnus.com>
3055 * resolv/netdb.h (AI_NUMERICHOST): Change to 4.
3056 Reported by Craig Metz <cmetz@inner.net> .
3058 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3060 * stdio-common/Makefile (tests): tllformat added.
3062 * stdio-common/tllformat.c: New program, based on tiformat.c with
3063 examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3065 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3067 * posix/test-vfork.c: Fix exit status test.
3069 1999-02-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3071 * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
3072 missing cases. Reported by Craig Metz <cmetz@inner.net> [PR libc/964].
3074 1999-02-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3076 * sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
3077 of separare explicit comparisons.
3079 1999-02-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3081 * sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
3084 * sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
3087 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
3089 * po/el.po: Update from translation team.
3091 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3093 * intl/locale.alias: Fix slovenian entry [PR libc/948].
3095 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3097 * elf/sprof.c: assert.h isn't used anymore, remove inclusion.
3098 * inet/ruserpass.c: Likewise.
3099 * locale/programs/stringtrans.c: Likewise.
3100 * locale/programs/localedef.c: Likewise.
3101 * nscd/grpcache.c: Likewise.
3102 * nss/nss_files/files-XXX.c: Likewise.
3103 * stdlib/canonicalize.c: Likewise.
3104 * sysdeps/posix/sigwait.c: Likewise.
3106 1999-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3108 * sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
3109 even on 64 bit platforms.
3111 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
3112 Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.
3114 1999-02-09 Ulrich Drepper <drepper@cygnus.com>
3116 * intl/dcgettext.c: Include locale.h is available.
3118 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
3120 * po/nl.po: Update from translation team.
3122 * sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.
3124 * Makefile: Allow calling goals for po subdir.
3126 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
3129 * po/el.po: New file.
3131 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3133 * elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
3134 when processing DT_SYMBOLIC objects.
3136 1999-02-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3138 * elf/dl-load.c (_dl_map_object_from_fd): When looking for the
3139 program headers without PT_PHDR only require that they are
3140 contained within one of the loaded segments. Don't use assert,
3141 since that would be a bug in the object, not the dynamic linker.
3143 1999-02-08 Richard Henderson <rth@cygnus.com>
3145 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
3146 restore all call-clobbered fp regs.
3148 1999-02-08 Ulrich Drepper <drepper@cygnus.com>
3150 * po/cs.po: New file.
3152 * resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
3155 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
3157 * signal/signal.h: Don't declare __libc_allocate_rtsig.
3158 * include/signal.h: Declare __libc_allocate_rtsig here.
3160 * elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
3161 point functions, not do_lookup since the later can be called more
3164 1999-02-03 Jakub Jelinek <jj@ultra.linux.cz>
3166 * sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
3167 macro, so that architectures which need to add some special
3168 offset to stack pointer can share this file.
3170 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
3171 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
3172 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
3173 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.
3175 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
3176 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
3177 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
3178 between sparc32 and sparc64.
3180 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
3181 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
3182 * sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
3183 between sparc32 and sparc64.
3185 * sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
3186 * sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
3187 * sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
3188 between sparc32 and sparc64.
3190 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
3191 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
3192 * sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
3193 between sparc32 and sparc64.
3195 1999-02-07 Ulrich Drepper <drepper@cygnus.com>
3197 * Versions.def: New version GLIBC_2.1.1 for libc.
3198 * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
3199 * stdlib/labs.c: Moved to...
3200 * sysdeps/generic/labs.c: ...here.
3201 * stdlib/llabs.c: Moved to...
3202 * sysdeps/generic/llabs.c: ...here.
3203 * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
3204 header. Declare _Exit.
3205 * sysdeps/generic/_exit.c: Add alias _Exit.
3206 * sysdeps/mach/hurd/_exit.c: Likewise.
3207 * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
3208 * sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
3209 * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
3210 * sysdeps/unix/_exit.c: Likewise.
3211 * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
3212 imaxdiv and imaxabs. Declare lldiv_t if necessary.
3213 * sysdeps/wordsize-64/inttypes.h: Likewise.
3214 * sysdeps/wordsize-32/llabs.c: New file.
3215 * sysdeps/wordsize-32/lldiv.c: New file.
3216 * sysdeps/wordsize-64/labs.c: New file.
3217 * sysdeps/wordsize-64/ldiv.c: New file.
3218 * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
3219 * manual/startup.texi: Document _Exit.
3221 1999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3223 * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
3225 1999-02-06 Ulrich Drepper <drepper@cygnus.com>
3227 * Versions.def: Add versions for ld.so.
3228 * csu/Versions: Remove __libc_stack_end here.
3229 * elf/Versions: Split libc definitions in libc and ld.so definitions.
3230 * elf/Makefile (ld-map): Change to ld.so.map.
3231 * scripts/versions.awk: Recognize dot in library names.
3233 * ctype/ctype.h: Remove definitions of __tolower and __toupper.
3234 Don't use __tolower and __toupper in inline functions.
3235 Add optimizing macros for tolower and toupper.
3236 * ctype/ctype-extn.c (_tolower): Don't use __tolower.
3237 (_toupper): Don't use __toupper.
3238 * ctype/ctype.c (tolower): Don't use __tolower.
3239 (toupper): Don't use toupper.
3241 * nscd/cache.c (prune_cache): Correct printing of debugging messages.
3243 * resolv/Versions (libresolv): Export __ns_name_unpack and
3245 * resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
3246 make it global. Change all users. Similar for ns_name_ntop.
3247 * resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
3248 user-provided buffer. Use __ns_name_unpack and __ns_name_ntop
3249 directly to detect too small buffer.
3250 * resolv/nss_dns/dns-network.c: Likewise.
3252 * stdio-common/Makefile (tests): Add scanf12.
3253 * stdio-common/scanf12.c: New file.
3254 * stdio-common/scanf12.input: New file.
3255 * stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
3256 floating-point correctly if the number is invalid.
3258 * stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
3260 * stdio-common/printf_fp.c: Likewise.
3261 * stdio-common/printf_fphex.c: Likewise.
3262 * stdio-common/vfprintf.c: Likewise.
3265 See ChangeLog.9 for earlier changes.