1 1998-11-03 H.J. Lu <hjl@gnu.org>
3 * libio/fileops.c (new_do_write): New function.
4 (_IO_new_do_write): Call new_do_write.
5 (_IO_new_file_xsputn): Likewise.
7 * libio/oldfileops.c (old_do_write): New function.
8 (_IO_old_do_write): Call old_do_write.
9 (_IO_old_file_xsputn): Likewise.
11 1998-11-04 Ulrich Drepper <drepper@cygnus.com>
13 * time/mktime.c (__mktime_internal): Correct last change. We must
14 stop searching for the right isdst value before stepping to the
17 * malloc/malloc.c: Make sure calloc really returned zeroed memory.
18 Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
20 1998-11-02 16:12 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
22 * sysdeps/generic/bits/signum.h: Define signals with their
23 historical numbers when those are in the 1-15 range and
24 consistent across platforms.
25 Define compatibility aliases (SIGIOT, SIGCLD) if __USE_MISC.
26 Define SIG_DFL, SIG_IGN, SIG_ERR as numeric constants cast
27 appropriately instead of with fake function declarations
28 (would cause link errors).
29 If __USE_UNIX98, define SIG_HOLD.
31 1998-10-29 H.J. Lu <hjl@gnu.org>
33 * sysdeps/unix/sysv/linux/bits/sigaction.h (sigaction): Use
34 union only if __USE_POSIX199309 is defined.
36 * misc/sys/select.h (pselect): Declared only if __USE_GNU is
39 1998-11-03 Ulrich Drepper <drepper@cygnus.com>
41 * time/mktime.c (__mktime_internal): Handle broken down times
42 around the time of the DST switches more correctly.
44 1998-11-02 Ulrich Drepper <drepper@cygnus.com>
46 * elf/Makefile (libdl-routines): Add dlopenold.
47 * elf/Versions [libdl, GLIBC_2.1]: Add dlopen.
48 * elf/dl-open.c (_dl_open): Check whether RTLD_LAZY or RTLD_GLOBAL
49 is set and bounce otherwise.
50 * elf/dlopen.c: Rename function to __dlopen_check and make version
52 * elf/dlopenold.c: New file.
54 1998-11-02 Ulrich Drepper <drepper@cygnus.com>
56 * elf/Versions [libc, GLIBC_2.01]: Add _dl_global_scope_alloc.
57 * elf/dl-open.c (_dl_global_scope_alloc): Move definition to
58 * elf/dl-deps.c: ...here.
59 * elf/dl-open.c (dl_open_worker): Call _dl_map_object_deps with
60 new parameter and expect result. Remove code handling RTLD_GLOBAL.
61 Add return value of _dl_map_object_deps to
62 _dl_main_searchlist->r_nlist.
63 * elf/dl-deps.c (_dl_map_object_deps): Change to return value.
64 If we parameter GLOBAL is nonzero add object and dependencies to
66 * elf/ldsodefs.h: Adapt prototype for _dl_map_object_deps.
67 * elf/rtld.c (dl_main): Call _dl_map_object_deps with new parameter.
68 Mark all objects as in global scope.
69 * elf/dl-object.c (_dl_new_object): Initialize l_global to zero.
71 * sysdeps/unix/sysv/linux/bits/sockunion.h: Add Econet support.
73 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add .L prefix to symbols
76 1998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
78 * sysdeps/unix/sysv/linux/netatalk/at.h: Include <linux/atalk.h>
79 before <sys/socket.h> to make sockaddr_at available to
82 * posix/glob.h: Remove __P from parameter lists of declarations.
84 1998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
86 * time/tzset.c (tz_compute): Remove unused parameter timer.
89 1998-11-02 Mark Kettenis <kettenis@phys.uva.nl>
91 * sysdeps/generic/bits/types.h (__ipc_pid_t): New typedef.
93 1998-11-02 Ulrich Drepper <drepper@cygnus.com>
95 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Remove
96 unnecessary test and add cast.
98 1998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
100 * posix/getconf.c: Add initializer SYSCONF for CHARCLASS_NAME_MAX.
102 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Remove unused
104 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
106 1998-11-02 Mark Kettenis <kettenis@phys.uva.nl>
108 * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
110 (__FDMASK): Use __fd_mask instead of unsigned long int in cast.
112 1998-10-31 Richard Henderson <rth@cygnus.com>
114 * math/Makefile (gmp-objs): Add udiv_qrnnd.
116 * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL*): New.
117 (inline_syscall*): New.
118 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL): New.
119 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Kill __syscall* bits.
121 1998-10-31 Ulrich Drepper <drepper@cygnus.com>
123 * aclocal.m4 (LIBC_PROG_FOO_GNU): Name output file using -o to
124 avoid ld test generating an unwanted file.
126 * posix/PTESTS: Remove comment about incorrect test (it is correct).
128 1998-10-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
130 * sunrpc/Versions: Add xdr_uint32_t and xdr_int32_t.
131 * sunrpc/pmap_rmt.c: Initialize clnt_stat variable.
132 * sunrpc/rpc/auth_des.h: Use uint32_t for time values.
133 * sunrpc/rpc/xdr.h: Add INT32 support.
134 * sunrpc/xdr.c: Implement xdr_int32_t and xdr_uint32_t .
136 * nis/nis_call.c: Changes for new 64bit clean NIS+ interface.
137 * nis/nis_callback.c: Likewise.
138 * nis/nis_creategroup.c: Likewise.
139 * nis/nis_defaults.c: Likewise.
140 * nis/nis_intern.h: Likewise.
141 * nis/nis_lookup.c: Likewise.
142 * nis/nis_ping.c: Likewise.
143 * nis/nis_print.c: Likewise.
144 * nis/nis_table.c: Likewise.
145 * nis/nis_util.c: Likewise.
146 * nis/nis_xdr.c: Likewise.
147 * nis/rpcsvc/nis.h: Likewise.
148 * nis/rpcsvc/nis.x: Likewise.
149 * nis/rpcsvc/nis_callback.h: Likewise.
150 * nis/rpcsvc/nis_object.x: Likewise.
151 * nis/rpcsvc/nislib.h: Likewise.
153 * nis/rpcsvc/yp.h: Remove casts to (u_long).
154 * nis/rpcsvc/yp_prot.h: Likewise.
155 * nis/rpcsvc/ypupd.h: Likewise.
156 * nis/ypclnt.c: Change %ld to %d in sprintf.
158 1998-10-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
160 * manual/locale.texi (Formatting Numbers): Fix strfmon examples.
162 1998-10-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
164 * sysdeps/generic/bits/select.h (__FD_ZERO): Change '\0' to plain
165 0, __fd_mask is usually not a char.
167 1998-10-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
169 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Allow
170 compilation on systems without rt_* syscalls (e.g. on Linux 2.0).
171 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
172 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
173 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
174 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise
175 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
176 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
178 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Allow
179 compiling on systems without rt_sigaction syscall.
180 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction):
183 1998-10-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
185 * time/strptime.c (HERE_D_FMT): Fix typo.
186 Reported by Claus Heine <heine@math1.rwth-aachen.de>, PR libc/842.
188 1998-10-30 Ulrich Drepper <drepper@cygnus.com>
190 * catgets/Makefile (tests): Add rules to run gencat on test1.msg.
191 (generate): Add test1.cat and test1.h.
192 (distribute): Add test1.msg.
193 * catgets/test1.msg: New file.
195 * catgets/gencat.c: Do a better job in initializing dynamic
196 memory [PR libc/844].
198 1998-10-30 18:11 Ulrich Drepper <drepper@cygnus.com>
200 * iconv/gconv_conf.c (__gconv_read_conf): Don't define as
201 internal_function since it is called through a pointer.
202 * iconv/gconv_db.c (free_derivation): Likewise.
203 * iconv/gconv_int.h: Adjust prototype od __gconv_read_conf.
205 * posix/wordexp.c: Add internal_function to parse_backtick definition.
206 * rt/aio_misc.c: Add internal_function to __aio_free_request,
207 __aio_find_req, __aio_find_req_fd, and __aio_enqueue_request
209 * rt/aio_notify.c: Add internal_function to __aio_notify_only and
210 __aio_notify definitions.
211 * wcsmbsload.c: Add internal_function to __wcsmbs_load_conv definition.
213 1998-10-30 Ulrich Drepper <drepper@cygnus.com>
215 * Makerules (build-shlib): Add -O to generate optimized shared
218 1998-10-30 11:15 Ulrich Drepper <drepper@cygnus.com>
220 * sysdeps/libm-i387/e_fmod.S: Remove invalid operand size suffix.
221 * sysdeps/libm-i387/e_fmodf.S: Likewise.
222 * sysdeps/libm-i387/e_fmodl.S: Likewise.
223 * sysdeps/libm-i387/s_ilogb.S: Likewise.
224 * sysdeps/libm-i387/s_ilogbf.S: Likewise.
225 * sysdeps/libm-i387/s_logb.S: Likewise.
226 * sysdeps/libm-i387/s_logbf.S: Likewise.
227 * sysdeps/libm-i387/s_remquo.S: Likewise.
228 * sysdeps/libm-i387/s_remquof.S: Likewise.
229 * sysdeps/libm-i387/s_remquol.S: Likewise.
230 * sysdeps/libm-i387/s_significand.S: Likewise.
231 * sysdeps/libm-i387/s_significandf.S: Likewise.
233 1998-10-30 Geoff Keating <geoffk@ozemail.com.au>
235 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Really correct
238 1998-10-30 Geoff Keating <geoffk@ozemail.com.au>
240 * math/libm-test.c: Loosen deltas for sin(0.9)^2+cos(0.9)^2.
242 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
244 * stdio-common/vfprintf.c (vfprintf): Fix the remaining premature
245 returns without cleaning up the lock.
246 (printf_unknown): Add label all_done.
248 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Keep Linux 2.0
249 kernels in mind when reading /proc/self/fd/FD.
250 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
252 * nscd/nscd.c (doc): It's "Name Service" not "Name Switch".
254 * malloc/mtrace.c (tr_where): Replace snprintf call by mempcpy and
257 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Try reading
258 /prof/self/fd/FD first.
259 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
261 * stdio-common/_itoa.h (_fitoa_word): New inline function. Write
262 formatted number starting at given position and return pointer to
264 (_fitoa): Likewise, for long long.
266 1998-10-29 Roland McGrath <roland@baalperazim.frob.com>
268 * sysdeps/unix/sysv/linux/bits/sem.h,
269 sysdeps/unix/sysv/linux/bits/ipc.h,
270 sysdeps/unix/sysv/linux/bits/shm.h,
271 sysdeps/unix/sysv/linux/bits/msq.h: Moved to ...
272 * sysdeps/gnu/bits/sem.h, sysdeps/gnu/bits/ipc.h,
273 sysdeps/gnu/bits/shm.h, sysdeps/gnu/bits/msq.h: ... here,
274 so the same bits will be used for the Hurd.
276 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
278 * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Allow
279 compiling on systems without rt_sigaction syscall.
281 1998-10-12 Philip Blundell <pb@nexus.co.uk>
283 * Makeconfig (sysdep-subdirs): Allow Subdirs files to remove
284 directories as well as add them.
286 1998-10-28 Philip Blundell <pb@nexus.co.uk>
288 * sysdeps/unix/sysv/linux/neteconet/ec.h: New file. Support for
289 AF_ECONET sockets as found in recent Linux 2.1 kernels.
290 * sysdeps/unix/sysv/linux/Dist: Distribute it.
291 * sysdeps/unix/sysv/linux/Makefile: Install it.
293 1998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
295 * string/bits/string2.h: __USE_GNU already implies __USE_MISC.
297 1998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
299 * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
301 * sysdeps/unix/sysv/linux/alpha/bits/types.h (__FDS_BITS): Likewise.
302 * sysdeps/unix/sysv/linux/bits/types.h (__FDS_BITS): Likewise.
303 * sysdeps/unix/sysv/linux/mips/bits/types.h (__FDS_BITS): Likewise.
304 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__FDS_BITS):
306 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h (__FDS_BITS):
308 * sysdeps/generic/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
310 * sysdeps/i386/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
311 __FD_ISSET): Likewise.
313 1998-10-28 Geoff Keating <geoffk@ozemail.com.au>
315 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Tidy up, correct
318 * sysdeps/unix/sysv/linux/powerpc/pread.c: Do not use the i386 version.
319 Instead call the system call wrapper function using an 64bit argument.
320 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
321 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
322 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
324 1998-10-27 Ulrich Drepper <drepper@cygnus.com>
326 * signal/signal.h: Don't include <time.h> for timespec, add
329 * sysdeps/i386/bits/select.h [!__USE_XOPEN]: Add special version
330 of __FD_* macros which use __fds_bits.
331 * sysdeps/generic/bits/select.h: Likewise.
332 Reported by Matt McLean <keys@yikes.com>.
334 1998-10-27 Philip Blundell <pb@nexus.co.uk>
336 * elf/elf.h: Update ARM definitions.
338 1998-10-27 Ulrich Drepper <drepper@cygnus.com>
340 * signal/signal.h: Include bits/sigthread.h only for Unix98.
342 1998-10-26 Ulrich Drepper <drepper@cygnus.com>
344 * include/libc-symbols.h: If HAVE_BUILTIN_EXPECT is not defined
345 define __builtin_expect as a macro substituting to the first
347 * config.h.in: Define HAVE_BUILTIN_EXPECT.
348 * configure.in: Add test for __builtin_expect.
350 * sysdeps/unix/sysv/linux/bits/types.h: Include
351 bits/pthreadtypes.h only not for POSIX 199506.
352 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
353 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
354 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
356 1998-10-26 Mark Kettenis <kettenis@phys.uva.nl>
358 * sysdeps/unix/sysv/linux/Versions: Move shutdown ...
359 * socket/Versions [libc, GLIBC_2.0]: ... to here.
361 1998-10-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
363 * include/stdio.h: Included <stddef.h> for size_t.
365 * stdio/stdio.h: Move __path_search, __gen_tempname, __libc_fatal
367 * include/stdio.h: ...here.
368 * libio/stdio.h: Removed __path_search, __gen_tempname, __libc_fatal.
370 1998-10-26 11:09 Ulrich Drepper <drepper@cygnus.com>
372 * time/Makefile (tests): Add tst-posixtz.
373 * time/tst-posixtz.c: New file.
375 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
377 * elf/rtld.c (process_envvars): Accept any non-null value of
378 LD_BIND_NOW, as mandated by the ABI.
380 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
382 * sysdeps/unix/sysv/linux/pread.c: Rename __syscall_pread64 to
384 * sysdeps/unix/sysv/linux/pwrite.c: Rename __syscall_pwrite64 to
386 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
387 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
388 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
389 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
390 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise. Remove
392 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
393 s_pread64 and s_pwrite64.
394 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
396 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
398 * sysdeps/unix/sysv/linux/llseek.c: Use INLINE_SYSCALL.
399 * sysdeps/unix/sysv/linux/arm/syscalls.list: Rename __sys_llseek
400 to __syscall__llseek.
401 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
402 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
403 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove entry for
406 1998-10-26 Cristian Gafton <gafton@redhat.com>
408 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add s_setfsgid
411 1998-10-26 Ulrich Drepper <drepper@cygnus.com>
413 * time/tzset.c (tz_compute): Correct last patch and describe this
416 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
418 * sysdeps/unix/sysv/linux/m68k/Makefile [subdir=signal]: Remove
419 rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo,
420 rt_sigaction and rt_sigpending.
421 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove all entries
422 for __syscall_* functions.
423 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Implement INLINE_SYSCALL.
425 1998-10-26 Roland McGrath <roland@baalperazim.frob.com>
427 * hurd/Versions: Add _hurd_dtable, _hurd_dtablesize,
428 _hurd_dtable_lock, _hurd_intern_fd.
430 * sysdeps/mach/hurd/Versions: Add cthread_keycreate,
431 cthread_getspecific, cthread_setspecific, __libc_getspecific.
433 * mach/Versions: Fix typo in last change.
435 1998-10-25 Ulrich Drepper <drepper@cygnus.com>
437 * time/tzset.c (tz_compute): If time to switch to DST is later in
438 the year switch back in the next year.
439 Reported by jwitford@hutch.com.au.
441 1998-10-24 Mark Kettenis <kettenis@phys.uva.nl>
443 * mach/Versions: Add evc_wait, mach_error, mach_error_string,
444 mach_error_type, mach_msg_destroy, mig_deallocate_reply_port.
445 Remove __mach_host_self, __mach_reply_port, __mach_setup_thread,
446 __mach_port_allocate, __mach_port_allocate_name,
447 __mach_port_insert_right __mutex_trylock, __mutex_lock,
448 __mutex_unlock, __swtch, __switch, __task_create, __task_suspend,
449 __task_set_special_port, __task_terminate, __thread_depress_abort,
450 __thread_switch, __vm_allocate, __vm_deallocate, __vm_map. These
451 functions are not used outside libc.
453 * sysdeps/mach/hurd/Versions: New file.
454 [libc, GLIBC_2.0]: Add _cthread_exit_routine and
455 _cthread_init_routine. These are set by the Hurd cthreads library.
456 Add __getcwd, __mmap. If we don't add these, the weak definitions in
457 the dynamic linker will not be replaced by the corresponding shared
458 library routines once they are loaded.
460 1998-10-21 Mark Kettenis <kettenis@phys.uva.nl>
462 * sysdeps/mach/hurd/i386/init-first.c: Only define
463 __libc_enable_secure if PIC is not defined.
465 1998-10-25 Roland McGrath <roland@baalperazim.frob.com>
467 * argp/Versions: Add _argp_unlock_xxx. Lock-savvy functions call this
468 to recurse into argp.
470 1998-10-25 Ulrich Drepper <drepper@cygnus.com>
472 * include/features.h: Define __USE_POSIS199506 is _POSIX_C_SOURCE is
473 greater or equal than 199506L.
475 * sysdeps/generic/bits/types.h (__fd_set): Define element as fds_bits
476 only is __USE_XOPEN. Otherwise use __fds_bits.
477 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
478 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
479 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
480 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
481 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
483 1998-10-24 H.J. Lu <hjl@gnu.org>
485 * locale/programs/charmap.c (parse_charmap): Accept tok_string
488 1998-10-25 H.J. Lu <hjl@gnu.org>
490 * locale/programs/ld-ctype.c (ctype_finish): Also check
493 1998-10-25 Ulrich Drepper <drepper@cygnus.com>
495 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX199506.
497 * sysdeps/unix/sysv/linux/bits/types.h: Include pthreadtypes.h only
498 if __USE_POSIX199506 or __USE_UNIX98.
500 1998-10-24 22:34 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
502 * string/bits/string2.h: Inline strdup+friends only if
503 __USE_MISC || __USE_GNU (prevents namespace pollution).
505 1998-10-24 H.J. Lu <hjl@gnu.org>
507 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (LOCK_SH,
508 LOCK_EX, LOCK_NB, LOCK_UN): Protect with __USE_BSD.
509 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (LOCK_SH, LOCK_EX,
510 LOCK_NB, LOCK_UN): Likewise.
511 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (LOCK_SH, LOCK_EX,
512 LOCK_NB, LOCK_UN): Likewise.
513 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (LOCK_SH, LOCK_EX,
514 LOCK_NB, LOCK_UN): Likewise.
515 * sysdeps/unix/sysv/linux/bits/fcntl.h (LOCK_SH, LOCK_EX,
516 LOCK_NB, LOCK_UN): Likewise.
518 1998-10-24 H.J. Lu <hjl@gnu.org>
520 * libio/ioseekoff.c (_IO_seekoff): Check the valid dir value.
522 * libio/rewind.c (rewind): Clear the error.
524 1998-10-24 H.J. Lu <hjl@gnu.org>
526 * grp/grp.h (getgrent_r, getgrgid_r, getgrnam_r): Add "__" to
529 1998-10-24 H.J. Lu <hjl@gnu.org>
531 * sysdeps/unix/sysv/linux/alpha/bits/time.h (timeval): Protect
533 * sysdeps/unix/sysv/linux/mips/bits/time.h (timeval): Likewise.
534 * sysdeps/unix/sysv/linux/bits/time.h (timeval): Likewise.
536 1998-10-24 H.J. Lu <hjl@gnu.org>
538 * signal/signal.h (timespec, siginfo_t, sigwaitinfo, sigtimedwait,
539 sigqueue): Protect with __USE_POSIX199309.
541 1998-10-24 H.J. Lu <hjl@gnu.org>
543 * time/time.h (timespec): Protect with __USE_POSIX199309 instead of
546 1998-10-24 H.J. Lu <hjl@gnu.org>
548 * libio/fileops.c (_IO_new_file_seekoff): Always resync with
549 the kernel file offset.
550 * libio/oldfileops.c (_IO_old_file_seekoff): Likewise.
552 1998-10-24 H.J. Lu <hjl@gnu.org>
554 * time/tzfile.c (__tzfile_default): Set num_types to 2.
556 1998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
558 * rt/aio.h: Move __aio_init to...
559 * include/aio.h: ...here.
561 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
563 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove duplicate
564 definition of O_LARGEFILE.
566 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
568 * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Use path
569 as first argument to statfs.
571 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
573 * sysdeps/generic/setenv.c (setenv): Add braces around ambiguous else.
575 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
577 * malloc/mtrace.c: Include <string.h> for strlen.
579 1998-10-24 Roland McGrath <roland@baalperazim.frob.com>
581 * sysdeps/mach/hurd/bits/environments.h: New file.
583 * sysdeps/mach/hurd/dl-sysdep.c (__getcwd): New weak function.
585 * mach/Versions, hurd/Versions: Add numerous symbols.
586 Remove libmachuser and libhurduser sections, punt
587 versioning for those libraries for now.
589 * misc/Versions: Add reboot here; it exists on all platforms.
590 * sysdeps/unix/sysv/linux/Versions: Remove reboot here.
592 1998-10-23 Ulrich Drepper <drepper@cygnus.com>
594 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOFOLLOW): New
596 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
597 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
598 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_LARGEFILE,
599 O_NOFOLLOW, O_DIRECT): New macros.
600 (O_DIRECTORY): Correct definition according to official 2.1.126.
601 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECTORY,
602 O_NOFOLLOW): New macros.
604 1998-10-24 Roland McGrath <roland@baalperazim.frob.com>
606 * include/ldsodefs.h: Test HAVE_ELF instead of __ELF__.
608 * sysdeps/mach/hurd/opendir.c (__opendir): Return ENOENT for "".
609 (__opendir): Add trailing slash to name for open, for ENOTDIR check.
611 1998-10-23 Ulrich Drepper <drepper@cygnus.com>
613 * sysdeps/unix/sysv/linux/i386/Dist: Add setresuid.c, setresgid.c,
614 setfsuid.c, and setfsgid.c.
615 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
616 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
617 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
619 * version.h (VERSION): Bump to 2.0.99.
621 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove duplicate
624 * sysdeps/unix/sysv/linux/i386/Dist: Remove s_pread64.c and
627 * posix/fnmath.h: Don't redefine __P when used in glibc.
628 * posix/glob.h: Likewise.
630 * inet/rcmd.c (__ivaliduser2): Fix memory leak.
631 Patch by Dick Streefland <dick_streefland@tasking.com>.
633 * stdio-common/tst-ungetc.c: Add more test cases.
635 * sysdeps/unix/sysv/linux/Dist: Add linux_fsinfo.h.
636 * sysdeps/unix/sysv/linux/fstatvfs.c: Move filesystem magic number
638 * sysdeps/unix/sysv/linux/linux_fsinfo.h: ...here. New file.
639 * sysdeps/unix/sysv/linux/fpathconf.c: New file.
640 * sysdeps/unix/sysv/linux/pathconf.c: New file.
641 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Handle _PC_LINK_MAX here.
642 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
644 1998-10-20 Philip Blundell <pb@nexus.co.uk>
646 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Include
647 <asm/ptrace.h> to define struct pt_regs.
648 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Don't bother
649 including <asm/ptrace.h> here.
651 * sysdeps/unix/sysv/linux/arm/sysdep.S: Remove spurious call to
654 1998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
656 * sysdeps/generic/sys/ptrace.h (__ptrace_request): Remove comma at
657 end of enumerator list.
658 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Likewise.
659 * posix/wordexp.h: Likewise.
661 * db/db.h: Use __PMT instead of __P in typedefs.
662 * db/mpool.h: Likewise.
663 * sysdeps/generic/bits/siginfo.h: Likewise.
664 * nis/rpcsvc/ypclnt.h: Likewise.
666 1998-10-23 Ulrich Drepper <drepper@cygnus.com>
668 * libio/genops.c (_IO_seekmark): When switching to backup buffer
669 make sure all characters from the read buffer are read after
670 switching back to it.
672 1998-10-22 Ulrich Drepper <drepper@cygnus.com>
674 * configure.in: Add support for Cygnus GNUPro compilers.
676 1998-10-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
678 * stdio/stdio.h: Use __PMT instead of __P in typedefs.
680 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use __PMT instead
681 of __P for sa_restorer.
682 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
683 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
684 kernel_sigaction, old_kernel_sigaction): Likewise.
686 1998-10-22 Ulrich Drepper <drepper@cygnus.com>
688 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add __syscall_pread
689 and __syscall_pwrite aliases.
691 * sunrpc/rpc/auth.h (AUTH_DH): New macro. Alias for AUTH_DES.
693 * sysdeps/unix/sysv/linux/i386/sysdep.h: Drastically simplify and
694 improve INLINE_SYSCALL using macro assembler magic.
696 1998-10-22 H.J. Lu <hjl@gnu.org>
698 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Add
700 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
702 * sysdeps/posix/fpathconf.c (__fpathconf): Set errno to
703 EINVAL if errno == ENODEV. Tested by VSX-PCT.
705 * sysdeps/posix/isatty.c (__isatty): Don't reset errno. Tested
708 * posix/execvp.c (execvp): Check "". Tested by VSX-PCT.
710 1998-10-22 Philip Blundell <pb@nexus.co.uk>
712 * sysdeps/unix/arm/sysdep.h: Wrap assembler macros in #ifdef
715 1998-10-21 Ulrich Drepper <drepper@cygnus.com>
717 * sysdeps/unix/sysv/linux/i386/sysdep.h: Remove EXTRAVARS_* macros
720 1998-10-21 14:38 Ulrich Drepper <drepper@cygnus.com>
722 * sysdeps/unix/sysdep.h (INLINE_SYSCALL): New macro. Simply call
723 __syscall_* function.
724 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use INLINE_SYSCALL instead
725 of calling __syscall_* function.
726 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
727 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
728 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
729 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
730 * sysdeps/unix/sysv/linux/getpriority.c: Likewise.
731 * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
732 * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
733 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
734 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
735 * sysdeps/unix/sysv/linux/poll.c: Likewise.
736 * sysdeps/unix/sysv/linux/pread.c: Likewise.
737 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
738 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
739 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
740 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
741 * sysdeps/unix/sysv/linux/readv.c: Likewise.
742 * sysdeps/unix/sysv/linux/reboot.c: Likewise.
743 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
744 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
745 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
746 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
747 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
748 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
749 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
750 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
751 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
752 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
753 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
754 * sysdeps/unix/sysv/linux/writev.c: Likewise.
755 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
756 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
757 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
758 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
759 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
760 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
761 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
762 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
763 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
764 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
765 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
766 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
767 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
769 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define INLINE_SYSCALL using
771 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove various
772 __syscall_* definitions.
774 * sysdeps/unix/sysv/linux/syscalls.list: Move various __syscall_*
776 * sysdeps/unix/sysv/linux/alpha/syscalls.list: ...here...
777 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
778 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
779 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
780 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
781 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
782 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
784 * sysdeps/unix/sysv/linux/Makefile [subdir=signal] (sysdep_routines):
785 Move definition to...
786 * sysdeps/unix/sysv/linux/alpha/Makefile: ...here...
787 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
788 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
789 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
790 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
791 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
792 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
794 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
795 (sysdep_routines): Remove s_pread64 and s_pwrite64.
797 * sysdeps/unix/sysv/linux/i386/pread.c: New file.
798 * sysdeps/unix/sysv/linux/i386/pread64.c: New file.
799 * sysdeps/unix/sysv/linux/i386/pwrite.c: New file.
800 * sysdeps/unix/sysv/linux/i386/pwrite64.c: New file.
801 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Removed.
802 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Removed.
804 1998-10-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
806 * sysdeps/unix/sysv/linux/siglist.h: Fix some typos in these files
807 and bring them in synch.
808 * sysdeps/unix/siglist.c: Likewise.
809 Reported by Vladimir Michl <michlv@risc.upol.cz> [PR libc/832].
811 1998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
813 * sysdeps/unix/sysv/linux/i386/setresuid.c: Allow -1 as arguments.
814 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
816 * sysdeps/unix/sysv/linux/i386/setreuid.c: New file.
817 * sysdeps/unix/sysv/linux/i386/setregid.c: New file.
818 * sysdeps/unix/sysv/linux/m68k/setreuid.c: New file.
819 * sysdeps/unix/sysv/linux/m68k/setregid.c: New file.
820 * sysdeps/unix/sysv/linux/arm/setreuid.c: New file.
821 * sysdeps/unix/sysv/linux/arm/setregid.c: New file.
822 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: New file.
823 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: New file.
824 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_setreuid and
826 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
827 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
828 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
830 1998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
832 * sunrpc/rpc_main.c (close_output, close_input): New functions.
833 (c_output, h_output, s_output, l_output, t_output, svc_output,
834 clnt_output, mkfile_output): Call them at the end.
836 1998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
838 * db/Makefile (LDFLAGS-db1.so): New variable, to avoid duplicating
841 1998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
843 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Add real contents.
844 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add s_setfs[ug]id.
846 1998-10-20 Ulrich Drepper <drepper@cygnus.com>
848 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_pread64 and
850 * sysdeps/unix/sysv/linux/powerpc/pread.c: New file.
851 * sysdeps/unix/sysv/linux/powerpc/pread64.c: New file.
852 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: New file.
853 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: New file.
854 Patch by Geoffrey KEATING <geoffk@discus.anu.edu.au>.
856 1998-10-18 Zack Weinberg <zack@rabi.phys.columbia.edu>
858 * sysdeps/unix/opendir.c: Check at runtime for kernel support for
861 1998-10-20 H.J. Lu <hjl@gnu.org>
863 * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Fix
866 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
868 * math/tgmath.h: Make nested function calls work.
870 * include/ldsodefs.h: Fix typo.
872 * posix/Makefile (tests): Add tst-preadwrite.
873 * posix/tst-preadwrite.c: New file.
875 * sysdeps/unix/opendir.c (__opendir): Add back fstat call to make
876 sure that descriptor is in any case for a directory.
878 1998-10-19 18:59 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
880 * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG): Fix typo: val -> Val.
881 (atan2): Takes two arguments.
883 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
885 * include/ldsodefs.h: New file.
887 * iconv/gconv.c: Include ldsodefs.h, not elf/ldsodefs.h.
888 Remove change to avoid using _CALL_DL_FCT.
889 * iconv/gconv_db.c: Likewise.
890 * iconv/gconv_dl.c: Likewise.
891 * iconv/skeleton.c: Likewise, here for DL_CALL_FCT.
892 * malloc/mtrace.c: Include ldsodefs.h, not elf/ldsodefs.h.
893 * nss/nsswitch.c: Likewise.
894 * nss/nsswitch.h: Likewise.
896 1998-10-19 Philip Blundell <pb@nexus.co.uk>
898 * sunrpc/Makefile (otherlibs): If static NSS is in use, set to the
900 * login/Makefile (otherlibs): Likewise.
901 * nscd/Makefile (otherlibs): Likewise.
902 * Makeconfig (link-libc) [! build_shared]: Add $(otherlibs).
904 * debug/Makefile (install-bin): Only build catchsegv if using ELF.
906 * inet/Makefile: Add -DSTATIC_NSS to CFLAGS.
908 1998-10-19 Philip Blundell <pb@nexus.co.uk>
910 * sysdeps/unix/sysv/linux/arm/syscalls.list: Added setfsgid
913 1998-10-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
915 * nscd/connections.c: Fix typos in comments and strings.
917 * nscd/nscd.conf: Update according to recent changes to nscd.
919 * nscd/cache.c (prune_cache): Remove wrong comment.
921 1998-10-19 13:24 Ulrich Drepper <drepper@cygnus.com>
923 * locale/programs/ld-collate.c (collate_startup): Clear bit for this
924 category in copy_posix.
925 (collate_finish): Don't warn about UNDEFINED not being defined.
926 * locale/programs/ld-ctype.c (ctype_startup): Clear bit for this
927 category in copy_posix.
928 * locale/programs/ld-messages.c (messages_startup): Likewise.
929 * locale/programs/ld-monetary.c (monetary_startup): Likewise.
930 * locale/programs/ld-numeric.c (numeric_startup): Likewise.
931 * locale/programs/ld-time.c (time_startup): Likewise.
932 * locale/programs/localedef.c: Move copy_def_list_t definition into
933 locales.h. Define copy_posix variable.
934 (main): Before processing copy list add ©_posix to copy_list.
935 * locale/programs/locales.h: Add definition of copy_def_list_t.
936 * locale/programs/locfile.c: Clear bit for appropriate category in
937 copy_posix.mask for copy instruction.
939 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
941 * sysdeps/unix/sysv/linux/i386/setresgid.c: Remove #include of
942 non-existing file with generic implementation.
943 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
945 1998-10-19 Philip Blundell <pb@nexus.co.uk>
947 * iconv/gconv_db.c: Include ELF header only if STATIC_GCONV is not
948 defined. Avoid using _CALL_DL_FCT if it is not defined.
949 * iconv/gconv.c: Likewise.
951 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
953 * nscd/connections.c (dbs): Define defualt values for timeouts and
954 set enabled to 0 by default.
955 (CACHE_PRUNE_INTERVAL): New constant. Use it instead of magical 15 in
958 * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISCNTRL bit for
960 (_nl_C_LC_CTYPE_class32): Likewise.
963 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
965 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
966 _HURD_THREADVAR_DL_ERROR.
968 * hurd/Makefile (user-interfaces): Add login, password.
970 * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses.
972 1998-08-06 Mark Kettenis <kettenis@phys.uva.nl>
974 [submitted 1998-08-06]
975 * mach/Machrules: Create target directory and force re-evaluation
976 of Makefile to prevent `make' from optimizing away most of the
977 implicit rules and `vpath' directives.
979 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
981 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): If _hurd_msgport_thread
982 is null, short-circuit to __mach_msg.
984 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): New function,
986 (init1) [PIC]: Call it.
987 (__libc_init_first) [! PIC]: Call it.
989 * sysdeps/mach/hurd/i386/init-first.c (init1): Don't call
990 __libc_init_secure. Instead set __libc_enable_secure here from
992 (__libc_enable_secure): New variable it.
993 * sysdeps/mach/hurd/enbl-secure.c: New file, empty placeholder module.
995 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
997 * nscd/nscd-client.h: New file, broken out of "nscd.h".
998 * nscd/nscd.h: Move defns needed by clients to "nscd-client.h",
1000 * nscd/Makefile (distribute): Add nscd-client.h.
1001 * nscd/nscd_getgr_r.c, nscd/nscd_gethst_r.c, nscd/nscd_getpw_r.c:
1002 Include "nscd-client.h" instead of "nscd.h"
1004 1998-10-18 Ulrich Drepper <drepper@cygnus.com>
1006 * sysdeps/posix/getcwd.c (__getcwd): Don't stop processing
1007 directory entries when a lstat call fails.
1008 Patch by Colin Plumb <colin@nyx.net>.
1010 * resolv/nss_dns/dns-host.c: Add missing errnop parameter to the
1012 * resolv/nss_dns/dns-network.c: Likewise.
1014 * grp/Makefile: Don't search for linuxthreads in add-ons, use
1015 have-thread-library to determine whether threads are available.
1016 * pwd/Makefile: Remove wrong comment.
1018 * inet/Makefile: Define CFLAGS-gethstbyad_r.c, CFLAGS-gethstbynm_r.c,
1019 and CFLAGS-gethstbynm2_r.c to -DUSE_NSCD=1.
1021 * locale/C-messages.c: Define default strings for YESTR and NOSTR.
1023 * nss/Versions: Add __nss_hosts_lookup.
1025 * nss/getXXbyYY.c: Remove unneeded assignment.
1027 * nss/getXXbyYY_r.c: Include nscd/nscd_proto.h only if needed.
1029 Almost complete rewrite of the NSCD to make it smaller, faster,
1030 add more functionnality and make it easier to extend.
1031 * nscd/Makfile (routines): Add nscd_gethst_r.
1032 (nscd-modules): Add hstcache, gethstbyad_r, gethstbynm2_r, and cache.
1033 * nscd/cache.c: New file.
1034 * nscd/gethstbyad_r.c: New file.
1035 * nscd/gethstbynm2_r.c: New file.
1036 * nscd/hstcache.c: New file.
1037 * nscd/nscd_gethst_r.c: New file.
1038 * nscd/connections.c: Rewritten. Don't start new thread for every
1039 new connection. Use a fixed set of threads which handle all
1040 connections and also the cache cleanup.
1041 * nscd/grpcache.c: Rewritten to use generic cache handling functions
1043 * nscd/nscd.c: Recognize new parameter nthreads. Adjust initialization
1044 for rewrite. Remove handle_requests function.
1045 * nscd/nscd.h (NSCD_VERSION): Bump to 2.
1046 Define new data structure for the new unified cache and the host
1048 * nscd/nscd_conf.c: Rewrite parsing partly to allow adding of more
1049 databases easily. Recognize check-files and threads definitions.
1050 * nscd/nscd.conf: Add definition of enable-cache and check-files to
1051 passwd and group definitions. Add new set of definitions for hosts.
1052 * nscd/nscd_getgr_r.c: Rewrite for new protocol.
1053 * nscd/nscd_getpw_r.c: Likewise.
1054 * nscd/nscd_proto.h: Add prototype for host database functions.
1055 * nscd/nscd_stat.c: Rewrite to simplify printing of information
1057 * nscd/dbg_log.c: Remove unnecessary variable initializations.
1058 Global variable debug_flag is renamed to dbg_level.
1059 * nscd/dbg_log.h: Declare set_logfile.
1061 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
1063 * sysdeps/unix/sysv/linux/bits/fcntl.h: Add dummy definition of
1066 1998-10-16 Paul Eggert <eggert@shade.twinsun.com>
1068 * time/mktime.c: Some systems require <unistd.h> to be
1069 included before <time.h> for localtime_r to be declared
1071 * time/strftime.c: Likewise.
1073 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
1075 * db/Makefile: Add rule to generate shared object with the soname
1078 * sysdeps/unix/opendir.c: Use O_DIRECTORY if available. If not
1079 available double check to verify it's a directory.
1081 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add O_DIRECTORY.
1082 * sysdeps/unix/sysv/linux/mips/bits/fcntl: Likewise.
1083 * sysdeps/unix/sysv/linux/bits/fcntl.h: Remove O_* constants which
1084 are not generally available.
1085 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: New file.
1087 * sysdeps/unix/sysv/linux/i386/setgroups.c: Add range check for values.
1088 * sysdeps/unix/sysv/linux/arm/Makefile: New file.
1089 * sysdeps/unix/sysv/linux/arm/setegid.c: New file.
1090 * sysdeps/unix/sysv/linux/arm/seteuid.c: New file.
1091 * sysdeps/unix/sysv/linux/arm/setfsgid.c: New file.
1092 * sysdeps/unix/sysv/linux/arm/setfsuid.c: New file.
1093 * sysdeps/unix/sysv/linux/arm/setgid.c: New file.
1094 * sysdeps/unix/sysv/linux/arm/setgroups.c: New file.
1095 * sysdeps/unix/sysv/linux/arm/setresgid.c: New file.
1096 * sysdeps/unix/sysv/linux/arm/setresuid.c: New file.
1097 * sysdeps/unix/sysv/linux/arm/setuid.c: New file.
1098 * sysdeps/unix/sysv/linux/i386/setegid.c: New file.
1099 * sysdeps/unix/sysv/linux/i386/seteuid.c: New file.
1100 * sysdeps/unix/sysv/linux/i386/setfsgid.c: New file.
1101 * sysdeps/unix/sysv/linux/i386/setfsuid.c: New file.
1102 * sysdeps/unix/sysv/linux/i386/setgid.c: New file.
1103 * sysdeps/unix/sysv/linux/i386/setgroups.c: New file.
1104 * sysdeps/unix/sysv/linux/i386/setresgid.c: New file.
1105 * sysdeps/unix/sysv/linux/i386/setresuid.c: New file.
1106 * sysdeps/unix/sysv/linux/i386/setuid.c: New file.
1107 * sysdeps/unix/sysv/linux/m68k/setegid.c: New file.
1108 * sysdeps/unix/sysv/linux/m68k/seteuid.c: New file.
1109 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: New file.
1110 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: New file.
1111 * sysdeps/unix/sysv/linux/m68k/setgid.c: New file.
1112 * sysdeps/unix/sysv/linux/m68k/setgroups.c: New file.
1113 * sysdeps/unix/sysv/linux/m68k/setresgid.c: New file.
1114 * sysdeps/unix/sysv/linux/m68k/setresuid.c: New file.
1115 * sysdeps/unix/sysv/linux/m68k/setuid.c: New file.
1116 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
1117 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
1118 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: New file.
1119 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: New file.
1120 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: New file.
1121 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
1122 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file.
1123 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file.
1124 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: New file.
1126 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add s_setgid, s_setresuid,
1127 s_setresgid, and s_setuid.
1128 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1129 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
1130 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1131 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
1132 (sysdep_routines): Add setfsgid, setfsuid, setresgid, and setresuid.
1133 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1134 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
1136 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
1138 * time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get
1139 localtime_t declaration on some systems.
1141 1998-10-16 10:07 Ulrich Drepper <drepper@cygnus.com>
1143 * iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to
1145 * iconv/skeleton.c: Include ELF header only of STATIC_GCONV is not
1146 defined. Avoid using DL_CLL_FCT if it is not defined.
1148 1998-10-16 10:40 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1150 * resolv/arpa/nameser.h: Include sys/types.h unconditionally.
1151 Include endian.h unconditionally. Remove portability goop
1152 depending on #ifdef linux, #ifdef BSD, #ifdef machine-type.
1154 1998-10-16 11:39 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1156 * sunrpc/rpc/types.h: Mark file so fixincludes won't modify it.
1158 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
1160 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios
1161 again. Use char[44] to define size of the struct.
1163 * sysdeps/unix/sysv/linux/arm/Dist: Add bits/armsigctx.h.
1165 1998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1167 * string/bits/string2.h (strcmp): Don't cache the result of
1168 __builtin_constant_p in variables, otherwise constant folding
1169 can fail in big functions.
1171 1998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1173 * string/bits/string2.h: Add prototypes for the new inline
1176 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
1178 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to
1179 have all types defined.
1180 Patch by Matti Aarnio <matti.aarnio@sonera.fi>.
1182 1998-10-08 Paul Eggert <eggert@twinsun.com>
1184 * time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r.
1185 Define also if HAVE_LOCALTIME_R && defined localtime_r, with
1186 a body that merely expands localtime_r; this works around a
1187 bug in Digital Unix 4.0A and 4.0D.
1189 1998-10-14 Ulrich Drepper <drepper@cygnus.com>
1191 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl.
1192 * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define
1193 __ioctl to __syscall_ioctl and include Linux version of this file.
1194 * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
1195 * sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file. Redirect
1196 ioctl calls which handle struct termios.
1197 Based on a patch by Dan Jacobowitz <drow@false.org>.
1199 1998-10-14 Ulrich Drepper <drepper@cygnus.com>
1201 * version.h (VERSION): Bump to 2.0.98.
1203 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios
1204 here instead of including kernel_termios.h.
1206 1998-10-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1208 * sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is
1209 unnecessary after the changes of 1998-10-12.
1211 1998-10-13 Ulrich Drepper <drepper@cygnus.com>
1213 * sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output
1214 parameter format string.
1215 (inline_outw): Likewise.
1217 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include
1218 string.h to get memcpy prototype and NULL definition.
1220 1998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1222 * misc/sys/cdefs.h (__THROW): New macro.
1223 * argp/argp.h: Use it to replace the kludgey __P in inline
1224 function definitions.
1225 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1226 * stdlib/stdlib.h: Likewise.
1227 * wcsmbs/wchar.h: Likewise.
1228 * libio/stdio.h: Likewise.
1229 * stdio/stdio.h: Likewise.
1230 * sysdeps/wordsize-64/inttypes.h: Likewise.
1231 * sysdeps/wordsize-32/inttypes.h: Likewise.
1232 * string/argz.h: Likewise.
1233 * io/sys/stat.h: Likewise.
1235 1998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1237 * Rules (stdio_lim): New variable.
1238 ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend
1239 on Rules and config.make, use $(move-if-change) to avoid unnessary
1240 recompilations, and cleanup command.
1241 (common-generated): Add bits/stdio_lim.st.
1243 1998-10-12 Ulrich Drepper <drepper@cygnus.com>
1245 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): New
1246 variable to prevent warnings from use of modern CPU instructions.
1247 Patch by Richard Henderson <rth@cygnus.com>.
1249 * sysdeps/unix/opendir.c: Test whether NAME is directory before
1252 1998-10-12 Philip Blundell <pb@nexus.co.uk>
1254 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Add missing
1255 semicolon so that profiling works.
1257 1998-10-12 Roland McGrath <roland@baalperazim.frob.com>
1259 * sysdeps/generic/glob.c: #undef mempcpy before #define.
1261 * sysdeps/unix/bsd/clock.c: Use prototype defns.
1263 1998-10-11 Ulrich Drepper <drepper@cygnus.com>
1265 * Rules [posix in sysdirs]: Set L_tmpnam to 20.
1266 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
1268 * string/bits/string2.h [!_STRING_ARCH_unaligned]
1269 (__mempcpy_small): Add parameter for 1 byte copy and use it.
1270 Reported by Geoff Keating <geoffk@ozemail.com.au>.
1272 1998-10-09 Mark Kettenis <kettenis@phys.uva.nl>
1274 * sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove,
1275 it is already defined in <bits/environments.h>.
1277 1998-10-09 Ulrich Drepper <drepper@cygnus.com>
1279 * posix/ptestcases.h: Fix typo.
1281 1998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1283 * posix/regex.c (regcomp): Allocate and prepare a fastmap.
1284 (regexec): Allocate regs.start and regs.end as one block.
1286 1998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1288 * sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of
1291 1998-10-08 Philip Blundell <pb@nexus.co.uk>
1293 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of
1294 sigcontext union to ...
1295 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here. New
1297 * sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for
1298 version 2.0 kernels.
1300 1998-10-08 Ulrich Drepper <drepper@cygnus.com>
1302 * malloc/mtrace.c (tr_reallochook): Produce better output for real
1305 * signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined.
1306 * argp/argp-xinl.c: Likewise.
1308 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing
1310 Patch by Christian Gafton.
1312 1998-10-08 Paul Eggert <eggert@twinsun.com>
1314 * time/mktime.c (__mktime_internal): When the requested time falls
1315 in a spring-forward gap of size DT, return a time that is DT away
1316 from the requested time, preferring a time whose tm_isdst differs
1317 from the requested value. Bump the max number of probes from 4 to
1318 6 to account for the extra probes needed to discover a
1319 spring-forward gap in the worst case.
1321 1998-10-07 17:05 Ulrich Drepper <drepper@cygnus.com>
1323 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection
1324 of the weird alpha architectures.
1325 Patch by Cristian Gafton <gafton@redhat.com>.
1327 1998-02-18 23:31 Richard Henderson <rth@cygnus.com>
1329 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
1330 RAWHIDE and TSUNAMI. Patch from Jay.Estabrook@digital.com.
1332 1998-10-07 Ulrich Drepper <drepper@cygnus.com>
1334 * elf/dl-open.c (_dl_global_scope_alloc): Make global.
1335 (dl_open_worker): Use realloc, not malloc to resize array.
1336 * elf/rtld.c (_dl_initial_searchlist): New variable.
1337 (_dl_main): Copy content of _dl_main_searchlist to
1338 _dl_initial_searchlist.
1339 * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and
1340 _dl_global_scope_alloc.
1341 * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist.
1342 * elf/dl-close.c (_dl_close): When removing object with global
1343 scope remove allocated searchlist if no dynamically loaded object
1345 * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope.
1346 (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist.
1348 * malloc/mtrace.c (tr_where): Don't print space in location string,
1349 print it afterwards. Print better symbol name information.
1351 1998-10-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1353 * manual/filesys.texi (Setting Permissions): Fix example for
1356 1998-10-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1358 * elf/sprof.c (load_profdata): Fix typo in error message.
1360 1998-10-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1362 * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
1365 1998-10-04 Roland McGrath <roland@baalperazim.frob.com>
1367 * mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it.
1369 1998-10-06 Ulrich Drepper <drepper@cygnus.com>
1371 * version.h (VERSION): Bump to 2.0.97.
1373 1998-10-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1375 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P
1376 in definitions of inline stat functions so that they match the
1378 * stdlib/stdlib.h: Likewise.
1379 * wcsmbs/wchar.h: Likewise.
1380 * libio/stdio.h: Likewise.
1381 * stdio/stdio.h: Likewise.
1382 * sysdeps/wordsize-64/inttypes.h: Likewise.
1383 * sysdeps/wordsize-32/inttypes.h: Likewise.
1384 * string/argz.h: Likewise.
1385 * argp/argp.h: Likewise.
1387 1998-10-06 Ulrich Drepper <drepper@cygnus.com>
1389 * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
1392 1998-10-05 Philip Blundell <philb@gnu.org>
1394 * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures
1395 and constants. Tidy up formatting a little.
1397 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6):
1398 Move definitions to in.h.
1400 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1402 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER,
1403 SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added.
1404 Remove inclusion of <linux/swap.h>.
1406 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
1408 * io/sys/stat.h: Use __P in definitions of inline stat functions
1409 so that they match the declaration.
1411 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1413 * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added.
1415 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1417 * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current
1420 1998-10-02 Philip Blundell <pb@nexus.co.uk>
1422 * sysdeps/arm/dl-machine.h: Fix typo in last change.
1424 * sysdeps/arm/bits/huge_val.h: New file.
1426 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1428 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added.
1430 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add
1433 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
1435 * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to
1436 store result of realloc instead of using BUF.
1438 1998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1440 * misc/sgtty.h (_SGTTY_H): Correct spelling.
1441 Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817].
1443 1998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1445 * manual/memory.texi (Obstacks): Document
1446 obstack_alloc_failed_handler usage.
1448 * malloc/obstack.h: Enhance comment about
1449 obstack_alloc_failed_handler usage.
1450 * malloc/obstack.c: Likewise.
1452 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
1454 * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or
1455 gcc before 2.8 is used.
1457 1998-10-01 Philip Blundell <pb@nexus.co.uk>
1459 * sysdeps/arm/machine-gmon.h: Correct args to mcount(). Patch
1460 from Scott Bambrough.
1462 * sysdeps/unix/sysv/linux/arm/register-dump.h: New file.
1464 * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
1465 include the lock member.
1467 1998-09-03 Philip Blundell <pb@nexus.co.uk>
1469 * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.
1471 1998-10-01 Ulrich Drepper <drepper@cygnus.com>
1473 * timezone/zic.c: Update from tzcode1998h.
1474 * timezone/europe: Update from tzdata1998i.
1475 * timezone/southamerica: Likewise.
1477 * sys/types.h: Protect use of long long by __extension__.
1478 * stdlib/stdlib.h: Likewise.
1479 * string/string.h: Likewise.
1480 * sysdeps/i386/bits/byteswap.h: Likewise.
1481 * sysdeps/geeric/bits/byteswap.h: Likewise.
1482 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
1483 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1484 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1485 * sysdeps/wordsize-32/inttypes.h: Likewise.
1486 * sysdeps/wordsize-32/stdint.h: Likewise.
1487 * wcsmbs/wchar.h: Likewise.
1489 1998-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1491 * string/bits/string2.h (__string2_1bptr_p): Don't use a statement
1493 (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
1494 __strsep): Greatly reduce size of expansion by combining common
1496 (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
1498 (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
1499 by the above definitions.
1501 1998-09-27 Geoff Keating <geoffk@ozemail.com.au>
1503 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
1504 correct struct ipc_perm definition.
1506 1998-09-29 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1508 * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.
1510 1998-09-29 Cristian Gafton <gafton@redhat.com>
1512 * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
1513 * sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
1514 * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
1515 * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
1516 Add net/if_shaper.h.
1518 1998-09-29 Ulrich Drepper <drepper@cygnus.com>
1520 * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.
1522 * nis/ypclnt.c: Remove not needed close calls.
1524 1998-09-28 23:55 Ulrich Drepper <drepper@cygnus.com>
1526 * nis/ypclnt.c (__yp_bind): Pretty print. Optimize readv result
1527 check a bit. Also close socket of domain client. Close socket
1528 in IPPORT_RESERVED error case.
1530 1998-09-28 Ulrich Drepper <drepper@cygnus.com>
1532 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
1533 CMSG_ALIGN (fixes a bug) and correct test for availability of
1535 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
1537 (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
1538 availability of another entry.
1541 * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
1544 * libio/libio.h [!__STDC__]: Define const only if not defined.
1546 1998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1548 * posix/annexc.c (xsystem): New function. Use it instead of
1551 1998-09-28 Ulrich Drepper <drepper@cygnus.com>
1553 * stdlib/longlong.h: Remove #endif for #if removed in last change.
1555 1998-09-25 Ulrich Drepper <drepper@cygnus.com>
1557 * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
1558 Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
1559 allow using `ut' parameter.
1560 [!emacs]: Define ut_argument, ut_argument_spec, and
1561 ut_argument_spec_iso as empty. Define ut to 0. Add ut_argument and
1562 argument_spec to prototypes and definitions.
1563 (my_strftime): Don't call tzset of ut != 0.
1564 Compute diff as 0 is ut != 0;
1565 [emacs]: Define new emacs_strftime function.
1566 Based on a patch by Paul Eggert.
1568 1998-09-24 Paul Eggert <eggert@twinsun.com>
1570 * time/strftime.c (my_strftime): When asking for the length of the
1571 subformatted buffer, do not limit the length to look for;
1572 otherwise, we have no reliable way to distinguish between the
1573 empty buffer and an error.
1575 1998-09-25 Ulrich Drepper <drepper@cygnus.com>
1577 * math/Makefile (gmp-objs): Add mp_clz_tab.
1579 1998-09-25 David S. Miller <davem@pierdol.cobaltmicro.com>
1581 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
1583 * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
1584 cpus lacking hardware multiply and divide.
1586 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1588 * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
1591 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1593 * db/btree/bt_delete.c: Fix -Wparentheses warning.
1595 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1597 * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
1600 1998-09-24 Ulrich Drepper <drepper@cygnus.com>
1602 * debug/catchsegv.sh: Also produce output if clone process died.
1604 1998-09-24 Paul Eggert <eggert@twinsun.com>
1606 * time/strftime.c (f_wkday): Remove duplicate definition.
1607 (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
1608 !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
1609 1998-09-11 fix to this case.
1610 (wkday_len, month_len): Remove these macros; they're no longer needed.
1612 1998-09-24 Paul Eggert <eggert@twinsun.com>
1614 * time/strftime.c (my_strftime): Don't store past the end of a
1617 1998-09-24 Paul Eggert <eggert@twinsun.com>
1619 * time/strftime.c (underlying_strftime):
1620 Set the buffer to a nonzero value before calling
1621 strftime, and check to see whether strftime has set the buffer to zero.
1622 This lets us distinguish between an empty buffer and an error.
1624 1998-09-24 Paul Eggert <eggert@shade.twinsun.com>
1626 * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
1627 This fix is propagated from tzcode1998g.tar.gz.
1629 1998-09-24 Mark Kettenis <kettenis@phys.uva.nl>
1631 * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
1632 _sys_siglist. [!HAVE_GNU_LD]: Do not define _sys_siglist as
1633 sys_siglist. This is handled correctly by the weak_alias macro.
1635 1998-09-24 Ulrich Drepper <drepper@cygnus.com>
1637 * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
1638 of mempcpy. Reported by Andreas Jaeger.
1640 * misc/regexp.h (compile): Use alloca instead of __alloca. It won't
1641 pollute the namespace since the compiler will resolve it inline.
1642 Reported by Florian La Roche <florian@suse.de>.
1644 1998-09-24 10:29 Ulrich Drepper <drepper@cygnus.com>
1646 * timezone/private.h: Update from tzcode1998g.
1648 * timezone/africa: Update from tzdata1998h.
1649 * timezone/asia: Likewise.
1650 * timezone/australasia: Likewise.
1651 * timezone/europe: Likewise.
1652 * timezone/northamerica: Likewise.
1653 * timezone/southamerica: Likewise.
1654 * timezone/zone.tab: Likewise.
1656 1998-09-23 17:28 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1658 * misc/sys/mman.h: New file.
1660 * sysdeps/generic/bits/mman.h: New file.
1661 * sysdeps/unix/bsd/osf/bits/mman.h: New file.
1662 * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
1663 * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
1664 * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
1666 * sysdeps/generic/sys/mman.h: Removed.
1667 * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
1668 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
1669 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
1670 * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
1671 * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
1673 * include/sys/mman.h: Look directly for misc/sys/mman.h.
1674 * misc/Makefile (headers): Add bits/mman.h.
1675 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
1678 * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
1679 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
1680 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
1681 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
1682 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
1683 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
1684 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
1685 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
1687 1998-09-23 16:27 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1689 * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
1690 * sysdeps/mach/alpha/thread_state.h: Likewise.
1691 * sysdeps/mach/i386/sysdep.h: Likewise.
1692 * sysdeps/mach/i386/thread_state.h: Likewise.
1693 * sysdeps/mach/mips/sysdep.h: Likewise.
1694 * sysdeps/mach/mips/thread_state.h: Likewise.
1695 * sysdeps/posix/profil.c: Likewise.
1696 * sysdeps/i386/i586/memcopy.h: Likewise.
1697 * sysdeps/mach/pagecopy.h: Likewise.
1699 1998-09-23 15:25 Ulrich Drepper <drepper@cygnus.com>
1701 * libio/stdio.h: Define __need_getopt and include getopt.h to define
1703 * posix/unistd.h: Likewise.
1704 * stdio/stdio.h: Likewise.
1705 * posix/getopt.h: Remove _GNU_SOURCE use. If __need_getopt is defined
1706 define only getopt and the variables.
1708 1998-09-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1710 * scripts/test-installation.pl (installation_problem): Don't link
1711 the test program against libdb1.
1713 1998-09-23 13:52 Ulrich Drepper <drepper@cygnus.com>
1715 * Makeconfig (all-subdirs): Add db.
1716 * Versions.def: Add definition for libdb1.
1717 * shlib-versions: Add definitions for libdb1.
1718 * db/Makefile (extra-libs): Replace by libdb1.
1719 (libdb-routines): Rename to libdb1-routines.
1720 (headers): Rename to db1-headers.
1721 (distribute): Add $(db1-headers).
1722 (install-others): Define to install symlink libdb.so.NN and the
1724 (CPPFLAGS): Add -DUSE_LIBDB1
1725 Remove rules to build makedb.
1726 * db/Versions: Rename libdb to libdb1.
1727 * include/db.h: If USE_LIBDB1 is defined include db/db.h.
1728 * db/makedb.c: Removed.
1730 * scripts/versions.awk: Recognize digits in library names.
1732 * db/btree/bt_open.c: Fix compiler warnings.
1733 * db/btree/bt_put.c: Likewise.
1734 * db/btree/bt_split.c: Likewise.
1735 * db/hash/hash.c: Likewise.
1736 * db/hash/hash_bigkey.c: Likewise.
1737 * db/recno/rec_close.c: Likewise.
1739 * Makefile: Add localedata/% goal.
1741 1998-09-22 19:58 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1743 * posix/execvp.c: Don't give up searching the PATH if execve
1746 1998-09-22 12:53 Ulrich Drepper <drepper@cygnus.com>
1748 * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
1749 if _dl_fpu_control_set is set.
1750 * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
1751 * elf/rtld.c: Don't define _dl_fpu_control_set.
1752 * elf/Versions: Remove _dl_fpu_control_set.
1754 1998-09-22 11:51 Ulrich Drepper <drepper@cygnus.com>
1756 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
1757 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
1758 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
1759 Correct values of other SA_* macros according to kernel headers.
1761 1998-09-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1763 * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
1765 * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
1768 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1770 * elf/ldsodefs.h: Fix typo in comment.
1772 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1774 * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
1775 char when comparing buffer contents with putback character.
1777 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1779 * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
1781 * elf/Versions: Undo last change. Export _dl_fpu_control and
1782 _dl_fpu_control_set.
1783 * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
1784 variables. Include <fpu_control.h>.
1785 * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
1786 _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
1787 to indicate that is was seen.
1788 * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
1789 only if _dl_fpu_control was set and is equal to desired value.
1790 * math/Makefile (aux): Undo last change.
1791 * math/Versions: Export __fpu_control with version GLIBC_2.0.
1793 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1795 * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
1798 1998-09-21 10:00 Ulrich Drepper <drepper@cygnus.com>
1800 * string/bits/string2.h: Add mempcpy optimization.
1801 * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
1802 * intl/localealias.c: Define mempcpy only if not already defined.
1804 * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
1807 1998-09-20 10:48 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1809 * csu/abi-note.S: Emit the note directly instead of defining
1810 a preprocessor macro that's only used once. Don't include sysdep.h.
1811 * abi-tags: Generalize Solaris entry.
1813 1998-09-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1815 * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
1816 Change to array to avoid runtime relocation.
1817 * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
1819 1998-09-21 12:22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1821 * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
1822 * math/Makefile ($(objpfx)libieee.a): Likewise.
1824 1998-09-21 Ulrich Drepper <drepper@cygnus.com>
1826 * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
1827 Patch by John Tobey <jtobey@banta-im.com>.
1829 1998-09-20 Ulrich Drepper <drepper@cygnus.com>
1831 * login/Makefile (distribute): Remove pty-internal.h, add
1834 * stdlib/tst-strtol.c: Add more checks.
1835 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
1837 1998-09-20 09:37 Ulrich Drepper <drepper@cygnus.com>
1839 * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
1840 * elf/elf.h: Add AT_FPUCW.
1841 * elf/Makefile (dl-routines): Add fpu_control.
1842 (elide-routines.os): Add fpu_control.
1843 (rtld-routines): Add fpu_control.
1844 * math/Makefile (aux): Remove fpu_control.
1845 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
1846 (_dl_show_auxv): Likewise.
1847 * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
1848 if different from OS default.
1850 * stdio-common/tstscanf.c: Add test case for (nil).
1852 1998-09-18 17:41 Ulrich Drepper <drepper@cygnus.com>
1854 * libio/fileops.c (_IO_new_file_underflow): Before allocating
1855 buffer make sure the pushback buffer is destroyed.
1856 (_IO_new_file_seekoff): Likewise.
1857 If mode==0 quit early with the result.
1858 Clear OEF flag after successful fseek.
1859 * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
1860 * libio/ftello.c (ftello): Add offset from original buffer if
1861 stream has pushed back characters.
1862 * libio/ftello64.c (ftello64): Likewise.
1863 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
1864 * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
1865 * libio/ioftell.c (_IO_ftell): Likewise.
1866 * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
1868 (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
1869 (_IO_default_pbackfail): Only stored push back character in original
1870 buffer if it is the same as the one in the file at this position.
1871 * libio/iofclose.c: Free backup buffer if one is available.
1872 * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
1875 * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
1877 * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
1879 * stdio-common/vfscanf.c: Fix reading (nil) for %p.
1881 1998-09-18 Mark Kettenis <kettenis@phys.uva.nl>
1883 * login/programs/pt_chown.c (more_help): Correct message that
1884 describes the purpose of the program.
1886 * login/openpty.c: Do not include pty-private.h.
1887 (pts_name): New function. Return name of slave pseudo terminal in
1888 an allocated buffer if necessary.
1889 (openpty): Use pts_name to get name of the slave end of the pseudo
1892 * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
1893 pts_name before return.
1895 1998-09-18 11:15 Ulrich Drepper <drepper@cygnus.com>
1897 * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
1899 1998-09-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1901 * login/openpty.c: Include pty-private.h instead of
1904 1998-09-09 Philip Blundell <pb@nexus.co.uk>
1906 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
1908 1998-09-07 Philip Blundell <pb@nexus.co.uk>
1910 * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
1911 recent ld.so changes.
1912 (elf_machine_runtime_setup): Correct behaviour when profiling.
1914 1998-09-17 19:34 Ulrich Drepper <drepper@cygnus.com>
1916 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
1917 Patch by John Tobey <jtobey@banta-im.com>.
1919 1998-09-17 Mark Kettenis <kettenis@phys.uva.nl>
1921 * login/pty-internal.h: Removed. Moved constants related to the
1922 `grantpt' helper program protocol to ...
1923 * login/pty-private.h: ... here. New file.
1924 * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
1925 to make the function work with kernels >= 2.1.115.
1926 * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
1927 version if using the cloning device fails.
1928 * sysdeps/unix/sysv/linux/grantpt.c: New file.
1929 * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
1930 * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
1931 use by Linux specific code.
1932 * sysdeps/unix/bsd/unlockpt.c: General cleanup.
1933 * sysdeps/unix/grantpt.c: Largely rewritten. (pts_name): New
1934 function. (grantpt): Use pts_name, check group and permission
1935 mode in addition to owner. Try to set the owner, group and
1936 permission mode first without invoking the helper program.
1937 * login/programs/pt_chown.c: Largely rewritten. Add argp and
1938 internationalization support. Use symbolic constants instead of
1939 hardwired numbers for permission mode.
1940 * sysdeps/unix/bsd/ptsname.c: New file.
1942 1998-09-17 22:04 Tim Waugh <tim@cyberelk.demon.co.uk>
1944 * posix/wordexp-test.c: Undo last change.
1946 * posix/wordexp.c: Undo last change.
1948 1998-09-16 Ulrich Drepper <drepper@cygnus.com>
1950 * nscd/grpcache.c (save_grp): Partly undo last change.
1952 * nscd/pwdcache.c (save_pwd): Undo last change.
1954 1998-09-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1956 * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
1957 function. Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
1959 1998-09-15 David S. Miller <davem@pierdol.cobaltmicro.com>
1961 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
1962 Add profiling support.
1963 (TRAMPOLINE_TEMPLATE): New macro.
1964 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
1965 (RTLD_START): Prettify, and set __libc_stack_end properly.
1966 (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
1967 and check for sym being NULL instead.
1968 * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
1970 * sysdeps/sparc/sparc64/lshift.S: Likewise.
1971 * sysdeps/sparc/sparc64/mul_1.S: Likewise.
1972 * sysdeps/sparc/sparc64/rshift.S: Likewise.
1973 * sysdeps/sparc/sparc64/submul_1.S: Likewise.
1974 * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
1975 MEDANY code model %g4 usage.
1976 * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
1977 MEDANY code model %g4 usage.
1978 * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
1979 code model address formation.
1980 * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
1981 include elf/ldsodefs.h
1983 (elf_machine_matches_host): It is now EM_SPARCV9.
1984 (elf_machine_dynamic): Clean up to remove ugly cast.
1985 (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
1987 (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
1988 Prettify rest of function.
1989 [R_SPARC_COPY]: Check for sym being NULL.
1990 [R_SPARC_32]: Handle it.
1991 [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
1993 [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
1995 [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
1996 (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
1997 Add profiling support.
1998 (TRAMPOLINE_TEMPLATE): New macro.
1999 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
2000 (RTLD_START): Prettify and set __libc_stack_end.
2001 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
2003 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
2004 (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
2005 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
2006 unused variable scratch.
2007 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2008 (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
2010 (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
2011 stub to rt_sigaction syscalls. Rewrite non-rt case to use correct
2012 old format kernel sigaction structures.
2013 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
2014 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
2015 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
2016 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
2018 (_JMPBUF_UNWINDS): Define.
2019 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
2020 statfs64 structure, which is exactly the same as the normal one.
2021 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
2022 of stack. Use correct syscall trap number. Add branch prediction
2023 settings to branch instructions. Remove old MEDANY code model %g4
2024 referneces for non-PIC.
2025 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
2026 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
2027 * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
2028 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
2029 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2030 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
2031 __libc_longjmp and __libc_siglongjmp strong aliases.
2032 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
2033 Also define to __no__readdir64_decl around readdir.c inclusion.
2034 (__readdir64): Add strong alias.
2035 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
2036 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
2037 Set strong and weak names properly.
2039 1998-09-16 11:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2041 * manual/Makefile (AWK): Default to gawk if standalone.
2043 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2045 * Makefile (distribute): Undo last change.
2046 * Make-dist (+tsrc) [not subdir]: Also include indirection headers
2048 (+subdir-headers): Removed, unused.
2050 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2052 * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
2055 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2057 * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
2058 absolute name in $(config-sysdirs), can never happen.
2059 ($(+sysdir_pfx)sysd-rules): Likewise.
2060 * Makeconfig (full-config-sysdirs): Likewise.
2061 (all-Subdirs-files): Prepend $(..).
2063 * configure.in: Don't check for absolute name in $add_ons_pfx, can
2064 not happen. Let --enable-add-ons=yes work if no add-ons actually
2067 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2069 * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
2070 continuations in command.
2072 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2074 * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
2076 1998-09-16 00:47 Tim Waugh <tim@cyberelk.demon.co.uk>
2078 * posix/wordexp-test.c: If expansion or substitution occurs
2079 anywhere in a word, the entire word is subject to field-splitting.
2081 * posix/wordexp.c (parse_glob): Look for end of word instead of
2082 end of field when deciding what to glob.
2083 (field_split_word): New function, now the only place where
2084 field-splitting is performed.
2085 (parse_dollars): New parameter - tell the caller if
2086 field-splitting should be performed on this word.
2088 * posix/wordexp-test.c (testit): Only call wordfree if wordexp
2089 succeeded (or failed with WRDE_NOSPACE).
2091 1998-09-15 19:53 1998 Tim Waugh <tim@cyberelk.demon.co.uk>
2093 * posix/wordexp.c (wordexp): Don't convert IFS characters to
2096 * posix/wordexp-test.c: Words not the result of expansion or
2097 substitution should remain unchanged.
2099 1998-09-15 Ulrich Drepper <drepper@cygnus.com>
2101 * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
2102 (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
2104 1998-09-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2106 * stdio-common/Makefile: Include Makeconfig so that
2107 $(inst_includedir) is defined.
2109 1998-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2111 * io/pwd.c: Include <mcheck.h>.
2113 1998-09-15 08:00 Ulrich Drepper <drepper@cygnus.com>
2115 * nscd/pwdcache.c (save_pwd): Correct copying.
2116 * nscd/grpcache.c (save_grp): Likewise.
2118 1998-09-14 23:36 Ulrich Drepper <drepper@cygnus.com>
2120 * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
2121 (free_pwd): Adjust for this change.
2122 * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
2123 (free_grp): Adjust for this change.
2125 1998-09-14 Ulrich Drepper <drepper@cygnus.com>
2127 * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
2129 1998-09-14 15:29 Ulrich Drepper <drepper@cygnus.com>
2131 * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
2132 (install-others): Add bits/stdio_lim.h.
2133 Add rule to install bits/stdio_lim.h.
2135 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
2137 * Makefile (distribute): Add include/sys/mman.h.
2139 * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
2140 * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
2141 * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
2143 * grp/initgroups.c: Include stdlib.h.
2144 Patch by Zack Weinberg.
2146 1998-09-14 22:46 Tim Waugh <tim@cyberelk.demon.co.uk>
2148 * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
2149 for field-splitting :abc: is correct, and that two fields should
2150 result. Revert tests to reflect this.
2152 * posix/wordexp.c (w_emptyword): Remove function.
2153 (exec_comm): Don't use w_emptyword.
2154 (parse_param): Likewise.
2156 1998-09-14 15:00 Ulrich Drepper <drepper@cygnus.com>
2158 * sysdeps/arm/fpu/Dist: Moved to...
2159 * sysdeps/arm/Dist: ...here.
2160 * sysdeps/posix/Dist: Removed.
2161 * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
2162 * sysdeps/unix/sysv/linux/i386/Dist: ...here.
2164 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
2166 * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
2168 1998-09-14 11:26 Ulrich Drepper <drepper@cygnus.com>
2170 * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
2172 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2174 * libc-work/nis/nss_nisplus/nisplus-service.c
2175 (_nss_nisplus_parse_servent): Convert port in network byte order.
2177 1998-09-14 07:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2179 * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
2180 to provide only malloc and calloc.
2181 * include/stdlib.h: Support the above.
2182 * string/bits/string2.h: Use __need_malloc_and_calloc when
2184 (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
2186 * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
2187 * iconvdata/iso646.c: Include <stdlib.h>.
2189 1998-09-14 07:51 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2191 * sunrpc/rpc_cout.c: Add braces around ambiguous else.
2192 * sysdeps/libm-ieee754/w_pow.c: Likewise.
2193 * sysdeps/libm-ieee754/w_powf.c: Likewise.
2194 * sysdeps/libm-ieee754/w_powl.c: Likewise.
2196 1998-09-14 07:57 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2198 * stdio-common/stdio_lim.h.in: New file. All parameters
2199 are adjustable at build time.
2200 * Rules: Add a rule to build bits/stdio_lim.h from
2201 stdio-common/stdio_lim.h.in. (It has to be in Rules so that
2202 all subdirectories know how to make the file. It can't be
2203 in Makerules because then it gets built at top level and the
2204 dependencies are wrong.)
2206 * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
2207 * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
2209 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
2210 * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
2211 * sysdeps/posix/Makefile: Removed.
2212 * sysdeps/posix/mk-stdiolim.c: Removed.
2213 * sysdeps/generic/bits/stdio_lim.h: Removed.
2215 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2217 * argp/argp-help.c: Fixup indentation.
2218 * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
2219 * resolv/nss_dns/dns-network.c: Likewise.
2220 * resolv/res_send.c: Likewise.
2221 * rt/aio_cancel.c: Likewise.
2222 * rt/aio_misc.c: Likewise.
2224 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2226 * Makefile (install-symbolic-link): Remove the link list file at last.
2227 * Makerules (install-clean-symbolic-link-list): Removed.
2229 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2231 * timezone/tst-timezone.c: Print time in UTC to get consistent
2234 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2236 * elf/rtld.c (_dl_rpath): Removed.
2237 * elf/dl-support.c (_dl_path): Removed.
2238 * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
2239 (CFLAGS-dl-support.c): Removed.
2241 * elf/dl-load.c (env_path_list): Renamed from fake_path_list. All
2243 (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
2244 instead of appending it to the main map's rpath info.
2245 (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
2246 DT_RPATHs. This makes it effective again.
2247 (decompose_rpath): Remove second parameter, callers changed.
2248 (fillin_rpath): Allocate enough space in curwd.
2249 (expand_dynamic_string_token): Cope with get_origin returning -1.
2251 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2253 * libc-work/nis/nss_compat/compat-pwd.c: Add support for
2256 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
2259 1998-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
2261 * locale/programs/locale.c: Update dates.
2263 1998-09-13 Mark Kettenis <kettenis@phys.uva.nl>
2265 * sysdeps/generic/bits/types.h: Include <features.h>. Make sure
2266 size_t is defined. Some reordering of definitions to make
2267 maintaining this file in parallel with the linux-specific file easier.
2269 1998-09-13 Ulrich Drepper <drepper@cygnus.com>
2271 * io/pwd.c (main): Add call to mtrace.
2273 * malloc/mtrace.pl: Quote @ in string.
2275 1998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk>
2277 * posix/wordexp.c (parse_arith): Fix memory leaks.
2278 (exec_comm): Likewise.
2279 (parse_param): Likewise.
2280 (wordexp): Likewise.
2281 (exec_comm): Reduce number of function return points.
2282 (parse_param): Likewise.
2283 (wordexp): Likewise.
2285 1998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk>
2287 * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
2288 yield three fields, not two. Test both parameter expansion and
2289 command substitution for correct field-splitting behaviour.
2291 * posix/wordexp.c (w_emptyword): New function.
2292 (parse_param): Use it.
2293 (exec_comm): Likewise, for consistency with the way parse_param
2295 (parse_param): Fix some memory leaks.
2297 1998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au>
2299 * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
2300 Don't mark asm `volatile'.
2301 (__elf_machine_runtime_setup): Clear the last partial block in the PLT
2302 from the data cache too. Assume it isn't in the instruction cache yet.
2303 (__elf_machine_fixup_plt): Clear the modified address from the caches.
2305 1998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
2307 * sysdeps/generic/segfault.c (install_handler): Install signal
2308 handler with SA_ONSTACK instead of setting the stack flags to
2309 SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
2312 1998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2314 * signal/signal.h: Fix multiple inclusion guard to cover the
2316 * wcsmbs/wchar.h: Remove prototype of internal function
2318 * sysdeps/i386/i486/bits/string.h (memchr): Don't do
2319 arithmetic on `void *'.
2321 1998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
2323 * posix/wordexp-test.c: Fix wrong tests. Add new tests.
2325 * posix/wordexp.c (wordexp): Perform word-splitting instead of
2326 field-splitting here.
2327 (wordexp): If out of memory mid-word, free the word (but still
2328 leave pwordexp alone for caller to see).
2329 (parse_param): Allow for zero-length fields (smarter checking of
2330 memory allocation failure).
2331 (w_addword): Convert NULL words to "".
2332 (wordexp): Convert left-over IFS characters to blanks (like bash).
2334 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
2336 * configure.in: Use test -f instead of test -e.
2337 Patch by John Tobey <jtobey@banta-im.com>.
2339 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
2340 * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
2341 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
2342 * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
2343 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
2344 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
2345 * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
2346 Patches by John Tobey <jtobey@banta-im.com>.
2348 * time/strftime.c (my_strftime): Delay use of *tp values until
2349 latest possible point to allow partly initialized structures
2350 (e.g., from strptime).
2352 * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
2354 Define *-routines variables for new modules.
2355 (distribute): Add .c files for new modules.
2356 (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
2358 Add rules for header generation.
2359 * iconvdata/gconv-modules: Add entries for new modules.
2360 * iconvdata/iso_10367-box.c: New file.
2361 * iconvdata/mac-is.c: New file.
2362 * iconvdata/nats-dano.c: New file.
2363 * iconvdata/nats-sefi.c: New file.
2365 1998-04-30 18:20 H.J. Lu <hjl@gnu.org>
2367 * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
2368 loader if PIC is not defined.
2370 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
2372 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
2373 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
2374 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
2376 Define *-routines variables for new modules.
2377 (distribute): Add .c files for new modules.
2378 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
2379 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
2380 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
2381 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
2382 Add rules for header generation.
2383 * iconvdata/gconv-modules: Add entries for new modules.
2384 * iconvdata/csn_369103.c: New file.
2385 * iconvdata/cwi.c: New file.
2386 * iconvdata/dec-mcs.c: New file.
2387 * iconvdata/ecma-cyrillic.c: New file.
2388 * iconvdata/gost_19768-74.c: New file.
2389 * iconvdata/greek-ccitt.c: New file.
2390 * iconvdata/greek7-old.c: New file.
2391 * iconvdata/greek7.c: New file.
2392 * iconvdata/inis-8.c: New file.
2393 * iconvdata/inis-cyrillic.c: New file.
2394 * iconvdata/inis.c: New file.
2395 * iconvdata/iso6937-2.c: New file.
2396 * iconvdata/iso_2033.c: New file.
2397 * iconvdata/iso_5427-ext.c: New file.
2398 * iconvdata/iso_5427.c: New file.
2399 * iconvdata/iso_5428.c: New file.
2401 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
2403 Convert U02dd correctly.
2405 1998-09-11 20:46 Richard Henderson <rth@cygnus.com>
2407 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
2408 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
2409 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
2410 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
2412 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
2414 * resolv/res_init.c (res_init): Handle resolv.conf file with only
2415 one nameserver correctly. Patch by HJ Lu.
2417 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
2419 Define *-routines variables for new modules.
2420 (distribute): Add .c files for new modules.
2421 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
2422 Add rules for hedaer generation.
2423 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
2424 * iconvdata/ansi_x3.110.c: New file.
2425 * iconvdata/asmo_449.c: New file.
2426 * iconvdata/baltic.c: New file.
2427 * iconvdata/iec_p27-1.c: New file.
2429 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
2431 Convert U02dc correctly.
2433 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
2434 * math/atest-exp2.c: Likewise.
2435 * math/atest-sincos.c: Likewise.
2437 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
2440 1998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2442 * string/strcoll.c: Optimize a few expressions.
2443 * string/strxfrm.c: Likewise.
2445 1998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2447 * manual/locale.texi: Fix typos.
2449 1998-09-10 Ulrich Drepper <drepper@cygnus.com>
2451 * stdlib/random_r.c (__setstate_r): Allow call with same state
2452 array as currently used (PR libc/774).
2454 * include/limits.h: Include gcc's header even if this file is
2455 found more than once before it (PR libc/778)
2457 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
2458 (sysdep_headers): Remove sys/debugreg.h.
2459 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
2460 (sysdep_headers): Add sys/debugreg.h.
2461 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
2462 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
2464 * stdio-common/tmpnam.c: Move local static variable buf to
2465 toplevel and rename to tmpnam_buffer to ease debugging.
2466 Patch by Joe Keane <jgk@jgk.org>.
2467 Optimize s == NULL case a bit.
2469 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
2472 1998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
2474 * resolv/res_init.c (res_init): Initialize _res.nscount and
2475 _res.nsaddr.sin_port differently for the can when no loopback
2476 is available to allow immediate timeout in non-networking environments.
2477 Patch by Cristian Gafton <gafton@redhat.com>.
2479 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2481 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
2482 BAR and not EM DASH.
2483 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
2484 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
2487 1998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
2489 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
2491 * timezone/tst-timezone.c (tests): Fix typo in last patch.
2493 * time/tzfile.c (__tzfile_read): Handle case when there are no
2494 transitions. Set __timezone based on computed offset.
2495 * time/tzset.c (tzset_internal): Set __timezone before returning.
2497 * time/tzset.c (tzset_internal): Optimize handling of local string
2500 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2502 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
2505 1998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
2507 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
2508 (csqrt_test): Likewise.
2509 * sysdeps/powerpc/bits/fenv.h: Add parens.
2511 1998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
2513 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
2514 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
2515 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
2517 1998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
2519 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
2520 the special `-1' pointer.
2522 1998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
2524 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
2527 1998-09-07 Paul Eggert <eggert@twinsun.com>
2529 * time/mktime.c (__EXTENSIONS__): Define if not defined.
2530 (_REENTRANT): Remove. It has undesirable consequences in
2531 Solaris 2.6 (e.g. it turns off the putc macro). Defining
2532 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
2534 * time/strftime.c: Likewise.
2536 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2538 * elf/dl-error.c: Fix spelling.
2540 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2542 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
2543 * stdio-common/_itoa.c: Likewise.
2544 * stdio-common/printf_fp.c: Likewise.
2545 * stdio-common/vfscanf.c: Likewise.
2546 * wcsmbs/wcstok.c: Likewise.
2547 * sysdeps/generic/glob.c: Likewise.
2548 * posix/getopt.c: Likewise.
2549 * sysdeps/posix/getaddrinfo.c: Likewise.
2550 * posix/wordexp.c: Likewise.
2551 * io/ftw.c: Likewise.
2552 * io/fts.c: Likewise.
2553 * misc/getpass.c: Likewise.
2554 * iconv/gconv_conf.c: Likewise.
2555 * argp/argp-fmtstream.c: Likewise.
2556 * argp/argp-help.c: Likewise.
2557 * elf/dl-load.c: Likewise.
2558 * locale/programs/stringtrans.c: Likewise.
2559 * catgets/gencat.c: Likewise.
2560 * posix/getconf.c: Likewise.
2561 * iconv/gconv_conf.c: Likewise.
2562 * iconv/iconv_prog.c: Likewise.
2564 * string/strcoll.c: Optimize a few expressions.
2565 * string/strxfrm.c: Likewise.
2567 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2569 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
2570 level to avoid uninit variable warning.
2572 1998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2574 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
2575 instead of _dl_default_scope[2] as argument to _dl_init_next.
2577 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
2580 1998-09-08 Ulrich Drepper <drepper@cygnus.com>
2582 Fix compatibility problems introduced in last change.
2583 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
2585 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
2586 -DWEAK_GMON_START to CFLAGS-initfini.s.
2588 * elf/dl-object.c (_dl_new_object): Store map address in
2589 _dl_loaded if _dl_loaded is NULL.
2590 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
2592 * sysdeps/generic/setrlimit64.c: Remove stub warning.
2594 1998-09-07 Ulrich Drepper <drepper@cygnus.com>
2596 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
2598 * db2/btree/bt_cursor.c: Likewise.
2599 * db2/common/db_region.db_c: Likewise.
2600 * db2/common/db_salloc.db_c: Likewise.
2601 * db2/db/db.c: Likewise.
2602 * db2/db/db_rec.c: Likewise.
2603 * db2/hash/hash.c: Likewise.
2604 * db2/hash/hash_page.c: Likewise.
2605 * db2/hash/hash_rec.c: Likewise.
2606 * db2/log/log_findckp.c: Likewise.
2607 * db2/log/log_get.c: Likewise.
2608 * db2/log/log_put.c: Likewise.
2609 * db2/mp/mp_fget.c: Likewise.
2610 * db2/mp/mp_fput.c: Likewise.
2611 * db2/mp/mp_region.c: Likewise.
2612 * stdlib/strtol.c: Likewise.
2613 * string/strcoll.c: Likewise.
2614 * string/strxfrm.c: Likewise.
2615 * argp/argp-help.c: Likewise.
2616 * argp/argp-parse.c: Likewise.
2617 * resolv/res_debug.c: Likewise.
2619 1998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
2621 * math/tgmath.h (scalb): Only define for __USE_MISC or
2622 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
2624 1998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2626 * libio/stdio.h: Fix comment.
2628 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
2631 1998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2633 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
2635 * elf/dl-open.c: Quiet -Wparentheses warnings.
2636 * iconvdata/johab.c: Likewise.
2637 * iconvdata/uhc.c: Likewise.
2638 * inet/inet_net.c: Likewise.
2639 * io/fts.c: Likewise.
2640 * locale/newlocale.c: Likewise.
2641 * misc/getttyent.c: Likewise.
2642 * misc/mntent_r.c: Likewise.
2643 * misc/ttyslot.c: Likewise.
2644 * nscd/nscd_conf.c: Likewise.
2645 * nss/nsswitch.c: Likewise.
2646 * resolv/gethnamaddr.c: Likewise.
2647 * resolv/nsap_addr.c: Likewise.
2648 * resolv/res_debug.c: Likewise.
2649 * stdio-common/_itoa.c: Likewise.
2650 * stdlib/strtod.c: Likewise.
2651 * string/strverscmp.c: Likewise.
2652 * sunrpc/svc.c: Likewise.
2653 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
2654 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
2655 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
2656 * sysdeps/posix/getaddrinfo.c: Likewise.
2658 1998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
2660 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
2661 for use of global scope.
2662 * elf/dlvsym.c (dlvsym_doit): Likewise.
2664 1998-09-02 Paul Eggert <eggert@twinsun.com>
2666 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
2667 copy the redundant bytes at the end of the format as-is; don't
2668 just copy their first byte and then rescan, as that might get
2669 us an encoding error.
2670 Account correctly for the length of multibyte sequences in the
2673 1998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
2675 * posix/wordexp-test.c: Add tests for different IFS values.
2676 Change unquoted-newline test so that newline is not in IFS.
2678 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
2679 determining IFS characters. Return WRDE_BADCHAR for unquoted
2680 special characters _except_ if they are separators.
2682 1998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
2684 * include/tgmath.h: New file.
2686 * libio/stdio.h: Correct reversed #ifs.
2687 Patch by Zack Weinberg.
2689 * manual/creature.texi: Better explain reason for feature select
2691 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
2693 1998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2695 * include/alloca.h: Add multiple-inclusion guard.
2696 * include/db.h: Likewise.
2697 * include/db_185.h: Likewise.
2698 * include/dlfcn.h: Likewise.
2699 * include/fcntl.h: Likewise.
2700 * include/grp.h: Likewise.
2701 * include/libintl.h: Likewise.
2702 * include/mntent.h: Likewise.
2703 * include/pwd.h: Likewise.
2704 * include/sched.h: Likewise.
2705 * include/search.h: Likewise.
2706 * include/setjmp.h: Likewise.
2707 * include/shadow.h: Likewise.
2708 * include/signal.h: Likewise.
2709 * include/stdio.h: Likewise.
2710 * include/stdlib.h: Likewise.
2711 * include/string.h: Likewise.
2712 * include/termios.h: Likewise.
2713 * include/time.h: Likewise.
2714 * include/ulimit.h: Likewise.
2715 * include/utmp.h: Likewise.
2716 * include/wchar.h: Likewise.
2717 * include/sys/file.h: Likewise.
2718 * include/sys/gmon.h: Likewise.
2719 * include/sys/ioctl.h: Likewise.
2720 * include/sys/mman.h: Likewise.
2721 * include/sys/resource.h: Likewise.
2722 * include/sys/select.h: Likewise.
2723 * include/sys/socket.h: Likewise.
2724 * include/sys/statfs.h: Likewise.
2725 * include/sys/time.h: Likewise.
2726 * include/sys/times.h: Likewise.
2727 * include/sys/wait.h: Likewise.
2729 1998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
2731 * version.h (VERSION): Bump to 2.0.96.
2733 Rewrite runtime linker to be truly thread-safe. There is now no
2734 global variable specifying the scope. We create all needed
2735 scopes at the time the link maps are created.
2736 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
2737 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
2738 l_symbolic_searchlist, l_scope, and l_local_scope elements in
2740 * elf/dl-close.c: Rewritten accordingly.
2741 * elf/dl-deps.c: Likewise.
2742 * elf/dl-error.c: Likewise.
2743 * elf/dl-init.c: Likewise.
2744 * elf/dl-load.c: Likewise.
2745 * elf/dl-lookup.c: Likewise.
2746 * elf/dl-object.c: Likewise.
2747 * elf/dl-open.c: Likewise.
2748 * elf/dl-reloc.c: Likewise.
2749 * elf/dl-runtime.c: Likewise.
2750 * elf/dl-support.c: Likewise.
2751 * elf/dl-symbol.c: Likewise.
2752 * elf/dl-version.c: Likewise.
2753 * elf/dlsym.c: Likewise.
2754 * elf/dlvsym.c: Likewise.
2755 * elf/ldsodefs.h: Likewise.
2756 * elf/rtld.c: Likewise.
2757 * iconv/gconv_dl.c: Likewise.
2758 * nss/nsswitch.c: Likewise.
2759 * sysdeps/i386/dl-machine.h: Likewise.
2760 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
2762 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
2763 Define RTLD_DEFAULT.
2765 1998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
2767 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
2768 __getopt_clean_environment with __environ instead of envp.
2770 1998-09-05 Roland McGrath <roland@baalperazim.frob.com>
2772 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
2774 * string/argz-extract.c (__argz_extract): Add de-consting cast for
2777 * string/argz.h (argz_next): Add de-consting cast for return.
2778 * string/argz-next.c (__argz_next): Likewise.
2780 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
2781 Don't add netinet/udp.h, netinet/ip_icmp.h here.
2782 * sysdeps/gnu/Makefile: Do it here instead.
2783 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
2784 * sysdeps/gnu/Dist: ... to here.
2786 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
2787 sysdeps/unix/sysv/linux/netinet/tcp.h,
2788 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
2790 1998-09-04 Roland McGrath <roland@baalperazim.frob.com>
2792 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
2793 * string/argz-next.c, string/argz-extract.c: Fix defns.
2795 1998-09-03 Roland McGrath <roland@baalperazim.frob.com>
2797 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
2799 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
2800 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
2801 * sysdeps/generic/sysd-stdio.c: Likewise.
2803 1998-09-02 Ulrich Drepper <drepper@cygnus.com>
2805 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
2806 (_dl_map_object_from_fd): Make NAME argument const.
2807 Remove last parameter in _dl_new_object call.
2808 (print_search_path): Correct construction of composed path name.
2809 (_dl_map_object): Prevent looking at RPATH of the main map twice.
2810 Remove last parameter in _dl_new_object call.
2811 * elf/dl-object.c: Remove last parameter. Determine whether create
2812 origin entry based on empty realname. Handle file in root directory
2814 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
2815 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
2816 Remove last parameter in _dl_new_object call.
2817 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
2818 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
2820 1998-09-01 Ulrich Drepper <drepper@cygnus.com>
2822 * elf/dl-close.c (_dl_close): Add more comments and correct some.
2823 Free l_searchlist and l_dupsearchlist.
2825 * debug/catchsegv.sh: Add one more pair of quotes.
2827 1998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
2829 * elf/dl-load.c (add_name_to_object): Change return type to void and
2830 make NAME parameter const. Allocate room for NAME in same memory
2831 block used for l_libname entry.
2832 (_dl_map_object_from_fd): Don't free NAME on failure.
2833 (map_segment): Pass SONAME to add_name_to_object, not a copy.
2834 (_dl_map_object): Don't create copy of NAME. Pass NAME to
2835 _dl_map_object_from_fd.
2836 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
2837 memory block used for l_libname entry.
2838 * elf/dl-close.c: Adjust free()ing for this change.
2840 1998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
2842 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
2844 * malloc/mtrace.c: Add bug report address. Update email address.
2845 Add more @XXX@ to print correct address size.
2847 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
2850 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
2851 for munmap call instead of examining phdr again.
2852 Free all malloc()ed strings and arrays.
2854 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
2856 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
2858 * sysdeps/powerpc/dl-machine.c: New file.
2859 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
2860 files. Revise ELF_PREFERRED_ADDRESS to take account of
2861 the new mapping information (fixes bug involving huge bloated
2862 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
2863 * sysdeps/powerpc/dl-start.S: New file.
2865 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
2867 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
2868 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
2869 others. Call elf_dynamic_do_##reloc only once (to save even more
2871 * elf/link.h: Add new members l_map_start and l_map_end to keep
2872 track of the memory map.
2873 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
2876 1998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
2878 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
2879 Reported by Andreas Jaeger.
2881 * posix/glob.h: Use __size_t instead of size_t in definitions and
2882 make sure this is defined.
2884 1998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
2886 * manual/locale.texi: Almost complete rewrite. Document more functions
2888 * manual/arith.texi: Correct reference.
2889 * manual/string.texi: Pretty printing.
2891 * manual/texinfo.tex: Update from last available version.
2893 1998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
2895 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
2897 (_nss_nis_getpwuid_r): Likewise.
2898 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
2900 * inet/rcmd.c: Implement netgroup support.
2901 Patch by Dick Streefland <dick_streefland@tasking.com>.
2903 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
2905 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
2906 object on the list is removed. Don't use this code for PIC.
2907 Reported by HJ Lu [PR libc/770].
2909 1998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
2911 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
2913 * include/stdio.h: Add __vsscanf.
2915 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
2917 Remove __vsscanf declaration.
2918 Always declare fgetpos and fsetpos.
2920 * math/math.h: Define isinf as macro.
2921 * math/bits/mathcalls.h: Change to declare __isinf all the time.
2922 Don't declare scalb for ISO C 9x.
2924 * math/tgmath.h: Define fma. Rewrite the underlying macros.
2926 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
2928 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
2931 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
2934 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2936 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
2937 Reported by jreising@frequentis.com [PR libc/767].
2939 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2941 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
2942 fl.l_start at beginning of function.
2943 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
2945 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
2947 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
2948 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
2950 * nscd/nscd.init: Make it work in RedHat systems.
2951 Patch by Christian Gafton.
2953 1998-08-29 Philip Blundell <philb@gnu.org>
2955 * catgets/Makefile: Don't try to run test programs when
2958 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
2960 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
2961 Reported by Zack Weinberg.
2963 1998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2965 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
2966 * elf/Makefile (distribute): Remove ldd.sh.in.
2968 1998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2970 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
2973 1998-08-29 Ulrich Drepper <drepper@cygnus.com>
2975 * sysdeps/i386/register-dump.h: Move to ...
2976 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
2978 1998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
2980 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
2981 with load address, not map address.
2982 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
2983 parameter and use this value.
2984 * sysdeps/arm/dl-machine.h: Likewise.
2985 * sysdeps/i386/dl-machine.h: Likewise.
2986 * sysdeps/m68k/dl-machine.h: Likewise.
2987 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
2989 * sysdeps/powerpc/dl-machine.h: Likewise
2990 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
2991 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
2993 1998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
2995 * elf/rtld.c (process_envvars): Fix copy&paste error.
2997 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
2999 (realloc_hook_ini): Don't overwrite memalign hook.
3000 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
3001 Reported by Philippe Troin <phil@fifi.org>.
3003 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
3004 Patch by Philippe Troin <phil@fifi.org>.
3006 1998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3008 * sysdeps/generic/segfault.c (install_handler): Protect the
3009 non-POSIX signals with #ifdef.
3010 (catch_segfault): Add missing mode parameter for open.
3011 * debug/catchsegv.sh: Avoid termination message from shell. Allow
3012 other termination signals.
3014 1998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3016 * debug/Makefile (distribute): Add register-dump.h.
3018 1998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3020 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
3022 1998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
3024 * elf/Makefile (distribute): Add dl-origin.h.
3025 * sysdeps/generic/dl-origin.h: New file.
3026 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
3027 * elf/link.h (struct link_map): Add l_origin field.
3028 * elf/dl-load.c (expand_dynamic_string_token): New function.
3029 (decompose_path): Remove WHERE argument, take link map pointer instead.
3030 Call expand_dynamic_string_token instead of local_strdup to make copy
3032 (_dl_init_paths): Call decompose_path with correct argument.
3033 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
3035 Check EI_OSABI and EI_ABIVERSION fields in header.
3036 Call _dl_new_object with extra argument.
3037 (_dl_map_object): Call decompose_path with correct argument.
3038 Call expand_dynamic_string_token instead of local_strdup to also
3040 Call _dl_new_object with extra argument.
3041 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
3042 but the main one if new argument is nonzero.
3043 * elf/ldsodefs.h: Adjust for _dl_new_object change.
3044 * elf/dl-support.c: Define _dl_origin_path.
3045 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
3046 (dl_main): Call _dl_new_object with extra argument.
3048 * elf/dl-close (_dl_close): Free l_name and l_origin.
3050 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
3051 modifier in asm, not c.
3053 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
3054 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
3056 1998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
3058 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
3059 variable so that map can be freed.
3060 Reported by Philippe Troin <phil@fifi.org>.
3062 * elf/dl-open.c (dl_open_worker): Correct test for extending global
3064 Patch by Philippe Troin <phil@fifi.org>.
3066 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
3068 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
3069 Don't call writev() with a 100-element vector.
3070 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
3073 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
3074 In particular, set __libc_stack_end.
3075 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
3076 undefined. Fix copyright notice.
3078 1998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3080 * math/Makefile (gmp-objs): New variable.
3081 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
3083 (tests): Add atest-exp atest-sincos atest-exp2.
3084 (tests-static): Remove atest-exp atest-sincos atest-exp2.
3086 1998-08-25 Ulrich Drepper <drepper@cygnus.com>
3088 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
3090 (_dl_unload_cache): New function.
3091 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
3092 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
3093 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
3095 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
3096 Correct comment for O_LARGEFILE.
3097 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
3098 Change O_LARGEFILE to correct value.
3100 1998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
3102 * libio/iogetline.c (_IO_getline_info): Don't read anything for
3103 N == 0. Patch by HJ Lu.
3105 1998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
3107 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
3109 1998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
3111 * argp/argp.h: Use __inline__ not inline.
3113 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
3114 an input register as being clobbered.
3115 * sysdeps/i386/memset.c (memset): Likewise.
3116 * sysdeps/i386/bzero.c (__bzero): Likewise.
3117 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
3119 1998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3121 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
3122 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
3124 1998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
3126 * debug/catchsegv.sh: Handle text preceding backtrace better.
3127 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
3128 to be installed for other signals than SIGSEGV.
3129 * sysdeps/generic/register-dump.h: New file.
3130 * sysdeps/i386/register-dump.h: New file.
3131 * sysdeps/powerpc/register-dump.h: New file.
3133 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
3135 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
3137 1998-08-24 Geoff Keating <geoffk@ozemail.com.au>
3139 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
3141 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
3143 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
3144 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
3145 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
3146 getresuid, getresgid.
3148 1998-08-16 Geoff Keating <geoffk@ozemail.com.au>
3150 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
3151 pointer in userland.
3153 1998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3155 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
3158 1998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3160 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
3161 over arguments Bourne shell compatible. Don't exit unsuccessfully
3162 if nonelf returns successfully. Avoid duplicating most of the
3164 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
3167 1998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3169 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
3171 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
3172 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
3174 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
3176 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
3177 __modify_ldt and modify_ldt.
3178 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
3180 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3181 Use orl $-1 instead of movl $-1 to save two bytes.
3182 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
3185 1998-08-17 H.J. Lu <hjl@gnu.org>
3187 * libio/Versions (_IO_do_write, _IO_file_attach,
3188 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
3189 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
3190 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
3191 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
3193 * libio/fileops.c (_IO_do_write, _IO_file_attach,
3194 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
3195 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
3196 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
3197 _IO_file_write, _IO_file_xsputn): Change the prefix to
3198 "_IO_new_". Added to GLIBC_2.1.
3200 * libio/libioP.h (_IO_do_write, _IO_file_attach,
3201 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
3202 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
3203 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
3204 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
3207 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
3208 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
3209 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
3210 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
3211 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
3213 1998-08-23 Richard Henderson <rth@cygnus.com>
3215 * Makeconfig (LDFLAGS): Remove.
3217 * csu/initfini.c: Return to .text before __gmon_start__.
3219 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
3220 (STO_MIPS_*): Rename from STO_*.
3221 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
3222 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
3224 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
3225 (main): e3s is negative on zero.
3226 * math/atest-exp2.c: Likewise.
3227 * math/atest-sincos.c: Likewise.
3229 1998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3231 * Makerules (install): Add comment about absolute paths.
3233 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
3235 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
3236 array to NUL to handle maxlen==1 case correctly.
3239 1998-08-23 Richard Henderson <rth@cygnus.com>
3241 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
3242 * sysdeps/alpha/elf/crtend.S: Likewise.
3243 * sysdeps/alpha/elf/start.S: Likewise.
3245 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
3246 non-standard pv usage.
3248 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
3249 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
3250 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
3251 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
3252 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
3253 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
3254 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
3255 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
3256 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
3257 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
3258 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
3260 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
3261 a finite non-denormal, deferring to the full IEEE version otherwise.
3263 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
3264 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
3265 * sysdeps/alpha/fpu/s_floor.c: New.
3266 * sysdeps/alpha/fpu/s_floorf.c: New.
3267 * sysdeps/alpha/fpu/s_ceil.c: New.
3268 * sysdeps/alpha/fpu/s_ceilf.c: New.
3270 1998-08-22 Philip Blundell <philb@gnu.org>
3272 * sysdeps/arm/bits/string.h: New file.
3274 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3276 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
3279 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
3280 test for recent Linux 2.1.100+ headers.
3282 1998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3284 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
3286 1998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
3288 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
3290 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3292 * Makefile (elf/ldso_install): Put back. The problem still persists.
3293 * elf/Makefile (ldso_install): Likewise.
3295 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3297 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
3299 * include/db.h: Declare __nss_db_open.
3300 * db2/Versions: Export it.
3302 * db2/makedb.c: Convert to use db2 API.
3303 * nss/nss_db/db-XXX.c: Likewise.
3304 * nss/nss_db/db-netgrp.c: Likewise.
3305 * nss/nss_db/db-alias.c: Likewise.
3306 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
3308 1998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3310 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3311 sys_setresuid, already built automatically (or not).
3312 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
3313 instead of __syscall_setresuid and add back setresuid.
3314 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
3315 __syscall_setresuid.
3317 1998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3319 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
3321 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
3323 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
3324 BASH-ONLY marked region.
3325 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
3327 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
3329 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
3332 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
3334 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
3337 1998-08-21 Roland McGrath <roland@baalperazim.frob.com>
3339 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
3340 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
3341 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
3342 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
3343 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
3344 those magic comments, and to use /bin/sh for @BASH@.
3345 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
3346 * elf/ldd.sh.in: File removed.
3348 1998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
3350 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
3351 cast them to unsigned long int.
3352 * pwd/putpwent.c (putpwent): Likewise.
3353 Patch by John Tobey <jtobey@banta-im.com>.
3355 1998-08-20 17:14 H.J. Lu <hjl@gnu.org>
3357 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
3360 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
3362 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
3365 1998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
3367 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
3368 Add umount and umount2.
3369 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
3370 * sysdeps/unix/sysv/linux/umount.S: New file.
3371 * sysdeps/unix/sysv/linux/umount2.S: New file.
3372 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
3375 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
3377 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
3378 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
3380 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
3382 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
3385 1998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
3387 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
3388 * elf/ldd.bash.in: Likewise.
3390 * elf/sln.c: Avoid warning for no main prototype.
3392 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
3394 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
3395 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3397 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
3399 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
3400 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
3401 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3403 1998-08-20 Philip Blundell <pb@nexus.co.uk>
3405 * sysdeps/arm/fpu/ieee754.h: Move to...
3406 * sysdeps/arm/ieee754.h: ... here.
3408 * sysdeps/arm/__longjmp.S: Put return value in correct register.
3409 Don't set the condition flags unnecessarily.
3410 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
3411 registers correctly.
3413 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
3414 (patch from Scott Bambrough).
3416 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
3418 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
3419 NULL, just call it unconditionally.
3420 (__gmon_start__): Provide stub version as a weak symbol.
3422 1998-07-30 Philip Blundell <philb@gnu.org>
3424 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
3427 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
3428 like `@' in .type directives.
3430 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
3431 * sysdeps/arm/bsd-_setjmp.S: Likewise.
3433 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
3435 1998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3437 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
3438 (F_GETOWN): Likewise.
3440 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
3443 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
3445 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
3448 1998-08-18 Ulrich Drepper <drepper@cygnus.com>
3450 * include/features.h: Define __USE_EXTERN_INLINES for recent
3452 * argp/argp.h: Define extern inline functions only if
3453 __USE_EXTERN_INLINES is defined.
3454 * libio/stdio.h: Likewise.
3455 * math/math.h: Likewise.
3456 * stdlib/stdlib.h: Likewise.
3457 * string/argz.h: Likewise.
3458 * sysdeps/generic/bits/sigset.h: Likewise.
3459 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
3460 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
3461 * sysdeps/wordsize-32/inttypes.h: Likewise.
3462 * sysdeps/wordsize-64/inttypes.h: Likewise.
3463 * wcsmbs/wchar.h: Likewise.
3465 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
3466 to allow compilation without optimization.
3468 1998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3470 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
3472 * nis/nss_compat/compat-initgroups.c: Likewise.
3473 * nis/nss_compat/compat-pwd.c: Likewise.
3474 * nis/nss_compat/compat-spwd.c: Likewise.
3475 * nis/nss_nis/nis-alias.c: Likewise.
3476 * nis/nss_nis/nis-ethers.c: Likewise.
3477 * nis/nss_nis/nis-grp.c: Likewise.
3478 * nis/nss_nis/nis-hosts.c: Likewise.
3479 * nis/nss_nis/nis-initgroups.c: Likewise.
3480 * nis/nss_nis/nis-network.c: Likewise.
3481 * nis/nss_nis/nis-proto.c: Likewise.
3482 * nis/nss_nis/nis-pwd.c: Likewise.
3483 * nis/nss_nis/nis-rpc.c: Likewise.
3484 * nis/nss_nis/nis-service.c: Likewise.
3485 * nis/nss_nis/nis-spwd.c: Likewise.
3487 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
3489 * nis/ypclnt.c: Try binding dir only first time, could be to old.
3491 * nis/yp_xdr.c: Remove 1024 byte limit.
3492 * nis/ypupdate_xdr.c: Likewise.
3494 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
3497 1998-08-18 Roland McGrath <roland@baalperazim.frob.com>
3499 * Rules (binaries-static, binaries-shared static pattern rules):
3500 Depend on lib%, not just libc%, from $(link-libc{,-static}).
3502 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
3503 this here, overriding Makeconfig generic value so we link against
3506 1998-08-17 Ulrich Drepper <drepper@cygnus.com>
3508 * posix/tstgetopt.c (options): Add NULL entry at end
3509 Patch by Adrian Miranda <ade@psg.com>.
3511 1998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
3513 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
3516 1998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
3518 * elf/elf.h: Add PPC Diab relocations.
3520 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
3522 1998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
3524 * manual/texinfo.tex: Update.
3526 1998-08-07 Geoff Keating <geoffk@ozemail.com.au>
3528 * sysdeps/powerpc/backtrace.c: New file.
3530 1998-08-14 Philip Blundell <pb@nexus.co.uk>
3532 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
3534 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
3536 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3538 * Makefile (install-symbolic-link): Fix spelling.
3540 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3542 * elf/elf.h (SHT_HIOS): Fix value.
3544 1998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3546 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
3547 part of the expansion, this is undefined by the standard.
3549 1998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
3551 * posix/getconf.c: Add support for systems with incomplete confname.h.
3553 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
3555 * sysdeps/posix/wait3.c: Make it work.
3557 1998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3559 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
3560 (elf/ldso_install): Remove.
3562 * elf/Makefile (distribute): Add sln.c.
3564 (others-static): Add sln.
3565 (install-rootsbin): Add sln.
3566 (others-static): Add sln.
3567 (ldso_install): Remove.
3569 1998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3571 * Makerules (install-clean-symbolic-link-list): Make phony.
3572 * Makefile (install-symbolic-link): Make phony. Depend on
3573 subdir_install for parallel makes.
3576 1998-07-22 Ulrich Drepper <drepper@cygnus.com>
3578 * elf/Makefile (distribute): Add sln.c
3580 1998-07-21 07:10 H.J. Lu <hjl@gnu.org>
3582 * elf/sln.c: New file.
3584 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
3585 (install-clean-symbolic-link-list): New target.
3586 (install): Depend on install-clean-symbolic-link-list.
3587 (make-shlib-link): Changed for $(symbolic-link-list).
3589 * Makefile (install-symbolic-link): New target.
3590 (install): Depend on install-symbolic-link.
3592 1998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
3594 * include/unistd.h: Protect against multiple inclusion.
3596 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
3597 is defined, not is glob is defined.
3598 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
3600 1998-08-01 17:18 H.J. Lu <hjl@gnu.org>
3602 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
3603 xdr_string for ut_line, ut_name and ut_host.
3605 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3607 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
3608 /var/mail in accordance with FHS 2.0.
3609 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
3611 1998-08-12 Richard Henderson <rth@cygnus.com>
3613 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
3614 Update aliases for cancelation.
3616 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
3617 playing with symbol versions.
3619 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
3621 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
3622 multiple inclusion protection.
3623 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
3624 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
3625 define all these to 1.
3626 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
3628 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
3630 * sysdeps/mach/usleep.c: Include <unistd.h>.
3631 (usleep): Return void.
3633 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
3635 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
3636 decl to inhibit warning in if_freenameindex defn.
3638 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
3640 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
3642 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
3643 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
3644 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
3645 * sysdeps/mach/usleep.c: Likewise.
3647 * sysdeps/mach/hurd/bind.c (bind): Add a const.
3649 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
3650 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
3651 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
3652 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
3653 * sysdeps/mach/usleep.c (usleep): Likewise.
3654 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
3655 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
3656 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
3657 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
3659 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
3661 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
3664 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
3665 %p arg to fprintf, since `void *' is the right type already.
3667 1998-07-25 19:47 Jose M. Moya <josem@gnu.org>
3669 * sysdeps/mach/hurd/getcwd.c
3670 (_hurd_canonicalize_directory_name_internal): Do not loop forever
3671 for unknown root directories.
3672 (__getcwd): Return NULL when the current root directory could not
3675 1998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
3677 * string/strsignal.c (strsignal): Count real-time signals from zero.
3680 See ChangeLog.8 for earlier changes.