Update.
[glibc.git] / ChangeLog
blob410a6572ae58aae1067701008de37064e3828d58
1 1998-10-19  Ulrich Drepper  <drepper@cygnus.com>
3         * include/ldsodefs.h: New file.
5         * iconv/gconv.c: Include ldsodefs.h, not elf/ldsodefs.h.
6         Remove change to avoid using _CALL_DL_FCT.
7         * iconv/gconv_db.c: Likewise.
8         * iconv/gconv_dl.c: Likewise.
9         * iconv/skeleton.c: Likewise, here for DL_CALL_FCT.
10         * malloc/mtrace.c: Include ldsodefs.h, not elf/ldsodefs.h.
11         * nss/nsswitch.c: Likewise.
12         * nss/nsswitch.h: Likewise.
14 1998-10-19  Philip Blundell  <pb@nexus.co.uk>
16         * sunrpc/Makefile (otherlibs): If static NSS is in use, set to the
17         required libraries.
18         * login/Makefile (otherlibs): Likewise.
19         * nscd/Makefile (otherlibs): Likewise.
20         * Makeconfig (link-libc) [! build_shared]: Add $(otherlibs).
22         * debug/Makefile (install-bin): Only build catchsegv if using ELF.
24         * inet/Makefile: Add -DSTATIC_NSS to CFLAGS.
26 1998-10-19  Philip Blundell  <pb@nexus.co.uk>
28         * sysdeps/unix/sysv/linux/arm/syscalls.list: Added setfsgid
29         and setfsuid.
31 1998-10-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
33         * nscd/connections.c: Fix typos in comments and strings.
35         * nscd/nscd.conf: Update according to recent changes to nscd.
37         * nscd/cache.c (prune_cache): Remove wrong comment.
39 1998-10-19 13:24  Ulrich Drepper  <drepper@cygnus.com>
41         * locale/programs/ld-collate.c (collate_startup): Clear bit for this
42         category in copy_posix.
43         (collate_finish): Don't warn about UNDEFINED not being defined.
44         * locale/programs/ld-ctype.c (ctype_startup): Clear bit for this
45         category in copy_posix.
46         * locale/programs/ld-messages.c (messages_startup): Likewise.
47         * locale/programs/ld-monetary.c (monetary_startup): Likewise.
48         * locale/programs/ld-numeric.c (numeric_startup): Likewise.
49         * locale/programs/ld-time.c (time_startup): Likewise.
50         * locale/programs/localedef.c: Move copy_def_list_t definition into
51         locales.h.  Define copy_posix variable.
52         (main): Before processing copy list add &copy_posix to copy_list.
53         * locale/programs/locales.h: Add definition of copy_def_list_t.
54         * locale/programs/locfile.c: Clear bit for appropriate category in
55         copy_posix.mask for copy instruction.
57 1998-10-19  Ulrich Drepper  <drepper@cygnus.com>
59         * sysdeps/unix/sysv/linux/i386/setresgid.c: Remove #include of
60         non-existing file with generic implementation.
61         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
63 1998-10-19  Philip Blundell  <pb@nexus.co.uk>
65         * iconv/gconv_db.c: Include ELF header only if STATIC_GCONV is not
66         defined.  Avoid using _CALL_DL_FCT if it is not defined.
67         * iconv/gconv.c: Likewise.
69 1998-10-19  Ulrich Drepper  <drepper@cygnus.com>
71         * nscd/connections.c (dbs): Define defualt values for timeouts and
72         set enabled to 0 by default.
73         (CACHE_PRUNE_INTERVAL): New constant.  Use it instead of magical 15 in
74         nscd_run.
76         * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISCNTRL bit for
77         character >= 0x80.
78         (_nl_C_LC_CTYPE_class32): Likewise.
79         Reported by HJ Lu.
81 1998-10-19  Roland McGrath  <roland@baalperazim.frob.com>
83         * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
84         _HURD_THREADVAR_DL_ERROR.
86         * hurd/Makefile (user-interfaces): Add login, password.
88         * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses.
90 1998-08-06  Mark Kettenis  <kettenis@phys.uva.nl>
92         [submitted 1998-08-06]
93         * mach/Machrules: Create target directory and force re-evaluation
94         of Makefile to prevent `make' from optimizing away most of the
95         implicit rules and `vpath' directives.
97 1998-10-19  Roland McGrath  <roland@baalperazim.frob.com>
99         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): If _hurd_msgport_thread
100         is null, short-circuit to __mach_msg.
102         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): New function,
103         broken out of init1.
104         (init1) [PIC]: Call it.
105         (__libc_init_first) [! PIC]: Call it.
107         * sysdeps/mach/hurd/i386/init-first.c (init1): Don't call
108         __libc_init_secure.  Instead set __libc_enable_secure here from
109         the exec flags.
110         (__libc_enable_secure): New variable it.
111         * sysdeps/mach/hurd/enbl-secure.c: New file, empty placeholder module.
113 1998-10-19  Roland McGrath  <roland@baalperazim.frob.com>
115         * nscd/nscd-client.h: New file, broken out of "nscd.h".
116         * nscd/nscd.h: Move defns needed by clients to "nscd-client.h",
117         and #include that.
118         * nscd/Makefile (distribute): Add nscd-client.h.
119         * nscd/nscd_getgr_r.c, nscd/nscd_gethst_r.c, nscd/nscd_getpw_r.c:
120         Include "nscd-client.h" instead of "nscd.h"
122 1998-10-18  Ulrich Drepper  <drepper@cygnus.com>
124         * sysdeps/posix/getcwd.c (__getcwd): Don't stop processing
125         directory entries when a lstat call fails.
126         Patch by Colin Plumb <colin@nyx.net>.
128         * resolv/nss_dns/dns-host.c: Add missing errnop parameter to the
129         NSS functions.
130         * resolv/nss_dns/dns-network.c: Likewise.
132         * grp/Makefile: Don't search for linuxthreads in add-ons, use
133         have-thread-library to determine whether threads are available.
134         * pwd/Makefile: Remove wrong comment.
136         * inet/Makefile: Define CFLAGS-gethstbyad_r.c, CFLAGS-gethstbynm_r.c,
137         and CFLAGS-gethstbynm2_r.c to -DUSE_NSCD=1.
139         * locale/C-messages.c: Define default strings for YESTR and NOSTR.
141         * nss/Versions: Add __nss_hosts_lookup.
143         * nss/getXXbyYY.c: Remove unneeded assignment.
145         * nss/getXXbyYY_r.c: Include nscd/nscd_proto.h only if needed.
147         Almost complete rewrite of the NSCD to make it smaller, faster,
148         add more functionnality and make it easier to extend.
149         * nscd/Makfile (routines): Add nscd_gethst_r.
150         (nscd-modules): Add hstcache, gethstbyad_r, gethstbynm2_r, and cache.
151         * nscd/cache.c: New file.
152         * nscd/gethstbyad_r.c: New file.
153         * nscd/gethstbynm2_r.c: New file.
154         * nscd/hstcache.c: New file.
155         * nscd/nscd_gethst_r.c: New file.
156         * nscd/connections.c: Rewritten.  Don't start new thread for every
157         new connection.  Use a fixed set of threads which handle all
158         connections and also the cache cleanup.
159         * nscd/grpcache.c: Rewritten to use generic cache handling functions
160         in cache.c.
161         * nscd/nscd.c: Recognize new parameter nthreads.  Adjust initialization
162         for rewrite.  Remove handle_requests function.
163         * nscd/nscd.h (NSCD_VERSION): Bump to 2.
164         Define new data structure for the new unified cache and the host
165         database entries.
166         * nscd/nscd_conf.c: Rewrite parsing partly to allow adding of more
167         databases easily.  Recognize check-files and threads definitions.
168         * nscd/nscd.conf: Add definition of enable-cache and check-files to
169         passwd and group definitions.  Add new set of definitions for hosts.
170         * nscd/nscd_getgr_r.c: Rewrite for new protocol.
171         * nscd/nscd_getpw_r.c: Likewise.
172         * nscd/nscd_proto.h: Add prototype for host database functions.
173         * nscd/nscd_stat.c: Rewrite to simplify printing of information
174         for many databases.
175         * nscd/dbg_log.c: Remove unnecessary variable initializations.
176         Global variable debug_flag is renamed to dbg_level.
177         * nscd/dbg_log.h: Declare set_logfile.
179 1998-10-16  Ulrich Drepper  <drepper@cygnus.com>
181         * sysdeps/unix/sysv/linux/bits/fcntl.h: Add dummy definition of
182         O_LARGEFILE back.
184 1998-10-16  Paul Eggert  <eggert@shade.twinsun.com>
186         * time/mktime.c: Some systems require <unistd.h> to be
187         included before <time.h> for localtime_r to be declared
188         properly.
189         * time/strftime.c: Likewise.
191 1998-10-16  Ulrich Drepper  <drepper@cygnus.com>
193         * db/Makefile: Add rule to generate shared object with the soname
194         from glibc 2.0.
196         * sysdeps/unix/opendir.c: Use O_DIRECTORY if available.  If not
197         available double check to verify it's a directory.
199         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add O_DIRECTORY.
200         * sysdeps/unix/sysv/linux/mips/bits/fcntl: Likewise.
201         * sysdeps/unix/sysv/linux/bits/fcntl.h: Remove O_* constants which
202         are not generally available.
203         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: New file.
205         * sysdeps/unix/sysv/linux/i386/setgroups.c: Add range check for values.
206         * sysdeps/unix/sysv/linux/arm/Makefile: New file.
207         * sysdeps/unix/sysv/linux/arm/setegid.c: New file.
208         * sysdeps/unix/sysv/linux/arm/seteuid.c: New file.
209         * sysdeps/unix/sysv/linux/arm/setfsgid.c: New file.
210         * sysdeps/unix/sysv/linux/arm/setfsuid.c: New file.
211         * sysdeps/unix/sysv/linux/arm/setgid.c: New file.
212         * sysdeps/unix/sysv/linux/arm/setgroups.c: New file.
213         * sysdeps/unix/sysv/linux/arm/setresgid.c: New file.
214         * sysdeps/unix/sysv/linux/arm/setresuid.c: New file.
215         * sysdeps/unix/sysv/linux/arm/setuid.c: New file.
216         * sysdeps/unix/sysv/linux/i386/setegid.c: New file.
217         * sysdeps/unix/sysv/linux/i386/seteuid.c: New file.
218         * sysdeps/unix/sysv/linux/i386/setfsgid.c: New file.
219         * sysdeps/unix/sysv/linux/i386/setfsuid.c: New file.
220         * sysdeps/unix/sysv/linux/i386/setgid.c: New file.
221         * sysdeps/unix/sysv/linux/i386/setgroups.c: New file.
222         * sysdeps/unix/sysv/linux/i386/setresgid.c: New file.
223         * sysdeps/unix/sysv/linux/i386/setresuid.c: New file.
224         * sysdeps/unix/sysv/linux/i386/setuid.c: New file.
225         * sysdeps/unix/sysv/linux/m68k/setegid.c: New file.
226         * sysdeps/unix/sysv/linux/m68k/seteuid.c: New file.
227         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: New file.
228         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: New file.
229         * sysdeps/unix/sysv/linux/m68k/setgid.c: New file.
230         * sysdeps/unix/sysv/linux/m68k/setgroups.c: New file.
231         * sysdeps/unix/sysv/linux/m68k/setresgid.c: New file.
232         * sysdeps/unix/sysv/linux/m68k/setresuid.c: New file.
233         * sysdeps/unix/sysv/linux/m68k/setuid.c: New file.
234         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file.
235         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file.
236         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: New file.
237         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: New file.
238         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: New file.
239         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
240         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file.
241         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file.
242         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: New file.
244         * sysdeps/unix/sysv/linux/arm/syscalls.list: Add s_setgid, s_setresuid,
245         s_setresgid, and s_setuid.
246         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
247         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
248         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
249         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
250         (sysdep_routines): Add setfsgid, setfsuid, setresgid, and setresuid.
251         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
252         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
254 1998-10-16  Ulrich Drepper  <drepper@cygnus.com>
256         * time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get
257         localtime_t declaration on some systems.
259 1998-10-16 10:07  Ulrich Drepper  <drepper@cygnus.com>
261         * iconv/Makefile [! elf]: Define CFLAGS-gconv_simple.c to
262         -DSTATIC_GCONV.
263         * iconv/skeleton.c: Include ELF header only of STATIC_GCONV is not
264         defined.  Avoid using DL_CLL_FCT if it is not defined.
266 1998-10-16 10:40 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
268         * resolv/arpa/nameser.h: Include sys/types.h unconditionally.
269         Include endian.h unconditionally.  Remove portability goop
270         depending on #ifdef linux, #ifdef BSD, #ifdef machine-type.
272 1998-10-16 11:39 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
274         * sunrpc/rpc/types.h: Mark file so fixincludes won't modify it.
276 1998-10-15  Ulrich Drepper  <drepper@cygnus.com>
278         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Remove __kernel_termios
279         again.  Use char[44] to define size of the struct.
281         * sysdeps/unix/sysv/linux/arm/Dist: Add bits/armsigctx.h.
283 1998-10-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
285         * string/bits/string2.h (strcmp): Don't cache the result of
286         __builtin_constant_p in variables, otherwise constant folding
287         can fail in big functions.
289 1998-10-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
291         * string/bits/string2.h: Add prototypes for the new inline
292         functions.
294 1998-10-15  Ulrich Drepper  <drepper@cygnus.com>
296         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Include termios.h to
297         have all types defined.
298         Patch by Matti Aarnio <matti.aarnio@sonera.fi>.
300 1998-10-08  Paul Eggert  <eggert@twinsun.com>
302         * time/mktime.c (my_mktime_localtime_r): Renamed from localtime_r.
303         Define also if HAVE_LOCALTIME_R && defined localtime_r, with
304         a body that merely expands localtime_r; this works around a
305         bug in Digital Unix 4.0A and 4.0D.
307 1998-10-14  Ulrich Drepper  <drepper@cygnus.com>
309         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_ioctl.
310         * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: New file. Define
311         __ioctl to __syscall_ioctl and include Linux version of this file.
312         * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
313         * sysdeps/unix/sysv/linux/powerpc/ioctl.c: New file.  Redirect
314         ioctl calls which handle struct termios.
315         Based on a patch by Dan Jacobowitz <drow@false.org>.
317 1998-10-14  Ulrich Drepper  <drepper@cygnus.com>
319         * version.h (VERSION): Bump to 2.0.98.
321         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Define __kernel_termios
322         here instead of including kernel_termios.h.
324 1998-10-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
326         * sysdeps/unix/opendir.c (__opendir): Remove label lose2 which is
327         unnecessary after the changes of 1998-10-12.
329 1998-10-13  Ulrich Drepper  <drepper@cygnus.com>
331         * sysdeps/unix/sysv/linux/alpha/ioperm.c (inline_outb): Fix output
332         parameter format string.
333         (inline_outw): Likewise.
335         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include
336         string.h to get memcpy prototype and NULL definition.
338 1998-10-12  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
340         * misc/sys/cdefs.h (__THROW): New macro.
341         * argp/argp.h: Use it to replace the kludgey __P in inline
342         function definitions.
343         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
344         * stdlib/stdlib.h: Likewise.
345         * wcsmbs/wchar.h: Likewise.
346         * libio/stdio.h: Likewise.
347         * stdio/stdio.h: Likewise.
348         * sysdeps/wordsize-64/inttypes.h: Likewise.
349         * sysdeps/wordsize-32/inttypes.h: Likewise.
350         * string/argz.h: Likewise.
351         * io/sys/stat.h: Likewise.
353 1998-10-12  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
355         * Rules (stdio_lim): New variable.
356         ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend
357         on Rules and config.make, use $(move-if-change) to avoid unnessary
358         recompilations, and cleanup command.
359         (common-generated): Add bits/stdio_lim.st.
361 1998-10-12  Ulrich Drepper  <drepper@cygnus.com>
363         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-ioperm.c): New
364         variable to prevent warnings from use of modern CPU instructions.
365         Patch by Richard Henderson <rth@cygnus.com>.
367         * sysdeps/unix/opendir.c: Test whether NAME is directory before
368         opening it.
370 1998-10-12  Philip Blundell  <pb@nexus.co.uk>
372         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Add missing
373         semicolon so that profiling works.
375 1998-10-12  Roland McGrath  <roland@baalperazim.frob.com>
377         * sysdeps/generic/glob.c: #undef mempcpy before #define.
379         * sysdeps/unix/bsd/clock.c: Use prototype defns.
381 1998-10-11  Ulrich Drepper  <drepper@cygnus.com>
383         * Rules [posix in sysdirs]: Set L_tmpnam to 20.
384         Patch by Zack Weinberg <zack@rabi.columbia.edu>.
386         * string/bits/string2.h [!_STRING_ARCH_unaligned]
387         (__mempcpy_small): Add parameter for 1 byte copy and use it.
388         Reported by Geoff Keating <geoffk@ozemail.com.au>.
390 1998-10-09  Mark Kettenis  <kettenis@phys.uva.nl>
392         * sysdeps/mach/hurd/bits/posix_opt.h (_XBS5_ILP32_OFF32): Remove,
393         it is already defined in <bits/environments.h>.
395 1998-10-09  Ulrich Drepper  <drepper@cygnus.com>
397         * posix/ptestcases.h: Fix typo.
399 1998-10-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
401         * posix/regex.c (regcomp): Allocate and prepare a fastmap.
402         (regexec): Allocate regs.start and regs.end as one block.
404 1998-10-08  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
406         * sysdeps/unix/sysv/linux/bits/socket.h: Remove comma at end of
407         enum decl.
409 1998-10-08  Philip Blundell  <pb@nexus.co.uk>
411         * sysdeps/unix/sysv/linux/arm/profil-counter.h: Move definition of
412         sigcontext union to ...
413         * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: ... here.  New
414         file.
415         * sysdeps/unix/sysv/linux/arm/register-dump.h: Add support for
416         version 2.0 kernels.
418 1998-10-08  Ulrich Drepper  <drepper@cygnus.com>
420         * malloc/mtrace.c (tr_reallochook): Produce better output for real
421         reallocation case.
423         * signal/sigsetops.c: Make sure __USE_EXTERN_INLINES is defined.
424         * argp/argp-xinl.c: Likewise.
426         * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add missing
427         Ruffian entry back.
428         Patch by Christian Gafton.
430 1998-10-08  Paul Eggert  <eggert@twinsun.com>
432         * time/mktime.c (__mktime_internal): When the requested time falls
433         in a spring-forward gap of size DT, return a time that is DT away
434         from the requested time, preferring a time whose tm_isdst differs
435         from the requested value.  Bump the max number of probes from 4 to
436         6 to account for the extra probes needed to discover a
437         spring-forward gap in the worst case.
439 1998-10-07 17:05  Ulrich Drepper  <drepper@cygnus.com>
441         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Improve the autodetection
442         of the weird alpha architectures.
443         Patch by Cristian Gafton <gafton@redhat.com>.
445 1998-02-18 23:31  Richard Henderson  <rth@cygnus.com>
447         * sysdeps/unix/sysv/linux/alpha/ioperm.c: Add support for
448         RAWHIDE and TSUNAMI.  Patch from Jay.Estabrook@digital.com.
450 1998-10-07  Ulrich Drepper  <drepper@cygnus.com>
452         * elf/dl-open.c (_dl_global_scope_alloc): Make global.
453         (dl_open_worker): Use realloc, not malloc to resize array.
454         * elf/rtld.c (_dl_initial_searchlist): New variable.
455         (_dl_main): Copy content of _dl_main_searchlist to
456         _dl_initial_searchlist.
457         * elf/ldsodefs.h: Add declarations for _dl_initial_searchlist and
458         _dl_global_scope_alloc.
459         * elf/Versions [libc, GLIBC_2.1]: Add _dl_initial_searchlist.
460         * elf/dl-close.c (_dl_close): When removing object with global
461         scope remove allocated searchlist if no dynamically loaded object
462         is on it anymore.
463         * elf/dl-support.c (_dl_initial_searchlist): Renamed from fake_scope.
464         (_dl_global_scope, _dl_main_searchlist): Use _dl_initial_searchlist.
466         * malloc/mtrace.c (tr_where): Don't print space in location string,
467         print it afterwards.  Print better symbol name information.
469 1998-10-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
471         * manual/filesys.texi (Setting Permissions): Fix example for
472         reading umask.
474 1998-10-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
476         * elf/sprof.c (load_profdata): Fix typo in error message.
478 1998-10-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
480         * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
481         flag.
483 1998-10-04  Roland McGrath  <roland@baalperazim.frob.com>
485         * mach/mach.h: Remove __mach_msg decl; <mach/message.h> now does it.
487 1998-10-06  Ulrich Drepper  <drepper@cygnus.com>
489         * version.h (VERSION): Bump to 2.0.97.
491 1998-10-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
493         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use __P
494         in definitions of inline stat functions so that they match the
495         declaration.
496         * stdlib/stdlib.h: Likewise.
497         * wcsmbs/wchar.h: Likewise.
498         * libio/stdio.h: Likewise.
499         * stdio/stdio.h: Likewise.
500         * sysdeps/wordsize-64/inttypes.h: Likewise.
501         * sysdeps/wordsize-32/inttypes.h: Likewise.
502         * string/argz.h: Likewise.
503         * argp/argp.h: Likewise.
505 1998-10-06  Ulrich Drepper  <drepper@cygnus.com>
507         * sysdeps/unix/sysv/linux/bits/in.h: Remove ipv6_mreq which is in
508         netinet/in.h.
510 1998-10-05  Philip Blundell  <philb@gnu.org>
512         * sysdeps/unix/sysv/linux/bits/in.h: Add various new structures
513         and constants.  Tidy up formatting a little.
515         * sysdeps/unix/sysv/linux/bits/socket.h (SOL_IPV6, SOL_ICMPV6):
516         Move definitions to in.h.
518 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
520         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_PREFER,
521         SWAP_FLAG_PRIO_MASK,SWAP_FLAG_PRIO_SHIFT): Added.
522         Remove inclusion of <linux/swap.h>.
524 1998-10-05  Ulrich Drepper  <drepper@cygnus.com>
526         * io/sys/stat.h: Use __P in definitions of inline stat functions
527         so that they match the declaration.
529 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
531         * sysdeps/unix/sysv/linux/sys/quota.h (Q_RSQUASH): Added.
533 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
535         * sysdeps/unix/sysv/linux/sys/acct.h: Bring in sync with current
536         linux 2.1 version.
538 1998-10-02  Philip Blundell  <pb@nexus.co.uk>
540         * sysdeps/arm/dl-machine.h: Fix typo in last change.
542         * sysdeps/arm/bits/huge_val.h: New file.
544 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
546         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_POWER_OFF): Added.
548         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SYSCALL): Add
549         define.
551 1998-10-05  Ulrich Drepper  <drepper@cygnus.com>
553         * sysdeps/posix/getcwd.c (__getcwd): Use temporary variable to
554         store result of realloc instead of using BUF.
556 1998-10-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
558         * misc/sgtty.h (_SGTTY_H): Correct spelling.
559         Reported by Rouben Rostamian <rostamian@umbc.edu> [PR libc/817].
561 1998-10-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
563         * manual/memory.texi (Obstacks): Document
564         obstack_alloc_failed_handler usage.
566         * malloc/obstack.h: Enhance comment about
567         obstack_alloc_failed_handler usage.
568         * malloc/obstack.c: Likewise.
570 1998-10-05  Ulrich Drepper  <drepper@cygnus.com>
572         * misc/sys/cdefs.h (__extension__): Define as empty if no gcc or
573         gcc before 2.8 is used.
575 1998-10-01  Philip Blundell  <pb@nexus.co.uk>
577         * sysdeps/arm/machine-gmon.h: Correct args to mcount().  Patch
578         from Scott Bambrough.
580         * sysdeps/unix/sysv/linux/arm/register-dump.h: New file.
582         * libio/libioP.h (FILEBUF_LITERAL) [! _IO_MTSAFE_IO]: Don't
583         include the lock member.
585 1998-09-03  Philip Blundell  <pb@nexus.co.uk>
587         * sysdeps/arm/fpu/__longjmp.S: Cope with fussy assembler.
589 1998-10-01  Ulrich Drepper  <drepper@cygnus.com>
591         * timezone/zic.c: Update from tzcode1998h.
592         * timezone/europe: Update from tzdata1998i.
593         * timezone/southamerica: Likewise.
595         * sys/types.h: Protect use of long long by __extension__.
596         * stdlib/stdlib.h: Likewise.
597         * string/string.h: Likewise.
598         * sysdeps/i386/bits/byteswap.h: Likewise.
599         * sysdeps/geeric/bits/byteswap.h: Likewise.
600         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
601         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
602         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
603         * sysdeps/wordsize-32/inttypes.h: Likewise.
604         * sysdeps/wordsize-32/stdint.h: Likewise.
605         * wcsmbs/wchar.h: Likewise.
607 1998-09-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
609         * string/bits/string2.h (__string2_1bptr_p): Don't use a statement
610         expression.
611         (__mempcpy, strcpy, __stpcpy, strcmp, strcspn, strspn, strpbrk,
612         __strsep): Greatly reduce size of expansion by combining common
613         expressions.
614         (__mempcpy_small, __strcpy_small, __stpcpy_small): Convert to
615         inline function.
616         (__mempcpy_args, __strcpy_args, __stpcpy_args): New macros, used
617         by the above definitions.
619 1998-09-27  Geoff Keating  <geoffk@ozemail.com.au>
621         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: New file, use
622         correct struct ipc_perm definition.
624 1998-09-29  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
626         * nis/ypclnt.c (yp_all): Close UDP socket und give CLIENT handle free.
628 1998-09-29  Cristian Gafton  <gafton@redhat.com>
630         * sysdeps/unix/sysv/linux/alpha/ioperm.c: List Ruffian in platforms[].
631         * sysdeps/unix/sysv/linux/net/if_shaper.h: New file.
632         * sysdeps/unix/sysv/linux/Dist: Add net/if_shaper.h.
633         * sysdeps/unix/sysv/linux/Makefile [subdirs=inet] (sysdep_headers):
634         Add net/if_shaper.h.
636 1998-09-29  Ulrich Drepper  <drepper@cygnus.com>
638         * nis/ypclnt.c (yp_all): Close socket opened by __yp_bind.
640         * nis/ypclnt.c: Remove not needed close calls.
642 1998-09-28 23:55  Ulrich Drepper  <drepper@cygnus.com>
644         * nis/ypclnt.c (__yp_bind): Pretty print.  Optimize readv result
645         check a bit.  Also close socket of domain client.  Close socket
646         in IPPORT_RESERVED error case.
648 1998-09-28  Ulrich Drepper  <drepper@cygnus.com>
650         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use
651         CMSG_ALIGN (fixes a bug) and correct test for availability of
652         another entry.
653         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Sync with generic
654         Linux version.
655         (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
656         availability of another entry.
657         Patch by ak@muc.de.
659         * sysdeps/unix/sysv/linux/netinet/ip.h (IPOPT_NOOP): Fix typo.
660         Patch by ak@muc.de.
662         * libio/libio.h [!__STDC__]: Define const only if not defined.
664 1998-09-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
666         * posix/annexc.c (xsystem): New function.  Use it instead of
667         system.
669 1998-09-28  Ulrich Drepper  <drepper@cygnus.com>
671         * stdlib/longlong.h: Remove #endif for #if removed in last change.
673 1998-09-25  Ulrich Drepper  <drepper@cygnus.com>
675         * time/strftime.c [emacs]: Define my_strftime to emacs_strftimeu.
676         Define ut_argument, ut_argument_spec, and ut_argument_spec_iso to
677         allow using `ut' parameter.
678         [!emacs]: Define ut_argument, ut_argument_spec, and
679         ut_argument_spec_iso as empty.  Define ut to 0.  Add ut_argument and
680         argument_spec to prototypes and definitions.
681         (my_strftime): Don't call tzset of ut != 0.
682         Compute diff as 0 is ut != 0;
683         [emacs]: Define new emacs_strftime function.
684         Based on a patch by Paul Eggert.
686 1998-09-24  Paul Eggert  <eggert@twinsun.com>
688         * time/strftime.c (my_strftime): When asking for the length of the
689         subformatted buffer, do not limit the length to look for;
690         otherwise, we have no reliable way to distinguish between the
691         empty buffer and an error.
693 1998-09-25  Ulrich Drepper  <drepper@cygnus.com>
695         * math/Makefile (gmp-objs): Add mp_clz_tab.
697 1998-09-25  David S. Miller  <davem@pierdol.cobaltmicro.com>
699         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear bits don't
700         set them.
701         * stdlib/longlong.h (sparc udiv_qrnnd): Define inline version for
702         cpus lacking hardware multiply and divide.
704 1998-09-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
706         * db/Makefile ($(inst_slibdir)/libdb.so$(libdb1.so-version)): Use
707         $(<F), not $(^F).
709 1998-09-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
711         * db/btree/bt_delete.c: Fix -Wparentheses warning.
713 1998-09-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
715         * Makefile ($(inst_includedir)/gnu/lib-names.h): Use
716         $(do-install).
718 1998-09-24  Ulrich Drepper  <drepper@cygnus.com>
720         * debug/catchsegv.sh: Also produce output if clone process died.
722 1998-09-24  Paul Eggert  <eggert@twinsun.com>
724         * time/strftime.c (f_wkday): Remove duplicate definition.
725         (f_wkday, f_month, a_wkday, a_month, ampm): Define as macros when
726         !defined _NL_CURRENT && !HAVE_STRFTIME; this propagates the
727         1998-09-11 fix to this case.
728         (wkday_len, month_len): Remove these macros; they're no longer needed.
730 1998-09-24  Paul Eggert  <eggert@twinsun.com>
732         * time/strftime.c (my_strftime): Don't store past the end of a
733         zero-sized buffer.
735 1998-09-24  Paul Eggert  <eggert@twinsun.com>
737         * time/strftime.c (underlying_strftime):
738         Set the buffer to a nonzero value before calling
739         strftime, and check to see whether strftime has set the buffer to zero.
740         This lets us distinguish between an empty buffer and an error.
742 1998-09-24  Paul Eggert  <eggert@shade.twinsun.com>
744         * time/strftime.c (INT_STRLEN_BOUND): Fix typo by changing 100 to 1000.
745         This fix is propagated from tzcode1998g.tar.gz.
747 1998-09-24  Mark Kettenis  <kettenis@phys.uva.nl>
749         * sysdeps/unix/siglist.c: Make sys_siglist a weak alias for
750         _sys_siglist.  [!HAVE_GNU_LD]: Do not define _sys_siglist as
751         sys_siglist.  This is handled correctly by the weak_alias macro.
753 1998-09-24  Ulrich Drepper  <drepper@cygnus.com>
755         * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
756         of mempcpy.  Reported by Andreas Jaeger.
758         * misc/regexp.h (compile): Use alloca instead of __alloca.  It won't
759         pollute the namespace since the compiler will resolve it inline.
760         Reported by Florian La Roche <florian@suse.de>.
762 1998-09-24 10:29  Ulrich Drepper  <drepper@cygnus.com>
764         * timezone/private.h: Update from tzcode1998g.
766         * timezone/africa: Update from tzdata1998h.
767         * timezone/asia: Likewise.
768         * timezone/australasia: Likewise.
769         * timezone/europe: Likewise.
770         * timezone/northamerica: Likewise.
771         * timezone/southamerica: Likewise.
772         * timezone/zone.tab: Likewise.
774 1998-09-23 17:28 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
776         * misc/sys/mman.h: New file.
778         * sysdeps/generic/bits/mman.h: New file.
779         * sysdeps/unix/bsd/osf/bits/mman.h: New file.
780         * sysdeps/unix/bsd/sun/sunos4/bits/mman.h: New file.
781         * sysdeps/unix/bsd/ultrix4/bits/mman.h: New file.
782         * sysdeps/unix/sysv/irix4/bits/mman.h: New file.
784         * sysdeps/generic/sys/mman.h: Removed.
785         * sysdeps/unix/bsd/osf/sys/mman.h: Removed.
786         * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Removed.
787         * sysdeps/unix/bsd/ultrix4/sys/mman.h: Removed.
788         * sysdeps/unix/sysv/irix4/sys/mman.h: Removed.
789         * sysdeps/unix/sysv/linux/sys/mman.h: Removed.
791         * include/sys/mman.h: Look directly for misc/sys/mman.h.
792         * misc/Makefile (headers): Add bits/mman.h.
793         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
794         bits/mman.h.
796         * sysdeps/unix/sysv/linux/alpha/Dist: Don't mention bits/mman.h.
797         * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
798         * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
799         * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
800         * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
801         * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
802         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
803         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
805 1998-09-23 16:27 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
807         * sysdeps/mach/alpha/sysdep.h: Don't use #include_next.
808         * sysdeps/mach/alpha/thread_state.h: Likewise.
809         * sysdeps/mach/i386/sysdep.h: Likewise.
810         * sysdeps/mach/i386/thread_state.h: Likewise.
811         * sysdeps/mach/mips/sysdep.h: Likewise.
812         * sysdeps/mach/mips/thread_state.h: Likewise.
813         * sysdeps/posix/profil.c: Likewise.
814         * sysdeps/i386/i586/memcopy.h: Likewise.
815         * sysdeps/mach/pagecopy.h: Likewise.
817 1998-09-23 15:25  Ulrich Drepper  <drepper@cygnus.com>
819         * libio/stdio.h: Define __need_getopt and include getopt.h to define
820         getopt stuff.
821         * posix/unistd.h: Likewise.
822         * stdio/stdio.h: Likewise.
823         * posix/getopt.h: Remove _GNU_SOURCE use.  If __need_getopt is defined
824         define only getopt and the variables.
826 1998-09-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
828         * scripts/test-installation.pl (installation_problem): Don't link
829         the test program against libdb1.
831 1998-09-23 13:52  Ulrich Drepper  <drepper@cygnus.com>
833         * Makeconfig (all-subdirs): Add db.
834         * Versions.def: Add definition for libdb1.
835         * shlib-versions: Add definitions for libdb1.
836         * db/Makefile (extra-libs): Replace by libdb1.
837         (libdb-routines): Rename to libdb1-routines.
838         (headers): Rename to db1-headers.
839         (distribute): Add $(db1-headers).
840         (install-others): Define to install symlink libdb.so.NN and the
841         $(db1-headers).
842         (CPPFLAGS): Add -DUSE_LIBDB1
843         Remove rules to build makedb.
844         * db/Versions: Rename libdb to libdb1.
845         * include/db.h: If USE_LIBDB1 is defined include db/db.h.
846         * db/makedb.c: Removed.
848         * scripts/versions.awk: Recognize digits in library names.
850         * db/btree/bt_open.c: Fix compiler warnings.
851         * db/btree/bt_put.c: Likewise.
852         * db/btree/bt_split.c: Likewise.
853         * db/hash/hash.c: Likewise.
854         * db/hash/hash_bigkey.c: Likewise.
855         * db/recno/rec_close.c: Likewise.
857         * Makefile: Add localedata/% goal.
859 1998-09-22 19:58 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
861         * posix/execvp.c: Don't give up searching the PATH if execve
862         returns ENOTDIR.
864 1998-09-22 12:53  Ulrich Drepper  <drepper@cygnus.com>
866         * sysdeps/unix/sysv/linux/init-first.c (init): Don't call setfpucw only
867         if _dl_fpu_control_set is set.
868         * sysdeps/generic/dl-sysdep.c: Don't set _dl_fpu_control_set.
869         * elf/rtld.c: Don't define _dl_fpu_control_set.
870         * elf/Versions: Remove _dl_fpu_control_set.
872 1998-09-22 11:51  Ulrich Drepper  <drepper@cygnus.com>
874         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (SA_ONSTACK): Define.
875         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
876         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
877         Correct values of other SA_* macros according to kernel headers.
879 1998-09-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
881         * elf/dl-load.c (_dl_init_paths): Avoid warning about unused
882         variable l.
883         * elf/dl-error.c (_dl_catch_error): Avoid warning about clobbering
884         old.
886 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
888         * elf/ldsodefs.h: Fix typo in comment.
890 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
892         * libio/genops.c (_IO_default_pbackfail): Add cast to unsigned
893         char when comparing buffer contents with putback character.
895 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
897         * elf/Makefile (dl-routines, elide-routines.os, rtld-routines):
898         Undo last change.
899         * elf/Versions: Undo last change.  Export _dl_fpu_control and
900         _dl_fpu_control_set.
901         * elf/rtld.c (_dl_fpu_control, _dl_fpu_control_set): New
902         variables.  Include <fpu_control.h>.
903         * sysdeps/generic/dl-sysdep.c: Store AT_FPUCW value in
904         _dl_fpu_control instead of __fpu_control, set _dl_fpu_control_set
905         to indicate that is was seen.
906         * sysdeps/unix/sysv/linux/init-first.c: Omit call to __setfpucw
907         only if _dl_fpu_control was set and is equal to desired value.
908         * math/Makefile (aux): Undo last change.
909         * math/Versions: Export __fpu_control with version GLIBC_2.0.
911 1998-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
913         * sysdeps/m68k/dl-machine.h (elf_machine_lazy_rel): Slightly
914         optimized.
916 1998-09-21 10:00  Ulrich Drepper  <drepper@cygnus.com>
918         * string/bits/string2.h: Add mempcpy optimization.
919         * sysdeps/generic/mempcpy.c: Undefined __mempcpy.
920         * intl/localealias.c: Define mempcpy only if not already defined.
922         * sysdeps/i386/i486/bits/string.h: Define ffsl only if not already
923         defined.
925 1998-09-20 10:48 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
927         * csu/abi-note.S: Emit the note directly instead of defining
928         a preprocessor macro that's only used once.  Don't include sysdep.h.
929         * abi-tags: Generalize Solaris entry.
931 1998-09-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
933         * sysdeps/unix/bsd/getpt.c (__libc_ptyname1, __libc_ptyname2):
934         Change to array to avoid runtime relocation.
935         * sysdeps/unix/sysv/linux/ptsname.c: Update declarations.
937 1998-09-21 12:22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
939         * malloc/Makefile ($(objpfx)libmcheck.a): Fix use of $(LN_S).
940         * math/Makefile ($(objpfx)libieee.a): Likewise.
942 1998-09-21  Ulrich Drepper  <drepper@cygnus.com>
944         * sysdeps/generic/getpt.c: Fix order of argument to weak_alias.
945         Patch by John Tobey <jtobey@banta-im.com>.
947 1998-09-20  Ulrich Drepper  <drepper@cygnus.com>
949         * login/Makefile (distribute): Remove pty-internal.h, add
950         pty-private.h.
952         * stdlib/tst-strtol.c: Add more checks.
953         Patch by Zack Weinberg <zack@rabi.columbia.edu>.
955 1998-09-20 09:37  Ulrich Drepper  <drepper@cygnus.com>
957         * elf/Versions [GLIBC_2.1] (libc): Add __fpu_control.
958         * elf/elf.h: Add AT_FPUCW.
959         * elf/Makefile (dl-routines): Add fpu_control.
960         (elide-routines.os): Add fpu_control.
961         (rtld-routines): Add fpu_control.
962         * math/Makefile (aux): Remove fpu_control.
963         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_FPUCW.
964         (_dl_show_auxv): Likewise.
965         * sysdeps/unix/sysv/linux/init-first.c (init): Use __setfpucw only
966         if different from OS default.
968         * stdio-common/tstscanf.c: Add test case for (nil).
970 1998-09-18 17:41  Ulrich Drepper  <drepper@cygnus.com>
972         * libio/fileops.c (_IO_new_file_underflow): Before allocating
973         buffer make sure the pushback buffer is destroyed.
974         (_IO_new_file_seekoff): Likewise.
975         If mode==0 quit early with the result.
976         Clear OEF flag after successful fseek.
977         * libio/libio.h (_IO_FILE_complete): Add _IO_save_ptr.
978         * libio/ftello.c (ftello): Add offset from original buffer if
979         stream has pushed back characters.
980         * libio/ftello64.c (ftello64): Likewise.
981         * libio/iofgetpos.c (_IO_fgetpos): Likewise.
982         * libio/iofgetpos64.c (_IO_fgetpos64): Likewise.
983         * libio/ioftell.c (_IO_ftell): Likewise.
984         * libio/genops.c (_IO_switch_to_main_get_area): Swap _IO_read_ptr
985         and _IO_save_ptr.
986         (_IO_switch_to_backup_area): Save _IO_read_ptr in _IO_save_ptr.
987         (_IO_default_pbackfail): Only stored push back character in original
988         buffer if it is the same as the one in the file at this position.
989         * libio/iofclose.c: Free backup buffer if one is available.
990         * libio/ioseekoff.c (_IO_seekoff): Only remove pushback buffer if
991         mode!=0.
993         * strdlib/strtol.c (strtol): Handle 0x... string for base!=0 correctly.
995         * time/strftime.c [_LIBC] (ampm): Use tp->tm_hour not hour12.
997         * stdio-common/vfscanf.c: Fix reading (nil) for %p.
999 1998-09-18  Mark Kettenis  <kettenis@phys.uva.nl>
1001         * login/programs/pt_chown.c (more_help): Correct message that
1002         describes the purpose of the program.
1004         * login/openpty.c: Do not include pty-private.h.
1005         (pts_name): New function.  Return name of slave pseudo terminal in
1006         an allocated buffer if necessary.
1007         (openpty): Use pts_name to get name of the slave end of the pseudo
1008         terminal pair.
1010         * sysdeps/unix/grantpt.c (grantpt): Free buffer allocated by
1011         pts_name before return.
1013 1998-09-18 11:15  Ulrich Drepper  <drepper@cygnus.com>
1015         * math/math.h: Define __NO_MATH_INLINES if __STRICT_ANSI__.
1017 1998-09-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1019         * login/openpty.c: Include pty-private.h instead of
1020         pty-internal.h.
1022 1998-09-09  Philip Blundell  <pb@nexus.co.uk>
1024         * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Optimise a bit.
1026 1998-09-07  Philip Blundell  <pb@nexus.co.uk>
1028         * sysdeps/arm/dl-machine.h (RTLD_START): Keep in step with
1029         recent ld.so changes.
1030         (elf_machine_runtime_setup): Correct behaviour when profiling.
1032 1998-09-17 19:34  Ulrich Drepper  <drepper@cygnus.com>
1034         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Fix typo.
1035         Patch by John Tobey <jtobey@banta-im.com>.
1037 1998-09-17  Mark Kettenis  <kettenis@phys.uva.nl>
1039         * login/pty-internal.h: Removed.  Moved constants related to the
1040         `grantpt' helper program protocol to ...
1041         * login/pty-private.h: ... here.  New file.
1042         * sysdeps/unix/sysv/linux/ptsname.c (ptsname): Reimplementation
1043         to make the function work with kernels >= 2.1.115.
1044         * sysdeps/unix/sysv/linux/getpt.c (getpt): Reimplement to call BSD
1045         version if using the cloning device fails.
1046         * sysdeps/unix/sysv/linux/grantpt.c: New file.
1047         * sysdeps/unix/sysv/linux/unlockpt.c: General cleanup.
1048         * sysdeps/unix/bsd/getpt.c (__getpt): Largely rewritten to allow
1049         use by Linux specific code.
1050         * sysdeps/unix/bsd/unlockpt.c: General cleanup.
1051         * sysdeps/unix/grantpt.c: Largely rewritten.  (pts_name): New
1052         function.  (grantpt): Use pts_name, check group and permission
1053         mode in addition to owner.  Try to set the owner, group and
1054         permission mode first without invoking the helper program.
1055         * login/programs/pt_chown.c: Largely rewritten.  Add argp and
1056         internationalization support.  Use symbolic constants instead of
1057         hardwired numbers for permission mode.
1058         * sysdeps/unix/bsd/ptsname.c: New file.
1060 1998-09-17 22:04  Tim Waugh  <tim@cyberelk.demon.co.uk>
1062         * posix/wordexp-test.c: Undo last change.
1064         * posix/wordexp.c: Undo last change.
1066 1998-09-16  Ulrich Drepper  <drepper@cygnus.com>
1068         * nscd/grpcache.c (save_grp): Partly undo last change.
1070         * nscd/pwdcache.c (save_pwd): Undo last change.
1072 1998-09-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1074         * sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
1075         function.  Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
1077 1998-09-15  David S. Miller  <davem@pierdol.cobaltmicro.com>
1079         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
1080         Add profiling support.
1081         (TRAMPOLINE_TEMPLATE): New macro.
1082         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
1083         (RTLD_START): Prettify, and set __libc_stack_end properly.
1084         (elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
1085         and check for sym being NULL instead.
1086         * sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
1087         of stack space.
1088         * sysdeps/sparc/sparc64/lshift.S: Likewise.
1089         * sysdeps/sparc/sparc64/mul_1.S: Likewise.
1090         * sysdeps/sparc/sparc64/rshift.S: Likewise.
1091         * sysdeps/sparc/sparc64/submul_1.S: Likewise.
1092         * sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
1093         MEDANY code model %g4 usage.
1094         * sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
1095         MEDANY code model %g4 usage.
1096         * sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
1097         code model address formation.
1098         * sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
1099         include elf/ldsodefs.h
1100         (DT_SPARC): Remove.
1101         (elf_machine_matches_host): It is now EM_SPARCV9.
1102         (elf_machine_dynamic): Clean up to remove ugly cast.
1103         (elf_machine_fixup_plt): Rework for new V9 ABI, add support for
1104         new PLT formats.
1105         (elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
1106         Prettify rest of function.
1107         [R_SPARC_COPY]: Check for sym being NULL.
1108         [R_SPARC_32]: Handle it.
1109         [R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
1110         MEDMID code model.
1111         [R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
1112         MEDANY code model.
1113         [R_SPARC_NONE]: Remove this case, as it is now checked earlier.
1114         (elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
1115         Add profiling support.
1116         (TRAMPOLINE_TEMPLATE): New macro.
1117         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
1118         (RTLD_START): Prettify and set __libc_stack_end.
1119         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
1120         Define.
1121         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
1122         (SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
1123         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
1124         unused variable scratch.
1125         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1126         (__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
1127         Declare.
1128         (__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
1129         stub to rt_sigaction syscalls.  Rewrite non-rt case to use correct
1130         old format kernel sigaction structures.
1131         * sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
1132         * sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
1133         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
1134         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
1135         ucontext include.
1136         (_JMPBUF_UNWINDS): Define.
1137         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
1138         statfs64 structure, which is exactly the same as the normal one.
1139         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
1140         of stack.  Use correct syscall trap number.  Add branch prediction
1141         settings to branch instructions.  Remove old MEDANY code model %g4
1142         referneces for non-PIC.
1143         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
1144         * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
1145         * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
1146         * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
1147         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1148         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
1149         __libc_longjmp and __libc_siglongjmp strong aliases.
1150         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
1151         Also define to __no__readdir64_decl around readdir.c inclusion.
1152         (__readdir64): Add strong alias.
1153         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
1154         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
1155         Set strong and weak names properly.
1157 1998-09-16 11:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1159         * manual/Makefile (AWK): Default to gawk if standalone.
1161 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1163         * Makefile (distribute): Undo last change.
1164         * Make-dist (+tsrc) [not subdir]: Also include indirection headers
1165         for sysdep headers.
1166         (+subdir-headers): Removed, unused.
1168 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1170         * stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
1171         $(do-install).
1173 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1175         * Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
1176         absolute name in $(config-sysdirs), can never happen.
1177         ($(+sysdir_pfx)sysd-rules): Likewise.
1178         * Makeconfig (full-config-sysdirs): Likewise.
1179         (all-Subdirs-files): Prepend $(..).
1181         * configure.in: Don't check for absolute name in $add_ons_pfx, can
1182         not happen.  Let --enable-add-ons=yes work if no add-ons actually
1183         exist.
1185 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1187         * Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
1188         continuations in command.
1190 1998-09-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1192         * libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
1194 1998-09-16 00:47  Tim Waugh  <tim@cyberelk.demon.co.uk>
1196         * posix/wordexp-test.c: If expansion or substitution occurs
1197         anywhere in a word, the entire word is subject to field-splitting.
1199         * posix/wordexp.c (parse_glob): Look for end of word instead of
1200         end of field when deciding what to glob.
1201         (field_split_word): New function, now the only place where
1202         field-splitting is performed.
1203         (parse_dollars): New parameter - tell the caller if
1204         field-splitting should be performed on this word.
1206         * posix/wordexp-test.c (testit): Only call wordfree if wordexp
1207         succeeded (or failed with WRDE_NOSPACE).
1209 1998-09-15 19:53 1998  Tim Waugh  <tim@cyberelk.demon.co.uk>
1211         * posix/wordexp.c (wordexp): Don't convert IFS characters to
1212         blanks.
1214         * posix/wordexp-test.c: Words not the result of expansion or
1215         substitution should remain unchanged.
1217 1998-09-15  Ulrich Drepper  <drepper@cygnus.com>
1219         * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
1220         (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
1222 1998-09-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1224         * stdio-common/Makefile: Include Makeconfig so that
1225         $(inst_includedir) is defined.
1227 1998-09-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1229         * io/pwd.c: Include <mcheck.h>.
1231 1998-09-15 08:00  Ulrich Drepper  <drepper@cygnus.com>
1233         * nscd/pwdcache.c (save_pwd): Correct copying.
1234         * nscd/grpcache.c (save_grp): Likewise.
1236 1998-09-14 23:36  Ulrich Drepper  <drepper@cygnus.com>
1238         * nscd/pwdcache.c (save_pwd): Rewrite to use only one malloc call.
1239         (free_pwd): Adjust for this change.
1240         * nscd/grpcache.c (save_grp): Rewrite to use only one malloc call.
1241         (free_grp): Adjust for this change.
1243 1998-09-14  Ulrich Drepper  <drepper@cygnus.com>
1245         * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
1247 1998-09-14 15:29  Ulrich Drepper  <drepper@cygnus.com>
1249         * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
1250         (install-others): Add bits/stdio_lim.h.
1251         Add rule to install bits/stdio_lim.h.
1253         * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: New file.
1255         * Makefile (distribute): Add include/sys/mman.h.
1257         * sysdeps/powerpc/Dist: Add dl-machine.c and dl-start.S.
1258         * sysdeps/unix/sysv/linux/Dist: Add sys/sendfile.h.
1259         * sysdeps/unix/sysv/linux/arm/Dist: Add init-first.h.
1261         * grp/initgroups.c: Include stdlib.h.
1262         Patch by Zack Weinberg.
1264 1998-09-14 22:46  Tim Waugh  <tim@cyberelk.demon.co.uk>
1266         * posix/wordexp-test.c: Chet Ramey confirmed that bash's behaviour
1267         for field-splitting :abc: is correct, and that two fields should
1268         result. Revert tests to reflect this.
1270         * posix/wordexp.c (w_emptyword): Remove function.
1271         (exec_comm): Don't use w_emptyword.
1272         (parse_param): Likewise.
1274 1998-09-14 15:00  Ulrich Drepper  <drepper@cygnus.com>
1276         * sysdeps/arm/fpu/Dist: Moved to...
1277         * sysdeps/arm/Dist: ...here.
1278         * sysdeps/posix/Dist: Removed.
1279         * sysdeps/unix/sysv/linux/Dist: Move sys/debugreg.h to...
1280         * sysdeps/unix/sysv/linux/i386/Dist: ...here.
1282 1998-08-26  Geoff Keating  <geoffk@ozemail.com.au>
1284         * csu/init.c: Don't drag _IO_2_1_stdin_ into the executable.
1286 1998-09-14 11:26  Ulrich Drepper  <drepper@cygnus.com>
1288         * wcsmbs/wcsmbs-tst1.c: Include stdlib.h.
1290 1998-09-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1292         * libc-work/nis/nss_nisplus/nisplus-service.c
1293         (_nss_nisplus_parse_servent): Convert port in network byte order.
1295 1998-09-14 07:53 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1297         * stdlib/stdlib.h: Add a switch, __need_malloc_and_calloc,
1298         to provide only malloc and calloc.
1299         * include/stdlib.h: Support the above.
1300         * string/bits/string2.h: Use __need_malloc_and_calloc when
1301         including stdlib.h.
1302         (__string2_1bptr_p): Avoid -Wbad-function-cast warnings.
1304         * iconvdata/iso-2022-jp.c: Include <stdlib.h>.
1305         * iconvdata/iso646.c: Include <stdlib.h>.
1307 1998-09-14 07:51 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1309         * sunrpc/rpc_cout.c: Add braces around ambiguous else.
1310         * sysdeps/libm-ieee754/w_pow.c: Likewise.
1311         * sysdeps/libm-ieee754/w_powf.c: Likewise.
1312         * sysdeps/libm-ieee754/w_powl.c: Likewise.
1314 1998-09-14 07:57 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1316         * stdio-common/stdio_lim.h.in: New file.  All parameters
1317         are adjustable at build time.
1318         * Rules: Add a rule to build bits/stdio_lim.h from
1319         stdio-common/stdio_lim.h.in.  (It has to be in Rules so that
1320         all subdirectories know how to make the file.  It can't be
1321         in Makerules because then it gets built at top level and the
1322         dependencies are wrong.)
1324         * stdio-common/Makefile (distribute): Add stdio_lim.h.in.
1325         * sysdeps/unix/sysv/linux/Makefile: Delete rules to make
1326         stdio_lim.h.
1327         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Removed.
1328         * sysdeps/unix/sysv/linux/Dist: Take out stdio_lim.h.in.
1329         * sysdeps/posix/Makefile: Removed.
1330         * sysdeps/posix/mk-stdiolim.c: Removed.
1331         * sysdeps/generic/bits/stdio_lim.h: Removed.
1333 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1335         * argp/argp-help.c: Fixup indentation.
1336         * nss/nss_files/files-alias.c: Quiet -Wparentheses warning.
1337         * resolv/nss_dns/dns-network.c: Likewise.
1338         * resolv/res_send.c: Likewise.
1339         * rt/aio_cancel.c: Likewise.
1340         * rt/aio_misc.c: Likewise.
1342 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1344         * Makefile (install-symbolic-link): Remove the link list file at last.
1345         * Makerules (install-clean-symbolic-link-list): Removed.
1347 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1349         * timezone/tst-timezone.c: Print time in UTC to get consistent
1350         output.
1352 1998-09-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1354         * elf/rtld.c (_dl_rpath): Removed.
1355         * elf/dl-support.c (_dl_path): Removed.
1356         * elf/Makefile ($(objpfx)ld.so): Don't pass -rpath.
1357         (CFLAGS-dl-support.c): Removed.
1359         * elf/dl-load.c (env_path_list): Renamed from fake_path_list.  All
1360         uses changed.
1361         (_dl_init_paths): Always set env_path_list from LD_LIBRARY_PATH,
1362         instead of appending it to the main map's rpath info.
1363         (_dl_map_object): Consistently use LD_LIBRARY_PATH after all
1364         DT_RPATHs.  This makes it effective again.
1365         (decompose_rpath): Remove second parameter, callers changed.
1366         (fillin_rpath): Allocate enough space in curwd.
1367         (expand_dynamic_string_token): Cope with get_origin returning -1.
1369 1998-09-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1371         * libc-work/nis/nss_compat/compat-pwd.c: Add support for
1372         passwd.adjunct.
1374         * nis/nss_nis/nis-pwd.c (_nss_nis_getpwent_r): Correct test for
1375         invalid password.
1377 1998-09-13 18:06  Ulrich Drepper  <drepper@cygnus.com>
1379         * locale/programs/locale.c: Update dates.
1381 1998-09-13  Mark Kettenis  <kettenis@phys.uva.nl>
1383         * sysdeps/generic/bits/types.h: Include <features.h>.  Make sure
1384         size_t is defined.  Some reordering of defenitions to make
1385         maintaining this file in parallel with the linux-specific file easier.
1387 1998-09-13  Ulrich Drepper  <drepper@cygnus.com>
1389         * io/pwd.c (main): Add call to mtrace.
1391         * malloc/mtrace.pl: Quote @ in string.
1393 1998-09-13 19:25  Tim Waugh  <tim@cyberelk.demon.co.uk>
1395         * posix/wordexp.c (parse_arith): Fix memory leaks.
1396         (exec_comm): Likewise.
1397         (parse_param): Likewise.
1398         (wordexp): Likewise.
1399         (exec_comm): Reduce number of function return points.
1400         (parse_param): Likewise.
1401         (wordexp): Likewise.
1403 1998-09-13 14:53  Tim Waugh  <tim@cyberelk.demon.co.uk>
1405         * posix/wordexp-test.c: Field-splitting ':abc:' with IFS=: should
1406         yield three fields, not two.  Test both parameter expansion and
1407         command substitution for correct field-splitting behaviour.
1409         * posix/wordexp.c (w_emptyword): New function.
1410         (parse_param): Use it.
1411         (exec_comm): Likewise, for consistency with the way parse_param
1412         splits fields.
1413         (parse_param): Fix some memory leaks.
1415 1998-09-13 18:04  Geoff Keating  <geoffk@ozemail.com.au>
1417         * sysdeps/powerpc/dl-machine.c (PPC_DCBST,PPC_SYNC,PPC_ISYNC,PPC_ICBI):
1418         Don't mark asm `volatile'.
1419         (__elf_machine_runtime_setup): Clear the last partial block in the PLT
1420         from the data cache too.  Assume it isn't in the instruction cache yet.
1421         (__elf_machine_fixup_plt): Clear the modified address from the caches.
1423 1998-09-12  Mark Kettenis  <kettenis@phys.uva.nl>
1425         * sysdeps/generic/segfault.c (install_handler): Install signal
1426         handler with SA_ONSTACK instead of setting the stack flags to
1427         SS_ONSTACK.  Do not install handler for SIGSTKFLT if it is not
1428         defined.
1430 1998-09-12 14:24 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1432         * signal/signal.h: Fix multiple inclusion guard to cover the
1433         entire file.
1434         * wcsmbs/wchar.h: Remove prototype of internal function
1435         __mbsrtowcs.
1436         * sysdeps/i386/i486/bits/string.h (memchr): Don't do
1437         arithmetic on `void *'.
1439 1998-09-12 01:09  Tim Waugh  <tim@cyberelk.demon.co.uk>
1441         * posix/wordexp-test.c: Fix wrong tests.  Add new tests.
1443         * posix/wordexp.c (wordexp): Perform word-splitting instead of
1444         field-splitting here.
1445         (wordexp): If out of memory mid-word, free the word (but still
1446         leave pwordexp alone for caller to see).
1447         (parse_param): Allow for zero-length fields (smarter checking of
1448         memory allocation failure).
1449         (w_addword): Convert NULL words to "".
1450         (wordexp): Convert left-over IFS characters to blanks (like bash).
1452 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
1454         * configure.in: Use test -f instead of test -e.
1455         Patch by John Tobey <jtobey@banta-im.com>.
1457         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/trap.h: New file.
1458         * sysdeps/unix/sysv/sysv4/solaris2/sys/syscall.h: New file.
1459         * sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h: New file.
1460         * sysdeps/unix/sysv/linux/sigstack.c: Fix typo.
1461         * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: Fix typo.
1462         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys/ucontext.h: New file.
1463         * sysdeps/unix/sysv/sysv4/solaris2/sys/param.h: New file.
1464         Patches by John Tobey <jtobey@banta-im.com>.
1466         * time/strftime.c (my_strftime): Delay use of *tp values until
1467         latest possible point to allow partly initialized structures
1468         (e.g., from strptime).
1470         * iconvdata/Makefile (modules): Add ISO_10367-BOX, MAC-IS, NATS-DANO,
1471         and NATS-SEFI.
1472         Define *-routines variables for new modules.
1473         (distribute): Add .c files for new modules.
1474         (awk-generated-headers): Add iso_10367-box.h, mac-is.h, nats-dano.h,
1475         and nats-sefi.h.
1476         Add rules for header generation.
1477         * iconvdata/gconv-modules: Add entries for new modules.
1478         * iconvdata/iso_10367-box.c: New file.
1479         * iconvdata/mac-is.c: New file.
1480         * iconvdata/nats-dano.c: New file.
1481         * iconvdata/nats-sefi.c: New file.
1483 1998-04-30 18:20  H.J. Lu  <hjl@gnu.org>
1485         * elf/dl-load.c (_dl_init_paths): Don't check the dynamic
1486         loader if PIC is not defined.
1488 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
1490         * iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
1491         ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
1492         INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
1493         and ISO_5428.
1494         Define *-routines variables for new modules.
1495         (distribute): Add .c files for new modules.
1496         (awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
1497         ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
1498         greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
1499         iso_5427.h, iso_5427-ext.h, and iso_5428.h.
1500         Add rules for header generation.
1501         * iconvdata/gconv-modules: Add entries for new modules.
1502         * iconvdata/csn_369103.c: New file.
1503         * iconvdata/cwi.c: New file.
1504         * iconvdata/dec-mcs.c: New file.
1505         * iconvdata/ecma-cyrillic.c: New file.
1506         * iconvdata/gost_19768-74.c: New file.
1507         * iconvdata/greek-ccitt.c: New file.
1508         * iconvdata/greek7-old.c: New file.
1509         * iconvdata/greek7.c: New file.
1510         * iconvdata/inis-8.c: New file.
1511         * iconvdata/inis-cyrillic.c: New file.
1512         * iconvdata/inis.c: New file.
1513         * iconvdata/iso6937-2.c: New file.
1514         * iconvdata/iso_2033.c: New file.
1515         * iconvdata/iso_5427-ext.c: New file.
1516         * iconvdata/iso_5427.c: New file.
1517         * iconvdata/iso_5428.c: New file.
1519         * iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
1520         entries.
1521         Convert U02dd correctly.
1523 1998-09-11 20:46  Richard Henderson  <rth@cygnus.com>
1525         * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to
1526         _dl_main_searchlist not _dl_default_scope to _dl_init_next.
1527         * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise.
1528         * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise.
1530 1998-09-11  Ulrich Drepper  <drepper@cygnus.com>
1532         * resolv/res_init.c (res_init): Handle resolv.conf file with only
1533         one nameserver correctly.  Patch by HJ Lu.
1535         * iconvdata/Makefile (modules): Add IEC_P27-1, BALTIC, ASMO_449,
1536         and ANSI_X3.110.
1537         Define *-routines variables for new modules.
1538         (distribute): Add .c files for new modules.
1539         (awk-generated-headers): Add iec_p27-1.h, baltic.h, and asmo_449.h.
1540         Add rules for hedaer generation.
1541         * iconvdata/gconv-modules: Add entries for new modules.  Pretty print.
1542         * iconvdata/ansi_x3.110.c: New file.
1543         * iconvdata/asmo_449.c: New file.
1544         * iconvdata/baltic.c: New file.
1545         * iconvdata/iec_p27-1.c: New file.
1547         * iconvdata/t61.c (from_ucs4): Correct 0x23, 0x24, 0x80, and 0x81
1548         entries.
1549         Convert U02dc correctly.
1551         * math/atest-exp.c: Add parentheses to avoid gcc warnings.
1552         * math/atest-exp2.c: Likewise.
1553         * math/atest-sincos.c: Likewise.
1555         * posix/getopt.h: Don't define non-POSIX stuff unless _GNU_SOURCE
1556         is defined.
1558 1998-09-11 10:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1560         * string/strcoll.c: Optimize a few expressions.
1561         * string/strxfrm.c: Likewise.
1563 1998-09-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1565         * manual/locale.texi: Fix typos.
1567 1998-09-10  Ulrich Drepper  <drepper@cygnus.com>
1569         * stdlib/random_r.c (__setstate_r): Allow call with same state
1570         array as currently used (PR libc/774).
1572         * include/limits.h: Include gcc's header even if this file is
1573         found more than once before it (PR libc/778)
1575         * sysdeps/unix/sysv/linux/Makefile [subdir==misc]
1576         (sysdep_headers): Remove sys/debugreg.h.
1577         * sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
1578         (sysdep_headers): Add sys/debugreg.h.
1579         * sysdeps/unix/sysv/linux/sys/debugreg.h: Removed.
1580         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: New file.
1582         * stdio-common/tmpnam.c: Move local static variable buf to
1583         toplevel and rename to tmpnam_buffer to ease debugging.
1584         Patch by Joe Keane <jgk@jgk.org>.
1585         Optimize s == NULL case a bit.
1587         * iconvdata/testdate/ISO-8859-10..UCS2: Update after charmap
1588         correction.
1590 1998-09-10 12:51  Ulrich Drepper  <drepper@cygnus.com>
1592         * resolv/res_init.c (res_init): Initialize _res.nscount and
1593         _res.nsaddr.sin_port differently for the can when no loopback
1594         is available to allow immediate timeout in non-networking environments.
1595         Patch by Cristian Gafton <gafton@redhat.com>.
1597 1998-09-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1599         * localedata/charmaps/ISO-8859-10: Character 0xBD is HORIZONTAL
1600         BAR and not EM DASH.
1601         * localedata/charmaps/ISO_8859-SUPP: Likewise (character 0xD0).
1602         * localedata/charmaps/ISO-8859-7: Likewise (character 0xAF).
1603         Fixes PR libc/717.
1605 1998-09-10 11:53  Ulrich Drepper  <drepper@cygnus.com>
1607         * timezone/Makefile: Add rules to generate Asia/Tokyo zoneinfo files
1608         for test.
1609         * timezone/tst-timezone.c (tests): Fix typo in last patch.
1611         * time/tzfile.c (__tzfile_read): Handle case when there are no
1612         transitions.  Set __timezone based on computed offset.
1613         * time/tzset.c (tzset_internal): Set __timezone before returning.
1615         * time/tzset.c (tzset_internal): Optimize handling of local string
1616         copy.
1618 1998-09-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1620         * timezone/tst-timezone.c (tests): Add test for Asia/Tokyo (see PR
1621         libc/776).
1623 1998-09-09  Benjamin Kosnik  <bkoz@tintin.cygnus.com>
1625         * math/libm-test.c (exp10_test): Adapt epsilons for powerpc.
1626         (csqrt_test): Likewise.
1627         * sysdeps/powerpc/bits/fenv.h: Add parens.
1629 1998-09-09 18:48  Ulrich Drepper  <drepper@cygnus.com>
1631         * sysdeps/powerpc/dl-start.S (_start): Pass pointer to
1632         _dl_main_searchlist not _dl_default_scope to _dl_init_next.
1633         Patch by Benjamin Kosnik <bkoz@cygnus.com>.
1635 1998-09-09  Mark Kettenis  <kettenis@phys.uva.nl>
1637         * elf/dl-close.c (_dl_close): Don't free imap->l_origin if it is
1638         the special `-1' pointer.
1640 1998-09-09 09:32  Ulrich Drepper  <drepper@cygnus.com>
1642         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Make function
1643         inline.
1645 1998-09-07  Paul Eggert  <eggert@twinsun.com>
1647         * time/mktime.c (__EXTENSIONS__): Define if not defined.
1648         (_REENTRANT): Remove.  It has undesirable consequences in
1649         Solaris 2.6 (e.g. it turns off the putc macro).  Defining
1650         __EXTENSIONS__ makes localtime_r and gmtime_r visible, which
1651         is what we want.
1652         * time/strftime.c: Likewise.
1654 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1656         * elf/dl-error.c: Fix spelling.
1658 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1660         * stdlib/strfmon.c: Quiet -Wparentheses warnings.
1661         * stdio-common/_itoa.c: Likewise.
1662         * stdio-common/printf_fp.c: Likewise.
1663         * stdio-common/vfscanf.c: Likewise.
1664         * wcsmbs/wcstok.c: Likewise.
1665         * sysdeps/generic/glob.c: Likewise.
1666         * posix/getopt.c: Likewise.
1667         * sysdeps/posix/getaddrinfo.c: Likewise.
1668         * posix/wordexp.c: Likewise.
1669         * io/ftw.c: Likewise.
1670         * io/fts.c: Likewise.
1671         * misc/getpass.c: Likewise.
1672         * iconv/gconv_conf.c: Likewise.
1673         * argp/argp-fmtstream.c: Likewise.
1674         * argp/argp-help.c: Likewise.
1675         * elf/dl-load.c: Likewise.
1676         * locale/programs/stringtrans.c: Likewise.
1677         * catgets/gencat.c: Likewise.
1678         * posix/getconf.c: Likewise.
1679         * iconv/gconv_conf.c: Likewise.
1680         * iconv/iconv_prog.c: Likewise.
1682         * string/strcoll.c: Optimize a few expressions.
1683         * string/strxfrm.c: Likewise.
1685 1998-09-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1687         * elf/dl-open.c (dl_open_worker): Move decl of new_global up one
1688         level to avoid uninit variable warning.
1690 1998-09-09 10:34  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1692         * sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
1693         instead of _dl_default_scope[2] as argument to _dl_init_next.
1695         * sysdeps/m68k/fpu/bits/mathinline.h (isinf): Avoid conflict with
1696         C9x macro.
1698 1998-09-08  Ulrich Drepper  <drepper@cygnus.com>
1700         Fix compatibility problems introduced in last change.
1701         * csu/initfini.c: Don't define __gmon_start__ if WEAK_GMON_START is
1702         defined.
1703         * sysdeps/unix/sysv/linux/i386/Makefile [subdir==csu]: Add
1704         -DWEAK_GMON_START to CFLAGS-initfini.s.
1706         * elf/dl-object.c (_dl_new_object): Store map address in
1707         _dl_loaded if _dl_loaded is NULL.
1708         * elf/rtld.c (dl_main): Don't update _dl_loaded here.
1710         * sysdeps/generic/setrlimit64.c: Remove stub warning.
1712 1998-09-07  Ulrich Drepper  <drepper@cygnus.com>
1714         * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
1715         quiet.
1716         * db2/btree/bt_cursor.c: Likewise.
1717         * db2/common/db_region.db_c: Likewise.
1718         * db2/common/db_salloc.db_c: Likewise.
1719         * db2/db/db.c: Likewise.
1720         * db2/db/db_rec.c: Likewise.
1721         * db2/hash/hash.c: Likewise.
1722         * db2/hash/hash_page.c: Likewise.
1723         * db2/hash/hash_rec.c: Likewise.
1724         * db2/log/log_findckp.c: Likewise.
1725         * db2/log/log_get.c: Likewise.
1726         * db2/log/log_put.c: Likewise.
1727         * db2/mp/mp_fget.c: Likewise.
1728         * db2/mp/mp_fput.c: Likewise.
1729         * db2/mp/mp_region.c: Likewise.
1730         * stdlib/strtol.c: Likewise.
1731         * string/strcoll.c: Likewise.
1732         * string/strxfrm.c: Likewise.
1733         * argp/argp-help.c: Likewise.
1734         * argp/argp-parse.c: Likewise.
1735         * resolv/res_debug.c: Likewise.
1737 1998-09-07 09:58  Ulrich Drepper  <drepper@cygnus.com>
1739         * math/tgmath.h (scalb): Only define for __USE_MISC or
1740         __USE_XOPEN_EXTENDED.  Patch by Zack Weinberg.
1742 1998-09-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1744         * libio/stdio.h: Fix comment.
1746         * stdio/stdio.h: Make vfscanf, vscanf and vsscanf available if
1747         __USE_ISOC9X.
1749 1998-09-06 09:53 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1751         * Makeconfig (+gccwarn): Remove -Wno-parentheses.
1753         * elf/dl-open.c: Quiet -Wparentheses warnings.
1754         * iconvdata/johab.c: Likewise.
1755         * iconvdata/uhc.c: Likewise.
1756         * inet/inet_net.c: Likewise.
1757         * io/fts.c: Likewise.
1758         * locale/newlocale.c: Likewise.
1759         * misc/getttyent.c: Likewise.
1760         * misc/mntent_r.c: Likewise.
1761         * misc/ttyslot.c: Likewise.
1762         * nscd/nscd_conf.c: Likewise.
1763         * nss/nsswitch.c: Likewise.
1764         * resolv/gethnamaddr.c: Likewise.
1765         * resolv/nsap_addr.c: Likewise.
1766         * resolv/res_debug.c: Likewise.
1767         * stdio-common/_itoa.c: Likewise.
1768         * stdlib/strtod.c: Likewise.
1769         * string/strverscmp.c: Likewise.
1770         * sunrpc/svc.c: Likewise.
1771         * sysdeps/libm-ieee754/e_cosh.c: Likewise.
1772         * sysdeps/libm-ieee754/e_gamma_r.c: Likewise.
1773         * sysdeps/libm-ieee754/e_sinh.c: Likewise.
1774         * sysdeps/posix/getaddrinfo.c: Likewise.
1776 1998-09-06 15:13  Ulrich Drepper  <drepper@cygnus.com>
1778         * elf/dlsym.c (dlsym_doit): Use new RTLD_DEFAULT macro to test
1779         for use of global scope.
1780         * elf/dlvsym.c (dlvsym_doit): Likewise.
1782 1998-09-02  Paul Eggert  <eggert@twinsun.com>
1784         * strftime.c (my_strftime): When mbrlen returns (size_t) -2,
1785         copy the redundant bytes at the end of the format as-is; don't
1786         just copy their first byte and then rescan, as that might get
1787         us an encoding error.
1788         Account correctly for the length of multibyte sequences in the
1789         format.
1791 1998-09-03 20:14  Tim Waugh  <tim@cyberelk.demon.co.uk>
1793         * posix/wordexp-test.c: Add tests for different IFS values.
1794         Change unquoted-newline test so that newline is not in IFS.
1796         * posix/wordexp.c (wordexp): Correct null/unset mix-up when
1797         determining IFS characters.  Return WRDE_BADCHAR for unquoted
1798         special characters _except_ if they are separators.
1800 1998-09-06 10:56  Ulrich Drepper  <drepper@cygnus.com>
1802         * include/tgmath.h: New file.
1804         * libio/stdio.h: Correct reversed #ifs.
1805         Patch by Zack Weinberg.
1807         * manual/creature.texi: Better explain reason for feature select
1808         macros.
1809         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
1811 1998-09-06 10:25 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1813         * include/alloca.h: Add multiple-inclusion guard.
1814         * include/db.h: Likewise.
1815         * include/db_185.h: Likewise.
1816         * include/dlfcn.h: Likewise.
1817         * include/fcntl.h: Likewise.
1818         * include/grp.h: Likewise.
1819         * include/libintl.h: Likewise.
1820         * include/mntent.h: Likewise.
1821         * include/pwd.h: Likewise.
1822         * include/sched.h: Likewise.
1823         * include/search.h: Likewise.
1824         * include/setjmp.h: Likewise.
1825         * include/shadow.h: Likewise.
1826         * include/signal.h: Likewise.
1827         * include/stdio.h: Likewise.
1828         * include/stdlib.h: Likewise.
1829         * include/string.h: Likewise.
1830         * include/termios.h: Likewise.
1831         * include/time.h: Likewise.
1832         * include/ulimit.h: Likewise.
1833         * include/utmp.h: Likewise.
1834         * include/wchar.h: Likewise.
1835         * include/sys/file.h: Likewise.
1836         * include/sys/gmon.h: Likewise.
1837         * include/sys/ioctl.h: Likewise.
1838         * include/sys/mman.h: Likewise.
1839         * include/sys/resource.h: Likewise.
1840         * include/sys/select.h: Likewise.
1841         * include/sys/socket.h: Likewise.
1842         * include/sys/statfs.h: Likewise.
1843         * include/sys/time.h: Likewise.
1844         * include/sys/times.h: Likewise.
1845         * include/sys/wait.h: Likewise.
1847 1998-09-06 09:00  Ulrich Drepper  <drepper@cygnus.com>
1849         * version.h (VERSION): Bump to 2.0.96.
1851         Rewrite runtime linker to be truly thread-safe.  There is now no
1852         global variable specifying the scope.  We create all needed
1853         scopes at the time the link maps are created.
1854         * elf/Versions [GLIBC_2.1]: Add _dl_loaded and _dl_main_searchlist.
1855         * elf/link.h: Add struct r_scope_elem and use this for l_searchlist,
1856         l_symbolic_searchlist, l_scope, and l_local_scope elements in
1857         struct link_map.
1858         * elf/dl-close.c: Rewritten accordingly.
1859         * elf/dl-deps.c: Likewise.
1860         * elf/dl-error.c: Likewise.
1861         * elf/dl-init.c: Likewise.
1862         * elf/dl-load.c: Likewise.
1863         * elf/dl-lookup.c: Likewise.
1864         * elf/dl-object.c: Likewise.
1865         * elf/dl-open.c: Likewise.
1866         * elf/dl-reloc.c: Likewise.
1867         * elf/dl-runtime.c: Likewise.
1868         * elf/dl-support.c: Likewise.
1869         * elf/dl-symbol.c: Likewise.
1870         * elf/dl-version.c: Likewise.
1871         * elf/dlsym.c: Likewise.
1872         * elf/dlvsym.c: Likewise.
1873         * elf/ldsodefs.h: Likewise.
1874         * elf/rtld.c: Likewise.
1875         * iconv/gconv_dl.c: Likewise.
1876         * nss/nsswitch.c: Likewise.
1877         * sysdeps/i386/dl-machine.h: Likewise.
1878         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
1880         * elf/dlfcn.h: Declare dladdr only for __USE_GNU.
1881         Define RTLD_DEFAULT.
1883 1998-09-05  Mark Kettenis  <kettenis@phys.uva.nl>
1885         * sysdeps/mach/hurd/i386/init-first.c (init1): Call
1886         __getopt_clean_environment with __environ instead of envp.
1888 1998-09-05  Roland McGrath  <roland@baalperazim.frob.com>
1890         * sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
1892         * string/argz-extract.c (__argz_extract): Add de-consting cast for
1893         setting results.
1895         * string/argz.h (argz_next): Add de-consting cast for return.
1896         * string/argz-next.c (__argz_next): Likewise.
1898         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet] (sysdep_headers):
1899         Don't add netinet/udp.h, netinet/ip_icmp.h here.
1900         * sysdeps/gnu/Makefile: Do it here instead.
1901         * sysdeps/unix/sysv/linux/Dist: Move those files from here ...
1902         * sysdeps/gnu/Dist: ... to here.
1904         * sysdeps/unix/sysv/linux/netinet/ip_icmp.h,
1905         sysdeps/unix/sysv/linux/netinet/tcp.h,
1906         sysdeps/unix/sysv/linux/netinet/udp.h: Moved to sysdeps/gnu/netinet.
1908 1998-09-04  Roland McGrath  <roland@baalperazim.frob.com>
1910         * string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param.
1911         * string/argz-next.c, string/argz-extract.c: Fix defns.
1913 1998-09-03  Roland McGrath  <roland@baalperazim.frob.com>
1915         * mach/Makefile: Use -include for mach-syscalls.mk to silence warning.
1917         * sysdeps/mach/hurd/sysd-stdio.c: Declare fns
1918         __stdio_{read,write,seek,close,fileno} using __io_*_fn types.
1919         * sysdeps/generic/sysd-stdio.c: Likewise.
1921 1998-09-02  Ulrich Drepper  <drepper@cygnus.com>
1923         * elf/dl-load.c (fillin_rpath): Handle "/" as RPATH correctly.
1924         (_dl_map_object_from_fd): Make NAME argument const.
1925         Remove last parameter in _dl_new_object call.
1926         (print_search_path): Correct construction of composed path name.
1927         (_dl_map_object): Prevent looking at RPATH of the main map twice.
1928         Remove last parameter in _dl_new_object call.
1929         * elf/dl-object.c: Remove last parameter.  Determine whether create
1930         origin entry based on empty realname.  Handle file in root directory
1931         correctly.
1932         * elf/ldsodefs.h: Adjust prototype for _dl_new_object.
1933         * elf/rtld.c (dl_main): Add comment describing reason for memory leak.
1934         Remove last parameter in _dl_new_object call.
1935         * sysdeps/generic/dl-origin.h: Handle file in root directory correctly.
1936         * sysdeps/unix/sysv/linux/dl-origin.h: Likewise.
1938 1998-09-01  Ulrich Drepper  <drepper@cygnus.com>
1940         * elf/dl-close.c (_dl_close): Add more comments and correct some.
1941         Free l_searchlist and l_dupsearchlist.
1943         * debug/catchsegv.sh: Add one more pair of quotes.
1945 1998-09-01 17:53  Ulrich Drepper  <drepper@cygnus.com>
1947         * elf/dl-load.c (add_name_to_object): Change return type to void and
1948         make NAME parameter const.  Allocate room for NAME in same memory
1949         block used for l_libname entry.
1950         (_dl_map_object_from_fd): Don't free NAME on failure.
1951         (map_segment): Pass SONAME to add_name_to_object, not a copy.
1952         (_dl_map_object): Don't create copy of NAME.  Pass NAME to
1953         _dl_map_object_from_fd.
1954         * elf/dl-object.c (dl_new_object): Allocate room for NAME in same
1955         memory block used for l_libname entry.
1956         * elf/dl-close.c: Adjust free()ing for this change.
1958 1998-09-01 15:36  Ulrich Drepper  <drepper@cygnus.com>
1960         * malloc/Makefile: Include Makeconfig before testing config-sysdirs.
1962         * malloc/mtrace.c: Add bug report address.  Update email address.
1963         Add more @XXX@ to print correct address size.
1965         * elf/dl-addr.c (_dl_addr): Make sure that map to be examined is
1966         really initialized.
1968         * elf/dl-close.c (_dl_close): Use l_map_start and l_map_end info
1969         for munmap call instead of examining phdr again.
1970         Free all malloc()ed strings and arrays.
1972 1998-08-09  Geoff Keating  <geoffk@ozemail.com.au>
1974         * sysdeps/powerpc/Makefile [subdir=elf]: Add new files split out of
1975         dl-machine.h.
1976         * sysdeps/powerpc/dl-machine.c: New file.
1977         * sysdeps/powerpc/dl-machine.h: Move much stuff into separate
1978         files.  Revise ELF_PREFERRED_ADDRESS to take account of
1979         the new mapping information (fixes bug involving huge bloated
1980         web browser).  Set ELF_MACHINE_PLTREL_OVERLAP.
1981         * sysdeps/powerpc/dl-start.S: New file.
1983         * elf/dl-load.c (_dl_map_object_from_fd): Initialise l_map_start,
1984         l_map_end.
1985         * elf/do-rel.h: Call elf_machine_rel only once (to save space).
1986         * elf/dynamic-link.h: Allow PLT relocs to be in the middle of the
1987         others.  Call elf_dynamic_do_##reloc only once (to save even more
1988         space).
1989         * elf/link.h: Add new members l_map_start and l_map_end to keep
1990         track of the memory map.
1991         * elf/rtld.c (_dl_start): Initialise l_map_start for ld.so and
1992         the executable.
1994 1998-09-01 11:53  Ulrich Drepper  <drepper@cygnus.com>
1996         * debug/Makefile (catchsegv): We need not rewrite SOVER anymore.
1997         Reported by Andreas Jaeger.
1999         * posix/glob.h: Use __size_t instead of size_t in definitions and
2000         make sure this is defined.
2002 1998-09-01 10:34  Ulrich Drepper  <drepper@cygnus.com>
2004         * manual/locale.texi: Almost complete rewrite.  Document more functions
2005         and functionality.
2006         * manual/arith.texi: Correct reference.
2007         * manual/string.texi: Pretty printing.
2009         * manual/texinfo.tex: Update from last available version.
2011 1998-08-31 22:44  Ulrich Drepper  <drepper@cygnus.com>
2013         * nis/nss_nis/nis-pwd.c (_nss_nis_getpwnam_r): Correct test for
2014         invalid password.
2015         (_nss_nis_getpwuid_r): Likewise.
2016         Patch by Matthew Arnison <matthewa@physics.usyd.edu.au>.
2018         * inet/rcmd.c: Implement netgroup support.
2019         Patch by Dick Streefland <dick_streefland@tasking.com>.
2021 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
2023         * elf/dl-close.c (_dl_close): Update _dl_loaded if the first
2024         object on the list is removed.  Don't use this code for PIC.
2025         Reported by HJ Lu [PR libc/770].
2027 1998-08-31 15:56  Ulrich Drepper  <drepper@cygnus.com>
2029         * db2/db_int.h: Use <db.h> instead of "db.h" to find header in include.
2031         * include/stdio.h: Add __vsscanf.
2033         * libio/stdio.h: Make vfscanf, scanf, and vsscanf available if
2034         __USE_ISOC9X.
2035         Remove __vsscanf declaration.
2036         Always declare fgetpos and fsetpos.
2038         * math/math.h: Define isinf as macro.
2039         * math/bits/mathcalls.h: Change to declare __isinf all the time.
2040         Don't declare scalb for ISO C 9x.
2042         * math/tgmath.h: Define fma.  Rewrite the underlying macros.
2044         * stdlib/stdlib.h: Declare strtof and strtold is __USE_ISOC9X.
2046         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Allow inclusion from
2047         sys/ucontext.h.
2049         * sysdeps/wordsize-32/inttypes.h: Define missing PRI* and SCN*
2050         macros.
2052 1998-08-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2054         * sysdeps/standalone/bits/errno.h (ENOMSG): Remove duplicate.
2055         Reported by jreising@frequentis.com [PR libc/767].
2057 1998-08-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2059         * io/lockf.c (lockf): Move initilisation of fl.l_whence and
2060         fl.l_start at beginning of function.
2061         Patch by Geoff. Dash <geoffd@zeta.org.au> [PR libc/769].
2063 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
2065         * io/sys/stat.h (ALLPERMS): Fix type (S_ISTXT -> S_ISVTX).
2066         Reported by Rob.Hagopian@vu.union.edu [PR libc/763].
2068         * nscd/nscd.init: Make it work in RedHat systems.
2069         Patch by Christian Gafton.
2071 1998-08-29  Philip Blundell  <philb@gnu.org>
2073         * catgets/Makefile: Don't try to run test programs when
2074         cross-compiling.
2076 1998-08-31  Ulrich Drepper  <drepper@cygnus.com>
2078         * signal/signal.h: Include bits/sigthread.h only if __USE_POSIX.
2079         Reported by Zack Weinberg.
2081 1998-08-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2083         * sysdeps/unix/sysv/linux/Dist: Add umount.S and umount2.S.
2084         * elf/Makefile (distribute): Remove ldd.sh.in.
2086 1998-08-31 11:46  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2088         * sysdeps/unix/sysv/linux/dl-origin.h (get_origin): Remove unused
2089         variable.
2091 1998-08-29  Ulrich Drepper  <drepper@cygnus.com>
2093         * sysdeps/i386/register-dump.h: Move to ...
2094         * sysdeps/unix/sysv/linux/i386/register-dump.h: ...here.
2096 1998-08-28 22:49  Ulrich Drepper  <drepper@cygnus.com>
2098         * elf/do-rel.h (elf_dynamic_do_rel): Call elf_machine_lazy_rel
2099         with load address, not map address.
2100         * sysdeps/alpha/dl-machine.h (elf_machine_lazy_rel): Change first
2101         parameter and use this value.
2102         * sysdeps/arm/dl-machine.h: Likewise.
2103         * sysdeps/i386/dl-machine.h: Likewise.
2104         * sysdeps/m68k/dl-machine.h: Likewise.
2105         * sysdeps/mips/dl-machine.h (elf_machine_lazy_rel): Change first
2106         parameter.
2107         * sysdeps/powerpc/dl-machine.h: Likewise
2108         * sysdeps/sparc/sparc32/dl-machine.h: Likewise
2109         * sysdeps/sparc/sparc64/dl-machine.h: Likewise
2111 1998-08-28 09:22  Ulrich Drepper  <drepper@cygnus.com>
2113         * elf/rtld.c (process_envvars): Fix copy&paste error.
2115         * malloc/malloc.c (malloc_hook_ini): Don't overwrite realloc and
2116         memalign hook.
2117         (realloc_hook_ini): Don't overwrite memalign hook.
2118         (memalign_hook_ini): Don't overwrite malloc and memalign hooks.
2119         Reported by Philippe Troin <phil@fifi.org>.
2121         * malloc/mcheck.c (mprobe): Call checkhdr with adjusted pointer.
2122         Patch by Philippe Troin <phil@fifi.org>.
2124 1998-08-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2126         * sysdeps/generic/segfault.c (install_handler): Protect the
2127         non-POSIX signals with #ifdef.
2128         (catch_segfault): Add missing mode parameter for open.
2129         * debug/catchsegv.sh: Avoid termination message from shell.  Allow
2130         other termination signals.
2132 1998-08-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2134         * debug/Makefile (distribute): Add register-dump.h.
2136 1998-08-28 10:41  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2138         * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file.
2140 1998-08-27 19:42  Ulrich Drepper  <drepper@cygnus.com>
2142         * elf/Makefile (distribute): Add dl-origin.h.
2143         * sysdeps/generic/dl-origin.h: New file.
2144         * sysdeps/unix/sysv/linux/dl-origin.h: New file.
2145         * elf/link.h (struct link_map): Add l_origin field.
2146         * elf/dl-load.c (expand_dynamic_string_token): New function.
2147         (decompose_path): Remove WHERE argument, take link map pointer instead.
2148         Call expand_dynamic_string_token instead of local_strdup to make copy
2149         of rpath.
2150         (_dl_init_paths): Call decompose_path with correct argument.
2151         (_dl_map_object_from_fd): Define static is EXTERNAL_MAP_FROM_FD is
2152         not defined.
2153         Check EI_OSABI and EI_ABIVERSION fields in header.
2154         Call _dl_new_object with extra argument.
2155         (_dl_map_object): Call decompose_path with correct argument.
2156         Call expand_dynamic_string_token instead of local_strdup to also
2157         expand DST.
2158         Call _dl_new_object with extra argument.
2159         * elf/dl-object.c (_dl_new_object): Determine l_origin for all maps
2160         but the main one if new argument is nonzero.
2161         * elf/ldsodefs.h: Adjust for _dl_new_object change.
2162         * elf/dl-support.c: Define _dl_origin_path.
2163         * elf/rtld.c: Likewise.  Set _dl_origin_path based on LD_ORIGIN_PATH.
2164         (dl_main): Call _dl_new_object with extra argument.
2166         * elf/dl-close (_dl_close): Free l_name and l_origin.
2168         * sysdeps/i386/useldt.h (THREAD_GETMEM, THREAD_SETMEM): Use P
2169         modifier in asm, not c.
2171         * sysdeps/mach/hurd/Makefile [subdirs==elf]: Define CFLAGS-dl-load.c
2172         to -DEXTERNAL_MAP_FROM_FD to make _dl_map_object_from_fd extern.
2174 1998-08-26 17:48  Ulrich Drepper  <drepper@cygnus.com>
2176         * elf/dl-close.c (_dl_close): Move map->l_nsearchlist value into local
2177         variable so that map can be freed.
2178         Reported by Philippe Troin <phil@fifi.org>.
2180         * elf/dl-open.c (dl_open_worker): Correct test for extending global
2181         scope array.
2182         Patch by Philippe Troin <phil@fifi.org>.
2184 1998-08-26  Geoff Keating  <geoffk@ozemail.com.au>
2186         * sysdeps/powerpc/register-dump.h: Rewrite.  Much nicer this way.
2187         Don't call writev() with a 100-element vector.
2188         * sysdeps/generic/segfault.c (catch_segfault): Skip top-level NULL
2189         return address.
2191         * sysdeps/powerpc/elf/libc-start.c: Sync up with generic version.
2192         In particular, set __libc_stack_end.
2193         * sysdeps/powerpc/elf/start.S: Allow _init and _fini to be
2194         undefined.  Fix copyright notice.
2196 1998-08-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2198         * math/Makefile (gmp-objs): New variable.
2199         ($(objpfx)atest-exp, $(objpfx)atest-sincos, $(objpfx)atest-exp2):
2200         Depend on it.
2201         (tests): Add atest-exp atest-sincos atest-exp2.
2202         (tests-static): Remove atest-exp atest-sincos atest-exp2.
2204 1998-08-25  Ulrich Drepper  <drepper@cygnus.com>
2206         * sysdeps/generic/dl-cache.c: Move static variable cache and cachesize
2207         to toplevel.
2208         (_dl_unload_cache): New function.
2209         * elf/Versions [libc GLIBC_2.1]: Add _dl_unload_cache.
2210         * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
2211         * elf/rtld.c (dl_main): Unload map file before jumping to user code.
2213         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Define O_DIRECT.
2214         Correct comment for O_LARGEFILE.
2215         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_DIRECT.
2216         Change O_LARGEFILE to correct value.
2218 1998-08-25 14:34  Ulrich Drepper  <drepper@cygnus.com>
2220         * libio/iogetline.c (_IO_getline_info): Don't read anything for
2221         N == 0.  Patch by HJ Lu.
2223 1998-08-25 11:43  Ulrich Drepper  <drepper@cygnus.com>
2225         * elf/elf.h: Add syminfo stuff and other DT_* from Solaris' ELF.
2227 1998-08-25  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
2229         * argp/argp.h: Use __inline__ not inline.
2231         * sysdeps/i386/bits/select.h (FD_ZERO): Rewrite asm not to indicate
2232         an input register as being clobbered.
2233         * sysdeps/i386/memset.c (memset): Likewise.
2234         * sysdeps/i386/bzero.c (__bzero): Likewise.
2235         * sysdeps/i386/memcopy.h ({BYTE,WORD}_COPY_[FB]WD): Likewise.
2237 1998-08-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2239         * stdlib/jrand48_r.c (__jrand48_r): Set also upper half of result.
2240         Fixes PR libc/757 (Reported by Michael Creutz <creutz@bnl.gov).
2242 1998-08-24 16:34  Ulrich Drepper  <drepper@cygnus.com>
2244         * debug/catchsegv.sh: Handle text preceding backtrace better.
2245         * sysdeps/generic/segfault.c: Allow register dump.  Allow handler
2246         to be installed for other signals than SIGSEGV.
2247         * sysdeps/generic/register-dump.h: New file.
2248         * sysdeps/i386/register-dump.h: New file.
2249         * sysdeps/powerpc/register-dump.h: New file.
2251         * sysdeps/unix/sysv/linux/i386/profil-counter.h: Use macros from
2252         sigcontextinfo.h.
2253         * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Use i386 version.
2255 1998-08-24  Geoff Keating  <geoffk@ozemail.com.au>
2257         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: New file.
2259 1998-08-09  Geoff Keating  <geoffk@ozemail.com.au>
2261         * sysdeps/unix/sysv/linux/powerpc/chown.c: New file.
2262         * sysdeps/unix/sysv/linux/powerpc/lchown.S: New file.
2263         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add chown, remove
2264         getresuid, getresgid.
2266 1998-08-16  Geoff Keating  <geoffk@ozemail.com.au>
2268         * sysdeps/unix/sysv/linux/powerpc/clone.S: Fix bugs.  Set up stack
2269         pointer in userland.
2271 1998-08-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2273         * sysdeps/unix/sysv/linux/sys/mount.h (MNT_FORCE): Define as enum
2274         and fix value.
2276 1998-08-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2278         * elf/ldd.bash.in: Add missing quotes around $file.  Make loop
2279         over arguments Bourne shell compatible.  Don't exit unsuccessfully
2280         if nonelf returns successfully.  Avoid duplicating most of the
2281         script.
2282         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Add missing quotes
2283         around $file.
2285 1998-08-24 10:37  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2287         * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
2288         sys/reg.h.
2289         * sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
2290         * sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
2292 1998-08-23  Ulrich Drepper  <drepper@cygnus.com>
2294         * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.1]: Add
2295         __modify_ldt and modify_ldt.
2296         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add modify_ldt.
2298         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2299         Use orl $-1 instead of movl $-1 to save two bytes.
2300         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h (SYSCALL_ERROR_HANDLER):
2301         Likewise.
2303 1998-08-17  H.J. Lu  <hjl@gnu.org>
2305         * libio/Versions (_IO_do_write, _IO_file_attach,
2306         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2307         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2308         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2309         _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.1.
2311         * libio/fileops.c (_IO_do_write, _IO_file_attach,
2312         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2313         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2314         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2315         _IO_file_write, _IO_file_xsputn): Change the prefix to
2316         "_IO_new_". Added to GLIBC_2.1.
2318         * libio/libioP.h (_IO_do_write, _IO_file_attach,
2319         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2320         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2321         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2322         _IO_file_write, _IO_file_xsputn): Add prototypes for the prefix
2323         "_IO_new_".
2325         * libio/oldfileops.c (_IO_do_write, _IO_file_attach,
2326         _IO_file_close_it, _IO_file_finish, _IO_file_fopen,
2327         _IO_file_init, _IO_file_overflow, _IO_file_seekoff,
2328         _IO_file_setbuf, _IO_file_sync, _IO_file_underflow,
2329         _IO_file_write, _IO_file_xsputn): Added to GLIBC_2.0.
2331 1998-08-23  Richard Henderson  <rth@cygnus.com>
2333         * Makeconfig (LDFLAGS): Remove.
2335         * csu/initfini.c: Return to .text before __gmon_start__.
2337         * elf/elf.h (EM_FAKE_ALPHA): Rename from EM_OLD_ALPHA.
2338         (STO_MIPS_*): Rename from STO_*.
2339         (STB_MIPS_SPLIT_COMMON): Rename from STB_SPLIT_COMMON.
2340         (STO_ALPHA_NOPV, STO_ALPHA_STD_GPLOAD): New.
2342         * math/atest-exp.c (mpn_bitsize): Fix bit location calculation.
2343         (main): e3s is negative on zero.
2344         * math/atest-exp2.c: Likewise.
2345         * math/atest-sincos.c: Likewise.
2347 1998-08-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2349         * Makerules (install): Add comment about absolute paths.
2351 1998-08-23  Ulrich Drepper  <drepper@cygnus.com>
2353         * libio/vsnprintf.c (_IO_vsnprintf): Set first byte of destination
2354         array to NUL to handle maxlen==1 case correctly.
2355         Patch by HJ Lu.
2357 1998-08-23  Richard Henderson  <rth@cygnus.com>
2359         * sysdeps/alpha/elf/crtbegin.S: Fix .prologue; no pv used.
2360         * sysdeps/alpha/elf/crtend.S: Likewise.
2361         * sysdeps/alpha/elf/start.S: Likewise.
2363         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
2364         non-standard pv usage.
2366         * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
2367         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
2368         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
2369         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
2370         * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
2371         * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
2372         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
2373         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
2374         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
2375         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
2376         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
2378         * sysdeps/alpha/fpu/e_sqrt.c: Use the asm version when the input is
2379         a finite non-denormal, deferring to the full IEEE version otherwise.
2381         * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor):
2382         Early out for -0.  Optimize for !_IEEE_FP_INEXACT.
2383         * sysdeps/alpha/fpu/s_floor.c: New.
2384         * sysdeps/alpha/fpu/s_floorf.c: New.
2385         * sysdeps/alpha/fpu/s_ceil.c: New.
2386         * sysdeps/alpha/fpu/s_ceilf.c: New.
2388 1998-08-22  Philip Blundell  <philb@gnu.org>
2390         * sysdeps/arm/bits/string.h: New file.
2392 1998-08-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2394         * sysdeps/unix/sysv/linux/configure.in: Obey --with-headers,
2395         document it.
2397         * sysdeps/unix/sysv/linux/alpha/configure.in: New file, contains
2398         test for recent Linux 2.1.100+ headers.
2400 1998-08-21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2402         * nis/nss_compat/compat-initgroups.c: Optimize NIS query.
2404 1998-08-21 17:21  Ulrich Drepper  <drepper@cygnus.com>
2406         * sysdeps/unix/sysv/linux/glob64.c: Define __stat using __xstat64.
2408 1998-08-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2410         * Makefile (elf/ldso_install): Put back.  The problem still persists.
2411         * elf/Makefile (ldso_install): Likewise.
2413 1998-08-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2415         * db2/db/db.c (db_open) [_LIBC]: Rename to __nss_db_open and
2416         create weak alias.
2417         * include/db.h: Declare __nss_db_open.
2418         * db2/Versions: Export it.
2420         * db2/makedb.c: Convert to use db2 API.
2421         * nss/nss_db/db-XXX.c: Likewise.
2422         * nss/nss_db/db-netgrp.c: Likewise.
2423         * nss/nss_db/db-alias.c: Likewise.
2424         (_nss_db_getaliasent_r): Allow retrying with a larger buffer.
2426 1998-08-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2428         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
2429         sys_setresuid, already built automatically (or not).
2430         * sysdeps/unix/sysv/linux/syscalls.list: Define __setresuid
2431         instead of __syscall_setresuid and add back setresuid.
2432         * sysdeps/unix/sysv/linux/seteuid.c: Use __setresuid instead of
2433         __syscall_setresuid.
2435 1998-08-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2437         * sysdeps/unix/sysv/linux/sys/mount.h: Fix typo.
2439 1998-08-20  Ulrich Drepper  <drepper@cygnus.com>
2441         * elf/Makefile (sh-ldd-rewrite): Remove expression to remove
2442         BASH-ONLY marked region.
2443         * elf/ldd.bash.in: Remove special BASH-ONLY markers.
2445 1998-02-20 17:54  H.J. Lu  <hjl@gnu.org>
2447         * libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
2448         _IO_SYSSEEK fails.
2450         * libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
2452         * libio/libioP.h (FILEBUF_LITERAL): Also initialize new _offset
2453         element.
2455 1998-08-21  Roland McGrath  <roland@baalperazim.frob.com>
2457         * elf/ldd.bash.in (TEXTDOMAIN, TEXTDOMAINDIR): Surround setting these
2458         with magic comments ###BASH-ONLY and ###END-BASH-ONLY.
2459         * elf/Makefile ($(objpfx)ldd): Generate always from ldd.bash.in.
2460         (common-ldd-rewrite): New variable, old contents of $(sh-ldd-rewrite).
2461         (sh-ldd-rewrite): Use that, add cmds to remove code surrounded by
2462         those magic comments, and to use /bin/sh for @BASH@.
2463         (bash-ldd-rewrite): Use $(common-ldd-rewrite).
2464         * elf/ldd.sh.in: File removed.
2466 1998-08-20 20:07  Ulrich Drepper  <drepper@cygnus.com>
2468         * pwd/getpw.c (__getpw): Use %lu for uid and gid parameter and
2469         cast them to unsigned long int.
2470         * pwd/putpwent.c (putpwent): Likewise.
2471         Patch by John Tobey <jtobey@banta-im.com>.
2473 1998-08-20 17:14  H.J. Lu  <hjl@gnu.org>
2475         * libio/libioP.h (FILEBUF_LITERAL): Set the _offset field to
2476         _IO_pos_BAD.
2478 1998-02-20 17:54  H.J. Lu  <hjl@gnu.org>
2480         * libio/fileops.c (_IO_file_seekoff): Don't adjust pointers if
2481         _IO_SYSSEEK fails.
2483 1998-08-20 19:14  Ulrich Drepper  <drepper@cygnus.com>
2485         * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdeps_routines):
2486         Add umount and umount2.
2487         * sysdeps/unix/sysv/linux/syscalls.list: Remove umount.
2488         * sysdeps/unix/sysv/linux/umount.S: New file.
2489         * sysdeps/unix/sysv/linux/umount2.S: New file.
2490         * sysdeps/unix/sysv/linux/sys/mount.h: Declare umount2.
2491         Define MNT_FORCE.
2493         * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (sysdep_headers):
2494         Add sys/sendfile.h.
2495         * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile.
2496         * sysdeps/unix/sysv/linux/sys/sendfile.h: New file.
2498         * sysdeps/unix/sysv/linux/sys/acct.h: Pretty print.
2500         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.1]: Add umount2 and
2501         sendfile.
2503 1998-08-20 16:01  Ulrich Drepper  <drepper@cygnus.com>
2505         * elf/ldd.sh.in: Redirect warnings and error messages to stderr.
2506         * elf/ldd.bash.in: Likewise.
2508         * elf/sln.c: Avoid warning for no main prototype.
2510         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Remove O_READ and
2511         O_WRITE.
2512         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
2513         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2515         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add F_SETSIG and
2516         F_GETSIG.
2517         * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
2518         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
2519         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2521 1998-08-20  Philip Blundell  <pb@nexus.co.uk>
2523         * sysdeps/arm/fpu/ieee754.h: Move to...
2524         * sysdeps/arm/ieee754.h: ... here.
2526         * sysdeps/arm/__longjmp.S: Put return value in correct register.
2527         Don't set the condition flags unnecessarily.
2528         * sysdeps/arm/fpu/__longjmp.S: Likewise.  Restore floating point
2529         registers correctly.
2531         * sysdeps/arm/dl-machine.h: Fix problems with profiling code
2532         (patch from Scott Bambrough).
2534         * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add missing semicolons.
2536         * csu/initfini.c (_init): Don't check whether __gmon_start__ is
2537         NULL, just call it unconditionally.
2538         (__gmon_start__): Provide stub version as a weak symbol.
2540 1998-07-30  Philip Blundell  <philb@gnu.org>
2542         * sysdeps/unix/sysv/linux/arm/init-first.h: New file (from patch
2543         by Scott Bambrough)
2545         * sysdeps/unix/sysv/linux/arm/errlist.c: New file; ARM tools don't
2546         like `@' in .type directives.
2548         * sysdeps/arm/bsd-setjmp.S: Use PLT for procedure call.
2549         * sysdeps/arm/bsd-_setjmp.S: Likewise.
2551         * sysdeps/arm/dl-machine.h: Set __libc_stack_end.
2553 1998-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2555         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN): Correct value.
2556         (F_GETOWN): Likewise.
2558         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_SIGIO): Add it (from
2559         Linux 2.1.117).
2561 1998-08-20  Ulrich Drepper  <drepper@cygnus.com>
2563         * sysdeps/generic/glob.c [_LIBC]: Define __stat only if not
2564         already defined.
2566 1998-08-18  Ulrich Drepper  <drepper@cygnus.com>
2568         * include/features.h: Define __USE_EXTERN_INLINES for recent
2569         enough gcc.
2570         * argp/argp.h: Define extern inline functions only if
2571         __USE_EXTERN_INLINES is defined.
2572         * libio/stdio.h: Likewise.
2573         * math/math.h: Likewise.
2574         * stdlib/stdlib.h: Likewise.
2575         * string/argz.h: Likewise.
2576         * sysdeps/generic/bits/sigset.h: Likewise.
2577         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
2578         * sysdeps/unix/sysv/sysv4/bits/sigset.h: Likewise.
2579         * sysdeps/wordsize-32/inttypes.h: Likewise.
2580         * sysdeps/wordsize-64/inttypes.h: Likewise.
2581         * wcsmbs/wchar.h: Likewise.
2583         * sysdeps/generic/bits/glob.c [_LIBC]: Define __stat using __xstat
2584         to allow compilation without optimization.
2586 1998-08-14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2588         * nis/nss_compat/compat-grp.c: Set errno to ENOENT if we have no
2589         more entries.
2590         * nis/nss_compat/compat-initgroups.c: Likewise.
2591         * nis/nss_compat/compat-pwd.c: Likewise.
2592         * nis/nss_compat/compat-spwd.c: Likewise.
2593         * nis/nss_nis/nis-alias.c: Likewise.
2594         * nis/nss_nis/nis-ethers.c: Likewise.
2595         * nis/nss_nis/nis-grp.c: Likewise.
2596         * nis/nss_nis/nis-hosts.c: Likewise.
2597         * nis/nss_nis/nis-initgroups.c: Likewise.
2598         * nis/nss_nis/nis-network.c: Likewise.
2599         * nis/nss_nis/nis-proto.c: Likewise.
2600         * nis/nss_nis/nis-pwd.c: Likewise.
2601         * nis/nss_nis/nis-rpc.c: Likewise.
2602         * nis/nss_nis/nis-service.c: Likewise.
2603         * nis/nss_nis/nis-spwd.c: Likewise.
2605         * nis/rpcsvc/yp.h: Generate new without 1024 byte limits.
2607         * nis/ypclnt.c: Try binding dir only first time, could be to old.
2609         * nis/yp_xdr.c: Remove 1024 byte limit.
2610         * nis/ypupdate_xdr.c: Likewise.
2612         * nis/nss_nis/nis-publickey.c: Make sure, nobody could send
2613         wrong data.
2615 1998-08-18  Roland McGrath  <roland@baalperazim.frob.com>
2617         * Rules (binaries-static, binaries-shared static pattern rules):
2618         Depend on lib%, not just libc%, from $(link-libc{,-static}).
2620         * sysdeps/mach/hurd/Makefile (link-libc-static): New variable; set
2621         this here, overriding Makeconfig generic value so we link against
2622         the RPC libs.
2624 1998-08-17  Ulrich Drepper  <drepper@cygnus.com>
2626         * posix/tstgetopt.c (options): Add NULL entry at end
2627         Patch by Adrian Miranda <ade@psg.com>.
2629 1998-08-15 18:21  Ulrich Drepper  <drepper@cygnus.com>
2631         * elf/elf.h: Add EI_OSABI, ELFOSABI*, and EI_ABIVERSION.  Move EI_PAD
2632         to 9.
2634 1998-08-15 14:11  Ulrich Drepper  <drepper@cygnus.com>
2636         * elf/elf.h: Add PPC Diab relocations.
2638         * malloc/Makefile (libmcheck.a): Use $(LN_S) not ln.
2640 1998-08-14 10:08  Ulrich Drepper  <drepper@cygnus.com>
2642         * manual/texinfo.tex: Update.
2644 1998-08-07  Geoff Keating  <geoffk@ozemail.com.au>
2646         * sysdeps/powerpc/backtrace.c: New file.
2648 1998-08-14  Philip Blundell  <pb@nexus.co.uk>
2650         * sysdeps/arm/fpu/setjmp.S: Correct value of R0 before calling
2651         sigjmp_save.
2652         * sysdeps/arm/elf/setjmp.S: Obsolete, deleted.
2654 1998-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2656         * Makefile (install-symbolic-link): Fix spelling.
2658 1998-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2660         * elf/elf.h (SHT_HIOS): Fix value.
2662 1998-08-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2664         * posix/regex.c (WIDE_CHAR_SUPPORT): Don't generate defined as
2665         part of the expansion, this is undefined by the standard.
2667 1998-08-13 19:41  Ulrich Drepper  <drepper@cygnus.com>
2669         * posix/getconf.c: Add support for systems with incomplete confname.h.
2671         * sysdeps/posix/sigset.c: Allow SIG_HOLD being undefined.
2673         * sysdeps/posix/wait3.c: Make it work.
2675 1998-08-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2677         * Makefile ($(inst_slibdir)/libc-$(version).so): Remove.
2678         (elf/ldso_install): Remove.
2680         * elf/Makefile (distribute): Add sln.c.
2681         (others): Add sln.
2682         (others-static): Add sln.
2683         (install-rootsbin): Add sln.
2684         (others-static): Add sln.
2685         (ldso_install): Remove.
2687 1998-07-24 10:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2689         * Makerules (install-clean-symbolic-link-list): Make phony.
2690         * Makefile (install-symbolic-link): Make phony.  Depend on
2691         subdir_install for parallel makes.
2694 1998-07-22  Ulrich Drepper  <drepper@cygnus.com>
2696         * elf/Makefile (distribute): Add sln.c
2698 1998-07-21 07:10  H.J. Lu  <hjl@gnu.org>
2700         * elf/sln.c: New file.
2702         * Makerules (symbolic-link-prog, symbolic-link-list): New macros.
2703         (install-clean-symbolic-link-list): New target.
2704         (install): Depend on install-clean-symbolic-link-list.
2705         (make-shlib-link): Changed for $(symbolic-link-list).
2707         * Makefile (install-symbolic-link): New target.
2708         (install): Depend on install-symbolic-link.
2710 1998-08-12 17:03  Ulrich Drepper  <drepper@cygnus.com>
2712         * include/unistd.h: Protect against multiple inclusion.
2714         * posix/glob.c: Don't define __glob_pattern_p is NO_GLOB_PATTERN_P
2715         is defined, not is glob is defined.
2716         * sysdeps/unix/sysv/linux/glob64.c: Define NO_GLOB_PATTERN_P.
2718 1998-08-01 17:18  H.J. Lu  <hjl@gnu.org>
2720         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Use xdr_bytes instead of
2721         xdr_string for ut_line, ut_name and ut_host.
2723 1998-08-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2725         * sysdeps/unix/sysv/linux/paths.h (_PATH_MAILDIR): Change to
2726         /var/mail in accordance with FHS 2.0.
2727         Reported by Javier Kohen <root@jkohen.tough.com.ar> [PR libc/639].
2729 1998-08-12  Richard Henderson  <rth@cygnus.com>
2731         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg, sendmsg):
2732         Update aliases for cancelation.
2734         * sysdeps/unix/sysv/linux/alpha/glob.c: Undef glob*64 before
2735         playing with symbol versions.
2737 1998-08-12  Roland McGrath  <roland@baalperazim.frob.com>
2739         * sysdeps/mach/hurd/bits/posix_opt.h: Rewritten with comments and
2740         multiple inclusion protection.
2741         (_POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC, _POSIX_MAPPED_FILES,
2742         _POSIX_MEMORY_PROTECTION, _POSIX_POLL, _POSIX_SELECT): New macros,
2743         define all these to 1.
2744         (_POSIX_SYNC_IO): Add #undef, to remind us that pathconf reports it.
2746 1998-08-12  Roland McGrath  <roland@baalperazim.frob.com>
2748         * sysdeps/mach/usleep.c: Include <unistd.h>.
2749         (usleep): Return void.
2751 1998-08-11  Roland McGrath  <roland@baalperazim.frob.com>
2753         * sysdeps/generic/if_index.c (struct if_freenameindex): Add forward
2754         decl to inhibit warning in if_freenameindex defn.
2756         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Remove unused variable.
2758         * sysdeps/mach/hurd/getdomain.c (getdomainname): Renamed from __ name.
2760         * sysdeps/mach/hurd/reboot.c: Include <sys/reboot.h>.
2761         * sysdeps/mach/hurd/getdents.c: Include <unistd.h>.
2762         * sysdeps/mach/hurd/sbrk.c: Include <unistd.h>.
2763         * sysdeps/mach/usleep.c: Likewise.
2765         * sysdeps/mach/hurd/bind.c (bind): Add a const.
2767         * sysdeps/mach/hurd/getdents.c (__getdirentries): Use prototype defn.
2768         * sysdeps/unix/bsd/init-posix.c (__init_posix): Likewise.
2769         * sysdeps/unix/bsd/times.c (timeval_to_clock_t): Likewise.
2770         * sysdeps/mach/hurd/reboot.c (reboot): Likewise.
2771         * sysdeps/mach/usleep.c (usleep): Likewise.
2772         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
2773         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
2774         * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
2775         * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Likewise.
2777 1998-08-11  Roland McGrath  <roland@baalperazim.frob.com>
2779         * sysdeps/generic/glob64.c: Include <sys/types.h>, <glob.h>, <errno.h>.
2780         (glob64): Fix typo.
2782         * malloc/malloc.c (free_check, realloc_check): Don't cast to long for
2783         %p arg to fprintf, since `void *' is the right type already.
2785 1998-07-25 19:47  Jose M. Moya  <josem@gnu.org>
2787         * sysdeps/mach/hurd/getcwd.c
2788         (_hurd_canonicalize_directory_name_internal): Do not loop forever
2789         for unknown root directories.
2790         (__getcwd): Return NULL when the current root directory could not
2791         be reached.
2793 1998-08-11 18:39  Ulrich Drepper  <drepper@cygnus.com>
2795         * string/strsignal.c (strsignal): Count real-time signals from zero.
2798 See ChangeLog.8 for earlier changes.