Update.
[glibc.git] / ChangeLog
blob18f11fc112669a08c708d255797f9435946c35e6
1 1998-09-25  Ulrich Drepper  <drepper@cygnus.com>
3         * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
4         Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
5         allow using `ut' parameter.
6         [!emacs]: Define ut_argument, ut_argument_spec, and
7         ut_argument_spec_iso as empty.  Define ut to 0.  Add ut_argument and
8         argument_spec to prototypes and definitions.
9         (my_strftime): Don't call tzset of ut != 0.
10         Compute diff as 0 is ut != 0;
11         [emacs]: Define new emacs_strftime function.
12         Based on a patch by Paul Eggert.
14 1998-09-24  Paul Eggert  <eggert@twinsun.com>
16         * time/strftime.c (my_strftime): When asking for the length of the
17         subformatted buffer, do not limit the length to look for;
18         otherwise, we have no reliable way to distinguish between the
19         empty buffer and an error.
21 1998-09-25  Ulrich Drepper  <drepper@cygnus.com>
23         * math/Makefile (gmp-objs): Add mp_clz_tab.
25 1998-09-25  David S. Miller  <davem@pierdol.cobaltmicro.com>
27         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
28         set them.
29         * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
30         cpus lacking hardware multiply and divide.
32 1998-09-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
34         * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
35         $(<F), not $(^F).
37 1998-09-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
39         * db/btree/bt_delete.c: Fix -Wparentheses warning.
41 1998-09-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
43         * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
44         $(do-install).
46 1998-09-24  Ulrich Drepper  <drepper@cygnus.com>
48         * debug/catchsegv.sh: Also produce output if clone process died.
50 1998-09-24  Paul Eggert  <eggert@twinsun.com>
52         * time/strftime.c (f_wkday): Remove duplicate definition.
53         (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
54         !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
55         1998-09-11 fix to this case.
56         (wkday_len, month_len): Remove these macros; they're no longer needed.
58 1998-09-24  Paul Eggert  <eggert@twinsun.com>
60         * time/strftime.c (my_strftime): Don't store past the end of a
61         zero-sized buffer.
63 1998-09-24  Paul Eggert  <eggert@twinsun.com>
65         * time/strftime.c (underlying_strftime):
66         Set the buffer to a nonzero value before calling
67         strftime, and check to see whether strftime has set the buffer to zero.
68         This lets us distinguish between an empty buffer and an error.
70 1998-09-24  Paul Eggert  <eggert@shade.twinsun.com>
72         * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
73         This fix is propagated from tzcode1998g.tar.gz.
75 1998-09-24  Mark Kettenis  <kettenis@phys.uva.nl>
77         * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
78         _sys_siglist.  [!HAVE_GNU_LD]: Do not define _sys_siglist as
79         sys_siglist.  This is handled correctly by the weak_alias macro.
81 1998-09-24  Ulrich Drepper  <drepper@cygnus.com>
83         * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
84         of mempcpy.  Reported by Andreas Jaeger.
86         * misc/regexp.h (compile): Use alloca instead of __alloca.  It won't
87         pollute the namespace since the compiler will resolve it inline.
88         Reported by Florian La Roche <florian@suse.de>.
90 1998-09-24 10:29  Ulrich Drepper  <drepper@cygnus.com>
92         * timezone/private.h: Update from tzcode1998g.
94         * timezone/africa: Update from tzdata1998h.
95         * timezone/asia: Likewise.
96         * timezone/australasia: Likewise.
97         * timezone/europe: Likewise.
98         * timezone/northamerica: Likewise.
99         * timezone/southamerica: Likewise.
100         * timezone/zone.tab: Likewise.
102 1998-09-23 17:28 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
104         * misc/sys/mman.h: New file.
106         * sysdeps/generic/bits/mman.h: New file.
107         * sysdeps/unix/bsd/osf/bits/mman.h: New file.
108         * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
109         * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
110         * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
112         * sysdeps/generic/sys/mman.h: Removed.
113         * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
114         * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
115         * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
116         * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
117         * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
119         * include/sys/mman.h: Look directly for misc/sys/mman.h.
120         * misc/Makefile (headers): Add bits/mman.h.
121         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
122         bits/mman.h.
124         * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
125         * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
126         * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
127         * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
128         * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
129         * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
130         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
131         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
133 1998-09-23 16:27 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
135         * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
136         * sysdeps/mach/alpha/thread_state.h: Likewise.
137         * sysdeps/mach/i386/sysdep.h: Likewise.
138         * sysdeps/mach/i386/thread_state.h: Likewise.
139         * sysdeps/mach/mips/sysdep.h: Likewise.
140         * sysdeps/mach/mips/thread_state.h: Likewise.
141         * sysdeps/posix/profil.c: Likewise.
142         * sysdeps/i386/i586/memcopy.h: Likewise.
143         * sysdeps/mach/pagecopy.h: Likewise.
145 1998-09-23 15:25  Ulrich Drepper  <drepper@cygnus.com>
147         * libio/stdio.h: Define __need_getopt and include getopt.h to define
148         getopt stuff.
149         * posix/unistd.h: Likewise.
150         * stdio/stdio.h: Likewise.
151         * posix/getopt.h: Remove _GNU_SOURCE use.  If __need_getopt is defined
152         define only getopt and the variables.
154 1998-09-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
156         * scripts/test-installation.pl (installation_problem): Don't link
157         the test program against libdb1.
159 1998-09-23 13:52  Ulrich Drepper  <drepper@cygnus.com>
161         * Makeconfig (all-subdirs): Add db.
162         * Versions.def: Add definition for libdb1.
163         * shlib-versions: Add definitions for libdb1.
164         * db/Makefile (extra-libs): Replace by libdb1.
165         (libdb-routines): Rename to libdb1-routines.
166         (headers): Rename to db1-headers.
167         (distribute): Add $(db1-headers).
168         (install-others): Define to install symlink libdb.so.NN and the
169         $(db1-headers).
170         (CPPFLAGS): Add -DUSE_LIBDB1
171         Remove rules to build makedb.
172         * db/Versions: Rename libdb to libdb1.
173         * include/db.h: If USE_LIBDB1 is defined include db/db.h.
174         * db/makedb.c: Removed.
176         * scripts/versions.awk: Recognize digits in library names.
178         * db/btree/bt_open.c: Fix compiler warnings.
179         * db/btree/bt_put.c: Likewise.
180         * db/btree/bt_split.c: Likewise.
181         * db/hash/hash.c: Likewise.
182         * db/hash/hash_bigkey.c: Likewise.
183         * db/recno/rec_close.c: Likewise.
185         * Makefile: Add localedata/% goal.
187 1998-09-22 19:58 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
189         * posix/execvp.c: Don't give up searching the PATH if execve
190         returns ENOTDIR.
192 1998-09-22 12:53  Ulrich Drepper  <drepper@cygnus.com>
194         * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
195         if _dl_fpu_control_set is set.
196         * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
197         * elf/rtld.c: Don't define _dl_fpu_control_set.
198         * elf/Versions: Remove _dl_fpu_control_set.
200 1998-09-22 11:51  Ulrich Drepper  <drepper@cygnus.com>
202         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
203         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
204         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
205         Correct values of other SA_* macros according to kernel headers.
207 1998-09-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
209         * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
210         variable l.
211         * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
212         old.
214 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
216         * elf/ldsodefs.h: Fix typo in comment.
218 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
220         * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
221         char when comparing buffer contents with putback character.
223 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
225         * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
226         Undo last change.
227         * elf/Versions: Undo last change.  Export _dl_fpu_control and
228         _dl_fpu_control_set.
229         * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
230         variables.  Include <fpu_control.h>.
231         * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
232         _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
233         to indicate that is was seen.
234         * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
235         only if _dl_fpu_control was set and is equal to desired value.
236         * math/Makefile (aux): Undo last change.
237         * math/Versions: Export __fpu_control with version GLIBC_2.0.
239 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
241         * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
242         optimized.
244 1998-09-21 10:00  Ulrich Drepper  <drepper@cygnus.com>
246         * string/bits/string2.h: Add mempcpy optimization.
247         * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
248         * intl/localealias.c: Define mempcpy only if not already defined.
250         * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
251         defined.
253 1998-09-20 10:48 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
255         * csu/abi-note.S: Emit the note directly instead of defining
256         a preprocessor macro that's only used once.  Don't include sysdep.h.
257         * abi-tags: Generalize Solaris entry.
259 1998-09-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
261         * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
262         Change to array to avoid runtime relocation.
263         * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
265 1998-09-21 12:22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
267         * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
268         * math/Makefile ($(objpfx)libieee.a): Likewise.
270 1998-09-21  Ulrich Drepper  <drepper@cygnus.com>
272         * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
273         Patch by John Tobey <jtobey@banta-im.com>.
275 1998-09-20  Ulrich Drepper  <drepper@cygnus.com>
277         * login/Makefile (distribute): Remove pty-internal.h, add
278         pty-private.h.
280         * stdlib/tst-strtol.c: Add more checks.
281         Patch by Zack Weinberg <zack@rabi.columbia.edu>.
283 1998-09-20 09:37  Ulrich Drepper  <drepper@cygnus.com>
285         * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
286         * elf/elf.h: Add AT_FPUCW.
287         * elf/Makefile (dl-routines): Add fpu_control.
288         (elide-routines.os): Add fpu_control.
289         (rtld-routines): Add fpu_control.
290         * math/Makefile (aux): Remove fpu_control.
291         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
292         (_dl_show_auxv): Likewise.
293         * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
294         if different from OS default.
296         * stdio-common/tstscanf.c: Add test case for (nil).
298 1998-09-18 17:41  Ulrich Drepper  <drepper@cygnus.com>
300         * libio/fileops.c (_IO_new_file_underflow): Before allocating
301         buffer make sure the pushback buffer is destroyed.
302         (_IO_new_file_seekoff): Likewise.
303         If mode==0 quit early with the result.
304         Clear OEF flag after successful fseek.
305         * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
306         * libio/ftello.c (ftello): Add offset from original buffer if
307         stream has pushed back characters.
308         * libio/ftello64.c (ftello64): Likewise.
309         * libio/iofgetpos.c (_IO_fgetpos): Likewise.
310         * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
311         * libio/ioftell.c (_IO_ftell): Likewise.
312         * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
313         and _IO_save_ptr.
314         (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
315         (_IO_default_pbackfail): Only stored push back character in original
316         buffer if it is the same as the one in the file at this position.
317         * libio/iofclose.c: Free backup buffer if one is available.
318         * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
319         mode!=0.
321         * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
323         * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
325         * stdio-common/vfscanf.c: Fix reading (nil) for %p.
327 1998-09-18  Mark Kettenis  <kettenis@phys.uva.nl>
329         * login/programs/pt_chown.c (more_help): Correct message that
330         describes the purpose of the program.
332         * login/openpty.c: Do not include pty-private.h.
333         (pts_name): New function.  Return name of slave pseudo terminal in
334         an allocated buffer if necessary.
335         (openpty): Use pts_name to get name of the slave end of the pseudo
336         terminal pair.
338         * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
339         pts_name before return.
341 1998-09-18 11:15  Ulrich Drepper  <drepper@cygnus.com>
343         * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
345 1998-09-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
347         * login/openpty.c: Include pty-private.h instead of
348         pty-internal.h.
350 1998-09-09  Philip Blundell  <pb@nexus.co.uk>
352         * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
354 1998-09-07  Philip Blundell  <pb@nexus.co.uk>
356         * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
357         recent ld.so changes.
358         (elf_machine_runtime_setup): Correct behaviour when profiling.
360 1998-09-17 19:34  Ulrich Drepper  <drepper@cygnus.com>
362         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
363         Patch by John Tobey <jtobey@banta-im.com>.
365 1998-09-17  Mark Kettenis  <kettenis@phys.uva.nl>
367         * login/pty-internal.h: Removed.  Moved constants related to the
368         `grantpt' helper program protocol to ...
369         * login/pty-private.h: ... here.  New file.
370         * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
371         to make the function work with kernels >= 2.1.115.
372         * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
373         version if using the cloning device fails.
374         * sysdeps/unix/sysv/linux/grantpt.c: New file.
375         * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
376         * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
377         use by Linux specific code.
378         * sysdeps/unix/bsd/unlockpt.c: General cleanup.
379         * sysdeps/unix/grantpt.c: Largely rewritten.  (pts_name): New
380         function.  (grantpt): Use pts_name, check group and permission
381         mode in addition to owner.  Try to set the owner, group and
382         permission mode first without invoking the helper program.
383         * login/programs/pt_chown.c: Largely rewritten.  Add argp and
384         internationalization support.  Use symbolic constants instead of
385         hardwired numbers for permission mode.
386         * sysdeps/unix/bsd/ptsname.c: New file.
388 1998-09-17 22:04  Tim Waugh  <tim@cyberelk.demon.co.uk>
390         * posix/wordexp-test.c: Undo last change.
392         * posix/wordexp.c: Undo last change.
394 1998-09-16  Ulrich Drepper  <drepper@cygnus.com>
396         * nscd/grpcache.c (save_grp): Partly undo last change.
398         * nscd/pwdcache.c (save_pwd): Undo last change.
400 1998-09-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
402         * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
403         function.  Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
405 1998-09-15  David S. Miller  <davem@pierdol.cobaltmicro.com>
407         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
408         Add profiling support.
409         (TRAMPOLINE_TEMPLATE): New macro.
410         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
411         (RTLD_START): Prettify, and set __libc_stack_end properly.
412         (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
413         and check for sym being NULL instead.
414         * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
415         of stack space.
416         * sysdeps/sparc/sparc64/lshift.S: Likewise.
417         * sysdeps/sparc/sparc64/mul_1.S: Likewise.
418         * sysdeps/sparc/sparc64/rshift.S: Likewise.
419         * sysdeps/sparc/sparc64/submul_1.S: Likewise.
420         * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
421         MEDANY code model %g4 usage.
422         * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
423         MEDANY code model %g4 usage.
424         * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
425         code model address formation.
426         * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
427         include elf/ldsodefs.h
428         (DT_SPARC): Remove.
429         (elf_machine_matches_host): It is now EM_SPARCV9.
430         (elf_machine_dynamic): Clean up to remove ugly cast.
431         (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
432         new PLT formats.
433         (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
434         Prettify rest of function.
435         [R_SPARC_COPY]: Check for sym being NULL.
436         [R_SPARC_32]: Handle it.
437         [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
438         MEDMID code model.
439         [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
440         MEDANY code model.
441         [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
442         (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
443         Add profiling support.
444         (TRAMPOLINE_TEMPLATE): New macro.
445         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
446         (RTLD_START): Prettify and set __libc_stack_end.
447         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
448         Define.
449         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
450         (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
451         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
452         unused variable scratch.
453         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
454         (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
455         Declare.
456         (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
457         stub to rt_sigaction syscalls.  Rewrite non-rt case to use correct
458         old format kernel sigaction structures.
459         * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
460         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
461         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
462         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
463         ucontext include.
464         (_JMPBUF_UNWINDS): Define.
465         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
466         statfs64 structure, which is exactly the same as the normal one.
467         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
468         of stack.  Use correct syscall trap number.  Add branch prediction
469         settings to branch instructions.  Remove old MEDANY code model %g4
470         referneces for non-PIC.
471         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
472         * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
473         * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
474         * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
475         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
476         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
477         __libc_longjmp and __libc_siglongjmp strong aliases.
478         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
479         Also define to __no__readdir64_decl around readdir.c inclusion.
480         (__readdir64): Add strong alias.
481         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
482         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
483         Set strong and weak names properly.
485 1998-09-16 11:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
487         * manual/Makefile (AWK): Default to gawk if standalone.
489 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
491         * Makefile (distribute): Undo last change.
492         * Make-dist (+tsrc) [not subdir]: Also include indirection headers
493         for sysdep headers.
494         (+subdir-headers): Removed, unused.
496 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
498         * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
499         $(do-install).
501 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
503         * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
504         absolute name in $(config-sysdirs), can never happen.
505         ($(+sysdir_pfx)sysd-rules): Likewise.
506         * Makeconfig (full-config-sysdirs): Likewise.
507         (all-Subdirs-files): Prepend $(..).
509         * configure.in: Don't check for absolute name in $add_ons_pfx, can
510         not happen.  Let --enable-add-ons=yes work if no add-ons actually
511         exist.
513 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
515         * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
516         continuations in command.
518 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
520         * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
522 1998-09-16 00:47  Tim Waugh  <tim@cyberelk.demon.co.uk>
524         * posix/wordexp-test.c: If expansion or substitution occurs
525         anywhere in a word, the entire word is subject to field-splitting.
527         * posix/wordexp.c (parse_glob): Look for end of word instead of
528         end of field when deciding what to glob.
529         (field_split_word): New function, now the only place where
530         field-splitting is performed.
531         (parse_dollars): New parameter - tell the caller if
532         field-splitting should be performed on this word.
534         * posix/wordexp-test.c (testit): Only call wordfree if wordexp
535         succeeded (or failed with WRDE_NOSPACE).
537 1998-09-15 19:53 1998  Tim Waugh  <tim@cyberelk.demon.co.uk>
539         * posix/wordexp.c (wordexp): Don't convert IFS characters to
540         blanks.
542         * posix/wordexp-test.c: Words not the result of expansion or
543         substitution should remain unchanged.
545 1998-09-15  Ulrich Drepper  <drepper@cygnus.com>
547         * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
548         (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
550 1998-09-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
552         * stdio-common/Makefile: Include Makeconfig so that
553         $(inst_includedir) is defined.
555 1998-09-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
557         * io/pwd.c: Include <mcheck.h>.
559 1998-09-15 08:00  Ulrich Drepper  <drepper@cygnus.com>
561         * nscd/pwdcache.c (save_pwd): Correct copying.
562         * nscd/grpcache.c (save_grp): Likewise.
564 1998-09-14 23:36  Ulrich Drepper  <drepper@cygnus.com>
566         * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
567         (free_pwd): Adjust for this change.
568         * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
569         (free_grp): Adjust for this change.
571 1998-09-14  Ulrich Drepper  <drepper@cygnus.com>
573         * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
575 1998-09-14 15:29  Ulrich Drepper  <drepper@cygnus.com>
577         * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
578         (install-others): Add bits/stdio_lim.h.
579         Add rule to install bits/stdio_lim.h.
581         * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
583         * Makefile (distribute): Add include/sys/mman.h.
585         * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
586         * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
587         * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
589         * grp/initgroups.c: Include stdlib.h.
590         Patch by Zack Weinberg.
592 1998-09-14 22:46  Tim Waugh  <tim@cyberelk.demon.co.uk>
594         * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
595         for field-splitting :abc: is correct, and that two fields should
596         result. Revert tests to reflect this.
598         * posix/wordexp.c (w_emptyword): Remove function.
599         (exec_comm): Don't use w_emptyword.
600         (parse_param): Likewise.
602 1998-09-14 15:00  Ulrich Drepper  <drepper@cygnus.com>
604         * sysdeps/arm/fpu/Dist: Moved to...
605         * sysdeps/arm/Dist: ...here.
606         * sysdeps/posix/Dist: Removed.
607         * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
608         * sysdeps/unix/sysv/linux/i386/Dist: ...here.
610 1998-08-26  Geoff Keating  <geoffk@ozemail.com.au>
612         * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
614 1998-09-14 11:26  Ulrich Drepper  <drepper@cygnus.com>
616         * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
618 1998-09-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
620         * libc-work/nis/nss_nisplus/nisplus-service.c
621         (_nss_nisplus_parse_servent): Convert port in network byte order.
623 1998-09-14 07:53 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
625         * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
626         to provide only malloc and calloc.
627         * include/stdlib.h: Support the above.
628         * string/bits/string2.h: Use __need_malloc_and_calloc when
629         including stdlib.h.
630         (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
632         * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
633         * iconvdata/iso646.c: Include <stdlib.h>.
635 1998-09-14 07:51 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
637         * sunrpc/rpc_cout.c: Add braces around ambiguous else.
638         * sysdeps/libm-ieee754/w_pow.c: Likewise.
639         * sysdeps/libm-ieee754/w_powf.c: Likewise.
640         * sysdeps/libm-ieee754/w_powl.c: Likewise.
642 1998-09-14 07:57 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
644         * stdio-common/stdio_lim.h.in: New file.  All parameters
645         are adjustable at build time.
646         * Rules: Add a rule to build bits/stdio_lim.h from
647         stdio-common/stdio_lim.h.in.  (It has to be in Rules so that
648         all subdirectories know how to make the file.  It can't be
649         in Makerules because then it gets built at top level and the
650         dependencies are wrong.)
652         * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
653         * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
654         stdio_lim.h.
655         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
656         * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
657         * sysdeps/posix/Makefile: Removed.
658         * sysdeps/posix/mk-stdiolim.c: Removed.
659         * sysdeps/generic/bits/stdio_lim.h: Removed.
661 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
663         * argp/argp-help.c: Fixup indentation.
664         * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
665         * resolv/nss_dns/dns-network.c: Likewise.
666         * resolv/res_send.c: Likewise.
667         * rt/aio_cancel.c: Likewise.
668         * rt/aio_misc.c: Likewise.
670 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
672         * Makefile (install-symbolic-link): Remove the link list file at last.
673         * Makerules (install-clean-symbolic-link-list): Removed.
675 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
677         * timezone/tst-timezone.c: Print time in UTC to get consistent
678         output.
680 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
682         * elf/rtld.c (_dl_rpath): Removed.
683         * elf/dl-support.c (_dl_path): Removed.
684         * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
685         (CFLAGS-dl-support.c): Removed.
687         * elf/dl-load.c (env_path_list): Renamed from fake_path_list.  All
688         uses changed.
689         (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
690         instead of appending it to the main map's rpath info.
691         (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
692         DT_RPATHs.  This makes it effective again.
693         (decompose_rpath): Remove second parameter, callers changed.
694         (fillin_rpath): Allocate enough space in curwd.
695         (expand_dynamic_string_token): Cope with get_origin returning -1.
697 1998-09-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
699         * libc-work/nis/nss_compat/compat-pwd.c: Add support for
700         passwd.adjunct.
702         * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
703         invalid password.
705 1998-09-13 18:06  Ulrich Drepper  <drepper@cygnus.com>
707         * locale/programs/locale.c: Update dates.
709 1998-09-13  Mark Kettenis  <kettenis@phys.uva.nl>
711         * sysdeps/generic/bits/types.h: Include <features.h>.  Make sure
712         size_t is defined.  Some reordering of defenitions to make
713         maintaining this file in parallel with the linux-specific file easier.
715 1998-09-13  Ulrich Drepper  <drepper@cygnus.com>
717         * io/pwd.c (main): Add call to mtrace.
719         * malloc/mtrace.pl: Quote @ in string.
721 1998-09-13 19:25  Tim Waugh  <tim@cyberelk.demon.co.uk>
723         * posix/wordexp.c (parse_arith): Fix memory leaks.
724         (exec_comm): Likewise.
725         (parse_param): Likewise.
726         (wordexp): Likewise.
727         (exec_comm): Reduce number of function return points.
728         (parse_param): Likewise.
729         (wordexp): Likewise.
731 1998-09-13 14:53  Tim Waugh  <tim@cyberelk.demon.co.uk>
733         * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
734         yield three fields, not two.  Test both parameter expansion and
735         command substitution for correct field-splitting behaviour.
737         * posix/wordexp.c (w_emptyword): New function.
738         (parse_param): Use it.
739         (exec_comm): Likewise, for consistency with the way parse_param
740         splits fields.
741         (parse_param): Fix some memory leaks.
743 1998-09-13 18:04  Geoff Keating  <geoffk@ozemail.com.au>
745         * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
746         Don't mark asm `volatile'.
747         (__elf_machine_runtime_setup): Clear the last partial block in the PLT
748         from the data cache too.  Assume it isn't in the instruction cache yet.
749         (__elf_machine_fixup_plt): Clear the modified address from the caches.
751 1998-09-12  Mark Kettenis  <kettenis@phys.uva.nl>
753         * sysdeps/generic/segfault.c (install_handler): Install signal
754         handler with SA_ONSTACK instead of setting the stack flags to
755         SS_ONSTACK.  Do not install handler for SIGSTKFLT if it is not
756         defined.
758 1998-09-12 14:24 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
760         * signal/signal.h: Fix multiple inclusion guard to cover the
761         entire file.
762         * wcsmbs/wchar.h: Remove prototype of internal function
763         __mbsrtowcs.
764         * sysdeps/i386/i486/bits/string.h (memchr): Don't do
765         arithmetic on `void *'.
767 1998-09-12 01:09  Tim Waugh  <tim@cyberelk.demon.co.uk>
769         * posix/wordexp-test.c: Fix wrong tests.  Add new tests.
771         * posix/wordexp.c (wordexp): Perform word-splitting instead of
772         field-splitting here.
773         (wordexp): If out of memory mid-word, free the word (but still
774         leave pwordexp alone for caller to see).
775         (parse_param): Allow for zero-length fields (smarter checking of
776         memory allocation failure).
777         (w_addword): Convert NULL words to "".
778         (wordexp): Convert left-over IFS characters to blanks (like bash).
780 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
782         * configure.in: Use test -f instead of test -e.
783         Patch by John Tobey <jtobey@banta-im.com>.
785         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
786         * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
787         * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
788         * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
789         * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
790         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
791         * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
792         Patches by John Tobey <jtobey@banta-im.com>.
794         * time/strftime.c (my_strftime): Delay use of *tp values until
795         latest possible point to allow partly initialized structures
796         (e.g., from strptime).
798         * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
799         and NATS-SEFI.
800         Define *-routines variables for new modules.
801         (distribute): Add .c files for new modules.
802         (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
803         and nats-sefi.h.
804         Add rules for header generation.
805         * iconvdata/gconv-modules: Add entries for new modules.
806         * iconvdata/iso_10367-box.c: New file.
807         * iconvdata/mac-is.c: New file.
808         * iconvdata/nats-dano.c: New file.
809         * iconvdata/nats-sefi.c: New file.
811 1998-04-30 18:20  H.J. Lu  <hjl@gnu.org>
813         * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
814         loader if PIC is not defined.
816 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
818         * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
819         ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
820         INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
821         and ISO_5428.
822         Define *-routines variables for new modules.
823         (distribute): Add .c files for new modules.
824         (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
825         ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
826         greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
827         iso_5427.h, iso_5427-ext.h, and iso_5428.h.
828         Add rules for header generation.
829         * iconvdata/gconv-modules: Add entries for new modules.
830         * iconvdata/csn_369103.c: New file.
831         * iconvdata/cwi.c: New file.
832         * iconvdata/dec-mcs.c: New file.
833         * iconvdata/ecma-cyrillic.c: New file.
834         * iconvdata/gost_19768-74.c: New file.
835         * iconvdata/greek-ccitt.c: New file.
836         * iconvdata/greek7-old.c: New file.
837         * iconvdata/greek7.c: New file.
838         * iconvdata/inis-8.c: New file.
839         * iconvdata/inis-cyrillic.c: New file.
840         * iconvdata/inis.c: New file.
841         * iconvdata/iso6937-2.c: New file.
842         * iconvdata/iso_2033.c: New file.
843         * iconvdata/iso_5427-ext.c: New file.
844         * iconvdata/iso_5427.c: New file.
845         * iconvdata/iso_5428.c: New file.
847         * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
848         entries.
849         Convert U02dd correctly.
851 1998-09-11 20:46  Richard Henderson  <rth@cygnus.com>
853         * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
854         _dl_main_searchlist not _dl_default_scope to _dl_init_next.
855         * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
856         * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
858 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
860         * resolv/res_init.c (res_init): Handle resolv.conf file with only
861         one nameserver correctly.  Patch by HJ Lu.
863         * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
864         and ANSI_X3.110.
865         Define *-routines variables for new modules.
866         (distribute): Add .c files for new modules.
867         (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
868         Add rules for hedaer generation.
869         * iconvdata/gconv-modules: Add entries for new modules.  Pretty print.
870         * iconvdata/ansi_x3.110.c: New file.
871         * iconvdata/asmo_449.c: New file.
872         * iconvdata/baltic.c: New file.
873         * iconvdata/iec_p27-1.c: New file.
875         * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
876         entries.
877         Convert U02dc correctly.
879         * math/atest-exp.c: Add parentheses to avoid gcc warnings.
880         * math/atest-exp2.c: Likewise.
881         * math/atest-sincos.c: Likewise.
883         * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
884         is defined.
886 1998-09-11 10:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
888         * string/strcoll.c: Optimize a few expressions.
889         * string/strxfrm.c: Likewise.
891 1998-09-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
893         * manual/locale.texi: Fix typos.
895 1998-09-10  Ulrich Drepper  <drepper@cygnus.com>
897         * stdlib/random_r.c (__setstate_r): Allow call with same state
898         array as currently used (PR libc/774).
900         * include/limits.h: Include gcc's header even if this file is
901         found more than once before it (PR libc/778)
903         * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
904         (sysdep_headers): Remove sys/debugreg.h.
905         * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
906         (sysdep_headers): Add sys/debugreg.h.
907         * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
908         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
910         * stdio-common/tmpnam.c: Move local static variable buf to
911         toplevel and rename to tmpnam_buffer to ease debugging.
912         Patch by Joe Keane <jgk@jgk.org>.
913         Optimize s == NULL case a bit.
915         * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
916         correction.
918 1998-09-10 12:51  Ulrich Drepper  <drepper@cygnus.com>
920         * resolv/res_init.c (res_init): Initialize _res.nscount and
921         _res.nsaddr.sin_port differently for the can when no loopback
922         is available to allow immediate timeout in non-networking environments.
923         Patch by Cristian Gafton <gafton@redhat.com>.
925 1998-09-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
927         * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
928         BAR and not EM DASH.
929         * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
930         * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
931         Fixes PR libc/717.
933 1998-09-10 11:53  Ulrich Drepper  <drepper@cygnus.com>
935         * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
936         for test.
937         * timezone/tst-timezone.c (tests): Fix typo in last patch.
939         * time/tzfile.c (__tzfile_read): Handle case when there are no
940         transitions.  Set __timezone based on computed offset.
941         * time/tzset.c (tzset_internal): Set __timezone before returning.
943         * time/tzset.c (tzset_internal): Optimize handling of local string
944         copy.
946 1998-09-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
948         * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
949         libc/776).
951 1998-09-09  Benjamin Kosnik  <bkoz@tintin.cygnus.com>
953         * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
954         (csqrt_test): Likewise.
955         * sysdeps/powerpc/bits/fenv.h: Add parens.
957 1998-09-09 18:48  Ulrich Drepper  <drepper@cygnus.com>
959         * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
960         _dl_main_searchlist not _dl_default_scope to _dl_init_next.
961         Patch by Benjamin Kosnik <bkoz@cygnus.com>.
963 1998-09-09  Mark Kettenis  <kettenis@phys.uva.nl>
965         * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
966         the special `-1' pointer.
968 1998-09-09 09:32  Ulrich Drepper  <drepper@cygnus.com>
970         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
971         inline.
973 1998-09-07  Paul Eggert  <eggert@twinsun.com>
975         * time/mktime.c (__EXTENSIONS__): Define if not defined.
976         (_REENTRANT): Remove.  It has undesirable consequences in
977         Solaris 2.6 (e.g. it turns off the putc macro).  Defining
978         __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
979         is what we want.
980         * time/strftime.c: Likewise.
982 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
984         * elf/dl-error.c: Fix spelling.
986 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
988         * stdlib/strfmon.c: Quiet -Wparentheses warnings.
989         * stdio-common/_itoa.c: Likewise.
990         * stdio-common/printf_fp.c: Likewise.
991         * stdio-common/vfscanf.c: Likewise.
992         * wcsmbs/wcstok.c: Likewise.
993         * sysdeps/generic/glob.c: Likewise.
994         * posix/getopt.c: Likewise.
995         * sysdeps/posix/getaddrinfo.c: Likewise.
996         * posix/wordexp.c: Likewise.
997         * io/ftw.c: Likewise.
998         * io/fts.c: Likewise.
999         * misc/getpass.c: Likewise.
1000         * iconv/gconv_conf.c: Likewise.
1001         * argp/argp-fmtstream.c: Likewise.
1002         * argp/argp-help.c: Likewise.
1003         * elf/dl-load.c: Likewise.
1004         * locale/programs/stringtrans.c: Likewise.
1005         * catgets/gencat.c: Likewise.
1006         * posix/getconf.c: Likewise.
1007         * iconv/gconv_conf.c: Likewise.
1008         * iconv/iconv_prog.c: Likewise.
1010         * string/strcoll.c: Optimize a few expressions.
1011         * string/strxfrm.c: Likewise.
1013 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1015         * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
1016         level to avoid uninit variable warning.
1018 1998-09-09 10:34  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1020         * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
1021         instead of _dl_default_scope[2] as argument to _dl_init_next.
1023         * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
1024         C9x macro.
1026 1998-09-08  Ulrich Drepper  <drepper@cygnus.com>
1028         Fix compatibility problems introduced in last change.
1029         * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
1030         defined.
1031         * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
1032         -DWEAK_GMON_START to CFLAGS-initfini.s.
1034         * elf/dl-object.c (_dl_new_object): Store map address in
1035         _dl_loaded if _dl_loaded is NULL.
1036         * elf/rtld.c (dl_main): Don't update _dl_loaded here.
1038         * sysdeps/generic/setrlimit64.c: Remove stub warning.
1040 1998-09-07  Ulrich Drepper  <drepper@cygnus.com>
1042         * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
1043         quiet.
1044         * db2/btree/bt_cursor.c: Likewise.
1045         * db2/common/db_region.db_c: Likewise.
1046         * db2/common/db_salloc.db_c: Likewise.
1047         * db2/db/db.c: Likewise.
1048         * db2/db/db_rec.c: Likewise.
1049         * db2/hash/hash.c: Likewise.
1050         * db2/hash/hash_page.c: Likewise.
1051         * db2/hash/hash_rec.c: Likewise.
1052         * db2/log/log_findckp.c: Likewise.
1053         * db2/log/log_get.c: Likewise.
1054         * db2/log/log_put.c: Likewise.
1055         * db2/mp/mp_fget.c: Likewise.
1056         * db2/mp/mp_fput.c: Likewise.
1057         * db2/mp/mp_region.c: Likewise.
1058         * stdlib/strtol.c: Likewise.
1059         * string/strcoll.c: Likewise.
1060         * string/strxfrm.c: Likewise.
1061         * argp/argp-help.c: Likewise.
1062         * argp/argp-parse.c: Likewise.
1063         * resolv/res_debug.c: Likewise.
1065 1998-09-07 09:58  Ulrich Drepper  <drepper@cygnus.com>
1067         * math/tgmath.h (scalb): Only define for __USE_MISC or
1068         __USE_XOPEN_EXTENDED.  Patch by Zack Weinberg.
1070 1998-09-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1072         * libio/stdio.h: Fix comment.
1074         * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
1075         __USE_ISOC9X.
1077 1998-09-06 09:53 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1079         * Makeconfig (+gccwarn): Remove -Wno-parentheses.
1081         * elf/dl-open.c: Quiet -Wparentheses warnings.
1082         * iconvdata/johab.c: Likewise.
1083         * iconvdata/uhc.c: Likewise.
1084         * inet/inet_net.c: Likewise.
1085         * io/fts.c: Likewise.
1086         * locale/newlocale.c: Likewise.
1087         * misc/getttyent.c: Likewise.
1088         * misc/mntent_r.c: Likewise.
1089         * misc/ttyslot.c: Likewise.
1090         * nscd/nscd_conf.c: Likewise.
1091         * nss/nsswitch.c: Likewise.
1092         * resolv/gethnamaddr.c: Likewise.
1093         * resolv/nsap_addr.c: Likewise.
1094         * resolv/res_debug.c: Likewise.
1095         * stdio-common/_itoa.c: Likewise.
1096         * stdlib/strtod.c: Likewise.
1097         * string/strverscmp.c: Likewise.
1098         * sunrpc/svc.c: Likewise.
1099         * sysdeps/libm-ieee754/e_cosh.c: Likewise.
1100         * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
1101         * sysdeps/libm-ieee754/e_sinh.c: Likewise.
1102         * sysdeps/posix/getaddrinfo.c: Likewise.
1104 1998-09-06 15:13  Ulrich Drepper  <drepper@cygnus.com>
1106         * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
1107         for use of global scope.
1108         * elf/dlvsym.c (dlvsym_doit): Likewise.
1110 1998-09-02  Paul Eggert  <eggert@twinsun.com>
1112         * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
1113         copy the redundant bytes at the end of the format as-is; don't
1114         just copy their first byte and then rescan, as that might get
1115         us an encoding error.
1116         Account correctly for the length of multibyte sequences in the
1117         format.
1119 1998-09-03 20:14  Tim Waugh  <tim@cyberelk.demon.co.uk>
1121         * posix/wordexp-test.c: Add tests for different IFS values.
1122         Change unquoted-newline test so that newline is not in IFS.
1124         * posix/wordexp.c (wordexp): Correct null/unset mix-up when
1125         determining IFS characters.  Return WRDE_BADCHAR for unquoted
1126         special characters _except_ if they are separators.
1128 1998-09-06 10:56  Ulrich Drepper  <drepper@cygnus.com>
1130         * include/tgmath.h: New file.
1132         * libio/stdio.h: Correct reversed #ifs.
1133         Patch by Zack Weinberg.
1135         * manual/creature.texi: Better explain reason for feature select
1136         macros.
1137         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
1139 1998-09-06 10:25 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1141         * include/alloca.h: Add multiple-inclusion guard.
1142         * include/db.h: Likewise.
1143         * include/db_185.h: Likewise.
1144         * include/dlfcn.h: Likewise.
1145         * include/fcntl.h: Likewise.
1146         * include/grp.h: Likewise.
1147         * include/libintl.h: Likewise.
1148         * include/mntent.h: Likewise.
1149         * include/pwd.h: Likewise.
1150         * include/sched.h: Likewise.
1151         * include/search.h: Likewise.
1152         * include/setjmp.h: Likewise.
1153         * include/shadow.h: Likewise.
1154         * include/signal.h: Likewise.
1155         * include/stdio.h: Likewise.
1156         * include/stdlib.h: Likewise.
1157         * include/string.h: Likewise.
1158         * include/termios.h: Likewise.
1159         * include/time.h: Likewise.
1160         * include/ulimit.h: Likewise.
1161         * include/utmp.h: Likewise.
1162         * include/wchar.h: Likewise.
1163         * include/sys/file.h: Likewise.
1164         * include/sys/gmon.h: Likewise.
1165         * include/sys/ioctl.h: Likewise.
1166         * include/sys/mman.h: Likewise.
1167         * include/sys/resource.h: Likewise.
1168         * include/sys/select.h: Likewise.
1169         * include/sys/socket.h: Likewise.
1170         * include/sys/statfs.h: Likewise.
1171         * include/sys/time.h: Likewise.
1172         * include/sys/times.h: Likewise.
1173         * include/sys/wait.h: Likewise.
1175 1998-09-06 09:00  Ulrich Drepper  <drepper@cygnus.com>
1177         * version.h (VERSION): Bump to 2.0.96.
1179         Rewrite runtime linker to be truly thread-safe.  There is now no
1180         global variable specifying the scope.  We create all needed
1181         scopes at the time the link maps are created.
1182         * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
1183         * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
1184         l_symbolic_searchlist, l_scope, and l_local_scope elements in
1185         struct link_map.
1186         * elf/dl-close.c: Rewritten accordingly.
1187         * elf/dl-deps.c: Likewise.
1188         * elf/dl-error.c: Likewise.
1189         * elf/dl-init.c: Likewise.
1190         * elf/dl-load.c: Likewise.
1191         * elf/dl-lookup.c: Likewise.
1192         * elf/dl-object.c: Likewise.
1193         * elf/dl-open.c: Likewise.
1194         * elf/dl-reloc.c: Likewise.
1195         * elf/dl-runtime.c: Likewise.
1196         * elf/dl-support.c: Likewise.
1197         * elf/dl-symbol.c: Likewise.
1198         * elf/dl-version.c: Likewise.
1199         * elf/dlsym.c: Likewise.
1200         * elf/dlvsym.c: Likewise.
1201         * elf/ldsodefs.h: Likewise.
1202         * elf/rtld.c: Likewise.
1203         * iconv/gconv_dl.c: Likewise.
1204         * nss/nsswitch.c: Likewise.
1205         * sysdeps/i386/dl-machine.h: Likewise.
1206         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
1208         * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
1209         Define RTLD_DEFAULT.
1211 1998-09-05  Mark Kettenis  <kettenis@phys.uva.nl>
1213         * sysdeps/mach/hurd/i386/init-first.c (init1): Call
1214         __getopt_clean_environment with __environ instead of envp.
1216 1998-09-05  Roland McGrath  <roland@baalperazim.frob.com>
1218         * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
1220         * string/argz-extract.c (__argz_extract): Add de-consting cast for
1221         setting results.
1223         * string/argz.h (argz_next): Add de-consting cast for return.
1224         * string/argz-next.c (__argz_next): Likewise.
1226         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
1227         Don't add netinet/udp.h, netinet/ip_icmp.h here.
1228         * sysdeps/gnu/Makefile: Do it here instead.
1229         * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
1230         * sysdeps/gnu/Dist: ... to here.
1232         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
1233         sysdeps/unix/sysv/linux/netinet/tcp.h,
1234         sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
1236 1998-09-04  Roland McGrath  <roland@baalperazim.frob.com>
1238         * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
1239         * string/argz-next.c, string/argz-extract.c: Fix defns.
1241 1998-09-03  Roland McGrath  <roland@baalperazim.frob.com>
1243         * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
1245         * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
1246         __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
1247         * sysdeps/generic/sysd-stdio.c: Likewise.
1249 1998-09-02  Ulrich Drepper  <drepper@cygnus.com>
1251         * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
1252         (_dl_map_object_from_fd): Make NAME argument const.
1253         Remove last parameter in _dl_new_object call.
1254         (print_search_path): Correct construction of composed path name.
1255         (_dl_map_object): Prevent looking at RPATH of the main map twice.
1256         Remove last parameter in _dl_new_object call.
1257         * elf/dl-object.c: Remove last parameter.  Determine whether create
1258         origin entry based on empty realname.  Handle file in root directory
1259         correctly.
1260         * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
1261         * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
1262         Remove last parameter in _dl_new_object call.
1263         * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
1264         * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
1266 1998-09-01  Ulrich Drepper  <drepper@cygnus.com>
1268         * elf/dl-close.c (_dl_close): Add more comments and correct some.
1269         Free l_searchlist and l_dupsearchlist.
1271         * debug/catchsegv.sh: Add one more pair of quotes.
1273 1998-09-01 17:53  Ulrich Drepper  <drepper@cygnus.com>
1275         * elf/dl-load.c (add_name_to_object): Change return type to void and
1276         make NAME parameter const.  Allocate room for NAME in same memory
1277         block used for l_libname entry.
1278         (_dl_map_object_from_fd): Don't free NAME on failure.
1279         (map_segment): Pass SONAME to add_name_to_object, not a copy.
1280         (_dl_map_object): Don't create copy of NAME.  Pass NAME to
1281         _dl_map_object_from_fd.
1282         * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
1283         memory block used for l_libname entry.
1284         * elf/dl-close.c: Adjust free()ing for this change.
1286 1998-09-01 15:36  Ulrich Drepper  <drepper@cygnus.com>
1288         * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
1290         * malloc/mtrace.c: Add bug report address.  Update email address.
1291         Add more @XXX@ to print correct address size.
1293         * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
1294         really initialized.
1296         * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
1297         for munmap call instead of examining phdr again.
1298         Free all malloc()ed strings and arrays.
1300 1998-08-09  Geoff Keating  <geoffk@ozemail.com.au>
1302         * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
1303         dl-machine.h.
1304         * sysdeps/powerpc/dl-machine.c: New file.
1305         * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
1306         files.  Revise ELF_PREFERRED_ADDRESS to take account of
1307         the new mapping information (fixes bug involving huge bloated
1308         web browser).  Set ELF_MACHINE_PLTREL_OVERLAP.
1309         * sysdeps/powerpc/dl-start.S: New file.
1311         * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
1312         l_map_end.
1313         * elf/do-rel.h: Call elf_machine_rel only once (to save space).
1314         * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
1315         others.  Call elf_dynamic_do_##reloc only once (to save even more
1316         space).
1317         * elf/link.h: Add new members l_map_start and l_map_end to keep
1318         track of the memory map.
1319         * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
1320         the executable.
1322 1998-09-01 11:53  Ulrich Drepper  <drepper@cygnus.com>
1324         * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
1325         Reported by Andreas Jaeger.
1327         * posix/glob.h: Use __size_t instead of size_t in definitions and
1328         make sure this is defined.
1330 1998-09-01 10:34  Ulrich Drepper  <drepper@cygnus.com>
1332         * manual/locale.texi: Almost complete rewrite.  Document more functions
1333         and functionality.
1334         * manual/arith.texi: Correct reference.
1335         * manual/string.texi: Pretty printing.
1337         * manual/texinfo.tex: Update from last available version.
1339 1998-08-31 22:44  Ulrich Drepper  <drepper@cygnus.com>
1341         * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
1342         invalid password.
1343         (_nss_nis_getpwuid_r): Likewise.
1344         Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
1346         * inet/rcmd.c: Implement netgroup support.
1347         Patch by Dick Streefland <dick_streefland@tasking.com>.
1349 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
1351         * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
1352         object on the list is removed.  Don't use this code for PIC.
1353         Reported by HJ Lu [PR libc/770].
1355 1998-08-31 15:56  Ulrich Drepper  <drepper@cygnus.com>
1357         * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
1359         * include/stdio.h: Add __vsscanf.
1361         * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
1362         __USE_ISOC9X.
1363         Remove __vsscanf declaration.
1364         Always declare fgetpos and fsetpos.
1366         * math/math.h: Define isinf as macro.
1367         * math/bits/mathcalls.h: Change to declare __isinf all the time.
1368         Don't declare scalb for ISO C 9x.
1370         * math/tgmath.h: Define fma.  Rewrite the underlying macros.
1372         * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
1374         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
1375         sys/ucontext.h.
1377         * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
1378         macros.
1380 1998-08-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1382         * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
1383         Reported by jreising@frequentis.com [PR libc/767].
1385 1998-08-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1387         * io/lockf.c (lockf): Move initilisation of fl.l_whence and
1388         fl.l_start at beginning of function.
1389         Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
1391 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
1393         * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
1394         Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
1396         * nscd/nscd.init: Make it work in RedHat systems.
1397         Patch by Christian Gafton.
1399 1998-08-29  Philip Blundell  <philb@gnu.org>
1401         * catgets/Makefile: Don't try to run test programs when
1402         cross-compiling.
1404 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
1406         * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
1407         Reported by Zack Weinberg.
1409 1998-08-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1411         * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
1412         * elf/Makefile (distribute): Remove ldd.sh.in.
1414 1998-08-31 11:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1416         * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
1417         variable.
1419 1998-08-29  Ulrich Drepper  <drepper@cygnus.com>
1421         * sysdeps/i386/register-dump.h: Move to ...
1422         * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
1424 1998-08-28 22:49  Ulrich Drepper  <drepper@cygnus.com>
1426         * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
1427         with load address, not map address.
1428         * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
1429         parameter and use this value.
1430         * sysdeps/arm/dl-machine.h: Likewise.
1431         * sysdeps/i386/dl-machine.h: Likewise.
1432         * sysdeps/m68k/dl-machine.h: Likewise.
1433         * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
1434         parameter.
1435         * sysdeps/powerpc/dl-machine.h: Likewise
1436         * sysdeps/sparc/sparc32/dl-machine.h: Likewise
1437         * sysdeps/sparc/sparc64/dl-machine.h: Likewise
1439 1998-08-28 09:22  Ulrich Drepper  <drepper@cygnus.com>
1441         * elf/rtld.c (process_envvars): Fix copy&paste error.
1443         * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
1444         memalign hook.
1445         (realloc_hook_ini): Don't overwrite memalign hook.
1446         (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
1447         Reported by Philippe Troin <phil@fifi.org>.
1449         * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
1450         Patch by Philippe Troin <phil@fifi.org>.
1452 1998-08-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1454         * sysdeps/generic/segfault.c (install_handler): Protect the
1455         non-POSIX signals with #ifdef.
1456         (catch_segfault): Add missing mode parameter for open.
1457         * debug/catchsegv.sh: Avoid termination message from shell.  Allow
1458         other termination signals.
1460 1998-08-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1462         * debug/Makefile (distribute): Add register-dump.h.
1464 1998-08-28 10:41  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1466         * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
1468 1998-08-27 19:42  Ulrich Drepper  <drepper@cygnus.com>
1470         * elf/Makefile (distribute): Add dl-origin.h.
1471         * sysdeps/generic/dl-origin.h: New file.
1472         * sysdeps/unix/sysv/linux/dl-origin.h: New file.
1473         * elf/link.h (struct link_map): Add l_origin field.
1474         * elf/dl-load.c (expand_dynamic_string_token): New function.
1475         (decompose_path): Remove WHERE argument, take link map pointer instead.
1476         Call expand_dynamic_string_token instead of local_strdup to make copy
1477         of rpath.
1478         (_dl_init_paths): Call decompose_path with correct argument.
1479         (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
1480         not defined.
1481         Check EI_OSABI and EI_ABIVERSION fields in header.
1482         Call _dl_new_object with extra argument.
1483         (_dl_map_object): Call decompose_path with correct argument.
1484         Call expand_dynamic_string_token instead of local_strdup to also
1485         expand DST.
1486         Call _dl_new_object with extra argument.
1487         * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
1488         but the main one if new argument is nonzero.
1489         * elf/ldsodefs.h: Adjust for _dl_new_object change.
1490         * elf/dl-support.c: Define _dl_origin_path.
1491         * elf/rtld.c: Likewise.  Set _dl_origin_path based on LD_ORIGIN_PATH.
1492         (dl_main): Call _dl_new_object with extra argument.
1494         * elf/dl-close (_dl_close): Free l_name and l_origin.
1496         * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
1497         modifier in asm, not c.
1499         * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
1500         to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
1502 1998-08-26 17:48  Ulrich Drepper  <drepper@cygnus.com>
1504         * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
1505         variable so that map can be freed.
1506         Reported by Philippe Troin <phil@fifi.org>.
1508         * elf/dl-open.c (dl_open_worker): Correct test for extending global
1509         scope array.
1510         Patch by Philippe Troin <phil@fifi.org>.
1512 1998-08-26  Geoff Keating  <geoffk@ozemail.com.au>
1514         * sysdeps/powerpc/register-dump.h: Rewrite.  Much nicer this way.
1515         Don't call writev() with a 100-element vector.
1516         * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
1517         return address.
1519         * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
1520         In particular, set __libc_stack_end.
1521         * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
1522         undefined.  Fix copyright notice.
1524 1998-08-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1526         * math/Makefile (gmp-objs): New variable.
1527         ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
1528         Depend on it.
1529         (tests): Add atest-exp atest-sincos atest-exp2.
1530         (tests-static): Remove atest-exp atest-sincos atest-exp2.
1532 1998-08-25  Ulrich Drepper  <drepper@cygnus.com>
1534         * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
1535         to toplevel.
1536         (_dl_unload_cache): New function.
1537         * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
1538         * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
1539         * elf/rtld.c (dl_main): Unload map file before jumping to user code.
1541         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
1542         Correct comment for O_LARGEFILE.
1543         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
1544         Change O_LARGEFILE to correct value.
1546 1998-08-25 14:34  Ulrich Drepper  <drepper@cygnus.com>
1548         * libio/iogetline.c (_IO_getline_info): Don't read anything for
1549         N == 0.  Patch by HJ Lu.
1551 1998-08-25 11:43  Ulrich Drepper  <drepper@cygnus.com>
1553         * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
1555 1998-08-25  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
1557         * argp/argp.h: Use __inline__ not inline.
1559         * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
1560         an input register as being clobbered.
1561         * sysdeps/i386/memset.c (memset): Likewise.
1562         * sysdeps/i386/bzero.c (__bzero): Likewise.
1563         * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
1565 1998-08-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1567         * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
1568         Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
1570 1998-08-24 16:34  Ulrich Drepper  <drepper@cygnus.com>
1572         * debug/catchsegv.sh: Handle text preceding backtrace better.
1573         * sysdeps/generic/segfault.c: Allow register dump.  Allow handler
1574         to be installed for other signals than SIGSEGV.
1575         * sysdeps/generic/register-dump.h: New file.
1576         * sysdeps/i386/register-dump.h: New file.
1577         * sysdeps/powerpc/register-dump.h: New file.
1579         * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
1580         sigcontextinfo.h.
1581         * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
1583 1998-08-24  Geoff Keating  <geoffk@ozemail.com.au>
1585         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
1587 1998-08-09  Geoff Keating  <geoffk@ozemail.com.au>
1589         * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
1590         * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
1591         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
1592         getresuid, getresgid.
1594 1998-08-16  Geoff Keating  <geoffk@ozemail.com.au>
1596         * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs.  Set up stack
1597         pointer in userland.
1599 1998-08-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1601         * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
1602         and fix value.
1604 1998-08-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1606         * elf/ldd.bash.in: Add missing quotes around $file.  Make loop
1607         over arguments Bourne shell compatible.  Don't exit unsuccessfully
1608         if nonelf returns successfully.  Avoid duplicating most of the
1609         script.
1610         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
1611         around $file.
1613 1998-08-24 10:37  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1615         * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
1616         sys/reg.h.
1617         * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
1618         * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
1620 1998-08-23  Ulrich Drepper  <drepper@cygnus.com>
1622         * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
1623         __modify_ldt and modify_ldt.
1624         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
1626         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1627         Use orl $-1 instead of movl $-1 to save two bytes.
1628         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
1629         Likewise.
1631 1998-08-17  H.J. Lu  <hjl@gnu.org>
1633         * libio/Versions (_IO_do_write, _IO_file_attach,
1634         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1635         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1636         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1637         _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
1639         * libio/fileops.c (_IO_do_write, _IO_file_attach,
1640         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1641         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1642         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1643         _IO_file_write, _IO_file_xsputn): Change the prefix to
1644         "_IO_new_". Added to GLIBC_2.1.
1646         * libio/libioP.h (_IO_do_write, _IO_file_attach,
1647         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1648         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1649         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1650         _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
1651         "_IO_new_".
1653         * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
1654         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1655         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1656         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1657         _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
1659 1998-08-23  Richard Henderson  <rth@cygnus.com>
1661         * Makeconfig (LDFLAGS): Remove.
1663         * csu/initfini.c: Return to .text before __gmon_start__.
1665         * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
1666         (STO_MIPS_*): Rename from STO_*.
1667         (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
1668         (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
1670         * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
1671         (main): e3s is negative on zero.
1672         * math/atest-exp2.c: Likewise.
1673         * math/atest-sincos.c: Likewise.
1675 1998-08-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1677         * Makerules (install): Add comment about absolute paths.
1679 1998-08-23  Ulrich Drepper  <drepper@cygnus.com>
1681         * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
1682         array to NUL to handle maxlen==1 case correctly.
1683         Patch by HJ Lu.
1685 1998-08-23  Richard Henderson  <rth@cygnus.com>
1687         * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
1688         * sysdeps/alpha/elf/crtend.S: Likewise.
1689         * sysdeps/alpha/elf/start.S: Likewise.
1691         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
1692         non-standard pv usage.
1694         * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
1695         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
1696         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
1697         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
1698         * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
1699         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
1700         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
1701         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
1702         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
1703         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
1704         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
1706         * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
1707         a finite non-denormal, deferring to the full IEEE version otherwise.
1709         * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
1710         Early out for -0.  Optimize for !_IEEE_FP_INEXACT.
1711         * sysdeps/alpha/fpu/s_floor.c: New.
1712         * sysdeps/alpha/fpu/s_floorf.c: New.
1713         * sysdeps/alpha/fpu/s_ceil.c: New.
1714         * sysdeps/alpha/fpu/s_ceilf.c: New.
1716 1998-08-22  Philip Blundell  <philb@gnu.org>
1718         * sysdeps/arm/bits/string.h: New file.
1720 1998-08-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1722         * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
1723         document it.
1725         * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
1726         test for recent Linux 2.1.100+ headers.
1728 1998-08-21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1730         * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
1732 1998-08-21 17:21  Ulrich Drepper  <drepper@cygnus.com>
1734         * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
1736 1998-08-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1738         * Makefile (elf/ldso_install): Put back.  The problem still persists.
1739         * elf/Makefile (ldso_install): Likewise.
1741 1998-08-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1743         * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
1744         create weak alias.
1745         * include/db.h: Declare __nss_db_open.
1746         * db2/Versions: Export it.
1748         * db2/makedb.c: Convert to use db2 API.
1749         * nss/nss_db/db-XXX.c: Likewise.
1750         * nss/nss_db/db-netgrp.c: Likewise.
1751         * nss/nss_db/db-alias.c: Likewise.
1752         (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
1754 1998-08-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1756         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
1757         sys_setresuid, already built automatically (or not).
1758         * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
1759         instead of __syscall_setresuid and add back setresuid.
1760         * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
1761         __syscall_setresuid.
1763 1998-08-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1765         * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
1767 1998-08-20  Ulrich Drepper  <drepper@cygnus.com>
1769         * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
1770         BASH-ONLY marked region.
1771         * elf/ldd.bash.in: Remove special BASH-ONLY markers.
1773 1998-02-20 17:54  H.J. Lu  <hjl@gnu.org>
1775         * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
1776         _IO_SYSSEEK fails.
1778         * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
1780         * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
1781         element.
1783 1998-08-21  Roland McGrath  <roland@baalperazim.frob.com>
1785         * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
1786         with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
1787         * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
1788         (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
1789         (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
1790         those magic comments, and to use /bin/sh for @BASH@.
1791         (bash-ldd-rewrite): Use $(common-ldd-rewrite).
1792         * elf/ldd.sh.in: File removed.
1794 1998-08-20 20:07  Ulrich Drepper  <drepper@cygnus.com>
1796         * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
1797         cast them to unsigned long int.
1798         * pwd/putpwent.c (putpwent): Likewise.
1799         Patch by John Tobey <jtobey@banta-im.com>.
1801 1998-08-20 17:14  H.J. Lu  <hjl@gnu.org>
1803         * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
1804         _IO_pos_BAD.
1806 1998-02-20 17:54  H.J. Lu  <hjl@gnu.org>
1808         * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
1809         _IO_SYSSEEK fails.
1811 1998-08-20 19:14  Ulrich Drepper  <drepper@cygnus.com>
1813         * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
1814         Add umount and umount2.
1815         * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
1816         * sysdeps/unix/sysv/linux/umount.S: New file.
1817         * sysdeps/unix/sysv/linux/umount2.S: New file.
1818         * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
1819         Define MNT_FORCE.
1821         * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
1822         Add sys/sendfile.h.
1823         * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
1824         * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
1826         * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
1828         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
1829         sendfile.
1831 1998-08-20 16:01  Ulrich Drepper  <drepper@cygnus.com>
1833         * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
1834         * elf/ldd.bash.in: Likewise.
1836         * elf/sln.c: Avoid warning for no main prototype.
1838         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
1839         O_WRITE.
1840         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1841         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1843         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
1844         F_GETSIG.
1845         * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
1846         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1847         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1849 1998-08-20  Philip Blundell  <pb@nexus.co.uk>
1851         * sysdeps/arm/fpu/ieee754.h: Move to...
1852         * sysdeps/arm/ieee754.h: ... here.
1854         * sysdeps/arm/__longjmp.S: Put return value in correct register.
1855         Don't set the condition flags unnecessarily.
1856         * sysdeps/arm/fpu/__longjmp.S: Likewise.  Restore floating point
1857         registers correctly.
1859         * sysdeps/arm/dl-machine.h: Fix problems with profiling code
1860         (patch from Scott Bambrough).
1862         * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
1864         * csu/initfini.c (_init): Don't check whether __gmon_start__ is
1865         NULL, just call it unconditionally.
1866         (__gmon_start__): Provide stub version as a weak symbol.
1868 1998-07-30  Philip Blundell  <philb@gnu.org>
1870         * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
1871         by Scott Bambrough)
1873         * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
1874         like `@' in .type directives.
1876         * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
1877         * sysdeps/arm/bsd-_setjmp.S: Likewise.
1879         * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
1881 1998-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1883         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
1884         (F_GETOWN): Likewise.
1886         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
1887         Linux 2.1.117).
1889 1998-08-20  Ulrich Drepper  <drepper@cygnus.com>
1891         * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
1892         already defined.
1894 1998-08-18  Ulrich Drepper  <drepper@cygnus.com>
1896         * include/features.h: Define __USE_EXTERN_INLINES for recent
1897         enough gcc.
1898         * argp/argp.h: Define extern inline functions only if
1899         __USE_EXTERN_INLINES is defined.
1900         * libio/stdio.h: Likewise.
1901         * math/math.h: Likewise.
1902         * stdlib/stdlib.h: Likewise.
1903         * string/argz.h: Likewise.
1904         * sysdeps/generic/bits/sigset.h: Likewise.
1905         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
1906         * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
1907         * sysdeps/wordsize-32/inttypes.h: Likewise.
1908         * sysdeps/wordsize-64/inttypes.h: Likewise.
1909         * wcsmbs/wchar.h: Likewise.
1911         * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
1912         to allow compilation without optimization.
1914 1998-08-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1916         * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
1917         more entries.
1918         * nis/nss_compat/compat-initgroups.c: Likewise.
1919         * nis/nss_compat/compat-pwd.c: Likewise.
1920         * nis/nss_compat/compat-spwd.c: Likewise.
1921         * nis/nss_nis/nis-alias.c: Likewise.
1922         * nis/nss_nis/nis-ethers.c: Likewise.
1923         * nis/nss_nis/nis-grp.c: Likewise.
1924         * nis/nss_nis/nis-hosts.c: Likewise.
1925         * nis/nss_nis/nis-initgroups.c: Likewise.
1926         * nis/nss_nis/nis-network.c: Likewise.
1927         * nis/nss_nis/nis-proto.c: Likewise.
1928         * nis/nss_nis/nis-pwd.c: Likewise.
1929         * nis/nss_nis/nis-rpc.c: Likewise.
1930         * nis/nss_nis/nis-service.c: Likewise.
1931         * nis/nss_nis/nis-spwd.c: Likewise.
1933         * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
1935         * nis/ypclnt.c: Try binding dir only first time, could be to old.
1937         * nis/yp_xdr.c: Remove 1024 byte limit.
1938         * nis/ypupdate_xdr.c: Likewise.
1940         * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
1941         wrong data.
1943 1998-08-18  Roland McGrath  <roland@baalperazim.frob.com>
1945         * Rules (binaries-static, binaries-shared static pattern rules):
1946         Depend on lib%, not just libc%, from $(link-libc{,-static}).
1948         * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
1949         this here, overriding Makeconfig generic value so we link against
1950         the RPC libs.
1952 1998-08-17  Ulrich Drepper  <drepper@cygnus.com>
1954         * posix/tstgetopt.c (options): Add NULL entry at end
1955         Patch by Adrian Miranda <ade@psg.com>.
1957 1998-08-15 18:21  Ulrich Drepper  <drepper@cygnus.com>
1959         * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION.  Move EI_PAD
1960         to 9.
1962 1998-08-15 14:11  Ulrich Drepper  <drepper@cygnus.com>
1964         * elf/elf.h: Add PPC Diab relocations.
1966         * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
1968 1998-08-14 10:08  Ulrich Drepper  <drepper@cygnus.com>
1970         * manual/texinfo.tex: Update.
1972 1998-08-07  Geoff Keating  <geoffk@ozemail.com.au>
1974         * sysdeps/powerpc/backtrace.c: New file.
1976 1998-08-14  Philip Blundell  <pb@nexus.co.uk>
1978         * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
1979         sigjmp_save.
1980         * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
1982 1998-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1984         * Makefile (install-symbolic-link): Fix spelling.
1986 1998-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1988         * elf/elf.h (SHT_HIOS): Fix value.
1990 1998-08-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1992         * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
1993         part of the expansion, this is undefined by the standard.
1995 1998-08-13 19:41  Ulrich Drepper  <drepper@cygnus.com>
1997         * posix/getconf.c: Add support for systems with incomplete confname.h.
1999         * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
2001         * sysdeps/posix/wait3.c: Make it work.
2003 1998-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2005         * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
2006         (elf/ldso_install): Remove.
2008         * elf/Makefile (distribute): Add sln.c.
2009         (others): Add sln.
2010         (others-static): Add sln.
2011         (install-rootsbin): Add sln.
2012         (others-static): Add sln.
2013         (ldso_install): Remove.
2015 1998-07-24 10:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2017         * Makerules (install-clean-symbolic-link-list): Make phony.
2018         * Makefile (install-symbolic-link): Make phony.  Depend on
2019         subdir_install for parallel makes.
2022 1998-07-22  Ulrich Drepper  <drepper@cygnus.com>
2024         * elf/Makefile (distribute): Add sln.c
2026 1998-07-21 07:10  H.J. Lu  <hjl@gnu.org>
2028         * elf/sln.c: New file.
2030         * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
2031         (install-clean-symbolic-link-list): New target.
2032         (install): Depend on install-clean-symbolic-link-list.
2033         (make-shlib-link): Changed for $(symbolic-link-list).
2035         * Makefile (install-symbolic-link): New target.
2036         (install): Depend on install-symbolic-link.
2038 1998-08-12 17:03  Ulrich Drepper  <drepper@cygnus.com>
2040         * include/unistd.h: Protect against multiple inclusion.
2042         * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
2043         is defined, not is glob is defined.
2044         * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
2046 1998-08-01 17:18  H.J. Lu  <hjl@gnu.org>
2048         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
2049         xdr_string for ut_line, ut_name and ut_host.
2051 1998-08-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2053         * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
2054         /var/mail in accordance with FHS 2.0.
2055         Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
2057 1998-08-12  Richard Henderson  <rth@cygnus.com>
2059         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
2060         Update aliases for cancelation.
2062         * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
2063         playing with symbol versions.
2065 1998-08-12  Roland McGrath  <roland@baalperazim.frob.com>
2067         * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
2068         multiple inclusion protection.
2069         (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
2070         _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
2071         define all these to 1.
2072         (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
2074 1998-08-12  Roland McGrath  <roland@baalperazim.frob.com>
2076         * sysdeps/mach/usleep.c: Include <unistd.h>.
2077         (usleep): Return void.
2079 1998-08-11  Roland McGrath  <roland@baalperazim.frob.com>
2081         * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
2082         decl to inhibit warning in if_freenameindex defn.
2084         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
2086         * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
2088         * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
2089         * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
2090         * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
2091         * sysdeps/mach/usleep.c: Likewise.
2093         * sysdeps/mach/hurd/bind.c (bind): Add a const.
2095         * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
2096         * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
2097         * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
2098         * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
2099         * sysdeps/mach/usleep.c (usleep): Likewise.
2100         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
2101         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
2102         * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
2103         * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
2105 1998-08-11  Roland McGrath  <roland@baalperazim.frob.com>
2107         * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
2108         (glob64): Fix typo.
2110         * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
2111         %p arg to fprintf, since `void *' is the right type already.
2113 1998-07-25 19:47  Jose M. Moya  <josem@gnu.org>
2115         * sysdeps/mach/hurd/getcwd.c
2116         (_hurd_canonicalize_directory_name_internal): Do not loop forever
2117         for unknown root directories.
2118         (__getcwd): Return NULL when the current root directory could not
2119         be reached.
2121 1998-08-11 18:39  Ulrich Drepper  <drepper@cygnus.com>
2123         * string/strsignal.c (strsignal): Count real-time signals from zero.
2126 See ChangeLog.8 for earlier changes.