Update.
[glibc.git] / ChangeLog
blobeda87f4f808df2ea8b30fb2b103489ce60b1295e
1 1998-10-18  Ulrich Drepper  <drepper@cygnus.com>
3         * resolv/nss_dns/dns-host.c: Add missing errnop parameter to the
4         NSS functions.
5         * resolv/nss_dns/dns-network.c: Likewise.
7         * grp/Makefile: Don't search for linuxhtreads in add-ons, use
8         have-thread-library to determine whether threads are available.
9         * pwd/Makefile: Remove wrong comment.
11         * inet/Makefile: Define CFLAGS-gethstbyad_r.c, CFLAGS-gethstbynm_r.c,
12         and CFLAGS-gethstbynm2_r.c to -DUSE_NSCD=1.
14         * locale/C-messages.c: Define default strings for YESTR and NOSTR.
16         * nss/Versions: Add __nss_hosts_lookup.
18         * nss/getXXbyYY.c: Remove unneeded assignment.
20         * nss/getXXbyYY_r.c: Include nscd/nscd_proto.h only if needed.
22         Almost complete rewrite of the NSCD to make it smaller, faster,
23         add more functionnality and make it easier to extend.
24         * nscd/Makfile (routines): Add nscd_gethst_r.
25         (nscd-modules): Add hstcache, gethstbyad_r, gethstbynm2_r, and cache.
26         * nscd/cache.c: New file.
27         * nscd/gethstbyad_r.c: New file.
28         * nscd/gethstbynm2_r.c: New file.
29         * nscd/hstcache.c: New file.
30         * nscd/nscd_gethst_r.c: New file.
31         * nscd/connections.c: Rewritten.  Don't start new thread for every
32         new connection.  Use a fixed set of threads which handle all
33         connections and also the cache cleanup.
34         * nscd/grpcache.c: Rewritten to use generic cache handling functions
35         in cache.c.
36         * nscd/nscd.c: Recognize new parameter nthreads.  Adjust initialization
37         for rewrite.  Remove handle_requests function.
38         * nscd/nscd.h (NSCD_VERSION): Bump to 2.
39         Define new data structure for the new unified cache and the host
40         database entries.
41         * nscd/nscd_conf.c: Rewrite parsing partly to allow adding of more
42         databases easily.  Recognize check-files and threads definitions.
43         * nscd/nscd.conf: Add definition of enable-cache and check-files to
44         passwd and group definitions.  Add new set of definitions for hosts.
45         * nscd/nscd_getgr_r.c: Rewrite for new protocol.
46         * nscd/nscd_getpw_r.c: Likewise.
47         * nscd/nscd_proto.h: Add prototype for host database functions.
48         * nscd/nscd_stat.c: Rewrite to simplify printing of information
49         for many databases.
50         * nscd/dbg_log.c: Remove unnecessary variable initializations.
51         Global variable debug_flag is renamed to dbg_level.
52         * nscd/dbg_log.h: Declare set_logfile.
54 1998-10-16  Ulrich Drepper  <drepper@cygnus.com>
56         * sysdeps/unix/sysv/linux/bits/fcntl.h: Add dummy definition of
57         O_LARGEFILE back.
59 1998-10-16  Paul Eggert  <eggert@shade.twinsun.com>
61         * time/mktime.c: Some systems require <unistd.h> to be
62         included before <time.h> for localtime_r to be declared
63         properly.
64         * time/strftime.c: Likewise.
66 1998-10-16  Ulrich Drepper  <drepper@cygnus.com>
68         * db/Makefile: Add rule to generate shared object with the soname
69         from glibc 2.0.
71         * sysdeps/unix/opendir.c: Use O_DIRECTORY if available.  If not
72         available double check to verify it's a directory.
74         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add O_DIRECTORY.
75         * sysdeps/unix/sysv/linux/mips/bits/fcntl: Likewise.
76         * sysdeps/unix/sysv/linux/bits/fcntl.h: Remove O_* constants which
77         are not generally available.
78         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: New file.
80         * sysdeps/unix/sysv/linux/i386/setgroups.c: Add range check for values.
81         * sysdeps/unix/sysv/linux/arm/Makefile: New file.
82         * sysdeps/unix/sysv/linux/arm/setegid.c: New file.
83         * sysdeps/unix/sysv/linux/arm/seteuid.c: New file.
84         * sysdeps/unix/sysv/linux/arm/setfsgid.c: New file.
85         * sysdeps/unix/sysv/linux/arm/setfsuid.c: New file.
86         * sysdeps/unix/sysv/linux/arm/setgid.c: New file.
87         * sysdeps/unix/sysv/linux/arm/setgroups.c: New file.
88         * sysdeps/unix/sysv/linux/arm/setresgid.c: New file.
89         * sysdeps/unix/sysv/linux/arm/setresuid.c: New file.
90         * sysdeps/unix/sysv/linux/arm/setuid.c: New file.
91         * sysdeps/unix/sysv/linux/i386/setegid.c: New file.
92         * sysdeps/unix/sysv/linux/i386/seteuid.c: New file.
93         * sysdeps/unix/sysv/linux/i386/setfsgid.c: New file.
94         * sysdeps/unix/sysv/linux/i386/setfsuid.c: New file.
95         * sysdeps/unix/sysv/linux/i386/setgid.c: New file.
96         * sysdeps/unix/sysv/linux/i386/setgroups.c: New file.
97         * sysdeps/unix/sysv/linux/i386/setresgid.c: New file.
98         * sysdeps/unix/sysv/linux/i386/setresuid.c: New file.
99         * sysdeps/unix/sysv/linux/i386/setuid.c: New file.
100         * sysdeps/unix/sysv/linux/m68k/setegid.c: New file.
101         * sysdeps/unix/sysv/linux/m68k/seteuid.c: New file.
102         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: New file.
103         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: New file.
104         * sysdeps/unix/sysv/linux/m68k/setgid.c: New file.
105         * sysdeps/unix/sysv/linux/m68k/setgroups.c: New file.
106         * sysdeps/unix/sysv/linux/m68k/setresgid.c: New file.
107         * sysdeps/unix/sysv/linux/m68k/setresuid.c: New file.
108         * sysdeps/unix/sysv/linux/m68k/setuid.c: New file.
109         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
110         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
111         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: New file.
112         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: New file.
113         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: New file.
114         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
115         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file.
116         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file.
117         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: New file.
119         * sysdeps/unix/sysv/linux/arm/syscalls.list: Add s_setgid, s_setresuid,
120         s_setresgid, and s_setuid.
121         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
122         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
123         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
124         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
125         (sysdep_routines): Add setfsgid, setfsuid, setresgid, and setresuid.
126         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
127         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
129 1998-10-16  Ulrich Drepper  <drepper@cygnus.com>
131         * time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get
132         localtime_t declaration on some systems.
134 1998-10-16 10:07  Ulrich Drepper  <drepper@cygnus.com>
136         * iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to
137         -DSTATIC_GCONV.
138         * iconv/skeleton.c: Include ELF header only of STATIC_GCONV is not
139         defined.  Avoid using DL_CLL_FCT if it is not defined.
141 1998-10-16 10:40 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
143         * resolv/arpa/nameser.h: Include sys/types.h unconditionally.
144         Include endian.h unconditionally.  Remove portability goop
145         depending on #ifdef linux, #ifdef BSD, #ifdef machine-type.
147 1998-10-16 11:39 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
149         * sunrpc/rpc/types.h: Mark file so fixincludes won't modify it.
151 1998-10-15  Ulrich Drepper  <drepper@cygnus.com>
153         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios
154         again.  Use char[44] to define size of the struct.
156         * sysdeps/unix/sysv/linux/arm/Dist: Add bits/armsigctx.h.
158 1998-10-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
160         * string/bits/string2.h (strcmp): Don't cache the result of
161         __builtin_constant_p in variables, otherwise constant folding
162         can fail in big functions.
164 1998-10-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
166         * string/bits/string2.h: Add prototypes for the new inline
167         functions.
169 1998-10-15  Ulrich Drepper  <drepper@cygnus.com>
171         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to
172         have all types defined.
173         Patch by Matti Aarnio <matti.aarnio@sonera.fi>.
175 1998-10-08  Paul Eggert  <eggert@twinsun.com>
177         * time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r.
178         Define also if HAVE_LOCALTIME_R && defined localtime_r, with
179         a body that merely expands localtime_r; this works around a
180         bug in Digital Unix 4.0A and 4.0D.
182 1998-10-14  Ulrich Drepper  <drepper@cygnus.com>
184         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl.
185         * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define
186         __ioctl to __syscall_ioctl and include Linux version of this file.
187         * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
188         * sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file.  Redirect
189         ioctl calls which handle struct termios.
190         Based on a patch by Dan Jacobowitz <drow@false.org>.
192 1998-10-14  Ulrich Drepper  <drepper@cygnus.com>
194         * version.h (VERSION): Bump to 2.0.98.
196         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios
197         here instead of including kernel_termios.h.
199 1998-10-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
201         * sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is
202         unnecessary after the changes of 1998-10-12.
204 1998-10-13  Ulrich Drepper  <drepper@cygnus.com>
206         * sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output
207         parameter format string.
208         (inline_outw): Likewise.
210         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include
211         string.h to get memcpy prototype and NULL definition.
213 1998-10-12  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
215         * misc/sys/cdefs.h (__THROW): New macro.
216         * argp/argp.h: Use it to replace the kludgey __P in inline
217         function definitions.
218         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
219         * stdlib/stdlib.h: Likewise.
220         * wcsmbs/wchar.h: Likewise.
221         * libio/stdio.h: Likewise.
222         * stdio/stdio.h: Likewise.
223         * sysdeps/wordsize-64/inttypes.h: Likewise.
224         * sysdeps/wordsize-32/inttypes.h: Likewise.
225         * string/argz.h: Likewise.
226         * io/sys/stat.h: Likewise.
228 1998-10-12  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
230         * Rules (stdio_lim): New variable.
231         ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend
232         on Rules and config.make, use $(move-if-change) to avoid unnessary
233         recompilations, and cleanup command.
234         (common-generated): Add bits/stdio_lim.st.
236 1998-10-12  Ulrich Drepper  <drepper@cygnus.com>
238         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): New
239         variable to prevent warnings from use of modern CPU instructions.
240         Patch by Richard Henderson <rth@cygnus.com>.
242         * sysdeps/unix/opendir.c: Test whether NAME is directory before
243         opening it.
245 1998-10-12  Philip Blundell  <pb@nexus.co.uk>
247         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Add missing
248         semicolon so that profiling works.
250 1998-10-12  Roland McGrath  <roland@baalperazim.frob.com>
252         * sysdeps/generic/glob.c: #undef mempcpy before #define.
254         * sysdeps/unix/bsd/clock.c: Use prototype defns.
256 1998-10-11  Ulrich Drepper  <drepper@cygnus.com>
258         * Rules [posix in sysdirs]: Set L_tmpnam to 20.
259         Patch by Zack Weinberg <zack@rabi.columbia.edu>.
261         * string/bits/string2.h [!_STRING_ARCH_unaligned]
262         (__mempcpy_small): Add parameter for 1 byte copy and use it.
263         Reported by Geoff Keating <geoffk@ozemail.com.au>.
265 1998-10-09  Mark Kettenis  <kettenis@phys.uva.nl>
267         * sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove,
268         it is already defined in <bits/environments.h>.
270 1998-10-09  Ulrich Drepper  <drepper@cygnus.com>
272         * posix/ptestcases.h: Fix typo.
274 1998-10-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
276         * posix/regex.c (regcomp): Allocate and prepare a fastmap.
277         (regexec): Allocate regs.start and regs.end as one block.
279 1998-10-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
281         * sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of
282         enum decl.
284 1998-10-08  Philip Blundell  <pb@nexus.co.uk>
286         * sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of
287         sigcontext union to ...
288         * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here.  New
289         file.
290         * sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for
291         version 2.0 kernels.
293 1998-10-08  Ulrich Drepper  <drepper@cygnus.com>
295         * malloc/mtrace.c (tr_reallochook): Produce better output for real
296         reallocation case.
298         * signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined.
299         * argp/argp-xinl.c: Likewise.
301         * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing
302         Ruffian entry back.
303         Patch by Christian Gafton.
305 1998-10-08  Paul Eggert  <eggert@twinsun.com>
307         * time/mktime.c (__mktime_internal): When the requested time falls
308         in a spring-forward gap of size DT, return a time that is DT away
309         from the requested time, preferring a time whose tm_isdst differs
310         from the requested value.  Bump the max number of probes from 4 to
311         6 to account for the extra probes needed to discover a
312         spring-forward gap in the worst case.
314 1998-10-07 17:05  Ulrich Drepper  <drepper@cygnus.com>
316         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection
317         of the weird alpha architectures.
318         Patch by Cristian Gafton <gafton@redhat.com>.
320 1998-02-18 23:31  Richard Henderson  <rth@cygnus.com>
322         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
323         RAWHIDE and TSUNAMI.  Patch from Jay.Estabrook@digital.com.
325 1998-10-07  Ulrich Drepper  <drepper@cygnus.com>
327         * elf/dl-open.c (_dl_global_scope_alloc): Make global.
328         (dl_open_worker): Use realloc, not malloc to resize array.
329         * elf/rtld.c (_dl_initial_searchlist): New variable.
330         (_dl_main): Copy content of _dl_main_searchlist to
331         _dl_initial_searchlist.
332         * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and
333         _dl_global_scope_alloc.
334         * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist.
335         * elf/dl-close.c (_dl_close): When removing object with global
336         scope remove allocated searchlist if no dynamically loaded object
337         is on it anymore.
338         * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope.
339         (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist.
341         * malloc/mtrace.c (tr_where): Don't print space in location string,
342         print it afterwards.  Print better symbol name information.
344 1998-10-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
346         * manual/filesys.texi (Setting Permissions): Fix example for
347         reading umask.
349 1998-10-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
351         * elf/sprof.c (load_profdata): Fix typo in error message.
353 1998-10-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
355         * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
356         flag.
358 1998-10-04  Roland McGrath  <roland@baalperazim.frob.com>
360         * mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it.
362 1998-10-06  Ulrich Drepper  <drepper@cygnus.com>
364         * version.h (VERSION): Bump to 2.0.97.
366 1998-10-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
368         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P
369         in definitions of inline stat functions so that they match the
370         declaration.
371         * stdlib/stdlib.h: Likewise.
372         * wcsmbs/wchar.h: Likewise.
373         * libio/stdio.h: Likewise.
374         * stdio/stdio.h: Likewise.
375         * sysdeps/wordsize-64/inttypes.h: Likewise.
376         * sysdeps/wordsize-32/inttypes.h: Likewise.
377         * string/argz.h: Likewise.
378         * argp/argp.h: Likewise.
380 1998-10-06  Ulrich Drepper  <drepper@cygnus.com>
382         * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
383         netinet/in.h.
385 1998-10-05  Philip Blundell  <philb@gnu.org>
387         * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures
388         and constants.  Tidy up formatting a little.
390         * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6):
391         Move definitions to in.h.
393 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
395         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER,
396         SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added.
397         Remove inclusion of <linux/swap.h>.
399 1998-10-05  Ulrich Drepper  <drepper@cygnus.com>
401         * io/sys/stat.h: Use __P in definitions of inline stat functions
402         so that they match the declaration.
404 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
406         * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added.
408 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
410         * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current
411         linux 2.1 version.
413 1998-10-02  Philip Blundell  <pb@nexus.co.uk>
415         * sysdeps/arm/dl-machine.h: Fix typo in last change.
417         * sysdeps/arm/bits/huge_val.h: New file.
419 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
421         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added.
423         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add
424         define.
426 1998-10-05  Ulrich Drepper  <drepper@cygnus.com>
428         * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to
429         store result of realloc instead of using BUF.
431 1998-10-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
433         * misc/sgtty.h (_SGTTY_H): Correct spelling.
434         Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817].
436 1998-10-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
438         * manual/memory.texi (Obstacks): Document
439         obstack_alloc_failed_handler usage.
441         * malloc/obstack.h: Enhance comment about
442         obstack_alloc_failed_handler usage.
443         * malloc/obstack.c: Likewise.
445 1998-10-05  Ulrich Drepper  <drepper@cygnus.com>
447         * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or
448         gcc before 2.8 is used.
450 1998-10-01  Philip Blundell  <pb@nexus.co.uk>
452         * sysdeps/arm/machine-gmon.h: Correct args to mcount().  Patch
453         from Scott Bambrough.
455         * sysdeps/unix/sysv/linux/arm/register-dump.h: New file.
457         * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
458         include the lock member.
460 1998-09-03  Philip Blundell  <pb@nexus.co.uk>
462         * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.
464 1998-10-01  Ulrich Drepper  <drepper@cygnus.com>
466         * timezone/zic.c: Update from tzcode1998h.
467         * timezone/europe: Update from tzdata1998i.
468         * timezone/southamerica: Likewise.
470         * sys/types.h: Protect use of long long by __extension__.
471         * stdlib/stdlib.h: Likewise.
472         * string/string.h: Likewise.
473         * sysdeps/i386/bits/byteswap.h: Likewise.
474         * sysdeps/geeric/bits/byteswap.h: Likewise.
475         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
476         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
477         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
478         * sysdeps/wordsize-32/inttypes.h: Likewise.
479         * sysdeps/wordsize-32/stdint.h: Likewise.
480         * wcsmbs/wchar.h: Likewise.
482 1998-09-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
484         * string/bits/string2.h (__string2_1bptr_p): Don't use a statement
485         expression.
486         (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
487         __strsep): Greatly reduce size of expansion by combining common
488         expressions.
489         (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
490         inline function.
491         (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
492         by the above definitions.
494 1998-09-27  Geoff Keating  <geoffk@ozemail.com.au>
496         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
497         correct struct ipc_perm definition.
499 1998-09-29  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
501         * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.
503 1998-09-29  Cristian Gafton  <gafton@redhat.com>
505         * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
506         * sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
507         * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
508         * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
509         Add net/if_shaper.h.
511 1998-09-29  Ulrich Drepper  <drepper@cygnus.com>
513         * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.
515         * nis/ypclnt.c: Remove not needed close calls.
517 1998-09-28 23:55  Ulrich Drepper  <drepper@cygnus.com>
519         * nis/ypclnt.c (__yp_bind): Pretty print.  Optimize readv result
520         check a bit.  Also close socket of domain client.  Close socket
521         in IPPORT_RESERVED error case.
523 1998-09-28  Ulrich Drepper  <drepper@cygnus.com>
525         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
526         CMSG_ALIGN (fixes a bug) and correct test for availability of
527         another entry.
528         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
529         Linux version.
530         (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
531         availability of another entry.
532         Patch by ak@muc.de.
534         * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
535         Patch by ak@muc.de.
537         * libio/libio.h [!__STDC__]: Define const only if not defined.
539 1998-09-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
541         * posix/annexc.c (xsystem): New function.  Use it instead of
542         system.
544 1998-09-28  Ulrich Drepper  <drepper@cygnus.com>
546         * stdlib/longlong.h: Remove #endif for #if removed in last change.
548 1998-09-25  Ulrich Drepper  <drepper@cygnus.com>
550         * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
551         Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
552         allow using `ut' parameter.
553         [!emacs]: Define ut_argument, ut_argument_spec, and
554         ut_argument_spec_iso as empty.  Define ut to 0.  Add ut_argument and
555         argument_spec to prototypes and definitions.
556         (my_strftime): Don't call tzset of ut != 0.
557         Compute diff as 0 is ut != 0;
558         [emacs]: Define new emacs_strftime function.
559         Based on a patch by Paul Eggert.
561 1998-09-24  Paul Eggert  <eggert@twinsun.com>
563         * time/strftime.c (my_strftime): When asking for the length of the
564         subformatted buffer, do not limit the length to look for;
565         otherwise, we have no reliable way to distinguish between the
566         empty buffer and an error.
568 1998-09-25  Ulrich Drepper  <drepper@cygnus.com>
570         * math/Makefile (gmp-objs): Add mp_clz_tab.
572 1998-09-25  David S. Miller  <davem@pierdol.cobaltmicro.com>
574         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
575         set them.
576         * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
577         cpus lacking hardware multiply and divide.
579 1998-09-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
581         * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
582         $(<F), not $(^F).
584 1998-09-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
586         * db/btree/bt_delete.c: Fix -Wparentheses warning.
588 1998-09-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
590         * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
591         $(do-install).
593 1998-09-24  Ulrich Drepper  <drepper@cygnus.com>
595         * debug/catchsegv.sh: Also produce output if clone process died.
597 1998-09-24  Paul Eggert  <eggert@twinsun.com>
599         * time/strftime.c (f_wkday): Remove duplicate definition.
600         (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
601         !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
602         1998-09-11 fix to this case.
603         (wkday_len, month_len): Remove these macros; they're no longer needed.
605 1998-09-24  Paul Eggert  <eggert@twinsun.com>
607         * time/strftime.c (my_strftime): Don't store past the end of a
608         zero-sized buffer.
610 1998-09-24  Paul Eggert  <eggert@twinsun.com>
612         * time/strftime.c (underlying_strftime):
613         Set the buffer to a nonzero value before calling
614         strftime, and check to see whether strftime has set the buffer to zero.
615         This lets us distinguish between an empty buffer and an error.
617 1998-09-24  Paul Eggert  <eggert@shade.twinsun.com>
619         * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
620         This fix is propagated from tzcode1998g.tar.gz.
622 1998-09-24  Mark Kettenis  <kettenis@phys.uva.nl>
624         * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
625         _sys_siglist.  [!HAVE_GNU_LD]: Do not define _sys_siglist as
626         sys_siglist.  This is handled correctly by the weak_alias macro.
628 1998-09-24  Ulrich Drepper  <drepper@cygnus.com>
630         * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
631         of mempcpy.  Reported by Andreas Jaeger.
633         * misc/regexp.h (compile): Use alloca instead of __alloca.  It won't
634         pollute the namespace since the compiler will resolve it inline.
635         Reported by Florian La Roche <florian@suse.de>.
637 1998-09-24 10:29  Ulrich Drepper  <drepper@cygnus.com>
639         * timezone/private.h: Update from tzcode1998g.
641         * timezone/africa: Update from tzdata1998h.
642         * timezone/asia: Likewise.
643         * timezone/australasia: Likewise.
644         * timezone/europe: Likewise.
645         * timezone/northamerica: Likewise.
646         * timezone/southamerica: Likewise.
647         * timezone/zone.tab: Likewise.
649 1998-09-23 17:28 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
651         * misc/sys/mman.h: New file.
653         * sysdeps/generic/bits/mman.h: New file.
654         * sysdeps/unix/bsd/osf/bits/mman.h: New file.
655         * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
656         * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
657         * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
659         * sysdeps/generic/sys/mman.h: Removed.
660         * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
661         * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
662         * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
663         * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
664         * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
666         * include/sys/mman.h: Look directly for misc/sys/mman.h.
667         * misc/Makefile (headers): Add bits/mman.h.
668         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
669         bits/mman.h.
671         * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
672         * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
673         * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
674         * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
675         * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
676         * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
677         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
678         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
680 1998-09-23 16:27 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
682         * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
683         * sysdeps/mach/alpha/thread_state.h: Likewise.
684         * sysdeps/mach/i386/sysdep.h: Likewise.
685         * sysdeps/mach/i386/thread_state.h: Likewise.
686         * sysdeps/mach/mips/sysdep.h: Likewise.
687         * sysdeps/mach/mips/thread_state.h: Likewise.
688         * sysdeps/posix/profil.c: Likewise.
689         * sysdeps/i386/i586/memcopy.h: Likewise.
690         * sysdeps/mach/pagecopy.h: Likewise.
692 1998-09-23 15:25  Ulrich Drepper  <drepper@cygnus.com>
694         * libio/stdio.h: Define __need_getopt and include getopt.h to define
695         getopt stuff.
696         * posix/unistd.h: Likewise.
697         * stdio/stdio.h: Likewise.
698         * posix/getopt.h: Remove _GNU_SOURCE use.  If __need_getopt is defined
699         define only getopt and the variables.
701 1998-09-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
703         * scripts/test-installation.pl (installation_problem): Don't link
704         the test program against libdb1.
706 1998-09-23 13:52  Ulrich Drepper  <drepper@cygnus.com>
708         * Makeconfig (all-subdirs): Add db.
709         * Versions.def: Add definition for libdb1.
710         * shlib-versions: Add definitions for libdb1.
711         * db/Makefile (extra-libs): Replace by libdb1.
712         (libdb-routines): Rename to libdb1-routines.
713         (headers): Rename to db1-headers.
714         (distribute): Add $(db1-headers).
715         (install-others): Define to install symlink libdb.so.NN and the
716         $(db1-headers).
717         (CPPFLAGS): Add -DUSE_LIBDB1
718         Remove rules to build makedb.
719         * db/Versions: Rename libdb to libdb1.
720         * include/db.h: If USE_LIBDB1 is defined include db/db.h.
721         * db/makedb.c: Removed.
723         * scripts/versions.awk: Recognize digits in library names.
725         * db/btree/bt_open.c: Fix compiler warnings.
726         * db/btree/bt_put.c: Likewise.
727         * db/btree/bt_split.c: Likewise.
728         * db/hash/hash.c: Likewise.
729         * db/hash/hash_bigkey.c: Likewise.
730         * db/recno/rec_close.c: Likewise.
732         * Makefile: Add localedata/% goal.
734 1998-09-22 19:58 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
736         * posix/execvp.c: Don't give up searching the PATH if execve
737         returns ENOTDIR.
739 1998-09-22 12:53  Ulrich Drepper  <drepper@cygnus.com>
741         * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
742         if _dl_fpu_control_set is set.
743         * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
744         * elf/rtld.c: Don't define _dl_fpu_control_set.
745         * elf/Versions: Remove _dl_fpu_control_set.
747 1998-09-22 11:51  Ulrich Drepper  <drepper@cygnus.com>
749         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
750         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
751         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
752         Correct values of other SA_* macros according to kernel headers.
754 1998-09-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
756         * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
757         variable l.
758         * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
759         old.
761 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
763         * elf/ldsodefs.h: Fix typo in comment.
765 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
767         * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
768         char when comparing buffer contents with putback character.
770 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
772         * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
773         Undo last change.
774         * elf/Versions: Undo last change.  Export _dl_fpu_control and
775         _dl_fpu_control_set.
776         * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
777         variables.  Include <fpu_control.h>.
778         * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
779         _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
780         to indicate that is was seen.
781         * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
782         only if _dl_fpu_control was set and is equal to desired value.
783         * math/Makefile (aux): Undo last change.
784         * math/Versions: Export __fpu_control with version GLIBC_2.0.
786 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
788         * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
789         optimized.
791 1998-09-21 10:00  Ulrich Drepper  <drepper@cygnus.com>
793         * string/bits/string2.h: Add mempcpy optimization.
794         * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
795         * intl/localealias.c: Define mempcpy only if not already defined.
797         * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
798         defined.
800 1998-09-20 10:48 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
802         * csu/abi-note.S: Emit the note directly instead of defining
803         a preprocessor macro that's only used once.  Don't include sysdep.h.
804         * abi-tags: Generalize Solaris entry.
806 1998-09-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
808         * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
809         Change to array to avoid runtime relocation.
810         * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
812 1998-09-21 12:22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
814         * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
815         * math/Makefile ($(objpfx)libieee.a): Likewise.
817 1998-09-21  Ulrich Drepper  <drepper@cygnus.com>
819         * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
820         Patch by John Tobey <jtobey@banta-im.com>.
822 1998-09-20  Ulrich Drepper  <drepper@cygnus.com>
824         * login/Makefile (distribute): Remove pty-internal.h, add
825         pty-private.h.
827         * stdlib/tst-strtol.c: Add more checks.
828         Patch by Zack Weinberg <zack@rabi.columbia.edu>.
830 1998-09-20 09:37  Ulrich Drepper  <drepper@cygnus.com>
832         * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
833         * elf/elf.h: Add AT_FPUCW.
834         * elf/Makefile (dl-routines): Add fpu_control.
835         (elide-routines.os): Add fpu_control.
836         (rtld-routines): Add fpu_control.
837         * math/Makefile (aux): Remove fpu_control.
838         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
839         (_dl_show_auxv): Likewise.
840         * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
841         if different from OS default.
843         * stdio-common/tstscanf.c: Add test case for (nil).
845 1998-09-18 17:41  Ulrich Drepper  <drepper@cygnus.com>
847         * libio/fileops.c (_IO_new_file_underflow): Before allocating
848         buffer make sure the pushback buffer is destroyed.
849         (_IO_new_file_seekoff): Likewise.
850         If mode==0 quit early with the result.
851         Clear OEF flag after successful fseek.
852         * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
853         * libio/ftello.c (ftello): Add offset from original buffer if
854         stream has pushed back characters.
855         * libio/ftello64.c (ftello64): Likewise.
856         * libio/iofgetpos.c (_IO_fgetpos): Likewise.
857         * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
858         * libio/ioftell.c (_IO_ftell): Likewise.
859         * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
860         and _IO_save_ptr.
861         (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
862         (_IO_default_pbackfail): Only stored push back character in original
863         buffer if it is the same as the one in the file at this position.
864         * libio/iofclose.c: Free backup buffer if one is available.
865         * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
866         mode!=0.
868         * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
870         * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
872         * stdio-common/vfscanf.c: Fix reading (nil) for %p.
874 1998-09-18  Mark Kettenis  <kettenis@phys.uva.nl>
876         * login/programs/pt_chown.c (more_help): Correct message that
877         describes the purpose of the program.
879         * login/openpty.c: Do not include pty-private.h.
880         (pts_name): New function.  Return name of slave pseudo terminal in
881         an allocated buffer if necessary.
882         (openpty): Use pts_name to get name of the slave end of the pseudo
883         terminal pair.
885         * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
886         pts_name before return.
888 1998-09-18 11:15  Ulrich Drepper  <drepper@cygnus.com>
890         * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
892 1998-09-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
894         * login/openpty.c: Include pty-private.h instead of
895         pty-internal.h.
897 1998-09-09  Philip Blundell  <pb@nexus.co.uk>
899         * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
901 1998-09-07  Philip Blundell  <pb@nexus.co.uk>
903         * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
904         recent ld.so changes.
905         (elf_machine_runtime_setup): Correct behaviour when profiling.
907 1998-09-17 19:34  Ulrich Drepper  <drepper@cygnus.com>
909         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
910         Patch by John Tobey <jtobey@banta-im.com>.
912 1998-09-17  Mark Kettenis  <kettenis@phys.uva.nl>
914         * login/pty-internal.h: Removed.  Moved constants related to the
915         `grantpt' helper program protocol to ...
916         * login/pty-private.h: ... here.  New file.
917         * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
918         to make the function work with kernels >= 2.1.115.
919         * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
920         version if using the cloning device fails.
921         * sysdeps/unix/sysv/linux/grantpt.c: New file.
922         * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
923         * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
924         use by Linux specific code.
925         * sysdeps/unix/bsd/unlockpt.c: General cleanup.
926         * sysdeps/unix/grantpt.c: Largely rewritten.  (pts_name): New
927         function.  (grantpt): Use pts_name, check group and permission
928         mode in addition to owner.  Try to set the owner, group and
929         permission mode first without invoking the helper program.
930         * login/programs/pt_chown.c: Largely rewritten.  Add argp and
931         internationalization support.  Use symbolic constants instead of
932         hardwired numbers for permission mode.
933         * sysdeps/unix/bsd/ptsname.c: New file.
935 1998-09-17 22:04  Tim Waugh  <tim@cyberelk.demon.co.uk>
937         * posix/wordexp-test.c: Undo last change.
939         * posix/wordexp.c: Undo last change.
941 1998-09-16  Ulrich Drepper  <drepper@cygnus.com>
943         * nscd/grpcache.c (save_grp): Partly undo last change.
945         * nscd/pwdcache.c (save_pwd): Undo last change.
947 1998-09-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
949         * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
950         function.  Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
952 1998-09-15  David S. Miller  <davem@pierdol.cobaltmicro.com>
954         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
955         Add profiling support.
956         (TRAMPOLINE_TEMPLATE): New macro.
957         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
958         (RTLD_START): Prettify, and set __libc_stack_end properly.
959         (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
960         and check for sym being NULL instead.
961         * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
962         of stack space.
963         * sysdeps/sparc/sparc64/lshift.S: Likewise.
964         * sysdeps/sparc/sparc64/mul_1.S: Likewise.
965         * sysdeps/sparc/sparc64/rshift.S: Likewise.
966         * sysdeps/sparc/sparc64/submul_1.S: Likewise.
967         * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
968         MEDANY code model %g4 usage.
969         * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
970         MEDANY code model %g4 usage.
971         * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
972         code model address formation.
973         * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
974         include elf/ldsodefs.h
975         (DT_SPARC): Remove.
976         (elf_machine_matches_host): It is now EM_SPARCV9.
977         (elf_machine_dynamic): Clean up to remove ugly cast.
978         (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
979         new PLT formats.
980         (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
981         Prettify rest of function.
982         [R_SPARC_COPY]: Check for sym being NULL.
983         [R_SPARC_32]: Handle it.
984         [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
985         MEDMID code model.
986         [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
987         MEDANY code model.
988         [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
989         (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
990         Add profiling support.
991         (TRAMPOLINE_TEMPLATE): New macro.
992         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
993         (RTLD_START): Prettify and set __libc_stack_end.
994         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
995         Define.
996         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
997         (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
998         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
999         unused variable scratch.
1000         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1001         (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
1002         Declare.
1003         (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
1004         stub to rt_sigaction syscalls.  Rewrite non-rt case to use correct
1005         old format kernel sigaction structures.
1006         * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
1007         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
1008         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
1009         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
1010         ucontext include.
1011         (_JMPBUF_UNWINDS): Define.
1012         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
1013         statfs64 structure, which is exactly the same as the normal one.
1014         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
1015         of stack.  Use correct syscall trap number.  Add branch prediction
1016         settings to branch instructions.  Remove old MEDANY code model %g4
1017         referneces for non-PIC.
1018         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
1019         * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
1020         * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
1021         * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
1022         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1023         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
1024         __libc_longjmp and __libc_siglongjmp strong aliases.
1025         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
1026         Also define to __no__readdir64_decl around readdir.c inclusion.
1027         (__readdir64): Add strong alias.
1028         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
1029         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
1030         Set strong and weak names properly.
1032 1998-09-16 11:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1034         * manual/Makefile (AWK): Default to gawk if standalone.
1036 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1038         * Makefile (distribute): Undo last change.
1039         * Make-dist (+tsrc) [not subdir]: Also include indirection headers
1040         for sysdep headers.
1041         (+subdir-headers): Removed, unused.
1043 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1045         * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
1046         $(do-install).
1048 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1050         * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
1051         absolute name in $(config-sysdirs), can never happen.
1052         ($(+sysdir_pfx)sysd-rules): Likewise.
1053         * Makeconfig (full-config-sysdirs): Likewise.
1054         (all-Subdirs-files): Prepend $(..).
1056         * configure.in: Don't check for absolute name in $add_ons_pfx, can
1057         not happen.  Let --enable-add-ons=yes work if no add-ons actually
1058         exist.
1060 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1062         * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
1063         continuations in command.
1065 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1067         * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
1069 1998-09-16 00:47  Tim Waugh  <tim@cyberelk.demon.co.uk>
1071         * posix/wordexp-test.c: If expansion or substitution occurs
1072         anywhere in a word, the entire word is subject to field-splitting.
1074         * posix/wordexp.c (parse_glob): Look for end of word instead of
1075         end of field when deciding what to glob.
1076         (field_split_word): New function, now the only place where
1077         field-splitting is performed.
1078         (parse_dollars): New parameter - tell the caller if
1079         field-splitting should be performed on this word.
1081         * posix/wordexp-test.c (testit): Only call wordfree if wordexp
1082         succeeded (or failed with WRDE_NOSPACE).
1084 1998-09-15 19:53 1998  Tim Waugh  <tim@cyberelk.demon.co.uk>
1086         * posix/wordexp.c (wordexp): Don't convert IFS characters to
1087         blanks.
1089         * posix/wordexp-test.c: Words not the result of expansion or
1090         substitution should remain unchanged.
1092 1998-09-15  Ulrich Drepper  <drepper@cygnus.com>
1094         * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
1095         (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
1097 1998-09-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1099         * stdio-common/Makefile: Include Makeconfig so that
1100         $(inst_includedir) is defined.
1102 1998-09-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1104         * io/pwd.c: Include <mcheck.h>.
1106 1998-09-15 08:00  Ulrich Drepper  <drepper@cygnus.com>
1108         * nscd/pwdcache.c (save_pwd): Correct copying.
1109         * nscd/grpcache.c (save_grp): Likewise.
1111 1998-09-14 23:36  Ulrich Drepper  <drepper@cygnus.com>
1113         * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
1114         (free_pwd): Adjust for this change.
1115         * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
1116         (free_grp): Adjust for this change.
1118 1998-09-14  Ulrich Drepper  <drepper@cygnus.com>
1120         * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
1122 1998-09-14 15:29  Ulrich Drepper  <drepper@cygnus.com>
1124         * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
1125         (install-others): Add bits/stdio_lim.h.
1126         Add rule to install bits/stdio_lim.h.
1128         * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
1130         * Makefile (distribute): Add include/sys/mman.h.
1132         * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
1133         * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
1134         * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
1136         * grp/initgroups.c: Include stdlib.h.
1137         Patch by Zack Weinberg.
1139 1998-09-14 22:46  Tim Waugh  <tim@cyberelk.demon.co.uk>
1141         * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
1142         for field-splitting :abc: is correct, and that two fields should
1143         result. Revert tests to reflect this.
1145         * posix/wordexp.c (w_emptyword): Remove function.
1146         (exec_comm): Don't use w_emptyword.
1147         (parse_param): Likewise.
1149 1998-09-14 15:00  Ulrich Drepper  <drepper@cygnus.com>
1151         * sysdeps/arm/fpu/Dist: Moved to...
1152         * sysdeps/arm/Dist: ...here.
1153         * sysdeps/posix/Dist: Removed.
1154         * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
1155         * sysdeps/unix/sysv/linux/i386/Dist: ...here.
1157 1998-08-26  Geoff Keating  <geoffk@ozemail.com.au>
1159         * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
1161 1998-09-14 11:26  Ulrich Drepper  <drepper@cygnus.com>
1163         * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
1165 1998-09-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1167         * libc-work/nis/nss_nisplus/nisplus-service.c
1168         (_nss_nisplus_parse_servent): Convert port in network byte order.
1170 1998-09-14 07:53 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1172         * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
1173         to provide only malloc and calloc.
1174         * include/stdlib.h: Support the above.
1175         * string/bits/string2.h: Use __need_malloc_and_calloc when
1176         including stdlib.h.
1177         (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
1179         * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
1180         * iconvdata/iso646.c: Include <stdlib.h>.
1182 1998-09-14 07:51 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1184         * sunrpc/rpc_cout.c: Add braces around ambiguous else.
1185         * sysdeps/libm-ieee754/w_pow.c: Likewise.
1186         * sysdeps/libm-ieee754/w_powf.c: Likewise.
1187         * sysdeps/libm-ieee754/w_powl.c: Likewise.
1189 1998-09-14 07:57 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1191         * stdio-common/stdio_lim.h.in: New file.  All parameters
1192         are adjustable at build time.
1193         * Rules: Add a rule to build bits/stdio_lim.h from
1194         stdio-common/stdio_lim.h.in.  (It has to be in Rules so that
1195         all subdirectories know how to make the file.  It can't be
1196         in Makerules because then it gets built at top level and the
1197         dependencies are wrong.)
1199         * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
1200         * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
1201         stdio_lim.h.
1202         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
1203         * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
1204         * sysdeps/posix/Makefile: Removed.
1205         * sysdeps/posix/mk-stdiolim.c: Removed.
1206         * sysdeps/generic/bits/stdio_lim.h: Removed.
1208 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1210         * argp/argp-help.c: Fixup indentation.
1211         * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
1212         * resolv/nss_dns/dns-network.c: Likewise.
1213         * resolv/res_send.c: Likewise.
1214         * rt/aio_cancel.c: Likewise.
1215         * rt/aio_misc.c: Likewise.
1217 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1219         * Makefile (install-symbolic-link): Remove the link list file at last.
1220         * Makerules (install-clean-symbolic-link-list): Removed.
1222 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1224         * timezone/tst-timezone.c: Print time in UTC to get consistent
1225         output.
1227 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1229         * elf/rtld.c (_dl_rpath): Removed.
1230         * elf/dl-support.c (_dl_path): Removed.
1231         * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
1232         (CFLAGS-dl-support.c): Removed.
1234         * elf/dl-load.c (env_path_list): Renamed from fake_path_list.  All
1235         uses changed.
1236         (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
1237         instead of appending it to the main map's rpath info.
1238         (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
1239         DT_RPATHs.  This makes it effective again.
1240         (decompose_rpath): Remove second parameter, callers changed.
1241         (fillin_rpath): Allocate enough space in curwd.
1242         (expand_dynamic_string_token): Cope with get_origin returning -1.
1244 1998-09-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1246         * libc-work/nis/nss_compat/compat-pwd.c: Add support for
1247         passwd.adjunct.
1249         * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
1250         invalid password.
1252 1998-09-13 18:06  Ulrich Drepper  <drepper@cygnus.com>
1254         * locale/programs/locale.c: Update dates.
1256 1998-09-13  Mark Kettenis  <kettenis@phys.uva.nl>
1258         * sysdeps/generic/bits/types.h: Include <features.h>.  Make sure
1259         size_t is defined.  Some reordering of defenitions to make
1260         maintaining this file in parallel with the linux-specific file easier.
1262 1998-09-13  Ulrich Drepper  <drepper@cygnus.com>
1264         * io/pwd.c (main): Add call to mtrace.
1266         * malloc/mtrace.pl: Quote @ in string.
1268 1998-09-13 19:25  Tim Waugh  <tim@cyberelk.demon.co.uk>
1270         * posix/wordexp.c (parse_arith): Fix memory leaks.
1271         (exec_comm): Likewise.
1272         (parse_param): Likewise.
1273         (wordexp): Likewise.
1274         (exec_comm): Reduce number of function return points.
1275         (parse_param): Likewise.
1276         (wordexp): Likewise.
1278 1998-09-13 14:53  Tim Waugh  <tim@cyberelk.demon.co.uk>
1280         * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
1281         yield three fields, not two.  Test both parameter expansion and
1282         command substitution for correct field-splitting behaviour.
1284         * posix/wordexp.c (w_emptyword): New function.
1285         (parse_param): Use it.
1286         (exec_comm): Likewise, for consistency with the way parse_param
1287         splits fields.
1288         (parse_param): Fix some memory leaks.
1290 1998-09-13 18:04  Geoff Keating  <geoffk@ozemail.com.au>
1292         * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
1293         Don't mark asm `volatile'.
1294         (__elf_machine_runtime_setup): Clear the last partial block in the PLT
1295         from the data cache too.  Assume it isn't in the instruction cache yet.
1296         (__elf_machine_fixup_plt): Clear the modified address from the caches.
1298 1998-09-12  Mark Kettenis  <kettenis@phys.uva.nl>
1300         * sysdeps/generic/segfault.c (install_handler): Install signal
1301         handler with SA_ONSTACK instead of setting the stack flags to
1302         SS_ONSTACK.  Do not install handler for SIGSTKFLT if it is not
1303         defined.
1305 1998-09-12 14:24 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1307         * signal/signal.h: Fix multiple inclusion guard to cover the
1308         entire file.
1309         * wcsmbs/wchar.h: Remove prototype of internal function
1310         __mbsrtowcs.
1311         * sysdeps/i386/i486/bits/string.h (memchr): Don't do
1312         arithmetic on `void *'.
1314 1998-09-12 01:09  Tim Waugh  <tim@cyberelk.demon.co.uk>
1316         * posix/wordexp-test.c: Fix wrong tests.  Add new tests.
1318         * posix/wordexp.c (wordexp): Perform word-splitting instead of
1319         field-splitting here.
1320         (wordexp): If out of memory mid-word, free the word (but still
1321         leave pwordexp alone for caller to see).
1322         (parse_param): Allow for zero-length fields (smarter checking of
1323         memory allocation failure).
1324         (w_addword): Convert NULL words to "".
1325         (wordexp): Convert left-over IFS characters to blanks (like bash).
1327 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
1329         * configure.in: Use test -f instead of test -e.
1330         Patch by John Tobey <jtobey@banta-im.com>.
1332         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
1333         * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
1334         * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
1335         * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
1336         * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
1337         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
1338         * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
1339         Patches by John Tobey <jtobey@banta-im.com>.
1341         * time/strftime.c (my_strftime): Delay use of *tp values until
1342         latest possible point to allow partly initialized structures
1343         (e.g., from strptime).
1345         * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
1346         and NATS-SEFI.
1347         Define *-routines variables for new modules.
1348         (distribute): Add .c files for new modules.
1349         (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
1350         and nats-sefi.h.
1351         Add rules for header generation.
1352         * iconvdata/gconv-modules: Add entries for new modules.
1353         * iconvdata/iso_10367-box.c: New file.
1354         * iconvdata/mac-is.c: New file.
1355         * iconvdata/nats-dano.c: New file.
1356         * iconvdata/nats-sefi.c: New file.
1358 1998-04-30 18:20  H.J. Lu  <hjl@gnu.org>
1360         * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
1361         loader if PIC is not defined.
1363 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
1365         * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
1366         ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
1367         INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
1368         and ISO_5428.
1369         Define *-routines variables for new modules.
1370         (distribute): Add .c files for new modules.
1371         (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
1372         ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
1373         greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
1374         iso_5427.h, iso_5427-ext.h, and iso_5428.h.
1375         Add rules for header generation.
1376         * iconvdata/gconv-modules: Add entries for new modules.
1377         * iconvdata/csn_369103.c: New file.
1378         * iconvdata/cwi.c: New file.
1379         * iconvdata/dec-mcs.c: New file.
1380         * iconvdata/ecma-cyrillic.c: New file.
1381         * iconvdata/gost_19768-74.c: New file.
1382         * iconvdata/greek-ccitt.c: New file.
1383         * iconvdata/greek7-old.c: New file.
1384         * iconvdata/greek7.c: New file.
1385         * iconvdata/inis-8.c: New file.
1386         * iconvdata/inis-cyrillic.c: New file.
1387         * iconvdata/inis.c: New file.
1388         * iconvdata/iso6937-2.c: New file.
1389         * iconvdata/iso_2033.c: New file.
1390         * iconvdata/iso_5427-ext.c: New file.
1391         * iconvdata/iso_5427.c: New file.
1392         * iconvdata/iso_5428.c: New file.
1394         * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
1395         entries.
1396         Convert U02dd correctly.
1398 1998-09-11 20:46  Richard Henderson  <rth@cygnus.com>
1400         * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
1401         _dl_main_searchlist not _dl_default_scope to _dl_init_next.
1402         * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
1403         * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
1405 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
1407         * resolv/res_init.c (res_init): Handle resolv.conf file with only
1408         one nameserver correctly.  Patch by HJ Lu.
1410         * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
1411         and ANSI_X3.110.
1412         Define *-routines variables for new modules.
1413         (distribute): Add .c files for new modules.
1414         (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
1415         Add rules for hedaer generation.
1416         * iconvdata/gconv-modules: Add entries for new modules.  Pretty print.
1417         * iconvdata/ansi_x3.110.c: New file.
1418         * iconvdata/asmo_449.c: New file.
1419         * iconvdata/baltic.c: New file.
1420         * iconvdata/iec_p27-1.c: New file.
1422         * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
1423         entries.
1424         Convert U02dc correctly.
1426         * math/atest-exp.c: Add parentheses to avoid gcc warnings.
1427         * math/atest-exp2.c: Likewise.
1428         * math/atest-sincos.c: Likewise.
1430         * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
1431         is defined.
1433 1998-09-11 10:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1435         * string/strcoll.c: Optimize a few expressions.
1436         * string/strxfrm.c: Likewise.
1438 1998-09-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1440         * manual/locale.texi: Fix typos.
1442 1998-09-10  Ulrich Drepper  <drepper@cygnus.com>
1444         * stdlib/random_r.c (__setstate_r): Allow call with same state
1445         array as currently used (PR libc/774).
1447         * include/limits.h: Include gcc's header even if this file is
1448         found more than once before it (PR libc/778)
1450         * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
1451         (sysdep_headers): Remove sys/debugreg.h.
1452         * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
1453         (sysdep_headers): Add sys/debugreg.h.
1454         * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
1455         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
1457         * stdio-common/tmpnam.c: Move local static variable buf to
1458         toplevel and rename to tmpnam_buffer to ease debugging.
1459         Patch by Joe Keane <jgk@jgk.org>.
1460         Optimize s == NULL case a bit.
1462         * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
1463         correction.
1465 1998-09-10 12:51  Ulrich Drepper  <drepper@cygnus.com>
1467         * resolv/res_init.c (res_init): Initialize _res.nscount and
1468         _res.nsaddr.sin_port differently for the can when no loopback
1469         is available to allow immediate timeout in non-networking environments.
1470         Patch by Cristian Gafton <gafton@redhat.com>.
1472 1998-09-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1474         * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
1475         BAR and not EM DASH.
1476         * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
1477         * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
1478         Fixes PR libc/717.
1480 1998-09-10 11:53  Ulrich Drepper  <drepper@cygnus.com>
1482         * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
1483         for test.
1484         * timezone/tst-timezone.c (tests): Fix typo in last patch.
1486         * time/tzfile.c (__tzfile_read): Handle case when there are no
1487         transitions.  Set __timezone based on computed offset.
1488         * time/tzset.c (tzset_internal): Set __timezone before returning.
1490         * time/tzset.c (tzset_internal): Optimize handling of local string
1491         copy.
1493 1998-09-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1495         * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
1496         libc/776).
1498 1998-09-09  Benjamin Kosnik  <bkoz@tintin.cygnus.com>
1500         * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
1501         (csqrt_test): Likewise.
1502         * sysdeps/powerpc/bits/fenv.h: Add parens.
1504 1998-09-09 18:48  Ulrich Drepper  <drepper@cygnus.com>
1506         * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
1507         _dl_main_searchlist not _dl_default_scope to _dl_init_next.
1508         Patch by Benjamin Kosnik <bkoz@cygnus.com>.
1510 1998-09-09  Mark Kettenis  <kettenis@phys.uva.nl>
1512         * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
1513         the special `-1' pointer.
1515 1998-09-09 09:32  Ulrich Drepper  <drepper@cygnus.com>
1517         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
1518         inline.
1520 1998-09-07  Paul Eggert  <eggert@twinsun.com>
1522         * time/mktime.c (__EXTENSIONS__): Define if not defined.
1523         (_REENTRANT): Remove.  It has undesirable consequences in
1524         Solaris 2.6 (e.g. it turns off the putc macro).  Defining
1525         __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
1526         is what we want.
1527         * time/strftime.c: Likewise.
1529 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1531         * elf/dl-error.c: Fix spelling.
1533 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1535         * stdlib/strfmon.c: Quiet -Wparentheses warnings.
1536         * stdio-common/_itoa.c: Likewise.
1537         * stdio-common/printf_fp.c: Likewise.
1538         * stdio-common/vfscanf.c: Likewise.
1539         * wcsmbs/wcstok.c: Likewise.
1540         * sysdeps/generic/glob.c: Likewise.
1541         * posix/getopt.c: Likewise.
1542         * sysdeps/posix/getaddrinfo.c: Likewise.
1543         * posix/wordexp.c: Likewise.
1544         * io/ftw.c: Likewise.
1545         * io/fts.c: Likewise.
1546         * misc/getpass.c: Likewise.
1547         * iconv/gconv_conf.c: Likewise.
1548         * argp/argp-fmtstream.c: Likewise.
1549         * argp/argp-help.c: Likewise.
1550         * elf/dl-load.c: Likewise.
1551         * locale/programs/stringtrans.c: Likewise.
1552         * catgets/gencat.c: Likewise.
1553         * posix/getconf.c: Likewise.
1554         * iconv/gconv_conf.c: Likewise.
1555         * iconv/iconv_prog.c: Likewise.
1557         * string/strcoll.c: Optimize a few expressions.
1558         * string/strxfrm.c: Likewise.
1560 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1562         * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
1563         level to avoid uninit variable warning.
1565 1998-09-09 10:34  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1567         * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
1568         instead of _dl_default_scope[2] as argument to _dl_init_next.
1570         * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
1571         C9x macro.
1573 1998-09-08  Ulrich Drepper  <drepper@cygnus.com>
1575         Fix compatibility problems introduced in last change.
1576         * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
1577         defined.
1578         * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
1579         -DWEAK_GMON_START to CFLAGS-initfini.s.
1581         * elf/dl-object.c (_dl_new_object): Store map address in
1582         _dl_loaded if _dl_loaded is NULL.
1583         * elf/rtld.c (dl_main): Don't update _dl_loaded here.
1585         * sysdeps/generic/setrlimit64.c: Remove stub warning.
1587 1998-09-07  Ulrich Drepper  <drepper@cygnus.com>
1589         * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
1590         quiet.
1591         * db2/btree/bt_cursor.c: Likewise.
1592         * db2/common/db_region.db_c: Likewise.
1593         * db2/common/db_salloc.db_c: Likewise.
1594         * db2/db/db.c: Likewise.
1595         * db2/db/db_rec.c: Likewise.
1596         * db2/hash/hash.c: Likewise.
1597         * db2/hash/hash_page.c: Likewise.
1598         * db2/hash/hash_rec.c: Likewise.
1599         * db2/log/log_findckp.c: Likewise.
1600         * db2/log/log_get.c: Likewise.
1601         * db2/log/log_put.c: Likewise.
1602         * db2/mp/mp_fget.c: Likewise.
1603         * db2/mp/mp_fput.c: Likewise.
1604         * db2/mp/mp_region.c: Likewise.
1605         * stdlib/strtol.c: Likewise.
1606         * string/strcoll.c: Likewise.
1607         * string/strxfrm.c: Likewise.
1608         * argp/argp-help.c: Likewise.
1609         * argp/argp-parse.c: Likewise.
1610         * resolv/res_debug.c: Likewise.
1612 1998-09-07 09:58  Ulrich Drepper  <drepper@cygnus.com>
1614         * math/tgmath.h (scalb): Only define for __USE_MISC or
1615         __USE_XOPEN_EXTENDED.  Patch by Zack Weinberg.
1617 1998-09-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1619         * libio/stdio.h: Fix comment.
1621         * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
1622         __USE_ISOC9X.
1624 1998-09-06 09:53 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1626         * Makeconfig (+gccwarn): Remove -Wno-parentheses.
1628         * elf/dl-open.c: Quiet -Wparentheses warnings.
1629         * iconvdata/johab.c: Likewise.
1630         * iconvdata/uhc.c: Likewise.
1631         * inet/inet_net.c: Likewise.
1632         * io/fts.c: Likewise.
1633         * locale/newlocale.c: Likewise.
1634         * misc/getttyent.c: Likewise.
1635         * misc/mntent_r.c: Likewise.
1636         * misc/ttyslot.c: Likewise.
1637         * nscd/nscd_conf.c: Likewise.
1638         * nss/nsswitch.c: Likewise.
1639         * resolv/gethnamaddr.c: Likewise.
1640         * resolv/nsap_addr.c: Likewise.
1641         * resolv/res_debug.c: Likewise.
1642         * stdio-common/_itoa.c: Likewise.
1643         * stdlib/strtod.c: Likewise.
1644         * string/strverscmp.c: Likewise.
1645         * sunrpc/svc.c: Likewise.
1646         * sysdeps/libm-ieee754/e_cosh.c: Likewise.
1647         * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
1648         * sysdeps/libm-ieee754/e_sinh.c: Likewise.
1649         * sysdeps/posix/getaddrinfo.c: Likewise.
1651 1998-09-06 15:13  Ulrich Drepper  <drepper@cygnus.com>
1653         * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
1654         for use of global scope.
1655         * elf/dlvsym.c (dlvsym_doit): Likewise.
1657 1998-09-02  Paul Eggert  <eggert@twinsun.com>
1659         * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
1660         copy the redundant bytes at the end of the format as-is; don't
1661         just copy their first byte and then rescan, as that might get
1662         us an encoding error.
1663         Account correctly for the length of multibyte sequences in the
1664         format.
1666 1998-09-03 20:14  Tim Waugh  <tim@cyberelk.demon.co.uk>
1668         * posix/wordexp-test.c: Add tests for different IFS values.
1669         Change unquoted-newline test so that newline is not in IFS.
1671         * posix/wordexp.c (wordexp): Correct null/unset mix-up when
1672         determining IFS characters.  Return WRDE_BADCHAR for unquoted
1673         special characters _except_ if they are separators.
1675 1998-09-06 10:56  Ulrich Drepper  <drepper@cygnus.com>
1677         * include/tgmath.h: New file.
1679         * libio/stdio.h: Correct reversed #ifs.
1680         Patch by Zack Weinberg.
1682         * manual/creature.texi: Better explain reason for feature select
1683         macros.
1684         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
1686 1998-09-06 10:25 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1688         * include/alloca.h: Add multiple-inclusion guard.
1689         * include/db.h: Likewise.
1690         * include/db_185.h: Likewise.
1691         * include/dlfcn.h: Likewise.
1692         * include/fcntl.h: Likewise.
1693         * include/grp.h: Likewise.
1694         * include/libintl.h: Likewise.
1695         * include/mntent.h: Likewise.
1696         * include/pwd.h: Likewise.
1697         * include/sched.h: Likewise.
1698         * include/search.h: Likewise.
1699         * include/setjmp.h: Likewise.
1700         * include/shadow.h: Likewise.
1701         * include/signal.h: Likewise.
1702         * include/stdio.h: Likewise.
1703         * include/stdlib.h: Likewise.
1704         * include/string.h: Likewise.
1705         * include/termios.h: Likewise.
1706         * include/time.h: Likewise.
1707         * include/ulimit.h: Likewise.
1708         * include/utmp.h: Likewise.
1709         * include/wchar.h: Likewise.
1710         * include/sys/file.h: Likewise.
1711         * include/sys/gmon.h: Likewise.
1712         * include/sys/ioctl.h: Likewise.
1713         * include/sys/mman.h: Likewise.
1714         * include/sys/resource.h: Likewise.
1715         * include/sys/select.h: Likewise.
1716         * include/sys/socket.h: Likewise.
1717         * include/sys/statfs.h: Likewise.
1718         * include/sys/time.h: Likewise.
1719         * include/sys/times.h: Likewise.
1720         * include/sys/wait.h: Likewise.
1722 1998-09-06 09:00  Ulrich Drepper  <drepper@cygnus.com>
1724         * version.h (VERSION): Bump to 2.0.96.
1726         Rewrite runtime linker to be truly thread-safe.  There is now no
1727         global variable specifying the scope.  We create all needed
1728         scopes at the time the link maps are created.
1729         * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
1730         * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
1731         l_symbolic_searchlist, l_scope, and l_local_scope elements in
1732         struct link_map.
1733         * elf/dl-close.c: Rewritten accordingly.
1734         * elf/dl-deps.c: Likewise.
1735         * elf/dl-error.c: Likewise.
1736         * elf/dl-init.c: Likewise.
1737         * elf/dl-load.c: Likewise.
1738         * elf/dl-lookup.c: Likewise.
1739         * elf/dl-object.c: Likewise.
1740         * elf/dl-open.c: Likewise.
1741         * elf/dl-reloc.c: Likewise.
1742         * elf/dl-runtime.c: Likewise.
1743         * elf/dl-support.c: Likewise.
1744         * elf/dl-symbol.c: Likewise.
1745         * elf/dl-version.c: Likewise.
1746         * elf/dlsym.c: Likewise.
1747         * elf/dlvsym.c: Likewise.
1748         * elf/ldsodefs.h: Likewise.
1749         * elf/rtld.c: Likewise.
1750         * iconv/gconv_dl.c: Likewise.
1751         * nss/nsswitch.c: Likewise.
1752         * sysdeps/i386/dl-machine.h: Likewise.
1753         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
1755         * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
1756         Define RTLD_DEFAULT.
1758 1998-09-05  Mark Kettenis  <kettenis@phys.uva.nl>
1760         * sysdeps/mach/hurd/i386/init-first.c (init1): Call
1761         __getopt_clean_environment with __environ instead of envp.
1763 1998-09-05  Roland McGrath  <roland@baalperazim.frob.com>
1765         * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
1767         * string/argz-extract.c (__argz_extract): Add de-consting cast for
1768         setting results.
1770         * string/argz.h (argz_next): Add de-consting cast for return.
1771         * string/argz-next.c (__argz_next): Likewise.
1773         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
1774         Don't add netinet/udp.h, netinet/ip_icmp.h here.
1775         * sysdeps/gnu/Makefile: Do it here instead.
1776         * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
1777         * sysdeps/gnu/Dist: ... to here.
1779         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
1780         sysdeps/unix/sysv/linux/netinet/tcp.h,
1781         sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
1783 1998-09-04  Roland McGrath  <roland@baalperazim.frob.com>
1785         * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
1786         * string/argz-next.c, string/argz-extract.c: Fix defns.
1788 1998-09-03  Roland McGrath  <roland@baalperazim.frob.com>
1790         * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
1792         * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
1793         __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
1794         * sysdeps/generic/sysd-stdio.c: Likewise.
1796 1998-09-02  Ulrich Drepper  <drepper@cygnus.com>
1798         * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
1799         (_dl_map_object_from_fd): Make NAME argument const.
1800         Remove last parameter in _dl_new_object call.
1801         (print_search_path): Correct construction of composed path name.
1802         (_dl_map_object): Prevent looking at RPATH of the main map twice.
1803         Remove last parameter in _dl_new_object call.
1804         * elf/dl-object.c: Remove last parameter.  Determine whether create
1805         origin entry based on empty realname.  Handle file in root directory
1806         correctly.
1807         * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
1808         * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
1809         Remove last parameter in _dl_new_object call.
1810         * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
1811         * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
1813 1998-09-01  Ulrich Drepper  <drepper@cygnus.com>
1815         * elf/dl-close.c (_dl_close): Add more comments and correct some.
1816         Free l_searchlist and l_dupsearchlist.
1818         * debug/catchsegv.sh: Add one more pair of quotes.
1820 1998-09-01 17:53  Ulrich Drepper  <drepper@cygnus.com>
1822         * elf/dl-load.c (add_name_to_object): Change return type to void and
1823         make NAME parameter const.  Allocate room for NAME in same memory
1824         block used for l_libname entry.
1825         (_dl_map_object_from_fd): Don't free NAME on failure.
1826         (map_segment): Pass SONAME to add_name_to_object, not a copy.
1827         (_dl_map_object): Don't create copy of NAME.  Pass NAME to
1828         _dl_map_object_from_fd.
1829         * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
1830         memory block used for l_libname entry.
1831         * elf/dl-close.c: Adjust free()ing for this change.
1833 1998-09-01 15:36  Ulrich Drepper  <drepper@cygnus.com>
1835         * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
1837         * malloc/mtrace.c: Add bug report address.  Update email address.
1838         Add more @XXX@ to print correct address size.
1840         * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
1841         really initialized.
1843         * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
1844         for munmap call instead of examining phdr again.
1845         Free all malloc()ed strings and arrays.
1847 1998-08-09  Geoff Keating  <geoffk@ozemail.com.au>
1849         * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
1850         dl-machine.h.
1851         * sysdeps/powerpc/dl-machine.c: New file.
1852         * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
1853         files.  Revise ELF_PREFERRED_ADDRESS to take account of
1854         the new mapping information (fixes bug involving huge bloated
1855         web browser).  Set ELF_MACHINE_PLTREL_OVERLAP.
1856         * sysdeps/powerpc/dl-start.S: New file.
1858         * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
1859         l_map_end.
1860         * elf/do-rel.h: Call elf_machine_rel only once (to save space).
1861         * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
1862         others.  Call elf_dynamic_do_##reloc only once (to save even more
1863         space).
1864         * elf/link.h: Add new members l_map_start and l_map_end to keep
1865         track of the memory map.
1866         * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
1867         the executable.
1869 1998-09-01 11:53  Ulrich Drepper  <drepper@cygnus.com>
1871         * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
1872         Reported by Andreas Jaeger.
1874         * posix/glob.h: Use __size_t instead of size_t in definitions and
1875         make sure this is defined.
1877 1998-09-01 10:34  Ulrich Drepper  <drepper@cygnus.com>
1879         * manual/locale.texi: Almost complete rewrite.  Document more functions
1880         and functionality.
1881         * manual/arith.texi: Correct reference.
1882         * manual/string.texi: Pretty printing.
1884         * manual/texinfo.tex: Update from last available version.
1886 1998-08-31 22:44  Ulrich Drepper  <drepper@cygnus.com>
1888         * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
1889         invalid password.
1890         (_nss_nis_getpwuid_r): Likewise.
1891         Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
1893         * inet/rcmd.c: Implement netgroup support.
1894         Patch by Dick Streefland <dick_streefland@tasking.com>.
1896 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
1898         * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
1899         object on the list is removed.  Don't use this code for PIC.
1900         Reported by HJ Lu [PR libc/770].
1902 1998-08-31 15:56  Ulrich Drepper  <drepper@cygnus.com>
1904         * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
1906         * include/stdio.h: Add __vsscanf.
1908         * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
1909         __USE_ISOC9X.
1910         Remove __vsscanf declaration.
1911         Always declare fgetpos and fsetpos.
1913         * math/math.h: Define isinf as macro.
1914         * math/bits/mathcalls.h: Change to declare __isinf all the time.
1915         Don't declare scalb for ISO C 9x.
1917         * math/tgmath.h: Define fma.  Rewrite the underlying macros.
1919         * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
1921         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
1922         sys/ucontext.h.
1924         * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
1925         macros.
1927 1998-08-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1929         * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
1930         Reported by jreising@frequentis.com [PR libc/767].
1932 1998-08-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1934         * io/lockf.c (lockf): Move initilisation of fl.l_whence and
1935         fl.l_start at beginning of function.
1936         Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
1938 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
1940         * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
1941         Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
1943         * nscd/nscd.init: Make it work in RedHat systems.
1944         Patch by Christian Gafton.
1946 1998-08-29  Philip Blundell  <philb@gnu.org>
1948         * catgets/Makefile: Don't try to run test programs when
1949         cross-compiling.
1951 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
1953         * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
1954         Reported by Zack Weinberg.
1956 1998-08-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1958         * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
1959         * elf/Makefile (distribute): Remove ldd.sh.in.
1961 1998-08-31 11:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1963         * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
1964         variable.
1966 1998-08-29  Ulrich Drepper  <drepper@cygnus.com>
1968         * sysdeps/i386/register-dump.h: Move to ...
1969         * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
1971 1998-08-28 22:49  Ulrich Drepper  <drepper@cygnus.com>
1973         * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
1974         with load address, not map address.
1975         * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
1976         parameter and use this value.
1977         * sysdeps/arm/dl-machine.h: Likewise.
1978         * sysdeps/i386/dl-machine.h: Likewise.
1979         * sysdeps/m68k/dl-machine.h: Likewise.
1980         * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
1981         parameter.
1982         * sysdeps/powerpc/dl-machine.h: Likewise
1983         * sysdeps/sparc/sparc32/dl-machine.h: Likewise
1984         * sysdeps/sparc/sparc64/dl-machine.h: Likewise
1986 1998-08-28 09:22  Ulrich Drepper  <drepper@cygnus.com>
1988         * elf/rtld.c (process_envvars): Fix copy&paste error.
1990         * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
1991         memalign hook.
1992         (realloc_hook_ini): Don't overwrite memalign hook.
1993         (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
1994         Reported by Philippe Troin <phil@fifi.org>.
1996         * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
1997         Patch by Philippe Troin <phil@fifi.org>.
1999 1998-08-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2001         * sysdeps/generic/segfault.c (install_handler): Protect the
2002         non-POSIX signals with #ifdef.
2003         (catch_segfault): Add missing mode parameter for open.
2004         * debug/catchsegv.sh: Avoid termination message from shell.  Allow
2005         other termination signals.
2007 1998-08-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2009         * debug/Makefile (distribute): Add register-dump.h.
2011 1998-08-28 10:41  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2013         * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
2015 1998-08-27 19:42  Ulrich Drepper  <drepper@cygnus.com>
2017         * elf/Makefile (distribute): Add dl-origin.h.
2018         * sysdeps/generic/dl-origin.h: New file.
2019         * sysdeps/unix/sysv/linux/dl-origin.h: New file.
2020         * elf/link.h (struct link_map): Add l_origin field.
2021         * elf/dl-load.c (expand_dynamic_string_token): New function.
2022         (decompose_path): Remove WHERE argument, take link map pointer instead.
2023         Call expand_dynamic_string_token instead of local_strdup to make copy
2024         of rpath.
2025         (_dl_init_paths): Call decompose_path with correct argument.
2026         (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
2027         not defined.
2028         Check EI_OSABI and EI_ABIVERSION fields in header.
2029         Call _dl_new_object with extra argument.
2030         (_dl_map_object): Call decompose_path with correct argument.
2031         Call expand_dynamic_string_token instead of local_strdup to also
2032         expand DST.
2033         Call _dl_new_object with extra argument.
2034         * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
2035         but the main one if new argument is nonzero.
2036         * elf/ldsodefs.h: Adjust for _dl_new_object change.
2037         * elf/dl-support.c: Define _dl_origin_path.
2038         * elf/rtld.c: Likewise.  Set _dl_origin_path based on LD_ORIGIN_PATH.
2039         (dl_main): Call _dl_new_object with extra argument.
2041         * elf/dl-close (_dl_close): Free l_name and l_origin.
2043         * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
2044         modifier in asm, not c.
2046         * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
2047         to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
2049 1998-08-26 17:48  Ulrich Drepper  <drepper@cygnus.com>
2051         * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
2052         variable so that map can be freed.
2053         Reported by Philippe Troin <phil@fifi.org>.
2055         * elf/dl-open.c (dl_open_worker): Correct test for extending global
2056         scope array.
2057         Patch by Philippe Troin <phil@fifi.org>.
2059 1998-08-26  Geoff Keating  <geoffk@ozemail.com.au>
2061         * sysdeps/powerpc/register-dump.h: Rewrite.  Much nicer this way.
2062         Don't call writev() with a 100-element vector.
2063         * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
2064         return address.
2066         * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
2067         In particular, set __libc_stack_end.
2068         * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
2069         undefined.  Fix copyright notice.
2071 1998-08-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2073         * math/Makefile (gmp-objs): New variable.
2074         ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
2075         Depend on it.
2076         (tests): Add atest-exp atest-sincos atest-exp2.
2077         (tests-static): Remove atest-exp atest-sincos atest-exp2.
2079 1998-08-25  Ulrich Drepper  <drepper@cygnus.com>
2081         * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
2082         to toplevel.
2083         (_dl_unload_cache): New function.
2084         * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
2085         * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
2086         * elf/rtld.c (dl_main): Unload map file before jumping to user code.
2088         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
2089         Correct comment for O_LARGEFILE.
2090         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
2091         Change O_LARGEFILE to correct value.
2093 1998-08-25 14:34  Ulrich Drepper  <drepper@cygnus.com>
2095         * libio/iogetline.c (_IO_getline_info): Don't read anything for
2096         N == 0.  Patch by HJ Lu.
2098 1998-08-25 11:43  Ulrich Drepper  <drepper@cygnus.com>
2100         * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
2102 1998-08-25  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
2104         * argp/argp.h: Use __inline__ not inline.
2106         * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
2107         an input register as being clobbered.
2108         * sysdeps/i386/memset.c (memset): Likewise.
2109         * sysdeps/i386/bzero.c (__bzero): Likewise.
2110         * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
2112 1998-08-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2114         * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
2115         Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
2117 1998-08-24 16:34  Ulrich Drepper  <drepper@cygnus.com>
2119         * debug/catchsegv.sh: Handle text preceding backtrace better.
2120         * sysdeps/generic/segfault.c: Allow register dump.  Allow handler
2121         to be installed for other signals than SIGSEGV.
2122         * sysdeps/generic/register-dump.h: New file.
2123         * sysdeps/i386/register-dump.h: New file.
2124         * sysdeps/powerpc/register-dump.h: New file.
2126         * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
2127         sigcontextinfo.h.
2128         * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
2130 1998-08-24  Geoff Keating  <geoffk@ozemail.com.au>
2132         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
2134 1998-08-09  Geoff Keating  <geoffk@ozemail.com.au>
2136         * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
2137         * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
2138         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
2139         getresuid, getresgid.
2141 1998-08-16  Geoff Keating  <geoffk@ozemail.com.au>
2143         * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs.  Set up stack
2144         pointer in userland.
2146 1998-08-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2148         * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
2149         and fix value.
2151 1998-08-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2153         * elf/ldd.bash.in: Add missing quotes around $file.  Make loop
2154         over arguments Bourne shell compatible.  Don't exit unsuccessfully
2155         if nonelf returns successfully.  Avoid duplicating most of the
2156         script.
2157         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
2158         around $file.
2160 1998-08-24 10:37  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2162         * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
2163         sys/reg.h.
2164         * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
2165         * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
2167 1998-08-23  Ulrich Drepper  <drepper@cygnus.com>
2169         * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
2170         __modify_ldt and modify_ldt.
2171         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
2173         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2174         Use orl $-1 instead of movl $-1 to save two bytes.
2175         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
2176         Likewise.
2178 1998-08-17  H.J. Lu  <hjl@gnu.org>
2180         * libio/Versions (_IO_do_write, _IO_file_attach,
2181         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2182         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2183         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2184         _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
2186         * libio/fileops.c (_IO_do_write, _IO_file_attach,
2187         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2188         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2189         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2190         _IO_file_write, _IO_file_xsputn): Change the prefix to
2191         "_IO_new_". Added to GLIBC_2.1.
2193         * libio/libioP.h (_IO_do_write, _IO_file_attach,
2194         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2195         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2196         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2197         _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
2198         "_IO_new_".
2200         * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
2201         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2202         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2203         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2204         _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
2206 1998-08-23  Richard Henderson  <rth@cygnus.com>
2208         * Makeconfig (LDFLAGS): Remove.
2210         * csu/initfini.c: Return to .text before __gmon_start__.
2212         * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
2213         (STO_MIPS_*): Rename from STO_*.
2214         (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
2215         (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
2217         * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
2218         (main): e3s is negative on zero.
2219         * math/atest-exp2.c: Likewise.
2220         * math/atest-sincos.c: Likewise.
2222 1998-08-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2224         * Makerules (install): Add comment about absolute paths.
2226 1998-08-23  Ulrich Drepper  <drepper@cygnus.com>
2228         * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
2229         array to NUL to handle maxlen==1 case correctly.
2230         Patch by HJ Lu.
2232 1998-08-23  Richard Henderson  <rth@cygnus.com>
2234         * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
2235         * sysdeps/alpha/elf/crtend.S: Likewise.
2236         * sysdeps/alpha/elf/start.S: Likewise.
2238         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
2239         non-standard pv usage.
2241         * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
2242         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
2243         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
2244         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
2245         * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
2246         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
2247         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
2248         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
2249         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
2250         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
2251         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
2253         * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
2254         a finite non-denormal, deferring to the full IEEE version otherwise.
2256         * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
2257         Early out for -0.  Optimize for !_IEEE_FP_INEXACT.
2258         * sysdeps/alpha/fpu/s_floor.c: New.
2259         * sysdeps/alpha/fpu/s_floorf.c: New.
2260         * sysdeps/alpha/fpu/s_ceil.c: New.
2261         * sysdeps/alpha/fpu/s_ceilf.c: New.
2263 1998-08-22  Philip Blundell  <philb@gnu.org>
2265         * sysdeps/arm/bits/string.h: New file.
2267 1998-08-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2269         * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
2270         document it.
2272         * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
2273         test for recent Linux 2.1.100+ headers.
2275 1998-08-21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2277         * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
2279 1998-08-21 17:21  Ulrich Drepper  <drepper@cygnus.com>
2281         * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
2283 1998-08-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2285         * Makefile (elf/ldso_install): Put back.  The problem still persists.
2286         * elf/Makefile (ldso_install): Likewise.
2288 1998-08-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2290         * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
2291         create weak alias.
2292         * include/db.h: Declare __nss_db_open.
2293         * db2/Versions: Export it.
2295         * db2/makedb.c: Convert to use db2 API.
2296         * nss/nss_db/db-XXX.c: Likewise.
2297         * nss/nss_db/db-netgrp.c: Likewise.
2298         * nss/nss_db/db-alias.c: Likewise.
2299         (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
2301 1998-08-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2303         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
2304         sys_setresuid, already built automatically (or not).
2305         * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
2306         instead of __syscall_setresuid and add back setresuid.
2307         * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
2308         __syscall_setresuid.
2310 1998-08-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2312         * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
2314 1998-08-20  Ulrich Drepper  <drepper@cygnus.com>
2316         * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
2317         BASH-ONLY marked region.
2318         * elf/ldd.bash.in: Remove special BASH-ONLY markers.
2320 1998-02-20 17:54  H.J. Lu  <hjl@gnu.org>
2322         * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
2323         _IO_SYSSEEK fails.
2325         * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
2327         * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
2328         element.
2330 1998-08-21  Roland McGrath  <roland@baalperazim.frob.com>
2332         * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
2333         with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
2334         * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
2335         (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
2336         (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
2337         those magic comments, and to use /bin/sh for @BASH@.
2338         (bash-ldd-rewrite): Use $(common-ldd-rewrite).
2339         * elf/ldd.sh.in: File removed.
2341 1998-08-20 20:07  Ulrich Drepper  <drepper@cygnus.com>
2343         * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
2344         cast them to unsigned long int.
2345         * pwd/putpwent.c (putpwent): Likewise.
2346         Patch by John Tobey <jtobey@banta-im.com>.
2348 1998-08-20 17:14  H.J. Lu  <hjl@gnu.org>
2350         * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
2351         _IO_pos_BAD.
2353 1998-02-20 17:54  H.J. Lu  <hjl@gnu.org>
2355         * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
2356         _IO_SYSSEEK fails.
2358 1998-08-20 19:14  Ulrich Drepper  <drepper@cygnus.com>
2360         * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
2361         Add umount and umount2.
2362         * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
2363         * sysdeps/unix/sysv/linux/umount.S: New file.
2364         * sysdeps/unix/sysv/linux/umount2.S: New file.
2365         * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
2366         Define MNT_FORCE.
2368         * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
2369         Add sys/sendfile.h.
2370         * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
2371         * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
2373         * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
2375         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
2376         sendfile.
2378 1998-08-20 16:01  Ulrich Drepper  <drepper@cygnus.com>
2380         * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
2381         * elf/ldd.bash.in: Likewise.
2383         * elf/sln.c: Avoid warning for no main prototype.
2385         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
2386         O_WRITE.
2387         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
2388         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2390         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
2391         F_GETSIG.
2392         * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
2393         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
2394         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2396 1998-08-20  Philip Blundell  <pb@nexus.co.uk>
2398         * sysdeps/arm/fpu/ieee754.h: Move to...
2399         * sysdeps/arm/ieee754.h: ... here.
2401         * sysdeps/arm/__longjmp.S: Put return value in correct register.
2402         Don't set the condition flags unnecessarily.
2403         * sysdeps/arm/fpu/__longjmp.S: Likewise.  Restore floating point
2404         registers correctly.
2406         * sysdeps/arm/dl-machine.h: Fix problems with profiling code
2407         (patch from Scott Bambrough).
2409         * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
2411         * csu/initfini.c (_init): Don't check whether __gmon_start__ is
2412         NULL, just call it unconditionally.
2413         (__gmon_start__): Provide stub version as a weak symbol.
2415 1998-07-30  Philip Blundell  <philb@gnu.org>
2417         * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
2418         by Scott Bambrough)
2420         * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
2421         like `@' in .type directives.
2423         * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
2424         * sysdeps/arm/bsd-_setjmp.S: Likewise.
2426         * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
2428 1998-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2430         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
2431         (F_GETOWN): Likewise.
2433         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
2434         Linux 2.1.117).
2436 1998-08-20  Ulrich Drepper  <drepper@cygnus.com>
2438         * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
2439         already defined.
2441 1998-08-18  Ulrich Drepper  <drepper@cygnus.com>
2443         * include/features.h: Define __USE_EXTERN_INLINES for recent
2444         enough gcc.
2445         * argp/argp.h: Define extern inline functions only if
2446         __USE_EXTERN_INLINES is defined.
2447         * libio/stdio.h: Likewise.
2448         * math/math.h: Likewise.
2449         * stdlib/stdlib.h: Likewise.
2450         * string/argz.h: Likewise.
2451         * sysdeps/generic/bits/sigset.h: Likewise.
2452         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
2453         * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
2454         * sysdeps/wordsize-32/inttypes.h: Likewise.
2455         * sysdeps/wordsize-64/inttypes.h: Likewise.
2456         * wcsmbs/wchar.h: Likewise.
2458         * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
2459         to allow compilation without optimization.
2461 1998-08-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2463         * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
2464         more entries.
2465         * nis/nss_compat/compat-initgroups.c: Likewise.
2466         * nis/nss_compat/compat-pwd.c: Likewise.
2467         * nis/nss_compat/compat-spwd.c: Likewise.
2468         * nis/nss_nis/nis-alias.c: Likewise.
2469         * nis/nss_nis/nis-ethers.c: Likewise.
2470         * nis/nss_nis/nis-grp.c: Likewise.
2471         * nis/nss_nis/nis-hosts.c: Likewise.
2472         * nis/nss_nis/nis-initgroups.c: Likewise.
2473         * nis/nss_nis/nis-network.c: Likewise.
2474         * nis/nss_nis/nis-proto.c: Likewise.
2475         * nis/nss_nis/nis-pwd.c: Likewise.
2476         * nis/nss_nis/nis-rpc.c: Likewise.
2477         * nis/nss_nis/nis-service.c: Likewise.
2478         * nis/nss_nis/nis-spwd.c: Likewise.
2480         * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
2482         * nis/ypclnt.c: Try binding dir only first time, could be to old.
2484         * nis/yp_xdr.c: Remove 1024 byte limit.
2485         * nis/ypupdate_xdr.c: Likewise.
2487         * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
2488         wrong data.
2490 1998-08-18  Roland McGrath  <roland@baalperazim.frob.com>
2492         * Rules (binaries-static, binaries-shared static pattern rules):
2493         Depend on lib%, not just libc%, from $(link-libc{,-static}).
2495         * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
2496         this here, overriding Makeconfig generic value so we link against
2497         the RPC libs.
2499 1998-08-17  Ulrich Drepper  <drepper@cygnus.com>
2501         * posix/tstgetopt.c (options): Add NULL entry at end
2502         Patch by Adrian Miranda <ade@psg.com>.
2504 1998-08-15 18:21  Ulrich Drepper  <drepper@cygnus.com>
2506         * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION.  Move EI_PAD
2507         to 9.
2509 1998-08-15 14:11  Ulrich Drepper  <drepper@cygnus.com>
2511         * elf/elf.h: Add PPC Diab relocations.
2513         * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
2515 1998-08-14 10:08  Ulrich Drepper  <drepper@cygnus.com>
2517         * manual/texinfo.tex: Update.
2519 1998-08-07  Geoff Keating  <geoffk@ozemail.com.au>
2521         * sysdeps/powerpc/backtrace.c: New file.
2523 1998-08-14  Philip Blundell  <pb@nexus.co.uk>
2525         * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
2526         sigjmp_save.
2527         * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
2529 1998-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2531         * Makefile (install-symbolic-link): Fix spelling.
2533 1998-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2535         * elf/elf.h (SHT_HIOS): Fix value.
2537 1998-08-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2539         * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
2540         part of the expansion, this is undefined by the standard.
2542 1998-08-13 19:41  Ulrich Drepper  <drepper@cygnus.com>
2544         * posix/getconf.c: Add support for systems with incomplete confname.h.
2546         * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
2548         * sysdeps/posix/wait3.c: Make it work.
2550 1998-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2552         * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
2553         (elf/ldso_install): Remove.
2555         * elf/Makefile (distribute): Add sln.c.
2556         (others): Add sln.
2557         (others-static): Add sln.
2558         (install-rootsbin): Add sln.
2559         (others-static): Add sln.
2560         (ldso_install): Remove.
2562 1998-07-24 10:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2564         * Makerules (install-clean-symbolic-link-list): Make phony.
2565         * Makefile (install-symbolic-link): Make phony.  Depend on
2566         subdir_install for parallel makes.
2569 1998-07-22  Ulrich Drepper  <drepper@cygnus.com>
2571         * elf/Makefile (distribute): Add sln.c
2573 1998-07-21 07:10  H.J. Lu  <hjl@gnu.org>
2575         * elf/sln.c: New file.
2577         * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
2578         (install-clean-symbolic-link-list): New target.
2579         (install): Depend on install-clean-symbolic-link-list.
2580         (make-shlib-link): Changed for $(symbolic-link-list).
2582         * Makefile (install-symbolic-link): New target.
2583         (install): Depend on install-symbolic-link.
2585 1998-08-12 17:03  Ulrich Drepper  <drepper@cygnus.com>
2587         * include/unistd.h: Protect against multiple inclusion.
2589         * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
2590         is defined, not is glob is defined.
2591         * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
2593 1998-08-01 17:18  H.J. Lu  <hjl@gnu.org>
2595         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
2596         xdr_string for ut_line, ut_name and ut_host.
2598 1998-08-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2600         * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
2601         /var/mail in accordance with FHS 2.0.
2602         Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
2604 1998-08-12  Richard Henderson  <rth@cygnus.com>
2606         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
2607         Update aliases for cancelation.
2609         * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
2610         playing with symbol versions.
2612 1998-08-12  Roland McGrath  <roland@baalperazim.frob.com>
2614         * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
2615         multiple inclusion protection.
2616         (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
2617         _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
2618         define all these to 1.
2619         (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
2621 1998-08-12  Roland McGrath  <roland@baalperazim.frob.com>
2623         * sysdeps/mach/usleep.c: Include <unistd.h>.
2624         (usleep): Return void.
2626 1998-08-11  Roland McGrath  <roland@baalperazim.frob.com>
2628         * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
2629         decl to inhibit warning in if_freenameindex defn.
2631         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
2633         * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
2635         * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
2636         * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
2637         * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
2638         * sysdeps/mach/usleep.c: Likewise.
2640         * sysdeps/mach/hurd/bind.c (bind): Add a const.
2642         * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
2643         * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
2644         * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
2645         * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
2646         * sysdeps/mach/usleep.c (usleep): Likewise.
2647         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
2648         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
2649         * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
2650         * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
2652 1998-08-11  Roland McGrath  <roland@baalperazim.frob.com>
2654         * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
2655         (glob64): Fix typo.
2657         * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
2658         %p arg to fprintf, since `void *' is the right type already.
2660 1998-07-25 19:47  Jose M. Moya  <josem@gnu.org>
2662         * sysdeps/mach/hurd/getcwd.c
2663         (_hurd_canonicalize_directory_name_internal): Do not loop forever
2664         for unknown root directories.
2665         (__getcwd): Return NULL when the current root directory could not
2666         be reached.
2668 1998-08-11 18:39  Ulrich Drepper  <drepper@cygnus.com>
2670         * string/strsignal.c (strsignal): Count real-time signals from zero.
2673 See ChangeLog.8 for earlier changes.