Update.
[glibc.git] / ChangeLog
blobace7517da86981b09371a9bc1cbbee76e2ed6ec8
1 1998-10-16  Paul Eggert  <eggert@shade.twinsun.com>
3         * time/mktime.c: Some systems require <unistd.h> to be
4         included before <time.h> for localtime_r to be declared
5         properly.
6         * time/strftime.c: Likewise.
8 1998-10-16  Ulrich Drepper  <drepper@cygnus.com>
10         * db/Makefile: Add rule to generate shared object with the soname
11         from glibc 2.0.
13         * sysdeps/unix/opendir.c: Use O_DIRECTORY if available.  If not
14         available double check to verify it's a directory.
16         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add O_DIRECTORY.
17         * sysdeps/unix/sysv/linux/mips/bits/fcntl: Likewise.
18         * sysdeps/unix/sysv/linux/bits/fcntl.h: Remove O_* constants which
19         are not generally available.
20         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: New file.
22         * sysdeps/unix/sysv/linux/i386/setgroups.c: Add range check for values.
23         * sysdeps/unix/sysv/linux/arm/Makefile: New file.
24         * sysdeps/unix/sysv/linux/arm/setegid.c: New file.
25         * sysdeps/unix/sysv/linux/arm/seteuid.c: New file.
26         * sysdeps/unix/sysv/linux/arm/setfsgid.c: New file.
27         * sysdeps/unix/sysv/linux/arm/setfsuid.c: New file.
28         * sysdeps/unix/sysv/linux/arm/setgid.c: New file.
29         * sysdeps/unix/sysv/linux/arm/setgroups.c: New file.
30         * sysdeps/unix/sysv/linux/arm/setresgid.c: New file.
31         * sysdeps/unix/sysv/linux/arm/setresuid.c: New file.
32         * sysdeps/unix/sysv/linux/arm/setuid.c: New file.
33         * sysdeps/unix/sysv/linux/i386/setegid.c: New file.
34         * sysdeps/unix/sysv/linux/i386/seteuid.c: New file.
35         * sysdeps/unix/sysv/linux/i386/setfsgid.c: New file.
36         * sysdeps/unix/sysv/linux/i386/setfsuid.c: New file.
37         * sysdeps/unix/sysv/linux/i386/setgid.c: New file.
38         * sysdeps/unix/sysv/linux/i386/setgroups.c: New file.
39         * sysdeps/unix/sysv/linux/i386/setresgid.c: New file.
40         * sysdeps/unix/sysv/linux/i386/setresuid.c: New file.
41         * sysdeps/unix/sysv/linux/i386/setuid.c: New file.
42         * sysdeps/unix/sysv/linux/m68k/setegid.c: New file.
43         * sysdeps/unix/sysv/linux/m68k/seteuid.c: New file.
44         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: New file.
45         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: New file.
46         * sysdeps/unix/sysv/linux/m68k/setgid.c: New file.
47         * sysdeps/unix/sysv/linux/m68k/setgroups.c: New file.
48         * sysdeps/unix/sysv/linux/m68k/setresgid.c: New file.
49         * sysdeps/unix/sysv/linux/m68k/setresuid.c: New file.
50         * sysdeps/unix/sysv/linux/m68k/setuid.c: New file.
51         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
52         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
53         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: New file.
54         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: New file.
55         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: New file.
56         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
57         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file.
58         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file.
59         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: New file.
61         * sysdeps/unix/sysv/linux/arm/syscalls.list: Add s_setgid, s_setresuid,
62         s_setresgid, and s_setuid.
63         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
64         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
65         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
66         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
67         (sysdep_routines): Add setfsgid, setfsuid, setresgid, and setresuid.
68         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
69         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
71 1998-10-16  Ulrich Drepper  <drepper@cygnus.com>
73         * time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get
74         localtime_t declaration on some systems.
76 1998-10-16 10:07  Ulrich Drepper  <drepper@cygnus.com>
78         * iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to
79         -DSTATIC_GCONV.
80         * iconv/skeleton.c: Include ELF header only of STATIC_GCONV is not
81         defined.  Avoid using DL_CLL_FCT if it is not defined.
83 1998-10-16 10:40 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
85         * resolv/arpa/nameser.h: Include sys/types.h unconditionally.
86         Include endian.h unconditionally.  Remove portability goop
87         depending on #ifdef linux, #ifdef BSD, #ifdef machine-type.
89 1998-10-16 11:39 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
91         * sunrpc/rpc/types.h: Mark file so fixincludes won't modify it.
93 1998-10-15  Ulrich Drepper  <drepper@cygnus.com>
95         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios
96         again.  Use char[44] to define size of the struct.
98         * sysdeps/unix/sysv/linux/arm/Dist: Add bits/armsigctx.h.
100 1998-10-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
102         * string/bits/string2.h (strcmp): Don't cache the result of
103         __builtin_constant_p in variables, otherwise constant folding
104         can fail in big functions.
106 1998-10-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
108         * string/bits/string2.h: Add prototypes for the new inline
109         functions.
111 1998-10-15  Ulrich Drepper  <drepper@cygnus.com>
113         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to
114         have all types defined.
115         Patch by Matti Aarnio <matti.aarnio@sonera.fi>.
117 1998-10-08  Paul Eggert  <eggert@twinsun.com>
119         * time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r.
120         Define also if HAVE_LOCALTIME_R && defined localtime_r, with
121         a body that merely expands localtime_r; this works around a
122         bug in Digital Unix 4.0A and 4.0D.
124 1998-10-14  Ulrich Drepper  <drepper@cygnus.com>
126         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl.
127         * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define
128         __ioctl to __syscall_ioctl and include Linux version of this file.
129         * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
130         * sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file.  Redirect
131         ioctl calls which handle struct termios.
132         Based on a patch by Dan Jacobowitz <drow@false.org>.
134 1998-10-14  Ulrich Drepper  <drepper@cygnus.com>
136         * version.h (VERSION): Bump to 2.0.98.
138         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios
139         here instead of including kernel_termios.h.
141 1998-10-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
143         * sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is
144         unnecessary after the changes of 1998-10-12.
146 1998-10-13  Ulrich Drepper  <drepper@cygnus.com>
148         * sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output
149         parameter format string.
150         (inline_outw): Likewise.
152         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include
153         string.h to get memcpy prototype and NULL definition.
155 1998-10-12  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
157         * misc/sys/cdefs.h (__THROW): New macro.
158         * argp/argp.h: Use it to replace the kludgey __P in inline
159         function definitions.
160         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
161         * stdlib/stdlib.h: Likewise.
162         * wcsmbs/wchar.h: Likewise.
163         * libio/stdio.h: Likewise.
164         * stdio/stdio.h: Likewise.
165         * sysdeps/wordsize-64/inttypes.h: Likewise.
166         * sysdeps/wordsize-32/inttypes.h: Likewise.
167         * string/argz.h: Likewise.
168         * io/sys/stat.h: Likewise.
170 1998-10-12  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
172         * Rules (stdio_lim): New variable.
173         ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend
174         on Rules and config.make, use $(move-if-change) to avoid unnessary
175         recompilations, and cleanup command.
176         (common-generated): Add bits/stdio_lim.st.
178 1998-10-12  Ulrich Drepper  <drepper@cygnus.com>
180         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): New
181         variable to prevent warnings from use of modern CPU instructions.
182         Patch by Richard Henderson <rth@cygnus.com>.
184         * sysdeps/unix/opendir.c: Test whether NAME is directory before
185         opening it.
187 1998-10-12  Philip Blundell  <pb@nexus.co.uk>
189         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Add missing
190         semicolon so that profiling works.
192 1998-10-12  Roland McGrath  <roland@baalperazim.frob.com>
194         * sysdeps/generic/glob.c: #undef mempcpy before #define.
196         * sysdeps/unix/bsd/clock.c: Use prototype defns.
198 1998-10-11  Ulrich Drepper  <drepper@cygnus.com>
200         * Rules [posix in sysdirs]: Set L_tmpnam to 20.
201         Patch by Zack Weinberg <zack@rabi.columbia.edu>.
203         * string/bits/string2.h [!_STRING_ARCH_unaligned]
204         (__mempcpy_small): Add parameter for 1 byte copy and use it.
205         Reported by Geoff Keating <geoffk@ozemail.com.au>.
207 1998-10-09  Mark Kettenis  <kettenis@phys.uva.nl>
209         * sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove,
210         it is already defined in <bits/environments.h>.
212 1998-10-09  Ulrich Drepper  <drepper@cygnus.com>
214         * posix/ptestcases.h: Fix typo.
216 1998-10-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
218         * posix/regex.c (regcomp): Allocate and prepare a fastmap.
219         (regexec): Allocate regs.start and regs.end as one block.
221 1998-10-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
223         * sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of
224         enum decl.
226 1998-10-08  Philip Blundell  <pb@nexus.co.uk>
228         * sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of
229         sigcontext union to ...
230         * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here.  New
231         file.
232         * sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for
233         version 2.0 kernels.
235 1998-10-08  Ulrich Drepper  <drepper@cygnus.com>
237         * malloc/mtrace.c (tr_reallochook): Produce better output for real
238         reallocation case.
240         * signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined.
241         * argp/argp-xinl.c: Likewise.
243         * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing
244         Ruffian entry back.
245         Patch by Christian Gafton.
247 1998-10-08  Paul Eggert  <eggert@twinsun.com>
249         * time/mktime.c (__mktime_internal): When the requested time falls
250         in a spring-forward gap of size DT, return a time that is DT away
251         from the requested time, preferring a time whose tm_isdst differs
252         from the requested value.  Bump the max number of probes from 4 to
253         6 to account for the extra probes needed to discover a
254         spring-forward gap in the worst case.
256 1998-10-07 17:05  Ulrich Drepper  <drepper@cygnus.com>
258         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection
259         of the weird alpha architectures.
260         Patch by Cristian Gafton <gafton@redhat.com>.
262 1998-02-18 23:31  Richard Henderson  <rth@cygnus.com>
264         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
265         RAWHIDE and TSUNAMI.  Patch from Jay.Estabrook@digital.com.
267 1998-10-07  Ulrich Drepper  <drepper@cygnus.com>
269         * elf/dl-open.c (_dl_global_scope_alloc): Make global.
270         (dl_open_worker): Use realloc, not malloc to resize array.
271         * elf/rtld.c (_dl_initial_searchlist): New variable.
272         (_dl_main): Copy content of _dl_main_searchlist to
273         _dl_initial_searchlist.
274         * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and
275         _dl_global_scope_alloc.
276         * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist.
277         * elf/dl-close.c (_dl_close): When removing object with global
278         scope remove allocated searchlist if no dynamically loaded object
279         is on it anymore.
280         * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope.
281         (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist.
283         * malloc/mtrace.c (tr_where): Don't print space in location string,
284         print it afterwards.  Print better symbol name information.
286 1998-10-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
288         * manual/filesys.texi (Setting Permissions): Fix example for
289         reading umask.
291 1998-10-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
293         * elf/sprof.c (load_profdata): Fix typo in error message.
295 1998-10-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
297         * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
298         flag.
300 1998-10-04  Roland McGrath  <roland@baalperazim.frob.com>
302         * mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it.
304 1998-10-06  Ulrich Drepper  <drepper@cygnus.com>
306         * version.h (VERSION): Bump to 2.0.97.
308 1998-10-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
310         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P
311         in definitions of inline stat functions so that they match the
312         declaration.
313         * stdlib/stdlib.h: Likewise.
314         * wcsmbs/wchar.h: Likewise.
315         * libio/stdio.h: Likewise.
316         * stdio/stdio.h: Likewise.
317         * sysdeps/wordsize-64/inttypes.h: Likewise.
318         * sysdeps/wordsize-32/inttypes.h: Likewise.
319         * string/argz.h: Likewise.
320         * argp/argp.h: Likewise.
322 1998-10-06  Ulrich Drepper  <drepper@cygnus.com>
324         * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
325         netinet/in.h.
327 1998-10-05  Philip Blundell  <philb@gnu.org>
329         * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures
330         and constants.  Tidy up formatting a little.
332         * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6):
333         Move definitions to in.h.
335 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
337         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER,
338         SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added.
339         Remove inclusion of <linux/swap.h>.
341 1998-10-05  Ulrich Drepper  <drepper@cygnus.com>
343         * io/sys/stat.h: Use __P in definitions of inline stat functions
344         so that they match the declaration.
346 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
348         * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added.
350 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
352         * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current
353         linux 2.1 version.
355 1998-10-02  Philip Blundell  <pb@nexus.co.uk>
357         * sysdeps/arm/dl-machine.h: Fix typo in last change.
359         * sysdeps/arm/bits/huge_val.h: New file.
361 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
363         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added.
365         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add
366         define.
368 1998-10-05  Ulrich Drepper  <drepper@cygnus.com>
370         * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to
371         store result of realloc instead of using BUF.
373 1998-10-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
375         * misc/sgtty.h (_SGTTY_H): Correct spelling.
376         Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817].
378 1998-10-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
380         * manual/memory.texi (Obstacks): Document
381         obstack_alloc_failed_handler usage.
383         * malloc/obstack.h: Enhance comment about
384         obstack_alloc_failed_handler usage.
385         * malloc/obstack.c: Likewise.
387 1998-10-05  Ulrich Drepper  <drepper@cygnus.com>
389         * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or
390         gcc before 2.8 is used.
392 1998-10-01  Philip Blundell  <pb@nexus.co.uk>
394         * sysdeps/arm/machine-gmon.h: Correct args to mcount().  Patch
395         from Scott Bambrough.
397         * sysdeps/unix/sysv/linux/arm/register-dump.h: New file.
399         * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
400         include the lock member.
402 1998-09-03  Philip Blundell  <pb@nexus.co.uk>
404         * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.
406 1998-10-01  Ulrich Drepper  <drepper@cygnus.com>
408         * timezone/zic.c: Update from tzcode1998h.
409         * timezone/europe: Update from tzdata1998i.
410         * timezone/southamerica: Likewise.
412         * sys/types.h: Protect use of long long by __extension__.
413         * stdlib/stdlib.h: Likewise.
414         * string/string.h: Likewise.
415         * sysdeps/i386/bits/byteswap.h: Likewise.
416         * sysdeps/geeric/bits/byteswap.h: Likewise.
417         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
418         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
419         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
420         * sysdeps/wordsize-32/inttypes.h: Likewise.
421         * sysdeps/wordsize-32/stdint.h: Likewise.
422         * wcsmbs/wchar.h: Likewise.
424 1998-09-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
426         * string/bits/string2.h (__string2_1bptr_p): Don't use a statement
427         expression.
428         (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
429         __strsep): Greatly reduce size of expansion by combining common
430         expressions.
431         (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
432         inline function.
433         (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
434         by the above definitions.
436 1998-09-27  Geoff Keating  <geoffk@ozemail.com.au>
438         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
439         correct struct ipc_perm definition.
441 1998-09-29  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
443         * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.
445 1998-09-29  Cristian Gafton  <gafton@redhat.com>
447         * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
448         * sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
449         * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
450         * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
451         Add net/if_shaper.h.
453 1998-09-29  Ulrich Drepper  <drepper@cygnus.com>
455         * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.
457         * nis/ypclnt.c: Remove not needed close calls.
459 1998-09-28 23:55  Ulrich Drepper  <drepper@cygnus.com>
461         * nis/ypclnt.c (__yp_bind): Pretty print.  Optimize readv result
462         check a bit.  Also close socket of domain client.  Close socket
463         in IPPORT_RESERVED error case.
465 1998-09-28  Ulrich Drepper  <drepper@cygnus.com>
467         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
468         CMSG_ALIGN (fixes a bug) and correct test for availability of
469         another entry.
470         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
471         Linux version.
472         (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
473         availability of another entry.
474         Patch by ak@muc.de.
476         * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
477         Patch by ak@muc.de.
479         * libio/libio.h [!__STDC__]: Define const only if not defined.
481 1998-09-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
483         * posix/annexc.c (xsystem): New function.  Use it instead of
484         system.
486 1998-09-28  Ulrich Drepper  <drepper@cygnus.com>
488         * stdlib/longlong.h: Remove #endif for #if removed in last change.
490 1998-09-25  Ulrich Drepper  <drepper@cygnus.com>
492         * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
493         Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
494         allow using `ut' parameter.
495         [!emacs]: Define ut_argument, ut_argument_spec, and
496         ut_argument_spec_iso as empty.  Define ut to 0.  Add ut_argument and
497         argument_spec to prototypes and definitions.
498         (my_strftime): Don't call tzset of ut != 0.
499         Compute diff as 0 is ut != 0;
500         [emacs]: Define new emacs_strftime function.
501         Based on a patch by Paul Eggert.
503 1998-09-24  Paul Eggert  <eggert@twinsun.com>
505         * time/strftime.c (my_strftime): When asking for the length of the
506         subformatted buffer, do not limit the length to look for;
507         otherwise, we have no reliable way to distinguish between the
508         empty buffer and an error.
510 1998-09-25  Ulrich Drepper  <drepper@cygnus.com>
512         * math/Makefile (gmp-objs): Add mp_clz_tab.
514 1998-09-25  David S. Miller  <davem@pierdol.cobaltmicro.com>
516         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
517         set them.
518         * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
519         cpus lacking hardware multiply and divide.
521 1998-09-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
523         * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
524         $(<F), not $(^F).
526 1998-09-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
528         * db/btree/bt_delete.c: Fix -Wparentheses warning.
530 1998-09-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
532         * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
533         $(do-install).
535 1998-09-24  Ulrich Drepper  <drepper@cygnus.com>
537         * debug/catchsegv.sh: Also produce output if clone process died.
539 1998-09-24  Paul Eggert  <eggert@twinsun.com>
541         * time/strftime.c (f_wkday): Remove duplicate definition.
542         (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
543         !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
544         1998-09-11 fix to this case.
545         (wkday_len, month_len): Remove these macros; they're no longer needed.
547 1998-09-24  Paul Eggert  <eggert@twinsun.com>
549         * time/strftime.c (my_strftime): Don't store past the end of a
550         zero-sized buffer.
552 1998-09-24  Paul Eggert  <eggert@twinsun.com>
554         * time/strftime.c (underlying_strftime):
555         Set the buffer to a nonzero value before calling
556         strftime, and check to see whether strftime has set the buffer to zero.
557         This lets us distinguish between an empty buffer and an error.
559 1998-09-24  Paul Eggert  <eggert@shade.twinsun.com>
561         * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
562         This fix is propagated from tzcode1998g.tar.gz.
564 1998-09-24  Mark Kettenis  <kettenis@phys.uva.nl>
566         * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
567         _sys_siglist.  [!HAVE_GNU_LD]: Do not define _sys_siglist as
568         sys_siglist.  This is handled correctly by the weak_alias macro.
570 1998-09-24  Ulrich Drepper  <drepper@cygnus.com>
572         * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
573         of mempcpy.  Reported by Andreas Jaeger.
575         * misc/regexp.h (compile): Use alloca instead of __alloca.  It won't
576         pollute the namespace since the compiler will resolve it inline.
577         Reported by Florian La Roche <florian@suse.de>.
579 1998-09-24 10:29  Ulrich Drepper  <drepper@cygnus.com>
581         * timezone/private.h: Update from tzcode1998g.
583         * timezone/africa: Update from tzdata1998h.
584         * timezone/asia: Likewise.
585         * timezone/australasia: Likewise.
586         * timezone/europe: Likewise.
587         * timezone/northamerica: Likewise.
588         * timezone/southamerica: Likewise.
589         * timezone/zone.tab: Likewise.
591 1998-09-23 17:28 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
593         * misc/sys/mman.h: New file.
595         * sysdeps/generic/bits/mman.h: New file.
596         * sysdeps/unix/bsd/osf/bits/mman.h: New file.
597         * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
598         * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
599         * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
601         * sysdeps/generic/sys/mman.h: Removed.
602         * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
603         * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
604         * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
605         * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
606         * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
608         * include/sys/mman.h: Look directly for misc/sys/mman.h.
609         * misc/Makefile (headers): Add bits/mman.h.
610         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
611         bits/mman.h.
613         * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
614         * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
615         * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
616         * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
617         * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
618         * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
619         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
620         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
622 1998-09-23 16:27 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
624         * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
625         * sysdeps/mach/alpha/thread_state.h: Likewise.
626         * sysdeps/mach/i386/sysdep.h: Likewise.
627         * sysdeps/mach/i386/thread_state.h: Likewise.
628         * sysdeps/mach/mips/sysdep.h: Likewise.
629         * sysdeps/mach/mips/thread_state.h: Likewise.
630         * sysdeps/posix/profil.c: Likewise.
631         * sysdeps/i386/i586/memcopy.h: Likewise.
632         * sysdeps/mach/pagecopy.h: Likewise.
634 1998-09-23 15:25  Ulrich Drepper  <drepper@cygnus.com>
636         * libio/stdio.h: Define __need_getopt and include getopt.h to define
637         getopt stuff.
638         * posix/unistd.h: Likewise.
639         * stdio/stdio.h: Likewise.
640         * posix/getopt.h: Remove _GNU_SOURCE use.  If __need_getopt is defined
641         define only getopt and the variables.
643 1998-09-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
645         * scripts/test-installation.pl (installation_problem): Don't link
646         the test program against libdb1.
648 1998-09-23 13:52  Ulrich Drepper  <drepper@cygnus.com>
650         * Makeconfig (all-subdirs): Add db.
651         * Versions.def: Add definition for libdb1.
652         * shlib-versions: Add definitions for libdb1.
653         * db/Makefile (extra-libs): Replace by libdb1.
654         (libdb-routines): Rename to libdb1-routines.
655         (headers): Rename to db1-headers.
656         (distribute): Add $(db1-headers).
657         (install-others): Define to install symlink libdb.so.NN and the
658         $(db1-headers).
659         (CPPFLAGS): Add -DUSE_LIBDB1
660         Remove rules to build makedb.
661         * db/Versions: Rename libdb to libdb1.
662         * include/db.h: If USE_LIBDB1 is defined include db/db.h.
663         * db/makedb.c: Removed.
665         * scripts/versions.awk: Recognize digits in library names.
667         * db/btree/bt_open.c: Fix compiler warnings.
668         * db/btree/bt_put.c: Likewise.
669         * db/btree/bt_split.c: Likewise.
670         * db/hash/hash.c: Likewise.
671         * db/hash/hash_bigkey.c: Likewise.
672         * db/recno/rec_close.c: Likewise.
674         * Makefile: Add localedata/% goal.
676 1998-09-22 19:58 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
678         * posix/execvp.c: Don't give up searching the PATH if execve
679         returns ENOTDIR.
681 1998-09-22 12:53  Ulrich Drepper  <drepper@cygnus.com>
683         * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
684         if _dl_fpu_control_set is set.
685         * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
686         * elf/rtld.c: Don't define _dl_fpu_control_set.
687         * elf/Versions: Remove _dl_fpu_control_set.
689 1998-09-22 11:51  Ulrich Drepper  <drepper@cygnus.com>
691         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
692         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
693         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
694         Correct values of other SA_* macros according to kernel headers.
696 1998-09-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
698         * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
699         variable l.
700         * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
701         old.
703 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
705         * elf/ldsodefs.h: Fix typo in comment.
707 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
709         * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
710         char when comparing buffer contents with putback character.
712 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
714         * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
715         Undo last change.
716         * elf/Versions: Undo last change.  Export _dl_fpu_control and
717         _dl_fpu_control_set.
718         * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
719         variables.  Include <fpu_control.h>.
720         * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
721         _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
722         to indicate that is was seen.
723         * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
724         only if _dl_fpu_control was set and is equal to desired value.
725         * math/Makefile (aux): Undo last change.
726         * math/Versions: Export __fpu_control with version GLIBC_2.0.
728 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
730         * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
731         optimized.
733 1998-09-21 10:00  Ulrich Drepper  <drepper@cygnus.com>
735         * string/bits/string2.h: Add mempcpy optimization.
736         * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
737         * intl/localealias.c: Define mempcpy only if not already defined.
739         * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
740         defined.
742 1998-09-20 10:48 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
744         * csu/abi-note.S: Emit the note directly instead of defining
745         a preprocessor macro that's only used once.  Don't include sysdep.h.
746         * abi-tags: Generalize Solaris entry.
748 1998-09-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
750         * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
751         Change to array to avoid runtime relocation.
752         * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
754 1998-09-21 12:22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
756         * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
757         * math/Makefile ($(objpfx)libieee.a): Likewise.
759 1998-09-21  Ulrich Drepper  <drepper@cygnus.com>
761         * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
762         Patch by John Tobey <jtobey@banta-im.com>.
764 1998-09-20  Ulrich Drepper  <drepper@cygnus.com>
766         * login/Makefile (distribute): Remove pty-internal.h, add
767         pty-private.h.
769         * stdlib/tst-strtol.c: Add more checks.
770         Patch by Zack Weinberg <zack@rabi.columbia.edu>.
772 1998-09-20 09:37  Ulrich Drepper  <drepper@cygnus.com>
774         * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
775         * elf/elf.h: Add AT_FPUCW.
776         * elf/Makefile (dl-routines): Add fpu_control.
777         (elide-routines.os): Add fpu_control.
778         (rtld-routines): Add fpu_control.
779         * math/Makefile (aux): Remove fpu_control.
780         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
781         (_dl_show_auxv): Likewise.
782         * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
783         if different from OS default.
785         * stdio-common/tstscanf.c: Add test case for (nil).
787 1998-09-18 17:41  Ulrich Drepper  <drepper@cygnus.com>
789         * libio/fileops.c (_IO_new_file_underflow): Before allocating
790         buffer make sure the pushback buffer is destroyed.
791         (_IO_new_file_seekoff): Likewise.
792         If mode==0 quit early with the result.
793         Clear OEF flag after successful fseek.
794         * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
795         * libio/ftello.c (ftello): Add offset from original buffer if
796         stream has pushed back characters.
797         * libio/ftello64.c (ftello64): Likewise.
798         * libio/iofgetpos.c (_IO_fgetpos): Likewise.
799         * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
800         * libio/ioftell.c (_IO_ftell): Likewise.
801         * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
802         and _IO_save_ptr.
803         (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
804         (_IO_default_pbackfail): Only stored push back character in original
805         buffer if it is the same as the one in the file at this position.
806         * libio/iofclose.c: Free backup buffer if one is available.
807         * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
808         mode!=0.
810         * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
812         * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
814         * stdio-common/vfscanf.c: Fix reading (nil) for %p.
816 1998-09-18  Mark Kettenis  <kettenis@phys.uva.nl>
818         * login/programs/pt_chown.c (more_help): Correct message that
819         describes the purpose of the program.
821         * login/openpty.c: Do not include pty-private.h.
822         (pts_name): New function.  Return name of slave pseudo terminal in
823         an allocated buffer if necessary.
824         (openpty): Use pts_name to get name of the slave end of the pseudo
825         terminal pair.
827         * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
828         pts_name before return.
830 1998-09-18 11:15  Ulrich Drepper  <drepper@cygnus.com>
832         * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
834 1998-09-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
836         * login/openpty.c: Include pty-private.h instead of
837         pty-internal.h.
839 1998-09-09  Philip Blundell  <pb@nexus.co.uk>
841         * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
843 1998-09-07  Philip Blundell  <pb@nexus.co.uk>
845         * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
846         recent ld.so changes.
847         (elf_machine_runtime_setup): Correct behaviour when profiling.
849 1998-09-17 19:34  Ulrich Drepper  <drepper@cygnus.com>
851         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
852         Patch by John Tobey <jtobey@banta-im.com>.
854 1998-09-17  Mark Kettenis  <kettenis@phys.uva.nl>
856         * login/pty-internal.h: Removed.  Moved constants related to the
857         `grantpt' helper program protocol to ...
858         * login/pty-private.h: ... here.  New file.
859         * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
860         to make the function work with kernels >= 2.1.115.
861         * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
862         version if using the cloning device fails.
863         * sysdeps/unix/sysv/linux/grantpt.c: New file.
864         * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
865         * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
866         use by Linux specific code.
867         * sysdeps/unix/bsd/unlockpt.c: General cleanup.
868         * sysdeps/unix/grantpt.c: Largely rewritten.  (pts_name): New
869         function.  (grantpt): Use pts_name, check group and permission
870         mode in addition to owner.  Try to set the owner, group and
871         permission mode first without invoking the helper program.
872         * login/programs/pt_chown.c: Largely rewritten.  Add argp and
873         internationalization support.  Use symbolic constants instead of
874         hardwired numbers for permission mode.
875         * sysdeps/unix/bsd/ptsname.c: New file.
877 1998-09-17 22:04  Tim Waugh  <tim@cyberelk.demon.co.uk>
879         * posix/wordexp-test.c: Undo last change.
881         * posix/wordexp.c: Undo last change.
883 1998-09-16  Ulrich Drepper  <drepper@cygnus.com>
885         * nscd/grpcache.c (save_grp): Partly undo last change.
887         * nscd/pwdcache.c (save_pwd): Undo last change.
889 1998-09-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
891         * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
892         function.  Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
894 1998-09-15  David S. Miller  <davem@pierdol.cobaltmicro.com>
896         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
897         Add profiling support.
898         (TRAMPOLINE_TEMPLATE): New macro.
899         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
900         (RTLD_START): Prettify, and set __libc_stack_end properly.
901         (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
902         and check for sym being NULL instead.
903         * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
904         of stack space.
905         * sysdeps/sparc/sparc64/lshift.S: Likewise.
906         * sysdeps/sparc/sparc64/mul_1.S: Likewise.
907         * sysdeps/sparc/sparc64/rshift.S: Likewise.
908         * sysdeps/sparc/sparc64/submul_1.S: Likewise.
909         * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
910         MEDANY code model %g4 usage.
911         * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
912         MEDANY code model %g4 usage.
913         * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
914         code model address formation.
915         * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
916         include elf/ldsodefs.h
917         (DT_SPARC): Remove.
918         (elf_machine_matches_host): It is now EM_SPARCV9.
919         (elf_machine_dynamic): Clean up to remove ugly cast.
920         (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
921         new PLT formats.
922         (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
923         Prettify rest of function.
924         [R_SPARC_COPY]: Check for sym being NULL.
925         [R_SPARC_32]: Handle it.
926         [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
927         MEDMID code model.
928         [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
929         MEDANY code model.
930         [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
931         (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
932         Add profiling support.
933         (TRAMPOLINE_TEMPLATE): New macro.
934         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
935         (RTLD_START): Prettify and set __libc_stack_end.
936         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
937         Define.
938         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
939         (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
940         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
941         unused variable scratch.
942         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
943         (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
944         Declare.
945         (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
946         stub to rt_sigaction syscalls.  Rewrite non-rt case to use correct
947         old format kernel sigaction structures.
948         * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
949         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
950         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
951         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
952         ucontext include.
953         (_JMPBUF_UNWINDS): Define.
954         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
955         statfs64 structure, which is exactly the same as the normal one.
956         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
957         of stack.  Use correct syscall trap number.  Add branch prediction
958         settings to branch instructions.  Remove old MEDANY code model %g4
959         referneces for non-PIC.
960         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
961         * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
962         * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
963         * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
964         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
965         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
966         __libc_longjmp and __libc_siglongjmp strong aliases.
967         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
968         Also define to __no__readdir64_decl around readdir.c inclusion.
969         (__readdir64): Add strong alias.
970         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
971         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
972         Set strong and weak names properly.
974 1998-09-16 11:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
976         * manual/Makefile (AWK): Default to gawk if standalone.
978 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
980         * Makefile (distribute): Undo last change.
981         * Make-dist (+tsrc) [not subdir]: Also include indirection headers
982         for sysdep headers.
983         (+subdir-headers): Removed, unused.
985 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
987         * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
988         $(do-install).
990 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
992         * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
993         absolute name in $(config-sysdirs), can never happen.
994         ($(+sysdir_pfx)sysd-rules): Likewise.
995         * Makeconfig (full-config-sysdirs): Likewise.
996         (all-Subdirs-files): Prepend $(..).
998         * configure.in: Don't check for absolute name in $add_ons_pfx, can
999         not happen.  Let --enable-add-ons=yes work if no add-ons actually
1000         exist.
1002 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1004         * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
1005         continuations in command.
1007 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1009         * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
1011 1998-09-16 00:47  Tim Waugh  <tim@cyberelk.demon.co.uk>
1013         * posix/wordexp-test.c: If expansion or substitution occurs
1014         anywhere in a word, the entire word is subject to field-splitting.
1016         * posix/wordexp.c (parse_glob): Look for end of word instead of
1017         end of field when deciding what to glob.
1018         (field_split_word): New function, now the only place where
1019         field-splitting is performed.
1020         (parse_dollars): New parameter - tell the caller if
1021         field-splitting should be performed on this word.
1023         * posix/wordexp-test.c (testit): Only call wordfree if wordexp
1024         succeeded (or failed with WRDE_NOSPACE).
1026 1998-09-15 19:53 1998  Tim Waugh  <tim@cyberelk.demon.co.uk>
1028         * posix/wordexp.c (wordexp): Don't convert IFS characters to
1029         blanks.
1031         * posix/wordexp-test.c: Words not the result of expansion or
1032         substitution should remain unchanged.
1034 1998-09-15  Ulrich Drepper  <drepper@cygnus.com>
1036         * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
1037         (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
1039 1998-09-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1041         * stdio-common/Makefile: Include Makeconfig so that
1042         $(inst_includedir) is defined.
1044 1998-09-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1046         * io/pwd.c: Include <mcheck.h>.
1048 1998-09-15 08:00  Ulrich Drepper  <drepper@cygnus.com>
1050         * nscd/pwdcache.c (save_pwd): Correct copying.
1051         * nscd/grpcache.c (save_grp): Likewise.
1053 1998-09-14 23:36  Ulrich Drepper  <drepper@cygnus.com>
1055         * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
1056         (free_pwd): Adjust for this change.
1057         * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
1058         (free_grp): Adjust for this change.
1060 1998-09-14  Ulrich Drepper  <drepper@cygnus.com>
1062         * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
1064 1998-09-14 15:29  Ulrich Drepper  <drepper@cygnus.com>
1066         * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
1067         (install-others): Add bits/stdio_lim.h.
1068         Add rule to install bits/stdio_lim.h.
1070         * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
1072         * Makefile (distribute): Add include/sys/mman.h.
1074         * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
1075         * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
1076         * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
1078         * grp/initgroups.c: Include stdlib.h.
1079         Patch by Zack Weinberg.
1081 1998-09-14 22:46  Tim Waugh  <tim@cyberelk.demon.co.uk>
1083         * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
1084         for field-splitting :abc: is correct, and that two fields should
1085         result. Revert tests to reflect this.
1087         * posix/wordexp.c (w_emptyword): Remove function.
1088         (exec_comm): Don't use w_emptyword.
1089         (parse_param): Likewise.
1091 1998-09-14 15:00  Ulrich Drepper  <drepper@cygnus.com>
1093         * sysdeps/arm/fpu/Dist: Moved to...
1094         * sysdeps/arm/Dist: ...here.
1095         * sysdeps/posix/Dist: Removed.
1096         * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
1097         * sysdeps/unix/sysv/linux/i386/Dist: ...here.
1099 1998-08-26  Geoff Keating  <geoffk@ozemail.com.au>
1101         * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
1103 1998-09-14 11:26  Ulrich Drepper  <drepper@cygnus.com>
1105         * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
1107 1998-09-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1109         * libc-work/nis/nss_nisplus/nisplus-service.c
1110         (_nss_nisplus_parse_servent): Convert port in network byte order.
1112 1998-09-14 07:53 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1114         * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
1115         to provide only malloc and calloc.
1116         * include/stdlib.h: Support the above.
1117         * string/bits/string2.h: Use __need_malloc_and_calloc when
1118         including stdlib.h.
1119         (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
1121         * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
1122         * iconvdata/iso646.c: Include <stdlib.h>.
1124 1998-09-14 07:51 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1126         * sunrpc/rpc_cout.c: Add braces around ambiguous else.
1127         * sysdeps/libm-ieee754/w_pow.c: Likewise.
1128         * sysdeps/libm-ieee754/w_powf.c: Likewise.
1129         * sysdeps/libm-ieee754/w_powl.c: Likewise.
1131 1998-09-14 07:57 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1133         * stdio-common/stdio_lim.h.in: New file.  All parameters
1134         are adjustable at build time.
1135         * Rules: Add a rule to build bits/stdio_lim.h from
1136         stdio-common/stdio_lim.h.in.  (It has to be in Rules so that
1137         all subdirectories know how to make the file.  It can't be
1138         in Makerules because then it gets built at top level and the
1139         dependencies are wrong.)
1141         * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
1142         * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
1143         stdio_lim.h.
1144         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
1145         * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
1146         * sysdeps/posix/Makefile: Removed.
1147         * sysdeps/posix/mk-stdiolim.c: Removed.
1148         * sysdeps/generic/bits/stdio_lim.h: Removed.
1150 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1152         * argp/argp-help.c: Fixup indentation.
1153         * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
1154         * resolv/nss_dns/dns-network.c: Likewise.
1155         * resolv/res_send.c: Likewise.
1156         * rt/aio_cancel.c: Likewise.
1157         * rt/aio_misc.c: Likewise.
1159 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1161         * Makefile (install-symbolic-link): Remove the link list file at last.
1162         * Makerules (install-clean-symbolic-link-list): Removed.
1164 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1166         * timezone/tst-timezone.c: Print time in UTC to get consistent
1167         output.
1169 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1171         * elf/rtld.c (_dl_rpath): Removed.
1172         * elf/dl-support.c (_dl_path): Removed.
1173         * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
1174         (CFLAGS-dl-support.c): Removed.
1176         * elf/dl-load.c (env_path_list): Renamed from fake_path_list.  All
1177         uses changed.
1178         (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
1179         instead of appending it to the main map's rpath info.
1180         (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
1181         DT_RPATHs.  This makes it effective again.
1182         (decompose_rpath): Remove second parameter, callers changed.
1183         (fillin_rpath): Allocate enough space in curwd.
1184         (expand_dynamic_string_token): Cope with get_origin returning -1.
1186 1998-09-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1188         * libc-work/nis/nss_compat/compat-pwd.c: Add support for
1189         passwd.adjunct.
1191         * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
1192         invalid password.
1194 1998-09-13 18:06  Ulrich Drepper  <drepper@cygnus.com>
1196         * locale/programs/locale.c: Update dates.
1198 1998-09-13  Mark Kettenis  <kettenis@phys.uva.nl>
1200         * sysdeps/generic/bits/types.h: Include <features.h>.  Make sure
1201         size_t is defined.  Some reordering of defenitions to make
1202         maintaining this file in parallel with the linux-specific file easier.
1204 1998-09-13  Ulrich Drepper  <drepper@cygnus.com>
1206         * io/pwd.c (main): Add call to mtrace.
1208         * malloc/mtrace.pl: Quote @ in string.
1210 1998-09-13 19:25  Tim Waugh  <tim@cyberelk.demon.co.uk>
1212         * posix/wordexp.c (parse_arith): Fix memory leaks.
1213         (exec_comm): Likewise.
1214         (parse_param): Likewise.
1215         (wordexp): Likewise.
1216         (exec_comm): Reduce number of function return points.
1217         (parse_param): Likewise.
1218         (wordexp): Likewise.
1220 1998-09-13 14:53  Tim Waugh  <tim@cyberelk.demon.co.uk>
1222         * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
1223         yield three fields, not two.  Test both parameter expansion and
1224         command substitution for correct field-splitting behaviour.
1226         * posix/wordexp.c (w_emptyword): New function.
1227         (parse_param): Use it.
1228         (exec_comm): Likewise, for consistency with the way parse_param
1229         splits fields.
1230         (parse_param): Fix some memory leaks.
1232 1998-09-13 18:04  Geoff Keating  <geoffk@ozemail.com.au>
1234         * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
1235         Don't mark asm `volatile'.
1236         (__elf_machine_runtime_setup): Clear the last partial block in the PLT
1237         from the data cache too.  Assume it isn't in the instruction cache yet.
1238         (__elf_machine_fixup_plt): Clear the modified address from the caches.
1240 1998-09-12  Mark Kettenis  <kettenis@phys.uva.nl>
1242         * sysdeps/generic/segfault.c (install_handler): Install signal
1243         handler with SA_ONSTACK instead of setting the stack flags to
1244         SS_ONSTACK.  Do not install handler for SIGSTKFLT if it is not
1245         defined.
1247 1998-09-12 14:24 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1249         * signal/signal.h: Fix multiple inclusion guard to cover the
1250         entire file.
1251         * wcsmbs/wchar.h: Remove prototype of internal function
1252         __mbsrtowcs.
1253         * sysdeps/i386/i486/bits/string.h (memchr): Don't do
1254         arithmetic on `void *'.
1256 1998-09-12 01:09  Tim Waugh  <tim@cyberelk.demon.co.uk>
1258         * posix/wordexp-test.c: Fix wrong tests.  Add new tests.
1260         * posix/wordexp.c (wordexp): Perform word-splitting instead of
1261         field-splitting here.
1262         (wordexp): If out of memory mid-word, free the word (but still
1263         leave pwordexp alone for caller to see).
1264         (parse_param): Allow for zero-length fields (smarter checking of
1265         memory allocation failure).
1266         (w_addword): Convert NULL words to "".
1267         (wordexp): Convert left-over IFS characters to blanks (like bash).
1269 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
1271         * configure.in: Use test -f instead of test -e.
1272         Patch by John Tobey <jtobey@banta-im.com>.
1274         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
1275         * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
1276         * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
1277         * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
1278         * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
1279         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
1280         * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
1281         Patches by John Tobey <jtobey@banta-im.com>.
1283         * time/strftime.c (my_strftime): Delay use of *tp values until
1284         latest possible point to allow partly initialized structures
1285         (e.g., from strptime).
1287         * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
1288         and NATS-SEFI.
1289         Define *-routines variables for new modules.
1290         (distribute): Add .c files for new modules.
1291         (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
1292         and nats-sefi.h.
1293         Add rules for header generation.
1294         * iconvdata/gconv-modules: Add entries for new modules.
1295         * iconvdata/iso_10367-box.c: New file.
1296         * iconvdata/mac-is.c: New file.
1297         * iconvdata/nats-dano.c: New file.
1298         * iconvdata/nats-sefi.c: New file.
1300 1998-04-30 18:20  H.J. Lu  <hjl@gnu.org>
1302         * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
1303         loader if PIC is not defined.
1305 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
1307         * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
1308         ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
1309         INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
1310         and ISO_5428.
1311         Define *-routines variables for new modules.
1312         (distribute): Add .c files for new modules.
1313         (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
1314         ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
1315         greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
1316         iso_5427.h, iso_5427-ext.h, and iso_5428.h.
1317         Add rules for header generation.
1318         * iconvdata/gconv-modules: Add entries for new modules.
1319         * iconvdata/csn_369103.c: New file.
1320         * iconvdata/cwi.c: New file.
1321         * iconvdata/dec-mcs.c: New file.
1322         * iconvdata/ecma-cyrillic.c: New file.
1323         * iconvdata/gost_19768-74.c: New file.
1324         * iconvdata/greek-ccitt.c: New file.
1325         * iconvdata/greek7-old.c: New file.
1326         * iconvdata/greek7.c: New file.
1327         * iconvdata/inis-8.c: New file.
1328         * iconvdata/inis-cyrillic.c: New file.
1329         * iconvdata/inis.c: New file.
1330         * iconvdata/iso6937-2.c: New file.
1331         * iconvdata/iso_2033.c: New file.
1332         * iconvdata/iso_5427-ext.c: New file.
1333         * iconvdata/iso_5427.c: New file.
1334         * iconvdata/iso_5428.c: New file.
1336         * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
1337         entries.
1338         Convert U02dd correctly.
1340 1998-09-11 20:46  Richard Henderson  <rth@cygnus.com>
1342         * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
1343         _dl_main_searchlist not _dl_default_scope to _dl_init_next.
1344         * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
1345         * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
1347 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
1349         * resolv/res_init.c (res_init): Handle resolv.conf file with only
1350         one nameserver correctly.  Patch by HJ Lu.
1352         * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
1353         and ANSI_X3.110.
1354         Define *-routines variables for new modules.
1355         (distribute): Add .c files for new modules.
1356         (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
1357         Add rules for hedaer generation.
1358         * iconvdata/gconv-modules: Add entries for new modules.  Pretty print.
1359         * iconvdata/ansi_x3.110.c: New file.
1360         * iconvdata/asmo_449.c: New file.
1361         * iconvdata/baltic.c: New file.
1362         * iconvdata/iec_p27-1.c: New file.
1364         * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
1365         entries.
1366         Convert U02dc correctly.
1368         * math/atest-exp.c: Add parentheses to avoid gcc warnings.
1369         * math/atest-exp2.c: Likewise.
1370         * math/atest-sincos.c: Likewise.
1372         * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
1373         is defined.
1375 1998-09-11 10:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1377         * string/strcoll.c: Optimize a few expressions.
1378         * string/strxfrm.c: Likewise.
1380 1998-09-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1382         * manual/locale.texi: Fix typos.
1384 1998-09-10  Ulrich Drepper  <drepper@cygnus.com>
1386         * stdlib/random_r.c (__setstate_r): Allow call with same state
1387         array as currently used (PR libc/774).
1389         * include/limits.h: Include gcc's header even if this file is
1390         found more than once before it (PR libc/778)
1392         * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
1393         (sysdep_headers): Remove sys/debugreg.h.
1394         * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
1395         (sysdep_headers): Add sys/debugreg.h.
1396         * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
1397         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
1399         * stdio-common/tmpnam.c: Move local static variable buf to
1400         toplevel and rename to tmpnam_buffer to ease debugging.
1401         Patch by Joe Keane <jgk@jgk.org>.
1402         Optimize s == NULL case a bit.
1404         * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
1405         correction.
1407 1998-09-10 12:51  Ulrich Drepper  <drepper@cygnus.com>
1409         * resolv/res_init.c (res_init): Initialize _res.nscount and
1410         _res.nsaddr.sin_port differently for the can when no loopback
1411         is available to allow immediate timeout in non-networking environments.
1412         Patch by Cristian Gafton <gafton@redhat.com>.
1414 1998-09-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1416         * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
1417         BAR and not EM DASH.
1418         * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
1419         * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
1420         Fixes PR libc/717.
1422 1998-09-10 11:53  Ulrich Drepper  <drepper@cygnus.com>
1424         * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
1425         for test.
1426         * timezone/tst-timezone.c (tests): Fix typo in last patch.
1428         * time/tzfile.c (__tzfile_read): Handle case when there are no
1429         transitions.  Set __timezone based on computed offset.
1430         * time/tzset.c (tzset_internal): Set __timezone before returning.
1432         * time/tzset.c (tzset_internal): Optimize handling of local string
1433         copy.
1435 1998-09-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1437         * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
1438         libc/776).
1440 1998-09-09  Benjamin Kosnik  <bkoz@tintin.cygnus.com>
1442         * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
1443         (csqrt_test): Likewise.
1444         * sysdeps/powerpc/bits/fenv.h: Add parens.
1446 1998-09-09 18:48  Ulrich Drepper  <drepper@cygnus.com>
1448         * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
1449         _dl_main_searchlist not _dl_default_scope to _dl_init_next.
1450         Patch by Benjamin Kosnik <bkoz@cygnus.com>.
1452 1998-09-09  Mark Kettenis  <kettenis@phys.uva.nl>
1454         * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
1455         the special `-1' pointer.
1457 1998-09-09 09:32  Ulrich Drepper  <drepper@cygnus.com>
1459         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
1460         inline.
1462 1998-09-07  Paul Eggert  <eggert@twinsun.com>
1464         * time/mktime.c (__EXTENSIONS__): Define if not defined.
1465         (_REENTRANT): Remove.  It has undesirable consequences in
1466         Solaris 2.6 (e.g. it turns off the putc macro).  Defining
1467         __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
1468         is what we want.
1469         * time/strftime.c: Likewise.
1471 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1473         * elf/dl-error.c: Fix spelling.
1475 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1477         * stdlib/strfmon.c: Quiet -Wparentheses warnings.
1478         * stdio-common/_itoa.c: Likewise.
1479         * stdio-common/printf_fp.c: Likewise.
1480         * stdio-common/vfscanf.c: Likewise.
1481         * wcsmbs/wcstok.c: Likewise.
1482         * sysdeps/generic/glob.c: Likewise.
1483         * posix/getopt.c: Likewise.
1484         * sysdeps/posix/getaddrinfo.c: Likewise.
1485         * posix/wordexp.c: Likewise.
1486         * io/ftw.c: Likewise.
1487         * io/fts.c: Likewise.
1488         * misc/getpass.c: Likewise.
1489         * iconv/gconv_conf.c: Likewise.
1490         * argp/argp-fmtstream.c: Likewise.
1491         * argp/argp-help.c: Likewise.
1492         * elf/dl-load.c: Likewise.
1493         * locale/programs/stringtrans.c: Likewise.
1494         * catgets/gencat.c: Likewise.
1495         * posix/getconf.c: Likewise.
1496         * iconv/gconv_conf.c: Likewise.
1497         * iconv/iconv_prog.c: Likewise.
1499         * string/strcoll.c: Optimize a few expressions.
1500         * string/strxfrm.c: Likewise.
1502 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1504         * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
1505         level to avoid uninit variable warning.
1507 1998-09-09 10:34  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1509         * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
1510         instead of _dl_default_scope[2] as argument to _dl_init_next.
1512         * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
1513         C9x macro.
1515 1998-09-08  Ulrich Drepper  <drepper@cygnus.com>
1517         Fix compatibility problems introduced in last change.
1518         * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
1519         defined.
1520         * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
1521         -DWEAK_GMON_START to CFLAGS-initfini.s.
1523         * elf/dl-object.c (_dl_new_object): Store map address in
1524         _dl_loaded if _dl_loaded is NULL.
1525         * elf/rtld.c (dl_main): Don't update _dl_loaded here.
1527         * sysdeps/generic/setrlimit64.c: Remove stub warning.
1529 1998-09-07  Ulrich Drepper  <drepper@cygnus.com>
1531         * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
1532         quiet.
1533         * db2/btree/bt_cursor.c: Likewise.
1534         * db2/common/db_region.db_c: Likewise.
1535         * db2/common/db_salloc.db_c: Likewise.
1536         * db2/db/db.c: Likewise.
1537         * db2/db/db_rec.c: Likewise.
1538         * db2/hash/hash.c: Likewise.
1539         * db2/hash/hash_page.c: Likewise.
1540         * db2/hash/hash_rec.c: Likewise.
1541         * db2/log/log_findckp.c: Likewise.
1542         * db2/log/log_get.c: Likewise.
1543         * db2/log/log_put.c: Likewise.
1544         * db2/mp/mp_fget.c: Likewise.
1545         * db2/mp/mp_fput.c: Likewise.
1546         * db2/mp/mp_region.c: Likewise.
1547         * stdlib/strtol.c: Likewise.
1548         * string/strcoll.c: Likewise.
1549         * string/strxfrm.c: Likewise.
1550         * argp/argp-help.c: Likewise.
1551         * argp/argp-parse.c: Likewise.
1552         * resolv/res_debug.c: Likewise.
1554 1998-09-07 09:58  Ulrich Drepper  <drepper@cygnus.com>
1556         * math/tgmath.h (scalb): Only define for __USE_MISC or
1557         __USE_XOPEN_EXTENDED.  Patch by Zack Weinberg.
1559 1998-09-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1561         * libio/stdio.h: Fix comment.
1563         * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
1564         __USE_ISOC9X.
1566 1998-09-06 09:53 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1568         * Makeconfig (+gccwarn): Remove -Wno-parentheses.
1570         * elf/dl-open.c: Quiet -Wparentheses warnings.
1571         * iconvdata/johab.c: Likewise.
1572         * iconvdata/uhc.c: Likewise.
1573         * inet/inet_net.c: Likewise.
1574         * io/fts.c: Likewise.
1575         * locale/newlocale.c: Likewise.
1576         * misc/getttyent.c: Likewise.
1577         * misc/mntent_r.c: Likewise.
1578         * misc/ttyslot.c: Likewise.
1579         * nscd/nscd_conf.c: Likewise.
1580         * nss/nsswitch.c: Likewise.
1581         * resolv/gethnamaddr.c: Likewise.
1582         * resolv/nsap_addr.c: Likewise.
1583         * resolv/res_debug.c: Likewise.
1584         * stdio-common/_itoa.c: Likewise.
1585         * stdlib/strtod.c: Likewise.
1586         * string/strverscmp.c: Likewise.
1587         * sunrpc/svc.c: Likewise.
1588         * sysdeps/libm-ieee754/e_cosh.c: Likewise.
1589         * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
1590         * sysdeps/libm-ieee754/e_sinh.c: Likewise.
1591         * sysdeps/posix/getaddrinfo.c: Likewise.
1593 1998-09-06 15:13  Ulrich Drepper  <drepper@cygnus.com>
1595         * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
1596         for use of global scope.
1597         * elf/dlvsym.c (dlvsym_doit): Likewise.
1599 1998-09-02  Paul Eggert  <eggert@twinsun.com>
1601         * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
1602         copy the redundant bytes at the end of the format as-is; don't
1603         just copy their first byte and then rescan, as that might get
1604         us an encoding error.
1605         Account correctly for the length of multibyte sequences in the
1606         format.
1608 1998-09-03 20:14  Tim Waugh  <tim@cyberelk.demon.co.uk>
1610         * posix/wordexp-test.c: Add tests for different IFS values.
1611         Change unquoted-newline test so that newline is not in IFS.
1613         * posix/wordexp.c (wordexp): Correct null/unset mix-up when
1614         determining IFS characters.  Return WRDE_BADCHAR for unquoted
1615         special characters _except_ if they are separators.
1617 1998-09-06 10:56  Ulrich Drepper  <drepper@cygnus.com>
1619         * include/tgmath.h: New file.
1621         * libio/stdio.h: Correct reversed #ifs.
1622         Patch by Zack Weinberg.
1624         * manual/creature.texi: Better explain reason for feature select
1625         macros.
1626         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
1628 1998-09-06 10:25 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1630         * include/alloca.h: Add multiple-inclusion guard.
1631         * include/db.h: Likewise.
1632         * include/db_185.h: Likewise.
1633         * include/dlfcn.h: Likewise.
1634         * include/fcntl.h: Likewise.
1635         * include/grp.h: Likewise.
1636         * include/libintl.h: Likewise.
1637         * include/mntent.h: Likewise.
1638         * include/pwd.h: Likewise.
1639         * include/sched.h: Likewise.
1640         * include/search.h: Likewise.
1641         * include/setjmp.h: Likewise.
1642         * include/shadow.h: Likewise.
1643         * include/signal.h: Likewise.
1644         * include/stdio.h: Likewise.
1645         * include/stdlib.h: Likewise.
1646         * include/string.h: Likewise.
1647         * include/termios.h: Likewise.
1648         * include/time.h: Likewise.
1649         * include/ulimit.h: Likewise.
1650         * include/utmp.h: Likewise.
1651         * include/wchar.h: Likewise.
1652         * include/sys/file.h: Likewise.
1653         * include/sys/gmon.h: Likewise.
1654         * include/sys/ioctl.h: Likewise.
1655         * include/sys/mman.h: Likewise.
1656         * include/sys/resource.h: Likewise.
1657         * include/sys/select.h: Likewise.
1658         * include/sys/socket.h: Likewise.
1659         * include/sys/statfs.h: Likewise.
1660         * include/sys/time.h: Likewise.
1661         * include/sys/times.h: Likewise.
1662         * include/sys/wait.h: Likewise.
1664 1998-09-06 09:00  Ulrich Drepper  <drepper@cygnus.com>
1666         * version.h (VERSION): Bump to 2.0.96.
1668         Rewrite runtime linker to be truly thread-safe.  There is now no
1669         global variable specifying the scope.  We create all needed
1670         scopes at the time the link maps are created.
1671         * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
1672         * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
1673         l_symbolic_searchlist, l_scope, and l_local_scope elements in
1674         struct link_map.
1675         * elf/dl-close.c: Rewritten accordingly.
1676         * elf/dl-deps.c: Likewise.
1677         * elf/dl-error.c: Likewise.
1678         * elf/dl-init.c: Likewise.
1679         * elf/dl-load.c: Likewise.
1680         * elf/dl-lookup.c: Likewise.
1681         * elf/dl-object.c: Likewise.
1682         * elf/dl-open.c: Likewise.
1683         * elf/dl-reloc.c: Likewise.
1684         * elf/dl-runtime.c: Likewise.
1685         * elf/dl-support.c: Likewise.
1686         * elf/dl-symbol.c: Likewise.
1687         * elf/dl-version.c: Likewise.
1688         * elf/dlsym.c: Likewise.
1689         * elf/dlvsym.c: Likewise.
1690         * elf/ldsodefs.h: Likewise.
1691         * elf/rtld.c: Likewise.
1692         * iconv/gconv_dl.c: Likewise.
1693         * nss/nsswitch.c: Likewise.
1694         * sysdeps/i386/dl-machine.h: Likewise.
1695         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
1697         * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
1698         Define RTLD_DEFAULT.
1700 1998-09-05  Mark Kettenis  <kettenis@phys.uva.nl>
1702         * sysdeps/mach/hurd/i386/init-first.c (init1): Call
1703         __getopt_clean_environment with __environ instead of envp.
1705 1998-09-05  Roland McGrath  <roland@baalperazim.frob.com>
1707         * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
1709         * string/argz-extract.c (__argz_extract): Add de-consting cast for
1710         setting results.
1712         * string/argz.h (argz_next): Add de-consting cast for return.
1713         * string/argz-next.c (__argz_next): Likewise.
1715         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
1716         Don't add netinet/udp.h, netinet/ip_icmp.h here.
1717         * sysdeps/gnu/Makefile: Do it here instead.
1718         * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
1719         * sysdeps/gnu/Dist: ... to here.
1721         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
1722         sysdeps/unix/sysv/linux/netinet/tcp.h,
1723         sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
1725 1998-09-04  Roland McGrath  <roland@baalperazim.frob.com>
1727         * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
1728         * string/argz-next.c, string/argz-extract.c: Fix defns.
1730 1998-09-03  Roland McGrath  <roland@baalperazim.frob.com>
1732         * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
1734         * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
1735         __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
1736         * sysdeps/generic/sysd-stdio.c: Likewise.
1738 1998-09-02  Ulrich Drepper  <drepper@cygnus.com>
1740         * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
1741         (_dl_map_object_from_fd): Make NAME argument const.
1742         Remove last parameter in _dl_new_object call.
1743         (print_search_path): Correct construction of composed path name.
1744         (_dl_map_object): Prevent looking at RPATH of the main map twice.
1745         Remove last parameter in _dl_new_object call.
1746         * elf/dl-object.c: Remove last parameter.  Determine whether create
1747         origin entry based on empty realname.  Handle file in root directory
1748         correctly.
1749         * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
1750         * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
1751         Remove last parameter in _dl_new_object call.
1752         * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
1753         * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
1755 1998-09-01  Ulrich Drepper  <drepper@cygnus.com>
1757         * elf/dl-close.c (_dl_close): Add more comments and correct some.
1758         Free l_searchlist and l_dupsearchlist.
1760         * debug/catchsegv.sh: Add one more pair of quotes.
1762 1998-09-01 17:53  Ulrich Drepper  <drepper@cygnus.com>
1764         * elf/dl-load.c (add_name_to_object): Change return type to void and
1765         make NAME parameter const.  Allocate room for NAME in same memory
1766         block used for l_libname entry.
1767         (_dl_map_object_from_fd): Don't free NAME on failure.
1768         (map_segment): Pass SONAME to add_name_to_object, not a copy.
1769         (_dl_map_object): Don't create copy of NAME.  Pass NAME to
1770         _dl_map_object_from_fd.
1771         * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
1772         memory block used for l_libname entry.
1773         * elf/dl-close.c: Adjust free()ing for this change.
1775 1998-09-01 15:36  Ulrich Drepper  <drepper@cygnus.com>
1777         * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
1779         * malloc/mtrace.c: Add bug report address.  Update email address.
1780         Add more @XXX@ to print correct address size.
1782         * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
1783         really initialized.
1785         * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
1786         for munmap call instead of examining phdr again.
1787         Free all malloc()ed strings and arrays.
1789 1998-08-09  Geoff Keating  <geoffk@ozemail.com.au>
1791         * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
1792         dl-machine.h.
1793         * sysdeps/powerpc/dl-machine.c: New file.
1794         * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
1795         files.  Revise ELF_PREFERRED_ADDRESS to take account of
1796         the new mapping information (fixes bug involving huge bloated
1797         web browser).  Set ELF_MACHINE_PLTREL_OVERLAP.
1798         * sysdeps/powerpc/dl-start.S: New file.
1800         * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
1801         l_map_end.
1802         * elf/do-rel.h: Call elf_machine_rel only once (to save space).
1803         * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
1804         others.  Call elf_dynamic_do_##reloc only once (to save even more
1805         space).
1806         * elf/link.h: Add new members l_map_start and l_map_end to keep
1807         track of the memory map.
1808         * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
1809         the executable.
1811 1998-09-01 11:53  Ulrich Drepper  <drepper@cygnus.com>
1813         * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
1814         Reported by Andreas Jaeger.
1816         * posix/glob.h: Use __size_t instead of size_t in definitions and
1817         make sure this is defined.
1819 1998-09-01 10:34  Ulrich Drepper  <drepper@cygnus.com>
1821         * manual/locale.texi: Almost complete rewrite.  Document more functions
1822         and functionality.
1823         * manual/arith.texi: Correct reference.
1824         * manual/string.texi: Pretty printing.
1826         * manual/texinfo.tex: Update from last available version.
1828 1998-08-31 22:44  Ulrich Drepper  <drepper@cygnus.com>
1830         * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
1831         invalid password.
1832         (_nss_nis_getpwuid_r): Likewise.
1833         Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
1835         * inet/rcmd.c: Implement netgroup support.
1836         Patch by Dick Streefland <dick_streefland@tasking.com>.
1838 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
1840         * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
1841         object on the list is removed.  Don't use this code for PIC.
1842         Reported by HJ Lu [PR libc/770].
1844 1998-08-31 15:56  Ulrich Drepper  <drepper@cygnus.com>
1846         * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
1848         * include/stdio.h: Add __vsscanf.
1850         * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
1851         __USE_ISOC9X.
1852         Remove __vsscanf declaration.
1853         Always declare fgetpos and fsetpos.
1855         * math/math.h: Define isinf as macro.
1856         * math/bits/mathcalls.h: Change to declare __isinf all the time.
1857         Don't declare scalb for ISO C 9x.
1859         * math/tgmath.h: Define fma.  Rewrite the underlying macros.
1861         * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
1863         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
1864         sys/ucontext.h.
1866         * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
1867         macros.
1869 1998-08-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1871         * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
1872         Reported by jreising@frequentis.com [PR libc/767].
1874 1998-08-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1876         * io/lockf.c (lockf): Move initilisation of fl.l_whence and
1877         fl.l_start at beginning of function.
1878         Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
1880 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
1882         * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
1883         Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
1885         * nscd/nscd.init: Make it work in RedHat systems.
1886         Patch by Christian Gafton.
1888 1998-08-29  Philip Blundell  <philb@gnu.org>
1890         * catgets/Makefile: Don't try to run test programs when
1891         cross-compiling.
1893 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
1895         * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
1896         Reported by Zack Weinberg.
1898 1998-08-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1900         * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
1901         * elf/Makefile (distribute): Remove ldd.sh.in.
1903 1998-08-31 11:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1905         * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
1906         variable.
1908 1998-08-29  Ulrich Drepper  <drepper@cygnus.com>
1910         * sysdeps/i386/register-dump.h: Move to ...
1911         * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
1913 1998-08-28 22:49  Ulrich Drepper  <drepper@cygnus.com>
1915         * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
1916         with load address, not map address.
1917         * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
1918         parameter and use this value.
1919         * sysdeps/arm/dl-machine.h: Likewise.
1920         * sysdeps/i386/dl-machine.h: Likewise.
1921         * sysdeps/m68k/dl-machine.h: Likewise.
1922         * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
1923         parameter.
1924         * sysdeps/powerpc/dl-machine.h: Likewise
1925         * sysdeps/sparc/sparc32/dl-machine.h: Likewise
1926         * sysdeps/sparc/sparc64/dl-machine.h: Likewise
1928 1998-08-28 09:22  Ulrich Drepper  <drepper@cygnus.com>
1930         * elf/rtld.c (process_envvars): Fix copy&paste error.
1932         * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
1933         memalign hook.
1934         (realloc_hook_ini): Don't overwrite memalign hook.
1935         (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
1936         Reported by Philippe Troin <phil@fifi.org>.
1938         * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
1939         Patch by Philippe Troin <phil@fifi.org>.
1941 1998-08-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1943         * sysdeps/generic/segfault.c (install_handler): Protect the
1944         non-POSIX signals with #ifdef.
1945         (catch_segfault): Add missing mode parameter for open.
1946         * debug/catchsegv.sh: Avoid termination message from shell.  Allow
1947         other termination signals.
1949 1998-08-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1951         * debug/Makefile (distribute): Add register-dump.h.
1953 1998-08-28 10:41  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1955         * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
1957 1998-08-27 19:42  Ulrich Drepper  <drepper@cygnus.com>
1959         * elf/Makefile (distribute): Add dl-origin.h.
1960         * sysdeps/generic/dl-origin.h: New file.
1961         * sysdeps/unix/sysv/linux/dl-origin.h: New file.
1962         * elf/link.h (struct link_map): Add l_origin field.
1963         * elf/dl-load.c (expand_dynamic_string_token): New function.
1964         (decompose_path): Remove WHERE argument, take link map pointer instead.
1965         Call expand_dynamic_string_token instead of local_strdup to make copy
1966         of rpath.
1967         (_dl_init_paths): Call decompose_path with correct argument.
1968         (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
1969         not defined.
1970         Check EI_OSABI and EI_ABIVERSION fields in header.
1971         Call _dl_new_object with extra argument.
1972         (_dl_map_object): Call decompose_path with correct argument.
1973         Call expand_dynamic_string_token instead of local_strdup to also
1974         expand DST.
1975         Call _dl_new_object with extra argument.
1976         * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
1977         but the main one if new argument is nonzero.
1978         * elf/ldsodefs.h: Adjust for _dl_new_object change.
1979         * elf/dl-support.c: Define _dl_origin_path.
1980         * elf/rtld.c: Likewise.  Set _dl_origin_path based on LD_ORIGIN_PATH.
1981         (dl_main): Call _dl_new_object with extra argument.
1983         * elf/dl-close (_dl_close): Free l_name and l_origin.
1985         * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
1986         modifier in asm, not c.
1988         * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
1989         to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
1991 1998-08-26 17:48  Ulrich Drepper  <drepper@cygnus.com>
1993         * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
1994         variable so that map can be freed.
1995         Reported by Philippe Troin <phil@fifi.org>.
1997         * elf/dl-open.c (dl_open_worker): Correct test for extending global
1998         scope array.
1999         Patch by Philippe Troin <phil@fifi.org>.
2001 1998-08-26  Geoff Keating  <geoffk@ozemail.com.au>
2003         * sysdeps/powerpc/register-dump.h: Rewrite.  Much nicer this way.
2004         Don't call writev() with a 100-element vector.
2005         * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
2006         return address.
2008         * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
2009         In particular, set __libc_stack_end.
2010         * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
2011         undefined.  Fix copyright notice.
2013 1998-08-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2015         * math/Makefile (gmp-objs): New variable.
2016         ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
2017         Depend on it.
2018         (tests): Add atest-exp atest-sincos atest-exp2.
2019         (tests-static): Remove atest-exp atest-sincos atest-exp2.
2021 1998-08-25  Ulrich Drepper  <drepper@cygnus.com>
2023         * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
2024         to toplevel.
2025         (_dl_unload_cache): New function.
2026         * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
2027         * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
2028         * elf/rtld.c (dl_main): Unload map file before jumping to user code.
2030         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
2031         Correct comment for O_LARGEFILE.
2032         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
2033         Change O_LARGEFILE to correct value.
2035 1998-08-25 14:34  Ulrich Drepper  <drepper@cygnus.com>
2037         * libio/iogetline.c (_IO_getline_info): Don't read anything for
2038         N == 0.  Patch by HJ Lu.
2040 1998-08-25 11:43  Ulrich Drepper  <drepper@cygnus.com>
2042         * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
2044 1998-08-25  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
2046         * argp/argp.h: Use __inline__ not inline.
2048         * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
2049         an input register as being clobbered.
2050         * sysdeps/i386/memset.c (memset): Likewise.
2051         * sysdeps/i386/bzero.c (__bzero): Likewise.
2052         * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
2054 1998-08-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2056         * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
2057         Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
2059 1998-08-24 16:34  Ulrich Drepper  <drepper@cygnus.com>
2061         * debug/catchsegv.sh: Handle text preceding backtrace better.
2062         * sysdeps/generic/segfault.c: Allow register dump.  Allow handler
2063         to be installed for other signals than SIGSEGV.
2064         * sysdeps/generic/register-dump.h: New file.
2065         * sysdeps/i386/register-dump.h: New file.
2066         * sysdeps/powerpc/register-dump.h: New file.
2068         * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
2069         sigcontextinfo.h.
2070         * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
2072 1998-08-24  Geoff Keating  <geoffk@ozemail.com.au>
2074         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
2076 1998-08-09  Geoff Keating  <geoffk@ozemail.com.au>
2078         * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
2079         * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
2080         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
2081         getresuid, getresgid.
2083 1998-08-16  Geoff Keating  <geoffk@ozemail.com.au>
2085         * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs.  Set up stack
2086         pointer in userland.
2088 1998-08-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2090         * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
2091         and fix value.
2093 1998-08-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2095         * elf/ldd.bash.in: Add missing quotes around $file.  Make loop
2096         over arguments Bourne shell compatible.  Don't exit unsuccessfully
2097         if nonelf returns successfully.  Avoid duplicating most of the
2098         script.
2099         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
2100         around $file.
2102 1998-08-24 10:37  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2104         * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
2105         sys/reg.h.
2106         * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
2107         * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
2109 1998-08-23  Ulrich Drepper  <drepper@cygnus.com>
2111         * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
2112         __modify_ldt and modify_ldt.
2113         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
2115         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2116         Use orl $-1 instead of movl $-1 to save two bytes.
2117         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
2118         Likewise.
2120 1998-08-17  H.J. Lu  <hjl@gnu.org>
2122         * libio/Versions (_IO_do_write, _IO_file_attach,
2123         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2124         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2125         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2126         _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
2128         * libio/fileops.c (_IO_do_write, _IO_file_attach,
2129         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2130         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2131         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2132         _IO_file_write, _IO_file_xsputn): Change the prefix to
2133         "_IO_new_". Added to GLIBC_2.1.
2135         * libio/libioP.h (_IO_do_write, _IO_file_attach,
2136         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2137         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2138         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2139         _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
2140         "_IO_new_".
2142         * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
2143         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2144         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2145         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2146         _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
2148 1998-08-23  Richard Henderson  <rth@cygnus.com>
2150         * Makeconfig (LDFLAGS): Remove.
2152         * csu/initfini.c: Return to .text before __gmon_start__.
2154         * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
2155         (STO_MIPS_*): Rename from STO_*.
2156         (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
2157         (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
2159         * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
2160         (main): e3s is negative on zero.
2161         * math/atest-exp2.c: Likewise.
2162         * math/atest-sincos.c: Likewise.
2164 1998-08-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2166         * Makerules (install): Add comment about absolute paths.
2168 1998-08-23  Ulrich Drepper  <drepper@cygnus.com>
2170         * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
2171         array to NUL to handle maxlen==1 case correctly.
2172         Patch by HJ Lu.
2174 1998-08-23  Richard Henderson  <rth@cygnus.com>
2176         * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
2177         * sysdeps/alpha/elf/crtend.S: Likewise.
2178         * sysdeps/alpha/elf/start.S: Likewise.
2180         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
2181         non-standard pv usage.
2183         * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
2184         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
2185         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
2186         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
2187         * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
2188         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
2189         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
2190         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
2191         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
2192         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
2193         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
2195         * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
2196         a finite non-denormal, deferring to the full IEEE version otherwise.
2198         * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
2199         Early out for -0.  Optimize for !_IEEE_FP_INEXACT.
2200         * sysdeps/alpha/fpu/s_floor.c: New.
2201         * sysdeps/alpha/fpu/s_floorf.c: New.
2202         * sysdeps/alpha/fpu/s_ceil.c: New.
2203         * sysdeps/alpha/fpu/s_ceilf.c: New.
2205 1998-08-22  Philip Blundell  <philb@gnu.org>
2207         * sysdeps/arm/bits/string.h: New file.
2209 1998-08-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2211         * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
2212         document it.
2214         * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
2215         test for recent Linux 2.1.100+ headers.
2217 1998-08-21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2219         * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
2221 1998-08-21 17:21  Ulrich Drepper  <drepper@cygnus.com>
2223         * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
2225 1998-08-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2227         * Makefile (elf/ldso_install): Put back.  The problem still persists.
2228         * elf/Makefile (ldso_install): Likewise.
2230 1998-08-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2232         * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
2233         create weak alias.
2234         * include/db.h: Declare __nss_db_open.
2235         * db2/Versions: Export it.
2237         * db2/makedb.c: Convert to use db2 API.
2238         * nss/nss_db/db-XXX.c: Likewise.
2239         * nss/nss_db/db-netgrp.c: Likewise.
2240         * nss/nss_db/db-alias.c: Likewise.
2241         (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
2243 1998-08-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2245         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
2246         sys_setresuid, already built automatically (or not).
2247         * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
2248         instead of __syscall_setresuid and add back setresuid.
2249         * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
2250         __syscall_setresuid.
2252 1998-08-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2254         * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
2256 1998-08-20  Ulrich Drepper  <drepper@cygnus.com>
2258         * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
2259         BASH-ONLY marked region.
2260         * elf/ldd.bash.in: Remove special BASH-ONLY markers.
2262 1998-02-20 17:54  H.J. Lu  <hjl@gnu.org>
2264         * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
2265         _IO_SYSSEEK fails.
2267         * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
2269         * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
2270         element.
2272 1998-08-21  Roland McGrath  <roland@baalperazim.frob.com>
2274         * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
2275         with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
2276         * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
2277         (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
2278         (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
2279         those magic comments, and to use /bin/sh for @BASH@.
2280         (bash-ldd-rewrite): Use $(common-ldd-rewrite).
2281         * elf/ldd.sh.in: File removed.
2283 1998-08-20 20:07  Ulrich Drepper  <drepper@cygnus.com>
2285         * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
2286         cast them to unsigned long int.
2287         * pwd/putpwent.c (putpwent): Likewise.
2288         Patch by John Tobey <jtobey@banta-im.com>.
2290 1998-08-20 17:14  H.J. Lu  <hjl@gnu.org>
2292         * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
2293         _IO_pos_BAD.
2295 1998-02-20 17:54  H.J. Lu  <hjl@gnu.org>
2297         * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
2298         _IO_SYSSEEK fails.
2300 1998-08-20 19:14  Ulrich Drepper  <drepper@cygnus.com>
2302         * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
2303         Add umount and umount2.
2304         * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
2305         * sysdeps/unix/sysv/linux/umount.S: New file.
2306         * sysdeps/unix/sysv/linux/umount2.S: New file.
2307         * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
2308         Define MNT_FORCE.
2310         * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
2311         Add sys/sendfile.h.
2312         * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
2313         * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
2315         * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
2317         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
2318         sendfile.
2320 1998-08-20 16:01  Ulrich Drepper  <drepper@cygnus.com>
2322         * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
2323         * elf/ldd.bash.in: Likewise.
2325         * elf/sln.c: Avoid warning for no main prototype.
2327         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
2328         O_WRITE.
2329         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
2330         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2332         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
2333         F_GETSIG.
2334         * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
2335         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
2336         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2338 1998-08-20  Philip Blundell  <pb@nexus.co.uk>
2340         * sysdeps/arm/fpu/ieee754.h: Move to...
2341         * sysdeps/arm/ieee754.h: ... here.
2343         * sysdeps/arm/__longjmp.S: Put return value in correct register.
2344         Don't set the condition flags unnecessarily.
2345         * sysdeps/arm/fpu/__longjmp.S: Likewise.  Restore floating point
2346         registers correctly.
2348         * sysdeps/arm/dl-machine.h: Fix problems with profiling code
2349         (patch from Scott Bambrough).
2351         * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
2353         * csu/initfini.c (_init): Don't check whether __gmon_start__ is
2354         NULL, just call it unconditionally.
2355         (__gmon_start__): Provide stub version as a weak symbol.
2357 1998-07-30  Philip Blundell  <philb@gnu.org>
2359         * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
2360         by Scott Bambrough)
2362         * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
2363         like `@' in .type directives.
2365         * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
2366         * sysdeps/arm/bsd-_setjmp.S: Likewise.
2368         * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
2370 1998-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2372         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
2373         (F_GETOWN): Likewise.
2375         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
2376         Linux 2.1.117).
2378 1998-08-20  Ulrich Drepper  <drepper@cygnus.com>
2380         * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
2381         already defined.
2383 1998-08-18  Ulrich Drepper  <drepper@cygnus.com>
2385         * include/features.h: Define __USE_EXTERN_INLINES for recent
2386         enough gcc.
2387         * argp/argp.h: Define extern inline functions only if
2388         __USE_EXTERN_INLINES is defined.
2389         * libio/stdio.h: Likewise.
2390         * math/math.h: Likewise.
2391         * stdlib/stdlib.h: Likewise.
2392         * string/argz.h: Likewise.
2393         * sysdeps/generic/bits/sigset.h: Likewise.
2394         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
2395         * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
2396         * sysdeps/wordsize-32/inttypes.h: Likewise.
2397         * sysdeps/wordsize-64/inttypes.h: Likewise.
2398         * wcsmbs/wchar.h: Likewise.
2400         * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
2401         to allow compilation without optimization.
2403 1998-08-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2405         * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
2406         more entries.
2407         * nis/nss_compat/compat-initgroups.c: Likewise.
2408         * nis/nss_compat/compat-pwd.c: Likewise.
2409         * nis/nss_compat/compat-spwd.c: Likewise.
2410         * nis/nss_nis/nis-alias.c: Likewise.
2411         * nis/nss_nis/nis-ethers.c: Likewise.
2412         * nis/nss_nis/nis-grp.c: Likewise.
2413         * nis/nss_nis/nis-hosts.c: Likewise.
2414         * nis/nss_nis/nis-initgroups.c: Likewise.
2415         * nis/nss_nis/nis-network.c: Likewise.
2416         * nis/nss_nis/nis-proto.c: Likewise.
2417         * nis/nss_nis/nis-pwd.c: Likewise.
2418         * nis/nss_nis/nis-rpc.c: Likewise.
2419         * nis/nss_nis/nis-service.c: Likewise.
2420         * nis/nss_nis/nis-spwd.c: Likewise.
2422         * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
2424         * nis/ypclnt.c: Try binding dir only first time, could be to old.
2426         * nis/yp_xdr.c: Remove 1024 byte limit.
2427         * nis/ypupdate_xdr.c: Likewise.
2429         * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
2430         wrong data.
2432 1998-08-18  Roland McGrath  <roland@baalperazim.frob.com>
2434         * Rules (binaries-static, binaries-shared static pattern rules):
2435         Depend on lib%, not just libc%, from $(link-libc{,-static}).
2437         * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
2438         this here, overriding Makeconfig generic value so we link against
2439         the RPC libs.
2441 1998-08-17  Ulrich Drepper  <drepper@cygnus.com>
2443         * posix/tstgetopt.c (options): Add NULL entry at end
2444         Patch by Adrian Miranda <ade@psg.com>.
2446 1998-08-15 18:21  Ulrich Drepper  <drepper@cygnus.com>
2448         * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION.  Move EI_PAD
2449         to 9.
2451 1998-08-15 14:11  Ulrich Drepper  <drepper@cygnus.com>
2453         * elf/elf.h: Add PPC Diab relocations.
2455         * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
2457 1998-08-14 10:08  Ulrich Drepper  <drepper@cygnus.com>
2459         * manual/texinfo.tex: Update.
2461 1998-08-07  Geoff Keating  <geoffk@ozemail.com.au>
2463         * sysdeps/powerpc/backtrace.c: New file.
2465 1998-08-14  Philip Blundell  <pb@nexus.co.uk>
2467         * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
2468         sigjmp_save.
2469         * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
2471 1998-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2473         * Makefile (install-symbolic-link): Fix spelling.
2475 1998-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2477         * elf/elf.h (SHT_HIOS): Fix value.
2479 1998-08-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2481         * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
2482         part of the expansion, this is undefined by the standard.
2484 1998-08-13 19:41  Ulrich Drepper  <drepper@cygnus.com>
2486         * posix/getconf.c: Add support for systems with incomplete confname.h.
2488         * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
2490         * sysdeps/posix/wait3.c: Make it work.
2492 1998-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2494         * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
2495         (elf/ldso_install): Remove.
2497         * elf/Makefile (distribute): Add sln.c.
2498         (others): Add sln.
2499         (others-static): Add sln.
2500         (install-rootsbin): Add sln.
2501         (others-static): Add sln.
2502         (ldso_install): Remove.
2504 1998-07-24 10:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2506         * Makerules (install-clean-symbolic-link-list): Make phony.
2507         * Makefile (install-symbolic-link): Make phony.  Depend on
2508         subdir_install for parallel makes.
2511 1998-07-22  Ulrich Drepper  <drepper@cygnus.com>
2513         * elf/Makefile (distribute): Add sln.c
2515 1998-07-21 07:10  H.J. Lu  <hjl@gnu.org>
2517         * elf/sln.c: New file.
2519         * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
2520         (install-clean-symbolic-link-list): New target.
2521         (install): Depend on install-clean-symbolic-link-list.
2522         (make-shlib-link): Changed for $(symbolic-link-list).
2524         * Makefile (install-symbolic-link): New target.
2525         (install): Depend on install-symbolic-link.
2527 1998-08-12 17:03  Ulrich Drepper  <drepper@cygnus.com>
2529         * include/unistd.h: Protect against multiple inclusion.
2531         * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
2532         is defined, not is glob is defined.
2533         * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
2535 1998-08-01 17:18  H.J. Lu  <hjl@gnu.org>
2537         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
2538         xdr_string for ut_line, ut_name and ut_host.
2540 1998-08-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2542         * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
2543         /var/mail in accordance with FHS 2.0.
2544         Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
2546 1998-08-12  Richard Henderson  <rth@cygnus.com>
2548         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
2549         Update aliases for cancelation.
2551         * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
2552         playing with symbol versions.
2554 1998-08-12  Roland McGrath  <roland@baalperazim.frob.com>
2556         * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
2557         multiple inclusion protection.
2558         (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
2559         _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
2560         define all these to 1.
2561         (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
2563 1998-08-12  Roland McGrath  <roland@baalperazim.frob.com>
2565         * sysdeps/mach/usleep.c: Include <unistd.h>.
2566         (usleep): Return void.
2568 1998-08-11  Roland McGrath  <roland@baalperazim.frob.com>
2570         * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
2571         decl to inhibit warning in if_freenameindex defn.
2573         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
2575         * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
2577         * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
2578         * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
2579         * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
2580         * sysdeps/mach/usleep.c: Likewise.
2582         * sysdeps/mach/hurd/bind.c (bind): Add a const.
2584         * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
2585         * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
2586         * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
2587         * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
2588         * sysdeps/mach/usleep.c (usleep): Likewise.
2589         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
2590         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
2591         * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
2592         * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
2594 1998-08-11  Roland McGrath  <roland@baalperazim.frob.com>
2596         * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
2597         (glob64): Fix typo.
2599         * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
2600         %p arg to fprintf, since `void *' is the right type already.
2602 1998-07-25 19:47  Jose M. Moya  <josem@gnu.org>
2604         * sysdeps/mach/hurd/getcwd.c
2605         (_hurd_canonicalize_directory_name_internal): Do not loop forever
2606         for unknown root directories.
2607         (__getcwd): Return NULL when the current root directory could not
2608         be reached.
2610 1998-08-11 18:39  Ulrich Drepper  <drepper@cygnus.com>
2612         * string/strsignal.c (strsignal): Count real-time signals from zero.
2615 See ChangeLog.8 for earlier changes.