1 1998-10-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3 * stdio/stdio.h: Use __PMT instead of __P in typedefs.
5 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use __PMT instead
6 of __P for sa_restorer.
7 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
8 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
9 kernel_sigaction, old_kernel_sigaction): Likewise.
11 1998-10-22 Ulrich Drepper <drepper@cygnus.com>
13 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add __syscall_pread
14 and __syscall_pwrite aliases.
16 * sunrpc/rpc/auth.h (AUTH_DH): New macro. Alias for AUTH_DES.
18 * sysdeps/unix/sysv/linux/i386/sysdep.h: Drastically simplify and
19 improve INLINE_SYSCALL using macro assembler magic.
21 1998-10-22 H.J. Lu <hjl@gnu.org>
23 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Add
25 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
27 * sysdeps/posix/fpathconf.c (__fpathconf): Set errno to
28 EINVAL if errno == ENODEV. Tested by VSX-PCT.
30 * sysdeps/posix/isatty.c (__isatty): Don't reset errno. Tested
33 * posix/execvp.c (execvp): Check "". Tested by VSX-PCT.
35 1998-10-22 Philip Blundell <pb@nexus.co.uk>
37 * sysdeps/unix/arm/sysdep.h: Wrap assembler macros in #ifdef
40 1998-10-21 Ulrich Drepper <drepper@cygnus.com>
42 * sysdeps/unix/sysv/linux/i386/sysdep.h: Remove EXTRAVARS_* macros
45 1998-10-21 14:38 Ulrich Drepper <drepper@cygnus.com>
47 * sysdeps/unix/sysdep.h (INLINE_SYSCALL): New macro. Simply call
49 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use INLINE_SYSCALL instead
50 of calling __syscall_* function.
51 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
52 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
53 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
54 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
55 * sysdeps/unix/sysv/linux/getpriority.c: Likewise.
56 * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
57 * sysdeps/unix/sysv/linux/getresuid.c: Likewise.
58 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
59 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
60 * sysdeps/unix/sysv/linux/poll.c: Likewise.
61 * sysdeps/unix/sysv/linux/pread.c: Likewise.
62 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
63 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
64 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
65 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
66 * sysdeps/unix/sysv/linux/readv.c: Likewise.
67 * sysdeps/unix/sysv/linux/reboot.c: Likewise.
68 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
69 * sysdeps/unix/sysv/linux/siglist.h: Likewise.
70 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
71 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
72 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
73 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
74 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
75 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
76 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
77 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
78 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
79 * sysdeps/unix/sysv/linux/writev.c: Likewise.
80 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
81 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
82 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
83 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
84 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
85 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
86 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
87 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
88 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
89 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
90 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
91 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
92 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
94 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define INLINE_SYSCALL using
96 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove various
97 __syscall_* definitions.
99 * sysdeps/unix/sysv/linux/syscalls.list: Move various __syscall_*
101 * sysdeps/unix/sysv/linux/alpha/syscalls.list: ...here...
102 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
103 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
104 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
105 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
106 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
107 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
109 * sysdeps/unix/sysv/linux/Makefile [subdir=signal] (sysdep_routines):
110 Move definition to...
111 * sysdeps/unix/sysv/linux/alpha/Makefile: ...here...
112 * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here...
113 * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here...
114 * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here...
115 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here...
116 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here...
117 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
119 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
120 (sysdep_routines): Remove s_pread64 and s_pwrite64.
122 * sysdeps/unix/sysv/linux/i386/pread.c: New file.
123 * sysdeps/unix/sysv/linux/i386/pread64.c: New file.
124 * sysdeps/unix/sysv/linux/i386/pwrite.c: New file.
125 * sysdeps/unix/sysv/linux/i386/pwrite64.c: New file.
126 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Removed.
127 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Removed.
129 1998-10-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
131 * sysdeps/unix/sysv/linux/siglist.h: Fix some typos in these files
132 and bring them in synch.
133 * sysdeps/unix/siglist.c: Likewise.
134 Reported by Vladimir Michl <michlv@risc.upol.cz> [PR libc/832].
136 1998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
138 * sysdeps/unix/sysv/linux/i386/setresuid.c: Allow -1 as arguments.
139 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
141 * sysdeps/unix/sysv/linux/i386/setreuid.c: New file.
142 * sysdeps/unix/sysv/linux/i386/setregid.c: New file.
143 * sysdeps/unix/sysv/linux/m68k/setreuid.c: New file.
144 * sysdeps/unix/sysv/linux/m68k/setregid.c: New file.
145 * sysdeps/unix/sysv/linux/arm/setreuid.c: New file.
146 * sysdeps/unix/sysv/linux/arm/setregid.c: New file.
147 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: New file.
148 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: New file.
149 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_setreuid and
151 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
152 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
153 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
155 1998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
157 * sunrpc/rpc_main.c (close_output, close_input): New functions.
158 (c_output, h_output, s_output, l_output, t_output, svc_output,
159 clnt_output, mkfile_output): Call them at the end.
161 1998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
163 * db/Makefile (LDFLAGS-db1.so): New variable, to avoid duplicating
166 1998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
168 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Add real contents.
169 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add s_setfs[ug]id.
171 1998-10-20 Ulrich Drepper <drepper@cygnus.com>
173 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_pread64 and
175 * sysdeps/unix/sysv/linux/powerpc/pread.c: New file.
176 * sysdeps/unix/sysv/linux/powerpc/pread64.c: New file.
177 * sysdeps/unix/sysv/linux/powerpc/pwrite.c: New file.
178 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: New file.
179 Patch by Geoffrey KEATING <geoffk@discus.anu.edu.au>.
181 1998-10-18 Zack Weinberg <zack@rabi.phys.columbia.edu>
183 * sysdeps/unix/opendir.c: Check at runtime for kernel support for
186 1998-10-20 H.J. Lu <hjl@gnu.org>
188 * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Fix
191 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
193 * math/tgmath.h: Make nested function calls work.
195 * include/ldsodefs.h: Fix typo.
197 * posix/Makefile (tests): Add tst-preadwrite.
198 * posix/tst-preadwrite.c: New file.
200 * sysdeps/unix/opendir.c (__opendir): Add back fstat call to make
201 sure that descriptor is in any case for a directory.
203 1998-10-19 18:59 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
205 * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG): Fix typo: val -> Val.
206 (atan2): Takes two arguments.
208 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
210 * include/ldsodefs.h: New file.
212 * iconv/gconv.c: Include ldsodefs.h, not elf/ldsodefs.h.
213 Remove change to avoid using _CALL_DL_FCT.
214 * iconv/gconv_db.c: Likewise.
215 * iconv/gconv_dl.c: Likewise.
216 * iconv/skeleton.c: Likewise, here for DL_CALL_FCT.
217 * malloc/mtrace.c: Include ldsodefs.h, not elf/ldsodefs.h.
218 * nss/nsswitch.c: Likewise.
219 * nss/nsswitch.h: Likewise.
221 1998-10-19 Philip Blundell <pb@nexus.co.uk>
223 * sunrpc/Makefile (otherlibs): If static NSS is in use, set to the
225 * login/Makefile (otherlibs): Likewise.
226 * nscd/Makefile (otherlibs): Likewise.
227 * Makeconfig (link-libc) [! build_shared]: Add $(otherlibs).
229 * debug/Makefile (install-bin): Only build catchsegv if using ELF.
231 * inet/Makefile: Add -DSTATIC_NSS to CFLAGS.
233 1998-10-19 Philip Blundell <pb@nexus.co.uk>
235 * sysdeps/unix/sysv/linux/arm/syscalls.list: Added setfsgid
238 1998-10-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
240 * nscd/connections.c: Fix typos in comments and strings.
242 * nscd/nscd.conf: Update according to recent changes to nscd.
244 * nscd/cache.c (prune_cache): Remove wrong comment.
246 1998-10-19 13:24 Ulrich Drepper <drepper@cygnus.com>
248 * locale/programs/ld-collate.c (collate_startup): Clear bit for this
249 category in copy_posix.
250 (collate_finish): Don't warn about UNDEFINED not being defined.
251 * locale/programs/ld-ctype.c (ctype_startup): Clear bit for this
252 category in copy_posix.
253 * locale/programs/ld-messages.c (messages_startup): Likewise.
254 * locale/programs/ld-monetary.c (monetary_startup): Likewise.
255 * locale/programs/ld-numeric.c (numeric_startup): Likewise.
256 * locale/programs/ld-time.c (time_startup): Likewise.
257 * locale/programs/localedef.c: Move copy_def_list_t definition into
258 locales.h. Define copy_posix variable.
259 (main): Before processing copy list add ©_posix to copy_list.
260 * locale/programs/locales.h: Add definition of copy_def_list_t.
261 * locale/programs/locfile.c: Clear bit for appropriate category in
262 copy_posix.mask for copy instruction.
264 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
266 * sysdeps/unix/sysv/linux/i386/setresgid.c: Remove #include of
267 non-existing file with generic implementation.
268 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
270 1998-10-19 Philip Blundell <pb@nexus.co.uk>
272 * iconv/gconv_db.c: Include ELF header only if STATIC_GCONV is not
273 defined. Avoid using _CALL_DL_FCT if it is not defined.
274 * iconv/gconv.c: Likewise.
276 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
278 * nscd/connections.c (dbs): Define defualt values for timeouts and
279 set enabled to 0 by default.
280 (CACHE_PRUNE_INTERVAL): New constant. Use it instead of magical 15 in
283 * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISCNTRL bit for
285 (_nl_C_LC_CTYPE_class32): Likewise.
288 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
290 * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
291 _HURD_THREADVAR_DL_ERROR.
293 * hurd/Makefile (user-interfaces): Add login, password.
295 * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses.
297 1998-08-06 Mark Kettenis <kettenis@phys.uva.nl>
299 [submitted 1998-08-06]
300 * mach/Machrules: Create target directory and force re-evaluation
301 of Makefile to prevent `make' from optimizing away most of the
302 implicit rules and `vpath' directives.
304 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
306 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): If _hurd_msgport_thread
307 is null, short-circuit to __mach_msg.
309 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): New function,
311 (init1) [PIC]: Call it.
312 (__libc_init_first) [! PIC]: Call it.
314 * sysdeps/mach/hurd/i386/init-first.c (init1): Don't call
315 __libc_init_secure. Instead set __libc_enable_secure here from
317 (__libc_enable_secure): New variable it.
318 * sysdeps/mach/hurd/enbl-secure.c: New file, empty placeholder module.
320 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>
322 * nscd/nscd-client.h: New file, broken out of "nscd.h".
323 * nscd/nscd.h: Move defns needed by clients to "nscd-client.h",
325 * nscd/Makefile (distribute): Add nscd-client.h.
326 * nscd/nscd_getgr_r.c, nscd/nscd_gethst_r.c, nscd/nscd_getpw_r.c:
327 Include "nscd-client.h" instead of "nscd.h"
329 1998-10-18 Ulrich Drepper <drepper@cygnus.com>
331 * sysdeps/posix/getcwd.c (__getcwd): Don't stop processing
332 directory entries when a lstat call fails.
333 Patch by Colin Plumb <colin@nyx.net>.
335 * resolv/nss_dns/dns-host.c: Add missing errnop parameter to the
337 * resolv/nss_dns/dns-network.c: Likewise.
339 * grp/Makefile: Don't search for linuxthreads in add-ons, use
340 have-thread-library to determine whether threads are available.
341 * pwd/Makefile: Remove wrong comment.
343 * inet/Makefile: Define CFLAGS-gethstbyad_r.c, CFLAGS-gethstbynm_r.c,
344 and CFLAGS-gethstbynm2_r.c to -DUSE_NSCD=1.
346 * locale/C-messages.c: Define default strings for YESTR and NOSTR.
348 * nss/Versions: Add __nss_hosts_lookup.
350 * nss/getXXbyYY.c: Remove unneeded assignment.
352 * nss/getXXbyYY_r.c: Include nscd/nscd_proto.h only if needed.
354 Almost complete rewrite of the NSCD to make it smaller, faster,
355 add more functionnality and make it easier to extend.
356 * nscd/Makfile (routines): Add nscd_gethst_r.
357 (nscd-modules): Add hstcache, gethstbyad_r, gethstbynm2_r, and cache.
358 * nscd/cache.c: New file.
359 * nscd/gethstbyad_r.c: New file.
360 * nscd/gethstbynm2_r.c: New file.
361 * nscd/hstcache.c: New file.
362 * nscd/nscd_gethst_r.c: New file.
363 * nscd/connections.c: Rewritten. Don't start new thread for every
364 new connection. Use a fixed set of threads which handle all
365 connections and also the cache cleanup.
366 * nscd/grpcache.c: Rewritten to use generic cache handling functions
368 * nscd/nscd.c: Recognize new parameter nthreads. Adjust initialization
369 for rewrite. Remove handle_requests function.
370 * nscd/nscd.h (NSCD_VERSION): Bump to 2.
371 Define new data structure for the new unified cache and the host
373 * nscd/nscd_conf.c: Rewrite parsing partly to allow adding of more
374 databases easily. Recognize check-files and threads definitions.
375 * nscd/nscd.conf: Add definition of enable-cache and check-files to
376 passwd and group definitions. Add new set of definitions for hosts.
377 * nscd/nscd_getgr_r.c: Rewrite for new protocol.
378 * nscd/nscd_getpw_r.c: Likewise.
379 * nscd/nscd_proto.h: Add prototype for host database functions.
380 * nscd/nscd_stat.c: Rewrite to simplify printing of information
382 * nscd/dbg_log.c: Remove unnecessary variable initializations.
383 Global variable debug_flag is renamed to dbg_level.
384 * nscd/dbg_log.h: Declare set_logfile.
386 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
388 * sysdeps/unix/sysv/linux/bits/fcntl.h: Add dummy definition of
391 1998-10-16 Paul Eggert <eggert@shade.twinsun.com>
393 * time/mktime.c: Some systems require <unistd.h> to be
394 included before <time.h> for localtime_r to be declared
396 * time/strftime.c: Likewise.
398 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
400 * db/Makefile: Add rule to generate shared object with the soname
403 * sysdeps/unix/opendir.c: Use O_DIRECTORY if available. If not
404 available double check to verify it's a directory.
406 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add O_DIRECTORY.
407 * sysdeps/unix/sysv/linux/mips/bits/fcntl: Likewise.
408 * sysdeps/unix/sysv/linux/bits/fcntl.h: Remove O_* constants which
409 are not generally available.
410 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: New file.
412 * sysdeps/unix/sysv/linux/i386/setgroups.c: Add range check for values.
413 * sysdeps/unix/sysv/linux/arm/Makefile: New file.
414 * sysdeps/unix/sysv/linux/arm/setegid.c: New file.
415 * sysdeps/unix/sysv/linux/arm/seteuid.c: New file.
416 * sysdeps/unix/sysv/linux/arm/setfsgid.c: New file.
417 * sysdeps/unix/sysv/linux/arm/setfsuid.c: New file.
418 * sysdeps/unix/sysv/linux/arm/setgid.c: New file.
419 * sysdeps/unix/sysv/linux/arm/setgroups.c: New file.
420 * sysdeps/unix/sysv/linux/arm/setresgid.c: New file.
421 * sysdeps/unix/sysv/linux/arm/setresuid.c: New file.
422 * sysdeps/unix/sysv/linux/arm/setuid.c: New file.
423 * sysdeps/unix/sysv/linux/i386/setegid.c: New file.
424 * sysdeps/unix/sysv/linux/i386/seteuid.c: New file.
425 * sysdeps/unix/sysv/linux/i386/setfsgid.c: New file.
426 * sysdeps/unix/sysv/linux/i386/setfsuid.c: New file.
427 * sysdeps/unix/sysv/linux/i386/setgid.c: New file.
428 * sysdeps/unix/sysv/linux/i386/setgroups.c: New file.
429 * sysdeps/unix/sysv/linux/i386/setresgid.c: New file.
430 * sysdeps/unix/sysv/linux/i386/setresuid.c: New file.
431 * sysdeps/unix/sysv/linux/i386/setuid.c: New file.
432 * sysdeps/unix/sysv/linux/m68k/setegid.c: New file.
433 * sysdeps/unix/sysv/linux/m68k/seteuid.c: New file.
434 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: New file.
435 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: New file.
436 * sysdeps/unix/sysv/linux/m68k/setgid.c: New file.
437 * sysdeps/unix/sysv/linux/m68k/setgroups.c: New file.
438 * sysdeps/unix/sysv/linux/m68k/setresgid.c: New file.
439 * sysdeps/unix/sysv/linux/m68k/setresuid.c: New file.
440 * sysdeps/unix/sysv/linux/m68k/setuid.c: New file.
441 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
442 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
443 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: New file.
444 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: New file.
445 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: New file.
446 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
447 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file.
448 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file.
449 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: New file.
451 * sysdeps/unix/sysv/linux/arm/syscalls.list: Add s_setgid, s_setresuid,
452 s_setresgid, and s_setuid.
453 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
454 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
455 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
456 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
457 (sysdep_routines): Add setfsgid, setfsuid, setresgid, and setresuid.
458 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
459 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
461 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
463 * time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get
464 localtime_t declaration on some systems.
466 1998-10-16 10:07 Ulrich Drepper <drepper@cygnus.com>
468 * iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to
470 * iconv/skeleton.c: Include ELF header only of STATIC_GCONV is not
471 defined. Avoid using DL_CLL_FCT if it is not defined.
473 1998-10-16 10:40 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
475 * resolv/arpa/nameser.h: Include sys/types.h unconditionally.
476 Include endian.h unconditionally. Remove portability goop
477 depending on #ifdef linux, #ifdef BSD, #ifdef machine-type.
479 1998-10-16 11:39 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
481 * sunrpc/rpc/types.h: Mark file so fixincludes won't modify it.
483 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
485 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios
486 again. Use char[44] to define size of the struct.
488 * sysdeps/unix/sysv/linux/arm/Dist: Add bits/armsigctx.h.
490 1998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
492 * string/bits/string2.h (strcmp): Don't cache the result of
493 __builtin_constant_p in variables, otherwise constant folding
494 can fail in big functions.
496 1998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
498 * string/bits/string2.h: Add prototypes for the new inline
501 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
503 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to
504 have all types defined.
505 Patch by Matti Aarnio <matti.aarnio@sonera.fi>.
507 1998-10-08 Paul Eggert <eggert@twinsun.com>
509 * time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r.
510 Define also if HAVE_LOCALTIME_R && defined localtime_r, with
511 a body that merely expands localtime_r; this works around a
512 bug in Digital Unix 4.0A and 4.0D.
514 1998-10-14 Ulrich Drepper <drepper@cygnus.com>
516 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl.
517 * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define
518 __ioctl to __syscall_ioctl and include Linux version of this file.
519 * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
520 * sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file. Redirect
521 ioctl calls which handle struct termios.
522 Based on a patch by Dan Jacobowitz <drow@false.org>.
524 1998-10-14 Ulrich Drepper <drepper@cygnus.com>
526 * version.h (VERSION): Bump to 2.0.98.
528 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios
529 here instead of including kernel_termios.h.
531 1998-10-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
533 * sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is
534 unnecessary after the changes of 1998-10-12.
536 1998-10-13 Ulrich Drepper <drepper@cygnus.com>
538 * sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output
539 parameter format string.
540 (inline_outw): Likewise.
542 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include
543 string.h to get memcpy prototype and NULL definition.
545 1998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
547 * misc/sys/cdefs.h (__THROW): New macro.
548 * argp/argp.h: Use it to replace the kludgey __P in inline
549 function definitions.
550 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
551 * stdlib/stdlib.h: Likewise.
552 * wcsmbs/wchar.h: Likewise.
553 * libio/stdio.h: Likewise.
554 * stdio/stdio.h: Likewise.
555 * sysdeps/wordsize-64/inttypes.h: Likewise.
556 * sysdeps/wordsize-32/inttypes.h: Likewise.
557 * string/argz.h: Likewise.
558 * io/sys/stat.h: Likewise.
560 1998-10-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
562 * Rules (stdio_lim): New variable.
563 ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend
564 on Rules and config.make, use $(move-if-change) to avoid unnessary
565 recompilations, and cleanup command.
566 (common-generated): Add bits/stdio_lim.st.
568 1998-10-12 Ulrich Drepper <drepper@cygnus.com>
570 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): New
571 variable to prevent warnings from use of modern CPU instructions.
572 Patch by Richard Henderson <rth@cygnus.com>.
574 * sysdeps/unix/opendir.c: Test whether NAME is directory before
577 1998-10-12 Philip Blundell <pb@nexus.co.uk>
579 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Add missing
580 semicolon so that profiling works.
582 1998-10-12 Roland McGrath <roland@baalperazim.frob.com>
584 * sysdeps/generic/glob.c: #undef mempcpy before #define.
586 * sysdeps/unix/bsd/clock.c: Use prototype defns.
588 1998-10-11 Ulrich Drepper <drepper@cygnus.com>
590 * Rules [posix in sysdirs]: Set L_tmpnam to 20.
591 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
593 * string/bits/string2.h [!_STRING_ARCH_unaligned]
594 (__mempcpy_small): Add parameter for 1 byte copy and use it.
595 Reported by Geoff Keating <geoffk@ozemail.com.au>.
597 1998-10-09 Mark Kettenis <kettenis@phys.uva.nl>
599 * sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove,
600 it is already defined in <bits/environments.h>.
602 1998-10-09 Ulrich Drepper <drepper@cygnus.com>
604 * posix/ptestcases.h: Fix typo.
606 1998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
608 * posix/regex.c (regcomp): Allocate and prepare a fastmap.
609 (regexec): Allocate regs.start and regs.end as one block.
611 1998-10-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
613 * sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of
616 1998-10-08 Philip Blundell <pb@nexus.co.uk>
618 * sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of
619 sigcontext union to ...
620 * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here. New
622 * sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for
625 1998-10-08 Ulrich Drepper <drepper@cygnus.com>
627 * malloc/mtrace.c (tr_reallochook): Produce better output for real
630 * signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined.
631 * argp/argp-xinl.c: Likewise.
633 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing
635 Patch by Christian Gafton.
637 1998-10-08 Paul Eggert <eggert@twinsun.com>
639 * time/mktime.c (__mktime_internal): When the requested time falls
640 in a spring-forward gap of size DT, return a time that is DT away
641 from the requested time, preferring a time whose tm_isdst differs
642 from the requested value. Bump the max number of probes from 4 to
643 6 to account for the extra probes needed to discover a
644 spring-forward gap in the worst case.
646 1998-10-07 17:05 Ulrich Drepper <drepper@cygnus.com>
648 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection
649 of the weird alpha architectures.
650 Patch by Cristian Gafton <gafton@redhat.com>.
652 1998-02-18 23:31 Richard Henderson <rth@cygnus.com>
654 * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
655 RAWHIDE and TSUNAMI. Patch from Jay.Estabrook@digital.com.
657 1998-10-07 Ulrich Drepper <drepper@cygnus.com>
659 * elf/dl-open.c (_dl_global_scope_alloc): Make global.
660 (dl_open_worker): Use realloc, not malloc to resize array.
661 * elf/rtld.c (_dl_initial_searchlist): New variable.
662 (_dl_main): Copy content of _dl_main_searchlist to
663 _dl_initial_searchlist.
664 * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and
665 _dl_global_scope_alloc.
666 * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist.
667 * elf/dl-close.c (_dl_close): When removing object with global
668 scope remove allocated searchlist if no dynamically loaded object
670 * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope.
671 (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist.
673 * malloc/mtrace.c (tr_where): Don't print space in location string,
674 print it afterwards. Print better symbol name information.
676 1998-10-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
678 * manual/filesys.texi (Setting Permissions): Fix example for
681 1998-10-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
683 * elf/sprof.c (load_profdata): Fix typo in error message.
685 1998-10-06 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
687 * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
690 1998-10-04 Roland McGrath <roland@baalperazim.frob.com>
692 * mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it.
694 1998-10-06 Ulrich Drepper <drepper@cygnus.com>
696 * version.h (VERSION): Bump to 2.0.97.
698 1998-10-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
700 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P
701 in definitions of inline stat functions so that they match the
703 * stdlib/stdlib.h: Likewise.
704 * wcsmbs/wchar.h: Likewise.
705 * libio/stdio.h: Likewise.
706 * stdio/stdio.h: Likewise.
707 * sysdeps/wordsize-64/inttypes.h: Likewise.
708 * sysdeps/wordsize-32/inttypes.h: Likewise.
709 * string/argz.h: Likewise.
710 * argp/argp.h: Likewise.
712 1998-10-06 Ulrich Drepper <drepper@cygnus.com>
714 * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
717 1998-10-05 Philip Blundell <philb@gnu.org>
719 * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures
720 and constants. Tidy up formatting a little.
722 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6):
723 Move definitions to in.h.
725 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
727 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER,
728 SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added.
729 Remove inclusion of <linux/swap.h>.
731 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
733 * io/sys/stat.h: Use __P in definitions of inline stat functions
734 so that they match the declaration.
736 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
738 * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added.
740 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
742 * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current
745 1998-10-02 Philip Blundell <pb@nexus.co.uk>
747 * sysdeps/arm/dl-machine.h: Fix typo in last change.
749 * sysdeps/arm/bits/huge_val.h: New file.
751 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
753 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added.
755 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add
758 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
760 * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to
761 store result of realloc instead of using BUF.
763 1998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
765 * misc/sgtty.h (_SGTTY_H): Correct spelling.
766 Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817].
768 1998-10-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
770 * manual/memory.texi (Obstacks): Document
771 obstack_alloc_failed_handler usage.
773 * malloc/obstack.h: Enhance comment about
774 obstack_alloc_failed_handler usage.
775 * malloc/obstack.c: Likewise.
777 1998-10-05 Ulrich Drepper <drepper@cygnus.com>
779 * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or
780 gcc before 2.8 is used.
782 1998-10-01 Philip Blundell <pb@nexus.co.uk>
784 * sysdeps/arm/machine-gmon.h: Correct args to mcount(). Patch
785 from Scott Bambrough.
787 * sysdeps/unix/sysv/linux/arm/register-dump.h: New file.
789 * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
790 include the lock member.
792 1998-09-03 Philip Blundell <pb@nexus.co.uk>
794 * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.
796 1998-10-01 Ulrich Drepper <drepper@cygnus.com>
798 * timezone/zic.c: Update from tzcode1998h.
799 * timezone/europe: Update from tzdata1998i.
800 * timezone/southamerica: Likewise.
802 * sys/types.h: Protect use of long long by __extension__.
803 * stdlib/stdlib.h: Likewise.
804 * string/string.h: Likewise.
805 * sysdeps/i386/bits/byteswap.h: Likewise.
806 * sysdeps/geeric/bits/byteswap.h: Likewise.
807 * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
808 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
809 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
810 * sysdeps/wordsize-32/inttypes.h: Likewise.
811 * sysdeps/wordsize-32/stdint.h: Likewise.
812 * wcsmbs/wchar.h: Likewise.
814 1998-09-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
816 * string/bits/string2.h (__string2_1bptr_p): Don't use a statement
818 (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
819 __strsep): Greatly reduce size of expansion by combining common
821 (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
823 (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
824 by the above definitions.
826 1998-09-27 Geoff Keating <geoffk@ozemail.com.au>
828 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
829 correct struct ipc_perm definition.
831 1998-09-29 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
833 * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.
835 1998-09-29 Cristian Gafton <gafton@redhat.com>
837 * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
838 * sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
839 * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
840 * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
843 1998-09-29 Ulrich Drepper <drepper@cygnus.com>
845 * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.
847 * nis/ypclnt.c: Remove not needed close calls.
849 1998-09-28 23:55 Ulrich Drepper <drepper@cygnus.com>
851 * nis/ypclnt.c (__yp_bind): Pretty print. Optimize readv result
852 check a bit. Also close socket of domain client. Close socket
853 in IPPORT_RESERVED error case.
855 1998-09-28 Ulrich Drepper <drepper@cygnus.com>
857 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
858 CMSG_ALIGN (fixes a bug) and correct test for availability of
860 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
862 (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
863 availability of another entry.
866 * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
869 * libio/libio.h [!__STDC__]: Define const only if not defined.
871 1998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
873 * posix/annexc.c (xsystem): New function. Use it instead of
876 1998-09-28 Ulrich Drepper <drepper@cygnus.com>
878 * stdlib/longlong.h: Remove #endif for #if removed in last change.
880 1998-09-25 Ulrich Drepper <drepper@cygnus.com>
882 * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
883 Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
884 allow using `ut' parameter.
885 [!emacs]: Define ut_argument, ut_argument_spec, and
886 ut_argument_spec_iso as empty. Define ut to 0. Add ut_argument and
887 argument_spec to prototypes and definitions.
888 (my_strftime): Don't call tzset of ut != 0.
889 Compute diff as 0 is ut != 0;
890 [emacs]: Define new emacs_strftime function.
891 Based on a patch by Paul Eggert.
893 1998-09-24 Paul Eggert <eggert@twinsun.com>
895 * time/strftime.c (my_strftime): When asking for the length of the
896 subformatted buffer, do not limit the length to look for;
897 otherwise, we have no reliable way to distinguish between the
898 empty buffer and an error.
900 1998-09-25 Ulrich Drepper <drepper@cygnus.com>
902 * math/Makefile (gmp-objs): Add mp_clz_tab.
904 1998-09-25 David S. Miller <davem@pierdol.cobaltmicro.com>
906 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
908 * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
909 cpus lacking hardware multiply and divide.
911 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
913 * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
916 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
918 * db/btree/bt_delete.c: Fix -Wparentheses warning.
920 1998-09-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
922 * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
925 1998-09-24 Ulrich Drepper <drepper@cygnus.com>
927 * debug/catchsegv.sh: Also produce output if clone process died.
929 1998-09-24 Paul Eggert <eggert@twinsun.com>
931 * time/strftime.c (f_wkday): Remove duplicate definition.
932 (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
933 !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
934 1998-09-11 fix to this case.
935 (wkday_len, month_len): Remove these macros; they're no longer needed.
937 1998-09-24 Paul Eggert <eggert@twinsun.com>
939 * time/strftime.c (my_strftime): Don't store past the end of a
942 1998-09-24 Paul Eggert <eggert@twinsun.com>
944 * time/strftime.c (underlying_strftime):
945 Set the buffer to a nonzero value before calling
946 strftime, and check to see whether strftime has set the buffer to zero.
947 This lets us distinguish between an empty buffer and an error.
949 1998-09-24 Paul Eggert <eggert@shade.twinsun.com>
951 * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
952 This fix is propagated from tzcode1998g.tar.gz.
954 1998-09-24 Mark Kettenis <kettenis@phys.uva.nl>
956 * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
957 _sys_siglist. [!HAVE_GNU_LD]: Do not define _sys_siglist as
958 sys_siglist. This is handled correctly by the weak_alias macro.
960 1998-09-24 Ulrich Drepper <drepper@cygnus.com>
962 * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
963 of mempcpy. Reported by Andreas Jaeger.
965 * misc/regexp.h (compile): Use alloca instead of __alloca. It won't
966 pollute the namespace since the compiler will resolve it inline.
967 Reported by Florian La Roche <florian@suse.de>.
969 1998-09-24 10:29 Ulrich Drepper <drepper@cygnus.com>
971 * timezone/private.h: Update from tzcode1998g.
973 * timezone/africa: Update from tzdata1998h.
974 * timezone/asia: Likewise.
975 * timezone/australasia: Likewise.
976 * timezone/europe: Likewise.
977 * timezone/northamerica: Likewise.
978 * timezone/southamerica: Likewise.
979 * timezone/zone.tab: Likewise.
981 1998-09-23 17:28 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
983 * misc/sys/mman.h: New file.
985 * sysdeps/generic/bits/mman.h: New file.
986 * sysdeps/unix/bsd/osf/bits/mman.h: New file.
987 * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
988 * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
989 * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
991 * sysdeps/generic/sys/mman.h: Removed.
992 * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
993 * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
994 * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
995 * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
996 * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
998 * include/sys/mman.h: Look directly for misc/sys/mman.h.
999 * misc/Makefile (headers): Add bits/mman.h.
1000 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
1003 * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
1004 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
1005 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
1006 * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
1007 * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
1008 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
1009 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
1010 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
1012 1998-09-23 16:27 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1014 * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
1015 * sysdeps/mach/alpha/thread_state.h: Likewise.
1016 * sysdeps/mach/i386/sysdep.h: Likewise.
1017 * sysdeps/mach/i386/thread_state.h: Likewise.
1018 * sysdeps/mach/mips/sysdep.h: Likewise.
1019 * sysdeps/mach/mips/thread_state.h: Likewise.
1020 * sysdeps/posix/profil.c: Likewise.
1021 * sysdeps/i386/i586/memcopy.h: Likewise.
1022 * sysdeps/mach/pagecopy.h: Likewise.
1024 1998-09-23 15:25 Ulrich Drepper <drepper@cygnus.com>
1026 * libio/stdio.h: Define __need_getopt and include getopt.h to define
1028 * posix/unistd.h: Likewise.
1029 * stdio/stdio.h: Likewise.
1030 * posix/getopt.h: Remove _GNU_SOURCE use. If __need_getopt is defined
1031 define only getopt and the variables.
1033 1998-09-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1035 * scripts/test-installation.pl (installation_problem): Don't link
1036 the test program against libdb1.
1038 1998-09-23 13:52 Ulrich Drepper <drepper@cygnus.com>
1040 * Makeconfig (all-subdirs): Add db.
1041 * Versions.def: Add definition for libdb1.
1042 * shlib-versions: Add definitions for libdb1.
1043 * db/Makefile (extra-libs): Replace by libdb1.
1044 (libdb-routines): Rename to libdb1-routines.
1045 (headers): Rename to db1-headers.
1046 (distribute): Add $(db1-headers).
1047 (install-others): Define to install symlink libdb.so.NN and the
1049 (CPPFLAGS): Add -DUSE_LIBDB1
1050 Remove rules to build makedb.
1051 * db/Versions: Rename libdb to libdb1.
1052 * include/db.h: If USE_LIBDB1 is defined include db/db.h.
1053 * db/makedb.c: Removed.
1055 * scripts/versions.awk: Recognize digits in library names.
1057 * db/btree/bt_open.c: Fix compiler warnings.
1058 * db/btree/bt_put.c: Likewise.
1059 * db/btree/bt_split.c: Likewise.
1060 * db/hash/hash.c: Likewise.
1061 * db/hash/hash_bigkey.c: Likewise.
1062 * db/recno/rec_close.c: Likewise.
1064 * Makefile: Add localedata/% goal.
1066 1998-09-22 19:58 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1068 * posix/execvp.c: Don't give up searching the PATH if execve
1071 1998-09-22 12:53 Ulrich Drepper <drepper@cygnus.com>
1073 * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
1074 if _dl_fpu_control_set is set.
1075 * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
1076 * elf/rtld.c: Don't define _dl_fpu_control_set.
1077 * elf/Versions: Remove _dl_fpu_control_set.
1079 1998-09-22 11:51 Ulrich Drepper <drepper@cygnus.com>
1081 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
1082 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
1083 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
1084 Correct values of other SA_* macros according to kernel headers.
1086 1998-09-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1088 * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
1090 * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
1093 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1095 * elf/ldsodefs.h: Fix typo in comment.
1097 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1099 * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
1100 char when comparing buffer contents with putback character.
1102 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1104 * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
1106 * elf/Versions: Undo last change. Export _dl_fpu_control and
1107 _dl_fpu_control_set.
1108 * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
1109 variables. Include <fpu_control.h>.
1110 * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
1111 _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
1112 to indicate that is was seen.
1113 * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
1114 only if _dl_fpu_control was set and is equal to desired value.
1115 * math/Makefile (aux): Undo last change.
1116 * math/Versions: Export __fpu_control with version GLIBC_2.0.
1118 1998-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1120 * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
1123 1998-09-21 10:00 Ulrich Drepper <drepper@cygnus.com>
1125 * string/bits/string2.h: Add mempcpy optimization.
1126 * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
1127 * intl/localealias.c: Define mempcpy only if not already defined.
1129 * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
1132 1998-09-20 10:48 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1134 * csu/abi-note.S: Emit the note directly instead of defining
1135 a preprocessor macro that's only used once. Don't include sysdep.h.
1136 * abi-tags: Generalize Solaris entry.
1138 1998-09-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1140 * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
1141 Change to array to avoid runtime relocation.
1142 * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
1144 1998-09-21 12:22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1146 * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
1147 * math/Makefile ($(objpfx)libieee.a): Likewise.
1149 1998-09-21 Ulrich Drepper <drepper@cygnus.com>
1151 * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
1152 Patch by John Tobey <jtobey@banta-im.com>.
1154 1998-09-20 Ulrich Drepper <drepper@cygnus.com>
1156 * login/Makefile (distribute): Remove pty-internal.h, add
1159 * stdlib/tst-strtol.c: Add more checks.
1160 Patch by Zack Weinberg <zack@rabi.columbia.edu>.
1162 1998-09-20 09:37 Ulrich Drepper <drepper@cygnus.com>
1164 * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
1165 * elf/elf.h: Add AT_FPUCW.
1166 * elf/Makefile (dl-routines): Add fpu_control.
1167 (elide-routines.os): Add fpu_control.
1168 (rtld-routines): Add fpu_control.
1169 * math/Makefile (aux): Remove fpu_control.
1170 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
1171 (_dl_show_auxv): Likewise.
1172 * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
1173 if different from OS default.
1175 * stdio-common/tstscanf.c: Add test case for (nil).
1177 1998-09-18 17:41 Ulrich Drepper <drepper@cygnus.com>
1179 * libio/fileops.c (_IO_new_file_underflow): Before allocating
1180 buffer make sure the pushback buffer is destroyed.
1181 (_IO_new_file_seekoff): Likewise.
1182 If mode==0 quit early with the result.
1183 Clear OEF flag after successful fseek.
1184 * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
1185 * libio/ftello.c (ftello): Add offset from original buffer if
1186 stream has pushed back characters.
1187 * libio/ftello64.c (ftello64): Likewise.
1188 * libio/iofgetpos.c (_IO_fgetpos): Likewise.
1189 * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
1190 * libio/ioftell.c (_IO_ftell): Likewise.
1191 * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
1193 (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
1194 (_IO_default_pbackfail): Only stored push back character in original
1195 buffer if it is the same as the one in the file at this position.
1196 * libio/iofclose.c: Free backup buffer if one is available.
1197 * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
1200 * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
1202 * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
1204 * stdio-common/vfscanf.c: Fix reading (nil) for %p.
1206 1998-09-18 Mark Kettenis <kettenis@phys.uva.nl>
1208 * login/programs/pt_chown.c (more_help): Correct message that
1209 describes the purpose of the program.
1211 * login/openpty.c: Do not include pty-private.h.
1212 (pts_name): New function. Return name of slave pseudo terminal in
1213 an allocated buffer if necessary.
1214 (openpty): Use pts_name to get name of the slave end of the pseudo
1217 * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
1218 pts_name before return.
1220 1998-09-18 11:15 Ulrich Drepper <drepper@cygnus.com>
1222 * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
1224 1998-09-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1226 * login/openpty.c: Include pty-private.h instead of
1229 1998-09-09 Philip Blundell <pb@nexus.co.uk>
1231 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
1233 1998-09-07 Philip Blundell <pb@nexus.co.uk>
1235 * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
1236 recent ld.so changes.
1237 (elf_machine_runtime_setup): Correct behaviour when profiling.
1239 1998-09-17 19:34 Ulrich Drepper <drepper@cygnus.com>
1241 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
1242 Patch by John Tobey <jtobey@banta-im.com>.
1244 1998-09-17 Mark Kettenis <kettenis@phys.uva.nl>
1246 * login/pty-internal.h: Removed. Moved constants related to the
1247 `grantpt' helper program protocol to ...
1248 * login/pty-private.h: ... here. New file.
1249 * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
1250 to make the function work with kernels >= 2.1.115.
1251 * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
1252 version if using the cloning device fails.
1253 * sysdeps/unix/sysv/linux/grantpt.c: New file.
1254 * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
1255 * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
1256 use by Linux specific code.
1257 * sysdeps/unix/bsd/unlockpt.c: General cleanup.
1258 * sysdeps/unix/grantpt.c: Largely rewritten. (pts_name): New
1259 function. (grantpt): Use pts_name, check group and permission
1260 mode in addition to owner. Try to set the owner, group and
1261 permission mode first without invoking the helper program.
1262 * login/programs/pt_chown.c: Largely rewritten. Add argp and
1263 internationalization support. Use symbolic constants instead of
1264 hardwired numbers for permission mode.
1265 * sysdeps/unix/bsd/ptsname.c: New file.
1267 1998-09-17 22:04 Tim Waugh <tim@cyberelk.demon.co.uk>
1269 * posix/wordexp-test.c: Undo last change.
1271 * posix/wordexp.c: Undo last change.
1273 1998-09-16 Ulrich Drepper <drepper@cygnus.com>
1275 * nscd/grpcache.c (save_grp): Partly undo last change.
1277 * nscd/pwdcache.c (save_pwd): Undo last change.
1279 1998-09-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1281 * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
1282 function. Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
1284 1998-09-15 David S. Miller <davem@pierdol.cobaltmicro.com>
1286 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
1287 Add profiling support.
1288 (TRAMPOLINE_TEMPLATE): New macro.
1289 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
1290 (RTLD_START): Prettify, and set __libc_stack_end properly.
1291 (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
1292 and check for sym being NULL instead.
1293 * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
1295 * sysdeps/sparc/sparc64/lshift.S: Likewise.
1296 * sysdeps/sparc/sparc64/mul_1.S: Likewise.
1297 * sysdeps/sparc/sparc64/rshift.S: Likewise.
1298 * sysdeps/sparc/sparc64/submul_1.S: Likewise.
1299 * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
1300 MEDANY code model %g4 usage.
1301 * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
1302 MEDANY code model %g4 usage.
1303 * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
1304 code model address formation.
1305 * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
1306 include elf/ldsodefs.h
1308 (elf_machine_matches_host): It is now EM_SPARCV9.
1309 (elf_machine_dynamic): Clean up to remove ugly cast.
1310 (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
1312 (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
1313 Prettify rest of function.
1314 [R_SPARC_COPY]: Check for sym being NULL.
1315 [R_SPARC_32]: Handle it.
1316 [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
1318 [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
1320 [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
1321 (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
1322 Add profiling support.
1323 (TRAMPOLINE_TEMPLATE): New macro.
1324 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
1325 (RTLD_START): Prettify and set __libc_stack_end.
1326 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
1328 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
1329 (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
1330 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
1331 unused variable scratch.
1332 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1333 (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
1335 (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
1336 stub to rt_sigaction syscalls. Rewrite non-rt case to use correct
1337 old format kernel sigaction structures.
1338 * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
1339 * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
1340 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
1341 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
1343 (_JMPBUF_UNWINDS): Define.
1344 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
1345 statfs64 structure, which is exactly the same as the normal one.
1346 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
1347 of stack. Use correct syscall trap number. Add branch prediction
1348 settings to branch instructions. Remove old MEDANY code model %g4
1349 referneces for non-PIC.
1350 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
1351 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
1352 * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
1353 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
1354 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1355 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
1356 __libc_longjmp and __libc_siglongjmp strong aliases.
1357 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
1358 Also define to __no__readdir64_decl around readdir.c inclusion.
1359 (__readdir64): Add strong alias.
1360 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
1361 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
1362 Set strong and weak names properly.
1364 1998-09-16 11:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1366 * manual/Makefile (AWK): Default to gawk if standalone.
1368 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1370 * Makefile (distribute): Undo last change.
1371 * Make-dist (+tsrc) [not subdir]: Also include indirection headers
1373 (+subdir-headers): Removed, unused.
1375 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1377 * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
1380 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1382 * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
1383 absolute name in $(config-sysdirs), can never happen.
1384 ($(+sysdir_pfx)sysd-rules): Likewise.
1385 * Makeconfig (full-config-sysdirs): Likewise.
1386 (all-Subdirs-files): Prepend $(..).
1388 * configure.in: Don't check for absolute name in $add_ons_pfx, can
1389 not happen. Let --enable-add-ons=yes work if no add-ons actually
1392 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1394 * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
1395 continuations in command.
1397 1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1399 * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
1401 1998-09-16 00:47 Tim Waugh <tim@cyberelk.demon.co.uk>
1403 * posix/wordexp-test.c: If expansion or substitution occurs
1404 anywhere in a word, the entire word is subject to field-splitting.
1406 * posix/wordexp.c (parse_glob): Look for end of word instead of
1407 end of field when deciding what to glob.
1408 (field_split_word): New function, now the only place where
1409 field-splitting is performed.
1410 (parse_dollars): New parameter - tell the caller if
1411 field-splitting should be performed on this word.
1413 * posix/wordexp-test.c (testit): Only call wordfree if wordexp
1414 succeeded (or failed with WRDE_NOSPACE).
1416 1998-09-15 19:53 1998 Tim Waugh <tim@cyberelk.demon.co.uk>
1418 * posix/wordexp.c (wordexp): Don't convert IFS characters to
1421 * posix/wordexp-test.c: Words not the result of expansion or
1422 substitution should remain unchanged.
1424 1998-09-15 Ulrich Drepper <drepper@cygnus.com>
1426 * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
1427 (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
1429 1998-09-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1431 * stdio-common/Makefile: Include Makeconfig so that
1432 $(inst_includedir) is defined.
1434 1998-09-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1436 * io/pwd.c: Include <mcheck.h>.
1438 1998-09-15 08:00 Ulrich Drepper <drepper@cygnus.com>
1440 * nscd/pwdcache.c (save_pwd): Correct copying.
1441 * nscd/grpcache.c (save_grp): Likewise.
1443 1998-09-14 23:36 Ulrich Drepper <drepper@cygnus.com>
1445 * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
1446 (free_pwd): Adjust for this change.
1447 * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
1448 (free_grp): Adjust for this change.
1450 1998-09-14 Ulrich Drepper <drepper@cygnus.com>
1452 * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
1454 1998-09-14 15:29 Ulrich Drepper <drepper@cygnus.com>
1456 * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
1457 (install-others): Add bits/stdio_lim.h.
1458 Add rule to install bits/stdio_lim.h.
1460 * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
1462 * Makefile (distribute): Add include/sys/mman.h.
1464 * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
1465 * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
1466 * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
1468 * grp/initgroups.c: Include stdlib.h.
1469 Patch by Zack Weinberg.
1471 1998-09-14 22:46 Tim Waugh <tim@cyberelk.demon.co.uk>
1473 * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
1474 for field-splitting :abc: is correct, and that two fields should
1475 result. Revert tests to reflect this.
1477 * posix/wordexp.c (w_emptyword): Remove function.
1478 (exec_comm): Don't use w_emptyword.
1479 (parse_param): Likewise.
1481 1998-09-14 15:00 Ulrich Drepper <drepper@cygnus.com>
1483 * sysdeps/arm/fpu/Dist: Moved to...
1484 * sysdeps/arm/Dist: ...here.
1485 * sysdeps/posix/Dist: Removed.
1486 * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
1487 * sysdeps/unix/sysv/linux/i386/Dist: ...here.
1489 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
1491 * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
1493 1998-09-14 11:26 Ulrich Drepper <drepper@cygnus.com>
1495 * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
1497 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1499 * libc-work/nis/nss_nisplus/nisplus-service.c
1500 (_nss_nisplus_parse_servent): Convert port in network byte order.
1502 1998-09-14 07:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1504 * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
1505 to provide only malloc and calloc.
1506 * include/stdlib.h: Support the above.
1507 * string/bits/string2.h: Use __need_malloc_and_calloc when
1509 (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
1511 * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
1512 * iconvdata/iso646.c: Include <stdlib.h>.
1514 1998-09-14 07:51 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1516 * sunrpc/rpc_cout.c: Add braces around ambiguous else.
1517 * sysdeps/libm-ieee754/w_pow.c: Likewise.
1518 * sysdeps/libm-ieee754/w_powf.c: Likewise.
1519 * sysdeps/libm-ieee754/w_powl.c: Likewise.
1521 1998-09-14 07:57 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1523 * stdio-common/stdio_lim.h.in: New file. All parameters
1524 are adjustable at build time.
1525 * Rules: Add a rule to build bits/stdio_lim.h from
1526 stdio-common/stdio_lim.h.in. (It has to be in Rules so that
1527 all subdirectories know how to make the file. It can't be
1528 in Makerules because then it gets built at top level and the
1529 dependencies are wrong.)
1531 * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
1532 * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
1534 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
1535 * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
1536 * sysdeps/posix/Makefile: Removed.
1537 * sysdeps/posix/mk-stdiolim.c: Removed.
1538 * sysdeps/generic/bits/stdio_lim.h: Removed.
1540 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1542 * argp/argp-help.c: Fixup indentation.
1543 * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
1544 * resolv/nss_dns/dns-network.c: Likewise.
1545 * resolv/res_send.c: Likewise.
1546 * rt/aio_cancel.c: Likewise.
1547 * rt/aio_misc.c: Likewise.
1549 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1551 * Makefile (install-symbolic-link): Remove the link list file at last.
1552 * Makerules (install-clean-symbolic-link-list): Removed.
1554 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1556 * timezone/tst-timezone.c: Print time in UTC to get consistent
1559 1998-09-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1561 * elf/rtld.c (_dl_rpath): Removed.
1562 * elf/dl-support.c (_dl_path): Removed.
1563 * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
1564 (CFLAGS-dl-support.c): Removed.
1566 * elf/dl-load.c (env_path_list): Renamed from fake_path_list. All
1568 (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
1569 instead of appending it to the main map's rpath info.
1570 (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
1571 DT_RPATHs. This makes it effective again.
1572 (decompose_rpath): Remove second parameter, callers changed.
1573 (fillin_rpath): Allocate enough space in curwd.
1574 (expand_dynamic_string_token): Cope with get_origin returning -1.
1576 1998-09-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
1578 * libc-work/nis/nss_compat/compat-pwd.c: Add support for
1581 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
1584 1998-09-13 18:06 Ulrich Drepper <drepper@cygnus.com>
1586 * locale/programs/locale.c: Update dates.
1588 1998-09-13 Mark Kettenis <kettenis@phys.uva.nl>
1590 * sysdeps/generic/bits/types.h: Include <features.h>. Make sure
1591 size_t is defined. Some reordering of defenitions to make
1592 maintaining this file in parallel with the linux-specific file easier.
1594 1998-09-13 Ulrich Drepper <drepper@cygnus.com>
1596 * io/pwd.c (main): Add call to mtrace.
1598 * malloc/mtrace.pl: Quote @ in string.
1600 1998-09-13 19:25 Tim Waugh <tim@cyberelk.demon.co.uk>
1602 * posix/wordexp.c (parse_arith): Fix memory leaks.
1603 (exec_comm): Likewise.
1604 (parse_param): Likewise.
1605 (wordexp): Likewise.
1606 (exec_comm): Reduce number of function return points.
1607 (parse_param): Likewise.
1608 (wordexp): Likewise.
1610 1998-09-13 14:53 Tim Waugh <tim@cyberelk.demon.co.uk>
1612 * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
1613 yield three fields, not two. Test both parameter expansion and
1614 command substitution for correct field-splitting behaviour.
1616 * posix/wordexp.c (w_emptyword): New function.
1617 (parse_param): Use it.
1618 (exec_comm): Likewise, for consistency with the way parse_param
1620 (parse_param): Fix some memory leaks.
1622 1998-09-13 18:04 Geoff Keating <geoffk@ozemail.com.au>
1624 * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
1625 Don't mark asm `volatile'.
1626 (__elf_machine_runtime_setup): Clear the last partial block in the PLT
1627 from the data cache too. Assume it isn't in the instruction cache yet.
1628 (__elf_machine_fixup_plt): Clear the modified address from the caches.
1630 1998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
1632 * sysdeps/generic/segfault.c (install_handler): Install signal
1633 handler with SA_ONSTACK instead of setting the stack flags to
1634 SS_ONSTACK. Do not install handler for SIGSTKFLT if it is not
1637 1998-09-12 14:24 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1639 * signal/signal.h: Fix multiple inclusion guard to cover the
1641 * wcsmbs/wchar.h: Remove prototype of internal function
1643 * sysdeps/i386/i486/bits/string.h (memchr): Don't do
1644 arithmetic on `void *'.
1646 1998-09-12 01:09 Tim Waugh <tim@cyberelk.demon.co.uk>
1648 * posix/wordexp-test.c: Fix wrong tests. Add new tests.
1650 * posix/wordexp.c (wordexp): Perform word-splitting instead of
1651 field-splitting here.
1652 (wordexp): If out of memory mid-word, free the word (but still
1653 leave pwordexp alone for caller to see).
1654 (parse_param): Allow for zero-length fields (smarter checking of
1655 memory allocation failure).
1656 (w_addword): Convert NULL words to "".
1657 (wordexp): Convert left-over IFS characters to blanks (like bash).
1659 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
1661 * configure.in: Use test -f instead of test -e.
1662 Patch by John Tobey <jtobey@banta-im.com>.
1664 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
1665 * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
1666 * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
1667 * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
1668 * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
1669 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
1670 * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
1671 Patches by John Tobey <jtobey@banta-im.com>.
1673 * time/strftime.c (my_strftime): Delay use of *tp values until
1674 latest possible point to allow partly initialized structures
1675 (e.g., from strptime).
1677 * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
1679 Define *-routines variables for new modules.
1680 (distribute): Add .c files for new modules.
1681 (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
1683 Add rules for header generation.
1684 * iconvdata/gconv-modules: Add entries for new modules.
1685 * iconvdata/iso_10367-box.c: New file.
1686 * iconvdata/mac-is.c: New file.
1687 * iconvdata/nats-dano.c: New file.
1688 * iconvdata/nats-sefi.c: New file.
1690 1998-04-30 18:20 H.J. Lu <hjl@gnu.org>
1692 * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
1693 loader if PIC is not defined.
1695 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
1697 * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
1698 ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
1699 INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
1701 Define *-routines variables for new modules.
1702 (distribute): Add .c files for new modules.
1703 (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
1704 ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
1705 greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
1706 iso_5427.h, iso_5427-ext.h, and iso_5428.h.
1707 Add rules for header generation.
1708 * iconvdata/gconv-modules: Add entries for new modules.
1709 * iconvdata/csn_369103.c: New file.
1710 * iconvdata/cwi.c: New file.
1711 * iconvdata/dec-mcs.c: New file.
1712 * iconvdata/ecma-cyrillic.c: New file.
1713 * iconvdata/gost_19768-74.c: New file.
1714 * iconvdata/greek-ccitt.c: New file.
1715 * iconvdata/greek7-old.c: New file.
1716 * iconvdata/greek7.c: New file.
1717 * iconvdata/inis-8.c: New file.
1718 * iconvdata/inis-cyrillic.c: New file.
1719 * iconvdata/inis.c: New file.
1720 * iconvdata/iso6937-2.c: New file.
1721 * iconvdata/iso_2033.c: New file.
1722 * iconvdata/iso_5427-ext.c: New file.
1723 * iconvdata/iso_5427.c: New file.
1724 * iconvdata/iso_5428.c: New file.
1726 * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
1728 Convert U02dd correctly.
1730 1998-09-11 20:46 Richard Henderson <rth@cygnus.com>
1732 * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
1733 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
1734 * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
1735 * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
1737 1998-09-11 Ulrich Drepper <drepper@cygnus.com>
1739 * resolv/res_init.c (res_init): Handle resolv.conf file with only
1740 one nameserver correctly. Patch by HJ Lu.
1742 * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
1744 Define *-routines variables for new modules.
1745 (distribute): Add .c files for new modules.
1746 (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
1747 Add rules for hedaer generation.
1748 * iconvdata/gconv-modules: Add entries for new modules. Pretty print.
1749 * iconvdata/ansi_x3.110.c: New file.
1750 * iconvdata/asmo_449.c: New file.
1751 * iconvdata/baltic.c: New file.
1752 * iconvdata/iec_p27-1.c: New file.
1754 * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
1756 Convert U02dc correctly.
1758 * math/atest-exp.c: Add parentheses to avoid gcc warnings.
1759 * math/atest-exp2.c: Likewise.
1760 * math/atest-sincos.c: Likewise.
1762 * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
1765 1998-09-11 10:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1767 * string/strcoll.c: Optimize a few expressions.
1768 * string/strxfrm.c: Likewise.
1770 1998-09-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1772 * manual/locale.texi: Fix typos.
1774 1998-09-10 Ulrich Drepper <drepper@cygnus.com>
1776 * stdlib/random_r.c (__setstate_r): Allow call with same state
1777 array as currently used (PR libc/774).
1779 * include/limits.h: Include gcc's header even if this file is
1780 found more than once before it (PR libc/778)
1782 * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
1783 (sysdep_headers): Remove sys/debugreg.h.
1784 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
1785 (sysdep_headers): Add sys/debugreg.h.
1786 * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
1787 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
1789 * stdio-common/tmpnam.c: Move local static variable buf to
1790 toplevel and rename to tmpnam_buffer to ease debugging.
1791 Patch by Joe Keane <jgk@jgk.org>.
1792 Optimize s == NULL case a bit.
1794 * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
1797 1998-09-10 12:51 Ulrich Drepper <drepper@cygnus.com>
1799 * resolv/res_init.c (res_init): Initialize _res.nscount and
1800 _res.nsaddr.sin_port differently for the can when no loopback
1801 is available to allow immediate timeout in non-networking environments.
1802 Patch by Cristian Gafton <gafton@redhat.com>.
1804 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1806 * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
1807 BAR and not EM DASH.
1808 * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
1809 * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
1812 1998-09-10 11:53 Ulrich Drepper <drepper@cygnus.com>
1814 * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
1816 * timezone/tst-timezone.c (tests): Fix typo in last patch.
1818 * time/tzfile.c (__tzfile_read): Handle case when there are no
1819 transitions. Set __timezone based on computed offset.
1820 * time/tzset.c (tzset_internal): Set __timezone before returning.
1822 * time/tzset.c (tzset_internal): Optimize handling of local string
1825 1998-09-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1827 * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
1830 1998-09-09 Benjamin Kosnik <bkoz@tintin.cygnus.com>
1832 * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
1833 (csqrt_test): Likewise.
1834 * sysdeps/powerpc/bits/fenv.h: Add parens.
1836 1998-09-09 18:48 Ulrich Drepper <drepper@cygnus.com>
1838 * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
1839 _dl_main_searchlist not _dl_default_scope to _dl_init_next.
1840 Patch by Benjamin Kosnik <bkoz@cygnus.com>.
1842 1998-09-09 Mark Kettenis <kettenis@phys.uva.nl>
1844 * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
1845 the special `-1' pointer.
1847 1998-09-09 09:32 Ulrich Drepper <drepper@cygnus.com>
1849 * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
1852 1998-09-07 Paul Eggert <eggert@twinsun.com>
1854 * time/mktime.c (__EXTENSIONS__): Define if not defined.
1855 (_REENTRANT): Remove. It has undesirable consequences in
1856 Solaris 2.6 (e.g. it turns off the putc macro). Defining
1857 __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
1859 * time/strftime.c: Likewise.
1861 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1863 * elf/dl-error.c: Fix spelling.
1865 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1867 * stdlib/strfmon.c: Quiet -Wparentheses warnings.
1868 * stdio-common/_itoa.c: Likewise.
1869 * stdio-common/printf_fp.c: Likewise.
1870 * stdio-common/vfscanf.c: Likewise.
1871 * wcsmbs/wcstok.c: Likewise.
1872 * sysdeps/generic/glob.c: Likewise.
1873 * posix/getopt.c: Likewise.
1874 * sysdeps/posix/getaddrinfo.c: Likewise.
1875 * posix/wordexp.c: Likewise.
1876 * io/ftw.c: Likewise.
1877 * io/fts.c: Likewise.
1878 * misc/getpass.c: Likewise.
1879 * iconv/gconv_conf.c: Likewise.
1880 * argp/argp-fmtstream.c: Likewise.
1881 * argp/argp-help.c: Likewise.
1882 * elf/dl-load.c: Likewise.
1883 * locale/programs/stringtrans.c: Likewise.
1884 * catgets/gencat.c: Likewise.
1885 * posix/getconf.c: Likewise.
1886 * iconv/gconv_conf.c: Likewise.
1887 * iconv/iconv_prog.c: Likewise.
1889 * string/strcoll.c: Optimize a few expressions.
1890 * string/strxfrm.c: Likewise.
1892 1998-09-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1894 * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
1895 level to avoid uninit variable warning.
1897 1998-09-09 10:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1899 * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
1900 instead of _dl_default_scope[2] as argument to _dl_init_next.
1902 * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
1905 1998-09-08 Ulrich Drepper <drepper@cygnus.com>
1907 Fix compatibility problems introduced in last change.
1908 * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
1910 * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
1911 -DWEAK_GMON_START to CFLAGS-initfini.s.
1913 * elf/dl-object.c (_dl_new_object): Store map address in
1914 _dl_loaded if _dl_loaded is NULL.
1915 * elf/rtld.c (dl_main): Don't update _dl_loaded here.
1917 * sysdeps/generic/setrlimit64.c: Remove stub warning.
1919 1998-09-07 Ulrich Drepper <drepper@cygnus.com>
1921 * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
1923 * db2/btree/bt_cursor.c: Likewise.
1924 * db2/common/db_region.db_c: Likewise.
1925 * db2/common/db_salloc.db_c: Likewise.
1926 * db2/db/db.c: Likewise.
1927 * db2/db/db_rec.c: Likewise.
1928 * db2/hash/hash.c: Likewise.
1929 * db2/hash/hash_page.c: Likewise.
1930 * db2/hash/hash_rec.c: Likewise.
1931 * db2/log/log_findckp.c: Likewise.
1932 * db2/log/log_get.c: Likewise.
1933 * db2/log/log_put.c: Likewise.
1934 * db2/mp/mp_fget.c: Likewise.
1935 * db2/mp/mp_fput.c: Likewise.
1936 * db2/mp/mp_region.c: Likewise.
1937 * stdlib/strtol.c: Likewise.
1938 * string/strcoll.c: Likewise.
1939 * string/strxfrm.c: Likewise.
1940 * argp/argp-help.c: Likewise.
1941 * argp/argp-parse.c: Likewise.
1942 * resolv/res_debug.c: Likewise.
1944 1998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
1946 * math/tgmath.h (scalb): Only define for __USE_MISC or
1947 __USE_XOPEN_EXTENDED. Patch by Zack Weinberg.
1949 1998-09-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1951 * libio/stdio.h: Fix comment.
1953 * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
1956 1998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
1958 * Makeconfig (+gccwarn): Remove -Wno-parentheses.
1960 * elf/dl-open.c: Quiet -Wparentheses warnings.
1961 * iconvdata/johab.c: Likewise.
1962 * iconvdata/uhc.c: Likewise.
1963 * inet/inet_net.c: Likewise.
1964 * io/fts.c: Likewise.
1965 * locale/newlocale.c: Likewise.
1966 * misc/getttyent.c: Likewise.
1967 * misc/mntent_r.c: Likewise.
1968 * misc/ttyslot.c: Likewise.
1969 * nscd/nscd_conf.c: Likewise.
1970 * nss/nsswitch.c: Likewise.
1971 * resolv/gethnamaddr.c: Likewise.
1972 * resolv/nsap_addr.c: Likewise.
1973 * resolv/res_debug.c: Likewise.
1974 * stdio-common/_itoa.c: Likewise.
1975 * stdlib/strtod.c: Likewise.
1976 * string/strverscmp.c: Likewise.
1977 * sunrpc/svc.c: Likewise.
1978 * sysdeps/libm-ieee754/e_cosh.c: Likewise.
1979 * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
1980 * sysdeps/libm-ieee754/e_sinh.c: Likewise.
1981 * sysdeps/posix/getaddrinfo.c: Likewise.
1983 1998-09-06 15:13 Ulrich Drepper <drepper@cygnus.com>
1985 * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
1986 for use of global scope.
1987 * elf/dlvsym.c (dlvsym_doit): Likewise.
1989 1998-09-02 Paul Eggert <eggert@twinsun.com>
1991 * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
1992 copy the redundant bytes at the end of the format as-is; don't
1993 just copy their first byte and then rescan, as that might get
1994 us an encoding error.
1995 Account correctly for the length of multibyte sequences in the
1998 1998-09-03 20:14 Tim Waugh <tim@cyberelk.demon.co.uk>
2000 * posix/wordexp-test.c: Add tests for different IFS values.
2001 Change unquoted-newline test so that newline is not in IFS.
2003 * posix/wordexp.c (wordexp): Correct null/unset mix-up when
2004 determining IFS characters. Return WRDE_BADCHAR for unquoted
2005 special characters _except_ if they are separators.
2007 1998-09-06 10:56 Ulrich Drepper <drepper@cygnus.com>
2009 * include/tgmath.h: New file.
2011 * libio/stdio.h: Correct reversed #ifs.
2012 Patch by Zack Weinberg.
2014 * manual/creature.texi: Better explain reason for feature select
2016 Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
2018 1998-09-06 10:25 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
2020 * include/alloca.h: Add multiple-inclusion guard.
2021 * include/db.h: Likewise.
2022 * include/db_185.h: Likewise.
2023 * include/dlfcn.h: Likewise.
2024 * include/fcntl.h: Likewise.
2025 * include/grp.h: Likewise.
2026 * include/libintl.h: Likewise.
2027 * include/mntent.h: Likewise.
2028 * include/pwd.h: Likewise.
2029 * include/sched.h: Likewise.
2030 * include/search.h: Likewise.
2031 * include/setjmp.h: Likewise.
2032 * include/shadow.h: Likewise.
2033 * include/signal.h: Likewise.
2034 * include/stdio.h: Likewise.
2035 * include/stdlib.h: Likewise.
2036 * include/string.h: Likewise.
2037 * include/termios.h: Likewise.
2038 * include/time.h: Likewise.
2039 * include/ulimit.h: Likewise.
2040 * include/utmp.h: Likewise.
2041 * include/wchar.h: Likewise.
2042 * include/sys/file.h: Likewise.
2043 * include/sys/gmon.h: Likewise.
2044 * include/sys/ioctl.h: Likewise.
2045 * include/sys/mman.h: Likewise.
2046 * include/sys/resource.h: Likewise.
2047 * include/sys/select.h: Likewise.
2048 * include/sys/socket.h: Likewise.
2049 * include/sys/statfs.h: Likewise.
2050 * include/sys/time.h: Likewise.
2051 * include/sys/times.h: Likewise.
2052 * include/sys/wait.h: Likewise.
2054 1998-09-06 09:00 Ulrich Drepper <drepper@cygnus.com>
2056 * version.h (VERSION): Bump to 2.0.96.
2058 Rewrite runtime linker to be truly thread-safe. There is now no
2059 global variable specifying the scope. We create all needed
2060 scopes at the time the link maps are created.
2061 * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
2062 * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
2063 l_symbolic_searchlist, l_scope, and l_local_scope elements in
2065 * elf/dl-close.c: Rewritten accordingly.
2066 * elf/dl-deps.c: Likewise.
2067 * elf/dl-error.c: Likewise.
2068 * elf/dl-init.c: Likewise.
2069 * elf/dl-load.c: Likewise.
2070 * elf/dl-lookup.c: Likewise.
2071 * elf/dl-object.c: Likewise.
2072 * elf/dl-open.c: Likewise.
2073 * elf/dl-reloc.c: Likewise.
2074 * elf/dl-runtime.c: Likewise.
2075 * elf/dl-support.c: Likewise.
2076 * elf/dl-symbol.c: Likewise.
2077 * elf/dl-version.c: Likewise.
2078 * elf/dlsym.c: Likewise.
2079 * elf/dlvsym.c: Likewise.
2080 * elf/ldsodefs.h: Likewise.
2081 * elf/rtld.c: Likewise.
2082 * iconv/gconv_dl.c: Likewise.
2083 * nss/nsswitch.c: Likewise.
2084 * sysdeps/i386/dl-machine.h: Likewise.
2085 * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
2087 * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
2088 Define RTLD_DEFAULT.
2090 1998-09-05 Mark Kettenis <kettenis@phys.uva.nl>
2092 * sysdeps/mach/hurd/i386/init-first.c (init1): Call
2093 __getopt_clean_environment with __environ instead of envp.
2095 1998-09-05 Roland McGrath <roland@baalperazim.frob.com>
2097 * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
2099 * string/argz-extract.c (__argz_extract): Add de-consting cast for
2102 * string/argz.h (argz_next): Add de-consting cast for return.
2103 * string/argz-next.c (__argz_next): Likewise.
2105 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
2106 Don't add netinet/udp.h, netinet/ip_icmp.h here.
2107 * sysdeps/gnu/Makefile: Do it here instead.
2108 * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
2109 * sysdeps/gnu/Dist: ... to here.
2111 * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
2112 sysdeps/unix/sysv/linux/netinet/tcp.h,
2113 sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
2115 1998-09-04 Roland McGrath <roland@baalperazim.frob.com>
2117 * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
2118 * string/argz-next.c, string/argz-extract.c: Fix defns.
2120 1998-09-03 Roland McGrath <roland@baalperazim.frob.com>
2122 * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
2124 * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
2125 __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
2126 * sysdeps/generic/sysd-stdio.c: Likewise.
2128 1998-09-02 Ulrich Drepper <drepper@cygnus.com>
2130 * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
2131 (_dl_map_object_from_fd): Make NAME argument const.
2132 Remove last parameter in _dl_new_object call.
2133 (print_search_path): Correct construction of composed path name.
2134 (_dl_map_object): Prevent looking at RPATH of the main map twice.
2135 Remove last parameter in _dl_new_object call.
2136 * elf/dl-object.c: Remove last parameter. Determine whether create
2137 origin entry based on empty realname. Handle file in root directory
2139 * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
2140 * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
2141 Remove last parameter in _dl_new_object call.
2142 * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
2143 * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
2145 1998-09-01 Ulrich Drepper <drepper@cygnus.com>
2147 * elf/dl-close.c (_dl_close): Add more comments and correct some.
2148 Free l_searchlist and l_dupsearchlist.
2150 * debug/catchsegv.sh: Add one more pair of quotes.
2152 1998-09-01 17:53 Ulrich Drepper <drepper@cygnus.com>
2154 * elf/dl-load.c (add_name_to_object): Change return type to void and
2155 make NAME parameter const. Allocate room for NAME in same memory
2156 block used for l_libname entry.
2157 (_dl_map_object_from_fd): Don't free NAME on failure.
2158 (map_segment): Pass SONAME to add_name_to_object, not a copy.
2159 (_dl_map_object): Don't create copy of NAME. Pass NAME to
2160 _dl_map_object_from_fd.
2161 * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
2162 memory block used for l_libname entry.
2163 * elf/dl-close.c: Adjust free()ing for this change.
2165 1998-09-01 15:36 Ulrich Drepper <drepper@cygnus.com>
2167 * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
2169 * malloc/mtrace.c: Add bug report address. Update email address.
2170 Add more @XXX@ to print correct address size.
2172 * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
2175 * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
2176 for munmap call instead of examining phdr again.
2177 Free all malloc()ed strings and arrays.
2179 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
2181 * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
2183 * sysdeps/powerpc/dl-machine.c: New file.
2184 * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
2185 files. Revise ELF_PREFERRED_ADDRESS to take account of
2186 the new mapping information (fixes bug involving huge bloated
2187 web browser). Set ELF_MACHINE_PLTREL_OVERLAP.
2188 * sysdeps/powerpc/dl-start.S: New file.
2190 * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
2192 * elf/do-rel.h: Call elf_machine_rel only once (to save space).
2193 * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
2194 others. Call elf_dynamic_do_##reloc only once (to save even more
2196 * elf/link.h: Add new members l_map_start and l_map_end to keep
2197 track of the memory map.
2198 * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
2201 1998-09-01 11:53 Ulrich Drepper <drepper@cygnus.com>
2203 * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
2204 Reported by Andreas Jaeger.
2206 * posix/glob.h: Use __size_t instead of size_t in definitions and
2207 make sure this is defined.
2209 1998-09-01 10:34 Ulrich Drepper <drepper@cygnus.com>
2211 * manual/locale.texi: Almost complete rewrite. Document more functions
2213 * manual/arith.texi: Correct reference.
2214 * manual/string.texi: Pretty printing.
2216 * manual/texinfo.tex: Update from last available version.
2218 1998-08-31 22:44 Ulrich Drepper <drepper@cygnus.com>
2220 * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
2222 (_nss_nis_getpwuid_r): Likewise.
2223 Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
2225 * inet/rcmd.c: Implement netgroup support.
2226 Patch by Dick Streefland <dick_streefland@tasking.com>.
2228 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
2230 * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
2231 object on the list is removed. Don't use this code for PIC.
2232 Reported by HJ Lu [PR libc/770].
2234 1998-08-31 15:56 Ulrich Drepper <drepper@cygnus.com>
2236 * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
2238 * include/stdio.h: Add __vsscanf.
2240 * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
2242 Remove __vsscanf declaration.
2243 Always declare fgetpos and fsetpos.
2245 * math/math.h: Define isinf as macro.
2246 * math/bits/mathcalls.h: Change to declare __isinf all the time.
2247 Don't declare scalb for ISO C 9x.
2249 * math/tgmath.h: Define fma. Rewrite the underlying macros.
2251 * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
2253 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
2256 * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
2259 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2261 * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
2262 Reported by jreising@frequentis.com [PR libc/767].
2264 1998-08-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2266 * io/lockf.c (lockf): Move initilisation of fl.l_whence and
2267 fl.l_start at beginning of function.
2268 Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
2270 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
2272 * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
2273 Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
2275 * nscd/nscd.init: Make it work in RedHat systems.
2276 Patch by Christian Gafton.
2278 1998-08-29 Philip Blundell <philb@gnu.org>
2280 * catgets/Makefile: Don't try to run test programs when
2283 1998-08-31 Ulrich Drepper <drepper@cygnus.com>
2285 * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
2286 Reported by Zack Weinberg.
2288 1998-08-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2290 * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
2291 * elf/Makefile (distribute): Remove ldd.sh.in.
2293 1998-08-31 11:46 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2295 * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
2298 1998-08-29 Ulrich Drepper <drepper@cygnus.com>
2300 * sysdeps/i386/register-dump.h: Move to ...
2301 * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
2303 1998-08-28 22:49 Ulrich Drepper <drepper@cygnus.com>
2305 * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
2306 with load address, not map address.
2307 * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
2308 parameter and use this value.
2309 * sysdeps/arm/dl-machine.h: Likewise.
2310 * sysdeps/i386/dl-machine.h: Likewise.
2311 * sysdeps/m68k/dl-machine.h: Likewise.
2312 * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
2314 * sysdeps/powerpc/dl-machine.h: Likewise
2315 * sysdeps/sparc/sparc32/dl-machine.h: Likewise
2316 * sysdeps/sparc/sparc64/dl-machine.h: Likewise
2318 1998-08-28 09:22 Ulrich Drepper <drepper@cygnus.com>
2320 * elf/rtld.c (process_envvars): Fix copy&paste error.
2322 * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
2324 (realloc_hook_ini): Don't overwrite memalign hook.
2325 (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
2326 Reported by Philippe Troin <phil@fifi.org>.
2328 * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
2329 Patch by Philippe Troin <phil@fifi.org>.
2331 1998-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2333 * sysdeps/generic/segfault.c (install_handler): Protect the
2334 non-POSIX signals with #ifdef.
2335 (catch_segfault): Add missing mode parameter for open.
2336 * debug/catchsegv.sh: Avoid termination message from shell. Allow
2337 other termination signals.
2339 1998-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2341 * debug/Makefile (distribute): Add register-dump.h.
2343 1998-08-28 10:41 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2345 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
2347 1998-08-27 19:42 Ulrich Drepper <drepper@cygnus.com>
2349 * elf/Makefile (distribute): Add dl-origin.h.
2350 * sysdeps/generic/dl-origin.h: New file.
2351 * sysdeps/unix/sysv/linux/dl-origin.h: New file.
2352 * elf/link.h (struct link_map): Add l_origin field.
2353 * elf/dl-load.c (expand_dynamic_string_token): New function.
2354 (decompose_path): Remove WHERE argument, take link map pointer instead.
2355 Call expand_dynamic_string_token instead of local_strdup to make copy
2357 (_dl_init_paths): Call decompose_path with correct argument.
2358 (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
2360 Check EI_OSABI and EI_ABIVERSION fields in header.
2361 Call _dl_new_object with extra argument.
2362 (_dl_map_object): Call decompose_path with correct argument.
2363 Call expand_dynamic_string_token instead of local_strdup to also
2365 Call _dl_new_object with extra argument.
2366 * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
2367 but the main one if new argument is nonzero.
2368 * elf/ldsodefs.h: Adjust for _dl_new_object change.
2369 * elf/dl-support.c: Define _dl_origin_path.
2370 * elf/rtld.c: Likewise. Set _dl_origin_path based on LD_ORIGIN_PATH.
2371 (dl_main): Call _dl_new_object with extra argument.
2373 * elf/dl-close (_dl_close): Free l_name and l_origin.
2375 * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
2376 modifier in asm, not c.
2378 * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
2379 to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
2381 1998-08-26 17:48 Ulrich Drepper <drepper@cygnus.com>
2383 * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
2384 variable so that map can be freed.
2385 Reported by Philippe Troin <phil@fifi.org>.
2387 * elf/dl-open.c (dl_open_worker): Correct test for extending global
2389 Patch by Philippe Troin <phil@fifi.org>.
2391 1998-08-26 Geoff Keating <geoffk@ozemail.com.au>
2393 * sysdeps/powerpc/register-dump.h: Rewrite. Much nicer this way.
2394 Don't call writev() with a 100-element vector.
2395 * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
2398 * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
2399 In particular, set __libc_stack_end.
2400 * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
2401 undefined. Fix copyright notice.
2403 1998-08-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2405 * math/Makefile (gmp-objs): New variable.
2406 ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
2408 (tests): Add atest-exp atest-sincos atest-exp2.
2409 (tests-static): Remove atest-exp atest-sincos atest-exp2.
2411 1998-08-25 Ulrich Drepper <drepper@cygnus.com>
2413 * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
2415 (_dl_unload_cache): New function.
2416 * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
2417 * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
2418 * elf/rtld.c (dl_main): Unload map file before jumping to user code.
2420 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
2421 Correct comment for O_LARGEFILE.
2422 * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
2423 Change O_LARGEFILE to correct value.
2425 1998-08-25 14:34 Ulrich Drepper <drepper@cygnus.com>
2427 * libio/iogetline.c (_IO_getline_info): Don't read anything for
2428 N == 0. Patch by HJ Lu.
2430 1998-08-25 11:43 Ulrich Drepper <drepper@cygnus.com>
2432 * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
2434 1998-08-25 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
2436 * argp/argp.h: Use __inline__ not inline.
2438 * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
2439 an input register as being clobbered.
2440 * sysdeps/i386/memset.c (memset): Likewise.
2441 * sysdeps/i386/bzero.c (__bzero): Likewise.
2442 * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
2444 1998-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2446 * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
2447 Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
2449 1998-08-24 16:34 Ulrich Drepper <drepper@cygnus.com>
2451 * debug/catchsegv.sh: Handle text preceding backtrace better.
2452 * sysdeps/generic/segfault.c: Allow register dump. Allow handler
2453 to be installed for other signals than SIGSEGV.
2454 * sysdeps/generic/register-dump.h: New file.
2455 * sysdeps/i386/register-dump.h: New file.
2456 * sysdeps/powerpc/register-dump.h: New file.
2458 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
2460 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
2462 1998-08-24 Geoff Keating <geoffk@ozemail.com.au>
2464 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
2466 1998-08-09 Geoff Keating <geoffk@ozemail.com.au>
2468 * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
2469 * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
2470 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
2471 getresuid, getresgid.
2473 1998-08-16 Geoff Keating <geoffk@ozemail.com.au>
2475 * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs. Set up stack
2476 pointer in userland.
2478 1998-08-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2480 * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
2483 1998-08-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2485 * elf/ldd.bash.in: Add missing quotes around $file. Make loop
2486 over arguments Bourne shell compatible. Don't exit unsuccessfully
2487 if nonelf returns successfully. Avoid duplicating most of the
2489 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
2492 1998-08-24 10:37 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2494 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
2496 * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
2497 * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
2499 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
2501 * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
2502 __modify_ldt and modify_ldt.
2503 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
2505 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2506 Use orl $-1 instead of movl $-1 to save two bytes.
2507 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
2510 1998-08-17 H.J. Lu <hjl@gnu.org>
2512 * libio/Versions (_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): Added to GLIBC_2.1.
2518 * libio/fileops.c (_IO_do_write, _IO_file_attach,
2519 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2520 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2521 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2522 _IO_file_write, _IO_file_xsputn): Change the prefix to
2523 "_IO_new_". Added to GLIBC_2.1.
2525 * libio/libioP.h (_IO_do_write, _IO_file_attach,
2526 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2527 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2528 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2529 _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
2532 * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
2533 _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2534 _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2535 _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2536 _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
2538 1998-08-23 Richard Henderson <rth@cygnus.com>
2540 * Makeconfig (LDFLAGS): Remove.
2542 * csu/initfini.c: Return to .text before __gmon_start__.
2544 * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
2545 (STO_MIPS_*): Rename from STO_*.
2546 (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
2547 (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
2549 * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
2550 (main): e3s is negative on zero.
2551 * math/atest-exp2.c: Likewise.
2552 * math/atest-sincos.c: Likewise.
2554 1998-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2556 * Makerules (install): Add comment about absolute paths.
2558 1998-08-23 Ulrich Drepper <drepper@cygnus.com>
2560 * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
2561 array to NUL to handle maxlen==1 case correctly.
2564 1998-08-23 Richard Henderson <rth@cygnus.com>
2566 * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
2567 * sysdeps/alpha/elf/crtend.S: Likewise.
2568 * sysdeps/alpha/elf/start.S: Likewise.
2570 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
2571 non-standard pv usage.
2573 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
2574 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
2575 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
2576 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
2577 * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
2578 * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
2579 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
2580 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
2581 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
2582 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
2583 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
2585 * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
2586 a finite non-denormal, deferring to the full IEEE version otherwise.
2588 * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
2589 Early out for -0. Optimize for !_IEEE_FP_INEXACT.
2590 * sysdeps/alpha/fpu/s_floor.c: New.
2591 * sysdeps/alpha/fpu/s_floorf.c: New.
2592 * sysdeps/alpha/fpu/s_ceil.c: New.
2593 * sysdeps/alpha/fpu/s_ceilf.c: New.
2595 1998-08-22 Philip Blundell <philb@gnu.org>
2597 * sysdeps/arm/bits/string.h: New file.
2599 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2601 * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
2604 * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
2605 test for recent Linux 2.1.100+ headers.
2607 1998-08-21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2609 * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
2611 1998-08-21 17:21 Ulrich Drepper <drepper@cygnus.com>
2613 * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
2615 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2617 * Makefile (elf/ldso_install): Put back. The problem still persists.
2618 * elf/Makefile (ldso_install): Likewise.
2620 1998-08-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2622 * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
2624 * include/db.h: Declare __nss_db_open.
2625 * db2/Versions: Export it.
2627 * db2/makedb.c: Convert to use db2 API.
2628 * nss/nss_db/db-XXX.c: Likewise.
2629 * nss/nss_db/db-netgrp.c: Likewise.
2630 * nss/nss_db/db-alias.c: Likewise.
2631 (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
2633 1998-08-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2635 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
2636 sys_setresuid, already built automatically (or not).
2637 * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
2638 instead of __syscall_setresuid and add back setresuid.
2639 * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
2640 __syscall_setresuid.
2642 1998-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2644 * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
2646 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
2648 * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
2649 BASH-ONLY marked region.
2650 * elf/ldd.bash.in: Remove special BASH-ONLY markers.
2652 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
2654 * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
2657 * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
2659 * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
2662 1998-08-21 Roland McGrath <roland@baalperazim.frob.com>
2664 * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
2665 with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
2666 * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
2667 (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
2668 (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
2669 those magic comments, and to use /bin/sh for @BASH@.
2670 (bash-ldd-rewrite): Use $(common-ldd-rewrite).
2671 * elf/ldd.sh.in: File removed.
2673 1998-08-20 20:07 Ulrich Drepper <drepper@cygnus.com>
2675 * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
2676 cast them to unsigned long int.
2677 * pwd/putpwent.c (putpwent): Likewise.
2678 Patch by John Tobey <jtobey@banta-im.com>.
2680 1998-08-20 17:14 H.J. Lu <hjl@gnu.org>
2682 * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
2685 1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
2687 * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
2690 1998-08-20 19:14 Ulrich Drepper <drepper@cygnus.com>
2692 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
2693 Add umount and umount2.
2694 * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
2695 * sysdeps/unix/sysv/linux/umount.S: New file.
2696 * sysdeps/unix/sysv/linux/umount2.S: New file.
2697 * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
2700 * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
2702 * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
2703 * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
2705 * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
2707 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
2710 1998-08-20 16:01 Ulrich Drepper <drepper@cygnus.com>
2712 * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
2713 * elf/ldd.bash.in: Likewise.
2715 * elf/sln.c: Avoid warning for no main prototype.
2717 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
2719 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
2720 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2722 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
2724 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
2725 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
2726 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2728 1998-08-20 Philip Blundell <pb@nexus.co.uk>
2730 * sysdeps/arm/fpu/ieee754.h: Move to...
2731 * sysdeps/arm/ieee754.h: ... here.
2733 * sysdeps/arm/__longjmp.S: Put return value in correct register.
2734 Don't set the condition flags unnecessarily.
2735 * sysdeps/arm/fpu/__longjmp.S: Likewise. Restore floating point
2736 registers correctly.
2738 * sysdeps/arm/dl-machine.h: Fix problems with profiling code
2739 (patch from Scott Bambrough).
2741 * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
2743 * csu/initfini.c (_init): Don't check whether __gmon_start__ is
2744 NULL, just call it unconditionally.
2745 (__gmon_start__): Provide stub version as a weak symbol.
2747 1998-07-30 Philip Blundell <philb@gnu.org>
2749 * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
2752 * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
2753 like `@' in .type directives.
2755 * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
2756 * sysdeps/arm/bsd-_setjmp.S: Likewise.
2758 * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
2760 1998-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2762 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
2763 (F_GETOWN): Likewise.
2765 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
2768 1998-08-20 Ulrich Drepper <drepper@cygnus.com>
2770 * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
2773 1998-08-18 Ulrich Drepper <drepper@cygnus.com>
2775 * include/features.h: Define __USE_EXTERN_INLINES for recent
2777 * argp/argp.h: Define extern inline functions only if
2778 __USE_EXTERN_INLINES is defined.
2779 * libio/stdio.h: Likewise.
2780 * math/math.h: Likewise.
2781 * stdlib/stdlib.h: Likewise.
2782 * string/argz.h: Likewise.
2783 * sysdeps/generic/bits/sigset.h: Likewise.
2784 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
2785 * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
2786 * sysdeps/wordsize-32/inttypes.h: Likewise.
2787 * sysdeps/wordsize-64/inttypes.h: Likewise.
2788 * wcsmbs/wchar.h: Likewise.
2790 * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
2791 to allow compilation without optimization.
2793 1998-08-14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2795 * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
2797 * nis/nss_compat/compat-initgroups.c: Likewise.
2798 * nis/nss_compat/compat-pwd.c: Likewise.
2799 * nis/nss_compat/compat-spwd.c: Likewise.
2800 * nis/nss_nis/nis-alias.c: Likewise.
2801 * nis/nss_nis/nis-ethers.c: Likewise.
2802 * nis/nss_nis/nis-grp.c: Likewise.
2803 * nis/nss_nis/nis-hosts.c: Likewise.
2804 * nis/nss_nis/nis-initgroups.c: Likewise.
2805 * nis/nss_nis/nis-network.c: Likewise.
2806 * nis/nss_nis/nis-proto.c: Likewise.
2807 * nis/nss_nis/nis-pwd.c: Likewise.
2808 * nis/nss_nis/nis-rpc.c: Likewise.
2809 * nis/nss_nis/nis-service.c: Likewise.
2810 * nis/nss_nis/nis-spwd.c: Likewise.
2812 * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
2814 * nis/ypclnt.c: Try binding dir only first time, could be to old.
2816 * nis/yp_xdr.c: Remove 1024 byte limit.
2817 * nis/ypupdate_xdr.c: Likewise.
2819 * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
2822 1998-08-18 Roland McGrath <roland@baalperazim.frob.com>
2824 * Rules (binaries-static, binaries-shared static pattern rules):
2825 Depend on lib%, not just libc%, from $(link-libc{,-static}).
2827 * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
2828 this here, overriding Makeconfig generic value so we link against
2831 1998-08-17 Ulrich Drepper <drepper@cygnus.com>
2833 * posix/tstgetopt.c (options): Add NULL entry at end
2834 Patch by Adrian Miranda <ade@psg.com>.
2836 1998-08-15 18:21 Ulrich Drepper <drepper@cygnus.com>
2838 * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION. Move EI_PAD
2841 1998-08-15 14:11 Ulrich Drepper <drepper@cygnus.com>
2843 * elf/elf.h: Add PPC Diab relocations.
2845 * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
2847 1998-08-14 10:08 Ulrich Drepper <drepper@cygnus.com>
2849 * manual/texinfo.tex: Update.
2851 1998-08-07 Geoff Keating <geoffk@ozemail.com.au>
2853 * sysdeps/powerpc/backtrace.c: New file.
2855 1998-08-14 Philip Blundell <pb@nexus.co.uk>
2857 * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
2859 * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
2861 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2863 * Makefile (install-symbolic-link): Fix spelling.
2865 1998-08-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2867 * elf/elf.h (SHT_HIOS): Fix value.
2869 1998-08-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2871 * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
2872 part of the expansion, this is undefined by the standard.
2874 1998-08-13 19:41 Ulrich Drepper <drepper@cygnus.com>
2876 * posix/getconf.c: Add support for systems with incomplete confname.h.
2878 * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
2880 * sysdeps/posix/wait3.c: Make it work.
2882 1998-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2884 * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
2885 (elf/ldso_install): Remove.
2887 * elf/Makefile (distribute): Add sln.c.
2889 (others-static): Add sln.
2890 (install-rootsbin): Add sln.
2891 (others-static): Add sln.
2892 (ldso_install): Remove.
2894 1998-07-24 10:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2896 * Makerules (install-clean-symbolic-link-list): Make phony.
2897 * Makefile (install-symbolic-link): Make phony. Depend on
2898 subdir_install for parallel makes.
2901 1998-07-22 Ulrich Drepper <drepper@cygnus.com>
2903 * elf/Makefile (distribute): Add sln.c
2905 1998-07-21 07:10 H.J. Lu <hjl@gnu.org>
2907 * elf/sln.c: New file.
2909 * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
2910 (install-clean-symbolic-link-list): New target.
2911 (install): Depend on install-clean-symbolic-link-list.
2912 (make-shlib-link): Changed for $(symbolic-link-list).
2914 * Makefile (install-symbolic-link): New target.
2915 (install): Depend on install-symbolic-link.
2917 1998-08-12 17:03 Ulrich Drepper <drepper@cygnus.com>
2919 * include/unistd.h: Protect against multiple inclusion.
2921 * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
2922 is defined, not is glob is defined.
2923 * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
2925 1998-08-01 17:18 H.J. Lu <hjl@gnu.org>
2927 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
2928 xdr_string for ut_line, ut_name and ut_host.
2930 1998-08-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2932 * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
2933 /var/mail in accordance with FHS 2.0.
2934 Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
2936 1998-08-12 Richard Henderson <rth@cygnus.com>
2938 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
2939 Update aliases for cancelation.
2941 * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
2942 playing with symbol versions.
2944 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
2946 * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
2947 multiple inclusion protection.
2948 (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
2949 _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
2950 define all these to 1.
2951 (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
2953 1998-08-12 Roland McGrath <roland@baalperazim.frob.com>
2955 * sysdeps/mach/usleep.c: Include <unistd.h>.
2956 (usleep): Return void.
2958 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
2960 * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
2961 decl to inhibit warning in if_freenameindex defn.
2963 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
2965 * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
2967 * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
2968 * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
2969 * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
2970 * sysdeps/mach/usleep.c: Likewise.
2972 * sysdeps/mach/hurd/bind.c (bind): Add a const.
2974 * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
2975 * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
2976 * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
2977 * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
2978 * sysdeps/mach/usleep.c (usleep): Likewise.
2979 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
2980 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
2981 * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
2982 * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
2984 1998-08-11 Roland McGrath <roland@baalperazim.frob.com>
2986 * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
2989 * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
2990 %p arg to fprintf, since `void *' is the right type already.
2992 1998-07-25 19:47 Jose M. Moya <josem@gnu.org>
2994 * sysdeps/mach/hurd/getcwd.c
2995 (_hurd_canonicalize_directory_name_internal): Do not loop forever
2996 for unknown root directories.
2997 (__getcwd): Return NULL when the current root directory could not
3000 1998-08-11 18:39 Ulrich Drepper <drepper@cygnus.com>
3002 * string/strsignal.c (strsignal): Count real-time signals from zero.
3005 See ChangeLog.8 for earlier changes.