Update.
[glibc.git] / ChangeLog
blob9f9c20ee35b6fd406ed53c6b7bab9331a795d2c0
1 1998-07-16 20:01  Ulrich Drepper  <drepper@cygnus.com>
3         * debug/Makefile (routines): Add backtracesymsfd.
4         Add rules to generate libSegFault.
5         * debug/Versions: Add __backtrace_symbols_fd and backtrace_symbols_fd.
6         * debug/execinfo.h: Declare backtrace_symbols_fd.
7         * sysdeps/generic/backtracesymsfd.c: New file.
8         * sysdeps/generic/elf/backtracesymsfd.c: New file.
9         * sysdeps/generic/segfault.c: New file.
10         * sysdeps/generic/sigcontextinfo.h: New file.
11         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: New file.
13         * sysdeps/generic/elf/backtracesyms.c: Remove unneeded +.
15 1998-07-16 19:27  Ulrich Drepper  <drepper@cygnus.com>
17         * elf/rtld.c (process_envvars): Also recognize on as LD_BIND_NOW value.
18         (process_envvars): Append .PID to LD_DEBUG_OUTPUT file name.
20 1998-07-16 13:44  Ulrich Drepper  <drepper@cygnus.com>
22         * argp/argp-fmtstream.c: Fix warnings introduced in last change.
23         * assert/assert-perr.c: Likewise.
24         * assert/assert.c: Likewise.
25         * gconv_conf.c: Likewise.
26         * libio/iofputs_u.c: Likewise.
27         * malloc/mtrace.c: Likewise.
28         * malloc/obstack.c: Likewise.
29         * misc/error.c: Likewise.
30         * misc/syslog.c: Likewise.
31         * stdio-common/asprintf.c: Likewise.
32         * stdio-common/dprintf.c: Likewise.
33         * stdio-common/getw.c: Likewise.
34         * stdio-common/putw.c: Likewise.
35         * stdio-common/snprintf.c: Likewise.
36         * stdio-common/sprintf.c: Likewise.
37         * stdio-common/sscanf.c: Likewise.
38         * sunrpc/svc_simple.c: Likewise.
39         * sysdeps/generic/abort.c: Likewise.
41         * rt/aio_cancel.c: Don't define ECANCELED here.
42         * sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED correctly.
44 1998-07-16 10:23  Ulrich Drepper  <drepper@cygnus.com>
46         * argp/argp-fmtstream.c: Unify names of used global functions.
47         * argp/argp-help.c: Likewise.
48         * assert/assert-perr.c: Likewise
49         * assert/assert.c: Likewise
50         * dirent/scandir.c: Likewise
51         * dirent/scandir64.c: Likewise
52         * dirent/versionsort.c: Likewise
53         * dirent/versionsort64.c: Likewise
54         * gmon/bb_exit_func.c: Likewise.
55         * gmon/gmon.c: Likewise.
56         * grp/initgroups.c: Likewise.
57         * iconv/gconv_conf.c: Likewise.
58         * inet/getnameinfo.c: Likewise.
59         * inet/getnetgrent_r.c: Likewise.
60         * inet/inet_ntoa.c: Likewise.
61         * inet/rcmd.c: Likewise.
62         * inet/rexec.c: Likewise.
63         * inet/ruserpass.c: Likewise.
64         * io/fts.c: Likewise.
65         * io/ftw.c: Likewise.
66         * io/ftw64.c: Likewise.
67         * io/getdirname.c: Likewise.
68         * io/getwd.c: Likewise.
69         * io/lockf.c: Likewise.
70         * libio/iofdopen.c: Likewise.
71         * libio/iopopen.c: Likewise.
72         * login/utmp_daemon.c: Likewise.
73         * malloc/mtrace.c: Likewise.
74         * malloc/obstack.c
75         * misc/daemon.c: Likewise.
76         * misc/efgcvt_r.c: Likewise.
77         * misc/err.c: Likewise.
78         * misc/error.c: Likewise.
79         * misc/fstab.c: Likewise.
80         * misc/getpass.c: Likewise.
81         * misc/getttyent.c: Likewise.
82         * misc/mntent_r.c: Likewise.
83         * misc/search.h: Likewise.
84         * misc/syslog.c: Likewise.
85         * nscd/nscd_getgr_r.c: Likewise.
86         * nscd/nscd_getpw_r.c: Likewise.
87         * posix/getpgrp.c: Likewise.
88         * posix/wordexp.c: Likewise.
89         * pwd/fgetpwent_r.c: Likewise.
90         * pwd/getpw.c: Likewise.
91         * resolv/herror.c: Likewise.
92         * resolv/res_init.c: Likewise.
93         * shadow/fgetspent_r.c: Likewise.
94         * shadow/lckpwdf.c: Likewise.
95         * signal/sigrelse.c: Likewise.
96         * stdio-common/asprintf.c: Likewise.
97         * stdio-common/dprintf.c: Likewise.
98         * stdio-common/getw.c: Likewise.
99         * stdio-common/putw.c: Likewise.
100         * stdio-common/snprintf.c: Likewise.
101         * stdio-common/sprintf.c: Likewise.
102         * stdio-common/sscanf.c: Likewise.
103         * stdlib/lrand48_r.c: Likewise.
104         * stdlib/mrand48_r.c: Likewise.
105         * string/argz-replace.c: Likewise.
106         * string/envz.c: Likewise.
107         * sunrpc/auth_des.c: Likewise.
108         * sunrpc/auth_unix.c: Likewise.
109         * sunrpc/bindrsvprt.c: Likewise.
110         * sunrpc/clnt_gen.c: Likewise.
111         * sunrpc/clnt_perr.c: Likewise.
112         * sunrpc/clnt_simp.c: Likewise.
113         * sunrpc/clnt_tcp.c: Likewise.
114         * sunrpc/clnt_udp.c: Likewise.
115         * sunrpc/get_myaddr.c: Likewise.
116         * sunrpc/key_call.c: Likewise.
117         * sunrpc/netname.c: Likewise.
118         * sunrpc/openchild.c: Likewise.
119         * sunrpc/pmap_rmt.c: Likewise.
120         * sunrpc/rpc_dtable.c: Likewise.
121         * sunrpc/rtime.c: Likewise.
122         * sunrpc/svc_run.c: Likewise.
123         * sunrpc/svc_simple.c: Likewise.
124         * sunrpc/svc_tcp.c: Likewise.
125         * sunrpc/svc_udp.c: Likewise.
126         * sunrpc/svcauth_des.c: Likewise.
127         * sunrpc/xdr_array.c: Likewise.
128         * sunrpc/xdr_rec.c: Likewise.
129         * sunrpc/xdr_ref.c: Likewise.
130         * sunrpc/xdr_stdio.c: Likewise.
131         * sysdeps/generic/abort.c: Likewise.
132         * sysdeps/generic/dl-sysdep.c: Likewise.
133         * sysdeps/generic/fstatfs64.c: Likewise.
134         * sysdeps/generic/ftruncate64.c: Likewise.
135         * sysdeps/generic/getrlimit64.c: Likewise.
136         * sysdeps/generic/glob.c: Likewise.
137         * sysdeps/generic/prof-freq.c: Likewise.
138         * sysdeps/generic/putenv.c: Likewise.
139         * sysdeps/generic/statfs64.c: Likewise.
140         * sysdeps/generic/ttyname_r.c: Likewise.
141         * sysdeps/generic/utmp_file.c: Likewise.
142         * sysdeps/generic/vlimit.c: Likewise.
143         * sysdeps/generic/vtimes.c: Likewise.
144         * sysdeps/posix/cuserid.c: Likewise.
145         * sysdeps/posix/euidaccess.c: Likewise.
146         * sysdeps/posix/mkstemp.c: Likewise.
147         * sysdeps/posix/mktemp.c: Likewise.
148         * sysdeps/posix/pread.c: Likewise.
149         * sysdeps/posix/pread64.c: Likewise.
150         * sysdeps/posix/profil.c: Likewise.
151         * sysdeps/posix/pwrite.c: Likewise.
152         * sysdeps/posix/pwrite64.c: Likewise.
153         * sysdeps/posix/sigblock.c: Likewise.
154         * sysdeps/posix/sigpause.c: Likewise.
155         * sysdeps/posix/ttyname.c: Likewise.
156         * sysdeps/posix/ttyname_r.c: Likewise.
157         * sysdeps/posix/waitid.c: Likewise.
158         * sysdeps/unix/getlogin_r.c: Likewise.
159         * sysdeps/unix/grantpt.c: Likewise.
160         * sysdeps/unix/rewinddir.c: Likewise.
161         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
162         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
163         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
164         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
165         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
166         * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
167         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
168         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
169         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
170         * sysdeps/unix/sysv/linux/unlockpt.c: Likewise.
171         * sysvipc/sys/shm.h: Likewise.
172         * time/ctime_r.c: Likewise.
173         * time/strptime.c: Likewise.
174         * wcsmbs/mbrlen.c: Likewise.
175         * wcsmbs/wcsdup.c: Likewise.
176         * wcsmbs/wcsxfrm.c: Likewise.
177         * wctype/wcfuncs.c: Likewise.
179         * sysdeps/unix/sysv/linux/i386/socker.S: Change to honor NO_WEAK_ALIAS.
180         * sysdeps/unix/sysv/linux/accept.S: Don't generate __ name.
181         * sysdeps/unix/sysv/linux/bind.S: Likewise.
182         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
183         * sysdeps/unix/sysv/linux/listen.S: Likewise.
184         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
185         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
186         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
188         * grp/fgetgrent_r.c: Use explicit locking of the stream.
190         * elf/Makefile (rtld-routines): Add dl-environ.
191         * sysdeps/generic/dl-sysdep.c: Move _dl_next_ld_env_entry and unsetenv
192         to...
193         * sysdeps/generic/dl-environ.c: here.  New file.
195         * libio/Makefile [REENTRANT] (routines): Add iofputs_u.
196         * libio/Versions: Add fputs_unlocked.
197         * libio/iofputs_u.c: New file.
198         * libio/stdio.h: Add prototype for fputs_unlocked.
200         * sunrpc/rpc/auth.h: Use __PMT instead of __P in type definitions.
201         * sunrpc/rpc/clnt.h: Likewise.
202         * sunrpc/rpc/pmap_clnt.h: Likewise.
203         * sunrpc/rpc/svc.h: Likewise.
204         * sunrpc/rpc/xdr.h: Likewise.
206         * sysdeps/i386/memchr.S: Correct for more strict gas.
207         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
208         * sysdeps/libm-i387/i686/s_fdim.S: Likewise.
209         * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
210         * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
212 1998-07-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
214         * configure.in: Change message for binutils version from
215         2.8.1.0.17->2.8.1.0.23.
217 1998-07-15  Ulrich Drepper  <drepper@cygnus.com>
219         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Define LOC.
220         Patch by John Tobey <jtobey@banta-im.com>.
222 1998-07-14  Ulrich Drepper  <drepper@cygnus.com>
224         * sunrpc/auth_unix.c (authunix_create_default): Use __sysconf
225         instead of sysconf.
227 1998-07-14 19:39  Ulrich Drepper  <drepper@cygnus.com>
229         * stdio-common/vfscanf.c (ungetc): Use _IO_sputbackc, not _IO_ungetc.
230         [_USE_IN_LIBIO] (encode_error): Free cancelation handler.
231         (conv_error): Likewise.
232         (input_error): Likewise.
233         (memory_error): Likewise.
235 1998-07-12  Mark Kettenis  <kettenis@phys.uva.nl>
237         * sysdeps/mach/hurd/dl-sysdep.c: Bring in sync with generic
238         implementation.  Include <entry.h>.  Replace references to symbol
239         _start with macro ENTRY_POINT.
240         (__libc_uid): Remove.
241         (__libc_multiple_libcs): New variable.
242         (__libc_stack_end): New variable.
243         (_dl_hwcap_mask): New variable.
244         (_dl_important_hwcaps): New function.
245         (_dl_show_auxv): Mark internal.
247 1998-07-14  Mark Kettenis  <kettenis@phys.uva.nl>
249         * mach/Makefile: Create target directory before generating
250         mach-syscalls.mk.
251         * mach/Machrules: Invoke awk using AWK variable.  Create target
252         directory before generating server stubs.
254 1998-07-14  Ulrich Drepper  <drepper@cygnus.com>
256         * wcsmbs/wcslen.c (__wcslen): Fix comment.
258         * configure.in: Allow egcs-2.92.
260 1998-07-10 18:14 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
262         * manual/Makefile: Overhauled.  Generate libc.texinfo from the
263         chapter files.  Exorcise the chapters, chapters-incl mess.
264         Support inserting doc chapters from add-on modules.
265         (chapters): New variable.
266         (add-chapters): New variable.
267         (appendices): New variable.
268         (libc.texinfo): New target.
269         (clean): Fix bugs.
270         (realclean): Fix bugs.
272         * manual/texis.awk: New file.
273         * manual/libc-texinfo.sh: New file.
274         * manual/libc-texinfo.in: New file.
276         * manual/conf.texi (top @node): Remove next pointer.
277         * manual/lang.texi (top @node): Remove prev pointer.
279         * manual/job.texi (top @node): Add explicit pointers.
280         * manual/message.texi (top @node): Add explicit pointers.
281         * manual/nss.texi (top @node): Add explicit pointers.
282         * manual/process.texi (top @node): Add explicit pointers.
283         * manual/startup.texi (top @node): Add explicit pointers.
284         * manual/terminal.texi (top @node): Add explicit pointers.
285         * manual/users.texi (top @node): Add explicit pointers.
287         * manual/arith.texi: Add %MENU% tag.
288         * manual/conf.texi: Add %MENU% tag.
289         * manual/contrib.texi: Add %MENU% tag.
290         * manual/ctype.texi: Add %MENU% tag.
291         * manual/errno.texi: Add %MENU% tag.
292         * manual/filesys.texi: Add %MENU% tag.
293         * manual/header.texi: Add %MENU% tag.
294         * manual/install.texi: Add %MENU% tag.
295         * manual/intro.texi: Add %MENU% tag.
296         * manual/io.texi: Add %MENU% tag.
297         * manual/job.texi: Add %MENU% tag.
298         * manual/lang.texi: Add %MENU% tag.
299         * manual/llio.texi: Add %MENU% tag.
300         * manual/locale.texi: Add %MENU% tag.
301         * manual/maint.texi: Add %MENU% tag.
302         * manual/math.texi: Add %MENU% tag.
303         * manual/mbyte.texi: Add %MENU% tag.
304         * manual/memory.texi: Add %MENU% tag.
305         * manual/message.texi: Add %MENU% tag.
306         * manual/nss.texi: Add %MENU% tag.
307         * manual/pattern.texi: Add %MENU% tag.
308         * manual/pipe.texi: Add %MENU% tag.
309         * manual/process.texi: Add %MENU% tag.
310         * manual/search.texi: Add %MENU% tag.
311         * manual/setjmp.texi: Add %MENU% tag.
312         * manual/signal.texi: Add %MENU% tag.
313         * manual/socket.texi: Add %MENU% tag.
314         * manual/startup.texi: Add %MENU% tag.
315         * manual/stdio.texi: Add %MENU% tag.
316         * manual/string.texi: Add %MENU% tag.
317         * manual/sysinfo.texi: Add %MENU% tag.
318         * manual/terminal.texi: Add %MENU% tag.
319         * manual/time.texi: Add %MENU% tag.
320         * manual/users.texi: Add %MENU% tag.
322 1998-07-13  Ulrich Drepper  <drepper@cygnus.com>
324         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
325         Update.
327 1998-07-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
329         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Use ANSI
330         style declaration to avoid warning.
331         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
333 1998-07-04  Mark Kettenis  <kettenis@phys.uva.nl>
335         * elf/rtld.c (process_dl_debug): Add missing continue.
337 1998-07-12  Mark Kettenis  <kettenis@phys.uva.nl>
339         * elf/rtld.c (_dl_skip_args): Make global because the Hurd startup
340         code needs it.
342 1998-07-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
344         * Makeconfig ($(common-objpfx)sysd-dirs): Write out definition of
345         sysd-dirs-done.
346         * Makerules: Don't generate version maps too early.
347         ($(common-objpfx)sysd-versions): Force regeneration if the list of
348         subdirs has changed.
350 1998-07-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
352         * elf/dlfcn.h (DL_CALL_FCT): Use portable comma expression.
354 1998-07-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
356         * iconv/gconv_db.c (gen_steps): Always set *handle and *nsteps.
357         * iconv/gconv_dl.c (__gconv_find_shlib): Correct use of tfind
358         return value.
360 1998-07-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
362         * elf/dl-open.c (dl_open_worker): New function.
363         (_dl_open): Call it to do the actual work while catching errors.
364         * elf/dl-close.c (_dl_close): Only call termination function if
365         the initialisation function was called.
367 1998-07-13  Ulrich Drepper  <drepper@cygnus.com>
369         * libio/libioP.h (_IO_cleanup_registration_needed): Use __PMT.
370         Reported by Felix von Leitner <leitner@amdiv.de>.
372 1998-07-13 10:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
374         * sysdeps/unix/sysv/linux/m68k/dl-envvars.h: New file.
376 1998-07-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
378         * Make-dist (+sysdep-tsrcs): Add Versions.
380 1998-07-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
382         * math/Versions: Remove __log1p, __atan2, __fe_dfl_env,
383         __fe_enabled_env, __fe_nonieee_env and __fe_nomask_env.
384         * sysdeps/powerpc/Versions: New file.
385         * csu/Versions: Remove brk, sbrk, environ, __environ, _environ
386         and __errno_location.
387         * misc/Versions: Add brk and sbrk.
388         * posix/Versions: Add environ, __environ and _environ.
389         * sysdeps/unix/sysv/linux/Versions: Add __errno_location.
391 1998-07-10 11:58  Ulrich Drepper  <drepper@cygnus.com>
393         * Makerules [no_defs]: Avoid dependency for loading sysd-versions.
394         Patch by Zack Weinberg.
396 1998-07-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
398         * posix/annexc.c (errno_maybe): EACCESS->EACCES.
399         (signal_maybe): Remove duplicate entry SIGEV_SIGNAL.
400         (mman_maybe): Remove duplicates MS_ASYNC, MS_INVALIDATE.
402 1998-07-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
404         * sysdeps/unix/sysv/linux/bits/fcntl.h: Fix typo.
406 1998-07-09  Ulrich Drepper  <drepper@cygnus.com>
408         * posix/unistd.h: Simplify #ifdefs.
410         * libio/libio.h: Undo last change due to possible C++ problems.
411         * libio/fileops.h: Likewise.
413 1998-07-09 13:34  Ulrich Drepper  <drepper@cygnus.com>
415         * grp/grp.h: Define gid_t also for __USE_XOPEN.
416         * io/fcntl.h: Include <sys/stat.h> also for __USE_XOPEN.
417         * io/utime.h: Define time_t also for __USE_XOPEN.
418         * io/sys/stat.h: Define time_t also for __USE_XOPEN.
419         Define *_t types except for pid_t also for __USE_XOPEN.
420         Define S_* macros also for __USE_XOPEN.
421         * locale/langinfo.h: Define CODESET, CRNCYSTR, RADIXCHAR, and
422         THOUSEP also for __USE_XOPEN.
423         * math/math.c: Define M_* macros also for __USE_XOPEN.
424         * math/bits/mathcalls.h: Declare hypot also for __USE_XOPEN.
425         * posix/fnmatch.h: Define FNM_NOSYS and for if _XOPEN_SOURCE is
426         defined.
427         * posix/glob.h: Likewise for GLOB_NOSYS.
428         * posix/regex.h: Likewise for REG_NOSYS.
429         * posix/wordexp.h: Likewise for WRDE_NOSYS.
430         * posix/unistd.h: Define *_t types also for __USE_XOPEN.
431         * posix/sys/wait.h: Define pid_t for __USE_XOPEN.
432         * pwd/pwd.h: Define gid_t and pid_t also for __USE_XOPEN.
433         * signal/signal.h: Define pid_t also for __USE_XOPEN.
434         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define _RSYNC and O_DSYNC also
435         for __USE_POSIX199309.
436         * sysdeps/unix/sysv/linux/bits/termios.h: Define the various B*
437         constants also for __USE_XOPEN.
438         * wcsmbs/wchar.h: For XPG4 include wctype.h.
440         * intl/dcgettext.c (find_msg): Initialize act to prevent warning.
441         * locale/setlocale.c (new_composite_name): Likewise for last_len.
443         * libio/stdio.h: Don't declare fclose_unlocked.
445         * sysdeps/posix/fpathconf.c: Handle _PC_FILESIZEBITS.
447 1998-07-08  Mark Kettenis  <kettenis@phys.uva.nl>
449         * stdio/stdio.h: Add prototypes for fflush_unlocked,
450         getc_unlocked, getchar_unlocked, putc_unlocked, putchar_unlocked,
451         fgets_unlocked, fread_unlocked, fwrite_unlocked,
452         clearerr_unlocked, feof_unlocked, ferror_unlocked,
453         fileno_unlocked, flockfile, ftrylockfile, funlockfile.
454         [__USE_XOPEN && !__USE_GNU] Declare optarg, optind, opterr.  Add
455         prototype for getopt.
456         * stdio/clearerr.c (clearerr_unlocked): Weak alias for clearerr.
457         * stdio/feof.c (feof_unlocked): Weak alias for feof.
458         * stdio/ferror.c (ferror_unlocked): Weak alias for ferror.
459         * stdio/fflush.c (fflush_unlocked): Weak alias for fflush.
460         * stdio/fgets.c (fgets_unlocked): Weak alias for fgets.
461         * stdio/fileno.c (fileno_unlocked): Weak alias for fileno.
462         * stdio/fputc.c (fputc_unlocked): Weak alias for fputc.
463         * stdio/fread.c (fread_unlocked): Weak alias for fread.
464         * stdio/fwrite.c (fwrite_unlocked): Weak alias for fwrite.
465         * stdio/getc.c (getchar_unlocked): Weak alias for getc.
466         * stdio/getchar.c (getchar_unlocked): Weak alias for getchar.
467         * stdio/putc.c (putc_unlocked): Weak alias for putc.
468         * stdio/putchar.c (putchar_unlocked): Weak alias for putchar.
469         * stdio/Versions [GLIBC_2.1]: Add clearerr_unlocked,
470         feof_unlocked, ferror_unlocked, fflush_unlocked, fgets_unlocked,
471         fileno_unlocked, fputc_unlocked, fread_unlocked, fwrite_unlocked,
472         getc_unlocked, getchar_unlocked, putc_unlocked and
473         putchar_unlocked.
475         * libio/Versions: Move flockfile, ftrylockfile and funlockfile
476         from here ...
477         * stdio-common/Versions: ... to here.
479 1998-07-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
481         * Makerules (versioning): Correct typo.
483 1998-07-08 22:18  Ulrich Drepper  <drepper@cygnus.com>
485         * elf/Versions: Add _dl_mcount_wrapper_check.
486         * elf/dlfcn.h (DL_CALL_FCT): Don't test _dl_profile_map, simply use
487         _dl_mcount_wrapper_check.
488         * iconv/skeleton.c: Use DL_CALL_FCT, not _CALL_DL_FCT.
490         * elf/dl-reloc.c (_dl_relocate_object): Don't declare using
491         internal_function.
492         * elf/ldsodefs.h: Likewise.
494         * io/fcntl.h: Define SEEK_SET, SEEK_CUR, and SEEK_END.
496         * libio/stdio.h: Make sure va_list is defined for X/Open.
497         Define P_tmpdir for X/Open.
499         * posix/regex.h: Fix typo.
501         * posix/unistd.h: Define intptr_t if not already happened.
502         Add pthread_atfork prototype.
503         * sysdeps/generic/bits/types.h: Define __intptr_t.
504         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
505         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
506         * sysdeps/unix/sysv/linux/bits/mips/types.h: Likewise.
507         * sysdeps/unix/sysv/linux/bits/sparc/sparc64/types.h: Likewise.
508         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
509         * sysdeps/wordsize-32/stdint.h: Don't define intptr_t if already done.
510         * sysdeps/wordsize-64/stdint.h: Likewise.
512         * posix/bits/posix1_lim.h: Define _POSIX_CLOCKRES_MIN.
514         * signal/Makefile (headers): Add bits/sigthread.h.
515         * signal/signal.h: Include bits/sigthread.h.
516         * sysdeps/generic/bits/sigthread.h: New file.
518         * stdlib/stdlib.h: Declare rand_r use __USE_POSIX.
520         * sysdeps/generic/bits/confname.h: Define _PC_FILESIZEBITS.
521         * sysdeps/posix/pathconf.c: Handle _PC_FILESIZEBITS.
522         * sysdeps/unix/sysv/linux/alpha/fpathconf.c: New file.
523         * sysdeps/unix/sysv/linux/alpha/pathconf.c: New file.
525         * sysdeps/generic/bits/dlfcn.h: Define RTLD_LOCAL.
527         * elf/rtld.c: Remove preloading and loadpath variables in SUID
528         programs.
529         * sysdeps/generic/dl-sysdep.c: Define unsetenv.
530         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Define other envvar
531         names.
533         * sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED.
535         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_RSYNC and O_DSYNC.
536         Remove O_READ and O_WRITE definition.
538         * sysdeps/unix/sysv/linux/bits/resource.h: Define RLIM_SAVED_MAX
539         and RLIM_SAVED_CUR.
541         * sysdeps/unix/sysv/linux/fstatvfs.h: Handle UFS filesystem.
543 1998-07-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
545         * Makerules ($(common-objpfx)sysd-versions): Expect awk script in
546         scripts directory.  Pass move-if-change to awk.
547         (common-generated): Add $(version-maps) and sysd-versions.
548         * versions.awk: Moved to...
549         * scripts/versions.awk: ... here.  Use move-if-change to void
550         touching unchanged files.  Print "version-maps = ..." instead of
551         "all-version-maps = ..." and without $(common-objpfx).  Explain
552         expected variable names.
553         * Makefile (distribute): Updated.
555 1998-07-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
557         * misc/getttyent.c (getttyent): Don't return with locked stream.
558         * misc/mntent_r.c (__getmntent_r): Likewise.
560 1998-07-07 18:24  Ulrich Drepper  <drepper@cygnus.com>
562         * libio/fileops.c (_IO_do_write): Don't shrink wwrite buffer to zero
563         if stream is line buffered.
564         (_io_file_overflow): Likewise.
565         * libio/libio.h (_IO_putc_unlocked): Make sure that for line-buffered
566         streams writing '\n' flushes the string.
568 1998-07-07 17:28  Ulrich Drepper  <drepper@cygnus.com>
570         * elf/dl-profstub.c (_dl_profile_map): Only declare variable here.
571         * elf/dl-support.c: Define it here...
572         * elf/rtld.c: ...and here.
574 1998-07-07 16:28  Ulrich Drepper  <drepper@cygnus.com>
576         * grp/initgroups.c: Handle directives from nsswitch.conf file.
578 1998-07-07  Ulrich Drepper  <drepper@cygnus.com>
580         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Add
581         __ino64_t definition.
582         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Define
583         __off64_t.  Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
585         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Do not exit the shell
586         script if lddlibc4 failed.
587         Reported by B. D. Elliott <bde@accessone.com>.
589 1998-07-06  Ulrich Drepper  <drepper@cygnus.com>
591         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
592         Improve generated strings a bit.
594 1998-07-06 14:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
596         * posix/Makefile (generated): Remove $(objpfx) from the names.
598 1998-07-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
600         * stdio-common/test_rdwr.c: Use %Zu for size_t in printf
601         format string.
603         * libio/iofread_u.c: Include <stdio.h> for prototype.
604         * libio/iofwrite_u.c: Likewise.
606 1998-07-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
608         * db2/Versions: New file.
610 1998-07-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
612         * Makefile (lib-noranlib): Don't depend on sysd-versions.
613         ($(common-objpfx)sysd-versions): Remove rule.
614         * Makerules ($(common-objpfx)sysd-versions): Define here instead.
615         Pass name of Versions.def file to script and redirect output to
616         target.  Include it and make all generated version maps depend on
617         it.
618         * versions.awk: Print out variable definition containing all
619         generated version maps.  Print error messages to stderr.  Remove
620         temp file.
622 1998-07-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
624         * posix/annexc.c (check_header): Terminate macro name before
625         comparing.
626         (get_null_defines): Allow builtin macros with parameters.
627         (fmt, testfmt): Add -D_LIBC.
628         * posix/Makefile: Remove bogus duplicate include directories from
629         annexc test command.
631 1998-07-06 12:04  Ulrich Drepper  <drepper@cygnus.com>
633         * nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r): Handle adjunct
634         password scheme.
635         (_nss_nis_getpwnam_r): Likewise.
636         (_nss_nis_getpwuid_r): Likewise.
638 1998-07-05  Mark Kettenis  <kettenis@phys.uva.nl>
640         * libio/Versions: Move symbols whose source lives in
641         stdio-common to ...
642         * stdio-common/Versions: ... here.
643         * stdio/Versions: Add missing symbols.
645 1998-07-05  Ulrich Drepper  <drepper@cygnus.com>
647         * sysdeps/unix/sysv/linux/__sendmsg.S: Define function as
648         __syscall_sendmsg.
649         * sysdeps/unix/sysv/linux/__recvmsg.S: Define function as
650         __syscall_recvmsg.
651         * sysdeps/unix/sysv/linux/recvmsg.c: Define function as __libc_recvmsg
652         and make __recvmsg and recvmsg weak aliases.
653         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise for sendmsg.
654         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define __syscall_recvmsg
655         and __syscall_sendmsg.
657 1998-07-05 11:49  Ulrich Drepper  <drepper@cygnus.com>
659         * iconv/gconv_conf.c (read_conf_file): Use feof_unlocked on private
660         stream.
661         * inet/ruserpass.c (token): Likewise.
662         * nss/nsswitch.c (nss_parse_file): Likewise.
663         * intl/localealias.c: Likewise.  Also for ferror.
664         * time/getdate.c (__getdate_r): Likewise.
666         * libio/Makefile (routines): Add iofgets_u.
667         * libio/iofgets_u.c: New file.
668         * libio/Versions: Add fgets_unlocked.
669         * libio/stdio.h: Add prototype for fgets_unlocked.
671         * misc/getttyent.c (getttyent): Use fgets_unlocked instead of fgets.
672         * misc/getusershell.c (initshells): Likewise.
673         * misc/mntent_r.c (__getmntent_r): Explicitly lock stream.  Use
674         fgets_unlocked.
675         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
676         * resolv/res_init.c (res_init): Likewise.
677         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
679 1998-05-23  Philip Blundell  <Philip.Blundell@pobox.com>
681         * sysdeps/unix/sysv/linux/arm/syscalls.list: Add `syscall'.
682         * sysdeps/unix/sysv/linux/arm/syscall.S: Deleted.
684 1998-07-05  Ulrich Drepper  <drepper@cygnus.com>
686         * misc/getttyent.c (getttyent): Explicitly lock the FILE and use
687         _unlocked functions.
689         * inet/ruserpass.c (ruserpass): Use _unlocked functions since this
690         is a private FILE.
692 1998-07-04 17:11 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
694         * csu/Makefile: Build crt files in lib pass.
695         * db2/Makefile (distribute): Add mutex/sco.cc.
696         * mach/Machrules: Don't generate .udeps files if no_deps is set.
697         * sysdeps/unix/Makefile: Don't generate sysd-syscalls or
698         s-proto.d if avoid-generated is set.
700         * sysdeps/alpha/Dist: List only one file per line.
701         * sysdeps/generic/Dist: Likewise.
702         * sysdeps/m68k/fpu/switch/Dist: Likewise.
703         * sysdeps/sparc/sparc32/Dist: Likewise.
704         * sysdeps/unix/Dist: Likewise.
705         * sysdeps/unix/sysv/irix4/Dist: Likewise.
707         * sysdeps/mach/hurd/i386/Dist: New file.
708         * sysdeps/generic/Dist: Add endutxent.c, getutxent.c, getutxid.c,
709         getutxline.c, pututxline.c, setutxent.c, updwtmpx.c, and utmpxname.c.
710         * sysdeps/unix/sysv/linux/Dist: Add getresuid.c and getresgid.c.
711         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove __sigtrampoline.S.
713 1998-07-04 10:14  Ulrich Drepper  <drepper@cygnus.com>
715         * libio/Makefile (routines): Add iofread_u and iofwrite_u.
716         * libio/Versions: Add fread_unlocked and fwrite_unlocked.
718         * Makerules (lib%.so): Adjust ignore pattern for last makefile change.
720         * time/tzfile.c (decode): Optimize by using bswap_32.
721         (__tzfile_read): Use _unlocked stream functions.  Correct setting of
722         __tzname array values.
723         (__tzfile_compute): Correct setting of __tzname array values.
724         * time/tzset.c (__tzstring): Clean up a bit.
726 1998-06-29 19:01  Jim Wilson  <wilson@cygnus.com>
728         * posix/regex.c (re_comp): Add cast to char * before gettext calls.
730 1998-06-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
732         * sysdeps/unix/bsd/poll.c (__poll): Allocate fd_set dynamically so
733         that fd can be bigger than FD_SETSIZE.
735 1998-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
737         * nscd/grpcache.c: Include <unistd.h>.
738         * nscd/pwdcache.c: Likewise.
740         * nis/nis_modify.c: Include <string.h>.
741         * nis/nis_add.c: Likewise.
742         * nis/nis_checkpoint.c: Likewise.
743         * posix/runptests.c: Likewise.
744         * sysdeps/generic/statvfs64.c: Likewise.
745         * sysdeps/generic/fstatvfs64.c: Likewise.
747 1998-07-03 13:16  Ulrich Drepper  <drepper@cygnus.com>
749         * localedata/charmaps/ISO-8859-9: Change mapping for 0xea, 0xec, 0xef
750         to match data from Unicode.
751         Reported by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
753 1998-07-03 11:45  Ulrich Drepper  <drepper@cygnus.com>
755         * stdio-common/printf.h: Define printf_function and
756         printf_arginfo_function types using __PMT not __P.
757         Reported by Marc Lehmann.
759 1998-07-02 14:07 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
761         * assert/test-assert.c: New test.
762         * assert/test-assert-perr.c: New test.
763         * assert/Makefile (tests): Add test-assert and test-assert-perr.
765 1998-07-02 13:45  Zack Weinberg  <zack@rabi.phys.columbia.edu>
767         BSD-style SCM_CREDS support.
769         * sysdeps/unix/sysv/linux/socket.h: Define struct cmsgcred and
770         SCM_CREDS.
771         * sysdeps/unix/sysv/linux/sendmsg.c: New file.  Convert user
772         visible SCM_CREDS packet to what the kernel wants.
773         * sysdeps/unix/sysv/linux/recvmsg.c: New file.  Convert
774         SCM_CREDS packet output by kernel to what users want.
776         * sysdeps/unix/sysv/linux/sendmsg.S: Moved to...
777         * sysdeps/unix/sysv/linux/__sendmsg.S: here.
778         * sysdeps/unix/sysv/linux/recvmsg.S: Moved to...
779         * sysdeps/unix/sysv/linux/__recvmsg.S: here.
781         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]: Add
782         __sendmsg and __recvmsg to sysdep_routines.
783         * sysdeps/unix/sysv/linux/Dist: Add __sendmsg.S and __recvmsg.S.
785 1998-07-02  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
787         * nscd/grpcache.c: Fix gid pointer handling and debug messages.
788         * nscd/pwdcache.c: Fix uid pointer handling and debug messages.
789         * nscd/nscd.c: Check, if pthread_create fails.
791 1998-07-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
793         * stdio-common/test_rdwr.c (main): Use %Zu for size_t in printf
794         format strings.
795         * stdio-common/bug1.c (main): Likewise.
796         * stdio-common/bug5.c (main): Likewise.
797         * stdio-common/tstgetln.c (main): Likewise.
798         * elf/sprof.c (generate_call_graph): Likewise.
799         (load_shobj): Likewise.
800         * posix/runptests.c (main): Likewise.
801         * string/tst-strlen.c (main): Likewise.
803         * sysdeps/libm-ieee754/e_acos.c (__ieee754_acos): Remove unused
804         variable q3.
805         * sysdeps/libm-ieee754/e_asin.c (__ieee754_asin): Likewise
807 1998-07-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
809         * wctype/Versions: Add __towctrans.
810         Noticed by Alex Buell <alex.buell@tahallah.demon.co.uk>.
812 1998-07-02  Mark Kettenis  <kettenis@phys.uva.nl>
814         * grp/initgroups.c (compat_call): Only call dynamically loaded
815         functions if they are really present.
817 1998-07-02  Mark Kettenis  <kettenis@phys.uva.nl>
819         * sysdeps/unix/sysv/linux/bits/sched.h: Move __END_DECLS within
820         #ifdef that contains __BEGIN_DECLS.
822 1998-07-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
824         * libio/iofwrite.c: Fix return value when size == 0.
826 1998-07-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
828         * posix/Makefile (distribute): Add annexc.c.
829         (generated): Add $(objpfx)annexc and $(objpfx)annexc.out.
831 1998-07-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
833         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
834         bits/pthreadtypes.h here, and do not clobber headers.
836         * sysdeps/unix/sysv/linux/Dist: Add bits/pthreadtypes.h.
838 1998-07-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
840         * timezone/tst-timezone.c: Add tests for tzname variable.
842 1998-07-03 12:17  Zack Weinberg  <zack@rabi.phys.columbia.edu>
844         * Makefile [versioning=yes]: Build the mapfiles with a pattern
845         rule that lists all of them as targets.
846         (sysd-versions): Depend only on Versions.def.  Write a Makefile
847         fragment that defines $(vers-libs) based on contents of that file;
848         then include it.
849         (lib-noranlib): Depend on lib-mapfiles not sysd-versions.
850         (lib-mapfiles): New target, depends on sysd-versions and $(vers-libs).
851         Predicate all this on avoid-generated unset as well as versioning.
853 1998-07-03 14:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
855         * sysdeps/unix/sysv/linux/m68k/Versions: New file.
857 1998-07-02 21:51  Ulrich Drepper  <drepper@cygnus.com>
859         * Makeconfig: Define list of subdirs as all-subdirs and make subdirs
860         a copy.
861         * Makefile: Add rules to generate map files.
862         (distribute): Remove libc.map, add Versions.def and versions.awk.
863         * Makerules: Change rules to find map files on common-objpfx.
864         * elf/Makefile: Likewise.
865         * md5-crypt/Makefile: Likewise.
866         * nis/Makefile (libnsl-map): Remove.
867         * Versions.def: New file.
868         * versions.awk: New file.
869         * argp/Versions: New file.
870         * assert/Versions: New file.
871         * catgets/Versions: New file.
872         * csu/Versions: New file.
873         * ctype/Versions: New file.
874         * db/Versions: New file.
875         * debug/Versions: New file.
876         * dirent/Versions: New file.
877         * elf/Versions: New file.
878         * gmon/Versions: New file.
879         * grp/Versions: New file.
880         * hesiod/Versions: New file.
881         * hurd/Versions: New file.
882         * iconv/Versions: New file.
883         * inet/Versions: New file.
884         * intl/Versions: New file.
885         * io/Versions: New file.
886         * libio/Versions: New file.
887         * linuxthreads/Versions: New file.
888         * locale/Versions: New file.
889         * login/Versions: New file.
890         * malloc/Versions: New file.
891         * math/Versions: New file.
892         * md5-crypt/Versions: New file.
893         * misc/Versions: New file.
894         * nis/Versions: New file.
895         * nss/Versions: New file.
896         * posix/Versions: New file.
897         * pwd/Versions: New file.
898         * resolv/Versions: New file.
899         * resource/Versions: New file.
900         * rt/Versions: New file.
901         * setjmp/Versions: New file.
902         * shadow/Versions: New file.
903         * signal/Versions: New file.
904         * socket/Versions: New file.
905         * stdio/Versions: New file.
906         * stdio-common/Versions: New file.
907         * stdlib/Versions: New file.
908         * streams/Versions: New file.
909         * string/Versions: New file.
910         * sunrpc/Versions: New file.
911         * sysdeps/alpha/Versions: New file.
912         * sysdeps/alpha/fpu/Versions: New file.
913         * sysdeps/i386/Versions: New file.
914         * sysdeps/sparc/Versions: New file.
915         * sysdeps/unix/sysv/Versions: New file.
916         * sysdeps/unix/sysv/linux/Versions: New file.
917         * sysdeps/unix/sysv/linux/alpha/Versions: New file.
918         * sysdeps/unix/sysv/linux/i386/Versions: New file.
919         * sysdeps/unix/sysv/linux/mips/Versions: New file.
920         * sysvipc/Versions: New file.
921         * termios/Versions: New file.
922         * time/Versions: New file.
923         * wcsmbs/Versions: New file.
924         * wctype/Versions: New file.
925         * libc.map: Removed.
926         * db/libdb.map: Removed.
927         * elf/libdl.map: Removed.
928         * hesiod/libnss_hesiod.map: Removed.
929         * hurd/libhurduser.map: Removed.
930         * hurd/libmachuser.map: Removed.
931         * linuxthreads/libpthread.map: Removed.
932         * locale/libBrokenLocale.map: Removed.
933         * login/libutil.map: Removed.
934         * math/libm.map: Removed.
935         * md5-crypt/libcrypt.map: Removed.
936         * nis/libnsl.map: Removed.
937         * nis/libnsl_compat.map: Removed.
938         * nis/libnss_nis.map: Removed.
939         * nis/libnss_nisplus.map: Removed.
940         * nss/libnss_db.map: Removed.
941         * nss/libnss_files.map: Removed.
942         * resolv/libnss_dns.map: Removed.
943         * resolv/libresolv.map: Removed.
944         * rt/librt.map: Removed.
946         * elf/dl-load.c (fillin_rpath): Fix test for trusted directory.
947         Fix typos.
949         * elf/rtld.c (process_dl_debug): Recognize 'all'.
950         (process_envvars): LD_BIND_NOW must be followed by y, Y, or 1.
952         * sysdeps/generic/elf/backtracesyms.c: Allocate string memory of
953         correct size.
955 1998-07-01  Ulrich Drepper  <drepper@cygnus.com>
957         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Fix typo
958         in comment.
960         * nscd/nscd.c: Include unistd.h.
962 1998-07-01 09:32  Ulrich Drepper  <drepper@cygnus.com>
964         * math/libm-test.c: Adjust delta for indentities1_test because gcc
965         became cleverer.
967 1998-06-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
969         * resolv/inet_addr.c (inet_aton): Define variable base only if needed.
971 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
973         * scripts/test-installation.pl: Include <stdio.h> in test program
974         to make it strictly conforming.
976 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
978         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
979         not a strong alias.
980         * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise.
981         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
982         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
983         * sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
985 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
987         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
988         not a strong alias.
990 1998-06-30  Ulrich Drepper  <drepper@cygnus.com>
992         * posix/Makefile (headers): Remove bits/pthreadtypes.h.
993         * sysdeps/unix/sysv/linux/Makefile [subdir==posix] (headers): Add
994         bits/pthreadtypes.h.
996 1998-06-30 11:47  Ulrich Drepper  <drepper@cygnus.com>
998         * include/aio.h: New file.
999         * posix/Makefile (distribute): Add bits/pthreadtypes.h.
1000         (tests): Build and run annexc program.
1001         * posix/annexc.c: New file.
1002         * posix/bits/posix1_lim.h: Add several more _POSIX_* limits.
1003         * rt/aio.h: Remove __need_timespec_t.  We can include the whole time.h.
1004         * rt/aio_misc.c: Include limits.h.
1005         * rt/aio_notify.c: Include errno.h.
1006         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Include pthreadtypes.h.
1007         Define size_t.
1008         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1009         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1010         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
1011         * sysdeps/unix/sysv/linux/bits/errno.h: Define ENOTSUP though the
1012         kernel doesn't do this.
1013         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_LARGEFILE only if
1014         __USE_LARGEFILE64 is defined.
1015         * sysdeps/unix/sysv/linux/bits/pthreadtypes.h: New file.  Empty.
1016         * sysdeps/unix/sysv/linux/bits/sched.h: Define __sched_param struct
1017         if requested.
1018         * sysdeps/unix/sysv/linux/bits/siginifo.h: Protect non-standard names.
1020         * stdlib/isomac.c: Avoid include_next warning.
1022 1998-06-29 12:27  Ulrich Drepper  <drepper@cygnus.com>
1024         * argp/argp.h: Use __PMT instead of __P for function pointer.
1025         * iconv/gconv.h: Likewise.
1026         * io/fts.h: Likewise.
1027         * io/ftw.h: Likewise.
1028         * libio/libio.h: Likewise.
1029         * malloc/mcheck.h: Likewise.
1030         * misc/search.h: Likewise.
1031         * posix/glob.h: Likewise.
1032         * resolv/resolv.h: Likewise.
1033         * signal/signal.h: Likewise.
1034         * stdlib/stdlib.h: Likewise.
1035         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
1036         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
1038 1998-06-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1040         * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) only once.
1042 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1044         * posix/wordexp.c (parse_param): Fix memory leak.
1046 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1048         * libc.map: Export _IO_ftrylockfile.
1050 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1052         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use get[pu]id instead of
1053         __get[pu]id.
1055 1998-06-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1057         * elf/dl-misc.c (_dl_debug_message): Don't cache the pid.
1059         * elf/dl-runtime.c (_dl_object_relocation_scope): Avoid adding the
1060         same search list twice.
1062 1998-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1064         * login/programs/utmpd.c (handle_requests): Set and use maximal fd
1065         used to optimize loop/select.
1067 1998-06-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1069         * sysdeps/generic/init-first.c: Don't define __libc_pid.
1070         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
1071         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
1072         * sysdeps/mach/hurd/mips/init-first.c: Likewise.
1073         * sysdeps/arm/init-first.c: Likewise.
1074         * posix/getopt_init.c: Don't use __libc_pid.
1075         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1076         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1077         * libc.map: Remove __libc_uid and __libc_pid.
1079 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1081         * sunrpc/rtime.c (rtime): Use poll instead of select.
1083 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1085         * sunrpc/clnt_tcp.c (readtcp): Use poll instead of select.
1086         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
1087         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
1088         Patches from FreeBSD current.
1090 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1092         * nscd/connections.c (handle_new_request): Handle POLLHUP
1093         correctly.
1094         (close_sockets): Correct parameter to dbg_log.
1096 1998-06-27  David S. Miller  <davem@pierdol.cobaltmicro.com>
1098         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
1099         Cleanup weak_extern usage for _dl_hwcap and _dl_hwcap_mask.
1100         (elf_machine_fixup_plt): Likewise.
1101         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: When
1102         _dl_pagesize not set, use system call to always get correct answer.
1103         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
1104         (__syscall_getpagesize): Add
1106 1998-06-27  Ulrich Drepper  <drepper@cygnus.com>
1108         * resolv/res_send.c (res_send): Fix typo.
1110 1998-06-25  Andi Kleen <ak@muc.de>
1112         * inet/rcmd.c (rcmd): Change to use __poll instead of select.
1113         * resolv/res_send.c (res_send): Likewise.
1115 1998-06-27 12:58  Ulrich Drepper  <drepper@cygnus.com>
1117         * sysdeps/unix/bsd/poll.c: Define __poll, make poll weak alias.
1118         * sysdeps/unix/sysv/linux/poll.c: Likewise.
1120 1998-06-27  7:07  Richard Henderson  <rth@cygnus.com>
1122         * math/atest-exp.c (exp_mpn, main): Cast to mp_limb_t appropriately.
1123         * math/atest-exp2.c (exp_mpn, main): Likewise.
1124         * math/atest-sincos.c (main): Likewise.
1126         * resolv/inet_addr.c (inet_aton): Check for 32-bit overflow.  Move
1127         base handling away from strtoul.  Always reset errno.
1129         * sysdeps/alpha/Makefile (elf): Kill -mno-fp-regs.
1131         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Only set
1132         _dl_profile_map if _dl_name_match_p.
1133         (RTLD_START): Fix .prologue.  Set __libc_stack_end.
1134         * sysdeps/alpha/elf/start.S: Pass sp as arg 7.  Kill __data_start.
1136         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Mark tmp
1137         as early-clobber.
1139         * sysdeps/libm-ieee754/e_exp10.c: Include "math_private.h".
1140         * sysdeps/libm-ieee754/e_exp10f.c: Likewise.
1141         * sysdeps/libm-ieee754/e_exp10l.c: Likewise.
1143 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
1145         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use alias-safe code.
1147 1998-06-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1149         * nis/nis_call.c: Don't copy server structure.
1150         * nis/nis_intern.h: Remove unused entries.
1151         * nis/nis_table.c: Rewrite __create_ib_request.
1153 1998-06-26 14:37  Ulrich Drepper  <drepper@cygnus.com>
1155         * configure.in: Check for -fexceptions.
1156         * config.make.in: Define exceptions, not no-exceptions.
1157         * misc/sys/cdefs.h: Define __PMT.  When using modern g++ define
1158         __P to use throw().
1159         * misc/Makefile: Define CFLAGS-tsearch.c and CFLAGS-lsearch.c to
1160         $(exceptions).
1161         * stdlib/Makefile: Likewise for bsearch.c, msort.c, and qsort.c.
1162         * misc/search.h: Use __PMT in tsearch, tfind, tdelete, twalk, tdestroy,
1163         lfind, and lsearch prototpypes.
1164         * stdlib/stdlib.h: Likewise for bsearch and qsort.
1166 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
1168         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use C code, not asm.
1170 1998-06-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1172         * Makefile (remove-old-headers): Make phony.
1174         * configure.in: Substitute @old_glibc_headers@.
1176 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
1178         * libc.map: Remove __libc_uid.
1180 1998-06-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1182         * manual/terminal.texi (Allocation, Pseudo-Terminal Pairs): Fix
1183         typos.
1185 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
1187         * libc.map: Add Alpha-specific io function from protected namespace.
1189 1998-06-25 19:26  Ulrich Drepper  <drepper@cygnus.com>
1191         * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) if defined first.
1192         * locale/Makefile: Define locale-CPPFLAGS instead of redefining
1193         CPPFLAGS.
1195         * libc.map: Export __sigaction.
1197 1998-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1199         * sysdeps/unix/sysv/linux/bits/sched.h (CLONE_PTRACE): Add it
1200         (from Linux 2.1.107).
1202 1998-06-24  Ulrich Drepper  <drepper@cygnus.com>
1204         * nss/nss_files/files-XXX.c (_nss_files_get,ENTNAME_r): Initialize
1205         position when file was opened here.
1206         Reported by Howard Chu <hyc@platinum.com>.
1208         * sysdeps/generic/glob.c: Also protect FNM_* macros from being
1209         undefined in a second inclusion.
1211 1998-06-20  Mark Kettenis  <kettenis@phys.uva.nl>
1213         * sysdeps/mach/hurd/i386/Makefile: New file.
1214         * sysdeps/mach/hurd/i386/init-first.c [!PIC] (init1): Call
1215         __libc_init_secure.
1216         (_hurd_stack_setup): Renamed
1217         from __libc_init_first.
1218         (__libc_init_first): New function.
1219         * sysdeps/mach/hurd/i386/static-start.S: New file.
1221 1998-05-30  Mark Kettenis  <kettenis@phys.uva.nl>
1223         * sysdeps/mach/hurd/i386/init-first.c
1225 1998-06-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1227         * grp/initgroups.c: Use _CALL_DL_FCT.
1229 1998-06-23  Mark Kettenis  <kettenis@phys.uva.nl>
1231         * elf/rtld.c (process_dl_debug): Add missing continue.
1233 1998-06-23  Mark Kettenis  <kettenis@phys.uva.nl>
1235         * elf/dl-load.c (_dl_map_object_from_fd): Add missing cast.
1237 1998-06-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1239         * manual/terminal.texi (Pseudo-Terminals): Correct typos.
1241 1998-06-23  Ulrich Drepper  <drepper@cygnus.com>
1243         * config.make.in: Remove LDAP support.
1244         * nss/Makefile: Likewise.
1246 1998-06-22 17:02  Ulrich Drepper  <drepper@cygnus.com>
1248         * sysdeps/generic/enbl-secure.c: Don't use __libc_uid.
1249         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1250         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1251         * sysdeps/unix/sysv/linux/init-first.c: Don't initialize __libc_uid.
1253 1998-06-02  Gordon Matzigkeit  <gord@profitpress.com>
1255         * mach/Makefile: Change `mv' invocations to `mv -f'.
1256         * mach/Machrules: Likewise.
1258 1998-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1260         * config.make.in (old-glibc-headers): Add it.
1262         * configure.in: Add test for glibc 2.0.x headers.
1264         * Makefile (headers2_0): New variable - contains so far only
1265         Linux/Intel glibc 2.0.x headers.
1266         (remove-old-headers): New rule to remove headers from glibc 2.0.x.
1267         (install): Depend on remove-old-headers.
1269 1998-06-19  Mark Kettenis  <kettenis@phys.uva.nl>
1271         * sysdeps/generic/ftruncate.c: Define function as __ftruncate and
1272         make ftruncate a weak alias.
1273         * sysdeps/mach/hurd/ftruncate.c: Really define function as
1274         __ftruncate.
1275         * sysdeps/mach/hurd/truncate.c: Include <unistd.h>.
1276         (truncate): Fix function defenition to match prototype.
1278 1998-06-20  Mark Kettenis  <kettenis@phys.uva.nl>
1280         * manual/terminal.texi: Document ttyname_r, getpt, grantpt,
1281         unlockpt, ptsname, ptsname_r, openpty and forkpty.
1283 1998-06-22  Ulrich Drepper  <drepper@cygnus.com>
1285         * sysdeps/generic/glob.c: Make it possible to include glob.h
1286         before loading glob.c.
1287         Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
1289 1998-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1291         * nscd/connections.c: Use poll() instead of select().
1293 1998-06-22 14:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1295         * sysdeps/generic/Dist: Fix typo.
1297 1998-06-20  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1299         * nis/nis_add.c: Avoid unnecessary strlen () calls.
1300         * nis/nis_addmember.c: Likewise.
1301         * nis/nis_call.c: Likewise.
1302         * nis/nis_creategroup.c: Likewise.
1303         * nis/nis_destroygroup.c: Likewise.
1304         * nis/nis_findserv.c: Likewise.
1305         * nis/nis_ismember.c: Likewise.
1306         * nis/nis_print.c: Likewise.
1307         * nis/nis_print_group_entry.c: Likewise.
1308         * nis/nis_removemember.c: Likewise.
1309         * nis/nis_verifygroup.c: Likewise.
1310         * nis/ypclnt.c: Likewise.
1312         * nis/nis_file.c: Close file handles.
1314         * nis/nis_callback.c: Fix typo.
1316 1998-06-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1318         * nis/Makefile: Add nis-initgroups and compat-initgroups.
1319         * nis/libnss_compat.map: Add _nss_compat_initgroups.
1320         * nis/libnss_nis.map: Add _nss_nis_initgroups.
1321         * nis/nss_compat/compat-initgroups.c: New, faster then getgrent().
1322         * nis/nss_nis/nis-initgroups.c: Likewise.
1323         * libc-work/nss/nsswitch.c: Rename nss_lookup_function to
1324         __nss_lookup_function and make it public.
1325         * grp/initgroups.c: Rewrite, to use initgroups function from NSS
1326         module if exists, else use old method.
1328 1998-06-19  Ulrich Drepper  <drepper@cygnus.com>
1330         * nss/getXXbyYY_r.c (lookup_function): Correct return in type
1331         definition.
1332         * nss/getXXent_r.c (set_function, end_function, get_function):
1333         Likewise.  Reported by Thorsten Kukuk.
1335         * sysdeps/unix/sysv/linux/sigstack.c: Mark sigstack as dangerous.
1337 1998-06-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1339         * sysdeps/unix/sysv/linux/sparc/Dist: Follow change from
1340         1998-06-16 and distribute kernel_termios.h.
1342         * nis/Makefile (distribute): Add nis_xdr.h.
1344 1998-06-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1346         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Disable for
1347         kernels that don't have sigaltstack.
1349 1998-06-19  Ulrich Drepper  <drepper@cygnus.com>
1351         * sysdeps/generic/bits/sem.h: Don't define union semun.
1353         * sysdeps/unix/sysv/linux/bits/sem.h: Fix typo.
1355         * sysdeps/unix/sysv/linux/bits/ipc.h: Remove ipc_kludge definition
1356         here.
1357         * sysdeps/unix/sysv/linux/msgrcv.c (msgrcv): Add ipc_kludge
1358         definition here.
1360 1998-06-18 21:45  Ulrich Drepper  <drepper@cygnus.com>
1362         * signal/signal.h: Add prototype for __sigaltstack.
1363         * sysdeps/unix/sysv/linux/syscalls.list: Add __sigaltstack name.
1364         Remove sigstack entry.
1365         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add sigstack here.
1366         * sysdeps/unix/sysv/linux/sigstack.c: New file.
1368         * sysdeps/i386/backtrace.c: Add casts.
1370 1998-06-18 19:49  Ulrich Drepper  <drepper@cygnus.com>
1372         * intl/dcgettext.c: use complete type name.
1373         * intl/hash-string.h: Likewise.
1375         * intl/localealias.c: Undo patch from 1998-04-29.
1376         * intl/l10nflist.c: Likewise.
1377         * intl/loadinfo.h: Likewise.
1379 1998-06-18  Ulrich Drepper  <drepper@cygnus.com>
1381         * sysdeps/i386/elf/start.S (_start): Ensure correct alignment.
1383 1998-06-18 16:40  Ulrich Drepper  <drepper@cygnus.com>
1385         * libc.map: Add _dl_profile_map, _dl_profile_output, _dl_start_profile,
1386         _dl_mcount, _dl_mcount_wrapper.
1387         * elf/Makefile (routines): Add dl-profstub.
1388         * elf/dl-profstub.c: New file.
1389         * elf/dl-support.c: Don't define _dl_profile_map.
1390         * elf/rtld.c: Likewise.
1391         * elf/dlfcn.h: Define DL_CALL_FCT macro.
1392         * elf/ldsodefs.h: Declare _dl_profile_output, _dl_mcount_wrapper.
1393         Define _CALL_DL_FCT.
1394         * iconv/gconv.c: Use _CALL_DL_FCT to call function from dynamically
1395         loaded object.
1396         * iconv/gconv_db.c: Likewise.
1397         * iconv/skeleton.c: Likewise.
1398         * nss/getXXbyYY_r.c: Likewise.
1399         * nss/getXXent_r.c: Likewise.
1400         * nss/nsswitch.c: Likewise.
1402 1998-06-18 12:29  Ulrich Drepper  <drepper@cygnus.com>
1404         * sysdeps/libm-i387/e_scalb.S: Fix bug in FPU stack handling.
1405         * sysdeps/libm-i387/e_scalbf.S: Likewise.
1406         * sysdeps/libm-i387/e_scalbl.S: Likewise.
1408 1998-06-18  Ulrich Drepper  <drepper@cygnus.com>
1410         * stdlib/tst-strtod.c (long_dbl): Provide receipe to regenerate
1411         longestdbl.
1413 1998-06-18 10:26  Ulrich Drepper  <drepper@cygnus.com>
1415         * iconvdata/Makefile (modules): Add MACINTOSH.
1416         (MACINTOSH-routines): New variable.
1417         (distribute): Add macintosh.c.
1418         (awk-generated-headers): Add macintosh.h.
1419         Add rule for macintosh.h generation.
1420         * iconvdata/gconv-modules: Add definitions for MACINTOSH.
1421         * iconvdata/macintosh.c: New file.
1423 1998-06-17  Ulrich Drepper  <drepper@cygnus.com>
1425         * stdlib/tst-strtod.c (long_dbl): Add test for loooong numbers.
1427         * stdlib/strtod.c (str_to_mpn): Fix extending of n array which
1428         only should happen for cy != 0.
1430         * sysdeps/unix/sysv/linux/alpha/glob.c: Include sys/types.h before
1431         glob.h.
1433 1998-06-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1435         * sysdeps/generic/backtrace.c (INNER_THAN): New definition, use it
1436         to compare stack addresses.
1438 1998-06-17  Ulrich Drepper  <drepper@cygnus.com>
1440         * sysdeps/unix/sysv/linux/alpha/glob.c: Include glob.h before
1441         defining prototypes.
1443 1998-06-16  David S. Miller <davem@dm.cobaltmicro.com>
1445         * sysdeps/sparc/sparc32/dl-machine.h
1446         (elf_machine_fixup_plt): During rtld bootstrap, always perform
1447         flushes as the kernel will emulate it when the underlying cpu does
1448         not implement flush.
1450         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: Move...
1451         * sysdeps/unix/sysv/linux/sparc/kernel_termios.h: ...to here.
1453         * sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S: Remove.
1454         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: No longer build
1455         trampoline code.
1457         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S
1458         (__clone): Branch to label .Lerror not __clone_syscall_error.
1459         (.Lerror): Fixup EINVAL setting.
1460         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: New file.
1461         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
1462         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
1463         (__syscall_getgroups, __syscall_setgroups): Add.
1465         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1466         (__sigaction): Member name is k_sa_handler.  Use memcpy to copy
1467         around sa_mask data.
1469 1998-06-16  Ulrich Drepper  <drepper@cygnus.com>
1471         * math/math.h: Include bits/nan.h when compiling for ISO C 9x.
1473         * string/Makefile: Make sure test-ffs does not use builtins.
1475 1998-06-16  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1477         * sunrpc/svc.c: Check for NULL pointer.
1479         * nis/libnsl.map: Add public NIS+ xdr functions.
1481         * nis/rpcsvc/nis_callback.h: New file.
1482         * nis/rpcsvc/nis.h: Move xdr_* functions from here ...
1483         * nis/nis_xdr.h: ... here.
1485         * nis/nis_add.c: Use internal _xdr_* functions, check for NULL
1486         pointers, use NIS+ defines where possible.
1487         * nis/nis_cache.c: Likewise.
1488         * nis/nis_cache2_xdr.c: Likewise.
1489         * nis/nis_call.c: Likewise.
1490         * nis/nis_checkpoint.c: Likewise.
1491         * nis/nis_clone_dir.c: Likewise.
1492         * nis/nis_clone_obj.c: Likewise.
1493         * nis/nis_clone_res.c: Likewise.
1494         * nis/nis_creategroup.c: Likewise.
1495         * nis/nis_file.c: Likewise.
1496         * nis/nis_free.c: Likewise.
1497         * nis/nis_getservlist.c: Likewise.
1498         * nis/nis_local_names.c: likewise.
1499         * nis/nis_lookup.c: Likewise.
1500         * nis/nis_mkdir.c: Likewise.
1501         * nis/nis_modify.c: Likewise.
1502         * nis/nis_ping.c: Likewise.
1503         * nis/nis_print.c: Likewise.
1504         * nis/nis_remove.c: Likewise.
1505         * nis/nis_removemember.c: Likewise.
1506         * nis/nis_rmdir.c: Likewise.
1507         * nis/nis_server.c: Likewise.
1508         * nis/nis_table.c: Likewise.
1509         * nis/nis_util.c: Likewise.
1510         * nis/nis_verifygroup.c: Likewise.
1511         * nis/nis_xdr.c: Likewise.
1512         * nis/nis_callback.c: Likewise, and move xdr functions from here ...
1513         * nis/nis_xdr.c: ... to here.
1515 1998-06-15 18:07  Ulrich Drepper  <drepper@cygnus.com>
1517         * iconvdata/ksc5601.h: Clean up a bit.
1519 1998-06-15 14:35  Ulrich Drepper  <drepper@cygnus.com>
1521         * sunrpc/svc_tcp.c (readtcp): Also listen to all the other connections
1522         and process incoming data.
1523         * sunrpc/xdr_rec.c (set_input_fragment): Only recognize zero length
1524         fragments as invalid.
1525         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
1527 1998-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1529         Removal of duplicates like "the the".
1530         * manual/time.texi (TZ Variable): Likewise.
1531         * manual/users.texi (Manipulating the Database): Likewise.
1532         * manual/sysinfo.texi (Filesystem handling): Likewise.
1533         * manual/signal.texi (Signaling Yourself): Likewise.
1534         * manual/message.texi (Message Translation): Likewise.
1535         (Common Usage): Likewise.
1536         * manual/llio.texi: Likewise.
1537         * manual/arith.texi (Old-style number conversion): Likewise.
1538         * manual/argp.texi (Argp): Likewise.
1539         (Argp Parsers): Likewise.
1540         (Argp Help Filtering): Likewise.
1542         * hesiod/README.hesiod: Correct typo.
1544         * manual/llio.texi: Correct typos.
1545         * manual/sysinfo.texi: Likewise.
1547 1998-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1549         * rt/aio.h: Rename __op to __operation for g++.
1551 1998-06-13 20:17 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1553         * iconvdata/gen-8bit-gap.sh: Use awk not perl.  Clean up sed
1554         script.
1555         * iconvdata/gen-8bit-gap-1.sh: Likewise.
1556         * iconvdata/gen-8bit.sh: Clean up sed script.
1558         * iconvdata/Makefile: Remove all PERL conditionals; build all
1559         the modules all the time.  Export AWK.
1560         (gen-8bit-gap): Delete setting of PERL.
1561         (gen-8bit-gap-1): Likewise.
1562         (perl-generated-headers): Renamed awk-generated-headers.
1564         * iconvdata/gap.pl: Removed.
1565         * iconvdata/gaptab.pl: Removed.
1566         * iconvdata/gap.awk: New file.
1567         * iconvdata/gaptab.awk: New file.
1569 1998-06-15  Ulrich Drepper  <drepper@cygnus.com>
1571         * sysdeps/generic/Dist: Add errno-loc.c.
1573         * sysdeps/unix/sysv/linux/alpha/glob.c: Add prototypes for the
1574         __new_* functions.
1576 1998-06-14 14:21 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1578         * stdio-common/bug12.c: New test for fread()/fseek().
1579         * stdio-common/Makefile (tests): Add bug12.
1581 1998-06-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1583         * sysdeps/generic/elf/backtracesyms.c: Make array elements
1584         constant.
1585         * sysdeps/generic/backtracesyms.c: Likewise.  Fix type of RESULT.
1586         * debug/execinfo.h: Update declaration.
1588 1998-06-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1590         * sysdeps/generic/elf/backtracesyms.c: Make array elements constant.
1591         * sysdeps/generic/backtracesyms.c: Likewise.  Fix type of RESULT.
1592         * debug/execinfo.h: Update declaration.
1594 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1596         * manual/llio.texi: Fix spelling.
1597         * manual/sysinfo.texi: Fix spelling.
1599 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1601         * misc/hsearch.c (__hdestroy): Renamed from hdestroy, create weak
1602         alias for old name.  Put this on __libc_subfreeres.
1603         * misc/search.h: Declare it.
1605 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1607         * string/bits/string2.h (strcmp): Add missing parens around macro
1608         parameters.
1610 1998-06-12 23:34  Ulrich Drepper  <drepper@cygnus.com>
1612         * manual/arith.texi: Fix problem with @math and texinfo.tex.
1614         * manual/filesys.texi: Document LFS functions.
1615         * manual/llio.texi: Likewise.
1616         * manual/stdio.texi: Likewise.
1617         * manual/time.texi: Likewise.
1619         * manual/llio.texi: Document AIO functions.
1621         * resource/sys/resource.h: Mark second argument of setrlimit as const.
1622         * sysdeps/generic/setrlimit.c: Likewise.
1623         * sysdeps/generic/setrlimit64.c: Likewise.
1624         * sysdeps/mach/hurd/setrlimit.c: Likewise.
1625         * sysdeps/unix/sysv/setrlimit.c: Likewise.
1627 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1629         * sysdeps/generic/getenv.c: Fix last change.
1631 1998-06-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1633         * sysdeps/generic/backtrace.c: Provide generic implementation.
1635 1998-06-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1637         * configure.in: Give visual feedback of the default directories we
1638         added.
1640 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1642         * io/fts.c (fts_build): Define oflag only if needed.
1644 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1646         * sysdeps/libm-ieee754/w_exp10.c: Add missing close comment.
1648 1998-06-11  Ulrich Drepper  <drepper@cygnus.com>
1650         * libc.map: Don't export argp's fmtstream handling functions.
1652         * manual/sysinfo.texi: Document fstab and mtab handling functions.
1653         * manual/llio.texi: Document more LFS functions and start documenting
1654         the AIO functions.
1656 1998-06-03 03:09  Geoff Keating  <geoffk@ozemail.com.au>
1658         * sysdeps/unix/sysv/linux/pread.c: Detect missing syscall, like poll().
1659         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1660         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1661         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1663 1998-06-03 03:09  Geoff Keating  <geoffk@ozemail.com.au>
1665         * sysdeps/powerpc/Makefile: Use -G0 on the startup file; this
1666         makes it easier to undump emacs.
1667         * sysdeps/powerpc/bits/endian.h: Use more informative error message
1668         for when the endianness can't be determined.
1670 1998-06-04 13:19  Geoff Keating  <geoffk@ozemail.com.au>
1672         * nss/Makefile: Add files publickey database support.
1673         * nss/libnss_files.map: Export the required functions.
1674         * nss/nss_files/files-key.c: Implement it.
1675         * sunrpc/rpc/auth_des.h: Correct typos in comments.
1677 1998-06-10  Ulrich Drepper  <drepper@cygnus.com>
1679         * iconv/gconv_builtin.h: Add aliases for CORBA.
1680         * iconvdata/gconv-modules: Likewise.
1682 1998-06-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1684         * math/libm-test.c (main): Call exp10_test.
1685         (exp10_test): New function which tests exp10.
1687 1998-06-10  Ulrich Drepper  <drepper@cygnus.com>
1689         * sysdeps/unix/sysv/linux/syscalls.list: Add sigaltstack and
1690         sigstack.
1692         * sysdeps/unix/sysv/linux/bits/sigstack.h: Add definitions of
1693         SS_ONSTACK, SS_DISABLE, MINSIGSTKSZ and SIGSTKSZ.
1694         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h: New file.
1696 1998-06-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1698         * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address
1699         in the variable, not its GOT slot.
1701 1998-06-10 10:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1703         * sysdeps/m68k/fpu/bits/mathinline.h: Define __ieee754_exp10 as
1704         inline.
1705         * sysdeps/m68k/fpu/e_exp10.c: New file.
1706         * sysdeps/m68k/fpu/e_exp10f.c: New file.
1707         * sysdeps/m68k/fpu/e_exp10l.c: New file.
1709         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Set
1710         _dl_profile_map only if the name matches.
1711         (_dl_start_user): Remember stack address.
1712         * sysdeps/m68k/elf/start.S: Pass new argument to
1713         __libc_start_user.
1715         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_LABEL): New
1716         definition.
1717         (PSEUDO, SYSCALL_ERROR_HANDLER): Use it instead of syscall_error.
1718         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
1719         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
1720         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
1721         * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
1723 1998-06-09 18:16  Ulrich Drepper  <drepper@cygnus.com>
1725         * math/Makefile (libm-calls): Add w_exp10 and e_exp10.
1726         * math/libm.map: Add exp10{,f,l} and pow10{,f,l}.
1727         * math/math_private.h: Add prototypes for __ieee754_exp10{,f,l}.
1728         * math/bits/mathcalls.h: Add definitions for exp10 and pow10
1729         prototypes.
1730         * sysdeps/libm-i387/e_exp10.S: New file.
1731         * sysdeps/libm-i387/e_exp10f.S: New file.
1732         * sysdeps/libm-i387/e_exp10l.S: New file.
1733         * sysdeps/libm-ieee754/e_exp10.c: New file.
1734         * sysdeps/libm-ieee754/e_exp10f.c: New file.
1735         * sysdeps/libm-ieee754/e_exp10l.c: New file.
1736         * sysdeps/libm-ieee754/w_exp10.c: New file.
1737         * sysdeps/libm-ieee754/w_exp10f.c: New file.
1738         * sysdeps/libm-ieee754/w_exp10l.c: New file.
1739         * sysdeps/libm-ieee754/k_standard.c: Add exception code for exp10.
1741 1998-05-25 22:18  H.J. Lu  <hjl@gnu.org>
1743         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers): Add
1744         sys/elf.h and sys/reg.h.
1745         * sysdeps/unix/sysv/linux/i386/sys/elf.h: New file.
1746         * sysdeps/unix/sysv/linux/i386/sys/reg.h: New file.
1747         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: New file.
1748         * sysdeps/unix/sysv/linux/i386/sys/user.h: New file.
1750         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETREGS,
1751         PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS): Added.
1753 1998-06-09  Ulrich Drepper  <drepper@cygnus.com>
1755         * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_options): Define
1756         __data member only for gcc.  Reported by ak@muc.de.
1758         * misc/mntent.h: Undo last patch.
1759         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Undo last patch.
1760         * misc/tst/mntent.c: Adjust code for this change.
1762         * io/fts.c: Updated from a slightly more recent BSD version.
1763         * io/fts.h: Likewise.
1765         * libc.map: Add __libc_stack_end.
1767         * db2/Makefile (routines): Add lock_region.
1768         * db2/config.h: Update from db-2.4.14.
1769         * db2/db.h: Likewise.
1770         * db2/db_185.h: Likewise.
1771         * db2/db_int.h: Likewise.
1772         * db2/btree/bt_close.c: Likewise.
1773         * db2/btree/bt_compare.c: Likewise.
1774         * db2/btree/bt_conv.c: Likewise.
1775         * db2/btree/bt_cursor.c: Likewise.
1776         * db2/btree/bt_delete.c: Likewise.
1777         * db2/btree/bt_open.c: Likewise.
1778         * db2/btree/bt_page.c: Likewise.
1779         * db2/btree/bt_put.c: Likewise.
1780         * db2/btree/bt_rec.c: Likewise.
1781         * db2/btree/bt_recno.c: Likewise.
1782         * db2/btree/bt_rsearch.c: Likewise.
1783         * db2/btree/bt_search.c: Likewise.
1784         * db2/btree/bt_split.c: Likewise.
1785         * db2/btree/bt_stat.c: Likewise.
1786         * db2/btree/btree.src: Likewise.
1787         * db2/btree/btree_auto.c: Likewise.
1788         * db2/clib/getlong.c: Likewise.
1789         * db2/common/db_appinit.c: Likewise.
1790         * db2/common/db_apprec.c: Likewise.
1791         * db2/common/db_byteorder.c: Likewise.
1792         * db2/common/db_err.c: Likewise.
1793         * db2/common/db_log2.c: Likewise.
1794         * db2/common/db_region.c: Likewise.
1795         * db2/common/db_salloc.c: Likewise.
1796         * db2/common/db_shash.c: Likewise.
1797         * db2/db/db.c: Likewise.
1798         * db2/db/db.src: Likewise.
1799         * db2/db/db_auto.c: Likewise.
1800         * db2/db/db_conv.c: Likewise.
1801         * db2/db/db_dispatch.c: Likewise.
1802         * db2/db/db_dup.c: Likewise.
1803         * db2/db/db_overflow.c: Likewise.
1804         * db2/db/db_pr.c: Likewise.
1805         * db2/db/db_rec.c: Likewise.
1806         * db2/db/db_ret.c: Likewise.
1807         * db2/db/db_thread.c: Likewise.
1808         * db2/db185/db185.c: Likewise.
1809         * db2/db185/db185_int.h: Likewise.
1810         * db2/dbm/dbm.c: Likewise.
1811         * db2/hash/hash.c: Likewise.
1812         * db2/hash/hash.src: Likewise.
1813         * db2/hash/hash_auto.c: Likewise.
1814         * db2/hash/hash_conv.c: Likewise.
1815         * db2/hash/hash_debug.c: Likewise.
1816         * db2/hash/hash_dup.c: Likewise.
1817         * db2/hash/hash_func.c: Likewise.
1818         * db2/hash/hash_page.c: Likewise.
1819         * db2/hash/hash_rec.c: Likewise.
1820         * db2/hash/hash_stat.c: Likewise.
1821         * db2/include/btree.h: Likewise.
1822         * db2/include/btree_ext.h: Likewise.
1823         * db2/include/clib_ext.h: Likewise.
1824         * db2/include/common_ext.h: Likewise.
1825         * db2/include/cxx_int.h: Likewise.
1826         * db2/include/db.h.src: Likewise.
1827         * db2/include/db_185.h.src: Likewise.
1828         * db2/include/db_am.h: Likewise.
1829         * db2/include/db_auto.h: Likewise.
1830         * db2/include/db_cxx.h: Likewise.
1831         * db2/include/db_dispatch.h: Likewise.
1832         * db2/include/db_ext.h: Likewise.
1833         * db2/include/db_int.h.src: Likewise.
1834         * db2/include/db_page.h: Likewise.
1835         * db2/include/db_shash.h: Likewise.
1836         * db2/include/db_swap.h: Likewise.
1837         * db2/include/hash.h: Likewise.
1838         * db2/include/hash_ext.h: Likewise.
1839         * db2/include/lock.h: Likewise.
1840         * db2/include/lock_ext.h: Likewise.
1841         * db2/include/log.h: Likewise.
1842         * db2/include/log_ext.h: Likewise.
1843         * db2/include/mp.h: Likewise.
1844         * db2/include/mp_ext.h: Likewise.
1845         * db2/include/mutex_ext.h: Likewise.
1846         * db2/include/os_ext.h: Likewise.
1847         * db2/include/os_func.h: Likewise.
1848         * db2/include/queue.h: Likewise.
1849         * db2/include/shqueue.h: Likewise.
1850         * db2/include/txn.h: Likewise.
1851         * db2/lock/lock.c: Likewise.
1852         * db2/lock/lock_conflict.c: Likewise.
1853         * db2/lock/lock_deadlock.c: Likewise.
1854         * db2/lock/lock_region.c: Likewise.
1855         * db2/lock/lock_util.c: Likewise.
1856         * db2/log/log.c: Likewise.
1857         * db2/log/log.src: Likewise.
1858         * db2/log/log_archive.c: Likewise.
1859         * db2/log/log_auto.c: Likewise.
1860         * db2/log/log_compare.c: Likewise.
1861         * db2/log/log_findckp.c: Likewise.
1862         * db2/log/log_get.c: Likewise.
1863         * db2/log/log_put.c: Likewise.
1864         * db2/log/log_rec.c: Likewise.
1865         * db2/log/log_register.c: Likewise.
1866         * db2/mp/mp_bh.c: Likewise.
1867         * db2/mp/mp_fget.c: Likewise.
1868         * db2/mp/mp_fopen.c: Likewise.
1869         * db2/mp/mp_fput.c: Likewise.
1870         * db2/mp/mp_fset.c: Likewise.
1871         * db2/mp/mp_open.c: Likewise.
1872         * db2/mp/mp_pr.c: Likewise.
1873         * db2/mp/mp_region.c: Likewise.
1874         * db2/mp/mp_sync.c: Likewise.
1875         * db2/mutex/68020.gcc: Likewise.
1876         * db2/mutex/mutex.c: Likewise.
1877         * db2/mutex/parisc.gcc: Likewise.
1878         * db2/mutex/parisc.hp: Likewise.
1879         * db2/mutex/sco.cc: Likewise.
1880         * db2/os/os_abs.c: Likewise.
1881         * db2/os/os_alloc.c: Likewise.
1882         * db2/os/os_config.c: Likewise.
1883         * db2/os/os_dir.c: Likewise.
1884         * db2/os/os_fid.c: Likewise.
1885         * db2/os/os_fsync.c: Likewise.
1886         * db2/os/os_map.c: Likewise.
1887         * db2/os/os_oflags.c: Likewise.
1888         * db2/os/os_open.c: Likewise.
1889         * db2/os/os_rpath.c: Likewise.
1890         * db2/os/os_rw.c: Likewise.
1891         * db2/os/os_seek.c: Likewise.
1892         * db2/os/os_sleep.c: Likewise.
1893         * db2/os/os_spin.c: Likewise.
1894         * db2/os/os_stat.c: Likewise.
1895         * db2/os/os_unlink.c: Likewise.
1896         * db2/progs/db_archive/db_archive.c: Likewise.
1897         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
1898         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
1899         * db2/progs/db_dump/db_dump.c: Likewise.
1900         * db2/progs/db_dump185/db_dump185.c: Likewise.
1901         * db2/progs/db_load/db_load.c: Likewise.
1902         * db2/progs/db_printlog/db_printlog.c: Likewise.
1903         * db2/progs/db_recover/db_recover.c: Likewise.
1904         * db2/progs/db_stat/db_stat.c: Likewise.
1905         * db2/txn/txn.c: Likewise.
1906         * db2/txn/txn.src: Likewise.
1907         * db2/txn/txn_auto.c: Likewise.
1908         * db2/txn/txn_rec.c: Likewise.
1910         * elf/rtld.c: Move definition of __libc_stack_end to ...
1911         * sysdeps/generic/dl-sysdep.h: ...here.
1913         * sysdeps/unix/sysv/linux/fstatvfs.c: Handle nodiratime option.
1914         * sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_NODIRATIME.
1915         * sysdeps/unix/sysv/linux/sys/mount.h: Define MS_NODIRATIME.
1917         * sysdeps/generic/libc-start.c: Always set __libc_stack_end.
1918         * sysdeps/i386/backtrace.c: Test whether frame pointer is legal
1919         before following it.
1921 1998-06-08 21:44  Ulrich Drepper  <drepper@cygnus.com>
1923         * sysdeps/unix/sysv/linux/fstatvfs.c: Handle constant option string
1924         from mntent correctly.
1926 1998-06-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1928         * sunrpc/Makefile (generated): Correct typo.
1930 1998-06-04  Philip Blundell  <philb@gnu.org>
1932         * elf/elf.h (EM_ARM, et al.): New definitions.
1933         * sysdeps/arm/dl-machine.h: Update for new draft ARM ELF ABI.
1935 1998-06-08 21:33  Ulrich Drepper  <drepper@cygnus.com>
1937         * localedata/SUPPORTED: Add sk_SK.
1938         * localedata/locales/sk_SK: New file.
1940 1998-06-08 18:57  Ulrich Drepper  <drepper@cygnus.com>
1942         * Makeconfig (subdirs): Add debug.
1943         * configure.in: Use sysdeps/generic/elf subdir if ELF platform.
1944         * libc.map: Add __backtrace, __backtrace_symbols, backtrace and
1945         backtrace_symbols.
1946         * sysdeps/generic/backtrace.c: New file.
1947         * sysdeps/generic/backtracesyms.c: New file.
1948         * sysdeps/generic/elf/backtracesyms.c: New file.
1949         * sysdeps/i386/backtrace.c: New file.
1950         * debug/Makefile: New file.
1951         * debug/backtrace-tst.c: New file.
1952         * debug/execinfo.h: New file.
1954 1998-06-08 13:34  Ulrich Drepper  <drepper@cygnus.com>
1956         * elf/sprof.c: Implement call graph profiling.
1958         * sysdeps/generic/getenv.c: Optimize to use strncmp less often.
1960 1998-06-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1962         * pwd/fgetpwent_r.c (__fgetpwent_r): Correct buffer overflow fix.
1963         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
1964         * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
1965         Noticed by Jake Garver <garver@valkyrie.net>.
1967 1998-06-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1969         * libio/genops.c (__underflow): Read character from read pointer
1970         as unsigned.
1971         (__uflow): Likewise.
1973 1998-06-07 13:32  Ulrich Drepper  <drepper@cygnus.com>
1975         * libc.map: Add _dl_profile.
1976         * elf/dl-reloc.c (_dl_relocate_object): Take extra argument, pass
1977         this to ELF_DYNAMIC_RELOCATE.
1978         Always allocate array for relocation result if LD_PROFILE is defined.
1979         * elf/ldsodefs.h: Adjust prototypes.
1980         * elf/dl-open.c (_dl_open): Call relocation function with extra
1981         argument.
1982         * elf/rtld.c: Likewise.
1983         * elf/dl-profile.c (_dl_mcount): Don't mark as internal function.
1984         Correct loop condition.
1985         * elf/dynamic-link.h: Don't examine _dl_profile variable, pass
1986         consider_profile to runtime setup function.
1987         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Use
1988         _dl_runtime_profile for all shared objects if LD_PROFILE is defined.
1990         * elf/dl-support.c: Define __libc_stack_end.
1991         * elf/rtld.c: Likewise.
1992         * sysdeps/generic/libc-start.c: Store last stack address in
1993         __libc_stack_end.
1994         * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address.
1995         * sysdeps/i386/elf/start.s: Call __libc_start_main with extra argument.
1997         * elf/elf.h: Include <features.h>, not <sys/cdefs.h>.
1998         Include <stdint.h>, not <inttypes.h>.
2000         * elf/sprof.c: Implement flat profiling.
2002         * libio/fgetc.c: Call _IO_cleanup_region_end with 0 and call
2003         _IO_funlockfile explicitly.
2004         * libio/fileops.c: Likewise.
2005         * libio/fputc.c: Likewise.
2006         * libio/freopen.c: Likewise.
2007         * libio/freopen64.c: Likewise.
2008         * libio/fseek.c: Likewise.
2009         * libio/fseeko.c: Likewise.
2010         * libio/fseeko64.c: Likewise.
2011         * libio/ftello.c: Likewise.
2012         * libio/ftello64.c: Likewise.
2013         * libio/getc.c: Likewise.
2014         * libio/getchar.c: Likewise.
2015         * libio/iofclose.c: Likewise.
2016         * libio/iofflush.c: Likewise.
2017         * libio/iofgetpos.c: Likewise.
2018         * libio/iofgetpos64.c: Likewise.
2019         * libio/iofgets.c: Likewise.
2020         * libio/iofputs.c: Likewise.
2021         * libio/iofread.c: Likewise.
2022         * libio/iofsetpos.c: Likewise.
2023         * libio/iofsetpos64.c: Likewise.
2024         * libio/ioftell.c: Likewise.
2025         * libio/iofwrite.c: Likewise.
2026         * libio/iogetdelim.c: Likewise.
2027         * libio/iogets.c: Likewise.
2028         * libio/ioputs.c: Likewise.
2029         * libio/ioseekoff.c: Likewise.
2030         * libio/ioseekpos.c: Likewise.
2031         * libio/iosetbuffer.c: Likewise.
2032         * libio/iosetvbuf.c: Likewise.
2033         * libio/ioungetc.c: Likewise.
2034         * libio/iovsprintf.c: Likewise.
2035         * libio/iovsscanf.c: Likewise.
2036         * libio/oldfileops.c: Likewise.
2037         * libio/oldiofclose.c: Likewise.
2038         * libio/peekc.c: Likewise.
2039         * libio/putc.c: Likewise.
2040         * libio/putchar.c: Likewise.
2041         * libio/rewind.c: Likewise.
2043         * malloc/mtrace.c: Pretty print.
2045         * misc/mntent.h (struct mentent): Make string elements const char *.
2047         * nis/nis_printf.c: Optimize I/O a little bit.
2049         * signal/Makefile (distribute): Add sigset-cvt-mask.h.
2050         * sysdeps/generic/sigset-cvt-mask.h: New file.
2051         * sysdeps/unix/sysv/linux/sigset-cvt-mask.h: New file.
2052         * sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h: New file.
2053         * sysdeps/posix/sigvec.c: Rewrite the use definitions from
2054         sigset-cvt-mask.h to do the dirty work.
2055         Patches by Joe Keane.
2057         * sysdeps/posix/mkstemp.c: Save one precious byte of rodata.
2059         * sysdeps/unix/sysv/linux/i386/sysdep.h: Rewrite PSEUDO etc to make
2060         syscall_error label in case of PIC anonymous.
2061         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise.
2062         * sysdeps/unix/sysv/linux/i386/clone.S: Adapt for this change.
2063         * sysdeps/unix/sysv/linux/i386/mmap.S: Adapt for this change.
2064         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Adapt for this change.
2065         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Adapt for this change.
2066         * sysdeps/unix/sysv/linux/i386/socket.S: Adapt for this change.
2067         * sysdeps/unix/sysv/linux/i386/syscall.S: Adapt for this change.
2069 1998-06-05  Ulrich Drepper  <drepper@cygnus.com>
2071         * sunrpc/xdr_rec.c (xdrrec_create): Add cast for *_ops array since
2072         we cannot declare the struct element as const.
2073         * sunrpc/xdr_mem.c (xdrmem_create): Likewise.
2074         * sunrpc/xdr_stdio.c (xdrstdio_create): Likewise.
2076 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2078         * manual/Makefile: Include ../Makeconfig earlier.
2079         (MAKEINFO, TEXI2DVI): Use defaults if ../Makeconfig does not
2080         exist.
2081         (dir-add.texinfo): Remove useless $(SHELL).
2083 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2085         * Makefile (others): Build programs from install-bin.
2086         * configure.in: Modify config.make only if is was just created and
2087         move that command to second argument of AC_OUTPUT.  Add command to
2088         set config_vars in config.status.
2090 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2092         * malloc/Makefile (address-width): Fix conditional.
2094 1998-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2096         * libc.map: Add fattach, fdetach, getmsg, getpmsg, makecontext,
2097         putmsg, putpmsg, scalbln, scalblnf, scalblnl, strtoimax,
2098         strtoumax, swapcontext, waitid, wcsnlen, wcstoimax, wcstoumax with
2099         version GLIBC_2.1.
2101 1998-06-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2103         * manual/lang.texi (Range of Type): Change @end table->@end vtable.
2104         (Floating Point Parameters): Likewise.
2106 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2108         * hurd/Makefile (routines): Add cthreads.
2110 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2112         * login/login.c (login): Let pututline take care of finding the
2113         positin to insert the UTMP entry.  This corrects a bug where ssh
2114         was not reusing UTMP entries marked as DEAD_PROCESS.
2115         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
2117 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2119         * login/Makefile (tests): New variable, add tst-utmp and
2120         tst-utmpx.
2121         * login/tst-utmp.c: New file.
2122         * login/tst-utmpx.c: New file.
2124 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2126         * sysdeps/mach/hurd/errlist.c (sys_nerr, _sys_nerr): Make weak
2127         aliases for _hurd_nerr, for programs that don't use sys_errlist,
2128         but need sys_err.
2130 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2132         * sysdeps/generic/updwtmpx.c: Rename function to updwtmpx.
2133         * libc.map: Add updwtmpx and utmpxname to GLIBC_2.1.
2135 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2137         * sysdeps/mach/hurd/read.c: Rename function to __libc_read and
2138         make __read a weak alias.  Use ANSI-style function definition.
2139         * sysdeps/mach/hurd/write.c: Likewise.
2141 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2143         * sysdeps/mach/hurd/err_hurd.sub: Use _hurd_errlist instead of
2144         _sys_errlist.
2146 1998-05-30  Mark Kettenis  <kettenis@phys.uva.nl>
2148         * sysdeps/mach/hurd/Makefile ($(objpfx)librtld.os):
2149         Renamed from librtld.so.
2151 1998-06-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2153         * libc.map: Remove _IO_getline_info which was erroneously
2154         introduced in section GLIBC_2.0.
2155         Noticed by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
2157 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2159         * sysdeps/generic/socket.c (__socket): Renamed from socket, and
2160         created a weak alias.
2161         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
2163 1998-05-31  Gordon Matzigkeit  <gord@profitpress.com>
2165         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Rename from old
2166         ftruncate function, and create a weak alias to ftruncate.
2168 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2170         * grp/fgetgrent_r.c: Use &errno instead of __errno_location ().
2171         * inet/getnetgrent_r.c: Likewise.
2172         * nss/getXXbyYY_r.c: Likewise.
2173         * nss/getXXent_r.c: Likewise.
2174         * pwd/fgetpwent_r.c: Likewise.
2175         * shadow/sgetspent_r.c: Likewise.
2176         * shadow/fgetspent_r.c: Likewise.
2177         * sunrpc/publickey.c: Likewise.
2179 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2181         * hurd/libhurduser.map: New file.
2182         * mach/libmachuser.map: Likewise.
2184         * libc.map: Add Hurd-specific functions to version 2.1.
2185         Add __flshfp and __fillbf.
2187 1998-05-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2189         * manual/signal.texi (Basic Signal Handling): Fix typo.
2190         * manual/errno.texi (Error Codes): Likewise.
2192 1998-06-02  Ulrich Drepper  <drepper@cygnus.com>
2194         * sysdeps/unix/sysv/linux/netipx/ipx.h: Include <bits/sockaddr.h>
2195         instead of <sys/socket.h>.
2196         Patch by NIIBE Yutaka <gniibe@mri.co.jp>
2198         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (DL_FIND_ARG_COMPONENTS):
2199         Finally make it working.
2200         Patch by Mark Hatle <fray@kernel.crashing.org>.
2202 1998-03-22  Paul Eggert  <eggert@twinsun.com>
2204         * posix/regex.c: Include <wchar.h> before <wctype.h>, to work around
2205         a Solaris 2.6 bug.
2207 1998-05-30  Philip Blundell  <Philip.Blundell@pobox.com>
2209         * stdlib/gmp-impl.h: Support strange mixed-endian double format
2210         used by ARM systems.
2211         * sysdeps/arm/fpu/bits/fenv.h (FE_EXCEPTION_SHIFT): Rename to
2212         FE_EXCEPT_SHIFT.
2213         * sysdeps/arm/bits/fenv.h: Deleted.
2214         * sysdeps/arm/fpu/ieee754.h: New file.
2215         * sysdeps/arm/gmp-mparam.h: New file.
2216         * stdlib/longlong.h (umul_ppmm): Temporarily disable broken ARM
2217         implementation.
2219 1998-06-01  Ulrich Drepper  <drepper@cygnus.com>
2221         * sunrpc/rpc/xdr.h (struct XDR): Don't mark xdr_ops element as const.
2223         * sysdeps/i386/fpu/bits/mathinline.h: Use ((__unused__)) instead
2224         of ((unused)).  Reported by Bruno Haible.
2226 1998-05-31  Philip Blundell  <philb@gnu.org>
2228         * sysdeps/unix/sysv/linux/arm/sysdep.S: Use C_SYMBOL_NAME when
2229         referring to errno and _errno.
2231         * sysdeps/arm/fpu/feholdexcpt.c: New file.
2233         * sysdeps/i386/fpu_control.h: Fix typo.
2235         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Remove floating-point support.
2236         (_JMPBUF_UNWINDS): Added.
2237         * sysdeps/arm/fpu/bits/setjmp.h: New file.
2239 1998-05-25  Gordon Matzigkeit  <gord@profitpress.com>
2241         * sysdeps/mach/hurd/Makefile: Use the `before-compile' target in
2242         order to build header files, not `generated'.
2244         * Rules (before-compile): New target which depends on all
2245         $(before-compile) files.
2247 1998-06-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2249         * nis/nis_call.c: Make directory search faster.
2251         * nis/nis_callback.c: Insert public key of user in callback data.
2253         * nis/nis_clone_obj.c: Make size from type u_long, not u_int.
2255         * nis/nis_creategroup.c: Check for NULL pointer, fill in more fields.
2257         * nis/nis_findserv.c: Rename __pmap_getport to __pmap_getnisport.
2259         * nis/nis_intern.h: Remove duplicated prototype.
2261 1998-06-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2263         * sunrpc/auth_des.c: Move prototypes from here ...
2264         * sunrpc/rpc/auth.h: ... to here.
2266         * sunrpc/clnt_tcp.c: Add more control flags.
2267         * sunrpc/clnt_udp.c: Likewise.
2269         * sunrpc/netname.c (host2netname): Remove prefixing dot from
2270         domainname.
2272         * sunrpc/rpc/clnt.h: Document, which control flags are not
2273         implementable.
2275         * sunrpc/svcauth_des.c: Use key_decryptsession_pk to avoid deadlock.
2277 1998-05-29  Ulrich Drepper  <drepper@cygnus.com>
2279         * locale/loadlocale.c (_nl_load_locale): Don't allow too small
2280         files crash the program.
2282         * io/Makefile: Don't run ftwtest-sh if cross-compiling.
2283         * string/Makefile: Don't run test on tst-svc.out if cross-compiling.
2284         Reported by Deborah Wallach <kerr@pa.dec.com>.
2286 1998-05-28 00:53  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2288         * glibcbug.in: Send to bugs@gnu or libc-alpha@cygnus depending
2289         on whether this is a stable release or not (keeps snapshot bug
2290         reports out of the database).
2292         * include/libc-symbols.h: Use __ASSEMBLER__ test macro not ASSEMBLER.
2293         * sysdeps/arm/sysdep.h: Likewise.
2294         * sysdeps/i386/sysdep.h: Likewise.
2295         * sysdeps/m68k/sysdep.h: Likewise.
2296         * sysdeps/mach/mips/sysdep.h: Likewise.
2297         * sysdeps/mach/sys/reboot.h: Likewise.
2298         * sysdeps/mach/sysdep.h: Likewise.
2299         * sysdeps/unix/alpha/sysdep.h: Likewise.
2300         * sysdeps/unix/bsd/hp/m68k/sysdep.h: Likewise.
2301         * sysdeps/unix/bsd/osf/alpha/sysdep.h: Likewise.
2302         * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise.
2303         * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
2304         * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
2305         * sysdeps/unix/bsd/vax/sysdep.h: Likewise.
2306         * sysdeps/unix/i386/sysdep.h: Likewise.
2307         * sysdeps/unix/mips/sysdep.h: Likewise.
2308         * sysdeps/unix/sparc/sysdep.h: Likewise.
2309         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise.
2310         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2311         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2312         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2313         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
2314         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2315         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2316         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise.
2318 1998-05-27  Mark Kettenis  <kettenis@phys.uva.nl>
2320         * mach/Machrules: Use $(move-if-change).
2322 1998-05-27  Mark Kettenis  <kettenis@phys.uva.nl>
2324         * Makeconfig [elf=yes] (+interp): New variable, set to interp.os.
2325         * Makerules (lib%.so): Depend on $(+interp).
2326         (libc.so): Add interp.os to list of dependencies.
2327         (interp-obj): Remove variable.
2328         * mach/Machrules (+interp): Define to empty since libhurduser and
2329         libmachuser don't need to have the interpreter set.
2331 1998-05-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2333         * resolv/res_send.c: Security fixes from bind 4.9.7-REL.
2335         * resolv/gethnamaddr.c: Likewise.
2337         * resolv/res_comp.c: Likewise.
2339 1998-05-28  Mark Kettenis  <kettenis@phys.uva.nl>
2341         * sysdeps/mach/hurd/wait4.c (__wait4): Use ANSI-style definition
2342         so that transparent union works.
2344 1998-05-29 08:58  Ulrich Drepper  <drepper@cygnus.com>
2346         * manual/texinfo.tex: Update to last available version.
2348         * timezone/africa: Update from tzdata1998e.
2349         * timezone/antarctica: Likewise.
2350         * timezone/asia: Likewise.
2351         * timezone/australasia: Likewise.
2352         * timezone/europe: Likewise.
2353         * timezone/iso3166.tab: Likewise.
2354         * timezone/northamerica: Likewise.
2355         * timezone/tzselect.ksh: Likewise.
2356         * timezone/zone.tab: Likewise.
2358 1998-05-27  Ulrich Drepper  <drepper@cygnus.com>
2360         * sysdeps/unix/sysv/linux/i386/chown.c: Fix comment.
2361         Reported by Matt McLean <keys@brio.yikes.com>.
2363 1998-05-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2365         * catgets/Makefile ($(objpfx)de.cat): Renamed from
2366         do-gencat-test.  Use automatic variables.
2367         ($(objpfx)de.msg): Fix reference to po file.
2369 1998-05-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2371         * Makeconfig ($(common-objpfx)gnu/lib-names.stmp): Use
2372         $(move-if-change).
2374 1998-05-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2376         * intl/dcgettext.c: Fix typo.
2378 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2380         * configure.in: Allow more make versions e.g 3.76.90.
2382 1998-05-25  Ulrich Drepper  <drepper@cygnus.com>
2384         * Makeconfig (rpath-link): Find libc.so.6 in $(common-objdir).
2386         * malloc/thread-m.h: Use __mutex_init function in mutex_init macro
2387         for Hurd.  Patch by Mark Kettenis.
2389 1998-04-18  Gordon Matzigkeit  <gord@profitpress.com>
2391          * mach/Machrules (+preinit, +postinit): Define these variables to
2392          empty because libhurduser and libmachuser don't need startup
2393          files.
2395 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
2397          * sysdeps/mach/hurd/errlist.c (ERR_REMAP): Use err_get_code
2398          instead of a raw bitmask.
2400 1998-05-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2402         * Makeconfig (rpath-dirs): New variable.
2403         (rpath-link): Use it.
2404         (nssobjdir, nisobjdir, rtobjdir, resolvobjdir): Removed.
2405         (db-objpfx): Removed.
2406         * crypt/Makefile: Augment rpath-dirs instead of rpath-link.
2407         * md5-crypt/Makefile: Likewise.
2408         * sysdeps/mach/hurd/Makefile: Likewise.
2410         * Makeconfig (move-if-change): New variable.
2411         * iconvdata/Makefile (move-if-change): Removed.
2412         * manual/Makefile (move-if-change): Set only if undefined, use
2413         local script by default.
2414         * sunrpc/Makefile (move-if-change): Removed.
2415         * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
2416         $(move-if-change).
2418          * elf/Makefile: Remove all references to obsolete file
2419          $(objpfx)rtldtbl.h.
2420          ($(objpfx)trusted-dirs.h): Use stamp file.  Cleanup command.
2422 1998-05-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2424         * elf/dl-close.c (_dl_close): Add debugging message.
2426 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2428         * csu/Makefile ($(objpfx)version-info.h): Correct sed expression
2429         to get Linux version and not gcc version.
2430         Reported by Alan Curry <pacman@cqc.com>.
2432 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2434         * sysdeps/generic/_strerror.c (__strerror_r): Don't return NULL
2435         pointers - return unknown error message instead.
2436         Reported by Alan Curry <pacman@cqc.com>.
2438 1998-05-24  Mark Kettenis  <kettenis@phys.uva.nl>
2440         * iconvdata/Makefile (modules, sed-generated-headers,
2441         perl-generated-headers): ibm424.h is perl generated.  Make
2442         necessary modifications to compile without perl.
2444 1998-05-24  Mark Kettenis  <kettenis@phys.uva.nl>
2446         * hesiod/hesiod.c (read_config_file): Fix typo.
2448 1998-05-24  Ulrich Drepper  <drepper@cygnus.com>
2450         * version.h: Bump VERSION.
2452         * csu/Makefile (distribute): Add munch-tmpl.c.
2454 1998-05-23  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2456         * nis/nis_defaults.c: Fix buffer problems and typos.
2458 1998-05-23 08:42  Ulrich Drepper  <drepper@cygnus.com>
2460         * intl/dcgettext.c: Don't use any alloca hacks if C_ALLOCA is defined.
2461         Patch by Fred Fish.
2463 1998-05-22  Ulrich Drepper  <drepper@cygnus.com>
2465         * stdlib/random_r.c (__random_r): Rewrite last patch to fix buffer
2466         overwriting bugs.
2468         * libio/strops.c (_IO_str_underflow): Read newly available
2469         character from buffer as unsigned.
2471 1998-05-22 10:56  Ulrich Drepper  <drepper@cygnus.com>
2473         * catgets/Makefile (distribute): Add xopen-msg.h.
2474         (generated): Add de.msg and de.cat.
2475         (tests): Add do-gencat-test.
2476         (do-gencat-test): New goal.  Run gencat on a generated msg file.
2477         * catgets/xopen-msg.h: New file.
2479 1998-05-22  Ulrich Drepper  <drepper@cygnus.com>
2481         * catgets/open_catalog.c (__open_catalog): Use byteswap.h
2482         functions.  Optimize filename creation a bit.
2484 1998-05-22 09:29  Ulrich Drepper  <drepper@cygnus.com>
2486         * stdlib/random_r.c: Help gcc to optimize the code.
2487         Patch by Joe Keane <jgk@jgk.org>.
2489 1998-05-21  Ulrich Drepper  <drepper@cygnus.com>
2491         * iconv/iconv_prog.c (print_known_names): Use strverscmp in all
2492         tsearch calls.
2494 1998-05-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2496         * timezone/test-tz.c: The test with TZ=UTC0 seems to work - enable
2497         it.
2499 1998-05-21 15:27  Ulrich Drepper  <drepper@cygnus.com>
2501         * wcsmbs/wcsnrtombs.c: Correct computation of result.
2502         * wcsmbs/wcsrtombs.c: Likewise.
2504         * wcsmbs/Makefile (tests): Add wcsmbs-tst1.c.
2505         * wcsmbs/wcsmbs-tst1.c: New file.
2507         * iconv/loop.c (COUNT_CONVERTED): Correct computation.
2509         * locale/C-ctype.c (_nl_C_LC_CTYPE): Define MB_CUR_MAX for C locale
2510         as 1.
2512         * locale/setlocale.c: Don't make _nl_current_* and _nl_C_* references
2513         weak.
2515 1998-05-21  Philip Blundell  <philb@gnu.org>
2517         * sysdeps/arm/fpu_control.h: Replace stub file with real
2518         implementation.
2519         * sysdeps/arm/fpu/bits/fenv.h: New file.
2520         * sysdeps/arm/fpu/fesetround.c: Likewise.
2521         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
2522         * sysdeps/arm/fpu/fsetexcptflag.c: Likewise.
2523         * sysdeps/arm/fpu/ftestexcpt.c: Likewise.
2524         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
2525         * sysdeps/arm/fpu/fegetenv.c: Likewise.
2526         * sysdeps/arm/fpu/fesetenv.c: Likewise.
2528 1998-05-21 16:34  Richard Henderson  <rth@cygnus.com>
2530         * elf/dl-load.c (_dl_map_object_from_fd): Get file header with
2531         read instead of mmap.
2533 1998-05-21  8:16  Richard Henderson  <rth@cygnus.com>
2535         * sysdeps/unix/sysv/linux/alpha/glob.c: Include sysdeps/generic/glob.c
2536         directly instead of include_next.  Add missing semicolons.
2537         * sysdeps/unix/sysv/linux/alpha/oldglob.c: Include sys/types.h.
2538         Add missing semicolons.
2540 1998-05-21  Ulrich Drepper  <drepper@cygnus.com>
2542         * iconvdata/gconv-modules: Add more aliases to please java
2543         environments.
2545 1998-05-20  Ulrich Drepper  <drepper@cygnus.com>
2547         * stdio-common/vfprintf.c (process_arg): Fix typo.
2549         * iconvdata/TESTS: New tests for EUC-KR.
2551         * iconvdata/Makefile ($(objpfx)iconv-test.out): Also depend on TESTS.
2552         * iconvdata/testdata/EUC-KR: New file.
2554 1998-05-20 07:26  H.J. Lu  <hjl@gnu.org>
2556         * math/libm-test.c (hypot_test): Fix a typo.
2558 1998-05-20  Ulrich Drepper  <drepper@cygnus.com>
2560         * stdio-common/vfprintf.c: When precision is specified for %ls or
2561         %S handle it correctly.
2563 1998-05-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2565         * sysdeps/unix/bsd/vax/vfork.S: Missed double occurences of "the
2566         the" in one line - fixed it.
2567         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
2568         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
2569         * posix/unistd.h: Likewise
2571 1998-05-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2573         * Makeconfig (rpath-link): Add resolvobjdir.
2574         (resolvobjdir): New variable.
2575         Reported by Peter Breitenlohner <peb@mppmu.mpg.de> [fixes PR libc/633].
2577 1998-05-20 09:36  Ulrich Drepper  <drepper@cygnus.com>
2579         * elf/dl-close.c: Call shared object terminators at the right time.
2580         Patch by Philippe Troin <phil@fifi.org>.
2582 1998-05-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2584         * Make-dist (+tsrcs): Also add *.map for every member of
2585         $(extra-libs).
2587         * Makefile (distribute): Don't distribute scripts/printsources and
2588         scripts/=__ify.  Distribute FAQ.in.
2589         (rpm/%): Don't pass subdirs to sub-make.
2591         * timezone/Makefile: Protect inclusion of z.* by $(avoid-generated)
2592         instead of $(no_deps).
2594 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2596         * sysdeps/generic/setenv.c: Protect against GNU C extension.
2597         (KNOWN_VALUE, STORE_VALUE): Do it right.
2598         (setenv): Remove unused variable.
2600 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2602         * timezone/Makefile (tz-cflags): Define TM_GMTOFF and TM_ZONE.
2603         (CFLAGS-zdump.c): Add $(tz-cflags).
2605         * timezone/zdump.c (abbr): Use TM_ZONE if defined.  Add const to
2606         return type.
2608 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2610         * time/tzfile.c (__tzfile_compute): Undo last change.  Instead
2611         take struct tm parameter and set tm_isdst, tm_zone and tm_offset
2612         if use_localtime.
2613         * time/tzset.c: Update prototype of __tzfile_compute.
2614         (__tz_convert): Pass tp to __tzfile_compute.  Don't set tm_isdst,
2615         tm_zone and tm_offset here if __use_tzfile.
2617 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2619         * Makerules: Install libc.a even if there are no object file.
2621 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2623         * Makerules (do-makelib): Don't force creating library from
2624         scratch, which is faster and gets correct behaviour if $(subdirs)
2625         is incomplete.
2627 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2629         * Makerules (do-stamp): Make it work when building in source
2630         directory.
2632 1998-05-20 00:10  Ulrich Drepper  <drepper@cygnus.com>
2634         * elf/dl-load.c: Rename option and variable from ignore-rpath to
2635         inhibit-rpath.
2636         * elf/dl-support.c: Likewise.
2637         * elf/ldsodefs.h: Likewise.
2638         * elf/rtld.c: Likewise.
2639         * iconvdata/run-iconv-test.sh: Likewise.
2641 1998-05-19 23:08  Ulrich Drepper  <drepper@cygnus.com>
2643         * elf/rtld.c: Recognize --ignore-rpath argument and set _dl_ignore_path
2644         variable using the value.
2645         * elf/ldsodefs.h: Declare _dl_ignore_path.
2646         * elf/dl-load.c (decompose_rpath): Compare name of handled shared
2647         object against list in _dl_ignore_path and ignore RPATH if on the list.
2648         * elf/dl-support.c: Define _dl_ignore_path for static binaries.
2649         * iconvdata/run-iconv-test.sh: Call ld.so with --ignore-rpath parameter
2650         to make sure we get the correct helper libraries loaded.
2652         * elf/dl-load.c (decompose_rpath): Remove `room' parameter.  Use
2653         "RPATH" string in call to fillin_rpath instead.
2654         (_dl_init_paths): Remove this parameter from call to decompose_rpath.
2656 1998-05-19  Ulrich Drepper  <drepper@cygnus.com>
2658         * sysdeps/i386/i486/bits/string.h (__strstr_g): Initialize %edx
2659         correctly.  Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
2661 1998-05-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2663         * manual/terminal.texi (I/O Queues): Fix typo.
2665         * manual/stdio.texi (Closing Streams): Fix grammar.
2667         * manual/arith.texi (Absolute Value): Correct typo.
2668         Patches by Oskar Liljeblad <osk@hem.passagen.se>. [PR libc/630]
2670 1998-05-19 15:58  Ulrich Drepper  <drepper@cygnus.com>
2672         * elf/rtld.c (process_envvars): Fix typo.  Don't handle
2673         LD_PROFILE_OUTPUT in SUID binaries.
2674         * intl/dcgettext.c: In SUID binaries don't let language part of
2675         locale value contain path elements.
2676         * intl/explodename.h: Define new function _nl_find_language.
2677         * intl/loadinfo.h: Declare _nl_find_language.
2678         * locale/findlocale.c (_nl_find_locale): Use _nl_find_locale to get
2679         language part it drop the value is path element is contained.
2681         * locale/setlocale.c: Fix typo.
2683 1998-05-18  Philip Blundell  <Philip.Blundell@pobox.com>
2685         * sysdeps/unix/sysv/linux/arm/socket.S: Correct handling of arguments.
2687         * sysdeps/arm/strlen.S: Support both big and little endian processors.
2689         * sysdeps/arm/sysdep.h (ALIGNARG): ELF .align directive uses a
2690         log, not a byte-count.
2692         * sysdeps/unix/arm/sysdep.S (syscall_error): Use C_SYMBOL_NAME for
2693         a.out compatibility.
2695 1998-05-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2697         * sysdeps/unix/bsd/vax/vfork.S: Fix the "the the" problems.
2698         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
2699         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
2700         * posix/unistd.h: Likewise.
2701         * math/math.h: Likewise.
2702         * manual/users.texi (Manipulating the Database): Likewise.
2703         * manual/signal.texi (Job Control Signals): Likewise.
2704         * manual/message.texi (The gencat program): Likewise.
2705         * manual/filesys.texi (Hard Links): Likewise.
2706         * manual/math.texi (SVID Random): Likewise.
2707         * manual/llio.texi (Waiting for I/O): Likewise.
2708         * manual/io.texi (File Name Errors): Likewise.
2709         * manual/conf.texi (String Parameters): Likewise.
2710         * manual/arith.texi (Infinity): Likewise.
2711         * malloc/malloc.c: Likewise.
2712         * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
2713         * csu/Makefile: Likewise.
2715 1998-05-19 12:16  Ulrich Drepper  <drepper@cygnus.com>
2717         * manual/memory.texi: Add back accidently removed line.
2719 1998-04-25  Mark Kettenis  <kettenis@phys.uva.nl>
2721         * sysdeps/generic/utmp_file.c (TIMEOUT): New macro.
2722         (timeout_handler): New function.
2723         (LOCK_FILE, UNLOCK_FILE): New macros.
2724         Implement file locking with timeout.
2725         (getutent_r_file, internal_getut_r, getutline_r_file,
2726         pututline_file, updwtmp_file): Use LOCK_FILE and UNLOCK_FILE for
2727         locking.
2729 1998-05-18 11:38  Ulrich Drepper  <drepper@cygnus.com>
2731         * iconvdata/run-iconv-test.sh: Extend library-path by iconvdata
2732         directory.
2734 1998-05-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2736         * rpm/Makefile: Delete inclusion of version.mk.
2738 1998-05-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2740         * libc.map: Add all libio functions needed libstdc++ with version
2741         2.0, sort entries.
2743 1998-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2745         * iconvdata/Makefile (generated): Add *.stmp files.
2747 1998-05-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2749         * timezone/Makefile (testdata, build-testdata): New variables, use
2750         them in rules for test data.
2751         ($(objpfx)tst-timezone.out): Depend on test data.
2752         ($(testdata)/Europe/Berlin, $(testdata)/Universal,
2753         $(testdata)/Australia/Melbourne, $(testdata)/America/Sao_Paulo):
2754         New rules to build test data.
2755         (tst-timezone-ENV): Pass TZDIR to point to test data.
2757 1998-05-18  Ulrich Drepper  <drepper@cygnus.com>
2759         * iconvdata/TESTS: ISO-2022-KR has not really ASCII as a subset
2760         (the designation sequence is disturbing).
2762 1998-05-17  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2764         * sunrpc/svc_tcp.c: Add FreeBSD DoS patch.
2765         * sunrpc/xdr_rec.c: Likewise.
2767 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
2769         * posix/Makefile (tests): Add runptests.
2770         (distribute): Add PTESTS, PTESTS2C.sed, and ptestcases.h.
2771         (before-compile): Add ptestcases.h.
2772         (ptestscases.h): Add rule to generate from PTESTS.
2773         * posix/runptests.c: New file.
2774         * posix/PTESTS: New file.
2775         * posix/PTESTS2C.sed: New file.
2777 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
2779         * iconv/loop.c: Let user add code to use and set paramaters.
2781         * iconvdata/iso-2022-kr.c: Correct to-loop.
2783         * iconvdata/iso-2022-kr.c (PREPARE_LOOP): Use correct variable to
2784         point to output buffer.
2786         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Use correct value to find
2787         hanja.
2789         * iconvdata/TESTS: Add ISO-2022-KR test.
2790         * iconvdata/testdata/ISO-2022-KR: New file.
2792 1998-05-15 21:07  Ulrich Drepper  <drepper@cygnus.com>
2794         * iconv/gconv.h (gconv_step_data): Add new fields invocation_counter
2795         and internal_use.
2796         * iconv/gconv_open.c (__gconv_open): Initialize invocation_counter
2797         and internal_use.
2798         * wcsmbs/btowc.c: Likewise.
2799         * wcsmbs/mbrtowcs.c: Likewise.
2800         * wcsmbs/mbsnrtowcs.c: Likewise.
2801         * wcsmbs/mbsrtowcs.c: Likewise.
2802         * wcsmbs/wcrtomb.c: Likewise.
2803         * wcsmbs/wcsnrtombs.c: Likewise.
2804         * wcsmbs/wcsrtombs.c: Likewise.
2805         * wcsmbs/wctob.c: Likewise.
2806         * iconv/skeleton.c: Increment invocation_counter.
2807         * iconvdata/iso-2022-kr.c: When used in iconv() emit designator
2808         sequence first.
2810         * iconv/skeleton.c (FROM_DIRECTION): Completely embrace expression.
2811         * iconvdata/iso-2022-jp.c: Likewise.
2812         * iconvdata/iso646.c: Likewise.
2814         * iconvdata/Makefile: Correct rpath definition for ISO-2022-KR.
2816 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
2818         * iconv/gconv_db.c (derivation_lookup): Use __tfind correctly.
2820         * sysdeps/generic/setenv.c (setenv): Remove optimization for
2821         overwriting existing values if it fits.
2823 1998-05-15 14:36  Ulrich Drepper  <drepper@cygnus.com>
2825         * posix/wordexp-test.c: Avoid duplicate messages.
2827         * sysdeps/generic/setenv.c: Use __tfind and __tsearch, not tfind and
2828         tsearch.  Correctly interpret values returned by those functions.
2829         (unsetenv): Store pointer to string, not pointer to string pointer.
2831         * time/tzfile.c (__tzfile_compute): Take new arguments.  Store
2832         DST information and offset in them.
2833         * time/tzset.c (__tz_convert): Pass extra parameters to
2834         __tzfile_compute.  Compute equivalent values for use of tz_rules.
2836 1998-05-15 00:49:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2838         * iconvdata/Makefile (gen-8bit-table): Use move-if-change and
2839         stamp files to avoid unnecessary recompilation.
2840         (gen-8bit-gap-table): Likewise.
2841         (move-if-change): New variable.
2842         (all generated .h rules): Change to be .stmp rules.
2843         (%.h): New rule; depend on %.stmp; no commands.
2844         (distribute): Add gen-8bit.sh, gen-8bit-gap.sh,
2845         gen-8bit-gap-1.sh.
2847 1998-05-15 01:09  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2849         * Makerules (libc-map): Deleted.
2850         (load-map-file): Set to the appropriate compiler switch, not
2851         just the file name.  If libfoo-map is not set, look for a
2852         libfoo.map in the current directory and $(..).
2853         (map-file): New variable, contains just the mapfile name.
2854         (build-shlib): Adjust for new value of load-map-file.
2855         (libc.so): Correct dependencies.
2857         * extra-lib.mk: Correct shlib dependencies since libfoo-map
2858         may not be set anymore.
2860         * elf/Makefile: Set ld-map to $(..)libc.map, not $(libc-map).
2861         Delete libdl-map.  Tweak ld.so link rule to work with changed
2862         variable settings in Makerules.
2863         * iconvdata/Makefile: Tweak build-module to work with changed
2864         variable settings in Makerules.
2866         * db/Makefile: Delete libdb-map.
2867         * hesiod/Makefile: Delete libnss_hesiod-map.
2868         * linuxthreads/Makefile: Delete libpthread-map.
2869         * locale/Makefile: Delete libBrokenLocale-map.
2870         * login/Makefile: Delete libutil-map.
2871         * math/Makefile: Delete libm-map.
2872         * md5-crypt/Makefile: Delete libcrypt-map.
2873         * nis/Makefile: Delete libnsl-map, libnss_nis-map,
2874         libnss_nisplus-map, and libnss_compat-map.
2875         * nss/Makefile: Delete libnss_files-map, libnss_db-map, and
2876         libnss_ldap-map.
2877         * resolv/Makefile: Delete libresolv-map and libnss_dns-map.
2878         * rt/Makefile: Delete librt-map.
2880 1998-05-15 01:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2882         * configure.in: Instead of substituting `yes' or `no' for whether
2883         --no-whole-archive is available, set @no_whole_archive@ to the
2884         appropriate gcc switch or the empty string.  Likewise for
2885         -fno-exceptions.
2886         * config.make.in: Replace have-no-whole-archive with
2887         no-whole-archive and have-no-exceptions with no-exceptions.
2888         * Makerules: Delete stanzas setting no-whole-archive and
2889         no-exceptions.
2891         * sunrpc/Makefile: Use move-if-change to update generated .h
2892         and .c files.
2894 1998-05-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2896         * wcsmbs/wcsmbsload.c (extract_charset_name): Use strcspn instead
2897         of strchr loop.
2899 1998-05-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2901         * time/tzfile.c (__tzfile_read): Remove unused variable info.
2902         (__tzfile_compute): Likewise.
2904 1998-05-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2906         * sysdeps/unix/sysv/linux/bits/socket.h (AF_SNA,PF_SNA): Add new
2907         defines from Linux 2.1.102.
2909 1998-05-14 23:14  Ulrich Drepper  <drepper@cygnus.com>
2911         * locale/programs/ld-ctype.c: Write correct mb_cur_max value.
2913 1998-05-14 13:25  Ulrich Drepper  <drepper@cygnus.com>
2915         * inet/netinet/in.h: Add defines for multicast.
2916         Reported by Jeremy Hall <jhall@UU.NET>.
2918         * stdlib/stdlib.h: Add prototypes for __setenv and __unsetenv.
2919         * sysdeps/generic/putenv.c: Use __setenv and __unsetenv, not setenv
2920         and unsetenv.  Optimize _LIBC case.
2921         * sysdeps/generic/setenv.c: Prevent unnecessary memory leaks.
2922         Define functions with leading __.
2924         * time/tzfile.c: Correct handling of global variables daylight,
2925         timezone, and tzname.
2926         * time/tzset.c: Likewise.
2927         * timezone/Makefile (tests): Add tst-timezone.
2928         * timezone/tst-timezone.c: New file.
2930 1998-05-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
2932         * timezone/asia: Update from tzdata1998d.
2933         * timezone/australasia: Likewise.
2934         * timezone/europe: Likewise.
2936 1998-05-13  Ulrich Drepper  <drepper@cygnus.com>
2938         * string/string.h: Don't use the optimized versions for the string
2939         functions if optimizing for space.
2941         * stdlib/tst-strtod.c: Add test for -0.0.
2943         * io/ftwtest-sh: Prevent tests from being run by root.
2945         * wcsmbs/wcsmbsload.c (extract_charset_name): Fix silly bugs in
2946         last addition.  Patch by wkpark@chem.skku.ac.kr.
2948 1998-05-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2950         * iconvdata/8bit-gap.c (BODY): Don't fall off the end of the gap
2951         table.
2953 1998-05-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2955         * iconvdata/gen-8bit.sh: New file.
2956         * iconvdata/gen-8bit-gap.sh: New file.
2957         * iconvdata/gen-8bit-gap-1.sh: New file.
2958         * iconvdata/Makefile (generate-8bit-table): Use shell script
2959         instead of writing the commands directly.
2960         (generate-8bit-gap-table): Likewise.
2961         ($(objpfx)iso8859-7jp.h): Likewise.
2962         (generated headers): Depend on shell script instead of Makefile.
2963         (before-compile): Add $(perl-generated-headers) only if perl is
2964         available.
2965         (headers): Depend on $(perl-generated-headers) only if perl is
2966         available.
2967         (sed-generated-headers): Remove iso8859-7jp.h.
2969 1998-05-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2971         * csu/Makefile ($(objpfx)abi-tag.h): Double $ in command.  Clean up.
2972         (/): Removed.
2974 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
2976         * wcsmbs/wcsmbsload.c (extract_charset_name): Pass correctly
2977         formed charset names to getfct.  Let user override charset
2978         selection by mention charset in locale name.
2980 1998-05-12 12:15  Ulrich Drepper  <drepper@cygnus.com>
2982         * posix/glob.c: Move to ...
2983         * sysdeps/generic/glob.c: ...here.
2984         * posix/glob.h (glob_t): Use correct types for gl_pathc and gl_offs
2985         elements.
2986         * sysdeps/unix/sysv/linux/alpha/glob.c: New file.
2987         * sysdeps/unix/sysv/linux/alpha/oldglob.c: New file.
2988         * sysdeps/unix/sysv/linux/alpha/Dist: Add oldglob.c.
2989         * sysdeps/unix/sysv/linux/alpha/Makefile: Compile oldglob in posix
2990         subdir.
2991         * libc.map [GLIBC_2.1]: Add glob and globfree.
2993 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
2995         * sunrpc/Makefile (generated): Restore old list.
2997 1998-05-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2999         * rt/Makefile (tests): Define only if we have a thread library.
3001         * nis/ypclnt.c: Add: #include <errno.h>.
3003 1998-05-10 15:39  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3005         * configure.in: Define and substitute RELEASE as well as
3006         VERSION.
3007         * config.make.in: Add RELEASE and VERSION to be substituted.
3008         * Makeconfig: Delete all references to version.mk.
3009         * Make-dist: Likewise.
3010         * MakeTAGS: Likewise.
3011         * elf/Makefile: Likewise.
3013 1998-05-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3015         * nis/ypclnt.c: Move "(none)" domainname check from __yp_check to
3016         yp_get_default_domain.
3018 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
3020         * sysdeps/posix/profil.c (__profil): Don't define act and timer
3021         variables as static.  Patch by Joe Keane <jgk@jgk.org>.
3023 1998-05-12  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
3025         * malloc/malloc.c: Fix for NO_THREADS case.
3027 1998-05-11 18:02  Richard Henderson  <rth@cygnus.com>
3029         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
3030         Remove statfs and fstatfs.
3031         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Don't mark pread
3032         and pwrite as EXTRA.
3033         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3035 1998-05-09  Ulrich Drepper  <drepper@cygnus.com>
3037         * libc.map: Add capget and capset.
3039 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
3041         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3042         (DL_FIND_ARG_COMPONENTS): Find correct alignment for auxiliary
3043         vector.  Patch by Mark Hatle <fray@kernel.crashing.org>
3044         and Matt McLean <keys@brio.yikes.com>.
3046 1998-05-08 23:49  Ulrich Drepper  <drepper@cygnus.com>
3048         * misc/Makefile (tests): Add tst-mntent.
3049         * misc/tst-mntent.c: New file.
3051 1998-05-08 21:56  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3053         * autolock.sh: Removed.
3054         * manual/move-if-change: Removed.
3056         * scripts: New directory.
3057         * =__ify: Moved to scripts.
3058         * config.guess: Likewise.
3059         * config.sub: Likewise.
3060         * gen-FAQ.pl: Likewise.
3061         * install-sh: Likewise.
3062         * mkinstalldirs: Likewise.
3063         * move-if-change: Likewise.
3064         * printsources: Likewise.
3065         * rellns.sh: Likewise.
3066         * test-installation.pl: Likewise.
3068         * configure.in: Look in scripts for config.guess, config.sub,
3069         install-sh.
3070         * Makefile: Distribute all above files in their
3071         new home.  Find gen-FAQ.pl and test-installation.pl in scripts.
3072         * manual/Makefile: Find mkinstalldirs and move-if-change in
3073         $(..)scripts.  Drop them from distribute.  Minor cleanups.
3074         * Makerules: Find mkinstalldirs and rellns-sh in scripts.
3075         * sysdeps/mach/hurd/Makefile: Find move-if-change in scripts.
3076         * timezone/Makefile: Find rellns-sh in scripts.
3078 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
3080         * intl/locale.alias: Change italian to it_IT.ISO-8859-1.
3081         Reported by Ottavio G. Rizzo <otto@mast.queensu.ca>.
3083 1998-05-08 19:24  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3085         * Makefile (+subdir-inits): Delete variable.
3086         (+init_subdirs): Likewise.
3087         (aux): Likewise.
3088         (before-compile): Likewise.
3089         (libc-init): Delete stanza.
3090         (version-info.h): Delete rule and associated variable.
3091         (distribute): Don't distribute moved files.
3092         * Makerules (interp-obj): It lives in elf now.  Only use it
3093         if $(elf) is set.  Delete rule to build it.
3094         * csu/Makefile: Build set-init.o and/or munch-init.o.  Build
3095         version.o and version-info.h.  Minor cleanups.
3096         (routines): Add libc-init, sysdep, version.
3097         (generated): Add version-info.h.
3098         * elf/Makefile: Build interp.os.
3100         * interp.c: Moved to elf.
3101         * set-init.c: Moved to csu.
3102         * munch-init.c: Likewise.
3103         * munch.awk: Likewise.
3104         * version.c: Likewise.
3106         * Rules: Unconfuse syntax highlighting with a fake comment.
3108 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
3110         * sysdeps/unix/sysv/linux/syscalls.list: Add capset and capget
3111         syscalls.
3113 1998-05-08 16:36  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3115         * iconvdata/Makefile (generated): Set to *-generated-headers
3116         plus gconv-modules.
3117         (tests): Set to iconv-test.
3118         * localedata/Makefile (generated-dirs): Add ld-test-names to list.
3119         * posix/Makefile (generated): Set to wordexp-test-result*.
3120         * sunrpc/Makefile (generated): Remove rpcsvc/*.
3121         (generated-dirs): Add rpcsvc.
3122         * libio/Makefile: Clean up.
3124 1998-05-08 14:55  Ulrich Drepper  <drepper@cygnus.com>
3126         * Make-dist (+tsrcs): Also use tests-statc where tests is used.
3127         * Makerules: Likewise.
3128         (+depfiles): Also add sysdep-others.
3129         * Rules: Likewise.
3130         * iconv/Makefile (distribute): Add loop.s and skeleton.c.
3131         * iconvdata/Makefile (distribute): Add TESTS.
3132         * localedata/Makefile (repertoires): Rename to repertoiremaps.
3133         * sysdeps/gnu/Dist: Add utmpx.h and bits/utmpx.h.
3134         * sysdeps/unix/sysv/linux/Dist: Add ldd-rewrite.sed.
3135         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=elf]: Define
3136         sysdep-others, not others.
3137         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
3138         * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/kernel_termios.h.
3140 1998-05-08 12:26  Ulrich Drepper  <drepper@cygnus.com>
3142         * iconv/gconv_int.h (struct gconv_module): Remove cost field and add
3143         cost_hi and cost_lo.
3144         * iconv/gconv_conf.c (builtin_modules): Initialize cost_hi from
3145         Cost parameter and set cost_lo to INT_MAX.
3146         (add_module): Take new parameter and use it to initialize cost_lo.
3147         (read_conf_file): Count modules being loaded and use counter for
3148         new parameter to add_module.
3149         * iconv/gconv_db.c (find_derivation): When look for cost examine
3150         cost_hi and cost_lo.
3152 1998-05-08 10:52  Ulrich Drepper  <drepper@cygnus.com>
3154         * string/bits/string2.h: Don't use unsigned char * unless really
3155         necessary since this disturbs C++.
3156         * sysdeps/i386/i486/bits/string.h: Likewise.
3157         Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
3159 1998-05-08 13:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3161         * malloc/malloc.c (top_check): Fix last change.
3163 1998-05-07  Ulrich Drepper  <drepper@cygnus.com>
3165         * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Define.
3166         Patch by Matt McLean <keys@brio.yikes.com>.
3168 1997-05-07 13:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3170         * Makerules (lib): Put back dependency on lib-noranlib.
3171         ($(subdirs-stamps)): Remove dependency on stamp.* again.
3173 1998-05-07  Ulrich Drepper  <drepper@cygnus.com>
3175         * sysdeps/i386/fpu/bits/mathinline.h: Use long long int also for
3176         test in __pow2 implementation.
3178 1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>
3180         * Makeconfig [!build-static]: Link `static' binaries with libc_pic.a.
3181         Still need *FLAGS-.o because we still sometimes build .o files.
3182         * db2/Makefile: Don't build libndbm.a if !build-static.
3184 1998-05-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3186         * malloc/malloc.c (top_check): Add void as parameter to silent gcc.
3188 1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>
3190         * configure.in: New test for broken gcc on PowerPC.
3191         * sysdeps/powerpc/atomicity.h: Use result of test.
3192         * linuxthreads/sysdeps/powerpc/pt-machine.h: Use result of test.
3194         * math/libm-test.c: Update many of the epsilon to match actual
3195         performance.
3197         * sysdeps/libm-ieee754/e_exp.c: Reduce the number of branches.
3198         * sysdeps/libm-ieee754/e_expf.c: Likewise.
3199         * sysdeps/libm-ieee754/s_exp2.c: Likewise.
3200         * sysdeps/libm-ieee754/s_exp2f.c: Likewise.
3202         * sysdeps/libm-ieee754/e_pow.c: Correct typo.
3204         * sysdeps/powerpc/elf/libc-start.c: New file.
3205         * sysdeps/powerpc/elf/start.S: New file, use libc-start.
3206         * sysdeps/powerpc/elf/start.c: Delete.
3208         * sysdeps/unix/sysv/linux/powerpc/Dist: Remove syscall.h
3209         * sysdeps/unix/sysv/linux/powerpc/syscall.h: Delete.  It was unused.
3211         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Correct previous
3212         few patches.
3214 1998-05-06 12:51  Ulrich Drepper  <drepper@cygnus.com>
3216         * sysdeps/i386/fpu/bits/mathinline.h (pow): Use long long int for
3217         test for integer.
3219         * sysdeps/libm-i387/e_pow.S: Correctly shift double word.
3220         * sysdeps/libm-i387/e_powl.S: Likewise.
3222 1998-03-31  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
3224         * malloc/malloc.c (chunk2mem_check, top_check): New functions.
3225         (malloc_check, free_check, realloc_check, memalign_check): Use
3226         them to improve overrun checking.  Overruns of a single byte and
3227         corruption of the top chunk are now detected much more reliably.
3229 1998-05-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3231         * math/libm-test.c (pow_test): Add test for special value from PR
3232         libc/590.
3234 1998-05-06  Ulrich Drepper  <drepper@cygnus.com>
3236         * sysdeps/unix/sysv/linux/bits/errno.h: Undefine EILSEQ before
3237         including linux/errno.h.
3239 1998-05-06 09:49  Ulrich Drepper  <drepper@cygnus.com>
3241         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Add LFS support.
3242         Use correct types.
3243         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: New file.
3244         * sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: New file.
3246 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3248         * Makerules (elide-routines.*): Fix assignments.
3249         (do-makelib): Fix typo.
3250         ($(subdirs-stamps)): Depend on $(objpfx)stamp.* if in parent
3251         makefile.
3253 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3255         * Makefile (sysdep-subdirs, subdirs, $(common-objpfx)sysd-dirs,
3256         $(objpfx)sysd-dirs): Move them...
3257         * Makeconfig: ... here.
3258         * Makerules (subdirs-stamps, subdirs-stamp-o): Always define.
3259         (stubs): Fix circular depedency.
3260         (do-makelib): Clean up.
3261         (lib): Don't depend on lib-noranlib.
3262         ($(objpfx)stamp.oS): Remove special case for empty
3263         static-only-routines.
3264         (elide-routines.o): Add $(static-only-routines).
3265         (elide-routines$o): Define this instead of elide-routines.$o.
3266         * manual/Makefile (stubs): Fix circular dependency.
3268 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3270         * libio/Makefile (routines): Remove duplicate oldiofclose.
3272 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
3274         * string/strcoll.c: Use uint32_t instead of u_int32_t.
3276 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
3278         * libio/stdio.h: Fix typo in __REDIRECT.
3279         * io/sys/stat.h: Likewise.
3280         Reported by Myles Uyema <myles@uyema.nws.net>.
3282 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3284         * locale/programs/localedef.c (options): Fix help message.
3286 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
3288         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Avoid nasty
3289         relocations.  Patch by Joe Keane <jgk@jgk.org>.
3291 1998-05-04 12:40  Ulrich Drepper  <drepper@cygnus.com>
3293         * malloc/malloc.c (ptmalloc_init_all): New function.  Similar to
3294         ptmalloc_unlock_all, but re-initializes the mutexes instead.
3295         (ptmalloc_init): Use new function in thread_at_fork call.
3296         (thread_atfork_static): Likewise.
3297         Suggested by Wolfram Gloger and Xavier Leroy.
3299 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
3301         * signal/signal.h: Move definitions of struct sigstack and
3302         struct sigaltstack into separate file and include it.
3303         * sysdeps/generic/bits/sigstack.h: New file.
3304         * sysdeps/unix/sysv/linux/bits/sigstack.h: New file.
3305         * signal/Makefile (headers): Add bits/sigstack.h.
3307 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3309         * elf/rtld.c (dl_main): Fix check for number of references to
3310         interpreter object.
3312 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3314         * elf/rtld.c (dl_main): Check has_interp after executing platform
3315         specific code.
3317 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3319         * iconvdata/run-iconv-test.sh: Fix typo.
3321 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3323         * Makerules (+depfiles): Add depfiles for $(tests-static).
3324         Simplified.
3326 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3328         * manual/terminal.texi (Special Characters): Fix description of
3329         c_cc indexes.
3331 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3333         * sysdeps/unix/sysv/linux/tcsetattr.c: Use memcpy to copy the c_cc
3334         array.
3335         * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise.  Initialize rest
3336         of c_cc array.
3338 1998-04-30 14:15  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3340         * sysdeps/unix/sysv/linux/netrose/rose.h: Don't include kernel headers.
3342 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
3344         * intl/locale.alias: Update russian entry.
3346 1998-05-01 21:54  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3348         * Makerules (static-only-routines): Reimplement in terms of
3349         elide-routines.os.
3350         (shared-only-routines): Reimplement in terms of
3351         elide-routines.X [where X is all object-suffixes except .os].
3353         (stubs): Create stubs file inside the subdir.
3354         (common-mostlyclean): Remove stubs file from inside the subdir.
3355         * Makefile (subdir-stubs): Look for stubs files inside the
3356         subdirs.
3357         * manual/Makefile (stubs): Create dummy stubs file inside the
3358         subdir.
3360 1998-05-01 21:01  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3362         Build speed improvement: make ar less of a bottleneck.
3364         * Makerules (stamp$o): Just record the object list for later
3365         use.
3366         (libc_foo.a): New rule, depends on subdir stamp files; builds
3367         and ranlibs the library from the lists saved in those files.
3369         (subdirs-stamps): Define also if subdir == elf (FIXME: kludge).
3370         (subdirs-stamp-o): Likewise.
3372         (ar-symtab-name): Delete variable.
3373         (lib%.a): Delete target.
3374         (libc_foo.a(bar.%)): Delete target.
3375         (libc_foo.a($(ar-symtab-name))): Delete target.
3377         (objects objs): Just depend on libobjs and extra-objs.
3378         (libobjs): Depend on the stamp files, not the objects.
3379         (extra-objs): New target, just depends on the extra-objs list.
3381         (CREATE_ARFLAGS): Kill the `ar S' hack.
3383         * config.make.in (have-ar-S): Deleted.
3384         * configure.in: Delete test for `ar S'.  Add test to determine
3385         whether ranlib does anything useful.
3387 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
3389         * inet/tst-ether_aton.c: Include <stdio.h>.
3391 1998-04-30 16:45  Ulrich Drepper  <drepper@cygnus.com>
3393         * inet/ether_aton.c: Including netinet/if_ether.h is not necessary.
3395         * locale/Makefile (distribute): Add programs/repertoire.h.
3396         (localedef-modules): Add repertoire.
3397         (CPPFLAGS): Define REPERTOIREMAP_PATH.
3398         * locale/programs/repertoire.c: New file.
3399         * locale/programs/repertoire.h: New file.
3400         * locale/programs/charmap.c: Starting fixing character set handling
3401         to handle multi-byte encodings.
3402         * locale/programs/charset.c: Likewise.
3403         * locale/programs/charset.h: Likewise.
3404         * locale/programs/ld-collate.c: Likewise.
3405         * locale/programs/ld-ctype.c: Likewise.
3406         * locale/programs/linereader.c: Likewise.
3407         * locale/programs/localedef.c: Likewise.
3408         * locale/programs/locfile-kw.gperf: Likewise.
3409         * locale/programs/locfile-kw.h: Likewise.
3410         * locale/programs/locfile-token.h: Likewise.
3411         * locale/programs/locfile.h: Likewise.
3412         * locale/programs/stringtrans.c: Likewise.
3414         * locale/programs/locfile.c: Interpret I18NPATH value as base of
3415         path, extended with "/locales/".
3417 1998-04-18  Philip Blundell  <Philip.Blundell@pobox.com>
3419         * sysdeps/arm/memset.S: Fix off by one error.
3421         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): On error, call
3422         __syscall_error rather than syscall_error directly.
3424 1998-04-17  Philip Blundell  <Philip.Blundell@pobox.com>
3426         * sysdeps/unix/sysv/linux/arm/mmap.S: New file; implementation of
3427         mmap() syscall for ARM.
3429         * sysdeps/unix/arm/start.c: New file; startup code for ARM a.out
3430         binaries.
3432 1998-04-30  Ulrich Drepper  <drepper@cygnus.com>
3434         * locale/programs/localedef.c: Recognize repertoire-map option.
3436 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
3438         * locale/programs/linereader.c (get_toplvl_escape): Fix typo in
3439         converting non-hex numbers.
3440         Patch by Won Kyu Park <bird@bird.kitel.co.kr>.
3442 1998-04-23 07:31  H.J. Lu  <hjl@gnu.org>
3444         * resolv/inet_addr.c (inet_aton): Use __strtoul_internal to
3445         check overflow.
3446         * resolv/Makefile (tests): New, add tst-aton.
3447         * resolv/tst-aton.c: New file.
3449 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
3451         * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Add missing
3452         semicolon.
3454 1998-04-29 12:11  Ulrich Drepper  <drepper@cygnus.com>
3456         * wcsmbs/mbsnrtowcs.c: Remove variable to pass to conversion function
3457         by letting the later modify the variable computing the total directly.
3458         * wcsmbs/mbsrtowcs.c: Likewise.
3459         * wcsmbs/wcsnrtombs.c: Likewise.
3460         * wcsmbs/wcsrtombs.c: Likewise.
3462         * wcsmbs/btowc.c (converted): Rename variable to dummy to make clear
3463         it is not used.
3464         * wcsmbs/wctoc.c: Likewise.
3466         * wcsmbs/mbsrtowcs.c: Optimize a bit more.
3467         * wcsmbs/wcsrtombs.c: Likewise.
3469         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add SIGCLD definition.
3471 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
3473         * iconv/skeleton.c: Correct counting of actually converted
3474         characters.
3476         * intl/localealias.c (read_alias_file): Use unsigned char for
3477         local variables.  Remove unused variable tp.
3478         * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
3479         for type of codeset.  For loosing Solaris systems.
3480         * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
3481         * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
3482         len if not needed.
3483         Patches by Jim Meyering.
3485         * stdio-common/vfprintf.c [%S]: Don't clear mbstate twice;
3486         wcsrtombs must put it into initial state.
3488 1998-04-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3490         * iconv/gconv_simple.c: Fix endian bug.  Don't put side effects in
3491         argument of bswap_XX macro.
3493 1998-04-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3495         * iconvdata/Makefile (EBCDIC-DK-NO-A-routines): Fix typo in
3496         variable name.
3498 1998-04-28  Ulrich Drepper  <drepper@cygnus.com>
3500         * sysdeps/unix/sysv/linux/semctl.c (semctl): Define own union
3501         semun and use stdarg macros to get the value.
3502         * sysdeps/generic/semctl.c: Don't use union semun.
3504         * sysvipc/sys/sem.h: Don't use union semun in semctl prototype.
3506         * string/basename.c [!_LIBC]: Define function as gnu_basename.
3508         * posix/getopt.c [!__GNU_LIBRARY__]: Include string.h or
3509         strings.h.
3511         * stdlib/grouping.h: Accept ungrouped numbers even if locale
3512         defines grouping.
3514         * intl/hash-string.h: Don't include values.h.
3516         * inet/Makefile (tests): Add tst-ether_aton.
3517         * inet/tst-ether_aton.c: New file.
3519         * inet/ether_aton_r.c (ether_aton_r): Preserve high-nibble value
3520         in hex conversion.
3521         * inet/ether_aton.c (ether_aton): Declare result variable static.
3522         Reported by ahyung@unixg.ubc.ca.
3524         * sysdeps/unix/sysv/linux/bits/sem.h: Don't define union semun.
3525         Define macro _SEM_SEMUN_UNDEFINED instead.
3526         Reported by Dirk Laessig <d.laessig@tu-bs.de>.
3528         * stdio-common/tst-wc-printf.c: New file.  Test for %S and %C format.
3529         * stdio-common/Makefile (tests): Add tst-wc-printf.
3531 1998-04-28 16:32  Philip Blundell  <philb@gnu.org>
3533         * manual/stdio.texi (Variable Arguments Output): Correct variable
3534         name.  Patch from Ewan Mellor <em@nexus.co.uk>
3536 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
3538         * intl/dcgettext.c: Remove unneeded definition of
3539         internal_function.
3541 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3543         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use this as target
3544         instead of do-iconv-test.
3545         ($(objpfx)gconv-modules): Define rule only if objpfx is not
3546         empty.
3548 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3550         * string/string.h: Fix feature test.
3552 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3554         * iconvdata/iso646.c (BODY): Don't use character constants that
3555         depend on signedness of char.
3557 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
3559         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdirs)=misc]
3560         (sysdep_routines): Add s_pread64 and s_pwrite64.
3562 1998-04-27 09:54  Ulrich Drepper  <drepper@cygnus.com>
3564         * iconvdata/Makefile (distribute): Remove generated .h files.
3565         * iconvdata/koi8-r.h: Removed.
3566         * iconvdata/latin-greek-1.h: Removed.
3567         * iconvdata/latin-greek.h: Removed.
3569         * iconvdata/testdata/CP1258..UTF8: New iconv test source.
3570         * iconvdata/KOI-8: Likewise.
3571         * iconvdata/KOI-8..UTF8: Likewise.
3572         * iconvdata/KOI8-R: Likewise.
3573         * iconvdata/KOI8-R..UTF8: Likewise.
3575 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3577         * streams/Makefile (headers): Add sys/stropts.h.
3578         * streams/sys/stropts.h: New file.
3580 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3582         * sysdeps/unix/sysv/linux/ttyname.c,
3583         sysdeps/unix/sysv/linux/ttyname_r.c: New files, like
3584         sysdeps/posix/ttyname*.c, but look in /dev/pts first.
3586 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3588         * sysdeps/unix/sysv/linux/ptsname.c: Fix off-by-one bug in second
3589         argument of _itoa_word.
3591 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3593         * sysdeps/unix/sysv/linux/syscalls.list (s_getcwd, s_getdents,
3594         s_pread64, s_pwrite64, s_reboot, s_sigpending, s_sigprocmask): Set
3595         caller to getcwd, getdents, pread64, pwrite64, reboot, sigpending,
3596         sigprocmask, resp., instead of EXTRA.
3598         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3599         s_pread64 and s_pwrite64.
3601 1998-04-26 18:44  Ulrich Drepper  <drepper@cygnus.com>
3603         * iconvdata/Makefile: Correct rules to generate gap table.
3604         * iconvdata/gap.pl: Simplify.
3606         * iconvdata/TESTS: Name new tests.
3607         * iconvdata/testdata/CP1250: New file.
3608         * iconvdata/testdata/CP1250..UTF8: New file.
3609         * iconvdata/testdata/CP1251: New file.
3610         * iconvdata/testdata/CP1251..UTF8: New file.
3611         * iconvdata/testdata/CP1252: New file.
3612         * iconvdata/testdata/CP1252..UTF8: New file.
3613         * iconvdata/testdata/CP1253: New file.
3614         * iconvdata/testdata/CP1253..UTF8: New file.
3615         * iconvdata/testdata/CP1254: New file.
3616         * iconvdata/testdata/CP1254..UTF8: New file.
3617         * iconvdata/testdata/CP1255: New file.
3618         * iconvdata/testdata/CP1255..UTF8: New file.
3619         * iconvdata/testdata/CP1256: New file.
3620         * iconvdata/testdata/CP1256..UTF8: New file.
3621         * iconvdata/testdata/CP1257: New file.
3622         * iconvdata/testdata/CP1257..UTF8: New file.
3624 1998-04-26  Ulrich Drepper  <drepper@cygnus.com>
3626         * iconvdata/Makefile: Add rules for ISO-2022-KR.
3627         * iconvdata/iso-2022-kr.c: New file.
3629         * iconvdata/gconv-modules: Add entry for ISO-2022-JP, ISO-2022-JP-2,
3630         and ISO-2022-KR.
3632 1998-04-25 18:39  Ulrich Drepper  <drepper@cygnus.com>
3634         * iconvdata/Makefile: Use gap method for iso8859-5, iso8859-7,
3635         iso8859-8 and iso8859-10.
3636         * iconvdata/iso8859-5.c: Change to use gap method.
3637         * iconvdata/iso8859-7.c: Likewise.
3638         * iconvdata/iso8859-8.c: Likewise.
3639         * iconvdata/iso8859-10.c: Likewise.
3641         * iconvdata/Makefile: Add rules for ISO-2022-JP module.
3642         * iconv/skeleton.c: Allow END_LOOP do be defined and use it at the
3643         end of the loop.
3644         * iconvdata/iso-2022-jp.c: New file.
3646         * iconvdata/ksc5601.c: Don't use uint16_t to represent byte sequence.
3647         * iconvdata/ksc5601.h: Unify function interfaces.
3648         * iconvdata/euckr.c: Adapt for changed ksc5601.h interface.
3649         * iconvdata/uhc.c: Likewise.
3651         * iconvdata/gb2312.h: Use correct types.
3653         * iconvdata/iso646.c (gconv_open): Correctly initialize the character
3654         size elements of data.
3656 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3658         * string/tst-svc.expect: Adapt for change in .input.
3659         * string/tst-svc.input: More tests.
3661 1998-04-24 17:15  Ulrich Drepper  <drepper@cygnus.com>
3663         * iconvdata/Makefile: Add rules for new modules.
3664         * iconvdata/gconv-modules: Likewise.
3665         * iconvdata/cp737.c: New file.
3666         * iconvdata/cp737.h: New file.
3667         * iconvdata/cp775.c: New file.
3668         * iconvdata/cp775.h: New file.
3669         * iconvdata/cp874.c: New file.
3670         * iconvdata/cp874.h: New file.
3672 1998-04-24 16:30  Ulrich Drepper  <drepper@cygnus.com>
3674         * iconvdata/Makefile: Create target directory before generating
3675         headers.
3677 1998-04-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3679         * misc/sys/cdefs.h (__REDIRECT): Handle systems with non-empty
3680         __USER_LABEL_PREFIX__.
3681         (__ASMNAME, __ASMNAME2): New macros.
3683 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3685         * elf/dl-load.c: Include sys/param.h for MAX.
3687 1998-04-24 21:44  Richard Henderson  <rth@cygnus.com>
3689         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Make
3690         __ftruncate the strong symbol, and add weak alias.
3691         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3693 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3695         * termios/cfsetspeed.c: Make code cleaner and add missing const.
3696         Patch by Joe Keane <jgk@jgk.org>.
3698         * inet/rcmd.c (__ivaliduser): Check buf for being NULL before
3699         free()ing.
3701 1998-04-24 13:56  Ulrich Drepper  <drepper@cygnus.com>
3703         * sysdeps/generic/bits/socket.h: Add #defines for enum values.
3704         Patch by Thomas Bushnell, n/BSG.
3706 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3708         * inet/rcmd.c (iruserok): Initialize hostf variable to NULL.
3710 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3712         * iconvdata/Makefile: Put generated headers in build directory.
3714 1998-04-23 22:43  Ulrich Drepper  <drepper@cygnus.com>
3716         * elf/dl-load.c (fillin_rpath): Handle empty element returned by
3717         strsep as current directory.
3719         * iconv/gconv_builtin.h: Add aliases unicode and unicodebig for
3720         Java.  Add definitions for unicodelittle implementation.
3721         * iconv/gconv_int.h: Add declaration for unicodelittle functions.
3722         * iconv/gconv_simple.c: Define unicodelittle functions.
3724         * iconv/iconv_prog.c: Make program print information about position
3725         of illegal character in input.
3727         * iconv/skeleton.c: Use __strcasecmp instead of __strcasestr for
3728         comparison of charset name.
3729         * iconvdata/big5.c (CHARSET_NAME): Adapt for this.
3730         * iconvdata/ebcdic-at-de-a.c: Likewise.
3731         * iconvdata/ebcdic-at-de.c: Likewise.
3732         * iconvdata/ebcdic-ca-fr.c: Likewise.
3733         * iconvdata/euccn.c: Likewise.
3734         * iconvdata/eucjp.c: Likewise.
3735         * iconvdata/euckr.c: Likewise.
3736         * iconvdata/euctw.c: Likewise.
3737         * iconvdata/hp-roman8.c: Likewise.
3738         * iconvdata/iso6937.c: Likewise.
3739         * iconvdata/iso8859-1.c: Likewise.
3740         * iconvdata/iso8859-10.c: Likewise.
3741         * iconvdata/iso8859-2.c: Likewise.
3742         * iconvdata/iso8859-3.c: Likewise.
3743         * iconvdata/iso8859-4.c: Likewise.
3744         * iconvdata/iso8859-5.c: Likewise.
3745         * iconvdata/iso8859-6.c: Likewise.
3746         * iconvdata/iso8859-7.c: Likewise.
3747         * iconvdata/iso8859-8.c: Likewise.
3748         * iconvdata/iso8859-9.c: Likewise.
3749         * iconvdata/johab.c: Likewise.
3750         * iconvdata/koi-8.c: Likewise.
3751         * iconvdata/koi8-r.c: Likewise.
3752         * iconvdata/latin-greek-1.c: Likewise.
3753         * iconvdata/latin-greek.c: Likewise.
3754         * iconvdata/sjis.c: Likewise.
3755         * iconvdata/t61.c: Likewise.
3756         * iconvdata/uhc.c: Likewise.
3758         * iconvdata/iso646.c: Add support for more ISO 646 variants.
3759         * iconvdata/TESTS: Add tests for ISO646 module.
3760         * iconvdata/gconv-modules: Add new modules.
3761         * iconvdata/testdate/CSA_Z243.4-1985-1: New tests for ISO646 module.
3762         * iconvdata/testdate/CSA_Z243.4-1985-1..UCS2: Likewise.
3763         * iconvdata/testdate/CSA_Z243.4-1985-2: Likewise.
3764         * iconvdata/testdate/CSA_Z243.4-1985-2..UCS4: Likewise.
3765         * iconvdata/testdate/DIN_66003: Likewise.
3766         * iconvdata/testdate/DIN_66003..UTF8: Likewise.
3767         * iconvdata/testdate/DS_2089: Likewise.
3768         * iconvdata/testdate/DS_2089..UTF8: Likewise.
3769         * iconvdata/testdate/ES: Likewise.
3770         * iconvdata/testdate/ES..UTF8: Likewise.
3771         * iconvdata/testdate/ES2: Likewise.
3772         * iconvdata/testdate/ES2..UTF8: Likewise.
3773         * iconvdata/testdate/GB_1988-80: Likewise.
3774         * iconvdata/testdate/GB_1988-80..UTF8: Likewise.
3775         * iconvdata/testdate/IT: Likewise.
3776         * iconvdata/testdate/IT..UTF8: Likewise.
3777         * iconvdata/testdate/JIS_C6220-1969-RO: Likewise.
3778         * iconvdata/testdate/JIS_C6220-1969-RO..UTF8: Likewise.
3779         * iconvdata/testdate/JIS_C6229-1984-B: Likewise.
3780         * iconvdata/testdate/JIS_C6229-1984-B..UTF8: Likewise.
3781         * iconvdata/testdate/JUS_I.B1.002: Likewise.
3782         * iconvdata/testdate/JUS_I.B1.002..UTF8: Likewise.
3783         * iconvdata/testdate/KSC5636: Likewise.
3784         * iconvdata/testdate/KSC5636..UTF8: Likewise.
3785         * iconvdata/testdate/MSZ_7795.3: Likewise.
3786         * iconvdata/testdate/MSZ_7795.3..UTF8: Likewise.
3787         * iconvdata/testdate/NC_NC00-10: Likewise.
3788         * iconvdata/testdate/NC_NC00-10..UTF8: Likewise.
3789         * iconvdata/testdate/NF_Z_62-010: Likewise.
3790         * iconvdata/testdate/NF_Z_62-010..UTF8: Likewise.
3791         * iconvdata/testdate/NF_Z_62-010_1973: Likewise.
3792         * iconvdata/testdate/NF_Z_62-010_1973..UTF8: Likewise.
3793         * iconvdata/testdate/NS_4551-1: Likewise.
3794         * iconvdata/testdate/NS_4551-1..UTF8: Likewise.
3795         * iconvdata/testdate/NS_4551-2: Likewise.
3796         * iconvdata/testdate/NS_4551-2..UTF8: Likewise.
3797         * iconvdata/testdate/PT: Likewise.
3798         * iconvdata/testdate/PT..UTF8: Likewise.
3799         * iconvdata/testdate/PT2: Likewise.
3800         * iconvdata/testdate/PT2..UTF8: Likewise.
3801         * iconvdata/testdate/SEN_850200_B: Likewise.
3802         * iconvdata/testdate/SEN_850200_B..UTF8: Likewise.
3803         * iconvdata/testdate/SEN_850200_C: Likewise.
3804         * iconvdata/testdate/SEN_850200_C..UTF8: Likewise.
3806         * iconvdata/cns11643.h: Use uint32_t instead of wchar_t.
3807         * iconvdata/cns11643l1.h: Likewise.
3808         * iconvdata/latin-greek-1.h: Likewise.
3809         * iconvdata/latin-greek.h: Likewise.
3810         * iconvdata/koi8-r.h: Likewise.
3811         * iconvdata/jis0212.h: Likewise.
3812         * iconvdata/gb2312.h: Likewise.
3813         * iconvdata/ksc5601.h: Likewise.
3815         * iconvdata/8bit-gap.c: Use 32 bit type for idx element of struct gap.
3817         * iconvdata/Makefile: Add rules for lots of more modules.
3818         * iconvdata/cp1250.c: New file.
3819         * iconvdata/cp1251.c: New file.
3820         * iconvdata/cp1252.c: New file.
3821         * iconvdata/cp1253.c: New file.
3822         * iconvdata/cp1254.c: New file.
3823         * iconvdata/cp1255.c: New file.
3824         * iconvdata/cp1256.c: New file.
3825         * iconvdata/cp1257.c: New file.
3826         * iconvdata/ebcdic-dk-no-a.c: New file.
3827         * iconvdata/ebcdic-dk-no.c: New file.
3828         * iconvdata/ebcdic-es-a.c: New file.
3829         * iconvdata/ebcdic-es-s.c: New file.
3830         * iconvdata/ebcdic-es.c: New file.
3831         * iconvdata/ebcdic-fi-se-a.c: New file.
3832         * iconvdata/ebcdic-fi-se.c: New file.
3833         * iconvdata/ebcdic-fr.c: New file.
3834         * iconvdata/ebcdic-is-friss.c: New file.
3835         * iconvdata/ebcdic-it.c: New file.
3836         * iconvdata/ebcdic-pt.c: New file.
3837         * iconvdata/ebcdic-uk.c: New file.
3838         * iconvdata/ebcdic-us.c: New file.
3839         * iconvdata/ibm037.c: New file.
3840         * iconvdata/ibm038.c: New file.
3841         * iconvdata/ibm1004.c: New file.
3842         * iconvdata/ibm1026.c: New file.
3843         * iconvdata/ibm1047.c: New file.
3844         * iconvdata/ibm256.c: New file.
3845         * iconvdata/ibm273.c: New file.
3846         * iconvdata/ibm274.c: New file.
3847         * iconvdata/ibm275.c: New file.
3848         * iconvdata/ibm277.c: New file.
3849         * iconvdata/ibm278.c: New file.
3850         * iconvdata/ibm280.c: New file.
3851         * iconvdata/ibm281.c: New file.
3852         * iconvdata/ibm284.c: New file.
3853         * iconvdata/ibm285.c: New file.
3854         * iconvdata/ibm290.c: New file.
3855         * iconvdata/ibm297.c: New file.
3856         * iconvdata/ibm420.c: New file.
3857         * iconvdata/ibm423.c: New file.
3858         * iconvdata/ibm424.c: New file.
3859         * iconvdata/ibm437.c: New file.
3860         * iconvdata/ibm500.c: New file.
3861         * iconvdata/ibm850.c: New file.
3862         * iconvdata/ibm851.c: New file.
3863         * iconvdata/ibm852.c: New file.
3864         * iconvdata/ibm855.c: New file.
3865         * iconvdata/ibm857.c: New file.
3866         * iconvdata/ibm860.c: New file.
3867         * iconvdata/ibm861.c: New file.
3868         * iconvdata/ibm862.c: New file.
3869         * iconvdata/ibm863.c: New file.
3870         * iconvdata/ibm864.c: New file.
3871         * iconvdata/ibm865.c: New file.
3872         * iconvdata/ibm868.c: New file.
3873         * iconvdata/ibm869.c: New file.
3874         * iconvdata/ibm870.c: New file.
3875         * iconvdata/ibm871.c: New file.
3876         * iconvdata/ibm875.c: New file.
3877         * iconvdata/ibm880.c: New file.
3878         * iconvdata/ibm891.c: New file.
3879         * iconvdata/ibm903.c: New file.
3880         * iconvdata/ibm904.c: New file.
3881         * iconvdata/ibm905.c: New file.
3882         * iconvdata/ibm918.c: New file.
3884         * locale/iso-4217.def: Update.
3885         * localedata/locales/pt_BR: Correct.  Patches by Andreas Jaeger.
3887         * stdio-common/vfscanf.h: Recognize nan and inf in floating-point
3888         formats.
3890 1998-04-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3892         * elf/dl-load.c (_dl_init_paths): ';' is also a terminal for
3893         LD_LIBRARY_PATH.
3895 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
3897         * Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'.
3898         * Makefile: Likewise.
3899         * posix/Makefile: Likewise.
3900         * sysdeps/mach/hurd/Makefile: Likewise.
3902 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
3904         * sysdeps/mach/hurd/bits/dirent.h: New file.
3905         * sysdeps/mach/hurd/readdir64.c: New file.
3906         * sysdeps/mach/hurd/readdir64_r.c: New file.
3908 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
3910         * stdio/stdio.h (vasprintf, __asprintf, asprintf, vdprintf,
3911         dprintf): Synchronize declarations with libio/stdio.h.
3913 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
3915         * elf/dlerror.c (dlerror): Don't assume that
3916         __libc_internal_tsd_get is defined.  __libc_getspecific is already
3917         well-protected, so just use it directly.
3919 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
3921         * io/ftw.h (ftw): Fix typo.
3923 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
3925         * sysdeps/gnu/utmp_file.c: Fix typo.
3927 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3929         * iconvdata/run-iconv-test.sh: Fix more portability bugs.  When
3930         one part of a test fails move on to the next test.
3932 1998-04-24  5:45  Richard Henderson  <rth@cygnus.com>
3934         * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
3936 1998-04-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3938         * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Compare addresses
3939         as pointers, not signed integers.
3941 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3943         * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
3945 1998-04-21 21:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3947         * misc/sys/cdefs.h: New macro __REDIRECT to support changing the
3948         asm symbol name of functions.
3949         * include/features.h: Kill redundant test.
3951         * dirent/dirent.h: Use new macros to implement __USE_FILE_OFFSET64.
3952         * io/ftw.h: Likewise.
3953         * io/sys/stat.h: Likewise.
3954         * io/sys/statfs.h: Likewise.
3955         * io/sys/statvfs.h: Likewise.
3956         * libio/stdio.h: Likewise.
3957         * resource/sys/resource.h: Likewise.
3958         * rt/aio.h: Likewise.
3960         * posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and
3961          __FAVOR_BSD.
3962         * signal/signal.h: Use new macros for BSD vs. SysV signal().
3964         * misc/Makefile: Drop bsd-compat.c.  Make libbsd-compat.a
3965         a dummy library.
3966         * misc/bsd-compat.c: Removed.
3968 1998-04-21 20:32  Ulrich Drepper  <drepper@cygnus.com>
3970         * iconv/loop.c: Allow EXTRA_LOOP_DECLS be defined and use it in
3971         function declaration.
3972         * iconv/skeleton.c: Allow PREPARE_LOOP and EXTRA_LOOP_ARGS be defined
3973         and use them in conversion function.
3974         * iconvdata/Makefile (modules): Re-add ISO6446.
3975         * iconvdata/TEST: Add tests for ASCII variants.
3976         * iconvdata/iso646.c: Rewrite to use loop.c and skeleton.c.
3977         * iconvdata/testdata/ANSI_X3.4-1968: New file.
3978         * iconvdata/testdata/BS_4730: New file.
3979         * iconvdata/testdata/BS_4730..UTF8: New file.
3981 1998-04-21 19:05  Ulrich Drepper  <drepper@cygnus.com>
3983         * iconv/gconv.h (struct gconv_step): Add element stateful.
3984         * iconv/gconv_builtin.c (__gconv_builtin_trans): Initialize stateful
3985         to zero for all internal conversions.
3986         * iconv/skeleton.c: Initialize stateful depending on whether or not
3987         RESET_STATE is defined to one or zero respectively.
3988         * stdlib/mblen.c: Use stateful element of currently selected
3989         converter for result if S is NULL.
3990         * stdlib/mbtowc.c: Likewise.
3991         * stdlib/wctomb.c: Likewise.
3993 1998-04-21 18:00  Ulrich Drepper  <drepper@cygnus.com>
3995         * iconv/gconv.c (__gconv): Remove bogus input buffer size computation.
3997         * iconv/gconv_open.c (__gconv_open): Initialize outbufend element.
3999         * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Don't use
4000         character in comparison with uint32_t.
4001         (__gconv_transform_internal_utf8): Specify MAX_NEEDED_TO.
4002         (__gconv_transform_utf8_internal): Specify MAX_NEEDED_FROM.
4003         Optimize BODY a bit.
4005         * iconv/loop.c: Require MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT to
4006         be defined.
4008         * iconv/skeleton.c: Also reset converted counter in case of an error.
4009         Call reset function using correct value for output buffer start.
4011         * iconvdata/Makefile: Re-enable tests.
4013         * iconvdata/iso8859-1.c: Swap MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT
4014         value for to-conversion.
4016         * iconvdata/TESTS: Add new third column.
4017         * iconvdata/run-iconv-test.sh: Add support for charsets which are
4018         not ASCII based.
4019         * iconvdata/testdata/suntzus: New file.
4021         * elf/dl-minimal.c (__strtol_internal): Increment pointer to string
4022         while reading.  Correctly used base.  Little optimization.
4023         (__strtoul_internal): Likewise.
4025         * elf/rtld.c (dl_main): Test to avoid duplicate call of _dl_init_paths
4026         was wrong.  Use explicit variable.
4028 1998-04-20 23:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4030         * configure.in: Check for awk.
4031         * config.make.in: Add AWK to be substituted.
4033         * manual/xtract-typefun.awk: Rewrite to eliminate gawk extensions.
4034         * manual/users.texi: Fix typo exposed by above rewrite.
4036         * Makefile: Invoke awk using AWK variable.
4037         * csu/Makefile: Likewise.
4038         * elf/Makefile: Likewise.
4039         * mach/Makefile: Likewise.
4040         * manual/Makefile: Likewise.
4041         * sysdeps/gnu/Makefile: Likewise.
4042         * sysdeps/mach/hurd/Makefile: Likewise.
4043         * sysdeps/unix/Makefile: Likewise.
4044         * timezone/Makefile: Likewise.
4046 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
4048         * sysdeps/gnu/errlist.awk (ERR_REMAP): Implement error code to
4049         array index translation.
4050         (SYS_ERRLIST_ALIAS, SYS_NERR_ALIAS): Make weak aliases only if
4051         these are defined.
4053         * sysdeps/mach/hurd/Dist: Add errlist.c to distribution.
4055         * sysdeps/mach/hurd/errlist.c: New file.
4056         (ERR_TRANSLATE): Map Hurd error codes into errlist indices.
4057         (_hurd_errlist): The Hurd error list doesn't have Unix sys_errlist
4058         semantics, so rename it.
4060 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4062         * iconvdata/run-iconv-test.sh: Make portable.  Always test all
4063         conversions.
4065 1998-04-21 12:30  H.J. Lu  <hjl@gnu.org>
4067         * wcsmbs/wcsrtombs.c (__wcsrtombs): Initialize result to 0.
4068         * wcsmbs/wcsnrtombs.c: Likewise.
4070 1998-04-21  Ulrich Drepper  <drepper@cygnus.com>
4072         * sysdeps/generic/dl-sysdep.c: Handle _dl_hwcap correctly.
4074         * wcsmbs/btowc.c (__btowc): Declare inptr as const char *.
4076         * time/strftime.c (my_strftime): Initialize pad variable in
4077         declaration.
4079         * iconvdata/big5.c: Don't use character constants in comparisons
4080         with unsigned value.
4082 1998-04-20 18:00  Ulrich Drepper  <drepper@cygnus.com>
4084         * libc.map: Add __dgettext to GLIBC_2.0 and __libc_longjmp, and
4085         __libc_siglongjmp to GLIBC_2.1.
4087         * elf/dl-minimal.c (__assert_perror_fail): Don't use strerror, use
4088         __strerror_r.
4090         * iconv/Makefile: Don't run tests now.
4092         * iconv/iconv_prog.c (process_block): If loop is repeated, call iconv
4093         with correct output buffer.
4095         Major rewrite of the low-level gconv functionality.
4096         * iconv/gconv.c: Rewritten.
4097         * iconv/gconv.h: Likewise.
4098         * iconv/gconv_builtin.c: Likewise.
4099         * iconv/gconv_builtin.h: Likewise.
4100         * iconv/gconv_conf.c: Likewise.
4101         * iconv/gconv_int.h: Likewise.
4102         * iconv/gconv_open.c: Likewise.
4103         * iconv/gconv_simple.c: Likewise.
4104         * iconv/iconv.c: Likewise.
4105         * iconvdata/8bit-gap.c: Likewise.
4106         * iconvdata/8bit-generic.c: Likewise.
4107         * iconvdata/Makefile: Likewise.
4108         * iconvdata/big5.c: Likewise.
4109         * iconvdata/cns11643.c: Likewise.
4110         * iconvdata/cns11643.h: Likewise.
4111         * iconvdata/cns11643l1.c: Likewise.
4112         * iconvdata/cns11643l1.h: Likewise.
4113         * iconvdata/ebcdic-at-de-a.c: Likewise.
4114         * iconvdata/ebcdic-at-de.c: Likewise.
4115         * iconvdata/ebcdic-ca-fr.c: Likewise.
4116         * iconvdata/euccn.c: Likewise.
4117         * iconvdata/eucjp.c: Likewise.
4118         * iconvdata/euckr.c: Likewise.
4119         * iconvdata/euctw.c: Likewise.
4120         * iconvdata/gb2312.c: Likewise.
4121         * iconvdata/gb2312.h: Likewise.
4122         * iconvdata/hp-roman8.c: Likewise.
4123         * iconvdata/iso646.c: Likewise.
4124         * iconvdata/iso6937.c: Likewise.
4125         * iconvdata/iso8859-1.c: Likewise.
4126         * iconvdata/iso8859-10.c: Likewise.
4127         * iconvdata/iso8859-2.c: Likewise.
4128         * iconvdata/iso8859-3.c: Likewise.
4129         * iconvdata/iso8859-4.c: Likewise.
4130         * iconvdata/iso8859-5.c: Likewise.
4131         * iconvdata/iso8859-6.c: Likewise.
4132         * iconvdata/iso8859-7.c: Likewise.
4133         * iconvdata/iso8859-8.c: Likewise.
4134         * iconvdata/iso8859-9.c: Likewise.
4135         * iconvdata/jis0201.c: Likewise.
4136         * iconvdata/jis0201.h: Likewise.
4137         * iconvdata/jis0208.c: Likewise.
4138         * iconvdata/jis0208.h: Likewise.
4139         * iconvdata/jis0212.c: Likewise.
4140         * iconvdata/jis0212.h: Likewise.
4141         * iconvdata/johab.c: Likewise.
4142         * iconvdata/koi-8.c: Likewise.
4143         * iconvdata/koi8-r.c: Likewise.
4144         * iconvdata/ksc5601.c: Likewise.
4145         * iconvdata/ksc5601.h: Likewise.
4146         * iconvdata/latin-greek-1.c: Likewise.
4147         * iconvdata/latin-greek.c: Likewise.
4148         * iconvdata/run-iconv-test.sh: Likewise.
4149         * iconvdata/sjis.c: Likewise.
4150         * iconvdata/t61.c: Likewise.
4151         * iconvdata/uhc.c: Likewise.
4152         * wcsmbs/btowc.c: Likewise.
4153         * wcsmbs/mbrtowc.c: Likewise.
4154         * wcsmbs/mbsnrtowcs.c: Likewise.
4155         * wcsmbs/mbsrtowcs.c: Likewise.
4156         * wcsmbs/wcrtomb.c: Likewise.
4157         * wcsmbs/wcsmbsload.c: Likewise.
4158         * wcsmbs/wcsnrtombs.c: Likewise.
4159         * wcsmbs/wcsrtombs.c: Likewise.
4160         * wcsmbs/wctob.c: Likewise.
4161         * iconv/loop.c: New file.
4162         * iconv/skeleton.c: New file.
4164         * stdlib/mblen.c: Handle empty input string correctly.
4165         * stdlib/mbtowc.c: Likewise.
4167         * posix/getopt.c: Various cleanups.
4169         * sysdeps/arm/bits/setjmp.h: Add copyright text.
4170         * sysdeps/i386/bits/setjmp.h: Likewise.
4171         * sysdeps/m68k/bits/setjmp.h: Likewise.
4172         * sysdeps/powerpc/bits/setjmp.h: Likewise.
4173         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
4175         * sysdeps/generic/longjmp.c: Rename function to __libc_siglongjmp
4176         and make longjmp weak alias.
4178 1998-04-18 20:29  Philip Blundell  <Philip.Blundell@pobox.com>
4180         * iconv/Makefile (routines): Only include gconv_dl if building for
4181         an ELF system - dynamic linking is not available on a.out.
4182         (CFLAGS-gconv_conf.c): Define STATIC_GCONV if omitting gconv_dl
4183         due to above check.
4184         * iconv/gconv_db.c: If STATIC_GCONV defined, don't try to call
4185         routines from gconv_dl.
4187 1998-04-17  Gordon Matzigkeit  <gord@profitpress.com>
4189         * csu/init.c (_IO_stdin_used): Protect with USE_IN_LIBIO so that
4190         we can compile without libio.
4192 1998-04-20 16:28  Ulrich Drepper  <drepper@cygnus.com>
4194         * sysdeps/mach/hurd/Subdirs: Remove login.
4196 1998-04-11  Gordon Matzigkeit  <gord@profitpress.com>
4198         * db2/compat.h: Include <errno.h>, to make sure we get the
4199         definition of EFTYPE before we define it ourselves.
4201 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
4203         * sysdeps/generic/bits/socket.h: Protect against multiple inclusion.
4204         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
4205         Fix typo to allow inclusion from sys/ioctl.h again.
4207 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4209         * iconvdata/*.[ch]: Clean up namespace.  Optimize character lookup.
4211 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4213         * libc.map: Export __strerror_r.  Remove _strerror_internal.
4215 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4217         * sysdeps/generic/strcasestr.c: Undefine strcasestr, not strstr.
4218         Also undefine __strcasestr.
4220 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4222         * posix/regex.c: Rename __re_max_failures back to re_max_failures,
4223         aliases do not work with global variables due to copy relocations.
4225 1998-04-20 15:12  Ulrich Drepper  <drepper@cygnus.com>
4227         * manual/creature.texi: Fix type.  Patch by Andreas Schwab.
4229 1998-04-20 13:47  Ulrich Drepper  <drepper@cygnus.com>
4231         * signal/sighold.c: Include stddef.h for NULL definition.
4232         * signal/sigrelse.c: Likewise.
4233         * sysdeps/posix/sigignore.c: Likewise.
4234         * sysdeps/posix/sigset.c: Likewise.
4235         * sysdeps/posix/waitid.c: Likewise.
4236         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
4237         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Likewise.
4238         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4239         * wcsmbs/mbsrtowcs.c: Include stdlib.h for MB_CUR_MAX.
4240         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
4242 1998-04-13  Mark Kettenis  <kettenis@phys.uva.nl>
4244         * login/Makefile (headers): Remove utmpx.h and bits/utmpx.h.
4245         * login/getutent.c (getutxent): Remove alias.
4246         * login/getutent_r.c (setutxent, pututxline, endutxent):
4247         Remove aliases.
4248         * login/getutid.c (getutxid): Remove alias.
4249         * login/getutline.c (getutxline): Remove alias.
4250         * login/utmp.h: Add prototypes for __updwtmp, __getutent,
4251         __getutid, __getutline and __pututline.
4252         * login/utmpx.h: Moved to ...
4253         * sysdeps/gnu/utmpx.h: ... here.  [__USE_GNU]: Define UTMPX_FILE,
4254         UTMPX_FILENAME, WTMPX_FILE and WTMPX_FILENAME, declare utmpxname
4255         and updwtmpx.
4256         * login/updwtmp.c: Moved to ...
4257         * sysdeps/generic/updwtmp.c: ... here.  (updwtmp): Generalized by
4258         allowing file name transformation.
4259         * sysdeps/gnu/updwtmp.c: New file.  Use generic implementation with
4260         additional file name transformation.
4261         * sysdeps/unix/sysv/linux/updwtmp.c: Likewise.
4262         * login/utmp_file.c: Moved to ...
4263         * sysdeps/generic/utmp_file.c: ... here.  (setutent_file):
4264         Generalized by allowing file name transformation.  Do not
4265         print error message.  Library functions should not print them.
4266         Reported by Jim Meyering.
4267         * sysdeps/gnu/utmp_file.c: New file.  Use generic implementation
4268         with additional file name transformation.
4269         * sysdeps/unix/sysv/linux/utmp_file.c: Likewise.
4270         * sysdeps/gnu/Makefile [$(subdir)=login] (sysdep_routines): Add
4271         setutxent, getutxent, endutxent, getutxid, getutxid, getutxline,
4272         pututxline, utmpxname and updwtmpx.  (sysdep_headers): Add utmpx.h
4273         and bits/utmpx.h.
4274         * sysdeps/gnu/bits/utmpx.h [__USE_GNU] Include paths.h.
4275         (_PATH_UTMPX): Define to _PATH_UTMP.  (_PATH_WTMPX): Define to
4276         _PATH_WTMPX.  (RUN_LVL): Define only if __USE_GNU.  (ACCOUNTING):
4277         Define if __USE_GNU.
4278         * sysdeps/generic/setutxent.c: New file.
4279         * sysdeps/generic/getutxent.c: New file.
4280         * sysdeps/generic/endutxent.c: New file.
4281         * sysdeps/generic/getutxid.c: New file.
4282         * sysdeps/generic/getutxline.c: New file.
4283         * sysdeps/generic/pututxline.c: New file.
4284         * sysdeps/generic/utmpxname.c: New file.
4285         * sysdeps/generic/updwtmpx.c: New file.
4286         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP_DB): Remove.
4287         * sysdeps/generic/bits/utmpx.h: Remove.
4289 1998-04-20  Ulrich Drepper  <drepper@cygnus.com>
4291         * posix/wordexp-test.c (main): Initialize ifs element of ts for
4292         ~root test.
4294 1998-04-17 07:53  H.J. Lu  <hjl@gnu.org>
4296         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Fix a typo.
4298 1998-04-17 11:32  Ulrich Drepper  <drepper@cygnus.com>
4300         * libio/oldfileops.c (_IO_old_file_seekoff): Define temporary st
4301         variable using _G_stat64.
4302         * libio/fileops.c: Remove macro definition of fstat, it is in the
4303         global header.
4304         Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
4306 1998-04-17  Philip Blundell  <pb@nexus.co.uk>
4308         * sysdeps/arm/strlen.S: New file, based on code by Matthew Wilcox
4309         <willy@odie.barnet.ac.uk>.
4311 1998-04-16  Philip Blundell  <Philip.Blundell@pobox.com>
4313         * inet/netinet/in.h (IN6_IS_ADDR_MC_NODELOCAL): New macro,
4314         required by IPv6 Basic API.
4315         (IN6_IS_ADDR_MC_LINKLOCAL): Likewise.
4316         (IN6_IS_ADDR_MC_SITELOCAL): Likewise.
4317         (IN6_IS_ADDR_MC_ORGLOCAL): Likewise.
4318         (IN6_IS_ADDR_MC_GLOBAL): Likewise.
4320 1998-04-15 16:41  Ulrich Drepper  <drepper@cygnus.com>
4322         Don't name internal representation since it might be different from
4323         the external form (namely on little endian machines).
4324         * iconv/gconv_builtin.h: Add UCS4 support.  Change references to
4325         UCS4 into references to INTERNAL.
4326         * iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters.
4327         Add endianess support to UCS functions.  Change references to
4328         UCS4 into references to INTERNAL.
4329         * iconv/gconv_int.h: Change references to UCS4 into references to
4330         INTERNAL.
4331         * iconv/iconv_prog.c: Don't mention INTERNAL in --list output.
4332         * iconvdata/gconv-modules: Change accordingly.
4333         * wcsmbs/wcsmbsload.c: Change names to use INTERNAL.
4335         * iconv/gconv_simple.c: Adjust input buffer pointer for output buffer
4336         overflow.
4337         * iconvdata/8bit-gap.c: Likewise.
4338         * iconvdata/8bit-generic.c: Likewise.
4339         * iconvdata/big5.c: Likewise.
4340         * iconvdata/euccn.c: Likewise.
4341         * iconvdata/eucjp.c: Likewise.
4342         * iconvdata/euckr.c: Likewise.
4343         * iconvdata/euctw.c: Likewise.
4344         * iconvdata/iso646.c: Likewise.
4345         * iconvdata/iso6937.c: Likewise.
4346         * iconvdata/iso8859-1.c: Likewise.
4347         * iconvdata/johab.c: Likewise.
4348         * iconvdata/sjis.c: Likewise.
4349         * iconvdata/t61.c: Likewise.
4350         * iconvdata/uhc.c: Likewise.
4352         * iconvdata/8bit-gap.c: Correct access to to_ucs4 array.
4353         * iconvdata/8bit-generic.c: Likewise.
4355         * iconvdata/TESTS: Add more tests.
4357         * sysdeps/i386/bits/byteswap.h: Change to use "=r" when ror is used.
4359 1998-04-15 11:47  Ulrich Drepper  <drepper@cygnus.com>
4361         * iconvdata/Makefile: Better rules to run tests.
4363         * iconvdata/testdata/ISO-8859-1..UTF8: New file.
4364         * iconvdata/testdata/ISO-8859-10: Likewise.
4365         * iconvdata/testdata/ISO-8859-10..UCS2: Likewise.
4366         * iconvdata/testdata/ISO-8859-2: Likewise.
4367         * iconvdata/testdata/ISO-8859-2..UCS4: Likewise.
4368         * iconvdata/testdata/ISO-8859-2..UTF8: Likewise.
4369         * iconvdata/testdata/ISO-8859-3: Likewise.
4370         * iconvdata/testdata/ISO-8859-4: Likewise.
4371         * iconvdata/testdata/ISO-8859-5: Likewise.
4372         * iconvdata/testdata/ISO-8859-6: Likewise.
4373         * iconvdata/testdata/ISO-8859-7: Likewise.
4374         * iconvdata/testdata/ISO-8859-8: Likewise.
4375         * iconvdata/testdata/ISO-8859-9: Likewise.
4377 1998-04-15  Ulrich Drepper  <drepper@cygnus.com>
4379         * iconvdata/run-iconv-test.sh: Handle $from..$t file to compare
4380         intermediate result (if available).
4382         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in
4383         last change.
4385         * iconvdata/Makefile: Add rules to run run-iconv-test.sh.
4386         (distribute): Add run-iconv-test.sh and testdata/*.
4388         * stdlib/testmb.c (main): Simplify mbc array handling.
4390 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4392         * elf/dl-minimal.c (__strtol_internal): Correct range check.  Fix
4393         return value on overflow.
4395 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4397         * sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64
4398         bits.
4400 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4402         * malloc/mtrace.c (mtrace): Use standard function setvbuf instead
4403         of non-standard function setbuffer.
4405 1998-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4407         * stdio-common/perror.c: Include <string.h> for __strerror_r.
4409 1998-04-14 23:54  Ulrich Drepper  <drepper@cygnus.com>
4411         * iconvdata/Makefile: Add rules to run tests.
4412         * iconvdata/TESTS: New file.
4413         * iconvdata/run-iconv-test.sh: New file.
4414         * iconvdata/testdata/ISO-8859-1: New file.
4416         * iconv/iconv_prog.c (main): Call process_block with OUTPUT stream,
4417         not stdout.
4419 1998-04-14 18:22  Ulrich Drepper  <drepper@cygnus.com>
4421         * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
4422         counter element of step.
4424         * iconv/gconv_dl.c: Don't mark get_sym as internal function.
4426         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Correct loop
4427         termination test.
4428         (__gconv_transform_ucs4_utf8): Likewise.  Remove unnecessary variable
4429         ACTUALLY.
4430         (__gconv_transform_utf8_ucs4): Correct test for empty input.
4432 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
4434         * Makefile: Include makeconfig before defining rule to regenerate
4435         configure files.
4437         * configure.in: Remove restriction on compiling without static
4438         libs.
4440 1998-04-14 16:34  Ulrich Drepper  <drepper@cygnus.com>
4442         * test-skeleton.c: Provide hook for initializing code before the fork.
4443         * rt/tst-aio.c: Use PREPARE hook to make suer temp files are always
4444         removed.
4446         * libio/fcloseall.c (__fcloseall): Return return value of _IO_cleanup.
4447         * libio/genops.c (_IO_cleanup): Return return value of _IO_flush_all.
4448         * libio/libioP.h: Adopt _IO_cleanup prototype.
4450         * stdlib/Makefile (tests): Add test-canon2.
4451         * stdlib/test-canon2.c: New file.
4452         * stdlib/canonicalize.c (canonicalize): Allow RESOLVED parameter to
4453         be NULL.  Use __lxstat, not __lstat.  Correctly recognize long
4454         symlink sequences.
4455         (__realpath): Make real function which checks RESOLVED parameter for
4456         not being NULL.
4458 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
4460         * catgets/open_catalog.c (__open_catalog): Fix problems with
4461         reading non-files.  Always close file.
4462         Reported by Cristian Gafton <gafton@redhat.com>.
4464         * elf/dl-minimal.c (__strtol_internal): Prevent overflow warnings.
4466 1998-04-14 13:28  Ulrich Drepper  <drepper@cygnus.com>
4468         * libc.map: Add various low-level I/O functions.
4470 1998-04-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
4472         * string/Makefile (routines): Remove strerror_r.
4473         * string/strerror_r.c: Removed.
4474         * string/strerror.c: Call __strerror_r for doing the real work.
4475         * sysdeps/generic/_strerror.c: Rename function to __strerror_r and
4476         add weak alias strerror_r.
4477         * sysdeps/mach/_strerror.c: Likewise.
4478         * assert/assert-perr.c: Use __strerror_r instead of _strerror_internal.
4479         * elf/dl-error.c (_dl_signal_error): Likewise.
4480         * elf/dl-profile.c (_dl_start_profile): Likewise.
4481         * gmon/gmon.c (write_gmon): Likewise.
4482         * stdio-common/perror.c: Likewise.
4483         * stdio-common/vfprintf.c: Likewise.
4485 1998-04-10  Mark Kettenis  <kettenis@phys.uva.nl>
4487         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
4488         (sysdep_headers): Add netatalk/at.h.
4490 1998-04-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4492         * manual/socket.texi, manual/creature.texi, manual/time.texi:
4493         Formatting fixes.
4495 1998-04-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4497         * posix/regex.c: Rename __re_syntax_options back to
4498         re_syntax_options, aliases do not work with global variables due
4499         to copy relocations.
4500         (regex_compile): Use syntax parameter instead of
4501         re_syntax_options.
4503 1998-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4505         * configure.in: Document that enable-force-install is default.
4507 1998-04-13  Ulrich Drepper  <drepper@cygnus.com>
4509         * sysdeps/posix/mktemp.c: Increment `value' in a way which touches
4510         all needed 36 bits.
4511         * sysdeps/posix/mkstemp.c: Likewise.
4513 1998-04-13 17:40  Ulrich Drepper  <drepper@cygnus.com>
4515         * iconvdata/8bit-gap.c: Simplify step data handling.
4516         * iconvdata/8bit-generic.c: Likewise.
4517         * iconvdata/big5.c: Likewise.
4518         * iconvdata/euccn.c: Likewise.
4519         * iconvdata/eucjp.c: Likewise.
4520         * iconvdata/euckr.c: Likewise.
4521         * iconvdata/euctw.c: Likewise.
4522         * iconvdata/iso6937.c: Likewise.
4523         * iconvdata/iso8859-1.c: Likewise.
4524         * iconvdata/jis0208.h: Likewise.
4525         * iconvdata/jis0212.c: Likewise.
4526         * iconvdata/jis0212.h: Likewise.
4527         * iconvdata/johab.c: Likewise.
4528         * iconvdata/ksc5601.h: Likewise.
4529         * iconvdata/sjis.c: Likewise.
4530         * iconvdata/t61.c: Likewise.
4531         * iconvdata/uhc.c: Likewise.
4533 1998-04-13 16:36  Ulrich Drepper  <drepper@cygnus.com>
4535         * manual/texinfo.texi: Updated from last version.
4537 1998-04-13 14:52  Ulrich Drepper  <drepper@cygnus.com>
4539         * iconvdata/cns11643.c: New file.
4540         * iconvdata/cns11643.h: New file.
4541         * iconvdata/cns11643l1.c: New file.
4542         * iconvdata/cns11643l1.h: New file.
4543         * iconvdata/euctw.c: New file.
4544         * iconvdata/Makefile: Add rules for EUC-TW and CNS.
4545         * iconvdata/gconv-modules: Likewise.
4547         * iconvdata/eucjp.c: Several bug fixes and improvements.
4548         * iconvdata/gb2312.h: Likewise.
4549         * iconvdata/jis0201.h: Likewise.
4550         * iconvdata/jis0208.h: Likewise.
4551         * iconvdata/jis0212.h: Likewise.
4553 1998-04-13 09:11  Ulrich Drepper  <drepper@cygnus.com>
4555         * iconvdata/eucjp.c: New file.
4556         * iconvdata/euccn.c: New file.
4557         * iconvdata/gb2312.h: New file.
4558         * iconvdata/gb2312.c: New file.
4559         * iconvdata/Makefile: Add rules for EUC-JP and EUC-CN.
4560         * iconvdata/gconv-modules: Likewise.
4562         * iconvdata/euckr.c: Use stdint.h instead of inttypes.h.
4564 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
4566         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
4567         (DL_FIND_ARG_COMPONENTS): Always initialize auxv.
4568         Patch by Mark Hatle <fray@kernel.crashing.org>.
4570 1998-04-12 22:47  Philip Blundell  <Philip.Blundell@pobox.com>
4572         * sysdeps/unix/sysv/linux/bits/socket.h (PF_APPLETALK): Correct
4573         comment.
4574         (PF_AAL5, AF_AAL5): Rename to *_ATMPVC.
4575         (PF_ATMSVC, PF_ECONET, AF_ATMSVC, AF_ECONET): Added.
4577 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
4579         * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations.
4581         * iconvdata/Makefile: Add rules for big5 conversion.
4582         * iconvdata/gconv-modules: Likewise.
4583         * iconvdata/big5.c: New file.
4585         * time/mktime.c (TYPE_MAXIMUM): Add missing cast.
4586         Patch by Jim Meyering.
4588 1998-04-11  Ulrich Drepper  <drepper@cygnus.com>
4590         * rt/tst-aio.c: Add test for aio_read and lio_listio.
4592         * rt/lio_listio.c: Correct total counter handling.
4594         * rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements
4595         from request queue.
4597         * test-skeleton.c (main): Make stdout unbuffered.  Improve message
4598         of signal on exit even more.
4600         * rt/aio_suspend.c (aio_suspend): Use PTHREAD_COND_INITIALIZER
4601         instead of call to pthread_cond_init.
4602         * rt/lio_listio.c (lio_listio): Likewise.
4603         * rt/lio_listio64.c (lio_listio64): Likewise.
4605         * nis/nis_findserv.c: Include sys/socket.h.
4607 1998-04-11 09:33  Ulrich Drepper  <drepper@cygnus.com>
4609         * Makeconfig (rtobjdir): New variable.
4610         (rpath-link): Add rtobjdir and thread directory, if available.
4612         * test-skeleton.c: Add support to remove temporary files.
4613         Always define test_dir.  Improve message about expected signal.
4615         * rt/Makefile (tests): Add tst-aio.
4616         Add rules for tst-aio to be linked with librt and thread library.
4617         * rt/aio_misc.c: Correct fundamental bugs.
4618         * rt/aio_suspend.c: Correct bug in test for available request.
4619         Initialize conditional variable.
4620         * rt/lio_listio.c: Initialize conditional variable.
4621         * rt/lio_listio64.c: Likewise.
4622         * rt/tst-aio.c: New file.
4624         * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
4625         * sysdeps/libm-ieee754/w_gamma.c: Likewise.  Adopt for ISO C 9x.
4626         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
4627         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
4628         * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
4629         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
4630         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
4632 1998-04-11 14:49  Mark Kettenis  <kettenis@landau.phys.uva.nl>
4634         * posix/regex.c [_LIBC] (__re_syntax_options): Initialize to 0.
4636 1998-04-10  Ulrich Drepper  <drepper@cygnus.com>
4638         * elf/dl-load.c (open_path): Use correct name for test whether
4639         directory in load path exists.
4641         * sysdeps/libm-ieee754/s_expm1.c: Remove variable one.
4642         * sysdeps/libm-ieee754/e_pow.c: Fix typo.
4643         Patches by Tom Rini <trini@kernel.crashing.org>.
4645         * wcsmbs/wcstof_l.c: Declare ____wcstoull_l_internal.
4646         * wcsmbs/wcstod_l.c: Likewise.
4647         * wcsmbs/wcstold_l.c: Likewise.
4649         * include/byteswap.h: New file.
4651         * malloc/mtrace.c (mtrace): Use smaller output buffer to reduce
4652         .bss segment size.  Patch by Joe Keane <jgk@jgk.org>.
4654         * inet/getnameinfo.c (getnameinfo): Change parameter to match
4655         declaration.  Patch by Richard Henderson.
4657 1998-04-10 12:40  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4659         * manual/process.texi (SIGCHLD example): Save errno.
4661 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
4663         * posix/regex.c: Define regerror really as __regerror.
4664         * posix/regex.h: Add __ protected prototypes for regcomp, regexec,
4665         regerror and regfree.
4667         * stdlib/strtof_l.c: Declare ____strtoull_l_internal.
4668         * stdlib/strtod_l.c: Likewise.
4669         * stdlib/strtold_l.c: Likewise.
4671         * intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros.
4673         * sysdeps/i386/i486/bits/string.h: Remove unused variables.
4675         * misc/syslog.c (closelog_internal): Set LogTag to NULL.
4676         Patch by Christian Gafton.
4678 1998-04-09 14:27  Ulrich Drepper  <drepper@cygnus.com>
4680         * manual/socket.texi (Interface Naming): Correct @deftypefun line
4681         for if_indextoname.
4683 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4685         * sysdeps/unix/sysv/linux/bits/sockunion.h: Fix error message.
4687         * manual/socket.texi (Interface Naming): Fix typo.
4689 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4691         * manual/examples/filesrv.c (main): Remove filename first.
4693         * manual/socket.texi (Address Formats): Change ?F_LOCAL, ?F_FILE,
4694         ?F_UNIX.
4696         * manual/examples/mkfsock.c (make_named_socket): Use PF_LOCAL
4697         instead of PF_UNIX.
4699         * manual/examples/filecli.c (main): Use AF_LOCAL
4700         instead of AF_UNIX.
4702 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
4704         * sysdeps/libm-ieee754/s_signgam.c: Define __signgam and make
4705         signgam weak alias.
4706         * sysdeps/libm-ieee754/w_lgamma.c: Use __signgam not signgam.
4707         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
4708         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
4709         * sysdeps/libm-ieee754/w_gamma.c: Likewise.
4710         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
4711         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
4713         * login/utmp_daemon.c (open_socket): Use __connect not connect.
4715 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4717         * configure.in: Add new option --enable-force-install.  Substitute
4718         force_install.
4719         * config.make.in (force-install): Set from configure.
4720         * Makerules (force-install): New phony target.
4721         * Makeconfig (+force): New variable.
4722         * Makefile: Use it in dependency list of installation targets.
4723         * db/Makefile: Likewise.
4724         * db2/Makefile: Likewise.
4725         * elf/Makefile: Likewise.
4726         * hurd/Makefile: Likewise.
4727         * iconv/Makefile: Likewise.
4728         * iconvdata/Makefile: Likewise.
4729         * intl/Makefile: Likewise.
4730         * localedata/Makefile: Likewise.
4731         * login/Makefile: Likewise.
4732         * po/Makefile: Likewise.
4733         * sunrpc/Makefile: Likewise.
4734         * sysdeps/mach/hurd/Makefile: Likewise.
4735         * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise.
4736         * sysdeps/unix/sysv/linux/Makefile: Likewise.
4737         * timezone/Makefile: Likewise.
4739 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4741         * sysdeps/unix/sysv/linux/getcwd.c: Use PATH_MAX as default
4742         alloc_size.  Pass return value of getcwd syscall to realloc.
4744 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4746         * manual/socket.texi: Spelling fixes.
4748 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4750         * elf/dl-load.c (print_search_path): Remove unused variable.
4752 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
4754         * login/utmp_file.c: use __ftruncate not ftruncate.
4755         * sysdeps/unix/common/syscalls.list: Add __ftruncate as real name
4756         for system call and make ftruncate weak alias.
4757         * posix/unistd.h: Add prototype for __ftruncate.
4758         * login/utmp_daemon.c (open_socket): Use __socket not socket.
4759         * nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv
4760         instead of snprintf and readv.
4761         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not
4762         snprintf.
4763         * stdlib/strtod.c: Call strtoull/wcstoull's internal functions
4764         directly.
4766 1998-04-08 20:06  Ulrich Drepper  <drepper@cygnus.com>
4768         * iconv/gconv_conf.c (__gconv_read_conf): Use __realpath not realpath.
4769         * iconv/gconv_db.c: Use __ protected regex functions.
4770         * iconv/gconv_simple.c: Use __mbsinit not mbsinit.
4771         * posix/getopt_init.c: Use __getpid not getpid.
4772         * posix/regex.c: Rename all global functions to start with __ and
4773         make old names weak aliases.
4774         * posix/regex.h: Adopt prototypes for this.
4775         * stdlib/canonicalize.c: Define __realpath, make canonicalize_file_name
4776         a weak alias and use __getcwd instead of getcwd.
4777         * stdlib/stdlib.h: Declare __realpath and __canonicalize_file_name.
4778         * stdlib/strtod.c: Use __btowc instead of btowc.
4779         * stdlib/strtol.c: Likewise.
4780         * sysdeps/libm-ieee754/s_matherr.c: Weaken definition of matherr.
4781         * sysdeps/unix/sysv/linux/errlist.c: Make sure definitions of sys_nerr
4782         and sys_errlist are weak.
4783         * wcsmbs/btowc.c: Define function as __btowc and make btowc weak alias.
4784         * wcsmbs/mbrtowc.c: Use __mbsinit not mbsinit.
4785         * wcsmbs/mbsnrtowcs.c: Likewise.
4786         * wcsmbs/mbsrtowcs.c: Likewise.
4787         * wcsmbs/wcsnrtombs.c: Likewise.
4788         * wcsmbs/wcsrtombs.c: Likewise.
4789         * wcsmbs/mbsinit.c: Define function as __mbsinit and make mbsinit
4790         weak alias.
4791         * wcsmbs/wchar.h: Declare __btowc and __mbsinit.
4792         * wctype/wctype.c: Define function as __wctype and make wctype
4793         weak alias.
4794         * wctype/wctype.h: Declare __wctype.
4796 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
4798         * stdio-common/vfscanf.c: Perform test in %l[ handling correctly.
4800 1998-04-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4802         * sysdeps/unix/sysv/linux/_G_config.h (_G_stat64): Define to
4803         stat64.
4804         (_G_OPEN64, _G_LSEEK64, _G_FSTAT64): Use namespace clean
4805         functions.
4806         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __lseek64 alias
4807         for __llseek.
4808         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4809         * sysdeps/unix/sysv/linux/llseek.c: Likewise.
4810         * sysdeps/generic/lseek64.c (lseek64): Rename to __lseek64, and
4811         make it a weak alias.
4812         * posix/unistd.h: Declare __lseek64.
4814         * libio/fileops.c (fstat) [_LIBC]: Use namespace clean function.
4815         (_IO_file_stat): Fix typo.
4816         (_IO_file_xsgetn): Update fd->_offset.  Read a multiple of the
4817         block size from the file.  Use __mempcpy if _LIBC.
4819 1998-04-07 20:32  Ulrich Drepper  <drepper@cygnus.com>
4821         * wcsmbs/btowc.c: Fix dozends of bugs in untested code.
4822         * wcsmbs/mbrtowc.c: Likewise.
4823         * wcsmbs/mbsnrtowcs.c: Likewise.
4824         * wcsmbs/mbsrtowcs.c: Likewise.
4825         * wcsmbs/wcrtomb.c: Likewise.
4826         * wcsmbs/wcsnrtombs.c: Likewise.
4827         * wcsmbs/wcsrtombs.c: Likewise.
4828         * wcsmbs/wctob.c: Likewise.
4830         * iconv/gconv-simple.c (__gconv_transform_ascii_ucs4): Compute
4831         position of next output character correctly.
4832         (__gconv_transform_ucs4_ascii): Count used input bytes correctly.
4834         * stdio-common/vfprintf.c (vfprintf): Clear state before used.
4836         * stdlib/strtod.c: Don't use mbtowc.
4838 1998-04-07 19:07  H.J. Lu  <hjl@gnu.org>
4840         * libio/fileops.c (_IO_file_xsgetn): Call __underflow () when
4841         what we want is smaller than a buffer.
4843 1998-04-07 18:14  Ulrich Drepper  <drepper@cygnus.com>
4845         * elf/dl-support.c (_dl_important_hwcaps): Define dummy version of
4846         this function.
4848 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
4850         * configure.in: Recognize --with-headers flag and determine
4851         commandline options to be used in compilation.
4852         * Makeconfig (+includes): Use $(sysincludes).
4853         * config.make.in (sysincludes): Define from SYSINCLUDES.
4854         * glibcbug.in: Use SYSINCLUDES information.
4855         Patches by Zack Weinberg.
4857 1998-04-07 19:03  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4859         * glibcbug.in: On linux, report version of kernel headers seen
4860         by compiler.
4862 1998-04-07 16:18  Ulrich Drepper  <drepper@cygnus.com>
4864         * libc.map: Add __asprintf to GLIBC_2.1.
4865         * elf/dlerror.c: Use __asprintf, not asprintf.
4866         * libio/stdio.h: Declare __asprintf.
4867         * stdio-common/asprintf.c: Define as __asprintf and make asprintf
4868         a weak alias.
4870         * elf/dl-minimal.c: Add definition of strtol and strtoul (und friends)
4871         to avoid inclusion from libc_pic.a.
4873         * elf/dl-runtime.c: Undo last patch.
4875         * stdlib/strtod.c: Don't use mbtowc, use btowc.
4877         * sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386"
4878         as default, use NULL.
4880 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4882         * resolv/Makefile: Include ../Makeconfig - needed for building
4883         static NSS module.
4885 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4887         * hesiod/Makefile (libnss_hesiod-inhibit-o): Remove condition for
4888         static-nss since we don't want hesiod in the static NSS.
4890         * nss/Makefile: Build only nss_files as static.
4892         * nss/function.def: Remove support for service db.
4894 1998-04-04 09:44  H.J. Lu  <hjl@gnu.org>
4896         * Makeconfig (CPPFLAGS-.oS): Add -DPIC.
4898 1998-04-04 18:29  Tim Waugh  <tim@cyberelk.demon.co.uk>
4900         * posix/wordexp-test.c: Make IFS per test-case.
4902 1998-04-07 17:50  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4904         * glibcbug.in: Report version of gcc in use.  Remove unused variable
4905         ENVIRONMENT.
4907 1998-04-07  Gordon Matzigkeit  <gord@profitpress.com>
4909         * aclocal.m4 (LIBC_PROG_BINUTILS): Use `-print-prog-name', not
4910         `-print-file-name' to find as and ld.
4912 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
4914         * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case
4915         template is wrong.  Remove unused varaible `ignored'.
4917 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4919         * libc.map: Export __libc_sa_len.
4921         * iconv/gconv_conf.c (MAXPATHLEN): Define correctly.
4923 1998-04-07 08:51  Ulrich Drepper  <drepper@cygnus.com>
4925         * iconv/gconv.c: Take care for NULL arguments.
4926         * iconv/gconv_dl.c: Make find_func function global.
4927         * iconv/gconv_int.h: Add prototype for __gconv_find_func.
4928         Add prototypes for ASCII conversion functions.
4929         * iconv/gconv_simple.c: Add ASCII conversion functions.
4930         * locale/C-ctype.c: Correct charset name.
4932         * wcsmbs/Makefile (distribute): Add wcsmbsload.h.
4933         (routines): Remove wmemrtowcs and wmemrtombs, add wcsnlen and
4934         wcsmbsload.
4935         * wcsmbs/btowc.c: Rewrite to use iconv functionality.
4936         * wcsmbs/mbrtowc.c: Likewise.
4937         * wcsmbs/mbsnrtowcs.c: Likewise.
4938         * wcsmbs/mbsrtowcs.c: Likewise.
4939         * wcsmbs/wcrtomb.c: Likewise.
4940         * wcsmbs/wcsnrtombs.c: Likewise.
4941         * wcsmbs/wcsrtombs.c: Likewise.
4942         * wcsmbs/wctob.c: Likewise.
4943         * wcsmbs/wchar.h: Add prototype for __wcslen, wcsnlen.  Remove
4944         prototypes for wmemr*.
4945         * wcsmbs/wcslen.c: Rename to __wcslen and make wcslen weak alias.
4946         * wcsmbs/wcsnlen.c: New file.
4947         * wcsmbs/wcsmbsload.c: New file.
4948         * wcsmbs/wcsmbsload.h: New file.
4950         * manual/filesys.texi: Mention risks of tmpnam and mktemp.
4952         * manual/install.texi: Describe some more critical points.
4954         * string/string.h: Add prototype for __strnlen.
4955         * string/strnlen.c: Rename to __strnlen and make strnlen weak alias.
4957         * sysdeps/posix/mktemp.c: Rewrite to allow many more files and
4958         much less predictable names.
4959         * sysdeps/posix/mkstemp.c: Likewise.
4961 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4963         * manual/libc.texinfo (Top): Change "file namespace" to "local
4964         namespace".
4966         * manual/socket.texi: Change file namespace to local namespace.
4967         (Out-of-Band Data): Remove unneeded variable link.
4968         (Host Address Functions): Use uint32_t consequently and add a
4969         number of clarifications for IPv4/IPv6, classless addresses.
4970         (Internet Namespace): Added some paragraphs about IPv6.
4971         Based on suggestions by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
4973 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
4975         Update for draft-ietf-ipngwg-bsd-api-new-01.txt:
4977         * resolv/netdb.h (getnameinfo): Use `socklen_t' not `size_t'.
4978         (NI_NUMERICHOST, et al.): Tidy up and add comments.
4979         (AI_NUMERICHOST): Define.
4980         (getnodebyname): New prototype.
4981         (AI_V4MAPPED, et al.): New constants.
4983         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro.
4984         * sysdeps/generic/bits/sockaddr.h (SA_LEN): Likewise.
4985         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add sa_len
4986         for socket.
4987         * sysdeps/unix/sysv/linux/sa_len.c: New file.
4988         * sysdeps/unix/sysv/linux/Dist: Add sa_len.c.
4990         * sysdeps/unix/sysv/linux/bits/socket.h: Make multiple #inclusion safe.
4992         * sysdeps/generic/bits/sockunion.h: New file, defining sockaddr_union.
4993         * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.
4994         * socket/Makefile (headers): Add bits/sockunion.h.
4995         * socket/sys/socket.h: Include <bits/sockunion.h>
4996         * inet/netinet/in.h: Include <bits/sockaddr.h> rather than
4997         <sys/socket.h>, to avoid getting sockaddr_union defined.
4998         * sysdeps/generic/bits/socket.h: Allow inclusion from netinet.in.h.
4999         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5000         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
5002         * sysdeps/unix/sysv/linux/if_index.c: Remove use of SIOCGIFCOUNT
5003         (2.2.x kernels won't have it).
5005 1998-04-06 21:21  Ulrich Drepper  <drepper@cygnus.com>
5007         * sysdeps/mach/hurd/bits/ioctls.h: Allow inclusion from hurd/ioctl.h.
5008         * sysdeps/mach/hurd/dl-sysdep.c: Use __ptr_t not caddr_t.
5009         * iconv/gconv_conf.c: Define MAXPATHLEN if not available before.
5010         Patches by UCHIYAMA Yasushi <uch@nop.or.jp>.
5012 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
5014         * manual/socket.texi (Socket Addresses): Fix a typo.
5015         (Interface Naming): New section.
5017 1998-04-05 23:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5019         * configure.in: Check for CC using $ac_tool_prefix, to handle
5020         cross-compilation.  Use AC_CHECK_TOOL to find MiG.
5021         * config.make.in: Add MIG to be substituted.
5022         * mach/Machrules: Don't define MIG variable.
5024         Patch by Gordon Matzigkeit <gord@profitpress.com>.
5026 1998-04-05  Mark Kettenis  <kettenis@phys.uva.nl>
5028         * elf/dl-load.c (decompose_rpath): Use local_strdup instead of
5029         strdupa to copy rpath.
5031 1998-04-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5033         * configure.in: Fix gcc version check.
5035         * aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less
5036         confusing.
5038 1998-03-31  Mark Kettenis  <kettenis@phys.uva.nl>
5040         * sysdeps/unix/bsd/unlockpt.c (unlockpt): Call __ptsname_r instead
5041         of ptsname_r.
5043         * stdlib/stdlib.h: Change prototype of ptsname_r to make it more
5044         like ttyname_r.
5045         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Likewise.
5046         * sysdeps/generic/ptsname.c (__ptsname_r): Likewise.
5047         * sysdeps/unix/grantpt.c (grantpt): Change check of return value
5048         of __ptsname_r accordingly.
5049         * login/openpty.c (openpty): Likewise.
5051 1998-06-04 18:47  H.J. Lu  <hjl@gnu.org>
5053         * libio/fileops.c (_IO_file_xsgetn): Adjust pointers.
5055 1998-04-06 13:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5057         * Makeconfig (libtypes): Redo H.J. Lu's change of 1998-03-27.
5059         * Makerules: Re-add missing rule for $(objpfx)stamp.oS.
5061 1998-04-06  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5063         * nis/ypclnt.c: Don't give YPERR_RPC back, use the do_ypcall
5064         return value for better error checking.
5066 1998-04-06  Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
5068         * elf/dl-runtime.c (fixup, profile_fixup): The final arg to
5069         _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT.
5071         * elf/elf.h (EM_SPARC64): Remove.
5072         (EM_SPARC32PLUS, EM_SPARCV9): Add.
5073         (HWCAP_SPARC_V9): Add.
5075         * elf/ldsodefs.h (_dl_hwcap): Declare.
5076         * sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask):
5077         Weaken so dlopen from static progies works.
5078         (WEAKADDR): New macro.
5079         (elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu.
5080         (LD_SO_PRELOAD): New macro.
5081         (elf_machine_fixup_plt): Cope with weak _dl_hwcap.
5082         (elf_machine_rela): Weaken _dl_rtld_map.
5084         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone
5085         to __clone, and remove the later's alias.
5086         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
5088         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from
5089         the kernel's structure.
5091         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file.
5092         Sparc needs a custom value of __KERNEL_NCCS.
5094 1998-04-06  Richard Henderson  <rth@cygnus.com>
5096         * sysdeps/generic/libc-start.c: Allow init and fini to be null.
5098         * sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main.
5099         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5101 1998-04-06  Richard Henderson  <rth@cygnus.com>
5103         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change,
5104         as the buffer is not properly aligned.
5105         Reported by Juan Cespedes <cespedes@debian.org>.
5107 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5109         * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL
5110         instead of AF_FILE.
5112 1998-04-05  Ulrich Drepper  <drepper@cygnus.com>
5114         * iconv/gconv_simple.c: Rewrite to not make use of the mb*towc*
5115         and wc*tomb* functions.
5117 1998-04-04 15:16  Philip Blundell  <Philip.Blundell@pobox.com>
5119         * sysdeps/unix/start.c: Fix typo.
5121 1998-04-04  Ulrich Drepper  <drepper@cygnus.com>
5123         * iconv/gconv_db.c (__gconv_find_transform): Fix typo.
5125 1998-04-03 23:38  Ulrich Drepper  <drepper@cygnus.com>
5127         * sysdeps/libm-ieee754/e_acos.c: Optimize by splitting large
5128         expressions and using array variables.
5129         * sysdeps/libm-ieee754/e_asin.c: Likewise.
5130         * sysdeps/libm-ieee754/e_j0.c: Likewise.
5131         * sysdeps/libm-ieee754/e_j1.c: Likewise.
5132         * sysdeps/libm-ieee754/e_log.c: Likewise.
5133         * sysdeps/libm-ieee754/e_pow.c: Likewise.
5134         * sysdeps/libm-ieee754/k_cos.c: Likewise.
5135         * sysdeps/libm-ieee754/k_sin.c: Likewise.
5136         * sysdeps/libm-ieee754/k_tan.c: Likewise.
5137         * sysdeps/libm-ieee754/s_atan.c: Likewise.
5138         * sysdeps/libm-ieee754/s_erf.c: Likewise.
5139         * sysdeps/libm-ieee754/s_expm1.c: Likewise.
5140         * sysdeps/libm-ieee754/s_log1p.c: Likewise.
5141         Patch by Naohiko Shimizu <nshimizu@et.u-tokai.ac.jp>.
5143 1998-04-03 23:17  Ulrich Drepper  <drepper@cygnus.com>
5145         * iconv/gconv.c: Rewrite of the low-level of gconv.
5146         * iconv/gconv.h: Likewise.
5147         * iconv/gconv_builtin.h: Likewise.
5148         * iconv/gconv_close.c: Likewise.
5149         * iconv/gconv_db.: Likewise.
5150         * iconv/gconv_dl.c: Likewise.
5151         * iconv/gconv_int.h: Likewise.
5152         * iconv/gconv_open.c: Likewise.
5153         * iconv/gconv_simple.c: Likewise.
5154         * iconvdata/8bit-gap.c: Adapt for rewrite.
5155         * iconvdata/8bit-generic.c: Likewise.
5156         * iconvdata/euckr.c: Likewise.
5157         * iconvdata/iso646.c: Likewise.
5158         * iconvdata/iso6937.c: Likewise.
5159         * iconvdata/iso8859-1.c: Likewise.
5160         * iconvdata/johab.c: Likewise.
5161         * iconvdata/sjis.c: Likewise.
5162         * iconvdata/t61.c: Likewise.
5163         * iconvdata/uhc.c: Likewise.
5165 1998-04-03 15:34  Ulrich Drepper  <drepper@cygnus.com>
5167         * iconv/gconv_int.h: New file.  Internal header.
5168         * iconv/Makefile (distribute): Add gconv_int.h.
5169         * iconv/gconv.h: Remove definition which are now in gconv_int.h.
5170         * iconv/gconv_builtin.c: Adopt for gconv_int.h introduction.
5171         * iconv/gconv_close.c: Likewise.
5172         * iconv/gconv_conf.c: Likewise.
5173         * iconv/gconv_db.c: Likewise.
5174         * iconv/gconv_dl.c: Likewise.
5175         * iconv/gconv_int.h: Likewise.
5176         * iconv/gconv_open.c: Likewise.
5177         * iconv/iconv.c: Likewise.
5178         * iconv/iconv_close.c: Likewise.
5179         * iconv/iconv_open.c: Likewise.
5180         * iconv/iconv_prog.c: Likewise.
5182 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
5184         * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the
5185         missing braces.
5187 1998-04-03  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5189         * nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags.
5191 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
5193         Based on patch from Pat Beirne:
5194         * sysdeps/unix/sysv/linux/arm/sysdep.S (__syscall_error): Same for
5195         PIC and non-PIC now.  Correctly negate error number.
5196         (errno): Use `%' not `@' in .type directives.
5198 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
5200         * sysdeps/i386/strtok.S: Change to use single exit point.
5201         * sysdeps/i386/i686/strtok.S: Likewise.
5203 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5205         * sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide
5206         default.
5208 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5210         * Makerules (installed-libcs): Fix typo.
5212 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5214         * iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC.
5215         (UHC-routines): Remove ksc5601.
5217 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
5219         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo
5220         introduced in last change.
5222 1998-04-03 06:22  Ulrich Drepper  <drepper@cygnus.com>
5224         * sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels
5225         before 2.1.92.
5227 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
5229         * sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry.
5231         * stdlib/isomac.c: Use -isystem instead of -I for system include
5232         dir.
5234 1998-03-30 08:05  H.J. Lu  <hjl@gnu.org>
5236         * resolv/res_comp.c (underscorechar): New.
5237         (middlechar): Allow '_'.
5239 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
5241         * intl/explodename.c (stdlib.h): Include that file only if
5242         STDC_HEADERS or _LIBC.
5243         (string.h): Include that file only if HAVE_STRING_H or _LIBC.
5244         Patch by Philippe De Muyter <phdm@macqel.be>.
5246 1998-04-01 21:08  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5248         * aclocal.m4 (AC_PROG_CC_LOCAL): Remove superfluous tests.
5249         (AC_PROG_CHECK_VER): New macro.
5250         * configure.in: Use AC_PROG_CHECK_VER to check versions of
5251         gcc, gmake, msgfmt, makeinfo.  Remove superfluous tests.
5253 1998-04-02 15:13  Ulrich Drepper  <drepper@cygnus.com>
5255         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: New file.
5256         * sysdeps/i386/i686/strtok.S: New file
5257         * sysdeps/i386/i686/strtok_r.S: New file
5259 1998-04-02  Mark Kettenis  <kettenis@phys.uva.nl>
5261         * posix/unistd.h: [__USE_FILE_OFFSET64] (lseek): Change return
5262         type to __off64_t.
5263         * libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset
5264         parameter as __off64_t instead of __off_t.
5265         (ftello): Make alias for ftello64 instead of ftello.  Change
5266         return type to __off64_t.
5268 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
5270         * sysdeps/i386/bits/string.h: Fix various typos.
5271         Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
5273         * sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92.
5275 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
5277         * sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without
5278         lchown syscall correctly.  [PR libc/541].
5280 1998-04-02 11:45  Ulrich Drepper  <drepper@cygnus.com>
5282         * localedata/Makefile: Correct testsuite rules.
5284         * iconvdata/gconv-modules: Set cost of ISO646 module to 2.
5285         * iconvdata/iso646.c: Fix conversion from UCS4.
5287         * elf/ldsodefs.h: Mark internal function with internal_function.
5288         * elf/dl-addr.c: Likewise.
5289         * elf/dl-close.c: Likewise.
5290         * elf/dl-debug.c: Likewise.
5291         * elf/dl-deps.c: Likewise.
5292         * elf/dl-error.c: Likewise.
5293         * elf/dl-fini.c: Likewise.
5294         * elf/dl-init.c: Likewise.
5295         * elf/dl-load.c: Likewise.
5296         * elf/dl-lookup.c: Likewise.
5297         * elf/dl-object.c: Likewise.
5298         * elf/dl-open.c: Likewise.
5299         * elf/dl-profile.c: Likewise.
5300         * elf/dl-reloc.c: Likewise.
5301         * elf/dl-runtime.c: Likewise.
5302         * elf/dl-symbol.c: Likewise.
5303         * elf/dl-version.c: Likewise.
5304         * elf/dlerror.c: Likewise.
5305         * sysdeps/generic/dl-sysdep.c: Likewise.
5306         * sysdeps/i386/dl-machine.h: Likewise.
5307         * intl/finddomain.c: Likewise.
5308         * intl/gettextP.h: Likewise.
5309         * intl/loadmsgcat.c: Likewise.
5311 1998-04-01 17:38  Ulrich Drepper  <drepper@cygnus.com>
5313         * iconv/gconv_simple.c: New builtins for UCS en/decoding.
5314         * iconv/gconv_builtin.h: Add definitions for new builtins.
5315         * iconv/gconv.h: Add prototypes for new builtins.
5317         * iconvdata/Makefile (modules): Add ISO646.
5318         Add rules for ISO646 module.
5319         (distribute): Add iso646.c.
5320         * iconvdata/gconv-modules: Add module and alias definition for
5321         ISO646 charsets.
5322         * iconvdata/iso646.c: New file.
5324 1998-04-01 16:10  Ulrich Drepper  <drepper@cygnus.com>
5326         * libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db.
5327         * iconv/iconv_prog.c: Implement --list option to print available
5328         coded character sets.
5330 1998-04-01 18:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5332         Make fread() read large blocks straight to the user buffer.
5334         * libio/fileops.c (_IO_file_xsgetn): New function.
5335         (_IO_file_jumps): Use it.
5336         * libio/libioP.h: Prototype it.
5338 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
5340         * iconv/gconv_conf.c (builtin_aliases): New variable.
5341         (__gconv_read_conf): Add builtin aliases.
5342         * iconv/gconv_builtin.c (builtin_map): Define BUILTIN_ALIAS as an
5343         noop macro before including gconv_builtin.h.
5344         * iconv/gconv_builtin.h: Add alias names.
5346         * iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute
5347         number of converted bytes correctly.
5349 1998-04-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5351         * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
5352         we only wait for a replay.
5354 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
5356         * iconvdata/Makefile: Finally fix dependencies for JOHAB and
5357         EUC-KR modules.
5359 1998-04-1 16:52  Philip Blundell  <pb@nexus.co.uk>
5361         * sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and
5362         use PLTJMP() rather than explicit (PLT).
5364         * sysdeps/arm/elf/start.S: Leave most of the initialisation for
5365         __libc_start_main().
5367         Based on patch from Pat Beirne:
5368         * sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER):
5369         Always define, not only #ifndef PIC.
5370         (DO_CALL): Pass fifth argument correctly in R4.
5371         (PSEUDO): Correct test for error, call syscall_error through PLT
5372         if PIC.
5374 1998-03-31 10:51  Philip Blundell  <pb@nexus.co.uk>
5376         * sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new
5377         definitions.
5379 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
5381         * iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and
5382         JOHAB.so.
5384 1998-04-01 13:20  Mark Kettenis  <kettenis@phys.uva.nl>
5386         * io/Makefile (static-only-routines): Add stat64, fstat64 and
5387         lstat64.
5389 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5391         * manual/Makefile: Use object-suffixes-for-libc instead of
5392         object-suffixes.
5393         * rpm/Makefile (install-lib): Likewise.
5395 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5397         * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug.
5399         * sysdeps/unix/sysv/linux/configure.in: Match $machine against
5400         `m68*', not only `m68k'.
5402 1998-04-01 10:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5404         * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
5406         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
5407         install lddlibc4.
5409 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5411         * iconvdata/Makefile: Use libKSC shared object in JOHAB and
5412         EUC-KR.
5414         * sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct
5415         comment.
5417 1998-03-30 08:43  H.J. Lu  <hjl@gnu.org>
5419         * sysdeps/alpha/elf/start.S: Let __libc_start_main do most of
5420         the init stuff.
5422 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5424         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for
5425         adjtimex syscall.
5426         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
5427         adjtimex.
5428         Patches by Dominik Kubla <kubla@sundiver.zdv.uni-mainz.de>.
5430 1998-03-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5432         * Makerules (install): Change comment for libc.so following the
5433         libc_nonshared changes.
5435 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5437         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo.
5439         * iconvdata/gap.pl: Avoid using %#06x.
5441 1998-03-31 19:55  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5443         * Makerules: Use $? instead of S^ when invoking ar.
5445 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5447         * db2/compat.h: Allow EFTYPE being defined.
5448         * sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
5449         * sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
5450         * sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
5451         * sysdeps/mach/bits/libc-lock.h: Fix typo.
5452         (__libc_once): Correctly unlock semaphore.
5453         * sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
5454         * sysdeps/unix/bsd/getpt.c: Fix typo.
5455         Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.
5457 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5459         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as
5460         macros.
5462 1998-03-31 18:11  Ulrich Drepper  <drepper@cygnus.com>
5464         * include/mntent.h: New file.
5466         * elf/Makefile (trusted-dirs.h): Append slash to filename.
5467         * elf/dl-load.c: Rewrite search path handling.
5468         * elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite.
5469         * elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK.
5470         * sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function.
5471         * elf/ldsodefs.h: Add prototype.
5473 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
5475         * nss/nsswitch.c (__nss_lookup): Adjust comment.
5477         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New
5478         function.
5480         * sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition.
5482         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string):
5483         New function.
5484         (HWCAP_IMPORTANT): New definition.
5486 1998-03-30 17:26  H.J. Lu  <hjl@gnu.org>
5488         * elf/dl-open.c (_dl_open): Fix a typo.
5489         (_dl_global_scope_alloc): Make it static.
5491 1998-03-30 17:20  Ulrich Drepper  <drepper@cygnus.com>
5493         * Makerules: Remove duplicate rules to handle stamp.oS.
5495 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5497         * manual/examples/inetsrv.c (main): Change prototype of
5498         make_socket following change in mkisock.c.
5500         * manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as
5501         example host.
5502         (main): Change prototype of init_sockaddr following change in
5503         isockadd.c.
5505         * manual/examples/mkisock.c (make_socket): Use uint16_t for port.
5506         * manual/examples/isockad.c (init_sockaddr): Likewise.
5508         * manual/examples/mkfsock.c (make_named_socket): Removed blank
5509         lines for clarification.
5510         (make_named_socket): Use strncpy instead of strcpy.
5511         Reported by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
5513 1998-03-30 13:28  Ulrich Drepper  <drepper@cygnus.com>
5515         * Makefile (parent-mostlyclean): Use object-suffixes-for-libc for
5516         determining libs to remove.
5517         (postclean): Add soversions.mk.
5518         * Makerules (common-mostlyclean): Add tests-static and generated
5519         files.
5521 1998-03-30 12:53  Ulrich Drepper  <drepper@cygnus.com>
5523         * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct
5524         scanning for \0.
5525         (__strncat_g): Add i686 specific code.
5527 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5529         * manual/install.texi (Reporting Bugs): Ask to include section
5530         names in reports.
5532 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5534         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit
5535         guard against direct inclusion.
5537 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5539         Rework support for libc_nonshared.a:
5540         * Makeconfig (object-suffixes-for-libc): New variable.
5541         * Rules: Remove handling of static-only and shared-only routines.
5542         * Makerules: Handle them here instead.  Use
5543         object-suffixes-for-libc instead of object-suffixes when dealing
5544         with libc objects.
5545         (object-suffixes-for-rules): Remove variable.
5546         (elide-routines.oS): Elide all routines except static-only
5547         routines.
5548         ($(objpfx)stamp.oS): Special rule for when static-only-routines is
5549         empty.
5550         (installed-libcs): Remove special case for .oS.
5551         (rmobjs): Likewise.
5553 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5555         * Makefile (do-collate-test, do-xfrm-test, do-tst-fmon,
5556         do-tst-rpmatch): New targets.
5557         (test): Use them.
5558         (install-locales): Ignore comment lines.
5560 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5562         * elf/Makefile ($(objpfx)ld.so): Depend on version script.
5563         ($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig.
5564         ($(objpfx)rtldtbl.h): Likewise.
5565         (CPPFLAGS-dl-load.c): Fix reference to object directory.
5567 1998-03-30 09:36  Ulrich Drepper  <drepper@cygnus.com>
5569         * manual/string.texi (Finding Tokens in a String): Extend strsep
5570         description and correct example.
5572 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5574         * manual/socket.texi: Remove misguided explicit line breaks and
5575         fix the formatting problem instead by reformulating the
5576         paragraphs.
5577         * manual/filesys.texi: Likewise.
5578         * manual/conf.texi: Likewise.  Don't typeset table with index
5579         fonts, that looks worse than a minimally overfull line.
5581 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5583         * nscd/Makefile (nscd-modules): Move definition outside of
5584         conditional.
5586         * pwd/Makefile: Use have-thread-library to test for thread
5587         library.
5589 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5591         * nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip.
5593         * iconvdata/uhc.c (gconv): Remove unused variable idx.
5595 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
5597         * sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c.
5599 1998-03-29  Ulrich Drepper  <drepper@cygnus.com>
5601         * nss/getXXent_r.c: Correctly handle failing setXXent function.
5603         * inet/netinet/in.h: Use cast to uint32_t in IPv4 macros.
5604         Reported by Andreas Jaeger.
5606 1998-03-29 20:59  Ulrich Drepper  <drepper@cygnus.com>
5608         * elf/Makefile: Fix typo.
5609         (distribute): Add dl-librecon.h.
5610         * elf/ldd.bash.in: Collect output of ldd --verify in verify_out.
5611         * elf/ldd.sh.in: Likewise.
5612         * elf/ldsodefs.h: Declare _dl_correct_cache_id.
5613         * elf/rtld.c (dl_main): In --verify mode allow platform specifc action.
5614         Use strsep correctly.
5615         (process_envvars): Allow platform specific variables.
5616         * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable.
5617         (_dl_load_cache_lookup): Test cache IDs found against
5618         _dl_correct_cache_id.
5619         * sysdeps/generic/dl-librecon.h: New file.
5620         * sysdeps/unix/sysv/linux/dl-librecon.h: New file.
5622         * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h.
5624 1998-03-29 16:50  Ulrich Drepper  <drepper@cygnus.com>
5626         * config.make.in (ldd-rewrite-script): New variable.
5627         * configure.in: Substitute ldd-rewrite-script.
5628         * elf/Makefile: Rewrite rules to generate ldd script.
5629         * elf/ldd.bash.in: Allow handling of non-ELF binaries.
5630         * elf/ldd.sh.in: Likewise.
5631         * sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4.
5632         * sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to
5633         point to sed script for libc4 handling insertion for ix86, m68, SPARC.
5634         * sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4.
5635         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file.
5637 1998-03-26 15:20  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5639         * inet/rcmd.c (iruserok): Remain setuid to the local user
5640         while .rhosts is actually read, to make .rhosts-over-NFS work
5641         (PR libc/524).  Use iruserfopen() for security checks on both
5642         hosts.equiv and .rhosts.  General cleanup.
5643         (iruserfopen): New function, performs careful checking on
5644         hosts.equiv/.rhosts files.  Disallows all the old forbidden
5645         stuff plus hard links to files.
5647 1998-03-29 09:26  Ulrich Drepper  <drepper@cygnus.com>
5649         * setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead.
5651         * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop.
5653 1998-03-29 02:02  H.J. Lu  <hjl@gnu.org>
5655         * sysdeps/i386/i486/bits/string.h: Fix typos.
5657 1998-03-28 00:13  H.J. Lu  <hjl@gnu.org>
5659         * sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New
5660         strong alias.
5662         * sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added.
5664         * libc.map (__ieee_get_fp_control, __ieee_set_fp_control):
5665         Added.  Used by libm.so on alpha.
5667 1998-03-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5669         * intl/bindtextdom.c [_LIBC]: Define strdup only if not yet
5670         defined.
5672 1998-03-27 07:29  H.J. Lu  <hjl@gnu.org>
5674         * Makerules (object-suffixes-for-rules): Add .oS only for
5675         building shared library.
5676         Add ranlib rule for nonshared library.
5677         (rmobjs): Fix typo.
5679         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved
5680         into for shared library only.
5681         (CPPFLAGS-.oS): Add -DPIC.
5682         (libtypes): Use $(object-suffixes-for-rules) instead of
5683         $(object-suffixes).
5685 1998-03-28  Ulrich Drepper  <drepper@cygnus.com>
5687         * sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile
5688         and install lddlibc4.
5690 1998-03-28 09:13  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5692         * iconvdata/gap.pl: Gobble rest of line with a scalar, not a
5693         hash.
5694         * iconvdata/gaptab.pl: Likewise.
5696 1998-03-27 22:46  Ulrich Drepper  <drepper@cygnus.com>
5698         * Rules: Allow Makefiles to specify test-static for tests which
5699         cannot be linked dynamically.
5700         * math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to
5701         tests-static.
5703         * libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next.
5705         * misc/error.c: Pretty print.
5707 1998-03-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5709         * Makerules (libc_nonshared-name): Remove variable.
5710         (installed-libcs): Use libc-name instead.
5711         ($(inst_libdir)/libc.so): Likewise.  Remove explicit reference to
5712         dynamic linker.
5714         * Makeconfig (link-libc): Link against libc_nonshared.a instead of
5715         libc.a.  Remove explicit reference to dynamic linker.
5717 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
5719         * iconvdata/iso8859-1.c (gconv): Add cast to assignment from char
5720         to wchar_t.
5721         * iconv/iconv_prog.c: Correctly test for write failure.
5722         * iconvdata/Makefile: Add rules for EUC-KR, UHC, and JOHAB conversions.
5723         * iconvdata/gconv-modules: Likewise.
5724         * iconvdata/euckr.c: New file.
5725         * iconvdata/johab.c: New file.
5726         * iconvdata/ksc5601.c: New file.
5727         * iconvdata/ksc5601.h: New file.
5728         * iconvdata/uhc.c: New file.
5729         Contributed by Jungshik Shin <jshin@pantheon.yale.edu>.
5731         * libio/fileops.c (_IO_file_fopen): Interpret x flag to fopen.
5732         * stdio/fopen.c: Correct handling of 'x' flag.
5733         Reported by Jason M. Petry <jason@ps.ohio-state.edu>.
5735 1998-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5737         * sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident.
5738         * sunrpc/rpcsvc/key_prot.x: Likewise.
5739         * sunrpc/key_prot.c: Likewise.
5741 1998-03-27 13:49  Ulrich Drepper  <drepper@cygnus.com>
5743         * sysdeps/i386/bits/string.h: Correct things which never worked.
5744         * sysdeps/i386/i486/bits/string.h: Add clobber marks.
5745         Patches by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
5747 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
5749         * intl/textdomain.c [_LIBC]: Define strdup only if not yet
5750         defined.  Reported by Thorsten Kukuk.
5752 1998-03-26 18:50  Ulrich Drepper  <drepper@cygnus.com>
5754         * sysdeps/unix/sysv/linux/lddlibc4.c: New file.
5756 1998-03-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5758         * manual/install.texi (Supported Configurations): Add
5759         arm-linuxaout and arm-none.
5761 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
5763         * version.h (VERSION): Bump to 2.0.93.
5765 1998-03-25 07:30  H.J. Lu  <hjl@gnu.org>
5767         * configure.in (libc_cv_ar_S): New to indicate if ar S works.
5769         * config.make.in (have-ar-S): New, substituted by libc_cv_ar_S.
5771         * Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S).
5772         (do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR).
5774 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
5776         * Makeconfig (link-libc): Add missing use of libc_nonshared.a.
5778 1998-03-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5780         Put the static-only routines in a separate library.
5781         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New
5782         variables.
5783         (all-object-suffixes): Add .oS.
5784         * Makerules (libc_static-name): New variable.
5785         (installed-libcs): Add libc_nonshared.a.
5786         ($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a.
5787         (object-suffixes-for-rules): New variable.  Use it instead of
5788         object-suffixes for generating compilation rules.
5789         (rmobjs): Also remove *.oS.
5790         * Rules (subdir_lib): Depend on $(objpfx)stamp.oS.
5791         ($(objpfx)stamp.oS): New target.
5793 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
5795         * Makefile (FAQ): Automatically check in regenerated FAQ.
5797 1998-03-26 10:16  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5799         * Makefile (INSTALL): Depend on install.texi, not maint.texi.
5801 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
5803         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h.
5804         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
5806         * sysdeps/generic/stub_warning: Removed.
5808         * Makefile (distribute): Add include/des.h.
5810         * manual/Makefile (distribute): Change dir-add.texi to
5811         dir-add.texinfo.
5813         * glibcbug.in: Create files safely when mktemp is not available.
5815         * sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again.
5816         Patch by a sun <asun@saul1.u.washington.edu>.
5818 1998-03-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5820         * libc.map: Rename getname to getnetname.
5822 1998-03-25 13:35  Ulrich Drepper  <drepper@cygnus.com>
5824         * manual/maint.texi: Use supported platform in examples.
5826         * manual/install.texi: Document some installation tips.
5828 1998-03-25 10:56  Ulrich Drepper  <drepper@cygnus.com>
5830         * posix/wordexp.c: Fix some memory leaks and makes $* more efficient.
5831         Fix a bug so that it returns an error if a numeric parameter is
5832         unset and WRDE_UNDEF is set.
5833         Patch by Andreas Schwab and Tim Waugh.
5834         * posix/wordexp-test.c: Add new new test.
5836 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
5838         * posix/regex.c (regex_compile): Last patch wasn't entirely
5839         correct.  Patch by Alain Magloire <alainm@rcsm.ece.mcgill.ca>.
5841 1998-03-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5843         * manual/filesys.texi (Scanning Directory Content): Fix typo.
5845 1998-03-25 09:24  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
5847         * sysdeps/i386/bits/string.h: Fix all assembler statements so that
5848         clobbered registers don't appear as operands.
5850 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5852         * posix/regex.c: Undefine ISASCII and ISPRINT before defining for
5853         Solaris' sake.
5855         * posix/regex.c (regex_compile): Don't allow non-alphabet
5856         characters in character set name.
5858 1998-03-25 00:00  Tim Waugh  <tim@cyberelk.demon.co.uk>
5860         * posix/wordexp.c (w_newword): New function.
5861         (do_parse_glob): New function.
5862         (parse_glob): Use do_parse_glob.  Now handles the case where a
5863         variable expansion causes a field-split.
5864         (wordexp): Use w_newword.
5865         (parse_arith): Likewise.
5866         (exec_comm): Likewise.
5867         (parse_comm): Likewise.
5868         (parse_param): Likewise.
5869         (parse_backtick): Likewise.
5871 1998-03-24 19:36  Tim Waugh  <tim@cyberelk.demon.co.uk>
5873         * posix/wordexp-tst.sh: Another test.
5875         * posix/wordexp-test.c: Two new tests.
5877         * posix/wordexp.c (parse_glob): Use w_addstr instead of realloc
5878         directly (the code using realloc was buggy).
5879         (parse_param): Fix typo in comment.
5881 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5883         * elf/dl-close.c (_dl_close): Replace questionable memcpy by loop.
5885 1998-03-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5887         * libc.map: Add more rpc auth functions/variables.
5889         * nscd/nscd.c: Add -g option to argp options.
5891 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5893         * configure.in: Be prepared for gcc 2.9.10 and up.
5894         * configure.in: Add missing disabling of quote characters in
5895         compiler version check.  Reported by HJ Lu.
5897 1998-03-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5899         * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h.
5901 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5903         * intl/locale.alias: Fix spelling of romanian.
5905         * sunrpc/Makefile (headers): Add rpc/rpc_des.h.
5906         (distribute): Remove des.h.
5907         * include/des.h: New file.
5908         * sunrpc/des.h: Moved to ...
5909         * sunrpc/rpc/rpc_des.h: ...here.
5911 1998-03-22  NIIBE Yutaka  <gniibe@mri.co.jp>
5913         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK):
5914         Fix paren.
5916 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5918         * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
5919         parameter const.  Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
5921 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5923         * elf/ldsodesf.h: New file.
5924         * elf/Makefile (distribute): Add ldsodefs.h.
5925         * elf/link.h: Separate internal information in exter header.
5926         * elf/rtld.c: Include elf/ldsodefs.h not link.h.
5927         * elf/dl-minimal.c: Likewise.
5928         * sysdeps/generic/dl-sysdep.c: Likewise.
5929         * elf/sprof.c: Likewise.
5930         * elf/dlsym.c: Likewise.
5931         * elf/dlvsym.c: Likewise.
5932         * elf/dlerror.c: Likewise.
5933         * elf/dladdr.c: Likewise.
5934         * elf/dlclose.c: Likewise.
5935         * elf/dlopen.c: Likewise.
5936         * elf/dl-addr.c: Likewise.
5937         * elf/dl-close.c: Likewise.
5938         * elf/dl-debug.c: Likewise.
5939         * elf/dl-deps.c: Likewise.
5940         * elf/dl-error.c: Likewise.
5941         * elf/dl-fini.c: Likewise.
5942         * elf/dl-init.c: Likewise.
5943         * elf/dl-load.c: Likewise.
5944         * elf/dl-lookup.c: Likewise.
5945         * elf/dl-object.c: Likewise.
5946         * elf/dl-open.c: Likewise.
5947         * elf/dl-profile.c: Likewise.
5948         * elf/dl-reloc.c: Likewise.
5949         * elf/dl-runtime.c: Likewise.
5950         * elf/dl-support.c: Likewise.
5951         * elf/dl-symbol.c: Likewise.
5952         * elf/dl-version.c: Likewise.
5953         * sysdeps/generic/dl-cache.c: Likewise.
5954         * sysdeps/generic/libc-start.c: Likewise.
5955         * iconv/gconv_dl.c: Likewise.
5956         * nss/nsswitch.c: Likewise.
5958 1998-03-23 13:45  Ulrich Drepper  <drepper@cygnus.com>
5960         * manual/nss.texi: The database is not called network but networks.
5961         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
5963 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5965         * configure.in: Correct test for compiler version.
5966         Check that LD_LIBRARY_PATH doesn't contain current path.
5968 1998-03-23 07:52  H.J. Lu  <hjl@gnu.org>
5970         * elf/dl-close.c (_dl_close): Fix byte count while removing
5971         the shared object from the global scope list and optimize
5972         a little bit.
5974 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5976         * manual/filesys.texi (Scanning Directory Content): Add missing
5977         closing brace.
5978         (Scanning Directory Content): Fix text.
5980 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5982         * manual/memory.texi (Heap Consistency Checking): Add paragraph
5983         explaining difference of -lmcheck and MALLOC_CHECK_.
5985 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5987         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some
5988         typos in comments.
5990 1998-03-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5992         * test-skeleton.c (main): Fix test for exit signal.
5994 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5996         * sysdeps/generic/strtok_r.c: Undefine __strtok_r.
5998 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6000         * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as
6001         appropriate.
6003 1998-03-23 11:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6005         * libc.map: Export __strtok_r.
6007 1998-03-23  Ulrich Drepper  <drepper@cygnus.com>
6009         * posix/regex.c (re_compile_fastmap): Remove unused variable
6010         num_regs and adjust comment.
6011         Patch by Jim Meyering <meyering@ascend.com>.
6013         * math/math.h (M_*l): Extend long double constants to be usable
6014         for 128 bit floats.  Patch by Richard Henderson.
6016 1998-03-23 11:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6018         * sysdeps/m68k/m68020/wordcopy.S: New file.
6020 1998-03-22  Ulrich Drepper  <drepper@cygnus.com>
6022         * posix/wordexp.c: Rewrite parse_param.
6023         Patch by Tim Waugh and Andreas Schwab.
6025 1998-03-21 23:46  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6027         * Rules: Update timestamps on empty object files.
6029 1998-03-21 09:15  Ulrich Drepper  <drepper@cygnus.com>
6031         * manual/filesys.texi (Scanning Directory Content): Add description
6032         of 64 bits scandir function and friends.
6034 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6036         * glibcbug.in: Use mktemp to generate unique file name for
6037         temporary files.
6039         * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not
6040         ptsname_r.  Use cast for execve call.
6042 1998-03-20 16:24  Ulrich Drepper  <drepper@cygnus.com>
6044         * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64.
6045         * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h.
6046         * io/sys/statvfs.h: New file.
6047         * sysdeps/generic/fstatvfs.h: New file.
6048         * sysdeps/generic/statvfs.h: New file.
6049         * sysdeps/generic/fstatvfs64.h: New file.
6050         * sysdeps/generic/statvfs64.h: New file.
6051         * sysdeps/generic/bits/statvfs.h: New file.
6052         * sysdeps/unix/sysv/linux/fstatvfs.c: New file.
6053         * sysdeps/unix/sysv/linux/statvfs.c: New file.
6054         * sysdeps/unix/sysv/linux/bits/statvfs.h: New file.
6056         * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files
6057         and f_ffree elements.
6059         * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print.  Define
6060         mount options in enum.
6062 1998-03-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6064         * configure.in: Check for recent egcs/gcc.
6066 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6068         * libc.map: Add alphasort64, scandir64, versionsort64.
6069         * dirent/Makefile (routines): Add scandir64, alphasort64, and
6070         versionsort64.
6071         * dirent/alphasort64.c: New file.
6072         * dirent/scandir64.c: New file.
6073         * dirent/versionsort64.c: New file.
6074         * dirent/dirent.h: Add LFS support for scandir, alphasort, and
6075         versionsort.
6076         * sysdeps/generic/readdir64.c: Rename to __readdir64 and make
6077         old name weak alias.
6078         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6080         * dirent/alphasort.c: Use strcoll instead of strcmp.
6082         * dirent/scandir.c: Optimize a bit.
6084         * dirent/versionsort.c: Pretty print.
6086 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6088         * string/string.h: Add prototype for __strtok_r.
6090 1998-03-20 12:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6092         * posix/Makefile: Fix typo in last change.
6094 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6096         * dirent/dirent.h (scandir): Make argument of select function const.
6097         * dirent/scandir.c (scandir): Likewise.
6098         Reported by David.Faure@insa-lyon.fr [PR libc/512].
6100 1998-03-19 14:28  Ulrich Drepper  <drepper@cygnus.com>
6102         * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
6103         weak alias.
6104         * sysdeps/i386/strtok_r.c: Likewise.
6106         * sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
6107         * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
6108         * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
6109         * sysdeps/libm-i387/i686/s_fmin.S: Likewise.
6110         * sysdeps/libm-i387/i686/s_fminf.S: Likewise.
6111         * sysdeps/libm-i387/i686/s_fminl.S: Likewise.
6113 1998-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6115         * intl/localealias.c: Remove unneeded define for strdup.
6117 1998-03-19 13:45  Ulrich Drepper  <drepper@cygnus.com>
6119         * manual/argp.texi: Adjust for better TeX output.
6120         * manual/arith.texi: Likewise.
6121         * manual/conf.texi: Likewise.
6122         * manual/filesys.texi: Likewise.
6123         * manual/header.texi: Likewise.
6124         * manual/lgpl.texinfo: Likewise.
6125         * manual/math.texi: Likewise.
6126         * manual/message.texi: Likewise.
6127         * manual/pattern.texi: Likewise.
6128         * manual/process.texi: Likewise.
6129         * manual/signal.texi: Likewise.
6130         * manual/socket.texi: Likewise.
6131         * manual/startup.texi: Likewise.
6132         * manual/stdio.texi: Likewise.
6133         * manual/terminal.texi: Likewise.
6134         * manual/examples/rprintf.c: Likewise.
6135         * manual/examples/testopt.c: Likewise.
6136         Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.
6138 1998-03-19 20:45  Tim Waugh  <tim@cyberelk.demon.co.uk>
6140         * posix/wordexp.c (parse_param): Don't immediately stop parsing a
6141         parameter name after seeing a digit if it's enclosed in braces.
6143 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
6145         * sysdeps/i386/i686/Implies: Add libm-i387/i686.
6147 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6149         * manual/memory.texi (Heap Consistency Checking): Document
6150         MALLOC_CHECK_.  Based on a text by Wolfram Gloger.
6152 1998-03-18 17:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6154         * manual/Makefile: Add missing rules.
6156 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
6158         * timezone/Makefile (generated): Define to remove all stamp files.
6160         * sysdeps/generic/strsep.c: Also undefine __strsep.
6162         * string/strdup.c: Undefine __strdup and strdup first.
6163         * string/strndup.c: Likewise.
6165         * string/bits/string2.h: Correct strtok_r and strsep.
6166         Add strndup optimization.
6168         * sysdeps/generic/strsep.c: Little optimization.
6170 1998-03-18 14:25  Ulrich Drepper  <drepper@cygnus.com>
6172         * string/bits/string2.h: Add optimization for strdup.
6173         Always define __strsep and __strtok_r and make real names available
6174         when feature select macros are defined.
6176 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6178         * manual/install.texi (Installation): Use i486-linux as example
6179         instead of the unsupported sunos4.
6180         (Reporting Bugs): Mention glibcbug script.
6181         (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.
6183 1998-03-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6185         * posix/wordexp-tst.sh: Make portable.  Add more tests.
6187         * posix/Makefile (do-globtest do-wordexp-test): New targets.
6189 1998-03-18 13:38  Ulrich Drepper  <drepper@cygnus.com>
6191         * sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
6192         * sysdeps/generic/libc-start.c: ...here, replacing former content.
6194         * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
6195         netpacket/packet.h.
6197         * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.
6199 1998-03-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6201         * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
6202         in enumerator for strict standard compliance.
6203         * sysdeps/generic/bits/resource.h: Likewise.
6205 1998-03-18 10:04  Philip Blundell  <pb@nexus.co.uk>
6207         * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
6208         (PLTJMP): New macro.
6210         * sysdeps/arm/fpu/__longjmp.S: New file, implementation of
6211         longjmp() when floating point enabled.
6212         * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
6213         * sysdeps/arm/__longjmp.S: Remove floating point code.
6214         * sysdeps/arm/setjmp.S: Likewise.
6216         * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
6217         * sysdeps/arm/bsd-_setjmp.S: Likewise.
6219         * sysdeps/arm/memset.S: New file; optimised ARM implementation of
6220         memset().
6222         * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
6223         prototype.
6225 1998-03-17 16:16  Philip Blundell  <pb@nexus.co.uk>
6227         Based on patches from Pat Beirne and Scott Bambrough:
6229         * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.
6231         * sysdeps/arm/bits/fenv.h: New file.
6233         * sysdeps/arm/dl-machine.h: New file.  Add ELF support.
6234         * sysdeps/arm/elf/setjmp.S: Likewise.
6235         * sysdeps/arm/elf/start.S: Likewise.
6236         * sysdeps/arm/init-first.c: Likewise.
6237         * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
6238         * sysdeps/arm/sysdep.h: Change format of .type directive.  Correct
6239         comment about floating point to reflect current reality.
6241         * sysdeps/unix/arm/brk.S: Support PIC.
6242         * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
6243         re-entrant code.
6244         * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
6245         return; call syscall_error through PLT.
6246         * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.
6248 1998-03-04 12:01  Philip Blundell  <pb@nexus.co.uk>
6250         * sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
6251         * sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
6252         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.
6254 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
6256         * dirent/list.c (test): Return error value.
6257         (main): Exit with error value.
6259         * sysdeps/unix/opendir.c (__opendir): Add missing initialization.
6261         * Makefile (distribute): Add test-skeleton.c.
6262         * test-skeleton.c: New file.
6263         * dirent/Makefile (tests): Add opendir-tst1.
6264         * dirent/opendir-tst1.c: New file.
6266 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
6268         * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
6269         Optimize memory handling.
6270         * sysdeps/unix/closedir.c: Optmize memory handling.
6272 1998-03-17  Ulrich Drepper  <drepper@cygnus.com>
6274         * posix/wordexp.c (parse_param): Fix off-by-on error in $@
6275         handling.  Optimize a bit.
6277 1998-03-18 00:25  Tim Waugh  <tim@cyberelk.demon.co.uk>
6279         * posix/wordexp.c (parse_comm): Allow quoting inside $(...).
6280         (parse_param): Fold in Andreas' fixes to do with when the end of
6281         the parameter name has been reached, and quoting inside ${...}.
6282         (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
6283         $((echo);(ls)).
6285 1998-03-16 22:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6287         * manual/maint.texi: Split out installation and contribution
6288         sections to their own appendices.  Misc cleanups.
6289         * manual/install.texi: New file.  Mention add-ons.  Refer to FAQ.
6290         * manual/contrib.texi: New file.
6291         * manual/libc.texinfo: Pull in new appendices.
6292         * manual/header.texi: Correct node pointer.
6294 1998-03-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6296         * manual/process.texi (Process Completion): Clarify return value
6297         of waitpid a bit.  Patch by Zack Weinberg. [PR libc/490]
6299 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6301         * posix/wordexp-test.c: Add more tests.
6302         (testit): Fix logic.
6304         * posix/wordexp.c (exec_comm): In the child, redirect stderr to
6305         /dev/null instead of closing it, close pipe.  Always chop off all
6306         trailing newlines.  Kill and reap child before returning error.
6307         (w_addword, parse_glob): Fix memory leak.
6308         (wordexp): Fix dangling pointer problem.
6310 1998-03-16  Ulrich Drepper  <drepper@cygnus.com>
6312         * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
6314         * posix/wordexp-test.c (main): Fix little thinkos and typos.
6316         * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
6317         directory index by only the language.
6319 1998-03-16 13:02  Tim Waugh  <tim@cyberelk.demon.co.uk>
6321         * posix/wordexp-tst.sh: Store test results in the
6322         ${common_objpfx}posix directory.
6324         * posix/wordexp-test.c: Remove temporary directory afterwards.
6326 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6328         * libc.map: Export internal versions of cancelable functions.
6330 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6332         * Makerules (MAKEFLAGS): Append `r'.
6334 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6336         * Makeconfig: Define have-thread-library, shared-thread-library
6337         and static-thread-library if a thread library is available.  Don't
6338         define rt.
6339         * nscd/Makefile: Compile nscd if have-thread-library.  Rename
6340         nscd-routines to nscd-modules.  Use shared-thread-library and
6341         static-thread-library in dependencies.
6342         * rt/Makefile: Only compile librt if have-thread-library is
6343         defined.
6344         * Makefile (subdirs): Always include rt subdir.
6346 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6348         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
6350 1998-03-14 21:55  Ulrich Drepper  <drepper@cygnus.com>
6352         * configure.in: Recognize variations for 32 MIPS processors.
6353         Don't assume ELF systems always have .weak, test for .weakext.
6355 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
6357         * configure.in: Irix6 is an ELF platform.
6359 1998-03-14 11:47  H.J. Lu  <hjl@gnu.org>
6361         * elf/dl-close.c (_dl_close): Stop unmapping the segments after
6362         unmapping the last loaded segment.
6364 1998-03-14 15:54  Ulrich Drepper  <drepper@cygnus.com>
6366         * configure.in: Set base_os for Irix6.
6367         Correct test for .weakext.
6369 1998-03-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6371         * elf/dl-deps.c (_dl_map_object_deps): Add first parameter
6372         (new_line) to _dl_debug_message call.
6374 1998-03-14 00:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
6376         * posix/wordexp.c (parse_param): Perform field-splitting after
6377         expanding positional parameter.
6379         * posix/wordexp-tst.sh: Test that field-splitting is performed
6380         after expanding positional parameter.
6382         * posix/wordexp.c (parse_param): Fixed memory leak in
6383         field-splitting after parameter expansion.
6385 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
6387         * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
6388         (get_toplvl_escape): Correctly terminate loop at EOF.
6389         Patch by Cristian Gafton <gafton@redhat.com>.
6391 1998-03-13 16:55  Ulrich Drepper  <drepper@cygnus.com>
6393         * string/tester.c (test_strpbrk): Add more strpbrk tests.
6394         (test_strsep): Likewise.  Correct horrible bugs.
6396         * string/bits/string2.h (strcspn): Optimize also reject string of
6397         length 2 and 3.
6398         (strspn): Likewise.
6399         (strpbrk): Likewise.
6400         (strsep): Likewise.  Correct bug with successive separators and
6401         separators at the end of the string.
6402         * sysdeps/generic/strsep.c: Correct bug with successive separators
6403         and separators at the end of the string.
6405 1998-03-13 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
6407         * posix/wordexp.c (parse_param): Positional parameters ($1, $2
6408         etc) now handled, as well as $$ (pid).
6410         * posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
6411         (distribute): Add wordexp-tst.sh.
6413         * posix/wordexp-tst.sh: New file.
6415         * posix/wordexp.c (parse_param): $# (or ${#}) expands to the
6416         number of positional parameters.  Renamed substitute_length to
6417         seen_hash.
6418         Don't free(env) is env is NULL.
6420 1998-03-13 16:50  Ulrich Drepper  <drepper@cygnus.com>
6422         * libc.map: Add pthread_attr_init to GLIBC_2.1.
6424 1998-03-13 15:01  Ulrich Drepper  <drepper@cygnus.com>
6426         * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
6427         for output file replacing gmon.out.
6428         Patch by Dean Gaudet <dgaudet@arctic.org>.
6430 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6432         * elf/dl-misc.c (_dl_debug_message): Fix printing of pid.  Clean
6433         up namespace.  Optimize finding end of line.
6435 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6437         * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
6438         securely.  Optimized.
6439         (process_dl_debug): Add ':' to list of separators.  Optimized.
6441 1998-03-13 10:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6443         * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
6444         isless, islessequal, islessgreater, isunordered): Return zero or
6445         one.
6447 1998-03-12 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
6449         * posix/wordexp-test.c: More tests.
6450         (main): Set up arena for pathname expansion tests (in a temporary
6451         directory).
6452         (testit): Don't check word count or word vector if return value is
6453         non-zero.
6455         * posix/wordexp.c (exec_comm): Always chop off terminating
6456         linefeed (just like bash does).
6457         (parse_param): Change lots of occurrences of "if (!*env)" to "if
6458         (!env || !*env)".
6459         (parse_param): For assignment inside parameter expansion, use all
6460         expanded words in assignment rather than just the first.
6461         (parse_param): Corrected return value for parameter expansion of
6462         an unset variable when WRDE_UNDEF is in effect.
6463         (parse_dollars): Don't field-split if quoted.
6464         (wordexp): Opening brace character isn't allowed unquoted.
6466 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
6468         * elf/dlerror.c: Fix concurrency problems with error string and
6469         number.
6471         * elf/dl-deps.c (_dl_map_object_deps): Print debug info when
6472         filter/auxiliary are being loaded.
6474 1998-03-12 14:24  Ulrich Drepper  <drepper@cygnus.com>
6476         * elf/dlerror.c (last_object_name): Removed.
6477         (dlerror): Don't use last_object_name.
6478         (_dl_error_run): Omit second argument to _dl_catch_error.
6479         * elf/dl-error.c (struct catch): Remove objname member.
6480         (_dl_signal_error): Construct string including objname when given.
6481         (_dl_catch_error): Remove objname handling.
6482         * elf/link.h (_dl_catch_error): Fix prototype and comment.
6483         * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
6484         * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
6485         * nss/nsswitch.c (nss_dlerror_run): Likewise.
6486         * iconv/gconv_dl.c (dlerror_run): Likewise.
6487         [Corrects PR libc/501].
6489 1998-03-12  Matthias Urlichs <smurf@noris.de>
6491         * nscd/nscd.c: Ignore SIGPIPE.
6493 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
6495         * nscd/nscd_getgr_r.c: Use __ protected names.
6496         * nscd/nscd_getpw_r.c: Likewise.
6498 1998-03-12  Matthias Urlichs <smurf@noris.de>
6500         * nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
6501         * nscd/nscd_getpw_r.c: Fix length calculation in result check,
6502         null bytes are not transmitted.
6504 1998-03-12 00:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6506         * powerpc/syscalls.list: Correct typo.
6507         * alpha/syscalls.list: Likewise.
6508         * mips/syscalls.list: Likewise.
6510 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
6512         * socket/sys/socket.h: Add prototype for __socket.
6514 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6516         * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
6518         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
6519         constants.
6521         * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
6522         definition here.
6523         * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
6524         definition here.
6526         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
6527         AF_* and PF_* constants.
6529         * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
6531 1998-03-11 15:27  Ulrich Drepper  <drepper@cygnus.com>
6533         * elf/rtld.c: Update help message.
6534         Install link maps for preloaded objects using main_map as loader.
6536         * elf/dl-misc.c: Use __libc_write instead of __write for debugging.
6537         * elf/dl-profile.c: Likewise.
6539         * elf/dlsym.c: Little optimization.
6540         * elf/dlvsym.c: Likewise.
6542 1998-03-11 14:56  Ulrich Drepper  <drepper@cygnus.com>
6544         * posix/wordexp-test.c: Move test for parameter list at the very
6545         beginning.
6547 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
6549         * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
6550         WRDE_REUSE flag is set.
6551         (parse_param): Allow `*', `@', and numbers in parameter names.
6552         (parse_dollars): Differentiate between arithmetic expansion and a
6553         command substitution that starts immediately with a sub-shell
6554         (like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
6555         (parse_param): Memory allocated with __alloca in a block was
6556         referenced outside that block.  Adjusted to use malloc/free.
6557         (parse_param): Adjusted field-splitting algorithm so that there is
6558         not necessarily a field split at the end of a parameter expansion.
6560 1998-03-10 19:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
6562         * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
6563         don't free words that have already been allocated.
6564         (parse_param): A dollar sign on its own will never have a pattern
6565         associated with it (like "${HOME%%/}" has), so don't try to free it.
6566         (parse_glob): Attempt to glob when an unquoted `[' is found
6567         (rather than an unquoted '{' (!)).  Also for unquoted '?'.
6568         (parse_glob): Sorted out quoting in a glob-able word.
6569         (parse_param): Added $* and $@ handling.
6571 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
6573         * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
6574         parsing it.
6576 1998-03-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6578         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
6579         _dl_debug_message.
6581 1998-03-12  Matthias Urlichs  <smurf@noris.de>
6583         * elf/dl-misc.c: Default for debug output should be stderr.
6584         * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
6585         * elf/dl-lookup.c: reference_name may be NULL or empty.
6587 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6589         * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
6591 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
6593         * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
6595         * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
6597 1998-03-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6599         * sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
6600         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
6602 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6604         * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
6605         init stuff.
6607 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6609         * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
6610         flag.
6612         * misc/syslog.c (vsyslog): Don't try to send if not connected to
6613         syslog daemon.
6614         (closelog_internal): Don't do anything if not connected.
6616 1998-03-10 17:54  Ulrich Drepper  <drepper@cygnus.com>
6618         * libc.map: Add _dl_debug_message.
6619         * elf/dl-misc.c: Make _dl_debug_message a function.  Print the PID
6620         before every line.
6621         * elf/fini.c: Correctly use new _dl_debug_message function.
6622         * elf/init.c: Likewise.
6623         * elf/dl-lookup.c: Likewise.
6624         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
6625         * elf/dl-load.c: Likewise.  Add more debugging prints.
6626         * elf/dl-reloc.c: Likewise.
6627         * elf/dl-version.c: Likewise.
6628         * elf/dl-support.c: Add variables for debugging.
6629         * elf/rtld.c: Likewise.  Recognize new debug options.
6630         * elf/link.h: Declare new variables.
6632         * elf/dl-deps.c (_dl_map_object_deps): Little optimizations.
6634 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6636         * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
6637         kernel headers.  Patch by a sun <asun@saul7.u.washington.edu>.
6639 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
6641         * posix/wordexp-test.c (command_line_test): New function to allow
6642         testing of specific cases from the command-line.
6644 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6646         * elf/dl-init.c (_dl_init_next): Print nicer messages.
6647         * elf/dl-fini.c (_dl_fini): Likewise.
6648         * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.
6650         * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
6651         symbol in debug message.
6652         (_dl_lookup_versioned_symbol_skip): Likewise.
6654 1998-03-10 19:43  Matthias Urlichs <urlichs@noris.de>
6656         * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
6657         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
6658         * manual/filesys/texi: Document this.
6660 1998-03-10 10:49  Ulrich Drepper  <drepper@cygnus.com>
6662         * manual/filesys.texi: Document the change below.
6664 1998-03-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6666         * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
6667         Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
6669 1998-03-10 00:10  Ulrich Drepper  <drepper@cygnus.com>
6671         * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
6672         instead scope.  If debugging display information about symbol
6673         resolving.
6674         (_dl_lookup_symbol): Call do_lookup with correct parameters.
6675         (_dl_lookup_symbol_skip): Likewise.
6676         (_dl_lookup_versioned_symbol): Likewise.
6677         (_dl_lookup_versioned_symbol_skip): Likewise.
6678         * elf/dl-support.c: Define _dl_debug_symbols.
6679         * elf/link.h: Add declaration for _dl_debug_symbols.
6680         * elf/rtld.c: Define _dl_debug_symbols.
6681         (process_dl_debug): Recognize symbols option.
6683 1998-03-09 23:36  Ulrich Drepper  <drepper@cygnus.com>
6685         * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
6686         in correct format.
6687         * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
6688         with correct parameters.
6689         [!PIC]: Initialize __libc_multiple_libcs.
6691 1998-03-09 18:21  Ulrich Drepper  <drepper@cygnus.com>
6693         * elf/dl-support.c (_dl_debug_bindings): Add definition.
6694         * elf/rtld.c (_dl_debug_bindings): Add definition.
6695         (process_dl_debug): Recognize bindings option.  Update help message.
6696         * elf/link.h (struct link_map): Add l_versyms member.
6697         (_dl_debug_bindings): Add declaration.
6698         * elf/version.c (_dl_check_map_versions): Initialize l_versyms.
6699         * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
6700         and l_reloc_result.
6701         * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
6702         (sym_val): Remove a member, add m as link_map.
6703         (do_lookup): Return result appropriately.
6704         (_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
6705         Call do_lookup correctly.
6706         (_dl_lookup_symbol_skip): Likewise.
6707         (_dl_lookup_versioned_symbol): Likewise.
6708         (_dl_lookup_versioned_symbol_skip): Likewise.
6710 1998-03-09 08:21  Ulrich Drepper  <drepper@cygnus.com>
6712         * sysdeps/unix/sysv/linux/chown.c: Moved to ...
6713         * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
6715         * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
6716         * libc.map: Add chown to GLIBC_2.1.
6717         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
6718         * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
6720 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6722         * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
6723         weak alias.
6724         * sysdeps/alpha/ffs.c: Likewise.
6725         * sysdeps/am29k/ffs.c: Likewise.
6726         * sysdeps/i386/ffs.c: Likewise.
6727         * sysdeps/i960/ffs.c: Likewise.
6728         * sysdeps/m68k/ffs.c: Likewise.
6729         * sysdeps/m88k/ffs.c: Likewise.
6730         * sysdeps/powerpc/ffs.c: Likewise.
6731         * sysdeps/rs6000/ffs.c: Likewise.
6732         * sysdeps/vax/ffs.s: Likewise.
6733         * string/string.h: Declare __ffs.
6734         * libc.map: Export it.
6735         * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
6736         __builtin_ffs, which is not guaranteed to be namespace clean.
6738 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6740         * elf/sprof.c: Rewrite symbol handling to use the normal symbol
6741         table, which is much more likely to exist than debugging symbols.
6742         (printsym): Remove const.
6743         (load_shobj): Don't use _dl_pagesize.  Fix mapping of section
6744         header table.
6746         * libc.map: Export __profile_frequency, used by elf/sprof, to
6747         avoid infinite recursion during startup.
6749 1998-03-09 12:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6751         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
6752         Readd lost negate.
6754         * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
6756 1998-03-09  Ulrich Drepper  <drepper@cygnus.com>
6758         * elf/dl-support.c: Add definition of _dl_debug_impcalls.
6760 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
6762         * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
6763         LD_PRELOAD, and LD_VERBOSE.
6764         (dl_main): Use global variables set by process_envvars instead of
6765         calling getenv.
6766         * elf/dl-load.c (_dl_init_paths): Don't call getenv to get
6767         LD_LIBRARY_PATH value, this comes with the parameter.
6768         * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
6769         ("LD_LIBRARY_PATH") to _dl_init_paths.
6771 1998-03-08 22:55  Ulrich Drepper  <drepper@cygnus.com>
6773         * elf/rtld.c (dl_main): Delay initialization of path structure if
6774         the dynamically linker is invoked implicitly until we read the
6775         dynamic section.
6777 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
6779         * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
6781 1998-03-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6783         * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
6784         Linux 2.0 and 2.1.
6786         * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
6788 1998-03-08 14:58  Ulrich Drepper  <drepper@cygnus.com>
6790         * Makeconfig (nisobjdir): Set to path to nis directory.
6791         (rpath-link): Add nisobjdir.
6792         Patch by Sven Verdoolaege <skimo@kotnet.org>.
6794         * elf/Makefile: Pretty print.
6795         * elf/dl-lookup.c: Include unistd.h.
6796         * elf/dl-runtime.c: Likewise.
6798         * localedata/Makefile (test-srcs): Add tst-rpmatch.
6799         (distribute): Add tst-rpmatch.sh.
6800         (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
6802         New tests for rpmatch function by
6803         Jochen Hein <jochen.hein@delphi.central.de>.
6804         * localedata/tst-rpmatch.c: New file.
6805         * localedata/tst-rpmatch.sh: New file.
6807         * localedata/locales/de_DE: Correct yesexpr and noexpr.
6808         * localedata/locales/de_AT: Likewise.
6810         * posix/getopt.c: Update contact address.
6811         * posix/getopt1.c: Pretty print.
6813         * sysdeps/generic/libc-start.c: Do most of the initialization now
6814         here instead of in start.S.
6815         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
6816         * sysdeps/i386/elf/start.S: Remove most of the initialization code.
6818         * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
6819         profil_counter to be public.
6821 1998-03-08 13:06  Tim Waugh  <tim@cyberelk.demon.co.uk>
6823         * posix/wordexp.c (parse_arith): Now works for negative numbers too.
6824         (parse_param): Coded parameter length expansion (${#var}).
6825         (parse_param): Handling for "=", "+", "-", and the ":" versions added.
6826         (parse_param): Cleaned up (fixed) error handling.
6828         * posix/wordexp-test.c: IFS now includes non-whitespace character
6829         (comma).  Added more tests.
6831 1998-03-07  Ulrich Drepper  <drepper@cygnus.com>
6833         * elf/link.h: Fix typos.
6834         Reported by Andreas Jaeger.
6836         * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
6837         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
6839 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
6841         * argp/argp-help.c: Remove last bits of using gettext instead of
6842         dgettext.
6844 1998-03-06 17:04  Ulrich Drepper  <drepper@cygnus.com>
6846         * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
6847         __libc_start_main.
6848         * csu/Makefile (routines): Add libc-start.
6849         * elf/dl-error.c: Remove declaration of _dl_argv.  Include <unitsd.h>.
6850         * elf/dl-lookup.c: Likewise.
6851         * elf/dl-version.c: Likewise.
6852         * sysdeps/i386/dl-machine.h: Likewise.
6853         * elf/link.h: Declare _dl_argv, _dl_debug_fd.
6854         Declare _dl_sysdep_output.  Make _dl_sysdep_fatal, _dl_sysdep_error and
6855         _dl_sysdep_message macros which use _dl_sysdep_output.
6856         * elf/dl-fini.c: Write out which destructor is called while debugging.
6857         * elf/dl-init.c: Likewise for constructor.
6858         * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
6859         * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
6860         _dl_sysdep_message.  Add _dl_sysdep_output.
6861         * elf/rtld.c: Recognize LD_DEBUG_OUTPUT.  Set _dl_debug_fd if
6862         this file can be opened.
6863         For LD_DEBUG=libs also set _dl_debug_impcalls.
6864         * sysdeps/generic/dl-cache.c: Include unistd.h.
6865         * sysdeps/generic/libc-start.c: New file.
6866         * sysdeps/unix/sysv/linux/libc-start.c: New file.
6867         * sysdeps/i386/elf/start.S: Don't call main directly, call
6868         __libc_start_main instead.
6870         * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
6872 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
6874         * nss/nsswitch.c (__nss_nscd_not_available): Removed.
6876 1998-03-06 12:42  Ulrich Drepper  <drepper@cygnus.com>
6878         * argp/argp.h (struct argp): Add new field domain.
6879         * argp/argp-help.c: Change all gettext calls to dgettext and use
6880         domain field from appropriate argp in call.
6881         * argp/argp-parse.c: Likewise.
6883 1998-03-06 11:35  Ulrich Drepper  <drepper@cygnus.com>
6885         * posix/wordexp-test.c: Change testsuite so that it can run even
6886         for ~root != /root.
6888 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6890         * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
6892 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6894         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6895         Don't store into global errno if we already store through
6896         __errno_location.
6897         * sysdeps/unix/i386/sysdep.S: Likewise.
6898         * sysdeps/unix/alpha/sysdep.S: Likewise.
6899         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6900         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
6901         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.  Add
6902         missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
6903         PIC).
6905 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6907         * sysdeps/generic/sysdep.h (L): Remove definition.
6908         * sysdeps/i386/sysdep.h (L): Define it here instead.
6910 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6912         * nis/nis_call.c (__do_niscall): Safe and reset errno.
6914         * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
6916 1998-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6918         * sysdeps/generic/getresuid.c (__getresuid): Use ISO C
6919         declaration style to avoid warnings.
6921 1998-03-06 11:48  Mark M._Kettenis  <kettenis@hall.phys.uva.nl>
6923         * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
6924         "LD_DEBUG".
6926 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
6928         * posix/Makefile (tests): Add wordexp-test.
6929         * posix/wordexp-test.c: New file.  Testsuite for wrodexp.
6930         Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
6932 1998-03-05 16:04  Ulrich Drepper  <drepper@cygnus.com>
6934         * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
6935         dependencies.
6937         * elf/link.h (struct r_search_path_elem): Add two new field for
6938         lib path debugging.
6939         * elf/rtld.c: Recognize LD_DEBUG environment variable and set
6940         variable accordingly.
6941         * elf/dl-load.c: If _dl_debug_libs is nonzero print what library
6942         is considered next along with information about load paths.
6943         * sysdeps/generic/dl-cache.c: Likewise.
6944         * elf/dl-support.c: Define _dl_debug_libs.
6945         * elf/genrtldtbl.awk: Add initializers for two new field in
6946         struct r_search_path_elem.
6948 1998-03-06 10:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6950         * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
6951         * sysdeps/m68k/lshift.S: Likewise.
6952         * sysdeps/m68k/rshift.S: Likewise.
6953         * sysdeps/m68k/sub_n.S: Likewise.
6954         * sysdeps/m68k/m68020/addmul_1.S: Likewise.
6955         * sysdeps/m68k/m68020/mul_1.S: Likewise.
6956         * sysdeps/m68k/m68020/submul_1.S: Likewise.
6958         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
6959         [_LIBC_REENTRANT]: Don't store into global errno.
6961         * sysdeps/m68k/sysdep.h: New file.
6962         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it.  Use the macros
6963         ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
6964         (DO_CALL): Change to expect syscall name as argument.
6965         (PSEUDO): Pass syscall_name to DO_CALL.
6966         (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
6967         errno.
6969 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
6971         * elf/rtld.c: Speed up processing of environment variables.  Do
6972         only one run on the environment by avoiding to call getenv.
6973         * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
6974         function.  Used by patch above.
6976 1998-03-05  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6978         * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
6979         running nscd.
6980         * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
6981         * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
6982         * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
6984 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
6986         * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
6987         module cannot be found.  Reported by Andreas Jaeger.
6989 1998-03-05 11:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6991         * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
6992         on platforms which default to unsigned chars.
6993         * nscd/nscd_getpw_r.c: Likewise.
6994         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
6995         defining it.
6997 1998-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6999         * elf/Makefile (install-bin): Change = to += for sprof to install
7000         ldd also.
7002 1998-03-04 16:12  H.J. Lu  <hjl@gnu.org>
7004         * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
7006 1998-03-04 16:19  Ulrich Drepper  <drepper@cygnus.com>
7008         * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
7010 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7012         * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
7013         that a failure to connect to nscd doesn't change errno.
7015 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7017         * manual/maint.texi (Reporting Bugs): Change
7018         bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
7020         * locale/iso-4217.def: Likewise
7022 1998-03-04 12:43  Ulrich Drepper  <drepper@cygnus.com>
7024         * manual/texinfo.tex: Updated.
7026 1998-03-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7028         * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
7029         value.
7030         * sysdeps/posix/pathconf.c: Likewise.
7031         * posix/getconf.c: Print `undefined' if pathconf returns -1
7032         without setting errno.
7034 1998-03-04  Ulrich Drepper  <drepper@cygnus.com>
7036         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
7037         problem.
7038         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
7039         Patches by Elliot Lee <sopwith@cuc.edu>.
7041 1998-03-04 09:43  Ulrich Drepper  <drepper@cygnus.com>
7043         * elf/link.h (struct link_map): Add new field l_reloc_result.
7044         * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
7045         of relocation for the object to be profiled.
7046         * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
7047         to NULL.
7048         * elf/rtld.c (_dl_start): Add comment that we must not allocate an
7049         array here.
7050         * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
7051         contains a result from a previous run use this instead of computing
7052         the value again.
7053         * elf/dl-minimal.c (malloc): Remove limit for size of allocation.
7055 1998-03-04 11:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7057         * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
7058         offsets into the GOT.
7059         (RTLD_START): Likewise.
7061 1998-03-03 17:55  Ulrich Drepper  <drepper@cygnus.com>
7063         * elf/sprof.c: Cleanup a bit.
7065 1998-03-03 08:01  H.J. Lu  <hjl@gnu.org>
7067         * sysdeps/generic/sysdep.h (L): New. Define.
7069         * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
7071         * sysdeps/i386/i586/addmul_1.S: Fix a typo.
7073         * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
7074         to have only one exit point for functions.
7075         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7076         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
7077         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
7078         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7079         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7081 1998-03-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7083         * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
7084         reset errno so that errno isn't set to ENOSYS in the first call.
7085         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
7086         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
7087         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
7088         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
7090 1998-03-02 17:55  Ulrich Drepper  <drepper@cygnus.com>
7092         * sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
7093         * sysdeps/i386/addmul_1.S: Likewise.
7094         * sysdeps/i386/lshift.S: Likewise.
7095         * sysdeps/i386/mul_1.S: Likewise.
7096         * sysdeps/i386/rshift.S: Likewise.
7097         * sysdeps/i386/sub_n.S: Likewise.
7098         * sysdeps/i386/submul_1.S: Likewise.
7099         * sysdeps/i386/i586/add_n.S: Likewise.
7100         * sysdeps/i386/i586/addmul_1.S: Likewise.
7101         * sysdeps/i386/i586/lshift.S: Likewise.
7102         * sysdeps/i386/i586/mul_1.S: Likewise.
7103         * sysdeps/i386/i586/rshift.S: Likewise.
7104         * sysdeps/i386/i586/sub_n.S: Likewise.
7105         * sysdeps/i386/i586/submul_1.S: Likewise.
7107         * sysdeps/i386/sysdep.h: Extend last change.
7109         * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
7110         to have only one exit point for functions.
7112 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
7114         * configure.in: Fix msgfmt test.  Fix handling of //s in sysdeps
7115         search.
7117 1998-03-02 13:28  Ulrich Drepper  <drepper@cygnus.com>
7119         * Makerules: Generate libc.so with absolute paths for the used
7120         shared objects.
7122         * config.make.in: Add MAKEINFO definition.
7124 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
7126         * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
7127         (ENTRY): Use STABS_FUN.
7128         (END): Use STABS_FUN_END.
7129         (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
7131         * elf/Makefile: Add rules to build sprof program.
7132         * elf/sprof.c: New file.
7134 1998-02-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7136         * misc/syslog.c (openlog_internal): Insert missing closing brace.
7138 1998-02-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7140         * configure.in: Check for working msgfmt version (from GNU gettext
7141         0.10 or later).
7143 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
7145         * configure.in: Avoid //s in sysdirs.
7146         Patch by Roland McGrath.
7148         * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
7150 1998-03-02 07:17  H.J. Lu  <hjl@gnu.org>
7152         * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
7153         setting _dl_global_scope for RTLD_GLOBAL.
7155 1998-02-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7157         * sysdeps/unix/make-syscalls.sh: Fix last change so that all
7158         possible lists of object-suffixes are taken care of.
7160 1998-03-02 10:16  Ulrich Drepper  <drepper@cygnus.com>
7162         * timezone/private.h: Update from tzcode1998c.
7163         * timezone/zic.c: Likewise.
7164         * timezone/antarctica: Updated from tzdata1998c.
7165         * timezone/asia: Likewise.
7166         * timezone/australasia: Likewise.
7167         * timezone/europe: Likewise.
7168         * timezone/southamerica: Likewise.
7170 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
7172         * posix/glob.c (glob_in_dir): Add support for cases insensitive
7173         VMS.  Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
7175 1998-03-01 19:05  H.J. Lu  (hjl@gnu.org)
7177         * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
7178         Changed type of TWO43, TWO52 from float to double.
7179         * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
7180         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
7181         Changed type of TWO43 from float to double.
7182         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
7183         Use __isinff.
7185 1998-03-01 18:52  H.J. Lu  (hjl@gnu.org)
7187         * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
7188         osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
7189         osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
7191 1998-03-01 09:11  Richard Henderson  <rth@cygnus.com>
7193         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
7194         kernel_termios.h.
7195         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
7196         Clean up random whitespace.
7197         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
7198         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
7199         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
7200         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
7202 1998-03-01 08:31  Richard Henderson  <rth@cygnus.com>
7204         * shlib-versions: Match alpha*.
7205         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
7206         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
7208         * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
7209         Implement copysign* with and without __ prefix.
7210         Likewise for fabs; use builtin for gcc 2.8.
7211         (floor*): New.
7212         (fdim*): New.
7214         * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
7215         (R_SPARC*): Match current v9 ABI.
7217         * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
7219         * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
7220         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
7221         * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
7222         * sysdeps/generic/getresgid.c: Use prototype form because of warning.
7223         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
7224         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
7225         * sysdeps/unix/grantpt.c (argv): Fix consts.
7226         * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
7227         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7229 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7231         * misc/syslog.c: Change to allow user the interpretation of the
7232         outcome even with syslog having no return value.
7234 1998-02-05 20:41  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
7236         * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
7237         that the number of program headers is >0 (which is wrong for the
7238         loader itself).
7240 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7242         * Makefile (distribute): Add README.libm.
7244 1998-02-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7246         * time/clocktest.c (main): Correct typo: "--" -> "==".
7248 1998-02-25 20:53  H.J. Lu  <hjl@gnu.org>
7250         * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
7251         inline function.
7252         (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
7253         inline functions.
7255         * math/libm.map (__atan2): Added.
7257 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7259         * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
7260         Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
7262         * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
7263         bug.
7265 1998-02-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7267         * manual/arith.texi (Old-style number conversion): Correct
7268         typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
7270 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7272         * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
7273         but does not require it.  Handle missing argv[] values gracefully.
7274         * posix/execl.c: Likewise.
7275         * posix/execle.c: Likewise.
7277 1998-02-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7279         * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
7280         bit.
7281         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
7283 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7285         * libc.map: Add __adjtimex.
7287 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7289         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
7290         Remove memset.
7292 1998-02-24 08:10  H.J. Lu  <hjl@gnu.org>
7294         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
7295         to 64.
7297         * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
7299         * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
7300         * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.
7302         * sysdeps/unix/make-syscalls.sh: Make versioned symbols only
7303         for shared library.
7305         * libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
7307         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
7308         Added adjtimex and old_adjtimex.
7310         * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
7311         New.
7312         (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
7313         osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.
7315         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
7316         symbols only for shared library.
7317         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
7318         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
7319         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
7320         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
7321         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
7322         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
7323         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
7325         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
7326         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
7327         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
7328         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
7329         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
7330         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
7331         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
7332         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
7334         * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
7335         rusage pointer.
7337         * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
7338         New macros.
7339         (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
7340         timex and __adjtimex, respectively.
7342         * sysdeps/unix/sysv/linux/alpha/adjtime.c: New.
7344         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.
7346 1998-02-25 08:28  H.J. Lu  <hjl@gnu.org>
7348         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
7349         for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.
7351 1998-02-26 14:59  Ulrich Drepper  <drepper@cygnus.com>
7353         * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.
7355 1998-02-19 11:00  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7357         * Makefile.in: Disable built-in rules.
7359 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7361         * sysdeps/i386/fpu/t_exp.c: Move to ...
7362         * sysdeps/libm-i387/t_exp.c: ... here.
7364 1998-02-21 13:51  H.J. Lu  <hjl@gnu.org>
7366         * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
7367         from __exp2_deltatable.
7369 1998-02-26  Ulrich Drepper  <drepper@cygnus.com>
7371         * nis/ypclnt.c (yp_master): Check result of strdup.
7372         Patch by Thorsten Kukuk.
7374 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7376         * nis/ypclnt.c: Give clnt handle after error checking free, change
7377         return codes to fix problems with rpc.nisd in YP mode on Ultra's.
7379 1998-02-26 09:00  Ulrich Drepper  <drepper@cygnus.com>
7381         * misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
7382         Patch by Joe Keane <jgk@jgk.org>.
7384         * misc/fstab.h (struct fstab): Change fs_type member to be const.
7385         * misc/fstab.c: Remove casts in fs_type assignments.
7387 1998-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7389         * sysdeps/i386/fpu/bits/fenv.h: Correct typo.  ISO C 9X defines
7390         FE_TOWARDZERO and not FE_TOWARDSZERO.  Reported by H.J. Lu.
7391         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
7392         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
7393         * sysdeps/powerpc/bits/fenv.h: Likewise.
7394         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
7395         * sysdeps/generic/bits/fenv.h: Likewise.
7396         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
7397         * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
7398         * sysdeps/powerpc/test-arith.c (main): Likewise.
7400 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
7402         * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
7403         the comparison macros.
7405 1998-02-21 20:14  H.J. Lu  <hjl@gnu.org>
7407         * sysdeps/libm-ieee754/s_log2.c (ln2): Added.
7408         (__log2): Fixed return values.
7409         * sysdeps/libm-ieee754/s_log2f.c: Likewise.
7411 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
7413         * math/math.h (isunordered): Rename local variables to ensure
7414         correct code.  Reported by HJ Lu.
7416 1998-02-25 10:34  Ulrich Drepper  <drepper@cygnus.com>
7418         * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
7419         isless, islessequal, islessgreater, isunordered): Fix syntax for
7420         fucompip instruction.
7421         (isless, islessequal): Fix logic.
7423 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7425         * math/libm-test.c (sqrt_test): Add test for sqrt(2).
7426         (comparisons_test): New tests for comparison macros.
7428 1998-02-24 15:12  Ulrich Drepper  <drepper@cygnus.com>
7430         * Makeconfig: Filter out frame-pointer effecting options when
7431         compiling profiling or debugging code.
7432         * config.h.in (internal_function): Don't define here if PROF is
7433         defined.
7434         * gmon/gmon.c (__moncontrol): Don't change state if already in error
7435         state.
7436         (__monstartup): If calloc fails set error state and mark array as
7437         not allocated.
7438         (_mcleanup): Don't call write_gmon if in error state.  Don't try
7439         to free array if not  successfully allocated.
7441         * elf/dl-load.c (STRING): Define to __STRING to enble expansion.
7442         Include elf.h to get macro definitions.
7443         Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
7445 1998-02-24 09:40  Ulrich Drepper  <drepper@cygnus.com>
7447         * elf/ldd.sh.in: Add compatibility for broken old shells.
7448         * elf/ldd.bash.in: Likewise.
7450 1998-02-24 08:11  H.J. Lu  <hjl@gnu.org>
7452         * sunrpc/rpc_main.c (open_input): Check pipe return error.
7454         * time/clocktest.c (main): Check signal return error.
7456 1998-02-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7458         * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
7459         "/" and use do-install-program. Reported by Mark M. Kettenis.
7460         (subdir_install):  Likewise.
7462 1998-02-22  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7464         * sunrpc/rpc_sample.c: Fix typo.
7466         * nscd/connections.c: Use locale.
7467         * nscd/grpcache.c: Add debug messages, gidtbl should get the
7468           calloc result.
7469         * nscd/nscd.c: Check if init functions fails.
7470         * nscd/nscd_conf.c: Allow disabling of group cache.
7471         * nscd/nscd_getgr_r.c: Fix return code if group not found.
7472         * nscd/pwdcache.c: Fix debug messages.
7474 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7476         * libc.map: Add __monstartup and _mcleanup for profiling support.
7478 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7480         * libc.map: Export __getpagesize, for binary compatibility with
7481         2.0.
7483 1998-02-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7485         * posix/globtest.sh: Use --library-path instead of
7486         LD_LIBRARY_PATH.
7487         * localedata/sort-test.sh: Likewise.
7488         * localedata/tst-fmon.sh: Likewise.  Avoid useless use of cat.
7490 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7492         * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
7493         sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
7494         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7496         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
7497         kernel_sigaction): Define.
7498         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
7499         kernel_sigaction): Define.
7501 1998-02-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7503         * math/libm-test.c: Change epsilons for libm-ieee754.
7505 1998-02-23 12:33  Ulrich Drepper  <drepper@cygnus.com>
7507         * sysdeps/i386/__longjmp.S: Fix race condition.
7508         Reported by Bruno Haible <haible@ilog.fr>.
7510 1998-02-20 18:43  Ulrich Drepper  <drepper@cygnus.com>
7512         * hesiod/hesiod.c: Pretty print.  Don't use __ protected names.
7513         * iconvdata/8bit-gap.c: Likewise.
7514         * iconvdata/8bit-generic.c: Likewise.
7515         * iconvdata/iso6937.c: Likewise.
7516         * iconvdata/iso8859-1.c: Likewise.
7517         * iconvdata/sjis.c: Likewise.
7518         * iconvdata/t61.c: Likewise.
7520 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7522         * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
7523         feature tests by positive feature tests.
7525 1998-02-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7527         * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.
7529 1998-02-20  Ulrich Drepper  <drepper@cygnus.com>
7531         * elf/dlvsym.c (dlvsym_doit): More corrections.
7532         Patch by Andreas Jaeger.
7534 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
7536         * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.
7538 1998-02-19 17:16  Ulrich Drepper  <drepper@cygnus.com>
7540         * libc.map: More reordering for GLIBC_2.1 symbols.
7542 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7544         * libc.map: Move some functions from version GLIBC_2.0 to
7545         GLIBC_2.1, reorder declarations.
7547 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
7549         * resolv/gethnamaddr.c (addrsort): Make this function extern.
7550         Patch by zab@thebrain.grumblesmurf.net.
7552 1998-02-19  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7554         * nis/libnsl.map: NIS+ support is new in glibc 2.1, add
7555         NIS+ functions with version GLIBC_2.1.
7557 1998-02-19 14:05  Ulrich Drepper  <drepper@cygnus.com>
7559         * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
7560         with 2.0 binaries.  Reported by Thorsten Kukuk.
7562 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7564         * elf/dlvsym.c (dlvsym_doit): Correct last patch.
7566         * elf/dlsym.c (dlsym_doit): Likewise.
7568 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7570         * elf/link.h: Correct typos.
7572         * iconv/iconv_prog.c: Correct typo.
7574 1998-02-18 17:57  Ulrich Drepper  <drepper@cygnus.com>
7576         * iconv/Makefile: Add rules to build and install iconv program.
7577         * iconv/iconv_prog.c: New file.
7579 1998-02-18 16:34  H.J. Lu  <hjl@gnu.org>
7581         * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
7582         _dl_lookup_symbol_skip call.
7583         * elf/dlvsym.c (dlvsym_doit): Likewise.
7585 1998-02-18  Ulrich Drepper  <drepper@cygnus.com>
7587         * libio/iovsscanf.c: Do not include errno.h.
7589 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7591         * elf/dl-load.c (add_name_to_object): Don't translate strings.
7592         * elf/dl-minimal.c (_strerror_internal): Define it here to avoid
7593         pulling in the whole error list.
7594         (__dcgettext, dcgettext): Removed.
7595         * libc.map: Export _strerror_internal.
7597 1998-02-18 10:50  Ulrich Drepper  <drepper@cygnus.com>
7599         * sysdeps/i386/fpu/t_exp.c: New file.
7601 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7603         * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add
7604         everything with version GLIBC_2.1.
7605         * hesiod/libnss_hesiod.map: Likewise.
7607 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7609         * manual/arith.texi (Old-style number conversion): This node is a
7610         section, not a subsection.
7612 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7614         * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy.
7616 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7618         * elf/rtld.c (dl_main): Make sure that the library search paths
7619         have been initialized before the first call to _dl_map_object.
7621 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7623         * Makerules (common-generated): Add libc_pic.os.
7625 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7627         * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address
7628         of the executable.
7630 1998-02-18 10:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7632         * sysdeps/m68k/fpu/t_exp.c: New file.
7634 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
7636         * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
7637         to global errno variable anymore.
7639 1998-02-17 17:41  Ulrich Drepper  <drepper@cygnus.com>
7641         * elf/dl-load.c (open_path): Take extra argument PRELOADED.
7642         If PRELOADED is nonzero check in case of an SUID application
7643         whether the shared object has the SUID bit set.
7644         Fix some other problems with handling shared objects in system
7645         specific directories.
7646         (_dl_map_object): Also take extra parameter and pass it to open_path.
7647         * elf/link.h (_dl_map_object): Correct prototype and comment.
7648         * elf/rtld.c (dl_main): Call _dl_map_object correctly.
7649         * elf/dl-open.c (_dl_open): Likewise.
7650         * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.
7652         * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
7654 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
7656         * math/libm-test.c (modf_test): Add test for 1.5.
7658         * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
7659         0 to get always an int.
7661 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7663         * math/libm.map: Move all symbols that are new in glibc 2.1 to
7664         version GLIBC_2.1.
7666 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
7668         * stdio-common/vfscanf.c (inchar): Check c for being EOF before
7669         trying to read another character.
7671 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7673         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
7674         name to lowercase.
7676         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
7677         name to lowercase, add test for big enough buffer.
7679 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7681         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
7682         Make compatible with older kernels.  Patch by Richard Henderson.
7684 1998-02-17 15:10  Ulrich Drepper  <drepper@cygnus.com>
7686         * elf/dl-load.c (open_path): Use __xstat instead of stat.
7688         * localedata/tst-locale.sh: Comment out first test for now.
7690 1998-02-14 14:58  H.J. Lu  <hjl@gnu.org>
7692         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
7693         as 1.
7694         * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7695         Likewise.
7697         * libio/iogetline.c (_IO_getline_info): Renamed from
7698         _IO_getline.
7699         (_IO_getline): Just call _IO_getline_info.
7701         * libio/libioP.h (_IO_getline_info): New declaration.
7703         * libc.map (_IO_getline_info, __write): Added.
7705 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7707         * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
7708         const char* to shut up gcc.
7710 1998-02-17 11:37  Ulrich Drepper  <drepper@cygnus.com>
7712         * elf/dl-open.c (_dl_open): Assign correct value to new->l_global.
7713         Patch forwarded by Cristian Gafton <gafton@redhat.com>.
7715         * math/math.h: Define M_* constants always as `double' and add new
7716         macros M_*l which are of type `long double'.
7717         * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
7718         * sysdeps/libm-ieee754/s_cacosl.c: Likewise.
7719         * sysdeps/libm-ieee754/s_casinhl.c: Likewise.
7720         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
7721         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
7722         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
7723         * sysdeps/libm-ieee754/s_clogl.c: Likewise.
7724         * math/libm-tst.c: Likewise.
7726         * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
7727         define as long double unconditionally.
7729 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7731         * manual/arith.texi (Old-style number conversion): Correct some
7732         typos.
7734 1998-02-16 16:28  H.J. Lu  <hjl@gnu.org>
7736         * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
7737         Restore.
7739         * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.
7741 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
7743         * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
7744         on $(rtld-ldscript).
7746         * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
7747         starting from 0 not only from `from'.
7748         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7750 1998-02-16 17:33  Ulrich Drepper  <drepper@cygnus.com>
7752         * elf/rtld.c (dl_main): Recognize --library-path parameter and
7753         pass value (or NULL) to _dl_init_paths.
7754         * elf/dl-load.c (_dl_init_paths): Change to take one parameter,
7755         replacing local variable llp.  If llp is NULL examine LD_LIBRARY_PATH
7756         environment variable.
7757         * elf/link.h: Change prototype for _dl_init_paths.
7758         * elf/dl-support.c: Pass NULL in _dl_init_paths call.
7760         * localedata/Makefile (distribute): Add test files.
7762 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7764         * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
7765         test1.def, test2.def, test3.def, test4.def}: Simple input files
7766         for localedef. Contributed by Yung-Ching Hsiao
7767         <yhsiao@cae.wisc.edu>.
7769         * localedata/Makefile (tests): Call tst-locale.sh.
7771         * localedata/tst-locale.sh: New file, regression tests for some
7772         localedef problems.
7774 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7776         * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.
7778         * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
7779         terminated.
7780         * nis/nss_nisplus/nisplus-network.c: Likewise.
7781         * nis/nss_nisplus/nisplus-proto.c: Likewise.
7782         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
7783         * nis/nss_nisplus/nisplus-service.c: Likewise.
7785         Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
7786         and support generating thread safe RPC code.
7787         * sunrpc/rpc_main.c: Add changes.
7788         * sunrpc/rpc_clntout.c: Likewise.
7789         * sunrpc/rpc_cout.c: Likewise.
7790         * sunrpc/rpc_hout.c: Likewise.
7791         * sunrpc/rpc_parse.c: Likewise.
7792         * sunrpc/rpc_sample.c: Likewise.
7793         * sunrpc/rpc_scan.c: Likewise.
7794         * sunrpc/rpc_svcout.c: Likewise.
7795         * sunrpc/rpc_util.c: Likewise.
7796         * sunrpc/rpc_util.h: Add new structs and prototypes.
7797         * sunrpc/proto.h: Remove prototypes for static functions.
7799 1998-02-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7801         * locale/programs/ld-messages.c (messages_finish): Don't skip
7802         error checking when being quiet.
7803         * locale/programs/ld-ctype.c (ctype_finish): Likewise.
7804         (set_class_defaults): Likewise.
7805         * locale/programs/charmap.c (parse_charmap): Likewise.
7806         * locale/programs/ld-collate.c (collate_finish): Likewise.
7807         * locale/programs/ld-monetary.c (monetary_finish): Likewise.
7808         * locale/programs/ld-time.c (time_finish): Likewise.
7809         * locale/programs/locfile.c (write_locale_data): Likewise.
7811         * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
7812         unknown characters and empty ranges.
7813         * locale/programs/ld-collate.c (collate_order_elem): When
7814         processing an ellipsis properly form a linked list in the result
7815         table, fix typo when allocating ordering array.
7816         [PR libc/419]
7818 1998-02-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7820         * elf/Makefile (ld-map): Define.
7821         (rtld-ldscript): Define.  Change all `$(objpfx)rtld-ldscript' to
7822         `$(rtld-ldscript)'.
7823         ($(objpfx)ld.so): Combine the two versions of this rule.  Depend
7824         on $(ld-map).
7825         (rtld-link): Combine the two versions of this definition.  Fixed
7826         to make it work when no symbol versioning is used.
7828 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
7830         * Makeconfig (build-program-cmd): Use --library-path parameter to
7831         ld.so instead of environment variable.
7833         * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
7834         * sunrpc/rpc_main.c: Remove support for -$$ option again.
7836 1998-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7838         * Make-dist: Respect with-cvs setting.
7839         * MakeTAGS (all-pot): Likewise.
7840         * sysdeps/sparc/sparc32/Makefile: Likewise.
7841         * sysdeps/mach/hurd/Makefile: Likewise.
7842         * stdlib/Makefile: Likewise.
7843         * posix/Makefile: Likewise.
7844         * intl/Makefile: Likewise.
7845         * po/Makefile (linguas): Likewise
7847 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7849         * nis/ypclnt.c (yp_all): Remove error message, user should print it.
7851 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
7853         * libc.map: Add __strcasecmp.
7855         * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
7856         module.
7858         * nss/getXXent_r.c: If no more module is found don't try to call
7859         setXXent functions but leave unsuccessfully.
7861         * malloc/obstack.h: Cleanups.
7863         * sysdeps/wordsize-32/stdint.h: New file.
7864         * sysdeps/wordsize-64/stdint.h: New file.
7865         * sysdeps/generic/stdint.h: New file.
7866         * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h.
7867         * sysdeps/wordsize-64/inttypes.h: Likewise.
7868         * stdlib/Makefile (headers): Add stdint.h.
7870 1998-02-03  Paul Eggert  <eggert@twinsun.com>
7872         * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.
7874 1998-02-13 17:59  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7876         * timezone: New directory.
7877         * time/README, time/africa, time/antarctica, time/asia,
7878         time/australasia, time/backward, time/checktab.awk,
7879         time/etcetera, time/europe, time/factory, time/ialloc.c,
7880         time/iso3166.tab, time/leapseconds, time/northamerica,
7881         time/pacificnew, time/private.h, time/scheck.c,
7882         time/solar87, time/solar88, time/solar89, time/southamerica,
7883         time/systemv, time/test-tz.c, time/tzfile.h,
7884         time/tzselect.ksh, time/yearistype, time/zdump.c,
7885         time/zic.c, time/zone.tab: Moved to timezone.
7886         * time/tzfile.c: Include tzfile.h from timezone subdir.
7887         * time/tzset.c: Likewise.
7888         * time/Makefile: Cut out all code relating to timezones...
7889         * timezone/Makefile: ...and paste it in here.
7890         * Makefile (subdirs): Add timezone.
7892 1998-02-13 18:45  H.J. Lu  <hjl@gnu.org>
7894         * libc.map (_sys_nerr): Added.
7896         * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it
7897         versioned symbol.
7899 1998-02-15 17:16  Ulrich Drepper  <drepper@cygnus.com>
7901         * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
7902         pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
7903         Reported by Craig Metz <cmetz@inner.net>.
7905 1998-01-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7907         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
7908         instead of strcasecmp.
7909         * nss/nss_files/files-alias.c (get_next_alias): Likewise.
7911         * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8.
7913 1998-02-15 16:55  Ulrich Drepper  <drepper@cygnus.com>
7915         * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
7916         Patch by Dean Gaudet <dgaudet@arctic.org>.
7918 1998-02-15 16:53  Ulrich Drepper  <drepper@cygnus.com>
7920         * sysdeps/generic/Dist: Add getresgid.c and getresuid.c.
7922 1998-02-15 10:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7924         * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel
7925         with no poll syscall, just include the BSD version.
7926         * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a
7927         kernel without the syscall, include the stub version.
7928         * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
7929         * sysdeps/generic/getresuid.c: New file.
7930         * sysdeps/generic/getresgid.c: New file.
7932 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
7934         * stdio-common/vfscanf.c: Correct last change a bit.
7936 1998-02-13 17:39  Ulrich Drepper  <drepper@cygnus.com>
7938         * elf/Makefile: Don't use --version-script parameter to link ld.so
7939         unconditionally.
7941 1998-01-02 04:19  Geoff Keating  <geoffk@ozemail.com.au>
7943         * math/Makefile: Add t_exp.
7944         * math/libm-test.c: Tighten accuracy bounds for exp(), correct
7945         constants.
7946         * math/test-reduce.c: Remove temporarily, it seems to be broken.
7947         * sysdeps/libm-ieee754/e_exp.c: Use accurate table method.
7948         * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for
7949         better accuracy.
7950         * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct
7951         algorithm for very large/very small arguments.
7952         * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial;
7953         correct algorithm for very large/very small arguments; adjust for
7954         new table.
7955         * sysdeps/libm-ieee754/t_exp.c: New file.
7956         * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas.
7958         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test'
7959         back, with comment that explains what breaks when you remove it :-(.
7961         * localedata/xfrm-test.c: Avoid integer overflow.
7963         * stdlib/strfmon.c: char is unsigned, sometimes.
7965         * sysdeps/powerpc/Makefile: Remove quad float support.
7966         * sysdeps/powerpc/q_*.c: Remove, they will become an add-on.
7967         * sysdeps/powerpc/quad_float.h: Likewise.
7968         * sysdeps/powerpc/test-arith.c: Likewise.
7969         * sysdeps/powerpc/test-arithf.c: Likewise.
7971         * sysdeps/generic/s_exp2.c: Remove, we have this implemented now.
7972         * sysdeps/generic/s_exp2f.c: Likewise.
7974         * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__,
7975         don't try anything if _SOFT_FLOAT.
7977 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7979         * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
7980         * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
7981         * wctype/wctype.c: Likewise.
7982         * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
7983         changed.  They are incompatible with the _ISxxx values from
7984         <ctype.h> on little endian machines.
7985         (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
7986         bit number.  This fixes the real bug and restores the integrity of
7987         the ctype locale file.
7988         * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
7989         * wctype/wcfuncs_l.c: Likewise.
7990         * wctype/wcextra.c: Likewise.
7991         * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
7992         byte swapping.
7994 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7996         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it
7997         into .bss segment instead of .common, so that aliases on it work.
7999         * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and
8000         .size directives, put into .bss segment instead of initializing it
8001         to 4.
8003 1998-02-12 08:00  H.J. Lu  <hjl@gnu.org>
8005         * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added.
8007         * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New
8008         functions.
8009         Make names without __ weak aliases.
8010         (__libc_release, __libc_version): Make them static.
8012         * include/gnu/libc-version.h: New file.
8013         * Makefile (headers): Add gnu/libc-version.h.
8015 1998-02-13  Ulrich Drepper  <drepper@cygnus.com>
8017         * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
8018         and use x for member name.
8019         Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
8021         * stdlib/drand48.c: Change according to member name change.
8022         * stdlib/drand48_r.c: Likewise.
8023         * stdlib/lcong48_r.c: Likewise.
8024         * stdlib/lrand48.c: Likewise.
8025         * stdlib/lrand48_r.c: Likewise.
8026         * stdlib/mrand48.c: Likewise.
8027         * stdlib/mrand48_r.c: Likewise.
8028         * stdlib/seed48.c: Likewise.
8029         * stdlib/seed48_r.c: Likewise.
8030         * stdlib/srand48_r.c: Likewise.
8032 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8034         * nss/test-netdb.c: Add some more test cases.
8036 1998-02-13 11:39  Ulrich Drepper  <drepper@cygnus.com>
8038         * libio/iovsscanf.c: Undo last change modifying errno.
8040 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8042         * stdio-common/vfscanf.c: Never try to read another character
8043         after EOF.  Don't decrement read_in after EOF, it wasn't
8044         incremented in the first place.
8045         (NEXT_WIDE_CHAR): Set First, not first.
8047 1998-02-06 07:48  H.J. Lu  <hjl@gnu.org>
8049         * db/Makefile ($(inst_libdir)/libndbm.a,
8050         $(inst_libdir)/libndbm.so): New targets.
8051         * db2/Makefile: Likewise.
8053 1998-02-12 08:20  H.J. Lu  <hjl@gnu.org>
8055         * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak
8056         aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined.
8058 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8060         * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++
8061         <streambuf.h>.
8062         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
8064 1998-02-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8066         * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with
8067         versioned symbols.
8069 1998-02-13 08:14  H.J. Lu  <hjl@gnu.org>
8071         * libc.map (_dl_global_scope, _dl_lookup_symbol_skip,
8072         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip):
8073         Added for libdl.so.
8075 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8077         * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
8078         extra syscall.
8080         * grp/Makefile: Fix logic when checking for thread package.
8081         * pwd/Makefile: Likewise.
8083 1998-02-11 08:23  H.J. Lu  <hjl@gnu.org>
8085         * elf/Makefile (rtld-map): Replaced by libc-map.
8087         * elf/rtld.map: Removed.
8089         * libc.map (__libc_enable_secure, _dl_catch_error,
8090         _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state,
8091         _dl_default_scope, _dl_global_scope_end, _dl_init_next,
8092         _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps,
8093         _dl_object_relocation_scope, _dl_relocate_object,
8094         _dl_signal_error, _dl_starting_up, _dl_sysdep_start,
8095         _r_debug): Added for ld.so.
8097 1998-02-10 08:38  H.J. Lu  <hjl@gnu.org>
8099         * libio/iofclose.c: Check PIC && DO_VERSIONING instead of
8100         DO_VERSIONING.
8101         * libio/iofdopen.c: Ditto.
8102         * libio/iofopen.c: Ditto.
8103         * libio/oldfileops.c: Ditto.
8105         * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for
8106         version GLIBC_2.1.
8108         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed
8109         oldsiglist from sysdep_routines and shared-only-routines.
8111         * sysdeps/unix/sysv/linux/errlist.c: New.
8112         * sysdeps/unix/sysv/linux/errlist.h: New.
8113         * sysdeps/unix/sysv/linux/sizes.h: New.
8114         * sysdeps/unix/sysv/linux/alpha/sizes.h: New.
8115         * sysdeps/unix/sysv/linux/sparc64/sizes.h: New.
8117         * sysdeps/unix/sysv/linux/oldsiglist.c: Removed.
8119         * sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>.
8120         (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size
8121         directive.
8123         * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New.
8125         * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added.
8126         (oldsiglist.c): Removed.
8128         * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New.
8129         (_sys_siglist): Use SYS_SIGLIST instead.
8130         (_sys_nerr): Use SYS_NERR instead.
8132         * sysdeps/gnu/errlist.c: Rebuilt.
8134 1998-02-11 08:35  H.J. Lu  <hjl@gnu.org>
8136         * elf/Makefile (others-static): New, set to ldconfig.
8137         ($(objpfx)ldconfig): Removed.
8139         * Rules (binaries-all, binaries-static, binaries-shared): New.
8140         Create targets for $(binaries-static) and $(binaries-shared).
8142         * Makeconfig (+link-static, link-libc-static,
8143         link-extra-libs-static): New for static linking.
8145 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8147         * manual/memory.texi (Using the Memory Debugger): Fix typo.
8149         * math/libm-test.c (modf_test): Add one more test for modf.
8151 1998-02-11 14:39  Ulrich Drepper  <drepper@happy.cygnus.com>
8153         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
8154         Rename from __libc_have_rt_sigs and leave as COMMON data.
8156 1998-02-11 08:30  H.J. Lu  <hjl@gnu.org>
8158         * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead
8159         of __finite.
8161 1998-02-11 19:16  Richard Henderson  <rth@cygnus.com>
8163         * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
8165 1998-02-11 16:56  Ulrich Drepper  <drepper@happy.cygnus.com>
8167         * misc/tst-efgcvt.c: Add yet more tests.
8168         * misc/efgcvt_r.c: And correct for these tests again.
8169         Reported by HJ Lu.
8171         * isomac.c: Move to...
8172         * stdlib/isomac.c: ...here.
8173         * Makefile: Move rules for handling isomac...
8174         * stdlib/Makefile: ...to here.
8176 1998-02-10 23:57  Ulrich Drepper  <drepper@happy.cygnus.com>
8178         * misc/tst-efgcvt.c: Add more tests.
8179         * misc/efgcvt_r.c: Correct result for above new tests.
8181 1998-02-06 17:22  H.J. Lu  <hjl@gnu.org>
8183         * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
8184         NDIGIT <= 0.
8186 1998-02-10 16:48  Philip Blundell  <pb@nexus.co.uk>
8188         * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
8189         if the programs weren't built.
8191 1998-02-09 10:12  Philip Blundell  <pb@nexus.co.uk>
8193         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
8194         FE_TONEAREST, soldier on regardless and do the best we can.
8195         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
8197 1998-02-5 17:20  Philip Blundell  <pb@nexus.co.uk>
8199         * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
8200         _STDIO_H, before including <bits/stdio_lim.h>.
8202         * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
8204         * io/fts.c (fts_build): Don't try to use d_type if it doesn't
8205         exist.
8207         * sysdeps/arm/sys/ucontext.h: New file.
8209 1998-02-04 10:11  Philip Blundell  <pb@nexus.co.uk>
8211         * manual/stdio.texi (Formatted Output Functions): Explicitly say
8212         that the return value from snprintf() does not count the
8213         terminating NUL as a character.
8215 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
8217         * manual/users.texi: Rewrite to describe correct POSIX behaviour,
8218         add description for sete[ug]id and general cleanup.
8219         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8221 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8223         * Makefile (parent-clean): Don't remove makefile fragments here.
8224         (postclean): New variable.
8225         (clean): Remove makefile fragments here.
8226         (realclean distclean): Likewise.  Pass sysdep-subdirs to sub-make.
8227         (generated): Add isomac and isomanc.out.
8228         * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
8229         avoid-generated is set.
8230         (postclean-generated): Add soversion.mk.
8231         ($(common-objpfx)version.mk): Don't include if avoid-generated is
8232         set.
8233         * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
8234         avoid-generated is set.
8235         (common-generated): Add libc.so and libc.so$(libc.so-version).
8236         (generated): Add versioned libraries.
8237         (common-mostlyclean): Also remove %.so and %_pic.a.
8238         * csu/Makefile (generated): Add abi-tag.h.
8239         * db2/Makefile (extra-objs): Add getlong.o.
8240         * elf/Makefile (generated): Add ld.so, ldd and
8241         $(rtld-installed-name).
8242         (others): Add ldconfig here instead of ldconfig.o to extra-objs.
8243         * malloc/Makefile (generated): Add mtrace.
8244         * po/Makefile: Don't include version.mk, not needed any more.
8245         * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
8246         * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
8247         syscall.h -> sys/syscall.h.
8248         (common-generated): Add s-proto.d.
8249         (postclean-generated): Add sysd-syscalls.
8250         * localedata/Makefile (test-output): Add all output files.
8251         (generated): Add test-input and test-output.
8252         (generated-dirs): Add all the dirs.
8254 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8256         * Makefile (test-output, generated, generated-dirs): New
8257         variables.
8259 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
8261         * resolv/nss_dns/dns-host.c: Various code cleanups.
8263 1998-02-09 08:10  H.J. Lu  <hjl@gnu.org>
8265         * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
8266         From Philip Blundell <pb@nexus.co.uk>.
8267         * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
8269 1998-02-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8271         * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
8272         Suggested by debian/sparc porters.
8274 1998-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8276         * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
8277         for ecvt and fcvt.
8279 1998-02-10 16:32  Ulrich Drepper  <drepper@happy.cygnus.com>
8281         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
8282         __fxstat instead of stat and fstat.  Use namespace clean __stpcpy.
8284         * signal/signal.h: Always define sigset_t if __need_sigset_t is
8285         defined even if __USE_POSIX is not defined.
8287 1998-02-02 20:51  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8289         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
8290         to support obsolete tty major numbers correctly.
8292 1998-02-02 08:47  H.J. Lu  <hjl@gnu.org>
8294         * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
8295         directory first and ignore install error.
8297         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
8298         128 from ptyno and fix a typo for the BSD style pty.
8300 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8302         * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
8303         syscalls.list's.
8305 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8307         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
8308         getresuid and getresgid.
8310         * sysdeps/unix/sysv/linux/getresuid.c: New file.
8311         * sysdeps/unix/sysv/linux/getresgid.c: New file.
8313         * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
8314         s_getres[ug]id.
8316         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
8317         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8318         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8319         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
8321 1998-02-02 08:11  H.J. Lu  <hjl@gnu.org>
8323         * nscd/grpcache.c: Include <stdlib.h>.
8325 1998-02-01 16:01  H.J. Lu  <hjl@gnu.org>
8327         * stdlib/atoll.c: Fix comments.
8329         * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
8330         * sysdeps/posix/ttyname_r.c: Ditto.
8332 1998-02-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8334         * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
8335         __USE_MISC, independent of __USE_UNIX98.
8337 1998-02-10 19:18  Ulrich Drepper  <drepper@happy.cygnus.com>
8339         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
8340         Rename from __libc_have_rt_sigs and leave as COMMON data.
8342 1998-02-04 11:58  Richard Henderson  <rth@twiddle.rth.home>
8344         * Makeconfig (CFLAGS-.os): Kill -fno-common.
8345         * Makerules (libc.so): Prelink libc_pic.a, allocating commons.
8347         * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
8348         * elf/rtld.map: New file.  Needed to define the GLIBC_2.*
8349         version symbols.
8350         * include/libc-symbols.h (symbol_version, default_symbol_version):
8351         Provide asm versions and correct !DO_VERSIONING versions.
8352         * sysdeps/unix/make-syscalls.sh: Recognize version symbols in
8353         the weak symbol list.
8355         * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
8356         Rename from __libc_have_rt_sigs and leave as COMMON data.
8357         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
8358         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8359         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8361 1998-02-04 16:41  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8363         * sunrpc/Makefile: Correct dependencies of rpcgen.
8365 1998-02-10 03:00  Ulrich Drepper  <drepper@happy.cygnus.com>
8367         * nscd/Makefile: Fix test for available linuxthreads add-on.
8368         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8370 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8372         * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
8374 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8376         * sysdeps/gnu/Makefile: Respect with-cvs variable.
8378         * manual/errno.texi (Error Messages): Correct description of
8379         strerror_r.  Pointed out by jonas@bagge.se.
8381 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8383         * manual/socket.texi (Host Address Functions): Clarify description
8384         of inet_network.
8386 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8388         * sysdeps/unix/grantpt.c (argv): Move const to toplevel.
8389         (grantpt): Delete superfluous cast.
8391 1998-02-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8393         * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
8394         elf/ldso_install instead of elf/subdir_install.
8395         (elf/ldso_install): New target.
8397         * elf/Makefile (ldso_install): New target.
8399 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8401         * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
8402         of 1998-01-06.
8404 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8406         * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
8407         constant expressions.
8409 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8411         * nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
8412         for __nss_configure_lookup.
8413         (output_hostent): Remove unused variable.
8415 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8417         * string/tst-inlcall.c: Fix format string.
8419 1998-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8421         * inet/netinet/in.h: Rename second parameter of bindresvport to
8422         avoid buggy gcc warning. [PR libc/412]
8424 1998-02-04 18:04  Richard Henderson  <rth@cygnus.com>
8426         * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
8427         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
8429         * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
8430         Follow POSIX and make tv_sec a time_t.
8431         * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
8432         new tv64 syscall as well as fall back to tv32.
8433         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
8434         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
8435         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
8436         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
8437         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
8438         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
8439         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
8440         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
8442         * include/rpcsvc/nis.h: New.  Bounce to nis/rpcsvc.
8443         * include/rpcsvc/nis_tags.h: Likewise.
8444         * include/rpcsvc/nislib.h: Likewise.
8446 1998-02-02 01:12  Ulrich Drepper  <drepper@cygnus.com>
8448         * libc.map: Add _h_errno.
8449         * inet/herrno.c: Make _h_errno weak alias.
8451         * login/Makefile (distribute): Add pty-internal.h.
8453         * nscd/Makefile (distribute): Add all the files missing.
8455         * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
8456         are available.
8458         * stdio-common/tstscanf.c: Rewrite a bit to continue after errors
8459         and report status at the end.
8461         * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
8463         * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
8464         variable.
8465         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
8466         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
8467         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
8469 1998-01-03 20:47  Mark Kettenis  <kettenis@phys.uva.nl>
8471         * configure.in: Fix --enable-add-ons code.
8473 1998-02-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8475         * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
8476         by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
8477         [PR libc/441]
8479         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
8480         occurence in cache.  Reported by Rudolf Leitgeb
8481         <leitgeb@leland.stanford.edu>.
8482         [PR libc/440]
8484 1998-02-01 21:18  Ulrich Drepper  <drepper@cygnus.com>
8486         * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
8487         that it never is EINTR (which is tested for in _IO_vfscanf).
8489         * Makefile.in: Call sub-make with CVSOPTS.
8491         * elf/Makefile (distribute): Add dl-procinfo.h.
8493         * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.
8495 1998-02-01 15:54  Ulrich Drepper  <drepper@cygnus.com>
8497         * version.h (VERSION): Bump to 2.0.92.
8499 1998-01-31  Phil Blundell  <philb@gnu.org>
8501         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
8502         alias for __new_sys_siglist.
8504 1998-02-01 00:53  Ulrich Drepper  <drepper@cygnus.com>
8506         * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
8507         getgrgid_r.c if thread package is available.
8508         * pwd/Makefile: Likewise.
8509         * grp/getgrnam_r.c: Remove USE_NSCD definition.
8510         * grp/getgrgid_r.c: Likewise.
8511         * pwd/getpwnam_r.c: Likewise.
8512         * pwd/getpwuid_r.c: Likewise.
8514 1998-01-31 23:46  Ulrich Drepper  <drepper@cygnus.com>
8516         * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
8517         with error to allow user intervention.
8518         * nss/getXXent_r.c: Likewise.
8520 1998-01-31 21:18  Ulrich Drepper  <drepper@cygnus.com>
8522         * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
8523         AT_PLATFORM string.  Pretty print AT_BASE info.
8525         * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
8526         (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
8527         * sysdeps/generic/dl-procinfo.h: New file.
8528         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
8530 1998-01-31 20:52  Ulrich Drepper  <drepper@cygnus.com>
8532         * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.
8534         * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
8535         thread and not pthread_detach.
8537         * nscd/nscd.c: Rewrite to use argp instead of getopt.
8539 1998-01-31  Phil Blundell  <philb@gnu.org>
8541         * configure.in: Add --without-cvs option to suppress automatic
8542         checkin of regenerated files.
8543         * config.make.in: Likewise.
8544         * Makefile: Respect with-cvs setting.
8545         * Makerules: Likewise.
8547         * configure.in: Allow the standalone ARM port to be configured.
8549 1998-01-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8551         * grp/getgrgid_r.c: Define USE_NSCD.
8552         * grp/getgrnam_r.c: Likewise.
8553         * pwd/getpwuid_r.c: Likewise.
8554         * pwd/getpwnam_r.c: Likewise.
8556         * sysdeps/unix/inet/Subdirs: Add nscd subdir.
8558         * nss/getXXbyYY_r.c: Try at first nscd.
8560         * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
8561         * nscd/connections.c: New file.
8562         * nscd/dbg_log.c: New file.
8563         * nscd/dbg_log.h: New file.
8564         * nscd/grpcache.c: New file.
8565         * nscd/nscd.c: New file.
8566         * nscd/nscd.h: New file.
8567         * nscd/nscd_conf.c: New file.
8568         * nscd/nscd_stat.c: New file.
8569         * nscd/pwdcache.c: New file.
8571         * nscd/nscd_getgr_r.c: New, client code, linked into libc.
8572         * nscd/nscd_getpw_r.c: Likewise.
8573         * nscd/nscd_proto.h: New, prototypes for client functions.
8575         * nscd/nscd.conf: New, example for a configuration file.
8576         * nscd/nscd.init: New, example for a startup script.
8578         * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
8579         avoid deadlocks.
8580         * nscd/getgrnam_r.c: Likewise.
8581         * nscd/getpwnam_r.c: Likewise.
8582         * nscd/getpwuid_r.c: Likewise.
8584 1998-01-31 11:44  Ulrich Drepper  <drepper@cygnus.com>
8586         * intl/Makefile: Use CVSOPTS in cvs invocation.
8587         * po/Makefile: Likewise.
8588         * posix/Makefile: Likewise.
8589         * stdlib/Makefile: Likewise.
8591 1998-01-31 11:18  Ulrich Drepper  <drepper@cygnus.com>
8593         * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
8594         [PR libc/410]
8595         * misc/Makefile (tests): Add tst-efgcvt.
8596         * misc/tst-efgcvt.c: New file.
8598 1998-01-31 00:21  Ulrich Drepper  <drepper@cygnus.com>
8600         * posix/regex.c: Add some more cleanups by Akim Demaille.
8602 1998-01-30 23:55  Ulrich Drepper  <drepper@cygnus.com>
8604         * signal/signal.h: Revert last change.
8605         * string/strsignal.c: Regard signal number NSGI as illegal.
8606         * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
8607         members.
8609 1998-01-30 23:37  Ulrich Drepper  <drepper@cygnus.com>
8611         * Makefile.in: Add comment about CVSOPTS Makefile variable.
8612         * Makerules: Use CVSOPTS in cvs invocation.
8613         * Makefile: Likewise.
8614         * MakeTAGS: Likewise.
8615         * Make-dist: Likewise.
8617 1998-01-30 22:37  Ulrich Drepper  <drepper@cygnus.com>
8619         * sysdeps/generic/memmem.c: Correct last change.
8621 1998-01-30 22:12  Ulrich Drepper  <drepper@cygnus.com>
8623         * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
8624         CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
8626 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8628         * nis/ypclnt.c: Try at first to use the binding file from ypbind
8629         before using RPC.
8631 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8633         * manual/memory.texi (Heap Consistency Checking): mcheck is
8634         declared in <mcheck.h>.
8635         Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
8637 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8639         * sysdeps/generic/memmem.c (memmem): An empty needle is at the
8640         beginning of haystack.
8642 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8644         * nss/nss_files/files-service.c: Correct last patch.
8646 1998-01-30 21:29  Ulrich Drepper  <drepper@cygnus.com>
8648         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
8649         __libc_have_rt_sigs.
8650         * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
8651         including <bits/setjmp.h>.
8652         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
8653         Patch from the Debian glibc/SPARC package.
8655 1997-12-12 07:57  H.J. Lu  <hjl@gnu.org>
8657         * sysdeps/alpha/bzero.S: Fix a typo.
8658         * sysdeps/alpha/htonl.S: Ditto.
8659         * sysdeps/alpha/htons.S: Ditto.
8661 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8663         * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
8665 1998-01-30 19:58  Ulrich Drepper  <drepper@cygnus.com>
8667         * include/cpio.h: Move to ...
8668         * posix/cpio.h: ...here.
8670         * locale/programs/ld-collate.c: Fix typo.
8672         * signal/signal.h: Declare _sys_siglist with NSIG+1 elements.
8674         * stdio-common/tiformat.c: Add checks for %#.0o and friends.
8676         * login/utmp_file.c (pututline_file): Don't always report success
8677         if similar entry is found.  Patch by Mark M. Kettenis.
8679 1998-01-30 16:06  Philip Blundell  <pb@nexus.co.uk>
8681         * manual/Makefile: Don't try to install the info files if makeinfo
8682         is not available.
8684 1998-01-30 12:05  Philip Blundell  <pb@nexus.co.uk>
8686         * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
8687         kernel's network ioctls, rather than using <linux/sockios.h> to
8688         get them.  This way we are sure of maintaining compatibility if
8689         the kernel interface should change.
8691 1998-01-30 15:52  Ulrich Drepper  <drepper@cygnus.com>
8693         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
8695 1998-01-25 19:54  Philip Blundell  <Philip.Blundell@pobox.com>
8697         * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
8698         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
8700 1998-01-27 22:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8702         Implement System V pseudoterminal handling.
8704         * login/Makefile
8705         (routines): Add getpt, grantpt, unlockpt, ptsname.
8706         (libutil-routines): Remove pty. Add openpty, forkpty.
8707         (distribute): New internal header pty-internal.h.
8708         (others): Add the helper program, pt_chown.
8709         (install-others): Install it, in $(libexecdir), mode 4755.
8711         * login/pty-internal.h: New file.
8712         * login/openpty.c: New file.
8713         * login/forkpty.c: New file.
8714         * login/programs/pt_chown.c: New file.
8716         * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
8717         * stdlib/stdlib.h: Prototype them.
8719         * config.make.in: Define $(libexecdir).
8720         * Makeconfig: Define $(inst_libexecdir).
8722         * sysdeps/generic/pty.c: Removed.
8723         * sysdeps/unix/sysv/linux/pty.c: Removed.
8725         * sysdeps/generic/getpt.c: Stub out.
8726         * sysdeps/generic/grantpt.c: Likewise.
8727         * sysdeps/generic/ptsname.c: Likewise.
8728         * sysdeps/generic/unlockpt.c: Likewise.
8730         * sysdeps/unix/grantpt.c: New file.
8731         * sysdeps/unix/bsd/getpt.c: New file.
8732         * sysdeps/unix/bsd/unlockpt.c: New file.
8733         * sysdeps/unix/sysv/linux/getpt.c: New file.
8734         * sysdeps/unix/sysv/linux/ptsname.c: New file.
8735         * sysdeps/unix/sysv/linux/unlockpt.c: New file.
8737 1998-01-29 23:56  Ulrich Drepper  <drepper@cygnus.com>
8739         * localedata/locales/ru_RU: Fix YESEXPR.  Patch by lav@yars.free.net.
8741 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8743         * nss/Makefile (tests): Add rule for test-netdb.c.
8745         * nss/test-netdb.c: New file.
8747 1998-01-29 02:38  Ulrich Drepper  <drepper@cygnus.com>
8749         * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
8750         really kept as a variable.  Patch by Richard Henderson,
8751         reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
8753         * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
8754         * elf/genrtldtbl.awk: Mark machine dependent directory of generated
8755         entries as not existing.
8757 1998-01-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8759         * stdio-common/vfprintf.c (process_arg): Fix printing of octal
8760         zero in alternate form with precision of zero, which must produce
8761         "0".  Add braces to avoid ambiguous `else'.
8763 1998-01-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8765         * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
8766         problem with strncpy.
8767         * nis/nss_compat/compat-pwd.c: Likewise.
8768         * nis/nss_compat/comapt-spwd.c: Likewise.
8770 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8772         * assert/assert.h (assert_perror): Correct test for errnum.  Patch
8773         by uch@nop.or.jp. [PR libc/437]
8775 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8777         * nis/nis_cache.c: Include <unistd.h> for declaration of close.
8779 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8781         * stdio-common/test-popen.c: Include <errno.h>.
8783         * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
8784         close.
8786         * inet/getnetgrent_r.c: Include <errno.h>.
8788         * db2/db/db_conv.c: Include <string.h> for memcpy.
8790         * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
8791         so that memcpy is declared.
8793         * iconv/iconv_open.c: Include <stdlib.h> for alloca.
8795         * misc/init-misc.c: Remove unneeded inclusion of <errno.h>.
8797 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8799         * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
8800         overflow while reading line with fgets.
8801         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
8803 1998-01-27 00:46  Ulrich Drepper  <drepper@cygnus.com>
8805         * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
8806         unsigned short, not short.
8807         Reported by Andreas Jaeger.
8809 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8811         * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
8812         (ccept->accept).
8814         * sysdeps/generic/inttypes.h: Fix spelling.
8816 1998-01-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8818         * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.
8820         * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
8822 1998-01-27 00:30  Ulrich Drepper  <drepper@cygnus.com>
8824         * stdio-common/printf.h (struct print_info): Add new bitfield is_char.
8825         * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
8826         field for hh modifier.
8827         * stdio-common/vfprint.c: Use is_char field and do not depend in
8828         is_short having the value 2.
8829         Bug reported by Andreas Jaeger.
8831 1998-01-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8833         * libio/freopen.c (freopen): Call _IO_old_freopen only if defined
8834         PIC && DO_VERSIONING.
8836 1998-01-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8838         * Rules: Add rules for $(common-objpfx)dummy$o.
8840 1998-01-26  Richard Henderson  <rth@cygnus.com>
8842         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
8843         unimplemented OSF/1 definitions so that they are not accidentally seen.
8845         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
8846         of the trampoline function into the macro.
8847         * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
8848         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
8849         kernel 2.1.82 has this fixed.
8851         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
8852         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
8854 1998-01-26  Ulrich Drepper  <drepper@cygnus.com>
8856         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
8857         support sigaction on kernels > 2.1.7x.
8859 1998-01-01 13:52  Ulrich Drepper  <drepper@cygnus.com>
8861         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
8862         if it is empty.
8864         * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
8865         Patch by David Engel <david@sw.ods.com>.
8867         * configure.in: Fix another typo in --enable-add-ons code.
8869 1998-01-26 03:48  Ulrich Drepper  <drepper@cygnus.com>
8871         * sysdeps/unix/sysv/linux/siglist.c: Add copyright text.
8873 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8875         * nss/nss_files/files-network.c: Correct order of parameters for
8876         getnetbyaddr.
8878 1998-01-26 00:57  Ulrich Drepper  <drepper@cygnus.com>
8880         * db2/Makefile (routines): Add os_alloc.
8881         * db2/db.h: Update from db-2.3.16.
8882         * db2/db_185.h: Likewise.
8883         * db2/db_int.h: Likewise.
8884         * db2/btree/bt_close.c: Likewise.
8885         * db2/btree/bt_cursor.c: Likewise.
8886         * db2/btree/bt_delete.c: Likewise.
8887         * db2/btree/bt_open.c: Likewise.
8888         * db2/btree/bt_page.c: Likewise.
8889         * db2/btree/bt_put.c: Likewise.
8890         * db2/btree/bt_rec.c: Likewise.
8891         * db2/btree/bt_recno.c: Likewise.
8892         * db2/btree/btree_auto.c: Likewise.
8893         * db2/common/db_appinit.c: Likewise.
8894         * db2/common/db_apprec.c: Likewise.
8895         * db2/common/db_err.c: Likewise.
8896         * db2/common/db_region.c: Likewise.
8897         * db2/common/db_shash.c: Likewise.
8898         * db2/db/db.c: Likewise.
8899         * db2/db/db_auto.c: Likewise.
8900         * db2/db/db_conv.c: Likewise.
8901         * db2/db/db_dispatch.c: Likewise.
8902         * db2/db/db_dup.c: Likewise.
8903         * db2/db/db_pr.c: Likewise.
8904         * db2/db/db_rec.c: Likewise.
8905         * db2/db185/db185.c: Likewise.
8906         * db2/dbm/dbm.c: Likewise.
8907         * db2/hash/hash.c: Likewise.
8908         * db2/hash/hash_auto.c: Likewise.
8909         * db2/hash/hash_dup.c: Likewise.
8910         * db2/hash/hash_page.c: Likewise.
8911         * db2/hash/hash_rec.c: Likewise.
8912         * db2/include/btree_ext.h: Likewise.
8913         * db2/include/clib_ext.h: Likewise.
8914         * db2/include/common_ext.h: Likewise.
8915         * db2/include/db.h.src: Likewise.
8916         * db2/include/db_185.h.src: Likewise.
8917         * db2/include/db_am.h: Likewise.
8918         * db2/include/db_ext.h: Likewise.
8919         * db2/include/db_int.h.src: Likewise.
8920         * db2/include/hash_ext.h: Likewise.
8921         * db2/include/lock_ext.h: Likewise.
8922         * db2/include/log.h: Likewise.
8923         * db2/include/log_auto.h: Likewise.
8924         * db2/include/log_ext.h: Likewise.
8925         * db2/include/mp.h: Likewise.
8926         * db2/include/mp_ext.h: Likewise.
8927         * db2/include/mutex_ext.h: Likewise.
8928         * db2/include/os_ext.h: Likewise.
8929         * db2/include/os_func.h: Likewise.
8930         * db2/include/txn_ext.h: Likewise.
8931         * db2/lock/lock.c: Likewise.
8932         * db2/lock/lock_util.c: Likewise.
8933         * db2/log/log.c: Likewise.
8934         * db2/log/log.src: Likewise.
8935         * db2/log/log_archive.c: Likewise.
8936         * db2/log/log_auto.c: Likewise.
8937         * db2/log/log_get.c: Likewise.
8938         * db2/log/log_put.c: Likewise.
8939         * db2/log/log_rec.c: Likewise.
8940         * db2/log/log_register.c: Likewise.
8941         * db2/mp/mp_bh.c: Likewise.
8942         * db2/mp/mp_fget.c: Likewise.
8943         * db2/mp/mp_fopen.c: Likewise.
8944         * db2/mp/mp_fput.c: Likewise.
8945         * db2/mp/mp_pr.c: Likewise.
8946         * db2/mp/mp_sync.c: Likewise.
8947         * db2/mutex/mutex.c: Likewise.
8948         * db2/os/os_alloc.c: Likewise.
8949         * db2/os/os_config.c: Likewise.
8950         * db2/os/os_stat.c: Likewise.
8951         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
8952         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
8953         * db2/progs/db_load/db_load.c: Likewise.
8954         * db2/progs/db_printlog/db_printlog.c: Likewise.
8955         * db2/progs/db_recover/db_recover.c: Likewise.
8956         * db2/progs/db_stat/db_stat.c: Likewise.
8957         * db2/txn/txn.c: Likewise.
8959         * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
8960         Unmap memory blocks in reverse order of allocation.
8961         Call munmap with load address added to offset.
8962         Bug reported by Miguel de Icaza.
8964         * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
8965         up weight array.
8967         * localedata/locales/cs_CZ: Update by Michael Mraka
8968         <michael@informatics.muni.cz>.
8970         * misc/sys/syslog.h: Reformat a bit.  Don't declare vsyslog unless
8971         __USE_BSD.
8973         * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
8974         reading line with fgets.
8975         * nis/nss_compat/compat-pwd.c: Likewise.
8976         * nis/nss_compat/compat-spwd.c: Likewise.
8977         * nss/nss_files/files-XXX.c: Likewise.
8978         * nss/nss_files/files-alias.c: Likewise.
8979         * shadow/fgetspent_r.c: Likewise.
8981         * string/strerror_r.c: Correct comment.  Patch by Andreas Jaeger.
8983         * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
8984         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
8985         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
8987         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
8988         FP register content in ucontext_t.
8990 1998-01-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8992         * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
8993         calculation.  Patch by Markus Schoder
8994         <Markus.Schoder@dresdner-bank.de>.
8996         * math/libm-test.c (modf_test): Add more tests for modf.
8998         * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
8999         munlock according to Unix98.
9001 1998-01-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9003         * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
9004         AF_INET.
9006 1998-01-21 07:22  H.J. Lu  <hjl@gnu.org>
9008         * sysdeps/posix/ttyname.c: Handle symbolic links.
9009         * sysdeps/posix/ttyname_r.c: Ditto.
9011 1998-01-25 19:39  Ulrich Drepper  <drepper@cygnus.com>
9013         * db2/makedb.c (process_input): Write terminating \0 for value.
9014         (print_database): Simply print value string, don't use length.
9016 1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9018         * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
9019         exit of loop.
9021 1998-01-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9023         * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
9024         close all sockets.
9026 1998-01-25 14:54  Ulrich Drepper  <drepper@cygnus.com>
9028         * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
9029         sigset.
9030         * signal/sighold.c: New file.
9031         * signal/sigrelse.c: New file.
9032         * sysdeps/generic/sigignore.c: New file.
9033         * sysdeps/generic/sigset.c: New file.
9034         * sysdeps/posix/sigignore.c: New file.
9035         * sysdeps/posix/sigset.c: New file.
9036         * signal/signal.h: Add prototypes for new functions.
9038         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
9039         * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
9040         * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
9041         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
9043 1998-01-23 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
9045         * posix/wordexp.c: Added IFS field-splitting in parameter and
9046         command substitution.  Fixed an IFS-related bug that caused an
9047         infinite loop.
9049 1998-01-25 12:38  Ulrich Drepper  <drepper@cygnus.com>
9051         * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
9052         and swapcontext.
9053         * stdlib/ucontext.h: Correct prototypes.
9054         * sysdeps/generic/getcontext.c: New file.
9055         * sysdeps/generic/setcontext.c: New file.
9056         * sysdeps/generic/makecontext.c: New file.
9057         * sysdeps/generic/swapcontext.c: New file.
9058         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
9060 1998-01-25 04:07  Ulrich Drepper  <drepper@cygnus.com>
9062         * resource/sys/resource.h: Remove #include of ulimit.h which is
9063         not allowed by SUSv2 and not available on other systems.
9064         * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
9066         * streams/Makefile: New file.
9067         * streams/stropts.h: New file.
9068         * sysdeps/generic/bits/stropts.h: New file.
9069         * sysdeps/generic/isastream.c: New file.
9070         * sysdeps/generic/getmsg.c: New file.
9071         * sysdeps/generic/getpmsg.c: New file.
9072         * sysdeps/generic/putmsg.c: New file.
9073         * sysdeps/generic/putpmsg.c: New file.
9074         * sysdeps/generic/fattach.c: New file.
9075         * sysdeps/generic/fdetach.c: New file.
9076         * sysdeps/unix/inet/Subdirs: Add streams.
9077         * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
9078         __t_uscalar_t.
9079         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9080         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
9081         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
9082         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
9084         * sysdeps/mach/_strerror.c: Follow changes of generic version to
9085         handle small buffers correctly.
9087 1998-01-24 17:31  H.J. Lu  <hjl@gnu.org>
9089         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
9090         Remove the 3rd arg and add declaration for _dl_runtime_resolve
9091         and _dl_runtime_profile.
9093 1998-01-25 02:42  Ulrich Drepper  <drepper@cygnus.com>
9095         * include/cpio.h: New file.  Mainly copied from GNU cpio.
9096         * posix/Makefile (headers): Add cpio.h.
9098 1998-01-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9100         * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
9101         to routines.
9102         * nis/nis_cache.c: New file.
9103         * nis/nis_cache2.h: New file.
9104         * nis/nis_cache2_xdr.c: New file.
9105         * nis/nis_call.c: Changes for cache2_info parameter.
9106         * nis/nis_checkpoint.c: Likewise.
9107         * nis/nis_intern.h: Likewise.
9108         * nis/nis_mkdir.c: Likewise.
9109         * nis/nis_ping.c: Likewise.
9110         * nis/nis_rmdir.c: Likewise.
9111         * nis/nis_server.c: Likewise.
9112         * nis/nis_util.c: Likewise.
9114 1997-12-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9116         * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
9117         return/errnop codes.
9118         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
9119         * nis/nss_nisplus/nisplus-grp.c: Likewise.
9120         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
9121         * nis/nss_nisplus/nisplus-proto.c: Likewise.
9122         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
9123         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
9124         * nis/nss_nisplus/nisplus-rpc.c: Likewise
9125         * nis/nss_nisplus/nisplus-service.c: Likewise.
9126         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
9128 1997-12-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9130         * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
9131         * nis/nss_nis/nis-ethers.c: Likewise.
9132         * nis/nss_nis/nis-grp.c: Likewise.
9133         * nis/nss_nis/nis-hosts.c: Likewise.
9134         * nis/nss_nis/nis-network.c: Likewise.
9135         * nis/nss_nis/nis-proto.c: Likewise.
9136         * nis/nss_nis/nis-hosts.c: Likewise.
9137         * nis/nss_nis/nis-network.c: Likewise.
9138         * nis/nss_nis/nis-proto.c: Likewise.
9139         * nis/nss_nis/nis-publickey.c: Likewise.
9140         * nis/nss_nis/nis-pwd.c: Likewise.
9141         * nis/nss_nis/nis-rpc.c: Likewise.
9142         * nis/nss_nis/nis-service.c: Likewise.
9143         * nis/nss_nis/nis-spwd.c: Likewise.
9145 1998-01-24  Ulrich Drepper  <drepper@cygnus.com>
9147         * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
9148         Added to follow latest kernel development.
9150 1998-01-24 15:13  Ulrich Drepper  <drepper@happy.cygnus.com>
9152         * nss/db-Makefile: Handle empty and comment lines better.
9153         ($(VAR_DB)/services.db): Generate entries with missing protocol
9154         value.
9156 1998-01-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9158         * nss/nss_files/files-service.c (getservbyport): Allow proto ==
9159           NULL.
9160           (getservbyname): Allow proto == NULL.
9161           Pointed out by David N. Welton <davidw@gate.cks.com>.
9162           [PR libc/430].
9164 1998-01-24 11:34  Ulrich Drepper  <drepper@happy.cygnus.com>
9166         * nis/nislib/nislib.h: Finally removed.
9168         * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
9169         C compiler.  From Kaveh Ghazi.
9170         (TYPE_MINIMUM): Define.
9171         (TYPE_MAXIMUM): Define.
9172         (TIME_T_MIN): Use TYPE_MINIMUM.
9173         (TIME_T_MAX): Use TYPE_MAXIMUM.
9174         Patch by Jim Meyering <meyering@ascend.com>.
9176 1998-01-22 00:55  Ulrich Drepper  <drepper@happy.cygnus.com>
9178         * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
9179         __pread64, __pwrite64, and __getpid.
9181         * rt/aio_misc.c: Use pread and pwrite instead of __ protected
9182         versions.
9184 1998-01-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9186         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
9187         cancelable socket functions as __libc_xxx with __xxx as weak
9188         alias.
9189         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
9190         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9192         * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
9193         redefined.
9194         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9195         * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
9196         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
9197         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
9199         * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
9200         and __xxx a weak alias.
9201         * sysdeps/unix/sysv/linux/connect.S: Likewise.
9202         * sysdeps/unix/sysv/linux/recv.S: Likewise.
9203         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
9204         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
9205         * sysdeps/unix/sysv/linux/send.S: Likewise.
9206         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
9207         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
9209 1998-01-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9211         * locale/langinfo.h: Add defines.
9213         * dirent/dirent.h: Add defines for DT_*, check also for
9214         _DIRENT_HAVE_D_TYPE.
9215         Suggested by Roland McGrath.
9217 1998-01-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9219         * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
9220         Update from Linux 2.1.73+79.
9222         * README.template: Update information about possible
9223         configurations.
9225         * manual/mbyte.texi (Wide String Conversion): Fix declaration of
9226         wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
9227         [PR libc/417].
9229         * manual/time.texi (Priority): Correct description of
9230         PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
9231         [PR libc/416].
9233 11998-01-21 21:34  Ulrich Drepper  <drepper@cygnus.com>
9235         * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
9236         FP_ILOGNAN.   Patch by a sun <asun@zoology.washington.edu>.
9238 1998-01-21 17:53  Ulrich Drepper  <drepper@cygnus.com>
9240         * sysdeps/generic/_strerror.c: Handle BUFLEN == 0.  Reported by
9241         Andreas Jaeger.
9243 1998-01-20 18:13  Ulrich Drepper  <drepper@cygnus.com>
9245         * locale/programs/ld-collate.c: Little optimizations.
9247         * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
9249         * string/Makefile (tests): Add tst-inlcall.
9250         * string/tst-inlcall.c: New file.
9252         * string/strsignal.c: Add support for real-time signals.
9254         * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
9255         presense of small buffer.
9257         * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
9259         * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
9260         for i686.
9262         * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
9263         _NSIG + 1.
9265 1998-01-02 15:10  Matthias Urlichs   <urlichs@noris.de>
9267         * Rules: Add explicit rule for dummy.o; at least one library needs
9268           it and it isn't autogenerated by the default rules.
9270 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9272         * math/libm-test.c: Tweak epsilons.
9274 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9276         * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
9277         child.
9278         (feenv_mask_test): Likewise.
9280 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9282         * Makeconfig: Don't export CPPFLAGS.
9284 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9286         * sunrpc/rpc_main.c (parseargs): Use perror to print error
9287         message.
9289 1998-01-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9291         * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
9292         terminating null in key size.
9294 1998-01-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9296         * nss/nss_files/files-service.c: Fix allocation size to include
9297         length of PROTO.
9299         * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
9300         applicable.  Fix return value and error checking.
9301         (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
9302         unparsable lines.
9303         (DB_LOOKUP): Allocate space for terminating null byte.
9305         * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
9306         uids specially.
9308         * db2/makedb.c (process_input): Continue processing if a duplicate
9309         key is encountered.
9311 1998-01-19 15:20  Ulrich Drepper  <drepper@cygnus.com>
9313         * time/tzfile.h: Updated from tzcode1998b.
9314         * time/zdump.c: Likewise.
9315         * time/zic.c: Likewise.
9316         * time/africa: Update from tzdata1998b.
9317         * time/antarctica: Likewise.
9318         * time/asia: Likewise.
9319         * time/australasia: Likewise.
9320         * time/etcetera: Likewise.
9321         * time/europe: Likewise.
9322         * time/leapseconds: Likewise.
9323         * time/northamerica: Likewise.
9324         * time/southamerica: Likewise.
9326 1998-01-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9328         * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
9329         lookups ignoring case.
9330         * nss/nss_files/files-network.c: Do network lookups ignoring
9331         case.
9332         * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
9333         case.
9334         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
9335         case insensitive comparing.
9336         Patches by Cristian Gafton <gafton@redhat.com>.
9338 1998-01-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9340         * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines.  Suggested
9341         by Roland McGrath. [PR libc/395]
9343 1998-01-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9345         * manual/arith.texi (Parsing of Integers): Correct description of
9346         strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
9347         [PR libc/396]
9349 1997-12-30 14:14  Matthias Urlichs  <urlichs@noris.de>
9351         * misc/lsearch.c (lsearch): Return a pointer to the new element
9352         if one was "allocated".
9354 1997-12-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9356         * string/strsignal.c: NSIG is not a valid index into
9357         _sys_siglist.  Don't zap the last character of the "Unknown
9358         signal" message.
9360 1998-01-19 15:08  Ulrich Drepper  <drepper@cygnus.com>
9362         * locale/programs/charmap.c (parse_charmap): Correct parsing of
9363         ellipsis expressions.
9365         * locale/programs/charset.c (insert_char): Correctly insert value
9366         of eliipsis expression.
9368 1997-12-28 15:08  Ulrich Drepper  <drepper@cygnus.com>
9370         * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
9371         <bits/setjmp.h>.
9372         * sysdeps/powerpc/setjmp.S: Likewise.
9373         Patches by Matt McLean <keys@keys.got.net>.
9375         * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
9377         * Makefile: Undo last patch.
9378         (distribute): Add test-installation.pl.
9380         * configure.in: Correct handling of --enable-add-ons without parameter.
9381         Correct address of WWW pages.
9383         * libc.map: Add _nl_domain_bindings.
9385         * db2/mutex/tsl_parisc.s: New file.
9387         * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
9388         and extra-module.mk.
9390         * localedata/Makefile (distribute): New.  Add all the files.
9392         * stdlib/Makefile (headers): Add inttypes.h.
9393         (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
9394         * sysdeps/generic/inttypes.h: New file.
9395         * sysdeps/generic/strtoimax.c: New file.
9396         * sysdeps/generic/strtoumax.c: New file.
9397         * sysdeps/generic/wcstoimax.c: New file.
9398         * sysdeps/generic/wcstoumax.c: New file.
9399         * sysdeps/wordsize-32/Dist: Removed.
9400         * sysdeps/wordsize-32/Makefile: Removed.
9401         * sysdeps/wordsize-64/Dist: Removed.
9402         * sysdeps/wordsize-64/Makefile: Removed.
9403         * sysdeps/generic/bits/environments.h: New file.
9405         * include/limits.h: Define MB_LEN_MAX in any case to 6.  The gcc
9406         header is still not correct.
9408         * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
9409         * posix/unistd.h: Likewise.
9410         * sysdeps/generic/sys/mman.h: Likewise.
9411         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
9413         * manual/arith.texi: Change definition of mul macro.
9414         * manual/math.texi: Likewise.
9416         * misc/Makefile (routines): Add mmap64.
9417         * sysdeps/generic/mmap64.c: New file.
9418         * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
9419         * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
9420         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
9421         aliases to mmap.
9422         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9424         * sysdeps/generic/setrlimit64.c: Don't mark as stub.
9426         * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
9428         * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
9430         * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
9431         FOPEN_MAX also when included by limits.h.
9432         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
9434         * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
9435         and netrom/netrom.h.
9436         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
9437         oldsiglist to sysdep_routines, not aux.
9438         [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
9440         * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
9441         and SOL_NETROM definition.
9443         * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
9445         * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
9446         * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
9448 1997-12-25  Ulrich Drepper  <drepper@cygnus.com>
9450         * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
9452         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
9453         sa_handler with k_sa_handler.
9454         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
9455         strong alias.
9456         Reported by a sun.
9458         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
9459         __libc_have_rt_sigs here.
9460         * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
9461         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9462         * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
9463         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9465 1997-12-11 07:51  Geoff Keating  <geoffk@ozemail.com.au>
9467         * sysdeps/powerpc/atomicity.h: New file.
9468         * sysdeps/mach/powerpc/machine-lock.h: New file.
9470         * Rules: Use -fpic to build anything that might end up in a users'
9471         shared library.
9473         * sysdeps/powerpc/s_fdim.c: New file.
9474         * sysdeps/powerpc/s_fdimf.c: New file.
9475         * sysdeps/powerpc/s_fmax.S: New file.
9476         * sysdeps/powerpc/s_fmaxf.S: New file.
9477         * sysdeps/powerpc/s_fmin.S: New file.
9478         * sysdeps/powerpc/s_fminf.S: New file.
9479         * sysdeps/powerpc/s_llrint.c: Now is for double.
9480         * sysdeps/powerpc/s_llrintf.c: New file.
9481         * sysdeps/powerpc/s_llround.c: Now is for double.
9482         * sysdeps/powerpc/s_llroundf.c: New file.
9483         * sysdeps/powerpc/s_lrint.c: Now is for double.
9484         * sysdeps/powerpc/s_lrintf.S: New file.
9485         * sysdeps/powerpc/s_lround.c: Now is for double.
9486         * sysdeps/powerpc/s_lroundf.c: New file.
9487         * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
9488         lrintf, fdim, fdimf.
9490         * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
9491         file directly, use its parent.
9493         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
9494         (for the third time).
9496 1997-12-20 13:50  Richard Henderson  <rth@cygnus.com>
9498         * posix/sched.h: timespec is in <time.h>.
9500         * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
9502 1997-12-22 18:10  Ulrich Drepper  <drepper@cygnus.com>
9504         * configure.in: Stop with error if --disable-static is used when
9505         the shared lib uses this library.
9507         * gen-FAQ.pl: I've perl installed in /usr/bin.
9509         * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
9511         Fix Unix98 conformance problems in the headers.
9512         * catgets/nl_types.h: Define nl_item.
9513         * grp/grp.h: Define gid_t.
9514         * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
9515         * include/nl_types.h: New file.
9516         * include/ulimit.h: New file.
9517         * io/fcntl.h: Include sys/stat.h for Unix98.  Don't define locking
9518         constants in POSIX mode.
9519         * io/utime.h: Get definition for time_t.
9520         * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
9521         uid_t, pid_t.  Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
9522         * libio/stdio.h: Define va_list.  Make snprintf also available is
9523         __USE_UNIX98.  Declare getopt function and variables.
9524         * locale/langinfo.h: Include nl_types.h.  Don't define nl_item.
9525         Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
9526         * math/math.h: Defined M_* constants as double for Unix98 mode.
9527         * posix/fnmatch.h: Pretty print.  Define FNM_NOSYS.
9528         * posix/glob.h: Pretty print.  Define GLOB_NOSYS.
9529         * posix/regex.h: Define REG_NOSYS.
9530         * posix/wordexp.h: Define WRDE_NOSYS.
9531         * posix/unistd.h: Define _POSIX2_VERSION.  Define _XOPEN_VERSION to
9532         500 for Unix98.
9533         * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
9534         somewhere else as well.  Define clock_t for Unix98.
9535         * posix/sys/wait.h: Define pid_t.
9536         * pwd/pwd.h: Define gid_t, uid_t.
9537         * resource/Makefile (headers): Add ulimit.h.
9538         * resource/ulimit.h: New file.
9539         * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
9540         instead of second argument.
9541         * sysdeps/unix/bsd/ulimit.c: Likewise.  Use UL_* constants.
9542         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
9543         * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
9544         * signal/signal.h: Define pid_t.
9545         * string/string.h: Don't declare BSD string functions in POSIX mode.
9546         * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE.  Add
9547         _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
9548         * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
9549         and POSIX.
9551         * inet/test_ifindex.c: Change test so that it does not fail for
9552         interface aliases.
9554         * locale/programs/locale.c (show_info): Use correct cast sequence
9555         for 64bit machines.
9557         * malloc/malloc.c: __malloc_initialized now signals three states:
9558         uninitialized, initializing, initialized.  Used in mcheck.
9559         * malloc/mcheck.c (mabort): Add '\n' to messages.
9560         (mcheck): Allow installation when malloc is uninitialized or is
9561         just initializing.
9563         * manual/memory.texi: Explain mtrace output a bit more.
9565         * math/libm-test.c: Add more epsilons.
9567         * misc/regexp.h (compile): Remove __ prefix from parameter names.
9569         * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
9570         instead of strcpy for security.
9571         * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
9572         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
9573         * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
9575         * nss/digits_dots.c: Pretty print.
9577         * posix/getconf.c (vars): Add symbols for programming environment
9578         recognition.  Recognize --version.
9580         * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
9581         _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
9582         * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
9584         * sysdeps/generic/bits/stdio_lim.h: Implement handling of
9585         __need_FOPEN_MAX.
9586         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
9587         * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
9588         __need_FOPEN_MAX.
9590         * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
9591         * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
9593         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
9594         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9595         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
9596         * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
9597         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9598         * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
9600         * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
9601         SCNu*.
9602         * sysdeps/wordsize-64/inttypes.h: Likewise.
9604         * time/africa: Update from tzdata1997j.
9605         * time/antarctica: Likewise.
9606         * time/asia: Likewise.
9607         * time/australasia: Likewise.
9608         * time/backward: Likewise.
9609         * time/etcetera: Likewise.
9610         * time/europe: Likewise.
9611         * time/factory: Likewise.
9612         * time/northamerica: Likewise.
9613         * time/pacificnew: Likewise.
9614         * time/southamerica: Likewise.
9616         * time/tzfile.h: Update from tzcode1997h.
9617         * time/zic.c: Likewise.
9619         * wcsmbs/wchar.h: Get definition of FILE.  Define `struct tm' tag.
9620         Declare wcwidth and wcswidth for __USE_XOPEN.  Declare the
9621         isw*() functions for Unix98.
9622         * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
9623         * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
9624         is defined.
9626 1997-12-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9628         * locale/duplocale.c: Increase usage_count only if less than
9629         MAX_USAGE_COUNT.
9630         * locale/freelocale.c: Test usage_count against UNDELETABLE, not
9631         MAX_USAGE_COUNT.
9632         * locale/setlocale.c: Likewise.
9634 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9636         * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
9637         dependency to make it easier to install it selectively.
9639         * Makerules (.SUFFIXES): Don't define any suffixes.
9641 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9643         * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
9644         * sysdeps/generic/statfs64.c: Emulate using statfs.
9645         * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
9646         * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
9647         * sysdpes/generic/ftruncate64.c: New file.
9648         * sysdpes/generic/truncate64.c: New file.
9650         * sysdeps/generic/bits/stat.h: Add LFS support.
9651         * sysdeps/generic/bits/statfs.h: Likewise.
9653         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
9654         [__USE_FILE_OFFSET64]: Make long long constant.
9655         (RLIM64_INFINITY): Likewise.
9657         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
9658         for LFS support.
9659         (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
9660         * sysdeps/generic/bits/resource.h: Likewise.
9662         * misc/Makefile (routines): Add truncate64 and ftruncate64.
9664         * include/features.h: Don't prevent LFS support from defining BSD
9665         and SYSV things.
9667         * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
9668         * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
9669         * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
9671         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
9672         fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
9673         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9675         * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
9676         * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
9677         * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
9678         * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
9679         * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
9680         * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
9681         * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
9682         * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
9683         * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
9684         * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
9685         * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
9686         * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
9687         * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
9688         * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
9689         * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
9690         * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
9691         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
9692         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
9693         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
9694         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
9696         * sysdeps/unix/sysv/linux/fxstat64.c: New file.
9697         * sysdeps/unix/sysv/linux/lxstat64.c: New file.
9698         * sysdeps/unix/sysv/linux/xstat64.c: New file.
9699         * sysdeps/unix/sysv/linux/readdir64.c: New file.
9700         * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
9702         * sysdeps/unix/sysv/linux/getdents64.c: New file.
9703         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
9704         [$(subdir)=dirent]: Add getdents64.
9705         * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
9707         * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
9709 1997-12-18 12:07  Philip Blundell  <pb@nexus.co.uk>
9711         * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
9713         * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
9714         * sysdeps/generic/getrlimit64.c: Likewise.
9715         * sysdeps/generic/setrlimit.c: Likewise.
9716         * sysdeps/generic/setrlimit64.c: Likewise.
9718 1997-12-17 13:57  Philip Blundell  <pb@nexus.co.uk>
9720         * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
9721         using versioning.
9723         * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
9725         * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
9727 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9729         * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
9730         after the codeset name.
9732 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9734         * libc.map: Add get_kernel_syms.
9736 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9738         * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
9739         static.
9740         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
9741         Likewise.  Fix condition.
9743 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9745         * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
9747 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9749         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
9750         Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
9752 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9754         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
9755         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
9756         instead.  Oops.
9758 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9760         * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
9762 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9764         * math/libm-test.c (catanh_test): Change epsilon.
9765         Reported by H.J. Lu.
9767 1997-12-14 19:39  H.J. Lu  <hjl@gnu.org>
9769         * libc.map (__getpid): Added for linuxthreads.
9771 1997-12-13 21:09  H.J. Lu  <hjl@gnu.org>
9773         * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
9774         it if gcc uses static variable in DWARF2 unwind information
9775         for exception support.
9777         * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
9779         * elf/soinit.c (__libc_global_ctors, _fini): Handle
9780         HAVE_DWARF2_UNWIND_INFO_STATIC.
9782         * libc.map (__register_frame*, __deregister_frame*): Make them
9783         global.
9785 1997-12-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9787         * math/libm-test.c: Add more tests for "normal" values.
9789 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9791         * stdio-common/printf_fphex.c: Fix printing of long double number
9792         with a biased exponent of zero.  Fix rounding.
9794 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9796         * sunrpc/rpc_main.c: Accept new flag -$.
9797         * sunrpc/Makefile (rpcgen-cmd): Pass it here.
9799 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9801         * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
9802         dynamic linker first, in case the interface has changed.
9804 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9806         * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
9807         order.
9809 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9811         * math/tgmath.h: Check for double first, for architectures where
9812         sizeof (long double) == sizeof (double).
9814 1997-12-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9816         * math/libm-test.c: New tests for "normal" values added for most
9817         functions.
9819 1997-12-14 21:33  Ulrich Drepper  <drepper@cygnus.com>
9821         * version.h (VERSION): Bump to 2.0.91.
9823         * db2/makedb.c (process_input): Fix typo in message.
9824         * sunrpc/rpcinfo.c (pmapdump): Unify messages.
9826         * elf/dynamic-link.h: Pretty print.
9828         * elf/rtld.c: Allow multiple preloading of a shared object.
9830         * include/limits.h: Prevent multiple inclusion.
9832         * malloc/Makefile (headers): Add mcheck.h.
9833         (distribute): Remove it here.
9834         * malloc/mcheck.h: Pretty print.
9835         * malloc/mtrace.c (mallenv): Make `const'.
9836         * malloc/mtrace.pl: Don't print table head for memory leaks if there
9837         are none.
9838         * manual/memory.texi: Update descriptor of malloc hooks.
9840         * posix/Makefile (routines): Add waitid.
9841         * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
9842         on __id_t.
9843         * posix/sys/wait.h: Define idtype_t type.
9844         Add prototype for waitid.
9845         * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
9846         * sysdeps/generic/waitid.c: Stub for waitid.
9847         * sysdeps/generic/bits/siginfo.h: Define sigval_t.  Arrange to work
9848         the __need_siginfo_t defined.
9849         * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
9850         * sysdeps/generic/bits/types.h: Define __id_t.
9851         Correct definition of __FDMASK.
9852         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
9853         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9854         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
9856         * sysdeps/posix/waitid.c: New file.
9857         Provided by Zack Weinberg.
9859         * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
9861         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
9862         Add missing parameters.
9864         * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
9865         * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
9866         * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
9867         * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
9868         initialized.
9870         * sysdeps/i386/dl-machine.h: Little cleanup.
9872         * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
9873         (__finite): Mark function as const.
9874         Add inline code for __ieee754_atan2.
9876         * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
9877         (but don't use it now).
9878         * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
9879         __atan.
9880         * sysdeps/libm-ieee754/s_catanf.c: Likewise.
9881         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
9882         * sysdeps/libm-ieee754/s_catanh.c: Likewise.  Correct sign of
9883         real part.
9884         * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
9885         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
9886         * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
9887         __ieee754_atan2 to base 10.
9888         * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
9889         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
9891         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
9892         old_kernel_sigaction.
9894         * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
9896         * wctype/Makefile (routines): Add wctype_l.
9897         * wctype/wctype.h: Add declaration of __wctype_l.
9898         * wctype/wctype_l.c: New file.
9900 1997-12-10 00:38  Ulrich Drepper  <drepper@cygnus.com>
9902         * locale/C-ctype.c: Correct data for isw* functions.
9903         * locale/programs/ld-ctype.c: Write 32bit char classes in correct
9904         byte order.
9905         * wctype/test_wctype.c: Add test for isw* functions.
9906         * wctype/wctype.c: Return value with expected byte order.
9908 1997-12-13  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9910         * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
9912 1997-12-05 20:19  H.J. Lu  <hjl@gnu.org>
9914         * iconvdata/Makefile: Fix a typo.
9916         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
9917         oldsiglist for shared library.
9919         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
9920         sys_sigabbrev): Make them as the default version GLIBC_2.1.
9922         * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
9923         sys_siglist, sys_sigabbrev): New file. Make them as the old
9924         version GLIBC_2.0.
9926         * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
9927         to GLIBC_2.1.
9929 1997-11-20 18:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
9931         * libio/iofgets.c (_IO_fgets): Return an error only if there
9932         is a new error.
9933         * libio/iogets.c (_IO_gets): Ditto.
9935 1997-11-20 07:26  H.J. Lu  <hjl@gnu.ai.mit.edu>
9937         * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
9939         * libio/Makefile (routines, shared-only-routines): Add
9940         oldiofdopen.
9942         * libio/fileops.c: Don't use _IO_FILE_complete.
9943         * libio/iofdopen.c: Ditto.
9944         * libio/iofopen.c: Ditto.
9945         * libio/iofopen64.c: Ditto.
9946         * libio/iopopen.c: Ditto.
9947         * libio/iovdprintf.c: Ditto.
9949         * libio/genops.c (_IO_init): Set _vtable_offset to 0.
9951         * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
9952         and make it for _IO_fdopen/fdopen version GLIBC_2.1.
9954         * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
9955         _IO_old_fdopen, _IO_new_fdopen): New declaration.
9957         * libio/libio.h (_IO_FILE): Add more fields.
9958         (_IO_FILE_complete): Defined and make _IO_FILE be the old
9959         one if _IO_USE_OLD_IO_FILE is defined
9960         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
9961         them _IO_FILE_complete.
9963         * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
9964         to adjust vtable.
9965         (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
9966         _IO_JUMPS.
9967         (_IO_FILE_complete): Commented out.
9969         * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
9970         * libio/oldiofclose.c: Ditto.
9971         * libio/oldiofopen.c: Ditto.
9972         * libio/oldstdfiles.c: Ditto.
9974         * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
9975         for the old _IO_FILE.
9977         * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
9978         (_IO_check_libio): Set _vtable_offset for old stdin, stdout
9979         and stderr.
9981         * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
9982         and remove INAME.
9984         * libio/stdio.c (stdin, stdout, stdin): Don't use
9985         _IO_FILE_complete.
9987         * libio/oldiofdopen.c: New.
9989         * stdio-common/vfprintf.c (buffered_vfprintf): Set
9990         hp->_vtable_offset to 0.
9992 1997-11-18 08:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
9994         * libc.map (_IO_file_open): Added.
9996         * libio/libioP.h (_IO_file_open): Declared.
9998         * libio/fileops.c (_IO_file_open): New.
9999         (_IO_file_fopen): Call _IO_file_open ().
10001         * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
10002         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
10004 1997-12-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10006         * signal/signal.h: Fix selection of signal semantics to match
10007         comment.
10009 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10011         * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
10012         * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
10013         rt_sigreturn.
10014         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
10015         [$(subdir)=signal]: Remove rt_sigreturn.
10016         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
10017         * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
10018         * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
10020 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10022         * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>.  Fix
10023         declarations.
10025 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10027         * iconvdata/extra-module.mk: Expand extra-objs now.
10029 1997-12-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10031         * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
10032         inline functions by feature tests to avoid warning about missing
10033         prototype declarations.
10035 1997-12-09 15:08  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10037         * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
10038         return code for non existent +name entries.
10039         * nis/nss_compat/compat-pwd.c: Likewise.
10040         * nis/nss_compat/compat-spwd.c: Likewise.
10042 1997-12-10 13:52  Philip Blundell  <pb@nexus.co.uk>
10044         * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
10045         (EIO): Likewise.
10046         (ENOSPC): Likewise.
10047         (EEXIST): Likewise.
10048         (__errno_location): Likewise.
10050         * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
10052         * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
10054 1997-12-09 08:10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10056         * sunrpc/publickey.c: Use new NSS interface.
10058 1997-12-09 03:08  Ulrich Drepper  <drepper@cygnus.com>
10060         * manual/malloc.texi: Document mtrace/muntrace and the concept.
10062 1997-12-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10064         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
10065         value, to match spirit of the standard.
10066         * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
10067         * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
10068         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
10070 1997-12-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10072         * manual/signal.texi (Signal Stack): Remove spurious @item.
10074 1997-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10076         * rt/aio.h: Remove double semicolon.
10078         * rt/librt.map: Add aio_init.
10080 1997-12-08 03:24  Ulrich Drepper  <drepper@cygnus.com>
10082         * Makeconfig: Define $(rt) to rt if linuxthreads is available.
10083         * Makefile (subdirs): Replace rt by $(rt).
10085         * shlib-versions: Use version .2 for NSS modules.
10087         * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
10088         argument.
10089         * pwd/fgetpwent_r.c: Likewise.
10090         * spwd/fgetspent_r.c: Likewise.
10091         * spwd/sgetspent_r.c: Likewise.
10092         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
10093         Store error number in *ERRNOP.  Little optimization.
10094         * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
10095         * hesiod/nss_hesiod/hesiod-service.c: Likewise.
10096         * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
10097         (__internal_getnetgrent_r): New argument.
10098         Call __internal_setnetgrent_reuse with new argument.
10099         (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
10100         * inet/netgroup.h: Add argument to prototypes.
10101         * nis/nisplus-parser.h: Likewise.
10102         * nis/nss_compat/compat-grp.c: Change everything to store error
10103         code through provided pointer and not use errno.
10104         * nis/nss_compat/compat-pwd.c: Likewise.
10105         * nis/nss_compat/compat-spwd.c: Likewise.
10106         * nis/nss_nis/nis-alias.c: Likewise.
10107         * nis/nss_nis/nis-ethers.c: Likewise.
10108         * nis/nss_nis/nis-grp.c: Likewise.
10109         * nis/nss_nis/nis-hosts.c: Likewise.
10110         * nis/nss_nis/nis-netgrp.c: Likewise.
10111         * nis/nss_nis/nis-network.c: Likewise.
10112         * nis/nss_nis/nis-proto.c: Likewise.
10113         * nis/nss_nis/nis-publickey.c: Likewise.
10114         * nis/nss_nis/nis-pwd.c: Likewise.
10115         * nis/nss_nis/nis-rpc.c: Likewise.
10116         * nis/nss_nis/nis-service.c: Likewise.
10117         * nis/nss_nis/nis-spwd.c: Likewise.
10118         * nis/nss_nisplus/nisplus-alias.c: Likewise.
10119         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
10120         * nis/nss_nisplus/nisplus-grp.c: Likewise.
10121         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
10122         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
10123         * nis/nss_nisplus/nisplus-network.c: Likewise.
10124         * nis/nss_nisplus/nisplus-parser.c: Likewise.
10125         * nis/nss_nisplus/nisplus-proto.c: Likewise.
10126         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
10127         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
10128         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
10129         * nis/nss_nisplus/nisplus-service.c: Likewise.
10130         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
10131         * nss/nss_db/db-XXX.c: Likewise.
10132         * nss/nss_db/db-alias.c: Likewise.
10133         * nss/nss_db/db-netgrp.c: Likewise.
10134         * nss/nss_files/files-XXX.c: Likewise
10135         * nss/nss_files/files-alias.c: Likewise
10136         * nss/nss_files/files-netgrp.c: Likewise
10137         * nss/nss_files/files-parse.c: Likewise
10138         * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
10139         parameter of get functions.
10140         * nss/getXXent_r.c: Likewise.
10142         * localedata/tst-fmon.c: Print debug info if test fails.
10144         * rt/Makefile (routines): Add aio_notify.
10145         * rt/aio.h: Remove non-public definitions.  Add aioinit stuff.
10146         * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
10147         * rt/aio_fsync.c: Likewise.
10148         * rt/aio_misc.c: Likewise.
10149         * rt/aio_misc.h: Likewise.
10150         * rt/aio_read.c: Likewise.
10151         * rt/aio_read64.c: Likewise.
10152         * rt/aio_suspend.c: Likewise.
10153         * rt/aio_write.c: Likewise.
10154         * rt/aio_write64.c: Likewise.
10155         * rt/lio_listio.c: Likewise.
10156         * rt/lio_listio64.c: Likewise.
10157         * rt/aio_notify.c: New file.
10159         * sysdeps/generic/bits/sigset.h: Pretty print.
10161         * sysdeps/posix/pwrite.c: Define weak alias only if function is
10162         really defined as __pwrite.
10164         * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
10165         instead of pread64.
10166         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10168         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
10169         (sysdep_routines): Add rt_sigpending and rt_sigreturn.
10170         * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
10171         size in syscall.
10172         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10173         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10174         * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
10175         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10176         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
10177         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
10178         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.  Take care
10179         for ACT being NULL.
10180         * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
10181         RT signals.
10182         * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
10183         __NR_pread is not defined.
10184         * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
10185         __NR_pwrite is not defined.
10187 1997-12-07 11:15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10189         * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
10190         handle for /etc/group back in some more cases.
10191         * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
10192         handle for /etc/passwd back in some more cases.
10193         * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
10194         handle for /etc/shadow back in some more cases.
10196 1997-12-06 17:00  H.J. Lu  <hjl@gnu.org>
10198         * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
10199         beyound its size.
10200         * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
10201         * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
10203 1997-12-06 04:38  Ulrich Drepper  <drepper@cygnus.com>
10205         * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
10206         handling.  Don't use macros, we need functions.  Use inline functions
10207         for optimization.
10208         * sysdeps/wordsize-64/inttypes.h: Likewise.
10209         * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
10210         and wcstoumax.
10211         * sysdeps/wordsize-64/Makefile: Likewise.
10212         * sysdeps/wordsize-32/Dist: Likewise.
10213         * sysdeps/wordsize-64/Dist: Likewise.
10214         * sysdeps/wordsize-32/strtoimax.c: New file.
10215         * sysdeps/wordsize-32/strtoumax.c: New file.
10216         * sysdeps/wordsize-32/wcstoimax.c: New file.
10217         * sysdeps/wordsize-32/wcstoumax.c: New file.
10218         * sysdeps/wordsize-64/strtoimax.c: New file.
10219         * sysdeps/wordsize-64/strtoumax.c: New file.
10220         * sysdeps/wordsize-64/wcstoimax.c: New file.
10221         * sysdeps/wordsize-64/wcstoumax.c: New file.
10223 1997-12-04 10:40  Philip Blundell  <pb@nexus.co.uk>
10225         * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
10226         that transparent union works.
10227         * sysdeps/generic/wait4.c (__wait4): Likewise.
10228         * sysdeps/generic/wait.c (__wait): Likewise.
10230         * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
10231         size_t.
10233         * sysdeps/generic/syscall.c (syscall): Return value and arg are
10234         long, to match prototype.
10236         * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
10237         have mremap() yet.
10239         * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
10241         * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
10243         * sysdeps/generic/bits/time.h: Use __time_t not time_t.
10245         * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
10246         __rlim_t.
10248         * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
10250         * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
10252         * io/sys/stat.h (S_ISLNK): Always false if we don't have
10253         __S_IFLNK.
10255         * sysdeps/standalone/close.c (_STDIO_H): Define before including
10256         <bits/stdio_lim.h>.
10257         * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
10259 1997-12-06 01:09  Ulrich Drepper  <drepper@cygnus.com>
10261         * posix/sys/wait.h: Don't use transparent unions in C++.
10263 1997-12-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10265         * time/time.h: Add strfxtime.
10267         * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
10268         sysv_signal, strfxtime, pread64, pwrite64.
10270 1997-11-30 21:57  Richard Henderson  <rth@cygnus.com>
10272         Alpha changes for EGCS:
10273         * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
10274         * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
10275         * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
10276         (_start): Likewise.
10277         * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
10279 1997-12-05 00:01  Ulrich Drepper  <drepper@cygnus.com>
10281         The kernel expects the arguments in a different order.
10282         * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
10283         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
10285         * FAQ.in: New file.
10286         * gen-FAQ.pl: New file.
10287         * Makefile (FAQ): Add rule to generate from FAQ.in.
10289         * iconvdata/Makefile: Treat libJIS like the other modules.
10291         * rt/librt.map: New file.
10293         * sysdeps/wordsize-32/bits/environments.h: Add test for direct
10294         inclusion.
10295         * sysdeps/wordsize-64/bits/environments.h: Likewise.  Correct
10296         comment.
10298 1997-12-04 22:29  Ulrich Drepper  <drepper@cygnus.com>
10300         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
10301         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
10302         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
10303         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
10305 1997-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10307         * string/bits/string2.h: Fix spellings.
10309         * string/string.h: Fix spellings.
10311 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10313         * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
10314         declaration to __syscall_rt_sigaction.
10316         * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
10317         non-existant <sigcontext.h>.
10319 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10321         * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
10322         typo.
10324 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10326         * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
10328         * Makeconfig (shared-thread-library): Correct spelling.
10330         * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
10331         <asm/pci.h>.
10333 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10335         * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
10336         constants from Linux headers. Pointed out by
10337         csmall@scooter.o.i.net. [PR libc/369]
10339 1997-12-04 10:21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10341         * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
10343 1997-12-04 00:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
10345         * configure.in: If --enable-add-ons is given without an
10346         argument, set the addons list to all subdirs with a configure
10347         script.
10349 1997-12-03 23:50  Ulrich Drepper  <drepper@cygnus.com>
10351         * Makeconfig: Add shared-thread-library variable.
10353         * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
10354         * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
10355         here.
10356         * sysdeps/m68k/fpu/e_acos.c: Likewise.
10357         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
10358         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
10359         * sysdeps/m68k/fpu/e_pow.c: Likewise.
10360         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
10361         * sysdeps/m68k/fpu/k_cos.c: Likewise.
10362         * sysdeps/m68k/fpu/k_sin.c: Likewise.
10363         * sysdeps/m68k/fpu/k_tan.c: Likewise.
10364         * sysdeps/m68k/fpu/s_atan.c: Likewise.
10365         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
10366         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
10367         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
10368         * sysdeps/m68k/fpu/s_csin.c: Likewise.
10369         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
10370         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
10371         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
10372         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
10373         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
10374         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
10375         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
10376         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
10377         * sysdeps/m68k/fpu/s_modf.c: Likewise.
10378         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
10379         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
10380         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
10382         * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
10383         __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
10384         * signal/Makefile (headers): Add bits/siginfo.h.
10385         (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
10386         (distribute): Add testrtsig.h.
10387         * signal/allocrtsig.c: New file.
10388         * signal/signal.h: Define `union sigval'.  Include <bits/siginfo.h>.
10389         Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
10390         __libc_current_sigrtmax.
10391         * sysdeps/generic/sigqueue.c: New file.
10392         * sysdeps/generic/sigtimedwait.c: New file.
10393         * sysdeps/generic/sigwaitinfo.c: New file.
10394         * sysdeps/generic/testrtsig.h: New file.
10395         * sysdeps/generic/bits/siginfo.h: New file.
10396         * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
10397         * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
10398         old_kernel_sigaction and rename sa_handler member to k_sa_handler.
10399         * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
10400         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
10401         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
10402         * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
10403         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
10404         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
10405         * sysdeps/unix/sysv/linux/sigpending.c: New file.
10406         * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
10407         * sysdeps/unix/sysv/linux/sigqueue.c: New file.
10408         * sysdeps/unix/sysv/linux/sigreturn.c: New file.
10409         * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
10410         * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
10411         * sysdeps/unix/sysv/linux/testrtsig.h: New file.
10412         * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
10413         * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
10414         * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
10415         * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
10416         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
10417         and _POSIX_REALTIME_SIGNALS.
10418         * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
10419         * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
10420         update _NSIG.
10421         * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
10422         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
10423         definitions.
10425         * Makefile (subdirs): Add rt.
10426         * shlib-versions: Add entry for librt.
10427         * rt/Makefile: New file.
10428         * rt/aio.h: New file.
10429         * rt/aio_cancel.c: New file.
10430         * rt/aio_error.c: New file.
10431         * rt/aio_fsync.c: New file.
10432         * rt/aio_misc.c: New file.
10433         * rt/aio_misc.h: New file.
10434         * rt/aio_read.c: New file.
10435         * rt/aio_read64.c: New file.
10436         * rt/aio_return.c: New file.
10437         * rt/aio_suspend.c: New file.
10438         * rt/aio_write.c: New file.
10439         * rt/aio_write64.c: New file.
10440         * rt/lio_listio.c: New file.
10441         * rt/lio_listio64.c: New file.
10442         * sysdeps/generic/aio_sigqueue.c: New file.
10443         * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
10444         * sysdeps/unix/sysv/linux/Dist: Add new files
10445         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
10446         (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
10447         rt_sigqueueinfo, rt_sigaction.
10449         * posix/Makefile (headers): Add bits/environments.h.
10450         * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
10451         and _CS_LFS_CFLAGS on 64bit platforms.
10452         * posix/unistd.h: Define _XOPEN_LEGACY.  Explain _XOPEN_REALTIME
10453         and _XOPEN_REALTIME_THREADS.  Include bits/environments.h.
10454         * sysdeps/generic/bits/confname.h: Define _SC_* constants for
10455         compilation modules.
10456         * sysdeps/wordsize-32/bits/environments.h: New file.
10457         * sysdeps/wordsize-64/bits/environments.h: New file.
10459         * posix/getopt.c: Remove declaration of getpid and __libc_pid.
10460         * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
10461         __libc_pid.
10462         * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
10463         0xf00baa.
10465         * string/string.h: Add declaration of __strverscmp.
10466         * string/strverscmp.c: Rename function ot __strverscmp and make old
10467         name weak alias.
10469         * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
10470         * sysdeps/generic/enbl-secure.c: Likewise.
10471         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10473         * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
10475         * sysdeps/unix/sysv/linux/sys/pci.h: New file.
10477 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
10479         * posix/sys/wait.h: Use __transparent_union__ instead of
10480         transparent_union.  Reported by Roland McGrath.
10482 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10484         * resolv/inet_neta.c (inet_neta): Change type of first parameter
10485         to u_int32_t.  Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
10486         [PR libc/366].
10488         * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
10490         * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
10492 1997-12-03 20:40  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10494         * grp/initgroups.c: Increase buffer if it is too small.
10496 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
10498         * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
10499         fields, this is no ISO C.  Reported by Andreas Jaeger.
10501 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10503         * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
10505 1997-12-03 08:58  Philip Blundell  <pb@nexus.co.uk>
10507         * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
10508         _SYS_UTSNAME_H not _UTSNAME_H.
10510 1997-11-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10512         * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
10513         computing s_scale.
10515 1997-11-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10517         * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
10518         * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
10519         * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
10521         * math/libm-test.c (csqrt_test): Add testcase.
10523 1997-12-03 15:44  Ulrich Drepper  <drepper@cygnus.com>
10525         * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
10526         * sysdeps/unix/sysv/linux/sys/Dist: Add it.
10527         * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
10529 1997-11-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10531         * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
10533 1997-12-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10535         * math/libm-test.c (acos_test): Add more tests.
10536         (asin_test): Likewise.
10537         (atan_test): Likewise.
10538         (exp_test): Likewise.
10539         (sin_test): Likewise.
10540         (sqrt_test): Likewise.
10541         (cpow_test): Likewise.
10542         (csqrt_test): Likewise.
10543         (cexp_test): Correct typo in gcc version test.
10545 1997-12-02 17:14  Philip Blundell  <pb@nexus.co.uk>
10547         * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
10548         <bits/setjmp.h>.
10549         * sysdeps/arm/setjmp.S: Likewise.
10551         * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
10553 1997-12-02 18:07  Philip Blundell  <pb@nexus.co.uk>
10555         * stdio/stdio.h: Add prototype for tmpfile64().
10557 1997-12-02 17:47  Philip Blundell  <pb@nexus.co.uk>
10559         * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
10560         prototype to keep in step with libio version.
10562         * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
10564 1997-12-02 17:41  Philip Blundell  <pb@nexus.co.uk>
10566         * sysdeps/generic/Makefile: Don't try to use make_siglist if
10567         cross-compiling.
10569 1997-12-02 01:18  Ulrich Drepper  <drepper@cygnus.com>
10571         * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
10572         load GOT ptr before jumping to _exit.
10573         Reported by Xavier Leroy.
10575 1997-12-01 17:27  Ulrich Drepper  <drepper@cygnus.com>
10577         * Makefile (subdirs): Add iconvdata and localedata.
10579         * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
10581         * iconv/gconv_conf.c (read_conf_file): Little optimization.
10583         * iconvdata/8bit-gap.c: New file.
10584         * iconvdata/8bit-generic.c: Renamed from ...
10585         * iconvdata/iso8859-generic.c: ...this.
10586         * iconvdata/configure: Removed.
10587         * iconvdata/Makefile: Add new modules and better rules.
10588         * iconvdata/iso6937.c: Minor bug fixes.
10589         * iconvdata/iso8859-1.c: Likewise.
10590         * iconvdata/t61.c: Likewise.
10591         * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
10592         Minor bug fixes.
10593         * iconvdata/iso8859-3.c: Likewise.
10594         * iconvdata/iso8859-4.c: Likewise.
10595         * iconvdata/iso8859-5.c: Likewise.
10596         * iconvdata/iso8859-6.c: Likewise.
10597         * iconvdata/iso8859-7.c: Likewise.
10598         * iconvdata/iso8859-8.c: Likewise.
10599         * iconvdata/iso8859-9.c: Likewise.
10600         * iconvdata/iso8859-10.c: Likewise.
10601         * iconvdata/ebcdic-at-de-a.c: New file.
10602         * iconvdata/ebcdic-at-de.c: New file.
10603         * iconvdata/ebcdic-ca-fr.c: New file.
10604         * iconvdata/hp-roman8.c: New file.
10605         * iconvdata/koi-8.c: New file.
10606         * iconvdata/koi8-r.c: New file.
10607         * iconvdata/koi8-h.c: New file.
10608         * iconvdata/latin-greek-1.c: New file.
10609         * iconvdata/latin-greek-1.h: New file.
10610         * iconvdata/latin-greek.c: New file.
10611         * iconvdata/latin-greek.h: New file.
10612         * iconvdata/jis0201.c: New file.
10613         * iconvdata/jis0201.h: New file.
10614         * iconvdata/jis0208.c: New file.
10615         * iconvdata/jis0208.h: New file.
10616         * iconvdata/jis0212.c: New file.
10617         * iconvdata/jis0212.h: New file.
10618         * iconvdata/sjis.c: New file.
10619         * iconvdata/gap.pl: New file.  Script to generate table header.
10620         * iconvdata/gaptab.pl: New file.
10621         * iconvdata/gconv-modules: Add info about new modules.
10623         * locale/programs/charmap.c: Also examine alias names given in charmap
10624         files.
10626         * localedata/*: Add to here from add-on.  We need the information
10627         to generate tables for iconv.
10629         Update from db-2.3.14.
10630         * db2/Makefile: Updated.
10631         * db2/config.h: Likewise.
10632         * db2/db.h: Likewise.
10633         * db2/db_int.h: Likewise.
10634         * db2/btree/bt_cursor.c: Likewise.
10635         * db2/btree/bt_delete.c: Likewise.
10636         * db2/btree/bt_put.c: Likewise.
10637         * db2/btree/bt_search.c: Likewise.
10638         * db2/btree/bt_split.c: Likewise.
10639         * db2/btree/btree_auto.c: Likewise.
10640         * db2/common/db_appinit.c: Likewise.
10641         * db2/common/db_apprec.c: Likewise.
10642         * db2/common/db_err.c: Likewise.
10643         * db2/common/db_region.c: Likewise.
10644         * db2/db/db_auto.c: Likewise.
10645         * db2/db/db_dispatch.c: Likewise.
10646         * db2/db/db_ret.c: Likewise.
10647         * db2/dbm/dbm.c: Likewise.
10648         * db2/hash/hash_auto.c: Likewise.
10649         * db2/include/btree_ext.h: Likewise.
10650         * db2/include/common_ext.h: Likewise.
10651         * db2/include/db.h.src: Likewise.
10652         * db2/include/db_cxx.h: Likewise.
10653         * db2/include/db_ext.h: Likewise.
10654         * db2/include/db_int.h.src: Likewise.
10655         * db2/include/lock.h: Likewise.
10656         * db2/include/log.h: Likewise.
10657         * db2/include/mp.h: Likewise.
10658         * db2/include/mp_ext.h: Likewise.
10659         * db2/include/os_ext.h: Likewise.
10660         * db2/include/os_func.h: Likewise.
10661         * db2/lock/lock.c: Likewise.
10662         * db2/lock/lock_deadlock.c: Likewise.
10663         * db2/log/log.c: Likewise.
10664         * db2/log/log_archive.c: Likewise.
10665         * db2/log/log_auto.c: Likewise.
10666         * db2/log/log_get.c: Likewise.
10667         * db2/log/log_put.c: Likewise.
10668         * db2/mp/mp_bh.c: Likewise.
10669         * db2/mp/mp_fget.c: Likewise.
10670         * db2/mp/mp_fopen.c: Likewise.
10671         * db2/mp/mp_fput.c: Likewise.
10672         * db2/mp/mp_fset.c: Likewise.
10673         * db2/mp/mp_open.c: Likewise.
10674         * db2/mp/mp_pr.c: Likewise.
10675         * db2/mp/mp_region.c: Likewise.
10676         * db2/mp/mp_sync.c: Likewise.
10677         * db2/mutex/README: Likewise.
10678         * db2/mutex/mutex.c: Likewise.
10679         * db2/os/os_open.c: Likewise.
10680         * db2/os/os_func.c: Removed.
10681         * db2/os/os_config.c: New file.
10682         * db2/os/os_spin.c: New file.
10683         * db2/txn/txn.c: Likewise.
10684         * db2/txn/txn_auto.c: Likewise.
10686 1997-11-30 06:01  Ulrich Drepper  <drepper@cygnus.com>
10688         * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
10689         __typeof for C++ since this fails for class members.
10690         Reported by Neal Becker <neal@ctd.comsat.com>.
10692 1997-11-28 11:21  Zack Weinberg  <zack@rabi.phys.columbia.edu>
10694         * configure.in: Check for a working makeinfo (3.11 or better).
10695         * config.make.in: Add MAKEINFO to be substituted.
10696         * manual/Makefile: Don't update info if makeinfo is too old.
10698 1997-11-30 05:21  Ulrich Drepper  <drepper@cygnus.com>
10700         * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
10701         * sysdeps/alpha/__longjmp.S: Likewise.
10702         * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
10703         not <bits/termios.h>.
10705         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
10706         __llseek and make llseek and lseek64 weak aliases.
10707         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
10708         Patches by a sun <asun@zoology.washington.edu>.
10710 1997-11-29 19:19  Zack Weinberg  <zack@rabi.phys.columbia.edu>
10712         * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
10713         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10714         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10715         * misc/sys/syslog.h: Clean up BSD header.
10717 1997-11-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10719         * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
10721         * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
10722         for ctan(+-inf,x).
10723         * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
10724         * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
10726         * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
10727         csqrt (-1), ctanh(i*pi/4).
10729 1997-11-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10731         * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
10733 1997-11-28 13:28  Philip Blundell  <Philip.Blundell@pobox.com>
10735         * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
10737 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10739         * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
10741 1997-11-26 21:28  Ulrich Drepper  <drepper@cygnus.com>
10743         * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
10744         and use.  Define GETCWD_RETURN_TYPE instead and use it.
10745         * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
10746         of GETCWD_STORYGE_CLASS and put the return type and the
10747         `internal_function' in the right order for gcc 2.7.2.
10749 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10751         * sysdeps/unix/sysv/linux/sys/module.h: Remove file.  It's
10752         incompatible with Linux 2.1.x.  Packages using modules
10753         (e.g. modutils) should/do provide their own version.  Suggested by
10754         Richard Henderson.
10756         * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
10758         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
10759         [$(subdir)=socket]: Remove sys/module.h.
10761 1997-11-26 04:28  Ulrich Drepper  <drepper@cygnus.com>
10763         * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
10764         computing s_scale.  Patch by a sun <asun@zoology.washington.edu>.
10766         * iconv/gconv_close.c: Correct freeing of descriptor data.
10767         * iconv/gconv_simple.c: Return correct error values for illegal or
10768         incomplete characters.
10770         * Makefile (iconvdata/%): Special goal to simplify iconvdata
10771         development.
10772         * iconvdata/Makefile: New file.
10773         * iconvdata/configure: Likewise.
10774         * iconvdata/extra-module.mk: Likewise.
10775         * iconvdata/gconv-modules: Likewise.
10776         * iconvdata/iso6937.c: Likewise.
10777         * iconvdata/iso8859-1.c: Likewise.
10778         * iconvdata/iso8859-10.c: Likewise.
10779         * iconvdata/iso8859-10.h: Likewise.
10780         * iconvdata/iso8859-2.c: Likewise.
10781         * iconvdata/iso8859-2.h: Likewise.
10782         * iconvdata/iso8859-3.c: Likewise.
10783         * iconvdata/iso8859-3.h: Likewise.
10784         * iconvdata/iso8859-4.c: Likewise.
10785         * iconvdata/iso8859-4.h: Likewise.
10786         * iconvdata/iso8859-5.c: Likewise.
10787         * iconvdata/iso8859-5.h: Likewise.
10788         * iconvdata/iso8859-6.c: Likewise.
10789         * iconvdata/iso8859-6.h: Likewise.
10790         * iconvdata/iso8859-7.c: Likewise.
10791         * iconvdata/iso8859-7.h: Likewise.
10792         * iconvdata/iso8859-8.c: Likewise.
10793         * iconvdata/iso8859-8.h: Likewise.
10794         * iconvdata/iso8859-9.c: Likewise.
10795         * iconvdata/iso8859-9.h: Likewise.
10796         * iconvdata/iso8859-generic.c: Likewise.
10797         * iconvdata/t61.c: Likewise.
10799         * string/Makefile (routines): Add strcasestr.
10800         * string/string.h: Add prototype for strcasestr.
10801         * sysdeps/generic/strcasestr.c: New file.
10802         * wcsmbs/mbrtowc.c: Simplify special case a bit.
10803         * wcsmbs/wcrtomb.c: Likewise.
10804         * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
10805         * wcsmbs/wcsnrtombs.c: Likewise.
10806         * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
10807         partial character is read.
10808         * wcsmbs/wcsrtombs.c: Likewise.
10809         * wcsmbs/wmemrtombs.c: Likewise.
10810         * wcsmbs/wmemrtowcs.c: Likewise.
10812         * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
10813         * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
10814         * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
10815         * sysdeps/i386/elf/setjmp.S: Likewise.
10816         * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
10817         <bits/termios.h>.
10819         * sysdeps/posix/mk-stdiolim.c: Output file with comment.
10820         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
10822         * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
10823         * sysvipc/sys/ipc.h: Likewise.
10824         * sysvipc/sys/msg.h: Likewise.
10825         * sysvipc/sys/sem.h: Likewise.
10826         * sysvipc/sys/shm.h: Likewise.
10828         * sysdeps/alpha/bits/endian.h: Issue error message if the header is
10829         used directly.
10830         * sysdeps/alpha/bits/setjmp.h: Likewise.
10831         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
10832         * sysdeps/arm/bits/endian.h: Likewise.
10833         * sysdeps/arm/bits/setjmp.h: Likewise.
10834         * sysdeps/generic/bits/byteswap.h: Likewise.
10835         * sysdeps/generic/bits/confname.h: Likewise.
10836         * sysdeps/generic/bits/dirent.h: Likewise.
10837         * sysdeps/generic/bits/dlfcn.h: Likewise.
10838         * sysdeps/generic/bits/endian.h: Likewise.
10839         * sysdeps/generic/bits/fenv.h: Likewise.
10840         * sysdeps/generic/bits/huge_val.h: Likewise.
10841         * sysdeps/generic/bits/in.h: Likewise.
10842         * sysdeps/generic/bits/ioctl-types.h: Likewise.
10843         * sysdeps/generic/bits/ioctls.h: Likewise.
10844         * sysdeps/generic/bits/ipc.h: Likewise.
10845         * sysdeps/generic/bits/msq.h: Likewise.
10846         * sysdeps/generic/bits/poll.h: Likewise.
10847         * sysdeps/generic/bits/resource.h: Likewise.
10848         * sysdeps/generic/bits/sched.h: Likewise.
10849         * sysdeps/generic/bits/sem.h: Likewise.
10850         * sysdeps/generic/bits/setjmp.h: Likewise.
10851         * sysdeps/generic/bits/shm.h: Likewise.
10852         * sysdeps/generic/bits/sigaction.h: Likewise.
10853         * sysdeps/generic/bits/sigcontext.h: Likewise.
10854         * sysdeps/generic/bits/socket.h: Likewise.
10855         * sysdeps/generic/bits/stat.h: Likewise.
10856         * sysdeps/generic/bits/statfs.h: Likewise.
10857         * sysdeps/generic/bits/stdio_lim.h: Likewise.
10858         * sysdeps/generic/bits/termios.h: Likewise.
10859         * sysdeps/generic/bits/time.h: Likewise.
10860         * sysdeps/generic/bits/uio.h: Likewise.
10861         * sysdeps/generic/bits/utmp.h: Likewise.
10862         * sysdeps/generic/bits/utmpx.h: Likewise.
10863         * sysdeps/generic/bits/utsname.h: Likewise.
10864         * sysdeps/generic/bits/waitflags.h: Likewise.
10865         * sysdeps/generic/bits/waitstatus.h: Likewise.
10866         * sysdeps/gnu/bits/utmp.h: Likewise.
10867         * sysdeps/gnu/bits/utmpx.h: Likewise.
10868         * sysdeps/i386/bits/byteswap.h: Likewise.
10869         * sysdeps/i386/bits/endian.h: Likewise.
10870         * sysdeps/i386/bits/huge_val.h: Likewise.
10871         * sysdeps/i386/bits/setjmp.h: Likewise.
10872         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
10873         * sysdeps/ieee754/bits/huge_val.h: Likewise.
10874         * sysdeps/m68k/bits/byteswap.h: Likewise.
10875         * sysdeps/m68k/bits/endian.h: Likewise.
10876         * sysdeps/m68k/bits/setjmp.h: Likewise.
10877         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
10878         * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
10879         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
10880         * sysdeps/mach/hurd/bits/stat.h: Likewise.
10881         * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
10882         * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
10883         * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
10884         * sysdeps/mips/bits/dlfcn.h: Likewise.
10885         * sysdeps/mips/bits/endian.h: Likewise.
10886         * sysdeps/mips/bits/setjmp.h: Likewise.
10887         * sysdeps/mips/dec/bits/endian.h: Likewise.
10888         * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
10889         * sysdeps/mips/mipsel/bits/endian.h: Likewise.
10890         * sysdeps/mips/p40/bits/endian.h: Likewise.
10891         * sysdeps/powerpc/bits/endian.h: Likewise.
10892         * sysdeps/powerpc/bits/fenv.h: Likewise.
10893         * sysdeps/powerpc/bits/setjmp.h: Likewise.
10894         * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
10895         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
10896         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
10897         * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
10898         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
10899         * sysdeps/unix/bsd/bits/dirent.h: Likewise.
10900         * sysdeps/unix/bsd/bits/stat.h: Likewise.
10901         * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
10902         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
10903         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
10904         * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
10905         * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
10906         * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
10907         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
10908         * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
10909         * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
10910         * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
10911         * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
10912         * sysdeps/unix/common/bits/dirent.h: Likewise.
10913         * sysdeps/unix/sysv/bits/dirent.h: Likewise.
10914         * sysdeps/unix/sysv/bits/stat.h: Likewise.
10915         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
10916         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
10917         * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
10918         * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
10919         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
10920         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
10921         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
10922         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
10923         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
10924         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
10925         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
10926         * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
10927         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
10928         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
10929         * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
10930         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
10931         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
10932         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
10933         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
10934         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10935         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10936         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10937         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
10938         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
10939         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10940         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
10941         * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
10942         * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
10943         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
10944         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
10945         * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
10946         * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
10947         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
10948         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
10949         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
10950         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
10951         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
10952         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
10953         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
10954         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
10955         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
10956         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
10957         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
10958         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
10959         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
10960         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
10961         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
10962         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
10963         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10964         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10965         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
10966         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
10967         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
10968         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10969         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
10970         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
10971         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
10972         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
10973         * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
10974         * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
10975         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
10976         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
10977         * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
10978         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
10979         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
10980         * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
10981         * sysdeps/vax/bits/huge_val.h: Likewise.
10982         * sysdeps/vax/bits/setjmp.h: Likewise.
10983         * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
10984         * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
10986 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10988         * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
10990 1997-11-25  Paul Eggert  <eggert@shade.twinsun.com>
10992         * strftime.c (strftime):
10993         No longer any need to undef or declare if emacs is defined.
10994         (my_strftime): When checking a -1 returned by mktime, don't blow up
10995         if localtime_r returns NULL.
10997 1997-11-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10999         * README.template: Fix spelling.
11001 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11003         * configure.in: Enhance --enable-add-ons description a wee bit.
11005 1997-11-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11007         * glibcbug.in: Add more information of build environment and flags.
11009 1997-11-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11011         * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
11012         it into ENOENT.
11014 1997-11-24 03:01  Ulrich Drepper  <drepper@cygnus.com>
11016         * elf/dl-support.c: Call __libc_init_secure to make sure
11017         __libc_enable_secure is defined early.
11018         * sysdeps/generic/enbl-secure.c: Change function name to
11019         __libc_init_secure and make it global instead of a constructor.
11021         * iconv/gconv.c: Fix lots of bugs.
11022         * iconv/gconv.h: Likewise.
11023         * iconv/gconv_builtin.h: Likewise.
11024         * iconv/gconv_close.c: Likewise.
11025         * iconv/gconv_conf.c: Likewise.
11026         * iconv/gconv_db.c: Likewise.
11027         * iconv/gconv_dl.c: Likewise.
11028         * iconv/gconv_open.c: Likewise.
11029         * iconv/gconv_simple.c: Likewise.
11030         * iconv/iconv.c: Likewise.
11031         * iconv/iconv_close.c: Likewise.
11032         * iconv/iconv_open.c: Likewise.
11034         * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
11035         * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
11036         * wcsmbs/wmemrtombs.c: New file.
11037         * wcsmbs/wmemrtowcs.c: New file.
11039 1997-11-22 19:28  Ulrich Drepper  <drepper@cygnus.com>
11041         * iconv/gconv_simple.c: Fix lots of bugs.
11042         * iconv/iconv_open.c: Normalize names before passing them to
11043         __gconv_open.
11045         * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
11047         * libio/iopopen.c: Check for correct mode argument and punt otherwise.
11048         * stdio-common/test-popen.c: Add test for above change.
11050         * math/libm-test.c: Print test results also using %a format,
11051         specified in PRINTF_XEXPR macro.
11052         * math/test-double.c: Define PRINTF_XEXPR.
11053         * math/test-float.c: Likewise.
11054         * math/test-ldouble.c: Likewise.
11055         * math/test-idouble.c: Likewise.
11056         * math/test-ifloat.c: Likewise.
11057         * math/test-ildoubl.c: Likewise.
11059         * stdio-common/vfscanf.c: Recognize a in format specifier only as
11060         modifier if used before s, S, or [.  Otherwise it's the hexadecimal
11061         FP number format.
11063         * stdlib/strtod.c: Little code cleanup.
11065         * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
11066         compiling in math subdir.
11068         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
11069         instead of __LIBC_M81_MATH_INLINES.
11070         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
11071         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
11072         * sysdeps/m68k/fpu/e_pow.c: Likewise.
11073         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
11074         * sysdeps/m68k/fpu/k_cos.c: Likewise.
11075         * sysdeps/m68k/fpu/k_sin.c: Likewise.
11076         * sysdeps/m68k/fpu/k_tan.c: Likewise.
11077         * sysdeps/m68k/fpu/s_atan.c: Likewise.
11078         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
11079         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
11080         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
11081         * sysdeps/m68k/fpu/s_csin.c: Likewise.
11082         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
11083         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
11084         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
11085         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
11086         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
11087         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
11088         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
11089         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
11090         * sysdeps/m68k/fpu/s_modf.c: Likewise.
11091         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
11092         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
11093         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
11094         * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
11095         __LIBC_INTERNAL_MATH_INLINES is defined.
11097         * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
11098         of compare macros from ISO C 9X.  Optimize generic versions a bit.
11099         Define __signbit inline functions and __ieee754_sqrt which can be
11100         used if the ompiler is fixed.
11102         * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
11104 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11106         * Makerules ($(common-objpfx)stub-$(subdir)): Look for
11107         sysdeps/generic in the whole dep file, not only in the first line.
11109 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11111         * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
11113 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11115         * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
11116         place.
11118 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11120         * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
11121         is non-empty.
11123 1997-11-20 16:51  Ulrich Drepper  <drepper@cygnus.com>
11125         * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
11126         return value.
11128 1997-11-19 21:36  Ulrich Drepper  <drepper@cygnus.com>
11130         * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
11131         readlink succeeds but the return value is too long.
11133         * stdio-common/printf_fphex.c: Determine sign of number correctly.
11135 1997-11-19 02:45  Ulrich Drepper  <drepper@cygnus.com>
11137         * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
11138         __remqu for Alpha.
11140 1997-11-18 23:08  Ulrich Drepper  <drepper@cygnus.com>
11142         * sysdeps/generic/sys/ucontext.h: Stub context file.
11144         * libio/iofprintf.c: Removed.  We use the stdio-common version.
11146         * manual/Makefile (distribute): Add stdio-fp.c.
11148         * sysdeps/powerpc/Dist: Add ppc-mcount.S.
11150         * db2/Makefile (distribute): Add include/os_func.h, README and
11151         mutex/tsl_parisc.s.
11153         * hesiod/Makefile (distribute): Add README.hesiod.
11155 1997-11-18 22:14  Ulrich Drepper  <drepper@cygnus.com>
11157         * iconv/gconv.c: Correctly call transformation function.
11159         * manual/maint.texi: Document need of binutils 2.8.1.0.17.
11161 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11163         * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
11164         wrong results for e.g. remquo (3,2, &x)).
11165         * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
11166         * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
11168 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11170         * configure.in (ld --version-script): Test if the same symbol
11171         maybe defined in all versions (needed by recent changes to
11172         libc.map and supported with binutils 2.8.1.0.17) and issue warning
11173         if versioning is not supported/enabled.
11174         (bash test): Correct test case.
11176         * math/libm-test.c: Added counting/reporting of number of test cases.
11178         * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
11179         use awk instead.
11181         * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
11183 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11185         * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
11187 1997-11-18 18:04  Ulrich Drepper  <drepper@cygnus.com>
11189         * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
11190         Replace revoke call by use of REVOKE.
11191         * sysdeps/unix/sysv/linux/pty.c: New file.  Define REVOKE as
11192         empty and #include generic version.
11193         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
11195 1997-11-18 16:02  Ulrich Drepper  <drepper@cygnus.com>
11197         * libc.map: Add socket functions with __libc_* names.
11198         Reported by Andreas Jaeger.
11200 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11202         * libc.map: Tidy up (remove duplicates, sort entries).
11204 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11206         * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
11208 1997-11-18 06:45  Ulrich Drepper  <drepper@cygnus.com>
11210         * sysdeps/generic/pty.c: Make thread safe.  Fix bug when calling
11211         again after successful call.
11212         Patch by Marc Lehmann <pcg@goof.com>.
11214 1997-11-17  Paul Eggert  <eggert@twinsun.com>
11216         * time/mktime.c, time/strftime.c (_REENTRANT): #define,
11217         as some hosts need this to declare localtime_r properly.
11219 1997-11-18 06:08  Ulrich Drepper  <drepper@cygnus.com>
11221         * libc.map: Add iconv_open, iconv, and iconv_close.
11223 1997-11-18 02:31  Ulrich Drepper  <drepper@cygnus.com>
11225         * iconv/Makefile: New file.
11226         * iconv/gconv.c: New file.
11227         * iconv/gconv.h: New file.
11228         * iconv/gconv_builtin.c: New file.
11229         * iconv/gconv_builtin.h: New file.
11230         * iconv/gconv_close.c: New file.
11231         * iconv/gconv_conf.c: New file.
11232         * iconv/gconv_db.c: New file.
11233         * iconv/gconv_dl.c: New file.
11234         * iconv/gconv_open.c: New file.
11235         * iconv/gconv_simple.c: New file.
11236         * iconv/iconv.c: New file.
11237         * iconv/iconv.h: New file.
11238         * iconv/iconv_close.c: New file.
11239         * iconv/iconv_open.c: New file.
11240         * include/gconv.h: New file.
11242         * Makeconfig: Define gconvdir.
11243         * Makefile (subdirs): Add iconv.
11245         * string/bits/string2.h: Add optimization for strtok_r.
11247         * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
11248         for NULL.
11249         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
11250         Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
11252         * configure.in: Correct test for bash2.
11253         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
11255         * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
11256         (CFLAGS-locfile.c): Likewise.
11257         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
11259         * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
11260         non-existing entry if the table is full.
11262         * posix/regex.h: Pretty print.
11264         * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
11266         * sysdeps/posix/ctermid.c: Simplify a bit.
11268         * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
11270 1997-11-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11272         * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
11273         <sys/types.h> instead of <asm/types.h>.
11275 1997-11-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11277         * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
11279 1997-11-16 17:09  H.J. Lu  <hjl@gnu.ai.mit.edu>
11281         * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
11282         fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
11283         (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
11284         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
11285         fclose): Added to GLIBC_2.1.
11287         * libio/Makefile (routines, shared-only-routines): Add
11288         oldiofclose.  Remove oldfreopen.
11290         * libio/freopen.c (freopen): When PIC is defined, call
11291         _IO_old_freopen () for old stdio.
11293         * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
11294         (_IO_fclose, fclose): Use _IO_new_fclose as default version
11295         for GLIBC_2.1.
11297         * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
11298         instead of _IO_file_close_it.
11300         * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
11301         to _IO_2_1_stdxxx_.
11302         (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
11303         is defined.
11305         * libio/libioP.h (_IO_old_do_flush): New.
11307         * libio/oldfileops.c (_IO_old_file_close_it,
11308         _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
11309         Call _IO_old_do_flush () instead of _IO_do_flush ().
11310         (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
11311         _IO_do_write ().
11313         * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
11314         instead of _IO_file_init ().
11315         Bind old symbols to version GLIBC_2.0.
11317         * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
11318         (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
11319         _IO_stdxxx_.
11320         (_IO_check_libio): New function in .init.
11322         * libio/oldiofclose.c: New file.
11324         * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
11325         _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
11326         (DEF_STDFILE): Don't use default_symbol_version.
11328         * libio/stdio.c (stdin, stdout, stderr): Set to
11329         _IO_2_1_stdxxx_._
11330         (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
11331         stdxxx.
11333         * csu/Makefile (distribute): Add init.c.
11334         (extra-objs): Add init.o for ELF.
11335         (start-installed-name): Add $(objpfx)init.o.
11337         * csu/init.c: New file.
11339 1997-11-12 08:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
11341         * elf/dl-lookup.c (do_lookup): Don't use the hidden base
11342         definition as the default.
11344 1997-08-27  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
11346         * erand48_r.c (__erand48_r): Implement for 32 bit short int.
11348 1997-11-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11350         * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
11351         (PR 351).
11353 1997-11-16 21:01  Philip Blundell  <Philip.Blundell@pobox.com>
11355         * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
11356         to preserve condition codes on function call.
11358 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11360         * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
11362 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11364         * math/libm-test.c (asin_test): Add epsilon for float.
11365         (tan_test): Add epsilon for float.
11366         (log1p_test): Add epsilon for float.
11367         (inverse_functions): Add epsilons.
11369         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
11370         net/if_packet.h.
11372         * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
11374 1997-11-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11376         * md5-crypt/Makefile (extra-objs): Make recursively expanded
11377         variable, since $(object-suffixes) is not defined yet.
11379 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11381         * db2/Makefile (distribute): db185/db185_int.src ->
11382         db185/db185_int.h.
11384 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11386         * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
11387         exactly one.
11389 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11391         * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
11392         name.
11393         * sysdeps/generic/e_acosl.c: Likewise.
11394         * sysdeps/generic/e_asinl.c: Likewise.
11395         * sysdeps/generic/e_atan2l.c: Likewise.
11396         * sysdeps/generic/e_expl.c: Likewise.
11397         * sysdeps/generic/e_fmodl.c: Likewise.
11398         * sysdeps/generic/e_j0l.c: Likewise.
11399         * sysdeps/generic/e_j1l.c: Likewise.
11400         * sysdeps/generic/e_jnl.c: Likewise.
11401         * sysdeps/generic/e_lgammal_r.c: Likewise.
11402         * sysdeps/generic/e_log10l.c: Likewise.
11403         * sysdeps/generic/e_logl.c: Likewise.
11404         * sysdeps/generic/e_powl.c: Likewise.
11405         * sysdeps/generic/e_sqrtl.c: Likewise.
11406         * sysdeps/generic/e_exp2l.c: Likewise.
11408 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11410         * Make-dist (+sysdep-names): Remove extra paren.
11411         * Makefile (distribute): Add stub-tag.h.
11412         * elf/Makefile (distribute): Add atomicity.h.
11413         * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
11414         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
11415         [$(subdir)=socket]: Add net/if_packet.h.
11416         * sysdeps/alpha/Dist: Remove setjmp_aux.c.
11417         * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
11418         net/if_packet.h, scsi/sg.h.
11420 1997-11-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11422         * Makefile (install): Quote $(CC) expansion.
11424 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11426         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
11427         working /proc cwd and no restrictions on path length.  Following
11428         some ideas from Andi Kleen <ak@muc.de> (PR 350).
11430 1997-11-14 19:14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
11432         * nis/nss_compat/compat-grp.c: Remove buggy assert call.
11433         * nis/nss_compat/compat-pwd.c: Likewise.
11434         * nis/nss_compat/compat-spwd.c: Likewise.
11436 1997-11-14 22:23  Ulrich Drepper  <drepper@cygnus.com>
11438         * sysdeps/libm-i387/s_fdim.S: New file.
11439         * sysdeps/libm-i387/s_fdimf.S: New file.
11440         * sysdeps/libm-i387/s_fdiml.S: New file.
11441         * sysdeps/libm-i387/i686/s_fdim.S: New file.
11442         * sysdeps/libm-i387/i686/s_fdimf.S: New file.
11443         * sysdeps/libm-i387/i686/s_fdiml.S: New file.
11445 1997-11-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11447         * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
11448         pointer to unsigned char.
11450 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11452         * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
11454         * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
11456         * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
11458 1997-11-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11460         * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
11461         ilogb(0/NaN).
11462         * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
11463         * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
11465 1997-11-14 05:44  Ulrich Drepper  <drepper@cygnus.com>
11467         * sysdeps/libm-i387/s_fmin.S: New file.
11468         * sysdeps/libm-i387/s_fminf.S: New file.
11469         * sysdeps/libm-i387/s_fminl.S: New file.
11470         * sysdeps/libm-i387/s_fmax.S: New file.
11471         * sysdeps/libm-i387/s_fmaxf.S: New file.
11472         * sysdeps/libm-i387/s_fmaxl.S: New file.
11473         * sysdeps/libm-i387/i686/s_fmin.S: New file.
11474         * sysdeps/libm-i387/i686/s_fminf.S: New file.
11475         * sysdeps/libm-i387/i686/s_fminl.S: New file.
11476         * sysdeps/libm-i387/i686/s_fmax.S: New file.
11477         * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
11478         * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
11480 1997-11-14 03:06  Ulrich Drepper  <drepper@cygnus.com>
11482         * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
11483         * sysdeps/unix/sysv/linux/send.S: Likewise.
11484         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
11485         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
11486         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
11487         * sysdeps/unix/sysv/linux/recv.S: Likewise.
11488         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
11489         * sysdeps/unix/sysv/linux/connect.S: Likewise.
11490         Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
11492 See ChangeLog.7 for earlier changes.