1 1998-10-30 18:11 Ulrich Drepper <drepper@cygnus.com>
3 * iconv/gconv_conf.c (__gconv_read_conf): Don't define as
4 internal_function since it is called through a pointer.
5 * iconv/gconv_db.c (free_derivation): Likewise.
6 * iconv/gconv_int.h: Adjust prototype od __gconv_read_conf.
8 * posix/wordexp.c: Add internal_function to parse_backtick definition.
9 * rt/aio_misc.c: Add internal_function to __aio_free_request,
10 __aio_find_req, __aio_find_req_fd, and __aio_enqueue_request
12 * rt/aio_notify.c: Add internal_function to __aio_notify_only and
13 __aio_notify definitions.
14 * wcsmbsload.c: Add internal_function to __wcsmbs_load_conv definition.
16 1998-10-30 Ulrich Drepper <drepper@cygnus.com>
18 * Makerules (build-shlib): Add -O to generate optimized shared
21 1998-10-30 11:15 Ulrich Drepper <drepper@cygnus.com>
23 * sysdeps/libm-i387/e_fmod.S: Remove invalid operand size suffix.
24 * sysdeps/libm-i387/e_fmodf.S: Likewise.
25 * sysdeps/libm-i387/e_fmodl.S: Likewise.
26 * sysdeps/libm-i387/s_ilogb.S: Likewise.
27 * sysdeps/libm-i387/s_ilogbf.S: Likewise.
28 * sysdeps/libm-i387/s_logb.S: Likewise.
29 * sysdeps/libm-i387/s_logbf.S: Likewise.
30 * sysdeps/libm-i387/s_remquo.S: Likewise.
31 * sysdeps/libm-i387/s_remquof.S: Likewise.
32 * sysdeps/libm-i387/s_remquol.S: Likewise.
33 * sysdeps/libm-i387/s_significand.S: Likewise.
34 * sysdeps/libm-i387/s_significandf.S: Likewise.
36 1998-10-30 Geoff Keating <geoffk@ozemail.com.au>
38 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Really correct
41 1998-10-30 Geoff Keating <geoffk@ozemail.com.au>
43 * math/libm-test.c: Loosen deltas for sin(0.9)^2+cos(0.9)^2.
45 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
47 * stdio-common/vfprintf.c (vfprintf): Fix the remaining premature
48 returns without cleaning up the lock.
49 (printf_unknown): Add label all_done.
51 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Keep Linux 2.0
52 kernels in mind when reading /proc/self/fd/FD.
53 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55 * nscd/nscd.c (doc): It's "Name Service" not "Name Switch".
57 * malloc/mtrace.c (tr_where): Replace snprintf call by mempcpy and
60 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Try reading
61 /prof/self/fd/FD first.
62 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
64 * stdio-common/_itoa.h (_fitoa_word): New inline function. Write
65 formatted number starting at given position and return pointer to
67 (_fitoa): Likewise, for long long.
69 1998-10-29 Roland McGrath <roland@baalperazim.frob.com>
71 * sysdeps/unix/sysv/linux/bits/sem.h,
72 sysdeps/unix/sysv/linux/bits/ipc.h,
73 sysdeps/unix/sysv/linux/bits/shm.h,
74 sysdeps/unix/sysv/linux/bits/msq.h: Moved to ...
75 * sysdeps/gnu/bits/sem.h, sysdeps/gnu/bits/ipc.h,
76 sysdeps/gnu/bits/shm.h, sysdeps/gnu/bits/msq.h: ... here,
77 so the same bits will be used for the Hurd.
79 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
81 * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Allow
82 compiling on systems without rt_sigaction syscall.
84 1998-10-12 Philip Blundell <pb@nexus.co.uk>
86 * Makeconfig (sysdep-subdirs): Allow Subdirs files to remove
87 directories as well as add them.
89 1998-10-28 Philip Blundell <pb@nexus.co.uk>
91 * sysdeps/unix/sysv/linux/neteconet/ec.h: New file. Support for
92 AF_ECONET sockets as found in recent Linux 2.1 kernels.
93 * sysdeps/unix/sysv/linux/Dist: Distribute it.
94 * sysdeps/unix/sysv/linux/Makefile: Install it.
96 1998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
98 * string/bits/string2.h: __USE_GNU already implies __USE_MISC.
100 1998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
102 * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
104 * sysdeps/unix/sysv/linux/alpha/bits/types.h (__FDS_BITS): Likewise.
105 * sysdeps/unix/sysv/linux/bits/types.h (__FDS_BITS): Likewise.
106 * sysdeps/unix/sysv/linux/mips/bits/types.h (__FDS_BITS): Likewise.
107 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__FDS_BITS):
109 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h (__FDS_BITS):
111 * sysdeps/generic/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
113 * sysdeps/i386/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
114 __FD_ISSET): Likewise.
116 1998-10-28 Geoff Keating <geoffk@ozemail.com.au>
118 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Tidy up, correct
121 * sysdeps/unix/sysv/linux/powerpc/pread.c: Do not use the i386 version.
122 Instead call the system call wrapper function using an 64bit argument.
123 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
124 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
125 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
127 1998-10-27 Ulrich Drepper <drepper@cygnus.com>
129 * signal/signal.h: Don't include <time.h> for timespec, add
132 * sysdeps/i386/bits/select.h [!__USE_XOPEN]: Add special version
133 of __FD_* macros which use __fds_bits.
134 * sysdeps/generic/bits/select.h: Likewise.
135 Reported by Matt McLean <keys@yikes.com>.
137 1998-10-27 Philip Blundell <pb@nexus.co.uk>
139 * elf/elf.h: Update ARM definitions.
141 1998-10-27 Ulrich Drepper <drepper@cygnus.com>
143 * signal/signal.h: Include bits/sigthread.h only for Unix98.
145 1998-10-26 Ulrich Drepper <drepper@cygnus.com>
147 * include/libc-symbols.h: If HAVE_BUILTIN_EXPECT is not defined
148 define __builtin_expect as a macro substituting to the first
150 * config.h.in: Define HAVE_BUILTIN_EXPECT.
151 * configure.in: Add test for __builtin_expect.
153 * sysdeps/unix/sysv/linux/bits/types.h: Include
154 bits/pthreadtypes.h only not for POSIX 199506.
155 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
156 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
157 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
159 1998-10-26 Mark Kettenis <kettenis@phys.uva.nl>
161 * sysdeps/unix/sysv/linux/Versions: Move shutdown ...
162 * socket/Versions [libc, GLIBC_2.0]: ... to here.
164 1998-10-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
166 * include/stdio.h: Included <stddef.h> for size_t.
168 * stdio/stdio.h: Move __path_search, __gen_tempname, __libc_fatal
170 * include/stdio.h: ...here.
171 * libio/stdio.h: Removed __path_search, __gen_tempname, __libc_fatal.
173 1998-10-26 11:09 Ulrich Drepper <drepper@cygnus.com>
175 * time/Makefile (tests): Add tst-posixtz.
176 * time/tst-posixtz.c: New file.
178 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
180 * elf/rtld.c (process_envvars): Accept any non-null value of
181 LD_BIND_NOW, as mandated by the ABI.
183 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
185 * sysdeps/unix/sysv/linux/pread.c: Rename __syscall_pread64 to
187 * sysdeps/unix/sysv/linux/pwrite.c: Rename __syscall_pwrite64 to
189 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
190 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
191 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
192 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
193 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise. Remove
195 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
196 s_pread64 and s_pwrite64.
197 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
199 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
201 * sysdeps/unix/sysv/linux/llseek.c: Use INLINE_SYSCALL.
202 * sysdeps/unix/sysv/linux/arm/syscalls.list: Rename __sys_llseek
203 to __syscall__llseek.
204 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
205 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
206 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove entry for
209 1998-10-26 Cristian Gafton <gafton@redhat.com>
211 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add s_setfsgid
214 1998-10-26 Ulrich Drepper <drepper@cygnus.com>
216 * time/tzset.c (tz_compute): Correct last patch and describe this
219 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
221 * sysdeps/unix/sysv/linux/m68k/Makefile [subdir=signal]: Remove
222 rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo,
223 rt_sigaction and rt_sigpending.
224 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove all entries
225 for __syscall_* functions.
226 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Implement INLINE_SYSCALL.
228 1998-10-26 Roland McGrath <roland@baalperazim.frob.com>
230 * hurd/Versions: Add _hurd_dtable, _hurd_dtablesize,
231 _hurd_dtable_lock, _hurd_intern_fd.
233 * sysdeps/mach/hurd/Versions: Add cthread_keycreate,
234 cthread_getspecific, cthread_setspecific, __libc_getspecific.
236 * mach/Versions: Fix typo in last change.
238 1998-10-25 Ulrich Drepper <drepper@cygnus.com>
240 * time/tzset.c (tz_compute): If time to switch to DST is later in
241 the year switch back in the next year.
242 Reported by jwitford@hutch.com.au.
244 1998-10-24 Mark Kettenis <kettenis@phys.uva.nl>
246 * mach/Versions: Add evc_wait, mach_error, mach_error_string,
247 mach_error_type, mach_msg_destroy, mig_deallocate_reply_port.
248 Remove __mach_host_self, __mach_reply_port, __mach_setup_thread,
249 __mach_port_allocate, __mach_port_allocate_name,
250 __mach_port_insert_right __mutex_trylock, __mutex_lock,
251 __mutex_unlock, __swtch, __switch, __task_create, __task_suspend,
252 __task_set_special_port, __task_terminate, __thread_depress_abort,
253 __thread_switch, __vm_allocate, __vm_deallocate, __vm_map. These
254 functions are not used outside libc.
256 * sysdeps/mach/hurd/Versions: New file.
257 [libc, GLIBC_2.0]: Add _cthread_exit_routine and
258 _cthread_init_routine. These are set by the Hurd cthreads library.
259 Add __getcwd, __mmap. If we don't add these, the weak definitions in
260 the dynamic linker will not be replaced by the corresponding shared
261 library routines once they are loaded.
263 1998-10-21 Mark Kettenis <kettenis@phys.uva.nl>
265 * sysdeps/mach/hurd/i386/init-first.c: Only define
266 __libc_enable_secure if PIC is not defined.
268 1998-10-25 Roland McGrath <roland@baalperazim.frob.com>
270 * argp/Versions: Add _argp_unlock_xxx. Lock-savvy functions call this
271 to recurse into argp.
273 1998-10-25 Ulrich Drepper <drepper@cygnus.com>
275 * include/features.h: Define __USE_POSIS199506 is _POSIX_C_SOURCE is
276 greater or equal than 199506L.
278 * sysdeps/generic/bits/types.h (__fd_set): Define element as fds_bits
279 only is __USE_XOPEN. Otherwise use __fds_bits.
280 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
281 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
282 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
283 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
284 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
286 1998-10-24 H.J. Lu <hjl@gnu.org>
288 * locale/programs/charmap.c (parse_charmap): Accept tok_string
291 1998-10-25 H.J. Lu <hjl@gnu.org>
293 * locale/programs/ld-ctype.c (ctype_finish): Also check
296 1998-10-25 Ulrich Drepper <drepper@cygnus.com>
298 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX199506.
300 * sysdeps/unix/sysv/linux/bits/types.h: Include pthreadtypes.h only
301 if __USE_POSIX199506 or __USE_UNIX98.
303 1998-10-24 22:34 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
305 * string/bits/string2.h: Inline strdup+friends only if
306 __USE_MISC || __USE_GNU (prevents namespace pollution).
308 1998-10-24 H.J. Lu <hjl@gnu.org>
310 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (LOCK_SH,
311 LOCK_EX, LOCK_NB, LOCK_UN): Protect with __USE_BSD.
312 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (LOCK_SH, LOCK_EX,
313 LOCK_NB, LOCK_UN): Likewise.
314 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (LOCK_SH, LOCK_EX,
315 LOCK_NB, LOCK_UN): Likewise.
316 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (LOCK_SH, LOCK_EX,
317 LOCK_NB, LOCK_UN): Likewise.
318 * sysdeps/unix/sysv/linux/bits/fcntl.h (LOCK_SH, LOCK_EX,
319 LOCK_NB, LOCK_UN): Likewise.
321 1998-10-24 H.J. Lu <hjl@gnu.org>
323 * libio/ioseekoff.c (_IO_seekoff): Check the valid dir value.
325 * libio/rewind.c (rewind): Clear the error.
327 1998-10-24 H.J. Lu <hjl@gnu.org>
329 * grp/grp.h (getgrent_r, getgrgid_r, getgrnam_r): Add "__" to
332 1998-10-24 H.J. Lu <hjl@gnu.org>
334 * sysdeps/unix/sysv/linux/alpha/bits/time.h (timeval): Protect
336 * sysdeps/unix/sysv/linux/mips/bits/time.h (timeval): Likewise.
337 * sysdeps/unix/sysv/linux/bits/time.h (timeval): Likewise.
339 1998-10-24 H.J. Lu <hjl@gnu.org>
341 * signal/signal.h (timespec, siginfo_t, sigwaitinfo, sigtimedwait,
342 sigqueue): Protect with __USE_POSIX199309.
344 1998-10-24 H.J. Lu <hjl@gnu.org>
346 * time/time.h (timespec): Protect with __USE_POSIX199309 instead of
349 1998-10-24 H.J. Lu <hjl@gnu.org>
351 * libio/fileops.c (_IO_new_file_seekoff): Always resync with
352 the kernel file offset.
353 * libio/oldfileops.c (_IO_old_file_seekoff): Likewise.
355 1998-10-24 H.J. Lu <hjl@gnu.org>
357 * time/tzfile.c (__tzfile_default): Set num_types to 2.
359 1998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
361 * rt/aio.h: Move __aio_init to...
362 * include/aio.h: ...here.
364 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
366 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove duplicate
367 definition of O_LARGEFILE.
369 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
371 * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Use path
372 as first argument to statfs.
374 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
376 * sysdeps/generic/setenv.c (setenv): Add braces around ambiguous else.
378 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
380 * malloc/mtrace.c: Include <string.h> for strlen.
382 1998-10-24 Roland McGrath <roland@baalperazim.frob.com>
384 * sysdeps/mach/hurd/bits/environments.h: New file.
386 * sysdeps/mach/hurd/dl-sysdep.c (__getcwd): New weak function.
388 * mach/Versions, hurd/Versions: Add numerous symbols.
389 Remove libmachuser and libhurduser sections, punt
390 versioning for those libraries for now.
392 * misc/Versions: Add reboot here; it exists on all platforms.
393 * sysdeps/unix/sysv/linux/Versions: Remove reboot here.
395 1998-10-23 Ulrich Drepper <drepper@cygnus.com>
397 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOFOLLOW): New
399 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
400 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
401 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_LARGEFILE,
402 O_NOFOLLOW, O_DIRECT): New macros.
403 (O_DIRECTORY): Correct definition according to official 2.1.126.
404 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECTORY,
405 O_NOFOLLOW): New macros.
407 1998-10-24 Roland McGrath <roland@baalperazim.frob.com>
409 * include/ldsodefs.h: Test HAVE_ELF instead of __ELF__.
411 * sysdeps/mach/hurd/opendir.c (__opendir): Return ENOENT for "".
412 (__opendir): Add trailing slash to name for open, for ENOTDIR check.
414 1998-10-23 Ulrich Drepper <drepper@cygnus.com>
416 * sysdeps/unix/sysv/linux/i386/Dist: Add setresuid.c, setresgid.c,
417 setfsuid.c, and setfsgid.c.
418 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
419 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
420 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
422 * version.h (VERSION): Bump to 2.0.99.
424 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove duplicate
427 * sysdeps/unix/sysv/linux/i386/Dist: Remove s_pread64.c and
430 * posix/fnmath.h: Don't redefine __P when used in glibc.
431 * posix/glob.h: Likewise.
433 * inet/rcmd.c (__ivaliduser2): Fix memory leak.
434 Patch by Dick Streefland <dick_streefland@tasking.com>.
436 * stdio-common/tst-ungetc.c: Add more test cases.
438 * sysdeps/unix/sysv/linux/Dist: Add linux_fsinfo.h.
439 * sysdeps/unix/sysv/linux/fstatvfs.c: Move filesystem magic number
441 * sysdeps/unix/sysv/linux/linux_fsinfo.h: ...here. New file.
442 * sysdeps/unix/sysv/linux/fpathconf.c: New file.
443 * sysdeps/unix/sysv/linux/pathconf.c: New file.
444 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Handle _PC_LINK_MAX here.
445 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
447 1998-10-20 Philip Blundell <pb@nexus.co.uk>
449 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Include
450 <asm/ptrace.h> to define struct pt_regs.
451 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Don't bother
452 including <asm/ptrace.h> here.
454 * sysdeps/unix/sysv/linux/arm/sysdep.S: Remove spurious call to
457 1998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
459 * sysdeps/generic/sys/ptrace.h (__ptrace_request): Remove comma at
460 end of enumerator list.
461 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Likewise.
462 * posix/wordexp.h: Likewise.
464 * db/db.h: Use __PMT instead of __P in typedefs.
465 * db/mpool.h: Likewise.
466 * sysdeps/generic/bits/siginfo.h: Likewise.
467 * nis/rpcsvc/ypclnt.h: Likewise.
469 1998-10-23 Ulrich Drepper <drepper@cygnus.com>
471 * libio/genops.c (_IO_seekmark): When switching to backup buffer
472 make sure all characters from the read buffer are read after
473 switching back to it.
475 1998-10-22 Ulrich Drepper <drepper@cygnus.com>
477 * configure.in: Add support for Cygnus GNUPro compilers.
479 1998-10-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
481 * stdio/stdio.h: Use __PMT instead of __P in typedefs.
483 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use __PMT instead
484 of __P for sa_restorer.
485 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
486 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
487 kernel_sigaction, old_kernel_sigaction): Likewise.
489 1998-10-22 Ulrich Drepper <drepper@cygnus.com>
491 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add __syscall_pread
492 and __syscall_pwrite aliases.
494 * sunrpc/rpc/auth.h (AUTH_DH): New macro. Alias for AUTH_DES.
496 * sysdeps/unix/sysv/linux/i386/sysdep.h: Drastically simplify and
497 improve INLINE_SYSCALL using macro assembler magic.
499 1998-10-22 H.J. Lu <hjl@gnu.org>
501 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Add
503 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
505 * sysdeps/posix/fpathconf.c (__fpathconf): Set errno to
506 EINVAL if errno == ENODEV. Tested by VSX-PCT.
508 * sysdeps/posix/isatty.c (__isatty): Don't reset errno. Tested
511 * posix/execvp.c (execvp): Check "". Tested by VSX-PCT.
513 1998-10-22 Philip Blundell <pb@nexus.co.uk>
515 * sysdeps/unix/arm/sysdep.h: Wrap assembler macros in #ifdef
518 1998-10-21 Ulrich Drepper <drepper@cygnus.com>
520 * sysdeps/unix/sysv/linux/i386/sysdep.h: Remove EXTRAVARS_* macros
523 1998-10-21 14:38 Ulrich Drepper <drepper@cygnus.com>
525 * sysdeps/unix/sysdep.h (INLINE_SYSCALL): New macro. Simply call
526 __syscall_* function.
527 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use INLINE_SYSCALL instead
528 of calling __syscall_* function.
529 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
530 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
531 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
532 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
533 * sysdeps/unix/sysv/linux/getpriority.c: Likewise.
534 * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
535 * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
536 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
537 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
538 * sysdeps/unix/sysv/linux/poll.c: Likewise.
539 * sysdeps/unix/sysv/linux/pread.c: Likewise.
540 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
541 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
542 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
543 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
544 * sysdeps/unix/sysv/linux/readv.c: Likewise.
545 * sysdeps/unix/sysv/linux/reboot.c: Likewise.
546 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
547 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
548 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
549 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
550 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
551 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
552 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
553 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
554 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
555 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
556 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
557 * sysdeps/unix/sysv/linux/writev.c: Likewise.
558 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
559 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
560 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
561 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
562 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
563 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
564 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
565 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
566 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
567 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
568 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
569 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
570 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
572 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define INLINE_SYSCALL using
574 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove various
575 __syscall_* definitions.
577 * sysdeps/unix/sysv/linux/syscalls.list: Move various __syscall_*
579 * sysdeps/unix/sysv/linux/alpha/syscalls.list: ...here...
580 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
581 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
582 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
583 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
584 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
585 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
587 * sysdeps/unix/sysv/linux/Makefile [subdir=signal] (sysdep_routines):
588 Move definition to...
589 * sysdeps/unix/sysv/linux/alpha/Makefile: ...here...
590 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
591 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
592 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
593 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
594 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
595 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
597 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
598 (sysdep_routines): Remove s_pread64 and s_pwrite64.
600 * sysdeps/unix/sysv/linux/i386/pread.c: New file.
601 * sysdeps/unix/sysv/linux/i386/pread64.c: New file.
602 * sysdeps/unix/sysv/linux/i386/pwrite.c: New file.
603 * sysdeps/unix/sysv/linux/i386/pwrite64.c: New file.
604 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Removed.
605 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Removed.
607 1998-10-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
609 * sysdeps/unix/sysv/linux/siglist.h: Fix some typos in these files
610 and bring them in synch.
611 * sysdeps/unix/siglist.c: Likewise.
612 Reported by Vladimir Michl <michlv@risc.upol.cz> [PR libc/832].
614 1998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
616 * sysdeps/unix/sysv/linux/i386/setresuid.c: Allow -1 as arguments.
617 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
619 * sysdeps/unix/sysv/linux/i386/setreuid.c: New file.
620 * sysdeps/unix/sysv/linux/i386/setregid.c: New file.
621 * sysdeps/unix/sysv/linux/m68k/setreuid.c: New file.
622 * sysdeps/unix/sysv/linux/m68k/setregid.c: New file.
623 * sysdeps/unix/sysv/linux/arm/setreuid.c: New file.
624 * sysdeps/unix/sysv/linux/arm/setregid.c: New file.
625 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: New file.
626 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: New file.
627 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_setreuid and
629 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
630 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
631 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
633 1998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
635 * sunrpc/rpc_main.c (close_output, close_input): New functions.
636 (c_output, h_output, s_output, l_output, t_output, svc_output,
637 clnt_output, mkfile_output): Call them at the end.
639 1998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
641 * db/Makefile (LDFLAGS-db1.so): New variable, to avoid duplicating
644 1998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
646 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Add real contents.
647 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add s_setfs[ug]id.
649 1998-10-20 Ulrich Drepper <drepper@cygnus.com>
651 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_pread64 and
653 * sysdeps/unix/sysv/linux/powerpc/pread.c: New file.
654 * sysdeps/unix/sysv/linux/powerpc/pread64.c: New file.
655 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: New file.
656 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: New file.
657 Patch by Geoffrey KEATING <geoffk@discus.anu.edu.au>.
659 1998-10-18 Zack Weinberg <zack@rabi.phys.columbia.edu>
661 * sysdeps/unix/opendir.c: Check at runtime for kernel support for
664 1998-10-20 H.J. Lu <hjl@gnu.org>
666 * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Fix
669 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
671 * math/tgmath.h: Make nested function calls work.
673 * include/ldsodefs.h: Fix typo.
675 * posix/Makefile (tests): Add tst-preadwrite.
676 * posix/tst-preadwrite.c: New file.
678 * sysdeps/unix/opendir.c (__opendir): Add back fstat call to make
679 sure that descriptor is in any case for a directory.
681 1998-10-19 18:59 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
683 * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG): Fix typo: val -> Val.
684 (atan2): Takes two arguments.
686 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
688 * include/ldsodefs.h: New file.
690 * iconv/gconv.c: Include ldsodefs.h, not elf/ldsodefs.h.
691 Remove change to avoid using _CALL_DL_FCT.
692 * iconv/gconv_db.c: Likewise.
693 * iconv/gconv_dl.c: Likewise.
694 * iconv/skeleton.c: Likewise, here for DL_CALL_FCT.
695 * malloc/mtrace.c: Include ldsodefs.h, not elf/ldsodefs.h.
696 * nss/nsswitch.c: Likewise.
697 * nss/nsswitch.h: Likewise.
699 1998-10-19 Philip Blundell <pb@nexus.co.uk>
701 * sunrpc/Makefile (otherlibs): If static NSS is in use, set to the
703 * login/Makefile (otherlibs): Likewise.
704 * nscd/Makefile (otherlibs): Likewise.
705 * Makeconfig (link-libc) [! build_shared]: Add $(otherlibs).
707 * debug/Makefile (install-bin): Only build catchsegv if using ELF.
709 * inet/Makefile: Add -DSTATIC_NSS to CFLAGS.
711 1998-10-19 Philip Blundell <pb@nexus.co.uk>
713 * sysdeps/unix/sysv/linux/arm/syscalls.list: Added setfsgid
716 1998-10-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
718 * nscd/connections.c: Fix typos in comments and strings.
720 * nscd/nscd.conf: Update according to recent changes to nscd.
722 * nscd/cache.c (prune_cache): Remove wrong comment.
724 1998-10-19 13:24 Ulrich Drepper <drepper@cygnus.com>
726 * locale/programs/ld-collate.c (collate_startup): Clear bit for this
727 category in copy_posix.
728 (collate_finish): Don't warn about UNDEFINED not being defined.
729 * locale/programs/ld-ctype.c (ctype_startup): Clear bit for this
730 category in copy_posix.
731 * locale/programs/ld-messages.c (messages_startup): Likewise.
732 * locale/programs/ld-monetary.c (monetary_startup): Likewise.
733 * locale/programs/ld-numeric.c (numeric_startup): Likewise.
734 * locale/programs/ld-time.c (time_startup): Likewise.
735 * locale/programs/localedef.c: Move copy_def_list_t definition into
736 locales.h. Define copy_posix variable.
737 (main): Before processing copy list add ©_posix to copy_list.
738 * locale/programs/locales.h: Add definition of copy_def_list_t.
739 * locale/programs/locfile.c: Clear bit for appropriate category in
740 copy_posix.mask for copy instruction.
742 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
744 * sysdeps/unix/sysv/linux/i386/setresgid.c: Remove #include of
745 non-existing file with generic implementation.
746 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
748 1998-10-19 Philip Blundell <pb@nexus.co.uk>
750 * iconv/gconv_db.c: Include ELF header only if STATIC_GCONV is not
751 defined. Avoid using _CALL_DL_FCT if it is not defined.
752 * iconv/gconv.c: Likewise.
754 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
756 * nscd/connections.c (dbs): Define defualt values for timeouts and
757 set enabled to 0 by default.
758 (CACHE_PRUNE_INTERVAL): New constant. Use it instead of magical 15 in
761 * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISCNTRL bit for
763 (_nl_C_LC_CTYPE_class32): Likewise.
766 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
768 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
769 _HURD_THREADVAR_DL_ERROR.
771 * hurd/Makefile (user-interfaces): Add login, password.
773 * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses.
775 1998-08-06 Mark Kettenis <kettenis@phys.uva.nl>
777 [submitted 1998-08-06]
778 * mach/Machrules: Create target directory and force re-evaluation
779 of Makefile to prevent `make' from optimizing away most of the
780 implicit rules and `vpath' directives.
782 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
784 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): If _hurd_msgport_thread
785 is null, short-circuit to __mach_msg.
787 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): New function,
789 (init1) [PIC]: Call it.
790 (__libc_init_first) [! PIC]: Call it.
792 * sysdeps/mach/hurd/i386/init-first.c (init1): Don't call
793 __libc_init_secure. Instead set __libc_enable_secure here from
795 (__libc_enable_secure): New variable it.
796 * sysdeps/mach/hurd/enbl-secure.c: New file, empty placeholder module.
798 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
800 * nscd/nscd-client.h: New file, broken out of "nscd.h".
801 * nscd/nscd.h: Move defns needed by clients to "nscd-client.h",
803 * nscd/Makefile (distribute): Add nscd-client.h.
804 * nscd/nscd_getgr_r.c, nscd/nscd_gethst_r.c, nscd/nscd_getpw_r.c:
805 Include "nscd-client.h" instead of "nscd.h"
807 1998-10-18 Ulrich Drepper <drepper@cygnus.com>
809 * sysdeps/posix/getcwd.c (__getcwd): Don't stop processing
810 directory entries when a lstat call fails.
811 Patch by Colin Plumb <colin@nyx.net>.
813 * resolv/nss_dns/dns-host.c: Add missing errnop parameter to the
815 * resolv/nss_dns/dns-network.c: Likewise.
817 * grp/Makefile: Don't search for linuxthreads in add-ons, use
818 have-thread-library to determine whether threads are available.
819 * pwd/Makefile: Remove wrong comment.
821 * inet/Makefile: Define CFLAGS-gethstbyad_r.c, CFLAGS-gethstbynm_r.c,
822 and CFLAGS-gethstbynm2_r.c to -DUSE_NSCD=1.
824 * locale/C-messages.c: Define default strings for YESTR and NOSTR.
826 * nss/Versions: Add __nss_hosts_lookup.
828 * nss/getXXbyYY.c: Remove unneeded assignment.
830 * nss/getXXbyYY_r.c: Include nscd/nscd_proto.h only if needed.
832 Almost complete rewrite of the NSCD to make it smaller, faster,
833 add more functionnality and make it easier to extend.
834 * nscd/Makfile (routines): Add nscd_gethst_r.
835 (nscd-modules): Add hstcache, gethstbyad_r, gethstbynm2_r, and cache.
836 * nscd/cache.c: New file.
837 * nscd/gethstbyad_r.c: New file.
838 * nscd/gethstbynm2_r.c: New file.
839 * nscd/hstcache.c: New file.
840 * nscd/nscd_gethst_r.c: New file.
841 * nscd/connections.c: Rewritten. Don't start new thread for every
842 new connection. Use a fixed set of threads which handle all
843 connections and also the cache cleanup.
844 * nscd/grpcache.c: Rewritten to use generic cache handling functions
846 * nscd/nscd.c: Recognize new parameter nthreads. Adjust initialization
847 for rewrite. Remove handle_requests function.
848 * nscd/nscd.h (NSCD_VERSION): Bump to 2.
849 Define new data structure for the new unified cache and the host
851 * nscd/nscd_conf.c: Rewrite parsing partly to allow adding of more
852 databases easily. Recognize check-files and threads definitions.
853 * nscd/nscd.conf: Add definition of enable-cache and check-files to
854 passwd and group definitions. Add new set of definitions for hosts.
855 * nscd/nscd_getgr_r.c: Rewrite for new protocol.
856 * nscd/nscd_getpw_r.c: Likewise.
857 * nscd/nscd_proto.h: Add prototype for host database functions.
858 * nscd/nscd_stat.c: Rewrite to simplify printing of information
860 * nscd/dbg_log.c: Remove unnecessary variable initializations.
861 Global variable debug_flag is renamed to dbg_level.
862 * nscd/dbg_log.h: Declare set_logfile.
864 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
866 * sysdeps/unix/sysv/linux/bits/fcntl.h: Add dummy definition of
869 1998-10-16 Paul Eggert <eggert@shade.twinsun.com>
871 * time/mktime.c: Some systems require <unistd.h> to be
872 included before <time.h> for localtime_r to be declared
874 * time/strftime.c: Likewise.
876 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
878 * db/Makefile: Add rule to generate shared object with the soname
881 * sysdeps/unix/opendir.c: Use O_DIRECTORY if available. If not
882 available double check to verify it's a directory.
884 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add O_DIRECTORY.
885 * sysdeps/unix/sysv/linux/mips/bits/fcntl: Likewise.
886 * sysdeps/unix/sysv/linux/bits/fcntl.h: Remove O_* constants which
887 are not generally available.
888 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: New file.
890 * sysdeps/unix/sysv/linux/i386/setgroups.c: Add range check for values.
891 * sysdeps/unix/sysv/linux/arm/Makefile: New file.
892 * sysdeps/unix/sysv/linux/arm/setegid.c: New file.
893 * sysdeps/unix/sysv/linux/arm/seteuid.c: New file.
894 * sysdeps/unix/sysv/linux/arm/setfsgid.c: New file.
895 * sysdeps/unix/sysv/linux/arm/setfsuid.c: New file.
896 * sysdeps/unix/sysv/linux/arm/setgid.c: New file.
897 * sysdeps/unix/sysv/linux/arm/setgroups.c: New file.
898 * sysdeps/unix/sysv/linux/arm/setresgid.c: New file.
899 * sysdeps/unix/sysv/linux/arm/setresuid.c: New file.
900 * sysdeps/unix/sysv/linux/arm/setuid.c: New file.
901 * sysdeps/unix/sysv/linux/i386/setegid.c: New file.
902 * sysdeps/unix/sysv/linux/i386/seteuid.c: New file.
903 * sysdeps/unix/sysv/linux/i386/setfsgid.c: New file.
904 * sysdeps/unix/sysv/linux/i386/setfsuid.c: New file.
905 * sysdeps/unix/sysv/linux/i386/setgid.c: New file.
906 * sysdeps/unix/sysv/linux/i386/setgroups.c: New file.
907 * sysdeps/unix/sysv/linux/i386/setresgid.c: New file.
908 * sysdeps/unix/sysv/linux/i386/setresuid.c: New file.
909 * sysdeps/unix/sysv/linux/i386/setuid.c: New file.
910 * sysdeps/unix/sysv/linux/m68k/setegid.c: New file.
911 * sysdeps/unix/sysv/linux/m68k/seteuid.c: New file.
912 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: New file.
913 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: New file.
914 * sysdeps/unix/sysv/linux/m68k/setgid.c: New file.
915 * sysdeps/unix/sysv/linux/m68k/setgroups.c: New file.
916 * sysdeps/unix/sysv/linux/m68k/setresgid.c: New file.
917 * sysdeps/unix/sysv/linux/m68k/setresuid.c: New file.
918 * sysdeps/unix/sysv/linux/m68k/setuid.c: New file.
919 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
920 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
921 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: New file.
922 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: New file.
923 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: New file.
924 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
925 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file.
926 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file.
927 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: New file.
929 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add s_setgid, s_setresuid,
930 s_setresgid, and s_setuid.
931 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
932 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
933 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
934 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
935 (sysdep_routines): Add setfsgid, setfsuid, setresgid, and setresuid.
936 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
937 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
939 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
941 * time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get
942 localtime_t declaration on some systems.
944 1998-10-16 10:07 Ulrich Drepper <drepper@cygnus.com>
946 * iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to
948 * iconv/skeleton.c: Include ELF header only of STATIC_GCONV is not
949 defined. Avoid using DL_CLL_FCT if it is not defined.
951 1998-10-16 10:40 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
953 * resolv/arpa/nameser.h: Include sys/types.h unconditionally.
954 Include endian.h unconditionally. Remove portability goop
955 depending on #ifdef linux, #ifdef BSD, #ifdef machine-type.
957 1998-10-16 11:39 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
959 * sunrpc/rpc/types.h: Mark file so fixincludes won't modify it.
961 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
963 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios
964 again. Use char[44] to define size of the struct.
966 * sysdeps/unix/sysv/linux/arm/Dist: Add bits/armsigctx.h.
968 1998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
970 * string/bits/string2.h (strcmp): Don't cache the result of
971 __builtin_constant_p in variables, otherwise constant folding
972 can fail in big functions.
974 1998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
976 * string/bits/string2.h: Add prototypes for the new inline
979 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
981 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to
982 have all types defined.
983 Patch by Matti Aarnio <matti.aarnio@sonera.fi>.
985 1998-10-08 Paul Eggert <eggert@twinsun.com>
987 * time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r.
988 Define also if HAVE_LOCALTIME_R && defined localtime_r, with
989 a body that merely expands localtime_r; this works around a
990 bug in Digital Unix 4.0A and 4.0D.
992 1998-10-14 Ulrich Drepper <drepper@cygnus.com>
994 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl.
995 * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define
996 __ioctl to __syscall_ioctl and include Linux version of this file.
997 * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
998 * sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file. Redirect
999 ioctl calls which handle struct termios.
1000 Based on a patch by Dan Jacobowitz <drow@false.org>.
1002 1998-10-14 Ulrich Drepper <drepper@cygnus.com>
1004 * version.h (VERSION): Bump to 2.0.98.
1006 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios
1007 here instead of including kernel_termios.h.
1009 1998-10-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1011 * sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is
1012 unnecessary after the changes of 1998-10-12.
1014 1998-10-13 Ulrich Drepper <drepper@cygnus.com>
1016 * sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output
1017 parameter format string.
1018 (inline_outw): Likewise.
1020 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include
1021 string.h to get memcpy prototype and NULL definition.
1023 1998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1025 * misc/sys/cdefs.h (__THROW): New macro.
1026 * argp/argp.h: Use it to replace the kludgey __P in inline
1027 function definitions.
1028 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1029 * stdlib/stdlib.h: Likewise.
1030 * wcsmbs/wchar.h: Likewise.
1031 * libio/stdio.h: Likewise.
1032 * stdio/stdio.h: Likewise.
1033 * sysdeps/wordsize-64/inttypes.h: Likewise.
1034 * sysdeps/wordsize-32/inttypes.h: Likewise.
1035 * string/argz.h: Likewise.
1036 * io/sys/stat.h: Likewise.
1038 1998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1040 * Rules (stdio_lim): New variable.
1041 ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend
1042 on Rules and config.make, use $(move-if-change) to avoid unnessary
1043 recompilations, and cleanup command.
1044 (common-generated): Add bits/stdio_lim.st.
1046 1998-10-12 Ulrich Drepper <drepper@cygnus.com>
1048 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): New
1049 variable to prevent warnings from use of modern CPU instructions.
1050 Patch by Richard Henderson <rth@cygnus.com>.
1052 * sysdeps/unix/opendir.c: Test whether NAME is directory before
1055 1998-10-12 Philip Blundell <pb@nexus.co.uk>
1057 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Add missing
1058 semicolon so that profiling works.
1060 1998-10-12 Roland McGrath <roland@baalperazim.frob.com>
1062 * sysdeps/generic/glob.c: #undef mempcpy before #define.
1064 * sysdeps/unix/bsd/clock.c: Use prototype defns.
1066 1998-10-11 Ulrich Drepper <drepper@cygnus.com>
1068 * Rules [posix in sysdirs]: Set L_tmpnam to 20.
1069 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
1071 * string/bits/string2.h [!_STRING_ARCH_unaligned]
1072 (__mempcpy_small): Add parameter for 1 byte copy and use it.
1073 Reported by Geoff Keating <geoffk@ozemail.com.au>.
1075 1998-10-09 Mark Kettenis <kettenis@phys.uva.nl>
1077 * sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove,
1078 it is already defined in <bits/environments.h>.
1080 1998-10-09 Ulrich Drepper <drepper@cygnus.com>
1082 * posix/ptestcases.h: Fix typo.
1084 1998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1086 * posix/regex.c (regcomp): Allocate and prepare a fastmap.
1087 (regexec): Allocate regs.start and regs.end as one block.
1089 1998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1091 * sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of
1094 1998-10-08 Philip Blundell <pb@nexus.co.uk>
1096 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of
1097 sigcontext union to ...
1098 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here. New
1100 * sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for
1101 version 2.0 kernels.
1103 1998-10-08 Ulrich Drepper <drepper@cygnus.com>
1105 * malloc/mtrace.c (tr_reallochook): Produce better output for real
1108 * signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined.
1109 * argp/argp-xinl.c: Likewise.
1111 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing
1113 Patch by Christian Gafton.
1115 1998-10-08 Paul Eggert <eggert@twinsun.com>
1117 * time/mktime.c (__mktime_internal): When the requested time falls
1118 in a spring-forward gap of size DT, return a time that is DT away
1119 from the requested time, preferring a time whose tm_isdst differs
1120 from the requested value. Bump the max number of probes from 4 to
1121 6 to account for the extra probes needed to discover a
1122 spring-forward gap in the worst case.
1124 1998-10-07 17:05 Ulrich Drepper <drepper@cygnus.com>
1126 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection
1127 of the weird alpha architectures.
1128 Patch by Cristian Gafton <gafton@redhat.com>.
1130 1998-02-18 23:31 Richard Henderson <rth@cygnus.com>
1132 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
1133 RAWHIDE and TSUNAMI. Patch from Jay.Estabrook@digital.com.
1135 1998-10-07 Ulrich Drepper <drepper@cygnus.com>
1137 * elf/dl-open.c (_dl_global_scope_alloc): Make global.
1138 (dl_open_worker): Use realloc, not malloc to resize array.
1139 * elf/rtld.c (_dl_initial_searchlist): New variable.
1140 (_dl_main): Copy content of _dl_main_searchlist to
1141 _dl_initial_searchlist.
1142 * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and
1143 _dl_global_scope_alloc.
1144 * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist.
1145 * elf/dl-close.c (_dl_close): When removing object with global
1146 scope remove allocated searchlist if no dynamically loaded object
1148 * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope.
1149 (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist.
1151 * malloc/mtrace.c (tr_where): Don't print space in location string,
1152 print it afterwards. Print better symbol name information.
1154 1998-10-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1156 * manual/filesys.texi (Setting Permissions): Fix example for
1159 1998-10-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1161 * elf/sprof.c (load_profdata): Fix typo in error message.
1163 1998-10-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1165 * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
1168 1998-10-04 Roland McGrath <roland@baalperazim.frob.com>
1170 * mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it.
1172 1998-10-06 Ulrich Drepper <drepper@cygnus.com>
1174 * version.h (VERSION): Bump to 2.0.97.
1176 1998-10-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1178 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P
1179 in definitions of inline stat functions so that they match the
1181 * stdlib/stdlib.h: Likewise.
1182 * wcsmbs/wchar.h: Likewise.
1183 * libio/stdio.h: Likewise.
1184 * stdio/stdio.h: Likewise.
1185 * sysdeps/wordsize-64/inttypes.h: Likewise.
1186 * sysdeps/wordsize-32/inttypes.h: Likewise.
1187 * string/argz.h: Likewise.
1188 * argp/argp.h: Likewise.
1190 1998-10-06 Ulrich Drepper <drepper@cygnus.com>
1192 * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
1195 1998-10-05 Philip Blundell <philb@gnu.org>
1197 * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures
1198 and constants. Tidy up formatting a little.
1200 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6):
1201 Move definitions to in.h.
1203 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1205 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER,
1206 SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added.
1207 Remove inclusion of <linux/swap.h>.
1209 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
1211 * io/sys/stat.h: Use __P in definitions of inline stat functions
1212 so that they match the declaration.
1214 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1216 * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added.
1218 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1220 * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current
1223 1998-10-02 Philip Blundell <pb@nexus.co.uk>
1225 * sysdeps/arm/dl-machine.h: Fix typo in last change.
1227 * sysdeps/arm/bits/huge_val.h: New file.
1229 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1231 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added.
1233 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add
1236 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
1238 * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to
1239 store result of realloc instead of using BUF.
1241 1998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1243 * misc/sgtty.h (_SGTTY_H): Correct spelling.
1244 Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817].
1246 1998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1248 * manual/memory.texi (Obstacks): Document
1249 obstack_alloc_failed_handler usage.
1251 * malloc/obstack.h: Enhance comment about
1252 obstack_alloc_failed_handler usage.
1253 * malloc/obstack.c: Likewise.
1255 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
1257 * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or
1258 gcc before 2.8 is used.
1260 1998-10-01 Philip Blundell <pb@nexus.co.uk>
1262 * sysdeps/arm/machine-gmon.h: Correct args to mcount(). Patch
1263 from Scott Bambrough.
1265 * sysdeps/unix/sysv/linux/arm/register-dump.h: New file.
1267 * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
1268 include the lock member.
1270 1998-09-03 Philip Blundell <pb@nexus.co.uk>
1272 * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.
1274 1998-10-01 Ulrich Drepper <drepper@cygnus.com>
1276 * timezone/zic.c: Update from tzcode1998h.
1277 * timezone/europe: Update from tzdata1998i.
1278 * timezone/southamerica: Likewise.
1280 * sys/types.h: Protect use of long long by __extension__.
1281 * stdlib/stdlib.h: Likewise.
1282 * string/string.h: Likewise.
1283 * sysdeps/i386/bits/byteswap.h: Likewise.
1284 * sysdeps/geeric/bits/byteswap.h: Likewise.
1285 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
1286 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1287 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1288 * sysdeps/wordsize-32/inttypes.h: Likewise.
1289 * sysdeps/wordsize-32/stdint.h: Likewise.
1290 * wcsmbs/wchar.h: Likewise.
1292 1998-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1294 * string/bits/string2.h (__string2_1bptr_p): Don't use a statement
1296 (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
1297 __strsep): Greatly reduce size of expansion by combining common
1299 (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
1301 (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
1302 by the above definitions.
1304 1998-09-27 Geoff Keating <geoffk@ozemail.com.au>
1306 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
1307 correct struct ipc_perm definition.
1309 1998-09-29 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1311 * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.
1313 1998-09-29 Cristian Gafton <gafton@redhat.com>
1315 * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
1316 * sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
1317 * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
1318 * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
1319 Add net/if_shaper.h.
1321 1998-09-29 Ulrich Drepper <drepper@cygnus.com>
1323 * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.
1325 * nis/ypclnt.c: Remove not needed close calls.
1327 1998-09-28 23:55 Ulrich Drepper <drepper@cygnus.com>
1329 * nis/ypclnt.c (__yp_bind): Pretty print. Optimize readv result
1330 check a bit. Also close socket of domain client. Close socket
1331 in IPPORT_RESERVED error case.
1333 1998-09-28 Ulrich Drepper <drepper@cygnus.com>
1335 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
1336 CMSG_ALIGN (fixes a bug) and correct test for availability of
1338 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
1340 (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
1341 availability of another entry.
1344 * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
1347 * libio/libio.h [!__STDC__]: Define const only if not defined.
1349 1998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1351 * posix/annexc.c (xsystem): New function. Use it instead of
1354 1998-09-28 Ulrich Drepper <drepper@cygnus.com>
1356 * stdlib/longlong.h: Remove #endif for #if removed in last change.
1358 1998-09-25 Ulrich Drepper <drepper@cygnus.com>
1360 * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
1361 Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
1362 allow using `ut' parameter.
1363 [!emacs]: Define ut_argument, ut_argument_spec, and
1364 ut_argument_spec_iso as empty. Define ut to 0. Add ut_argument and
1365 argument_spec to prototypes and definitions.
1366 (my_strftime): Don't call tzset of ut != 0.
1367 Compute diff as 0 is ut != 0;
1368 [emacs]: Define new emacs_strftime function.
1369 Based on a patch by Paul Eggert.
1371 1998-09-24 Paul Eggert <eggert@twinsun.com>
1373 * time/strftime.c (my_strftime): When asking for the length of the
1374 subformatted buffer, do not limit the length to look for;
1375 otherwise, we have no reliable way to distinguish between the
1376 empty buffer and an error.
1378 1998-09-25 Ulrich Drepper <drepper@cygnus.com>
1380 * math/Makefile (gmp-objs): Add mp_clz_tab.
1382 1998-09-25 David S. Miller <davem@pierdol.cobaltmicro.com>
1384 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
1386 * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
1387 cpus lacking hardware multiply and divide.
1389 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1391 * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
1394 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1396 * db/btree/bt_delete.c: Fix -Wparentheses warning.
1398 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1400 * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
1403 1998-09-24 Ulrich Drepper <drepper@cygnus.com>
1405 * debug/catchsegv.sh: Also produce output if clone process died.
1407 1998-09-24 Paul Eggert <eggert@twinsun.com>
1409 * time/strftime.c (f_wkday): Remove duplicate definition.
1410 (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
1411 !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
1412 1998-09-11 fix to this case.
1413 (wkday_len, month_len): Remove these macros; they're no longer needed.
1415 1998-09-24 Paul Eggert <eggert@twinsun.com>
1417 * time/strftime.c (my_strftime): Don't store past the end of a
1420 1998-09-24 Paul Eggert <eggert@twinsun.com>
1422 * time/strftime.c (underlying_strftime):
1423 Set the buffer to a nonzero value before calling
1424 strftime, and check to see whether strftime has set the buffer to zero.
1425 This lets us distinguish between an empty buffer and an error.
1427 1998-09-24 Paul Eggert <eggert@shade.twinsun.com>
1429 * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
1430 This fix is propagated from tzcode1998g.tar.gz.
1432 1998-09-24 Mark Kettenis <kettenis@phys.uva.nl>
1434 * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
1435 _sys_siglist. [!HAVE_GNU_LD]: Do not define _sys_siglist as
1436 sys_siglist. This is handled correctly by the weak_alias macro.
1438 1998-09-24 Ulrich Drepper <drepper@cygnus.com>
1440 * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
1441 of mempcpy. Reported by Andreas Jaeger.
1443 * misc/regexp.h (compile): Use alloca instead of __alloca. It won't
1444 pollute the namespace since the compiler will resolve it inline.
1445 Reported by Florian La Roche <florian@suse.de>.
1447 1998-09-24 10:29 Ulrich Drepper <drepper@cygnus.com>
1449 * timezone/private.h: Update from tzcode1998g.
1451 * timezone/africa: Update from tzdata1998h.
1452 * timezone/asia: Likewise.
1453 * timezone/australasia: Likewise.
1454 * timezone/europe: Likewise.
1455 * timezone/northamerica: Likewise.
1456 * timezone/southamerica: Likewise.
1457 * timezone/zone.tab: Likewise.
1459 1998-09-23 17:28 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1461 * misc/sys/mman.h: New file.
1463 * sysdeps/generic/bits/mman.h: New file.
1464 * sysdeps/unix/bsd/osf/bits/mman.h: New file.
1465 * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
1466 * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
1467 * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
1469 * sysdeps/generic/sys/mman.h: Removed.
1470 * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
1471 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
1472 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
1473 * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
1474 * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
1476 * include/sys/mman.h: Look directly for misc/sys/mman.h.
1477 * misc/Makefile (headers): Add bits/mman.h.
1478 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
1481 * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
1482 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
1483 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
1484 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
1485 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
1486 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
1487 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
1488 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
1490 1998-09-23 16:27 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1492 * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
1493 * sysdeps/mach/alpha/thread_state.h: Likewise.
1494 * sysdeps/mach/i386/sysdep.h: Likewise.
1495 * sysdeps/mach/i386/thread_state.h: Likewise.
1496 * sysdeps/mach/mips/sysdep.h: Likewise.
1497 * sysdeps/mach/mips/thread_state.h: Likewise.
1498 * sysdeps/posix/profil.c: Likewise.
1499 * sysdeps/i386/i586/memcopy.h: Likewise.
1500 * sysdeps/mach/pagecopy.h: Likewise.
1502 1998-09-23 15:25 Ulrich Drepper <drepper@cygnus.com>
1504 * libio/stdio.h: Define __need_getopt and include getopt.h to define
1506 * posix/unistd.h: Likewise.
1507 * stdio/stdio.h: Likewise.
1508 * posix/getopt.h: Remove _GNU_SOURCE use. If __need_getopt is defined
1509 define only getopt and the variables.
1511 1998-09-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1513 * scripts/test-installation.pl (installation_problem): Don't link
1514 the test program against libdb1.
1516 1998-09-23 13:52 Ulrich Drepper <drepper@cygnus.com>
1518 * Makeconfig (all-subdirs): Add db.
1519 * Versions.def: Add definition for libdb1.
1520 * shlib-versions: Add definitions for libdb1.
1521 * db/Makefile (extra-libs): Replace by libdb1.
1522 (libdb-routines): Rename to libdb1-routines.
1523 (headers): Rename to db1-headers.
1524 (distribute): Add $(db1-headers).
1525 (install-others): Define to install symlink libdb.so.NN and the
1527 (CPPFLAGS): Add -DUSE_LIBDB1
1528 Remove rules to build makedb.
1529 * db/Versions: Rename libdb to libdb1.
1530 * include/db.h: If USE_LIBDB1 is defined include db/db.h.
1531 * db/makedb.c: Removed.
1533 * scripts/versions.awk: Recognize digits in library names.
1535 * db/btree/bt_open.c: Fix compiler warnings.
1536 * db/btree/bt_put.c: Likewise.
1537 * db/btree/bt_split.c: Likewise.
1538 * db/hash/hash.c: Likewise.
1539 * db/hash/hash_bigkey.c: Likewise.
1540 * db/recno/rec_close.c: Likewise.
1542 * Makefile: Add localedata/% goal.
1544 1998-09-22 19:58 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1546 * posix/execvp.c: Don't give up searching the PATH if execve
1549 1998-09-22 12:53 Ulrich Drepper <drepper@cygnus.com>
1551 * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
1552 if _dl_fpu_control_set is set.
1553 * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
1554 * elf/rtld.c: Don't define _dl_fpu_control_set.
1555 * elf/Versions: Remove _dl_fpu_control_set.
1557 1998-09-22 11:51 Ulrich Drepper <drepper@cygnus.com>
1559 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
1560 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
1561 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
1562 Correct values of other SA_* macros according to kernel headers.
1564 1998-09-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1566 * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
1568 * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
1571 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1573 * elf/ldsodefs.h: Fix typo in comment.
1575 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1577 * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
1578 char when comparing buffer contents with putback character.
1580 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1582 * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
1584 * elf/Versions: Undo last change. Export _dl_fpu_control and
1585 _dl_fpu_control_set.
1586 * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
1587 variables. Include <fpu_control.h>.
1588 * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
1589 _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
1590 to indicate that is was seen.
1591 * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
1592 only if _dl_fpu_control was set and is equal to desired value.
1593 * math/Makefile (aux): Undo last change.
1594 * math/Versions: Export __fpu_control with version GLIBC_2.0.
1596 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1598 * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
1601 1998-09-21 10:00 Ulrich Drepper <drepper@cygnus.com>
1603 * string/bits/string2.h: Add mempcpy optimization.
1604 * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
1605 * intl/localealias.c: Define mempcpy only if not already defined.
1607 * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
1610 1998-09-20 10:48 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1612 * csu/abi-note.S: Emit the note directly instead of defining
1613 a preprocessor macro that's only used once. Don't include sysdep.h.
1614 * abi-tags: Generalize Solaris entry.
1616 1998-09-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1618 * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
1619 Change to array to avoid runtime relocation.
1620 * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
1622 1998-09-21 12:22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1624 * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
1625 * math/Makefile ($(objpfx)libieee.a): Likewise.
1627 1998-09-21 Ulrich Drepper <drepper@cygnus.com>
1629 * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
1630 Patch by John Tobey <jtobey@banta-im.com>.
1632 1998-09-20 Ulrich Drepper <drepper@cygnus.com>
1634 * login/Makefile (distribute): Remove pty-internal.h, add
1637 * stdlib/tst-strtol.c: Add more checks.
1638 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
1640 1998-09-20 09:37 Ulrich Drepper <drepper@cygnus.com>
1642 * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
1643 * elf/elf.h: Add AT_FPUCW.
1644 * elf/Makefile (dl-routines): Add fpu_control.
1645 (elide-routines.os): Add fpu_control.
1646 (rtld-routines): Add fpu_control.
1647 * math/Makefile (aux): Remove fpu_control.
1648 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
1649 (_dl_show_auxv): Likewise.
1650 * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
1651 if different from OS default.
1653 * stdio-common/tstscanf.c: Add test case for (nil).
1655 1998-09-18 17:41 Ulrich Drepper <drepper@cygnus.com>
1657 * libio/fileops.c (_IO_new_file_underflow): Before allocating
1658 buffer make sure the pushback buffer is destroyed.
1659 (_IO_new_file_seekoff): Likewise.
1660 If mode==0 quit early with the result.
1661 Clear OEF flag after successful fseek.
1662 * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
1663 * libio/ftello.c (ftello): Add offset from original buffer if
1664 stream has pushed back characters.
1665 * libio/ftello64.c (ftello64): Likewise.
1666 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
1667 * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
1668 * libio/ioftell.c (_IO_ftell): Likewise.
1669 * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
1671 (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
1672 (_IO_default_pbackfail): Only stored push back character in original
1673 buffer if it is the same as the one in the file at this position.
1674 * libio/iofclose.c: Free backup buffer if one is available.
1675 * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
1678 * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
1680 * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
1682 * stdio-common/vfscanf.c: Fix reading (nil) for %p.
1684 1998-09-18 Mark Kettenis <kettenis@phys.uva.nl>
1686 * login/programs/pt_chown.c (more_help): Correct message that
1687 describes the purpose of the program.
1689 * login/openpty.c: Do not include pty-private.h.
1690 (pts_name): New function. Return name of slave pseudo terminal in
1691 an allocated buffer if necessary.
1692 (openpty): Use pts_name to get name of the slave end of the pseudo
1695 * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
1696 pts_name before return.
1698 1998-09-18 11:15 Ulrich Drepper <drepper@cygnus.com>
1700 * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
1702 1998-09-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1704 * login/openpty.c: Include pty-private.h instead of
1707 1998-09-09 Philip Blundell <pb@nexus.co.uk>
1709 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
1711 1998-09-07 Philip Blundell <pb@nexus.co.uk>
1713 * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
1714 recent ld.so changes.
1715 (elf_machine_runtime_setup): Correct behaviour when profiling.
1717 1998-09-17 19:34 Ulrich Drepper <drepper@cygnus.com>
1719 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
1720 Patch by John Tobey <jtobey@banta-im.com>.
1722 1998-09-17 Mark Kettenis <kettenis@phys.uva.nl>
1724 * login/pty-internal.h: Removed. Moved constants related to the
1725 `grantpt' helper program protocol to ...
1726 * login/pty-private.h: ... here. New file.
1727 * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
1728 to make the function work with kernels >= 2.1.115.
1729 * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
1730 version if using the cloning device fails.
1731 * sysdeps/unix/sysv/linux/grantpt.c: New file.
1732 * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
1733 * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
1734 use by Linux specific code.
1735 * sysdeps/unix/bsd/unlockpt.c: General cleanup.
1736 * sysdeps/unix/grantpt.c: Largely rewritten. (pts_name): New
1737 function. (grantpt): Use pts_name, check group and permission
1738 mode in addition to owner. Try to set the owner, group and
1739 permission mode first without invoking the helper program.
1740 * login/programs/pt_chown.c: Largely rewritten. Add argp and
1741 internationalization support. Use symbolic constants instead of
1742 hardwired numbers for permission mode.
1743 * sysdeps/unix/bsd/ptsname.c: New file.
1745 1998-09-17 22:04 Tim Waugh <tim@cyberelk.demon.co.uk>
1747 * posix/wordexp-test.c: Undo last change.
1749 * posix/wordexp.c: Undo last change.
1751 1998-09-16 Ulrich Drepper <drepper@cygnus.com>
1753 * nscd/grpcache.c (save_grp): Partly undo last change.
1755 * nscd/pwdcache.c (save_pwd): Undo last change.
1757 1998-09-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1759 * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
1760 function. Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
1762 1998-09-15 David S. Miller <davem@pierdol.cobaltmicro.com>
1764 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
1765 Add profiling support.
1766 (TRAMPOLINE_TEMPLATE): New macro.
1767 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
1768 (RTLD_START): Prettify, and set __libc_stack_end properly.
1769 (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
1770 and check for sym being NULL instead.
1771 * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
1773 * sysdeps/sparc/sparc64/lshift.S: Likewise.
1774 * sysdeps/sparc/sparc64/mul_1.S: Likewise.
1775 * sysdeps/sparc/sparc64/rshift.S: Likewise.
1776 * sysdeps/sparc/sparc64/submul_1.S: Likewise.
1777 * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
1778 MEDANY code model %g4 usage.
1779 * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
1780 MEDANY code model %g4 usage.
1781 * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
1782 code model address formation.
1783 * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
1784 include elf/ldsodefs.h
1786 (elf_machine_matches_host): It is now EM_SPARCV9.
1787 (elf_machine_dynamic): Clean up to remove ugly cast.
1788 (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
1790 (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
1791 Prettify rest of function.
1792 [R_SPARC_COPY]: Check for sym being NULL.
1793 [R_SPARC_32]: Handle it.
1794 [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
1796 [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
1798 [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
1799 (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
1800 Add profiling support.
1801 (TRAMPOLINE_TEMPLATE): New macro.
1802 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
1803 (RTLD_START): Prettify and set __libc_stack_end.
1804 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
1806 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
1807 (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
1808 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
1809 unused variable scratch.
1810 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1811 (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
1813 (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
1814 stub to rt_sigaction syscalls. Rewrite non-rt case to use correct
1815 old format kernel sigaction structures.
1816 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
1817 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
1818 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
1819 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
1821 (_JMPBUF_UNWINDS): Define.
1822 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
1823 statfs64 structure, which is exactly the same as the normal one.
1824 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
1825 of stack. Use correct syscall trap number. Add branch prediction
1826 settings to branch instructions. Remove old MEDANY code model %g4
1827 referneces for non-PIC.
1828 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
1829 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
1830 * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
1831 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
1832 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1833 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
1834 __libc_longjmp and __libc_siglongjmp strong aliases.
1835 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
1836 Also define to __no__readdir64_decl around readdir.c inclusion.
1837 (__readdir64): Add strong alias.
1838 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
1839 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
1840 Set strong and weak names properly.
1842 1998-09-16 11:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1844 * manual/Makefile (AWK): Default to gawk if standalone.
1846 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1848 * Makefile (distribute): Undo last change.
1849 * Make-dist (+tsrc) [not subdir]: Also include indirection headers
1851 (+subdir-headers): Removed, unused.
1853 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1855 * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
1858 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1860 * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
1861 absolute name in $(config-sysdirs), can never happen.
1862 ($(+sysdir_pfx)sysd-rules): Likewise.
1863 * Makeconfig (full-config-sysdirs): Likewise.
1864 (all-Subdirs-files): Prepend $(..).
1866 * configure.in: Don't check for absolute name in $add_ons_pfx, can
1867 not happen. Let --enable-add-ons=yes work if no add-ons actually
1870 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1872 * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
1873 continuations in command.
1875 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1877 * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
1879 1998-09-16 00:47 Tim Waugh <tim@cyberelk.demon.co.uk>
1881 * posix/wordexp-test.c: If expansion or substitution occurs
1882 anywhere in a word, the entire word is subject to field-splitting.
1884 * posix/wordexp.c (parse_glob): Look for end of word instead of
1885 end of field when deciding what to glob.
1886 (field_split_word): New function, now the only place where
1887 field-splitting is performed.
1888 (parse_dollars): New parameter - tell the caller if
1889 field-splitting should be performed on this word.
1891 * posix/wordexp-test.c (testit): Only call wordfree if wordexp
1892 succeeded (or failed with WRDE_NOSPACE).
1894 1998-09-15 19:53 1998 Tim Waugh <tim@cyberelk.demon.co.uk>
1896 * posix/wordexp.c (wordexp): Don't convert IFS characters to
1899 * posix/wordexp-test.c: Words not the result of expansion or
1900 substitution should remain unchanged.
1902 1998-09-15 Ulrich Drepper <drepper@cygnus.com>
1904 * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
1905 (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
1907 1998-09-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1909 * stdio-common/Makefile: Include Makeconfig so that
1910 $(inst_includedir) is defined.
1912 1998-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1914 * io/pwd.c: Include <mcheck.h>.
1916 1998-09-15 08:00 Ulrich Drepper <drepper@cygnus.com>
1918 * nscd/pwdcache.c (save_pwd): Correct copying.
1919 * nscd/grpcache.c (save_grp): Likewise.
1921 1998-09-14 23:36 Ulrich Drepper <drepper@cygnus.com>
1923 * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
1924 (free_pwd): Adjust for this change.
1925 * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
1926 (free_grp): Adjust for this change.
1928 1998-09-14 Ulrich Drepper <drepper@cygnus.com>
1930 * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
1932 1998-09-14 15:29 Ulrich Drepper <drepper@cygnus.com>
1934 * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
1935 (install-others): Add bits/stdio_lim.h.
1936 Add rule to install bits/stdio_lim.h.
1938 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
1940 * Makefile (distribute): Add include/sys/mman.h.
1942 * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
1943 * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
1944 * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
1946 * grp/initgroups.c: Include stdlib.h.
1947 Patch by Zack Weinberg.
1949 1998-09-14 22:46 Tim Waugh <tim@cyberelk.demon.co.uk>
1951 * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
1952 for field-splitting :abc: is correct, and that two fields should
1953 result. Revert tests to reflect this.
1955 * posix/wordexp.c (w_emptyword): Remove function.
1956 (exec_comm): Don't use w_emptyword.
1957 (parse_param): Likewise.
1959 1998-09-14 15:00 Ulrich Drepper <drepper@cygnus.com>
1961 * sysdeps/arm/fpu/Dist: Moved to...
1962 * sysdeps/arm/Dist: ...here.
1963 * sysdeps/posix/Dist: Removed.
1964 * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
1965 * sysdeps/unix/sysv/linux/i386/Dist: ...here.
1967 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
1969 * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
1971 1998-09-14 11:26 Ulrich Drepper <drepper@cygnus.com>
1973 * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
1975 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1977 * libc-work/nis/nss_nisplus/nisplus-service.c
1978 (_nss_nisplus_parse_servent): Convert port in network byte order.
1980 1998-09-14 07:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1982 * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
1983 to provide only malloc and calloc.
1984 * include/stdlib.h: Support the above.
1985 * string/bits/string2.h: Use __need_malloc_and_calloc when
1987 (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
1989 * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
1990 * iconvdata/iso646.c: Include <stdlib.h>.
1992 1998-09-14 07:51 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1994 * sunrpc/rpc_cout.c: Add braces around ambiguous else.
1995 * sysdeps/libm-ieee754/w_pow.c: Likewise.
1996 * sysdeps/libm-ieee754/w_powf.c: Likewise.
1997 * sysdeps/libm-ieee754/w_powl.c: Likewise.
1999 1998-09-14 07:57 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2001 * stdio-common/stdio_lim.h.in: New file. All parameters
2002 are adjustable at build time.
2003 * Rules: Add a rule to build bits/stdio_lim.h from
2004 stdio-common/stdio_lim.h.in. (It has to be in Rules so that
2005 all subdirectories know how to make the file. It can't be
2006 in Makerules because then it gets built at top level and the
2007 dependencies are wrong.)
2009 * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
2010 * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
2012 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
2013 * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
2014 * sysdeps/posix/Makefile: Removed.
2015 * sysdeps/posix/mk-stdiolim.c: Removed.
2016 * sysdeps/generic/bits/stdio_lim.h: Removed.
2018 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2020 * argp/argp-help.c: Fixup indentation.
2021 * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
2022 * resolv/nss_dns/dns-network.c: Likewise.
2023 * resolv/res_send.c: Likewise.
2024 * rt/aio_cancel.c: Likewise.
2025 * rt/aio_misc.c: Likewise.
2027 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2029 * Makefile (install-symbolic-link): Remove the link list file at last.
2030 * Makerules (install-clean-symbolic-link-list): Removed.
2032 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2034 * timezone/tst-timezone.c: Print time in UTC to get consistent
2037 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2039 * elf/rtld.c (_dl_rpath): Removed.
2040 * elf/dl-support.c (_dl_path): Removed.
2041 * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
2042 (CFLAGS-dl-support.c): Removed.
2044 * elf/dl-load.c (env_path_list): Renamed from fake_path_list. All
2046 (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
2047 instead of appending it to the main map's rpath info.
2048 (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
2049 DT_RPATHs. This makes it effective again.
2050 (decompose_rpath): Remove second parameter, callers changed.
2051 (fillin_rpath): Allocate enough space in curwd.
2052 (expand_dynamic_string_token): Cope with get_origin returning -1.
2054 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2056 * libc-work/nis/nss_compat/compat-pwd.c: Add support for
2059 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
2062 1998-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
2064 * locale/programs/locale.c: Update dates.
2066 1998-09-13 Mark Kettenis <kettenis@phys.uva.nl>
2068 * sysdeps/generic/bits/types.h: Include <features.h>. Make sure
2069 size_t is defined. Some reordering of definitions to make
2070 maintaining this file in parallel with the linux-specific file easier.
2072 1998-09-13 Ulrich Drepper <drepper@cygnus.com>
2074 * io/pwd.c (main): Add call to mtrace.
2076 * malloc/mtrace.pl: Quote @ in string.
2078 1998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk>
2080 * posix/wordexp.c (parse_arith): Fix memory leaks.
2081 (exec_comm): Likewise.
2082 (parse_param): Likewise.
2083 (wordexp): Likewise.
2084 (exec_comm): Reduce number of function return points.
2085 (parse_param): Likewise.
2086 (wordexp): Likewise.
2088 1998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk>
2090 * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
2091 yield three fields, not two. Test both parameter expansion and
2092 command substitution for correct field-splitting behaviour.
2094 * posix/wordexp.c (w_emptyword): New function.
2095 (parse_param): Use it.
2096 (exec_comm): Likewise, for consistency with the way parse_param
2098 (parse_param): Fix some memory leaks.
2100 1998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au>
2102 * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
2103 Don't mark asm `volatile'.
2104 (__elf_machine_runtime_setup): Clear the last partial block in the PLT
2105 from the data cache too. Assume it isn't in the instruction cache yet.
2106 (__elf_machine_fixup_plt): Clear the modified address from the caches.
2108 1998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
2110 * sysdeps/generic/segfault.c (install_handler): Install signal
2111 handler with SA_ONSTACK instead of setting the stack flags to
2112 SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
2115 1998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2117 * signal/signal.h: Fix multiple inclusion guard to cover the
2119 * wcsmbs/wchar.h: Remove prototype of internal function
2121 * sysdeps/i386/i486/bits/string.h (memchr): Don't do
2122 arithmetic on `void *'.
2124 1998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
2126 * posix/wordexp-test.c: Fix wrong tests. Add new tests.
2128 * posix/wordexp.c (wordexp): Perform word-splitting instead of
2129 field-splitting here.
2130 (wordexp): If out of memory mid-word, free the word (but still
2131 leave pwordexp alone for caller to see).
2132 (parse_param): Allow for zero-length fields (smarter checking of
2133 memory allocation failure).
2134 (w_addword): Convert NULL words to "".
2135 (wordexp): Convert left-over IFS characters to blanks (like bash).
2137 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
2139 * configure.in: Use test -f instead of test -e.
2140 Patch by John Tobey <jtobey@banta-im.com>.
2142 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
2143 * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
2144 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
2145 * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
2146 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
2147 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
2148 * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
2149 Patches by John Tobey <jtobey@banta-im.com>.
2151 * time/strftime.c (my_strftime): Delay use of *tp values until
2152 latest possible point to allow partly initialized structures
2153 (e.g., from strptime).
2155 * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
2157 Define *-routines variables for new modules.
2158 (distribute): Add .c files for new modules.
2159 (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
2161 Add rules for header generation.
2162 * iconvdata/gconv-modules: Add entries for new modules.
2163 * iconvdata/iso_10367-box.c: New file.
2164 * iconvdata/mac-is.c: New file.
2165 * iconvdata/nats-dano.c: New file.
2166 * iconvdata/nats-sefi.c: New file.
2168 1998-04-30 18:20 H.J. Lu <hjl@gnu.org>
2170 * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
2171 loader if PIC is not defined.
2173 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
2175 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
2176 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
2177 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
2179 Define *-routines variables for new modules.
2180 (distribute): Add .c files for new modules.
2181 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
2182 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
2183 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
2184 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
2185 Add rules for header generation.
2186 * iconvdata/gconv-modules: Add entries for new modules.
2187 * iconvdata/csn_369103.c: New file.
2188 * iconvdata/cwi.c: New file.
2189 * iconvdata/dec-mcs.c: New file.
2190 * iconvdata/ecma-cyrillic.c: New file.
2191 * iconvdata/gost_19768-74.c: New file.
2192 * iconvdata/greek-ccitt.c: New file.
2193 * iconvdata/greek7-old.c: New file.
2194 * iconvdata/greek7.c: New file.
2195 * iconvdata/inis-8.c: New file.
2196 * iconvdata/inis-cyrillic.c: New file.
2197 * iconvdata/inis.c: New file.
2198 * iconvdata/iso6937-2.c: New file.
2199 * iconvdata/iso_2033.c: New file.
2200 * iconvdata/iso_5427-ext.c: New file.
2201 * iconvdata/iso_5427.c: New file.
2202 * iconvdata/iso_5428.c: New file.
2204 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
2206 Convert U02dd correctly.
2208 1998-09-11 20:46 Richard Henderson <rth@cygnus.com>
2210 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
2211 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
2212 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
2213 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
2215 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
2217 * resolv/res_init.c (res_init): Handle resolv.conf file with only
2218 one nameserver correctly. Patch by HJ Lu.
2220 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
2222 Define *-routines variables for new modules.
2223 (distribute): Add .c files for new modules.
2224 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
2225 Add rules for hedaer generation.
2226 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
2227 * iconvdata/ansi_x3.110.c: New file.
2228 * iconvdata/asmo_449.c: New file.
2229 * iconvdata/baltic.c: New file.
2230 * iconvdata/iec_p27-1.c: New file.
2232 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
2234 Convert U02dc correctly.
2236 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
2237 * math/atest-exp2.c: Likewise.
2238 * math/atest-sincos.c: Likewise.
2240 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
2243 1998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2245 * string/strcoll.c: Optimize a few expressions.
2246 * string/strxfrm.c: Likewise.
2248 1998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2250 * manual/locale.texi: Fix typos.
2252 1998-09-10 Ulrich Drepper <drepper@cygnus.com>
2254 * stdlib/random_r.c (__setstate_r): Allow call with same state
2255 array as currently used (PR libc/774).
2257 * include/limits.h: Include gcc's header even if this file is
2258 found more than once before it (PR libc/778)
2260 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
2261 (sysdep_headers): Remove sys/debugreg.h.
2262 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
2263 (sysdep_headers): Add sys/debugreg.h.
2264 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
2265 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
2267 * stdio-common/tmpnam.c: Move local static variable buf to
2268 toplevel and rename to tmpnam_buffer to ease debugging.
2269 Patch by Joe Keane <jgk@jgk.org>.
2270 Optimize s == NULL case a bit.
2272 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
2275 1998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
2277 * resolv/res_init.c (res_init): Initialize _res.nscount and
2278 _res.nsaddr.sin_port differently for the can when no loopback
2279 is available to allow immediate timeout in non-networking environments.
2280 Patch by Cristian Gafton <gafton@redhat.com>.
2282 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2284 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
2285 BAR and not EM DASH.
2286 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
2287 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
2290 1998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
2292 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
2294 * timezone/tst-timezone.c (tests): Fix typo in last patch.
2296 * time/tzfile.c (__tzfile_read): Handle case when there are no
2297 transitions. Set __timezone based on computed offset.
2298 * time/tzset.c (tzset_internal): Set __timezone before returning.
2300 * time/tzset.c (tzset_internal): Optimize handling of local string
2303 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2305 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
2308 1998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
2310 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
2311 (csqrt_test): Likewise.
2312 * sysdeps/powerpc/bits/fenv.h: Add parens.
2314 1998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
2316 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
2317 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
2318 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
2320 1998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
2322 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
2323 the special `-1' pointer.
2325 1998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
2327 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
2330 1998-09-07 Paul Eggert <eggert@twinsun.com>
2332 * time/mktime.c (__EXTENSIONS__): Define if not defined.
2333 (_REENTRANT): Remove. It has undesirable consequences in
2334 Solaris 2.6 (e.g. it turns off the putc macro). Defining
2335 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
2337 * time/strftime.c: Likewise.
2339 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2341 * elf/dl-error.c: Fix spelling.
2343 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2345 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
2346 * stdio-common/_itoa.c: Likewise.
2347 * stdio-common/printf_fp.c: Likewise.
2348 * stdio-common/vfscanf.c: Likewise.
2349 * wcsmbs/wcstok.c: Likewise.
2350 * sysdeps/generic/glob.c: Likewise.
2351 * posix/getopt.c: Likewise.
2352 * sysdeps/posix/getaddrinfo.c: Likewise.
2353 * posix/wordexp.c: Likewise.
2354 * io/ftw.c: Likewise.
2355 * io/fts.c: Likewise.
2356 * misc/getpass.c: Likewise.
2357 * iconv/gconv_conf.c: Likewise.
2358 * argp/argp-fmtstream.c: Likewise.
2359 * argp/argp-help.c: Likewise.
2360 * elf/dl-load.c: Likewise.
2361 * locale/programs/stringtrans.c: Likewise.
2362 * catgets/gencat.c: Likewise.
2363 * posix/getconf.c: Likewise.
2364 * iconv/gconv_conf.c: Likewise.
2365 * iconv/iconv_prog.c: Likewise.
2367 * string/strcoll.c: Optimize a few expressions.
2368 * string/strxfrm.c: Likewise.
2370 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2372 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
2373 level to avoid uninit variable warning.
2375 1998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2377 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
2378 instead of _dl_default_scope[2] as argument to _dl_init_next.
2380 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
2383 1998-09-08 Ulrich Drepper <drepper@cygnus.com>
2385 Fix compatibility problems introduced in last change.
2386 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
2388 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
2389 -DWEAK_GMON_START to CFLAGS-initfini.s.
2391 * elf/dl-object.c (_dl_new_object): Store map address in
2392 _dl_loaded if _dl_loaded is NULL.
2393 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
2395 * sysdeps/generic/setrlimit64.c: Remove stub warning.
2397 1998-09-07 Ulrich Drepper <drepper@cygnus.com>
2399 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
2401 * db2/btree/bt_cursor.c: Likewise.
2402 * db2/common/db_region.db_c: Likewise.
2403 * db2/common/db_salloc.db_c: Likewise.
2404 * db2/db/db.c: Likewise.
2405 * db2/db/db_rec.c: Likewise.
2406 * db2/hash/hash.c: Likewise.
2407 * db2/hash/hash_page.c: Likewise.
2408 * db2/hash/hash_rec.c: Likewise.
2409 * db2/log/log_findckp.c: Likewise.
2410 * db2/log/log_get.c: Likewise.
2411 * db2/log/log_put.c: Likewise.
2412 * db2/mp/mp_fget.c: Likewise.
2413 * db2/mp/mp_fput.c: Likewise.
2414 * db2/mp/mp_region.c: Likewise.
2415 * stdlib/strtol.c: Likewise.
2416 * string/strcoll.c: Likewise.
2417 * string/strxfrm.c: Likewise.
2418 * argp/argp-help.c: Likewise.
2419 * argp/argp-parse.c: Likewise.
2420 * resolv/res_debug.c: Likewise.
2422 1998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
2424 * math/tgmath.h (scalb): Only define for __USE_MISC or
2425 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
2427 1998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2429 * libio/stdio.h: Fix comment.
2431 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
2434 1998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2436 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
2438 * elf/dl-open.c: Quiet -Wparentheses warnings.
2439 * iconvdata/johab.c: Likewise.
2440 * iconvdata/uhc.c: Likewise.
2441 * inet/inet_net.c: Likewise.
2442 * io/fts.c: Likewise.
2443 * locale/newlocale.c: Likewise.
2444 * misc/getttyent.c: Likewise.
2445 * misc/mntent_r.c: Likewise.
2446 * misc/ttyslot.c: Likewise.
2447 * nscd/nscd_conf.c: Likewise.
2448 * nss/nsswitch.c: Likewise.
2449 * resolv/gethnamaddr.c: Likewise.
2450 * resolv/nsap_addr.c: Likewise.
2451 * resolv/res_debug.c: Likewise.
2452 * stdio-common/_itoa.c: Likewise.
2453 * stdlib/strtod.c: Likewise.
2454 * string/strverscmp.c: Likewise.
2455 * sunrpc/svc.c: Likewise.
2456 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
2457 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
2458 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
2459 * sysdeps/posix/getaddrinfo.c: Likewise.
2461 1998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
2463 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
2464 for use of global scope.
2465 * elf/dlvsym.c (dlvsym_doit): Likewise.
2467 1998-09-02 Paul Eggert <eggert@twinsun.com>
2469 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
2470 copy the redundant bytes at the end of the format as-is; don't
2471 just copy their first byte and then rescan, as that might get
2472 us an encoding error.
2473 Account correctly for the length of multibyte sequences in the
2476 1998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
2478 * posix/wordexp-test.c: Add tests for different IFS values.
2479 Change unquoted-newline test so that newline is not in IFS.
2481 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
2482 determining IFS characters. Return WRDE_BADCHAR for unquoted
2483 special characters _except_ if they are separators.
2485 1998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
2487 * include/tgmath.h: New file.
2489 * libio/stdio.h: Correct reversed #ifs.
2490 Patch by Zack Weinberg.
2492 * manual/creature.texi: Better explain reason for feature select
2494 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
2496 1998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2498 * include/alloca.h: Add multiple-inclusion guard.
2499 * include/db.h: Likewise.
2500 * include/db_185.h: Likewise.
2501 * include/dlfcn.h: Likewise.
2502 * include/fcntl.h: Likewise.
2503 * include/grp.h: Likewise.
2504 * include/libintl.h: Likewise.
2505 * include/mntent.h: Likewise.
2506 * include/pwd.h: Likewise.
2507 * include/sched.h: Likewise.
2508 * include/search.h: Likewise.
2509 * include/setjmp.h: Likewise.
2510 * include/shadow.h: Likewise.
2511 * include/signal.h: Likewise.
2512 * include/stdio.h: Likewise.
2513 * include/stdlib.h: Likewise.
2514 * include/string.h: Likewise.
2515 * include/termios.h: Likewise.
2516 * include/time.h: Likewise.
2517 * include/ulimit.h: Likewise.
2518 * include/utmp.h: Likewise.
2519 * include/wchar.h: Likewise.
2520 * include/sys/file.h: Likewise.
2521 * include/sys/gmon.h: Likewise.
2522 * include/sys/ioctl.h: Likewise.
2523 * include/sys/mman.h: Likewise.
2524 * include/sys/resource.h: Likewise.
2525 * include/sys/select.h: Likewise.
2526 * include/sys/socket.h: Likewise.
2527 * include/sys/statfs.h: Likewise.
2528 * include/sys/time.h: Likewise.
2529 * include/sys/times.h: Likewise.
2530 * include/sys/wait.h: Likewise.
2532 1998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
2534 * version.h (VERSION): Bump to 2.0.96.
2536 Rewrite runtime linker to be truly thread-safe. There is now no
2537 global variable specifying the scope. We create all needed
2538 scopes at the time the link maps are created.
2539 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
2540 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
2541 l_symbolic_searchlist, l_scope, and l_local_scope elements in
2543 * elf/dl-close.c: Rewritten accordingly.
2544 * elf/dl-deps.c: Likewise.
2545 * elf/dl-error.c: Likewise.
2546 * elf/dl-init.c: Likewise.
2547 * elf/dl-load.c: Likewise.
2548 * elf/dl-lookup.c: Likewise.
2549 * elf/dl-object.c: Likewise.
2550 * elf/dl-open.c: Likewise.
2551 * elf/dl-reloc.c: Likewise.
2552 * elf/dl-runtime.c: Likewise.
2553 * elf/dl-support.c: Likewise.
2554 * elf/dl-symbol.c: Likewise.
2555 * elf/dl-version.c: Likewise.
2556 * elf/dlsym.c: Likewise.
2557 * elf/dlvsym.c: Likewise.
2558 * elf/ldsodefs.h: Likewise.
2559 * elf/rtld.c: Likewise.
2560 * iconv/gconv_dl.c: Likewise.
2561 * nss/nsswitch.c: Likewise.
2562 * sysdeps/i386/dl-machine.h: Likewise.
2563 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
2565 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
2566 Define RTLD_DEFAULT.
2568 1998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
2570 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
2571 __getopt_clean_environment with __environ instead of envp.
2573 1998-09-05 Roland McGrath <roland@baalperazim.frob.com>
2575 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
2577 * string/argz-extract.c (__argz_extract): Add de-consting cast for
2580 * string/argz.h (argz_next): Add de-consting cast for return.
2581 * string/argz-next.c (__argz_next): Likewise.
2583 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
2584 Don't add netinet/udp.h, netinet/ip_icmp.h here.
2585 * sysdeps/gnu/Makefile: Do it here instead.
2586 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
2587 * sysdeps/gnu/Dist: ... to here.
2589 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
2590 sysdeps/unix/sysv/linux/netinet/tcp.h,
2591 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
2593 1998-09-04 Roland McGrath <roland@baalperazim.frob.com>
2595 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
2596 * string/argz-next.c, string/argz-extract.c: Fix defns.
2598 1998-09-03 Roland McGrath <roland@baalperazim.frob.com>
2600 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
2602 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
2603 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
2604 * sysdeps/generic/sysd-stdio.c: Likewise.
2606 1998-09-02 Ulrich Drepper <drepper@cygnus.com>
2608 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
2609 (_dl_map_object_from_fd): Make NAME argument const.
2610 Remove last parameter in _dl_new_object call.
2611 (print_search_path): Correct construction of composed path name.
2612 (_dl_map_object): Prevent looking at RPATH of the main map twice.
2613 Remove last parameter in _dl_new_object call.
2614 * elf/dl-object.c: Remove last parameter. Determine whether create
2615 origin entry based on empty realname. Handle file in root directory
2617 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
2618 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
2619 Remove last parameter in _dl_new_object call.
2620 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
2621 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
2623 1998-09-01 Ulrich Drepper <drepper@cygnus.com>
2625 * elf/dl-close.c (_dl_close): Add more comments and correct some.
2626 Free l_searchlist and l_dupsearchlist.
2628 * debug/catchsegv.sh: Add one more pair of quotes.
2630 1998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
2632 * elf/dl-load.c (add_name_to_object): Change return type to void and
2633 make NAME parameter const. Allocate room for NAME in same memory
2634 block used for l_libname entry.
2635 (_dl_map_object_from_fd): Don't free NAME on failure.
2636 (map_segment): Pass SONAME to add_name_to_object, not a copy.
2637 (_dl_map_object): Don't create copy of NAME. Pass NAME to
2638 _dl_map_object_from_fd.
2639 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
2640 memory block used for l_libname entry.
2641 * elf/dl-close.c: Adjust free()ing for this change.
2643 1998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
2645 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
2647 * malloc/mtrace.c: Add bug report address. Update email address.
2648 Add more @XXX@ to print correct address size.
2650 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
2653 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
2654 for munmap call instead of examining phdr again.
2655 Free all malloc()ed strings and arrays.
2657 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
2659 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
2661 * sysdeps/powerpc/dl-machine.c: New file.
2662 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
2663 files. Revise ELF_PREFERRED_ADDRESS to take account of
2664 the new mapping information (fixes bug involving huge bloated
2665 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
2666 * sysdeps/powerpc/dl-start.S: New file.
2668 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
2670 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
2671 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
2672 others. Call elf_dynamic_do_##reloc only once (to save even more
2674 * elf/link.h: Add new members l_map_start and l_map_end to keep
2675 track of the memory map.
2676 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
2679 1998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
2681 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
2682 Reported by Andreas Jaeger.
2684 * posix/glob.h: Use __size_t instead of size_t in definitions and
2685 make sure this is defined.
2687 1998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
2689 * manual/locale.texi: Almost complete rewrite. Document more functions
2691 * manual/arith.texi: Correct reference.
2692 * manual/string.texi: Pretty printing.
2694 * manual/texinfo.tex: Update from last available version.
2696 1998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
2698 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
2700 (_nss_nis_getpwuid_r): Likewise.
2701 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
2703 * inet/rcmd.c: Implement netgroup support.
2704 Patch by Dick Streefland <dick_streefland@tasking.com>.
2706 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
2708 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
2709 object on the list is removed. Don't use this code for PIC.
2710 Reported by HJ Lu [PR libc/770].
2712 1998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
2714 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
2716 * include/stdio.h: Add __vsscanf.
2718 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
2720 Remove __vsscanf declaration.
2721 Always declare fgetpos and fsetpos.
2723 * math/math.h: Define isinf as macro.
2724 * math/bits/mathcalls.h: Change to declare __isinf all the time.
2725 Don't declare scalb for ISO C 9x.
2727 * math/tgmath.h: Define fma. Rewrite the underlying macros.
2729 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
2731 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
2734 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
2737 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2739 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
2740 Reported by jreising@frequentis.com [PR libc/767].
2742 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2744 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
2745 fl.l_start at beginning of function.
2746 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
2748 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
2750 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
2751 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
2753 * nscd/nscd.init: Make it work in RedHat systems.
2754 Patch by Christian Gafton.
2756 1998-08-29 Philip Blundell <philb@gnu.org>
2758 * catgets/Makefile: Don't try to run test programs when
2761 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
2763 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
2764 Reported by Zack Weinberg.
2766 1998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2768 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
2769 * elf/Makefile (distribute): Remove ldd.sh.in.
2771 1998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2773 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
2776 1998-08-29 Ulrich Drepper <drepper@cygnus.com>
2778 * sysdeps/i386/register-dump.h: Move to ...
2779 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
2781 1998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
2783 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
2784 with load address, not map address.
2785 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
2786 parameter and use this value.
2787 * sysdeps/arm/dl-machine.h: Likewise.
2788 * sysdeps/i386/dl-machine.h: Likewise.
2789 * sysdeps/m68k/dl-machine.h: Likewise.
2790 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
2792 * sysdeps/powerpc/dl-machine.h: Likewise
2793 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
2794 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
2796 1998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
2798 * elf/rtld.c (process_envvars): Fix copy&paste error.
2800 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
2802 (realloc_hook_ini): Don't overwrite memalign hook.
2803 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
2804 Reported by Philippe Troin <phil@fifi.org>.
2806 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
2807 Patch by Philippe Troin <phil@fifi.org>.
2809 1998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2811 * sysdeps/generic/segfault.c (install_handler): Protect the
2812 non-POSIX signals with #ifdef.
2813 (catch_segfault): Add missing mode parameter for open.
2814 * debug/catchsegv.sh: Avoid termination message from shell. Allow
2815 other termination signals.
2817 1998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2819 * debug/Makefile (distribute): Add register-dump.h.
2821 1998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2823 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
2825 1998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
2827 * elf/Makefile (distribute): Add dl-origin.h.
2828 * sysdeps/generic/dl-origin.h: New file.
2829 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
2830 * elf/link.h (struct link_map): Add l_origin field.
2831 * elf/dl-load.c (expand_dynamic_string_token): New function.
2832 (decompose_path): Remove WHERE argument, take link map pointer instead.
2833 Call expand_dynamic_string_token instead of local_strdup to make copy
2835 (_dl_init_paths): Call decompose_path with correct argument.
2836 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
2838 Check EI_OSABI and EI_ABIVERSION fields in header.
2839 Call _dl_new_object with extra argument.
2840 (_dl_map_object): Call decompose_path with correct argument.
2841 Call expand_dynamic_string_token instead of local_strdup to also
2843 Call _dl_new_object with extra argument.
2844 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
2845 but the main one if new argument is nonzero.
2846 * elf/ldsodefs.h: Adjust for _dl_new_object change.
2847 * elf/dl-support.c: Define _dl_origin_path.
2848 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
2849 (dl_main): Call _dl_new_object with extra argument.
2851 * elf/dl-close (_dl_close): Free l_name and l_origin.
2853 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
2854 modifier in asm, not c.
2856 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
2857 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
2859 1998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
2861 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
2862 variable so that map can be freed.
2863 Reported by Philippe Troin <phil@fifi.org>.
2865 * elf/dl-open.c (dl_open_worker): Correct test for extending global
2867 Patch by Philippe Troin <phil@fifi.org>.
2869 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
2871 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
2872 Don't call writev() with a 100-element vector.
2873 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
2876 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
2877 In particular, set __libc_stack_end.
2878 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
2879 undefined. Fix copyright notice.
2881 1998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2883 * math/Makefile (gmp-objs): New variable.
2884 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
2886 (tests): Add atest-exp atest-sincos atest-exp2.
2887 (tests-static): Remove atest-exp atest-sincos atest-exp2.
2889 1998-08-25 Ulrich Drepper <drepper@cygnus.com>
2891 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
2893 (_dl_unload_cache): New function.
2894 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
2895 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
2896 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
2898 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
2899 Correct comment for O_LARGEFILE.
2900 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
2901 Change O_LARGEFILE to correct value.
2903 1998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
2905 * libio/iogetline.c (_IO_getline_info): Don't read anything for
2906 N == 0. Patch by HJ Lu.
2908 1998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
2910 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
2912 1998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
2914 * argp/argp.h: Use __inline__ not inline.
2916 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
2917 an input register as being clobbered.
2918 * sysdeps/i386/memset.c (memset): Likewise.
2919 * sysdeps/i386/bzero.c (__bzero): Likewise.
2920 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
2922 1998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2924 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
2925 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
2927 1998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
2929 * debug/catchsegv.sh: Handle text preceding backtrace better.
2930 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
2931 to be installed for other signals than SIGSEGV.
2932 * sysdeps/generic/register-dump.h: New file.
2933 * sysdeps/i386/register-dump.h: New file.
2934 * sysdeps/powerpc/register-dump.h: New file.
2936 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
2938 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
2940 1998-08-24 Geoff Keating <geoffk@ozemail.com.au>
2942 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
2944 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
2946 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
2947 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
2948 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
2949 getresuid, getresgid.
2951 1998-08-16 Geoff Keating <geoffk@ozemail.com.au>
2953 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
2954 pointer in userland.
2956 1998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2958 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
2961 1998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2963 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
2964 over arguments Bourne shell compatible. Don't exit unsuccessfully
2965 if nonelf returns successfully. Avoid duplicating most of the
2967 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
2970 1998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2972 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
2974 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
2975 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
2977 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
2979 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
2980 __modify_ldt and modify_ldt.
2981 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
2983 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2984 Use orl $-1 instead of movl $-1 to save two bytes.
2985 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
2988 1998-08-17 H.J. Lu <hjl@gnu.org>
2990 * libio/Versions (_IO_do_write, _IO_file_attach,
2991 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2992 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2993 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2994 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
2996 * libio/fileops.c (_IO_do_write, _IO_file_attach,
2997 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2998 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2999 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
3000 _IO_file_write, _IO_file_xsputn): Change the prefix to
3001 "_IO_new_". Added to GLIBC_2.1.
3003 * libio/libioP.h (_IO_do_write, _IO_file_attach,
3004 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
3005 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
3006 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
3007 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
3010 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
3011 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
3012 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
3013 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
3014 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
3016 1998-08-23 Richard Henderson <rth@cygnus.com>
3018 * Makeconfig (LDFLAGS): Remove.
3020 * csu/initfini.c: Return to .text before __gmon_start__.
3022 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
3023 (STO_MIPS_*): Rename from STO_*.
3024 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
3025 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
3027 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
3028 (main): e3s is negative on zero.
3029 * math/atest-exp2.c: Likewise.
3030 * math/atest-sincos.c: Likewise.
3032 1998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3034 * Makerules (install): Add comment about absolute paths.
3036 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
3038 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
3039 array to NUL to handle maxlen==1 case correctly.
3042 1998-08-23 Richard Henderson <rth@cygnus.com>
3044 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
3045 * sysdeps/alpha/elf/crtend.S: Likewise.
3046 * sysdeps/alpha/elf/start.S: Likewise.
3048 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
3049 non-standard pv usage.
3051 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
3052 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
3053 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
3054 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
3055 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
3056 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
3057 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
3058 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
3059 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
3060 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
3061 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
3063 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
3064 a finite non-denormal, deferring to the full IEEE version otherwise.
3066 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
3067 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
3068 * sysdeps/alpha/fpu/s_floor.c: New.
3069 * sysdeps/alpha/fpu/s_floorf.c: New.
3070 * sysdeps/alpha/fpu/s_ceil.c: New.
3071 * sysdeps/alpha/fpu/s_ceilf.c: New.
3073 1998-08-22 Philip Blundell <philb@gnu.org>
3075 * sysdeps/arm/bits/string.h: New file.
3077 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3079 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
3082 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
3083 test for recent Linux 2.1.100+ headers.
3085 1998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3087 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
3089 1998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
3091 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
3093 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3095 * Makefile (elf/ldso_install): Put back. The problem still persists.
3096 * elf/Makefile (ldso_install): Likewise.
3098 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3100 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
3102 * include/db.h: Declare __nss_db_open.
3103 * db2/Versions: Export it.
3105 * db2/makedb.c: Convert to use db2 API.
3106 * nss/nss_db/db-XXX.c: Likewise.
3107 * nss/nss_db/db-netgrp.c: Likewise.
3108 * nss/nss_db/db-alias.c: Likewise.
3109 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
3111 1998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3113 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3114 sys_setresuid, already built automatically (or not).
3115 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
3116 instead of __syscall_setresuid and add back setresuid.
3117 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
3118 __syscall_setresuid.
3120 1998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3122 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
3124 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
3126 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
3127 BASH-ONLY marked region.
3128 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
3130 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
3132 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
3135 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
3137 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
3140 1998-08-21 Roland McGrath <roland@baalperazim.frob.com>
3142 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
3143 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
3144 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
3145 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
3146 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
3147 those magic comments, and to use /bin/sh for @BASH@.
3148 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
3149 * elf/ldd.sh.in: File removed.
3151 1998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
3153 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
3154 cast them to unsigned long int.
3155 * pwd/putpwent.c (putpwent): Likewise.
3156 Patch by John Tobey <jtobey@banta-im.com>.
3158 1998-08-20 17:14 H.J. Lu <hjl@gnu.org>
3160 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
3163 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
3165 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
3168 1998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
3170 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
3171 Add umount and umount2.
3172 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
3173 * sysdeps/unix/sysv/linux/umount.S: New file.
3174 * sysdeps/unix/sysv/linux/umount2.S: New file.
3175 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
3178 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
3180 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
3181 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
3183 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
3185 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
3188 1998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
3190 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
3191 * elf/ldd.bash.in: Likewise.
3193 * elf/sln.c: Avoid warning for no main prototype.
3195 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
3197 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
3198 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3200 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
3202 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
3203 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
3204 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3206 1998-08-20 Philip Blundell <pb@nexus.co.uk>
3208 * sysdeps/arm/fpu/ieee754.h: Move to...
3209 * sysdeps/arm/ieee754.h: ... here.
3211 * sysdeps/arm/__longjmp.S: Put return value in correct register.
3212 Don't set the condition flags unnecessarily.
3213 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
3214 registers correctly.
3216 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
3217 (patch from Scott Bambrough).
3219 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
3221 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
3222 NULL, just call it unconditionally.
3223 (__gmon_start__): Provide stub version as a weak symbol.
3225 1998-07-30 Philip Blundell <philb@gnu.org>
3227 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
3230 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
3231 like `@' in .type directives.
3233 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
3234 * sysdeps/arm/bsd-_setjmp.S: Likewise.
3236 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
3238 1998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3240 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
3241 (F_GETOWN): Likewise.
3243 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
3246 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
3248 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
3251 1998-08-18 Ulrich Drepper <drepper@cygnus.com>
3253 * include/features.h: Define __USE_EXTERN_INLINES for recent
3255 * argp/argp.h: Define extern inline functions only if
3256 __USE_EXTERN_INLINES is defined.
3257 * libio/stdio.h: Likewise.
3258 * math/math.h: Likewise.
3259 * stdlib/stdlib.h: Likewise.
3260 * string/argz.h: Likewise.
3261 * sysdeps/generic/bits/sigset.h: Likewise.
3262 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
3263 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
3264 * sysdeps/wordsize-32/inttypes.h: Likewise.
3265 * sysdeps/wordsize-64/inttypes.h: Likewise.
3266 * wcsmbs/wchar.h: Likewise.
3268 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
3269 to allow compilation without optimization.
3271 1998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3273 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
3275 * nis/nss_compat/compat-initgroups.c: Likewise.
3276 * nis/nss_compat/compat-pwd.c: Likewise.
3277 * nis/nss_compat/compat-spwd.c: Likewise.
3278 * nis/nss_nis/nis-alias.c: Likewise.
3279 * nis/nss_nis/nis-ethers.c: Likewise.
3280 * nis/nss_nis/nis-grp.c: Likewise.
3281 * nis/nss_nis/nis-hosts.c: Likewise.
3282 * nis/nss_nis/nis-initgroups.c: Likewise.
3283 * nis/nss_nis/nis-network.c: Likewise.
3284 * nis/nss_nis/nis-proto.c: Likewise.
3285 * nis/nss_nis/nis-pwd.c: Likewise.
3286 * nis/nss_nis/nis-rpc.c: Likewise.
3287 * nis/nss_nis/nis-service.c: Likewise.
3288 * nis/nss_nis/nis-spwd.c: Likewise.
3290 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
3292 * nis/ypclnt.c: Try binding dir only first time, could be to old.
3294 * nis/yp_xdr.c: Remove 1024 byte limit.
3295 * nis/ypupdate_xdr.c: Likewise.
3297 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
3300 1998-08-18 Roland McGrath <roland@baalperazim.frob.com>
3302 * Rules (binaries-static, binaries-shared static pattern rules):
3303 Depend on lib%, not just libc%, from $(link-libc{,-static}).
3305 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
3306 this here, overriding Makeconfig generic value so we link against
3309 1998-08-17 Ulrich Drepper <drepper@cygnus.com>
3311 * posix/tstgetopt.c (options): Add NULL entry at end
3312 Patch by Adrian Miranda <ade@psg.com>.
3314 1998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
3316 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
3319 1998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
3321 * elf/elf.h: Add PPC Diab relocations.
3323 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
3325 1998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
3327 * manual/texinfo.tex: Update.
3329 1998-08-07 Geoff Keating <geoffk@ozemail.com.au>
3331 * sysdeps/powerpc/backtrace.c: New file.
3333 1998-08-14 Philip Blundell <pb@nexus.co.uk>
3335 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
3337 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
3339 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3341 * Makefile (install-symbolic-link): Fix spelling.
3343 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3345 * elf/elf.h (SHT_HIOS): Fix value.
3347 1998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3349 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
3350 part of the expansion, this is undefined by the standard.
3352 1998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
3354 * posix/getconf.c: Add support for systems with incomplete confname.h.
3356 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
3358 * sysdeps/posix/wait3.c: Make it work.
3360 1998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3362 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
3363 (elf/ldso_install): Remove.
3365 * elf/Makefile (distribute): Add sln.c.
3367 (others-static): Add sln.
3368 (install-rootsbin): Add sln.
3369 (others-static): Add sln.
3370 (ldso_install): Remove.
3372 1998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3374 * Makerules (install-clean-symbolic-link-list): Make phony.
3375 * Makefile (install-symbolic-link): Make phony. Depend on
3376 subdir_install for parallel makes.
3379 1998-07-22 Ulrich Drepper <drepper@cygnus.com>
3381 * elf/Makefile (distribute): Add sln.c
3383 1998-07-21 07:10 H.J. Lu <hjl@gnu.org>
3385 * elf/sln.c: New file.
3387 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
3388 (install-clean-symbolic-link-list): New target.
3389 (install): Depend on install-clean-symbolic-link-list.
3390 (make-shlib-link): Changed for $(symbolic-link-list).
3392 * Makefile (install-symbolic-link): New target.
3393 (install): Depend on install-symbolic-link.
3395 1998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
3397 * include/unistd.h: Protect against multiple inclusion.
3399 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
3400 is defined, not is glob is defined.
3401 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
3403 1998-08-01 17:18 H.J. Lu <hjl@gnu.org>
3405 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
3406 xdr_string for ut_line, ut_name and ut_host.
3408 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3410 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
3411 /var/mail in accordance with FHS 2.0.
3412 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
3414 1998-08-12 Richard Henderson <rth@cygnus.com>
3416 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
3417 Update aliases for cancelation.
3419 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
3420 playing with symbol versions.
3422 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
3424 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
3425 multiple inclusion protection.
3426 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
3427 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
3428 define all these to 1.
3429 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
3431 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
3433 * sysdeps/mach/usleep.c: Include <unistd.h>.
3434 (usleep): Return void.
3436 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
3438 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
3439 decl to inhibit warning in if_freenameindex defn.
3441 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
3443 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
3445 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
3446 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
3447 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
3448 * sysdeps/mach/usleep.c: Likewise.
3450 * sysdeps/mach/hurd/bind.c (bind): Add a const.
3452 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
3453 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
3454 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
3455 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
3456 * sysdeps/mach/usleep.c (usleep): Likewise.
3457 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
3458 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
3459 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
3460 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
3462 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
3464 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
3467 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
3468 %p arg to fprintf, since `void *' is the right type already.
3470 1998-07-25 19:47 Jose M. Moya <josem@gnu.org>
3472 * sysdeps/mach/hurd/getcwd.c
3473 (_hurd_canonicalize_directory_name_internal): Do not loop forever
3474 for unknown root directories.
3475 (__getcwd): Return NULL when the current root directory could not
3478 1998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
3480 * string/strsignal.c (strsignal): Count real-time signals from zero.
3483 See ChangeLog.8 for earlier changes.