1 1998-11-05 Ulrich Drepper <drepper@cygnus.com>
3 * version.h (VERSION): Bump to 2.0.100.
5 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Fix fldl -> fld.
7 * sysdeps/libm-i387/s_fma.S: Optimize a bit.
8 * sysdeps/libm-i387/s_fmaf.S: Likewise.
10 1998-11-04 19:47 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
12 * configure.in: Search for install-info and substitute it.
13 Determine whether install-info is the buggy Debian version
14 that doesn't understand INFO-DIR-SECTION.
15 * config.make.in: Add INSTALL_INFO and OLD_DEBIAN_INSTALL_INFO
17 * manual/Makefile: If OLD_DEBIAN_INSTALL_INFO, give
18 install-info the --section argument it needs to work properly.
19 (dir-add.texinfo): Delete target.
20 (dir-add.info): Generate this directly. Sort entries. Put a
21 colon at the end of the INFO-DIR-SECTION line.
22 * manual/libc.texinfo: Put a colon at the end of the
25 1998-11-05 Paul Eggert <eggert@twinsun.com>
27 * time/mktime.c (__mktime_internal): Adopt the traditional (and
28 problematic) notion of what to do when tm_isdst doesn't match.
30 1998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
32 * posix/PTESTS: Fix spelling.
34 1998-11-04 Ulrich Drepper <drepper@cygnus.com>
36 * misc/efgcvt_r.c (fcvt_r): Remove code which tries to use libm
37 functions. Reduce error in computing normalized value by multiplying
38 factor in loop and compute result in one step.
39 Reported by Christian Gafton.
41 * sysdeps/libm-i387/e_hypot.S: New file.
42 * sysdeps/libm-i387/e_hypotf.S: New file.
44 1998-11-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
46 * elf/dlopenold.c: Compile only if DO_VERSIONING is also defined.
48 1998-11-03 H.J. Lu <hjl@gnu.org>
50 * libio/fileops.c (new_do_write): New function.
51 (_IO_new_do_write): Call new_do_write.
52 (_IO_new_file_xsputn): Likewise.
54 * libio/oldfileops.c (old_do_write): New function.
55 (_IO_old_do_write): Call old_do_write.
56 (_IO_old_file_xsputn): Likewise.
58 1998-11-04 Ulrich Drepper <drepper@cygnus.com>
60 * time/mktime.c (__mktime_internal): Correct last change. We must
61 stop searching for the right isdst value before stepping to the
64 * malloc/malloc.c: Make sure calloc really returned zeroed memory.
65 Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
67 1998-11-02 16:12 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
69 * sysdeps/generic/bits/signum.h: Define signals with their
70 historical numbers when those are in the 1-15 range and
71 consistent across platforms.
72 Define compatibility aliases (SIGIOT, SIGCLD) if __USE_MISC.
73 Define SIG_DFL, SIG_IGN, SIG_ERR as numeric constants cast
74 appropriately instead of with fake function declarations
75 (would cause link errors).
76 If __USE_UNIX98, define SIG_HOLD.
78 1998-10-29 H.J. Lu <hjl@gnu.org>
80 * sysdeps/unix/sysv/linux/bits/sigaction.h (sigaction): Use
81 union only if __USE_POSIX199309 is defined.
83 * misc/sys/select.h (pselect): Declared only if __USE_GNU is
86 1998-11-03 Ulrich Drepper <drepper@cygnus.com>
88 * time/mktime.c (__mktime_internal): Handle broken down times
89 around the time of the DST switches more correctly.
91 1998-11-02 Ulrich Drepper <drepper@cygnus.com>
93 * elf/Makefile (libdl-routines): Add dlopenold.
94 * elf/Versions [libdl, GLIBC_2.1]: Add dlopen.
95 * elf/dl-open.c (_dl_open): Check whether RTLD_LAZY or RTLD_GLOBAL
96 is set and bounce otherwise.
97 * elf/dlopen.c: Rename function to __dlopen_check and make version
99 * elf/dlopenold.c: New file.
101 1998-11-02 Ulrich Drepper <drepper@cygnus.com>
103 * elf/Versions [libc, GLIBC_2.01]: Add _dl_global_scope_alloc.
104 * elf/dl-open.c (_dl_global_scope_alloc): Move definition to
105 * elf/dl-deps.c: ...here.
106 * elf/dl-open.c (dl_open_worker): Call _dl_map_object_deps with
107 new parameter and expect result. Remove code handling RTLD_GLOBAL.
108 Add return value of _dl_map_object_deps to
109 _dl_main_searchlist->r_nlist.
110 * elf/dl-deps.c (_dl_map_object_deps): Change to return value.
111 If we parameter GLOBAL is nonzero add object and dependencies to
113 * elf/ldsodefs.h: Adapt prototype for _dl_map_object_deps.
114 * elf/rtld.c (dl_main): Call _dl_map_object_deps with new parameter.
115 Mark all objects as in global scope.
116 * elf/dl-object.c (_dl_new_object): Initialize l_global to zero.
118 * sysdeps/unix/sysv/linux/bits/sockunion.h: Add Econet support.
120 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add .L prefix to symbols
123 1998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
125 * sysdeps/unix/sysv/linux/netatalk/at.h: Include <linux/atalk.h>
126 before <sys/socket.h> to make sockaddr_at available to
129 * posix/glob.h: Remove __P from parameter lists of declarations.
131 1998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
133 * time/tzset.c (tz_compute): Remove unused parameter timer.
136 1998-11-02 Mark Kettenis <kettenis@phys.uva.nl>
138 * sysdeps/generic/bits/types.h (__ipc_pid_t): New typedef.
140 1998-11-02 Ulrich Drepper <drepper@cygnus.com>
142 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Remove
143 unnecessary test and add cast.
145 1998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
147 * posix/getconf.c: Add initializer SYSCONF for CHARCLASS_NAME_MAX.
149 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Remove unused
151 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
153 1998-11-02 Mark Kettenis <kettenis@phys.uva.nl>
155 * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
157 (__FDMASK): Use __fd_mask instead of unsigned long int in cast.
159 1998-10-31 Richard Henderson <rth@cygnus.com>
161 * math/Makefile (gmp-objs): Add udiv_qrnnd.
163 * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL*): New.
164 (inline_syscall*): New.
165 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL): New.
166 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Kill __syscall* bits.
168 1998-10-31 Ulrich Drepper <drepper@cygnus.com>
170 * aclocal.m4 (LIBC_PROG_FOO_GNU): Name output file using -o to
171 avoid ld test generating an unwanted file.
173 * posix/PTESTS: Remove comment about incorrect test (it is correct).
175 1998-10-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
177 * sunrpc/Versions: Add xdr_uint32_t and xdr_int32_t.
178 * sunrpc/pmap_rmt.c: Initialize clnt_stat variable.
179 * sunrpc/rpc/auth_des.h: Use uint32_t for time values.
180 * sunrpc/rpc/xdr.h: Add INT32 support.
181 * sunrpc/xdr.c: Implement xdr_int32_t and xdr_uint32_t .
183 * nis/nis_call.c: Changes for new 64bit clean NIS+ interface.
184 * nis/nis_callback.c: Likewise.
185 * nis/nis_creategroup.c: Likewise.
186 * nis/nis_defaults.c: Likewise.
187 * nis/nis_intern.h: Likewise.
188 * nis/nis_lookup.c: Likewise.
189 * nis/nis_ping.c: Likewise.
190 * nis/nis_print.c: Likewise.
191 * nis/nis_table.c: Likewise.
192 * nis/nis_util.c: Likewise.
193 * nis/nis_xdr.c: Likewise.
194 * nis/rpcsvc/nis.h: Likewise.
195 * nis/rpcsvc/nis.x: Likewise.
196 * nis/rpcsvc/nis_callback.h: Likewise.
197 * nis/rpcsvc/nis_object.x: Likewise.
198 * nis/rpcsvc/nislib.h: Likewise.
200 * nis/rpcsvc/yp.h: Remove casts to (u_long).
201 * nis/rpcsvc/yp_prot.h: Likewise.
202 * nis/rpcsvc/ypupd.h: Likewise.
203 * nis/ypclnt.c: Change %ld to %d in sprintf.
205 1998-10-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
207 * manual/locale.texi (Formatting Numbers): Fix strfmon examples.
209 1998-10-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
211 * sysdeps/generic/bits/select.h (__FD_ZERO): Change '\0' to plain
212 0, __fd_mask is usually not a char.
214 1998-10-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
216 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Allow
217 compilation on systems without rt_* syscalls (e.g. on Linux 2.0).
218 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
219 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
220 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
221 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise
222 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
223 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
225 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Allow
226 compiling on systems without rt_sigaction syscall.
227 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction):
230 1998-10-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
232 * time/strptime.c (HERE_D_FMT): Fix typo.
233 Reported by Claus Heine <heine@math1.rwth-aachen.de>, PR libc/842.
235 1998-10-30 Ulrich Drepper <drepper@cygnus.com>
237 * catgets/Makefile (tests): Add rules to run gencat on test1.msg.
238 (generate): Add test1.cat and test1.h.
239 (distribute): Add test1.msg.
240 * catgets/test1.msg: New file.
242 * catgets/gencat.c: Do a better job in initializing dynamic
243 memory [PR libc/844].
245 1998-10-30 18:11 Ulrich Drepper <drepper@cygnus.com>
247 * iconv/gconv_conf.c (__gconv_read_conf): Don't define as
248 internal_function since it is called through a pointer.
249 * iconv/gconv_db.c (free_derivation): Likewise.
250 * iconv/gconv_int.h: Adjust prototype od __gconv_read_conf.
252 * posix/wordexp.c: Add internal_function to parse_backtick definition.
253 * rt/aio_misc.c: Add internal_function to __aio_free_request,
254 __aio_find_req, __aio_find_req_fd, and __aio_enqueue_request
256 * rt/aio_notify.c: Add internal_function to __aio_notify_only and
257 __aio_notify definitions.
258 * wcsmbsload.c: Add internal_function to __wcsmbs_load_conv definition.
260 1998-10-30 Ulrich Drepper <drepper@cygnus.com>
262 * Makerules (build-shlib): Add -O to generate optimized shared
265 1998-10-30 11:15 Ulrich Drepper <drepper@cygnus.com>
267 * sysdeps/libm-i387/e_fmod.S: Remove invalid operand size suffix.
268 * sysdeps/libm-i387/e_fmodf.S: Likewise.
269 * sysdeps/libm-i387/e_fmodl.S: Likewise.
270 * sysdeps/libm-i387/s_ilogb.S: Likewise.
271 * sysdeps/libm-i387/s_ilogbf.S: Likewise.
272 * sysdeps/libm-i387/s_logb.S: Likewise.
273 * sysdeps/libm-i387/s_logbf.S: Likewise.
274 * sysdeps/libm-i387/s_remquo.S: Likewise.
275 * sysdeps/libm-i387/s_remquof.S: Likewise.
276 * sysdeps/libm-i387/s_remquol.S: Likewise.
277 * sysdeps/libm-i387/s_significand.S: Likewise.
278 * sysdeps/libm-i387/s_significandf.S: Likewise.
280 1998-10-30 Geoff Keating <geoffk@ozemail.com.au>
282 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Really correct
285 1998-10-30 Geoff Keating <geoffk@ozemail.com.au>
287 * math/libm-test.c: Loosen deltas for sin(0.9)^2+cos(0.9)^2.
289 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
291 * stdio-common/vfprintf.c (vfprintf): Fix the remaining premature
292 returns without cleaning up the lock.
293 (printf_unknown): Add label all_done.
295 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Keep Linux 2.0
296 kernels in mind when reading /proc/self/fd/FD.
297 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
299 * nscd/nscd.c (doc): It's "Name Service" not "Name Switch".
301 * malloc/mtrace.c (tr_where): Replace snprintf call by mempcpy and
304 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Try reading
305 /prof/self/fd/FD first.
306 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
308 * stdio-common/_itoa.h (_fitoa_word): New inline function. Write
309 formatted number starting at given position and return pointer to
311 (_fitoa): Likewise, for long long.
313 1998-10-29 Roland McGrath <roland@baalperazim.frob.com>
315 * sysdeps/unix/sysv/linux/bits/sem.h,
316 sysdeps/unix/sysv/linux/bits/ipc.h,
317 sysdeps/unix/sysv/linux/bits/shm.h,
318 sysdeps/unix/sysv/linux/bits/msq.h: Moved to ...
319 * sysdeps/gnu/bits/sem.h, sysdeps/gnu/bits/ipc.h,
320 sysdeps/gnu/bits/shm.h, sysdeps/gnu/bits/msq.h: ... here,
321 so the same bits will be used for the Hurd.
323 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
325 * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Allow
326 compiling on systems without rt_sigaction syscall.
328 1998-10-12 Philip Blundell <pb@nexus.co.uk>
330 * Makeconfig (sysdep-subdirs): Allow Subdirs files to remove
331 directories as well as add them.
333 1998-10-28 Philip Blundell <pb@nexus.co.uk>
335 * sysdeps/unix/sysv/linux/neteconet/ec.h: New file. Support for
336 AF_ECONET sockets as found in recent Linux 2.1 kernels.
337 * sysdeps/unix/sysv/linux/Dist: Distribute it.
338 * sysdeps/unix/sysv/linux/Makefile: Install it.
340 1998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
342 * string/bits/string2.h: __USE_GNU already implies __USE_MISC.
344 1998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
346 * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
348 * sysdeps/unix/sysv/linux/alpha/bits/types.h (__FDS_BITS): Likewise.
349 * sysdeps/unix/sysv/linux/bits/types.h (__FDS_BITS): Likewise.
350 * sysdeps/unix/sysv/linux/mips/bits/types.h (__FDS_BITS): Likewise.
351 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__FDS_BITS):
353 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h (__FDS_BITS):
355 * sysdeps/generic/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
357 * sysdeps/i386/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
358 __FD_ISSET): Likewise.
360 1998-10-28 Geoff Keating <geoffk@ozemail.com.au>
362 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Tidy up, correct
365 * sysdeps/unix/sysv/linux/powerpc/pread.c: Do not use the i386 version.
366 Instead call the system call wrapper function using an 64bit argument.
367 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
368 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
369 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
371 1998-10-27 Ulrich Drepper <drepper@cygnus.com>
373 * signal/signal.h: Don't include <time.h> for timespec, add
376 * sysdeps/i386/bits/select.h [!__USE_XOPEN]: Add special version
377 of __FD_* macros which use __fds_bits.
378 * sysdeps/generic/bits/select.h: Likewise.
379 Reported by Matt McLean <keys@yikes.com>.
381 1998-10-27 Philip Blundell <pb@nexus.co.uk>
383 * elf/elf.h: Update ARM definitions.
385 1998-10-27 Ulrich Drepper <drepper@cygnus.com>
387 * signal/signal.h: Include bits/sigthread.h only for Unix98.
389 1998-10-26 Ulrich Drepper <drepper@cygnus.com>
391 * include/libc-symbols.h: If HAVE_BUILTIN_EXPECT is not defined
392 define __builtin_expect as a macro substituting to the first
394 * config.h.in: Define HAVE_BUILTIN_EXPECT.
395 * configure.in: Add test for __builtin_expect.
397 * sysdeps/unix/sysv/linux/bits/types.h: Include
398 bits/pthreadtypes.h only not for POSIX 199506.
399 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
400 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
401 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
403 1998-10-26 Mark Kettenis <kettenis@phys.uva.nl>
405 * sysdeps/unix/sysv/linux/Versions: Move shutdown ...
406 * socket/Versions [libc, GLIBC_2.0]: ... to here.
408 1998-10-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
410 * include/stdio.h: Included <stddef.h> for size_t.
412 * stdio/stdio.h: Move __path_search, __gen_tempname, __libc_fatal
414 * include/stdio.h: ...here.
415 * libio/stdio.h: Removed __path_search, __gen_tempname, __libc_fatal.
417 1998-10-26 11:09 Ulrich Drepper <drepper@cygnus.com>
419 * time/Makefile (tests): Add tst-posixtz.
420 * time/tst-posixtz.c: New file.
422 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
424 * elf/rtld.c (process_envvars): Accept any non-null value of
425 LD_BIND_NOW, as mandated by the ABI.
427 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
429 * sysdeps/unix/sysv/linux/pread.c: Rename __syscall_pread64 to
431 * sysdeps/unix/sysv/linux/pwrite.c: Rename __syscall_pwrite64 to
433 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
434 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
435 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
436 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
437 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise. Remove
439 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
440 s_pread64 and s_pwrite64.
441 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
443 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
445 * sysdeps/unix/sysv/linux/llseek.c: Use INLINE_SYSCALL.
446 * sysdeps/unix/sysv/linux/arm/syscalls.list: Rename __sys_llseek
447 to __syscall__llseek.
448 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
449 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
450 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove entry for
453 1998-10-26 Cristian Gafton <gafton@redhat.com>
455 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add s_setfsgid
458 1998-10-26 Ulrich Drepper <drepper@cygnus.com>
460 * time/tzset.c (tz_compute): Correct last patch and describe this
463 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
465 * sysdeps/unix/sysv/linux/m68k/Makefile [subdir=signal]: Remove
466 rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo,
467 rt_sigaction and rt_sigpending.
468 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove all entries
469 for __syscall_* functions.
470 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Implement INLINE_SYSCALL.
472 1998-10-26 Roland McGrath <roland@baalperazim.frob.com>
474 * hurd/Versions: Add _hurd_dtable, _hurd_dtablesize,
475 _hurd_dtable_lock, _hurd_intern_fd.
477 * sysdeps/mach/hurd/Versions: Add cthread_keycreate,
478 cthread_getspecific, cthread_setspecific, __libc_getspecific.
480 * mach/Versions: Fix typo in last change.
482 1998-10-25 Ulrich Drepper <drepper@cygnus.com>
484 * time/tzset.c (tz_compute): If time to switch to DST is later in
485 the year switch back in the next year.
486 Reported by jwitford@hutch.com.au.
488 1998-10-24 Mark Kettenis <kettenis@phys.uva.nl>
490 * mach/Versions: Add evc_wait, mach_error, mach_error_string,
491 mach_error_type, mach_msg_destroy, mig_deallocate_reply_port.
492 Remove __mach_host_self, __mach_reply_port, __mach_setup_thread,
493 __mach_port_allocate, __mach_port_allocate_name,
494 __mach_port_insert_right __mutex_trylock, __mutex_lock,
495 __mutex_unlock, __swtch, __switch, __task_create, __task_suspend,
496 __task_set_special_port, __task_terminate, __thread_depress_abort,
497 __thread_switch, __vm_allocate, __vm_deallocate, __vm_map. These
498 functions are not used outside libc.
500 * sysdeps/mach/hurd/Versions: New file.
501 [libc, GLIBC_2.0]: Add _cthread_exit_routine and
502 _cthread_init_routine. These are set by the Hurd cthreads library.
503 Add __getcwd, __mmap. If we don't add these, the weak definitions in
504 the dynamic linker will not be replaced by the corresponding shared
505 library routines once they are loaded.
507 1998-10-21 Mark Kettenis <kettenis@phys.uva.nl>
509 * sysdeps/mach/hurd/i386/init-first.c: Only define
510 __libc_enable_secure if PIC is not defined.
512 1998-10-25 Roland McGrath <roland@baalperazim.frob.com>
514 * argp/Versions: Add _argp_unlock_xxx. Lock-savvy functions call this
515 to recurse into argp.
517 1998-10-25 Ulrich Drepper <drepper@cygnus.com>
519 * include/features.h: Define __USE_POSIS199506 is _POSIX_C_SOURCE is
520 greater or equal than 199506L.
522 * sysdeps/generic/bits/types.h (__fd_set): Define element as fds_bits
523 only is __USE_XOPEN. Otherwise use __fds_bits.
524 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
525 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
526 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
527 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
528 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
530 1998-10-24 H.J. Lu <hjl@gnu.org>
532 * locale/programs/charmap.c (parse_charmap): Accept tok_string
535 1998-10-25 H.J. Lu <hjl@gnu.org>
537 * locale/programs/ld-ctype.c (ctype_finish): Also check
540 1998-10-25 Ulrich Drepper <drepper@cygnus.com>
542 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX199506.
544 * sysdeps/unix/sysv/linux/bits/types.h: Include pthreadtypes.h only
545 if __USE_POSIX199506 or __USE_UNIX98.
547 1998-10-24 22:34 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
549 * string/bits/string2.h: Inline strdup+friends only if
550 __USE_MISC || __USE_GNU (prevents namespace pollution).
552 1998-10-24 H.J. Lu <hjl@gnu.org>
554 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (LOCK_SH,
555 LOCK_EX, LOCK_NB, LOCK_UN): Protect with __USE_BSD.
556 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (LOCK_SH, LOCK_EX,
557 LOCK_NB, LOCK_UN): Likewise.
558 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (LOCK_SH, LOCK_EX,
559 LOCK_NB, LOCK_UN): Likewise.
560 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (LOCK_SH, LOCK_EX,
561 LOCK_NB, LOCK_UN): Likewise.
562 * sysdeps/unix/sysv/linux/bits/fcntl.h (LOCK_SH, LOCK_EX,
563 LOCK_NB, LOCK_UN): Likewise.
565 1998-10-24 H.J. Lu <hjl@gnu.org>
567 * libio/ioseekoff.c (_IO_seekoff): Check the valid dir value.
569 * libio/rewind.c (rewind): Clear the error.
571 1998-10-24 H.J. Lu <hjl@gnu.org>
573 * grp/grp.h (getgrent_r, getgrgid_r, getgrnam_r): Add "__" to
576 1998-10-24 H.J. Lu <hjl@gnu.org>
578 * sysdeps/unix/sysv/linux/alpha/bits/time.h (timeval): Protect
580 * sysdeps/unix/sysv/linux/mips/bits/time.h (timeval): Likewise.
581 * sysdeps/unix/sysv/linux/bits/time.h (timeval): Likewise.
583 1998-10-24 H.J. Lu <hjl@gnu.org>
585 * signal/signal.h (timespec, siginfo_t, sigwaitinfo, sigtimedwait,
586 sigqueue): Protect with __USE_POSIX199309.
588 1998-10-24 H.J. Lu <hjl@gnu.org>
590 * time/time.h (timespec): Protect with __USE_POSIX199309 instead of
593 1998-10-24 H.J. Lu <hjl@gnu.org>
595 * libio/fileops.c (_IO_new_file_seekoff): Always resync with
596 the kernel file offset.
597 * libio/oldfileops.c (_IO_old_file_seekoff): Likewise.
599 1998-10-24 H.J. Lu <hjl@gnu.org>
601 * time/tzfile.c (__tzfile_default): Set num_types to 2.
603 1998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
605 * rt/aio.h: Move __aio_init to...
606 * include/aio.h: ...here.
608 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
610 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove duplicate
611 definition of O_LARGEFILE.
613 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
615 * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Use path
616 as first argument to statfs.
618 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
620 * sysdeps/generic/setenv.c (setenv): Add braces around ambiguous else.
622 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
624 * malloc/mtrace.c: Include <string.h> for strlen.
626 1998-10-24 Roland McGrath <roland@baalperazim.frob.com>
628 * sysdeps/mach/hurd/bits/environments.h: New file.
630 * sysdeps/mach/hurd/dl-sysdep.c (__getcwd): New weak function.
632 * mach/Versions, hurd/Versions: Add numerous symbols.
633 Remove libmachuser and libhurduser sections, punt
634 versioning for those libraries for now.
636 * misc/Versions: Add reboot here; it exists on all platforms.
637 * sysdeps/unix/sysv/linux/Versions: Remove reboot here.
639 1998-10-23 Ulrich Drepper <drepper@cygnus.com>
641 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOFOLLOW): New
643 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
644 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
645 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_LARGEFILE,
646 O_NOFOLLOW, O_DIRECT): New macros.
647 (O_DIRECTORY): Correct definition according to official 2.1.126.
648 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECTORY,
649 O_NOFOLLOW): New macros.
651 1998-10-24 Roland McGrath <roland@baalperazim.frob.com>
653 * include/ldsodefs.h: Test HAVE_ELF instead of __ELF__.
655 * sysdeps/mach/hurd/opendir.c (__opendir): Return ENOENT for "".
656 (__opendir): Add trailing slash to name for open, for ENOTDIR check.
658 1998-10-23 Ulrich Drepper <drepper@cygnus.com>
660 * sysdeps/unix/sysv/linux/i386/Dist: Add setresuid.c, setresgid.c,
661 setfsuid.c, and setfsgid.c.
662 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
663 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
664 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
666 * version.h (VERSION): Bump to 2.0.99.
668 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove duplicate
671 * sysdeps/unix/sysv/linux/i386/Dist: Remove s_pread64.c and
674 * posix/fnmath.h: Don't redefine __P when used in glibc.
675 * posix/glob.h: Likewise.
677 * inet/rcmd.c (__ivaliduser2): Fix memory leak.
678 Patch by Dick Streefland <dick_streefland@tasking.com>.
680 * stdio-common/tst-ungetc.c: Add more test cases.
682 * sysdeps/unix/sysv/linux/Dist: Add linux_fsinfo.h.
683 * sysdeps/unix/sysv/linux/fstatvfs.c: Move filesystem magic number
685 * sysdeps/unix/sysv/linux/linux_fsinfo.h: ...here. New file.
686 * sysdeps/unix/sysv/linux/fpathconf.c: New file.
687 * sysdeps/unix/sysv/linux/pathconf.c: New file.
688 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Handle _PC_LINK_MAX here.
689 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
691 1998-10-20 Philip Blundell <pb@nexus.co.uk>
693 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Include
694 <asm/ptrace.h> to define struct pt_regs.
695 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Don't bother
696 including <asm/ptrace.h> here.
698 * sysdeps/unix/sysv/linux/arm/sysdep.S: Remove spurious call to
701 1998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
703 * sysdeps/generic/sys/ptrace.h (__ptrace_request): Remove comma at
704 end of enumerator list.
705 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Likewise.
706 * posix/wordexp.h: Likewise.
708 * db/db.h: Use __PMT instead of __P in typedefs.
709 * db/mpool.h: Likewise.
710 * sysdeps/generic/bits/siginfo.h: Likewise.
711 * nis/rpcsvc/ypclnt.h: Likewise.
713 1998-10-23 Ulrich Drepper <drepper@cygnus.com>
715 * libio/genops.c (_IO_seekmark): When switching to backup buffer
716 make sure all characters from the read buffer are read after
717 switching back to it.
719 1998-10-22 Ulrich Drepper <drepper@cygnus.com>
721 * configure.in: Add support for Cygnus GNUPro compilers.
723 1998-10-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
725 * stdio/stdio.h: Use __PMT instead of __P in typedefs.
727 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use __PMT instead
728 of __P for sa_restorer.
729 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
730 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
731 kernel_sigaction, old_kernel_sigaction): Likewise.
733 1998-10-22 Ulrich Drepper <drepper@cygnus.com>
735 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add __syscall_pread
736 and __syscall_pwrite aliases.
738 * sunrpc/rpc/auth.h (AUTH_DH): New macro. Alias for AUTH_DES.
740 * sysdeps/unix/sysv/linux/i386/sysdep.h: Drastically simplify and
741 improve INLINE_SYSCALL using macro assembler magic.
743 1998-10-22 H.J. Lu <hjl@gnu.org>
745 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Add
747 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
749 * sysdeps/posix/fpathconf.c (__fpathconf): Set errno to
750 EINVAL if errno == ENODEV. Tested by VSX-PCT.
752 * sysdeps/posix/isatty.c (__isatty): Don't reset errno. Tested
755 * posix/execvp.c (execvp): Check "". Tested by VSX-PCT.
757 1998-10-22 Philip Blundell <pb@nexus.co.uk>
759 * sysdeps/unix/arm/sysdep.h: Wrap assembler macros in #ifdef
762 1998-10-21 Ulrich Drepper <drepper@cygnus.com>
764 * sysdeps/unix/sysv/linux/i386/sysdep.h: Remove EXTRAVARS_* macros
767 1998-10-21 14:38 Ulrich Drepper <drepper@cygnus.com>
769 * sysdeps/unix/sysdep.h (INLINE_SYSCALL): New macro. Simply call
770 __syscall_* function.
771 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use INLINE_SYSCALL instead
772 of calling __syscall_* function.
773 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
774 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
775 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
776 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
777 * sysdeps/unix/sysv/linux/getpriority.c: Likewise.
778 * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
779 * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
780 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
781 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
782 * sysdeps/unix/sysv/linux/poll.c: Likewise.
783 * sysdeps/unix/sysv/linux/pread.c: Likewise.
784 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
785 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
786 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
787 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
788 * sysdeps/unix/sysv/linux/readv.c: Likewise.
789 * sysdeps/unix/sysv/linux/reboot.c: Likewise.
790 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
791 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
792 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
793 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
794 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
795 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
796 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
797 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
798 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
799 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
800 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
801 * sysdeps/unix/sysv/linux/writev.c: Likewise.
802 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
803 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
804 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
805 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
806 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
807 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
808 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
809 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
810 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
811 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
812 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
813 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
814 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
816 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define INLINE_SYSCALL using
818 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove various
819 __syscall_* definitions.
821 * sysdeps/unix/sysv/linux/syscalls.list: Move various __syscall_*
823 * sysdeps/unix/sysv/linux/alpha/syscalls.list: ...here...
824 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
825 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
826 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
827 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
828 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
829 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
831 * sysdeps/unix/sysv/linux/Makefile [subdir=signal] (sysdep_routines):
832 Move definition to...
833 * sysdeps/unix/sysv/linux/alpha/Makefile: ...here...
834 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
835 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
836 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
837 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
838 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
839 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
841 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
842 (sysdep_routines): Remove s_pread64 and s_pwrite64.
844 * sysdeps/unix/sysv/linux/i386/pread.c: New file.
845 * sysdeps/unix/sysv/linux/i386/pread64.c: New file.
846 * sysdeps/unix/sysv/linux/i386/pwrite.c: New file.
847 * sysdeps/unix/sysv/linux/i386/pwrite64.c: New file.
848 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Removed.
849 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Removed.
851 1998-10-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
853 * sysdeps/unix/sysv/linux/siglist.h: Fix some typos in these files
854 and bring them in synch.
855 * sysdeps/unix/siglist.c: Likewise.
856 Reported by Vladimir Michl <michlv@risc.upol.cz> [PR libc/832].
858 1998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
860 * sysdeps/unix/sysv/linux/i386/setresuid.c: Allow -1 as arguments.
861 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
863 * sysdeps/unix/sysv/linux/i386/setreuid.c: New file.
864 * sysdeps/unix/sysv/linux/i386/setregid.c: New file.
865 * sysdeps/unix/sysv/linux/m68k/setreuid.c: New file.
866 * sysdeps/unix/sysv/linux/m68k/setregid.c: New file.
867 * sysdeps/unix/sysv/linux/arm/setreuid.c: New file.
868 * sysdeps/unix/sysv/linux/arm/setregid.c: New file.
869 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: New file.
870 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: New file.
871 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_setreuid and
873 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
874 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
875 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
877 1998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
879 * sunrpc/rpc_main.c (close_output, close_input): New functions.
880 (c_output, h_output, s_output, l_output, t_output, svc_output,
881 clnt_output, mkfile_output): Call them at the end.
883 1998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
885 * db/Makefile (LDFLAGS-db1.so): New variable, to avoid duplicating
888 1998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
890 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Add real contents.
891 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add s_setfs[ug]id.
893 1998-10-20 Ulrich Drepper <drepper@cygnus.com>
895 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_pread64 and
897 * sysdeps/unix/sysv/linux/powerpc/pread.c: New file.
898 * sysdeps/unix/sysv/linux/powerpc/pread64.c: New file.
899 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: New file.
900 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: New file.
901 Patch by Geoffrey KEATING <geoffk@discus.anu.edu.au>.
903 1998-10-18 Zack Weinberg <zack@rabi.phys.columbia.edu>
905 * sysdeps/unix/opendir.c: Check at runtime for kernel support for
908 1998-10-20 H.J. Lu <hjl@gnu.org>
910 * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Fix
913 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
915 * math/tgmath.h: Make nested function calls work.
917 * include/ldsodefs.h: Fix typo.
919 * posix/Makefile (tests): Add tst-preadwrite.
920 * posix/tst-preadwrite.c: New file.
922 * sysdeps/unix/opendir.c (__opendir): Add back fstat call to make
923 sure that descriptor is in any case for a directory.
925 1998-10-19 18:59 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
927 * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG): Fix typo: val -> Val.
928 (atan2): Takes two arguments.
930 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
932 * include/ldsodefs.h: New file.
934 * iconv/gconv.c: Include ldsodefs.h, not elf/ldsodefs.h.
935 Remove change to avoid using _CALL_DL_FCT.
936 * iconv/gconv_db.c: Likewise.
937 * iconv/gconv_dl.c: Likewise.
938 * iconv/skeleton.c: Likewise, here for DL_CALL_FCT.
939 * malloc/mtrace.c: Include ldsodefs.h, not elf/ldsodefs.h.
940 * nss/nsswitch.c: Likewise.
941 * nss/nsswitch.h: Likewise.
943 1998-10-19 Philip Blundell <pb@nexus.co.uk>
945 * sunrpc/Makefile (otherlibs): If static NSS is in use, set to the
947 * login/Makefile (otherlibs): Likewise.
948 * nscd/Makefile (otherlibs): Likewise.
949 * Makeconfig (link-libc) [! build_shared]: Add $(otherlibs).
951 * debug/Makefile (install-bin): Only build catchsegv if using ELF.
953 * inet/Makefile: Add -DSTATIC_NSS to CFLAGS.
955 1998-10-19 Philip Blundell <pb@nexus.co.uk>
957 * sysdeps/unix/sysv/linux/arm/syscalls.list: Added setfsgid
960 1998-10-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
962 * nscd/connections.c: Fix typos in comments and strings.
964 * nscd/nscd.conf: Update according to recent changes to nscd.
966 * nscd/cache.c (prune_cache): Remove wrong comment.
968 1998-10-19 13:24 Ulrich Drepper <drepper@cygnus.com>
970 * locale/programs/ld-collate.c (collate_startup): Clear bit for this
971 category in copy_posix.
972 (collate_finish): Don't warn about UNDEFINED not being defined.
973 * locale/programs/ld-ctype.c (ctype_startup): Clear bit for this
974 category in copy_posix.
975 * locale/programs/ld-messages.c (messages_startup): Likewise.
976 * locale/programs/ld-monetary.c (monetary_startup): Likewise.
977 * locale/programs/ld-numeric.c (numeric_startup): Likewise.
978 * locale/programs/ld-time.c (time_startup): Likewise.
979 * locale/programs/localedef.c: Move copy_def_list_t definition into
980 locales.h. Define copy_posix variable.
981 (main): Before processing copy list add ©_posix to copy_list.
982 * locale/programs/locales.h: Add definition of copy_def_list_t.
983 * locale/programs/locfile.c: Clear bit for appropriate category in
984 copy_posix.mask for copy instruction.
986 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
988 * sysdeps/unix/sysv/linux/i386/setresgid.c: Remove #include of
989 non-existing file with generic implementation.
990 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
992 1998-10-19 Philip Blundell <pb@nexus.co.uk>
994 * iconv/gconv_db.c: Include ELF header only if STATIC_GCONV is not
995 defined. Avoid using _CALL_DL_FCT if it is not defined.
996 * iconv/gconv.c: Likewise.
998 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
1000 * nscd/connections.c (dbs): Define defualt values for timeouts and
1001 set enabled to 0 by default.
1002 (CACHE_PRUNE_INTERVAL): New constant. Use it instead of magical 15 in
1005 * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISCNTRL bit for
1007 (_nl_C_LC_CTYPE_class32): Likewise.
1010 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
1012 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
1013 _HURD_THREADVAR_DL_ERROR.
1015 * hurd/Makefile (user-interfaces): Add login, password.
1017 * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses.
1019 1998-08-06 Mark Kettenis <kettenis@phys.uva.nl>
1021 [submitted 1998-08-06]
1022 * mach/Machrules: Create target directory and force re-evaluation
1023 of Makefile to prevent `make' from optimizing away most of the
1024 implicit rules and `vpath' directives.
1026 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
1028 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): If _hurd_msgport_thread
1029 is null, short-circuit to __mach_msg.
1031 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): New function,
1032 broken out of init1.
1033 (init1) [PIC]: Call it.
1034 (__libc_init_first) [! PIC]: Call it.
1036 * sysdeps/mach/hurd/i386/init-first.c (init1): Don't call
1037 __libc_init_secure. Instead set __libc_enable_secure here from
1039 (__libc_enable_secure): New variable it.
1040 * sysdeps/mach/hurd/enbl-secure.c: New file, empty placeholder module.
1042 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
1044 * nscd/nscd-client.h: New file, broken out of "nscd.h".
1045 * nscd/nscd.h: Move defns needed by clients to "nscd-client.h",
1047 * nscd/Makefile (distribute): Add nscd-client.h.
1048 * nscd/nscd_getgr_r.c, nscd/nscd_gethst_r.c, nscd/nscd_getpw_r.c:
1049 Include "nscd-client.h" instead of "nscd.h"
1051 1998-10-18 Ulrich Drepper <drepper@cygnus.com>
1053 * sysdeps/posix/getcwd.c (__getcwd): Don't stop processing
1054 directory entries when a lstat call fails.
1055 Patch by Colin Plumb <colin@nyx.net>.
1057 * resolv/nss_dns/dns-host.c: Add missing errnop parameter to the
1059 * resolv/nss_dns/dns-network.c: Likewise.
1061 * grp/Makefile: Don't search for linuxthreads in add-ons, use
1062 have-thread-library to determine whether threads are available.
1063 * pwd/Makefile: Remove wrong comment.
1065 * inet/Makefile: Define CFLAGS-gethstbyad_r.c, CFLAGS-gethstbynm_r.c,
1066 and CFLAGS-gethstbynm2_r.c to -DUSE_NSCD=1.
1068 * locale/C-messages.c: Define default strings for YESTR and NOSTR.
1070 * nss/Versions: Add __nss_hosts_lookup.
1072 * nss/getXXbyYY.c: Remove unneeded assignment.
1074 * nss/getXXbyYY_r.c: Include nscd/nscd_proto.h only if needed.
1076 Almost complete rewrite of the NSCD to make it smaller, faster,
1077 add more functionnality and make it easier to extend.
1078 * nscd/Makfile (routines): Add nscd_gethst_r.
1079 (nscd-modules): Add hstcache, gethstbyad_r, gethstbynm2_r, and cache.
1080 * nscd/cache.c: New file.
1081 * nscd/gethstbyad_r.c: New file.
1082 * nscd/gethstbynm2_r.c: New file.
1083 * nscd/hstcache.c: New file.
1084 * nscd/nscd_gethst_r.c: New file.
1085 * nscd/connections.c: Rewritten. Don't start new thread for every
1086 new connection. Use a fixed set of threads which handle all
1087 connections and also the cache cleanup.
1088 * nscd/grpcache.c: Rewritten to use generic cache handling functions
1090 * nscd/nscd.c: Recognize new parameter nthreads. Adjust initialization
1091 for rewrite. Remove handle_requests function.
1092 * nscd/nscd.h (NSCD_VERSION): Bump to 2.
1093 Define new data structure for the new unified cache and the host
1095 * nscd/nscd_conf.c: Rewrite parsing partly to allow adding of more
1096 databases easily. Recognize check-files and threads definitions.
1097 * nscd/nscd.conf: Add definition of enable-cache and check-files to
1098 passwd and group definitions. Add new set of definitions for hosts.
1099 * nscd/nscd_getgr_r.c: Rewrite for new protocol.
1100 * nscd/nscd_getpw_r.c: Likewise.
1101 * nscd/nscd_proto.h: Add prototype for host database functions.
1102 * nscd/nscd_stat.c: Rewrite to simplify printing of information
1104 * nscd/dbg_log.c: Remove unnecessary variable initializations.
1105 Global variable debug_flag is renamed to dbg_level.
1106 * nscd/dbg_log.h: Declare set_logfile.
1108 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
1110 * sysdeps/unix/sysv/linux/bits/fcntl.h: Add dummy definition of
1113 1998-10-16 Paul Eggert <eggert@shade.twinsun.com>
1115 * time/mktime.c: Some systems require <unistd.h> to be
1116 included before <time.h> for localtime_r to be declared
1118 * time/strftime.c: Likewise.
1120 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
1122 * db/Makefile: Add rule to generate shared object with the soname
1125 * sysdeps/unix/opendir.c: Use O_DIRECTORY if available. If not
1126 available double check to verify it's a directory.
1128 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add O_DIRECTORY.
1129 * sysdeps/unix/sysv/linux/mips/bits/fcntl: Likewise.
1130 * sysdeps/unix/sysv/linux/bits/fcntl.h: Remove O_* constants which
1131 are not generally available.
1132 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: New file.
1134 * sysdeps/unix/sysv/linux/i386/setgroups.c: Add range check for values.
1135 * sysdeps/unix/sysv/linux/arm/Makefile: New file.
1136 * sysdeps/unix/sysv/linux/arm/setegid.c: New file.
1137 * sysdeps/unix/sysv/linux/arm/seteuid.c: New file.
1138 * sysdeps/unix/sysv/linux/arm/setfsgid.c: New file.
1139 * sysdeps/unix/sysv/linux/arm/setfsuid.c: New file.
1140 * sysdeps/unix/sysv/linux/arm/setgid.c: New file.
1141 * sysdeps/unix/sysv/linux/arm/setgroups.c: New file.
1142 * sysdeps/unix/sysv/linux/arm/setresgid.c: New file.
1143 * sysdeps/unix/sysv/linux/arm/setresuid.c: New file.
1144 * sysdeps/unix/sysv/linux/arm/setuid.c: New file.
1145 * sysdeps/unix/sysv/linux/i386/setegid.c: New file.
1146 * sysdeps/unix/sysv/linux/i386/seteuid.c: New file.
1147 * sysdeps/unix/sysv/linux/i386/setfsgid.c: New file.
1148 * sysdeps/unix/sysv/linux/i386/setfsuid.c: New file.
1149 * sysdeps/unix/sysv/linux/i386/setgid.c: New file.
1150 * sysdeps/unix/sysv/linux/i386/setgroups.c: New file.
1151 * sysdeps/unix/sysv/linux/i386/setresgid.c: New file.
1152 * sysdeps/unix/sysv/linux/i386/setresuid.c: New file.
1153 * sysdeps/unix/sysv/linux/i386/setuid.c: New file.
1154 * sysdeps/unix/sysv/linux/m68k/setegid.c: New file.
1155 * sysdeps/unix/sysv/linux/m68k/seteuid.c: New file.
1156 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: New file.
1157 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: New file.
1158 * sysdeps/unix/sysv/linux/m68k/setgid.c: New file.
1159 * sysdeps/unix/sysv/linux/m68k/setgroups.c: New file.
1160 * sysdeps/unix/sysv/linux/m68k/setresgid.c: New file.
1161 * sysdeps/unix/sysv/linux/m68k/setresuid.c: New file.
1162 * sysdeps/unix/sysv/linux/m68k/setuid.c: New file.
1163 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
1164 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
1165 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: New file.
1166 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: New file.
1167 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: New file.
1168 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
1169 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file.
1170 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file.
1171 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: New file.
1173 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add s_setgid, s_setresuid,
1174 s_setresgid, and s_setuid.
1175 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1176 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
1177 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1178 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
1179 (sysdep_routines): Add setfsgid, setfsuid, setresgid, and setresuid.
1180 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1181 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
1183 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
1185 * time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get
1186 localtime_t declaration on some systems.
1188 1998-10-16 10:07 Ulrich Drepper <drepper@cygnus.com>
1190 * iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to
1192 * iconv/skeleton.c: Include ELF header only of STATIC_GCONV is not
1193 defined. Avoid using DL_CLL_FCT if it is not defined.
1195 1998-10-16 10:40 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1197 * resolv/arpa/nameser.h: Include sys/types.h unconditionally.
1198 Include endian.h unconditionally. Remove portability goop
1199 depending on #ifdef linux, #ifdef BSD, #ifdef machine-type.
1201 1998-10-16 11:39 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1203 * sunrpc/rpc/types.h: Mark file so fixincludes won't modify it.
1205 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
1207 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios
1208 again. Use char[44] to define size of the struct.
1210 * sysdeps/unix/sysv/linux/arm/Dist: Add bits/armsigctx.h.
1212 1998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1214 * string/bits/string2.h (strcmp): Don't cache the result of
1215 __builtin_constant_p in variables, otherwise constant folding
1216 can fail in big functions.
1218 1998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1220 * string/bits/string2.h: Add prototypes for the new inline
1223 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
1225 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to
1226 have all types defined.
1227 Patch by Matti Aarnio <matti.aarnio@sonera.fi>.
1229 1998-10-08 Paul Eggert <eggert@twinsun.com>
1231 * time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r.
1232 Define also if HAVE_LOCALTIME_R && defined localtime_r, with
1233 a body that merely expands localtime_r; this works around a
1234 bug in Digital Unix 4.0A and 4.0D.
1236 1998-10-14 Ulrich Drepper <drepper@cygnus.com>
1238 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl.
1239 * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define
1240 __ioctl to __syscall_ioctl and include Linux version of this file.
1241 * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
1242 * sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file. Redirect
1243 ioctl calls which handle struct termios.
1244 Based on a patch by Dan Jacobowitz <drow@false.org>.
1246 1998-10-14 Ulrich Drepper <drepper@cygnus.com>
1248 * version.h (VERSION): Bump to 2.0.98.
1250 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios
1251 here instead of including kernel_termios.h.
1253 1998-10-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1255 * sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is
1256 unnecessary after the changes of 1998-10-12.
1258 1998-10-13 Ulrich Drepper <drepper@cygnus.com>
1260 * sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output
1261 parameter format string.
1262 (inline_outw): Likewise.
1264 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include
1265 string.h to get memcpy prototype and NULL definition.
1267 1998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1269 * misc/sys/cdefs.h (__THROW): New macro.
1270 * argp/argp.h: Use it to replace the kludgey __P in inline
1271 function definitions.
1272 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1273 * stdlib/stdlib.h: Likewise.
1274 * wcsmbs/wchar.h: Likewise.
1275 * libio/stdio.h: Likewise.
1276 * stdio/stdio.h: Likewise.
1277 * sysdeps/wordsize-64/inttypes.h: Likewise.
1278 * sysdeps/wordsize-32/inttypes.h: Likewise.
1279 * string/argz.h: Likewise.
1280 * io/sys/stat.h: Likewise.
1282 1998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1284 * Rules (stdio_lim): New variable.
1285 ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend
1286 on Rules and config.make, use $(move-if-change) to avoid unnessary
1287 recompilations, and cleanup command.
1288 (common-generated): Add bits/stdio_lim.st.
1290 1998-10-12 Ulrich Drepper <drepper@cygnus.com>
1292 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): New
1293 variable to prevent warnings from use of modern CPU instructions.
1294 Patch by Richard Henderson <rth@cygnus.com>.
1296 * sysdeps/unix/opendir.c: Test whether NAME is directory before
1299 1998-10-12 Philip Blundell <pb@nexus.co.uk>
1301 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Add missing
1302 semicolon so that profiling works.
1304 1998-10-12 Roland McGrath <roland@baalperazim.frob.com>
1306 * sysdeps/generic/glob.c: #undef mempcpy before #define.
1308 * sysdeps/unix/bsd/clock.c: Use prototype defns.
1310 1998-10-11 Ulrich Drepper <drepper@cygnus.com>
1312 * Rules [posix in sysdirs]: Set L_tmpnam to 20.
1313 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
1315 * string/bits/string2.h [!_STRING_ARCH_unaligned]
1316 (__mempcpy_small): Add parameter for 1 byte copy and use it.
1317 Reported by Geoff Keating <geoffk@ozemail.com.au>.
1319 1998-10-09 Mark Kettenis <kettenis@phys.uva.nl>
1321 * sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove,
1322 it is already defined in <bits/environments.h>.
1324 1998-10-09 Ulrich Drepper <drepper@cygnus.com>
1326 * posix/ptestcases.h: Fix typo.
1328 1998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1330 * posix/regex.c (regcomp): Allocate and prepare a fastmap.
1331 (regexec): Allocate regs.start and regs.end as one block.
1333 1998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1335 * sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of
1338 1998-10-08 Philip Blundell <pb@nexus.co.uk>
1340 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of
1341 sigcontext union to ...
1342 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here. New
1344 * sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for
1345 version 2.0 kernels.
1347 1998-10-08 Ulrich Drepper <drepper@cygnus.com>
1349 * malloc/mtrace.c (tr_reallochook): Produce better output for real
1352 * signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined.
1353 * argp/argp-xinl.c: Likewise.
1355 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing
1357 Patch by Christian Gafton.
1359 1998-10-08 Paul Eggert <eggert@twinsun.com>
1361 * time/mktime.c (__mktime_internal): When the requested time falls
1362 in a spring-forward gap of size DT, return a time that is DT away
1363 from the requested time, preferring a time whose tm_isdst differs
1364 from the requested value. Bump the max number of probes from 4 to
1365 6 to account for the extra probes needed to discover a
1366 spring-forward gap in the worst case.
1368 1998-10-07 17:05 Ulrich Drepper <drepper@cygnus.com>
1370 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection
1371 of the weird alpha architectures.
1372 Patch by Cristian Gafton <gafton@redhat.com>.
1374 1998-02-18 23:31 Richard Henderson <rth@cygnus.com>
1376 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
1377 RAWHIDE and TSUNAMI. Patch from Jay.Estabrook@digital.com.
1379 1998-10-07 Ulrich Drepper <drepper@cygnus.com>
1381 * elf/dl-open.c (_dl_global_scope_alloc): Make global.
1382 (dl_open_worker): Use realloc, not malloc to resize array.
1383 * elf/rtld.c (_dl_initial_searchlist): New variable.
1384 (_dl_main): Copy content of _dl_main_searchlist to
1385 _dl_initial_searchlist.
1386 * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and
1387 _dl_global_scope_alloc.
1388 * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist.
1389 * elf/dl-close.c (_dl_close): When removing object with global
1390 scope remove allocated searchlist if no dynamically loaded object
1392 * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope.
1393 (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist.
1395 * malloc/mtrace.c (tr_where): Don't print space in location string,
1396 print it afterwards. Print better symbol name information.
1398 1998-10-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1400 * manual/filesys.texi (Setting Permissions): Fix example for
1403 1998-10-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1405 * elf/sprof.c (load_profdata): Fix typo in error message.
1407 1998-10-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1409 * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
1412 1998-10-04 Roland McGrath <roland@baalperazim.frob.com>
1414 * mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it.
1416 1998-10-06 Ulrich Drepper <drepper@cygnus.com>
1418 * version.h (VERSION): Bump to 2.0.97.
1420 1998-10-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1422 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P
1423 in definitions of inline stat functions so that they match the
1425 * stdlib/stdlib.h: Likewise.
1426 * wcsmbs/wchar.h: Likewise.
1427 * libio/stdio.h: Likewise.
1428 * stdio/stdio.h: Likewise.
1429 * sysdeps/wordsize-64/inttypes.h: Likewise.
1430 * sysdeps/wordsize-32/inttypes.h: Likewise.
1431 * string/argz.h: Likewise.
1432 * argp/argp.h: Likewise.
1434 1998-10-06 Ulrich Drepper <drepper@cygnus.com>
1436 * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
1439 1998-10-05 Philip Blundell <philb@gnu.org>
1441 * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures
1442 and constants. Tidy up formatting a little.
1444 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6):
1445 Move definitions to in.h.
1447 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1449 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER,
1450 SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added.
1451 Remove inclusion of <linux/swap.h>.
1453 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
1455 * io/sys/stat.h: Use __P in definitions of inline stat functions
1456 so that they match the declaration.
1458 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1460 * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added.
1462 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1464 * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current
1467 1998-10-02 Philip Blundell <pb@nexus.co.uk>
1469 * sysdeps/arm/dl-machine.h: Fix typo in last change.
1471 * sysdeps/arm/bits/huge_val.h: New file.
1473 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1475 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added.
1477 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add
1480 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
1482 * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to
1483 store result of realloc instead of using BUF.
1485 1998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1487 * misc/sgtty.h (_SGTTY_H): Correct spelling.
1488 Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817].
1490 1998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1492 * manual/memory.texi (Obstacks): Document
1493 obstack_alloc_failed_handler usage.
1495 * malloc/obstack.h: Enhance comment about
1496 obstack_alloc_failed_handler usage.
1497 * malloc/obstack.c: Likewise.
1499 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
1501 * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or
1502 gcc before 2.8 is used.
1504 1998-10-01 Philip Blundell <pb@nexus.co.uk>
1506 * sysdeps/arm/machine-gmon.h: Correct args to mcount(). Patch
1507 from Scott Bambrough.
1509 * sysdeps/unix/sysv/linux/arm/register-dump.h: New file.
1511 * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
1512 include the lock member.
1514 1998-09-03 Philip Blundell <pb@nexus.co.uk>
1516 * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.
1518 1998-10-01 Ulrich Drepper <drepper@cygnus.com>
1520 * timezone/zic.c: Update from tzcode1998h.
1521 * timezone/europe: Update from tzdata1998i.
1522 * timezone/southamerica: Likewise.
1524 * sys/types.h: Protect use of long long by __extension__.
1525 * stdlib/stdlib.h: Likewise.
1526 * string/string.h: Likewise.
1527 * sysdeps/i386/bits/byteswap.h: Likewise.
1528 * sysdeps/geeric/bits/byteswap.h: Likewise.
1529 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
1530 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1531 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1532 * sysdeps/wordsize-32/inttypes.h: Likewise.
1533 * sysdeps/wordsize-32/stdint.h: Likewise.
1534 * wcsmbs/wchar.h: Likewise.
1536 1998-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1538 * string/bits/string2.h (__string2_1bptr_p): Don't use a statement
1540 (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
1541 __strsep): Greatly reduce size of expansion by combining common
1543 (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
1545 (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
1546 by the above definitions.
1548 1998-09-27 Geoff Keating <geoffk@ozemail.com.au>
1550 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
1551 correct struct ipc_perm definition.
1553 1998-09-29 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1555 * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.
1557 1998-09-29 Cristian Gafton <gafton@redhat.com>
1559 * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
1560 * sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
1561 * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
1562 * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
1563 Add net/if_shaper.h.
1565 1998-09-29 Ulrich Drepper <drepper@cygnus.com>
1567 * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.
1569 * nis/ypclnt.c: Remove not needed close calls.
1571 1998-09-28 23:55 Ulrich Drepper <drepper@cygnus.com>
1573 * nis/ypclnt.c (__yp_bind): Pretty print. Optimize readv result
1574 check a bit. Also close socket of domain client. Close socket
1575 in IPPORT_RESERVED error case.
1577 1998-09-28 Ulrich Drepper <drepper@cygnus.com>
1579 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
1580 CMSG_ALIGN (fixes a bug) and correct test for availability of
1582 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
1584 (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
1585 availability of another entry.
1588 * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
1591 * libio/libio.h [!__STDC__]: Define const only if not defined.
1593 1998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1595 * posix/annexc.c (xsystem): New function. Use it instead of
1598 1998-09-28 Ulrich Drepper <drepper@cygnus.com>
1600 * stdlib/longlong.h: Remove #endif for #if removed in last change.
1602 1998-09-25 Ulrich Drepper <drepper@cygnus.com>
1604 * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
1605 Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
1606 allow using `ut' parameter.
1607 [!emacs]: Define ut_argument, ut_argument_spec, and
1608 ut_argument_spec_iso as empty. Define ut to 0. Add ut_argument and
1609 argument_spec to prototypes and definitions.
1610 (my_strftime): Don't call tzset of ut != 0.
1611 Compute diff as 0 is ut != 0;
1612 [emacs]: Define new emacs_strftime function.
1613 Based on a patch by Paul Eggert.
1615 1998-09-24 Paul Eggert <eggert@twinsun.com>
1617 * time/strftime.c (my_strftime): When asking for the length of the
1618 subformatted buffer, do not limit the length to look for;
1619 otherwise, we have no reliable way to distinguish between the
1620 empty buffer and an error.
1622 1998-09-25 Ulrich Drepper <drepper@cygnus.com>
1624 * math/Makefile (gmp-objs): Add mp_clz_tab.
1626 1998-09-25 David S. Miller <davem@pierdol.cobaltmicro.com>
1628 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
1630 * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
1631 cpus lacking hardware multiply and divide.
1633 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1635 * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
1638 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1640 * db/btree/bt_delete.c: Fix -Wparentheses warning.
1642 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1644 * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
1647 1998-09-24 Ulrich Drepper <drepper@cygnus.com>
1649 * debug/catchsegv.sh: Also produce output if clone process died.
1651 1998-09-24 Paul Eggert <eggert@twinsun.com>
1653 * time/strftime.c (f_wkday): Remove duplicate definition.
1654 (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
1655 !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
1656 1998-09-11 fix to this case.
1657 (wkday_len, month_len): Remove these macros; they're no longer needed.
1659 1998-09-24 Paul Eggert <eggert@twinsun.com>
1661 * time/strftime.c (my_strftime): Don't store past the end of a
1664 1998-09-24 Paul Eggert <eggert@twinsun.com>
1666 * time/strftime.c (underlying_strftime):
1667 Set the buffer to a nonzero value before calling
1668 strftime, and check to see whether strftime has set the buffer to zero.
1669 This lets us distinguish between an empty buffer and an error.
1671 1998-09-24 Paul Eggert <eggert@shade.twinsun.com>
1673 * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
1674 This fix is propagated from tzcode1998g.tar.gz.
1676 1998-09-24 Mark Kettenis <kettenis@phys.uva.nl>
1678 * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
1679 _sys_siglist. [!HAVE_GNU_LD]: Do not define _sys_siglist as
1680 sys_siglist. This is handled correctly by the weak_alias macro.
1682 1998-09-24 Ulrich Drepper <drepper@cygnus.com>
1684 * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
1685 of mempcpy. Reported by Andreas Jaeger.
1687 * misc/regexp.h (compile): Use alloca instead of __alloca. It won't
1688 pollute the namespace since the compiler will resolve it inline.
1689 Reported by Florian La Roche <florian@suse.de>.
1691 1998-09-24 10:29 Ulrich Drepper <drepper@cygnus.com>
1693 * timezone/private.h: Update from tzcode1998g.
1695 * timezone/africa: Update from tzdata1998h.
1696 * timezone/asia: Likewise.
1697 * timezone/australasia: Likewise.
1698 * timezone/europe: Likewise.
1699 * timezone/northamerica: Likewise.
1700 * timezone/southamerica: Likewise.
1701 * timezone/zone.tab: Likewise.
1703 1998-09-23 17:28 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1705 * misc/sys/mman.h: New file.
1707 * sysdeps/generic/bits/mman.h: New file.
1708 * sysdeps/unix/bsd/osf/bits/mman.h: New file.
1709 * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
1710 * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
1711 * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
1713 * sysdeps/generic/sys/mman.h: Removed.
1714 * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
1715 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
1716 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
1717 * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
1718 * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
1720 * include/sys/mman.h: Look directly for misc/sys/mman.h.
1721 * misc/Makefile (headers): Add bits/mman.h.
1722 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
1725 * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
1726 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
1727 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
1728 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
1729 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
1730 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
1731 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
1732 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
1734 1998-09-23 16:27 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1736 * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
1737 * sysdeps/mach/alpha/thread_state.h: Likewise.
1738 * sysdeps/mach/i386/sysdep.h: Likewise.
1739 * sysdeps/mach/i386/thread_state.h: Likewise.
1740 * sysdeps/mach/mips/sysdep.h: Likewise.
1741 * sysdeps/mach/mips/thread_state.h: Likewise.
1742 * sysdeps/posix/profil.c: Likewise.
1743 * sysdeps/i386/i586/memcopy.h: Likewise.
1744 * sysdeps/mach/pagecopy.h: Likewise.
1746 1998-09-23 15:25 Ulrich Drepper <drepper@cygnus.com>
1748 * libio/stdio.h: Define __need_getopt and include getopt.h to define
1750 * posix/unistd.h: Likewise.
1751 * stdio/stdio.h: Likewise.
1752 * posix/getopt.h: Remove _GNU_SOURCE use. If __need_getopt is defined
1753 define only getopt and the variables.
1755 1998-09-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1757 * scripts/test-installation.pl (installation_problem): Don't link
1758 the test program against libdb1.
1760 1998-09-23 13:52 Ulrich Drepper <drepper@cygnus.com>
1762 * Makeconfig (all-subdirs): Add db.
1763 * Versions.def: Add definition for libdb1.
1764 * shlib-versions: Add definitions for libdb1.
1765 * db/Makefile (extra-libs): Replace by libdb1.
1766 (libdb-routines): Rename to libdb1-routines.
1767 (headers): Rename to db1-headers.
1768 (distribute): Add $(db1-headers).
1769 (install-others): Define to install symlink libdb.so.NN and the
1771 (CPPFLAGS): Add -DUSE_LIBDB1
1772 Remove rules to build makedb.
1773 * db/Versions: Rename libdb to libdb1.
1774 * include/db.h: If USE_LIBDB1 is defined include db/db.h.
1775 * db/makedb.c: Removed.
1777 * scripts/versions.awk: Recognize digits in library names.
1779 * db/btree/bt_open.c: Fix compiler warnings.
1780 * db/btree/bt_put.c: Likewise.
1781 * db/btree/bt_split.c: Likewise.
1782 * db/hash/hash.c: Likewise.
1783 * db/hash/hash_bigkey.c: Likewise.
1784 * db/recno/rec_close.c: Likewise.
1786 * Makefile: Add localedata/% goal.
1788 1998-09-22 19:58 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1790 * posix/execvp.c: Don't give up searching the PATH if execve
1793 1998-09-22 12:53 Ulrich Drepper <drepper@cygnus.com>
1795 * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
1796 if _dl_fpu_control_set is set.
1797 * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
1798 * elf/rtld.c: Don't define _dl_fpu_control_set.
1799 * elf/Versions: Remove _dl_fpu_control_set.
1801 1998-09-22 11:51 Ulrich Drepper <drepper@cygnus.com>
1803 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
1804 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
1805 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
1806 Correct values of other SA_* macros according to kernel headers.
1808 1998-09-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1810 * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
1812 * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
1815 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1817 * elf/ldsodefs.h: Fix typo in comment.
1819 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1821 * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
1822 char when comparing buffer contents with putback character.
1824 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1826 * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
1828 * elf/Versions: Undo last change. Export _dl_fpu_control and
1829 _dl_fpu_control_set.
1830 * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
1831 variables. Include <fpu_control.h>.
1832 * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
1833 _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
1834 to indicate that is was seen.
1835 * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
1836 only if _dl_fpu_control was set and is equal to desired value.
1837 * math/Makefile (aux): Undo last change.
1838 * math/Versions: Export __fpu_control with version GLIBC_2.0.
1840 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1842 * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
1845 1998-09-21 10:00 Ulrich Drepper <drepper@cygnus.com>
1847 * string/bits/string2.h: Add mempcpy optimization.
1848 * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
1849 * intl/localealias.c: Define mempcpy only if not already defined.
1851 * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
1854 1998-09-20 10:48 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1856 * csu/abi-note.S: Emit the note directly instead of defining
1857 a preprocessor macro that's only used once. Don't include sysdep.h.
1858 * abi-tags: Generalize Solaris entry.
1860 1998-09-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1862 * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
1863 Change to array to avoid runtime relocation.
1864 * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
1866 1998-09-21 12:22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1868 * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
1869 * math/Makefile ($(objpfx)libieee.a): Likewise.
1871 1998-09-21 Ulrich Drepper <drepper@cygnus.com>
1873 * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
1874 Patch by John Tobey <jtobey@banta-im.com>.
1876 1998-09-20 Ulrich Drepper <drepper@cygnus.com>
1878 * login/Makefile (distribute): Remove pty-internal.h, add
1881 * stdlib/tst-strtol.c: Add more checks.
1882 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
1884 1998-09-20 09:37 Ulrich Drepper <drepper@cygnus.com>
1886 * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
1887 * elf/elf.h: Add AT_FPUCW.
1888 * elf/Makefile (dl-routines): Add fpu_control.
1889 (elide-routines.os): Add fpu_control.
1890 (rtld-routines): Add fpu_control.
1891 * math/Makefile (aux): Remove fpu_control.
1892 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
1893 (_dl_show_auxv): Likewise.
1894 * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
1895 if different from OS default.
1897 * stdio-common/tstscanf.c: Add test case for (nil).
1899 1998-09-18 17:41 Ulrich Drepper <drepper@cygnus.com>
1901 * libio/fileops.c (_IO_new_file_underflow): Before allocating
1902 buffer make sure the pushback buffer is destroyed.
1903 (_IO_new_file_seekoff): Likewise.
1904 If mode==0 quit early with the result.
1905 Clear OEF flag after successful fseek.
1906 * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
1907 * libio/ftello.c (ftello): Add offset from original buffer if
1908 stream has pushed back characters.
1909 * libio/ftello64.c (ftello64): Likewise.
1910 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
1911 * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
1912 * libio/ioftell.c (_IO_ftell): Likewise.
1913 * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
1915 (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
1916 (_IO_default_pbackfail): Only stored push back character in original
1917 buffer if it is the same as the one in the file at this position.
1918 * libio/iofclose.c: Free backup buffer if one is available.
1919 * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
1922 * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
1924 * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
1926 * stdio-common/vfscanf.c: Fix reading (nil) for %p.
1928 1998-09-18 Mark Kettenis <kettenis@phys.uva.nl>
1930 * login/programs/pt_chown.c (more_help): Correct message that
1931 describes the purpose of the program.
1933 * login/openpty.c: Do not include pty-private.h.
1934 (pts_name): New function. Return name of slave pseudo terminal in
1935 an allocated buffer if necessary.
1936 (openpty): Use pts_name to get name of the slave end of the pseudo
1939 * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
1940 pts_name before return.
1942 1998-09-18 11:15 Ulrich Drepper <drepper@cygnus.com>
1944 * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
1946 1998-09-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1948 * login/openpty.c: Include pty-private.h instead of
1951 1998-09-09 Philip Blundell <pb@nexus.co.uk>
1953 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
1955 1998-09-07 Philip Blundell <pb@nexus.co.uk>
1957 * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
1958 recent ld.so changes.
1959 (elf_machine_runtime_setup): Correct behaviour when profiling.
1961 1998-09-17 19:34 Ulrich Drepper <drepper@cygnus.com>
1963 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
1964 Patch by John Tobey <jtobey@banta-im.com>.
1966 1998-09-17 Mark Kettenis <kettenis@phys.uva.nl>
1968 * login/pty-internal.h: Removed. Moved constants related to the
1969 `grantpt' helper program protocol to ...
1970 * login/pty-private.h: ... here. New file.
1971 * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
1972 to make the function work with kernels >= 2.1.115.
1973 * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
1974 version if using the cloning device fails.
1975 * sysdeps/unix/sysv/linux/grantpt.c: New file.
1976 * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
1977 * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
1978 use by Linux specific code.
1979 * sysdeps/unix/bsd/unlockpt.c: General cleanup.
1980 * sysdeps/unix/grantpt.c: Largely rewritten. (pts_name): New
1981 function. (grantpt): Use pts_name, check group and permission
1982 mode in addition to owner. Try to set the owner, group and
1983 permission mode first without invoking the helper program.
1984 * login/programs/pt_chown.c: Largely rewritten. Add argp and
1985 internationalization support. Use symbolic constants instead of
1986 hardwired numbers for permission mode.
1987 * sysdeps/unix/bsd/ptsname.c: New file.
1989 1998-09-17 22:04 Tim Waugh <tim@cyberelk.demon.co.uk>
1991 * posix/wordexp-test.c: Undo last change.
1993 * posix/wordexp.c: Undo last change.
1995 1998-09-16 Ulrich Drepper <drepper@cygnus.com>
1997 * nscd/grpcache.c (save_grp): Partly undo last change.
1999 * nscd/pwdcache.c (save_pwd): Undo last change.
2001 1998-09-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2003 * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
2004 function. Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
2006 1998-09-15 David S. Miller <davem@pierdol.cobaltmicro.com>
2008 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
2009 Add profiling support.
2010 (TRAMPOLINE_TEMPLATE): New macro.
2011 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
2012 (RTLD_START): Prettify, and set __libc_stack_end properly.
2013 (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
2014 and check for sym being NULL instead.
2015 * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
2017 * sysdeps/sparc/sparc64/lshift.S: Likewise.
2018 * sysdeps/sparc/sparc64/mul_1.S: Likewise.
2019 * sysdeps/sparc/sparc64/rshift.S: Likewise.
2020 * sysdeps/sparc/sparc64/submul_1.S: Likewise.
2021 * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
2022 MEDANY code model %g4 usage.
2023 * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
2024 MEDANY code model %g4 usage.
2025 * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
2026 code model address formation.
2027 * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
2028 include elf/ldsodefs.h
2030 (elf_machine_matches_host): It is now EM_SPARCV9.
2031 (elf_machine_dynamic): Clean up to remove ugly cast.
2032 (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
2034 (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
2035 Prettify rest of function.
2036 [R_SPARC_COPY]: Check for sym being NULL.
2037 [R_SPARC_32]: Handle it.
2038 [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
2040 [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
2042 [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
2043 (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
2044 Add profiling support.
2045 (TRAMPOLINE_TEMPLATE): New macro.
2046 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
2047 (RTLD_START): Prettify and set __libc_stack_end.
2048 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
2050 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
2051 (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
2052 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
2053 unused variable scratch.
2054 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2055 (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
2057 (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
2058 stub to rt_sigaction syscalls. Rewrite non-rt case to use correct
2059 old format kernel sigaction structures.
2060 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
2061 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
2062 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
2063 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
2065 (_JMPBUF_UNWINDS): Define.
2066 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
2067 statfs64 structure, which is exactly the same as the normal one.
2068 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
2069 of stack. Use correct syscall trap number. Add branch prediction
2070 settings to branch instructions. Remove old MEDANY code model %g4
2071 referneces for non-PIC.
2072 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
2073 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
2074 * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
2075 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
2076 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2077 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
2078 __libc_longjmp and __libc_siglongjmp strong aliases.
2079 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
2080 Also define to __no__readdir64_decl around readdir.c inclusion.
2081 (__readdir64): Add strong alias.
2082 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
2083 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
2084 Set strong and weak names properly.
2086 1998-09-16 11:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2088 * manual/Makefile (AWK): Default to gawk if standalone.
2090 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2092 * Makefile (distribute): Undo last change.
2093 * Make-dist (+tsrc) [not subdir]: Also include indirection headers
2095 (+subdir-headers): Removed, unused.
2097 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2099 * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
2102 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2104 * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
2105 absolute name in $(config-sysdirs), can never happen.
2106 ($(+sysdir_pfx)sysd-rules): Likewise.
2107 * Makeconfig (full-config-sysdirs): Likewise.
2108 (all-Subdirs-files): Prepend $(..).
2110 * configure.in: Don't check for absolute name in $add_ons_pfx, can
2111 not happen. Let --enable-add-ons=yes work if no add-ons actually
2114 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2116 * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
2117 continuations in command.
2119 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2121 * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
2123 1998-09-16 00:47 Tim Waugh <tim@cyberelk.demon.co.uk>
2125 * posix/wordexp-test.c: If expansion or substitution occurs
2126 anywhere in a word, the entire word is subject to field-splitting.
2128 * posix/wordexp.c (parse_glob): Look for end of word instead of
2129 end of field when deciding what to glob.
2130 (field_split_word): New function, now the only place where
2131 field-splitting is performed.
2132 (parse_dollars): New parameter - tell the caller if
2133 field-splitting should be performed on this word.
2135 * posix/wordexp-test.c (testit): Only call wordfree if wordexp
2136 succeeded (or failed with WRDE_NOSPACE).
2138 1998-09-15 19:53 1998 Tim Waugh <tim@cyberelk.demon.co.uk>
2140 * posix/wordexp.c (wordexp): Don't convert IFS characters to
2143 * posix/wordexp-test.c: Words not the result of expansion or
2144 substitution should remain unchanged.
2146 1998-09-15 Ulrich Drepper <drepper@cygnus.com>
2148 * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
2149 (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
2151 1998-09-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2153 * stdio-common/Makefile: Include Makeconfig so that
2154 $(inst_includedir) is defined.
2156 1998-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2158 * io/pwd.c: Include <mcheck.h>.
2160 1998-09-15 08:00 Ulrich Drepper <drepper@cygnus.com>
2162 * nscd/pwdcache.c (save_pwd): Correct copying.
2163 * nscd/grpcache.c (save_grp): Likewise.
2165 1998-09-14 23:36 Ulrich Drepper <drepper@cygnus.com>
2167 * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
2168 (free_pwd): Adjust for this change.
2169 * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
2170 (free_grp): Adjust for this change.
2172 1998-09-14 Ulrich Drepper <drepper@cygnus.com>
2174 * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
2176 1998-09-14 15:29 Ulrich Drepper <drepper@cygnus.com>
2178 * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
2179 (install-others): Add bits/stdio_lim.h.
2180 Add rule to install bits/stdio_lim.h.
2182 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
2184 * Makefile (distribute): Add include/sys/mman.h.
2186 * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
2187 * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
2188 * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
2190 * grp/initgroups.c: Include stdlib.h.
2191 Patch by Zack Weinberg.
2193 1998-09-14 22:46 Tim Waugh <tim@cyberelk.demon.co.uk>
2195 * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
2196 for field-splitting :abc: is correct, and that two fields should
2197 result. Revert tests to reflect this.
2199 * posix/wordexp.c (w_emptyword): Remove function.
2200 (exec_comm): Don't use w_emptyword.
2201 (parse_param): Likewise.
2203 1998-09-14 15:00 Ulrich Drepper <drepper@cygnus.com>
2205 * sysdeps/arm/fpu/Dist: Moved to...
2206 * sysdeps/arm/Dist: ...here.
2207 * sysdeps/posix/Dist: Removed.
2208 * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
2209 * sysdeps/unix/sysv/linux/i386/Dist: ...here.
2211 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
2213 * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
2215 1998-09-14 11:26 Ulrich Drepper <drepper@cygnus.com>
2217 * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
2219 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2221 * libc-work/nis/nss_nisplus/nisplus-service.c
2222 (_nss_nisplus_parse_servent): Convert port in network byte order.
2224 1998-09-14 07:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2226 * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
2227 to provide only malloc and calloc.
2228 * include/stdlib.h: Support the above.
2229 * string/bits/string2.h: Use __need_malloc_and_calloc when
2231 (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
2233 * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
2234 * iconvdata/iso646.c: Include <stdlib.h>.
2236 1998-09-14 07:51 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2238 * sunrpc/rpc_cout.c: Add braces around ambiguous else.
2239 * sysdeps/libm-ieee754/w_pow.c: Likewise.
2240 * sysdeps/libm-ieee754/w_powf.c: Likewise.
2241 * sysdeps/libm-ieee754/w_powl.c: Likewise.
2243 1998-09-14 07:57 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2245 * stdio-common/stdio_lim.h.in: New file. All parameters
2246 are adjustable at build time.
2247 * Rules: Add a rule to build bits/stdio_lim.h from
2248 stdio-common/stdio_lim.h.in. (It has to be in Rules so that
2249 all subdirectories know how to make the file. It can't be
2250 in Makerules because then it gets built at top level and the
2251 dependencies are wrong.)
2253 * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
2254 * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
2256 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
2257 * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
2258 * sysdeps/posix/Makefile: Removed.
2259 * sysdeps/posix/mk-stdiolim.c: Removed.
2260 * sysdeps/generic/bits/stdio_lim.h: Removed.
2262 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2264 * argp/argp-help.c: Fixup indentation.
2265 * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
2266 * resolv/nss_dns/dns-network.c: Likewise.
2267 * resolv/res_send.c: Likewise.
2268 * rt/aio_cancel.c: Likewise.
2269 * rt/aio_misc.c: Likewise.
2271 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2273 * Makefile (install-symbolic-link): Remove the link list file at last.
2274 * Makerules (install-clean-symbolic-link-list): Removed.
2276 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2278 * timezone/tst-timezone.c: Print time in UTC to get consistent
2281 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2283 * elf/rtld.c (_dl_rpath): Removed.
2284 * elf/dl-support.c (_dl_path): Removed.
2285 * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
2286 (CFLAGS-dl-support.c): Removed.
2288 * elf/dl-load.c (env_path_list): Renamed from fake_path_list. All
2290 (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
2291 instead of appending it to the main map's rpath info.
2292 (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
2293 DT_RPATHs. This makes it effective again.
2294 (decompose_rpath): Remove second parameter, callers changed.
2295 (fillin_rpath): Allocate enough space in curwd.
2296 (expand_dynamic_string_token): Cope with get_origin returning -1.
2298 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2300 * libc-work/nis/nss_compat/compat-pwd.c: Add support for
2303 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
2306 1998-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
2308 * locale/programs/locale.c: Update dates.
2310 1998-09-13 Mark Kettenis <kettenis@phys.uva.nl>
2312 * sysdeps/generic/bits/types.h: Include <features.h>. Make sure
2313 size_t is defined. Some reordering of definitions to make
2314 maintaining this file in parallel with the linux-specific file easier.
2316 1998-09-13 Ulrich Drepper <drepper@cygnus.com>
2318 * io/pwd.c (main): Add call to mtrace.
2320 * malloc/mtrace.pl: Quote @ in string.
2322 1998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk>
2324 * posix/wordexp.c (parse_arith): Fix memory leaks.
2325 (exec_comm): Likewise.
2326 (parse_param): Likewise.
2327 (wordexp): Likewise.
2328 (exec_comm): Reduce number of function return points.
2329 (parse_param): Likewise.
2330 (wordexp): Likewise.
2332 1998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk>
2334 * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
2335 yield three fields, not two. Test both parameter expansion and
2336 command substitution for correct field-splitting behaviour.
2338 * posix/wordexp.c (w_emptyword): New function.
2339 (parse_param): Use it.
2340 (exec_comm): Likewise, for consistency with the way parse_param
2342 (parse_param): Fix some memory leaks.
2344 1998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au>
2346 * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
2347 Don't mark asm `volatile'.
2348 (__elf_machine_runtime_setup): Clear the last partial block in the PLT
2349 from the data cache too. Assume it isn't in the instruction cache yet.
2350 (__elf_machine_fixup_plt): Clear the modified address from the caches.
2352 1998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
2354 * sysdeps/generic/segfault.c (install_handler): Install signal
2355 handler with SA_ONSTACK instead of setting the stack flags to
2356 SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
2359 1998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2361 * signal/signal.h: Fix multiple inclusion guard to cover the
2363 * wcsmbs/wchar.h: Remove prototype of internal function
2365 * sysdeps/i386/i486/bits/string.h (memchr): Don't do
2366 arithmetic on `void *'.
2368 1998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
2370 * posix/wordexp-test.c: Fix wrong tests. Add new tests.
2372 * posix/wordexp.c (wordexp): Perform word-splitting instead of
2373 field-splitting here.
2374 (wordexp): If out of memory mid-word, free the word (but still
2375 leave pwordexp alone for caller to see).
2376 (parse_param): Allow for zero-length fields (smarter checking of
2377 memory allocation failure).
2378 (w_addword): Convert NULL words to "".
2379 (wordexp): Convert left-over IFS characters to blanks (like bash).
2381 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
2383 * configure.in: Use test -f instead of test -e.
2384 Patch by John Tobey <jtobey@banta-im.com>.
2386 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
2387 * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
2388 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
2389 * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
2390 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
2391 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
2392 * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
2393 Patches by John Tobey <jtobey@banta-im.com>.
2395 * time/strftime.c (my_strftime): Delay use of *tp values until
2396 latest possible point to allow partly initialized structures
2397 (e.g., from strptime).
2399 * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
2401 Define *-routines variables for new modules.
2402 (distribute): Add .c files for new modules.
2403 (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
2405 Add rules for header generation.
2406 * iconvdata/gconv-modules: Add entries for new modules.
2407 * iconvdata/iso_10367-box.c: New file.
2408 * iconvdata/mac-is.c: New file.
2409 * iconvdata/nats-dano.c: New file.
2410 * iconvdata/nats-sefi.c: New file.
2412 1998-04-30 18:20 H.J. Lu <hjl@gnu.org>
2414 * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
2415 loader if PIC is not defined.
2417 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
2419 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
2420 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
2421 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
2423 Define *-routines variables for new modules.
2424 (distribute): Add .c files for new modules.
2425 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
2426 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
2427 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
2428 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
2429 Add rules for header generation.
2430 * iconvdata/gconv-modules: Add entries for new modules.
2431 * iconvdata/csn_369103.c: New file.
2432 * iconvdata/cwi.c: New file.
2433 * iconvdata/dec-mcs.c: New file.
2434 * iconvdata/ecma-cyrillic.c: New file.
2435 * iconvdata/gost_19768-74.c: New file.
2436 * iconvdata/greek-ccitt.c: New file.
2437 * iconvdata/greek7-old.c: New file.
2438 * iconvdata/greek7.c: New file.
2439 * iconvdata/inis-8.c: New file.
2440 * iconvdata/inis-cyrillic.c: New file.
2441 * iconvdata/inis.c: New file.
2442 * iconvdata/iso6937-2.c: New file.
2443 * iconvdata/iso_2033.c: New file.
2444 * iconvdata/iso_5427-ext.c: New file.
2445 * iconvdata/iso_5427.c: New file.
2446 * iconvdata/iso_5428.c: New file.
2448 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
2450 Convert U02dd correctly.
2452 1998-09-11 20:46 Richard Henderson <rth@cygnus.com>
2454 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
2455 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
2456 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
2457 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
2459 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
2461 * resolv/res_init.c (res_init): Handle resolv.conf file with only
2462 one nameserver correctly. Patch by HJ Lu.
2464 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
2466 Define *-routines variables for new modules.
2467 (distribute): Add .c files for new modules.
2468 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
2469 Add rules for hedaer generation.
2470 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
2471 * iconvdata/ansi_x3.110.c: New file.
2472 * iconvdata/asmo_449.c: New file.
2473 * iconvdata/baltic.c: New file.
2474 * iconvdata/iec_p27-1.c: New file.
2476 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
2478 Convert U02dc correctly.
2480 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
2481 * math/atest-exp2.c: Likewise.
2482 * math/atest-sincos.c: Likewise.
2484 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
2487 1998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2489 * string/strcoll.c: Optimize a few expressions.
2490 * string/strxfrm.c: Likewise.
2492 1998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2494 * manual/locale.texi: Fix typos.
2496 1998-09-10 Ulrich Drepper <drepper@cygnus.com>
2498 * stdlib/random_r.c (__setstate_r): Allow call with same state
2499 array as currently used (PR libc/774).
2501 * include/limits.h: Include gcc's header even if this file is
2502 found more than once before it (PR libc/778)
2504 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
2505 (sysdep_headers): Remove sys/debugreg.h.
2506 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
2507 (sysdep_headers): Add sys/debugreg.h.
2508 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
2509 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
2511 * stdio-common/tmpnam.c: Move local static variable buf to
2512 toplevel and rename to tmpnam_buffer to ease debugging.
2513 Patch by Joe Keane <jgk@jgk.org>.
2514 Optimize s == NULL case a bit.
2516 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
2519 1998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
2521 * resolv/res_init.c (res_init): Initialize _res.nscount and
2522 _res.nsaddr.sin_port differently for the can when no loopback
2523 is available to allow immediate timeout in non-networking environments.
2524 Patch by Cristian Gafton <gafton@redhat.com>.
2526 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2528 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
2529 BAR and not EM DASH.
2530 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
2531 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
2534 1998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
2536 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
2538 * timezone/tst-timezone.c (tests): Fix typo in last patch.
2540 * time/tzfile.c (__tzfile_read): Handle case when there are no
2541 transitions. Set __timezone based on computed offset.
2542 * time/tzset.c (tzset_internal): Set __timezone before returning.
2544 * time/tzset.c (tzset_internal): Optimize handling of local string
2547 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2549 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
2552 1998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
2554 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
2555 (csqrt_test): Likewise.
2556 * sysdeps/powerpc/bits/fenv.h: Add parens.
2558 1998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
2560 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
2561 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
2562 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
2564 1998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
2566 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
2567 the special `-1' pointer.
2569 1998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
2571 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
2574 1998-09-07 Paul Eggert <eggert@twinsun.com>
2576 * time/mktime.c (__EXTENSIONS__): Define if not defined.
2577 (_REENTRANT): Remove. It has undesirable consequences in
2578 Solaris 2.6 (e.g. it turns off the putc macro). Defining
2579 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
2581 * time/strftime.c: Likewise.
2583 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2585 * elf/dl-error.c: Fix spelling.
2587 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2589 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
2590 * stdio-common/_itoa.c: Likewise.
2591 * stdio-common/printf_fp.c: Likewise.
2592 * stdio-common/vfscanf.c: Likewise.
2593 * wcsmbs/wcstok.c: Likewise.
2594 * sysdeps/generic/glob.c: Likewise.
2595 * posix/getopt.c: Likewise.
2596 * sysdeps/posix/getaddrinfo.c: Likewise.
2597 * posix/wordexp.c: Likewise.
2598 * io/ftw.c: Likewise.
2599 * io/fts.c: Likewise.
2600 * misc/getpass.c: Likewise.
2601 * iconv/gconv_conf.c: Likewise.
2602 * argp/argp-fmtstream.c: Likewise.
2603 * argp/argp-help.c: Likewise.
2604 * elf/dl-load.c: Likewise.
2605 * locale/programs/stringtrans.c: Likewise.
2606 * catgets/gencat.c: Likewise.
2607 * posix/getconf.c: Likewise.
2608 * iconv/gconv_conf.c: Likewise.
2609 * iconv/iconv_prog.c: Likewise.
2611 * string/strcoll.c: Optimize a few expressions.
2612 * string/strxfrm.c: Likewise.
2614 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2616 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
2617 level to avoid uninit variable warning.
2619 1998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2621 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
2622 instead of _dl_default_scope[2] as argument to _dl_init_next.
2624 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
2627 1998-09-08 Ulrich Drepper <drepper@cygnus.com>
2629 Fix compatibility problems introduced in last change.
2630 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
2632 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
2633 -DWEAK_GMON_START to CFLAGS-initfini.s.
2635 * elf/dl-object.c (_dl_new_object): Store map address in
2636 _dl_loaded if _dl_loaded is NULL.
2637 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
2639 * sysdeps/generic/setrlimit64.c: Remove stub warning.
2641 1998-09-07 Ulrich Drepper <drepper@cygnus.com>
2643 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
2645 * db2/btree/bt_cursor.c: Likewise.
2646 * db2/common/db_region.db_c: Likewise.
2647 * db2/common/db_salloc.db_c: Likewise.
2648 * db2/db/db.c: Likewise.
2649 * db2/db/db_rec.c: Likewise.
2650 * db2/hash/hash.c: Likewise.
2651 * db2/hash/hash_page.c: Likewise.
2652 * db2/hash/hash_rec.c: Likewise.
2653 * db2/log/log_findckp.c: Likewise.
2654 * db2/log/log_get.c: Likewise.
2655 * db2/log/log_put.c: Likewise.
2656 * db2/mp/mp_fget.c: Likewise.
2657 * db2/mp/mp_fput.c: Likewise.
2658 * db2/mp/mp_region.c: Likewise.
2659 * stdlib/strtol.c: Likewise.
2660 * string/strcoll.c: Likewise.
2661 * string/strxfrm.c: Likewise.
2662 * argp/argp-help.c: Likewise.
2663 * argp/argp-parse.c: Likewise.
2664 * resolv/res_debug.c: Likewise.
2666 1998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
2668 * math/tgmath.h (scalb): Only define for __USE_MISC or
2669 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
2671 1998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2673 * libio/stdio.h: Fix comment.
2675 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
2678 1998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2680 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
2682 * elf/dl-open.c: Quiet -Wparentheses warnings.
2683 * iconvdata/johab.c: Likewise.
2684 * iconvdata/uhc.c: Likewise.
2685 * inet/inet_net.c: Likewise.
2686 * io/fts.c: Likewise.
2687 * locale/newlocale.c: Likewise.
2688 * misc/getttyent.c: Likewise.
2689 * misc/mntent_r.c: Likewise.
2690 * misc/ttyslot.c: Likewise.
2691 * nscd/nscd_conf.c: Likewise.
2692 * nss/nsswitch.c: Likewise.
2693 * resolv/gethnamaddr.c: Likewise.
2694 * resolv/nsap_addr.c: Likewise.
2695 * resolv/res_debug.c: Likewise.
2696 * stdio-common/_itoa.c: Likewise.
2697 * stdlib/strtod.c: Likewise.
2698 * string/strverscmp.c: Likewise.
2699 * sunrpc/svc.c: Likewise.
2700 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
2701 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
2702 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
2703 * sysdeps/posix/getaddrinfo.c: Likewise.
2705 1998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
2707 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
2708 for use of global scope.
2709 * elf/dlvsym.c (dlvsym_doit): Likewise.
2711 1998-09-02 Paul Eggert <eggert@twinsun.com>
2713 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
2714 copy the redundant bytes at the end of the format as-is; don't
2715 just copy their first byte and then rescan, as that might get
2716 us an encoding error.
2717 Account correctly for the length of multibyte sequences in the
2720 1998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
2722 * posix/wordexp-test.c: Add tests for different IFS values.
2723 Change unquoted-newline test so that newline is not in IFS.
2725 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
2726 determining IFS characters. Return WRDE_BADCHAR for unquoted
2727 special characters _except_ if they are separators.
2729 1998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
2731 * include/tgmath.h: New file.
2733 * libio/stdio.h: Correct reversed #ifs.
2734 Patch by Zack Weinberg.
2736 * manual/creature.texi: Better explain reason for feature select
2738 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
2740 1998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2742 * include/alloca.h: Add multiple-inclusion guard.
2743 * include/db.h: Likewise.
2744 * include/db_185.h: Likewise.
2745 * include/dlfcn.h: Likewise.
2746 * include/fcntl.h: Likewise.
2747 * include/grp.h: Likewise.
2748 * include/libintl.h: Likewise.
2749 * include/mntent.h: Likewise.
2750 * include/pwd.h: Likewise.
2751 * include/sched.h: Likewise.
2752 * include/search.h: Likewise.
2753 * include/setjmp.h: Likewise.
2754 * include/shadow.h: Likewise.
2755 * include/signal.h: Likewise.
2756 * include/stdio.h: Likewise.
2757 * include/stdlib.h: Likewise.
2758 * include/string.h: Likewise.
2759 * include/termios.h: Likewise.
2760 * include/time.h: Likewise.
2761 * include/ulimit.h: Likewise.
2762 * include/utmp.h: Likewise.
2763 * include/wchar.h: Likewise.
2764 * include/sys/file.h: Likewise.
2765 * include/sys/gmon.h: Likewise.
2766 * include/sys/ioctl.h: Likewise.
2767 * include/sys/mman.h: Likewise.
2768 * include/sys/resource.h: Likewise.
2769 * include/sys/select.h: Likewise.
2770 * include/sys/socket.h: Likewise.
2771 * include/sys/statfs.h: Likewise.
2772 * include/sys/time.h: Likewise.
2773 * include/sys/times.h: Likewise.
2774 * include/sys/wait.h: Likewise.
2776 1998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
2778 * version.h (VERSION): Bump to 2.0.96.
2780 Rewrite runtime linker to be truly thread-safe. There is now no
2781 global variable specifying the scope. We create all needed
2782 scopes at the time the link maps are created.
2783 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
2784 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
2785 l_symbolic_searchlist, l_scope, and l_local_scope elements in
2787 * elf/dl-close.c: Rewritten accordingly.
2788 * elf/dl-deps.c: Likewise.
2789 * elf/dl-error.c: Likewise.
2790 * elf/dl-init.c: Likewise.
2791 * elf/dl-load.c: Likewise.
2792 * elf/dl-lookup.c: Likewise.
2793 * elf/dl-object.c: Likewise.
2794 * elf/dl-open.c: Likewise.
2795 * elf/dl-reloc.c: Likewise.
2796 * elf/dl-runtime.c: Likewise.
2797 * elf/dl-support.c: Likewise.
2798 * elf/dl-symbol.c: Likewise.
2799 * elf/dl-version.c: Likewise.
2800 * elf/dlsym.c: Likewise.
2801 * elf/dlvsym.c: Likewise.
2802 * elf/ldsodefs.h: Likewise.
2803 * elf/rtld.c: Likewise.
2804 * iconv/gconv_dl.c: Likewise.
2805 * nss/nsswitch.c: Likewise.
2806 * sysdeps/i386/dl-machine.h: Likewise.
2807 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
2809 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
2810 Define RTLD_DEFAULT.
2812 1998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
2814 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
2815 __getopt_clean_environment with __environ instead of envp.
2817 1998-09-05 Roland McGrath <roland@baalperazim.frob.com>
2819 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
2821 * string/argz-extract.c (__argz_extract): Add de-consting cast for
2824 * string/argz.h (argz_next): Add de-consting cast for return.
2825 * string/argz-next.c (__argz_next): Likewise.
2827 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
2828 Don't add netinet/udp.h, netinet/ip_icmp.h here.
2829 * sysdeps/gnu/Makefile: Do it here instead.
2830 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
2831 * sysdeps/gnu/Dist: ... to here.
2833 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
2834 sysdeps/unix/sysv/linux/netinet/tcp.h,
2835 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
2837 1998-09-04 Roland McGrath <roland@baalperazim.frob.com>
2839 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
2840 * string/argz-next.c, string/argz-extract.c: Fix defns.
2842 1998-09-03 Roland McGrath <roland@baalperazim.frob.com>
2844 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
2846 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
2847 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
2848 * sysdeps/generic/sysd-stdio.c: Likewise.
2850 1998-09-02 Ulrich Drepper <drepper@cygnus.com>
2852 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
2853 (_dl_map_object_from_fd): Make NAME argument const.
2854 Remove last parameter in _dl_new_object call.
2855 (print_search_path): Correct construction of composed path name.
2856 (_dl_map_object): Prevent looking at RPATH of the main map twice.
2857 Remove last parameter in _dl_new_object call.
2858 * elf/dl-object.c: Remove last parameter. Determine whether create
2859 origin entry based on empty realname. Handle file in root directory
2861 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
2862 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
2863 Remove last parameter in _dl_new_object call.
2864 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
2865 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
2867 1998-09-01 Ulrich Drepper <drepper@cygnus.com>
2869 * elf/dl-close.c (_dl_close): Add more comments and correct some.
2870 Free l_searchlist and l_dupsearchlist.
2872 * debug/catchsegv.sh: Add one more pair of quotes.
2874 1998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
2876 * elf/dl-load.c (add_name_to_object): Change return type to void and
2877 make NAME parameter const. Allocate room for NAME in same memory
2878 block used for l_libname entry.
2879 (_dl_map_object_from_fd): Don't free NAME on failure.
2880 (map_segment): Pass SONAME to add_name_to_object, not a copy.
2881 (_dl_map_object): Don't create copy of NAME. Pass NAME to
2882 _dl_map_object_from_fd.
2883 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
2884 memory block used for l_libname entry.
2885 * elf/dl-close.c: Adjust free()ing for this change.
2887 1998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
2889 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
2891 * malloc/mtrace.c: Add bug report address. Update email address.
2892 Add more @XXX@ to print correct address size.
2894 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
2897 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
2898 for munmap call instead of examining phdr again.
2899 Free all malloc()ed strings and arrays.
2901 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
2903 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
2905 * sysdeps/powerpc/dl-machine.c: New file.
2906 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
2907 files. Revise ELF_PREFERRED_ADDRESS to take account of
2908 the new mapping information (fixes bug involving huge bloated
2909 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
2910 * sysdeps/powerpc/dl-start.S: New file.
2912 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
2914 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
2915 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
2916 others. Call elf_dynamic_do_##reloc only once (to save even more
2918 * elf/link.h: Add new members l_map_start and l_map_end to keep
2919 track of the memory map.
2920 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
2923 1998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
2925 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
2926 Reported by Andreas Jaeger.
2928 * posix/glob.h: Use __size_t instead of size_t in definitions and
2929 make sure this is defined.
2931 1998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
2933 * manual/locale.texi: Almost complete rewrite. Document more functions
2935 * manual/arith.texi: Correct reference.
2936 * manual/string.texi: Pretty printing.
2938 * manual/texinfo.tex: Update from last available version.
2940 1998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
2942 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
2944 (_nss_nis_getpwuid_r): Likewise.
2945 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
2947 * inet/rcmd.c: Implement netgroup support.
2948 Patch by Dick Streefland <dick_streefland@tasking.com>.
2950 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
2952 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
2953 object on the list is removed. Don't use this code for PIC.
2954 Reported by HJ Lu [PR libc/770].
2956 1998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
2958 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
2960 * include/stdio.h: Add __vsscanf.
2962 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
2964 Remove __vsscanf declaration.
2965 Always declare fgetpos and fsetpos.
2967 * math/math.h: Define isinf as macro.
2968 * math/bits/mathcalls.h: Change to declare __isinf all the time.
2969 Don't declare scalb for ISO C 9x.
2971 * math/tgmath.h: Define fma. Rewrite the underlying macros.
2973 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
2975 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
2978 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
2981 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2983 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
2984 Reported by jreising@frequentis.com [PR libc/767].
2986 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2988 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
2989 fl.l_start at beginning of function.
2990 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
2992 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
2994 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
2995 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
2997 * nscd/nscd.init: Make it work in RedHat systems.
2998 Patch by Christian Gafton.
3000 1998-08-29 Philip Blundell <philb@gnu.org>
3002 * catgets/Makefile: Don't try to run test programs when
3005 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
3007 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
3008 Reported by Zack Weinberg.
3010 1998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3012 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
3013 * elf/Makefile (distribute): Remove ldd.sh.in.
3015 1998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3017 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
3020 1998-08-29 Ulrich Drepper <drepper@cygnus.com>
3022 * sysdeps/i386/register-dump.h: Move to ...
3023 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
3025 1998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
3027 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
3028 with load address, not map address.
3029 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
3030 parameter and use this value.
3031 * sysdeps/arm/dl-machine.h: Likewise.
3032 * sysdeps/i386/dl-machine.h: Likewise.
3033 * sysdeps/m68k/dl-machine.h: Likewise.
3034 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
3036 * sysdeps/powerpc/dl-machine.h: Likewise
3037 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
3038 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
3040 1998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
3042 * elf/rtld.c (process_envvars): Fix copy&paste error.
3044 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
3046 (realloc_hook_ini): Don't overwrite memalign hook.
3047 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
3048 Reported by Philippe Troin <phil@fifi.org>.
3050 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
3051 Patch by Philippe Troin <phil@fifi.org>.
3053 1998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3055 * sysdeps/generic/segfault.c (install_handler): Protect the
3056 non-POSIX signals with #ifdef.
3057 (catch_segfault): Add missing mode parameter for open.
3058 * debug/catchsegv.sh: Avoid termination message from shell. Allow
3059 other termination signals.
3061 1998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3063 * debug/Makefile (distribute): Add register-dump.h.
3065 1998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3067 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
3069 1998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
3071 * elf/Makefile (distribute): Add dl-origin.h.
3072 * sysdeps/generic/dl-origin.h: New file.
3073 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
3074 * elf/link.h (struct link_map): Add l_origin field.
3075 * elf/dl-load.c (expand_dynamic_string_token): New function.
3076 (decompose_path): Remove WHERE argument, take link map pointer instead.
3077 Call expand_dynamic_string_token instead of local_strdup to make copy
3079 (_dl_init_paths): Call decompose_path with correct argument.
3080 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
3082 Check EI_OSABI and EI_ABIVERSION fields in header.
3083 Call _dl_new_object with extra argument.
3084 (_dl_map_object): Call decompose_path with correct argument.
3085 Call expand_dynamic_string_token instead of local_strdup to also
3087 Call _dl_new_object with extra argument.
3088 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
3089 but the main one if new argument is nonzero.
3090 * elf/ldsodefs.h: Adjust for _dl_new_object change.
3091 * elf/dl-support.c: Define _dl_origin_path.
3092 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
3093 (dl_main): Call _dl_new_object with extra argument.
3095 * elf/dl-close (_dl_close): Free l_name and l_origin.
3097 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
3098 modifier in asm, not c.
3100 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
3101 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
3103 1998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
3105 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
3106 variable so that map can be freed.
3107 Reported by Philippe Troin <phil@fifi.org>.
3109 * elf/dl-open.c (dl_open_worker): Correct test for extending global
3111 Patch by Philippe Troin <phil@fifi.org>.
3113 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
3115 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
3116 Don't call writev() with a 100-element vector.
3117 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
3120 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
3121 In particular, set __libc_stack_end.
3122 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
3123 undefined. Fix copyright notice.
3125 1998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3127 * math/Makefile (gmp-objs): New variable.
3128 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
3130 (tests): Add atest-exp atest-sincos atest-exp2.
3131 (tests-static): Remove atest-exp atest-sincos atest-exp2.
3133 1998-08-25 Ulrich Drepper <drepper@cygnus.com>
3135 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
3137 (_dl_unload_cache): New function.
3138 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
3139 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
3140 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
3142 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
3143 Correct comment for O_LARGEFILE.
3144 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
3145 Change O_LARGEFILE to correct value.
3147 1998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
3149 * libio/iogetline.c (_IO_getline_info): Don't read anything for
3150 N == 0. Patch by HJ Lu.
3152 1998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
3154 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
3156 1998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
3158 * argp/argp.h: Use __inline__ not inline.
3160 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
3161 an input register as being clobbered.
3162 * sysdeps/i386/memset.c (memset): Likewise.
3163 * sysdeps/i386/bzero.c (__bzero): Likewise.
3164 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
3166 1998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3168 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
3169 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
3171 1998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
3173 * debug/catchsegv.sh: Handle text preceding backtrace better.
3174 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
3175 to be installed for other signals than SIGSEGV.
3176 * sysdeps/generic/register-dump.h: New file.
3177 * sysdeps/i386/register-dump.h: New file.
3178 * sysdeps/powerpc/register-dump.h: New file.
3180 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
3182 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
3184 1998-08-24 Geoff Keating <geoffk@ozemail.com.au>
3186 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
3188 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
3190 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
3191 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
3192 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
3193 getresuid, getresgid.
3195 1998-08-16 Geoff Keating <geoffk@ozemail.com.au>
3197 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
3198 pointer in userland.
3200 1998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3202 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
3205 1998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3207 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
3208 over arguments Bourne shell compatible. Don't exit unsuccessfully
3209 if nonelf returns successfully. Avoid duplicating most of the
3211 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
3214 1998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3216 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
3218 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
3219 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
3221 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
3223 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
3224 __modify_ldt and modify_ldt.
3225 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
3227 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3228 Use orl $-1 instead of movl $-1 to save two bytes.
3229 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
3232 1998-08-17 H.J. Lu <hjl@gnu.org>
3234 * libio/Versions (_IO_do_write, _IO_file_attach,
3235 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
3236 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
3237 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
3238 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
3240 * libio/fileops.c (_IO_do_write, _IO_file_attach,
3241 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
3242 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
3243 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
3244 _IO_file_write, _IO_file_xsputn): Change the prefix to
3245 "_IO_new_". Added to GLIBC_2.1.
3247 * libio/libioP.h (_IO_do_write, _IO_file_attach,
3248 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
3249 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
3250 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
3251 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
3254 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
3255 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
3256 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
3257 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
3258 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
3260 1998-08-23 Richard Henderson <rth@cygnus.com>
3262 * Makeconfig (LDFLAGS): Remove.
3264 * csu/initfini.c: Return to .text before __gmon_start__.
3266 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
3267 (STO_MIPS_*): Rename from STO_*.
3268 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
3269 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
3271 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
3272 (main): e3s is negative on zero.
3273 * math/atest-exp2.c: Likewise.
3274 * math/atest-sincos.c: Likewise.
3276 1998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3278 * Makerules (install): Add comment about absolute paths.
3280 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
3282 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
3283 array to NUL to handle maxlen==1 case correctly.
3286 1998-08-23 Richard Henderson <rth@cygnus.com>
3288 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
3289 * sysdeps/alpha/elf/crtend.S: Likewise.
3290 * sysdeps/alpha/elf/start.S: Likewise.
3292 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
3293 non-standard pv usage.
3295 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
3296 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
3297 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
3298 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
3299 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
3300 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
3301 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
3302 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
3303 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
3304 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
3305 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
3307 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
3308 a finite non-denormal, deferring to the full IEEE version otherwise.
3310 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
3311 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
3312 * sysdeps/alpha/fpu/s_floor.c: New.
3313 * sysdeps/alpha/fpu/s_floorf.c: New.
3314 * sysdeps/alpha/fpu/s_ceil.c: New.
3315 * sysdeps/alpha/fpu/s_ceilf.c: New.
3317 1998-08-22 Philip Blundell <philb@gnu.org>
3319 * sysdeps/arm/bits/string.h: New file.
3321 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3323 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
3326 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
3327 test for recent Linux 2.1.100+ headers.
3329 1998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3331 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
3333 1998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
3335 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
3337 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3339 * Makefile (elf/ldso_install): Put back. The problem still persists.
3340 * elf/Makefile (ldso_install): Likewise.
3342 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3344 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
3346 * include/db.h: Declare __nss_db_open.
3347 * db2/Versions: Export it.
3349 * db2/makedb.c: Convert to use db2 API.
3350 * nss/nss_db/db-XXX.c: Likewise.
3351 * nss/nss_db/db-netgrp.c: Likewise.
3352 * nss/nss_db/db-alias.c: Likewise.
3353 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
3355 1998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3357 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3358 sys_setresuid, already built automatically (or not).
3359 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
3360 instead of __syscall_setresuid and add back setresuid.
3361 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
3362 __syscall_setresuid.
3364 1998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3366 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
3368 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
3370 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
3371 BASH-ONLY marked region.
3372 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
3374 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
3376 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
3379 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
3381 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
3384 1998-08-21 Roland McGrath <roland@baalperazim.frob.com>
3386 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
3387 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
3388 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
3389 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
3390 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
3391 those magic comments, and to use /bin/sh for @BASH@.
3392 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
3393 * elf/ldd.sh.in: File removed.
3395 1998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
3397 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
3398 cast them to unsigned long int.
3399 * pwd/putpwent.c (putpwent): Likewise.
3400 Patch by John Tobey <jtobey@banta-im.com>.
3402 1998-08-20 17:14 H.J. Lu <hjl@gnu.org>
3404 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
3407 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
3409 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
3412 1998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
3414 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
3415 Add umount and umount2.
3416 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
3417 * sysdeps/unix/sysv/linux/umount.S: New file.
3418 * sysdeps/unix/sysv/linux/umount2.S: New file.
3419 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
3422 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
3424 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
3425 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
3427 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
3429 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
3432 1998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
3434 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
3435 * elf/ldd.bash.in: Likewise.
3437 * elf/sln.c: Avoid warning for no main prototype.
3439 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
3441 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
3442 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3444 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
3446 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
3447 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
3448 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3450 1998-08-20 Philip Blundell <pb@nexus.co.uk>
3452 * sysdeps/arm/fpu/ieee754.h: Move to...
3453 * sysdeps/arm/ieee754.h: ... here.
3455 * sysdeps/arm/__longjmp.S: Put return value in correct register.
3456 Don't set the condition flags unnecessarily.
3457 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
3458 registers correctly.
3460 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
3461 (patch from Scott Bambrough).
3463 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
3465 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
3466 NULL, just call it unconditionally.
3467 (__gmon_start__): Provide stub version as a weak symbol.
3469 1998-07-30 Philip Blundell <philb@gnu.org>
3471 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
3474 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
3475 like `@' in .type directives.
3477 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
3478 * sysdeps/arm/bsd-_setjmp.S: Likewise.
3480 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
3482 1998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3484 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
3485 (F_GETOWN): Likewise.
3487 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
3490 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
3492 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
3495 1998-08-18 Ulrich Drepper <drepper@cygnus.com>
3497 * include/features.h: Define __USE_EXTERN_INLINES for recent
3499 * argp/argp.h: Define extern inline functions only if
3500 __USE_EXTERN_INLINES is defined.
3501 * libio/stdio.h: Likewise.
3502 * math/math.h: Likewise.
3503 * stdlib/stdlib.h: Likewise.
3504 * string/argz.h: Likewise.
3505 * sysdeps/generic/bits/sigset.h: Likewise.
3506 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
3507 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
3508 * sysdeps/wordsize-32/inttypes.h: Likewise.
3509 * sysdeps/wordsize-64/inttypes.h: Likewise.
3510 * wcsmbs/wchar.h: Likewise.
3512 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
3513 to allow compilation without optimization.
3515 1998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3517 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
3519 * nis/nss_compat/compat-initgroups.c: Likewise.
3520 * nis/nss_compat/compat-pwd.c: Likewise.
3521 * nis/nss_compat/compat-spwd.c: Likewise.
3522 * nis/nss_nis/nis-alias.c: Likewise.
3523 * nis/nss_nis/nis-ethers.c: Likewise.
3524 * nis/nss_nis/nis-grp.c: Likewise.
3525 * nis/nss_nis/nis-hosts.c: Likewise.
3526 * nis/nss_nis/nis-initgroups.c: Likewise.
3527 * nis/nss_nis/nis-network.c: Likewise.
3528 * nis/nss_nis/nis-proto.c: Likewise.
3529 * nis/nss_nis/nis-pwd.c: Likewise.
3530 * nis/nss_nis/nis-rpc.c: Likewise.
3531 * nis/nss_nis/nis-service.c: Likewise.
3532 * nis/nss_nis/nis-spwd.c: Likewise.
3534 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
3536 * nis/ypclnt.c: Try binding dir only first time, could be to old.
3538 * nis/yp_xdr.c: Remove 1024 byte limit.
3539 * nis/ypupdate_xdr.c: Likewise.
3541 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
3544 1998-08-18 Roland McGrath <roland@baalperazim.frob.com>
3546 * Rules (binaries-static, binaries-shared static pattern rules):
3547 Depend on lib%, not just libc%, from $(link-libc{,-static}).
3549 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
3550 this here, overriding Makeconfig generic value so we link against
3553 1998-08-17 Ulrich Drepper <drepper@cygnus.com>
3555 * posix/tstgetopt.c (options): Add NULL entry at end
3556 Patch by Adrian Miranda <ade@psg.com>.
3558 1998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
3560 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
3563 1998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
3565 * elf/elf.h: Add PPC Diab relocations.
3567 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
3569 1998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
3571 * manual/texinfo.tex: Update.
3573 1998-08-07 Geoff Keating <geoffk@ozemail.com.au>
3575 * sysdeps/powerpc/backtrace.c: New file.
3577 1998-08-14 Philip Blundell <pb@nexus.co.uk>
3579 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
3581 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
3583 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3585 * Makefile (install-symbolic-link): Fix spelling.
3587 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3589 * elf/elf.h (SHT_HIOS): Fix value.
3591 1998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3593 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
3594 part of the expansion, this is undefined by the standard.
3596 1998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
3598 * posix/getconf.c: Add support for systems with incomplete confname.h.
3600 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
3602 * sysdeps/posix/wait3.c: Make it work.
3604 1998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3606 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
3607 (elf/ldso_install): Remove.
3609 * elf/Makefile (distribute): Add sln.c.
3611 (others-static): Add sln.
3612 (install-rootsbin): Add sln.
3613 (others-static): Add sln.
3614 (ldso_install): Remove.
3616 1998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3618 * Makerules (install-clean-symbolic-link-list): Make phony.
3619 * Makefile (install-symbolic-link): Make phony. Depend on
3620 subdir_install for parallel makes.
3623 1998-07-22 Ulrich Drepper <drepper@cygnus.com>
3625 * elf/Makefile (distribute): Add sln.c
3627 1998-07-21 07:10 H.J. Lu <hjl@gnu.org>
3629 * elf/sln.c: New file.
3631 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
3632 (install-clean-symbolic-link-list): New target.
3633 (install): Depend on install-clean-symbolic-link-list.
3634 (make-shlib-link): Changed for $(symbolic-link-list).
3636 * Makefile (install-symbolic-link): New target.
3637 (install): Depend on install-symbolic-link.
3639 1998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
3641 * include/unistd.h: Protect against multiple inclusion.
3643 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
3644 is defined, not is glob is defined.
3645 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
3647 1998-08-01 17:18 H.J. Lu <hjl@gnu.org>
3649 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
3650 xdr_string for ut_line, ut_name and ut_host.
3652 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3654 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
3655 /var/mail in accordance with FHS 2.0.
3656 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
3658 1998-08-12 Richard Henderson <rth@cygnus.com>
3660 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
3661 Update aliases for cancelation.
3663 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
3664 playing with symbol versions.
3666 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
3668 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
3669 multiple inclusion protection.
3670 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
3671 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
3672 define all these to 1.
3673 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
3675 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
3677 * sysdeps/mach/usleep.c: Include <unistd.h>.
3678 (usleep): Return void.
3680 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
3682 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
3683 decl to inhibit warning in if_freenameindex defn.
3685 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
3687 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
3689 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
3690 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
3691 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
3692 * sysdeps/mach/usleep.c: Likewise.
3694 * sysdeps/mach/hurd/bind.c (bind): Add a const.
3696 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
3697 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
3698 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
3699 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
3700 * sysdeps/mach/usleep.c (usleep): Likewise.
3701 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
3702 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
3703 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
3704 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
3706 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
3708 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
3711 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
3712 %p arg to fprintf, since `void *' is the right type already.
3714 1998-07-25 19:47 Jose M. Moya <josem@gnu.org>
3716 * sysdeps/mach/hurd/getcwd.c
3717 (_hurd_canonicalize_directory_name_internal): Do not loop forever
3718 for unknown root directories.
3719 (__getcwd): Return NULL when the current root directory could not
3722 1998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
3724 * string/strsignal.c (strsignal): Count real-time signals from zero.
3727 See ChangeLog.8 for earlier changes.