Update.
[glibc.git] / ChangeLog
blob8ea1b50062abb738d9b511a2592ac5954690c0c2
1 1998-09-09  Mark Kettenis  <kettenis@phys.uva.nl>
3         * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
4         the special `-1' pointer.
6 1998-09-09 09:32  Ulrich Drepper  <drepper@cygnus.com>
8         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
9         inline.
11 1998-09-07  Paul Eggert  <eggert@twinsun.com>
13         * time/mktime.c (__EXTENSIONS__): Define if not defined.
14         (_REENTRANT): Remove.  It has undesirable consequences in
15         Solaris 2.6 (e.g. it turns off the putc macro).  Defining
16         __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
17         is what we want.
18         * time/strftime.c: Likewise.
20 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
22         * elf/dl-error.c: Fix spelling.
24 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
26         * stdlib/strfmon.c: Quiet -Wparentheses warnings.
27         * stdio-common/_itoa.c: Likewise.
28         * stdio-common/printf_fp.c: Likewise.
29         * stdio-common/vfscanf.c: Likewise.
30         * wcsmbs/wcstok.c: Likewise.
31         * sysdeps/generic/glob.c: Likewise.
32         * posix/getopt.c: Likewise.
33         * sysdeps/posix/getaddrinfo.c: Likewise.
34         * posix/wordexp.c: Likewise.
35         * io/ftw.c: Likewise.
36         * io/fts.c: Likewise.
37         * misc/getpass.c: Likewise.
38         * iconv/gconv_conf.c: Likewise.
39         * argp/argp-fmtstream.c: Likewise.
40         * argp/argp-help.c: Likewise.
41         * elf/dl-load.c: Likewise.
42         * locale/programs/stringtrans.c: Likewise.
43         * catgets/gencat.c: Likewise.
44         * posix/getconf.c: Likewise.
45         * iconv/gconv_conf.c: Likewise.
46         * iconv/iconv_prog.c: Likewise.
48         * string/strcoll.c: Optimize a few expressions.
49         * string/strxfrm.c: Likewise.
51 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
53         * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
54         level to avoid uninit variable warning.
56 1998-09-09 10:34  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
58         * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
59         instead of _dl_default_scope[2] as argument to _dl_init_next.
61         * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
62         C9x macro.
64 1998-09-08  Ulrich Drepper  <drepper@cygnus.com>
66         Fix compatibility problems introduced in last change.
67         * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
68         defined.
69         * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
70         -DWEAK_GMON_START to CFLAGS-initfini.s.
72         * elf/dl-object.c (_dl_new_object): Store map address in
73         _dl_loaded if _dl_loaded is NULL.
74         * elf/rtld.c (dl_main): Don't update _dl_loaded here.
76         * sysdeps/generic/setrlimit64.c: Remove stub warning.
78 1998-09-07  Ulrich Drepper  <drepper@cygnus.com>
80         * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
81         quiet.
82         * db2/btree/bt_cursor.c: Likewise.
83         * db2/common/db_region.db_c: Likewise.
84         * db2/common/db_salloc.db_c: Likewise.
85         * db2/db/db.c: Likewise.
86         * db2/db/db_rec.c: Likewise.
87         * db2/hash/hash.c: Likewise.
88         * db2/hash/hash_page.c: Likewise.
89         * db2/hash/hash_rec.c: Likewise.
90         * db2/log/log_findckp.c: Likewise.
91         * db2/log/log_get.c: Likewise.
92         * db2/log/log_put.c: Likewise.
93         * db2/mp/mp_fget.c: Likewise.
94         * db2/mp/mp_fput.c: Likewise.
95         * db2/mp/mp_region.c: Likewise.
96         * stdlib/strtol.c: Likewise.
97         * string/strcoll.c: Likewise.
98         * string/strxfrm.c: Likewise.
99         * argp/argp-help.c: Likewise.
100         * argp/argp-parse.c: Likewise.
101         * resolv/res_debug.c: Likewise.
103 1998-09-07 09:58  Ulrich Drepper  <drepper@cygnus.com>
105         * math/tgmath.h (scalb): Only define for __USE_MISC or
106         __USE_XOPEN_EXTENDED.  Patch by Zack Weinberg.
108 1998-09-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
110         * libio/stdio.h: Fix comment.
112         * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
113         __USE_ISOC9X.
115 1998-09-06 09:53 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
117         * Makeconfig (+gccwarn): Remove -Wno-parentheses.
119         * elf/dl-open.c: Quiet -Wparentheses warnings.
120         * iconvdata/johab.c: Likewise.
121         * iconvdata/uhc.c: Likewise.
122         * inet/inet_net.c: Likewise.
123         * io/fts.c: Likewise.
124         * locale/newlocale.c: Likewise.
125         * misc/getttyent.c: Likewise.
126         * misc/mntent_r.c: Likewise.
127         * misc/ttyslot.c: Likewise.
128         * nscd/nscd_conf.c: Likewise.
129         * nss/nsswitch.c: Likewise.
130         * resolv/gethnamaddr.c: Likewise.
131         * resolv/nsap_addr.c: Likewise.
132         * resolv/res_debug.c: Likewise.
133         * stdio-common/_itoa.c: Likewise.
134         * stdlib/strtod.c: Likewise.
135         * string/strverscmp.c: Likewise.
136         * sunrpc/svc.c: Likewise.
137         * sysdeps/libm-ieee754/e_cosh.c: Likewise.
138         * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
139         * sysdeps/libm-ieee754/e_sinh.c: Likewise.
140         * sysdeps/posix/getaddrinfo.c: Likewise.
142 1998-09-06 15:13  Ulrich Drepper  <drepper@cygnus.com>
144         * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
145         for use of global scope.
146         * elf/dlvsym.c (dlvsym_doit): Likewise.
148 1998-09-02  Paul Eggert  <eggert@twinsun.com>
150         * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
151         copy the redundant bytes at the end of the format as-is; don't
152         just copy their first byte and then rescan, as that might get
153         us an encoding error.
154         Account correctly for the length of multibyte sequences in the
155         format.
157 1998-09-03 20:14  Tim Waugh  <tim@cyberelk.demon.co.uk>
159         * posix/wordexp-test.c: Add tests for different IFS values.
160         Change unquoted-newline test so that newline is not in IFS.
162         * posix/wordexp.c (wordexp): Correct null/unset mix-up when
163         determining IFS characters.  Return WRDE_BADCHAR for unquoted
164         special characters _except_ if they are separators.
166 1998-09-06 10:56  Ulrich Drepper  <drepper@cygnus.com>
168         * include/tgmath.h: New file.
170         * libio/stdio.h: Correct reversed #ifs.
171         Patch by Zack Weinberg.
173         * manual/creature.texi: Better explain reason for feature select
174         macros.
175         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
177 1998-09-06 10:25 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
179         * include/alloca.h: Add multiple-inclusion guard.
180         * include/db.h: Likewise.
181         * include/db_185.h: Likewise.
182         * include/dlfcn.h: Likewise.
183         * include/fcntl.h: Likewise.
184         * include/grp.h: Likewise.
185         * include/libintl.h: Likewise.
186         * include/mntent.h: Likewise.
187         * include/pwd.h: Likewise.
188         * include/sched.h: Likewise.
189         * include/search.h: Likewise.
190         * include/setjmp.h: Likewise.
191         * include/shadow.h: Likewise.
192         * include/signal.h: Likewise.
193         * include/stdio.h: Likewise.
194         * include/stdlib.h: Likewise.
195         * include/string.h: Likewise.
196         * include/termios.h: Likewise.
197         * include/time.h: Likewise.
198         * include/ulimit.h: Likewise.
199         * include/utmp.h: Likewise.
200         * include/wchar.h: Likewise.
201         * include/sys/file.h: Likewise.
202         * include/sys/gmon.h: Likewise.
203         * include/sys/ioctl.h: Likewise.
204         * include/sys/mman.h: Likewise.
205         * include/sys/resource.h: Likewise.
206         * include/sys/select.h: Likewise.
207         * include/sys/socket.h: Likewise.
208         * include/sys/statfs.h: Likewise.
209         * include/sys/time.h: Likewise.
210         * include/sys/times.h: Likewise.
211         * include/sys/wait.h: Likewise.
213 1998-09-06 09:00  Ulrich Drepper  <drepper@cygnus.com>
215         * version.h (VERSION): Bump to 2.0.96.
217         Rewrite runtime linker to be truly thread-safe.  There is now no
218         global variable specifying the scope.  We create all needed
219         scopes at the time the link maps are created.
220         * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
221         * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
222         l_symbolic_searchlist, l_scope, and l_local_scope elements in
223         struct link_map.
224         * elf/dl-close.c: Rewritten accordingly.
225         * elf/dl-deps.c: Likewise.
226         * elf/dl-error.c: Likewise.
227         * elf/dl-init.c: Likewise.
228         * elf/dl-load.c: Likewise.
229         * elf/dl-lookup.c: Likewise.
230         * elf/dl-object.c: Likewise.
231         * elf/dl-open.c: Likewise.
232         * elf/dl-reloc.c: Likewise.
233         * elf/dl-runtime.c: Likewise.
234         * elf/dl-support.c: Likewise.
235         * elf/dl-symbol.c: Likewise.
236         * elf/dl-version.c: Likewise.
237         * elf/dlsym.c: Likewise.
238         * elf/dlvsym.c: Likewise.
239         * elf/ldsodefs.h: Likewise.
240         * elf/rtld.c: Likewise.
241         * iconv/gconv_dl.c: Likewise.
242         * nss/nsswitch.c: Likewise.
243         * sysdeps/i386/dl-machine.h: Likewise.
244         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
246         * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
247         Define RTLD_DEFAULT.
249 1998-09-05  Mark Kettenis  <kettenis@phys.uva.nl>
251         * sysdeps/mach/hurd/i386/init-first.c (init1): Call
252         __getopt_clean_environment with __environ instead of envp.
254 1998-09-05  Roland McGrath  <roland@baalperazim.frob.com>
256         * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
258         * string/argz-extract.c (__argz_extract): Add de-consting cast for
259         setting results.
261         * string/argz.h (argz_next): Add de-consting cast for return.
262         * string/argz-next.c (__argz_next): Likewise.
264         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
265         Don't add netinet/udp.h, netinet/ip_icmp.h here.
266         * sysdeps/gnu/Makefile: Do it here instead.
267         * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
268         * sysdeps/gnu/Dist: ... to here.
270         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
271         sysdeps/unix/sysv/linux/netinet/tcp.h,
272         sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
274 1998-09-04  Roland McGrath  <roland@baalperazim.frob.com>
276         * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
277         * string/argz-next.c, string/argz-extract.c: Fix defns.
279 1998-09-03  Roland McGrath  <roland@baalperazim.frob.com>
281         * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
283         * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
284         __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
285         * sysdeps/generic/sysd-stdio.c: Likewise.
287 1998-09-02  Ulrich Drepper  <drepper@cygnus.com>
289         * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
290         (_dl_map_object_from_fd): Make NAME argument const.
291         Remove last parameter in _dl_new_object call.
292         (print_search_path): Correct construction of composed path name.
293         (_dl_map_object): Prevent looking at RPATH of the main map twice.
294         Remove last parameter in _dl_new_object call.
295         * elf/dl-object.c: Remove last parameter.  Determine whether create
296         origin entry based on empty realname.  Handle file in root directory
297         correctly.
298         * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
299         * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
300         Remove last parameter in _dl_new_object call.
301         * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
302         * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
304 1998-09-01  Ulrich Drepper  <drepper@cygnus.com>
306         * elf/dl-close.c (_dl_close): Add more comments and correct some.
307         Free l_searchlist and l_dupsearchlist.
309         * debug/catchsegv.sh: Add one more pair of quotes.
311 1998-09-01 17:53  Ulrich Drepper  <drepper@cygnus.com>
313         * elf/dl-load.c (add_name_to_object): Change return type to void and
314         make NAME parameter const.  Allocate room for NAME in same memory
315         block used for l_libname entry.
316         (_dl_map_object_from_fd): Don't free NAME on failure.
317         (map_segment): Pass SONAME to add_name_to_object, not a copy.
318         (_dl_map_object): Don't create copy of NAME.  Pass NAME to
319         _dl_map_object_from_fd.
320         * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
321         memory block used for l_libname entry.
322         * elf/dl-close.c: Adjust free()ing for this change.
324 1998-09-01 15:36  Ulrich Drepper  <drepper@cygnus.com>
326         * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
328         * malloc/mtrace.c: Add bug report address.  Update email address.
329         Add more @XXX@ to print correct address size.
331         * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
332         really initialized.
334         * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
335         for munmap call instead of examining phdr again.
336         Free all malloc()ed strings and arrays.
338 1998-08-09  Geoff Keating  <geoffk@ozemail.com.au>
340         * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
341         dl-machine.h.
342         * sysdeps/powerpc/dl-machine.c: New file.
343         * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
344         files.  Revise ELF_PREFERRED_ADDRESS to take account of
345         the new mapping information (fixes bug involving huge bloated
346         web browser).  Set ELF_MACHINE_PLTREL_OVERLAP.
347         * sysdeps/powerpc/dl-start.S: New file.
349         * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
350         l_map_end.
351         * elf/do-rel.h: Call elf_machine_rel only once (to save space).
352         * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
353         others.  Call elf_dynamic_do_##reloc only once (to save even more
354         space).
355         * elf/link.h: Add new members l_map_start and l_map_end to keep
356         track of the memory map.
357         * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
358         the executable.
360 1998-09-01 11:53  Ulrich Drepper  <drepper@cygnus.com>
362         * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
363         Reported by Andreas Jaeger.
365         * posix/glob.h: Use __size_t instead of size_t in definitions and
366         make sure this is defined.
368 1998-09-01 10:34  Ulrich Drepper  <drepper@cygnus.com>
370         * manual/locale.texi: Almost complete rewrite.  Document more functions
371         and functionality.
372         * manual/arith.texi: Correct reference.
373         * manual/string.texi: Pretty printing.
375         * manual/texinfo.tex: Update from last available version.
377 1998-08-31 22:44  Ulrich Drepper  <drepper@cygnus.com>
379         * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
380         invalid password.
381         (_nss_nis_getpwuid_r): Likewise.
382         Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
384         * inet/rcmd.c: Implement netgroup support.
385         Patch by Dick Streefland <dick_streefland@tasking.com>.
387 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
389         * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
390         object on the list is removed.  Don't use this code for PIC.
391         Reported by HJ Lu [PR libc/770].
393 1998-08-31 15:56  Ulrich Drepper  <drepper@cygnus.com>
395         * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
397         * include/stdio.h: Add __vsscanf.
399         * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
400         __USE_ISOC9X.
401         Remove __vsscanf declaration.
402         Always declare fgetpos and fsetpos.
404         * math/math.h: Define isinf as macro.
405         * math/bits/mathcalls.h: Change to declare __isinf all the time.
406         Don't declare scalb for ISO C 9x.
408         * math/tgmath.h: Define fma.  Rewrite the underlying macros.
410         * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
412         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
413         sys/ucontext.h.
415         * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
416         macros.
418 1998-08-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
420         * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
421         Reported by jreising@frequentis.com [PR libc/767].
423 1998-08-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
425         * io/lockf.c (lockf): Move initilisation of fl.l_whence and
426         fl.l_start at beginning of function.
427         Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
429 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
431         * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
432         Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
434         * nscd/nscd.init: Make it work in RedHat systems.
435         Patch by Christian Gafton.
437 1998-08-29  Philip Blundell  <philb@gnu.org>
439         * catgets/Makefile: Don't try to run test programs when
440         cross-compiling.
442 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
444         * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
445         Reported by Zack Weinberg.
447 1998-08-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
449         * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
450         * elf/Makefile (distribute): Remove ldd.sh.in.
452 1998-08-31 11:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
454         * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
455         variable.
457 1998-08-29  Ulrich Drepper  <drepper@cygnus.com>
459         * sysdeps/i386/register-dump.h: Move to ...
460         * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
462 1998-08-28 22:49  Ulrich Drepper  <drepper@cygnus.com>
464         * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
465         with load address, not map address.
466         * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
467         parameter and use this value.
468         * sysdeps/arm/dl-machine.h: Likewise.
469         * sysdeps/i386/dl-machine.h: Likewise.
470         * sysdeps/m68k/dl-machine.h: Likewise.
471         * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
472         parameter.
473         * sysdeps/powerpc/dl-machine.h: Likewise
474         * sysdeps/sparc/sparc32/dl-machine.h: Likewise
475         * sysdeps/sparc/sparc64/dl-machine.h: Likewise
477 1998-08-28 09:22  Ulrich Drepper  <drepper@cygnus.com>
479         * elf/rtld.c (process_envvars): Fix copy&paste error.
481         * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
482         memalign hook.
483         (realloc_hook_ini): Don't overwrite memalign hook.
484         (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
485         Reported by Philippe Troin <phil@fifi.org>.
487         * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
488         Patch by Philippe Troin <phil@fifi.org>.
490 1998-08-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
492         * sysdeps/generic/segfault.c (install_handler): Protect the
493         non-POSIX signals with #ifdef.
494         (catch_segfault): Add missing mode parameter for open.
495         * debug/catchsegv.sh: Avoid termination message from shell.  Allow
496         other termination signals.
498 1998-08-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
500         * debug/Makefile (distribute): Add register-dump.h.
502 1998-08-28 10:41  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
504         * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
506 1998-08-27 19:42  Ulrich Drepper  <drepper@cygnus.com>
508         * elf/Makefile (distribute): Add dl-origin.h.
509         * sysdeps/generic/dl-origin.h: New file.
510         * sysdeps/unix/sysv/linux/dl-origin.h: New file.
511         * elf/link.h (struct link_map): Add l_origin field.
512         * elf/dl-load.c (expand_dynamic_string_token): New function.
513         (decompose_path): Remove WHERE argument, take link map pointer instead.
514         Call expand_dynamic_string_token instead of local_strdup to make copy
515         of rpath.
516         (_dl_init_paths): Call decompose_path with correct argument.
517         (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
518         not defined.
519         Check EI_OSABI and EI_ABIVERSION fields in header.
520         Call _dl_new_object with extra argument.
521         (_dl_map_object): Call decompose_path with correct argument.
522         Call expand_dynamic_string_token instead of local_strdup to also
523         expand DST.
524         Call _dl_new_object with extra argument.
525         * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
526         but the main one if new argument is nonzero.
527         * elf/ldsodefs.h: Adjust for _dl_new_object change.
528         * elf/dl-support.c: Define _dl_origin_path.
529         * elf/rtld.c: Likewise.  Set _dl_origin_path based on LD_ORIGIN_PATH.
530         (dl_main): Call _dl_new_object with extra argument.
532         * elf/dl-close (_dl_close): Free l_name and l_origin.
534         * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
535         modifier in asm, not c.
537         * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
538         to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
540 1998-08-26 17:48  Ulrich Drepper  <drepper@cygnus.com>
542         * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
543         variable so that map can be freed.
544         Reported by Philippe Troin <phil@fifi.org>.
546         * elf/dl-open.c (dl_open_worker): Correct test for extending global
547         scope array.
548         Patch by Philippe Troin <phil@fifi.org>.
550 1998-08-26  Geoff Keating  <geoffk@ozemail.com.au>
552         * sysdeps/powerpc/register-dump.h: Rewrite.  Much nicer this way.
553         Don't call writev() with a 100-element vector.
554         * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
555         return address.
557         * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
558         In particular, set __libc_stack_end.
559         * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
560         undefined.  Fix copyright notice.
562 1998-08-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
564         * math/Makefile (gmp-objs): New variable.
565         ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
566         Depend on it.
567         (tests): Add atest-exp atest-sincos atest-exp2.
568         (tests-static): Remove atest-exp atest-sincos atest-exp2.
570 1998-08-25  Ulrich Drepper  <drepper@cygnus.com>
572         * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
573         to toplevel.
574         (_dl_unload_cache): New function.
575         * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
576         * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
577         * elf/rtld.c (dl_main): Unload map file before jumping to user code.
579         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
580         Correct comment for O_LARGEFILE.
581         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
582         Change O_LARGEFILE to correct value.
584 1998-08-25 14:34  Ulrich Drepper  <drepper@cygnus.com>
586         * libio/iogetline.c (_IO_getline_info): Don't read anything for
587         N == 0.  Patch by HJ Lu.
589 1998-08-25 11:43  Ulrich Drepper  <drepper@cygnus.com>
591         * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
593 1998-08-25  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
595         * argp/argp.h: Use __inline__ not inline.
597         * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
598         an input register as being clobbered.
599         * sysdeps/i386/memset.c (memset): Likewise.
600         * sysdeps/i386/bzero.c (__bzero): Likewise.
601         * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
603 1998-08-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
605         * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
606         Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
608 1998-08-24 16:34  Ulrich Drepper  <drepper@cygnus.com>
610         * debug/catchsegv.sh: Handle text preceding backtrace better.
611         * sysdeps/generic/segfault.c: Allow register dump.  Allow handler
612         to be installed for other signals than SIGSEGV.
613         * sysdeps/generic/register-dump.h: New file.
614         * sysdeps/i386/register-dump.h: New file.
615         * sysdeps/powerpc/register-dump.h: New file.
617         * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
618         sigcontextinfo.h.
619         * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
621 1998-08-24  Geoff Keating  <geoffk@ozemail.com.au>
623         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
625 1998-08-09  Geoff Keating  <geoffk@ozemail.com.au>
627         * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
628         * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
629         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
630         getresuid, getresgid.
632 1998-08-16  Geoff Keating  <geoffk@ozemail.com.au>
634         * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs.  Set up stack
635         pointer in userland.
637 1998-08-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
639         * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
640         and fix value.
642 1998-08-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
644         * elf/ldd.bash.in: Add missing quotes around $file.  Make loop
645         over arguments Bourne shell compatible.  Don't exit unsuccessfully
646         if nonelf returns successfully.  Avoid duplicating most of the
647         script.
648         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
649         around $file.
651 1998-08-24 10:37  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
653         * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
654         sys/reg.h.
655         * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
656         * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
658 1998-08-23  Ulrich Drepper  <drepper@cygnus.com>
660         * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
661         __modify_ldt and modify_ldt.
662         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
664         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
665         Use orl $-1 instead of movl $-1 to save two bytes.
666         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
667         Likewise.
669 1998-08-17  H.J. Lu  <hjl@gnu.org>
671         * libio/Versions (_IO_do_write, _IO_file_attach,
672         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
673         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
674         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
675         _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
677         * libio/fileops.c (_IO_do_write, _IO_file_attach,
678         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
679         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
680         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
681         _IO_file_write, _IO_file_xsputn): Change the prefix to
682         "_IO_new_". Added to GLIBC_2.1.
684         * libio/libioP.h (_IO_do_write, _IO_file_attach,
685         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
686         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
687         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
688         _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
689         "_IO_new_".
691         * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
692         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
693         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
694         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
695         _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
697 1998-08-23  Richard Henderson  <rth@cygnus.com>
699         * Makeconfig (LDFLAGS): Remove.
701         * csu/initfini.c: Return to .text before __gmon_start__.
703         * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
704         (STO_MIPS_*): Rename from STO_*.
705         (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
706         (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
708         * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
709         (main): e3s is negative on zero.
710         * math/atest-exp2.c: Likewise.
711         * math/atest-sincos.c: Likewise.
713 1998-08-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
715         * Makerules (install): Add comment about absolute paths.
717 1998-08-23  Ulrich Drepper  <drepper@cygnus.com>
719         * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
720         array to NUL to handle maxlen==1 case correctly.
721         Patch by HJ Lu.
723 1998-08-23  Richard Henderson  <rth@cygnus.com>
725         * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
726         * sysdeps/alpha/elf/crtend.S: Likewise.
727         * sysdeps/alpha/elf/start.S: Likewise.
729         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
730         non-standard pv usage.
732         * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
733         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
734         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
735         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
736         * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
737         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
738         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
739         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
740         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
741         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
742         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
744         * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
745         a finite non-denormal, deferring to the full IEEE version otherwise.
747         * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
748         Early out for -0.  Optimize for !_IEEE_FP_INEXACT.
749         * sysdeps/alpha/fpu/s_floor.c: New.
750         * sysdeps/alpha/fpu/s_floorf.c: New.
751         * sysdeps/alpha/fpu/s_ceil.c: New.
752         * sysdeps/alpha/fpu/s_ceilf.c: New.
754 1998-08-22  Philip Blundell  <philb@gnu.org>
756         * sysdeps/arm/bits/string.h: New file.
758 1998-08-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
760         * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
761         document it.
763         * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
764         test for recent Linux 2.1.100+ headers.
766 1998-08-21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
768         * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
770 1998-08-21 17:21  Ulrich Drepper  <drepper@cygnus.com>
772         * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
774 1998-08-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
776         * Makefile (elf/ldso_install): Put back.  The problem still persists.
777         * elf/Makefile (ldso_install): Likewise.
779 1998-08-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
781         * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
782         create weak alias.
783         * include/db.h: Declare __nss_db_open.
784         * db2/Versions: Export it.
786         * db2/makedb.c: Convert to use db2 API.
787         * nss/nss_db/db-XXX.c: Likewise.
788         * nss/nss_db/db-netgrp.c: Likewise.
789         * nss/nss_db/db-alias.c: Likewise.
790         (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
792 1998-08-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
794         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
795         sys_setresuid, already built automatically (or not).
796         * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
797         instead of __syscall_setresuid and add back setresuid.
798         * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
799         __syscall_setresuid.
801 1998-08-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
803         * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
805 1998-08-20  Ulrich Drepper  <drepper@cygnus.com>
807         * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
808         BASH-ONLY marked region.
809         * elf/ldd.bash.in: Remove special BASH-ONLY markers.
811 1998-02-20 17:54  H.J. Lu  <hjl@gnu.org>
813         * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
814         _IO_SYSSEEK fails.
816         * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
818         * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
819         element.
821 1998-08-21  Roland McGrath  <roland@baalperazim.frob.com>
823         * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
824         with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
825         * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
826         (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
827         (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
828         those magic comments, and to use /bin/sh for @BASH@.
829         (bash-ldd-rewrite): Use $(common-ldd-rewrite).
830         * elf/ldd.sh.in: File removed.
832 1998-08-20 20:07  Ulrich Drepper  <drepper@cygnus.com>
834         * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
835         cast them to unsigned long int.
836         * pwd/putpwent.c (putpwent): Likewise.
837         Patch by John Tobey <jtobey@banta-im.com>.
839 1998-08-20 17:14  H.J. Lu  <hjl@gnu.org>
841         * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
842         _IO_pos_BAD.
844 1998-02-20 17:54  H.J. Lu  <hjl@gnu.org>
846         * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
847         _IO_SYSSEEK fails.
849 1998-08-20 19:14  Ulrich Drepper  <drepper@cygnus.com>
851         * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
852         Add umount and umount2.
853         * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
854         * sysdeps/unix/sysv/linux/umount.S: New file.
855         * sysdeps/unix/sysv/linux/umount2.S: New file.
856         * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
857         Define MNT_FORCE.
859         * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
860         Add sys/sendfile.h.
861         * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
862         * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
864         * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
866         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
867         sendfile.
869 1998-08-20 16:01  Ulrich Drepper  <drepper@cygnus.com>
871         * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
872         * elf/ldd.bash.in: Likewise.
874         * elf/sln.c: Avoid warning for no main prototype.
876         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
877         O_WRITE.
878         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
879         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
881         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
882         F_GETSIG.
883         * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
884         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
885         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
887 1998-08-20  Philip Blundell  <pb@nexus.co.uk>
889         * sysdeps/arm/fpu/ieee754.h: Move to...
890         * sysdeps/arm/ieee754.h: ... here.
892         * sysdeps/arm/__longjmp.S: Put return value in correct register.
893         Don't set the condition flags unnecessarily.
894         * sysdeps/arm/fpu/__longjmp.S: Likewise.  Restore floating point
895         registers correctly.
897         * sysdeps/arm/dl-machine.h: Fix problems with profiling code
898         (patch from Scott Bambrough).
900         * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
902         * csu/initfini.c (_init): Don't check whether __gmon_start__ is
903         NULL, just call it unconditionally.
904         (__gmon_start__): Provide stub version as a weak symbol.
906 1998-07-30  Philip Blundell  <philb@gnu.org>
908         * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
909         by Scott Bambrough)
911         * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
912         like `@' in .type directives.
914         * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
915         * sysdeps/arm/bsd-_setjmp.S: Likewise.
917         * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
919 1998-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
921         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
922         (F_GETOWN): Likewise.
924         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
925         Linux 2.1.117).
927 1998-08-20  Ulrich Drepper  <drepper@cygnus.com>
929         * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
930         already defined.
932 1998-08-18  Ulrich Drepper  <drepper@cygnus.com>
934         * include/features.h: Define __USE_EXTERN_INLINES for recent
935         enough gcc.
936         * argp/argp.h: Define extern inline functions only if
937         __USE_EXTERN_INLINES is defined.
938         * libio/stdio.h: Likewise.
939         * math/math.h: Likewise.
940         * stdlib/stdlib.h: Likewise.
941         * string/argz.h: Likewise.
942         * sysdeps/generic/bits/sigset.h: Likewise.
943         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
944         * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
945         * sysdeps/wordsize-32/inttypes.h: Likewise.
946         * sysdeps/wordsize-64/inttypes.h: Likewise.
947         * wcsmbs/wchar.h: Likewise.
949         * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
950         to allow compilation without optimization.
952 1998-08-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
954         * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
955         more entries.
956         * nis/nss_compat/compat-initgroups.c: Likewise.
957         * nis/nss_compat/compat-pwd.c: Likewise.
958         * nis/nss_compat/compat-spwd.c: Likewise.
959         * nis/nss_nis/nis-alias.c: Likewise.
960         * nis/nss_nis/nis-ethers.c: Likewise.
961         * nis/nss_nis/nis-grp.c: Likewise.
962         * nis/nss_nis/nis-hosts.c: Likewise.
963         * nis/nss_nis/nis-initgroups.c: Likewise.
964         * nis/nss_nis/nis-network.c: Likewise.
965         * nis/nss_nis/nis-proto.c: Likewise.
966         * nis/nss_nis/nis-pwd.c: Likewise.
967         * nis/nss_nis/nis-rpc.c: Likewise.
968         * nis/nss_nis/nis-service.c: Likewise.
969         * nis/nss_nis/nis-spwd.c: Likewise.
971         * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
973         * nis/ypclnt.c: Try binding dir only first time, could be to old.
975         * nis/yp_xdr.c: Remove 1024 byte limit.
976         * nis/ypupdate_xdr.c: Likewise.
978         * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
979         wrong data.
981 1998-08-18  Roland McGrath  <roland@baalperazim.frob.com>
983         * Rules (binaries-static, binaries-shared static pattern rules):
984         Depend on lib%, not just libc%, from $(link-libc{,-static}).
986         * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
987         this here, overriding Makeconfig generic value so we link against
988         the RPC libs.
990 1998-08-17  Ulrich Drepper  <drepper@cygnus.com>
992         * posix/tstgetopt.c (options): Add NULL entry at end
993         Patch by Adrian Miranda <ade@psg.com>.
995 1998-08-15 18:21  Ulrich Drepper  <drepper@cygnus.com>
997         * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION.  Move EI_PAD
998         to 9.
1000 1998-08-15 14:11  Ulrich Drepper  <drepper@cygnus.com>
1002         * elf/elf.h: Add PPC Diab relocations.
1004         * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
1006 1998-08-14 10:08  Ulrich Drepper  <drepper@cygnus.com>
1008         * manual/texinfo.tex: Update.
1010 1998-08-07  Geoff Keating  <geoffk@ozemail.com.au>
1012         * sysdeps/powerpc/backtrace.c: New file.
1014 1998-08-14  Philip Blundell  <pb@nexus.co.uk>
1016         * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
1017         sigjmp_save.
1018         * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
1020 1998-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1022         * Makefile (install-symbolic-link): Fix spelling.
1024 1998-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1026         * elf/elf.h (SHT_HIOS): Fix value.
1028 1998-08-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1030         * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
1031         part of the expansion, this is undefined by the standard.
1033 1998-08-13 19:41  Ulrich Drepper  <drepper@cygnus.com>
1035         * posix/getconf.c: Add support for systems with incomplete confname.h.
1037         * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
1039         * sysdeps/posix/wait3.c: Make it work.
1041 1998-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1043         * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
1044         (elf/ldso_install): Remove.
1046         * elf/Makefile (distribute): Add sln.c.
1047         (others): Add sln.
1048         (others-static): Add sln.
1049         (install-rootsbin): Add sln.
1050         (others-static): Add sln.
1051         (ldso_install): Remove.
1053 1998-07-24 10:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1055         * Makerules (install-clean-symbolic-link-list): Make phony.
1056         * Makefile (install-symbolic-link): Make phony.  Depend on
1057         subdir_install for parallel makes.
1060 1998-07-22  Ulrich Drepper  <drepper@cygnus.com>
1062         * elf/Makefile (distribute): Add sln.c
1064 1998-07-21 07:10  H.J. Lu  <hjl@gnu.org>
1066         * elf/sln.c: New file.
1068         * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
1069         (install-clean-symbolic-link-list): New target.
1070         (install): Depend on install-clean-symbolic-link-list.
1071         (make-shlib-link): Changed for $(symbolic-link-list).
1073         * Makefile (install-symbolic-link): New target.
1074         (install): Depend on install-symbolic-link.
1076 1998-08-12 17:03  Ulrich Drepper  <drepper@cygnus.com>
1078         * include/unistd.h: Protect against multiple inclusion.
1080         * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
1081         is defined, not is glob is defined.
1082         * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
1084 1998-08-01 17:18  H.J. Lu  <hjl@gnu.org>
1086         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
1087         xdr_string for ut_line, ut_name and ut_host.
1089 1998-08-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1091         * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
1092         /var/mail in accordance with FHS 2.0.
1093         Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
1095 1998-08-12  Richard Henderson  <rth@cygnus.com>
1097         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
1098         Update aliases for cancelation.
1100         * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
1101         playing with symbol versions.
1103 1998-08-12  Roland McGrath  <roland@baalperazim.frob.com>
1105         * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
1106         multiple inclusion protection.
1107         (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
1108         _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
1109         define all these to 1.
1110         (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
1112 1998-08-12  Roland McGrath  <roland@baalperazim.frob.com>
1114         * sysdeps/mach/usleep.c: Include <unistd.h>.
1115         (usleep): Return void.
1117 1998-08-11  Roland McGrath  <roland@baalperazim.frob.com>
1119         * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
1120         decl to inhibit warning in if_freenameindex defn.
1122         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
1124         * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
1126         * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
1127         * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
1128         * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
1129         * sysdeps/mach/usleep.c: Likewise.
1131         * sysdeps/mach/hurd/bind.c (bind): Add a const.
1133         * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
1134         * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
1135         * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
1136         * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
1137         * sysdeps/mach/usleep.c (usleep): Likewise.
1138         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1139         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1140         * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
1141         * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
1143 1998-08-11  Roland McGrath  <roland@baalperazim.frob.com>
1145         * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
1146         (glob64): Fix typo.
1148         * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
1149         %p arg to fprintf, since `void *' is the right type already.
1151 1998-07-25 19:47  Jose M. Moya  <josem@gnu.org>
1153         * sysdeps/mach/hurd/getcwd.c
1154         (_hurd_canonicalize_directory_name_internal): Do not loop forever
1155         for unknown root directories.
1156         (__getcwd): Return NULL when the current root directory could not
1157         be reached.
1159 1998-08-11 18:39  Ulrich Drepper  <drepper@cygnus.com>
1161         * string/strsignal.c (strsignal): Count real-time signals from zero.
1164 See ChangeLog.8 for earlier changes.