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