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