1 1998-09-29 Ulrich Drepper <drepper@cygnus.com>
3 * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.
5 * nis/ypclnt.c: Remove not needed close calls.
7 1998-09-28 23:55 Ulrich Drepper <drepper@cygnus.com>
9 * nis/ypclnt.c (__yp_bind): Pretty print. Optimize readv result
10 check a bit. Also close socket of domain client. Close socket
11 in IPPORT_RESERVED error case.
13 1998-09-28 Ulrich Drepper <drepper@cygnus.com>
15 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
16 CMSG_ALIGN (fixes a bug) and correct test for availability of
18 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
20 (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
21 availability of another entry.
24 * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
27 1998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
29 * posix/annexc.c (xsystem): New function. Use it instead of
32 1998-09-28 Ulrich Drepper <drepper@cygnus.com>
34 * stdlib/longlong.h: Remove #endif for #if removed in last change.
36 1998-09-25 Ulrich Drepper <drepper@cygnus.com>
38 * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
39 Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
40 allow using `ut' parameter.
41 [!emacs]: Define ut_argument, ut_argument_spec, and
42 ut_argument_spec_iso as empty. Define ut to 0. Add ut_argument and
43 argument_spec to prototypes and definitions.
44 (my_strftime): Don't call tzset of ut != 0.
45 Compute diff as 0 is ut != 0;
46 [emacs]: Define new emacs_strftime function.
47 Based on a patch by Paul Eggert.
49 1998-09-24 Paul Eggert <eggert@twinsun.com>
51 * time/strftime.c (my_strftime): When asking for the length of the
52 subformatted buffer, do not limit the length to look for;
53 otherwise, we have no reliable way to distinguish between the
54 empty buffer and an error.
56 1998-09-25 Ulrich Drepper <drepper@cygnus.com>
58 * math/Makefile (gmp-objs): Add mp_clz_tab.
60 1998-09-25 David S. Miller <davem@pierdol.cobaltmicro.com>
62 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
64 * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
65 cpus lacking hardware multiply and divide.
67 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
69 * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
72 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
74 * db/btree/bt_delete.c: Fix -Wparentheses warning.
76 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
78 * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
81 1998-09-24 Ulrich Drepper <drepper@cygnus.com>
83 * debug/catchsegv.sh: Also produce output if clone process died.
85 1998-09-24 Paul Eggert <eggert@twinsun.com>
87 * time/strftime.c (f_wkday): Remove duplicate definition.
88 (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
89 !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
90 1998-09-11 fix to this case.
91 (wkday_len, month_len): Remove these macros; they're no longer needed.
93 1998-09-24 Paul Eggert <eggert@twinsun.com>
95 * time/strftime.c (my_strftime): Don't store past the end of a
98 1998-09-24 Paul Eggert <eggert@twinsun.com>
100 * time/strftime.c (underlying_strftime):
101 Set the buffer to a nonzero value before calling
102 strftime, and check to see whether strftime has set the buffer to zero.
103 This lets us distinguish between an empty buffer and an error.
105 1998-09-24 Paul Eggert <eggert@shade.twinsun.com>
107 * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
108 This fix is propagated from tzcode1998g.tar.gz.
110 1998-09-24 Mark Kettenis <kettenis@phys.uva.nl>
112 * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
113 _sys_siglist. [!HAVE_GNU_LD]: Do not define _sys_siglist as
114 sys_siglist. This is handled correctly by the weak_alias macro.
116 1998-09-24 Ulrich Drepper <drepper@cygnus.com>
118 * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
119 of mempcpy. Reported by Andreas Jaeger.
121 * misc/regexp.h (compile): Use alloca instead of __alloca. It won't
122 pollute the namespace since the compiler will resolve it inline.
123 Reported by Florian La Roche <florian@suse.de>.
125 1998-09-24 10:29 Ulrich Drepper <drepper@cygnus.com>
127 * timezone/private.h: Update from tzcode1998g.
129 * timezone/africa: Update from tzdata1998h.
130 * timezone/asia: Likewise.
131 * timezone/australasia: Likewise.
132 * timezone/europe: Likewise.
133 * timezone/northamerica: Likewise.
134 * timezone/southamerica: Likewise.
135 * timezone/zone.tab: Likewise.
137 1998-09-23 17:28 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
139 * misc/sys/mman.h: New file.
141 * sysdeps/generic/bits/mman.h: New file.
142 * sysdeps/unix/bsd/osf/bits/mman.h: New file.
143 * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
144 * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
145 * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
147 * sysdeps/generic/sys/mman.h: Removed.
148 * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
149 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
150 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
151 * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
152 * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
154 * include/sys/mman.h: Look directly for misc/sys/mman.h.
155 * misc/Makefile (headers): Add bits/mman.h.
156 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
159 * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
160 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
161 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
162 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
163 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
164 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
165 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
166 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
168 1998-09-23 16:27 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
170 * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
171 * sysdeps/mach/alpha/thread_state.h: Likewise.
172 * sysdeps/mach/i386/sysdep.h: Likewise.
173 * sysdeps/mach/i386/thread_state.h: Likewise.
174 * sysdeps/mach/mips/sysdep.h: Likewise.
175 * sysdeps/mach/mips/thread_state.h: Likewise.
176 * sysdeps/posix/profil.c: Likewise.
177 * sysdeps/i386/i586/memcopy.h: Likewise.
178 * sysdeps/mach/pagecopy.h: Likewise.
180 1998-09-23 15:25 Ulrich Drepper <drepper@cygnus.com>
182 * libio/stdio.h: Define __need_getopt and include getopt.h to define
184 * posix/unistd.h: Likewise.
185 * stdio/stdio.h: Likewise.
186 * posix/getopt.h: Remove _GNU_SOURCE use. If __need_getopt is defined
187 define only getopt and the variables.
189 1998-09-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
191 * scripts/test-installation.pl (installation_problem): Don't link
192 the test program against libdb1.
194 1998-09-23 13:52 Ulrich Drepper <drepper@cygnus.com>
196 * Makeconfig (all-subdirs): Add db.
197 * Versions.def: Add definition for libdb1.
198 * shlib-versions: Add definitions for libdb1.
199 * db/Makefile (extra-libs): Replace by libdb1.
200 (libdb-routines): Rename to libdb1-routines.
201 (headers): Rename to db1-headers.
202 (distribute): Add $(db1-headers).
203 (install-others): Define to install symlink libdb.so.NN and the
205 (CPPFLAGS): Add -DUSE_LIBDB1
206 Remove rules to build makedb.
207 * db/Versions: Rename libdb to libdb1.
208 * include/db.h: If USE_LIBDB1 is defined include db/db.h.
209 * db/makedb.c: Removed.
211 * scripts/versions.awk: Recognize digits in library names.
213 * db/btree/bt_open.c: Fix compiler warnings.
214 * db/btree/bt_put.c: Likewise.
215 * db/btree/bt_split.c: Likewise.
216 * db/hash/hash.c: Likewise.
217 * db/hash/hash_bigkey.c: Likewise.
218 * db/recno/rec_close.c: Likewise.
220 * Makefile: Add localedata/% goal.
222 1998-09-22 19:58 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
224 * posix/execvp.c: Don't give up searching the PATH if execve
227 1998-09-22 12:53 Ulrich Drepper <drepper@cygnus.com>
229 * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
230 if _dl_fpu_control_set is set.
231 * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
232 * elf/rtld.c: Don't define _dl_fpu_control_set.
233 * elf/Versions: Remove _dl_fpu_control_set.
235 1998-09-22 11:51 Ulrich Drepper <drepper@cygnus.com>
237 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
238 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
239 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
240 Correct values of other SA_* macros according to kernel headers.
242 1998-09-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
244 * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
246 * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
249 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
251 * elf/ldsodefs.h: Fix typo in comment.
253 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
255 * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
256 char when comparing buffer contents with putback character.
258 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
260 * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
262 * elf/Versions: Undo last change. Export _dl_fpu_control and
264 * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
265 variables. Include <fpu_control.h>.
266 * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
267 _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
268 to indicate that is was seen.
269 * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
270 only if _dl_fpu_control was set and is equal to desired value.
271 * math/Makefile (aux): Undo last change.
272 * math/Versions: Export __fpu_control with version GLIBC_2.0.
274 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
276 * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
279 1998-09-21 10:00 Ulrich Drepper <drepper@cygnus.com>
281 * string/bits/string2.h: Add mempcpy optimization.
282 * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
283 * intl/localealias.c: Define mempcpy only if not already defined.
285 * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
288 1998-09-20 10:48 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
290 * csu/abi-note.S: Emit the note directly instead of defining
291 a preprocessor macro that's only used once. Don't include sysdep.h.
292 * abi-tags: Generalize Solaris entry.
294 1998-09-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
296 * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
297 Change to array to avoid runtime relocation.
298 * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
300 1998-09-21 12:22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
302 * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
303 * math/Makefile ($(objpfx)libieee.a): Likewise.
305 1998-09-21 Ulrich Drepper <drepper@cygnus.com>
307 * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
308 Patch by John Tobey <jtobey@banta-im.com>.
310 1998-09-20 Ulrich Drepper <drepper@cygnus.com>
312 * login/Makefile (distribute): Remove pty-internal.h, add
315 * stdlib/tst-strtol.c: Add more checks.
316 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
318 1998-09-20 09:37 Ulrich Drepper <drepper@cygnus.com>
320 * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
321 * elf/elf.h: Add AT_FPUCW.
322 * elf/Makefile (dl-routines): Add fpu_control.
323 (elide-routines.os): Add fpu_control.
324 (rtld-routines): Add fpu_control.
325 * math/Makefile (aux): Remove fpu_control.
326 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
327 (_dl_show_auxv): Likewise.
328 * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
329 if different from OS default.
331 * stdio-common/tstscanf.c: Add test case for (nil).
333 1998-09-18 17:41 Ulrich Drepper <drepper@cygnus.com>
335 * libio/fileops.c (_IO_new_file_underflow): Before allocating
336 buffer make sure the pushback buffer is destroyed.
337 (_IO_new_file_seekoff): Likewise.
338 If mode==0 quit early with the result.
339 Clear OEF flag after successful fseek.
340 * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
341 * libio/ftello.c (ftello): Add offset from original buffer if
342 stream has pushed back characters.
343 * libio/ftello64.c (ftello64): Likewise.
344 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
345 * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
346 * libio/ioftell.c (_IO_ftell): Likewise.
347 * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
349 (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
350 (_IO_default_pbackfail): Only stored push back character in original
351 buffer if it is the same as the one in the file at this position.
352 * libio/iofclose.c: Free backup buffer if one is available.
353 * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
356 * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
358 * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
360 * stdio-common/vfscanf.c: Fix reading (nil) for %p.
362 1998-09-18 Mark Kettenis <kettenis@phys.uva.nl>
364 * login/programs/pt_chown.c (more_help): Correct message that
365 describes the purpose of the program.
367 * login/openpty.c: Do not include pty-private.h.
368 (pts_name): New function. Return name of slave pseudo terminal in
369 an allocated buffer if necessary.
370 (openpty): Use pts_name to get name of the slave end of the pseudo
373 * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
374 pts_name before return.
376 1998-09-18 11:15 Ulrich Drepper <drepper@cygnus.com>
378 * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
380 1998-09-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
382 * login/openpty.c: Include pty-private.h instead of
385 1998-09-09 Philip Blundell <pb@nexus.co.uk>
387 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
389 1998-09-07 Philip Blundell <pb@nexus.co.uk>
391 * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
392 recent ld.so changes.
393 (elf_machine_runtime_setup): Correct behaviour when profiling.
395 1998-09-17 19:34 Ulrich Drepper <drepper@cygnus.com>
397 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
398 Patch by John Tobey <jtobey@banta-im.com>.
400 1998-09-17 Mark Kettenis <kettenis@phys.uva.nl>
402 * login/pty-internal.h: Removed. Moved constants related to the
403 `grantpt' helper program protocol to ...
404 * login/pty-private.h: ... here. New file.
405 * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
406 to make the function work with kernels >= 2.1.115.
407 * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
408 version if using the cloning device fails.
409 * sysdeps/unix/sysv/linux/grantpt.c: New file.
410 * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
411 * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
412 use by Linux specific code.
413 * sysdeps/unix/bsd/unlockpt.c: General cleanup.
414 * sysdeps/unix/grantpt.c: Largely rewritten. (pts_name): New
415 function. (grantpt): Use pts_name, check group and permission
416 mode in addition to owner. Try to set the owner, group and
417 permission mode first without invoking the helper program.
418 * login/programs/pt_chown.c: Largely rewritten. Add argp and
419 internationalization support. Use symbolic constants instead of
420 hardwired numbers for permission mode.
421 * sysdeps/unix/bsd/ptsname.c: New file.
423 1998-09-17 22:04 Tim Waugh <tim@cyberelk.demon.co.uk>
425 * posix/wordexp-test.c: Undo last change.
427 * posix/wordexp.c: Undo last change.
429 1998-09-16 Ulrich Drepper <drepper@cygnus.com>
431 * nscd/grpcache.c (save_grp): Partly undo last change.
433 * nscd/pwdcache.c (save_pwd): Undo last change.
435 1998-09-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
437 * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
438 function. Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
440 1998-09-15 David S. Miller <davem@pierdol.cobaltmicro.com>
442 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
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 properly.
447 (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
448 and check for sym being NULL instead.
449 * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
451 * sysdeps/sparc/sparc64/lshift.S: Likewise.
452 * sysdeps/sparc/sparc64/mul_1.S: Likewise.
453 * sysdeps/sparc/sparc64/rshift.S: Likewise.
454 * sysdeps/sparc/sparc64/submul_1.S: Likewise.
455 * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
456 MEDANY code model %g4 usage.
457 * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
458 MEDANY code model %g4 usage.
459 * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
460 code model address formation.
461 * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
462 include elf/ldsodefs.h
464 (elf_machine_matches_host): It is now EM_SPARCV9.
465 (elf_machine_dynamic): Clean up to remove ugly cast.
466 (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
468 (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
469 Prettify rest of function.
470 [R_SPARC_COPY]: Check for sym being NULL.
471 [R_SPARC_32]: Handle it.
472 [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
474 [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
476 [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
477 (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
478 Add profiling support.
479 (TRAMPOLINE_TEMPLATE): New macro.
480 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
481 (RTLD_START): Prettify and set __libc_stack_end.
482 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
484 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
485 (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
486 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
487 unused variable scratch.
488 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
489 (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
491 (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
492 stub to rt_sigaction syscalls. Rewrite non-rt case to use correct
493 old format kernel sigaction structures.
494 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
495 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
496 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
497 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
499 (_JMPBUF_UNWINDS): Define.
500 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
501 statfs64 structure, which is exactly the same as the normal one.
502 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
503 of stack. Use correct syscall trap number. Add branch prediction
504 settings to branch instructions. Remove old MEDANY code model %g4
505 referneces for non-PIC.
506 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
507 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
508 * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
509 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
510 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
511 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
512 __libc_longjmp and __libc_siglongjmp strong aliases.
513 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
514 Also define to __no__readdir64_decl around readdir.c inclusion.
515 (__readdir64): Add strong alias.
516 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
517 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
518 Set strong and weak names properly.
520 1998-09-16 11:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
522 * manual/Makefile (AWK): Default to gawk if standalone.
524 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
526 * Makefile (distribute): Undo last change.
527 * Make-dist (+tsrc) [not subdir]: Also include indirection headers
529 (+subdir-headers): Removed, unused.
531 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
533 * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
536 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
538 * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
539 absolute name in $(config-sysdirs), can never happen.
540 ($(+sysdir_pfx)sysd-rules): Likewise.
541 * Makeconfig (full-config-sysdirs): Likewise.
542 (all-Subdirs-files): Prepend $(..).
544 * configure.in: Don't check for absolute name in $add_ons_pfx, can
545 not happen. Let --enable-add-ons=yes work if no add-ons actually
548 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
550 * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
551 continuations in command.
553 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
555 * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
557 1998-09-16 00:47 Tim Waugh <tim@cyberelk.demon.co.uk>
559 * posix/wordexp-test.c: If expansion or substitution occurs
560 anywhere in a word, the entire word is subject to field-splitting.
562 * posix/wordexp.c (parse_glob): Look for end of word instead of
563 end of field when deciding what to glob.
564 (field_split_word): New function, now the only place where
565 field-splitting is performed.
566 (parse_dollars): New parameter - tell the caller if
567 field-splitting should be performed on this word.
569 * posix/wordexp-test.c (testit): Only call wordfree if wordexp
570 succeeded (or failed with WRDE_NOSPACE).
572 1998-09-15 19:53 1998 Tim Waugh <tim@cyberelk.demon.co.uk>
574 * posix/wordexp.c (wordexp): Don't convert IFS characters to
577 * posix/wordexp-test.c: Words not the result of expansion or
578 substitution should remain unchanged.
580 1998-09-15 Ulrich Drepper <drepper@cygnus.com>
582 * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
583 (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
585 1998-09-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
587 * stdio-common/Makefile: Include Makeconfig so that
588 $(inst_includedir) is defined.
590 1998-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
592 * io/pwd.c: Include <mcheck.h>.
594 1998-09-15 08:00 Ulrich Drepper <drepper@cygnus.com>
596 * nscd/pwdcache.c (save_pwd): Correct copying.
597 * nscd/grpcache.c (save_grp): Likewise.
599 1998-09-14 23:36 Ulrich Drepper <drepper@cygnus.com>
601 * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
602 (free_pwd): Adjust for this change.
603 * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
604 (free_grp): Adjust for this change.
606 1998-09-14 Ulrich Drepper <drepper@cygnus.com>
608 * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
610 1998-09-14 15:29 Ulrich Drepper <drepper@cygnus.com>
612 * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
613 (install-others): Add bits/stdio_lim.h.
614 Add rule to install bits/stdio_lim.h.
616 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
618 * Makefile (distribute): Add include/sys/mman.h.
620 * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
621 * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
622 * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
624 * grp/initgroups.c: Include stdlib.h.
625 Patch by Zack Weinberg.
627 1998-09-14 22:46 Tim Waugh <tim@cyberelk.demon.co.uk>
629 * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
630 for field-splitting :abc: is correct, and that two fields should
631 result. Revert tests to reflect this.
633 * posix/wordexp.c (w_emptyword): Remove function.
634 (exec_comm): Don't use w_emptyword.
635 (parse_param): Likewise.
637 1998-09-14 15:00 Ulrich Drepper <drepper@cygnus.com>
639 * sysdeps/arm/fpu/Dist: Moved to...
640 * sysdeps/arm/Dist: ...here.
641 * sysdeps/posix/Dist: Removed.
642 * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
643 * sysdeps/unix/sysv/linux/i386/Dist: ...here.
645 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
647 * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
649 1998-09-14 11:26 Ulrich Drepper <drepper@cygnus.com>
651 * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
653 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
655 * libc-work/nis/nss_nisplus/nisplus-service.c
656 (_nss_nisplus_parse_servent): Convert port in network byte order.
658 1998-09-14 07:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
660 * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
661 to provide only malloc and calloc.
662 * include/stdlib.h: Support the above.
663 * string/bits/string2.h: Use __need_malloc_and_calloc when
665 (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
667 * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
668 * iconvdata/iso646.c: Include <stdlib.h>.
670 1998-09-14 07:51 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
672 * sunrpc/rpc_cout.c: Add braces around ambiguous else.
673 * sysdeps/libm-ieee754/w_pow.c: Likewise.
674 * sysdeps/libm-ieee754/w_powf.c: Likewise.
675 * sysdeps/libm-ieee754/w_powl.c: Likewise.
677 1998-09-14 07:57 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
679 * stdio-common/stdio_lim.h.in: New file. All parameters
680 are adjustable at build time.
681 * Rules: Add a rule to build bits/stdio_lim.h from
682 stdio-common/stdio_lim.h.in. (It has to be in Rules so that
683 all subdirectories know how to make the file. It can't be
684 in Makerules because then it gets built at top level and the
685 dependencies are wrong.)
687 * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
688 * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
690 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
691 * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
692 * sysdeps/posix/Makefile: Removed.
693 * sysdeps/posix/mk-stdiolim.c: Removed.
694 * sysdeps/generic/bits/stdio_lim.h: Removed.
696 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
698 * argp/argp-help.c: Fixup indentation.
699 * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
700 * resolv/nss_dns/dns-network.c: Likewise.
701 * resolv/res_send.c: Likewise.
702 * rt/aio_cancel.c: Likewise.
703 * rt/aio_misc.c: Likewise.
705 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
707 * Makefile (install-symbolic-link): Remove the link list file at last.
708 * Makerules (install-clean-symbolic-link-list): Removed.
710 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
712 * timezone/tst-timezone.c: Print time in UTC to get consistent
715 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
717 * elf/rtld.c (_dl_rpath): Removed.
718 * elf/dl-support.c (_dl_path): Removed.
719 * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
720 (CFLAGS-dl-support.c): Removed.
722 * elf/dl-load.c (env_path_list): Renamed from fake_path_list. All
724 (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
725 instead of appending it to the main map's rpath info.
726 (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
727 DT_RPATHs. This makes it effective again.
728 (decompose_rpath): Remove second parameter, callers changed.
729 (fillin_rpath): Allocate enough space in curwd.
730 (expand_dynamic_string_token): Cope with get_origin returning -1.
732 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
734 * libc-work/nis/nss_compat/compat-pwd.c: Add support for
737 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
740 1998-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
742 * locale/programs/locale.c: Update dates.
744 1998-09-13 Mark Kettenis <kettenis@phys.uva.nl>
746 * sysdeps/generic/bits/types.h: Include <features.h>. Make sure
747 size_t is defined. Some reordering of defenitions to make
748 maintaining this file in parallel with the linux-specific file easier.
750 1998-09-13 Ulrich Drepper <drepper@cygnus.com>
752 * io/pwd.c (main): Add call to mtrace.
754 * malloc/mtrace.pl: Quote @ in string.
756 1998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk>
758 * posix/wordexp.c (parse_arith): Fix memory leaks.
759 (exec_comm): Likewise.
760 (parse_param): Likewise.
762 (exec_comm): Reduce number of function return points.
763 (parse_param): Likewise.
766 1998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk>
768 * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
769 yield three fields, not two. Test both parameter expansion and
770 command substitution for correct field-splitting behaviour.
772 * posix/wordexp.c (w_emptyword): New function.
773 (parse_param): Use it.
774 (exec_comm): Likewise, for consistency with the way parse_param
776 (parse_param): Fix some memory leaks.
778 1998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au>
780 * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
781 Don't mark asm `volatile'.
782 (__elf_machine_runtime_setup): Clear the last partial block in the PLT
783 from the data cache too. Assume it isn't in the instruction cache yet.
784 (__elf_machine_fixup_plt): Clear the modified address from the caches.
786 1998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
788 * sysdeps/generic/segfault.c (install_handler): Install signal
789 handler with SA_ONSTACK instead of setting the stack flags to
790 SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
793 1998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
795 * signal/signal.h: Fix multiple inclusion guard to cover the
797 * wcsmbs/wchar.h: Remove prototype of internal function
799 * sysdeps/i386/i486/bits/string.h (memchr): Don't do
800 arithmetic on `void *'.
802 1998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
804 * posix/wordexp-test.c: Fix wrong tests. Add new tests.
806 * posix/wordexp.c (wordexp): Perform word-splitting instead of
807 field-splitting here.
808 (wordexp): If out of memory mid-word, free the word (but still
809 leave pwordexp alone for caller to see).
810 (parse_param): Allow for zero-length fields (smarter checking of
811 memory allocation failure).
812 (w_addword): Convert NULL words to "".
813 (wordexp): Convert left-over IFS characters to blanks (like bash).
815 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
817 * configure.in: Use test -f instead of test -e.
818 Patch by John Tobey <jtobey@banta-im.com>.
820 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
821 * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
822 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
823 * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
824 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
825 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
826 * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
827 Patches by John Tobey <jtobey@banta-im.com>.
829 * time/strftime.c (my_strftime): Delay use of *tp values until
830 latest possible point to allow partly initialized structures
831 (e.g., from strptime).
833 * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
835 Define *-routines variables for new modules.
836 (distribute): Add .c files for new modules.
837 (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
839 Add rules for header generation.
840 * iconvdata/gconv-modules: Add entries for new modules.
841 * iconvdata/iso_10367-box.c: New file.
842 * iconvdata/mac-is.c: New file.
843 * iconvdata/nats-dano.c: New file.
844 * iconvdata/nats-sefi.c: New file.
846 1998-04-30 18:20 H.J. Lu <hjl@gnu.org>
848 * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
849 loader if PIC is not defined.
851 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
853 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
854 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
855 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
857 Define *-routines variables for new modules.
858 (distribute): Add .c files for new modules.
859 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
860 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
861 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
862 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
863 Add rules for header generation.
864 * iconvdata/gconv-modules: Add entries for new modules.
865 * iconvdata/csn_369103.c: New file.
866 * iconvdata/cwi.c: New file.
867 * iconvdata/dec-mcs.c: New file.
868 * iconvdata/ecma-cyrillic.c: New file.
869 * iconvdata/gost_19768-74.c: New file.
870 * iconvdata/greek-ccitt.c: New file.
871 * iconvdata/greek7-old.c: New file.
872 * iconvdata/greek7.c: New file.
873 * iconvdata/inis-8.c: New file.
874 * iconvdata/inis-cyrillic.c: New file.
875 * iconvdata/inis.c: New file.
876 * iconvdata/iso6937-2.c: New file.
877 * iconvdata/iso_2033.c: New file.
878 * iconvdata/iso_5427-ext.c: New file.
879 * iconvdata/iso_5427.c: New file.
880 * iconvdata/iso_5428.c: New file.
882 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
884 Convert U02dd correctly.
886 1998-09-11 20:46 Richard Henderson <rth@cygnus.com>
888 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
889 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
890 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
891 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
893 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
895 * resolv/res_init.c (res_init): Handle resolv.conf file with only
896 one nameserver correctly. Patch by HJ Lu.
898 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
900 Define *-routines variables for new modules.
901 (distribute): Add .c files for new modules.
902 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
903 Add rules for hedaer generation.
904 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
905 * iconvdata/ansi_x3.110.c: New file.
906 * iconvdata/asmo_449.c: New file.
907 * iconvdata/baltic.c: New file.
908 * iconvdata/iec_p27-1.c: New file.
910 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
912 Convert U02dc correctly.
914 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
915 * math/atest-exp2.c: Likewise.
916 * math/atest-sincos.c: Likewise.
918 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
921 1998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
923 * string/strcoll.c: Optimize a few expressions.
924 * string/strxfrm.c: Likewise.
926 1998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
928 * manual/locale.texi: Fix typos.
930 1998-09-10 Ulrich Drepper <drepper@cygnus.com>
932 * stdlib/random_r.c (__setstate_r): Allow call with same state
933 array as currently used (PR libc/774).
935 * include/limits.h: Include gcc's header even if this file is
936 found more than once before it (PR libc/778)
938 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
939 (sysdep_headers): Remove sys/debugreg.h.
940 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
941 (sysdep_headers): Add sys/debugreg.h.
942 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
943 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
945 * stdio-common/tmpnam.c: Move local static variable buf to
946 toplevel and rename to tmpnam_buffer to ease debugging.
947 Patch by Joe Keane <jgk@jgk.org>.
948 Optimize s == NULL case a bit.
950 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
953 1998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
955 * resolv/res_init.c (res_init): Initialize _res.nscount and
956 _res.nsaddr.sin_port differently for the can when no loopback
957 is available to allow immediate timeout in non-networking environments.
958 Patch by Cristian Gafton <gafton@redhat.com>.
960 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
962 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
964 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
965 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
968 1998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
970 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
972 * timezone/tst-timezone.c (tests): Fix typo in last patch.
974 * time/tzfile.c (__tzfile_read): Handle case when there are no
975 transitions. Set __timezone based on computed offset.
976 * time/tzset.c (tzset_internal): Set __timezone before returning.
978 * time/tzset.c (tzset_internal): Optimize handling of local string
981 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
983 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
986 1998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
988 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
989 (csqrt_test): Likewise.
990 * sysdeps/powerpc/bits/fenv.h: Add parens.
992 1998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
994 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
995 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
996 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
998 1998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
1000 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
1001 the special `-1' pointer.
1003 1998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
1005 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
1008 1998-09-07 Paul Eggert <eggert@twinsun.com>
1010 * time/mktime.c (__EXTENSIONS__): Define if not defined.
1011 (_REENTRANT): Remove. It has undesirable consequences in
1012 Solaris 2.6 (e.g. it turns off the putc macro). Defining
1013 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
1015 * time/strftime.c: Likewise.
1017 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1019 * elf/dl-error.c: Fix spelling.
1021 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1023 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
1024 * stdio-common/_itoa.c: Likewise.
1025 * stdio-common/printf_fp.c: Likewise.
1026 * stdio-common/vfscanf.c: Likewise.
1027 * wcsmbs/wcstok.c: Likewise.
1028 * sysdeps/generic/glob.c: Likewise.
1029 * posix/getopt.c: Likewise.
1030 * sysdeps/posix/getaddrinfo.c: Likewise.
1031 * posix/wordexp.c: Likewise.
1032 * io/ftw.c: Likewise.
1033 * io/fts.c: Likewise.
1034 * misc/getpass.c: Likewise.
1035 * iconv/gconv_conf.c: Likewise.
1036 * argp/argp-fmtstream.c: Likewise.
1037 * argp/argp-help.c: Likewise.
1038 * elf/dl-load.c: Likewise.
1039 * locale/programs/stringtrans.c: Likewise.
1040 * catgets/gencat.c: Likewise.
1041 * posix/getconf.c: Likewise.
1042 * iconv/gconv_conf.c: Likewise.
1043 * iconv/iconv_prog.c: Likewise.
1045 * string/strcoll.c: Optimize a few expressions.
1046 * string/strxfrm.c: Likewise.
1048 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1050 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
1051 level to avoid uninit variable warning.
1053 1998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1055 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
1056 instead of _dl_default_scope[2] as argument to _dl_init_next.
1058 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
1061 1998-09-08 Ulrich Drepper <drepper@cygnus.com>
1063 Fix compatibility problems introduced in last change.
1064 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
1066 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
1067 -DWEAK_GMON_START to CFLAGS-initfini.s.
1069 * elf/dl-object.c (_dl_new_object): Store map address in
1070 _dl_loaded if _dl_loaded is NULL.
1071 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
1073 * sysdeps/generic/setrlimit64.c: Remove stub warning.
1075 1998-09-07 Ulrich Drepper <drepper@cygnus.com>
1077 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
1079 * db2/btree/bt_cursor.c: Likewise.
1080 * db2/common/db_region.db_c: Likewise.
1081 * db2/common/db_salloc.db_c: Likewise.
1082 * db2/db/db.c: Likewise.
1083 * db2/db/db_rec.c: Likewise.
1084 * db2/hash/hash.c: Likewise.
1085 * db2/hash/hash_page.c: Likewise.
1086 * db2/hash/hash_rec.c: Likewise.
1087 * db2/log/log_findckp.c: Likewise.
1088 * db2/log/log_get.c: Likewise.
1089 * db2/log/log_put.c: Likewise.
1090 * db2/mp/mp_fget.c: Likewise.
1091 * db2/mp/mp_fput.c: Likewise.
1092 * db2/mp/mp_region.c: Likewise.
1093 * stdlib/strtol.c: Likewise.
1094 * string/strcoll.c: Likewise.
1095 * string/strxfrm.c: Likewise.
1096 * argp/argp-help.c: Likewise.
1097 * argp/argp-parse.c: Likewise.
1098 * resolv/res_debug.c: Likewise.
1100 1998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
1102 * math/tgmath.h (scalb): Only define for __USE_MISC or
1103 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
1105 1998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1107 * libio/stdio.h: Fix comment.
1109 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
1112 1998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1114 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
1116 * elf/dl-open.c: Quiet -Wparentheses warnings.
1117 * iconvdata/johab.c: Likewise.
1118 * iconvdata/uhc.c: Likewise.
1119 * inet/inet_net.c: Likewise.
1120 * io/fts.c: Likewise.
1121 * locale/newlocale.c: Likewise.
1122 * misc/getttyent.c: Likewise.
1123 * misc/mntent_r.c: Likewise.
1124 * misc/ttyslot.c: Likewise.
1125 * nscd/nscd_conf.c: Likewise.
1126 * nss/nsswitch.c: Likewise.
1127 * resolv/gethnamaddr.c: Likewise.
1128 * resolv/nsap_addr.c: Likewise.
1129 * resolv/res_debug.c: Likewise.
1130 * stdio-common/_itoa.c: Likewise.
1131 * stdlib/strtod.c: Likewise.
1132 * string/strverscmp.c: Likewise.
1133 * sunrpc/svc.c: Likewise.
1134 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
1135 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
1136 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
1137 * sysdeps/posix/getaddrinfo.c: Likewise.
1139 1998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
1141 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
1142 for use of global scope.
1143 * elf/dlvsym.c (dlvsym_doit): Likewise.
1145 1998-09-02 Paul Eggert <eggert@twinsun.com>
1147 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
1148 copy the redundant bytes at the end of the format as-is; don't
1149 just copy their first byte and then rescan, as that might get
1150 us an encoding error.
1151 Account correctly for the length of multibyte sequences in the
1154 1998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
1156 * posix/wordexp-test.c: Add tests for different IFS values.
1157 Change unquoted-newline test so that newline is not in IFS.
1159 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
1160 determining IFS characters. Return WRDE_BADCHAR for unquoted
1161 special characters _except_ if they are separators.
1163 1998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
1165 * include/tgmath.h: New file.
1167 * libio/stdio.h: Correct reversed #ifs.
1168 Patch by Zack Weinberg.
1170 * manual/creature.texi: Better explain reason for feature select
1172 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
1174 1998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1176 * include/alloca.h: Add multiple-inclusion guard.
1177 * include/db.h: Likewise.
1178 * include/db_185.h: Likewise.
1179 * include/dlfcn.h: Likewise.
1180 * include/fcntl.h: Likewise.
1181 * include/grp.h: Likewise.
1182 * include/libintl.h: Likewise.
1183 * include/mntent.h: Likewise.
1184 * include/pwd.h: Likewise.
1185 * include/sched.h: Likewise.
1186 * include/search.h: Likewise.
1187 * include/setjmp.h: Likewise.
1188 * include/shadow.h: Likewise.
1189 * include/signal.h: Likewise.
1190 * include/stdio.h: Likewise.
1191 * include/stdlib.h: Likewise.
1192 * include/string.h: Likewise.
1193 * include/termios.h: Likewise.
1194 * include/time.h: Likewise.
1195 * include/ulimit.h: Likewise.
1196 * include/utmp.h: Likewise.
1197 * include/wchar.h: Likewise.
1198 * include/sys/file.h: Likewise.
1199 * include/sys/gmon.h: Likewise.
1200 * include/sys/ioctl.h: Likewise.
1201 * include/sys/mman.h: Likewise.
1202 * include/sys/resource.h: Likewise.
1203 * include/sys/select.h: Likewise.
1204 * include/sys/socket.h: Likewise.
1205 * include/sys/statfs.h: Likewise.
1206 * include/sys/time.h: Likewise.
1207 * include/sys/times.h: Likewise.
1208 * include/sys/wait.h: Likewise.
1210 1998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
1212 * version.h (VERSION): Bump to 2.0.96.
1214 Rewrite runtime linker to be truly thread-safe. There is now no
1215 global variable specifying the scope. We create all needed
1216 scopes at the time the link maps are created.
1217 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
1218 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
1219 l_symbolic_searchlist, l_scope, and l_local_scope elements in
1221 * elf/dl-close.c: Rewritten accordingly.
1222 * elf/dl-deps.c: Likewise.
1223 * elf/dl-error.c: Likewise.
1224 * elf/dl-init.c: Likewise.
1225 * elf/dl-load.c: Likewise.
1226 * elf/dl-lookup.c: Likewise.
1227 * elf/dl-object.c: Likewise.
1228 * elf/dl-open.c: Likewise.
1229 * elf/dl-reloc.c: Likewise.
1230 * elf/dl-runtime.c: Likewise.
1231 * elf/dl-support.c: Likewise.
1232 * elf/dl-symbol.c: Likewise.
1233 * elf/dl-version.c: Likewise.
1234 * elf/dlsym.c: Likewise.
1235 * elf/dlvsym.c: Likewise.
1236 * elf/ldsodefs.h: Likewise.
1237 * elf/rtld.c: Likewise.
1238 * iconv/gconv_dl.c: Likewise.
1239 * nss/nsswitch.c: Likewise.
1240 * sysdeps/i386/dl-machine.h: Likewise.
1241 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
1243 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
1244 Define RTLD_DEFAULT.
1246 1998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
1248 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
1249 __getopt_clean_environment with __environ instead of envp.
1251 1998-09-05 Roland McGrath <roland@baalperazim.frob.com>
1253 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
1255 * string/argz-extract.c (__argz_extract): Add de-consting cast for
1258 * string/argz.h (argz_next): Add de-consting cast for return.
1259 * string/argz-next.c (__argz_next): Likewise.
1261 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
1262 Don't add netinet/udp.h, netinet/ip_icmp.h here.
1263 * sysdeps/gnu/Makefile: Do it here instead.
1264 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
1265 * sysdeps/gnu/Dist: ... to here.
1267 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
1268 sysdeps/unix/sysv/linux/netinet/tcp.h,
1269 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
1271 1998-09-04 Roland McGrath <roland@baalperazim.frob.com>
1273 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
1274 * string/argz-next.c, string/argz-extract.c: Fix defns.
1276 1998-09-03 Roland McGrath <roland@baalperazim.frob.com>
1278 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
1280 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
1281 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
1282 * sysdeps/generic/sysd-stdio.c: Likewise.
1284 1998-09-02 Ulrich Drepper <drepper@cygnus.com>
1286 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
1287 (_dl_map_object_from_fd): Make NAME argument const.
1288 Remove last parameter in _dl_new_object call.
1289 (print_search_path): Correct construction of composed path name.
1290 (_dl_map_object): Prevent looking at RPATH of the main map twice.
1291 Remove last parameter in _dl_new_object call.
1292 * elf/dl-object.c: Remove last parameter. Determine whether create
1293 origin entry based on empty realname. Handle file in root directory
1295 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
1296 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
1297 Remove last parameter in _dl_new_object call.
1298 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
1299 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
1301 1998-09-01 Ulrich Drepper <drepper@cygnus.com>
1303 * elf/dl-close.c (_dl_close): Add more comments and correct some.
1304 Free l_searchlist and l_dupsearchlist.
1306 * debug/catchsegv.sh: Add one more pair of quotes.
1308 1998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
1310 * elf/dl-load.c (add_name_to_object): Change return type to void and
1311 make NAME parameter const. Allocate room for NAME in same memory
1312 block used for l_libname entry.
1313 (_dl_map_object_from_fd): Don't free NAME on failure.
1314 (map_segment): Pass SONAME to add_name_to_object, not a copy.
1315 (_dl_map_object): Don't create copy of NAME. Pass NAME to
1316 _dl_map_object_from_fd.
1317 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
1318 memory block used for l_libname entry.
1319 * elf/dl-close.c: Adjust free()ing for this change.
1321 1998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
1323 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
1325 * malloc/mtrace.c: Add bug report address. Update email address.
1326 Add more @XXX@ to print correct address size.
1328 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
1331 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
1332 for munmap call instead of examining phdr again.
1333 Free all malloc()ed strings and arrays.
1335 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
1337 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
1339 * sysdeps/powerpc/dl-machine.c: New file.
1340 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
1341 files. Revise ELF_PREFERRED_ADDRESS to take account of
1342 the new mapping information (fixes bug involving huge bloated
1343 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
1344 * sysdeps/powerpc/dl-start.S: New file.
1346 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
1348 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
1349 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
1350 others. Call elf_dynamic_do_##reloc only once (to save even more
1352 * elf/link.h: Add new members l_map_start and l_map_end to keep
1353 track of the memory map.
1354 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
1357 1998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
1359 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
1360 Reported by Andreas Jaeger.
1362 * posix/glob.h: Use __size_t instead of size_t in definitions and
1363 make sure this is defined.
1365 1998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
1367 * manual/locale.texi: Almost complete rewrite. Document more functions
1369 * manual/arith.texi: Correct reference.
1370 * manual/string.texi: Pretty printing.
1372 * manual/texinfo.tex: Update from last available version.
1374 1998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
1376 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
1378 (_nss_nis_getpwuid_r): Likewise.
1379 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
1381 * inet/rcmd.c: Implement netgroup support.
1382 Patch by Dick Streefland <dick_streefland@tasking.com>.
1384 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
1386 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
1387 object on the list is removed. Don't use this code for PIC.
1388 Reported by HJ Lu [PR libc/770].
1390 1998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
1392 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
1394 * include/stdio.h: Add __vsscanf.
1396 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
1398 Remove __vsscanf declaration.
1399 Always declare fgetpos and fsetpos.
1401 * math/math.h: Define isinf as macro.
1402 * math/bits/mathcalls.h: Change to declare __isinf all the time.
1403 Don't declare scalb for ISO C 9x.
1405 * math/tgmath.h: Define fma. Rewrite the underlying macros.
1407 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
1409 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
1412 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
1415 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1417 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
1418 Reported by jreising@frequentis.com [PR libc/767].
1420 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1422 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
1423 fl.l_start at beginning of function.
1424 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
1426 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
1428 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
1429 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
1431 * nscd/nscd.init: Make it work in RedHat systems.
1432 Patch by Christian Gafton.
1434 1998-08-29 Philip Blundell <philb@gnu.org>
1436 * catgets/Makefile: Don't try to run test programs when
1439 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
1441 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
1442 Reported by Zack Weinberg.
1444 1998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1446 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
1447 * elf/Makefile (distribute): Remove ldd.sh.in.
1449 1998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1451 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
1454 1998-08-29 Ulrich Drepper <drepper@cygnus.com>
1456 * sysdeps/i386/register-dump.h: Move to ...
1457 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
1459 1998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
1461 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
1462 with load address, not map address.
1463 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
1464 parameter and use this value.
1465 * sysdeps/arm/dl-machine.h: Likewise.
1466 * sysdeps/i386/dl-machine.h: Likewise.
1467 * sysdeps/m68k/dl-machine.h: Likewise.
1468 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
1470 * sysdeps/powerpc/dl-machine.h: Likewise
1471 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
1472 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
1474 1998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
1476 * elf/rtld.c (process_envvars): Fix copy&paste error.
1478 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
1480 (realloc_hook_ini): Don't overwrite memalign hook.
1481 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
1482 Reported by Philippe Troin <phil@fifi.org>.
1484 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
1485 Patch by Philippe Troin <phil@fifi.org>.
1487 1998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1489 * sysdeps/generic/segfault.c (install_handler): Protect the
1490 non-POSIX signals with #ifdef.
1491 (catch_segfault): Add missing mode parameter for open.
1492 * debug/catchsegv.sh: Avoid termination message from shell. Allow
1493 other termination signals.
1495 1998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1497 * debug/Makefile (distribute): Add register-dump.h.
1499 1998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1501 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
1503 1998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
1505 * elf/Makefile (distribute): Add dl-origin.h.
1506 * sysdeps/generic/dl-origin.h: New file.
1507 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
1508 * elf/link.h (struct link_map): Add l_origin field.
1509 * elf/dl-load.c (expand_dynamic_string_token): New function.
1510 (decompose_path): Remove WHERE argument, take link map pointer instead.
1511 Call expand_dynamic_string_token instead of local_strdup to make copy
1513 (_dl_init_paths): Call decompose_path with correct argument.
1514 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
1516 Check EI_OSABI and EI_ABIVERSION fields in header.
1517 Call _dl_new_object with extra argument.
1518 (_dl_map_object): Call decompose_path with correct argument.
1519 Call expand_dynamic_string_token instead of local_strdup to also
1521 Call _dl_new_object with extra argument.
1522 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
1523 but the main one if new argument is nonzero.
1524 * elf/ldsodefs.h: Adjust for _dl_new_object change.
1525 * elf/dl-support.c: Define _dl_origin_path.
1526 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
1527 (dl_main): Call _dl_new_object with extra argument.
1529 * elf/dl-close (_dl_close): Free l_name and l_origin.
1531 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
1532 modifier in asm, not c.
1534 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
1535 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
1537 1998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
1539 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
1540 variable so that map can be freed.
1541 Reported by Philippe Troin <phil@fifi.org>.
1543 * elf/dl-open.c (dl_open_worker): Correct test for extending global
1545 Patch by Philippe Troin <phil@fifi.org>.
1547 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
1549 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
1550 Don't call writev() with a 100-element vector.
1551 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
1554 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
1555 In particular, set __libc_stack_end.
1556 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
1557 undefined. Fix copyright notice.
1559 1998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1561 * math/Makefile (gmp-objs): New variable.
1562 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
1564 (tests): Add atest-exp atest-sincos atest-exp2.
1565 (tests-static): Remove atest-exp atest-sincos atest-exp2.
1567 1998-08-25 Ulrich Drepper <drepper@cygnus.com>
1569 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
1571 (_dl_unload_cache): New function.
1572 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
1573 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
1574 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
1576 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
1577 Correct comment for O_LARGEFILE.
1578 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
1579 Change O_LARGEFILE to correct value.
1581 1998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
1583 * libio/iogetline.c (_IO_getline_info): Don't read anything for
1584 N == 0. Patch by HJ Lu.
1586 1998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
1588 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
1590 1998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
1592 * argp/argp.h: Use __inline__ not inline.
1594 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
1595 an input register as being clobbered.
1596 * sysdeps/i386/memset.c (memset): Likewise.
1597 * sysdeps/i386/bzero.c (__bzero): Likewise.
1598 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
1600 1998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1602 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
1603 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
1605 1998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
1607 * debug/catchsegv.sh: Handle text preceding backtrace better.
1608 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
1609 to be installed for other signals than SIGSEGV.
1610 * sysdeps/generic/register-dump.h: New file.
1611 * sysdeps/i386/register-dump.h: New file.
1612 * sysdeps/powerpc/register-dump.h: New file.
1614 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
1616 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
1618 1998-08-24 Geoff Keating <geoffk@ozemail.com.au>
1620 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
1622 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
1624 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
1625 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
1626 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
1627 getresuid, getresgid.
1629 1998-08-16 Geoff Keating <geoffk@ozemail.com.au>
1631 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
1632 pointer in userland.
1634 1998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1636 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
1639 1998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1641 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
1642 over arguments Bourne shell compatible. Don't exit unsuccessfully
1643 if nonelf returns successfully. Avoid duplicating most of the
1645 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
1648 1998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1650 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
1652 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
1653 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
1655 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
1657 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
1658 __modify_ldt and modify_ldt.
1659 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
1661 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1662 Use orl $-1 instead of movl $-1 to save two bytes.
1663 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
1666 1998-08-17 H.J. Lu <hjl@gnu.org>
1668 * libio/Versions (_IO_do_write, _IO_file_attach,
1669 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1670 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1671 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1672 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
1674 * libio/fileops.c (_IO_do_write, _IO_file_attach,
1675 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1676 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1677 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1678 _IO_file_write, _IO_file_xsputn): Change the prefix to
1679 "_IO_new_". Added to GLIBC_2.1.
1681 * libio/libioP.h (_IO_do_write, _IO_file_attach,
1682 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1683 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1684 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1685 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
1688 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
1689 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
1690 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
1691 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
1692 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
1694 1998-08-23 Richard Henderson <rth@cygnus.com>
1696 * Makeconfig (LDFLAGS): Remove.
1698 * csu/initfini.c: Return to .text before __gmon_start__.
1700 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
1701 (STO_MIPS_*): Rename from STO_*.
1702 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
1703 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
1705 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
1706 (main): e3s is negative on zero.
1707 * math/atest-exp2.c: Likewise.
1708 * math/atest-sincos.c: Likewise.
1710 1998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1712 * Makerules (install): Add comment about absolute paths.
1714 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
1716 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
1717 array to NUL to handle maxlen==1 case correctly.
1720 1998-08-23 Richard Henderson <rth@cygnus.com>
1722 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
1723 * sysdeps/alpha/elf/crtend.S: Likewise.
1724 * sysdeps/alpha/elf/start.S: Likewise.
1726 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
1727 non-standard pv usage.
1729 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
1730 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
1731 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
1732 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
1733 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
1734 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
1735 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
1736 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
1737 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
1738 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
1739 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
1741 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
1742 a finite non-denormal, deferring to the full IEEE version otherwise.
1744 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
1745 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
1746 * sysdeps/alpha/fpu/s_floor.c: New.
1747 * sysdeps/alpha/fpu/s_floorf.c: New.
1748 * sysdeps/alpha/fpu/s_ceil.c: New.
1749 * sysdeps/alpha/fpu/s_ceilf.c: New.
1751 1998-08-22 Philip Blundell <philb@gnu.org>
1753 * sysdeps/arm/bits/string.h: New file.
1755 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1757 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
1760 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
1761 test for recent Linux 2.1.100+ headers.
1763 1998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1765 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
1767 1998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
1769 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
1771 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1773 * Makefile (elf/ldso_install): Put back. The problem still persists.
1774 * elf/Makefile (ldso_install): Likewise.
1776 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1778 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
1780 * include/db.h: Declare __nss_db_open.
1781 * db2/Versions: Export it.
1783 * db2/makedb.c: Convert to use db2 API.
1784 * nss/nss_db/db-XXX.c: Likewise.
1785 * nss/nss_db/db-netgrp.c: Likewise.
1786 * nss/nss_db/db-alias.c: Likewise.
1787 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
1789 1998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1791 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
1792 sys_setresuid, already built automatically (or not).
1793 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
1794 instead of __syscall_setresuid and add back setresuid.
1795 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
1796 __syscall_setresuid.
1798 1998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1800 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
1802 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
1804 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
1805 BASH-ONLY marked region.
1806 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
1808 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
1810 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
1813 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
1815 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
1818 1998-08-21 Roland McGrath <roland@baalperazim.frob.com>
1820 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
1821 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
1822 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
1823 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
1824 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
1825 those magic comments, and to use /bin/sh for @BASH@.
1826 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
1827 * elf/ldd.sh.in: File removed.
1829 1998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
1831 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
1832 cast them to unsigned long int.
1833 * pwd/putpwent.c (putpwent): Likewise.
1834 Patch by John Tobey <jtobey@banta-im.com>.
1836 1998-08-20 17:14 H.J. Lu <hjl@gnu.org>
1838 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
1841 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
1843 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
1846 1998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
1848 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
1849 Add umount and umount2.
1850 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
1851 * sysdeps/unix/sysv/linux/umount.S: New file.
1852 * sysdeps/unix/sysv/linux/umount2.S: New file.
1853 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
1856 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
1858 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
1859 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
1861 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
1863 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
1866 1998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
1868 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
1869 * elf/ldd.bash.in: Likewise.
1871 * elf/sln.c: Avoid warning for no main prototype.
1873 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
1875 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1876 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1878 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
1880 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
1881 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
1882 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1884 1998-08-20 Philip Blundell <pb@nexus.co.uk>
1886 * sysdeps/arm/fpu/ieee754.h: Move to...
1887 * sysdeps/arm/ieee754.h: ... here.
1889 * sysdeps/arm/__longjmp.S: Put return value in correct register.
1890 Don't set the condition flags unnecessarily.
1891 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
1892 registers correctly.
1894 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
1895 (patch from Scott Bambrough).
1897 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
1899 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
1900 NULL, just call it unconditionally.
1901 (__gmon_start__): Provide stub version as a weak symbol.
1903 1998-07-30 Philip Blundell <philb@gnu.org>
1905 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
1908 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
1909 like `@' in .type directives.
1911 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
1912 * sysdeps/arm/bsd-_setjmp.S: Likewise.
1914 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
1916 1998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1918 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
1919 (F_GETOWN): Likewise.
1921 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
1924 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
1926 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
1929 1998-08-18 Ulrich Drepper <drepper@cygnus.com>
1931 * include/features.h: Define __USE_EXTERN_INLINES for recent
1933 * argp/argp.h: Define extern inline functions only if
1934 __USE_EXTERN_INLINES is defined.
1935 * libio/stdio.h: Likewise.
1936 * math/math.h: Likewise.
1937 * stdlib/stdlib.h: Likewise.
1938 * string/argz.h: Likewise.
1939 * sysdeps/generic/bits/sigset.h: Likewise.
1940 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
1941 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
1942 * sysdeps/wordsize-32/inttypes.h: Likewise.
1943 * sysdeps/wordsize-64/inttypes.h: Likewise.
1944 * wcsmbs/wchar.h: Likewise.
1946 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
1947 to allow compilation without optimization.
1949 1998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1951 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
1953 * nis/nss_compat/compat-initgroups.c: Likewise.
1954 * nis/nss_compat/compat-pwd.c: Likewise.
1955 * nis/nss_compat/compat-spwd.c: Likewise.
1956 * nis/nss_nis/nis-alias.c: Likewise.
1957 * nis/nss_nis/nis-ethers.c: Likewise.
1958 * nis/nss_nis/nis-grp.c: Likewise.
1959 * nis/nss_nis/nis-hosts.c: Likewise.
1960 * nis/nss_nis/nis-initgroups.c: Likewise.
1961 * nis/nss_nis/nis-network.c: Likewise.
1962 * nis/nss_nis/nis-proto.c: Likewise.
1963 * nis/nss_nis/nis-pwd.c: Likewise.
1964 * nis/nss_nis/nis-rpc.c: Likewise.
1965 * nis/nss_nis/nis-service.c: Likewise.
1966 * nis/nss_nis/nis-spwd.c: Likewise.
1968 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
1970 * nis/ypclnt.c: Try binding dir only first time, could be to old.
1972 * nis/yp_xdr.c: Remove 1024 byte limit.
1973 * nis/ypupdate_xdr.c: Likewise.
1975 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
1978 1998-08-18 Roland McGrath <roland@baalperazim.frob.com>
1980 * Rules (binaries-static, binaries-shared static pattern rules):
1981 Depend on lib%, not just libc%, from $(link-libc{,-static}).
1983 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
1984 this here, overriding Makeconfig generic value so we link against
1987 1998-08-17 Ulrich Drepper <drepper@cygnus.com>
1989 * posix/tstgetopt.c (options): Add NULL entry at end
1990 Patch by Adrian Miranda <ade@psg.com>.
1992 1998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
1994 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
1997 1998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
1999 * elf/elf.h: Add PPC Diab relocations.
2001 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
2003 1998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
2005 * manual/texinfo.tex: Update.
2007 1998-08-07 Geoff Keating <geoffk@ozemail.com.au>
2009 * sysdeps/powerpc/backtrace.c: New file.
2011 1998-08-14 Philip Blundell <pb@nexus.co.uk>
2013 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
2015 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
2017 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2019 * Makefile (install-symbolic-link): Fix spelling.
2021 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2023 * elf/elf.h (SHT_HIOS): Fix value.
2025 1998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2027 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
2028 part of the expansion, this is undefined by the standard.
2030 1998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
2032 * posix/getconf.c: Add support for systems with incomplete confname.h.
2034 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
2036 * sysdeps/posix/wait3.c: Make it work.
2038 1998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2040 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
2041 (elf/ldso_install): Remove.
2043 * elf/Makefile (distribute): Add sln.c.
2045 (others-static): Add sln.
2046 (install-rootsbin): Add sln.
2047 (others-static): Add sln.
2048 (ldso_install): Remove.
2050 1998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2052 * Makerules (install-clean-symbolic-link-list): Make phony.
2053 * Makefile (install-symbolic-link): Make phony. Depend on
2054 subdir_install for parallel makes.
2057 1998-07-22 Ulrich Drepper <drepper@cygnus.com>
2059 * elf/Makefile (distribute): Add sln.c
2061 1998-07-21 07:10 H.J. Lu <hjl@gnu.org>
2063 * elf/sln.c: New file.
2065 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
2066 (install-clean-symbolic-link-list): New target.
2067 (install): Depend on install-clean-symbolic-link-list.
2068 (make-shlib-link): Changed for $(symbolic-link-list).
2070 * Makefile (install-symbolic-link): New target.
2071 (install): Depend on install-symbolic-link.
2073 1998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
2075 * include/unistd.h: Protect against multiple inclusion.
2077 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
2078 is defined, not is glob is defined.
2079 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
2081 1998-08-01 17:18 H.J. Lu <hjl@gnu.org>
2083 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
2084 xdr_string for ut_line, ut_name and ut_host.
2086 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2088 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
2089 /var/mail in accordance with FHS 2.0.
2090 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
2092 1998-08-12 Richard Henderson <rth@cygnus.com>
2094 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
2095 Update aliases for cancelation.
2097 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
2098 playing with symbol versions.
2100 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
2102 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
2103 multiple inclusion protection.
2104 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
2105 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
2106 define all these to 1.
2107 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
2109 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
2111 * sysdeps/mach/usleep.c: Include <unistd.h>.
2112 (usleep): Return void.
2114 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
2116 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
2117 decl to inhibit warning in if_freenameindex defn.
2119 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
2121 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
2123 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
2124 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
2125 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
2126 * sysdeps/mach/usleep.c: Likewise.
2128 * sysdeps/mach/hurd/bind.c (bind): Add a const.
2130 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
2131 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
2132 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
2133 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
2134 * sysdeps/mach/usleep.c (usleep): Likewise.
2135 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
2136 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
2137 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
2138 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
2140 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
2142 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
2145 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
2146 %p arg to fprintf, since `void *' is the right type already.
2148 1998-07-25 19:47 Jose M. Moya <josem@gnu.org>
2150 * sysdeps/mach/hurd/getcwd.c
2151 (_hurd_canonicalize_directory_name_internal): Do not loop forever
2152 for unknown root directories.
2153 (__getcwd): Return NULL when the current root directory could not
2156 1998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
2158 * string/strsignal.c (strsignal): Count real-time signals from zero.
2161 See ChangeLog.8 for earlier changes.