Update.
[glibc.git] / ChangeLog
blob7f023e05cc3272eee28e4f3be4d9ce2561c1c72e
1 1998-10-22  Ulrich Drepper  <drepper@cygnus.com>
3         * sunrpc/rpc/auth.h (AUTH_DH): New macro.  Alias for AUTH_DES.
5         * sysdeps/unix/sysv/linux/i386/sysdep.h: Drastically simplify and
6         improve INLINE_SYSCALL using macro assembler magic.
8 1998-10-22  H.J. Lu  <hjl@gnu.org>
10         * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Add
11         sanity check for n.
12         * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
14         * sysdeps/posix/fpathconf.c (__fpathconf): Set errno to
15         EINVAL if errno == ENODEV.  Tested by VSX-PCT.
17         * sysdeps/posix/isatty.c (__isatty): Don't reset errno.  Tested
18         by VSX-PCT.
20         * posix/execvp.c (execvp): Check "".  Tested by VSX-PCT.
22 1998-10-22  Philip Blundell  <pb@nexus.co.uk>
24         * sysdeps/unix/arm/sysdep.h: Wrap assembler macros in #ifdef
25         __ASSEMBLER__.
27 1998-10-21  Ulrich Drepper  <drepper@cygnus.com>
29         * sysdeps/unix/sysv/linux/i386/sysdep.h: Remove EXTRAVARS_* macros
30         and adjust formats.
32 1998-10-21 14:38  Ulrich Drepper  <drepper@cygnus.com>
34         * sysdeps/unix/sysdep.h (INLINE_SYSCALL): New macro.  Simply call
35         __syscall_* function.
36         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use INLINE_SYSCALL instead
37         of calling __syscall_* function.
38         * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
39         * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
40         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
41         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
42         * sysdeps/unix/sysv/linux/getpriority.c: Likewise.
43         * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
44         * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
45         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
46         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
47         * sysdeps/unix/sysv/linux/poll.c: Likewise.
48         * sysdeps/unix/sysv/linux/pread.c: Likewise.
49         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
50         * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
51         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
52         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
53         * sysdeps/unix/sysv/linux/readv.c: Likewise.
54         * sysdeps/unix/sysv/linux/reboot.c: Likewise.
55         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
56         * sysdeps/unix/sysv/linux/siglist.h: Likewise.
57         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
58         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
59         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
60         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
61         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
62         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
63         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
64         * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
65         * sysdeps/unix/sysv/linux/ustat.c: Likewise.
66         * sysdeps/unix/sysv/linux/writev.c: Likewise.
67         * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
68         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
69         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
70         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
71         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
72         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
73         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
74         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
75         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
76         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
77         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
78         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
79         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
81         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define INLINE_SYSCALL using
82         inline assembler.
83         * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove various
84         __syscall_* definitions.
86         * sysdeps/unix/sysv/linux/syscalls.list: Move various __syscall_*
87         definitions to...
88         * sysdeps/unix/sysv/linux/alpha/syscalls.list: ...here...
89         * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
90         * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
91         * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
92         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
93         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
94         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
96         * sysdeps/unix/sysv/linux/Makefile [subdir=signal] (sysdep_routines):
97         Move definition to...
98         * sysdeps/unix/sysv/linux/alpha/Makefile: ...here...
99         * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
100         * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
101         * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
102         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
103         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
104         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
106         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
107         (sysdep_routines): Remove s_pread64 and s_pwrite64.
109         * sysdeps/unix/sysv/linux/i386/pread.c: New file.
110         * sysdeps/unix/sysv/linux/i386/pread64.c: New file.
111         * sysdeps/unix/sysv/linux/i386/pwrite.c: New file.
112         * sysdeps/unix/sysv/linux/i386/pwrite64.c: New file.
113         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Removed.
114         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Removed.
116 1998-10-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
118         * sysdeps/unix/sysv/linux/siglist.h: Fix some typos in these files
119         and bring them in synch.
120         * sysdeps/unix/siglist.c: Likewise.
121         Reported by Vladimir Michl <michlv@risc.upol.cz> [PR libc/832].
123 1998-10-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
125         * sysdeps/unix/sysv/linux/i386/setresuid.c: Allow -1 as arguments.
126         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
128         * sysdeps/unix/sysv/linux/i386/setreuid.c: New file.
129         * sysdeps/unix/sysv/linux/i386/setregid.c: New file.
130         * sysdeps/unix/sysv/linux/m68k/setreuid.c: New file.
131         * sysdeps/unix/sysv/linux/m68k/setregid.c: New file.
132         * sysdeps/unix/sysv/linux/arm/setreuid.c: New file.
133         * sysdeps/unix/sysv/linux/arm/setregid.c: New file.
134         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: New file.
135         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: New file.
136         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_setreuid and
137         s_setregid.
138         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
139         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
140         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
142 1998-10-20  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
144         * sunrpc/rpc_main.c (close_output, close_input): New functions.
145         (c_output, h_output, s_output, l_output, t_output, svc_output,
146         clnt_output, mkfile_output): Call them at the end.
148 1998-10-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
150         * db/Makefile (LDFLAGS-db1.so): New variable, to avoid duplicating
151         link command.
153 1998-10-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
155         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Add real contents.
156         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add s_setfs[ug]id.
158 1998-10-20  Ulrich Drepper  <drepper@cygnus.com>
160         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_pread64 and
161         s_pwrite64.
162         * sysdeps/unix/sysv/linux/powerpc/pread.c: New file.
163         * sysdeps/unix/sysv/linux/powerpc/pread64.c: New file.
164         * sysdeps/unix/sysv/linux/powerpc/pwrite.c: New file.
165         * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: New file.
166         Patch by Geoffrey KEATING <geoffk@discus.anu.edu.au>.
168 1998-10-18  Zack Weinberg  <zack@rabi.phys.columbia.edu>
170         * sysdeps/unix/opendir.c: Check at runtime for kernel support for
171         O_DIRECTORY.
173 1998-10-20  H.J. Lu  <hjl@gnu.org>
175         * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Fix
176         argument types.
178 1998-10-19  Ulrich Drepper  <drepper@cygnus.com>
180         * math/tgmath.h: Make nested function calls work.
182         * include/ldsodefs.h: Fix typo.
184         * posix/Makefile (tests): Add tst-preadwrite.
185         * posix/tst-preadwrite.c: New file.
187         * sysdeps/unix/opendir.c (__opendir): Add back fstat call to make
188         sure that descriptor is in any case for a directory.
190 1998-10-19 18:59 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
192         * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG): Fix typo: val -> Val.
193         (atan2): Takes two arguments.
195 1998-10-19  Ulrich Drepper  <drepper@cygnus.com>
197         * include/ldsodefs.h: New file.
199         * iconv/gconv.c: Include ldsodefs.h, not elf/ldsodefs.h.
200         Remove change to avoid using _CALL_DL_FCT.
201         * iconv/gconv_db.c: Likewise.
202         * iconv/gconv_dl.c: Likewise.
203         * iconv/skeleton.c: Likewise, here for DL_CALL_FCT.
204         * malloc/mtrace.c: Include ldsodefs.h, not elf/ldsodefs.h.
205         * nss/nsswitch.c: Likewise.
206         * nss/nsswitch.h: Likewise.
208 1998-10-19  Philip Blundell  <pb@nexus.co.uk>
210         * sunrpc/Makefile (otherlibs): If static NSS is in use, set to the
211         required libraries.
212         * login/Makefile (otherlibs): Likewise.
213         * nscd/Makefile (otherlibs): Likewise.
214         * Makeconfig (link-libc) [! build_shared]: Add $(otherlibs).
216         * debug/Makefile (install-bin): Only build catchsegv if using ELF.
218         * inet/Makefile: Add -DSTATIC_NSS to CFLAGS.
220 1998-10-19  Philip Blundell  <pb@nexus.co.uk>
222         * sysdeps/unix/sysv/linux/arm/syscalls.list: Added setfsgid
223         and setfsuid.
225 1998-10-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
227         * nscd/connections.c: Fix typos in comments and strings.
229         * nscd/nscd.conf: Update according to recent changes to nscd.
231         * nscd/cache.c (prune_cache): Remove wrong comment.
233 1998-10-19 13:24  Ulrich Drepper  <drepper@cygnus.com>
235         * locale/programs/ld-collate.c (collate_startup): Clear bit for this
236         category in copy_posix.
237         (collate_finish): Don't warn about UNDEFINED not being defined.
238         * locale/programs/ld-ctype.c (ctype_startup): Clear bit for this
239         category in copy_posix.
240         * locale/programs/ld-messages.c (messages_startup): Likewise.
241         * locale/programs/ld-monetary.c (monetary_startup): Likewise.
242         * locale/programs/ld-numeric.c (numeric_startup): Likewise.
243         * locale/programs/ld-time.c (time_startup): Likewise.
244         * locale/programs/localedef.c: Move copy_def_list_t definition into
245         locales.h.  Define copy_posix variable.
246         (main): Before processing copy list add &copy_posix to copy_list.
247         * locale/programs/locales.h: Add definition of copy_def_list_t.
248         * locale/programs/locfile.c: Clear bit for appropriate category in
249         copy_posix.mask for copy instruction.
251 1998-10-19  Ulrich Drepper  <drepper@cygnus.com>
253         * sysdeps/unix/sysv/linux/i386/setresgid.c: Remove #include of
254         non-existing file with generic implementation.
255         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
257 1998-10-19  Philip Blundell  <pb@nexus.co.uk>
259         * iconv/gconv_db.c: Include ELF header only if STATIC_GCONV is not
260         defined.  Avoid using _CALL_DL_FCT if it is not defined.
261         * iconv/gconv.c: Likewise.
263 1998-10-19  Ulrich Drepper  <drepper@cygnus.com>
265         * nscd/connections.c (dbs): Define defualt values for timeouts and
266         set enabled to 0 by default.
267         (CACHE_PRUNE_INTERVAL): New constant.  Use it instead of magical 15 in
268         nscd_run.
270         * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISCNTRL bit for
271         character >= 0x80.
272         (_nl_C_LC_CTYPE_class32): Likewise.
273         Reported by HJ Lu.
275 1998-10-19  Roland McGrath  <roland@baalperazim.frob.com>
277         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
278         _HURD_THREADVAR_DL_ERROR.
280         * hurd/Makefile (user-interfaces): Add login, password.
282         * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses.
284 1998-08-06  Mark Kettenis  <kettenis@phys.uva.nl>
286         [submitted 1998-08-06]
287         * mach/Machrules: Create target directory and force re-evaluation
288         of Makefile to prevent `make' from optimizing away most of the
289         implicit rules and `vpath' directives.
291 1998-10-19  Roland McGrath  <roland@baalperazim.frob.com>
293         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): If _hurd_msgport_thread
294         is null, short-circuit to __mach_msg.
296         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): New function,
297         broken out of init1.
298         (init1) [PIC]: Call it.
299         (__libc_init_first) [! PIC]: Call it.
301         * sysdeps/mach/hurd/i386/init-first.c (init1): Don't call
302         __libc_init_secure.  Instead set __libc_enable_secure here from
303         the exec flags.
304         (__libc_enable_secure): New variable it.
305         * sysdeps/mach/hurd/enbl-secure.c: New file, empty placeholder module.
307 1998-10-19  Roland McGrath  <roland@baalperazim.frob.com>
309         * nscd/nscd-client.h: New file, broken out of "nscd.h".
310         * nscd/nscd.h: Move defns needed by clients to "nscd-client.h",
311         and #include that.
312         * nscd/Makefile (distribute): Add nscd-client.h.
313         * nscd/nscd_getgr_r.c, nscd/nscd_gethst_r.c, nscd/nscd_getpw_r.c:
314         Include "nscd-client.h" instead of "nscd.h"
316 1998-10-18  Ulrich Drepper  <drepper@cygnus.com>
318         * sysdeps/posix/getcwd.c (__getcwd): Don't stop processing
319         directory entries when a lstat call fails.
320         Patch by Colin Plumb <colin@nyx.net>.
322         * resolv/nss_dns/dns-host.c: Add missing errnop parameter to the
323         NSS functions.
324         * resolv/nss_dns/dns-network.c: Likewise.
326         * grp/Makefile: Don't search for linuxthreads in add-ons, use
327         have-thread-library to determine whether threads are available.
328         * pwd/Makefile: Remove wrong comment.
330         * inet/Makefile: Define CFLAGS-gethstbyad_r.c, CFLAGS-gethstbynm_r.c,
331         and CFLAGS-gethstbynm2_r.c to -DUSE_NSCD=1.
333         * locale/C-messages.c: Define default strings for YESTR and NOSTR.
335         * nss/Versions: Add __nss_hosts_lookup.
337         * nss/getXXbyYY.c: Remove unneeded assignment.
339         * nss/getXXbyYY_r.c: Include nscd/nscd_proto.h only if needed.
341         Almost complete rewrite of the NSCD to make it smaller, faster,
342         add more functionnality and make it easier to extend.
343         * nscd/Makfile (routines): Add nscd_gethst_r.
344         (nscd-modules): Add hstcache, gethstbyad_r, gethstbynm2_r, and cache.
345         * nscd/cache.c: New file.
346         * nscd/gethstbyad_r.c: New file.
347         * nscd/gethstbynm2_r.c: New file.
348         * nscd/hstcache.c: New file.
349         * nscd/nscd_gethst_r.c: New file.
350         * nscd/connections.c: Rewritten.  Don't start new thread for every
351         new connection.  Use a fixed set of threads which handle all
352         connections and also the cache cleanup.
353         * nscd/grpcache.c: Rewritten to use generic cache handling functions
354         in cache.c.
355         * nscd/nscd.c: Recognize new parameter nthreads.  Adjust initialization
356         for rewrite.  Remove handle_requests function.
357         * nscd/nscd.h (NSCD_VERSION): Bump to 2.
358         Define new data structure for the new unified cache and the host
359         database entries.
360         * nscd/nscd_conf.c: Rewrite parsing partly to allow adding of more
361         databases easily.  Recognize check-files and threads definitions.
362         * nscd/nscd.conf: Add definition of enable-cache and check-files to
363         passwd and group definitions.  Add new set of definitions for hosts.
364         * nscd/nscd_getgr_r.c: Rewrite for new protocol.
365         * nscd/nscd_getpw_r.c: Likewise.
366         * nscd/nscd_proto.h: Add prototype for host database functions.
367         * nscd/nscd_stat.c: Rewrite to simplify printing of information
368         for many databases.
369         * nscd/dbg_log.c: Remove unnecessary variable initializations.
370         Global variable debug_flag is renamed to dbg_level.
371         * nscd/dbg_log.h: Declare set_logfile.
373 1998-10-16  Ulrich Drepper  <drepper@cygnus.com>
375         * sysdeps/unix/sysv/linux/bits/fcntl.h: Add dummy definition of
376         O_LARGEFILE back.
378 1998-10-16  Paul Eggert  <eggert@shade.twinsun.com>
380         * time/mktime.c: Some systems require <unistd.h> to be
381         included before <time.h> for localtime_r to be declared
382         properly.
383         * time/strftime.c: Likewise.
385 1998-10-16  Ulrich Drepper  <drepper@cygnus.com>
387         * db/Makefile: Add rule to generate shared object with the soname
388         from glibc 2.0.
390         * sysdeps/unix/opendir.c: Use O_DIRECTORY if available.  If not
391         available double check to verify it's a directory.
393         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add O_DIRECTORY.
394         * sysdeps/unix/sysv/linux/mips/bits/fcntl: Likewise.
395         * sysdeps/unix/sysv/linux/bits/fcntl.h: Remove O_* constants which
396         are not generally available.
397         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: New file.
399         * sysdeps/unix/sysv/linux/i386/setgroups.c: Add range check for values.
400         * sysdeps/unix/sysv/linux/arm/Makefile: New file.
401         * sysdeps/unix/sysv/linux/arm/setegid.c: New file.
402         * sysdeps/unix/sysv/linux/arm/seteuid.c: New file.
403         * sysdeps/unix/sysv/linux/arm/setfsgid.c: New file.
404         * sysdeps/unix/sysv/linux/arm/setfsuid.c: New file.
405         * sysdeps/unix/sysv/linux/arm/setgid.c: New file.
406         * sysdeps/unix/sysv/linux/arm/setgroups.c: New file.
407         * sysdeps/unix/sysv/linux/arm/setresgid.c: New file.
408         * sysdeps/unix/sysv/linux/arm/setresuid.c: New file.
409         * sysdeps/unix/sysv/linux/arm/setuid.c: New file.
410         * sysdeps/unix/sysv/linux/i386/setegid.c: New file.
411         * sysdeps/unix/sysv/linux/i386/seteuid.c: New file.
412         * sysdeps/unix/sysv/linux/i386/setfsgid.c: New file.
413         * sysdeps/unix/sysv/linux/i386/setfsuid.c: New file.
414         * sysdeps/unix/sysv/linux/i386/setgid.c: New file.
415         * sysdeps/unix/sysv/linux/i386/setgroups.c: New file.
416         * sysdeps/unix/sysv/linux/i386/setresgid.c: New file.
417         * sysdeps/unix/sysv/linux/i386/setresuid.c: New file.
418         * sysdeps/unix/sysv/linux/i386/setuid.c: New file.
419         * sysdeps/unix/sysv/linux/m68k/setegid.c: New file.
420         * sysdeps/unix/sysv/linux/m68k/seteuid.c: New file.
421         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: New file.
422         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: New file.
423         * sysdeps/unix/sysv/linux/m68k/setgid.c: New file.
424         * sysdeps/unix/sysv/linux/m68k/setgroups.c: New file.
425         * sysdeps/unix/sysv/linux/m68k/setresgid.c: New file.
426         * sysdeps/unix/sysv/linux/m68k/setresuid.c: New file.
427         * sysdeps/unix/sysv/linux/m68k/setuid.c: New file.
428         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
429         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
430         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: New file.
431         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: New file.
432         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: New file.
433         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
434         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file.
435         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file.
436         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: New file.
438         * sysdeps/unix/sysv/linux/arm/syscalls.list: Add s_setgid, s_setresuid,
439         s_setresgid, and s_setuid.
440         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
441         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
442         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
443         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
444         (sysdep_routines): Add setfsgid, setfsuid, setresgid, and setresuid.
445         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
446         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
448 1998-10-16  Ulrich Drepper  <drepper@cygnus.com>
450         * time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get
451         localtime_t declaration on some systems.
453 1998-10-16 10:07  Ulrich Drepper  <drepper@cygnus.com>
455         * iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to
456         -DSTATIC_GCONV.
457         * iconv/skeleton.c: Include ELF header only of STATIC_GCONV is not
458         defined.  Avoid using DL_CLL_FCT if it is not defined.
460 1998-10-16 10:40 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
462         * resolv/arpa/nameser.h: Include sys/types.h unconditionally.
463         Include endian.h unconditionally.  Remove portability goop
464         depending on #ifdef linux, #ifdef BSD, #ifdef machine-type.
466 1998-10-16 11:39 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
468         * sunrpc/rpc/types.h: Mark file so fixincludes won't modify it.
470 1998-10-15  Ulrich Drepper  <drepper@cygnus.com>
472         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios
473         again.  Use char[44] to define size of the struct.
475         * sysdeps/unix/sysv/linux/arm/Dist: Add bits/armsigctx.h.
477 1998-10-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
479         * string/bits/string2.h (strcmp): Don't cache the result of
480         __builtin_constant_p in variables, otherwise constant folding
481         can fail in big functions.
483 1998-10-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
485         * string/bits/string2.h: Add prototypes for the new inline
486         functions.
488 1998-10-15  Ulrich Drepper  <drepper@cygnus.com>
490         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to
491         have all types defined.
492         Patch by Matti Aarnio <matti.aarnio@sonera.fi>.
494 1998-10-08  Paul Eggert  <eggert@twinsun.com>
496         * time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r.
497         Define also if HAVE_LOCALTIME_R && defined localtime_r, with
498         a body that merely expands localtime_r; this works around a
499         bug in Digital Unix 4.0A and 4.0D.
501 1998-10-14  Ulrich Drepper  <drepper@cygnus.com>
503         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl.
504         * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define
505         __ioctl to __syscall_ioctl and include Linux version of this file.
506         * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
507         * sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file.  Redirect
508         ioctl calls which handle struct termios.
509         Based on a patch by Dan Jacobowitz <drow@false.org>.
511 1998-10-14  Ulrich Drepper  <drepper@cygnus.com>
513         * version.h (VERSION): Bump to 2.0.98.
515         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios
516         here instead of including kernel_termios.h.
518 1998-10-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
520         * sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is
521         unnecessary after the changes of 1998-10-12.
523 1998-10-13  Ulrich Drepper  <drepper@cygnus.com>
525         * sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output
526         parameter format string.
527         (inline_outw): Likewise.
529         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include
530         string.h to get memcpy prototype and NULL definition.
532 1998-10-12  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
534         * misc/sys/cdefs.h (__THROW): New macro.
535         * argp/argp.h: Use it to replace the kludgey __P in inline
536         function definitions.
537         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
538         * stdlib/stdlib.h: Likewise.
539         * wcsmbs/wchar.h: Likewise.
540         * libio/stdio.h: Likewise.
541         * stdio/stdio.h: Likewise.
542         * sysdeps/wordsize-64/inttypes.h: Likewise.
543         * sysdeps/wordsize-32/inttypes.h: Likewise.
544         * string/argz.h: Likewise.
545         * io/sys/stat.h: Likewise.
547 1998-10-12  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
549         * Rules (stdio_lim): New variable.
550         ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend
551         on Rules and config.make, use $(move-if-change) to avoid unnessary
552         recompilations, and cleanup command.
553         (common-generated): Add bits/stdio_lim.st.
555 1998-10-12  Ulrich Drepper  <drepper@cygnus.com>
557         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): New
558         variable to prevent warnings from use of modern CPU instructions.
559         Patch by Richard Henderson <rth@cygnus.com>.
561         * sysdeps/unix/opendir.c: Test whether NAME is directory before
562         opening it.
564 1998-10-12  Philip Blundell  <pb@nexus.co.uk>
566         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Add missing
567         semicolon so that profiling works.
569 1998-10-12  Roland McGrath  <roland@baalperazim.frob.com>
571         * sysdeps/generic/glob.c: #undef mempcpy before #define.
573         * sysdeps/unix/bsd/clock.c: Use prototype defns.
575 1998-10-11  Ulrich Drepper  <drepper@cygnus.com>
577         * Rules [posix in sysdirs]: Set L_tmpnam to 20.
578         Patch by Zack Weinberg <zack@rabi.columbia.edu>.
580         * string/bits/string2.h [!_STRING_ARCH_unaligned]
581         (__mempcpy_small): Add parameter for 1 byte copy and use it.
582         Reported by Geoff Keating <geoffk@ozemail.com.au>.
584 1998-10-09  Mark Kettenis  <kettenis@phys.uva.nl>
586         * sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove,
587         it is already defined in <bits/environments.h>.
589 1998-10-09  Ulrich Drepper  <drepper@cygnus.com>
591         * posix/ptestcases.h: Fix typo.
593 1998-10-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
595         * posix/regex.c (regcomp): Allocate and prepare a fastmap.
596         (regexec): Allocate regs.start and regs.end as one block.
598 1998-10-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
600         * sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of
601         enum decl.
603 1998-10-08  Philip Blundell  <pb@nexus.co.uk>
605         * sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of
606         sigcontext union to ...
607         * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here.  New
608         file.
609         * sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for
610         version 2.0 kernels.
612 1998-10-08  Ulrich Drepper  <drepper@cygnus.com>
614         * malloc/mtrace.c (tr_reallochook): Produce better output for real
615         reallocation case.
617         * signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined.
618         * argp/argp-xinl.c: Likewise.
620         * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing
621         Ruffian entry back.
622         Patch by Christian Gafton.
624 1998-10-08  Paul Eggert  <eggert@twinsun.com>
626         * time/mktime.c (__mktime_internal): When the requested time falls
627         in a spring-forward gap of size DT, return a time that is DT away
628         from the requested time, preferring a time whose tm_isdst differs
629         from the requested value.  Bump the max number of probes from 4 to
630         6 to account for the extra probes needed to discover a
631         spring-forward gap in the worst case.
633 1998-10-07 17:05  Ulrich Drepper  <drepper@cygnus.com>
635         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection
636         of the weird alpha architectures.
637         Patch by Cristian Gafton <gafton@redhat.com>.
639 1998-02-18 23:31  Richard Henderson  <rth@cygnus.com>
641         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
642         RAWHIDE and TSUNAMI.  Patch from Jay.Estabrook@digital.com.
644 1998-10-07  Ulrich Drepper  <drepper@cygnus.com>
646         * elf/dl-open.c (_dl_global_scope_alloc): Make global.
647         (dl_open_worker): Use realloc, not malloc to resize array.
648         * elf/rtld.c (_dl_initial_searchlist): New variable.
649         (_dl_main): Copy content of _dl_main_searchlist to
650         _dl_initial_searchlist.
651         * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and
652         _dl_global_scope_alloc.
653         * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist.
654         * elf/dl-close.c (_dl_close): When removing object with global
655         scope remove allocated searchlist if no dynamically loaded object
656         is on it anymore.
657         * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope.
658         (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist.
660         * malloc/mtrace.c (tr_where): Don't print space in location string,
661         print it afterwards.  Print better symbol name information.
663 1998-10-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
665         * manual/filesys.texi (Setting Permissions): Fix example for
666         reading umask.
668 1998-10-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
670         * elf/sprof.c (load_profdata): Fix typo in error message.
672 1998-10-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
674         * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
675         flag.
677 1998-10-04  Roland McGrath  <roland@baalperazim.frob.com>
679         * mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it.
681 1998-10-06  Ulrich Drepper  <drepper@cygnus.com>
683         * version.h (VERSION): Bump to 2.0.97.
685 1998-10-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
687         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P
688         in definitions of inline stat functions so that they match the
689         declaration.
690         * stdlib/stdlib.h: Likewise.
691         * wcsmbs/wchar.h: Likewise.
692         * libio/stdio.h: Likewise.
693         * stdio/stdio.h: Likewise.
694         * sysdeps/wordsize-64/inttypes.h: Likewise.
695         * sysdeps/wordsize-32/inttypes.h: Likewise.
696         * string/argz.h: Likewise.
697         * argp/argp.h: Likewise.
699 1998-10-06  Ulrich Drepper  <drepper@cygnus.com>
701         * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
702         netinet/in.h.
704 1998-10-05  Philip Blundell  <philb@gnu.org>
706         * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures
707         and constants.  Tidy up formatting a little.
709         * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6):
710         Move definitions to in.h.
712 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
714         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER,
715         SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added.
716         Remove inclusion of <linux/swap.h>.
718 1998-10-05  Ulrich Drepper  <drepper@cygnus.com>
720         * io/sys/stat.h: Use __P in definitions of inline stat functions
721         so that they match the declaration.
723 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
725         * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added.
727 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
729         * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current
730         linux 2.1 version.
732 1998-10-02  Philip Blundell  <pb@nexus.co.uk>
734         * sysdeps/arm/dl-machine.h: Fix typo in last change.
736         * sysdeps/arm/bits/huge_val.h: New file.
738 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
740         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added.
742         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add
743         define.
745 1998-10-05  Ulrich Drepper  <drepper@cygnus.com>
747         * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to
748         store result of realloc instead of using BUF.
750 1998-10-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
752         * misc/sgtty.h (_SGTTY_H): Correct spelling.
753         Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817].
755 1998-10-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
757         * manual/memory.texi (Obstacks): Document
758         obstack_alloc_failed_handler usage.
760         * malloc/obstack.h: Enhance comment about
761         obstack_alloc_failed_handler usage.
762         * malloc/obstack.c: Likewise.
764 1998-10-05  Ulrich Drepper  <drepper@cygnus.com>
766         * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or
767         gcc before 2.8 is used.
769 1998-10-01  Philip Blundell  <pb@nexus.co.uk>
771         * sysdeps/arm/machine-gmon.h: Correct args to mcount().  Patch
772         from Scott Bambrough.
774         * sysdeps/unix/sysv/linux/arm/register-dump.h: New file.
776         * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
777         include the lock member.
779 1998-09-03  Philip Blundell  <pb@nexus.co.uk>
781         * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.
783 1998-10-01  Ulrich Drepper  <drepper@cygnus.com>
785         * timezone/zic.c: Update from tzcode1998h.
786         * timezone/europe: Update from tzdata1998i.
787         * timezone/southamerica: Likewise.
789         * sys/types.h: Protect use of long long by __extension__.
790         * stdlib/stdlib.h: Likewise.
791         * string/string.h: Likewise.
792         * sysdeps/i386/bits/byteswap.h: Likewise.
793         * sysdeps/geeric/bits/byteswap.h: Likewise.
794         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
795         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
796         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
797         * sysdeps/wordsize-32/inttypes.h: Likewise.
798         * sysdeps/wordsize-32/stdint.h: Likewise.
799         * wcsmbs/wchar.h: Likewise.
801 1998-09-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
803         * string/bits/string2.h (__string2_1bptr_p): Don't use a statement
804         expression.
805         (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
806         __strsep): Greatly reduce size of expansion by combining common
807         expressions.
808         (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
809         inline function.
810         (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
811         by the above definitions.
813 1998-09-27  Geoff Keating  <geoffk@ozemail.com.au>
815         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
816         correct struct ipc_perm definition.
818 1998-09-29  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
820         * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.
822 1998-09-29  Cristian Gafton  <gafton@redhat.com>
824         * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
825         * sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
826         * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
827         * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
828         Add net/if_shaper.h.
830 1998-09-29  Ulrich Drepper  <drepper@cygnus.com>
832         * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.
834         * nis/ypclnt.c: Remove not needed close calls.
836 1998-09-28 23:55  Ulrich Drepper  <drepper@cygnus.com>
838         * nis/ypclnt.c (__yp_bind): Pretty print.  Optimize readv result
839         check a bit.  Also close socket of domain client.  Close socket
840         in IPPORT_RESERVED error case.
842 1998-09-28  Ulrich Drepper  <drepper@cygnus.com>
844         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
845         CMSG_ALIGN (fixes a bug) and correct test for availability of
846         another entry.
847         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
848         Linux version.
849         (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
850         availability of another entry.
851         Patch by ak@muc.de.
853         * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
854         Patch by ak@muc.de.
856         * libio/libio.h [!__STDC__]: Define const only if not defined.
858 1998-09-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
860         * posix/annexc.c (xsystem): New function.  Use it instead of
861         system.
863 1998-09-28  Ulrich Drepper  <drepper@cygnus.com>
865         * stdlib/longlong.h: Remove #endif for #if removed in last change.
867 1998-09-25  Ulrich Drepper  <drepper@cygnus.com>
869         * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
870         Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
871         allow using `ut' parameter.
872         [!emacs]: Define ut_argument, ut_argument_spec, and
873         ut_argument_spec_iso as empty.  Define ut to 0.  Add ut_argument and
874         argument_spec to prototypes and definitions.
875         (my_strftime): Don't call tzset of ut != 0.
876         Compute diff as 0 is ut != 0;
877         [emacs]: Define new emacs_strftime function.
878         Based on a patch by Paul Eggert.
880 1998-09-24  Paul Eggert  <eggert@twinsun.com>
882         * time/strftime.c (my_strftime): When asking for the length of the
883         subformatted buffer, do not limit the length to look for;
884         otherwise, we have no reliable way to distinguish between the
885         empty buffer and an error.
887 1998-09-25  Ulrich Drepper  <drepper@cygnus.com>
889         * math/Makefile (gmp-objs): Add mp_clz_tab.
891 1998-09-25  David S. Miller  <davem@pierdol.cobaltmicro.com>
893         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
894         set them.
895         * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
896         cpus lacking hardware multiply and divide.
898 1998-09-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
900         * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
901         $(<F), not $(^F).
903 1998-09-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
905         * db/btree/bt_delete.c: Fix -Wparentheses warning.
907 1998-09-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
909         * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
910         $(do-install).
912 1998-09-24  Ulrich Drepper  <drepper@cygnus.com>
914         * debug/catchsegv.sh: Also produce output if clone process died.
916 1998-09-24  Paul Eggert  <eggert@twinsun.com>
918         * time/strftime.c (f_wkday): Remove duplicate definition.
919         (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
920         !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
921         1998-09-11 fix to this case.
922         (wkday_len, month_len): Remove these macros; they're no longer needed.
924 1998-09-24  Paul Eggert  <eggert@twinsun.com>
926         * time/strftime.c (my_strftime): Don't store past the end of a
927         zero-sized buffer.
929 1998-09-24  Paul Eggert  <eggert@twinsun.com>
931         * time/strftime.c (underlying_strftime):
932         Set the buffer to a nonzero value before calling
933         strftime, and check to see whether strftime has set the buffer to zero.
934         This lets us distinguish between an empty buffer and an error.
936 1998-09-24  Paul Eggert  <eggert@shade.twinsun.com>
938         * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
939         This fix is propagated from tzcode1998g.tar.gz.
941 1998-09-24  Mark Kettenis  <kettenis@phys.uva.nl>
943         * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
944         _sys_siglist.  [!HAVE_GNU_LD]: Do not define _sys_siglist as
945         sys_siglist.  This is handled correctly by the weak_alias macro.
947 1998-09-24  Ulrich Drepper  <drepper@cygnus.com>
949         * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
950         of mempcpy.  Reported by Andreas Jaeger.
952         * misc/regexp.h (compile): Use alloca instead of __alloca.  It won't
953         pollute the namespace since the compiler will resolve it inline.
954         Reported by Florian La Roche <florian@suse.de>.
956 1998-09-24 10:29  Ulrich Drepper  <drepper@cygnus.com>
958         * timezone/private.h: Update from tzcode1998g.
960         * timezone/africa: Update from tzdata1998h.
961         * timezone/asia: Likewise.
962         * timezone/australasia: Likewise.
963         * timezone/europe: Likewise.
964         * timezone/northamerica: Likewise.
965         * timezone/southamerica: Likewise.
966         * timezone/zone.tab: Likewise.
968 1998-09-23 17:28 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
970         * misc/sys/mman.h: New file.
972         * sysdeps/generic/bits/mman.h: New file.
973         * sysdeps/unix/bsd/osf/bits/mman.h: New file.
974         * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
975         * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
976         * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
978         * sysdeps/generic/sys/mman.h: Removed.
979         * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
980         * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
981         * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
982         * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
983         * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
985         * include/sys/mman.h: Look directly for misc/sys/mman.h.
986         * misc/Makefile (headers): Add bits/mman.h.
987         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
988         bits/mman.h.
990         * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
991         * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
992         * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
993         * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
994         * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
995         * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
996         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
997         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
999 1998-09-23 16:27 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1001         * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
1002         * sysdeps/mach/alpha/thread_state.h: Likewise.
1003         * sysdeps/mach/i386/sysdep.h: Likewise.
1004         * sysdeps/mach/i386/thread_state.h: Likewise.
1005         * sysdeps/mach/mips/sysdep.h: Likewise.
1006         * sysdeps/mach/mips/thread_state.h: Likewise.
1007         * sysdeps/posix/profil.c: Likewise.
1008         * sysdeps/i386/i586/memcopy.h: Likewise.
1009         * sysdeps/mach/pagecopy.h: Likewise.
1011 1998-09-23 15:25  Ulrich Drepper  <drepper@cygnus.com>
1013         * libio/stdio.h: Define __need_getopt and include getopt.h to define
1014         getopt stuff.
1015         * posix/unistd.h: Likewise.
1016         * stdio/stdio.h: Likewise.
1017         * posix/getopt.h: Remove _GNU_SOURCE use.  If __need_getopt is defined
1018         define only getopt and the variables.
1020 1998-09-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1022         * scripts/test-installation.pl (installation_problem): Don't link
1023         the test program against libdb1.
1025 1998-09-23 13:52  Ulrich Drepper  <drepper@cygnus.com>
1027         * Makeconfig (all-subdirs): Add db.
1028         * Versions.def: Add definition for libdb1.
1029         * shlib-versions: Add definitions for libdb1.
1030         * db/Makefile (extra-libs): Replace by libdb1.
1031         (libdb-routines): Rename to libdb1-routines.
1032         (headers): Rename to db1-headers.
1033         (distribute): Add $(db1-headers).
1034         (install-others): Define to install symlink libdb.so.NN and the
1035         $(db1-headers).
1036         (CPPFLAGS): Add -DUSE_LIBDB1
1037         Remove rules to build makedb.
1038         * db/Versions: Rename libdb to libdb1.
1039         * include/db.h: If USE_LIBDB1 is defined include db/db.h.
1040         * db/makedb.c: Removed.
1042         * scripts/versions.awk: Recognize digits in library names.
1044         * db/btree/bt_open.c: Fix compiler warnings.
1045         * db/btree/bt_put.c: Likewise.
1046         * db/btree/bt_split.c: Likewise.
1047         * db/hash/hash.c: Likewise.
1048         * db/hash/hash_bigkey.c: Likewise.
1049         * db/recno/rec_close.c: Likewise.
1051         * Makefile: Add localedata/% goal.
1053 1998-09-22 19:58 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1055         * posix/execvp.c: Don't give up searching the PATH if execve
1056         returns ENOTDIR.
1058 1998-09-22 12:53  Ulrich Drepper  <drepper@cygnus.com>
1060         * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
1061         if _dl_fpu_control_set is set.
1062         * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
1063         * elf/rtld.c: Don't define _dl_fpu_control_set.
1064         * elf/Versions: Remove _dl_fpu_control_set.
1066 1998-09-22 11:51  Ulrich Drepper  <drepper@cygnus.com>
1068         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
1069         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
1070         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
1071         Correct values of other SA_* macros according to kernel headers.
1073 1998-09-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1075         * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
1076         variable l.
1077         * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
1078         old.
1080 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1082         * elf/ldsodefs.h: Fix typo in comment.
1084 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1086         * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
1087         char when comparing buffer contents with putback character.
1089 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1091         * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
1092         Undo last change.
1093         * elf/Versions: Undo last change.  Export _dl_fpu_control and
1094         _dl_fpu_control_set.
1095         * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
1096         variables.  Include <fpu_control.h>.
1097         * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
1098         _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
1099         to indicate that is was seen.
1100         * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
1101         only if _dl_fpu_control was set and is equal to desired value.
1102         * math/Makefile (aux): Undo last change.
1103         * math/Versions: Export __fpu_control with version GLIBC_2.0.
1105 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1107         * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
1108         optimized.
1110 1998-09-21 10:00  Ulrich Drepper  <drepper@cygnus.com>
1112         * string/bits/string2.h: Add mempcpy optimization.
1113         * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
1114         * intl/localealias.c: Define mempcpy only if not already defined.
1116         * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
1117         defined.
1119 1998-09-20 10:48 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1121         * csu/abi-note.S: Emit the note directly instead of defining
1122         a preprocessor macro that's only used once.  Don't include sysdep.h.
1123         * abi-tags: Generalize Solaris entry.
1125 1998-09-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1127         * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
1128         Change to array to avoid runtime relocation.
1129         * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
1131 1998-09-21 12:22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1133         * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
1134         * math/Makefile ($(objpfx)libieee.a): Likewise.
1136 1998-09-21  Ulrich Drepper  <drepper@cygnus.com>
1138         * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
1139         Patch by John Tobey <jtobey@banta-im.com>.
1141 1998-09-20  Ulrich Drepper  <drepper@cygnus.com>
1143         * login/Makefile (distribute): Remove pty-internal.h, add
1144         pty-private.h.
1146         * stdlib/tst-strtol.c: Add more checks.
1147         Patch by Zack Weinberg <zack@rabi.columbia.edu>.
1149 1998-09-20 09:37  Ulrich Drepper  <drepper@cygnus.com>
1151         * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
1152         * elf/elf.h: Add AT_FPUCW.
1153         * elf/Makefile (dl-routines): Add fpu_control.
1154         (elide-routines.os): Add fpu_control.
1155         (rtld-routines): Add fpu_control.
1156         * math/Makefile (aux): Remove fpu_control.
1157         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
1158         (_dl_show_auxv): Likewise.
1159         * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
1160         if different from OS default.
1162         * stdio-common/tstscanf.c: Add test case for (nil).
1164 1998-09-18 17:41  Ulrich Drepper  <drepper@cygnus.com>
1166         * libio/fileops.c (_IO_new_file_underflow): Before allocating
1167         buffer make sure the pushback buffer is destroyed.
1168         (_IO_new_file_seekoff): Likewise.
1169         If mode==0 quit early with the result.
1170         Clear OEF flag after successful fseek.
1171         * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
1172         * libio/ftello.c (ftello): Add offset from original buffer if
1173         stream has pushed back characters.
1174         * libio/ftello64.c (ftello64): Likewise.
1175         * libio/iofgetpos.c (_IO_fgetpos): Likewise.
1176         * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
1177         * libio/ioftell.c (_IO_ftell): Likewise.
1178         * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
1179         and _IO_save_ptr.
1180         (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
1181         (_IO_default_pbackfail): Only stored push back character in original
1182         buffer if it is the same as the one in the file at this position.
1183         * libio/iofclose.c: Free backup buffer if one is available.
1184         * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
1185         mode!=0.
1187         * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
1189         * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
1191         * stdio-common/vfscanf.c: Fix reading (nil) for %p.
1193 1998-09-18  Mark Kettenis  <kettenis@phys.uva.nl>
1195         * login/programs/pt_chown.c (more_help): Correct message that
1196         describes the purpose of the program.
1198         * login/openpty.c: Do not include pty-private.h.
1199         (pts_name): New function.  Return name of slave pseudo terminal in
1200         an allocated buffer if necessary.
1201         (openpty): Use pts_name to get name of the slave end of the pseudo
1202         terminal pair.
1204         * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
1205         pts_name before return.
1207 1998-09-18 11:15  Ulrich Drepper  <drepper@cygnus.com>
1209         * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
1211 1998-09-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1213         * login/openpty.c: Include pty-private.h instead of
1214         pty-internal.h.
1216 1998-09-09  Philip Blundell  <pb@nexus.co.uk>
1218         * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
1220 1998-09-07  Philip Blundell  <pb@nexus.co.uk>
1222         * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
1223         recent ld.so changes.
1224         (elf_machine_runtime_setup): Correct behaviour when profiling.
1226 1998-09-17 19:34  Ulrich Drepper  <drepper@cygnus.com>
1228         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
1229         Patch by John Tobey <jtobey@banta-im.com>.
1231 1998-09-17  Mark Kettenis  <kettenis@phys.uva.nl>
1233         * login/pty-internal.h: Removed.  Moved constants related to the
1234         `grantpt' helper program protocol to ...
1235         * login/pty-private.h: ... here.  New file.
1236         * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
1237         to make the function work with kernels >= 2.1.115.
1238         * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
1239         version if using the cloning device fails.
1240         * sysdeps/unix/sysv/linux/grantpt.c: New file.
1241         * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
1242         * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
1243         use by Linux specific code.
1244         * sysdeps/unix/bsd/unlockpt.c: General cleanup.
1245         * sysdeps/unix/grantpt.c: Largely rewritten.  (pts_name): New
1246         function.  (grantpt): Use pts_name, check group and permission
1247         mode in addition to owner.  Try to set the owner, group and
1248         permission mode first without invoking the helper program.
1249         * login/programs/pt_chown.c: Largely rewritten.  Add argp and
1250         internationalization support.  Use symbolic constants instead of
1251         hardwired numbers for permission mode.
1252         * sysdeps/unix/bsd/ptsname.c: New file.
1254 1998-09-17 22:04  Tim Waugh  <tim@cyberelk.demon.co.uk>
1256         * posix/wordexp-test.c: Undo last change.
1258         * posix/wordexp.c: Undo last change.
1260 1998-09-16  Ulrich Drepper  <drepper@cygnus.com>
1262         * nscd/grpcache.c (save_grp): Partly undo last change.
1264         * nscd/pwdcache.c (save_pwd): Undo last change.
1266 1998-09-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1268         * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
1269         function.  Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
1271 1998-09-15  David S. Miller  <davem@pierdol.cobaltmicro.com>
1273         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
1274         Add profiling support.
1275         (TRAMPOLINE_TEMPLATE): New macro.
1276         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
1277         (RTLD_START): Prettify, and set __libc_stack_end properly.
1278         (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
1279         and check for sym being NULL instead.
1280         * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
1281         of stack space.
1282         * sysdeps/sparc/sparc64/lshift.S: Likewise.
1283         * sysdeps/sparc/sparc64/mul_1.S: Likewise.
1284         * sysdeps/sparc/sparc64/rshift.S: Likewise.
1285         * sysdeps/sparc/sparc64/submul_1.S: Likewise.
1286         * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
1287         MEDANY code model %g4 usage.
1288         * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
1289         MEDANY code model %g4 usage.
1290         * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
1291         code model address formation.
1292         * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
1293         include elf/ldsodefs.h
1294         (DT_SPARC): Remove.
1295         (elf_machine_matches_host): It is now EM_SPARCV9.
1296         (elf_machine_dynamic): Clean up to remove ugly cast.
1297         (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
1298         new PLT formats.
1299         (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
1300         Prettify rest of function.
1301         [R_SPARC_COPY]: Check for sym being NULL.
1302         [R_SPARC_32]: Handle it.
1303         [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
1304         MEDMID code model.
1305         [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
1306         MEDANY code model.
1307         [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
1308         (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
1309         Add profiling support.
1310         (TRAMPOLINE_TEMPLATE): New macro.
1311         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
1312         (RTLD_START): Prettify and set __libc_stack_end.
1313         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
1314         Define.
1315         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
1316         (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
1317         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
1318         unused variable scratch.
1319         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1320         (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
1321         Declare.
1322         (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
1323         stub to rt_sigaction syscalls.  Rewrite non-rt case to use correct
1324         old format kernel sigaction structures.
1325         * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
1326         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
1327         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
1328         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
1329         ucontext include.
1330         (_JMPBUF_UNWINDS): Define.
1331         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
1332         statfs64 structure, which is exactly the same as the normal one.
1333         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
1334         of stack.  Use correct syscall trap number.  Add branch prediction
1335         settings to branch instructions.  Remove old MEDANY code model %g4
1336         referneces for non-PIC.
1337         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
1338         * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
1339         * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
1340         * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
1341         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1342         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
1343         __libc_longjmp and __libc_siglongjmp strong aliases.
1344         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
1345         Also define to __no__readdir64_decl around readdir.c inclusion.
1346         (__readdir64): Add strong alias.
1347         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
1348         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
1349         Set strong and weak names properly.
1351 1998-09-16 11:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1353         * manual/Makefile (AWK): Default to gawk if standalone.
1355 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1357         * Makefile (distribute): Undo last change.
1358         * Make-dist (+tsrc) [not subdir]: Also include indirection headers
1359         for sysdep headers.
1360         (+subdir-headers): Removed, unused.
1362 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1364         * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
1365         $(do-install).
1367 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1369         * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
1370         absolute name in $(config-sysdirs), can never happen.
1371         ($(+sysdir_pfx)sysd-rules): Likewise.
1372         * Makeconfig (full-config-sysdirs): Likewise.
1373         (all-Subdirs-files): Prepend $(..).
1375         * configure.in: Don't check for absolute name in $add_ons_pfx, can
1376         not happen.  Let --enable-add-ons=yes work if no add-ons actually
1377         exist.
1379 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1381         * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
1382         continuations in command.
1384 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1386         * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
1388 1998-09-16 00:47  Tim Waugh  <tim@cyberelk.demon.co.uk>
1390         * posix/wordexp-test.c: If expansion or substitution occurs
1391         anywhere in a word, the entire word is subject to field-splitting.
1393         * posix/wordexp.c (parse_glob): Look for end of word instead of
1394         end of field when deciding what to glob.
1395         (field_split_word): New function, now the only place where
1396         field-splitting is performed.
1397         (parse_dollars): New parameter - tell the caller if
1398         field-splitting should be performed on this word.
1400         * posix/wordexp-test.c (testit): Only call wordfree if wordexp
1401         succeeded (or failed with WRDE_NOSPACE).
1403 1998-09-15 19:53 1998  Tim Waugh  <tim@cyberelk.demon.co.uk>
1405         * posix/wordexp.c (wordexp): Don't convert IFS characters to
1406         blanks.
1408         * posix/wordexp-test.c: Words not the result of expansion or
1409         substitution should remain unchanged.
1411 1998-09-15  Ulrich Drepper  <drepper@cygnus.com>
1413         * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
1414         (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
1416 1998-09-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1418         * stdio-common/Makefile: Include Makeconfig so that
1419         $(inst_includedir) is defined.
1421 1998-09-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1423         * io/pwd.c: Include <mcheck.h>.
1425 1998-09-15 08:00  Ulrich Drepper  <drepper@cygnus.com>
1427         * nscd/pwdcache.c (save_pwd): Correct copying.
1428         * nscd/grpcache.c (save_grp): Likewise.
1430 1998-09-14 23:36  Ulrich Drepper  <drepper@cygnus.com>
1432         * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
1433         (free_pwd): Adjust for this change.
1434         * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
1435         (free_grp): Adjust for this change.
1437 1998-09-14  Ulrich Drepper  <drepper@cygnus.com>
1439         * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
1441 1998-09-14 15:29  Ulrich Drepper  <drepper@cygnus.com>
1443         * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
1444         (install-others): Add bits/stdio_lim.h.
1445         Add rule to install bits/stdio_lim.h.
1447         * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
1449         * Makefile (distribute): Add include/sys/mman.h.
1451         * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
1452         * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
1453         * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
1455         * grp/initgroups.c: Include stdlib.h.
1456         Patch by Zack Weinberg.
1458 1998-09-14 22:46  Tim Waugh  <tim@cyberelk.demon.co.uk>
1460         * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
1461         for field-splitting :abc: is correct, and that two fields should
1462         result. Revert tests to reflect this.
1464         * posix/wordexp.c (w_emptyword): Remove function.
1465         (exec_comm): Don't use w_emptyword.
1466         (parse_param): Likewise.
1468 1998-09-14 15:00  Ulrich Drepper  <drepper@cygnus.com>
1470         * sysdeps/arm/fpu/Dist: Moved to...
1471         * sysdeps/arm/Dist: ...here.
1472         * sysdeps/posix/Dist: Removed.
1473         * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
1474         * sysdeps/unix/sysv/linux/i386/Dist: ...here.
1476 1998-08-26  Geoff Keating  <geoffk@ozemail.com.au>
1478         * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
1480 1998-09-14 11:26  Ulrich Drepper  <drepper@cygnus.com>
1482         * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
1484 1998-09-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1486         * libc-work/nis/nss_nisplus/nisplus-service.c
1487         (_nss_nisplus_parse_servent): Convert port in network byte order.
1489 1998-09-14 07:53 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1491         * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
1492         to provide only malloc and calloc.
1493         * include/stdlib.h: Support the above.
1494         * string/bits/string2.h: Use __need_malloc_and_calloc when
1495         including stdlib.h.
1496         (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
1498         * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
1499         * iconvdata/iso646.c: Include <stdlib.h>.
1501 1998-09-14 07:51 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1503         * sunrpc/rpc_cout.c: Add braces around ambiguous else.
1504         * sysdeps/libm-ieee754/w_pow.c: Likewise.
1505         * sysdeps/libm-ieee754/w_powf.c: Likewise.
1506         * sysdeps/libm-ieee754/w_powl.c: Likewise.
1508 1998-09-14 07:57 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1510         * stdio-common/stdio_lim.h.in: New file.  All parameters
1511         are adjustable at build time.
1512         * Rules: Add a rule to build bits/stdio_lim.h from
1513         stdio-common/stdio_lim.h.in.  (It has to be in Rules so that
1514         all subdirectories know how to make the file.  It can't be
1515         in Makerules because then it gets built at top level and the
1516         dependencies are wrong.)
1518         * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
1519         * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
1520         stdio_lim.h.
1521         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
1522         * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
1523         * sysdeps/posix/Makefile: Removed.
1524         * sysdeps/posix/mk-stdiolim.c: Removed.
1525         * sysdeps/generic/bits/stdio_lim.h: Removed.
1527 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1529         * argp/argp-help.c: Fixup indentation.
1530         * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
1531         * resolv/nss_dns/dns-network.c: Likewise.
1532         * resolv/res_send.c: Likewise.
1533         * rt/aio_cancel.c: Likewise.
1534         * rt/aio_misc.c: Likewise.
1536 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1538         * Makefile (install-symbolic-link): Remove the link list file at last.
1539         * Makerules (install-clean-symbolic-link-list): Removed.
1541 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1543         * timezone/tst-timezone.c: Print time in UTC to get consistent
1544         output.
1546 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1548         * elf/rtld.c (_dl_rpath): Removed.
1549         * elf/dl-support.c (_dl_path): Removed.
1550         * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
1551         (CFLAGS-dl-support.c): Removed.
1553         * elf/dl-load.c (env_path_list): Renamed from fake_path_list.  All
1554         uses changed.
1555         (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
1556         instead of appending it to the main map's rpath info.
1557         (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
1558         DT_RPATHs.  This makes it effective again.
1559         (decompose_rpath): Remove second parameter, callers changed.
1560         (fillin_rpath): Allocate enough space in curwd.
1561         (expand_dynamic_string_token): Cope with get_origin returning -1.
1563 1998-09-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1565         * libc-work/nis/nss_compat/compat-pwd.c: Add support for
1566         passwd.adjunct.
1568         * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
1569         invalid password.
1571 1998-09-13 18:06  Ulrich Drepper  <drepper@cygnus.com>
1573         * locale/programs/locale.c: Update dates.
1575 1998-09-13  Mark Kettenis  <kettenis@phys.uva.nl>
1577         * sysdeps/generic/bits/types.h: Include <features.h>.  Make sure
1578         size_t is defined.  Some reordering of defenitions to make
1579         maintaining this file in parallel with the linux-specific file easier.
1581 1998-09-13  Ulrich Drepper  <drepper@cygnus.com>
1583         * io/pwd.c (main): Add call to mtrace.
1585         * malloc/mtrace.pl: Quote @ in string.
1587 1998-09-13 19:25  Tim Waugh  <tim@cyberelk.demon.co.uk>
1589         * posix/wordexp.c (parse_arith): Fix memory leaks.
1590         (exec_comm): Likewise.
1591         (parse_param): Likewise.
1592         (wordexp): Likewise.
1593         (exec_comm): Reduce number of function return points.
1594         (parse_param): Likewise.
1595         (wordexp): Likewise.
1597 1998-09-13 14:53  Tim Waugh  <tim@cyberelk.demon.co.uk>
1599         * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
1600         yield three fields, not two.  Test both parameter expansion and
1601         command substitution for correct field-splitting behaviour.
1603         * posix/wordexp.c (w_emptyword): New function.
1604         (parse_param): Use it.
1605         (exec_comm): Likewise, for consistency with the way parse_param
1606         splits fields.
1607         (parse_param): Fix some memory leaks.
1609 1998-09-13 18:04  Geoff Keating  <geoffk@ozemail.com.au>
1611         * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
1612         Don't mark asm `volatile'.
1613         (__elf_machine_runtime_setup): Clear the last partial block in the PLT
1614         from the data cache too.  Assume it isn't in the instruction cache yet.
1615         (__elf_machine_fixup_plt): Clear the modified address from the caches.
1617 1998-09-12  Mark Kettenis  <kettenis@phys.uva.nl>
1619         * sysdeps/generic/segfault.c (install_handler): Install signal
1620         handler with SA_ONSTACK instead of setting the stack flags to
1621         SS_ONSTACK.  Do not install handler for SIGSTKFLT if it is not
1622         defined.
1624 1998-09-12 14:24 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1626         * signal/signal.h: Fix multiple inclusion guard to cover the
1627         entire file.
1628         * wcsmbs/wchar.h: Remove prototype of internal function
1629         __mbsrtowcs.
1630         * sysdeps/i386/i486/bits/string.h (memchr): Don't do
1631         arithmetic on `void *'.
1633 1998-09-12 01:09  Tim Waugh  <tim@cyberelk.demon.co.uk>
1635         * posix/wordexp-test.c: Fix wrong tests.  Add new tests.
1637         * posix/wordexp.c (wordexp): Perform word-splitting instead of
1638         field-splitting here.
1639         (wordexp): If out of memory mid-word, free the word (but still
1640         leave pwordexp alone for caller to see).
1641         (parse_param): Allow for zero-length fields (smarter checking of
1642         memory allocation failure).
1643         (w_addword): Convert NULL words to "".
1644         (wordexp): Convert left-over IFS characters to blanks (like bash).
1646 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
1648         * configure.in: Use test -f instead of test -e.
1649         Patch by John Tobey <jtobey@banta-im.com>.
1651         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
1652         * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
1653         * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
1654         * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
1655         * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
1656         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
1657         * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
1658         Patches by John Tobey <jtobey@banta-im.com>.
1660         * time/strftime.c (my_strftime): Delay use of *tp values until
1661         latest possible point to allow partly initialized structures
1662         (e.g., from strptime).
1664         * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
1665         and NATS-SEFI.
1666         Define *-routines variables for new modules.
1667         (distribute): Add .c files for new modules.
1668         (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
1669         and nats-sefi.h.
1670         Add rules for header generation.
1671         * iconvdata/gconv-modules: Add entries for new modules.
1672         * iconvdata/iso_10367-box.c: New file.
1673         * iconvdata/mac-is.c: New file.
1674         * iconvdata/nats-dano.c: New file.
1675         * iconvdata/nats-sefi.c: New file.
1677 1998-04-30 18:20  H.J. Lu  <hjl@gnu.org>
1679         * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
1680         loader if PIC is not defined.
1682 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
1684         * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
1685         ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
1686         INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
1687         and ISO_5428.
1688         Define *-routines variables for new modules.
1689         (distribute): Add .c files for new modules.
1690         (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
1691         ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
1692         greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
1693         iso_5427.h, iso_5427-ext.h, and iso_5428.h.
1694         Add rules for header generation.
1695         * iconvdata/gconv-modules: Add entries for new modules.
1696         * iconvdata/csn_369103.c: New file.
1697         * iconvdata/cwi.c: New file.
1698         * iconvdata/dec-mcs.c: New file.
1699         * iconvdata/ecma-cyrillic.c: New file.
1700         * iconvdata/gost_19768-74.c: New file.
1701         * iconvdata/greek-ccitt.c: New file.
1702         * iconvdata/greek7-old.c: New file.
1703         * iconvdata/greek7.c: New file.
1704         * iconvdata/inis-8.c: New file.
1705         * iconvdata/inis-cyrillic.c: New file.
1706         * iconvdata/inis.c: New file.
1707         * iconvdata/iso6937-2.c: New file.
1708         * iconvdata/iso_2033.c: New file.
1709         * iconvdata/iso_5427-ext.c: New file.
1710         * iconvdata/iso_5427.c: New file.
1711         * iconvdata/iso_5428.c: New file.
1713         * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
1714         entries.
1715         Convert U02dd correctly.
1717 1998-09-11 20:46  Richard Henderson  <rth@cygnus.com>
1719         * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
1720         _dl_main_searchlist not _dl_default_scope to _dl_init_next.
1721         * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
1722         * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
1724 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
1726         * resolv/res_init.c (res_init): Handle resolv.conf file with only
1727         one nameserver correctly.  Patch by HJ Lu.
1729         * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
1730         and ANSI_X3.110.
1731         Define *-routines variables for new modules.
1732         (distribute): Add .c files for new modules.
1733         (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
1734         Add rules for hedaer generation.
1735         * iconvdata/gconv-modules: Add entries for new modules.  Pretty print.
1736         * iconvdata/ansi_x3.110.c: New file.
1737         * iconvdata/asmo_449.c: New file.
1738         * iconvdata/baltic.c: New file.
1739         * iconvdata/iec_p27-1.c: New file.
1741         * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
1742         entries.
1743         Convert U02dc correctly.
1745         * math/atest-exp.c: Add parentheses to avoid gcc warnings.
1746         * math/atest-exp2.c: Likewise.
1747         * math/atest-sincos.c: Likewise.
1749         * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
1750         is defined.
1752 1998-09-11 10:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1754         * string/strcoll.c: Optimize a few expressions.
1755         * string/strxfrm.c: Likewise.
1757 1998-09-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1759         * manual/locale.texi: Fix typos.
1761 1998-09-10  Ulrich Drepper  <drepper@cygnus.com>
1763         * stdlib/random_r.c (__setstate_r): Allow call with same state
1764         array as currently used (PR libc/774).
1766         * include/limits.h: Include gcc's header even if this file is
1767         found more than once before it (PR libc/778)
1769         * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
1770         (sysdep_headers): Remove sys/debugreg.h.
1771         * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
1772         (sysdep_headers): Add sys/debugreg.h.
1773         * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
1774         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
1776         * stdio-common/tmpnam.c: Move local static variable buf to
1777         toplevel and rename to tmpnam_buffer to ease debugging.
1778         Patch by Joe Keane <jgk@jgk.org>.
1779         Optimize s == NULL case a bit.
1781         * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
1782         correction.
1784 1998-09-10 12:51  Ulrich Drepper  <drepper@cygnus.com>
1786         * resolv/res_init.c (res_init): Initialize _res.nscount and
1787         _res.nsaddr.sin_port differently for the can when no loopback
1788         is available to allow immediate timeout in non-networking environments.
1789         Patch by Cristian Gafton <gafton@redhat.com>.
1791 1998-09-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1793         * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
1794         BAR and not EM DASH.
1795         * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
1796         * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
1797         Fixes PR libc/717.
1799 1998-09-10 11:53  Ulrich Drepper  <drepper@cygnus.com>
1801         * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
1802         for test.
1803         * timezone/tst-timezone.c (tests): Fix typo in last patch.
1805         * time/tzfile.c (__tzfile_read): Handle case when there are no
1806         transitions.  Set __timezone based on computed offset.
1807         * time/tzset.c (tzset_internal): Set __timezone before returning.
1809         * time/tzset.c (tzset_internal): Optimize handling of local string
1810         copy.
1812 1998-09-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1814         * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
1815         libc/776).
1817 1998-09-09  Benjamin Kosnik  <bkoz@tintin.cygnus.com>
1819         * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
1820         (csqrt_test): Likewise.
1821         * sysdeps/powerpc/bits/fenv.h: Add parens.
1823 1998-09-09 18:48  Ulrich Drepper  <drepper@cygnus.com>
1825         * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
1826         _dl_main_searchlist not _dl_default_scope to _dl_init_next.
1827         Patch by Benjamin Kosnik <bkoz@cygnus.com>.
1829 1998-09-09  Mark Kettenis  <kettenis@phys.uva.nl>
1831         * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
1832         the special `-1' pointer.
1834 1998-09-09 09:32  Ulrich Drepper  <drepper@cygnus.com>
1836         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
1837         inline.
1839 1998-09-07  Paul Eggert  <eggert@twinsun.com>
1841         * time/mktime.c (__EXTENSIONS__): Define if not defined.
1842         (_REENTRANT): Remove.  It has undesirable consequences in
1843         Solaris 2.6 (e.g. it turns off the putc macro).  Defining
1844         __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
1845         is what we want.
1846         * time/strftime.c: Likewise.
1848 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1850         * elf/dl-error.c: Fix spelling.
1852 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1854         * stdlib/strfmon.c: Quiet -Wparentheses warnings.
1855         * stdio-common/_itoa.c: Likewise.
1856         * stdio-common/printf_fp.c: Likewise.
1857         * stdio-common/vfscanf.c: Likewise.
1858         * wcsmbs/wcstok.c: Likewise.
1859         * sysdeps/generic/glob.c: Likewise.
1860         * posix/getopt.c: Likewise.
1861         * sysdeps/posix/getaddrinfo.c: Likewise.
1862         * posix/wordexp.c: Likewise.
1863         * io/ftw.c: Likewise.
1864         * io/fts.c: Likewise.
1865         * misc/getpass.c: Likewise.
1866         * iconv/gconv_conf.c: Likewise.
1867         * argp/argp-fmtstream.c: Likewise.
1868         * argp/argp-help.c: Likewise.
1869         * elf/dl-load.c: Likewise.
1870         * locale/programs/stringtrans.c: Likewise.
1871         * catgets/gencat.c: Likewise.
1872         * posix/getconf.c: Likewise.
1873         * iconv/gconv_conf.c: Likewise.
1874         * iconv/iconv_prog.c: Likewise.
1876         * string/strcoll.c: Optimize a few expressions.
1877         * string/strxfrm.c: Likewise.
1879 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1881         * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
1882         level to avoid uninit variable warning.
1884 1998-09-09 10:34  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1886         * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
1887         instead of _dl_default_scope[2] as argument to _dl_init_next.
1889         * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
1890         C9x macro.
1892 1998-09-08  Ulrich Drepper  <drepper@cygnus.com>
1894         Fix compatibility problems introduced in last change.
1895         * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
1896         defined.
1897         * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
1898         -DWEAK_GMON_START to CFLAGS-initfini.s.
1900         * elf/dl-object.c (_dl_new_object): Store map address in
1901         _dl_loaded if _dl_loaded is NULL.
1902         * elf/rtld.c (dl_main): Don't update _dl_loaded here.
1904         * sysdeps/generic/setrlimit64.c: Remove stub warning.
1906 1998-09-07  Ulrich Drepper  <drepper@cygnus.com>
1908         * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
1909         quiet.
1910         * db2/btree/bt_cursor.c: Likewise.
1911         * db2/common/db_region.db_c: Likewise.
1912         * db2/common/db_salloc.db_c: Likewise.
1913         * db2/db/db.c: Likewise.
1914         * db2/db/db_rec.c: Likewise.
1915         * db2/hash/hash.c: Likewise.
1916         * db2/hash/hash_page.c: Likewise.
1917         * db2/hash/hash_rec.c: Likewise.
1918         * db2/log/log_findckp.c: Likewise.
1919         * db2/log/log_get.c: Likewise.
1920         * db2/log/log_put.c: Likewise.
1921         * db2/mp/mp_fget.c: Likewise.
1922         * db2/mp/mp_fput.c: Likewise.
1923         * db2/mp/mp_region.c: Likewise.
1924         * stdlib/strtol.c: Likewise.
1925         * string/strcoll.c: Likewise.
1926         * string/strxfrm.c: Likewise.
1927         * argp/argp-help.c: Likewise.
1928         * argp/argp-parse.c: Likewise.
1929         * resolv/res_debug.c: Likewise.
1931 1998-09-07 09:58  Ulrich Drepper  <drepper@cygnus.com>
1933         * math/tgmath.h (scalb): Only define for __USE_MISC or
1934         __USE_XOPEN_EXTENDED.  Patch by Zack Weinberg.
1936 1998-09-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1938         * libio/stdio.h: Fix comment.
1940         * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
1941         __USE_ISOC9X.
1943 1998-09-06 09:53 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1945         * Makeconfig (+gccwarn): Remove -Wno-parentheses.
1947         * elf/dl-open.c: Quiet -Wparentheses warnings.
1948         * iconvdata/johab.c: Likewise.
1949         * iconvdata/uhc.c: Likewise.
1950         * inet/inet_net.c: Likewise.
1951         * io/fts.c: Likewise.
1952         * locale/newlocale.c: Likewise.
1953         * misc/getttyent.c: Likewise.
1954         * misc/mntent_r.c: Likewise.
1955         * misc/ttyslot.c: Likewise.
1956         * nscd/nscd_conf.c: Likewise.
1957         * nss/nsswitch.c: Likewise.
1958         * resolv/gethnamaddr.c: Likewise.
1959         * resolv/nsap_addr.c: Likewise.
1960         * resolv/res_debug.c: Likewise.
1961         * stdio-common/_itoa.c: Likewise.
1962         * stdlib/strtod.c: Likewise.
1963         * string/strverscmp.c: Likewise.
1964         * sunrpc/svc.c: Likewise.
1965         * sysdeps/libm-ieee754/e_cosh.c: Likewise.
1966         * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
1967         * sysdeps/libm-ieee754/e_sinh.c: Likewise.
1968         * sysdeps/posix/getaddrinfo.c: Likewise.
1970 1998-09-06 15:13  Ulrich Drepper  <drepper@cygnus.com>
1972         * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
1973         for use of global scope.
1974         * elf/dlvsym.c (dlvsym_doit): Likewise.
1976 1998-09-02  Paul Eggert  <eggert@twinsun.com>
1978         * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
1979         copy the redundant bytes at the end of the format as-is; don't
1980         just copy their first byte and then rescan, as that might get
1981         us an encoding error.
1982         Account correctly for the length of multibyte sequences in the
1983         format.
1985 1998-09-03 20:14  Tim Waugh  <tim@cyberelk.demon.co.uk>
1987         * posix/wordexp-test.c: Add tests for different IFS values.
1988         Change unquoted-newline test so that newline is not in IFS.
1990         * posix/wordexp.c (wordexp): Correct null/unset mix-up when
1991         determining IFS characters.  Return WRDE_BADCHAR for unquoted
1992         special characters _except_ if they are separators.
1994 1998-09-06 10:56  Ulrich Drepper  <drepper@cygnus.com>
1996         * include/tgmath.h: New file.
1998         * libio/stdio.h: Correct reversed #ifs.
1999         Patch by Zack Weinberg.
2001         * manual/creature.texi: Better explain reason for feature select
2002         macros.
2003         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
2005 1998-09-06 10:25 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2007         * include/alloca.h: Add multiple-inclusion guard.
2008         * include/db.h: Likewise.
2009         * include/db_185.h: Likewise.
2010         * include/dlfcn.h: Likewise.
2011         * include/fcntl.h: Likewise.
2012         * include/grp.h: Likewise.
2013         * include/libintl.h: Likewise.
2014         * include/mntent.h: Likewise.
2015         * include/pwd.h: Likewise.
2016         * include/sched.h: Likewise.
2017         * include/search.h: Likewise.
2018         * include/setjmp.h: Likewise.
2019         * include/shadow.h: Likewise.
2020         * include/signal.h: Likewise.
2021         * include/stdio.h: Likewise.
2022         * include/stdlib.h: Likewise.
2023         * include/string.h: Likewise.
2024         * include/termios.h: Likewise.
2025         * include/time.h: Likewise.
2026         * include/ulimit.h: Likewise.
2027         * include/utmp.h: Likewise.
2028         * include/wchar.h: Likewise.
2029         * include/sys/file.h: Likewise.
2030         * include/sys/gmon.h: Likewise.
2031         * include/sys/ioctl.h: Likewise.
2032         * include/sys/mman.h: Likewise.
2033         * include/sys/resource.h: Likewise.
2034         * include/sys/select.h: Likewise.
2035         * include/sys/socket.h: Likewise.
2036         * include/sys/statfs.h: Likewise.
2037         * include/sys/time.h: Likewise.
2038         * include/sys/times.h: Likewise.
2039         * include/sys/wait.h: Likewise.
2041 1998-09-06 09:00  Ulrich Drepper  <drepper@cygnus.com>
2043         * version.h (VERSION): Bump to 2.0.96.
2045         Rewrite runtime linker to be truly thread-safe.  There is now no
2046         global variable specifying the scope.  We create all needed
2047         scopes at the time the link maps are created.
2048         * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
2049         * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
2050         l_symbolic_searchlist, l_scope, and l_local_scope elements in
2051         struct link_map.
2052         * elf/dl-close.c: Rewritten accordingly.
2053         * elf/dl-deps.c: Likewise.
2054         * elf/dl-error.c: Likewise.
2055         * elf/dl-init.c: Likewise.
2056         * elf/dl-load.c: Likewise.
2057         * elf/dl-lookup.c: Likewise.
2058         * elf/dl-object.c: Likewise.
2059         * elf/dl-open.c: Likewise.
2060         * elf/dl-reloc.c: Likewise.
2061         * elf/dl-runtime.c: Likewise.
2062         * elf/dl-support.c: Likewise.
2063         * elf/dl-symbol.c: Likewise.
2064         * elf/dl-version.c: Likewise.
2065         * elf/dlsym.c: Likewise.
2066         * elf/dlvsym.c: Likewise.
2067         * elf/ldsodefs.h: Likewise.
2068         * elf/rtld.c: Likewise.
2069         * iconv/gconv_dl.c: Likewise.
2070         * nss/nsswitch.c: Likewise.
2071         * sysdeps/i386/dl-machine.h: Likewise.
2072         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
2074         * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
2075         Define RTLD_DEFAULT.
2077 1998-09-05  Mark Kettenis  <kettenis@phys.uva.nl>
2079         * sysdeps/mach/hurd/i386/init-first.c (init1): Call
2080         __getopt_clean_environment with __environ instead of envp.
2082 1998-09-05  Roland McGrath  <roland@baalperazim.frob.com>
2084         * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
2086         * string/argz-extract.c (__argz_extract): Add de-consting cast for
2087         setting results.
2089         * string/argz.h (argz_next): Add de-consting cast for return.
2090         * string/argz-next.c (__argz_next): Likewise.
2092         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
2093         Don't add netinet/udp.h, netinet/ip_icmp.h here.
2094         * sysdeps/gnu/Makefile: Do it here instead.
2095         * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
2096         * sysdeps/gnu/Dist: ... to here.
2098         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
2099         sysdeps/unix/sysv/linux/netinet/tcp.h,
2100         sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
2102 1998-09-04  Roland McGrath  <roland@baalperazim.frob.com>
2104         * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
2105         * string/argz-next.c, string/argz-extract.c: Fix defns.
2107 1998-09-03  Roland McGrath  <roland@baalperazim.frob.com>
2109         * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
2111         * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
2112         __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
2113         * sysdeps/generic/sysd-stdio.c: Likewise.
2115 1998-09-02  Ulrich Drepper  <drepper@cygnus.com>
2117         * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
2118         (_dl_map_object_from_fd): Make NAME argument const.
2119         Remove last parameter in _dl_new_object call.
2120         (print_search_path): Correct construction of composed path name.
2121         (_dl_map_object): Prevent looking at RPATH of the main map twice.
2122         Remove last parameter in _dl_new_object call.
2123         * elf/dl-object.c: Remove last parameter.  Determine whether create
2124         origin entry based on empty realname.  Handle file in root directory
2125         correctly.
2126         * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
2127         * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
2128         Remove last parameter in _dl_new_object call.
2129         * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
2130         * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
2132 1998-09-01  Ulrich Drepper  <drepper@cygnus.com>
2134         * elf/dl-close.c (_dl_close): Add more comments and correct some.
2135         Free l_searchlist and l_dupsearchlist.
2137         * debug/catchsegv.sh: Add one more pair of quotes.
2139 1998-09-01 17:53  Ulrich Drepper  <drepper@cygnus.com>
2141         * elf/dl-load.c (add_name_to_object): Change return type to void and
2142         make NAME parameter const.  Allocate room for NAME in same memory
2143         block used for l_libname entry.
2144         (_dl_map_object_from_fd): Don't free NAME on failure.
2145         (map_segment): Pass SONAME to add_name_to_object, not a copy.
2146         (_dl_map_object): Don't create copy of NAME.  Pass NAME to
2147         _dl_map_object_from_fd.
2148         * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
2149         memory block used for l_libname entry.
2150         * elf/dl-close.c: Adjust free()ing for this change.
2152 1998-09-01 15:36  Ulrich Drepper  <drepper@cygnus.com>
2154         * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
2156         * malloc/mtrace.c: Add bug report address.  Update email address.
2157         Add more @XXX@ to print correct address size.
2159         * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
2160         really initialized.
2162         * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
2163         for munmap call instead of examining phdr again.
2164         Free all malloc()ed strings and arrays.
2166 1998-08-09  Geoff Keating  <geoffk@ozemail.com.au>
2168         * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
2169         dl-machine.h.
2170         * sysdeps/powerpc/dl-machine.c: New file.
2171         * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
2172         files.  Revise ELF_PREFERRED_ADDRESS to take account of
2173         the new mapping information (fixes bug involving huge bloated
2174         web browser).  Set ELF_MACHINE_PLTREL_OVERLAP.
2175         * sysdeps/powerpc/dl-start.S: New file.
2177         * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
2178         l_map_end.
2179         * elf/do-rel.h: Call elf_machine_rel only once (to save space).
2180         * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
2181         others.  Call elf_dynamic_do_##reloc only once (to save even more
2182         space).
2183         * elf/link.h: Add new members l_map_start and l_map_end to keep
2184         track of the memory map.
2185         * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
2186         the executable.
2188 1998-09-01 11:53  Ulrich Drepper  <drepper@cygnus.com>
2190         * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
2191         Reported by Andreas Jaeger.
2193         * posix/glob.h: Use __size_t instead of size_t in definitions and
2194         make sure this is defined.
2196 1998-09-01 10:34  Ulrich Drepper  <drepper@cygnus.com>
2198         * manual/locale.texi: Almost complete rewrite.  Document more functions
2199         and functionality.
2200         * manual/arith.texi: Correct reference.
2201         * manual/string.texi: Pretty printing.
2203         * manual/texinfo.tex: Update from last available version.
2205 1998-08-31 22:44  Ulrich Drepper  <drepper@cygnus.com>
2207         * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
2208         invalid password.
2209         (_nss_nis_getpwuid_r): Likewise.
2210         Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
2212         * inet/rcmd.c: Implement netgroup support.
2213         Patch by Dick Streefland <dick_streefland@tasking.com>.
2215 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
2217         * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
2218         object on the list is removed.  Don't use this code for PIC.
2219         Reported by HJ Lu [PR libc/770].
2221 1998-08-31 15:56  Ulrich Drepper  <drepper@cygnus.com>
2223         * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
2225         * include/stdio.h: Add __vsscanf.
2227         * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
2228         __USE_ISOC9X.
2229         Remove __vsscanf declaration.
2230         Always declare fgetpos and fsetpos.
2232         * math/math.h: Define isinf as macro.
2233         * math/bits/mathcalls.h: Change to declare __isinf all the time.
2234         Don't declare scalb for ISO C 9x.
2236         * math/tgmath.h: Define fma.  Rewrite the underlying macros.
2238         * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
2240         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
2241         sys/ucontext.h.
2243         * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
2244         macros.
2246 1998-08-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2248         * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
2249         Reported by jreising@frequentis.com [PR libc/767].
2251 1998-08-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2253         * io/lockf.c (lockf): Move initilisation of fl.l_whence and
2254         fl.l_start at beginning of function.
2255         Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
2257 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
2259         * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
2260         Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
2262         * nscd/nscd.init: Make it work in RedHat systems.
2263         Patch by Christian Gafton.
2265 1998-08-29  Philip Blundell  <philb@gnu.org>
2267         * catgets/Makefile: Don't try to run test programs when
2268         cross-compiling.
2270 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
2272         * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
2273         Reported by Zack Weinberg.
2275 1998-08-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2277         * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
2278         * elf/Makefile (distribute): Remove ldd.sh.in.
2280 1998-08-31 11:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2282         * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
2283         variable.
2285 1998-08-29  Ulrich Drepper  <drepper@cygnus.com>
2287         * sysdeps/i386/register-dump.h: Move to ...
2288         * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
2290 1998-08-28 22:49  Ulrich Drepper  <drepper@cygnus.com>
2292         * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
2293         with load address, not map address.
2294         * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
2295         parameter and use this value.
2296         * sysdeps/arm/dl-machine.h: Likewise.
2297         * sysdeps/i386/dl-machine.h: Likewise.
2298         * sysdeps/m68k/dl-machine.h: Likewise.
2299         * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
2300         parameter.
2301         * sysdeps/powerpc/dl-machine.h: Likewise
2302         * sysdeps/sparc/sparc32/dl-machine.h: Likewise
2303         * sysdeps/sparc/sparc64/dl-machine.h: Likewise
2305 1998-08-28 09:22  Ulrich Drepper  <drepper@cygnus.com>
2307         * elf/rtld.c (process_envvars): Fix copy&paste error.
2309         * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
2310         memalign hook.
2311         (realloc_hook_ini): Don't overwrite memalign hook.
2312         (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
2313         Reported by Philippe Troin <phil@fifi.org>.
2315         * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
2316         Patch by Philippe Troin <phil@fifi.org>.
2318 1998-08-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2320         * sysdeps/generic/segfault.c (install_handler): Protect the
2321         non-POSIX signals with #ifdef.
2322         (catch_segfault): Add missing mode parameter for open.
2323         * debug/catchsegv.sh: Avoid termination message from shell.  Allow
2324         other termination signals.
2326 1998-08-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2328         * debug/Makefile (distribute): Add register-dump.h.
2330 1998-08-28 10:41  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2332         * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
2334 1998-08-27 19:42  Ulrich Drepper  <drepper@cygnus.com>
2336         * elf/Makefile (distribute): Add dl-origin.h.
2337         * sysdeps/generic/dl-origin.h: New file.
2338         * sysdeps/unix/sysv/linux/dl-origin.h: New file.
2339         * elf/link.h (struct link_map): Add l_origin field.
2340         * elf/dl-load.c (expand_dynamic_string_token): New function.
2341         (decompose_path): Remove WHERE argument, take link map pointer instead.
2342         Call expand_dynamic_string_token instead of local_strdup to make copy
2343         of rpath.
2344         (_dl_init_paths): Call decompose_path with correct argument.
2345         (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
2346         not defined.
2347         Check EI_OSABI and EI_ABIVERSION fields in header.
2348         Call _dl_new_object with extra argument.
2349         (_dl_map_object): Call decompose_path with correct argument.
2350         Call expand_dynamic_string_token instead of local_strdup to also
2351         expand DST.
2352         Call _dl_new_object with extra argument.
2353         * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
2354         but the main one if new argument is nonzero.
2355         * elf/ldsodefs.h: Adjust for _dl_new_object change.
2356         * elf/dl-support.c: Define _dl_origin_path.
2357         * elf/rtld.c: Likewise.  Set _dl_origin_path based on LD_ORIGIN_PATH.
2358         (dl_main): Call _dl_new_object with extra argument.
2360         * elf/dl-close (_dl_close): Free l_name and l_origin.
2362         * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
2363         modifier in asm, not c.
2365         * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
2366         to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
2368 1998-08-26 17:48  Ulrich Drepper  <drepper@cygnus.com>
2370         * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
2371         variable so that map can be freed.
2372         Reported by Philippe Troin <phil@fifi.org>.
2374         * elf/dl-open.c (dl_open_worker): Correct test for extending global
2375         scope array.
2376         Patch by Philippe Troin <phil@fifi.org>.
2378 1998-08-26  Geoff Keating  <geoffk@ozemail.com.au>
2380         * sysdeps/powerpc/register-dump.h: Rewrite.  Much nicer this way.
2381         Don't call writev() with a 100-element vector.
2382         * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
2383         return address.
2385         * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
2386         In particular, set __libc_stack_end.
2387         * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
2388         undefined.  Fix copyright notice.
2390 1998-08-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2392         * math/Makefile (gmp-objs): New variable.
2393         ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
2394         Depend on it.
2395         (tests): Add atest-exp atest-sincos atest-exp2.
2396         (tests-static): Remove atest-exp atest-sincos atest-exp2.
2398 1998-08-25  Ulrich Drepper  <drepper@cygnus.com>
2400         * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
2401         to toplevel.
2402         (_dl_unload_cache): New function.
2403         * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
2404         * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
2405         * elf/rtld.c (dl_main): Unload map file before jumping to user code.
2407         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
2408         Correct comment for O_LARGEFILE.
2409         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
2410         Change O_LARGEFILE to correct value.
2412 1998-08-25 14:34  Ulrich Drepper  <drepper@cygnus.com>
2414         * libio/iogetline.c (_IO_getline_info): Don't read anything for
2415         N == 0.  Patch by HJ Lu.
2417 1998-08-25 11:43  Ulrich Drepper  <drepper@cygnus.com>
2419         * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
2421 1998-08-25  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
2423         * argp/argp.h: Use __inline__ not inline.
2425         * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
2426         an input register as being clobbered.
2427         * sysdeps/i386/memset.c (memset): Likewise.
2428         * sysdeps/i386/bzero.c (__bzero): Likewise.
2429         * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
2431 1998-08-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2433         * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
2434         Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
2436 1998-08-24 16:34  Ulrich Drepper  <drepper@cygnus.com>
2438         * debug/catchsegv.sh: Handle text preceding backtrace better.
2439         * sysdeps/generic/segfault.c: Allow register dump.  Allow handler
2440         to be installed for other signals than SIGSEGV.
2441         * sysdeps/generic/register-dump.h: New file.
2442         * sysdeps/i386/register-dump.h: New file.
2443         * sysdeps/powerpc/register-dump.h: New file.
2445         * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
2446         sigcontextinfo.h.
2447         * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
2449 1998-08-24  Geoff Keating  <geoffk@ozemail.com.au>
2451         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
2453 1998-08-09  Geoff Keating  <geoffk@ozemail.com.au>
2455         * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
2456         * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
2457         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
2458         getresuid, getresgid.
2460 1998-08-16  Geoff Keating  <geoffk@ozemail.com.au>
2462         * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs.  Set up stack
2463         pointer in userland.
2465 1998-08-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2467         * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
2468         and fix value.
2470 1998-08-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2472         * elf/ldd.bash.in: Add missing quotes around $file.  Make loop
2473         over arguments Bourne shell compatible.  Don't exit unsuccessfully
2474         if nonelf returns successfully.  Avoid duplicating most of the
2475         script.
2476         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
2477         around $file.
2479 1998-08-24 10:37  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2481         * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
2482         sys/reg.h.
2483         * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
2484         * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
2486 1998-08-23  Ulrich Drepper  <drepper@cygnus.com>
2488         * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
2489         __modify_ldt and modify_ldt.
2490         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
2492         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2493         Use orl $-1 instead of movl $-1 to save two bytes.
2494         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
2495         Likewise.
2497 1998-08-17  H.J. Lu  <hjl@gnu.org>
2499         * libio/Versions (_IO_do_write, _IO_file_attach,
2500         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2501         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2502         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2503         _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
2505         * libio/fileops.c (_IO_do_write, _IO_file_attach,
2506         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2507         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2508         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2509         _IO_file_write, _IO_file_xsputn): Change the prefix to
2510         "_IO_new_". Added to GLIBC_2.1.
2512         * libio/libioP.h (_IO_do_write, _IO_file_attach,
2513         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2514         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2515         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2516         _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
2517         "_IO_new_".
2519         * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
2520         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2521         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2522         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2523         _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
2525 1998-08-23  Richard Henderson  <rth@cygnus.com>
2527         * Makeconfig (LDFLAGS): Remove.
2529         * csu/initfini.c: Return to .text before __gmon_start__.
2531         * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
2532         (STO_MIPS_*): Rename from STO_*.
2533         (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
2534         (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
2536         * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
2537         (main): e3s is negative on zero.
2538         * math/atest-exp2.c: Likewise.
2539         * math/atest-sincos.c: Likewise.
2541 1998-08-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2543         * Makerules (install): Add comment about absolute paths.
2545 1998-08-23  Ulrich Drepper  <drepper@cygnus.com>
2547         * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
2548         array to NUL to handle maxlen==1 case correctly.
2549         Patch by HJ Lu.
2551 1998-08-23  Richard Henderson  <rth@cygnus.com>
2553         * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
2554         * sysdeps/alpha/elf/crtend.S: Likewise.
2555         * sysdeps/alpha/elf/start.S: Likewise.
2557         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
2558         non-standard pv usage.
2560         * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
2561         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
2562         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
2563         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
2564         * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
2565         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
2566         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
2567         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
2568         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
2569         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
2570         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
2572         * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
2573         a finite non-denormal, deferring to the full IEEE version otherwise.
2575         * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
2576         Early out for -0.  Optimize for !_IEEE_FP_INEXACT.
2577         * sysdeps/alpha/fpu/s_floor.c: New.
2578         * sysdeps/alpha/fpu/s_floorf.c: New.
2579         * sysdeps/alpha/fpu/s_ceil.c: New.
2580         * sysdeps/alpha/fpu/s_ceilf.c: New.
2582 1998-08-22  Philip Blundell  <philb@gnu.org>
2584         * sysdeps/arm/bits/string.h: New file.
2586 1998-08-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2588         * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
2589         document it.
2591         * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
2592         test for recent Linux 2.1.100+ headers.
2594 1998-08-21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2596         * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
2598 1998-08-21 17:21  Ulrich Drepper  <drepper@cygnus.com>
2600         * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
2602 1998-08-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2604         * Makefile (elf/ldso_install): Put back.  The problem still persists.
2605         * elf/Makefile (ldso_install): Likewise.
2607 1998-08-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2609         * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
2610         create weak alias.
2611         * include/db.h: Declare __nss_db_open.
2612         * db2/Versions: Export it.
2614         * db2/makedb.c: Convert to use db2 API.
2615         * nss/nss_db/db-XXX.c: Likewise.
2616         * nss/nss_db/db-netgrp.c: Likewise.
2617         * nss/nss_db/db-alias.c: Likewise.
2618         (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
2620 1998-08-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2622         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
2623         sys_setresuid, already built automatically (or not).
2624         * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
2625         instead of __syscall_setresuid and add back setresuid.
2626         * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
2627         __syscall_setresuid.
2629 1998-08-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2631         * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
2633 1998-08-20  Ulrich Drepper  <drepper@cygnus.com>
2635         * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
2636         BASH-ONLY marked region.
2637         * elf/ldd.bash.in: Remove special BASH-ONLY markers.
2639 1998-02-20 17:54  H.J. Lu  <hjl@gnu.org>
2641         * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
2642         _IO_SYSSEEK fails.
2644         * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
2646         * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
2647         element.
2649 1998-08-21  Roland McGrath  <roland@baalperazim.frob.com>
2651         * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
2652         with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
2653         * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
2654         (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
2655         (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
2656         those magic comments, and to use /bin/sh for @BASH@.
2657         (bash-ldd-rewrite): Use $(common-ldd-rewrite).
2658         * elf/ldd.sh.in: File removed.
2660 1998-08-20 20:07  Ulrich Drepper  <drepper@cygnus.com>
2662         * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
2663         cast them to unsigned long int.
2664         * pwd/putpwent.c (putpwent): Likewise.
2665         Patch by John Tobey <jtobey@banta-im.com>.
2667 1998-08-20 17:14  H.J. Lu  <hjl@gnu.org>
2669         * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
2670         _IO_pos_BAD.
2672 1998-02-20 17:54  H.J. Lu  <hjl@gnu.org>
2674         * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
2675         _IO_SYSSEEK fails.
2677 1998-08-20 19:14  Ulrich Drepper  <drepper@cygnus.com>
2679         * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
2680         Add umount and umount2.
2681         * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
2682         * sysdeps/unix/sysv/linux/umount.S: New file.
2683         * sysdeps/unix/sysv/linux/umount2.S: New file.
2684         * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
2685         Define MNT_FORCE.
2687         * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
2688         Add sys/sendfile.h.
2689         * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
2690         * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
2692         * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
2694         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
2695         sendfile.
2697 1998-08-20 16:01  Ulrich Drepper  <drepper@cygnus.com>
2699         * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
2700         * elf/ldd.bash.in: Likewise.
2702         * elf/sln.c: Avoid warning for no main prototype.
2704         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
2705         O_WRITE.
2706         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
2707         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2709         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
2710         F_GETSIG.
2711         * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
2712         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
2713         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2715 1998-08-20  Philip Blundell  <pb@nexus.co.uk>
2717         * sysdeps/arm/fpu/ieee754.h: Move to...
2718         * sysdeps/arm/ieee754.h: ... here.
2720         * sysdeps/arm/__longjmp.S: Put return value in correct register.
2721         Don't set the condition flags unnecessarily.
2722         * sysdeps/arm/fpu/__longjmp.S: Likewise.  Restore floating point
2723         registers correctly.
2725         * sysdeps/arm/dl-machine.h: Fix problems with profiling code
2726         (patch from Scott Bambrough).
2728         * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
2730         * csu/initfini.c (_init): Don't check whether __gmon_start__ is
2731         NULL, just call it unconditionally.
2732         (__gmon_start__): Provide stub version as a weak symbol.
2734 1998-07-30  Philip Blundell  <philb@gnu.org>
2736         * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
2737         by Scott Bambrough)
2739         * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
2740         like `@' in .type directives.
2742         * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
2743         * sysdeps/arm/bsd-_setjmp.S: Likewise.
2745         * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
2747 1998-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2749         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
2750         (F_GETOWN): Likewise.
2752         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
2753         Linux 2.1.117).
2755 1998-08-20  Ulrich Drepper  <drepper@cygnus.com>
2757         * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
2758         already defined.
2760 1998-08-18  Ulrich Drepper  <drepper@cygnus.com>
2762         * include/features.h: Define __USE_EXTERN_INLINES for recent
2763         enough gcc.
2764         * argp/argp.h: Define extern inline functions only if
2765         __USE_EXTERN_INLINES is defined.
2766         * libio/stdio.h: Likewise.
2767         * math/math.h: Likewise.
2768         * stdlib/stdlib.h: Likewise.
2769         * string/argz.h: Likewise.
2770         * sysdeps/generic/bits/sigset.h: Likewise.
2771         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
2772         * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
2773         * sysdeps/wordsize-32/inttypes.h: Likewise.
2774         * sysdeps/wordsize-64/inttypes.h: Likewise.
2775         * wcsmbs/wchar.h: Likewise.
2777         * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
2778         to allow compilation without optimization.
2780 1998-08-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2782         * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
2783         more entries.
2784         * nis/nss_compat/compat-initgroups.c: Likewise.
2785         * nis/nss_compat/compat-pwd.c: Likewise.
2786         * nis/nss_compat/compat-spwd.c: Likewise.
2787         * nis/nss_nis/nis-alias.c: Likewise.
2788         * nis/nss_nis/nis-ethers.c: Likewise.
2789         * nis/nss_nis/nis-grp.c: Likewise.
2790         * nis/nss_nis/nis-hosts.c: Likewise.
2791         * nis/nss_nis/nis-initgroups.c: Likewise.
2792         * nis/nss_nis/nis-network.c: Likewise.
2793         * nis/nss_nis/nis-proto.c: Likewise.
2794         * nis/nss_nis/nis-pwd.c: Likewise.
2795         * nis/nss_nis/nis-rpc.c: Likewise.
2796         * nis/nss_nis/nis-service.c: Likewise.
2797         * nis/nss_nis/nis-spwd.c: Likewise.
2799         * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
2801         * nis/ypclnt.c: Try binding dir only first time, could be to old.
2803         * nis/yp_xdr.c: Remove 1024 byte limit.
2804         * nis/ypupdate_xdr.c: Likewise.
2806         * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
2807         wrong data.
2809 1998-08-18  Roland McGrath  <roland@baalperazim.frob.com>
2811         * Rules (binaries-static, binaries-shared static pattern rules):
2812         Depend on lib%, not just libc%, from $(link-libc{,-static}).
2814         * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
2815         this here, overriding Makeconfig generic value so we link against
2816         the RPC libs.
2818 1998-08-17  Ulrich Drepper  <drepper@cygnus.com>
2820         * posix/tstgetopt.c (options): Add NULL entry at end
2821         Patch by Adrian Miranda <ade@psg.com>.
2823 1998-08-15 18:21  Ulrich Drepper  <drepper@cygnus.com>
2825         * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION.  Move EI_PAD
2826         to 9.
2828 1998-08-15 14:11  Ulrich Drepper  <drepper@cygnus.com>
2830         * elf/elf.h: Add PPC Diab relocations.
2832         * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
2834 1998-08-14 10:08  Ulrich Drepper  <drepper@cygnus.com>
2836         * manual/texinfo.tex: Update.
2838 1998-08-07  Geoff Keating  <geoffk@ozemail.com.au>
2840         * sysdeps/powerpc/backtrace.c: New file.
2842 1998-08-14  Philip Blundell  <pb@nexus.co.uk>
2844         * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
2845         sigjmp_save.
2846         * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
2848 1998-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2850         * Makefile (install-symbolic-link): Fix spelling.
2852 1998-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2854         * elf/elf.h (SHT_HIOS): Fix value.
2856 1998-08-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2858         * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
2859         part of the expansion, this is undefined by the standard.
2861 1998-08-13 19:41  Ulrich Drepper  <drepper@cygnus.com>
2863         * posix/getconf.c: Add support for systems with incomplete confname.h.
2865         * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
2867         * sysdeps/posix/wait3.c: Make it work.
2869 1998-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2871         * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
2872         (elf/ldso_install): Remove.
2874         * elf/Makefile (distribute): Add sln.c.
2875         (others): Add sln.
2876         (others-static): Add sln.
2877         (install-rootsbin): Add sln.
2878         (others-static): Add sln.
2879         (ldso_install): Remove.
2881 1998-07-24 10:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2883         * Makerules (install-clean-symbolic-link-list): Make phony.
2884         * Makefile (install-symbolic-link): Make phony.  Depend on
2885         subdir_install for parallel makes.
2888 1998-07-22  Ulrich Drepper  <drepper@cygnus.com>
2890         * elf/Makefile (distribute): Add sln.c
2892 1998-07-21 07:10  H.J. Lu  <hjl@gnu.org>
2894         * elf/sln.c: New file.
2896         * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
2897         (install-clean-symbolic-link-list): New target.
2898         (install): Depend on install-clean-symbolic-link-list.
2899         (make-shlib-link): Changed for $(symbolic-link-list).
2901         * Makefile (install-symbolic-link): New target.
2902         (install): Depend on install-symbolic-link.
2904 1998-08-12 17:03  Ulrich Drepper  <drepper@cygnus.com>
2906         * include/unistd.h: Protect against multiple inclusion.
2908         * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
2909         is defined, not is glob is defined.
2910         * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
2912 1998-08-01 17:18  H.J. Lu  <hjl@gnu.org>
2914         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
2915         xdr_string for ut_line, ut_name and ut_host.
2917 1998-08-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2919         * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
2920         /var/mail in accordance with FHS 2.0.
2921         Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
2923 1998-08-12  Richard Henderson  <rth@cygnus.com>
2925         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
2926         Update aliases for cancelation.
2928         * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
2929         playing with symbol versions.
2931 1998-08-12  Roland McGrath  <roland@baalperazim.frob.com>
2933         * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
2934         multiple inclusion protection.
2935         (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
2936         _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
2937         define all these to 1.
2938         (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
2940 1998-08-12  Roland McGrath  <roland@baalperazim.frob.com>
2942         * sysdeps/mach/usleep.c: Include <unistd.h>.
2943         (usleep): Return void.
2945 1998-08-11  Roland McGrath  <roland@baalperazim.frob.com>
2947         * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
2948         decl to inhibit warning in if_freenameindex defn.
2950         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
2952         * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
2954         * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
2955         * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
2956         * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
2957         * sysdeps/mach/usleep.c: Likewise.
2959         * sysdeps/mach/hurd/bind.c (bind): Add a const.
2961         * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
2962         * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
2963         * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
2964         * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
2965         * sysdeps/mach/usleep.c (usleep): Likewise.
2966         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
2967         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
2968         * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
2969         * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
2971 1998-08-11  Roland McGrath  <roland@baalperazim.frob.com>
2973         * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
2974         (glob64): Fix typo.
2976         * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
2977         %p arg to fprintf, since `void *' is the right type already.
2979 1998-07-25 19:47  Jose M. Moya  <josem@gnu.org>
2981         * sysdeps/mach/hurd/getcwd.c
2982         (_hurd_canonicalize_directory_name_internal): Do not loop forever
2983         for unknown root directories.
2984         (__getcwd): Return NULL when the current root directory could not
2985         be reached.
2987 1998-08-11 18:39  Ulrich Drepper  <drepper@cygnus.com>
2989         * string/strsignal.c (strsignal): Count real-time signals from zero.
2992 See ChangeLog.8 for earlier changes.