1 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
3 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Try reading
4 /prof/self/fd/FD first.
5 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
7 * stdio-common/_itoa.h (_fitoa_word): New inline function. Write
8 formatted number starting at given position and return pointer to
10 (_fitoa): Likewise, for long long.
12 1998-10-29 Roland McGrath <roland@baalperazim.frob.com>
14 * sysdeps/unix/sysv/linux/bits/sem.h,
15 sysdeps/unix/sysv/linux/bits/ipc.h,
16 sysdeps/unix/sysv/linux/bits/shm.h,
17 sysdeps/unix/sysv/linux/bits/msq.h: Moved to ...
18 * sysdeps/gnu/bits/sem.h, sysdeps/gnu/bits/ipc.h,
19 sysdeps/gnu/bits/shm.h, sysdeps/gnu/bits/msq.h: ... here,
20 so the same bits will be used for the Hurd.
22 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
24 * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Allow
25 compiling on systems without rt_sigaction syscall.
27 1998-10-12 Philip Blundell <pb@nexus.co.uk>
29 * Makeconfig (sysdep-subdirs): Allow Subdirs files to remove
30 directories as well as add them.
32 1998-10-28 Philip Blundell <pb@nexus.co.uk>
34 * sysdeps/unix/sysv/linux/neteconet/ec.h: New file. Support for
35 AF_ECONET sockets as found in recent Linux 2.1 kernels.
36 * sysdeps/unix/sysv/linux/Dist: Distribute it.
37 * sysdeps/unix/sysv/linux/Makefile: Install it.
39 1998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
41 * string/bits/string2.h: __USE_GNU already implies __USE_MISC.
43 1998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
45 * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
47 * sysdeps/unix/sysv/linux/alpha/bits/types.h (__FDS_BITS): Likewise.
48 * sysdeps/unix/sysv/linux/bits/types.h (__FDS_BITS): Likewise.
49 * sysdeps/unix/sysv/linux/mips/bits/types.h (__FDS_BITS): Likewise.
50 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__FDS_BITS):
52 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h (__FDS_BITS):
54 * sysdeps/generic/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
56 * sysdeps/i386/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
57 __FD_ISSET): Likewise.
59 1998-10-28 Geoff Keating <geoffk@ozemail.com.au>
61 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Tidy up, correct
64 * sysdeps/unix/sysv/linux/powerpc/pread.c: Do not use the i386 version.
65 Instead call the system call wrapper function using an 64bit argument.
66 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
67 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
68 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
70 1998-10-27 Ulrich Drepper <drepper@cygnus.com>
72 * signal/signal.h: Don't include <time.h> for timespec, add
75 * sysdeps/i386/bits/select.h [!__USE_XOPEN]: Add special version
76 of __FD_* macros which use __fds_bits.
77 * sysdeps/generic/bits/select.h: Likewise.
78 Reported by Matt McLean <keys@yikes.com>.
80 1998-10-27 Philip Blundell <pb@nexus.co.uk>
82 * elf/elf.h: Update ARM definitions.
84 1998-10-27 Ulrich Drepper <drepper@cygnus.com>
86 * signal/signal.h: Include bits/sigthread.h only for Unix98.
88 1998-10-26 Ulrich Drepper <drepper@cygnus.com>
90 * include/libc-symbols.h: If HAVE_BUILTIN_EXPECT is not defined
91 define __builtin_expect as a macro substituting to the first
93 * config.h.in: Define HAVE_BUILTIN_EXPECT.
94 * configure.in: Add test for __builtin_expect.
96 * sysdeps/unix/sysv/linux/bits/types.h: Include
97 bits/pthreadtypes.h only not for POSIX 199506.
98 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
99 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
100 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
102 1998-10-26 Mark Kettenis <kettenis@phys.uva.nl>
104 * sysdeps/unix/sysv/linux/Versions: Move shutdown ...
105 * socket/Versions [libc, GLIBC_2.0]: ... to here.
107 1998-10-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
109 * include/stdio.h: Included <stddef.h> for size_t.
111 * stdio/stdio.h: Move __path_search, __gen_tempname, __libc_fatal
113 * include/stdio.h: ...here.
114 * libio/stdio.h: Removed __path_search, __gen_tempname, __libc_fatal.
116 1998-10-26 11:09 Ulrich Drepper <drepper@cygnus.com>
118 * time/Makefile (tests): Add tst-posixtz.
119 * time/tst-posixtz.c: New file.
121 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
123 * elf/rtld.c (process_envvars): Accept any non-null value of
124 LD_BIND_NOW, as mandated by the ABI.
126 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
128 * sysdeps/unix/sysv/linux/pread.c: Rename __syscall_pread64 to
130 * sysdeps/unix/sysv/linux/pwrite.c: Rename __syscall_pwrite64 to
132 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
133 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
134 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
135 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
136 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise. Remove
138 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
139 s_pread64 and s_pwrite64.
140 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
142 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
144 * sysdeps/unix/sysv/linux/llseek.c: Use INLINE_SYSCALL.
145 * sysdeps/unix/sysv/linux/arm/syscalls.list: Rename __sys_llseek
146 to __syscall__llseek.
147 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
148 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
149 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove entry for
152 1998-10-26 Cristian Gafton <gafton@redhat.com>
154 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add s_setfsgid
157 1998-10-26 Ulrich Drepper <drepper@cygnus.com>
159 * time/tzset.c (tz_compute): Correct last patch and describe this
162 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
164 * sysdeps/unix/sysv/linux/m68k/Makefile [subdir=signal]: Remove
165 rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo,
166 rt_sigaction and rt_sigpending.
167 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove all entries
168 for __syscall_* functions.
169 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Implement INLINE_SYSCALL.
171 1998-10-26 Roland McGrath <roland@baalperazim.frob.com>
173 * hurd/Versions: Add _hurd_dtable, _hurd_dtablesize,
174 _hurd_dtable_lock, _hurd_intern_fd.
176 * sysdeps/mach/hurd/Versions: Add cthread_keycreate,
177 cthread_getspecific, cthread_setspecific, __libc_getspecific.
179 * mach/Versions: Fix typo in last change.
181 1998-10-25 Ulrich Drepper <drepper@cygnus.com>
183 * time/tzset.c (tz_compute): If time to switch to DST is later in
184 the year switch back in the next year.
185 Reported by jwitford@hutch.com.au.
187 1998-10-24 Mark Kettenis <kettenis@phys.uva.nl>
189 * mach/Versions: Add evc_wait, mach_error, mach_error_string,
190 mach_error_type, mach_msg_destroy, mig_deallocate_reply_port.
191 Remove __mach_host_self, __mach_reply_port, __mach_setup_thread,
192 __mach_port_allocate, __mach_port_allocate_name,
193 __mach_port_insert_right __mutex_trylock, __mutex_lock,
194 __mutex_unlock, __swtch, __switch, __task_create, __task_suspend,
195 __task_set_special_port, __task_terminate, __thread_depress_abort,
196 __thread_switch, __vm_allocate, __vm_deallocate, __vm_map. These
197 functions are not used outside libc.
199 * sysdeps/mach/hurd/Versions: New file.
200 [libc, GLIBC_2.0]: Add _cthread_exit_routine and
201 _cthread_init_routine. These are set by the Hurd cthreads library.
202 Add __getcwd, __mmap. If we don't add these, the weak definitions in
203 the dynamic linker will not be replaced by the corresponding shared
204 library routines once they are loaded.
206 1998-10-21 Mark Kettenis <kettenis@phys.uva.nl>
208 * sysdeps/mach/hurd/i386/init-first.c: Only define
209 __libc_enable_secure if PIC is not defined.
211 1998-10-25 Roland McGrath <roland@baalperazim.frob.com>
213 * argp/Versions: Add _argp_unlock_xxx. Lock-savvy functions call this
214 to recurse into argp.
216 1998-10-25 Ulrich Drepper <drepper@cygnus.com>
218 * include/features.h: Define __USE_POSIS199506 is _POSIX_C_SOURCE is
219 greater or equal than 199506L.
221 * sysdeps/generic/bits/types.h (__fd_set): Define element as fds_bits
222 only is __USE_XOPEN. Otherwise use __fds_bits.
223 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
224 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
225 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
226 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
227 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
229 1998-10-24 H.J. Lu <hjl@gnu.org>
231 * locale/programs/charmap.c (parse_charmap): Accept tok_string
234 1998-10-25 H.J. Lu <hjl@gnu.org>
236 * locale/programs/ld-ctype.c (ctype_finish): Also check
239 1998-10-25 Ulrich Drepper <drepper@cygnus.com>
241 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX199506.
243 * sysdeps/unix/sysv/linux/bits/types.h: Include pthreadtypes.h only
244 if __USE_POSIX199506 or __USE_UNIX98.
246 1998-10-24 22:34 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
248 * string/bits/string2.h: Inline strdup+friends only if
249 __USE_MISC || __USE_GNU (prevents namespace pollution).
251 1998-10-24 H.J. Lu <hjl@gnu.org>
253 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (LOCK_SH,
254 LOCK_EX, LOCK_NB, LOCK_UN): Protect with __USE_BSD.
255 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (LOCK_SH, LOCK_EX,
256 LOCK_NB, LOCK_UN): Likewise.
257 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (LOCK_SH, LOCK_EX,
258 LOCK_NB, LOCK_UN): Likewise.
259 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (LOCK_SH, LOCK_EX,
260 LOCK_NB, LOCK_UN): Likewise.
261 * sysdeps/unix/sysv/linux/bits/fcntl.h (LOCK_SH, LOCK_EX,
262 LOCK_NB, LOCK_UN): Likewise.
264 1998-10-24 H.J. Lu <hjl@gnu.org>
266 * libio/ioseekoff.c (_IO_seekoff): Check the valid dir value.
268 * libio/rewind.c (rewind): Clear the error.
270 1998-10-24 H.J. Lu <hjl@gnu.org>
272 * grp/grp.h (getgrent_r, getgrgid_r, getgrnam_r): Add "__" to
275 1998-10-24 H.J. Lu <hjl@gnu.org>
277 * sysdeps/unix/sysv/linux/alpha/bits/time.h (timeval): Protect
279 * sysdeps/unix/sysv/linux/mips/bits/time.h (timeval): Likewise.
280 * sysdeps/unix/sysv/linux/bits/time.h (timeval): Likewise.
282 1998-10-24 H.J. Lu <hjl@gnu.org>
284 * signal/signal.h (timespec, siginfo_t, sigwaitinfo, sigtimedwait,
285 sigqueue): Protect with __USE_POSIX199309.
287 1998-10-24 H.J. Lu <hjl@gnu.org>
289 * time/time.h (timespec): Protect with __USE_POSIX199309 instead of
292 1998-10-24 H.J. Lu <hjl@gnu.org>
294 * libio/fileops.c (_IO_new_file_seekoff): Always resync with
295 the kernel file offset.
296 * libio/oldfileops.c (_IO_old_file_seekoff): Likewise.
298 1998-10-24 H.J. Lu <hjl@gnu.org>
300 * time/tzfile.c (__tzfile_default): Set num_types to 2.
302 1998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
304 * rt/aio.h: Move __aio_init to...
305 * include/aio.h: ...here.
307 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
309 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove duplicate
310 definition of O_LARGEFILE.
312 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
314 * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Use path
315 as first argument to statfs.
317 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
319 * sysdeps/generic/setenv.c (setenv): Add braces around ambiguous else.
321 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
323 * malloc/mtrace.c: Include <string.h> for strlen.
325 1998-10-24 Roland McGrath <roland@baalperazim.frob.com>
327 * sysdeps/mach/hurd/bits/environments.h: New file.
329 * sysdeps/mach/hurd/dl-sysdep.c (__getcwd): New weak function.
331 * mach/Versions, hurd/Versions: Add numerous symbols.
332 Remove libmachuser and libhurduser sections, punt
333 versioning for those libraries for now.
335 * misc/Versions: Add reboot here; it exists on all platforms.
336 * sysdeps/unix/sysv/linux/Versions: Remove reboot here.
338 1998-10-23 Ulrich Drepper <drepper@cygnus.com>
340 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOFOLLOW): New
342 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
343 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
344 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_LARGEFILE,
345 O_NOFOLLOW, O_DIRECT): New macros.
346 (O_DIRECTORY): Correct definition according to official 2.1.126.
347 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECTORY,
348 O_NOFOLLOW): New macros.
350 1998-10-24 Roland McGrath <roland@baalperazim.frob.com>
352 * include/ldsodefs.h: Test HAVE_ELF instead of __ELF__.
354 * sysdeps/mach/hurd/opendir.c (__opendir): Return ENOENT for "".
355 (__opendir): Add trailing slash to name for open, for ENOTDIR check.
357 1998-10-23 Ulrich Drepper <drepper@cygnus.com>
359 * sysdeps/unix/sysv/linux/i386/Dist: Add setresuid.c, setresgid.c,
360 setfsuid.c, and setfsgid.c.
361 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
362 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
363 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
365 * version.h (VERSION): Bump to 2.0.99.
367 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove duplicate
370 * sysdeps/unix/sysv/linux/i386/Dist: Remove s_pread64.c and
373 * posix/fnmath.h: Don't redefine __P when used in glibc.
374 * posix/glob.h: Likewise.
376 * inet/rcmd.c (__ivaliduser2): Fix memory leak.
377 Patch by Dick Streefland <dick_streefland@tasking.com>.
379 * stdio-common/tst-ungetc.c: Add more test cases.
381 * sysdeps/unix/sysv/linux/Dist: Add linux_fsinfo.h.
382 * sysdeps/unix/sysv/linux/fstatvfs.c: Move filesystem magic number
384 * sysdeps/unix/sysv/linux/linux_fsinfo.h: ...here. New file.
385 * sysdeps/unix/sysv/linux/fpathconf.c: New file.
386 * sysdeps/unix/sysv/linux/pathconf.c: New file.
387 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Handle _PC_LINK_MAX here.
388 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
390 1998-10-20 Philip Blundell <pb@nexus.co.uk>
392 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Include
393 <asm/ptrace.h> to define struct pt_regs.
394 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Don't bother
395 including <asm/ptrace.h> here.
397 * sysdeps/unix/sysv/linux/arm/sysdep.S: Remove spurious call to
400 1998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
402 * sysdeps/generic/sys/ptrace.h (__ptrace_request): Remove comma at
403 end of enumerator list.
404 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Likewise.
405 * posix/wordexp.h: Likewise.
407 * db/db.h: Use __PMT instead of __P in typedefs.
408 * db/mpool.h: Likewise.
409 * sysdeps/generic/bits/siginfo.h: Likewise.
410 * nis/rpcsvc/ypclnt.h: Likewise.
412 1998-10-23 Ulrich Drepper <drepper@cygnus.com>
414 * libio/genops.c (_IO_seekmark): When switching to backup buffer
415 make sure all characters from the read buffer are read after
416 switching back to it.
418 1998-10-22 Ulrich Drepper <drepper@cygnus.com>
420 * configure.in: Add support for Cygnus GNUPro compilers.
422 1998-10-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
424 * stdio/stdio.h: Use __PMT instead of __P in typedefs.
426 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use __PMT instead
427 of __P for sa_restorer.
428 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
429 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
430 kernel_sigaction, old_kernel_sigaction): Likewise.
432 1998-10-22 Ulrich Drepper <drepper@cygnus.com>
434 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add __syscall_pread
435 and __syscall_pwrite aliases.
437 * sunrpc/rpc/auth.h (AUTH_DH): New macro. Alias for AUTH_DES.
439 * sysdeps/unix/sysv/linux/i386/sysdep.h: Drastically simplify and
440 improve INLINE_SYSCALL using macro assembler magic.
442 1998-10-22 H.J. Lu <hjl@gnu.org>
444 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Add
446 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
448 * sysdeps/posix/fpathconf.c (__fpathconf): Set errno to
449 EINVAL if errno == ENODEV. Tested by VSX-PCT.
451 * sysdeps/posix/isatty.c (__isatty): Don't reset errno. Tested
454 * posix/execvp.c (execvp): Check "". Tested by VSX-PCT.
456 1998-10-22 Philip Blundell <pb@nexus.co.uk>
458 * sysdeps/unix/arm/sysdep.h: Wrap assembler macros in #ifdef
461 1998-10-21 Ulrich Drepper <drepper@cygnus.com>
463 * sysdeps/unix/sysv/linux/i386/sysdep.h: Remove EXTRAVARS_* macros
466 1998-10-21 14:38 Ulrich Drepper <drepper@cygnus.com>
468 * sysdeps/unix/sysdep.h (INLINE_SYSCALL): New macro. Simply call
469 __syscall_* function.
470 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use INLINE_SYSCALL instead
471 of calling __syscall_* function.
472 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
473 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
474 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
475 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
476 * sysdeps/unix/sysv/linux/getpriority.c: Likewise.
477 * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
478 * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
479 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
480 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
481 * sysdeps/unix/sysv/linux/poll.c: Likewise.
482 * sysdeps/unix/sysv/linux/pread.c: Likewise.
483 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
484 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
485 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
486 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
487 * sysdeps/unix/sysv/linux/readv.c: Likewise.
488 * sysdeps/unix/sysv/linux/reboot.c: Likewise.
489 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
490 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
491 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
492 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
493 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
494 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
495 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
496 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
497 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
498 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
499 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
500 * sysdeps/unix/sysv/linux/writev.c: Likewise.
501 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
502 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
503 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
504 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
505 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
506 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
507 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
508 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
509 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
510 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
511 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
512 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
513 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
515 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define INLINE_SYSCALL using
517 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove various
518 __syscall_* definitions.
520 * sysdeps/unix/sysv/linux/syscalls.list: Move various __syscall_*
522 * sysdeps/unix/sysv/linux/alpha/syscalls.list: ...here...
523 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
524 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
525 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
526 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
527 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
528 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
530 * sysdeps/unix/sysv/linux/Makefile [subdir=signal] (sysdep_routines):
531 Move definition to...
532 * sysdeps/unix/sysv/linux/alpha/Makefile: ...here...
533 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
534 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
535 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
536 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
537 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
538 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
540 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
541 (sysdep_routines): Remove s_pread64 and s_pwrite64.
543 * sysdeps/unix/sysv/linux/i386/pread.c: New file.
544 * sysdeps/unix/sysv/linux/i386/pread64.c: New file.
545 * sysdeps/unix/sysv/linux/i386/pwrite.c: New file.
546 * sysdeps/unix/sysv/linux/i386/pwrite64.c: New file.
547 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Removed.
548 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Removed.
550 1998-10-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
552 * sysdeps/unix/sysv/linux/siglist.h: Fix some typos in these files
553 and bring them in synch.
554 * sysdeps/unix/siglist.c: Likewise.
555 Reported by Vladimir Michl <michlv@risc.upol.cz> [PR libc/832].
557 1998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
559 * sysdeps/unix/sysv/linux/i386/setresuid.c: Allow -1 as arguments.
560 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
562 * sysdeps/unix/sysv/linux/i386/setreuid.c: New file.
563 * sysdeps/unix/sysv/linux/i386/setregid.c: New file.
564 * sysdeps/unix/sysv/linux/m68k/setreuid.c: New file.
565 * sysdeps/unix/sysv/linux/m68k/setregid.c: New file.
566 * sysdeps/unix/sysv/linux/arm/setreuid.c: New file.
567 * sysdeps/unix/sysv/linux/arm/setregid.c: New file.
568 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: New file.
569 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: New file.
570 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_setreuid and
572 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
573 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
574 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
576 1998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
578 * sunrpc/rpc_main.c (close_output, close_input): New functions.
579 (c_output, h_output, s_output, l_output, t_output, svc_output,
580 clnt_output, mkfile_output): Call them at the end.
582 1998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
584 * db/Makefile (LDFLAGS-db1.so): New variable, to avoid duplicating
587 1998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
589 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Add real contents.
590 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add s_setfs[ug]id.
592 1998-10-20 Ulrich Drepper <drepper@cygnus.com>
594 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_pread64 and
596 * sysdeps/unix/sysv/linux/powerpc/pread.c: New file.
597 * sysdeps/unix/sysv/linux/powerpc/pread64.c: New file.
598 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: New file.
599 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: New file.
600 Patch by Geoffrey KEATING <geoffk@discus.anu.edu.au>.
602 1998-10-18 Zack Weinberg <zack@rabi.phys.columbia.edu>
604 * sysdeps/unix/opendir.c: Check at runtime for kernel support for
607 1998-10-20 H.J. Lu <hjl@gnu.org>
609 * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Fix
612 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
614 * math/tgmath.h: Make nested function calls work.
616 * include/ldsodefs.h: Fix typo.
618 * posix/Makefile (tests): Add tst-preadwrite.
619 * posix/tst-preadwrite.c: New file.
621 * sysdeps/unix/opendir.c (__opendir): Add back fstat call to make
622 sure that descriptor is in any case for a directory.
624 1998-10-19 18:59 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
626 * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG): Fix typo: val -> Val.
627 (atan2): Takes two arguments.
629 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
631 * include/ldsodefs.h: New file.
633 * iconv/gconv.c: Include ldsodefs.h, not elf/ldsodefs.h.
634 Remove change to avoid using _CALL_DL_FCT.
635 * iconv/gconv_db.c: Likewise.
636 * iconv/gconv_dl.c: Likewise.
637 * iconv/skeleton.c: Likewise, here for DL_CALL_FCT.
638 * malloc/mtrace.c: Include ldsodefs.h, not elf/ldsodefs.h.
639 * nss/nsswitch.c: Likewise.
640 * nss/nsswitch.h: Likewise.
642 1998-10-19 Philip Blundell <pb@nexus.co.uk>
644 * sunrpc/Makefile (otherlibs): If static NSS is in use, set to the
646 * login/Makefile (otherlibs): Likewise.
647 * nscd/Makefile (otherlibs): Likewise.
648 * Makeconfig (link-libc) [! build_shared]: Add $(otherlibs).
650 * debug/Makefile (install-bin): Only build catchsegv if using ELF.
652 * inet/Makefile: Add -DSTATIC_NSS to CFLAGS.
654 1998-10-19 Philip Blundell <pb@nexus.co.uk>
656 * sysdeps/unix/sysv/linux/arm/syscalls.list: Added setfsgid
659 1998-10-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
661 * nscd/connections.c: Fix typos in comments and strings.
663 * nscd/nscd.conf: Update according to recent changes to nscd.
665 * nscd/cache.c (prune_cache): Remove wrong comment.
667 1998-10-19 13:24 Ulrich Drepper <drepper@cygnus.com>
669 * locale/programs/ld-collate.c (collate_startup): Clear bit for this
670 category in copy_posix.
671 (collate_finish): Don't warn about UNDEFINED not being defined.
672 * locale/programs/ld-ctype.c (ctype_startup): Clear bit for this
673 category in copy_posix.
674 * locale/programs/ld-messages.c (messages_startup): Likewise.
675 * locale/programs/ld-monetary.c (monetary_startup): Likewise.
676 * locale/programs/ld-numeric.c (numeric_startup): Likewise.
677 * locale/programs/ld-time.c (time_startup): Likewise.
678 * locale/programs/localedef.c: Move copy_def_list_t definition into
679 locales.h. Define copy_posix variable.
680 (main): Before processing copy list add ©_posix to copy_list.
681 * locale/programs/locales.h: Add definition of copy_def_list_t.
682 * locale/programs/locfile.c: Clear bit for appropriate category in
683 copy_posix.mask for copy instruction.
685 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
687 * sysdeps/unix/sysv/linux/i386/setresgid.c: Remove #include of
688 non-existing file with generic implementation.
689 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
691 1998-10-19 Philip Blundell <pb@nexus.co.uk>
693 * iconv/gconv_db.c: Include ELF header only if STATIC_GCONV is not
694 defined. Avoid using _CALL_DL_FCT if it is not defined.
695 * iconv/gconv.c: Likewise.
697 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
699 * nscd/connections.c (dbs): Define defualt values for timeouts and
700 set enabled to 0 by default.
701 (CACHE_PRUNE_INTERVAL): New constant. Use it instead of magical 15 in
704 * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISCNTRL bit for
706 (_nl_C_LC_CTYPE_class32): Likewise.
709 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
711 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
712 _HURD_THREADVAR_DL_ERROR.
714 * hurd/Makefile (user-interfaces): Add login, password.
716 * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses.
718 1998-08-06 Mark Kettenis <kettenis@phys.uva.nl>
720 [submitted 1998-08-06]
721 * mach/Machrules: Create target directory and force re-evaluation
722 of Makefile to prevent `make' from optimizing away most of the
723 implicit rules and `vpath' directives.
725 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
727 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): If _hurd_msgport_thread
728 is null, short-circuit to __mach_msg.
730 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): New function,
732 (init1) [PIC]: Call it.
733 (__libc_init_first) [! PIC]: Call it.
735 * sysdeps/mach/hurd/i386/init-first.c (init1): Don't call
736 __libc_init_secure. Instead set __libc_enable_secure here from
738 (__libc_enable_secure): New variable it.
739 * sysdeps/mach/hurd/enbl-secure.c: New file, empty placeholder module.
741 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
743 * nscd/nscd-client.h: New file, broken out of "nscd.h".
744 * nscd/nscd.h: Move defns needed by clients to "nscd-client.h",
746 * nscd/Makefile (distribute): Add nscd-client.h.
747 * nscd/nscd_getgr_r.c, nscd/nscd_gethst_r.c, nscd/nscd_getpw_r.c:
748 Include "nscd-client.h" instead of "nscd.h"
750 1998-10-18 Ulrich Drepper <drepper@cygnus.com>
752 * sysdeps/posix/getcwd.c (__getcwd): Don't stop processing
753 directory entries when a lstat call fails.
754 Patch by Colin Plumb <colin@nyx.net>.
756 * resolv/nss_dns/dns-host.c: Add missing errnop parameter to the
758 * resolv/nss_dns/dns-network.c: Likewise.
760 * grp/Makefile: Don't search for linuxthreads in add-ons, use
761 have-thread-library to determine whether threads are available.
762 * pwd/Makefile: Remove wrong comment.
764 * inet/Makefile: Define CFLAGS-gethstbyad_r.c, CFLAGS-gethstbynm_r.c,
765 and CFLAGS-gethstbynm2_r.c to -DUSE_NSCD=1.
767 * locale/C-messages.c: Define default strings for YESTR and NOSTR.
769 * nss/Versions: Add __nss_hosts_lookup.
771 * nss/getXXbyYY.c: Remove unneeded assignment.
773 * nss/getXXbyYY_r.c: Include nscd/nscd_proto.h only if needed.
775 Almost complete rewrite of the NSCD to make it smaller, faster,
776 add more functionnality and make it easier to extend.
777 * nscd/Makfile (routines): Add nscd_gethst_r.
778 (nscd-modules): Add hstcache, gethstbyad_r, gethstbynm2_r, and cache.
779 * nscd/cache.c: New file.
780 * nscd/gethstbyad_r.c: New file.
781 * nscd/gethstbynm2_r.c: New file.
782 * nscd/hstcache.c: New file.
783 * nscd/nscd_gethst_r.c: New file.
784 * nscd/connections.c: Rewritten. Don't start new thread for every
785 new connection. Use a fixed set of threads which handle all
786 connections and also the cache cleanup.
787 * nscd/grpcache.c: Rewritten to use generic cache handling functions
789 * nscd/nscd.c: Recognize new parameter nthreads. Adjust initialization
790 for rewrite. Remove handle_requests function.
791 * nscd/nscd.h (NSCD_VERSION): Bump to 2.
792 Define new data structure for the new unified cache and the host
794 * nscd/nscd_conf.c: Rewrite parsing partly to allow adding of more
795 databases easily. Recognize check-files and threads definitions.
796 * nscd/nscd.conf: Add definition of enable-cache and check-files to
797 passwd and group definitions. Add new set of definitions for hosts.
798 * nscd/nscd_getgr_r.c: Rewrite for new protocol.
799 * nscd/nscd_getpw_r.c: Likewise.
800 * nscd/nscd_proto.h: Add prototype for host database functions.
801 * nscd/nscd_stat.c: Rewrite to simplify printing of information
803 * nscd/dbg_log.c: Remove unnecessary variable initializations.
804 Global variable debug_flag is renamed to dbg_level.
805 * nscd/dbg_log.h: Declare set_logfile.
807 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
809 * sysdeps/unix/sysv/linux/bits/fcntl.h: Add dummy definition of
812 1998-10-16 Paul Eggert <eggert@shade.twinsun.com>
814 * time/mktime.c: Some systems require <unistd.h> to be
815 included before <time.h> for localtime_r to be declared
817 * time/strftime.c: Likewise.
819 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
821 * db/Makefile: Add rule to generate shared object with the soname
824 * sysdeps/unix/opendir.c: Use O_DIRECTORY if available. If not
825 available double check to verify it's a directory.
827 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add O_DIRECTORY.
828 * sysdeps/unix/sysv/linux/mips/bits/fcntl: Likewise.
829 * sysdeps/unix/sysv/linux/bits/fcntl.h: Remove O_* constants which
830 are not generally available.
831 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: New file.
833 * sysdeps/unix/sysv/linux/i386/setgroups.c: Add range check for values.
834 * sysdeps/unix/sysv/linux/arm/Makefile: New file.
835 * sysdeps/unix/sysv/linux/arm/setegid.c: New file.
836 * sysdeps/unix/sysv/linux/arm/seteuid.c: New file.
837 * sysdeps/unix/sysv/linux/arm/setfsgid.c: New file.
838 * sysdeps/unix/sysv/linux/arm/setfsuid.c: New file.
839 * sysdeps/unix/sysv/linux/arm/setgid.c: New file.
840 * sysdeps/unix/sysv/linux/arm/setgroups.c: New file.
841 * sysdeps/unix/sysv/linux/arm/setresgid.c: New file.
842 * sysdeps/unix/sysv/linux/arm/setresuid.c: New file.
843 * sysdeps/unix/sysv/linux/arm/setuid.c: New file.
844 * sysdeps/unix/sysv/linux/i386/setegid.c: New file.
845 * sysdeps/unix/sysv/linux/i386/seteuid.c: New file.
846 * sysdeps/unix/sysv/linux/i386/setfsgid.c: New file.
847 * sysdeps/unix/sysv/linux/i386/setfsuid.c: New file.
848 * sysdeps/unix/sysv/linux/i386/setgid.c: New file.
849 * sysdeps/unix/sysv/linux/i386/setgroups.c: New file.
850 * sysdeps/unix/sysv/linux/i386/setresgid.c: New file.
851 * sysdeps/unix/sysv/linux/i386/setresuid.c: New file.
852 * sysdeps/unix/sysv/linux/i386/setuid.c: New file.
853 * sysdeps/unix/sysv/linux/m68k/setegid.c: New file.
854 * sysdeps/unix/sysv/linux/m68k/seteuid.c: New file.
855 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: New file.
856 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: New file.
857 * sysdeps/unix/sysv/linux/m68k/setgid.c: New file.
858 * sysdeps/unix/sysv/linux/m68k/setgroups.c: New file.
859 * sysdeps/unix/sysv/linux/m68k/setresgid.c: New file.
860 * sysdeps/unix/sysv/linux/m68k/setresuid.c: New file.
861 * sysdeps/unix/sysv/linux/m68k/setuid.c: New file.
862 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
863 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
864 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: New file.
865 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: New file.
866 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: New file.
867 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
868 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file.
869 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file.
870 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: New file.
872 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add s_setgid, s_setresuid,
873 s_setresgid, and s_setuid.
874 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
875 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
876 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
877 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
878 (sysdep_routines): Add setfsgid, setfsuid, setresgid, and setresuid.
879 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
880 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
882 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
884 * time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get
885 localtime_t declaration on some systems.
887 1998-10-16 10:07 Ulrich Drepper <drepper@cygnus.com>
889 * iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to
891 * iconv/skeleton.c: Include ELF header only of STATIC_GCONV is not
892 defined. Avoid using DL_CLL_FCT if it is not defined.
894 1998-10-16 10:40 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
896 * resolv/arpa/nameser.h: Include sys/types.h unconditionally.
897 Include endian.h unconditionally. Remove portability goop
898 depending on #ifdef linux, #ifdef BSD, #ifdef machine-type.
900 1998-10-16 11:39 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
902 * sunrpc/rpc/types.h: Mark file so fixincludes won't modify it.
904 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
906 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios
907 again. Use char[44] to define size of the struct.
909 * sysdeps/unix/sysv/linux/arm/Dist: Add bits/armsigctx.h.
911 1998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
913 * string/bits/string2.h (strcmp): Don't cache the result of
914 __builtin_constant_p in variables, otherwise constant folding
915 can fail in big functions.
917 1998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
919 * string/bits/string2.h: Add prototypes for the new inline
922 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
924 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to
925 have all types defined.
926 Patch by Matti Aarnio <matti.aarnio@sonera.fi>.
928 1998-10-08 Paul Eggert <eggert@twinsun.com>
930 * time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r.
931 Define also if HAVE_LOCALTIME_R && defined localtime_r, with
932 a body that merely expands localtime_r; this works around a
933 bug in Digital Unix 4.0A and 4.0D.
935 1998-10-14 Ulrich Drepper <drepper@cygnus.com>
937 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl.
938 * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define
939 __ioctl to __syscall_ioctl and include Linux version of this file.
940 * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
941 * sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file. Redirect
942 ioctl calls which handle struct termios.
943 Based on a patch by Dan Jacobowitz <drow@false.org>.
945 1998-10-14 Ulrich Drepper <drepper@cygnus.com>
947 * version.h (VERSION): Bump to 2.0.98.
949 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios
950 here instead of including kernel_termios.h.
952 1998-10-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
954 * sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is
955 unnecessary after the changes of 1998-10-12.
957 1998-10-13 Ulrich Drepper <drepper@cygnus.com>
959 * sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output
960 parameter format string.
961 (inline_outw): Likewise.
963 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include
964 string.h to get memcpy prototype and NULL definition.
966 1998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
968 * misc/sys/cdefs.h (__THROW): New macro.
969 * argp/argp.h: Use it to replace the kludgey __P in inline
970 function definitions.
971 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
972 * stdlib/stdlib.h: Likewise.
973 * wcsmbs/wchar.h: Likewise.
974 * libio/stdio.h: Likewise.
975 * stdio/stdio.h: Likewise.
976 * sysdeps/wordsize-64/inttypes.h: Likewise.
977 * sysdeps/wordsize-32/inttypes.h: Likewise.
978 * string/argz.h: Likewise.
979 * io/sys/stat.h: Likewise.
981 1998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
983 * Rules (stdio_lim): New variable.
984 ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend
985 on Rules and config.make, use $(move-if-change) to avoid unnessary
986 recompilations, and cleanup command.
987 (common-generated): Add bits/stdio_lim.st.
989 1998-10-12 Ulrich Drepper <drepper@cygnus.com>
991 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): New
992 variable to prevent warnings from use of modern CPU instructions.
993 Patch by Richard Henderson <rth@cygnus.com>.
995 * sysdeps/unix/opendir.c: Test whether NAME is directory before
998 1998-10-12 Philip Blundell <pb@nexus.co.uk>
1000 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Add missing
1001 semicolon so that profiling works.
1003 1998-10-12 Roland McGrath <roland@baalperazim.frob.com>
1005 * sysdeps/generic/glob.c: #undef mempcpy before #define.
1007 * sysdeps/unix/bsd/clock.c: Use prototype defns.
1009 1998-10-11 Ulrich Drepper <drepper@cygnus.com>
1011 * Rules [posix in sysdirs]: Set L_tmpnam to 20.
1012 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
1014 * string/bits/string2.h [!_STRING_ARCH_unaligned]
1015 (__mempcpy_small): Add parameter for 1 byte copy and use it.
1016 Reported by Geoff Keating <geoffk@ozemail.com.au>.
1018 1998-10-09 Mark Kettenis <kettenis@phys.uva.nl>
1020 * sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove,
1021 it is already defined in <bits/environments.h>.
1023 1998-10-09 Ulrich Drepper <drepper@cygnus.com>
1025 * posix/ptestcases.h: Fix typo.
1027 1998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1029 * posix/regex.c (regcomp): Allocate and prepare a fastmap.
1030 (regexec): Allocate regs.start and regs.end as one block.
1032 1998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1034 * sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of
1037 1998-10-08 Philip Blundell <pb@nexus.co.uk>
1039 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of
1040 sigcontext union to ...
1041 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here. New
1043 * sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for
1044 version 2.0 kernels.
1046 1998-10-08 Ulrich Drepper <drepper@cygnus.com>
1048 * malloc/mtrace.c (tr_reallochook): Produce better output for real
1051 * signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined.
1052 * argp/argp-xinl.c: Likewise.
1054 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing
1056 Patch by Christian Gafton.
1058 1998-10-08 Paul Eggert <eggert@twinsun.com>
1060 * time/mktime.c (__mktime_internal): When the requested time falls
1061 in a spring-forward gap of size DT, return a time that is DT away
1062 from the requested time, preferring a time whose tm_isdst differs
1063 from the requested value. Bump the max number of probes from 4 to
1064 6 to account for the extra probes needed to discover a
1065 spring-forward gap in the worst case.
1067 1998-10-07 17:05 Ulrich Drepper <drepper@cygnus.com>
1069 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection
1070 of the weird alpha architectures.
1071 Patch by Cristian Gafton <gafton@redhat.com>.
1073 1998-02-18 23:31 Richard Henderson <rth@cygnus.com>
1075 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
1076 RAWHIDE and TSUNAMI. Patch from Jay.Estabrook@digital.com.
1078 1998-10-07 Ulrich Drepper <drepper@cygnus.com>
1080 * elf/dl-open.c (_dl_global_scope_alloc): Make global.
1081 (dl_open_worker): Use realloc, not malloc to resize array.
1082 * elf/rtld.c (_dl_initial_searchlist): New variable.
1083 (_dl_main): Copy content of _dl_main_searchlist to
1084 _dl_initial_searchlist.
1085 * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and
1086 _dl_global_scope_alloc.
1087 * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist.
1088 * elf/dl-close.c (_dl_close): When removing object with global
1089 scope remove allocated searchlist if no dynamically loaded object
1091 * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope.
1092 (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist.
1094 * malloc/mtrace.c (tr_where): Don't print space in location string,
1095 print it afterwards. Print better symbol name information.
1097 1998-10-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1099 * manual/filesys.texi (Setting Permissions): Fix example for
1102 1998-10-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1104 * elf/sprof.c (load_profdata): Fix typo in error message.
1106 1998-10-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1108 * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
1111 1998-10-04 Roland McGrath <roland@baalperazim.frob.com>
1113 * mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it.
1115 1998-10-06 Ulrich Drepper <drepper@cygnus.com>
1117 * version.h (VERSION): Bump to 2.0.97.
1119 1998-10-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1121 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P
1122 in definitions of inline stat functions so that they match the
1124 * stdlib/stdlib.h: Likewise.
1125 * wcsmbs/wchar.h: Likewise.
1126 * libio/stdio.h: Likewise.
1127 * stdio/stdio.h: Likewise.
1128 * sysdeps/wordsize-64/inttypes.h: Likewise.
1129 * sysdeps/wordsize-32/inttypes.h: Likewise.
1130 * string/argz.h: Likewise.
1131 * argp/argp.h: Likewise.
1133 1998-10-06 Ulrich Drepper <drepper@cygnus.com>
1135 * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
1138 1998-10-05 Philip Blundell <philb@gnu.org>
1140 * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures
1141 and constants. Tidy up formatting a little.
1143 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6):
1144 Move definitions to in.h.
1146 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1148 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER,
1149 SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added.
1150 Remove inclusion of <linux/swap.h>.
1152 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
1154 * io/sys/stat.h: Use __P in definitions of inline stat functions
1155 so that they match the declaration.
1157 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1159 * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added.
1161 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1163 * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current
1166 1998-10-02 Philip Blundell <pb@nexus.co.uk>
1168 * sysdeps/arm/dl-machine.h: Fix typo in last change.
1170 * sysdeps/arm/bits/huge_val.h: New file.
1172 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1174 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added.
1176 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add
1179 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
1181 * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to
1182 store result of realloc instead of using BUF.
1184 1998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1186 * misc/sgtty.h (_SGTTY_H): Correct spelling.
1187 Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817].
1189 1998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1191 * manual/memory.texi (Obstacks): Document
1192 obstack_alloc_failed_handler usage.
1194 * malloc/obstack.h: Enhance comment about
1195 obstack_alloc_failed_handler usage.
1196 * malloc/obstack.c: Likewise.
1198 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
1200 * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or
1201 gcc before 2.8 is used.
1203 1998-10-01 Philip Blundell <pb@nexus.co.uk>
1205 * sysdeps/arm/machine-gmon.h: Correct args to mcount(). Patch
1206 from Scott Bambrough.
1208 * sysdeps/unix/sysv/linux/arm/register-dump.h: New file.
1210 * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
1211 include the lock member.
1213 1998-09-03 Philip Blundell <pb@nexus.co.uk>
1215 * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.
1217 1998-10-01 Ulrich Drepper <drepper@cygnus.com>
1219 * timezone/zic.c: Update from tzcode1998h.
1220 * timezone/europe: Update from tzdata1998i.
1221 * timezone/southamerica: Likewise.
1223 * sys/types.h: Protect use of long long by __extension__.
1224 * stdlib/stdlib.h: Likewise.
1225 * string/string.h: Likewise.
1226 * sysdeps/i386/bits/byteswap.h: Likewise.
1227 * sysdeps/geeric/bits/byteswap.h: Likewise.
1228 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
1229 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1230 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1231 * sysdeps/wordsize-32/inttypes.h: Likewise.
1232 * sysdeps/wordsize-32/stdint.h: Likewise.
1233 * wcsmbs/wchar.h: Likewise.
1235 1998-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1237 * string/bits/string2.h (__string2_1bptr_p): Don't use a statement
1239 (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
1240 __strsep): Greatly reduce size of expansion by combining common
1242 (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
1244 (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
1245 by the above definitions.
1247 1998-09-27 Geoff Keating <geoffk@ozemail.com.au>
1249 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
1250 correct struct ipc_perm definition.
1252 1998-09-29 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1254 * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.
1256 1998-09-29 Cristian Gafton <gafton@redhat.com>
1258 * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
1259 * sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
1260 * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
1261 * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
1262 Add net/if_shaper.h.
1264 1998-09-29 Ulrich Drepper <drepper@cygnus.com>
1266 * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.
1268 * nis/ypclnt.c: Remove not needed close calls.
1270 1998-09-28 23:55 Ulrich Drepper <drepper@cygnus.com>
1272 * nis/ypclnt.c (__yp_bind): Pretty print. Optimize readv result
1273 check a bit. Also close socket of domain client. Close socket
1274 in IPPORT_RESERVED error case.
1276 1998-09-28 Ulrich Drepper <drepper@cygnus.com>
1278 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
1279 CMSG_ALIGN (fixes a bug) and correct test for availability of
1281 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
1283 (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
1284 availability of another entry.
1287 * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
1290 * libio/libio.h [!__STDC__]: Define const only if not defined.
1292 1998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1294 * posix/annexc.c (xsystem): New function. Use it instead of
1297 1998-09-28 Ulrich Drepper <drepper@cygnus.com>
1299 * stdlib/longlong.h: Remove #endif for #if removed in last change.
1301 1998-09-25 Ulrich Drepper <drepper@cygnus.com>
1303 * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
1304 Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
1305 allow using `ut' parameter.
1306 [!emacs]: Define ut_argument, ut_argument_spec, and
1307 ut_argument_spec_iso as empty. Define ut to 0. Add ut_argument and
1308 argument_spec to prototypes and definitions.
1309 (my_strftime): Don't call tzset of ut != 0.
1310 Compute diff as 0 is ut != 0;
1311 [emacs]: Define new emacs_strftime function.
1312 Based on a patch by Paul Eggert.
1314 1998-09-24 Paul Eggert <eggert@twinsun.com>
1316 * time/strftime.c (my_strftime): When asking for the length of the
1317 subformatted buffer, do not limit the length to look for;
1318 otherwise, we have no reliable way to distinguish between the
1319 empty buffer and an error.
1321 1998-09-25 Ulrich Drepper <drepper@cygnus.com>
1323 * math/Makefile (gmp-objs): Add mp_clz_tab.
1325 1998-09-25 David S. Miller <davem@pierdol.cobaltmicro.com>
1327 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
1329 * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
1330 cpus lacking hardware multiply and divide.
1332 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1334 * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
1337 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1339 * db/btree/bt_delete.c: Fix -Wparentheses warning.
1341 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1343 * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
1346 1998-09-24 Ulrich Drepper <drepper@cygnus.com>
1348 * debug/catchsegv.sh: Also produce output if clone process died.
1350 1998-09-24 Paul Eggert <eggert@twinsun.com>
1352 * time/strftime.c (f_wkday): Remove duplicate definition.
1353 (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
1354 !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
1355 1998-09-11 fix to this case.
1356 (wkday_len, month_len): Remove these macros; they're no longer needed.
1358 1998-09-24 Paul Eggert <eggert@twinsun.com>
1360 * time/strftime.c (my_strftime): Don't store past the end of a
1363 1998-09-24 Paul Eggert <eggert@twinsun.com>
1365 * time/strftime.c (underlying_strftime):
1366 Set the buffer to a nonzero value before calling
1367 strftime, and check to see whether strftime has set the buffer to zero.
1368 This lets us distinguish between an empty buffer and an error.
1370 1998-09-24 Paul Eggert <eggert@shade.twinsun.com>
1372 * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
1373 This fix is propagated from tzcode1998g.tar.gz.
1375 1998-09-24 Mark Kettenis <kettenis@phys.uva.nl>
1377 * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
1378 _sys_siglist. [!HAVE_GNU_LD]: Do not define _sys_siglist as
1379 sys_siglist. This is handled correctly by the weak_alias macro.
1381 1998-09-24 Ulrich Drepper <drepper@cygnus.com>
1383 * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
1384 of mempcpy. Reported by Andreas Jaeger.
1386 * misc/regexp.h (compile): Use alloca instead of __alloca. It won't
1387 pollute the namespace since the compiler will resolve it inline.
1388 Reported by Florian La Roche <florian@suse.de>.
1390 1998-09-24 10:29 Ulrich Drepper <drepper@cygnus.com>
1392 * timezone/private.h: Update from tzcode1998g.
1394 * timezone/africa: Update from tzdata1998h.
1395 * timezone/asia: Likewise.
1396 * timezone/australasia: Likewise.
1397 * timezone/europe: Likewise.
1398 * timezone/northamerica: Likewise.
1399 * timezone/southamerica: Likewise.
1400 * timezone/zone.tab: Likewise.
1402 1998-09-23 17:28 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1404 * misc/sys/mman.h: New file.
1406 * sysdeps/generic/bits/mman.h: New file.
1407 * sysdeps/unix/bsd/osf/bits/mman.h: New file.
1408 * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
1409 * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
1410 * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
1412 * sysdeps/generic/sys/mman.h: Removed.
1413 * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
1414 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
1415 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
1416 * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
1417 * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
1419 * include/sys/mman.h: Look directly for misc/sys/mman.h.
1420 * misc/Makefile (headers): Add bits/mman.h.
1421 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
1424 * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
1425 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
1426 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
1427 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
1428 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
1429 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
1430 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
1431 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
1433 1998-09-23 16:27 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1435 * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
1436 * sysdeps/mach/alpha/thread_state.h: Likewise.
1437 * sysdeps/mach/i386/sysdep.h: Likewise.
1438 * sysdeps/mach/i386/thread_state.h: Likewise.
1439 * sysdeps/mach/mips/sysdep.h: Likewise.
1440 * sysdeps/mach/mips/thread_state.h: Likewise.
1441 * sysdeps/posix/profil.c: Likewise.
1442 * sysdeps/i386/i586/memcopy.h: Likewise.
1443 * sysdeps/mach/pagecopy.h: Likewise.
1445 1998-09-23 15:25 Ulrich Drepper <drepper@cygnus.com>
1447 * libio/stdio.h: Define __need_getopt and include getopt.h to define
1449 * posix/unistd.h: Likewise.
1450 * stdio/stdio.h: Likewise.
1451 * posix/getopt.h: Remove _GNU_SOURCE use. If __need_getopt is defined
1452 define only getopt and the variables.
1454 1998-09-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1456 * scripts/test-installation.pl (installation_problem): Don't link
1457 the test program against libdb1.
1459 1998-09-23 13:52 Ulrich Drepper <drepper@cygnus.com>
1461 * Makeconfig (all-subdirs): Add db.
1462 * Versions.def: Add definition for libdb1.
1463 * shlib-versions: Add definitions for libdb1.
1464 * db/Makefile (extra-libs): Replace by libdb1.
1465 (libdb-routines): Rename to libdb1-routines.
1466 (headers): Rename to db1-headers.
1467 (distribute): Add $(db1-headers).
1468 (install-others): Define to install symlink libdb.so.NN and the
1470 (CPPFLAGS): Add -DUSE_LIBDB1
1471 Remove rules to build makedb.
1472 * db/Versions: Rename libdb to libdb1.
1473 * include/db.h: If USE_LIBDB1 is defined include db/db.h.
1474 * db/makedb.c: Removed.
1476 * scripts/versions.awk: Recognize digits in library names.
1478 * db/btree/bt_open.c: Fix compiler warnings.
1479 * db/btree/bt_put.c: Likewise.
1480 * db/btree/bt_split.c: Likewise.
1481 * db/hash/hash.c: Likewise.
1482 * db/hash/hash_bigkey.c: Likewise.
1483 * db/recno/rec_close.c: Likewise.
1485 * Makefile: Add localedata/% goal.
1487 1998-09-22 19:58 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1489 * posix/execvp.c: Don't give up searching the PATH if execve
1492 1998-09-22 12:53 Ulrich Drepper <drepper@cygnus.com>
1494 * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
1495 if _dl_fpu_control_set is set.
1496 * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
1497 * elf/rtld.c: Don't define _dl_fpu_control_set.
1498 * elf/Versions: Remove _dl_fpu_control_set.
1500 1998-09-22 11:51 Ulrich Drepper <drepper@cygnus.com>
1502 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
1503 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
1504 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
1505 Correct values of other SA_* macros according to kernel headers.
1507 1998-09-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1509 * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
1511 * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
1514 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1516 * elf/ldsodefs.h: Fix typo in comment.
1518 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1520 * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
1521 char when comparing buffer contents with putback character.
1523 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1525 * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
1527 * elf/Versions: Undo last change. Export _dl_fpu_control and
1528 _dl_fpu_control_set.
1529 * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
1530 variables. Include <fpu_control.h>.
1531 * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
1532 _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
1533 to indicate that is was seen.
1534 * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
1535 only if _dl_fpu_control was set and is equal to desired value.
1536 * math/Makefile (aux): Undo last change.
1537 * math/Versions: Export __fpu_control with version GLIBC_2.0.
1539 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1541 * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
1544 1998-09-21 10:00 Ulrich Drepper <drepper@cygnus.com>
1546 * string/bits/string2.h: Add mempcpy optimization.
1547 * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
1548 * intl/localealias.c: Define mempcpy only if not already defined.
1550 * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
1553 1998-09-20 10:48 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1555 * csu/abi-note.S: Emit the note directly instead of defining
1556 a preprocessor macro that's only used once. Don't include sysdep.h.
1557 * abi-tags: Generalize Solaris entry.
1559 1998-09-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1561 * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
1562 Change to array to avoid runtime relocation.
1563 * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
1565 1998-09-21 12:22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1567 * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
1568 * math/Makefile ($(objpfx)libieee.a): Likewise.
1570 1998-09-21 Ulrich Drepper <drepper@cygnus.com>
1572 * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
1573 Patch by John Tobey <jtobey@banta-im.com>.
1575 1998-09-20 Ulrich Drepper <drepper@cygnus.com>
1577 * login/Makefile (distribute): Remove pty-internal.h, add
1580 * stdlib/tst-strtol.c: Add more checks.
1581 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
1583 1998-09-20 09:37 Ulrich Drepper <drepper@cygnus.com>
1585 * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
1586 * elf/elf.h: Add AT_FPUCW.
1587 * elf/Makefile (dl-routines): Add fpu_control.
1588 (elide-routines.os): Add fpu_control.
1589 (rtld-routines): Add fpu_control.
1590 * math/Makefile (aux): Remove fpu_control.
1591 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
1592 (_dl_show_auxv): Likewise.
1593 * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
1594 if different from OS default.
1596 * stdio-common/tstscanf.c: Add test case for (nil).
1598 1998-09-18 17:41 Ulrich Drepper <drepper@cygnus.com>
1600 * libio/fileops.c (_IO_new_file_underflow): Before allocating
1601 buffer make sure the pushback buffer is destroyed.
1602 (_IO_new_file_seekoff): Likewise.
1603 If mode==0 quit early with the result.
1604 Clear OEF flag after successful fseek.
1605 * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
1606 * libio/ftello.c (ftello): Add offset from original buffer if
1607 stream has pushed back characters.
1608 * libio/ftello64.c (ftello64): Likewise.
1609 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
1610 * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
1611 * libio/ioftell.c (_IO_ftell): Likewise.
1612 * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
1614 (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
1615 (_IO_default_pbackfail): Only stored push back character in original
1616 buffer if it is the same as the one in the file at this position.
1617 * libio/iofclose.c: Free backup buffer if one is available.
1618 * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
1621 * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
1623 * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
1625 * stdio-common/vfscanf.c: Fix reading (nil) for %p.
1627 1998-09-18 Mark Kettenis <kettenis@phys.uva.nl>
1629 * login/programs/pt_chown.c (more_help): Correct message that
1630 describes the purpose of the program.
1632 * login/openpty.c: Do not include pty-private.h.
1633 (pts_name): New function. Return name of slave pseudo terminal in
1634 an allocated buffer if necessary.
1635 (openpty): Use pts_name to get name of the slave end of the pseudo
1638 * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
1639 pts_name before return.
1641 1998-09-18 11:15 Ulrich Drepper <drepper@cygnus.com>
1643 * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
1645 1998-09-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1647 * login/openpty.c: Include pty-private.h instead of
1650 1998-09-09 Philip Blundell <pb@nexus.co.uk>
1652 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
1654 1998-09-07 Philip Blundell <pb@nexus.co.uk>
1656 * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
1657 recent ld.so changes.
1658 (elf_machine_runtime_setup): Correct behaviour when profiling.
1660 1998-09-17 19:34 Ulrich Drepper <drepper@cygnus.com>
1662 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
1663 Patch by John Tobey <jtobey@banta-im.com>.
1665 1998-09-17 Mark Kettenis <kettenis@phys.uva.nl>
1667 * login/pty-internal.h: Removed. Moved constants related to the
1668 `grantpt' helper program protocol to ...
1669 * login/pty-private.h: ... here. New file.
1670 * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
1671 to make the function work with kernels >= 2.1.115.
1672 * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
1673 version if using the cloning device fails.
1674 * sysdeps/unix/sysv/linux/grantpt.c: New file.
1675 * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
1676 * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
1677 use by Linux specific code.
1678 * sysdeps/unix/bsd/unlockpt.c: General cleanup.
1679 * sysdeps/unix/grantpt.c: Largely rewritten. (pts_name): New
1680 function. (grantpt): Use pts_name, check group and permission
1681 mode in addition to owner. Try to set the owner, group and
1682 permission mode first without invoking the helper program.
1683 * login/programs/pt_chown.c: Largely rewritten. Add argp and
1684 internationalization support. Use symbolic constants instead of
1685 hardwired numbers for permission mode.
1686 * sysdeps/unix/bsd/ptsname.c: New file.
1688 1998-09-17 22:04 Tim Waugh <tim@cyberelk.demon.co.uk>
1690 * posix/wordexp-test.c: Undo last change.
1692 * posix/wordexp.c: Undo last change.
1694 1998-09-16 Ulrich Drepper <drepper@cygnus.com>
1696 * nscd/grpcache.c (save_grp): Partly undo last change.
1698 * nscd/pwdcache.c (save_pwd): Undo last change.
1700 1998-09-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1702 * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
1703 function. Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
1705 1998-09-15 David S. Miller <davem@pierdol.cobaltmicro.com>
1707 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
1708 Add profiling support.
1709 (TRAMPOLINE_TEMPLATE): New macro.
1710 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
1711 (RTLD_START): Prettify, and set __libc_stack_end properly.
1712 (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
1713 and check for sym being NULL instead.
1714 * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
1716 * sysdeps/sparc/sparc64/lshift.S: Likewise.
1717 * sysdeps/sparc/sparc64/mul_1.S: Likewise.
1718 * sysdeps/sparc/sparc64/rshift.S: Likewise.
1719 * sysdeps/sparc/sparc64/submul_1.S: Likewise.
1720 * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
1721 MEDANY code model %g4 usage.
1722 * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
1723 MEDANY code model %g4 usage.
1724 * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
1725 code model address formation.
1726 * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
1727 include elf/ldsodefs.h
1729 (elf_machine_matches_host): It is now EM_SPARCV9.
1730 (elf_machine_dynamic): Clean up to remove ugly cast.
1731 (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
1733 (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
1734 Prettify rest of function.
1735 [R_SPARC_COPY]: Check for sym being NULL.
1736 [R_SPARC_32]: Handle it.
1737 [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
1739 [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
1741 [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
1742 (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
1743 Add profiling support.
1744 (TRAMPOLINE_TEMPLATE): New macro.
1745 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
1746 (RTLD_START): Prettify and set __libc_stack_end.
1747 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
1749 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
1750 (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
1751 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
1752 unused variable scratch.
1753 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1754 (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
1756 (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
1757 stub to rt_sigaction syscalls. Rewrite non-rt case to use correct
1758 old format kernel sigaction structures.
1759 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
1760 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
1761 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
1762 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
1764 (_JMPBUF_UNWINDS): Define.
1765 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
1766 statfs64 structure, which is exactly the same as the normal one.
1767 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
1768 of stack. Use correct syscall trap number. Add branch prediction
1769 settings to branch instructions. Remove old MEDANY code model %g4
1770 referneces for non-PIC.
1771 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
1772 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
1773 * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
1774 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
1775 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1776 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
1777 __libc_longjmp and __libc_siglongjmp strong aliases.
1778 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
1779 Also define to __no__readdir64_decl around readdir.c inclusion.
1780 (__readdir64): Add strong alias.
1781 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
1782 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
1783 Set strong and weak names properly.
1785 1998-09-16 11:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1787 * manual/Makefile (AWK): Default to gawk if standalone.
1789 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1791 * Makefile (distribute): Undo last change.
1792 * Make-dist (+tsrc) [not subdir]: Also include indirection headers
1794 (+subdir-headers): Removed, unused.
1796 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1798 * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
1801 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1803 * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
1804 absolute name in $(config-sysdirs), can never happen.
1805 ($(+sysdir_pfx)sysd-rules): Likewise.
1806 * Makeconfig (full-config-sysdirs): Likewise.
1807 (all-Subdirs-files): Prepend $(..).
1809 * configure.in: Don't check for absolute name in $add_ons_pfx, can
1810 not happen. Let --enable-add-ons=yes work if no add-ons actually
1813 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1815 * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
1816 continuations in command.
1818 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1820 * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
1822 1998-09-16 00:47 Tim Waugh <tim@cyberelk.demon.co.uk>
1824 * posix/wordexp-test.c: If expansion or substitution occurs
1825 anywhere in a word, the entire word is subject to field-splitting.
1827 * posix/wordexp.c (parse_glob): Look for end of word instead of
1828 end of field when deciding what to glob.
1829 (field_split_word): New function, now the only place where
1830 field-splitting is performed.
1831 (parse_dollars): New parameter - tell the caller if
1832 field-splitting should be performed on this word.
1834 * posix/wordexp-test.c (testit): Only call wordfree if wordexp
1835 succeeded (or failed with WRDE_NOSPACE).
1837 1998-09-15 19:53 1998 Tim Waugh <tim@cyberelk.demon.co.uk>
1839 * posix/wordexp.c (wordexp): Don't convert IFS characters to
1842 * posix/wordexp-test.c: Words not the result of expansion or
1843 substitution should remain unchanged.
1845 1998-09-15 Ulrich Drepper <drepper@cygnus.com>
1847 * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
1848 (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
1850 1998-09-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1852 * stdio-common/Makefile: Include Makeconfig so that
1853 $(inst_includedir) is defined.
1855 1998-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1857 * io/pwd.c: Include <mcheck.h>.
1859 1998-09-15 08:00 Ulrich Drepper <drepper@cygnus.com>
1861 * nscd/pwdcache.c (save_pwd): Correct copying.
1862 * nscd/grpcache.c (save_grp): Likewise.
1864 1998-09-14 23:36 Ulrich Drepper <drepper@cygnus.com>
1866 * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
1867 (free_pwd): Adjust for this change.
1868 * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
1869 (free_grp): Adjust for this change.
1871 1998-09-14 Ulrich Drepper <drepper@cygnus.com>
1873 * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
1875 1998-09-14 15:29 Ulrich Drepper <drepper@cygnus.com>
1877 * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
1878 (install-others): Add bits/stdio_lim.h.
1879 Add rule to install bits/stdio_lim.h.
1881 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
1883 * Makefile (distribute): Add include/sys/mman.h.
1885 * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
1886 * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
1887 * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
1889 * grp/initgroups.c: Include stdlib.h.
1890 Patch by Zack Weinberg.
1892 1998-09-14 22:46 Tim Waugh <tim@cyberelk.demon.co.uk>
1894 * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
1895 for field-splitting :abc: is correct, and that two fields should
1896 result. Revert tests to reflect this.
1898 * posix/wordexp.c (w_emptyword): Remove function.
1899 (exec_comm): Don't use w_emptyword.
1900 (parse_param): Likewise.
1902 1998-09-14 15:00 Ulrich Drepper <drepper@cygnus.com>
1904 * sysdeps/arm/fpu/Dist: Moved to...
1905 * sysdeps/arm/Dist: ...here.
1906 * sysdeps/posix/Dist: Removed.
1907 * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
1908 * sysdeps/unix/sysv/linux/i386/Dist: ...here.
1910 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
1912 * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
1914 1998-09-14 11:26 Ulrich Drepper <drepper@cygnus.com>
1916 * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
1918 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1920 * libc-work/nis/nss_nisplus/nisplus-service.c
1921 (_nss_nisplus_parse_servent): Convert port in network byte order.
1923 1998-09-14 07:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1925 * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
1926 to provide only malloc and calloc.
1927 * include/stdlib.h: Support the above.
1928 * string/bits/string2.h: Use __need_malloc_and_calloc when
1930 (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
1932 * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
1933 * iconvdata/iso646.c: Include <stdlib.h>.
1935 1998-09-14 07:51 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1937 * sunrpc/rpc_cout.c: Add braces around ambiguous else.
1938 * sysdeps/libm-ieee754/w_pow.c: Likewise.
1939 * sysdeps/libm-ieee754/w_powf.c: Likewise.
1940 * sysdeps/libm-ieee754/w_powl.c: Likewise.
1942 1998-09-14 07:57 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1944 * stdio-common/stdio_lim.h.in: New file. All parameters
1945 are adjustable at build time.
1946 * Rules: Add a rule to build bits/stdio_lim.h from
1947 stdio-common/stdio_lim.h.in. (It has to be in Rules so that
1948 all subdirectories know how to make the file. It can't be
1949 in Makerules because then it gets built at top level and the
1950 dependencies are wrong.)
1952 * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
1953 * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
1955 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
1956 * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
1957 * sysdeps/posix/Makefile: Removed.
1958 * sysdeps/posix/mk-stdiolim.c: Removed.
1959 * sysdeps/generic/bits/stdio_lim.h: Removed.
1961 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1963 * argp/argp-help.c: Fixup indentation.
1964 * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
1965 * resolv/nss_dns/dns-network.c: Likewise.
1966 * resolv/res_send.c: Likewise.
1967 * rt/aio_cancel.c: Likewise.
1968 * rt/aio_misc.c: Likewise.
1970 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1972 * Makefile (install-symbolic-link): Remove the link list file at last.
1973 * Makerules (install-clean-symbolic-link-list): Removed.
1975 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1977 * timezone/tst-timezone.c: Print time in UTC to get consistent
1980 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1982 * elf/rtld.c (_dl_rpath): Removed.
1983 * elf/dl-support.c (_dl_path): Removed.
1984 * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
1985 (CFLAGS-dl-support.c): Removed.
1987 * elf/dl-load.c (env_path_list): Renamed from fake_path_list. All
1989 (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
1990 instead of appending it to the main map's rpath info.
1991 (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
1992 DT_RPATHs. This makes it effective again.
1993 (decompose_rpath): Remove second parameter, callers changed.
1994 (fillin_rpath): Allocate enough space in curwd.
1995 (expand_dynamic_string_token): Cope with get_origin returning -1.
1997 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1999 * libc-work/nis/nss_compat/compat-pwd.c: Add support for
2002 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
2005 1998-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
2007 * locale/programs/locale.c: Update dates.
2009 1998-09-13 Mark Kettenis <kettenis@phys.uva.nl>
2011 * sysdeps/generic/bits/types.h: Include <features.h>. Make sure
2012 size_t is defined. Some reordering of definitions to make
2013 maintaining this file in parallel with the linux-specific file easier.
2015 1998-09-13 Ulrich Drepper <drepper@cygnus.com>
2017 * io/pwd.c (main): Add call to mtrace.
2019 * malloc/mtrace.pl: Quote @ in string.
2021 1998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk>
2023 * posix/wordexp.c (parse_arith): Fix memory leaks.
2024 (exec_comm): Likewise.
2025 (parse_param): Likewise.
2026 (wordexp): Likewise.
2027 (exec_comm): Reduce number of function return points.
2028 (parse_param): Likewise.
2029 (wordexp): Likewise.
2031 1998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk>
2033 * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
2034 yield three fields, not two. Test both parameter expansion and
2035 command substitution for correct field-splitting behaviour.
2037 * posix/wordexp.c (w_emptyword): New function.
2038 (parse_param): Use it.
2039 (exec_comm): Likewise, for consistency with the way parse_param
2041 (parse_param): Fix some memory leaks.
2043 1998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au>
2045 * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
2046 Don't mark asm `volatile'.
2047 (__elf_machine_runtime_setup): Clear the last partial block in the PLT
2048 from the data cache too. Assume it isn't in the instruction cache yet.
2049 (__elf_machine_fixup_plt): Clear the modified address from the caches.
2051 1998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
2053 * sysdeps/generic/segfault.c (install_handler): Install signal
2054 handler with SA_ONSTACK instead of setting the stack flags to
2055 SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
2058 1998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2060 * signal/signal.h: Fix multiple inclusion guard to cover the
2062 * wcsmbs/wchar.h: Remove prototype of internal function
2064 * sysdeps/i386/i486/bits/string.h (memchr): Don't do
2065 arithmetic on `void *'.
2067 1998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
2069 * posix/wordexp-test.c: Fix wrong tests. Add new tests.
2071 * posix/wordexp.c (wordexp): Perform word-splitting instead of
2072 field-splitting here.
2073 (wordexp): If out of memory mid-word, free the word (but still
2074 leave pwordexp alone for caller to see).
2075 (parse_param): Allow for zero-length fields (smarter checking of
2076 memory allocation failure).
2077 (w_addword): Convert NULL words to "".
2078 (wordexp): Convert left-over IFS characters to blanks (like bash).
2080 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
2082 * configure.in: Use test -f instead of test -e.
2083 Patch by John Tobey <jtobey@banta-im.com>.
2085 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
2086 * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
2087 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
2088 * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
2089 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
2090 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
2091 * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
2092 Patches by John Tobey <jtobey@banta-im.com>.
2094 * time/strftime.c (my_strftime): Delay use of *tp values until
2095 latest possible point to allow partly initialized structures
2096 (e.g., from strptime).
2098 * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
2100 Define *-routines variables for new modules.
2101 (distribute): Add .c files for new modules.
2102 (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
2104 Add rules for header generation.
2105 * iconvdata/gconv-modules: Add entries for new modules.
2106 * iconvdata/iso_10367-box.c: New file.
2107 * iconvdata/mac-is.c: New file.
2108 * iconvdata/nats-dano.c: New file.
2109 * iconvdata/nats-sefi.c: New file.
2111 1998-04-30 18:20 H.J. Lu <hjl@gnu.org>
2113 * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
2114 loader if PIC is not defined.
2116 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
2118 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
2119 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
2120 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
2122 Define *-routines variables for new modules.
2123 (distribute): Add .c files for new modules.
2124 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
2125 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
2126 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
2127 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
2128 Add rules for header generation.
2129 * iconvdata/gconv-modules: Add entries for new modules.
2130 * iconvdata/csn_369103.c: New file.
2131 * iconvdata/cwi.c: New file.
2132 * iconvdata/dec-mcs.c: New file.
2133 * iconvdata/ecma-cyrillic.c: New file.
2134 * iconvdata/gost_19768-74.c: New file.
2135 * iconvdata/greek-ccitt.c: New file.
2136 * iconvdata/greek7-old.c: New file.
2137 * iconvdata/greek7.c: New file.
2138 * iconvdata/inis-8.c: New file.
2139 * iconvdata/inis-cyrillic.c: New file.
2140 * iconvdata/inis.c: New file.
2141 * iconvdata/iso6937-2.c: New file.
2142 * iconvdata/iso_2033.c: New file.
2143 * iconvdata/iso_5427-ext.c: New file.
2144 * iconvdata/iso_5427.c: New file.
2145 * iconvdata/iso_5428.c: New file.
2147 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
2149 Convert U02dd correctly.
2151 1998-09-11 20:46 Richard Henderson <rth@cygnus.com>
2153 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
2154 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
2155 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
2156 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
2158 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
2160 * resolv/res_init.c (res_init): Handle resolv.conf file with only
2161 one nameserver correctly. Patch by HJ Lu.
2163 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
2165 Define *-routines variables for new modules.
2166 (distribute): Add .c files for new modules.
2167 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
2168 Add rules for hedaer generation.
2169 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
2170 * iconvdata/ansi_x3.110.c: New file.
2171 * iconvdata/asmo_449.c: New file.
2172 * iconvdata/baltic.c: New file.
2173 * iconvdata/iec_p27-1.c: New file.
2175 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
2177 Convert U02dc correctly.
2179 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
2180 * math/atest-exp2.c: Likewise.
2181 * math/atest-sincos.c: Likewise.
2183 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
2186 1998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2188 * string/strcoll.c: Optimize a few expressions.
2189 * string/strxfrm.c: Likewise.
2191 1998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2193 * manual/locale.texi: Fix typos.
2195 1998-09-10 Ulrich Drepper <drepper@cygnus.com>
2197 * stdlib/random_r.c (__setstate_r): Allow call with same state
2198 array as currently used (PR libc/774).
2200 * include/limits.h: Include gcc's header even if this file is
2201 found more than once before it (PR libc/778)
2203 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
2204 (sysdep_headers): Remove sys/debugreg.h.
2205 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
2206 (sysdep_headers): Add sys/debugreg.h.
2207 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
2208 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
2210 * stdio-common/tmpnam.c: Move local static variable buf to
2211 toplevel and rename to tmpnam_buffer to ease debugging.
2212 Patch by Joe Keane <jgk@jgk.org>.
2213 Optimize s == NULL case a bit.
2215 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
2218 1998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
2220 * resolv/res_init.c (res_init): Initialize _res.nscount and
2221 _res.nsaddr.sin_port differently for the can when no loopback
2222 is available to allow immediate timeout in non-networking environments.
2223 Patch by Cristian Gafton <gafton@redhat.com>.
2225 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2227 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
2228 BAR and not EM DASH.
2229 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
2230 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
2233 1998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
2235 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
2237 * timezone/tst-timezone.c (tests): Fix typo in last patch.
2239 * time/tzfile.c (__tzfile_read): Handle case when there are no
2240 transitions. Set __timezone based on computed offset.
2241 * time/tzset.c (tzset_internal): Set __timezone before returning.
2243 * time/tzset.c (tzset_internal): Optimize handling of local string
2246 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2248 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
2251 1998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
2253 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
2254 (csqrt_test): Likewise.
2255 * sysdeps/powerpc/bits/fenv.h: Add parens.
2257 1998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
2259 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
2260 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
2261 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
2263 1998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
2265 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
2266 the special `-1' pointer.
2268 1998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
2270 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
2273 1998-09-07 Paul Eggert <eggert@twinsun.com>
2275 * time/mktime.c (__EXTENSIONS__): Define if not defined.
2276 (_REENTRANT): Remove. It has undesirable consequences in
2277 Solaris 2.6 (e.g. it turns off the putc macro). Defining
2278 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
2280 * time/strftime.c: Likewise.
2282 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2284 * elf/dl-error.c: Fix spelling.
2286 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2288 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
2289 * stdio-common/_itoa.c: Likewise.
2290 * stdio-common/printf_fp.c: Likewise.
2291 * stdio-common/vfscanf.c: Likewise.
2292 * wcsmbs/wcstok.c: Likewise.
2293 * sysdeps/generic/glob.c: Likewise.
2294 * posix/getopt.c: Likewise.
2295 * sysdeps/posix/getaddrinfo.c: Likewise.
2296 * posix/wordexp.c: Likewise.
2297 * io/ftw.c: Likewise.
2298 * io/fts.c: Likewise.
2299 * misc/getpass.c: Likewise.
2300 * iconv/gconv_conf.c: Likewise.
2301 * argp/argp-fmtstream.c: Likewise.
2302 * argp/argp-help.c: Likewise.
2303 * elf/dl-load.c: Likewise.
2304 * locale/programs/stringtrans.c: Likewise.
2305 * catgets/gencat.c: Likewise.
2306 * posix/getconf.c: Likewise.
2307 * iconv/gconv_conf.c: Likewise.
2308 * iconv/iconv_prog.c: Likewise.
2310 * string/strcoll.c: Optimize a few expressions.
2311 * string/strxfrm.c: Likewise.
2313 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2315 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
2316 level to avoid uninit variable warning.
2318 1998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2320 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
2321 instead of _dl_default_scope[2] as argument to _dl_init_next.
2323 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
2326 1998-09-08 Ulrich Drepper <drepper@cygnus.com>
2328 Fix compatibility problems introduced in last change.
2329 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
2331 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
2332 -DWEAK_GMON_START to CFLAGS-initfini.s.
2334 * elf/dl-object.c (_dl_new_object): Store map address in
2335 _dl_loaded if _dl_loaded is NULL.
2336 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
2338 * sysdeps/generic/setrlimit64.c: Remove stub warning.
2340 1998-09-07 Ulrich Drepper <drepper@cygnus.com>
2342 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
2344 * db2/btree/bt_cursor.c: Likewise.
2345 * db2/common/db_region.db_c: Likewise.
2346 * db2/common/db_salloc.db_c: Likewise.
2347 * db2/db/db.c: Likewise.
2348 * db2/db/db_rec.c: Likewise.
2349 * db2/hash/hash.c: Likewise.
2350 * db2/hash/hash_page.c: Likewise.
2351 * db2/hash/hash_rec.c: Likewise.
2352 * db2/log/log_findckp.c: Likewise.
2353 * db2/log/log_get.c: Likewise.
2354 * db2/log/log_put.c: Likewise.
2355 * db2/mp/mp_fget.c: Likewise.
2356 * db2/mp/mp_fput.c: Likewise.
2357 * db2/mp/mp_region.c: Likewise.
2358 * stdlib/strtol.c: Likewise.
2359 * string/strcoll.c: Likewise.
2360 * string/strxfrm.c: Likewise.
2361 * argp/argp-help.c: Likewise.
2362 * argp/argp-parse.c: Likewise.
2363 * resolv/res_debug.c: Likewise.
2365 1998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
2367 * math/tgmath.h (scalb): Only define for __USE_MISC or
2368 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
2370 1998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2372 * libio/stdio.h: Fix comment.
2374 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
2377 1998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2379 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
2381 * elf/dl-open.c: Quiet -Wparentheses warnings.
2382 * iconvdata/johab.c: Likewise.
2383 * iconvdata/uhc.c: Likewise.
2384 * inet/inet_net.c: Likewise.
2385 * io/fts.c: Likewise.
2386 * locale/newlocale.c: Likewise.
2387 * misc/getttyent.c: Likewise.
2388 * misc/mntent_r.c: Likewise.
2389 * misc/ttyslot.c: Likewise.
2390 * nscd/nscd_conf.c: Likewise.
2391 * nss/nsswitch.c: Likewise.
2392 * resolv/gethnamaddr.c: Likewise.
2393 * resolv/nsap_addr.c: Likewise.
2394 * resolv/res_debug.c: Likewise.
2395 * stdio-common/_itoa.c: Likewise.
2396 * stdlib/strtod.c: Likewise.
2397 * string/strverscmp.c: Likewise.
2398 * sunrpc/svc.c: Likewise.
2399 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
2400 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
2401 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
2402 * sysdeps/posix/getaddrinfo.c: Likewise.
2404 1998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
2406 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
2407 for use of global scope.
2408 * elf/dlvsym.c (dlvsym_doit): Likewise.
2410 1998-09-02 Paul Eggert <eggert@twinsun.com>
2412 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
2413 copy the redundant bytes at the end of the format as-is; don't
2414 just copy their first byte and then rescan, as that might get
2415 us an encoding error.
2416 Account correctly for the length of multibyte sequences in the
2419 1998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
2421 * posix/wordexp-test.c: Add tests for different IFS values.
2422 Change unquoted-newline test so that newline is not in IFS.
2424 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
2425 determining IFS characters. Return WRDE_BADCHAR for unquoted
2426 special characters _except_ if they are separators.
2428 1998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
2430 * include/tgmath.h: New file.
2432 * libio/stdio.h: Correct reversed #ifs.
2433 Patch by Zack Weinberg.
2435 * manual/creature.texi: Better explain reason for feature select
2437 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
2439 1998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2441 * include/alloca.h: Add multiple-inclusion guard.
2442 * include/db.h: Likewise.
2443 * include/db_185.h: Likewise.
2444 * include/dlfcn.h: Likewise.
2445 * include/fcntl.h: Likewise.
2446 * include/grp.h: Likewise.
2447 * include/libintl.h: Likewise.
2448 * include/mntent.h: Likewise.
2449 * include/pwd.h: Likewise.
2450 * include/sched.h: Likewise.
2451 * include/search.h: Likewise.
2452 * include/setjmp.h: Likewise.
2453 * include/shadow.h: Likewise.
2454 * include/signal.h: Likewise.
2455 * include/stdio.h: Likewise.
2456 * include/stdlib.h: Likewise.
2457 * include/string.h: Likewise.
2458 * include/termios.h: Likewise.
2459 * include/time.h: Likewise.
2460 * include/ulimit.h: Likewise.
2461 * include/utmp.h: Likewise.
2462 * include/wchar.h: Likewise.
2463 * include/sys/file.h: Likewise.
2464 * include/sys/gmon.h: Likewise.
2465 * include/sys/ioctl.h: Likewise.
2466 * include/sys/mman.h: Likewise.
2467 * include/sys/resource.h: Likewise.
2468 * include/sys/select.h: Likewise.
2469 * include/sys/socket.h: Likewise.
2470 * include/sys/statfs.h: Likewise.
2471 * include/sys/time.h: Likewise.
2472 * include/sys/times.h: Likewise.
2473 * include/sys/wait.h: Likewise.
2475 1998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
2477 * version.h (VERSION): Bump to 2.0.96.
2479 Rewrite runtime linker to be truly thread-safe. There is now no
2480 global variable specifying the scope. We create all needed
2481 scopes at the time the link maps are created.
2482 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
2483 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
2484 l_symbolic_searchlist, l_scope, and l_local_scope elements in
2486 * elf/dl-close.c: Rewritten accordingly.
2487 * elf/dl-deps.c: Likewise.
2488 * elf/dl-error.c: Likewise.
2489 * elf/dl-init.c: Likewise.
2490 * elf/dl-load.c: Likewise.
2491 * elf/dl-lookup.c: Likewise.
2492 * elf/dl-object.c: Likewise.
2493 * elf/dl-open.c: Likewise.
2494 * elf/dl-reloc.c: Likewise.
2495 * elf/dl-runtime.c: Likewise.
2496 * elf/dl-support.c: Likewise.
2497 * elf/dl-symbol.c: Likewise.
2498 * elf/dl-version.c: Likewise.
2499 * elf/dlsym.c: Likewise.
2500 * elf/dlvsym.c: Likewise.
2501 * elf/ldsodefs.h: Likewise.
2502 * elf/rtld.c: Likewise.
2503 * iconv/gconv_dl.c: Likewise.
2504 * nss/nsswitch.c: Likewise.
2505 * sysdeps/i386/dl-machine.h: Likewise.
2506 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
2508 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
2509 Define RTLD_DEFAULT.
2511 1998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
2513 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
2514 __getopt_clean_environment with __environ instead of envp.
2516 1998-09-05 Roland McGrath <roland@baalperazim.frob.com>
2518 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
2520 * string/argz-extract.c (__argz_extract): Add de-consting cast for
2523 * string/argz.h (argz_next): Add de-consting cast for return.
2524 * string/argz-next.c (__argz_next): Likewise.
2526 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
2527 Don't add netinet/udp.h, netinet/ip_icmp.h here.
2528 * sysdeps/gnu/Makefile: Do it here instead.
2529 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
2530 * sysdeps/gnu/Dist: ... to here.
2532 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
2533 sysdeps/unix/sysv/linux/netinet/tcp.h,
2534 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
2536 1998-09-04 Roland McGrath <roland@baalperazim.frob.com>
2538 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
2539 * string/argz-next.c, string/argz-extract.c: Fix defns.
2541 1998-09-03 Roland McGrath <roland@baalperazim.frob.com>
2543 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
2545 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
2546 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
2547 * sysdeps/generic/sysd-stdio.c: Likewise.
2549 1998-09-02 Ulrich Drepper <drepper@cygnus.com>
2551 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
2552 (_dl_map_object_from_fd): Make NAME argument const.
2553 Remove last parameter in _dl_new_object call.
2554 (print_search_path): Correct construction of composed path name.
2555 (_dl_map_object): Prevent looking at RPATH of the main map twice.
2556 Remove last parameter in _dl_new_object call.
2557 * elf/dl-object.c: Remove last parameter. Determine whether create
2558 origin entry based on empty realname. Handle file in root directory
2560 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
2561 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
2562 Remove last parameter in _dl_new_object call.
2563 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
2564 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
2566 1998-09-01 Ulrich Drepper <drepper@cygnus.com>
2568 * elf/dl-close.c (_dl_close): Add more comments and correct some.
2569 Free l_searchlist and l_dupsearchlist.
2571 * debug/catchsegv.sh: Add one more pair of quotes.
2573 1998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
2575 * elf/dl-load.c (add_name_to_object): Change return type to void and
2576 make NAME parameter const. Allocate room for NAME in same memory
2577 block used for l_libname entry.
2578 (_dl_map_object_from_fd): Don't free NAME on failure.
2579 (map_segment): Pass SONAME to add_name_to_object, not a copy.
2580 (_dl_map_object): Don't create copy of NAME. Pass NAME to
2581 _dl_map_object_from_fd.
2582 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
2583 memory block used for l_libname entry.
2584 * elf/dl-close.c: Adjust free()ing for this change.
2586 1998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
2588 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
2590 * malloc/mtrace.c: Add bug report address. Update email address.
2591 Add more @XXX@ to print correct address size.
2593 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
2596 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
2597 for munmap call instead of examining phdr again.
2598 Free all malloc()ed strings and arrays.
2600 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
2602 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
2604 * sysdeps/powerpc/dl-machine.c: New file.
2605 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
2606 files. Revise ELF_PREFERRED_ADDRESS to take account of
2607 the new mapping information (fixes bug involving huge bloated
2608 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
2609 * sysdeps/powerpc/dl-start.S: New file.
2611 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
2613 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
2614 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
2615 others. Call elf_dynamic_do_##reloc only once (to save even more
2617 * elf/link.h: Add new members l_map_start and l_map_end to keep
2618 track of the memory map.
2619 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
2622 1998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
2624 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
2625 Reported by Andreas Jaeger.
2627 * posix/glob.h: Use __size_t instead of size_t in definitions and
2628 make sure this is defined.
2630 1998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
2632 * manual/locale.texi: Almost complete rewrite. Document more functions
2634 * manual/arith.texi: Correct reference.
2635 * manual/string.texi: Pretty printing.
2637 * manual/texinfo.tex: Update from last available version.
2639 1998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
2641 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
2643 (_nss_nis_getpwuid_r): Likewise.
2644 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
2646 * inet/rcmd.c: Implement netgroup support.
2647 Patch by Dick Streefland <dick_streefland@tasking.com>.
2649 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
2651 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
2652 object on the list is removed. Don't use this code for PIC.
2653 Reported by HJ Lu [PR libc/770].
2655 1998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
2657 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
2659 * include/stdio.h: Add __vsscanf.
2661 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
2663 Remove __vsscanf declaration.
2664 Always declare fgetpos and fsetpos.
2666 * math/math.h: Define isinf as macro.
2667 * math/bits/mathcalls.h: Change to declare __isinf all the time.
2668 Don't declare scalb for ISO C 9x.
2670 * math/tgmath.h: Define fma. Rewrite the underlying macros.
2672 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
2674 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
2677 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
2680 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2682 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
2683 Reported by jreising@frequentis.com [PR libc/767].
2685 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2687 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
2688 fl.l_start at beginning of function.
2689 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
2691 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
2693 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
2694 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
2696 * nscd/nscd.init: Make it work in RedHat systems.
2697 Patch by Christian Gafton.
2699 1998-08-29 Philip Blundell <philb@gnu.org>
2701 * catgets/Makefile: Don't try to run test programs when
2704 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
2706 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
2707 Reported by Zack Weinberg.
2709 1998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2711 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
2712 * elf/Makefile (distribute): Remove ldd.sh.in.
2714 1998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2716 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
2719 1998-08-29 Ulrich Drepper <drepper@cygnus.com>
2721 * sysdeps/i386/register-dump.h: Move to ...
2722 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
2724 1998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
2726 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
2727 with load address, not map address.
2728 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
2729 parameter and use this value.
2730 * sysdeps/arm/dl-machine.h: Likewise.
2731 * sysdeps/i386/dl-machine.h: Likewise.
2732 * sysdeps/m68k/dl-machine.h: Likewise.
2733 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
2735 * sysdeps/powerpc/dl-machine.h: Likewise
2736 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
2737 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
2739 1998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
2741 * elf/rtld.c (process_envvars): Fix copy&paste error.
2743 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
2745 (realloc_hook_ini): Don't overwrite memalign hook.
2746 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
2747 Reported by Philippe Troin <phil@fifi.org>.
2749 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
2750 Patch by Philippe Troin <phil@fifi.org>.
2752 1998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2754 * sysdeps/generic/segfault.c (install_handler): Protect the
2755 non-POSIX signals with #ifdef.
2756 (catch_segfault): Add missing mode parameter for open.
2757 * debug/catchsegv.sh: Avoid termination message from shell. Allow
2758 other termination signals.
2760 1998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2762 * debug/Makefile (distribute): Add register-dump.h.
2764 1998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2766 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
2768 1998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
2770 * elf/Makefile (distribute): Add dl-origin.h.
2771 * sysdeps/generic/dl-origin.h: New file.
2772 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
2773 * elf/link.h (struct link_map): Add l_origin field.
2774 * elf/dl-load.c (expand_dynamic_string_token): New function.
2775 (decompose_path): Remove WHERE argument, take link map pointer instead.
2776 Call expand_dynamic_string_token instead of local_strdup to make copy
2778 (_dl_init_paths): Call decompose_path with correct argument.
2779 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
2781 Check EI_OSABI and EI_ABIVERSION fields in header.
2782 Call _dl_new_object with extra argument.
2783 (_dl_map_object): Call decompose_path with correct argument.
2784 Call expand_dynamic_string_token instead of local_strdup to also
2786 Call _dl_new_object with extra argument.
2787 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
2788 but the main one if new argument is nonzero.
2789 * elf/ldsodefs.h: Adjust for _dl_new_object change.
2790 * elf/dl-support.c: Define _dl_origin_path.
2791 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
2792 (dl_main): Call _dl_new_object with extra argument.
2794 * elf/dl-close (_dl_close): Free l_name and l_origin.
2796 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
2797 modifier in asm, not c.
2799 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
2800 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
2802 1998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
2804 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
2805 variable so that map can be freed.
2806 Reported by Philippe Troin <phil@fifi.org>.
2808 * elf/dl-open.c (dl_open_worker): Correct test for extending global
2810 Patch by Philippe Troin <phil@fifi.org>.
2812 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
2814 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
2815 Don't call writev() with a 100-element vector.
2816 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
2819 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
2820 In particular, set __libc_stack_end.
2821 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
2822 undefined. Fix copyright notice.
2824 1998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2826 * math/Makefile (gmp-objs): New variable.
2827 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
2829 (tests): Add atest-exp atest-sincos atest-exp2.
2830 (tests-static): Remove atest-exp atest-sincos atest-exp2.
2832 1998-08-25 Ulrich Drepper <drepper@cygnus.com>
2834 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
2836 (_dl_unload_cache): New function.
2837 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
2838 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
2839 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
2841 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
2842 Correct comment for O_LARGEFILE.
2843 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
2844 Change O_LARGEFILE to correct value.
2846 1998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
2848 * libio/iogetline.c (_IO_getline_info): Don't read anything for
2849 N == 0. Patch by HJ Lu.
2851 1998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
2853 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
2855 1998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
2857 * argp/argp.h: Use __inline__ not inline.
2859 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
2860 an input register as being clobbered.
2861 * sysdeps/i386/memset.c (memset): Likewise.
2862 * sysdeps/i386/bzero.c (__bzero): Likewise.
2863 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
2865 1998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2867 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
2868 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
2870 1998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
2872 * debug/catchsegv.sh: Handle text preceding backtrace better.
2873 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
2874 to be installed for other signals than SIGSEGV.
2875 * sysdeps/generic/register-dump.h: New file.
2876 * sysdeps/i386/register-dump.h: New file.
2877 * sysdeps/powerpc/register-dump.h: New file.
2879 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
2881 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
2883 1998-08-24 Geoff Keating <geoffk@ozemail.com.au>
2885 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
2887 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
2889 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
2890 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
2891 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
2892 getresuid, getresgid.
2894 1998-08-16 Geoff Keating <geoffk@ozemail.com.au>
2896 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
2897 pointer in userland.
2899 1998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2901 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
2904 1998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2906 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
2907 over arguments Bourne shell compatible. Don't exit unsuccessfully
2908 if nonelf returns successfully. Avoid duplicating most of the
2910 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
2913 1998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2915 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
2917 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
2918 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
2920 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
2922 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
2923 __modify_ldt and modify_ldt.
2924 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
2926 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2927 Use orl $-1 instead of movl $-1 to save two bytes.
2928 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
2931 1998-08-17 H.J. Lu <hjl@gnu.org>
2933 * libio/Versions (_IO_do_write, _IO_file_attach,
2934 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2935 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2936 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2937 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
2939 * libio/fileops.c (_IO_do_write, _IO_file_attach,
2940 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2941 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2942 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2943 _IO_file_write, _IO_file_xsputn): Change the prefix to
2944 "_IO_new_". Added to GLIBC_2.1.
2946 * libio/libioP.h (_IO_do_write, _IO_file_attach,
2947 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2948 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2949 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2950 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
2953 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
2954 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2955 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2956 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2957 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
2959 1998-08-23 Richard Henderson <rth@cygnus.com>
2961 * Makeconfig (LDFLAGS): Remove.
2963 * csu/initfini.c: Return to .text before __gmon_start__.
2965 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
2966 (STO_MIPS_*): Rename from STO_*.
2967 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
2968 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
2970 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
2971 (main): e3s is negative on zero.
2972 * math/atest-exp2.c: Likewise.
2973 * math/atest-sincos.c: Likewise.
2975 1998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2977 * Makerules (install): Add comment about absolute paths.
2979 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
2981 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
2982 array to NUL to handle maxlen==1 case correctly.
2985 1998-08-23 Richard Henderson <rth@cygnus.com>
2987 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
2988 * sysdeps/alpha/elf/crtend.S: Likewise.
2989 * sysdeps/alpha/elf/start.S: Likewise.
2991 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
2992 non-standard pv usage.
2994 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
2995 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
2996 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
2997 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
2998 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
2999 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
3000 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
3001 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
3002 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
3003 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
3004 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
3006 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
3007 a finite non-denormal, deferring to the full IEEE version otherwise.
3009 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
3010 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
3011 * sysdeps/alpha/fpu/s_floor.c: New.
3012 * sysdeps/alpha/fpu/s_floorf.c: New.
3013 * sysdeps/alpha/fpu/s_ceil.c: New.
3014 * sysdeps/alpha/fpu/s_ceilf.c: New.
3016 1998-08-22 Philip Blundell <philb@gnu.org>
3018 * sysdeps/arm/bits/string.h: New file.
3020 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3022 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
3025 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
3026 test for recent Linux 2.1.100+ headers.
3028 1998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3030 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
3032 1998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
3034 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
3036 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3038 * Makefile (elf/ldso_install): Put back. The problem still persists.
3039 * elf/Makefile (ldso_install): Likewise.
3041 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3043 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
3045 * include/db.h: Declare __nss_db_open.
3046 * db2/Versions: Export it.
3048 * db2/makedb.c: Convert to use db2 API.
3049 * nss/nss_db/db-XXX.c: Likewise.
3050 * nss/nss_db/db-netgrp.c: Likewise.
3051 * nss/nss_db/db-alias.c: Likewise.
3052 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
3054 1998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3056 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3057 sys_setresuid, already built automatically (or not).
3058 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
3059 instead of __syscall_setresuid and add back setresuid.
3060 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
3061 __syscall_setresuid.
3063 1998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3065 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
3067 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
3069 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
3070 BASH-ONLY marked region.
3071 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
3073 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
3075 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
3078 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
3080 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
3083 1998-08-21 Roland McGrath <roland@baalperazim.frob.com>
3085 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
3086 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
3087 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
3088 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
3089 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
3090 those magic comments, and to use /bin/sh for @BASH@.
3091 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
3092 * elf/ldd.sh.in: File removed.
3094 1998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
3096 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
3097 cast them to unsigned long int.
3098 * pwd/putpwent.c (putpwent): Likewise.
3099 Patch by John Tobey <jtobey@banta-im.com>.
3101 1998-08-20 17:14 H.J. Lu <hjl@gnu.org>
3103 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
3106 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
3108 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
3111 1998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
3113 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
3114 Add umount and umount2.
3115 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
3116 * sysdeps/unix/sysv/linux/umount.S: New file.
3117 * sysdeps/unix/sysv/linux/umount2.S: New file.
3118 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
3121 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
3123 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
3124 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
3126 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
3128 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
3131 1998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
3133 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
3134 * elf/ldd.bash.in: Likewise.
3136 * elf/sln.c: Avoid warning for no main prototype.
3138 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
3140 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
3141 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3143 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
3145 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
3146 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
3147 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3149 1998-08-20 Philip Blundell <pb@nexus.co.uk>
3151 * sysdeps/arm/fpu/ieee754.h: Move to...
3152 * sysdeps/arm/ieee754.h: ... here.
3154 * sysdeps/arm/__longjmp.S: Put return value in correct register.
3155 Don't set the condition flags unnecessarily.
3156 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
3157 registers correctly.
3159 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
3160 (patch from Scott Bambrough).
3162 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
3164 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
3165 NULL, just call it unconditionally.
3166 (__gmon_start__): Provide stub version as a weak symbol.
3168 1998-07-30 Philip Blundell <philb@gnu.org>
3170 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
3173 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
3174 like `@' in .type directives.
3176 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
3177 * sysdeps/arm/bsd-_setjmp.S: Likewise.
3179 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
3181 1998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3183 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
3184 (F_GETOWN): Likewise.
3186 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
3189 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
3191 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
3194 1998-08-18 Ulrich Drepper <drepper@cygnus.com>
3196 * include/features.h: Define __USE_EXTERN_INLINES for recent
3198 * argp/argp.h: Define extern inline functions only if
3199 __USE_EXTERN_INLINES is defined.
3200 * libio/stdio.h: Likewise.
3201 * math/math.h: Likewise.
3202 * stdlib/stdlib.h: Likewise.
3203 * string/argz.h: Likewise.
3204 * sysdeps/generic/bits/sigset.h: Likewise.
3205 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
3206 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
3207 * sysdeps/wordsize-32/inttypes.h: Likewise.
3208 * sysdeps/wordsize-64/inttypes.h: Likewise.
3209 * wcsmbs/wchar.h: Likewise.
3211 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
3212 to allow compilation without optimization.
3214 1998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3216 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
3218 * nis/nss_compat/compat-initgroups.c: Likewise.
3219 * nis/nss_compat/compat-pwd.c: Likewise.
3220 * nis/nss_compat/compat-spwd.c: Likewise.
3221 * nis/nss_nis/nis-alias.c: Likewise.
3222 * nis/nss_nis/nis-ethers.c: Likewise.
3223 * nis/nss_nis/nis-grp.c: Likewise.
3224 * nis/nss_nis/nis-hosts.c: Likewise.
3225 * nis/nss_nis/nis-initgroups.c: Likewise.
3226 * nis/nss_nis/nis-network.c: Likewise.
3227 * nis/nss_nis/nis-proto.c: Likewise.
3228 * nis/nss_nis/nis-pwd.c: Likewise.
3229 * nis/nss_nis/nis-rpc.c: Likewise.
3230 * nis/nss_nis/nis-service.c: Likewise.
3231 * nis/nss_nis/nis-spwd.c: Likewise.
3233 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
3235 * nis/ypclnt.c: Try binding dir only first time, could be to old.
3237 * nis/yp_xdr.c: Remove 1024 byte limit.
3238 * nis/ypupdate_xdr.c: Likewise.
3240 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
3243 1998-08-18 Roland McGrath <roland@baalperazim.frob.com>
3245 * Rules (binaries-static, binaries-shared static pattern rules):
3246 Depend on lib%, not just libc%, from $(link-libc{,-static}).
3248 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
3249 this here, overriding Makeconfig generic value so we link against
3252 1998-08-17 Ulrich Drepper <drepper@cygnus.com>
3254 * posix/tstgetopt.c (options): Add NULL entry at end
3255 Patch by Adrian Miranda <ade@psg.com>.
3257 1998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
3259 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
3262 1998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
3264 * elf/elf.h: Add PPC Diab relocations.
3266 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
3268 1998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
3270 * manual/texinfo.tex: Update.
3272 1998-08-07 Geoff Keating <geoffk@ozemail.com.au>
3274 * sysdeps/powerpc/backtrace.c: New file.
3276 1998-08-14 Philip Blundell <pb@nexus.co.uk>
3278 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
3280 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
3282 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3284 * Makefile (install-symbolic-link): Fix spelling.
3286 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3288 * elf/elf.h (SHT_HIOS): Fix value.
3290 1998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3292 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
3293 part of the expansion, this is undefined by the standard.
3295 1998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
3297 * posix/getconf.c: Add support for systems with incomplete confname.h.
3299 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
3301 * sysdeps/posix/wait3.c: Make it work.
3303 1998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3305 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
3306 (elf/ldso_install): Remove.
3308 * elf/Makefile (distribute): Add sln.c.
3310 (others-static): Add sln.
3311 (install-rootsbin): Add sln.
3312 (others-static): Add sln.
3313 (ldso_install): Remove.
3315 1998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3317 * Makerules (install-clean-symbolic-link-list): Make phony.
3318 * Makefile (install-symbolic-link): Make phony. Depend on
3319 subdir_install for parallel makes.
3322 1998-07-22 Ulrich Drepper <drepper@cygnus.com>
3324 * elf/Makefile (distribute): Add sln.c
3326 1998-07-21 07:10 H.J. Lu <hjl@gnu.org>
3328 * elf/sln.c: New file.
3330 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
3331 (install-clean-symbolic-link-list): New target.
3332 (install): Depend on install-clean-symbolic-link-list.
3333 (make-shlib-link): Changed for $(symbolic-link-list).
3335 * Makefile (install-symbolic-link): New target.
3336 (install): Depend on install-symbolic-link.
3338 1998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
3340 * include/unistd.h: Protect against multiple inclusion.
3342 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
3343 is defined, not is glob is defined.
3344 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
3346 1998-08-01 17:18 H.J. Lu <hjl@gnu.org>
3348 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
3349 xdr_string for ut_line, ut_name and ut_host.
3351 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3353 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
3354 /var/mail in accordance with FHS 2.0.
3355 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
3357 1998-08-12 Richard Henderson <rth@cygnus.com>
3359 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
3360 Update aliases for cancelation.
3362 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
3363 playing with symbol versions.
3365 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
3367 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
3368 multiple inclusion protection.
3369 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
3370 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
3371 define all these to 1.
3372 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
3374 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
3376 * sysdeps/mach/usleep.c: Include <unistd.h>.
3377 (usleep): Return void.
3379 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
3381 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
3382 decl to inhibit warning in if_freenameindex defn.
3384 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
3386 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
3388 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
3389 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
3390 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
3391 * sysdeps/mach/usleep.c: Likewise.
3393 * sysdeps/mach/hurd/bind.c (bind): Add a const.
3395 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
3396 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
3397 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
3398 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
3399 * sysdeps/mach/usleep.c (usleep): Likewise.
3400 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
3401 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
3402 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
3403 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
3405 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
3407 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
3410 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
3411 %p arg to fprintf, since `void *' is the right type already.
3413 1998-07-25 19:47 Jose M. Moya <josem@gnu.org>
3415 * sysdeps/mach/hurd/getcwd.c
3416 (_hurd_canonicalize_directory_name_internal): Do not loop forever
3417 for unknown root directories.
3418 (__getcwd): Return NULL when the current root directory could not
3421 1998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
3423 * string/strsignal.c (strsignal): Count real-time signals from zero.
3426 See ChangeLog.8 for earlier changes.