1 1998-10-28 Philip Blundell <pb@nexus.co.uk>
3 * sysdeps/unix/sysv/linux/neteconet/ec.h: New file. Support for
4 AF_ECONET sockets as found in recent Linux 2.1 kernels.
5 * sysdeps/unix/sysv/linux/Dist: Distribute it.
6 * sysdeps/unix/sysv/linux/Makefile: Install it.
8 1998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10 * string/bits/string2.h: __USE_GNU already implies __USE_MISC.
12 1998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
14 * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
16 * sysdeps/unix/sysv/linux/alpha/bits/types.h (__FDS_BITS): Likewise.
17 * sysdeps/unix/sysv/linux/bits/types.h (__FDS_BITS): Likewise.
18 * sysdeps/unix/sysv/linux/mips/bits/types.h (__FDS_BITS): Likewise.
19 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__FDS_BITS):
21 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h (__FDS_BITS):
23 * sysdeps/generic/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
25 * sysdeps/i386/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
26 __FD_ISSET): Likewise.
28 1998-10-28 Geoff Keating <geoffk@ozemail.com.au>
30 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Tidy up, correct
33 * sysdeps/unix/sysv/linux/powerpc/pread.c: Do not use the i386 version.
34 Instead call the system call wrapper function using an 64bit argument.
35 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
36 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
37 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
39 1998-10-27 Ulrich Drepper <drepper@cygnus.com>
41 * signal/signal.h: Don't include <time.h> for timespec, add
44 * sysdeps/i386/bits/select.h [!__USE_XOPEN]: Add special version
45 of __FD_* macros which use __fds_bits.
46 * sysdeps/generic/bits/select.h: Likewise.
47 Reported by Matt McLean <keys@yikes.com>.
49 1998-10-27 Philip Blundell <pb@nexus.co.uk>
51 * elf/elf.h: Update ARM definitions.
53 1998-10-27 Ulrich Drepper <drepper@cygnus.com>
55 * signal/signal.h: Include bits/sigthread.h only for Unix98.
57 1998-10-26 Ulrich Drepper <drepper@cygnus.com>
59 * include/libc-symbols.h: If HAVE_BUILTIN_EXPECT is not defined
60 define __builtin_expect as a macro substituting to the first
62 * config.h.in: Define HAVE_BUILTIN_EXPECT.
63 * configure.in: Add test for __builtin_expect.
65 * sysdeps/unix/sysv/linux/bits/types.h: Include
66 bits/pthreadtypes.h only not for POSIX 199506.
67 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
68 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
69 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
71 1998-10-26 Mark Kettenis <kettenis@phys.uva.nl>
73 * sysdeps/unix/sysv/linux/Versions: Move shutdown ...
74 * socket/Versions [libc, GLIBC_2.0]: ... to here.
76 1998-10-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
78 * include/stdio.h: Included <stddef.h> for size_t.
80 * stdio/stdio.h: Move __path_search, __gen_tempname, __libc_fatal
82 * include/stdio.h: ...here.
83 * libio/stdio.h: Removed __path_search, __gen_tempname, __libc_fatal.
85 1998-10-26 11:09 Ulrich Drepper <drepper@cygnus.com>
87 * time/Makefile (tests): Add tst-posixtz.
88 * time/tst-posixtz.c: New file.
90 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
92 * elf/rtld.c (process_envvars): Accept any non-null value of
93 LD_BIND_NOW, as mandated by the ABI.
95 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
97 * sysdeps/unix/sysv/linux/pread.c: Rename __syscall_pread64 to
99 * sysdeps/unix/sysv/linux/pwrite.c: Rename __syscall_pwrite64 to
101 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
102 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
103 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
104 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
105 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise. Remove
107 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
108 s_pread64 and s_pwrite64.
109 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
111 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
113 * sysdeps/unix/sysv/linux/llseek.c: Use INLINE_SYSCALL.
114 * sysdeps/unix/sysv/linux/arm/syscalls.list: Rename __sys_llseek
115 to __syscall__llseek.
116 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
117 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
118 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove entry for
121 1998-10-26 Cristian Gafton <gafton@redhat.com>
123 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add s_setfsgid
126 1998-10-26 Ulrich Drepper <drepper@cygnus.com>
128 * time/tzset.c (tz_compute): Correct last patch and describe this
131 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
133 * sysdeps/unix/sysv/linux/m68k/Makefile [subdir=signal]: Remove
134 rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo,
135 rt_sigaction and rt_sigpending.
136 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove all entries
137 for __syscall_* functions.
138 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Implement INLINE_SYSCALL.
140 1998-10-26 Roland McGrath <roland@baalperazim.frob.com>
142 * hurd/Versions: Add _hurd_dtable, _hurd_dtablesize,
143 _hurd_dtable_lock, _hurd_intern_fd.
145 * sysdeps/mach/hurd/Versions: Add cthread_keycreate,
146 cthread_getspecific, cthread_setspecific, __libc_getspecific.
148 * mach/Versions: Fix typo in last change.
150 1998-10-25 Ulrich Drepper <drepper@cygnus.com>
152 * time/tzset.c (tz_compute): If time to switch to DST is later in
153 the year switch back in the next year.
154 Reported by jwitford@hutch.com.au.
156 1998-10-24 Mark Kettenis <kettenis@phys.uva.nl>
158 * mach/Versions: Add evc_wait, mach_error, mach_error_string,
159 mach_error_type, mach_msg_destroy, mig_deallocate_reply_port.
160 Remove __mach_host_self, __mach_reply_port, __mach_setup_thread,
161 __mach_port_allocate, __mach_port_allocate_name,
162 __mach_port_insert_right __mutex_trylock, __mutex_lock,
163 __mutex_unlock, __swtch, __switch, __task_create, __task_suspend,
164 __task_set_special_port, __task_terminate, __thread_depress_abort,
165 __thread_switch, __vm_allocate, __vm_deallocate, __vm_map. These
166 functions are not used outside libc.
168 * sysdeps/mach/hurd/Versions: New file.
169 [libc, GLIBC_2.0]: Add _cthread_exit_routine and
170 _cthread_init_routine. These are set by the Hurd cthreads library.
171 Add __getcwd, __mmap. If we don't add these, the weak definitions in
172 the dynamic linker will not be replaced by the corresponding shared
173 library routines once they are loaded.
175 1998-10-21 Mark Kettenis <kettenis@phys.uva.nl>
177 * sysdeps/mach/hurd/i386/init-first.c: Only define
178 __libc_enable_secure if PIC is not defined.
180 1998-10-25 Roland McGrath <roland@baalperazim.frob.com>
182 * argp/Versions: Add _argp_unlock_xxx. Lock-savvy functions call this
183 to recurse into argp.
185 1998-10-25 Ulrich Drepper <drepper@cygnus.com>
187 * include/features.h: Define __USE_POSIS199506 is _POSIX_C_SOURCE is
188 greater or equal than 199506L.
190 * sysdeps/generic/bits/types.h (__fd_set): Define element as fds_bits
191 only is __USE_XOPEN. Otherwise use __fds_bits.
192 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
193 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
194 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
195 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
196 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
198 1998-10-24 H.J. Lu <hjl@gnu.org>
200 * locale/programs/charmap.c (parse_charmap): Accept tok_string
203 1998-10-25 H.J. Lu <hjl@gnu.org>
205 * locale/programs/ld-ctype.c (ctype_finish): Also check
208 1998-10-25 Ulrich Drepper <drepper@cygnus.com>
210 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX199506.
212 * sysdeps/unix/sysv/linux/bits/types.h: Include pthreadtypes.h only
213 if __USE_POSIX199506 or __USE_UNIX98.
215 1998-10-24 22:34 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
217 * string/bits/string2.h: Inline strdup+friends only if
218 __USE_MISC || __USE_GNU (prevents namespace pollution).
220 1998-10-24 H.J. Lu <hjl@gnu.org>
222 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (LOCK_SH,
223 LOCK_EX, LOCK_NB, LOCK_UN): Protect with __USE_BSD.
224 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (LOCK_SH, LOCK_EX,
225 LOCK_NB, LOCK_UN): Likewise.
226 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (LOCK_SH, LOCK_EX,
227 LOCK_NB, LOCK_UN): Likewise.
228 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (LOCK_SH, LOCK_EX,
229 LOCK_NB, LOCK_UN): Likewise.
230 * sysdeps/unix/sysv/linux/bits/fcntl.h (LOCK_SH, LOCK_EX,
231 LOCK_NB, LOCK_UN): Likewise.
233 1998-10-24 H.J. Lu <hjl@gnu.org>
235 * libio/ioseekoff.c (_IO_seekoff): Check the valid dir value.
237 * libio/rewind.c (rewind): Clear the error.
239 1998-10-24 H.J. Lu <hjl@gnu.org>
241 * grp/grp.h (getgrent_r, getgrgid_r, getgrnam_r): Add "__" to
244 1998-10-24 H.J. Lu <hjl@gnu.org>
246 * sysdeps/unix/sysv/linux/alpha/bits/time.h (timeval): Protect
248 * sysdeps/unix/sysv/linux/mips/bits/time.h (timeval): Likewise.
249 * sysdeps/unix/sysv/linux/bits/time.h (timeval): Likewise.
251 1998-10-24 H.J. Lu <hjl@gnu.org>
253 * signal/signal.h (timespec, siginfo_t, sigwaitinfo, sigtimedwait,
254 sigqueue): Protect with __USE_POSIX199309.
256 1998-10-24 H.J. Lu <hjl@gnu.org>
258 * time/time.h (timespec): Protect with __USE_POSIX199309 instead of
261 1998-10-24 H.J. Lu <hjl@gnu.org>
263 * libio/fileops.c (_IO_new_file_seekoff): Always resync with
264 the kernel file offset.
265 * libio/oldfileops.c (_IO_old_file_seekoff): Likewise.
267 1998-10-24 H.J. Lu <hjl@gnu.org>
269 * time/tzfile.c (__tzfile_default): Set num_types to 2.
271 1998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
273 * rt/aio.h: Move __aio_init to...
274 * include/aio.h: ...here.
276 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
278 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove duplicate
279 definition of O_LARGEFILE.
281 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
283 * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Use path
284 as first argument to statfs.
286 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
288 * sysdeps/generic/setenv.c (setenv): Add braces around ambiguous else.
290 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
292 * malloc/mtrace.c: Include <string.h> for strlen.
294 1998-10-24 Roland McGrath <roland@baalperazim.frob.com>
296 * sysdeps/mach/hurd/bits/environments.h: New file.
298 * sysdeps/mach/hurd/dl-sysdep.c (__getcwd): New weak function.
300 * mach/Versions, hurd/Versions: Add numerous symbols.
301 Remove libmachuser and libhurduser sections, punt
302 versioning for those libraries for now.
304 * misc/Versions: Add reboot here; it exists on all platforms.
305 * sysdeps/unix/sysv/linux/Versions: Remove reboot here.
307 1998-10-23 Ulrich Drepper <drepper@cygnus.com>
309 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOFOLLOW): New
311 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
312 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
313 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_LARGEFILE,
314 O_NOFOLLOW, O_DIRECT): New macros.
315 (O_DIRECTORY): Correct definition according to official 2.1.126.
316 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECTORY,
317 O_NOFOLLOW): New macros.
319 1998-10-24 Roland McGrath <roland@baalperazim.frob.com>
321 * include/ldsodefs.h: Test HAVE_ELF instead of __ELF__.
323 * sysdeps/mach/hurd/opendir.c (__opendir): Return ENOENT for "".
324 (__opendir): Add trailing slash to name for open, for ENOTDIR check.
326 1998-10-23 Ulrich Drepper <drepper@cygnus.com>
328 * sysdeps/unix/sysv/linux/i386/Dist: Add setresuid.c, setresgid.c,
329 setfsuid.c, and setfsgid.c.
330 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
331 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
332 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
334 * version.h (VERSION): Bump to 2.0.99.
336 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove duplicate
339 * sysdeps/unix/sysv/linux/i386/Dist: Remove s_pread64.c and
342 * posix/fnmath.h: Don't redefine __P when used in glibc.
343 * posix/glob.h: Likewise.
345 * inet/rcmd.c (__ivaliduser2): Fix memory leak.
346 Patch by Dick Streefland <dick_streefland@tasking.com>.
348 * stdio-common/tst-ungetc.c: Add more test cases.
350 * sysdeps/unix/sysv/linux/Dist: Add linux_fsinfo.h.
351 * sysdeps/unix/sysv/linux/fstatvfs.c: Move filesystem magic number
353 * sysdeps/unix/sysv/linux/linux_fsinfo.h: ...here. New file.
354 * sysdeps/unix/sysv/linux/fpathconf.c: New file.
355 * sysdeps/unix/sysv/linux/pathconf.c: New file.
356 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Handle _PC_LINK_MAX here.
357 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
359 1998-10-20 Philip Blundell <pb@nexus.co.uk>
361 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Include
362 <asm/ptrace.h> to define struct pt_regs.
363 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Don't bother
364 including <asm/ptrace.h> here.
366 * sysdeps/unix/sysv/linux/arm/sysdep.S: Remove spurious call to
369 1998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
371 * sysdeps/generic/sys/ptrace.h (__ptrace_request): Remove comma at
372 end of enumerator list.
373 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Likewise.
374 * posix/wordexp.h: Likewise.
376 * db/db.h: Use __PMT instead of __P in typedefs.
377 * db/mpool.h: Likewise.
378 * sysdeps/generic/bits/siginfo.h: Likewise.
379 * nis/rpcsvc/ypclnt.h: Likewise.
381 1998-10-23 Ulrich Drepper <drepper@cygnus.com>
383 * libio/genops.c (_IO_seekmark): When switching to backup buffer
384 make sure all characters from the read buffer are read after
385 switching back to it.
387 1998-10-22 Ulrich Drepper <drepper@cygnus.com>
389 * configure.in: Add support for Cygnus GNUPro compilers.
391 1998-10-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
393 * stdio/stdio.h: Use __PMT instead of __P in typedefs.
395 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use __PMT instead
396 of __P for sa_restorer.
397 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
398 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
399 kernel_sigaction, old_kernel_sigaction): Likewise.
401 1998-10-22 Ulrich Drepper <drepper@cygnus.com>
403 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add __syscall_pread
404 and __syscall_pwrite aliases.
406 * sunrpc/rpc/auth.h (AUTH_DH): New macro. Alias for AUTH_DES.
408 * sysdeps/unix/sysv/linux/i386/sysdep.h: Drastically simplify and
409 improve INLINE_SYSCALL using macro assembler magic.
411 1998-10-22 H.J. Lu <hjl@gnu.org>
413 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Add
415 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
417 * sysdeps/posix/fpathconf.c (__fpathconf): Set errno to
418 EINVAL if errno == ENODEV. Tested by VSX-PCT.
420 * sysdeps/posix/isatty.c (__isatty): Don't reset errno. Tested
423 * posix/execvp.c (execvp): Check "". Tested by VSX-PCT.
425 1998-10-22 Philip Blundell <pb@nexus.co.uk>
427 * sysdeps/unix/arm/sysdep.h: Wrap assembler macros in #ifdef
430 1998-10-21 Ulrich Drepper <drepper@cygnus.com>
432 * sysdeps/unix/sysv/linux/i386/sysdep.h: Remove EXTRAVARS_* macros
435 1998-10-21 14:38 Ulrich Drepper <drepper@cygnus.com>
437 * sysdeps/unix/sysdep.h (INLINE_SYSCALL): New macro. Simply call
438 __syscall_* function.
439 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use INLINE_SYSCALL instead
440 of calling __syscall_* function.
441 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
442 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
443 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
444 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
445 * sysdeps/unix/sysv/linux/getpriority.c: Likewise.
446 * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
447 * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
448 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
449 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
450 * sysdeps/unix/sysv/linux/poll.c: Likewise.
451 * sysdeps/unix/sysv/linux/pread.c: Likewise.
452 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
453 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
454 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
455 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
456 * sysdeps/unix/sysv/linux/readv.c: Likewise.
457 * sysdeps/unix/sysv/linux/reboot.c: Likewise.
458 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
459 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
460 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
461 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
462 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
463 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
464 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
465 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
466 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
467 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
468 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
469 * sysdeps/unix/sysv/linux/writev.c: Likewise.
470 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
471 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
472 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
473 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
474 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
475 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
476 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
477 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
478 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
479 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
480 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
481 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
482 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
484 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define INLINE_SYSCALL using
486 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove various
487 __syscall_* definitions.
489 * sysdeps/unix/sysv/linux/syscalls.list: Move various __syscall_*
491 * sysdeps/unix/sysv/linux/alpha/syscalls.list: ...here...
492 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
493 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
494 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
495 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
496 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
497 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
499 * sysdeps/unix/sysv/linux/Makefile [subdir=signal] (sysdep_routines):
500 Move definition to...
501 * sysdeps/unix/sysv/linux/alpha/Makefile: ...here...
502 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
503 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
504 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
505 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
506 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
507 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
509 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
510 (sysdep_routines): Remove s_pread64 and s_pwrite64.
512 * sysdeps/unix/sysv/linux/i386/pread.c: New file.
513 * sysdeps/unix/sysv/linux/i386/pread64.c: New file.
514 * sysdeps/unix/sysv/linux/i386/pwrite.c: New file.
515 * sysdeps/unix/sysv/linux/i386/pwrite64.c: New file.
516 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Removed.
517 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Removed.
519 1998-10-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
521 * sysdeps/unix/sysv/linux/siglist.h: Fix some typos in these files
522 and bring them in synch.
523 * sysdeps/unix/siglist.c: Likewise.
524 Reported by Vladimir Michl <michlv@risc.upol.cz> [PR libc/832].
526 1998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
528 * sysdeps/unix/sysv/linux/i386/setresuid.c: Allow -1 as arguments.
529 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
531 * sysdeps/unix/sysv/linux/i386/setreuid.c: New file.
532 * sysdeps/unix/sysv/linux/i386/setregid.c: New file.
533 * sysdeps/unix/sysv/linux/m68k/setreuid.c: New file.
534 * sysdeps/unix/sysv/linux/m68k/setregid.c: New file.
535 * sysdeps/unix/sysv/linux/arm/setreuid.c: New file.
536 * sysdeps/unix/sysv/linux/arm/setregid.c: New file.
537 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: New file.
538 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: New file.
539 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_setreuid and
541 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
542 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
543 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
545 1998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
547 * sunrpc/rpc_main.c (close_output, close_input): New functions.
548 (c_output, h_output, s_output, l_output, t_output, svc_output,
549 clnt_output, mkfile_output): Call them at the end.
551 1998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
553 * db/Makefile (LDFLAGS-db1.so): New variable, to avoid duplicating
556 1998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
558 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Add real contents.
559 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add s_setfs[ug]id.
561 1998-10-20 Ulrich Drepper <drepper@cygnus.com>
563 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_pread64 and
565 * sysdeps/unix/sysv/linux/powerpc/pread.c: New file.
566 * sysdeps/unix/sysv/linux/powerpc/pread64.c: New file.
567 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: New file.
568 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: New file.
569 Patch by Geoffrey KEATING <geoffk@discus.anu.edu.au>.
571 1998-10-18 Zack Weinberg <zack@rabi.phys.columbia.edu>
573 * sysdeps/unix/opendir.c: Check at runtime for kernel support for
576 1998-10-20 H.J. Lu <hjl@gnu.org>
578 * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Fix
581 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
583 * math/tgmath.h: Make nested function calls work.
585 * include/ldsodefs.h: Fix typo.
587 * posix/Makefile (tests): Add tst-preadwrite.
588 * posix/tst-preadwrite.c: New file.
590 * sysdeps/unix/opendir.c (__opendir): Add back fstat call to make
591 sure that descriptor is in any case for a directory.
593 1998-10-19 18:59 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
595 * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG): Fix typo: val -> Val.
596 (atan2): Takes two arguments.
598 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
600 * include/ldsodefs.h: New file.
602 * iconv/gconv.c: Include ldsodefs.h, not elf/ldsodefs.h.
603 Remove change to avoid using _CALL_DL_FCT.
604 * iconv/gconv_db.c: Likewise.
605 * iconv/gconv_dl.c: Likewise.
606 * iconv/skeleton.c: Likewise, here for DL_CALL_FCT.
607 * malloc/mtrace.c: Include ldsodefs.h, not elf/ldsodefs.h.
608 * nss/nsswitch.c: Likewise.
609 * nss/nsswitch.h: Likewise.
611 1998-10-19 Philip Blundell <pb@nexus.co.uk>
613 * sunrpc/Makefile (otherlibs): If static NSS is in use, set to the
615 * login/Makefile (otherlibs): Likewise.
616 * nscd/Makefile (otherlibs): Likewise.
617 * Makeconfig (link-libc) [! build_shared]: Add $(otherlibs).
619 * debug/Makefile (install-bin): Only build catchsegv if using ELF.
621 * inet/Makefile: Add -DSTATIC_NSS to CFLAGS.
623 1998-10-19 Philip Blundell <pb@nexus.co.uk>
625 * sysdeps/unix/sysv/linux/arm/syscalls.list: Added setfsgid
628 1998-10-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
630 * nscd/connections.c: Fix typos in comments and strings.
632 * nscd/nscd.conf: Update according to recent changes to nscd.
634 * nscd/cache.c (prune_cache): Remove wrong comment.
636 1998-10-19 13:24 Ulrich Drepper <drepper@cygnus.com>
638 * locale/programs/ld-collate.c (collate_startup): Clear bit for this
639 category in copy_posix.
640 (collate_finish): Don't warn about UNDEFINED not being defined.
641 * locale/programs/ld-ctype.c (ctype_startup): Clear bit for this
642 category in copy_posix.
643 * locale/programs/ld-messages.c (messages_startup): Likewise.
644 * locale/programs/ld-monetary.c (monetary_startup): Likewise.
645 * locale/programs/ld-numeric.c (numeric_startup): Likewise.
646 * locale/programs/ld-time.c (time_startup): Likewise.
647 * locale/programs/localedef.c: Move copy_def_list_t definition into
648 locales.h. Define copy_posix variable.
649 (main): Before processing copy list add ©_posix to copy_list.
650 * locale/programs/locales.h: Add definition of copy_def_list_t.
651 * locale/programs/locfile.c: Clear bit for appropriate category in
652 copy_posix.mask for copy instruction.
654 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
656 * sysdeps/unix/sysv/linux/i386/setresgid.c: Remove #include of
657 non-existing file with generic implementation.
658 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
660 1998-10-19 Philip Blundell <pb@nexus.co.uk>
662 * iconv/gconv_db.c: Include ELF header only if STATIC_GCONV is not
663 defined. Avoid using _CALL_DL_FCT if it is not defined.
664 * iconv/gconv.c: Likewise.
666 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
668 * nscd/connections.c (dbs): Define defualt values for timeouts and
669 set enabled to 0 by default.
670 (CACHE_PRUNE_INTERVAL): New constant. Use it instead of magical 15 in
673 * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISCNTRL bit for
675 (_nl_C_LC_CTYPE_class32): Likewise.
678 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
680 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
681 _HURD_THREADVAR_DL_ERROR.
683 * hurd/Makefile (user-interfaces): Add login, password.
685 * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses.
687 1998-08-06 Mark Kettenis <kettenis@phys.uva.nl>
689 [submitted 1998-08-06]
690 * mach/Machrules: Create target directory and force re-evaluation
691 of Makefile to prevent `make' from optimizing away most of the
692 implicit rules and `vpath' directives.
694 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
696 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): If _hurd_msgport_thread
697 is null, short-circuit to __mach_msg.
699 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): New function,
701 (init1) [PIC]: Call it.
702 (__libc_init_first) [! PIC]: Call it.
704 * sysdeps/mach/hurd/i386/init-first.c (init1): Don't call
705 __libc_init_secure. Instead set __libc_enable_secure here from
707 (__libc_enable_secure): New variable it.
708 * sysdeps/mach/hurd/enbl-secure.c: New file, empty placeholder module.
710 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
712 * nscd/nscd-client.h: New file, broken out of "nscd.h".
713 * nscd/nscd.h: Move defns needed by clients to "nscd-client.h",
715 * nscd/Makefile (distribute): Add nscd-client.h.
716 * nscd/nscd_getgr_r.c, nscd/nscd_gethst_r.c, nscd/nscd_getpw_r.c:
717 Include "nscd-client.h" instead of "nscd.h"
719 1998-10-18 Ulrich Drepper <drepper@cygnus.com>
721 * sysdeps/posix/getcwd.c (__getcwd): Don't stop processing
722 directory entries when a lstat call fails.
723 Patch by Colin Plumb <colin@nyx.net>.
725 * resolv/nss_dns/dns-host.c: Add missing errnop parameter to the
727 * resolv/nss_dns/dns-network.c: Likewise.
729 * grp/Makefile: Don't search for linuxthreads in add-ons, use
730 have-thread-library to determine whether threads are available.
731 * pwd/Makefile: Remove wrong comment.
733 * inet/Makefile: Define CFLAGS-gethstbyad_r.c, CFLAGS-gethstbynm_r.c,
734 and CFLAGS-gethstbynm2_r.c to -DUSE_NSCD=1.
736 * locale/C-messages.c: Define default strings for YESTR and NOSTR.
738 * nss/Versions: Add __nss_hosts_lookup.
740 * nss/getXXbyYY.c: Remove unneeded assignment.
742 * nss/getXXbyYY_r.c: Include nscd/nscd_proto.h only if needed.
744 Almost complete rewrite of the NSCD to make it smaller, faster,
745 add more functionnality and make it easier to extend.
746 * nscd/Makfile (routines): Add nscd_gethst_r.
747 (nscd-modules): Add hstcache, gethstbyad_r, gethstbynm2_r, and cache.
748 * nscd/cache.c: New file.
749 * nscd/gethstbyad_r.c: New file.
750 * nscd/gethstbynm2_r.c: New file.
751 * nscd/hstcache.c: New file.
752 * nscd/nscd_gethst_r.c: New file.
753 * nscd/connections.c: Rewritten. Don't start new thread for every
754 new connection. Use a fixed set of threads which handle all
755 connections and also the cache cleanup.
756 * nscd/grpcache.c: Rewritten to use generic cache handling functions
758 * nscd/nscd.c: Recognize new parameter nthreads. Adjust initialization
759 for rewrite. Remove handle_requests function.
760 * nscd/nscd.h (NSCD_VERSION): Bump to 2.
761 Define new data structure for the new unified cache and the host
763 * nscd/nscd_conf.c: Rewrite parsing partly to allow adding of more
764 databases easily. Recognize check-files and threads definitions.
765 * nscd/nscd.conf: Add definition of enable-cache and check-files to
766 passwd and group definitions. Add new set of definitions for hosts.
767 * nscd/nscd_getgr_r.c: Rewrite for new protocol.
768 * nscd/nscd_getpw_r.c: Likewise.
769 * nscd/nscd_proto.h: Add prototype for host database functions.
770 * nscd/nscd_stat.c: Rewrite to simplify printing of information
772 * nscd/dbg_log.c: Remove unnecessary variable initializations.
773 Global variable debug_flag is renamed to dbg_level.
774 * nscd/dbg_log.h: Declare set_logfile.
776 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
778 * sysdeps/unix/sysv/linux/bits/fcntl.h: Add dummy definition of
781 1998-10-16 Paul Eggert <eggert@shade.twinsun.com>
783 * time/mktime.c: Some systems require <unistd.h> to be
784 included before <time.h> for localtime_r to be declared
786 * time/strftime.c: Likewise.
788 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
790 * db/Makefile: Add rule to generate shared object with the soname
793 * sysdeps/unix/opendir.c: Use O_DIRECTORY if available. If not
794 available double check to verify it's a directory.
796 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add O_DIRECTORY.
797 * sysdeps/unix/sysv/linux/mips/bits/fcntl: Likewise.
798 * sysdeps/unix/sysv/linux/bits/fcntl.h: Remove O_* constants which
799 are not generally available.
800 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: New file.
802 * sysdeps/unix/sysv/linux/i386/setgroups.c: Add range check for values.
803 * sysdeps/unix/sysv/linux/arm/Makefile: New file.
804 * sysdeps/unix/sysv/linux/arm/setegid.c: New file.
805 * sysdeps/unix/sysv/linux/arm/seteuid.c: New file.
806 * sysdeps/unix/sysv/linux/arm/setfsgid.c: New file.
807 * sysdeps/unix/sysv/linux/arm/setfsuid.c: New file.
808 * sysdeps/unix/sysv/linux/arm/setgid.c: New file.
809 * sysdeps/unix/sysv/linux/arm/setgroups.c: New file.
810 * sysdeps/unix/sysv/linux/arm/setresgid.c: New file.
811 * sysdeps/unix/sysv/linux/arm/setresuid.c: New file.
812 * sysdeps/unix/sysv/linux/arm/setuid.c: New file.
813 * sysdeps/unix/sysv/linux/i386/setegid.c: New file.
814 * sysdeps/unix/sysv/linux/i386/seteuid.c: New file.
815 * sysdeps/unix/sysv/linux/i386/setfsgid.c: New file.
816 * sysdeps/unix/sysv/linux/i386/setfsuid.c: New file.
817 * sysdeps/unix/sysv/linux/i386/setgid.c: New file.
818 * sysdeps/unix/sysv/linux/i386/setgroups.c: New file.
819 * sysdeps/unix/sysv/linux/i386/setresgid.c: New file.
820 * sysdeps/unix/sysv/linux/i386/setresuid.c: New file.
821 * sysdeps/unix/sysv/linux/i386/setuid.c: New file.
822 * sysdeps/unix/sysv/linux/m68k/setegid.c: New file.
823 * sysdeps/unix/sysv/linux/m68k/seteuid.c: New file.
824 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: New file.
825 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: New file.
826 * sysdeps/unix/sysv/linux/m68k/setgid.c: New file.
827 * sysdeps/unix/sysv/linux/m68k/setgroups.c: New file.
828 * sysdeps/unix/sysv/linux/m68k/setresgid.c: New file.
829 * sysdeps/unix/sysv/linux/m68k/setresuid.c: New file.
830 * sysdeps/unix/sysv/linux/m68k/setuid.c: New file.
831 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
832 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
833 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: New file.
834 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: New file.
835 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: New file.
836 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
837 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file.
838 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file.
839 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: New file.
841 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add s_setgid, s_setresuid,
842 s_setresgid, and s_setuid.
843 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
844 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
845 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
846 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
847 (sysdep_routines): Add setfsgid, setfsuid, setresgid, and setresuid.
848 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
849 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
851 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
853 * time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get
854 localtime_t declaration on some systems.
856 1998-10-16 10:07 Ulrich Drepper <drepper@cygnus.com>
858 * iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to
860 * iconv/skeleton.c: Include ELF header only of STATIC_GCONV is not
861 defined. Avoid using DL_CLL_FCT if it is not defined.
863 1998-10-16 10:40 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
865 * resolv/arpa/nameser.h: Include sys/types.h unconditionally.
866 Include endian.h unconditionally. Remove portability goop
867 depending on #ifdef linux, #ifdef BSD, #ifdef machine-type.
869 1998-10-16 11:39 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
871 * sunrpc/rpc/types.h: Mark file so fixincludes won't modify it.
873 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
875 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios
876 again. Use char[44] to define size of the struct.
878 * sysdeps/unix/sysv/linux/arm/Dist: Add bits/armsigctx.h.
880 1998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
882 * string/bits/string2.h (strcmp): Don't cache the result of
883 __builtin_constant_p in variables, otherwise constant folding
884 can fail in big functions.
886 1998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
888 * string/bits/string2.h: Add prototypes for the new inline
891 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
893 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to
894 have all types defined.
895 Patch by Matti Aarnio <matti.aarnio@sonera.fi>.
897 1998-10-08 Paul Eggert <eggert@twinsun.com>
899 * time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r.
900 Define also if HAVE_LOCALTIME_R && defined localtime_r, with
901 a body that merely expands localtime_r; this works around a
902 bug in Digital Unix 4.0A and 4.0D.
904 1998-10-14 Ulrich Drepper <drepper@cygnus.com>
906 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl.
907 * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define
908 __ioctl to __syscall_ioctl and include Linux version of this file.
909 * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
910 * sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file. Redirect
911 ioctl calls which handle struct termios.
912 Based on a patch by Dan Jacobowitz <drow@false.org>.
914 1998-10-14 Ulrich Drepper <drepper@cygnus.com>
916 * version.h (VERSION): Bump to 2.0.98.
918 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios
919 here instead of including kernel_termios.h.
921 1998-10-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
923 * sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is
924 unnecessary after the changes of 1998-10-12.
926 1998-10-13 Ulrich Drepper <drepper@cygnus.com>
928 * sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output
929 parameter format string.
930 (inline_outw): Likewise.
932 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include
933 string.h to get memcpy prototype and NULL definition.
935 1998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
937 * misc/sys/cdefs.h (__THROW): New macro.
938 * argp/argp.h: Use it to replace the kludgey __P in inline
939 function definitions.
940 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
941 * stdlib/stdlib.h: Likewise.
942 * wcsmbs/wchar.h: Likewise.
943 * libio/stdio.h: Likewise.
944 * stdio/stdio.h: Likewise.
945 * sysdeps/wordsize-64/inttypes.h: Likewise.
946 * sysdeps/wordsize-32/inttypes.h: Likewise.
947 * string/argz.h: Likewise.
948 * io/sys/stat.h: Likewise.
950 1998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
952 * Rules (stdio_lim): New variable.
953 ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend
954 on Rules and config.make, use $(move-if-change) to avoid unnessary
955 recompilations, and cleanup command.
956 (common-generated): Add bits/stdio_lim.st.
958 1998-10-12 Ulrich Drepper <drepper@cygnus.com>
960 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): New
961 variable to prevent warnings from use of modern CPU instructions.
962 Patch by Richard Henderson <rth@cygnus.com>.
964 * sysdeps/unix/opendir.c: Test whether NAME is directory before
967 1998-10-12 Philip Blundell <pb@nexus.co.uk>
969 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Add missing
970 semicolon so that profiling works.
972 1998-10-12 Roland McGrath <roland@baalperazim.frob.com>
974 * sysdeps/generic/glob.c: #undef mempcpy before #define.
976 * sysdeps/unix/bsd/clock.c: Use prototype defns.
978 1998-10-11 Ulrich Drepper <drepper@cygnus.com>
980 * Rules [posix in sysdirs]: Set L_tmpnam to 20.
981 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
983 * string/bits/string2.h [!_STRING_ARCH_unaligned]
984 (__mempcpy_small): Add parameter for 1 byte copy and use it.
985 Reported by Geoff Keating <geoffk@ozemail.com.au>.
987 1998-10-09 Mark Kettenis <kettenis@phys.uva.nl>
989 * sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove,
990 it is already defined in <bits/environments.h>.
992 1998-10-09 Ulrich Drepper <drepper@cygnus.com>
994 * posix/ptestcases.h: Fix typo.
996 1998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
998 * posix/regex.c (regcomp): Allocate and prepare a fastmap.
999 (regexec): Allocate regs.start and regs.end as one block.
1001 1998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1003 * sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of
1006 1998-10-08 Philip Blundell <pb@nexus.co.uk>
1008 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of
1009 sigcontext union to ...
1010 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here. New
1012 * sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for
1013 version 2.0 kernels.
1015 1998-10-08 Ulrich Drepper <drepper@cygnus.com>
1017 * malloc/mtrace.c (tr_reallochook): Produce better output for real
1020 * signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined.
1021 * argp/argp-xinl.c: Likewise.
1023 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing
1025 Patch by Christian Gafton.
1027 1998-10-08 Paul Eggert <eggert@twinsun.com>
1029 * time/mktime.c (__mktime_internal): When the requested time falls
1030 in a spring-forward gap of size DT, return a time that is DT away
1031 from the requested time, preferring a time whose tm_isdst differs
1032 from the requested value. Bump the max number of probes from 4 to
1033 6 to account for the extra probes needed to discover a
1034 spring-forward gap in the worst case.
1036 1998-10-07 17:05 Ulrich Drepper <drepper@cygnus.com>
1038 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection
1039 of the weird alpha architectures.
1040 Patch by Cristian Gafton <gafton@redhat.com>.
1042 1998-02-18 23:31 Richard Henderson <rth@cygnus.com>
1044 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
1045 RAWHIDE and TSUNAMI. Patch from Jay.Estabrook@digital.com.
1047 1998-10-07 Ulrich Drepper <drepper@cygnus.com>
1049 * elf/dl-open.c (_dl_global_scope_alloc): Make global.
1050 (dl_open_worker): Use realloc, not malloc to resize array.
1051 * elf/rtld.c (_dl_initial_searchlist): New variable.
1052 (_dl_main): Copy content of _dl_main_searchlist to
1053 _dl_initial_searchlist.
1054 * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and
1055 _dl_global_scope_alloc.
1056 * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist.
1057 * elf/dl-close.c (_dl_close): When removing object with global
1058 scope remove allocated searchlist if no dynamically loaded object
1060 * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope.
1061 (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist.
1063 * malloc/mtrace.c (tr_where): Don't print space in location string,
1064 print it afterwards. Print better symbol name information.
1066 1998-10-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1068 * manual/filesys.texi (Setting Permissions): Fix example for
1071 1998-10-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1073 * elf/sprof.c (load_profdata): Fix typo in error message.
1075 1998-10-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1077 * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
1080 1998-10-04 Roland McGrath <roland@baalperazim.frob.com>
1082 * mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it.
1084 1998-10-06 Ulrich Drepper <drepper@cygnus.com>
1086 * version.h (VERSION): Bump to 2.0.97.
1088 1998-10-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1090 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P
1091 in definitions of inline stat functions so that they match the
1093 * stdlib/stdlib.h: Likewise.
1094 * wcsmbs/wchar.h: Likewise.
1095 * libio/stdio.h: Likewise.
1096 * stdio/stdio.h: Likewise.
1097 * sysdeps/wordsize-64/inttypes.h: Likewise.
1098 * sysdeps/wordsize-32/inttypes.h: Likewise.
1099 * string/argz.h: Likewise.
1100 * argp/argp.h: Likewise.
1102 1998-10-06 Ulrich Drepper <drepper@cygnus.com>
1104 * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
1107 1998-10-05 Philip Blundell <philb@gnu.org>
1109 * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures
1110 and constants. Tidy up formatting a little.
1112 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6):
1113 Move definitions to in.h.
1115 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1117 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER,
1118 SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added.
1119 Remove inclusion of <linux/swap.h>.
1121 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
1123 * io/sys/stat.h: Use __P in definitions of inline stat functions
1124 so that they match the declaration.
1126 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1128 * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added.
1130 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1132 * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current
1135 1998-10-02 Philip Blundell <pb@nexus.co.uk>
1137 * sysdeps/arm/dl-machine.h: Fix typo in last change.
1139 * sysdeps/arm/bits/huge_val.h: New file.
1141 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1143 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added.
1145 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add
1148 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
1150 * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to
1151 store result of realloc instead of using BUF.
1153 1998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1155 * misc/sgtty.h (_SGTTY_H): Correct spelling.
1156 Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817].
1158 1998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1160 * manual/memory.texi (Obstacks): Document
1161 obstack_alloc_failed_handler usage.
1163 * malloc/obstack.h: Enhance comment about
1164 obstack_alloc_failed_handler usage.
1165 * malloc/obstack.c: Likewise.
1167 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
1169 * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or
1170 gcc before 2.8 is used.
1172 1998-10-01 Philip Blundell <pb@nexus.co.uk>
1174 * sysdeps/arm/machine-gmon.h: Correct args to mcount(). Patch
1175 from Scott Bambrough.
1177 * sysdeps/unix/sysv/linux/arm/register-dump.h: New file.
1179 * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
1180 include the lock member.
1182 1998-09-03 Philip Blundell <pb@nexus.co.uk>
1184 * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.
1186 1998-10-01 Ulrich Drepper <drepper@cygnus.com>
1188 * timezone/zic.c: Update from tzcode1998h.
1189 * timezone/europe: Update from tzdata1998i.
1190 * timezone/southamerica: Likewise.
1192 * sys/types.h: Protect use of long long by __extension__.
1193 * stdlib/stdlib.h: Likewise.
1194 * string/string.h: Likewise.
1195 * sysdeps/i386/bits/byteswap.h: Likewise.
1196 * sysdeps/geeric/bits/byteswap.h: Likewise.
1197 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
1198 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1199 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1200 * sysdeps/wordsize-32/inttypes.h: Likewise.
1201 * sysdeps/wordsize-32/stdint.h: Likewise.
1202 * wcsmbs/wchar.h: Likewise.
1204 1998-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1206 * string/bits/string2.h (__string2_1bptr_p): Don't use a statement
1208 (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
1209 __strsep): Greatly reduce size of expansion by combining common
1211 (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
1213 (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
1214 by the above definitions.
1216 1998-09-27 Geoff Keating <geoffk@ozemail.com.au>
1218 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
1219 correct struct ipc_perm definition.
1221 1998-09-29 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1223 * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.
1225 1998-09-29 Cristian Gafton <gafton@redhat.com>
1227 * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
1228 * sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
1229 * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
1230 * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
1231 Add net/if_shaper.h.
1233 1998-09-29 Ulrich Drepper <drepper@cygnus.com>
1235 * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.
1237 * nis/ypclnt.c: Remove not needed close calls.
1239 1998-09-28 23:55 Ulrich Drepper <drepper@cygnus.com>
1241 * nis/ypclnt.c (__yp_bind): Pretty print. Optimize readv result
1242 check a bit. Also close socket of domain client. Close socket
1243 in IPPORT_RESERVED error case.
1245 1998-09-28 Ulrich Drepper <drepper@cygnus.com>
1247 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
1248 CMSG_ALIGN (fixes a bug) and correct test for availability of
1250 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
1252 (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
1253 availability of another entry.
1256 * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
1259 * libio/libio.h [!__STDC__]: Define const only if not defined.
1261 1998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1263 * posix/annexc.c (xsystem): New function. Use it instead of
1266 1998-09-28 Ulrich Drepper <drepper@cygnus.com>
1268 * stdlib/longlong.h: Remove #endif for #if removed in last change.
1270 1998-09-25 Ulrich Drepper <drepper@cygnus.com>
1272 * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
1273 Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
1274 allow using `ut' parameter.
1275 [!emacs]: Define ut_argument, ut_argument_spec, and
1276 ut_argument_spec_iso as empty. Define ut to 0. Add ut_argument and
1277 argument_spec to prototypes and definitions.
1278 (my_strftime): Don't call tzset of ut != 0.
1279 Compute diff as 0 is ut != 0;
1280 [emacs]: Define new emacs_strftime function.
1281 Based on a patch by Paul Eggert.
1283 1998-09-24 Paul Eggert <eggert@twinsun.com>
1285 * time/strftime.c (my_strftime): When asking for the length of the
1286 subformatted buffer, do not limit the length to look for;
1287 otherwise, we have no reliable way to distinguish between the
1288 empty buffer and an error.
1290 1998-09-25 Ulrich Drepper <drepper@cygnus.com>
1292 * math/Makefile (gmp-objs): Add mp_clz_tab.
1294 1998-09-25 David S. Miller <davem@pierdol.cobaltmicro.com>
1296 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
1298 * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
1299 cpus lacking hardware multiply and divide.
1301 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1303 * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
1306 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1308 * db/btree/bt_delete.c: Fix -Wparentheses warning.
1310 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1312 * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
1315 1998-09-24 Ulrich Drepper <drepper@cygnus.com>
1317 * debug/catchsegv.sh: Also produce output if clone process died.
1319 1998-09-24 Paul Eggert <eggert@twinsun.com>
1321 * time/strftime.c (f_wkday): Remove duplicate definition.
1322 (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
1323 !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
1324 1998-09-11 fix to this case.
1325 (wkday_len, month_len): Remove these macros; they're no longer needed.
1327 1998-09-24 Paul Eggert <eggert@twinsun.com>
1329 * time/strftime.c (my_strftime): Don't store past the end of a
1332 1998-09-24 Paul Eggert <eggert@twinsun.com>
1334 * time/strftime.c (underlying_strftime):
1335 Set the buffer to a nonzero value before calling
1336 strftime, and check to see whether strftime has set the buffer to zero.
1337 This lets us distinguish between an empty buffer and an error.
1339 1998-09-24 Paul Eggert <eggert@shade.twinsun.com>
1341 * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
1342 This fix is propagated from tzcode1998g.tar.gz.
1344 1998-09-24 Mark Kettenis <kettenis@phys.uva.nl>
1346 * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
1347 _sys_siglist. [!HAVE_GNU_LD]: Do not define _sys_siglist as
1348 sys_siglist. This is handled correctly by the weak_alias macro.
1350 1998-09-24 Ulrich Drepper <drepper@cygnus.com>
1352 * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
1353 of mempcpy. Reported by Andreas Jaeger.
1355 * misc/regexp.h (compile): Use alloca instead of __alloca. It won't
1356 pollute the namespace since the compiler will resolve it inline.
1357 Reported by Florian La Roche <florian@suse.de>.
1359 1998-09-24 10:29 Ulrich Drepper <drepper@cygnus.com>
1361 * timezone/private.h: Update from tzcode1998g.
1363 * timezone/africa: Update from tzdata1998h.
1364 * timezone/asia: Likewise.
1365 * timezone/australasia: Likewise.
1366 * timezone/europe: Likewise.
1367 * timezone/northamerica: Likewise.
1368 * timezone/southamerica: Likewise.
1369 * timezone/zone.tab: Likewise.
1371 1998-09-23 17:28 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1373 * misc/sys/mman.h: New file.
1375 * sysdeps/generic/bits/mman.h: New file.
1376 * sysdeps/unix/bsd/osf/bits/mman.h: New file.
1377 * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
1378 * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
1379 * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
1381 * sysdeps/generic/sys/mman.h: Removed.
1382 * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
1383 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
1384 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
1385 * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
1386 * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
1388 * include/sys/mman.h: Look directly for misc/sys/mman.h.
1389 * misc/Makefile (headers): Add bits/mman.h.
1390 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
1393 * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
1394 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
1395 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
1396 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
1397 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
1398 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
1399 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
1400 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
1402 1998-09-23 16:27 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1404 * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
1405 * sysdeps/mach/alpha/thread_state.h: Likewise.
1406 * sysdeps/mach/i386/sysdep.h: Likewise.
1407 * sysdeps/mach/i386/thread_state.h: Likewise.
1408 * sysdeps/mach/mips/sysdep.h: Likewise.
1409 * sysdeps/mach/mips/thread_state.h: Likewise.
1410 * sysdeps/posix/profil.c: Likewise.
1411 * sysdeps/i386/i586/memcopy.h: Likewise.
1412 * sysdeps/mach/pagecopy.h: Likewise.
1414 1998-09-23 15:25 Ulrich Drepper <drepper@cygnus.com>
1416 * libio/stdio.h: Define __need_getopt and include getopt.h to define
1418 * posix/unistd.h: Likewise.
1419 * stdio/stdio.h: Likewise.
1420 * posix/getopt.h: Remove _GNU_SOURCE use. If __need_getopt is defined
1421 define only getopt and the variables.
1423 1998-09-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1425 * scripts/test-installation.pl (installation_problem): Don't link
1426 the test program against libdb1.
1428 1998-09-23 13:52 Ulrich Drepper <drepper@cygnus.com>
1430 * Makeconfig (all-subdirs): Add db.
1431 * Versions.def: Add definition for libdb1.
1432 * shlib-versions: Add definitions for libdb1.
1433 * db/Makefile (extra-libs): Replace by libdb1.
1434 (libdb-routines): Rename to libdb1-routines.
1435 (headers): Rename to db1-headers.
1436 (distribute): Add $(db1-headers).
1437 (install-others): Define to install symlink libdb.so.NN and the
1439 (CPPFLAGS): Add -DUSE_LIBDB1
1440 Remove rules to build makedb.
1441 * db/Versions: Rename libdb to libdb1.
1442 * include/db.h: If USE_LIBDB1 is defined include db/db.h.
1443 * db/makedb.c: Removed.
1445 * scripts/versions.awk: Recognize digits in library names.
1447 * db/btree/bt_open.c: Fix compiler warnings.
1448 * db/btree/bt_put.c: Likewise.
1449 * db/btree/bt_split.c: Likewise.
1450 * db/hash/hash.c: Likewise.
1451 * db/hash/hash_bigkey.c: Likewise.
1452 * db/recno/rec_close.c: Likewise.
1454 * Makefile: Add localedata/% goal.
1456 1998-09-22 19:58 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1458 * posix/execvp.c: Don't give up searching the PATH if execve
1461 1998-09-22 12:53 Ulrich Drepper <drepper@cygnus.com>
1463 * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
1464 if _dl_fpu_control_set is set.
1465 * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
1466 * elf/rtld.c: Don't define _dl_fpu_control_set.
1467 * elf/Versions: Remove _dl_fpu_control_set.
1469 1998-09-22 11:51 Ulrich Drepper <drepper@cygnus.com>
1471 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
1472 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
1473 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
1474 Correct values of other SA_* macros according to kernel headers.
1476 1998-09-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1478 * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
1480 * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
1483 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1485 * elf/ldsodefs.h: Fix typo in comment.
1487 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1489 * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
1490 char when comparing buffer contents with putback character.
1492 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1494 * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
1496 * elf/Versions: Undo last change. Export _dl_fpu_control and
1497 _dl_fpu_control_set.
1498 * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
1499 variables. Include <fpu_control.h>.
1500 * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
1501 _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
1502 to indicate that is was seen.
1503 * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
1504 only if _dl_fpu_control was set and is equal to desired value.
1505 * math/Makefile (aux): Undo last change.
1506 * math/Versions: Export __fpu_control with version GLIBC_2.0.
1508 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1510 * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
1513 1998-09-21 10:00 Ulrich Drepper <drepper@cygnus.com>
1515 * string/bits/string2.h: Add mempcpy optimization.
1516 * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
1517 * intl/localealias.c: Define mempcpy only if not already defined.
1519 * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
1522 1998-09-20 10:48 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1524 * csu/abi-note.S: Emit the note directly instead of defining
1525 a preprocessor macro that's only used once. Don't include sysdep.h.
1526 * abi-tags: Generalize Solaris entry.
1528 1998-09-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1530 * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
1531 Change to array to avoid runtime relocation.
1532 * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
1534 1998-09-21 12:22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1536 * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
1537 * math/Makefile ($(objpfx)libieee.a): Likewise.
1539 1998-09-21 Ulrich Drepper <drepper@cygnus.com>
1541 * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
1542 Patch by John Tobey <jtobey@banta-im.com>.
1544 1998-09-20 Ulrich Drepper <drepper@cygnus.com>
1546 * login/Makefile (distribute): Remove pty-internal.h, add
1549 * stdlib/tst-strtol.c: Add more checks.
1550 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
1552 1998-09-20 09:37 Ulrich Drepper <drepper@cygnus.com>
1554 * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
1555 * elf/elf.h: Add AT_FPUCW.
1556 * elf/Makefile (dl-routines): Add fpu_control.
1557 (elide-routines.os): Add fpu_control.
1558 (rtld-routines): Add fpu_control.
1559 * math/Makefile (aux): Remove fpu_control.
1560 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
1561 (_dl_show_auxv): Likewise.
1562 * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
1563 if different from OS default.
1565 * stdio-common/tstscanf.c: Add test case for (nil).
1567 1998-09-18 17:41 Ulrich Drepper <drepper@cygnus.com>
1569 * libio/fileops.c (_IO_new_file_underflow): Before allocating
1570 buffer make sure the pushback buffer is destroyed.
1571 (_IO_new_file_seekoff): Likewise.
1572 If mode==0 quit early with the result.
1573 Clear OEF flag after successful fseek.
1574 * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
1575 * libio/ftello.c (ftello): Add offset from original buffer if
1576 stream has pushed back characters.
1577 * libio/ftello64.c (ftello64): Likewise.
1578 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
1579 * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
1580 * libio/ioftell.c (_IO_ftell): Likewise.
1581 * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
1583 (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
1584 (_IO_default_pbackfail): Only stored push back character in original
1585 buffer if it is the same as the one in the file at this position.
1586 * libio/iofclose.c: Free backup buffer if one is available.
1587 * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
1590 * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
1592 * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
1594 * stdio-common/vfscanf.c: Fix reading (nil) for %p.
1596 1998-09-18 Mark Kettenis <kettenis@phys.uva.nl>
1598 * login/programs/pt_chown.c (more_help): Correct message that
1599 describes the purpose of the program.
1601 * login/openpty.c: Do not include pty-private.h.
1602 (pts_name): New function. Return name of slave pseudo terminal in
1603 an allocated buffer if necessary.
1604 (openpty): Use pts_name to get name of the slave end of the pseudo
1607 * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
1608 pts_name before return.
1610 1998-09-18 11:15 Ulrich Drepper <drepper@cygnus.com>
1612 * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
1614 1998-09-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1616 * login/openpty.c: Include pty-private.h instead of
1619 1998-09-09 Philip Blundell <pb@nexus.co.uk>
1621 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
1623 1998-09-07 Philip Blundell <pb@nexus.co.uk>
1625 * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
1626 recent ld.so changes.
1627 (elf_machine_runtime_setup): Correct behaviour when profiling.
1629 1998-09-17 19:34 Ulrich Drepper <drepper@cygnus.com>
1631 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
1632 Patch by John Tobey <jtobey@banta-im.com>.
1634 1998-09-17 Mark Kettenis <kettenis@phys.uva.nl>
1636 * login/pty-internal.h: Removed. Moved constants related to the
1637 `grantpt' helper program protocol to ...
1638 * login/pty-private.h: ... here. New file.
1639 * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
1640 to make the function work with kernels >= 2.1.115.
1641 * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
1642 version if using the cloning device fails.
1643 * sysdeps/unix/sysv/linux/grantpt.c: New file.
1644 * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
1645 * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
1646 use by Linux specific code.
1647 * sysdeps/unix/bsd/unlockpt.c: General cleanup.
1648 * sysdeps/unix/grantpt.c: Largely rewritten. (pts_name): New
1649 function. (grantpt): Use pts_name, check group and permission
1650 mode in addition to owner. Try to set the owner, group and
1651 permission mode first without invoking the helper program.
1652 * login/programs/pt_chown.c: Largely rewritten. Add argp and
1653 internationalization support. Use symbolic constants instead of
1654 hardwired numbers for permission mode.
1655 * sysdeps/unix/bsd/ptsname.c: New file.
1657 1998-09-17 22:04 Tim Waugh <tim@cyberelk.demon.co.uk>
1659 * posix/wordexp-test.c: Undo last change.
1661 * posix/wordexp.c: Undo last change.
1663 1998-09-16 Ulrich Drepper <drepper@cygnus.com>
1665 * nscd/grpcache.c (save_grp): Partly undo last change.
1667 * nscd/pwdcache.c (save_pwd): Undo last change.
1669 1998-09-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1671 * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
1672 function. Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
1674 1998-09-15 David S. Miller <davem@pierdol.cobaltmicro.com>
1676 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
1677 Add profiling support.
1678 (TRAMPOLINE_TEMPLATE): New macro.
1679 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
1680 (RTLD_START): Prettify, and set __libc_stack_end properly.
1681 (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
1682 and check for sym being NULL instead.
1683 * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
1685 * sysdeps/sparc/sparc64/lshift.S: Likewise.
1686 * sysdeps/sparc/sparc64/mul_1.S: Likewise.
1687 * sysdeps/sparc/sparc64/rshift.S: Likewise.
1688 * sysdeps/sparc/sparc64/submul_1.S: Likewise.
1689 * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
1690 MEDANY code model %g4 usage.
1691 * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
1692 MEDANY code model %g4 usage.
1693 * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
1694 code model address formation.
1695 * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
1696 include elf/ldsodefs.h
1698 (elf_machine_matches_host): It is now EM_SPARCV9.
1699 (elf_machine_dynamic): Clean up to remove ugly cast.
1700 (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
1702 (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
1703 Prettify rest of function.
1704 [R_SPARC_COPY]: Check for sym being NULL.
1705 [R_SPARC_32]: Handle it.
1706 [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
1708 [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
1710 [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
1711 (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
1712 Add profiling support.
1713 (TRAMPOLINE_TEMPLATE): New macro.
1714 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
1715 (RTLD_START): Prettify and set __libc_stack_end.
1716 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
1718 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
1719 (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
1720 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
1721 unused variable scratch.
1722 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1723 (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
1725 (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
1726 stub to rt_sigaction syscalls. Rewrite non-rt case to use correct
1727 old format kernel sigaction structures.
1728 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
1729 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
1730 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
1731 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
1733 (_JMPBUF_UNWINDS): Define.
1734 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
1735 statfs64 structure, which is exactly the same as the normal one.
1736 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
1737 of stack. Use correct syscall trap number. Add branch prediction
1738 settings to branch instructions. Remove old MEDANY code model %g4
1739 referneces for non-PIC.
1740 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
1741 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
1742 * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
1743 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
1744 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1745 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
1746 __libc_longjmp and __libc_siglongjmp strong aliases.
1747 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
1748 Also define to __no__readdir64_decl around readdir.c inclusion.
1749 (__readdir64): Add strong alias.
1750 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
1751 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
1752 Set strong and weak names properly.
1754 1998-09-16 11:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1756 * manual/Makefile (AWK): Default to gawk if standalone.
1758 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1760 * Makefile (distribute): Undo last change.
1761 * Make-dist (+tsrc) [not subdir]: Also include indirection headers
1763 (+subdir-headers): Removed, unused.
1765 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1767 * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
1770 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1772 * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
1773 absolute name in $(config-sysdirs), can never happen.
1774 ($(+sysdir_pfx)sysd-rules): Likewise.
1775 * Makeconfig (full-config-sysdirs): Likewise.
1776 (all-Subdirs-files): Prepend $(..).
1778 * configure.in: Don't check for absolute name in $add_ons_pfx, can
1779 not happen. Let --enable-add-ons=yes work if no add-ons actually
1782 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1784 * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
1785 continuations in command.
1787 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1789 * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
1791 1998-09-16 00:47 Tim Waugh <tim@cyberelk.demon.co.uk>
1793 * posix/wordexp-test.c: If expansion or substitution occurs
1794 anywhere in a word, the entire word is subject to field-splitting.
1796 * posix/wordexp.c (parse_glob): Look for end of word instead of
1797 end of field when deciding what to glob.
1798 (field_split_word): New function, now the only place where
1799 field-splitting is performed.
1800 (parse_dollars): New parameter - tell the caller if
1801 field-splitting should be performed on this word.
1803 * posix/wordexp-test.c (testit): Only call wordfree if wordexp
1804 succeeded (or failed with WRDE_NOSPACE).
1806 1998-09-15 19:53 1998 Tim Waugh <tim@cyberelk.demon.co.uk>
1808 * posix/wordexp.c (wordexp): Don't convert IFS characters to
1811 * posix/wordexp-test.c: Words not the result of expansion or
1812 substitution should remain unchanged.
1814 1998-09-15 Ulrich Drepper <drepper@cygnus.com>
1816 * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
1817 (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
1819 1998-09-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1821 * stdio-common/Makefile: Include Makeconfig so that
1822 $(inst_includedir) is defined.
1824 1998-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1826 * io/pwd.c: Include <mcheck.h>.
1828 1998-09-15 08:00 Ulrich Drepper <drepper@cygnus.com>
1830 * nscd/pwdcache.c (save_pwd): Correct copying.
1831 * nscd/grpcache.c (save_grp): Likewise.
1833 1998-09-14 23:36 Ulrich Drepper <drepper@cygnus.com>
1835 * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
1836 (free_pwd): Adjust for this change.
1837 * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
1838 (free_grp): Adjust for this change.
1840 1998-09-14 Ulrich Drepper <drepper@cygnus.com>
1842 * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
1844 1998-09-14 15:29 Ulrich Drepper <drepper@cygnus.com>
1846 * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
1847 (install-others): Add bits/stdio_lim.h.
1848 Add rule to install bits/stdio_lim.h.
1850 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
1852 * Makefile (distribute): Add include/sys/mman.h.
1854 * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
1855 * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
1856 * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
1858 * grp/initgroups.c: Include stdlib.h.
1859 Patch by Zack Weinberg.
1861 1998-09-14 22:46 Tim Waugh <tim@cyberelk.demon.co.uk>
1863 * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
1864 for field-splitting :abc: is correct, and that two fields should
1865 result. Revert tests to reflect this.
1867 * posix/wordexp.c (w_emptyword): Remove function.
1868 (exec_comm): Don't use w_emptyword.
1869 (parse_param): Likewise.
1871 1998-09-14 15:00 Ulrich Drepper <drepper@cygnus.com>
1873 * sysdeps/arm/fpu/Dist: Moved to...
1874 * sysdeps/arm/Dist: ...here.
1875 * sysdeps/posix/Dist: Removed.
1876 * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
1877 * sysdeps/unix/sysv/linux/i386/Dist: ...here.
1879 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
1881 * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
1883 1998-09-14 11:26 Ulrich Drepper <drepper@cygnus.com>
1885 * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
1887 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1889 * libc-work/nis/nss_nisplus/nisplus-service.c
1890 (_nss_nisplus_parse_servent): Convert port in network byte order.
1892 1998-09-14 07:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1894 * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
1895 to provide only malloc and calloc.
1896 * include/stdlib.h: Support the above.
1897 * string/bits/string2.h: Use __need_malloc_and_calloc when
1899 (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
1901 * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
1902 * iconvdata/iso646.c: Include <stdlib.h>.
1904 1998-09-14 07:51 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1906 * sunrpc/rpc_cout.c: Add braces around ambiguous else.
1907 * sysdeps/libm-ieee754/w_pow.c: Likewise.
1908 * sysdeps/libm-ieee754/w_powf.c: Likewise.
1909 * sysdeps/libm-ieee754/w_powl.c: Likewise.
1911 1998-09-14 07:57 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1913 * stdio-common/stdio_lim.h.in: New file. All parameters
1914 are adjustable at build time.
1915 * Rules: Add a rule to build bits/stdio_lim.h from
1916 stdio-common/stdio_lim.h.in. (It has to be in Rules so that
1917 all subdirectories know how to make the file. It can't be
1918 in Makerules because then it gets built at top level and the
1919 dependencies are wrong.)
1921 * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
1922 * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
1924 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
1925 * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
1926 * sysdeps/posix/Makefile: Removed.
1927 * sysdeps/posix/mk-stdiolim.c: Removed.
1928 * sysdeps/generic/bits/stdio_lim.h: Removed.
1930 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1932 * argp/argp-help.c: Fixup indentation.
1933 * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
1934 * resolv/nss_dns/dns-network.c: Likewise.
1935 * resolv/res_send.c: Likewise.
1936 * rt/aio_cancel.c: Likewise.
1937 * rt/aio_misc.c: Likewise.
1939 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1941 * Makefile (install-symbolic-link): Remove the link list file at last.
1942 * Makerules (install-clean-symbolic-link-list): Removed.
1944 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1946 * timezone/tst-timezone.c: Print time in UTC to get consistent
1949 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1951 * elf/rtld.c (_dl_rpath): Removed.
1952 * elf/dl-support.c (_dl_path): Removed.
1953 * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
1954 (CFLAGS-dl-support.c): Removed.
1956 * elf/dl-load.c (env_path_list): Renamed from fake_path_list. All
1958 (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
1959 instead of appending it to the main map's rpath info.
1960 (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
1961 DT_RPATHs. This makes it effective again.
1962 (decompose_rpath): Remove second parameter, callers changed.
1963 (fillin_rpath): Allocate enough space in curwd.
1964 (expand_dynamic_string_token): Cope with get_origin returning -1.
1966 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1968 * libc-work/nis/nss_compat/compat-pwd.c: Add support for
1971 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
1974 1998-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
1976 * locale/programs/locale.c: Update dates.
1978 1998-09-13 Mark Kettenis <kettenis@phys.uva.nl>
1980 * sysdeps/generic/bits/types.h: Include <features.h>. Make sure
1981 size_t is defined. Some reordering of definitions to make
1982 maintaining this file in parallel with the linux-specific file easier.
1984 1998-09-13 Ulrich Drepper <drepper@cygnus.com>
1986 * io/pwd.c (main): Add call to mtrace.
1988 * malloc/mtrace.pl: Quote @ in string.
1990 1998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk>
1992 * posix/wordexp.c (parse_arith): Fix memory leaks.
1993 (exec_comm): Likewise.
1994 (parse_param): Likewise.
1995 (wordexp): Likewise.
1996 (exec_comm): Reduce number of function return points.
1997 (parse_param): Likewise.
1998 (wordexp): Likewise.
2000 1998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk>
2002 * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
2003 yield three fields, not two. Test both parameter expansion and
2004 command substitution for correct field-splitting behaviour.
2006 * posix/wordexp.c (w_emptyword): New function.
2007 (parse_param): Use it.
2008 (exec_comm): Likewise, for consistency with the way parse_param
2010 (parse_param): Fix some memory leaks.
2012 1998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au>
2014 * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
2015 Don't mark asm `volatile'.
2016 (__elf_machine_runtime_setup): Clear the last partial block in the PLT
2017 from the data cache too. Assume it isn't in the instruction cache yet.
2018 (__elf_machine_fixup_plt): Clear the modified address from the caches.
2020 1998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
2022 * sysdeps/generic/segfault.c (install_handler): Install signal
2023 handler with SA_ONSTACK instead of setting the stack flags to
2024 SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
2027 1998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2029 * signal/signal.h: Fix multiple inclusion guard to cover the
2031 * wcsmbs/wchar.h: Remove prototype of internal function
2033 * sysdeps/i386/i486/bits/string.h (memchr): Don't do
2034 arithmetic on `void *'.
2036 1998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
2038 * posix/wordexp-test.c: Fix wrong tests. Add new tests.
2040 * posix/wordexp.c (wordexp): Perform word-splitting instead of
2041 field-splitting here.
2042 (wordexp): If out of memory mid-word, free the word (but still
2043 leave pwordexp alone for caller to see).
2044 (parse_param): Allow for zero-length fields (smarter checking of
2045 memory allocation failure).
2046 (w_addword): Convert NULL words to "".
2047 (wordexp): Convert left-over IFS characters to blanks (like bash).
2049 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
2051 * configure.in: Use test -f instead of test -e.
2052 Patch by John Tobey <jtobey@banta-im.com>.
2054 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
2055 * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
2056 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
2057 * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
2058 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
2059 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
2060 * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
2061 Patches by John Tobey <jtobey@banta-im.com>.
2063 * time/strftime.c (my_strftime): Delay use of *tp values until
2064 latest possible point to allow partly initialized structures
2065 (e.g., from strptime).
2067 * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
2069 Define *-routines variables for new modules.
2070 (distribute): Add .c files for new modules.
2071 (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
2073 Add rules for header generation.
2074 * iconvdata/gconv-modules: Add entries for new modules.
2075 * iconvdata/iso_10367-box.c: New file.
2076 * iconvdata/mac-is.c: New file.
2077 * iconvdata/nats-dano.c: New file.
2078 * iconvdata/nats-sefi.c: New file.
2080 1998-04-30 18:20 H.J. Lu <hjl@gnu.org>
2082 * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
2083 loader if PIC is not defined.
2085 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
2087 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
2088 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
2089 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
2091 Define *-routines variables for new modules.
2092 (distribute): Add .c files for new modules.
2093 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
2094 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
2095 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
2096 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
2097 Add rules for header generation.
2098 * iconvdata/gconv-modules: Add entries for new modules.
2099 * iconvdata/csn_369103.c: New file.
2100 * iconvdata/cwi.c: New file.
2101 * iconvdata/dec-mcs.c: New file.
2102 * iconvdata/ecma-cyrillic.c: New file.
2103 * iconvdata/gost_19768-74.c: New file.
2104 * iconvdata/greek-ccitt.c: New file.
2105 * iconvdata/greek7-old.c: New file.
2106 * iconvdata/greek7.c: New file.
2107 * iconvdata/inis-8.c: New file.
2108 * iconvdata/inis-cyrillic.c: New file.
2109 * iconvdata/inis.c: New file.
2110 * iconvdata/iso6937-2.c: New file.
2111 * iconvdata/iso_2033.c: New file.
2112 * iconvdata/iso_5427-ext.c: New file.
2113 * iconvdata/iso_5427.c: New file.
2114 * iconvdata/iso_5428.c: New file.
2116 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
2118 Convert U02dd correctly.
2120 1998-09-11 20:46 Richard Henderson <rth@cygnus.com>
2122 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
2123 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
2124 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
2125 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
2127 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
2129 * resolv/res_init.c (res_init): Handle resolv.conf file with only
2130 one nameserver correctly. Patch by HJ Lu.
2132 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
2134 Define *-routines variables for new modules.
2135 (distribute): Add .c files for new modules.
2136 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
2137 Add rules for hedaer generation.
2138 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
2139 * iconvdata/ansi_x3.110.c: New file.
2140 * iconvdata/asmo_449.c: New file.
2141 * iconvdata/baltic.c: New file.
2142 * iconvdata/iec_p27-1.c: New file.
2144 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
2146 Convert U02dc correctly.
2148 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
2149 * math/atest-exp2.c: Likewise.
2150 * math/atest-sincos.c: Likewise.
2152 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
2155 1998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2157 * string/strcoll.c: Optimize a few expressions.
2158 * string/strxfrm.c: Likewise.
2160 1998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2162 * manual/locale.texi: Fix typos.
2164 1998-09-10 Ulrich Drepper <drepper@cygnus.com>
2166 * stdlib/random_r.c (__setstate_r): Allow call with same state
2167 array as currently used (PR libc/774).
2169 * include/limits.h: Include gcc's header even if this file is
2170 found more than once before it (PR libc/778)
2172 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
2173 (sysdep_headers): Remove sys/debugreg.h.
2174 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
2175 (sysdep_headers): Add sys/debugreg.h.
2176 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
2177 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
2179 * stdio-common/tmpnam.c: Move local static variable buf to
2180 toplevel and rename to tmpnam_buffer to ease debugging.
2181 Patch by Joe Keane <jgk@jgk.org>.
2182 Optimize s == NULL case a bit.
2184 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
2187 1998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
2189 * resolv/res_init.c (res_init): Initialize _res.nscount and
2190 _res.nsaddr.sin_port differently for the can when no loopback
2191 is available to allow immediate timeout in non-networking environments.
2192 Patch by Cristian Gafton <gafton@redhat.com>.
2194 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2196 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
2197 BAR and not EM DASH.
2198 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
2199 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
2202 1998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
2204 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
2206 * timezone/tst-timezone.c (tests): Fix typo in last patch.
2208 * time/tzfile.c (__tzfile_read): Handle case when there are no
2209 transitions. Set __timezone based on computed offset.
2210 * time/tzset.c (tzset_internal): Set __timezone before returning.
2212 * time/tzset.c (tzset_internal): Optimize handling of local string
2215 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2217 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
2220 1998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
2222 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
2223 (csqrt_test): Likewise.
2224 * sysdeps/powerpc/bits/fenv.h: Add parens.
2226 1998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
2228 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
2229 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
2230 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
2232 1998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
2234 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
2235 the special `-1' pointer.
2237 1998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
2239 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
2242 1998-09-07 Paul Eggert <eggert@twinsun.com>
2244 * time/mktime.c (__EXTENSIONS__): Define if not defined.
2245 (_REENTRANT): Remove. It has undesirable consequences in
2246 Solaris 2.6 (e.g. it turns off the putc macro). Defining
2247 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
2249 * time/strftime.c: Likewise.
2251 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2253 * elf/dl-error.c: Fix spelling.
2255 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2257 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
2258 * stdio-common/_itoa.c: Likewise.
2259 * stdio-common/printf_fp.c: Likewise.
2260 * stdio-common/vfscanf.c: Likewise.
2261 * wcsmbs/wcstok.c: Likewise.
2262 * sysdeps/generic/glob.c: Likewise.
2263 * posix/getopt.c: Likewise.
2264 * sysdeps/posix/getaddrinfo.c: Likewise.
2265 * posix/wordexp.c: Likewise.
2266 * io/ftw.c: Likewise.
2267 * io/fts.c: Likewise.
2268 * misc/getpass.c: Likewise.
2269 * iconv/gconv_conf.c: Likewise.
2270 * argp/argp-fmtstream.c: Likewise.
2271 * argp/argp-help.c: Likewise.
2272 * elf/dl-load.c: Likewise.
2273 * locale/programs/stringtrans.c: Likewise.
2274 * catgets/gencat.c: Likewise.
2275 * posix/getconf.c: Likewise.
2276 * iconv/gconv_conf.c: Likewise.
2277 * iconv/iconv_prog.c: Likewise.
2279 * string/strcoll.c: Optimize a few expressions.
2280 * string/strxfrm.c: Likewise.
2282 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2284 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
2285 level to avoid uninit variable warning.
2287 1998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2289 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
2290 instead of _dl_default_scope[2] as argument to _dl_init_next.
2292 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
2295 1998-09-08 Ulrich Drepper <drepper@cygnus.com>
2297 Fix compatibility problems introduced in last change.
2298 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
2300 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
2301 -DWEAK_GMON_START to CFLAGS-initfini.s.
2303 * elf/dl-object.c (_dl_new_object): Store map address in
2304 _dl_loaded if _dl_loaded is NULL.
2305 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
2307 * sysdeps/generic/setrlimit64.c: Remove stub warning.
2309 1998-09-07 Ulrich Drepper <drepper@cygnus.com>
2311 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
2313 * db2/btree/bt_cursor.c: Likewise.
2314 * db2/common/db_region.db_c: Likewise.
2315 * db2/common/db_salloc.db_c: Likewise.
2316 * db2/db/db.c: Likewise.
2317 * db2/db/db_rec.c: Likewise.
2318 * db2/hash/hash.c: Likewise.
2319 * db2/hash/hash_page.c: Likewise.
2320 * db2/hash/hash_rec.c: Likewise.
2321 * db2/log/log_findckp.c: Likewise.
2322 * db2/log/log_get.c: Likewise.
2323 * db2/log/log_put.c: Likewise.
2324 * db2/mp/mp_fget.c: Likewise.
2325 * db2/mp/mp_fput.c: Likewise.
2326 * db2/mp/mp_region.c: Likewise.
2327 * stdlib/strtol.c: Likewise.
2328 * string/strcoll.c: Likewise.
2329 * string/strxfrm.c: Likewise.
2330 * argp/argp-help.c: Likewise.
2331 * argp/argp-parse.c: Likewise.
2332 * resolv/res_debug.c: Likewise.
2334 1998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
2336 * math/tgmath.h (scalb): Only define for __USE_MISC or
2337 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
2339 1998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2341 * libio/stdio.h: Fix comment.
2343 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
2346 1998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2348 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
2350 * elf/dl-open.c: Quiet -Wparentheses warnings.
2351 * iconvdata/johab.c: Likewise.
2352 * iconvdata/uhc.c: Likewise.
2353 * inet/inet_net.c: Likewise.
2354 * io/fts.c: Likewise.
2355 * locale/newlocale.c: Likewise.
2356 * misc/getttyent.c: Likewise.
2357 * misc/mntent_r.c: Likewise.
2358 * misc/ttyslot.c: Likewise.
2359 * nscd/nscd_conf.c: Likewise.
2360 * nss/nsswitch.c: Likewise.
2361 * resolv/gethnamaddr.c: Likewise.
2362 * resolv/nsap_addr.c: Likewise.
2363 * resolv/res_debug.c: Likewise.
2364 * stdio-common/_itoa.c: Likewise.
2365 * stdlib/strtod.c: Likewise.
2366 * string/strverscmp.c: Likewise.
2367 * sunrpc/svc.c: Likewise.
2368 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
2369 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
2370 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
2371 * sysdeps/posix/getaddrinfo.c: Likewise.
2373 1998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
2375 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
2376 for use of global scope.
2377 * elf/dlvsym.c (dlvsym_doit): Likewise.
2379 1998-09-02 Paul Eggert <eggert@twinsun.com>
2381 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
2382 copy the redundant bytes at the end of the format as-is; don't
2383 just copy their first byte and then rescan, as that might get
2384 us an encoding error.
2385 Account correctly for the length of multibyte sequences in the
2388 1998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
2390 * posix/wordexp-test.c: Add tests for different IFS values.
2391 Change unquoted-newline test so that newline is not in IFS.
2393 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
2394 determining IFS characters. Return WRDE_BADCHAR for unquoted
2395 special characters _except_ if they are separators.
2397 1998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
2399 * include/tgmath.h: New file.
2401 * libio/stdio.h: Correct reversed #ifs.
2402 Patch by Zack Weinberg.
2404 * manual/creature.texi: Better explain reason for feature select
2406 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
2408 1998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2410 * include/alloca.h: Add multiple-inclusion guard.
2411 * include/db.h: Likewise.
2412 * include/db_185.h: Likewise.
2413 * include/dlfcn.h: Likewise.
2414 * include/fcntl.h: Likewise.
2415 * include/grp.h: Likewise.
2416 * include/libintl.h: Likewise.
2417 * include/mntent.h: Likewise.
2418 * include/pwd.h: Likewise.
2419 * include/sched.h: Likewise.
2420 * include/search.h: Likewise.
2421 * include/setjmp.h: Likewise.
2422 * include/shadow.h: Likewise.
2423 * include/signal.h: Likewise.
2424 * include/stdio.h: Likewise.
2425 * include/stdlib.h: Likewise.
2426 * include/string.h: Likewise.
2427 * include/termios.h: Likewise.
2428 * include/time.h: Likewise.
2429 * include/ulimit.h: Likewise.
2430 * include/utmp.h: Likewise.
2431 * include/wchar.h: Likewise.
2432 * include/sys/file.h: Likewise.
2433 * include/sys/gmon.h: Likewise.
2434 * include/sys/ioctl.h: Likewise.
2435 * include/sys/mman.h: Likewise.
2436 * include/sys/resource.h: Likewise.
2437 * include/sys/select.h: Likewise.
2438 * include/sys/socket.h: Likewise.
2439 * include/sys/statfs.h: Likewise.
2440 * include/sys/time.h: Likewise.
2441 * include/sys/times.h: Likewise.
2442 * include/sys/wait.h: Likewise.
2444 1998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
2446 * version.h (VERSION): Bump to 2.0.96.
2448 Rewrite runtime linker to be truly thread-safe. There is now no
2449 global variable specifying the scope. We create all needed
2450 scopes at the time the link maps are created.
2451 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
2452 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
2453 l_symbolic_searchlist, l_scope, and l_local_scope elements in
2455 * elf/dl-close.c: Rewritten accordingly.
2456 * elf/dl-deps.c: Likewise.
2457 * elf/dl-error.c: Likewise.
2458 * elf/dl-init.c: Likewise.
2459 * elf/dl-load.c: Likewise.
2460 * elf/dl-lookup.c: Likewise.
2461 * elf/dl-object.c: Likewise.
2462 * elf/dl-open.c: Likewise.
2463 * elf/dl-reloc.c: Likewise.
2464 * elf/dl-runtime.c: Likewise.
2465 * elf/dl-support.c: Likewise.
2466 * elf/dl-symbol.c: Likewise.
2467 * elf/dl-version.c: Likewise.
2468 * elf/dlsym.c: Likewise.
2469 * elf/dlvsym.c: Likewise.
2470 * elf/ldsodefs.h: Likewise.
2471 * elf/rtld.c: Likewise.
2472 * iconv/gconv_dl.c: Likewise.
2473 * nss/nsswitch.c: Likewise.
2474 * sysdeps/i386/dl-machine.h: Likewise.
2475 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
2477 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
2478 Define RTLD_DEFAULT.
2480 1998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
2482 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
2483 __getopt_clean_environment with __environ instead of envp.
2485 1998-09-05 Roland McGrath <roland@baalperazim.frob.com>
2487 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
2489 * string/argz-extract.c (__argz_extract): Add de-consting cast for
2492 * string/argz.h (argz_next): Add de-consting cast for return.
2493 * string/argz-next.c (__argz_next): Likewise.
2495 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
2496 Don't add netinet/udp.h, netinet/ip_icmp.h here.
2497 * sysdeps/gnu/Makefile: Do it here instead.
2498 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
2499 * sysdeps/gnu/Dist: ... to here.
2501 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
2502 sysdeps/unix/sysv/linux/netinet/tcp.h,
2503 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
2505 1998-09-04 Roland McGrath <roland@baalperazim.frob.com>
2507 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
2508 * string/argz-next.c, string/argz-extract.c: Fix defns.
2510 1998-09-03 Roland McGrath <roland@baalperazim.frob.com>
2512 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
2514 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
2515 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
2516 * sysdeps/generic/sysd-stdio.c: Likewise.
2518 1998-09-02 Ulrich Drepper <drepper@cygnus.com>
2520 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
2521 (_dl_map_object_from_fd): Make NAME argument const.
2522 Remove last parameter in _dl_new_object call.
2523 (print_search_path): Correct construction of composed path name.
2524 (_dl_map_object): Prevent looking at RPATH of the main map twice.
2525 Remove last parameter in _dl_new_object call.
2526 * elf/dl-object.c: Remove last parameter. Determine whether create
2527 origin entry based on empty realname. Handle file in root directory
2529 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
2530 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
2531 Remove last parameter in _dl_new_object call.
2532 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
2533 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
2535 1998-09-01 Ulrich Drepper <drepper@cygnus.com>
2537 * elf/dl-close.c (_dl_close): Add more comments and correct some.
2538 Free l_searchlist and l_dupsearchlist.
2540 * debug/catchsegv.sh: Add one more pair of quotes.
2542 1998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
2544 * elf/dl-load.c (add_name_to_object): Change return type to void and
2545 make NAME parameter const. Allocate room for NAME in same memory
2546 block used for l_libname entry.
2547 (_dl_map_object_from_fd): Don't free NAME on failure.
2548 (map_segment): Pass SONAME to add_name_to_object, not a copy.
2549 (_dl_map_object): Don't create copy of NAME. Pass NAME to
2550 _dl_map_object_from_fd.
2551 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
2552 memory block used for l_libname entry.
2553 * elf/dl-close.c: Adjust free()ing for this change.
2555 1998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
2557 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
2559 * malloc/mtrace.c: Add bug report address. Update email address.
2560 Add more @XXX@ to print correct address size.
2562 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
2565 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
2566 for munmap call instead of examining phdr again.
2567 Free all malloc()ed strings and arrays.
2569 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
2571 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
2573 * sysdeps/powerpc/dl-machine.c: New file.
2574 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
2575 files. Revise ELF_PREFERRED_ADDRESS to take account of
2576 the new mapping information (fixes bug involving huge bloated
2577 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
2578 * sysdeps/powerpc/dl-start.S: New file.
2580 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
2582 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
2583 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
2584 others. Call elf_dynamic_do_##reloc only once (to save even more
2586 * elf/link.h: Add new members l_map_start and l_map_end to keep
2587 track of the memory map.
2588 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
2591 1998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
2593 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
2594 Reported by Andreas Jaeger.
2596 * posix/glob.h: Use __size_t instead of size_t in definitions and
2597 make sure this is defined.
2599 1998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
2601 * manual/locale.texi: Almost complete rewrite. Document more functions
2603 * manual/arith.texi: Correct reference.
2604 * manual/string.texi: Pretty printing.
2606 * manual/texinfo.tex: Update from last available version.
2608 1998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
2610 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
2612 (_nss_nis_getpwuid_r): Likewise.
2613 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
2615 * inet/rcmd.c: Implement netgroup support.
2616 Patch by Dick Streefland <dick_streefland@tasking.com>.
2618 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
2620 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
2621 object on the list is removed. Don't use this code for PIC.
2622 Reported by HJ Lu [PR libc/770].
2624 1998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
2626 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
2628 * include/stdio.h: Add __vsscanf.
2630 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
2632 Remove __vsscanf declaration.
2633 Always declare fgetpos and fsetpos.
2635 * math/math.h: Define isinf as macro.
2636 * math/bits/mathcalls.h: Change to declare __isinf all the time.
2637 Don't declare scalb for ISO C 9x.
2639 * math/tgmath.h: Define fma. Rewrite the underlying macros.
2641 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
2643 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
2646 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
2649 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2651 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
2652 Reported by jreising@frequentis.com [PR libc/767].
2654 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2656 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
2657 fl.l_start at beginning of function.
2658 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
2660 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
2662 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
2663 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
2665 * nscd/nscd.init: Make it work in RedHat systems.
2666 Patch by Christian Gafton.
2668 1998-08-29 Philip Blundell <philb@gnu.org>
2670 * catgets/Makefile: Don't try to run test programs when
2673 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
2675 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
2676 Reported by Zack Weinberg.
2678 1998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2680 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
2681 * elf/Makefile (distribute): Remove ldd.sh.in.
2683 1998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2685 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
2688 1998-08-29 Ulrich Drepper <drepper@cygnus.com>
2690 * sysdeps/i386/register-dump.h: Move to ...
2691 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
2693 1998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
2695 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
2696 with load address, not map address.
2697 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
2698 parameter and use this value.
2699 * sysdeps/arm/dl-machine.h: Likewise.
2700 * sysdeps/i386/dl-machine.h: Likewise.
2701 * sysdeps/m68k/dl-machine.h: Likewise.
2702 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
2704 * sysdeps/powerpc/dl-machine.h: Likewise
2705 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
2706 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
2708 1998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
2710 * elf/rtld.c (process_envvars): Fix copy&paste error.
2712 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
2714 (realloc_hook_ini): Don't overwrite memalign hook.
2715 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
2716 Reported by Philippe Troin <phil@fifi.org>.
2718 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
2719 Patch by Philippe Troin <phil@fifi.org>.
2721 1998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2723 * sysdeps/generic/segfault.c (install_handler): Protect the
2724 non-POSIX signals with #ifdef.
2725 (catch_segfault): Add missing mode parameter for open.
2726 * debug/catchsegv.sh: Avoid termination message from shell. Allow
2727 other termination signals.
2729 1998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2731 * debug/Makefile (distribute): Add register-dump.h.
2733 1998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2735 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
2737 1998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
2739 * elf/Makefile (distribute): Add dl-origin.h.
2740 * sysdeps/generic/dl-origin.h: New file.
2741 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
2742 * elf/link.h (struct link_map): Add l_origin field.
2743 * elf/dl-load.c (expand_dynamic_string_token): New function.
2744 (decompose_path): Remove WHERE argument, take link map pointer instead.
2745 Call expand_dynamic_string_token instead of local_strdup to make copy
2747 (_dl_init_paths): Call decompose_path with correct argument.
2748 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
2750 Check EI_OSABI and EI_ABIVERSION fields in header.
2751 Call _dl_new_object with extra argument.
2752 (_dl_map_object): Call decompose_path with correct argument.
2753 Call expand_dynamic_string_token instead of local_strdup to also
2755 Call _dl_new_object with extra argument.
2756 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
2757 but the main one if new argument is nonzero.
2758 * elf/ldsodefs.h: Adjust for _dl_new_object change.
2759 * elf/dl-support.c: Define _dl_origin_path.
2760 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
2761 (dl_main): Call _dl_new_object with extra argument.
2763 * elf/dl-close (_dl_close): Free l_name and l_origin.
2765 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
2766 modifier in asm, not c.
2768 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
2769 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
2771 1998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
2773 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
2774 variable so that map can be freed.
2775 Reported by Philippe Troin <phil@fifi.org>.
2777 * elf/dl-open.c (dl_open_worker): Correct test for extending global
2779 Patch by Philippe Troin <phil@fifi.org>.
2781 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
2783 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
2784 Don't call writev() with a 100-element vector.
2785 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
2788 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
2789 In particular, set __libc_stack_end.
2790 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
2791 undefined. Fix copyright notice.
2793 1998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2795 * math/Makefile (gmp-objs): New variable.
2796 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
2798 (tests): Add atest-exp atest-sincos atest-exp2.
2799 (tests-static): Remove atest-exp atest-sincos atest-exp2.
2801 1998-08-25 Ulrich Drepper <drepper@cygnus.com>
2803 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
2805 (_dl_unload_cache): New function.
2806 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
2807 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
2808 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
2810 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
2811 Correct comment for O_LARGEFILE.
2812 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
2813 Change O_LARGEFILE to correct value.
2815 1998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
2817 * libio/iogetline.c (_IO_getline_info): Don't read anything for
2818 N == 0. Patch by HJ Lu.
2820 1998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
2822 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
2824 1998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
2826 * argp/argp.h: Use __inline__ not inline.
2828 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
2829 an input register as being clobbered.
2830 * sysdeps/i386/memset.c (memset): Likewise.
2831 * sysdeps/i386/bzero.c (__bzero): Likewise.
2832 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
2834 1998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2836 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
2837 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
2839 1998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
2841 * debug/catchsegv.sh: Handle text preceding backtrace better.
2842 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
2843 to be installed for other signals than SIGSEGV.
2844 * sysdeps/generic/register-dump.h: New file.
2845 * sysdeps/i386/register-dump.h: New file.
2846 * sysdeps/powerpc/register-dump.h: New file.
2848 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
2850 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
2852 1998-08-24 Geoff Keating <geoffk@ozemail.com.au>
2854 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
2856 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
2858 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
2859 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
2860 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
2861 getresuid, getresgid.
2863 1998-08-16 Geoff Keating <geoffk@ozemail.com.au>
2865 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
2866 pointer in userland.
2868 1998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2870 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
2873 1998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2875 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
2876 over arguments Bourne shell compatible. Don't exit unsuccessfully
2877 if nonelf returns successfully. Avoid duplicating most of the
2879 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
2882 1998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2884 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
2886 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
2887 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
2889 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
2891 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
2892 __modify_ldt and modify_ldt.
2893 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
2895 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2896 Use orl $-1 instead of movl $-1 to save two bytes.
2897 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
2900 1998-08-17 H.J. Lu <hjl@gnu.org>
2902 * libio/Versions (_IO_do_write, _IO_file_attach,
2903 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2904 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2905 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2906 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
2908 * libio/fileops.c (_IO_do_write, _IO_file_attach,
2909 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2910 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2911 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2912 _IO_file_write, _IO_file_xsputn): Change the prefix to
2913 "_IO_new_". Added to GLIBC_2.1.
2915 * libio/libioP.h (_IO_do_write, _IO_file_attach,
2916 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2917 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2918 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2919 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
2922 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
2923 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2924 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2925 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2926 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
2928 1998-08-23 Richard Henderson <rth@cygnus.com>
2930 * Makeconfig (LDFLAGS): Remove.
2932 * csu/initfini.c: Return to .text before __gmon_start__.
2934 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
2935 (STO_MIPS_*): Rename from STO_*.
2936 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
2937 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
2939 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
2940 (main): e3s is negative on zero.
2941 * math/atest-exp2.c: Likewise.
2942 * math/atest-sincos.c: Likewise.
2944 1998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2946 * Makerules (install): Add comment about absolute paths.
2948 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
2950 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
2951 array to NUL to handle maxlen==1 case correctly.
2954 1998-08-23 Richard Henderson <rth@cygnus.com>
2956 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
2957 * sysdeps/alpha/elf/crtend.S: Likewise.
2958 * sysdeps/alpha/elf/start.S: Likewise.
2960 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
2961 non-standard pv usage.
2963 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
2964 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
2965 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
2966 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
2967 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
2968 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
2969 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
2970 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
2971 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
2972 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
2973 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
2975 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
2976 a finite non-denormal, deferring to the full IEEE version otherwise.
2978 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
2979 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
2980 * sysdeps/alpha/fpu/s_floor.c: New.
2981 * sysdeps/alpha/fpu/s_floorf.c: New.
2982 * sysdeps/alpha/fpu/s_ceil.c: New.
2983 * sysdeps/alpha/fpu/s_ceilf.c: New.
2985 1998-08-22 Philip Blundell <philb@gnu.org>
2987 * sysdeps/arm/bits/string.h: New file.
2989 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2991 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
2994 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
2995 test for recent Linux 2.1.100+ headers.
2997 1998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2999 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
3001 1998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
3003 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
3005 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3007 * Makefile (elf/ldso_install): Put back. The problem still persists.
3008 * elf/Makefile (ldso_install): Likewise.
3010 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3012 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
3014 * include/db.h: Declare __nss_db_open.
3015 * db2/Versions: Export it.
3017 * db2/makedb.c: Convert to use db2 API.
3018 * nss/nss_db/db-XXX.c: Likewise.
3019 * nss/nss_db/db-netgrp.c: Likewise.
3020 * nss/nss_db/db-alias.c: Likewise.
3021 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
3023 1998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3025 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3026 sys_setresuid, already built automatically (or not).
3027 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
3028 instead of __syscall_setresuid and add back setresuid.
3029 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
3030 __syscall_setresuid.
3032 1998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3034 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
3036 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
3038 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
3039 BASH-ONLY marked region.
3040 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
3042 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
3044 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
3047 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
3049 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
3052 1998-08-21 Roland McGrath <roland@baalperazim.frob.com>
3054 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
3055 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
3056 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
3057 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
3058 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
3059 those magic comments, and to use /bin/sh for @BASH@.
3060 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
3061 * elf/ldd.sh.in: File removed.
3063 1998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
3065 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
3066 cast them to unsigned long int.
3067 * pwd/putpwent.c (putpwent): Likewise.
3068 Patch by John Tobey <jtobey@banta-im.com>.
3070 1998-08-20 17:14 H.J. Lu <hjl@gnu.org>
3072 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
3075 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
3077 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
3080 1998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
3082 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
3083 Add umount and umount2.
3084 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
3085 * sysdeps/unix/sysv/linux/umount.S: New file.
3086 * sysdeps/unix/sysv/linux/umount2.S: New file.
3087 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
3090 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
3092 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
3093 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
3095 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
3097 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
3100 1998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
3102 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
3103 * elf/ldd.bash.in: Likewise.
3105 * elf/sln.c: Avoid warning for no main prototype.
3107 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
3109 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
3110 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3112 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
3114 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
3115 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
3116 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3118 1998-08-20 Philip Blundell <pb@nexus.co.uk>
3120 * sysdeps/arm/fpu/ieee754.h: Move to...
3121 * sysdeps/arm/ieee754.h: ... here.
3123 * sysdeps/arm/__longjmp.S: Put return value in correct register.
3124 Don't set the condition flags unnecessarily.
3125 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
3126 registers correctly.
3128 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
3129 (patch from Scott Bambrough).
3131 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
3133 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
3134 NULL, just call it unconditionally.
3135 (__gmon_start__): Provide stub version as a weak symbol.
3137 1998-07-30 Philip Blundell <philb@gnu.org>
3139 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
3142 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
3143 like `@' in .type directives.
3145 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
3146 * sysdeps/arm/bsd-_setjmp.S: Likewise.
3148 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
3150 1998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3152 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
3153 (F_GETOWN): Likewise.
3155 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
3158 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
3160 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
3163 1998-08-18 Ulrich Drepper <drepper@cygnus.com>
3165 * include/features.h: Define __USE_EXTERN_INLINES for recent
3167 * argp/argp.h: Define extern inline functions only if
3168 __USE_EXTERN_INLINES is defined.
3169 * libio/stdio.h: Likewise.
3170 * math/math.h: Likewise.
3171 * stdlib/stdlib.h: Likewise.
3172 * string/argz.h: Likewise.
3173 * sysdeps/generic/bits/sigset.h: Likewise.
3174 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
3175 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
3176 * sysdeps/wordsize-32/inttypes.h: Likewise.
3177 * sysdeps/wordsize-64/inttypes.h: Likewise.
3178 * wcsmbs/wchar.h: Likewise.
3180 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
3181 to allow compilation without optimization.
3183 1998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3185 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
3187 * nis/nss_compat/compat-initgroups.c: Likewise.
3188 * nis/nss_compat/compat-pwd.c: Likewise.
3189 * nis/nss_compat/compat-spwd.c: Likewise.
3190 * nis/nss_nis/nis-alias.c: Likewise.
3191 * nis/nss_nis/nis-ethers.c: Likewise.
3192 * nis/nss_nis/nis-grp.c: Likewise.
3193 * nis/nss_nis/nis-hosts.c: Likewise.
3194 * nis/nss_nis/nis-initgroups.c: Likewise.
3195 * nis/nss_nis/nis-network.c: Likewise.
3196 * nis/nss_nis/nis-proto.c: Likewise.
3197 * nis/nss_nis/nis-pwd.c: Likewise.
3198 * nis/nss_nis/nis-rpc.c: Likewise.
3199 * nis/nss_nis/nis-service.c: Likewise.
3200 * nis/nss_nis/nis-spwd.c: Likewise.
3202 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
3204 * nis/ypclnt.c: Try binding dir only first time, could be to old.
3206 * nis/yp_xdr.c: Remove 1024 byte limit.
3207 * nis/ypupdate_xdr.c: Likewise.
3209 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
3212 1998-08-18 Roland McGrath <roland@baalperazim.frob.com>
3214 * Rules (binaries-static, binaries-shared static pattern rules):
3215 Depend on lib%, not just libc%, from $(link-libc{,-static}).
3217 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
3218 this here, overriding Makeconfig generic value so we link against
3221 1998-08-17 Ulrich Drepper <drepper@cygnus.com>
3223 * posix/tstgetopt.c (options): Add NULL entry at end
3224 Patch by Adrian Miranda <ade@psg.com>.
3226 1998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
3228 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
3231 1998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
3233 * elf/elf.h: Add PPC Diab relocations.
3235 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
3237 1998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
3239 * manual/texinfo.tex: Update.
3241 1998-08-07 Geoff Keating <geoffk@ozemail.com.au>
3243 * sysdeps/powerpc/backtrace.c: New file.
3245 1998-08-14 Philip Blundell <pb@nexus.co.uk>
3247 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
3249 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
3251 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3253 * Makefile (install-symbolic-link): Fix spelling.
3255 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3257 * elf/elf.h (SHT_HIOS): Fix value.
3259 1998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3261 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
3262 part of the expansion, this is undefined by the standard.
3264 1998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
3266 * posix/getconf.c: Add support for systems with incomplete confname.h.
3268 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
3270 * sysdeps/posix/wait3.c: Make it work.
3272 1998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3274 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
3275 (elf/ldso_install): Remove.
3277 * elf/Makefile (distribute): Add sln.c.
3279 (others-static): Add sln.
3280 (install-rootsbin): Add sln.
3281 (others-static): Add sln.
3282 (ldso_install): Remove.
3284 1998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3286 * Makerules (install-clean-symbolic-link-list): Make phony.
3287 * Makefile (install-symbolic-link): Make phony. Depend on
3288 subdir_install for parallel makes.
3291 1998-07-22 Ulrich Drepper <drepper@cygnus.com>
3293 * elf/Makefile (distribute): Add sln.c
3295 1998-07-21 07:10 H.J. Lu <hjl@gnu.org>
3297 * elf/sln.c: New file.
3299 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
3300 (install-clean-symbolic-link-list): New target.
3301 (install): Depend on install-clean-symbolic-link-list.
3302 (make-shlib-link): Changed for $(symbolic-link-list).
3304 * Makefile (install-symbolic-link): New target.
3305 (install): Depend on install-symbolic-link.
3307 1998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
3309 * include/unistd.h: Protect against multiple inclusion.
3311 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
3312 is defined, not is glob is defined.
3313 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
3315 1998-08-01 17:18 H.J. Lu <hjl@gnu.org>
3317 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
3318 xdr_string for ut_line, ut_name and ut_host.
3320 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3322 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
3323 /var/mail in accordance with FHS 2.0.
3324 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
3326 1998-08-12 Richard Henderson <rth@cygnus.com>
3328 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
3329 Update aliases for cancelation.
3331 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
3332 playing with symbol versions.
3334 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
3336 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
3337 multiple inclusion protection.
3338 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
3339 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
3340 define all these to 1.
3341 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
3343 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
3345 * sysdeps/mach/usleep.c: Include <unistd.h>.
3346 (usleep): Return void.
3348 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
3350 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
3351 decl to inhibit warning in if_freenameindex defn.
3353 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
3355 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
3357 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
3358 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
3359 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
3360 * sysdeps/mach/usleep.c: Likewise.
3362 * sysdeps/mach/hurd/bind.c (bind): Add a const.
3364 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
3365 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
3366 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
3367 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
3368 * sysdeps/mach/usleep.c (usleep): Likewise.
3369 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
3370 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
3371 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
3372 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
3374 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
3376 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
3379 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
3380 %p arg to fprintf, since `void *' is the right type already.
3382 1998-07-25 19:47 Jose M. Moya <josem@gnu.org>
3384 * sysdeps/mach/hurd/getcwd.c
3385 (_hurd_canonicalize_directory_name_internal): Do not loop forever
3386 for unknown root directories.
3387 (__getcwd): Return NULL when the current root directory could not
3390 1998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
3392 * string/strsignal.c (strsignal): Count real-time signals from zero.
3395 See ChangeLog.8 for earlier changes.