Update.
[glibc.git] / ChangeLog
blob25a679d4f6b00bd1992e6bd85fc4d0ad44562194
1 1998-10-30  Geoff Keating  <geoffk@ozemail.com.au> 
2  
3         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Really correct  
4         _llseek. 
5  
6 1998-10-30  Geoff Keating  <geoffk@ozemail.com.au> 
7  
8         * math/libm-test.c: Loosen deltas for sin(0.9)^2+cos(0.9)^2. 
9  
10 1998-10-29  Ulrich Drepper  <drepper@cygnus.com>
12         * stdio-common/vfprintf.c (vfprintf): Fix the remaining premature
13         returns without cleaning up the lock.
14         (printf_unknown): Add label all_done.
16         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Keep Linux 2.0
17         kernels in mind when reading /proc/self/fd/FD.
18         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
20         * nscd/nscd.c (doc): It's "Name Service" not "Name Switch".
22         * malloc/mtrace.c (tr_where): Replace snprintf call by mempcpy and
23         _fitoa.
25         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Try reading
26         /prof/self/fd/FD first.
27         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
29         * stdio-common/_itoa.h (_fitoa_word): New inline function.  Write
30         formatted number starting at given position and return pointer to
31         following byte.
32         (_fitoa): Likewise, for long long.
34 1998-10-29  Roland McGrath  <roland@baalperazim.frob.com>
36         * sysdeps/unix/sysv/linux/bits/sem.h,
37         sysdeps/unix/sysv/linux/bits/ipc.h,
38         sysdeps/unix/sysv/linux/bits/shm.h,
39         sysdeps/unix/sysv/linux/bits/msq.h: Moved to ...
40         * sysdeps/gnu/bits/sem.h, sysdeps/gnu/bits/ipc.h,
41         sysdeps/gnu/bits/shm.h, sysdeps/gnu/bits/msq.h: ... here,
42         so the same bits will be used for the Hurd.
44 1998-10-29  Ulrich Drepper  <drepper@cygnus.com>
46         * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Allow
47         compiling on systems without rt_sigaction syscall.
49 1998-10-12  Philip Blundell  <pb@nexus.co.uk>
51         * Makeconfig (sysdep-subdirs): Allow Subdirs files to remove
52         directories as well as add them.
54 1998-10-28  Philip Blundell  <pb@nexus.co.uk>
56         * sysdeps/unix/sysv/linux/neteconet/ec.h: New file.  Support for
57         AF_ECONET sockets as found in recent Linux 2.1 kernels.
58         * sysdeps/unix/sysv/linux/Dist: Distribute it.
59         * sysdeps/unix/sysv/linux/Makefile: Install it.
61 1998-10-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
63         * string/bits/string2.h: __USE_GNU already implies __USE_MISC.
65 1998-10-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
67         * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
68         fds_bits member.
69         * sysdeps/unix/sysv/linux/alpha/bits/types.h (__FDS_BITS): Likewise.
70         * sysdeps/unix/sysv/linux/bits/types.h (__FDS_BITS): Likewise.
71         * sysdeps/unix/sysv/linux/mips/bits/types.h (__FDS_BITS): Likewise.
72         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__FDS_BITS):
73         Likewise.
74         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h (__FDS_BITS):
75         Likewise.
76         * sysdeps/generic/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
77         __FD_ISSET): Use it.
78         * sysdeps/i386/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
79         __FD_ISSET): Likewise.
81 1998-10-28  Geoff Keating  <geoffk@ozemail.com.au>
83         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Tidy up, correct
84         llseek.
86         * sysdeps/unix/sysv/linux/powerpc/pread.c: Do not use the i386 version.
87         Instead call the system call wrapper function using an 64bit argument.
88         * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
89         * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
90         * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
92 1998-10-27  Ulrich Drepper  <drepper@cygnus.com>
94         * signal/signal.h: Don't include <time.h> for timespec, add
95         forward declaration.
97         * sysdeps/i386/bits/select.h [!__USE_XOPEN]: Add special version
98         of __FD_* macros which use __fds_bits.
99         * sysdeps/generic/bits/select.h: Likewise.
100         Reported by Matt McLean <keys@yikes.com>.
102 1998-10-27  Philip Blundell  <pb@nexus.co.uk>
104         * elf/elf.h: Update ARM definitions.
106 1998-10-27  Ulrich Drepper  <drepper@cygnus.com>
108         * signal/signal.h: Include bits/sigthread.h only for Unix98.
110 1998-10-26  Ulrich Drepper  <drepper@cygnus.com>
112         * include/libc-symbols.h: If HAVE_BUILTIN_EXPECT is not defined
113         define __builtin_expect as a macro substituting to the first
114         argument.
115         * config.h.in: Define HAVE_BUILTIN_EXPECT.
116         * configure.in: Add test for __builtin_expect.
118         * sysdeps/unix/sysv/linux/bits/types.h: Include
119         bits/pthreadtypes.h only not for POSIX 199506.
120         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
121         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
122         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
124 1998-10-26  Mark Kettenis  <kettenis@phys.uva.nl>
126         * sysdeps/unix/sysv/linux/Versions: Move shutdown ...
127         * socket/Versions [libc, GLIBC_2.0]: ... to here.
129 1998-10-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
131         * include/stdio.h: Included <stddef.h> for size_t.
133         * stdio/stdio.h: Move __path_search, __gen_tempname, __libc_fatal
134         to ...
135         * include/stdio.h: ...here.
136         * libio/stdio.h: Removed __path_search, __gen_tempname, __libc_fatal.
138 1998-10-26 11:09  Ulrich Drepper  <drepper@cygnus.com>
140         * time/Makefile (tests): Add tst-posixtz.
141         * time/tst-posixtz.c: New file.
143 1998-10-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
145         * elf/rtld.c (process_envvars): Accept any non-null value of
146         LD_BIND_NOW, as mandated by the ABI.
148 1998-10-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
150         * sysdeps/unix/sysv/linux/pread.c: Rename __syscall_pread64 to
151         __syscall_pread.
152         * sysdeps/unix/sysv/linux/pwrite.c: Rename __syscall_pwrite64 to
153         __syscall_pwrite.
154         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
155         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
156         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
157         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
158         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.  Remove
159         duplicate entries.
160         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
161         s_pread64 and s_pwrite64.
162         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
164 1998-10-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
166         * sysdeps/unix/sysv/linux/llseek.c: Use INLINE_SYSCALL.
167         * sysdeps/unix/sysv/linux/arm/syscalls.list: Rename __sys_llseek
168         to __syscall__llseek.
169         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
170         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
171         * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove entry for
172         __sys_llseek.
174 1998-10-26  Cristian Gafton  <gafton@redhat.com>
176         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add s_setfsgid
177         and s_setfsuid.
179 1998-10-26  Ulrich Drepper  <drepper@cygnus.com>
181         * time/tzset.c (tz_compute): Correct last patch and describe this
182         in a comment.
184 1998-10-24  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
186         * sysdeps/unix/sysv/linux/m68k/Makefile [subdir=signal]: Remove
187         rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo,
188         rt_sigaction and rt_sigpending.
189         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove all entries
190         for __syscall_* functions.
191         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Implement INLINE_SYSCALL.
193 1998-10-26  Roland McGrath  <roland@baalperazim.frob.com>
195         * hurd/Versions: Add _hurd_dtable, _hurd_dtablesize,
196         _hurd_dtable_lock, _hurd_intern_fd.
198         * sysdeps/mach/hurd/Versions: Add cthread_keycreate,
199         cthread_getspecific, cthread_setspecific, __libc_getspecific.
201         * mach/Versions: Fix typo in last change.
203 1998-10-25  Ulrich Drepper  <drepper@cygnus.com>
205         * time/tzset.c (tz_compute): If time to switch to DST is later in
206         the year switch back in the next year.
207         Reported by jwitford@hutch.com.au.
209 1998-10-24  Mark Kettenis  <kettenis@phys.uva.nl>
211         * mach/Versions: Add evc_wait, mach_error, mach_error_string,
212         mach_error_type, mach_msg_destroy, mig_deallocate_reply_port.
213         Remove __mach_host_self, __mach_reply_port, __mach_setup_thread,
214         __mach_port_allocate, __mach_port_allocate_name,
215         __mach_port_insert_right __mutex_trylock, __mutex_lock,
216         __mutex_unlock, __swtch, __switch, __task_create, __task_suspend,
217         __task_set_special_port, __task_terminate, __thread_depress_abort,
218         __thread_switch, __vm_allocate, __vm_deallocate, __vm_map.  These
219         functions are not used outside libc.
221         * sysdeps/mach/hurd/Versions: New file.
222         [libc, GLIBC_2.0]: Add _cthread_exit_routine and
223         _cthread_init_routine.  These are set by the Hurd cthreads library.
224         Add __getcwd, __mmap.  If we don't add these, the weak definitions in
225         the dynamic linker will not be replaced by the corresponding shared
226         library routines once they are loaded.
228 1998-10-21  Mark Kettenis  <kettenis@phys.uva.nl>
230         * sysdeps/mach/hurd/i386/init-first.c: Only define
231         __libc_enable_secure if PIC is not defined.
233 1998-10-25  Roland McGrath  <roland@baalperazim.frob.com>
235         * argp/Versions: Add _argp_unlock_xxx.  Lock-savvy functions call this
236         to recurse into argp.
238 1998-10-25  Ulrich Drepper  <drepper@cygnus.com>
240         * include/features.h: Define __USE_POSIS199506 is _POSIX_C_SOURCE is
241         greater or equal than 199506L.
243         * sysdeps/generic/bits/types.h (__fd_set): Define element as fds_bits
244         only is __USE_XOPEN.  Otherwise use __fds_bits.
245         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
246         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
247         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
248         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
249         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
251 1998-10-24  H.J. Lu  <hjl@gnu.org>
253         * locale/programs/charmap.c (parse_charmap): Accept tok_string
254         for <code_set_name>.
256 1998-10-25  H.J. Lu  <hjl@gnu.org>
258         * locale/programs/ld-ctype.c (ctype_finish): Also check
259         <space>.
261 1998-10-25  Ulrich Drepper  <drepper@cygnus.com>
263         * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX199506.
265         * sysdeps/unix/sysv/linux/bits/types.h: Include pthreadtypes.h only
266         if __USE_POSIX199506 or __USE_UNIX98.
268 1998-10-24 22:34 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
270         * string/bits/string2.h: Inline strdup+friends only if
271         __USE_MISC || __USE_GNU (prevents namespace pollution).
273 1998-10-24  H.J. Lu  <hjl@gnu.org>
275         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (LOCK_SH,
276         LOCK_EX, LOCK_NB, LOCK_UN): Protect with __USE_BSD.
277         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (LOCK_SH, LOCK_EX,
278         LOCK_NB, LOCK_UN): Likewise.
279         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (LOCK_SH, LOCK_EX,
280         LOCK_NB, LOCK_UN): Likewise.
281         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (LOCK_SH, LOCK_EX,
282         LOCK_NB, LOCK_UN): Likewise.
283         * sysdeps/unix/sysv/linux/bits/fcntl.h (LOCK_SH, LOCK_EX,
284         LOCK_NB, LOCK_UN): Likewise.
286 1998-10-24  H.J. Lu  <hjl@gnu.org>
288         * libio/ioseekoff.c (_IO_seekoff): Check the valid dir value.
290         * libio/rewind.c (rewind): Clear the error.
292 1998-10-24  H.J. Lu  <hjl@gnu.org>
294         * grp/grp.h (getgrent_r, getgrgid_r, getgrnam_r): Add "__" to
295         "buffer".
297 1998-10-24  H.J. Lu  <hjl@gnu.org>
299         * sysdeps/unix/sysv/linux/alpha/bits/time.h (timeval): Protect
300         with __need_timeval.
301         * sysdeps/unix/sysv/linux/mips/bits/time.h (timeval): Likewise.
302         * sysdeps/unix/sysv/linux/bits/time.h (timeval): Likewise.
304 1998-10-24  H.J. Lu  <hjl@gnu.org>
306         * signal/signal.h (timespec, siginfo_t, sigwaitinfo, sigtimedwait,
307         sigqueue): Protect with __USE_POSIX199309.
309 1998-10-24  H.J. Lu  <hjl@gnu.org>
311         * time/time.h (timespec): Protect with __USE_POSIX199309 instead of
312         __USE_POSIX.
314 1998-10-24  H.J. Lu  <hjl@gnu.org>
316         * libio/fileops.c (_IO_new_file_seekoff): Always resync with
317         the kernel file offset.
318         * libio/oldfileops.c (_IO_old_file_seekoff): Likewise.
320 1998-10-24  H.J. Lu  <hjl@gnu.org>
322         * time/tzfile.c (__tzfile_default): Set num_types to 2.
324 1998-10-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
326         * rt/aio.h: Move __aio_init to...
327         * include/aio.h: ...here.
329 1998-10-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
331         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove duplicate
332         definition of O_LARGEFILE.
334 1998-10-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
336         * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Use path
337         as first argument to statfs.
339 1998-10-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
341         * sysdeps/generic/setenv.c (setenv): Add braces around ambiguous else.
343 1998-10-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
345         * malloc/mtrace.c: Include <string.h> for strlen.
347 1998-10-24  Roland McGrath  <roland@baalperazim.frob.com>
349         * sysdeps/mach/hurd/bits/environments.h: New file.
351         * sysdeps/mach/hurd/dl-sysdep.c (__getcwd): New weak function.
353         * mach/Versions, hurd/Versions: Add numerous symbols.
354         Remove libmachuser and libhurduser sections, punt
355         versioning for those libraries for now.
357         * misc/Versions: Add reboot here; it exists on all platforms.
358         * sysdeps/unix/sysv/linux/Versions: Remove reboot here.
360 1998-10-23  Ulrich Drepper  <drepper@cygnus.com>
362         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOFOLLOW): New
363         macro.
364         * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
365         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
366         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_LARGEFILE,
367         O_NOFOLLOW, O_DIRECT): New macros.
368         (O_DIRECTORY): Correct definition according to official 2.1.126.
369         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECTORY,
370         O_NOFOLLOW): New macros.
372 1998-10-24  Roland McGrath  <roland@baalperazim.frob.com>
374         * include/ldsodefs.h: Test HAVE_ELF instead of __ELF__.
376         * sysdeps/mach/hurd/opendir.c (__opendir): Return ENOENT for "".
377         (__opendir): Add trailing slash to name for open, for ENOTDIR check.
379 1998-10-23  Ulrich Drepper  <drepper@cygnus.com>
381         * sysdeps/unix/sysv/linux/i386/Dist: Add setresuid.c, setresgid.c,
382         setfsuid.c, and setfsgid.c.
383         * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
384         * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
385         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
387         * version.h (VERSION): Bump to 2.0.99.
389         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove duplicate
390         ustat definition.
392         * sysdeps/unix/sysv/linux/i386/Dist: Remove s_pread64.c and
393         s_pwrite64.c.
395         * posix/fnmath.h: Don't redefine __P when used in glibc.
396         * posix/glob.h: Likewise.
398         * inet/rcmd.c (__ivaliduser2): Fix memory leak.
399         Patch by Dick Streefland <dick_streefland@tasking.com>.
401         * stdio-common/tst-ungetc.c: Add more test cases.
403         * sysdeps/unix/sysv/linux/Dist: Add linux_fsinfo.h.
404         * sysdeps/unix/sysv/linux/fstatvfs.c: Move filesystem magic number
405         definitions to ...
406         * sysdeps/unix/sysv/linux/linux_fsinfo.h: ...here.  New file.
407         * sysdeps/unix/sysv/linux/fpathconf.c: New file.
408         * sysdeps/unix/sysv/linux/pathconf.c: New file.
409         * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Handle _PC_LINK_MAX here.
410         * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
412 1998-10-20  Philip Blundell  <pb@nexus.co.uk>
414         * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Include
415         <asm/ptrace.h> to define struct pt_regs.
416         * sysdeps/unix/sysv/linux/arm/profil-counter.h: Don't bother
417         including <asm/ptrace.h> here.
419         * sysdeps/unix/sysv/linux/arm/sysdep.S: Remove spurious call to
420         C_SYMBOL_NAME macro.
422 1998-10-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
424         * sysdeps/generic/sys/ptrace.h (__ptrace_request): Remove comma at
425         end of enumerator list.
426         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Likewise.
427         * posix/wordexp.h: Likewise.
429         * db/db.h: Use __PMT instead of __P in typedefs.
430         * db/mpool.h: Likewise.
431         * sysdeps/generic/bits/siginfo.h: Likewise.
432         * nis/rpcsvc/ypclnt.h: Likewise.
434 1998-10-23  Ulrich Drepper  <drepper@cygnus.com>
436         * libio/genops.c (_IO_seekmark): When switching to backup buffer
437         make sure all characters from the read buffer are read after
438         switching back to it.
440 1998-10-22  Ulrich Drepper  <drepper@cygnus.com>
442         * configure.in: Add support for Cygnus GNUPro compilers.
444 1998-10-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
446         * stdio/stdio.h: Use __PMT instead of __P in typedefs.
448         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use __PMT instead
449         of __P for sa_restorer.
450         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
451         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
452         kernel_sigaction, old_kernel_sigaction): Likewise.
454 1998-10-22  Ulrich Drepper  <drepper@cygnus.com>
456         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add __syscall_pread
457         and __syscall_pwrite aliases.
459         * sunrpc/rpc/auth.h (AUTH_DH): New macro.  Alias for AUTH_DES.
461         * sysdeps/unix/sysv/linux/i386/sysdep.h: Drastically simplify and
462         improve INLINE_SYSCALL using macro assembler magic.
464 1998-10-22  H.J. Lu  <hjl@gnu.org>
466         * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Add
467         sanity check for n.
468         * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
470         * sysdeps/posix/fpathconf.c (__fpathconf): Set errno to
471         EINVAL if errno == ENODEV.  Tested by VSX-PCT.
473         * sysdeps/posix/isatty.c (__isatty): Don't reset errno.  Tested
474         by VSX-PCT.
476         * posix/execvp.c (execvp): Check "".  Tested by VSX-PCT.
478 1998-10-22  Philip Blundell  <pb@nexus.co.uk>
480         * sysdeps/unix/arm/sysdep.h: Wrap assembler macros in #ifdef
481         __ASSEMBLER__.
483 1998-10-21  Ulrich Drepper  <drepper@cygnus.com>
485         * sysdeps/unix/sysv/linux/i386/sysdep.h: Remove EXTRAVARS_* macros
486         and adjust formats.
488 1998-10-21 14:38  Ulrich Drepper  <drepper@cygnus.com>
490         * sysdeps/unix/sysdep.h (INLINE_SYSCALL): New macro.  Simply call
491         __syscall_* function.
492         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use INLINE_SYSCALL instead
493         of calling __syscall_* function.
494         * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
495         * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
496         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
497         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
498         * sysdeps/unix/sysv/linux/getpriority.c: Likewise.
499         * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
500         * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
501         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
502         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
503         * sysdeps/unix/sysv/linux/poll.c: Likewise.
504         * sysdeps/unix/sysv/linux/pread.c: Likewise.
505         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
506         * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
507         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
508         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
509         * sysdeps/unix/sysv/linux/readv.c: Likewise.
510         * sysdeps/unix/sysv/linux/reboot.c: Likewise.
511         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
512         * sysdeps/unix/sysv/linux/siglist.h: Likewise.
513         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
514         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
515         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
516         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
517         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
518         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
519         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
520         * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
521         * sysdeps/unix/sysv/linux/ustat.c: Likewise.
522         * sysdeps/unix/sysv/linux/writev.c: Likewise.
523         * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
524         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
525         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
526         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
527         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
528         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
529         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
530         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
531         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
532         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
533         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
534         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
535         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
537         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define INLINE_SYSCALL using
538         inline assembler.
539         * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove various
540         __syscall_* definitions.
542         * sysdeps/unix/sysv/linux/syscalls.list: Move various __syscall_*
543         definitions to...
544         * sysdeps/unix/sysv/linux/alpha/syscalls.list: ...here...
545         * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
546         * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
547         * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
548         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
549         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
550         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
552         * sysdeps/unix/sysv/linux/Makefile [subdir=signal] (sysdep_routines):
553         Move definition to...
554         * sysdeps/unix/sysv/linux/alpha/Makefile: ...here...
555         * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
556         * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
557         * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
558         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
559         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
560         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
562         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
563         (sysdep_routines): Remove s_pread64 and s_pwrite64.
565         * sysdeps/unix/sysv/linux/i386/pread.c: New file.
566         * sysdeps/unix/sysv/linux/i386/pread64.c: New file.
567         * sysdeps/unix/sysv/linux/i386/pwrite.c: New file.
568         * sysdeps/unix/sysv/linux/i386/pwrite64.c: New file.
569         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Removed.
570         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Removed.
572 1998-10-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
574         * sysdeps/unix/sysv/linux/siglist.h: Fix some typos in these files
575         and bring them in synch.
576         * sysdeps/unix/siglist.c: Likewise.
577         Reported by Vladimir Michl <michlv@risc.upol.cz> [PR libc/832].
579 1998-10-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
581         * sysdeps/unix/sysv/linux/i386/setresuid.c: Allow -1 as arguments.
582         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
584         * sysdeps/unix/sysv/linux/i386/setreuid.c: New file.
585         * sysdeps/unix/sysv/linux/i386/setregid.c: New file.
586         * sysdeps/unix/sysv/linux/m68k/setreuid.c: New file.
587         * sysdeps/unix/sysv/linux/m68k/setregid.c: New file.
588         * sysdeps/unix/sysv/linux/arm/setreuid.c: New file.
589         * sysdeps/unix/sysv/linux/arm/setregid.c: New file.
590         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: New file.
591         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: New file.
592         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_setreuid and
593         s_setregid.
594         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
595         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
596         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
598 1998-10-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
600         * sunrpc/rpc_main.c (close_output, close_input): New functions.
601         (c_output, h_output, s_output, l_output, t_output, svc_output,
602         clnt_output, mkfile_output): Call them at the end.
604 1998-10-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
606         * db/Makefile (LDFLAGS-db1.so): New variable, to avoid duplicating
607         link command.
609 1998-10-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
611         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Add real contents.
612         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add s_setfs[ug]id.
614 1998-10-20  Ulrich Drepper  <drepper@cygnus.com>
616         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_pread64 and
617         s_pwrite64.
618         * sysdeps/unix/sysv/linux/powerpc/pread.c: New file.
619         * sysdeps/unix/sysv/linux/powerpc/pread64.c: New file.
620         * sysdeps/unix/sysv/linux/powerpc/pwrite.c: New file.
621         * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: New file.
622         Patch by Geoffrey KEATING <geoffk@discus.anu.edu.au>.
624 1998-10-18  Zack Weinberg  <zack@rabi.phys.columbia.edu>
626         * sysdeps/unix/opendir.c: Check at runtime for kernel support for
627         O_DIRECTORY.
629 1998-10-20  H.J. Lu  <hjl@gnu.org>
631         * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Fix
632         argument types.
634 1998-10-19  Ulrich Drepper  <drepper@cygnus.com>
636         * math/tgmath.h: Make nested function calls work.
638         * include/ldsodefs.h: Fix typo.
640         * posix/Makefile (tests): Add tst-preadwrite.
641         * posix/tst-preadwrite.c: New file.
643         * sysdeps/unix/opendir.c (__opendir): Add back fstat call to make
644         sure that descriptor is in any case for a directory.
646 1998-10-19 18:59 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
648         * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG): Fix typo: val -> Val.
649         (atan2): Takes two arguments.
651 1998-10-19  Ulrich Drepper  <drepper@cygnus.com>
653         * include/ldsodefs.h: New file.
655         * iconv/gconv.c: Include ldsodefs.h, not elf/ldsodefs.h.
656         Remove change to avoid using _CALL_DL_FCT.
657         * iconv/gconv_db.c: Likewise.
658         * iconv/gconv_dl.c: Likewise.
659         * iconv/skeleton.c: Likewise, here for DL_CALL_FCT.
660         * malloc/mtrace.c: Include ldsodefs.h, not elf/ldsodefs.h.
661         * nss/nsswitch.c: Likewise.
662         * nss/nsswitch.h: Likewise.
664 1998-10-19  Philip Blundell  <pb@nexus.co.uk>
666         * sunrpc/Makefile (otherlibs): If static NSS is in use, set to the
667         required libraries.
668         * login/Makefile (otherlibs): Likewise.
669         * nscd/Makefile (otherlibs): Likewise.
670         * Makeconfig (link-libc) [! build_shared]: Add $(otherlibs).
672         * debug/Makefile (install-bin): Only build catchsegv if using ELF.
674         * inet/Makefile: Add -DSTATIC_NSS to CFLAGS.
676 1998-10-19  Philip Blundell  <pb@nexus.co.uk>
678         * sysdeps/unix/sysv/linux/arm/syscalls.list: Added setfsgid
679         and setfsuid.
681 1998-10-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
683         * nscd/connections.c: Fix typos in comments and strings.
685         * nscd/nscd.conf: Update according to recent changes to nscd.
687         * nscd/cache.c (prune_cache): Remove wrong comment.
689 1998-10-19 13:24  Ulrich Drepper  <drepper@cygnus.com>
691         * locale/programs/ld-collate.c (collate_startup): Clear bit for this
692         category in copy_posix.
693         (collate_finish): Don't warn about UNDEFINED not being defined.
694         * locale/programs/ld-ctype.c (ctype_startup): Clear bit for this
695         category in copy_posix.
696         * locale/programs/ld-messages.c (messages_startup): Likewise.
697         * locale/programs/ld-monetary.c (monetary_startup): Likewise.
698         * locale/programs/ld-numeric.c (numeric_startup): Likewise.
699         * locale/programs/ld-time.c (time_startup): Likewise.
700         * locale/programs/localedef.c: Move copy_def_list_t definition into
701         locales.h.  Define copy_posix variable.
702         (main): Before processing copy list add &copy_posix to copy_list.
703         * locale/programs/locales.h: Add definition of copy_def_list_t.
704         * locale/programs/locfile.c: Clear bit for appropriate category in
705         copy_posix.mask for copy instruction.
707 1998-10-19  Ulrich Drepper  <drepper@cygnus.com>
709         * sysdeps/unix/sysv/linux/i386/setresgid.c: Remove #include of
710         non-existing file with generic implementation.
711         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
713 1998-10-19  Philip Blundell  <pb@nexus.co.uk>
715         * iconv/gconv_db.c: Include ELF header only if STATIC_GCONV is not
716         defined.  Avoid using _CALL_DL_FCT if it is not defined.
717         * iconv/gconv.c: Likewise.
719 1998-10-19  Ulrich Drepper  <drepper@cygnus.com>
721         * nscd/connections.c (dbs): Define defualt values for timeouts and
722         set enabled to 0 by default.
723         (CACHE_PRUNE_INTERVAL): New constant.  Use it instead of magical 15 in
724         nscd_run.
726         * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISCNTRL bit for
727         character >= 0x80.
728         (_nl_C_LC_CTYPE_class32): Likewise.
729         Reported by HJ Lu.
731 1998-10-19  Roland McGrath  <roland@baalperazim.frob.com>
733         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
734         _HURD_THREADVAR_DL_ERROR.
736         * hurd/Makefile (user-interfaces): Add login, password.
738         * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses.
740 1998-08-06  Mark Kettenis  <kettenis@phys.uva.nl>
742         [submitted 1998-08-06]
743         * mach/Machrules: Create target directory and force re-evaluation
744         of Makefile to prevent `make' from optimizing away most of the
745         implicit rules and `vpath' directives.
747 1998-10-19  Roland McGrath  <roland@baalperazim.frob.com>
749         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): If _hurd_msgport_thread
750         is null, short-circuit to __mach_msg.
752         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): New function,
753         broken out of init1.
754         (init1) [PIC]: Call it.
755         (__libc_init_first) [! PIC]: Call it.
757         * sysdeps/mach/hurd/i386/init-first.c (init1): Don't call
758         __libc_init_secure.  Instead set __libc_enable_secure here from
759         the exec flags.
760         (__libc_enable_secure): New variable it.
761         * sysdeps/mach/hurd/enbl-secure.c: New file, empty placeholder module.
763 1998-10-19  Roland McGrath  <roland@baalperazim.frob.com>
765         * nscd/nscd-client.h: New file, broken out of "nscd.h".
766         * nscd/nscd.h: Move defns needed by clients to "nscd-client.h",
767         and #include that.
768         * nscd/Makefile (distribute): Add nscd-client.h.
769         * nscd/nscd_getgr_r.c, nscd/nscd_gethst_r.c, nscd/nscd_getpw_r.c:
770         Include "nscd-client.h" instead of "nscd.h"
772 1998-10-18  Ulrich Drepper  <drepper@cygnus.com>
774         * sysdeps/posix/getcwd.c (__getcwd): Don't stop processing
775         directory entries when a lstat call fails.
776         Patch by Colin Plumb <colin@nyx.net>.
778         * resolv/nss_dns/dns-host.c: Add missing errnop parameter to the
779         NSS functions.
780         * resolv/nss_dns/dns-network.c: Likewise.
782         * grp/Makefile: Don't search for linuxthreads in add-ons, use
783         have-thread-library to determine whether threads are available.
784         * pwd/Makefile: Remove wrong comment.
786         * inet/Makefile: Define CFLAGS-gethstbyad_r.c, CFLAGS-gethstbynm_r.c,
787         and CFLAGS-gethstbynm2_r.c to -DUSE_NSCD=1.
789         * locale/C-messages.c: Define default strings for YESTR and NOSTR.
791         * nss/Versions: Add __nss_hosts_lookup.
793         * nss/getXXbyYY.c: Remove unneeded assignment.
795         * nss/getXXbyYY_r.c: Include nscd/nscd_proto.h only if needed.
797         Almost complete rewrite of the NSCD to make it smaller, faster,
798         add more functionnality and make it easier to extend.
799         * nscd/Makfile (routines): Add nscd_gethst_r.
800         (nscd-modules): Add hstcache, gethstbyad_r, gethstbynm2_r, and cache.
801         * nscd/cache.c: New file.
802         * nscd/gethstbyad_r.c: New file.
803         * nscd/gethstbynm2_r.c: New file.
804         * nscd/hstcache.c: New file.
805         * nscd/nscd_gethst_r.c: New file.
806         * nscd/connections.c: Rewritten.  Don't start new thread for every
807         new connection.  Use a fixed set of threads which handle all
808         connections and also the cache cleanup.
809         * nscd/grpcache.c: Rewritten to use generic cache handling functions
810         in cache.c.
811         * nscd/nscd.c: Recognize new parameter nthreads.  Adjust initialization
812         for rewrite.  Remove handle_requests function.
813         * nscd/nscd.h (NSCD_VERSION): Bump to 2.
814         Define new data structure for the new unified cache and the host
815         database entries.
816         * nscd/nscd_conf.c: Rewrite parsing partly to allow adding of more
817         databases easily.  Recognize check-files and threads definitions.
818         * nscd/nscd.conf: Add definition of enable-cache and check-files to
819         passwd and group definitions.  Add new set of definitions for hosts.
820         * nscd/nscd_getgr_r.c: Rewrite for new protocol.
821         * nscd/nscd_getpw_r.c: Likewise.
822         * nscd/nscd_proto.h: Add prototype for host database functions.
823         * nscd/nscd_stat.c: Rewrite to simplify printing of information
824         for many databases.
825         * nscd/dbg_log.c: Remove unnecessary variable initializations.
826         Global variable debug_flag is renamed to dbg_level.
827         * nscd/dbg_log.h: Declare set_logfile.
829 1998-10-16  Ulrich Drepper  <drepper@cygnus.com>
831         * sysdeps/unix/sysv/linux/bits/fcntl.h: Add dummy definition of
832         O_LARGEFILE back.
834 1998-10-16  Paul Eggert  <eggert@shade.twinsun.com>
836         * time/mktime.c: Some systems require <unistd.h> to be
837         included before <time.h> for localtime_r to be declared
838         properly.
839         * time/strftime.c: Likewise.
841 1998-10-16  Ulrich Drepper  <drepper@cygnus.com>
843         * db/Makefile: Add rule to generate shared object with the soname
844         from glibc 2.0.
846         * sysdeps/unix/opendir.c: Use O_DIRECTORY if available.  If not
847         available double check to verify it's a directory.
849         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add O_DIRECTORY.
850         * sysdeps/unix/sysv/linux/mips/bits/fcntl: Likewise.
851         * sysdeps/unix/sysv/linux/bits/fcntl.h: Remove O_* constants which
852         are not generally available.
853         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: New file.
855         * sysdeps/unix/sysv/linux/i386/setgroups.c: Add range check for values.
856         * sysdeps/unix/sysv/linux/arm/Makefile: New file.
857         * sysdeps/unix/sysv/linux/arm/setegid.c: New file.
858         * sysdeps/unix/sysv/linux/arm/seteuid.c: New file.
859         * sysdeps/unix/sysv/linux/arm/setfsgid.c: New file.
860         * sysdeps/unix/sysv/linux/arm/setfsuid.c: New file.
861         * sysdeps/unix/sysv/linux/arm/setgid.c: New file.
862         * sysdeps/unix/sysv/linux/arm/setgroups.c: New file.
863         * sysdeps/unix/sysv/linux/arm/setresgid.c: New file.
864         * sysdeps/unix/sysv/linux/arm/setresuid.c: New file.
865         * sysdeps/unix/sysv/linux/arm/setuid.c: New file.
866         * sysdeps/unix/sysv/linux/i386/setegid.c: New file.
867         * sysdeps/unix/sysv/linux/i386/seteuid.c: New file.
868         * sysdeps/unix/sysv/linux/i386/setfsgid.c: New file.
869         * sysdeps/unix/sysv/linux/i386/setfsuid.c: New file.
870         * sysdeps/unix/sysv/linux/i386/setgid.c: New file.
871         * sysdeps/unix/sysv/linux/i386/setgroups.c: New file.
872         * sysdeps/unix/sysv/linux/i386/setresgid.c: New file.
873         * sysdeps/unix/sysv/linux/i386/setresuid.c: New file.
874         * sysdeps/unix/sysv/linux/i386/setuid.c: New file.
875         * sysdeps/unix/sysv/linux/m68k/setegid.c: New file.
876         * sysdeps/unix/sysv/linux/m68k/seteuid.c: New file.
877         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: New file.
878         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: New file.
879         * sysdeps/unix/sysv/linux/m68k/setgid.c: New file.
880         * sysdeps/unix/sysv/linux/m68k/setgroups.c: New file.
881         * sysdeps/unix/sysv/linux/m68k/setresgid.c: New file.
882         * sysdeps/unix/sysv/linux/m68k/setresuid.c: New file.
883         * sysdeps/unix/sysv/linux/m68k/setuid.c: New file.
884         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
885         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
886         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: New file.
887         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: New file.
888         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: New file.
889         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
890         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file.
891         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file.
892         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: New file.
894         * sysdeps/unix/sysv/linux/arm/syscalls.list: Add s_setgid, s_setresuid,
895         s_setresgid, and s_setuid.
896         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
897         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
898         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
899         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
900         (sysdep_routines): Add setfsgid, setfsuid, setresgid, and setresuid.
901         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
902         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
904 1998-10-16  Ulrich Drepper  <drepper@cygnus.com>
906         * time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get
907         localtime_t declaration on some systems.
909 1998-10-16 10:07  Ulrich Drepper  <drepper@cygnus.com>
911         * iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to
912         -DSTATIC_GCONV.
913         * iconv/skeleton.c: Include ELF header only of STATIC_GCONV is not
914         defined.  Avoid using DL_CLL_FCT if it is not defined.
916 1998-10-16 10:40 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
918         * resolv/arpa/nameser.h: Include sys/types.h unconditionally.
919         Include endian.h unconditionally.  Remove portability goop
920         depending on #ifdef linux, #ifdef BSD, #ifdef machine-type.
922 1998-10-16 11:39 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
924         * sunrpc/rpc/types.h: Mark file so fixincludes won't modify it.
926 1998-10-15  Ulrich Drepper  <drepper@cygnus.com>
928         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios
929         again.  Use char[44] to define size of the struct.
931         * sysdeps/unix/sysv/linux/arm/Dist: Add bits/armsigctx.h.
933 1998-10-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
935         * string/bits/string2.h (strcmp): Don't cache the result of
936         __builtin_constant_p in variables, otherwise constant folding
937         can fail in big functions.
939 1998-10-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
941         * string/bits/string2.h: Add prototypes for the new inline
942         functions.
944 1998-10-15  Ulrich Drepper  <drepper@cygnus.com>
946         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to
947         have all types defined.
948         Patch by Matti Aarnio <matti.aarnio@sonera.fi>.
950 1998-10-08  Paul Eggert  <eggert@twinsun.com>
952         * time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r.
953         Define also if HAVE_LOCALTIME_R && defined localtime_r, with
954         a body that merely expands localtime_r; this works around a
955         bug in Digital Unix 4.0A and 4.0D.
957 1998-10-14  Ulrich Drepper  <drepper@cygnus.com>
959         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl.
960         * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define
961         __ioctl to __syscall_ioctl and include Linux version of this file.
962         * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
963         * sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file.  Redirect
964         ioctl calls which handle struct termios.
965         Based on a patch by Dan Jacobowitz <drow@false.org>.
967 1998-10-14  Ulrich Drepper  <drepper@cygnus.com>
969         * version.h (VERSION): Bump to 2.0.98.
971         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios
972         here instead of including kernel_termios.h.
974 1998-10-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
976         * sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is
977         unnecessary after the changes of 1998-10-12.
979 1998-10-13  Ulrich Drepper  <drepper@cygnus.com>
981         * sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output
982         parameter format string.
983         (inline_outw): Likewise.
985         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include
986         string.h to get memcpy prototype and NULL definition.
988 1998-10-12  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
990         * misc/sys/cdefs.h (__THROW): New macro.
991         * argp/argp.h: Use it to replace the kludgey __P in inline
992         function definitions.
993         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
994         * stdlib/stdlib.h: Likewise.
995         * wcsmbs/wchar.h: Likewise.
996         * libio/stdio.h: Likewise.
997         * stdio/stdio.h: Likewise.
998         * sysdeps/wordsize-64/inttypes.h: Likewise.
999         * sysdeps/wordsize-32/inttypes.h: Likewise.
1000         * string/argz.h: Likewise.
1001         * io/sys/stat.h: Likewise.
1003 1998-10-12  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1005         * Rules (stdio_lim): New variable.
1006         ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend
1007         on Rules and config.make, use $(move-if-change) to avoid unnessary
1008         recompilations, and cleanup command.
1009         (common-generated): Add bits/stdio_lim.st.
1011 1998-10-12  Ulrich Drepper  <drepper@cygnus.com>
1013         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): New
1014         variable to prevent warnings from use of modern CPU instructions.
1015         Patch by Richard Henderson <rth@cygnus.com>.
1017         * sysdeps/unix/opendir.c: Test whether NAME is directory before
1018         opening it.
1020 1998-10-12  Philip Blundell  <pb@nexus.co.uk>
1022         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Add missing
1023         semicolon so that profiling works.
1025 1998-10-12  Roland McGrath  <roland@baalperazim.frob.com>
1027         * sysdeps/generic/glob.c: #undef mempcpy before #define.
1029         * sysdeps/unix/bsd/clock.c: Use prototype defns.
1031 1998-10-11  Ulrich Drepper  <drepper@cygnus.com>
1033         * Rules [posix in sysdirs]: Set L_tmpnam to 20.
1034         Patch by Zack Weinberg <zack@rabi.columbia.edu>.
1036         * string/bits/string2.h [!_STRING_ARCH_unaligned]
1037         (__mempcpy_small): Add parameter for 1 byte copy and use it.
1038         Reported by Geoff Keating <geoffk@ozemail.com.au>.
1040 1998-10-09  Mark Kettenis  <kettenis@phys.uva.nl>
1042         * sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove,
1043         it is already defined in <bits/environments.h>.
1045 1998-10-09  Ulrich Drepper  <drepper@cygnus.com>
1047         * posix/ptestcases.h: Fix typo.
1049 1998-10-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1051         * posix/regex.c (regcomp): Allocate and prepare a fastmap.
1052         (regexec): Allocate regs.start and regs.end as one block.
1054 1998-10-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1056         * sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of
1057         enum decl.
1059 1998-10-08  Philip Blundell  <pb@nexus.co.uk>
1061         * sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of
1062         sigcontext union to ...
1063         * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here.  New
1064         file.
1065         * sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for
1066         version 2.0 kernels.
1068 1998-10-08  Ulrich Drepper  <drepper@cygnus.com>
1070         * malloc/mtrace.c (tr_reallochook): Produce better output for real
1071         reallocation case.
1073         * signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined.
1074         * argp/argp-xinl.c: Likewise.
1076         * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing
1077         Ruffian entry back.
1078         Patch by Christian Gafton.
1080 1998-10-08  Paul Eggert  <eggert@twinsun.com>
1082         * time/mktime.c (__mktime_internal): When the requested time falls
1083         in a spring-forward gap of size DT, return a time that is DT away
1084         from the requested time, preferring a time whose tm_isdst differs
1085         from the requested value.  Bump the max number of probes from 4 to
1086         6 to account for the extra probes needed to discover a
1087         spring-forward gap in the worst case.
1089 1998-10-07 17:05  Ulrich Drepper  <drepper@cygnus.com>
1091         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection
1092         of the weird alpha architectures.
1093         Patch by Cristian Gafton <gafton@redhat.com>.
1095 1998-02-18 23:31  Richard Henderson  <rth@cygnus.com>
1097         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
1098         RAWHIDE and TSUNAMI.  Patch from Jay.Estabrook@digital.com.
1100 1998-10-07  Ulrich Drepper  <drepper@cygnus.com>
1102         * elf/dl-open.c (_dl_global_scope_alloc): Make global.
1103         (dl_open_worker): Use realloc, not malloc to resize array.
1104         * elf/rtld.c (_dl_initial_searchlist): New variable.
1105         (_dl_main): Copy content of _dl_main_searchlist to
1106         _dl_initial_searchlist.
1107         * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and
1108         _dl_global_scope_alloc.
1109         * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist.
1110         * elf/dl-close.c (_dl_close): When removing object with global
1111         scope remove allocated searchlist if no dynamically loaded object
1112         is on it anymore.
1113         * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope.
1114         (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist.
1116         * malloc/mtrace.c (tr_where): Don't print space in location string,
1117         print it afterwards.  Print better symbol name information.
1119 1998-10-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1121         * manual/filesys.texi (Setting Permissions): Fix example for
1122         reading umask.
1124 1998-10-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1126         * elf/sprof.c (load_profdata): Fix typo in error message.
1128 1998-10-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1130         * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
1131         flag.
1133 1998-10-04  Roland McGrath  <roland@baalperazim.frob.com>
1135         * mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it.
1137 1998-10-06  Ulrich Drepper  <drepper@cygnus.com>
1139         * version.h (VERSION): Bump to 2.0.97.
1141 1998-10-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1143         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P
1144         in definitions of inline stat functions so that they match the
1145         declaration.
1146         * stdlib/stdlib.h: Likewise.
1147         * wcsmbs/wchar.h: Likewise.
1148         * libio/stdio.h: Likewise.
1149         * stdio/stdio.h: Likewise.
1150         * sysdeps/wordsize-64/inttypes.h: Likewise.
1151         * sysdeps/wordsize-32/inttypes.h: Likewise.
1152         * string/argz.h: Likewise.
1153         * argp/argp.h: Likewise.
1155 1998-10-06  Ulrich Drepper  <drepper@cygnus.com>
1157         * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
1158         netinet/in.h.
1160 1998-10-05  Philip Blundell  <philb@gnu.org>
1162         * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures
1163         and constants.  Tidy up formatting a little.
1165         * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6):
1166         Move definitions to in.h.
1168 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1170         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER,
1171         SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added.
1172         Remove inclusion of <linux/swap.h>.
1174 1998-10-05  Ulrich Drepper  <drepper@cygnus.com>
1176         * io/sys/stat.h: Use __P in definitions of inline stat functions
1177         so that they match the declaration.
1179 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1181         * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added.
1183 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1185         * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current
1186         linux 2.1 version.
1188 1998-10-02  Philip Blundell  <pb@nexus.co.uk>
1190         * sysdeps/arm/dl-machine.h: Fix typo in last change.
1192         * sysdeps/arm/bits/huge_val.h: New file.
1194 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1196         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added.
1198         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add
1199         define.
1201 1998-10-05  Ulrich Drepper  <drepper@cygnus.com>
1203         * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to
1204         store result of realloc instead of using BUF.
1206 1998-10-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1208         * misc/sgtty.h (_SGTTY_H): Correct spelling.
1209         Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817].
1211 1998-10-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1213         * manual/memory.texi (Obstacks): Document
1214         obstack_alloc_failed_handler usage.
1216         * malloc/obstack.h: Enhance comment about
1217         obstack_alloc_failed_handler usage.
1218         * malloc/obstack.c: Likewise.
1220 1998-10-05  Ulrich Drepper  <drepper@cygnus.com>
1222         * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or
1223         gcc before 2.8 is used.
1225 1998-10-01  Philip Blundell  <pb@nexus.co.uk>
1227         * sysdeps/arm/machine-gmon.h: Correct args to mcount().  Patch
1228         from Scott Bambrough.
1230         * sysdeps/unix/sysv/linux/arm/register-dump.h: New file.
1232         * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
1233         include the lock member.
1235 1998-09-03  Philip Blundell  <pb@nexus.co.uk>
1237         * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.
1239 1998-10-01  Ulrich Drepper  <drepper@cygnus.com>
1241         * timezone/zic.c: Update from tzcode1998h.
1242         * timezone/europe: Update from tzdata1998i.
1243         * timezone/southamerica: Likewise.
1245         * sys/types.h: Protect use of long long by __extension__.
1246         * stdlib/stdlib.h: Likewise.
1247         * string/string.h: Likewise.
1248         * sysdeps/i386/bits/byteswap.h: Likewise.
1249         * sysdeps/geeric/bits/byteswap.h: Likewise.
1250         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
1251         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1252         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1253         * sysdeps/wordsize-32/inttypes.h: Likewise.
1254         * sysdeps/wordsize-32/stdint.h: Likewise.
1255         * wcsmbs/wchar.h: Likewise.
1257 1998-09-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1259         * string/bits/string2.h (__string2_1bptr_p): Don't use a statement
1260         expression.
1261         (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
1262         __strsep): Greatly reduce size of expansion by combining common
1263         expressions.
1264         (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
1265         inline function.
1266         (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
1267         by the above definitions.
1269 1998-09-27  Geoff Keating  <geoffk@ozemail.com.au>
1271         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
1272         correct struct ipc_perm definition.
1274 1998-09-29  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1276         * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.
1278 1998-09-29  Cristian Gafton  <gafton@redhat.com>
1280         * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
1281         * sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
1282         * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
1283         * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
1284         Add net/if_shaper.h.
1286 1998-09-29  Ulrich Drepper  <drepper@cygnus.com>
1288         * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.
1290         * nis/ypclnt.c: Remove not needed close calls.
1292 1998-09-28 23:55  Ulrich Drepper  <drepper@cygnus.com>
1294         * nis/ypclnt.c (__yp_bind): Pretty print.  Optimize readv result
1295         check a bit.  Also close socket of domain client.  Close socket
1296         in IPPORT_RESERVED error case.
1298 1998-09-28  Ulrich Drepper  <drepper@cygnus.com>
1300         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
1301         CMSG_ALIGN (fixes a bug) and correct test for availability of
1302         another entry.
1303         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
1304         Linux version.
1305         (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
1306         availability of another entry.
1307         Patch by ak@muc.de.
1309         * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
1310         Patch by ak@muc.de.
1312         * libio/libio.h [!__STDC__]: Define const only if not defined.
1314 1998-09-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1316         * posix/annexc.c (xsystem): New function.  Use it instead of
1317         system.
1319 1998-09-28  Ulrich Drepper  <drepper@cygnus.com>
1321         * stdlib/longlong.h: Remove #endif for #if removed in last change.
1323 1998-09-25  Ulrich Drepper  <drepper@cygnus.com>
1325         * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
1326         Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
1327         allow using `ut' parameter.
1328         [!emacs]: Define ut_argument, ut_argument_spec, and
1329         ut_argument_spec_iso as empty.  Define ut to 0.  Add ut_argument and
1330         argument_spec to prototypes and definitions.
1331         (my_strftime): Don't call tzset of ut != 0.
1332         Compute diff as 0 is ut != 0;
1333         [emacs]: Define new emacs_strftime function.
1334         Based on a patch by Paul Eggert.
1336 1998-09-24  Paul Eggert  <eggert@twinsun.com>
1338         * time/strftime.c (my_strftime): When asking for the length of the
1339         subformatted buffer, do not limit the length to look for;
1340         otherwise, we have no reliable way to distinguish between the
1341         empty buffer and an error.
1343 1998-09-25  Ulrich Drepper  <drepper@cygnus.com>
1345         * math/Makefile (gmp-objs): Add mp_clz_tab.
1347 1998-09-25  David S. Miller  <davem@pierdol.cobaltmicro.com>
1349         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
1350         set them.
1351         * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
1352         cpus lacking hardware multiply and divide.
1354 1998-09-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1356         * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
1357         $(<F), not $(^F).
1359 1998-09-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1361         * db/btree/bt_delete.c: Fix -Wparentheses warning.
1363 1998-09-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1365         * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
1366         $(do-install).
1368 1998-09-24  Ulrich Drepper  <drepper@cygnus.com>
1370         * debug/catchsegv.sh: Also produce output if clone process died.
1372 1998-09-24  Paul Eggert  <eggert@twinsun.com>
1374         * time/strftime.c (f_wkday): Remove duplicate definition.
1375         (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
1376         !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
1377         1998-09-11 fix to this case.
1378         (wkday_len, month_len): Remove these macros; they're no longer needed.
1380 1998-09-24  Paul Eggert  <eggert@twinsun.com>
1382         * time/strftime.c (my_strftime): Don't store past the end of a
1383         zero-sized buffer.
1385 1998-09-24  Paul Eggert  <eggert@twinsun.com>
1387         * time/strftime.c (underlying_strftime):
1388         Set the buffer to a nonzero value before calling
1389         strftime, and check to see whether strftime has set the buffer to zero.
1390         This lets us distinguish between an empty buffer and an error.
1392 1998-09-24  Paul Eggert  <eggert@shade.twinsun.com>
1394         * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
1395         This fix is propagated from tzcode1998g.tar.gz.
1397 1998-09-24  Mark Kettenis  <kettenis@phys.uva.nl>
1399         * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
1400         _sys_siglist.  [!HAVE_GNU_LD]: Do not define _sys_siglist as
1401         sys_siglist.  This is handled correctly by the weak_alias macro.
1403 1998-09-24  Ulrich Drepper  <drepper@cygnus.com>
1405         * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
1406         of mempcpy.  Reported by Andreas Jaeger.
1408         * misc/regexp.h (compile): Use alloca instead of __alloca.  It won't
1409         pollute the namespace since the compiler will resolve it inline.
1410         Reported by Florian La Roche <florian@suse.de>.
1412 1998-09-24 10:29  Ulrich Drepper  <drepper@cygnus.com>
1414         * timezone/private.h: Update from tzcode1998g.
1416         * timezone/africa: Update from tzdata1998h.
1417         * timezone/asia: Likewise.
1418         * timezone/australasia: Likewise.
1419         * timezone/europe: Likewise.
1420         * timezone/northamerica: Likewise.
1421         * timezone/southamerica: Likewise.
1422         * timezone/zone.tab: Likewise.
1424 1998-09-23 17:28 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1426         * misc/sys/mman.h: New file.
1428         * sysdeps/generic/bits/mman.h: New file.
1429         * sysdeps/unix/bsd/osf/bits/mman.h: New file.
1430         * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
1431         * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
1432         * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
1434         * sysdeps/generic/sys/mman.h: Removed.
1435         * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
1436         * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
1437         * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
1438         * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
1439         * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
1441         * include/sys/mman.h: Look directly for misc/sys/mman.h.
1442         * misc/Makefile (headers): Add bits/mman.h.
1443         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
1444         bits/mman.h.
1446         * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
1447         * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
1448         * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
1449         * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
1450         * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
1451         * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
1452         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
1453         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
1455 1998-09-23 16:27 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1457         * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
1458         * sysdeps/mach/alpha/thread_state.h: Likewise.
1459         * sysdeps/mach/i386/sysdep.h: Likewise.
1460         * sysdeps/mach/i386/thread_state.h: Likewise.
1461         * sysdeps/mach/mips/sysdep.h: Likewise.
1462         * sysdeps/mach/mips/thread_state.h: Likewise.
1463         * sysdeps/posix/profil.c: Likewise.
1464         * sysdeps/i386/i586/memcopy.h: Likewise.
1465         * sysdeps/mach/pagecopy.h: Likewise.
1467 1998-09-23 15:25  Ulrich Drepper  <drepper@cygnus.com>
1469         * libio/stdio.h: Define __need_getopt and include getopt.h to define
1470         getopt stuff.
1471         * posix/unistd.h: Likewise.
1472         * stdio/stdio.h: Likewise.
1473         * posix/getopt.h: Remove _GNU_SOURCE use.  If __need_getopt is defined
1474         define only getopt and the variables.
1476 1998-09-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1478         * scripts/test-installation.pl (installation_problem): Don't link
1479         the test program against libdb1.
1481 1998-09-23 13:52  Ulrich Drepper  <drepper@cygnus.com>
1483         * Makeconfig (all-subdirs): Add db.
1484         * Versions.def: Add definition for libdb1.
1485         * shlib-versions: Add definitions for libdb1.
1486         * db/Makefile (extra-libs): Replace by libdb1.
1487         (libdb-routines): Rename to libdb1-routines.
1488         (headers): Rename to db1-headers.
1489         (distribute): Add $(db1-headers).
1490         (install-others): Define to install symlink libdb.so.NN and the
1491         $(db1-headers).
1492         (CPPFLAGS): Add -DUSE_LIBDB1
1493         Remove rules to build makedb.
1494         * db/Versions: Rename libdb to libdb1.
1495         * include/db.h: If USE_LIBDB1 is defined include db/db.h.
1496         * db/makedb.c: Removed.
1498         * scripts/versions.awk: Recognize digits in library names.
1500         * db/btree/bt_open.c: Fix compiler warnings.
1501         * db/btree/bt_put.c: Likewise.
1502         * db/btree/bt_split.c: Likewise.
1503         * db/hash/hash.c: Likewise.
1504         * db/hash/hash_bigkey.c: Likewise.
1505         * db/recno/rec_close.c: Likewise.
1507         * Makefile: Add localedata/% goal.
1509 1998-09-22 19:58 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1511         * posix/execvp.c: Don't give up searching the PATH if execve
1512         returns ENOTDIR.
1514 1998-09-22 12:53  Ulrich Drepper  <drepper@cygnus.com>
1516         * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
1517         if _dl_fpu_control_set is set.
1518         * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
1519         * elf/rtld.c: Don't define _dl_fpu_control_set.
1520         * elf/Versions: Remove _dl_fpu_control_set.
1522 1998-09-22 11:51  Ulrich Drepper  <drepper@cygnus.com>
1524         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
1525         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
1526         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
1527         Correct values of other SA_* macros according to kernel headers.
1529 1998-09-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1531         * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
1532         variable l.
1533         * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
1534         old.
1536 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1538         * elf/ldsodefs.h: Fix typo in comment.
1540 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1542         * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
1543         char when comparing buffer contents with putback character.
1545 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1547         * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
1548         Undo last change.
1549         * elf/Versions: Undo last change.  Export _dl_fpu_control and
1550         _dl_fpu_control_set.
1551         * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
1552         variables.  Include <fpu_control.h>.
1553         * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
1554         _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
1555         to indicate that is was seen.
1556         * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
1557         only if _dl_fpu_control was set and is equal to desired value.
1558         * math/Makefile (aux): Undo last change.
1559         * math/Versions: Export __fpu_control with version GLIBC_2.0.
1561 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1563         * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
1564         optimized.
1566 1998-09-21 10:00  Ulrich Drepper  <drepper@cygnus.com>
1568         * string/bits/string2.h: Add mempcpy optimization.
1569         * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
1570         * intl/localealias.c: Define mempcpy only if not already defined.
1572         * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
1573         defined.
1575 1998-09-20 10:48 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1577         * csu/abi-note.S: Emit the note directly instead of defining
1578         a preprocessor macro that's only used once.  Don't include sysdep.h.
1579         * abi-tags: Generalize Solaris entry.
1581 1998-09-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1583         * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
1584         Change to array to avoid runtime relocation.
1585         * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
1587 1998-09-21 12:22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1589         * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
1590         * math/Makefile ($(objpfx)libieee.a): Likewise.
1592 1998-09-21  Ulrich Drepper  <drepper@cygnus.com>
1594         * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
1595         Patch by John Tobey <jtobey@banta-im.com>.
1597 1998-09-20  Ulrich Drepper  <drepper@cygnus.com>
1599         * login/Makefile (distribute): Remove pty-internal.h, add
1600         pty-private.h.
1602         * stdlib/tst-strtol.c: Add more checks.
1603         Patch by Zack Weinberg <zack@rabi.columbia.edu>.
1605 1998-09-20 09:37  Ulrich Drepper  <drepper@cygnus.com>
1607         * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
1608         * elf/elf.h: Add AT_FPUCW.
1609         * elf/Makefile (dl-routines): Add fpu_control.
1610         (elide-routines.os): Add fpu_control.
1611         (rtld-routines): Add fpu_control.
1612         * math/Makefile (aux): Remove fpu_control.
1613         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
1614         (_dl_show_auxv): Likewise.
1615         * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
1616         if different from OS default.
1618         * stdio-common/tstscanf.c: Add test case for (nil).
1620 1998-09-18 17:41  Ulrich Drepper  <drepper@cygnus.com>
1622         * libio/fileops.c (_IO_new_file_underflow): Before allocating
1623         buffer make sure the pushback buffer is destroyed.
1624         (_IO_new_file_seekoff): Likewise.
1625         If mode==0 quit early with the result.
1626         Clear OEF flag after successful fseek.
1627         * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
1628         * libio/ftello.c (ftello): Add offset from original buffer if
1629         stream has pushed back characters.
1630         * libio/ftello64.c (ftello64): Likewise.
1631         * libio/iofgetpos.c (_IO_fgetpos): Likewise.
1632         * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
1633         * libio/ioftell.c (_IO_ftell): Likewise.
1634         * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
1635         and _IO_save_ptr.
1636         (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
1637         (_IO_default_pbackfail): Only stored push back character in original
1638         buffer if it is the same as the one in the file at this position.
1639         * libio/iofclose.c: Free backup buffer if one is available.
1640         * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
1641         mode!=0.
1643         * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
1645         * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
1647         * stdio-common/vfscanf.c: Fix reading (nil) for %p.
1649 1998-09-18  Mark Kettenis  <kettenis@phys.uva.nl>
1651         * login/programs/pt_chown.c (more_help): Correct message that
1652         describes the purpose of the program.
1654         * login/openpty.c: Do not include pty-private.h.
1655         (pts_name): New function.  Return name of slave pseudo terminal in
1656         an allocated buffer if necessary.
1657         (openpty): Use pts_name to get name of the slave end of the pseudo
1658         terminal pair.
1660         * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
1661         pts_name before return.
1663 1998-09-18 11:15  Ulrich Drepper  <drepper@cygnus.com>
1665         * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
1667 1998-09-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1669         * login/openpty.c: Include pty-private.h instead of
1670         pty-internal.h.
1672 1998-09-09  Philip Blundell  <pb@nexus.co.uk>
1674         * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
1676 1998-09-07  Philip Blundell  <pb@nexus.co.uk>
1678         * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
1679         recent ld.so changes.
1680         (elf_machine_runtime_setup): Correct behaviour when profiling.
1682 1998-09-17 19:34  Ulrich Drepper  <drepper@cygnus.com>
1684         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
1685         Patch by John Tobey <jtobey@banta-im.com>.
1687 1998-09-17  Mark Kettenis  <kettenis@phys.uva.nl>
1689         * login/pty-internal.h: Removed.  Moved constants related to the
1690         `grantpt' helper program protocol to ...
1691         * login/pty-private.h: ... here.  New file.
1692         * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
1693         to make the function work with kernels >= 2.1.115.
1694         * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
1695         version if using the cloning device fails.
1696         * sysdeps/unix/sysv/linux/grantpt.c: New file.
1697         * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
1698         * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
1699         use by Linux specific code.
1700         * sysdeps/unix/bsd/unlockpt.c: General cleanup.
1701         * sysdeps/unix/grantpt.c: Largely rewritten.  (pts_name): New
1702         function.  (grantpt): Use pts_name, check group and permission
1703         mode in addition to owner.  Try to set the owner, group and
1704         permission mode first without invoking the helper program.
1705         * login/programs/pt_chown.c: Largely rewritten.  Add argp and
1706         internationalization support.  Use symbolic constants instead of
1707         hardwired numbers for permission mode.
1708         * sysdeps/unix/bsd/ptsname.c: New file.
1710 1998-09-17 22:04  Tim Waugh  <tim@cyberelk.demon.co.uk>
1712         * posix/wordexp-test.c: Undo last change.
1714         * posix/wordexp.c: Undo last change.
1716 1998-09-16  Ulrich Drepper  <drepper@cygnus.com>
1718         * nscd/grpcache.c (save_grp): Partly undo last change.
1720         * nscd/pwdcache.c (save_pwd): Undo last change.
1722 1998-09-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1724         * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
1725         function.  Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
1727 1998-09-15  David S. Miller  <davem@pierdol.cobaltmicro.com>
1729         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
1730         Add profiling support.
1731         (TRAMPOLINE_TEMPLATE): New macro.
1732         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
1733         (RTLD_START): Prettify, and set __libc_stack_end properly.
1734         (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
1735         and check for sym being NULL instead.
1736         * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
1737         of stack space.
1738         * sysdeps/sparc/sparc64/lshift.S: Likewise.
1739         * sysdeps/sparc/sparc64/mul_1.S: Likewise.
1740         * sysdeps/sparc/sparc64/rshift.S: Likewise.
1741         * sysdeps/sparc/sparc64/submul_1.S: Likewise.
1742         * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
1743         MEDANY code model %g4 usage.
1744         * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
1745         MEDANY code model %g4 usage.
1746         * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
1747         code model address formation.
1748         * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
1749         include elf/ldsodefs.h
1750         (DT_SPARC): Remove.
1751         (elf_machine_matches_host): It is now EM_SPARCV9.
1752         (elf_machine_dynamic): Clean up to remove ugly cast.
1753         (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
1754         new PLT formats.
1755         (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
1756         Prettify rest of function.
1757         [R_SPARC_COPY]: Check for sym being NULL.
1758         [R_SPARC_32]: Handle it.
1759         [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
1760         MEDMID code model.
1761         [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
1762         MEDANY code model.
1763         [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
1764         (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
1765         Add profiling support.
1766         (TRAMPOLINE_TEMPLATE): New macro.
1767         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
1768         (RTLD_START): Prettify and set __libc_stack_end.
1769         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
1770         Define.
1771         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
1772         (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
1773         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
1774         unused variable scratch.
1775         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1776         (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
1777         Declare.
1778         (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
1779         stub to rt_sigaction syscalls.  Rewrite non-rt case to use correct
1780         old format kernel sigaction structures.
1781         * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
1782         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
1783         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
1784         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
1785         ucontext include.
1786         (_JMPBUF_UNWINDS): Define.
1787         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
1788         statfs64 structure, which is exactly the same as the normal one.
1789         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
1790         of stack.  Use correct syscall trap number.  Add branch prediction
1791         settings to branch instructions.  Remove old MEDANY code model %g4
1792         referneces for non-PIC.
1793         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
1794         * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
1795         * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
1796         * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
1797         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1798         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
1799         __libc_longjmp and __libc_siglongjmp strong aliases.
1800         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
1801         Also define to __no__readdir64_decl around readdir.c inclusion.
1802         (__readdir64): Add strong alias.
1803         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
1804         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
1805         Set strong and weak names properly.
1807 1998-09-16 11:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1809         * manual/Makefile (AWK): Default to gawk if standalone.
1811 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1813         * Makefile (distribute): Undo last change.
1814         * Make-dist (+tsrc) [not subdir]: Also include indirection headers
1815         for sysdep headers.
1816         (+subdir-headers): Removed, unused.
1818 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1820         * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
1821         $(do-install).
1823 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1825         * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
1826         absolute name in $(config-sysdirs), can never happen.
1827         ($(+sysdir_pfx)sysd-rules): Likewise.
1828         * Makeconfig (full-config-sysdirs): Likewise.
1829         (all-Subdirs-files): Prepend $(..).
1831         * configure.in: Don't check for absolute name in $add_ons_pfx, can
1832         not happen.  Let --enable-add-ons=yes work if no add-ons actually
1833         exist.
1835 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1837         * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
1838         continuations in command.
1840 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1842         * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
1844 1998-09-16 00:47  Tim Waugh  <tim@cyberelk.demon.co.uk>
1846         * posix/wordexp-test.c: If expansion or substitution occurs
1847         anywhere in a word, the entire word is subject to field-splitting.
1849         * posix/wordexp.c (parse_glob): Look for end of word instead of
1850         end of field when deciding what to glob.
1851         (field_split_word): New function, now the only place where
1852         field-splitting is performed.
1853         (parse_dollars): New parameter - tell the caller if
1854         field-splitting should be performed on this word.
1856         * posix/wordexp-test.c (testit): Only call wordfree if wordexp
1857         succeeded (or failed with WRDE_NOSPACE).
1859 1998-09-15 19:53 1998  Tim Waugh  <tim@cyberelk.demon.co.uk>
1861         * posix/wordexp.c (wordexp): Don't convert IFS characters to
1862         blanks.
1864         * posix/wordexp-test.c: Words not the result of expansion or
1865         substitution should remain unchanged.
1867 1998-09-15  Ulrich Drepper  <drepper@cygnus.com>
1869         * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
1870         (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
1872 1998-09-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1874         * stdio-common/Makefile: Include Makeconfig so that
1875         $(inst_includedir) is defined.
1877 1998-09-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1879         * io/pwd.c: Include <mcheck.h>.
1881 1998-09-15 08:00  Ulrich Drepper  <drepper@cygnus.com>
1883         * nscd/pwdcache.c (save_pwd): Correct copying.
1884         * nscd/grpcache.c (save_grp): Likewise.
1886 1998-09-14 23:36  Ulrich Drepper  <drepper@cygnus.com>
1888         * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
1889         (free_pwd): Adjust for this change.
1890         * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
1891         (free_grp): Adjust for this change.
1893 1998-09-14  Ulrich Drepper  <drepper@cygnus.com>
1895         * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
1897 1998-09-14 15:29  Ulrich Drepper  <drepper@cygnus.com>
1899         * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
1900         (install-others): Add bits/stdio_lim.h.
1901         Add rule to install bits/stdio_lim.h.
1903         * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
1905         * Makefile (distribute): Add include/sys/mman.h.
1907         * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
1908         * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
1909         * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
1911         * grp/initgroups.c: Include stdlib.h.
1912         Patch by Zack Weinberg.
1914 1998-09-14 22:46  Tim Waugh  <tim@cyberelk.demon.co.uk>
1916         * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
1917         for field-splitting :abc: is correct, and that two fields should
1918         result. Revert tests to reflect this.
1920         * posix/wordexp.c (w_emptyword): Remove function.
1921         (exec_comm): Don't use w_emptyword.
1922         (parse_param): Likewise.
1924 1998-09-14 15:00  Ulrich Drepper  <drepper@cygnus.com>
1926         * sysdeps/arm/fpu/Dist: Moved to...
1927         * sysdeps/arm/Dist: ...here.
1928         * sysdeps/posix/Dist: Removed.
1929         * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
1930         * sysdeps/unix/sysv/linux/i386/Dist: ...here.
1932 1998-08-26  Geoff Keating  <geoffk@ozemail.com.au>
1934         * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
1936 1998-09-14 11:26  Ulrich Drepper  <drepper@cygnus.com>
1938         * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
1940 1998-09-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1942         * libc-work/nis/nss_nisplus/nisplus-service.c
1943         (_nss_nisplus_parse_servent): Convert port in network byte order.
1945 1998-09-14 07:53 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1947         * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
1948         to provide only malloc and calloc.
1949         * include/stdlib.h: Support the above.
1950         * string/bits/string2.h: Use __need_malloc_and_calloc when
1951         including stdlib.h.
1952         (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
1954         * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
1955         * iconvdata/iso646.c: Include <stdlib.h>.
1957 1998-09-14 07:51 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1959         * sunrpc/rpc_cout.c: Add braces around ambiguous else.
1960         * sysdeps/libm-ieee754/w_pow.c: Likewise.
1961         * sysdeps/libm-ieee754/w_powf.c: Likewise.
1962         * sysdeps/libm-ieee754/w_powl.c: Likewise.
1964 1998-09-14 07:57 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1966         * stdio-common/stdio_lim.h.in: New file.  All parameters
1967         are adjustable at build time.
1968         * Rules: Add a rule to build bits/stdio_lim.h from
1969         stdio-common/stdio_lim.h.in.  (It has to be in Rules so that
1970         all subdirectories know how to make the file.  It can't be
1971         in Makerules because then it gets built at top level and the
1972         dependencies are wrong.)
1974         * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
1975         * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
1976         stdio_lim.h.
1977         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
1978         * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
1979         * sysdeps/posix/Makefile: Removed.
1980         * sysdeps/posix/mk-stdiolim.c: Removed.
1981         * sysdeps/generic/bits/stdio_lim.h: Removed.
1983 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1985         * argp/argp-help.c: Fixup indentation.
1986         * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
1987         * resolv/nss_dns/dns-network.c: Likewise.
1988         * resolv/res_send.c: Likewise.
1989         * rt/aio_cancel.c: Likewise.
1990         * rt/aio_misc.c: Likewise.
1992 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1994         * Makefile (install-symbolic-link): Remove the link list file at last.
1995         * Makerules (install-clean-symbolic-link-list): Removed.
1997 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1999         * timezone/tst-timezone.c: Print time in UTC to get consistent
2000         output.
2002 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2004         * elf/rtld.c (_dl_rpath): Removed.
2005         * elf/dl-support.c (_dl_path): Removed.
2006         * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
2007         (CFLAGS-dl-support.c): Removed.
2009         * elf/dl-load.c (env_path_list): Renamed from fake_path_list.  All
2010         uses changed.
2011         (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
2012         instead of appending it to the main map's rpath info.
2013         (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
2014         DT_RPATHs.  This makes it effective again.
2015         (decompose_rpath): Remove second parameter, callers changed.
2016         (fillin_rpath): Allocate enough space in curwd.
2017         (expand_dynamic_string_token): Cope with get_origin returning -1.
2019 1998-09-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2021         * libc-work/nis/nss_compat/compat-pwd.c: Add support for
2022         passwd.adjunct.
2024         * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
2025         invalid password.
2027 1998-09-13 18:06  Ulrich Drepper  <drepper@cygnus.com>
2029         * locale/programs/locale.c: Update dates.
2031 1998-09-13  Mark Kettenis  <kettenis@phys.uva.nl>
2033         * sysdeps/generic/bits/types.h: Include <features.h>.  Make sure
2034         size_t is defined.  Some reordering of definitions to make
2035         maintaining this file in parallel with the linux-specific file easier.
2037 1998-09-13  Ulrich Drepper  <drepper@cygnus.com>
2039         * io/pwd.c (main): Add call to mtrace.
2041         * malloc/mtrace.pl: Quote @ in string.
2043 1998-09-13 19:25  Tim Waugh  <tim@cyberelk.demon.co.uk>
2045         * posix/wordexp.c (parse_arith): Fix memory leaks.
2046         (exec_comm): Likewise.
2047         (parse_param): Likewise.
2048         (wordexp): Likewise.
2049         (exec_comm): Reduce number of function return points.
2050         (parse_param): Likewise.
2051         (wordexp): Likewise.
2053 1998-09-13 14:53  Tim Waugh  <tim@cyberelk.demon.co.uk>
2055         * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
2056         yield three fields, not two.  Test both parameter expansion and
2057         command substitution for correct field-splitting behaviour.
2059         * posix/wordexp.c (w_emptyword): New function.
2060         (parse_param): Use it.
2061         (exec_comm): Likewise, for consistency with the way parse_param
2062         splits fields.
2063         (parse_param): Fix some memory leaks.
2065 1998-09-13 18:04  Geoff Keating  <geoffk@ozemail.com.au>
2067         * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
2068         Don't mark asm `volatile'.
2069         (__elf_machine_runtime_setup): Clear the last partial block in the PLT
2070         from the data cache too.  Assume it isn't in the instruction cache yet.
2071         (__elf_machine_fixup_plt): Clear the modified address from the caches.
2073 1998-09-12  Mark Kettenis  <kettenis@phys.uva.nl>
2075         * sysdeps/generic/segfault.c (install_handler): Install signal
2076         handler with SA_ONSTACK instead of setting the stack flags to
2077         SS_ONSTACK.  Do not install handler for SIGSTKFLT if it is not
2078         defined.
2080 1998-09-12 14:24 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2082         * signal/signal.h: Fix multiple inclusion guard to cover the
2083         entire file.
2084         * wcsmbs/wchar.h: Remove prototype of internal function
2085         __mbsrtowcs.
2086         * sysdeps/i386/i486/bits/string.h (memchr): Don't do
2087         arithmetic on `void *'.
2089 1998-09-12 01:09  Tim Waugh  <tim@cyberelk.demon.co.uk>
2091         * posix/wordexp-test.c: Fix wrong tests.  Add new tests.
2093         * posix/wordexp.c (wordexp): Perform word-splitting instead of
2094         field-splitting here.
2095         (wordexp): If out of memory mid-word, free the word (but still
2096         leave pwordexp alone for caller to see).
2097         (parse_param): Allow for zero-length fields (smarter checking of
2098         memory allocation failure).
2099         (w_addword): Convert NULL words to "".
2100         (wordexp): Convert left-over IFS characters to blanks (like bash).
2102 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
2104         * configure.in: Use test -f instead of test -e.
2105         Patch by John Tobey <jtobey@banta-im.com>.
2107         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
2108         * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
2109         * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
2110         * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
2111         * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
2112         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
2113         * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
2114         Patches by John Tobey <jtobey@banta-im.com>.
2116         * time/strftime.c (my_strftime): Delay use of *tp values until
2117         latest possible point to allow partly initialized structures
2118         (e.g., from strptime).
2120         * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
2121         and NATS-SEFI.
2122         Define *-routines variables for new modules.
2123         (distribute): Add .c files for new modules.
2124         (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
2125         and nats-sefi.h.
2126         Add rules for header generation.
2127         * iconvdata/gconv-modules: Add entries for new modules.
2128         * iconvdata/iso_10367-box.c: New file.
2129         * iconvdata/mac-is.c: New file.
2130         * iconvdata/nats-dano.c: New file.
2131         * iconvdata/nats-sefi.c: New file.
2133 1998-04-30 18:20  H.J. Lu  <hjl@gnu.org>
2135         * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
2136         loader if PIC is not defined.
2138 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
2140         * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
2141         ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
2142         INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
2143         and ISO_5428.
2144         Define *-routines variables for new modules.
2145         (distribute): Add .c files for new modules.
2146         (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
2147         ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
2148         greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
2149         iso_5427.h, iso_5427-ext.h, and iso_5428.h.
2150         Add rules for header generation.
2151         * iconvdata/gconv-modules: Add entries for new modules.
2152         * iconvdata/csn_369103.c: New file.
2153         * iconvdata/cwi.c: New file.
2154         * iconvdata/dec-mcs.c: New file.
2155         * iconvdata/ecma-cyrillic.c: New file.
2156         * iconvdata/gost_19768-74.c: New file.
2157         * iconvdata/greek-ccitt.c: New file.
2158         * iconvdata/greek7-old.c: New file.
2159         * iconvdata/greek7.c: New file.
2160         * iconvdata/inis-8.c: New file.
2161         * iconvdata/inis-cyrillic.c: New file.
2162         * iconvdata/inis.c: New file.
2163         * iconvdata/iso6937-2.c: New file.
2164         * iconvdata/iso_2033.c: New file.
2165         * iconvdata/iso_5427-ext.c: New file.
2166         * iconvdata/iso_5427.c: New file.
2167         * iconvdata/iso_5428.c: New file.
2169         * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
2170         entries.
2171         Convert U02dd correctly.
2173 1998-09-11 20:46  Richard Henderson  <rth@cygnus.com>
2175         * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
2176         _dl_main_searchlist not _dl_default_scope to _dl_init_next.
2177         * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
2178         * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
2180 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
2182         * resolv/res_init.c (res_init): Handle resolv.conf file with only
2183         one nameserver correctly.  Patch by HJ Lu.
2185         * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
2186         and ANSI_X3.110.
2187         Define *-routines variables for new modules.
2188         (distribute): Add .c files for new modules.
2189         (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
2190         Add rules for hedaer generation.
2191         * iconvdata/gconv-modules: Add entries for new modules.  Pretty print.
2192         * iconvdata/ansi_x3.110.c: New file.
2193         * iconvdata/asmo_449.c: New file.
2194         * iconvdata/baltic.c: New file.
2195         * iconvdata/iec_p27-1.c: New file.
2197         * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
2198         entries.
2199         Convert U02dc correctly.
2201         * math/atest-exp.c: Add parentheses to avoid gcc warnings.
2202         * math/atest-exp2.c: Likewise.
2203         * math/atest-sincos.c: Likewise.
2205         * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
2206         is defined.
2208 1998-09-11 10:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2210         * string/strcoll.c: Optimize a few expressions.
2211         * string/strxfrm.c: Likewise.
2213 1998-09-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2215         * manual/locale.texi: Fix typos.
2217 1998-09-10  Ulrich Drepper  <drepper@cygnus.com>
2219         * stdlib/random_r.c (__setstate_r): Allow call with same state
2220         array as currently used (PR libc/774).
2222         * include/limits.h: Include gcc's header even if this file is
2223         found more than once before it (PR libc/778)
2225         * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
2226         (sysdep_headers): Remove sys/debugreg.h.
2227         * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
2228         (sysdep_headers): Add sys/debugreg.h.
2229         * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
2230         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
2232         * stdio-common/tmpnam.c: Move local static variable buf to
2233         toplevel and rename to tmpnam_buffer to ease debugging.
2234         Patch by Joe Keane <jgk@jgk.org>.
2235         Optimize s == NULL case a bit.
2237         * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
2238         correction.
2240 1998-09-10 12:51  Ulrich Drepper  <drepper@cygnus.com>
2242         * resolv/res_init.c (res_init): Initialize _res.nscount and
2243         _res.nsaddr.sin_port differently for the can when no loopback
2244         is available to allow immediate timeout in non-networking environments.
2245         Patch by Cristian Gafton <gafton@redhat.com>.
2247 1998-09-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2249         * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
2250         BAR and not EM DASH.
2251         * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
2252         * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
2253         Fixes PR libc/717.
2255 1998-09-10 11:53  Ulrich Drepper  <drepper@cygnus.com>
2257         * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
2258         for test.
2259         * timezone/tst-timezone.c (tests): Fix typo in last patch.
2261         * time/tzfile.c (__tzfile_read): Handle case when there are no
2262         transitions.  Set __timezone based on computed offset.
2263         * time/tzset.c (tzset_internal): Set __timezone before returning.
2265         * time/tzset.c (tzset_internal): Optimize handling of local string
2266         copy.
2268 1998-09-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2270         * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
2271         libc/776).
2273 1998-09-09  Benjamin Kosnik  <bkoz@tintin.cygnus.com>
2275         * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
2276         (csqrt_test): Likewise.
2277         * sysdeps/powerpc/bits/fenv.h: Add parens.
2279 1998-09-09 18:48  Ulrich Drepper  <drepper@cygnus.com>
2281         * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
2282         _dl_main_searchlist not _dl_default_scope to _dl_init_next.
2283         Patch by Benjamin Kosnik <bkoz@cygnus.com>.
2285 1998-09-09  Mark Kettenis  <kettenis@phys.uva.nl>
2287         * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
2288         the special `-1' pointer.
2290 1998-09-09 09:32  Ulrich Drepper  <drepper@cygnus.com>
2292         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
2293         inline.
2295 1998-09-07  Paul Eggert  <eggert@twinsun.com>
2297         * time/mktime.c (__EXTENSIONS__): Define if not defined.
2298         (_REENTRANT): Remove.  It has undesirable consequences in
2299         Solaris 2.6 (e.g. it turns off the putc macro).  Defining
2300         __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
2301         is what we want.
2302         * time/strftime.c: Likewise.
2304 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2306         * elf/dl-error.c: Fix spelling.
2308 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2310         * stdlib/strfmon.c: Quiet -Wparentheses warnings.
2311         * stdio-common/_itoa.c: Likewise.
2312         * stdio-common/printf_fp.c: Likewise.
2313         * stdio-common/vfscanf.c: Likewise.
2314         * wcsmbs/wcstok.c: Likewise.
2315         * sysdeps/generic/glob.c: Likewise.
2316         * posix/getopt.c: Likewise.
2317         * sysdeps/posix/getaddrinfo.c: Likewise.
2318         * posix/wordexp.c: Likewise.
2319         * io/ftw.c: Likewise.
2320         * io/fts.c: Likewise.
2321         * misc/getpass.c: Likewise.
2322         * iconv/gconv_conf.c: Likewise.
2323         * argp/argp-fmtstream.c: Likewise.
2324         * argp/argp-help.c: Likewise.
2325         * elf/dl-load.c: Likewise.
2326         * locale/programs/stringtrans.c: Likewise.
2327         * catgets/gencat.c: Likewise.
2328         * posix/getconf.c: Likewise.
2329         * iconv/gconv_conf.c: Likewise.
2330         * iconv/iconv_prog.c: Likewise.
2332         * string/strcoll.c: Optimize a few expressions.
2333         * string/strxfrm.c: Likewise.
2335 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2337         * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
2338         level to avoid uninit variable warning.
2340 1998-09-09 10:34  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2342         * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
2343         instead of _dl_default_scope[2] as argument to _dl_init_next.
2345         * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
2346         C9x macro.
2348 1998-09-08  Ulrich Drepper  <drepper@cygnus.com>
2350         Fix compatibility problems introduced in last change.
2351         * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
2352         defined.
2353         * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
2354         -DWEAK_GMON_START to CFLAGS-initfini.s.
2356         * elf/dl-object.c (_dl_new_object): Store map address in
2357         _dl_loaded if _dl_loaded is NULL.
2358         * elf/rtld.c (dl_main): Don't update _dl_loaded here.
2360         * sysdeps/generic/setrlimit64.c: Remove stub warning.
2362 1998-09-07  Ulrich Drepper  <drepper@cygnus.com>
2364         * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
2365         quiet.
2366         * db2/btree/bt_cursor.c: Likewise.
2367         * db2/common/db_region.db_c: Likewise.
2368         * db2/common/db_salloc.db_c: Likewise.
2369         * db2/db/db.c: Likewise.
2370         * db2/db/db_rec.c: Likewise.
2371         * db2/hash/hash.c: Likewise.
2372         * db2/hash/hash_page.c: Likewise.
2373         * db2/hash/hash_rec.c: Likewise.
2374         * db2/log/log_findckp.c: Likewise.
2375         * db2/log/log_get.c: Likewise.
2376         * db2/log/log_put.c: Likewise.
2377         * db2/mp/mp_fget.c: Likewise.
2378         * db2/mp/mp_fput.c: Likewise.
2379         * db2/mp/mp_region.c: Likewise.
2380         * stdlib/strtol.c: Likewise.
2381         * string/strcoll.c: Likewise.
2382         * string/strxfrm.c: Likewise.
2383         * argp/argp-help.c: Likewise.
2384         * argp/argp-parse.c: Likewise.
2385         * resolv/res_debug.c: Likewise.
2387 1998-09-07 09:58  Ulrich Drepper  <drepper@cygnus.com>
2389         * math/tgmath.h (scalb): Only define for __USE_MISC or
2390         __USE_XOPEN_EXTENDED.  Patch by Zack Weinberg.
2392 1998-09-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2394         * libio/stdio.h: Fix comment.
2396         * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
2397         __USE_ISOC9X.
2399 1998-09-06 09:53 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2401         * Makeconfig (+gccwarn): Remove -Wno-parentheses.
2403         * elf/dl-open.c: Quiet -Wparentheses warnings.
2404         * iconvdata/johab.c: Likewise.
2405         * iconvdata/uhc.c: Likewise.
2406         * inet/inet_net.c: Likewise.
2407         * io/fts.c: Likewise.
2408         * locale/newlocale.c: Likewise.
2409         * misc/getttyent.c: Likewise.
2410         * misc/mntent_r.c: Likewise.
2411         * misc/ttyslot.c: Likewise.
2412         * nscd/nscd_conf.c: Likewise.
2413         * nss/nsswitch.c: Likewise.
2414         * resolv/gethnamaddr.c: Likewise.
2415         * resolv/nsap_addr.c: Likewise.
2416         * resolv/res_debug.c: Likewise.
2417         * stdio-common/_itoa.c: Likewise.
2418         * stdlib/strtod.c: Likewise.
2419         * string/strverscmp.c: Likewise.
2420         * sunrpc/svc.c: Likewise.
2421         * sysdeps/libm-ieee754/e_cosh.c: Likewise.
2422         * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
2423         * sysdeps/libm-ieee754/e_sinh.c: Likewise.
2424         * sysdeps/posix/getaddrinfo.c: Likewise.
2426 1998-09-06 15:13  Ulrich Drepper  <drepper@cygnus.com>
2428         * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
2429         for use of global scope.
2430         * elf/dlvsym.c (dlvsym_doit): Likewise.
2432 1998-09-02  Paul Eggert  <eggert@twinsun.com>
2434         * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
2435         copy the redundant bytes at the end of the format as-is; don't
2436         just copy their first byte and then rescan, as that might get
2437         us an encoding error.
2438         Account correctly for the length of multibyte sequences in the
2439         format.
2441 1998-09-03 20:14  Tim Waugh  <tim@cyberelk.demon.co.uk>
2443         * posix/wordexp-test.c: Add tests for different IFS values.
2444         Change unquoted-newline test so that newline is not in IFS.
2446         * posix/wordexp.c (wordexp): Correct null/unset mix-up when
2447         determining IFS characters.  Return WRDE_BADCHAR for unquoted
2448         special characters _except_ if they are separators.
2450 1998-09-06 10:56  Ulrich Drepper  <drepper@cygnus.com>
2452         * include/tgmath.h: New file.
2454         * libio/stdio.h: Correct reversed #ifs.
2455         Patch by Zack Weinberg.
2457         * manual/creature.texi: Better explain reason for feature select
2458         macros.
2459         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
2461 1998-09-06 10:25 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2463         * include/alloca.h: Add multiple-inclusion guard.
2464         * include/db.h: Likewise.
2465         * include/db_185.h: Likewise.
2466         * include/dlfcn.h: Likewise.
2467         * include/fcntl.h: Likewise.
2468         * include/grp.h: Likewise.
2469         * include/libintl.h: Likewise.
2470         * include/mntent.h: Likewise.
2471         * include/pwd.h: Likewise.
2472         * include/sched.h: Likewise.
2473         * include/search.h: Likewise.
2474         * include/setjmp.h: Likewise.
2475         * include/shadow.h: Likewise.
2476         * include/signal.h: Likewise.
2477         * include/stdio.h: Likewise.
2478         * include/stdlib.h: Likewise.
2479         * include/string.h: Likewise.
2480         * include/termios.h: Likewise.
2481         * include/time.h: Likewise.
2482         * include/ulimit.h: Likewise.
2483         * include/utmp.h: Likewise.
2484         * include/wchar.h: Likewise.
2485         * include/sys/file.h: Likewise.
2486         * include/sys/gmon.h: Likewise.
2487         * include/sys/ioctl.h: Likewise.
2488         * include/sys/mman.h: Likewise.
2489         * include/sys/resource.h: Likewise.
2490         * include/sys/select.h: Likewise.
2491         * include/sys/socket.h: Likewise.
2492         * include/sys/statfs.h: Likewise.
2493         * include/sys/time.h: Likewise.
2494         * include/sys/times.h: Likewise.
2495         * include/sys/wait.h: Likewise.
2497 1998-09-06 09:00  Ulrich Drepper  <drepper@cygnus.com>
2499         * version.h (VERSION): Bump to 2.0.96.
2501         Rewrite runtime linker to be truly thread-safe.  There is now no
2502         global variable specifying the scope.  We create all needed
2503         scopes at the time the link maps are created.
2504         * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
2505         * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
2506         l_symbolic_searchlist, l_scope, and l_local_scope elements in
2507         struct link_map.
2508         * elf/dl-close.c: Rewritten accordingly.
2509         * elf/dl-deps.c: Likewise.
2510         * elf/dl-error.c: Likewise.
2511         * elf/dl-init.c: Likewise.
2512         * elf/dl-load.c: Likewise.
2513         * elf/dl-lookup.c: Likewise.
2514         * elf/dl-object.c: Likewise.
2515         * elf/dl-open.c: Likewise.
2516         * elf/dl-reloc.c: Likewise.
2517         * elf/dl-runtime.c: Likewise.
2518         * elf/dl-support.c: Likewise.
2519         * elf/dl-symbol.c: Likewise.
2520         * elf/dl-version.c: Likewise.
2521         * elf/dlsym.c: Likewise.
2522         * elf/dlvsym.c: Likewise.
2523         * elf/ldsodefs.h: Likewise.
2524         * elf/rtld.c: Likewise.
2525         * iconv/gconv_dl.c: Likewise.
2526         * nss/nsswitch.c: Likewise.
2527         * sysdeps/i386/dl-machine.h: Likewise.
2528         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
2530         * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
2531         Define RTLD_DEFAULT.
2533 1998-09-05  Mark Kettenis  <kettenis@phys.uva.nl>
2535         * sysdeps/mach/hurd/i386/init-first.c (init1): Call
2536         __getopt_clean_environment with __environ instead of envp.
2538 1998-09-05  Roland McGrath  <roland@baalperazim.frob.com>
2540         * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
2542         * string/argz-extract.c (__argz_extract): Add de-consting cast for
2543         setting results.
2545         * string/argz.h (argz_next): Add de-consting cast for return.
2546         * string/argz-next.c (__argz_next): Likewise.
2548         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
2549         Don't add netinet/udp.h, netinet/ip_icmp.h here.
2550         * sysdeps/gnu/Makefile: Do it here instead.
2551         * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
2552         * sysdeps/gnu/Dist: ... to here.
2554         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
2555         sysdeps/unix/sysv/linux/netinet/tcp.h,
2556         sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
2558 1998-09-04  Roland McGrath  <roland@baalperazim.frob.com>
2560         * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
2561         * string/argz-next.c, string/argz-extract.c: Fix defns.
2563 1998-09-03  Roland McGrath  <roland@baalperazim.frob.com>
2565         * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
2567         * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
2568         __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
2569         * sysdeps/generic/sysd-stdio.c: Likewise.
2571 1998-09-02  Ulrich Drepper  <drepper@cygnus.com>
2573         * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
2574         (_dl_map_object_from_fd): Make NAME argument const.
2575         Remove last parameter in _dl_new_object call.
2576         (print_search_path): Correct construction of composed path name.
2577         (_dl_map_object): Prevent looking at RPATH of the main map twice.
2578         Remove last parameter in _dl_new_object call.
2579         * elf/dl-object.c: Remove last parameter.  Determine whether create
2580         origin entry based on empty realname.  Handle file in root directory
2581         correctly.
2582         * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
2583         * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
2584         Remove last parameter in _dl_new_object call.
2585         * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
2586         * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
2588 1998-09-01  Ulrich Drepper  <drepper@cygnus.com>
2590         * elf/dl-close.c (_dl_close): Add more comments and correct some.
2591         Free l_searchlist and l_dupsearchlist.
2593         * debug/catchsegv.sh: Add one more pair of quotes.
2595 1998-09-01 17:53  Ulrich Drepper  <drepper@cygnus.com>
2597         * elf/dl-load.c (add_name_to_object): Change return type to void and
2598         make NAME parameter const.  Allocate room for NAME in same memory
2599         block used for l_libname entry.
2600         (_dl_map_object_from_fd): Don't free NAME on failure.
2601         (map_segment): Pass SONAME to add_name_to_object, not a copy.
2602         (_dl_map_object): Don't create copy of NAME.  Pass NAME to
2603         _dl_map_object_from_fd.
2604         * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
2605         memory block used for l_libname entry.
2606         * elf/dl-close.c: Adjust free()ing for this change.
2608 1998-09-01 15:36  Ulrich Drepper  <drepper@cygnus.com>
2610         * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
2612         * malloc/mtrace.c: Add bug report address.  Update email address.
2613         Add more @XXX@ to print correct address size.
2615         * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
2616         really initialized.
2618         * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
2619         for munmap call instead of examining phdr again.
2620         Free all malloc()ed strings and arrays.
2622 1998-08-09  Geoff Keating  <geoffk@ozemail.com.au>
2624         * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
2625         dl-machine.h.
2626         * sysdeps/powerpc/dl-machine.c: New file.
2627         * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
2628         files.  Revise ELF_PREFERRED_ADDRESS to take account of
2629         the new mapping information (fixes bug involving huge bloated
2630         web browser).  Set ELF_MACHINE_PLTREL_OVERLAP.
2631         * sysdeps/powerpc/dl-start.S: New file.
2633         * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
2634         l_map_end.
2635         * elf/do-rel.h: Call elf_machine_rel only once (to save space).
2636         * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
2637         others.  Call elf_dynamic_do_##reloc only once (to save even more
2638         space).
2639         * elf/link.h: Add new members l_map_start and l_map_end to keep
2640         track of the memory map.
2641         * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
2642         the executable.
2644 1998-09-01 11:53  Ulrich Drepper  <drepper@cygnus.com>
2646         * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
2647         Reported by Andreas Jaeger.
2649         * posix/glob.h: Use __size_t instead of size_t in definitions and
2650         make sure this is defined.
2652 1998-09-01 10:34  Ulrich Drepper  <drepper@cygnus.com>
2654         * manual/locale.texi: Almost complete rewrite.  Document more functions
2655         and functionality.
2656         * manual/arith.texi: Correct reference.
2657         * manual/string.texi: Pretty printing.
2659         * manual/texinfo.tex: Update from last available version.
2661 1998-08-31 22:44  Ulrich Drepper  <drepper@cygnus.com>
2663         * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
2664         invalid password.
2665         (_nss_nis_getpwuid_r): Likewise.
2666         Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
2668         * inet/rcmd.c: Implement netgroup support.
2669         Patch by Dick Streefland <dick_streefland@tasking.com>.
2671 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
2673         * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
2674         object on the list is removed.  Don't use this code for PIC.
2675         Reported by HJ Lu [PR libc/770].
2677 1998-08-31 15:56  Ulrich Drepper  <drepper@cygnus.com>
2679         * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
2681         * include/stdio.h: Add __vsscanf.
2683         * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
2684         __USE_ISOC9X.
2685         Remove __vsscanf declaration.
2686         Always declare fgetpos and fsetpos.
2688         * math/math.h: Define isinf as macro.
2689         * math/bits/mathcalls.h: Change to declare __isinf all the time.
2690         Don't declare scalb for ISO C 9x.
2692         * math/tgmath.h: Define fma.  Rewrite the underlying macros.
2694         * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
2696         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
2697         sys/ucontext.h.
2699         * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
2700         macros.
2702 1998-08-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2704         * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
2705         Reported by jreising@frequentis.com [PR libc/767].
2707 1998-08-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2709         * io/lockf.c (lockf): Move initilisation of fl.l_whence and
2710         fl.l_start at beginning of function.
2711         Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
2713 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
2715         * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
2716         Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
2718         * nscd/nscd.init: Make it work in RedHat systems.
2719         Patch by Christian Gafton.
2721 1998-08-29  Philip Blundell  <philb@gnu.org>
2723         * catgets/Makefile: Don't try to run test programs when
2724         cross-compiling.
2726 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
2728         * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
2729         Reported by Zack Weinberg.
2731 1998-08-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2733         * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
2734         * elf/Makefile (distribute): Remove ldd.sh.in.
2736 1998-08-31 11:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2738         * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
2739         variable.
2741 1998-08-29  Ulrich Drepper  <drepper@cygnus.com>
2743         * sysdeps/i386/register-dump.h: Move to ...
2744         * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
2746 1998-08-28 22:49  Ulrich Drepper  <drepper@cygnus.com>
2748         * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
2749         with load address, not map address.
2750         * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
2751         parameter and use this value.
2752         * sysdeps/arm/dl-machine.h: Likewise.
2753         * sysdeps/i386/dl-machine.h: Likewise.
2754         * sysdeps/m68k/dl-machine.h: Likewise.
2755         * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
2756         parameter.
2757         * sysdeps/powerpc/dl-machine.h: Likewise
2758         * sysdeps/sparc/sparc32/dl-machine.h: Likewise
2759         * sysdeps/sparc/sparc64/dl-machine.h: Likewise
2761 1998-08-28 09:22  Ulrich Drepper  <drepper@cygnus.com>
2763         * elf/rtld.c (process_envvars): Fix copy&paste error.
2765         * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
2766         memalign hook.
2767         (realloc_hook_ini): Don't overwrite memalign hook.
2768         (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
2769         Reported by Philippe Troin <phil@fifi.org>.
2771         * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
2772         Patch by Philippe Troin <phil@fifi.org>.
2774 1998-08-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2776         * sysdeps/generic/segfault.c (install_handler): Protect the
2777         non-POSIX signals with #ifdef.
2778         (catch_segfault): Add missing mode parameter for open.
2779         * debug/catchsegv.sh: Avoid termination message from shell.  Allow
2780         other termination signals.
2782 1998-08-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2784         * debug/Makefile (distribute): Add register-dump.h.
2786 1998-08-28 10:41  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2788         * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
2790 1998-08-27 19:42  Ulrich Drepper  <drepper@cygnus.com>
2792         * elf/Makefile (distribute): Add dl-origin.h.
2793         * sysdeps/generic/dl-origin.h: New file.
2794         * sysdeps/unix/sysv/linux/dl-origin.h: New file.
2795         * elf/link.h (struct link_map): Add l_origin field.
2796         * elf/dl-load.c (expand_dynamic_string_token): New function.
2797         (decompose_path): Remove WHERE argument, take link map pointer instead.
2798         Call expand_dynamic_string_token instead of local_strdup to make copy
2799         of rpath.
2800         (_dl_init_paths): Call decompose_path with correct argument.
2801         (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
2802         not defined.
2803         Check EI_OSABI and EI_ABIVERSION fields in header.
2804         Call _dl_new_object with extra argument.
2805         (_dl_map_object): Call decompose_path with correct argument.
2806         Call expand_dynamic_string_token instead of local_strdup to also
2807         expand DST.
2808         Call _dl_new_object with extra argument.
2809         * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
2810         but the main one if new argument is nonzero.
2811         * elf/ldsodefs.h: Adjust for _dl_new_object change.
2812         * elf/dl-support.c: Define _dl_origin_path.
2813         * elf/rtld.c: Likewise.  Set _dl_origin_path based on LD_ORIGIN_PATH.
2814         (dl_main): Call _dl_new_object with extra argument.
2816         * elf/dl-close (_dl_close): Free l_name and l_origin.
2818         * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
2819         modifier in asm, not c.
2821         * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
2822         to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
2824 1998-08-26 17:48  Ulrich Drepper  <drepper@cygnus.com>
2826         * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
2827         variable so that map can be freed.
2828         Reported by Philippe Troin <phil@fifi.org>.
2830         * elf/dl-open.c (dl_open_worker): Correct test for extending global
2831         scope array.
2832         Patch by Philippe Troin <phil@fifi.org>.
2834 1998-08-26  Geoff Keating  <geoffk@ozemail.com.au>
2836         * sysdeps/powerpc/register-dump.h: Rewrite.  Much nicer this way.
2837         Don't call writev() with a 100-element vector.
2838         * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
2839         return address.
2841         * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
2842         In particular, set __libc_stack_end.
2843         * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
2844         undefined.  Fix copyright notice.
2846 1998-08-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2848         * math/Makefile (gmp-objs): New variable.
2849         ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
2850         Depend on it.
2851         (tests): Add atest-exp atest-sincos atest-exp2.
2852         (tests-static): Remove atest-exp atest-sincos atest-exp2.
2854 1998-08-25  Ulrich Drepper  <drepper@cygnus.com>
2856         * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
2857         to toplevel.
2858         (_dl_unload_cache): New function.
2859         * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
2860         * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
2861         * elf/rtld.c (dl_main): Unload map file before jumping to user code.
2863         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
2864         Correct comment for O_LARGEFILE.
2865         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
2866         Change O_LARGEFILE to correct value.
2868 1998-08-25 14:34  Ulrich Drepper  <drepper@cygnus.com>
2870         * libio/iogetline.c (_IO_getline_info): Don't read anything for
2871         N == 0.  Patch by HJ Lu.
2873 1998-08-25 11:43  Ulrich Drepper  <drepper@cygnus.com>
2875         * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
2877 1998-08-25  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
2879         * argp/argp.h: Use __inline__ not inline.
2881         * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
2882         an input register as being clobbered.
2883         * sysdeps/i386/memset.c (memset): Likewise.
2884         * sysdeps/i386/bzero.c (__bzero): Likewise.
2885         * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
2887 1998-08-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2889         * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
2890         Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
2892 1998-08-24 16:34  Ulrich Drepper  <drepper@cygnus.com>
2894         * debug/catchsegv.sh: Handle text preceding backtrace better.
2895         * sysdeps/generic/segfault.c: Allow register dump.  Allow handler
2896         to be installed for other signals than SIGSEGV.
2897         * sysdeps/generic/register-dump.h: New file.
2898         * sysdeps/i386/register-dump.h: New file.
2899         * sysdeps/powerpc/register-dump.h: New file.
2901         * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
2902         sigcontextinfo.h.
2903         * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
2905 1998-08-24  Geoff Keating  <geoffk@ozemail.com.au>
2907         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
2909 1998-08-09  Geoff Keating  <geoffk@ozemail.com.au>
2911         * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
2912         * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
2913         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
2914         getresuid, getresgid.
2916 1998-08-16  Geoff Keating  <geoffk@ozemail.com.au>
2918         * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs.  Set up stack
2919         pointer in userland.
2921 1998-08-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2923         * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
2924         and fix value.
2926 1998-08-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2928         * elf/ldd.bash.in: Add missing quotes around $file.  Make loop
2929         over arguments Bourne shell compatible.  Don't exit unsuccessfully
2930         if nonelf returns successfully.  Avoid duplicating most of the
2931         script.
2932         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
2933         around $file.
2935 1998-08-24 10:37  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2937         * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
2938         sys/reg.h.
2939         * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
2940         * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
2942 1998-08-23  Ulrich Drepper  <drepper@cygnus.com>
2944         * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
2945         __modify_ldt and modify_ldt.
2946         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
2948         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2949         Use orl $-1 instead of movl $-1 to save two bytes.
2950         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
2951         Likewise.
2953 1998-08-17  H.J. Lu  <hjl@gnu.org>
2955         * libio/Versions (_IO_do_write, _IO_file_attach,
2956         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2957         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2958         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2959         _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
2961         * libio/fileops.c (_IO_do_write, _IO_file_attach,
2962         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2963         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2964         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2965         _IO_file_write, _IO_file_xsputn): Change the prefix to
2966         "_IO_new_". Added to GLIBC_2.1.
2968         * libio/libioP.h (_IO_do_write, _IO_file_attach,
2969         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2970         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2971         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2972         _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
2973         "_IO_new_".
2975         * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
2976         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2977         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2978         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2979         _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
2981 1998-08-23  Richard Henderson  <rth@cygnus.com>
2983         * Makeconfig (LDFLAGS): Remove.
2985         * csu/initfini.c: Return to .text before __gmon_start__.
2987         * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
2988         (STO_MIPS_*): Rename from STO_*.
2989         (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
2990         (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
2992         * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
2993         (main): e3s is negative on zero.
2994         * math/atest-exp2.c: Likewise.
2995         * math/atest-sincos.c: Likewise.
2997 1998-08-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2999         * Makerules (install): Add comment about absolute paths.
3001 1998-08-23  Ulrich Drepper  <drepper@cygnus.com>
3003         * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
3004         array to NUL to handle maxlen==1 case correctly.
3005         Patch by HJ Lu.
3007 1998-08-23  Richard Henderson  <rth@cygnus.com>
3009         * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
3010         * sysdeps/alpha/elf/crtend.S: Likewise.
3011         * sysdeps/alpha/elf/start.S: Likewise.
3013         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
3014         non-standard pv usage.
3016         * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
3017         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
3018         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
3019         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
3020         * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
3021         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
3022         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
3023         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
3024         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
3025         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
3026         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
3028         * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
3029         a finite non-denormal, deferring to the full IEEE version otherwise.
3031         * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
3032         Early out for -0.  Optimize for !_IEEE_FP_INEXACT.
3033         * sysdeps/alpha/fpu/s_floor.c: New.
3034         * sysdeps/alpha/fpu/s_floorf.c: New.
3035         * sysdeps/alpha/fpu/s_ceil.c: New.
3036         * sysdeps/alpha/fpu/s_ceilf.c: New.
3038 1998-08-22  Philip Blundell  <philb@gnu.org>
3040         * sysdeps/arm/bits/string.h: New file.
3042 1998-08-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3044         * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
3045         document it.
3047         * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
3048         test for recent Linux 2.1.100+ headers.
3050 1998-08-21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3052         * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
3054 1998-08-21 17:21  Ulrich Drepper  <drepper@cygnus.com>
3056         * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
3058 1998-08-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3060         * Makefile (elf/ldso_install): Put back.  The problem still persists.
3061         * elf/Makefile (ldso_install): Likewise.
3063 1998-08-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3065         * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
3066         create weak alias.
3067         * include/db.h: Declare __nss_db_open.
3068         * db2/Versions: Export it.
3070         * db2/makedb.c: Convert to use db2 API.
3071         * nss/nss_db/db-XXX.c: Likewise.
3072         * nss/nss_db/db-netgrp.c: Likewise.
3073         * nss/nss_db/db-alias.c: Likewise.
3074         (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
3076 1998-08-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3078         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3079         sys_setresuid, already built automatically (or not).
3080         * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
3081         instead of __syscall_setresuid and add back setresuid.
3082         * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
3083         __syscall_setresuid.
3085 1998-08-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3087         * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
3089 1998-08-20  Ulrich Drepper  <drepper@cygnus.com>
3091         * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
3092         BASH-ONLY marked region.
3093         * elf/ldd.bash.in: Remove special BASH-ONLY markers.
3095 1998-02-20 17:54  H.J. Lu  <hjl@gnu.org>
3097         * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
3098         _IO_SYSSEEK fails.
3100         * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
3102         * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
3103         element.
3105 1998-08-21  Roland McGrath  <roland@baalperazim.frob.com>
3107         * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
3108         with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
3109         * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
3110         (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
3111         (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
3112         those magic comments, and to use /bin/sh for @BASH@.
3113         (bash-ldd-rewrite): Use $(common-ldd-rewrite).
3114         * elf/ldd.sh.in: File removed.
3116 1998-08-20 20:07  Ulrich Drepper  <drepper@cygnus.com>
3118         * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
3119         cast them to unsigned long int.
3120         * pwd/putpwent.c (putpwent): Likewise.
3121         Patch by John Tobey <jtobey@banta-im.com>.
3123 1998-08-20 17:14  H.J. Lu  <hjl@gnu.org>
3125         * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
3126         _IO_pos_BAD.
3128 1998-02-20 17:54  H.J. Lu  <hjl@gnu.org>
3130         * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
3131         _IO_SYSSEEK fails.
3133 1998-08-20 19:14  Ulrich Drepper  <drepper@cygnus.com>
3135         * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
3136         Add umount and umount2.
3137         * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
3138         * sysdeps/unix/sysv/linux/umount.S: New file.
3139         * sysdeps/unix/sysv/linux/umount2.S: New file.
3140         * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
3141         Define MNT_FORCE.
3143         * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
3144         Add sys/sendfile.h.
3145         * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
3146         * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
3148         * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
3150         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
3151         sendfile.
3153 1998-08-20 16:01  Ulrich Drepper  <drepper@cygnus.com>
3155         * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
3156         * elf/ldd.bash.in: Likewise.
3158         * elf/sln.c: Avoid warning for no main prototype.
3160         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
3161         O_WRITE.
3162         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
3163         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3165         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
3166         F_GETSIG.
3167         * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
3168         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
3169         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3171 1998-08-20  Philip Blundell  <pb@nexus.co.uk>
3173         * sysdeps/arm/fpu/ieee754.h: Move to...
3174         * sysdeps/arm/ieee754.h: ... here.
3176         * sysdeps/arm/__longjmp.S: Put return value in correct register.
3177         Don't set the condition flags unnecessarily.
3178         * sysdeps/arm/fpu/__longjmp.S: Likewise.  Restore floating point
3179         registers correctly.
3181         * sysdeps/arm/dl-machine.h: Fix problems with profiling code
3182         (patch from Scott Bambrough).
3184         * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
3186         * csu/initfini.c (_init): Don't check whether __gmon_start__ is
3187         NULL, just call it unconditionally.
3188         (__gmon_start__): Provide stub version as a weak symbol.
3190 1998-07-30  Philip Blundell  <philb@gnu.org>
3192         * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
3193         by Scott Bambrough)
3195         * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
3196         like `@' in .type directives.
3198         * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
3199         * sysdeps/arm/bsd-_setjmp.S: Likewise.
3201         * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
3203 1998-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3205         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
3206         (F_GETOWN): Likewise.
3208         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
3209         Linux 2.1.117).
3211 1998-08-20  Ulrich Drepper  <drepper@cygnus.com>
3213         * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
3214         already defined.
3216 1998-08-18  Ulrich Drepper  <drepper@cygnus.com>
3218         * include/features.h: Define __USE_EXTERN_INLINES for recent
3219         enough gcc.
3220         * argp/argp.h: Define extern inline functions only if
3221         __USE_EXTERN_INLINES is defined.
3222         * libio/stdio.h: Likewise.
3223         * math/math.h: Likewise.
3224         * stdlib/stdlib.h: Likewise.
3225         * string/argz.h: Likewise.
3226         * sysdeps/generic/bits/sigset.h: Likewise.
3227         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
3228         * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
3229         * sysdeps/wordsize-32/inttypes.h: Likewise.
3230         * sysdeps/wordsize-64/inttypes.h: Likewise.
3231         * wcsmbs/wchar.h: Likewise.
3233         * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
3234         to allow compilation without optimization.
3236 1998-08-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3238         * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
3239         more entries.
3240         * nis/nss_compat/compat-initgroups.c: Likewise.
3241         * nis/nss_compat/compat-pwd.c: Likewise.
3242         * nis/nss_compat/compat-spwd.c: Likewise.
3243         * nis/nss_nis/nis-alias.c: Likewise.
3244         * nis/nss_nis/nis-ethers.c: Likewise.
3245         * nis/nss_nis/nis-grp.c: Likewise.
3246         * nis/nss_nis/nis-hosts.c: Likewise.
3247         * nis/nss_nis/nis-initgroups.c: Likewise.
3248         * nis/nss_nis/nis-network.c: Likewise.
3249         * nis/nss_nis/nis-proto.c: Likewise.
3250         * nis/nss_nis/nis-pwd.c: Likewise.
3251         * nis/nss_nis/nis-rpc.c: Likewise.
3252         * nis/nss_nis/nis-service.c: Likewise.
3253         * nis/nss_nis/nis-spwd.c: Likewise.
3255         * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
3257         * nis/ypclnt.c: Try binding dir only first time, could be to old.
3259         * nis/yp_xdr.c: Remove 1024 byte limit.
3260         * nis/ypupdate_xdr.c: Likewise.
3262         * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
3263         wrong data.
3265 1998-08-18  Roland McGrath  <roland@baalperazim.frob.com>
3267         * Rules (binaries-static, binaries-shared static pattern rules):
3268         Depend on lib%, not just libc%, from $(link-libc{,-static}).
3270         * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
3271         this here, overriding Makeconfig generic value so we link against
3272         the RPC libs.
3274 1998-08-17  Ulrich Drepper  <drepper@cygnus.com>
3276         * posix/tstgetopt.c (options): Add NULL entry at end
3277         Patch by Adrian Miranda <ade@psg.com>.
3279 1998-08-15 18:21  Ulrich Drepper  <drepper@cygnus.com>
3281         * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION.  Move EI_PAD
3282         to 9.
3284 1998-08-15 14:11  Ulrich Drepper  <drepper@cygnus.com>
3286         * elf/elf.h: Add PPC Diab relocations.
3288         * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
3290 1998-08-14 10:08  Ulrich Drepper  <drepper@cygnus.com>
3292         * manual/texinfo.tex: Update.
3294 1998-08-07  Geoff Keating  <geoffk@ozemail.com.au>
3296         * sysdeps/powerpc/backtrace.c: New file.
3298 1998-08-14  Philip Blundell  <pb@nexus.co.uk>
3300         * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
3301         sigjmp_save.
3302         * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
3304 1998-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3306         * Makefile (install-symbolic-link): Fix spelling.
3308 1998-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3310         * elf/elf.h (SHT_HIOS): Fix value.
3312 1998-08-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3314         * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
3315         part of the expansion, this is undefined by the standard.
3317 1998-08-13 19:41  Ulrich Drepper  <drepper@cygnus.com>
3319         * posix/getconf.c: Add support for systems with incomplete confname.h.
3321         * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
3323         * sysdeps/posix/wait3.c: Make it work.
3325 1998-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3327         * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
3328         (elf/ldso_install): Remove.
3330         * elf/Makefile (distribute): Add sln.c.
3331         (others): Add sln.
3332         (others-static): Add sln.
3333         (install-rootsbin): Add sln.
3334         (others-static): Add sln.
3335         (ldso_install): Remove.
3337 1998-07-24 10:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3339         * Makerules (install-clean-symbolic-link-list): Make phony.
3340         * Makefile (install-symbolic-link): Make phony.  Depend on
3341         subdir_install for parallel makes.
3344 1998-07-22  Ulrich Drepper  <drepper@cygnus.com>
3346         * elf/Makefile (distribute): Add sln.c
3348 1998-07-21 07:10  H.J. Lu  <hjl@gnu.org>
3350         * elf/sln.c: New file.
3352         * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
3353         (install-clean-symbolic-link-list): New target.
3354         (install): Depend on install-clean-symbolic-link-list.
3355         (make-shlib-link): Changed for $(symbolic-link-list).
3357         * Makefile (install-symbolic-link): New target.
3358         (install): Depend on install-symbolic-link.
3360 1998-08-12 17:03  Ulrich Drepper  <drepper@cygnus.com>
3362         * include/unistd.h: Protect against multiple inclusion.
3364         * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
3365         is defined, not is glob is defined.
3366         * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
3368 1998-08-01 17:18  H.J. Lu  <hjl@gnu.org>
3370         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
3371         xdr_string for ut_line, ut_name and ut_host.
3373 1998-08-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3375         * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
3376         /var/mail in accordance with FHS 2.0.
3377         Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
3379 1998-08-12  Richard Henderson  <rth@cygnus.com>
3381         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
3382         Update aliases for cancelation.
3384         * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
3385         playing with symbol versions.
3387 1998-08-12  Roland McGrath  <roland@baalperazim.frob.com>
3389         * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
3390         multiple inclusion protection.
3391         (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
3392         _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
3393         define all these to 1.
3394         (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
3396 1998-08-12  Roland McGrath  <roland@baalperazim.frob.com>
3398         * sysdeps/mach/usleep.c: Include <unistd.h>.
3399         (usleep): Return void.
3401 1998-08-11  Roland McGrath  <roland@baalperazim.frob.com>
3403         * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
3404         decl to inhibit warning in if_freenameindex defn.
3406         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
3408         * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
3410         * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
3411         * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
3412         * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
3413         * sysdeps/mach/usleep.c: Likewise.
3415         * sysdeps/mach/hurd/bind.c (bind): Add a const.
3417         * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
3418         * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
3419         * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
3420         * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
3421         * sysdeps/mach/usleep.c (usleep): Likewise.
3422         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
3423         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
3424         * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
3425         * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
3427 1998-08-11  Roland McGrath  <roland@baalperazim.frob.com>
3429         * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
3430         (glob64): Fix typo.
3432         * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
3433         %p arg to fprintf, since `void *' is the right type already.
3435 1998-07-25 19:47  Jose M. Moya  <josem@gnu.org>
3437         * sysdeps/mach/hurd/getcwd.c
3438         (_hurd_canonicalize_directory_name_internal): Do not loop forever
3439         for unknown root directories.
3440         (__getcwd): Return NULL when the current root directory could not
3441         be reached.
3443 1998-08-11 18:39  Ulrich Drepper  <drepper@cygnus.com>
3445         * string/strsignal.c (strsignal): Count real-time signals from zero.
3448 See ChangeLog.8 for earlier changes.