Update.
[glibc.git] / ChangeLog
blobfad6681f2c62da37fd968a3cdb76074800d479c2
1 1998-07-16 23:06  Ulrich Drepper  <drepper@cygnus.com>
3         * debug/Makefile (distribute): Add sigcontextinfo.h.
4         Add rules to generate and install catchsegv.
5         * debug/catchsegv.sh: New file.
7 1998-07-16  Mark Kettenis  <kettenis@phys.uva.nl>
9         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Return a Hurd I/O
10         port instead of a Mach memory object.
11         (__open): Likewise.
12         (__libc_read): New function.
13         (__mmap): Change to take a Hurd I/O port instead of a Mach memory
14         object.
16 1998-07-16 20:01  Ulrich Drepper  <drepper@cygnus.com>
18         * debug/Makefile (routines): Add backtracesymsfd.
19         Add rules to generate libSegFault.
20         * debug/Versions: Add __backtrace_symbols_fd and backtrace_symbols_fd.
21         * debug/execinfo.h: Declare backtrace_symbols_fd.
22         * sysdeps/generic/backtracesymsfd.c: New file.
23         * sysdeps/generic/elf/backtracesymsfd.c: New file.
24         * sysdeps/generic/segfault.c: New file.
25         * sysdeps/generic/sigcontextinfo.h: New file.
26         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: New file.
28         * sysdeps/generic/elf/backtracesyms.c: Remove unneeded +.
30 1998-07-16 19:27  Ulrich Drepper  <drepper@cygnus.com>
32         * elf/rtld.c (process_envvars): Also recognize on as LD_BIND_NOW value.
33         (process_envvars): Append .PID to LD_DEBUG_OUTPUT file name.
35 1998-07-16 13:44  Ulrich Drepper  <drepper@cygnus.com>
37         * argp/argp-fmtstream.c: Fix warnings introduced in last change.
38         * assert/assert-perr.c: Likewise.
39         * assert/assert.c: Likewise.
40         * gconv_conf.c: Likewise.
41         * libio/iofputs_u.c: Likewise.
42         * malloc/mtrace.c: Likewise.
43         * malloc/obstack.c: Likewise.
44         * misc/error.c: Likewise.
45         * misc/syslog.c: Likewise.
46         * stdio-common/asprintf.c: Likewise.
47         * stdio-common/dprintf.c: Likewise.
48         * stdio-common/getw.c: Likewise.
49         * stdio-common/putw.c: Likewise.
50         * stdio-common/snprintf.c: Likewise.
51         * stdio-common/sprintf.c: Likewise.
52         * stdio-common/sscanf.c: Likewise.
53         * sunrpc/svc_simple.c: Likewise.
54         * sysdeps/generic/abort.c: Likewise.
56         * rt/aio_cancel.c: Don't define ECANCELED here.
57         * sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED correctly.
59 1998-07-16 10:23  Ulrich Drepper  <drepper@cygnus.com>
61         * argp/argp-fmtstream.c: Unify names of used global functions.
62         * argp/argp-help.c: Likewise.
63         * assert/assert-perr.c: Likewise
64         * assert/assert.c: Likewise
65         * dirent/scandir.c: Likewise
66         * dirent/scandir64.c: Likewise
67         * dirent/versionsort.c: Likewise
68         * dirent/versionsort64.c: Likewise
69         * gmon/bb_exit_func.c: Likewise.
70         * gmon/gmon.c: Likewise.
71         * grp/initgroups.c: Likewise.
72         * iconv/gconv_conf.c: Likewise.
73         * inet/getnameinfo.c: Likewise.
74         * inet/getnetgrent_r.c: Likewise.
75         * inet/inet_ntoa.c: Likewise.
76         * inet/rcmd.c: Likewise.
77         * inet/rexec.c: Likewise.
78         * inet/ruserpass.c: Likewise.
79         * io/fts.c: Likewise.
80         * io/ftw.c: Likewise.
81         * io/ftw64.c: Likewise.
82         * io/getdirname.c: Likewise.
83         * io/getwd.c: Likewise.
84         * io/lockf.c: Likewise.
85         * libio/iofdopen.c: Likewise.
86         * libio/iopopen.c: Likewise.
87         * login/utmp_daemon.c: Likewise.
88         * malloc/mtrace.c: Likewise.
89         * malloc/obstack.c
90         * misc/daemon.c: Likewise.
91         * misc/efgcvt_r.c: Likewise.
92         * misc/err.c: Likewise.
93         * misc/error.c: Likewise.
94         * misc/fstab.c: Likewise.
95         * misc/getpass.c: Likewise.
96         * misc/getttyent.c: Likewise.
97         * misc/mntent_r.c: Likewise.
98         * misc/search.h: Likewise.
99         * misc/syslog.c: Likewise.
100         * nscd/nscd_getgr_r.c: Likewise.
101         * nscd/nscd_getpw_r.c: Likewise.
102         * posix/getpgrp.c: Likewise.
103         * posix/wordexp.c: Likewise.
104         * pwd/fgetpwent_r.c: Likewise.
105         * pwd/getpw.c: Likewise.
106         * resolv/herror.c: Likewise.
107         * resolv/res_init.c: Likewise.
108         * shadow/fgetspent_r.c: Likewise.
109         * shadow/lckpwdf.c: Likewise.
110         * signal/sigrelse.c: Likewise.
111         * stdio-common/asprintf.c: Likewise.
112         * stdio-common/dprintf.c: Likewise.
113         * stdio-common/getw.c: Likewise.
114         * stdio-common/putw.c: Likewise.
115         * stdio-common/snprintf.c: Likewise.
116         * stdio-common/sprintf.c: Likewise.
117         * stdio-common/sscanf.c: Likewise.
118         * stdlib/lrand48_r.c: Likewise.
119         * stdlib/mrand48_r.c: Likewise.
120         * string/argz-replace.c: Likewise.
121         * string/envz.c: Likewise.
122         * sunrpc/auth_des.c: Likewise.
123         * sunrpc/auth_unix.c: Likewise.
124         * sunrpc/bindrsvprt.c: Likewise.
125         * sunrpc/clnt_gen.c: Likewise.
126         * sunrpc/clnt_perr.c: Likewise.
127         * sunrpc/clnt_simp.c: Likewise.
128         * sunrpc/clnt_tcp.c: Likewise.
129         * sunrpc/clnt_udp.c: Likewise.
130         * sunrpc/get_myaddr.c: Likewise.
131         * sunrpc/key_call.c: Likewise.
132         * sunrpc/netname.c: Likewise.
133         * sunrpc/openchild.c: Likewise.
134         * sunrpc/pmap_rmt.c: Likewise.
135         * sunrpc/rpc_dtable.c: Likewise.
136         * sunrpc/rtime.c: Likewise.
137         * sunrpc/svc_run.c: Likewise.
138         * sunrpc/svc_simple.c: Likewise.
139         * sunrpc/svc_tcp.c: Likewise.
140         * sunrpc/svc_udp.c: Likewise.
141         * sunrpc/svcauth_des.c: Likewise.
142         * sunrpc/xdr_array.c: Likewise.
143         * sunrpc/xdr_rec.c: Likewise.
144         * sunrpc/xdr_ref.c: Likewise.
145         * sunrpc/xdr_stdio.c: Likewise.
146         * sysdeps/generic/abort.c: Likewise.
147         * sysdeps/generic/dl-sysdep.c: Likewise.
148         * sysdeps/generic/fstatfs64.c: Likewise.
149         * sysdeps/generic/ftruncate64.c: Likewise.
150         * sysdeps/generic/getrlimit64.c: Likewise.
151         * sysdeps/generic/glob.c: Likewise.
152         * sysdeps/generic/prof-freq.c: Likewise.
153         * sysdeps/generic/putenv.c: Likewise.
154         * sysdeps/generic/statfs64.c: Likewise.
155         * sysdeps/generic/ttyname_r.c: Likewise.
156         * sysdeps/generic/utmp_file.c: Likewise.
157         * sysdeps/generic/vlimit.c: Likewise.
158         * sysdeps/generic/vtimes.c: Likewise.
159         * sysdeps/posix/cuserid.c: Likewise.
160         * sysdeps/posix/euidaccess.c: Likewise.
161         * sysdeps/posix/mkstemp.c: Likewise.
162         * sysdeps/posix/mktemp.c: Likewise.
163         * sysdeps/posix/pread.c: Likewise.
164         * sysdeps/posix/pread64.c: Likewise.
165         * sysdeps/posix/profil.c: Likewise.
166         * sysdeps/posix/pwrite.c: Likewise.
167         * sysdeps/posix/pwrite64.c: Likewise.
168         * sysdeps/posix/sigblock.c: Likewise.
169         * sysdeps/posix/sigpause.c: Likewise.
170         * sysdeps/posix/ttyname.c: Likewise.
171         * sysdeps/posix/ttyname_r.c: Likewise.
172         * sysdeps/posix/waitid.c: Likewise.
173         * sysdeps/unix/getlogin_r.c: Likewise.
174         * sysdeps/unix/grantpt.c: Likewise.
175         * sysdeps/unix/rewinddir.c: Likewise.
176         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
177         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
178         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
179         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
180         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
181         * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
182         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
183         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
184         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
185         * sysdeps/unix/sysv/linux/unlockpt.c: Likewise.
186         * sysvipc/sys/shm.h: Likewise.
187         * time/ctime_r.c: Likewise.
188         * time/strptime.c: Likewise.
189         * wcsmbs/mbrlen.c: Likewise.
190         * wcsmbs/wcsdup.c: Likewise.
191         * wcsmbs/wcsxfrm.c: Likewise.
192         * wctype/wcfuncs.c: Likewise.
194         * sysdeps/unix/sysv/linux/i386/socker.S: Change to honor NO_WEAK_ALIAS.
195         * sysdeps/unix/sysv/linux/accept.S: Don't generate __ name.
196         * sysdeps/unix/sysv/linux/bind.S: Likewise.
197         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
198         * sysdeps/unix/sysv/linux/listen.S: Likewise.
199         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
200         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
201         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
203         * grp/fgetgrent_r.c: Use explicit locking of the stream.
205         * elf/Makefile (rtld-routines): Add dl-environ.
206         * sysdeps/generic/dl-sysdep.c: Move _dl_next_ld_env_entry and unsetenv
207         to...
208         * sysdeps/generic/dl-environ.c: here.  New file.
210         * libio/Makefile [REENTRANT] (routines): Add iofputs_u.
211         * libio/Versions: Add fputs_unlocked.
212         * libio/iofputs_u.c: New file.
213         * libio/stdio.h: Add prototype for fputs_unlocked.
215         * sunrpc/rpc/auth.h: Use __PMT instead of __P in type definitions.
216         * sunrpc/rpc/clnt.h: Likewise.
217         * sunrpc/rpc/pmap_clnt.h: Likewise.
218         * sunrpc/rpc/svc.h: Likewise.
219         * sunrpc/rpc/xdr.h: Likewise.
221         * sysdeps/i386/memchr.S: Correct for more strict gas.
222         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
223         * sysdeps/libm-i387/i686/s_fdim.S: Likewise.
224         * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
225         * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
227 1998-07-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
229         * configure.in: Change message for binutils version from
230         2.8.1.0.17->2.8.1.0.23.
232 1998-07-15  Ulrich Drepper  <drepper@cygnus.com>
234         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Define LOC.
235         Patch by John Tobey <jtobey@banta-im.com>.
237 1998-07-14  Ulrich Drepper  <drepper@cygnus.com>
239         * sunrpc/auth_unix.c (authunix_create_default): Use __sysconf
240         instead of sysconf.
242 1998-07-14 19:39  Ulrich Drepper  <drepper@cygnus.com>
244         * stdio-common/vfscanf.c (ungetc): Use _IO_sputbackc, not _IO_ungetc.
245         [_USE_IN_LIBIO] (encode_error): Free cancelation handler.
246         (conv_error): Likewise.
247         (input_error): Likewise.
248         (memory_error): Likewise.
250 1998-07-12  Mark Kettenis  <kettenis@phys.uva.nl>
252         * sysdeps/mach/hurd/dl-sysdep.c: Bring in sync with generic
253         implementation.  Include <entry.h>.  Replace references to symbol
254         _start with macro ENTRY_POINT.
255         (__libc_uid): Remove.
256         (__libc_multiple_libcs): New variable.
257         (__libc_stack_end): New variable.
258         (_dl_hwcap_mask): New variable.
259         (_dl_important_hwcaps): New function.
260         (_dl_show_auxv): Mark internal.
262 1998-07-14  Mark Kettenis  <kettenis@phys.uva.nl>
264         * mach/Makefile: Create target directory before generating
265         mach-syscalls.mk.
266         * mach/Machrules: Invoke awk using AWK variable.  Create target
267         directory before generating server stubs.
269 1998-07-14  Ulrich Drepper  <drepper@cygnus.com>
271         * wcsmbs/wcslen.c (__wcslen): Fix comment.
273         * configure.in: Allow egcs-2.92.
275 1998-07-10 18:14 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
277         * manual/Makefile: Overhauled.  Generate libc.texinfo from the
278         chapter files.  Exorcise the chapters, chapters-incl mess.
279         Support inserting doc chapters from add-on modules.
280         (chapters): New variable.
281         (add-chapters): New variable.
282         (appendices): New variable.
283         (libc.texinfo): New target.
284         (clean): Fix bugs.
285         (realclean): Fix bugs.
287         * manual/texis.awk: New file.
288         * manual/libc-texinfo.sh: New file.
289         * manual/libc-texinfo.in: New file.
291         * manual/conf.texi (top @node): Remove next pointer.
292         * manual/lang.texi (top @node): Remove prev pointer.
294         * manual/job.texi (top @node): Add explicit pointers.
295         * manual/message.texi (top @node): Add explicit pointers.
296         * manual/nss.texi (top @node): Add explicit pointers.
297         * manual/process.texi (top @node): Add explicit pointers.
298         * manual/startup.texi (top @node): Add explicit pointers.
299         * manual/terminal.texi (top @node): Add explicit pointers.
300         * manual/users.texi (top @node): Add explicit pointers.
302         * manual/arith.texi: Add %MENU% tag.
303         * manual/conf.texi: Add %MENU% tag.
304         * manual/contrib.texi: Add %MENU% tag.
305         * manual/ctype.texi: Add %MENU% tag.
306         * manual/errno.texi: Add %MENU% tag.
307         * manual/filesys.texi: Add %MENU% tag.
308         * manual/header.texi: Add %MENU% tag.
309         * manual/install.texi: Add %MENU% tag.
310         * manual/intro.texi: Add %MENU% tag.
311         * manual/io.texi: Add %MENU% tag.
312         * manual/job.texi: Add %MENU% tag.
313         * manual/lang.texi: Add %MENU% tag.
314         * manual/llio.texi: Add %MENU% tag.
315         * manual/locale.texi: Add %MENU% tag.
316         * manual/maint.texi: Add %MENU% tag.
317         * manual/math.texi: Add %MENU% tag.
318         * manual/mbyte.texi: Add %MENU% tag.
319         * manual/memory.texi: Add %MENU% tag.
320         * manual/message.texi: Add %MENU% tag.
321         * manual/nss.texi: Add %MENU% tag.
322         * manual/pattern.texi: Add %MENU% tag.
323         * manual/pipe.texi: Add %MENU% tag.
324         * manual/process.texi: Add %MENU% tag.
325         * manual/search.texi: Add %MENU% tag.
326         * manual/setjmp.texi: Add %MENU% tag.
327         * manual/signal.texi: Add %MENU% tag.
328         * manual/socket.texi: Add %MENU% tag.
329         * manual/startup.texi: Add %MENU% tag.
330         * manual/stdio.texi: Add %MENU% tag.
331         * manual/string.texi: Add %MENU% tag.
332         * manual/sysinfo.texi: Add %MENU% tag.
333         * manual/terminal.texi: Add %MENU% tag.
334         * manual/time.texi: Add %MENU% tag.
335         * manual/users.texi: Add %MENU% tag.
337 1998-07-13  Ulrich Drepper  <drepper@cygnus.com>
339         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
340         Update.
342 1998-07-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
344         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Use ANSI
345         style declaration to avoid warning.
346         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
348 1998-07-04  Mark Kettenis  <kettenis@phys.uva.nl>
350         * elf/rtld.c (process_dl_debug): Add missing continue.
352 1998-07-12  Mark Kettenis  <kettenis@phys.uva.nl>
354         * elf/rtld.c (_dl_skip_args): Make global because the Hurd startup
355         code needs it.
357 1998-07-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
359         * Makeconfig ($(common-objpfx)sysd-dirs): Write out definition of
360         sysd-dirs-done.
361         * Makerules: Don't generate version maps too early.
362         ($(common-objpfx)sysd-versions): Force regeneration if the list of
363         subdirs has changed.
365 1998-07-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
367         * elf/dlfcn.h (DL_CALL_FCT): Use portable comma expression.
369 1998-07-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
371         * iconv/gconv_db.c (gen_steps): Always set *handle and *nsteps.
372         * iconv/gconv_dl.c (__gconv_find_shlib): Correct use of tfind
373         return value.
375 1998-07-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
377         * elf/dl-open.c (dl_open_worker): New function.
378         (_dl_open): Call it to do the actual work while catching errors.
379         * elf/dl-close.c (_dl_close): Only call termination function if
380         the initialisation function was called.
382 1998-07-13  Ulrich Drepper  <drepper@cygnus.com>
384         * libio/libioP.h (_IO_cleanup_registration_needed): Use __PMT.
385         Reported by Felix von Leitner <leitner@amdiv.de>.
387 1998-07-13 10:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
389         * sysdeps/unix/sysv/linux/m68k/dl-envvars.h: New file.
391 1998-07-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
393         * Make-dist (+sysdep-tsrcs): Add Versions.
395 1998-07-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
397         * math/Versions: Remove __log1p, __atan2, __fe_dfl_env,
398         __fe_enabled_env, __fe_nonieee_env and __fe_nomask_env.
399         * sysdeps/powerpc/Versions: New file.
400         * csu/Versions: Remove brk, sbrk, environ, __environ, _environ
401         and __errno_location.
402         * misc/Versions: Add brk and sbrk.
403         * posix/Versions: Add environ, __environ and _environ.
404         * sysdeps/unix/sysv/linux/Versions: Add __errno_location.
406 1998-07-10 11:58  Ulrich Drepper  <drepper@cygnus.com>
408         * Makerules [no_defs]: Avoid dependency for loading sysd-versions.
409         Patch by Zack Weinberg.
411 1998-07-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
413         * posix/annexc.c (errno_maybe): EACCESS->EACCES.
414         (signal_maybe): Remove duplicate entry SIGEV_SIGNAL.
415         (mman_maybe): Remove duplicates MS_ASYNC, MS_INVALIDATE.
417 1998-07-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
419         * sysdeps/unix/sysv/linux/bits/fcntl.h: Fix typo.
421 1998-07-09  Ulrich Drepper  <drepper@cygnus.com>
423         * posix/unistd.h: Simplify #ifdefs.
425         * libio/libio.h: Undo last change due to possible C++ problems.
426         * libio/fileops.h: Likewise.
428 1998-07-09 13:34  Ulrich Drepper  <drepper@cygnus.com>
430         * grp/grp.h: Define gid_t also for __USE_XOPEN.
431         * io/fcntl.h: Include <sys/stat.h> also for __USE_XOPEN.
432         * io/utime.h: Define time_t also for __USE_XOPEN.
433         * io/sys/stat.h: Define time_t also for __USE_XOPEN.
434         Define *_t types except for pid_t also for __USE_XOPEN.
435         Define S_* macros also for __USE_XOPEN.
436         * locale/langinfo.h: Define CODESET, CRNCYSTR, RADIXCHAR, and
437         THOUSEP also for __USE_XOPEN.
438         * math/math.c: Define M_* macros also for __USE_XOPEN.
439         * math/bits/mathcalls.h: Declare hypot also for __USE_XOPEN.
440         * posix/fnmatch.h: Define FNM_NOSYS and for if _XOPEN_SOURCE is
441         defined.
442         * posix/glob.h: Likewise for GLOB_NOSYS.
443         * posix/regex.h: Likewise for REG_NOSYS.
444         * posix/wordexp.h: Likewise for WRDE_NOSYS.
445         * posix/unistd.h: Define *_t types also for __USE_XOPEN.
446         * posix/sys/wait.h: Define pid_t for __USE_XOPEN.
447         * pwd/pwd.h: Define gid_t and pid_t also for __USE_XOPEN.
448         * signal/signal.h: Define pid_t also for __USE_XOPEN.
449         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define _RSYNC and O_DSYNC also
450         for __USE_POSIX199309.
451         * sysdeps/unix/sysv/linux/bits/termios.h: Define the various B*
452         constants also for __USE_XOPEN.
453         * wcsmbs/wchar.h: For XPG4 include wctype.h.
455         * intl/dcgettext.c (find_msg): Initialize act to prevent warning.
456         * locale/setlocale.c (new_composite_name): Likewise for last_len.
458         * libio/stdio.h: Don't declare fclose_unlocked.
460         * sysdeps/posix/fpathconf.c: Handle _PC_FILESIZEBITS.
462 1998-07-08  Mark Kettenis  <kettenis@phys.uva.nl>
464         * stdio/stdio.h: Add prototypes for fflush_unlocked,
465         getc_unlocked, getchar_unlocked, putc_unlocked, putchar_unlocked,
466         fgets_unlocked, fread_unlocked, fwrite_unlocked,
467         clearerr_unlocked, feof_unlocked, ferror_unlocked,
468         fileno_unlocked, flockfile, ftrylockfile, funlockfile.
469         [__USE_XOPEN && !__USE_GNU] Declare optarg, optind, opterr.  Add
470         prototype for getopt.
471         * stdio/clearerr.c (clearerr_unlocked): Weak alias for clearerr.
472         * stdio/feof.c (feof_unlocked): Weak alias for feof.
473         * stdio/ferror.c (ferror_unlocked): Weak alias for ferror.
474         * stdio/fflush.c (fflush_unlocked): Weak alias for fflush.
475         * stdio/fgets.c (fgets_unlocked): Weak alias for fgets.
476         * stdio/fileno.c (fileno_unlocked): Weak alias for fileno.
477         * stdio/fputc.c (fputc_unlocked): Weak alias for fputc.
478         * stdio/fread.c (fread_unlocked): Weak alias for fread.
479         * stdio/fwrite.c (fwrite_unlocked): Weak alias for fwrite.
480         * stdio/getc.c (getchar_unlocked): Weak alias for getc.
481         * stdio/getchar.c (getchar_unlocked): Weak alias for getchar.
482         * stdio/putc.c (putc_unlocked): Weak alias for putc.
483         * stdio/putchar.c (putchar_unlocked): Weak alias for putchar.
484         * stdio/Versions [GLIBC_2.1]: Add clearerr_unlocked,
485         feof_unlocked, ferror_unlocked, fflush_unlocked, fgets_unlocked,
486         fileno_unlocked, fputc_unlocked, fread_unlocked, fwrite_unlocked,
487         getc_unlocked, getchar_unlocked, putc_unlocked and
488         putchar_unlocked.
490         * libio/Versions: Move flockfile, ftrylockfile and funlockfile
491         from here ...
492         * stdio-common/Versions: ... to here.
494 1998-07-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
496         * Makerules (versioning): Correct typo.
498 1998-07-08 22:18  Ulrich Drepper  <drepper@cygnus.com>
500         * elf/Versions: Add _dl_mcount_wrapper_check.
501         * elf/dlfcn.h (DL_CALL_FCT): Don't test _dl_profile_map, simply use
502         _dl_mcount_wrapper_check.
503         * iconv/skeleton.c: Use DL_CALL_FCT, not _CALL_DL_FCT.
505         * elf/dl-reloc.c (_dl_relocate_object): Don't declare using
506         internal_function.
507         * elf/ldsodefs.h: Likewise.
509         * io/fcntl.h: Define SEEK_SET, SEEK_CUR, and SEEK_END.
511         * libio/stdio.h: Make sure va_list is defined for X/Open.
512         Define P_tmpdir for X/Open.
514         * posix/regex.h: Fix typo.
516         * posix/unistd.h: Define intptr_t if not already happened.
517         Add pthread_atfork prototype.
518         * sysdeps/generic/bits/types.h: Define __intptr_t.
519         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
520         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
521         * sysdeps/unix/sysv/linux/bits/mips/types.h: Likewise.
522         * sysdeps/unix/sysv/linux/bits/sparc/sparc64/types.h: Likewise.
523         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
524         * sysdeps/wordsize-32/stdint.h: Don't define intptr_t if already done.
525         * sysdeps/wordsize-64/stdint.h: Likewise.
527         * posix/bits/posix1_lim.h: Define _POSIX_CLOCKRES_MIN.
529         * signal/Makefile (headers): Add bits/sigthread.h.
530         * signal/signal.h: Include bits/sigthread.h.
531         * sysdeps/generic/bits/sigthread.h: New file.
533         * stdlib/stdlib.h: Declare rand_r use __USE_POSIX.
535         * sysdeps/generic/bits/confname.h: Define _PC_FILESIZEBITS.
536         * sysdeps/posix/pathconf.c: Handle _PC_FILESIZEBITS.
537         * sysdeps/unix/sysv/linux/alpha/fpathconf.c: New file.
538         * sysdeps/unix/sysv/linux/alpha/pathconf.c: New file.
540         * sysdeps/generic/bits/dlfcn.h: Define RTLD_LOCAL.
542         * elf/rtld.c: Remove preloading and loadpath variables in SUID
543         programs.
544         * sysdeps/generic/dl-sysdep.c: Define unsetenv.
545         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Define other envvar
546         names.
548         * sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED.
550         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_RSYNC and O_DSYNC.
551         Remove O_READ and O_WRITE definition.
553         * sysdeps/unix/sysv/linux/bits/resource.h: Define RLIM_SAVED_MAX
554         and RLIM_SAVED_CUR.
556         * sysdeps/unix/sysv/linux/fstatvfs.h: Handle UFS filesystem.
558 1998-07-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
560         * Makerules ($(common-objpfx)sysd-versions): Expect awk script in
561         scripts directory.  Pass move-if-change to awk.
562         (common-generated): Add $(version-maps) and sysd-versions.
563         * versions.awk: Moved to...
564         * scripts/versions.awk: ... here.  Use move-if-change to void
565         touching unchanged files.  Print "version-maps = ..." instead of
566         "all-version-maps = ..." and without $(common-objpfx).  Explain
567         expected variable names.
568         * Makefile (distribute): Updated.
570 1998-07-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
572         * misc/getttyent.c (getttyent): Don't return with locked stream.
573         * misc/mntent_r.c (__getmntent_r): Likewise.
575 1998-07-07 18:24  Ulrich Drepper  <drepper@cygnus.com>
577         * libio/fileops.c (_IO_do_write): Don't shrink wwrite buffer to zero
578         if stream is line buffered.
579         (_io_file_overflow): Likewise.
580         * libio/libio.h (_IO_putc_unlocked): Make sure that for line-buffered
581         streams writing '\n' flushes the string.
583 1998-07-07 17:28  Ulrich Drepper  <drepper@cygnus.com>
585         * elf/dl-profstub.c (_dl_profile_map): Only declare variable here.
586         * elf/dl-support.c: Define it here...
587         * elf/rtld.c: ...and here.
589 1998-07-07 16:28  Ulrich Drepper  <drepper@cygnus.com>
591         * grp/initgroups.c: Handle directives from nsswitch.conf file.
593 1998-07-07  Ulrich Drepper  <drepper@cygnus.com>
595         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Add
596         __ino64_t definition.
597         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Define
598         __off64_t.  Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
600         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Do not exit the shell
601         script if lddlibc4 failed.
602         Reported by B. D. Elliott <bde@accessone.com>.
604 1998-07-06  Ulrich Drepper  <drepper@cygnus.com>
606         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
607         Improve generated strings a bit.
609 1998-07-06 14:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
611         * posix/Makefile (generated): Remove $(objpfx) from the names.
613 1998-07-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
615         * stdio-common/test_rdwr.c: Use %Zu for size_t in printf
616         format string.
618         * libio/iofread_u.c: Include <stdio.h> for prototype.
619         * libio/iofwrite_u.c: Likewise.
621 1998-07-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
623         * db2/Versions: New file.
625 1998-07-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
627         * Makefile (lib-noranlib): Don't depend on sysd-versions.
628         ($(common-objpfx)sysd-versions): Remove rule.
629         * Makerules ($(common-objpfx)sysd-versions): Define here instead.
630         Pass name of Versions.def file to script and redirect output to
631         target.  Include it and make all generated version maps depend on
632         it.
633         * versions.awk: Print out variable definition containing all
634         generated version maps.  Print error messages to stderr.  Remove
635         temp file.
637 1998-07-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
639         * posix/annexc.c (check_header): Terminate macro name before
640         comparing.
641         (get_null_defines): Allow builtin macros with parameters.
642         (fmt, testfmt): Add -D_LIBC.
643         * posix/Makefile: Remove bogus duplicate include directories from
644         annexc test command.
646 1998-07-06 12:04  Ulrich Drepper  <drepper@cygnus.com>
648         * nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r): Handle adjunct
649         password scheme.
650         (_nss_nis_getpwnam_r): Likewise.
651         (_nss_nis_getpwuid_r): Likewise.
653 1998-07-05  Mark Kettenis  <kettenis@phys.uva.nl>
655         * libio/Versions: Move symbols whose source lives in
656         stdio-common to ...
657         * stdio-common/Versions: ... here.
658         * stdio/Versions: Add missing symbols.
660 1998-07-05  Ulrich Drepper  <drepper@cygnus.com>
662         * sysdeps/unix/sysv/linux/__sendmsg.S: Define function as
663         __syscall_sendmsg.
664         * sysdeps/unix/sysv/linux/__recvmsg.S: Define function as
665         __syscall_recvmsg.
666         * sysdeps/unix/sysv/linux/recvmsg.c: Define function as __libc_recvmsg
667         and make __recvmsg and recvmsg weak aliases.
668         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise for sendmsg.
669         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define __syscall_recvmsg
670         and __syscall_sendmsg.
672 1998-07-05 11:49  Ulrich Drepper  <drepper@cygnus.com>
674         * iconv/gconv_conf.c (read_conf_file): Use feof_unlocked on private
675         stream.
676         * inet/ruserpass.c (token): Likewise.
677         * nss/nsswitch.c (nss_parse_file): Likewise.
678         * intl/localealias.c: Likewise.  Also for ferror.
679         * time/getdate.c (__getdate_r): Likewise.
681         * libio/Makefile (routines): Add iofgets_u.
682         * libio/iofgets_u.c: New file.
683         * libio/Versions: Add fgets_unlocked.
684         * libio/stdio.h: Add prototype for fgets_unlocked.
686         * misc/getttyent.c (getttyent): Use fgets_unlocked instead of fgets.
687         * misc/getusershell.c (initshells): Likewise.
688         * misc/mntent_r.c (__getmntent_r): Explicitly lock stream.  Use
689         fgets_unlocked.
690         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
691         * resolv/res_init.c (res_init): Likewise.
692         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
694 1998-05-23  Philip Blundell  <Philip.Blundell@pobox.com>
696         * sysdeps/unix/sysv/linux/arm/syscalls.list: Add `syscall'.
697         * sysdeps/unix/sysv/linux/arm/syscall.S: Deleted.
699 1998-07-05  Ulrich Drepper  <drepper@cygnus.com>
701         * misc/getttyent.c (getttyent): Explicitly lock the FILE and use
702         _unlocked functions.
704         * inet/ruserpass.c (ruserpass): Use _unlocked functions since this
705         is a private FILE.
707 1998-07-04 17:11 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
709         * csu/Makefile: Build crt files in lib pass.
710         * db2/Makefile (distribute): Add mutex/sco.cc.
711         * mach/Machrules: Don't generate .udeps files if no_deps is set.
712         * sysdeps/unix/Makefile: Don't generate sysd-syscalls or
713         s-proto.d if avoid-generated is set.
715         * sysdeps/alpha/Dist: List only one file per line.
716         * sysdeps/generic/Dist: Likewise.
717         * sysdeps/m68k/fpu/switch/Dist: Likewise.
718         * sysdeps/sparc/sparc32/Dist: Likewise.
719         * sysdeps/unix/Dist: Likewise.
720         * sysdeps/unix/sysv/irix4/Dist: Likewise.
722         * sysdeps/mach/hurd/i386/Dist: New file.
723         * sysdeps/generic/Dist: Add endutxent.c, getutxent.c, getutxid.c,
724         getutxline.c, pututxline.c, setutxent.c, updwtmpx.c, and utmpxname.c.
725         * sysdeps/unix/sysv/linux/Dist: Add getresuid.c and getresgid.c.
726         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove __sigtrampoline.S.
728 1998-07-04 10:14  Ulrich Drepper  <drepper@cygnus.com>
730         * libio/Makefile (routines): Add iofread_u and iofwrite_u.
731         * libio/Versions: Add fread_unlocked and fwrite_unlocked.
733         * Makerules (lib%.so): Adjust ignore pattern for last makefile change.
735         * time/tzfile.c (decode): Optimize by using bswap_32.
736         (__tzfile_read): Use _unlocked stream functions.  Correct setting of
737         __tzname array values.
738         (__tzfile_compute): Correct setting of __tzname array values.
739         * time/tzset.c (__tzstring): Clean up a bit.
741 1998-06-29 19:01  Jim Wilson  <wilson@cygnus.com>
743         * posix/regex.c (re_comp): Add cast to char * before gettext calls.
745 1998-06-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
747         * sysdeps/unix/bsd/poll.c (__poll): Allocate fd_set dynamically so
748         that fd can be bigger than FD_SETSIZE.
750 1998-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
752         * nscd/grpcache.c: Include <unistd.h>.
753         * nscd/pwdcache.c: Likewise.
755         * nis/nis_modify.c: Include <string.h>.
756         * nis/nis_add.c: Likewise.
757         * nis/nis_checkpoint.c: Likewise.
758         * posix/runptests.c: Likewise.
759         * sysdeps/generic/statvfs64.c: Likewise.
760         * sysdeps/generic/fstatvfs64.c: Likewise.
762 1998-07-03 13:16  Ulrich Drepper  <drepper@cygnus.com>
764         * localedata/charmaps/ISO-8859-9: Change mapping for 0xea, 0xec, 0xef
765         to match data from Unicode.
766         Reported by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
768 1998-07-03 11:45  Ulrich Drepper  <drepper@cygnus.com>
770         * stdio-common/printf.h: Define printf_function and
771         printf_arginfo_function types using __PMT not __P.
772         Reported by Marc Lehmann.
774 1998-07-02 14:07 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
776         * assert/test-assert.c: New test.
777         * assert/test-assert-perr.c: New test.
778         * assert/Makefile (tests): Add test-assert and test-assert-perr.
780 1998-07-02 13:45  Zack Weinberg  <zack@rabi.phys.columbia.edu>
782         BSD-style SCM_CREDS support.
784         * sysdeps/unix/sysv/linux/socket.h: Define struct cmsgcred and
785         SCM_CREDS.
786         * sysdeps/unix/sysv/linux/sendmsg.c: New file.  Convert user
787         visible SCM_CREDS packet to what the kernel wants.
788         * sysdeps/unix/sysv/linux/recvmsg.c: New file.  Convert
789         SCM_CREDS packet output by kernel to what users want.
791         * sysdeps/unix/sysv/linux/sendmsg.S: Moved to...
792         * sysdeps/unix/sysv/linux/__sendmsg.S: here.
793         * sysdeps/unix/sysv/linux/recvmsg.S: Moved to...
794         * sysdeps/unix/sysv/linux/__recvmsg.S: here.
796         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]: Add
797         __sendmsg and __recvmsg to sysdep_routines.
798         * sysdeps/unix/sysv/linux/Dist: Add __sendmsg.S and __recvmsg.S.
800 1998-07-02  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
802         * nscd/grpcache.c: Fix gid pointer handling and debug messages.
803         * nscd/pwdcache.c: Fix uid pointer handling and debug messages.
804         * nscd/nscd.c: Check, if pthread_create fails.
806 1998-07-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
808         * stdio-common/test_rdwr.c (main): Use %Zu for size_t in printf
809         format strings.
810         * stdio-common/bug1.c (main): Likewise.
811         * stdio-common/bug5.c (main): Likewise.
812         * stdio-common/tstgetln.c (main): Likewise.
813         * elf/sprof.c (generate_call_graph): Likewise.
814         (load_shobj): Likewise.
815         * posix/runptests.c (main): Likewise.
816         * string/tst-strlen.c (main): Likewise.
818         * sysdeps/libm-ieee754/e_acos.c (__ieee754_acos): Remove unused
819         variable q3.
820         * sysdeps/libm-ieee754/e_asin.c (__ieee754_asin): Likewise
822 1998-07-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
824         * wctype/Versions: Add __towctrans.
825         Noticed by Alex Buell <alex.buell@tahallah.demon.co.uk>.
827 1998-07-02  Mark Kettenis  <kettenis@phys.uva.nl>
829         * grp/initgroups.c (compat_call): Only call dynamically loaded
830         functions if they are really present.
832 1998-07-02  Mark Kettenis  <kettenis@phys.uva.nl>
834         * sysdeps/unix/sysv/linux/bits/sched.h: Move __END_DECLS within
835         #ifdef that contains __BEGIN_DECLS.
837 1998-07-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
839         * libio/iofwrite.c: Fix return value when size == 0.
841 1998-07-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
843         * posix/Makefile (distribute): Add annexc.c.
844         (generated): Add $(objpfx)annexc and $(objpfx)annexc.out.
846 1998-07-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
848         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
849         bits/pthreadtypes.h here, and do not clobber headers.
851         * sysdeps/unix/sysv/linux/Dist: Add bits/pthreadtypes.h.
853 1998-07-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
855         * timezone/tst-timezone.c: Add tests for tzname variable.
857 1998-07-03 12:17  Zack Weinberg  <zack@rabi.phys.columbia.edu>
859         * Makefile [versioning=yes]: Build the mapfiles with a pattern
860         rule that lists all of them as targets.
861         (sysd-versions): Depend only on Versions.def.  Write a Makefile
862         fragment that defines $(vers-libs) based on contents of that file;
863         then include it.
864         (lib-noranlib): Depend on lib-mapfiles not sysd-versions.
865         (lib-mapfiles): New target, depends on sysd-versions and $(vers-libs).
866         Predicate all this on avoid-generated unset as well as versioning.
868 1998-07-03 14:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
870         * sysdeps/unix/sysv/linux/m68k/Versions: New file.
872 1998-07-02 21:51  Ulrich Drepper  <drepper@cygnus.com>
874         * Makeconfig: Define list of subdirs as all-subdirs and make subdirs
875         a copy.
876         * Makefile: Add rules to generate map files.
877         (distribute): Remove libc.map, add Versions.def and versions.awk.
878         * Makerules: Change rules to find map files on common-objpfx.
879         * elf/Makefile: Likewise.
880         * md5-crypt/Makefile: Likewise.
881         * nis/Makefile (libnsl-map): Remove.
882         * Versions.def: New file.
883         * versions.awk: New file.
884         * argp/Versions: New file.
885         * assert/Versions: New file.
886         * catgets/Versions: New file.
887         * csu/Versions: New file.
888         * ctype/Versions: New file.
889         * db/Versions: New file.
890         * debug/Versions: New file.
891         * dirent/Versions: New file.
892         * elf/Versions: New file.
893         * gmon/Versions: New file.
894         * grp/Versions: New file.
895         * hesiod/Versions: New file.
896         * hurd/Versions: New file.
897         * iconv/Versions: New file.
898         * inet/Versions: New file.
899         * intl/Versions: New file.
900         * io/Versions: New file.
901         * libio/Versions: New file.
902         * linuxthreads/Versions: New file.
903         * locale/Versions: New file.
904         * login/Versions: New file.
905         * malloc/Versions: New file.
906         * math/Versions: New file.
907         * md5-crypt/Versions: New file.
908         * misc/Versions: New file.
909         * nis/Versions: New file.
910         * nss/Versions: New file.
911         * posix/Versions: New file.
912         * pwd/Versions: New file.
913         * resolv/Versions: New file.
914         * resource/Versions: New file.
915         * rt/Versions: New file.
916         * setjmp/Versions: New file.
917         * shadow/Versions: New file.
918         * signal/Versions: New file.
919         * socket/Versions: New file.
920         * stdio/Versions: New file.
921         * stdio-common/Versions: New file.
922         * stdlib/Versions: New file.
923         * streams/Versions: New file.
924         * string/Versions: New file.
925         * sunrpc/Versions: New file.
926         * sysdeps/alpha/Versions: New file.
927         * sysdeps/alpha/fpu/Versions: New file.
928         * sysdeps/i386/Versions: New file.
929         * sysdeps/sparc/Versions: New file.
930         * sysdeps/unix/sysv/Versions: New file.
931         * sysdeps/unix/sysv/linux/Versions: New file.
932         * sysdeps/unix/sysv/linux/alpha/Versions: New file.
933         * sysdeps/unix/sysv/linux/i386/Versions: New file.
934         * sysdeps/unix/sysv/linux/mips/Versions: New file.
935         * sysvipc/Versions: New file.
936         * termios/Versions: New file.
937         * time/Versions: New file.
938         * wcsmbs/Versions: New file.
939         * wctype/Versions: New file.
940         * libc.map: Removed.
941         * db/libdb.map: Removed.
942         * elf/libdl.map: Removed.
943         * hesiod/libnss_hesiod.map: Removed.
944         * hurd/libhurduser.map: Removed.
945         * hurd/libmachuser.map: Removed.
946         * linuxthreads/libpthread.map: Removed.
947         * locale/libBrokenLocale.map: Removed.
948         * login/libutil.map: Removed.
949         * math/libm.map: Removed.
950         * md5-crypt/libcrypt.map: Removed.
951         * nis/libnsl.map: Removed.
952         * nis/libnsl_compat.map: Removed.
953         * nis/libnss_nis.map: Removed.
954         * nis/libnss_nisplus.map: Removed.
955         * nss/libnss_db.map: Removed.
956         * nss/libnss_files.map: Removed.
957         * resolv/libnss_dns.map: Removed.
958         * resolv/libresolv.map: Removed.
959         * rt/librt.map: Removed.
961         * elf/dl-load.c (fillin_rpath): Fix test for trusted directory.
962         Fix typos.
964         * elf/rtld.c (process_dl_debug): Recognize 'all'.
965         (process_envvars): LD_BIND_NOW must be followed by y, Y, or 1.
967         * sysdeps/generic/elf/backtracesyms.c: Allocate string memory of
968         correct size.
970 1998-07-01  Ulrich Drepper  <drepper@cygnus.com>
972         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Fix typo
973         in comment.
975         * nscd/nscd.c: Include unistd.h.
977 1998-07-01 09:32  Ulrich Drepper  <drepper@cygnus.com>
979         * math/libm-test.c: Adjust delta for indentities1_test because gcc
980         became cleverer.
982 1998-06-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
984         * resolv/inet_addr.c (inet_aton): Define variable base only if needed.
986 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
988         * scripts/test-installation.pl: Include <stdio.h> in test program
989         to make it strictly conforming.
991 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
993         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
994         not a strong alias.
995         * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise.
996         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
997         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
998         * sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
1000 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1002         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
1003         not a strong alias.
1005 1998-06-30  Ulrich Drepper  <drepper@cygnus.com>
1007         * posix/Makefile (headers): Remove bits/pthreadtypes.h.
1008         * sysdeps/unix/sysv/linux/Makefile [subdir==posix] (headers): Add
1009         bits/pthreadtypes.h.
1011 1998-06-30 11:47  Ulrich Drepper  <drepper@cygnus.com>
1013         * include/aio.h: New file.
1014         * posix/Makefile (distribute): Add bits/pthreadtypes.h.
1015         (tests): Build and run annexc program.
1016         * posix/annexc.c: New file.
1017         * posix/bits/posix1_lim.h: Add several more _POSIX_* limits.
1018         * rt/aio.h: Remove __need_timespec_t.  We can include the whole time.h.
1019         * rt/aio_misc.c: Include limits.h.
1020         * rt/aio_notify.c: Include errno.h.
1021         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Include pthreadtypes.h.
1022         Define size_t.
1023         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1024         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1025         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
1026         * sysdeps/unix/sysv/linux/bits/errno.h: Define ENOTSUP though the
1027         kernel doesn't do this.
1028         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_LARGEFILE only if
1029         __USE_LARGEFILE64 is defined.
1030         * sysdeps/unix/sysv/linux/bits/pthreadtypes.h: New file.  Empty.
1031         * sysdeps/unix/sysv/linux/bits/sched.h: Define __sched_param struct
1032         if requested.
1033         * sysdeps/unix/sysv/linux/bits/siginifo.h: Protect non-standard names.
1035         * stdlib/isomac.c: Avoid include_next warning.
1037 1998-06-29 12:27  Ulrich Drepper  <drepper@cygnus.com>
1039         * argp/argp.h: Use __PMT instead of __P for function pointer.
1040         * iconv/gconv.h: Likewise.
1041         * io/fts.h: Likewise.
1042         * io/ftw.h: Likewise.
1043         * libio/libio.h: Likewise.
1044         * malloc/mcheck.h: Likewise.
1045         * misc/search.h: Likewise.
1046         * posix/glob.h: Likewise.
1047         * resolv/resolv.h: Likewise.
1048         * signal/signal.h: Likewise.
1049         * stdlib/stdlib.h: Likewise.
1050         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
1051         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
1053 1998-06-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1055         * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) only once.
1057 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1059         * posix/wordexp.c (parse_param): Fix memory leak.
1061 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1063         * libc.map: Export _IO_ftrylockfile.
1065 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1067         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use get[pu]id instead of
1068         __get[pu]id.
1070 1998-06-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1072         * elf/dl-misc.c (_dl_debug_message): Don't cache the pid.
1074         * elf/dl-runtime.c (_dl_object_relocation_scope): Avoid adding the
1075         same search list twice.
1077 1998-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1079         * login/programs/utmpd.c (handle_requests): Set and use maximal fd
1080         used to optimize loop/select.
1082 1998-06-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1084         * sysdeps/generic/init-first.c: Don't define __libc_pid.
1085         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
1086         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
1087         * sysdeps/mach/hurd/mips/init-first.c: Likewise.
1088         * sysdeps/arm/init-first.c: Likewise.
1089         * posix/getopt_init.c: Don't use __libc_pid.
1090         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1091         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1092         * libc.map: Remove __libc_uid and __libc_pid.
1094 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1096         * sunrpc/rtime.c (rtime): Use poll instead of select.
1098 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1100         * sunrpc/clnt_tcp.c (readtcp): Use poll instead of select.
1101         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
1102         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
1103         Patches from FreeBSD current.
1105 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1107         * nscd/connections.c (handle_new_request): Handle POLLHUP
1108         correctly.
1109         (close_sockets): Correct parameter to dbg_log.
1111 1998-06-27  David S. Miller  <davem@pierdol.cobaltmicro.com>
1113         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
1114         Cleanup weak_extern usage for _dl_hwcap and _dl_hwcap_mask.
1115         (elf_machine_fixup_plt): Likewise.
1116         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: When
1117         _dl_pagesize not set, use system call to always get correct answer.
1118         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
1119         (__syscall_getpagesize): Add
1121 1998-06-27  Ulrich Drepper  <drepper@cygnus.com>
1123         * resolv/res_send.c (res_send): Fix typo.
1125 1998-06-25  Andi Kleen <ak@muc.de>
1127         * inet/rcmd.c (rcmd): Change to use __poll instead of select.
1128         * resolv/res_send.c (res_send): Likewise.
1130 1998-06-27 12:58  Ulrich Drepper  <drepper@cygnus.com>
1132         * sysdeps/unix/bsd/poll.c: Define __poll, make poll weak alias.
1133         * sysdeps/unix/sysv/linux/poll.c: Likewise.
1135 1998-06-27  7:07  Richard Henderson  <rth@cygnus.com>
1137         * math/atest-exp.c (exp_mpn, main): Cast to mp_limb_t appropriately.
1138         * math/atest-exp2.c (exp_mpn, main): Likewise.
1139         * math/atest-sincos.c (main): Likewise.
1141         * resolv/inet_addr.c (inet_aton): Check for 32-bit overflow.  Move
1142         base handling away from strtoul.  Always reset errno.
1144         * sysdeps/alpha/Makefile (elf): Kill -mno-fp-regs.
1146         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Only set
1147         _dl_profile_map if _dl_name_match_p.
1148         (RTLD_START): Fix .prologue.  Set __libc_stack_end.
1149         * sysdeps/alpha/elf/start.S: Pass sp as arg 7.  Kill __data_start.
1151         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Mark tmp
1152         as early-clobber.
1154         * sysdeps/libm-ieee754/e_exp10.c: Include "math_private.h".
1155         * sysdeps/libm-ieee754/e_exp10f.c: Likewise.
1156         * sysdeps/libm-ieee754/e_exp10l.c: Likewise.
1158 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
1160         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use alias-safe code.
1162 1998-06-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1164         * nis/nis_call.c: Don't copy server structure.
1165         * nis/nis_intern.h: Remove unused entries.
1166         * nis/nis_table.c: Rewrite __create_ib_request.
1168 1998-06-26 14:37  Ulrich Drepper  <drepper@cygnus.com>
1170         * configure.in: Check for -fexceptions.
1171         * config.make.in: Define exceptions, not no-exceptions.
1172         * misc/sys/cdefs.h: Define __PMT.  When using modern g++ define
1173         __P to use throw().
1174         * misc/Makefile: Define CFLAGS-tsearch.c and CFLAGS-lsearch.c to
1175         $(exceptions).
1176         * stdlib/Makefile: Likewise for bsearch.c, msort.c, and qsort.c.
1177         * misc/search.h: Use __PMT in tsearch, tfind, tdelete, twalk, tdestroy,
1178         lfind, and lsearch prototpypes.
1179         * stdlib/stdlib.h: Likewise for bsearch and qsort.
1181 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
1183         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use C code, not asm.
1185 1998-06-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1187         * Makefile (remove-old-headers): Make phony.
1189         * configure.in: Substitute @old_glibc_headers@.
1191 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
1193         * libc.map: Remove __libc_uid.
1195 1998-06-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1197         * manual/terminal.texi (Allocation, Pseudo-Terminal Pairs): Fix
1198         typos.
1200 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
1202         * libc.map: Add Alpha-specific io function from protected namespace.
1204 1998-06-25 19:26  Ulrich Drepper  <drepper@cygnus.com>
1206         * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) if defined first.
1207         * locale/Makefile: Define locale-CPPFLAGS instead of redefining
1208         CPPFLAGS.
1210         * libc.map: Export __sigaction.
1212 1998-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1214         * sysdeps/unix/sysv/linux/bits/sched.h (CLONE_PTRACE): Add it
1215         (from Linux 2.1.107).
1217 1998-06-24  Ulrich Drepper  <drepper@cygnus.com>
1219         * nss/nss_files/files-XXX.c (_nss_files_get,ENTNAME_r): Initialize
1220         position when file was opened here.
1221         Reported by Howard Chu <hyc@platinum.com>.
1223         * sysdeps/generic/glob.c: Also protect FNM_* macros from being
1224         undefined in a second inclusion.
1226 1998-06-20  Mark Kettenis  <kettenis@phys.uva.nl>
1228         * sysdeps/mach/hurd/i386/Makefile: New file.
1229         * sysdeps/mach/hurd/i386/init-first.c [!PIC] (init1): Call
1230         __libc_init_secure.
1231         (_hurd_stack_setup): Renamed
1232         from __libc_init_first.
1233         (__libc_init_first): New function.
1234         * sysdeps/mach/hurd/i386/static-start.S: New file.
1236 1998-05-30  Mark Kettenis  <kettenis@phys.uva.nl>
1238         * sysdeps/mach/hurd/i386/init-first.c
1240 1998-06-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1242         * grp/initgroups.c: Use _CALL_DL_FCT.
1244 1998-06-23  Mark Kettenis  <kettenis@phys.uva.nl>
1246         * elf/rtld.c (process_dl_debug): Add missing continue.
1248 1998-06-23  Mark Kettenis  <kettenis@phys.uva.nl>
1250         * elf/dl-load.c (_dl_map_object_from_fd): Add missing cast.
1252 1998-06-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1254         * manual/terminal.texi (Pseudo-Terminals): Correct typos.
1256 1998-06-23  Ulrich Drepper  <drepper@cygnus.com>
1258         * config.make.in: Remove LDAP support.
1259         * nss/Makefile: Likewise.
1261 1998-06-22 17:02  Ulrich Drepper  <drepper@cygnus.com>
1263         * sysdeps/generic/enbl-secure.c: Don't use __libc_uid.
1264         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1265         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1266         * sysdeps/unix/sysv/linux/init-first.c: Don't initialize __libc_uid.
1268 1998-06-02  Gordon Matzigkeit  <gord@profitpress.com>
1270         * mach/Makefile: Change `mv' invocations to `mv -f'.
1271         * mach/Machrules: Likewise.
1273 1998-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1275         * config.make.in (old-glibc-headers): Add it.
1277         * configure.in: Add test for glibc 2.0.x headers.
1279         * Makefile (headers2_0): New variable - contains so far only
1280         Linux/Intel glibc 2.0.x headers.
1281         (remove-old-headers): New rule to remove headers from glibc 2.0.x.
1282         (install): Depend on remove-old-headers.
1284 1998-06-19  Mark Kettenis  <kettenis@phys.uva.nl>
1286         * sysdeps/generic/ftruncate.c: Define function as __ftruncate and
1287         make ftruncate a weak alias.
1288         * sysdeps/mach/hurd/ftruncate.c: Really define function as
1289         __ftruncate.
1290         * sysdeps/mach/hurd/truncate.c: Include <unistd.h>.
1291         (truncate): Fix function defenition to match prototype.
1293 1998-06-20  Mark Kettenis  <kettenis@phys.uva.nl>
1295         * manual/terminal.texi: Document ttyname_r, getpt, grantpt,
1296         unlockpt, ptsname, ptsname_r, openpty and forkpty.
1298 1998-06-22  Ulrich Drepper  <drepper@cygnus.com>
1300         * sysdeps/generic/glob.c: Make it possible to include glob.h
1301         before loading glob.c.
1302         Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
1304 1998-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1306         * nscd/connections.c: Use poll() instead of select().
1308 1998-06-22 14:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1310         * sysdeps/generic/Dist: Fix typo.
1312 1998-06-20  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1314         * nis/nis_add.c: Avoid unnecessary strlen () calls.
1315         * nis/nis_addmember.c: Likewise.
1316         * nis/nis_call.c: Likewise.
1317         * nis/nis_creategroup.c: Likewise.
1318         * nis/nis_destroygroup.c: Likewise.
1319         * nis/nis_findserv.c: Likewise.
1320         * nis/nis_ismember.c: Likewise.
1321         * nis/nis_print.c: Likewise.
1322         * nis/nis_print_group_entry.c: Likewise.
1323         * nis/nis_removemember.c: Likewise.
1324         * nis/nis_verifygroup.c: Likewise.
1325         * nis/ypclnt.c: Likewise.
1327         * nis/nis_file.c: Close file handles.
1329         * nis/nis_callback.c: Fix typo.
1331 1998-06-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1333         * nis/Makefile: Add nis-initgroups and compat-initgroups.
1334         * nis/libnss_compat.map: Add _nss_compat_initgroups.
1335         * nis/libnss_nis.map: Add _nss_nis_initgroups.
1336         * nis/nss_compat/compat-initgroups.c: New, faster then getgrent().
1337         * nis/nss_nis/nis-initgroups.c: Likewise.
1338         * libc-work/nss/nsswitch.c: Rename nss_lookup_function to
1339         __nss_lookup_function and make it public.
1340         * grp/initgroups.c: Rewrite, to use initgroups function from NSS
1341         module if exists, else use old method.
1343 1998-06-19  Ulrich Drepper  <drepper@cygnus.com>
1345         * nss/getXXbyYY_r.c (lookup_function): Correct return in type
1346         definition.
1347         * nss/getXXent_r.c (set_function, end_function, get_function):
1348         Likewise.  Reported by Thorsten Kukuk.
1350         * sysdeps/unix/sysv/linux/sigstack.c: Mark sigstack as dangerous.
1352 1998-06-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1354         * sysdeps/unix/sysv/linux/sparc/Dist: Follow change from
1355         1998-06-16 and distribute kernel_termios.h.
1357         * nis/Makefile (distribute): Add nis_xdr.h.
1359 1998-06-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1361         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Disable for
1362         kernels that don't have sigaltstack.
1364 1998-06-19  Ulrich Drepper  <drepper@cygnus.com>
1366         * sysdeps/generic/bits/sem.h: Don't define union semun.
1368         * sysdeps/unix/sysv/linux/bits/sem.h: Fix typo.
1370         * sysdeps/unix/sysv/linux/bits/ipc.h: Remove ipc_kludge definition
1371         here.
1372         * sysdeps/unix/sysv/linux/msgrcv.c (msgrcv): Add ipc_kludge
1373         definition here.
1375 1998-06-18 21:45  Ulrich Drepper  <drepper@cygnus.com>
1377         * signal/signal.h: Add prototype for __sigaltstack.
1378         * sysdeps/unix/sysv/linux/syscalls.list: Add __sigaltstack name.
1379         Remove sigstack entry.
1380         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add sigstack here.
1381         * sysdeps/unix/sysv/linux/sigstack.c: New file.
1383         * sysdeps/i386/backtrace.c: Add casts.
1385 1998-06-18 19:49  Ulrich Drepper  <drepper@cygnus.com>
1387         * intl/dcgettext.c: use complete type name.
1388         * intl/hash-string.h: Likewise.
1390         * intl/localealias.c: Undo patch from 1998-04-29.
1391         * intl/l10nflist.c: Likewise.
1392         * intl/loadinfo.h: Likewise.
1394 1998-06-18  Ulrich Drepper  <drepper@cygnus.com>
1396         * sysdeps/i386/elf/start.S (_start): Ensure correct alignment.
1398 1998-06-18 16:40  Ulrich Drepper  <drepper@cygnus.com>
1400         * libc.map: Add _dl_profile_map, _dl_profile_output, _dl_start_profile,
1401         _dl_mcount, _dl_mcount_wrapper.
1402         * elf/Makefile (routines): Add dl-profstub.
1403         * elf/dl-profstub.c: New file.
1404         * elf/dl-support.c: Don't define _dl_profile_map.
1405         * elf/rtld.c: Likewise.
1406         * elf/dlfcn.h: Define DL_CALL_FCT macro.
1407         * elf/ldsodefs.h: Declare _dl_profile_output, _dl_mcount_wrapper.
1408         Define _CALL_DL_FCT.
1409         * iconv/gconv.c: Use _CALL_DL_FCT to call function from dynamically
1410         loaded object.
1411         * iconv/gconv_db.c: Likewise.
1412         * iconv/skeleton.c: Likewise.
1413         * nss/getXXbyYY_r.c: Likewise.
1414         * nss/getXXent_r.c: Likewise.
1415         * nss/nsswitch.c: Likewise.
1417 1998-06-18 12:29  Ulrich Drepper  <drepper@cygnus.com>
1419         * sysdeps/libm-i387/e_scalb.S: Fix bug in FPU stack handling.
1420         * sysdeps/libm-i387/e_scalbf.S: Likewise.
1421         * sysdeps/libm-i387/e_scalbl.S: Likewise.
1423 1998-06-18  Ulrich Drepper  <drepper@cygnus.com>
1425         * stdlib/tst-strtod.c (long_dbl): Provide receipe to regenerate
1426         longestdbl.
1428 1998-06-18 10:26  Ulrich Drepper  <drepper@cygnus.com>
1430         * iconvdata/Makefile (modules): Add MACINTOSH.
1431         (MACINTOSH-routines): New variable.
1432         (distribute): Add macintosh.c.
1433         (awk-generated-headers): Add macintosh.h.
1434         Add rule for macintosh.h generation.
1435         * iconvdata/gconv-modules: Add definitions for MACINTOSH.
1436         * iconvdata/macintosh.c: New file.
1438 1998-06-17  Ulrich Drepper  <drepper@cygnus.com>
1440         * stdlib/tst-strtod.c (long_dbl): Add test for loooong numbers.
1442         * stdlib/strtod.c (str_to_mpn): Fix extending of n array which
1443         only should happen for cy != 0.
1445         * sysdeps/unix/sysv/linux/alpha/glob.c: Include sys/types.h before
1446         glob.h.
1448 1998-06-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1450         * sysdeps/generic/backtrace.c (INNER_THAN): New definition, use it
1451         to compare stack addresses.
1453 1998-06-17  Ulrich Drepper  <drepper@cygnus.com>
1455         * sysdeps/unix/sysv/linux/alpha/glob.c: Include glob.h before
1456         defining prototypes.
1458 1998-06-16  David S. Miller <davem@dm.cobaltmicro.com>
1460         * sysdeps/sparc/sparc32/dl-machine.h
1461         (elf_machine_fixup_plt): During rtld bootstrap, always perform
1462         flushes as the kernel will emulate it when the underlying cpu does
1463         not implement flush.
1465         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: Move...
1466         * sysdeps/unix/sysv/linux/sparc/kernel_termios.h: ...to here.
1468         * sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S: Remove.
1469         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: No longer build
1470         trampoline code.
1472         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S
1473         (__clone): Branch to label .Lerror not __clone_syscall_error.
1474         (.Lerror): Fixup EINVAL setting.
1475         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: New file.
1476         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
1477         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
1478         (__syscall_getgroups, __syscall_setgroups): Add.
1480         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1481         (__sigaction): Member name is k_sa_handler.  Use memcpy to copy
1482         around sa_mask data.
1484 1998-06-16  Ulrich Drepper  <drepper@cygnus.com>
1486         * math/math.h: Include bits/nan.h when compiling for ISO C 9x.
1488         * string/Makefile: Make sure test-ffs does not use builtins.
1490 1998-06-16  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1492         * sunrpc/svc.c: Check for NULL pointer.
1494         * nis/libnsl.map: Add public NIS+ xdr functions.
1496         * nis/rpcsvc/nis_callback.h: New file.
1497         * nis/rpcsvc/nis.h: Move xdr_* functions from here ...
1498         * nis/nis_xdr.h: ... here.
1500         * nis/nis_add.c: Use internal _xdr_* functions, check for NULL
1501         pointers, use NIS+ defines where possible.
1502         * nis/nis_cache.c: Likewise.
1503         * nis/nis_cache2_xdr.c: Likewise.
1504         * nis/nis_call.c: Likewise.
1505         * nis/nis_checkpoint.c: Likewise.
1506         * nis/nis_clone_dir.c: Likewise.
1507         * nis/nis_clone_obj.c: Likewise.
1508         * nis/nis_clone_res.c: Likewise.
1509         * nis/nis_creategroup.c: Likewise.
1510         * nis/nis_file.c: Likewise.
1511         * nis/nis_free.c: Likewise.
1512         * nis/nis_getservlist.c: Likewise.
1513         * nis/nis_local_names.c: likewise.
1514         * nis/nis_lookup.c: Likewise.
1515         * nis/nis_mkdir.c: Likewise.
1516         * nis/nis_modify.c: Likewise.
1517         * nis/nis_ping.c: Likewise.
1518         * nis/nis_print.c: Likewise.
1519         * nis/nis_remove.c: Likewise.
1520         * nis/nis_removemember.c: Likewise.
1521         * nis/nis_rmdir.c: Likewise.
1522         * nis/nis_server.c: Likewise.
1523         * nis/nis_table.c: Likewise.
1524         * nis/nis_util.c: Likewise.
1525         * nis/nis_verifygroup.c: Likewise.
1526         * nis/nis_xdr.c: Likewise.
1527         * nis/nis_callback.c: Likewise, and move xdr functions from here ...
1528         * nis/nis_xdr.c: ... to here.
1530 1998-06-15 18:07  Ulrich Drepper  <drepper@cygnus.com>
1532         * iconvdata/ksc5601.h: Clean up a bit.
1534 1998-06-15 14:35  Ulrich Drepper  <drepper@cygnus.com>
1536         * sunrpc/svc_tcp.c (readtcp): Also listen to all the other connections
1537         and process incoming data.
1538         * sunrpc/xdr_rec.c (set_input_fragment): Only recognize zero length
1539         fragments as invalid.
1540         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
1542 1998-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1544         Removal of duplicates like "the the".
1545         * manual/time.texi (TZ Variable): Likewise.
1546         * manual/users.texi (Manipulating the Database): Likewise.
1547         * manual/sysinfo.texi (Filesystem handling): Likewise.
1548         * manual/signal.texi (Signaling Yourself): Likewise.
1549         * manual/message.texi (Message Translation): Likewise.
1550         (Common Usage): Likewise.
1551         * manual/llio.texi: Likewise.
1552         * manual/arith.texi (Old-style number conversion): Likewise.
1553         * manual/argp.texi (Argp): Likewise.
1554         (Argp Parsers): Likewise.
1555         (Argp Help Filtering): Likewise.
1557         * hesiod/README.hesiod: Correct typo.
1559         * manual/llio.texi: Correct typos.
1560         * manual/sysinfo.texi: Likewise.
1562 1998-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1564         * rt/aio.h: Rename __op to __operation for g++.
1566 1998-06-13 20:17 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1568         * iconvdata/gen-8bit-gap.sh: Use awk not perl.  Clean up sed
1569         script.
1570         * iconvdata/gen-8bit-gap-1.sh: Likewise.
1571         * iconvdata/gen-8bit.sh: Clean up sed script.
1573         * iconvdata/Makefile: Remove all PERL conditionals; build all
1574         the modules all the time.  Export AWK.
1575         (gen-8bit-gap): Delete setting of PERL.
1576         (gen-8bit-gap-1): Likewise.
1577         (perl-generated-headers): Renamed awk-generated-headers.
1579         * iconvdata/gap.pl: Removed.
1580         * iconvdata/gaptab.pl: Removed.
1581         * iconvdata/gap.awk: New file.
1582         * iconvdata/gaptab.awk: New file.
1584 1998-06-15  Ulrich Drepper  <drepper@cygnus.com>
1586         * sysdeps/generic/Dist: Add errno-loc.c.
1588         * sysdeps/unix/sysv/linux/alpha/glob.c: Add prototypes for the
1589         __new_* functions.
1591 1998-06-14 14:21 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1593         * stdio-common/bug12.c: New test for fread()/fseek().
1594         * stdio-common/Makefile (tests): Add bug12.
1596 1998-06-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1598         * sysdeps/generic/elf/backtracesyms.c: Make array elements
1599         constant.
1600         * sysdeps/generic/backtracesyms.c: Likewise.  Fix type of RESULT.
1601         * debug/execinfo.h: Update declaration.
1603 1998-06-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1605         * sysdeps/generic/elf/backtracesyms.c: Make array elements constant.
1606         * sysdeps/generic/backtracesyms.c: Likewise.  Fix type of RESULT.
1607         * debug/execinfo.h: Update declaration.
1609 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1611         * manual/llio.texi: Fix spelling.
1612         * manual/sysinfo.texi: Fix spelling.
1614 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1616         * misc/hsearch.c (__hdestroy): Renamed from hdestroy, create weak
1617         alias for old name.  Put this on __libc_subfreeres.
1618         * misc/search.h: Declare it.
1620 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1622         * string/bits/string2.h (strcmp): Add missing parens around macro
1623         parameters.
1625 1998-06-12 23:34  Ulrich Drepper  <drepper@cygnus.com>
1627         * manual/arith.texi: Fix problem with @math and texinfo.tex.
1629         * manual/filesys.texi: Document LFS functions.
1630         * manual/llio.texi: Likewise.
1631         * manual/stdio.texi: Likewise.
1632         * manual/time.texi: Likewise.
1634         * manual/llio.texi: Document AIO functions.
1636         * resource/sys/resource.h: Mark second argument of setrlimit as const.
1637         * sysdeps/generic/setrlimit.c: Likewise.
1638         * sysdeps/generic/setrlimit64.c: Likewise.
1639         * sysdeps/mach/hurd/setrlimit.c: Likewise.
1640         * sysdeps/unix/sysv/setrlimit.c: Likewise.
1642 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1644         * sysdeps/generic/getenv.c: Fix last change.
1646 1998-06-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1648         * sysdeps/generic/backtrace.c: Provide generic implementation.
1650 1998-06-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1652         * configure.in: Give visual feedback of the default directories we
1653         added.
1655 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1657         * io/fts.c (fts_build): Define oflag only if needed.
1659 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1661         * sysdeps/libm-ieee754/w_exp10.c: Add missing close comment.
1663 1998-06-11  Ulrich Drepper  <drepper@cygnus.com>
1665         * libc.map: Don't export argp's fmtstream handling functions.
1667         * manual/sysinfo.texi: Document fstab and mtab handling functions.
1668         * manual/llio.texi: Document more LFS functions and start documenting
1669         the AIO functions.
1671 1998-06-03 03:09  Geoff Keating  <geoffk@ozemail.com.au>
1673         * sysdeps/unix/sysv/linux/pread.c: Detect missing syscall, like poll().
1674         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1675         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1676         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1678 1998-06-03 03:09  Geoff Keating  <geoffk@ozemail.com.au>
1680         * sysdeps/powerpc/Makefile: Use -G0 on the startup file; this
1681         makes it easier to undump emacs.
1682         * sysdeps/powerpc/bits/endian.h: Use more informative error message
1683         for when the endianness can't be determined.
1685 1998-06-04 13:19  Geoff Keating  <geoffk@ozemail.com.au>
1687         * nss/Makefile: Add files publickey database support.
1688         * nss/libnss_files.map: Export the required functions.
1689         * nss/nss_files/files-key.c: Implement it.
1690         * sunrpc/rpc/auth_des.h: Correct typos in comments.
1692 1998-06-10  Ulrich Drepper  <drepper@cygnus.com>
1694         * iconv/gconv_builtin.h: Add aliases for CORBA.
1695         * iconvdata/gconv-modules: Likewise.
1697 1998-06-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1699         * math/libm-test.c (main): Call exp10_test.
1700         (exp10_test): New function which tests exp10.
1702 1998-06-10  Ulrich Drepper  <drepper@cygnus.com>
1704         * sysdeps/unix/sysv/linux/syscalls.list: Add sigaltstack and
1705         sigstack.
1707         * sysdeps/unix/sysv/linux/bits/sigstack.h: Add definitions of
1708         SS_ONSTACK, SS_DISABLE, MINSIGSTKSZ and SIGSTKSZ.
1709         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h: New file.
1711 1998-06-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1713         * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address
1714         in the variable, not its GOT slot.
1716 1998-06-10 10:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1718         * sysdeps/m68k/fpu/bits/mathinline.h: Define __ieee754_exp10 as
1719         inline.
1720         * sysdeps/m68k/fpu/e_exp10.c: New file.
1721         * sysdeps/m68k/fpu/e_exp10f.c: New file.
1722         * sysdeps/m68k/fpu/e_exp10l.c: New file.
1724         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Set
1725         _dl_profile_map only if the name matches.
1726         (_dl_start_user): Remember stack address.
1727         * sysdeps/m68k/elf/start.S: Pass new argument to
1728         __libc_start_user.
1730         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_LABEL): New
1731         definition.
1732         (PSEUDO, SYSCALL_ERROR_HANDLER): Use it instead of syscall_error.
1733         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
1734         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
1735         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
1736         * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
1738 1998-06-09 18:16  Ulrich Drepper  <drepper@cygnus.com>
1740         * math/Makefile (libm-calls): Add w_exp10 and e_exp10.
1741         * math/libm.map: Add exp10{,f,l} and pow10{,f,l}.
1742         * math/math_private.h: Add prototypes for __ieee754_exp10{,f,l}.
1743         * math/bits/mathcalls.h: Add definitions for exp10 and pow10
1744         prototypes.
1745         * sysdeps/libm-i387/e_exp10.S: New file.
1746         * sysdeps/libm-i387/e_exp10f.S: New file.
1747         * sysdeps/libm-i387/e_exp10l.S: New file.
1748         * sysdeps/libm-ieee754/e_exp10.c: New file.
1749         * sysdeps/libm-ieee754/e_exp10f.c: New file.
1750         * sysdeps/libm-ieee754/e_exp10l.c: New file.
1751         * sysdeps/libm-ieee754/w_exp10.c: New file.
1752         * sysdeps/libm-ieee754/w_exp10f.c: New file.
1753         * sysdeps/libm-ieee754/w_exp10l.c: New file.
1754         * sysdeps/libm-ieee754/k_standard.c: Add exception code for exp10.
1756 1998-05-25 22:18  H.J. Lu  <hjl@gnu.org>
1758         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers): Add
1759         sys/elf.h and sys/reg.h.
1760         * sysdeps/unix/sysv/linux/i386/sys/elf.h: New file.
1761         * sysdeps/unix/sysv/linux/i386/sys/reg.h: New file.
1762         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: New file.
1763         * sysdeps/unix/sysv/linux/i386/sys/user.h: New file.
1765         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETREGS,
1766         PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS): Added.
1768 1998-06-09  Ulrich Drepper  <drepper@cygnus.com>
1770         * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_options): Define
1771         __data member only for gcc.  Reported by ak@muc.de.
1773         * misc/mntent.h: Undo last patch.
1774         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Undo last patch.
1775         * misc/tst/mntent.c: Adjust code for this change.
1777         * io/fts.c: Updated from a slightly more recent BSD version.
1778         * io/fts.h: Likewise.
1780         * libc.map: Add __libc_stack_end.
1782         * db2/Makefile (routines): Add lock_region.
1783         * db2/config.h: Update from db-2.4.14.
1784         * db2/db.h: Likewise.
1785         * db2/db_185.h: Likewise.
1786         * db2/db_int.h: Likewise.
1787         * db2/btree/bt_close.c: Likewise.
1788         * db2/btree/bt_compare.c: Likewise.
1789         * db2/btree/bt_conv.c: Likewise.
1790         * db2/btree/bt_cursor.c: Likewise.
1791         * db2/btree/bt_delete.c: Likewise.
1792         * db2/btree/bt_open.c: Likewise.
1793         * db2/btree/bt_page.c: Likewise.
1794         * db2/btree/bt_put.c: Likewise.
1795         * db2/btree/bt_rec.c: Likewise.
1796         * db2/btree/bt_recno.c: Likewise.
1797         * db2/btree/bt_rsearch.c: Likewise.
1798         * db2/btree/bt_search.c: Likewise.
1799         * db2/btree/bt_split.c: Likewise.
1800         * db2/btree/bt_stat.c: Likewise.
1801         * db2/btree/btree.src: Likewise.
1802         * db2/btree/btree_auto.c: Likewise.
1803         * db2/clib/getlong.c: Likewise.
1804         * db2/common/db_appinit.c: Likewise.
1805         * db2/common/db_apprec.c: Likewise.
1806         * db2/common/db_byteorder.c: Likewise.
1807         * db2/common/db_err.c: Likewise.
1808         * db2/common/db_log2.c: Likewise.
1809         * db2/common/db_region.c: Likewise.
1810         * db2/common/db_salloc.c: Likewise.
1811         * db2/common/db_shash.c: Likewise.
1812         * db2/db/db.c: Likewise.
1813         * db2/db/db.src: Likewise.
1814         * db2/db/db_auto.c: Likewise.
1815         * db2/db/db_conv.c: Likewise.
1816         * db2/db/db_dispatch.c: Likewise.
1817         * db2/db/db_dup.c: Likewise.
1818         * db2/db/db_overflow.c: Likewise.
1819         * db2/db/db_pr.c: Likewise.
1820         * db2/db/db_rec.c: Likewise.
1821         * db2/db/db_ret.c: Likewise.
1822         * db2/db/db_thread.c: Likewise.
1823         * db2/db185/db185.c: Likewise.
1824         * db2/db185/db185_int.h: Likewise.
1825         * db2/dbm/dbm.c: Likewise.
1826         * db2/hash/hash.c: Likewise.
1827         * db2/hash/hash.src: Likewise.
1828         * db2/hash/hash_auto.c: Likewise.
1829         * db2/hash/hash_conv.c: Likewise.
1830         * db2/hash/hash_debug.c: Likewise.
1831         * db2/hash/hash_dup.c: Likewise.
1832         * db2/hash/hash_func.c: Likewise.
1833         * db2/hash/hash_page.c: Likewise.
1834         * db2/hash/hash_rec.c: Likewise.
1835         * db2/hash/hash_stat.c: Likewise.
1836         * db2/include/btree.h: Likewise.
1837         * db2/include/btree_ext.h: Likewise.
1838         * db2/include/clib_ext.h: Likewise.
1839         * db2/include/common_ext.h: Likewise.
1840         * db2/include/cxx_int.h: Likewise.
1841         * db2/include/db.h.src: Likewise.
1842         * db2/include/db_185.h.src: Likewise.
1843         * db2/include/db_am.h: Likewise.
1844         * db2/include/db_auto.h: Likewise.
1845         * db2/include/db_cxx.h: Likewise.
1846         * db2/include/db_dispatch.h: Likewise.
1847         * db2/include/db_ext.h: Likewise.
1848         * db2/include/db_int.h.src: Likewise.
1849         * db2/include/db_page.h: Likewise.
1850         * db2/include/db_shash.h: Likewise.
1851         * db2/include/db_swap.h: Likewise.
1852         * db2/include/hash.h: Likewise.
1853         * db2/include/hash_ext.h: Likewise.
1854         * db2/include/lock.h: Likewise.
1855         * db2/include/lock_ext.h: Likewise.
1856         * db2/include/log.h: Likewise.
1857         * db2/include/log_ext.h: Likewise.
1858         * db2/include/mp.h: Likewise.
1859         * db2/include/mp_ext.h: Likewise.
1860         * db2/include/mutex_ext.h: Likewise.
1861         * db2/include/os_ext.h: Likewise.
1862         * db2/include/os_func.h: Likewise.
1863         * db2/include/queue.h: Likewise.
1864         * db2/include/shqueue.h: Likewise.
1865         * db2/include/txn.h: Likewise.
1866         * db2/lock/lock.c: Likewise.
1867         * db2/lock/lock_conflict.c: Likewise.
1868         * db2/lock/lock_deadlock.c: Likewise.
1869         * db2/lock/lock_region.c: Likewise.
1870         * db2/lock/lock_util.c: Likewise.
1871         * db2/log/log.c: Likewise.
1872         * db2/log/log.src: Likewise.
1873         * db2/log/log_archive.c: Likewise.
1874         * db2/log/log_auto.c: Likewise.
1875         * db2/log/log_compare.c: Likewise.
1876         * db2/log/log_findckp.c: Likewise.
1877         * db2/log/log_get.c: Likewise.
1878         * db2/log/log_put.c: Likewise.
1879         * db2/log/log_rec.c: Likewise.
1880         * db2/log/log_register.c: Likewise.
1881         * db2/mp/mp_bh.c: Likewise.
1882         * db2/mp/mp_fget.c: Likewise.
1883         * db2/mp/mp_fopen.c: Likewise.
1884         * db2/mp/mp_fput.c: Likewise.
1885         * db2/mp/mp_fset.c: Likewise.
1886         * db2/mp/mp_open.c: Likewise.
1887         * db2/mp/mp_pr.c: Likewise.
1888         * db2/mp/mp_region.c: Likewise.
1889         * db2/mp/mp_sync.c: Likewise.
1890         * db2/mutex/68020.gcc: Likewise.
1891         * db2/mutex/mutex.c: Likewise.
1892         * db2/mutex/parisc.gcc: Likewise.
1893         * db2/mutex/parisc.hp: Likewise.
1894         * db2/mutex/sco.cc: Likewise.
1895         * db2/os/os_abs.c: Likewise.
1896         * db2/os/os_alloc.c: Likewise.
1897         * db2/os/os_config.c: Likewise.
1898         * db2/os/os_dir.c: Likewise.
1899         * db2/os/os_fid.c: Likewise.
1900         * db2/os/os_fsync.c: Likewise.
1901         * db2/os/os_map.c: Likewise.
1902         * db2/os/os_oflags.c: Likewise.
1903         * db2/os/os_open.c: Likewise.
1904         * db2/os/os_rpath.c: Likewise.
1905         * db2/os/os_rw.c: Likewise.
1906         * db2/os/os_seek.c: Likewise.
1907         * db2/os/os_sleep.c: Likewise.
1908         * db2/os/os_spin.c: Likewise.
1909         * db2/os/os_stat.c: Likewise.
1910         * db2/os/os_unlink.c: Likewise.
1911         * db2/progs/db_archive/db_archive.c: Likewise.
1912         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
1913         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
1914         * db2/progs/db_dump/db_dump.c: Likewise.
1915         * db2/progs/db_dump185/db_dump185.c: Likewise.
1916         * db2/progs/db_load/db_load.c: Likewise.
1917         * db2/progs/db_printlog/db_printlog.c: Likewise.
1918         * db2/progs/db_recover/db_recover.c: Likewise.
1919         * db2/progs/db_stat/db_stat.c: Likewise.
1920         * db2/txn/txn.c: Likewise.
1921         * db2/txn/txn.src: Likewise.
1922         * db2/txn/txn_auto.c: Likewise.
1923         * db2/txn/txn_rec.c: Likewise.
1925         * elf/rtld.c: Move definition of __libc_stack_end to ...
1926         * sysdeps/generic/dl-sysdep.h: ...here.
1928         * sysdeps/unix/sysv/linux/fstatvfs.c: Handle nodiratime option.
1929         * sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_NODIRATIME.
1930         * sysdeps/unix/sysv/linux/sys/mount.h: Define MS_NODIRATIME.
1932         * sysdeps/generic/libc-start.c: Always set __libc_stack_end.
1933         * sysdeps/i386/backtrace.c: Test whether frame pointer is legal
1934         before following it.
1936 1998-06-08 21:44  Ulrich Drepper  <drepper@cygnus.com>
1938         * sysdeps/unix/sysv/linux/fstatvfs.c: Handle constant option string
1939         from mntent correctly.
1941 1998-06-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1943         * sunrpc/Makefile (generated): Correct typo.
1945 1998-06-04  Philip Blundell  <philb@gnu.org>
1947         * elf/elf.h (EM_ARM, et al.): New definitions.
1948         * sysdeps/arm/dl-machine.h: Update for new draft ARM ELF ABI.
1950 1998-06-08 21:33  Ulrich Drepper  <drepper@cygnus.com>
1952         * localedata/SUPPORTED: Add sk_SK.
1953         * localedata/locales/sk_SK: New file.
1955 1998-06-08 18:57  Ulrich Drepper  <drepper@cygnus.com>
1957         * Makeconfig (subdirs): Add debug.
1958         * configure.in: Use sysdeps/generic/elf subdir if ELF platform.
1959         * libc.map: Add __backtrace, __backtrace_symbols, backtrace and
1960         backtrace_symbols.
1961         * sysdeps/generic/backtrace.c: New file.
1962         * sysdeps/generic/backtracesyms.c: New file.
1963         * sysdeps/generic/elf/backtracesyms.c: New file.
1964         * sysdeps/i386/backtrace.c: New file.
1965         * debug/Makefile: New file.
1966         * debug/backtrace-tst.c: New file.
1967         * debug/execinfo.h: New file.
1969 1998-06-08 13:34  Ulrich Drepper  <drepper@cygnus.com>
1971         * elf/sprof.c: Implement call graph profiling.
1973         * sysdeps/generic/getenv.c: Optimize to use strncmp less often.
1975 1998-06-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1977         * pwd/fgetpwent_r.c (__fgetpwent_r): Correct buffer overflow fix.
1978         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
1979         * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
1980         Noticed by Jake Garver <garver@valkyrie.net>.
1982 1998-06-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1984         * libio/genops.c (__underflow): Read character from read pointer
1985         as unsigned.
1986         (__uflow): Likewise.
1988 1998-06-07 13:32  Ulrich Drepper  <drepper@cygnus.com>
1990         * libc.map: Add _dl_profile.
1991         * elf/dl-reloc.c (_dl_relocate_object): Take extra argument, pass
1992         this to ELF_DYNAMIC_RELOCATE.
1993         Always allocate array for relocation result if LD_PROFILE is defined.
1994         * elf/ldsodefs.h: Adjust prototypes.
1995         * elf/dl-open.c (_dl_open): Call relocation function with extra
1996         argument.
1997         * elf/rtld.c: Likewise.
1998         * elf/dl-profile.c (_dl_mcount): Don't mark as internal function.
1999         Correct loop condition.
2000         * elf/dynamic-link.h: Don't examine _dl_profile variable, pass
2001         consider_profile to runtime setup function.
2002         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Use
2003         _dl_runtime_profile for all shared objects if LD_PROFILE is defined.
2005         * elf/dl-support.c: Define __libc_stack_end.
2006         * elf/rtld.c: Likewise.
2007         * sysdeps/generic/libc-start.c: Store last stack address in
2008         __libc_stack_end.
2009         * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address.
2010         * sysdeps/i386/elf/start.s: Call __libc_start_main with extra argument.
2012         * elf/elf.h: Include <features.h>, not <sys/cdefs.h>.
2013         Include <stdint.h>, not <inttypes.h>.
2015         * elf/sprof.c: Implement flat profiling.
2017         * libio/fgetc.c: Call _IO_cleanup_region_end with 0 and call
2018         _IO_funlockfile explicitly.
2019         * libio/fileops.c: Likewise.
2020         * libio/fputc.c: Likewise.
2021         * libio/freopen.c: Likewise.
2022         * libio/freopen64.c: Likewise.
2023         * libio/fseek.c: Likewise.
2024         * libio/fseeko.c: Likewise.
2025         * libio/fseeko64.c: Likewise.
2026         * libio/ftello.c: Likewise.
2027         * libio/ftello64.c: Likewise.
2028         * libio/getc.c: Likewise.
2029         * libio/getchar.c: Likewise.
2030         * libio/iofclose.c: Likewise.
2031         * libio/iofflush.c: Likewise.
2032         * libio/iofgetpos.c: Likewise.
2033         * libio/iofgetpos64.c: Likewise.
2034         * libio/iofgets.c: Likewise.
2035         * libio/iofputs.c: Likewise.
2036         * libio/iofread.c: Likewise.
2037         * libio/iofsetpos.c: Likewise.
2038         * libio/iofsetpos64.c: Likewise.
2039         * libio/ioftell.c: Likewise.
2040         * libio/iofwrite.c: Likewise.
2041         * libio/iogetdelim.c: Likewise.
2042         * libio/iogets.c: Likewise.
2043         * libio/ioputs.c: Likewise.
2044         * libio/ioseekoff.c: Likewise.
2045         * libio/ioseekpos.c: Likewise.
2046         * libio/iosetbuffer.c: Likewise.
2047         * libio/iosetvbuf.c: Likewise.
2048         * libio/ioungetc.c: Likewise.
2049         * libio/iovsprintf.c: Likewise.
2050         * libio/iovsscanf.c: Likewise.
2051         * libio/oldfileops.c: Likewise.
2052         * libio/oldiofclose.c: Likewise.
2053         * libio/peekc.c: Likewise.
2054         * libio/putc.c: Likewise.
2055         * libio/putchar.c: Likewise.
2056         * libio/rewind.c: Likewise.
2058         * malloc/mtrace.c: Pretty print.
2060         * misc/mntent.h (struct mentent): Make string elements const char *.
2062         * nis/nis_printf.c: Optimize I/O a little bit.
2064         * signal/Makefile (distribute): Add sigset-cvt-mask.h.
2065         * sysdeps/generic/sigset-cvt-mask.h: New file.
2066         * sysdeps/unix/sysv/linux/sigset-cvt-mask.h: New file.
2067         * sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h: New file.
2068         * sysdeps/posix/sigvec.c: Rewrite the use definitions from
2069         sigset-cvt-mask.h to do the dirty work.
2070         Patches by Joe Keane.
2072         * sysdeps/posix/mkstemp.c: Save one precious byte of rodata.
2074         * sysdeps/unix/sysv/linux/i386/sysdep.h: Rewrite PSEUDO etc to make
2075         syscall_error label in case of PIC anonymous.
2076         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise.
2077         * sysdeps/unix/sysv/linux/i386/clone.S: Adapt for this change.
2078         * sysdeps/unix/sysv/linux/i386/mmap.S: Adapt for this change.
2079         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Adapt for this change.
2080         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Adapt for this change.
2081         * sysdeps/unix/sysv/linux/i386/socket.S: Adapt for this change.
2082         * sysdeps/unix/sysv/linux/i386/syscall.S: Adapt for this change.
2084 1998-06-05  Ulrich Drepper  <drepper@cygnus.com>
2086         * sunrpc/xdr_rec.c (xdrrec_create): Add cast for *_ops array since
2087         we cannot declare the struct element as const.
2088         * sunrpc/xdr_mem.c (xdrmem_create): Likewise.
2089         * sunrpc/xdr_stdio.c (xdrstdio_create): Likewise.
2091 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2093         * manual/Makefile: Include ../Makeconfig earlier.
2094         (MAKEINFO, TEXI2DVI): Use defaults if ../Makeconfig does not
2095         exist.
2096         (dir-add.texinfo): Remove useless $(SHELL).
2098 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2100         * Makefile (others): Build programs from install-bin.
2101         * configure.in: Modify config.make only if is was just created and
2102         move that command to second argument of AC_OUTPUT.  Add command to
2103         set config_vars in config.status.
2105 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2107         * malloc/Makefile (address-width): Fix conditional.
2109 1998-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2111         * libc.map: Add fattach, fdetach, getmsg, getpmsg, makecontext,
2112         putmsg, putpmsg, scalbln, scalblnf, scalblnl, strtoimax,
2113         strtoumax, swapcontext, waitid, wcsnlen, wcstoimax, wcstoumax with
2114         version GLIBC_2.1.
2116 1998-06-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2118         * manual/lang.texi (Range of Type): Change @end table->@end vtable.
2119         (Floating Point Parameters): Likewise.
2121 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2123         * hurd/Makefile (routines): Add cthreads.
2125 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2127         * login/login.c (login): Let pututline take care of finding the
2128         positin to insert the UTMP entry.  This corrects a bug where ssh
2129         was not reusing UTMP entries marked as DEAD_PROCESS.
2130         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
2132 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2134         * login/Makefile (tests): New variable, add tst-utmp and
2135         tst-utmpx.
2136         * login/tst-utmp.c: New file.
2137         * login/tst-utmpx.c: New file.
2139 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2141         * sysdeps/mach/hurd/errlist.c (sys_nerr, _sys_nerr): Make weak
2142         aliases for _hurd_nerr, for programs that don't use sys_errlist,
2143         but need sys_err.
2145 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2147         * sysdeps/generic/updwtmpx.c: Rename function to updwtmpx.
2148         * libc.map: Add updwtmpx and utmpxname to GLIBC_2.1.
2150 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2152         * sysdeps/mach/hurd/read.c: Rename function to __libc_read and
2153         make __read a weak alias.  Use ANSI-style function definition.
2154         * sysdeps/mach/hurd/write.c: Likewise.
2156 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2158         * sysdeps/mach/hurd/err_hurd.sub: Use _hurd_errlist instead of
2159         _sys_errlist.
2161 1998-05-30  Mark Kettenis  <kettenis@phys.uva.nl>
2163         * sysdeps/mach/hurd/Makefile ($(objpfx)librtld.os):
2164         Renamed from librtld.so.
2166 1998-06-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2168         * libc.map: Remove _IO_getline_info which was erroneously
2169         introduced in section GLIBC_2.0.
2170         Noticed by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
2172 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2174         * sysdeps/generic/socket.c (__socket): Renamed from socket, and
2175         created a weak alias.
2176         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
2178 1998-05-31  Gordon Matzigkeit  <gord@profitpress.com>
2180         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Rename from old
2181         ftruncate function, and create a weak alias to ftruncate.
2183 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2185         * grp/fgetgrent_r.c: Use &errno instead of __errno_location ().
2186         * inet/getnetgrent_r.c: Likewise.
2187         * nss/getXXbyYY_r.c: Likewise.
2188         * nss/getXXent_r.c: Likewise.
2189         * pwd/fgetpwent_r.c: Likewise.
2190         * shadow/sgetspent_r.c: Likewise.
2191         * shadow/fgetspent_r.c: Likewise.
2192         * sunrpc/publickey.c: Likewise.
2194 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2196         * hurd/libhurduser.map: New file.
2197         * mach/libmachuser.map: Likewise.
2199         * libc.map: Add Hurd-specific functions to version 2.1.
2200         Add __flshfp and __fillbf.
2202 1998-05-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2204         * manual/signal.texi (Basic Signal Handling): Fix typo.
2205         * manual/errno.texi (Error Codes): Likewise.
2207 1998-06-02  Ulrich Drepper  <drepper@cygnus.com>
2209         * sysdeps/unix/sysv/linux/netipx/ipx.h: Include <bits/sockaddr.h>
2210         instead of <sys/socket.h>.
2211         Patch by NIIBE Yutaka <gniibe@mri.co.jp>
2213         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (DL_FIND_ARG_COMPONENTS):
2214         Finally make it working.
2215         Patch by Mark Hatle <fray@kernel.crashing.org>.
2217 1998-03-22  Paul Eggert  <eggert@twinsun.com>
2219         * posix/regex.c: Include <wchar.h> before <wctype.h>, to work around
2220         a Solaris 2.6 bug.
2222 1998-05-30  Philip Blundell  <Philip.Blundell@pobox.com>
2224         * stdlib/gmp-impl.h: Support strange mixed-endian double format
2225         used by ARM systems.
2226         * sysdeps/arm/fpu/bits/fenv.h (FE_EXCEPTION_SHIFT): Rename to
2227         FE_EXCEPT_SHIFT.
2228         * sysdeps/arm/bits/fenv.h: Deleted.
2229         * sysdeps/arm/fpu/ieee754.h: New file.
2230         * sysdeps/arm/gmp-mparam.h: New file.
2231         * stdlib/longlong.h (umul_ppmm): Temporarily disable broken ARM
2232         implementation.
2234 1998-06-01  Ulrich Drepper  <drepper@cygnus.com>
2236         * sunrpc/rpc/xdr.h (struct XDR): Don't mark xdr_ops element as const.
2238         * sysdeps/i386/fpu/bits/mathinline.h: Use ((__unused__)) instead
2239         of ((unused)).  Reported by Bruno Haible.
2241 1998-05-31  Philip Blundell  <philb@gnu.org>
2243         * sysdeps/unix/sysv/linux/arm/sysdep.S: Use C_SYMBOL_NAME when
2244         referring to errno and _errno.
2246         * sysdeps/arm/fpu/feholdexcpt.c: New file.
2248         * sysdeps/i386/fpu_control.h: Fix typo.
2250         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Remove floating-point support.
2251         (_JMPBUF_UNWINDS): Added.
2252         * sysdeps/arm/fpu/bits/setjmp.h: New file.
2254 1998-05-25  Gordon Matzigkeit  <gord@profitpress.com>
2256         * sysdeps/mach/hurd/Makefile: Use the `before-compile' target in
2257         order to build header files, not `generated'.
2259         * Rules (before-compile): New target which depends on all
2260         $(before-compile) files.
2262 1998-06-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2264         * nis/nis_call.c: Make directory search faster.
2266         * nis/nis_callback.c: Insert public key of user in callback data.
2268         * nis/nis_clone_obj.c: Make size from type u_long, not u_int.
2270         * nis/nis_creategroup.c: Check for NULL pointer, fill in more fields.
2272         * nis/nis_findserv.c: Rename __pmap_getport to __pmap_getnisport.
2274         * nis/nis_intern.h: Remove duplicated prototype.
2276 1998-06-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2278         * sunrpc/auth_des.c: Move prototypes from here ...
2279         * sunrpc/rpc/auth.h: ... to here.
2281         * sunrpc/clnt_tcp.c: Add more control flags.
2282         * sunrpc/clnt_udp.c: Likewise.
2284         * sunrpc/netname.c (host2netname): Remove prefixing dot from
2285         domainname.
2287         * sunrpc/rpc/clnt.h: Document, which control flags are not
2288         implementable.
2290         * sunrpc/svcauth_des.c: Use key_decryptsession_pk to avoid deadlock.
2292 1998-05-29  Ulrich Drepper  <drepper@cygnus.com>
2294         * locale/loadlocale.c (_nl_load_locale): Don't allow too small
2295         files crash the program.
2297         * io/Makefile: Don't run ftwtest-sh if cross-compiling.
2298         * string/Makefile: Don't run test on tst-svc.out if cross-compiling.
2299         Reported by Deborah Wallach <kerr@pa.dec.com>.
2301 1998-05-28 00:53  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2303         * glibcbug.in: Send to bugs@gnu or libc-alpha@cygnus depending
2304         on whether this is a stable release or not (keeps snapshot bug
2305         reports out of the database).
2307         * include/libc-symbols.h: Use __ASSEMBLER__ test macro not ASSEMBLER.
2308         * sysdeps/arm/sysdep.h: Likewise.
2309         * sysdeps/i386/sysdep.h: Likewise.
2310         * sysdeps/m68k/sysdep.h: Likewise.
2311         * sysdeps/mach/mips/sysdep.h: Likewise.
2312         * sysdeps/mach/sys/reboot.h: Likewise.
2313         * sysdeps/mach/sysdep.h: Likewise.
2314         * sysdeps/unix/alpha/sysdep.h: Likewise.
2315         * sysdeps/unix/bsd/hp/m68k/sysdep.h: Likewise.
2316         * sysdeps/unix/bsd/osf/alpha/sysdep.h: Likewise.
2317         * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise.
2318         * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
2319         * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
2320         * sysdeps/unix/bsd/vax/sysdep.h: Likewise.
2321         * sysdeps/unix/i386/sysdep.h: Likewise.
2322         * sysdeps/unix/mips/sysdep.h: Likewise.
2323         * sysdeps/unix/sparc/sysdep.h: Likewise.
2324         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise.
2325         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2326         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2327         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2328         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
2329         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2330         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2331         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise.
2333 1998-05-27  Mark Kettenis  <kettenis@phys.uva.nl>
2335         * mach/Machrules: Use $(move-if-change).
2337 1998-05-27  Mark Kettenis  <kettenis@phys.uva.nl>
2339         * Makeconfig [elf=yes] (+interp): New variable, set to interp.os.
2340         * Makerules (lib%.so): Depend on $(+interp).
2341         (libc.so): Add interp.os to list of dependencies.
2342         (interp-obj): Remove variable.
2343         * mach/Machrules (+interp): Define to empty since libhurduser and
2344         libmachuser don't need to have the interpreter set.
2346 1998-05-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2348         * resolv/res_send.c: Security fixes from bind 4.9.7-REL.
2350         * resolv/gethnamaddr.c: Likewise.
2352         * resolv/res_comp.c: Likewise.
2354 1998-05-28  Mark Kettenis  <kettenis@phys.uva.nl>
2356         * sysdeps/mach/hurd/wait4.c (__wait4): Use ANSI-style definition
2357         so that transparent union works.
2359 1998-05-29 08:58  Ulrich Drepper  <drepper@cygnus.com>
2361         * manual/texinfo.tex: Update to last available version.
2363         * timezone/africa: Update from tzdata1998e.
2364         * timezone/antarctica: Likewise.
2365         * timezone/asia: Likewise.
2366         * timezone/australasia: Likewise.
2367         * timezone/europe: Likewise.
2368         * timezone/iso3166.tab: Likewise.
2369         * timezone/northamerica: Likewise.
2370         * timezone/tzselect.ksh: Likewise.
2371         * timezone/zone.tab: Likewise.
2373 1998-05-27  Ulrich Drepper  <drepper@cygnus.com>
2375         * sysdeps/unix/sysv/linux/i386/chown.c: Fix comment.
2376         Reported by Matt McLean <keys@brio.yikes.com>.
2378 1998-05-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2380         * catgets/Makefile ($(objpfx)de.cat): Renamed from
2381         do-gencat-test.  Use automatic variables.
2382         ($(objpfx)de.msg): Fix reference to po file.
2384 1998-05-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2386         * Makeconfig ($(common-objpfx)gnu/lib-names.stmp): Use
2387         $(move-if-change).
2389 1998-05-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2391         * intl/dcgettext.c: Fix typo.
2393 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2395         * configure.in: Allow more make versions e.g 3.76.90.
2397 1998-05-25  Ulrich Drepper  <drepper@cygnus.com>
2399         * Makeconfig (rpath-link): Find libc.so.6 in $(common-objdir).
2401         * malloc/thread-m.h: Use __mutex_init function in mutex_init macro
2402         for Hurd.  Patch by Mark Kettenis.
2404 1998-04-18  Gordon Matzigkeit  <gord@profitpress.com>
2406          * mach/Machrules (+preinit, +postinit): Define these variables to
2407          empty because libhurduser and libmachuser don't need startup
2408          files.
2410 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
2412          * sysdeps/mach/hurd/errlist.c (ERR_REMAP): Use err_get_code
2413          instead of a raw bitmask.
2415 1998-05-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2417         * Makeconfig (rpath-dirs): New variable.
2418         (rpath-link): Use it.
2419         (nssobjdir, nisobjdir, rtobjdir, resolvobjdir): Removed.
2420         (db-objpfx): Removed.
2421         * crypt/Makefile: Augment rpath-dirs instead of rpath-link.
2422         * md5-crypt/Makefile: Likewise.
2423         * sysdeps/mach/hurd/Makefile: Likewise.
2425         * Makeconfig (move-if-change): New variable.
2426         * iconvdata/Makefile (move-if-change): Removed.
2427         * manual/Makefile (move-if-change): Set only if undefined, use
2428         local script by default.
2429         * sunrpc/Makefile (move-if-change): Removed.
2430         * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
2431         $(move-if-change).
2433          * elf/Makefile: Remove all references to obsolete file
2434          $(objpfx)rtldtbl.h.
2435          ($(objpfx)trusted-dirs.h): Use stamp file.  Cleanup command.
2437 1998-05-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2439         * elf/dl-close.c (_dl_close): Add debugging message.
2441 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2443         * csu/Makefile ($(objpfx)version-info.h): Correct sed expression
2444         to get Linux version and not gcc version.
2445         Reported by Alan Curry <pacman@cqc.com>.
2447 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2449         * sysdeps/generic/_strerror.c (__strerror_r): Don't return NULL
2450         pointers - return unknown error message instead.
2451         Reported by Alan Curry <pacman@cqc.com>.
2453 1998-05-24  Mark Kettenis  <kettenis@phys.uva.nl>
2455         * iconvdata/Makefile (modules, sed-generated-headers,
2456         perl-generated-headers): ibm424.h is perl generated.  Make
2457         necessary modifications to compile without perl.
2459 1998-05-24  Mark Kettenis  <kettenis@phys.uva.nl>
2461         * hesiod/hesiod.c (read_config_file): Fix typo.
2463 1998-05-24  Ulrich Drepper  <drepper@cygnus.com>
2465         * version.h: Bump VERSION.
2467         * csu/Makefile (distribute): Add munch-tmpl.c.
2469 1998-05-23  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2471         * nis/nis_defaults.c: Fix buffer problems and typos.
2473 1998-05-23 08:42  Ulrich Drepper  <drepper@cygnus.com>
2475         * intl/dcgettext.c: Don't use any alloca hacks if C_ALLOCA is defined.
2476         Patch by Fred Fish.
2478 1998-05-22  Ulrich Drepper  <drepper@cygnus.com>
2480         * stdlib/random_r.c (__random_r): Rewrite last patch to fix buffer
2481         overwriting bugs.
2483         * libio/strops.c (_IO_str_underflow): Read newly available
2484         character from buffer as unsigned.
2486 1998-05-22 10:56  Ulrich Drepper  <drepper@cygnus.com>
2488         * catgets/Makefile (distribute): Add xopen-msg.h.
2489         (generated): Add de.msg and de.cat.
2490         (tests): Add do-gencat-test.
2491         (do-gencat-test): New goal.  Run gencat on a generated msg file.
2492         * catgets/xopen-msg.h: New file.
2494 1998-05-22  Ulrich Drepper  <drepper@cygnus.com>
2496         * catgets/open_catalog.c (__open_catalog): Use byteswap.h
2497         functions.  Optimize filename creation a bit.
2499 1998-05-22 09:29  Ulrich Drepper  <drepper@cygnus.com>
2501         * stdlib/random_r.c: Help gcc to optimize the code.
2502         Patch by Joe Keane <jgk@jgk.org>.
2504 1998-05-21  Ulrich Drepper  <drepper@cygnus.com>
2506         * iconv/iconv_prog.c (print_known_names): Use strverscmp in all
2507         tsearch calls.
2509 1998-05-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2511         * timezone/test-tz.c: The test with TZ=UTC0 seems to work - enable
2512         it.
2514 1998-05-21 15:27  Ulrich Drepper  <drepper@cygnus.com>
2516         * wcsmbs/wcsnrtombs.c: Correct computation of result.
2517         * wcsmbs/wcsrtombs.c: Likewise.
2519         * wcsmbs/Makefile (tests): Add wcsmbs-tst1.c.
2520         * wcsmbs/wcsmbs-tst1.c: New file.
2522         * iconv/loop.c (COUNT_CONVERTED): Correct computation.
2524         * locale/C-ctype.c (_nl_C_LC_CTYPE): Define MB_CUR_MAX for C locale
2525         as 1.
2527         * locale/setlocale.c: Don't make _nl_current_* and _nl_C_* references
2528         weak.
2530 1998-05-21  Philip Blundell  <philb@gnu.org>
2532         * sysdeps/arm/fpu_control.h: Replace stub file with real
2533         implementation.
2534         * sysdeps/arm/fpu/bits/fenv.h: New file.
2535         * sysdeps/arm/fpu/fesetround.c: Likewise.
2536         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
2537         * sysdeps/arm/fpu/fsetexcptflag.c: Likewise.
2538         * sysdeps/arm/fpu/ftestexcpt.c: Likewise.
2539         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
2540         * sysdeps/arm/fpu/fegetenv.c: Likewise.
2541         * sysdeps/arm/fpu/fesetenv.c: Likewise.
2543 1998-05-21 16:34  Richard Henderson  <rth@cygnus.com>
2545         * elf/dl-load.c (_dl_map_object_from_fd): Get file header with
2546         read instead of mmap.
2548 1998-05-21  8:16  Richard Henderson  <rth@cygnus.com>
2550         * sysdeps/unix/sysv/linux/alpha/glob.c: Include sysdeps/generic/glob.c
2551         directly instead of include_next.  Add missing semicolons.
2552         * sysdeps/unix/sysv/linux/alpha/oldglob.c: Include sys/types.h.
2553         Add missing semicolons.
2555 1998-05-21  Ulrich Drepper  <drepper@cygnus.com>
2557         * iconvdata/gconv-modules: Add more aliases to please java
2558         environments.
2560 1998-05-20  Ulrich Drepper  <drepper@cygnus.com>
2562         * stdio-common/vfprintf.c (process_arg): Fix typo.
2564         * iconvdata/TESTS: New tests for EUC-KR.
2566         * iconvdata/Makefile ($(objpfx)iconv-test.out): Also depend on TESTS.
2567         * iconvdata/testdata/EUC-KR: New file.
2569 1998-05-20 07:26  H.J. Lu  <hjl@gnu.org>
2571         * math/libm-test.c (hypot_test): Fix a typo.
2573 1998-05-20  Ulrich Drepper  <drepper@cygnus.com>
2575         * stdio-common/vfprintf.c: When precision is specified for %ls or
2576         %S handle it correctly.
2578 1998-05-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2580         * sysdeps/unix/bsd/vax/vfork.S: Missed double occurences of "the
2581         the" in one line - fixed it.
2582         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
2583         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
2584         * posix/unistd.h: Likewise
2586 1998-05-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2588         * Makeconfig (rpath-link): Add resolvobjdir.
2589         (resolvobjdir): New variable.
2590         Reported by Peter Breitenlohner <peb@mppmu.mpg.de> [fixes PR libc/633].
2592 1998-05-20 09:36  Ulrich Drepper  <drepper@cygnus.com>
2594         * elf/dl-close.c: Call shared object terminators at the right time.
2595         Patch by Philippe Troin <phil@fifi.org>.
2597 1998-05-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2599         * Make-dist (+tsrcs): Also add *.map for every member of
2600         $(extra-libs).
2602         * Makefile (distribute): Don't distribute scripts/printsources and
2603         scripts/=__ify.  Distribute FAQ.in.
2604         (rpm/%): Don't pass subdirs to sub-make.
2606         * timezone/Makefile: Protect inclusion of z.* by $(avoid-generated)
2607         instead of $(no_deps).
2609 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2611         * sysdeps/generic/setenv.c: Protect against GNU C extension.
2612         (KNOWN_VALUE, STORE_VALUE): Do it right.
2613         (setenv): Remove unused variable.
2615 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2617         * timezone/Makefile (tz-cflags): Define TM_GMTOFF and TM_ZONE.
2618         (CFLAGS-zdump.c): Add $(tz-cflags).
2620         * timezone/zdump.c (abbr): Use TM_ZONE if defined.  Add const to
2621         return type.
2623 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2625         * time/tzfile.c (__tzfile_compute): Undo last change.  Instead
2626         take struct tm parameter and set tm_isdst, tm_zone and tm_offset
2627         if use_localtime.
2628         * time/tzset.c: Update prototype of __tzfile_compute.
2629         (__tz_convert): Pass tp to __tzfile_compute.  Don't set tm_isdst,
2630         tm_zone and tm_offset here if __use_tzfile.
2632 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2634         * Makerules: Install libc.a even if there are no object file.
2636 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2638         * Makerules (do-makelib): Don't force creating library from
2639         scratch, which is faster and gets correct behaviour if $(subdirs)
2640         is incomplete.
2642 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2644         * Makerules (do-stamp): Make it work when building in source
2645         directory.
2647 1998-05-20 00:10  Ulrich Drepper  <drepper@cygnus.com>
2649         * elf/dl-load.c: Rename option and variable from ignore-rpath to
2650         inhibit-rpath.
2651         * elf/dl-support.c: Likewise.
2652         * elf/ldsodefs.h: Likewise.
2653         * elf/rtld.c: Likewise.
2654         * iconvdata/run-iconv-test.sh: Likewise.
2656 1998-05-19 23:08  Ulrich Drepper  <drepper@cygnus.com>
2658         * elf/rtld.c: Recognize --ignore-rpath argument and set _dl_ignore_path
2659         variable using the value.
2660         * elf/ldsodefs.h: Declare _dl_ignore_path.
2661         * elf/dl-load.c (decompose_rpath): Compare name of handled shared
2662         object against list in _dl_ignore_path and ignore RPATH if on the list.
2663         * elf/dl-support.c: Define _dl_ignore_path for static binaries.
2664         * iconvdata/run-iconv-test.sh: Call ld.so with --ignore-rpath parameter
2665         to make sure we get the correct helper libraries loaded.
2667         * elf/dl-load.c (decompose_rpath): Remove `room' parameter.  Use
2668         "RPATH" string in call to fillin_rpath instead.
2669         (_dl_init_paths): Remove this parameter from call to decompose_rpath.
2671 1998-05-19  Ulrich Drepper  <drepper@cygnus.com>
2673         * sysdeps/i386/i486/bits/string.h (__strstr_g): Initialize %edx
2674         correctly.  Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
2676 1998-05-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2678         * manual/terminal.texi (I/O Queues): Fix typo.
2680         * manual/stdio.texi (Closing Streams): Fix grammar.
2682         * manual/arith.texi (Absolute Value): Correct typo.
2683         Patches by Oskar Liljeblad <osk@hem.passagen.se>. [PR libc/630]
2685 1998-05-19 15:58  Ulrich Drepper  <drepper@cygnus.com>
2687         * elf/rtld.c (process_envvars): Fix typo.  Don't handle
2688         LD_PROFILE_OUTPUT in SUID binaries.
2689         * intl/dcgettext.c: In SUID binaries don't let language part of
2690         locale value contain path elements.
2691         * intl/explodename.h: Define new function _nl_find_language.
2692         * intl/loadinfo.h: Declare _nl_find_language.
2693         * locale/findlocale.c (_nl_find_locale): Use _nl_find_locale to get
2694         language part it drop the value is path element is contained.
2696         * locale/setlocale.c: Fix typo.
2698 1998-05-18  Philip Blundell  <Philip.Blundell@pobox.com>
2700         * sysdeps/unix/sysv/linux/arm/socket.S: Correct handling of arguments.
2702         * sysdeps/arm/strlen.S: Support both big and little endian processors.
2704         * sysdeps/arm/sysdep.h (ALIGNARG): ELF .align directive uses a
2705         log, not a byte-count.
2707         * sysdeps/unix/arm/sysdep.S (syscall_error): Use C_SYMBOL_NAME for
2708         a.out compatibility.
2710 1998-05-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2712         * sysdeps/unix/bsd/vax/vfork.S: Fix the "the the" problems.
2713         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
2714         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
2715         * posix/unistd.h: Likewise.
2716         * math/math.h: Likewise.
2717         * manual/users.texi (Manipulating the Database): Likewise.
2718         * manual/signal.texi (Job Control Signals): Likewise.
2719         * manual/message.texi (The gencat program): Likewise.
2720         * manual/filesys.texi (Hard Links): Likewise.
2721         * manual/math.texi (SVID Random): Likewise.
2722         * manual/llio.texi (Waiting for I/O): Likewise.
2723         * manual/io.texi (File Name Errors): Likewise.
2724         * manual/conf.texi (String Parameters): Likewise.
2725         * manual/arith.texi (Infinity): Likewise.
2726         * malloc/malloc.c: Likewise.
2727         * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
2728         * csu/Makefile: Likewise.
2730 1998-05-19 12:16  Ulrich Drepper  <drepper@cygnus.com>
2732         * manual/memory.texi: Add back accidently removed line.
2734 1998-04-25  Mark Kettenis  <kettenis@phys.uva.nl>
2736         * sysdeps/generic/utmp_file.c (TIMEOUT): New macro.
2737         (timeout_handler): New function.
2738         (LOCK_FILE, UNLOCK_FILE): New macros.
2739         Implement file locking with timeout.
2740         (getutent_r_file, internal_getut_r, getutline_r_file,
2741         pututline_file, updwtmp_file): Use LOCK_FILE and UNLOCK_FILE for
2742         locking.
2744 1998-05-18 11:38  Ulrich Drepper  <drepper@cygnus.com>
2746         * iconvdata/run-iconv-test.sh: Extend library-path by iconvdata
2747         directory.
2749 1998-05-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2751         * rpm/Makefile: Delete inclusion of version.mk.
2753 1998-05-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2755         * libc.map: Add all libio functions needed libstdc++ with version
2756         2.0, sort entries.
2758 1998-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2760         * iconvdata/Makefile (generated): Add *.stmp files.
2762 1998-05-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2764         * timezone/Makefile (testdata, build-testdata): New variables, use
2765         them in rules for test data.
2766         ($(objpfx)tst-timezone.out): Depend on test data.
2767         ($(testdata)/Europe/Berlin, $(testdata)/Universal,
2768         $(testdata)/Australia/Melbourne, $(testdata)/America/Sao_Paulo):
2769         New rules to build test data.
2770         (tst-timezone-ENV): Pass TZDIR to point to test data.
2772 1998-05-18  Ulrich Drepper  <drepper@cygnus.com>
2774         * iconvdata/TESTS: ISO-2022-KR has not really ASCII as a subset
2775         (the designation sequence is disturbing).
2777 1998-05-17  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2779         * sunrpc/svc_tcp.c: Add FreeBSD DoS patch.
2780         * sunrpc/xdr_rec.c: Likewise.
2782 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
2784         * posix/Makefile (tests): Add runptests.
2785         (distribute): Add PTESTS, PTESTS2C.sed, and ptestcases.h.
2786         (before-compile): Add ptestcases.h.
2787         (ptestscases.h): Add rule to generate from PTESTS.
2788         * posix/runptests.c: New file.
2789         * posix/PTESTS: New file.
2790         * posix/PTESTS2C.sed: New file.
2792 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
2794         * iconv/loop.c: Let user add code to use and set paramaters.
2796         * iconvdata/iso-2022-kr.c: Correct to-loop.
2798         * iconvdata/iso-2022-kr.c (PREPARE_LOOP): Use correct variable to
2799         point to output buffer.
2801         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Use correct value to find
2802         hanja.
2804         * iconvdata/TESTS: Add ISO-2022-KR test.
2805         * iconvdata/testdata/ISO-2022-KR: New file.
2807 1998-05-15 21:07  Ulrich Drepper  <drepper@cygnus.com>
2809         * iconv/gconv.h (gconv_step_data): Add new fields invocation_counter
2810         and internal_use.
2811         * iconv/gconv_open.c (__gconv_open): Initialize invocation_counter
2812         and internal_use.
2813         * wcsmbs/btowc.c: Likewise.
2814         * wcsmbs/mbrtowcs.c: Likewise.
2815         * wcsmbs/mbsnrtowcs.c: Likewise.
2816         * wcsmbs/mbsrtowcs.c: Likewise.
2817         * wcsmbs/wcrtomb.c: Likewise.
2818         * wcsmbs/wcsnrtombs.c: Likewise.
2819         * wcsmbs/wcsrtombs.c: Likewise.
2820         * wcsmbs/wctob.c: Likewise.
2821         * iconv/skeleton.c: Increment invocation_counter.
2822         * iconvdata/iso-2022-kr.c: When used in iconv() emit designator
2823         sequence first.
2825         * iconv/skeleton.c (FROM_DIRECTION): Completely embrace expression.
2826         * iconvdata/iso-2022-jp.c: Likewise.
2827         * iconvdata/iso646.c: Likewise.
2829         * iconvdata/Makefile: Correct rpath definition for ISO-2022-KR.
2831 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
2833         * iconv/gconv_db.c (derivation_lookup): Use __tfind correctly.
2835         * sysdeps/generic/setenv.c (setenv): Remove optimization for
2836         overwriting existing values if it fits.
2838 1998-05-15 14:36  Ulrich Drepper  <drepper@cygnus.com>
2840         * posix/wordexp-test.c: Avoid duplicate messages.
2842         * sysdeps/generic/setenv.c: Use __tfind and __tsearch, not tfind and
2843         tsearch.  Correctly interpret values returned by those functions.
2844         (unsetenv): Store pointer to string, not pointer to string pointer.
2846         * time/tzfile.c (__tzfile_compute): Take new arguments.  Store
2847         DST information and offset in them.
2848         * time/tzset.c (__tz_convert): Pass extra parameters to
2849         __tzfile_compute.  Compute equivalent values for use of tz_rules.
2851 1998-05-15 00:49:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2853         * iconvdata/Makefile (gen-8bit-table): Use move-if-change and
2854         stamp files to avoid unnecessary recompilation.
2855         (gen-8bit-gap-table): Likewise.
2856         (move-if-change): New variable.
2857         (all generated .h rules): Change to be .stmp rules.
2858         (%.h): New rule; depend on %.stmp; no commands.
2859         (distribute): Add gen-8bit.sh, gen-8bit-gap.sh,
2860         gen-8bit-gap-1.sh.
2862 1998-05-15 01:09  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2864         * Makerules (libc-map): Deleted.
2865         (load-map-file): Set to the appropriate compiler switch, not
2866         just the file name.  If libfoo-map is not set, look for a
2867         libfoo.map in the current directory and $(..).
2868         (map-file): New variable, contains just the mapfile name.
2869         (build-shlib): Adjust for new value of load-map-file.
2870         (libc.so): Correct dependencies.
2872         * extra-lib.mk: Correct shlib dependencies since libfoo-map
2873         may not be set anymore.
2875         * elf/Makefile: Set ld-map to $(..)libc.map, not $(libc-map).
2876         Delete libdl-map.  Tweak ld.so link rule to work with changed
2877         variable settings in Makerules.
2878         * iconvdata/Makefile: Tweak build-module to work with changed
2879         variable settings in Makerules.
2881         * db/Makefile: Delete libdb-map.
2882         * hesiod/Makefile: Delete libnss_hesiod-map.
2883         * linuxthreads/Makefile: Delete libpthread-map.
2884         * locale/Makefile: Delete libBrokenLocale-map.
2885         * login/Makefile: Delete libutil-map.
2886         * math/Makefile: Delete libm-map.
2887         * md5-crypt/Makefile: Delete libcrypt-map.
2888         * nis/Makefile: Delete libnsl-map, libnss_nis-map,
2889         libnss_nisplus-map, and libnss_compat-map.
2890         * nss/Makefile: Delete libnss_files-map, libnss_db-map, and
2891         libnss_ldap-map.
2892         * resolv/Makefile: Delete libresolv-map and libnss_dns-map.
2893         * rt/Makefile: Delete librt-map.
2895 1998-05-15 01:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2897         * configure.in: Instead of substituting `yes' or `no' for whether
2898         --no-whole-archive is available, set @no_whole_archive@ to the
2899         appropriate gcc switch or the empty string.  Likewise for
2900         -fno-exceptions.
2901         * config.make.in: Replace have-no-whole-archive with
2902         no-whole-archive and have-no-exceptions with no-exceptions.
2903         * Makerules: Delete stanzas setting no-whole-archive and
2904         no-exceptions.
2906         * sunrpc/Makefile: Use move-if-change to update generated .h
2907         and .c files.
2909 1998-05-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2911         * wcsmbs/wcsmbsload.c (extract_charset_name): Use strcspn instead
2912         of strchr loop.
2914 1998-05-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2916         * time/tzfile.c (__tzfile_read): Remove unused variable info.
2917         (__tzfile_compute): Likewise.
2919 1998-05-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2921         * sysdeps/unix/sysv/linux/bits/socket.h (AF_SNA,PF_SNA): Add new
2922         defines from Linux 2.1.102.
2924 1998-05-14 23:14  Ulrich Drepper  <drepper@cygnus.com>
2926         * locale/programs/ld-ctype.c: Write correct mb_cur_max value.
2928 1998-05-14 13:25  Ulrich Drepper  <drepper@cygnus.com>
2930         * inet/netinet/in.h: Add defines for multicast.
2931         Reported by Jeremy Hall <jhall@UU.NET>.
2933         * stdlib/stdlib.h: Add prototypes for __setenv and __unsetenv.
2934         * sysdeps/generic/putenv.c: Use __setenv and __unsetenv, not setenv
2935         and unsetenv.  Optimize _LIBC case.
2936         * sysdeps/generic/setenv.c: Prevent unnecessary memory leaks.
2937         Define functions with leading __.
2939         * time/tzfile.c: Correct handling of global variables daylight,
2940         timezone, and tzname.
2941         * time/tzset.c: Likewise.
2942         * timezone/Makefile (tests): Add tst-timezone.
2943         * timezone/tst-timezone.c: New file.
2945 1998-05-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
2947         * timezone/asia: Update from tzdata1998d.
2948         * timezone/australasia: Likewise.
2949         * timezone/europe: Likewise.
2951 1998-05-13  Ulrich Drepper  <drepper@cygnus.com>
2953         * string/string.h: Don't use the optimized versions for the string
2954         functions if optimizing for space.
2956         * stdlib/tst-strtod.c: Add test for -0.0.
2958         * io/ftwtest-sh: Prevent tests from being run by root.
2960         * wcsmbs/wcsmbsload.c (extract_charset_name): Fix silly bugs in
2961         last addition.  Patch by wkpark@chem.skku.ac.kr.
2963 1998-05-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2965         * iconvdata/8bit-gap.c (BODY): Don't fall off the end of the gap
2966         table.
2968 1998-05-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2970         * iconvdata/gen-8bit.sh: New file.
2971         * iconvdata/gen-8bit-gap.sh: New file.
2972         * iconvdata/gen-8bit-gap-1.sh: New file.
2973         * iconvdata/Makefile (generate-8bit-table): Use shell script
2974         instead of writing the commands directly.
2975         (generate-8bit-gap-table): Likewise.
2976         ($(objpfx)iso8859-7jp.h): Likewise.
2977         (generated headers): Depend on shell script instead of Makefile.
2978         (before-compile): Add $(perl-generated-headers) only if perl is
2979         available.
2980         (headers): Depend on $(perl-generated-headers) only if perl is
2981         available.
2982         (sed-generated-headers): Remove iso8859-7jp.h.
2984 1998-05-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2986         * csu/Makefile ($(objpfx)abi-tag.h): Double $ in command.  Clean up.
2987         (/): Removed.
2989 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
2991         * wcsmbs/wcsmbsload.c (extract_charset_name): Pass correctly
2992         formed charset names to getfct.  Let user override charset
2993         selection by mention charset in locale name.
2995 1998-05-12 12:15  Ulrich Drepper  <drepper@cygnus.com>
2997         * posix/glob.c: Move to ...
2998         * sysdeps/generic/glob.c: ...here.
2999         * posix/glob.h (glob_t): Use correct types for gl_pathc and gl_offs
3000         elements.
3001         * sysdeps/unix/sysv/linux/alpha/glob.c: New file.
3002         * sysdeps/unix/sysv/linux/alpha/oldglob.c: New file.
3003         * sysdeps/unix/sysv/linux/alpha/Dist: Add oldglob.c.
3004         * sysdeps/unix/sysv/linux/alpha/Makefile: Compile oldglob in posix
3005         subdir.
3006         * libc.map [GLIBC_2.1]: Add glob and globfree.
3008 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
3010         * sunrpc/Makefile (generated): Restore old list.
3012 1998-05-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3014         * rt/Makefile (tests): Define only if we have a thread library.
3016         * nis/ypclnt.c: Add: #include <errno.h>.
3018 1998-05-10 15:39  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3020         * configure.in: Define and substitute RELEASE as well as
3021         VERSION.
3022         * config.make.in: Add RELEASE and VERSION to be substituted.
3023         * Makeconfig: Delete all references to version.mk.
3024         * Make-dist: Likewise.
3025         * MakeTAGS: Likewise.
3026         * elf/Makefile: Likewise.
3028 1998-05-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3030         * nis/ypclnt.c: Move "(none)" domainname check from __yp_check to
3031         yp_get_default_domain.
3033 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
3035         * sysdeps/posix/profil.c (__profil): Don't define act and timer
3036         variables as static.  Patch by Joe Keane <jgk@jgk.org>.
3038 1998-05-12  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
3040         * malloc/malloc.c: Fix for NO_THREADS case.
3042 1998-05-11 18:02  Richard Henderson  <rth@cygnus.com>
3044         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
3045         Remove statfs and fstatfs.
3046         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Don't mark pread
3047         and pwrite as EXTRA.
3048         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3050 1998-05-09  Ulrich Drepper  <drepper@cygnus.com>
3052         * libc.map: Add capget and capset.
3054 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
3056         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3057         (DL_FIND_ARG_COMPONENTS): Find correct alignment for auxiliary
3058         vector.  Patch by Mark Hatle <fray@kernel.crashing.org>
3059         and Matt McLean <keys@brio.yikes.com>.
3061 1998-05-08 23:49  Ulrich Drepper  <drepper@cygnus.com>
3063         * misc/Makefile (tests): Add tst-mntent.
3064         * misc/tst-mntent.c: New file.
3066 1998-05-08 21:56  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3068         * autolock.sh: Removed.
3069         * manual/move-if-change: Removed.
3071         * scripts: New directory.
3072         * =__ify: Moved to scripts.
3073         * config.guess: Likewise.
3074         * config.sub: Likewise.
3075         * gen-FAQ.pl: Likewise.
3076         * install-sh: Likewise.
3077         * mkinstalldirs: Likewise.
3078         * move-if-change: Likewise.
3079         * printsources: Likewise.
3080         * rellns.sh: Likewise.
3081         * test-installation.pl: Likewise.
3083         * configure.in: Look in scripts for config.guess, config.sub,
3084         install-sh.
3085         * Makefile: Distribute all above files in their
3086         new home.  Find gen-FAQ.pl and test-installation.pl in scripts.
3087         * manual/Makefile: Find mkinstalldirs and move-if-change in
3088         $(..)scripts.  Drop them from distribute.  Minor cleanups.
3089         * Makerules: Find mkinstalldirs and rellns-sh in scripts.
3090         * sysdeps/mach/hurd/Makefile: Find move-if-change in scripts.
3091         * timezone/Makefile: Find rellns-sh in scripts.
3093 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
3095         * intl/locale.alias: Change italian to it_IT.ISO-8859-1.
3096         Reported by Ottavio G. Rizzo <otto@mast.queensu.ca>.
3098 1998-05-08 19:24  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3100         * Makefile (+subdir-inits): Delete variable.
3101         (+init_subdirs): Likewise.
3102         (aux): Likewise.
3103         (before-compile): Likewise.
3104         (libc-init): Delete stanza.
3105         (version-info.h): Delete rule and associated variable.
3106         (distribute): Don't distribute moved files.
3107         * Makerules (interp-obj): It lives in elf now.  Only use it
3108         if $(elf) is set.  Delete rule to build it.
3109         * csu/Makefile: Build set-init.o and/or munch-init.o.  Build
3110         version.o and version-info.h.  Minor cleanups.
3111         (routines): Add libc-init, sysdep, version.
3112         (generated): Add version-info.h.
3113         * elf/Makefile: Build interp.os.
3115         * interp.c: Moved to elf.
3116         * set-init.c: Moved to csu.
3117         * munch-init.c: Likewise.
3118         * munch.awk: Likewise.
3119         * version.c: Likewise.
3121         * Rules: Unconfuse syntax highlighting with a fake comment.
3123 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
3125         * sysdeps/unix/sysv/linux/syscalls.list: Add capset and capget
3126         syscalls.
3128 1998-05-08 16:36  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3130         * iconvdata/Makefile (generated): Set to *-generated-headers
3131         plus gconv-modules.
3132         (tests): Set to iconv-test.
3133         * localedata/Makefile (generated-dirs): Add ld-test-names to list.
3134         * posix/Makefile (generated): Set to wordexp-test-result*.
3135         * sunrpc/Makefile (generated): Remove rpcsvc/*.
3136         (generated-dirs): Add rpcsvc.
3137         * libio/Makefile: Clean up.
3139 1998-05-08 14:55  Ulrich Drepper  <drepper@cygnus.com>
3141         * Make-dist (+tsrcs): Also use tests-statc where tests is used.
3142         * Makerules: Likewise.
3143         (+depfiles): Also add sysdep-others.
3144         * Rules: Likewise.
3145         * iconv/Makefile (distribute): Add loop.s and skeleton.c.
3146         * iconvdata/Makefile (distribute): Add TESTS.
3147         * localedata/Makefile (repertoires): Rename to repertoiremaps.
3148         * sysdeps/gnu/Dist: Add utmpx.h and bits/utmpx.h.
3149         * sysdeps/unix/sysv/linux/Dist: Add ldd-rewrite.sed.
3150         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=elf]: Define
3151         sysdep-others, not others.
3152         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
3153         * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/kernel_termios.h.
3155 1998-05-08 12:26  Ulrich Drepper  <drepper@cygnus.com>
3157         * iconv/gconv_int.h (struct gconv_module): Remove cost field and add
3158         cost_hi and cost_lo.
3159         * iconv/gconv_conf.c (builtin_modules): Initialize cost_hi from
3160         Cost parameter and set cost_lo to INT_MAX.
3161         (add_module): Take new parameter and use it to initialize cost_lo.
3162         (read_conf_file): Count modules being loaded and use counter for
3163         new parameter to add_module.
3164         * iconv/gconv_db.c (find_derivation): When look for cost examine
3165         cost_hi and cost_lo.
3167 1998-05-08 10:52  Ulrich Drepper  <drepper@cygnus.com>
3169         * string/bits/string2.h: Don't use unsigned char * unless really
3170         necessary since this disturbs C++.
3171         * sysdeps/i386/i486/bits/string.h: Likewise.
3172         Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
3174 1998-05-08 13:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3176         * malloc/malloc.c (top_check): Fix last change.
3178 1998-05-07  Ulrich Drepper  <drepper@cygnus.com>
3180         * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Define.
3181         Patch by Matt McLean <keys@brio.yikes.com>.
3183 1997-05-07 13:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3185         * Makerules (lib): Put back dependency on lib-noranlib.
3186         ($(subdirs-stamps)): Remove dependency on stamp.* again.
3188 1998-05-07  Ulrich Drepper  <drepper@cygnus.com>
3190         * sysdeps/i386/fpu/bits/mathinline.h: Use long long int also for
3191         test in __pow2 implementation.
3193 1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>
3195         * Makeconfig [!build-static]: Link `static' binaries with libc_pic.a.
3196         Still need *FLAGS-.o because we still sometimes build .o files.
3197         * db2/Makefile: Don't build libndbm.a if !build-static.
3199 1998-05-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3201         * malloc/malloc.c (top_check): Add void as parameter to silent gcc.
3203 1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>
3205         * configure.in: New test for broken gcc on PowerPC.
3206         * sysdeps/powerpc/atomicity.h: Use result of test.
3207         * linuxthreads/sysdeps/powerpc/pt-machine.h: Use result of test.
3209         * math/libm-test.c: Update many of the epsilon to match actual
3210         performance.
3212         * sysdeps/libm-ieee754/e_exp.c: Reduce the number of branches.
3213         * sysdeps/libm-ieee754/e_expf.c: Likewise.
3214         * sysdeps/libm-ieee754/s_exp2.c: Likewise.
3215         * sysdeps/libm-ieee754/s_exp2f.c: Likewise.
3217         * sysdeps/libm-ieee754/e_pow.c: Correct typo.
3219         * sysdeps/powerpc/elf/libc-start.c: New file.
3220         * sysdeps/powerpc/elf/start.S: New file, use libc-start.
3221         * sysdeps/powerpc/elf/start.c: Delete.
3223         * sysdeps/unix/sysv/linux/powerpc/Dist: Remove syscall.h
3224         * sysdeps/unix/sysv/linux/powerpc/syscall.h: Delete.  It was unused.
3226         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Correct previous
3227         few patches.
3229 1998-05-06 12:51  Ulrich Drepper  <drepper@cygnus.com>
3231         * sysdeps/i386/fpu/bits/mathinline.h (pow): Use long long int for
3232         test for integer.
3234         * sysdeps/libm-i387/e_pow.S: Correctly shift double word.
3235         * sysdeps/libm-i387/e_powl.S: Likewise.
3237 1998-03-31  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
3239         * malloc/malloc.c (chunk2mem_check, top_check): New functions.
3240         (malloc_check, free_check, realloc_check, memalign_check): Use
3241         them to improve overrun checking.  Overruns of a single byte and
3242         corruption of the top chunk are now detected much more reliably.
3244 1998-05-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3246         * math/libm-test.c (pow_test): Add test for special value from PR
3247         libc/590.
3249 1998-05-06  Ulrich Drepper  <drepper@cygnus.com>
3251         * sysdeps/unix/sysv/linux/bits/errno.h: Undefine EILSEQ before
3252         including linux/errno.h.
3254 1998-05-06 09:49  Ulrich Drepper  <drepper@cygnus.com>
3256         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Add LFS support.
3257         Use correct types.
3258         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: New file.
3259         * sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: New file.
3261 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3263         * Makerules (elide-routines.*): Fix assignments.
3264         (do-makelib): Fix typo.
3265         ($(subdirs-stamps)): Depend on $(objpfx)stamp.* if in parent
3266         makefile.
3268 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3270         * Makefile (sysdep-subdirs, subdirs, $(common-objpfx)sysd-dirs,
3271         $(objpfx)sysd-dirs): Move them...
3272         * Makeconfig: ... here.
3273         * Makerules (subdirs-stamps, subdirs-stamp-o): Always define.
3274         (stubs): Fix circular depedency.
3275         (do-makelib): Clean up.
3276         (lib): Don't depend on lib-noranlib.
3277         ($(objpfx)stamp.oS): Remove special case for empty
3278         static-only-routines.
3279         (elide-routines.o): Add $(static-only-routines).
3280         (elide-routines$o): Define this instead of elide-routines.$o.
3281         * manual/Makefile (stubs): Fix circular dependency.
3283 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3285         * libio/Makefile (routines): Remove duplicate oldiofclose.
3287 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
3289         * string/strcoll.c: Use uint32_t instead of u_int32_t.
3291 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
3293         * libio/stdio.h: Fix typo in __REDIRECT.
3294         * io/sys/stat.h: Likewise.
3295         Reported by Myles Uyema <myles@uyema.nws.net>.
3297 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3299         * locale/programs/localedef.c (options): Fix help message.
3301 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
3303         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Avoid nasty
3304         relocations.  Patch by Joe Keane <jgk@jgk.org>.
3306 1998-05-04 12:40  Ulrich Drepper  <drepper@cygnus.com>
3308         * malloc/malloc.c (ptmalloc_init_all): New function.  Similar to
3309         ptmalloc_unlock_all, but re-initializes the mutexes instead.
3310         (ptmalloc_init): Use new function in thread_at_fork call.
3311         (thread_atfork_static): Likewise.
3312         Suggested by Wolfram Gloger and Xavier Leroy.
3314 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
3316         * signal/signal.h: Move definitions of struct sigstack and
3317         struct sigaltstack into separate file and include it.
3318         * sysdeps/generic/bits/sigstack.h: New file.
3319         * sysdeps/unix/sysv/linux/bits/sigstack.h: New file.
3320         * signal/Makefile (headers): Add bits/sigstack.h.
3322 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3324         * elf/rtld.c (dl_main): Fix check for number of references to
3325         interpreter object.
3327 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3329         * elf/rtld.c (dl_main): Check has_interp after executing platform
3330         specific code.
3332 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3334         * iconvdata/run-iconv-test.sh: Fix typo.
3336 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3338         * Makerules (+depfiles): Add depfiles for $(tests-static).
3339         Simplified.
3341 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3343         * manual/terminal.texi (Special Characters): Fix description of
3344         c_cc indexes.
3346 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3348         * sysdeps/unix/sysv/linux/tcsetattr.c: Use memcpy to copy the c_cc
3349         array.
3350         * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise.  Initialize rest
3351         of c_cc array.
3353 1998-04-30 14:15  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3355         * sysdeps/unix/sysv/linux/netrose/rose.h: Don't include kernel headers.
3357 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
3359         * intl/locale.alias: Update russian entry.
3361 1998-05-01 21:54  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3363         * Makerules (static-only-routines): Reimplement in terms of
3364         elide-routines.os.
3365         (shared-only-routines): Reimplement in terms of
3366         elide-routines.X [where X is all object-suffixes except .os].
3368         (stubs): Create stubs file inside the subdir.
3369         (common-mostlyclean): Remove stubs file from inside the subdir.
3370         * Makefile (subdir-stubs): Look for stubs files inside the
3371         subdirs.
3372         * manual/Makefile (stubs): Create dummy stubs file inside the
3373         subdir.
3375 1998-05-01 21:01  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3377         Build speed improvement: make ar less of a bottleneck.
3379         * Makerules (stamp$o): Just record the object list for later
3380         use.
3381         (libc_foo.a): New rule, depends on subdir stamp files; builds
3382         and ranlibs the library from the lists saved in those files.
3384         (subdirs-stamps): Define also if subdir == elf (FIXME: kludge).
3385         (subdirs-stamp-o): Likewise.
3387         (ar-symtab-name): Delete variable.
3388         (lib%.a): Delete target.
3389         (libc_foo.a(bar.%)): Delete target.
3390         (libc_foo.a($(ar-symtab-name))): Delete target.
3392         (objects objs): Just depend on libobjs and extra-objs.
3393         (libobjs): Depend on the stamp files, not the objects.
3394         (extra-objs): New target, just depends on the extra-objs list.
3396         (CREATE_ARFLAGS): Kill the `ar S' hack.
3398         * config.make.in (have-ar-S): Deleted.
3399         * configure.in: Delete test for `ar S'.  Add test to determine
3400         whether ranlib does anything useful.
3402 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
3404         * inet/tst-ether_aton.c: Include <stdio.h>.
3406 1998-04-30 16:45  Ulrich Drepper  <drepper@cygnus.com>
3408         * inet/ether_aton.c: Including netinet/if_ether.h is not necessary.
3410         * locale/Makefile (distribute): Add programs/repertoire.h.
3411         (localedef-modules): Add repertoire.
3412         (CPPFLAGS): Define REPERTOIREMAP_PATH.
3413         * locale/programs/repertoire.c: New file.
3414         * locale/programs/repertoire.h: New file.
3415         * locale/programs/charmap.c: Starting fixing character set handling
3416         to handle multi-byte encodings.
3417         * locale/programs/charset.c: Likewise.
3418         * locale/programs/charset.h: Likewise.
3419         * locale/programs/ld-collate.c: Likewise.
3420         * locale/programs/ld-ctype.c: Likewise.
3421         * locale/programs/linereader.c: Likewise.
3422         * locale/programs/localedef.c: Likewise.
3423         * locale/programs/locfile-kw.gperf: Likewise.
3424         * locale/programs/locfile-kw.h: Likewise.
3425         * locale/programs/locfile-token.h: Likewise.
3426         * locale/programs/locfile.h: Likewise.
3427         * locale/programs/stringtrans.c: Likewise.
3429         * locale/programs/locfile.c: Interpret I18NPATH value as base of
3430         path, extended with "/locales/".
3432 1998-04-18  Philip Blundell  <Philip.Blundell@pobox.com>
3434         * sysdeps/arm/memset.S: Fix off by one error.
3436         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): On error, call
3437         __syscall_error rather than syscall_error directly.
3439 1998-04-17  Philip Blundell  <Philip.Blundell@pobox.com>
3441         * sysdeps/unix/sysv/linux/arm/mmap.S: New file; implementation of
3442         mmap() syscall for ARM.
3444         * sysdeps/unix/arm/start.c: New file; startup code for ARM a.out
3445         binaries.
3447 1998-04-30  Ulrich Drepper  <drepper@cygnus.com>
3449         * locale/programs/localedef.c: Recognize repertoire-map option.
3451 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
3453         * locale/programs/linereader.c (get_toplvl_escape): Fix typo in
3454         converting non-hex numbers.
3455         Patch by Won Kyu Park <bird@bird.kitel.co.kr>.
3457 1998-04-23 07:31  H.J. Lu  <hjl@gnu.org>
3459         * resolv/inet_addr.c (inet_aton): Use __strtoul_internal to
3460         check overflow.
3461         * resolv/Makefile (tests): New, add tst-aton.
3462         * resolv/tst-aton.c: New file.
3464 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
3466         * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Add missing
3467         semicolon.
3469 1998-04-29 12:11  Ulrich Drepper  <drepper@cygnus.com>
3471         * wcsmbs/mbsnrtowcs.c: Remove variable to pass to conversion function
3472         by letting the later modify the variable computing the total directly.
3473         * wcsmbs/mbsrtowcs.c: Likewise.
3474         * wcsmbs/wcsnrtombs.c: Likewise.
3475         * wcsmbs/wcsrtombs.c: Likewise.
3477         * wcsmbs/btowc.c (converted): Rename variable to dummy to make clear
3478         it is not used.
3479         * wcsmbs/wctoc.c: Likewise.
3481         * wcsmbs/mbsrtowcs.c: Optimize a bit more.
3482         * wcsmbs/wcsrtombs.c: Likewise.
3484         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add SIGCLD definition.
3486 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
3488         * iconv/skeleton.c: Correct counting of actually converted
3489         characters.
3491         * intl/localealias.c (read_alias_file): Use unsigned char for
3492         local variables.  Remove unused variable tp.
3493         * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
3494         for type of codeset.  For loosing Solaris systems.
3495         * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
3496         * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
3497         len if not needed.
3498         Patches by Jim Meyering.
3500         * stdio-common/vfprintf.c [%S]: Don't clear mbstate twice;
3501         wcsrtombs must put it into initial state.
3503 1998-04-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3505         * iconv/gconv_simple.c: Fix endian bug.  Don't put side effects in
3506         argument of bswap_XX macro.
3508 1998-04-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3510         * iconvdata/Makefile (EBCDIC-DK-NO-A-routines): Fix typo in
3511         variable name.
3513 1998-04-28  Ulrich Drepper  <drepper@cygnus.com>
3515         * sysdeps/unix/sysv/linux/semctl.c (semctl): Define own union
3516         semun and use stdarg macros to get the value.
3517         * sysdeps/generic/semctl.c: Don't use union semun.
3519         * sysvipc/sys/sem.h: Don't use union semun in semctl prototype.
3521         * string/basename.c [!_LIBC]: Define function as gnu_basename.
3523         * posix/getopt.c [!__GNU_LIBRARY__]: Include string.h or
3524         strings.h.
3526         * stdlib/grouping.h: Accept ungrouped numbers even if locale
3527         defines grouping.
3529         * intl/hash-string.h: Don't include values.h.
3531         * inet/Makefile (tests): Add tst-ether_aton.
3532         * inet/tst-ether_aton.c: New file.
3534         * inet/ether_aton_r.c (ether_aton_r): Preserve high-nibble value
3535         in hex conversion.
3536         * inet/ether_aton.c (ether_aton): Declare result variable static.
3537         Reported by ahyung@unixg.ubc.ca.
3539         * sysdeps/unix/sysv/linux/bits/sem.h: Don't define union semun.
3540         Define macro _SEM_SEMUN_UNDEFINED instead.
3541         Reported by Dirk Laessig <d.laessig@tu-bs.de>.
3543         * stdio-common/tst-wc-printf.c: New file.  Test for %S and %C format.
3544         * stdio-common/Makefile (tests): Add tst-wc-printf.
3546 1998-04-28 16:32  Philip Blundell  <philb@gnu.org>
3548         * manual/stdio.texi (Variable Arguments Output): Correct variable
3549         name.  Patch from Ewan Mellor <em@nexus.co.uk>
3551 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
3553         * intl/dcgettext.c: Remove unneeded definition of
3554         internal_function.
3556 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3558         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use this as target
3559         instead of do-iconv-test.
3560         ($(objpfx)gconv-modules): Define rule only if objpfx is not
3561         empty.
3563 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3565         * string/string.h: Fix feature test.
3567 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3569         * iconvdata/iso646.c (BODY): Don't use character constants that
3570         depend on signedness of char.
3572 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
3574         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdirs)=misc]
3575         (sysdep_routines): Add s_pread64 and s_pwrite64.
3577 1998-04-27 09:54  Ulrich Drepper  <drepper@cygnus.com>
3579         * iconvdata/Makefile (distribute): Remove generated .h files.
3580         * iconvdata/koi8-r.h: Removed.
3581         * iconvdata/latin-greek-1.h: Removed.
3582         * iconvdata/latin-greek.h: Removed.
3584         * iconvdata/testdata/CP1258..UTF8: New iconv test source.
3585         * iconvdata/KOI-8: Likewise.
3586         * iconvdata/KOI-8..UTF8: Likewise.
3587         * iconvdata/KOI8-R: Likewise.
3588         * iconvdata/KOI8-R..UTF8: Likewise.
3590 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3592         * streams/Makefile (headers): Add sys/stropts.h.
3593         * streams/sys/stropts.h: New file.
3595 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3597         * sysdeps/unix/sysv/linux/ttyname.c,
3598         sysdeps/unix/sysv/linux/ttyname_r.c: New files, like
3599         sysdeps/posix/ttyname*.c, but look in /dev/pts first.
3601 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3603         * sysdeps/unix/sysv/linux/ptsname.c: Fix off-by-one bug in second
3604         argument of _itoa_word.
3606 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3608         * sysdeps/unix/sysv/linux/syscalls.list (s_getcwd, s_getdents,
3609         s_pread64, s_pwrite64, s_reboot, s_sigpending, s_sigprocmask): Set
3610         caller to getcwd, getdents, pread64, pwrite64, reboot, sigpending,
3611         sigprocmask, resp., instead of EXTRA.
3613         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3614         s_pread64 and s_pwrite64.
3616 1998-04-26 18:44  Ulrich Drepper  <drepper@cygnus.com>
3618         * iconvdata/Makefile: Correct rules to generate gap table.
3619         * iconvdata/gap.pl: Simplify.
3621         * iconvdata/TESTS: Name new tests.
3622         * iconvdata/testdata/CP1250: New file.
3623         * iconvdata/testdata/CP1250..UTF8: New file.
3624         * iconvdata/testdata/CP1251: New file.
3625         * iconvdata/testdata/CP1251..UTF8: New file.
3626         * iconvdata/testdata/CP1252: New file.
3627         * iconvdata/testdata/CP1252..UTF8: New file.
3628         * iconvdata/testdata/CP1253: New file.
3629         * iconvdata/testdata/CP1253..UTF8: New file.
3630         * iconvdata/testdata/CP1254: New file.
3631         * iconvdata/testdata/CP1254..UTF8: New file.
3632         * iconvdata/testdata/CP1255: New file.
3633         * iconvdata/testdata/CP1255..UTF8: New file.
3634         * iconvdata/testdata/CP1256: New file.
3635         * iconvdata/testdata/CP1256..UTF8: New file.
3636         * iconvdata/testdata/CP1257: New file.
3637         * iconvdata/testdata/CP1257..UTF8: New file.
3639 1998-04-26  Ulrich Drepper  <drepper@cygnus.com>
3641         * iconvdata/Makefile: Add rules for ISO-2022-KR.
3642         * iconvdata/iso-2022-kr.c: New file.
3644         * iconvdata/gconv-modules: Add entry for ISO-2022-JP, ISO-2022-JP-2,
3645         and ISO-2022-KR.
3647 1998-04-25 18:39  Ulrich Drepper  <drepper@cygnus.com>
3649         * iconvdata/Makefile: Use gap method for iso8859-5, iso8859-7,
3650         iso8859-8 and iso8859-10.
3651         * iconvdata/iso8859-5.c: Change to use gap method.
3652         * iconvdata/iso8859-7.c: Likewise.
3653         * iconvdata/iso8859-8.c: Likewise.
3654         * iconvdata/iso8859-10.c: Likewise.
3656         * iconvdata/Makefile: Add rules for ISO-2022-JP module.
3657         * iconv/skeleton.c: Allow END_LOOP do be defined and use it at the
3658         end of the loop.
3659         * iconvdata/iso-2022-jp.c: New file.
3661         * iconvdata/ksc5601.c: Don't use uint16_t to represent byte sequence.
3662         * iconvdata/ksc5601.h: Unify function interfaces.
3663         * iconvdata/euckr.c: Adapt for changed ksc5601.h interface.
3664         * iconvdata/uhc.c: Likewise.
3666         * iconvdata/gb2312.h: Use correct types.
3668         * iconvdata/iso646.c (gconv_open): Correctly initialize the character
3669         size elements of data.
3671 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3673         * string/tst-svc.expect: Adapt for change in .input.
3674         * string/tst-svc.input: More tests.
3676 1998-04-24 17:15  Ulrich Drepper  <drepper@cygnus.com>
3678         * iconvdata/Makefile: Add rules for new modules.
3679         * iconvdata/gconv-modules: Likewise.
3680         * iconvdata/cp737.c: New file.
3681         * iconvdata/cp737.h: New file.
3682         * iconvdata/cp775.c: New file.
3683         * iconvdata/cp775.h: New file.
3684         * iconvdata/cp874.c: New file.
3685         * iconvdata/cp874.h: New file.
3687 1998-04-24 16:30  Ulrich Drepper  <drepper@cygnus.com>
3689         * iconvdata/Makefile: Create target directory before generating
3690         headers.
3692 1998-04-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3694         * misc/sys/cdefs.h (__REDIRECT): Handle systems with non-empty
3695         __USER_LABEL_PREFIX__.
3696         (__ASMNAME, __ASMNAME2): New macros.
3698 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3700         * elf/dl-load.c: Include sys/param.h for MAX.
3702 1998-04-24 21:44  Richard Henderson  <rth@cygnus.com>
3704         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Make
3705         __ftruncate the strong symbol, and add weak alias.
3706         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3708 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3710         * termios/cfsetspeed.c: Make code cleaner and add missing const.
3711         Patch by Joe Keane <jgk@jgk.org>.
3713         * inet/rcmd.c (__ivaliduser): Check buf for being NULL before
3714         free()ing.
3716 1998-04-24 13:56  Ulrich Drepper  <drepper@cygnus.com>
3718         * sysdeps/generic/bits/socket.h: Add #defines for enum values.
3719         Patch by Thomas Bushnell, n/BSG.
3721 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3723         * inet/rcmd.c (iruserok): Initialize hostf variable to NULL.
3725 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3727         * iconvdata/Makefile: Put generated headers in build directory.
3729 1998-04-23 22:43  Ulrich Drepper  <drepper@cygnus.com>
3731         * elf/dl-load.c (fillin_rpath): Handle empty element returned by
3732         strsep as current directory.
3734         * iconv/gconv_builtin.h: Add aliases unicode and unicodebig for
3735         Java.  Add definitions for unicodelittle implementation.
3736         * iconv/gconv_int.h: Add declaration for unicodelittle functions.
3737         * iconv/gconv_simple.c: Define unicodelittle functions.
3739         * iconv/iconv_prog.c: Make program print information about position
3740         of illegal character in input.
3742         * iconv/skeleton.c: Use __strcasecmp instead of __strcasestr for
3743         comparison of charset name.
3744         * iconvdata/big5.c (CHARSET_NAME): Adapt for this.
3745         * iconvdata/ebcdic-at-de-a.c: Likewise.
3746         * iconvdata/ebcdic-at-de.c: Likewise.
3747         * iconvdata/ebcdic-ca-fr.c: Likewise.
3748         * iconvdata/euccn.c: Likewise.
3749         * iconvdata/eucjp.c: Likewise.
3750         * iconvdata/euckr.c: Likewise.
3751         * iconvdata/euctw.c: Likewise.
3752         * iconvdata/hp-roman8.c: Likewise.
3753         * iconvdata/iso6937.c: Likewise.
3754         * iconvdata/iso8859-1.c: Likewise.
3755         * iconvdata/iso8859-10.c: Likewise.
3756         * iconvdata/iso8859-2.c: Likewise.
3757         * iconvdata/iso8859-3.c: Likewise.
3758         * iconvdata/iso8859-4.c: Likewise.
3759         * iconvdata/iso8859-5.c: Likewise.
3760         * iconvdata/iso8859-6.c: Likewise.
3761         * iconvdata/iso8859-7.c: Likewise.
3762         * iconvdata/iso8859-8.c: Likewise.
3763         * iconvdata/iso8859-9.c: Likewise.
3764         * iconvdata/johab.c: Likewise.
3765         * iconvdata/koi-8.c: Likewise.
3766         * iconvdata/koi8-r.c: Likewise.
3767         * iconvdata/latin-greek-1.c: Likewise.
3768         * iconvdata/latin-greek.c: Likewise.
3769         * iconvdata/sjis.c: Likewise.
3770         * iconvdata/t61.c: Likewise.
3771         * iconvdata/uhc.c: Likewise.
3773         * iconvdata/iso646.c: Add support for more ISO 646 variants.
3774         * iconvdata/TESTS: Add tests for ISO646 module.
3775         * iconvdata/gconv-modules: Add new modules.
3776         * iconvdata/testdate/CSA_Z243.4-1985-1: New tests for ISO646 module.
3777         * iconvdata/testdate/CSA_Z243.4-1985-1..UCS2: Likewise.
3778         * iconvdata/testdate/CSA_Z243.4-1985-2: Likewise.
3779         * iconvdata/testdate/CSA_Z243.4-1985-2..UCS4: Likewise.
3780         * iconvdata/testdate/DIN_66003: Likewise.
3781         * iconvdata/testdate/DIN_66003..UTF8: Likewise.
3782         * iconvdata/testdate/DS_2089: Likewise.
3783         * iconvdata/testdate/DS_2089..UTF8: Likewise.
3784         * iconvdata/testdate/ES: Likewise.
3785         * iconvdata/testdate/ES..UTF8: Likewise.
3786         * iconvdata/testdate/ES2: Likewise.
3787         * iconvdata/testdate/ES2..UTF8: Likewise.
3788         * iconvdata/testdate/GB_1988-80: Likewise.
3789         * iconvdata/testdate/GB_1988-80..UTF8: Likewise.
3790         * iconvdata/testdate/IT: Likewise.
3791         * iconvdata/testdate/IT..UTF8: Likewise.
3792         * iconvdata/testdate/JIS_C6220-1969-RO: Likewise.
3793         * iconvdata/testdate/JIS_C6220-1969-RO..UTF8: Likewise.
3794         * iconvdata/testdate/JIS_C6229-1984-B: Likewise.
3795         * iconvdata/testdate/JIS_C6229-1984-B..UTF8: Likewise.
3796         * iconvdata/testdate/JUS_I.B1.002: Likewise.
3797         * iconvdata/testdate/JUS_I.B1.002..UTF8: Likewise.
3798         * iconvdata/testdate/KSC5636: Likewise.
3799         * iconvdata/testdate/KSC5636..UTF8: Likewise.
3800         * iconvdata/testdate/MSZ_7795.3: Likewise.
3801         * iconvdata/testdate/MSZ_7795.3..UTF8: Likewise.
3802         * iconvdata/testdate/NC_NC00-10: Likewise.
3803         * iconvdata/testdate/NC_NC00-10..UTF8: Likewise.
3804         * iconvdata/testdate/NF_Z_62-010: Likewise.
3805         * iconvdata/testdate/NF_Z_62-010..UTF8: Likewise.
3806         * iconvdata/testdate/NF_Z_62-010_1973: Likewise.
3807         * iconvdata/testdate/NF_Z_62-010_1973..UTF8: Likewise.
3808         * iconvdata/testdate/NS_4551-1: Likewise.
3809         * iconvdata/testdate/NS_4551-1..UTF8: Likewise.
3810         * iconvdata/testdate/NS_4551-2: Likewise.
3811         * iconvdata/testdate/NS_4551-2..UTF8: Likewise.
3812         * iconvdata/testdate/PT: Likewise.
3813         * iconvdata/testdate/PT..UTF8: Likewise.
3814         * iconvdata/testdate/PT2: Likewise.
3815         * iconvdata/testdate/PT2..UTF8: Likewise.
3816         * iconvdata/testdate/SEN_850200_B: Likewise.
3817         * iconvdata/testdate/SEN_850200_B..UTF8: Likewise.
3818         * iconvdata/testdate/SEN_850200_C: Likewise.
3819         * iconvdata/testdate/SEN_850200_C..UTF8: Likewise.
3821         * iconvdata/cns11643.h: Use uint32_t instead of wchar_t.
3822         * iconvdata/cns11643l1.h: Likewise.
3823         * iconvdata/latin-greek-1.h: Likewise.
3824         * iconvdata/latin-greek.h: Likewise.
3825         * iconvdata/koi8-r.h: Likewise.
3826         * iconvdata/jis0212.h: Likewise.
3827         * iconvdata/gb2312.h: Likewise.
3828         * iconvdata/ksc5601.h: Likewise.
3830         * iconvdata/8bit-gap.c: Use 32 bit type for idx element of struct gap.
3832         * iconvdata/Makefile: Add rules for lots of more modules.
3833         * iconvdata/cp1250.c: New file.
3834         * iconvdata/cp1251.c: New file.
3835         * iconvdata/cp1252.c: New file.
3836         * iconvdata/cp1253.c: New file.
3837         * iconvdata/cp1254.c: New file.
3838         * iconvdata/cp1255.c: New file.
3839         * iconvdata/cp1256.c: New file.
3840         * iconvdata/cp1257.c: New file.
3841         * iconvdata/ebcdic-dk-no-a.c: New file.
3842         * iconvdata/ebcdic-dk-no.c: New file.
3843         * iconvdata/ebcdic-es-a.c: New file.
3844         * iconvdata/ebcdic-es-s.c: New file.
3845         * iconvdata/ebcdic-es.c: New file.
3846         * iconvdata/ebcdic-fi-se-a.c: New file.
3847         * iconvdata/ebcdic-fi-se.c: New file.
3848         * iconvdata/ebcdic-fr.c: New file.
3849         * iconvdata/ebcdic-is-friss.c: New file.
3850         * iconvdata/ebcdic-it.c: New file.
3851         * iconvdata/ebcdic-pt.c: New file.
3852         * iconvdata/ebcdic-uk.c: New file.
3853         * iconvdata/ebcdic-us.c: New file.
3854         * iconvdata/ibm037.c: New file.
3855         * iconvdata/ibm038.c: New file.
3856         * iconvdata/ibm1004.c: New file.
3857         * iconvdata/ibm1026.c: New file.
3858         * iconvdata/ibm1047.c: New file.
3859         * iconvdata/ibm256.c: New file.
3860         * iconvdata/ibm273.c: New file.
3861         * iconvdata/ibm274.c: New file.
3862         * iconvdata/ibm275.c: New file.
3863         * iconvdata/ibm277.c: New file.
3864         * iconvdata/ibm278.c: New file.
3865         * iconvdata/ibm280.c: New file.
3866         * iconvdata/ibm281.c: New file.
3867         * iconvdata/ibm284.c: New file.
3868         * iconvdata/ibm285.c: New file.
3869         * iconvdata/ibm290.c: New file.
3870         * iconvdata/ibm297.c: New file.
3871         * iconvdata/ibm420.c: New file.
3872         * iconvdata/ibm423.c: New file.
3873         * iconvdata/ibm424.c: New file.
3874         * iconvdata/ibm437.c: New file.
3875         * iconvdata/ibm500.c: New file.
3876         * iconvdata/ibm850.c: New file.
3877         * iconvdata/ibm851.c: New file.
3878         * iconvdata/ibm852.c: New file.
3879         * iconvdata/ibm855.c: New file.
3880         * iconvdata/ibm857.c: New file.
3881         * iconvdata/ibm860.c: New file.
3882         * iconvdata/ibm861.c: New file.
3883         * iconvdata/ibm862.c: New file.
3884         * iconvdata/ibm863.c: New file.
3885         * iconvdata/ibm864.c: New file.
3886         * iconvdata/ibm865.c: New file.
3887         * iconvdata/ibm868.c: New file.
3888         * iconvdata/ibm869.c: New file.
3889         * iconvdata/ibm870.c: New file.
3890         * iconvdata/ibm871.c: New file.
3891         * iconvdata/ibm875.c: New file.
3892         * iconvdata/ibm880.c: New file.
3893         * iconvdata/ibm891.c: New file.
3894         * iconvdata/ibm903.c: New file.
3895         * iconvdata/ibm904.c: New file.
3896         * iconvdata/ibm905.c: New file.
3897         * iconvdata/ibm918.c: New file.
3899         * locale/iso-4217.def: Update.
3900         * localedata/locales/pt_BR: Correct.  Patches by Andreas Jaeger.
3902         * stdio-common/vfscanf.h: Recognize nan and inf in floating-point
3903         formats.
3905 1998-04-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3907         * elf/dl-load.c (_dl_init_paths): ';' is also a terminal for
3908         LD_LIBRARY_PATH.
3910 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
3912         * Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'.
3913         * Makefile: Likewise.
3914         * posix/Makefile: Likewise.
3915         * sysdeps/mach/hurd/Makefile: Likewise.
3917 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
3919         * sysdeps/mach/hurd/bits/dirent.h: New file.
3920         * sysdeps/mach/hurd/readdir64.c: New file.
3921         * sysdeps/mach/hurd/readdir64_r.c: New file.
3923 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
3925         * stdio/stdio.h (vasprintf, __asprintf, asprintf, vdprintf,
3926         dprintf): Synchronize declarations with libio/stdio.h.
3928 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
3930         * elf/dlerror.c (dlerror): Don't assume that
3931         __libc_internal_tsd_get is defined.  __libc_getspecific is already
3932         well-protected, so just use it directly.
3934 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
3936         * io/ftw.h (ftw): Fix typo.
3938 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
3940         * sysdeps/gnu/utmp_file.c: Fix typo.
3942 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3944         * iconvdata/run-iconv-test.sh: Fix more portability bugs.  When
3945         one part of a test fails move on to the next test.
3947 1998-04-24  5:45  Richard Henderson  <rth@cygnus.com>
3949         * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
3951 1998-04-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3953         * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Compare addresses
3954         as pointers, not signed integers.
3956 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3958         * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
3960 1998-04-21 21:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3962         * misc/sys/cdefs.h: New macro __REDIRECT to support changing the
3963         asm symbol name of functions.
3964         * include/features.h: Kill redundant test.
3966         * dirent/dirent.h: Use new macros to implement __USE_FILE_OFFSET64.
3967         * io/ftw.h: Likewise.
3968         * io/sys/stat.h: Likewise.
3969         * io/sys/statfs.h: Likewise.
3970         * io/sys/statvfs.h: Likewise.
3971         * libio/stdio.h: Likewise.
3972         * resource/sys/resource.h: Likewise.
3973         * rt/aio.h: Likewise.
3975         * posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and
3976          __FAVOR_BSD.
3977         * signal/signal.h: Use new macros for BSD vs. SysV signal().
3979         * misc/Makefile: Drop bsd-compat.c.  Make libbsd-compat.a
3980         a dummy library.
3981         * misc/bsd-compat.c: Removed.
3983 1998-04-21 20:32  Ulrich Drepper  <drepper@cygnus.com>
3985         * iconv/loop.c: Allow EXTRA_LOOP_DECLS be defined and use it in
3986         function declaration.
3987         * iconv/skeleton.c: Allow PREPARE_LOOP and EXTRA_LOOP_ARGS be defined
3988         and use them in conversion function.
3989         * iconvdata/Makefile (modules): Re-add ISO6446.
3990         * iconvdata/TEST: Add tests for ASCII variants.
3991         * iconvdata/iso646.c: Rewrite to use loop.c and skeleton.c.
3992         * iconvdata/testdata/ANSI_X3.4-1968: New file.
3993         * iconvdata/testdata/BS_4730: New file.
3994         * iconvdata/testdata/BS_4730..UTF8: New file.
3996 1998-04-21 19:05  Ulrich Drepper  <drepper@cygnus.com>
3998         * iconv/gconv.h (struct gconv_step): Add element stateful.
3999         * iconv/gconv_builtin.c (__gconv_builtin_trans): Initialize stateful
4000         to zero for all internal conversions.
4001         * iconv/skeleton.c: Initialize stateful depending on whether or not
4002         RESET_STATE is defined to one or zero respectively.
4003         * stdlib/mblen.c: Use stateful element of currently selected
4004         converter for result if S is NULL.
4005         * stdlib/mbtowc.c: Likewise.
4006         * stdlib/wctomb.c: Likewise.
4008 1998-04-21 18:00  Ulrich Drepper  <drepper@cygnus.com>
4010         * iconv/gconv.c (__gconv): Remove bogus input buffer size computation.
4012         * iconv/gconv_open.c (__gconv_open): Initialize outbufend element.
4014         * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Don't use
4015         character in comparison with uint32_t.
4016         (__gconv_transform_internal_utf8): Specify MAX_NEEDED_TO.
4017         (__gconv_transform_utf8_internal): Specify MAX_NEEDED_FROM.
4018         Optimize BODY a bit.
4020         * iconv/loop.c: Require MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT to
4021         be defined.
4023         * iconv/skeleton.c: Also reset converted counter in case of an error.
4024         Call reset function using correct value for output buffer start.
4026         * iconvdata/Makefile: Re-enable tests.
4028         * iconvdata/iso8859-1.c: Swap MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT
4029         value for to-conversion.
4031         * iconvdata/TESTS: Add new third column.
4032         * iconvdata/run-iconv-test.sh: Add support for charsets which are
4033         not ASCII based.
4034         * iconvdata/testdata/suntzus: New file.
4036         * elf/dl-minimal.c (__strtol_internal): Increment pointer to string
4037         while reading.  Correctly used base.  Little optimization.
4038         (__strtoul_internal): Likewise.
4040         * elf/rtld.c (dl_main): Test to avoid duplicate call of _dl_init_paths
4041         was wrong.  Use explicit variable.
4043 1998-04-20 23:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4045         * configure.in: Check for awk.
4046         * config.make.in: Add AWK to be substituted.
4048         * manual/xtract-typefun.awk: Rewrite to eliminate gawk extensions.
4049         * manual/users.texi: Fix typo exposed by above rewrite.
4051         * Makefile: Invoke awk using AWK variable.
4052         * csu/Makefile: Likewise.
4053         * elf/Makefile: Likewise.
4054         * mach/Makefile: Likewise.
4055         * manual/Makefile: Likewise.
4056         * sysdeps/gnu/Makefile: Likewise.
4057         * sysdeps/mach/hurd/Makefile: Likewise.
4058         * sysdeps/unix/Makefile: Likewise.
4059         * timezone/Makefile: Likewise.
4061 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
4063         * sysdeps/gnu/errlist.awk (ERR_REMAP): Implement error code to
4064         array index translation.
4065         (SYS_ERRLIST_ALIAS, SYS_NERR_ALIAS): Make weak aliases only if
4066         these are defined.
4068         * sysdeps/mach/hurd/Dist: Add errlist.c to distribution.
4070         * sysdeps/mach/hurd/errlist.c: New file.
4071         (ERR_TRANSLATE): Map Hurd error codes into errlist indices.
4072         (_hurd_errlist): The Hurd error list doesn't have Unix sys_errlist
4073         semantics, so rename it.
4075 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4077         * iconvdata/run-iconv-test.sh: Make portable.  Always test all
4078         conversions.
4080 1998-04-21 12:30  H.J. Lu  <hjl@gnu.org>
4082         * wcsmbs/wcsrtombs.c (__wcsrtombs): Initialize result to 0.
4083         * wcsmbs/wcsnrtombs.c: Likewise.
4085 1998-04-21  Ulrich Drepper  <drepper@cygnus.com>
4087         * sysdeps/generic/dl-sysdep.c: Handle _dl_hwcap correctly.
4089         * wcsmbs/btowc.c (__btowc): Declare inptr as const char *.
4091         * time/strftime.c (my_strftime): Initialize pad variable in
4092         declaration.
4094         * iconvdata/big5.c: Don't use character constants in comparisons
4095         with unsigned value.
4097 1998-04-20 18:00  Ulrich Drepper  <drepper@cygnus.com>
4099         * libc.map: Add __dgettext to GLIBC_2.0 and __libc_longjmp, and
4100         __libc_siglongjmp to GLIBC_2.1.
4102         * elf/dl-minimal.c (__assert_perror_fail): Don't use strerror, use
4103         __strerror_r.
4105         * iconv/Makefile: Don't run tests now.
4107         * iconv/iconv_prog.c (process_block): If loop is repeated, call iconv
4108         with correct output buffer.
4110         Major rewrite of the low-level gconv functionality.
4111         * iconv/gconv.c: Rewritten.
4112         * iconv/gconv.h: Likewise.
4113         * iconv/gconv_builtin.c: Likewise.
4114         * iconv/gconv_builtin.h: Likewise.
4115         * iconv/gconv_conf.c: Likewise.
4116         * iconv/gconv_int.h: Likewise.
4117         * iconv/gconv_open.c: Likewise.
4118         * iconv/gconv_simple.c: Likewise.
4119         * iconv/iconv.c: Likewise.
4120         * iconvdata/8bit-gap.c: Likewise.
4121         * iconvdata/8bit-generic.c: Likewise.
4122         * iconvdata/Makefile: Likewise.
4123         * iconvdata/big5.c: Likewise.
4124         * iconvdata/cns11643.c: Likewise.
4125         * iconvdata/cns11643.h: Likewise.
4126         * iconvdata/cns11643l1.c: Likewise.
4127         * iconvdata/cns11643l1.h: Likewise.
4128         * iconvdata/ebcdic-at-de-a.c: Likewise.
4129         * iconvdata/ebcdic-at-de.c: Likewise.
4130         * iconvdata/ebcdic-ca-fr.c: Likewise.
4131         * iconvdata/euccn.c: Likewise.
4132         * iconvdata/eucjp.c: Likewise.
4133         * iconvdata/euckr.c: Likewise.
4134         * iconvdata/euctw.c: Likewise.
4135         * iconvdata/gb2312.c: Likewise.
4136         * iconvdata/gb2312.h: Likewise.
4137         * iconvdata/hp-roman8.c: Likewise.
4138         * iconvdata/iso646.c: Likewise.
4139         * iconvdata/iso6937.c: Likewise.
4140         * iconvdata/iso8859-1.c: Likewise.
4141         * iconvdata/iso8859-10.c: Likewise.
4142         * iconvdata/iso8859-2.c: Likewise.
4143         * iconvdata/iso8859-3.c: Likewise.
4144         * iconvdata/iso8859-4.c: Likewise.
4145         * iconvdata/iso8859-5.c: Likewise.
4146         * iconvdata/iso8859-6.c: Likewise.
4147         * iconvdata/iso8859-7.c: Likewise.
4148         * iconvdata/iso8859-8.c: Likewise.
4149         * iconvdata/iso8859-9.c: Likewise.
4150         * iconvdata/jis0201.c: Likewise.
4151         * iconvdata/jis0201.h: Likewise.
4152         * iconvdata/jis0208.c: Likewise.
4153         * iconvdata/jis0208.h: Likewise.
4154         * iconvdata/jis0212.c: Likewise.
4155         * iconvdata/jis0212.h: Likewise.
4156         * iconvdata/johab.c: Likewise.
4157         * iconvdata/koi-8.c: Likewise.
4158         * iconvdata/koi8-r.c: Likewise.
4159         * iconvdata/ksc5601.c: Likewise.
4160         * iconvdata/ksc5601.h: Likewise.
4161         * iconvdata/latin-greek-1.c: Likewise.
4162         * iconvdata/latin-greek.c: Likewise.
4163         * iconvdata/run-iconv-test.sh: Likewise.
4164         * iconvdata/sjis.c: Likewise.
4165         * iconvdata/t61.c: Likewise.
4166         * iconvdata/uhc.c: Likewise.
4167         * wcsmbs/btowc.c: Likewise.
4168         * wcsmbs/mbrtowc.c: Likewise.
4169         * wcsmbs/mbsnrtowcs.c: Likewise.
4170         * wcsmbs/mbsrtowcs.c: Likewise.
4171         * wcsmbs/wcrtomb.c: Likewise.
4172         * wcsmbs/wcsmbsload.c: Likewise.
4173         * wcsmbs/wcsnrtombs.c: Likewise.
4174         * wcsmbs/wcsrtombs.c: Likewise.
4175         * wcsmbs/wctob.c: Likewise.
4176         * iconv/loop.c: New file.
4177         * iconv/skeleton.c: New file.
4179         * stdlib/mblen.c: Handle empty input string correctly.
4180         * stdlib/mbtowc.c: Likewise.
4182         * posix/getopt.c: Various cleanups.
4184         * sysdeps/arm/bits/setjmp.h: Add copyright text.
4185         * sysdeps/i386/bits/setjmp.h: Likewise.
4186         * sysdeps/m68k/bits/setjmp.h: Likewise.
4187         * sysdeps/powerpc/bits/setjmp.h: Likewise.
4188         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
4190         * sysdeps/generic/longjmp.c: Rename function to __libc_siglongjmp
4191         and make longjmp weak alias.
4193 1998-04-18 20:29  Philip Blundell  <Philip.Blundell@pobox.com>
4195         * iconv/Makefile (routines): Only include gconv_dl if building for
4196         an ELF system - dynamic linking is not available on a.out.
4197         (CFLAGS-gconv_conf.c): Define STATIC_GCONV if omitting gconv_dl
4198         due to above check.
4199         * iconv/gconv_db.c: If STATIC_GCONV defined, don't try to call
4200         routines from gconv_dl.
4202 1998-04-17  Gordon Matzigkeit  <gord@profitpress.com>
4204         * csu/init.c (_IO_stdin_used): Protect with USE_IN_LIBIO so that
4205         we can compile without libio.
4207 1998-04-20 16:28  Ulrich Drepper  <drepper@cygnus.com>
4209         * sysdeps/mach/hurd/Subdirs: Remove login.
4211 1998-04-11  Gordon Matzigkeit  <gord@profitpress.com>
4213         * db2/compat.h: Include <errno.h>, to make sure we get the
4214         definition of EFTYPE before we define it ourselves.
4216 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
4218         * sysdeps/generic/bits/socket.h: Protect against multiple inclusion.
4219         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
4220         Fix typo to allow inclusion from sys/ioctl.h again.
4222 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4224         * iconvdata/*.[ch]: Clean up namespace.  Optimize character lookup.
4226 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4228         * libc.map: Export __strerror_r.  Remove _strerror_internal.
4230 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4232         * sysdeps/generic/strcasestr.c: Undefine strcasestr, not strstr.
4233         Also undefine __strcasestr.
4235 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4237         * posix/regex.c: Rename __re_max_failures back to re_max_failures,
4238         aliases do not work with global variables due to copy relocations.
4240 1998-04-20 15:12  Ulrich Drepper  <drepper@cygnus.com>
4242         * manual/creature.texi: Fix type.  Patch by Andreas Schwab.
4244 1998-04-20 13:47  Ulrich Drepper  <drepper@cygnus.com>
4246         * signal/sighold.c: Include stddef.h for NULL definition.
4247         * signal/sigrelse.c: Likewise.
4248         * sysdeps/posix/sigignore.c: Likewise.
4249         * sysdeps/posix/sigset.c: Likewise.
4250         * sysdeps/posix/waitid.c: Likewise.
4251         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
4252         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Likewise.
4253         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4254         * wcsmbs/mbsrtowcs.c: Include stdlib.h for MB_CUR_MAX.
4255         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
4257 1998-04-13  Mark Kettenis  <kettenis@phys.uva.nl>
4259         * login/Makefile (headers): Remove utmpx.h and bits/utmpx.h.
4260         * login/getutent.c (getutxent): Remove alias.
4261         * login/getutent_r.c (setutxent, pututxline, endutxent):
4262         Remove aliases.
4263         * login/getutid.c (getutxid): Remove alias.
4264         * login/getutline.c (getutxline): Remove alias.
4265         * login/utmp.h: Add prototypes for __updwtmp, __getutent,
4266         __getutid, __getutline and __pututline.
4267         * login/utmpx.h: Moved to ...
4268         * sysdeps/gnu/utmpx.h: ... here.  [__USE_GNU]: Define UTMPX_FILE,
4269         UTMPX_FILENAME, WTMPX_FILE and WTMPX_FILENAME, declare utmpxname
4270         and updwtmpx.
4271         * login/updwtmp.c: Moved to ...
4272         * sysdeps/generic/updwtmp.c: ... here.  (updwtmp): Generalized by
4273         allowing file name transformation.
4274         * sysdeps/gnu/updwtmp.c: New file.  Use generic implementation with
4275         additional file name transformation.
4276         * sysdeps/unix/sysv/linux/updwtmp.c: Likewise.
4277         * login/utmp_file.c: Moved to ...
4278         * sysdeps/generic/utmp_file.c: ... here.  (setutent_file):
4279         Generalized by allowing file name transformation.  Do not
4280         print error message.  Library functions should not print them.
4281         Reported by Jim Meyering.
4282         * sysdeps/gnu/utmp_file.c: New file.  Use generic implementation
4283         with additional file name transformation.
4284         * sysdeps/unix/sysv/linux/utmp_file.c: Likewise.
4285         * sysdeps/gnu/Makefile [$(subdir)=login] (sysdep_routines): Add
4286         setutxent, getutxent, endutxent, getutxid, getutxid, getutxline,
4287         pututxline, utmpxname and updwtmpx.  (sysdep_headers): Add utmpx.h
4288         and bits/utmpx.h.
4289         * sysdeps/gnu/bits/utmpx.h [__USE_GNU] Include paths.h.
4290         (_PATH_UTMPX): Define to _PATH_UTMP.  (_PATH_WTMPX): Define to
4291         _PATH_WTMPX.  (RUN_LVL): Define only if __USE_GNU.  (ACCOUNTING):
4292         Define if __USE_GNU.
4293         * sysdeps/generic/setutxent.c: New file.
4294         * sysdeps/generic/getutxent.c: New file.
4295         * sysdeps/generic/endutxent.c: New file.
4296         * sysdeps/generic/getutxid.c: New file.
4297         * sysdeps/generic/getutxline.c: New file.
4298         * sysdeps/generic/pututxline.c: New file.
4299         * sysdeps/generic/utmpxname.c: New file.
4300         * sysdeps/generic/updwtmpx.c: New file.
4301         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP_DB): Remove.
4302         * sysdeps/generic/bits/utmpx.h: Remove.
4304 1998-04-20  Ulrich Drepper  <drepper@cygnus.com>
4306         * posix/wordexp-test.c (main): Initialize ifs element of ts for
4307         ~root test.
4309 1998-04-17 07:53  H.J. Lu  <hjl@gnu.org>
4311         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Fix a typo.
4313 1998-04-17 11:32  Ulrich Drepper  <drepper@cygnus.com>
4315         * libio/oldfileops.c (_IO_old_file_seekoff): Define temporary st
4316         variable using _G_stat64.
4317         * libio/fileops.c: Remove macro definition of fstat, it is in the
4318         global header.
4319         Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
4321 1998-04-17  Philip Blundell  <pb@nexus.co.uk>
4323         * sysdeps/arm/strlen.S: New file, based on code by Matthew Wilcox
4324         <willy@odie.barnet.ac.uk>.
4326 1998-04-16  Philip Blundell  <Philip.Blundell@pobox.com>
4328         * inet/netinet/in.h (IN6_IS_ADDR_MC_NODELOCAL): New macro,
4329         required by IPv6 Basic API.
4330         (IN6_IS_ADDR_MC_LINKLOCAL): Likewise.
4331         (IN6_IS_ADDR_MC_SITELOCAL): Likewise.
4332         (IN6_IS_ADDR_MC_ORGLOCAL): Likewise.
4333         (IN6_IS_ADDR_MC_GLOBAL): Likewise.
4335 1998-04-15 16:41  Ulrich Drepper  <drepper@cygnus.com>
4337         Don't name internal representation since it might be different from
4338         the external form (namely on little endian machines).
4339         * iconv/gconv_builtin.h: Add UCS4 support.  Change references to
4340         UCS4 into references to INTERNAL.
4341         * iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters.
4342         Add endianess support to UCS functions.  Change references to
4343         UCS4 into references to INTERNAL.
4344         * iconv/gconv_int.h: Change references to UCS4 into references to
4345         INTERNAL.
4346         * iconv/iconv_prog.c: Don't mention INTERNAL in --list output.
4347         * iconvdata/gconv-modules: Change accordingly.
4348         * wcsmbs/wcsmbsload.c: Change names to use INTERNAL.
4350         * iconv/gconv_simple.c: Adjust input buffer pointer for output buffer
4351         overflow.
4352         * iconvdata/8bit-gap.c: Likewise.
4353         * iconvdata/8bit-generic.c: Likewise.
4354         * iconvdata/big5.c: Likewise.
4355         * iconvdata/euccn.c: Likewise.
4356         * iconvdata/eucjp.c: Likewise.
4357         * iconvdata/euckr.c: Likewise.
4358         * iconvdata/euctw.c: Likewise.
4359         * iconvdata/iso646.c: Likewise.
4360         * iconvdata/iso6937.c: Likewise.
4361         * iconvdata/iso8859-1.c: Likewise.
4362         * iconvdata/johab.c: Likewise.
4363         * iconvdata/sjis.c: Likewise.
4364         * iconvdata/t61.c: Likewise.
4365         * iconvdata/uhc.c: Likewise.
4367         * iconvdata/8bit-gap.c: Correct access to to_ucs4 array.
4368         * iconvdata/8bit-generic.c: Likewise.
4370         * iconvdata/TESTS: Add more tests.
4372         * sysdeps/i386/bits/byteswap.h: Change to use "=r" when ror is used.
4374 1998-04-15 11:47  Ulrich Drepper  <drepper@cygnus.com>
4376         * iconvdata/Makefile: Better rules to run tests.
4378         * iconvdata/testdata/ISO-8859-1..UTF8: New file.
4379         * iconvdata/testdata/ISO-8859-10: Likewise.
4380         * iconvdata/testdata/ISO-8859-10..UCS2: Likewise.
4381         * iconvdata/testdata/ISO-8859-2: Likewise.
4382         * iconvdata/testdata/ISO-8859-2..UCS4: Likewise.
4383         * iconvdata/testdata/ISO-8859-2..UTF8: Likewise.
4384         * iconvdata/testdata/ISO-8859-3: Likewise.
4385         * iconvdata/testdata/ISO-8859-4: Likewise.
4386         * iconvdata/testdata/ISO-8859-5: Likewise.
4387         * iconvdata/testdata/ISO-8859-6: Likewise.
4388         * iconvdata/testdata/ISO-8859-7: Likewise.
4389         * iconvdata/testdata/ISO-8859-8: Likewise.
4390         * iconvdata/testdata/ISO-8859-9: Likewise.
4392 1998-04-15  Ulrich Drepper  <drepper@cygnus.com>
4394         * iconvdata/run-iconv-test.sh: Handle $from..$t file to compare
4395         intermediate result (if available).
4397         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in
4398         last change.
4400         * iconvdata/Makefile: Add rules to run run-iconv-test.sh.
4401         (distribute): Add run-iconv-test.sh and testdata/*.
4403         * stdlib/testmb.c (main): Simplify mbc array handling.
4405 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4407         * elf/dl-minimal.c (__strtol_internal): Correct range check.  Fix
4408         return value on overflow.
4410 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4412         * sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64
4413         bits.
4415 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4417         * malloc/mtrace.c (mtrace): Use standard function setvbuf instead
4418         of non-standard function setbuffer.
4420 1998-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4422         * stdio-common/perror.c: Include <string.h> for __strerror_r.
4424 1998-04-14 23:54  Ulrich Drepper  <drepper@cygnus.com>
4426         * iconvdata/Makefile: Add rules to run tests.
4427         * iconvdata/TESTS: New file.
4428         * iconvdata/run-iconv-test.sh: New file.
4429         * iconvdata/testdata/ISO-8859-1: New file.
4431         * iconv/iconv_prog.c (main): Call process_block with OUTPUT stream,
4432         not stdout.
4434 1998-04-14 18:22  Ulrich Drepper  <drepper@cygnus.com>
4436         * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
4437         counter element of step.
4439         * iconv/gconv_dl.c: Don't mark get_sym as internal function.
4441         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Correct loop
4442         termination test.
4443         (__gconv_transform_ucs4_utf8): Likewise.  Remove unnecessary variable
4444         ACTUALLY.
4445         (__gconv_transform_utf8_ucs4): Correct test for empty input.
4447 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
4449         * Makefile: Include makeconfig before defining rule to regenerate
4450         configure files.
4452         * configure.in: Remove restriction on compiling without static
4453         libs.
4455 1998-04-14 16:34  Ulrich Drepper  <drepper@cygnus.com>
4457         * test-skeleton.c: Provide hook for initializing code before the fork.
4458         * rt/tst-aio.c: Use PREPARE hook to make suer temp files are always
4459         removed.
4461         * libio/fcloseall.c (__fcloseall): Return return value of _IO_cleanup.
4462         * libio/genops.c (_IO_cleanup): Return return value of _IO_flush_all.
4463         * libio/libioP.h: Adopt _IO_cleanup prototype.
4465         * stdlib/Makefile (tests): Add test-canon2.
4466         * stdlib/test-canon2.c: New file.
4467         * stdlib/canonicalize.c (canonicalize): Allow RESOLVED parameter to
4468         be NULL.  Use __lxstat, not __lstat.  Correctly recognize long
4469         symlink sequences.
4470         (__realpath): Make real function which checks RESOLVED parameter for
4471         not being NULL.
4473 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
4475         * catgets/open_catalog.c (__open_catalog): Fix problems with
4476         reading non-files.  Always close file.
4477         Reported by Cristian Gafton <gafton@redhat.com>.
4479         * elf/dl-minimal.c (__strtol_internal): Prevent overflow warnings.
4481 1998-04-14 13:28  Ulrich Drepper  <drepper@cygnus.com>
4483         * libc.map: Add various low-level I/O functions.
4485 1998-04-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
4487         * string/Makefile (routines): Remove strerror_r.
4488         * string/strerror_r.c: Removed.
4489         * string/strerror.c: Call __strerror_r for doing the real work.
4490         * sysdeps/generic/_strerror.c: Rename function to __strerror_r and
4491         add weak alias strerror_r.
4492         * sysdeps/mach/_strerror.c: Likewise.
4493         * assert/assert-perr.c: Use __strerror_r instead of _strerror_internal.
4494         * elf/dl-error.c (_dl_signal_error): Likewise.
4495         * elf/dl-profile.c (_dl_start_profile): Likewise.
4496         * gmon/gmon.c (write_gmon): Likewise.
4497         * stdio-common/perror.c: Likewise.
4498         * stdio-common/vfprintf.c: Likewise.
4500 1998-04-10  Mark Kettenis  <kettenis@phys.uva.nl>
4502         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
4503         (sysdep_headers): Add netatalk/at.h.
4505 1998-04-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4507         * manual/socket.texi, manual/creature.texi, manual/time.texi:
4508         Formatting fixes.
4510 1998-04-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4512         * posix/regex.c: Rename __re_syntax_options back to
4513         re_syntax_options, aliases do not work with global variables due
4514         to copy relocations.
4515         (regex_compile): Use syntax parameter instead of
4516         re_syntax_options.
4518 1998-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4520         * configure.in: Document that enable-force-install is default.
4522 1998-04-13  Ulrich Drepper  <drepper@cygnus.com>
4524         * sysdeps/posix/mktemp.c: Increment `value' in a way which touches
4525         all needed 36 bits.
4526         * sysdeps/posix/mkstemp.c: Likewise.
4528 1998-04-13 17:40  Ulrich Drepper  <drepper@cygnus.com>
4530         * iconvdata/8bit-gap.c: Simplify step data handling.
4531         * iconvdata/8bit-generic.c: Likewise.
4532         * iconvdata/big5.c: Likewise.
4533         * iconvdata/euccn.c: Likewise.
4534         * iconvdata/eucjp.c: Likewise.
4535         * iconvdata/euckr.c: Likewise.
4536         * iconvdata/euctw.c: Likewise.
4537         * iconvdata/iso6937.c: Likewise.
4538         * iconvdata/iso8859-1.c: Likewise.
4539         * iconvdata/jis0208.h: Likewise.
4540         * iconvdata/jis0212.c: Likewise.
4541         * iconvdata/jis0212.h: Likewise.
4542         * iconvdata/johab.c: Likewise.
4543         * iconvdata/ksc5601.h: Likewise.
4544         * iconvdata/sjis.c: Likewise.
4545         * iconvdata/t61.c: Likewise.
4546         * iconvdata/uhc.c: Likewise.
4548 1998-04-13 16:36  Ulrich Drepper  <drepper@cygnus.com>
4550         * manual/texinfo.texi: Updated from last version.
4552 1998-04-13 14:52  Ulrich Drepper  <drepper@cygnus.com>
4554         * iconvdata/cns11643.c: New file.
4555         * iconvdata/cns11643.h: New file.
4556         * iconvdata/cns11643l1.c: New file.
4557         * iconvdata/cns11643l1.h: New file.
4558         * iconvdata/euctw.c: New file.
4559         * iconvdata/Makefile: Add rules for EUC-TW and CNS.
4560         * iconvdata/gconv-modules: Likewise.
4562         * iconvdata/eucjp.c: Several bug fixes and improvements.
4563         * iconvdata/gb2312.h: Likewise.
4564         * iconvdata/jis0201.h: Likewise.
4565         * iconvdata/jis0208.h: Likewise.
4566         * iconvdata/jis0212.h: Likewise.
4568 1998-04-13 09:11  Ulrich Drepper  <drepper@cygnus.com>
4570         * iconvdata/eucjp.c: New file.
4571         * iconvdata/euccn.c: New file.
4572         * iconvdata/gb2312.h: New file.
4573         * iconvdata/gb2312.c: New file.
4574         * iconvdata/Makefile: Add rules for EUC-JP and EUC-CN.
4575         * iconvdata/gconv-modules: Likewise.
4577         * iconvdata/euckr.c: Use stdint.h instead of inttypes.h.
4579 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
4581         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
4582         (DL_FIND_ARG_COMPONENTS): Always initialize auxv.
4583         Patch by Mark Hatle <fray@kernel.crashing.org>.
4585 1998-04-12 22:47  Philip Blundell  <Philip.Blundell@pobox.com>
4587         * sysdeps/unix/sysv/linux/bits/socket.h (PF_APPLETALK): Correct
4588         comment.
4589         (PF_AAL5, AF_AAL5): Rename to *_ATMPVC.
4590         (PF_ATMSVC, PF_ECONET, AF_ATMSVC, AF_ECONET): Added.
4592 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
4594         * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations.
4596         * iconvdata/Makefile: Add rules for big5 conversion.
4597         * iconvdata/gconv-modules: Likewise.
4598         * iconvdata/big5.c: New file.
4600         * time/mktime.c (TYPE_MAXIMUM): Add missing cast.
4601         Patch by Jim Meyering.
4603 1998-04-11  Ulrich Drepper  <drepper@cygnus.com>
4605         * rt/tst-aio.c: Add test for aio_read and lio_listio.
4607         * rt/lio_listio.c: Correct total counter handling.
4609         * rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements
4610         from request queue.
4612         * test-skeleton.c (main): Make stdout unbuffered.  Improve message
4613         of signal on exit even more.
4615         * rt/aio_suspend.c (aio_suspend): Use PTHREAD_COND_INITIALIZER
4616         instead of call to pthread_cond_init.
4617         * rt/lio_listio.c (lio_listio): Likewise.
4618         * rt/lio_listio64.c (lio_listio64): Likewise.
4620         * nis/nis_findserv.c: Include sys/socket.h.
4622 1998-04-11 09:33  Ulrich Drepper  <drepper@cygnus.com>
4624         * Makeconfig (rtobjdir): New variable.
4625         (rpath-link): Add rtobjdir and thread directory, if available.
4627         * test-skeleton.c: Add support to remove temporary files.
4628         Always define test_dir.  Improve message about expected signal.
4630         * rt/Makefile (tests): Add tst-aio.
4631         Add rules for tst-aio to be linked with librt and thread library.
4632         * rt/aio_misc.c: Correct fundamental bugs.
4633         * rt/aio_suspend.c: Correct bug in test for available request.
4634         Initialize conditional variable.
4635         * rt/lio_listio.c: Initialize conditional variable.
4636         * rt/lio_listio64.c: Likewise.
4637         * rt/tst-aio.c: New file.
4639         * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
4640         * sysdeps/libm-ieee754/w_gamma.c: Likewise.  Adopt for ISO C 9x.
4641         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
4642         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
4643         * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
4644         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
4645         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
4647 1998-04-11 14:49  Mark Kettenis  <kettenis@landau.phys.uva.nl>
4649         * posix/regex.c [_LIBC] (__re_syntax_options): Initialize to 0.
4651 1998-04-10  Ulrich Drepper  <drepper@cygnus.com>
4653         * elf/dl-load.c (open_path): Use correct name for test whether
4654         directory in load path exists.
4656         * sysdeps/libm-ieee754/s_expm1.c: Remove variable one.
4657         * sysdeps/libm-ieee754/e_pow.c: Fix typo.
4658         Patches by Tom Rini <trini@kernel.crashing.org>.
4660         * wcsmbs/wcstof_l.c: Declare ____wcstoull_l_internal.
4661         * wcsmbs/wcstod_l.c: Likewise.
4662         * wcsmbs/wcstold_l.c: Likewise.
4664         * include/byteswap.h: New file.
4666         * malloc/mtrace.c (mtrace): Use smaller output buffer to reduce
4667         .bss segment size.  Patch by Joe Keane <jgk@jgk.org>.
4669         * inet/getnameinfo.c (getnameinfo): Change parameter to match
4670         declaration.  Patch by Richard Henderson.
4672 1998-04-10 12:40  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4674         * manual/process.texi (SIGCHLD example): Save errno.
4676 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
4678         * posix/regex.c: Define regerror really as __regerror.
4679         * posix/regex.h: Add __ protected prototypes for regcomp, regexec,
4680         regerror and regfree.
4682         * stdlib/strtof_l.c: Declare ____strtoull_l_internal.
4683         * stdlib/strtod_l.c: Likewise.
4684         * stdlib/strtold_l.c: Likewise.
4686         * intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros.
4688         * sysdeps/i386/i486/bits/string.h: Remove unused variables.
4690         * misc/syslog.c (closelog_internal): Set LogTag to NULL.
4691         Patch by Christian Gafton.
4693 1998-04-09 14:27  Ulrich Drepper  <drepper@cygnus.com>
4695         * manual/socket.texi (Interface Naming): Correct @deftypefun line
4696         for if_indextoname.
4698 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4700         * sysdeps/unix/sysv/linux/bits/sockunion.h: Fix error message.
4702         * manual/socket.texi (Interface Naming): Fix typo.
4704 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4706         * manual/examples/filesrv.c (main): Remove filename first.
4708         * manual/socket.texi (Address Formats): Change ?F_LOCAL, ?F_FILE,
4709         ?F_UNIX.
4711         * manual/examples/mkfsock.c (make_named_socket): Use PF_LOCAL
4712         instead of PF_UNIX.
4714         * manual/examples/filecli.c (main): Use AF_LOCAL
4715         instead of AF_UNIX.
4717 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
4719         * sysdeps/libm-ieee754/s_signgam.c: Define __signgam and make
4720         signgam weak alias.
4721         * sysdeps/libm-ieee754/w_lgamma.c: Use __signgam not signgam.
4722         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
4723         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
4724         * sysdeps/libm-ieee754/w_gamma.c: Likewise.
4725         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
4726         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
4728         * login/utmp_daemon.c (open_socket): Use __connect not connect.
4730 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4732         * configure.in: Add new option --enable-force-install.  Substitute
4733         force_install.
4734         * config.make.in (force-install): Set from configure.
4735         * Makerules (force-install): New phony target.
4736         * Makeconfig (+force): New variable.
4737         * Makefile: Use it in dependency list of installation targets.
4738         * db/Makefile: Likewise.
4739         * db2/Makefile: Likewise.
4740         * elf/Makefile: Likewise.
4741         * hurd/Makefile: Likewise.
4742         * iconv/Makefile: Likewise.
4743         * iconvdata/Makefile: Likewise.
4744         * intl/Makefile: Likewise.
4745         * localedata/Makefile: Likewise.
4746         * login/Makefile: Likewise.
4747         * po/Makefile: Likewise.
4748         * sunrpc/Makefile: Likewise.
4749         * sysdeps/mach/hurd/Makefile: Likewise.
4750         * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise.
4751         * sysdeps/unix/sysv/linux/Makefile: Likewise.
4752         * timezone/Makefile: Likewise.
4754 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4756         * sysdeps/unix/sysv/linux/getcwd.c: Use PATH_MAX as default
4757         alloc_size.  Pass return value of getcwd syscall to realloc.
4759 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4761         * manual/socket.texi: Spelling fixes.
4763 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4765         * elf/dl-load.c (print_search_path): Remove unused variable.
4767 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
4769         * login/utmp_file.c: use __ftruncate not ftruncate.
4770         * sysdeps/unix/common/syscalls.list: Add __ftruncate as real name
4771         for system call and make ftruncate weak alias.
4772         * posix/unistd.h: Add prototype for __ftruncate.
4773         * login/utmp_daemon.c (open_socket): Use __socket not socket.
4774         * nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv
4775         instead of snprintf and readv.
4776         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not
4777         snprintf.
4778         * stdlib/strtod.c: Call strtoull/wcstoull's internal functions
4779         directly.
4781 1998-04-08 20:06  Ulrich Drepper  <drepper@cygnus.com>
4783         * iconv/gconv_conf.c (__gconv_read_conf): Use __realpath not realpath.
4784         * iconv/gconv_db.c: Use __ protected regex functions.
4785         * iconv/gconv_simple.c: Use __mbsinit not mbsinit.
4786         * posix/getopt_init.c: Use __getpid not getpid.
4787         * posix/regex.c: Rename all global functions to start with __ and
4788         make old names weak aliases.
4789         * posix/regex.h: Adopt prototypes for this.
4790         * stdlib/canonicalize.c: Define __realpath, make canonicalize_file_name
4791         a weak alias and use __getcwd instead of getcwd.
4792         * stdlib/stdlib.h: Declare __realpath and __canonicalize_file_name.
4793         * stdlib/strtod.c: Use __btowc instead of btowc.
4794         * stdlib/strtol.c: Likewise.
4795         * sysdeps/libm-ieee754/s_matherr.c: Weaken definition of matherr.
4796         * sysdeps/unix/sysv/linux/errlist.c: Make sure definitions of sys_nerr
4797         and sys_errlist are weak.
4798         * wcsmbs/btowc.c: Define function as __btowc and make btowc weak alias.
4799         * wcsmbs/mbrtowc.c: Use __mbsinit not mbsinit.
4800         * wcsmbs/mbsnrtowcs.c: Likewise.
4801         * wcsmbs/mbsrtowcs.c: Likewise.
4802         * wcsmbs/wcsnrtombs.c: Likewise.
4803         * wcsmbs/wcsrtombs.c: Likewise.
4804         * wcsmbs/mbsinit.c: Define function as __mbsinit and make mbsinit
4805         weak alias.
4806         * wcsmbs/wchar.h: Declare __btowc and __mbsinit.
4807         * wctype/wctype.c: Define function as __wctype and make wctype
4808         weak alias.
4809         * wctype/wctype.h: Declare __wctype.
4811 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
4813         * stdio-common/vfscanf.c: Perform test in %l[ handling correctly.
4815 1998-04-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4817         * sysdeps/unix/sysv/linux/_G_config.h (_G_stat64): Define to
4818         stat64.
4819         (_G_OPEN64, _G_LSEEK64, _G_FSTAT64): Use namespace clean
4820         functions.
4821         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __lseek64 alias
4822         for __llseek.
4823         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4824         * sysdeps/unix/sysv/linux/llseek.c: Likewise.
4825         * sysdeps/generic/lseek64.c (lseek64): Rename to __lseek64, and
4826         make it a weak alias.
4827         * posix/unistd.h: Declare __lseek64.
4829         * libio/fileops.c (fstat) [_LIBC]: Use namespace clean function.
4830         (_IO_file_stat): Fix typo.
4831         (_IO_file_xsgetn): Update fd->_offset.  Read a multiple of the
4832         block size from the file.  Use __mempcpy if _LIBC.
4834 1998-04-07 20:32  Ulrich Drepper  <drepper@cygnus.com>
4836         * wcsmbs/btowc.c: Fix dozends of bugs in untested code.
4837         * wcsmbs/mbrtowc.c: Likewise.
4838         * wcsmbs/mbsnrtowcs.c: Likewise.
4839         * wcsmbs/mbsrtowcs.c: Likewise.
4840         * wcsmbs/wcrtomb.c: Likewise.
4841         * wcsmbs/wcsnrtombs.c: Likewise.
4842         * wcsmbs/wcsrtombs.c: Likewise.
4843         * wcsmbs/wctob.c: Likewise.
4845         * iconv/gconv-simple.c (__gconv_transform_ascii_ucs4): Compute
4846         position of next output character correctly.
4847         (__gconv_transform_ucs4_ascii): Count used input bytes correctly.
4849         * stdio-common/vfprintf.c (vfprintf): Clear state before used.
4851         * stdlib/strtod.c: Don't use mbtowc.
4853 1998-04-07 19:07  H.J. Lu  <hjl@gnu.org>
4855         * libio/fileops.c (_IO_file_xsgetn): Call __underflow () when
4856         what we want is smaller than a buffer.
4858 1998-04-07 18:14  Ulrich Drepper  <drepper@cygnus.com>
4860         * elf/dl-support.c (_dl_important_hwcaps): Define dummy version of
4861         this function.
4863 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
4865         * configure.in: Recognize --with-headers flag and determine
4866         commandline options to be used in compilation.
4867         * Makeconfig (+includes): Use $(sysincludes).
4868         * config.make.in (sysincludes): Define from SYSINCLUDES.
4869         * glibcbug.in: Use SYSINCLUDES information.
4870         Patches by Zack Weinberg.
4872 1998-04-07 19:03  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4874         * glibcbug.in: On linux, report version of kernel headers seen
4875         by compiler.
4877 1998-04-07 16:18  Ulrich Drepper  <drepper@cygnus.com>
4879         * libc.map: Add __asprintf to GLIBC_2.1.
4880         * elf/dlerror.c: Use __asprintf, not asprintf.
4881         * libio/stdio.h: Declare __asprintf.
4882         * stdio-common/asprintf.c: Define as __asprintf and make asprintf
4883         a weak alias.
4885         * elf/dl-minimal.c: Add definition of strtol and strtoul (und friends)
4886         to avoid inclusion from libc_pic.a.
4888         * elf/dl-runtime.c: Undo last patch.
4890         * stdlib/strtod.c: Don't use mbtowc, use btowc.
4892         * sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386"
4893         as default, use NULL.
4895 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4897         * resolv/Makefile: Include ../Makeconfig - needed for building
4898         static NSS module.
4900 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4902         * hesiod/Makefile (libnss_hesiod-inhibit-o): Remove condition for
4903         static-nss since we don't want hesiod in the static NSS.
4905         * nss/Makefile: Build only nss_files as static.
4907         * nss/function.def: Remove support for service db.
4909 1998-04-04 09:44  H.J. Lu  <hjl@gnu.org>
4911         * Makeconfig (CPPFLAGS-.oS): Add -DPIC.
4913 1998-04-04 18:29  Tim Waugh  <tim@cyberelk.demon.co.uk>
4915         * posix/wordexp-test.c: Make IFS per test-case.
4917 1998-04-07 17:50  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4919         * glibcbug.in: Report version of gcc in use.  Remove unused variable
4920         ENVIRONMENT.
4922 1998-04-07  Gordon Matzigkeit  <gord@profitpress.com>
4924         * aclocal.m4 (LIBC_PROG_BINUTILS): Use `-print-prog-name', not
4925         `-print-file-name' to find as and ld.
4927 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
4929         * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case
4930         template is wrong.  Remove unused varaible `ignored'.
4932 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4934         * libc.map: Export __libc_sa_len.
4936         * iconv/gconv_conf.c (MAXPATHLEN): Define correctly.
4938 1998-04-07 08:51  Ulrich Drepper  <drepper@cygnus.com>
4940         * iconv/gconv.c: Take care for NULL arguments.
4941         * iconv/gconv_dl.c: Make find_func function global.
4942         * iconv/gconv_int.h: Add prototype for __gconv_find_func.
4943         Add prototypes for ASCII conversion functions.
4944         * iconv/gconv_simple.c: Add ASCII conversion functions.
4945         * locale/C-ctype.c: Correct charset name.
4947         * wcsmbs/Makefile (distribute): Add wcsmbsload.h.
4948         (routines): Remove wmemrtowcs and wmemrtombs, add wcsnlen and
4949         wcsmbsload.
4950         * wcsmbs/btowc.c: Rewrite to use iconv functionality.
4951         * wcsmbs/mbrtowc.c: Likewise.
4952         * wcsmbs/mbsnrtowcs.c: Likewise.
4953         * wcsmbs/mbsrtowcs.c: Likewise.
4954         * wcsmbs/wcrtomb.c: Likewise.
4955         * wcsmbs/wcsnrtombs.c: Likewise.
4956         * wcsmbs/wcsrtombs.c: Likewise.
4957         * wcsmbs/wctob.c: Likewise.
4958         * wcsmbs/wchar.h: Add prototype for __wcslen, wcsnlen.  Remove
4959         prototypes for wmemr*.
4960         * wcsmbs/wcslen.c: Rename to __wcslen and make wcslen weak alias.
4961         * wcsmbs/wcsnlen.c: New file.
4962         * wcsmbs/wcsmbsload.c: New file.
4963         * wcsmbs/wcsmbsload.h: New file.
4965         * manual/filesys.texi: Mention risks of tmpnam and mktemp.
4967         * manual/install.texi: Describe some more critical points.
4969         * string/string.h: Add prototype for __strnlen.
4970         * string/strnlen.c: Rename to __strnlen and make strnlen weak alias.
4972         * sysdeps/posix/mktemp.c: Rewrite to allow many more files and
4973         much less predictable names.
4974         * sysdeps/posix/mkstemp.c: Likewise.
4976 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4978         * manual/libc.texinfo (Top): Change "file namespace" to "local
4979         namespace".
4981         * manual/socket.texi: Change file namespace to local namespace.
4982         (Out-of-Band Data): Remove unneeded variable link.
4983         (Host Address Functions): Use uint32_t consequently and add a
4984         number of clarifications for IPv4/IPv6, classless addresses.
4985         (Internet Namespace): Added some paragraphs about IPv6.
4986         Based on suggestions by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
4988 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
4990         Update for draft-ietf-ipngwg-bsd-api-new-01.txt:
4992         * resolv/netdb.h (getnameinfo): Use `socklen_t' not `size_t'.
4993         (NI_NUMERICHOST, et al.): Tidy up and add comments.
4994         (AI_NUMERICHOST): Define.
4995         (getnodebyname): New prototype.
4996         (AI_V4MAPPED, et al.): New constants.
4998         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro.
4999         * sysdeps/generic/bits/sockaddr.h (SA_LEN): Likewise.
5000         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add sa_len
5001         for socket.
5002         * sysdeps/unix/sysv/linux/sa_len.c: New file.
5003         * sysdeps/unix/sysv/linux/Dist: Add sa_len.c.
5005         * sysdeps/unix/sysv/linux/bits/socket.h: Make multiple #inclusion safe.
5007         * sysdeps/generic/bits/sockunion.h: New file, defining sockaddr_union.
5008         * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.
5009         * socket/Makefile (headers): Add bits/sockunion.h.
5010         * socket/sys/socket.h: Include <bits/sockunion.h>
5011         * inet/netinet/in.h: Include <bits/sockaddr.h> rather than
5012         <sys/socket.h>, to avoid getting sockaddr_union defined.
5013         * sysdeps/generic/bits/socket.h: Allow inclusion from netinet.in.h.
5014         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5015         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
5017         * sysdeps/unix/sysv/linux/if_index.c: Remove use of SIOCGIFCOUNT
5018         (2.2.x kernels won't have it).
5020 1998-04-06 21:21  Ulrich Drepper  <drepper@cygnus.com>
5022         * sysdeps/mach/hurd/bits/ioctls.h: Allow inclusion from hurd/ioctl.h.
5023         * sysdeps/mach/hurd/dl-sysdep.c: Use __ptr_t not caddr_t.
5024         * iconv/gconv_conf.c: Define MAXPATHLEN if not available before.
5025         Patches by UCHIYAMA Yasushi <uch@nop.or.jp>.
5027 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
5029         * manual/socket.texi (Socket Addresses): Fix a typo.
5030         (Interface Naming): New section.
5032 1998-04-05 23:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5034         * configure.in: Check for CC using $ac_tool_prefix, to handle
5035         cross-compilation.  Use AC_CHECK_TOOL to find MiG.
5036         * config.make.in: Add MIG to be substituted.
5037         * mach/Machrules: Don't define MIG variable.
5039         Patch by Gordon Matzigkeit <gord@profitpress.com>.
5041 1998-04-05  Mark Kettenis  <kettenis@phys.uva.nl>
5043         * elf/dl-load.c (decompose_rpath): Use local_strdup instead of
5044         strdupa to copy rpath.
5046 1998-04-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5048         * configure.in: Fix gcc version check.
5050         * aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less
5051         confusing.
5053 1998-03-31  Mark Kettenis  <kettenis@phys.uva.nl>
5055         * sysdeps/unix/bsd/unlockpt.c (unlockpt): Call __ptsname_r instead
5056         of ptsname_r.
5058         * stdlib/stdlib.h: Change prototype of ptsname_r to make it more
5059         like ttyname_r.
5060         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Likewise.
5061         * sysdeps/generic/ptsname.c (__ptsname_r): Likewise.
5062         * sysdeps/unix/grantpt.c (grantpt): Change check of return value
5063         of __ptsname_r accordingly.
5064         * login/openpty.c (openpty): Likewise.
5066 1998-06-04 18:47  H.J. Lu  <hjl@gnu.org>
5068         * libio/fileops.c (_IO_file_xsgetn): Adjust pointers.
5070 1998-04-06 13:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5072         * Makeconfig (libtypes): Redo H.J. Lu's change of 1998-03-27.
5074         * Makerules: Re-add missing rule for $(objpfx)stamp.oS.
5076 1998-04-06  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5078         * nis/ypclnt.c: Don't give YPERR_RPC back, use the do_ypcall
5079         return value for better error checking.
5081 1998-04-06  Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
5083         * elf/dl-runtime.c (fixup, profile_fixup): The final arg to
5084         _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT.
5086         * elf/elf.h (EM_SPARC64): Remove.
5087         (EM_SPARC32PLUS, EM_SPARCV9): Add.
5088         (HWCAP_SPARC_V9): Add.
5090         * elf/ldsodefs.h (_dl_hwcap): Declare.
5091         * sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask):
5092         Weaken so dlopen from static progies works.
5093         (WEAKADDR): New macro.
5094         (elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu.
5095         (LD_SO_PRELOAD): New macro.
5096         (elf_machine_fixup_plt): Cope with weak _dl_hwcap.
5097         (elf_machine_rela): Weaken _dl_rtld_map.
5099         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone
5100         to __clone, and remove the later's alias.
5101         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
5103         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from
5104         the kernel's structure.
5106         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file.
5107         Sparc needs a custom value of __KERNEL_NCCS.
5109 1998-04-06  Richard Henderson  <rth@cygnus.com>
5111         * sysdeps/generic/libc-start.c: Allow init and fini to be null.
5113         * sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main.
5114         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5116 1998-04-06  Richard Henderson  <rth@cygnus.com>
5118         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change,
5119         as the buffer is not properly aligned.
5120         Reported by Juan Cespedes <cespedes@debian.org>.
5122 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5124         * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL
5125         instead of AF_FILE.
5127 1998-04-05  Ulrich Drepper  <drepper@cygnus.com>
5129         * iconv/gconv_simple.c: Rewrite to not make use of the mb*towc*
5130         and wc*tomb* functions.
5132 1998-04-04 15:16  Philip Blundell  <Philip.Blundell@pobox.com>
5134         * sysdeps/unix/start.c: Fix typo.
5136 1998-04-04  Ulrich Drepper  <drepper@cygnus.com>
5138         * iconv/gconv_db.c (__gconv_find_transform): Fix typo.
5140 1998-04-03 23:38  Ulrich Drepper  <drepper@cygnus.com>
5142         * sysdeps/libm-ieee754/e_acos.c: Optimize by splitting large
5143         expressions and using array variables.
5144         * sysdeps/libm-ieee754/e_asin.c: Likewise.
5145         * sysdeps/libm-ieee754/e_j0.c: Likewise.
5146         * sysdeps/libm-ieee754/e_j1.c: Likewise.
5147         * sysdeps/libm-ieee754/e_log.c: Likewise.
5148         * sysdeps/libm-ieee754/e_pow.c: Likewise.
5149         * sysdeps/libm-ieee754/k_cos.c: Likewise.
5150         * sysdeps/libm-ieee754/k_sin.c: Likewise.
5151         * sysdeps/libm-ieee754/k_tan.c: Likewise.
5152         * sysdeps/libm-ieee754/s_atan.c: Likewise.
5153         * sysdeps/libm-ieee754/s_erf.c: Likewise.
5154         * sysdeps/libm-ieee754/s_expm1.c: Likewise.
5155         * sysdeps/libm-ieee754/s_log1p.c: Likewise.
5156         Patch by Naohiko Shimizu <nshimizu@et.u-tokai.ac.jp>.
5158 1998-04-03 23:17  Ulrich Drepper  <drepper@cygnus.com>
5160         * iconv/gconv.c: Rewrite of the low-level of gconv.
5161         * iconv/gconv.h: Likewise.
5162         * iconv/gconv_builtin.h: Likewise.
5163         * iconv/gconv_close.c: Likewise.
5164         * iconv/gconv_db.: Likewise.
5165         * iconv/gconv_dl.c: Likewise.
5166         * iconv/gconv_int.h: Likewise.
5167         * iconv/gconv_open.c: Likewise.
5168         * iconv/gconv_simple.c: Likewise.
5169         * iconvdata/8bit-gap.c: Adapt for rewrite.
5170         * iconvdata/8bit-generic.c: Likewise.
5171         * iconvdata/euckr.c: Likewise.
5172         * iconvdata/iso646.c: Likewise.
5173         * iconvdata/iso6937.c: Likewise.
5174         * iconvdata/iso8859-1.c: Likewise.
5175         * iconvdata/johab.c: Likewise.
5176         * iconvdata/sjis.c: Likewise.
5177         * iconvdata/t61.c: Likewise.
5178         * iconvdata/uhc.c: Likewise.
5180 1998-04-03 15:34  Ulrich Drepper  <drepper@cygnus.com>
5182         * iconv/gconv_int.h: New file.  Internal header.
5183         * iconv/Makefile (distribute): Add gconv_int.h.
5184         * iconv/gconv.h: Remove definition which are now in gconv_int.h.
5185         * iconv/gconv_builtin.c: Adopt for gconv_int.h introduction.
5186         * iconv/gconv_close.c: Likewise.
5187         * iconv/gconv_conf.c: Likewise.
5188         * iconv/gconv_db.c: Likewise.
5189         * iconv/gconv_dl.c: Likewise.
5190         * iconv/gconv_int.h: Likewise.
5191         * iconv/gconv_open.c: Likewise.
5192         * iconv/iconv.c: Likewise.
5193         * iconv/iconv_close.c: Likewise.
5194         * iconv/iconv_open.c: Likewise.
5195         * iconv/iconv_prog.c: Likewise.
5197 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
5199         * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the
5200         missing braces.
5202 1998-04-03  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5204         * nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags.
5206 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
5208         Based on patch from Pat Beirne:
5209         * sysdeps/unix/sysv/linux/arm/sysdep.S (__syscall_error): Same for
5210         PIC and non-PIC now.  Correctly negate error number.
5211         (errno): Use `%' not `@' in .type directives.
5213 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
5215         * sysdeps/i386/strtok.S: Change to use single exit point.
5216         * sysdeps/i386/i686/strtok.S: Likewise.
5218 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5220         * sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide
5221         default.
5223 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5225         * Makerules (installed-libcs): Fix typo.
5227 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5229         * iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC.
5230         (UHC-routines): Remove ksc5601.
5232 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
5234         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo
5235         introduced in last change.
5237 1998-04-03 06:22  Ulrich Drepper  <drepper@cygnus.com>
5239         * sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels
5240         before 2.1.92.
5242 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
5244         * sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry.
5246         * stdlib/isomac.c: Use -isystem instead of -I for system include
5247         dir.
5249 1998-03-30 08:05  H.J. Lu  <hjl@gnu.org>
5251         * resolv/res_comp.c (underscorechar): New.
5252         (middlechar): Allow '_'.
5254 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
5256         * intl/explodename.c (stdlib.h): Include that file only if
5257         STDC_HEADERS or _LIBC.
5258         (string.h): Include that file only if HAVE_STRING_H or _LIBC.
5259         Patch by Philippe De Muyter <phdm@macqel.be>.
5261 1998-04-01 21:08  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5263         * aclocal.m4 (AC_PROG_CC_LOCAL): Remove superfluous tests.
5264         (AC_PROG_CHECK_VER): New macro.
5265         * configure.in: Use AC_PROG_CHECK_VER to check versions of
5266         gcc, gmake, msgfmt, makeinfo.  Remove superfluous tests.
5268 1998-04-02 15:13  Ulrich Drepper  <drepper@cygnus.com>
5270         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: New file.
5271         * sysdeps/i386/i686/strtok.S: New file
5272         * sysdeps/i386/i686/strtok_r.S: New file
5274 1998-04-02  Mark Kettenis  <kettenis@phys.uva.nl>
5276         * posix/unistd.h: [__USE_FILE_OFFSET64] (lseek): Change return
5277         type to __off64_t.
5278         * libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset
5279         parameter as __off64_t instead of __off_t.
5280         (ftello): Make alias for ftello64 instead of ftello.  Change
5281         return type to __off64_t.
5283 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
5285         * sysdeps/i386/bits/string.h: Fix various typos.
5286         Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
5288         * sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92.
5290 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
5292         * sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without
5293         lchown syscall correctly.  [PR libc/541].
5295 1998-04-02 11:45  Ulrich Drepper  <drepper@cygnus.com>
5297         * localedata/Makefile: Correct testsuite rules.
5299         * iconvdata/gconv-modules: Set cost of ISO646 module to 2.
5300         * iconvdata/iso646.c: Fix conversion from UCS4.
5302         * elf/ldsodefs.h: Mark internal function with internal_function.
5303         * elf/dl-addr.c: Likewise.
5304         * elf/dl-close.c: Likewise.
5305         * elf/dl-debug.c: Likewise.
5306         * elf/dl-deps.c: Likewise.
5307         * elf/dl-error.c: Likewise.
5308         * elf/dl-fini.c: Likewise.
5309         * elf/dl-init.c: Likewise.
5310         * elf/dl-load.c: Likewise.
5311         * elf/dl-lookup.c: Likewise.
5312         * elf/dl-object.c: Likewise.
5313         * elf/dl-open.c: Likewise.
5314         * elf/dl-profile.c: Likewise.
5315         * elf/dl-reloc.c: Likewise.
5316         * elf/dl-runtime.c: Likewise.
5317         * elf/dl-symbol.c: Likewise.
5318         * elf/dl-version.c: Likewise.
5319         * elf/dlerror.c: Likewise.
5320         * sysdeps/generic/dl-sysdep.c: Likewise.
5321         * sysdeps/i386/dl-machine.h: Likewise.
5322         * intl/finddomain.c: Likewise.
5323         * intl/gettextP.h: Likewise.
5324         * intl/loadmsgcat.c: Likewise.
5326 1998-04-01 17:38  Ulrich Drepper  <drepper@cygnus.com>
5328         * iconv/gconv_simple.c: New builtins for UCS en/decoding.
5329         * iconv/gconv_builtin.h: Add definitions for new builtins.
5330         * iconv/gconv.h: Add prototypes for new builtins.
5332         * iconvdata/Makefile (modules): Add ISO646.
5333         Add rules for ISO646 module.
5334         (distribute): Add iso646.c.
5335         * iconvdata/gconv-modules: Add module and alias definition for
5336         ISO646 charsets.
5337         * iconvdata/iso646.c: New file.
5339 1998-04-01 16:10  Ulrich Drepper  <drepper@cygnus.com>
5341         * libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db.
5342         * iconv/iconv_prog.c: Implement --list option to print available
5343         coded character sets.
5345 1998-04-01 18:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5347         Make fread() read large blocks straight to the user buffer.
5349         * libio/fileops.c (_IO_file_xsgetn): New function.
5350         (_IO_file_jumps): Use it.
5351         * libio/libioP.h: Prototype it.
5353 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
5355         * iconv/gconv_conf.c (builtin_aliases): New variable.
5356         (__gconv_read_conf): Add builtin aliases.
5357         * iconv/gconv_builtin.c (builtin_map): Define BUILTIN_ALIAS as an
5358         noop macro before including gconv_builtin.h.
5359         * iconv/gconv_builtin.h: Add alias names.
5361         * iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute
5362         number of converted bytes correctly.
5364 1998-04-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5366         * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
5367         we only wait for a replay.
5369 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
5371         * iconvdata/Makefile: Finally fix dependencies for JOHAB and
5372         EUC-KR modules.
5374 1998-04-1 16:52  Philip Blundell  <pb@nexus.co.uk>
5376         * sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and
5377         use PLTJMP() rather than explicit (PLT).
5379         * sysdeps/arm/elf/start.S: Leave most of the initialisation for
5380         __libc_start_main().
5382         Based on patch from Pat Beirne:
5383         * sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER):
5384         Always define, not only #ifndef PIC.
5385         (DO_CALL): Pass fifth argument correctly in R4.
5386         (PSEUDO): Correct test for error, call syscall_error through PLT
5387         if PIC.
5389 1998-03-31 10:51  Philip Blundell  <pb@nexus.co.uk>
5391         * sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new
5392         definitions.
5394 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
5396         * iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and
5397         JOHAB.so.
5399 1998-04-01 13:20  Mark Kettenis  <kettenis@phys.uva.nl>
5401         * io/Makefile (static-only-routines): Add stat64, fstat64 and
5402         lstat64.
5404 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5406         * manual/Makefile: Use object-suffixes-for-libc instead of
5407         object-suffixes.
5408         * rpm/Makefile (install-lib): Likewise.
5410 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5412         * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug.
5414         * sysdeps/unix/sysv/linux/configure.in: Match $machine against
5415         `m68*', not only `m68k'.
5417 1998-04-01 10:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5419         * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
5421         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
5422         install lddlibc4.
5424 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5426         * iconvdata/Makefile: Use libKSC shared object in JOHAB and
5427         EUC-KR.
5429         * sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct
5430         comment.
5432 1998-03-30 08:43  H.J. Lu  <hjl@gnu.org>
5434         * sysdeps/alpha/elf/start.S: Let __libc_start_main do most of
5435         the init stuff.
5437 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5439         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for
5440         adjtimex syscall.
5441         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
5442         adjtimex.
5443         Patches by Dominik Kubla <kubla@sundiver.zdv.uni-mainz.de>.
5445 1998-03-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5447         * Makerules (install): Change comment for libc.so following the
5448         libc_nonshared changes.
5450 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5452         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo.
5454         * iconvdata/gap.pl: Avoid using %#06x.
5456 1998-03-31 19:55  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5458         * Makerules: Use $? instead of S^ when invoking ar.
5460 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5462         * db2/compat.h: Allow EFTYPE being defined.
5463         * sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
5464         * sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
5465         * sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
5466         * sysdeps/mach/bits/libc-lock.h: Fix typo.
5467         (__libc_once): Correctly unlock semaphore.
5468         * sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
5469         * sysdeps/unix/bsd/getpt.c: Fix typo.
5470         Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.
5472 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5474         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as
5475         macros.
5477 1998-03-31 18:11  Ulrich Drepper  <drepper@cygnus.com>
5479         * include/mntent.h: New file.
5481         * elf/Makefile (trusted-dirs.h): Append slash to filename.
5482         * elf/dl-load.c: Rewrite search path handling.
5483         * elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite.
5484         * elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK.
5485         * sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function.
5486         * elf/ldsodefs.h: Add prototype.
5488 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
5490         * nss/nsswitch.c (__nss_lookup): Adjust comment.
5492         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New
5493         function.
5495         * sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition.
5497         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string):
5498         New function.
5499         (HWCAP_IMPORTANT): New definition.
5501 1998-03-30 17:26  H.J. Lu  <hjl@gnu.org>
5503         * elf/dl-open.c (_dl_open): Fix a typo.
5504         (_dl_global_scope_alloc): Make it static.
5506 1998-03-30 17:20  Ulrich Drepper  <drepper@cygnus.com>
5508         * Makerules: Remove duplicate rules to handle stamp.oS.
5510 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5512         * manual/examples/inetsrv.c (main): Change prototype of
5513         make_socket following change in mkisock.c.
5515         * manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as
5516         example host.
5517         (main): Change prototype of init_sockaddr following change in
5518         isockadd.c.
5520         * manual/examples/mkisock.c (make_socket): Use uint16_t for port.
5521         * manual/examples/isockad.c (init_sockaddr): Likewise.
5523         * manual/examples/mkfsock.c (make_named_socket): Removed blank
5524         lines for clarification.
5525         (make_named_socket): Use strncpy instead of strcpy.
5526         Reported by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
5528 1998-03-30 13:28  Ulrich Drepper  <drepper@cygnus.com>
5530         * Makefile (parent-mostlyclean): Use object-suffixes-for-libc for
5531         determining libs to remove.
5532         (postclean): Add soversions.mk.
5533         * Makerules (common-mostlyclean): Add tests-static and generated
5534         files.
5536 1998-03-30 12:53  Ulrich Drepper  <drepper@cygnus.com>
5538         * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct
5539         scanning for \0.
5540         (__strncat_g): Add i686 specific code.
5542 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5544         * manual/install.texi (Reporting Bugs): Ask to include section
5545         names in reports.
5547 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5549         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit
5550         guard against direct inclusion.
5552 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5554         Rework support for libc_nonshared.a:
5555         * Makeconfig (object-suffixes-for-libc): New variable.
5556         * Rules: Remove handling of static-only and shared-only routines.
5557         * Makerules: Handle them here instead.  Use
5558         object-suffixes-for-libc instead of object-suffixes when dealing
5559         with libc objects.
5560         (object-suffixes-for-rules): Remove variable.
5561         (elide-routines.oS): Elide all routines except static-only
5562         routines.
5563         ($(objpfx)stamp.oS): Special rule for when static-only-routines is
5564         empty.
5565         (installed-libcs): Remove special case for .oS.
5566         (rmobjs): Likewise.
5568 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5570         * Makefile (do-collate-test, do-xfrm-test, do-tst-fmon,
5571         do-tst-rpmatch): New targets.
5572         (test): Use them.
5573         (install-locales): Ignore comment lines.
5575 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5577         * elf/Makefile ($(objpfx)ld.so): Depend on version script.
5578         ($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig.
5579         ($(objpfx)rtldtbl.h): Likewise.
5580         (CPPFLAGS-dl-load.c): Fix reference to object directory.
5582 1998-03-30 09:36  Ulrich Drepper  <drepper@cygnus.com>
5584         * manual/string.texi (Finding Tokens in a String): Extend strsep
5585         description and correct example.
5587 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5589         * manual/socket.texi: Remove misguided explicit line breaks and
5590         fix the formatting problem instead by reformulating the
5591         paragraphs.
5592         * manual/filesys.texi: Likewise.
5593         * manual/conf.texi: Likewise.  Don't typeset table with index
5594         fonts, that looks worse than a minimally overfull line.
5596 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5598         * nscd/Makefile (nscd-modules): Move definition outside of
5599         conditional.
5601         * pwd/Makefile: Use have-thread-library to test for thread
5602         library.
5604 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5606         * nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip.
5608         * iconvdata/uhc.c (gconv): Remove unused variable idx.
5610 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
5612         * sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c.
5614 1998-03-29  Ulrich Drepper  <drepper@cygnus.com>
5616         * nss/getXXent_r.c: Correctly handle failing setXXent function.
5618         * inet/netinet/in.h: Use cast to uint32_t in IPv4 macros.
5619         Reported by Andreas Jaeger.
5621 1998-03-29 20:59  Ulrich Drepper  <drepper@cygnus.com>
5623         * elf/Makefile: Fix typo.
5624         (distribute): Add dl-librecon.h.
5625         * elf/ldd.bash.in: Collect output of ldd --verify in verify_out.
5626         * elf/ldd.sh.in: Likewise.
5627         * elf/ldsodefs.h: Declare _dl_correct_cache_id.
5628         * elf/rtld.c (dl_main): In --verify mode allow platform specifc action.
5629         Use strsep correctly.
5630         (process_envvars): Allow platform specific variables.
5631         * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable.
5632         (_dl_load_cache_lookup): Test cache IDs found against
5633         _dl_correct_cache_id.
5634         * sysdeps/generic/dl-librecon.h: New file.
5635         * sysdeps/unix/sysv/linux/dl-librecon.h: New file.
5637         * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h.
5639 1998-03-29 16:50  Ulrich Drepper  <drepper@cygnus.com>
5641         * config.make.in (ldd-rewrite-script): New variable.
5642         * configure.in: Substitute ldd-rewrite-script.
5643         * elf/Makefile: Rewrite rules to generate ldd script.
5644         * elf/ldd.bash.in: Allow handling of non-ELF binaries.
5645         * elf/ldd.sh.in: Likewise.
5646         * sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4.
5647         * sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to
5648         point to sed script for libc4 handling insertion for ix86, m68, SPARC.
5649         * sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4.
5650         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file.
5652 1998-03-26 15:20  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5654         * inet/rcmd.c (iruserok): Remain setuid to the local user
5655         while .rhosts is actually read, to make .rhosts-over-NFS work
5656         (PR libc/524).  Use iruserfopen() for security checks on both
5657         hosts.equiv and .rhosts.  General cleanup.
5658         (iruserfopen): New function, performs careful checking on
5659         hosts.equiv/.rhosts files.  Disallows all the old forbidden
5660         stuff plus hard links to files.
5662 1998-03-29 09:26  Ulrich Drepper  <drepper@cygnus.com>
5664         * setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead.
5666         * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop.
5668 1998-03-29 02:02  H.J. Lu  <hjl@gnu.org>
5670         * sysdeps/i386/i486/bits/string.h: Fix typos.
5672 1998-03-28 00:13  H.J. Lu  <hjl@gnu.org>
5674         * sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New
5675         strong alias.
5677         * sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added.
5679         * libc.map (__ieee_get_fp_control, __ieee_set_fp_control):
5680         Added.  Used by libm.so on alpha.
5682 1998-03-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5684         * intl/bindtextdom.c [_LIBC]: Define strdup only if not yet
5685         defined.
5687 1998-03-27 07:29  H.J. Lu  <hjl@gnu.org>
5689         * Makerules (object-suffixes-for-rules): Add .oS only for
5690         building shared library.
5691         Add ranlib rule for nonshared library.
5692         (rmobjs): Fix typo.
5694         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved
5695         into for shared library only.
5696         (CPPFLAGS-.oS): Add -DPIC.
5697         (libtypes): Use $(object-suffixes-for-rules) instead of
5698         $(object-suffixes).
5700 1998-03-28  Ulrich Drepper  <drepper@cygnus.com>
5702         * sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile
5703         and install lddlibc4.
5705 1998-03-28 09:13  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5707         * iconvdata/gap.pl: Gobble rest of line with a scalar, not a
5708         hash.
5709         * iconvdata/gaptab.pl: Likewise.
5711 1998-03-27 22:46  Ulrich Drepper  <drepper@cygnus.com>
5713         * Rules: Allow Makefiles to specify test-static for tests which
5714         cannot be linked dynamically.
5715         * math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to
5716         tests-static.
5718         * libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next.
5720         * misc/error.c: Pretty print.
5722 1998-03-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5724         * Makerules (libc_nonshared-name): Remove variable.
5725         (installed-libcs): Use libc-name instead.
5726         ($(inst_libdir)/libc.so): Likewise.  Remove explicit reference to
5727         dynamic linker.
5729         * Makeconfig (link-libc): Link against libc_nonshared.a instead of
5730         libc.a.  Remove explicit reference to dynamic linker.
5732 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
5734         * iconvdata/iso8859-1.c (gconv): Add cast to assignment from char
5735         to wchar_t.
5736         * iconv/iconv_prog.c: Correctly test for write failure.
5737         * iconvdata/Makefile: Add rules for EUC-KR, UHC, and JOHAB conversions.
5738         * iconvdata/gconv-modules: Likewise.
5739         * iconvdata/euckr.c: New file.
5740         * iconvdata/johab.c: New file.
5741         * iconvdata/ksc5601.c: New file.
5742         * iconvdata/ksc5601.h: New file.
5743         * iconvdata/uhc.c: New file.
5744         Contributed by Jungshik Shin <jshin@pantheon.yale.edu>.
5746         * libio/fileops.c (_IO_file_fopen): Interpret x flag to fopen.
5747         * stdio/fopen.c: Correct handling of 'x' flag.
5748         Reported by Jason M. Petry <jason@ps.ohio-state.edu>.
5750 1998-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5752         * sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident.
5753         * sunrpc/rpcsvc/key_prot.x: Likewise.
5754         * sunrpc/key_prot.c: Likewise.
5756 1998-03-27 13:49  Ulrich Drepper  <drepper@cygnus.com>
5758         * sysdeps/i386/bits/string.h: Correct things which never worked.
5759         * sysdeps/i386/i486/bits/string.h: Add clobber marks.
5760         Patches by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
5762 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
5764         * intl/textdomain.c [_LIBC]: Define strdup only if not yet
5765         defined.  Reported by Thorsten Kukuk.
5767 1998-03-26 18:50  Ulrich Drepper  <drepper@cygnus.com>
5769         * sysdeps/unix/sysv/linux/lddlibc4.c: New file.
5771 1998-03-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5773         * manual/install.texi (Supported Configurations): Add
5774         arm-linuxaout and arm-none.
5776 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
5778         * version.h (VERSION): Bump to 2.0.93.
5780 1998-03-25 07:30  H.J. Lu  <hjl@gnu.org>
5782         * configure.in (libc_cv_ar_S): New to indicate if ar S works.
5784         * config.make.in (have-ar-S): New, substituted by libc_cv_ar_S.
5786         * Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S).
5787         (do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR).
5789 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
5791         * Makeconfig (link-libc): Add missing use of libc_nonshared.a.
5793 1998-03-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5795         Put the static-only routines in a separate library.
5796         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New
5797         variables.
5798         (all-object-suffixes): Add .oS.
5799         * Makerules (libc_static-name): New variable.
5800         (installed-libcs): Add libc_nonshared.a.
5801         ($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a.
5802         (object-suffixes-for-rules): New variable.  Use it instead of
5803         object-suffixes for generating compilation rules.
5804         (rmobjs): Also remove *.oS.
5805         * Rules (subdir_lib): Depend on $(objpfx)stamp.oS.
5806         ($(objpfx)stamp.oS): New target.
5808 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
5810         * Makefile (FAQ): Automatically check in regenerated FAQ.
5812 1998-03-26 10:16  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5814         * Makefile (INSTALL): Depend on install.texi, not maint.texi.
5816 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
5818         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h.
5819         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
5821         * sysdeps/generic/stub_warning: Removed.
5823         * Makefile (distribute): Add include/des.h.
5825         * manual/Makefile (distribute): Change dir-add.texi to
5826         dir-add.texinfo.
5828         * glibcbug.in: Create files safely when mktemp is not available.
5830         * sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again.
5831         Patch by a sun <asun@saul1.u.washington.edu>.
5833 1998-03-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5835         * libc.map: Rename getname to getnetname.
5837 1998-03-25 13:35  Ulrich Drepper  <drepper@cygnus.com>
5839         * manual/maint.texi: Use supported platform in examples.
5841         * manual/install.texi: Document some installation tips.
5843 1998-03-25 10:56  Ulrich Drepper  <drepper@cygnus.com>
5845         * posix/wordexp.c: Fix some memory leaks and makes $* more efficient.
5846         Fix a bug so that it returns an error if a numeric parameter is
5847         unset and WRDE_UNDEF is set.
5848         Patch by Andreas Schwab and Tim Waugh.
5849         * posix/wordexp-test.c: Add new new test.
5851 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
5853         * posix/regex.c (regex_compile): Last patch wasn't entirely
5854         correct.  Patch by Alain Magloire <alainm@rcsm.ece.mcgill.ca>.
5856 1998-03-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5858         * manual/filesys.texi (Scanning Directory Content): Fix typo.
5860 1998-03-25 09:24  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
5862         * sysdeps/i386/bits/string.h: Fix all assembler statements so that
5863         clobbered registers don't appear as operands.
5865 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5867         * posix/regex.c: Undefine ISASCII and ISPRINT before defining for
5868         Solaris' sake.
5870         * posix/regex.c (regex_compile): Don't allow non-alphabet
5871         characters in character set name.
5873 1998-03-25 00:00  Tim Waugh  <tim@cyberelk.demon.co.uk>
5875         * posix/wordexp.c (w_newword): New function.
5876         (do_parse_glob): New function.
5877         (parse_glob): Use do_parse_glob.  Now handles the case where a
5878         variable expansion causes a field-split.
5879         (wordexp): Use w_newword.
5880         (parse_arith): Likewise.
5881         (exec_comm): Likewise.
5882         (parse_comm): Likewise.
5883         (parse_param): Likewise.
5884         (parse_backtick): Likewise.
5886 1998-03-24 19:36  Tim Waugh  <tim@cyberelk.demon.co.uk>
5888         * posix/wordexp-tst.sh: Another test.
5890         * posix/wordexp-test.c: Two new tests.
5892         * posix/wordexp.c (parse_glob): Use w_addstr instead of realloc
5893         directly (the code using realloc was buggy).
5894         (parse_param): Fix typo in comment.
5896 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5898         * elf/dl-close.c (_dl_close): Replace questionable memcpy by loop.
5900 1998-03-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5902         * libc.map: Add more rpc auth functions/variables.
5904         * nscd/nscd.c: Add -g option to argp options.
5906 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5908         * configure.in: Be prepared for gcc 2.9.10 and up.
5909         * configure.in: Add missing disabling of quote characters in
5910         compiler version check.  Reported by HJ Lu.
5912 1998-03-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5914         * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h.
5916 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5918         * intl/locale.alias: Fix spelling of romanian.
5920         * sunrpc/Makefile (headers): Add rpc/rpc_des.h.
5921         (distribute): Remove des.h.
5922         * include/des.h: New file.
5923         * sunrpc/des.h: Moved to ...
5924         * sunrpc/rpc/rpc_des.h: ...here.
5926 1998-03-22  NIIBE Yutaka  <gniibe@mri.co.jp>
5928         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK):
5929         Fix paren.
5931 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5933         * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
5934         parameter const.  Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
5936 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5938         * elf/ldsodesf.h: New file.
5939         * elf/Makefile (distribute): Add ldsodefs.h.
5940         * elf/link.h: Separate internal information in exter header.
5941         * elf/rtld.c: Include elf/ldsodefs.h not link.h.
5942         * elf/dl-minimal.c: Likewise.
5943         * sysdeps/generic/dl-sysdep.c: Likewise.
5944         * elf/sprof.c: Likewise.
5945         * elf/dlsym.c: Likewise.
5946         * elf/dlvsym.c: Likewise.
5947         * elf/dlerror.c: Likewise.
5948         * elf/dladdr.c: Likewise.
5949         * elf/dlclose.c: Likewise.
5950         * elf/dlopen.c: Likewise.
5951         * elf/dl-addr.c: Likewise.
5952         * elf/dl-close.c: Likewise.
5953         * elf/dl-debug.c: Likewise.
5954         * elf/dl-deps.c: Likewise.
5955         * elf/dl-error.c: Likewise.
5956         * elf/dl-fini.c: Likewise.
5957         * elf/dl-init.c: Likewise.
5958         * elf/dl-load.c: Likewise.
5959         * elf/dl-lookup.c: Likewise.
5960         * elf/dl-object.c: Likewise.
5961         * elf/dl-open.c: Likewise.
5962         * elf/dl-profile.c: Likewise.
5963         * elf/dl-reloc.c: Likewise.
5964         * elf/dl-runtime.c: Likewise.
5965         * elf/dl-support.c: Likewise.
5966         * elf/dl-symbol.c: Likewise.
5967         * elf/dl-version.c: Likewise.
5968         * sysdeps/generic/dl-cache.c: Likewise.
5969         * sysdeps/generic/libc-start.c: Likewise.
5970         * iconv/gconv_dl.c: Likewise.
5971         * nss/nsswitch.c: Likewise.
5973 1998-03-23 13:45  Ulrich Drepper  <drepper@cygnus.com>
5975         * manual/nss.texi: The database is not called network but networks.
5976         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
5978 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5980         * configure.in: Correct test for compiler version.
5981         Check that LD_LIBRARY_PATH doesn't contain current path.
5983 1998-03-23 07:52  H.J. Lu  <hjl@gnu.org>
5985         * elf/dl-close.c (_dl_close): Fix byte count while removing
5986         the shared object from the global scope list and optimize
5987         a little bit.
5989 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5991         * manual/filesys.texi (Scanning Directory Content): Add missing
5992         closing brace.
5993         (Scanning Directory Content): Fix text.
5995 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5997         * manual/memory.texi (Heap Consistency Checking): Add paragraph
5998         explaining difference of -lmcheck and MALLOC_CHECK_.
6000 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6002         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some
6003         typos in comments.
6005 1998-03-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6007         * test-skeleton.c (main): Fix test for exit signal.
6009 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6011         * sysdeps/generic/strtok_r.c: Undefine __strtok_r.
6013 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6015         * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as
6016         appropriate.
6018 1998-03-23 11:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6020         * libc.map: Export __strtok_r.
6022 1998-03-23  Ulrich Drepper  <drepper@cygnus.com>
6024         * posix/regex.c (re_compile_fastmap): Remove unused variable
6025         num_regs and adjust comment.
6026         Patch by Jim Meyering <meyering@ascend.com>.
6028         * math/math.h (M_*l): Extend long double constants to be usable
6029         for 128 bit floats.  Patch by Richard Henderson.
6031 1998-03-23 11:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6033         * sysdeps/m68k/m68020/wordcopy.S: New file.
6035 1998-03-22  Ulrich Drepper  <drepper@cygnus.com>
6037         * posix/wordexp.c: Rewrite parse_param.
6038         Patch by Tim Waugh and Andreas Schwab.
6040 1998-03-21 23:46  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6042         * Rules: Update timestamps on empty object files.
6044 1998-03-21 09:15  Ulrich Drepper  <drepper@cygnus.com>
6046         * manual/filesys.texi (Scanning Directory Content): Add description
6047         of 64 bits scandir function and friends.
6049 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6051         * glibcbug.in: Use mktemp to generate unique file name for
6052         temporary files.
6054         * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not
6055         ptsname_r.  Use cast for execve call.
6057 1998-03-20 16:24  Ulrich Drepper  <drepper@cygnus.com>
6059         * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64.
6060         * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h.
6061         * io/sys/statvfs.h: New file.
6062         * sysdeps/generic/fstatvfs.h: New file.
6063         * sysdeps/generic/statvfs.h: New file.
6064         * sysdeps/generic/fstatvfs64.h: New file.
6065         * sysdeps/generic/statvfs64.h: New file.
6066         * sysdeps/generic/bits/statvfs.h: New file.
6067         * sysdeps/unix/sysv/linux/fstatvfs.c: New file.
6068         * sysdeps/unix/sysv/linux/statvfs.c: New file.
6069         * sysdeps/unix/sysv/linux/bits/statvfs.h: New file.
6071         * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files
6072         and f_ffree elements.
6074         * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print.  Define
6075         mount options in enum.
6077 1998-03-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6079         * configure.in: Check for recent egcs/gcc.
6081 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6083         * libc.map: Add alphasort64, scandir64, versionsort64.
6084         * dirent/Makefile (routines): Add scandir64, alphasort64, and
6085         versionsort64.
6086         * dirent/alphasort64.c: New file.
6087         * dirent/scandir64.c: New file.
6088         * dirent/versionsort64.c: New file.
6089         * dirent/dirent.h: Add LFS support for scandir, alphasort, and
6090         versionsort.
6091         * sysdeps/generic/readdir64.c: Rename to __readdir64 and make
6092         old name weak alias.
6093         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6095         * dirent/alphasort.c: Use strcoll instead of strcmp.
6097         * dirent/scandir.c: Optimize a bit.
6099         * dirent/versionsort.c: Pretty print.
6101 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6103         * string/string.h: Add prototype for __strtok_r.
6105 1998-03-20 12:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6107         * posix/Makefile: Fix typo in last change.
6109 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6111         * dirent/dirent.h (scandir): Make argument of select function const.
6112         * dirent/scandir.c (scandir): Likewise.
6113         Reported by David.Faure@insa-lyon.fr [PR libc/512].
6115 1998-03-19 14:28  Ulrich Drepper  <drepper@cygnus.com>
6117         * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
6118         weak alias.
6119         * sysdeps/i386/strtok_r.c: Likewise.
6121         * sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
6122         * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
6123         * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
6124         * sysdeps/libm-i387/i686/s_fmin.S: Likewise.
6125         * sysdeps/libm-i387/i686/s_fminf.S: Likewise.
6126         * sysdeps/libm-i387/i686/s_fminl.S: Likewise.
6128 1998-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6130         * intl/localealias.c: Remove unneeded define for strdup.
6132 1998-03-19 13:45  Ulrich Drepper  <drepper@cygnus.com>
6134         * manual/argp.texi: Adjust for better TeX output.
6135         * manual/arith.texi: Likewise.
6136         * manual/conf.texi: Likewise.
6137         * manual/filesys.texi: Likewise.
6138         * manual/header.texi: Likewise.
6139         * manual/lgpl.texinfo: Likewise.
6140         * manual/math.texi: Likewise.
6141         * manual/message.texi: Likewise.
6142         * manual/pattern.texi: Likewise.
6143         * manual/process.texi: Likewise.
6144         * manual/signal.texi: Likewise.
6145         * manual/socket.texi: Likewise.
6146         * manual/startup.texi: Likewise.
6147         * manual/stdio.texi: Likewise.
6148         * manual/terminal.texi: Likewise.
6149         * manual/examples/rprintf.c: Likewise.
6150         * manual/examples/testopt.c: Likewise.
6151         Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.
6153 1998-03-19 20:45  Tim Waugh  <tim@cyberelk.demon.co.uk>
6155         * posix/wordexp.c (parse_param): Don't immediately stop parsing a
6156         parameter name after seeing a digit if it's enclosed in braces.
6158 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
6160         * sysdeps/i386/i686/Implies: Add libm-i387/i686.
6162 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6164         * manual/memory.texi (Heap Consistency Checking): Document
6165         MALLOC_CHECK_.  Based on a text by Wolfram Gloger.
6167 1998-03-18 17:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6169         * manual/Makefile: Add missing rules.
6171 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
6173         * timezone/Makefile (generated): Define to remove all stamp files.
6175         * sysdeps/generic/strsep.c: Also undefine __strsep.
6177         * string/strdup.c: Undefine __strdup and strdup first.
6178         * string/strndup.c: Likewise.
6180         * string/bits/string2.h: Correct strtok_r and strsep.
6181         Add strndup optimization.
6183         * sysdeps/generic/strsep.c: Little optimization.
6185 1998-03-18 14:25  Ulrich Drepper  <drepper@cygnus.com>
6187         * string/bits/string2.h: Add optimization for strdup.
6188         Always define __strsep and __strtok_r and make real names available
6189         when feature select macros are defined.
6191 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6193         * manual/install.texi (Installation): Use i486-linux as example
6194         instead of the unsupported sunos4.
6195         (Reporting Bugs): Mention glibcbug script.
6196         (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.
6198 1998-03-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6200         * posix/wordexp-tst.sh: Make portable.  Add more tests.
6202         * posix/Makefile (do-globtest do-wordexp-test): New targets.
6204 1998-03-18 13:38  Ulrich Drepper  <drepper@cygnus.com>
6206         * sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
6207         * sysdeps/generic/libc-start.c: ...here, replacing former content.
6209         * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
6210         netpacket/packet.h.
6212         * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.
6214 1998-03-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6216         * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
6217         in enumerator for strict standard compliance.
6218         * sysdeps/generic/bits/resource.h: Likewise.
6220 1998-03-18 10:04  Philip Blundell  <pb@nexus.co.uk>
6222         * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
6223         (PLTJMP): New macro.
6225         * sysdeps/arm/fpu/__longjmp.S: New file, implementation of
6226         longjmp() when floating point enabled.
6227         * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
6228         * sysdeps/arm/__longjmp.S: Remove floating point code.
6229         * sysdeps/arm/setjmp.S: Likewise.
6231         * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
6232         * sysdeps/arm/bsd-_setjmp.S: Likewise.
6234         * sysdeps/arm/memset.S: New file; optimised ARM implementation of
6235         memset().
6237         * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
6238         prototype.
6240 1998-03-17 16:16  Philip Blundell  <pb@nexus.co.uk>
6242         Based on patches from Pat Beirne and Scott Bambrough:
6244         * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.
6246         * sysdeps/arm/bits/fenv.h: New file.
6248         * sysdeps/arm/dl-machine.h: New file.  Add ELF support.
6249         * sysdeps/arm/elf/setjmp.S: Likewise.
6250         * sysdeps/arm/elf/start.S: Likewise.
6251         * sysdeps/arm/init-first.c: Likewise.
6252         * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
6253         * sysdeps/arm/sysdep.h: Change format of .type directive.  Correct
6254         comment about floating point to reflect current reality.
6256         * sysdeps/unix/arm/brk.S: Support PIC.
6257         * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
6258         re-entrant code.
6259         * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
6260         return; call syscall_error through PLT.
6261         * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.
6263 1998-03-04 12:01  Philip Blundell  <pb@nexus.co.uk>
6265         * sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
6266         * sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
6267         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.
6269 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
6271         * dirent/list.c (test): Return error value.
6272         (main): Exit with error value.
6274         * sysdeps/unix/opendir.c (__opendir): Add missing initialization.
6276         * Makefile (distribute): Add test-skeleton.c.
6277         * test-skeleton.c: New file.
6278         * dirent/Makefile (tests): Add opendir-tst1.
6279         * dirent/opendir-tst1.c: New file.
6281 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
6283         * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
6284         Optimize memory handling.
6285         * sysdeps/unix/closedir.c: Optmize memory handling.
6287 1998-03-17  Ulrich Drepper  <drepper@cygnus.com>
6289         * posix/wordexp.c (parse_param): Fix off-by-on error in $@
6290         handling.  Optimize a bit.
6292 1998-03-18 00:25  Tim Waugh  <tim@cyberelk.demon.co.uk>
6294         * posix/wordexp.c (parse_comm): Allow quoting inside $(...).
6295         (parse_param): Fold in Andreas' fixes to do with when the end of
6296         the parameter name has been reached, and quoting inside ${...}.
6297         (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
6298         $((echo);(ls)).
6300 1998-03-16 22:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6302         * manual/maint.texi: Split out installation and contribution
6303         sections to their own appendices.  Misc cleanups.
6304         * manual/install.texi: New file.  Mention add-ons.  Refer to FAQ.
6305         * manual/contrib.texi: New file.
6306         * manual/libc.texinfo: Pull in new appendices.
6307         * manual/header.texi: Correct node pointer.
6309 1998-03-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6311         * manual/process.texi (Process Completion): Clarify return value
6312         of waitpid a bit.  Patch by Zack Weinberg. [PR libc/490]
6314 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6316         * posix/wordexp-test.c: Add more tests.
6317         (testit): Fix logic.
6319         * posix/wordexp.c (exec_comm): In the child, redirect stderr to
6320         /dev/null instead of closing it, close pipe.  Always chop off all
6321         trailing newlines.  Kill and reap child before returning error.
6322         (w_addword, parse_glob): Fix memory leak.
6323         (wordexp): Fix dangling pointer problem.
6325 1998-03-16  Ulrich Drepper  <drepper@cygnus.com>
6327         * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
6329         * posix/wordexp-test.c (main): Fix little thinkos and typos.
6331         * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
6332         directory index by only the language.
6334 1998-03-16 13:02  Tim Waugh  <tim@cyberelk.demon.co.uk>
6336         * posix/wordexp-tst.sh: Store test results in the
6337         ${common_objpfx}posix directory.
6339         * posix/wordexp-test.c: Remove temporary directory afterwards.
6341 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6343         * libc.map: Export internal versions of cancelable functions.
6345 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6347         * Makerules (MAKEFLAGS): Append `r'.
6349 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6351         * Makeconfig: Define have-thread-library, shared-thread-library
6352         and static-thread-library if a thread library is available.  Don't
6353         define rt.
6354         * nscd/Makefile: Compile nscd if have-thread-library.  Rename
6355         nscd-routines to nscd-modules.  Use shared-thread-library and
6356         static-thread-library in dependencies.
6357         * rt/Makefile: Only compile librt if have-thread-library is
6358         defined.
6359         * Makefile (subdirs): Always include rt subdir.
6361 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6363         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
6365 1998-03-14 21:55  Ulrich Drepper  <drepper@cygnus.com>
6367         * configure.in: Recognize variations for 32 MIPS processors.
6368         Don't assume ELF systems always have .weak, test for .weakext.
6370 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
6372         * configure.in: Irix6 is an ELF platform.
6374 1998-03-14 11:47  H.J. Lu  <hjl@gnu.org>
6376         * elf/dl-close.c (_dl_close): Stop unmapping the segments after
6377         unmapping the last loaded segment.
6379 1998-03-14 15:54  Ulrich Drepper  <drepper@cygnus.com>
6381         * configure.in: Set base_os for Irix6.
6382         Correct test for .weakext.
6384 1998-03-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6386         * elf/dl-deps.c (_dl_map_object_deps): Add first parameter
6387         (new_line) to _dl_debug_message call.
6389 1998-03-14 00:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
6391         * posix/wordexp.c (parse_param): Perform field-splitting after
6392         expanding positional parameter.
6394         * posix/wordexp-tst.sh: Test that field-splitting is performed
6395         after expanding positional parameter.
6397         * posix/wordexp.c (parse_param): Fixed memory leak in
6398         field-splitting after parameter expansion.
6400 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
6402         * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
6403         (get_toplvl_escape): Correctly terminate loop at EOF.
6404         Patch by Cristian Gafton <gafton@redhat.com>.
6406 1998-03-13 16:55  Ulrich Drepper  <drepper@cygnus.com>
6408         * string/tester.c (test_strpbrk): Add more strpbrk tests.
6409         (test_strsep): Likewise.  Correct horrible bugs.
6411         * string/bits/string2.h (strcspn): Optimize also reject string of
6412         length 2 and 3.
6413         (strspn): Likewise.
6414         (strpbrk): Likewise.
6415         (strsep): Likewise.  Correct bug with successive separators and
6416         separators at the end of the string.
6417         * sysdeps/generic/strsep.c: Correct bug with successive separators
6418         and separators at the end of the string.
6420 1998-03-13 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
6422         * posix/wordexp.c (parse_param): Positional parameters ($1, $2
6423         etc) now handled, as well as $$ (pid).
6425         * posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
6426         (distribute): Add wordexp-tst.sh.
6428         * posix/wordexp-tst.sh: New file.
6430         * posix/wordexp.c (parse_param): $# (or ${#}) expands to the
6431         number of positional parameters.  Renamed substitute_length to
6432         seen_hash.
6433         Don't free(env) is env is NULL.
6435 1998-03-13 16:50  Ulrich Drepper  <drepper@cygnus.com>
6437         * libc.map: Add pthread_attr_init to GLIBC_2.1.
6439 1998-03-13 15:01  Ulrich Drepper  <drepper@cygnus.com>
6441         * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
6442         for output file replacing gmon.out.
6443         Patch by Dean Gaudet <dgaudet@arctic.org>.
6445 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6447         * elf/dl-misc.c (_dl_debug_message): Fix printing of pid.  Clean
6448         up namespace.  Optimize finding end of line.
6450 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6452         * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
6453         securely.  Optimized.
6454         (process_dl_debug): Add ':' to list of separators.  Optimized.
6456 1998-03-13 10:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6458         * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
6459         isless, islessequal, islessgreater, isunordered): Return zero or
6460         one.
6462 1998-03-12 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
6464         * posix/wordexp-test.c: More tests.
6465         (main): Set up arena for pathname expansion tests (in a temporary
6466         directory).
6467         (testit): Don't check word count or word vector if return value is
6468         non-zero.
6470         * posix/wordexp.c (exec_comm): Always chop off terminating
6471         linefeed (just like bash does).
6472         (parse_param): Change lots of occurrences of "if (!*env)" to "if
6473         (!env || !*env)".
6474         (parse_param): For assignment inside parameter expansion, use all
6475         expanded words in assignment rather than just the first.
6476         (parse_param): Corrected return value for parameter expansion of
6477         an unset variable when WRDE_UNDEF is in effect.
6478         (parse_dollars): Don't field-split if quoted.
6479         (wordexp): Opening brace character isn't allowed unquoted.
6481 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
6483         * elf/dlerror.c: Fix concurrency problems with error string and
6484         number.
6486         * elf/dl-deps.c (_dl_map_object_deps): Print debug info when
6487         filter/auxiliary are being loaded.
6489 1998-03-12 14:24  Ulrich Drepper  <drepper@cygnus.com>
6491         * elf/dlerror.c (last_object_name): Removed.
6492         (dlerror): Don't use last_object_name.
6493         (_dl_error_run): Omit second argument to _dl_catch_error.
6494         * elf/dl-error.c (struct catch): Remove objname member.
6495         (_dl_signal_error): Construct string including objname when given.
6496         (_dl_catch_error): Remove objname handling.
6497         * elf/link.h (_dl_catch_error): Fix prototype and comment.
6498         * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
6499         * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
6500         * nss/nsswitch.c (nss_dlerror_run): Likewise.
6501         * iconv/gconv_dl.c (dlerror_run): Likewise.
6502         [Corrects PR libc/501].
6504 1998-03-12  Matthias Urlichs <smurf@noris.de>
6506         * nscd/nscd.c: Ignore SIGPIPE.
6508 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
6510         * nscd/nscd_getgr_r.c: Use __ protected names.
6511         * nscd/nscd_getpw_r.c: Likewise.
6513 1998-03-12  Matthias Urlichs <smurf@noris.de>
6515         * nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
6516         * nscd/nscd_getpw_r.c: Fix length calculation in result check,
6517         null bytes are not transmitted.
6519 1998-03-12 00:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6521         * powerpc/syscalls.list: Correct typo.
6522         * alpha/syscalls.list: Likewise.
6523         * mips/syscalls.list: Likewise.
6525 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
6527         * socket/sys/socket.h: Add prototype for __socket.
6529 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6531         * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
6533         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
6534         constants.
6536         * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
6537         definition here.
6538         * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
6539         definition here.
6541         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
6542         AF_* and PF_* constants.
6544         * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
6546 1998-03-11 15:27  Ulrich Drepper  <drepper@cygnus.com>
6548         * elf/rtld.c: Update help message.
6549         Install link maps for preloaded objects using main_map as loader.
6551         * elf/dl-misc.c: Use __libc_write instead of __write for debugging.
6552         * elf/dl-profile.c: Likewise.
6554         * elf/dlsym.c: Little optimization.
6555         * elf/dlvsym.c: Likewise.
6557 1998-03-11 14:56  Ulrich Drepper  <drepper@cygnus.com>
6559         * posix/wordexp-test.c: Move test for parameter list at the very
6560         beginning.
6562 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
6564         * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
6565         WRDE_REUSE flag is set.
6566         (parse_param): Allow `*', `@', and numbers in parameter names.
6567         (parse_dollars): Differentiate between arithmetic expansion and a
6568         command substitution that starts immediately with a sub-shell
6569         (like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
6570         (parse_param): Memory allocated with __alloca in a block was
6571         referenced outside that block.  Adjusted to use malloc/free.
6572         (parse_param): Adjusted field-splitting algorithm so that there is
6573         not necessarily a field split at the end of a parameter expansion.
6575 1998-03-10 19:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
6577         * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
6578         don't free words that have already been allocated.
6579         (parse_param): A dollar sign on its own will never have a pattern
6580         associated with it (like "${HOME%%/}" has), so don't try to free it.
6581         (parse_glob): Attempt to glob when an unquoted `[' is found
6582         (rather than an unquoted '{' (!)).  Also for unquoted '?'.
6583         (parse_glob): Sorted out quoting in a glob-able word.
6584         (parse_param): Added $* and $@ handling.
6586 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
6588         * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
6589         parsing it.
6591 1998-03-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6593         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
6594         _dl_debug_message.
6596 1998-03-12  Matthias Urlichs  <smurf@noris.de>
6598         * elf/dl-misc.c: Default for debug output should be stderr.
6599         * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
6600         * elf/dl-lookup.c: reference_name may be NULL or empty.
6602 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6604         * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
6606 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
6608         * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
6610         * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
6612 1998-03-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6614         * sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
6615         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
6617 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6619         * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
6620         init stuff.
6622 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6624         * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
6625         flag.
6627         * misc/syslog.c (vsyslog): Don't try to send if not connected to
6628         syslog daemon.
6629         (closelog_internal): Don't do anything if not connected.
6631 1998-03-10 17:54  Ulrich Drepper  <drepper@cygnus.com>
6633         * libc.map: Add _dl_debug_message.
6634         * elf/dl-misc.c: Make _dl_debug_message a function.  Print the PID
6635         before every line.
6636         * elf/fini.c: Correctly use new _dl_debug_message function.
6637         * elf/init.c: Likewise.
6638         * elf/dl-lookup.c: Likewise.
6639         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
6640         * elf/dl-load.c: Likewise.  Add more debugging prints.
6641         * elf/dl-reloc.c: Likewise.
6642         * elf/dl-version.c: Likewise.
6643         * elf/dl-support.c: Add variables for debugging.
6644         * elf/rtld.c: Likewise.  Recognize new debug options.
6645         * elf/link.h: Declare new variables.
6647         * elf/dl-deps.c (_dl_map_object_deps): Little optimizations.
6649 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6651         * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
6652         kernel headers.  Patch by a sun <asun@saul7.u.washington.edu>.
6654 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
6656         * posix/wordexp-test.c (command_line_test): New function to allow
6657         testing of specific cases from the command-line.
6659 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6661         * elf/dl-init.c (_dl_init_next): Print nicer messages.
6662         * elf/dl-fini.c (_dl_fini): Likewise.
6663         * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.
6665         * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
6666         symbol in debug message.
6667         (_dl_lookup_versioned_symbol_skip): Likewise.
6669 1998-03-10 19:43  Matthias Urlichs <urlichs@noris.de>
6671         * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
6672         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
6673         * manual/filesys/texi: Document this.
6675 1998-03-10 10:49  Ulrich Drepper  <drepper@cygnus.com>
6677         * manual/filesys.texi: Document the change below.
6679 1998-03-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6681         * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
6682         Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
6684 1998-03-10 00:10  Ulrich Drepper  <drepper@cygnus.com>
6686         * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
6687         instead scope.  If debugging display information about symbol
6688         resolving.
6689         (_dl_lookup_symbol): Call do_lookup with correct parameters.
6690         (_dl_lookup_symbol_skip): Likewise.
6691         (_dl_lookup_versioned_symbol): Likewise.
6692         (_dl_lookup_versioned_symbol_skip): Likewise.
6693         * elf/dl-support.c: Define _dl_debug_symbols.
6694         * elf/link.h: Add declaration for _dl_debug_symbols.
6695         * elf/rtld.c: Define _dl_debug_symbols.
6696         (process_dl_debug): Recognize symbols option.
6698 1998-03-09 23:36  Ulrich Drepper  <drepper@cygnus.com>
6700         * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
6701         in correct format.
6702         * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
6703         with correct parameters.
6704         [!PIC]: Initialize __libc_multiple_libcs.
6706 1998-03-09 18:21  Ulrich Drepper  <drepper@cygnus.com>
6708         * elf/dl-support.c (_dl_debug_bindings): Add definition.
6709         * elf/rtld.c (_dl_debug_bindings): Add definition.
6710         (process_dl_debug): Recognize bindings option.  Update help message.
6711         * elf/link.h (struct link_map): Add l_versyms member.
6712         (_dl_debug_bindings): Add declaration.
6713         * elf/version.c (_dl_check_map_versions): Initialize l_versyms.
6714         * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
6715         and l_reloc_result.
6716         * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
6717         (sym_val): Remove a member, add m as link_map.
6718         (do_lookup): Return result appropriately.
6719         (_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
6720         Call do_lookup correctly.
6721         (_dl_lookup_symbol_skip): Likewise.
6722         (_dl_lookup_versioned_symbol): Likewise.
6723         (_dl_lookup_versioned_symbol_skip): Likewise.
6725 1998-03-09 08:21  Ulrich Drepper  <drepper@cygnus.com>
6727         * sysdeps/unix/sysv/linux/chown.c: Moved to ...
6728         * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
6730         * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
6731         * libc.map: Add chown to GLIBC_2.1.
6732         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
6733         * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
6735 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6737         * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
6738         weak alias.
6739         * sysdeps/alpha/ffs.c: Likewise.
6740         * sysdeps/am29k/ffs.c: Likewise.
6741         * sysdeps/i386/ffs.c: Likewise.
6742         * sysdeps/i960/ffs.c: Likewise.
6743         * sysdeps/m68k/ffs.c: Likewise.
6744         * sysdeps/m88k/ffs.c: Likewise.
6745         * sysdeps/powerpc/ffs.c: Likewise.
6746         * sysdeps/rs6000/ffs.c: Likewise.
6747         * sysdeps/vax/ffs.s: Likewise.
6748         * string/string.h: Declare __ffs.
6749         * libc.map: Export it.
6750         * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
6751         __builtin_ffs, which is not guaranteed to be namespace clean.
6753 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6755         * elf/sprof.c: Rewrite symbol handling to use the normal symbol
6756         table, which is much more likely to exist than debugging symbols.
6757         (printsym): Remove const.
6758         (load_shobj): Don't use _dl_pagesize.  Fix mapping of section
6759         header table.
6761         * libc.map: Export __profile_frequency, used by elf/sprof, to
6762         avoid infinite recursion during startup.
6764 1998-03-09 12:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6766         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
6767         Readd lost negate.
6769         * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
6771 1998-03-09  Ulrich Drepper  <drepper@cygnus.com>
6773         * elf/dl-support.c: Add definition of _dl_debug_impcalls.
6775 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
6777         * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
6778         LD_PRELOAD, and LD_VERBOSE.
6779         (dl_main): Use global variables set by process_envvars instead of
6780         calling getenv.
6781         * elf/dl-load.c (_dl_init_paths): Don't call getenv to get
6782         LD_LIBRARY_PATH value, this comes with the parameter.
6783         * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
6784         ("LD_LIBRARY_PATH") to _dl_init_paths.
6786 1998-03-08 22:55  Ulrich Drepper  <drepper@cygnus.com>
6788         * elf/rtld.c (dl_main): Delay initialization of path structure if
6789         the dynamically linker is invoked implicitly until we read the
6790         dynamic section.
6792 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
6794         * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
6796 1998-03-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6798         * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
6799         Linux 2.0 and 2.1.
6801         * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
6803 1998-03-08 14:58  Ulrich Drepper  <drepper@cygnus.com>
6805         * Makeconfig (nisobjdir): Set to path to nis directory.
6806         (rpath-link): Add nisobjdir.
6807         Patch by Sven Verdoolaege <skimo@kotnet.org>.
6809         * elf/Makefile: Pretty print.
6810         * elf/dl-lookup.c: Include unistd.h.
6811         * elf/dl-runtime.c: Likewise.
6813         * localedata/Makefile (test-srcs): Add tst-rpmatch.
6814         (distribute): Add tst-rpmatch.sh.
6815         (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
6817         New tests for rpmatch function by
6818         Jochen Hein <jochen.hein@delphi.central.de>.
6819         * localedata/tst-rpmatch.c: New file.
6820         * localedata/tst-rpmatch.sh: New file.
6822         * localedata/locales/de_DE: Correct yesexpr and noexpr.
6823         * localedata/locales/de_AT: Likewise.
6825         * posix/getopt.c: Update contact address.
6826         * posix/getopt1.c: Pretty print.
6828         * sysdeps/generic/libc-start.c: Do most of the initialization now
6829         here instead of in start.S.
6830         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
6831         * sysdeps/i386/elf/start.S: Remove most of the initialization code.
6833         * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
6834         profil_counter to be public.
6836 1998-03-08 13:06  Tim Waugh  <tim@cyberelk.demon.co.uk>
6838         * posix/wordexp.c (parse_arith): Now works for negative numbers too.
6839         (parse_param): Coded parameter length expansion (${#var}).
6840         (parse_param): Handling for "=", "+", "-", and the ":" versions added.
6841         (parse_param): Cleaned up (fixed) error handling.
6843         * posix/wordexp-test.c: IFS now includes non-whitespace character
6844         (comma).  Added more tests.
6846 1998-03-07  Ulrich Drepper  <drepper@cygnus.com>
6848         * elf/link.h: Fix typos.
6849         Reported by Andreas Jaeger.
6851         * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
6852         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
6854 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
6856         * argp/argp-help.c: Remove last bits of using gettext instead of
6857         dgettext.
6859 1998-03-06 17:04  Ulrich Drepper  <drepper@cygnus.com>
6861         * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
6862         __libc_start_main.
6863         * csu/Makefile (routines): Add libc-start.
6864         * elf/dl-error.c: Remove declaration of _dl_argv.  Include <unitsd.h>.
6865         * elf/dl-lookup.c: Likewise.
6866         * elf/dl-version.c: Likewise.
6867         * sysdeps/i386/dl-machine.h: Likewise.
6868         * elf/link.h: Declare _dl_argv, _dl_debug_fd.
6869         Declare _dl_sysdep_output.  Make _dl_sysdep_fatal, _dl_sysdep_error and
6870         _dl_sysdep_message macros which use _dl_sysdep_output.
6871         * elf/dl-fini.c: Write out which destructor is called while debugging.
6872         * elf/dl-init.c: Likewise for constructor.
6873         * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
6874         * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
6875         _dl_sysdep_message.  Add _dl_sysdep_output.
6876         * elf/rtld.c: Recognize LD_DEBUG_OUTPUT.  Set _dl_debug_fd if
6877         this file can be opened.
6878         For LD_DEBUG=libs also set _dl_debug_impcalls.
6879         * sysdeps/generic/dl-cache.c: Include unistd.h.
6880         * sysdeps/generic/libc-start.c: New file.
6881         * sysdeps/unix/sysv/linux/libc-start.c: New file.
6882         * sysdeps/i386/elf/start.S: Don't call main directly, call
6883         __libc_start_main instead.
6885         * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
6887 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
6889         * nss/nsswitch.c (__nss_nscd_not_available): Removed.
6891 1998-03-06 12:42  Ulrich Drepper  <drepper@cygnus.com>
6893         * argp/argp.h (struct argp): Add new field domain.
6894         * argp/argp-help.c: Change all gettext calls to dgettext and use
6895         domain field from appropriate argp in call.
6896         * argp/argp-parse.c: Likewise.
6898 1998-03-06 11:35  Ulrich Drepper  <drepper@cygnus.com>
6900         * posix/wordexp-test.c: Change testsuite so that it can run even
6901         for ~root != /root.
6903 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6905         * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
6907 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6909         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6910         Don't store into global errno if we already store through
6911         __errno_location.
6912         * sysdeps/unix/i386/sysdep.S: Likewise.
6913         * sysdeps/unix/alpha/sysdep.S: Likewise.
6914         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6915         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
6916         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.  Add
6917         missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
6918         PIC).
6920 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6922         * sysdeps/generic/sysdep.h (L): Remove definition.
6923         * sysdeps/i386/sysdep.h (L): Define it here instead.
6925 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6927         * nis/nis_call.c (__do_niscall): Safe and reset errno.
6929         * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
6931 1998-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6933         * sysdeps/generic/getresuid.c (__getresuid): Use ISO C
6934         declaration style to avoid warnings.
6936 1998-03-06 11:48  Mark M._Kettenis  <kettenis@hall.phys.uva.nl>
6938         * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
6939         "LD_DEBUG".
6941 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
6943         * posix/Makefile (tests): Add wordexp-test.
6944         * posix/wordexp-test.c: New file.  Testsuite for wrodexp.
6945         Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
6947 1998-03-05 16:04  Ulrich Drepper  <drepper@cygnus.com>
6949         * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
6950         dependencies.
6952         * elf/link.h (struct r_search_path_elem): Add two new field for
6953         lib path debugging.
6954         * elf/rtld.c: Recognize LD_DEBUG environment variable and set
6955         variable accordingly.
6956         * elf/dl-load.c: If _dl_debug_libs is nonzero print what library
6957         is considered next along with information about load paths.
6958         * sysdeps/generic/dl-cache.c: Likewise.
6959         * elf/dl-support.c: Define _dl_debug_libs.
6960         * elf/genrtldtbl.awk: Add initializers for two new field in
6961         struct r_search_path_elem.
6963 1998-03-06 10:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6965         * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
6966         * sysdeps/m68k/lshift.S: Likewise.
6967         * sysdeps/m68k/rshift.S: Likewise.
6968         * sysdeps/m68k/sub_n.S: Likewise.
6969         * sysdeps/m68k/m68020/addmul_1.S: Likewise.
6970         * sysdeps/m68k/m68020/mul_1.S: Likewise.
6971         * sysdeps/m68k/m68020/submul_1.S: Likewise.
6973         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
6974         [_LIBC_REENTRANT]: Don't store into global errno.
6976         * sysdeps/m68k/sysdep.h: New file.
6977         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it.  Use the macros
6978         ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
6979         (DO_CALL): Change to expect syscall name as argument.
6980         (PSEUDO): Pass syscall_name to DO_CALL.
6981         (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
6982         errno.
6984 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
6986         * elf/rtld.c: Speed up processing of environment variables.  Do
6987         only one run on the environment by avoiding to call getenv.
6988         * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
6989         function.  Used by patch above.
6991 1998-03-05  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6993         * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
6994         running nscd.
6995         * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
6996         * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
6997         * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
6999 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
7001         * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
7002         module cannot be found.  Reported by Andreas Jaeger.
7004 1998-03-05 11:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7006         * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
7007         on platforms which default to unsigned chars.
7008         * nscd/nscd_getpw_r.c: Likewise.
7009         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
7010         defining it.
7012 1998-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7014         * elf/Makefile (install-bin): Change = to += for sprof to install
7015         ldd also.
7017 1998-03-04 16:12  H.J. Lu  <hjl@gnu.org>
7019         * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
7021 1998-03-04 16:19  Ulrich Drepper  <drepper@cygnus.com>
7023         * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
7025 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7027         * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
7028         that a failure to connect to nscd doesn't change errno.
7030 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7032         * manual/maint.texi (Reporting Bugs): Change
7033         bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
7035         * locale/iso-4217.def: Likewise
7037 1998-03-04 12:43  Ulrich Drepper  <drepper@cygnus.com>
7039         * manual/texinfo.tex: Updated.
7041 1998-03-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7043         * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
7044         value.
7045         * sysdeps/posix/pathconf.c: Likewise.
7046         * posix/getconf.c: Print `undefined' if pathconf returns -1
7047         without setting errno.
7049 1998-03-04  Ulrich Drepper  <drepper@cygnus.com>
7051         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
7052         problem.
7053         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
7054         Patches by Elliot Lee <sopwith@cuc.edu>.
7056 1998-03-04 09:43  Ulrich Drepper  <drepper@cygnus.com>
7058         * elf/link.h (struct link_map): Add new field l_reloc_result.
7059         * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
7060         of relocation for the object to be profiled.
7061         * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
7062         to NULL.
7063         * elf/rtld.c (_dl_start): Add comment that we must not allocate an
7064         array here.
7065         * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
7066         contains a result from a previous run use this instead of computing
7067         the value again.
7068         * elf/dl-minimal.c (malloc): Remove limit for size of allocation.
7070 1998-03-04 11:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7072         * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
7073         offsets into the GOT.
7074         (RTLD_START): Likewise.
7076 1998-03-03 17:55  Ulrich Drepper  <drepper@cygnus.com>
7078         * elf/sprof.c: Cleanup a bit.
7080 1998-03-03 08:01  H.J. Lu  <hjl@gnu.org>
7082         * sysdeps/generic/sysdep.h (L): New. Define.
7084         * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
7086         * sysdeps/i386/i586/addmul_1.S: Fix a typo.
7088         * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
7089         to have only one exit point for functions.
7090         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7091         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
7092         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
7093         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7094         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7096 1998-03-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7098         * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
7099         reset errno so that errno isn't set to ENOSYS in the first call.
7100         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
7101         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
7102         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
7103         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
7105 1998-03-02 17:55  Ulrich Drepper  <drepper@cygnus.com>
7107         * sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
7108         * sysdeps/i386/addmul_1.S: Likewise.
7109         * sysdeps/i386/lshift.S: Likewise.
7110         * sysdeps/i386/mul_1.S: Likewise.
7111         * sysdeps/i386/rshift.S: Likewise.
7112         * sysdeps/i386/sub_n.S: Likewise.
7113         * sysdeps/i386/submul_1.S: Likewise.
7114         * sysdeps/i386/i586/add_n.S: Likewise.
7115         * sysdeps/i386/i586/addmul_1.S: Likewise.
7116         * sysdeps/i386/i586/lshift.S: Likewise.
7117         * sysdeps/i386/i586/mul_1.S: Likewise.
7118         * sysdeps/i386/i586/rshift.S: Likewise.
7119         * sysdeps/i386/i586/sub_n.S: Likewise.
7120         * sysdeps/i386/i586/submul_1.S: Likewise.
7122         * sysdeps/i386/sysdep.h: Extend last change.
7124         * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
7125         to have only one exit point for functions.
7127 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
7129         * configure.in: Fix msgfmt test.  Fix handling of //s in sysdeps
7130         search.
7132 1998-03-02 13:28  Ulrich Drepper  <drepper@cygnus.com>
7134         * Makerules: Generate libc.so with absolute paths for the used
7135         shared objects.
7137         * config.make.in: Add MAKEINFO definition.
7139 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
7141         * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
7142         (ENTRY): Use STABS_FUN.
7143         (END): Use STABS_FUN_END.
7144         (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
7146         * elf/Makefile: Add rules to build sprof program.
7147         * elf/sprof.c: New file.
7149 1998-02-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7151         * misc/syslog.c (openlog_internal): Insert missing closing brace.
7153 1998-02-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7155         * configure.in: Check for working msgfmt version (from GNU gettext
7156         0.10 or later).
7158 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
7160         * configure.in: Avoid //s in sysdirs.
7161         Patch by Roland McGrath.
7163         * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
7165 1998-03-02 07:17  H.J. Lu  <hjl@gnu.org>
7167         * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
7168         setting _dl_global_scope for RTLD_GLOBAL.
7170 1998-02-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7172         * sysdeps/unix/make-syscalls.sh: Fix last change so that all
7173         possible lists of object-suffixes are taken care of.
7175 1998-03-02 10:16  Ulrich Drepper  <drepper@cygnus.com>
7177         * timezone/private.h: Update from tzcode1998c.
7178         * timezone/zic.c: Likewise.
7179         * timezone/antarctica: Updated from tzdata1998c.
7180         * timezone/asia: Likewise.
7181         * timezone/australasia: Likewise.
7182         * timezone/europe: Likewise.
7183         * timezone/southamerica: Likewise.
7185 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
7187         * posix/glob.c (glob_in_dir): Add support for cases insensitive
7188         VMS.  Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
7190 1998-03-01 19:05  H.J. Lu  (hjl@gnu.org)
7192         * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
7193         Changed type of TWO43, TWO52 from float to double.
7194         * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
7195         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
7196         Changed type of TWO43 from float to double.
7197         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
7198         Use __isinff.
7200 1998-03-01 18:52  H.J. Lu  (hjl@gnu.org)
7202         * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
7203         osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
7204         osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
7206 1998-03-01 09:11  Richard Henderson  <rth@cygnus.com>
7208         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
7209         kernel_termios.h.
7210         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
7211         Clean up random whitespace.
7212         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
7213         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
7214         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
7215         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
7217 1998-03-01 08:31  Richard Henderson  <rth@cygnus.com>
7219         * shlib-versions: Match alpha*.
7220         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
7221         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
7223         * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
7224         Implement copysign* with and without __ prefix.
7225         Likewise for fabs; use builtin for gcc 2.8.
7226         (floor*): New.
7227         (fdim*): New.
7229         * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
7230         (R_SPARC*): Match current v9 ABI.
7232         * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
7234         * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
7235         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
7236         * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
7237         * sysdeps/generic/getresgid.c: Use prototype form because of warning.
7238         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
7239         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
7240         * sysdeps/unix/grantpt.c (argv): Fix consts.
7241         * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
7242         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7244 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7246         * misc/syslog.c: Change to allow user the interpretation of the
7247         outcome even with syslog having no return value.
7249 1998-02-05 20:41  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
7251         * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
7252         that the number of program headers is >0 (which is wrong for the
7253         loader itself).
7255 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7257         * Makefile (distribute): Add README.libm.
7259 1998-02-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7261         * time/clocktest.c (main): Correct typo: "--" -> "==".
7263 1998-02-25 20:53  H.J. Lu  <hjl@gnu.org>
7265         * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
7266         inline function.
7267         (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
7268         inline functions.
7270         * math/libm.map (__atan2): Added.
7272 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7274         * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
7275         Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
7277         * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
7278         bug.
7280 1998-02-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7282         * manual/arith.texi (Old-style number conversion): Correct
7283         typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
7285 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7287         * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
7288         but does not require it.  Handle missing argv[] values gracefully.
7289         * posix/execl.c: Likewise.
7290         * posix/execle.c: Likewise.
7292 1998-02-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7294         * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
7295         bit.
7296         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
7298 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7300         * libc.map: Add __adjtimex.
7302 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7304         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
7305         Remove memset.
7307 1998-02-24 08:10  H.J. Lu  <hjl@gnu.org>
7309         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
7310         to 64.
7312         * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
7314         * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
7315         * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.
7317         * sysdeps/unix/make-syscalls.sh: Make versioned symbols only
7318         for shared library.
7320         * libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
7322         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
7323         Added adjtimex and old_adjtimex.
7325         * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
7326         New.
7327         (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
7328         osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.
7330         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
7331         symbols only for shared library.
7332         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
7333         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
7334         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
7335         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
7336         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
7337         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
7338         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
7340         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
7341         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
7342         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
7343         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
7344         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
7345         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
7346         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
7347         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
7349         * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
7350         rusage pointer.
7352         * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
7353         New macros.
7354         (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
7355         timex and __adjtimex, respectively.
7357         * sysdeps/unix/sysv/linux/alpha/adjtime.c: New.
7359         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.
7361 1998-02-25 08:28  H.J. Lu  <hjl@gnu.org>
7363         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
7364         for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.
7366 1998-02-26 14:59  Ulrich Drepper  <drepper@cygnus.com>
7368         * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.
7370 1998-02-19 11:00  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7372         * Makefile.in: Disable built-in rules.
7374 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7376         * sysdeps/i386/fpu/t_exp.c: Move to ...
7377         * sysdeps/libm-i387/t_exp.c: ... here.
7379 1998-02-21 13:51  H.J. Lu  <hjl@gnu.org>
7381         * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
7382         from __exp2_deltatable.
7384 1998-02-26  Ulrich Drepper  <drepper@cygnus.com>
7386         * nis/ypclnt.c (yp_master): Check result of strdup.
7387         Patch by Thorsten Kukuk.
7389 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7391         * nis/ypclnt.c: Give clnt handle after error checking free, change
7392         return codes to fix problems with rpc.nisd in YP mode on Ultra's.
7394 1998-02-26 09:00  Ulrich Drepper  <drepper@cygnus.com>
7396         * misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
7397         Patch by Joe Keane <jgk@jgk.org>.
7399         * misc/fstab.h (struct fstab): Change fs_type member to be const.
7400         * misc/fstab.c: Remove casts in fs_type assignments.
7402 1998-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7404         * sysdeps/i386/fpu/bits/fenv.h: Correct typo.  ISO C 9X defines
7405         FE_TOWARDZERO and not FE_TOWARDSZERO.  Reported by H.J. Lu.
7406         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
7407         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
7408         * sysdeps/powerpc/bits/fenv.h: Likewise.
7409         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
7410         * sysdeps/generic/bits/fenv.h: Likewise.
7411         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
7412         * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
7413         * sysdeps/powerpc/test-arith.c (main): Likewise.
7415 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
7417         * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
7418         the comparison macros.
7420 1998-02-21 20:14  H.J. Lu  <hjl@gnu.org>
7422         * sysdeps/libm-ieee754/s_log2.c (ln2): Added.
7423         (__log2): Fixed return values.
7424         * sysdeps/libm-ieee754/s_log2f.c: Likewise.
7426 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
7428         * math/math.h (isunordered): Rename local variables to ensure
7429         correct code.  Reported by HJ Lu.
7431 1998-02-25 10:34  Ulrich Drepper  <drepper@cygnus.com>
7433         * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
7434         isless, islessequal, islessgreater, isunordered): Fix syntax for
7435         fucompip instruction.
7436         (isless, islessequal): Fix logic.
7438 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7440         * math/libm-test.c (sqrt_test): Add test for sqrt(2).
7441         (comparisons_test): New tests for comparison macros.
7443 1998-02-24 15:12  Ulrich Drepper  <drepper@cygnus.com>
7445         * Makeconfig: Filter out frame-pointer effecting options when
7446         compiling profiling or debugging code.
7447         * config.h.in (internal_function): Don't define here if PROF is
7448         defined.
7449         * gmon/gmon.c (__moncontrol): Don't change state if already in error
7450         state.
7451         (__monstartup): If calloc fails set error state and mark array as
7452         not allocated.
7453         (_mcleanup): Don't call write_gmon if in error state.  Don't try
7454         to free array if not  successfully allocated.
7456         * elf/dl-load.c (STRING): Define to __STRING to enble expansion.
7457         Include elf.h to get macro definitions.
7458         Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
7460 1998-02-24 09:40  Ulrich Drepper  <drepper@cygnus.com>
7462         * elf/ldd.sh.in: Add compatibility for broken old shells.
7463         * elf/ldd.bash.in: Likewise.
7465 1998-02-24 08:11  H.J. Lu  <hjl@gnu.org>
7467         * sunrpc/rpc_main.c (open_input): Check pipe return error.
7469         * time/clocktest.c (main): Check signal return error.
7471 1998-02-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7473         * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
7474         "/" and use do-install-program. Reported by Mark M. Kettenis.
7475         (subdir_install):  Likewise.
7477 1998-02-22  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7479         * sunrpc/rpc_sample.c: Fix typo.
7481         * nscd/connections.c: Use locale.
7482         * nscd/grpcache.c: Add debug messages, gidtbl should get the
7483           calloc result.
7484         * nscd/nscd.c: Check if init functions fails.
7485         * nscd/nscd_conf.c: Allow disabling of group cache.
7486         * nscd/nscd_getgr_r.c: Fix return code if group not found.
7487         * nscd/pwdcache.c: Fix debug messages.
7489 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7491         * libc.map: Add __monstartup and _mcleanup for profiling support.
7493 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7495         * libc.map: Export __getpagesize, for binary compatibility with
7496         2.0.
7498 1998-02-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7500         * posix/globtest.sh: Use --library-path instead of
7501         LD_LIBRARY_PATH.
7502         * localedata/sort-test.sh: Likewise.
7503         * localedata/tst-fmon.sh: Likewise.  Avoid useless use of cat.
7505 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7507         * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
7508         sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
7509         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7511         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
7512         kernel_sigaction): Define.
7513         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
7514         kernel_sigaction): Define.
7516 1998-02-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7518         * math/libm-test.c: Change epsilons for libm-ieee754.
7520 1998-02-23 12:33  Ulrich Drepper  <drepper@cygnus.com>
7522         * sysdeps/i386/__longjmp.S: Fix race condition.
7523         Reported by Bruno Haible <haible@ilog.fr>.
7525 1998-02-20 18:43  Ulrich Drepper  <drepper@cygnus.com>
7527         * hesiod/hesiod.c: Pretty print.  Don't use __ protected names.
7528         * iconvdata/8bit-gap.c: Likewise.
7529         * iconvdata/8bit-generic.c: Likewise.
7530         * iconvdata/iso6937.c: Likewise.
7531         * iconvdata/iso8859-1.c: Likewise.
7532         * iconvdata/sjis.c: Likewise.
7533         * iconvdata/t61.c: Likewise.
7535 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7537         * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
7538         feature tests by positive feature tests.
7540 1998-02-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7542         * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.
7544 1998-02-20  Ulrich Drepper  <drepper@cygnus.com>
7546         * elf/dlvsym.c (dlvsym_doit): More corrections.
7547         Patch by Andreas Jaeger.
7549 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
7551         * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.
7553 1998-02-19 17:16  Ulrich Drepper  <drepper@cygnus.com>
7555         * libc.map: More reordering for GLIBC_2.1 symbols.
7557 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7559         * libc.map: Move some functions from version GLIBC_2.0 to
7560         GLIBC_2.1, reorder declarations.
7562 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
7564         * resolv/gethnamaddr.c (addrsort): Make this function extern.
7565         Patch by zab@thebrain.grumblesmurf.net.
7567 1998-02-19  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7569         * nis/libnsl.map: NIS+ support is new in glibc 2.1, add
7570         NIS+ functions with version GLIBC_2.1.
7572 1998-02-19 14:05  Ulrich Drepper  <drepper@cygnus.com>
7574         * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
7575         with 2.0 binaries.  Reported by Thorsten Kukuk.
7577 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7579         * elf/dlvsym.c (dlvsym_doit): Correct last patch.
7581         * elf/dlsym.c (dlsym_doit): Likewise.
7583 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7585         * elf/link.h: Correct typos.
7587         * iconv/iconv_prog.c: Correct typo.
7589 1998-02-18 17:57  Ulrich Drepper  <drepper@cygnus.com>
7591         * iconv/Makefile: Add rules to build and install iconv program.
7592         * iconv/iconv_prog.c: New file.
7594 1998-02-18 16:34  H.J. Lu  <hjl@gnu.org>
7596         * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
7597         _dl_lookup_symbol_skip call.
7598         * elf/dlvsym.c (dlvsym_doit): Likewise.
7600 1998-02-18  Ulrich Drepper  <drepper@cygnus.com>
7602         * libio/iovsscanf.c: Do not include errno.h.
7604 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7606         * elf/dl-load.c (add_name_to_object): Don't translate strings.
7607         * elf/dl-minimal.c (_strerror_internal): Define it here to avoid
7608         pulling in the whole error list.
7609         (__dcgettext, dcgettext): Removed.
7610         * libc.map: Export _strerror_internal.
7612 1998-02-18 10:50  Ulrich Drepper  <drepper@cygnus.com>
7614         * sysdeps/i386/fpu/t_exp.c: New file.
7616 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7618         * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add
7619         everything with version GLIBC_2.1.
7620         * hesiod/libnss_hesiod.map: Likewise.
7622 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7624         * manual/arith.texi (Old-style number conversion): This node is a
7625         section, not a subsection.
7627 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7629         * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy.
7631 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7633         * elf/rtld.c (dl_main): Make sure that the library search paths
7634         have been initialized before the first call to _dl_map_object.
7636 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7638         * Makerules (common-generated): Add libc_pic.os.
7640 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7642         * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address
7643         of the executable.
7645 1998-02-18 10:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7647         * sysdeps/m68k/fpu/t_exp.c: New file.
7649 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
7651         * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
7652         to global errno variable anymore.
7654 1998-02-17 17:41  Ulrich Drepper  <drepper@cygnus.com>
7656         * elf/dl-load.c (open_path): Take extra argument PRELOADED.
7657         If PRELOADED is nonzero check in case of an SUID application
7658         whether the shared object has the SUID bit set.
7659         Fix some other problems with handling shared objects in system
7660         specific directories.
7661         (_dl_map_object): Also take extra parameter and pass it to open_path.
7662         * elf/link.h (_dl_map_object): Correct prototype and comment.
7663         * elf/rtld.c (dl_main): Call _dl_map_object correctly.
7664         * elf/dl-open.c (_dl_open): Likewise.
7665         * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.
7667         * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
7669 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
7671         * math/libm-test.c (modf_test): Add test for 1.5.
7673         * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
7674         0 to get always an int.
7676 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7678         * math/libm.map: Move all symbols that are new in glibc 2.1 to
7679         version GLIBC_2.1.
7681 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
7683         * stdio-common/vfscanf.c (inchar): Check c for being EOF before
7684         trying to read another character.
7686 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7688         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
7689         name to lowercase.
7691         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
7692         name to lowercase, add test for big enough buffer.
7694 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7696         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
7697         Make compatible with older kernels.  Patch by Richard Henderson.
7699 1998-02-17 15:10  Ulrich Drepper  <drepper@cygnus.com>
7701         * elf/dl-load.c (open_path): Use __xstat instead of stat.
7703         * localedata/tst-locale.sh: Comment out first test for now.
7705 1998-02-14 14:58  H.J. Lu  <hjl@gnu.org>
7707         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
7708         as 1.
7709         * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7710         Likewise.
7712         * libio/iogetline.c (_IO_getline_info): Renamed from
7713         _IO_getline.
7714         (_IO_getline): Just call _IO_getline_info.
7716         * libio/libioP.h (_IO_getline_info): New declaration.
7718         * libc.map (_IO_getline_info, __write): Added.
7720 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7722         * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
7723         const char* to shut up gcc.
7725 1998-02-17 11:37  Ulrich Drepper  <drepper@cygnus.com>
7727         * elf/dl-open.c (_dl_open): Assign correct value to new->l_global.
7728         Patch forwarded by Cristian Gafton <gafton@redhat.com>.
7730         * math/math.h: Define M_* constants always as `double' and add new
7731         macros M_*l which are of type `long double'.
7732         * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
7733         * sysdeps/libm-ieee754/s_cacosl.c: Likewise.
7734         * sysdeps/libm-ieee754/s_casinhl.c: Likewise.
7735         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
7736         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
7737         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
7738         * sysdeps/libm-ieee754/s_clogl.c: Likewise.
7739         * math/libm-tst.c: Likewise.
7741         * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
7742         define as long double unconditionally.
7744 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7746         * manual/arith.texi (Old-style number conversion): Correct some
7747         typos.
7749 1998-02-16 16:28  H.J. Lu  <hjl@gnu.org>
7751         * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
7752         Restore.
7754         * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.
7756 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
7758         * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
7759         on $(rtld-ldscript).
7761         * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
7762         starting from 0 not only from `from'.
7763         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7765 1998-02-16 17:33  Ulrich Drepper  <drepper@cygnus.com>
7767         * elf/rtld.c (dl_main): Recognize --library-path parameter and
7768         pass value (or NULL) to _dl_init_paths.
7769         * elf/dl-load.c (_dl_init_paths): Change to take one parameter,
7770         replacing local variable llp.  If llp is NULL examine LD_LIBRARY_PATH
7771         environment variable.
7772         * elf/link.h: Change prototype for _dl_init_paths.
7773         * elf/dl-support.c: Pass NULL in _dl_init_paths call.
7775         * localedata/Makefile (distribute): Add test files.
7777 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7779         * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
7780         test1.def, test2.def, test3.def, test4.def}: Simple input files
7781         for localedef. Contributed by Yung-Ching Hsiao
7782         <yhsiao@cae.wisc.edu>.
7784         * localedata/Makefile (tests): Call tst-locale.sh.
7786         * localedata/tst-locale.sh: New file, regression tests for some
7787         localedef problems.
7789 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7791         * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.
7793         * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
7794         terminated.
7795         * nis/nss_nisplus/nisplus-network.c: Likewise.
7796         * nis/nss_nisplus/nisplus-proto.c: Likewise.
7797         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
7798         * nis/nss_nisplus/nisplus-service.c: Likewise.
7800         Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
7801         and support generating thread safe RPC code.
7802         * sunrpc/rpc_main.c: Add changes.
7803         * sunrpc/rpc_clntout.c: Likewise.
7804         * sunrpc/rpc_cout.c: Likewise.
7805         * sunrpc/rpc_hout.c: Likewise.
7806         * sunrpc/rpc_parse.c: Likewise.
7807         * sunrpc/rpc_sample.c: Likewise.
7808         * sunrpc/rpc_scan.c: Likewise.
7809         * sunrpc/rpc_svcout.c: Likewise.
7810         * sunrpc/rpc_util.c: Likewise.
7811         * sunrpc/rpc_util.h: Add new structs and prototypes.
7812         * sunrpc/proto.h: Remove prototypes for static functions.
7814 1998-02-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7816         * locale/programs/ld-messages.c (messages_finish): Don't skip
7817         error checking when being quiet.
7818         * locale/programs/ld-ctype.c (ctype_finish): Likewise.
7819         (set_class_defaults): Likewise.
7820         * locale/programs/charmap.c (parse_charmap): Likewise.
7821         * locale/programs/ld-collate.c (collate_finish): Likewise.
7822         * locale/programs/ld-monetary.c (monetary_finish): Likewise.
7823         * locale/programs/ld-time.c (time_finish): Likewise.
7824         * locale/programs/locfile.c (write_locale_data): Likewise.
7826         * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
7827         unknown characters and empty ranges.
7828         * locale/programs/ld-collate.c (collate_order_elem): When
7829         processing an ellipsis properly form a linked list in the result
7830         table, fix typo when allocating ordering array.
7831         [PR libc/419]
7833 1998-02-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7835         * elf/Makefile (ld-map): Define.
7836         (rtld-ldscript): Define.  Change all `$(objpfx)rtld-ldscript' to
7837         `$(rtld-ldscript)'.
7838         ($(objpfx)ld.so): Combine the two versions of this rule.  Depend
7839         on $(ld-map).
7840         (rtld-link): Combine the two versions of this definition.  Fixed
7841         to make it work when no symbol versioning is used.
7843 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
7845         * Makeconfig (build-program-cmd): Use --library-path parameter to
7846         ld.so instead of environment variable.
7848         * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
7849         * sunrpc/rpc_main.c: Remove support for -$$ option again.
7851 1998-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7853         * Make-dist: Respect with-cvs setting.
7854         * MakeTAGS (all-pot): Likewise.
7855         * sysdeps/sparc/sparc32/Makefile: Likewise.
7856         * sysdeps/mach/hurd/Makefile: Likewise.
7857         * stdlib/Makefile: Likewise.
7858         * posix/Makefile: Likewise.
7859         * intl/Makefile: Likewise.
7860         * po/Makefile (linguas): Likewise
7862 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7864         * nis/ypclnt.c (yp_all): Remove error message, user should print it.
7866 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
7868         * libc.map: Add __strcasecmp.
7870         * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
7871         module.
7873         * nss/getXXent_r.c: If no more module is found don't try to call
7874         setXXent functions but leave unsuccessfully.
7876         * malloc/obstack.h: Cleanups.
7878         * sysdeps/wordsize-32/stdint.h: New file.
7879         * sysdeps/wordsize-64/stdint.h: New file.
7880         * sysdeps/generic/stdint.h: New file.
7881         * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h.
7882         * sysdeps/wordsize-64/inttypes.h: Likewise.
7883         * stdlib/Makefile (headers): Add stdint.h.
7885 1998-02-03  Paul Eggert  <eggert@twinsun.com>
7887         * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.
7889 1998-02-13 17:59  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7891         * timezone: New directory.
7892         * time/README, time/africa, time/antarctica, time/asia,
7893         time/australasia, time/backward, time/checktab.awk,
7894         time/etcetera, time/europe, time/factory, time/ialloc.c,
7895         time/iso3166.tab, time/leapseconds, time/northamerica,
7896         time/pacificnew, time/private.h, time/scheck.c,
7897         time/solar87, time/solar88, time/solar89, time/southamerica,
7898         time/systemv, time/test-tz.c, time/tzfile.h,
7899         time/tzselect.ksh, time/yearistype, time/zdump.c,
7900         time/zic.c, time/zone.tab: Moved to timezone.
7901         * time/tzfile.c: Include tzfile.h from timezone subdir.
7902         * time/tzset.c: Likewise.
7903         * time/Makefile: Cut out all code relating to timezones...
7904         * timezone/Makefile: ...and paste it in here.
7905         * Makefile (subdirs): Add timezone.
7907 1998-02-13 18:45  H.J. Lu  <hjl@gnu.org>
7909         * libc.map (_sys_nerr): Added.
7911         * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it
7912         versioned symbol.
7914 1998-02-15 17:16  Ulrich Drepper  <drepper@cygnus.com>
7916         * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
7917         pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
7918         Reported by Craig Metz <cmetz@inner.net>.
7920 1998-01-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7922         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
7923         instead of strcasecmp.
7924         * nss/nss_files/files-alias.c (get_next_alias): Likewise.
7926         * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8.
7928 1998-02-15 16:55  Ulrich Drepper  <drepper@cygnus.com>
7930         * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
7931         Patch by Dean Gaudet <dgaudet@arctic.org>.
7933 1998-02-15 16:53  Ulrich Drepper  <drepper@cygnus.com>
7935         * sysdeps/generic/Dist: Add getresgid.c and getresuid.c.
7937 1998-02-15 10:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7939         * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel
7940         with no poll syscall, just include the BSD version.
7941         * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a
7942         kernel without the syscall, include the stub version.
7943         * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
7944         * sysdeps/generic/getresuid.c: New file.
7945         * sysdeps/generic/getresgid.c: New file.
7947 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
7949         * stdio-common/vfscanf.c: Correct last change a bit.
7951 1998-02-13 17:39  Ulrich Drepper  <drepper@cygnus.com>
7953         * elf/Makefile: Don't use --version-script parameter to link ld.so
7954         unconditionally.
7956 1998-01-02 04:19  Geoff Keating  <geoffk@ozemail.com.au>
7958         * math/Makefile: Add t_exp.
7959         * math/libm-test.c: Tighten accuracy bounds for exp(), correct
7960         constants.
7961         * math/test-reduce.c: Remove temporarily, it seems to be broken.
7962         * sysdeps/libm-ieee754/e_exp.c: Use accurate table method.
7963         * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for
7964         better accuracy.
7965         * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct
7966         algorithm for very large/very small arguments.
7967         * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial;
7968         correct algorithm for very large/very small arguments; adjust for
7969         new table.
7970         * sysdeps/libm-ieee754/t_exp.c: New file.
7971         * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas.
7973         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test'
7974         back, with comment that explains what breaks when you remove it :-(.
7976         * localedata/xfrm-test.c: Avoid integer overflow.
7978         * stdlib/strfmon.c: char is unsigned, sometimes.
7980         * sysdeps/powerpc/Makefile: Remove quad float support.
7981         * sysdeps/powerpc/q_*.c: Remove, they will become an add-on.
7982         * sysdeps/powerpc/quad_float.h: Likewise.
7983         * sysdeps/powerpc/test-arith.c: Likewise.
7984         * sysdeps/powerpc/test-arithf.c: Likewise.
7986         * sysdeps/generic/s_exp2.c: Remove, we have this implemented now.
7987         * sysdeps/generic/s_exp2f.c: Likewise.
7989         * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__,
7990         don't try anything if _SOFT_FLOAT.
7992 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7994         * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
7995         * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
7996         * wctype/wctype.c: Likewise.
7997         * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
7998         changed.  They are incompatible with the _ISxxx values from
7999         <ctype.h> on little endian machines.
8000         (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
8001         bit number.  This fixes the real bug and restores the integrity of
8002         the ctype locale file.
8003         * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
8004         * wctype/wcfuncs_l.c: Likewise.
8005         * wctype/wcextra.c: Likewise.
8006         * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
8007         byte swapping.
8009 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8011         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it
8012         into .bss segment instead of .common, so that aliases on it work.
8014         * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and
8015         .size directives, put into .bss segment instead of initializing it
8016         to 4.
8018 1998-02-12 08:00  H.J. Lu  <hjl@gnu.org>
8020         * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added.
8022         * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New
8023         functions.
8024         Make names without __ weak aliases.
8025         (__libc_release, __libc_version): Make them static.
8027         * include/gnu/libc-version.h: New file.
8028         * Makefile (headers): Add gnu/libc-version.h.
8030 1998-02-13  Ulrich Drepper  <drepper@cygnus.com>
8032         * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
8033         and use x for member name.
8034         Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
8036         * stdlib/drand48.c: Change according to member name change.
8037         * stdlib/drand48_r.c: Likewise.
8038         * stdlib/lcong48_r.c: Likewise.
8039         * stdlib/lrand48.c: Likewise.
8040         * stdlib/lrand48_r.c: Likewise.
8041         * stdlib/mrand48.c: Likewise.
8042         * stdlib/mrand48_r.c: Likewise.
8043         * stdlib/seed48.c: Likewise.
8044         * stdlib/seed48_r.c: Likewise.
8045         * stdlib/srand48_r.c: Likewise.
8047 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8049         * nss/test-netdb.c: Add some more test cases.
8051 1998-02-13 11:39  Ulrich Drepper  <drepper@cygnus.com>
8053         * libio/iovsscanf.c: Undo last change modifying errno.
8055 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8057         * stdio-common/vfscanf.c: Never try to read another character
8058         after EOF.  Don't decrement read_in after EOF, it wasn't
8059         incremented in the first place.
8060         (NEXT_WIDE_CHAR): Set First, not first.
8062 1998-02-06 07:48  H.J. Lu  <hjl@gnu.org>
8064         * db/Makefile ($(inst_libdir)/libndbm.a,
8065         $(inst_libdir)/libndbm.so): New targets.
8066         * db2/Makefile: Likewise.
8068 1998-02-12 08:20  H.J. Lu  <hjl@gnu.org>
8070         * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak
8071         aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined.
8073 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8075         * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++
8076         <streambuf.h>.
8077         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
8079 1998-02-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8081         * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with
8082         versioned symbols.
8084 1998-02-13 08:14  H.J. Lu  <hjl@gnu.org>
8086         * libc.map (_dl_global_scope, _dl_lookup_symbol_skip,
8087         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip):
8088         Added for libdl.so.
8090 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8092         * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
8093         extra syscall.
8095         * grp/Makefile: Fix logic when checking for thread package.
8096         * pwd/Makefile: Likewise.
8098 1998-02-11 08:23  H.J. Lu  <hjl@gnu.org>
8100         * elf/Makefile (rtld-map): Replaced by libc-map.
8102         * elf/rtld.map: Removed.
8104         * libc.map (__libc_enable_secure, _dl_catch_error,
8105         _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state,
8106         _dl_default_scope, _dl_global_scope_end, _dl_init_next,
8107         _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps,
8108         _dl_object_relocation_scope, _dl_relocate_object,
8109         _dl_signal_error, _dl_starting_up, _dl_sysdep_start,
8110         _r_debug): Added for ld.so.
8112 1998-02-10 08:38  H.J. Lu  <hjl@gnu.org>
8114         * libio/iofclose.c: Check PIC && DO_VERSIONING instead of
8115         DO_VERSIONING.
8116         * libio/iofdopen.c: Ditto.
8117         * libio/iofopen.c: Ditto.
8118         * libio/oldfileops.c: Ditto.
8120         * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for
8121         version GLIBC_2.1.
8123         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed
8124         oldsiglist from sysdep_routines and shared-only-routines.
8126         * sysdeps/unix/sysv/linux/errlist.c: New.
8127         * sysdeps/unix/sysv/linux/errlist.h: New.
8128         * sysdeps/unix/sysv/linux/sizes.h: New.
8129         * sysdeps/unix/sysv/linux/alpha/sizes.h: New.
8130         * sysdeps/unix/sysv/linux/sparc64/sizes.h: New.
8132         * sysdeps/unix/sysv/linux/oldsiglist.c: Removed.
8134         * sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>.
8135         (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size
8136         directive.
8138         * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New.
8140         * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added.
8141         (oldsiglist.c): Removed.
8143         * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New.
8144         (_sys_siglist): Use SYS_SIGLIST instead.
8145         (_sys_nerr): Use SYS_NERR instead.
8147         * sysdeps/gnu/errlist.c: Rebuilt.
8149 1998-02-11 08:35  H.J. Lu  <hjl@gnu.org>
8151         * elf/Makefile (others-static): New, set to ldconfig.
8152         ($(objpfx)ldconfig): Removed.
8154         * Rules (binaries-all, binaries-static, binaries-shared): New.
8155         Create targets for $(binaries-static) and $(binaries-shared).
8157         * Makeconfig (+link-static, link-libc-static,
8158         link-extra-libs-static): New for static linking.
8160 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8162         * manual/memory.texi (Using the Memory Debugger): Fix typo.
8164         * math/libm-test.c (modf_test): Add one more test for modf.
8166 1998-02-11 14:39  Ulrich Drepper  <drepper@happy.cygnus.com>
8168         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
8169         Rename from __libc_have_rt_sigs and leave as COMMON data.
8171 1998-02-11 08:30  H.J. Lu  <hjl@gnu.org>
8173         * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead
8174         of __finite.
8176 1998-02-11 19:16  Richard Henderson  <rth@cygnus.com>
8178         * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
8180 1998-02-11 16:56  Ulrich Drepper  <drepper@happy.cygnus.com>
8182         * misc/tst-efgcvt.c: Add yet more tests.
8183         * misc/efgcvt_r.c: And correct for these tests again.
8184         Reported by HJ Lu.
8186         * isomac.c: Move to...
8187         * stdlib/isomac.c: ...here.
8188         * Makefile: Move rules for handling isomac...
8189         * stdlib/Makefile: ...to here.
8191 1998-02-10 23:57  Ulrich Drepper  <drepper@happy.cygnus.com>
8193         * misc/tst-efgcvt.c: Add more tests.
8194         * misc/efgcvt_r.c: Correct result for above new tests.
8196 1998-02-06 17:22  H.J. Lu  <hjl@gnu.org>
8198         * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
8199         NDIGIT <= 0.
8201 1998-02-10 16:48  Philip Blundell  <pb@nexus.co.uk>
8203         * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
8204         if the programs weren't built.
8206 1998-02-09 10:12  Philip Blundell  <pb@nexus.co.uk>
8208         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
8209         FE_TONEAREST, soldier on regardless and do the best we can.
8210         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
8212 1998-02-5 17:20  Philip Blundell  <pb@nexus.co.uk>
8214         * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
8215         _STDIO_H, before including <bits/stdio_lim.h>.
8217         * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
8219         * io/fts.c (fts_build): Don't try to use d_type if it doesn't
8220         exist.
8222         * sysdeps/arm/sys/ucontext.h: New file.
8224 1998-02-04 10:11  Philip Blundell  <pb@nexus.co.uk>
8226         * manual/stdio.texi (Formatted Output Functions): Explicitly say
8227         that the return value from snprintf() does not count the
8228         terminating NUL as a character.
8230 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
8232         * manual/users.texi: Rewrite to describe correct POSIX behaviour,
8233         add description for sete[ug]id and general cleanup.
8234         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8236 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8238         * Makefile (parent-clean): Don't remove makefile fragments here.
8239         (postclean): New variable.
8240         (clean): Remove makefile fragments here.
8241         (realclean distclean): Likewise.  Pass sysdep-subdirs to sub-make.
8242         (generated): Add isomac and isomanc.out.
8243         * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
8244         avoid-generated is set.
8245         (postclean-generated): Add soversion.mk.
8246         ($(common-objpfx)version.mk): Don't include if avoid-generated is
8247         set.
8248         * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
8249         avoid-generated is set.
8250         (common-generated): Add libc.so and libc.so$(libc.so-version).
8251         (generated): Add versioned libraries.
8252         (common-mostlyclean): Also remove %.so and %_pic.a.
8253         * csu/Makefile (generated): Add abi-tag.h.
8254         * db2/Makefile (extra-objs): Add getlong.o.
8255         * elf/Makefile (generated): Add ld.so, ldd and
8256         $(rtld-installed-name).
8257         (others): Add ldconfig here instead of ldconfig.o to extra-objs.
8258         * malloc/Makefile (generated): Add mtrace.
8259         * po/Makefile: Don't include version.mk, not needed any more.
8260         * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
8261         * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
8262         syscall.h -> sys/syscall.h.
8263         (common-generated): Add s-proto.d.
8264         (postclean-generated): Add sysd-syscalls.
8265         * localedata/Makefile (test-output): Add all output files.
8266         (generated): Add test-input and test-output.
8267         (generated-dirs): Add all the dirs.
8269 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8271         * Makefile (test-output, generated, generated-dirs): New
8272         variables.
8274 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
8276         * resolv/nss_dns/dns-host.c: Various code cleanups.
8278 1998-02-09 08:10  H.J. Lu  <hjl@gnu.org>
8280         * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
8281         From Philip Blundell <pb@nexus.co.uk>.
8282         * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
8284 1998-02-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8286         * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
8287         Suggested by debian/sparc porters.
8289 1998-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8291         * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
8292         for ecvt and fcvt.
8294 1998-02-10 16:32  Ulrich Drepper  <drepper@happy.cygnus.com>
8296         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
8297         __fxstat instead of stat and fstat.  Use namespace clean __stpcpy.
8299         * signal/signal.h: Always define sigset_t if __need_sigset_t is
8300         defined even if __USE_POSIX is not defined.
8302 1998-02-02 20:51  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8304         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
8305         to support obsolete tty major numbers correctly.
8307 1998-02-02 08:47  H.J. Lu  <hjl@gnu.org>
8309         * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
8310         directory first and ignore install error.
8312         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
8313         128 from ptyno and fix a typo for the BSD style pty.
8315 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8317         * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
8318         syscalls.list's.
8320 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8322         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
8323         getresuid and getresgid.
8325         * sysdeps/unix/sysv/linux/getresuid.c: New file.
8326         * sysdeps/unix/sysv/linux/getresgid.c: New file.
8328         * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
8329         s_getres[ug]id.
8331         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
8332         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8333         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8334         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
8336 1998-02-02 08:11  H.J. Lu  <hjl@gnu.org>
8338         * nscd/grpcache.c: Include <stdlib.h>.
8340 1998-02-01 16:01  H.J. Lu  <hjl@gnu.org>
8342         * stdlib/atoll.c: Fix comments.
8344         * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
8345         * sysdeps/posix/ttyname_r.c: Ditto.
8347 1998-02-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8349         * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
8350         __USE_MISC, independent of __USE_UNIX98.
8352 1998-02-10 19:18  Ulrich Drepper  <drepper@happy.cygnus.com>
8354         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
8355         Rename from __libc_have_rt_sigs and leave as COMMON data.
8357 1998-02-04 11:58  Richard Henderson  <rth@twiddle.rth.home>
8359         * Makeconfig (CFLAGS-.os): Kill -fno-common.
8360         * Makerules (libc.so): Prelink libc_pic.a, allocating commons.
8362         * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
8363         * elf/rtld.map: New file.  Needed to define the GLIBC_2.*
8364         version symbols.
8365         * include/libc-symbols.h (symbol_version, default_symbol_version):
8366         Provide asm versions and correct !DO_VERSIONING versions.
8367         * sysdeps/unix/make-syscalls.sh: Recognize version symbols in
8368         the weak symbol list.
8370         * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
8371         Rename from __libc_have_rt_sigs and leave as COMMON data.
8372         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
8373         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8374         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8376 1998-02-04 16:41  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8378         * sunrpc/Makefile: Correct dependencies of rpcgen.
8380 1998-02-10 03:00  Ulrich Drepper  <drepper@happy.cygnus.com>
8382         * nscd/Makefile: Fix test for available linuxthreads add-on.
8383         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8385 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8387         * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
8389 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8391         * sysdeps/gnu/Makefile: Respect with-cvs variable.
8393         * manual/errno.texi (Error Messages): Correct description of
8394         strerror_r.  Pointed out by jonas@bagge.se.
8396 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8398         * manual/socket.texi (Host Address Functions): Clarify description
8399         of inet_network.
8401 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8403         * sysdeps/unix/grantpt.c (argv): Move const to toplevel.
8404         (grantpt): Delete superfluous cast.
8406 1998-02-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8408         * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
8409         elf/ldso_install instead of elf/subdir_install.
8410         (elf/ldso_install): New target.
8412         * elf/Makefile (ldso_install): New target.
8414 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8416         * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
8417         of 1998-01-06.
8419 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8421         * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
8422         constant expressions.
8424 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8426         * nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
8427         for __nss_configure_lookup.
8428         (output_hostent): Remove unused variable.
8430 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8432         * string/tst-inlcall.c: Fix format string.
8434 1998-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8436         * inet/netinet/in.h: Rename second parameter of bindresvport to
8437         avoid buggy gcc warning. [PR libc/412]
8439 1998-02-04 18:04  Richard Henderson  <rth@cygnus.com>
8441         * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
8442         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
8444         * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
8445         Follow POSIX and make tv_sec a time_t.
8446         * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
8447         new tv64 syscall as well as fall back to tv32.
8448         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
8449         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
8450         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
8451         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
8452         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
8453         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
8454         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
8455         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
8457         * include/rpcsvc/nis.h: New.  Bounce to nis/rpcsvc.
8458         * include/rpcsvc/nis_tags.h: Likewise.
8459         * include/rpcsvc/nislib.h: Likewise.
8461 1998-02-02 01:12  Ulrich Drepper  <drepper@cygnus.com>
8463         * libc.map: Add _h_errno.
8464         * inet/herrno.c: Make _h_errno weak alias.
8466         * login/Makefile (distribute): Add pty-internal.h.
8468         * nscd/Makefile (distribute): Add all the files missing.
8470         * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
8471         are available.
8473         * stdio-common/tstscanf.c: Rewrite a bit to continue after errors
8474         and report status at the end.
8476         * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
8478         * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
8479         variable.
8480         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
8481         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
8482         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
8484 1998-01-03 20:47  Mark Kettenis  <kettenis@phys.uva.nl>
8486         * configure.in: Fix --enable-add-ons code.
8488 1998-02-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8490         * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
8491         by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
8492         [PR libc/441]
8494         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
8495         occurence in cache.  Reported by Rudolf Leitgeb
8496         <leitgeb@leland.stanford.edu>.
8497         [PR libc/440]
8499 1998-02-01 21:18  Ulrich Drepper  <drepper@cygnus.com>
8501         * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
8502         that it never is EINTR (which is tested for in _IO_vfscanf).
8504         * Makefile.in: Call sub-make with CVSOPTS.
8506         * elf/Makefile (distribute): Add dl-procinfo.h.
8508         * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.
8510 1998-02-01 15:54  Ulrich Drepper  <drepper@cygnus.com>
8512         * version.h (VERSION): Bump to 2.0.92.
8514 1998-01-31  Phil Blundell  <philb@gnu.org>
8516         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
8517         alias for __new_sys_siglist.
8519 1998-02-01 00:53  Ulrich Drepper  <drepper@cygnus.com>
8521         * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
8522         getgrgid_r.c if thread package is available.
8523         * pwd/Makefile: Likewise.
8524         * grp/getgrnam_r.c: Remove USE_NSCD definition.
8525         * grp/getgrgid_r.c: Likewise.
8526         * pwd/getpwnam_r.c: Likewise.
8527         * pwd/getpwuid_r.c: Likewise.
8529 1998-01-31 23:46  Ulrich Drepper  <drepper@cygnus.com>
8531         * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
8532         with error to allow user intervention.
8533         * nss/getXXent_r.c: Likewise.
8535 1998-01-31 21:18  Ulrich Drepper  <drepper@cygnus.com>
8537         * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
8538         AT_PLATFORM string.  Pretty print AT_BASE info.
8540         * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
8541         (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
8542         * sysdeps/generic/dl-procinfo.h: New file.
8543         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
8545 1998-01-31 20:52  Ulrich Drepper  <drepper@cygnus.com>
8547         * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.
8549         * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
8550         thread and not pthread_detach.
8552         * nscd/nscd.c: Rewrite to use argp instead of getopt.
8554 1998-01-31  Phil Blundell  <philb@gnu.org>
8556         * configure.in: Add --without-cvs option to suppress automatic
8557         checkin of regenerated files.
8558         * config.make.in: Likewise.
8559         * Makefile: Respect with-cvs setting.
8560         * Makerules: Likewise.
8562         * configure.in: Allow the standalone ARM port to be configured.
8564 1998-01-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8566         * grp/getgrgid_r.c: Define USE_NSCD.
8567         * grp/getgrnam_r.c: Likewise.
8568         * pwd/getpwuid_r.c: Likewise.
8569         * pwd/getpwnam_r.c: Likewise.
8571         * sysdeps/unix/inet/Subdirs: Add nscd subdir.
8573         * nss/getXXbyYY_r.c: Try at first nscd.
8575         * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
8576         * nscd/connections.c: New file.
8577         * nscd/dbg_log.c: New file.
8578         * nscd/dbg_log.h: New file.
8579         * nscd/grpcache.c: New file.
8580         * nscd/nscd.c: New file.
8581         * nscd/nscd.h: New file.
8582         * nscd/nscd_conf.c: New file.
8583         * nscd/nscd_stat.c: New file.
8584         * nscd/pwdcache.c: New file.
8586         * nscd/nscd_getgr_r.c: New, client code, linked into libc.
8587         * nscd/nscd_getpw_r.c: Likewise.
8588         * nscd/nscd_proto.h: New, prototypes for client functions.
8590         * nscd/nscd.conf: New, example for a configuration file.
8591         * nscd/nscd.init: New, example for a startup script.
8593         * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
8594         avoid deadlocks.
8595         * nscd/getgrnam_r.c: Likewise.
8596         * nscd/getpwnam_r.c: Likewise.
8597         * nscd/getpwuid_r.c: Likewise.
8599 1998-01-31 11:44  Ulrich Drepper  <drepper@cygnus.com>
8601         * intl/Makefile: Use CVSOPTS in cvs invocation.
8602         * po/Makefile: Likewise.
8603         * posix/Makefile: Likewise.
8604         * stdlib/Makefile: Likewise.
8606 1998-01-31 11:18  Ulrich Drepper  <drepper@cygnus.com>
8608         * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
8609         [PR libc/410]
8610         * misc/Makefile (tests): Add tst-efgcvt.
8611         * misc/tst-efgcvt.c: New file.
8613 1998-01-31 00:21  Ulrich Drepper  <drepper@cygnus.com>
8615         * posix/regex.c: Add some more cleanups by Akim Demaille.
8617 1998-01-30 23:55  Ulrich Drepper  <drepper@cygnus.com>
8619         * signal/signal.h: Revert last change.
8620         * string/strsignal.c: Regard signal number NSGI as illegal.
8621         * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
8622         members.
8624 1998-01-30 23:37  Ulrich Drepper  <drepper@cygnus.com>
8626         * Makefile.in: Add comment about CVSOPTS Makefile variable.
8627         * Makerules: Use CVSOPTS in cvs invocation.
8628         * Makefile: Likewise.
8629         * MakeTAGS: Likewise.
8630         * Make-dist: Likewise.
8632 1998-01-30 22:37  Ulrich Drepper  <drepper@cygnus.com>
8634         * sysdeps/generic/memmem.c: Correct last change.
8636 1998-01-30 22:12  Ulrich Drepper  <drepper@cygnus.com>
8638         * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
8639         CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
8641 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8643         * nis/ypclnt.c: Try at first to use the binding file from ypbind
8644         before using RPC.
8646 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8648         * manual/memory.texi (Heap Consistency Checking): mcheck is
8649         declared in <mcheck.h>.
8650         Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
8652 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8654         * sysdeps/generic/memmem.c (memmem): An empty needle is at the
8655         beginning of haystack.
8657 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8659         * nss/nss_files/files-service.c: Correct last patch.
8661 1998-01-30 21:29  Ulrich Drepper  <drepper@cygnus.com>
8663         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
8664         __libc_have_rt_sigs.
8665         * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
8666         including <bits/setjmp.h>.
8667         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
8668         Patch from the Debian glibc/SPARC package.
8670 1997-12-12 07:57  H.J. Lu  <hjl@gnu.org>
8672         * sysdeps/alpha/bzero.S: Fix a typo.
8673         * sysdeps/alpha/htonl.S: Ditto.
8674         * sysdeps/alpha/htons.S: Ditto.
8676 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8678         * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
8680 1998-01-30 19:58  Ulrich Drepper  <drepper@cygnus.com>
8682         * include/cpio.h: Move to ...
8683         * posix/cpio.h: ...here.
8685         * locale/programs/ld-collate.c: Fix typo.
8687         * signal/signal.h: Declare _sys_siglist with NSIG+1 elements.
8689         * stdio-common/tiformat.c: Add checks for %#.0o and friends.
8691         * login/utmp_file.c (pututline_file): Don't always report success
8692         if similar entry is found.  Patch by Mark M. Kettenis.
8694 1998-01-30 16:06  Philip Blundell  <pb@nexus.co.uk>
8696         * manual/Makefile: Don't try to install the info files if makeinfo
8697         is not available.
8699 1998-01-30 12:05  Philip Blundell  <pb@nexus.co.uk>
8701         * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
8702         kernel's network ioctls, rather than using <linux/sockios.h> to
8703         get them.  This way we are sure of maintaining compatibility if
8704         the kernel interface should change.
8706 1998-01-30 15:52  Ulrich Drepper  <drepper@cygnus.com>
8708         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
8710 1998-01-25 19:54  Philip Blundell  <Philip.Blundell@pobox.com>
8712         * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
8713         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
8715 1998-01-27 22:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8717         Implement System V pseudoterminal handling.
8719         * login/Makefile
8720         (routines): Add getpt, grantpt, unlockpt, ptsname.
8721         (libutil-routines): Remove pty. Add openpty, forkpty.
8722         (distribute): New internal header pty-internal.h.
8723         (others): Add the helper program, pt_chown.
8724         (install-others): Install it, in $(libexecdir), mode 4755.
8726         * login/pty-internal.h: New file.
8727         * login/openpty.c: New file.
8728         * login/forkpty.c: New file.
8729         * login/programs/pt_chown.c: New file.
8731         * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
8732         * stdlib/stdlib.h: Prototype them.
8734         * config.make.in: Define $(libexecdir).
8735         * Makeconfig: Define $(inst_libexecdir).
8737         * sysdeps/generic/pty.c: Removed.
8738         * sysdeps/unix/sysv/linux/pty.c: Removed.
8740         * sysdeps/generic/getpt.c: Stub out.
8741         * sysdeps/generic/grantpt.c: Likewise.
8742         * sysdeps/generic/ptsname.c: Likewise.
8743         * sysdeps/generic/unlockpt.c: Likewise.
8745         * sysdeps/unix/grantpt.c: New file.
8746         * sysdeps/unix/bsd/getpt.c: New file.
8747         * sysdeps/unix/bsd/unlockpt.c: New file.
8748         * sysdeps/unix/sysv/linux/getpt.c: New file.
8749         * sysdeps/unix/sysv/linux/ptsname.c: New file.
8750         * sysdeps/unix/sysv/linux/unlockpt.c: New file.
8752 1998-01-29 23:56  Ulrich Drepper  <drepper@cygnus.com>
8754         * localedata/locales/ru_RU: Fix YESEXPR.  Patch by lav@yars.free.net.
8756 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8758         * nss/Makefile (tests): Add rule for test-netdb.c.
8760         * nss/test-netdb.c: New file.
8762 1998-01-29 02:38  Ulrich Drepper  <drepper@cygnus.com>
8764         * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
8765         really kept as a variable.  Patch by Richard Henderson,
8766         reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
8768         * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
8769         * elf/genrtldtbl.awk: Mark machine dependent directory of generated
8770         entries as not existing.
8772 1998-01-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8774         * stdio-common/vfprintf.c (process_arg): Fix printing of octal
8775         zero in alternate form with precision of zero, which must produce
8776         "0".  Add braces to avoid ambiguous `else'.
8778 1998-01-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8780         * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
8781         problem with strncpy.
8782         * nis/nss_compat/compat-pwd.c: Likewise.
8783         * nis/nss_compat/comapt-spwd.c: Likewise.
8785 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8787         * assert/assert.h (assert_perror): Correct test for errnum.  Patch
8788         by uch@nop.or.jp. [PR libc/437]
8790 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8792         * nis/nis_cache.c: Include <unistd.h> for declaration of close.
8794 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8796         * stdio-common/test-popen.c: Include <errno.h>.
8798         * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
8799         close.
8801         * inet/getnetgrent_r.c: Include <errno.h>.
8803         * db2/db/db_conv.c: Include <string.h> for memcpy.
8805         * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
8806         so that memcpy is declared.
8808         * iconv/iconv_open.c: Include <stdlib.h> for alloca.
8810         * misc/init-misc.c: Remove unneeded inclusion of <errno.h>.
8812 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8814         * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
8815         overflow while reading line with fgets.
8816         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
8818 1998-01-27 00:46  Ulrich Drepper  <drepper@cygnus.com>
8820         * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
8821         unsigned short, not short.
8822         Reported by Andreas Jaeger.
8824 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8826         * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
8827         (ccept->accept).
8829         * sysdeps/generic/inttypes.h: Fix spelling.
8831 1998-01-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8833         * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.
8835         * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
8837 1998-01-27 00:30  Ulrich Drepper  <drepper@cygnus.com>
8839         * stdio-common/printf.h (struct print_info): Add new bitfield is_char.
8840         * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
8841         field for hh modifier.
8842         * stdio-common/vfprint.c: Use is_char field and do not depend in
8843         is_short having the value 2.
8844         Bug reported by Andreas Jaeger.
8846 1998-01-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8848         * libio/freopen.c (freopen): Call _IO_old_freopen only if defined
8849         PIC && DO_VERSIONING.
8851 1998-01-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8853         * Rules: Add rules for $(common-objpfx)dummy$o.
8855 1998-01-26  Richard Henderson  <rth@cygnus.com>
8857         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
8858         unimplemented OSF/1 definitions so that they are not accidentally seen.
8860         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
8861         of the trampoline function into the macro.
8862         * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
8863         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
8864         kernel 2.1.82 has this fixed.
8866         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
8867         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
8869 1998-01-26  Ulrich Drepper  <drepper@cygnus.com>
8871         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
8872         support sigaction on kernels > 2.1.7x.
8874 1998-01-01 13:52  Ulrich Drepper  <drepper@cygnus.com>
8876         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
8877         if it is empty.
8879         * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
8880         Patch by David Engel <david@sw.ods.com>.
8882         * configure.in: Fix another typo in --enable-add-ons code.
8884 1998-01-26 03:48  Ulrich Drepper  <drepper@cygnus.com>
8886         * sysdeps/unix/sysv/linux/siglist.c: Add copyright text.
8888 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8890         * nss/nss_files/files-network.c: Correct order of parameters for
8891         getnetbyaddr.
8893 1998-01-26 00:57  Ulrich Drepper  <drepper@cygnus.com>
8895         * db2/Makefile (routines): Add os_alloc.
8896         * db2/db.h: Update from db-2.3.16.
8897         * db2/db_185.h: Likewise.
8898         * db2/db_int.h: Likewise.
8899         * db2/btree/bt_close.c: Likewise.
8900         * db2/btree/bt_cursor.c: Likewise.
8901         * db2/btree/bt_delete.c: Likewise.
8902         * db2/btree/bt_open.c: Likewise.
8903         * db2/btree/bt_page.c: Likewise.
8904         * db2/btree/bt_put.c: Likewise.
8905         * db2/btree/bt_rec.c: Likewise.
8906         * db2/btree/bt_recno.c: Likewise.
8907         * db2/btree/btree_auto.c: Likewise.
8908         * db2/common/db_appinit.c: Likewise.
8909         * db2/common/db_apprec.c: Likewise.
8910         * db2/common/db_err.c: Likewise.
8911         * db2/common/db_region.c: Likewise.
8912         * db2/common/db_shash.c: Likewise.
8913         * db2/db/db.c: Likewise.
8914         * db2/db/db_auto.c: Likewise.
8915         * db2/db/db_conv.c: Likewise.
8916         * db2/db/db_dispatch.c: Likewise.
8917         * db2/db/db_dup.c: Likewise.
8918         * db2/db/db_pr.c: Likewise.
8919         * db2/db/db_rec.c: Likewise.
8920         * db2/db185/db185.c: Likewise.
8921         * db2/dbm/dbm.c: Likewise.
8922         * db2/hash/hash.c: Likewise.
8923         * db2/hash/hash_auto.c: Likewise.
8924         * db2/hash/hash_dup.c: Likewise.
8925         * db2/hash/hash_page.c: Likewise.
8926         * db2/hash/hash_rec.c: Likewise.
8927         * db2/include/btree_ext.h: Likewise.
8928         * db2/include/clib_ext.h: Likewise.
8929         * db2/include/common_ext.h: Likewise.
8930         * db2/include/db.h.src: Likewise.
8931         * db2/include/db_185.h.src: Likewise.
8932         * db2/include/db_am.h: Likewise.
8933         * db2/include/db_ext.h: Likewise.
8934         * db2/include/db_int.h.src: Likewise.
8935         * db2/include/hash_ext.h: Likewise.
8936         * db2/include/lock_ext.h: Likewise.
8937         * db2/include/log.h: Likewise.
8938         * db2/include/log_auto.h: Likewise.
8939         * db2/include/log_ext.h: Likewise.
8940         * db2/include/mp.h: Likewise.
8941         * db2/include/mp_ext.h: Likewise.
8942         * db2/include/mutex_ext.h: Likewise.
8943         * db2/include/os_ext.h: Likewise.
8944         * db2/include/os_func.h: Likewise.
8945         * db2/include/txn_ext.h: Likewise.
8946         * db2/lock/lock.c: Likewise.
8947         * db2/lock/lock_util.c: Likewise.
8948         * db2/log/log.c: Likewise.
8949         * db2/log/log.src: Likewise.
8950         * db2/log/log_archive.c: Likewise.
8951         * db2/log/log_auto.c: Likewise.
8952         * db2/log/log_get.c: Likewise.
8953         * db2/log/log_put.c: Likewise.
8954         * db2/log/log_rec.c: Likewise.
8955         * db2/log/log_register.c: Likewise.
8956         * db2/mp/mp_bh.c: Likewise.
8957         * db2/mp/mp_fget.c: Likewise.
8958         * db2/mp/mp_fopen.c: Likewise.
8959         * db2/mp/mp_fput.c: Likewise.
8960         * db2/mp/mp_pr.c: Likewise.
8961         * db2/mp/mp_sync.c: Likewise.
8962         * db2/mutex/mutex.c: Likewise.
8963         * db2/os/os_alloc.c: Likewise.
8964         * db2/os/os_config.c: Likewise.
8965         * db2/os/os_stat.c: Likewise.
8966         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
8967         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
8968         * db2/progs/db_load/db_load.c: Likewise.
8969         * db2/progs/db_printlog/db_printlog.c: Likewise.
8970         * db2/progs/db_recover/db_recover.c: Likewise.
8971         * db2/progs/db_stat/db_stat.c: Likewise.
8972         * db2/txn/txn.c: Likewise.
8974         * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
8975         Unmap memory blocks in reverse order of allocation.
8976         Call munmap with load address added to offset.
8977         Bug reported by Miguel de Icaza.
8979         * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
8980         up weight array.
8982         * localedata/locales/cs_CZ: Update by Michael Mraka
8983         <michael@informatics.muni.cz>.
8985         * misc/sys/syslog.h: Reformat a bit.  Don't declare vsyslog unless
8986         __USE_BSD.
8988         * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
8989         reading line with fgets.
8990         * nis/nss_compat/compat-pwd.c: Likewise.
8991         * nis/nss_compat/compat-spwd.c: Likewise.
8992         * nss/nss_files/files-XXX.c: Likewise.
8993         * nss/nss_files/files-alias.c: Likewise.
8994         * shadow/fgetspent_r.c: Likewise.
8996         * string/strerror_r.c: Correct comment.  Patch by Andreas Jaeger.
8998         * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
8999         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
9000         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
9002         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
9003         FP register content in ucontext_t.
9005 1998-01-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9007         * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
9008         calculation.  Patch by Markus Schoder
9009         <Markus.Schoder@dresdner-bank.de>.
9011         * math/libm-test.c (modf_test): Add more tests for modf.
9013         * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
9014         munlock according to Unix98.
9016 1998-01-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9018         * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
9019         AF_INET.
9021 1998-01-21 07:22  H.J. Lu  <hjl@gnu.org>
9023         * sysdeps/posix/ttyname.c: Handle symbolic links.
9024         * sysdeps/posix/ttyname_r.c: Ditto.
9026 1998-01-25 19:39  Ulrich Drepper  <drepper@cygnus.com>
9028         * db2/makedb.c (process_input): Write terminating \0 for value.
9029         (print_database): Simply print value string, don't use length.
9031 1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9033         * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
9034         exit of loop.
9036 1998-01-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9038         * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
9039         close all sockets.
9041 1998-01-25 14:54  Ulrich Drepper  <drepper@cygnus.com>
9043         * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
9044         sigset.
9045         * signal/sighold.c: New file.
9046         * signal/sigrelse.c: New file.
9047         * sysdeps/generic/sigignore.c: New file.
9048         * sysdeps/generic/sigset.c: New file.
9049         * sysdeps/posix/sigignore.c: New file.
9050         * sysdeps/posix/sigset.c: New file.
9051         * signal/signal.h: Add prototypes for new functions.
9053         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
9054         * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
9055         * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
9056         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
9058 1998-01-23 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
9060         * posix/wordexp.c: Added IFS field-splitting in parameter and
9061         command substitution.  Fixed an IFS-related bug that caused an
9062         infinite loop.
9064 1998-01-25 12:38  Ulrich Drepper  <drepper@cygnus.com>
9066         * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
9067         and swapcontext.
9068         * stdlib/ucontext.h: Correct prototypes.
9069         * sysdeps/generic/getcontext.c: New file.
9070         * sysdeps/generic/setcontext.c: New file.
9071         * sysdeps/generic/makecontext.c: New file.
9072         * sysdeps/generic/swapcontext.c: New file.
9073         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
9075 1998-01-25 04:07  Ulrich Drepper  <drepper@cygnus.com>
9077         * resource/sys/resource.h: Remove #include of ulimit.h which is
9078         not allowed by SUSv2 and not available on other systems.
9079         * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
9081         * streams/Makefile: New file.
9082         * streams/stropts.h: New file.
9083         * sysdeps/generic/bits/stropts.h: New file.
9084         * sysdeps/generic/isastream.c: New file.
9085         * sysdeps/generic/getmsg.c: New file.
9086         * sysdeps/generic/getpmsg.c: New file.
9087         * sysdeps/generic/putmsg.c: New file.
9088         * sysdeps/generic/putpmsg.c: New file.
9089         * sysdeps/generic/fattach.c: New file.
9090         * sysdeps/generic/fdetach.c: New file.
9091         * sysdeps/unix/inet/Subdirs: Add streams.
9092         * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
9093         __t_uscalar_t.
9094         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9095         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
9096         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
9097         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
9099         * sysdeps/mach/_strerror.c: Follow changes of generic version to
9100         handle small buffers correctly.
9102 1998-01-24 17:31  H.J. Lu  <hjl@gnu.org>
9104         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
9105         Remove the 3rd arg and add declaration for _dl_runtime_resolve
9106         and _dl_runtime_profile.
9108 1998-01-25 02:42  Ulrich Drepper  <drepper@cygnus.com>
9110         * include/cpio.h: New file.  Mainly copied from GNU cpio.
9111         * posix/Makefile (headers): Add cpio.h.
9113 1998-01-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9115         * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
9116         to routines.
9117         * nis/nis_cache.c: New file.
9118         * nis/nis_cache2.h: New file.
9119         * nis/nis_cache2_xdr.c: New file.
9120         * nis/nis_call.c: Changes for cache2_info parameter.
9121         * nis/nis_checkpoint.c: Likewise.
9122         * nis/nis_intern.h: Likewise.
9123         * nis/nis_mkdir.c: Likewise.
9124         * nis/nis_ping.c: Likewise.
9125         * nis/nis_rmdir.c: Likewise.
9126         * nis/nis_server.c: Likewise.
9127         * nis/nis_util.c: Likewise.
9129 1997-12-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9131         * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
9132         return/errnop codes.
9133         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
9134         * nis/nss_nisplus/nisplus-grp.c: Likewise.
9135         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
9136         * nis/nss_nisplus/nisplus-proto.c: Likewise.
9137         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
9138         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
9139         * nis/nss_nisplus/nisplus-rpc.c: Likewise
9140         * nis/nss_nisplus/nisplus-service.c: Likewise.
9141         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
9143 1997-12-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9145         * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
9146         * nis/nss_nis/nis-ethers.c: Likewise.
9147         * nis/nss_nis/nis-grp.c: Likewise.
9148         * nis/nss_nis/nis-hosts.c: Likewise.
9149         * nis/nss_nis/nis-network.c: Likewise.
9150         * nis/nss_nis/nis-proto.c: Likewise.
9151         * nis/nss_nis/nis-hosts.c: Likewise.
9152         * nis/nss_nis/nis-network.c: Likewise.
9153         * nis/nss_nis/nis-proto.c: Likewise.
9154         * nis/nss_nis/nis-publickey.c: Likewise.
9155         * nis/nss_nis/nis-pwd.c: Likewise.
9156         * nis/nss_nis/nis-rpc.c: Likewise.
9157         * nis/nss_nis/nis-service.c: Likewise.
9158         * nis/nss_nis/nis-spwd.c: Likewise.
9160 1998-01-24  Ulrich Drepper  <drepper@cygnus.com>
9162         * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
9163         Added to follow latest kernel development.
9165 1998-01-24 15:13  Ulrich Drepper  <drepper@happy.cygnus.com>
9167         * nss/db-Makefile: Handle empty and comment lines better.
9168         ($(VAR_DB)/services.db): Generate entries with missing protocol
9169         value.
9171 1998-01-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9173         * nss/nss_files/files-service.c (getservbyport): Allow proto ==
9174           NULL.
9175           (getservbyname): Allow proto == NULL.
9176           Pointed out by David N. Welton <davidw@gate.cks.com>.
9177           [PR libc/430].
9179 1998-01-24 11:34  Ulrich Drepper  <drepper@happy.cygnus.com>
9181         * nis/nislib/nislib.h: Finally removed.
9183         * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
9184         C compiler.  From Kaveh Ghazi.
9185         (TYPE_MINIMUM): Define.
9186         (TYPE_MAXIMUM): Define.
9187         (TIME_T_MIN): Use TYPE_MINIMUM.
9188         (TIME_T_MAX): Use TYPE_MAXIMUM.
9189         Patch by Jim Meyering <meyering@ascend.com>.
9191 1998-01-22 00:55  Ulrich Drepper  <drepper@happy.cygnus.com>
9193         * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
9194         __pread64, __pwrite64, and __getpid.
9196         * rt/aio_misc.c: Use pread and pwrite instead of __ protected
9197         versions.
9199 1998-01-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9201         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
9202         cancelable socket functions as __libc_xxx with __xxx as weak
9203         alias.
9204         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
9205         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9207         * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
9208         redefined.
9209         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9210         * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
9211         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
9212         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
9214         * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
9215         and __xxx a weak alias.
9216         * sysdeps/unix/sysv/linux/connect.S: Likewise.
9217         * sysdeps/unix/sysv/linux/recv.S: Likewise.
9218         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
9219         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
9220         * sysdeps/unix/sysv/linux/send.S: Likewise.
9221         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
9222         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
9224 1998-01-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9226         * locale/langinfo.h: Add defines.
9228         * dirent/dirent.h: Add defines for DT_*, check also for
9229         _DIRENT_HAVE_D_TYPE.
9230         Suggested by Roland McGrath.
9232 1998-01-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9234         * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
9235         Update from Linux 2.1.73+79.
9237         * README.template: Update information about possible
9238         configurations.
9240         * manual/mbyte.texi (Wide String Conversion): Fix declaration of
9241         wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
9242         [PR libc/417].
9244         * manual/time.texi (Priority): Correct description of
9245         PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
9246         [PR libc/416].
9248 11998-01-21 21:34  Ulrich Drepper  <drepper@cygnus.com>
9250         * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
9251         FP_ILOGNAN.   Patch by a sun <asun@zoology.washington.edu>.
9253 1998-01-21 17:53  Ulrich Drepper  <drepper@cygnus.com>
9255         * sysdeps/generic/_strerror.c: Handle BUFLEN == 0.  Reported by
9256         Andreas Jaeger.
9258 1998-01-20 18:13  Ulrich Drepper  <drepper@cygnus.com>
9260         * locale/programs/ld-collate.c: Little optimizations.
9262         * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
9264         * string/Makefile (tests): Add tst-inlcall.
9265         * string/tst-inlcall.c: New file.
9267         * string/strsignal.c: Add support for real-time signals.
9269         * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
9270         presense of small buffer.
9272         * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
9274         * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
9275         for i686.
9277         * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
9278         _NSIG + 1.
9280 1998-01-02 15:10  Matthias Urlichs   <urlichs@noris.de>
9282         * Rules: Add explicit rule for dummy.o; at least one library needs
9283           it and it isn't autogenerated by the default rules.
9285 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9287         * math/libm-test.c: Tweak epsilons.
9289 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9291         * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
9292         child.
9293         (feenv_mask_test): Likewise.
9295 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9297         * Makeconfig: Don't export CPPFLAGS.
9299 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9301         * sunrpc/rpc_main.c (parseargs): Use perror to print error
9302         message.
9304 1998-01-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9306         * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
9307         terminating null in key size.
9309 1998-01-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9311         * nss/nss_files/files-service.c: Fix allocation size to include
9312         length of PROTO.
9314         * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
9315         applicable.  Fix return value and error checking.
9316         (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
9317         unparsable lines.
9318         (DB_LOOKUP): Allocate space for terminating null byte.
9320         * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
9321         uids specially.
9323         * db2/makedb.c (process_input): Continue processing if a duplicate
9324         key is encountered.
9326 1998-01-19 15:20  Ulrich Drepper  <drepper@cygnus.com>
9328         * time/tzfile.h: Updated from tzcode1998b.
9329         * time/zdump.c: Likewise.
9330         * time/zic.c: Likewise.
9331         * time/africa: Update from tzdata1998b.
9332         * time/antarctica: Likewise.
9333         * time/asia: Likewise.
9334         * time/australasia: Likewise.
9335         * time/etcetera: Likewise.
9336         * time/europe: Likewise.
9337         * time/leapseconds: Likewise.
9338         * time/northamerica: Likewise.
9339         * time/southamerica: Likewise.
9341 1998-01-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9343         * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
9344         lookups ignoring case.
9345         * nss/nss_files/files-network.c: Do network lookups ignoring
9346         case.
9347         * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
9348         case.
9349         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
9350         case insensitive comparing.
9351         Patches by Cristian Gafton <gafton@redhat.com>.
9353 1998-01-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9355         * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines.  Suggested
9356         by Roland McGrath. [PR libc/395]
9358 1998-01-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9360         * manual/arith.texi (Parsing of Integers): Correct description of
9361         strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
9362         [PR libc/396]
9364 1997-12-30 14:14  Matthias Urlichs  <urlichs@noris.de>
9366         * misc/lsearch.c (lsearch): Return a pointer to the new element
9367         if one was "allocated".
9369 1997-12-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9371         * string/strsignal.c: NSIG is not a valid index into
9372         _sys_siglist.  Don't zap the last character of the "Unknown
9373         signal" message.
9375 1998-01-19 15:08  Ulrich Drepper  <drepper@cygnus.com>
9377         * locale/programs/charmap.c (parse_charmap): Correct parsing of
9378         ellipsis expressions.
9380         * locale/programs/charset.c (insert_char): Correctly insert value
9381         of eliipsis expression.
9383 1997-12-28 15:08  Ulrich Drepper  <drepper@cygnus.com>
9385         * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
9386         <bits/setjmp.h>.
9387         * sysdeps/powerpc/setjmp.S: Likewise.
9388         Patches by Matt McLean <keys@keys.got.net>.
9390         * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
9392         * Makefile: Undo last patch.
9393         (distribute): Add test-installation.pl.
9395         * configure.in: Correct handling of --enable-add-ons without parameter.
9396         Correct address of WWW pages.
9398         * libc.map: Add _nl_domain_bindings.
9400         * db2/mutex/tsl_parisc.s: New file.
9402         * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
9403         and extra-module.mk.
9405         * localedata/Makefile (distribute): New.  Add all the files.
9407         * stdlib/Makefile (headers): Add inttypes.h.
9408         (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
9409         * sysdeps/generic/inttypes.h: New file.
9410         * sysdeps/generic/strtoimax.c: New file.
9411         * sysdeps/generic/strtoumax.c: New file.
9412         * sysdeps/generic/wcstoimax.c: New file.
9413         * sysdeps/generic/wcstoumax.c: New file.
9414         * sysdeps/wordsize-32/Dist: Removed.
9415         * sysdeps/wordsize-32/Makefile: Removed.
9416         * sysdeps/wordsize-64/Dist: Removed.
9417         * sysdeps/wordsize-64/Makefile: Removed.
9418         * sysdeps/generic/bits/environments.h: New file.
9420         * include/limits.h: Define MB_LEN_MAX in any case to 6.  The gcc
9421         header is still not correct.
9423         * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
9424         * posix/unistd.h: Likewise.
9425         * sysdeps/generic/sys/mman.h: Likewise.
9426         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
9428         * manual/arith.texi: Change definition of mul macro.
9429         * manual/math.texi: Likewise.
9431         * misc/Makefile (routines): Add mmap64.
9432         * sysdeps/generic/mmap64.c: New file.
9433         * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
9434         * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
9435         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
9436         aliases to mmap.
9437         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9439         * sysdeps/generic/setrlimit64.c: Don't mark as stub.
9441         * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
9443         * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
9445         * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
9446         FOPEN_MAX also when included by limits.h.
9447         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
9449         * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
9450         and netrom/netrom.h.
9451         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
9452         oldsiglist to sysdep_routines, not aux.
9453         [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
9455         * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
9456         and SOL_NETROM definition.
9458         * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
9460         * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
9461         * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
9463 1997-12-25  Ulrich Drepper  <drepper@cygnus.com>
9465         * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
9467         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
9468         sa_handler with k_sa_handler.
9469         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
9470         strong alias.
9471         Reported by a sun.
9473         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
9474         __libc_have_rt_sigs here.
9475         * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
9476         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9477         * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
9478         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9480 1997-12-11 07:51  Geoff Keating  <geoffk@ozemail.com.au>
9482         * sysdeps/powerpc/atomicity.h: New file.
9483         * sysdeps/mach/powerpc/machine-lock.h: New file.
9485         * Rules: Use -fpic to build anything that might end up in a users'
9486         shared library.
9488         * sysdeps/powerpc/s_fdim.c: New file.
9489         * sysdeps/powerpc/s_fdimf.c: New file.
9490         * sysdeps/powerpc/s_fmax.S: New file.
9491         * sysdeps/powerpc/s_fmaxf.S: New file.
9492         * sysdeps/powerpc/s_fmin.S: New file.
9493         * sysdeps/powerpc/s_fminf.S: New file.
9494         * sysdeps/powerpc/s_llrint.c: Now is for double.
9495         * sysdeps/powerpc/s_llrintf.c: New file.
9496         * sysdeps/powerpc/s_llround.c: Now is for double.
9497         * sysdeps/powerpc/s_llroundf.c: New file.
9498         * sysdeps/powerpc/s_lrint.c: Now is for double.
9499         * sysdeps/powerpc/s_lrintf.S: New file.
9500         * sysdeps/powerpc/s_lround.c: Now is for double.
9501         * sysdeps/powerpc/s_lroundf.c: New file.
9502         * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
9503         lrintf, fdim, fdimf.
9505         * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
9506         file directly, use its parent.
9508         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
9509         (for the third time).
9511 1997-12-20 13:50  Richard Henderson  <rth@cygnus.com>
9513         * posix/sched.h: timespec is in <time.h>.
9515         * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
9517 1997-12-22 18:10  Ulrich Drepper  <drepper@cygnus.com>
9519         * configure.in: Stop with error if --disable-static is used when
9520         the shared lib uses this library.
9522         * gen-FAQ.pl: I've perl installed in /usr/bin.
9524         * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
9526         Fix Unix98 conformance problems in the headers.
9527         * catgets/nl_types.h: Define nl_item.
9528         * grp/grp.h: Define gid_t.
9529         * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
9530         * include/nl_types.h: New file.
9531         * include/ulimit.h: New file.
9532         * io/fcntl.h: Include sys/stat.h for Unix98.  Don't define locking
9533         constants in POSIX mode.
9534         * io/utime.h: Get definition for time_t.
9535         * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
9536         uid_t, pid_t.  Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
9537         * libio/stdio.h: Define va_list.  Make snprintf also available is
9538         __USE_UNIX98.  Declare getopt function and variables.
9539         * locale/langinfo.h: Include nl_types.h.  Don't define nl_item.
9540         Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
9541         * math/math.h: Defined M_* constants as double for Unix98 mode.
9542         * posix/fnmatch.h: Pretty print.  Define FNM_NOSYS.
9543         * posix/glob.h: Pretty print.  Define GLOB_NOSYS.
9544         * posix/regex.h: Define REG_NOSYS.
9545         * posix/wordexp.h: Define WRDE_NOSYS.
9546         * posix/unistd.h: Define _POSIX2_VERSION.  Define _XOPEN_VERSION to
9547         500 for Unix98.
9548         * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
9549         somewhere else as well.  Define clock_t for Unix98.
9550         * posix/sys/wait.h: Define pid_t.
9551         * pwd/pwd.h: Define gid_t, uid_t.
9552         * resource/Makefile (headers): Add ulimit.h.
9553         * resource/ulimit.h: New file.
9554         * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
9555         instead of second argument.
9556         * sysdeps/unix/bsd/ulimit.c: Likewise.  Use UL_* constants.
9557         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
9558         * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
9559         * signal/signal.h: Define pid_t.
9560         * string/string.h: Don't declare BSD string functions in POSIX mode.
9561         * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE.  Add
9562         _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
9563         * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
9564         and POSIX.
9566         * inet/test_ifindex.c: Change test so that it does not fail for
9567         interface aliases.
9569         * locale/programs/locale.c (show_info): Use correct cast sequence
9570         for 64bit machines.
9572         * malloc/malloc.c: __malloc_initialized now signals three states:
9573         uninitialized, initializing, initialized.  Used in mcheck.
9574         * malloc/mcheck.c (mabort): Add '\n' to messages.
9575         (mcheck): Allow installation when malloc is uninitialized or is
9576         just initializing.
9578         * manual/memory.texi: Explain mtrace output a bit more.
9580         * math/libm-test.c: Add more epsilons.
9582         * misc/regexp.h (compile): Remove __ prefix from parameter names.
9584         * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
9585         instead of strcpy for security.
9586         * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
9587         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
9588         * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
9590         * nss/digits_dots.c: Pretty print.
9592         * posix/getconf.c (vars): Add symbols for programming environment
9593         recognition.  Recognize --version.
9595         * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
9596         _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
9597         * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
9599         * sysdeps/generic/bits/stdio_lim.h: Implement handling of
9600         __need_FOPEN_MAX.
9601         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
9602         * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
9603         __need_FOPEN_MAX.
9605         * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
9606         * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
9608         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
9609         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9610         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
9611         * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
9612         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9613         * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
9615         * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
9616         SCNu*.
9617         * sysdeps/wordsize-64/inttypes.h: Likewise.
9619         * time/africa: Update from tzdata1997j.
9620         * time/antarctica: Likewise.
9621         * time/asia: Likewise.
9622         * time/australasia: Likewise.
9623         * time/backward: Likewise.
9624         * time/etcetera: Likewise.
9625         * time/europe: Likewise.
9626         * time/factory: Likewise.
9627         * time/northamerica: Likewise.
9628         * time/pacificnew: Likewise.
9629         * time/southamerica: Likewise.
9631         * time/tzfile.h: Update from tzcode1997h.
9632         * time/zic.c: Likewise.
9634         * wcsmbs/wchar.h: Get definition of FILE.  Define `struct tm' tag.
9635         Declare wcwidth and wcswidth for __USE_XOPEN.  Declare the
9636         isw*() functions for Unix98.
9637         * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
9638         * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
9639         is defined.
9641 1997-12-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9643         * locale/duplocale.c: Increase usage_count only if less than
9644         MAX_USAGE_COUNT.
9645         * locale/freelocale.c: Test usage_count against UNDELETABLE, not
9646         MAX_USAGE_COUNT.
9647         * locale/setlocale.c: Likewise.
9649 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9651         * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
9652         dependency to make it easier to install it selectively.
9654         * Makerules (.SUFFIXES): Don't define any suffixes.
9656 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9658         * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
9659         * sysdeps/generic/statfs64.c: Emulate using statfs.
9660         * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
9661         * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
9662         * sysdpes/generic/ftruncate64.c: New file.
9663         * sysdpes/generic/truncate64.c: New file.
9665         * sysdeps/generic/bits/stat.h: Add LFS support.
9666         * sysdeps/generic/bits/statfs.h: Likewise.
9668         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
9669         [__USE_FILE_OFFSET64]: Make long long constant.
9670         (RLIM64_INFINITY): Likewise.
9672         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
9673         for LFS support.
9674         (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
9675         * sysdeps/generic/bits/resource.h: Likewise.
9677         * misc/Makefile (routines): Add truncate64 and ftruncate64.
9679         * include/features.h: Don't prevent LFS support from defining BSD
9680         and SYSV things.
9682         * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
9683         * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
9684         * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
9686         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
9687         fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
9688         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9690         * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
9691         * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
9692         * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
9693         * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
9694         * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
9695         * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
9696         * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
9697         * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
9698         * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
9699         * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
9700         * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
9701         * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
9702         * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
9703         * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
9704         * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
9705         * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
9706         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
9707         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
9708         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
9709         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
9711         * sysdeps/unix/sysv/linux/fxstat64.c: New file.
9712         * sysdeps/unix/sysv/linux/lxstat64.c: New file.
9713         * sysdeps/unix/sysv/linux/xstat64.c: New file.
9714         * sysdeps/unix/sysv/linux/readdir64.c: New file.
9715         * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
9717         * sysdeps/unix/sysv/linux/getdents64.c: New file.
9718         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
9719         [$(subdir)=dirent]: Add getdents64.
9720         * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
9722         * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
9724 1997-12-18 12:07  Philip Blundell  <pb@nexus.co.uk>
9726         * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
9728         * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
9729         * sysdeps/generic/getrlimit64.c: Likewise.
9730         * sysdeps/generic/setrlimit.c: Likewise.
9731         * sysdeps/generic/setrlimit64.c: Likewise.
9733 1997-12-17 13:57  Philip Blundell  <pb@nexus.co.uk>
9735         * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
9736         using versioning.
9738         * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
9740         * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
9742 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9744         * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
9745         after the codeset name.
9747 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9749         * libc.map: Add get_kernel_syms.
9751 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9753         * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
9754         static.
9755         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
9756         Likewise.  Fix condition.
9758 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9760         * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
9762 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9764         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
9765         Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
9767 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9769         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
9770         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
9771         instead.  Oops.
9773 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9775         * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
9777 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9779         * math/libm-test.c (catanh_test): Change epsilon.
9780         Reported by H.J. Lu.
9782 1997-12-14 19:39  H.J. Lu  <hjl@gnu.org>
9784         * libc.map (__getpid): Added for linuxthreads.
9786 1997-12-13 21:09  H.J. Lu  <hjl@gnu.org>
9788         * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
9789         it if gcc uses static variable in DWARF2 unwind information
9790         for exception support.
9792         * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
9794         * elf/soinit.c (__libc_global_ctors, _fini): Handle
9795         HAVE_DWARF2_UNWIND_INFO_STATIC.
9797         * libc.map (__register_frame*, __deregister_frame*): Make them
9798         global.
9800 1997-12-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9802         * math/libm-test.c: Add more tests for "normal" values.
9804 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9806         * stdio-common/printf_fphex.c: Fix printing of long double number
9807         with a biased exponent of zero.  Fix rounding.
9809 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9811         * sunrpc/rpc_main.c: Accept new flag -$.
9812         * sunrpc/Makefile (rpcgen-cmd): Pass it here.
9814 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9816         * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
9817         dynamic linker first, in case the interface has changed.
9819 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9821         * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
9822         order.
9824 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9826         * math/tgmath.h: Check for double first, for architectures where
9827         sizeof (long double) == sizeof (double).
9829 1997-12-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9831         * math/libm-test.c: New tests for "normal" values added for most
9832         functions.
9834 1997-12-14 21:33  Ulrich Drepper  <drepper@cygnus.com>
9836         * version.h (VERSION): Bump to 2.0.91.
9838         * db2/makedb.c (process_input): Fix typo in message.
9839         * sunrpc/rpcinfo.c (pmapdump): Unify messages.
9841         * elf/dynamic-link.h: Pretty print.
9843         * elf/rtld.c: Allow multiple preloading of a shared object.
9845         * include/limits.h: Prevent multiple inclusion.
9847         * malloc/Makefile (headers): Add mcheck.h.
9848         (distribute): Remove it here.
9849         * malloc/mcheck.h: Pretty print.
9850         * malloc/mtrace.c (mallenv): Make `const'.
9851         * malloc/mtrace.pl: Don't print table head for memory leaks if there
9852         are none.
9853         * manual/memory.texi: Update descriptor of malloc hooks.
9855         * posix/Makefile (routines): Add waitid.
9856         * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
9857         on __id_t.
9858         * posix/sys/wait.h: Define idtype_t type.
9859         Add prototype for waitid.
9860         * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
9861         * sysdeps/generic/waitid.c: Stub for waitid.
9862         * sysdeps/generic/bits/siginfo.h: Define sigval_t.  Arrange to work
9863         the __need_siginfo_t defined.
9864         * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
9865         * sysdeps/generic/bits/types.h: Define __id_t.
9866         Correct definition of __FDMASK.
9867         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
9868         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9869         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
9871         * sysdeps/posix/waitid.c: New file.
9872         Provided by Zack Weinberg.
9874         * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
9876         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
9877         Add missing parameters.
9879         * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
9880         * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
9881         * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
9882         * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
9883         initialized.
9885         * sysdeps/i386/dl-machine.h: Little cleanup.
9887         * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
9888         (__finite): Mark function as const.
9889         Add inline code for __ieee754_atan2.
9891         * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
9892         (but don't use it now).
9893         * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
9894         __atan.
9895         * sysdeps/libm-ieee754/s_catanf.c: Likewise.
9896         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
9897         * sysdeps/libm-ieee754/s_catanh.c: Likewise.  Correct sign of
9898         real part.
9899         * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
9900         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
9901         * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
9902         __ieee754_atan2 to base 10.
9903         * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
9904         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
9906         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
9907         old_kernel_sigaction.
9909         * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
9911         * wctype/Makefile (routines): Add wctype_l.
9912         * wctype/wctype.h: Add declaration of __wctype_l.
9913         * wctype/wctype_l.c: New file.
9915 1997-12-10 00:38  Ulrich Drepper  <drepper@cygnus.com>
9917         * locale/C-ctype.c: Correct data for isw* functions.
9918         * locale/programs/ld-ctype.c: Write 32bit char classes in correct
9919         byte order.
9920         * wctype/test_wctype.c: Add test for isw* functions.
9921         * wctype/wctype.c: Return value with expected byte order.
9923 1997-12-13  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9925         * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
9927 1997-12-05 20:19  H.J. Lu  <hjl@gnu.org>
9929         * iconvdata/Makefile: Fix a typo.
9931         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
9932         oldsiglist for shared library.
9934         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
9935         sys_sigabbrev): Make them as the default version GLIBC_2.1.
9937         * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
9938         sys_siglist, sys_sigabbrev): New file. Make them as the old
9939         version GLIBC_2.0.
9941         * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
9942         to GLIBC_2.1.
9944 1997-11-20 18:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
9946         * libio/iofgets.c (_IO_fgets): Return an error only if there
9947         is a new error.
9948         * libio/iogets.c (_IO_gets): Ditto.
9950 1997-11-20 07:26  H.J. Lu  <hjl@gnu.ai.mit.edu>
9952         * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
9954         * libio/Makefile (routines, shared-only-routines): Add
9955         oldiofdopen.
9957         * libio/fileops.c: Don't use _IO_FILE_complete.
9958         * libio/iofdopen.c: Ditto.
9959         * libio/iofopen.c: Ditto.
9960         * libio/iofopen64.c: Ditto.
9961         * libio/iopopen.c: Ditto.
9962         * libio/iovdprintf.c: Ditto.
9964         * libio/genops.c (_IO_init): Set _vtable_offset to 0.
9966         * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
9967         and make it for _IO_fdopen/fdopen version GLIBC_2.1.
9969         * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
9970         _IO_old_fdopen, _IO_new_fdopen): New declaration.
9972         * libio/libio.h (_IO_FILE): Add more fields.
9973         (_IO_FILE_complete): Defined and make _IO_FILE be the old
9974         one if _IO_USE_OLD_IO_FILE is defined
9975         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
9976         them _IO_FILE_complete.
9978         * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
9979         to adjust vtable.
9980         (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
9981         _IO_JUMPS.
9982         (_IO_FILE_complete): Commented out.
9984         * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
9985         * libio/oldiofclose.c: Ditto.
9986         * libio/oldiofopen.c: Ditto.
9987         * libio/oldstdfiles.c: Ditto.
9989         * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
9990         for the old _IO_FILE.
9992         * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
9993         (_IO_check_libio): Set _vtable_offset for old stdin, stdout
9994         and stderr.
9996         * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
9997         and remove INAME.
9999         * libio/stdio.c (stdin, stdout, stdin): Don't use
10000         _IO_FILE_complete.
10002         * libio/oldiofdopen.c: New.
10004         * stdio-common/vfprintf.c (buffered_vfprintf): Set
10005         hp->_vtable_offset to 0.
10007 1997-11-18 08:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
10009         * libc.map (_IO_file_open): Added.
10011         * libio/libioP.h (_IO_file_open): Declared.
10013         * libio/fileops.c (_IO_file_open): New.
10014         (_IO_file_fopen): Call _IO_file_open ().
10016         * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
10017         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
10019 1997-12-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10021         * signal/signal.h: Fix selection of signal semantics to match
10022         comment.
10024 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10026         * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
10027         * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
10028         rt_sigreturn.
10029         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
10030         [$(subdir)=signal]: Remove rt_sigreturn.
10031         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
10032         * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
10033         * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
10035 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10037         * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>.  Fix
10038         declarations.
10040 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10042         * iconvdata/extra-module.mk: Expand extra-objs now.
10044 1997-12-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10046         * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
10047         inline functions by feature tests to avoid warning about missing
10048         prototype declarations.
10050 1997-12-09 15:08  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10052         * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
10053         return code for non existent +name entries.
10054         * nis/nss_compat/compat-pwd.c: Likewise.
10055         * nis/nss_compat/compat-spwd.c: Likewise.
10057 1997-12-10 13:52  Philip Blundell  <pb@nexus.co.uk>
10059         * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
10060         (EIO): Likewise.
10061         (ENOSPC): Likewise.
10062         (EEXIST): Likewise.
10063         (__errno_location): Likewise.
10065         * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
10067         * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
10069 1997-12-09 08:10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10071         * sunrpc/publickey.c: Use new NSS interface.
10073 1997-12-09 03:08  Ulrich Drepper  <drepper@cygnus.com>
10075         * manual/malloc.texi: Document mtrace/muntrace and the concept.
10077 1997-12-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10079         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
10080         value, to match spirit of the standard.
10081         * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
10082         * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
10083         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
10085 1997-12-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10087         * manual/signal.texi (Signal Stack): Remove spurious @item.
10089 1997-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10091         * rt/aio.h: Remove double semicolon.
10093         * rt/librt.map: Add aio_init.
10095 1997-12-08 03:24  Ulrich Drepper  <drepper@cygnus.com>
10097         * Makeconfig: Define $(rt) to rt if linuxthreads is available.
10098         * Makefile (subdirs): Replace rt by $(rt).
10100         * shlib-versions: Use version .2 for NSS modules.
10102         * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
10103         argument.
10104         * pwd/fgetpwent_r.c: Likewise.
10105         * spwd/fgetspent_r.c: Likewise.
10106         * spwd/sgetspent_r.c: Likewise.
10107         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
10108         Store error number in *ERRNOP.  Little optimization.
10109         * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
10110         * hesiod/nss_hesiod/hesiod-service.c: Likewise.
10111         * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
10112         (__internal_getnetgrent_r): New argument.
10113         Call __internal_setnetgrent_reuse with new argument.
10114         (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
10115         * inet/netgroup.h: Add argument to prototypes.
10116         * nis/nisplus-parser.h: Likewise.
10117         * nis/nss_compat/compat-grp.c: Change everything to store error
10118         code through provided pointer and not use errno.
10119         * nis/nss_compat/compat-pwd.c: Likewise.
10120         * nis/nss_compat/compat-spwd.c: Likewise.
10121         * nis/nss_nis/nis-alias.c: Likewise.
10122         * nis/nss_nis/nis-ethers.c: Likewise.
10123         * nis/nss_nis/nis-grp.c: Likewise.
10124         * nis/nss_nis/nis-hosts.c: Likewise.
10125         * nis/nss_nis/nis-netgrp.c: Likewise.
10126         * nis/nss_nis/nis-network.c: Likewise.
10127         * nis/nss_nis/nis-proto.c: Likewise.
10128         * nis/nss_nis/nis-publickey.c: Likewise.
10129         * nis/nss_nis/nis-pwd.c: Likewise.
10130         * nis/nss_nis/nis-rpc.c: Likewise.
10131         * nis/nss_nis/nis-service.c: Likewise.
10132         * nis/nss_nis/nis-spwd.c: Likewise.
10133         * nis/nss_nisplus/nisplus-alias.c: Likewise.
10134         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
10135         * nis/nss_nisplus/nisplus-grp.c: Likewise.
10136         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
10137         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
10138         * nis/nss_nisplus/nisplus-network.c: Likewise.
10139         * nis/nss_nisplus/nisplus-parser.c: Likewise.
10140         * nis/nss_nisplus/nisplus-proto.c: Likewise.
10141         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
10142         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
10143         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
10144         * nis/nss_nisplus/nisplus-service.c: Likewise.
10145         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
10146         * nss/nss_db/db-XXX.c: Likewise.
10147         * nss/nss_db/db-alias.c: Likewise.
10148         * nss/nss_db/db-netgrp.c: Likewise.
10149         * nss/nss_files/files-XXX.c: Likewise
10150         * nss/nss_files/files-alias.c: Likewise
10151         * nss/nss_files/files-netgrp.c: Likewise
10152         * nss/nss_files/files-parse.c: Likewise
10153         * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
10154         parameter of get functions.
10155         * nss/getXXent_r.c: Likewise.
10157         * localedata/tst-fmon.c: Print debug info if test fails.
10159         * rt/Makefile (routines): Add aio_notify.
10160         * rt/aio.h: Remove non-public definitions.  Add aioinit stuff.
10161         * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
10162         * rt/aio_fsync.c: Likewise.
10163         * rt/aio_misc.c: Likewise.
10164         * rt/aio_misc.h: Likewise.
10165         * rt/aio_read.c: Likewise.
10166         * rt/aio_read64.c: Likewise.
10167         * rt/aio_suspend.c: Likewise.
10168         * rt/aio_write.c: Likewise.
10169         * rt/aio_write64.c: Likewise.
10170         * rt/lio_listio.c: Likewise.
10171         * rt/lio_listio64.c: Likewise.
10172         * rt/aio_notify.c: New file.
10174         * sysdeps/generic/bits/sigset.h: Pretty print.
10176         * sysdeps/posix/pwrite.c: Define weak alias only if function is
10177         really defined as __pwrite.
10179         * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
10180         instead of pread64.
10181         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10183         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
10184         (sysdep_routines): Add rt_sigpending and rt_sigreturn.
10185         * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
10186         size in syscall.
10187         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10188         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10189         * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
10190         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10191         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
10192         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
10193         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.  Take care
10194         for ACT being NULL.
10195         * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
10196         RT signals.
10197         * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
10198         __NR_pread is not defined.
10199         * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
10200         __NR_pwrite is not defined.
10202 1997-12-07 11:15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10204         * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
10205         handle for /etc/group back in some more cases.
10206         * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
10207         handle for /etc/passwd back in some more cases.
10208         * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
10209         handle for /etc/shadow back in some more cases.
10211 1997-12-06 17:00  H.J. Lu  <hjl@gnu.org>
10213         * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
10214         beyound its size.
10215         * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
10216         * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
10218 1997-12-06 04:38  Ulrich Drepper  <drepper@cygnus.com>
10220         * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
10221         handling.  Don't use macros, we need functions.  Use inline functions
10222         for optimization.
10223         * sysdeps/wordsize-64/inttypes.h: Likewise.
10224         * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
10225         and wcstoumax.
10226         * sysdeps/wordsize-64/Makefile: Likewise.
10227         * sysdeps/wordsize-32/Dist: Likewise.
10228         * sysdeps/wordsize-64/Dist: Likewise.
10229         * sysdeps/wordsize-32/strtoimax.c: New file.
10230         * sysdeps/wordsize-32/strtoumax.c: New file.
10231         * sysdeps/wordsize-32/wcstoimax.c: New file.
10232         * sysdeps/wordsize-32/wcstoumax.c: New file.
10233         * sysdeps/wordsize-64/strtoimax.c: New file.
10234         * sysdeps/wordsize-64/strtoumax.c: New file.
10235         * sysdeps/wordsize-64/wcstoimax.c: New file.
10236         * sysdeps/wordsize-64/wcstoumax.c: New file.
10238 1997-12-04 10:40  Philip Blundell  <pb@nexus.co.uk>
10240         * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
10241         that transparent union works.
10242         * sysdeps/generic/wait4.c (__wait4): Likewise.
10243         * sysdeps/generic/wait.c (__wait): Likewise.
10245         * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
10246         size_t.
10248         * sysdeps/generic/syscall.c (syscall): Return value and arg are
10249         long, to match prototype.
10251         * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
10252         have mremap() yet.
10254         * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
10256         * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
10258         * sysdeps/generic/bits/time.h: Use __time_t not time_t.
10260         * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
10261         __rlim_t.
10263         * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
10265         * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
10267         * io/sys/stat.h (S_ISLNK): Always false if we don't have
10268         __S_IFLNK.
10270         * sysdeps/standalone/close.c (_STDIO_H): Define before including
10271         <bits/stdio_lim.h>.
10272         * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
10274 1997-12-06 01:09  Ulrich Drepper  <drepper@cygnus.com>
10276         * posix/sys/wait.h: Don't use transparent unions in C++.
10278 1997-12-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10280         * time/time.h: Add strfxtime.
10282         * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
10283         sysv_signal, strfxtime, pread64, pwrite64.
10285 1997-11-30 21:57  Richard Henderson  <rth@cygnus.com>
10287         Alpha changes for EGCS:
10288         * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
10289         * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
10290         * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
10291         (_start): Likewise.
10292         * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
10294 1997-12-05 00:01  Ulrich Drepper  <drepper@cygnus.com>
10296         The kernel expects the arguments in a different order.
10297         * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
10298         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
10300         * FAQ.in: New file.
10301         * gen-FAQ.pl: New file.
10302         * Makefile (FAQ): Add rule to generate from FAQ.in.
10304         * iconvdata/Makefile: Treat libJIS like the other modules.
10306         * rt/librt.map: New file.
10308         * sysdeps/wordsize-32/bits/environments.h: Add test for direct
10309         inclusion.
10310         * sysdeps/wordsize-64/bits/environments.h: Likewise.  Correct
10311         comment.
10313 1997-12-04 22:29  Ulrich Drepper  <drepper@cygnus.com>
10315         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
10316         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
10317         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
10318         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
10320 1997-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10322         * string/bits/string2.h: Fix spellings.
10324         * string/string.h: Fix spellings.
10326 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10328         * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
10329         declaration to __syscall_rt_sigaction.
10331         * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
10332         non-existant <sigcontext.h>.
10334 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10336         * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
10337         typo.
10339 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10341         * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
10343         * Makeconfig (shared-thread-library): Correct spelling.
10345         * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
10346         <asm/pci.h>.
10348 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10350         * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
10351         constants from Linux headers. Pointed out by
10352         csmall@scooter.o.i.net. [PR libc/369]
10354 1997-12-04 10:21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10356         * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
10358 1997-12-04 00:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
10360         * configure.in: If --enable-add-ons is given without an
10361         argument, set the addons list to all subdirs with a configure
10362         script.
10364 1997-12-03 23:50  Ulrich Drepper  <drepper@cygnus.com>
10366         * Makeconfig: Add shared-thread-library variable.
10368         * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
10369         * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
10370         here.
10371         * sysdeps/m68k/fpu/e_acos.c: Likewise.
10372         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
10373         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
10374         * sysdeps/m68k/fpu/e_pow.c: Likewise.
10375         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
10376         * sysdeps/m68k/fpu/k_cos.c: Likewise.
10377         * sysdeps/m68k/fpu/k_sin.c: Likewise.
10378         * sysdeps/m68k/fpu/k_tan.c: Likewise.
10379         * sysdeps/m68k/fpu/s_atan.c: Likewise.
10380         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
10381         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
10382         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
10383         * sysdeps/m68k/fpu/s_csin.c: Likewise.
10384         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
10385         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
10386         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
10387         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
10388         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
10389         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
10390         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
10391         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
10392         * sysdeps/m68k/fpu/s_modf.c: Likewise.
10393         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
10394         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
10395         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
10397         * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
10398         __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
10399         * signal/Makefile (headers): Add bits/siginfo.h.
10400         (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
10401         (distribute): Add testrtsig.h.
10402         * signal/allocrtsig.c: New file.
10403         * signal/signal.h: Define `union sigval'.  Include <bits/siginfo.h>.
10404         Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
10405         __libc_current_sigrtmax.
10406         * sysdeps/generic/sigqueue.c: New file.
10407         * sysdeps/generic/sigtimedwait.c: New file.
10408         * sysdeps/generic/sigwaitinfo.c: New file.
10409         * sysdeps/generic/testrtsig.h: New file.
10410         * sysdeps/generic/bits/siginfo.h: New file.
10411         * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
10412         * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
10413         old_kernel_sigaction and rename sa_handler member to k_sa_handler.
10414         * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
10415         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
10416         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
10417         * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
10418         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
10419         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
10420         * sysdeps/unix/sysv/linux/sigpending.c: New file.
10421         * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
10422         * sysdeps/unix/sysv/linux/sigqueue.c: New file.
10423         * sysdeps/unix/sysv/linux/sigreturn.c: New file.
10424         * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
10425         * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
10426         * sysdeps/unix/sysv/linux/testrtsig.h: New file.
10427         * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
10428         * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
10429         * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
10430         * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
10431         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
10432         and _POSIX_REALTIME_SIGNALS.
10433         * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
10434         * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
10435         update _NSIG.
10436         * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
10437         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
10438         definitions.
10440         * Makefile (subdirs): Add rt.
10441         * shlib-versions: Add entry for librt.
10442         * rt/Makefile: New file.
10443         * rt/aio.h: New file.
10444         * rt/aio_cancel.c: New file.
10445         * rt/aio_error.c: New file.
10446         * rt/aio_fsync.c: New file.
10447         * rt/aio_misc.c: New file.
10448         * rt/aio_misc.h: New file.
10449         * rt/aio_read.c: New file.
10450         * rt/aio_read64.c: New file.
10451         * rt/aio_return.c: New file.
10452         * rt/aio_suspend.c: New file.
10453         * rt/aio_write.c: New file.
10454         * rt/aio_write64.c: New file.
10455         * rt/lio_listio.c: New file.
10456         * rt/lio_listio64.c: New file.
10457         * sysdeps/generic/aio_sigqueue.c: New file.
10458         * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
10459         * sysdeps/unix/sysv/linux/Dist: Add new files
10460         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
10461         (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
10462         rt_sigqueueinfo, rt_sigaction.
10464         * posix/Makefile (headers): Add bits/environments.h.
10465         * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
10466         and _CS_LFS_CFLAGS on 64bit platforms.
10467         * posix/unistd.h: Define _XOPEN_LEGACY.  Explain _XOPEN_REALTIME
10468         and _XOPEN_REALTIME_THREADS.  Include bits/environments.h.
10469         * sysdeps/generic/bits/confname.h: Define _SC_* constants for
10470         compilation modules.
10471         * sysdeps/wordsize-32/bits/environments.h: New file.
10472         * sysdeps/wordsize-64/bits/environments.h: New file.
10474         * posix/getopt.c: Remove declaration of getpid and __libc_pid.
10475         * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
10476         __libc_pid.
10477         * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
10478         0xf00baa.
10480         * string/string.h: Add declaration of __strverscmp.
10481         * string/strverscmp.c: Rename function ot __strverscmp and make old
10482         name weak alias.
10484         * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
10485         * sysdeps/generic/enbl-secure.c: Likewise.
10486         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10488         * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
10490         * sysdeps/unix/sysv/linux/sys/pci.h: New file.
10492 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
10494         * posix/sys/wait.h: Use __transparent_union__ instead of
10495         transparent_union.  Reported by Roland McGrath.
10497 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10499         * resolv/inet_neta.c (inet_neta): Change type of first parameter
10500         to u_int32_t.  Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
10501         [PR libc/366].
10503         * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
10505         * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
10507 1997-12-03 20:40  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10509         * grp/initgroups.c: Increase buffer if it is too small.
10511 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
10513         * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
10514         fields, this is no ISO C.  Reported by Andreas Jaeger.
10516 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10518         * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
10520 1997-12-03 08:58  Philip Blundell  <pb@nexus.co.uk>
10522         * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
10523         _SYS_UTSNAME_H not _UTSNAME_H.
10525 1997-11-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10527         * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
10528         computing s_scale.
10530 1997-11-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10532         * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
10533         * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
10534         * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
10536         * math/libm-test.c (csqrt_test): Add testcase.
10538 1997-12-03 15:44  Ulrich Drepper  <drepper@cygnus.com>
10540         * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
10541         * sysdeps/unix/sysv/linux/sys/Dist: Add it.
10542         * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
10544 1997-11-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10546         * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
10548 1997-12-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10550         * math/libm-test.c (acos_test): Add more tests.
10551         (asin_test): Likewise.
10552         (atan_test): Likewise.
10553         (exp_test): Likewise.
10554         (sin_test): Likewise.
10555         (sqrt_test): Likewise.
10556         (cpow_test): Likewise.
10557         (csqrt_test): Likewise.
10558         (cexp_test): Correct typo in gcc version test.
10560 1997-12-02 17:14  Philip Blundell  <pb@nexus.co.uk>
10562         * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
10563         <bits/setjmp.h>.
10564         * sysdeps/arm/setjmp.S: Likewise.
10566         * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
10568 1997-12-02 18:07  Philip Blundell  <pb@nexus.co.uk>
10570         * stdio/stdio.h: Add prototype for tmpfile64().
10572 1997-12-02 17:47  Philip Blundell  <pb@nexus.co.uk>
10574         * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
10575         prototype to keep in step with libio version.
10577         * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
10579 1997-12-02 17:41  Philip Blundell  <pb@nexus.co.uk>
10581         * sysdeps/generic/Makefile: Don't try to use make_siglist if
10582         cross-compiling.
10584 1997-12-02 01:18  Ulrich Drepper  <drepper@cygnus.com>
10586         * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
10587         load GOT ptr before jumping to _exit.
10588         Reported by Xavier Leroy.
10590 1997-12-01 17:27  Ulrich Drepper  <drepper@cygnus.com>
10592         * Makefile (subdirs): Add iconvdata and localedata.
10594         * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
10596         * iconv/gconv_conf.c (read_conf_file): Little optimization.
10598         * iconvdata/8bit-gap.c: New file.
10599         * iconvdata/8bit-generic.c: Renamed from ...
10600         * iconvdata/iso8859-generic.c: ...this.
10601         * iconvdata/configure: Removed.
10602         * iconvdata/Makefile: Add new modules and better rules.
10603         * iconvdata/iso6937.c: Minor bug fixes.
10604         * iconvdata/iso8859-1.c: Likewise.
10605         * iconvdata/t61.c: Likewise.
10606         * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
10607         Minor bug fixes.
10608         * iconvdata/iso8859-3.c: Likewise.
10609         * iconvdata/iso8859-4.c: Likewise.
10610         * iconvdata/iso8859-5.c: Likewise.
10611         * iconvdata/iso8859-6.c: Likewise.
10612         * iconvdata/iso8859-7.c: Likewise.
10613         * iconvdata/iso8859-8.c: Likewise.
10614         * iconvdata/iso8859-9.c: Likewise.
10615         * iconvdata/iso8859-10.c: Likewise.
10616         * iconvdata/ebcdic-at-de-a.c: New file.
10617         * iconvdata/ebcdic-at-de.c: New file.
10618         * iconvdata/ebcdic-ca-fr.c: New file.
10619         * iconvdata/hp-roman8.c: New file.
10620         * iconvdata/koi-8.c: New file.
10621         * iconvdata/koi8-r.c: New file.
10622         * iconvdata/koi8-h.c: New file.
10623         * iconvdata/latin-greek-1.c: New file.
10624         * iconvdata/latin-greek-1.h: New file.
10625         * iconvdata/latin-greek.c: New file.
10626         * iconvdata/latin-greek.h: New file.
10627         * iconvdata/jis0201.c: New file.
10628         * iconvdata/jis0201.h: New file.
10629         * iconvdata/jis0208.c: New file.
10630         * iconvdata/jis0208.h: New file.
10631         * iconvdata/jis0212.c: New file.
10632         * iconvdata/jis0212.h: New file.
10633         * iconvdata/sjis.c: New file.
10634         * iconvdata/gap.pl: New file.  Script to generate table header.
10635         * iconvdata/gaptab.pl: New file.
10636         * iconvdata/gconv-modules: Add info about new modules.
10638         * locale/programs/charmap.c: Also examine alias names given in charmap
10639         files.
10641         * localedata/*: Add to here from add-on.  We need the information
10642         to generate tables for iconv.
10644         Update from db-2.3.14.
10645         * db2/Makefile: Updated.
10646         * db2/config.h: Likewise.
10647         * db2/db.h: Likewise.
10648         * db2/db_int.h: Likewise.
10649         * db2/btree/bt_cursor.c: Likewise.
10650         * db2/btree/bt_delete.c: Likewise.
10651         * db2/btree/bt_put.c: Likewise.
10652         * db2/btree/bt_search.c: Likewise.
10653         * db2/btree/bt_split.c: Likewise.
10654         * db2/btree/btree_auto.c: Likewise.
10655         * db2/common/db_appinit.c: Likewise.
10656         * db2/common/db_apprec.c: Likewise.
10657         * db2/common/db_err.c: Likewise.
10658         * db2/common/db_region.c: Likewise.
10659         * db2/db/db_auto.c: Likewise.
10660         * db2/db/db_dispatch.c: Likewise.
10661         * db2/db/db_ret.c: Likewise.
10662         * db2/dbm/dbm.c: Likewise.
10663         * db2/hash/hash_auto.c: Likewise.
10664         * db2/include/btree_ext.h: Likewise.
10665         * db2/include/common_ext.h: Likewise.
10666         * db2/include/db.h.src: Likewise.
10667         * db2/include/db_cxx.h: Likewise.
10668         * db2/include/db_ext.h: Likewise.
10669         * db2/include/db_int.h.src: Likewise.
10670         * db2/include/lock.h: Likewise.
10671         * db2/include/log.h: Likewise.
10672         * db2/include/mp.h: Likewise.
10673         * db2/include/mp_ext.h: Likewise.
10674         * db2/include/os_ext.h: Likewise.
10675         * db2/include/os_func.h: Likewise.
10676         * db2/lock/lock.c: Likewise.
10677         * db2/lock/lock_deadlock.c: Likewise.
10678         * db2/log/log.c: Likewise.
10679         * db2/log/log_archive.c: Likewise.
10680         * db2/log/log_auto.c: Likewise.
10681         * db2/log/log_get.c: Likewise.
10682         * db2/log/log_put.c: Likewise.
10683         * db2/mp/mp_bh.c: Likewise.
10684         * db2/mp/mp_fget.c: Likewise.
10685         * db2/mp/mp_fopen.c: Likewise.
10686         * db2/mp/mp_fput.c: Likewise.
10687         * db2/mp/mp_fset.c: Likewise.
10688         * db2/mp/mp_open.c: Likewise.
10689         * db2/mp/mp_pr.c: Likewise.
10690         * db2/mp/mp_region.c: Likewise.
10691         * db2/mp/mp_sync.c: Likewise.
10692         * db2/mutex/README: Likewise.
10693         * db2/mutex/mutex.c: Likewise.
10694         * db2/os/os_open.c: Likewise.
10695         * db2/os/os_func.c: Removed.
10696         * db2/os/os_config.c: New file.
10697         * db2/os/os_spin.c: New file.
10698         * db2/txn/txn.c: Likewise.
10699         * db2/txn/txn_auto.c: Likewise.
10701 1997-11-30 06:01  Ulrich Drepper  <drepper@cygnus.com>
10703         * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
10704         __typeof for C++ since this fails for class members.
10705         Reported by Neal Becker <neal@ctd.comsat.com>.
10707 1997-11-28 11:21  Zack Weinberg  <zack@rabi.phys.columbia.edu>
10709         * configure.in: Check for a working makeinfo (3.11 or better).
10710         * config.make.in: Add MAKEINFO to be substituted.
10711         * manual/Makefile: Don't update info if makeinfo is too old.
10713 1997-11-30 05:21  Ulrich Drepper  <drepper@cygnus.com>
10715         * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
10716         * sysdeps/alpha/__longjmp.S: Likewise.
10717         * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
10718         not <bits/termios.h>.
10720         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
10721         __llseek and make llseek and lseek64 weak aliases.
10722         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
10723         Patches by a sun <asun@zoology.washington.edu>.
10725 1997-11-29 19:19  Zack Weinberg  <zack@rabi.phys.columbia.edu>
10727         * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
10728         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10729         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10730         * misc/sys/syslog.h: Clean up BSD header.
10732 1997-11-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10734         * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
10736         * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
10737         for ctan(+-inf,x).
10738         * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
10739         * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
10741         * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
10742         csqrt (-1), ctanh(i*pi/4).
10744 1997-11-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10746         * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
10748 1997-11-28 13:28  Philip Blundell  <Philip.Blundell@pobox.com>
10750         * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
10752 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10754         * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
10756 1997-11-26 21:28  Ulrich Drepper  <drepper@cygnus.com>
10758         * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
10759         and use.  Define GETCWD_RETURN_TYPE instead and use it.
10760         * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
10761         of GETCWD_STORYGE_CLASS and put the return type and the
10762         `internal_function' in the right order for gcc 2.7.2.
10764 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10766         * sysdeps/unix/sysv/linux/sys/module.h: Remove file.  It's
10767         incompatible with Linux 2.1.x.  Packages using modules
10768         (e.g. modutils) should/do provide their own version.  Suggested by
10769         Richard Henderson.
10771         * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
10773         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
10774         [$(subdir)=socket]: Remove sys/module.h.
10776 1997-11-26 04:28  Ulrich Drepper  <drepper@cygnus.com>
10778         * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
10779         computing s_scale.  Patch by a sun <asun@zoology.washington.edu>.
10781         * iconv/gconv_close.c: Correct freeing of descriptor data.
10782         * iconv/gconv_simple.c: Return correct error values for illegal or
10783         incomplete characters.
10785         * Makefile (iconvdata/%): Special goal to simplify iconvdata
10786         development.
10787         * iconvdata/Makefile: New file.
10788         * iconvdata/configure: Likewise.
10789         * iconvdata/extra-module.mk: Likewise.
10790         * iconvdata/gconv-modules: Likewise.
10791         * iconvdata/iso6937.c: Likewise.
10792         * iconvdata/iso8859-1.c: Likewise.
10793         * iconvdata/iso8859-10.c: Likewise.
10794         * iconvdata/iso8859-10.h: Likewise.
10795         * iconvdata/iso8859-2.c: Likewise.
10796         * iconvdata/iso8859-2.h: Likewise.
10797         * iconvdata/iso8859-3.c: Likewise.
10798         * iconvdata/iso8859-3.h: Likewise.
10799         * iconvdata/iso8859-4.c: Likewise.
10800         * iconvdata/iso8859-4.h: Likewise.
10801         * iconvdata/iso8859-5.c: Likewise.
10802         * iconvdata/iso8859-5.h: Likewise.
10803         * iconvdata/iso8859-6.c: Likewise.
10804         * iconvdata/iso8859-6.h: Likewise.
10805         * iconvdata/iso8859-7.c: Likewise.
10806         * iconvdata/iso8859-7.h: Likewise.
10807         * iconvdata/iso8859-8.c: Likewise.
10808         * iconvdata/iso8859-8.h: Likewise.
10809         * iconvdata/iso8859-9.c: Likewise.
10810         * iconvdata/iso8859-9.h: Likewise.
10811         * iconvdata/iso8859-generic.c: Likewise.
10812         * iconvdata/t61.c: Likewise.
10814         * string/Makefile (routines): Add strcasestr.
10815         * string/string.h: Add prototype for strcasestr.
10816         * sysdeps/generic/strcasestr.c: New file.
10817         * wcsmbs/mbrtowc.c: Simplify special case a bit.
10818         * wcsmbs/wcrtomb.c: Likewise.
10819         * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
10820         * wcsmbs/wcsnrtombs.c: Likewise.
10821         * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
10822         partial character is read.
10823         * wcsmbs/wcsrtombs.c: Likewise.
10824         * wcsmbs/wmemrtombs.c: Likewise.
10825         * wcsmbs/wmemrtowcs.c: Likewise.
10827         * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
10828         * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
10829         * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
10830         * sysdeps/i386/elf/setjmp.S: Likewise.
10831         * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
10832         <bits/termios.h>.
10834         * sysdeps/posix/mk-stdiolim.c: Output file with comment.
10835         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
10837         * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
10838         * sysvipc/sys/ipc.h: Likewise.
10839         * sysvipc/sys/msg.h: Likewise.
10840         * sysvipc/sys/sem.h: Likewise.
10841         * sysvipc/sys/shm.h: Likewise.
10843         * sysdeps/alpha/bits/endian.h: Issue error message if the header is
10844         used directly.
10845         * sysdeps/alpha/bits/setjmp.h: Likewise.
10846         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
10847         * sysdeps/arm/bits/endian.h: Likewise.
10848         * sysdeps/arm/bits/setjmp.h: Likewise.
10849         * sysdeps/generic/bits/byteswap.h: Likewise.
10850         * sysdeps/generic/bits/confname.h: Likewise.
10851         * sysdeps/generic/bits/dirent.h: Likewise.
10852         * sysdeps/generic/bits/dlfcn.h: Likewise.
10853         * sysdeps/generic/bits/endian.h: Likewise.
10854         * sysdeps/generic/bits/fenv.h: Likewise.
10855         * sysdeps/generic/bits/huge_val.h: Likewise.
10856         * sysdeps/generic/bits/in.h: Likewise.
10857         * sysdeps/generic/bits/ioctl-types.h: Likewise.
10858         * sysdeps/generic/bits/ioctls.h: Likewise.
10859         * sysdeps/generic/bits/ipc.h: Likewise.
10860         * sysdeps/generic/bits/msq.h: Likewise.
10861         * sysdeps/generic/bits/poll.h: Likewise.
10862         * sysdeps/generic/bits/resource.h: Likewise.
10863         * sysdeps/generic/bits/sched.h: Likewise.
10864         * sysdeps/generic/bits/sem.h: Likewise.
10865         * sysdeps/generic/bits/setjmp.h: Likewise.
10866         * sysdeps/generic/bits/shm.h: Likewise.
10867         * sysdeps/generic/bits/sigaction.h: Likewise.
10868         * sysdeps/generic/bits/sigcontext.h: Likewise.
10869         * sysdeps/generic/bits/socket.h: Likewise.
10870         * sysdeps/generic/bits/stat.h: Likewise.
10871         * sysdeps/generic/bits/statfs.h: Likewise.
10872         * sysdeps/generic/bits/stdio_lim.h: Likewise.
10873         * sysdeps/generic/bits/termios.h: Likewise.
10874         * sysdeps/generic/bits/time.h: Likewise.
10875         * sysdeps/generic/bits/uio.h: Likewise.
10876         * sysdeps/generic/bits/utmp.h: Likewise.
10877         * sysdeps/generic/bits/utmpx.h: Likewise.
10878         * sysdeps/generic/bits/utsname.h: Likewise.
10879         * sysdeps/generic/bits/waitflags.h: Likewise.
10880         * sysdeps/generic/bits/waitstatus.h: Likewise.
10881         * sysdeps/gnu/bits/utmp.h: Likewise.
10882         * sysdeps/gnu/bits/utmpx.h: Likewise.
10883         * sysdeps/i386/bits/byteswap.h: Likewise.
10884         * sysdeps/i386/bits/endian.h: Likewise.
10885         * sysdeps/i386/bits/huge_val.h: Likewise.
10886         * sysdeps/i386/bits/setjmp.h: Likewise.
10887         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
10888         * sysdeps/ieee754/bits/huge_val.h: Likewise.
10889         * sysdeps/m68k/bits/byteswap.h: Likewise.
10890         * sysdeps/m68k/bits/endian.h: Likewise.
10891         * sysdeps/m68k/bits/setjmp.h: Likewise.
10892         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
10893         * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
10894         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
10895         * sysdeps/mach/hurd/bits/stat.h: Likewise.
10896         * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
10897         * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
10898         * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
10899         * sysdeps/mips/bits/dlfcn.h: Likewise.
10900         * sysdeps/mips/bits/endian.h: Likewise.
10901         * sysdeps/mips/bits/setjmp.h: Likewise.
10902         * sysdeps/mips/dec/bits/endian.h: Likewise.
10903         * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
10904         * sysdeps/mips/mipsel/bits/endian.h: Likewise.
10905         * sysdeps/mips/p40/bits/endian.h: Likewise.
10906         * sysdeps/powerpc/bits/endian.h: Likewise.
10907         * sysdeps/powerpc/bits/fenv.h: Likewise.
10908         * sysdeps/powerpc/bits/setjmp.h: Likewise.
10909         * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
10910         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
10911         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
10912         * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
10913         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
10914         * sysdeps/unix/bsd/bits/dirent.h: Likewise.
10915         * sysdeps/unix/bsd/bits/stat.h: Likewise.
10916         * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
10917         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
10918         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
10919         * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
10920         * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
10921         * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
10922         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
10923         * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
10924         * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
10925         * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
10926         * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
10927         * sysdeps/unix/common/bits/dirent.h: Likewise.
10928         * sysdeps/unix/sysv/bits/dirent.h: Likewise.
10929         * sysdeps/unix/sysv/bits/stat.h: Likewise.
10930         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
10931         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
10932         * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
10933         * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
10934         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
10935         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
10936         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
10937         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
10938         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
10939         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
10940         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
10941         * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
10942         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
10943         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
10944         * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
10945         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
10946         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
10947         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
10948         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
10949         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10950         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10951         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10952         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
10953         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
10954         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10955         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
10956         * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
10957         * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
10958         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
10959         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
10960         * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
10961         * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
10962         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
10963         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
10964         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
10965         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
10966         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
10967         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
10968         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
10969         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
10970         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
10971         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
10972         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
10973         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
10974         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
10975         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
10976         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
10977         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
10978         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10979         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10980         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
10981         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
10982         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
10983         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10984         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
10985         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
10986         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
10987         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
10988         * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
10989         * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
10990         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
10991         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
10992         * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
10993         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
10994         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
10995         * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
10996         * sysdeps/vax/bits/huge_val.h: Likewise.
10997         * sysdeps/vax/bits/setjmp.h: Likewise.
10998         * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
10999         * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
11001 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11003         * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
11005 1997-11-25  Paul Eggert  <eggert@shade.twinsun.com>
11007         * strftime.c (strftime):
11008         No longer any need to undef or declare if emacs is defined.
11009         (my_strftime): When checking a -1 returned by mktime, don't blow up
11010         if localtime_r returns NULL.
11012 1997-11-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11014         * README.template: Fix spelling.
11016 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11018         * configure.in: Enhance --enable-add-ons description a wee bit.
11020 1997-11-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11022         * glibcbug.in: Add more information of build environment and flags.
11024 1997-11-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11026         * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
11027         it into ENOENT.
11029 1997-11-24 03:01  Ulrich Drepper  <drepper@cygnus.com>
11031         * elf/dl-support.c: Call __libc_init_secure to make sure
11032         __libc_enable_secure is defined early.
11033         * sysdeps/generic/enbl-secure.c: Change function name to
11034         __libc_init_secure and make it global instead of a constructor.
11036         * iconv/gconv.c: Fix lots of bugs.
11037         * iconv/gconv.h: Likewise.
11038         * iconv/gconv_builtin.h: Likewise.
11039         * iconv/gconv_close.c: Likewise.
11040         * iconv/gconv_conf.c: Likewise.
11041         * iconv/gconv_db.c: Likewise.
11042         * iconv/gconv_dl.c: Likewise.
11043         * iconv/gconv_open.c: Likewise.
11044         * iconv/gconv_simple.c: Likewise.
11045         * iconv/iconv.c: Likewise.
11046         * iconv/iconv_close.c: Likewise.
11047         * iconv/iconv_open.c: Likewise.
11049         * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
11050         * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
11051         * wcsmbs/wmemrtombs.c: New file.
11052         * wcsmbs/wmemrtowcs.c: New file.
11054 1997-11-22 19:28  Ulrich Drepper  <drepper@cygnus.com>
11056         * iconv/gconv_simple.c: Fix lots of bugs.
11057         * iconv/iconv_open.c: Normalize names before passing them to
11058         __gconv_open.
11060         * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
11062         * libio/iopopen.c: Check for correct mode argument and punt otherwise.
11063         * stdio-common/test-popen.c: Add test for above change.
11065         * math/libm-test.c: Print test results also using %a format,
11066         specified in PRINTF_XEXPR macro.
11067         * math/test-double.c: Define PRINTF_XEXPR.
11068         * math/test-float.c: Likewise.
11069         * math/test-ldouble.c: Likewise.
11070         * math/test-idouble.c: Likewise.
11071         * math/test-ifloat.c: Likewise.
11072         * math/test-ildoubl.c: Likewise.
11074         * stdio-common/vfscanf.c: Recognize a in format specifier only as
11075         modifier if used before s, S, or [.  Otherwise it's the hexadecimal
11076         FP number format.
11078         * stdlib/strtod.c: Little code cleanup.
11080         * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
11081         compiling in math subdir.
11083         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
11084         instead of __LIBC_M81_MATH_INLINES.
11085         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
11086         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
11087         * sysdeps/m68k/fpu/e_pow.c: Likewise.
11088         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
11089         * sysdeps/m68k/fpu/k_cos.c: Likewise.
11090         * sysdeps/m68k/fpu/k_sin.c: Likewise.
11091         * sysdeps/m68k/fpu/k_tan.c: Likewise.
11092         * sysdeps/m68k/fpu/s_atan.c: Likewise.
11093         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
11094         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
11095         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
11096         * sysdeps/m68k/fpu/s_csin.c: Likewise.
11097         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
11098         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
11099         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
11100         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
11101         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
11102         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
11103         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
11104         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
11105         * sysdeps/m68k/fpu/s_modf.c: Likewise.
11106         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
11107         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
11108         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
11109         * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
11110         __LIBC_INTERNAL_MATH_INLINES is defined.
11112         * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
11113         of compare macros from ISO C 9X.  Optimize generic versions a bit.
11114         Define __signbit inline functions and __ieee754_sqrt which can be
11115         used if the ompiler is fixed.
11117         * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
11119 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11121         * Makerules ($(common-objpfx)stub-$(subdir)): Look for
11122         sysdeps/generic in the whole dep file, not only in the first line.
11124 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11126         * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
11128 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11130         * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
11131         place.
11133 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11135         * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
11136         is non-empty.
11138 1997-11-20 16:51  Ulrich Drepper  <drepper@cygnus.com>
11140         * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
11141         return value.
11143 1997-11-19 21:36  Ulrich Drepper  <drepper@cygnus.com>
11145         * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
11146         readlink succeeds but the return value is too long.
11148         * stdio-common/printf_fphex.c: Determine sign of number correctly.
11150 1997-11-19 02:45  Ulrich Drepper  <drepper@cygnus.com>
11152         * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
11153         __remqu for Alpha.
11155 1997-11-18 23:08  Ulrich Drepper  <drepper@cygnus.com>
11157         * sysdeps/generic/sys/ucontext.h: Stub context file.
11159         * libio/iofprintf.c: Removed.  We use the stdio-common version.
11161         * manual/Makefile (distribute): Add stdio-fp.c.
11163         * sysdeps/powerpc/Dist: Add ppc-mcount.S.
11165         * db2/Makefile (distribute): Add include/os_func.h, README and
11166         mutex/tsl_parisc.s.
11168         * hesiod/Makefile (distribute): Add README.hesiod.
11170 1997-11-18 22:14  Ulrich Drepper  <drepper@cygnus.com>
11172         * iconv/gconv.c: Correctly call transformation function.
11174         * manual/maint.texi: Document need of binutils 2.8.1.0.17.
11176 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11178         * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
11179         wrong results for e.g. remquo (3,2, &x)).
11180         * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
11181         * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
11183 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11185         * configure.in (ld --version-script): Test if the same symbol
11186         maybe defined in all versions (needed by recent changes to
11187         libc.map and supported with binutils 2.8.1.0.17) and issue warning
11188         if versioning is not supported/enabled.
11189         (bash test): Correct test case.
11191         * math/libm-test.c: Added counting/reporting of number of test cases.
11193         * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
11194         use awk instead.
11196         * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
11198 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11200         * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
11202 1997-11-18 18:04  Ulrich Drepper  <drepper@cygnus.com>
11204         * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
11205         Replace revoke call by use of REVOKE.
11206         * sysdeps/unix/sysv/linux/pty.c: New file.  Define REVOKE as
11207         empty and #include generic version.
11208         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
11210 1997-11-18 16:02  Ulrich Drepper  <drepper@cygnus.com>
11212         * libc.map: Add socket functions with __libc_* names.
11213         Reported by Andreas Jaeger.
11215 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11217         * libc.map: Tidy up (remove duplicates, sort entries).
11219 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11221         * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
11223 1997-11-18 06:45  Ulrich Drepper  <drepper@cygnus.com>
11225         * sysdeps/generic/pty.c: Make thread safe.  Fix bug when calling
11226         again after successful call.
11227         Patch by Marc Lehmann <pcg@goof.com>.
11229 1997-11-17  Paul Eggert  <eggert@twinsun.com>
11231         * time/mktime.c, time/strftime.c (_REENTRANT): #define,
11232         as some hosts need this to declare localtime_r properly.
11234 1997-11-18 06:08  Ulrich Drepper  <drepper@cygnus.com>
11236         * libc.map: Add iconv_open, iconv, and iconv_close.
11238 1997-11-18 02:31  Ulrich Drepper  <drepper@cygnus.com>
11240         * iconv/Makefile: New file.
11241         * iconv/gconv.c: New file.
11242         * iconv/gconv.h: New file.
11243         * iconv/gconv_builtin.c: New file.
11244         * iconv/gconv_builtin.h: New file.
11245         * iconv/gconv_close.c: New file.
11246         * iconv/gconv_conf.c: New file.
11247         * iconv/gconv_db.c: New file.
11248         * iconv/gconv_dl.c: New file.
11249         * iconv/gconv_open.c: New file.
11250         * iconv/gconv_simple.c: New file.
11251         * iconv/iconv.c: New file.
11252         * iconv/iconv.h: New file.
11253         * iconv/iconv_close.c: New file.
11254         * iconv/iconv_open.c: New file.
11255         * include/gconv.h: New file.
11257         * Makeconfig: Define gconvdir.
11258         * Makefile (subdirs): Add iconv.
11260         * string/bits/string2.h: Add optimization for strtok_r.
11262         * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
11263         for NULL.
11264         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
11265         Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
11267         * configure.in: Correct test for bash2.
11268         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
11270         * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
11271         (CFLAGS-locfile.c): Likewise.
11272         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
11274         * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
11275         non-existing entry if the table is full.
11277         * posix/regex.h: Pretty print.
11279         * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
11281         * sysdeps/posix/ctermid.c: Simplify a bit.
11283         * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
11285 1997-11-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11287         * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
11288         <sys/types.h> instead of <asm/types.h>.
11290 1997-11-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11292         * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
11294 1997-11-16 17:09  H.J. Lu  <hjl@gnu.ai.mit.edu>
11296         * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
11297         fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
11298         (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
11299         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
11300         fclose): Added to GLIBC_2.1.
11302         * libio/Makefile (routines, shared-only-routines): Add
11303         oldiofclose.  Remove oldfreopen.
11305         * libio/freopen.c (freopen): When PIC is defined, call
11306         _IO_old_freopen () for old stdio.
11308         * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
11309         (_IO_fclose, fclose): Use _IO_new_fclose as default version
11310         for GLIBC_2.1.
11312         * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
11313         instead of _IO_file_close_it.
11315         * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
11316         to _IO_2_1_stdxxx_.
11317         (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
11318         is defined.
11320         * libio/libioP.h (_IO_old_do_flush): New.
11322         * libio/oldfileops.c (_IO_old_file_close_it,
11323         _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
11324         Call _IO_old_do_flush () instead of _IO_do_flush ().
11325         (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
11326         _IO_do_write ().
11328         * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
11329         instead of _IO_file_init ().
11330         Bind old symbols to version GLIBC_2.0.
11332         * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
11333         (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
11334         _IO_stdxxx_.
11335         (_IO_check_libio): New function in .init.
11337         * libio/oldiofclose.c: New file.
11339         * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
11340         _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
11341         (DEF_STDFILE): Don't use default_symbol_version.
11343         * libio/stdio.c (stdin, stdout, stderr): Set to
11344         _IO_2_1_stdxxx_._
11345         (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
11346         stdxxx.
11348         * csu/Makefile (distribute): Add init.c.
11349         (extra-objs): Add init.o for ELF.
11350         (start-installed-name): Add $(objpfx)init.o.
11352         * csu/init.c: New file.
11354 1997-11-12 08:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
11356         * elf/dl-lookup.c (do_lookup): Don't use the hidden base
11357         definition as the default.
11359 1997-08-27  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
11361         * erand48_r.c (__erand48_r): Implement for 32 bit short int.
11363 1997-11-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11365         * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
11366         (PR 351).
11368 1997-11-16 21:01  Philip Blundell  <Philip.Blundell@pobox.com>
11370         * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
11371         to preserve condition codes on function call.
11373 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11375         * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
11377 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11379         * math/libm-test.c (asin_test): Add epsilon for float.
11380         (tan_test): Add epsilon for float.
11381         (log1p_test): Add epsilon for float.
11382         (inverse_functions): Add epsilons.
11384         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
11385         net/if_packet.h.
11387         * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
11389 1997-11-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11391         * md5-crypt/Makefile (extra-objs): Make recursively expanded
11392         variable, since $(object-suffixes) is not defined yet.
11394 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11396         * db2/Makefile (distribute): db185/db185_int.src ->
11397         db185/db185_int.h.
11399 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11401         * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
11402         exactly one.
11404 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11406         * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
11407         name.
11408         * sysdeps/generic/e_acosl.c: Likewise.
11409         * sysdeps/generic/e_asinl.c: Likewise.
11410         * sysdeps/generic/e_atan2l.c: Likewise.
11411         * sysdeps/generic/e_expl.c: Likewise.
11412         * sysdeps/generic/e_fmodl.c: Likewise.
11413         * sysdeps/generic/e_j0l.c: Likewise.
11414         * sysdeps/generic/e_j1l.c: Likewise.
11415         * sysdeps/generic/e_jnl.c: Likewise.
11416         * sysdeps/generic/e_lgammal_r.c: Likewise.
11417         * sysdeps/generic/e_log10l.c: Likewise.
11418         * sysdeps/generic/e_logl.c: Likewise.
11419         * sysdeps/generic/e_powl.c: Likewise.
11420         * sysdeps/generic/e_sqrtl.c: Likewise.
11421         * sysdeps/generic/e_exp2l.c: Likewise.
11423 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11425         * Make-dist (+sysdep-names): Remove extra paren.
11426         * Makefile (distribute): Add stub-tag.h.
11427         * elf/Makefile (distribute): Add atomicity.h.
11428         * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
11429         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
11430         [$(subdir)=socket]: Add net/if_packet.h.
11431         * sysdeps/alpha/Dist: Remove setjmp_aux.c.
11432         * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
11433         net/if_packet.h, scsi/sg.h.
11435 1997-11-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11437         * Makefile (install): Quote $(CC) expansion.
11439 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11441         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
11442         working /proc cwd and no restrictions on path length.  Following
11443         some ideas from Andi Kleen <ak@muc.de> (PR 350).
11445 1997-11-14 19:14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
11447         * nis/nss_compat/compat-grp.c: Remove buggy assert call.
11448         * nis/nss_compat/compat-pwd.c: Likewise.
11449         * nis/nss_compat/compat-spwd.c: Likewise.
11451 1997-11-14 22:23  Ulrich Drepper  <drepper@cygnus.com>
11453         * sysdeps/libm-i387/s_fdim.S: New file.
11454         * sysdeps/libm-i387/s_fdimf.S: New file.
11455         * sysdeps/libm-i387/s_fdiml.S: New file.
11456         * sysdeps/libm-i387/i686/s_fdim.S: New file.
11457         * sysdeps/libm-i387/i686/s_fdimf.S: New file.
11458         * sysdeps/libm-i387/i686/s_fdiml.S: New file.
11460 1997-11-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11462         * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
11463         pointer to unsigned char.
11465 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11467         * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
11469         * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
11471         * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
11473 1997-11-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11475         * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
11476         ilogb(0/NaN).
11477         * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
11478         * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
11480 1997-11-14 05:44  Ulrich Drepper  <drepper@cygnus.com>
11482         * sysdeps/libm-i387/s_fmin.S: New file.
11483         * sysdeps/libm-i387/s_fminf.S: New file.
11484         * sysdeps/libm-i387/s_fminl.S: New file.
11485         * sysdeps/libm-i387/s_fmax.S: New file.
11486         * sysdeps/libm-i387/s_fmaxf.S: New file.
11487         * sysdeps/libm-i387/s_fmaxl.S: New file.
11488         * sysdeps/libm-i387/i686/s_fmin.S: New file.
11489         * sysdeps/libm-i387/i686/s_fminf.S: New file.
11490         * sysdeps/libm-i387/i686/s_fminl.S: New file.
11491         * sysdeps/libm-i387/i686/s_fmax.S: New file.
11492         * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
11493         * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
11495 1997-11-14 03:06  Ulrich Drepper  <drepper@cygnus.com>
11497         * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
11498         * sysdeps/unix/sysv/linux/send.S: Likewise.
11499         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
11500         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
11501         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
11502         * sysdeps/unix/sysv/linux/recv.S: Likewise.
11503         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
11504         * sysdeps/unix/sysv/linux/connect.S: Likewise.
11505         Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
11507 See ChangeLog.7 for earlier changes.