1 1998-10-18 Ulrich Drepper <drepper@cygnus.com>
3 * sysdeps/posix/getcwd.c (__getcwd): Don't stop processing
4 directory entries when a lstat call fails.
5 Patch by Colin Plumb <colin@nyx.net>.
7 * resolv/nss_dns/dns-host.c: Add missing errnop parameter to the
9 * resolv/nss_dns/dns-network.c: Likewise.
11 * grp/Makefile: Don't search for linuxhtreads in add-ons, use
12 have-thread-library to determine whether threads are available.
13 * pwd/Makefile: Remove wrong comment.
15 * inet/Makefile: Define CFLAGS-gethstbyad_r.c, CFLAGS-gethstbynm_r.c,
16 and CFLAGS-gethstbynm2_r.c to -DUSE_NSCD=1.
18 * locale/C-messages.c: Define default strings for YESTR and NOSTR.
20 * nss/Versions: Add __nss_hosts_lookup.
22 * nss/getXXbyYY.c: Remove unneeded assignment.
24 * nss/getXXbyYY_r.c: Include nscd/nscd_proto.h only if needed.
26 Almost complete rewrite of the NSCD to make it smaller, faster,
27 add more functionnality and make it easier to extend.
28 * nscd/Makfile (routines): Add nscd_gethst_r.
29 (nscd-modules): Add hstcache, gethstbyad_r, gethstbynm2_r, and cache.
30 * nscd/cache.c: New file.
31 * nscd/gethstbyad_r.c: New file.
32 * nscd/gethstbynm2_r.c: New file.
33 * nscd/hstcache.c: New file.
34 * nscd/nscd_gethst_r.c: New file.
35 * nscd/connections.c: Rewritten. Don't start new thread for every
36 new connection. Use a fixed set of threads which handle all
37 connections and also the cache cleanup.
38 * nscd/grpcache.c: Rewritten to use generic cache handling functions
40 * nscd/nscd.c: Recognize new parameter nthreads. Adjust initialization
41 for rewrite. Remove handle_requests function.
42 * nscd/nscd.h (NSCD_VERSION): Bump to 2.
43 Define new data structure for the new unified cache and the host
45 * nscd/nscd_conf.c: Rewrite parsing partly to allow adding of more
46 databases easily. Recognize check-files and threads definitions.
47 * nscd/nscd.conf: Add definition of enable-cache and check-files to
48 passwd and group definitions. Add new set of definitions for hosts.
49 * nscd/nscd_getgr_r.c: Rewrite for new protocol.
50 * nscd/nscd_getpw_r.c: Likewise.
51 * nscd/nscd_proto.h: Add prototype for host database functions.
52 * nscd/nscd_stat.c: Rewrite to simplify printing of information
54 * nscd/dbg_log.c: Remove unnecessary variable initializations.
55 Global variable debug_flag is renamed to dbg_level.
56 * nscd/dbg_log.h: Declare set_logfile.
58 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
60 * sysdeps/unix/sysv/linux/bits/fcntl.h: Add dummy definition of
63 1998-10-16 Paul Eggert <eggert@shade.twinsun.com>
65 * time/mktime.c: Some systems require <unistd.h> to be
66 included before <time.h> for localtime_r to be declared
68 * time/strftime.c: Likewise.
70 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
72 * db/Makefile: Add rule to generate shared object with the soname
75 * sysdeps/unix/opendir.c: Use O_DIRECTORY if available. If not
76 available double check to verify it's a directory.
78 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add O_DIRECTORY.
79 * sysdeps/unix/sysv/linux/mips/bits/fcntl: Likewise.
80 * sysdeps/unix/sysv/linux/bits/fcntl.h: Remove O_* constants which
81 are not generally available.
82 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: New file.
84 * sysdeps/unix/sysv/linux/i386/setgroups.c: Add range check for values.
85 * sysdeps/unix/sysv/linux/arm/Makefile: New file.
86 * sysdeps/unix/sysv/linux/arm/setegid.c: New file.
87 * sysdeps/unix/sysv/linux/arm/seteuid.c: New file.
88 * sysdeps/unix/sysv/linux/arm/setfsgid.c: New file.
89 * sysdeps/unix/sysv/linux/arm/setfsuid.c: New file.
90 * sysdeps/unix/sysv/linux/arm/setgid.c: New file.
91 * sysdeps/unix/sysv/linux/arm/setgroups.c: New file.
92 * sysdeps/unix/sysv/linux/arm/setresgid.c: New file.
93 * sysdeps/unix/sysv/linux/arm/setresuid.c: New file.
94 * sysdeps/unix/sysv/linux/arm/setuid.c: New file.
95 * sysdeps/unix/sysv/linux/i386/setegid.c: New file.
96 * sysdeps/unix/sysv/linux/i386/seteuid.c: New file.
97 * sysdeps/unix/sysv/linux/i386/setfsgid.c: New file.
98 * sysdeps/unix/sysv/linux/i386/setfsuid.c: New file.
99 * sysdeps/unix/sysv/linux/i386/setgid.c: New file.
100 * sysdeps/unix/sysv/linux/i386/setgroups.c: New file.
101 * sysdeps/unix/sysv/linux/i386/setresgid.c: New file.
102 * sysdeps/unix/sysv/linux/i386/setresuid.c: New file.
103 * sysdeps/unix/sysv/linux/i386/setuid.c: New file.
104 * sysdeps/unix/sysv/linux/m68k/setegid.c: New file.
105 * sysdeps/unix/sysv/linux/m68k/seteuid.c: New file.
106 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: New file.
107 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: New file.
108 * sysdeps/unix/sysv/linux/m68k/setgid.c: New file.
109 * sysdeps/unix/sysv/linux/m68k/setgroups.c: New file.
110 * sysdeps/unix/sysv/linux/m68k/setresgid.c: New file.
111 * sysdeps/unix/sysv/linux/m68k/setresuid.c: New file.
112 * sysdeps/unix/sysv/linux/m68k/setuid.c: New file.
113 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
114 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
115 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: New file.
116 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: New file.
117 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: New file.
118 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
119 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file.
120 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file.
121 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: New file.
123 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add s_setgid, s_setresuid,
124 s_setresgid, and s_setuid.
125 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
126 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
127 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
128 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
129 (sysdep_routines): Add setfsgid, setfsuid, setresgid, and setresuid.
130 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
131 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
133 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
135 * time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get
136 localtime_t declaration on some systems.
138 1998-10-16 10:07 Ulrich Drepper <drepper@cygnus.com>
140 * iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to
142 * iconv/skeleton.c: Include ELF header only of STATIC_GCONV is not
143 defined. Avoid using DL_CLL_FCT if it is not defined.
145 1998-10-16 10:40 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
147 * resolv/arpa/nameser.h: Include sys/types.h unconditionally.
148 Include endian.h unconditionally. Remove portability goop
149 depending on #ifdef linux, #ifdef BSD, #ifdef machine-type.
151 1998-10-16 11:39 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
153 * sunrpc/rpc/types.h: Mark file so fixincludes won't modify it.
155 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
157 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios
158 again. Use char[44] to define size of the struct.
160 * sysdeps/unix/sysv/linux/arm/Dist: Add bits/armsigctx.h.
162 1998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
164 * string/bits/string2.h (strcmp): Don't cache the result of
165 __builtin_constant_p in variables, otherwise constant folding
166 can fail in big functions.
168 1998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
170 * string/bits/string2.h: Add prototypes for the new inline
173 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
175 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to
176 have all types defined.
177 Patch by Matti Aarnio <matti.aarnio@sonera.fi>.
179 1998-10-08 Paul Eggert <eggert@twinsun.com>
181 * time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r.
182 Define also if HAVE_LOCALTIME_R && defined localtime_r, with
183 a body that merely expands localtime_r; this works around a
184 bug in Digital Unix 4.0A and 4.0D.
186 1998-10-14 Ulrich Drepper <drepper@cygnus.com>
188 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl.
189 * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define
190 __ioctl to __syscall_ioctl and include Linux version of this file.
191 * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
192 * sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file. Redirect
193 ioctl calls which handle struct termios.
194 Based on a patch by Dan Jacobowitz <drow@false.org>.
196 1998-10-14 Ulrich Drepper <drepper@cygnus.com>
198 * version.h (VERSION): Bump to 2.0.98.
200 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios
201 here instead of including kernel_termios.h.
203 1998-10-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
205 * sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is
206 unnecessary after the changes of 1998-10-12.
208 1998-10-13 Ulrich Drepper <drepper@cygnus.com>
210 * sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output
211 parameter format string.
212 (inline_outw): Likewise.
214 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include
215 string.h to get memcpy prototype and NULL definition.
217 1998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
219 * misc/sys/cdefs.h (__THROW): New macro.
220 * argp/argp.h: Use it to replace the kludgey __P in inline
221 function definitions.
222 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
223 * stdlib/stdlib.h: Likewise.
224 * wcsmbs/wchar.h: Likewise.
225 * libio/stdio.h: Likewise.
226 * stdio/stdio.h: Likewise.
227 * sysdeps/wordsize-64/inttypes.h: Likewise.
228 * sysdeps/wordsize-32/inttypes.h: Likewise.
229 * string/argz.h: Likewise.
230 * io/sys/stat.h: Likewise.
232 1998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
234 * Rules (stdio_lim): New variable.
235 ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend
236 on Rules and config.make, use $(move-if-change) to avoid unnessary
237 recompilations, and cleanup command.
238 (common-generated): Add bits/stdio_lim.st.
240 1998-10-12 Ulrich Drepper <drepper@cygnus.com>
242 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): New
243 variable to prevent warnings from use of modern CPU instructions.
244 Patch by Richard Henderson <rth@cygnus.com>.
246 * sysdeps/unix/opendir.c: Test whether NAME is directory before
249 1998-10-12 Philip Blundell <pb@nexus.co.uk>
251 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Add missing
252 semicolon so that profiling works.
254 1998-10-12 Roland McGrath <roland@baalperazim.frob.com>
256 * sysdeps/generic/glob.c: #undef mempcpy before #define.
258 * sysdeps/unix/bsd/clock.c: Use prototype defns.
260 1998-10-11 Ulrich Drepper <drepper@cygnus.com>
262 * Rules [posix in sysdirs]: Set L_tmpnam to 20.
263 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
265 * string/bits/string2.h [!_STRING_ARCH_unaligned]
266 (__mempcpy_small): Add parameter for 1 byte copy and use it.
267 Reported by Geoff Keating <geoffk@ozemail.com.au>.
269 1998-10-09 Mark Kettenis <kettenis@phys.uva.nl>
271 * sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove,
272 it is already defined in <bits/environments.h>.
274 1998-10-09 Ulrich Drepper <drepper@cygnus.com>
276 * posix/ptestcases.h: Fix typo.
278 1998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
280 * posix/regex.c (regcomp): Allocate and prepare a fastmap.
281 (regexec): Allocate regs.start and regs.end as one block.
283 1998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
285 * sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of
288 1998-10-08 Philip Blundell <pb@nexus.co.uk>
290 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of
291 sigcontext union to ...
292 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here. New
294 * sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for
297 1998-10-08 Ulrich Drepper <drepper@cygnus.com>
299 * malloc/mtrace.c (tr_reallochook): Produce better output for real
302 * signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined.
303 * argp/argp-xinl.c: Likewise.
305 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing
307 Patch by Christian Gafton.
309 1998-10-08 Paul Eggert <eggert@twinsun.com>
311 * time/mktime.c (__mktime_internal): When the requested time falls
312 in a spring-forward gap of size DT, return a time that is DT away
313 from the requested time, preferring a time whose tm_isdst differs
314 from the requested value. Bump the max number of probes from 4 to
315 6 to account for the extra probes needed to discover a
316 spring-forward gap in the worst case.
318 1998-10-07 17:05 Ulrich Drepper <drepper@cygnus.com>
320 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection
321 of the weird alpha architectures.
322 Patch by Cristian Gafton <gafton@redhat.com>.
324 1998-02-18 23:31 Richard Henderson <rth@cygnus.com>
326 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
327 RAWHIDE and TSUNAMI. Patch from Jay.Estabrook@digital.com.
329 1998-10-07 Ulrich Drepper <drepper@cygnus.com>
331 * elf/dl-open.c (_dl_global_scope_alloc): Make global.
332 (dl_open_worker): Use realloc, not malloc to resize array.
333 * elf/rtld.c (_dl_initial_searchlist): New variable.
334 (_dl_main): Copy content of _dl_main_searchlist to
335 _dl_initial_searchlist.
336 * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and
337 _dl_global_scope_alloc.
338 * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist.
339 * elf/dl-close.c (_dl_close): When removing object with global
340 scope remove allocated searchlist if no dynamically loaded object
342 * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope.
343 (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist.
345 * malloc/mtrace.c (tr_where): Don't print space in location string,
346 print it afterwards. Print better symbol name information.
348 1998-10-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
350 * manual/filesys.texi (Setting Permissions): Fix example for
353 1998-10-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
355 * elf/sprof.c (load_profdata): Fix typo in error message.
357 1998-10-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
359 * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
362 1998-10-04 Roland McGrath <roland@baalperazim.frob.com>
364 * mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it.
366 1998-10-06 Ulrich Drepper <drepper@cygnus.com>
368 * version.h (VERSION): Bump to 2.0.97.
370 1998-10-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
372 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P
373 in definitions of inline stat functions so that they match the
375 * stdlib/stdlib.h: Likewise.
376 * wcsmbs/wchar.h: Likewise.
377 * libio/stdio.h: Likewise.
378 * stdio/stdio.h: Likewise.
379 * sysdeps/wordsize-64/inttypes.h: Likewise.
380 * sysdeps/wordsize-32/inttypes.h: Likewise.
381 * string/argz.h: Likewise.
382 * argp/argp.h: Likewise.
384 1998-10-06 Ulrich Drepper <drepper@cygnus.com>
386 * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
389 1998-10-05 Philip Blundell <philb@gnu.org>
391 * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures
392 and constants. Tidy up formatting a little.
394 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6):
395 Move definitions to in.h.
397 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
399 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER,
400 SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added.
401 Remove inclusion of <linux/swap.h>.
403 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
405 * io/sys/stat.h: Use __P in definitions of inline stat functions
406 so that they match the declaration.
408 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
410 * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added.
412 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
414 * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current
417 1998-10-02 Philip Blundell <pb@nexus.co.uk>
419 * sysdeps/arm/dl-machine.h: Fix typo in last change.
421 * sysdeps/arm/bits/huge_val.h: New file.
423 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
425 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added.
427 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add
430 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
432 * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to
433 store result of realloc instead of using BUF.
435 1998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
437 * misc/sgtty.h (_SGTTY_H): Correct spelling.
438 Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817].
440 1998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
442 * manual/memory.texi (Obstacks): Document
443 obstack_alloc_failed_handler usage.
445 * malloc/obstack.h: Enhance comment about
446 obstack_alloc_failed_handler usage.
447 * malloc/obstack.c: Likewise.
449 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
451 * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or
452 gcc before 2.8 is used.
454 1998-10-01 Philip Blundell <pb@nexus.co.uk>
456 * sysdeps/arm/machine-gmon.h: Correct args to mcount(). Patch
457 from Scott Bambrough.
459 * sysdeps/unix/sysv/linux/arm/register-dump.h: New file.
461 * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
462 include the lock member.
464 1998-09-03 Philip Blundell <pb@nexus.co.uk>
466 * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.
468 1998-10-01 Ulrich Drepper <drepper@cygnus.com>
470 * timezone/zic.c: Update from tzcode1998h.
471 * timezone/europe: Update from tzdata1998i.
472 * timezone/southamerica: Likewise.
474 * sys/types.h: Protect use of long long by __extension__.
475 * stdlib/stdlib.h: Likewise.
476 * string/string.h: Likewise.
477 * sysdeps/i386/bits/byteswap.h: Likewise.
478 * sysdeps/geeric/bits/byteswap.h: Likewise.
479 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
480 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
481 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
482 * sysdeps/wordsize-32/inttypes.h: Likewise.
483 * sysdeps/wordsize-32/stdint.h: Likewise.
484 * wcsmbs/wchar.h: Likewise.
486 1998-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
488 * string/bits/string2.h (__string2_1bptr_p): Don't use a statement
490 (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
491 __strsep): Greatly reduce size of expansion by combining common
493 (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
495 (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
496 by the above definitions.
498 1998-09-27 Geoff Keating <geoffk@ozemail.com.au>
500 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
501 correct struct ipc_perm definition.
503 1998-09-29 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
505 * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.
507 1998-09-29 Cristian Gafton <gafton@redhat.com>
509 * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
510 * sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
511 * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
512 * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
515 1998-09-29 Ulrich Drepper <drepper@cygnus.com>
517 * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.
519 * nis/ypclnt.c: Remove not needed close calls.
521 1998-09-28 23:55 Ulrich Drepper <drepper@cygnus.com>
523 * nis/ypclnt.c (__yp_bind): Pretty print. Optimize readv result
524 check a bit. Also close socket of domain client. Close socket
525 in IPPORT_RESERVED error case.
527 1998-09-28 Ulrich Drepper <drepper@cygnus.com>
529 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
530 CMSG_ALIGN (fixes a bug) and correct test for availability of
532 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
534 (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
535 availability of another entry.
538 * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
541 * libio/libio.h [!__STDC__]: Define const only if not defined.
543 1998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
545 * posix/annexc.c (xsystem): New function. Use it instead of
548 1998-09-28 Ulrich Drepper <drepper@cygnus.com>
550 * stdlib/longlong.h: Remove #endif for #if removed in last change.
552 1998-09-25 Ulrich Drepper <drepper@cygnus.com>
554 * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
555 Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
556 allow using `ut' parameter.
557 [!emacs]: Define ut_argument, ut_argument_spec, and
558 ut_argument_spec_iso as empty. Define ut to 0. Add ut_argument and
559 argument_spec to prototypes and definitions.
560 (my_strftime): Don't call tzset of ut != 0.
561 Compute diff as 0 is ut != 0;
562 [emacs]: Define new emacs_strftime function.
563 Based on a patch by Paul Eggert.
565 1998-09-24 Paul Eggert <eggert@twinsun.com>
567 * time/strftime.c (my_strftime): When asking for the length of the
568 subformatted buffer, do not limit the length to look for;
569 otherwise, we have no reliable way to distinguish between the
570 empty buffer and an error.
572 1998-09-25 Ulrich Drepper <drepper@cygnus.com>
574 * math/Makefile (gmp-objs): Add mp_clz_tab.
576 1998-09-25 David S. Miller <davem@pierdol.cobaltmicro.com>
578 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
580 * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
581 cpus lacking hardware multiply and divide.
583 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
585 * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
588 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
590 * db/btree/bt_delete.c: Fix -Wparentheses warning.
592 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
594 * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
597 1998-09-24 Ulrich Drepper <drepper@cygnus.com>
599 * debug/catchsegv.sh: Also produce output if clone process died.
601 1998-09-24 Paul Eggert <eggert@twinsun.com>
603 * time/strftime.c (f_wkday): Remove duplicate definition.
604 (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
605 !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
606 1998-09-11 fix to this case.
607 (wkday_len, month_len): Remove these macros; they're no longer needed.
609 1998-09-24 Paul Eggert <eggert@twinsun.com>
611 * time/strftime.c (my_strftime): Don't store past the end of a
614 1998-09-24 Paul Eggert <eggert@twinsun.com>
616 * time/strftime.c (underlying_strftime):
617 Set the buffer to a nonzero value before calling
618 strftime, and check to see whether strftime has set the buffer to zero.
619 This lets us distinguish between an empty buffer and an error.
621 1998-09-24 Paul Eggert <eggert@shade.twinsun.com>
623 * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
624 This fix is propagated from tzcode1998g.tar.gz.
626 1998-09-24 Mark Kettenis <kettenis@phys.uva.nl>
628 * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
629 _sys_siglist. [!HAVE_GNU_LD]: Do not define _sys_siglist as
630 sys_siglist. This is handled correctly by the weak_alias macro.
632 1998-09-24 Ulrich Drepper <drepper@cygnus.com>
634 * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
635 of mempcpy. Reported by Andreas Jaeger.
637 * misc/regexp.h (compile): Use alloca instead of __alloca. It won't
638 pollute the namespace since the compiler will resolve it inline.
639 Reported by Florian La Roche <florian@suse.de>.
641 1998-09-24 10:29 Ulrich Drepper <drepper@cygnus.com>
643 * timezone/private.h: Update from tzcode1998g.
645 * timezone/africa: Update from tzdata1998h.
646 * timezone/asia: Likewise.
647 * timezone/australasia: Likewise.
648 * timezone/europe: Likewise.
649 * timezone/northamerica: Likewise.
650 * timezone/southamerica: Likewise.
651 * timezone/zone.tab: Likewise.
653 1998-09-23 17:28 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
655 * misc/sys/mman.h: New file.
657 * sysdeps/generic/bits/mman.h: New file.
658 * sysdeps/unix/bsd/osf/bits/mman.h: New file.
659 * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
660 * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
661 * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
663 * sysdeps/generic/sys/mman.h: Removed.
664 * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
665 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
666 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
667 * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
668 * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
670 * include/sys/mman.h: Look directly for misc/sys/mman.h.
671 * misc/Makefile (headers): Add bits/mman.h.
672 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
675 * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
676 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
677 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
678 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
679 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
680 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
681 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
682 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
684 1998-09-23 16:27 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
686 * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
687 * sysdeps/mach/alpha/thread_state.h: Likewise.
688 * sysdeps/mach/i386/sysdep.h: Likewise.
689 * sysdeps/mach/i386/thread_state.h: Likewise.
690 * sysdeps/mach/mips/sysdep.h: Likewise.
691 * sysdeps/mach/mips/thread_state.h: Likewise.
692 * sysdeps/posix/profil.c: Likewise.
693 * sysdeps/i386/i586/memcopy.h: Likewise.
694 * sysdeps/mach/pagecopy.h: Likewise.
696 1998-09-23 15:25 Ulrich Drepper <drepper@cygnus.com>
698 * libio/stdio.h: Define __need_getopt and include getopt.h to define
700 * posix/unistd.h: Likewise.
701 * stdio/stdio.h: Likewise.
702 * posix/getopt.h: Remove _GNU_SOURCE use. If __need_getopt is defined
703 define only getopt and the variables.
705 1998-09-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
707 * scripts/test-installation.pl (installation_problem): Don't link
708 the test program against libdb1.
710 1998-09-23 13:52 Ulrich Drepper <drepper@cygnus.com>
712 * Makeconfig (all-subdirs): Add db.
713 * Versions.def: Add definition for libdb1.
714 * shlib-versions: Add definitions for libdb1.
715 * db/Makefile (extra-libs): Replace by libdb1.
716 (libdb-routines): Rename to libdb1-routines.
717 (headers): Rename to db1-headers.
718 (distribute): Add $(db1-headers).
719 (install-others): Define to install symlink libdb.so.NN and the
721 (CPPFLAGS): Add -DUSE_LIBDB1
722 Remove rules to build makedb.
723 * db/Versions: Rename libdb to libdb1.
724 * include/db.h: If USE_LIBDB1 is defined include db/db.h.
725 * db/makedb.c: Removed.
727 * scripts/versions.awk: Recognize digits in library names.
729 * db/btree/bt_open.c: Fix compiler warnings.
730 * db/btree/bt_put.c: Likewise.
731 * db/btree/bt_split.c: Likewise.
732 * db/hash/hash.c: Likewise.
733 * db/hash/hash_bigkey.c: Likewise.
734 * db/recno/rec_close.c: Likewise.
736 * Makefile: Add localedata/% goal.
738 1998-09-22 19:58 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
740 * posix/execvp.c: Don't give up searching the PATH if execve
743 1998-09-22 12:53 Ulrich Drepper <drepper@cygnus.com>
745 * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
746 if _dl_fpu_control_set is set.
747 * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
748 * elf/rtld.c: Don't define _dl_fpu_control_set.
749 * elf/Versions: Remove _dl_fpu_control_set.
751 1998-09-22 11:51 Ulrich Drepper <drepper@cygnus.com>
753 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
754 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
755 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
756 Correct values of other SA_* macros according to kernel headers.
758 1998-09-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
760 * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
762 * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
765 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
767 * elf/ldsodefs.h: Fix typo in comment.
769 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
771 * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
772 char when comparing buffer contents with putback character.
774 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
776 * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
778 * elf/Versions: Undo last change. Export _dl_fpu_control and
780 * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
781 variables. Include <fpu_control.h>.
782 * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
783 _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
784 to indicate that is was seen.
785 * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
786 only if _dl_fpu_control was set and is equal to desired value.
787 * math/Makefile (aux): Undo last change.
788 * math/Versions: Export __fpu_control with version GLIBC_2.0.
790 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
792 * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
795 1998-09-21 10:00 Ulrich Drepper <drepper@cygnus.com>
797 * string/bits/string2.h: Add mempcpy optimization.
798 * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
799 * intl/localealias.c: Define mempcpy only if not already defined.
801 * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
804 1998-09-20 10:48 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
806 * csu/abi-note.S: Emit the note directly instead of defining
807 a preprocessor macro that's only used once. Don't include sysdep.h.
808 * abi-tags: Generalize Solaris entry.
810 1998-09-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
812 * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
813 Change to array to avoid runtime relocation.
814 * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
816 1998-09-21 12:22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
818 * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
819 * math/Makefile ($(objpfx)libieee.a): Likewise.
821 1998-09-21 Ulrich Drepper <drepper@cygnus.com>
823 * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
824 Patch by John Tobey <jtobey@banta-im.com>.
826 1998-09-20 Ulrich Drepper <drepper@cygnus.com>
828 * login/Makefile (distribute): Remove pty-internal.h, add
831 * stdlib/tst-strtol.c: Add more checks.
832 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
834 1998-09-20 09:37 Ulrich Drepper <drepper@cygnus.com>
836 * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
837 * elf/elf.h: Add AT_FPUCW.
838 * elf/Makefile (dl-routines): Add fpu_control.
839 (elide-routines.os): Add fpu_control.
840 (rtld-routines): Add fpu_control.
841 * math/Makefile (aux): Remove fpu_control.
842 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
843 (_dl_show_auxv): Likewise.
844 * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
845 if different from OS default.
847 * stdio-common/tstscanf.c: Add test case for (nil).
849 1998-09-18 17:41 Ulrich Drepper <drepper@cygnus.com>
851 * libio/fileops.c (_IO_new_file_underflow): Before allocating
852 buffer make sure the pushback buffer is destroyed.
853 (_IO_new_file_seekoff): Likewise.
854 If mode==0 quit early with the result.
855 Clear OEF flag after successful fseek.
856 * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
857 * libio/ftello.c (ftello): Add offset from original buffer if
858 stream has pushed back characters.
859 * libio/ftello64.c (ftello64): Likewise.
860 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
861 * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
862 * libio/ioftell.c (_IO_ftell): Likewise.
863 * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
865 (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
866 (_IO_default_pbackfail): Only stored push back character in original
867 buffer if it is the same as the one in the file at this position.
868 * libio/iofclose.c: Free backup buffer if one is available.
869 * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
872 * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
874 * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
876 * stdio-common/vfscanf.c: Fix reading (nil) for %p.
878 1998-09-18 Mark Kettenis <kettenis@phys.uva.nl>
880 * login/programs/pt_chown.c (more_help): Correct message that
881 describes the purpose of the program.
883 * login/openpty.c: Do not include pty-private.h.
884 (pts_name): New function. Return name of slave pseudo terminal in
885 an allocated buffer if necessary.
886 (openpty): Use pts_name to get name of the slave end of the pseudo
889 * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
890 pts_name before return.
892 1998-09-18 11:15 Ulrich Drepper <drepper@cygnus.com>
894 * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
896 1998-09-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
898 * login/openpty.c: Include pty-private.h instead of
901 1998-09-09 Philip Blundell <pb@nexus.co.uk>
903 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
905 1998-09-07 Philip Blundell <pb@nexus.co.uk>
907 * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
908 recent ld.so changes.
909 (elf_machine_runtime_setup): Correct behaviour when profiling.
911 1998-09-17 19:34 Ulrich Drepper <drepper@cygnus.com>
913 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
914 Patch by John Tobey <jtobey@banta-im.com>.
916 1998-09-17 Mark Kettenis <kettenis@phys.uva.nl>
918 * login/pty-internal.h: Removed. Moved constants related to the
919 `grantpt' helper program protocol to ...
920 * login/pty-private.h: ... here. New file.
921 * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
922 to make the function work with kernels >= 2.1.115.
923 * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
924 version if using the cloning device fails.
925 * sysdeps/unix/sysv/linux/grantpt.c: New file.
926 * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
927 * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
928 use by Linux specific code.
929 * sysdeps/unix/bsd/unlockpt.c: General cleanup.
930 * sysdeps/unix/grantpt.c: Largely rewritten. (pts_name): New
931 function. (grantpt): Use pts_name, check group and permission
932 mode in addition to owner. Try to set the owner, group and
933 permission mode first without invoking the helper program.
934 * login/programs/pt_chown.c: Largely rewritten. Add argp and
935 internationalization support. Use symbolic constants instead of
936 hardwired numbers for permission mode.
937 * sysdeps/unix/bsd/ptsname.c: New file.
939 1998-09-17 22:04 Tim Waugh <tim@cyberelk.demon.co.uk>
941 * posix/wordexp-test.c: Undo last change.
943 * posix/wordexp.c: Undo last change.
945 1998-09-16 Ulrich Drepper <drepper@cygnus.com>
947 * nscd/grpcache.c (save_grp): Partly undo last change.
949 * nscd/pwdcache.c (save_pwd): Undo last change.
951 1998-09-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
953 * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
954 function. Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
956 1998-09-15 David S. Miller <davem@pierdol.cobaltmicro.com>
958 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
959 Add profiling support.
960 (TRAMPOLINE_TEMPLATE): New macro.
961 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
962 (RTLD_START): Prettify, and set __libc_stack_end properly.
963 (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
964 and check for sym being NULL instead.
965 * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
967 * sysdeps/sparc/sparc64/lshift.S: Likewise.
968 * sysdeps/sparc/sparc64/mul_1.S: Likewise.
969 * sysdeps/sparc/sparc64/rshift.S: Likewise.
970 * sysdeps/sparc/sparc64/submul_1.S: Likewise.
971 * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
972 MEDANY code model %g4 usage.
973 * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
974 MEDANY code model %g4 usage.
975 * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
976 code model address formation.
977 * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
978 include elf/ldsodefs.h
980 (elf_machine_matches_host): It is now EM_SPARCV9.
981 (elf_machine_dynamic): Clean up to remove ugly cast.
982 (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
984 (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
985 Prettify rest of function.
986 [R_SPARC_COPY]: Check for sym being NULL.
987 [R_SPARC_32]: Handle it.
988 [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
990 [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
992 [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
993 (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
994 Add profiling support.
995 (TRAMPOLINE_TEMPLATE): New macro.
996 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
997 (RTLD_START): Prettify and set __libc_stack_end.
998 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
1000 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
1001 (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
1002 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
1003 unused variable scratch.
1004 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1005 (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
1007 (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
1008 stub to rt_sigaction syscalls. Rewrite non-rt case to use correct
1009 old format kernel sigaction structures.
1010 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
1011 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
1012 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
1013 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
1015 (_JMPBUF_UNWINDS): Define.
1016 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
1017 statfs64 structure, which is exactly the same as the normal one.
1018 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
1019 of stack. Use correct syscall trap number. Add branch prediction
1020 settings to branch instructions. Remove old MEDANY code model %g4
1021 referneces for non-PIC.
1022 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
1023 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
1024 * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
1025 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
1026 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1027 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
1028 __libc_longjmp and __libc_siglongjmp strong aliases.
1029 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
1030 Also define to __no__readdir64_decl around readdir.c inclusion.
1031 (__readdir64): Add strong alias.
1032 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
1033 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
1034 Set strong and weak names properly.
1036 1998-09-16 11:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1038 * manual/Makefile (AWK): Default to gawk if standalone.
1040 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1042 * Makefile (distribute): Undo last change.
1043 * Make-dist (+tsrc) [not subdir]: Also include indirection headers
1045 (+subdir-headers): Removed, unused.
1047 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1049 * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
1052 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1054 * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
1055 absolute name in $(config-sysdirs), can never happen.
1056 ($(+sysdir_pfx)sysd-rules): Likewise.
1057 * Makeconfig (full-config-sysdirs): Likewise.
1058 (all-Subdirs-files): Prepend $(..).
1060 * configure.in: Don't check for absolute name in $add_ons_pfx, can
1061 not happen. Let --enable-add-ons=yes work if no add-ons actually
1064 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1066 * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
1067 continuations in command.
1069 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1071 * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
1073 1998-09-16 00:47 Tim Waugh <tim@cyberelk.demon.co.uk>
1075 * posix/wordexp-test.c: If expansion or substitution occurs
1076 anywhere in a word, the entire word is subject to field-splitting.
1078 * posix/wordexp.c (parse_glob): Look for end of word instead of
1079 end of field when deciding what to glob.
1080 (field_split_word): New function, now the only place where
1081 field-splitting is performed.
1082 (parse_dollars): New parameter - tell the caller if
1083 field-splitting should be performed on this word.
1085 * posix/wordexp-test.c (testit): Only call wordfree if wordexp
1086 succeeded (or failed with WRDE_NOSPACE).
1088 1998-09-15 19:53 1998 Tim Waugh <tim@cyberelk.demon.co.uk>
1090 * posix/wordexp.c (wordexp): Don't convert IFS characters to
1093 * posix/wordexp-test.c: Words not the result of expansion or
1094 substitution should remain unchanged.
1096 1998-09-15 Ulrich Drepper <drepper@cygnus.com>
1098 * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
1099 (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
1101 1998-09-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1103 * stdio-common/Makefile: Include Makeconfig so that
1104 $(inst_includedir) is defined.
1106 1998-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1108 * io/pwd.c: Include <mcheck.h>.
1110 1998-09-15 08:00 Ulrich Drepper <drepper@cygnus.com>
1112 * nscd/pwdcache.c (save_pwd): Correct copying.
1113 * nscd/grpcache.c (save_grp): Likewise.
1115 1998-09-14 23:36 Ulrich Drepper <drepper@cygnus.com>
1117 * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
1118 (free_pwd): Adjust for this change.
1119 * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
1120 (free_grp): Adjust for this change.
1122 1998-09-14 Ulrich Drepper <drepper@cygnus.com>
1124 * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
1126 1998-09-14 15:29 Ulrich Drepper <drepper@cygnus.com>
1128 * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
1129 (install-others): Add bits/stdio_lim.h.
1130 Add rule to install bits/stdio_lim.h.
1132 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
1134 * Makefile (distribute): Add include/sys/mman.h.
1136 * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
1137 * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
1138 * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
1140 * grp/initgroups.c: Include stdlib.h.
1141 Patch by Zack Weinberg.
1143 1998-09-14 22:46 Tim Waugh <tim@cyberelk.demon.co.uk>
1145 * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
1146 for field-splitting :abc: is correct, and that two fields should
1147 result. Revert tests to reflect this.
1149 * posix/wordexp.c (w_emptyword): Remove function.
1150 (exec_comm): Don't use w_emptyword.
1151 (parse_param): Likewise.
1153 1998-09-14 15:00 Ulrich Drepper <drepper@cygnus.com>
1155 * sysdeps/arm/fpu/Dist: Moved to...
1156 * sysdeps/arm/Dist: ...here.
1157 * sysdeps/posix/Dist: Removed.
1158 * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
1159 * sysdeps/unix/sysv/linux/i386/Dist: ...here.
1161 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
1163 * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
1165 1998-09-14 11:26 Ulrich Drepper <drepper@cygnus.com>
1167 * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
1169 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1171 * libc-work/nis/nss_nisplus/nisplus-service.c
1172 (_nss_nisplus_parse_servent): Convert port in network byte order.
1174 1998-09-14 07:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1176 * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
1177 to provide only malloc and calloc.
1178 * include/stdlib.h: Support the above.
1179 * string/bits/string2.h: Use __need_malloc_and_calloc when
1181 (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
1183 * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
1184 * iconvdata/iso646.c: Include <stdlib.h>.
1186 1998-09-14 07:51 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1188 * sunrpc/rpc_cout.c: Add braces around ambiguous else.
1189 * sysdeps/libm-ieee754/w_pow.c: Likewise.
1190 * sysdeps/libm-ieee754/w_powf.c: Likewise.
1191 * sysdeps/libm-ieee754/w_powl.c: Likewise.
1193 1998-09-14 07:57 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1195 * stdio-common/stdio_lim.h.in: New file. All parameters
1196 are adjustable at build time.
1197 * Rules: Add a rule to build bits/stdio_lim.h from
1198 stdio-common/stdio_lim.h.in. (It has to be in Rules so that
1199 all subdirectories know how to make the file. It can't be
1200 in Makerules because then it gets built at top level and the
1201 dependencies are wrong.)
1203 * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
1204 * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
1206 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
1207 * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
1208 * sysdeps/posix/Makefile: Removed.
1209 * sysdeps/posix/mk-stdiolim.c: Removed.
1210 * sysdeps/generic/bits/stdio_lim.h: Removed.
1212 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1214 * argp/argp-help.c: Fixup indentation.
1215 * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
1216 * resolv/nss_dns/dns-network.c: Likewise.
1217 * resolv/res_send.c: Likewise.
1218 * rt/aio_cancel.c: Likewise.
1219 * rt/aio_misc.c: Likewise.
1221 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1223 * Makefile (install-symbolic-link): Remove the link list file at last.
1224 * Makerules (install-clean-symbolic-link-list): Removed.
1226 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1228 * timezone/tst-timezone.c: Print time in UTC to get consistent
1231 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1233 * elf/rtld.c (_dl_rpath): Removed.
1234 * elf/dl-support.c (_dl_path): Removed.
1235 * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
1236 (CFLAGS-dl-support.c): Removed.
1238 * elf/dl-load.c (env_path_list): Renamed from fake_path_list. All
1240 (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
1241 instead of appending it to the main map's rpath info.
1242 (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
1243 DT_RPATHs. This makes it effective again.
1244 (decompose_rpath): Remove second parameter, callers changed.
1245 (fillin_rpath): Allocate enough space in curwd.
1246 (expand_dynamic_string_token): Cope with get_origin returning -1.
1248 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1250 * libc-work/nis/nss_compat/compat-pwd.c: Add support for
1253 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
1256 1998-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
1258 * locale/programs/locale.c: Update dates.
1260 1998-09-13 Mark Kettenis <kettenis@phys.uva.nl>
1262 * sysdeps/generic/bits/types.h: Include <features.h>. Make sure
1263 size_t is defined. Some reordering of defenitions to make
1264 maintaining this file in parallel with the linux-specific file easier.
1266 1998-09-13 Ulrich Drepper <drepper@cygnus.com>
1268 * io/pwd.c (main): Add call to mtrace.
1270 * malloc/mtrace.pl: Quote @ in string.
1272 1998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk>
1274 * posix/wordexp.c (parse_arith): Fix memory leaks.
1275 (exec_comm): Likewise.
1276 (parse_param): Likewise.
1277 (wordexp): Likewise.
1278 (exec_comm): Reduce number of function return points.
1279 (parse_param): Likewise.
1280 (wordexp): Likewise.
1282 1998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk>
1284 * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
1285 yield three fields, not two. Test both parameter expansion and
1286 command substitution for correct field-splitting behaviour.
1288 * posix/wordexp.c (w_emptyword): New function.
1289 (parse_param): Use it.
1290 (exec_comm): Likewise, for consistency with the way parse_param
1292 (parse_param): Fix some memory leaks.
1294 1998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au>
1296 * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
1297 Don't mark asm `volatile'.
1298 (__elf_machine_runtime_setup): Clear the last partial block in the PLT
1299 from the data cache too. Assume it isn't in the instruction cache yet.
1300 (__elf_machine_fixup_plt): Clear the modified address from the caches.
1302 1998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
1304 * sysdeps/generic/segfault.c (install_handler): Install signal
1305 handler with SA_ONSTACK instead of setting the stack flags to
1306 SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
1309 1998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1311 * signal/signal.h: Fix multiple inclusion guard to cover the
1313 * wcsmbs/wchar.h: Remove prototype of internal function
1315 * sysdeps/i386/i486/bits/string.h (memchr): Don't do
1316 arithmetic on `void *'.
1318 1998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
1320 * posix/wordexp-test.c: Fix wrong tests. Add new tests.
1322 * posix/wordexp.c (wordexp): Perform word-splitting instead of
1323 field-splitting here.
1324 (wordexp): If out of memory mid-word, free the word (but still
1325 leave pwordexp alone for caller to see).
1326 (parse_param): Allow for zero-length fields (smarter checking of
1327 memory allocation failure).
1328 (w_addword): Convert NULL words to "".
1329 (wordexp): Convert left-over IFS characters to blanks (like bash).
1331 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
1333 * configure.in: Use test -f instead of test -e.
1334 Patch by John Tobey <jtobey@banta-im.com>.
1336 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
1337 * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
1338 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
1339 * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
1340 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
1341 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
1342 * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
1343 Patches by John Tobey <jtobey@banta-im.com>.
1345 * time/strftime.c (my_strftime): Delay use of *tp values until
1346 latest possible point to allow partly initialized structures
1347 (e.g., from strptime).
1349 * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
1351 Define *-routines variables for new modules.
1352 (distribute): Add .c files for new modules.
1353 (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
1355 Add rules for header generation.
1356 * iconvdata/gconv-modules: Add entries for new modules.
1357 * iconvdata/iso_10367-box.c: New file.
1358 * iconvdata/mac-is.c: New file.
1359 * iconvdata/nats-dano.c: New file.
1360 * iconvdata/nats-sefi.c: New file.
1362 1998-04-30 18:20 H.J. Lu <hjl@gnu.org>
1364 * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
1365 loader if PIC is not defined.
1367 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
1369 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
1370 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
1371 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
1373 Define *-routines variables for new modules.
1374 (distribute): Add .c files for new modules.
1375 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
1376 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
1377 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
1378 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
1379 Add rules for header generation.
1380 * iconvdata/gconv-modules: Add entries for new modules.
1381 * iconvdata/csn_369103.c: New file.
1382 * iconvdata/cwi.c: New file.
1383 * iconvdata/dec-mcs.c: New file.
1384 * iconvdata/ecma-cyrillic.c: New file.
1385 * iconvdata/gost_19768-74.c: New file.
1386 * iconvdata/greek-ccitt.c: New file.
1387 * iconvdata/greek7-old.c: New file.
1388 * iconvdata/greek7.c: New file.
1389 * iconvdata/inis-8.c: New file.
1390 * iconvdata/inis-cyrillic.c: New file.
1391 * iconvdata/inis.c: New file.
1392 * iconvdata/iso6937-2.c: New file.
1393 * iconvdata/iso_2033.c: New file.
1394 * iconvdata/iso_5427-ext.c: New file.
1395 * iconvdata/iso_5427.c: New file.
1396 * iconvdata/iso_5428.c: New file.
1398 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
1400 Convert U02dd correctly.
1402 1998-09-11 20:46 Richard Henderson <rth@cygnus.com>
1404 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
1405 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
1406 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
1407 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
1409 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
1411 * resolv/res_init.c (res_init): Handle resolv.conf file with only
1412 one nameserver correctly. Patch by HJ Lu.
1414 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
1416 Define *-routines variables for new modules.
1417 (distribute): Add .c files for new modules.
1418 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
1419 Add rules for hedaer generation.
1420 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
1421 * iconvdata/ansi_x3.110.c: New file.
1422 * iconvdata/asmo_449.c: New file.
1423 * iconvdata/baltic.c: New file.
1424 * iconvdata/iec_p27-1.c: New file.
1426 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
1428 Convert U02dc correctly.
1430 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
1431 * math/atest-exp2.c: Likewise.
1432 * math/atest-sincos.c: Likewise.
1434 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
1437 1998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1439 * string/strcoll.c: Optimize a few expressions.
1440 * string/strxfrm.c: Likewise.
1442 1998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1444 * manual/locale.texi: Fix typos.
1446 1998-09-10 Ulrich Drepper <drepper@cygnus.com>
1448 * stdlib/random_r.c (__setstate_r): Allow call with same state
1449 array as currently used (PR libc/774).
1451 * include/limits.h: Include gcc's header even if this file is
1452 found more than once before it (PR libc/778)
1454 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
1455 (sysdep_headers): Remove sys/debugreg.h.
1456 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
1457 (sysdep_headers): Add sys/debugreg.h.
1458 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
1459 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
1461 * stdio-common/tmpnam.c: Move local static variable buf to
1462 toplevel and rename to tmpnam_buffer to ease debugging.
1463 Patch by Joe Keane <jgk@jgk.org>.
1464 Optimize s == NULL case a bit.
1466 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
1469 1998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
1471 * resolv/res_init.c (res_init): Initialize _res.nscount and
1472 _res.nsaddr.sin_port differently for the can when no loopback
1473 is available to allow immediate timeout in non-networking environments.
1474 Patch by Cristian Gafton <gafton@redhat.com>.
1476 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1478 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
1479 BAR and not EM DASH.
1480 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
1481 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
1484 1998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
1486 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
1488 * timezone/tst-timezone.c (tests): Fix typo in last patch.
1490 * time/tzfile.c (__tzfile_read): Handle case when there are no
1491 transitions. Set __timezone based on computed offset.
1492 * time/tzset.c (tzset_internal): Set __timezone before returning.
1494 * time/tzset.c (tzset_internal): Optimize handling of local string
1497 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1499 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
1502 1998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
1504 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
1505 (csqrt_test): Likewise.
1506 * sysdeps/powerpc/bits/fenv.h: Add parens.
1508 1998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
1510 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
1511 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
1512 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
1514 1998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
1516 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
1517 the special `-1' pointer.
1519 1998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
1521 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
1524 1998-09-07 Paul Eggert <eggert@twinsun.com>
1526 * time/mktime.c (__EXTENSIONS__): Define if not defined.
1527 (_REENTRANT): Remove. It has undesirable consequences in
1528 Solaris 2.6 (e.g. it turns off the putc macro). Defining
1529 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
1531 * time/strftime.c: Likewise.
1533 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1535 * elf/dl-error.c: Fix spelling.
1537 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1539 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
1540 * stdio-common/_itoa.c: Likewise.
1541 * stdio-common/printf_fp.c: Likewise.
1542 * stdio-common/vfscanf.c: Likewise.
1543 * wcsmbs/wcstok.c: Likewise.
1544 * sysdeps/generic/glob.c: Likewise.
1545 * posix/getopt.c: Likewise.
1546 * sysdeps/posix/getaddrinfo.c: Likewise.
1547 * posix/wordexp.c: Likewise.
1548 * io/ftw.c: Likewise.
1549 * io/fts.c: Likewise.
1550 * misc/getpass.c: Likewise.
1551 * iconv/gconv_conf.c: Likewise.
1552 * argp/argp-fmtstream.c: Likewise.
1553 * argp/argp-help.c: Likewise.
1554 * elf/dl-load.c: Likewise.
1555 * locale/programs/stringtrans.c: Likewise.
1556 * catgets/gencat.c: Likewise.
1557 * posix/getconf.c: Likewise.
1558 * iconv/gconv_conf.c: Likewise.
1559 * iconv/iconv_prog.c: Likewise.
1561 * string/strcoll.c: Optimize a few expressions.
1562 * string/strxfrm.c: Likewise.
1564 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1566 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
1567 level to avoid uninit variable warning.
1569 1998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1571 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
1572 instead of _dl_default_scope[2] as argument to _dl_init_next.
1574 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
1577 1998-09-08 Ulrich Drepper <drepper@cygnus.com>
1579 Fix compatibility problems introduced in last change.
1580 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
1582 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
1583 -DWEAK_GMON_START to CFLAGS-initfini.s.
1585 * elf/dl-object.c (_dl_new_object): Store map address in
1586 _dl_loaded if _dl_loaded is NULL.
1587 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
1589 * sysdeps/generic/setrlimit64.c: Remove stub warning.
1591 1998-09-07 Ulrich Drepper <drepper@cygnus.com>
1593 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
1595 * db2/btree/bt_cursor.c: Likewise.
1596 * db2/common/db_region.db_c: Likewise.
1597 * db2/common/db_salloc.db_c: Likewise.
1598 * db2/db/db.c: Likewise.
1599 * db2/db/db_rec.c: Likewise.
1600 * db2/hash/hash.c: Likewise.
1601 * db2/hash/hash_page.c: Likewise.
1602 * db2/hash/hash_rec.c: Likewise.
1603 * db2/log/log_findckp.c: Likewise.
1604 * db2/log/log_get.c: Likewise.
1605 * db2/log/log_put.c: Likewise.
1606 * db2/mp/mp_fget.c: Likewise.
1607 * db2/mp/mp_fput.c: Likewise.
1608 * db2/mp/mp_region.c: Likewise.
1609 * stdlib/strtol.c: Likewise.
1610 * string/strcoll.c: Likewise.
1611 * string/strxfrm.c: Likewise.
1612 * argp/argp-help.c: Likewise.
1613 * argp/argp-parse.c: Likewise.
1614 * resolv/res_debug.c: Likewise.
1616 1998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
1618 * math/tgmath.h (scalb): Only define for __USE_MISC or
1619 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
1621 1998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1623 * libio/stdio.h: Fix comment.
1625 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
1628 1998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1630 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
1632 * elf/dl-open.c: Quiet -Wparentheses warnings.
1633 * iconvdata/johab.c: Likewise.
1634 * iconvdata/uhc.c: Likewise.
1635 * inet/inet_net.c: Likewise.
1636 * io/fts.c: Likewise.
1637 * locale/newlocale.c: Likewise.
1638 * misc/getttyent.c: Likewise.
1639 * misc/mntent_r.c: Likewise.
1640 * misc/ttyslot.c: Likewise.
1641 * nscd/nscd_conf.c: Likewise.
1642 * nss/nsswitch.c: Likewise.
1643 * resolv/gethnamaddr.c: Likewise.
1644 * resolv/nsap_addr.c: Likewise.
1645 * resolv/res_debug.c: Likewise.
1646 * stdio-common/_itoa.c: Likewise.
1647 * stdlib/strtod.c: Likewise.
1648 * string/strverscmp.c: Likewise.
1649 * sunrpc/svc.c: Likewise.
1650 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
1651 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
1652 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
1653 * sysdeps/posix/getaddrinfo.c: Likewise.
1655 1998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
1657 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
1658 for use of global scope.
1659 * elf/dlvsym.c (dlvsym_doit): Likewise.
1661 1998-09-02 Paul Eggert <eggert@twinsun.com>
1663 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
1664 copy the redundant bytes at the end of the format as-is; don't
1665 just copy their first byte and then rescan, as that might get
1666 us an encoding error.
1667 Account correctly for the length of multibyte sequences in the
1670 1998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
1672 * posix/wordexp-test.c: Add tests for different IFS values.
1673 Change unquoted-newline test so that newline is not in IFS.
1675 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
1676 determining IFS characters. Return WRDE_BADCHAR for unquoted
1677 special characters _except_ if they are separators.
1679 1998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
1681 * include/tgmath.h: New file.
1683 * libio/stdio.h: Correct reversed #ifs.
1684 Patch by Zack Weinberg.
1686 * manual/creature.texi: Better explain reason for feature select
1688 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
1690 1998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1692 * include/alloca.h: Add multiple-inclusion guard.
1693 * include/db.h: Likewise.
1694 * include/db_185.h: Likewise.
1695 * include/dlfcn.h: Likewise.
1696 * include/fcntl.h: Likewise.
1697 * include/grp.h: Likewise.
1698 * include/libintl.h: Likewise.
1699 * include/mntent.h: Likewise.
1700 * include/pwd.h: Likewise.
1701 * include/sched.h: Likewise.
1702 * include/search.h: Likewise.
1703 * include/setjmp.h: Likewise.
1704 * include/shadow.h: Likewise.
1705 * include/signal.h: Likewise.
1706 * include/stdio.h: Likewise.
1707 * include/stdlib.h: Likewise.
1708 * include/string.h: Likewise.
1709 * include/termios.h: Likewise.
1710 * include/time.h: Likewise.
1711 * include/ulimit.h: Likewise.
1712 * include/utmp.h: Likewise.
1713 * include/wchar.h: Likewise.
1714 * include/sys/file.h: Likewise.
1715 * include/sys/gmon.h: Likewise.
1716 * include/sys/ioctl.h: Likewise.
1717 * include/sys/mman.h: Likewise.
1718 * include/sys/resource.h: Likewise.
1719 * include/sys/select.h: Likewise.
1720 * include/sys/socket.h: Likewise.
1721 * include/sys/statfs.h: Likewise.
1722 * include/sys/time.h: Likewise.
1723 * include/sys/times.h: Likewise.
1724 * include/sys/wait.h: Likewise.
1726 1998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
1728 * version.h (VERSION): Bump to 2.0.96.
1730 Rewrite runtime linker to be truly thread-safe. There is now no
1731 global variable specifying the scope. We create all needed
1732 scopes at the time the link maps are created.
1733 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
1734 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
1735 l_symbolic_searchlist, l_scope, and l_local_scope elements in
1737 * elf/dl-close.c: Rewritten accordingly.
1738 * elf/dl-deps.c: Likewise.
1739 * elf/dl-error.c: Likewise.
1740 * elf/dl-init.c: Likewise.
1741 * elf/dl-load.c: Likewise.
1742 * elf/dl-lookup.c: Likewise.
1743 * elf/dl-object.c: Likewise.
1744 * elf/dl-open.c: Likewise.
1745 * elf/dl-reloc.c: Likewise.
1746 * elf/dl-runtime.c: Likewise.
1747 * elf/dl-support.c: Likewise.
1748 * elf/dl-symbol.c: Likewise.
1749 * elf/dl-version.c: Likewise.
1750 * elf/dlsym.c: Likewise.
1751 * elf/dlvsym.c: Likewise.
1752 * elf/ldsodefs.h: Likewise.
1753 * elf/rtld.c: Likewise.
1754 * iconv/gconv_dl.c: Likewise.
1755 * nss/nsswitch.c: Likewise.
1756 * sysdeps/i386/dl-machine.h: Likewise.
1757 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
1759 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
1760 Define RTLD_DEFAULT.
1762 1998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
1764 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
1765 __getopt_clean_environment with __environ instead of envp.
1767 1998-09-05 Roland McGrath <roland@baalperazim.frob.com>
1769 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
1771 * string/argz-extract.c (__argz_extract): Add de-consting cast for
1774 * string/argz.h (argz_next): Add de-consting cast for return.
1775 * string/argz-next.c (__argz_next): Likewise.
1777 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
1778 Don't add netinet/udp.h, netinet/ip_icmp.h here.
1779 * sysdeps/gnu/Makefile: Do it here instead.
1780 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
1781 * sysdeps/gnu/Dist: ... to here.
1783 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
1784 sysdeps/unix/sysv/linux/netinet/tcp.h,
1785 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
1787 1998-09-04 Roland McGrath <roland@baalperazim.frob.com>
1789 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
1790 * string/argz-next.c, string/argz-extract.c: Fix defns.
1792 1998-09-03 Roland McGrath <roland@baalperazim.frob.com>
1794 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
1796 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
1797 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
1798 * sysdeps/generic/sysd-stdio.c: Likewise.
1800 1998-09-02 Ulrich Drepper <drepper@cygnus.com>
1802 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
1803 (_dl_map_object_from_fd): Make NAME argument const.
1804 Remove last parameter in _dl_new_object call.
1805 (print_search_path): Correct construction of composed path name.
1806 (_dl_map_object): Prevent looking at RPATH of the main map twice.
1807 Remove last parameter in _dl_new_object call.
1808 * elf/dl-object.c: Remove last parameter. Determine whether create
1809 origin entry based on empty realname. Handle file in root directory
1811 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
1812 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
1813 Remove last parameter in _dl_new_object call.
1814 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
1815 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
1817 1998-09-01 Ulrich Drepper <drepper@cygnus.com>
1819 * elf/dl-close.c (_dl_close): Add more comments and correct some.
1820 Free l_searchlist and l_dupsearchlist.
1822 * debug/catchsegv.sh: Add one more pair of quotes.
1824 1998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
1826 * elf/dl-load.c (add_name_to_object): Change return type to void and
1827 make NAME parameter const. Allocate room for NAME in same memory
1828 block used for l_libname entry.
1829 (_dl_map_object_from_fd): Don't free NAME on failure.
1830 (map_segment): Pass SONAME to add_name_to_object, not a copy.
1831 (_dl_map_object): Don't create copy of NAME. Pass NAME to
1832 _dl_map_object_from_fd.
1833 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
1834 memory block used for l_libname entry.
1835 * elf/dl-close.c: Adjust free()ing for this change.
1837 1998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
1839 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
1841 * malloc/mtrace.c: Add bug report address. Update email address.
1842 Add more @XXX@ to print correct address size.
1844 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
1847 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
1848 for munmap call instead of examining phdr again.
1849 Free all malloc()ed strings and arrays.
1851 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
1853 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
1855 * sysdeps/powerpc/dl-machine.c: New file.
1856 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
1857 files. Revise ELF_PREFERRED_ADDRESS to take account of
1858 the new mapping information (fixes bug involving huge bloated
1859 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
1860 * sysdeps/powerpc/dl-start.S: New file.
1862 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
1864 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
1865 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
1866 others. Call elf_dynamic_do_##reloc only once (to save even more
1868 * elf/link.h: Add new members l_map_start and l_map_end to keep
1869 track of the memory map.
1870 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
1873 1998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
1875 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
1876 Reported by Andreas Jaeger.
1878 * posix/glob.h: Use __size_t instead of size_t in definitions and
1879 make sure this is defined.
1881 1998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
1883 * manual/locale.texi: Almost complete rewrite. Document more functions
1885 * manual/arith.texi: Correct reference.
1886 * manual/string.texi: Pretty printing.
1888 * manual/texinfo.tex: Update from last available version.
1890 1998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
1892 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
1894 (_nss_nis_getpwuid_r): Likewise.
1895 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
1897 * inet/rcmd.c: Implement netgroup support.
1898 Patch by Dick Streefland <dick_streefland@tasking.com>.
1900 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
1902 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
1903 object on the list is removed. Don't use this code for PIC.
1904 Reported by HJ Lu [PR libc/770].
1906 1998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
1908 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
1910 * include/stdio.h: Add __vsscanf.
1912 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
1914 Remove __vsscanf declaration.
1915 Always declare fgetpos and fsetpos.
1917 * math/math.h: Define isinf as macro.
1918 * math/bits/mathcalls.h: Change to declare __isinf all the time.
1919 Don't declare scalb for ISO C 9x.
1921 * math/tgmath.h: Define fma. Rewrite the underlying macros.
1923 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
1925 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
1928 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
1931 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1933 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
1934 Reported by jreising@frequentis.com [PR libc/767].
1936 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1938 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
1939 fl.l_start at beginning of function.
1940 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
1942 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
1944 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
1945 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
1947 * nscd/nscd.init: Make it work in RedHat systems.
1948 Patch by Christian Gafton.
1950 1998-08-29 Philip Blundell <philb@gnu.org>
1952 * catgets/Makefile: Don't try to run test programs when
1955 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
1957 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
1958 Reported by Zack Weinberg.
1960 1998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1962 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
1963 * elf/Makefile (distribute): Remove ldd.sh.in.
1965 1998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1967 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
1970 1998-08-29 Ulrich Drepper <drepper@cygnus.com>
1972 * sysdeps/i386/register-dump.h: Move to ...
1973 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
1975 1998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
1977 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
1978 with load address, not map address.
1979 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
1980 parameter and use this value.
1981 * sysdeps/arm/dl-machine.h: Likewise.
1982 * sysdeps/i386/dl-machine.h: Likewise.
1983 * sysdeps/m68k/dl-machine.h: Likewise.
1984 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
1986 * sysdeps/powerpc/dl-machine.h: Likewise
1987 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
1988 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
1990 1998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
1992 * elf/rtld.c (process_envvars): Fix copy&paste error.
1994 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
1996 (realloc_hook_ini): Don't overwrite memalign hook.
1997 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
1998 Reported by Philippe Troin <phil@fifi.org>.
2000 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
2001 Patch by Philippe Troin <phil@fifi.org>.
2003 1998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2005 * sysdeps/generic/segfault.c (install_handler): Protect the
2006 non-POSIX signals with #ifdef.
2007 (catch_segfault): Add missing mode parameter for open.
2008 * debug/catchsegv.sh: Avoid termination message from shell. Allow
2009 other termination signals.
2011 1998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2013 * debug/Makefile (distribute): Add register-dump.h.
2015 1998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2017 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
2019 1998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
2021 * elf/Makefile (distribute): Add dl-origin.h.
2022 * sysdeps/generic/dl-origin.h: New file.
2023 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
2024 * elf/link.h (struct link_map): Add l_origin field.
2025 * elf/dl-load.c (expand_dynamic_string_token): New function.
2026 (decompose_path): Remove WHERE argument, take link map pointer instead.
2027 Call expand_dynamic_string_token instead of local_strdup to make copy
2029 (_dl_init_paths): Call decompose_path with correct argument.
2030 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
2032 Check EI_OSABI and EI_ABIVERSION fields in header.
2033 Call _dl_new_object with extra argument.
2034 (_dl_map_object): Call decompose_path with correct argument.
2035 Call expand_dynamic_string_token instead of local_strdup to also
2037 Call _dl_new_object with extra argument.
2038 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
2039 but the main one if new argument is nonzero.
2040 * elf/ldsodefs.h: Adjust for _dl_new_object change.
2041 * elf/dl-support.c: Define _dl_origin_path.
2042 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
2043 (dl_main): Call _dl_new_object with extra argument.
2045 * elf/dl-close (_dl_close): Free l_name and l_origin.
2047 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
2048 modifier in asm, not c.
2050 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
2051 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
2053 1998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
2055 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
2056 variable so that map can be freed.
2057 Reported by Philippe Troin <phil@fifi.org>.
2059 * elf/dl-open.c (dl_open_worker): Correct test for extending global
2061 Patch by Philippe Troin <phil@fifi.org>.
2063 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
2065 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
2066 Don't call writev() with a 100-element vector.
2067 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
2070 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
2071 In particular, set __libc_stack_end.
2072 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
2073 undefined. Fix copyright notice.
2075 1998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2077 * math/Makefile (gmp-objs): New variable.
2078 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
2080 (tests): Add atest-exp atest-sincos atest-exp2.
2081 (tests-static): Remove atest-exp atest-sincos atest-exp2.
2083 1998-08-25 Ulrich Drepper <drepper@cygnus.com>
2085 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
2087 (_dl_unload_cache): New function.
2088 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
2089 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
2090 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
2092 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
2093 Correct comment for O_LARGEFILE.
2094 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
2095 Change O_LARGEFILE to correct value.
2097 1998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
2099 * libio/iogetline.c (_IO_getline_info): Don't read anything for
2100 N == 0. Patch by HJ Lu.
2102 1998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
2104 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
2106 1998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
2108 * argp/argp.h: Use __inline__ not inline.
2110 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
2111 an input register as being clobbered.
2112 * sysdeps/i386/memset.c (memset): Likewise.
2113 * sysdeps/i386/bzero.c (__bzero): Likewise.
2114 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
2116 1998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2118 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
2119 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
2121 1998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
2123 * debug/catchsegv.sh: Handle text preceding backtrace better.
2124 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
2125 to be installed for other signals than SIGSEGV.
2126 * sysdeps/generic/register-dump.h: New file.
2127 * sysdeps/i386/register-dump.h: New file.
2128 * sysdeps/powerpc/register-dump.h: New file.
2130 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
2132 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
2134 1998-08-24 Geoff Keating <geoffk@ozemail.com.au>
2136 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
2138 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
2140 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
2141 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
2142 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
2143 getresuid, getresgid.
2145 1998-08-16 Geoff Keating <geoffk@ozemail.com.au>
2147 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
2148 pointer in userland.
2150 1998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2152 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
2155 1998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2157 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
2158 over arguments Bourne shell compatible. Don't exit unsuccessfully
2159 if nonelf returns successfully. Avoid duplicating most of the
2161 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
2164 1998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2166 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
2168 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
2169 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
2171 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
2173 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
2174 __modify_ldt and modify_ldt.
2175 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
2177 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2178 Use orl $-1 instead of movl $-1 to save two bytes.
2179 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
2182 1998-08-17 H.J. Lu <hjl@gnu.org>
2184 * libio/Versions (_IO_do_write, _IO_file_attach,
2185 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2186 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2187 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2188 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
2190 * libio/fileops.c (_IO_do_write, _IO_file_attach,
2191 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2192 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2193 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2194 _IO_file_write, _IO_file_xsputn): Change the prefix to
2195 "_IO_new_". Added to GLIBC_2.1.
2197 * libio/libioP.h (_IO_do_write, _IO_file_attach,
2198 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2199 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2200 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2201 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
2204 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
2205 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2206 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2207 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2208 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
2210 1998-08-23 Richard Henderson <rth@cygnus.com>
2212 * Makeconfig (LDFLAGS): Remove.
2214 * csu/initfini.c: Return to .text before __gmon_start__.
2216 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
2217 (STO_MIPS_*): Rename from STO_*.
2218 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
2219 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
2221 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
2222 (main): e3s is negative on zero.
2223 * math/atest-exp2.c: Likewise.
2224 * math/atest-sincos.c: Likewise.
2226 1998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2228 * Makerules (install): Add comment about absolute paths.
2230 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
2232 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
2233 array to NUL to handle maxlen==1 case correctly.
2236 1998-08-23 Richard Henderson <rth@cygnus.com>
2238 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
2239 * sysdeps/alpha/elf/crtend.S: Likewise.
2240 * sysdeps/alpha/elf/start.S: Likewise.
2242 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
2243 non-standard pv usage.
2245 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
2246 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
2247 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
2248 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
2249 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
2250 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
2251 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
2252 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
2253 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
2254 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
2255 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
2257 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
2258 a finite non-denormal, deferring to the full IEEE version otherwise.
2260 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
2261 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
2262 * sysdeps/alpha/fpu/s_floor.c: New.
2263 * sysdeps/alpha/fpu/s_floorf.c: New.
2264 * sysdeps/alpha/fpu/s_ceil.c: New.
2265 * sysdeps/alpha/fpu/s_ceilf.c: New.
2267 1998-08-22 Philip Blundell <philb@gnu.org>
2269 * sysdeps/arm/bits/string.h: New file.
2271 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2273 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
2276 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
2277 test for recent Linux 2.1.100+ headers.
2279 1998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2281 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
2283 1998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
2285 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
2287 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2289 * Makefile (elf/ldso_install): Put back. The problem still persists.
2290 * elf/Makefile (ldso_install): Likewise.
2292 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2294 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
2296 * include/db.h: Declare __nss_db_open.
2297 * db2/Versions: Export it.
2299 * db2/makedb.c: Convert to use db2 API.
2300 * nss/nss_db/db-XXX.c: Likewise.
2301 * nss/nss_db/db-netgrp.c: Likewise.
2302 * nss/nss_db/db-alias.c: Likewise.
2303 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
2305 1998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2307 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
2308 sys_setresuid, already built automatically (or not).
2309 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
2310 instead of __syscall_setresuid and add back setresuid.
2311 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
2312 __syscall_setresuid.
2314 1998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2316 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
2318 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
2320 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
2321 BASH-ONLY marked region.
2322 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
2324 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
2326 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
2329 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
2331 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
2334 1998-08-21 Roland McGrath <roland@baalperazim.frob.com>
2336 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
2337 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
2338 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
2339 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
2340 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
2341 those magic comments, and to use /bin/sh for @BASH@.
2342 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
2343 * elf/ldd.sh.in: File removed.
2345 1998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
2347 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
2348 cast them to unsigned long int.
2349 * pwd/putpwent.c (putpwent): Likewise.
2350 Patch by John Tobey <jtobey@banta-im.com>.
2352 1998-08-20 17:14 H.J. Lu <hjl@gnu.org>
2354 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
2357 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
2359 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
2362 1998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
2364 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
2365 Add umount and umount2.
2366 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
2367 * sysdeps/unix/sysv/linux/umount.S: New file.
2368 * sysdeps/unix/sysv/linux/umount2.S: New file.
2369 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
2372 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
2374 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
2375 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
2377 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
2379 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
2382 1998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
2384 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
2385 * elf/ldd.bash.in: Likewise.
2387 * elf/sln.c: Avoid warning for no main prototype.
2389 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
2391 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
2392 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2394 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
2396 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
2397 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
2398 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2400 1998-08-20 Philip Blundell <pb@nexus.co.uk>
2402 * sysdeps/arm/fpu/ieee754.h: Move to...
2403 * sysdeps/arm/ieee754.h: ... here.
2405 * sysdeps/arm/__longjmp.S: Put return value in correct register.
2406 Don't set the condition flags unnecessarily.
2407 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
2408 registers correctly.
2410 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
2411 (patch from Scott Bambrough).
2413 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
2415 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
2416 NULL, just call it unconditionally.
2417 (__gmon_start__): Provide stub version as a weak symbol.
2419 1998-07-30 Philip Blundell <philb@gnu.org>
2421 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
2424 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
2425 like `@' in .type directives.
2427 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
2428 * sysdeps/arm/bsd-_setjmp.S: Likewise.
2430 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
2432 1998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2434 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
2435 (F_GETOWN): Likewise.
2437 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
2440 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
2442 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
2445 1998-08-18 Ulrich Drepper <drepper@cygnus.com>
2447 * include/features.h: Define __USE_EXTERN_INLINES for recent
2449 * argp/argp.h: Define extern inline functions only if
2450 __USE_EXTERN_INLINES is defined.
2451 * libio/stdio.h: Likewise.
2452 * math/math.h: Likewise.
2453 * stdlib/stdlib.h: Likewise.
2454 * string/argz.h: Likewise.
2455 * sysdeps/generic/bits/sigset.h: Likewise.
2456 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
2457 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
2458 * sysdeps/wordsize-32/inttypes.h: Likewise.
2459 * sysdeps/wordsize-64/inttypes.h: Likewise.
2460 * wcsmbs/wchar.h: Likewise.
2462 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
2463 to allow compilation without optimization.
2465 1998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2467 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
2469 * nis/nss_compat/compat-initgroups.c: Likewise.
2470 * nis/nss_compat/compat-pwd.c: Likewise.
2471 * nis/nss_compat/compat-spwd.c: Likewise.
2472 * nis/nss_nis/nis-alias.c: Likewise.
2473 * nis/nss_nis/nis-ethers.c: Likewise.
2474 * nis/nss_nis/nis-grp.c: Likewise.
2475 * nis/nss_nis/nis-hosts.c: Likewise.
2476 * nis/nss_nis/nis-initgroups.c: Likewise.
2477 * nis/nss_nis/nis-network.c: Likewise.
2478 * nis/nss_nis/nis-proto.c: Likewise.
2479 * nis/nss_nis/nis-pwd.c: Likewise.
2480 * nis/nss_nis/nis-rpc.c: Likewise.
2481 * nis/nss_nis/nis-service.c: Likewise.
2482 * nis/nss_nis/nis-spwd.c: Likewise.
2484 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
2486 * nis/ypclnt.c: Try binding dir only first time, could be to old.
2488 * nis/yp_xdr.c: Remove 1024 byte limit.
2489 * nis/ypupdate_xdr.c: Likewise.
2491 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
2494 1998-08-18 Roland McGrath <roland@baalperazim.frob.com>
2496 * Rules (binaries-static, binaries-shared static pattern rules):
2497 Depend on lib%, not just libc%, from $(link-libc{,-static}).
2499 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
2500 this here, overriding Makeconfig generic value so we link against
2503 1998-08-17 Ulrich Drepper <drepper@cygnus.com>
2505 * posix/tstgetopt.c (options): Add NULL entry at end
2506 Patch by Adrian Miranda <ade@psg.com>.
2508 1998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
2510 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
2513 1998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
2515 * elf/elf.h: Add PPC Diab relocations.
2517 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
2519 1998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
2521 * manual/texinfo.tex: Update.
2523 1998-08-07 Geoff Keating <geoffk@ozemail.com.au>
2525 * sysdeps/powerpc/backtrace.c: New file.
2527 1998-08-14 Philip Blundell <pb@nexus.co.uk>
2529 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
2531 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
2533 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2535 * Makefile (install-symbolic-link): Fix spelling.
2537 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2539 * elf/elf.h (SHT_HIOS): Fix value.
2541 1998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2543 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
2544 part of the expansion, this is undefined by the standard.
2546 1998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
2548 * posix/getconf.c: Add support for systems with incomplete confname.h.
2550 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
2552 * sysdeps/posix/wait3.c: Make it work.
2554 1998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2556 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
2557 (elf/ldso_install): Remove.
2559 * elf/Makefile (distribute): Add sln.c.
2561 (others-static): Add sln.
2562 (install-rootsbin): Add sln.
2563 (others-static): Add sln.
2564 (ldso_install): Remove.
2566 1998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2568 * Makerules (install-clean-symbolic-link-list): Make phony.
2569 * Makefile (install-symbolic-link): Make phony. Depend on
2570 subdir_install for parallel makes.
2573 1998-07-22 Ulrich Drepper <drepper@cygnus.com>
2575 * elf/Makefile (distribute): Add sln.c
2577 1998-07-21 07:10 H.J. Lu <hjl@gnu.org>
2579 * elf/sln.c: New file.
2581 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
2582 (install-clean-symbolic-link-list): New target.
2583 (install): Depend on install-clean-symbolic-link-list.
2584 (make-shlib-link): Changed for $(symbolic-link-list).
2586 * Makefile (install-symbolic-link): New target.
2587 (install): Depend on install-symbolic-link.
2589 1998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
2591 * include/unistd.h: Protect against multiple inclusion.
2593 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
2594 is defined, not is glob is defined.
2595 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
2597 1998-08-01 17:18 H.J. Lu <hjl@gnu.org>
2599 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
2600 xdr_string for ut_line, ut_name and ut_host.
2602 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2604 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
2605 /var/mail in accordance with FHS 2.0.
2606 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
2608 1998-08-12 Richard Henderson <rth@cygnus.com>
2610 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
2611 Update aliases for cancelation.
2613 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
2614 playing with symbol versions.
2616 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
2618 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
2619 multiple inclusion protection.
2620 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
2621 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
2622 define all these to 1.
2623 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
2625 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
2627 * sysdeps/mach/usleep.c: Include <unistd.h>.
2628 (usleep): Return void.
2630 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
2632 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
2633 decl to inhibit warning in if_freenameindex defn.
2635 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
2637 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
2639 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
2640 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
2641 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
2642 * sysdeps/mach/usleep.c: Likewise.
2644 * sysdeps/mach/hurd/bind.c (bind): Add a const.
2646 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
2647 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
2648 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
2649 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
2650 * sysdeps/mach/usleep.c (usleep): Likewise.
2651 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
2652 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
2653 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
2654 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
2656 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
2658 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
2661 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
2662 %p arg to fprintf, since `void *' is the right type already.
2664 1998-07-25 19:47 Jose M. Moya <josem@gnu.org>
2666 * sysdeps/mach/hurd/getcwd.c
2667 (_hurd_canonicalize_directory_name_internal): Do not loop forever
2668 for unknown root directories.
2669 (__getcwd): Return NULL when the current root directory could not
2672 1998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
2674 * string/strsignal.c (strsignal): Count real-time signals from zero.
2677 See ChangeLog.8 for earlier changes.