1 1998-10-26 Mark Kettenis <kettenis@phys.uva.nl>
3 * sysdeps/unix/sysv/linux/Versions: Move shutdown ...
4 * socket/Versions [libc, GLIBC_2.0]: ... to here.
6 1998-10-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8 * include/stdio.h: Included <stddef.h> for size_t.
10 * stdio/stdio.h: Move __path_search, __gen_tempname, __libc_fatal
12 * include/stdio.h: ...here.
13 * libio/stdio.h: Removed __path_search, __gen_tempname, __libc_fatal.
15 1998-10-26 11:09 Ulrich Drepper <drepper@cygnus.com>
17 * time/Makefile (tests): Add tst-posixtz.
18 * time/tst-posixtz.c: New file.
20 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
22 * elf/rtld.c (process_envvars): Accept any non-null value of
23 LD_BIND_NOW, as mandated by the ABI.
25 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
27 * sysdeps/unix/sysv/linux/pread.c: Rename __syscall_pread64 to
29 * sysdeps/unix/sysv/linux/pwrite.c: Rename __syscall_pwrite64 to
31 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
32 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
33 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
34 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
35 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise. Remove
37 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
38 s_pread64 and s_pwrite64.
39 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
41 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
43 * sysdeps/unix/sysv/linux/llseek.c: Use INLINE_SYSCALL.
44 * sysdeps/unix/sysv/linux/arm/syscalls.list: Rename __sys_llseek
46 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
47 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
48 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove entry for
51 1998-10-26 Cristian Gafton <gafton@redhat.com>
53 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add s_setfsgid
56 1998-10-26 Ulrich Drepper <drepper@cygnus.com>
58 * time/tzset.c (tz_compute): Correct last patch and describe this
61 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
63 * sysdeps/unix/sysv/linux/m68k/Makefile [subdir=signal]: Remove
64 rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo,
65 rt_sigaction and rt_sigpending.
66 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove all entries
67 for __syscall_* functions.
68 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Implement INLINE_SYSCALL.
70 1998-10-26 Roland McGrath <roland@baalperazim.frob.com>
72 * hurd/Versions: Add _hurd_dtable, _hurd_dtablesize,
73 _hurd_dtable_lock, _hurd_intern_fd.
75 * sysdeps/mach/hurd/Versions: Add cthread_keycreate,
76 cthread_getspecific, cthread_setspecific, __libc_getspecific.
78 * mach/Versions: Fix typo in last change.
80 1998-10-25 Ulrich Drepper <drepper@cygnus.com>
82 * time/tzset.c (tz_compute): If time to switch to DST is later in
83 the year switch back in the next year.
84 Reported by jwitford@hutch.com.au.
86 1998-10-24 Mark Kettenis <kettenis@phys.uva.nl>
88 * mach/Versions: Add evc_wait, mach_error, mach_error_string,
89 mach_error_type, mach_msg_destroy, mig_deallocate_reply_port.
90 Remove __mach_host_self, __mach_reply_port, __mach_setup_thread,
91 __mach_port_allocate, __mach_port_allocate_name,
92 __mach_port_insert_right __mutex_trylock, __mutex_lock,
93 __mutex_unlock, __swtch, __switch, __task_create, __task_suspend,
94 __task_set_special_port, __task_terminate, __thread_depress_abort,
95 __thread_switch, __vm_allocate, __vm_deallocate, __vm_map. These
96 functions are not used outside libc.
98 * sysdeps/mach/hurd/Versions: New file.
99 [libc, GLIBC_2.0]: Add _cthread_exit_routine and
100 _cthread_init_routine. These are set by the Hurd cthreads library.
101 Add __getcwd, __mmap. If we don't add these, the weak definitions in
102 the dynamic linker will not be replaced by the corresponding shared
103 library routines once they are loaded.
105 1998-10-21 Mark Kettenis <kettenis@phys.uva.nl>
107 * sysdeps/mach/hurd/i386/init-first.c: Only define
108 __libc_enable_secure if PIC is not defined.
110 1998-10-25 Roland McGrath <roland@baalperazim.frob.com>
112 * argp/Versions: Add _argp_unlock_xxx. Lock-savvy functions call this
113 to recurse into argp.
115 1998-10-25 Ulrich Drepper <drepper@cygnus.com>
117 * include/features.h: Define __USE_POSIS199506 is _POSIX_C_SOURCE is
118 greater or equal than 199506L.
120 * sysdeps/generic/bits/types.h (__fd_set): Define element as fds_bits
121 only is __USE_XOPEN. Otherwise use __fds_bits.
122 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
123 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
124 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
125 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
126 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
128 1998-10-24 H.J. Lu <hjl@gnu.org>
130 * locale/programs/charmap.c (parse_charmap): Accept tok_string
133 1998-10-25 H.J. Lu <hjl@gnu.org>
135 * locale/programs/ld-ctype.c (ctype_finish): Also check
138 1998-10-25 Ulrich Drepper <drepper@cygnus.com>
140 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX199506.
142 * sysdeps/unix/sysv/linux/bits/types.h: Include pthreadtypes.h only
143 if __USE_POSIX199506 or __USE_UNIX98.
145 1998-10-24 22:34 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
147 * string/bits/string2.h: Inline strdup+friends only if
148 __USE_MISC || __USE_GNU (prevents namespace pollution).
150 1998-10-24 H.J. Lu <hjl@gnu.org>
152 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (LOCK_SH,
153 LOCK_EX, LOCK_NB, LOCK_UN): Protect with __USE_BSD.
154 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (LOCK_SH, LOCK_EX,
155 LOCK_NB, LOCK_UN): Likewise.
156 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (LOCK_SH, LOCK_EX,
157 LOCK_NB, LOCK_UN): Likewise.
158 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (LOCK_SH, LOCK_EX,
159 LOCK_NB, LOCK_UN): Likewise.
160 * sysdeps/unix/sysv/linux/bits/fcntl.h (LOCK_SH, LOCK_EX,
161 LOCK_NB, LOCK_UN): Likewise.
163 1998-10-24 H.J. Lu <hjl@gnu.org>
165 * libio/ioseekoff.c (_IO_seekoff): Check the valid dir value.
167 * libio/rewind.c (rewind): Clear the error.
169 1998-10-24 H.J. Lu <hjl@gnu.org>
171 * grp/grp.h (getgrent_r, getgrgid_r, getgrnam_r): Add "__" to
174 1998-10-24 H.J. Lu <hjl@gnu.org>
176 * sysdeps/unix/sysv/linux/alpha/bits/time.h (timeval): Protect
178 * sysdeps/unix/sysv/linux/mips/bits/time.h (timeval): Likewise.
179 * sysdeps/unix/sysv/linux/bits/time.h (timeval): Likewise.
181 1998-10-24 H.J. Lu <hjl@gnu.org>
183 * signal/signal.h (timespec, siginfo_t, sigwaitinfo, sigtimedwait,
184 sigqueue): Protect with __USE_POSIX199309.
186 1998-10-24 H.J. Lu <hjl@gnu.org>
188 * time/time.h (timespec): Protect with __USE_POSIX199309 instead of
191 1998-10-24 H.J. Lu <hjl@gnu.org>
193 * libio/fileops.c (_IO_new_file_seekoff): Always resync with
194 the kernel file offset.
195 * libio/oldfileops.c (_IO_old_file_seekoff): Likewise.
197 1998-10-24 H.J. Lu <hjl@gnu.org>
199 * time/tzfile.c (__tzfile_default): Set num_types to 2.
201 1998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
203 * rt/aio.h: Move __aio_init to...
204 * include/aio.h: ...here.
206 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
208 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove duplicate
209 definition of O_LARGEFILE.
211 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
213 * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Use path
214 as first argument to statfs.
216 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
218 * sysdeps/generic/setenv.c (setenv): Add braces around ambiguous else.
220 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
222 * malloc/mtrace.c: Include <string.h> for strlen.
224 1998-10-24 Roland McGrath <roland@baalperazim.frob.com>
226 * sysdeps/mach/hurd/bits/environments.h: New file.
228 * sysdeps/mach/hurd/dl-sysdep.c (__getcwd): New weak function.
230 * mach/Versions, hurd/Versions: Add numerous symbols.
231 Remove libmachuser and libhurduser sections, punt
232 versioning for those libraries for now.
234 * misc/Versions: Add reboot here; it exists on all platforms.
235 * sysdeps/unix/sysv/linux/Versions: Remove reboot here.
237 1998-10-23 Ulrich Drepper <drepper@cygnus.com>
239 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOFOLLOW): New
241 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
242 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
243 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_LARGEFILE,
244 O_NOFOLLOW, O_DIRECT): New macros.
245 (O_DIRECTORY): Correct definition according to official 2.1.126.
246 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECTORY,
247 O_NOFOLLOW): New macros.
249 1998-10-24 Roland McGrath <roland@baalperazim.frob.com>
251 * include/ldsodefs.h: Test HAVE_ELF instead of __ELF__.
253 * sysdeps/mach/hurd/opendir.c (__opendir): Return ENOENT for "".
254 (__opendir): Add trailing slash to name for open, for ENOTDIR check.
256 1998-10-23 Ulrich Drepper <drepper@cygnus.com>
258 * sysdeps/unix/sysv/linux/i386/Dist: Add setresuid.c, setresgid.c,
259 setfsuid.c, and setfsgid.c.
260 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
261 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
262 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
264 * version.h (VERSION): Bump to 2.0.99.
266 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove duplicate
269 * sysdeps/unix/sysv/linux/i386/Dist: Remove s_pread64.c and
272 * posix/fnmath.h: Don't redefine __P when used in glibc.
273 * posix/glob.h: Likewise.
275 * inet/rcmd.c (__ivaliduser2): Fix memory leak.
276 Patch by Dick Streefland <dick_streefland@tasking.com>.
278 * stdio-common/tst-ungetc.c: Add more test cases.
280 * sysdeps/unix/sysv/linux/Dist: Add linux_fsinfo.h.
281 * sysdeps/unix/sysv/linux/fstatvfs.c: Move filesystem magic number
283 * sysdeps/unix/sysv/linux/linux_fsinfo.h: ...here. New file.
284 * sysdeps/unix/sysv/linux/fpathconf.c: New file.
285 * sysdeps/unix/sysv/linux/pathconf.c: New file.
286 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Handle _PC_LINK_MAX here.
287 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
289 1998-10-20 Philip Blundell <pb@nexus.co.uk>
291 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Include
292 <asm/ptrace.h> to define struct pt_regs.
293 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Don't bother
294 including <asm/ptrace.h> here.
296 * sysdeps/unix/sysv/linux/arm/sysdep.S: Remove spurious call to
299 1998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
301 * sysdeps/generic/sys/ptrace.h (__ptrace_request): Remove comma at
302 end of enumerator list.
303 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Likewise.
304 * posix/wordexp.h: Likewise.
306 * db/db.h: Use __PMT instead of __P in typedefs.
307 * db/mpool.h: Likewise.
308 * sysdeps/generic/bits/siginfo.h: Likewise.
309 * nis/rpcsvc/ypclnt.h: Likewise.
311 1998-10-23 Ulrich Drepper <drepper@cygnus.com>
313 * libio/genops.c (_IO_seekmark): When switching to backup buffer
314 make sure all characters from the read buffer are read after
315 switching back to it.
317 1998-10-22 Ulrich Drepper <drepper@cygnus.com>
319 * configure.in: Add support for Cygnus GNUPro compilers.
321 1998-10-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
323 * stdio/stdio.h: Use __PMT instead of __P in typedefs.
325 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use __PMT instead
326 of __P for sa_restorer.
327 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
328 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
329 kernel_sigaction, old_kernel_sigaction): Likewise.
331 1998-10-22 Ulrich Drepper <drepper@cygnus.com>
333 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add __syscall_pread
334 and __syscall_pwrite aliases.
336 * sunrpc/rpc/auth.h (AUTH_DH): New macro. Alias for AUTH_DES.
338 * sysdeps/unix/sysv/linux/i386/sysdep.h: Drastically simplify and
339 improve INLINE_SYSCALL using macro assembler magic.
341 1998-10-22 H.J. Lu <hjl@gnu.org>
343 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Add
345 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
347 * sysdeps/posix/fpathconf.c (__fpathconf): Set errno to
348 EINVAL if errno == ENODEV. Tested by VSX-PCT.
350 * sysdeps/posix/isatty.c (__isatty): Don't reset errno. Tested
353 * posix/execvp.c (execvp): Check "". Tested by VSX-PCT.
355 1998-10-22 Philip Blundell <pb@nexus.co.uk>
357 * sysdeps/unix/arm/sysdep.h: Wrap assembler macros in #ifdef
360 1998-10-21 Ulrich Drepper <drepper@cygnus.com>
362 * sysdeps/unix/sysv/linux/i386/sysdep.h: Remove EXTRAVARS_* macros
365 1998-10-21 14:38 Ulrich Drepper <drepper@cygnus.com>
367 * sysdeps/unix/sysdep.h (INLINE_SYSCALL): New macro. Simply call
368 __syscall_* function.
369 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use INLINE_SYSCALL instead
370 of calling __syscall_* function.
371 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
372 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
373 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
374 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
375 * sysdeps/unix/sysv/linux/getpriority.c: Likewise.
376 * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
377 * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
378 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
379 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
380 * sysdeps/unix/sysv/linux/poll.c: Likewise.
381 * sysdeps/unix/sysv/linux/pread.c: Likewise.
382 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
383 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
384 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
385 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
386 * sysdeps/unix/sysv/linux/readv.c: Likewise.
387 * sysdeps/unix/sysv/linux/reboot.c: Likewise.
388 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
389 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
390 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
391 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
392 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
393 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
394 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
395 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
396 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
397 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
398 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
399 * sysdeps/unix/sysv/linux/writev.c: Likewise.
400 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
401 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
402 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
403 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
404 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
405 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
406 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
407 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
408 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
409 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
410 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
411 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
412 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
414 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define INLINE_SYSCALL using
416 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove various
417 __syscall_* definitions.
419 * sysdeps/unix/sysv/linux/syscalls.list: Move various __syscall_*
421 * sysdeps/unix/sysv/linux/alpha/syscalls.list: ...here...
422 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
423 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
424 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
425 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
426 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
427 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
429 * sysdeps/unix/sysv/linux/Makefile [subdir=signal] (sysdep_routines):
430 Move definition to...
431 * sysdeps/unix/sysv/linux/alpha/Makefile: ...here...
432 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
433 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
434 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
435 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
436 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
437 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
439 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
440 (sysdep_routines): Remove s_pread64 and s_pwrite64.
442 * sysdeps/unix/sysv/linux/i386/pread.c: New file.
443 * sysdeps/unix/sysv/linux/i386/pread64.c: New file.
444 * sysdeps/unix/sysv/linux/i386/pwrite.c: New file.
445 * sysdeps/unix/sysv/linux/i386/pwrite64.c: New file.
446 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Removed.
447 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Removed.
449 1998-10-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
451 * sysdeps/unix/sysv/linux/siglist.h: Fix some typos in these files
452 and bring them in synch.
453 * sysdeps/unix/siglist.c: Likewise.
454 Reported by Vladimir Michl <michlv@risc.upol.cz> [PR libc/832].
456 1998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
458 * sysdeps/unix/sysv/linux/i386/setresuid.c: Allow -1 as arguments.
459 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
461 * sysdeps/unix/sysv/linux/i386/setreuid.c: New file.
462 * sysdeps/unix/sysv/linux/i386/setregid.c: New file.
463 * sysdeps/unix/sysv/linux/m68k/setreuid.c: New file.
464 * sysdeps/unix/sysv/linux/m68k/setregid.c: New file.
465 * sysdeps/unix/sysv/linux/arm/setreuid.c: New file.
466 * sysdeps/unix/sysv/linux/arm/setregid.c: New file.
467 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: New file.
468 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: New file.
469 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_setreuid and
471 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
472 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
473 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
475 1998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
477 * sunrpc/rpc_main.c (close_output, close_input): New functions.
478 (c_output, h_output, s_output, l_output, t_output, svc_output,
479 clnt_output, mkfile_output): Call them at the end.
481 1998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
483 * db/Makefile (LDFLAGS-db1.so): New variable, to avoid duplicating
486 1998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
488 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Add real contents.
489 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add s_setfs[ug]id.
491 1998-10-20 Ulrich Drepper <drepper@cygnus.com>
493 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_pread64 and
495 * sysdeps/unix/sysv/linux/powerpc/pread.c: New file.
496 * sysdeps/unix/sysv/linux/powerpc/pread64.c: New file.
497 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: New file.
498 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: New file.
499 Patch by Geoffrey KEATING <geoffk@discus.anu.edu.au>.
501 1998-10-18 Zack Weinberg <zack@rabi.phys.columbia.edu>
503 * sysdeps/unix/opendir.c: Check at runtime for kernel support for
506 1998-10-20 H.J. Lu <hjl@gnu.org>
508 * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Fix
511 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
513 * math/tgmath.h: Make nested function calls work.
515 * include/ldsodefs.h: Fix typo.
517 * posix/Makefile (tests): Add tst-preadwrite.
518 * posix/tst-preadwrite.c: New file.
520 * sysdeps/unix/opendir.c (__opendir): Add back fstat call to make
521 sure that descriptor is in any case for a directory.
523 1998-10-19 18:59 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
525 * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG): Fix typo: val -> Val.
526 (atan2): Takes two arguments.
528 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
530 * include/ldsodefs.h: New file.
532 * iconv/gconv.c: Include ldsodefs.h, not elf/ldsodefs.h.
533 Remove change to avoid using _CALL_DL_FCT.
534 * iconv/gconv_db.c: Likewise.
535 * iconv/gconv_dl.c: Likewise.
536 * iconv/skeleton.c: Likewise, here for DL_CALL_FCT.
537 * malloc/mtrace.c: Include ldsodefs.h, not elf/ldsodefs.h.
538 * nss/nsswitch.c: Likewise.
539 * nss/nsswitch.h: Likewise.
541 1998-10-19 Philip Blundell <pb@nexus.co.uk>
543 * sunrpc/Makefile (otherlibs): If static NSS is in use, set to the
545 * login/Makefile (otherlibs): Likewise.
546 * nscd/Makefile (otherlibs): Likewise.
547 * Makeconfig (link-libc) [! build_shared]: Add $(otherlibs).
549 * debug/Makefile (install-bin): Only build catchsegv if using ELF.
551 * inet/Makefile: Add -DSTATIC_NSS to CFLAGS.
553 1998-10-19 Philip Blundell <pb@nexus.co.uk>
555 * sysdeps/unix/sysv/linux/arm/syscalls.list: Added setfsgid
558 1998-10-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
560 * nscd/connections.c: Fix typos in comments and strings.
562 * nscd/nscd.conf: Update according to recent changes to nscd.
564 * nscd/cache.c (prune_cache): Remove wrong comment.
566 1998-10-19 13:24 Ulrich Drepper <drepper@cygnus.com>
568 * locale/programs/ld-collate.c (collate_startup): Clear bit for this
569 category in copy_posix.
570 (collate_finish): Don't warn about UNDEFINED not being defined.
571 * locale/programs/ld-ctype.c (ctype_startup): Clear bit for this
572 category in copy_posix.
573 * locale/programs/ld-messages.c (messages_startup): Likewise.
574 * locale/programs/ld-monetary.c (monetary_startup): Likewise.
575 * locale/programs/ld-numeric.c (numeric_startup): Likewise.
576 * locale/programs/ld-time.c (time_startup): Likewise.
577 * locale/programs/localedef.c: Move copy_def_list_t definition into
578 locales.h. Define copy_posix variable.
579 (main): Before processing copy list add ©_posix to copy_list.
580 * locale/programs/locales.h: Add definition of copy_def_list_t.
581 * locale/programs/locfile.c: Clear bit for appropriate category in
582 copy_posix.mask for copy instruction.
584 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
586 * sysdeps/unix/sysv/linux/i386/setresgid.c: Remove #include of
587 non-existing file with generic implementation.
588 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
590 1998-10-19 Philip Blundell <pb@nexus.co.uk>
592 * iconv/gconv_db.c: Include ELF header only if STATIC_GCONV is not
593 defined. Avoid using _CALL_DL_FCT if it is not defined.
594 * iconv/gconv.c: Likewise.
596 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
598 * nscd/connections.c (dbs): Define defualt values for timeouts and
599 set enabled to 0 by default.
600 (CACHE_PRUNE_INTERVAL): New constant. Use it instead of magical 15 in
603 * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISCNTRL bit for
605 (_nl_C_LC_CTYPE_class32): Likewise.
608 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
610 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
611 _HURD_THREADVAR_DL_ERROR.
613 * hurd/Makefile (user-interfaces): Add login, password.
615 * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses.
617 1998-08-06 Mark Kettenis <kettenis@phys.uva.nl>
619 [submitted 1998-08-06]
620 * mach/Machrules: Create target directory and force re-evaluation
621 of Makefile to prevent `make' from optimizing away most of the
622 implicit rules and `vpath' directives.
624 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
626 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): If _hurd_msgport_thread
627 is null, short-circuit to __mach_msg.
629 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): New function,
631 (init1) [PIC]: Call it.
632 (__libc_init_first) [! PIC]: Call it.
634 * sysdeps/mach/hurd/i386/init-first.c (init1): Don't call
635 __libc_init_secure. Instead set __libc_enable_secure here from
637 (__libc_enable_secure): New variable it.
638 * sysdeps/mach/hurd/enbl-secure.c: New file, empty placeholder module.
640 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
642 * nscd/nscd-client.h: New file, broken out of "nscd.h".
643 * nscd/nscd.h: Move defns needed by clients to "nscd-client.h",
645 * nscd/Makefile (distribute): Add nscd-client.h.
646 * nscd/nscd_getgr_r.c, nscd/nscd_gethst_r.c, nscd/nscd_getpw_r.c:
647 Include "nscd-client.h" instead of "nscd.h"
649 1998-10-18 Ulrich Drepper <drepper@cygnus.com>
651 * sysdeps/posix/getcwd.c (__getcwd): Don't stop processing
652 directory entries when a lstat call fails.
653 Patch by Colin Plumb <colin@nyx.net>.
655 * resolv/nss_dns/dns-host.c: Add missing errnop parameter to the
657 * resolv/nss_dns/dns-network.c: Likewise.
659 * grp/Makefile: Don't search for linuxthreads in add-ons, use
660 have-thread-library to determine whether threads are available.
661 * pwd/Makefile: Remove wrong comment.
663 * inet/Makefile: Define CFLAGS-gethstbyad_r.c, CFLAGS-gethstbynm_r.c,
664 and CFLAGS-gethstbynm2_r.c to -DUSE_NSCD=1.
666 * locale/C-messages.c: Define default strings for YESTR and NOSTR.
668 * nss/Versions: Add __nss_hosts_lookup.
670 * nss/getXXbyYY.c: Remove unneeded assignment.
672 * nss/getXXbyYY_r.c: Include nscd/nscd_proto.h only if needed.
674 Almost complete rewrite of the NSCD to make it smaller, faster,
675 add more functionnality and make it easier to extend.
676 * nscd/Makfile (routines): Add nscd_gethst_r.
677 (nscd-modules): Add hstcache, gethstbyad_r, gethstbynm2_r, and cache.
678 * nscd/cache.c: New file.
679 * nscd/gethstbyad_r.c: New file.
680 * nscd/gethstbynm2_r.c: New file.
681 * nscd/hstcache.c: New file.
682 * nscd/nscd_gethst_r.c: New file.
683 * nscd/connections.c: Rewritten. Don't start new thread for every
684 new connection. Use a fixed set of threads which handle all
685 connections and also the cache cleanup.
686 * nscd/grpcache.c: Rewritten to use generic cache handling functions
688 * nscd/nscd.c: Recognize new parameter nthreads. Adjust initialization
689 for rewrite. Remove handle_requests function.
690 * nscd/nscd.h (NSCD_VERSION): Bump to 2.
691 Define new data structure for the new unified cache and the host
693 * nscd/nscd_conf.c: Rewrite parsing partly to allow adding of more
694 databases easily. Recognize check-files and threads definitions.
695 * nscd/nscd.conf: Add definition of enable-cache and check-files to
696 passwd and group definitions. Add new set of definitions for hosts.
697 * nscd/nscd_getgr_r.c: Rewrite for new protocol.
698 * nscd/nscd_getpw_r.c: Likewise.
699 * nscd/nscd_proto.h: Add prototype for host database functions.
700 * nscd/nscd_stat.c: Rewrite to simplify printing of information
702 * nscd/dbg_log.c: Remove unnecessary variable initializations.
703 Global variable debug_flag is renamed to dbg_level.
704 * nscd/dbg_log.h: Declare set_logfile.
706 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
708 * sysdeps/unix/sysv/linux/bits/fcntl.h: Add dummy definition of
711 1998-10-16 Paul Eggert <eggert@shade.twinsun.com>
713 * time/mktime.c: Some systems require <unistd.h> to be
714 included before <time.h> for localtime_r to be declared
716 * time/strftime.c: Likewise.
718 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
720 * db/Makefile: Add rule to generate shared object with the soname
723 * sysdeps/unix/opendir.c: Use O_DIRECTORY if available. If not
724 available double check to verify it's a directory.
726 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add O_DIRECTORY.
727 * sysdeps/unix/sysv/linux/mips/bits/fcntl: Likewise.
728 * sysdeps/unix/sysv/linux/bits/fcntl.h: Remove O_* constants which
729 are not generally available.
730 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: New file.
732 * sysdeps/unix/sysv/linux/i386/setgroups.c: Add range check for values.
733 * sysdeps/unix/sysv/linux/arm/Makefile: New file.
734 * sysdeps/unix/sysv/linux/arm/setegid.c: New file.
735 * sysdeps/unix/sysv/linux/arm/seteuid.c: New file.
736 * sysdeps/unix/sysv/linux/arm/setfsgid.c: New file.
737 * sysdeps/unix/sysv/linux/arm/setfsuid.c: New file.
738 * sysdeps/unix/sysv/linux/arm/setgid.c: New file.
739 * sysdeps/unix/sysv/linux/arm/setgroups.c: New file.
740 * sysdeps/unix/sysv/linux/arm/setresgid.c: New file.
741 * sysdeps/unix/sysv/linux/arm/setresuid.c: New file.
742 * sysdeps/unix/sysv/linux/arm/setuid.c: New file.
743 * sysdeps/unix/sysv/linux/i386/setegid.c: New file.
744 * sysdeps/unix/sysv/linux/i386/seteuid.c: New file.
745 * sysdeps/unix/sysv/linux/i386/setfsgid.c: New file.
746 * sysdeps/unix/sysv/linux/i386/setfsuid.c: New file.
747 * sysdeps/unix/sysv/linux/i386/setgid.c: New file.
748 * sysdeps/unix/sysv/linux/i386/setgroups.c: New file.
749 * sysdeps/unix/sysv/linux/i386/setresgid.c: New file.
750 * sysdeps/unix/sysv/linux/i386/setresuid.c: New file.
751 * sysdeps/unix/sysv/linux/i386/setuid.c: New file.
752 * sysdeps/unix/sysv/linux/m68k/setegid.c: New file.
753 * sysdeps/unix/sysv/linux/m68k/seteuid.c: New file.
754 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: New file.
755 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: New file.
756 * sysdeps/unix/sysv/linux/m68k/setgid.c: New file.
757 * sysdeps/unix/sysv/linux/m68k/setgroups.c: New file.
758 * sysdeps/unix/sysv/linux/m68k/setresgid.c: New file.
759 * sysdeps/unix/sysv/linux/m68k/setresuid.c: New file.
760 * sysdeps/unix/sysv/linux/m68k/setuid.c: New file.
761 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
762 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
763 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: New file.
764 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: New file.
765 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: New file.
766 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
767 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file.
768 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file.
769 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: New file.
771 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add s_setgid, s_setresuid,
772 s_setresgid, and s_setuid.
773 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
774 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
775 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
776 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
777 (sysdep_routines): Add setfsgid, setfsuid, setresgid, and setresuid.
778 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
779 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
781 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
783 * time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get
784 localtime_t declaration on some systems.
786 1998-10-16 10:07 Ulrich Drepper <drepper@cygnus.com>
788 * iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to
790 * iconv/skeleton.c: Include ELF header only of STATIC_GCONV is not
791 defined. Avoid using DL_CLL_FCT if it is not defined.
793 1998-10-16 10:40 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
795 * resolv/arpa/nameser.h: Include sys/types.h unconditionally.
796 Include endian.h unconditionally. Remove portability goop
797 depending on #ifdef linux, #ifdef BSD, #ifdef machine-type.
799 1998-10-16 11:39 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
801 * sunrpc/rpc/types.h: Mark file so fixincludes won't modify it.
803 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
805 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios
806 again. Use char[44] to define size of the struct.
808 * sysdeps/unix/sysv/linux/arm/Dist: Add bits/armsigctx.h.
810 1998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
812 * string/bits/string2.h (strcmp): Don't cache the result of
813 __builtin_constant_p in variables, otherwise constant folding
814 can fail in big functions.
816 1998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
818 * string/bits/string2.h: Add prototypes for the new inline
821 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
823 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to
824 have all types defined.
825 Patch by Matti Aarnio <matti.aarnio@sonera.fi>.
827 1998-10-08 Paul Eggert <eggert@twinsun.com>
829 * time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r.
830 Define also if HAVE_LOCALTIME_R && defined localtime_r, with
831 a body that merely expands localtime_r; this works around a
832 bug in Digital Unix 4.0A and 4.0D.
834 1998-10-14 Ulrich Drepper <drepper@cygnus.com>
836 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl.
837 * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define
838 __ioctl to __syscall_ioctl and include Linux version of this file.
839 * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
840 * sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file. Redirect
841 ioctl calls which handle struct termios.
842 Based on a patch by Dan Jacobowitz <drow@false.org>.
844 1998-10-14 Ulrich Drepper <drepper@cygnus.com>
846 * version.h (VERSION): Bump to 2.0.98.
848 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios
849 here instead of including kernel_termios.h.
851 1998-10-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
853 * sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is
854 unnecessary after the changes of 1998-10-12.
856 1998-10-13 Ulrich Drepper <drepper@cygnus.com>
858 * sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output
859 parameter format string.
860 (inline_outw): Likewise.
862 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include
863 string.h to get memcpy prototype and NULL definition.
865 1998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
867 * misc/sys/cdefs.h (__THROW): New macro.
868 * argp/argp.h: Use it to replace the kludgey __P in inline
869 function definitions.
870 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
871 * stdlib/stdlib.h: Likewise.
872 * wcsmbs/wchar.h: Likewise.
873 * libio/stdio.h: Likewise.
874 * stdio/stdio.h: Likewise.
875 * sysdeps/wordsize-64/inttypes.h: Likewise.
876 * sysdeps/wordsize-32/inttypes.h: Likewise.
877 * string/argz.h: Likewise.
878 * io/sys/stat.h: Likewise.
880 1998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
882 * Rules (stdio_lim): New variable.
883 ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend
884 on Rules and config.make, use $(move-if-change) to avoid unnessary
885 recompilations, and cleanup command.
886 (common-generated): Add bits/stdio_lim.st.
888 1998-10-12 Ulrich Drepper <drepper@cygnus.com>
890 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): New
891 variable to prevent warnings from use of modern CPU instructions.
892 Patch by Richard Henderson <rth@cygnus.com>.
894 * sysdeps/unix/opendir.c: Test whether NAME is directory before
897 1998-10-12 Philip Blundell <pb@nexus.co.uk>
899 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Add missing
900 semicolon so that profiling works.
902 1998-10-12 Roland McGrath <roland@baalperazim.frob.com>
904 * sysdeps/generic/glob.c: #undef mempcpy before #define.
906 * sysdeps/unix/bsd/clock.c: Use prototype defns.
908 1998-10-11 Ulrich Drepper <drepper@cygnus.com>
910 * Rules [posix in sysdirs]: Set L_tmpnam to 20.
911 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
913 * string/bits/string2.h [!_STRING_ARCH_unaligned]
914 (__mempcpy_small): Add parameter for 1 byte copy and use it.
915 Reported by Geoff Keating <geoffk@ozemail.com.au>.
917 1998-10-09 Mark Kettenis <kettenis@phys.uva.nl>
919 * sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove,
920 it is already defined in <bits/environments.h>.
922 1998-10-09 Ulrich Drepper <drepper@cygnus.com>
924 * posix/ptestcases.h: Fix typo.
926 1998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
928 * posix/regex.c (regcomp): Allocate and prepare a fastmap.
929 (regexec): Allocate regs.start and regs.end as one block.
931 1998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
933 * sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of
936 1998-10-08 Philip Blundell <pb@nexus.co.uk>
938 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of
939 sigcontext union to ...
940 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here. New
942 * sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for
945 1998-10-08 Ulrich Drepper <drepper@cygnus.com>
947 * malloc/mtrace.c (tr_reallochook): Produce better output for real
950 * signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined.
951 * argp/argp-xinl.c: Likewise.
953 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing
955 Patch by Christian Gafton.
957 1998-10-08 Paul Eggert <eggert@twinsun.com>
959 * time/mktime.c (__mktime_internal): When the requested time falls
960 in a spring-forward gap of size DT, return a time that is DT away
961 from the requested time, preferring a time whose tm_isdst differs
962 from the requested value. Bump the max number of probes from 4 to
963 6 to account for the extra probes needed to discover a
964 spring-forward gap in the worst case.
966 1998-10-07 17:05 Ulrich Drepper <drepper@cygnus.com>
968 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection
969 of the weird alpha architectures.
970 Patch by Cristian Gafton <gafton@redhat.com>.
972 1998-02-18 23:31 Richard Henderson <rth@cygnus.com>
974 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
975 RAWHIDE and TSUNAMI. Patch from Jay.Estabrook@digital.com.
977 1998-10-07 Ulrich Drepper <drepper@cygnus.com>
979 * elf/dl-open.c (_dl_global_scope_alloc): Make global.
980 (dl_open_worker): Use realloc, not malloc to resize array.
981 * elf/rtld.c (_dl_initial_searchlist): New variable.
982 (_dl_main): Copy content of _dl_main_searchlist to
983 _dl_initial_searchlist.
984 * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and
985 _dl_global_scope_alloc.
986 * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist.
987 * elf/dl-close.c (_dl_close): When removing object with global
988 scope remove allocated searchlist if no dynamically loaded object
990 * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope.
991 (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist.
993 * malloc/mtrace.c (tr_where): Don't print space in location string,
994 print it afterwards. Print better symbol name information.
996 1998-10-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
998 * manual/filesys.texi (Setting Permissions): Fix example for
1001 1998-10-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1003 * elf/sprof.c (load_profdata): Fix typo in error message.
1005 1998-10-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1007 * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
1010 1998-10-04 Roland McGrath <roland@baalperazim.frob.com>
1012 * mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it.
1014 1998-10-06 Ulrich Drepper <drepper@cygnus.com>
1016 * version.h (VERSION): Bump to 2.0.97.
1018 1998-10-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1020 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P
1021 in definitions of inline stat functions so that they match the
1023 * stdlib/stdlib.h: Likewise.
1024 * wcsmbs/wchar.h: Likewise.
1025 * libio/stdio.h: Likewise.
1026 * stdio/stdio.h: Likewise.
1027 * sysdeps/wordsize-64/inttypes.h: Likewise.
1028 * sysdeps/wordsize-32/inttypes.h: Likewise.
1029 * string/argz.h: Likewise.
1030 * argp/argp.h: Likewise.
1032 1998-10-06 Ulrich Drepper <drepper@cygnus.com>
1034 * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
1037 1998-10-05 Philip Blundell <philb@gnu.org>
1039 * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures
1040 and constants. Tidy up formatting a little.
1042 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6):
1043 Move definitions to in.h.
1045 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1047 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER,
1048 SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added.
1049 Remove inclusion of <linux/swap.h>.
1051 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
1053 * io/sys/stat.h: Use __P in definitions of inline stat functions
1054 so that they match the declaration.
1056 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1058 * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added.
1060 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1062 * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current
1065 1998-10-02 Philip Blundell <pb@nexus.co.uk>
1067 * sysdeps/arm/dl-machine.h: Fix typo in last change.
1069 * sysdeps/arm/bits/huge_val.h: New file.
1071 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1073 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added.
1075 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add
1078 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
1080 * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to
1081 store result of realloc instead of using BUF.
1083 1998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1085 * misc/sgtty.h (_SGTTY_H): Correct spelling.
1086 Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817].
1088 1998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1090 * manual/memory.texi (Obstacks): Document
1091 obstack_alloc_failed_handler usage.
1093 * malloc/obstack.h: Enhance comment about
1094 obstack_alloc_failed_handler usage.
1095 * malloc/obstack.c: Likewise.
1097 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
1099 * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or
1100 gcc before 2.8 is used.
1102 1998-10-01 Philip Blundell <pb@nexus.co.uk>
1104 * sysdeps/arm/machine-gmon.h: Correct args to mcount(). Patch
1105 from Scott Bambrough.
1107 * sysdeps/unix/sysv/linux/arm/register-dump.h: New file.
1109 * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
1110 include the lock member.
1112 1998-09-03 Philip Blundell <pb@nexus.co.uk>
1114 * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.
1116 1998-10-01 Ulrich Drepper <drepper@cygnus.com>
1118 * timezone/zic.c: Update from tzcode1998h.
1119 * timezone/europe: Update from tzdata1998i.
1120 * timezone/southamerica: Likewise.
1122 * sys/types.h: Protect use of long long by __extension__.
1123 * stdlib/stdlib.h: Likewise.
1124 * string/string.h: Likewise.
1125 * sysdeps/i386/bits/byteswap.h: Likewise.
1126 * sysdeps/geeric/bits/byteswap.h: Likewise.
1127 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
1128 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1129 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1130 * sysdeps/wordsize-32/inttypes.h: Likewise.
1131 * sysdeps/wordsize-32/stdint.h: Likewise.
1132 * wcsmbs/wchar.h: Likewise.
1134 1998-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1136 * string/bits/string2.h (__string2_1bptr_p): Don't use a statement
1138 (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
1139 __strsep): Greatly reduce size of expansion by combining common
1141 (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
1143 (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
1144 by the above definitions.
1146 1998-09-27 Geoff Keating <geoffk@ozemail.com.au>
1148 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
1149 correct struct ipc_perm definition.
1151 1998-09-29 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1153 * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.
1155 1998-09-29 Cristian Gafton <gafton@redhat.com>
1157 * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
1158 * sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
1159 * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
1160 * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
1161 Add net/if_shaper.h.
1163 1998-09-29 Ulrich Drepper <drepper@cygnus.com>
1165 * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.
1167 * nis/ypclnt.c: Remove not needed close calls.
1169 1998-09-28 23:55 Ulrich Drepper <drepper@cygnus.com>
1171 * nis/ypclnt.c (__yp_bind): Pretty print. Optimize readv result
1172 check a bit. Also close socket of domain client. Close socket
1173 in IPPORT_RESERVED error case.
1175 1998-09-28 Ulrich Drepper <drepper@cygnus.com>
1177 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
1178 CMSG_ALIGN (fixes a bug) and correct test for availability of
1180 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
1182 (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
1183 availability of another entry.
1186 * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
1189 * libio/libio.h [!__STDC__]: Define const only if not defined.
1191 1998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1193 * posix/annexc.c (xsystem): New function. Use it instead of
1196 1998-09-28 Ulrich Drepper <drepper@cygnus.com>
1198 * stdlib/longlong.h: Remove #endif for #if removed in last change.
1200 1998-09-25 Ulrich Drepper <drepper@cygnus.com>
1202 * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
1203 Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
1204 allow using `ut' parameter.
1205 [!emacs]: Define ut_argument, ut_argument_spec, and
1206 ut_argument_spec_iso as empty. Define ut to 0. Add ut_argument and
1207 argument_spec to prototypes and definitions.
1208 (my_strftime): Don't call tzset of ut != 0.
1209 Compute diff as 0 is ut != 0;
1210 [emacs]: Define new emacs_strftime function.
1211 Based on a patch by Paul Eggert.
1213 1998-09-24 Paul Eggert <eggert@twinsun.com>
1215 * time/strftime.c (my_strftime): When asking for the length of the
1216 subformatted buffer, do not limit the length to look for;
1217 otherwise, we have no reliable way to distinguish between the
1218 empty buffer and an error.
1220 1998-09-25 Ulrich Drepper <drepper@cygnus.com>
1222 * math/Makefile (gmp-objs): Add mp_clz_tab.
1224 1998-09-25 David S. Miller <davem@pierdol.cobaltmicro.com>
1226 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
1228 * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
1229 cpus lacking hardware multiply and divide.
1231 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1233 * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
1236 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1238 * db/btree/bt_delete.c: Fix -Wparentheses warning.
1240 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1242 * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
1245 1998-09-24 Ulrich Drepper <drepper@cygnus.com>
1247 * debug/catchsegv.sh: Also produce output if clone process died.
1249 1998-09-24 Paul Eggert <eggert@twinsun.com>
1251 * time/strftime.c (f_wkday): Remove duplicate definition.
1252 (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
1253 !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
1254 1998-09-11 fix to this case.
1255 (wkday_len, month_len): Remove these macros; they're no longer needed.
1257 1998-09-24 Paul Eggert <eggert@twinsun.com>
1259 * time/strftime.c (my_strftime): Don't store past the end of a
1262 1998-09-24 Paul Eggert <eggert@twinsun.com>
1264 * time/strftime.c (underlying_strftime):
1265 Set the buffer to a nonzero value before calling
1266 strftime, and check to see whether strftime has set the buffer to zero.
1267 This lets us distinguish between an empty buffer and an error.
1269 1998-09-24 Paul Eggert <eggert@shade.twinsun.com>
1271 * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
1272 This fix is propagated from tzcode1998g.tar.gz.
1274 1998-09-24 Mark Kettenis <kettenis@phys.uva.nl>
1276 * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
1277 _sys_siglist. [!HAVE_GNU_LD]: Do not define _sys_siglist as
1278 sys_siglist. This is handled correctly by the weak_alias macro.
1280 1998-09-24 Ulrich Drepper <drepper@cygnus.com>
1282 * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
1283 of mempcpy. Reported by Andreas Jaeger.
1285 * misc/regexp.h (compile): Use alloca instead of __alloca. It won't
1286 pollute the namespace since the compiler will resolve it inline.
1287 Reported by Florian La Roche <florian@suse.de>.
1289 1998-09-24 10:29 Ulrich Drepper <drepper@cygnus.com>
1291 * timezone/private.h: Update from tzcode1998g.
1293 * timezone/africa: Update from tzdata1998h.
1294 * timezone/asia: Likewise.
1295 * timezone/australasia: Likewise.
1296 * timezone/europe: Likewise.
1297 * timezone/northamerica: Likewise.
1298 * timezone/southamerica: Likewise.
1299 * timezone/zone.tab: Likewise.
1301 1998-09-23 17:28 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1303 * misc/sys/mman.h: New file.
1305 * sysdeps/generic/bits/mman.h: New file.
1306 * sysdeps/unix/bsd/osf/bits/mman.h: New file.
1307 * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
1308 * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
1309 * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
1311 * sysdeps/generic/sys/mman.h: Removed.
1312 * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
1313 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
1314 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
1315 * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
1316 * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
1318 * include/sys/mman.h: Look directly for misc/sys/mman.h.
1319 * misc/Makefile (headers): Add bits/mman.h.
1320 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
1323 * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
1324 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
1325 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
1326 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
1327 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
1328 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
1329 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
1330 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
1332 1998-09-23 16:27 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1334 * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
1335 * sysdeps/mach/alpha/thread_state.h: Likewise.
1336 * sysdeps/mach/i386/sysdep.h: Likewise.
1337 * sysdeps/mach/i386/thread_state.h: Likewise.
1338 * sysdeps/mach/mips/sysdep.h: Likewise.
1339 * sysdeps/mach/mips/thread_state.h: Likewise.
1340 * sysdeps/posix/profil.c: Likewise.
1341 * sysdeps/i386/i586/memcopy.h: Likewise.
1342 * sysdeps/mach/pagecopy.h: Likewise.
1344 1998-09-23 15:25 Ulrich Drepper <drepper@cygnus.com>
1346 * libio/stdio.h: Define __need_getopt and include getopt.h to define
1348 * posix/unistd.h: Likewise.
1349 * stdio/stdio.h: Likewise.
1350 * posix/getopt.h: Remove _GNU_SOURCE use. If __need_getopt is defined
1351 define only getopt and the variables.
1353 1998-09-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1355 * scripts/test-installation.pl (installation_problem): Don't link
1356 the test program against libdb1.
1358 1998-09-23 13:52 Ulrich Drepper <drepper@cygnus.com>
1360 * Makeconfig (all-subdirs): Add db.
1361 * Versions.def: Add definition for libdb1.
1362 * shlib-versions: Add definitions for libdb1.
1363 * db/Makefile (extra-libs): Replace by libdb1.
1364 (libdb-routines): Rename to libdb1-routines.
1365 (headers): Rename to db1-headers.
1366 (distribute): Add $(db1-headers).
1367 (install-others): Define to install symlink libdb.so.NN and the
1369 (CPPFLAGS): Add -DUSE_LIBDB1
1370 Remove rules to build makedb.
1371 * db/Versions: Rename libdb to libdb1.
1372 * include/db.h: If USE_LIBDB1 is defined include db/db.h.
1373 * db/makedb.c: Removed.
1375 * scripts/versions.awk: Recognize digits in library names.
1377 * db/btree/bt_open.c: Fix compiler warnings.
1378 * db/btree/bt_put.c: Likewise.
1379 * db/btree/bt_split.c: Likewise.
1380 * db/hash/hash.c: Likewise.
1381 * db/hash/hash_bigkey.c: Likewise.
1382 * db/recno/rec_close.c: Likewise.
1384 * Makefile: Add localedata/% goal.
1386 1998-09-22 19:58 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1388 * posix/execvp.c: Don't give up searching the PATH if execve
1391 1998-09-22 12:53 Ulrich Drepper <drepper@cygnus.com>
1393 * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
1394 if _dl_fpu_control_set is set.
1395 * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
1396 * elf/rtld.c: Don't define _dl_fpu_control_set.
1397 * elf/Versions: Remove _dl_fpu_control_set.
1399 1998-09-22 11:51 Ulrich Drepper <drepper@cygnus.com>
1401 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
1402 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
1403 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
1404 Correct values of other SA_* macros according to kernel headers.
1406 1998-09-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1408 * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
1410 * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
1413 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1415 * elf/ldsodefs.h: Fix typo in comment.
1417 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1419 * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
1420 char when comparing buffer contents with putback character.
1422 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1424 * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
1426 * elf/Versions: Undo last change. Export _dl_fpu_control and
1427 _dl_fpu_control_set.
1428 * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
1429 variables. Include <fpu_control.h>.
1430 * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
1431 _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
1432 to indicate that is was seen.
1433 * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
1434 only if _dl_fpu_control was set and is equal to desired value.
1435 * math/Makefile (aux): Undo last change.
1436 * math/Versions: Export __fpu_control with version GLIBC_2.0.
1438 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1440 * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
1443 1998-09-21 10:00 Ulrich Drepper <drepper@cygnus.com>
1445 * string/bits/string2.h: Add mempcpy optimization.
1446 * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
1447 * intl/localealias.c: Define mempcpy only if not already defined.
1449 * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
1452 1998-09-20 10:48 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1454 * csu/abi-note.S: Emit the note directly instead of defining
1455 a preprocessor macro that's only used once. Don't include sysdep.h.
1456 * abi-tags: Generalize Solaris entry.
1458 1998-09-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1460 * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
1461 Change to array to avoid runtime relocation.
1462 * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
1464 1998-09-21 12:22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1466 * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
1467 * math/Makefile ($(objpfx)libieee.a): Likewise.
1469 1998-09-21 Ulrich Drepper <drepper@cygnus.com>
1471 * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
1472 Patch by John Tobey <jtobey@banta-im.com>.
1474 1998-09-20 Ulrich Drepper <drepper@cygnus.com>
1476 * login/Makefile (distribute): Remove pty-internal.h, add
1479 * stdlib/tst-strtol.c: Add more checks.
1480 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
1482 1998-09-20 09:37 Ulrich Drepper <drepper@cygnus.com>
1484 * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
1485 * elf/elf.h: Add AT_FPUCW.
1486 * elf/Makefile (dl-routines): Add fpu_control.
1487 (elide-routines.os): Add fpu_control.
1488 (rtld-routines): Add fpu_control.
1489 * math/Makefile (aux): Remove fpu_control.
1490 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
1491 (_dl_show_auxv): Likewise.
1492 * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
1493 if different from OS default.
1495 * stdio-common/tstscanf.c: Add test case for (nil).
1497 1998-09-18 17:41 Ulrich Drepper <drepper@cygnus.com>
1499 * libio/fileops.c (_IO_new_file_underflow): Before allocating
1500 buffer make sure the pushback buffer is destroyed.
1501 (_IO_new_file_seekoff): Likewise.
1502 If mode==0 quit early with the result.
1503 Clear OEF flag after successful fseek.
1504 * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
1505 * libio/ftello.c (ftello): Add offset from original buffer if
1506 stream has pushed back characters.
1507 * libio/ftello64.c (ftello64): Likewise.
1508 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
1509 * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
1510 * libio/ioftell.c (_IO_ftell): Likewise.
1511 * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
1513 (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
1514 (_IO_default_pbackfail): Only stored push back character in original
1515 buffer if it is the same as the one in the file at this position.
1516 * libio/iofclose.c: Free backup buffer if one is available.
1517 * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
1520 * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
1522 * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
1524 * stdio-common/vfscanf.c: Fix reading (nil) for %p.
1526 1998-09-18 Mark Kettenis <kettenis@phys.uva.nl>
1528 * login/programs/pt_chown.c (more_help): Correct message that
1529 describes the purpose of the program.
1531 * login/openpty.c: Do not include pty-private.h.
1532 (pts_name): New function. Return name of slave pseudo terminal in
1533 an allocated buffer if necessary.
1534 (openpty): Use pts_name to get name of the slave end of the pseudo
1537 * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
1538 pts_name before return.
1540 1998-09-18 11:15 Ulrich Drepper <drepper@cygnus.com>
1542 * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
1544 1998-09-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1546 * login/openpty.c: Include pty-private.h instead of
1549 1998-09-09 Philip Blundell <pb@nexus.co.uk>
1551 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
1553 1998-09-07 Philip Blundell <pb@nexus.co.uk>
1555 * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
1556 recent ld.so changes.
1557 (elf_machine_runtime_setup): Correct behaviour when profiling.
1559 1998-09-17 19:34 Ulrich Drepper <drepper@cygnus.com>
1561 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
1562 Patch by John Tobey <jtobey@banta-im.com>.
1564 1998-09-17 Mark Kettenis <kettenis@phys.uva.nl>
1566 * login/pty-internal.h: Removed. Moved constants related to the
1567 `grantpt' helper program protocol to ...
1568 * login/pty-private.h: ... here. New file.
1569 * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
1570 to make the function work with kernels >= 2.1.115.
1571 * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
1572 version if using the cloning device fails.
1573 * sysdeps/unix/sysv/linux/grantpt.c: New file.
1574 * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
1575 * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
1576 use by Linux specific code.
1577 * sysdeps/unix/bsd/unlockpt.c: General cleanup.
1578 * sysdeps/unix/grantpt.c: Largely rewritten. (pts_name): New
1579 function. (grantpt): Use pts_name, check group and permission
1580 mode in addition to owner. Try to set the owner, group and
1581 permission mode first without invoking the helper program.
1582 * login/programs/pt_chown.c: Largely rewritten. Add argp and
1583 internationalization support. Use symbolic constants instead of
1584 hardwired numbers for permission mode.
1585 * sysdeps/unix/bsd/ptsname.c: New file.
1587 1998-09-17 22:04 Tim Waugh <tim@cyberelk.demon.co.uk>
1589 * posix/wordexp-test.c: Undo last change.
1591 * posix/wordexp.c: Undo last change.
1593 1998-09-16 Ulrich Drepper <drepper@cygnus.com>
1595 * nscd/grpcache.c (save_grp): Partly undo last change.
1597 * nscd/pwdcache.c (save_pwd): Undo last change.
1599 1998-09-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1601 * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
1602 function. Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
1604 1998-09-15 David S. Miller <davem@pierdol.cobaltmicro.com>
1606 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
1607 Add profiling support.
1608 (TRAMPOLINE_TEMPLATE): New macro.
1609 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
1610 (RTLD_START): Prettify, and set __libc_stack_end properly.
1611 (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
1612 and check for sym being NULL instead.
1613 * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
1615 * sysdeps/sparc/sparc64/lshift.S: Likewise.
1616 * sysdeps/sparc/sparc64/mul_1.S: Likewise.
1617 * sysdeps/sparc/sparc64/rshift.S: Likewise.
1618 * sysdeps/sparc/sparc64/submul_1.S: Likewise.
1619 * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
1620 MEDANY code model %g4 usage.
1621 * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
1622 MEDANY code model %g4 usage.
1623 * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
1624 code model address formation.
1625 * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
1626 include elf/ldsodefs.h
1628 (elf_machine_matches_host): It is now EM_SPARCV9.
1629 (elf_machine_dynamic): Clean up to remove ugly cast.
1630 (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
1632 (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
1633 Prettify rest of function.
1634 [R_SPARC_COPY]: Check for sym being NULL.
1635 [R_SPARC_32]: Handle it.
1636 [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
1638 [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
1640 [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
1641 (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
1642 Add profiling support.
1643 (TRAMPOLINE_TEMPLATE): New macro.
1644 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
1645 (RTLD_START): Prettify and set __libc_stack_end.
1646 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
1648 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
1649 (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
1650 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
1651 unused variable scratch.
1652 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1653 (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
1655 (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
1656 stub to rt_sigaction syscalls. Rewrite non-rt case to use correct
1657 old format kernel sigaction structures.
1658 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
1659 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
1660 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
1661 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
1663 (_JMPBUF_UNWINDS): Define.
1664 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
1665 statfs64 structure, which is exactly the same as the normal one.
1666 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
1667 of stack. Use correct syscall trap number. Add branch prediction
1668 settings to branch instructions. Remove old MEDANY code model %g4
1669 referneces for non-PIC.
1670 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
1671 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
1672 * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
1673 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
1674 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1675 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
1676 __libc_longjmp and __libc_siglongjmp strong aliases.
1677 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
1678 Also define to __no__readdir64_decl around readdir.c inclusion.
1679 (__readdir64): Add strong alias.
1680 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
1681 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
1682 Set strong and weak names properly.
1684 1998-09-16 11:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1686 * manual/Makefile (AWK): Default to gawk if standalone.
1688 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1690 * Makefile (distribute): Undo last change.
1691 * Make-dist (+tsrc) [not subdir]: Also include indirection headers
1693 (+subdir-headers): Removed, unused.
1695 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1697 * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
1700 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1702 * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
1703 absolute name in $(config-sysdirs), can never happen.
1704 ($(+sysdir_pfx)sysd-rules): Likewise.
1705 * Makeconfig (full-config-sysdirs): Likewise.
1706 (all-Subdirs-files): Prepend $(..).
1708 * configure.in: Don't check for absolute name in $add_ons_pfx, can
1709 not happen. Let --enable-add-ons=yes work if no add-ons actually
1712 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1714 * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
1715 continuations in command.
1717 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1719 * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
1721 1998-09-16 00:47 Tim Waugh <tim@cyberelk.demon.co.uk>
1723 * posix/wordexp-test.c: If expansion or substitution occurs
1724 anywhere in a word, the entire word is subject to field-splitting.
1726 * posix/wordexp.c (parse_glob): Look for end of word instead of
1727 end of field when deciding what to glob.
1728 (field_split_word): New function, now the only place where
1729 field-splitting is performed.
1730 (parse_dollars): New parameter - tell the caller if
1731 field-splitting should be performed on this word.
1733 * posix/wordexp-test.c (testit): Only call wordfree if wordexp
1734 succeeded (or failed with WRDE_NOSPACE).
1736 1998-09-15 19:53 1998 Tim Waugh <tim@cyberelk.demon.co.uk>
1738 * posix/wordexp.c (wordexp): Don't convert IFS characters to
1741 * posix/wordexp-test.c: Words not the result of expansion or
1742 substitution should remain unchanged.
1744 1998-09-15 Ulrich Drepper <drepper@cygnus.com>
1746 * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
1747 (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
1749 1998-09-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1751 * stdio-common/Makefile: Include Makeconfig so that
1752 $(inst_includedir) is defined.
1754 1998-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1756 * io/pwd.c: Include <mcheck.h>.
1758 1998-09-15 08:00 Ulrich Drepper <drepper@cygnus.com>
1760 * nscd/pwdcache.c (save_pwd): Correct copying.
1761 * nscd/grpcache.c (save_grp): Likewise.
1763 1998-09-14 23:36 Ulrich Drepper <drepper@cygnus.com>
1765 * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
1766 (free_pwd): Adjust for this change.
1767 * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
1768 (free_grp): Adjust for this change.
1770 1998-09-14 Ulrich Drepper <drepper@cygnus.com>
1772 * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
1774 1998-09-14 15:29 Ulrich Drepper <drepper@cygnus.com>
1776 * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
1777 (install-others): Add bits/stdio_lim.h.
1778 Add rule to install bits/stdio_lim.h.
1780 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
1782 * Makefile (distribute): Add include/sys/mman.h.
1784 * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
1785 * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
1786 * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
1788 * grp/initgroups.c: Include stdlib.h.
1789 Patch by Zack Weinberg.
1791 1998-09-14 22:46 Tim Waugh <tim@cyberelk.demon.co.uk>
1793 * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
1794 for field-splitting :abc: is correct, and that two fields should
1795 result. Revert tests to reflect this.
1797 * posix/wordexp.c (w_emptyword): Remove function.
1798 (exec_comm): Don't use w_emptyword.
1799 (parse_param): Likewise.
1801 1998-09-14 15:00 Ulrich Drepper <drepper@cygnus.com>
1803 * sysdeps/arm/fpu/Dist: Moved to...
1804 * sysdeps/arm/Dist: ...here.
1805 * sysdeps/posix/Dist: Removed.
1806 * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
1807 * sysdeps/unix/sysv/linux/i386/Dist: ...here.
1809 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
1811 * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
1813 1998-09-14 11:26 Ulrich Drepper <drepper@cygnus.com>
1815 * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
1817 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1819 * libc-work/nis/nss_nisplus/nisplus-service.c
1820 (_nss_nisplus_parse_servent): Convert port in network byte order.
1822 1998-09-14 07:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1824 * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
1825 to provide only malloc and calloc.
1826 * include/stdlib.h: Support the above.
1827 * string/bits/string2.h: Use __need_malloc_and_calloc when
1829 (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
1831 * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
1832 * iconvdata/iso646.c: Include <stdlib.h>.
1834 1998-09-14 07:51 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1836 * sunrpc/rpc_cout.c: Add braces around ambiguous else.
1837 * sysdeps/libm-ieee754/w_pow.c: Likewise.
1838 * sysdeps/libm-ieee754/w_powf.c: Likewise.
1839 * sysdeps/libm-ieee754/w_powl.c: Likewise.
1841 1998-09-14 07:57 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1843 * stdio-common/stdio_lim.h.in: New file. All parameters
1844 are adjustable at build time.
1845 * Rules: Add a rule to build bits/stdio_lim.h from
1846 stdio-common/stdio_lim.h.in. (It has to be in Rules so that
1847 all subdirectories know how to make the file. It can't be
1848 in Makerules because then it gets built at top level and the
1849 dependencies are wrong.)
1851 * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
1852 * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
1854 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
1855 * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
1856 * sysdeps/posix/Makefile: Removed.
1857 * sysdeps/posix/mk-stdiolim.c: Removed.
1858 * sysdeps/generic/bits/stdio_lim.h: Removed.
1860 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1862 * argp/argp-help.c: Fixup indentation.
1863 * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
1864 * resolv/nss_dns/dns-network.c: Likewise.
1865 * resolv/res_send.c: Likewise.
1866 * rt/aio_cancel.c: Likewise.
1867 * rt/aio_misc.c: Likewise.
1869 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1871 * Makefile (install-symbolic-link): Remove the link list file at last.
1872 * Makerules (install-clean-symbolic-link-list): Removed.
1874 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1876 * timezone/tst-timezone.c: Print time in UTC to get consistent
1879 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1881 * elf/rtld.c (_dl_rpath): Removed.
1882 * elf/dl-support.c (_dl_path): Removed.
1883 * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
1884 (CFLAGS-dl-support.c): Removed.
1886 * elf/dl-load.c (env_path_list): Renamed from fake_path_list. All
1888 (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
1889 instead of appending it to the main map's rpath info.
1890 (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
1891 DT_RPATHs. This makes it effective again.
1892 (decompose_rpath): Remove second parameter, callers changed.
1893 (fillin_rpath): Allocate enough space in curwd.
1894 (expand_dynamic_string_token): Cope with get_origin returning -1.
1896 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1898 * libc-work/nis/nss_compat/compat-pwd.c: Add support for
1901 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
1904 1998-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
1906 * locale/programs/locale.c: Update dates.
1908 1998-09-13 Mark Kettenis <kettenis@phys.uva.nl>
1910 * sysdeps/generic/bits/types.h: Include <features.h>. Make sure
1911 size_t is defined. Some reordering of definitions to make
1912 maintaining this file in parallel with the linux-specific file easier.
1914 1998-09-13 Ulrich Drepper <drepper@cygnus.com>
1916 * io/pwd.c (main): Add call to mtrace.
1918 * malloc/mtrace.pl: Quote @ in string.
1920 1998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk>
1922 * posix/wordexp.c (parse_arith): Fix memory leaks.
1923 (exec_comm): Likewise.
1924 (parse_param): Likewise.
1925 (wordexp): Likewise.
1926 (exec_comm): Reduce number of function return points.
1927 (parse_param): Likewise.
1928 (wordexp): Likewise.
1930 1998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk>
1932 * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
1933 yield three fields, not two. Test both parameter expansion and
1934 command substitution for correct field-splitting behaviour.
1936 * posix/wordexp.c (w_emptyword): New function.
1937 (parse_param): Use it.
1938 (exec_comm): Likewise, for consistency with the way parse_param
1940 (parse_param): Fix some memory leaks.
1942 1998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au>
1944 * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
1945 Don't mark asm `volatile'.
1946 (__elf_machine_runtime_setup): Clear the last partial block in the PLT
1947 from the data cache too. Assume it isn't in the instruction cache yet.
1948 (__elf_machine_fixup_plt): Clear the modified address from the caches.
1950 1998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
1952 * sysdeps/generic/segfault.c (install_handler): Install signal
1953 handler with SA_ONSTACK instead of setting the stack flags to
1954 SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
1957 1998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1959 * signal/signal.h: Fix multiple inclusion guard to cover the
1961 * wcsmbs/wchar.h: Remove prototype of internal function
1963 * sysdeps/i386/i486/bits/string.h (memchr): Don't do
1964 arithmetic on `void *'.
1966 1998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
1968 * posix/wordexp-test.c: Fix wrong tests. Add new tests.
1970 * posix/wordexp.c (wordexp): Perform word-splitting instead of
1971 field-splitting here.
1972 (wordexp): If out of memory mid-word, free the word (but still
1973 leave pwordexp alone for caller to see).
1974 (parse_param): Allow for zero-length fields (smarter checking of
1975 memory allocation failure).
1976 (w_addword): Convert NULL words to "".
1977 (wordexp): Convert left-over IFS characters to blanks (like bash).
1979 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
1981 * configure.in: Use test -f instead of test -e.
1982 Patch by John Tobey <jtobey@banta-im.com>.
1984 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
1985 * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
1986 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
1987 * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
1988 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
1989 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
1990 * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
1991 Patches by John Tobey <jtobey@banta-im.com>.
1993 * time/strftime.c (my_strftime): Delay use of *tp values until
1994 latest possible point to allow partly initialized structures
1995 (e.g., from strptime).
1997 * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
1999 Define *-routines variables for new modules.
2000 (distribute): Add .c files for new modules.
2001 (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
2003 Add rules for header generation.
2004 * iconvdata/gconv-modules: Add entries for new modules.
2005 * iconvdata/iso_10367-box.c: New file.
2006 * iconvdata/mac-is.c: New file.
2007 * iconvdata/nats-dano.c: New file.
2008 * iconvdata/nats-sefi.c: New file.
2010 1998-04-30 18:20 H.J. Lu <hjl@gnu.org>
2012 * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
2013 loader if PIC is not defined.
2015 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
2017 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
2018 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
2019 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
2021 Define *-routines variables for new modules.
2022 (distribute): Add .c files for new modules.
2023 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
2024 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
2025 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
2026 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
2027 Add rules for header generation.
2028 * iconvdata/gconv-modules: Add entries for new modules.
2029 * iconvdata/csn_369103.c: New file.
2030 * iconvdata/cwi.c: New file.
2031 * iconvdata/dec-mcs.c: New file.
2032 * iconvdata/ecma-cyrillic.c: New file.
2033 * iconvdata/gost_19768-74.c: New file.
2034 * iconvdata/greek-ccitt.c: New file.
2035 * iconvdata/greek7-old.c: New file.
2036 * iconvdata/greek7.c: New file.
2037 * iconvdata/inis-8.c: New file.
2038 * iconvdata/inis-cyrillic.c: New file.
2039 * iconvdata/inis.c: New file.
2040 * iconvdata/iso6937-2.c: New file.
2041 * iconvdata/iso_2033.c: New file.
2042 * iconvdata/iso_5427-ext.c: New file.
2043 * iconvdata/iso_5427.c: New file.
2044 * iconvdata/iso_5428.c: New file.
2046 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
2048 Convert U02dd correctly.
2050 1998-09-11 20:46 Richard Henderson <rth@cygnus.com>
2052 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
2053 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
2054 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
2055 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
2057 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
2059 * resolv/res_init.c (res_init): Handle resolv.conf file with only
2060 one nameserver correctly. Patch by HJ Lu.
2062 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
2064 Define *-routines variables for new modules.
2065 (distribute): Add .c files for new modules.
2066 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
2067 Add rules for hedaer generation.
2068 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
2069 * iconvdata/ansi_x3.110.c: New file.
2070 * iconvdata/asmo_449.c: New file.
2071 * iconvdata/baltic.c: New file.
2072 * iconvdata/iec_p27-1.c: New file.
2074 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
2076 Convert U02dc correctly.
2078 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
2079 * math/atest-exp2.c: Likewise.
2080 * math/atest-sincos.c: Likewise.
2082 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
2085 1998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2087 * string/strcoll.c: Optimize a few expressions.
2088 * string/strxfrm.c: Likewise.
2090 1998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2092 * manual/locale.texi: Fix typos.
2094 1998-09-10 Ulrich Drepper <drepper@cygnus.com>
2096 * stdlib/random_r.c (__setstate_r): Allow call with same state
2097 array as currently used (PR libc/774).
2099 * include/limits.h: Include gcc's header even if this file is
2100 found more than once before it (PR libc/778)
2102 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
2103 (sysdep_headers): Remove sys/debugreg.h.
2104 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
2105 (sysdep_headers): Add sys/debugreg.h.
2106 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
2107 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
2109 * stdio-common/tmpnam.c: Move local static variable buf to
2110 toplevel and rename to tmpnam_buffer to ease debugging.
2111 Patch by Joe Keane <jgk@jgk.org>.
2112 Optimize s == NULL case a bit.
2114 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
2117 1998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
2119 * resolv/res_init.c (res_init): Initialize _res.nscount and
2120 _res.nsaddr.sin_port differently for the can when no loopback
2121 is available to allow immediate timeout in non-networking environments.
2122 Patch by Cristian Gafton <gafton@redhat.com>.
2124 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2126 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
2127 BAR and not EM DASH.
2128 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
2129 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
2132 1998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
2134 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
2136 * timezone/tst-timezone.c (tests): Fix typo in last patch.
2138 * time/tzfile.c (__tzfile_read): Handle case when there are no
2139 transitions. Set __timezone based on computed offset.
2140 * time/tzset.c (tzset_internal): Set __timezone before returning.
2142 * time/tzset.c (tzset_internal): Optimize handling of local string
2145 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2147 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
2150 1998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
2152 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
2153 (csqrt_test): Likewise.
2154 * sysdeps/powerpc/bits/fenv.h: Add parens.
2156 1998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
2158 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
2159 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
2160 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
2162 1998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
2164 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
2165 the special `-1' pointer.
2167 1998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
2169 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
2172 1998-09-07 Paul Eggert <eggert@twinsun.com>
2174 * time/mktime.c (__EXTENSIONS__): Define if not defined.
2175 (_REENTRANT): Remove. It has undesirable consequences in
2176 Solaris 2.6 (e.g. it turns off the putc macro). Defining
2177 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
2179 * time/strftime.c: Likewise.
2181 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2183 * elf/dl-error.c: Fix spelling.
2185 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2187 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
2188 * stdio-common/_itoa.c: Likewise.
2189 * stdio-common/printf_fp.c: Likewise.
2190 * stdio-common/vfscanf.c: Likewise.
2191 * wcsmbs/wcstok.c: Likewise.
2192 * sysdeps/generic/glob.c: Likewise.
2193 * posix/getopt.c: Likewise.
2194 * sysdeps/posix/getaddrinfo.c: Likewise.
2195 * posix/wordexp.c: Likewise.
2196 * io/ftw.c: Likewise.
2197 * io/fts.c: Likewise.
2198 * misc/getpass.c: Likewise.
2199 * iconv/gconv_conf.c: Likewise.
2200 * argp/argp-fmtstream.c: Likewise.
2201 * argp/argp-help.c: Likewise.
2202 * elf/dl-load.c: Likewise.
2203 * locale/programs/stringtrans.c: Likewise.
2204 * catgets/gencat.c: Likewise.
2205 * posix/getconf.c: Likewise.
2206 * iconv/gconv_conf.c: Likewise.
2207 * iconv/iconv_prog.c: Likewise.
2209 * string/strcoll.c: Optimize a few expressions.
2210 * string/strxfrm.c: Likewise.
2212 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2214 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
2215 level to avoid uninit variable warning.
2217 1998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2219 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
2220 instead of _dl_default_scope[2] as argument to _dl_init_next.
2222 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
2225 1998-09-08 Ulrich Drepper <drepper@cygnus.com>
2227 Fix compatibility problems introduced in last change.
2228 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
2230 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
2231 -DWEAK_GMON_START to CFLAGS-initfini.s.
2233 * elf/dl-object.c (_dl_new_object): Store map address in
2234 _dl_loaded if _dl_loaded is NULL.
2235 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
2237 * sysdeps/generic/setrlimit64.c: Remove stub warning.
2239 1998-09-07 Ulrich Drepper <drepper@cygnus.com>
2241 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
2243 * db2/btree/bt_cursor.c: Likewise.
2244 * db2/common/db_region.db_c: Likewise.
2245 * db2/common/db_salloc.db_c: Likewise.
2246 * db2/db/db.c: Likewise.
2247 * db2/db/db_rec.c: Likewise.
2248 * db2/hash/hash.c: Likewise.
2249 * db2/hash/hash_page.c: Likewise.
2250 * db2/hash/hash_rec.c: Likewise.
2251 * db2/log/log_findckp.c: Likewise.
2252 * db2/log/log_get.c: Likewise.
2253 * db2/log/log_put.c: Likewise.
2254 * db2/mp/mp_fget.c: Likewise.
2255 * db2/mp/mp_fput.c: Likewise.
2256 * db2/mp/mp_region.c: Likewise.
2257 * stdlib/strtol.c: Likewise.
2258 * string/strcoll.c: Likewise.
2259 * string/strxfrm.c: Likewise.
2260 * argp/argp-help.c: Likewise.
2261 * argp/argp-parse.c: Likewise.
2262 * resolv/res_debug.c: Likewise.
2264 1998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
2266 * math/tgmath.h (scalb): Only define for __USE_MISC or
2267 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
2269 1998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2271 * libio/stdio.h: Fix comment.
2273 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
2276 1998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2278 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
2280 * elf/dl-open.c: Quiet -Wparentheses warnings.
2281 * iconvdata/johab.c: Likewise.
2282 * iconvdata/uhc.c: Likewise.
2283 * inet/inet_net.c: Likewise.
2284 * io/fts.c: Likewise.
2285 * locale/newlocale.c: Likewise.
2286 * misc/getttyent.c: Likewise.
2287 * misc/mntent_r.c: Likewise.
2288 * misc/ttyslot.c: Likewise.
2289 * nscd/nscd_conf.c: Likewise.
2290 * nss/nsswitch.c: Likewise.
2291 * resolv/gethnamaddr.c: Likewise.
2292 * resolv/nsap_addr.c: Likewise.
2293 * resolv/res_debug.c: Likewise.
2294 * stdio-common/_itoa.c: Likewise.
2295 * stdlib/strtod.c: Likewise.
2296 * string/strverscmp.c: Likewise.
2297 * sunrpc/svc.c: Likewise.
2298 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
2299 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
2300 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
2301 * sysdeps/posix/getaddrinfo.c: Likewise.
2303 1998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
2305 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
2306 for use of global scope.
2307 * elf/dlvsym.c (dlvsym_doit): Likewise.
2309 1998-09-02 Paul Eggert <eggert@twinsun.com>
2311 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
2312 copy the redundant bytes at the end of the format as-is; don't
2313 just copy their first byte and then rescan, as that might get
2314 us an encoding error.
2315 Account correctly for the length of multibyte sequences in the
2318 1998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
2320 * posix/wordexp-test.c: Add tests for different IFS values.
2321 Change unquoted-newline test so that newline is not in IFS.
2323 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
2324 determining IFS characters. Return WRDE_BADCHAR for unquoted
2325 special characters _except_ if they are separators.
2327 1998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
2329 * include/tgmath.h: New file.
2331 * libio/stdio.h: Correct reversed #ifs.
2332 Patch by Zack Weinberg.
2334 * manual/creature.texi: Better explain reason for feature select
2336 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
2338 1998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2340 * include/alloca.h: Add multiple-inclusion guard.
2341 * include/db.h: Likewise.
2342 * include/db_185.h: Likewise.
2343 * include/dlfcn.h: Likewise.
2344 * include/fcntl.h: Likewise.
2345 * include/grp.h: Likewise.
2346 * include/libintl.h: Likewise.
2347 * include/mntent.h: Likewise.
2348 * include/pwd.h: Likewise.
2349 * include/sched.h: Likewise.
2350 * include/search.h: Likewise.
2351 * include/setjmp.h: Likewise.
2352 * include/shadow.h: Likewise.
2353 * include/signal.h: Likewise.
2354 * include/stdio.h: Likewise.
2355 * include/stdlib.h: Likewise.
2356 * include/string.h: Likewise.
2357 * include/termios.h: Likewise.
2358 * include/time.h: Likewise.
2359 * include/ulimit.h: Likewise.
2360 * include/utmp.h: Likewise.
2361 * include/wchar.h: Likewise.
2362 * include/sys/file.h: Likewise.
2363 * include/sys/gmon.h: Likewise.
2364 * include/sys/ioctl.h: Likewise.
2365 * include/sys/mman.h: Likewise.
2366 * include/sys/resource.h: Likewise.
2367 * include/sys/select.h: Likewise.
2368 * include/sys/socket.h: Likewise.
2369 * include/sys/statfs.h: Likewise.
2370 * include/sys/time.h: Likewise.
2371 * include/sys/times.h: Likewise.
2372 * include/sys/wait.h: Likewise.
2374 1998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
2376 * version.h (VERSION): Bump to 2.0.96.
2378 Rewrite runtime linker to be truly thread-safe. There is now no
2379 global variable specifying the scope. We create all needed
2380 scopes at the time the link maps are created.
2381 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
2382 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
2383 l_symbolic_searchlist, l_scope, and l_local_scope elements in
2385 * elf/dl-close.c: Rewritten accordingly.
2386 * elf/dl-deps.c: Likewise.
2387 * elf/dl-error.c: Likewise.
2388 * elf/dl-init.c: Likewise.
2389 * elf/dl-load.c: Likewise.
2390 * elf/dl-lookup.c: Likewise.
2391 * elf/dl-object.c: Likewise.
2392 * elf/dl-open.c: Likewise.
2393 * elf/dl-reloc.c: Likewise.
2394 * elf/dl-runtime.c: Likewise.
2395 * elf/dl-support.c: Likewise.
2396 * elf/dl-symbol.c: Likewise.
2397 * elf/dl-version.c: Likewise.
2398 * elf/dlsym.c: Likewise.
2399 * elf/dlvsym.c: Likewise.
2400 * elf/ldsodefs.h: Likewise.
2401 * elf/rtld.c: Likewise.
2402 * iconv/gconv_dl.c: Likewise.
2403 * nss/nsswitch.c: Likewise.
2404 * sysdeps/i386/dl-machine.h: Likewise.
2405 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
2407 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
2408 Define RTLD_DEFAULT.
2410 1998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
2412 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
2413 __getopt_clean_environment with __environ instead of envp.
2415 1998-09-05 Roland McGrath <roland@baalperazim.frob.com>
2417 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
2419 * string/argz-extract.c (__argz_extract): Add de-consting cast for
2422 * string/argz.h (argz_next): Add de-consting cast for return.
2423 * string/argz-next.c (__argz_next): Likewise.
2425 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
2426 Don't add netinet/udp.h, netinet/ip_icmp.h here.
2427 * sysdeps/gnu/Makefile: Do it here instead.
2428 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
2429 * sysdeps/gnu/Dist: ... to here.
2431 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
2432 sysdeps/unix/sysv/linux/netinet/tcp.h,
2433 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
2435 1998-09-04 Roland McGrath <roland@baalperazim.frob.com>
2437 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
2438 * string/argz-next.c, string/argz-extract.c: Fix defns.
2440 1998-09-03 Roland McGrath <roland@baalperazim.frob.com>
2442 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
2444 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
2445 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
2446 * sysdeps/generic/sysd-stdio.c: Likewise.
2448 1998-09-02 Ulrich Drepper <drepper@cygnus.com>
2450 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
2451 (_dl_map_object_from_fd): Make NAME argument const.
2452 Remove last parameter in _dl_new_object call.
2453 (print_search_path): Correct construction of composed path name.
2454 (_dl_map_object): Prevent looking at RPATH of the main map twice.
2455 Remove last parameter in _dl_new_object call.
2456 * elf/dl-object.c: Remove last parameter. Determine whether create
2457 origin entry based on empty realname. Handle file in root directory
2459 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
2460 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
2461 Remove last parameter in _dl_new_object call.
2462 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
2463 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
2465 1998-09-01 Ulrich Drepper <drepper@cygnus.com>
2467 * elf/dl-close.c (_dl_close): Add more comments and correct some.
2468 Free l_searchlist and l_dupsearchlist.
2470 * debug/catchsegv.sh: Add one more pair of quotes.
2472 1998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
2474 * elf/dl-load.c (add_name_to_object): Change return type to void and
2475 make NAME parameter const. Allocate room for NAME in same memory
2476 block used for l_libname entry.
2477 (_dl_map_object_from_fd): Don't free NAME on failure.
2478 (map_segment): Pass SONAME to add_name_to_object, not a copy.
2479 (_dl_map_object): Don't create copy of NAME. Pass NAME to
2480 _dl_map_object_from_fd.
2481 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
2482 memory block used for l_libname entry.
2483 * elf/dl-close.c: Adjust free()ing for this change.
2485 1998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
2487 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
2489 * malloc/mtrace.c: Add bug report address. Update email address.
2490 Add more @XXX@ to print correct address size.
2492 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
2495 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
2496 for munmap call instead of examining phdr again.
2497 Free all malloc()ed strings and arrays.
2499 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
2501 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
2503 * sysdeps/powerpc/dl-machine.c: New file.
2504 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
2505 files. Revise ELF_PREFERRED_ADDRESS to take account of
2506 the new mapping information (fixes bug involving huge bloated
2507 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
2508 * sysdeps/powerpc/dl-start.S: New file.
2510 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
2512 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
2513 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
2514 others. Call elf_dynamic_do_##reloc only once (to save even more
2516 * elf/link.h: Add new members l_map_start and l_map_end to keep
2517 track of the memory map.
2518 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
2521 1998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
2523 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
2524 Reported by Andreas Jaeger.
2526 * posix/glob.h: Use __size_t instead of size_t in definitions and
2527 make sure this is defined.
2529 1998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
2531 * manual/locale.texi: Almost complete rewrite. Document more functions
2533 * manual/arith.texi: Correct reference.
2534 * manual/string.texi: Pretty printing.
2536 * manual/texinfo.tex: Update from last available version.
2538 1998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
2540 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
2542 (_nss_nis_getpwuid_r): Likewise.
2543 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
2545 * inet/rcmd.c: Implement netgroup support.
2546 Patch by Dick Streefland <dick_streefland@tasking.com>.
2548 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
2550 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
2551 object on the list is removed. Don't use this code for PIC.
2552 Reported by HJ Lu [PR libc/770].
2554 1998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
2556 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
2558 * include/stdio.h: Add __vsscanf.
2560 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
2562 Remove __vsscanf declaration.
2563 Always declare fgetpos and fsetpos.
2565 * math/math.h: Define isinf as macro.
2566 * math/bits/mathcalls.h: Change to declare __isinf all the time.
2567 Don't declare scalb for ISO C 9x.
2569 * math/tgmath.h: Define fma. Rewrite the underlying macros.
2571 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
2573 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
2576 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
2579 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2581 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
2582 Reported by jreising@frequentis.com [PR libc/767].
2584 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2586 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
2587 fl.l_start at beginning of function.
2588 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
2590 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
2592 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
2593 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
2595 * nscd/nscd.init: Make it work in RedHat systems.
2596 Patch by Christian Gafton.
2598 1998-08-29 Philip Blundell <philb@gnu.org>
2600 * catgets/Makefile: Don't try to run test programs when
2603 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
2605 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
2606 Reported by Zack Weinberg.
2608 1998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2610 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
2611 * elf/Makefile (distribute): Remove ldd.sh.in.
2613 1998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2615 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
2618 1998-08-29 Ulrich Drepper <drepper@cygnus.com>
2620 * sysdeps/i386/register-dump.h: Move to ...
2621 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
2623 1998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
2625 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
2626 with load address, not map address.
2627 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
2628 parameter and use this value.
2629 * sysdeps/arm/dl-machine.h: Likewise.
2630 * sysdeps/i386/dl-machine.h: Likewise.
2631 * sysdeps/m68k/dl-machine.h: Likewise.
2632 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
2634 * sysdeps/powerpc/dl-machine.h: Likewise
2635 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
2636 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
2638 1998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
2640 * elf/rtld.c (process_envvars): Fix copy&paste error.
2642 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
2644 (realloc_hook_ini): Don't overwrite memalign hook.
2645 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
2646 Reported by Philippe Troin <phil@fifi.org>.
2648 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
2649 Patch by Philippe Troin <phil@fifi.org>.
2651 1998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2653 * sysdeps/generic/segfault.c (install_handler): Protect the
2654 non-POSIX signals with #ifdef.
2655 (catch_segfault): Add missing mode parameter for open.
2656 * debug/catchsegv.sh: Avoid termination message from shell. Allow
2657 other termination signals.
2659 1998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2661 * debug/Makefile (distribute): Add register-dump.h.
2663 1998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2665 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
2667 1998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
2669 * elf/Makefile (distribute): Add dl-origin.h.
2670 * sysdeps/generic/dl-origin.h: New file.
2671 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
2672 * elf/link.h (struct link_map): Add l_origin field.
2673 * elf/dl-load.c (expand_dynamic_string_token): New function.
2674 (decompose_path): Remove WHERE argument, take link map pointer instead.
2675 Call expand_dynamic_string_token instead of local_strdup to make copy
2677 (_dl_init_paths): Call decompose_path with correct argument.
2678 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
2680 Check EI_OSABI and EI_ABIVERSION fields in header.
2681 Call _dl_new_object with extra argument.
2682 (_dl_map_object): Call decompose_path with correct argument.
2683 Call expand_dynamic_string_token instead of local_strdup to also
2685 Call _dl_new_object with extra argument.
2686 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
2687 but the main one if new argument is nonzero.
2688 * elf/ldsodefs.h: Adjust for _dl_new_object change.
2689 * elf/dl-support.c: Define _dl_origin_path.
2690 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
2691 (dl_main): Call _dl_new_object with extra argument.
2693 * elf/dl-close (_dl_close): Free l_name and l_origin.
2695 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
2696 modifier in asm, not c.
2698 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
2699 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
2701 1998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
2703 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
2704 variable so that map can be freed.
2705 Reported by Philippe Troin <phil@fifi.org>.
2707 * elf/dl-open.c (dl_open_worker): Correct test for extending global
2709 Patch by Philippe Troin <phil@fifi.org>.
2711 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
2713 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
2714 Don't call writev() with a 100-element vector.
2715 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
2718 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
2719 In particular, set __libc_stack_end.
2720 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
2721 undefined. Fix copyright notice.
2723 1998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2725 * math/Makefile (gmp-objs): New variable.
2726 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
2728 (tests): Add atest-exp atest-sincos atest-exp2.
2729 (tests-static): Remove atest-exp atest-sincos atest-exp2.
2731 1998-08-25 Ulrich Drepper <drepper@cygnus.com>
2733 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
2735 (_dl_unload_cache): New function.
2736 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
2737 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
2738 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
2740 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
2741 Correct comment for O_LARGEFILE.
2742 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
2743 Change O_LARGEFILE to correct value.
2745 1998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
2747 * libio/iogetline.c (_IO_getline_info): Don't read anything for
2748 N == 0. Patch by HJ Lu.
2750 1998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
2752 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
2754 1998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
2756 * argp/argp.h: Use __inline__ not inline.
2758 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
2759 an input register as being clobbered.
2760 * sysdeps/i386/memset.c (memset): Likewise.
2761 * sysdeps/i386/bzero.c (__bzero): Likewise.
2762 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
2764 1998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2766 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
2767 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
2769 1998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
2771 * debug/catchsegv.sh: Handle text preceding backtrace better.
2772 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
2773 to be installed for other signals than SIGSEGV.
2774 * sysdeps/generic/register-dump.h: New file.
2775 * sysdeps/i386/register-dump.h: New file.
2776 * sysdeps/powerpc/register-dump.h: New file.
2778 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
2780 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
2782 1998-08-24 Geoff Keating <geoffk@ozemail.com.au>
2784 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
2786 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
2788 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
2789 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
2790 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
2791 getresuid, getresgid.
2793 1998-08-16 Geoff Keating <geoffk@ozemail.com.au>
2795 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
2796 pointer in userland.
2798 1998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2800 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
2803 1998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2805 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
2806 over arguments Bourne shell compatible. Don't exit unsuccessfully
2807 if nonelf returns successfully. Avoid duplicating most of the
2809 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
2812 1998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2814 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
2816 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
2817 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
2819 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
2821 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
2822 __modify_ldt and modify_ldt.
2823 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
2825 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2826 Use orl $-1 instead of movl $-1 to save two bytes.
2827 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
2830 1998-08-17 H.J. Lu <hjl@gnu.org>
2832 * libio/Versions (_IO_do_write, _IO_file_attach,
2833 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2834 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2835 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2836 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
2838 * libio/fileops.c (_IO_do_write, _IO_file_attach,
2839 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2840 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2841 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2842 _IO_file_write, _IO_file_xsputn): Change the prefix to
2843 "_IO_new_". Added to GLIBC_2.1.
2845 * libio/libioP.h (_IO_do_write, _IO_file_attach,
2846 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2847 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2848 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2849 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
2852 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
2853 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2854 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2855 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2856 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
2858 1998-08-23 Richard Henderson <rth@cygnus.com>
2860 * Makeconfig (LDFLAGS): Remove.
2862 * csu/initfini.c: Return to .text before __gmon_start__.
2864 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
2865 (STO_MIPS_*): Rename from STO_*.
2866 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
2867 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
2869 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
2870 (main): e3s is negative on zero.
2871 * math/atest-exp2.c: Likewise.
2872 * math/atest-sincos.c: Likewise.
2874 1998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2876 * Makerules (install): Add comment about absolute paths.
2878 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
2880 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
2881 array to NUL to handle maxlen==1 case correctly.
2884 1998-08-23 Richard Henderson <rth@cygnus.com>
2886 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
2887 * sysdeps/alpha/elf/crtend.S: Likewise.
2888 * sysdeps/alpha/elf/start.S: Likewise.
2890 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
2891 non-standard pv usage.
2893 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
2894 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
2895 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
2896 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
2897 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
2898 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
2899 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
2900 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
2901 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
2902 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
2903 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
2905 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
2906 a finite non-denormal, deferring to the full IEEE version otherwise.
2908 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
2909 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
2910 * sysdeps/alpha/fpu/s_floor.c: New.
2911 * sysdeps/alpha/fpu/s_floorf.c: New.
2912 * sysdeps/alpha/fpu/s_ceil.c: New.
2913 * sysdeps/alpha/fpu/s_ceilf.c: New.
2915 1998-08-22 Philip Blundell <philb@gnu.org>
2917 * sysdeps/arm/bits/string.h: New file.
2919 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2921 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
2924 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
2925 test for recent Linux 2.1.100+ headers.
2927 1998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2929 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
2931 1998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
2933 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
2935 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2937 * Makefile (elf/ldso_install): Put back. The problem still persists.
2938 * elf/Makefile (ldso_install): Likewise.
2940 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2942 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
2944 * include/db.h: Declare __nss_db_open.
2945 * db2/Versions: Export it.
2947 * db2/makedb.c: Convert to use db2 API.
2948 * nss/nss_db/db-XXX.c: Likewise.
2949 * nss/nss_db/db-netgrp.c: Likewise.
2950 * nss/nss_db/db-alias.c: Likewise.
2951 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
2953 1998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2955 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
2956 sys_setresuid, already built automatically (or not).
2957 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
2958 instead of __syscall_setresuid and add back setresuid.
2959 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
2960 __syscall_setresuid.
2962 1998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2964 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
2966 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
2968 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
2969 BASH-ONLY marked region.
2970 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
2972 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
2974 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
2977 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
2979 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
2982 1998-08-21 Roland McGrath <roland@baalperazim.frob.com>
2984 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
2985 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
2986 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
2987 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
2988 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
2989 those magic comments, and to use /bin/sh for @BASH@.
2990 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
2991 * elf/ldd.sh.in: File removed.
2993 1998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
2995 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
2996 cast them to unsigned long int.
2997 * pwd/putpwent.c (putpwent): Likewise.
2998 Patch by John Tobey <jtobey@banta-im.com>.
3000 1998-08-20 17:14 H.J. Lu <hjl@gnu.org>
3002 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
3005 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
3007 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
3010 1998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
3012 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
3013 Add umount and umount2.
3014 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
3015 * sysdeps/unix/sysv/linux/umount.S: New file.
3016 * sysdeps/unix/sysv/linux/umount2.S: New file.
3017 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
3020 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
3022 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
3023 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
3025 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
3027 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
3030 1998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
3032 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
3033 * elf/ldd.bash.in: Likewise.
3035 * elf/sln.c: Avoid warning for no main prototype.
3037 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
3039 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
3040 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3042 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
3044 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
3045 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
3046 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3048 1998-08-20 Philip Blundell <pb@nexus.co.uk>
3050 * sysdeps/arm/fpu/ieee754.h: Move to...
3051 * sysdeps/arm/ieee754.h: ... here.
3053 * sysdeps/arm/__longjmp.S: Put return value in correct register.
3054 Don't set the condition flags unnecessarily.
3055 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
3056 registers correctly.
3058 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
3059 (patch from Scott Bambrough).
3061 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
3063 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
3064 NULL, just call it unconditionally.
3065 (__gmon_start__): Provide stub version as a weak symbol.
3067 1998-07-30 Philip Blundell <philb@gnu.org>
3069 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
3072 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
3073 like `@' in .type directives.
3075 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
3076 * sysdeps/arm/bsd-_setjmp.S: Likewise.
3078 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
3080 1998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3082 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
3083 (F_GETOWN): Likewise.
3085 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
3088 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
3090 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
3093 1998-08-18 Ulrich Drepper <drepper@cygnus.com>
3095 * include/features.h: Define __USE_EXTERN_INLINES for recent
3097 * argp/argp.h: Define extern inline functions only if
3098 __USE_EXTERN_INLINES is defined.
3099 * libio/stdio.h: Likewise.
3100 * math/math.h: Likewise.
3101 * stdlib/stdlib.h: Likewise.
3102 * string/argz.h: Likewise.
3103 * sysdeps/generic/bits/sigset.h: Likewise.
3104 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
3105 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
3106 * sysdeps/wordsize-32/inttypes.h: Likewise.
3107 * sysdeps/wordsize-64/inttypes.h: Likewise.
3108 * wcsmbs/wchar.h: Likewise.
3110 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
3111 to allow compilation without optimization.
3113 1998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3115 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
3117 * nis/nss_compat/compat-initgroups.c: Likewise.
3118 * nis/nss_compat/compat-pwd.c: Likewise.
3119 * nis/nss_compat/compat-spwd.c: Likewise.
3120 * nis/nss_nis/nis-alias.c: Likewise.
3121 * nis/nss_nis/nis-ethers.c: Likewise.
3122 * nis/nss_nis/nis-grp.c: Likewise.
3123 * nis/nss_nis/nis-hosts.c: Likewise.
3124 * nis/nss_nis/nis-initgroups.c: Likewise.
3125 * nis/nss_nis/nis-network.c: Likewise.
3126 * nis/nss_nis/nis-proto.c: Likewise.
3127 * nis/nss_nis/nis-pwd.c: Likewise.
3128 * nis/nss_nis/nis-rpc.c: Likewise.
3129 * nis/nss_nis/nis-service.c: Likewise.
3130 * nis/nss_nis/nis-spwd.c: Likewise.
3132 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
3134 * nis/ypclnt.c: Try binding dir only first time, could be to old.
3136 * nis/yp_xdr.c: Remove 1024 byte limit.
3137 * nis/ypupdate_xdr.c: Likewise.
3139 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
3142 1998-08-18 Roland McGrath <roland@baalperazim.frob.com>
3144 * Rules (binaries-static, binaries-shared static pattern rules):
3145 Depend on lib%, not just libc%, from $(link-libc{,-static}).
3147 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
3148 this here, overriding Makeconfig generic value so we link against
3151 1998-08-17 Ulrich Drepper <drepper@cygnus.com>
3153 * posix/tstgetopt.c (options): Add NULL entry at end
3154 Patch by Adrian Miranda <ade@psg.com>.
3156 1998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
3158 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
3161 1998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
3163 * elf/elf.h: Add PPC Diab relocations.
3165 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
3167 1998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
3169 * manual/texinfo.tex: Update.
3171 1998-08-07 Geoff Keating <geoffk@ozemail.com.au>
3173 * sysdeps/powerpc/backtrace.c: New file.
3175 1998-08-14 Philip Blundell <pb@nexus.co.uk>
3177 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
3179 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
3181 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3183 * Makefile (install-symbolic-link): Fix spelling.
3185 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3187 * elf/elf.h (SHT_HIOS): Fix value.
3189 1998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3191 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
3192 part of the expansion, this is undefined by the standard.
3194 1998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
3196 * posix/getconf.c: Add support for systems with incomplete confname.h.
3198 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
3200 * sysdeps/posix/wait3.c: Make it work.
3202 1998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3204 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
3205 (elf/ldso_install): Remove.
3207 * elf/Makefile (distribute): Add sln.c.
3209 (others-static): Add sln.
3210 (install-rootsbin): Add sln.
3211 (others-static): Add sln.
3212 (ldso_install): Remove.
3214 1998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3216 * Makerules (install-clean-symbolic-link-list): Make phony.
3217 * Makefile (install-symbolic-link): Make phony. Depend on
3218 subdir_install for parallel makes.
3221 1998-07-22 Ulrich Drepper <drepper@cygnus.com>
3223 * elf/Makefile (distribute): Add sln.c
3225 1998-07-21 07:10 H.J. Lu <hjl@gnu.org>
3227 * elf/sln.c: New file.
3229 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
3230 (install-clean-symbolic-link-list): New target.
3231 (install): Depend on install-clean-symbolic-link-list.
3232 (make-shlib-link): Changed for $(symbolic-link-list).
3234 * Makefile (install-symbolic-link): New target.
3235 (install): Depend on install-symbolic-link.
3237 1998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
3239 * include/unistd.h: Protect against multiple inclusion.
3241 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
3242 is defined, not is glob is defined.
3243 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
3245 1998-08-01 17:18 H.J. Lu <hjl@gnu.org>
3247 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
3248 xdr_string for ut_line, ut_name and ut_host.
3250 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3252 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
3253 /var/mail in accordance with FHS 2.0.
3254 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
3256 1998-08-12 Richard Henderson <rth@cygnus.com>
3258 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
3259 Update aliases for cancelation.
3261 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
3262 playing with symbol versions.
3264 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
3266 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
3267 multiple inclusion protection.
3268 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
3269 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
3270 define all these to 1.
3271 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
3273 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
3275 * sysdeps/mach/usleep.c: Include <unistd.h>.
3276 (usleep): Return void.
3278 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
3280 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
3281 decl to inhibit warning in if_freenameindex defn.
3283 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
3285 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
3287 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
3288 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
3289 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
3290 * sysdeps/mach/usleep.c: Likewise.
3292 * sysdeps/mach/hurd/bind.c (bind): Add a const.
3294 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
3295 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
3296 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
3297 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
3298 * sysdeps/mach/usleep.c (usleep): Likewise.
3299 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
3300 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
3301 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
3302 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
3304 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
3306 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
3309 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
3310 %p arg to fprintf, since `void *' is the right type already.
3312 1998-07-25 19:47 Jose M. Moya <josem@gnu.org>
3314 * sysdeps/mach/hurd/getcwd.c
3315 (_hurd_canonicalize_directory_name_internal): Do not loop forever
3316 for unknown root directories.
3317 (__getcwd): Return NULL when the current root directory could not
3320 1998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
3322 * string/strsignal.c (strsignal): Count real-time signals from zero.
3325 See ChangeLog.8 for earlier changes.