1 1998-11-13 Ulrich Drepper <drepper@cygnus.com>
3 * stdio-common/vfscanf.c: Don't return -1 in case of an invalid
6 * version.h (VERSION): Bump to 2.0.102.
8 * stdio-common/tstdiomisc.c (t2): Update test case for last scanf
10 * stdio-common/scanf7.c (main): Likewise.
12 1998-11-13 Ulrich Drepper <drepper@cygnus.com>
14 * stdio-common/vfscanf.c: Return EOF for invalid format
17 * version.h (VERSION): Bump to 2.0.101.
19 * Makerules (Versions.all): Generate this file from all Versions.def
21 (sysd-versions): Use Versions.all instead of Versions.def.
23 1998-11-13 Philip Blundell <philb@gnu.org>
25 * sysdeps/arm/fpu/bits/setjmp.h (__JMP_BUF_SP): Correct value.
26 Reported by Scott Bambrough.
28 1998-11-11 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
30 * locale/programs/config.h: Define HAVE_STRING_H for xstrdup.c.
32 1998-11-13 Ulrich Drepper <drepper@cygnus.com>
34 * libio/bits/stdio.h: Correct and improve fread_unlocked and
35 fwrite_unlocked optimizations.
37 * time/tzfile.c (__tzfile_read): Set __tzname based on last names
38 in time not to last entries in the file.
39 (__tzfile_compute): Likewise. Fix for PR libc/863.
41 * timezone/Makefile: Generate GB timezone data for test.
42 * timezone/tst-timezone.c: More tests for DST switching time (disabled
45 1998-11-13 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
47 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Remove
50 1998-11-12 Ulrich Drepper <drepper@cygnus.com>
52 * inet/netinet/in.h: Add a few more IPPROTO_* macros.
54 * libio/Makefile (headers): Add bits/stdio.h.
55 * libio/iofread_u.c: Undefine fread_unlocked before definition.
56 * libio/iofwrite_u.c: Undefine fwrite_unlocked before definition.
57 * libio/stdio.h: Move optimizations into ...
58 * libio/bits/stdio.h: ...here. New file.
60 * libio/iofread.c: Pretty print.
62 1998-11-12 Mark Kettenis <kettenis@phys.uva.nl>
64 * sysdeps/gnu/bits/utmpx.h: Protect members of struct
65 __exit_status with `__'. Rename pad member of struct utmpx to
67 (RUN_LVL): Define unconditionally.
68 * sysdeps/gnu/bits/utmp.h: Rename pad member of struct utmp to
71 1998-11-12 Philip Blundell <philb@gnu.org>
73 * sysdeps/unix/sysv/linux/netlink/netlink.h: New file, support for
74 Linux AF_NETLINK sockets (needed since the kernel version is
76 * sysdeps/unix/sysv/linux/Makefile: Install it.
77 * sysdeps/unix/sysv/linux/Dist: Distribute it.
79 1998-11-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
81 * timezone/tst-timezone.c (tests): Add entry for America/Chicago
82 to test for bug in PR libc/863.
84 1998-11-12 Ulrich Drepper <drepper@cygnus.com>
86 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Cleanup comment.
88 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Rename macro
89 parameter lazy to do_lazy to avoid clashing with struct member name.
90 Reported by Ralf Baechle <ralf@uni-koblenz.de>.
92 1998-11-10 H.J. Lu <hjl@gnu.org>
94 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine NR_OPEN
95 if it is defined in <linux/limits.h>.
97 1998-11-09 13:07 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
99 * include/protocols/routed.h: Include the real header with
100 a full path from the top of the source tree.
101 * include/protocols/rwhod.h: Likewise.
102 * include/protocols/talkd.h: Likewise.
103 * include/protocols/timed.h: Likewise.
105 * timezone/Makefile: Don't include z.ZONE files if no_deps
106 is set, not if avoid-generated is set.
108 1998-11-12 Ulrich Drepper <drepper@cygnus.com>
110 * signal/signal.h: Undo last change. Get definition of timespec
111 if __USE_POSIX199309.
113 * string/bits/string2.h (__strpbrk_c2): Add intermediate cast to
114 size_t to prevent gcc warning when using -Wqual-cast.
115 (__strpbrk_c3): Likewise.
116 Suggested by Alan Curry <pacman@cqc.com>.
118 1998-11-11 Roland McGrath <roland@baalperazim.frob.com>
120 * hurd/hurdsig.c (_hurdsig_init): Add assertion that no pending,
121 unblocked signals are set in the startup masks.
123 * hurd/hurdsig.c (_hurdsig_init): Take new args, INTARRAY and
124 INTARRAYSIZE. Initialize main thread's sigstate from INIT_SIG* ints.
126 * hurd/hurd/signal.h: Update _hurdsig_init decl.
127 * hurd/hurdinit.c (_hurd_proc_init): Take new args, INTARRAY and
128 INTARRAYSIZE, pass them down to _hurdsig_init.
129 * hurd/hurd.h: Update _hurd_proc_init decl.
131 1998-11-10 Ulrich Drepper <drepper@cygnus.com>
133 * math/cabs.c: Replace complex by _Complex.
134 * math/cabsf.c: Likewise.
135 * math/cabsl.c: Likewise.
136 * math/cimag.c: Likewise.
137 * math/cimagf.c: Likewise.
138 * math/cimagl.c: Likewise.
139 * math/conj.c: Likewise.
140 * math/conjf.c: Likewise.
141 * math/conjl.c: Likewise.
142 * math/creal.c: Likewise.
143 * math/crealf.c: Likewise.
144 * math/creall.c: Likewise.
146 * sysdeps/alpha/fpu/bits/mathdef.h: Define ISO C 9X stuff only if
147 included from math.h and __USE_ISOC9X is defined.
148 * sysdeps/generic/bits/mathdef.h: Likewise.
149 * sysdeps/generic/i386/fpu/mathdef.h: Likewise.
150 * sysdeps/generic/m68k/fpu/mathdef.h: Likewise.
151 * sysdeps/generic/powerpc/bits/mathdef.h: Likewise.
152 * sysdeps/generic/sparc/fpu/bits/mathdef.h: Likewise.
154 1998-11-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
156 * sysdeps/i386/fpu/bits/mathdef.h: Allow direct inclusion by
158 * sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
159 * sysdeps/generic/bits/mathdef.h: Likewise.
160 * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
161 * sysdeps/powerpc/bits/mathdef.h: Likewise.
162 * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
164 1998-11-09 Ulrich Drepper <drepper@cygnus.com>
166 * extra-lib.mk: Fix typo in last change.
168 * math/complex.h: Include bits/mathdef.h to get __NO_LONG_DOUBLE_MATH
170 Don't define long double functions if __NO_LONG_DOUBLE_MATH is defined.
171 Don't define `complex' but instead `_Complex'. The later is the
173 * math/bits/cmathcalls.c: Define _Mdouble_complex_ using _Complex,
176 1998-11-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
178 * manual/libc.texinfo: Remove colon from category name.
179 * manual/Makefile (dir-add.info): Likewise.
181 1998-11-07 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
183 * configure.in: Avoid autoconf bug.
185 1998-10-28 H.J. Lu <hjl@gnu.org>
187 * posix/getopt.h: Add "__" to arguments in prototypes.
189 1998-11-05 H.J. Lu <hjl@gnu.org>
191 * libio/iofgets.c (_IO_fgets): Don't report error
192 if something was read in and errno is set to
194 * libio/iofgets_u.c (fgets_unlocked): Likewise.
196 1998-11-05 Philip Blundell <philb@gnu.org>
198 * sysdeps/unix/sysv/linux/net/if_packet.h: Don't include kernel
199 header; it defines too much. Provide a local definition of struct
200 sockaddr_pkt and a comment advising against its use.
202 1998-11-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
204 * extra-lib.mk: Avoid empty include list.
206 1998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
208 * extra-lib.mk: Add support for $(lib)-shared-only-routines.
210 * elf/Makefile (libdl-routines): Add dlopenold only if doing
212 (libdl-shared-only-routines): New variable.
214 1998-11-06 Paul Eggert <eggert@twinsun.com>
216 Don't invoke localtime_r or gmtime_r unless it's the GNU C
217 library's localtime_r and gmtime_r; there are too many buggy
218 implementations of localtime_r and gmtime_r out there, and
219 it's not worth keeping track of all the different bugs.
221 * time/mktime.c (__EXTENSIONS__): Remove.
222 (<unistd.h>): No need to include.
223 * time/strftime.c: Likewise.
225 * time/mktime.c (_POSIX_THREAD_SAFE_FUNCTIONS, HAVE_LOCALTIME_R):
227 (my_mktime_localtime_r): Renamed from localtime_r; all uses changed.
228 Base it on localtime unless _LIBC.
230 * time/strftime.c (my_strftime_gmtime_r): Renamed from gmtime_r;
232 (my_strftime_localtime_r): Renamed from localtime_r; all uses changed.
233 Base them on localtime/gmtime if not _LIBC.
235 1998-11-07 Ulrich Drepper <drepper@cygnus.com>
237 * sysdeps/generic/isastream.c: Always return 0 unless it is an invalid
238 file descriptor. This makes this function actually usable.
239 Proposed by Mark Kettenis <kettenis@phys.uva.nl>.
241 1998-11-05 Ulrich Drepper <drepper@cygnus.com>
243 * math/math.h: Unconditionally include bits/mathdef.h. Declare
244 long double functions only if __NO_LONG_DOUBLE_MATH is not
246 * sysdeps/generic/bits/mathdef.h: Define only if __USE_ISOC9X.
247 Define __NO_LONG_DOUBLE_MATH.
248 * sysdeps/m68k/fpu/bits/mathdef.h: Define only if __USE_ISOC9X.
249 * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
251 * elf/rtld.c: Add a few __builtin_expects where they will improve
254 1998-11-05 Ulrich Drepper <drepper@cygnus.com>
256 * version.h (VERSION): Bump to 2.0.100.
258 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Fix fldl -> fld.
260 * sysdeps/libm-i387/s_fma.S: Optimize a bit.
261 * sysdeps/libm-i387/s_fmaf.S: Likewise.
263 1998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
265 * libio/genops.c (_IO_least_marker): Add additional parameter
266 end_p replacing fp->_IO_read_end.
267 (save_for_backup): Likewise. All callers changed. Use _IO_size_t
268 and _IO_ssize_t instead of int.
269 (_IO_switch_to_main_get_area): Remove use of _IO_save_ptr.
270 (_IO_switch_to_backup_area): Likewise. Fix comments.
271 (_IO_seekmark): Undo last change.
272 (_IO_default_pbackfail): Correct use of backup area.
273 * libio/libio.h (_IO_FILE_complete): Remove _IO_save_ptr.
275 1998-11-04 19:47 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
277 * configure.in: Search for install-info and substitute it.
278 Determine whether install-info is the buggy Debian version
279 that doesn't understand INFO-DIR-SECTION.
280 * config.make.in: Add INSTALL_INFO and OLD_DEBIAN_INSTALL_INFO
282 * manual/Makefile: If OLD_DEBIAN_INSTALL_INFO, give
283 install-info the --section argument it needs to work properly.
284 (dir-add.texinfo): Delete target.
285 (dir-add.info): Generate this directly. Sort entries. Put a
286 colon at the end of the INFO-DIR-SECTION line.
287 * manual/libc.texinfo: Put a colon at the end of the
290 1998-11-05 Paul Eggert <eggert@twinsun.com>
292 * time/mktime.c (__mktime_internal): Adopt the traditional (and
293 problematic) notion of what to do when tm_isdst doesn't match.
295 1998-11-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
297 * posix/PTESTS: Fix spelling.
299 1998-11-04 Ulrich Drepper <drepper@cygnus.com>
301 * misc/efgcvt_r.c (fcvt_r): Remove code which tries to use libm
302 functions. Reduce error in computing normalized value by multiplying
303 factor in loop and compute result in one step.
304 Reported by Christian Gafton.
306 * sysdeps/libm-i387/e_hypot.S: New file.
307 * sysdeps/libm-i387/e_hypotf.S: New file.
309 1998-11-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
311 * elf/dlopenold.c: Compile only if DO_VERSIONING is also defined.
313 1998-11-03 H.J. Lu <hjl@gnu.org>
315 * libio/fileops.c (new_do_write): New function.
316 (_IO_new_do_write): Call new_do_write.
317 (_IO_new_file_xsputn): Likewise.
319 * libio/oldfileops.c (old_do_write): New function.
320 (_IO_old_do_write): Call old_do_write.
321 (_IO_old_file_xsputn): Likewise.
323 1998-11-04 Ulrich Drepper <drepper@cygnus.com>
325 * time/mktime.c (__mktime_internal): Correct last change. We must
326 stop searching for the right isdst value before stepping to the
329 * malloc/malloc.c: Make sure calloc really returned zeroed memory.
330 Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>.
332 1998-11-02 16:12 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
334 * sysdeps/generic/bits/signum.h: Define signals with their
335 historical numbers when those are in the 1-15 range and
336 consistent across platforms.
337 Define compatibility aliases (SIGIOT, SIGCLD) if __USE_MISC.
338 Define SIG_DFL, SIG_IGN, SIG_ERR as numeric constants cast
339 appropriately instead of with fake function declarations
340 (would cause link errors).
341 If __USE_UNIX98, define SIG_HOLD.
343 1998-10-29 H.J. Lu <hjl@gnu.org>
345 * sysdeps/unix/sysv/linux/bits/sigaction.h (sigaction): Use
346 union only if __USE_POSIX199309 is defined.
348 * misc/sys/select.h (pselect): Declared only if __USE_GNU is
351 1998-11-03 Ulrich Drepper <drepper@cygnus.com>
353 * time/mktime.c (__mktime_internal): Handle broken down times
354 around the time of the DST switches more correctly.
356 1998-11-02 Ulrich Drepper <drepper@cygnus.com>
358 * elf/Makefile (libdl-routines): Add dlopenold.
359 * elf/Versions [libdl, GLIBC_2.1]: Add dlopen.
360 * elf/dl-open.c (_dl_open): Check whether RTLD_LAZY or RTLD_GLOBAL
361 is set and bounce otherwise.
362 * elf/dlopen.c: Rename function to __dlopen_check and make version
364 * elf/dlopenold.c: New file.
366 1998-11-02 Ulrich Drepper <drepper@cygnus.com>
368 * elf/Versions [libc, GLIBC_2.01]: Add _dl_global_scope_alloc.
369 * elf/dl-open.c (_dl_global_scope_alloc): Move definition to
370 * elf/dl-deps.c: ...here.
371 * elf/dl-open.c (dl_open_worker): Call _dl_map_object_deps with
372 new parameter and expect result. Remove code handling RTLD_GLOBAL.
373 Add return value of _dl_map_object_deps to
374 _dl_main_searchlist->r_nlist.
375 * elf/dl-deps.c (_dl_map_object_deps): Change to return value.
376 If we parameter GLOBAL is nonzero add object and dependencies to
378 * elf/ldsodefs.h: Adapt prototype for _dl_map_object_deps.
379 * elf/rtld.c (dl_main): Call _dl_map_object_deps with new parameter.
380 Mark all objects as in global scope.
381 * elf/dl-object.c (_dl_new_object): Initialize l_global to zero.
383 * sysdeps/unix/sysv/linux/bits/sockunion.h: Add Econet support.
385 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add .L prefix to symbols
388 1998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
390 * sysdeps/unix/sysv/linux/netatalk/at.h: Include <linux/atalk.h>
391 before <sys/socket.h> to make sockaddr_at available to
394 * posix/glob.h: Remove __P from parameter lists of declarations.
396 1998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
398 * time/tzset.c (tz_compute): Remove unused parameter timer.
401 1998-11-02 Mark Kettenis <kettenis@phys.uva.nl>
403 * sysdeps/generic/bits/types.h (__ipc_pid_t): New typedef.
405 1998-11-02 Ulrich Drepper <drepper@cygnus.com>
407 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Remove
408 unnecessary test and add cast.
410 1998-11-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
412 * posix/getconf.c: Add initializer SYSCONF for CHARCLASS_NAME_MAX.
414 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Remove unused
416 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
418 1998-11-02 Mark Kettenis <kettenis@phys.uva.nl>
420 * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
422 (__FDMASK): Use __fd_mask instead of unsigned long int in cast.
424 1998-10-31 Richard Henderson <rth@cygnus.com>
426 * math/Makefile (gmp-objs): Add udiv_qrnnd.
428 * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL*): New.
429 (inline_syscall*): New.
430 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL): New.
431 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Kill __syscall* bits.
433 1998-10-31 Ulrich Drepper <drepper@cygnus.com>
435 * aclocal.m4 (LIBC_PROG_FOO_GNU): Name output file using -o to
436 avoid ld test generating an unwanted file.
438 * posix/PTESTS: Remove comment about incorrect test (it is correct).
440 1998-10-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
442 * sunrpc/Versions: Add xdr_uint32_t and xdr_int32_t.
443 * sunrpc/pmap_rmt.c: Initialize clnt_stat variable.
444 * sunrpc/rpc/auth_des.h: Use uint32_t for time values.
445 * sunrpc/rpc/xdr.h: Add INT32 support.
446 * sunrpc/xdr.c: Implement xdr_int32_t and xdr_uint32_t .
448 * nis/nis_call.c: Changes for new 64bit clean NIS+ interface.
449 * nis/nis_callback.c: Likewise.
450 * nis/nis_creategroup.c: Likewise.
451 * nis/nis_defaults.c: Likewise.
452 * nis/nis_intern.h: Likewise.
453 * nis/nis_lookup.c: Likewise.
454 * nis/nis_ping.c: Likewise.
455 * nis/nis_print.c: Likewise.
456 * nis/nis_table.c: Likewise.
457 * nis/nis_util.c: Likewise.
458 * nis/nis_xdr.c: Likewise.
459 * nis/rpcsvc/nis.h: Likewise.
460 * nis/rpcsvc/nis.x: Likewise.
461 * nis/rpcsvc/nis_callback.h: Likewise.
462 * nis/rpcsvc/nis_object.x: Likewise.
463 * nis/rpcsvc/nislib.h: Likewise.
465 * nis/rpcsvc/yp.h: Remove casts to (u_long).
466 * nis/rpcsvc/yp_prot.h: Likewise.
467 * nis/rpcsvc/ypupd.h: Likewise.
468 * nis/ypclnt.c: Change %ld to %d in sprintf.
470 1998-10-29 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
472 * manual/locale.texi (Formatting Numbers): Fix strfmon examples.
474 1998-10-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
476 * sysdeps/generic/bits/select.h (__FD_ZERO): Change '\0' to plain
477 0, __fd_mask is usually not a char.
479 1998-10-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
481 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Allow
482 compilation on systems without rt_* syscalls (e.g. on Linux 2.0).
483 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
484 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
485 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
486 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise
487 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
488 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
490 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Allow
491 compiling on systems without rt_sigaction syscall.
492 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction):
495 1998-10-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
497 * time/strptime.c (HERE_D_FMT): Fix typo.
498 Reported by Claus Heine <heine@math1.rwth-aachen.de>, PR libc/842.
500 1998-10-30 Ulrich Drepper <drepper@cygnus.com>
502 * catgets/Makefile (tests): Add rules to run gencat on test1.msg.
503 (generate): Add test1.cat and test1.h.
504 (distribute): Add test1.msg.
505 * catgets/test1.msg: New file.
507 * catgets/gencat.c: Do a better job in initializing dynamic
508 memory [PR libc/844].
510 1998-10-30 18:11 Ulrich Drepper <drepper@cygnus.com>
512 * iconv/gconv_conf.c (__gconv_read_conf): Don't define as
513 internal_function since it is called through a pointer.
514 * iconv/gconv_db.c (free_derivation): Likewise.
515 * iconv/gconv_int.h: Adjust prototype od __gconv_read_conf.
517 * posix/wordexp.c: Add internal_function to parse_backtick definition.
518 * rt/aio_misc.c: Add internal_function to __aio_free_request,
519 __aio_find_req, __aio_find_req_fd, and __aio_enqueue_request
521 * rt/aio_notify.c: Add internal_function to __aio_notify_only and
522 __aio_notify definitions.
523 * wcsmbsload.c: Add internal_function to __wcsmbs_load_conv definition.
525 1998-10-30 Ulrich Drepper <drepper@cygnus.com>
527 * Makerules (build-shlib): Add -O to generate optimized shared
530 1998-10-30 11:15 Ulrich Drepper <drepper@cygnus.com>
532 * sysdeps/libm-i387/e_fmod.S: Remove invalid operand size suffix.
533 * sysdeps/libm-i387/e_fmodf.S: Likewise.
534 * sysdeps/libm-i387/e_fmodl.S: Likewise.
535 * sysdeps/libm-i387/s_ilogb.S: Likewise.
536 * sysdeps/libm-i387/s_ilogbf.S: Likewise.
537 * sysdeps/libm-i387/s_logb.S: Likewise.
538 * sysdeps/libm-i387/s_logbf.S: Likewise.
539 * sysdeps/libm-i387/s_remquo.S: Likewise.
540 * sysdeps/libm-i387/s_remquof.S: Likewise.
541 * sysdeps/libm-i387/s_remquol.S: Likewise.
542 * sysdeps/libm-i387/s_significand.S: Likewise.
543 * sysdeps/libm-i387/s_significandf.S: Likewise.
545 1998-10-30 Geoff Keating <geoffk@ozemail.com.au>
547 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Really correct
550 1998-10-30 Geoff Keating <geoffk@ozemail.com.au>
552 * math/libm-test.c: Loosen deltas for sin(0.9)^2+cos(0.9)^2.
554 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
556 * stdio-common/vfprintf.c (vfprintf): Fix the remaining premature
557 returns without cleaning up the lock.
558 (printf_unknown): Add label all_done.
560 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Keep Linux 2.0
561 kernels in mind when reading /proc/self/fd/FD.
562 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
564 * nscd/nscd.c (doc): It's "Name Service" not "Name Switch".
566 * malloc/mtrace.c (tr_where): Replace snprintf call by mempcpy and
569 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Try reading
570 /prof/self/fd/FD first.
571 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
573 * stdio-common/_itoa.h (_fitoa_word): New inline function. Write
574 formatted number starting at given position and return pointer to
576 (_fitoa): Likewise, for long long.
578 1998-10-29 Roland McGrath <roland@baalperazim.frob.com>
580 * sysdeps/unix/sysv/linux/bits/sem.h,
581 sysdeps/unix/sysv/linux/bits/ipc.h,
582 sysdeps/unix/sysv/linux/bits/shm.h,
583 sysdeps/unix/sysv/linux/bits/msq.h: Moved to ...
584 * sysdeps/gnu/bits/sem.h, sysdeps/gnu/bits/ipc.h,
585 sysdeps/gnu/bits/shm.h, sysdeps/gnu/bits/msq.h: ... here,
586 so the same bits will be used for the Hurd.
588 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
590 * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Allow
591 compiling on systems without rt_sigaction syscall.
593 1998-10-12 Philip Blundell <pb@nexus.co.uk>
595 * Makeconfig (sysdep-subdirs): Allow Subdirs files to remove
596 directories as well as add them.
598 1998-10-28 Philip Blundell <pb@nexus.co.uk>
600 * sysdeps/unix/sysv/linux/neteconet/ec.h: New file. Support for
601 AF_ECONET sockets as found in recent Linux 2.1 kernels.
602 * sysdeps/unix/sysv/linux/Dist: Distribute it.
603 * sysdeps/unix/sysv/linux/Makefile: Install it.
605 1998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
607 * string/bits/string2.h: __USE_GNU already implies __USE_MISC.
609 1998-10-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
611 * sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access
613 * sysdeps/unix/sysv/linux/alpha/bits/types.h (__FDS_BITS): Likewise.
614 * sysdeps/unix/sysv/linux/bits/types.h (__FDS_BITS): Likewise.
615 * sysdeps/unix/sysv/linux/mips/bits/types.h (__FDS_BITS): Likewise.
616 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__FDS_BITS):
618 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h (__FDS_BITS):
620 * sysdeps/generic/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
622 * sysdeps/i386/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR,
623 __FD_ISSET): Likewise.
625 1998-10-28 Geoff Keating <geoffk@ozemail.com.au>
627 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Tidy up, correct
630 * sysdeps/unix/sysv/linux/powerpc/pread.c: Do not use the i386 version.
631 Instead call the system call wrapper function using an 64bit argument.
632 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
633 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
634 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
636 1998-10-27 Ulrich Drepper <drepper@cygnus.com>
638 * signal/signal.h: Don't include <time.h> for timespec, add
641 * sysdeps/i386/bits/select.h [!__USE_XOPEN]: Add special version
642 of __FD_* macros which use __fds_bits.
643 * sysdeps/generic/bits/select.h: Likewise.
644 Reported by Matt McLean <keys@yikes.com>.
646 1998-10-27 Philip Blundell <pb@nexus.co.uk>
648 * elf/elf.h: Update ARM definitions.
650 1998-10-27 Ulrich Drepper <drepper@cygnus.com>
652 * signal/signal.h: Include bits/sigthread.h only for Unix98.
654 1998-10-26 Ulrich Drepper <drepper@cygnus.com>
656 * include/libc-symbols.h: If HAVE_BUILTIN_EXPECT is not defined
657 define __builtin_expect as a macro substituting to the first
659 * config.h.in: Define HAVE_BUILTIN_EXPECT.
660 * configure.in: Add test for __builtin_expect.
662 * sysdeps/unix/sysv/linux/bits/types.h: Include
663 bits/pthreadtypes.h only not for POSIX 199506.
664 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
665 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
666 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
668 1998-10-26 Mark Kettenis <kettenis@phys.uva.nl>
670 * sysdeps/unix/sysv/linux/Versions: Move shutdown ...
671 * socket/Versions [libc, GLIBC_2.0]: ... to here.
673 1998-10-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
675 * include/stdio.h: Included <stddef.h> for size_t.
677 * stdio/stdio.h: Move __path_search, __gen_tempname, __libc_fatal
679 * include/stdio.h: ...here.
680 * libio/stdio.h: Removed __path_search, __gen_tempname, __libc_fatal.
682 1998-10-26 11:09 Ulrich Drepper <drepper@cygnus.com>
684 * time/Makefile (tests): Add tst-posixtz.
685 * time/tst-posixtz.c: New file.
687 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
689 * elf/rtld.c (process_envvars): Accept any non-null value of
690 LD_BIND_NOW, as mandated by the ABI.
692 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
694 * sysdeps/unix/sysv/linux/pread.c: Rename __syscall_pread64 to
696 * sysdeps/unix/sysv/linux/pwrite.c: Rename __syscall_pwrite64 to
698 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
699 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
700 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
701 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
702 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise. Remove
704 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
705 s_pread64 and s_pwrite64.
706 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
708 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
710 * sysdeps/unix/sysv/linux/llseek.c: Use INLINE_SYSCALL.
711 * sysdeps/unix/sysv/linux/arm/syscalls.list: Rename __sys_llseek
712 to __syscall__llseek.
713 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
714 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
715 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove entry for
718 1998-10-26 Cristian Gafton <gafton@redhat.com>
720 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add s_setfsgid
723 1998-10-26 Ulrich Drepper <drepper@cygnus.com>
725 * time/tzset.c (tz_compute): Correct last patch and describe this
728 1998-10-24 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
730 * sysdeps/unix/sysv/linux/m68k/Makefile [subdir=signal]: Remove
731 rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo,
732 rt_sigaction and rt_sigpending.
733 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove all entries
734 for __syscall_* functions.
735 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Implement INLINE_SYSCALL.
737 1998-10-26 Roland McGrath <roland@baalperazim.frob.com>
739 * hurd/Versions: Add _hurd_dtable, _hurd_dtablesize,
740 _hurd_dtable_lock, _hurd_intern_fd.
742 * sysdeps/mach/hurd/Versions: Add cthread_keycreate,
743 cthread_getspecific, cthread_setspecific, __libc_getspecific.
745 * mach/Versions: Fix typo in last change.
747 1998-10-25 Ulrich Drepper <drepper@cygnus.com>
749 * time/tzset.c (tz_compute): If time to switch to DST is later in
750 the year switch back in the next year.
751 Reported by jwitford@hutch.com.au.
753 1998-10-24 Mark Kettenis <kettenis@phys.uva.nl>
755 * mach/Versions: Add evc_wait, mach_error, mach_error_string,
756 mach_error_type, mach_msg_destroy, mig_deallocate_reply_port.
757 Remove __mach_host_self, __mach_reply_port, __mach_setup_thread,
758 __mach_port_allocate, __mach_port_allocate_name,
759 __mach_port_insert_right __mutex_trylock, __mutex_lock,
760 __mutex_unlock, __swtch, __switch, __task_create, __task_suspend,
761 __task_set_special_port, __task_terminate, __thread_depress_abort,
762 __thread_switch, __vm_allocate, __vm_deallocate, __vm_map. These
763 functions are not used outside libc.
765 * sysdeps/mach/hurd/Versions: New file.
766 [libc, GLIBC_2.0]: Add _cthread_exit_routine and
767 _cthread_init_routine. These are set by the Hurd cthreads library.
768 Add __getcwd, __mmap. If we don't add these, the weak definitions in
769 the dynamic linker will not be replaced by the corresponding shared
770 library routines once they are loaded.
772 1998-10-21 Mark Kettenis <kettenis@phys.uva.nl>
774 * sysdeps/mach/hurd/i386/init-first.c: Only define
775 __libc_enable_secure if PIC is not defined.
777 1998-10-25 Roland McGrath <roland@baalperazim.frob.com>
779 * argp/Versions: Add _argp_unlock_xxx. Lock-savvy functions call this
780 to recurse into argp.
782 1998-10-25 Ulrich Drepper <drepper@cygnus.com>
784 * include/features.h: Define __USE_POSIS199506 is _POSIX_C_SOURCE is
785 greater or equal than 199506L.
787 * sysdeps/generic/bits/types.h (__fd_set): Define element as fds_bits
788 only is __USE_XOPEN. Otherwise use __fds_bits.
789 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
790 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
791 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
792 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
793 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
795 1998-10-24 H.J. Lu <hjl@gnu.org>
797 * locale/programs/charmap.c (parse_charmap): Accept tok_string
800 1998-10-25 H.J. Lu <hjl@gnu.org>
802 * locale/programs/ld-ctype.c (ctype_finish): Also check
805 1998-10-25 Ulrich Drepper <drepper@cygnus.com>
807 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX199506.
809 * sysdeps/unix/sysv/linux/bits/types.h: Include pthreadtypes.h only
810 if __USE_POSIX199506 or __USE_UNIX98.
812 1998-10-24 22:34 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
814 * string/bits/string2.h: Inline strdup+friends only if
815 __USE_MISC || __USE_GNU (prevents namespace pollution).
817 1998-10-24 H.J. Lu <hjl@gnu.org>
819 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (LOCK_SH,
820 LOCK_EX, LOCK_NB, LOCK_UN): Protect with __USE_BSD.
821 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (LOCK_SH, LOCK_EX,
822 LOCK_NB, LOCK_UN): Likewise.
823 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (LOCK_SH, LOCK_EX,
824 LOCK_NB, LOCK_UN): Likewise.
825 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (LOCK_SH, LOCK_EX,
826 LOCK_NB, LOCK_UN): Likewise.
827 * sysdeps/unix/sysv/linux/bits/fcntl.h (LOCK_SH, LOCK_EX,
828 LOCK_NB, LOCK_UN): Likewise.
830 1998-10-24 H.J. Lu <hjl@gnu.org>
832 * libio/ioseekoff.c (_IO_seekoff): Check the valid dir value.
834 * libio/rewind.c (rewind): Clear the error.
836 1998-10-24 H.J. Lu <hjl@gnu.org>
838 * grp/grp.h (getgrent_r, getgrgid_r, getgrnam_r): Add "__" to
841 1998-10-24 H.J. Lu <hjl@gnu.org>
843 * sysdeps/unix/sysv/linux/alpha/bits/time.h (timeval): Protect
845 * sysdeps/unix/sysv/linux/mips/bits/time.h (timeval): Likewise.
846 * sysdeps/unix/sysv/linux/bits/time.h (timeval): Likewise.
848 1998-10-24 H.J. Lu <hjl@gnu.org>
850 * signal/signal.h (timespec, siginfo_t, sigwaitinfo, sigtimedwait,
851 sigqueue): Protect with __USE_POSIX199309.
853 1998-10-24 H.J. Lu <hjl@gnu.org>
855 * time/time.h (timespec): Protect with __USE_POSIX199309 instead of
858 1998-10-24 H.J. Lu <hjl@gnu.org>
860 * libio/fileops.c (_IO_new_file_seekoff): Always resync with
861 the kernel file offset.
862 * libio/oldfileops.c (_IO_old_file_seekoff): Likewise.
864 1998-10-24 H.J. Lu <hjl@gnu.org>
866 * time/tzfile.c (__tzfile_default): Set num_types to 2.
868 1998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
870 * rt/aio.h: Move __aio_init to...
871 * include/aio.h: ...here.
873 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
875 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove duplicate
876 definition of O_LARGEFILE.
878 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
880 * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Use path
881 as first argument to statfs.
883 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
885 * sysdeps/generic/setenv.c (setenv): Add braces around ambiguous else.
887 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
889 * malloc/mtrace.c: Include <string.h> for strlen.
891 1998-10-24 Roland McGrath <roland@baalperazim.frob.com>
893 * sysdeps/mach/hurd/bits/environments.h: New file.
895 * sysdeps/mach/hurd/dl-sysdep.c (__getcwd): New weak function.
897 * mach/Versions, hurd/Versions: Add numerous symbols.
898 Remove libmachuser and libhurduser sections, punt
899 versioning for those libraries for now.
901 * misc/Versions: Add reboot here; it exists on all platforms.
902 * sysdeps/unix/sysv/linux/Versions: Remove reboot here.
904 1998-10-23 Ulrich Drepper <drepper@cygnus.com>
906 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_NOFOLLOW): New
908 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
909 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
910 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_LARGEFILE,
911 O_NOFOLLOW, O_DIRECT): New macros.
912 (O_DIRECTORY): Correct definition according to official 2.1.126.
913 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECTORY,
914 O_NOFOLLOW): New macros.
916 1998-10-24 Roland McGrath <roland@baalperazim.frob.com>
918 * include/ldsodefs.h: Test HAVE_ELF instead of __ELF__.
920 * sysdeps/mach/hurd/opendir.c (__opendir): Return ENOENT for "".
921 (__opendir): Add trailing slash to name for open, for ENOTDIR check.
923 1998-10-23 Ulrich Drepper <drepper@cygnus.com>
925 * sysdeps/unix/sysv/linux/i386/Dist: Add setresuid.c, setresgid.c,
926 setfsuid.c, and setfsgid.c.
927 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
928 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
929 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
931 * version.h (VERSION): Bump to 2.0.99.
933 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove duplicate
936 * sysdeps/unix/sysv/linux/i386/Dist: Remove s_pread64.c and
939 * posix/fnmath.h: Don't redefine __P when used in glibc.
940 * posix/glob.h: Likewise.
942 * inet/rcmd.c (__ivaliduser2): Fix memory leak.
943 Patch by Dick Streefland <dick_streefland@tasking.com>.
945 * stdio-common/tst-ungetc.c: Add more test cases.
947 * sysdeps/unix/sysv/linux/Dist: Add linux_fsinfo.h.
948 * sysdeps/unix/sysv/linux/fstatvfs.c: Move filesystem magic number
950 * sysdeps/unix/sysv/linux/linux_fsinfo.h: ...here. New file.
951 * sysdeps/unix/sysv/linux/fpathconf.c: New file.
952 * sysdeps/unix/sysv/linux/pathconf.c: New file.
953 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Handle _PC_LINK_MAX here.
954 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
956 1998-10-20 Philip Blundell <pb@nexus.co.uk>
958 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Include
959 <asm/ptrace.h> to define struct pt_regs.
960 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Don't bother
961 including <asm/ptrace.h> here.
963 * sysdeps/unix/sysv/linux/arm/sysdep.S: Remove spurious call to
966 1998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
968 * sysdeps/generic/sys/ptrace.h (__ptrace_request): Remove comma at
969 end of enumerator list.
970 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Likewise.
971 * posix/wordexp.h: Likewise.
973 * db/db.h: Use __PMT instead of __P in typedefs.
974 * db/mpool.h: Likewise.
975 * sysdeps/generic/bits/siginfo.h: Likewise.
976 * nis/rpcsvc/ypclnt.h: Likewise.
978 1998-10-23 Ulrich Drepper <drepper@cygnus.com>
980 * libio/genops.c (_IO_seekmark): When switching to backup buffer
981 make sure all characters from the read buffer are read after
982 switching back to it.
984 1998-10-22 Ulrich Drepper <drepper@cygnus.com>
986 * configure.in: Add support for Cygnus GNUPro compilers.
988 1998-10-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
990 * stdio/stdio.h: Use __PMT instead of __P in typedefs.
992 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use __PMT instead
993 of __P for sa_restorer.
994 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
995 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
996 kernel_sigaction, old_kernel_sigaction): Likewise.
998 1998-10-22 Ulrich Drepper <drepper@cygnus.com>
1000 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add __syscall_pread
1001 and __syscall_pwrite aliases.
1003 * sunrpc/rpc/auth.h (AUTH_DH): New macro. Alias for AUTH_DES.
1005 * sysdeps/unix/sysv/linux/i386/sysdep.h: Drastically simplify and
1006 improve INLINE_SYSCALL using macro assembler magic.
1008 1998-10-22 H.J. Lu <hjl@gnu.org>
1010 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Add
1012 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
1014 * sysdeps/posix/fpathconf.c (__fpathconf): Set errno to
1015 EINVAL if errno == ENODEV. Tested by VSX-PCT.
1017 * sysdeps/posix/isatty.c (__isatty): Don't reset errno. Tested
1020 * posix/execvp.c (execvp): Check "". Tested by VSX-PCT.
1022 1998-10-22 Philip Blundell <pb@nexus.co.uk>
1024 * sysdeps/unix/arm/sysdep.h: Wrap assembler macros in #ifdef
1027 1998-10-21 Ulrich Drepper <drepper@cygnus.com>
1029 * sysdeps/unix/sysv/linux/i386/sysdep.h: Remove EXTRAVARS_* macros
1032 1998-10-21 14:38 Ulrich Drepper <drepper@cygnus.com>
1034 * sysdeps/unix/sysdep.h (INLINE_SYSCALL): New macro. Simply call
1035 __syscall_* function.
1036 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use INLINE_SYSCALL instead
1037 of calling __syscall_* function.
1038 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
1039 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
1040 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1041 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1042 * sysdeps/unix/sysv/linux/getpriority.c: Likewise.
1043 * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
1044 * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
1045 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
1046 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1047 * sysdeps/unix/sysv/linux/poll.c: Likewise.
1048 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1049 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1050 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
1051 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1052 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1053 * sysdeps/unix/sysv/linux/readv.c: Likewise.
1054 * sysdeps/unix/sysv/linux/reboot.c: Likewise.
1055 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1056 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
1057 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1058 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1059 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1060 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1061 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
1062 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1063 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1064 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
1065 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
1066 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1067 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
1068 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
1069 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1070 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1071 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1072 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1073 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1074 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1075 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
1076 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1077 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1078 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1079 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
1081 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define INLINE_SYSCALL using
1083 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove various
1084 __syscall_* definitions.
1086 * sysdeps/unix/sysv/linux/syscalls.list: Move various __syscall_*
1088 * sysdeps/unix/sysv/linux/alpha/syscalls.list: ...here...
1089 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
1090 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
1091 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
1092 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
1093 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
1094 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
1096 * sysdeps/unix/sysv/linux/Makefile [subdir=signal] (sysdep_routines):
1097 Move definition to...
1098 * sysdeps/unix/sysv/linux/alpha/Makefile: ...here...
1099 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
1100 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
1101 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
1102 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
1103 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
1104 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
1106 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
1107 (sysdep_routines): Remove s_pread64 and s_pwrite64.
1109 * sysdeps/unix/sysv/linux/i386/pread.c: New file.
1110 * sysdeps/unix/sysv/linux/i386/pread64.c: New file.
1111 * sysdeps/unix/sysv/linux/i386/pwrite.c: New file.
1112 * sysdeps/unix/sysv/linux/i386/pwrite64.c: New file.
1113 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Removed.
1114 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Removed.
1116 1998-10-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1118 * sysdeps/unix/sysv/linux/siglist.h: Fix some typos in these files
1119 and bring them in synch.
1120 * sysdeps/unix/siglist.c: Likewise.
1121 Reported by Vladimir Michl <michlv@risc.upol.cz> [PR libc/832].
1123 1998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1125 * sysdeps/unix/sysv/linux/i386/setresuid.c: Allow -1 as arguments.
1126 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1128 * sysdeps/unix/sysv/linux/i386/setreuid.c: New file.
1129 * sysdeps/unix/sysv/linux/i386/setregid.c: New file.
1130 * sysdeps/unix/sysv/linux/m68k/setreuid.c: New file.
1131 * sysdeps/unix/sysv/linux/m68k/setregid.c: New file.
1132 * sysdeps/unix/sysv/linux/arm/setreuid.c: New file.
1133 * sysdeps/unix/sysv/linux/arm/setregid.c: New file.
1134 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: New file.
1135 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: New file.
1136 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_setreuid and
1138 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
1139 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1140 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1142 1998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1144 * sunrpc/rpc_main.c (close_output, close_input): New functions.
1145 (c_output, h_output, s_output, l_output, t_output, svc_output,
1146 clnt_output, mkfile_output): Call them at the end.
1148 1998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1150 * db/Makefile (LDFLAGS-db1.so): New variable, to avoid duplicating
1153 1998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1155 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Add real contents.
1156 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add s_setfs[ug]id.
1158 1998-10-20 Ulrich Drepper <drepper@cygnus.com>
1160 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_pread64 and
1162 * sysdeps/unix/sysv/linux/powerpc/pread.c: New file.
1163 * sysdeps/unix/sysv/linux/powerpc/pread64.c: New file.
1164 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: New file.
1165 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: New file.
1166 Patch by Geoffrey KEATING <geoffk@discus.anu.edu.au>.
1168 1998-10-18 Zack Weinberg <zack@rabi.phys.columbia.edu>
1170 * sysdeps/unix/opendir.c: Check at runtime for kernel support for
1173 1998-10-20 H.J. Lu <hjl@gnu.org>
1175 * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Fix
1178 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
1180 * math/tgmath.h: Make nested function calls work.
1182 * include/ldsodefs.h: Fix typo.
1184 * posix/Makefile (tests): Add tst-preadwrite.
1185 * posix/tst-preadwrite.c: New file.
1187 * sysdeps/unix/opendir.c (__opendir): Add back fstat call to make
1188 sure that descriptor is in any case for a directory.
1190 1998-10-19 18:59 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1192 * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG): Fix typo: val -> Val.
1193 (atan2): Takes two arguments.
1195 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
1197 * include/ldsodefs.h: New file.
1199 * iconv/gconv.c: Include ldsodefs.h, not elf/ldsodefs.h.
1200 Remove change to avoid using _CALL_DL_FCT.
1201 * iconv/gconv_db.c: Likewise.
1202 * iconv/gconv_dl.c: Likewise.
1203 * iconv/skeleton.c: Likewise, here for DL_CALL_FCT.
1204 * malloc/mtrace.c: Include ldsodefs.h, not elf/ldsodefs.h.
1205 * nss/nsswitch.c: Likewise.
1206 * nss/nsswitch.h: Likewise.
1208 1998-10-19 Philip Blundell <pb@nexus.co.uk>
1210 * sunrpc/Makefile (otherlibs): If static NSS is in use, set to the
1212 * login/Makefile (otherlibs): Likewise.
1213 * nscd/Makefile (otherlibs): Likewise.
1214 * Makeconfig (link-libc) [! build_shared]: Add $(otherlibs).
1216 * debug/Makefile (install-bin): Only build catchsegv if using ELF.
1218 * inet/Makefile: Add -DSTATIC_NSS to CFLAGS.
1220 1998-10-19 Philip Blundell <pb@nexus.co.uk>
1222 * sysdeps/unix/sysv/linux/arm/syscalls.list: Added setfsgid
1225 1998-10-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1227 * nscd/connections.c: Fix typos in comments and strings.
1229 * nscd/nscd.conf: Update according to recent changes to nscd.
1231 * nscd/cache.c (prune_cache): Remove wrong comment.
1233 1998-10-19 13:24 Ulrich Drepper <drepper@cygnus.com>
1235 * locale/programs/ld-collate.c (collate_startup): Clear bit for this
1236 category in copy_posix.
1237 (collate_finish): Don't warn about UNDEFINED not being defined.
1238 * locale/programs/ld-ctype.c (ctype_startup): Clear bit for this
1239 category in copy_posix.
1240 * locale/programs/ld-messages.c (messages_startup): Likewise.
1241 * locale/programs/ld-monetary.c (monetary_startup): Likewise.
1242 * locale/programs/ld-numeric.c (numeric_startup): Likewise.
1243 * locale/programs/ld-time.c (time_startup): Likewise.
1244 * locale/programs/localedef.c: Move copy_def_list_t definition into
1245 locales.h. Define copy_posix variable.
1246 (main): Before processing copy list add ©_posix to copy_list.
1247 * locale/programs/locales.h: Add definition of copy_def_list_t.
1248 * locale/programs/locfile.c: Clear bit for appropriate category in
1249 copy_posix.mask for copy instruction.
1251 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
1253 * sysdeps/unix/sysv/linux/i386/setresgid.c: Remove #include of
1254 non-existing file with generic implementation.
1255 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1257 1998-10-19 Philip Blundell <pb@nexus.co.uk>
1259 * iconv/gconv_db.c: Include ELF header only if STATIC_GCONV is not
1260 defined. Avoid using _CALL_DL_FCT if it is not defined.
1261 * iconv/gconv.c: Likewise.
1263 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
1265 * nscd/connections.c (dbs): Define defualt values for timeouts and
1266 set enabled to 0 by default.
1267 (CACHE_PRUNE_INTERVAL): New constant. Use it instead of magical 15 in
1270 * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISCNTRL bit for
1272 (_nl_C_LC_CTYPE_class32): Likewise.
1275 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
1277 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
1278 _HURD_THREADVAR_DL_ERROR.
1280 * hurd/Makefile (user-interfaces): Add login, password.
1282 * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses.
1284 1998-08-06 Mark Kettenis <kettenis@phys.uva.nl>
1286 [submitted 1998-08-06]
1287 * mach/Machrules: Create target directory and force re-evaluation
1288 of Makefile to prevent `make' from optimizing away most of the
1289 implicit rules and `vpath' directives.
1291 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
1293 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): If _hurd_msgport_thread
1294 is null, short-circuit to __mach_msg.
1296 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): New function,
1297 broken out of init1.
1298 (init1) [PIC]: Call it.
1299 (__libc_init_first) [! PIC]: Call it.
1301 * sysdeps/mach/hurd/i386/init-first.c (init1): Don't call
1302 __libc_init_secure. Instead set __libc_enable_secure here from
1304 (__libc_enable_secure): New variable it.
1305 * sysdeps/mach/hurd/enbl-secure.c: New file, empty placeholder module.
1307 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
1309 * nscd/nscd-client.h: New file, broken out of "nscd.h".
1310 * nscd/nscd.h: Move defns needed by clients to "nscd-client.h",
1312 * nscd/Makefile (distribute): Add nscd-client.h.
1313 * nscd/nscd_getgr_r.c, nscd/nscd_gethst_r.c, nscd/nscd_getpw_r.c:
1314 Include "nscd-client.h" instead of "nscd.h"
1316 1998-10-18 Ulrich Drepper <drepper@cygnus.com>
1318 * sysdeps/posix/getcwd.c (__getcwd): Don't stop processing
1319 directory entries when a lstat call fails.
1320 Patch by Colin Plumb <colin@nyx.net>.
1322 * resolv/nss_dns/dns-host.c: Add missing errnop parameter to the
1324 * resolv/nss_dns/dns-network.c: Likewise.
1326 * grp/Makefile: Don't search for linuxthreads in add-ons, use
1327 have-thread-library to determine whether threads are available.
1328 * pwd/Makefile: Remove wrong comment.
1330 * inet/Makefile: Define CFLAGS-gethstbyad_r.c, CFLAGS-gethstbynm_r.c,
1331 and CFLAGS-gethstbynm2_r.c to -DUSE_NSCD=1.
1333 * locale/C-messages.c: Define default strings for YESTR and NOSTR.
1335 * nss/Versions: Add __nss_hosts_lookup.
1337 * nss/getXXbyYY.c: Remove unneeded assignment.
1339 * nss/getXXbyYY_r.c: Include nscd/nscd_proto.h only if needed.
1341 Almost complete rewrite of the NSCD to make it smaller, faster,
1342 add more functionnality and make it easier to extend.
1343 * nscd/Makfile (routines): Add nscd_gethst_r.
1344 (nscd-modules): Add hstcache, gethstbyad_r, gethstbynm2_r, and cache.
1345 * nscd/cache.c: New file.
1346 * nscd/gethstbyad_r.c: New file.
1347 * nscd/gethstbynm2_r.c: New file.
1348 * nscd/hstcache.c: New file.
1349 * nscd/nscd_gethst_r.c: New file.
1350 * nscd/connections.c: Rewritten. Don't start new thread for every
1351 new connection. Use a fixed set of threads which handle all
1352 connections and also the cache cleanup.
1353 * nscd/grpcache.c: Rewritten to use generic cache handling functions
1355 * nscd/nscd.c: Recognize new parameter nthreads. Adjust initialization
1356 for rewrite. Remove handle_requests function.
1357 * nscd/nscd.h (NSCD_VERSION): Bump to 2.
1358 Define new data structure for the new unified cache and the host
1360 * nscd/nscd_conf.c: Rewrite parsing partly to allow adding of more
1361 databases easily. Recognize check-files and threads definitions.
1362 * nscd/nscd.conf: Add definition of enable-cache and check-files to
1363 passwd and group definitions. Add new set of definitions for hosts.
1364 * nscd/nscd_getgr_r.c: Rewrite for new protocol.
1365 * nscd/nscd_getpw_r.c: Likewise.
1366 * nscd/nscd_proto.h: Add prototype for host database functions.
1367 * nscd/nscd_stat.c: Rewrite to simplify printing of information
1369 * nscd/dbg_log.c: Remove unnecessary variable initializations.
1370 Global variable debug_flag is renamed to dbg_level.
1371 * nscd/dbg_log.h: Declare set_logfile.
1373 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
1375 * sysdeps/unix/sysv/linux/bits/fcntl.h: Add dummy definition of
1378 1998-10-16 Paul Eggert <eggert@shade.twinsun.com>
1380 * time/mktime.c: Some systems require <unistd.h> to be
1381 included before <time.h> for localtime_r to be declared
1383 * time/strftime.c: Likewise.
1385 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
1387 * db/Makefile: Add rule to generate shared object with the soname
1390 * sysdeps/unix/opendir.c: Use O_DIRECTORY if available. If not
1391 available double check to verify it's a directory.
1393 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add O_DIRECTORY.
1394 * sysdeps/unix/sysv/linux/mips/bits/fcntl: Likewise.
1395 * sysdeps/unix/sysv/linux/bits/fcntl.h: Remove O_* constants which
1396 are not generally available.
1397 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: New file.
1399 * sysdeps/unix/sysv/linux/i386/setgroups.c: Add range check for values.
1400 * sysdeps/unix/sysv/linux/arm/Makefile: New file.
1401 * sysdeps/unix/sysv/linux/arm/setegid.c: New file.
1402 * sysdeps/unix/sysv/linux/arm/seteuid.c: New file.
1403 * sysdeps/unix/sysv/linux/arm/setfsgid.c: New file.
1404 * sysdeps/unix/sysv/linux/arm/setfsuid.c: New file.
1405 * sysdeps/unix/sysv/linux/arm/setgid.c: New file.
1406 * sysdeps/unix/sysv/linux/arm/setgroups.c: New file.
1407 * sysdeps/unix/sysv/linux/arm/setresgid.c: New file.
1408 * sysdeps/unix/sysv/linux/arm/setresuid.c: New file.
1409 * sysdeps/unix/sysv/linux/arm/setuid.c: New file.
1410 * sysdeps/unix/sysv/linux/i386/setegid.c: New file.
1411 * sysdeps/unix/sysv/linux/i386/seteuid.c: New file.
1412 * sysdeps/unix/sysv/linux/i386/setfsgid.c: New file.
1413 * sysdeps/unix/sysv/linux/i386/setfsuid.c: New file.
1414 * sysdeps/unix/sysv/linux/i386/setgid.c: New file.
1415 * sysdeps/unix/sysv/linux/i386/setgroups.c: New file.
1416 * sysdeps/unix/sysv/linux/i386/setresgid.c: New file.
1417 * sysdeps/unix/sysv/linux/i386/setresuid.c: New file.
1418 * sysdeps/unix/sysv/linux/i386/setuid.c: New file.
1419 * sysdeps/unix/sysv/linux/m68k/setegid.c: New file.
1420 * sysdeps/unix/sysv/linux/m68k/seteuid.c: New file.
1421 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: New file.
1422 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: New file.
1423 * sysdeps/unix/sysv/linux/m68k/setgid.c: New file.
1424 * sysdeps/unix/sysv/linux/m68k/setgroups.c: New file.
1425 * sysdeps/unix/sysv/linux/m68k/setresgid.c: New file.
1426 * sysdeps/unix/sysv/linux/m68k/setresuid.c: New file.
1427 * sysdeps/unix/sysv/linux/m68k/setuid.c: New file.
1428 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
1429 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
1430 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: New file.
1431 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: New file.
1432 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: New file.
1433 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
1434 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file.
1435 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file.
1436 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: New file.
1438 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add s_setgid, s_setresuid,
1439 s_setresgid, and s_setuid.
1440 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1441 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
1442 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1443 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
1444 (sysdep_routines): Add setfsgid, setfsuid, setresgid, and setresuid.
1445 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1446 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
1448 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
1450 * time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get
1451 localtime_t declaration on some systems.
1453 1998-10-16 10:07 Ulrich Drepper <drepper@cygnus.com>
1455 * iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to
1457 * iconv/skeleton.c: Include ELF header only of STATIC_GCONV is not
1458 defined. Avoid using DL_CLL_FCT if it is not defined.
1460 1998-10-16 10:40 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1462 * resolv/arpa/nameser.h: Include sys/types.h unconditionally.
1463 Include endian.h unconditionally. Remove portability goop
1464 depending on #ifdef linux, #ifdef BSD, #ifdef machine-type.
1466 1998-10-16 11:39 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1468 * sunrpc/rpc/types.h: Mark file so fixincludes won't modify it.
1470 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
1472 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios
1473 again. Use char[44] to define size of the struct.
1475 * sysdeps/unix/sysv/linux/arm/Dist: Add bits/armsigctx.h.
1477 1998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1479 * string/bits/string2.h (strcmp): Don't cache the result of
1480 __builtin_constant_p in variables, otherwise constant folding
1481 can fail in big functions.
1483 1998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1485 * string/bits/string2.h: Add prototypes for the new inline
1488 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
1490 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to
1491 have all types defined.
1492 Patch by Matti Aarnio <matti.aarnio@sonera.fi>.
1494 1998-10-08 Paul Eggert <eggert@twinsun.com>
1496 * time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r.
1497 Define also if HAVE_LOCALTIME_R && defined localtime_r, with
1498 a body that merely expands localtime_r; this works around a
1499 bug in Digital Unix 4.0A and 4.0D.
1501 1998-10-14 Ulrich Drepper <drepper@cygnus.com>
1503 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl.
1504 * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define
1505 __ioctl to __syscall_ioctl and include Linux version of this file.
1506 * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
1507 * sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file. Redirect
1508 ioctl calls which handle struct termios.
1509 Based on a patch by Dan Jacobowitz <drow@false.org>.
1511 1998-10-14 Ulrich Drepper <drepper@cygnus.com>
1513 * version.h (VERSION): Bump to 2.0.98.
1515 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios
1516 here instead of including kernel_termios.h.
1518 1998-10-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1520 * sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is
1521 unnecessary after the changes of 1998-10-12.
1523 1998-10-13 Ulrich Drepper <drepper@cygnus.com>
1525 * sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output
1526 parameter format string.
1527 (inline_outw): Likewise.
1529 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include
1530 string.h to get memcpy prototype and NULL definition.
1532 1998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1534 * misc/sys/cdefs.h (__THROW): New macro.
1535 * argp/argp.h: Use it to replace the kludgey __P in inline
1536 function definitions.
1537 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1538 * stdlib/stdlib.h: Likewise.
1539 * wcsmbs/wchar.h: Likewise.
1540 * libio/stdio.h: Likewise.
1541 * stdio/stdio.h: Likewise.
1542 * sysdeps/wordsize-64/inttypes.h: Likewise.
1543 * sysdeps/wordsize-32/inttypes.h: Likewise.
1544 * string/argz.h: Likewise.
1545 * io/sys/stat.h: Likewise.
1547 1998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1549 * Rules (stdio_lim): New variable.
1550 ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend
1551 on Rules and config.make, use $(move-if-change) to avoid unnessary
1552 recompilations, and cleanup command.
1553 (common-generated): Add bits/stdio_lim.st.
1555 1998-10-12 Ulrich Drepper <drepper@cygnus.com>
1557 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): New
1558 variable to prevent warnings from use of modern CPU instructions.
1559 Patch by Richard Henderson <rth@cygnus.com>.
1561 * sysdeps/unix/opendir.c: Test whether NAME is directory before
1564 1998-10-12 Philip Blundell <pb@nexus.co.uk>
1566 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Add missing
1567 semicolon so that profiling works.
1569 1998-10-12 Roland McGrath <roland@baalperazim.frob.com>
1571 * sysdeps/generic/glob.c: #undef mempcpy before #define.
1573 * sysdeps/unix/bsd/clock.c: Use prototype defns.
1575 1998-10-11 Ulrich Drepper <drepper@cygnus.com>
1577 * Rules [posix in sysdirs]: Set L_tmpnam to 20.
1578 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
1580 * string/bits/string2.h [!_STRING_ARCH_unaligned]
1581 (__mempcpy_small): Add parameter for 1 byte copy and use it.
1582 Reported by Geoff Keating <geoffk@ozemail.com.au>.
1584 1998-10-09 Mark Kettenis <kettenis@phys.uva.nl>
1586 * sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove,
1587 it is already defined in <bits/environments.h>.
1589 1998-10-09 Ulrich Drepper <drepper@cygnus.com>
1591 * posix/ptestcases.h: Fix typo.
1593 1998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1595 * posix/regex.c (regcomp): Allocate and prepare a fastmap.
1596 (regexec): Allocate regs.start and regs.end as one block.
1598 1998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1600 * sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of
1603 1998-10-08 Philip Blundell <pb@nexus.co.uk>
1605 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of
1606 sigcontext union to ...
1607 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here. New
1609 * sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for
1610 version 2.0 kernels.
1612 1998-10-08 Ulrich Drepper <drepper@cygnus.com>
1614 * malloc/mtrace.c (tr_reallochook): Produce better output for real
1617 * signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined.
1618 * argp/argp-xinl.c: Likewise.
1620 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing
1622 Patch by Christian Gafton.
1624 1998-10-08 Paul Eggert <eggert@twinsun.com>
1626 * time/mktime.c (__mktime_internal): When the requested time falls
1627 in a spring-forward gap of size DT, return a time that is DT away
1628 from the requested time, preferring a time whose tm_isdst differs
1629 from the requested value. Bump the max number of probes from 4 to
1630 6 to account for the extra probes needed to discover a
1631 spring-forward gap in the worst case.
1633 1998-10-07 17:05 Ulrich Drepper <drepper@cygnus.com>
1635 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection
1636 of the weird alpha architectures.
1637 Patch by Cristian Gafton <gafton@redhat.com>.
1639 1998-02-18 23:31 Richard Henderson <rth@cygnus.com>
1641 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
1642 RAWHIDE and TSUNAMI. Patch from Jay.Estabrook@digital.com.
1644 1998-10-07 Ulrich Drepper <drepper@cygnus.com>
1646 * elf/dl-open.c (_dl_global_scope_alloc): Make global.
1647 (dl_open_worker): Use realloc, not malloc to resize array.
1648 * elf/rtld.c (_dl_initial_searchlist): New variable.
1649 (_dl_main): Copy content of _dl_main_searchlist to
1650 _dl_initial_searchlist.
1651 * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and
1652 _dl_global_scope_alloc.
1653 * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist.
1654 * elf/dl-close.c (_dl_close): When removing object with global
1655 scope remove allocated searchlist if no dynamically loaded object
1657 * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope.
1658 (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist.
1660 * malloc/mtrace.c (tr_where): Don't print space in location string,
1661 print it afterwards. Print better symbol name information.
1663 1998-10-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1665 * manual/filesys.texi (Setting Permissions): Fix example for
1668 1998-10-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1670 * elf/sprof.c (load_profdata): Fix typo in error message.
1672 1998-10-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1674 * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
1677 1998-10-04 Roland McGrath <roland@baalperazim.frob.com>
1679 * mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it.
1681 1998-10-06 Ulrich Drepper <drepper@cygnus.com>
1683 * version.h (VERSION): Bump to 2.0.97.
1685 1998-10-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1687 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P
1688 in definitions of inline stat functions so that they match the
1690 * stdlib/stdlib.h: Likewise.
1691 * wcsmbs/wchar.h: Likewise.
1692 * libio/stdio.h: Likewise.
1693 * stdio/stdio.h: Likewise.
1694 * sysdeps/wordsize-64/inttypes.h: Likewise.
1695 * sysdeps/wordsize-32/inttypes.h: Likewise.
1696 * string/argz.h: Likewise.
1697 * argp/argp.h: Likewise.
1699 1998-10-06 Ulrich Drepper <drepper@cygnus.com>
1701 * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
1704 1998-10-05 Philip Blundell <philb@gnu.org>
1706 * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures
1707 and constants. Tidy up formatting a little.
1709 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6):
1710 Move definitions to in.h.
1712 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1714 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER,
1715 SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added.
1716 Remove inclusion of <linux/swap.h>.
1718 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
1720 * io/sys/stat.h: Use __P in definitions of inline stat functions
1721 so that they match the declaration.
1723 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1725 * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added.
1727 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1729 * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current
1732 1998-10-02 Philip Blundell <pb@nexus.co.uk>
1734 * sysdeps/arm/dl-machine.h: Fix typo in last change.
1736 * sysdeps/arm/bits/huge_val.h: New file.
1738 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1740 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added.
1742 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add
1745 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
1747 * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to
1748 store result of realloc instead of using BUF.
1750 1998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1752 * misc/sgtty.h (_SGTTY_H): Correct spelling.
1753 Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817].
1755 1998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1757 * manual/memory.texi (Obstacks): Document
1758 obstack_alloc_failed_handler usage.
1760 * malloc/obstack.h: Enhance comment about
1761 obstack_alloc_failed_handler usage.
1762 * malloc/obstack.c: Likewise.
1764 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
1766 * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or
1767 gcc before 2.8 is used.
1769 1998-10-01 Philip Blundell <pb@nexus.co.uk>
1771 * sysdeps/arm/machine-gmon.h: Correct args to mcount(). Patch
1772 from Scott Bambrough.
1774 * sysdeps/unix/sysv/linux/arm/register-dump.h: New file.
1776 * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
1777 include the lock member.
1779 1998-09-03 Philip Blundell <pb@nexus.co.uk>
1781 * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.
1783 1998-10-01 Ulrich Drepper <drepper@cygnus.com>
1785 * timezone/zic.c: Update from tzcode1998h.
1786 * timezone/europe: Update from tzdata1998i.
1787 * timezone/southamerica: Likewise.
1789 * sys/types.h: Protect use of long long by __extension__.
1790 * stdlib/stdlib.h: Likewise.
1791 * string/string.h: Likewise.
1792 * sysdeps/i386/bits/byteswap.h: Likewise.
1793 * sysdeps/geeric/bits/byteswap.h: Likewise.
1794 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
1795 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1796 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1797 * sysdeps/wordsize-32/inttypes.h: Likewise.
1798 * sysdeps/wordsize-32/stdint.h: Likewise.
1799 * wcsmbs/wchar.h: Likewise.
1801 1998-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1803 * string/bits/string2.h (__string2_1bptr_p): Don't use a statement
1805 (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
1806 __strsep): Greatly reduce size of expansion by combining common
1808 (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
1810 (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
1811 by the above definitions.
1813 1998-09-27 Geoff Keating <geoffk@ozemail.com.au>
1815 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
1816 correct struct ipc_perm definition.
1818 1998-09-29 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1820 * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.
1822 1998-09-29 Cristian Gafton <gafton@redhat.com>
1824 * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
1825 * sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
1826 * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
1827 * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
1828 Add net/if_shaper.h.
1830 1998-09-29 Ulrich Drepper <drepper@cygnus.com>
1832 * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.
1834 * nis/ypclnt.c: Remove not needed close calls.
1836 1998-09-28 23:55 Ulrich Drepper <drepper@cygnus.com>
1838 * nis/ypclnt.c (__yp_bind): Pretty print. Optimize readv result
1839 check a bit. Also close socket of domain client. Close socket
1840 in IPPORT_RESERVED error case.
1842 1998-09-28 Ulrich Drepper <drepper@cygnus.com>
1844 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
1845 CMSG_ALIGN (fixes a bug) and correct test for availability of
1847 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
1849 (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
1850 availability of another entry.
1853 * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
1856 * libio/libio.h [!__STDC__]: Define const only if not defined.
1858 1998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1860 * posix/annexc.c (xsystem): New function. Use it instead of
1863 1998-09-28 Ulrich Drepper <drepper@cygnus.com>
1865 * stdlib/longlong.h: Remove #endif for #if removed in last change.
1867 1998-09-25 Ulrich Drepper <drepper@cygnus.com>
1869 * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
1870 Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
1871 allow using `ut' parameter.
1872 [!emacs]: Define ut_argument, ut_argument_spec, and
1873 ut_argument_spec_iso as empty. Define ut to 0. Add ut_argument and
1874 argument_spec to prototypes and definitions.
1875 (my_strftime): Don't call tzset of ut != 0.
1876 Compute diff as 0 is ut != 0;
1877 [emacs]: Define new emacs_strftime function.
1878 Based on a patch by Paul Eggert.
1880 1998-09-24 Paul Eggert <eggert@twinsun.com>
1882 * time/strftime.c (my_strftime): When asking for the length of the
1883 subformatted buffer, do not limit the length to look for;
1884 otherwise, we have no reliable way to distinguish between the
1885 empty buffer and an error.
1887 1998-09-25 Ulrich Drepper <drepper@cygnus.com>
1889 * math/Makefile (gmp-objs): Add mp_clz_tab.
1891 1998-09-25 David S. Miller <davem@pierdol.cobaltmicro.com>
1893 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
1895 * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
1896 cpus lacking hardware multiply and divide.
1898 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1900 * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
1903 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1905 * db/btree/bt_delete.c: Fix -Wparentheses warning.
1907 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1909 * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
1912 1998-09-24 Ulrich Drepper <drepper@cygnus.com>
1914 * debug/catchsegv.sh: Also produce output if clone process died.
1916 1998-09-24 Paul Eggert <eggert@twinsun.com>
1918 * time/strftime.c (f_wkday): Remove duplicate definition.
1919 (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
1920 !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
1921 1998-09-11 fix to this case.
1922 (wkday_len, month_len): Remove these macros; they're no longer needed.
1924 1998-09-24 Paul Eggert <eggert@twinsun.com>
1926 * time/strftime.c (my_strftime): Don't store past the end of a
1929 1998-09-24 Paul Eggert <eggert@twinsun.com>
1931 * time/strftime.c (underlying_strftime):
1932 Set the buffer to a nonzero value before calling
1933 strftime, and check to see whether strftime has set the buffer to zero.
1934 This lets us distinguish between an empty buffer and an error.
1936 1998-09-24 Paul Eggert <eggert@shade.twinsun.com>
1938 * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
1939 This fix is propagated from tzcode1998g.tar.gz.
1941 1998-09-24 Mark Kettenis <kettenis@phys.uva.nl>
1943 * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
1944 _sys_siglist. [!HAVE_GNU_LD]: Do not define _sys_siglist as
1945 sys_siglist. This is handled correctly by the weak_alias macro.
1947 1998-09-24 Ulrich Drepper <drepper@cygnus.com>
1949 * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
1950 of mempcpy. Reported by Andreas Jaeger.
1952 * misc/regexp.h (compile): Use alloca instead of __alloca. It won't
1953 pollute the namespace since the compiler will resolve it inline.
1954 Reported by Florian La Roche <florian@suse.de>.
1956 1998-09-24 10:29 Ulrich Drepper <drepper@cygnus.com>
1958 * timezone/private.h: Update from tzcode1998g.
1960 * timezone/africa: Update from tzdata1998h.
1961 * timezone/asia: Likewise.
1962 * timezone/australasia: Likewise.
1963 * timezone/europe: Likewise.
1964 * timezone/northamerica: Likewise.
1965 * timezone/southamerica: Likewise.
1966 * timezone/zone.tab: Likewise.
1968 1998-09-23 17:28 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1970 * misc/sys/mman.h: New file.
1972 * sysdeps/generic/bits/mman.h: New file.
1973 * sysdeps/unix/bsd/osf/bits/mman.h: New file.
1974 * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
1975 * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
1976 * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
1978 * sysdeps/generic/sys/mman.h: Removed.
1979 * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
1980 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
1981 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
1982 * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
1983 * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
1985 * include/sys/mman.h: Look directly for misc/sys/mman.h.
1986 * misc/Makefile (headers): Add bits/mman.h.
1987 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
1990 * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
1991 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
1992 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
1993 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
1994 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
1995 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
1996 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
1997 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
1999 1998-09-23 16:27 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2001 * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
2002 * sysdeps/mach/alpha/thread_state.h: Likewise.
2003 * sysdeps/mach/i386/sysdep.h: Likewise.
2004 * sysdeps/mach/i386/thread_state.h: Likewise.
2005 * sysdeps/mach/mips/sysdep.h: Likewise.
2006 * sysdeps/mach/mips/thread_state.h: Likewise.
2007 * sysdeps/posix/profil.c: Likewise.
2008 * sysdeps/i386/i586/memcopy.h: Likewise.
2009 * sysdeps/mach/pagecopy.h: Likewise.
2011 1998-09-23 15:25 Ulrich Drepper <drepper@cygnus.com>
2013 * libio/stdio.h: Define __need_getopt and include getopt.h to define
2015 * posix/unistd.h: Likewise.
2016 * stdio/stdio.h: Likewise.
2017 * posix/getopt.h: Remove _GNU_SOURCE use. If __need_getopt is defined
2018 define only getopt and the variables.
2020 1998-09-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2022 * scripts/test-installation.pl (installation_problem): Don't link
2023 the test program against libdb1.
2025 1998-09-23 13:52 Ulrich Drepper <drepper@cygnus.com>
2027 * Makeconfig (all-subdirs): Add db.
2028 * Versions.def: Add definition for libdb1.
2029 * shlib-versions: Add definitions for libdb1.
2030 * db/Makefile (extra-libs): Replace by libdb1.
2031 (libdb-routines): Rename to libdb1-routines.
2032 (headers): Rename to db1-headers.
2033 (distribute): Add $(db1-headers).
2034 (install-others): Define to install symlink libdb.so.NN and the
2036 (CPPFLAGS): Add -DUSE_LIBDB1
2037 Remove rules to build makedb.
2038 * db/Versions: Rename libdb to libdb1.
2039 * include/db.h: If USE_LIBDB1 is defined include db/db.h.
2040 * db/makedb.c: Removed.
2042 * scripts/versions.awk: Recognize digits in library names.
2044 * db/btree/bt_open.c: Fix compiler warnings.
2045 * db/btree/bt_put.c: Likewise.
2046 * db/btree/bt_split.c: Likewise.
2047 * db/hash/hash.c: Likewise.
2048 * db/hash/hash_bigkey.c: Likewise.
2049 * db/recno/rec_close.c: Likewise.
2051 * Makefile: Add localedata/% goal.
2053 1998-09-22 19:58 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2055 * posix/execvp.c: Don't give up searching the PATH if execve
2058 1998-09-22 12:53 Ulrich Drepper <drepper@cygnus.com>
2060 * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
2061 if _dl_fpu_control_set is set.
2062 * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
2063 * elf/rtld.c: Don't define _dl_fpu_control_set.
2064 * elf/Versions: Remove _dl_fpu_control_set.
2066 1998-09-22 11:51 Ulrich Drepper <drepper@cygnus.com>
2068 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
2069 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
2070 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
2071 Correct values of other SA_* macros according to kernel headers.
2073 1998-09-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2075 * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
2077 * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
2080 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2082 * elf/ldsodefs.h: Fix typo in comment.
2084 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2086 * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
2087 char when comparing buffer contents with putback character.
2089 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2091 * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
2093 * elf/Versions: Undo last change. Export _dl_fpu_control and
2094 _dl_fpu_control_set.
2095 * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
2096 variables. Include <fpu_control.h>.
2097 * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
2098 _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
2099 to indicate that is was seen.
2100 * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
2101 only if _dl_fpu_control was set and is equal to desired value.
2102 * math/Makefile (aux): Undo last change.
2103 * math/Versions: Export __fpu_control with version GLIBC_2.0.
2105 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2107 * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
2110 1998-09-21 10:00 Ulrich Drepper <drepper@cygnus.com>
2112 * string/bits/string2.h: Add mempcpy optimization.
2113 * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
2114 * intl/localealias.c: Define mempcpy only if not already defined.
2116 * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
2119 1998-09-20 10:48 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2121 * csu/abi-note.S: Emit the note directly instead of defining
2122 a preprocessor macro that's only used once. Don't include sysdep.h.
2123 * abi-tags: Generalize Solaris entry.
2125 1998-09-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2127 * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
2128 Change to array to avoid runtime relocation.
2129 * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
2131 1998-09-21 12:22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2133 * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
2134 * math/Makefile ($(objpfx)libieee.a): Likewise.
2136 1998-09-21 Ulrich Drepper <drepper@cygnus.com>
2138 * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
2139 Patch by John Tobey <jtobey@banta-im.com>.
2141 1998-09-20 Ulrich Drepper <drepper@cygnus.com>
2143 * login/Makefile (distribute): Remove pty-internal.h, add
2146 * stdlib/tst-strtol.c: Add more checks.
2147 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
2149 1998-09-20 09:37 Ulrich Drepper <drepper@cygnus.com>
2151 * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
2152 * elf/elf.h: Add AT_FPUCW.
2153 * elf/Makefile (dl-routines): Add fpu_control.
2154 (elide-routines.os): Add fpu_control.
2155 (rtld-routines): Add fpu_control.
2156 * math/Makefile (aux): Remove fpu_control.
2157 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
2158 (_dl_show_auxv): Likewise.
2159 * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
2160 if different from OS default.
2162 * stdio-common/tstscanf.c: Add test case for (nil).
2164 1998-09-18 17:41 Ulrich Drepper <drepper@cygnus.com>
2166 * libio/fileops.c (_IO_new_file_underflow): Before allocating
2167 buffer make sure the pushback buffer is destroyed.
2168 (_IO_new_file_seekoff): Likewise.
2169 If mode==0 quit early with the result.
2170 Clear OEF flag after successful fseek.
2171 * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
2172 * libio/ftello.c (ftello): Add offset from original buffer if
2173 stream has pushed back characters.
2174 * libio/ftello64.c (ftello64): Likewise.
2175 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
2176 * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
2177 * libio/ioftell.c (_IO_ftell): Likewise.
2178 * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
2180 (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
2181 (_IO_default_pbackfail): Only stored push back character in original
2182 buffer if it is the same as the one in the file at this position.
2183 * libio/iofclose.c: Free backup buffer if one is available.
2184 * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
2187 * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
2189 * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
2191 * stdio-common/vfscanf.c: Fix reading (nil) for %p.
2193 1998-09-18 Mark Kettenis <kettenis@phys.uva.nl>
2195 * login/programs/pt_chown.c (more_help): Correct message that
2196 describes the purpose of the program.
2198 * login/openpty.c: Do not include pty-private.h.
2199 (pts_name): New function. Return name of slave pseudo terminal in
2200 an allocated buffer if necessary.
2201 (openpty): Use pts_name to get name of the slave end of the pseudo
2204 * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
2205 pts_name before return.
2207 1998-09-18 11:15 Ulrich Drepper <drepper@cygnus.com>
2209 * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
2211 1998-09-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2213 * login/openpty.c: Include pty-private.h instead of
2216 1998-09-09 Philip Blundell <pb@nexus.co.uk>
2218 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
2220 1998-09-07 Philip Blundell <pb@nexus.co.uk>
2222 * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
2223 recent ld.so changes.
2224 (elf_machine_runtime_setup): Correct behaviour when profiling.
2226 1998-09-17 19:34 Ulrich Drepper <drepper@cygnus.com>
2228 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
2229 Patch by John Tobey <jtobey@banta-im.com>.
2231 1998-09-17 Mark Kettenis <kettenis@phys.uva.nl>
2233 * login/pty-internal.h: Removed. Moved constants related to the
2234 `grantpt' helper program protocol to ...
2235 * login/pty-private.h: ... here. New file.
2236 * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
2237 to make the function work with kernels >= 2.1.115.
2238 * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
2239 version if using the cloning device fails.
2240 * sysdeps/unix/sysv/linux/grantpt.c: New file.
2241 * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
2242 * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
2243 use by Linux specific code.
2244 * sysdeps/unix/bsd/unlockpt.c: General cleanup.
2245 * sysdeps/unix/grantpt.c: Largely rewritten. (pts_name): New
2246 function. (grantpt): Use pts_name, check group and permission
2247 mode in addition to owner. Try to set the owner, group and
2248 permission mode first without invoking the helper program.
2249 * login/programs/pt_chown.c: Largely rewritten. Add argp and
2250 internationalization support. Use symbolic constants instead of
2251 hardwired numbers for permission mode.
2252 * sysdeps/unix/bsd/ptsname.c: New file.
2254 1998-09-17 22:04 Tim Waugh <tim@cyberelk.demon.co.uk>
2256 * posix/wordexp-test.c: Undo last change.
2258 * posix/wordexp.c: Undo last change.
2260 1998-09-16 Ulrich Drepper <drepper@cygnus.com>
2262 * nscd/grpcache.c (save_grp): Partly undo last change.
2264 * nscd/pwdcache.c (save_pwd): Undo last change.
2266 1998-09-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2268 * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
2269 function. Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
2271 1998-09-15 David S. Miller <davem@pierdol.cobaltmicro.com>
2273 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
2274 Add profiling support.
2275 (TRAMPOLINE_TEMPLATE): New macro.
2276 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
2277 (RTLD_START): Prettify, and set __libc_stack_end properly.
2278 (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
2279 and check for sym being NULL instead.
2280 * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
2282 * sysdeps/sparc/sparc64/lshift.S: Likewise.
2283 * sysdeps/sparc/sparc64/mul_1.S: Likewise.
2284 * sysdeps/sparc/sparc64/rshift.S: Likewise.
2285 * sysdeps/sparc/sparc64/submul_1.S: Likewise.
2286 * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
2287 MEDANY code model %g4 usage.
2288 * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
2289 MEDANY code model %g4 usage.
2290 * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
2291 code model address formation.
2292 * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
2293 include elf/ldsodefs.h
2295 (elf_machine_matches_host): It is now EM_SPARCV9.
2296 (elf_machine_dynamic): Clean up to remove ugly cast.
2297 (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
2299 (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
2300 Prettify rest of function.
2301 [R_SPARC_COPY]: Check for sym being NULL.
2302 [R_SPARC_32]: Handle it.
2303 [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
2305 [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
2307 [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
2308 (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
2309 Add profiling support.
2310 (TRAMPOLINE_TEMPLATE): New macro.
2311 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
2312 (RTLD_START): Prettify and set __libc_stack_end.
2313 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
2315 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
2316 (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
2317 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
2318 unused variable scratch.
2319 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2320 (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
2322 (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
2323 stub to rt_sigaction syscalls. Rewrite non-rt case to use correct
2324 old format kernel sigaction structures.
2325 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
2326 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
2327 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
2328 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
2330 (_JMPBUF_UNWINDS): Define.
2331 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
2332 statfs64 structure, which is exactly the same as the normal one.
2333 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
2334 of stack. Use correct syscall trap number. Add branch prediction
2335 settings to branch instructions. Remove old MEDANY code model %g4
2336 referneces for non-PIC.
2337 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
2338 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
2339 * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
2340 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
2341 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2342 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
2343 __libc_longjmp and __libc_siglongjmp strong aliases.
2344 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
2345 Also define to __no__readdir64_decl around readdir.c inclusion.
2346 (__readdir64): Add strong alias.
2347 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
2348 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
2349 Set strong and weak names properly.
2351 1998-09-16 11:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2353 * manual/Makefile (AWK): Default to gawk if standalone.
2355 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2357 * Makefile (distribute): Undo last change.
2358 * Make-dist (+tsrc) [not subdir]: Also include indirection headers
2360 (+subdir-headers): Removed, unused.
2362 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2364 * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
2367 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2369 * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
2370 absolute name in $(config-sysdirs), can never happen.
2371 ($(+sysdir_pfx)sysd-rules): Likewise.
2372 * Makeconfig (full-config-sysdirs): Likewise.
2373 (all-Subdirs-files): Prepend $(..).
2375 * configure.in: Don't check for absolute name in $add_ons_pfx, can
2376 not happen. Let --enable-add-ons=yes work if no add-ons actually
2379 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2381 * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
2382 continuations in command.
2384 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2386 * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
2388 1998-09-16 00:47 Tim Waugh <tim@cyberelk.demon.co.uk>
2390 * posix/wordexp-test.c: If expansion or substitution occurs
2391 anywhere in a word, the entire word is subject to field-splitting.
2393 * posix/wordexp.c (parse_glob): Look for end of word instead of
2394 end of field when deciding what to glob.
2395 (field_split_word): New function, now the only place where
2396 field-splitting is performed.
2397 (parse_dollars): New parameter - tell the caller if
2398 field-splitting should be performed on this word.
2400 * posix/wordexp-test.c (testit): Only call wordfree if wordexp
2401 succeeded (or failed with WRDE_NOSPACE).
2403 1998-09-15 19:53 1998 Tim Waugh <tim@cyberelk.demon.co.uk>
2405 * posix/wordexp.c (wordexp): Don't convert IFS characters to
2408 * posix/wordexp-test.c: Words not the result of expansion or
2409 substitution should remain unchanged.
2411 1998-09-15 Ulrich Drepper <drepper@cygnus.com>
2413 * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
2414 (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
2416 1998-09-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2418 * stdio-common/Makefile: Include Makeconfig so that
2419 $(inst_includedir) is defined.
2421 1998-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2423 * io/pwd.c: Include <mcheck.h>.
2425 1998-09-15 08:00 Ulrich Drepper <drepper@cygnus.com>
2427 * nscd/pwdcache.c (save_pwd): Correct copying.
2428 * nscd/grpcache.c (save_grp): Likewise.
2430 1998-09-14 23:36 Ulrich Drepper <drepper@cygnus.com>
2432 * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
2433 (free_pwd): Adjust for this change.
2434 * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
2435 (free_grp): Adjust for this change.
2437 1998-09-14 Ulrich Drepper <drepper@cygnus.com>
2439 * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
2441 1998-09-14 15:29 Ulrich Drepper <drepper@cygnus.com>
2443 * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
2444 (install-others): Add bits/stdio_lim.h.
2445 Add rule to install bits/stdio_lim.h.
2447 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
2449 * Makefile (distribute): Add include/sys/mman.h.
2451 * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
2452 * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
2453 * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
2455 * grp/initgroups.c: Include stdlib.h.
2456 Patch by Zack Weinberg.
2458 1998-09-14 22:46 Tim Waugh <tim@cyberelk.demon.co.uk>
2460 * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
2461 for field-splitting :abc: is correct, and that two fields should
2462 result. Revert tests to reflect this.
2464 * posix/wordexp.c (w_emptyword): Remove function.
2465 (exec_comm): Don't use w_emptyword.
2466 (parse_param): Likewise.
2468 1998-09-14 15:00 Ulrich Drepper <drepper@cygnus.com>
2470 * sysdeps/arm/fpu/Dist: Moved to...
2471 * sysdeps/arm/Dist: ...here.
2472 * sysdeps/posix/Dist: Removed.
2473 * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
2474 * sysdeps/unix/sysv/linux/i386/Dist: ...here.
2476 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
2478 * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
2480 1998-09-14 11:26 Ulrich Drepper <drepper@cygnus.com>
2482 * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
2484 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2486 * libc-work/nis/nss_nisplus/nisplus-service.c
2487 (_nss_nisplus_parse_servent): Convert port in network byte order.
2489 1998-09-14 07:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2491 * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
2492 to provide only malloc and calloc.
2493 * include/stdlib.h: Support the above.
2494 * string/bits/string2.h: Use __need_malloc_and_calloc when
2496 (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
2498 * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
2499 * iconvdata/iso646.c: Include <stdlib.h>.
2501 1998-09-14 07:51 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2503 * sunrpc/rpc_cout.c: Add braces around ambiguous else.
2504 * sysdeps/libm-ieee754/w_pow.c: Likewise.
2505 * sysdeps/libm-ieee754/w_powf.c: Likewise.
2506 * sysdeps/libm-ieee754/w_powl.c: Likewise.
2508 1998-09-14 07:57 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2510 * stdio-common/stdio_lim.h.in: New file. All parameters
2511 are adjustable at build time.
2512 * Rules: Add a rule to build bits/stdio_lim.h from
2513 stdio-common/stdio_lim.h.in. (It has to be in Rules so that
2514 all subdirectories know how to make the file. It can't be
2515 in Makerules because then it gets built at top level and the
2516 dependencies are wrong.)
2518 * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
2519 * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
2521 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
2522 * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
2523 * sysdeps/posix/Makefile: Removed.
2524 * sysdeps/posix/mk-stdiolim.c: Removed.
2525 * sysdeps/generic/bits/stdio_lim.h: Removed.
2527 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2529 * argp/argp-help.c: Fixup indentation.
2530 * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
2531 * resolv/nss_dns/dns-network.c: Likewise.
2532 * resolv/res_send.c: Likewise.
2533 * rt/aio_cancel.c: Likewise.
2534 * rt/aio_misc.c: Likewise.
2536 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2538 * Makefile (install-symbolic-link): Remove the link list file at last.
2539 * Makerules (install-clean-symbolic-link-list): Removed.
2541 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2543 * timezone/tst-timezone.c: Print time in UTC to get consistent
2546 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2548 * elf/rtld.c (_dl_rpath): Removed.
2549 * elf/dl-support.c (_dl_path): Removed.
2550 * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
2551 (CFLAGS-dl-support.c): Removed.
2553 * elf/dl-load.c (env_path_list): Renamed from fake_path_list. All
2555 (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
2556 instead of appending it to the main map's rpath info.
2557 (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
2558 DT_RPATHs. This makes it effective again.
2559 (decompose_rpath): Remove second parameter, callers changed.
2560 (fillin_rpath): Allocate enough space in curwd.
2561 (expand_dynamic_string_token): Cope with get_origin returning -1.
2563 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2565 * libc-work/nis/nss_compat/compat-pwd.c: Add support for
2568 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
2571 1998-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
2573 * locale/programs/locale.c: Update dates.
2575 1998-09-13 Mark Kettenis <kettenis@phys.uva.nl>
2577 * sysdeps/generic/bits/types.h: Include <features.h>. Make sure
2578 size_t is defined. Some reordering of definitions to make
2579 maintaining this file in parallel with the linux-specific file easier.
2581 1998-09-13 Ulrich Drepper <drepper@cygnus.com>
2583 * io/pwd.c (main): Add call to mtrace.
2585 * malloc/mtrace.pl: Quote @ in string.
2587 1998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk>
2589 * posix/wordexp.c (parse_arith): Fix memory leaks.
2590 (exec_comm): Likewise.
2591 (parse_param): Likewise.
2592 (wordexp): Likewise.
2593 (exec_comm): Reduce number of function return points.
2594 (parse_param): Likewise.
2595 (wordexp): Likewise.
2597 1998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk>
2599 * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
2600 yield three fields, not two. Test both parameter expansion and
2601 command substitution for correct field-splitting behaviour.
2603 * posix/wordexp.c (w_emptyword): New function.
2604 (parse_param): Use it.
2605 (exec_comm): Likewise, for consistency with the way parse_param
2607 (parse_param): Fix some memory leaks.
2609 1998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au>
2611 * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
2612 Don't mark asm `volatile'.
2613 (__elf_machine_runtime_setup): Clear the last partial block in the PLT
2614 from the data cache too. Assume it isn't in the instruction cache yet.
2615 (__elf_machine_fixup_plt): Clear the modified address from the caches.
2617 1998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
2619 * sysdeps/generic/segfault.c (install_handler): Install signal
2620 handler with SA_ONSTACK instead of setting the stack flags to
2621 SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
2624 1998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2626 * signal/signal.h: Fix multiple inclusion guard to cover the
2628 * wcsmbs/wchar.h: Remove prototype of internal function
2630 * sysdeps/i386/i486/bits/string.h (memchr): Don't do
2631 arithmetic on `void *'.
2633 1998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
2635 * posix/wordexp-test.c: Fix wrong tests. Add new tests.
2637 * posix/wordexp.c (wordexp): Perform word-splitting instead of
2638 field-splitting here.
2639 (wordexp): If out of memory mid-word, free the word (but still
2640 leave pwordexp alone for caller to see).
2641 (parse_param): Allow for zero-length fields (smarter checking of
2642 memory allocation failure).
2643 (w_addword): Convert NULL words to "".
2644 (wordexp): Convert left-over IFS characters to blanks (like bash).
2646 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
2648 * configure.in: Use test -f instead of test -e.
2649 Patch by John Tobey <jtobey@banta-im.com>.
2651 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
2652 * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
2653 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
2654 * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
2655 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
2656 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
2657 * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
2658 Patches by John Tobey <jtobey@banta-im.com>.
2660 * time/strftime.c (my_strftime): Delay use of *tp values until
2661 latest possible point to allow partly initialized structures
2662 (e.g., from strptime).
2664 * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
2666 Define *-routines variables for new modules.
2667 (distribute): Add .c files for new modules.
2668 (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
2670 Add rules for header generation.
2671 * iconvdata/gconv-modules: Add entries for new modules.
2672 * iconvdata/iso_10367-box.c: New file.
2673 * iconvdata/mac-is.c: New file.
2674 * iconvdata/nats-dano.c: New file.
2675 * iconvdata/nats-sefi.c: New file.
2677 1998-04-30 18:20 H.J. Lu <hjl@gnu.org>
2679 * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
2680 loader if PIC is not defined.
2682 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
2684 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
2685 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
2686 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
2688 Define *-routines variables for new modules.
2689 (distribute): Add .c files for new modules.
2690 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
2691 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
2692 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
2693 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
2694 Add rules for header generation.
2695 * iconvdata/gconv-modules: Add entries for new modules.
2696 * iconvdata/csn_369103.c: New file.
2697 * iconvdata/cwi.c: New file.
2698 * iconvdata/dec-mcs.c: New file.
2699 * iconvdata/ecma-cyrillic.c: New file.
2700 * iconvdata/gost_19768-74.c: New file.
2701 * iconvdata/greek-ccitt.c: New file.
2702 * iconvdata/greek7-old.c: New file.
2703 * iconvdata/greek7.c: New file.
2704 * iconvdata/inis-8.c: New file.
2705 * iconvdata/inis-cyrillic.c: New file.
2706 * iconvdata/inis.c: New file.
2707 * iconvdata/iso6937-2.c: New file.
2708 * iconvdata/iso_2033.c: New file.
2709 * iconvdata/iso_5427-ext.c: New file.
2710 * iconvdata/iso_5427.c: New file.
2711 * iconvdata/iso_5428.c: New file.
2713 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
2715 Convert U02dd correctly.
2717 1998-09-11 20:46 Richard Henderson <rth@cygnus.com>
2719 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
2720 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
2721 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
2722 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
2724 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
2726 * resolv/res_init.c (res_init): Handle resolv.conf file with only
2727 one nameserver correctly. Patch by HJ Lu.
2729 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
2731 Define *-routines variables for new modules.
2732 (distribute): Add .c files for new modules.
2733 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
2734 Add rules for hedaer generation.
2735 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
2736 * iconvdata/ansi_x3.110.c: New file.
2737 * iconvdata/asmo_449.c: New file.
2738 * iconvdata/baltic.c: New file.
2739 * iconvdata/iec_p27-1.c: New file.
2741 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
2743 Convert U02dc correctly.
2745 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
2746 * math/atest-exp2.c: Likewise.
2747 * math/atest-sincos.c: Likewise.
2749 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
2752 1998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2754 * string/strcoll.c: Optimize a few expressions.
2755 * string/strxfrm.c: Likewise.
2757 1998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2759 * manual/locale.texi: Fix typos.
2761 1998-09-10 Ulrich Drepper <drepper@cygnus.com>
2763 * stdlib/random_r.c (__setstate_r): Allow call with same state
2764 array as currently used (PR libc/774).
2766 * include/limits.h: Include gcc's header even if this file is
2767 found more than once before it (PR libc/778)
2769 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
2770 (sysdep_headers): Remove sys/debugreg.h.
2771 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
2772 (sysdep_headers): Add sys/debugreg.h.
2773 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
2774 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
2776 * stdio-common/tmpnam.c: Move local static variable buf to
2777 toplevel and rename to tmpnam_buffer to ease debugging.
2778 Patch by Joe Keane <jgk@jgk.org>.
2779 Optimize s == NULL case a bit.
2781 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
2784 1998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
2786 * resolv/res_init.c (res_init): Initialize _res.nscount and
2787 _res.nsaddr.sin_port differently for the can when no loopback
2788 is available to allow immediate timeout in non-networking environments.
2789 Patch by Cristian Gafton <gafton@redhat.com>.
2791 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2793 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
2794 BAR and not EM DASH.
2795 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
2796 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
2799 1998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
2801 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
2803 * timezone/tst-timezone.c (tests): Fix typo in last patch.
2805 * time/tzfile.c (__tzfile_read): Handle case when there are no
2806 transitions. Set __timezone based on computed offset.
2807 * time/tzset.c (tzset_internal): Set __timezone before returning.
2809 * time/tzset.c (tzset_internal): Optimize handling of local string
2812 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2814 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
2817 1998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
2819 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
2820 (csqrt_test): Likewise.
2821 * sysdeps/powerpc/bits/fenv.h: Add parens.
2823 1998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
2825 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
2826 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
2827 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
2829 1998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
2831 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
2832 the special `-1' pointer.
2834 1998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
2836 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
2839 1998-09-07 Paul Eggert <eggert@twinsun.com>
2841 * time/mktime.c (__EXTENSIONS__): Define if not defined.
2842 (_REENTRANT): Remove. It has undesirable consequences in
2843 Solaris 2.6 (e.g. it turns off the putc macro). Defining
2844 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
2846 * time/strftime.c: Likewise.
2848 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2850 * elf/dl-error.c: Fix spelling.
2852 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2854 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
2855 * stdio-common/_itoa.c: Likewise.
2856 * stdio-common/printf_fp.c: Likewise.
2857 * stdio-common/vfscanf.c: Likewise.
2858 * wcsmbs/wcstok.c: Likewise.
2859 * sysdeps/generic/glob.c: Likewise.
2860 * posix/getopt.c: Likewise.
2861 * sysdeps/posix/getaddrinfo.c: Likewise.
2862 * posix/wordexp.c: Likewise.
2863 * io/ftw.c: Likewise.
2864 * io/fts.c: Likewise.
2865 * misc/getpass.c: Likewise.
2866 * iconv/gconv_conf.c: Likewise.
2867 * argp/argp-fmtstream.c: Likewise.
2868 * argp/argp-help.c: Likewise.
2869 * elf/dl-load.c: Likewise.
2870 * locale/programs/stringtrans.c: Likewise.
2871 * catgets/gencat.c: Likewise.
2872 * posix/getconf.c: Likewise.
2873 * iconv/gconv_conf.c: Likewise.
2874 * iconv/iconv_prog.c: Likewise.
2876 * string/strcoll.c: Optimize a few expressions.
2877 * string/strxfrm.c: Likewise.
2879 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2881 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
2882 level to avoid uninit variable warning.
2884 1998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2886 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
2887 instead of _dl_default_scope[2] as argument to _dl_init_next.
2889 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
2892 1998-09-08 Ulrich Drepper <drepper@cygnus.com>
2894 Fix compatibility problems introduced in last change.
2895 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
2897 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
2898 -DWEAK_GMON_START to CFLAGS-initfini.s.
2900 * elf/dl-object.c (_dl_new_object): Store map address in
2901 _dl_loaded if _dl_loaded is NULL.
2902 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
2904 * sysdeps/generic/setrlimit64.c: Remove stub warning.
2906 1998-09-07 Ulrich Drepper <drepper@cygnus.com>
2908 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
2910 * db2/btree/bt_cursor.c: Likewise.
2911 * db2/common/db_region.db_c: Likewise.
2912 * db2/common/db_salloc.db_c: Likewise.
2913 * db2/db/db.c: Likewise.
2914 * db2/db/db_rec.c: Likewise.
2915 * db2/hash/hash.c: Likewise.
2916 * db2/hash/hash_page.c: Likewise.
2917 * db2/hash/hash_rec.c: Likewise.
2918 * db2/log/log_findckp.c: Likewise.
2919 * db2/log/log_get.c: Likewise.
2920 * db2/log/log_put.c: Likewise.
2921 * db2/mp/mp_fget.c: Likewise.
2922 * db2/mp/mp_fput.c: Likewise.
2923 * db2/mp/mp_region.c: Likewise.
2924 * stdlib/strtol.c: Likewise.
2925 * string/strcoll.c: Likewise.
2926 * string/strxfrm.c: Likewise.
2927 * argp/argp-help.c: Likewise.
2928 * argp/argp-parse.c: Likewise.
2929 * resolv/res_debug.c: Likewise.
2931 1998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
2933 * math/tgmath.h (scalb): Only define for __USE_MISC or
2934 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
2936 1998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2938 * libio/stdio.h: Fix comment.
2940 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
2943 1998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2945 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
2947 * elf/dl-open.c: Quiet -Wparentheses warnings.
2948 * iconvdata/johab.c: Likewise.
2949 * iconvdata/uhc.c: Likewise.
2950 * inet/inet_net.c: Likewise.
2951 * io/fts.c: Likewise.
2952 * locale/newlocale.c: Likewise.
2953 * misc/getttyent.c: Likewise.
2954 * misc/mntent_r.c: Likewise.
2955 * misc/ttyslot.c: Likewise.
2956 * nscd/nscd_conf.c: Likewise.
2957 * nss/nsswitch.c: Likewise.
2958 * resolv/gethnamaddr.c: Likewise.
2959 * resolv/nsap_addr.c: Likewise.
2960 * resolv/res_debug.c: Likewise.
2961 * stdio-common/_itoa.c: Likewise.
2962 * stdlib/strtod.c: Likewise.
2963 * string/strverscmp.c: Likewise.
2964 * sunrpc/svc.c: Likewise.
2965 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
2966 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
2967 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
2968 * sysdeps/posix/getaddrinfo.c: Likewise.
2970 1998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
2972 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
2973 for use of global scope.
2974 * elf/dlvsym.c (dlvsym_doit): Likewise.
2976 1998-09-02 Paul Eggert <eggert@twinsun.com>
2978 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
2979 copy the redundant bytes at the end of the format as-is; don't
2980 just copy their first byte and then rescan, as that might get
2981 us an encoding error.
2982 Account correctly for the length of multibyte sequences in the
2985 1998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
2987 * posix/wordexp-test.c: Add tests for different IFS values.
2988 Change unquoted-newline test so that newline is not in IFS.
2990 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
2991 determining IFS characters. Return WRDE_BADCHAR for unquoted
2992 special characters _except_ if they are separators.
2994 1998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
2996 * include/tgmath.h: New file.
2998 * libio/stdio.h: Correct reversed #ifs.
2999 Patch by Zack Weinberg.
3001 * manual/creature.texi: Better explain reason for feature select
3003 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
3005 1998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
3007 * include/alloca.h: Add multiple-inclusion guard.
3008 * include/db.h: Likewise.
3009 * include/db_185.h: Likewise.
3010 * include/dlfcn.h: Likewise.
3011 * include/fcntl.h: Likewise.
3012 * include/grp.h: Likewise.
3013 * include/libintl.h: Likewise.
3014 * include/mntent.h: Likewise.
3015 * include/pwd.h: Likewise.
3016 * include/sched.h: Likewise.
3017 * include/search.h: Likewise.
3018 * include/setjmp.h: Likewise.
3019 * include/shadow.h: Likewise.
3020 * include/signal.h: Likewise.
3021 * include/stdio.h: Likewise.
3022 * include/stdlib.h: Likewise.
3023 * include/string.h: Likewise.
3024 * include/termios.h: Likewise.
3025 * include/time.h: Likewise.
3026 * include/ulimit.h: Likewise.
3027 * include/utmp.h: Likewise.
3028 * include/wchar.h: Likewise.
3029 * include/sys/file.h: Likewise.
3030 * include/sys/gmon.h: Likewise.
3031 * include/sys/ioctl.h: Likewise.
3032 * include/sys/mman.h: Likewise.
3033 * include/sys/resource.h: Likewise.
3034 * include/sys/select.h: Likewise.
3035 * include/sys/socket.h: Likewise.
3036 * include/sys/statfs.h: Likewise.
3037 * include/sys/time.h: Likewise.
3038 * include/sys/times.h: Likewise.
3039 * include/sys/wait.h: Likewise.
3041 1998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
3043 * version.h (VERSION): Bump to 2.0.96.
3045 Rewrite runtime linker to be truly thread-safe. There is now no
3046 global variable specifying the scope. We create all needed
3047 scopes at the time the link maps are created.
3048 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
3049 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
3050 l_symbolic_searchlist, l_scope, and l_local_scope elements in
3052 * elf/dl-close.c: Rewritten accordingly.
3053 * elf/dl-deps.c: Likewise.
3054 * elf/dl-error.c: Likewise.
3055 * elf/dl-init.c: Likewise.
3056 * elf/dl-load.c: Likewise.
3057 * elf/dl-lookup.c: Likewise.
3058 * elf/dl-object.c: Likewise.
3059 * elf/dl-open.c: Likewise.
3060 * elf/dl-reloc.c: Likewise.
3061 * elf/dl-runtime.c: Likewise.
3062 * elf/dl-support.c: Likewise.
3063 * elf/dl-symbol.c: Likewise.
3064 * elf/dl-version.c: Likewise.
3065 * elf/dlsym.c: Likewise.
3066 * elf/dlvsym.c: Likewise.
3067 * elf/ldsodefs.h: Likewise.
3068 * elf/rtld.c: Likewise.
3069 * iconv/gconv_dl.c: Likewise.
3070 * nss/nsswitch.c: Likewise.
3071 * sysdeps/i386/dl-machine.h: Likewise.
3072 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
3074 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
3075 Define RTLD_DEFAULT.
3077 1998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
3079 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
3080 __getopt_clean_environment with __environ instead of envp.
3082 1998-09-05 Roland McGrath <roland@baalperazim.frob.com>
3084 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
3086 * string/argz-extract.c (__argz_extract): Add de-consting cast for
3089 * string/argz.h (argz_next): Add de-consting cast for return.
3090 * string/argz-next.c (__argz_next): Likewise.
3092 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
3093 Don't add netinet/udp.h, netinet/ip_icmp.h here.
3094 * sysdeps/gnu/Makefile: Do it here instead.
3095 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
3096 * sysdeps/gnu/Dist: ... to here.
3098 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
3099 sysdeps/unix/sysv/linux/netinet/tcp.h,
3100 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
3102 1998-09-04 Roland McGrath <roland@baalperazim.frob.com>
3104 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
3105 * string/argz-next.c, string/argz-extract.c: Fix defns.
3107 1998-09-03 Roland McGrath <roland@baalperazim.frob.com>
3109 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
3111 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
3112 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
3113 * sysdeps/generic/sysd-stdio.c: Likewise.
3115 1998-09-02 Ulrich Drepper <drepper@cygnus.com>
3117 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
3118 (_dl_map_object_from_fd): Make NAME argument const.
3119 Remove last parameter in _dl_new_object call.
3120 (print_search_path): Correct construction of composed path name.
3121 (_dl_map_object): Prevent looking at RPATH of the main map twice.
3122 Remove last parameter in _dl_new_object call.
3123 * elf/dl-object.c: Remove last parameter. Determine whether create
3124 origin entry based on empty realname. Handle file in root directory
3126 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
3127 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
3128 Remove last parameter in _dl_new_object call.
3129 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
3130 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
3132 1998-09-01 Ulrich Drepper <drepper@cygnus.com>
3134 * elf/dl-close.c (_dl_close): Add more comments and correct some.
3135 Free l_searchlist and l_dupsearchlist.
3137 * debug/catchsegv.sh: Add one more pair of quotes.
3139 1998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
3141 * elf/dl-load.c (add_name_to_object): Change return type to void and
3142 make NAME parameter const. Allocate room for NAME in same memory
3143 block used for l_libname entry.
3144 (_dl_map_object_from_fd): Don't free NAME on failure.
3145 (map_segment): Pass SONAME to add_name_to_object, not a copy.
3146 (_dl_map_object): Don't create copy of NAME. Pass NAME to
3147 _dl_map_object_from_fd.
3148 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
3149 memory block used for l_libname entry.
3150 * elf/dl-close.c: Adjust free()ing for this change.
3152 1998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
3154 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
3156 * malloc/mtrace.c: Add bug report address. Update email address.
3157 Add more @XXX@ to print correct address size.
3159 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
3162 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
3163 for munmap call instead of examining phdr again.
3164 Free all malloc()ed strings and arrays.
3166 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
3168 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
3170 * sysdeps/powerpc/dl-machine.c: New file.
3171 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
3172 files. Revise ELF_PREFERRED_ADDRESS to take account of
3173 the new mapping information (fixes bug involving huge bloated
3174 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
3175 * sysdeps/powerpc/dl-start.S: New file.
3177 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
3179 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
3180 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
3181 others. Call elf_dynamic_do_##reloc only once (to save even more
3183 * elf/link.h: Add new members l_map_start and l_map_end to keep
3184 track of the memory map.
3185 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
3188 1998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
3190 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
3191 Reported by Andreas Jaeger.
3193 * posix/glob.h: Use __size_t instead of size_t in definitions and
3194 make sure this is defined.
3196 1998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
3198 * manual/locale.texi: Almost complete rewrite. Document more functions
3200 * manual/arith.texi: Correct reference.
3201 * manual/string.texi: Pretty printing.
3203 * manual/texinfo.tex: Update from last available version.
3205 1998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
3207 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
3209 (_nss_nis_getpwuid_r): Likewise.
3210 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
3212 * inet/rcmd.c: Implement netgroup support.
3213 Patch by Dick Streefland <dick_streefland@tasking.com>.
3215 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
3217 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
3218 object on the list is removed. Don't use this code for PIC.
3219 Reported by HJ Lu [PR libc/770].
3221 1998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
3223 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
3225 * include/stdio.h: Add __vsscanf.
3227 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
3229 Remove __vsscanf declaration.
3230 Always declare fgetpos and fsetpos.
3232 * math/math.h: Define isinf as macro.
3233 * math/bits/mathcalls.h: Change to declare __isinf all the time.
3234 Don't declare scalb for ISO C 9x.
3236 * math/tgmath.h: Define fma. Rewrite the underlying macros.
3238 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
3240 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
3243 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
3246 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3248 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
3249 Reported by jreising@frequentis.com [PR libc/767].
3251 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3253 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
3254 fl.l_start at beginning of function.
3255 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
3257 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
3259 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
3260 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
3262 * nscd/nscd.init: Make it work in RedHat systems.
3263 Patch by Christian Gafton.
3265 1998-08-29 Philip Blundell <philb@gnu.org>
3267 * catgets/Makefile: Don't try to run test programs when
3270 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
3272 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
3273 Reported by Zack Weinberg.
3275 1998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3277 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
3278 * elf/Makefile (distribute): Remove ldd.sh.in.
3280 1998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3282 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
3285 1998-08-29 Ulrich Drepper <drepper@cygnus.com>
3287 * sysdeps/i386/register-dump.h: Move to ...
3288 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
3290 1998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
3292 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
3293 with load address, not map address.
3294 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
3295 parameter and use this value.
3296 * sysdeps/arm/dl-machine.h: Likewise.
3297 * sysdeps/i386/dl-machine.h: Likewise.
3298 * sysdeps/m68k/dl-machine.h: Likewise.
3299 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
3301 * sysdeps/powerpc/dl-machine.h: Likewise
3302 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
3303 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
3305 1998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
3307 * elf/rtld.c (process_envvars): Fix copy&paste error.
3309 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
3311 (realloc_hook_ini): Don't overwrite memalign hook.
3312 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
3313 Reported by Philippe Troin <phil@fifi.org>.
3315 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
3316 Patch by Philippe Troin <phil@fifi.org>.
3318 1998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3320 * sysdeps/generic/segfault.c (install_handler): Protect the
3321 non-POSIX signals with #ifdef.
3322 (catch_segfault): Add missing mode parameter for open.
3323 * debug/catchsegv.sh: Avoid termination message from shell. Allow
3324 other termination signals.
3326 1998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3328 * debug/Makefile (distribute): Add register-dump.h.
3330 1998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3332 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
3334 1998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
3336 * elf/Makefile (distribute): Add dl-origin.h.
3337 * sysdeps/generic/dl-origin.h: New file.
3338 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
3339 * elf/link.h (struct link_map): Add l_origin field.
3340 * elf/dl-load.c (expand_dynamic_string_token): New function.
3341 (decompose_path): Remove WHERE argument, take link map pointer instead.
3342 Call expand_dynamic_string_token instead of local_strdup to make copy
3344 (_dl_init_paths): Call decompose_path with correct argument.
3345 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
3347 Check EI_OSABI and EI_ABIVERSION fields in header.
3348 Call _dl_new_object with extra argument.
3349 (_dl_map_object): Call decompose_path with correct argument.
3350 Call expand_dynamic_string_token instead of local_strdup to also
3352 Call _dl_new_object with extra argument.
3353 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
3354 but the main one if new argument is nonzero.
3355 * elf/ldsodefs.h: Adjust for _dl_new_object change.
3356 * elf/dl-support.c: Define _dl_origin_path.
3357 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
3358 (dl_main): Call _dl_new_object with extra argument.
3360 * elf/dl-close (_dl_close): Free l_name and l_origin.
3362 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
3363 modifier in asm, not c.
3365 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
3366 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
3368 1998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
3370 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
3371 variable so that map can be freed.
3372 Reported by Philippe Troin <phil@fifi.org>.
3374 * elf/dl-open.c (dl_open_worker): Correct test for extending global
3376 Patch by Philippe Troin <phil@fifi.org>.
3378 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
3380 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
3381 Don't call writev() with a 100-element vector.
3382 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
3385 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
3386 In particular, set __libc_stack_end.
3387 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
3388 undefined. Fix copyright notice.
3390 1998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3392 * math/Makefile (gmp-objs): New variable.
3393 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
3395 (tests): Add atest-exp atest-sincos atest-exp2.
3396 (tests-static): Remove atest-exp atest-sincos atest-exp2.
3398 1998-08-25 Ulrich Drepper <drepper@cygnus.com>
3400 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
3402 (_dl_unload_cache): New function.
3403 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
3404 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
3405 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
3407 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
3408 Correct comment for O_LARGEFILE.
3409 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
3410 Change O_LARGEFILE to correct value.
3412 1998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
3414 * libio/iogetline.c (_IO_getline_info): Don't read anything for
3415 N == 0. Patch by HJ Lu.
3417 1998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
3419 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
3421 1998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
3423 * argp/argp.h: Use __inline__ not inline.
3425 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
3426 an input register as being clobbered.
3427 * sysdeps/i386/memset.c (memset): Likewise.
3428 * sysdeps/i386/bzero.c (__bzero): Likewise.
3429 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
3431 1998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3433 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
3434 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
3436 1998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
3438 * debug/catchsegv.sh: Handle text preceding backtrace better.
3439 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
3440 to be installed for other signals than SIGSEGV.
3441 * sysdeps/generic/register-dump.h: New file.
3442 * sysdeps/i386/register-dump.h: New file.
3443 * sysdeps/powerpc/register-dump.h: New file.
3445 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
3447 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
3449 1998-08-24 Geoff Keating <geoffk@ozemail.com.au>
3451 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
3453 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
3455 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
3456 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
3457 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
3458 getresuid, getresgid.
3460 1998-08-16 Geoff Keating <geoffk@ozemail.com.au>
3462 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
3463 pointer in userland.
3465 1998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3467 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
3470 1998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3472 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
3473 over arguments Bourne shell compatible. Don't exit unsuccessfully
3474 if nonelf returns successfully. Avoid duplicating most of the
3476 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
3479 1998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3481 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
3483 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
3484 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
3486 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
3488 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
3489 __modify_ldt and modify_ldt.
3490 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
3492 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3493 Use orl $-1 instead of movl $-1 to save two bytes.
3494 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
3497 1998-08-17 H.J. Lu <hjl@gnu.org>
3499 * libio/Versions (_IO_do_write, _IO_file_attach,
3500 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
3501 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
3502 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
3503 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
3505 * libio/fileops.c (_IO_do_write, _IO_file_attach,
3506 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
3507 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
3508 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
3509 _IO_file_write, _IO_file_xsputn): Change the prefix to
3510 "_IO_new_". Added to GLIBC_2.1.
3512 * libio/libioP.h (_IO_do_write, _IO_file_attach,
3513 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
3514 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
3515 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
3516 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
3519 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
3520 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
3521 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
3522 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
3523 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
3525 1998-08-23 Richard Henderson <rth@cygnus.com>
3527 * Makeconfig (LDFLAGS): Remove.
3529 * csu/initfini.c: Return to .text before __gmon_start__.
3531 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
3532 (STO_MIPS_*): Rename from STO_*.
3533 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
3534 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
3536 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
3537 (main): e3s is negative on zero.
3538 * math/atest-exp2.c: Likewise.
3539 * math/atest-sincos.c: Likewise.
3541 1998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3543 * Makerules (install): Add comment about absolute paths.
3545 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
3547 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
3548 array to NUL to handle maxlen==1 case correctly.
3551 1998-08-23 Richard Henderson <rth@cygnus.com>
3553 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
3554 * sysdeps/alpha/elf/crtend.S: Likewise.
3555 * sysdeps/alpha/elf/start.S: Likewise.
3557 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
3558 non-standard pv usage.
3560 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
3561 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
3562 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
3563 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
3564 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
3565 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
3566 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
3567 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
3568 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
3569 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
3570 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
3572 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
3573 a finite non-denormal, deferring to the full IEEE version otherwise.
3575 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
3576 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
3577 * sysdeps/alpha/fpu/s_floor.c: New.
3578 * sysdeps/alpha/fpu/s_floorf.c: New.
3579 * sysdeps/alpha/fpu/s_ceil.c: New.
3580 * sysdeps/alpha/fpu/s_ceilf.c: New.
3582 1998-08-22 Philip Blundell <philb@gnu.org>
3584 * sysdeps/arm/bits/string.h: New file.
3586 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3588 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
3591 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
3592 test for recent Linux 2.1.100+ headers.
3594 1998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3596 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
3598 1998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
3600 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
3602 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3604 * Makefile (elf/ldso_install): Put back. The problem still persists.
3605 * elf/Makefile (ldso_install): Likewise.
3607 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3609 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
3611 * include/db.h: Declare __nss_db_open.
3612 * db2/Versions: Export it.
3614 * db2/makedb.c: Convert to use db2 API.
3615 * nss/nss_db/db-XXX.c: Likewise.
3616 * nss/nss_db/db-netgrp.c: Likewise.
3617 * nss/nss_db/db-alias.c: Likewise.
3618 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
3620 1998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3622 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3623 sys_setresuid, already built automatically (or not).
3624 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
3625 instead of __syscall_setresuid and add back setresuid.
3626 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
3627 __syscall_setresuid.
3629 1998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3631 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
3633 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
3635 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
3636 BASH-ONLY marked region.
3637 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
3639 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
3641 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
3644 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
3646 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
3649 1998-08-21 Roland McGrath <roland@baalperazim.frob.com>
3651 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
3652 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
3653 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
3654 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
3655 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
3656 those magic comments, and to use /bin/sh for @BASH@.
3657 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
3658 * elf/ldd.sh.in: File removed.
3660 1998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
3662 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
3663 cast them to unsigned long int.
3664 * pwd/putpwent.c (putpwent): Likewise.
3665 Patch by John Tobey <jtobey@banta-im.com>.
3667 1998-08-20 17:14 H.J. Lu <hjl@gnu.org>
3669 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
3672 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
3674 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
3677 1998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
3679 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
3680 Add umount and umount2.
3681 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
3682 * sysdeps/unix/sysv/linux/umount.S: New file.
3683 * sysdeps/unix/sysv/linux/umount2.S: New file.
3684 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
3687 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
3689 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
3690 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
3692 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
3694 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
3697 1998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
3699 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
3700 * elf/ldd.bash.in: Likewise.
3702 * elf/sln.c: Avoid warning for no main prototype.
3704 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
3706 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
3707 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3709 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
3711 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
3712 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
3713 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3715 1998-08-20 Philip Blundell <pb@nexus.co.uk>
3717 * sysdeps/arm/fpu/ieee754.h: Move to...
3718 * sysdeps/arm/ieee754.h: ... here.
3720 * sysdeps/arm/__longjmp.S: Put return value in correct register.
3721 Don't set the condition flags unnecessarily.
3722 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
3723 registers correctly.
3725 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
3726 (patch from Scott Bambrough).
3728 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
3730 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
3731 NULL, just call it unconditionally.
3732 (__gmon_start__): Provide stub version as a weak symbol.
3734 1998-07-30 Philip Blundell <philb@gnu.org>
3736 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
3739 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
3740 like `@' in .type directives.
3742 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
3743 * sysdeps/arm/bsd-_setjmp.S: Likewise.
3745 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
3747 1998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3749 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
3750 (F_GETOWN): Likewise.
3752 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
3755 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
3757 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
3760 1998-08-18 Ulrich Drepper <drepper@cygnus.com>
3762 * include/features.h: Define __USE_EXTERN_INLINES for recent
3764 * argp/argp.h: Define extern inline functions only if
3765 __USE_EXTERN_INLINES is defined.
3766 * libio/stdio.h: Likewise.
3767 * math/math.h: Likewise.
3768 * stdlib/stdlib.h: Likewise.
3769 * string/argz.h: Likewise.
3770 * sysdeps/generic/bits/sigset.h: Likewise.
3771 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
3772 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
3773 * sysdeps/wordsize-32/inttypes.h: Likewise.
3774 * sysdeps/wordsize-64/inttypes.h: Likewise.
3775 * wcsmbs/wchar.h: Likewise.
3777 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
3778 to allow compilation without optimization.
3780 1998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3782 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
3784 * nis/nss_compat/compat-initgroups.c: Likewise.
3785 * nis/nss_compat/compat-pwd.c: Likewise.
3786 * nis/nss_compat/compat-spwd.c: Likewise.
3787 * nis/nss_nis/nis-alias.c: Likewise.
3788 * nis/nss_nis/nis-ethers.c: Likewise.
3789 * nis/nss_nis/nis-grp.c: Likewise.
3790 * nis/nss_nis/nis-hosts.c: Likewise.
3791 * nis/nss_nis/nis-initgroups.c: Likewise.
3792 * nis/nss_nis/nis-network.c: Likewise.
3793 * nis/nss_nis/nis-proto.c: Likewise.
3794 * nis/nss_nis/nis-pwd.c: Likewise.
3795 * nis/nss_nis/nis-rpc.c: Likewise.
3796 * nis/nss_nis/nis-service.c: Likewise.
3797 * nis/nss_nis/nis-spwd.c: Likewise.
3799 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
3801 * nis/ypclnt.c: Try binding dir only first time, could be to old.
3803 * nis/yp_xdr.c: Remove 1024 byte limit.
3804 * nis/ypupdate_xdr.c: Likewise.
3806 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
3809 1998-08-18 Roland McGrath <roland@baalperazim.frob.com>
3811 * Rules (binaries-static, binaries-shared static pattern rules):
3812 Depend on lib%, not just libc%, from $(link-libc{,-static}).
3814 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
3815 this here, overriding Makeconfig generic value so we link against
3818 1998-08-17 Ulrich Drepper <drepper@cygnus.com>
3820 * posix/tstgetopt.c (options): Add NULL entry at end
3821 Patch by Adrian Miranda <ade@psg.com>.
3823 1998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
3825 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
3828 1998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
3830 * elf/elf.h: Add PPC Diab relocations.
3832 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
3834 1998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
3836 * manual/texinfo.tex: Update.
3838 1998-08-07 Geoff Keating <geoffk@ozemail.com.au>
3840 * sysdeps/powerpc/backtrace.c: New file.
3842 1998-08-14 Philip Blundell <pb@nexus.co.uk>
3844 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
3846 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
3848 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3850 * Makefile (install-symbolic-link): Fix spelling.
3852 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3854 * elf/elf.h (SHT_HIOS): Fix value.
3856 1998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3858 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
3859 part of the expansion, this is undefined by the standard.
3861 1998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
3863 * posix/getconf.c: Add support for systems with incomplete confname.h.
3865 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
3867 * sysdeps/posix/wait3.c: Make it work.
3869 1998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3871 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
3872 (elf/ldso_install): Remove.
3874 * elf/Makefile (distribute): Add sln.c.
3876 (others-static): Add sln.
3877 (install-rootsbin): Add sln.
3878 (others-static): Add sln.
3879 (ldso_install): Remove.
3881 1998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3883 * Makerules (install-clean-symbolic-link-list): Make phony.
3884 * Makefile (install-symbolic-link): Make phony. Depend on
3885 subdir_install for parallel makes.
3888 1998-07-22 Ulrich Drepper <drepper@cygnus.com>
3890 * elf/Makefile (distribute): Add sln.c
3892 1998-07-21 07:10 H.J. Lu <hjl@gnu.org>
3894 * elf/sln.c: New file.
3896 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
3897 (install-clean-symbolic-link-list): New target.
3898 (install): Depend on install-clean-symbolic-link-list.
3899 (make-shlib-link): Changed for $(symbolic-link-list).
3901 * Makefile (install-symbolic-link): New target.
3902 (install): Depend on install-symbolic-link.
3904 1998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
3906 * include/unistd.h: Protect against multiple inclusion.
3908 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
3909 is defined, not is glob is defined.
3910 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
3912 1998-08-01 17:18 H.J. Lu <hjl@gnu.org>
3914 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
3915 xdr_string for ut_line, ut_name and ut_host.
3917 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3919 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
3920 /var/mail in accordance with FHS 2.0.
3921 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
3923 1998-08-12 Richard Henderson <rth@cygnus.com>
3925 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
3926 Update aliases for cancelation.
3928 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
3929 playing with symbol versions.
3931 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
3933 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
3934 multiple inclusion protection.
3935 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
3936 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
3937 define all these to 1.
3938 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
3940 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
3942 * sysdeps/mach/usleep.c: Include <unistd.h>.
3943 (usleep): Return void.
3945 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
3947 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
3948 decl to inhibit warning in if_freenameindex defn.
3950 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
3952 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
3954 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
3955 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
3956 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
3957 * sysdeps/mach/usleep.c: Likewise.
3959 * sysdeps/mach/hurd/bind.c (bind): Add a const.
3961 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
3962 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
3963 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
3964 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
3965 * sysdeps/mach/usleep.c (usleep): Likewise.
3966 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
3967 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
3968 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
3969 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
3971 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
3973 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
3976 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
3977 %p arg to fprintf, since `void *' is the right type already.
3979 1998-07-25 19:47 Jose M. Moya <josem@gnu.org>
3981 * sysdeps/mach/hurd/getcwd.c
3982 (_hurd_canonicalize_directory_name_internal): Do not loop forever
3983 for unknown root directories.
3984 (__getcwd): Return NULL when the current root directory could not
3987 1998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
3989 * string/strsignal.c (strsignal): Count real-time signals from zero.
3992 See ChangeLog.8 for earlier changes.