Update.
[glibc.git] / ChangeLog
blobc0a3218970b8d0f5fa89fb58a75ab312f6d25b77
1 1998-09-24  Ulrich Drepper  <drepper@cygnus.com>
3         * debug/catchsegv.sh: Also produce output if cloned process died.
5 1998-09-24  Paul Eggert  <eggert@twinsun.com>
7         * strftime.c (f_wkday): Remove duplicate definition.
8         (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
9         !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
10         1998-09-11 fix to this case.
11         (wkday_len, month_len): Remove these macros; they're no longer needed.
13 1998-09-24  Paul Eggert  <eggert@twinsun.com>
15         * strftime.c (my_strftime): Don't store past the end of a
16         zero-sized buffer.
18 1998-09-24  Paul Eggert  <eggert@twinsun.com>
20         * time/strftime.c (underlying_strftime):
21         Set the buffer to a nonzero value before calling
22         strftime, and check to see whether strftime has set the buffer to zero.
23         This lets us distinguish between an empty buffer and an error.
25 1998-09-24  Paul Eggert  <eggert@shade.twinsun.com>
27         * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
28         This fix is propagated from tzcode1998g.tar.gz.
30 1998-09-24  Mark Kettenis  <kettenis@phys.uva.nl>
32         * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
33         _sys_siglist.  [!HAVE_GNU_LD]: Do not define _sys_siglist as
34         sys_siglist.  This is handled correctly by the weak_alias macro.
36 1998-09-24  Ulrich Drepper  <drepper@cygnus.com>
38         * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
39         of mempcpy.  Reported by Andreas Jaeger.
41         * misc/regexp.h (compile): Use alloca instead of __alloca.  It won't
42         pollute the namespace since the compiler will resolve it inline.
43         Reported by Florian La Roche <florian@suse.de>.
45 1998-09-24 10:29  Ulrich Drepper  <drepper@cygnus.com>
47         * timezone/private.h: Update from tzcode1998g.
49         * timezone/africa: Update from tzdata1998h.
50         * timezone/asia: Likewise.
51         * timezone/australasia: Likewise.
52         * timezone/europe: Likewise.
53         * timezone/northamerica: Likewise.
54         * timezone/southamerica: Likewise.
55         * timezone/zone.tab: Likewise.
57 1998-09-23 17:28 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
59         * misc/sys/mman.h: New file.
61         * sysdeps/generic/bits/mman.h: New file.
62         * sysdeps/unix/bsd/osf/bits/mman.h: New file.
63         * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
64         * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
65         * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
67         * sysdeps/generic/sys/mman.h: Removed.
68         * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
69         * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
70         * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
71         * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
72         * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
74         * include/sys/mman.h: Look directly for misc/sys/mman.h.
75         * misc/Makefile (headers): Add bits/mman.h.
76         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
77         bits/mman.h.
79         * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
80         * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
81         * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
82         * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
83         * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
84         * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
85         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
86         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
88 1998-09-23 16:27 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
90         * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
91         * sysdeps/mach/alpha/thread_state.h: Likewise.
92         * sysdeps/mach/i386/sysdep.h: Likewise.
93         * sysdeps/mach/i386/thread_state.h: Likewise.
94         * sysdeps/mach/mips/sysdep.h: Likewise.
95         * sysdeps/mach/mips/thread_state.h: Likewise.
96         * sysdeps/posix/profil.c: Likewise.
97         * sysdeps/i386/i586/memcopy.h: Likewise.
98         * sysdeps/mach/pagecopy.h: Likewise.
100 1998-09-23 15:25  Ulrich Drepper  <drepper@cygnus.com>
102         * libio/stdio.h: Define __need_getopt and include getopt.h to define
103         getopt stuff.
104         * posix/unistd.h: Likewise.
105         * stdio/stdio.h: Likewise.
106         * posix/getopt.h: Remove _GNU_SOURCE use.  If __need_getopt is defined
107         define only getopt and the variables.
109 1998-09-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
111         * scripts/test-installation.pl (installation_problem): Don't link
112         the test program against libdb1.
114 1998-09-23 13:52  Ulrich Drepper  <drepper@cygnus.com>
116         * Makeconfig (all-subdirs): Add db.
117         * Versions.def: Add definition for libdb1.
118         * shlib-versions: Add definitions for libdb1.
119         * db/Makefile (extra-libs): Replace by libdb1.
120         (libdb-routines): Rename to libdb1-routines.
121         (headers): Rename to db1-headers.
122         (distribute): Add $(db1-headers).
123         (install-others): Define to install symlink libdb.so.NN and the
124         $(db1-headers).
125         (CPPFLAGS): Add -DUSE_LIBDB1
126         Remove rules to build makedb.
127         * db/Versions: Rename libdb to libdb1.
128         * include/db.h: If USE_LIBDB1 is defined include db/db.h.
129         * db/makedb.c: Removed.
131         * scripts/versions.awk: Recognize digits in library names.
133         * db/btree/bt_open.c: Fix compiler warnings.
134         * db/btree/bt_put.c: Likewise.
135         * db/btree/bt_split.c: Likewise.
136         * db/hash/hash.c: Likewise.
137         * db/hash/hash_bigkey.c: Likewise.
138         * db/recno/rec_close.c: Likewise.
140         * Makefile: Add localedata/% goal.
142 1998-09-22 19:58 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
144         * posix/execvp.c: Don't give up searching the PATH if execve
145         returns ENOTDIR.
147 1998-09-22 12:53  Ulrich Drepper  <drepper@cygnus.com>
149         * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
150         if _dl_fpu_control_set is set.
151         * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
152         * elf/rtld.c: Don't define _dl_fpu_control_set.
153         * elf/Versions: Remove _dl_fpu_control_set.
155 1998-09-22 11:51  Ulrich Drepper  <drepper@cygnus.com>
157         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
158         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
159         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
160         Correct values of other SA_* macros according to kernel headers.
162 1998-09-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
164         * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
165         variable l.
166         * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
167         old.
169 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
171         * elf/ldsodefs.h: Fix typo in comment.
173 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
175         * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
176         char when comparing buffer contents with putback character.
178 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
180         * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
181         Undo last change.
182         * elf/Versions: Undo last change.  Export _dl_fpu_control and
183         _dl_fpu_control_set.
184         * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
185         variables.  Include <fpu_control.h>.
186         * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
187         _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
188         to indicate that is was seen.
189         * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
190         only if _dl_fpu_control was set and is equal to desired value.
191         * math/Makefile (aux): Undo last change.
192         * math/Versions: Export __fpu_control with version GLIBC_2.0.
194 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
196         * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
197         optimized.
199 1998-09-21 10:00  Ulrich Drepper  <drepper@cygnus.com>
201         * string/bits/string2.h: Add mempcpy optimization.
202         * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
203         * intl/localealias.c: Define mempcpy only if not already defined.
205         * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
206         defined.
208 1998-09-20 10:48 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
210         * csu/abi-note.S: Emit the note directly instead of defining
211         a preprocessor macro that's only used once.  Don't include sysdep.h.
212         * abi-tags: Generalize Solaris entry.
214 1998-09-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
216         * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
217         Change to array to avoid runtime relocation.
218         * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
220 1998-09-21 12:22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
222         * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
223         * math/Makefile ($(objpfx)libieee.a): Likewise.
225 1998-09-21  Ulrich Drepper  <drepper@cygnus.com>
227         * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
228         Patch by John Tobey <jtobey@banta-im.com>.
230 1998-09-20  Ulrich Drepper  <drepper@cygnus.com>
232         * login/Makefile (distribute): Remove pty-internal.h, add
233         pty-private.h.
235         * stdlib/tst-strtol.c: Add more checks.
236         Patch by Zack Weinberg <zack@rabi.columbia.edu>.
238 1998-09-20 09:37  Ulrich Drepper  <drepper@cygnus.com>
240         * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
241         * elf/elf.h: Add AT_FPUCW.
242         * elf/Makefile (dl-routines): Add fpu_control.
243         (elide-routines.os): Add fpu_control.
244         (rtld-routines): Add fpu_control.
245         * math/Makefile (aux): Remove fpu_control.
246         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
247         (_dl_show_auxv): Likewise.
248         * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
249         if different from OS default.
251         * stdio-common/tstscanf.c: Add test case for (nil).
253 1998-09-18 17:41  Ulrich Drepper  <drepper@cygnus.com>
255         * libio/fileops.c (_IO_new_file_underflow): Before allocating
256         buffer make sure the pushback buffer is destroyed.
257         (_IO_new_file_seekoff): Likewise.
258         If mode==0 quit early with the result.
259         Clear OEF flag after successful fseek.
260         * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
261         * libio/ftello.c (ftello): Add offset from original buffer if
262         stream has pushed back characters.
263         * libio/ftello64.c (ftello64): Likewise.
264         * libio/iofgetpos.c (_IO_fgetpos): Likewise.
265         * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
266         * libio/ioftell.c (_IO_ftell): Likewise.
267         * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
268         and _IO_save_ptr.
269         (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
270         (_IO_default_pbackfail): Only stored push back character in original
271         buffer if it is the same as the one in the file at this position.
272         * libio/iofclose.c: Free backup buffer if one is available.
273         * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
274         mode!=0.
276         * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
278         * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
280         * stdio-common/vfscanf.c: Fix reading (nil) for %p.
282 1998-09-18  Mark Kettenis  <kettenis@phys.uva.nl>
284         * login/programs/pt_chown.c (more_help): Correct message that
285         describes the purpose of the program.
287         * login/openpty.c: Do not include pty-private.h.
288         (pts_name): New function.  Return name of slave pseudo terminal in
289         an allocated buffer if necessary.
290         (openpty): Use pts_name to get name of the slave end of the pseudo
291         terminal pair.
293         * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
294         pts_name before return.
296 1998-09-18 11:15  Ulrich Drepper  <drepper@cygnus.com>
298         * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
300 1998-09-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
302         * login/openpty.c: Include pty-private.h instead of
303         pty-internal.h.
305 1998-09-09  Philip Blundell  <pb@nexus.co.uk>
307         * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
309 1998-09-07  Philip Blundell  <pb@nexus.co.uk>
311         * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
312         recent ld.so changes.
313         (elf_machine_runtime_setup): Correct behaviour when profiling.
315 1998-09-17 19:34  Ulrich Drepper  <drepper@cygnus.com>
317         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
318         Patch by John Tobey <jtobey@banta-im.com>.
320 1998-09-17  Mark Kettenis  <kettenis@phys.uva.nl>
322         * login/pty-internal.h: Removed.  Moved constants related to the
323         `grantpt' helper program protocol to ...
324         * login/pty-private.h: ... here.  New file.
325         * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
326         to make the function work with kernels >= 2.1.115.
327         * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
328         version if using the cloning device fails.
329         * sysdeps/unix/sysv/linux/grantpt.c: New file.
330         * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
331         * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
332         use by Linux specific code.
333         * sysdeps/unix/bsd/unlockpt.c: General cleanup.
334         * sysdeps/unix/grantpt.c: Largely rewritten.  (pts_name): New
335         function.  (grantpt): Use pts_name, check group and permission
336         mode in addition to owner.  Try to set the owner, group and
337         permission mode first without invoking the helper program.
338         * login/programs/pt_chown.c: Largely rewritten.  Add argp and
339         internationalization support.  Use symbolic constants instead of
340         hardwired numbers for permission mode.
341         * sysdeps/unix/bsd/ptsname.c: New file.
343 1998-09-17 22:04  Tim Waugh  <tim@cyberelk.demon.co.uk>
345         * posix/wordexp-test.c: Undo last change.
347         * posix/wordexp.c: Undo last change.
349 1998-09-16  Ulrich Drepper  <drepper@cygnus.com>
351         * nscd/grpcache.c (save_grp): Partly undo last change.
353         * nscd/pwdcache.c (save_pwd): Undo last change.
355 1998-09-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
357         * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
358         function.  Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
360 1998-09-15  David S. Miller  <davem@pierdol.cobaltmicro.com>
362         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
363         Add profiling support.
364         (TRAMPOLINE_TEMPLATE): New macro.
365         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
366         (RTLD_START): Prettify, and set __libc_stack_end properly.
367         (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
368         and check for sym being NULL instead.
369         * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
370         of stack space.
371         * sysdeps/sparc/sparc64/lshift.S: Likewise.
372         * sysdeps/sparc/sparc64/mul_1.S: Likewise.
373         * sysdeps/sparc/sparc64/rshift.S: Likewise.
374         * sysdeps/sparc/sparc64/submul_1.S: Likewise.
375         * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
376         MEDANY code model %g4 usage.
377         * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
378         MEDANY code model %g4 usage.
379         * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
380         code model address formation.
381         * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
382         include elf/ldsodefs.h
383         (DT_SPARC): Remove.
384         (elf_machine_matches_host): It is now EM_SPARCV9.
385         (elf_machine_dynamic): Clean up to remove ugly cast.
386         (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
387         new PLT formats.
388         (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
389         Prettify rest of function.
390         [R_SPARC_COPY]: Check for sym being NULL.
391         [R_SPARC_32]: Handle it.
392         [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
393         MEDMID code model.
394         [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
395         MEDANY code model.
396         [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
397         (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
398         Add profiling support.
399         (TRAMPOLINE_TEMPLATE): New macro.
400         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
401         (RTLD_START): Prettify and set __libc_stack_end.
402         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
403         Define.
404         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
405         (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
406         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
407         unused variable scratch.
408         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
409         (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
410         Declare.
411         (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
412         stub to rt_sigaction syscalls.  Rewrite non-rt case to use correct
413         old format kernel sigaction structures.
414         * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
415         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
416         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
417         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
418         ucontext include.
419         (_JMPBUF_UNWINDS): Define.
420         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
421         statfs64 structure, which is exactly the same as the normal one.
422         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
423         of stack.  Use correct syscall trap number.  Add branch prediction
424         settings to branch instructions.  Remove old MEDANY code model %g4
425         referneces for non-PIC.
426         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
427         * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
428         * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
429         * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
430         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
431         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
432         __libc_longjmp and __libc_siglongjmp strong aliases.
433         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
434         Also define to __no__readdir64_decl around readdir.c inclusion.
435         (__readdir64): Add strong alias.
436         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
437         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
438         Set strong and weak names properly.
440 1998-09-16 11:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
442         * manual/Makefile (AWK): Default to gawk if standalone.
444 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
446         * Makefile (distribute): Undo last change.
447         * Make-dist (+tsrc) [not subdir]: Also include indirection headers
448         for sysdep headers.
449         (+subdir-headers): Removed, unused.
451 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
453         * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
454         $(do-install).
456 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
458         * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
459         absolute name in $(config-sysdirs), can never happen.
460         ($(+sysdir_pfx)sysd-rules): Likewise.
461         * Makeconfig (full-config-sysdirs): Likewise.
462         (all-Subdirs-files): Prepend $(..).
464         * configure.in: Don't check for absolute name in $add_ons_pfx, can
465         not happen.  Let --enable-add-ons=yes work if no add-ons actually
466         exist.
468 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
470         * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
471         continuations in command.
473 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
475         * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
477 1998-09-16 00:47  Tim Waugh  <tim@cyberelk.demon.co.uk>
479         * posix/wordexp-test.c: If expansion or substitution occurs
480         anywhere in a word, the entire word is subject to field-splitting.
482         * posix/wordexp.c (parse_glob): Look for end of word instead of
483         end of field when deciding what to glob.
484         (field_split_word): New function, now the only place where
485         field-splitting is performed.
486         (parse_dollars): New parameter - tell the caller if
487         field-splitting should be performed on this word.
489         * posix/wordexp-test.c (testit): Only call wordfree if wordexp
490         succeeded (or failed with WRDE_NOSPACE).
492 1998-09-15 19:53 1998  Tim Waugh  <tim@cyberelk.demon.co.uk>
494         * posix/wordexp.c (wordexp): Don't convert IFS characters to
495         blanks.
497         * posix/wordexp-test.c: Words not the result of expansion or
498         substitution should remain unchanged.
500 1998-09-15  Ulrich Drepper  <drepper@cygnus.com>
502         * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
503         (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
505 1998-09-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
507         * stdio-common/Makefile: Include Makeconfig so that
508         $(inst_includedir) is defined.
510 1998-09-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
512         * io/pwd.c: Include <mcheck.h>.
514 1998-09-15 08:00  Ulrich Drepper  <drepper@cygnus.com>
516         * nscd/pwdcache.c (save_pwd): Correct copying.
517         * nscd/grpcache.c (save_grp): Likewise.
519 1998-09-14 23:36  Ulrich Drepper  <drepper@cygnus.com>
521         * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
522         (free_pwd): Adjust for this change.
523         * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
524         (free_grp): Adjust for this change.
526 1998-09-14  Ulrich Drepper  <drepper@cygnus.com>
528         * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
530 1998-09-14 15:29  Ulrich Drepper  <drepper@cygnus.com>
532         * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
533         (install-others): Add bits/stdio_lim.h.
534         Add rule to install bits/stdio_lim.h.
536         * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
538         * Makefile (distribute): Add include/sys/mman.h.
540         * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
541         * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
542         * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
544         * grp/initgroups.c: Include stdlib.h.
545         Patch by Zack Weinberg.
547 1998-09-14 22:46  Tim Waugh  <tim@cyberelk.demon.co.uk>
549         * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
550         for field-splitting :abc: is correct, and that two fields should
551         result. Revert tests to reflect this.
553         * posix/wordexp.c (w_emptyword): Remove function.
554         (exec_comm): Don't use w_emptyword.
555         (parse_param): Likewise.
557 1998-09-14 15:00  Ulrich Drepper  <drepper@cygnus.com>
559         * sysdeps/arm/fpu/Dist: Moved to...
560         * sysdeps/arm/Dist: ...here.
561         * sysdeps/posix/Dist: Removed.
562         * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
563         * sysdeps/unix/sysv/linux/i386/Dist: ...here.
565 1998-08-26  Geoff Keating  <geoffk@ozemail.com.au>
567         * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
569 1998-09-14 11:26  Ulrich Drepper  <drepper@cygnus.com>
571         * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
573 1998-09-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
575         * libc-work/nis/nss_nisplus/nisplus-service.c
576         (_nss_nisplus_parse_servent): Convert port in network byte order.
578 1998-09-14 07:53 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
580         * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
581         to provide only malloc and calloc.
582         * include/stdlib.h: Support the above.
583         * string/bits/string2.h: Use __need_malloc_and_calloc when
584         including stdlib.h.
585         (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
587         * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
588         * iconvdata/iso646.c: Include <stdlib.h>.
590 1998-09-14 07:51 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
592         * sunrpc/rpc_cout.c: Add braces around ambiguous else.
593         * sysdeps/libm-ieee754/w_pow.c: Likewise.
594         * sysdeps/libm-ieee754/w_powf.c: Likewise.
595         * sysdeps/libm-ieee754/w_powl.c: Likewise.
597 1998-09-14 07:57 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
599         * stdio-common/stdio_lim.h.in: New file.  All parameters
600         are adjustable at build time.
601         * Rules: Add a rule to build bits/stdio_lim.h from
602         stdio-common/stdio_lim.h.in.  (It has to be in Rules so that
603         all subdirectories know how to make the file.  It can't be
604         in Makerules because then it gets built at top level and the
605         dependencies are wrong.)
607         * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
608         * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
609         stdio_lim.h.
610         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
611         * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
612         * sysdeps/posix/Makefile: Removed.
613         * sysdeps/posix/mk-stdiolim.c: Removed.
614         * sysdeps/generic/bits/stdio_lim.h: Removed.
616 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
618         * argp/argp-help.c: Fixup indentation.
619         * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
620         * resolv/nss_dns/dns-network.c: Likewise.
621         * resolv/res_send.c: Likewise.
622         * rt/aio_cancel.c: Likewise.
623         * rt/aio_misc.c: Likewise.
625 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
627         * Makefile (install-symbolic-link): Remove the link list file at last.
628         * Makerules (install-clean-symbolic-link-list): Removed.
630 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
632         * timezone/tst-timezone.c: Print time in UTC to get consistent
633         output.
635 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
637         * elf/rtld.c (_dl_rpath): Removed.
638         * elf/dl-support.c (_dl_path): Removed.
639         * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
640         (CFLAGS-dl-support.c): Removed.
642         * elf/dl-load.c (env_path_list): Renamed from fake_path_list.  All
643         uses changed.
644         (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
645         instead of appending it to the main map's rpath info.
646         (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
647         DT_RPATHs.  This makes it effective again.
648         (decompose_rpath): Remove second parameter, callers changed.
649         (fillin_rpath): Allocate enough space in curwd.
650         (expand_dynamic_string_token): Cope with get_origin returning -1.
652 1998-09-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
654         * libc-work/nis/nss_compat/compat-pwd.c: Add support for
655         passwd.adjunct.
657         * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
658         invalid password.
660 1998-09-13 18:06  Ulrich Drepper  <drepper@cygnus.com>
662         * locale/programs/locale.c: Update dates.
664 1998-09-13  Mark Kettenis  <kettenis@phys.uva.nl>
666         * sysdeps/generic/bits/types.h: Include <features.h>.  Make sure
667         size_t is defined.  Some reordering of defenitions to make
668         maintaining this file in parallel with the linux-specific file easier.
670 1998-09-13  Ulrich Drepper  <drepper@cygnus.com>
672         * io/pwd.c (main): Add call to mtrace.
674         * malloc/mtrace.pl: Quote @ in string.
676 1998-09-13 19:25  Tim Waugh  <tim@cyberelk.demon.co.uk>
678         * posix/wordexp.c (parse_arith): Fix memory leaks.
679         (exec_comm): Likewise.
680         (parse_param): Likewise.
681         (wordexp): Likewise.
682         (exec_comm): Reduce number of function return points.
683         (parse_param): Likewise.
684         (wordexp): Likewise.
686 1998-09-13 14:53  Tim Waugh  <tim@cyberelk.demon.co.uk>
688         * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
689         yield three fields, not two.  Test both parameter expansion and
690         command substitution for correct field-splitting behaviour.
692         * posix/wordexp.c (w_emptyword): New function.
693         (parse_param): Use it.
694         (exec_comm): Likewise, for consistency with the way parse_param
695         splits fields.
696         (parse_param): Fix some memory leaks.
698 1998-09-13 18:04  Geoff Keating  <geoffk@ozemail.com.au>
700         * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
701         Don't mark asm `volatile'.
702         (__elf_machine_runtime_setup): Clear the last partial block in the PLT
703         from the data cache too.  Assume it isn't in the instruction cache yet.
704         (__elf_machine_fixup_plt): Clear the modified address from the caches.
706 1998-09-12  Mark Kettenis  <kettenis@phys.uva.nl>
708         * sysdeps/generic/segfault.c (install_handler): Install signal
709         handler with SA_ONSTACK instead of setting the stack flags to
710         SS_ONSTACK.  Do not install handler for SIGSTKFLT if it is not
711         defined.
713 1998-09-12 14:24 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
715         * signal/signal.h: Fix multiple inclusion guard to cover the
716         entire file.
717         * wcsmbs/wchar.h: Remove prototype of internal function
718         __mbsrtowcs.
719         * sysdeps/i386/i486/bits/string.h (memchr): Don't do
720         arithmetic on `void *'.
722 1998-09-12 01:09  Tim Waugh  <tim@cyberelk.demon.co.uk>
724         * posix/wordexp-test.c: Fix wrong tests.  Add new tests.
726         * posix/wordexp.c (wordexp): Perform word-splitting instead of
727         field-splitting here.
728         (wordexp): If out of memory mid-word, free the word (but still
729         leave pwordexp alone for caller to see).
730         (parse_param): Allow for zero-length fields (smarter checking of
731         memory allocation failure).
732         (w_addword): Convert NULL words to "".
733         (wordexp): Convert left-over IFS characters to blanks (like bash).
735 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
737         * configure.in: Use test -f instead of test -e.
738         Patch by John Tobey <jtobey@banta-im.com>.
740         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
741         * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
742         * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
743         * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
744         * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
745         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
746         * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
747         Patches by John Tobey <jtobey@banta-im.com>.
749         * time/strftime.c (my_strftime): Delay use of *tp values until
750         latest possible point to allow partly initialized structures
751         (e.g., from strptime).
753         * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
754         and NATS-SEFI.
755         Define *-routines variables for new modules.
756         (distribute): Add .c files for new modules.
757         (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
758         and nats-sefi.h.
759         Add rules for header generation.
760         * iconvdata/gconv-modules: Add entries for new modules.
761         * iconvdata/iso_10367-box.c: New file.
762         * iconvdata/mac-is.c: New file.
763         * iconvdata/nats-dano.c: New file.
764         * iconvdata/nats-sefi.c: New file.
766 1998-04-30 18:20  H.J. Lu  <hjl@gnu.org>
768         * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
769         loader if PIC is not defined.
771 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
773         * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
774         ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
775         INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
776         and ISO_5428.
777         Define *-routines variables for new modules.
778         (distribute): Add .c files for new modules.
779         (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
780         ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
781         greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
782         iso_5427.h, iso_5427-ext.h, and iso_5428.h.
783         Add rules for header generation.
784         * iconvdata/gconv-modules: Add entries for new modules.
785         * iconvdata/csn_369103.c: New file.
786         * iconvdata/cwi.c: New file.
787         * iconvdata/dec-mcs.c: New file.
788         * iconvdata/ecma-cyrillic.c: New file.
789         * iconvdata/gost_19768-74.c: New file.
790         * iconvdata/greek-ccitt.c: New file.
791         * iconvdata/greek7-old.c: New file.
792         * iconvdata/greek7.c: New file.
793         * iconvdata/inis-8.c: New file.
794         * iconvdata/inis-cyrillic.c: New file.
795         * iconvdata/inis.c: New file.
796         * iconvdata/iso6937-2.c: New file.
797         * iconvdata/iso_2033.c: New file.
798         * iconvdata/iso_5427-ext.c: New file.
799         * iconvdata/iso_5427.c: New file.
800         * iconvdata/iso_5428.c: New file.
802         * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
803         entries.
804         Convert U02dd correctly.
806 1998-09-11 20:46  Richard Henderson  <rth@cygnus.com>
808         * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
809         _dl_main_searchlist not _dl_default_scope to _dl_init_next.
810         * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
811         * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
813 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
815         * resolv/res_init.c (res_init): Handle resolv.conf file with only
816         one nameserver correctly.  Patch by HJ Lu.
818         * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
819         and ANSI_X3.110.
820         Define *-routines variables for new modules.
821         (distribute): Add .c files for new modules.
822         (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
823         Add rules for hedaer generation.
824         * iconvdata/gconv-modules: Add entries for new modules.  Pretty print.
825         * iconvdata/ansi_x3.110.c: New file.
826         * iconvdata/asmo_449.c: New file.
827         * iconvdata/baltic.c: New file.
828         * iconvdata/iec_p27-1.c: New file.
830         * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
831         entries.
832         Convert U02dc correctly.
834         * math/atest-exp.c: Add parentheses to avoid gcc warnings.
835         * math/atest-exp2.c: Likewise.
836         * math/atest-sincos.c: Likewise.
838         * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
839         is defined.
841 1998-09-11 10:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
843         * string/strcoll.c: Optimize a few expressions.
844         * string/strxfrm.c: Likewise.
846 1998-09-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
848         * manual/locale.texi: Fix typos.
850 1998-09-10  Ulrich Drepper  <drepper@cygnus.com>
852         * stdlib/random_r.c (__setstate_r): Allow call with same state
853         array as currently used (PR libc/774).
855         * include/limits.h: Include gcc's header even if this file is
856         found more than once before it (PR libc/778)
858         * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
859         (sysdep_headers): Remove sys/debugreg.h.
860         * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
861         (sysdep_headers): Add sys/debugreg.h.
862         * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
863         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
865         * stdio-common/tmpnam.c: Move local static variable buf to
866         toplevel and rename to tmpnam_buffer to ease debugging.
867         Patch by Joe Keane <jgk@jgk.org>.
868         Optimize s == NULL case a bit.
870         * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
871         correction.
873 1998-09-10 12:51  Ulrich Drepper  <drepper@cygnus.com>
875         * resolv/res_init.c (res_init): Initialize _res.nscount and
876         _res.nsaddr.sin_port differently for the can when no loopback
877         is available to allow immediate timeout in non-networking environments.
878         Patch by Cristian Gafton <gafton@redhat.com>.
880 1998-09-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
882         * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
883         BAR and not EM DASH.
884         * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
885         * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
886         Fixes PR libc/717.
888 1998-09-10 11:53  Ulrich Drepper  <drepper@cygnus.com>
890         * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
891         for test.
892         * timezone/tst-timezone.c (tests): Fix typo in last patch.
894         * time/tzfile.c (__tzfile_read): Handle case when there are no
895         transitions.  Set __timezone based on computed offset.
896         * time/tzset.c (tzset_internal): Set __timezone before returning.
898         * time/tzset.c (tzset_internal): Optimize handling of local string
899         copy.
901 1998-09-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
903         * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
904         libc/776).
906 1998-09-09  Benjamin Kosnik  <bkoz@tintin.cygnus.com>
908         * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
909         (csqrt_test): Likewise.
910         * sysdeps/powerpc/bits/fenv.h: Add parens.
912 1998-09-09 18:48  Ulrich Drepper  <drepper@cygnus.com>
914         * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
915         _dl_main_searchlist not _dl_default_scope to _dl_init_next.
916         Patch by Benjamin Kosnik <bkoz@cygnus.com>.
918 1998-09-09  Mark Kettenis  <kettenis@phys.uva.nl>
920         * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
921         the special `-1' pointer.
923 1998-09-09 09:32  Ulrich Drepper  <drepper@cygnus.com>
925         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
926         inline.
928 1998-09-07  Paul Eggert  <eggert@twinsun.com>
930         * time/mktime.c (__EXTENSIONS__): Define if not defined.
931         (_REENTRANT): Remove.  It has undesirable consequences in
932         Solaris 2.6 (e.g. it turns off the putc macro).  Defining
933         __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
934         is what we want.
935         * time/strftime.c: Likewise.
937 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
939         * elf/dl-error.c: Fix spelling.
941 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
943         * stdlib/strfmon.c: Quiet -Wparentheses warnings.
944         * stdio-common/_itoa.c: Likewise.
945         * stdio-common/printf_fp.c: Likewise.
946         * stdio-common/vfscanf.c: Likewise.
947         * wcsmbs/wcstok.c: Likewise.
948         * sysdeps/generic/glob.c: Likewise.
949         * posix/getopt.c: Likewise.
950         * sysdeps/posix/getaddrinfo.c: Likewise.
951         * posix/wordexp.c: Likewise.
952         * io/ftw.c: Likewise.
953         * io/fts.c: Likewise.
954         * misc/getpass.c: Likewise.
955         * iconv/gconv_conf.c: Likewise.
956         * argp/argp-fmtstream.c: Likewise.
957         * argp/argp-help.c: Likewise.
958         * elf/dl-load.c: Likewise.
959         * locale/programs/stringtrans.c: Likewise.
960         * catgets/gencat.c: Likewise.
961         * posix/getconf.c: Likewise.
962         * iconv/gconv_conf.c: Likewise.
963         * iconv/iconv_prog.c: Likewise.
965         * string/strcoll.c: Optimize a few expressions.
966         * string/strxfrm.c: Likewise.
968 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
970         * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
971         level to avoid uninit variable warning.
973 1998-09-09 10:34  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
975         * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
976         instead of _dl_default_scope[2] as argument to _dl_init_next.
978         * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
979         C9x macro.
981 1998-09-08  Ulrich Drepper  <drepper@cygnus.com>
983         Fix compatibility problems introduced in last change.
984         * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
985         defined.
986         * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
987         -DWEAK_GMON_START to CFLAGS-initfini.s.
989         * elf/dl-object.c (_dl_new_object): Store map address in
990         _dl_loaded if _dl_loaded is NULL.
991         * elf/rtld.c (dl_main): Don't update _dl_loaded here.
993         * sysdeps/generic/setrlimit64.c: Remove stub warning.
995 1998-09-07  Ulrich Drepper  <drepper@cygnus.com>
997         * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
998         quiet.
999         * db2/btree/bt_cursor.c: Likewise.
1000         * db2/common/db_region.db_c: Likewise.
1001         * db2/common/db_salloc.db_c: Likewise.
1002         * db2/db/db.c: Likewise.
1003         * db2/db/db_rec.c: Likewise.
1004         * db2/hash/hash.c: Likewise.
1005         * db2/hash/hash_page.c: Likewise.
1006         * db2/hash/hash_rec.c: Likewise.
1007         * db2/log/log_findckp.c: Likewise.
1008         * db2/log/log_get.c: Likewise.
1009         * db2/log/log_put.c: Likewise.
1010         * db2/mp/mp_fget.c: Likewise.
1011         * db2/mp/mp_fput.c: Likewise.
1012         * db2/mp/mp_region.c: Likewise.
1013         * stdlib/strtol.c: Likewise.
1014         * string/strcoll.c: Likewise.
1015         * string/strxfrm.c: Likewise.
1016         * argp/argp-help.c: Likewise.
1017         * argp/argp-parse.c: Likewise.
1018         * resolv/res_debug.c: Likewise.
1020 1998-09-07 09:58  Ulrich Drepper  <drepper@cygnus.com>
1022         * math/tgmath.h (scalb): Only define for __USE_MISC or
1023         __USE_XOPEN_EXTENDED.  Patch by Zack Weinberg.
1025 1998-09-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1027         * libio/stdio.h: Fix comment.
1029         * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
1030         __USE_ISOC9X.
1032 1998-09-06 09:53 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1034         * Makeconfig (+gccwarn): Remove -Wno-parentheses.
1036         * elf/dl-open.c: Quiet -Wparentheses warnings.
1037         * iconvdata/johab.c: Likewise.
1038         * iconvdata/uhc.c: Likewise.
1039         * inet/inet_net.c: Likewise.
1040         * io/fts.c: Likewise.
1041         * locale/newlocale.c: Likewise.
1042         * misc/getttyent.c: Likewise.
1043         * misc/mntent_r.c: Likewise.
1044         * misc/ttyslot.c: Likewise.
1045         * nscd/nscd_conf.c: Likewise.
1046         * nss/nsswitch.c: Likewise.
1047         * resolv/gethnamaddr.c: Likewise.
1048         * resolv/nsap_addr.c: Likewise.
1049         * resolv/res_debug.c: Likewise.
1050         * stdio-common/_itoa.c: Likewise.
1051         * stdlib/strtod.c: Likewise.
1052         * string/strverscmp.c: Likewise.
1053         * sunrpc/svc.c: Likewise.
1054         * sysdeps/libm-ieee754/e_cosh.c: Likewise.
1055         * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
1056         * sysdeps/libm-ieee754/e_sinh.c: Likewise.
1057         * sysdeps/posix/getaddrinfo.c: Likewise.
1059 1998-09-06 15:13  Ulrich Drepper  <drepper@cygnus.com>
1061         * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
1062         for use of global scope.
1063         * elf/dlvsym.c (dlvsym_doit): Likewise.
1065 1998-09-02  Paul Eggert  <eggert@twinsun.com>
1067         * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
1068         copy the redundant bytes at the end of the format as-is; don't
1069         just copy their first byte and then rescan, as that might get
1070         us an encoding error.
1071         Account correctly for the length of multibyte sequences in the
1072         format.
1074 1998-09-03 20:14  Tim Waugh  <tim@cyberelk.demon.co.uk>
1076         * posix/wordexp-test.c: Add tests for different IFS values.
1077         Change unquoted-newline test so that newline is not in IFS.
1079         * posix/wordexp.c (wordexp): Correct null/unset mix-up when
1080         determining IFS characters.  Return WRDE_BADCHAR for unquoted
1081         special characters _except_ if they are separators.
1083 1998-09-06 10:56  Ulrich Drepper  <drepper@cygnus.com>
1085         * include/tgmath.h: New file.
1087         * libio/stdio.h: Correct reversed #ifs.
1088         Patch by Zack Weinberg.
1090         * manual/creature.texi: Better explain reason for feature select
1091         macros.
1092         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
1094 1998-09-06 10:25 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1096         * include/alloca.h: Add multiple-inclusion guard.
1097         * include/db.h: Likewise.
1098         * include/db_185.h: Likewise.
1099         * include/dlfcn.h: Likewise.
1100         * include/fcntl.h: Likewise.
1101         * include/grp.h: Likewise.
1102         * include/libintl.h: Likewise.
1103         * include/mntent.h: Likewise.
1104         * include/pwd.h: Likewise.
1105         * include/sched.h: Likewise.
1106         * include/search.h: Likewise.
1107         * include/setjmp.h: Likewise.
1108         * include/shadow.h: Likewise.
1109         * include/signal.h: Likewise.
1110         * include/stdio.h: Likewise.
1111         * include/stdlib.h: Likewise.
1112         * include/string.h: Likewise.
1113         * include/termios.h: Likewise.
1114         * include/time.h: Likewise.
1115         * include/ulimit.h: Likewise.
1116         * include/utmp.h: Likewise.
1117         * include/wchar.h: Likewise.
1118         * include/sys/file.h: Likewise.
1119         * include/sys/gmon.h: Likewise.
1120         * include/sys/ioctl.h: Likewise.
1121         * include/sys/mman.h: Likewise.
1122         * include/sys/resource.h: Likewise.
1123         * include/sys/select.h: Likewise.
1124         * include/sys/socket.h: Likewise.
1125         * include/sys/statfs.h: Likewise.
1126         * include/sys/time.h: Likewise.
1127         * include/sys/times.h: Likewise.
1128         * include/sys/wait.h: Likewise.
1130 1998-09-06 09:00  Ulrich Drepper  <drepper@cygnus.com>
1132         * version.h (VERSION): Bump to 2.0.96.
1134         Rewrite runtime linker to be truly thread-safe.  There is now no
1135         global variable specifying the scope.  We create all needed
1136         scopes at the time the link maps are created.
1137         * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
1138         * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
1139         l_symbolic_searchlist, l_scope, and l_local_scope elements in
1140         struct link_map.
1141         * elf/dl-close.c: Rewritten accordingly.
1142         * elf/dl-deps.c: Likewise.
1143         * elf/dl-error.c: Likewise.
1144         * elf/dl-init.c: Likewise.
1145         * elf/dl-load.c: Likewise.
1146         * elf/dl-lookup.c: Likewise.
1147         * elf/dl-object.c: Likewise.
1148         * elf/dl-open.c: Likewise.
1149         * elf/dl-reloc.c: Likewise.
1150         * elf/dl-runtime.c: Likewise.
1151         * elf/dl-support.c: Likewise.
1152         * elf/dl-symbol.c: Likewise.
1153         * elf/dl-version.c: Likewise.
1154         * elf/dlsym.c: Likewise.
1155         * elf/dlvsym.c: Likewise.
1156         * elf/ldsodefs.h: Likewise.
1157         * elf/rtld.c: Likewise.
1158         * iconv/gconv_dl.c: Likewise.
1159         * nss/nsswitch.c: Likewise.
1160         * sysdeps/i386/dl-machine.h: Likewise.
1161         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
1163         * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
1164         Define RTLD_DEFAULT.
1166 1998-09-05  Mark Kettenis  <kettenis@phys.uva.nl>
1168         * sysdeps/mach/hurd/i386/init-first.c (init1): Call
1169         __getopt_clean_environment with __environ instead of envp.
1171 1998-09-05  Roland McGrath  <roland@baalperazim.frob.com>
1173         * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
1175         * string/argz-extract.c (__argz_extract): Add de-consting cast for
1176         setting results.
1178         * string/argz.h (argz_next): Add de-consting cast for return.
1179         * string/argz-next.c (__argz_next): Likewise.
1181         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
1182         Don't add netinet/udp.h, netinet/ip_icmp.h here.
1183         * sysdeps/gnu/Makefile: Do it here instead.
1184         * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
1185         * sysdeps/gnu/Dist: ... to here.
1187         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
1188         sysdeps/unix/sysv/linux/netinet/tcp.h,
1189         sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
1191 1998-09-04  Roland McGrath  <roland@baalperazim.frob.com>
1193         * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
1194         * string/argz-next.c, string/argz-extract.c: Fix defns.
1196 1998-09-03  Roland McGrath  <roland@baalperazim.frob.com>
1198         * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
1200         * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
1201         __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
1202         * sysdeps/generic/sysd-stdio.c: Likewise.
1204 1998-09-02  Ulrich Drepper  <drepper@cygnus.com>
1206         * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
1207         (_dl_map_object_from_fd): Make NAME argument const.
1208         Remove last parameter in _dl_new_object call.
1209         (print_search_path): Correct construction of composed path name.
1210         (_dl_map_object): Prevent looking at RPATH of the main map twice.
1211         Remove last parameter in _dl_new_object call.
1212         * elf/dl-object.c: Remove last parameter.  Determine whether create
1213         origin entry based on empty realname.  Handle file in root directory
1214         correctly.
1215         * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
1216         * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
1217         Remove last parameter in _dl_new_object call.
1218         * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
1219         * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
1221 1998-09-01  Ulrich Drepper  <drepper@cygnus.com>
1223         * elf/dl-close.c (_dl_close): Add more comments and correct some.
1224         Free l_searchlist and l_dupsearchlist.
1226         * debug/catchsegv.sh: Add one more pair of quotes.
1228 1998-09-01 17:53  Ulrich Drepper  <drepper@cygnus.com>
1230         * elf/dl-load.c (add_name_to_object): Change return type to void and
1231         make NAME parameter const.  Allocate room for NAME in same memory
1232         block used for l_libname entry.
1233         (_dl_map_object_from_fd): Don't free NAME on failure.
1234         (map_segment): Pass SONAME to add_name_to_object, not a copy.
1235         (_dl_map_object): Don't create copy of NAME.  Pass NAME to
1236         _dl_map_object_from_fd.
1237         * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
1238         memory block used for l_libname entry.
1239         * elf/dl-close.c: Adjust free()ing for this change.
1241 1998-09-01 15:36  Ulrich Drepper  <drepper@cygnus.com>
1243         * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
1245         * malloc/mtrace.c: Add bug report address.  Update email address.
1246         Add more @XXX@ to print correct address size.
1248         * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
1249         really initialized.
1251         * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
1252         for munmap call instead of examining phdr again.
1253         Free all malloc()ed strings and arrays.
1255 1998-08-09  Geoff Keating  <geoffk@ozemail.com.au>
1257         * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
1258         dl-machine.h.
1259         * sysdeps/powerpc/dl-machine.c: New file.
1260         * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
1261         files.  Revise ELF_PREFERRED_ADDRESS to take account of
1262         the new mapping information (fixes bug involving huge bloated
1263         web browser).  Set ELF_MACHINE_PLTREL_OVERLAP.
1264         * sysdeps/powerpc/dl-start.S: New file.
1266         * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
1267         l_map_end.
1268         * elf/do-rel.h: Call elf_machine_rel only once (to save space).
1269         * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
1270         others.  Call elf_dynamic_do_##reloc only once (to save even more
1271         space).
1272         * elf/link.h: Add new members l_map_start and l_map_end to keep
1273         track of the memory map.
1274         * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
1275         the executable.
1277 1998-09-01 11:53  Ulrich Drepper  <drepper@cygnus.com>
1279         * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
1280         Reported by Andreas Jaeger.
1282         * posix/glob.h: Use __size_t instead of size_t in definitions and
1283         make sure this is defined.
1285 1998-09-01 10:34  Ulrich Drepper  <drepper@cygnus.com>
1287         * manual/locale.texi: Almost complete rewrite.  Document more functions
1288         and functionality.
1289         * manual/arith.texi: Correct reference.
1290         * manual/string.texi: Pretty printing.
1292         * manual/texinfo.tex: Update from last available version.
1294 1998-08-31 22:44  Ulrich Drepper  <drepper@cygnus.com>
1296         * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
1297         invalid password.
1298         (_nss_nis_getpwuid_r): Likewise.
1299         Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
1301         * inet/rcmd.c: Implement netgroup support.
1302         Patch by Dick Streefland <dick_streefland@tasking.com>.
1304 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
1306         * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
1307         object on the list is removed.  Don't use this code for PIC.
1308         Reported by HJ Lu [PR libc/770].
1310 1998-08-31 15:56  Ulrich Drepper  <drepper@cygnus.com>
1312         * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
1314         * include/stdio.h: Add __vsscanf.
1316         * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
1317         __USE_ISOC9X.
1318         Remove __vsscanf declaration.
1319         Always declare fgetpos and fsetpos.
1321         * math/math.h: Define isinf as macro.
1322         * math/bits/mathcalls.h: Change to declare __isinf all the time.
1323         Don't declare scalb for ISO C 9x.
1325         * math/tgmath.h: Define fma.  Rewrite the underlying macros.
1327         * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
1329         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
1330         sys/ucontext.h.
1332         * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
1333         macros.
1335 1998-08-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1337         * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
1338         Reported by jreising@frequentis.com [PR libc/767].
1340 1998-08-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1342         * io/lockf.c (lockf): Move initilisation of fl.l_whence and
1343         fl.l_start at beginning of function.
1344         Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
1346 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
1348         * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
1349         Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
1351         * nscd/nscd.init: Make it work in RedHat systems.
1352         Patch by Christian Gafton.
1354 1998-08-29  Philip Blundell  <philb@gnu.org>
1356         * catgets/Makefile: Don't try to run test programs when
1357         cross-compiling.
1359 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
1361         * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
1362         Reported by Zack Weinberg.
1364 1998-08-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1366         * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
1367         * elf/Makefile (distribute): Remove ldd.sh.in.
1369 1998-08-31 11:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1371         * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
1372         variable.
1374 1998-08-29  Ulrich Drepper  <drepper@cygnus.com>
1376         * sysdeps/i386/register-dump.h: Move to ...
1377         * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
1379 1998-08-28 22:49  Ulrich Drepper  <drepper@cygnus.com>
1381         * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
1382         with load address, not map address.
1383         * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
1384         parameter and use this value.
1385         * sysdeps/arm/dl-machine.h: Likewise.
1386         * sysdeps/i386/dl-machine.h: Likewise.
1387         * sysdeps/m68k/dl-machine.h: Likewise.
1388         * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
1389         parameter.
1390         * sysdeps/powerpc/dl-machine.h: Likewise
1391         * sysdeps/sparc/sparc32/dl-machine.h: Likewise
1392         * sysdeps/sparc/sparc64/dl-machine.h: Likewise
1394 1998-08-28 09:22  Ulrich Drepper  <drepper@cygnus.com>
1396         * elf/rtld.c (process_envvars): Fix copy&paste error.
1398         * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
1399         memalign hook.
1400         (realloc_hook_ini): Don't overwrite memalign hook.
1401         (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
1402         Reported by Philippe Troin <phil@fifi.org>.
1404         * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
1405         Patch by Philippe Troin <phil@fifi.org>.
1407 1998-08-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1409         * sysdeps/generic/segfault.c (install_handler): Protect the
1410         non-POSIX signals with #ifdef.
1411         (catch_segfault): Add missing mode parameter for open.
1412         * debug/catchsegv.sh: Avoid termination message from shell.  Allow
1413         other termination signals.
1415 1998-08-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1417         * debug/Makefile (distribute): Add register-dump.h.
1419 1998-08-28 10:41  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1421         * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
1423 1998-08-27 19:42  Ulrich Drepper  <drepper@cygnus.com>
1425         * elf/Makefile (distribute): Add dl-origin.h.
1426         * sysdeps/generic/dl-origin.h: New file.
1427         * sysdeps/unix/sysv/linux/dl-origin.h: New file.
1428         * elf/link.h (struct link_map): Add l_origin field.
1429         * elf/dl-load.c (expand_dynamic_string_token): New function.
1430         (decompose_path): Remove WHERE argument, take link map pointer instead.
1431         Call expand_dynamic_string_token instead of local_strdup to make copy
1432         of rpath.
1433         (_dl_init_paths): Call decompose_path with correct argument.
1434         (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
1435         not defined.
1436         Check EI_OSABI and EI_ABIVERSION fields in header.
1437         Call _dl_new_object with extra argument.
1438         (_dl_map_object): Call decompose_path with correct argument.
1439         Call expand_dynamic_string_token instead of local_strdup to also
1440         expand DST.
1441         Call _dl_new_object with extra argument.
1442         * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
1443         but the main one if new argument is nonzero.
1444         * elf/ldsodefs.h: Adjust for _dl_new_object change.
1445         * elf/dl-support.c: Define _dl_origin_path.
1446         * elf/rtld.c: Likewise.  Set _dl_origin_path based on LD_ORIGIN_PATH.
1447         (dl_main): Call _dl_new_object with extra argument.
1449         * elf/dl-close (_dl_close): Free l_name and l_origin.
1451         * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
1452         modifier in asm, not c.
1454         * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
1455         to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
1457 1998-08-26 17:48  Ulrich Drepper  <drepper@cygnus.com>
1459         * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
1460         variable so that map can be freed.
1461         Reported by Philippe Troin <phil@fifi.org>.
1463         * elf/dl-open.c (dl_open_worker): Correct test for extending global
1464         scope array.
1465         Patch by Philippe Troin <phil@fifi.org>.
1467 1998-08-26  Geoff Keating  <geoffk@ozemail.com.au>
1469         * sysdeps/powerpc/register-dump.h: Rewrite.  Much nicer this way.
1470         Don't call writev() with a 100-element vector.
1471         * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
1472         return address.
1474         * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
1475         In particular, set __libc_stack_end.
1476         * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
1477         undefined.  Fix copyright notice.
1479 1998-08-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1481         * math/Makefile (gmp-objs): New variable.
1482         ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
1483         Depend on it.
1484         (tests): Add atest-exp atest-sincos atest-exp2.
1485         (tests-static): Remove atest-exp atest-sincos atest-exp2.
1487 1998-08-25  Ulrich Drepper  <drepper@cygnus.com>
1489         * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
1490         to toplevel.
1491         (_dl_unload_cache): New function.
1492         * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
1493         * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
1494         * elf/rtld.c (dl_main): Unload map file before jumping to user code.
1496         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
1497         Correct comment for O_LARGEFILE.
1498         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
1499         Change O_LARGEFILE to correct value.
1501 1998-08-25 14:34  Ulrich Drepper  <drepper@cygnus.com>
1503         * libio/iogetline.c (_IO_getline_info): Don't read anything for
1504         N == 0.  Patch by HJ Lu.
1506 1998-08-25 11:43  Ulrich Drepper  <drepper@cygnus.com>
1508         * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
1510 1998-08-25  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
1512         * argp/argp.h: Use __inline__ not inline.
1514         * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
1515         an input register as being clobbered.
1516         * sysdeps/i386/memset.c (memset): Likewise.
1517         * sysdeps/i386/bzero.c (__bzero): Likewise.
1518         * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
1520 1998-08-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1522         * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
1523         Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
1525 1998-08-24 16:34  Ulrich Drepper  <drepper@cygnus.com>
1527         * debug/catchsegv.sh: Handle text preceding backtrace better.
1528         * sysdeps/generic/segfault.c: Allow register dump.  Allow handler
1529         to be installed for other signals than SIGSEGV.
1530         * sysdeps/generic/register-dump.h: New file.
1531         * sysdeps/i386/register-dump.h: New file.
1532         * sysdeps/powerpc/register-dump.h: New file.
1534         * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
1535         sigcontextinfo.h.
1536         * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
1538 1998-08-24  Geoff Keating  <geoffk@ozemail.com.au>
1540         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
1542 1998-08-09  Geoff Keating  <geoffk@ozemail.com.au>
1544         * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
1545         * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
1546         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
1547         getresuid, getresgid.
1549 1998-08-16  Geoff Keating  <geoffk@ozemail.com.au>
1551         * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs.  Set up stack
1552         pointer in userland.
1554 1998-08-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1556         * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
1557         and fix value.
1559 1998-08-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1561         * elf/ldd.bash.in: Add missing quotes around $file.  Make loop
1562         over arguments Bourne shell compatible.  Don't exit unsuccessfully
1563         if nonelf returns successfully.  Avoid duplicating most of the
1564         script.
1565         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
1566         around $file.
1568 1998-08-24 10:37  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1570         * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
1571         sys/reg.h.
1572         * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
1573         * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
1575 1998-08-23  Ulrich Drepper  <drepper@cygnus.com>
1577         * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
1578         __modify_ldt and modify_ldt.
1579         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
1581         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1582         Use orl $-1 instead of movl $-1 to save two bytes.
1583         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
1584         Likewise.
1586 1998-08-17  H.J. Lu  <hjl@gnu.org>
1588         * libio/Versions (_IO_do_write, _IO_file_attach,
1589         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1590         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1591         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1592         _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
1594         * libio/fileops.c (_IO_do_write, _IO_file_attach,
1595         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1596         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1597         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1598         _IO_file_write, _IO_file_xsputn): Change the prefix to
1599         "_IO_new_". Added to GLIBC_2.1.
1601         * libio/libioP.h (_IO_do_write, _IO_file_attach,
1602         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1603         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1604         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1605         _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
1606         "_IO_new_".
1608         * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
1609         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1610         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1611         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1612         _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
1614 1998-08-23  Richard Henderson  <rth@cygnus.com>
1616         * Makeconfig (LDFLAGS): Remove.
1618         * csu/initfini.c: Return to .text before __gmon_start__.
1620         * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
1621         (STO_MIPS_*): Rename from STO_*.
1622         (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
1623         (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
1625         * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
1626         (main): e3s is negative on zero.
1627         * math/atest-exp2.c: Likewise.
1628         * math/atest-sincos.c: Likewise.
1630 1998-08-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1632         * Makerules (install): Add comment about absolute paths.
1634 1998-08-23  Ulrich Drepper  <drepper@cygnus.com>
1636         * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
1637         array to NUL to handle maxlen==1 case correctly.
1638         Patch by HJ Lu.
1640 1998-08-23  Richard Henderson  <rth@cygnus.com>
1642         * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
1643         * sysdeps/alpha/elf/crtend.S: Likewise.
1644         * sysdeps/alpha/elf/start.S: Likewise.
1646         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
1647         non-standard pv usage.
1649         * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
1650         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
1651         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
1652         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
1653         * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
1654         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
1655         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
1656         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
1657         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
1658         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
1659         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
1661         * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
1662         a finite non-denormal, deferring to the full IEEE version otherwise.
1664         * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
1665         Early out for -0.  Optimize for !_IEEE_FP_INEXACT.
1666         * sysdeps/alpha/fpu/s_floor.c: New.
1667         * sysdeps/alpha/fpu/s_floorf.c: New.
1668         * sysdeps/alpha/fpu/s_ceil.c: New.
1669         * sysdeps/alpha/fpu/s_ceilf.c: New.
1671 1998-08-22  Philip Blundell  <philb@gnu.org>
1673         * sysdeps/arm/bits/string.h: New file.
1675 1998-08-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1677         * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
1678         document it.
1680         * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
1681         test for recent Linux 2.1.100+ headers.
1683 1998-08-21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1685         * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
1687 1998-08-21 17:21  Ulrich Drepper  <drepper@cygnus.com>
1689         * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
1691 1998-08-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1693         * Makefile (elf/ldso_install): Put back.  The problem still persists.
1694         * elf/Makefile (ldso_install): Likewise.
1696 1998-08-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1698         * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
1699         create weak alias.
1700         * include/db.h: Declare __nss_db_open.
1701         * db2/Versions: Export it.
1703         * db2/makedb.c: Convert to use db2 API.
1704         * nss/nss_db/db-XXX.c: Likewise.
1705         * nss/nss_db/db-netgrp.c: Likewise.
1706         * nss/nss_db/db-alias.c: Likewise.
1707         (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
1709 1998-08-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1711         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
1712         sys_setresuid, already built automatically (or not).
1713         * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
1714         instead of __syscall_setresuid and add back setresuid.
1715         * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
1716         __syscall_setresuid.
1718 1998-08-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1720         * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
1722 1998-08-20  Ulrich Drepper  <drepper@cygnus.com>
1724         * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
1725         BASH-ONLY marked region.
1726         * elf/ldd.bash.in: Remove special BASH-ONLY markers.
1728 1998-02-20 17:54  H.J. Lu  <hjl@gnu.org>
1730         * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
1731         _IO_SYSSEEK fails.
1733         * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
1735         * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
1736         element.
1738 1998-08-21  Roland McGrath  <roland@baalperazim.frob.com>
1740         * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
1741         with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
1742         * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
1743         (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
1744         (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
1745         those magic comments, and to use /bin/sh for @BASH@.
1746         (bash-ldd-rewrite): Use $(common-ldd-rewrite).
1747         * elf/ldd.sh.in: File removed.
1749 1998-08-20 20:07  Ulrich Drepper  <drepper@cygnus.com>
1751         * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
1752         cast them to unsigned long int.
1753         * pwd/putpwent.c (putpwent): Likewise.
1754         Patch by John Tobey <jtobey@banta-im.com>.
1756 1998-08-20 17:14  H.J. Lu  <hjl@gnu.org>
1758         * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
1759         _IO_pos_BAD.
1761 1998-02-20 17:54  H.J. Lu  <hjl@gnu.org>
1763         * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
1764         _IO_SYSSEEK fails.
1766 1998-08-20 19:14  Ulrich Drepper  <drepper@cygnus.com>
1768         * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
1769         Add umount and umount2.
1770         * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
1771         * sysdeps/unix/sysv/linux/umount.S: New file.
1772         * sysdeps/unix/sysv/linux/umount2.S: New file.
1773         * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
1774         Define MNT_FORCE.
1776         * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
1777         Add sys/sendfile.h.
1778         * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
1779         * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
1781         * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
1783         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
1784         sendfile.
1786 1998-08-20 16:01  Ulrich Drepper  <drepper@cygnus.com>
1788         * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
1789         * elf/ldd.bash.in: Likewise.
1791         * elf/sln.c: Avoid warning for no main prototype.
1793         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
1794         O_WRITE.
1795         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1796         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1798         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
1799         F_GETSIG.
1800         * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
1801         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1802         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1804 1998-08-20  Philip Blundell  <pb@nexus.co.uk>
1806         * sysdeps/arm/fpu/ieee754.h: Move to...
1807         * sysdeps/arm/ieee754.h: ... here.
1809         * sysdeps/arm/__longjmp.S: Put return value in correct register.
1810         Don't set the condition flags unnecessarily.
1811         * sysdeps/arm/fpu/__longjmp.S: Likewise.  Restore floating point
1812         registers correctly.
1814         * sysdeps/arm/dl-machine.h: Fix problems with profiling code
1815         (patch from Scott Bambrough).
1817         * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
1819         * csu/initfini.c (_init): Don't check whether __gmon_start__ is
1820         NULL, just call it unconditionally.
1821         (__gmon_start__): Provide stub version as a weak symbol.
1823 1998-07-30  Philip Blundell  <philb@gnu.org>
1825         * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
1826         by Scott Bambrough)
1828         * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
1829         like `@' in .type directives.
1831         * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
1832         * sysdeps/arm/bsd-_setjmp.S: Likewise.
1834         * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
1836 1998-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1838         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
1839         (F_GETOWN): Likewise.
1841         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
1842         Linux 2.1.117).
1844 1998-08-20  Ulrich Drepper  <drepper@cygnus.com>
1846         * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
1847         already defined.
1849 1998-08-18  Ulrich Drepper  <drepper@cygnus.com>
1851         * include/features.h: Define __USE_EXTERN_INLINES for recent
1852         enough gcc.
1853         * argp/argp.h: Define extern inline functions only if
1854         __USE_EXTERN_INLINES is defined.
1855         * libio/stdio.h: Likewise.
1856         * math/math.h: Likewise.
1857         * stdlib/stdlib.h: Likewise.
1858         * string/argz.h: Likewise.
1859         * sysdeps/generic/bits/sigset.h: Likewise.
1860         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
1861         * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
1862         * sysdeps/wordsize-32/inttypes.h: Likewise.
1863         * sysdeps/wordsize-64/inttypes.h: Likewise.
1864         * wcsmbs/wchar.h: Likewise.
1866         * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
1867         to allow compilation without optimization.
1869 1998-08-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1871         * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
1872         more entries.
1873         * nis/nss_compat/compat-initgroups.c: Likewise.
1874         * nis/nss_compat/compat-pwd.c: Likewise.
1875         * nis/nss_compat/compat-spwd.c: Likewise.
1876         * nis/nss_nis/nis-alias.c: Likewise.
1877         * nis/nss_nis/nis-ethers.c: Likewise.
1878         * nis/nss_nis/nis-grp.c: Likewise.
1879         * nis/nss_nis/nis-hosts.c: Likewise.
1880         * nis/nss_nis/nis-initgroups.c: Likewise.
1881         * nis/nss_nis/nis-network.c: Likewise.
1882         * nis/nss_nis/nis-proto.c: Likewise.
1883         * nis/nss_nis/nis-pwd.c: Likewise.
1884         * nis/nss_nis/nis-rpc.c: Likewise.
1885         * nis/nss_nis/nis-service.c: Likewise.
1886         * nis/nss_nis/nis-spwd.c: Likewise.
1888         * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
1890         * nis/ypclnt.c: Try binding dir only first time, could be to old.
1892         * nis/yp_xdr.c: Remove 1024 byte limit.
1893         * nis/ypupdate_xdr.c: Likewise.
1895         * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
1896         wrong data.
1898 1998-08-18  Roland McGrath  <roland@baalperazim.frob.com>
1900         * Rules (binaries-static, binaries-shared static pattern rules):
1901         Depend on lib%, not just libc%, from $(link-libc{,-static}).
1903         * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
1904         this here, overriding Makeconfig generic value so we link against
1905         the RPC libs.
1907 1998-08-17  Ulrich Drepper  <drepper@cygnus.com>
1909         * posix/tstgetopt.c (options): Add NULL entry at end
1910         Patch by Adrian Miranda <ade@psg.com>.
1912 1998-08-15 18:21  Ulrich Drepper  <drepper@cygnus.com>
1914         * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION.  Move EI_PAD
1915         to 9.
1917 1998-08-15 14:11  Ulrich Drepper  <drepper@cygnus.com>
1919         * elf/elf.h: Add PPC Diab relocations.
1921         * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
1923 1998-08-14 10:08  Ulrich Drepper  <drepper@cygnus.com>
1925         * manual/texinfo.tex: Update.
1927 1998-08-07  Geoff Keating  <geoffk@ozemail.com.au>
1929         * sysdeps/powerpc/backtrace.c: New file.
1931 1998-08-14  Philip Blundell  <pb@nexus.co.uk>
1933         * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
1934         sigjmp_save.
1935         * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
1937 1998-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1939         * Makefile (install-symbolic-link): Fix spelling.
1941 1998-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1943         * elf/elf.h (SHT_HIOS): Fix value.
1945 1998-08-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1947         * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
1948         part of the expansion, this is undefined by the standard.
1950 1998-08-13 19:41  Ulrich Drepper  <drepper@cygnus.com>
1952         * posix/getconf.c: Add support for systems with incomplete confname.h.
1954         * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
1956         * sysdeps/posix/wait3.c: Make it work.
1958 1998-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1960         * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
1961         (elf/ldso_install): Remove.
1963         * elf/Makefile (distribute): Add sln.c.
1964         (others): Add sln.
1965         (others-static): Add sln.
1966         (install-rootsbin): Add sln.
1967         (others-static): Add sln.
1968         (ldso_install): Remove.
1970 1998-07-24 10:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1972         * Makerules (install-clean-symbolic-link-list): Make phony.
1973         * Makefile (install-symbolic-link): Make phony.  Depend on
1974         subdir_install for parallel makes.
1977 1998-07-22  Ulrich Drepper  <drepper@cygnus.com>
1979         * elf/Makefile (distribute): Add sln.c
1981 1998-07-21 07:10  H.J. Lu  <hjl@gnu.org>
1983         * elf/sln.c: New file.
1985         * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
1986         (install-clean-symbolic-link-list): New target.
1987         (install): Depend on install-clean-symbolic-link-list.
1988         (make-shlib-link): Changed for $(symbolic-link-list).
1990         * Makefile (install-symbolic-link): New target.
1991         (install): Depend on install-symbolic-link.
1993 1998-08-12 17:03  Ulrich Drepper  <drepper@cygnus.com>
1995         * include/unistd.h: Protect against multiple inclusion.
1997         * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
1998         is defined, not is glob is defined.
1999         * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
2001 1998-08-01 17:18  H.J. Lu  <hjl@gnu.org>
2003         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
2004         xdr_string for ut_line, ut_name and ut_host.
2006 1998-08-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2008         * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
2009         /var/mail in accordance with FHS 2.0.
2010         Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
2012 1998-08-12  Richard Henderson  <rth@cygnus.com>
2014         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
2015         Update aliases for cancelation.
2017         * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
2018         playing with symbol versions.
2020 1998-08-12  Roland McGrath  <roland@baalperazim.frob.com>
2022         * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
2023         multiple inclusion protection.
2024         (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
2025         _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
2026         define all these to 1.
2027         (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
2029 1998-08-12  Roland McGrath  <roland@baalperazim.frob.com>
2031         * sysdeps/mach/usleep.c: Include <unistd.h>.
2032         (usleep): Return void.
2034 1998-08-11  Roland McGrath  <roland@baalperazim.frob.com>
2036         * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
2037         decl to inhibit warning in if_freenameindex defn.
2039         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
2041         * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
2043         * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
2044         * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
2045         * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
2046         * sysdeps/mach/usleep.c: Likewise.
2048         * sysdeps/mach/hurd/bind.c (bind): Add a const.
2050         * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
2051         * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
2052         * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
2053         * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
2054         * sysdeps/mach/usleep.c (usleep): Likewise.
2055         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
2056         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
2057         * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
2058         * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
2060 1998-08-11  Roland McGrath  <roland@baalperazim.frob.com>
2062         * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
2063         (glob64): Fix typo.
2065         * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
2066         %p arg to fprintf, since `void *' is the right type already.
2068 1998-07-25 19:47  Jose M. Moya  <josem@gnu.org>
2070         * sysdeps/mach/hurd/getcwd.c
2071         (_hurd_canonicalize_directory_name_internal): Do not loop forever
2072         for unknown root directories.
2073         (__getcwd): Return NULL when the current root directory could not
2074         be reached.
2076 1998-08-11 18:39  Ulrich Drepper  <drepper@cygnus.com>
2078         * string/strsignal.c (strsignal): Count real-time signals from zero.
2081 See ChangeLog.8 for earlier changes.