1 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
3 * stdio-common/vfprintf.c (vfprintf): Fix the remaining premature
4 returns without cleaning up the lock.
5 (printf_unknown): Add label all_done.
7 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Keep Linux 2.0
8 kernels in mind when reading /proc/self/fd/FD.
9 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11 * nscd/nscd.c (doc): It's "Name Service" not "Name Switch".
13 * malloc/mtrace.c (tr_where): Replace snprintf call by mempcpy and
16 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Try reading
17 /prof/self/fd/FD first.
18 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
20 * stdio-common/_itoa.h (_fitoa_word): New inline function. Write
21 formatted number starting at given position and return pointer to
23 (_fitoa): Likewise, for long long.
25 1998-10-29 Roland McGrath <roland@baalperazim.frob.com>
27 * sysdeps/unix/sysv/linux/bits/sem.h,
28 sysdeps/unix/sysv/linux/bits/ipc.h,
29 sysdeps/unix/sysv/linux/bits/shm.h,
30 sysdeps/unix/sysv/linux/bits/msq.h: Moved to ...
31 * sysdeps/gnu/bits/sem.h, sysdeps/gnu/bits/ipc.h,
32 sysdeps/gnu/bits/shm.h, sysdeps/gnu/bits/msq.h: ... here,
33 so the same bits will be used for the Hurd.
35 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
37 * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Allow
38 compiling on systems without rt_sigaction syscall.
40 1998-10-12 Philip Blundell <pb@nexus.co.uk>
42 * Makeconfig (sysdep-subdirs): Allow Subdirs files to remove
43 directories as well as add them.
45 1998-10-28 Philip Blundell <pb@nexus.co.uk>
47 * sysdeps/unix/sysv/linux/neteconet/ec.h: New file. Support for
48 AF_ECONET sockets as found in recent Linux 2.1 kernels.
49 * sysdeps/unix/sysv/linux/Dist: Distribute it.
50 * sysdeps/unix/sysv/linux/Makefile: Install it.
52 1998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
54 * string/bits/string2.h: __USE_GNU already implies __USE_MISC.
56 1998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
58 * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
60 * sysdeps/unix/sysv/linux/alpha/bits/types.h (__FDS_BITS): Likewise.
61 * sysdeps/unix/sysv/linux/bits/types.h (__FDS_BITS): Likewise.
62 * sysdeps/unix/sysv/linux/mips/bits/types.h (__FDS_BITS): Likewise.
63 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__FDS_BITS):
65 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h (__FDS_BITS):
67 * sysdeps/generic/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
69 * sysdeps/i386/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
70 __FD_ISSET): Likewise.
72 1998-10-28 Geoff Keating <geoffk@ozemail.com.au>
74 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Tidy up, correct
77 * sysdeps/unix/sysv/linux/powerpc/pread.c: Do not use the i386 version.
78 Instead call the system call wrapper function using an 64bit argument.
79 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
80 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
81 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
83 1998-10-27 Ulrich Drepper <drepper@cygnus.com>
85 * signal/signal.h: Don't include <time.h> for timespec, add
88 * sysdeps/i386/bits/select.h [!__USE_XOPEN]: Add special version
89 of __FD_* macros which use __fds_bits.
90 * sysdeps/generic/bits/select.h: Likewise.
91 Reported by Matt McLean <keys@yikes.com>.
93 1998-10-27 Philip Blundell <pb@nexus.co.uk>
95 * elf/elf.h: Update ARM definitions.
97 1998-10-27 Ulrich Drepper <drepper@cygnus.com>
99 * signal/signal.h: Include bits/sigthread.h only for Unix98.
101 1998-10-26 Ulrich Drepper <drepper@cygnus.com>
103 * include/libc-symbols.h: If HAVE_BUILTIN_EXPECT is not defined
104 define __builtin_expect as a macro substituting to the first
106 * config.h.in: Define HAVE_BUILTIN_EXPECT.
107 * configure.in: Add test for __builtin_expect.
109 * sysdeps/unix/sysv/linux/bits/types.h: Include
110 bits/pthreadtypes.h only not for POSIX 199506.
111 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
112 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
113 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
115 1998-10-26 Mark Kettenis <kettenis@phys.uva.nl>
117 * sysdeps/unix/sysv/linux/Versions: Move shutdown ...
118 * socket/Versions [libc, GLIBC_2.0]: ... to here.
120 1998-10-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
122 * include/stdio.h: Included <stddef.h> for size_t.
124 * stdio/stdio.h: Move __path_search, __gen_tempname, __libc_fatal
126 * include/stdio.h: ...here.
127 * libio/stdio.h: Removed __path_search, __gen_tempname, __libc_fatal.
129 1998-10-26 11:09 Ulrich Drepper <drepper@cygnus.com>
131 * time/Makefile (tests): Add tst-posixtz.
132 * time/tst-posixtz.c: New file.
134 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
136 * elf/rtld.c (process_envvars): Accept any non-null value of
137 LD_BIND_NOW, as mandated by the ABI.
139 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
141 * sysdeps/unix/sysv/linux/pread.c: Rename __syscall_pread64 to
143 * sysdeps/unix/sysv/linux/pwrite.c: Rename __syscall_pwrite64 to
145 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
146 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
147 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
148 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
149 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise. Remove
151 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
152 s_pread64 and s_pwrite64.
153 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
155 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
157 * sysdeps/unix/sysv/linux/llseek.c: Use INLINE_SYSCALL.
158 * sysdeps/unix/sysv/linux/arm/syscalls.list: Rename __sys_llseek
159 to __syscall__llseek.
160 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
161 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
162 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove entry for
165 1998-10-26 Cristian Gafton <gafton@redhat.com>
167 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add s_setfsgid
170 1998-10-26 Ulrich Drepper <drepper@cygnus.com>
172 * time/tzset.c (tz_compute): Correct last patch and describe this
175 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
177 * sysdeps/unix/sysv/linux/m68k/Makefile [subdir=signal]: Remove
178 rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo,
179 rt_sigaction and rt_sigpending.
180 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove all entries
181 for __syscall_* functions.
182 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Implement INLINE_SYSCALL.
184 1998-10-26 Roland McGrath <roland@baalperazim.frob.com>
186 * hurd/Versions: Add _hurd_dtable, _hurd_dtablesize,
187 _hurd_dtable_lock, _hurd_intern_fd.
189 * sysdeps/mach/hurd/Versions: Add cthread_keycreate,
190 cthread_getspecific, cthread_setspecific, __libc_getspecific.
192 * mach/Versions: Fix typo in last change.
194 1998-10-25 Ulrich Drepper <drepper@cygnus.com>
196 * time/tzset.c (tz_compute): If time to switch to DST is later in
197 the year switch back in the next year.
198 Reported by jwitford@hutch.com.au.
200 1998-10-24 Mark Kettenis <kettenis@phys.uva.nl>
202 * mach/Versions: Add evc_wait, mach_error, mach_error_string,
203 mach_error_type, mach_msg_destroy, mig_deallocate_reply_port.
204 Remove __mach_host_self, __mach_reply_port, __mach_setup_thread,
205 __mach_port_allocate, __mach_port_allocate_name,
206 __mach_port_insert_right __mutex_trylock, __mutex_lock,
207 __mutex_unlock, __swtch, __switch, __task_create, __task_suspend,
208 __task_set_special_port, __task_terminate, __thread_depress_abort,
209 __thread_switch, __vm_allocate, __vm_deallocate, __vm_map. These
210 functions are not used outside libc.
212 * sysdeps/mach/hurd/Versions: New file.
213 [libc, GLIBC_2.0]: Add _cthread_exit_routine and
214 _cthread_init_routine. These are set by the Hurd cthreads library.
215 Add __getcwd, __mmap. If we don't add these, the weak definitions in
216 the dynamic linker will not be replaced by the corresponding shared
217 library routines once they are loaded.
219 1998-10-21 Mark Kettenis <kettenis@phys.uva.nl>
221 * sysdeps/mach/hurd/i386/init-first.c: Only define
222 __libc_enable_secure if PIC is not defined.
224 1998-10-25 Roland McGrath <roland@baalperazim.frob.com>
226 * argp/Versions: Add _argp_unlock_xxx. Lock-savvy functions call this
227 to recurse into argp.
229 1998-10-25 Ulrich Drepper <drepper@cygnus.com>
231 * include/features.h: Define __USE_POSIS199506 is _POSIX_C_SOURCE is
232 greater or equal than 199506L.
234 * sysdeps/generic/bits/types.h (__fd_set): Define element as fds_bits
235 only is __USE_XOPEN. Otherwise use __fds_bits.
236 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
237 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
238 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
239 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
240 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
242 1998-10-24 H.J. Lu <hjl@gnu.org>
244 * locale/programs/charmap.c (parse_charmap): Accept tok_string
247 1998-10-25 H.J. Lu <hjl@gnu.org>
249 * locale/programs/ld-ctype.c (ctype_finish): Also check
252 1998-10-25 Ulrich Drepper <drepper@cygnus.com>
254 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX199506.
256 * sysdeps/unix/sysv/linux/bits/types.h: Include pthreadtypes.h only
257 if __USE_POSIX199506 or __USE_UNIX98.
259 1998-10-24 22:34 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
261 * string/bits/string2.h: Inline strdup+friends only if
262 __USE_MISC || __USE_GNU (prevents namespace pollution).
264 1998-10-24 H.J. Lu <hjl@gnu.org>
266 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (LOCK_SH,
267 LOCK_EX, LOCK_NB, LOCK_UN): Protect with __USE_BSD.
268 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (LOCK_SH, LOCK_EX,
269 LOCK_NB, LOCK_UN): Likewise.
270 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (LOCK_SH, LOCK_EX,
271 LOCK_NB, LOCK_UN): Likewise.
272 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (LOCK_SH, LOCK_EX,
273 LOCK_NB, LOCK_UN): Likewise.
274 * sysdeps/unix/sysv/linux/bits/fcntl.h (LOCK_SH, LOCK_EX,
275 LOCK_NB, LOCK_UN): Likewise.
277 1998-10-24 H.J. Lu <hjl@gnu.org>
279 * libio/ioseekoff.c (_IO_seekoff): Check the valid dir value.
281 * libio/rewind.c (rewind): Clear the error.
283 1998-10-24 H.J. Lu <hjl@gnu.org>
285 * grp/grp.h (getgrent_r, getgrgid_r, getgrnam_r): Add "__" to
288 1998-10-24 H.J. Lu <hjl@gnu.org>
290 * sysdeps/unix/sysv/linux/alpha/bits/time.h (timeval): Protect
292 * sysdeps/unix/sysv/linux/mips/bits/time.h (timeval): Likewise.
293 * sysdeps/unix/sysv/linux/bits/time.h (timeval): Likewise.
295 1998-10-24 H.J. Lu <hjl@gnu.org>
297 * signal/signal.h (timespec, siginfo_t, sigwaitinfo, sigtimedwait,
298 sigqueue): Protect with __USE_POSIX199309.
300 1998-10-24 H.J. Lu <hjl@gnu.org>
302 * time/time.h (timespec): Protect with __USE_POSIX199309 instead of
305 1998-10-24 H.J. Lu <hjl@gnu.org>
307 * libio/fileops.c (_IO_new_file_seekoff): Always resync with
308 the kernel file offset.
309 * libio/oldfileops.c (_IO_old_file_seekoff): Likewise.
311 1998-10-24 H.J. Lu <hjl@gnu.org>
313 * time/tzfile.c (__tzfile_default): Set num_types to 2.
315 1998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
317 * rt/aio.h: Move __aio_init to...
318 * include/aio.h: ...here.
320 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
322 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove duplicate
323 definition of O_LARGEFILE.
325 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
327 * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Use path
328 as first argument to statfs.
330 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
332 * sysdeps/generic/setenv.c (setenv): Add braces around ambiguous else.
334 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
336 * malloc/mtrace.c: Include <string.h> for strlen.
338 1998-10-24 Roland McGrath <roland@baalperazim.frob.com>
340 * sysdeps/mach/hurd/bits/environments.h: New file.
342 * sysdeps/mach/hurd/dl-sysdep.c (__getcwd): New weak function.
344 * mach/Versions, hurd/Versions: Add numerous symbols.
345 Remove libmachuser and libhurduser sections, punt
346 versioning for those libraries for now.
348 * misc/Versions: Add reboot here; it exists on all platforms.
349 * sysdeps/unix/sysv/linux/Versions: Remove reboot here.
351 1998-10-23 Ulrich Drepper <drepper@cygnus.com>
353 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOFOLLOW): New
355 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
356 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
357 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_LARGEFILE,
358 O_NOFOLLOW, O_DIRECT): New macros.
359 (O_DIRECTORY): Correct definition according to official 2.1.126.
360 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECTORY,
361 O_NOFOLLOW): New macros.
363 1998-10-24 Roland McGrath <roland@baalperazim.frob.com>
365 * include/ldsodefs.h: Test HAVE_ELF instead of __ELF__.
367 * sysdeps/mach/hurd/opendir.c (__opendir): Return ENOENT for "".
368 (__opendir): Add trailing slash to name for open, for ENOTDIR check.
370 1998-10-23 Ulrich Drepper <drepper@cygnus.com>
372 * sysdeps/unix/sysv/linux/i386/Dist: Add setresuid.c, setresgid.c,
373 setfsuid.c, and setfsgid.c.
374 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
375 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
376 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
378 * version.h (VERSION): Bump to 2.0.99.
380 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove duplicate
383 * sysdeps/unix/sysv/linux/i386/Dist: Remove s_pread64.c and
386 * posix/fnmath.h: Don't redefine __P when used in glibc.
387 * posix/glob.h: Likewise.
389 * inet/rcmd.c (__ivaliduser2): Fix memory leak.
390 Patch by Dick Streefland <dick_streefland@tasking.com>.
392 * stdio-common/tst-ungetc.c: Add more test cases.
394 * sysdeps/unix/sysv/linux/Dist: Add linux_fsinfo.h.
395 * sysdeps/unix/sysv/linux/fstatvfs.c: Move filesystem magic number
397 * sysdeps/unix/sysv/linux/linux_fsinfo.h: ...here. New file.
398 * sysdeps/unix/sysv/linux/fpathconf.c: New file.
399 * sysdeps/unix/sysv/linux/pathconf.c: New file.
400 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Handle _PC_LINK_MAX here.
401 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
403 1998-10-20 Philip Blundell <pb@nexus.co.uk>
405 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Include
406 <asm/ptrace.h> to define struct pt_regs.
407 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Don't bother
408 including <asm/ptrace.h> here.
410 * sysdeps/unix/sysv/linux/arm/sysdep.S: Remove spurious call to
413 1998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
415 * sysdeps/generic/sys/ptrace.h (__ptrace_request): Remove comma at
416 end of enumerator list.
417 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Likewise.
418 * posix/wordexp.h: Likewise.
420 * db/db.h: Use __PMT instead of __P in typedefs.
421 * db/mpool.h: Likewise.
422 * sysdeps/generic/bits/siginfo.h: Likewise.
423 * nis/rpcsvc/ypclnt.h: Likewise.
425 1998-10-23 Ulrich Drepper <drepper@cygnus.com>
427 * libio/genops.c (_IO_seekmark): When switching to backup buffer
428 make sure all characters from the read buffer are read after
429 switching back to it.
431 1998-10-22 Ulrich Drepper <drepper@cygnus.com>
433 * configure.in: Add support for Cygnus GNUPro compilers.
435 1998-10-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
437 * stdio/stdio.h: Use __PMT instead of __P in typedefs.
439 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use __PMT instead
440 of __P for sa_restorer.
441 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
442 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
443 kernel_sigaction, old_kernel_sigaction): Likewise.
445 1998-10-22 Ulrich Drepper <drepper@cygnus.com>
447 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add __syscall_pread
448 and __syscall_pwrite aliases.
450 * sunrpc/rpc/auth.h (AUTH_DH): New macro. Alias for AUTH_DES.
452 * sysdeps/unix/sysv/linux/i386/sysdep.h: Drastically simplify and
453 improve INLINE_SYSCALL using macro assembler magic.
455 1998-10-22 H.J. Lu <hjl@gnu.org>
457 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Add
459 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
461 * sysdeps/posix/fpathconf.c (__fpathconf): Set errno to
462 EINVAL if errno == ENODEV. Tested by VSX-PCT.
464 * sysdeps/posix/isatty.c (__isatty): Don't reset errno. Tested
467 * posix/execvp.c (execvp): Check "". Tested by VSX-PCT.
469 1998-10-22 Philip Blundell <pb@nexus.co.uk>
471 * sysdeps/unix/arm/sysdep.h: Wrap assembler macros in #ifdef
474 1998-10-21 Ulrich Drepper <drepper@cygnus.com>
476 * sysdeps/unix/sysv/linux/i386/sysdep.h: Remove EXTRAVARS_* macros
479 1998-10-21 14:38 Ulrich Drepper <drepper@cygnus.com>
481 * sysdeps/unix/sysdep.h (INLINE_SYSCALL): New macro. Simply call
482 __syscall_* function.
483 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use INLINE_SYSCALL instead
484 of calling __syscall_* function.
485 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
486 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
487 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
488 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
489 * sysdeps/unix/sysv/linux/getpriority.c: Likewise.
490 * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
491 * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
492 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
493 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
494 * sysdeps/unix/sysv/linux/poll.c: Likewise.
495 * sysdeps/unix/sysv/linux/pread.c: Likewise.
496 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
497 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
498 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
499 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
500 * sysdeps/unix/sysv/linux/readv.c: Likewise.
501 * sysdeps/unix/sysv/linux/reboot.c: Likewise.
502 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
503 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
504 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
505 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
506 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
507 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
508 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
509 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
510 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
511 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
512 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
513 * sysdeps/unix/sysv/linux/writev.c: Likewise.
514 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
515 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
516 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
517 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
518 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
519 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
520 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
521 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
522 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
523 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
524 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
525 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
526 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
528 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define INLINE_SYSCALL using
530 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove various
531 __syscall_* definitions.
533 * sysdeps/unix/sysv/linux/syscalls.list: Move various __syscall_*
535 * sysdeps/unix/sysv/linux/alpha/syscalls.list: ...here...
536 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
537 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
538 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
539 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
540 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
541 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
543 * sysdeps/unix/sysv/linux/Makefile [subdir=signal] (sysdep_routines):
544 Move definition to...
545 * sysdeps/unix/sysv/linux/alpha/Makefile: ...here...
546 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
547 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
548 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
549 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
550 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
551 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
553 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
554 (sysdep_routines): Remove s_pread64 and s_pwrite64.
556 * sysdeps/unix/sysv/linux/i386/pread.c: New file.
557 * sysdeps/unix/sysv/linux/i386/pread64.c: New file.
558 * sysdeps/unix/sysv/linux/i386/pwrite.c: New file.
559 * sysdeps/unix/sysv/linux/i386/pwrite64.c: New file.
560 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Removed.
561 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Removed.
563 1998-10-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
565 * sysdeps/unix/sysv/linux/siglist.h: Fix some typos in these files
566 and bring them in synch.
567 * sysdeps/unix/siglist.c: Likewise.
568 Reported by Vladimir Michl <michlv@risc.upol.cz> [PR libc/832].
570 1998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
572 * sysdeps/unix/sysv/linux/i386/setresuid.c: Allow -1 as arguments.
573 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
575 * sysdeps/unix/sysv/linux/i386/setreuid.c: New file.
576 * sysdeps/unix/sysv/linux/i386/setregid.c: New file.
577 * sysdeps/unix/sysv/linux/m68k/setreuid.c: New file.
578 * sysdeps/unix/sysv/linux/m68k/setregid.c: New file.
579 * sysdeps/unix/sysv/linux/arm/setreuid.c: New file.
580 * sysdeps/unix/sysv/linux/arm/setregid.c: New file.
581 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: New file.
582 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: New file.
583 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_setreuid and
585 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
586 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
587 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
589 1998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
591 * sunrpc/rpc_main.c (close_output, close_input): New functions.
592 (c_output, h_output, s_output, l_output, t_output, svc_output,
593 clnt_output, mkfile_output): Call them at the end.
595 1998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
597 * db/Makefile (LDFLAGS-db1.so): New variable, to avoid duplicating
600 1998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
602 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Add real contents.
603 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add s_setfs[ug]id.
605 1998-10-20 Ulrich Drepper <drepper@cygnus.com>
607 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_pread64 and
609 * sysdeps/unix/sysv/linux/powerpc/pread.c: New file.
610 * sysdeps/unix/sysv/linux/powerpc/pread64.c: New file.
611 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: New file.
612 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: New file.
613 Patch by Geoffrey KEATING <geoffk@discus.anu.edu.au>.
615 1998-10-18 Zack Weinberg <zack@rabi.phys.columbia.edu>
617 * sysdeps/unix/opendir.c: Check at runtime for kernel support for
620 1998-10-20 H.J. Lu <hjl@gnu.org>
622 * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Fix
625 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
627 * math/tgmath.h: Make nested function calls work.
629 * include/ldsodefs.h: Fix typo.
631 * posix/Makefile (tests): Add tst-preadwrite.
632 * posix/tst-preadwrite.c: New file.
634 * sysdeps/unix/opendir.c (__opendir): Add back fstat call to make
635 sure that descriptor is in any case for a directory.
637 1998-10-19 18:59 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
639 * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG): Fix typo: val -> Val.
640 (atan2): Takes two arguments.
642 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
644 * include/ldsodefs.h: New file.
646 * iconv/gconv.c: Include ldsodefs.h, not elf/ldsodefs.h.
647 Remove change to avoid using _CALL_DL_FCT.
648 * iconv/gconv_db.c: Likewise.
649 * iconv/gconv_dl.c: Likewise.
650 * iconv/skeleton.c: Likewise, here for DL_CALL_FCT.
651 * malloc/mtrace.c: Include ldsodefs.h, not elf/ldsodefs.h.
652 * nss/nsswitch.c: Likewise.
653 * nss/nsswitch.h: Likewise.
655 1998-10-19 Philip Blundell <pb@nexus.co.uk>
657 * sunrpc/Makefile (otherlibs): If static NSS is in use, set to the
659 * login/Makefile (otherlibs): Likewise.
660 * nscd/Makefile (otherlibs): Likewise.
661 * Makeconfig (link-libc) [! build_shared]: Add $(otherlibs).
663 * debug/Makefile (install-bin): Only build catchsegv if using ELF.
665 * inet/Makefile: Add -DSTATIC_NSS to CFLAGS.
667 1998-10-19 Philip Blundell <pb@nexus.co.uk>
669 * sysdeps/unix/sysv/linux/arm/syscalls.list: Added setfsgid
672 1998-10-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
674 * nscd/connections.c: Fix typos in comments and strings.
676 * nscd/nscd.conf: Update according to recent changes to nscd.
678 * nscd/cache.c (prune_cache): Remove wrong comment.
680 1998-10-19 13:24 Ulrich Drepper <drepper@cygnus.com>
682 * locale/programs/ld-collate.c (collate_startup): Clear bit for this
683 category in copy_posix.
684 (collate_finish): Don't warn about UNDEFINED not being defined.
685 * locale/programs/ld-ctype.c (ctype_startup): Clear bit for this
686 category in copy_posix.
687 * locale/programs/ld-messages.c (messages_startup): Likewise.
688 * locale/programs/ld-monetary.c (monetary_startup): Likewise.
689 * locale/programs/ld-numeric.c (numeric_startup): Likewise.
690 * locale/programs/ld-time.c (time_startup): Likewise.
691 * locale/programs/localedef.c: Move copy_def_list_t definition into
692 locales.h. Define copy_posix variable.
693 (main): Before processing copy list add ©_posix to copy_list.
694 * locale/programs/locales.h: Add definition of copy_def_list_t.
695 * locale/programs/locfile.c: Clear bit for appropriate category in
696 copy_posix.mask for copy instruction.
698 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
700 * sysdeps/unix/sysv/linux/i386/setresgid.c: Remove #include of
701 non-existing file with generic implementation.
702 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
704 1998-10-19 Philip Blundell <pb@nexus.co.uk>
706 * iconv/gconv_db.c: Include ELF header only if STATIC_GCONV is not
707 defined. Avoid using _CALL_DL_FCT if it is not defined.
708 * iconv/gconv.c: Likewise.
710 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
712 * nscd/connections.c (dbs): Define defualt values for timeouts and
713 set enabled to 0 by default.
714 (CACHE_PRUNE_INTERVAL): New constant. Use it instead of magical 15 in
717 * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISCNTRL bit for
719 (_nl_C_LC_CTYPE_class32): Likewise.
722 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
724 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
725 _HURD_THREADVAR_DL_ERROR.
727 * hurd/Makefile (user-interfaces): Add login, password.
729 * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses.
731 1998-08-06 Mark Kettenis <kettenis@phys.uva.nl>
733 [submitted 1998-08-06]
734 * mach/Machrules: Create target directory and force re-evaluation
735 of Makefile to prevent `make' from optimizing away most of the
736 implicit rules and `vpath' directives.
738 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
740 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): If _hurd_msgport_thread
741 is null, short-circuit to __mach_msg.
743 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): New function,
745 (init1) [PIC]: Call it.
746 (__libc_init_first) [! PIC]: Call it.
748 * sysdeps/mach/hurd/i386/init-first.c (init1): Don't call
749 __libc_init_secure. Instead set __libc_enable_secure here from
751 (__libc_enable_secure): New variable it.
752 * sysdeps/mach/hurd/enbl-secure.c: New file, empty placeholder module.
754 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
756 * nscd/nscd-client.h: New file, broken out of "nscd.h".
757 * nscd/nscd.h: Move defns needed by clients to "nscd-client.h",
759 * nscd/Makefile (distribute): Add nscd-client.h.
760 * nscd/nscd_getgr_r.c, nscd/nscd_gethst_r.c, nscd/nscd_getpw_r.c:
761 Include "nscd-client.h" instead of "nscd.h"
763 1998-10-18 Ulrich Drepper <drepper@cygnus.com>
765 * sysdeps/posix/getcwd.c (__getcwd): Don't stop processing
766 directory entries when a lstat call fails.
767 Patch by Colin Plumb <colin@nyx.net>.
769 * resolv/nss_dns/dns-host.c: Add missing errnop parameter to the
771 * resolv/nss_dns/dns-network.c: Likewise.
773 * grp/Makefile: Don't search for linuxthreads in add-ons, use
774 have-thread-library to determine whether threads are available.
775 * pwd/Makefile: Remove wrong comment.
777 * inet/Makefile: Define CFLAGS-gethstbyad_r.c, CFLAGS-gethstbynm_r.c,
778 and CFLAGS-gethstbynm2_r.c to -DUSE_NSCD=1.
780 * locale/C-messages.c: Define default strings for YESTR and NOSTR.
782 * nss/Versions: Add __nss_hosts_lookup.
784 * nss/getXXbyYY.c: Remove unneeded assignment.
786 * nss/getXXbyYY_r.c: Include nscd/nscd_proto.h only if needed.
788 Almost complete rewrite of the NSCD to make it smaller, faster,
789 add more functionnality and make it easier to extend.
790 * nscd/Makfile (routines): Add nscd_gethst_r.
791 (nscd-modules): Add hstcache, gethstbyad_r, gethstbynm2_r, and cache.
792 * nscd/cache.c: New file.
793 * nscd/gethstbyad_r.c: New file.
794 * nscd/gethstbynm2_r.c: New file.
795 * nscd/hstcache.c: New file.
796 * nscd/nscd_gethst_r.c: New file.
797 * nscd/connections.c: Rewritten. Don't start new thread for every
798 new connection. Use a fixed set of threads which handle all
799 connections and also the cache cleanup.
800 * nscd/grpcache.c: Rewritten to use generic cache handling functions
802 * nscd/nscd.c: Recognize new parameter nthreads. Adjust initialization
803 for rewrite. Remove handle_requests function.
804 * nscd/nscd.h (NSCD_VERSION): Bump to 2.
805 Define new data structure for the new unified cache and the host
807 * nscd/nscd_conf.c: Rewrite parsing partly to allow adding of more
808 databases easily. Recognize check-files and threads definitions.
809 * nscd/nscd.conf: Add definition of enable-cache and check-files to
810 passwd and group definitions. Add new set of definitions for hosts.
811 * nscd/nscd_getgr_r.c: Rewrite for new protocol.
812 * nscd/nscd_getpw_r.c: Likewise.
813 * nscd/nscd_proto.h: Add prototype for host database functions.
814 * nscd/nscd_stat.c: Rewrite to simplify printing of information
816 * nscd/dbg_log.c: Remove unnecessary variable initializations.
817 Global variable debug_flag is renamed to dbg_level.
818 * nscd/dbg_log.h: Declare set_logfile.
820 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
822 * sysdeps/unix/sysv/linux/bits/fcntl.h: Add dummy definition of
825 1998-10-16 Paul Eggert <eggert@shade.twinsun.com>
827 * time/mktime.c: Some systems require <unistd.h> to be
828 included before <time.h> for localtime_r to be declared
830 * time/strftime.c: Likewise.
832 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
834 * db/Makefile: Add rule to generate shared object with the soname
837 * sysdeps/unix/opendir.c: Use O_DIRECTORY if available. If not
838 available double check to verify it's a directory.
840 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add O_DIRECTORY.
841 * sysdeps/unix/sysv/linux/mips/bits/fcntl: Likewise.
842 * sysdeps/unix/sysv/linux/bits/fcntl.h: Remove O_* constants which
843 are not generally available.
844 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: New file.
846 * sysdeps/unix/sysv/linux/i386/setgroups.c: Add range check for values.
847 * sysdeps/unix/sysv/linux/arm/Makefile: New file.
848 * sysdeps/unix/sysv/linux/arm/setegid.c: New file.
849 * sysdeps/unix/sysv/linux/arm/seteuid.c: New file.
850 * sysdeps/unix/sysv/linux/arm/setfsgid.c: New file.
851 * sysdeps/unix/sysv/linux/arm/setfsuid.c: New file.
852 * sysdeps/unix/sysv/linux/arm/setgid.c: New file.
853 * sysdeps/unix/sysv/linux/arm/setgroups.c: New file.
854 * sysdeps/unix/sysv/linux/arm/setresgid.c: New file.
855 * sysdeps/unix/sysv/linux/arm/setresuid.c: New file.
856 * sysdeps/unix/sysv/linux/arm/setuid.c: New file.
857 * sysdeps/unix/sysv/linux/i386/setegid.c: New file.
858 * sysdeps/unix/sysv/linux/i386/seteuid.c: New file.
859 * sysdeps/unix/sysv/linux/i386/setfsgid.c: New file.
860 * sysdeps/unix/sysv/linux/i386/setfsuid.c: New file.
861 * sysdeps/unix/sysv/linux/i386/setgid.c: New file.
862 * sysdeps/unix/sysv/linux/i386/setgroups.c: New file.
863 * sysdeps/unix/sysv/linux/i386/setresgid.c: New file.
864 * sysdeps/unix/sysv/linux/i386/setresuid.c: New file.
865 * sysdeps/unix/sysv/linux/i386/setuid.c: New file.
866 * sysdeps/unix/sysv/linux/m68k/setegid.c: New file.
867 * sysdeps/unix/sysv/linux/m68k/seteuid.c: New file.
868 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: New file.
869 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: New file.
870 * sysdeps/unix/sysv/linux/m68k/setgid.c: New file.
871 * sysdeps/unix/sysv/linux/m68k/setgroups.c: New file.
872 * sysdeps/unix/sysv/linux/m68k/setresgid.c: New file.
873 * sysdeps/unix/sysv/linux/m68k/setresuid.c: New file.
874 * sysdeps/unix/sysv/linux/m68k/setuid.c: New file.
875 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
876 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
877 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: New file.
878 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: New file.
879 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: New file.
880 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
881 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file.
882 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file.
883 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: New file.
885 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add s_setgid, s_setresuid,
886 s_setresgid, and s_setuid.
887 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
888 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
889 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
890 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
891 (sysdep_routines): Add setfsgid, setfsuid, setresgid, and setresuid.
892 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
893 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
895 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
897 * time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get
898 localtime_t declaration on some systems.
900 1998-10-16 10:07 Ulrich Drepper <drepper@cygnus.com>
902 * iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to
904 * iconv/skeleton.c: Include ELF header only of STATIC_GCONV is not
905 defined. Avoid using DL_CLL_FCT if it is not defined.
907 1998-10-16 10:40 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
909 * resolv/arpa/nameser.h: Include sys/types.h unconditionally.
910 Include endian.h unconditionally. Remove portability goop
911 depending on #ifdef linux, #ifdef BSD, #ifdef machine-type.
913 1998-10-16 11:39 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
915 * sunrpc/rpc/types.h: Mark file so fixincludes won't modify it.
917 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
919 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios
920 again. Use char[44] to define size of the struct.
922 * sysdeps/unix/sysv/linux/arm/Dist: Add bits/armsigctx.h.
924 1998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
926 * string/bits/string2.h (strcmp): Don't cache the result of
927 __builtin_constant_p in variables, otherwise constant folding
928 can fail in big functions.
930 1998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
932 * string/bits/string2.h: Add prototypes for the new inline
935 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
937 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to
938 have all types defined.
939 Patch by Matti Aarnio <matti.aarnio@sonera.fi>.
941 1998-10-08 Paul Eggert <eggert@twinsun.com>
943 * time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r.
944 Define also if HAVE_LOCALTIME_R && defined localtime_r, with
945 a body that merely expands localtime_r; this works around a
946 bug in Digital Unix 4.0A and 4.0D.
948 1998-10-14 Ulrich Drepper <drepper@cygnus.com>
950 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl.
951 * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define
952 __ioctl to __syscall_ioctl and include Linux version of this file.
953 * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
954 * sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file. Redirect
955 ioctl calls which handle struct termios.
956 Based on a patch by Dan Jacobowitz <drow@false.org>.
958 1998-10-14 Ulrich Drepper <drepper@cygnus.com>
960 * version.h (VERSION): Bump to 2.0.98.
962 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios
963 here instead of including kernel_termios.h.
965 1998-10-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
967 * sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is
968 unnecessary after the changes of 1998-10-12.
970 1998-10-13 Ulrich Drepper <drepper@cygnus.com>
972 * sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output
973 parameter format string.
974 (inline_outw): Likewise.
976 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include
977 string.h to get memcpy prototype and NULL definition.
979 1998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
981 * misc/sys/cdefs.h (__THROW): New macro.
982 * argp/argp.h: Use it to replace the kludgey __P in inline
983 function definitions.
984 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
985 * stdlib/stdlib.h: Likewise.
986 * wcsmbs/wchar.h: Likewise.
987 * libio/stdio.h: Likewise.
988 * stdio/stdio.h: Likewise.
989 * sysdeps/wordsize-64/inttypes.h: Likewise.
990 * sysdeps/wordsize-32/inttypes.h: Likewise.
991 * string/argz.h: Likewise.
992 * io/sys/stat.h: Likewise.
994 1998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
996 * Rules (stdio_lim): New variable.
997 ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend
998 on Rules and config.make, use $(move-if-change) to avoid unnessary
999 recompilations, and cleanup command.
1000 (common-generated): Add bits/stdio_lim.st.
1002 1998-10-12 Ulrich Drepper <drepper@cygnus.com>
1004 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): New
1005 variable to prevent warnings from use of modern CPU instructions.
1006 Patch by Richard Henderson <rth@cygnus.com>.
1008 * sysdeps/unix/opendir.c: Test whether NAME is directory before
1011 1998-10-12 Philip Blundell <pb@nexus.co.uk>
1013 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Add missing
1014 semicolon so that profiling works.
1016 1998-10-12 Roland McGrath <roland@baalperazim.frob.com>
1018 * sysdeps/generic/glob.c: #undef mempcpy before #define.
1020 * sysdeps/unix/bsd/clock.c: Use prototype defns.
1022 1998-10-11 Ulrich Drepper <drepper@cygnus.com>
1024 * Rules [posix in sysdirs]: Set L_tmpnam to 20.
1025 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
1027 * string/bits/string2.h [!_STRING_ARCH_unaligned]
1028 (__mempcpy_small): Add parameter for 1 byte copy and use it.
1029 Reported by Geoff Keating <geoffk@ozemail.com.au>.
1031 1998-10-09 Mark Kettenis <kettenis@phys.uva.nl>
1033 * sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove,
1034 it is already defined in <bits/environments.h>.
1036 1998-10-09 Ulrich Drepper <drepper@cygnus.com>
1038 * posix/ptestcases.h: Fix typo.
1040 1998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1042 * posix/regex.c (regcomp): Allocate and prepare a fastmap.
1043 (regexec): Allocate regs.start and regs.end as one block.
1045 1998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1047 * sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of
1050 1998-10-08 Philip Blundell <pb@nexus.co.uk>
1052 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of
1053 sigcontext union to ...
1054 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here. New
1056 * sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for
1057 version 2.0 kernels.
1059 1998-10-08 Ulrich Drepper <drepper@cygnus.com>
1061 * malloc/mtrace.c (tr_reallochook): Produce better output for real
1064 * signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined.
1065 * argp/argp-xinl.c: Likewise.
1067 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing
1069 Patch by Christian Gafton.
1071 1998-10-08 Paul Eggert <eggert@twinsun.com>
1073 * time/mktime.c (__mktime_internal): When the requested time falls
1074 in a spring-forward gap of size DT, return a time that is DT away
1075 from the requested time, preferring a time whose tm_isdst differs
1076 from the requested value. Bump the max number of probes from 4 to
1077 6 to account for the extra probes needed to discover a
1078 spring-forward gap in the worst case.
1080 1998-10-07 17:05 Ulrich Drepper <drepper@cygnus.com>
1082 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection
1083 of the weird alpha architectures.
1084 Patch by Cristian Gafton <gafton@redhat.com>.
1086 1998-02-18 23:31 Richard Henderson <rth@cygnus.com>
1088 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
1089 RAWHIDE and TSUNAMI. Patch from Jay.Estabrook@digital.com.
1091 1998-10-07 Ulrich Drepper <drepper@cygnus.com>
1093 * elf/dl-open.c (_dl_global_scope_alloc): Make global.
1094 (dl_open_worker): Use realloc, not malloc to resize array.
1095 * elf/rtld.c (_dl_initial_searchlist): New variable.
1096 (_dl_main): Copy content of _dl_main_searchlist to
1097 _dl_initial_searchlist.
1098 * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and
1099 _dl_global_scope_alloc.
1100 * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist.
1101 * elf/dl-close.c (_dl_close): When removing object with global
1102 scope remove allocated searchlist if no dynamically loaded object
1104 * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope.
1105 (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist.
1107 * malloc/mtrace.c (tr_where): Don't print space in location string,
1108 print it afterwards. Print better symbol name information.
1110 1998-10-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1112 * manual/filesys.texi (Setting Permissions): Fix example for
1115 1998-10-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1117 * elf/sprof.c (load_profdata): Fix typo in error message.
1119 1998-10-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1121 * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
1124 1998-10-04 Roland McGrath <roland@baalperazim.frob.com>
1126 * mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it.
1128 1998-10-06 Ulrich Drepper <drepper@cygnus.com>
1130 * version.h (VERSION): Bump to 2.0.97.
1132 1998-10-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1134 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P
1135 in definitions of inline stat functions so that they match the
1137 * stdlib/stdlib.h: Likewise.
1138 * wcsmbs/wchar.h: Likewise.
1139 * libio/stdio.h: Likewise.
1140 * stdio/stdio.h: Likewise.
1141 * sysdeps/wordsize-64/inttypes.h: Likewise.
1142 * sysdeps/wordsize-32/inttypes.h: Likewise.
1143 * string/argz.h: Likewise.
1144 * argp/argp.h: Likewise.
1146 1998-10-06 Ulrich Drepper <drepper@cygnus.com>
1148 * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
1151 1998-10-05 Philip Blundell <philb@gnu.org>
1153 * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures
1154 and constants. Tidy up formatting a little.
1156 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6):
1157 Move definitions to in.h.
1159 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1161 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER,
1162 SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added.
1163 Remove inclusion of <linux/swap.h>.
1165 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
1167 * io/sys/stat.h: Use __P in definitions of inline stat functions
1168 so that they match the declaration.
1170 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1172 * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added.
1174 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1176 * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current
1179 1998-10-02 Philip Blundell <pb@nexus.co.uk>
1181 * sysdeps/arm/dl-machine.h: Fix typo in last change.
1183 * sysdeps/arm/bits/huge_val.h: New file.
1185 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1187 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added.
1189 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add
1192 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
1194 * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to
1195 store result of realloc instead of using BUF.
1197 1998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1199 * misc/sgtty.h (_SGTTY_H): Correct spelling.
1200 Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817].
1202 1998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1204 * manual/memory.texi (Obstacks): Document
1205 obstack_alloc_failed_handler usage.
1207 * malloc/obstack.h: Enhance comment about
1208 obstack_alloc_failed_handler usage.
1209 * malloc/obstack.c: Likewise.
1211 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
1213 * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or
1214 gcc before 2.8 is used.
1216 1998-10-01 Philip Blundell <pb@nexus.co.uk>
1218 * sysdeps/arm/machine-gmon.h: Correct args to mcount(). Patch
1219 from Scott Bambrough.
1221 * sysdeps/unix/sysv/linux/arm/register-dump.h: New file.
1223 * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
1224 include the lock member.
1226 1998-09-03 Philip Blundell <pb@nexus.co.uk>
1228 * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.
1230 1998-10-01 Ulrich Drepper <drepper@cygnus.com>
1232 * timezone/zic.c: Update from tzcode1998h.
1233 * timezone/europe: Update from tzdata1998i.
1234 * timezone/southamerica: Likewise.
1236 * sys/types.h: Protect use of long long by __extension__.
1237 * stdlib/stdlib.h: Likewise.
1238 * string/string.h: Likewise.
1239 * sysdeps/i386/bits/byteswap.h: Likewise.
1240 * sysdeps/geeric/bits/byteswap.h: Likewise.
1241 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
1242 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1243 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1244 * sysdeps/wordsize-32/inttypes.h: Likewise.
1245 * sysdeps/wordsize-32/stdint.h: Likewise.
1246 * wcsmbs/wchar.h: Likewise.
1248 1998-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1250 * string/bits/string2.h (__string2_1bptr_p): Don't use a statement
1252 (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
1253 __strsep): Greatly reduce size of expansion by combining common
1255 (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
1257 (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
1258 by the above definitions.
1260 1998-09-27 Geoff Keating <geoffk@ozemail.com.au>
1262 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
1263 correct struct ipc_perm definition.
1265 1998-09-29 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1267 * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.
1269 1998-09-29 Cristian Gafton <gafton@redhat.com>
1271 * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
1272 * sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
1273 * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
1274 * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
1275 Add net/if_shaper.h.
1277 1998-09-29 Ulrich Drepper <drepper@cygnus.com>
1279 * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.
1281 * nis/ypclnt.c: Remove not needed close calls.
1283 1998-09-28 23:55 Ulrich Drepper <drepper@cygnus.com>
1285 * nis/ypclnt.c (__yp_bind): Pretty print. Optimize readv result
1286 check a bit. Also close socket of domain client. Close socket
1287 in IPPORT_RESERVED error case.
1289 1998-09-28 Ulrich Drepper <drepper@cygnus.com>
1291 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
1292 CMSG_ALIGN (fixes a bug) and correct test for availability of
1294 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
1296 (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
1297 availability of another entry.
1300 * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
1303 * libio/libio.h [!__STDC__]: Define const only if not defined.
1305 1998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1307 * posix/annexc.c (xsystem): New function. Use it instead of
1310 1998-09-28 Ulrich Drepper <drepper@cygnus.com>
1312 * stdlib/longlong.h: Remove #endif for #if removed in last change.
1314 1998-09-25 Ulrich Drepper <drepper@cygnus.com>
1316 * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
1317 Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
1318 allow using `ut' parameter.
1319 [!emacs]: Define ut_argument, ut_argument_spec, and
1320 ut_argument_spec_iso as empty. Define ut to 0. Add ut_argument and
1321 argument_spec to prototypes and definitions.
1322 (my_strftime): Don't call tzset of ut != 0.
1323 Compute diff as 0 is ut != 0;
1324 [emacs]: Define new emacs_strftime function.
1325 Based on a patch by Paul Eggert.
1327 1998-09-24 Paul Eggert <eggert@twinsun.com>
1329 * time/strftime.c (my_strftime): When asking for the length of the
1330 subformatted buffer, do not limit the length to look for;
1331 otherwise, we have no reliable way to distinguish between the
1332 empty buffer and an error.
1334 1998-09-25 Ulrich Drepper <drepper@cygnus.com>
1336 * math/Makefile (gmp-objs): Add mp_clz_tab.
1338 1998-09-25 David S. Miller <davem@pierdol.cobaltmicro.com>
1340 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
1342 * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
1343 cpus lacking hardware multiply and divide.
1345 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1347 * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
1350 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1352 * db/btree/bt_delete.c: Fix -Wparentheses warning.
1354 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1356 * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
1359 1998-09-24 Ulrich Drepper <drepper@cygnus.com>
1361 * debug/catchsegv.sh: Also produce output if clone process died.
1363 1998-09-24 Paul Eggert <eggert@twinsun.com>
1365 * time/strftime.c (f_wkday): Remove duplicate definition.
1366 (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
1367 !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
1368 1998-09-11 fix to this case.
1369 (wkday_len, month_len): Remove these macros; they're no longer needed.
1371 1998-09-24 Paul Eggert <eggert@twinsun.com>
1373 * time/strftime.c (my_strftime): Don't store past the end of a
1376 1998-09-24 Paul Eggert <eggert@twinsun.com>
1378 * time/strftime.c (underlying_strftime):
1379 Set the buffer to a nonzero value before calling
1380 strftime, and check to see whether strftime has set the buffer to zero.
1381 This lets us distinguish between an empty buffer and an error.
1383 1998-09-24 Paul Eggert <eggert@shade.twinsun.com>
1385 * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
1386 This fix is propagated from tzcode1998g.tar.gz.
1388 1998-09-24 Mark Kettenis <kettenis@phys.uva.nl>
1390 * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
1391 _sys_siglist. [!HAVE_GNU_LD]: Do not define _sys_siglist as
1392 sys_siglist. This is handled correctly by the weak_alias macro.
1394 1998-09-24 Ulrich Drepper <drepper@cygnus.com>
1396 * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
1397 of mempcpy. Reported by Andreas Jaeger.
1399 * misc/regexp.h (compile): Use alloca instead of __alloca. It won't
1400 pollute the namespace since the compiler will resolve it inline.
1401 Reported by Florian La Roche <florian@suse.de>.
1403 1998-09-24 10:29 Ulrich Drepper <drepper@cygnus.com>
1405 * timezone/private.h: Update from tzcode1998g.
1407 * timezone/africa: Update from tzdata1998h.
1408 * timezone/asia: Likewise.
1409 * timezone/australasia: Likewise.
1410 * timezone/europe: Likewise.
1411 * timezone/northamerica: Likewise.
1412 * timezone/southamerica: Likewise.
1413 * timezone/zone.tab: Likewise.
1415 1998-09-23 17:28 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1417 * misc/sys/mman.h: New file.
1419 * sysdeps/generic/bits/mman.h: New file.
1420 * sysdeps/unix/bsd/osf/bits/mman.h: New file.
1421 * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
1422 * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
1423 * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
1425 * sysdeps/generic/sys/mman.h: Removed.
1426 * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
1427 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
1428 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
1429 * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
1430 * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
1432 * include/sys/mman.h: Look directly for misc/sys/mman.h.
1433 * misc/Makefile (headers): Add bits/mman.h.
1434 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
1437 * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
1438 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
1439 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
1440 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
1441 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
1442 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
1443 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
1444 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
1446 1998-09-23 16:27 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1448 * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
1449 * sysdeps/mach/alpha/thread_state.h: Likewise.
1450 * sysdeps/mach/i386/sysdep.h: Likewise.
1451 * sysdeps/mach/i386/thread_state.h: Likewise.
1452 * sysdeps/mach/mips/sysdep.h: Likewise.
1453 * sysdeps/mach/mips/thread_state.h: Likewise.
1454 * sysdeps/posix/profil.c: Likewise.
1455 * sysdeps/i386/i586/memcopy.h: Likewise.
1456 * sysdeps/mach/pagecopy.h: Likewise.
1458 1998-09-23 15:25 Ulrich Drepper <drepper@cygnus.com>
1460 * libio/stdio.h: Define __need_getopt and include getopt.h to define
1462 * posix/unistd.h: Likewise.
1463 * stdio/stdio.h: Likewise.
1464 * posix/getopt.h: Remove _GNU_SOURCE use. If __need_getopt is defined
1465 define only getopt and the variables.
1467 1998-09-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1469 * scripts/test-installation.pl (installation_problem): Don't link
1470 the test program against libdb1.
1472 1998-09-23 13:52 Ulrich Drepper <drepper@cygnus.com>
1474 * Makeconfig (all-subdirs): Add db.
1475 * Versions.def: Add definition for libdb1.
1476 * shlib-versions: Add definitions for libdb1.
1477 * db/Makefile (extra-libs): Replace by libdb1.
1478 (libdb-routines): Rename to libdb1-routines.
1479 (headers): Rename to db1-headers.
1480 (distribute): Add $(db1-headers).
1481 (install-others): Define to install symlink libdb.so.NN and the
1483 (CPPFLAGS): Add -DUSE_LIBDB1
1484 Remove rules to build makedb.
1485 * db/Versions: Rename libdb to libdb1.
1486 * include/db.h: If USE_LIBDB1 is defined include db/db.h.
1487 * db/makedb.c: Removed.
1489 * scripts/versions.awk: Recognize digits in library names.
1491 * db/btree/bt_open.c: Fix compiler warnings.
1492 * db/btree/bt_put.c: Likewise.
1493 * db/btree/bt_split.c: Likewise.
1494 * db/hash/hash.c: Likewise.
1495 * db/hash/hash_bigkey.c: Likewise.
1496 * db/recno/rec_close.c: Likewise.
1498 * Makefile: Add localedata/% goal.
1500 1998-09-22 19:58 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1502 * posix/execvp.c: Don't give up searching the PATH if execve
1505 1998-09-22 12:53 Ulrich Drepper <drepper@cygnus.com>
1507 * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
1508 if _dl_fpu_control_set is set.
1509 * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
1510 * elf/rtld.c: Don't define _dl_fpu_control_set.
1511 * elf/Versions: Remove _dl_fpu_control_set.
1513 1998-09-22 11:51 Ulrich Drepper <drepper@cygnus.com>
1515 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
1516 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
1517 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
1518 Correct values of other SA_* macros according to kernel headers.
1520 1998-09-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1522 * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
1524 * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
1527 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1529 * elf/ldsodefs.h: Fix typo in comment.
1531 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1533 * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
1534 char when comparing buffer contents with putback character.
1536 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1538 * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
1540 * elf/Versions: Undo last change. Export _dl_fpu_control and
1541 _dl_fpu_control_set.
1542 * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
1543 variables. Include <fpu_control.h>.
1544 * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
1545 _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
1546 to indicate that is was seen.
1547 * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
1548 only if _dl_fpu_control was set and is equal to desired value.
1549 * math/Makefile (aux): Undo last change.
1550 * math/Versions: Export __fpu_control with version GLIBC_2.0.
1552 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1554 * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
1557 1998-09-21 10:00 Ulrich Drepper <drepper@cygnus.com>
1559 * string/bits/string2.h: Add mempcpy optimization.
1560 * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
1561 * intl/localealias.c: Define mempcpy only if not already defined.
1563 * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
1566 1998-09-20 10:48 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1568 * csu/abi-note.S: Emit the note directly instead of defining
1569 a preprocessor macro that's only used once. Don't include sysdep.h.
1570 * abi-tags: Generalize Solaris entry.
1572 1998-09-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1574 * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
1575 Change to array to avoid runtime relocation.
1576 * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
1578 1998-09-21 12:22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1580 * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
1581 * math/Makefile ($(objpfx)libieee.a): Likewise.
1583 1998-09-21 Ulrich Drepper <drepper@cygnus.com>
1585 * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
1586 Patch by John Tobey <jtobey@banta-im.com>.
1588 1998-09-20 Ulrich Drepper <drepper@cygnus.com>
1590 * login/Makefile (distribute): Remove pty-internal.h, add
1593 * stdlib/tst-strtol.c: Add more checks.
1594 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
1596 1998-09-20 09:37 Ulrich Drepper <drepper@cygnus.com>
1598 * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
1599 * elf/elf.h: Add AT_FPUCW.
1600 * elf/Makefile (dl-routines): Add fpu_control.
1601 (elide-routines.os): Add fpu_control.
1602 (rtld-routines): Add fpu_control.
1603 * math/Makefile (aux): Remove fpu_control.
1604 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
1605 (_dl_show_auxv): Likewise.
1606 * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
1607 if different from OS default.
1609 * stdio-common/tstscanf.c: Add test case for (nil).
1611 1998-09-18 17:41 Ulrich Drepper <drepper@cygnus.com>
1613 * libio/fileops.c (_IO_new_file_underflow): Before allocating
1614 buffer make sure the pushback buffer is destroyed.
1615 (_IO_new_file_seekoff): Likewise.
1616 If mode==0 quit early with the result.
1617 Clear OEF flag after successful fseek.
1618 * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
1619 * libio/ftello.c (ftello): Add offset from original buffer if
1620 stream has pushed back characters.
1621 * libio/ftello64.c (ftello64): Likewise.
1622 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
1623 * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
1624 * libio/ioftell.c (_IO_ftell): Likewise.
1625 * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
1627 (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
1628 (_IO_default_pbackfail): Only stored push back character in original
1629 buffer if it is the same as the one in the file at this position.
1630 * libio/iofclose.c: Free backup buffer if one is available.
1631 * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
1634 * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
1636 * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
1638 * stdio-common/vfscanf.c: Fix reading (nil) for %p.
1640 1998-09-18 Mark Kettenis <kettenis@phys.uva.nl>
1642 * login/programs/pt_chown.c (more_help): Correct message that
1643 describes the purpose of the program.
1645 * login/openpty.c: Do not include pty-private.h.
1646 (pts_name): New function. Return name of slave pseudo terminal in
1647 an allocated buffer if necessary.
1648 (openpty): Use pts_name to get name of the slave end of the pseudo
1651 * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
1652 pts_name before return.
1654 1998-09-18 11:15 Ulrich Drepper <drepper@cygnus.com>
1656 * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
1658 1998-09-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1660 * login/openpty.c: Include pty-private.h instead of
1663 1998-09-09 Philip Blundell <pb@nexus.co.uk>
1665 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
1667 1998-09-07 Philip Blundell <pb@nexus.co.uk>
1669 * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
1670 recent ld.so changes.
1671 (elf_machine_runtime_setup): Correct behaviour when profiling.
1673 1998-09-17 19:34 Ulrich Drepper <drepper@cygnus.com>
1675 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
1676 Patch by John Tobey <jtobey@banta-im.com>.
1678 1998-09-17 Mark Kettenis <kettenis@phys.uva.nl>
1680 * login/pty-internal.h: Removed. Moved constants related to the
1681 `grantpt' helper program protocol to ...
1682 * login/pty-private.h: ... here. New file.
1683 * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
1684 to make the function work with kernels >= 2.1.115.
1685 * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
1686 version if using the cloning device fails.
1687 * sysdeps/unix/sysv/linux/grantpt.c: New file.
1688 * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
1689 * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
1690 use by Linux specific code.
1691 * sysdeps/unix/bsd/unlockpt.c: General cleanup.
1692 * sysdeps/unix/grantpt.c: Largely rewritten. (pts_name): New
1693 function. (grantpt): Use pts_name, check group and permission
1694 mode in addition to owner. Try to set the owner, group and
1695 permission mode first without invoking the helper program.
1696 * login/programs/pt_chown.c: Largely rewritten. Add argp and
1697 internationalization support. Use symbolic constants instead of
1698 hardwired numbers for permission mode.
1699 * sysdeps/unix/bsd/ptsname.c: New file.
1701 1998-09-17 22:04 Tim Waugh <tim@cyberelk.demon.co.uk>
1703 * posix/wordexp-test.c: Undo last change.
1705 * posix/wordexp.c: Undo last change.
1707 1998-09-16 Ulrich Drepper <drepper@cygnus.com>
1709 * nscd/grpcache.c (save_grp): Partly undo last change.
1711 * nscd/pwdcache.c (save_pwd): Undo last change.
1713 1998-09-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1715 * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
1716 function. Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
1718 1998-09-15 David S. Miller <davem@pierdol.cobaltmicro.com>
1720 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
1721 Add profiling support.
1722 (TRAMPOLINE_TEMPLATE): New macro.
1723 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
1724 (RTLD_START): Prettify, and set __libc_stack_end properly.
1725 (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
1726 and check for sym being NULL instead.
1727 * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
1729 * sysdeps/sparc/sparc64/lshift.S: Likewise.
1730 * sysdeps/sparc/sparc64/mul_1.S: Likewise.
1731 * sysdeps/sparc/sparc64/rshift.S: Likewise.
1732 * sysdeps/sparc/sparc64/submul_1.S: Likewise.
1733 * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
1734 MEDANY code model %g4 usage.
1735 * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
1736 MEDANY code model %g4 usage.
1737 * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
1738 code model address formation.
1739 * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
1740 include elf/ldsodefs.h
1742 (elf_machine_matches_host): It is now EM_SPARCV9.
1743 (elf_machine_dynamic): Clean up to remove ugly cast.
1744 (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
1746 (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
1747 Prettify rest of function.
1748 [R_SPARC_COPY]: Check for sym being NULL.
1749 [R_SPARC_32]: Handle it.
1750 [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
1752 [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
1754 [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
1755 (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
1756 Add profiling support.
1757 (TRAMPOLINE_TEMPLATE): New macro.
1758 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
1759 (RTLD_START): Prettify and set __libc_stack_end.
1760 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
1762 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
1763 (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
1764 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
1765 unused variable scratch.
1766 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1767 (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
1769 (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
1770 stub to rt_sigaction syscalls. Rewrite non-rt case to use correct
1771 old format kernel sigaction structures.
1772 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
1773 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
1774 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
1775 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
1777 (_JMPBUF_UNWINDS): Define.
1778 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
1779 statfs64 structure, which is exactly the same as the normal one.
1780 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
1781 of stack. Use correct syscall trap number. Add branch prediction
1782 settings to branch instructions. Remove old MEDANY code model %g4
1783 referneces for non-PIC.
1784 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
1785 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
1786 * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
1787 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
1788 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1789 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
1790 __libc_longjmp and __libc_siglongjmp strong aliases.
1791 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
1792 Also define to __no__readdir64_decl around readdir.c inclusion.
1793 (__readdir64): Add strong alias.
1794 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
1795 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
1796 Set strong and weak names properly.
1798 1998-09-16 11:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1800 * manual/Makefile (AWK): Default to gawk if standalone.
1802 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1804 * Makefile (distribute): Undo last change.
1805 * Make-dist (+tsrc) [not subdir]: Also include indirection headers
1807 (+subdir-headers): Removed, unused.
1809 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1811 * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
1814 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1816 * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
1817 absolute name in $(config-sysdirs), can never happen.
1818 ($(+sysdir_pfx)sysd-rules): Likewise.
1819 * Makeconfig (full-config-sysdirs): Likewise.
1820 (all-Subdirs-files): Prepend $(..).
1822 * configure.in: Don't check for absolute name in $add_ons_pfx, can
1823 not happen. Let --enable-add-ons=yes work if no add-ons actually
1826 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1828 * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
1829 continuations in command.
1831 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1833 * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
1835 1998-09-16 00:47 Tim Waugh <tim@cyberelk.demon.co.uk>
1837 * posix/wordexp-test.c: If expansion or substitution occurs
1838 anywhere in a word, the entire word is subject to field-splitting.
1840 * posix/wordexp.c (parse_glob): Look for end of word instead of
1841 end of field when deciding what to glob.
1842 (field_split_word): New function, now the only place where
1843 field-splitting is performed.
1844 (parse_dollars): New parameter - tell the caller if
1845 field-splitting should be performed on this word.
1847 * posix/wordexp-test.c (testit): Only call wordfree if wordexp
1848 succeeded (or failed with WRDE_NOSPACE).
1850 1998-09-15 19:53 1998 Tim Waugh <tim@cyberelk.demon.co.uk>
1852 * posix/wordexp.c (wordexp): Don't convert IFS characters to
1855 * posix/wordexp-test.c: Words not the result of expansion or
1856 substitution should remain unchanged.
1858 1998-09-15 Ulrich Drepper <drepper@cygnus.com>
1860 * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
1861 (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
1863 1998-09-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1865 * stdio-common/Makefile: Include Makeconfig so that
1866 $(inst_includedir) is defined.
1868 1998-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1870 * io/pwd.c: Include <mcheck.h>.
1872 1998-09-15 08:00 Ulrich Drepper <drepper@cygnus.com>
1874 * nscd/pwdcache.c (save_pwd): Correct copying.
1875 * nscd/grpcache.c (save_grp): Likewise.
1877 1998-09-14 23:36 Ulrich Drepper <drepper@cygnus.com>
1879 * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
1880 (free_pwd): Adjust for this change.
1881 * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
1882 (free_grp): Adjust for this change.
1884 1998-09-14 Ulrich Drepper <drepper@cygnus.com>
1886 * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
1888 1998-09-14 15:29 Ulrich Drepper <drepper@cygnus.com>
1890 * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
1891 (install-others): Add bits/stdio_lim.h.
1892 Add rule to install bits/stdio_lim.h.
1894 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
1896 * Makefile (distribute): Add include/sys/mman.h.
1898 * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
1899 * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
1900 * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
1902 * grp/initgroups.c: Include stdlib.h.
1903 Patch by Zack Weinberg.
1905 1998-09-14 22:46 Tim Waugh <tim@cyberelk.demon.co.uk>
1907 * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
1908 for field-splitting :abc: is correct, and that two fields should
1909 result. Revert tests to reflect this.
1911 * posix/wordexp.c (w_emptyword): Remove function.
1912 (exec_comm): Don't use w_emptyword.
1913 (parse_param): Likewise.
1915 1998-09-14 15:00 Ulrich Drepper <drepper@cygnus.com>
1917 * sysdeps/arm/fpu/Dist: Moved to...
1918 * sysdeps/arm/Dist: ...here.
1919 * sysdeps/posix/Dist: Removed.
1920 * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
1921 * sysdeps/unix/sysv/linux/i386/Dist: ...here.
1923 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
1925 * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
1927 1998-09-14 11:26 Ulrich Drepper <drepper@cygnus.com>
1929 * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
1931 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1933 * libc-work/nis/nss_nisplus/nisplus-service.c
1934 (_nss_nisplus_parse_servent): Convert port in network byte order.
1936 1998-09-14 07:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1938 * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
1939 to provide only malloc and calloc.
1940 * include/stdlib.h: Support the above.
1941 * string/bits/string2.h: Use __need_malloc_and_calloc when
1943 (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
1945 * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
1946 * iconvdata/iso646.c: Include <stdlib.h>.
1948 1998-09-14 07:51 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1950 * sunrpc/rpc_cout.c: Add braces around ambiguous else.
1951 * sysdeps/libm-ieee754/w_pow.c: Likewise.
1952 * sysdeps/libm-ieee754/w_powf.c: Likewise.
1953 * sysdeps/libm-ieee754/w_powl.c: Likewise.
1955 1998-09-14 07:57 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1957 * stdio-common/stdio_lim.h.in: New file. All parameters
1958 are adjustable at build time.
1959 * Rules: Add a rule to build bits/stdio_lim.h from
1960 stdio-common/stdio_lim.h.in. (It has to be in Rules so that
1961 all subdirectories know how to make the file. It can't be
1962 in Makerules because then it gets built at top level and the
1963 dependencies are wrong.)
1965 * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
1966 * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
1968 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
1969 * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
1970 * sysdeps/posix/Makefile: Removed.
1971 * sysdeps/posix/mk-stdiolim.c: Removed.
1972 * sysdeps/generic/bits/stdio_lim.h: Removed.
1974 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1976 * argp/argp-help.c: Fixup indentation.
1977 * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
1978 * resolv/nss_dns/dns-network.c: Likewise.
1979 * resolv/res_send.c: Likewise.
1980 * rt/aio_cancel.c: Likewise.
1981 * rt/aio_misc.c: Likewise.
1983 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1985 * Makefile (install-symbolic-link): Remove the link list file at last.
1986 * Makerules (install-clean-symbolic-link-list): Removed.
1988 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1990 * timezone/tst-timezone.c: Print time in UTC to get consistent
1993 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1995 * elf/rtld.c (_dl_rpath): Removed.
1996 * elf/dl-support.c (_dl_path): Removed.
1997 * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
1998 (CFLAGS-dl-support.c): Removed.
2000 * elf/dl-load.c (env_path_list): Renamed from fake_path_list. All
2002 (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
2003 instead of appending it to the main map's rpath info.
2004 (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
2005 DT_RPATHs. This makes it effective again.
2006 (decompose_rpath): Remove second parameter, callers changed.
2007 (fillin_rpath): Allocate enough space in curwd.
2008 (expand_dynamic_string_token): Cope with get_origin returning -1.
2010 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2012 * libc-work/nis/nss_compat/compat-pwd.c: Add support for
2015 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
2018 1998-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
2020 * locale/programs/locale.c: Update dates.
2022 1998-09-13 Mark Kettenis <kettenis@phys.uva.nl>
2024 * sysdeps/generic/bits/types.h: Include <features.h>. Make sure
2025 size_t is defined. Some reordering of definitions to make
2026 maintaining this file in parallel with the linux-specific file easier.
2028 1998-09-13 Ulrich Drepper <drepper@cygnus.com>
2030 * io/pwd.c (main): Add call to mtrace.
2032 * malloc/mtrace.pl: Quote @ in string.
2034 1998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk>
2036 * posix/wordexp.c (parse_arith): Fix memory leaks.
2037 (exec_comm): Likewise.
2038 (parse_param): Likewise.
2039 (wordexp): Likewise.
2040 (exec_comm): Reduce number of function return points.
2041 (parse_param): Likewise.
2042 (wordexp): Likewise.
2044 1998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk>
2046 * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
2047 yield three fields, not two. Test both parameter expansion and
2048 command substitution for correct field-splitting behaviour.
2050 * posix/wordexp.c (w_emptyword): New function.
2051 (parse_param): Use it.
2052 (exec_comm): Likewise, for consistency with the way parse_param
2054 (parse_param): Fix some memory leaks.
2056 1998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au>
2058 * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
2059 Don't mark asm `volatile'.
2060 (__elf_machine_runtime_setup): Clear the last partial block in the PLT
2061 from the data cache too. Assume it isn't in the instruction cache yet.
2062 (__elf_machine_fixup_plt): Clear the modified address from the caches.
2064 1998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
2066 * sysdeps/generic/segfault.c (install_handler): Install signal
2067 handler with SA_ONSTACK instead of setting the stack flags to
2068 SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
2071 1998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2073 * signal/signal.h: Fix multiple inclusion guard to cover the
2075 * wcsmbs/wchar.h: Remove prototype of internal function
2077 * sysdeps/i386/i486/bits/string.h (memchr): Don't do
2078 arithmetic on `void *'.
2080 1998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
2082 * posix/wordexp-test.c: Fix wrong tests. Add new tests.
2084 * posix/wordexp.c (wordexp): Perform word-splitting instead of
2085 field-splitting here.
2086 (wordexp): If out of memory mid-word, free the word (but still
2087 leave pwordexp alone for caller to see).
2088 (parse_param): Allow for zero-length fields (smarter checking of
2089 memory allocation failure).
2090 (w_addword): Convert NULL words to "".
2091 (wordexp): Convert left-over IFS characters to blanks (like bash).
2093 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
2095 * configure.in: Use test -f instead of test -e.
2096 Patch by John Tobey <jtobey@banta-im.com>.
2098 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
2099 * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
2100 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
2101 * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
2102 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
2103 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
2104 * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
2105 Patches by John Tobey <jtobey@banta-im.com>.
2107 * time/strftime.c (my_strftime): Delay use of *tp values until
2108 latest possible point to allow partly initialized structures
2109 (e.g., from strptime).
2111 * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
2113 Define *-routines variables for new modules.
2114 (distribute): Add .c files for new modules.
2115 (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
2117 Add rules for header generation.
2118 * iconvdata/gconv-modules: Add entries for new modules.
2119 * iconvdata/iso_10367-box.c: New file.
2120 * iconvdata/mac-is.c: New file.
2121 * iconvdata/nats-dano.c: New file.
2122 * iconvdata/nats-sefi.c: New file.
2124 1998-04-30 18:20 H.J. Lu <hjl@gnu.org>
2126 * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
2127 loader if PIC is not defined.
2129 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
2131 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
2132 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
2133 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
2135 Define *-routines variables for new modules.
2136 (distribute): Add .c files for new modules.
2137 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
2138 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
2139 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
2140 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
2141 Add rules for header generation.
2142 * iconvdata/gconv-modules: Add entries for new modules.
2143 * iconvdata/csn_369103.c: New file.
2144 * iconvdata/cwi.c: New file.
2145 * iconvdata/dec-mcs.c: New file.
2146 * iconvdata/ecma-cyrillic.c: New file.
2147 * iconvdata/gost_19768-74.c: New file.
2148 * iconvdata/greek-ccitt.c: New file.
2149 * iconvdata/greek7-old.c: New file.
2150 * iconvdata/greek7.c: New file.
2151 * iconvdata/inis-8.c: New file.
2152 * iconvdata/inis-cyrillic.c: New file.
2153 * iconvdata/inis.c: New file.
2154 * iconvdata/iso6937-2.c: New file.
2155 * iconvdata/iso_2033.c: New file.
2156 * iconvdata/iso_5427-ext.c: New file.
2157 * iconvdata/iso_5427.c: New file.
2158 * iconvdata/iso_5428.c: New file.
2160 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
2162 Convert U02dd correctly.
2164 1998-09-11 20:46 Richard Henderson <rth@cygnus.com>
2166 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
2167 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
2168 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
2169 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
2171 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
2173 * resolv/res_init.c (res_init): Handle resolv.conf file with only
2174 one nameserver correctly. Patch by HJ Lu.
2176 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
2178 Define *-routines variables for new modules.
2179 (distribute): Add .c files for new modules.
2180 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
2181 Add rules for hedaer generation.
2182 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
2183 * iconvdata/ansi_x3.110.c: New file.
2184 * iconvdata/asmo_449.c: New file.
2185 * iconvdata/baltic.c: New file.
2186 * iconvdata/iec_p27-1.c: New file.
2188 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
2190 Convert U02dc correctly.
2192 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
2193 * math/atest-exp2.c: Likewise.
2194 * math/atest-sincos.c: Likewise.
2196 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
2199 1998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2201 * string/strcoll.c: Optimize a few expressions.
2202 * string/strxfrm.c: Likewise.
2204 1998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2206 * manual/locale.texi: Fix typos.
2208 1998-09-10 Ulrich Drepper <drepper@cygnus.com>
2210 * stdlib/random_r.c (__setstate_r): Allow call with same state
2211 array as currently used (PR libc/774).
2213 * include/limits.h: Include gcc's header even if this file is
2214 found more than once before it (PR libc/778)
2216 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
2217 (sysdep_headers): Remove sys/debugreg.h.
2218 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
2219 (sysdep_headers): Add sys/debugreg.h.
2220 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
2221 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
2223 * stdio-common/tmpnam.c: Move local static variable buf to
2224 toplevel and rename to tmpnam_buffer to ease debugging.
2225 Patch by Joe Keane <jgk@jgk.org>.
2226 Optimize s == NULL case a bit.
2228 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
2231 1998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
2233 * resolv/res_init.c (res_init): Initialize _res.nscount and
2234 _res.nsaddr.sin_port differently for the can when no loopback
2235 is available to allow immediate timeout in non-networking environments.
2236 Patch by Cristian Gafton <gafton@redhat.com>.
2238 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2240 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
2241 BAR and not EM DASH.
2242 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
2243 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
2246 1998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
2248 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
2250 * timezone/tst-timezone.c (tests): Fix typo in last patch.
2252 * time/tzfile.c (__tzfile_read): Handle case when there are no
2253 transitions. Set __timezone based on computed offset.
2254 * time/tzset.c (tzset_internal): Set __timezone before returning.
2256 * time/tzset.c (tzset_internal): Optimize handling of local string
2259 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2261 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
2264 1998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
2266 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
2267 (csqrt_test): Likewise.
2268 * sysdeps/powerpc/bits/fenv.h: Add parens.
2270 1998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
2272 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
2273 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
2274 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
2276 1998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
2278 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
2279 the special `-1' pointer.
2281 1998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
2283 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
2286 1998-09-07 Paul Eggert <eggert@twinsun.com>
2288 * time/mktime.c (__EXTENSIONS__): Define if not defined.
2289 (_REENTRANT): Remove. It has undesirable consequences in
2290 Solaris 2.6 (e.g. it turns off the putc macro). Defining
2291 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
2293 * time/strftime.c: Likewise.
2295 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2297 * elf/dl-error.c: Fix spelling.
2299 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2301 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
2302 * stdio-common/_itoa.c: Likewise.
2303 * stdio-common/printf_fp.c: Likewise.
2304 * stdio-common/vfscanf.c: Likewise.
2305 * wcsmbs/wcstok.c: Likewise.
2306 * sysdeps/generic/glob.c: Likewise.
2307 * posix/getopt.c: Likewise.
2308 * sysdeps/posix/getaddrinfo.c: Likewise.
2309 * posix/wordexp.c: Likewise.
2310 * io/ftw.c: Likewise.
2311 * io/fts.c: Likewise.
2312 * misc/getpass.c: Likewise.
2313 * iconv/gconv_conf.c: Likewise.
2314 * argp/argp-fmtstream.c: Likewise.
2315 * argp/argp-help.c: Likewise.
2316 * elf/dl-load.c: Likewise.
2317 * locale/programs/stringtrans.c: Likewise.
2318 * catgets/gencat.c: Likewise.
2319 * posix/getconf.c: Likewise.
2320 * iconv/gconv_conf.c: Likewise.
2321 * iconv/iconv_prog.c: Likewise.
2323 * string/strcoll.c: Optimize a few expressions.
2324 * string/strxfrm.c: Likewise.
2326 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2328 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
2329 level to avoid uninit variable warning.
2331 1998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2333 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
2334 instead of _dl_default_scope[2] as argument to _dl_init_next.
2336 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
2339 1998-09-08 Ulrich Drepper <drepper@cygnus.com>
2341 Fix compatibility problems introduced in last change.
2342 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
2344 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
2345 -DWEAK_GMON_START to CFLAGS-initfini.s.
2347 * elf/dl-object.c (_dl_new_object): Store map address in
2348 _dl_loaded if _dl_loaded is NULL.
2349 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
2351 * sysdeps/generic/setrlimit64.c: Remove stub warning.
2353 1998-09-07 Ulrich Drepper <drepper@cygnus.com>
2355 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
2357 * db2/btree/bt_cursor.c: Likewise.
2358 * db2/common/db_region.db_c: Likewise.
2359 * db2/common/db_salloc.db_c: Likewise.
2360 * db2/db/db.c: Likewise.
2361 * db2/db/db_rec.c: Likewise.
2362 * db2/hash/hash.c: Likewise.
2363 * db2/hash/hash_page.c: Likewise.
2364 * db2/hash/hash_rec.c: Likewise.
2365 * db2/log/log_findckp.c: Likewise.
2366 * db2/log/log_get.c: Likewise.
2367 * db2/log/log_put.c: Likewise.
2368 * db2/mp/mp_fget.c: Likewise.
2369 * db2/mp/mp_fput.c: Likewise.
2370 * db2/mp/mp_region.c: Likewise.
2371 * stdlib/strtol.c: Likewise.
2372 * string/strcoll.c: Likewise.
2373 * string/strxfrm.c: Likewise.
2374 * argp/argp-help.c: Likewise.
2375 * argp/argp-parse.c: Likewise.
2376 * resolv/res_debug.c: Likewise.
2378 1998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
2380 * math/tgmath.h (scalb): Only define for __USE_MISC or
2381 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
2383 1998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2385 * libio/stdio.h: Fix comment.
2387 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
2390 1998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2392 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
2394 * elf/dl-open.c: Quiet -Wparentheses warnings.
2395 * iconvdata/johab.c: Likewise.
2396 * iconvdata/uhc.c: Likewise.
2397 * inet/inet_net.c: Likewise.
2398 * io/fts.c: Likewise.
2399 * locale/newlocale.c: Likewise.
2400 * misc/getttyent.c: Likewise.
2401 * misc/mntent_r.c: Likewise.
2402 * misc/ttyslot.c: Likewise.
2403 * nscd/nscd_conf.c: Likewise.
2404 * nss/nsswitch.c: Likewise.
2405 * resolv/gethnamaddr.c: Likewise.
2406 * resolv/nsap_addr.c: Likewise.
2407 * resolv/res_debug.c: Likewise.
2408 * stdio-common/_itoa.c: Likewise.
2409 * stdlib/strtod.c: Likewise.
2410 * string/strverscmp.c: Likewise.
2411 * sunrpc/svc.c: Likewise.
2412 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
2413 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
2414 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
2415 * sysdeps/posix/getaddrinfo.c: Likewise.
2417 1998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
2419 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
2420 for use of global scope.
2421 * elf/dlvsym.c (dlvsym_doit): Likewise.
2423 1998-09-02 Paul Eggert <eggert@twinsun.com>
2425 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
2426 copy the redundant bytes at the end of the format as-is; don't
2427 just copy their first byte and then rescan, as that might get
2428 us an encoding error.
2429 Account correctly for the length of multibyte sequences in the
2432 1998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
2434 * posix/wordexp-test.c: Add tests for different IFS values.
2435 Change unquoted-newline test so that newline is not in IFS.
2437 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
2438 determining IFS characters. Return WRDE_BADCHAR for unquoted
2439 special characters _except_ if they are separators.
2441 1998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
2443 * include/tgmath.h: New file.
2445 * libio/stdio.h: Correct reversed #ifs.
2446 Patch by Zack Weinberg.
2448 * manual/creature.texi: Better explain reason for feature select
2450 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
2452 1998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2454 * include/alloca.h: Add multiple-inclusion guard.
2455 * include/db.h: Likewise.
2456 * include/db_185.h: Likewise.
2457 * include/dlfcn.h: Likewise.
2458 * include/fcntl.h: Likewise.
2459 * include/grp.h: Likewise.
2460 * include/libintl.h: Likewise.
2461 * include/mntent.h: Likewise.
2462 * include/pwd.h: Likewise.
2463 * include/sched.h: Likewise.
2464 * include/search.h: Likewise.
2465 * include/setjmp.h: Likewise.
2466 * include/shadow.h: Likewise.
2467 * include/signal.h: Likewise.
2468 * include/stdio.h: Likewise.
2469 * include/stdlib.h: Likewise.
2470 * include/string.h: Likewise.
2471 * include/termios.h: Likewise.
2472 * include/time.h: Likewise.
2473 * include/ulimit.h: Likewise.
2474 * include/utmp.h: Likewise.
2475 * include/wchar.h: Likewise.
2476 * include/sys/file.h: Likewise.
2477 * include/sys/gmon.h: Likewise.
2478 * include/sys/ioctl.h: Likewise.
2479 * include/sys/mman.h: Likewise.
2480 * include/sys/resource.h: Likewise.
2481 * include/sys/select.h: Likewise.
2482 * include/sys/socket.h: Likewise.
2483 * include/sys/statfs.h: Likewise.
2484 * include/sys/time.h: Likewise.
2485 * include/sys/times.h: Likewise.
2486 * include/sys/wait.h: Likewise.
2488 1998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
2490 * version.h (VERSION): Bump to 2.0.96.
2492 Rewrite runtime linker to be truly thread-safe. There is now no
2493 global variable specifying the scope. We create all needed
2494 scopes at the time the link maps are created.
2495 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
2496 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
2497 l_symbolic_searchlist, l_scope, and l_local_scope elements in
2499 * elf/dl-close.c: Rewritten accordingly.
2500 * elf/dl-deps.c: Likewise.
2501 * elf/dl-error.c: Likewise.
2502 * elf/dl-init.c: Likewise.
2503 * elf/dl-load.c: Likewise.
2504 * elf/dl-lookup.c: Likewise.
2505 * elf/dl-object.c: Likewise.
2506 * elf/dl-open.c: Likewise.
2507 * elf/dl-reloc.c: Likewise.
2508 * elf/dl-runtime.c: Likewise.
2509 * elf/dl-support.c: Likewise.
2510 * elf/dl-symbol.c: Likewise.
2511 * elf/dl-version.c: Likewise.
2512 * elf/dlsym.c: Likewise.
2513 * elf/dlvsym.c: Likewise.
2514 * elf/ldsodefs.h: Likewise.
2515 * elf/rtld.c: Likewise.
2516 * iconv/gconv_dl.c: Likewise.
2517 * nss/nsswitch.c: Likewise.
2518 * sysdeps/i386/dl-machine.h: Likewise.
2519 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
2521 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
2522 Define RTLD_DEFAULT.
2524 1998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
2526 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
2527 __getopt_clean_environment with __environ instead of envp.
2529 1998-09-05 Roland McGrath <roland@baalperazim.frob.com>
2531 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
2533 * string/argz-extract.c (__argz_extract): Add de-consting cast for
2536 * string/argz.h (argz_next): Add de-consting cast for return.
2537 * string/argz-next.c (__argz_next): Likewise.
2539 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
2540 Don't add netinet/udp.h, netinet/ip_icmp.h here.
2541 * sysdeps/gnu/Makefile: Do it here instead.
2542 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
2543 * sysdeps/gnu/Dist: ... to here.
2545 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
2546 sysdeps/unix/sysv/linux/netinet/tcp.h,
2547 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
2549 1998-09-04 Roland McGrath <roland@baalperazim.frob.com>
2551 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
2552 * string/argz-next.c, string/argz-extract.c: Fix defns.
2554 1998-09-03 Roland McGrath <roland@baalperazim.frob.com>
2556 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
2558 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
2559 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
2560 * sysdeps/generic/sysd-stdio.c: Likewise.
2562 1998-09-02 Ulrich Drepper <drepper@cygnus.com>
2564 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
2565 (_dl_map_object_from_fd): Make NAME argument const.
2566 Remove last parameter in _dl_new_object call.
2567 (print_search_path): Correct construction of composed path name.
2568 (_dl_map_object): Prevent looking at RPATH of the main map twice.
2569 Remove last parameter in _dl_new_object call.
2570 * elf/dl-object.c: Remove last parameter. Determine whether create
2571 origin entry based on empty realname. Handle file in root directory
2573 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
2574 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
2575 Remove last parameter in _dl_new_object call.
2576 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
2577 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
2579 1998-09-01 Ulrich Drepper <drepper@cygnus.com>
2581 * elf/dl-close.c (_dl_close): Add more comments and correct some.
2582 Free l_searchlist and l_dupsearchlist.
2584 * debug/catchsegv.sh: Add one more pair of quotes.
2586 1998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
2588 * elf/dl-load.c (add_name_to_object): Change return type to void and
2589 make NAME parameter const. Allocate room for NAME in same memory
2590 block used for l_libname entry.
2591 (_dl_map_object_from_fd): Don't free NAME on failure.
2592 (map_segment): Pass SONAME to add_name_to_object, not a copy.
2593 (_dl_map_object): Don't create copy of NAME. Pass NAME to
2594 _dl_map_object_from_fd.
2595 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
2596 memory block used for l_libname entry.
2597 * elf/dl-close.c: Adjust free()ing for this change.
2599 1998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
2601 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
2603 * malloc/mtrace.c: Add bug report address. Update email address.
2604 Add more @XXX@ to print correct address size.
2606 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
2609 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
2610 for munmap call instead of examining phdr again.
2611 Free all malloc()ed strings and arrays.
2613 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
2615 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
2617 * sysdeps/powerpc/dl-machine.c: New file.
2618 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
2619 files. Revise ELF_PREFERRED_ADDRESS to take account of
2620 the new mapping information (fixes bug involving huge bloated
2621 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
2622 * sysdeps/powerpc/dl-start.S: New file.
2624 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
2626 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
2627 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
2628 others. Call elf_dynamic_do_##reloc only once (to save even more
2630 * elf/link.h: Add new members l_map_start and l_map_end to keep
2631 track of the memory map.
2632 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
2635 1998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
2637 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
2638 Reported by Andreas Jaeger.
2640 * posix/glob.h: Use __size_t instead of size_t in definitions and
2641 make sure this is defined.
2643 1998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
2645 * manual/locale.texi: Almost complete rewrite. Document more functions
2647 * manual/arith.texi: Correct reference.
2648 * manual/string.texi: Pretty printing.
2650 * manual/texinfo.tex: Update from last available version.
2652 1998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
2654 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
2656 (_nss_nis_getpwuid_r): Likewise.
2657 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
2659 * inet/rcmd.c: Implement netgroup support.
2660 Patch by Dick Streefland <dick_streefland@tasking.com>.
2662 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
2664 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
2665 object on the list is removed. Don't use this code for PIC.
2666 Reported by HJ Lu [PR libc/770].
2668 1998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
2670 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
2672 * include/stdio.h: Add __vsscanf.
2674 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
2676 Remove __vsscanf declaration.
2677 Always declare fgetpos and fsetpos.
2679 * math/math.h: Define isinf as macro.
2680 * math/bits/mathcalls.h: Change to declare __isinf all the time.
2681 Don't declare scalb for ISO C 9x.
2683 * math/tgmath.h: Define fma. Rewrite the underlying macros.
2685 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
2687 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
2690 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
2693 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2695 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
2696 Reported by jreising@frequentis.com [PR libc/767].
2698 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2700 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
2701 fl.l_start at beginning of function.
2702 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
2704 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
2706 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
2707 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
2709 * nscd/nscd.init: Make it work in RedHat systems.
2710 Patch by Christian Gafton.
2712 1998-08-29 Philip Blundell <philb@gnu.org>
2714 * catgets/Makefile: Don't try to run test programs when
2717 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
2719 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
2720 Reported by Zack Weinberg.
2722 1998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2724 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
2725 * elf/Makefile (distribute): Remove ldd.sh.in.
2727 1998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2729 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
2732 1998-08-29 Ulrich Drepper <drepper@cygnus.com>
2734 * sysdeps/i386/register-dump.h: Move to ...
2735 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
2737 1998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
2739 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
2740 with load address, not map address.
2741 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
2742 parameter and use this value.
2743 * sysdeps/arm/dl-machine.h: Likewise.
2744 * sysdeps/i386/dl-machine.h: Likewise.
2745 * sysdeps/m68k/dl-machine.h: Likewise.
2746 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
2748 * sysdeps/powerpc/dl-machine.h: Likewise
2749 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
2750 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
2752 1998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
2754 * elf/rtld.c (process_envvars): Fix copy&paste error.
2756 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
2758 (realloc_hook_ini): Don't overwrite memalign hook.
2759 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
2760 Reported by Philippe Troin <phil@fifi.org>.
2762 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
2763 Patch by Philippe Troin <phil@fifi.org>.
2765 1998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2767 * sysdeps/generic/segfault.c (install_handler): Protect the
2768 non-POSIX signals with #ifdef.
2769 (catch_segfault): Add missing mode parameter for open.
2770 * debug/catchsegv.sh: Avoid termination message from shell. Allow
2771 other termination signals.
2773 1998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2775 * debug/Makefile (distribute): Add register-dump.h.
2777 1998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2779 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
2781 1998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
2783 * elf/Makefile (distribute): Add dl-origin.h.
2784 * sysdeps/generic/dl-origin.h: New file.
2785 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
2786 * elf/link.h (struct link_map): Add l_origin field.
2787 * elf/dl-load.c (expand_dynamic_string_token): New function.
2788 (decompose_path): Remove WHERE argument, take link map pointer instead.
2789 Call expand_dynamic_string_token instead of local_strdup to make copy
2791 (_dl_init_paths): Call decompose_path with correct argument.
2792 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
2794 Check EI_OSABI and EI_ABIVERSION fields in header.
2795 Call _dl_new_object with extra argument.
2796 (_dl_map_object): Call decompose_path with correct argument.
2797 Call expand_dynamic_string_token instead of local_strdup to also
2799 Call _dl_new_object with extra argument.
2800 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
2801 but the main one if new argument is nonzero.
2802 * elf/ldsodefs.h: Adjust for _dl_new_object change.
2803 * elf/dl-support.c: Define _dl_origin_path.
2804 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
2805 (dl_main): Call _dl_new_object with extra argument.
2807 * elf/dl-close (_dl_close): Free l_name and l_origin.
2809 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
2810 modifier in asm, not c.
2812 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
2813 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
2815 1998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
2817 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
2818 variable so that map can be freed.
2819 Reported by Philippe Troin <phil@fifi.org>.
2821 * elf/dl-open.c (dl_open_worker): Correct test for extending global
2823 Patch by Philippe Troin <phil@fifi.org>.
2825 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
2827 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
2828 Don't call writev() with a 100-element vector.
2829 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
2832 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
2833 In particular, set __libc_stack_end.
2834 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
2835 undefined. Fix copyright notice.
2837 1998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2839 * math/Makefile (gmp-objs): New variable.
2840 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
2842 (tests): Add atest-exp atest-sincos atest-exp2.
2843 (tests-static): Remove atest-exp atest-sincos atest-exp2.
2845 1998-08-25 Ulrich Drepper <drepper@cygnus.com>
2847 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
2849 (_dl_unload_cache): New function.
2850 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
2851 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
2852 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
2854 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
2855 Correct comment for O_LARGEFILE.
2856 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
2857 Change O_LARGEFILE to correct value.
2859 1998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
2861 * libio/iogetline.c (_IO_getline_info): Don't read anything for
2862 N == 0. Patch by HJ Lu.
2864 1998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
2866 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
2868 1998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
2870 * argp/argp.h: Use __inline__ not inline.
2872 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
2873 an input register as being clobbered.
2874 * sysdeps/i386/memset.c (memset): Likewise.
2875 * sysdeps/i386/bzero.c (__bzero): Likewise.
2876 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
2878 1998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2880 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
2881 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
2883 1998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
2885 * debug/catchsegv.sh: Handle text preceding backtrace better.
2886 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
2887 to be installed for other signals than SIGSEGV.
2888 * sysdeps/generic/register-dump.h: New file.
2889 * sysdeps/i386/register-dump.h: New file.
2890 * sysdeps/powerpc/register-dump.h: New file.
2892 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
2894 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
2896 1998-08-24 Geoff Keating <geoffk@ozemail.com.au>
2898 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
2900 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
2902 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
2903 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
2904 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
2905 getresuid, getresgid.
2907 1998-08-16 Geoff Keating <geoffk@ozemail.com.au>
2909 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
2910 pointer in userland.
2912 1998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2914 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
2917 1998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2919 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
2920 over arguments Bourne shell compatible. Don't exit unsuccessfully
2921 if nonelf returns successfully. Avoid duplicating most of the
2923 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
2926 1998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2928 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
2930 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
2931 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
2933 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
2935 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
2936 __modify_ldt and modify_ldt.
2937 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
2939 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2940 Use orl $-1 instead of movl $-1 to save two bytes.
2941 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
2944 1998-08-17 H.J. Lu <hjl@gnu.org>
2946 * libio/Versions (_IO_do_write, _IO_file_attach,
2947 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2948 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2949 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2950 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
2952 * libio/fileops.c (_IO_do_write, _IO_file_attach,
2953 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2954 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2955 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2956 _IO_file_write, _IO_file_xsputn): Change the prefix to
2957 "_IO_new_". Added to GLIBC_2.1.
2959 * libio/libioP.h (_IO_do_write, _IO_file_attach,
2960 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2961 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2962 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2963 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
2966 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
2967 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2968 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2969 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2970 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
2972 1998-08-23 Richard Henderson <rth@cygnus.com>
2974 * Makeconfig (LDFLAGS): Remove.
2976 * csu/initfini.c: Return to .text before __gmon_start__.
2978 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
2979 (STO_MIPS_*): Rename from STO_*.
2980 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
2981 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
2983 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
2984 (main): e3s is negative on zero.
2985 * math/atest-exp2.c: Likewise.
2986 * math/atest-sincos.c: Likewise.
2988 1998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2990 * Makerules (install): Add comment about absolute paths.
2992 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
2994 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
2995 array to NUL to handle maxlen==1 case correctly.
2998 1998-08-23 Richard Henderson <rth@cygnus.com>
3000 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
3001 * sysdeps/alpha/elf/crtend.S: Likewise.
3002 * sysdeps/alpha/elf/start.S: Likewise.
3004 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
3005 non-standard pv usage.
3007 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
3008 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
3009 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
3010 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
3011 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
3012 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
3013 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
3014 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
3015 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
3016 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
3017 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
3019 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
3020 a finite non-denormal, deferring to the full IEEE version otherwise.
3022 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
3023 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
3024 * sysdeps/alpha/fpu/s_floor.c: New.
3025 * sysdeps/alpha/fpu/s_floorf.c: New.
3026 * sysdeps/alpha/fpu/s_ceil.c: New.
3027 * sysdeps/alpha/fpu/s_ceilf.c: New.
3029 1998-08-22 Philip Blundell <philb@gnu.org>
3031 * sysdeps/arm/bits/string.h: New file.
3033 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3035 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
3038 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
3039 test for recent Linux 2.1.100+ headers.
3041 1998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3043 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
3045 1998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
3047 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
3049 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3051 * Makefile (elf/ldso_install): Put back. The problem still persists.
3052 * elf/Makefile (ldso_install): Likewise.
3054 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3056 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
3058 * include/db.h: Declare __nss_db_open.
3059 * db2/Versions: Export it.
3061 * db2/makedb.c: Convert to use db2 API.
3062 * nss/nss_db/db-XXX.c: Likewise.
3063 * nss/nss_db/db-netgrp.c: Likewise.
3064 * nss/nss_db/db-alias.c: Likewise.
3065 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
3067 1998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3069 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3070 sys_setresuid, already built automatically (or not).
3071 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
3072 instead of __syscall_setresuid and add back setresuid.
3073 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
3074 __syscall_setresuid.
3076 1998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3078 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
3080 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
3082 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
3083 BASH-ONLY marked region.
3084 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
3086 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
3088 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
3091 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
3093 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
3096 1998-08-21 Roland McGrath <roland@baalperazim.frob.com>
3098 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
3099 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
3100 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
3101 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
3102 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
3103 those magic comments, and to use /bin/sh for @BASH@.
3104 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
3105 * elf/ldd.sh.in: File removed.
3107 1998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
3109 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
3110 cast them to unsigned long int.
3111 * pwd/putpwent.c (putpwent): Likewise.
3112 Patch by John Tobey <jtobey@banta-im.com>.
3114 1998-08-20 17:14 H.J. Lu <hjl@gnu.org>
3116 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
3119 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
3121 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
3124 1998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
3126 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
3127 Add umount and umount2.
3128 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
3129 * sysdeps/unix/sysv/linux/umount.S: New file.
3130 * sysdeps/unix/sysv/linux/umount2.S: New file.
3131 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
3134 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
3136 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
3137 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
3139 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
3141 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
3144 1998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
3146 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
3147 * elf/ldd.bash.in: Likewise.
3149 * elf/sln.c: Avoid warning for no main prototype.
3151 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
3153 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
3154 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3156 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
3158 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
3159 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
3160 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3162 1998-08-20 Philip Blundell <pb@nexus.co.uk>
3164 * sysdeps/arm/fpu/ieee754.h: Move to...
3165 * sysdeps/arm/ieee754.h: ... here.
3167 * sysdeps/arm/__longjmp.S: Put return value in correct register.
3168 Don't set the condition flags unnecessarily.
3169 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
3170 registers correctly.
3172 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
3173 (patch from Scott Bambrough).
3175 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
3177 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
3178 NULL, just call it unconditionally.
3179 (__gmon_start__): Provide stub version as a weak symbol.
3181 1998-07-30 Philip Blundell <philb@gnu.org>
3183 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
3186 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
3187 like `@' in .type directives.
3189 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
3190 * sysdeps/arm/bsd-_setjmp.S: Likewise.
3192 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
3194 1998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3196 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
3197 (F_GETOWN): Likewise.
3199 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
3202 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
3204 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
3207 1998-08-18 Ulrich Drepper <drepper@cygnus.com>
3209 * include/features.h: Define __USE_EXTERN_INLINES for recent
3211 * argp/argp.h: Define extern inline functions only if
3212 __USE_EXTERN_INLINES is defined.
3213 * libio/stdio.h: Likewise.
3214 * math/math.h: Likewise.
3215 * stdlib/stdlib.h: Likewise.
3216 * string/argz.h: Likewise.
3217 * sysdeps/generic/bits/sigset.h: Likewise.
3218 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
3219 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
3220 * sysdeps/wordsize-32/inttypes.h: Likewise.
3221 * sysdeps/wordsize-64/inttypes.h: Likewise.
3222 * wcsmbs/wchar.h: Likewise.
3224 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
3225 to allow compilation without optimization.
3227 1998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3229 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
3231 * nis/nss_compat/compat-initgroups.c: Likewise.
3232 * nis/nss_compat/compat-pwd.c: Likewise.
3233 * nis/nss_compat/compat-spwd.c: Likewise.
3234 * nis/nss_nis/nis-alias.c: Likewise.
3235 * nis/nss_nis/nis-ethers.c: Likewise.
3236 * nis/nss_nis/nis-grp.c: Likewise.
3237 * nis/nss_nis/nis-hosts.c: Likewise.
3238 * nis/nss_nis/nis-initgroups.c: Likewise.
3239 * nis/nss_nis/nis-network.c: Likewise.
3240 * nis/nss_nis/nis-proto.c: Likewise.
3241 * nis/nss_nis/nis-pwd.c: Likewise.
3242 * nis/nss_nis/nis-rpc.c: Likewise.
3243 * nis/nss_nis/nis-service.c: Likewise.
3244 * nis/nss_nis/nis-spwd.c: Likewise.
3246 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
3248 * nis/ypclnt.c: Try binding dir only first time, could be to old.
3250 * nis/yp_xdr.c: Remove 1024 byte limit.
3251 * nis/ypupdate_xdr.c: Likewise.
3253 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
3256 1998-08-18 Roland McGrath <roland@baalperazim.frob.com>
3258 * Rules (binaries-static, binaries-shared static pattern rules):
3259 Depend on lib%, not just libc%, from $(link-libc{,-static}).
3261 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
3262 this here, overriding Makeconfig generic value so we link against
3265 1998-08-17 Ulrich Drepper <drepper@cygnus.com>
3267 * posix/tstgetopt.c (options): Add NULL entry at end
3268 Patch by Adrian Miranda <ade@psg.com>.
3270 1998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
3272 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
3275 1998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
3277 * elf/elf.h: Add PPC Diab relocations.
3279 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
3281 1998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
3283 * manual/texinfo.tex: Update.
3285 1998-08-07 Geoff Keating <geoffk@ozemail.com.au>
3287 * sysdeps/powerpc/backtrace.c: New file.
3289 1998-08-14 Philip Blundell <pb@nexus.co.uk>
3291 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
3293 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
3295 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3297 * Makefile (install-symbolic-link): Fix spelling.
3299 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3301 * elf/elf.h (SHT_HIOS): Fix value.
3303 1998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3305 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
3306 part of the expansion, this is undefined by the standard.
3308 1998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
3310 * posix/getconf.c: Add support for systems with incomplete confname.h.
3312 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
3314 * sysdeps/posix/wait3.c: Make it work.
3316 1998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3318 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
3319 (elf/ldso_install): Remove.
3321 * elf/Makefile (distribute): Add sln.c.
3323 (others-static): Add sln.
3324 (install-rootsbin): Add sln.
3325 (others-static): Add sln.
3326 (ldso_install): Remove.
3328 1998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3330 * Makerules (install-clean-symbolic-link-list): Make phony.
3331 * Makefile (install-symbolic-link): Make phony. Depend on
3332 subdir_install for parallel makes.
3335 1998-07-22 Ulrich Drepper <drepper@cygnus.com>
3337 * elf/Makefile (distribute): Add sln.c
3339 1998-07-21 07:10 H.J. Lu <hjl@gnu.org>
3341 * elf/sln.c: New file.
3343 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
3344 (install-clean-symbolic-link-list): New target.
3345 (install): Depend on install-clean-symbolic-link-list.
3346 (make-shlib-link): Changed for $(symbolic-link-list).
3348 * Makefile (install-symbolic-link): New target.
3349 (install): Depend on install-symbolic-link.
3351 1998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
3353 * include/unistd.h: Protect against multiple inclusion.
3355 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
3356 is defined, not is glob is defined.
3357 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
3359 1998-08-01 17:18 H.J. Lu <hjl@gnu.org>
3361 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
3362 xdr_string for ut_line, ut_name and ut_host.
3364 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3366 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
3367 /var/mail in accordance with FHS 2.0.
3368 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
3370 1998-08-12 Richard Henderson <rth@cygnus.com>
3372 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
3373 Update aliases for cancelation.
3375 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
3376 playing with symbol versions.
3378 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
3380 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
3381 multiple inclusion protection.
3382 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
3383 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
3384 define all these to 1.
3385 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
3387 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
3389 * sysdeps/mach/usleep.c: Include <unistd.h>.
3390 (usleep): Return void.
3392 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
3394 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
3395 decl to inhibit warning in if_freenameindex defn.
3397 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
3399 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
3401 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
3402 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
3403 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
3404 * sysdeps/mach/usleep.c: Likewise.
3406 * sysdeps/mach/hurd/bind.c (bind): Add a const.
3408 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
3409 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
3410 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
3411 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
3412 * sysdeps/mach/usleep.c (usleep): Likewise.
3413 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
3414 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
3415 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
3416 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
3418 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
3420 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
3423 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
3424 %p arg to fprintf, since `void *' is the right type already.
3426 1998-07-25 19:47 Jose M. Moya <josem@gnu.org>
3428 * sysdeps/mach/hurd/getcwd.c
3429 (_hurd_canonicalize_directory_name_internal): Do not loop forever
3430 for unknown root directories.
3431 (__getcwd): Return NULL when the current root directory could not
3434 1998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
3436 * string/strsignal.c (strsignal): Count real-time signals from zero.
3439 See ChangeLog.8 for earlier changes.