Update.
[glibc.git] / ChangeLog
blob6848767d0aada76622c6813ba0f82c2494d0e4fb
1 1998-09-08  Ulrich Drepper  <drepper@cygnus.com>
3         * elf/dl-object.c (_dl_new_object): Store map address in
4         _dl_loaded if _dl_loaded is NULL.
6         * sysdeps/generic/setrlimit64.c: Remove stub warning.
8 1998-09-07  Ulrich Drepper  <drepper@cygnus.com>
10         * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
11         quiet.
12         * db2/btree/bt_cursor.c: Likewise.
13         * db2/common/db_region.db_c: Likewise.
14         * db2/common/db_salloc.db_c: Likewise.
15         * db2/db/db.c: Likewise.
16         * db2/db/db_rec.c: Likewise.
17         * db2/hash/hash.c: Likewise.
18         * db2/hash/hash_page.c: Likewise.
19         * db2/hash/hash_rec.c: Likewise.
20         * db2/log/log_findckp.c: Likewise.
21         * db2/log/log_get.c: Likewise.
22         * db2/log/log_put.c: Likewise.
23         * db2/mp/mp_fget.c: Likewise.
24         * db2/mp/mp_fput.c: Likewise.
25         * db2/mp/mp_region.c: Likewise.
26         * stdlib/strtol.c: Likewise.
27         * string/strcoll.c: Likewise.
28         * string/strxfrm.c: Likewise.
29         * argp/argp-help.c: Likewise.
30         * argp/argp-parse.c: Likewise.
31         * resolv/res_debug.c: Likewise.
33 1998-09-07 09:58  Ulrich Drepper  <drepper@cygnus.com>
35         * math/tgmath.h (scalb): Only define for __USE_MISC or
36         __USE_XOPEN_EXTENDED.  Patch by Zack Weinberg.
38 1998-09-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
40         * libio/stdio.h: Fix comment.
42         * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
43         __USE_ISOC9X.
45 1998-09-06 09:53 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
47         * Makeconfig (+gccwarn): Remove -Wno-parentheses.
49         * elf/dl-open.c: Quiet -Wparentheses warnings.
50         * iconvdata/johab.c: Likewise.
51         * iconvdata/uhc.c: Likewise.
52         * inet/inet_net.c: Likewise.
53         * io/fts.c: Likewise.
54         * locale/newlocale.c: Likewise.
55         * misc/getttyent.c: Likewise.
56         * misc/mntent_r.c: Likewise.
57         * misc/ttyslot.c: Likewise.
58         * nscd/nscd_conf.c: Likewise.
59         * nss/nsswitch.c: Likewise.
60         * resolv/gethnamaddr.c: Likewise.
61         * resolv/nsap_addr.c: Likewise.
62         * resolv/res_debug.c: Likewise.
63         * stdio-common/_itoa.c: Likewise.
64         * stdlib/strtod.c: Likewise.
65         * string/strverscmp.c: Likewise.
66         * sunrpc/svc.c: Likewise.
67         * sysdeps/libm-ieee754/e_cosh.c: Likewise.
68         * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
69         * sysdeps/libm-ieee754/e_sinh.c: Likewise.
70         * sysdeps/posix/getaddrinfo.c: Likewise.
72 1998-09-06 15:13  Ulrich Drepper  <drepper@cygnus.com>
74         * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
75         for use of global scope.
76         * elf/dlvsym.c (dlvsym_doit): Likewise.
78 1998-09-02  Paul Eggert  <eggert@twinsun.com>
80         * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
81         copy the redundant bytes at the end of the format as-is; don't
82         just copy their first byte and then rescan, as that might get
83         us an encoding error.
84         Account correctly for the length of multibyte sequences in the
85         format.
87 1998-09-03 20:14  Tim Waugh  <tim@cyberelk.demon.co.uk>
89         * posix/wordexp-test.c: Add tests for different IFS values.
90         Change unquoted-newline test so that newline is not in IFS.
92         * posix/wordexp.c (wordexp): Correct null/unset mix-up when
93         determining IFS characters.  Return WRDE_BADCHAR for unquoted
94         special characters _except_ if they are separators.
96 1998-09-06 10:56  Ulrich Drepper  <drepper@cygnus.com>
98         * include/tgmath.h: New file.
100         * libio/stdio.h: Correct reversed #ifs.
101         Patch by Zack Weinberg.
103         * manual/creature.texi: Better explain reason for feature select
104         macros.
105         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
107 1998-09-06 10:25 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
109         * include/alloca.h: Add multiple-inclusion guard.
110         * include/db.h: Likewise.
111         * include/db_185.h: Likewise.
112         * include/dlfcn.h: Likewise.
113         * include/fcntl.h: Likewise.
114         * include/grp.h: Likewise.
115         * include/libintl.h: Likewise.
116         * include/mntent.h: Likewise.
117         * include/pwd.h: Likewise.
118         * include/sched.h: Likewise.
119         * include/search.h: Likewise.
120         * include/setjmp.h: Likewise.
121         * include/shadow.h: Likewise.
122         * include/signal.h: Likewise.
123         * include/stdio.h: Likewise.
124         * include/stdlib.h: Likewise.
125         * include/string.h: Likewise.
126         * include/termios.h: Likewise.
127         * include/time.h: Likewise.
128         * include/ulimit.h: Likewise.
129         * include/utmp.h: Likewise.
130         * include/wchar.h: Likewise.
131         * include/sys/file.h: Likewise.
132         * include/sys/gmon.h: Likewise.
133         * include/sys/ioctl.h: Likewise.
134         * include/sys/mman.h: Likewise.
135         * include/sys/resource.h: Likewise.
136         * include/sys/select.h: Likewise.
137         * include/sys/socket.h: Likewise.
138         * include/sys/statfs.h: Likewise.
139         * include/sys/time.h: Likewise.
140         * include/sys/times.h: Likewise.
141         * include/sys/wait.h: Likewise.
143 1998-09-06 09:00  Ulrich Drepper  <drepper@cygnus.com>
145         * version.h (VERSION): Bump to 2.0.96.
147         Rewrite runtime linker to be truly thread-safe.  There is now no
148         global variable specifying the scope.  We create all needed
149         scopes at the time the link maps are created.
150         * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
151         * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
152         l_symbolic_searchlist, l_scope, and l_local_scope elements in
153         struct link_map.
154         * elf/dl-close.c: Rewritten accordingly.
155         * elf/dl-deps.c: Likewise.
156         * elf/dl-error.c: Likewise.
157         * elf/dl-init.c: Likewise.
158         * elf/dl-load.c: Likewise.
159         * elf/dl-lookup.c: Likewise.
160         * elf/dl-object.c: Likewise.
161         * elf/dl-open.c: Likewise.
162         * elf/dl-reloc.c: Likewise.
163         * elf/dl-runtime.c: Likewise.
164         * elf/dl-support.c: Likewise.
165         * elf/dl-symbol.c: Likewise.
166         * elf/dl-version.c: Likewise.
167         * elf/dlsym.c: Likewise.
168         * elf/dlvsym.c: Likewise.
169         * elf/ldsodefs.h: Likewise.
170         * elf/rtld.c: Likewise.
171         * iconv/gconv_dl.c: Likewise.
172         * nss/nsswitch.c: Likewise.
173         * sysdeps/i386/dl-machine.h: Likewise.
174         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
176         * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
177         Define RTLD_DEFAULT.
179 1998-09-05  Mark Kettenis  <kettenis@phys.uva.nl>
181         * sysdeps/mach/hurd/i386/init-first.c (init1): Call
182         __getopt_clean_environment with __environ instead of envp.
184 1998-09-05  Roland McGrath  <roland@baalperazim.frob.com>
186         * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
188         * string/argz-extract.c (__argz_extract): Add de-consting cast for
189         setting results.
191         * string/argz.h (argz_next): Add de-consting cast for return.
192         * string/argz-next.c (__argz_next): Likewise.
194         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
195         Don't add netinet/udp.h, netinet/ip_icmp.h here.
196         * sysdeps/gnu/Makefile: Do it here instead.
197         * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
198         * sysdeps/gnu/Dist: ... to here.
200         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
201         sysdeps/unix/sysv/linux/netinet/tcp.h,
202         sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
204 1998-09-04  Roland McGrath  <roland@baalperazim.frob.com>
206         * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
207         * string/argz-next.c, string/argz-extract.c: Fix defns.
209 1998-09-03  Roland McGrath  <roland@baalperazim.frob.com>
211         * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
213         * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
214         __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
215         * sysdeps/generic/sysd-stdio.c: Likewise.
217 1998-09-02  Ulrich Drepper  <drepper@cygnus.com>
219         * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
220         (_dl_map_object_from_fd): Make NAME argument const.
221         Remove last parameter in _dl_new_object call.
222         (print_search_path): Correct construction of composed path name.
223         (_dl_map_object): Prevent looking at RPATH of the main map twice.
224         Remove last parameter in _dl_new_object call.
225         * elf/dl-object.c: Remove last parameter.  Determine whether create
226         origin entry based on empty realname.  Handle file in root directory
227         correctly.
228         * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
229         * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
230         Remove last parameter in _dl_new_object call.
231         * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
232         * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
234 1998-09-01  Ulrich Drepper  <drepper@cygnus.com>
236         * elf/dl-close.c (_dl_close): Add more comments and correct some.
237         Free l_searchlist and l_dupsearchlist.
239         * debug/catchsegv.sh: Add one more pair of quotes.
241 1998-09-01 17:53  Ulrich Drepper  <drepper@cygnus.com>
243         * elf/dl-load.c (add_name_to_object): Change return type to void and
244         make NAME parameter const.  Allocate room for NAME in same memory
245         block used for l_libname entry.
246         (_dl_map_object_from_fd): Don't free NAME on failure.
247         (map_segment): Pass SONAME to add_name_to_object, not a copy.
248         (_dl_map_object): Don't create copy of NAME.  Pass NAME to
249         _dl_map_object_from_fd.
250         * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
251         memory block used for l_libname entry.
252         * elf/dl-close.c: Adjust free()ing for this change.
254 1998-09-01 15:36  Ulrich Drepper  <drepper@cygnus.com>
256         * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
258         * malloc/mtrace.c: Add bug report address.  Update email address.
259         Add more @XXX@ to print correct address size.
261         * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
262         really initialized.
264         * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
265         for munmap call instead of examining phdr again.
266         Free all malloc()ed strings and arrays.
268 1998-08-09  Geoff Keating  <geoffk@ozemail.com.au>
270         * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
271         dl-machine.h.
272         * sysdeps/powerpc/dl-machine.c: New file.
273         * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
274         files.  Revise ELF_PREFERRED_ADDRESS to take account of
275         the new mapping information (fixes bug involving huge bloated
276         web browser).  Set ELF_MACHINE_PLTREL_OVERLAP.
277         * sysdeps/powerpc/dl-start.S: New file.
279         * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
280         l_map_end.
281         * elf/do-rel.h: Call elf_machine_rel only once (to save space).
282         * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
283         others.  Call elf_dynamic_do_##reloc only once (to save even more
284         space).
285         * elf/link.h: Add new members l_map_start and l_map_end to keep
286         track of the memory map.
287         * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
288         the executable.
290 1998-09-01 11:53  Ulrich Drepper  <drepper@cygnus.com>
292         * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
293         Reported by Andreas Jaeger.
295         * posix/glob.h: Use __size_t instead of size_t in definitions and
296         make sure this is defined.
298 1998-09-01 10:34  Ulrich Drepper  <drepper@cygnus.com>
300         * manual/locale.texi: Almost complete rewrite.  Document more functions
301         and functionality.
302         * manual/arith.texi: Correct reference.
303         * manual/string.texi: Pretty printing.
305         * manual/texinfo.tex: Update from last available version.
307 1998-08-31 22:44  Ulrich Drepper  <drepper@cygnus.com>
309         * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
310         invalid password.
311         (_nss_nis_getpwuid_r): Likewise.
312         Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
314         * inet/rcmd.c: Implement netgroup support.
315         Patch by Dick Streefland <dick_streefland@tasking.com>.
317 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
319         * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
320         object on the list is removed.  Don't use this code for PIC.
321         Reported by HJ Lu [PR libc/770].
323 1998-08-31 15:56  Ulrich Drepper  <drepper@cygnus.com>
325         * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
327         * include/stdio.h: Add __vsscanf.
329         * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
330         __USE_ISOC9X.
331         Remove __vsscanf declaration.
332         Always declare fgetpos and fsetpos.
334         * math/math.h: Define isinf as macro.
335         * math/bits/mathcalls.h: Change to declare __isinf all the time.
336         Don't declare scalb for ISO C 9x.
338         * math/tgmath.h: Define fma.  Rewrite the underlying macros.
340         * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
342         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
343         sys/ucontext.h.
345         * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
346         macros.
348 1998-08-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
350         * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
351         Reported by jreising@frequentis.com [PR libc/767].
353 1998-08-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
355         * io/lockf.c (lockf): Move initilisation of fl.l_whence and
356         fl.l_start at beginning of function.
357         Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
359 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
361         * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
362         Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
364         * nscd/nscd.init: Make it work in RedHat systems.
365         Patch by Christian Gafton.
367 1998-08-29  Philip Blundell  <philb@gnu.org>
369         * catgets/Makefile: Don't try to run test programs when
370         cross-compiling.
372 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
374         * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
375         Reported by Zack Weinberg.
377 1998-08-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
379         * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
380         * elf/Makefile (distribute): Remove ldd.sh.in.
382 1998-08-31 11:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
384         * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
385         variable.
387 1998-08-29  Ulrich Drepper  <drepper@cygnus.com>
389         * sysdeps/i386/register-dump.h: Move to ...
390         * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
392 1998-08-28 22:49  Ulrich Drepper  <drepper@cygnus.com>
394         * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
395         with load address, not map address.
396         * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
397         parameter and use this value.
398         * sysdeps/arm/dl-machine.h: Likewise.
399         * sysdeps/i386/dl-machine.h: Likewise.
400         * sysdeps/m68k/dl-machine.h: Likewise.
401         * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
402         parameter.
403         * sysdeps/powerpc/dl-machine.h: Likewise
404         * sysdeps/sparc/sparc32/dl-machine.h: Likewise
405         * sysdeps/sparc/sparc64/dl-machine.h: Likewise
407 1998-08-28 09:22  Ulrich Drepper  <drepper@cygnus.com>
409         * elf/rtld.c (process_envvars): Fix copy&paste error.
411         * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
412         memalign hook.
413         (realloc_hook_ini): Don't overwrite memalign hook.
414         (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
415         Reported by Philippe Troin <phil@fifi.org>.
417         * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
418         Patch by Philippe Troin <phil@fifi.org>.
420 1998-08-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
422         * sysdeps/generic/segfault.c (install_handler): Protect the
423         non-POSIX signals with #ifdef.
424         (catch_segfault): Add missing mode parameter for open.
425         * debug/catchsegv.sh: Avoid termination message from shell.  Allow
426         other termination signals.
428 1998-08-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
430         * debug/Makefile (distribute): Add register-dump.h.
432 1998-08-28 10:41  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
434         * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
436 1998-08-27 19:42  Ulrich Drepper  <drepper@cygnus.com>
438         * elf/Makefile (distribute): Add dl-origin.h.
439         * sysdeps/generic/dl-origin.h: New file.
440         * sysdeps/unix/sysv/linux/dl-origin.h: New file.
441         * elf/link.h (struct link_map): Add l_origin field.
442         * elf/dl-load.c (expand_dynamic_string_token): New function.
443         (decompose_path): Remove WHERE argument, take link map pointer instead.
444         Call expand_dynamic_string_token instead of local_strdup to make copy
445         of rpath.
446         (_dl_init_paths): Call decompose_path with correct argument.
447         (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
448         not defined.
449         Check EI_OSABI and EI_ABIVERSION fields in header.
450         Call _dl_new_object with extra argument.
451         (_dl_map_object): Call decompose_path with correct argument.
452         Call expand_dynamic_string_token instead of local_strdup to also
453         expand DST.
454         Call _dl_new_object with extra argument.
455         * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
456         but the main one if new argument is nonzero.
457         * elf/ldsodefs.h: Adjust for _dl_new_object change.
458         * elf/dl-support.c: Define _dl_origin_path.
459         * elf/rtld.c: Likewise.  Set _dl_origin_path based on LD_ORIGIN_PATH.
460         (dl_main): Call _dl_new_object with extra argument.
462         * elf/dl-close (_dl_close): Free l_name and l_origin.
464         * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
465         modifier in asm, not c.
467         * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
468         to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
470 1998-08-26 17:48  Ulrich Drepper  <drepper@cygnus.com>
472         * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
473         variable so that map can be freed.
474         Reported by Philippe Troin <phil@fifi.org>.
476         * elf/dl-open.c (dl_open_worker): Correct test for extending global
477         scope array.
478         Patch by Philippe Troin <phil@fifi.org>.
480 1998-08-26  Geoff Keating  <geoffk@ozemail.com.au>
482         * sysdeps/powerpc/register-dump.h: Rewrite.  Much nicer this way.
483         Don't call writev() with a 100-element vector.
484         * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
485         return address.
487         * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
488         In particular, set __libc_stack_end.
489         * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
490         undefined.  Fix copyright notice.
492 1998-08-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
494         * math/Makefile (gmp-objs): New variable.
495         ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
496         Depend on it.
497         (tests): Add atest-exp atest-sincos atest-exp2.
498         (tests-static): Remove atest-exp atest-sincos atest-exp2.
500 1998-08-25  Ulrich Drepper  <drepper@cygnus.com>
502         * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
503         to toplevel.
504         (_dl_unload_cache): New function.
505         * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
506         * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
507         * elf/rtld.c (dl_main): Unload map file before jumping to user code.
509         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
510         Correct comment for O_LARGEFILE.
511         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
512         Change O_LARGEFILE to correct value.
514 1998-08-25 14:34  Ulrich Drepper  <drepper@cygnus.com>
516         * libio/iogetline.c (_IO_getline_info): Don't read anything for
517         N == 0.  Patch by HJ Lu.
519 1998-08-25 11:43  Ulrich Drepper  <drepper@cygnus.com>
521         * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
523 1998-08-25  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
525         * argp/argp.h: Use __inline__ not inline.
527         * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
528         an input register as being clobbered.
529         * sysdeps/i386/memset.c (memset): Likewise.
530         * sysdeps/i386/bzero.c (__bzero): Likewise.
531         * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
533 1998-08-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
535         * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
536         Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
538 1998-08-24 16:34  Ulrich Drepper  <drepper@cygnus.com>
540         * debug/catchsegv.sh: Handle text preceding backtrace better.
541         * sysdeps/generic/segfault.c: Allow register dump.  Allow handler
542         to be installed for other signals than SIGSEGV.
543         * sysdeps/generic/register-dump.h: New file.
544         * sysdeps/i386/register-dump.h: New file.
545         * sysdeps/powerpc/register-dump.h: New file.
547         * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
548         sigcontextinfo.h.
549         * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
551 1998-08-24  Geoff Keating  <geoffk@ozemail.com.au>
553         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
555 1998-08-09  Geoff Keating  <geoffk@ozemail.com.au>
557         * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
558         * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
559         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
560         getresuid, getresgid.
562 1998-08-16  Geoff Keating  <geoffk@ozemail.com.au>
564         * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs.  Set up stack
565         pointer in userland.
567 1998-08-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
569         * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
570         and fix value.
572 1998-08-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
574         * elf/ldd.bash.in: Add missing quotes around $file.  Make loop
575         over arguments Bourne shell compatible.  Don't exit unsuccessfully
576         if nonelf returns successfully.  Avoid duplicating most of the
577         script.
578         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
579         around $file.
581 1998-08-24 10:37  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
583         * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
584         sys/reg.h.
585         * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
586         * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
588 1998-08-23  Ulrich Drepper  <drepper@cygnus.com>
590         * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
591         __modify_ldt and modify_ldt.
592         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
594         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
595         Use orl $-1 instead of movl $-1 to save two bytes.
596         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
597         Likewise.
599 1998-08-17  H.J. Lu  <hjl@gnu.org>
601         * libio/Versions (_IO_do_write, _IO_file_attach,
602         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
603         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
604         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
605         _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
607         * libio/fileops.c (_IO_do_write, _IO_file_attach,
608         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
609         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
610         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
611         _IO_file_write, _IO_file_xsputn): Change the prefix to
612         "_IO_new_". Added to GLIBC_2.1.
614         * libio/libioP.h (_IO_do_write, _IO_file_attach,
615         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
616         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
617         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
618         _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
619         "_IO_new_".
621         * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
622         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
623         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
624         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
625         _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
627 1998-08-23  Richard Henderson  <rth@cygnus.com>
629         * Makeconfig (LDFLAGS): Remove.
631         * csu/initfini.c: Return to .text before __gmon_start__.
633         * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
634         (STO_MIPS_*): Rename from STO_*.
635         (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
636         (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
638         * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
639         (main): e3s is negative on zero.
640         * math/atest-exp2.c: Likewise.
641         * math/atest-sincos.c: Likewise.
643 1998-08-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
645         * Makerules (install): Add comment about absolute paths.
647 1998-08-23  Ulrich Drepper  <drepper@cygnus.com>
649         * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
650         array to NUL to handle maxlen==1 case correctly.
651         Patch by HJ Lu.
653 1998-08-23  Richard Henderson  <rth@cygnus.com>
655         * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
656         * sysdeps/alpha/elf/crtend.S: Likewise.
657         * sysdeps/alpha/elf/start.S: Likewise.
659         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
660         non-standard pv usage.
662         * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
663         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
664         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
665         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
666         * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
667         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
668         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
669         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
670         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
671         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
672         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
674         * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
675         a finite non-denormal, deferring to the full IEEE version otherwise.
677         * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
678         Early out for -0.  Optimize for !_IEEE_FP_INEXACT.
679         * sysdeps/alpha/fpu/s_floor.c: New.
680         * sysdeps/alpha/fpu/s_floorf.c: New.
681         * sysdeps/alpha/fpu/s_ceil.c: New.
682         * sysdeps/alpha/fpu/s_ceilf.c: New.
684 1998-08-22  Philip Blundell  <philb@gnu.org>
686         * sysdeps/arm/bits/string.h: New file.
688 1998-08-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
690         * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
691         document it.
693         * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
694         test for recent Linux 2.1.100+ headers.
696 1998-08-21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
698         * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
700 1998-08-21 17:21  Ulrich Drepper  <drepper@cygnus.com>
702         * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
704 1998-08-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
706         * Makefile (elf/ldso_install): Put back.  The problem still persists.
707         * elf/Makefile (ldso_install): Likewise.
709 1998-08-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
711         * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
712         create weak alias.
713         * include/db.h: Declare __nss_db_open.
714         * db2/Versions: Export it.
716         * db2/makedb.c: Convert to use db2 API.
717         * nss/nss_db/db-XXX.c: Likewise.
718         * nss/nss_db/db-netgrp.c: Likewise.
719         * nss/nss_db/db-alias.c: Likewise.
720         (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
722 1998-08-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
724         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
725         sys_setresuid, already built automatically (or not).
726         * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
727         instead of __syscall_setresuid and add back setresuid.
728         * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
729         __syscall_setresuid.
731 1998-08-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
733         * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
735 1998-08-20  Ulrich Drepper  <drepper@cygnus.com>
737         * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
738         BASH-ONLY marked region.
739         * elf/ldd.bash.in: Remove special BASH-ONLY markers.
741 1998-02-20 17:54  H.J. Lu  <hjl@gnu.org>
743         * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
744         _IO_SYSSEEK fails.
746         * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
748         * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
749         element.
751 1998-08-21  Roland McGrath  <roland@baalperazim.frob.com>
753         * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
754         with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
755         * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
756         (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
757         (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
758         those magic comments, and to use /bin/sh for @BASH@.
759         (bash-ldd-rewrite): Use $(common-ldd-rewrite).
760         * elf/ldd.sh.in: File removed.
762 1998-08-20 20:07  Ulrich Drepper  <drepper@cygnus.com>
764         * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
765         cast them to unsigned long int.
766         * pwd/putpwent.c (putpwent): Likewise.
767         Patch by John Tobey <jtobey@banta-im.com>.
769 1998-08-20 17:14  H.J. Lu  <hjl@gnu.org>
771         * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
772         _IO_pos_BAD.
774 1998-02-20 17:54  H.J. Lu  <hjl@gnu.org>
776         * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
777         _IO_SYSSEEK fails.
779 1998-08-20 19:14  Ulrich Drepper  <drepper@cygnus.com>
781         * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
782         Add umount and umount2.
783         * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
784         * sysdeps/unix/sysv/linux/umount.S: New file.
785         * sysdeps/unix/sysv/linux/umount2.S: New file.
786         * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
787         Define MNT_FORCE.
789         * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
790         Add sys/sendfile.h.
791         * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
792         * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
794         * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
796         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
797         sendfile.
799 1998-08-20 16:01  Ulrich Drepper  <drepper@cygnus.com>
801         * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
802         * elf/ldd.bash.in: Likewise.
804         * elf/sln.c: Avoid warning for no main prototype.
806         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
807         O_WRITE.
808         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
809         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
811         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
812         F_GETSIG.
813         * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
814         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
815         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
817 1998-08-20  Philip Blundell  <pb@nexus.co.uk>
819         * sysdeps/arm/fpu/ieee754.h: Move to...
820         * sysdeps/arm/ieee754.h: ... here.
822         * sysdeps/arm/__longjmp.S: Put return value in correct register.
823         Don't set the condition flags unnecessarily.
824         * sysdeps/arm/fpu/__longjmp.S: Likewise.  Restore floating point
825         registers correctly.
827         * sysdeps/arm/dl-machine.h: Fix problems with profiling code
828         (patch from Scott Bambrough).
830         * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
832         * csu/initfini.c (_init): Don't check whether __gmon_start__ is
833         NULL, just call it unconditionally.
834         (__gmon_start__): Provide stub version as a weak symbol.
836 1998-07-30  Philip Blundell  <philb@gnu.org>
838         * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
839         by Scott Bambrough)
841         * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
842         like `@' in .type directives.
844         * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
845         * sysdeps/arm/bsd-_setjmp.S: Likewise.
847         * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
849 1998-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
851         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
852         (F_GETOWN): Likewise.
854         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
855         Linux 2.1.117).
857 1998-08-20  Ulrich Drepper  <drepper@cygnus.com>
859         * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
860         already defined.
862 1998-08-18  Ulrich Drepper  <drepper@cygnus.com>
864         * include/features.h: Define __USE_EXTERN_INLINES for recent
865         enough gcc.
866         * argp/argp.h: Define extern inline functions only if
867         __USE_EXTERN_INLINES is defined.
868         * libio/stdio.h: Likewise.
869         * math/math.h: Likewise.
870         * stdlib/stdlib.h: Likewise.
871         * string/argz.h: Likewise.
872         * sysdeps/generic/bits/sigset.h: Likewise.
873         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
874         * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
875         * sysdeps/wordsize-32/inttypes.h: Likewise.
876         * sysdeps/wordsize-64/inttypes.h: Likewise.
877         * wcsmbs/wchar.h: Likewise.
879         * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
880         to allow compilation without optimization.
882 1998-08-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
884         * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
885         more entries.
886         * nis/nss_compat/compat-initgroups.c: Likewise.
887         * nis/nss_compat/compat-pwd.c: Likewise.
888         * nis/nss_compat/compat-spwd.c: Likewise.
889         * nis/nss_nis/nis-alias.c: Likewise.
890         * nis/nss_nis/nis-ethers.c: Likewise.
891         * nis/nss_nis/nis-grp.c: Likewise.
892         * nis/nss_nis/nis-hosts.c: Likewise.
893         * nis/nss_nis/nis-initgroups.c: Likewise.
894         * nis/nss_nis/nis-network.c: Likewise.
895         * nis/nss_nis/nis-proto.c: Likewise.
896         * nis/nss_nis/nis-pwd.c: Likewise.
897         * nis/nss_nis/nis-rpc.c: Likewise.
898         * nis/nss_nis/nis-service.c: Likewise.
899         * nis/nss_nis/nis-spwd.c: Likewise.
901         * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
903         * nis/ypclnt.c: Try binding dir only first time, could be to old.
905         * nis/yp_xdr.c: Remove 1024 byte limit.
906         * nis/ypupdate_xdr.c: Likewise.
908         * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
909         wrong data.
911 1998-08-18  Roland McGrath  <roland@baalperazim.frob.com>
913         * Rules (binaries-static, binaries-shared static pattern rules):
914         Depend on lib%, not just libc%, from $(link-libc{,-static}).
916         * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
917         this here, overriding Makeconfig generic value so we link against
918         the RPC libs.
920 1998-08-17  Ulrich Drepper  <drepper@cygnus.com>
922         * posix/tstgetopt.c (options): Add NULL entry at end
923         Patch by Adrian Miranda <ade@psg.com>.
925 1998-08-15 18:21  Ulrich Drepper  <drepper@cygnus.com>
927         * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION.  Move EI_PAD
928         to 9.
930 1998-08-15 14:11  Ulrich Drepper  <drepper@cygnus.com>
932         * elf/elf.h: Add PPC Diab relocations.
934         * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
936 1998-08-14 10:08  Ulrich Drepper  <drepper@cygnus.com>
938         * manual/texinfo.tex: Update.
940 1998-08-07  Geoff Keating  <geoffk@ozemail.com.au>
942         * sysdeps/powerpc/backtrace.c: New file.
944 1998-08-14  Philip Blundell  <pb@nexus.co.uk>
946         * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
947         sigjmp_save.
948         * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
950 1998-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
952         * Makefile (install-symbolic-link): Fix spelling.
954 1998-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
956         * elf/elf.h (SHT_HIOS): Fix value.
958 1998-08-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
960         * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
961         part of the expansion, this is undefined by the standard.
963 1998-08-13 19:41  Ulrich Drepper  <drepper@cygnus.com>
965         * posix/getconf.c: Add support for systems with incomplete confname.h.
967         * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
969         * sysdeps/posix/wait3.c: Make it work.
971 1998-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
973         * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
974         (elf/ldso_install): Remove.
976         * elf/Makefile (distribute): Add sln.c.
977         (others): Add sln.
978         (others-static): Add sln.
979         (install-rootsbin): Add sln.
980         (others-static): Add sln.
981         (ldso_install): Remove.
983 1998-07-24 10:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
985         * Makerules (install-clean-symbolic-link-list): Make phony.
986         * Makefile (install-symbolic-link): Make phony.  Depend on
987         subdir_install for parallel makes.
990 1998-07-22  Ulrich Drepper  <drepper@cygnus.com>
992         * elf/Makefile (distribute): Add sln.c
994 1998-07-21 07:10  H.J. Lu  <hjl@gnu.org>
996         * elf/sln.c: New file.
998         * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
999         (install-clean-symbolic-link-list): New target.
1000         (install): Depend on install-clean-symbolic-link-list.
1001         (make-shlib-link): Changed for $(symbolic-link-list).
1003         * Makefile (install-symbolic-link): New target.
1004         (install): Depend on install-symbolic-link.
1006 1998-08-12 17:03  Ulrich Drepper  <drepper@cygnus.com>
1008         * include/unistd.h: Protect against multiple inclusion.
1010         * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
1011         is defined, not is glob is defined.
1012         * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
1014 1998-08-01 17:18  H.J. Lu  <hjl@gnu.org>
1016         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
1017         xdr_string for ut_line, ut_name and ut_host.
1019 1998-08-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1021         * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
1022         /var/mail in accordance with FHS 2.0.
1023         Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
1025 1998-08-12  Richard Henderson  <rth@cygnus.com>
1027         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
1028         Update aliases for cancelation.
1030         * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
1031         playing with symbol versions.
1033 1998-08-12  Roland McGrath  <roland@baalperazim.frob.com>
1035         * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
1036         multiple inclusion protection.
1037         (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
1038         _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
1039         define all these to 1.
1040         (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
1042 1998-08-12  Roland McGrath  <roland@baalperazim.frob.com>
1044         * sysdeps/mach/usleep.c: Include <unistd.h>.
1045         (usleep): Return void.
1047 1998-08-11  Roland McGrath  <roland@baalperazim.frob.com>
1049         * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
1050         decl to inhibit warning in if_freenameindex defn.
1052         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
1054         * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
1056         * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
1057         * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
1058         * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
1059         * sysdeps/mach/usleep.c: Likewise.
1061         * sysdeps/mach/hurd/bind.c (bind): Add a const.
1063         * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
1064         * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
1065         * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
1066         * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
1067         * sysdeps/mach/usleep.c (usleep): Likewise.
1068         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1069         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1070         * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
1071         * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
1073 1998-08-11  Roland McGrath  <roland@baalperazim.frob.com>
1075         * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
1076         (glob64): Fix typo.
1078         * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
1079         %p arg to fprintf, since `void *' is the right type already.
1081 1998-07-25 19:47  Jose M. Moya  <josem@gnu.org>
1083         * sysdeps/mach/hurd/getcwd.c
1084         (_hurd_canonicalize_directory_name_internal): Do not loop forever
1085         for unknown root directories.
1086         (__getcwd): Return NULL when the current root directory could not
1087         be reached.
1089 1998-08-11 18:39  Ulrich Drepper  <drepper@cygnus.com>
1091         * string/strsignal.c (strsignal): Count real-time signals from zero.
1094 See ChangeLog.8 for earlier changes.