1 1998-11-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3 * locale/programs/config.h: Define HAVE_STRING_H for xstrdup.c.
5 1998-11-13 Ulrich Drepper <drepper@cygnus.com>
7 * libio/bits/stdio.h: Correct and improve fread_unlocked and
8 fwrite_unlocked optimizations.
10 * time/tzfile.c (__tzfile_read): Set __tzname based on last names
11 in time not to last entries in the file.
12 (__tzfile_compute): Likewise. Fix for PR libc/863.
14 * timezone/Makefile: Generate GB timezone data for test.
15 * timezone/tst-timezone.c: More tests for DST switching time (disabled
18 1998-11-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
20 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Remove
23 1998-11-12 Ulrich Drepper <drepper@cygnus.com>
25 * inet/netinet/in.h: Add a few more IPPROTO_* macros.
27 * libio/Makefile (headers): Add bits/stdio.h.
28 * libio/iofread_u.c: Undefine fread_unlocked before definition.
29 * libio/iofwrite_u.c: Undefine fwrite_unlocked before definition.
30 * libio/stdio.h: Move optimizations into ...
31 * libio/bits/stdio.h: ...here. New file.
33 * libio/iofread.c: Pretty print.
35 1998-11-12 Mark Kettenis <kettenis@phys.uva.nl>
37 * sysdeps/gnu/bits/utmpx.h: Protect members of struct
38 __exit_status with `__'. Rename pad member of struct utmpx to
40 (RUN_LVL): Define unconditionally.
41 * sysdeps/gnu/bits/utmp.h: Rename pad member of struct utmp to
44 1998-11-12 Philip Blundell <philb@gnu.org>
46 * sysdeps/unix/sysv/linux/netlink/netlink.h: New file, support for
47 Linux AF_NETLINK sockets (needed since the kernel version is
49 * sysdeps/unix/sysv/linux/Makefile: Install it.
50 * sysdeps/unix/sysv/linux/Dist: Distribute it.
52 1998-11-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
54 * timezone/tst-timezone.c (tests): Add entry for America/Chicago
55 to test for bug in PR libc/863.
57 1998-11-12 Ulrich Drepper <drepper@cygnus.com>
59 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Cleanup comment.
61 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Rename macro
62 parameter lazy to do_lazy to avoid clashing with struct member name.
63 Reported by Ralf Baechle <ralf@uni-koblenz.de>.
65 1998-11-10 H.J. Lu <hjl@gnu.org>
67 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine NR_OPEN
68 if it is defined in <linux/limits.h>.
70 1998-11-09 13:07 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
72 * include/protocols/routed.h: Include the real header with
73 a full path from the top of the source tree.
74 * include/protocols/rwhod.h: Likewise.
75 * include/protocols/talkd.h: Likewise.
76 * include/protocols/timed.h: Likewise.
78 * timezone/Makefile: Don't include z.ZONE files if no_deps
79 is set, not if avoid-generated is set.
81 1998-11-12 Ulrich Drepper <drepper@cygnus.com>
83 * signal/signal.h: Undo last change. Get definition of timespec
86 * string/bits/string2.h (__strpbrk_c2): Add intermediate cast to
87 size_t to prevent gcc warning when using -Wqual-cast.
88 (__strpbrk_c3): Likewise.
89 Suggested by Alan Curry <pacman@cqc.com>.
91 1998-11-11 Roland McGrath <roland@baalperazim.frob.com>
93 * hurd/hurdsig.c (_hurdsig_init): Add assertion that no pending,
94 unblocked signals are set in the startup masks.
96 * hurd/hurdsig.c (_hurdsig_init): Take new args, INTARRAY and
97 INTARRAYSIZE. Initialize main thread's sigstate from INIT_SIG* ints.
99 * hurd/hurd/signal.h: Update _hurdsig_init decl.
100 * hurd/hurdinit.c (_hurd_proc_init): Take new args, INTARRAY and
101 INTARRAYSIZE, pass them down to _hurdsig_init.
102 * hurd/hurd.h: Update _hurd_proc_init decl.
104 1998-11-10 Ulrich Drepper <drepper@cygnus.com>
106 * math/cabs.c: Replace complex by _Complex.
107 * math/cabsf.c: Likewise.
108 * math/cabsl.c: Likewise.
109 * math/cimag.c: Likewise.
110 * math/cimagf.c: Likewise.
111 * math/cimagl.c: Likewise.
112 * math/conj.c: Likewise.
113 * math/conjf.c: Likewise.
114 * math/conjl.c: Likewise.
115 * math/creal.c: Likewise.
116 * math/crealf.c: Likewise.
117 * math/creall.c: Likewise.
119 * sysdeps/alpha/fpu/bits/mathdef.h: Define ISO C 9X stuff only if
120 included from math.h and __USE_ISOC9X is defined.
121 * sysdeps/generic/bits/mathdef.h: Likewise.
122 * sysdeps/generic/i386/fpu/mathdef.h: Likewise.
123 * sysdeps/generic/m68k/fpu/mathdef.h: Likewise.
124 * sysdeps/generic/powerpc/bits/mathdef.h: Likewise.
125 * sysdeps/generic/sparc/fpu/bits/mathdef.h: Likewise.
127 1998-11-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
129 * sysdeps/i386/fpu/bits/mathdef.h: Allow direct inclusion by
131 * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
132 * sysdeps/generic/bits/mathdef.h: Likewise.
133 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
134 * sysdeps/powerpc/bits/mathdef.h: Likewise.
135 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
137 1998-11-09 Ulrich Drepper <drepper@cygnus.com>
139 * extra-lib.mk: Fix typo in last change.
141 * math/complex.h: Include bits/mathdef.h to get __NO_LONG_DOUBLE_MATH
143 Don't define long double functions if __NO_LONG_DOUBLE_MATH is defined.
144 Don't define `complex' but instead `_Complex'. The later is the
146 * math/bits/cmathcalls.c: Define _Mdouble_complex_ using _Complex,
149 1998-11-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
151 * manual/libc.texinfo: Remove colon from category name.
152 * manual/Makefile (dir-add.info): Likewise.
154 1998-11-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
156 * configure.in: Avoid autoconf bug.
158 1998-10-28 H.J. Lu <hjl@gnu.org>
160 * posix/getopt.h: Add "__" to arguments in prototypes.
162 1998-11-05 H.J. Lu <hjl@gnu.org>
164 * libio/iofgets.c (_IO_fgets): Don't report error
165 if something was read in and errno is set to
167 * libio/iofgets_u.c (fgets_unlocked): Likewise.
169 1998-11-05 Philip Blundell <philb@gnu.org>
171 * sysdeps/unix/sysv/linux/net/if_packet.h: Don't include kernel
172 header; it defines too much. Provide a local definition of struct
173 sockaddr_pkt and a comment advising against its use.
175 1998-11-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
177 * extra-lib.mk: Avoid empty include list.
179 1998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
181 * extra-lib.mk: Add support for $(lib)-shared-only-routines.
183 * elf/Makefile (libdl-routines): Add dlopenold only if doing
185 (libdl-shared-only-routines): New variable.
187 1998-11-06 Paul Eggert <eggert@twinsun.com>
189 Don't invoke localtime_r or gmtime_r unless it's the GNU C
190 library's localtime_r and gmtime_r; there are too many buggy
191 implementations of localtime_r and gmtime_r out there, and
192 it's not worth keeping track of all the different bugs.
194 * time/mktime.c (__EXTENSIONS__): Remove.
195 (<unistd.h>): No need to include.
196 * time/strftime.c: Likewise.
198 * time/mktime.c (_POSIX_THREAD_SAFE_FUNCTIONS, HAVE_LOCALTIME_R):
200 (my_mktime_localtime_r): Renamed from localtime_r; all uses changed.
201 Base it on localtime unless _LIBC.
203 * time/strftime.c (my_strftime_gmtime_r): Renamed from gmtime_r;
205 (my_strftime_localtime_r): Renamed from localtime_r; all uses changed.
206 Base them on localtime/gmtime if not _LIBC.
208 1998-11-07 Ulrich Drepper <drepper@cygnus.com>
210 * sysdeps/generic/isastream.c: Always return 0 unless it is an invalid
211 file descriptor. This makes this function actually usable.
212 Proposed by Mark Kettenis <kettenis@phys.uva.nl>.
214 1998-11-05 Ulrich Drepper <drepper@cygnus.com>
216 * math/math.h: Unconditionally include bits/mathdef.h. Declare
217 long double functions only if __NO_LONG_DOUBLE_MATH is not
219 * sysdeps/generic/bits/mathdef.h: Define only if __USE_ISOC9X.
220 Define __NO_LONG_DOUBLE_MATH.
221 * sysdeps/m68k/fpu/bits/mathdef.h: Define only if __USE_ISOC9X.
222 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
224 * elf/rtld.c: Add a few __builtin_expects where they will improve
227 1998-11-05 Ulrich Drepper <drepper@cygnus.com>
229 * version.h (VERSION): Bump to 2.0.100.
231 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Fix fldl -> fld.
233 * sysdeps/libm-i387/s_fma.S: Optimize a bit.
234 * sysdeps/libm-i387/s_fmaf.S: Likewise.
236 1998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
238 * libio/genops.c (_IO_least_marker): Add additional parameter
239 end_p replacing fp->_IO_read_end.
240 (save_for_backup): Likewise. All callers changed. Use _IO_size_t
241 and _IO_ssize_t instead of int.
242 (_IO_switch_to_main_get_area): Remove use of _IO_save_ptr.
243 (_IO_switch_to_backup_area): Likewise. Fix comments.
244 (_IO_seekmark): Undo last change.
245 (_IO_default_pbackfail): Correct use of backup area.
246 * libio/libio.h (_IO_FILE_complete): Remove _IO_save_ptr.
248 1998-11-04 19:47 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
250 * configure.in: Search for install-info and substitute it.
251 Determine whether install-info is the buggy Debian version
252 that doesn't understand INFO-DIR-SECTION.
253 * config.make.in: Add INSTALL_INFO and OLD_DEBIAN_INSTALL_INFO
255 * manual/Makefile: If OLD_DEBIAN_INSTALL_INFO, give
256 install-info the --section argument it needs to work properly.
257 (dir-add.texinfo): Delete target.
258 (dir-add.info): Generate this directly. Sort entries. Put a
259 colon at the end of the INFO-DIR-SECTION line.
260 * manual/libc.texinfo: Put a colon at the end of the
263 1998-11-05 Paul Eggert <eggert@twinsun.com>
265 * time/mktime.c (__mktime_internal): Adopt the traditional (and
266 problematic) notion of what to do when tm_isdst doesn't match.
268 1998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
270 * posix/PTESTS: Fix spelling.
272 1998-11-04 Ulrich Drepper <drepper@cygnus.com>
274 * misc/efgcvt_r.c (fcvt_r): Remove code which tries to use libm
275 functions. Reduce error in computing normalized value by multiplying
276 factor in loop and compute result in one step.
277 Reported by Christian Gafton.
279 * sysdeps/libm-i387/e_hypot.S: New file.
280 * sysdeps/libm-i387/e_hypotf.S: New file.
282 1998-11-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
284 * elf/dlopenold.c: Compile only if DO_VERSIONING is also defined.
286 1998-11-03 H.J. Lu <hjl@gnu.org>
288 * libio/fileops.c (new_do_write): New function.
289 (_IO_new_do_write): Call new_do_write.
290 (_IO_new_file_xsputn): Likewise.
292 * libio/oldfileops.c (old_do_write): New function.
293 (_IO_old_do_write): Call old_do_write.
294 (_IO_old_file_xsputn): Likewise.
296 1998-11-04 Ulrich Drepper <drepper@cygnus.com>
298 * time/mktime.c (__mktime_internal): Correct last change. We must
299 stop searching for the right isdst value before stepping to the
302 * malloc/malloc.c: Make sure calloc really returned zeroed memory.
303 Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
305 1998-11-02 16:12 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
307 * sysdeps/generic/bits/signum.h: Define signals with their
308 historical numbers when those are in the 1-15 range and
309 consistent across platforms.
310 Define compatibility aliases (SIGIOT, SIGCLD) if __USE_MISC.
311 Define SIG_DFL, SIG_IGN, SIG_ERR as numeric constants cast
312 appropriately instead of with fake function declarations
313 (would cause link errors).
314 If __USE_UNIX98, define SIG_HOLD.
316 1998-10-29 H.J. Lu <hjl@gnu.org>
318 * sysdeps/unix/sysv/linux/bits/sigaction.h (sigaction): Use
319 union only if __USE_POSIX199309 is defined.
321 * misc/sys/select.h (pselect): Declared only if __USE_GNU is
324 1998-11-03 Ulrich Drepper <drepper@cygnus.com>
326 * time/mktime.c (__mktime_internal): Handle broken down times
327 around the time of the DST switches more correctly.
329 1998-11-02 Ulrich Drepper <drepper@cygnus.com>
331 * elf/Makefile (libdl-routines): Add dlopenold.
332 * elf/Versions [libdl, GLIBC_2.1]: Add dlopen.
333 * elf/dl-open.c (_dl_open): Check whether RTLD_LAZY or RTLD_GLOBAL
334 is set and bounce otherwise.
335 * elf/dlopen.c: Rename function to __dlopen_check and make version
337 * elf/dlopenold.c: New file.
339 1998-11-02 Ulrich Drepper <drepper@cygnus.com>
341 * elf/Versions [libc, GLIBC_2.01]: Add _dl_global_scope_alloc.
342 * elf/dl-open.c (_dl_global_scope_alloc): Move definition to
343 * elf/dl-deps.c: ...here.
344 * elf/dl-open.c (dl_open_worker): Call _dl_map_object_deps with
345 new parameter and expect result. Remove code handling RTLD_GLOBAL.
346 Add return value of _dl_map_object_deps to
347 _dl_main_searchlist->r_nlist.
348 * elf/dl-deps.c (_dl_map_object_deps): Change to return value.
349 If we parameter GLOBAL is nonzero add object and dependencies to
351 * elf/ldsodefs.h: Adapt prototype for _dl_map_object_deps.
352 * elf/rtld.c (dl_main): Call _dl_map_object_deps with new parameter.
353 Mark all objects as in global scope.
354 * elf/dl-object.c (_dl_new_object): Initialize l_global to zero.
356 * sysdeps/unix/sysv/linux/bits/sockunion.h: Add Econet support.
358 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add .L prefix to symbols
361 1998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
363 * sysdeps/unix/sysv/linux/netatalk/at.h: Include <linux/atalk.h>
364 before <sys/socket.h> to make sockaddr_at available to
367 * posix/glob.h: Remove __P from parameter lists of declarations.
369 1998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
371 * time/tzset.c (tz_compute): Remove unused parameter timer.
374 1998-11-02 Mark Kettenis <kettenis@phys.uva.nl>
376 * sysdeps/generic/bits/types.h (__ipc_pid_t): New typedef.
378 1998-11-02 Ulrich Drepper <drepper@cygnus.com>
380 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Remove
381 unnecessary test and add cast.
383 1998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
385 * posix/getconf.c: Add initializer SYSCONF for CHARCLASS_NAME_MAX.
387 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Remove unused
389 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
391 1998-11-02 Mark Kettenis <kettenis@phys.uva.nl>
393 * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
395 (__FDMASK): Use __fd_mask instead of unsigned long int in cast.
397 1998-10-31 Richard Henderson <rth@cygnus.com>
399 * math/Makefile (gmp-objs): Add udiv_qrnnd.
401 * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL*): New.
402 (inline_syscall*): New.
403 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL): New.
404 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Kill __syscall* bits.
406 1998-10-31 Ulrich Drepper <drepper@cygnus.com>
408 * aclocal.m4 (LIBC_PROG_FOO_GNU): Name output file using -o to
409 avoid ld test generating an unwanted file.
411 * posix/PTESTS: Remove comment about incorrect test (it is correct).
413 1998-10-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
415 * sunrpc/Versions: Add xdr_uint32_t and xdr_int32_t.
416 * sunrpc/pmap_rmt.c: Initialize clnt_stat variable.
417 * sunrpc/rpc/auth_des.h: Use uint32_t for time values.
418 * sunrpc/rpc/xdr.h: Add INT32 support.
419 * sunrpc/xdr.c: Implement xdr_int32_t and xdr_uint32_t .
421 * nis/nis_call.c: Changes for new 64bit clean NIS+ interface.
422 * nis/nis_callback.c: Likewise.
423 * nis/nis_creategroup.c: Likewise.
424 * nis/nis_defaults.c: Likewise.
425 * nis/nis_intern.h: Likewise.
426 * nis/nis_lookup.c: Likewise.
427 * nis/nis_ping.c: Likewise.
428 * nis/nis_print.c: Likewise.
429 * nis/nis_table.c: Likewise.
430 * nis/nis_util.c: Likewise.
431 * nis/nis_xdr.c: Likewise.
432 * nis/rpcsvc/nis.h: Likewise.
433 * nis/rpcsvc/nis.x: Likewise.
434 * nis/rpcsvc/nis_callback.h: Likewise.
435 * nis/rpcsvc/nis_object.x: Likewise.
436 * nis/rpcsvc/nislib.h: Likewise.
438 * nis/rpcsvc/yp.h: Remove casts to (u_long).
439 * nis/rpcsvc/yp_prot.h: Likewise.
440 * nis/rpcsvc/ypupd.h: Likewise.
441 * nis/ypclnt.c: Change %ld to %d in sprintf.
443 1998-10-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
445 * manual/locale.texi (Formatting Numbers): Fix strfmon examples.
447 1998-10-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
449 * sysdeps/generic/bits/select.h (__FD_ZERO): Change '\0' to plain
450 0, __fd_mask is usually not a char.
452 1998-10-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
454 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Allow
455 compilation on systems without rt_* syscalls (e.g. on Linux 2.0).
456 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
457 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
458 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
459 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise
460 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
461 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
463 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Allow
464 compiling on systems without rt_sigaction syscall.
465 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction):
468 1998-10-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
470 * time/strptime.c (HERE_D_FMT): Fix typo.
471 Reported by Claus Heine <heine@math1.rwth-aachen.de>, PR libc/842.
473 1998-10-30 Ulrich Drepper <drepper@cygnus.com>
475 * catgets/Makefile (tests): Add rules to run gencat on test1.msg.
476 (generate): Add test1.cat and test1.h.
477 (distribute): Add test1.msg.
478 * catgets/test1.msg: New file.
480 * catgets/gencat.c: Do a better job in initializing dynamic
481 memory [PR libc/844].
483 1998-10-30 18:11 Ulrich Drepper <drepper@cygnus.com>
485 * iconv/gconv_conf.c (__gconv_read_conf): Don't define as
486 internal_function since it is called through a pointer.
487 * iconv/gconv_db.c (free_derivation): Likewise.
488 * iconv/gconv_int.h: Adjust prototype od __gconv_read_conf.
490 * posix/wordexp.c: Add internal_function to parse_backtick definition.
491 * rt/aio_misc.c: Add internal_function to __aio_free_request,
492 __aio_find_req, __aio_find_req_fd, and __aio_enqueue_request
494 * rt/aio_notify.c: Add internal_function to __aio_notify_only and
495 __aio_notify definitions.
496 * wcsmbsload.c: Add internal_function to __wcsmbs_load_conv definition.
498 1998-10-30 Ulrich Drepper <drepper@cygnus.com>
500 * Makerules (build-shlib): Add -O to generate optimized shared
503 1998-10-30 11:15 Ulrich Drepper <drepper@cygnus.com>
505 * sysdeps/libm-i387/e_fmod.S: Remove invalid operand size suffix.
506 * sysdeps/libm-i387/e_fmodf.S: Likewise.
507 * sysdeps/libm-i387/e_fmodl.S: Likewise.
508 * sysdeps/libm-i387/s_ilogb.S: Likewise.
509 * sysdeps/libm-i387/s_ilogbf.S: Likewise.
510 * sysdeps/libm-i387/s_logb.S: Likewise.
511 * sysdeps/libm-i387/s_logbf.S: Likewise.
512 * sysdeps/libm-i387/s_remquo.S: Likewise.
513 * sysdeps/libm-i387/s_remquof.S: Likewise.
514 * sysdeps/libm-i387/s_remquol.S: Likewise.
515 * sysdeps/libm-i387/s_significand.S: Likewise.
516 * sysdeps/libm-i387/s_significandf.S: Likewise.
518 1998-10-30 Geoff Keating <geoffk@ozemail.com.au>
520 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Really correct
523 1998-10-30 Geoff Keating <geoffk@ozemail.com.au>
525 * math/libm-test.c: Loosen deltas for sin(0.9)^2+cos(0.9)^2.
527 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
529 * stdio-common/vfprintf.c (vfprintf): Fix the remaining premature
530 returns without cleaning up the lock.
531 (printf_unknown): Add label all_done.
533 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Keep Linux 2.0
534 kernels in mind when reading /proc/self/fd/FD.
535 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
537 * nscd/nscd.c (doc): It's "Name Service" not "Name Switch".
539 * malloc/mtrace.c (tr_where): Replace snprintf call by mempcpy and
542 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Try reading
543 /prof/self/fd/FD first.
544 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
546 * stdio-common/_itoa.h (_fitoa_word): New inline function. Write
547 formatted number starting at given position and return pointer to
549 (_fitoa): Likewise, for long long.
551 1998-10-29 Roland McGrath <roland@baalperazim.frob.com>
553 * sysdeps/unix/sysv/linux/bits/sem.h,
554 sysdeps/unix/sysv/linux/bits/ipc.h,
555 sysdeps/unix/sysv/linux/bits/shm.h,
556 sysdeps/unix/sysv/linux/bits/msq.h: Moved to ...
557 * sysdeps/gnu/bits/sem.h, sysdeps/gnu/bits/ipc.h,
558 sysdeps/gnu/bits/shm.h, sysdeps/gnu/bits/msq.h: ... here,
559 so the same bits will be used for the Hurd.
561 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
563 * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Allow
564 compiling on systems without rt_sigaction syscall.
566 1998-10-12 Philip Blundell <pb@nexus.co.uk>
568 * Makeconfig (sysdep-subdirs): Allow Subdirs files to remove
569 directories as well as add them.
571 1998-10-28 Philip Blundell <pb@nexus.co.uk>
573 * sysdeps/unix/sysv/linux/neteconet/ec.h: New file. Support for
574 AF_ECONET sockets as found in recent Linux 2.1 kernels.
575 * sysdeps/unix/sysv/linux/Dist: Distribute it.
576 * sysdeps/unix/sysv/linux/Makefile: Install it.
578 1998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
580 * string/bits/string2.h: __USE_GNU already implies __USE_MISC.
582 1998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
584 * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
586 * sysdeps/unix/sysv/linux/alpha/bits/types.h (__FDS_BITS): Likewise.
587 * sysdeps/unix/sysv/linux/bits/types.h (__FDS_BITS): Likewise.
588 * sysdeps/unix/sysv/linux/mips/bits/types.h (__FDS_BITS): Likewise.
589 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__FDS_BITS):
591 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h (__FDS_BITS):
593 * sysdeps/generic/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
595 * sysdeps/i386/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
596 __FD_ISSET): Likewise.
598 1998-10-28 Geoff Keating <geoffk@ozemail.com.au>
600 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Tidy up, correct
603 * sysdeps/unix/sysv/linux/powerpc/pread.c: Do not use the i386 version.
604 Instead call the system call wrapper function using an 64bit argument.
605 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
606 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
607 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
609 1998-10-27 Ulrich Drepper <drepper@cygnus.com>
611 * signal/signal.h: Don't include <time.h> for timespec, add
614 * sysdeps/i386/bits/select.h [!__USE_XOPEN]: Add special version
615 of __FD_* macros which use __fds_bits.
616 * sysdeps/generic/bits/select.h: Likewise.
617 Reported by Matt McLean <keys@yikes.com>.
619 1998-10-27 Philip Blundell <pb@nexus.co.uk>
621 * elf/elf.h: Update ARM definitions.
623 1998-10-27 Ulrich Drepper <drepper@cygnus.com>
625 * signal/signal.h: Include bits/sigthread.h only for Unix98.
627 1998-10-26 Ulrich Drepper <drepper@cygnus.com>
629 * include/libc-symbols.h: If HAVE_BUILTIN_EXPECT is not defined
630 define __builtin_expect as a macro substituting to the first
632 * config.h.in: Define HAVE_BUILTIN_EXPECT.
633 * configure.in: Add test for __builtin_expect.
635 * sysdeps/unix/sysv/linux/bits/types.h: Include
636 bits/pthreadtypes.h only not for POSIX 199506.
637 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
638 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
639 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
641 1998-10-26 Mark Kettenis <kettenis@phys.uva.nl>
643 * sysdeps/unix/sysv/linux/Versions: Move shutdown ...
644 * socket/Versions [libc, GLIBC_2.0]: ... to here.
646 1998-10-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
648 * include/stdio.h: Included <stddef.h> for size_t.
650 * stdio/stdio.h: Move __path_search, __gen_tempname, __libc_fatal
652 * include/stdio.h: ...here.
653 * libio/stdio.h: Removed __path_search, __gen_tempname, __libc_fatal.
655 1998-10-26 11:09 Ulrich Drepper <drepper@cygnus.com>
657 * time/Makefile (tests): Add tst-posixtz.
658 * time/tst-posixtz.c: New file.
660 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
662 * elf/rtld.c (process_envvars): Accept any non-null value of
663 LD_BIND_NOW, as mandated by the ABI.
665 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
667 * sysdeps/unix/sysv/linux/pread.c: Rename __syscall_pread64 to
669 * sysdeps/unix/sysv/linux/pwrite.c: Rename __syscall_pwrite64 to
671 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
672 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
673 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
674 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
675 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise. Remove
677 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
678 s_pread64 and s_pwrite64.
679 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
681 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
683 * sysdeps/unix/sysv/linux/llseek.c: Use INLINE_SYSCALL.
684 * sysdeps/unix/sysv/linux/arm/syscalls.list: Rename __sys_llseek
685 to __syscall__llseek.
686 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
687 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
688 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove entry for
691 1998-10-26 Cristian Gafton <gafton@redhat.com>
693 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add s_setfsgid
696 1998-10-26 Ulrich Drepper <drepper@cygnus.com>
698 * time/tzset.c (tz_compute): Correct last patch and describe this
701 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
703 * sysdeps/unix/sysv/linux/m68k/Makefile [subdir=signal]: Remove
704 rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo,
705 rt_sigaction and rt_sigpending.
706 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove all entries
707 for __syscall_* functions.
708 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Implement INLINE_SYSCALL.
710 1998-10-26 Roland McGrath <roland@baalperazim.frob.com>
712 * hurd/Versions: Add _hurd_dtable, _hurd_dtablesize,
713 _hurd_dtable_lock, _hurd_intern_fd.
715 * sysdeps/mach/hurd/Versions: Add cthread_keycreate,
716 cthread_getspecific, cthread_setspecific, __libc_getspecific.
718 * mach/Versions: Fix typo in last change.
720 1998-10-25 Ulrich Drepper <drepper@cygnus.com>
722 * time/tzset.c (tz_compute): If time to switch to DST is later in
723 the year switch back in the next year.
724 Reported by jwitford@hutch.com.au.
726 1998-10-24 Mark Kettenis <kettenis@phys.uva.nl>
728 * mach/Versions: Add evc_wait, mach_error, mach_error_string,
729 mach_error_type, mach_msg_destroy, mig_deallocate_reply_port.
730 Remove __mach_host_self, __mach_reply_port, __mach_setup_thread,
731 __mach_port_allocate, __mach_port_allocate_name,
732 __mach_port_insert_right __mutex_trylock, __mutex_lock,
733 __mutex_unlock, __swtch, __switch, __task_create, __task_suspend,
734 __task_set_special_port, __task_terminate, __thread_depress_abort,
735 __thread_switch, __vm_allocate, __vm_deallocate, __vm_map. These
736 functions are not used outside libc.
738 * sysdeps/mach/hurd/Versions: New file.
739 [libc, GLIBC_2.0]: Add _cthread_exit_routine and
740 _cthread_init_routine. These are set by the Hurd cthreads library.
741 Add __getcwd, __mmap. If we don't add these, the weak definitions in
742 the dynamic linker will not be replaced by the corresponding shared
743 library routines once they are loaded.
745 1998-10-21 Mark Kettenis <kettenis@phys.uva.nl>
747 * sysdeps/mach/hurd/i386/init-first.c: Only define
748 __libc_enable_secure if PIC is not defined.
750 1998-10-25 Roland McGrath <roland@baalperazim.frob.com>
752 * argp/Versions: Add _argp_unlock_xxx. Lock-savvy functions call this
753 to recurse into argp.
755 1998-10-25 Ulrich Drepper <drepper@cygnus.com>
757 * include/features.h: Define __USE_POSIS199506 is _POSIX_C_SOURCE is
758 greater or equal than 199506L.
760 * sysdeps/generic/bits/types.h (__fd_set): Define element as fds_bits
761 only is __USE_XOPEN. Otherwise use __fds_bits.
762 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
763 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
764 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
765 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
766 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
768 1998-10-24 H.J. Lu <hjl@gnu.org>
770 * locale/programs/charmap.c (parse_charmap): Accept tok_string
773 1998-10-25 H.J. Lu <hjl@gnu.org>
775 * locale/programs/ld-ctype.c (ctype_finish): Also check
778 1998-10-25 Ulrich Drepper <drepper@cygnus.com>
780 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX199506.
782 * sysdeps/unix/sysv/linux/bits/types.h: Include pthreadtypes.h only
783 if __USE_POSIX199506 or __USE_UNIX98.
785 1998-10-24 22:34 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
787 * string/bits/string2.h: Inline strdup+friends only if
788 __USE_MISC || __USE_GNU (prevents namespace pollution).
790 1998-10-24 H.J. Lu <hjl@gnu.org>
792 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (LOCK_SH,
793 LOCK_EX, LOCK_NB, LOCK_UN): Protect with __USE_BSD.
794 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (LOCK_SH, LOCK_EX,
795 LOCK_NB, LOCK_UN): Likewise.
796 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (LOCK_SH, LOCK_EX,
797 LOCK_NB, LOCK_UN): Likewise.
798 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (LOCK_SH, LOCK_EX,
799 LOCK_NB, LOCK_UN): Likewise.
800 * sysdeps/unix/sysv/linux/bits/fcntl.h (LOCK_SH, LOCK_EX,
801 LOCK_NB, LOCK_UN): Likewise.
803 1998-10-24 H.J. Lu <hjl@gnu.org>
805 * libio/ioseekoff.c (_IO_seekoff): Check the valid dir value.
807 * libio/rewind.c (rewind): Clear the error.
809 1998-10-24 H.J. Lu <hjl@gnu.org>
811 * grp/grp.h (getgrent_r, getgrgid_r, getgrnam_r): Add "__" to
814 1998-10-24 H.J. Lu <hjl@gnu.org>
816 * sysdeps/unix/sysv/linux/alpha/bits/time.h (timeval): Protect
818 * sysdeps/unix/sysv/linux/mips/bits/time.h (timeval): Likewise.
819 * sysdeps/unix/sysv/linux/bits/time.h (timeval): Likewise.
821 1998-10-24 H.J. Lu <hjl@gnu.org>
823 * signal/signal.h (timespec, siginfo_t, sigwaitinfo, sigtimedwait,
824 sigqueue): Protect with __USE_POSIX199309.
826 1998-10-24 H.J. Lu <hjl@gnu.org>
828 * time/time.h (timespec): Protect with __USE_POSIX199309 instead of
831 1998-10-24 H.J. Lu <hjl@gnu.org>
833 * libio/fileops.c (_IO_new_file_seekoff): Always resync with
834 the kernel file offset.
835 * libio/oldfileops.c (_IO_old_file_seekoff): Likewise.
837 1998-10-24 H.J. Lu <hjl@gnu.org>
839 * time/tzfile.c (__tzfile_default): Set num_types to 2.
841 1998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
843 * rt/aio.h: Move __aio_init to...
844 * include/aio.h: ...here.
846 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
848 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove duplicate
849 definition of O_LARGEFILE.
851 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
853 * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Use path
854 as first argument to statfs.
856 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
858 * sysdeps/generic/setenv.c (setenv): Add braces around ambiguous else.
860 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
862 * malloc/mtrace.c: Include <string.h> for strlen.
864 1998-10-24 Roland McGrath <roland@baalperazim.frob.com>
866 * sysdeps/mach/hurd/bits/environments.h: New file.
868 * sysdeps/mach/hurd/dl-sysdep.c (__getcwd): New weak function.
870 * mach/Versions, hurd/Versions: Add numerous symbols.
871 Remove libmachuser and libhurduser sections, punt
872 versioning for those libraries for now.
874 * misc/Versions: Add reboot here; it exists on all platforms.
875 * sysdeps/unix/sysv/linux/Versions: Remove reboot here.
877 1998-10-23 Ulrich Drepper <drepper@cygnus.com>
879 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOFOLLOW): New
881 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
882 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
883 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_LARGEFILE,
884 O_NOFOLLOW, O_DIRECT): New macros.
885 (O_DIRECTORY): Correct definition according to official 2.1.126.
886 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECTORY,
887 O_NOFOLLOW): New macros.
889 1998-10-24 Roland McGrath <roland@baalperazim.frob.com>
891 * include/ldsodefs.h: Test HAVE_ELF instead of __ELF__.
893 * sysdeps/mach/hurd/opendir.c (__opendir): Return ENOENT for "".
894 (__opendir): Add trailing slash to name for open, for ENOTDIR check.
896 1998-10-23 Ulrich Drepper <drepper@cygnus.com>
898 * sysdeps/unix/sysv/linux/i386/Dist: Add setresuid.c, setresgid.c,
899 setfsuid.c, and setfsgid.c.
900 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
901 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
902 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
904 * version.h (VERSION): Bump to 2.0.99.
906 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove duplicate
909 * sysdeps/unix/sysv/linux/i386/Dist: Remove s_pread64.c and
912 * posix/fnmath.h: Don't redefine __P when used in glibc.
913 * posix/glob.h: Likewise.
915 * inet/rcmd.c (__ivaliduser2): Fix memory leak.
916 Patch by Dick Streefland <dick_streefland@tasking.com>.
918 * stdio-common/tst-ungetc.c: Add more test cases.
920 * sysdeps/unix/sysv/linux/Dist: Add linux_fsinfo.h.
921 * sysdeps/unix/sysv/linux/fstatvfs.c: Move filesystem magic number
923 * sysdeps/unix/sysv/linux/linux_fsinfo.h: ...here. New file.
924 * sysdeps/unix/sysv/linux/fpathconf.c: New file.
925 * sysdeps/unix/sysv/linux/pathconf.c: New file.
926 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Handle _PC_LINK_MAX here.
927 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
929 1998-10-20 Philip Blundell <pb@nexus.co.uk>
931 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Include
932 <asm/ptrace.h> to define struct pt_regs.
933 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Don't bother
934 including <asm/ptrace.h> here.
936 * sysdeps/unix/sysv/linux/arm/sysdep.S: Remove spurious call to
939 1998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
941 * sysdeps/generic/sys/ptrace.h (__ptrace_request): Remove comma at
942 end of enumerator list.
943 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Likewise.
944 * posix/wordexp.h: Likewise.
946 * db/db.h: Use __PMT instead of __P in typedefs.
947 * db/mpool.h: Likewise.
948 * sysdeps/generic/bits/siginfo.h: Likewise.
949 * nis/rpcsvc/ypclnt.h: Likewise.
951 1998-10-23 Ulrich Drepper <drepper@cygnus.com>
953 * libio/genops.c (_IO_seekmark): When switching to backup buffer
954 make sure all characters from the read buffer are read after
955 switching back to it.
957 1998-10-22 Ulrich Drepper <drepper@cygnus.com>
959 * configure.in: Add support for Cygnus GNUPro compilers.
961 1998-10-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
963 * stdio/stdio.h: Use __PMT instead of __P in typedefs.
965 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use __PMT instead
966 of __P for sa_restorer.
967 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
968 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
969 kernel_sigaction, old_kernel_sigaction): Likewise.
971 1998-10-22 Ulrich Drepper <drepper@cygnus.com>
973 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add __syscall_pread
974 and __syscall_pwrite aliases.
976 * sunrpc/rpc/auth.h (AUTH_DH): New macro. Alias for AUTH_DES.
978 * sysdeps/unix/sysv/linux/i386/sysdep.h: Drastically simplify and
979 improve INLINE_SYSCALL using macro assembler magic.
981 1998-10-22 H.J. Lu <hjl@gnu.org>
983 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Add
985 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
987 * sysdeps/posix/fpathconf.c (__fpathconf): Set errno to
988 EINVAL if errno == ENODEV. Tested by VSX-PCT.
990 * sysdeps/posix/isatty.c (__isatty): Don't reset errno. Tested
993 * posix/execvp.c (execvp): Check "". Tested by VSX-PCT.
995 1998-10-22 Philip Blundell <pb@nexus.co.uk>
997 * sysdeps/unix/arm/sysdep.h: Wrap assembler macros in #ifdef
1000 1998-10-21 Ulrich Drepper <drepper@cygnus.com>
1002 * sysdeps/unix/sysv/linux/i386/sysdep.h: Remove EXTRAVARS_* macros
1005 1998-10-21 14:38 Ulrich Drepper <drepper@cygnus.com>
1007 * sysdeps/unix/sysdep.h (INLINE_SYSCALL): New macro. Simply call
1008 __syscall_* function.
1009 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use INLINE_SYSCALL instead
1010 of calling __syscall_* function.
1011 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
1012 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
1013 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1014 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1015 * sysdeps/unix/sysv/linux/getpriority.c: Likewise.
1016 * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
1017 * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
1018 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
1019 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1020 * sysdeps/unix/sysv/linux/poll.c: Likewise.
1021 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1022 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1023 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
1024 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1025 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1026 * sysdeps/unix/sysv/linux/readv.c: Likewise.
1027 * sysdeps/unix/sysv/linux/reboot.c: Likewise.
1028 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1029 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
1030 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1031 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1032 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1033 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1034 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
1035 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1036 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1037 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
1038 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
1039 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1040 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
1041 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
1042 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1043 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1044 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1045 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1046 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1047 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1048 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
1049 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1050 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1051 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1052 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
1054 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define INLINE_SYSCALL using
1056 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove various
1057 __syscall_* definitions.
1059 * sysdeps/unix/sysv/linux/syscalls.list: Move various __syscall_*
1061 * sysdeps/unix/sysv/linux/alpha/syscalls.list: ...here...
1062 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
1063 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
1064 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
1065 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
1066 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
1067 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
1069 * sysdeps/unix/sysv/linux/Makefile [subdir=signal] (sysdep_routines):
1070 Move definition to...
1071 * sysdeps/unix/sysv/linux/alpha/Makefile: ...here...
1072 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
1073 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
1074 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
1075 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
1076 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
1077 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
1079 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
1080 (sysdep_routines): Remove s_pread64 and s_pwrite64.
1082 * sysdeps/unix/sysv/linux/i386/pread.c: New file.
1083 * sysdeps/unix/sysv/linux/i386/pread64.c: New file.
1084 * sysdeps/unix/sysv/linux/i386/pwrite.c: New file.
1085 * sysdeps/unix/sysv/linux/i386/pwrite64.c: New file.
1086 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Removed.
1087 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Removed.
1089 1998-10-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1091 * sysdeps/unix/sysv/linux/siglist.h: Fix some typos in these files
1092 and bring them in synch.
1093 * sysdeps/unix/siglist.c: Likewise.
1094 Reported by Vladimir Michl <michlv@risc.upol.cz> [PR libc/832].
1096 1998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1098 * sysdeps/unix/sysv/linux/i386/setresuid.c: Allow -1 as arguments.
1099 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1101 * sysdeps/unix/sysv/linux/i386/setreuid.c: New file.
1102 * sysdeps/unix/sysv/linux/i386/setregid.c: New file.
1103 * sysdeps/unix/sysv/linux/m68k/setreuid.c: New file.
1104 * sysdeps/unix/sysv/linux/m68k/setregid.c: New file.
1105 * sysdeps/unix/sysv/linux/arm/setreuid.c: New file.
1106 * sysdeps/unix/sysv/linux/arm/setregid.c: New file.
1107 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: New file.
1108 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: New file.
1109 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_setreuid and
1111 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
1112 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1113 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1115 1998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1117 * sunrpc/rpc_main.c (close_output, close_input): New functions.
1118 (c_output, h_output, s_output, l_output, t_output, svc_output,
1119 clnt_output, mkfile_output): Call them at the end.
1121 1998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1123 * db/Makefile (LDFLAGS-db1.so): New variable, to avoid duplicating
1126 1998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1128 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Add real contents.
1129 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add s_setfs[ug]id.
1131 1998-10-20 Ulrich Drepper <drepper@cygnus.com>
1133 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_pread64 and
1135 * sysdeps/unix/sysv/linux/powerpc/pread.c: New file.
1136 * sysdeps/unix/sysv/linux/powerpc/pread64.c: New file.
1137 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: New file.
1138 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: New file.
1139 Patch by Geoffrey KEATING <geoffk@discus.anu.edu.au>.
1141 1998-10-18 Zack Weinberg <zack@rabi.phys.columbia.edu>
1143 * sysdeps/unix/opendir.c: Check at runtime for kernel support for
1146 1998-10-20 H.J. Lu <hjl@gnu.org>
1148 * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Fix
1151 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
1153 * math/tgmath.h: Make nested function calls work.
1155 * include/ldsodefs.h: Fix typo.
1157 * posix/Makefile (tests): Add tst-preadwrite.
1158 * posix/tst-preadwrite.c: New file.
1160 * sysdeps/unix/opendir.c (__opendir): Add back fstat call to make
1161 sure that descriptor is in any case for a directory.
1163 1998-10-19 18:59 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1165 * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG): Fix typo: val -> Val.
1166 (atan2): Takes two arguments.
1168 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
1170 * include/ldsodefs.h: New file.
1172 * iconv/gconv.c: Include ldsodefs.h, not elf/ldsodefs.h.
1173 Remove change to avoid using _CALL_DL_FCT.
1174 * iconv/gconv_db.c: Likewise.
1175 * iconv/gconv_dl.c: Likewise.
1176 * iconv/skeleton.c: Likewise, here for DL_CALL_FCT.
1177 * malloc/mtrace.c: Include ldsodefs.h, not elf/ldsodefs.h.
1178 * nss/nsswitch.c: Likewise.
1179 * nss/nsswitch.h: Likewise.
1181 1998-10-19 Philip Blundell <pb@nexus.co.uk>
1183 * sunrpc/Makefile (otherlibs): If static NSS is in use, set to the
1185 * login/Makefile (otherlibs): Likewise.
1186 * nscd/Makefile (otherlibs): Likewise.
1187 * Makeconfig (link-libc) [! build_shared]: Add $(otherlibs).
1189 * debug/Makefile (install-bin): Only build catchsegv if using ELF.
1191 * inet/Makefile: Add -DSTATIC_NSS to CFLAGS.
1193 1998-10-19 Philip Blundell <pb@nexus.co.uk>
1195 * sysdeps/unix/sysv/linux/arm/syscalls.list: Added setfsgid
1198 1998-10-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1200 * nscd/connections.c: Fix typos in comments and strings.
1202 * nscd/nscd.conf: Update according to recent changes to nscd.
1204 * nscd/cache.c (prune_cache): Remove wrong comment.
1206 1998-10-19 13:24 Ulrich Drepper <drepper@cygnus.com>
1208 * locale/programs/ld-collate.c (collate_startup): Clear bit for this
1209 category in copy_posix.
1210 (collate_finish): Don't warn about UNDEFINED not being defined.
1211 * locale/programs/ld-ctype.c (ctype_startup): Clear bit for this
1212 category in copy_posix.
1213 * locale/programs/ld-messages.c (messages_startup): Likewise.
1214 * locale/programs/ld-monetary.c (monetary_startup): Likewise.
1215 * locale/programs/ld-numeric.c (numeric_startup): Likewise.
1216 * locale/programs/ld-time.c (time_startup): Likewise.
1217 * locale/programs/localedef.c: Move copy_def_list_t definition into
1218 locales.h. Define copy_posix variable.
1219 (main): Before processing copy list add ©_posix to copy_list.
1220 * locale/programs/locales.h: Add definition of copy_def_list_t.
1221 * locale/programs/locfile.c: Clear bit for appropriate category in
1222 copy_posix.mask for copy instruction.
1224 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
1226 * sysdeps/unix/sysv/linux/i386/setresgid.c: Remove #include of
1227 non-existing file with generic implementation.
1228 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1230 1998-10-19 Philip Blundell <pb@nexus.co.uk>
1232 * iconv/gconv_db.c: Include ELF header only if STATIC_GCONV is not
1233 defined. Avoid using _CALL_DL_FCT if it is not defined.
1234 * iconv/gconv.c: Likewise.
1236 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
1238 * nscd/connections.c (dbs): Define defualt values for timeouts and
1239 set enabled to 0 by default.
1240 (CACHE_PRUNE_INTERVAL): New constant. Use it instead of magical 15 in
1243 * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISCNTRL bit for
1245 (_nl_C_LC_CTYPE_class32): Likewise.
1248 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
1250 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
1251 _HURD_THREADVAR_DL_ERROR.
1253 * hurd/Makefile (user-interfaces): Add login, password.
1255 * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses.
1257 1998-08-06 Mark Kettenis <kettenis@phys.uva.nl>
1259 [submitted 1998-08-06]
1260 * mach/Machrules: Create target directory and force re-evaluation
1261 of Makefile to prevent `make' from optimizing away most of the
1262 implicit rules and `vpath' directives.
1264 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
1266 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): If _hurd_msgport_thread
1267 is null, short-circuit to __mach_msg.
1269 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): New function,
1270 broken out of init1.
1271 (init1) [PIC]: Call it.
1272 (__libc_init_first) [! PIC]: Call it.
1274 * sysdeps/mach/hurd/i386/init-first.c (init1): Don't call
1275 __libc_init_secure. Instead set __libc_enable_secure here from
1277 (__libc_enable_secure): New variable it.
1278 * sysdeps/mach/hurd/enbl-secure.c: New file, empty placeholder module.
1280 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
1282 * nscd/nscd-client.h: New file, broken out of "nscd.h".
1283 * nscd/nscd.h: Move defns needed by clients to "nscd-client.h",
1285 * nscd/Makefile (distribute): Add nscd-client.h.
1286 * nscd/nscd_getgr_r.c, nscd/nscd_gethst_r.c, nscd/nscd_getpw_r.c:
1287 Include "nscd-client.h" instead of "nscd.h"
1289 1998-10-18 Ulrich Drepper <drepper@cygnus.com>
1291 * sysdeps/posix/getcwd.c (__getcwd): Don't stop processing
1292 directory entries when a lstat call fails.
1293 Patch by Colin Plumb <colin@nyx.net>.
1295 * resolv/nss_dns/dns-host.c: Add missing errnop parameter to the
1297 * resolv/nss_dns/dns-network.c: Likewise.
1299 * grp/Makefile: Don't search for linuxthreads in add-ons, use
1300 have-thread-library to determine whether threads are available.
1301 * pwd/Makefile: Remove wrong comment.
1303 * inet/Makefile: Define CFLAGS-gethstbyad_r.c, CFLAGS-gethstbynm_r.c,
1304 and CFLAGS-gethstbynm2_r.c to -DUSE_NSCD=1.
1306 * locale/C-messages.c: Define default strings for YESTR and NOSTR.
1308 * nss/Versions: Add __nss_hosts_lookup.
1310 * nss/getXXbyYY.c: Remove unneeded assignment.
1312 * nss/getXXbyYY_r.c: Include nscd/nscd_proto.h only if needed.
1314 Almost complete rewrite of the NSCD to make it smaller, faster,
1315 add more functionnality and make it easier to extend.
1316 * nscd/Makfile (routines): Add nscd_gethst_r.
1317 (nscd-modules): Add hstcache, gethstbyad_r, gethstbynm2_r, and cache.
1318 * nscd/cache.c: New file.
1319 * nscd/gethstbyad_r.c: New file.
1320 * nscd/gethstbynm2_r.c: New file.
1321 * nscd/hstcache.c: New file.
1322 * nscd/nscd_gethst_r.c: New file.
1323 * nscd/connections.c: Rewritten. Don't start new thread for every
1324 new connection. Use a fixed set of threads which handle all
1325 connections and also the cache cleanup.
1326 * nscd/grpcache.c: Rewritten to use generic cache handling functions
1328 * nscd/nscd.c: Recognize new parameter nthreads. Adjust initialization
1329 for rewrite. Remove handle_requests function.
1330 * nscd/nscd.h (NSCD_VERSION): Bump to 2.
1331 Define new data structure for the new unified cache and the host
1333 * nscd/nscd_conf.c: Rewrite parsing partly to allow adding of more
1334 databases easily. Recognize check-files and threads definitions.
1335 * nscd/nscd.conf: Add definition of enable-cache and check-files to
1336 passwd and group definitions. Add new set of definitions for hosts.
1337 * nscd/nscd_getgr_r.c: Rewrite for new protocol.
1338 * nscd/nscd_getpw_r.c: Likewise.
1339 * nscd/nscd_proto.h: Add prototype for host database functions.
1340 * nscd/nscd_stat.c: Rewrite to simplify printing of information
1342 * nscd/dbg_log.c: Remove unnecessary variable initializations.
1343 Global variable debug_flag is renamed to dbg_level.
1344 * nscd/dbg_log.h: Declare set_logfile.
1346 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
1348 * sysdeps/unix/sysv/linux/bits/fcntl.h: Add dummy definition of
1351 1998-10-16 Paul Eggert <eggert@shade.twinsun.com>
1353 * time/mktime.c: Some systems require <unistd.h> to be
1354 included before <time.h> for localtime_r to be declared
1356 * time/strftime.c: Likewise.
1358 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
1360 * db/Makefile: Add rule to generate shared object with the soname
1363 * sysdeps/unix/opendir.c: Use O_DIRECTORY if available. If not
1364 available double check to verify it's a directory.
1366 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add O_DIRECTORY.
1367 * sysdeps/unix/sysv/linux/mips/bits/fcntl: Likewise.
1368 * sysdeps/unix/sysv/linux/bits/fcntl.h: Remove O_* constants which
1369 are not generally available.
1370 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: New file.
1372 * sysdeps/unix/sysv/linux/i386/setgroups.c: Add range check for values.
1373 * sysdeps/unix/sysv/linux/arm/Makefile: New file.
1374 * sysdeps/unix/sysv/linux/arm/setegid.c: New file.
1375 * sysdeps/unix/sysv/linux/arm/seteuid.c: New file.
1376 * sysdeps/unix/sysv/linux/arm/setfsgid.c: New file.
1377 * sysdeps/unix/sysv/linux/arm/setfsuid.c: New file.
1378 * sysdeps/unix/sysv/linux/arm/setgid.c: New file.
1379 * sysdeps/unix/sysv/linux/arm/setgroups.c: New file.
1380 * sysdeps/unix/sysv/linux/arm/setresgid.c: New file.
1381 * sysdeps/unix/sysv/linux/arm/setresuid.c: New file.
1382 * sysdeps/unix/sysv/linux/arm/setuid.c: New file.
1383 * sysdeps/unix/sysv/linux/i386/setegid.c: New file.
1384 * sysdeps/unix/sysv/linux/i386/seteuid.c: New file.
1385 * sysdeps/unix/sysv/linux/i386/setfsgid.c: New file.
1386 * sysdeps/unix/sysv/linux/i386/setfsuid.c: New file.
1387 * sysdeps/unix/sysv/linux/i386/setgid.c: New file.
1388 * sysdeps/unix/sysv/linux/i386/setgroups.c: New file.
1389 * sysdeps/unix/sysv/linux/i386/setresgid.c: New file.
1390 * sysdeps/unix/sysv/linux/i386/setresuid.c: New file.
1391 * sysdeps/unix/sysv/linux/i386/setuid.c: New file.
1392 * sysdeps/unix/sysv/linux/m68k/setegid.c: New file.
1393 * sysdeps/unix/sysv/linux/m68k/seteuid.c: New file.
1394 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: New file.
1395 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: New file.
1396 * sysdeps/unix/sysv/linux/m68k/setgid.c: New file.
1397 * sysdeps/unix/sysv/linux/m68k/setgroups.c: New file.
1398 * sysdeps/unix/sysv/linux/m68k/setresgid.c: New file.
1399 * sysdeps/unix/sysv/linux/m68k/setresuid.c: New file.
1400 * sysdeps/unix/sysv/linux/m68k/setuid.c: New file.
1401 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
1402 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
1403 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: New file.
1404 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: New file.
1405 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: New file.
1406 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
1407 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file.
1408 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file.
1409 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: New file.
1411 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add s_setgid, s_setresuid,
1412 s_setresgid, and s_setuid.
1413 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1414 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
1415 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1416 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
1417 (sysdep_routines): Add setfsgid, setfsuid, setresgid, and setresuid.
1418 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1419 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
1421 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
1423 * time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get
1424 localtime_t declaration on some systems.
1426 1998-10-16 10:07 Ulrich Drepper <drepper@cygnus.com>
1428 * iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to
1430 * iconv/skeleton.c: Include ELF header only of STATIC_GCONV is not
1431 defined. Avoid using DL_CLL_FCT if it is not defined.
1433 1998-10-16 10:40 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1435 * resolv/arpa/nameser.h: Include sys/types.h unconditionally.
1436 Include endian.h unconditionally. Remove portability goop
1437 depending on #ifdef linux, #ifdef BSD, #ifdef machine-type.
1439 1998-10-16 11:39 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1441 * sunrpc/rpc/types.h: Mark file so fixincludes won't modify it.
1443 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
1445 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios
1446 again. Use char[44] to define size of the struct.
1448 * sysdeps/unix/sysv/linux/arm/Dist: Add bits/armsigctx.h.
1450 1998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1452 * string/bits/string2.h (strcmp): Don't cache the result of
1453 __builtin_constant_p in variables, otherwise constant folding
1454 can fail in big functions.
1456 1998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1458 * string/bits/string2.h: Add prototypes for the new inline
1461 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
1463 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to
1464 have all types defined.
1465 Patch by Matti Aarnio <matti.aarnio@sonera.fi>.
1467 1998-10-08 Paul Eggert <eggert@twinsun.com>
1469 * time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r.
1470 Define also if HAVE_LOCALTIME_R && defined localtime_r, with
1471 a body that merely expands localtime_r; this works around a
1472 bug in Digital Unix 4.0A and 4.0D.
1474 1998-10-14 Ulrich Drepper <drepper@cygnus.com>
1476 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl.
1477 * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define
1478 __ioctl to __syscall_ioctl and include Linux version of this file.
1479 * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
1480 * sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file. Redirect
1481 ioctl calls which handle struct termios.
1482 Based on a patch by Dan Jacobowitz <drow@false.org>.
1484 1998-10-14 Ulrich Drepper <drepper@cygnus.com>
1486 * version.h (VERSION): Bump to 2.0.98.
1488 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios
1489 here instead of including kernel_termios.h.
1491 1998-10-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1493 * sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is
1494 unnecessary after the changes of 1998-10-12.
1496 1998-10-13 Ulrich Drepper <drepper@cygnus.com>
1498 * sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output
1499 parameter format string.
1500 (inline_outw): Likewise.
1502 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include
1503 string.h to get memcpy prototype and NULL definition.
1505 1998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1507 * misc/sys/cdefs.h (__THROW): New macro.
1508 * argp/argp.h: Use it to replace the kludgey __P in inline
1509 function definitions.
1510 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1511 * stdlib/stdlib.h: Likewise.
1512 * wcsmbs/wchar.h: Likewise.
1513 * libio/stdio.h: Likewise.
1514 * stdio/stdio.h: Likewise.
1515 * sysdeps/wordsize-64/inttypes.h: Likewise.
1516 * sysdeps/wordsize-32/inttypes.h: Likewise.
1517 * string/argz.h: Likewise.
1518 * io/sys/stat.h: Likewise.
1520 1998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1522 * Rules (stdio_lim): New variable.
1523 ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend
1524 on Rules and config.make, use $(move-if-change) to avoid unnessary
1525 recompilations, and cleanup command.
1526 (common-generated): Add bits/stdio_lim.st.
1528 1998-10-12 Ulrich Drepper <drepper@cygnus.com>
1530 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): New
1531 variable to prevent warnings from use of modern CPU instructions.
1532 Patch by Richard Henderson <rth@cygnus.com>.
1534 * sysdeps/unix/opendir.c: Test whether NAME is directory before
1537 1998-10-12 Philip Blundell <pb@nexus.co.uk>
1539 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Add missing
1540 semicolon so that profiling works.
1542 1998-10-12 Roland McGrath <roland@baalperazim.frob.com>
1544 * sysdeps/generic/glob.c: #undef mempcpy before #define.
1546 * sysdeps/unix/bsd/clock.c: Use prototype defns.
1548 1998-10-11 Ulrich Drepper <drepper@cygnus.com>
1550 * Rules [posix in sysdirs]: Set L_tmpnam to 20.
1551 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
1553 * string/bits/string2.h [!_STRING_ARCH_unaligned]
1554 (__mempcpy_small): Add parameter for 1 byte copy and use it.
1555 Reported by Geoff Keating <geoffk@ozemail.com.au>.
1557 1998-10-09 Mark Kettenis <kettenis@phys.uva.nl>
1559 * sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove,
1560 it is already defined in <bits/environments.h>.
1562 1998-10-09 Ulrich Drepper <drepper@cygnus.com>
1564 * posix/ptestcases.h: Fix typo.
1566 1998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1568 * posix/regex.c (regcomp): Allocate and prepare a fastmap.
1569 (regexec): Allocate regs.start and regs.end as one block.
1571 1998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1573 * sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of
1576 1998-10-08 Philip Blundell <pb@nexus.co.uk>
1578 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of
1579 sigcontext union to ...
1580 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here. New
1582 * sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for
1583 version 2.0 kernels.
1585 1998-10-08 Ulrich Drepper <drepper@cygnus.com>
1587 * malloc/mtrace.c (tr_reallochook): Produce better output for real
1590 * signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined.
1591 * argp/argp-xinl.c: Likewise.
1593 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing
1595 Patch by Christian Gafton.
1597 1998-10-08 Paul Eggert <eggert@twinsun.com>
1599 * time/mktime.c (__mktime_internal): When the requested time falls
1600 in a spring-forward gap of size DT, return a time that is DT away
1601 from the requested time, preferring a time whose tm_isdst differs
1602 from the requested value. Bump the max number of probes from 4 to
1603 6 to account for the extra probes needed to discover a
1604 spring-forward gap in the worst case.
1606 1998-10-07 17:05 Ulrich Drepper <drepper@cygnus.com>
1608 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection
1609 of the weird alpha architectures.
1610 Patch by Cristian Gafton <gafton@redhat.com>.
1612 1998-02-18 23:31 Richard Henderson <rth@cygnus.com>
1614 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
1615 RAWHIDE and TSUNAMI. Patch from Jay.Estabrook@digital.com.
1617 1998-10-07 Ulrich Drepper <drepper@cygnus.com>
1619 * elf/dl-open.c (_dl_global_scope_alloc): Make global.
1620 (dl_open_worker): Use realloc, not malloc to resize array.
1621 * elf/rtld.c (_dl_initial_searchlist): New variable.
1622 (_dl_main): Copy content of _dl_main_searchlist to
1623 _dl_initial_searchlist.
1624 * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and
1625 _dl_global_scope_alloc.
1626 * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist.
1627 * elf/dl-close.c (_dl_close): When removing object with global
1628 scope remove allocated searchlist if no dynamically loaded object
1630 * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope.
1631 (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist.
1633 * malloc/mtrace.c (tr_where): Don't print space in location string,
1634 print it afterwards. Print better symbol name information.
1636 1998-10-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1638 * manual/filesys.texi (Setting Permissions): Fix example for
1641 1998-10-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1643 * elf/sprof.c (load_profdata): Fix typo in error message.
1645 1998-10-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1647 * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
1650 1998-10-04 Roland McGrath <roland@baalperazim.frob.com>
1652 * mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it.
1654 1998-10-06 Ulrich Drepper <drepper@cygnus.com>
1656 * version.h (VERSION): Bump to 2.0.97.
1658 1998-10-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1660 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P
1661 in definitions of inline stat functions so that they match the
1663 * stdlib/stdlib.h: Likewise.
1664 * wcsmbs/wchar.h: Likewise.
1665 * libio/stdio.h: Likewise.
1666 * stdio/stdio.h: Likewise.
1667 * sysdeps/wordsize-64/inttypes.h: Likewise.
1668 * sysdeps/wordsize-32/inttypes.h: Likewise.
1669 * string/argz.h: Likewise.
1670 * argp/argp.h: Likewise.
1672 1998-10-06 Ulrich Drepper <drepper@cygnus.com>
1674 * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
1677 1998-10-05 Philip Blundell <philb@gnu.org>
1679 * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures
1680 and constants. Tidy up formatting a little.
1682 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6):
1683 Move definitions to in.h.
1685 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1687 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER,
1688 SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added.
1689 Remove inclusion of <linux/swap.h>.
1691 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
1693 * io/sys/stat.h: Use __P in definitions of inline stat functions
1694 so that they match the declaration.
1696 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1698 * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added.
1700 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1702 * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current
1705 1998-10-02 Philip Blundell <pb@nexus.co.uk>
1707 * sysdeps/arm/dl-machine.h: Fix typo in last change.
1709 * sysdeps/arm/bits/huge_val.h: New file.
1711 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1713 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added.
1715 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add
1718 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
1720 * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to
1721 store result of realloc instead of using BUF.
1723 1998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1725 * misc/sgtty.h (_SGTTY_H): Correct spelling.
1726 Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817].
1728 1998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1730 * manual/memory.texi (Obstacks): Document
1731 obstack_alloc_failed_handler usage.
1733 * malloc/obstack.h: Enhance comment about
1734 obstack_alloc_failed_handler usage.
1735 * malloc/obstack.c: Likewise.
1737 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
1739 * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or
1740 gcc before 2.8 is used.
1742 1998-10-01 Philip Blundell <pb@nexus.co.uk>
1744 * sysdeps/arm/machine-gmon.h: Correct args to mcount(). Patch
1745 from Scott Bambrough.
1747 * sysdeps/unix/sysv/linux/arm/register-dump.h: New file.
1749 * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
1750 include the lock member.
1752 1998-09-03 Philip Blundell <pb@nexus.co.uk>
1754 * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.
1756 1998-10-01 Ulrich Drepper <drepper@cygnus.com>
1758 * timezone/zic.c: Update from tzcode1998h.
1759 * timezone/europe: Update from tzdata1998i.
1760 * timezone/southamerica: Likewise.
1762 * sys/types.h: Protect use of long long by __extension__.
1763 * stdlib/stdlib.h: Likewise.
1764 * string/string.h: Likewise.
1765 * sysdeps/i386/bits/byteswap.h: Likewise.
1766 * sysdeps/geeric/bits/byteswap.h: Likewise.
1767 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
1768 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1769 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1770 * sysdeps/wordsize-32/inttypes.h: Likewise.
1771 * sysdeps/wordsize-32/stdint.h: Likewise.
1772 * wcsmbs/wchar.h: Likewise.
1774 1998-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1776 * string/bits/string2.h (__string2_1bptr_p): Don't use a statement
1778 (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
1779 __strsep): Greatly reduce size of expansion by combining common
1781 (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
1783 (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
1784 by the above definitions.
1786 1998-09-27 Geoff Keating <geoffk@ozemail.com.au>
1788 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
1789 correct struct ipc_perm definition.
1791 1998-09-29 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1793 * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.
1795 1998-09-29 Cristian Gafton <gafton@redhat.com>
1797 * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
1798 * sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
1799 * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
1800 * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
1801 Add net/if_shaper.h.
1803 1998-09-29 Ulrich Drepper <drepper@cygnus.com>
1805 * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.
1807 * nis/ypclnt.c: Remove not needed close calls.
1809 1998-09-28 23:55 Ulrich Drepper <drepper@cygnus.com>
1811 * nis/ypclnt.c (__yp_bind): Pretty print. Optimize readv result
1812 check a bit. Also close socket of domain client. Close socket
1813 in IPPORT_RESERVED error case.
1815 1998-09-28 Ulrich Drepper <drepper@cygnus.com>
1817 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
1818 CMSG_ALIGN (fixes a bug) and correct test for availability of
1820 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
1822 (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
1823 availability of another entry.
1826 * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
1829 * libio/libio.h [!__STDC__]: Define const only if not defined.
1831 1998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1833 * posix/annexc.c (xsystem): New function. Use it instead of
1836 1998-09-28 Ulrich Drepper <drepper@cygnus.com>
1838 * stdlib/longlong.h: Remove #endif for #if removed in last change.
1840 1998-09-25 Ulrich Drepper <drepper@cygnus.com>
1842 * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
1843 Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
1844 allow using `ut' parameter.
1845 [!emacs]: Define ut_argument, ut_argument_spec, and
1846 ut_argument_spec_iso as empty. Define ut to 0. Add ut_argument and
1847 argument_spec to prototypes and definitions.
1848 (my_strftime): Don't call tzset of ut != 0.
1849 Compute diff as 0 is ut != 0;
1850 [emacs]: Define new emacs_strftime function.
1851 Based on a patch by Paul Eggert.
1853 1998-09-24 Paul Eggert <eggert@twinsun.com>
1855 * time/strftime.c (my_strftime): When asking for the length of the
1856 subformatted buffer, do not limit the length to look for;
1857 otherwise, we have no reliable way to distinguish between the
1858 empty buffer and an error.
1860 1998-09-25 Ulrich Drepper <drepper@cygnus.com>
1862 * math/Makefile (gmp-objs): Add mp_clz_tab.
1864 1998-09-25 David S. Miller <davem@pierdol.cobaltmicro.com>
1866 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
1868 * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
1869 cpus lacking hardware multiply and divide.
1871 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1873 * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
1876 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1878 * db/btree/bt_delete.c: Fix -Wparentheses warning.
1880 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1882 * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
1885 1998-09-24 Ulrich Drepper <drepper@cygnus.com>
1887 * debug/catchsegv.sh: Also produce output if clone process died.
1889 1998-09-24 Paul Eggert <eggert@twinsun.com>
1891 * time/strftime.c (f_wkday): Remove duplicate definition.
1892 (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
1893 !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
1894 1998-09-11 fix to this case.
1895 (wkday_len, month_len): Remove these macros; they're no longer needed.
1897 1998-09-24 Paul Eggert <eggert@twinsun.com>
1899 * time/strftime.c (my_strftime): Don't store past the end of a
1902 1998-09-24 Paul Eggert <eggert@twinsun.com>
1904 * time/strftime.c (underlying_strftime):
1905 Set the buffer to a nonzero value before calling
1906 strftime, and check to see whether strftime has set the buffer to zero.
1907 This lets us distinguish between an empty buffer and an error.
1909 1998-09-24 Paul Eggert <eggert@shade.twinsun.com>
1911 * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
1912 This fix is propagated from tzcode1998g.tar.gz.
1914 1998-09-24 Mark Kettenis <kettenis@phys.uva.nl>
1916 * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
1917 _sys_siglist. [!HAVE_GNU_LD]: Do not define _sys_siglist as
1918 sys_siglist. This is handled correctly by the weak_alias macro.
1920 1998-09-24 Ulrich Drepper <drepper@cygnus.com>
1922 * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
1923 of mempcpy. Reported by Andreas Jaeger.
1925 * misc/regexp.h (compile): Use alloca instead of __alloca. It won't
1926 pollute the namespace since the compiler will resolve it inline.
1927 Reported by Florian La Roche <florian@suse.de>.
1929 1998-09-24 10:29 Ulrich Drepper <drepper@cygnus.com>
1931 * timezone/private.h: Update from tzcode1998g.
1933 * timezone/africa: Update from tzdata1998h.
1934 * timezone/asia: Likewise.
1935 * timezone/australasia: Likewise.
1936 * timezone/europe: Likewise.
1937 * timezone/northamerica: Likewise.
1938 * timezone/southamerica: Likewise.
1939 * timezone/zone.tab: Likewise.
1941 1998-09-23 17:28 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1943 * misc/sys/mman.h: New file.
1945 * sysdeps/generic/bits/mman.h: New file.
1946 * sysdeps/unix/bsd/osf/bits/mman.h: New file.
1947 * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
1948 * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
1949 * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
1951 * sysdeps/generic/sys/mman.h: Removed.
1952 * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
1953 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
1954 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
1955 * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
1956 * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
1958 * include/sys/mman.h: Look directly for misc/sys/mman.h.
1959 * misc/Makefile (headers): Add bits/mman.h.
1960 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
1963 * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
1964 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
1965 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
1966 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
1967 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
1968 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
1969 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
1970 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
1972 1998-09-23 16:27 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1974 * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
1975 * sysdeps/mach/alpha/thread_state.h: Likewise.
1976 * sysdeps/mach/i386/sysdep.h: Likewise.
1977 * sysdeps/mach/i386/thread_state.h: Likewise.
1978 * sysdeps/mach/mips/sysdep.h: Likewise.
1979 * sysdeps/mach/mips/thread_state.h: Likewise.
1980 * sysdeps/posix/profil.c: Likewise.
1981 * sysdeps/i386/i586/memcopy.h: Likewise.
1982 * sysdeps/mach/pagecopy.h: Likewise.
1984 1998-09-23 15:25 Ulrich Drepper <drepper@cygnus.com>
1986 * libio/stdio.h: Define __need_getopt and include getopt.h to define
1988 * posix/unistd.h: Likewise.
1989 * stdio/stdio.h: Likewise.
1990 * posix/getopt.h: Remove _GNU_SOURCE use. If __need_getopt is defined
1991 define only getopt and the variables.
1993 1998-09-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1995 * scripts/test-installation.pl (installation_problem): Don't link
1996 the test program against libdb1.
1998 1998-09-23 13:52 Ulrich Drepper <drepper@cygnus.com>
2000 * Makeconfig (all-subdirs): Add db.
2001 * Versions.def: Add definition for libdb1.
2002 * shlib-versions: Add definitions for libdb1.
2003 * db/Makefile (extra-libs): Replace by libdb1.
2004 (libdb-routines): Rename to libdb1-routines.
2005 (headers): Rename to db1-headers.
2006 (distribute): Add $(db1-headers).
2007 (install-others): Define to install symlink libdb.so.NN and the
2009 (CPPFLAGS): Add -DUSE_LIBDB1
2010 Remove rules to build makedb.
2011 * db/Versions: Rename libdb to libdb1.
2012 * include/db.h: If USE_LIBDB1 is defined include db/db.h.
2013 * db/makedb.c: Removed.
2015 * scripts/versions.awk: Recognize digits in library names.
2017 * db/btree/bt_open.c: Fix compiler warnings.
2018 * db/btree/bt_put.c: Likewise.
2019 * db/btree/bt_split.c: Likewise.
2020 * db/hash/hash.c: Likewise.
2021 * db/hash/hash_bigkey.c: Likewise.
2022 * db/recno/rec_close.c: Likewise.
2024 * Makefile: Add localedata/% goal.
2026 1998-09-22 19:58 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2028 * posix/execvp.c: Don't give up searching the PATH if execve
2031 1998-09-22 12:53 Ulrich Drepper <drepper@cygnus.com>
2033 * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
2034 if _dl_fpu_control_set is set.
2035 * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
2036 * elf/rtld.c: Don't define _dl_fpu_control_set.
2037 * elf/Versions: Remove _dl_fpu_control_set.
2039 1998-09-22 11:51 Ulrich Drepper <drepper@cygnus.com>
2041 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
2042 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
2043 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
2044 Correct values of other SA_* macros according to kernel headers.
2046 1998-09-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2048 * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
2050 * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
2053 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2055 * elf/ldsodefs.h: Fix typo in comment.
2057 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2059 * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
2060 char when comparing buffer contents with putback character.
2062 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2064 * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
2066 * elf/Versions: Undo last change. Export _dl_fpu_control and
2067 _dl_fpu_control_set.
2068 * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
2069 variables. Include <fpu_control.h>.
2070 * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
2071 _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
2072 to indicate that is was seen.
2073 * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
2074 only if _dl_fpu_control was set and is equal to desired value.
2075 * math/Makefile (aux): Undo last change.
2076 * math/Versions: Export __fpu_control with version GLIBC_2.0.
2078 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2080 * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
2083 1998-09-21 10:00 Ulrich Drepper <drepper@cygnus.com>
2085 * string/bits/string2.h: Add mempcpy optimization.
2086 * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
2087 * intl/localealias.c: Define mempcpy only if not already defined.
2089 * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
2092 1998-09-20 10:48 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2094 * csu/abi-note.S: Emit the note directly instead of defining
2095 a preprocessor macro that's only used once. Don't include sysdep.h.
2096 * abi-tags: Generalize Solaris entry.
2098 1998-09-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2100 * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
2101 Change to array to avoid runtime relocation.
2102 * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
2104 1998-09-21 12:22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2106 * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
2107 * math/Makefile ($(objpfx)libieee.a): Likewise.
2109 1998-09-21 Ulrich Drepper <drepper@cygnus.com>
2111 * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
2112 Patch by John Tobey <jtobey@banta-im.com>.
2114 1998-09-20 Ulrich Drepper <drepper@cygnus.com>
2116 * login/Makefile (distribute): Remove pty-internal.h, add
2119 * stdlib/tst-strtol.c: Add more checks.
2120 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
2122 1998-09-20 09:37 Ulrich Drepper <drepper@cygnus.com>
2124 * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
2125 * elf/elf.h: Add AT_FPUCW.
2126 * elf/Makefile (dl-routines): Add fpu_control.
2127 (elide-routines.os): Add fpu_control.
2128 (rtld-routines): Add fpu_control.
2129 * math/Makefile (aux): Remove fpu_control.
2130 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
2131 (_dl_show_auxv): Likewise.
2132 * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
2133 if different from OS default.
2135 * stdio-common/tstscanf.c: Add test case for (nil).
2137 1998-09-18 17:41 Ulrich Drepper <drepper@cygnus.com>
2139 * libio/fileops.c (_IO_new_file_underflow): Before allocating
2140 buffer make sure the pushback buffer is destroyed.
2141 (_IO_new_file_seekoff): Likewise.
2142 If mode==0 quit early with the result.
2143 Clear OEF flag after successful fseek.
2144 * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
2145 * libio/ftello.c (ftello): Add offset from original buffer if
2146 stream has pushed back characters.
2147 * libio/ftello64.c (ftello64): Likewise.
2148 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
2149 * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
2150 * libio/ioftell.c (_IO_ftell): Likewise.
2151 * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
2153 (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
2154 (_IO_default_pbackfail): Only stored push back character in original
2155 buffer if it is the same as the one in the file at this position.
2156 * libio/iofclose.c: Free backup buffer if one is available.
2157 * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
2160 * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
2162 * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
2164 * stdio-common/vfscanf.c: Fix reading (nil) for %p.
2166 1998-09-18 Mark Kettenis <kettenis@phys.uva.nl>
2168 * login/programs/pt_chown.c (more_help): Correct message that
2169 describes the purpose of the program.
2171 * login/openpty.c: Do not include pty-private.h.
2172 (pts_name): New function. Return name of slave pseudo terminal in
2173 an allocated buffer if necessary.
2174 (openpty): Use pts_name to get name of the slave end of the pseudo
2177 * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
2178 pts_name before return.
2180 1998-09-18 11:15 Ulrich Drepper <drepper@cygnus.com>
2182 * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
2184 1998-09-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2186 * login/openpty.c: Include pty-private.h instead of
2189 1998-09-09 Philip Blundell <pb@nexus.co.uk>
2191 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
2193 1998-09-07 Philip Blundell <pb@nexus.co.uk>
2195 * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
2196 recent ld.so changes.
2197 (elf_machine_runtime_setup): Correct behaviour when profiling.
2199 1998-09-17 19:34 Ulrich Drepper <drepper@cygnus.com>
2201 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
2202 Patch by John Tobey <jtobey@banta-im.com>.
2204 1998-09-17 Mark Kettenis <kettenis@phys.uva.nl>
2206 * login/pty-internal.h: Removed. Moved constants related to the
2207 `grantpt' helper program protocol to ...
2208 * login/pty-private.h: ... here. New file.
2209 * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
2210 to make the function work with kernels >= 2.1.115.
2211 * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
2212 version if using the cloning device fails.
2213 * sysdeps/unix/sysv/linux/grantpt.c: New file.
2214 * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
2215 * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
2216 use by Linux specific code.
2217 * sysdeps/unix/bsd/unlockpt.c: General cleanup.
2218 * sysdeps/unix/grantpt.c: Largely rewritten. (pts_name): New
2219 function. (grantpt): Use pts_name, check group and permission
2220 mode in addition to owner. Try to set the owner, group and
2221 permission mode first without invoking the helper program.
2222 * login/programs/pt_chown.c: Largely rewritten. Add argp and
2223 internationalization support. Use symbolic constants instead of
2224 hardwired numbers for permission mode.
2225 * sysdeps/unix/bsd/ptsname.c: New file.
2227 1998-09-17 22:04 Tim Waugh <tim@cyberelk.demon.co.uk>
2229 * posix/wordexp-test.c: Undo last change.
2231 * posix/wordexp.c: Undo last change.
2233 1998-09-16 Ulrich Drepper <drepper@cygnus.com>
2235 * nscd/grpcache.c (save_grp): Partly undo last change.
2237 * nscd/pwdcache.c (save_pwd): Undo last change.
2239 1998-09-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2241 * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
2242 function. Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
2244 1998-09-15 David S. Miller <davem@pierdol.cobaltmicro.com>
2246 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
2247 Add profiling support.
2248 (TRAMPOLINE_TEMPLATE): New macro.
2249 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
2250 (RTLD_START): Prettify, and set __libc_stack_end properly.
2251 (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
2252 and check for sym being NULL instead.
2253 * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
2255 * sysdeps/sparc/sparc64/lshift.S: Likewise.
2256 * sysdeps/sparc/sparc64/mul_1.S: Likewise.
2257 * sysdeps/sparc/sparc64/rshift.S: Likewise.
2258 * sysdeps/sparc/sparc64/submul_1.S: Likewise.
2259 * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
2260 MEDANY code model %g4 usage.
2261 * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
2262 MEDANY code model %g4 usage.
2263 * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
2264 code model address formation.
2265 * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
2266 include elf/ldsodefs.h
2268 (elf_machine_matches_host): It is now EM_SPARCV9.
2269 (elf_machine_dynamic): Clean up to remove ugly cast.
2270 (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
2272 (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
2273 Prettify rest of function.
2274 [R_SPARC_COPY]: Check for sym being NULL.
2275 [R_SPARC_32]: Handle it.
2276 [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
2278 [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
2280 [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
2281 (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
2282 Add profiling support.
2283 (TRAMPOLINE_TEMPLATE): New macro.
2284 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
2285 (RTLD_START): Prettify and set __libc_stack_end.
2286 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
2288 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
2289 (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
2290 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
2291 unused variable scratch.
2292 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2293 (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
2295 (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
2296 stub to rt_sigaction syscalls. Rewrite non-rt case to use correct
2297 old format kernel sigaction structures.
2298 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
2299 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
2300 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
2301 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
2303 (_JMPBUF_UNWINDS): Define.
2304 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
2305 statfs64 structure, which is exactly the same as the normal one.
2306 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
2307 of stack. Use correct syscall trap number. Add branch prediction
2308 settings to branch instructions. Remove old MEDANY code model %g4
2309 referneces for non-PIC.
2310 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
2311 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
2312 * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
2313 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
2314 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2315 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
2316 __libc_longjmp and __libc_siglongjmp strong aliases.
2317 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
2318 Also define to __no__readdir64_decl around readdir.c inclusion.
2319 (__readdir64): Add strong alias.
2320 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
2321 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
2322 Set strong and weak names properly.
2324 1998-09-16 11:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2326 * manual/Makefile (AWK): Default to gawk if standalone.
2328 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2330 * Makefile (distribute): Undo last change.
2331 * Make-dist (+tsrc) [not subdir]: Also include indirection headers
2333 (+subdir-headers): Removed, unused.
2335 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2337 * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
2340 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2342 * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
2343 absolute name in $(config-sysdirs), can never happen.
2344 ($(+sysdir_pfx)sysd-rules): Likewise.
2345 * Makeconfig (full-config-sysdirs): Likewise.
2346 (all-Subdirs-files): Prepend $(..).
2348 * configure.in: Don't check for absolute name in $add_ons_pfx, can
2349 not happen. Let --enable-add-ons=yes work if no add-ons actually
2352 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2354 * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
2355 continuations in command.
2357 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2359 * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
2361 1998-09-16 00:47 Tim Waugh <tim@cyberelk.demon.co.uk>
2363 * posix/wordexp-test.c: If expansion or substitution occurs
2364 anywhere in a word, the entire word is subject to field-splitting.
2366 * posix/wordexp.c (parse_glob): Look for end of word instead of
2367 end of field when deciding what to glob.
2368 (field_split_word): New function, now the only place where
2369 field-splitting is performed.
2370 (parse_dollars): New parameter - tell the caller if
2371 field-splitting should be performed on this word.
2373 * posix/wordexp-test.c (testit): Only call wordfree if wordexp
2374 succeeded (or failed with WRDE_NOSPACE).
2376 1998-09-15 19:53 1998 Tim Waugh <tim@cyberelk.demon.co.uk>
2378 * posix/wordexp.c (wordexp): Don't convert IFS characters to
2381 * posix/wordexp-test.c: Words not the result of expansion or
2382 substitution should remain unchanged.
2384 1998-09-15 Ulrich Drepper <drepper@cygnus.com>
2386 * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
2387 (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
2389 1998-09-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2391 * stdio-common/Makefile: Include Makeconfig so that
2392 $(inst_includedir) is defined.
2394 1998-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2396 * io/pwd.c: Include <mcheck.h>.
2398 1998-09-15 08:00 Ulrich Drepper <drepper@cygnus.com>
2400 * nscd/pwdcache.c (save_pwd): Correct copying.
2401 * nscd/grpcache.c (save_grp): Likewise.
2403 1998-09-14 23:36 Ulrich Drepper <drepper@cygnus.com>
2405 * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
2406 (free_pwd): Adjust for this change.
2407 * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
2408 (free_grp): Adjust for this change.
2410 1998-09-14 Ulrich Drepper <drepper@cygnus.com>
2412 * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
2414 1998-09-14 15:29 Ulrich Drepper <drepper@cygnus.com>
2416 * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
2417 (install-others): Add bits/stdio_lim.h.
2418 Add rule to install bits/stdio_lim.h.
2420 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
2422 * Makefile (distribute): Add include/sys/mman.h.
2424 * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
2425 * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
2426 * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
2428 * grp/initgroups.c: Include stdlib.h.
2429 Patch by Zack Weinberg.
2431 1998-09-14 22:46 Tim Waugh <tim@cyberelk.demon.co.uk>
2433 * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
2434 for field-splitting :abc: is correct, and that two fields should
2435 result. Revert tests to reflect this.
2437 * posix/wordexp.c (w_emptyword): Remove function.
2438 (exec_comm): Don't use w_emptyword.
2439 (parse_param): Likewise.
2441 1998-09-14 15:00 Ulrich Drepper <drepper@cygnus.com>
2443 * sysdeps/arm/fpu/Dist: Moved to...
2444 * sysdeps/arm/Dist: ...here.
2445 * sysdeps/posix/Dist: Removed.
2446 * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
2447 * sysdeps/unix/sysv/linux/i386/Dist: ...here.
2449 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
2451 * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
2453 1998-09-14 11:26 Ulrich Drepper <drepper@cygnus.com>
2455 * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
2457 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2459 * libc-work/nis/nss_nisplus/nisplus-service.c
2460 (_nss_nisplus_parse_servent): Convert port in network byte order.
2462 1998-09-14 07:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2464 * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
2465 to provide only malloc and calloc.
2466 * include/stdlib.h: Support the above.
2467 * string/bits/string2.h: Use __need_malloc_and_calloc when
2469 (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
2471 * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
2472 * iconvdata/iso646.c: Include <stdlib.h>.
2474 1998-09-14 07:51 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2476 * sunrpc/rpc_cout.c: Add braces around ambiguous else.
2477 * sysdeps/libm-ieee754/w_pow.c: Likewise.
2478 * sysdeps/libm-ieee754/w_powf.c: Likewise.
2479 * sysdeps/libm-ieee754/w_powl.c: Likewise.
2481 1998-09-14 07:57 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2483 * stdio-common/stdio_lim.h.in: New file. All parameters
2484 are adjustable at build time.
2485 * Rules: Add a rule to build bits/stdio_lim.h from
2486 stdio-common/stdio_lim.h.in. (It has to be in Rules so that
2487 all subdirectories know how to make the file. It can't be
2488 in Makerules because then it gets built at top level and the
2489 dependencies are wrong.)
2491 * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
2492 * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
2494 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
2495 * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
2496 * sysdeps/posix/Makefile: Removed.
2497 * sysdeps/posix/mk-stdiolim.c: Removed.
2498 * sysdeps/generic/bits/stdio_lim.h: Removed.
2500 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2502 * argp/argp-help.c: Fixup indentation.
2503 * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
2504 * resolv/nss_dns/dns-network.c: Likewise.
2505 * resolv/res_send.c: Likewise.
2506 * rt/aio_cancel.c: Likewise.
2507 * rt/aio_misc.c: Likewise.
2509 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2511 * Makefile (install-symbolic-link): Remove the link list file at last.
2512 * Makerules (install-clean-symbolic-link-list): Removed.
2514 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2516 * timezone/tst-timezone.c: Print time in UTC to get consistent
2519 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2521 * elf/rtld.c (_dl_rpath): Removed.
2522 * elf/dl-support.c (_dl_path): Removed.
2523 * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
2524 (CFLAGS-dl-support.c): Removed.
2526 * elf/dl-load.c (env_path_list): Renamed from fake_path_list. All
2528 (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
2529 instead of appending it to the main map's rpath info.
2530 (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
2531 DT_RPATHs. This makes it effective again.
2532 (decompose_rpath): Remove second parameter, callers changed.
2533 (fillin_rpath): Allocate enough space in curwd.
2534 (expand_dynamic_string_token): Cope with get_origin returning -1.
2536 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2538 * libc-work/nis/nss_compat/compat-pwd.c: Add support for
2541 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
2544 1998-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
2546 * locale/programs/locale.c: Update dates.
2548 1998-09-13 Mark Kettenis <kettenis@phys.uva.nl>
2550 * sysdeps/generic/bits/types.h: Include <features.h>. Make sure
2551 size_t is defined. Some reordering of definitions to make
2552 maintaining this file in parallel with the linux-specific file easier.
2554 1998-09-13 Ulrich Drepper <drepper@cygnus.com>
2556 * io/pwd.c (main): Add call to mtrace.
2558 * malloc/mtrace.pl: Quote @ in string.
2560 1998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk>
2562 * posix/wordexp.c (parse_arith): Fix memory leaks.
2563 (exec_comm): Likewise.
2564 (parse_param): Likewise.
2565 (wordexp): Likewise.
2566 (exec_comm): Reduce number of function return points.
2567 (parse_param): Likewise.
2568 (wordexp): Likewise.
2570 1998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk>
2572 * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
2573 yield three fields, not two. Test both parameter expansion and
2574 command substitution for correct field-splitting behaviour.
2576 * posix/wordexp.c (w_emptyword): New function.
2577 (parse_param): Use it.
2578 (exec_comm): Likewise, for consistency with the way parse_param
2580 (parse_param): Fix some memory leaks.
2582 1998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au>
2584 * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
2585 Don't mark asm `volatile'.
2586 (__elf_machine_runtime_setup): Clear the last partial block in the PLT
2587 from the data cache too. Assume it isn't in the instruction cache yet.
2588 (__elf_machine_fixup_plt): Clear the modified address from the caches.
2590 1998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
2592 * sysdeps/generic/segfault.c (install_handler): Install signal
2593 handler with SA_ONSTACK instead of setting the stack flags to
2594 SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
2597 1998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2599 * signal/signal.h: Fix multiple inclusion guard to cover the
2601 * wcsmbs/wchar.h: Remove prototype of internal function
2603 * sysdeps/i386/i486/bits/string.h (memchr): Don't do
2604 arithmetic on `void *'.
2606 1998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
2608 * posix/wordexp-test.c: Fix wrong tests. Add new tests.
2610 * posix/wordexp.c (wordexp): Perform word-splitting instead of
2611 field-splitting here.
2612 (wordexp): If out of memory mid-word, free the word (but still
2613 leave pwordexp alone for caller to see).
2614 (parse_param): Allow for zero-length fields (smarter checking of
2615 memory allocation failure).
2616 (w_addword): Convert NULL words to "".
2617 (wordexp): Convert left-over IFS characters to blanks (like bash).
2619 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
2621 * configure.in: Use test -f instead of test -e.
2622 Patch by John Tobey <jtobey@banta-im.com>.
2624 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
2625 * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
2626 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
2627 * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
2628 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
2629 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
2630 * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
2631 Patches by John Tobey <jtobey@banta-im.com>.
2633 * time/strftime.c (my_strftime): Delay use of *tp values until
2634 latest possible point to allow partly initialized structures
2635 (e.g., from strptime).
2637 * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
2639 Define *-routines variables for new modules.
2640 (distribute): Add .c files for new modules.
2641 (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
2643 Add rules for header generation.
2644 * iconvdata/gconv-modules: Add entries for new modules.
2645 * iconvdata/iso_10367-box.c: New file.
2646 * iconvdata/mac-is.c: New file.
2647 * iconvdata/nats-dano.c: New file.
2648 * iconvdata/nats-sefi.c: New file.
2650 1998-04-30 18:20 H.J. Lu <hjl@gnu.org>
2652 * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
2653 loader if PIC is not defined.
2655 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
2657 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
2658 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
2659 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
2661 Define *-routines variables for new modules.
2662 (distribute): Add .c files for new modules.
2663 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
2664 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
2665 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
2666 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
2667 Add rules for header generation.
2668 * iconvdata/gconv-modules: Add entries for new modules.
2669 * iconvdata/csn_369103.c: New file.
2670 * iconvdata/cwi.c: New file.
2671 * iconvdata/dec-mcs.c: New file.
2672 * iconvdata/ecma-cyrillic.c: New file.
2673 * iconvdata/gost_19768-74.c: New file.
2674 * iconvdata/greek-ccitt.c: New file.
2675 * iconvdata/greek7-old.c: New file.
2676 * iconvdata/greek7.c: New file.
2677 * iconvdata/inis-8.c: New file.
2678 * iconvdata/inis-cyrillic.c: New file.
2679 * iconvdata/inis.c: New file.
2680 * iconvdata/iso6937-2.c: New file.
2681 * iconvdata/iso_2033.c: New file.
2682 * iconvdata/iso_5427-ext.c: New file.
2683 * iconvdata/iso_5427.c: New file.
2684 * iconvdata/iso_5428.c: New file.
2686 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
2688 Convert U02dd correctly.
2690 1998-09-11 20:46 Richard Henderson <rth@cygnus.com>
2692 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
2693 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
2694 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
2695 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
2697 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
2699 * resolv/res_init.c (res_init): Handle resolv.conf file with only
2700 one nameserver correctly. Patch by HJ Lu.
2702 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
2704 Define *-routines variables for new modules.
2705 (distribute): Add .c files for new modules.
2706 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
2707 Add rules for hedaer generation.
2708 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
2709 * iconvdata/ansi_x3.110.c: New file.
2710 * iconvdata/asmo_449.c: New file.
2711 * iconvdata/baltic.c: New file.
2712 * iconvdata/iec_p27-1.c: New file.
2714 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
2716 Convert U02dc correctly.
2718 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
2719 * math/atest-exp2.c: Likewise.
2720 * math/atest-sincos.c: Likewise.
2722 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
2725 1998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2727 * string/strcoll.c: Optimize a few expressions.
2728 * string/strxfrm.c: Likewise.
2730 1998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2732 * manual/locale.texi: Fix typos.
2734 1998-09-10 Ulrich Drepper <drepper@cygnus.com>
2736 * stdlib/random_r.c (__setstate_r): Allow call with same state
2737 array as currently used (PR libc/774).
2739 * include/limits.h: Include gcc's header even if this file is
2740 found more than once before it (PR libc/778)
2742 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
2743 (sysdep_headers): Remove sys/debugreg.h.
2744 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
2745 (sysdep_headers): Add sys/debugreg.h.
2746 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
2747 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
2749 * stdio-common/tmpnam.c: Move local static variable buf to
2750 toplevel and rename to tmpnam_buffer to ease debugging.
2751 Patch by Joe Keane <jgk@jgk.org>.
2752 Optimize s == NULL case a bit.
2754 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
2757 1998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
2759 * resolv/res_init.c (res_init): Initialize _res.nscount and
2760 _res.nsaddr.sin_port differently for the can when no loopback
2761 is available to allow immediate timeout in non-networking environments.
2762 Patch by Cristian Gafton <gafton@redhat.com>.
2764 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2766 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
2767 BAR and not EM DASH.
2768 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
2769 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
2772 1998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
2774 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
2776 * timezone/tst-timezone.c (tests): Fix typo in last patch.
2778 * time/tzfile.c (__tzfile_read): Handle case when there are no
2779 transitions. Set __timezone based on computed offset.
2780 * time/tzset.c (tzset_internal): Set __timezone before returning.
2782 * time/tzset.c (tzset_internal): Optimize handling of local string
2785 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2787 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
2790 1998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
2792 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
2793 (csqrt_test): Likewise.
2794 * sysdeps/powerpc/bits/fenv.h: Add parens.
2796 1998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
2798 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
2799 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
2800 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
2802 1998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
2804 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
2805 the special `-1' pointer.
2807 1998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
2809 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
2812 1998-09-07 Paul Eggert <eggert@twinsun.com>
2814 * time/mktime.c (__EXTENSIONS__): Define if not defined.
2815 (_REENTRANT): Remove. It has undesirable consequences in
2816 Solaris 2.6 (e.g. it turns off the putc macro). Defining
2817 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
2819 * time/strftime.c: Likewise.
2821 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2823 * elf/dl-error.c: Fix spelling.
2825 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2827 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
2828 * stdio-common/_itoa.c: Likewise.
2829 * stdio-common/printf_fp.c: Likewise.
2830 * stdio-common/vfscanf.c: Likewise.
2831 * wcsmbs/wcstok.c: Likewise.
2832 * sysdeps/generic/glob.c: Likewise.
2833 * posix/getopt.c: Likewise.
2834 * sysdeps/posix/getaddrinfo.c: Likewise.
2835 * posix/wordexp.c: Likewise.
2836 * io/ftw.c: Likewise.
2837 * io/fts.c: Likewise.
2838 * misc/getpass.c: Likewise.
2839 * iconv/gconv_conf.c: Likewise.
2840 * argp/argp-fmtstream.c: Likewise.
2841 * argp/argp-help.c: Likewise.
2842 * elf/dl-load.c: Likewise.
2843 * locale/programs/stringtrans.c: Likewise.
2844 * catgets/gencat.c: Likewise.
2845 * posix/getconf.c: Likewise.
2846 * iconv/gconv_conf.c: Likewise.
2847 * iconv/iconv_prog.c: Likewise.
2849 * string/strcoll.c: Optimize a few expressions.
2850 * string/strxfrm.c: Likewise.
2852 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2854 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
2855 level to avoid uninit variable warning.
2857 1998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2859 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
2860 instead of _dl_default_scope[2] as argument to _dl_init_next.
2862 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
2865 1998-09-08 Ulrich Drepper <drepper@cygnus.com>
2867 Fix compatibility problems introduced in last change.
2868 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
2870 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
2871 -DWEAK_GMON_START to CFLAGS-initfini.s.
2873 * elf/dl-object.c (_dl_new_object): Store map address in
2874 _dl_loaded if _dl_loaded is NULL.
2875 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
2877 * sysdeps/generic/setrlimit64.c: Remove stub warning.
2879 1998-09-07 Ulrich Drepper <drepper@cygnus.com>
2881 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
2883 * db2/btree/bt_cursor.c: Likewise.
2884 * db2/common/db_region.db_c: Likewise.
2885 * db2/common/db_salloc.db_c: Likewise.
2886 * db2/db/db.c: Likewise.
2887 * db2/db/db_rec.c: Likewise.
2888 * db2/hash/hash.c: Likewise.
2889 * db2/hash/hash_page.c: Likewise.
2890 * db2/hash/hash_rec.c: Likewise.
2891 * db2/log/log_findckp.c: Likewise.
2892 * db2/log/log_get.c: Likewise.
2893 * db2/log/log_put.c: Likewise.
2894 * db2/mp/mp_fget.c: Likewise.
2895 * db2/mp/mp_fput.c: Likewise.
2896 * db2/mp/mp_region.c: Likewise.
2897 * stdlib/strtol.c: Likewise.
2898 * string/strcoll.c: Likewise.
2899 * string/strxfrm.c: Likewise.
2900 * argp/argp-help.c: Likewise.
2901 * argp/argp-parse.c: Likewise.
2902 * resolv/res_debug.c: Likewise.
2904 1998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
2906 * math/tgmath.h (scalb): Only define for __USE_MISC or
2907 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
2909 1998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2911 * libio/stdio.h: Fix comment.
2913 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
2916 1998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2918 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
2920 * elf/dl-open.c: Quiet -Wparentheses warnings.
2921 * iconvdata/johab.c: Likewise.
2922 * iconvdata/uhc.c: Likewise.
2923 * inet/inet_net.c: Likewise.
2924 * io/fts.c: Likewise.
2925 * locale/newlocale.c: Likewise.
2926 * misc/getttyent.c: Likewise.
2927 * misc/mntent_r.c: Likewise.
2928 * misc/ttyslot.c: Likewise.
2929 * nscd/nscd_conf.c: Likewise.
2930 * nss/nsswitch.c: Likewise.
2931 * resolv/gethnamaddr.c: Likewise.
2932 * resolv/nsap_addr.c: Likewise.
2933 * resolv/res_debug.c: Likewise.
2934 * stdio-common/_itoa.c: Likewise.
2935 * stdlib/strtod.c: Likewise.
2936 * string/strverscmp.c: Likewise.
2937 * sunrpc/svc.c: Likewise.
2938 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
2939 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
2940 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
2941 * sysdeps/posix/getaddrinfo.c: Likewise.
2943 1998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
2945 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
2946 for use of global scope.
2947 * elf/dlvsym.c (dlvsym_doit): Likewise.
2949 1998-09-02 Paul Eggert <eggert@twinsun.com>
2951 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
2952 copy the redundant bytes at the end of the format as-is; don't
2953 just copy their first byte and then rescan, as that might get
2954 us an encoding error.
2955 Account correctly for the length of multibyte sequences in the
2958 1998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
2960 * posix/wordexp-test.c: Add tests for different IFS values.
2961 Change unquoted-newline test so that newline is not in IFS.
2963 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
2964 determining IFS characters. Return WRDE_BADCHAR for unquoted
2965 special characters _except_ if they are separators.
2967 1998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
2969 * include/tgmath.h: New file.
2971 * libio/stdio.h: Correct reversed #ifs.
2972 Patch by Zack Weinberg.
2974 * manual/creature.texi: Better explain reason for feature select
2976 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
2978 1998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2980 * include/alloca.h: Add multiple-inclusion guard.
2981 * include/db.h: Likewise.
2982 * include/db_185.h: Likewise.
2983 * include/dlfcn.h: Likewise.
2984 * include/fcntl.h: Likewise.
2985 * include/grp.h: Likewise.
2986 * include/libintl.h: Likewise.
2987 * include/mntent.h: Likewise.
2988 * include/pwd.h: Likewise.
2989 * include/sched.h: Likewise.
2990 * include/search.h: Likewise.
2991 * include/setjmp.h: Likewise.
2992 * include/shadow.h: Likewise.
2993 * include/signal.h: Likewise.
2994 * include/stdio.h: Likewise.
2995 * include/stdlib.h: Likewise.
2996 * include/string.h: Likewise.
2997 * include/termios.h: Likewise.
2998 * include/time.h: Likewise.
2999 * include/ulimit.h: Likewise.
3000 * include/utmp.h: Likewise.
3001 * include/wchar.h: Likewise.
3002 * include/sys/file.h: Likewise.
3003 * include/sys/gmon.h: Likewise.
3004 * include/sys/ioctl.h: Likewise.
3005 * include/sys/mman.h: Likewise.
3006 * include/sys/resource.h: Likewise.
3007 * include/sys/select.h: Likewise.
3008 * include/sys/socket.h: Likewise.
3009 * include/sys/statfs.h: Likewise.
3010 * include/sys/time.h: Likewise.
3011 * include/sys/times.h: Likewise.
3012 * include/sys/wait.h: Likewise.
3014 1998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
3016 * version.h (VERSION): Bump to 2.0.96.
3018 Rewrite runtime linker to be truly thread-safe. There is now no
3019 global variable specifying the scope. We create all needed
3020 scopes at the time the link maps are created.
3021 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
3022 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
3023 l_symbolic_searchlist, l_scope, and l_local_scope elements in
3025 * elf/dl-close.c: Rewritten accordingly.
3026 * elf/dl-deps.c: Likewise.
3027 * elf/dl-error.c: Likewise.
3028 * elf/dl-init.c: Likewise.
3029 * elf/dl-load.c: Likewise.
3030 * elf/dl-lookup.c: Likewise.
3031 * elf/dl-object.c: Likewise.
3032 * elf/dl-open.c: Likewise.
3033 * elf/dl-reloc.c: Likewise.
3034 * elf/dl-runtime.c: Likewise.
3035 * elf/dl-support.c: Likewise.
3036 * elf/dl-symbol.c: Likewise.
3037 * elf/dl-version.c: Likewise.
3038 * elf/dlsym.c: Likewise.
3039 * elf/dlvsym.c: Likewise.
3040 * elf/ldsodefs.h: Likewise.
3041 * elf/rtld.c: Likewise.
3042 * iconv/gconv_dl.c: Likewise.
3043 * nss/nsswitch.c: Likewise.
3044 * sysdeps/i386/dl-machine.h: Likewise.
3045 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
3047 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
3048 Define RTLD_DEFAULT.
3050 1998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
3052 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
3053 __getopt_clean_environment with __environ instead of envp.
3055 1998-09-05 Roland McGrath <roland@baalperazim.frob.com>
3057 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
3059 * string/argz-extract.c (__argz_extract): Add de-consting cast for
3062 * string/argz.h (argz_next): Add de-consting cast for return.
3063 * string/argz-next.c (__argz_next): Likewise.
3065 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
3066 Don't add netinet/udp.h, netinet/ip_icmp.h here.
3067 * sysdeps/gnu/Makefile: Do it here instead.
3068 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
3069 * sysdeps/gnu/Dist: ... to here.
3071 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
3072 sysdeps/unix/sysv/linux/netinet/tcp.h,
3073 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
3075 1998-09-04 Roland McGrath <roland@baalperazim.frob.com>
3077 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
3078 * string/argz-next.c, string/argz-extract.c: Fix defns.
3080 1998-09-03 Roland McGrath <roland@baalperazim.frob.com>
3082 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
3084 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
3085 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
3086 * sysdeps/generic/sysd-stdio.c: Likewise.
3088 1998-09-02 Ulrich Drepper <drepper@cygnus.com>
3090 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
3091 (_dl_map_object_from_fd): Make NAME argument const.
3092 Remove last parameter in _dl_new_object call.
3093 (print_search_path): Correct construction of composed path name.
3094 (_dl_map_object): Prevent looking at RPATH of the main map twice.
3095 Remove last parameter in _dl_new_object call.
3096 * elf/dl-object.c: Remove last parameter. Determine whether create
3097 origin entry based on empty realname. Handle file in root directory
3099 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
3100 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
3101 Remove last parameter in _dl_new_object call.
3102 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
3103 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
3105 1998-09-01 Ulrich Drepper <drepper@cygnus.com>
3107 * elf/dl-close.c (_dl_close): Add more comments and correct some.
3108 Free l_searchlist and l_dupsearchlist.
3110 * debug/catchsegv.sh: Add one more pair of quotes.
3112 1998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
3114 * elf/dl-load.c (add_name_to_object): Change return type to void and
3115 make NAME parameter const. Allocate room for NAME in same memory
3116 block used for l_libname entry.
3117 (_dl_map_object_from_fd): Don't free NAME on failure.
3118 (map_segment): Pass SONAME to add_name_to_object, not a copy.
3119 (_dl_map_object): Don't create copy of NAME. Pass NAME to
3120 _dl_map_object_from_fd.
3121 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
3122 memory block used for l_libname entry.
3123 * elf/dl-close.c: Adjust free()ing for this change.
3125 1998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
3127 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
3129 * malloc/mtrace.c: Add bug report address. Update email address.
3130 Add more @XXX@ to print correct address size.
3132 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
3135 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
3136 for munmap call instead of examining phdr again.
3137 Free all malloc()ed strings and arrays.
3139 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
3141 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
3143 * sysdeps/powerpc/dl-machine.c: New file.
3144 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
3145 files. Revise ELF_PREFERRED_ADDRESS to take account of
3146 the new mapping information (fixes bug involving huge bloated
3147 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
3148 * sysdeps/powerpc/dl-start.S: New file.
3150 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
3152 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
3153 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
3154 others. Call elf_dynamic_do_##reloc only once (to save even more
3156 * elf/link.h: Add new members l_map_start and l_map_end to keep
3157 track of the memory map.
3158 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
3161 1998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
3163 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
3164 Reported by Andreas Jaeger.
3166 * posix/glob.h: Use __size_t instead of size_t in definitions and
3167 make sure this is defined.
3169 1998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
3171 * manual/locale.texi: Almost complete rewrite. Document more functions
3173 * manual/arith.texi: Correct reference.
3174 * manual/string.texi: Pretty printing.
3176 * manual/texinfo.tex: Update from last available version.
3178 1998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
3180 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
3182 (_nss_nis_getpwuid_r): Likewise.
3183 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
3185 * inet/rcmd.c: Implement netgroup support.
3186 Patch by Dick Streefland <dick_streefland@tasking.com>.
3188 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
3190 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
3191 object on the list is removed. Don't use this code for PIC.
3192 Reported by HJ Lu [PR libc/770].
3194 1998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
3196 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
3198 * include/stdio.h: Add __vsscanf.
3200 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
3202 Remove __vsscanf declaration.
3203 Always declare fgetpos and fsetpos.
3205 * math/math.h: Define isinf as macro.
3206 * math/bits/mathcalls.h: Change to declare __isinf all the time.
3207 Don't declare scalb for ISO C 9x.
3209 * math/tgmath.h: Define fma. Rewrite the underlying macros.
3211 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
3213 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
3216 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
3219 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3221 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
3222 Reported by jreising@frequentis.com [PR libc/767].
3224 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3226 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
3227 fl.l_start at beginning of function.
3228 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
3230 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
3232 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
3233 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
3235 * nscd/nscd.init: Make it work in RedHat systems.
3236 Patch by Christian Gafton.
3238 1998-08-29 Philip Blundell <philb@gnu.org>
3240 * catgets/Makefile: Don't try to run test programs when
3243 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
3245 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
3246 Reported by Zack Weinberg.
3248 1998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3250 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
3251 * elf/Makefile (distribute): Remove ldd.sh.in.
3253 1998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3255 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
3258 1998-08-29 Ulrich Drepper <drepper@cygnus.com>
3260 * sysdeps/i386/register-dump.h: Move to ...
3261 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
3263 1998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
3265 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
3266 with load address, not map address.
3267 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
3268 parameter and use this value.
3269 * sysdeps/arm/dl-machine.h: Likewise.
3270 * sysdeps/i386/dl-machine.h: Likewise.
3271 * sysdeps/m68k/dl-machine.h: Likewise.
3272 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
3274 * sysdeps/powerpc/dl-machine.h: Likewise
3275 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
3276 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
3278 1998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
3280 * elf/rtld.c (process_envvars): Fix copy&paste error.
3282 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
3284 (realloc_hook_ini): Don't overwrite memalign hook.
3285 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
3286 Reported by Philippe Troin <phil@fifi.org>.
3288 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
3289 Patch by Philippe Troin <phil@fifi.org>.
3291 1998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3293 * sysdeps/generic/segfault.c (install_handler): Protect the
3294 non-POSIX signals with #ifdef.
3295 (catch_segfault): Add missing mode parameter for open.
3296 * debug/catchsegv.sh: Avoid termination message from shell. Allow
3297 other termination signals.
3299 1998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3301 * debug/Makefile (distribute): Add register-dump.h.
3303 1998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3305 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
3307 1998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
3309 * elf/Makefile (distribute): Add dl-origin.h.
3310 * sysdeps/generic/dl-origin.h: New file.
3311 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
3312 * elf/link.h (struct link_map): Add l_origin field.
3313 * elf/dl-load.c (expand_dynamic_string_token): New function.
3314 (decompose_path): Remove WHERE argument, take link map pointer instead.
3315 Call expand_dynamic_string_token instead of local_strdup to make copy
3317 (_dl_init_paths): Call decompose_path with correct argument.
3318 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
3320 Check EI_OSABI and EI_ABIVERSION fields in header.
3321 Call _dl_new_object with extra argument.
3322 (_dl_map_object): Call decompose_path with correct argument.
3323 Call expand_dynamic_string_token instead of local_strdup to also
3325 Call _dl_new_object with extra argument.
3326 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
3327 but the main one if new argument is nonzero.
3328 * elf/ldsodefs.h: Adjust for _dl_new_object change.
3329 * elf/dl-support.c: Define _dl_origin_path.
3330 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
3331 (dl_main): Call _dl_new_object with extra argument.
3333 * elf/dl-close (_dl_close): Free l_name and l_origin.
3335 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
3336 modifier in asm, not c.
3338 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
3339 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
3341 1998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
3343 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
3344 variable so that map can be freed.
3345 Reported by Philippe Troin <phil@fifi.org>.
3347 * elf/dl-open.c (dl_open_worker): Correct test for extending global
3349 Patch by Philippe Troin <phil@fifi.org>.
3351 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
3353 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
3354 Don't call writev() with a 100-element vector.
3355 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
3358 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
3359 In particular, set __libc_stack_end.
3360 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
3361 undefined. Fix copyright notice.
3363 1998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3365 * math/Makefile (gmp-objs): New variable.
3366 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
3368 (tests): Add atest-exp atest-sincos atest-exp2.
3369 (tests-static): Remove atest-exp atest-sincos atest-exp2.
3371 1998-08-25 Ulrich Drepper <drepper@cygnus.com>
3373 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
3375 (_dl_unload_cache): New function.
3376 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
3377 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
3378 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
3380 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
3381 Correct comment for O_LARGEFILE.
3382 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
3383 Change O_LARGEFILE to correct value.
3385 1998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
3387 * libio/iogetline.c (_IO_getline_info): Don't read anything for
3388 N == 0. Patch by HJ Lu.
3390 1998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
3392 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
3394 1998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
3396 * argp/argp.h: Use __inline__ not inline.
3398 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
3399 an input register as being clobbered.
3400 * sysdeps/i386/memset.c (memset): Likewise.
3401 * sysdeps/i386/bzero.c (__bzero): Likewise.
3402 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
3404 1998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3406 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
3407 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
3409 1998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
3411 * debug/catchsegv.sh: Handle text preceding backtrace better.
3412 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
3413 to be installed for other signals than SIGSEGV.
3414 * sysdeps/generic/register-dump.h: New file.
3415 * sysdeps/i386/register-dump.h: New file.
3416 * sysdeps/powerpc/register-dump.h: New file.
3418 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
3420 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
3422 1998-08-24 Geoff Keating <geoffk@ozemail.com.au>
3424 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
3426 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
3428 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
3429 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
3430 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
3431 getresuid, getresgid.
3433 1998-08-16 Geoff Keating <geoffk@ozemail.com.au>
3435 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
3436 pointer in userland.
3438 1998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3440 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
3443 1998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3445 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
3446 over arguments Bourne shell compatible. Don't exit unsuccessfully
3447 if nonelf returns successfully. Avoid duplicating most of the
3449 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
3452 1998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3454 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
3456 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
3457 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
3459 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
3461 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
3462 __modify_ldt and modify_ldt.
3463 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
3465 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3466 Use orl $-1 instead of movl $-1 to save two bytes.
3467 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
3470 1998-08-17 H.J. Lu <hjl@gnu.org>
3472 * libio/Versions (_IO_do_write, _IO_file_attach,
3473 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
3474 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
3475 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
3476 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
3478 * libio/fileops.c (_IO_do_write, _IO_file_attach,
3479 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
3480 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
3481 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
3482 _IO_file_write, _IO_file_xsputn): Change the prefix to
3483 "_IO_new_". Added to GLIBC_2.1.
3485 * libio/libioP.h (_IO_do_write, _IO_file_attach,
3486 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
3487 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
3488 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
3489 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
3492 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
3493 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
3494 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
3495 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
3496 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
3498 1998-08-23 Richard Henderson <rth@cygnus.com>
3500 * Makeconfig (LDFLAGS): Remove.
3502 * csu/initfini.c: Return to .text before __gmon_start__.
3504 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
3505 (STO_MIPS_*): Rename from STO_*.
3506 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
3507 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
3509 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
3510 (main): e3s is negative on zero.
3511 * math/atest-exp2.c: Likewise.
3512 * math/atest-sincos.c: Likewise.
3514 1998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3516 * Makerules (install): Add comment about absolute paths.
3518 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
3520 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
3521 array to NUL to handle maxlen==1 case correctly.
3524 1998-08-23 Richard Henderson <rth@cygnus.com>
3526 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
3527 * sysdeps/alpha/elf/crtend.S: Likewise.
3528 * sysdeps/alpha/elf/start.S: Likewise.
3530 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
3531 non-standard pv usage.
3533 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
3534 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
3535 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
3536 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
3537 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
3538 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
3539 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
3540 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
3541 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
3542 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
3543 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
3545 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
3546 a finite non-denormal, deferring to the full IEEE version otherwise.
3548 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
3549 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
3550 * sysdeps/alpha/fpu/s_floor.c: New.
3551 * sysdeps/alpha/fpu/s_floorf.c: New.
3552 * sysdeps/alpha/fpu/s_ceil.c: New.
3553 * sysdeps/alpha/fpu/s_ceilf.c: New.
3555 1998-08-22 Philip Blundell <philb@gnu.org>
3557 * sysdeps/arm/bits/string.h: New file.
3559 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3561 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
3564 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
3565 test for recent Linux 2.1.100+ headers.
3567 1998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3569 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
3571 1998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
3573 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
3575 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3577 * Makefile (elf/ldso_install): Put back. The problem still persists.
3578 * elf/Makefile (ldso_install): Likewise.
3580 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3582 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
3584 * include/db.h: Declare __nss_db_open.
3585 * db2/Versions: Export it.
3587 * db2/makedb.c: Convert to use db2 API.
3588 * nss/nss_db/db-XXX.c: Likewise.
3589 * nss/nss_db/db-netgrp.c: Likewise.
3590 * nss/nss_db/db-alias.c: Likewise.
3591 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
3593 1998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3595 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3596 sys_setresuid, already built automatically (or not).
3597 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
3598 instead of __syscall_setresuid and add back setresuid.
3599 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
3600 __syscall_setresuid.
3602 1998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3604 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
3606 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
3608 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
3609 BASH-ONLY marked region.
3610 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
3612 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
3614 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
3617 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
3619 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
3622 1998-08-21 Roland McGrath <roland@baalperazim.frob.com>
3624 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
3625 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
3626 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
3627 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
3628 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
3629 those magic comments, and to use /bin/sh for @BASH@.
3630 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
3631 * elf/ldd.sh.in: File removed.
3633 1998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
3635 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
3636 cast them to unsigned long int.
3637 * pwd/putpwent.c (putpwent): Likewise.
3638 Patch by John Tobey <jtobey@banta-im.com>.
3640 1998-08-20 17:14 H.J. Lu <hjl@gnu.org>
3642 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
3645 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
3647 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
3650 1998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
3652 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
3653 Add umount and umount2.
3654 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
3655 * sysdeps/unix/sysv/linux/umount.S: New file.
3656 * sysdeps/unix/sysv/linux/umount2.S: New file.
3657 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
3660 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
3662 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
3663 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
3665 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
3667 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
3670 1998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
3672 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
3673 * elf/ldd.bash.in: Likewise.
3675 * elf/sln.c: Avoid warning for no main prototype.
3677 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
3679 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
3680 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3682 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
3684 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
3685 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
3686 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3688 1998-08-20 Philip Blundell <pb@nexus.co.uk>
3690 * sysdeps/arm/fpu/ieee754.h: Move to...
3691 * sysdeps/arm/ieee754.h: ... here.
3693 * sysdeps/arm/__longjmp.S: Put return value in correct register.
3694 Don't set the condition flags unnecessarily.
3695 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
3696 registers correctly.
3698 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
3699 (patch from Scott Bambrough).
3701 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
3703 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
3704 NULL, just call it unconditionally.
3705 (__gmon_start__): Provide stub version as a weak symbol.
3707 1998-07-30 Philip Blundell <philb@gnu.org>
3709 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
3712 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
3713 like `@' in .type directives.
3715 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
3716 * sysdeps/arm/bsd-_setjmp.S: Likewise.
3718 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
3720 1998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3722 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
3723 (F_GETOWN): Likewise.
3725 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
3728 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
3730 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
3733 1998-08-18 Ulrich Drepper <drepper@cygnus.com>
3735 * include/features.h: Define __USE_EXTERN_INLINES for recent
3737 * argp/argp.h: Define extern inline functions only if
3738 __USE_EXTERN_INLINES is defined.
3739 * libio/stdio.h: Likewise.
3740 * math/math.h: Likewise.
3741 * stdlib/stdlib.h: Likewise.
3742 * string/argz.h: Likewise.
3743 * sysdeps/generic/bits/sigset.h: Likewise.
3744 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
3745 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
3746 * sysdeps/wordsize-32/inttypes.h: Likewise.
3747 * sysdeps/wordsize-64/inttypes.h: Likewise.
3748 * wcsmbs/wchar.h: Likewise.
3750 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
3751 to allow compilation without optimization.
3753 1998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3755 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
3757 * nis/nss_compat/compat-initgroups.c: Likewise.
3758 * nis/nss_compat/compat-pwd.c: Likewise.
3759 * nis/nss_compat/compat-spwd.c: Likewise.
3760 * nis/nss_nis/nis-alias.c: Likewise.
3761 * nis/nss_nis/nis-ethers.c: Likewise.
3762 * nis/nss_nis/nis-grp.c: Likewise.
3763 * nis/nss_nis/nis-hosts.c: Likewise.
3764 * nis/nss_nis/nis-initgroups.c: Likewise.
3765 * nis/nss_nis/nis-network.c: Likewise.
3766 * nis/nss_nis/nis-proto.c: Likewise.
3767 * nis/nss_nis/nis-pwd.c: Likewise.
3768 * nis/nss_nis/nis-rpc.c: Likewise.
3769 * nis/nss_nis/nis-service.c: Likewise.
3770 * nis/nss_nis/nis-spwd.c: Likewise.
3772 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
3774 * nis/ypclnt.c: Try binding dir only first time, could be to old.
3776 * nis/yp_xdr.c: Remove 1024 byte limit.
3777 * nis/ypupdate_xdr.c: Likewise.
3779 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
3782 1998-08-18 Roland McGrath <roland@baalperazim.frob.com>
3784 * Rules (binaries-static, binaries-shared static pattern rules):
3785 Depend on lib%, not just libc%, from $(link-libc{,-static}).
3787 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
3788 this here, overriding Makeconfig generic value so we link against
3791 1998-08-17 Ulrich Drepper <drepper@cygnus.com>
3793 * posix/tstgetopt.c (options): Add NULL entry at end
3794 Patch by Adrian Miranda <ade@psg.com>.
3796 1998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
3798 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
3801 1998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
3803 * elf/elf.h: Add PPC Diab relocations.
3805 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
3807 1998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
3809 * manual/texinfo.tex: Update.
3811 1998-08-07 Geoff Keating <geoffk@ozemail.com.au>
3813 * sysdeps/powerpc/backtrace.c: New file.
3815 1998-08-14 Philip Blundell <pb@nexus.co.uk>
3817 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
3819 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
3821 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3823 * Makefile (install-symbolic-link): Fix spelling.
3825 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3827 * elf/elf.h (SHT_HIOS): Fix value.
3829 1998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3831 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
3832 part of the expansion, this is undefined by the standard.
3834 1998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
3836 * posix/getconf.c: Add support for systems with incomplete confname.h.
3838 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
3840 * sysdeps/posix/wait3.c: Make it work.
3842 1998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3844 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
3845 (elf/ldso_install): Remove.
3847 * elf/Makefile (distribute): Add sln.c.
3849 (others-static): Add sln.
3850 (install-rootsbin): Add sln.
3851 (others-static): Add sln.
3852 (ldso_install): Remove.
3854 1998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3856 * Makerules (install-clean-symbolic-link-list): Make phony.
3857 * Makefile (install-symbolic-link): Make phony. Depend on
3858 subdir_install for parallel makes.
3861 1998-07-22 Ulrich Drepper <drepper@cygnus.com>
3863 * elf/Makefile (distribute): Add sln.c
3865 1998-07-21 07:10 H.J. Lu <hjl@gnu.org>
3867 * elf/sln.c: New file.
3869 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
3870 (install-clean-symbolic-link-list): New target.
3871 (install): Depend on install-clean-symbolic-link-list.
3872 (make-shlib-link): Changed for $(symbolic-link-list).
3874 * Makefile (install-symbolic-link): New target.
3875 (install): Depend on install-symbolic-link.
3877 1998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
3879 * include/unistd.h: Protect against multiple inclusion.
3881 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
3882 is defined, not is glob is defined.
3883 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
3885 1998-08-01 17:18 H.J. Lu <hjl@gnu.org>
3887 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
3888 xdr_string for ut_line, ut_name and ut_host.
3890 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3892 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
3893 /var/mail in accordance with FHS 2.0.
3894 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
3896 1998-08-12 Richard Henderson <rth@cygnus.com>
3898 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
3899 Update aliases for cancelation.
3901 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
3902 playing with symbol versions.
3904 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
3906 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
3907 multiple inclusion protection.
3908 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
3909 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
3910 define all these to 1.
3911 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
3913 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
3915 * sysdeps/mach/usleep.c: Include <unistd.h>.
3916 (usleep): Return void.
3918 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
3920 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
3921 decl to inhibit warning in if_freenameindex defn.
3923 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
3925 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
3927 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
3928 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
3929 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
3930 * sysdeps/mach/usleep.c: Likewise.
3932 * sysdeps/mach/hurd/bind.c (bind): Add a const.
3934 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
3935 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
3936 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
3937 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
3938 * sysdeps/mach/usleep.c (usleep): Likewise.
3939 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
3940 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
3941 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
3942 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
3944 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
3946 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
3949 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
3950 %p arg to fprintf, since `void *' is the right type already.
3952 1998-07-25 19:47 Jose M. Moya <josem@gnu.org>
3954 * sysdeps/mach/hurd/getcwd.c
3955 (_hurd_canonicalize_directory_name_internal): Do not loop forever
3956 for unknown root directories.
3957 (__getcwd): Return NULL when the current root directory could not
3960 1998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
3962 * string/strsignal.c (strsignal): Count real-time signals from zero.
3965 See ChangeLog.8 for earlier changes.