1 1998-10-21 14:38 Ulrich Drepper <drepper@cygnus.com>
3 * sysdeps/unix/sysdep.h (INLINE_SYSCALL): New macro. Simply call
5 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use INLINE_SYSCALL instead
6 of calling __syscall_* function.
7 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
8 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
9 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11 * sysdeps/unix/sysv/linux/getpriority.c: Likewise.
12 * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
13 * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
14 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
15 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
16 * sysdeps/unix/sysv/linux/poll.c: Likewise.
17 * sysdeps/unix/sysv/linux/pread.c: Likewise.
18 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
19 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
20 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
21 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
22 * sysdeps/unix/sysv/linux/readv.c: Likewise.
23 * sysdeps/unix/sysv/linux/reboot.c: Likewise.
24 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
25 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
26 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
27 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
28 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
29 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
30 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
31 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
32 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
33 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
34 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
35 * sysdeps/unix/sysv/linux/writev.c: Likewise.
36 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
37 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
38 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
39 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
40 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
41 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
42 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
43 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
44 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
45 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
46 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
47 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
49 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define INLINE_SYSCALL using
51 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove various
52 __syscall_* definitions.
54 * sysdeps/unix/sysv/linux/syscalls.list: Move various __syscall_*
56 * sysdeps/unix/sysv/linux/alpha/syscalls.list: ...here...
57 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
58 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
59 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
60 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
61 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
62 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
64 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
65 (sysdep_routines): Remove s_pread64 and s_pwrite64.
67 * sysdeps/unix/sysv/linux/i386/pread.c: New file.
68 * sysdeps/unix/sysv/linux/i386/pread64.c: New file.
69 * sysdeps/unix/sysv/linux/i386/pwrite.c: New file.
70 * sysdeps/unix/sysv/linux/i386/pwrite64.c: New file.
71 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Removed.
72 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Removed.
74 1998-10-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
76 * sysdeps/unix/sysv/linux/siglist.h: Fix some typos in these files
77 and bring them in synch.
78 * sysdeps/unix/siglist.c: Likewise.
79 Reported by Vladimir Michl <michlv@risc.upol.cz> [PR libc/832].
81 1998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
83 * sysdeps/unix/sysv/linux/i386/setresuid.c: Allow -1 as arguments.
84 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
86 * sysdeps/unix/sysv/linux/i386/setreuid.c: New file.
87 * sysdeps/unix/sysv/linux/i386/setregid.c: New file.
88 * sysdeps/unix/sysv/linux/m68k/setreuid.c: New file.
89 * sysdeps/unix/sysv/linux/m68k/setregid.c: New file.
90 * sysdeps/unix/sysv/linux/arm/setreuid.c: New file.
91 * sysdeps/unix/sysv/linux/arm/setregid.c: New file.
92 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: New file.
93 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: New file.
94 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_setreuid and
96 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
97 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
98 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
100 1998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
102 * sunrpc/rpc_main.c (close_output, close_input): New functions.
103 (c_output, h_output, s_output, l_output, t_output, svc_output,
104 clnt_output, mkfile_output): Call them at the end.
106 1998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
108 * db/Makefile (LDFLAGS-db1.so): New variable, to avoid duplicating
111 1998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
113 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Add real contents.
114 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add s_setfs[ug]id.
116 1998-10-20 Ulrich Drepper <drepper@cygnus.com>
118 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_pread64 and
120 * sysdeps/unix/sysv/linux/powerpc/pread.c: New file.
121 * sysdeps/unix/sysv/linux/powerpc/pread64.c: New file.
122 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: New file.
123 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: New file.
124 Patch by Geoffrey KEATING <geoffk@discus.anu.edu.au>.
126 1998-10-18 Zack Weinberg <zack@rabi.phys.columbia.edu>
128 * sysdeps/unix/opendir.c: Check at runtime for kernel support for
131 1998-10-20 H.J. Lu <hjl@gnu.org>
133 * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Fix
136 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
138 * math/tgmath.h: Make nested function calls work.
140 * include/ldsodefs.h: Fix typo.
142 * posix/Makefile (tests): Add tst-preadwrite.
143 * posix/tst-preadwrite.c: New file.
145 * sysdeps/unix/opendir.c (__opendir): Add back fstat call to make
146 sure that descriptor is in any case for a directory.
148 1998-10-19 18:59 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
150 * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG): Fix typo: val -> Val.
151 (atan2): Takes two arguments.
153 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
155 * include/ldsodefs.h: New file.
157 * iconv/gconv.c: Include ldsodefs.h, not elf/ldsodefs.h.
158 Remove change to avoid using _CALL_DL_FCT.
159 * iconv/gconv_db.c: Likewise.
160 * iconv/gconv_dl.c: Likewise.
161 * iconv/skeleton.c: Likewise, here for DL_CALL_FCT.
162 * malloc/mtrace.c: Include ldsodefs.h, not elf/ldsodefs.h.
163 * nss/nsswitch.c: Likewise.
164 * nss/nsswitch.h: Likewise.
166 1998-10-19 Philip Blundell <pb@nexus.co.uk>
168 * sunrpc/Makefile (otherlibs): If static NSS is in use, set to the
170 * login/Makefile (otherlibs): Likewise.
171 * nscd/Makefile (otherlibs): Likewise.
172 * Makeconfig (link-libc) [! build_shared]: Add $(otherlibs).
174 * debug/Makefile (install-bin): Only build catchsegv if using ELF.
176 * inet/Makefile: Add -DSTATIC_NSS to CFLAGS.
178 1998-10-19 Philip Blundell <pb@nexus.co.uk>
180 * sysdeps/unix/sysv/linux/arm/syscalls.list: Added setfsgid
183 1998-10-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
185 * nscd/connections.c: Fix typos in comments and strings.
187 * nscd/nscd.conf: Update according to recent changes to nscd.
189 * nscd/cache.c (prune_cache): Remove wrong comment.
191 1998-10-19 13:24 Ulrich Drepper <drepper@cygnus.com>
193 * locale/programs/ld-collate.c (collate_startup): Clear bit for this
194 category in copy_posix.
195 (collate_finish): Don't warn about UNDEFINED not being defined.
196 * locale/programs/ld-ctype.c (ctype_startup): Clear bit for this
197 category in copy_posix.
198 * locale/programs/ld-messages.c (messages_startup): Likewise.
199 * locale/programs/ld-monetary.c (monetary_startup): Likewise.
200 * locale/programs/ld-numeric.c (numeric_startup): Likewise.
201 * locale/programs/ld-time.c (time_startup): Likewise.
202 * locale/programs/localedef.c: Move copy_def_list_t definition into
203 locales.h. Define copy_posix variable.
204 (main): Before processing copy list add ©_posix to copy_list.
205 * locale/programs/locales.h: Add definition of copy_def_list_t.
206 * locale/programs/locfile.c: Clear bit for appropriate category in
207 copy_posix.mask for copy instruction.
209 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
211 * sysdeps/unix/sysv/linux/i386/setresgid.c: Remove #include of
212 non-existing file with generic implementation.
213 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
215 1998-10-19 Philip Blundell <pb@nexus.co.uk>
217 * iconv/gconv_db.c: Include ELF header only if STATIC_GCONV is not
218 defined. Avoid using _CALL_DL_FCT if it is not defined.
219 * iconv/gconv.c: Likewise.
221 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
223 * nscd/connections.c (dbs): Define defualt values for timeouts and
224 set enabled to 0 by default.
225 (CACHE_PRUNE_INTERVAL): New constant. Use it instead of magical 15 in
228 * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISCNTRL bit for
230 (_nl_C_LC_CTYPE_class32): Likewise.
233 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
235 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
236 _HURD_THREADVAR_DL_ERROR.
238 * hurd/Makefile (user-interfaces): Add login, password.
240 * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses.
242 1998-08-06 Mark Kettenis <kettenis@phys.uva.nl>
244 [submitted 1998-08-06]
245 * mach/Machrules: Create target directory and force re-evaluation
246 of Makefile to prevent `make' from optimizing away most of the
247 implicit rules and `vpath' directives.
249 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
251 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): If _hurd_msgport_thread
252 is null, short-circuit to __mach_msg.
254 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): New function,
256 (init1) [PIC]: Call it.
257 (__libc_init_first) [! PIC]: Call it.
259 * sysdeps/mach/hurd/i386/init-first.c (init1): Don't call
260 __libc_init_secure. Instead set __libc_enable_secure here from
262 (__libc_enable_secure): New variable it.
263 * sysdeps/mach/hurd/enbl-secure.c: New file, empty placeholder module.
265 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
267 * nscd/nscd-client.h: New file, broken out of "nscd.h".
268 * nscd/nscd.h: Move defns needed by clients to "nscd-client.h",
270 * nscd/Makefile (distribute): Add nscd-client.h.
271 * nscd/nscd_getgr_r.c, nscd/nscd_gethst_r.c, nscd/nscd_getpw_r.c:
272 Include "nscd-client.h" instead of "nscd.h"
274 1998-10-18 Ulrich Drepper <drepper@cygnus.com>
276 * sysdeps/posix/getcwd.c (__getcwd): Don't stop processing
277 directory entries when a lstat call fails.
278 Patch by Colin Plumb <colin@nyx.net>.
280 * resolv/nss_dns/dns-host.c: Add missing errnop parameter to the
282 * resolv/nss_dns/dns-network.c: Likewise.
284 * grp/Makefile: Don't search for linuxthreads in add-ons, use
285 have-thread-library to determine whether threads are available.
286 * pwd/Makefile: Remove wrong comment.
288 * inet/Makefile: Define CFLAGS-gethstbyad_r.c, CFLAGS-gethstbynm_r.c,
289 and CFLAGS-gethstbynm2_r.c to -DUSE_NSCD=1.
291 * locale/C-messages.c: Define default strings for YESTR and NOSTR.
293 * nss/Versions: Add __nss_hosts_lookup.
295 * nss/getXXbyYY.c: Remove unneeded assignment.
297 * nss/getXXbyYY_r.c: Include nscd/nscd_proto.h only if needed.
299 Almost complete rewrite of the NSCD to make it smaller, faster,
300 add more functionnality and make it easier to extend.
301 * nscd/Makfile (routines): Add nscd_gethst_r.
302 (nscd-modules): Add hstcache, gethstbyad_r, gethstbynm2_r, and cache.
303 * nscd/cache.c: New file.
304 * nscd/gethstbyad_r.c: New file.
305 * nscd/gethstbynm2_r.c: New file.
306 * nscd/hstcache.c: New file.
307 * nscd/nscd_gethst_r.c: New file.
308 * nscd/connections.c: Rewritten. Don't start new thread for every
309 new connection. Use a fixed set of threads which handle all
310 connections and also the cache cleanup.
311 * nscd/grpcache.c: Rewritten to use generic cache handling functions
313 * nscd/nscd.c: Recognize new parameter nthreads. Adjust initialization
314 for rewrite. Remove handle_requests function.
315 * nscd/nscd.h (NSCD_VERSION): Bump to 2.
316 Define new data structure for the new unified cache and the host
318 * nscd/nscd_conf.c: Rewrite parsing partly to allow adding of more
319 databases easily. Recognize check-files and threads definitions.
320 * nscd/nscd.conf: Add definition of enable-cache and check-files to
321 passwd and group definitions. Add new set of definitions for hosts.
322 * nscd/nscd_getgr_r.c: Rewrite for new protocol.
323 * nscd/nscd_getpw_r.c: Likewise.
324 * nscd/nscd_proto.h: Add prototype for host database functions.
325 * nscd/nscd_stat.c: Rewrite to simplify printing of information
327 * nscd/dbg_log.c: Remove unnecessary variable initializations.
328 Global variable debug_flag is renamed to dbg_level.
329 * nscd/dbg_log.h: Declare set_logfile.
331 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
333 * sysdeps/unix/sysv/linux/bits/fcntl.h: Add dummy definition of
336 1998-10-16 Paul Eggert <eggert@shade.twinsun.com>
338 * time/mktime.c: Some systems require <unistd.h> to be
339 included before <time.h> for localtime_r to be declared
341 * time/strftime.c: Likewise.
343 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
345 * db/Makefile: Add rule to generate shared object with the soname
348 * sysdeps/unix/opendir.c: Use O_DIRECTORY if available. If not
349 available double check to verify it's a directory.
351 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add O_DIRECTORY.
352 * sysdeps/unix/sysv/linux/mips/bits/fcntl: Likewise.
353 * sysdeps/unix/sysv/linux/bits/fcntl.h: Remove O_* constants which
354 are not generally available.
355 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: New file.
357 * sysdeps/unix/sysv/linux/i386/setgroups.c: Add range check for values.
358 * sysdeps/unix/sysv/linux/arm/Makefile: New file.
359 * sysdeps/unix/sysv/linux/arm/setegid.c: New file.
360 * sysdeps/unix/sysv/linux/arm/seteuid.c: New file.
361 * sysdeps/unix/sysv/linux/arm/setfsgid.c: New file.
362 * sysdeps/unix/sysv/linux/arm/setfsuid.c: New file.
363 * sysdeps/unix/sysv/linux/arm/setgid.c: New file.
364 * sysdeps/unix/sysv/linux/arm/setgroups.c: New file.
365 * sysdeps/unix/sysv/linux/arm/setresgid.c: New file.
366 * sysdeps/unix/sysv/linux/arm/setresuid.c: New file.
367 * sysdeps/unix/sysv/linux/arm/setuid.c: New file.
368 * sysdeps/unix/sysv/linux/i386/setegid.c: New file.
369 * sysdeps/unix/sysv/linux/i386/seteuid.c: New file.
370 * sysdeps/unix/sysv/linux/i386/setfsgid.c: New file.
371 * sysdeps/unix/sysv/linux/i386/setfsuid.c: New file.
372 * sysdeps/unix/sysv/linux/i386/setgid.c: New file.
373 * sysdeps/unix/sysv/linux/i386/setgroups.c: New file.
374 * sysdeps/unix/sysv/linux/i386/setresgid.c: New file.
375 * sysdeps/unix/sysv/linux/i386/setresuid.c: New file.
376 * sysdeps/unix/sysv/linux/i386/setuid.c: New file.
377 * sysdeps/unix/sysv/linux/m68k/setegid.c: New file.
378 * sysdeps/unix/sysv/linux/m68k/seteuid.c: New file.
379 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: New file.
380 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: New file.
381 * sysdeps/unix/sysv/linux/m68k/setgid.c: New file.
382 * sysdeps/unix/sysv/linux/m68k/setgroups.c: New file.
383 * sysdeps/unix/sysv/linux/m68k/setresgid.c: New file.
384 * sysdeps/unix/sysv/linux/m68k/setresuid.c: New file.
385 * sysdeps/unix/sysv/linux/m68k/setuid.c: New file.
386 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
387 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
388 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: New file.
389 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: New file.
390 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: New file.
391 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
392 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file.
393 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file.
394 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: New file.
396 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add s_setgid, s_setresuid,
397 s_setresgid, and s_setuid.
398 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
399 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
400 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
401 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
402 (sysdep_routines): Add setfsgid, setfsuid, setresgid, and setresuid.
403 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
404 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
406 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
408 * time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get
409 localtime_t declaration on some systems.
411 1998-10-16 10:07 Ulrich Drepper <drepper@cygnus.com>
413 * iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to
415 * iconv/skeleton.c: Include ELF header only of STATIC_GCONV is not
416 defined. Avoid using DL_CLL_FCT if it is not defined.
418 1998-10-16 10:40 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
420 * resolv/arpa/nameser.h: Include sys/types.h unconditionally.
421 Include endian.h unconditionally. Remove portability goop
422 depending on #ifdef linux, #ifdef BSD, #ifdef machine-type.
424 1998-10-16 11:39 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
426 * sunrpc/rpc/types.h: Mark file so fixincludes won't modify it.
428 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
430 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios
431 again. Use char[44] to define size of the struct.
433 * sysdeps/unix/sysv/linux/arm/Dist: Add bits/armsigctx.h.
435 1998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
437 * string/bits/string2.h (strcmp): Don't cache the result of
438 __builtin_constant_p in variables, otherwise constant folding
439 can fail in big functions.
441 1998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
443 * string/bits/string2.h: Add prototypes for the new inline
446 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
448 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to
449 have all types defined.
450 Patch by Matti Aarnio <matti.aarnio@sonera.fi>.
452 1998-10-08 Paul Eggert <eggert@twinsun.com>
454 * time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r.
455 Define also if HAVE_LOCALTIME_R && defined localtime_r, with
456 a body that merely expands localtime_r; this works around a
457 bug in Digital Unix 4.0A and 4.0D.
459 1998-10-14 Ulrich Drepper <drepper@cygnus.com>
461 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl.
462 * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define
463 __ioctl to __syscall_ioctl and include Linux version of this file.
464 * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
465 * sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file. Redirect
466 ioctl calls which handle struct termios.
467 Based on a patch by Dan Jacobowitz <drow@false.org>.
469 1998-10-14 Ulrich Drepper <drepper@cygnus.com>
471 * version.h (VERSION): Bump to 2.0.98.
473 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios
474 here instead of including kernel_termios.h.
476 1998-10-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
478 * sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is
479 unnecessary after the changes of 1998-10-12.
481 1998-10-13 Ulrich Drepper <drepper@cygnus.com>
483 * sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output
484 parameter format string.
485 (inline_outw): Likewise.
487 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include
488 string.h to get memcpy prototype and NULL definition.
490 1998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
492 * misc/sys/cdefs.h (__THROW): New macro.
493 * argp/argp.h: Use it to replace the kludgey __P in inline
494 function definitions.
495 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
496 * stdlib/stdlib.h: Likewise.
497 * wcsmbs/wchar.h: Likewise.
498 * libio/stdio.h: Likewise.
499 * stdio/stdio.h: Likewise.
500 * sysdeps/wordsize-64/inttypes.h: Likewise.
501 * sysdeps/wordsize-32/inttypes.h: Likewise.
502 * string/argz.h: Likewise.
503 * io/sys/stat.h: Likewise.
505 1998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
507 * Rules (stdio_lim): New variable.
508 ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend
509 on Rules and config.make, use $(move-if-change) to avoid unnessary
510 recompilations, and cleanup command.
511 (common-generated): Add bits/stdio_lim.st.
513 1998-10-12 Ulrich Drepper <drepper@cygnus.com>
515 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): New
516 variable to prevent warnings from use of modern CPU instructions.
517 Patch by Richard Henderson <rth@cygnus.com>.
519 * sysdeps/unix/opendir.c: Test whether NAME is directory before
522 1998-10-12 Philip Blundell <pb@nexus.co.uk>
524 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Add missing
525 semicolon so that profiling works.
527 1998-10-12 Roland McGrath <roland@baalperazim.frob.com>
529 * sysdeps/generic/glob.c: #undef mempcpy before #define.
531 * sysdeps/unix/bsd/clock.c: Use prototype defns.
533 1998-10-11 Ulrich Drepper <drepper@cygnus.com>
535 * Rules [posix in sysdirs]: Set L_tmpnam to 20.
536 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
538 * string/bits/string2.h [!_STRING_ARCH_unaligned]
539 (__mempcpy_small): Add parameter for 1 byte copy and use it.
540 Reported by Geoff Keating <geoffk@ozemail.com.au>.
542 1998-10-09 Mark Kettenis <kettenis@phys.uva.nl>
544 * sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove,
545 it is already defined in <bits/environments.h>.
547 1998-10-09 Ulrich Drepper <drepper@cygnus.com>
549 * posix/ptestcases.h: Fix typo.
551 1998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
553 * posix/regex.c (regcomp): Allocate and prepare a fastmap.
554 (regexec): Allocate regs.start and regs.end as one block.
556 1998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
558 * sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of
561 1998-10-08 Philip Blundell <pb@nexus.co.uk>
563 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of
564 sigcontext union to ...
565 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here. New
567 * sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for
570 1998-10-08 Ulrich Drepper <drepper@cygnus.com>
572 * malloc/mtrace.c (tr_reallochook): Produce better output for real
575 * signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined.
576 * argp/argp-xinl.c: Likewise.
578 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing
580 Patch by Christian Gafton.
582 1998-10-08 Paul Eggert <eggert@twinsun.com>
584 * time/mktime.c (__mktime_internal): When the requested time falls
585 in a spring-forward gap of size DT, return a time that is DT away
586 from the requested time, preferring a time whose tm_isdst differs
587 from the requested value. Bump the max number of probes from 4 to
588 6 to account for the extra probes needed to discover a
589 spring-forward gap in the worst case.
591 1998-10-07 17:05 Ulrich Drepper <drepper@cygnus.com>
593 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection
594 of the weird alpha architectures.
595 Patch by Cristian Gafton <gafton@redhat.com>.
597 1998-02-18 23:31 Richard Henderson <rth@cygnus.com>
599 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
600 RAWHIDE and TSUNAMI. Patch from Jay.Estabrook@digital.com.
602 1998-10-07 Ulrich Drepper <drepper@cygnus.com>
604 * elf/dl-open.c (_dl_global_scope_alloc): Make global.
605 (dl_open_worker): Use realloc, not malloc to resize array.
606 * elf/rtld.c (_dl_initial_searchlist): New variable.
607 (_dl_main): Copy content of _dl_main_searchlist to
608 _dl_initial_searchlist.
609 * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and
610 _dl_global_scope_alloc.
611 * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist.
612 * elf/dl-close.c (_dl_close): When removing object with global
613 scope remove allocated searchlist if no dynamically loaded object
615 * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope.
616 (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist.
618 * malloc/mtrace.c (tr_where): Don't print space in location string,
619 print it afterwards. Print better symbol name information.
621 1998-10-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
623 * manual/filesys.texi (Setting Permissions): Fix example for
626 1998-10-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
628 * elf/sprof.c (load_profdata): Fix typo in error message.
630 1998-10-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
632 * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
635 1998-10-04 Roland McGrath <roland@baalperazim.frob.com>
637 * mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it.
639 1998-10-06 Ulrich Drepper <drepper@cygnus.com>
641 * version.h (VERSION): Bump to 2.0.97.
643 1998-10-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
645 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P
646 in definitions of inline stat functions so that they match the
648 * stdlib/stdlib.h: Likewise.
649 * wcsmbs/wchar.h: Likewise.
650 * libio/stdio.h: Likewise.
651 * stdio/stdio.h: Likewise.
652 * sysdeps/wordsize-64/inttypes.h: Likewise.
653 * sysdeps/wordsize-32/inttypes.h: Likewise.
654 * string/argz.h: Likewise.
655 * argp/argp.h: Likewise.
657 1998-10-06 Ulrich Drepper <drepper@cygnus.com>
659 * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
662 1998-10-05 Philip Blundell <philb@gnu.org>
664 * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures
665 and constants. Tidy up formatting a little.
667 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6):
668 Move definitions to in.h.
670 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
672 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER,
673 SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added.
674 Remove inclusion of <linux/swap.h>.
676 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
678 * io/sys/stat.h: Use __P in definitions of inline stat functions
679 so that they match the declaration.
681 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
683 * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added.
685 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
687 * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current
690 1998-10-02 Philip Blundell <pb@nexus.co.uk>
692 * sysdeps/arm/dl-machine.h: Fix typo in last change.
694 * sysdeps/arm/bits/huge_val.h: New file.
696 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
698 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added.
700 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add
703 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
705 * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to
706 store result of realloc instead of using BUF.
708 1998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
710 * misc/sgtty.h (_SGTTY_H): Correct spelling.
711 Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817].
713 1998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
715 * manual/memory.texi (Obstacks): Document
716 obstack_alloc_failed_handler usage.
718 * malloc/obstack.h: Enhance comment about
719 obstack_alloc_failed_handler usage.
720 * malloc/obstack.c: Likewise.
722 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
724 * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or
725 gcc before 2.8 is used.
727 1998-10-01 Philip Blundell <pb@nexus.co.uk>
729 * sysdeps/arm/machine-gmon.h: Correct args to mcount(). Patch
730 from Scott Bambrough.
732 * sysdeps/unix/sysv/linux/arm/register-dump.h: New file.
734 * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
735 include the lock member.
737 1998-09-03 Philip Blundell <pb@nexus.co.uk>
739 * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.
741 1998-10-01 Ulrich Drepper <drepper@cygnus.com>
743 * timezone/zic.c: Update from tzcode1998h.
744 * timezone/europe: Update from tzdata1998i.
745 * timezone/southamerica: Likewise.
747 * sys/types.h: Protect use of long long by __extension__.
748 * stdlib/stdlib.h: Likewise.
749 * string/string.h: Likewise.
750 * sysdeps/i386/bits/byteswap.h: Likewise.
751 * sysdeps/geeric/bits/byteswap.h: Likewise.
752 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
753 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
754 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
755 * sysdeps/wordsize-32/inttypes.h: Likewise.
756 * sysdeps/wordsize-32/stdint.h: Likewise.
757 * wcsmbs/wchar.h: Likewise.
759 1998-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
761 * string/bits/string2.h (__string2_1bptr_p): Don't use a statement
763 (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
764 __strsep): Greatly reduce size of expansion by combining common
766 (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
768 (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
769 by the above definitions.
771 1998-09-27 Geoff Keating <geoffk@ozemail.com.au>
773 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
774 correct struct ipc_perm definition.
776 1998-09-29 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
778 * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.
780 1998-09-29 Cristian Gafton <gafton@redhat.com>
782 * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
783 * sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
784 * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
785 * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
788 1998-09-29 Ulrich Drepper <drepper@cygnus.com>
790 * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.
792 * nis/ypclnt.c: Remove not needed close calls.
794 1998-09-28 23:55 Ulrich Drepper <drepper@cygnus.com>
796 * nis/ypclnt.c (__yp_bind): Pretty print. Optimize readv result
797 check a bit. Also close socket of domain client. Close socket
798 in IPPORT_RESERVED error case.
800 1998-09-28 Ulrich Drepper <drepper@cygnus.com>
802 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
803 CMSG_ALIGN (fixes a bug) and correct test for availability of
805 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
807 (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
808 availability of another entry.
811 * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
814 * libio/libio.h [!__STDC__]: Define const only if not defined.
816 1998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
818 * posix/annexc.c (xsystem): New function. Use it instead of
821 1998-09-28 Ulrich Drepper <drepper@cygnus.com>
823 * stdlib/longlong.h: Remove #endif for #if removed in last change.
825 1998-09-25 Ulrich Drepper <drepper@cygnus.com>
827 * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
828 Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
829 allow using `ut' parameter.
830 [!emacs]: Define ut_argument, ut_argument_spec, and
831 ut_argument_spec_iso as empty. Define ut to 0. Add ut_argument and
832 argument_spec to prototypes and definitions.
833 (my_strftime): Don't call tzset of ut != 0.
834 Compute diff as 0 is ut != 0;
835 [emacs]: Define new emacs_strftime function.
836 Based on a patch by Paul Eggert.
838 1998-09-24 Paul Eggert <eggert@twinsun.com>
840 * time/strftime.c (my_strftime): When asking for the length of the
841 subformatted buffer, do not limit the length to look for;
842 otherwise, we have no reliable way to distinguish between the
843 empty buffer and an error.
845 1998-09-25 Ulrich Drepper <drepper@cygnus.com>
847 * math/Makefile (gmp-objs): Add mp_clz_tab.
849 1998-09-25 David S. Miller <davem@pierdol.cobaltmicro.com>
851 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
853 * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
854 cpus lacking hardware multiply and divide.
856 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
858 * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
861 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
863 * db/btree/bt_delete.c: Fix -Wparentheses warning.
865 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
867 * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
870 1998-09-24 Ulrich Drepper <drepper@cygnus.com>
872 * debug/catchsegv.sh: Also produce output if clone process died.
874 1998-09-24 Paul Eggert <eggert@twinsun.com>
876 * time/strftime.c (f_wkday): Remove duplicate definition.
877 (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
878 !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
879 1998-09-11 fix to this case.
880 (wkday_len, month_len): Remove these macros; they're no longer needed.
882 1998-09-24 Paul Eggert <eggert@twinsun.com>
884 * time/strftime.c (my_strftime): Don't store past the end of a
887 1998-09-24 Paul Eggert <eggert@twinsun.com>
889 * time/strftime.c (underlying_strftime):
890 Set the buffer to a nonzero value before calling
891 strftime, and check to see whether strftime has set the buffer to zero.
892 This lets us distinguish between an empty buffer and an error.
894 1998-09-24 Paul Eggert <eggert@shade.twinsun.com>
896 * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
897 This fix is propagated from tzcode1998g.tar.gz.
899 1998-09-24 Mark Kettenis <kettenis@phys.uva.nl>
901 * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
902 _sys_siglist. [!HAVE_GNU_LD]: Do not define _sys_siglist as
903 sys_siglist. This is handled correctly by the weak_alias macro.
905 1998-09-24 Ulrich Drepper <drepper@cygnus.com>
907 * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
908 of mempcpy. Reported by Andreas Jaeger.
910 * misc/regexp.h (compile): Use alloca instead of __alloca. It won't
911 pollute the namespace since the compiler will resolve it inline.
912 Reported by Florian La Roche <florian@suse.de>.
914 1998-09-24 10:29 Ulrich Drepper <drepper@cygnus.com>
916 * timezone/private.h: Update from tzcode1998g.
918 * timezone/africa: Update from tzdata1998h.
919 * timezone/asia: Likewise.
920 * timezone/australasia: Likewise.
921 * timezone/europe: Likewise.
922 * timezone/northamerica: Likewise.
923 * timezone/southamerica: Likewise.
924 * timezone/zone.tab: Likewise.
926 1998-09-23 17:28 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
928 * misc/sys/mman.h: New file.
930 * sysdeps/generic/bits/mman.h: New file.
931 * sysdeps/unix/bsd/osf/bits/mman.h: New file.
932 * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
933 * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
934 * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
936 * sysdeps/generic/sys/mman.h: Removed.
937 * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
938 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
939 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
940 * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
941 * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
943 * include/sys/mman.h: Look directly for misc/sys/mman.h.
944 * misc/Makefile (headers): Add bits/mman.h.
945 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
948 * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
949 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
950 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
951 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
952 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
953 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
954 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
955 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
957 1998-09-23 16:27 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
959 * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
960 * sysdeps/mach/alpha/thread_state.h: Likewise.
961 * sysdeps/mach/i386/sysdep.h: Likewise.
962 * sysdeps/mach/i386/thread_state.h: Likewise.
963 * sysdeps/mach/mips/sysdep.h: Likewise.
964 * sysdeps/mach/mips/thread_state.h: Likewise.
965 * sysdeps/posix/profil.c: Likewise.
966 * sysdeps/i386/i586/memcopy.h: Likewise.
967 * sysdeps/mach/pagecopy.h: Likewise.
969 1998-09-23 15:25 Ulrich Drepper <drepper@cygnus.com>
971 * libio/stdio.h: Define __need_getopt and include getopt.h to define
973 * posix/unistd.h: Likewise.
974 * stdio/stdio.h: Likewise.
975 * posix/getopt.h: Remove _GNU_SOURCE use. If __need_getopt is defined
976 define only getopt and the variables.
978 1998-09-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
980 * scripts/test-installation.pl (installation_problem): Don't link
981 the test program against libdb1.
983 1998-09-23 13:52 Ulrich Drepper <drepper@cygnus.com>
985 * Makeconfig (all-subdirs): Add db.
986 * Versions.def: Add definition for libdb1.
987 * shlib-versions: Add definitions for libdb1.
988 * db/Makefile (extra-libs): Replace by libdb1.
989 (libdb-routines): Rename to libdb1-routines.
990 (headers): Rename to db1-headers.
991 (distribute): Add $(db1-headers).
992 (install-others): Define to install symlink libdb.so.NN and the
994 (CPPFLAGS): Add -DUSE_LIBDB1
995 Remove rules to build makedb.
996 * db/Versions: Rename libdb to libdb1.
997 * include/db.h: If USE_LIBDB1 is defined include db/db.h.
998 * db/makedb.c: Removed.
1000 * scripts/versions.awk: Recognize digits in library names.
1002 * db/btree/bt_open.c: Fix compiler warnings.
1003 * db/btree/bt_put.c: Likewise.
1004 * db/btree/bt_split.c: Likewise.
1005 * db/hash/hash.c: Likewise.
1006 * db/hash/hash_bigkey.c: Likewise.
1007 * db/recno/rec_close.c: Likewise.
1009 * Makefile: Add localedata/% goal.
1011 1998-09-22 19:58 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1013 * posix/execvp.c: Don't give up searching the PATH if execve
1016 1998-09-22 12:53 Ulrich Drepper <drepper@cygnus.com>
1018 * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
1019 if _dl_fpu_control_set is set.
1020 * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
1021 * elf/rtld.c: Don't define _dl_fpu_control_set.
1022 * elf/Versions: Remove _dl_fpu_control_set.
1024 1998-09-22 11:51 Ulrich Drepper <drepper@cygnus.com>
1026 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
1027 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
1028 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
1029 Correct values of other SA_* macros according to kernel headers.
1031 1998-09-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1033 * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
1035 * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
1038 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1040 * elf/ldsodefs.h: Fix typo in comment.
1042 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1044 * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
1045 char when comparing buffer contents with putback character.
1047 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1049 * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
1051 * elf/Versions: Undo last change. Export _dl_fpu_control and
1052 _dl_fpu_control_set.
1053 * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
1054 variables. Include <fpu_control.h>.
1055 * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
1056 _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
1057 to indicate that is was seen.
1058 * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
1059 only if _dl_fpu_control was set and is equal to desired value.
1060 * math/Makefile (aux): Undo last change.
1061 * math/Versions: Export __fpu_control with version GLIBC_2.0.
1063 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1065 * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
1068 1998-09-21 10:00 Ulrich Drepper <drepper@cygnus.com>
1070 * string/bits/string2.h: Add mempcpy optimization.
1071 * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
1072 * intl/localealias.c: Define mempcpy only if not already defined.
1074 * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
1077 1998-09-20 10:48 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1079 * csu/abi-note.S: Emit the note directly instead of defining
1080 a preprocessor macro that's only used once. Don't include sysdep.h.
1081 * abi-tags: Generalize Solaris entry.
1083 1998-09-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1085 * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
1086 Change to array to avoid runtime relocation.
1087 * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
1089 1998-09-21 12:22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1091 * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
1092 * math/Makefile ($(objpfx)libieee.a): Likewise.
1094 1998-09-21 Ulrich Drepper <drepper@cygnus.com>
1096 * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
1097 Patch by John Tobey <jtobey@banta-im.com>.
1099 1998-09-20 Ulrich Drepper <drepper@cygnus.com>
1101 * login/Makefile (distribute): Remove pty-internal.h, add
1104 * stdlib/tst-strtol.c: Add more checks.
1105 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
1107 1998-09-20 09:37 Ulrich Drepper <drepper@cygnus.com>
1109 * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
1110 * elf/elf.h: Add AT_FPUCW.
1111 * elf/Makefile (dl-routines): Add fpu_control.
1112 (elide-routines.os): Add fpu_control.
1113 (rtld-routines): Add fpu_control.
1114 * math/Makefile (aux): Remove fpu_control.
1115 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
1116 (_dl_show_auxv): Likewise.
1117 * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
1118 if different from OS default.
1120 * stdio-common/tstscanf.c: Add test case for (nil).
1122 1998-09-18 17:41 Ulrich Drepper <drepper@cygnus.com>
1124 * libio/fileops.c (_IO_new_file_underflow): Before allocating
1125 buffer make sure the pushback buffer is destroyed.
1126 (_IO_new_file_seekoff): Likewise.
1127 If mode==0 quit early with the result.
1128 Clear OEF flag after successful fseek.
1129 * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
1130 * libio/ftello.c (ftello): Add offset from original buffer if
1131 stream has pushed back characters.
1132 * libio/ftello64.c (ftello64): Likewise.
1133 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
1134 * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
1135 * libio/ioftell.c (_IO_ftell): Likewise.
1136 * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
1138 (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
1139 (_IO_default_pbackfail): Only stored push back character in original
1140 buffer if it is the same as the one in the file at this position.
1141 * libio/iofclose.c: Free backup buffer if one is available.
1142 * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
1145 * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
1147 * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
1149 * stdio-common/vfscanf.c: Fix reading (nil) for %p.
1151 1998-09-18 Mark Kettenis <kettenis@phys.uva.nl>
1153 * login/programs/pt_chown.c (more_help): Correct message that
1154 describes the purpose of the program.
1156 * login/openpty.c: Do not include pty-private.h.
1157 (pts_name): New function. Return name of slave pseudo terminal in
1158 an allocated buffer if necessary.
1159 (openpty): Use pts_name to get name of the slave end of the pseudo
1162 * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
1163 pts_name before return.
1165 1998-09-18 11:15 Ulrich Drepper <drepper@cygnus.com>
1167 * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
1169 1998-09-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1171 * login/openpty.c: Include pty-private.h instead of
1174 1998-09-09 Philip Blundell <pb@nexus.co.uk>
1176 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
1178 1998-09-07 Philip Blundell <pb@nexus.co.uk>
1180 * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
1181 recent ld.so changes.
1182 (elf_machine_runtime_setup): Correct behaviour when profiling.
1184 1998-09-17 19:34 Ulrich Drepper <drepper@cygnus.com>
1186 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
1187 Patch by John Tobey <jtobey@banta-im.com>.
1189 1998-09-17 Mark Kettenis <kettenis@phys.uva.nl>
1191 * login/pty-internal.h: Removed. Moved constants related to the
1192 `grantpt' helper program protocol to ...
1193 * login/pty-private.h: ... here. New file.
1194 * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
1195 to make the function work with kernels >= 2.1.115.
1196 * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
1197 version if using the cloning device fails.
1198 * sysdeps/unix/sysv/linux/grantpt.c: New file.
1199 * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
1200 * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
1201 use by Linux specific code.
1202 * sysdeps/unix/bsd/unlockpt.c: General cleanup.
1203 * sysdeps/unix/grantpt.c: Largely rewritten. (pts_name): New
1204 function. (grantpt): Use pts_name, check group and permission
1205 mode in addition to owner. Try to set the owner, group and
1206 permission mode first without invoking the helper program.
1207 * login/programs/pt_chown.c: Largely rewritten. Add argp and
1208 internationalization support. Use symbolic constants instead of
1209 hardwired numbers for permission mode.
1210 * sysdeps/unix/bsd/ptsname.c: New file.
1212 1998-09-17 22:04 Tim Waugh <tim@cyberelk.demon.co.uk>
1214 * posix/wordexp-test.c: Undo last change.
1216 * posix/wordexp.c: Undo last change.
1218 1998-09-16 Ulrich Drepper <drepper@cygnus.com>
1220 * nscd/grpcache.c (save_grp): Partly undo last change.
1222 * nscd/pwdcache.c (save_pwd): Undo last change.
1224 1998-09-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1226 * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
1227 function. Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
1229 1998-09-15 David S. Miller <davem@pierdol.cobaltmicro.com>
1231 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
1232 Add profiling support.
1233 (TRAMPOLINE_TEMPLATE): New macro.
1234 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
1235 (RTLD_START): Prettify, and set __libc_stack_end properly.
1236 (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
1237 and check for sym being NULL instead.
1238 * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
1240 * sysdeps/sparc/sparc64/lshift.S: Likewise.
1241 * sysdeps/sparc/sparc64/mul_1.S: Likewise.
1242 * sysdeps/sparc/sparc64/rshift.S: Likewise.
1243 * sysdeps/sparc/sparc64/submul_1.S: Likewise.
1244 * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
1245 MEDANY code model %g4 usage.
1246 * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
1247 MEDANY code model %g4 usage.
1248 * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
1249 code model address formation.
1250 * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
1251 include elf/ldsodefs.h
1253 (elf_machine_matches_host): It is now EM_SPARCV9.
1254 (elf_machine_dynamic): Clean up to remove ugly cast.
1255 (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
1257 (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
1258 Prettify rest of function.
1259 [R_SPARC_COPY]: Check for sym being NULL.
1260 [R_SPARC_32]: Handle it.
1261 [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
1263 [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
1265 [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
1266 (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
1267 Add profiling support.
1268 (TRAMPOLINE_TEMPLATE): New macro.
1269 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
1270 (RTLD_START): Prettify and set __libc_stack_end.
1271 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
1273 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
1274 (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
1275 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
1276 unused variable scratch.
1277 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1278 (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
1280 (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
1281 stub to rt_sigaction syscalls. Rewrite non-rt case to use correct
1282 old format kernel sigaction structures.
1283 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
1284 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
1285 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
1286 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
1288 (_JMPBUF_UNWINDS): Define.
1289 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
1290 statfs64 structure, which is exactly the same as the normal one.
1291 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
1292 of stack. Use correct syscall trap number. Add branch prediction
1293 settings to branch instructions. Remove old MEDANY code model %g4
1294 referneces for non-PIC.
1295 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
1296 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
1297 * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
1298 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
1299 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1300 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
1301 __libc_longjmp and __libc_siglongjmp strong aliases.
1302 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
1303 Also define to __no__readdir64_decl around readdir.c inclusion.
1304 (__readdir64): Add strong alias.
1305 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
1306 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
1307 Set strong and weak names properly.
1309 1998-09-16 11:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1311 * manual/Makefile (AWK): Default to gawk if standalone.
1313 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1315 * Makefile (distribute): Undo last change.
1316 * Make-dist (+tsrc) [not subdir]: Also include indirection headers
1318 (+subdir-headers): Removed, unused.
1320 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1322 * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
1325 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1327 * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
1328 absolute name in $(config-sysdirs), can never happen.
1329 ($(+sysdir_pfx)sysd-rules): Likewise.
1330 * Makeconfig (full-config-sysdirs): Likewise.
1331 (all-Subdirs-files): Prepend $(..).
1333 * configure.in: Don't check for absolute name in $add_ons_pfx, can
1334 not happen. Let --enable-add-ons=yes work if no add-ons actually
1337 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1339 * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
1340 continuations in command.
1342 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1344 * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
1346 1998-09-16 00:47 Tim Waugh <tim@cyberelk.demon.co.uk>
1348 * posix/wordexp-test.c: If expansion or substitution occurs
1349 anywhere in a word, the entire word is subject to field-splitting.
1351 * posix/wordexp.c (parse_glob): Look for end of word instead of
1352 end of field when deciding what to glob.
1353 (field_split_word): New function, now the only place where
1354 field-splitting is performed.
1355 (parse_dollars): New parameter - tell the caller if
1356 field-splitting should be performed on this word.
1358 * posix/wordexp-test.c (testit): Only call wordfree if wordexp
1359 succeeded (or failed with WRDE_NOSPACE).
1361 1998-09-15 19:53 1998 Tim Waugh <tim@cyberelk.demon.co.uk>
1363 * posix/wordexp.c (wordexp): Don't convert IFS characters to
1366 * posix/wordexp-test.c: Words not the result of expansion or
1367 substitution should remain unchanged.
1369 1998-09-15 Ulrich Drepper <drepper@cygnus.com>
1371 * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
1372 (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
1374 1998-09-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1376 * stdio-common/Makefile: Include Makeconfig so that
1377 $(inst_includedir) is defined.
1379 1998-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1381 * io/pwd.c: Include <mcheck.h>.
1383 1998-09-15 08:00 Ulrich Drepper <drepper@cygnus.com>
1385 * nscd/pwdcache.c (save_pwd): Correct copying.
1386 * nscd/grpcache.c (save_grp): Likewise.
1388 1998-09-14 23:36 Ulrich Drepper <drepper@cygnus.com>
1390 * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
1391 (free_pwd): Adjust for this change.
1392 * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
1393 (free_grp): Adjust for this change.
1395 1998-09-14 Ulrich Drepper <drepper@cygnus.com>
1397 * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
1399 1998-09-14 15:29 Ulrich Drepper <drepper@cygnus.com>
1401 * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
1402 (install-others): Add bits/stdio_lim.h.
1403 Add rule to install bits/stdio_lim.h.
1405 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
1407 * Makefile (distribute): Add include/sys/mman.h.
1409 * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
1410 * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
1411 * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
1413 * grp/initgroups.c: Include stdlib.h.
1414 Patch by Zack Weinberg.
1416 1998-09-14 22:46 Tim Waugh <tim@cyberelk.demon.co.uk>
1418 * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
1419 for field-splitting :abc: is correct, and that two fields should
1420 result. Revert tests to reflect this.
1422 * posix/wordexp.c (w_emptyword): Remove function.
1423 (exec_comm): Don't use w_emptyword.
1424 (parse_param): Likewise.
1426 1998-09-14 15:00 Ulrich Drepper <drepper@cygnus.com>
1428 * sysdeps/arm/fpu/Dist: Moved to...
1429 * sysdeps/arm/Dist: ...here.
1430 * sysdeps/posix/Dist: Removed.
1431 * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
1432 * sysdeps/unix/sysv/linux/i386/Dist: ...here.
1434 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
1436 * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
1438 1998-09-14 11:26 Ulrich Drepper <drepper@cygnus.com>
1440 * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
1442 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1444 * libc-work/nis/nss_nisplus/nisplus-service.c
1445 (_nss_nisplus_parse_servent): Convert port in network byte order.
1447 1998-09-14 07:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1449 * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
1450 to provide only malloc and calloc.
1451 * include/stdlib.h: Support the above.
1452 * string/bits/string2.h: Use __need_malloc_and_calloc when
1454 (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
1456 * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
1457 * iconvdata/iso646.c: Include <stdlib.h>.
1459 1998-09-14 07:51 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1461 * sunrpc/rpc_cout.c: Add braces around ambiguous else.
1462 * sysdeps/libm-ieee754/w_pow.c: Likewise.
1463 * sysdeps/libm-ieee754/w_powf.c: Likewise.
1464 * sysdeps/libm-ieee754/w_powl.c: Likewise.
1466 1998-09-14 07:57 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1468 * stdio-common/stdio_lim.h.in: New file. All parameters
1469 are adjustable at build time.
1470 * Rules: Add a rule to build bits/stdio_lim.h from
1471 stdio-common/stdio_lim.h.in. (It has to be in Rules so that
1472 all subdirectories know how to make the file. It can't be
1473 in Makerules because then it gets built at top level and the
1474 dependencies are wrong.)
1476 * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
1477 * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
1479 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
1480 * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
1481 * sysdeps/posix/Makefile: Removed.
1482 * sysdeps/posix/mk-stdiolim.c: Removed.
1483 * sysdeps/generic/bits/stdio_lim.h: Removed.
1485 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1487 * argp/argp-help.c: Fixup indentation.
1488 * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
1489 * resolv/nss_dns/dns-network.c: Likewise.
1490 * resolv/res_send.c: Likewise.
1491 * rt/aio_cancel.c: Likewise.
1492 * rt/aio_misc.c: Likewise.
1494 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1496 * Makefile (install-symbolic-link): Remove the link list file at last.
1497 * Makerules (install-clean-symbolic-link-list): Removed.
1499 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1501 * timezone/tst-timezone.c: Print time in UTC to get consistent
1504 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1506 * elf/rtld.c (_dl_rpath): Removed.
1507 * elf/dl-support.c (_dl_path): Removed.
1508 * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
1509 (CFLAGS-dl-support.c): Removed.
1511 * elf/dl-load.c (env_path_list): Renamed from fake_path_list. All
1513 (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
1514 instead of appending it to the main map's rpath info.
1515 (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
1516 DT_RPATHs. This makes it effective again.
1517 (decompose_rpath): Remove second parameter, callers changed.
1518 (fillin_rpath): Allocate enough space in curwd.
1519 (expand_dynamic_string_token): Cope with get_origin returning -1.
1521 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1523 * libc-work/nis/nss_compat/compat-pwd.c: Add support for
1526 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
1529 1998-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
1531 * locale/programs/locale.c: Update dates.
1533 1998-09-13 Mark Kettenis <kettenis@phys.uva.nl>
1535 * sysdeps/generic/bits/types.h: Include <features.h>. Make sure
1536 size_t is defined. Some reordering of defenitions to make
1537 maintaining this file in parallel with the linux-specific file easier.
1539 1998-09-13 Ulrich Drepper <drepper@cygnus.com>
1541 * io/pwd.c (main): Add call to mtrace.
1543 * malloc/mtrace.pl: Quote @ in string.
1545 1998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk>
1547 * posix/wordexp.c (parse_arith): Fix memory leaks.
1548 (exec_comm): Likewise.
1549 (parse_param): Likewise.
1550 (wordexp): Likewise.
1551 (exec_comm): Reduce number of function return points.
1552 (parse_param): Likewise.
1553 (wordexp): Likewise.
1555 1998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk>
1557 * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
1558 yield three fields, not two. Test both parameter expansion and
1559 command substitution for correct field-splitting behaviour.
1561 * posix/wordexp.c (w_emptyword): New function.
1562 (parse_param): Use it.
1563 (exec_comm): Likewise, for consistency with the way parse_param
1565 (parse_param): Fix some memory leaks.
1567 1998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au>
1569 * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
1570 Don't mark asm `volatile'.
1571 (__elf_machine_runtime_setup): Clear the last partial block in the PLT
1572 from the data cache too. Assume it isn't in the instruction cache yet.
1573 (__elf_machine_fixup_plt): Clear the modified address from the caches.
1575 1998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
1577 * sysdeps/generic/segfault.c (install_handler): Install signal
1578 handler with SA_ONSTACK instead of setting the stack flags to
1579 SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
1582 1998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1584 * signal/signal.h: Fix multiple inclusion guard to cover the
1586 * wcsmbs/wchar.h: Remove prototype of internal function
1588 * sysdeps/i386/i486/bits/string.h (memchr): Don't do
1589 arithmetic on `void *'.
1591 1998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
1593 * posix/wordexp-test.c: Fix wrong tests. Add new tests.
1595 * posix/wordexp.c (wordexp): Perform word-splitting instead of
1596 field-splitting here.
1597 (wordexp): If out of memory mid-word, free the word (but still
1598 leave pwordexp alone for caller to see).
1599 (parse_param): Allow for zero-length fields (smarter checking of
1600 memory allocation failure).
1601 (w_addword): Convert NULL words to "".
1602 (wordexp): Convert left-over IFS characters to blanks (like bash).
1604 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
1606 * configure.in: Use test -f instead of test -e.
1607 Patch by John Tobey <jtobey@banta-im.com>.
1609 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
1610 * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
1611 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
1612 * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
1613 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
1614 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
1615 * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
1616 Patches by John Tobey <jtobey@banta-im.com>.
1618 * time/strftime.c (my_strftime): Delay use of *tp values until
1619 latest possible point to allow partly initialized structures
1620 (e.g., from strptime).
1622 * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
1624 Define *-routines variables for new modules.
1625 (distribute): Add .c files for new modules.
1626 (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
1628 Add rules for header generation.
1629 * iconvdata/gconv-modules: Add entries for new modules.
1630 * iconvdata/iso_10367-box.c: New file.
1631 * iconvdata/mac-is.c: New file.
1632 * iconvdata/nats-dano.c: New file.
1633 * iconvdata/nats-sefi.c: New file.
1635 1998-04-30 18:20 H.J. Lu <hjl@gnu.org>
1637 * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
1638 loader if PIC is not defined.
1640 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
1642 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
1643 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
1644 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
1646 Define *-routines variables for new modules.
1647 (distribute): Add .c files for new modules.
1648 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
1649 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
1650 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
1651 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
1652 Add rules for header generation.
1653 * iconvdata/gconv-modules: Add entries for new modules.
1654 * iconvdata/csn_369103.c: New file.
1655 * iconvdata/cwi.c: New file.
1656 * iconvdata/dec-mcs.c: New file.
1657 * iconvdata/ecma-cyrillic.c: New file.
1658 * iconvdata/gost_19768-74.c: New file.
1659 * iconvdata/greek-ccitt.c: New file.
1660 * iconvdata/greek7-old.c: New file.
1661 * iconvdata/greek7.c: New file.
1662 * iconvdata/inis-8.c: New file.
1663 * iconvdata/inis-cyrillic.c: New file.
1664 * iconvdata/inis.c: New file.
1665 * iconvdata/iso6937-2.c: New file.
1666 * iconvdata/iso_2033.c: New file.
1667 * iconvdata/iso_5427-ext.c: New file.
1668 * iconvdata/iso_5427.c: New file.
1669 * iconvdata/iso_5428.c: New file.
1671 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
1673 Convert U02dd correctly.
1675 1998-09-11 20:46 Richard Henderson <rth@cygnus.com>
1677 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
1678 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
1679 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
1680 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
1682 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
1684 * resolv/res_init.c (res_init): Handle resolv.conf file with only
1685 one nameserver correctly. Patch by HJ Lu.
1687 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
1689 Define *-routines variables for new modules.
1690 (distribute): Add .c files for new modules.
1691 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
1692 Add rules for hedaer generation.
1693 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
1694 * iconvdata/ansi_x3.110.c: New file.
1695 * iconvdata/asmo_449.c: New file.
1696 * iconvdata/baltic.c: New file.
1697 * iconvdata/iec_p27-1.c: New file.
1699 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
1701 Convert U02dc correctly.
1703 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
1704 * math/atest-exp2.c: Likewise.
1705 * math/atest-sincos.c: Likewise.
1707 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
1710 1998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1712 * string/strcoll.c: Optimize a few expressions.
1713 * string/strxfrm.c: Likewise.
1715 1998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1717 * manual/locale.texi: Fix typos.
1719 1998-09-10 Ulrich Drepper <drepper@cygnus.com>
1721 * stdlib/random_r.c (__setstate_r): Allow call with same state
1722 array as currently used (PR libc/774).
1724 * include/limits.h: Include gcc's header even if this file is
1725 found more than once before it (PR libc/778)
1727 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
1728 (sysdep_headers): Remove sys/debugreg.h.
1729 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
1730 (sysdep_headers): Add sys/debugreg.h.
1731 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
1732 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
1734 * stdio-common/tmpnam.c: Move local static variable buf to
1735 toplevel and rename to tmpnam_buffer to ease debugging.
1736 Patch by Joe Keane <jgk@jgk.org>.
1737 Optimize s == NULL case a bit.
1739 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
1742 1998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
1744 * resolv/res_init.c (res_init): Initialize _res.nscount and
1745 _res.nsaddr.sin_port differently for the can when no loopback
1746 is available to allow immediate timeout in non-networking environments.
1747 Patch by Cristian Gafton <gafton@redhat.com>.
1749 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1751 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
1752 BAR and not EM DASH.
1753 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
1754 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
1757 1998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
1759 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
1761 * timezone/tst-timezone.c (tests): Fix typo in last patch.
1763 * time/tzfile.c (__tzfile_read): Handle case when there are no
1764 transitions. Set __timezone based on computed offset.
1765 * time/tzset.c (tzset_internal): Set __timezone before returning.
1767 * time/tzset.c (tzset_internal): Optimize handling of local string
1770 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1772 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
1775 1998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
1777 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
1778 (csqrt_test): Likewise.
1779 * sysdeps/powerpc/bits/fenv.h: Add parens.
1781 1998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
1783 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
1784 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
1785 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
1787 1998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
1789 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
1790 the special `-1' pointer.
1792 1998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
1794 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
1797 1998-09-07 Paul Eggert <eggert@twinsun.com>
1799 * time/mktime.c (__EXTENSIONS__): Define if not defined.
1800 (_REENTRANT): Remove. It has undesirable consequences in
1801 Solaris 2.6 (e.g. it turns off the putc macro). Defining
1802 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
1804 * time/strftime.c: Likewise.
1806 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1808 * elf/dl-error.c: Fix spelling.
1810 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1812 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
1813 * stdio-common/_itoa.c: Likewise.
1814 * stdio-common/printf_fp.c: Likewise.
1815 * stdio-common/vfscanf.c: Likewise.
1816 * wcsmbs/wcstok.c: Likewise.
1817 * sysdeps/generic/glob.c: Likewise.
1818 * posix/getopt.c: Likewise.
1819 * sysdeps/posix/getaddrinfo.c: Likewise.
1820 * posix/wordexp.c: Likewise.
1821 * io/ftw.c: Likewise.
1822 * io/fts.c: Likewise.
1823 * misc/getpass.c: Likewise.
1824 * iconv/gconv_conf.c: Likewise.
1825 * argp/argp-fmtstream.c: Likewise.
1826 * argp/argp-help.c: Likewise.
1827 * elf/dl-load.c: Likewise.
1828 * locale/programs/stringtrans.c: Likewise.
1829 * catgets/gencat.c: Likewise.
1830 * posix/getconf.c: Likewise.
1831 * iconv/gconv_conf.c: Likewise.
1832 * iconv/iconv_prog.c: Likewise.
1834 * string/strcoll.c: Optimize a few expressions.
1835 * string/strxfrm.c: Likewise.
1837 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1839 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
1840 level to avoid uninit variable warning.
1842 1998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1844 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
1845 instead of _dl_default_scope[2] as argument to _dl_init_next.
1847 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
1850 1998-09-08 Ulrich Drepper <drepper@cygnus.com>
1852 Fix compatibility problems introduced in last change.
1853 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
1855 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
1856 -DWEAK_GMON_START to CFLAGS-initfini.s.
1858 * elf/dl-object.c (_dl_new_object): Store map address in
1859 _dl_loaded if _dl_loaded is NULL.
1860 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
1862 * sysdeps/generic/setrlimit64.c: Remove stub warning.
1864 1998-09-07 Ulrich Drepper <drepper@cygnus.com>
1866 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
1868 * db2/btree/bt_cursor.c: Likewise.
1869 * db2/common/db_region.db_c: Likewise.
1870 * db2/common/db_salloc.db_c: Likewise.
1871 * db2/db/db.c: Likewise.
1872 * db2/db/db_rec.c: Likewise.
1873 * db2/hash/hash.c: Likewise.
1874 * db2/hash/hash_page.c: Likewise.
1875 * db2/hash/hash_rec.c: Likewise.
1876 * db2/log/log_findckp.c: Likewise.
1877 * db2/log/log_get.c: Likewise.
1878 * db2/log/log_put.c: Likewise.
1879 * db2/mp/mp_fget.c: Likewise.
1880 * db2/mp/mp_fput.c: Likewise.
1881 * db2/mp/mp_region.c: Likewise.
1882 * stdlib/strtol.c: Likewise.
1883 * string/strcoll.c: Likewise.
1884 * string/strxfrm.c: Likewise.
1885 * argp/argp-help.c: Likewise.
1886 * argp/argp-parse.c: Likewise.
1887 * resolv/res_debug.c: Likewise.
1889 1998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
1891 * math/tgmath.h (scalb): Only define for __USE_MISC or
1892 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
1894 1998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1896 * libio/stdio.h: Fix comment.
1898 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
1901 1998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1903 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
1905 * elf/dl-open.c: Quiet -Wparentheses warnings.
1906 * iconvdata/johab.c: Likewise.
1907 * iconvdata/uhc.c: Likewise.
1908 * inet/inet_net.c: Likewise.
1909 * io/fts.c: Likewise.
1910 * locale/newlocale.c: Likewise.
1911 * misc/getttyent.c: Likewise.
1912 * misc/mntent_r.c: Likewise.
1913 * misc/ttyslot.c: Likewise.
1914 * nscd/nscd_conf.c: Likewise.
1915 * nss/nsswitch.c: Likewise.
1916 * resolv/gethnamaddr.c: Likewise.
1917 * resolv/nsap_addr.c: Likewise.
1918 * resolv/res_debug.c: Likewise.
1919 * stdio-common/_itoa.c: Likewise.
1920 * stdlib/strtod.c: Likewise.
1921 * string/strverscmp.c: Likewise.
1922 * sunrpc/svc.c: Likewise.
1923 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
1924 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
1925 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
1926 * sysdeps/posix/getaddrinfo.c: Likewise.
1928 1998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
1930 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
1931 for use of global scope.
1932 * elf/dlvsym.c (dlvsym_doit): Likewise.
1934 1998-09-02 Paul Eggert <eggert@twinsun.com>
1936 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
1937 copy the redundant bytes at the end of the format as-is; don't
1938 just copy their first byte and then rescan, as that might get
1939 us an encoding error.
1940 Account correctly for the length of multibyte sequences in the
1943 1998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
1945 * posix/wordexp-test.c: Add tests for different IFS values.
1946 Change unquoted-newline test so that newline is not in IFS.
1948 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
1949 determining IFS characters. Return WRDE_BADCHAR for unquoted
1950 special characters _except_ if they are separators.
1952 1998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
1954 * include/tgmath.h: New file.
1956 * libio/stdio.h: Correct reversed #ifs.
1957 Patch by Zack Weinberg.
1959 * manual/creature.texi: Better explain reason for feature select
1961 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
1963 1998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1965 * include/alloca.h: Add multiple-inclusion guard.
1966 * include/db.h: Likewise.
1967 * include/db_185.h: Likewise.
1968 * include/dlfcn.h: Likewise.
1969 * include/fcntl.h: Likewise.
1970 * include/grp.h: Likewise.
1971 * include/libintl.h: Likewise.
1972 * include/mntent.h: Likewise.
1973 * include/pwd.h: Likewise.
1974 * include/sched.h: Likewise.
1975 * include/search.h: Likewise.
1976 * include/setjmp.h: Likewise.
1977 * include/shadow.h: Likewise.
1978 * include/signal.h: Likewise.
1979 * include/stdio.h: Likewise.
1980 * include/stdlib.h: Likewise.
1981 * include/string.h: Likewise.
1982 * include/termios.h: Likewise.
1983 * include/time.h: Likewise.
1984 * include/ulimit.h: Likewise.
1985 * include/utmp.h: Likewise.
1986 * include/wchar.h: Likewise.
1987 * include/sys/file.h: Likewise.
1988 * include/sys/gmon.h: Likewise.
1989 * include/sys/ioctl.h: Likewise.
1990 * include/sys/mman.h: Likewise.
1991 * include/sys/resource.h: Likewise.
1992 * include/sys/select.h: Likewise.
1993 * include/sys/socket.h: Likewise.
1994 * include/sys/statfs.h: Likewise.
1995 * include/sys/time.h: Likewise.
1996 * include/sys/times.h: Likewise.
1997 * include/sys/wait.h: Likewise.
1999 1998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
2001 * version.h (VERSION): Bump to 2.0.96.
2003 Rewrite runtime linker to be truly thread-safe. There is now no
2004 global variable specifying the scope. We create all needed
2005 scopes at the time the link maps are created.
2006 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
2007 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
2008 l_symbolic_searchlist, l_scope, and l_local_scope elements in
2010 * elf/dl-close.c: Rewritten accordingly.
2011 * elf/dl-deps.c: Likewise.
2012 * elf/dl-error.c: Likewise.
2013 * elf/dl-init.c: Likewise.
2014 * elf/dl-load.c: Likewise.
2015 * elf/dl-lookup.c: Likewise.
2016 * elf/dl-object.c: Likewise.
2017 * elf/dl-open.c: Likewise.
2018 * elf/dl-reloc.c: Likewise.
2019 * elf/dl-runtime.c: Likewise.
2020 * elf/dl-support.c: Likewise.
2021 * elf/dl-symbol.c: Likewise.
2022 * elf/dl-version.c: Likewise.
2023 * elf/dlsym.c: Likewise.
2024 * elf/dlvsym.c: Likewise.
2025 * elf/ldsodefs.h: Likewise.
2026 * elf/rtld.c: Likewise.
2027 * iconv/gconv_dl.c: Likewise.
2028 * nss/nsswitch.c: Likewise.
2029 * sysdeps/i386/dl-machine.h: Likewise.
2030 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
2032 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
2033 Define RTLD_DEFAULT.
2035 1998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
2037 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
2038 __getopt_clean_environment with __environ instead of envp.
2040 1998-09-05 Roland McGrath <roland@baalperazim.frob.com>
2042 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
2044 * string/argz-extract.c (__argz_extract): Add de-consting cast for
2047 * string/argz.h (argz_next): Add de-consting cast for return.
2048 * string/argz-next.c (__argz_next): Likewise.
2050 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
2051 Don't add netinet/udp.h, netinet/ip_icmp.h here.
2052 * sysdeps/gnu/Makefile: Do it here instead.
2053 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
2054 * sysdeps/gnu/Dist: ... to here.
2056 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
2057 sysdeps/unix/sysv/linux/netinet/tcp.h,
2058 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
2060 1998-09-04 Roland McGrath <roland@baalperazim.frob.com>
2062 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
2063 * string/argz-next.c, string/argz-extract.c: Fix defns.
2065 1998-09-03 Roland McGrath <roland@baalperazim.frob.com>
2067 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
2069 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
2070 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
2071 * sysdeps/generic/sysd-stdio.c: Likewise.
2073 1998-09-02 Ulrich Drepper <drepper@cygnus.com>
2075 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
2076 (_dl_map_object_from_fd): Make NAME argument const.
2077 Remove last parameter in _dl_new_object call.
2078 (print_search_path): Correct construction of composed path name.
2079 (_dl_map_object): Prevent looking at RPATH of the main map twice.
2080 Remove last parameter in _dl_new_object call.
2081 * elf/dl-object.c: Remove last parameter. Determine whether create
2082 origin entry based on empty realname. Handle file in root directory
2084 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
2085 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
2086 Remove last parameter in _dl_new_object call.
2087 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
2088 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
2090 1998-09-01 Ulrich Drepper <drepper@cygnus.com>
2092 * elf/dl-close.c (_dl_close): Add more comments and correct some.
2093 Free l_searchlist and l_dupsearchlist.
2095 * debug/catchsegv.sh: Add one more pair of quotes.
2097 1998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
2099 * elf/dl-load.c (add_name_to_object): Change return type to void and
2100 make NAME parameter const. Allocate room for NAME in same memory
2101 block used for l_libname entry.
2102 (_dl_map_object_from_fd): Don't free NAME on failure.
2103 (map_segment): Pass SONAME to add_name_to_object, not a copy.
2104 (_dl_map_object): Don't create copy of NAME. Pass NAME to
2105 _dl_map_object_from_fd.
2106 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
2107 memory block used for l_libname entry.
2108 * elf/dl-close.c: Adjust free()ing for this change.
2110 1998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
2112 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
2114 * malloc/mtrace.c: Add bug report address. Update email address.
2115 Add more @XXX@ to print correct address size.
2117 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
2120 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
2121 for munmap call instead of examining phdr again.
2122 Free all malloc()ed strings and arrays.
2124 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
2126 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
2128 * sysdeps/powerpc/dl-machine.c: New file.
2129 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
2130 files. Revise ELF_PREFERRED_ADDRESS to take account of
2131 the new mapping information (fixes bug involving huge bloated
2132 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
2133 * sysdeps/powerpc/dl-start.S: New file.
2135 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
2137 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
2138 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
2139 others. Call elf_dynamic_do_##reloc only once (to save even more
2141 * elf/link.h: Add new members l_map_start and l_map_end to keep
2142 track of the memory map.
2143 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
2146 1998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
2148 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
2149 Reported by Andreas Jaeger.
2151 * posix/glob.h: Use __size_t instead of size_t in definitions and
2152 make sure this is defined.
2154 1998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
2156 * manual/locale.texi: Almost complete rewrite. Document more functions
2158 * manual/arith.texi: Correct reference.
2159 * manual/string.texi: Pretty printing.
2161 * manual/texinfo.tex: Update from last available version.
2163 1998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
2165 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
2167 (_nss_nis_getpwuid_r): Likewise.
2168 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
2170 * inet/rcmd.c: Implement netgroup support.
2171 Patch by Dick Streefland <dick_streefland@tasking.com>.
2173 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
2175 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
2176 object on the list is removed. Don't use this code for PIC.
2177 Reported by HJ Lu [PR libc/770].
2179 1998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
2181 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
2183 * include/stdio.h: Add __vsscanf.
2185 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
2187 Remove __vsscanf declaration.
2188 Always declare fgetpos and fsetpos.
2190 * math/math.h: Define isinf as macro.
2191 * math/bits/mathcalls.h: Change to declare __isinf all the time.
2192 Don't declare scalb for ISO C 9x.
2194 * math/tgmath.h: Define fma. Rewrite the underlying macros.
2196 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
2198 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
2201 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
2204 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2206 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
2207 Reported by jreising@frequentis.com [PR libc/767].
2209 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2211 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
2212 fl.l_start at beginning of function.
2213 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
2215 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
2217 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
2218 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
2220 * nscd/nscd.init: Make it work in RedHat systems.
2221 Patch by Christian Gafton.
2223 1998-08-29 Philip Blundell <philb@gnu.org>
2225 * catgets/Makefile: Don't try to run test programs when
2228 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
2230 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
2231 Reported by Zack Weinberg.
2233 1998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2235 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
2236 * elf/Makefile (distribute): Remove ldd.sh.in.
2238 1998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2240 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
2243 1998-08-29 Ulrich Drepper <drepper@cygnus.com>
2245 * sysdeps/i386/register-dump.h: Move to ...
2246 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
2248 1998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
2250 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
2251 with load address, not map address.
2252 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
2253 parameter and use this value.
2254 * sysdeps/arm/dl-machine.h: Likewise.
2255 * sysdeps/i386/dl-machine.h: Likewise.
2256 * sysdeps/m68k/dl-machine.h: Likewise.
2257 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
2259 * sysdeps/powerpc/dl-machine.h: Likewise
2260 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
2261 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
2263 1998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
2265 * elf/rtld.c (process_envvars): Fix copy&paste error.
2267 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
2269 (realloc_hook_ini): Don't overwrite memalign hook.
2270 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
2271 Reported by Philippe Troin <phil@fifi.org>.
2273 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
2274 Patch by Philippe Troin <phil@fifi.org>.
2276 1998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2278 * sysdeps/generic/segfault.c (install_handler): Protect the
2279 non-POSIX signals with #ifdef.
2280 (catch_segfault): Add missing mode parameter for open.
2281 * debug/catchsegv.sh: Avoid termination message from shell. Allow
2282 other termination signals.
2284 1998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2286 * debug/Makefile (distribute): Add register-dump.h.
2288 1998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2290 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
2292 1998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
2294 * elf/Makefile (distribute): Add dl-origin.h.
2295 * sysdeps/generic/dl-origin.h: New file.
2296 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
2297 * elf/link.h (struct link_map): Add l_origin field.
2298 * elf/dl-load.c (expand_dynamic_string_token): New function.
2299 (decompose_path): Remove WHERE argument, take link map pointer instead.
2300 Call expand_dynamic_string_token instead of local_strdup to make copy
2302 (_dl_init_paths): Call decompose_path with correct argument.
2303 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
2305 Check EI_OSABI and EI_ABIVERSION fields in header.
2306 Call _dl_new_object with extra argument.
2307 (_dl_map_object): Call decompose_path with correct argument.
2308 Call expand_dynamic_string_token instead of local_strdup to also
2310 Call _dl_new_object with extra argument.
2311 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
2312 but the main one if new argument is nonzero.
2313 * elf/ldsodefs.h: Adjust for _dl_new_object change.
2314 * elf/dl-support.c: Define _dl_origin_path.
2315 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
2316 (dl_main): Call _dl_new_object with extra argument.
2318 * elf/dl-close (_dl_close): Free l_name and l_origin.
2320 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
2321 modifier in asm, not c.
2323 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
2324 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
2326 1998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
2328 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
2329 variable so that map can be freed.
2330 Reported by Philippe Troin <phil@fifi.org>.
2332 * elf/dl-open.c (dl_open_worker): Correct test for extending global
2334 Patch by Philippe Troin <phil@fifi.org>.
2336 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
2338 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
2339 Don't call writev() with a 100-element vector.
2340 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
2343 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
2344 In particular, set __libc_stack_end.
2345 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
2346 undefined. Fix copyright notice.
2348 1998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2350 * math/Makefile (gmp-objs): New variable.
2351 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
2353 (tests): Add atest-exp atest-sincos atest-exp2.
2354 (tests-static): Remove atest-exp atest-sincos atest-exp2.
2356 1998-08-25 Ulrich Drepper <drepper@cygnus.com>
2358 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
2360 (_dl_unload_cache): New function.
2361 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
2362 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
2363 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
2365 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
2366 Correct comment for O_LARGEFILE.
2367 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
2368 Change O_LARGEFILE to correct value.
2370 1998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
2372 * libio/iogetline.c (_IO_getline_info): Don't read anything for
2373 N == 0. Patch by HJ Lu.
2375 1998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
2377 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
2379 1998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
2381 * argp/argp.h: Use __inline__ not inline.
2383 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
2384 an input register as being clobbered.
2385 * sysdeps/i386/memset.c (memset): Likewise.
2386 * sysdeps/i386/bzero.c (__bzero): Likewise.
2387 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
2389 1998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2391 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
2392 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
2394 1998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
2396 * debug/catchsegv.sh: Handle text preceding backtrace better.
2397 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
2398 to be installed for other signals than SIGSEGV.
2399 * sysdeps/generic/register-dump.h: New file.
2400 * sysdeps/i386/register-dump.h: New file.
2401 * sysdeps/powerpc/register-dump.h: New file.
2403 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
2405 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
2407 1998-08-24 Geoff Keating <geoffk@ozemail.com.au>
2409 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
2411 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
2413 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
2414 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
2415 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
2416 getresuid, getresgid.
2418 1998-08-16 Geoff Keating <geoffk@ozemail.com.au>
2420 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
2421 pointer in userland.
2423 1998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2425 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
2428 1998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2430 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
2431 over arguments Bourne shell compatible. Don't exit unsuccessfully
2432 if nonelf returns successfully. Avoid duplicating most of the
2434 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
2437 1998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2439 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
2441 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
2442 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
2444 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
2446 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
2447 __modify_ldt and modify_ldt.
2448 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
2450 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2451 Use orl $-1 instead of movl $-1 to save two bytes.
2452 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
2455 1998-08-17 H.J. Lu <hjl@gnu.org>
2457 * libio/Versions (_IO_do_write, _IO_file_attach,
2458 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2459 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2460 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2461 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
2463 * libio/fileops.c (_IO_do_write, _IO_file_attach,
2464 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2465 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2466 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2467 _IO_file_write, _IO_file_xsputn): Change the prefix to
2468 "_IO_new_". Added to GLIBC_2.1.
2470 * libio/libioP.h (_IO_do_write, _IO_file_attach,
2471 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2472 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2473 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2474 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
2477 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
2478 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2479 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2480 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2481 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
2483 1998-08-23 Richard Henderson <rth@cygnus.com>
2485 * Makeconfig (LDFLAGS): Remove.
2487 * csu/initfini.c: Return to .text before __gmon_start__.
2489 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
2490 (STO_MIPS_*): Rename from STO_*.
2491 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
2492 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
2494 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
2495 (main): e3s is negative on zero.
2496 * math/atest-exp2.c: Likewise.
2497 * math/atest-sincos.c: Likewise.
2499 1998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2501 * Makerules (install): Add comment about absolute paths.
2503 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
2505 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
2506 array to NUL to handle maxlen==1 case correctly.
2509 1998-08-23 Richard Henderson <rth@cygnus.com>
2511 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
2512 * sysdeps/alpha/elf/crtend.S: Likewise.
2513 * sysdeps/alpha/elf/start.S: Likewise.
2515 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
2516 non-standard pv usage.
2518 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
2519 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
2520 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
2521 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
2522 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
2523 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
2524 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
2525 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
2526 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
2527 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
2528 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
2530 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
2531 a finite non-denormal, deferring to the full IEEE version otherwise.
2533 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
2534 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
2535 * sysdeps/alpha/fpu/s_floor.c: New.
2536 * sysdeps/alpha/fpu/s_floorf.c: New.
2537 * sysdeps/alpha/fpu/s_ceil.c: New.
2538 * sysdeps/alpha/fpu/s_ceilf.c: New.
2540 1998-08-22 Philip Blundell <philb@gnu.org>
2542 * sysdeps/arm/bits/string.h: New file.
2544 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2546 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
2549 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
2550 test for recent Linux 2.1.100+ headers.
2552 1998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2554 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
2556 1998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
2558 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
2560 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2562 * Makefile (elf/ldso_install): Put back. The problem still persists.
2563 * elf/Makefile (ldso_install): Likewise.
2565 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2567 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
2569 * include/db.h: Declare __nss_db_open.
2570 * db2/Versions: Export it.
2572 * db2/makedb.c: Convert to use db2 API.
2573 * nss/nss_db/db-XXX.c: Likewise.
2574 * nss/nss_db/db-netgrp.c: Likewise.
2575 * nss/nss_db/db-alias.c: Likewise.
2576 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
2578 1998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2580 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
2581 sys_setresuid, already built automatically (or not).
2582 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
2583 instead of __syscall_setresuid and add back setresuid.
2584 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
2585 __syscall_setresuid.
2587 1998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2589 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
2591 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
2593 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
2594 BASH-ONLY marked region.
2595 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
2597 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
2599 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
2602 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
2604 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
2607 1998-08-21 Roland McGrath <roland@baalperazim.frob.com>
2609 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
2610 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
2611 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
2612 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
2613 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
2614 those magic comments, and to use /bin/sh for @BASH@.
2615 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
2616 * elf/ldd.sh.in: File removed.
2618 1998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
2620 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
2621 cast them to unsigned long int.
2622 * pwd/putpwent.c (putpwent): Likewise.
2623 Patch by John Tobey <jtobey@banta-im.com>.
2625 1998-08-20 17:14 H.J. Lu <hjl@gnu.org>
2627 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
2630 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
2632 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
2635 1998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
2637 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
2638 Add umount and umount2.
2639 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
2640 * sysdeps/unix/sysv/linux/umount.S: New file.
2641 * sysdeps/unix/sysv/linux/umount2.S: New file.
2642 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
2645 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
2647 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
2648 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
2650 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
2652 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
2655 1998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
2657 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
2658 * elf/ldd.bash.in: Likewise.
2660 * elf/sln.c: Avoid warning for no main prototype.
2662 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
2664 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
2665 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2667 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
2669 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
2670 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
2671 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2673 1998-08-20 Philip Blundell <pb@nexus.co.uk>
2675 * sysdeps/arm/fpu/ieee754.h: Move to...
2676 * sysdeps/arm/ieee754.h: ... here.
2678 * sysdeps/arm/__longjmp.S: Put return value in correct register.
2679 Don't set the condition flags unnecessarily.
2680 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
2681 registers correctly.
2683 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
2684 (patch from Scott Bambrough).
2686 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
2688 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
2689 NULL, just call it unconditionally.
2690 (__gmon_start__): Provide stub version as a weak symbol.
2692 1998-07-30 Philip Blundell <philb@gnu.org>
2694 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
2697 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
2698 like `@' in .type directives.
2700 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
2701 * sysdeps/arm/bsd-_setjmp.S: Likewise.
2703 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
2705 1998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2707 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
2708 (F_GETOWN): Likewise.
2710 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
2713 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
2715 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
2718 1998-08-18 Ulrich Drepper <drepper@cygnus.com>
2720 * include/features.h: Define __USE_EXTERN_INLINES for recent
2722 * argp/argp.h: Define extern inline functions only if
2723 __USE_EXTERN_INLINES is defined.
2724 * libio/stdio.h: Likewise.
2725 * math/math.h: Likewise.
2726 * stdlib/stdlib.h: Likewise.
2727 * string/argz.h: Likewise.
2728 * sysdeps/generic/bits/sigset.h: Likewise.
2729 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
2730 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
2731 * sysdeps/wordsize-32/inttypes.h: Likewise.
2732 * sysdeps/wordsize-64/inttypes.h: Likewise.
2733 * wcsmbs/wchar.h: Likewise.
2735 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
2736 to allow compilation without optimization.
2738 1998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2740 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
2742 * nis/nss_compat/compat-initgroups.c: Likewise.
2743 * nis/nss_compat/compat-pwd.c: Likewise.
2744 * nis/nss_compat/compat-spwd.c: Likewise.
2745 * nis/nss_nis/nis-alias.c: Likewise.
2746 * nis/nss_nis/nis-ethers.c: Likewise.
2747 * nis/nss_nis/nis-grp.c: Likewise.
2748 * nis/nss_nis/nis-hosts.c: Likewise.
2749 * nis/nss_nis/nis-initgroups.c: Likewise.
2750 * nis/nss_nis/nis-network.c: Likewise.
2751 * nis/nss_nis/nis-proto.c: Likewise.
2752 * nis/nss_nis/nis-pwd.c: Likewise.
2753 * nis/nss_nis/nis-rpc.c: Likewise.
2754 * nis/nss_nis/nis-service.c: Likewise.
2755 * nis/nss_nis/nis-spwd.c: Likewise.
2757 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
2759 * nis/ypclnt.c: Try binding dir only first time, could be to old.
2761 * nis/yp_xdr.c: Remove 1024 byte limit.
2762 * nis/ypupdate_xdr.c: Likewise.
2764 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
2767 1998-08-18 Roland McGrath <roland@baalperazim.frob.com>
2769 * Rules (binaries-static, binaries-shared static pattern rules):
2770 Depend on lib%, not just libc%, from $(link-libc{,-static}).
2772 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
2773 this here, overriding Makeconfig generic value so we link against
2776 1998-08-17 Ulrich Drepper <drepper@cygnus.com>
2778 * posix/tstgetopt.c (options): Add NULL entry at end
2779 Patch by Adrian Miranda <ade@psg.com>.
2781 1998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
2783 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
2786 1998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
2788 * elf/elf.h: Add PPC Diab relocations.
2790 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
2792 1998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
2794 * manual/texinfo.tex: Update.
2796 1998-08-07 Geoff Keating <geoffk@ozemail.com.au>
2798 * sysdeps/powerpc/backtrace.c: New file.
2800 1998-08-14 Philip Blundell <pb@nexus.co.uk>
2802 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
2804 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
2806 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2808 * Makefile (install-symbolic-link): Fix spelling.
2810 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2812 * elf/elf.h (SHT_HIOS): Fix value.
2814 1998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2816 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
2817 part of the expansion, this is undefined by the standard.
2819 1998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
2821 * posix/getconf.c: Add support for systems with incomplete confname.h.
2823 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
2825 * sysdeps/posix/wait3.c: Make it work.
2827 1998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2829 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
2830 (elf/ldso_install): Remove.
2832 * elf/Makefile (distribute): Add sln.c.
2834 (others-static): Add sln.
2835 (install-rootsbin): Add sln.
2836 (others-static): Add sln.
2837 (ldso_install): Remove.
2839 1998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2841 * Makerules (install-clean-symbolic-link-list): Make phony.
2842 * Makefile (install-symbolic-link): Make phony. Depend on
2843 subdir_install for parallel makes.
2846 1998-07-22 Ulrich Drepper <drepper@cygnus.com>
2848 * elf/Makefile (distribute): Add sln.c
2850 1998-07-21 07:10 H.J. Lu <hjl@gnu.org>
2852 * elf/sln.c: New file.
2854 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
2855 (install-clean-symbolic-link-list): New target.
2856 (install): Depend on install-clean-symbolic-link-list.
2857 (make-shlib-link): Changed for $(symbolic-link-list).
2859 * Makefile (install-symbolic-link): New target.
2860 (install): Depend on install-symbolic-link.
2862 1998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
2864 * include/unistd.h: Protect against multiple inclusion.
2866 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
2867 is defined, not is glob is defined.
2868 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
2870 1998-08-01 17:18 H.J. Lu <hjl@gnu.org>
2872 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
2873 xdr_string for ut_line, ut_name and ut_host.
2875 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2877 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
2878 /var/mail in accordance with FHS 2.0.
2879 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
2881 1998-08-12 Richard Henderson <rth@cygnus.com>
2883 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
2884 Update aliases for cancelation.
2886 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
2887 playing with symbol versions.
2889 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
2891 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
2892 multiple inclusion protection.
2893 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
2894 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
2895 define all these to 1.
2896 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
2898 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
2900 * sysdeps/mach/usleep.c: Include <unistd.h>.
2901 (usleep): Return void.
2903 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
2905 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
2906 decl to inhibit warning in if_freenameindex defn.
2908 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
2910 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
2912 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
2913 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
2914 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
2915 * sysdeps/mach/usleep.c: Likewise.
2917 * sysdeps/mach/hurd/bind.c (bind): Add a const.
2919 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
2920 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
2921 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
2922 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
2923 * sysdeps/mach/usleep.c (usleep): Likewise.
2924 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
2925 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
2926 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
2927 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
2929 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
2931 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
2934 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
2935 %p arg to fprintf, since `void *' is the right type already.
2937 1998-07-25 19:47 Jose M. Moya <josem@gnu.org>
2939 * sysdeps/mach/hurd/getcwd.c
2940 (_hurd_canonicalize_directory_name_internal): Do not loop forever
2941 for unknown root directories.
2942 (__getcwd): Return NULL when the current root directory could not
2945 1998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
2947 * string/strsignal.c (strsignal): Count real-time signals from zero.
2950 See ChangeLog.8 for earlier changes.