28b2513248ae4fc7d731dec5b08e3a3e70481409
[platform/upstream/glibc.git] / ChangeLog
1 1998-07-16  Mark Kettenis  <kettenis@phys.uva.nl>
2
3         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Return a Hurd I/O
4         port instead of a Mach memory object.
5         (__open): Likewise.
6         (__libc_read): New function.
7         (__mmap): Change to take a Hurd I/O port instead of a Mach memory
8         object.
9
10 1998-07-16 20:01  Ulrich Drepper  <drepper@cygnus.com>
11
12         * debug/Makefile (routines): Add backtracesymsfd.
13         Add rules to generate libSegFault.
14         * debug/Versions: Add __backtrace_symbols_fd and backtrace_symbols_fd.
15         * debug/execinfo.h: Declare backtrace_symbols_fd.
16         * sysdeps/generic/backtracesymsfd.c: New file.
17         * sysdeps/generic/elf/backtracesymsfd.c: New file.
18         * sysdeps/generic/segfault.c: New file.
19         * sysdeps/generic/sigcontextinfo.h: New file.
20         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: New file.
21
22         * sysdeps/generic/elf/backtracesyms.c: Remove unneeded +.
23
24 1998-07-16 19:27  Ulrich Drepper  <drepper@cygnus.com>
25
26         * elf/rtld.c (process_envvars): Also recognize on as LD_BIND_NOW value.
27         (process_envvars): Append .PID to LD_DEBUG_OUTPUT file name.
28
29 1998-07-16 13:44  Ulrich Drepper  <drepper@cygnus.com>
30
31         * argp/argp-fmtstream.c: Fix warnings introduced in last change.
32         * assert/assert-perr.c: Likewise.
33         * assert/assert.c: Likewise.
34         * gconv_conf.c: Likewise.
35         * libio/iofputs_u.c: Likewise.
36         * malloc/mtrace.c: Likewise.
37         * malloc/obstack.c: Likewise.
38         * misc/error.c: Likewise.
39         * misc/syslog.c: Likewise.
40         * stdio-common/asprintf.c: Likewise.
41         * stdio-common/dprintf.c: Likewise.
42         * stdio-common/getw.c: Likewise.
43         * stdio-common/putw.c: Likewise.
44         * stdio-common/snprintf.c: Likewise.
45         * stdio-common/sprintf.c: Likewise.
46         * stdio-common/sscanf.c: Likewise.
47         * sunrpc/svc_simple.c: Likewise.
48         * sysdeps/generic/abort.c: Likewise.
49
50         * rt/aio_cancel.c: Don't define ECANCELED here.
51         * sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED correctly.
52
53 1998-07-16 10:23  Ulrich Drepper  <drepper@cygnus.com>
54
55         * argp/argp-fmtstream.c: Unify names of used global functions.
56         * argp/argp-help.c: Likewise.
57         * assert/assert-perr.c: Likewise
58         * assert/assert.c: Likewise
59         * dirent/scandir.c: Likewise
60         * dirent/scandir64.c: Likewise
61         * dirent/versionsort.c: Likewise
62         * dirent/versionsort64.c: Likewise
63         * gmon/bb_exit_func.c: Likewise.
64         * gmon/gmon.c: Likewise.
65         * grp/initgroups.c: Likewise.
66         * iconv/gconv_conf.c: Likewise.
67         * inet/getnameinfo.c: Likewise.
68         * inet/getnetgrent_r.c: Likewise.
69         * inet/inet_ntoa.c: Likewise.
70         * inet/rcmd.c: Likewise.
71         * inet/rexec.c: Likewise.
72         * inet/ruserpass.c: Likewise.
73         * io/fts.c: Likewise.
74         * io/ftw.c: Likewise.
75         * io/ftw64.c: Likewise.
76         * io/getdirname.c: Likewise.
77         * io/getwd.c: Likewise.
78         * io/lockf.c: Likewise.
79         * libio/iofdopen.c: Likewise.
80         * libio/iopopen.c: Likewise.
81         * login/utmp_daemon.c: Likewise.
82         * malloc/mtrace.c: Likewise.
83         * malloc/obstack.c
84         * misc/daemon.c: Likewise.
85         * misc/efgcvt_r.c: Likewise.
86         * misc/err.c: Likewise.
87         * misc/error.c: Likewise.
88         * misc/fstab.c: Likewise.
89         * misc/getpass.c: Likewise.
90         * misc/getttyent.c: Likewise.
91         * misc/mntent_r.c: Likewise.
92         * misc/search.h: Likewise.
93         * misc/syslog.c: Likewise.
94         * nscd/nscd_getgr_r.c: Likewise.
95         * nscd/nscd_getpw_r.c: Likewise.
96         * posix/getpgrp.c: Likewise.
97         * posix/wordexp.c: Likewise.
98         * pwd/fgetpwent_r.c: Likewise.
99         * pwd/getpw.c: Likewise.
100         * resolv/herror.c: Likewise.
101         * resolv/res_init.c: Likewise.
102         * shadow/fgetspent_r.c: Likewise.
103         * shadow/lckpwdf.c: Likewise.
104         * signal/sigrelse.c: Likewise.
105         * stdio-common/asprintf.c: Likewise.
106         * stdio-common/dprintf.c: Likewise.
107         * stdio-common/getw.c: Likewise.
108         * stdio-common/putw.c: Likewise.
109         * stdio-common/snprintf.c: Likewise.
110         * stdio-common/sprintf.c: Likewise.
111         * stdio-common/sscanf.c: Likewise.
112         * stdlib/lrand48_r.c: Likewise.
113         * stdlib/mrand48_r.c: Likewise.
114         * string/argz-replace.c: Likewise.
115         * string/envz.c: Likewise.
116         * sunrpc/auth_des.c: Likewise.
117         * sunrpc/auth_unix.c: Likewise.
118         * sunrpc/bindrsvprt.c: Likewise.
119         * sunrpc/clnt_gen.c: Likewise.
120         * sunrpc/clnt_perr.c: Likewise.
121         * sunrpc/clnt_simp.c: Likewise.
122         * sunrpc/clnt_tcp.c: Likewise.
123         * sunrpc/clnt_udp.c: Likewise.
124         * sunrpc/get_myaddr.c: Likewise.
125         * sunrpc/key_call.c: Likewise.
126         * sunrpc/netname.c: Likewise.
127         * sunrpc/openchild.c: Likewise.
128         * sunrpc/pmap_rmt.c: Likewise.
129         * sunrpc/rpc_dtable.c: Likewise.
130         * sunrpc/rtime.c: Likewise.
131         * sunrpc/svc_run.c: Likewise.
132         * sunrpc/svc_simple.c: Likewise.
133         * sunrpc/svc_tcp.c: Likewise.
134         * sunrpc/svc_udp.c: Likewise.
135         * sunrpc/svcauth_des.c: Likewise.
136         * sunrpc/xdr_array.c: Likewise.
137         * sunrpc/xdr_rec.c: Likewise.
138         * sunrpc/xdr_ref.c: Likewise.
139         * sunrpc/xdr_stdio.c: Likewise.
140         * sysdeps/generic/abort.c: Likewise.
141         * sysdeps/generic/dl-sysdep.c: Likewise.
142         * sysdeps/generic/fstatfs64.c: Likewise.
143         * sysdeps/generic/ftruncate64.c: Likewise.
144         * sysdeps/generic/getrlimit64.c: Likewise.
145         * sysdeps/generic/glob.c: Likewise.
146         * sysdeps/generic/prof-freq.c: Likewise.
147         * sysdeps/generic/putenv.c: Likewise.
148         * sysdeps/generic/statfs64.c: Likewise.
149         * sysdeps/generic/ttyname_r.c: Likewise.
150         * sysdeps/generic/utmp_file.c: Likewise.
151         * sysdeps/generic/vlimit.c: Likewise.
152         * sysdeps/generic/vtimes.c: Likewise.
153         * sysdeps/posix/cuserid.c: Likewise.
154         * sysdeps/posix/euidaccess.c: Likewise.
155         * sysdeps/posix/mkstemp.c: Likewise.
156         * sysdeps/posix/mktemp.c: Likewise.
157         * sysdeps/posix/pread.c: Likewise.
158         * sysdeps/posix/pread64.c: Likewise.
159         * sysdeps/posix/profil.c: Likewise.
160         * sysdeps/posix/pwrite.c: Likewise.
161         * sysdeps/posix/pwrite64.c: Likewise.
162         * sysdeps/posix/sigblock.c: Likewise.
163         * sysdeps/posix/sigpause.c: Likewise.
164         * sysdeps/posix/ttyname.c: Likewise.
165         * sysdeps/posix/ttyname_r.c: Likewise.
166         * sysdeps/posix/waitid.c: Likewise.
167         * sysdeps/unix/getlogin_r.c: Likewise.
168         * sysdeps/unix/grantpt.c: Likewise.
169         * sysdeps/unix/rewinddir.c: Likewise.
170         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
171         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
172         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
173         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
174         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
175         * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
176         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
177         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
178         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
179         * sysdeps/unix/sysv/linux/unlockpt.c: Likewise.
180         * sysvipc/sys/shm.h: Likewise.
181         * time/ctime_r.c: Likewise.
182         * time/strptime.c: Likewise.
183         * wcsmbs/mbrlen.c: Likewise.
184         * wcsmbs/wcsdup.c: Likewise.
185         * wcsmbs/wcsxfrm.c: Likewise.
186         * wctype/wcfuncs.c: Likewise.
187
188         * sysdeps/unix/sysv/linux/i386/socker.S: Change to honor NO_WEAK_ALIAS.
189         * sysdeps/unix/sysv/linux/accept.S: Don't generate __ name.
190         * sysdeps/unix/sysv/linux/bind.S: Likewise.
191         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
192         * sysdeps/unix/sysv/linux/listen.S: Likewise.
193         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
194         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
195         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
196
197         * grp/fgetgrent_r.c: Use explicit locking of the stream.
198
199         * elf/Makefile (rtld-routines): Add dl-environ.
200         * sysdeps/generic/dl-sysdep.c: Move _dl_next_ld_env_entry and unsetenv
201         to...
202         * sysdeps/generic/dl-environ.c: here.  New file.
203
204         * libio/Makefile [REENTRANT] (routines): Add iofputs_u.
205         * libio/Versions: Add fputs_unlocked.
206         * libio/iofputs_u.c: New file.
207         * libio/stdio.h: Add prototype for fputs_unlocked.
208
209         * sunrpc/rpc/auth.h: Use __PMT instead of __P in type definitions.
210         * sunrpc/rpc/clnt.h: Likewise.
211         * sunrpc/rpc/pmap_clnt.h: Likewise.
212         * sunrpc/rpc/svc.h: Likewise.
213         * sunrpc/rpc/xdr.h: Likewise.
214
215         * sysdeps/i386/memchr.S: Correct for more strict gas.
216         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
217         * sysdeps/libm-i387/i686/s_fdim.S: Likewise.
218         * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
219         * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
220
221 1998-07-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
222
223         * configure.in: Change message for binutils version from
224         2.8.1.0.17->2.8.1.0.23.
225
226 1998-07-15  Ulrich Drepper  <drepper@cygnus.com>
227
228         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Define LOC.
229         Patch by John Tobey <jtobey@banta-im.com>.
230
231 1998-07-14  Ulrich Drepper  <drepper@cygnus.com>
232
233         * sunrpc/auth_unix.c (authunix_create_default): Use __sysconf
234         instead of sysconf.
235
236 1998-07-14 19:39  Ulrich Drepper  <drepper@cygnus.com>
237
238         * stdio-common/vfscanf.c (ungetc): Use _IO_sputbackc, not _IO_ungetc.
239         [_USE_IN_LIBIO] (encode_error): Free cancelation handler.
240         (conv_error): Likewise.
241         (input_error): Likewise.
242         (memory_error): Likewise.
243
244 1998-07-12  Mark Kettenis  <kettenis@phys.uva.nl>
245
246         * sysdeps/mach/hurd/dl-sysdep.c: Bring in sync with generic
247         implementation.  Include <entry.h>.  Replace references to symbol
248         _start with macro ENTRY_POINT.
249         (__libc_uid): Remove.
250         (__libc_multiple_libcs): New variable.
251         (__libc_stack_end): New variable.
252         (_dl_hwcap_mask): New variable.
253         (_dl_important_hwcaps): New function.
254         (_dl_show_auxv): Mark internal.
255
256 1998-07-14  Mark Kettenis  <kettenis@phys.uva.nl>
257
258         * mach/Makefile: Create target directory before generating
259         mach-syscalls.mk.
260         * mach/Machrules: Invoke awk using AWK variable.  Create target
261         directory before generating server stubs.
262
263 1998-07-14  Ulrich Drepper  <drepper@cygnus.com>
264
265         * wcsmbs/wcslen.c (__wcslen): Fix comment.
266
267         * configure.in: Allow egcs-2.92.
268
269 1998-07-10 18:14 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
270
271         * manual/Makefile: Overhauled.  Generate libc.texinfo from the
272         chapter files.  Exorcise the chapters, chapters-incl mess.
273         Support inserting doc chapters from add-on modules.
274         (chapters): New variable.
275         (add-chapters): New variable.
276         (appendices): New variable.
277         (libc.texinfo): New target.
278         (clean): Fix bugs.
279         (realclean): Fix bugs.
280
281         * manual/texis.awk: New file.
282         * manual/libc-texinfo.sh: New file.
283         * manual/libc-texinfo.in: New file.
284
285         * manual/conf.texi (top @node): Remove next pointer.
286         * manual/lang.texi (top @node): Remove prev pointer.
287
288         * manual/job.texi (top @node): Add explicit pointers.
289         * manual/message.texi (top @node): Add explicit pointers.
290         * manual/nss.texi (top @node): Add explicit pointers.
291         * manual/process.texi (top @node): Add explicit pointers.
292         * manual/startup.texi (top @node): Add explicit pointers.
293         * manual/terminal.texi (top @node): Add explicit pointers.
294         * manual/users.texi (top @node): Add explicit pointers.
295
296         * manual/arith.texi: Add %MENU% tag.
297         * manual/conf.texi: Add %MENU% tag.
298         * manual/contrib.texi: Add %MENU% tag.
299         * manual/ctype.texi: Add %MENU% tag.
300         * manual/errno.texi: Add %MENU% tag.
301         * manual/filesys.texi: Add %MENU% tag.
302         * manual/header.texi: Add %MENU% tag.
303         * manual/install.texi: Add %MENU% tag.
304         * manual/intro.texi: Add %MENU% tag.
305         * manual/io.texi: Add %MENU% tag.
306         * manual/job.texi: Add %MENU% tag.
307         * manual/lang.texi: Add %MENU% tag.
308         * manual/llio.texi: Add %MENU% tag.
309         * manual/locale.texi: Add %MENU% tag.
310         * manual/maint.texi: Add %MENU% tag.
311         * manual/math.texi: Add %MENU% tag.
312         * manual/mbyte.texi: Add %MENU% tag.
313         * manual/memory.texi: Add %MENU% tag.
314         * manual/message.texi: Add %MENU% tag.
315         * manual/nss.texi: Add %MENU% tag.
316         * manual/pattern.texi: Add %MENU% tag.
317         * manual/pipe.texi: Add %MENU% tag.
318         * manual/process.texi: Add %MENU% tag.
319         * manual/search.texi: Add %MENU% tag.
320         * manual/setjmp.texi: Add %MENU% tag.
321         * manual/signal.texi: Add %MENU% tag.
322         * manual/socket.texi: Add %MENU% tag.
323         * manual/startup.texi: Add %MENU% tag.
324         * manual/stdio.texi: Add %MENU% tag.
325         * manual/string.texi: Add %MENU% tag.
326         * manual/sysinfo.texi: Add %MENU% tag.
327         * manual/terminal.texi: Add %MENU% tag.
328         * manual/time.texi: Add %MENU% tag.
329         * manual/users.texi: Add %MENU% tag.
330
331 1998-07-13  Ulrich Drepper  <drepper@cygnus.com>
332
333         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
334         Update.
335
336 1998-07-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
337
338         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Use ANSI
339         style declaration to avoid warning.
340         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
341
342 1998-07-04  Mark Kettenis  <kettenis@phys.uva.nl>
343
344         * elf/rtld.c (process_dl_debug): Add missing continue.
345
346 1998-07-12  Mark Kettenis  <kettenis@phys.uva.nl>
347
348         * elf/rtld.c (_dl_skip_args): Make global because the Hurd startup
349         code needs it.
350
351 1998-07-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
352
353         * Makeconfig ($(common-objpfx)sysd-dirs): Write out definition of
354         sysd-dirs-done.
355         * Makerules: Don't generate version maps too early.
356         ($(common-objpfx)sysd-versions): Force regeneration if the list of
357         subdirs has changed.
358
359 1998-07-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
360
361         * elf/dlfcn.h (DL_CALL_FCT): Use portable comma expression.
362
363 1998-07-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
364
365         * iconv/gconv_db.c (gen_steps): Always set *handle and *nsteps.
366         * iconv/gconv_dl.c (__gconv_find_shlib): Correct use of tfind
367         return value.
368
369 1998-07-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
370
371         * elf/dl-open.c (dl_open_worker): New function.
372         (_dl_open): Call it to do the actual work while catching errors.
373         * elf/dl-close.c (_dl_close): Only call termination function if
374         the initialisation function was called.
375
376 1998-07-13  Ulrich Drepper  <drepper@cygnus.com>
377
378         * libio/libioP.h (_IO_cleanup_registration_needed): Use __PMT.
379         Reported by Felix von Leitner <leitner@amdiv.de>.
380
381 1998-07-13 10:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
382
383         * sysdeps/unix/sysv/linux/m68k/dl-envvars.h: New file.
384
385 1998-07-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
386
387         * Make-dist (+sysdep-tsrcs): Add Versions.
388
389 1998-07-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
390
391         * math/Versions: Remove __log1p, __atan2, __fe_dfl_env,
392         __fe_enabled_env, __fe_nonieee_env and __fe_nomask_env.
393         * sysdeps/powerpc/Versions: New file.
394         * csu/Versions: Remove brk, sbrk, environ, __environ, _environ
395         and __errno_location.
396         * misc/Versions: Add brk and sbrk.
397         * posix/Versions: Add environ, __environ and _environ.
398         * sysdeps/unix/sysv/linux/Versions: Add __errno_location.
399
400 1998-07-10 11:58  Ulrich Drepper  <drepper@cygnus.com>
401
402         * Makerules [no_defs]: Avoid dependency for loading sysd-versions.
403         Patch by Zack Weinberg.
404
405 1998-07-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
406
407         * posix/annexc.c (errno_maybe): EACCESS->EACCES.
408         (signal_maybe): Remove duplicate entry SIGEV_SIGNAL.
409         (mman_maybe): Remove duplicates MS_ASYNC, MS_INVALIDATE.
410
411 1998-07-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
412
413         * sysdeps/unix/sysv/linux/bits/fcntl.h: Fix typo.
414
415 1998-07-09  Ulrich Drepper  <drepper@cygnus.com>
416
417         * posix/unistd.h: Simplify #ifdefs.
418
419         * libio/libio.h: Undo last change due to possible C++ problems.
420         * libio/fileops.h: Likewise.
421
422 1998-07-09 13:34  Ulrich Drepper  <drepper@cygnus.com>
423
424         * grp/grp.h: Define gid_t also for __USE_XOPEN.
425         * io/fcntl.h: Include <sys/stat.h> also for __USE_XOPEN.
426         * io/utime.h: Define time_t also for __USE_XOPEN.
427         * io/sys/stat.h: Define time_t also for __USE_XOPEN.
428         Define *_t types except for pid_t also for __USE_XOPEN.
429         Define S_* macros also for __USE_XOPEN.
430         * locale/langinfo.h: Define CODESET, CRNCYSTR, RADIXCHAR, and
431         THOUSEP also for __USE_XOPEN.
432         * math/math.c: Define M_* macros also for __USE_XOPEN.
433         * math/bits/mathcalls.h: Declare hypot also for __USE_XOPEN.
434         * posix/fnmatch.h: Define FNM_NOSYS and for if _XOPEN_SOURCE is
435         defined.
436         * posix/glob.h: Likewise for GLOB_NOSYS.
437         * posix/regex.h: Likewise for REG_NOSYS.
438         * posix/wordexp.h: Likewise for WRDE_NOSYS.
439         * posix/unistd.h: Define *_t types also for __USE_XOPEN.
440         * posix/sys/wait.h: Define pid_t for __USE_XOPEN.
441         * pwd/pwd.h: Define gid_t and pid_t also for __USE_XOPEN.
442         * signal/signal.h: Define pid_t also for __USE_XOPEN.
443         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define _RSYNC and O_DSYNC also
444         for __USE_POSIX199309.
445         * sysdeps/unix/sysv/linux/bits/termios.h: Define the various B*
446         constants also for __USE_XOPEN.
447         * wcsmbs/wchar.h: For XPG4 include wctype.h.
448
449         * intl/dcgettext.c (find_msg): Initialize act to prevent warning.
450         * locale/setlocale.c (new_composite_name): Likewise for last_len.
451
452         * libio/stdio.h: Don't declare fclose_unlocked.
453
454         * sysdeps/posix/fpathconf.c: Handle _PC_FILESIZEBITS.
455
456 1998-07-08  Mark Kettenis  <kettenis@phys.uva.nl>
457
458         * stdio/stdio.h: Add prototypes for fflush_unlocked,
459         getc_unlocked, getchar_unlocked, putc_unlocked, putchar_unlocked,
460         fgets_unlocked, fread_unlocked, fwrite_unlocked,
461         clearerr_unlocked, feof_unlocked, ferror_unlocked,
462         fileno_unlocked, flockfile, ftrylockfile, funlockfile.
463         [__USE_XOPEN && !__USE_GNU] Declare optarg, optind, opterr.  Add
464         prototype for getopt.
465         * stdio/clearerr.c (clearerr_unlocked): Weak alias for clearerr.
466         * stdio/feof.c (feof_unlocked): Weak alias for feof.
467         * stdio/ferror.c (ferror_unlocked): Weak alias for ferror.
468         * stdio/fflush.c (fflush_unlocked): Weak alias for fflush.
469         * stdio/fgets.c (fgets_unlocked): Weak alias for fgets.
470         * stdio/fileno.c (fileno_unlocked): Weak alias for fileno.
471         * stdio/fputc.c (fputc_unlocked): Weak alias for fputc.
472         * stdio/fread.c (fread_unlocked): Weak alias for fread.
473         * stdio/fwrite.c (fwrite_unlocked): Weak alias for fwrite.
474         * stdio/getc.c (getchar_unlocked): Weak alias for getc.
475         * stdio/getchar.c (getchar_unlocked): Weak alias for getchar.
476         * stdio/putc.c (putc_unlocked): Weak alias for putc.
477         * stdio/putchar.c (putchar_unlocked): Weak alias for putchar.
478         * stdio/Versions [GLIBC_2.1]: Add clearerr_unlocked,
479         feof_unlocked, ferror_unlocked, fflush_unlocked, fgets_unlocked,
480         fileno_unlocked, fputc_unlocked, fread_unlocked, fwrite_unlocked,
481         getc_unlocked, getchar_unlocked, putc_unlocked and
482         putchar_unlocked.
483
484         * libio/Versions: Move flockfile, ftrylockfile and funlockfile
485         from here ...
486         * stdio-common/Versions: ... to here.
487
488 1998-07-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
489
490         * Makerules (versioning): Correct typo.
491
492 1998-07-08 22:18  Ulrich Drepper  <drepper@cygnus.com>
493
494         * elf/Versions: Add _dl_mcount_wrapper_check.
495         * elf/dlfcn.h (DL_CALL_FCT): Don't test _dl_profile_map, simply use
496         _dl_mcount_wrapper_check.
497         * iconv/skeleton.c: Use DL_CALL_FCT, not _CALL_DL_FCT.
498
499         * elf/dl-reloc.c (_dl_relocate_object): Don't declare using
500         internal_function.
501         * elf/ldsodefs.h: Likewise.
502
503         * io/fcntl.h: Define SEEK_SET, SEEK_CUR, and SEEK_END.
504
505         * libio/stdio.h: Make sure va_list is defined for X/Open.
506         Define P_tmpdir for X/Open.
507
508         * posix/regex.h: Fix typo.
509
510         * posix/unistd.h: Define intptr_t if not already happened.
511         Add pthread_atfork prototype.
512         * sysdeps/generic/bits/types.h: Define __intptr_t.
513         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
514         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
515         * sysdeps/unix/sysv/linux/bits/mips/types.h: Likewise.
516         * sysdeps/unix/sysv/linux/bits/sparc/sparc64/types.h: Likewise.
517         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
518         * sysdeps/wordsize-32/stdint.h: Don't define intptr_t if already done.
519         * sysdeps/wordsize-64/stdint.h: Likewise.
520
521         * posix/bits/posix1_lim.h: Define _POSIX_CLOCKRES_MIN.
522
523         * signal/Makefile (headers): Add bits/sigthread.h.
524         * signal/signal.h: Include bits/sigthread.h.
525         * sysdeps/generic/bits/sigthread.h: New file.
526
527         * stdlib/stdlib.h: Declare rand_r use __USE_POSIX.
528
529         * sysdeps/generic/bits/confname.h: Define _PC_FILESIZEBITS.
530         * sysdeps/posix/pathconf.c: Handle _PC_FILESIZEBITS.
531         * sysdeps/unix/sysv/linux/alpha/fpathconf.c: New file.
532         * sysdeps/unix/sysv/linux/alpha/pathconf.c: New file.
533
534         * sysdeps/generic/bits/dlfcn.h: Define RTLD_LOCAL.
535
536         * elf/rtld.c: Remove preloading and loadpath variables in SUID
537         programs.
538         * sysdeps/generic/dl-sysdep.c: Define unsetenv.
539         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Define other envvar
540         names.
541
542         * sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED.
543
544         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_RSYNC and O_DSYNC.
545         Remove O_READ and O_WRITE definition.
546
547         * sysdeps/unix/sysv/linux/bits/resource.h: Define RLIM_SAVED_MAX
548         and RLIM_SAVED_CUR.
549
550         * sysdeps/unix/sysv/linux/fstatvfs.h: Handle UFS filesystem.
551
552 1998-07-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
553
554         * Makerules ($(common-objpfx)sysd-versions): Expect awk script in
555         scripts directory.  Pass move-if-change to awk.
556         (common-generated): Add $(version-maps) and sysd-versions.
557         * versions.awk: Moved to...
558         * scripts/versions.awk: ... here.  Use move-if-change to void
559         touching unchanged files.  Print "version-maps = ..." instead of
560         "all-version-maps = ..." and without $(common-objpfx).  Explain
561         expected variable names.
562         * Makefile (distribute): Updated.
563
564 1998-07-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
565
566         * misc/getttyent.c (getttyent): Don't return with locked stream.
567         * misc/mntent_r.c (__getmntent_r): Likewise.
568
569 1998-07-07 18:24  Ulrich Drepper  <drepper@cygnus.com>
570
571         * libio/fileops.c (_IO_do_write): Don't shrink wwrite buffer to zero
572         if stream is line buffered.
573         (_io_file_overflow): Likewise.
574         * libio/libio.h (_IO_putc_unlocked): Make sure that for line-buffered
575         streams writing '\n' flushes the string.
576
577 1998-07-07 17:28  Ulrich Drepper  <drepper@cygnus.com>
578
579         * elf/dl-profstub.c (_dl_profile_map): Only declare variable here.
580         * elf/dl-support.c: Define it here...
581         * elf/rtld.c: ...and here.
582
583 1998-07-07 16:28  Ulrich Drepper  <drepper@cygnus.com>
584
585         * grp/initgroups.c: Handle directives from nsswitch.conf file.
586
587 1998-07-07  Ulrich Drepper  <drepper@cygnus.com>
588
589         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Add
590         __ino64_t definition.
591         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Define
592         __off64_t.  Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
593
594         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Do not exit the shell
595         script if lddlibc4 failed.
596         Reported by B. D. Elliott <bde@accessone.com>.
597
598 1998-07-06  Ulrich Drepper  <drepper@cygnus.com>
599
600         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
601         Improve generated strings a bit.
602
603 1998-07-06 14:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
604
605         * posix/Makefile (generated): Remove $(objpfx) from the names.
606
607 1998-07-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
608
609         * stdio-common/test_rdwr.c: Use %Zu for size_t in printf
610         format string.
611
612         * libio/iofread_u.c: Include <stdio.h> for prototype.
613         * libio/iofwrite_u.c: Likewise.
614
615 1998-07-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
616
617         * db2/Versions: New file.
618
619 1998-07-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
620
621         * Makefile (lib-noranlib): Don't depend on sysd-versions.
622         ($(common-objpfx)sysd-versions): Remove rule.
623         * Makerules ($(common-objpfx)sysd-versions): Define here instead.
624         Pass name of Versions.def file to script and redirect output to
625         target.  Include it and make all generated version maps depend on
626         it.
627         * versions.awk: Print out variable definition containing all
628         generated version maps.  Print error messages to stderr.  Remove
629         temp file.
630
631 1998-07-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
632
633         * posix/annexc.c (check_header): Terminate macro name before
634         comparing.
635         (get_null_defines): Allow builtin macros with parameters.
636         (fmt, testfmt): Add -D_LIBC.
637         * posix/Makefile: Remove bogus duplicate include directories from
638         annexc test command.
639
640 1998-07-06 12:04  Ulrich Drepper  <drepper@cygnus.com>
641
642         * nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r): Handle adjunct
643         password scheme.
644         (_nss_nis_getpwnam_r): Likewise.
645         (_nss_nis_getpwuid_r): Likewise.
646
647 1998-07-05  Mark Kettenis  <kettenis@phys.uva.nl>
648
649         * libio/Versions: Move symbols whose source lives in
650         stdio-common to ...
651         * stdio-common/Versions: ... here.
652         * stdio/Versions: Add missing symbols.
653
654 1998-07-05  Ulrich Drepper  <drepper@cygnus.com>
655
656         * sysdeps/unix/sysv/linux/__sendmsg.S: Define function as
657         __syscall_sendmsg.
658         * sysdeps/unix/sysv/linux/__recvmsg.S: Define function as
659         __syscall_recvmsg.
660         * sysdeps/unix/sysv/linux/recvmsg.c: Define function as __libc_recvmsg
661         and make __recvmsg and recvmsg weak aliases.
662         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise for sendmsg.
663         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define __syscall_recvmsg
664         and __syscall_sendmsg.
665
666 1998-07-05 11:49  Ulrich Drepper  <drepper@cygnus.com>
667
668         * iconv/gconv_conf.c (read_conf_file): Use feof_unlocked on private
669         stream.
670         * inet/ruserpass.c (token): Likewise.
671         * nss/nsswitch.c (nss_parse_file): Likewise.
672         * intl/localealias.c: Likewise.  Also for ferror.
673         * time/getdate.c (__getdate_r): Likewise.
674
675         * libio/Makefile (routines): Add iofgets_u.
676         * libio/iofgets_u.c: New file.
677         * libio/Versions: Add fgets_unlocked.
678         * libio/stdio.h: Add prototype for fgets_unlocked.
679
680         * misc/getttyent.c (getttyent): Use fgets_unlocked instead of fgets.
681         * misc/getusershell.c (initshells): Likewise.
682         * misc/mntent_r.c (__getmntent_r): Explicitly lock stream.  Use
683         fgets_unlocked.
684         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
685         * resolv/res_init.c (res_init): Likewise.
686         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
687
688 1998-05-23  Philip Blundell  <Philip.Blundell@pobox.com>
689
690         * sysdeps/unix/sysv/linux/arm/syscalls.list: Add `syscall'.
691         * sysdeps/unix/sysv/linux/arm/syscall.S: Deleted.
692
693 1998-07-05  Ulrich Drepper  <drepper@cygnus.com>
694
695         * misc/getttyent.c (getttyent): Explicitly lock the FILE and use
696         _unlocked functions.
697
698         * inet/ruserpass.c (ruserpass): Use _unlocked functions since this
699         is a private FILE.
700
701 1998-07-04 17:11 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
702
703         * csu/Makefile: Build crt files in lib pass.
704         * db2/Makefile (distribute): Add mutex/sco.cc.
705         * mach/Machrules: Don't generate .udeps files if no_deps is set.
706         * sysdeps/unix/Makefile: Don't generate sysd-syscalls or
707         s-proto.d if avoid-generated is set.
708
709         * sysdeps/alpha/Dist: List only one file per line.
710         * sysdeps/generic/Dist: Likewise.
711         * sysdeps/m68k/fpu/switch/Dist: Likewise.
712         * sysdeps/sparc/sparc32/Dist: Likewise.
713         * sysdeps/unix/Dist: Likewise.
714         * sysdeps/unix/sysv/irix4/Dist: Likewise.
715
716         * sysdeps/mach/hurd/i386/Dist: New file.
717         * sysdeps/generic/Dist: Add endutxent.c, getutxent.c, getutxid.c,
718         getutxline.c, pututxline.c, setutxent.c, updwtmpx.c, and utmpxname.c.
719         * sysdeps/unix/sysv/linux/Dist: Add getresuid.c and getresgid.c.
720         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove __sigtrampoline.S.
721
722 1998-07-04 10:14  Ulrich Drepper  <drepper@cygnus.com>
723
724         * libio/Makefile (routines): Add iofread_u and iofwrite_u.
725         * libio/Versions: Add fread_unlocked and fwrite_unlocked.
726
727         * Makerules (lib%.so): Adjust ignore pattern for last makefile change.
728
729         * time/tzfile.c (decode): Optimize by using bswap_32.
730         (__tzfile_read): Use _unlocked stream functions.  Correct setting of
731         __tzname array values.
732         (__tzfile_compute): Correct setting of __tzname array values.
733         * time/tzset.c (__tzstring): Clean up a bit.
734
735 1998-06-29 19:01  Jim Wilson  <wilson@cygnus.com>
736
737         * posix/regex.c (re_comp): Add cast to char * before gettext calls.
738
739 1998-06-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
740
741         * sysdeps/unix/bsd/poll.c (__poll): Allocate fd_set dynamically so
742         that fd can be bigger than FD_SETSIZE.
743
744 1998-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
745
746         * nscd/grpcache.c: Include <unistd.h>.
747         * nscd/pwdcache.c: Likewise.
748
749         * nis/nis_modify.c: Include <string.h>.
750         * nis/nis_add.c: Likewise.
751         * nis/nis_checkpoint.c: Likewise.
752         * posix/runptests.c: Likewise.
753         * sysdeps/generic/statvfs64.c: Likewise.
754         * sysdeps/generic/fstatvfs64.c: Likewise.
755
756 1998-07-03 13:16  Ulrich Drepper  <drepper@cygnus.com>
757
758         * localedata/charmaps/ISO-8859-9: Change mapping for 0xea, 0xec, 0xef
759         to match data from Unicode.
760         Reported by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
761
762 1998-07-03 11:45  Ulrich Drepper  <drepper@cygnus.com>
763
764         * stdio-common/printf.h: Define printf_function and
765         printf_arginfo_function types using __PMT not __P.
766         Reported by Marc Lehmann.
767
768 1998-07-02 14:07 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
769
770         * assert/test-assert.c: New test.
771         * assert/test-assert-perr.c: New test.
772         * assert/Makefile (tests): Add test-assert and test-assert-perr.
773
774 1998-07-02 13:45  Zack Weinberg  <zack@rabi.phys.columbia.edu>
775
776         BSD-style SCM_CREDS support.
777
778         * sysdeps/unix/sysv/linux/socket.h: Define struct cmsgcred and
779         SCM_CREDS.
780         * sysdeps/unix/sysv/linux/sendmsg.c: New file.  Convert user
781         visible SCM_CREDS packet to what the kernel wants.
782         * sysdeps/unix/sysv/linux/recvmsg.c: New file.  Convert
783         SCM_CREDS packet output by kernel to what users want.
784
785         * sysdeps/unix/sysv/linux/sendmsg.S: Moved to...
786         * sysdeps/unix/sysv/linux/__sendmsg.S: here.
787         * sysdeps/unix/sysv/linux/recvmsg.S: Moved to...
788         * sysdeps/unix/sysv/linux/__recvmsg.S: here.
789
790         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]: Add
791         __sendmsg and __recvmsg to sysdep_routines.
792         * sysdeps/unix/sysv/linux/Dist: Add __sendmsg.S and __recvmsg.S.
793
794 1998-07-02  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
795
796         * nscd/grpcache.c: Fix gid pointer handling and debug messages.
797         * nscd/pwdcache.c: Fix uid pointer handling and debug messages.
798         * nscd/nscd.c: Check, if pthread_create fails.
799
800 1998-07-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
801
802         * stdio-common/test_rdwr.c (main): Use %Zu for size_t in printf
803         format strings.
804         * stdio-common/bug1.c (main): Likewise.
805         * stdio-common/bug5.c (main): Likewise.
806         * stdio-common/tstgetln.c (main): Likewise.
807         * elf/sprof.c (generate_call_graph): Likewise.
808         (load_shobj): Likewise.
809         * posix/runptests.c (main): Likewise.
810         * string/tst-strlen.c (main): Likewise.
811
812         * sysdeps/libm-ieee754/e_acos.c (__ieee754_acos): Remove unused
813         variable q3.
814         * sysdeps/libm-ieee754/e_asin.c (__ieee754_asin): Likewise
815
816 1998-07-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
817
818         * wctype/Versions: Add __towctrans.
819         Noticed by Alex Buell <alex.buell@tahallah.demon.co.uk>.
820
821 1998-07-02  Mark Kettenis  <kettenis@phys.uva.nl>
822
823         * grp/initgroups.c (compat_call): Only call dynamically loaded
824         functions if they are really present.
825
826 1998-07-02  Mark Kettenis  <kettenis@phys.uva.nl>
827
828         * sysdeps/unix/sysv/linux/bits/sched.h: Move __END_DECLS within
829         #ifdef that contains __BEGIN_DECLS.
830
831 1998-07-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
832
833         * libio/iofwrite.c: Fix return value when size == 0.
834
835 1998-07-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
836
837         * posix/Makefile (distribute): Add annexc.c.
838         (generated): Add $(objpfx)annexc and $(objpfx)annexc.out.
839
840 1998-07-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
841
842         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
843         bits/pthreadtypes.h here, and do not clobber headers.
844
845         * sysdeps/unix/sysv/linux/Dist: Add bits/pthreadtypes.h.
846
847 1998-07-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
848
849         * timezone/tst-timezone.c: Add tests for tzname variable.
850
851 1998-07-03 12:17  Zack Weinberg  <zack@rabi.phys.columbia.edu>
852
853         * Makefile [versioning=yes]: Build the mapfiles with a pattern
854         rule that lists all of them as targets.
855         (sysd-versions): Depend only on Versions.def.  Write a Makefile
856         fragment that defines $(vers-libs) based on contents of that file;
857         then include it.
858         (lib-noranlib): Depend on lib-mapfiles not sysd-versions.
859         (lib-mapfiles): New target, depends on sysd-versions and $(vers-libs).
860         Predicate all this on avoid-generated unset as well as versioning.
861
862 1998-07-03 14:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
863
864         * sysdeps/unix/sysv/linux/m68k/Versions: New file.
865
866 1998-07-02 21:51  Ulrich Drepper  <drepper@cygnus.com>
867
868         * Makeconfig: Define list of subdirs as all-subdirs and make subdirs
869         a copy.
870         * Makefile: Add rules to generate map files.
871         (distribute): Remove libc.map, add Versions.def and versions.awk.
872         * Makerules: Change rules to find map files on common-objpfx.
873         * elf/Makefile: Likewise.
874         * md5-crypt/Makefile: Likewise.
875         * nis/Makefile (libnsl-map): Remove.
876         * Versions.def: New file.
877         * versions.awk: New file.
878         * argp/Versions: New file.
879         * assert/Versions: New file.
880         * catgets/Versions: New file.
881         * csu/Versions: New file.
882         * ctype/Versions: New file.
883         * db/Versions: New file.
884         * debug/Versions: New file.
885         * dirent/Versions: New file.
886         * elf/Versions: New file.
887         * gmon/Versions: New file.
888         * grp/Versions: New file.
889         * hesiod/Versions: New file.
890         * hurd/Versions: New file.
891         * iconv/Versions: New file.
892         * inet/Versions: New file.
893         * intl/Versions: New file.
894         * io/Versions: New file.
895         * libio/Versions: New file.
896         * linuxthreads/Versions: New file.
897         * locale/Versions: New file.
898         * login/Versions: New file.
899         * malloc/Versions: New file.
900         * math/Versions: New file.
901         * md5-crypt/Versions: New file.
902         * misc/Versions: New file.
903         * nis/Versions: New file.
904         * nss/Versions: New file.
905         * posix/Versions: New file.
906         * pwd/Versions: New file.
907         * resolv/Versions: New file.
908         * resource/Versions: New file.
909         * rt/Versions: New file.
910         * setjmp/Versions: New file.
911         * shadow/Versions: New file.
912         * signal/Versions: New file.
913         * socket/Versions: New file.
914         * stdio/Versions: New file.
915         * stdio-common/Versions: New file.
916         * stdlib/Versions: New file.
917         * streams/Versions: New file.
918         * string/Versions: New file.
919         * sunrpc/Versions: New file.
920         * sysdeps/alpha/Versions: New file.
921         * sysdeps/alpha/fpu/Versions: New file.
922         * sysdeps/i386/Versions: New file.
923         * sysdeps/sparc/Versions: New file.
924         * sysdeps/unix/sysv/Versions: New file.
925         * sysdeps/unix/sysv/linux/Versions: New file.
926         * sysdeps/unix/sysv/linux/alpha/Versions: New file.
927         * sysdeps/unix/sysv/linux/i386/Versions: New file.
928         * sysdeps/unix/sysv/linux/mips/Versions: New file.
929         * sysvipc/Versions: New file.
930         * termios/Versions: New file.
931         * time/Versions: New file.
932         * wcsmbs/Versions: New file.
933         * wctype/Versions: New file.
934         * libc.map: Removed.
935         * db/libdb.map: Removed.
936         * elf/libdl.map: Removed.
937         * hesiod/libnss_hesiod.map: Removed.
938         * hurd/libhurduser.map: Removed.
939         * hurd/libmachuser.map: Removed.
940         * linuxthreads/libpthread.map: Removed.
941         * locale/libBrokenLocale.map: Removed.
942         * login/libutil.map: Removed.
943         * math/libm.map: Removed.
944         * md5-crypt/libcrypt.map: Removed.
945         * nis/libnsl.map: Removed.
946         * nis/libnsl_compat.map: Removed.
947         * nis/libnss_nis.map: Removed.
948         * nis/libnss_nisplus.map: Removed.
949         * nss/libnss_db.map: Removed.
950         * nss/libnss_files.map: Removed.
951         * resolv/libnss_dns.map: Removed.
952         * resolv/libresolv.map: Removed.
953         * rt/librt.map: Removed.
954
955         * elf/dl-load.c (fillin_rpath): Fix test for trusted directory.
956         Fix typos.
957
958         * elf/rtld.c (process_dl_debug): Recognize 'all'.
959         (process_envvars): LD_BIND_NOW must be followed by y, Y, or 1.
960
961         * sysdeps/generic/elf/backtracesyms.c: Allocate string memory of
962         correct size.
963
964 1998-07-01  Ulrich Drepper  <drepper@cygnus.com>
965
966         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Fix typo
967         in comment.
968
969         * nscd/nscd.c: Include unistd.h.
970
971 1998-07-01 09:32  Ulrich Drepper  <drepper@cygnus.com>
972
973         * math/libm-test.c: Adjust delta for indentities1_test because gcc
974         became cleverer.
975
976 1998-06-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
977
978         * resolv/inet_addr.c (inet_aton): Define variable base only if needed.
979
980 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
981
982         * scripts/test-installation.pl: Include <stdio.h> in test program
983         to make it strictly conforming.
984
985 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
986
987         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
988         not a strong alias.
989         * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise.
990         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
991         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
992         * sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
993
994 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
995
996         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
997         not a strong alias.
998
999 1998-06-30  Ulrich Drepper  <drepper@cygnus.com>
1000
1001         * posix/Makefile (headers): Remove bits/pthreadtypes.h.
1002         * sysdeps/unix/sysv/linux/Makefile [subdir==posix] (headers): Add
1003         bits/pthreadtypes.h.
1004
1005 1998-06-30 11:47  Ulrich Drepper  <drepper@cygnus.com>
1006
1007         * include/aio.h: New file.
1008         * posix/Makefile (distribute): Add bits/pthreadtypes.h.
1009         (tests): Build and run annexc program.
1010         * posix/annexc.c: New file.
1011         * posix/bits/posix1_lim.h: Add several more _POSIX_* limits.
1012         * rt/aio.h: Remove __need_timespec_t.  We can include the whole time.h.
1013         * rt/aio_misc.c: Include limits.h.
1014         * rt/aio_notify.c: Include errno.h.
1015         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Include pthreadtypes.h.
1016         Define size_t.
1017         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1018         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1019         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
1020         * sysdeps/unix/sysv/linux/bits/errno.h: Define ENOTSUP though the
1021         kernel doesn't do this.
1022         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_LARGEFILE only if
1023         __USE_LARGEFILE64 is defined.
1024         * sysdeps/unix/sysv/linux/bits/pthreadtypes.h: New file.  Empty.
1025         * sysdeps/unix/sysv/linux/bits/sched.h: Define __sched_param struct
1026         if requested.
1027         * sysdeps/unix/sysv/linux/bits/siginifo.h: Protect non-standard names.
1028
1029         * stdlib/isomac.c: Avoid include_next warning.
1030
1031 1998-06-29 12:27  Ulrich Drepper  <drepper@cygnus.com>
1032
1033         * argp/argp.h: Use __PMT instead of __P for function pointer.
1034         * iconv/gconv.h: Likewise.
1035         * io/fts.h: Likewise.
1036         * io/ftw.h: Likewise.
1037         * libio/libio.h: Likewise.
1038         * malloc/mcheck.h: Likewise.
1039         * misc/search.h: Likewise.
1040         * posix/glob.h: Likewise.
1041         * resolv/resolv.h: Likewise.
1042         * signal/signal.h: Likewise.
1043         * stdlib/stdlib.h: Likewise.
1044         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
1045         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
1046
1047 1998-06-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1048
1049         * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) only once.
1050
1051 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1052
1053         * posix/wordexp.c (parse_param): Fix memory leak.
1054
1055 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1056
1057         * libc.map: Export _IO_ftrylockfile.
1058
1059 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1060
1061         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use get[pu]id instead of
1062         __get[pu]id.
1063
1064 1998-06-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1065
1066         * elf/dl-misc.c (_dl_debug_message): Don't cache the pid.
1067
1068         * elf/dl-runtime.c (_dl_object_relocation_scope): Avoid adding the
1069         same search list twice.
1070
1071 1998-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1072
1073         * login/programs/utmpd.c (handle_requests): Set and use maximal fd
1074         used to optimize loop/select.
1075
1076 1998-06-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1077
1078         * sysdeps/generic/init-first.c: Don't define __libc_pid.
1079         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
1080         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
1081         * sysdeps/mach/hurd/mips/init-first.c: Likewise.
1082         * sysdeps/arm/init-first.c: Likewise.
1083         * posix/getopt_init.c: Don't use __libc_pid.
1084         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1085         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1086         * libc.map: Remove __libc_uid and __libc_pid.
1087
1088 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1089
1090         * sunrpc/rtime.c (rtime): Use poll instead of select.
1091
1092 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1093
1094         * sunrpc/clnt_tcp.c (readtcp): Use poll instead of select.
1095         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
1096         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
1097         Patches from FreeBSD current.
1098
1099 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1100
1101         * nscd/connections.c (handle_new_request): Handle POLLHUP
1102         correctly.
1103         (close_sockets): Correct parameter to dbg_log.
1104
1105 1998-06-27  David S. Miller  <davem@pierdol.cobaltmicro.com>
1106
1107         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
1108         Cleanup weak_extern usage for _dl_hwcap and _dl_hwcap_mask.
1109         (elf_machine_fixup_plt): Likewise.
1110         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: When
1111         _dl_pagesize not set, use system call to always get correct answer.
1112         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
1113         (__syscall_getpagesize): Add
1114
1115 1998-06-27  Ulrich Drepper  <drepper@cygnus.com>
1116
1117         * resolv/res_send.c (res_send): Fix typo.
1118
1119 1998-06-25  Andi Kleen <ak@muc.de>
1120
1121         * inet/rcmd.c (rcmd): Change to use __poll instead of select.
1122         * resolv/res_send.c (res_send): Likewise.
1123
1124 1998-06-27 12:58  Ulrich Drepper  <drepper@cygnus.com>
1125
1126         * sysdeps/unix/bsd/poll.c: Define __poll, make poll weak alias.
1127         * sysdeps/unix/sysv/linux/poll.c: Likewise.
1128
1129 1998-06-27  7:07  Richard Henderson  <rth@cygnus.com>
1130
1131         * math/atest-exp.c (exp_mpn, main): Cast to mp_limb_t appropriately.
1132         * math/atest-exp2.c (exp_mpn, main): Likewise.
1133         * math/atest-sincos.c (main): Likewise.
1134
1135         * resolv/inet_addr.c (inet_aton): Check for 32-bit overflow.  Move
1136         base handling away from strtoul.  Always reset errno.
1137
1138         * sysdeps/alpha/Makefile (elf): Kill -mno-fp-regs.
1139
1140         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Only set
1141         _dl_profile_map if _dl_name_match_p.
1142         (RTLD_START): Fix .prologue.  Set __libc_stack_end.
1143         * sysdeps/alpha/elf/start.S: Pass sp as arg 7.  Kill __data_start.
1144
1145         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Mark tmp
1146         as early-clobber.
1147
1148         * sysdeps/libm-ieee754/e_exp10.c: Include "math_private.h".
1149         * sysdeps/libm-ieee754/e_exp10f.c: Likewise.
1150         * sysdeps/libm-ieee754/e_exp10l.c: Likewise.
1151
1152 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
1153
1154         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use alias-safe code.
1155
1156 1998-06-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1157
1158         * nis/nis_call.c: Don't copy server structure.
1159         * nis/nis_intern.h: Remove unused entries.
1160         * nis/nis_table.c: Rewrite __create_ib_request.
1161
1162 1998-06-26 14:37  Ulrich Drepper  <drepper@cygnus.com>
1163
1164         * configure.in: Check for -fexceptions.
1165         * config.make.in: Define exceptions, not no-exceptions.
1166         * misc/sys/cdefs.h: Define __PMT.  When using modern g++ define
1167         __P to use throw().
1168         * misc/Makefile: Define CFLAGS-tsearch.c and CFLAGS-lsearch.c to
1169         $(exceptions).
1170         * stdlib/Makefile: Likewise for bsearch.c, msort.c, and qsort.c.
1171         * misc/search.h: Use __PMT in tsearch, tfind, tdelete, twalk, tdestroy,
1172         lfind, and lsearch prototpypes.
1173         * stdlib/stdlib.h: Likewise for bsearch and qsort.
1174
1175 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
1176
1177         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use C code, not asm.
1178
1179 1998-06-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1180
1181         * Makefile (remove-old-headers): Make phony.
1182
1183         * configure.in: Substitute @old_glibc_headers@.
1184
1185 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
1186
1187         * libc.map: Remove __libc_uid.
1188
1189 1998-06-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1190
1191         * manual/terminal.texi (Allocation, Pseudo-Terminal Pairs): Fix
1192         typos.
1193
1194 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
1195
1196         * libc.map: Add Alpha-specific io function from protected namespace.
1197
1198 1998-06-25 19:26  Ulrich Drepper  <drepper@cygnus.com>
1199
1200         * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) if defined first.
1201         * locale/Makefile: Define locale-CPPFLAGS instead of redefining
1202         CPPFLAGS.
1203
1204         * libc.map: Export __sigaction.
1205
1206 1998-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1207
1208         * sysdeps/unix/sysv/linux/bits/sched.h (CLONE_PTRACE): Add it
1209         (from Linux 2.1.107).
1210
1211 1998-06-24  Ulrich Drepper  <drepper@cygnus.com>
1212
1213         * nss/nss_files/files-XXX.c (_nss_files_get,ENTNAME_r): Initialize
1214         position when file was opened here.
1215         Reported by Howard Chu <hyc@platinum.com>.
1216
1217         * sysdeps/generic/glob.c: Also protect FNM_* macros from being
1218         undefined in a second inclusion.
1219
1220 1998-06-20  Mark Kettenis  <kettenis@phys.uva.nl>
1221
1222         * sysdeps/mach/hurd/i386/Makefile: New file.
1223         * sysdeps/mach/hurd/i386/init-first.c [!PIC] (init1): Call
1224         __libc_init_secure.
1225         (_hurd_stack_setup): Renamed
1226         from __libc_init_first.
1227         (__libc_init_first): New function.
1228         * sysdeps/mach/hurd/i386/static-start.S: New file.
1229
1230 1998-05-30  Mark Kettenis  <kettenis@phys.uva.nl>
1231
1232         * sysdeps/mach/hurd/i386/init-first.c
1233
1234 1998-06-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1235
1236         * grp/initgroups.c: Use _CALL_DL_FCT.
1237
1238 1998-06-23  Mark Kettenis  <kettenis@phys.uva.nl>
1239
1240         * elf/rtld.c (process_dl_debug): Add missing continue.
1241
1242 1998-06-23  Mark Kettenis  <kettenis@phys.uva.nl>
1243
1244         * elf/dl-load.c (_dl_map_object_from_fd): Add missing cast.
1245
1246 1998-06-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1247
1248         * manual/terminal.texi (Pseudo-Terminals): Correct typos.
1249
1250 1998-06-23  Ulrich Drepper  <drepper@cygnus.com>
1251
1252         * config.make.in: Remove LDAP support.
1253         * nss/Makefile: Likewise.
1254
1255 1998-06-22 17:02  Ulrich Drepper  <drepper@cygnus.com>
1256
1257         * sysdeps/generic/enbl-secure.c: Don't use __libc_uid.
1258         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1259         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1260         * sysdeps/unix/sysv/linux/init-first.c: Don't initialize __libc_uid.
1261
1262 1998-06-02  Gordon Matzigkeit  <gord@profitpress.com>
1263
1264         * mach/Makefile: Change `mv' invocations to `mv -f'.
1265         * mach/Machrules: Likewise.
1266
1267 1998-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1268
1269         * config.make.in (old-glibc-headers): Add it.
1270
1271         * configure.in: Add test for glibc 2.0.x headers.
1272
1273         * Makefile (headers2_0): New variable - contains so far only
1274         Linux/Intel glibc 2.0.x headers.
1275         (remove-old-headers): New rule to remove headers from glibc 2.0.x.
1276         (install): Depend on remove-old-headers.
1277
1278 1998-06-19  Mark Kettenis  <kettenis@phys.uva.nl>
1279
1280         * sysdeps/generic/ftruncate.c: Define function as __ftruncate and
1281         make ftruncate a weak alias.
1282         * sysdeps/mach/hurd/ftruncate.c: Really define function as
1283         __ftruncate.
1284         * sysdeps/mach/hurd/truncate.c: Include <unistd.h>.
1285         (truncate): Fix function defenition to match prototype.
1286
1287 1998-06-20  Mark Kettenis  <kettenis@phys.uva.nl>
1288
1289         * manual/terminal.texi: Document ttyname_r, getpt, grantpt,
1290         unlockpt, ptsname, ptsname_r, openpty and forkpty.
1291
1292 1998-06-22  Ulrich Drepper  <drepper@cygnus.com>
1293
1294         * sysdeps/generic/glob.c: Make it possible to include glob.h
1295         before loading glob.c.
1296         Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
1297
1298 1998-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1299
1300         * nscd/connections.c: Use poll() instead of select().
1301
1302 1998-06-22 14:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1303
1304         * sysdeps/generic/Dist: Fix typo.
1305
1306 1998-06-20  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1307
1308         * nis/nis_add.c: Avoid unnecessary strlen () calls.
1309         * nis/nis_addmember.c: Likewise.
1310         * nis/nis_call.c: Likewise.
1311         * nis/nis_creategroup.c: Likewise.
1312         * nis/nis_destroygroup.c: Likewise.
1313         * nis/nis_findserv.c: Likewise.
1314         * nis/nis_ismember.c: Likewise.
1315         * nis/nis_print.c: Likewise.
1316         * nis/nis_print_group_entry.c: Likewise.
1317         * nis/nis_removemember.c: Likewise.
1318         * nis/nis_verifygroup.c: Likewise.
1319         * nis/ypclnt.c: Likewise.
1320
1321         * nis/nis_file.c: Close file handles.
1322
1323         * nis/nis_callback.c: Fix typo.
1324
1325 1998-06-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1326
1327         * nis/Makefile: Add nis-initgroups and compat-initgroups.
1328         * nis/libnss_compat.map: Add _nss_compat_initgroups.
1329         * nis/libnss_nis.map: Add _nss_nis_initgroups.
1330         * nis/nss_compat/compat-initgroups.c: New, faster then getgrent().
1331         * nis/nss_nis/nis-initgroups.c: Likewise.
1332         * libc-work/nss/nsswitch.c: Rename nss_lookup_function to
1333         __nss_lookup_function and make it public.
1334         * grp/initgroups.c: Rewrite, to use initgroups function from NSS
1335         module if exists, else use old method.
1336
1337 1998-06-19  Ulrich Drepper  <drepper@cygnus.com>
1338
1339         * nss/getXXbyYY_r.c (lookup_function): Correct return in type
1340         definition.
1341         * nss/getXXent_r.c (set_function, end_function, get_function):
1342         Likewise.  Reported by Thorsten Kukuk.
1343
1344         * sysdeps/unix/sysv/linux/sigstack.c: Mark sigstack as dangerous.
1345
1346 1998-06-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1347
1348         * sysdeps/unix/sysv/linux/sparc/Dist: Follow change from
1349         1998-06-16 and distribute kernel_termios.h.
1350
1351         * nis/Makefile (distribute): Add nis_xdr.h.
1352
1353 1998-06-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1354
1355         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Disable for
1356         kernels that don't have sigaltstack.
1357
1358 1998-06-19  Ulrich Drepper  <drepper@cygnus.com>
1359
1360         * sysdeps/generic/bits/sem.h: Don't define union semun.
1361
1362         * sysdeps/unix/sysv/linux/bits/sem.h: Fix typo.
1363
1364         * sysdeps/unix/sysv/linux/bits/ipc.h: Remove ipc_kludge definition
1365         here.
1366         * sysdeps/unix/sysv/linux/msgrcv.c (msgrcv): Add ipc_kludge
1367         definition here.
1368
1369 1998-06-18 21:45  Ulrich Drepper  <drepper@cygnus.com>
1370
1371         * signal/signal.h: Add prototype for __sigaltstack.
1372         * sysdeps/unix/sysv/linux/syscalls.list: Add __sigaltstack name.
1373         Remove sigstack entry.
1374         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add sigstack here.
1375         * sysdeps/unix/sysv/linux/sigstack.c: New file.
1376
1377         * sysdeps/i386/backtrace.c: Add casts.
1378
1379 1998-06-18 19:49  Ulrich Drepper  <drepper@cygnus.com>
1380
1381         * intl/dcgettext.c: use complete type name.
1382         * intl/hash-string.h: Likewise.
1383
1384         * intl/localealias.c: Undo patch from 1998-04-29.
1385         * intl/l10nflist.c: Likewise.
1386         * intl/loadinfo.h: Likewise.
1387
1388 1998-06-18  Ulrich Drepper  <drepper@cygnus.com>
1389
1390         * sysdeps/i386/elf/start.S (_start): Ensure correct alignment.
1391
1392 1998-06-18 16:40  Ulrich Drepper  <drepper@cygnus.com>
1393
1394         * libc.map: Add _dl_profile_map, _dl_profile_output, _dl_start_profile,
1395         _dl_mcount, _dl_mcount_wrapper.
1396         * elf/Makefile (routines): Add dl-profstub.
1397         * elf/dl-profstub.c: New file.
1398         * elf/dl-support.c: Don't define _dl_profile_map.
1399         * elf/rtld.c: Likewise.
1400         * elf/dlfcn.h: Define DL_CALL_FCT macro.
1401         * elf/ldsodefs.h: Declare _dl_profile_output, _dl_mcount_wrapper.
1402         Define _CALL_DL_FCT.
1403         * iconv/gconv.c: Use _CALL_DL_FCT to call function from dynamically
1404         loaded object.
1405         * iconv/gconv_db.c: Likewise.
1406         * iconv/skeleton.c: Likewise.
1407         * nss/getXXbyYY_r.c: Likewise.
1408         * nss/getXXent_r.c: Likewise.
1409         * nss/nsswitch.c: Likewise.
1410
1411 1998-06-18 12:29  Ulrich Drepper  <drepper@cygnus.com>
1412
1413         * sysdeps/libm-i387/e_scalb.S: Fix bug in FPU stack handling.
1414         * sysdeps/libm-i387/e_scalbf.S: Likewise.
1415         * sysdeps/libm-i387/e_scalbl.S: Likewise.
1416
1417 1998-06-18  Ulrich Drepper  <drepper@cygnus.com>
1418
1419         * stdlib/tst-strtod.c (long_dbl): Provide receipe to regenerate
1420         longestdbl.
1421
1422 1998-06-18 10:26  Ulrich Drepper  <drepper@cygnus.com>
1423
1424         * iconvdata/Makefile (modules): Add MACINTOSH.
1425         (MACINTOSH-routines): New variable.
1426         (distribute): Add macintosh.c.
1427         (awk-generated-headers): Add macintosh.h.
1428         Add rule for macintosh.h generation.
1429         * iconvdata/gconv-modules: Add definitions for MACINTOSH.
1430         * iconvdata/macintosh.c: New file.
1431
1432 1998-06-17  Ulrich Drepper  <drepper@cygnus.com>
1433
1434         * stdlib/tst-strtod.c (long_dbl): Add test for loooong numbers.
1435
1436         * stdlib/strtod.c (str_to_mpn): Fix extending of n array which
1437         only should happen for cy != 0.
1438
1439         * sysdeps/unix/sysv/linux/alpha/glob.c: Include sys/types.h before
1440         glob.h.
1441
1442 1998-06-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1443
1444         * sysdeps/generic/backtrace.c (INNER_THAN): New definition, use it
1445         to compare stack addresses.
1446
1447 1998-06-17  Ulrich Drepper  <drepper@cygnus.com>
1448
1449         * sysdeps/unix/sysv/linux/alpha/glob.c: Include glob.h before
1450         defining prototypes.
1451
1452 1998-06-16  David S. Miller <davem@dm.cobaltmicro.com>
1453
1454         * sysdeps/sparc/sparc32/dl-machine.h
1455         (elf_machine_fixup_plt): During rtld bootstrap, always perform
1456         flushes as the kernel will emulate it when the underlying cpu does
1457         not implement flush.
1458
1459         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: Move...
1460         * sysdeps/unix/sysv/linux/sparc/kernel_termios.h: ...to here.
1461
1462         * sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S: Remove.
1463         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: No longer build
1464         trampoline code.
1465
1466         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S
1467         (__clone): Branch to label .Lerror not __clone_syscall_error.
1468         (.Lerror): Fixup EINVAL setting.
1469         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: New file.
1470         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
1471         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
1472         (__syscall_getgroups, __syscall_setgroups): Add.
1473
1474         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1475         (__sigaction): Member name is k_sa_handler.  Use memcpy to copy
1476         around sa_mask data.
1477
1478 1998-06-16  Ulrich Drepper  <drepper@cygnus.com>
1479
1480         * math/math.h: Include bits/nan.h when compiling for ISO C 9x.
1481
1482         * string/Makefile: Make sure test-ffs does not use builtins.
1483
1484 1998-06-16  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1485
1486         * sunrpc/svc.c: Check for NULL pointer.
1487
1488         * nis/libnsl.map: Add public NIS+ xdr functions.
1489
1490         * nis/rpcsvc/nis_callback.h: New file.
1491         * nis/rpcsvc/nis.h: Move xdr_* functions from here ...
1492         * nis/nis_xdr.h: ... here.
1493
1494         * nis/nis_add.c: Use internal _xdr_* functions, check for NULL
1495         pointers, use NIS+ defines where possible.
1496         * nis/nis_cache.c: Likewise.
1497         * nis/nis_cache2_xdr.c: Likewise.
1498         * nis/nis_call.c: Likewise.
1499         * nis/nis_checkpoint.c: Likewise.
1500         * nis/nis_clone_dir.c: Likewise.
1501         * nis/nis_clone_obj.c: Likewise.
1502         * nis/nis_clone_res.c: Likewise.
1503         * nis/nis_creategroup.c: Likewise.
1504         * nis/nis_file.c: Likewise.
1505         * nis/nis_free.c: Likewise.
1506         * nis/nis_getservlist.c: Likewise.
1507         * nis/nis_local_names.c: likewise.
1508         * nis/nis_lookup.c: Likewise.
1509         * nis/nis_mkdir.c: Likewise.
1510         * nis/nis_modify.c: Likewise.
1511         * nis/nis_ping.c: Likewise.
1512         * nis/nis_print.c: Likewise.
1513         * nis/nis_remove.c: Likewise.
1514         * nis/nis_removemember.c: Likewise.
1515         * nis/nis_rmdir.c: Likewise.
1516         * nis/nis_server.c: Likewise.
1517         * nis/nis_table.c: Likewise.
1518         * nis/nis_util.c: Likewise.
1519         * nis/nis_verifygroup.c: Likewise.
1520         * nis/nis_xdr.c: Likewise.
1521         * nis/nis_callback.c: Likewise, and move xdr functions from here ...
1522         * nis/nis_xdr.c: ... to here.
1523
1524 1998-06-15 18:07  Ulrich Drepper  <drepper@cygnus.com>
1525
1526         * iconvdata/ksc5601.h: Clean up a bit.
1527
1528 1998-06-15 14:35  Ulrich Drepper  <drepper@cygnus.com>
1529
1530         * sunrpc/svc_tcp.c (readtcp): Also listen to all the other connections
1531         and process incoming data.
1532         * sunrpc/xdr_rec.c (set_input_fragment): Only recognize zero length
1533         fragments as invalid.
1534         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
1535
1536 1998-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1537
1538         Removal of duplicates like "the the".
1539         * manual/time.texi (TZ Variable): Likewise.
1540         * manual/users.texi (Manipulating the Database): Likewise.
1541         * manual/sysinfo.texi (Filesystem handling): Likewise.
1542         * manual/signal.texi (Signaling Yourself): Likewise.
1543         * manual/message.texi (Message Translation): Likewise.
1544         (Common Usage): Likewise.
1545         * manual/llio.texi: Likewise.
1546         * manual/arith.texi (Old-style number conversion): Likewise.
1547         * manual/argp.texi (Argp): Likewise.
1548         (Argp Parsers): Likewise.
1549         (Argp Help Filtering): Likewise.
1550
1551         * hesiod/README.hesiod: Correct typo.
1552
1553         * manual/llio.texi: Correct typos.
1554         * manual/sysinfo.texi: Likewise.
1555
1556 1998-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1557
1558         * rt/aio.h: Rename __op to __operation for g++.
1559
1560 1998-06-13 20:17 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1561
1562         * iconvdata/gen-8bit-gap.sh: Use awk not perl.  Clean up sed
1563         script.
1564         * iconvdata/gen-8bit-gap-1.sh: Likewise.
1565         * iconvdata/gen-8bit.sh: Clean up sed script.
1566
1567         * iconvdata/Makefile: Remove all PERL conditionals; build all
1568         the modules all the time.  Export AWK.
1569         (gen-8bit-gap): Delete setting of PERL.
1570         (gen-8bit-gap-1): Likewise.
1571         (perl-generated-headers): Renamed awk-generated-headers.
1572
1573         * iconvdata/gap.pl: Removed.
1574         * iconvdata/gaptab.pl: Removed.
1575         * iconvdata/gap.awk: New file.
1576         * iconvdata/gaptab.awk: New file.
1577
1578 1998-06-15  Ulrich Drepper  <drepper@cygnus.com>
1579
1580         * sysdeps/generic/Dist: Add errno-loc.c.
1581
1582         * sysdeps/unix/sysv/linux/alpha/glob.c: Add prototypes for the
1583         __new_* functions.
1584
1585 1998-06-14 14:21 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1586
1587         * stdio-common/bug12.c: New test for fread()/fseek().
1588         * stdio-common/Makefile (tests): Add bug12.
1589
1590 1998-06-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1591
1592         * sysdeps/generic/elf/backtracesyms.c: Make array elements
1593         constant.
1594         * sysdeps/generic/backtracesyms.c: Likewise.  Fix type of RESULT.
1595         * debug/execinfo.h: Update declaration.
1596
1597 1998-06-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1598
1599         * sysdeps/generic/elf/backtracesyms.c: Make array elements constant.
1600         * sysdeps/generic/backtracesyms.c: Likewise.  Fix type of RESULT.
1601         * debug/execinfo.h: Update declaration.
1602
1603 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1604
1605         * manual/llio.texi: Fix spelling.
1606         * manual/sysinfo.texi: Fix spelling.
1607
1608 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1609
1610         * misc/hsearch.c (__hdestroy): Renamed from hdestroy, create weak
1611         alias for old name.  Put this on __libc_subfreeres.
1612         * misc/search.h: Declare it.
1613
1614 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1615
1616         * string/bits/string2.h (strcmp): Add missing parens around macro
1617         parameters.
1618
1619 1998-06-12 23:34  Ulrich Drepper  <drepper@cygnus.com>
1620
1621         * manual/arith.texi: Fix problem with @math and texinfo.tex.
1622
1623         * manual/filesys.texi: Document LFS functions.
1624         * manual/llio.texi: Likewise.
1625         * manual/stdio.texi: Likewise.
1626         * manual/time.texi: Likewise.
1627
1628         * manual/llio.texi: Document AIO functions.
1629
1630         * resource/sys/resource.h: Mark second argument of setrlimit as const.
1631         * sysdeps/generic/setrlimit.c: Likewise.
1632         * sysdeps/generic/setrlimit64.c: Likewise.
1633         * sysdeps/mach/hurd/setrlimit.c: Likewise.
1634         * sysdeps/unix/sysv/setrlimit.c: Likewise.
1635
1636 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1637
1638         * sysdeps/generic/getenv.c: Fix last change.
1639
1640 1998-06-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1641
1642         * sysdeps/generic/backtrace.c: Provide generic implementation.
1643
1644 1998-06-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1645
1646         * configure.in: Give visual feedback of the default directories we
1647         added.
1648
1649 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1650
1651         * io/fts.c (fts_build): Define oflag only if needed.
1652
1653 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1654
1655         * sysdeps/libm-ieee754/w_exp10.c: Add missing close comment.
1656
1657 1998-06-11  Ulrich Drepper  <drepper@cygnus.com>
1658
1659         * libc.map: Don't export argp's fmtstream handling functions.
1660
1661         * manual/sysinfo.texi: Document fstab and mtab handling functions.
1662         * manual/llio.texi: Document more LFS functions and start documenting
1663         the AIO functions.
1664
1665 1998-06-03 03:09  Geoff Keating  <geoffk@ozemail.com.au>
1666
1667         * sysdeps/unix/sysv/linux/pread.c: Detect missing syscall, like poll().
1668         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1669         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1670         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1671
1672 1998-06-03 03:09  Geoff Keating  <geoffk@ozemail.com.au>
1673
1674         * sysdeps/powerpc/Makefile: Use -G0 on the startup file; this
1675         makes it easier to undump emacs.
1676         * sysdeps/powerpc/bits/endian.h: Use more informative error message
1677         for when the endianness can't be determined.
1678
1679 1998-06-04 13:19  Geoff Keating  <geoffk@ozemail.com.au>
1680
1681         * nss/Makefile: Add files publickey database support.
1682         * nss/libnss_files.map: Export the required functions.
1683         * nss/nss_files/files-key.c: Implement it.
1684         * sunrpc/rpc/auth_des.h: Correct typos in comments.
1685
1686 1998-06-10  Ulrich Drepper  <drepper@cygnus.com>
1687
1688         * iconv/gconv_builtin.h: Add aliases for CORBA.
1689         * iconvdata/gconv-modules: Likewise.
1690
1691 1998-06-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1692
1693         * math/libm-test.c (main): Call exp10_test.
1694         (exp10_test): New function which tests exp10.
1695
1696 1998-06-10  Ulrich Drepper  <drepper@cygnus.com>
1697
1698         * sysdeps/unix/sysv/linux/syscalls.list: Add sigaltstack and
1699         sigstack.
1700
1701         * sysdeps/unix/sysv/linux/bits/sigstack.h: Add definitions of
1702         SS_ONSTACK, SS_DISABLE, MINSIGSTKSZ and SIGSTKSZ.
1703         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h: New file.
1704
1705 1998-06-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1706
1707         * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address
1708         in the variable, not its GOT slot.
1709
1710 1998-06-10 10:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1711
1712         * sysdeps/m68k/fpu/bits/mathinline.h: Define __ieee754_exp10 as
1713         inline.
1714         * sysdeps/m68k/fpu/e_exp10.c: New file.
1715         * sysdeps/m68k/fpu/e_exp10f.c: New file.
1716         * sysdeps/m68k/fpu/e_exp10l.c: New file.
1717
1718         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Set
1719         _dl_profile_map only if the name matches.
1720         (_dl_start_user): Remember stack address.
1721         * sysdeps/m68k/elf/start.S: Pass new argument to
1722         __libc_start_user.
1723
1724         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_LABEL): New
1725         definition.
1726         (PSEUDO, SYSCALL_ERROR_HANDLER): Use it instead of syscall_error.
1727         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
1728         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
1729         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
1730         * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
1731
1732 1998-06-09 18:16  Ulrich Drepper  <drepper@cygnus.com>
1733
1734         * math/Makefile (libm-calls): Add w_exp10 and e_exp10.
1735         * math/libm.map: Add exp10{,f,l} and pow10{,f,l}.
1736         * math/math_private.h: Add prototypes for __ieee754_exp10{,f,l}.
1737         * math/bits/mathcalls.h: Add definitions for exp10 and pow10
1738         prototypes.
1739         * sysdeps/libm-i387/e_exp10.S: New file.
1740         * sysdeps/libm-i387/e_exp10f.S: New file.
1741         * sysdeps/libm-i387/e_exp10l.S: New file.
1742         * sysdeps/libm-ieee754/e_exp10.c: New file.
1743         * sysdeps/libm-ieee754/e_exp10f.c: New file.
1744         * sysdeps/libm-ieee754/e_exp10l.c: New file.
1745         * sysdeps/libm-ieee754/w_exp10.c: New file.
1746         * sysdeps/libm-ieee754/w_exp10f.c: New file.
1747         * sysdeps/libm-ieee754/w_exp10l.c: New file.
1748         * sysdeps/libm-ieee754/k_standard.c: Add exception code for exp10.
1749
1750 1998-05-25 22:18  H.J. Lu  <hjl@gnu.org>
1751
1752         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers): Add
1753         sys/elf.h and sys/reg.h.
1754         * sysdeps/unix/sysv/linux/i386/sys/elf.h: New file.
1755         * sysdeps/unix/sysv/linux/i386/sys/reg.h: New file.
1756         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: New file.
1757         * sysdeps/unix/sysv/linux/i386/sys/user.h: New file.
1758
1759         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETREGS,
1760         PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS): Added.
1761
1762 1998-06-09  Ulrich Drepper  <drepper@cygnus.com>
1763
1764         * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_options): Define
1765         __data member only for gcc.  Reported by ak@muc.de.
1766
1767         * misc/mntent.h: Undo last patch.
1768         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Undo last patch.
1769         * misc/tst/mntent.c: Adjust code for this change.
1770
1771         * io/fts.c: Updated from a slightly more recent BSD version.
1772         * io/fts.h: Likewise.
1773
1774         * libc.map: Add __libc_stack_end.
1775
1776         * db2/Makefile (routines): Add lock_region.
1777         * db2/config.h: Update from db-2.4.14.
1778         * db2/db.h: Likewise.
1779         * db2/db_185.h: Likewise.
1780         * db2/db_int.h: Likewise.
1781         * db2/btree/bt_close.c: Likewise.
1782         * db2/btree/bt_compare.c: Likewise.
1783         * db2/btree/bt_conv.c: Likewise.
1784         * db2/btree/bt_cursor.c: Likewise.
1785         * db2/btree/bt_delete.c: Likewise.
1786         * db2/btree/bt_open.c: Likewise.
1787         * db2/btree/bt_page.c: Likewise.
1788         * db2/btree/bt_put.c: Likewise.
1789         * db2/btree/bt_rec.c: Likewise.
1790         * db2/btree/bt_recno.c: Likewise.
1791         * db2/btree/bt_rsearch.c: Likewise.
1792         * db2/btree/bt_search.c: Likewise.
1793         * db2/btree/bt_split.c: Likewise.
1794         * db2/btree/bt_stat.c: Likewise.
1795         * db2/btree/btree.src: Likewise.
1796         * db2/btree/btree_auto.c: Likewise.
1797         * db2/clib/getlong.c: Likewise.
1798         * db2/common/db_appinit.c: Likewise.
1799         * db2/common/db_apprec.c: Likewise.
1800         * db2/common/db_byteorder.c: Likewise.
1801         * db2/common/db_err.c: Likewise.
1802         * db2/common/db_log2.c: Likewise.
1803         * db2/common/db_region.c: Likewise.
1804         * db2/common/db_salloc.c: Likewise.
1805         * db2/common/db_shash.c: Likewise.
1806         * db2/db/db.c: Likewise.
1807         * db2/db/db.src: Likewise.
1808         * db2/db/db_auto.c: Likewise.
1809         * db2/db/db_conv.c: Likewise.
1810         * db2/db/db_dispatch.c: Likewise.
1811         * db2/db/db_dup.c: Likewise.
1812         * db2/db/db_overflow.c: Likewise.
1813         * db2/db/db_pr.c: Likewise.
1814         * db2/db/db_rec.c: Likewise.
1815         * db2/db/db_ret.c: Likewise.
1816         * db2/db/db_thread.c: Likewise.
1817         * db2/db185/db185.c: Likewise.
1818         * db2/db185/db185_int.h: Likewise.
1819         * db2/dbm/dbm.c: Likewise.
1820         * db2/hash/hash.c: Likewise.
1821         * db2/hash/hash.src: Likewise.
1822         * db2/hash/hash_auto.c: Likewise.
1823         * db2/hash/hash_conv.c: Likewise.
1824         * db2/hash/hash_debug.c: Likewise.
1825         * db2/hash/hash_dup.c: Likewise.
1826         * db2/hash/hash_func.c: Likewise.
1827         * db2/hash/hash_page.c: Likewise.
1828         * db2/hash/hash_rec.c: Likewise.
1829         * db2/hash/hash_stat.c: Likewise.
1830         * db2/include/btree.h: Likewise.
1831         * db2/include/btree_ext.h: Likewise.
1832         * db2/include/clib_ext.h: Likewise.
1833         * db2/include/common_ext.h: Likewise.
1834         * db2/include/cxx_int.h: Likewise.
1835         * db2/include/db.h.src: Likewise.
1836         * db2/include/db_185.h.src: Likewise.
1837         * db2/include/db_am.h: Likewise.
1838         * db2/include/db_auto.h: Likewise.
1839         * db2/include/db_cxx.h: Likewise.
1840         * db2/include/db_dispatch.h: Likewise.
1841         * db2/include/db_ext.h: Likewise.
1842         * db2/include/db_int.h.src: Likewise.
1843         * db2/include/db_page.h: Likewise.
1844         * db2/include/db_shash.h: Likewise.
1845         * db2/include/db_swap.h: Likewise.
1846         * db2/include/hash.h: Likewise.
1847         * db2/include/hash_ext.h: Likewise.
1848         * db2/include/lock.h: Likewise.
1849         * db2/include/lock_ext.h: Likewise.
1850         * db2/include/log.h: Likewise.
1851         * db2/include/log_ext.h: Likewise.
1852         * db2/include/mp.h: Likewise.
1853         * db2/include/mp_ext.h: Likewise.
1854         * db2/include/mutex_ext.h: Likewise.
1855         * db2/include/os_ext.h: Likewise.
1856         * db2/include/os_func.h: Likewise.
1857         * db2/include/queue.h: Likewise.
1858         * db2/include/shqueue.h: Likewise.
1859         * db2/include/txn.h: Likewise.
1860         * db2/lock/lock.c: Likewise.
1861         * db2/lock/lock_conflict.c: Likewise.
1862         * db2/lock/lock_deadlock.c: Likewise.
1863         * db2/lock/lock_region.c: Likewise.
1864         * db2/lock/lock_util.c: Likewise.
1865         * db2/log/log.c: Likewise.
1866         * db2/log/log.src: Likewise.
1867         * db2/log/log_archive.c: Likewise.
1868         * db2/log/log_auto.c: Likewise.
1869         * db2/log/log_compare.c: Likewise.
1870         * db2/log/log_findckp.c: Likewise.
1871         * db2/log/log_get.c: Likewise.
1872         * db2/log/log_put.c: Likewise.
1873         * db2/log/log_rec.c: Likewise.
1874         * db2/log/log_register.c: Likewise.
1875         * db2/mp/mp_bh.c: Likewise.
1876         * db2/mp/mp_fget.c: Likewise.
1877         * db2/mp/mp_fopen.c: Likewise.
1878         * db2/mp/mp_fput.c: Likewise.
1879         * db2/mp/mp_fset.c: Likewise.
1880         * db2/mp/mp_open.c: Likewise.
1881         * db2/mp/mp_pr.c: Likewise.
1882         * db2/mp/mp_region.c: Likewise.
1883         * db2/mp/mp_sync.c: Likewise.
1884         * db2/mutex/68020.gcc: Likewise.
1885         * db2/mutex/mutex.c: Likewise.
1886         * db2/mutex/parisc.gcc: Likewise.
1887         * db2/mutex/parisc.hp: Likewise.
1888         * db2/mutex/sco.cc: Likewise.
1889         * db2/os/os_abs.c: Likewise.
1890         * db2/os/os_alloc.c: Likewise.
1891         * db2/os/os_config.c: Likewise.
1892         * db2/os/os_dir.c: Likewise.
1893         * db2/os/os_fid.c: Likewise.
1894         * db2/os/os_fsync.c: Likewise.
1895         * db2/os/os_map.c: Likewise.
1896         * db2/os/os_oflags.c: Likewise.
1897         * db2/os/os_open.c: Likewise.
1898         * db2/os/os_rpath.c: Likewise.
1899         * db2/os/os_rw.c: Likewise.
1900         * db2/os/os_seek.c: Likewise.
1901         * db2/os/os_sleep.c: Likewise.
1902         * db2/os/os_spin.c: Likewise.
1903         * db2/os/os_stat.c: Likewise.
1904         * db2/os/os_unlink.c: Likewise.
1905         * db2/progs/db_archive/db_archive.c: Likewise.
1906         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
1907         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
1908         * db2/progs/db_dump/db_dump.c: Likewise.
1909         * db2/progs/db_dump185/db_dump185.c: Likewise.
1910         * db2/progs/db_load/db_load.c: Likewise.
1911         * db2/progs/db_printlog/db_printlog.c: Likewise.
1912         * db2/progs/db_recover/db_recover.c: Likewise.
1913         * db2/progs/db_stat/db_stat.c: Likewise.
1914         * db2/txn/txn.c: Likewise.
1915         * db2/txn/txn.src: Likewise.
1916         * db2/txn/txn_auto.c: Likewise.
1917         * db2/txn/txn_rec.c: Likewise.
1918
1919         * elf/rtld.c: Move definition of __libc_stack_end to ...
1920         * sysdeps/generic/dl-sysdep.h: ...here.
1921
1922         * sysdeps/unix/sysv/linux/fstatvfs.c: Handle nodiratime option.
1923         * sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_NODIRATIME.
1924         * sysdeps/unix/sysv/linux/sys/mount.h: Define MS_NODIRATIME.
1925
1926         * sysdeps/generic/libc-start.c: Always set __libc_stack_end.
1927         * sysdeps/i386/backtrace.c: Test whether frame pointer is legal
1928         before following it.
1929
1930 1998-06-08 21:44  Ulrich Drepper  <drepper@cygnus.com>
1931
1932         * sysdeps/unix/sysv/linux/fstatvfs.c: Handle constant option string
1933         from mntent correctly.
1934
1935 1998-06-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1936
1937         * sunrpc/Makefile (generated): Correct typo.
1938
1939 1998-06-04  Philip Blundell  <philb@gnu.org>
1940
1941         * elf/elf.h (EM_ARM, et al.): New definitions.
1942         * sysdeps/arm/dl-machine.h: Update for new draft ARM ELF ABI.
1943
1944 1998-06-08 21:33  Ulrich Drepper  <drepper@cygnus.com>
1945
1946         * localedata/SUPPORTED: Add sk_SK.
1947         * localedata/locales/sk_SK: New file.
1948
1949 1998-06-08 18:57  Ulrich Drepper  <drepper@cygnus.com>
1950
1951         * Makeconfig (subdirs): Add debug.
1952         * configure.in: Use sysdeps/generic/elf subdir if ELF platform.
1953         * libc.map: Add __backtrace, __backtrace_symbols, backtrace and
1954         backtrace_symbols.
1955         * sysdeps/generic/backtrace.c: New file.
1956         * sysdeps/generic/backtracesyms.c: New file.
1957         * sysdeps/generic/elf/backtracesyms.c: New file.
1958         * sysdeps/i386/backtrace.c: New file.
1959         * debug/Makefile: New file.
1960         * debug/backtrace-tst.c: New file.
1961         * debug/execinfo.h: New file.
1962
1963 1998-06-08 13:34  Ulrich Drepper  <drepper@cygnus.com>
1964
1965         * elf/sprof.c: Implement call graph profiling.
1966
1967         * sysdeps/generic/getenv.c: Optimize to use strncmp less often.
1968
1969 1998-06-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1970
1971         * pwd/fgetpwent_r.c (__fgetpwent_r): Correct buffer overflow fix.
1972         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
1973         * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
1974         Noticed by Jake Garver <garver@valkyrie.net>.
1975
1976 1998-06-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1977
1978         * libio/genops.c (__underflow): Read character from read pointer
1979         as unsigned.
1980         (__uflow): Likewise.
1981
1982 1998-06-07 13:32  Ulrich Drepper  <drepper@cygnus.com>
1983
1984         * libc.map: Add _dl_profile.
1985         * elf/dl-reloc.c (_dl_relocate_object): Take extra argument, pass
1986         this to ELF_DYNAMIC_RELOCATE.
1987         Always allocate array for relocation result if LD_PROFILE is defined.
1988         * elf/ldsodefs.h: Adjust prototypes.
1989         * elf/dl-open.c (_dl_open): Call relocation function with extra
1990         argument.
1991         * elf/rtld.c: Likewise.
1992         * elf/dl-profile.c (_dl_mcount): Don't mark as internal function.
1993         Correct loop condition.
1994         * elf/dynamic-link.h: Don't examine _dl_profile variable, pass
1995         consider_profile to runtime setup function.
1996         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Use
1997         _dl_runtime_profile for all shared objects if LD_PROFILE is defined.
1998
1999         * elf/dl-support.c: Define __libc_stack_end.
2000         * elf/rtld.c: Likewise.
2001         * sysdeps/generic/libc-start.c: Store last stack address in
2002         __libc_stack_end.
2003         * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address.
2004         * sysdeps/i386/elf/start.s: Call __libc_start_main with extra argument.
2005
2006         * elf/elf.h: Include <features.h>, not <sys/cdefs.h>.
2007         Include <stdint.h>, not <inttypes.h>.
2008
2009         * elf/sprof.c: Implement flat profiling.
2010
2011         * libio/fgetc.c: Call _IO_cleanup_region_end with 0 and call
2012         _IO_funlockfile explicitly.
2013         * libio/fileops.c: Likewise.
2014         * libio/fputc.c: Likewise.
2015         * libio/freopen.c: Likewise.
2016         * libio/freopen64.c: Likewise.
2017         * libio/fseek.c: Likewise.
2018         * libio/fseeko.c: Likewise.
2019         * libio/fseeko64.c: Likewise.
2020         * libio/ftello.c: Likewise.
2021         * libio/ftello64.c: Likewise.
2022         * libio/getc.c: Likewise.
2023         * libio/getchar.c: Likewise.
2024         * libio/iofclose.c: Likewise.
2025         * libio/iofflush.c: Likewise.
2026         * libio/iofgetpos.c: Likewise.
2027         * libio/iofgetpos64.c: Likewise.
2028         * libio/iofgets.c: Likewise.
2029         * libio/iofputs.c: Likewise.
2030         * libio/iofread.c: Likewise.
2031         * libio/iofsetpos.c: Likewise.
2032         * libio/iofsetpos64.c: Likewise.
2033         * libio/ioftell.c: Likewise.
2034         * libio/iofwrite.c: Likewise.
2035         * libio/iogetdelim.c: Likewise.
2036         * libio/iogets.c: Likewise.
2037         * libio/ioputs.c: Likewise.
2038         * libio/ioseekoff.c: Likewise.
2039         * libio/ioseekpos.c: Likewise.
2040         * libio/iosetbuffer.c: Likewise.
2041         * libio/iosetvbuf.c: Likewise.
2042         * libio/ioungetc.c: Likewise.
2043         * libio/iovsprintf.c: Likewise.
2044         * libio/iovsscanf.c: Likewise.
2045         * libio/oldfileops.c: Likewise.
2046         * libio/oldiofclose.c: Likewise.
2047         * libio/peekc.c: Likewise.
2048         * libio/putc.c: Likewise.
2049         * libio/putchar.c: Likewise.
2050         * libio/rewind.c: Likewise.
2051
2052         * malloc/mtrace.c: Pretty print.
2053
2054         * misc/mntent.h (struct mentent): Make string elements const char *.
2055
2056         * nis/nis_printf.c: Optimize I/O a little bit.
2057
2058         * signal/Makefile (distribute): Add sigset-cvt-mask.h.
2059         * sysdeps/generic/sigset-cvt-mask.h: New file.
2060         * sysdeps/unix/sysv/linux/sigset-cvt-mask.h: New file.
2061         * sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h: New file.
2062         * sysdeps/posix/sigvec.c: Rewrite the use definitions from
2063         sigset-cvt-mask.h to do the dirty work.
2064         Patches by Joe Keane.
2065
2066         * sysdeps/posix/mkstemp.c: Save one precious byte of rodata.
2067
2068         * sysdeps/unix/sysv/linux/i386/sysdep.h: Rewrite PSEUDO etc to make
2069         syscall_error label in case of PIC anonymous.
2070         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise.
2071         * sysdeps/unix/sysv/linux/i386/clone.S: Adapt for this change.
2072         * sysdeps/unix/sysv/linux/i386/mmap.S: Adapt for this change.
2073         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Adapt for this change.
2074         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Adapt for this change.
2075         * sysdeps/unix/sysv/linux/i386/socket.S: Adapt for this change.
2076         * sysdeps/unix/sysv/linux/i386/syscall.S: Adapt for this change.
2077
2078 1998-06-05  Ulrich Drepper  <drepper@cygnus.com>
2079
2080         * sunrpc/xdr_rec.c (xdrrec_create): Add cast for *_ops array since
2081         we cannot declare the struct element as const.
2082         * sunrpc/xdr_mem.c (xdrmem_create): Likewise.
2083         * sunrpc/xdr_stdio.c (xdrstdio_create): Likewise.
2084
2085 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2086
2087         * manual/Makefile: Include ../Makeconfig earlier.
2088         (MAKEINFO, TEXI2DVI): Use defaults if ../Makeconfig does not
2089         exist.
2090         (dir-add.texinfo): Remove useless $(SHELL).
2091
2092 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2093
2094         * Makefile (others): Build programs from install-bin.
2095         * configure.in: Modify config.make only if is was just created and
2096         move that command to second argument of AC_OUTPUT.  Add command to
2097         set config_vars in config.status.
2098
2099 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2100
2101         * malloc/Makefile (address-width): Fix conditional.
2102
2103 1998-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2104
2105         * libc.map: Add fattach, fdetach, getmsg, getpmsg, makecontext,
2106         putmsg, putpmsg, scalbln, scalblnf, scalblnl, strtoimax,
2107         strtoumax, swapcontext, waitid, wcsnlen, wcstoimax, wcstoumax with
2108         version GLIBC_2.1.
2109
2110 1998-06-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2111
2112         * manual/lang.texi (Range of Type): Change @end table->@end vtable.
2113         (Floating Point Parameters): Likewise.
2114
2115 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2116
2117         * hurd/Makefile (routines): Add cthreads.
2118
2119 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2120
2121         * login/login.c (login): Let pututline take care of finding the
2122         positin to insert the UTMP entry.  This corrects a bug where ssh
2123         was not reusing UTMP entries marked as DEAD_PROCESS.
2124         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
2125
2126 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2127
2128         * login/Makefile (tests): New variable, add tst-utmp and
2129         tst-utmpx.
2130         * login/tst-utmp.c: New file.
2131         * login/tst-utmpx.c: New file.
2132
2133 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2134
2135         * sysdeps/mach/hurd/errlist.c (sys_nerr, _sys_nerr): Make weak
2136         aliases for _hurd_nerr, for programs that don't use sys_errlist,
2137         but need sys_err.
2138
2139 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2140
2141         * sysdeps/generic/updwtmpx.c: Rename function to updwtmpx.
2142         * libc.map: Add updwtmpx and utmpxname to GLIBC_2.1.
2143
2144 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2145
2146         * sysdeps/mach/hurd/read.c: Rename function to __libc_read and
2147         make __read a weak alias.  Use ANSI-style function definition.
2148         * sysdeps/mach/hurd/write.c: Likewise.
2149
2150 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2151
2152         * sysdeps/mach/hurd/err_hurd.sub: Use _hurd_errlist instead of
2153         _sys_errlist.
2154
2155 1998-05-30  Mark Kettenis  <kettenis@phys.uva.nl>
2156
2157         * sysdeps/mach/hurd/Makefile ($(objpfx)librtld.os):
2158         Renamed from librtld.so.
2159
2160 1998-06-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2161
2162         * libc.map: Remove _IO_getline_info which was erroneously
2163         introduced in section GLIBC_2.0.
2164         Noticed by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
2165
2166 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2167
2168         * sysdeps/generic/socket.c (__socket): Renamed from socket, and
2169         created a weak alias.
2170         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
2171
2172 1998-05-31  Gordon Matzigkeit  <gord@profitpress.com>
2173
2174         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Rename from old
2175         ftruncate function, and create a weak alias to ftruncate.
2176
2177 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2178
2179         * grp/fgetgrent_r.c: Use &errno instead of __errno_location ().
2180         * inet/getnetgrent_r.c: Likewise.
2181         * nss/getXXbyYY_r.c: Likewise.
2182         * nss/getXXent_r.c: Likewise.
2183         * pwd/fgetpwent_r.c: Likewise.
2184         * shadow/sgetspent_r.c: Likewise.
2185         * shadow/fgetspent_r.c: Likewise.
2186         * sunrpc/publickey.c: Likewise.
2187
2188 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2189
2190         * hurd/libhurduser.map: New file.
2191         * mach/libmachuser.map: Likewise.
2192
2193         * libc.map: Add Hurd-specific functions to version 2.1.
2194         Add __flshfp and __fillbf.
2195
2196 1998-05-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2197
2198         * manual/signal.texi (Basic Signal Handling): Fix typo.
2199         * manual/errno.texi (Error Codes): Likewise.
2200
2201 1998-06-02  Ulrich Drepper  <drepper@cygnus.com>
2202
2203         * sysdeps/unix/sysv/linux/netipx/ipx.h: Include <bits/sockaddr.h>
2204         instead of <sys/socket.h>.
2205         Patch by NIIBE Yutaka <gniibe@mri.co.jp>
2206
2207         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (DL_FIND_ARG_COMPONENTS):
2208         Finally make it working.
2209         Patch by Mark Hatle <fray@kernel.crashing.org>.
2210
2211 1998-03-22  Paul Eggert  <eggert@twinsun.com>
2212
2213         * posix/regex.c: Include <wchar.h> before <wctype.h>, to work around
2214         a Solaris 2.6 bug.
2215
2216 1998-05-30  Philip Blundell  <Philip.Blundell@pobox.com>
2217
2218         * stdlib/gmp-impl.h: Support strange mixed-endian double format
2219         used by ARM systems.
2220         * sysdeps/arm/fpu/bits/fenv.h (FE_EXCEPTION_SHIFT): Rename to
2221         FE_EXCEPT_SHIFT.
2222         * sysdeps/arm/bits/fenv.h: Deleted.
2223         * sysdeps/arm/fpu/ieee754.h: New file.
2224         * sysdeps/arm/gmp-mparam.h: New file.
2225         * stdlib/longlong.h (umul_ppmm): Temporarily disable broken ARM
2226         implementation.
2227
2228 1998-06-01  Ulrich Drepper  <drepper@cygnus.com>
2229
2230         * sunrpc/rpc/xdr.h (struct XDR): Don't mark xdr_ops element as const.
2231
2232         * sysdeps/i386/fpu/bits/mathinline.h: Use ((__unused__)) instead
2233         of ((unused)).  Reported by Bruno Haible.
2234
2235 1998-05-31  Philip Blundell  <philb@gnu.org>
2236
2237         * sysdeps/unix/sysv/linux/arm/sysdep.S: Use C_SYMBOL_NAME when
2238         referring to errno and _errno.
2239
2240         * sysdeps/arm/fpu/feholdexcpt.c: New file.
2241
2242         * sysdeps/i386/fpu_control.h: Fix typo.
2243
2244         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Remove floating-point support.
2245         (_JMPBUF_UNWINDS): Added.
2246         * sysdeps/arm/fpu/bits/setjmp.h: New file.
2247
2248 1998-05-25  Gordon Matzigkeit  <gord@profitpress.com>
2249
2250         * sysdeps/mach/hurd/Makefile: Use the `before-compile' target in
2251         order to build header files, not `generated'.
2252
2253         * Rules (before-compile): New target which depends on all
2254         $(before-compile) files.
2255
2256 1998-06-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2257
2258         * nis/nis_call.c: Make directory search faster.
2259
2260         * nis/nis_callback.c: Insert public key of user in callback data.
2261
2262         * nis/nis_clone_obj.c: Make size from type u_long, not u_int.
2263
2264         * nis/nis_creategroup.c: Check for NULL pointer, fill in more fields.
2265
2266         * nis/nis_findserv.c: Rename __pmap_getport to __pmap_getnisport.
2267
2268         * nis/nis_intern.h: Remove duplicated prototype.
2269
2270 1998-06-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2271
2272         * sunrpc/auth_des.c: Move prototypes from here ...
2273         * sunrpc/rpc/auth.h: ... to here.
2274
2275         * sunrpc/clnt_tcp.c: Add more control flags.
2276         * sunrpc/clnt_udp.c: Likewise.
2277
2278         * sunrpc/netname.c (host2netname): Remove prefixing dot from
2279         domainname.
2280
2281         * sunrpc/rpc/clnt.h: Document, which control flags are not
2282         implementable.
2283
2284         * sunrpc/svcauth_des.c: Use key_decryptsession_pk to avoid deadlock.
2285
2286 1998-05-29  Ulrich Drepper  <drepper@cygnus.com>
2287
2288         * locale/loadlocale.c (_nl_load_locale): Don't allow too small
2289         files crash the program.
2290
2291         * io/Makefile: Don't run ftwtest-sh if cross-compiling.
2292         * string/Makefile: Don't run test on tst-svc.out if cross-compiling.
2293         Reported by Deborah Wallach <kerr@pa.dec.com>.
2294
2295 1998-05-28 00:53  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2296
2297         * glibcbug.in: Send to bugs@gnu or libc-alpha@cygnus depending
2298         on whether this is a stable release or not (keeps snapshot bug
2299         reports out of the database).
2300
2301         * include/libc-symbols.h: Use __ASSEMBLER__ test macro not ASSEMBLER.
2302         * sysdeps/arm/sysdep.h: Likewise.
2303         * sysdeps/i386/sysdep.h: Likewise.
2304         * sysdeps/m68k/sysdep.h: Likewise.
2305         * sysdeps/mach/mips/sysdep.h: Likewise.
2306         * sysdeps/mach/sys/reboot.h: Likewise.
2307         * sysdeps/mach/sysdep.h: Likewise.
2308         * sysdeps/unix/alpha/sysdep.h: Likewise.
2309         * sysdeps/unix/bsd/hp/m68k/sysdep.h: Likewise.
2310         * sysdeps/unix/bsd/osf/alpha/sysdep.h: Likewise.
2311         * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise.
2312         * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
2313         * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
2314         * sysdeps/unix/bsd/vax/sysdep.h: Likewise.
2315         * sysdeps/unix/i386/sysdep.h: Likewise.
2316         * sysdeps/unix/mips/sysdep.h: Likewise.
2317         * sysdeps/unix/sparc/sysdep.h: Likewise.
2318         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise.
2319         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2320         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2321         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2322         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
2323         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2324         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2325         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise.
2326
2327 1998-05-27  Mark Kettenis  <kettenis@phys.uva.nl>
2328
2329         * mach/Machrules: Use $(move-if-change).
2330
2331 1998-05-27  Mark Kettenis  <kettenis@phys.uva.nl>
2332
2333         * Makeconfig [elf=yes] (+interp): New variable, set to interp.os.
2334         * Makerules (lib%.so): Depend on $(+interp).
2335         (libc.so): Add interp.os to list of dependencies.
2336         (interp-obj): Remove variable.
2337         * mach/Machrules (+interp): Define to empty since libhurduser and
2338         libmachuser don't need to have the interpreter set.
2339
2340 1998-05-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2341
2342         * resolv/res_send.c: Security fixes from bind 4.9.7-REL.
2343
2344         * resolv/gethnamaddr.c: Likewise.
2345
2346         * resolv/res_comp.c: Likewise.
2347
2348 1998-05-28  Mark Kettenis  <kettenis@phys.uva.nl>
2349
2350         * sysdeps/mach/hurd/wait4.c (__wait4): Use ANSI-style definition
2351         so that transparent union works.
2352
2353 1998-05-29 08:58  Ulrich Drepper  <drepper@cygnus.com>
2354
2355         * manual/texinfo.tex: Update to last available version.
2356
2357         * timezone/africa: Update from tzdata1998e.
2358         * timezone/antarctica: Likewise.
2359         * timezone/asia: Likewise.
2360         * timezone/australasia: Likewise.
2361         * timezone/europe: Likewise.
2362         * timezone/iso3166.tab: Likewise.
2363         * timezone/northamerica: Likewise.
2364         * timezone/tzselect.ksh: Likewise.
2365         * timezone/zone.tab: Likewise.
2366
2367 1998-05-27  Ulrich Drepper  <drepper@cygnus.com>
2368
2369         * sysdeps/unix/sysv/linux/i386/chown.c: Fix comment.
2370         Reported by Matt McLean <keys@brio.yikes.com>.
2371
2372 1998-05-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2373
2374         * catgets/Makefile ($(objpfx)de.cat): Renamed from
2375         do-gencat-test.  Use automatic variables.
2376         ($(objpfx)de.msg): Fix reference to po file.
2377
2378 1998-05-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2379
2380         * Makeconfig ($(common-objpfx)gnu/lib-names.stmp): Use
2381         $(move-if-change).
2382
2383 1998-05-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2384
2385         * intl/dcgettext.c: Fix typo.
2386
2387 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2388
2389         * configure.in: Allow more make versions e.g 3.76.90.
2390
2391 1998-05-25  Ulrich Drepper  <drepper@cygnus.com>
2392
2393         * Makeconfig (rpath-link): Find libc.so.6 in $(common-objdir).
2394
2395         * malloc/thread-m.h: Use __mutex_init function in mutex_init macro
2396         for Hurd.  Patch by Mark Kettenis.
2397
2398 1998-04-18  Gordon Matzigkeit  <gord@profitpress.com>
2399
2400          * mach/Machrules (+preinit, +postinit): Define these variables to
2401          empty because libhurduser and libmachuser don't need startup
2402          files.
2403
2404 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
2405
2406          * sysdeps/mach/hurd/errlist.c (ERR_REMAP): Use err_get_code
2407          instead of a raw bitmask.
2408
2409 1998-05-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2410
2411         * Makeconfig (rpath-dirs): New variable.
2412         (rpath-link): Use it.
2413         (nssobjdir, nisobjdir, rtobjdir, resolvobjdir): Removed.
2414         (db-objpfx): Removed.
2415         * crypt/Makefile: Augment rpath-dirs instead of rpath-link.
2416         * md5-crypt/Makefile: Likewise.
2417         * sysdeps/mach/hurd/Makefile: Likewise.
2418
2419         * Makeconfig (move-if-change): New variable.
2420         * iconvdata/Makefile (move-if-change): Removed.
2421         * manual/Makefile (move-if-change): Set only if undefined, use
2422         local script by default.
2423         * sunrpc/Makefile (move-if-change): Removed.
2424         * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
2425         $(move-if-change).
2426
2427          * elf/Makefile: Remove all references to obsolete file
2428          $(objpfx)rtldtbl.h.
2429          ($(objpfx)trusted-dirs.h): Use stamp file.  Cleanup command.
2430
2431 1998-05-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2432
2433         * elf/dl-close.c (_dl_close): Add debugging message.
2434
2435 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2436
2437         * csu/Makefile ($(objpfx)version-info.h): Correct sed expression
2438         to get Linux version and not gcc version.
2439         Reported by Alan Curry <pacman@cqc.com>.
2440
2441 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2442
2443         * sysdeps/generic/_strerror.c (__strerror_r): Don't return NULL
2444         pointers - return unknown error message instead.
2445         Reported by Alan Curry <pacman@cqc.com>.
2446
2447 1998-05-24  Mark Kettenis  <kettenis@phys.uva.nl>
2448
2449         * iconvdata/Makefile (modules, sed-generated-headers,
2450         perl-generated-headers): ibm424.h is perl generated.  Make
2451         necessary modifications to compile without perl.
2452
2453 1998-05-24  Mark Kettenis  <kettenis@phys.uva.nl>
2454
2455         * hesiod/hesiod.c (read_config_file): Fix typo.
2456
2457 1998-05-24  Ulrich Drepper  <drepper@cygnus.com>
2458
2459         * version.h: Bump VERSION.
2460
2461         * csu/Makefile (distribute): Add munch-tmpl.c.
2462
2463 1998-05-23  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2464
2465         * nis/nis_defaults.c: Fix buffer problems and typos.
2466
2467 1998-05-23 08:42  Ulrich Drepper  <drepper@cygnus.com>
2468
2469         * intl/dcgettext.c: Don't use any alloca hacks if C_ALLOCA is defined.
2470         Patch by Fred Fish.
2471
2472 1998-05-22  Ulrich Drepper  <drepper@cygnus.com>
2473
2474         * stdlib/random_r.c (__random_r): Rewrite last patch to fix buffer
2475         overwriting bugs.
2476
2477         * libio/strops.c (_IO_str_underflow): Read newly available
2478         character from buffer as unsigned.
2479
2480 1998-05-22 10:56  Ulrich Drepper  <drepper@cygnus.com>
2481
2482         * catgets/Makefile (distribute): Add xopen-msg.h.
2483         (generated): Add de.msg and de.cat.
2484         (tests): Add do-gencat-test.
2485         (do-gencat-test): New goal.  Run gencat on a generated msg file.
2486         * catgets/xopen-msg.h: New file.
2487
2488 1998-05-22  Ulrich Drepper  <drepper@cygnus.com>
2489
2490         * catgets/open_catalog.c (__open_catalog): Use byteswap.h
2491         functions.  Optimize filename creation a bit.
2492
2493 1998-05-22 09:29  Ulrich Drepper  <drepper@cygnus.com>
2494
2495         * stdlib/random_r.c: Help gcc to optimize the code.
2496         Patch by Joe Keane <jgk@jgk.org>.
2497
2498 1998-05-21  Ulrich Drepper  <drepper@cygnus.com>
2499
2500         * iconv/iconv_prog.c (print_known_names): Use strverscmp in all
2501         tsearch calls.
2502
2503 1998-05-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2504
2505         * timezone/test-tz.c: The test with TZ=UTC0 seems to work - enable
2506         it.
2507
2508 1998-05-21 15:27  Ulrich Drepper  <drepper@cygnus.com>
2509
2510         * wcsmbs/wcsnrtombs.c: Correct computation of result.
2511         * wcsmbs/wcsrtombs.c: Likewise.
2512
2513         * wcsmbs/Makefile (tests): Add wcsmbs-tst1.c.
2514         * wcsmbs/wcsmbs-tst1.c: New file.
2515
2516         * iconv/loop.c (COUNT_CONVERTED): Correct computation.
2517
2518         * locale/C-ctype.c (_nl_C_LC_CTYPE): Define MB_CUR_MAX for C locale
2519         as 1.
2520
2521         * locale/setlocale.c: Don't make _nl_current_* and _nl_C_* references
2522         weak.
2523
2524 1998-05-21  Philip Blundell  <philb@gnu.org>
2525
2526         * sysdeps/arm/fpu_control.h: Replace stub file with real
2527         implementation.
2528         * sysdeps/arm/fpu/bits/fenv.h: New file.
2529         * sysdeps/arm/fpu/fesetround.c: Likewise.
2530         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
2531         * sysdeps/arm/fpu/fsetexcptflag.c: Likewise.
2532         * sysdeps/arm/fpu/ftestexcpt.c: Likewise.
2533         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
2534         * sysdeps/arm/fpu/fegetenv.c: Likewise.
2535         * sysdeps/arm/fpu/fesetenv.c: Likewise.
2536
2537 1998-05-21 16:34  Richard Henderson  <rth@cygnus.com>
2538
2539         * elf/dl-load.c (_dl_map_object_from_fd): Get file header with
2540         read instead of mmap.
2541
2542 1998-05-21  8:16  Richard Henderson  <rth@cygnus.com>
2543
2544         * sysdeps/unix/sysv/linux/alpha/glob.c: Include sysdeps/generic/glob.c
2545         directly instead of include_next.  Add missing semicolons.
2546         * sysdeps/unix/sysv/linux/alpha/oldglob.c: Include sys/types.h.
2547         Add missing semicolons.
2548
2549 1998-05-21  Ulrich Drepper  <drepper@cygnus.com>
2550
2551         * iconvdata/gconv-modules: Add more aliases to please java
2552         environments.
2553
2554 1998-05-20  Ulrich Drepper  <drepper@cygnus.com>
2555
2556         * stdio-common/vfprintf.c (process_arg): Fix typo.
2557
2558         * iconvdata/TESTS: New tests for EUC-KR.
2559
2560         * iconvdata/Makefile ($(objpfx)iconv-test.out): Also depend on TESTS.
2561         * iconvdata/testdata/EUC-KR: New file.
2562
2563 1998-05-20 07:26  H.J. Lu  <hjl@gnu.org>
2564
2565         * math/libm-test.c (hypot_test): Fix a typo.
2566
2567 1998-05-20  Ulrich Drepper  <drepper@cygnus.com>
2568
2569         * stdio-common/vfprintf.c: When precision is specified for %ls or
2570         %S handle it correctly.
2571
2572 1998-05-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2573
2574         * sysdeps/unix/bsd/vax/vfork.S: Missed double occurences of "the
2575         the" in one line - fixed it.
2576         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
2577         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
2578         * posix/unistd.h: Likewise
2579
2580 1998-05-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2581
2582         * Makeconfig (rpath-link): Add resolvobjdir.
2583         (resolvobjdir): New variable.
2584         Reported by Peter Breitenlohner <peb@mppmu.mpg.de> [fixes PR libc/633].
2585
2586 1998-05-20 09:36  Ulrich Drepper  <drepper@cygnus.com>
2587
2588         * elf/dl-close.c: Call shared object terminators at the right time.
2589         Patch by Philippe Troin <phil@fifi.org>.
2590
2591 1998-05-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2592
2593         * Make-dist (+tsrcs): Also add *.map for every member of
2594         $(extra-libs).
2595
2596         * Makefile (distribute): Don't distribute scripts/printsources and
2597         scripts/=__ify.  Distribute FAQ.in.
2598         (rpm/%): Don't pass subdirs to sub-make.
2599
2600         * timezone/Makefile: Protect inclusion of z.* by $(avoid-generated)
2601         instead of $(no_deps).
2602
2603 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2604
2605         * sysdeps/generic/setenv.c: Protect against GNU C extension.
2606         (KNOWN_VALUE, STORE_VALUE): Do it right.
2607         (setenv): Remove unused variable.
2608
2609 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2610
2611         * timezone/Makefile (tz-cflags): Define TM_GMTOFF and TM_ZONE.
2612         (CFLAGS-zdump.c): Add $(tz-cflags).
2613
2614         * timezone/zdump.c (abbr): Use TM_ZONE if defined.  Add const to
2615         return type.
2616
2617 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2618
2619         * time/tzfile.c (__tzfile_compute): Undo last change.  Instead
2620         take struct tm parameter and set tm_isdst, tm_zone and tm_offset
2621         if use_localtime.
2622         * time/tzset.c: Update prototype of __tzfile_compute.
2623         (__tz_convert): Pass tp to __tzfile_compute.  Don't set tm_isdst,
2624         tm_zone and tm_offset here if __use_tzfile.
2625
2626 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2627
2628         * Makerules: Install libc.a even if there are no object file.
2629
2630 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2631
2632         * Makerules (do-makelib): Don't force creating library from
2633         scratch, which is faster and gets correct behaviour if $(subdirs)
2634         is incomplete.
2635
2636 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2637
2638         * Makerules (do-stamp): Make it work when building in source
2639         directory.
2640
2641 1998-05-20 00:10  Ulrich Drepper  <drepper@cygnus.com>
2642
2643         * elf/dl-load.c: Rename option and variable from ignore-rpath to
2644         inhibit-rpath.
2645         * elf/dl-support.c: Likewise.
2646         * elf/ldsodefs.h: Likewise.
2647         * elf/rtld.c: Likewise.
2648         * iconvdata/run-iconv-test.sh: Likewise.
2649
2650 1998-05-19 23:08  Ulrich Drepper  <drepper@cygnus.com>
2651
2652         * elf/rtld.c: Recognize --ignore-rpath argument and set _dl_ignore_path
2653         variable using the value.
2654         * elf/ldsodefs.h: Declare _dl_ignore_path.
2655         * elf/dl-load.c (decompose_rpath): Compare name of handled shared
2656         object against list in _dl_ignore_path and ignore RPATH if on the list.
2657         * elf/dl-support.c: Define _dl_ignore_path for static binaries.
2658         * iconvdata/run-iconv-test.sh: Call ld.so with --ignore-rpath parameter
2659         to make sure we get the correct helper libraries loaded.
2660
2661         * elf/dl-load.c (decompose_rpath): Remove `room' parameter.  Use
2662         "RPATH" string in call to fillin_rpath instead.
2663         (_dl_init_paths): Remove this parameter from call to decompose_rpath.
2664
2665 1998-05-19  Ulrich Drepper  <drepper@cygnus.com>
2666
2667         * sysdeps/i386/i486/bits/string.h (__strstr_g): Initialize %edx
2668         correctly.  Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
2669
2670 1998-05-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2671
2672         * manual/terminal.texi (I/O Queues): Fix typo.
2673
2674         * manual/stdio.texi (Closing Streams): Fix grammar.
2675
2676         * manual/arith.texi (Absolute Value): Correct typo.
2677         Patches by Oskar Liljeblad <osk@hem.passagen.se>. [PR libc/630]
2678
2679 1998-05-19 15:58  Ulrich Drepper  <drepper@cygnus.com>
2680
2681         * elf/rtld.c (process_envvars): Fix typo.  Don't handle
2682         LD_PROFILE_OUTPUT in SUID binaries.
2683         * intl/dcgettext.c: In SUID binaries don't let language part of
2684         locale value contain path elements.
2685         * intl/explodename.h: Define new function _nl_find_language.
2686         * intl/loadinfo.h: Declare _nl_find_language.
2687         * locale/findlocale.c (_nl_find_locale): Use _nl_find_locale to get
2688         language part it drop the value is path element is contained.
2689
2690         * locale/setlocale.c: Fix typo.
2691
2692 1998-05-18  Philip Blundell  <Philip.Blundell@pobox.com>
2693
2694         * sysdeps/unix/sysv/linux/arm/socket.S: Correct handling of arguments.
2695
2696         * sysdeps/arm/strlen.S: Support both big and little endian processors.
2697
2698         * sysdeps/arm/sysdep.h (ALIGNARG): ELF .align directive uses a
2699         log, not a byte-count.
2700
2701         * sysdeps/unix/arm/sysdep.S (syscall_error): Use C_SYMBOL_NAME for
2702         a.out compatibility.
2703
2704 1998-05-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2705
2706         * sysdeps/unix/bsd/vax/vfork.S: Fix the "the the" problems.
2707         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
2708         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
2709         * posix/unistd.h: Likewise.
2710         * math/math.h: Likewise.
2711         * manual/users.texi (Manipulating the Database): Likewise.
2712         * manual/signal.texi (Job Control Signals): Likewise.
2713         * manual/message.texi (The gencat program): Likewise.
2714         * manual/filesys.texi (Hard Links): Likewise.
2715         * manual/math.texi (SVID Random): Likewise.
2716         * manual/llio.texi (Waiting for I/O): Likewise.
2717         * manual/io.texi (File Name Errors): Likewise.
2718         * manual/conf.texi (String Parameters): Likewise.
2719         * manual/arith.texi (Infinity): Likewise.
2720         * malloc/malloc.c: Likewise.
2721         * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
2722         * csu/Makefile: Likewise.
2723
2724 1998-05-19 12:16  Ulrich Drepper  <drepper@cygnus.com>
2725
2726         * manual/memory.texi: Add back accidently removed line.
2727
2728 1998-04-25  Mark Kettenis  <kettenis@phys.uva.nl>
2729
2730         * sysdeps/generic/utmp_file.c (TIMEOUT): New macro.
2731         (timeout_handler): New function.
2732         (LOCK_FILE, UNLOCK_FILE): New macros.
2733         Implement file locking with timeout.
2734         (getutent_r_file, internal_getut_r, getutline_r_file,
2735         pututline_file, updwtmp_file): Use LOCK_FILE and UNLOCK_FILE for
2736         locking.
2737
2738 1998-05-18 11:38  Ulrich Drepper  <drepper@cygnus.com>
2739
2740         * iconvdata/run-iconv-test.sh: Extend library-path by iconvdata
2741         directory.
2742
2743 1998-05-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2744
2745         * rpm/Makefile: Delete inclusion of version.mk.
2746
2747 1998-05-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2748
2749         * libc.map: Add all libio functions needed libstdc++ with version
2750         2.0, sort entries.
2751
2752 1998-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2753
2754         * iconvdata/Makefile (generated): Add *.stmp files.
2755
2756 1998-05-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2757
2758         * timezone/Makefile (testdata, build-testdata): New variables, use
2759         them in rules for test data.
2760         ($(objpfx)tst-timezone.out): Depend on test data.
2761         ($(testdata)/Europe/Berlin, $(testdata)/Universal,
2762         $(testdata)/Australia/Melbourne, $(testdata)/America/Sao_Paulo):
2763         New rules to build test data.
2764         (tst-timezone-ENV): Pass TZDIR to point to test data.
2765
2766 1998-05-18  Ulrich Drepper  <drepper@cygnus.com>
2767
2768         * iconvdata/TESTS: ISO-2022-KR has not really ASCII as a subset
2769         (the designation sequence is disturbing).
2770
2771 1998-05-17  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2772
2773         * sunrpc/svc_tcp.c: Add FreeBSD DoS patch.
2774         * sunrpc/xdr_rec.c: Likewise.
2775
2776 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
2777
2778         * posix/Makefile (tests): Add runptests.
2779         (distribute): Add PTESTS, PTESTS2C.sed, and ptestcases.h.
2780         (before-compile): Add ptestcases.h.
2781         (ptestscases.h): Add rule to generate from PTESTS.
2782         * posix/runptests.c: New file.
2783         * posix/PTESTS: New file.
2784         * posix/PTESTS2C.sed: New file.
2785
2786 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
2787
2788         * iconv/loop.c: Let user add code to use and set paramaters.
2789
2790         * iconvdata/iso-2022-kr.c: Correct to-loop.
2791
2792         * iconvdata/iso-2022-kr.c (PREPARE_LOOP): Use correct variable to
2793         point to output buffer.
2794
2795         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Use correct value to find
2796         hanja.
2797
2798         * iconvdata/TESTS: Add ISO-2022-KR test.
2799         * iconvdata/testdata/ISO-2022-KR: New file.
2800
2801 1998-05-15 21:07  Ulrich Drepper  <drepper@cygnus.com>
2802
2803         * iconv/gconv.h (gconv_step_data): Add new fields invocation_counter
2804         and internal_use.
2805         * iconv/gconv_open.c (__gconv_open): Initialize invocation_counter
2806         and internal_use.
2807         * wcsmbs/btowc.c: Likewise.
2808         * wcsmbs/mbrtowcs.c: Likewise.
2809         * wcsmbs/mbsnrtowcs.c: Likewise.
2810         * wcsmbs/mbsrtowcs.c: Likewise.
2811         * wcsmbs/wcrtomb.c: Likewise.
2812         * wcsmbs/wcsnrtombs.c: Likewise.
2813         * wcsmbs/wcsrtombs.c: Likewise.
2814         * wcsmbs/wctob.c: Likewise.
2815         * iconv/skeleton.c: Increment invocation_counter.
2816         * iconvdata/iso-2022-kr.c: When used in iconv() emit designator
2817         sequence first.
2818
2819         * iconv/skeleton.c (FROM_DIRECTION): Completely embrace expression.
2820         * iconvdata/iso-2022-jp.c: Likewise.
2821         * iconvdata/iso646.c: Likewise.
2822
2823         * iconvdata/Makefile: Correct rpath definition for ISO-2022-KR.
2824
2825 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
2826
2827         * iconv/gconv_db.c (derivation_lookup): Use __tfind correctly.
2828
2829         * sysdeps/generic/setenv.c (setenv): Remove optimization for
2830         overwriting existing values if it fits.
2831
2832 1998-05-15 14:36  Ulrich Drepper  <drepper@cygnus.com>
2833
2834         * posix/wordexp-test.c: Avoid duplicate messages.
2835
2836         * sysdeps/generic/setenv.c: Use __tfind and __tsearch, not tfind and
2837         tsearch.  Correctly interpret values returned by those functions.
2838         (unsetenv): Store pointer to string, not pointer to string pointer.
2839
2840         * time/tzfile.c (__tzfile_compute): Take new arguments.  Store
2841         DST information and offset in them.
2842         * time/tzset.c (__tz_convert): Pass extra parameters to
2843         __tzfile_compute.  Compute equivalent values for use of tz_rules.
2844
2845 1998-05-15 00:49:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2846
2847         * iconvdata/Makefile (gen-8bit-table): Use move-if-change and
2848         stamp files to avoid unnecessary recompilation.
2849         (gen-8bit-gap-table): Likewise.
2850         (move-if-change): New variable.
2851         (all generated .h rules): Change to be .stmp rules.
2852         (%.h): New rule; depend on %.stmp; no commands.
2853         (distribute): Add gen-8bit.sh, gen-8bit-gap.sh,
2854         gen-8bit-gap-1.sh.
2855
2856 1998-05-15 01:09  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2857
2858         * Makerules (libc-map): Deleted.
2859         (load-map-file): Set to the appropriate compiler switch, not
2860         just the file name.  If libfoo-map is not set, look for a
2861         libfoo.map in the current directory and $(..).
2862         (map-file): New variable, contains just the mapfile name.
2863         (build-shlib): Adjust for new value of load-map-file.
2864         (libc.so): Correct dependencies.
2865
2866         * extra-lib.mk: Correct shlib dependencies since libfoo-map
2867         may not be set anymore.
2868
2869         * elf/Makefile: Set ld-map to $(..)libc.map, not $(libc-map).
2870         Delete libdl-map.  Tweak ld.so link rule to work with changed
2871         variable settings in Makerules.
2872         * iconvdata/Makefile: Tweak build-module to work with changed
2873         variable settings in Makerules.
2874
2875         * db/Makefile: Delete libdb-map.
2876         * hesiod/Makefile: Delete libnss_hesiod-map.
2877         * linuxthreads/Makefile: Delete libpthread-map.
2878         * locale/Makefile: Delete libBrokenLocale-map.
2879         * login/Makefile: Delete libutil-map.
2880         * math/Makefile: Delete libm-map.
2881         * md5-crypt/Makefile: Delete libcrypt-map.
2882         * nis/Makefile: Delete libnsl-map, libnss_nis-map,
2883         libnss_nisplus-map, and libnss_compat-map.
2884         * nss/Makefile: Delete libnss_files-map, libnss_db-map, and
2885         libnss_ldap-map.
2886         * resolv/Makefile: Delete libresolv-map and libnss_dns-map.
2887         * rt/Makefile: Delete librt-map.
2888
2889 1998-05-15 01:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2890
2891         * configure.in: Instead of substituting `yes' or `no' for whether
2892         --no-whole-archive is available, set @no_whole_archive@ to the
2893         appropriate gcc switch or the empty string.  Likewise for
2894         -fno-exceptions.
2895         * config.make.in: Replace have-no-whole-archive with
2896         no-whole-archive and have-no-exceptions with no-exceptions.
2897         * Makerules: Delete stanzas setting no-whole-archive and
2898         no-exceptions.
2899
2900         * sunrpc/Makefile: Use move-if-change to update generated .h
2901         and .c files.
2902
2903 1998-05-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2904
2905         * wcsmbs/wcsmbsload.c (extract_charset_name): Use strcspn instead
2906         of strchr loop.
2907
2908 1998-05-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2909
2910         * time/tzfile.c (__tzfile_read): Remove unused variable info.
2911         (__tzfile_compute): Likewise.
2912
2913 1998-05-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2914
2915         * sysdeps/unix/sysv/linux/bits/socket.h (AF_SNA,PF_SNA): Add new
2916         defines from Linux 2.1.102.
2917
2918 1998-05-14 23:14  Ulrich Drepper  <drepper@cygnus.com>
2919
2920         * locale/programs/ld-ctype.c: Write correct mb_cur_max value.
2921
2922 1998-05-14 13:25  Ulrich Drepper  <drepper@cygnus.com>
2923
2924         * inet/netinet/in.h: Add defines for multicast.
2925         Reported by Jeremy Hall <jhall@UU.NET>.
2926
2927         * stdlib/stdlib.h: Add prototypes for __setenv and __unsetenv.
2928         * sysdeps/generic/putenv.c: Use __setenv and __unsetenv, not setenv
2929         and unsetenv.  Optimize _LIBC case.
2930         * sysdeps/generic/setenv.c: Prevent unnecessary memory leaks.
2931         Define functions with leading __.
2932
2933         * time/tzfile.c: Correct handling of global variables daylight,
2934         timezone, and tzname.
2935         * time/tzset.c: Likewise.
2936         * timezone/Makefile (tests): Add tst-timezone.
2937         * timezone/tst-timezone.c: New file.
2938
2939 1998-05-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
2940
2941         * timezone/asia: Update from tzdata1998d.
2942         * timezone/australasia: Likewise.
2943         * timezone/europe: Likewise.
2944
2945 1998-05-13  Ulrich Drepper  <drepper@cygnus.com>
2946
2947         * string/string.h: Don't use the optimized versions for the string
2948         functions if optimizing for space.
2949
2950         * stdlib/tst-strtod.c: Add test for -0.0.
2951
2952         * io/ftwtest-sh: Prevent tests from being run by root.
2953
2954         * wcsmbs/wcsmbsload.c (extract_charset_name): Fix silly bugs in
2955         last addition.  Patch by wkpark@chem.skku.ac.kr.
2956
2957 1998-05-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2958
2959         * iconvdata/8bit-gap.c (BODY): Don't fall off the end of the gap
2960         table.
2961
2962 1998-05-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2963
2964         * iconvdata/gen-8bit.sh: New file.
2965         * iconvdata/gen-8bit-gap.sh: New file.
2966         * iconvdata/gen-8bit-gap-1.sh: New file.
2967         * iconvdata/Makefile (generate-8bit-table): Use shell script
2968         instead of writing the commands directly.
2969         (generate-8bit-gap-table): Likewise.
2970         ($(objpfx)iso8859-7jp.h): Likewise.
2971         (generated headers): Depend on shell script instead of Makefile.
2972         (before-compile): Add $(perl-generated-headers) only if perl is
2973         available.
2974         (headers): Depend on $(perl-generated-headers) only if perl is
2975         available.
2976         (sed-generated-headers): Remove iso8859-7jp.h.
2977
2978 1998-05-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2979
2980         * csu/Makefile ($(objpfx)abi-tag.h): Double $ in command.  Clean up.
2981         (/): Removed.
2982
2983 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
2984
2985         * wcsmbs/wcsmbsload.c (extract_charset_name): Pass correctly
2986         formed charset names to getfct.  Let user override charset
2987         selection by mention charset in locale name.
2988
2989 1998-05-12 12:15  Ulrich Drepper  <drepper@cygnus.com>
2990
2991         * posix/glob.c: Move to ...
2992         * sysdeps/generic/glob.c: ...here.
2993         * posix/glob.h (glob_t): Use correct types for gl_pathc and gl_offs
2994         elements.
2995         * sysdeps/unix/sysv/linux/alpha/glob.c: New file.
2996         * sysdeps/unix/sysv/linux/alpha/oldglob.c: New file.
2997         * sysdeps/unix/sysv/linux/alpha/Dist: Add oldglob.c.
2998         * sysdeps/unix/sysv/linux/alpha/Makefile: Compile oldglob in posix
2999         subdir.
3000         * libc.map [GLIBC_2.1]: Add glob and globfree.
3001
3002 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
3003
3004         * sunrpc/Makefile (generated): Restore old list.
3005
3006 1998-05-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3007
3008         * rt/Makefile (tests): Define only if we have a thread library.
3009
3010         * nis/ypclnt.c: Add: #include <errno.h>.
3011
3012 1998-05-10 15:39  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3013
3014         * configure.in: Define and substitute RELEASE as well as
3015         VERSION.
3016         * config.make.in: Add RELEASE and VERSION to be substituted.
3017         * Makeconfig: Delete all references to version.mk.
3018         * Make-dist: Likewise.
3019         * MakeTAGS: Likewise.
3020         * elf/Makefile: Likewise.
3021
3022 1998-05-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3023
3024         * nis/ypclnt.c: Move "(none)" domainname check from __yp_check to
3025         yp_get_default_domain.
3026
3027 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
3028
3029         * sysdeps/posix/profil.c (__profil): Don't define act and timer
3030         variables as static.  Patch by Joe Keane <jgk@jgk.org>.
3031
3032 1998-05-12  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
3033
3034         * malloc/malloc.c: Fix for NO_THREADS case.
3035
3036 1998-05-11 18:02  Richard Henderson  <rth@cygnus.com>
3037
3038         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
3039         Remove statfs and fstatfs.
3040         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Don't mark pread
3041         and pwrite as EXTRA.
3042         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3043
3044 1998-05-09  Ulrich Drepper  <drepper@cygnus.com>
3045
3046         * libc.map: Add capget and capset.
3047
3048 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
3049
3050         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3051         (DL_FIND_ARG_COMPONENTS): Find correct alignment for auxiliary
3052         vector.  Patch by Mark Hatle <fray@kernel.crashing.org>
3053         and Matt McLean <keys@brio.yikes.com>.
3054
3055 1998-05-08 23:49  Ulrich Drepper  <drepper@cygnus.com>
3056
3057         * misc/Makefile (tests): Add tst-mntent.
3058         * misc/tst-mntent.c: New file.
3059
3060 1998-05-08 21:56  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3061
3062         * autolock.sh: Removed.
3063         * manual/move-if-change: Removed.
3064
3065         * scripts: New directory.
3066         * =__ify: Moved to scripts.
3067         * config.guess: Likewise.
3068         * config.sub: Likewise.
3069         * gen-FAQ.pl: Likewise.
3070         * install-sh: Likewise.
3071         * mkinstalldirs: Likewise.
3072         * move-if-change: Likewise.
3073         * printsources: Likewise.
3074         * rellns.sh: Likewise.
3075         * test-installation.pl: Likewise.
3076
3077         * configure.in: Look in scripts for config.guess, config.sub,
3078         install-sh.
3079         * Makefile: Distribute all above files in their
3080         new home.  Find gen-FAQ.pl and test-installation.pl in scripts.
3081         * manual/Makefile: Find mkinstalldirs and move-if-change in
3082         $(..)scripts.  Drop them from distribute.  Minor cleanups.
3083         * Makerules: Find mkinstalldirs and rellns-sh in scripts.
3084         * sysdeps/mach/hurd/Makefile: Find move-if-change in scripts.
3085         * timezone/Makefile: Find rellns-sh in scripts.
3086
3087 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
3088
3089         * intl/locale.alias: Change italian to it_IT.ISO-8859-1.
3090         Reported by Ottavio G. Rizzo <otto@mast.queensu.ca>.
3091
3092 1998-05-08 19:24  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3093
3094         * Makefile (+subdir-inits): Delete variable.
3095         (+init_subdirs): Likewise.
3096         (aux): Likewise.
3097         (before-compile): Likewise.
3098         (libc-init): Delete stanza.
3099         (version-info.h): Delete rule and associated variable.
3100         (distribute): Don't distribute moved files.
3101         * Makerules (interp-obj): It lives in elf now.  Only use it
3102         if $(elf) is set.  Delete rule to build it.
3103         * csu/Makefile: Build set-init.o and/or munch-init.o.  Build
3104         version.o and version-info.h.  Minor cleanups.
3105         (routines): Add libc-init, sysdep, version.
3106         (generated): Add version-info.h.
3107         * elf/Makefile: Build interp.os.
3108
3109         * interp.c: Moved to elf.
3110         * set-init.c: Moved to csu.
3111         * munch-init.c: Likewise.
3112         * munch.awk: Likewise.
3113         * version.c: Likewise.
3114
3115         * Rules: Unconfuse syntax highlighting with a fake comment.
3116
3117 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
3118
3119         * sysdeps/unix/sysv/linux/syscalls.list: Add capset and capget
3120         syscalls.
3121
3122 1998-05-08 16:36  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3123
3124         * iconvdata/Makefile (generated): Set to *-generated-headers
3125         plus gconv-modules.
3126         (tests): Set to iconv-test.
3127         * localedata/Makefile (generated-dirs): Add ld-test-names to list.
3128         * posix/Makefile (generated): Set to wordexp-test-result*.
3129         * sunrpc/Makefile (generated): Remove rpcsvc/*.
3130         (generated-dirs): Add rpcsvc.
3131         * libio/Makefile: Clean up.
3132
3133 1998-05-08 14:55  Ulrich Drepper  <drepper@cygnus.com>
3134
3135         * Make-dist (+tsrcs): Also use tests-statc where tests is used.
3136         * Makerules: Likewise.
3137         (+depfiles): Also add sysdep-others.
3138         * Rules: Likewise.
3139         * iconv/Makefile (distribute): Add loop.s and skeleton.c.
3140         * iconvdata/Makefile (distribute): Add TESTS.
3141         * localedata/Makefile (repertoires): Rename to repertoiremaps.
3142         * sysdeps/gnu/Dist: Add utmpx.h and bits/utmpx.h.
3143         * sysdeps/unix/sysv/linux/Dist: Add ldd-rewrite.sed.
3144         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=elf]: Define
3145         sysdep-others, not others.
3146         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
3147         * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/kernel_termios.h.
3148
3149 1998-05-08 12:26  Ulrich Drepper  <drepper@cygnus.com>
3150
3151         * iconv/gconv_int.h (struct gconv_module): Remove cost field and add
3152         cost_hi and cost_lo.
3153         * iconv/gconv_conf.c (builtin_modules): Initialize cost_hi from
3154         Cost parameter and set cost_lo to INT_MAX.
3155         (add_module): Take new parameter and use it to initialize cost_lo.
3156         (read_conf_file): Count modules being loaded and use counter for
3157         new parameter to add_module.
3158         * iconv/gconv_db.c (find_derivation): When look for cost examine
3159         cost_hi and cost_lo.
3160
3161 1998-05-08 10:52  Ulrich Drepper  <drepper@cygnus.com>
3162
3163         * string/bits/string2.h: Don't use unsigned char * unless really
3164         necessary since this disturbs C++.
3165         * sysdeps/i386/i486/bits/string.h: Likewise.
3166         Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
3167
3168 1998-05-08 13:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3169
3170         * malloc/malloc.c (top_check): Fix last change.
3171
3172 1998-05-07  Ulrich Drepper  <drepper@cygnus.com>
3173
3174         * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Define.
3175         Patch by Matt McLean <keys@brio.yikes.com>.
3176
3177 1997-05-07 13:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3178
3179         * Makerules (lib): Put back dependency on lib-noranlib.
3180         ($(subdirs-stamps)): Remove dependency on stamp.* again.
3181
3182 1998-05-07  Ulrich Drepper  <drepper@cygnus.com>
3183
3184         * sysdeps/i386/fpu/bits/mathinline.h: Use long long int also for
3185         test in __pow2 implementation.
3186
3187 1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>
3188
3189         * Makeconfig [!build-static]: Link `static' binaries with libc_pic.a.
3190         Still need *FLAGS-.o because we still sometimes build .o files.
3191         * db2/Makefile: Don't build libndbm.a if !build-static.
3192
3193 1998-05-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3194
3195         * malloc/malloc.c (top_check): Add void as parameter to silent gcc.
3196
3197 1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>
3198
3199         * configure.in: New test for broken gcc on PowerPC.
3200         * sysdeps/powerpc/atomicity.h: Use result of test.
3201         * linuxthreads/sysdeps/powerpc/pt-machine.h: Use result of test.
3202
3203         * math/libm-test.c: Update many of the epsilon to match actual
3204         performance.
3205
3206         * sysdeps/libm-ieee754/e_exp.c: Reduce the number of branches.
3207         * sysdeps/libm-ieee754/e_expf.c: Likewise.
3208         * sysdeps/libm-ieee754/s_exp2.c: Likewise.
3209         * sysdeps/libm-ieee754/s_exp2f.c: Likewise.
3210
3211         * sysdeps/libm-ieee754/e_pow.c: Correct typo.
3212
3213         * sysdeps/powerpc/elf/libc-start.c: New file.
3214         * sysdeps/powerpc/elf/start.S: New file, use libc-start.
3215         * sysdeps/powerpc/elf/start.c: Delete.
3216
3217         * sysdeps/unix/sysv/linux/powerpc/Dist: Remove syscall.h
3218         * sysdeps/unix/sysv/linux/powerpc/syscall.h: Delete.  It was unused.
3219
3220         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Correct previous
3221         few patches.
3222
3223 1998-05-06 12:51  Ulrich Drepper  <drepper@cygnus.com>
3224
3225         * sysdeps/i386/fpu/bits/mathinline.h (pow): Use long long int for
3226         test for integer.
3227
3228         * sysdeps/libm-i387/e_pow.S: Correctly shift double word.
3229         * sysdeps/libm-i387/e_powl.S: Likewise.
3230
3231 1998-03-31  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
3232
3233         * malloc/malloc.c (chunk2mem_check, top_check): New functions.
3234         (malloc_check, free_check, realloc_check, memalign_check): Use
3235         them to improve overrun checking.  Overruns of a single byte and
3236         corruption of the top chunk are now detected much more reliably.
3237
3238 1998-05-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3239
3240         * math/libm-test.c (pow_test): Add test for special value from PR
3241         libc/590.
3242
3243 1998-05-06  Ulrich Drepper  <drepper@cygnus.com>
3244
3245         * sysdeps/unix/sysv/linux/bits/errno.h: Undefine EILSEQ before
3246         including linux/errno.h.
3247
3248 1998-05-06 09:49  Ulrich Drepper  <drepper@cygnus.com>
3249
3250         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Add LFS support.
3251         Use correct types.
3252         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: New file.
3253         * sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: New file.
3254
3255 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3256
3257         * Makerules (elide-routines.*): Fix assignments.
3258         (do-makelib): Fix typo.
3259         ($(subdirs-stamps)): Depend on $(objpfx)stamp.* if in parent
3260         makefile.
3261
3262 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3263
3264         * Makefile (sysdep-subdirs, subdirs, $(common-objpfx)sysd-dirs,
3265         $(objpfx)sysd-dirs): Move them...
3266         * Makeconfig: ... here.
3267         * Makerules (subdirs-stamps, subdirs-stamp-o): Always define.
3268         (stubs): Fix circular depedency.
3269         (do-makelib): Clean up.
3270         (lib): Don't depend on lib-noranlib.
3271         ($(objpfx)stamp.oS): Remove special case for empty
3272         static-only-routines.
3273         (elide-routines.o): Add $(static-only-routines).
3274         (elide-routines$o): Define this instead of elide-routines.$o.
3275         * manual/Makefile (stubs): Fix circular dependency.
3276
3277 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3278
3279         * libio/Makefile (routines): Remove duplicate oldiofclose.
3280
3281 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
3282
3283         * string/strcoll.c: Use uint32_t instead of u_int32_t.
3284
3285 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
3286
3287         * libio/stdio.h: Fix typo in __REDIRECT.
3288         * io/sys/stat.h: Likewise.
3289         Reported by Myles Uyema <myles@uyema.nws.net>.
3290
3291 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3292
3293         * locale/programs/localedef.c (options): Fix help message.
3294
3295 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
3296
3297         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Avoid nasty
3298         relocations.  Patch by Joe Keane <jgk@jgk.org>.
3299
3300 1998-05-04 12:40  Ulrich Drepper  <drepper@cygnus.com>
3301
3302         * malloc/malloc.c (ptmalloc_init_all): New function.  Similar to
3303         ptmalloc_unlock_all, but re-initializes the mutexes instead.
3304         (ptmalloc_init): Use new function in thread_at_fork call.
3305         (thread_atfork_static): Likewise.
3306         Suggested by Wolfram Gloger and Xavier Leroy.
3307
3308 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
3309
3310         * signal/signal.h: Move definitions of struct sigstack and
3311         struct sigaltstack into separate file and include it.
3312         * sysdeps/generic/bits/sigstack.h: New file.
3313         * sysdeps/unix/sysv/linux/bits/sigstack.h: New file.
3314         * signal/Makefile (headers): Add bits/sigstack.h.
3315
3316 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3317
3318         * elf/rtld.c (dl_main): Fix check for number of references to
3319         interpreter object.
3320
3321 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3322
3323         * elf/rtld.c (dl_main): Check has_interp after executing platform
3324         specific code.
3325
3326 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3327
3328         * iconvdata/run-iconv-test.sh: Fix typo.
3329
3330 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3331
3332         * Makerules (+depfiles): Add depfiles for $(tests-static).
3333         Simplified.
3334
3335 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3336
3337         * manual/terminal.texi (Special Characters): Fix description of
3338         c_cc indexes.
3339
3340 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3341
3342         * sysdeps/unix/sysv/linux/tcsetattr.c: Use memcpy to copy the c_cc
3343         array.
3344         * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise.  Initialize rest
3345         of c_cc array.
3346
3347 1998-04-30 14:15  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3348
3349         * sysdeps/unix/sysv/linux/netrose/rose.h: Don't include kernel headers.
3350
3351 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
3352
3353         * intl/locale.alias: Update russian entry.
3354
3355 1998-05-01 21:54  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3356
3357         * Makerules (static-only-routines): Reimplement in terms of
3358         elide-routines.os.
3359         (shared-only-routines): Reimplement in terms of
3360         elide-routines.X [where X is all object-suffixes except .os].
3361
3362         (stubs): Create stubs file inside the subdir.
3363         (common-mostlyclean): Remove stubs file from inside the subdir.
3364         * Makefile (subdir-stubs): Look for stubs files inside the
3365         subdirs.
3366         * manual/Makefile (stubs): Create dummy stubs file inside the
3367         subdir.
3368
3369 1998-05-01 21:01  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3370
3371         Build speed improvement: make ar less of a bottleneck.
3372
3373         * Makerules (stamp$o): Just record the object list for later
3374         use.
3375         (libc_foo.a): New rule, depends on subdir stamp files; builds
3376         and ranlibs the library from the lists saved in those files.
3377
3378         (subdirs-stamps): Define also if subdir == elf (FIXME: kludge).
3379         (subdirs-stamp-o): Likewise.
3380
3381         (ar-symtab-name): Delete variable.
3382         (lib%.a): Delete target.
3383         (libc_foo.a(bar.%)): Delete target.
3384         (libc_foo.a($(ar-symtab-name))): Delete target.
3385
3386         (objects objs): Just depend on libobjs and extra-objs.
3387         (libobjs): Depend on the stamp files, not the objects.
3388         (extra-objs): New target, just depends on the extra-objs list.
3389
3390         (CREATE_ARFLAGS): Kill the `ar S' hack.
3391
3392         * config.make.in (have-ar-S): Deleted.
3393         * configure.in: Delete test for `ar S'.  Add test to determine
3394         whether ranlib does anything useful.
3395
3396 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
3397
3398         * inet/tst-ether_aton.c: Include <stdio.h>.
3399
3400 1998-04-30 16:45  Ulrich Drepper  <drepper@cygnus.com>
3401
3402         * inet/ether_aton.c: Including netinet/if_ether.h is not necessary.
3403
3404         * locale/Makefile (distribute): Add programs/repertoire.h.
3405         (localedef-modules): Add repertoire.
3406         (CPPFLAGS): Define REPERTOIREMAP_PATH.
3407         * locale/programs/repertoire.c: New file.
3408         * locale/programs/repertoire.h: New file.
3409         * locale/programs/charmap.c: Starting fixing character set handling
3410         to handle multi-byte encodings.
3411         * locale/programs/charset.c: Likewise.
3412         * locale/programs/charset.h: Likewise.
3413         * locale/programs/ld-collate.c: Likewise.
3414         * locale/programs/ld-ctype.c: Likewise.
3415         * locale/programs/linereader.c: Likewise.
3416         * locale/programs/localedef.c: Likewise.
3417         * locale/programs/locfile-kw.gperf: Likewise.
3418         * locale/programs/locfile-kw.h: Likewise.
3419         * locale/programs/locfile-token.h: Likewise.
3420         * locale/programs/locfile.h: Likewise.
3421         * locale/programs/stringtrans.c: Likewise.
3422
3423         * locale/programs/locfile.c: Interpret I18NPATH value as base of
3424         path, extended with "/locales/".
3425
3426 1998-04-18  Philip Blundell  <Philip.Blundell@pobox.com>
3427
3428         * sysdeps/arm/memset.S: Fix off by one error.
3429
3430         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): On error, call
3431         __syscall_error rather than syscall_error directly.
3432
3433 1998-04-17  Philip Blundell  <Philip.Blundell@pobox.com>
3434
3435         * sysdeps/unix/sysv/linux/arm/mmap.S: New file; implementation of
3436         mmap() syscall for ARM.
3437
3438         * sysdeps/unix/arm/start.c: New file; startup code for ARM a.out
3439         binaries.
3440
3441 1998-04-30  Ulrich Drepper  <drepper@cygnus.com>
3442
3443         * locale/programs/localedef.c: Recognize repertoire-map option.
3444
3445 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
3446
3447         * locale/programs/linereader.c (get_toplvl_escape): Fix typo in
3448         converting non-hex numbers.
3449         Patch by Won Kyu Park <bird@bird.kitel.co.kr>.
3450
3451 1998-04-23 07:31  H.J. Lu  <hjl@gnu.org>
3452
3453         * resolv/inet_addr.c (inet_aton): Use __strtoul_internal to
3454         check overflow.
3455         * resolv/Makefile (tests): New, add tst-aton.
3456         * resolv/tst-aton.c: New file.
3457
3458 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
3459
3460         * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Add missing
3461         semicolon.
3462
3463 1998-04-29 12:11  Ulrich Drepper  <drepper@cygnus.com>
3464
3465         * wcsmbs/mbsnrtowcs.c: Remove variable to pass to conversion function
3466         by letting the later modify the variable computing the total directly.
3467         * wcsmbs/mbsrtowcs.c: Likewise.
3468         * wcsmbs/wcsnrtombs.c: Likewise.
3469         * wcsmbs/wcsrtombs.c: Likewise.
3470
3471         * wcsmbs/btowc.c (converted): Rename variable to dummy to make clear
3472         it is not used.
3473         * wcsmbs/wctoc.c: Likewise.
3474
3475         * wcsmbs/mbsrtowcs.c: Optimize a bit more.
3476         * wcsmbs/wcsrtombs.c: Likewise.
3477
3478         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add SIGCLD definition.
3479
3480 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
3481
3482         * iconv/skeleton.c: Correct counting of actually converted
3483         characters.
3484
3485         * intl/localealias.c (read_alias_file): Use unsigned char for
3486         local variables.  Remove unused variable tp.
3487         * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
3488         for type of codeset.  For loosing Solaris systems.
3489         * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
3490         * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
3491         len if not needed.
3492         Patches by Jim Meyering.
3493
3494         * stdio-common/vfprintf.c [%S]: Don't clear mbstate twice;
3495         wcsrtombs must put it into initial state.
3496
3497 1998-04-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3498
3499         * iconv/gconv_simple.c: Fix endian bug.  Don't put side effects in
3500         argument of bswap_XX macro.
3501
3502 1998-04-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3503
3504         * iconvdata/Makefile (EBCDIC-DK-NO-A-routines): Fix typo in
3505         variable name.
3506
3507 1998-04-28  Ulrich Drepper  <drepper@cygnus.com>
3508
3509         * sysdeps/unix/sysv/linux/semctl.c (semctl): Define own union
3510         semun and use stdarg macros to get the value.
3511         * sysdeps/generic/semctl.c: Don't use union semun.
3512
3513         * sysvipc/sys/sem.h: Don't use union semun in semctl prototype.
3514
3515         * string/basename.c [!_LIBC]: Define function as gnu_basename.
3516
3517         * posix/getopt.c [!__GNU_LIBRARY__]: Include string.h or
3518         strings.h.
3519
3520         * stdlib/grouping.h: Accept ungrouped numbers even if locale
3521         defines grouping.
3522
3523         * intl/hash-string.h: Don't include values.h.
3524
3525         * inet/Makefile (tests): Add tst-ether_aton.
3526         * inet/tst-ether_aton.c: New file.
3527
3528         * inet/ether_aton_r.c (ether_aton_r): Preserve high-nibble value
3529         in hex conversion.
3530         * inet/ether_aton.c (ether_aton): Declare result variable static.
3531         Reported by ahyung@unixg.ubc.ca.
3532
3533         * sysdeps/unix/sysv/linux/bits/sem.h: Don't define union semun.
3534         Define macro _SEM_SEMUN_UNDEFINED instead.
3535         Reported by Dirk Laessig <d.laessig@tu-bs.de>.
3536
3537         * stdio-common/tst-wc-printf.c: New file.  Test for %S and %C format.
3538         * stdio-common/Makefile (tests): Add tst-wc-printf.
3539
3540 1998-04-28 16:32  Philip Blundell  <philb@gnu.org>
3541
3542         * manual/stdio.texi (Variable Arguments Output): Correct variable
3543         name.  Patch from Ewan Mellor <em@nexus.co.uk>
3544
3545 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
3546
3547         * intl/dcgettext.c: Remove unneeded definition of
3548         internal_function.
3549
3550 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3551
3552         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use this as target
3553         instead of do-iconv-test.
3554         ($(objpfx)gconv-modules): Define rule only if objpfx is not
3555         empty.
3556
3557 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3558
3559         * string/string.h: Fix feature test.
3560
3561 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3562
3563         * iconvdata/iso646.c (BODY): Don't use character constants that
3564         depend on signedness of char.
3565
3566 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
3567
3568         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdirs)=misc]
3569         (sysdep_routines): Add s_pread64 and s_pwrite64.
3570
3571 1998-04-27 09:54  Ulrich Drepper  <drepper@cygnus.com>
3572
3573         * iconvdata/Makefile (distribute): Remove generated .h files.
3574         * iconvdata/koi8-r.h: Removed.
3575         * iconvdata/latin-greek-1.h: Removed.
3576         * iconvdata/latin-greek.h: Removed.
3577
3578         * iconvdata/testdata/CP1258..UTF8: New iconv test source.
3579         * iconvdata/KOI-8: Likewise.
3580         * iconvdata/KOI-8..UTF8: Likewise.
3581         * iconvdata/KOI8-R: Likewise.
3582         * iconvdata/KOI8-R..UTF8: Likewise.
3583
3584 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3585
3586         * streams/Makefile (headers): Add sys/stropts.h.
3587         * streams/sys/stropts.h: New file.
3588
3589 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3590
3591         * sysdeps/unix/sysv/linux/ttyname.c,
3592         sysdeps/unix/sysv/linux/ttyname_r.c: New files, like
3593         sysdeps/posix/ttyname*.c, but look in /dev/pts first.
3594
3595 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3596
3597         * sysdeps/unix/sysv/linux/ptsname.c: Fix off-by-one bug in second
3598         argument of _itoa_word.
3599
3600 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3601
3602         * sysdeps/unix/sysv/linux/syscalls.list (s_getcwd, s_getdents,
3603         s_pread64, s_pwrite64, s_reboot, s_sigpending, s_sigprocmask): Set
3604         caller to getcwd, getdents, pread64, pwrite64, reboot, sigpending,
3605         sigprocmask, resp., instead of EXTRA.
3606
3607         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3608         s_pread64 and s_pwrite64.
3609
3610 1998-04-26 18:44  Ulrich Drepper  <drepper@cygnus.com>
3611
3612         * iconvdata/Makefile: Correct rules to generate gap table.
3613         * iconvdata/gap.pl: Simplify.
3614
3615         * iconvdata/TESTS: Name new tests.
3616         * iconvdata/testdata/CP1250: New file.
3617         * iconvdata/testdata/CP1250..UTF8: New file.
3618         * iconvdata/testdata/CP1251: New file.
3619         * iconvdata/testdata/CP1251..UTF8: New file.
3620         * iconvdata/testdata/CP1252: New file.
3621         * iconvdata/testdata/CP1252..UTF8: New file.
3622         * iconvdata/testdata/CP1253: New file.
3623         * iconvdata/testdata/CP1253..UTF8: New file.
3624         * iconvdata/testdata/CP1254: New file.
3625         * iconvdata/testdata/CP1254..UTF8: New file.
3626         * iconvdata/testdata/CP1255: New file.
3627         * iconvdata/testdata/CP1255..UTF8: New file.
3628         * iconvdata/testdata/CP1256: New file.
3629         * iconvdata/testdata/CP1256..UTF8: New file.
3630         * iconvdata/testdata/CP1257: New file.
3631         * iconvdata/testdata/CP1257..UTF8: New file.
3632
3633 1998-04-26  Ulrich Drepper  <drepper@cygnus.com>
3634
3635         * iconvdata/Makefile: Add rules for ISO-2022-KR.
3636         * iconvdata/iso-2022-kr.c: New file.
3637
3638         * iconvdata/gconv-modules: Add entry for ISO-2022-JP, ISO-2022-JP-2,
3639         and ISO-2022-KR.
3640
3641 1998-04-25 18:39  Ulrich Drepper  <drepper@cygnus.com>
3642
3643         * iconvdata/Makefile: Use gap method for iso8859-5, iso8859-7,
3644         iso8859-8 and iso8859-10.
3645         * iconvdata/iso8859-5.c: Change to use gap method.
3646         * iconvdata/iso8859-7.c: Likewise.
3647         * iconvdata/iso8859-8.c: Likewise.
3648         * iconvdata/iso8859-10.c: Likewise.
3649
3650         * iconvdata/Makefile: Add rules for ISO-2022-JP module.
3651         * iconv/skeleton.c: Allow END_LOOP do be defined and use it at the
3652         end of the loop.
3653         * iconvdata/iso-2022-jp.c: New file.
3654
3655         * iconvdata/ksc5601.c: Don't use uint16_t to represent byte sequence.
3656         * iconvdata/ksc5601.h: Unify function interfaces.
3657         * iconvdata/euckr.c: Adapt for changed ksc5601.h interface.
3658         * iconvdata/uhc.c: Likewise.
3659
3660         * iconvdata/gb2312.h: Use correct types.
3661
3662         * iconvdata/iso646.c (gconv_open): Correctly initialize the character
3663         size elements of data.
3664
3665 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3666
3667         * string/tst-svc.expect: Adapt for change in .input.
3668         * string/tst-svc.input: More tests.
3669
3670 1998-04-24 17:15  Ulrich Drepper  <drepper@cygnus.com>
3671
3672         * iconvdata/Makefile: Add rules for new modules.
3673         * iconvdata/gconv-modules: Likewise.
3674         * iconvdata/cp737.c: New file.
3675         * iconvdata/cp737.h: New file.
3676         * iconvdata/cp775.c: New file.
3677         * iconvdata/cp775.h: New file.
3678         * iconvdata/cp874.c: New file.
3679         * iconvdata/cp874.h: New file.
3680
3681 1998-04-24 16:30  Ulrich Drepper  <drepper@cygnus.com>
3682
3683         * iconvdata/Makefile: Create target directory before generating
3684         headers.
3685
3686 1998-04-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3687
3688         * misc/sys/cdefs.h (__REDIRECT): Handle systems with non-empty
3689         __USER_LABEL_PREFIX__.
3690         (__ASMNAME, __ASMNAME2): New macros.
3691
3692 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3693
3694         * elf/dl-load.c: Include sys/param.h for MAX.
3695
3696 1998-04-24 21:44  Richard Henderson  <rth@cygnus.com>
3697
3698         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Make
3699         __ftruncate the strong symbol, and add weak alias.
3700         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3701
3702 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3703
3704         * termios/cfsetspeed.c: Make code cleaner and add missing const.
3705         Patch by Joe Keane <jgk@jgk.org>.
3706
3707         * inet/rcmd.c (__ivaliduser): Check buf for being NULL before
3708         free()ing.
3709
3710 1998-04-24 13:56  Ulrich Drepper  <drepper@cygnus.com>
3711
3712         * sysdeps/generic/bits/socket.h: Add #defines for enum values.
3713         Patch by Thomas Bushnell, n/BSG.
3714
3715 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3716
3717         * inet/rcmd.c (iruserok): Initialize hostf variable to NULL.
3718
3719 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3720
3721         * iconvdata/Makefile: Put generated headers in build directory.
3722
3723 1998-04-23 22:43  Ulrich Drepper  <drepper@cygnus.com>
3724
3725         * elf/dl-load.c (fillin_rpath): Handle empty element returned by
3726         strsep as current directory.
3727
3728         * iconv/gconv_builtin.h: Add aliases unicode and unicodebig for
3729         Java.  Add definitions for unicodelittle implementation.
3730         * iconv/gconv_int.h: Add declaration for unicodelittle functions.
3731         * iconv/gconv_simple.c: Define unicodelittle functions.
3732
3733         * iconv/iconv_prog.c: Make program print information about position
3734         of illegal character in input.
3735
3736         * iconv/skeleton.c: Use __strcasecmp instead of __strcasestr for
3737         comparison of charset name.
3738         * iconvdata/big5.c (CHARSET_NAME): Adapt for this.
3739         * iconvdata/ebcdic-at-de-a.c: Likewise.
3740         * iconvdata/ebcdic-at-de.c: Likewise.
3741         * iconvdata/ebcdic-ca-fr.c: Likewise.
3742         * iconvdata/euccn.c: Likewise.
3743         * iconvdata/eucjp.c: Likewise.
3744         * iconvdata/euckr.c: Likewise.
3745         * iconvdata/euctw.c: Likewise.
3746         * iconvdata/hp-roman8.c: Likewise.
3747         * iconvdata/iso6937.c: Likewise.
3748         * iconvdata/iso8859-1.c: Likewise.
3749         * iconvdata/iso8859-10.c: Likewise.
3750         * iconvdata/iso8859-2.c: Likewise.
3751         * iconvdata/iso8859-3.c: Likewise.
3752         * iconvdata/iso8859-4.c: Likewise.
3753         * iconvdata/iso8859-5.c: Likewise.
3754         * iconvdata/iso8859-6.c: Likewise.
3755         * iconvdata/iso8859-7.c: Likewise.
3756         * iconvdata/iso8859-8.c: Likewise.
3757         * iconvdata/iso8859-9.c: Likewise.
3758         * iconvdata/johab.c: Likewise.
3759         * iconvdata/koi-8.c: Likewise.
3760         * iconvdata/koi8-r.c: Likewise.
3761         * iconvdata/latin-greek-1.c: Likewise.
3762         * iconvdata/latin-greek.c: Likewise.
3763         * iconvdata/sjis.c: Likewise.
3764         * iconvdata/t61.c: Likewise.
3765         * iconvdata/uhc.c: Likewise.
3766
3767         * iconvdata/iso646.c: Add support for more ISO 646 variants.
3768         * iconvdata/TESTS: Add tests for ISO646 module.
3769         * iconvdata/gconv-modules: Add new modules.
3770         * iconvdata/testdate/CSA_Z243.4-1985-1: New tests for ISO646 module.
3771         * iconvdata/testdate/CSA_Z243.4-1985-1..UCS2: Likewise.
3772         * iconvdata/testdate/CSA_Z243.4-1985-2: Likewise.
3773         * iconvdata/testdate/CSA_Z243.4-1985-2..UCS4: Likewise.
3774         * iconvdata/testdate/DIN_66003: Likewise.
3775         * iconvdata/testdate/DIN_66003..UTF8: Likewise.
3776         * iconvdata/testdate/DS_2089: Likewise.
3777         * iconvdata/testdate/DS_2089..UTF8: Likewise.
3778         * iconvdata/testdate/ES: Likewise.
3779         * iconvdata/testdate/ES..UTF8: Likewise.
3780         * iconvdata/testdate/ES2: Likewise.
3781         * iconvdata/testdate/ES2..UTF8: Likewise.
3782         * iconvdata/testdate/GB_1988-80: Likewise.
3783         * iconvdata/testdate/GB_1988-80..UTF8: Likewise.
3784         * iconvdata/testdate/IT: Likewise.
3785         * iconvdata/testdate/IT..UTF8: Likewise.
3786         * iconvdata/testdate/JIS_C6220-1969-RO: Likewise.
3787         * iconvdata/testdate/JIS_C6220-1969-RO..UTF8: Likewise.
3788         * iconvdata/testdate/JIS_C6229-1984-B: Likewise.
3789         * iconvdata/testdate/JIS_C6229-1984-B..UTF8: Likewise.
3790         * iconvdata/testdate/JUS_I.B1.002: Likewise.
3791         * iconvdata/testdate/JUS_I.B1.002..UTF8: Likewise.
3792         * iconvdata/testdate/KSC5636: Likewise.
3793         * iconvdata/testdate/KSC5636..UTF8: Likewise.
3794         * iconvdata/testdate/MSZ_7795.3: Likewise.
3795         * iconvdata/testdate/MSZ_7795.3..UTF8: Likewise.
3796         * iconvdata/testdate/NC_NC00-10: Likewise.
3797         * iconvdata/testdate/NC_NC00-10..UTF8: Likewise.
3798         * iconvdata/testdate/NF_Z_62-010: Likewise.
3799         * iconvdata/testdate/NF_Z_62-010..UTF8: Likewise.
3800         * iconvdata/testdate/NF_Z_62-010_1973: Likewise.
3801         * iconvdata/testdate/NF_Z_62-010_1973..UTF8: Likewise.
3802         * iconvdata/testdate/NS_4551-1: Likewise.
3803         * iconvdata/testdate/NS_4551-1..UTF8: Likewise.
3804         * iconvdata/testdate/NS_4551-2: Likewise.
3805         * iconvdata/testdate/NS_4551-2..UTF8: Likewise.
3806         * iconvdata/testdate/PT: Likewise.
3807         * iconvdata/testdate/PT..UTF8: Likewise.
3808         * iconvdata/testdate/PT2: Likewise.
3809         * iconvdata/testdate/PT2..UTF8: Likewise.
3810         * iconvdata/testdate/SEN_850200_B: Likewise.
3811         * iconvdata/testdate/SEN_850200_B..UTF8: Likewise.
3812         * iconvdata/testdate/SEN_850200_C: Likewise.
3813         * iconvdata/testdate/SEN_850200_C..UTF8: Likewise.
3814
3815         * iconvdata/cns11643.h: Use uint32_t instead of wchar_t.
3816         * iconvdata/cns11643l1.h: Likewise.
3817         * iconvdata/latin-greek-1.h: Likewise.
3818         * iconvdata/latin-greek.h: Likewise.
3819         * iconvdata/koi8-r.h: Likewise.
3820         * iconvdata/jis0212.h: Likewise.
3821         * iconvdata/gb2312.h: Likewise.
3822         * iconvdata/ksc5601.h: Likewise.
3823
3824         * iconvdata/8bit-gap.c: Use 32 bit type for idx element of struct gap.
3825
3826         * iconvdata/Makefile: Add rules for lots of more modules.
3827         * iconvdata/cp1250.c: New file.
3828         * iconvdata/cp1251.c: New file.
3829         * iconvdata/cp1252.c: New file.
3830         * iconvdata/cp1253.c: New file.
3831         * iconvdata/cp1254.c: New file.
3832         * iconvdata/cp1255.c: New file.
3833         * iconvdata/cp1256.c: New file.
3834         * iconvdata/cp1257.c: New file.
3835         * iconvdata/ebcdic-dk-no-a.c: New file.
3836         * iconvdata/ebcdic-dk-no.c: New file.
3837         * iconvdata/ebcdic-es-a.c: New file.
3838         * iconvdata/ebcdic-es-s.c: New file.
3839         * iconvdata/ebcdic-es.c: New file.
3840         * iconvdata/ebcdic-fi-se-a.c: New file.
3841         * iconvdata/ebcdic-fi-se.c: New file.
3842         * iconvdata/ebcdic-fr.c: New file.
3843         * iconvdata/ebcdic-is-friss.c: New file.
3844         * iconvdata/ebcdic-it.c: New file.
3845         * iconvdata/ebcdic-pt.c: New file.
3846         * iconvdata/ebcdic-uk.c: New file.
3847         * iconvdata/ebcdic-us.c: New file.
3848         * iconvdata/ibm037.c: New file.
3849         * iconvdata/ibm038.c: New file.
3850         * iconvdata/ibm1004.c: New file.
3851         * iconvdata/ibm1026.c: New file.
3852         * iconvdata/ibm1047.c: New file.
3853         * iconvdata/ibm256.c: New file.
3854         * iconvdata/ibm273.c: New file.
3855         * iconvdata/ibm274.c: New file.
3856         * iconvdata/ibm275.c: New file.
3857         * iconvdata/ibm277.c: New file.
3858         * iconvdata/ibm278.c: New file.
3859         * iconvdata/ibm280.c: New file.
3860         * iconvdata/ibm281.c: New file.
3861         * iconvdata/ibm284.c: New file.
3862         * iconvdata/ibm285.c: New file.
3863         * iconvdata/ibm290.c: New file.
3864         * iconvdata/ibm297.c: New file.
3865         * iconvdata/ibm420.c: New file.
3866         * iconvdata/ibm423.c: New file.
3867         * iconvdata/ibm424.c: New file.
3868         * iconvdata/ibm437.c: New file.
3869         * iconvdata/ibm500.c: New file.
3870         * iconvdata/ibm850.c: New file.
3871         * iconvdata/ibm851.c: New file.
3872         * iconvdata/ibm852.c: New file.
3873         * iconvdata/ibm855.c: New file.
3874         * iconvdata/ibm857.c: New file.
3875         * iconvdata/ibm860.c: New file.
3876         * iconvdata/ibm861.c: New file.
3877         * iconvdata/ibm862.c: New file.
3878         * iconvdata/ibm863.c: New file.
3879         * iconvdata/ibm864.c: New file.
3880         * iconvdata/ibm865.c: New file.
3881         * iconvdata/ibm868.c: New file.
3882         * iconvdata/ibm869.c: New file.
3883         * iconvdata/ibm870.c: New file.
3884         * iconvdata/ibm871.c: New file.
3885         * iconvdata/ibm875.c: New file.
3886         * iconvdata/ibm880.c: New file.
3887         * iconvdata/ibm891.c: New file.
3888         * iconvdata/ibm903.c: New file.
3889         * iconvdata/ibm904.c: New file.
3890         * iconvdata/ibm905.c: New file.
3891         * iconvdata/ibm918.c: New file.
3892
3893         * locale/iso-4217.def: Update.
3894         * localedata/locales/pt_BR: Correct.  Patches by Andreas Jaeger.
3895
3896         * stdio-common/vfscanf.h: Recognize nan and inf in floating-point
3897         formats.
3898
3899 1998-04-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3900
3901         * elf/dl-load.c (_dl_init_paths): ';' is also a terminal for
3902         LD_LIBRARY_PATH.
3903
3904 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
3905
3906         * Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'.
3907         * Makefile: Likewise.
3908         * posix/Makefile: Likewise.
3909         * sysdeps/mach/hurd/Makefile: Likewise.
3910
3911 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
3912
3913         * sysdeps/mach/hurd/bits/dirent.h: New file.
3914         * sysdeps/mach/hurd/readdir64.c: New file.
3915         * sysdeps/mach/hurd/readdir64_r.c: New file.
3916
3917 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
3918
3919         * stdio/stdio.h (vasprintf, __asprintf, asprintf, vdprintf,
3920         dprintf): Synchronize declarations with libio/stdio.h.
3921
3922 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
3923
3924         * elf/dlerror.c (dlerror): Don't assume that
3925         __libc_internal_tsd_get is defined.  __libc_getspecific is already
3926         well-protected, so just use it directly.
3927
3928 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
3929
3930         * io/ftw.h (ftw): Fix typo.
3931
3932 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
3933
3934         * sysdeps/gnu/utmp_file.c: Fix typo.
3935
3936 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3937
3938         * iconvdata/run-iconv-test.sh: Fix more portability bugs.  When
3939         one part of a test fails move on to the next test.
3940
3941 1998-04-24  5:45  Richard Henderson  <rth@cygnus.com>
3942
3943         * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
3944
3945 1998-04-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3946
3947         * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Compare addresses
3948         as pointers, not signed integers.
3949
3950 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3951
3952         * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
3953
3954 1998-04-21 21:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3955
3956         * misc/sys/cdefs.h: New macro __REDIRECT to support changing the
3957         asm symbol name of functions.
3958         * include/features.h: Kill redundant test.
3959
3960         * dirent/dirent.h: Use new macros to implement __USE_FILE_OFFSET64.
3961         * io/ftw.h: Likewise.
3962         * io/sys/stat.h: Likewise.
3963         * io/sys/statfs.h: Likewise.
3964         * io/sys/statvfs.h: Likewise.
3965         * libio/stdio.h: Likewise.
3966         * resource/sys/resource.h: Likewise.
3967         * rt/aio.h: Likewise.
3968
3969         * posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and
3970          __FAVOR_BSD.
3971         * signal/signal.h: Use new macros for BSD vs. SysV signal().
3972
3973         * misc/Makefile: Drop bsd-compat.c.  Make libbsd-compat.a
3974         a dummy library.
3975         * misc/bsd-compat.c: Removed.
3976
3977 1998-04-21 20:32  Ulrich Drepper  <drepper@cygnus.com>
3978
3979         * iconv/loop.c: Allow EXTRA_LOOP_DECLS be defined and use it in
3980         function declaration.
3981         * iconv/skeleton.c: Allow PREPARE_LOOP and EXTRA_LOOP_ARGS be defined
3982         and use them in conversion function.
3983         * iconvdata/Makefile (modules): Re-add ISO6446.
3984         * iconvdata/TEST: Add tests for ASCII variants.
3985         * iconvdata/iso646.c: Rewrite to use loop.c and skeleton.c.
3986         * iconvdata/testdata/ANSI_X3.4-1968: New file.
3987         * iconvdata/testdata/BS_4730: New file.
3988         * iconvdata/testdata/BS_4730..UTF8: New file.
3989
3990 1998-04-21 19:05  Ulrich Drepper  <drepper@cygnus.com>
3991
3992         * iconv/gconv.h (struct gconv_step): Add element stateful.
3993         * iconv/gconv_builtin.c (__gconv_builtin_trans): Initialize stateful
3994         to zero for all internal conversions.
3995         * iconv/skeleton.c: Initialize stateful depending on whether or not
3996         RESET_STATE is defined to one or zero respectively.
3997         * stdlib/mblen.c: Use stateful element of currently selected
3998         converter for result if S is NULL.
3999         * stdlib/mbtowc.c: Likewise.
4000         * stdlib/wctomb.c: Likewise.
4001
4002 1998-04-21 18:00  Ulrich Drepper  <drepper@cygnus.com>
4003
4004         * iconv/gconv.c (__gconv): Remove bogus input buffer size computation.
4005
4006         * iconv/gconv_open.c (__gconv_open): Initialize outbufend element.
4007
4008         * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Don't use
4009         character in comparison with uint32_t.
4010         (__gconv_transform_internal_utf8): Specify MAX_NEEDED_TO.
4011         (__gconv_transform_utf8_internal): Specify MAX_NEEDED_FROM.
4012         Optimize BODY a bit.
4013
4014         * iconv/loop.c: Require MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT to
4015         be defined.
4016
4017         * iconv/skeleton.c: Also reset converted counter in case of an error.
4018         Call reset function using correct value for output buffer start.
4019
4020         * iconvdata/Makefile: Re-enable tests.
4021
4022         * iconvdata/iso8859-1.c: Swap MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT
4023         value for to-conversion.
4024
4025         * iconvdata/TESTS: Add new third column.
4026         * iconvdata/run-iconv-test.sh: Add support for charsets which are
4027         not ASCII based.
4028         * iconvdata/testdata/suntzus: New file.
4029
4030         * elf/dl-minimal.c (__strtol_internal): Increment pointer to string
4031         while reading.  Correctly used base.  Little optimization.
4032         (__strtoul_internal): Likewise.
4033
4034         * elf/rtld.c (dl_main): Test to avoid duplicate call of _dl_init_paths
4035         was wrong.  Use explicit variable.
4036
4037 1998-04-20 23:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4038
4039         * configure.in: Check for awk.
4040         * config.make.in: Add AWK to be substituted.
4041
4042         * manual/xtract-typefun.awk: Rewrite to eliminate gawk extensions.
4043         * manual/users.texi: Fix typo exposed by above rewrite.
4044
4045         * Makefile: Invoke awk using AWK variable.
4046         * csu/Makefile: Likewise.
4047         * elf/Makefile: Likewise.
4048         * mach/Makefile: Likewise.
4049         * manual/Makefile: Likewise.
4050         * sysdeps/gnu/Makefile: Likewise.
4051         * sysdeps/mach/hurd/Makefile: Likewise.
4052         * sysdeps/unix/Makefile: Likewise.
4053         * timezone/Makefile: Likewise.
4054
4055 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
4056
4057         * sysdeps/gnu/errlist.awk (ERR_REMAP): Implement error code to
4058         array index translation.
4059         (SYS_ERRLIST_ALIAS, SYS_NERR_ALIAS): Make weak aliases only if
4060         these are defined.
4061
4062         * sysdeps/mach/hurd/Dist: Add errlist.c to distribution.
4063
4064         * sysdeps/mach/hurd/errlist.c: New file.
4065         (ERR_TRANSLATE): Map Hurd error codes into errlist indices.
4066         (_hurd_errlist): The Hurd error list doesn't have Unix sys_errlist
4067         semantics, so rename it.
4068
4069 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4070
4071         * iconvdata/run-iconv-test.sh: Make portable.  Always test all
4072         conversions.
4073
4074 1998-04-21 12:30  H.J. Lu  <hjl@gnu.org>
4075
4076         * wcsmbs/wcsrtombs.c (__wcsrtombs): Initialize result to 0.
4077         * wcsmbs/wcsnrtombs.c: Likewise.
4078
4079 1998-04-21  Ulrich Drepper  <drepper@cygnus.com>
4080
4081         * sysdeps/generic/dl-sysdep.c: Handle _dl_hwcap correctly.
4082
4083         * wcsmbs/btowc.c (__btowc): Declare inptr as const char *.
4084
4085         * time/strftime.c (my_strftime): Initialize pad variable in
4086         declaration.
4087
4088         * iconvdata/big5.c: Don't use character constants in comparisons
4089         with unsigned value.
4090
4091 1998-04-20 18:00  Ulrich Drepper  <drepper@cygnus.com>
4092
4093         * libc.map: Add __dgettext to GLIBC_2.0 and __libc_longjmp, and
4094         __libc_siglongjmp to GLIBC_2.1.
4095
4096         * elf/dl-minimal.c (__assert_perror_fail): Don't use strerror, use
4097         __strerror_r.
4098
4099         * iconv/Makefile: Don't run tests now.
4100
4101         * iconv/iconv_prog.c (process_block): If loop is repeated, call iconv
4102         with correct output buffer.
4103
4104         Major rewrite of the low-level gconv functionality.
4105         * iconv/gconv.c: Rewritten.
4106         * iconv/gconv.h: Likewise.
4107         * iconv/gconv_builtin.c: Likewise.
4108         * iconv/gconv_builtin.h: Likewise.
4109         * iconv/gconv_conf.c: Likewise.
4110         * iconv/gconv_int.h: Likewise.
4111         * iconv/gconv_open.c: Likewise.
4112         * iconv/gconv_simple.c: Likewise.
4113         * iconv/iconv.c: Likewise.
4114         * iconvdata/8bit-gap.c: Likewise.
4115         * iconvdata/8bit-generic.c: Likewise.
4116         * iconvdata/Makefile: Likewise.
4117         * iconvdata/big5.c: Likewise.
4118         * iconvdata/cns11643.c: Likewise.
4119         * iconvdata/cns11643.h: Likewise.
4120         * iconvdata/cns11643l1.c: Likewise.
4121         * iconvdata/cns11643l1.h: Likewise.
4122         * iconvdata/ebcdic-at-de-a.c: Likewise.
4123         * iconvdata/ebcdic-at-de.c: Likewise.
4124         * iconvdata/ebcdic-ca-fr.c: Likewise.
4125         * iconvdata/euccn.c: Likewise.
4126         * iconvdata/eucjp.c: Likewise.
4127         * iconvdata/euckr.c: Likewise.
4128         * iconvdata/euctw.c: Likewise.
4129         * iconvdata/gb2312.c: Likewise.
4130         * iconvdata/gb2312.h: Likewise.
4131         * iconvdata/hp-roman8.c: Likewise.
4132         * iconvdata/iso646.c: Likewise.
4133         * iconvdata/iso6937.c: Likewise.
4134         * iconvdata/iso8859-1.c: Likewise.
4135         * iconvdata/iso8859-10.c: Likewise.
4136         * iconvdata/iso8859-2.c: Likewise.
4137         * iconvdata/iso8859-3.c: Likewise.
4138         * iconvdata/iso8859-4.c: Likewise.
4139         * iconvdata/iso8859-5.c: Likewise.
4140         * iconvdata/iso8859-6.c: Likewise.
4141         * iconvdata/iso8859-7.c: Likewise.
4142         * iconvdata/iso8859-8.c: Likewise.
4143         * iconvdata/iso8859-9.c: Likewise.
4144         * iconvdata/jis0201.c: Likewise.
4145         * iconvdata/jis0201.h: Likewise.
4146         * iconvdata/jis0208.c: Likewise.
4147         * iconvdata/jis0208.h: Likewise.
4148         * iconvdata/jis0212.c: Likewise.
4149         * iconvdata/jis0212.h: Likewise.
4150         * iconvdata/johab.c: Likewise.
4151         * iconvdata/koi-8.c: Likewise.
4152         * iconvdata/koi8-r.c: Likewise.
4153         * iconvdata/ksc5601.c: Likewise.
4154         * iconvdata/ksc5601.h: Likewise.
4155         * iconvdata/latin-greek-1.c: Likewise.
4156         * iconvdata/latin-greek.c: Likewise.
4157         * iconvdata/run-iconv-test.sh: Likewise.
4158         * iconvdata/sjis.c: Likewise.
4159         * iconvdata/t61.c: Likewise.
4160         * iconvdata/uhc.c: Likewise.
4161         * wcsmbs/btowc.c: Likewise.
4162         * wcsmbs/mbrtowc.c: Likewise.
4163         * wcsmbs/mbsnrtowcs.c: Likewise.
4164         * wcsmbs/mbsrtowcs.c: Likewise.
4165         * wcsmbs/wcrtomb.c: Likewise.
4166         * wcsmbs/wcsmbsload.c: Likewise.
4167         * wcsmbs/wcsnrtombs.c: Likewise.
4168         * wcsmbs/wcsrtombs.c: Likewise.
4169         * wcsmbs/wctob.c: Likewise.
4170         * iconv/loop.c: New file.
4171         * iconv/skeleton.c: New file.
4172
4173         * stdlib/mblen.c: Handle empty input string correctly.
4174         * stdlib/mbtowc.c: Likewise.
4175
4176         * posix/getopt.c: Various cleanups.
4177
4178         * sysdeps/arm/bits/setjmp.h: Add copyright text.
4179         * sysdeps/i386/bits/setjmp.h: Likewise.
4180         * sysdeps/m68k/bits/setjmp.h: Likewise.
4181         * sysdeps/powerpc/bits/setjmp.h: Likewise.
4182         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
4183
4184         * sysdeps/generic/longjmp.c: Rename function to __libc_siglongjmp
4185         and make longjmp weak alias.
4186
4187 1998-04-18 20:29  Philip Blundell  <Philip.Blundell@pobox.com>
4188
4189         * iconv/Makefile (routines): Only include gconv_dl if building for
4190         an ELF system - dynamic linking is not available on a.out.
4191         (CFLAGS-gconv_conf.c): Define STATIC_GCONV if omitting gconv_dl
4192         due to above check.
4193         * iconv/gconv_db.c: If STATIC_GCONV defined, don't try to call
4194         routines from gconv_dl.
4195
4196 1998-04-17  Gordon Matzigkeit  <gord@profitpress.com>
4197
4198         * csu/init.c (_IO_stdin_used): Protect with USE_IN_LIBIO so that
4199         we can compile without libio.
4200
4201 1998-04-20 16:28  Ulrich Drepper  <drepper@cygnus.com>
4202
4203         * sysdeps/mach/hurd/Subdirs: Remove login.
4204
4205 1998-04-11  Gordon Matzigkeit  <gord@profitpress.com>
4206
4207         * db2/compat.h: Include <errno.h>, to make sure we get the
4208         definition of EFTYPE before we define it ourselves.
4209
4210 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
4211
4212         * sysdeps/generic/bits/socket.h: Protect against multiple inclusion.
4213         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
4214         Fix typo to allow inclusion from sys/ioctl.h again.
4215
4216 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4217
4218         * iconvdata/*.[ch]: Clean up namespace.  Optimize character lookup.
4219
4220 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4221
4222         * libc.map: Export __strerror_r.  Remove _strerror_internal.
4223
4224 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4225
4226         * sysdeps/generic/strcasestr.c: Undefine strcasestr, not strstr.
4227         Also undefine __strcasestr.
4228
4229 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4230
4231         * posix/regex.c: Rename __re_max_failures back to re_max_failures,
4232         aliases do not work with global variables due to copy relocations.
4233
4234 1998-04-20 15:12  Ulrich Drepper  <drepper@cygnus.com>
4235
4236         * manual/creature.texi: Fix type.  Patch by Andreas Schwab.
4237
4238 1998-04-20 13:47  Ulrich Drepper  <drepper@cygnus.com>
4239
4240         * signal/sighold.c: Include stddef.h for NULL definition.
4241         * signal/sigrelse.c: Likewise.
4242         * sysdeps/posix/sigignore.c: Likewise.
4243         * sysdeps/posix/sigset.c: Likewise.
4244         * sysdeps/posix/waitid.c: Likewise.
4245         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
4246         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Likewise.
4247         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4248         * wcsmbs/mbsrtowcs.c: Include stdlib.h for MB_CUR_MAX.
4249         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
4250
4251 1998-04-13  Mark Kettenis  <kettenis@phys.uva.nl>
4252
4253         * login/Makefile (headers): Remove utmpx.h and bits/utmpx.h.
4254         * login/getutent.c (getutxent): Remove alias.
4255         * login/getutent_r.c (setutxent, pututxline, endutxent):
4256         Remove aliases.
4257         * login/getutid.c (getutxid): Remove alias.
4258         * login/getutline.c (getutxline): Remove alias.
4259         * login/utmp.h: Add prototypes for __updwtmp, __getutent,
4260         __getutid, __getutline and __pututline.
4261         * login/utmpx.h: Moved to ...
4262         * sysdeps/gnu/utmpx.h: ... here.  [__USE_GNU]: Define UTMPX_FILE,
4263         UTMPX_FILENAME, WTMPX_FILE and WTMPX_FILENAME, declare utmpxname
4264         and updwtmpx.
4265         * login/updwtmp.c: Moved to ...
4266         * sysdeps/generic/updwtmp.c: ... here.  (updwtmp): Generalized by
4267         allowing file name transformation.
4268         * sysdeps/gnu/updwtmp.c: New file.  Use generic implementation with
4269         additional file name transformation.
4270         * sysdeps/unix/sysv/linux/updwtmp.c: Likewise.
4271         * login/utmp_file.c: Moved to ...
4272         * sysdeps/generic/utmp_file.c: ... here.  (setutent_file):
4273         Generalized by allowing file name transformation.  Do not
4274         print error message.  Library functions should not print them.
4275         Reported by Jim Meyering.
4276         * sysdeps/gnu/utmp_file.c: New file.  Use generic implementation
4277         with additional file name transformation.
4278         * sysdeps/unix/sysv/linux/utmp_file.c: Likewise.
4279         * sysdeps/gnu/Makefile [$(subdir)=login] (sysdep_routines): Add
4280         setutxent, getutxent, endutxent, getutxid, getutxid, getutxline,
4281         pututxline, utmpxname and updwtmpx.  (sysdep_headers): Add utmpx.h
4282         and bits/utmpx.h.
4283         * sysdeps/gnu/bits/utmpx.h [__USE_GNU] Include paths.h.
4284         (_PATH_UTMPX): Define to _PATH_UTMP.  (_PATH_WTMPX): Define to
4285         _PATH_WTMPX.  (RUN_LVL): Define only if __USE_GNU.  (ACCOUNTING):
4286         Define if __USE_GNU.
4287         * sysdeps/generic/setutxent.c: New file.
4288         * sysdeps/generic/getutxent.c: New file.
4289         * sysdeps/generic/endutxent.c: New file.
4290         * sysdeps/generic/getutxid.c: New file.
4291         * sysdeps/generic/getutxline.c: New file.
4292         * sysdeps/generic/pututxline.c: New file.
4293         * sysdeps/generic/utmpxname.c: New file.
4294         * sysdeps/generic/updwtmpx.c: New file.
4295         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP_DB): Remove.
4296         * sysdeps/generic/bits/utmpx.h: Remove.
4297
4298 1998-04-20  Ulrich Drepper  <drepper@cygnus.com>
4299
4300         * posix/wordexp-test.c (main): Initialize ifs element of ts for
4301         ~root test.
4302
4303 1998-04-17 07:53  H.J. Lu  <hjl@gnu.org>
4304
4305         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Fix a typo.
4306
4307 1998-04-17 11:32  Ulrich Drepper  <drepper@cygnus.com>
4308
4309         * libio/oldfileops.c (_IO_old_file_seekoff): Define temporary st
4310         variable using _G_stat64.
4311         * libio/fileops.c: Remove macro definition of fstat, it is in the
4312         global header.
4313         Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
4314
4315 1998-04-17  Philip Blundell  <pb@nexus.co.uk>
4316
4317         * sysdeps/arm/strlen.S: New file, based on code by Matthew Wilcox
4318         <willy@odie.barnet.ac.uk>.
4319
4320 1998-04-16  Philip Blundell  <Philip.Blundell@pobox.com>
4321
4322         * inet/netinet/in.h (IN6_IS_ADDR_MC_NODELOCAL): New macro,
4323         required by IPv6 Basic API.
4324         (IN6_IS_ADDR_MC_LINKLOCAL): Likewise.
4325         (IN6_IS_ADDR_MC_SITELOCAL): Likewise.
4326         (IN6_IS_ADDR_MC_ORGLOCAL): Likewise.
4327         (IN6_IS_ADDR_MC_GLOBAL): Likewise.
4328
4329 1998-04-15 16:41  Ulrich Drepper  <drepper@cygnus.com>
4330
4331         Don't name internal representation since it might be different from
4332         the external form (namely on little endian machines).
4333         * iconv/gconv_builtin.h: Add UCS4 support.  Change references to
4334         UCS4 into references to INTERNAL.
4335         * iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters.
4336         Add endianess support to UCS functions.  Change references to
4337         UCS4 into references to INTERNAL.
4338         * iconv/gconv_int.h: Change references to UCS4 into references to
4339         INTERNAL.
4340         * iconv/iconv_prog.c: Don't mention INTERNAL in --list output.
4341         * iconvdata/gconv-modules: Change accordingly.
4342         * wcsmbs/wcsmbsload.c: Change names to use INTERNAL.
4343
4344         * iconv/gconv_simple.c: Adjust input buffer pointer for output buffer
4345         overflow.
4346         * iconvdata/8bit-gap.c: Likewise.
4347         * iconvdata/8bit-generic.c: Likewise.
4348         * iconvdata/big5.c: Likewise.
4349         * iconvdata/euccn.c: Likewise.
4350         * iconvdata/eucjp.c: Likewise.
4351         * iconvdata/euckr.c: Likewise.
4352         * iconvdata/euctw.c: Likewise.
4353         * iconvdata/iso646.c: Likewise.
4354         * iconvdata/iso6937.c: Likewise.
4355         * iconvdata/iso8859-1.c: Likewise.
4356         * iconvdata/johab.c: Likewise.
4357         * iconvdata/sjis.c: Likewise.
4358         * iconvdata/t61.c: Likewise.
4359         * iconvdata/uhc.c: Likewise.
4360
4361         * iconvdata/8bit-gap.c: Correct access to to_ucs4 array.
4362         * iconvdata/8bit-generic.c: Likewise.
4363
4364         * iconvdata/TESTS: Add more tests.
4365
4366         * sysdeps/i386/bits/byteswap.h: Change to use "=r" when ror is used.
4367
4368 1998-04-15 11:47  Ulrich Drepper  <drepper@cygnus.com>
4369
4370         * iconvdata/Makefile: Better rules to run tests.
4371
4372         * iconvdata/testdata/ISO-8859-1..UTF8: New file.
4373         * iconvdata/testdata/ISO-8859-10: Likewise.
4374         * iconvdata/testdata/ISO-8859-10..UCS2: Likewise.
4375         * iconvdata/testdata/ISO-8859-2: Likewise.
4376         * iconvdata/testdata/ISO-8859-2..UCS4: Likewise.
4377         * iconvdata/testdata/ISO-8859-2..UTF8: Likewise.
4378         * iconvdata/testdata/ISO-8859-3: Likewise.
4379         * iconvdata/testdata/ISO-8859-4: Likewise.
4380         * iconvdata/testdata/ISO-8859-5: Likewise.
4381         * iconvdata/testdata/ISO-8859-6: Likewise.
4382         * iconvdata/testdata/ISO-8859-7: Likewise.
4383         * iconvdata/testdata/ISO-8859-8: Likewise.
4384         * iconvdata/testdata/ISO-8859-9: Likewise.
4385
4386 1998-04-15  Ulrich Drepper  <drepper@cygnus.com>
4387
4388         * iconvdata/run-iconv-test.sh: Handle $from..$t file to compare
4389         intermediate result (if available).
4390
4391         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in
4392         last change.
4393
4394         * iconvdata/Makefile: Add rules to run run-iconv-test.sh.
4395         (distribute): Add run-iconv-test.sh and testdata/*.
4396
4397         * stdlib/testmb.c (main): Simplify mbc array handling.
4398
4399 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4400
4401         * elf/dl-minimal.c (__strtol_internal): Correct range check.  Fix
4402         return value on overflow.
4403
4404 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4405
4406         * sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64
4407         bits.
4408
4409 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4410
4411         * malloc/mtrace.c (mtrace): Use standard function setvbuf instead
4412         of non-standard function setbuffer.
4413
4414 1998-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4415
4416         * stdio-common/perror.c: Include <string.h> for __strerror_r.
4417
4418 1998-04-14 23:54  Ulrich Drepper  <drepper@cygnus.com>
4419
4420         * iconvdata/Makefile: Add rules to run tests.
4421         * iconvdata/TESTS: New file.
4422         * iconvdata/run-iconv-test.sh: New file.
4423         * iconvdata/testdata/ISO-8859-1: New file.
4424
4425         * iconv/iconv_prog.c (main): Call process_block with OUTPUT stream,
4426         not stdout.
4427
4428 1998-04-14 18:22  Ulrich Drepper  <drepper@cygnus.com>
4429
4430         * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
4431         counter element of step.
4432
4433         * iconv/gconv_dl.c: Don't mark get_sym as internal function.
4434
4435         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Correct loop
4436         termination test.
4437         (__gconv_transform_ucs4_utf8): Likewise.  Remove unnecessary variable
4438         ACTUALLY.
4439         (__gconv_transform_utf8_ucs4): Correct test for empty input.
4440
4441 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
4442
4443         * Makefile: Include makeconfig before defining rule to regenerate
4444         configure files.
4445
4446         * configure.in: Remove restriction on compiling without static
4447         libs.
4448
4449 1998-04-14 16:34  Ulrich Drepper  <drepper@cygnus.com>
4450
4451         * test-skeleton.c: Provide hook for initializing code before the fork.
4452         * rt/tst-aio.c: Use PREPARE hook to make suer temp files are always
4453         removed.
4454
4455         * libio/fcloseall.c (__fcloseall): Return return value of _IO_cleanup.
4456         * libio/genops.c (_IO_cleanup): Return return value of _IO_flush_all.
4457         * libio/libioP.h: Adopt _IO_cleanup prototype.
4458
4459         * stdlib/Makefile (tests): Add test-canon2.
4460         * stdlib/test-canon2.c: New file.
4461         * stdlib/canonicalize.c (canonicalize): Allow RESOLVED parameter to
4462         be NULL.  Use __lxstat, not __lstat.  Correctly recognize long
4463         symlink sequences.
4464         (__realpath): Make real function which checks RESOLVED parameter for
4465         not being NULL.
4466
4467 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
4468
4469         * catgets/open_catalog.c (__open_catalog): Fix problems with
4470         reading non-files.  Always close file.
4471         Reported by Cristian Gafton <gafton@redhat.com>.
4472
4473         * elf/dl-minimal.c (__strtol_internal): Prevent overflow warnings.
4474
4475 1998-04-14 13:28  Ulrich Drepper  <drepper@cygnus.com>
4476
4477         * libc.map: Add various low-level I/O functions.
4478
4479 1998-04-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
4480
4481         * string/Makefile (routines): Remove strerror_r.
4482         * string/strerror_r.c: Removed.
4483         * string/strerror.c: Call __strerror_r for doing the real work.
4484         * sysdeps/generic/_strerror.c: Rename function to __strerror_r and
4485         add weak alias strerror_r.
4486         * sysdeps/mach/_strerror.c: Likewise.
4487         * assert/assert-perr.c: Use __strerror_r instead of _strerror_internal.
4488         * elf/dl-error.c (_dl_signal_error): Likewise.
4489         * elf/dl-profile.c (_dl_start_profile): Likewise.
4490         * gmon/gmon.c (write_gmon): Likewise.
4491         * stdio-common/perror.c: Likewise.
4492         * stdio-common/vfprintf.c: Likewise.
4493
4494 1998-04-10  Mark Kettenis  <kettenis@phys.uva.nl>
4495
4496         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
4497         (sysdep_headers): Add netatalk/at.h.
4498
4499 1998-04-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4500
4501         * manual/socket.texi, manual/creature.texi, manual/time.texi:
4502         Formatting fixes.
4503
4504 1998-04-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4505
4506         * posix/regex.c: Rename __re_syntax_options back to
4507         re_syntax_options, aliases do not work with global variables due
4508         to copy relocations.
4509         (regex_compile): Use syntax parameter instead of
4510         re_syntax_options.
4511
4512 1998-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4513
4514         * configure.in: Document that enable-force-install is default.
4515
4516 1998-04-13  Ulrich Drepper  <drepper@cygnus.com>
4517
4518         * sysdeps/posix/mktemp.c: Increment `value' in a way which touches
4519         all needed 36 bits.
4520         * sysdeps/posix/mkstemp.c: Likewise.
4521
4522 1998-04-13 17:40  Ulrich Drepper  <drepper@cygnus.com>
4523
4524         * iconvdata/8bit-gap.c: Simplify step data handling.
4525         * iconvdata/8bit-generic.c: Likewise.
4526         * iconvdata/big5.c: Likewise.
4527         * iconvdata/euccn.c: Likewise.
4528         * iconvdata/eucjp.c: Likewise.
4529         * iconvdata/euckr.c: Likewise.
4530         * iconvdata/euctw.c: Likewise.
4531         * iconvdata/iso6937.c: Likewise.
4532         * iconvdata/iso8859-1.c: Likewise.
4533         * iconvdata/jis0208.h: Likewise.
4534         * iconvdata/jis0212.c: Likewise.
4535         * iconvdata/jis0212.h: Likewise.
4536         * iconvdata/johab.c: Likewise.
4537         * iconvdata/ksc5601.h: Likewise.
4538         * iconvdata/sjis.c: Likewise.
4539         * iconvdata/t61.c: Likewise.
4540         * iconvdata/uhc.c: Likewise.
4541
4542 1998-04-13 16:36  Ulrich Drepper  <drepper@cygnus.com>
4543
4544         * manual/texinfo.texi: Updated from last version.
4545
4546 1998-04-13 14:52  Ulrich Drepper  <drepper@cygnus.com>
4547
4548         * iconvdata/cns11643.c: New file.
4549         * iconvdata/cns11643.h: New file.
4550         * iconvdata/cns11643l1.c: New file.
4551         * iconvdata/cns11643l1.h: New file.
4552         * iconvdata/euctw.c: New file.
4553         * iconvdata/Makefile: Add rules for EUC-TW and CNS.
4554         * iconvdata/gconv-modules: Likewise.
4555
4556         * iconvdata/eucjp.c: Several bug fixes and improvements.
4557         * iconvdata/gb2312.h: Likewise.
4558         * iconvdata/jis0201.h: Likewise.
4559         * iconvdata/jis0208.h: Likewise.
4560         * iconvdata/jis0212.h: Likewise.
4561
4562 1998-04-13 09:11  Ulrich Drepper  <drepper@cygnus.com>
4563
4564         * iconvdata/eucjp.c: New file.
4565         * iconvdata/euccn.c: New file.
4566         * iconvdata/gb2312.h: New file.
4567         * iconvdata/gb2312.c: New file.
4568         * iconvdata/Makefile: Add rules for EUC-JP and EUC-CN.
4569         * iconvdata/gconv-modules: Likewise.
4570
4571         * iconvdata/euckr.c: Use stdint.h instead of inttypes.h.
4572
4573 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
4574
4575         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
4576         (DL_FIND_ARG_COMPONENTS): Always initialize auxv.
4577         Patch by Mark Hatle <fray@kernel.crashing.org>.
4578
4579 1998-04-12 22:47  Philip Blundell  <Philip.Blundell@pobox.com>
4580
4581         * sysdeps/unix/sysv/linux/bits/socket.h (PF_APPLETALK): Correct
4582         comment.
4583         (PF_AAL5, AF_AAL5): Rename to *_ATMPVC.
4584         (PF_ATMSVC, PF_ECONET, AF_ATMSVC, AF_ECONET): Added.
4585
4586 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
4587
4588         * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations.
4589
4590         * iconvdata/Makefile: Add rules for big5 conversion.
4591         * iconvdata/gconv-modules: Likewise.
4592         * iconvdata/big5.c: New file.
4593
4594         * time/mktime.c (TYPE_MAXIMUM): Add missing cast.
4595         Patch by Jim Meyering.
4596
4597 1998-04-11  Ulrich Drepper  <drepper@cygnus.com>
4598
4599         * rt/tst-aio.c: Add test for aio_read and lio_listio.
4600
4601         * rt/lio_listio.c: Correct total counter handling.
4602
4603         * rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements
4604         from request queue.
4605
4606         * test-skeleton.c (main): Make stdout unbuffered.  Improve message
4607         of signal on exit even more.
4608
4609         * rt/aio_suspend.c (aio_suspend): Use PTHREAD_COND_INITIALIZER
4610         instead of call to pthread_cond_init.
4611         * rt/lio_listio.c (lio_listio): Likewise.
4612         * rt/lio_listio64.c (lio_listio64): Likewise.
4613
4614         * nis/nis_findserv.c: Include sys/socket.h.
4615
4616 1998-04-11 09:33  Ulrich Drepper  <drepper@cygnus.com>
4617
4618         * Makeconfig (rtobjdir): New variable.
4619         (rpath-link): Add rtobjdir and thread directory, if available.
4620
4621         * test-skeleton.c: Add support to remove temporary files.
4622         Always define test_dir.  Improve message about expected signal.
4623
4624         * rt/Makefile (tests): Add tst-aio.
4625         Add rules for tst-aio to be linked with librt and thread library.
4626         * rt/aio_misc.c: Correct fundamental bugs.
4627         * rt/aio_suspend.c: Correct bug in test for available request.
4628         Initialize conditional variable.
4629         * rt/lio_listio.c: Initialize conditional variable.
4630         * rt/lio_listio64.c: Likewise.
4631         * rt/tst-aio.c: New file.
4632
4633         * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
4634         * sysdeps/libm-ieee754/w_gamma.c: Likewise.  Adopt for ISO C 9x.
4635         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
4636         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
4637         * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
4638         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
4639         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
4640
4641 1998-04-11 14:49  Mark Kettenis  <kettenis@landau.phys.uva.nl>
4642
4643         * posix/regex.c [_LIBC] (__re_syntax_options): Initialize to 0.
4644
4645 1998-04-10  Ulrich Drepper  <drepper@cygnus.com>
4646
4647         * elf/dl-load.c (open_path): Use correct name for test whether
4648         directory in load path exists.
4649
4650         * sysdeps/libm-ieee754/s_expm1.c: Remove variable one.
4651         * sysdeps/libm-ieee754/e_pow.c: Fix typo.
4652         Patches by Tom Rini <trini@kernel.crashing.org>.
4653
4654         * wcsmbs/wcstof_l.c: Declare ____wcstoull_l_internal.
4655         * wcsmbs/wcstod_l.c: Likewise.
4656         * wcsmbs/wcstold_l.c: Likewise.
4657
4658         * include/byteswap.h: New file.
4659
4660         * malloc/mtrace.c (mtrace): Use smaller output buffer to reduce
4661         .bss segment size.  Patch by Joe Keane <jgk@jgk.org>.
4662
4663         * inet/getnameinfo.c (getnameinfo): Change parameter to match
4664         declaration.  Patch by Richard Henderson.
4665
4666 1998-04-10 12:40  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4667
4668         * manual/process.texi (SIGCHLD example): Save errno.
4669
4670 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
4671
4672         * posix/regex.c: Define regerror really as __regerror.
4673         * posix/regex.h: Add __ protected prototypes for regcomp, regexec,
4674         regerror and regfree.
4675
4676         * stdlib/strtof_l.c: Declare ____strtoull_l_internal.
4677         * stdlib/strtod_l.c: Likewise.
4678         * stdlib/strtold_l.c: Likewise.
4679
4680         * intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros.
4681
4682         * sysdeps/i386/i486/bits/string.h: Remove unused variables.
4683
4684         * misc/syslog.c (closelog_internal): Set LogTag to NULL.
4685         Patch by Christian Gafton.
4686
4687 1998-04-09 14:27  Ulrich Drepper  <drepper@cygnus.com>
4688
4689         * manual/socket.texi (Interface Naming): Correct @deftypefun line
4690         for if_indextoname.
4691
4692 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4693
4694         * sysdeps/unix/sysv/linux/bits/sockunion.h: Fix error message.
4695
4696         * manual/socket.texi (Interface Naming): Fix typo.
4697
4698 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4699
4700         * manual/examples/filesrv.c (main): Remove filename first.
4701
4702         * manual/socket.texi (Address Formats): Change ?F_LOCAL, ?F_FILE,
4703         ?F_UNIX.
4704
4705         * manual/examples/mkfsock.c (make_named_socket): Use PF_LOCAL
4706         instead of PF_UNIX.
4707
4708         * manual/examples/filecli.c (main): Use AF_LOCAL
4709         instead of AF_UNIX.
4710
4711 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
4712
4713         * sysdeps/libm-ieee754/s_signgam.c: Define __signgam and make
4714         signgam weak alias.
4715         * sysdeps/libm-ieee754/w_lgamma.c: Use __signgam not signgam.
4716         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
4717         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
4718         * sysdeps/libm-ieee754/w_gamma.c: Likewise.
4719         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
4720         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
4721
4722         * login/utmp_daemon.c (open_socket): Use __connect not connect.
4723
4724 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4725
4726         * configure.in: Add new option --enable-force-install.  Substitute
4727         force_install.
4728         * config.make.in (force-install): Set from configure.
4729         * Makerules (force-install): New phony target.
4730         * Makeconfig (+force): New variable.
4731         * Makefile: Use it in dependency list of installation targets.
4732         * db/Makefile: Likewise.
4733         * db2/Makefile: Likewise.
4734         * elf/Makefile: Likewise.
4735         * hurd/Makefile: Likewise.
4736         * iconv/Makefile: Likewise.
4737         * iconvdata/Makefile: Likewise.
4738         * intl/Makefile: Likewise.
4739         * localedata/Makefile: Likewise.
4740         * login/Makefile: Likewise.
4741         * po/Makefile: Likewise.
4742         * sunrpc/Makefile: Likewise.
4743         * sysdeps/mach/hurd/Makefile: Likewise.
4744         * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise.
4745         * sysdeps/unix/sysv/linux/Makefile: Likewise.
4746         * timezone/Makefile: Likewise.
4747
4748 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4749
4750         * sysdeps/unix/sysv/linux/getcwd.c: Use PATH_MAX as default
4751         alloc_size.  Pass return value of getcwd syscall to realloc.
4752
4753 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4754
4755         * manual/socket.texi: Spelling fixes.
4756
4757 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4758
4759         * elf/dl-load.c (print_search_path): Remove unused variable.
4760
4761 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
4762
4763         * login/utmp_file.c: use __ftruncate not ftruncate.
4764         * sysdeps/unix/common/syscalls.list: Add __ftruncate as real name
4765         for system call and make ftruncate weak alias.
4766         * posix/unistd.h: Add prototype for __ftruncate.
4767         * login/utmp_daemon.c (open_socket): Use __socket not socket.
4768         * nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv
4769         instead of snprintf and readv.
4770         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not
4771         snprintf.
4772         * stdlib/strtod.c: Call strtoull/wcstoull's internal functions
4773         directly.
4774
4775 1998-04-08 20:06  Ulrich Drepper  <drepper@cygnus.com>
4776
4777         * iconv/gconv_conf.c (__gconv_read_conf): Use __realpath not realpath.
4778         * iconv/gconv_db.c: Use __ protected regex functions.
4779         * iconv/gconv_simple.c: Use __mbsinit not mbsinit.
4780         * posix/getopt_init.c: Use __getpid not getpid.
4781         * posix/regex.c: Rename all global functions to start with __ and
4782         make old names weak aliases.
4783         * posix/regex.h: Adopt prototypes for this.
4784         * stdlib/canonicalize.c: Define __realpath, make canonicalize_file_name
4785         a weak alias and use __getcwd instead of getcwd.
4786         * stdlib/stdlib.h: Declare __realpath and __canonicalize_file_name.
4787         * stdlib/strtod.c: Use __btowc instead of btowc.
4788         * stdlib/strtol.c: Likewise.
4789         * sysdeps/libm-ieee754/s_matherr.c: Weaken definition of matherr.
4790         * sysdeps/unix/sysv/linux/errlist.c: Make sure definitions of sys_nerr
4791         and sys_errlist are weak.
4792         * wcsmbs/btowc.c: Define function as __btowc and make btowc weak alias.
4793         * wcsmbs/mbrtowc.c: Use __mbsinit not mbsinit.
4794         * wcsmbs/mbsnrtowcs.c: Likewise.
4795         * wcsmbs/mbsrtowcs.c: Likewise.
4796         * wcsmbs/wcsnrtombs.c: Likewise.
4797         * wcsmbs/wcsrtombs.c: Likewise.
4798         * wcsmbs/mbsinit.c: Define function as __mbsinit and make mbsinit
4799         weak alias.
4800         * wcsmbs/wchar.h: Declare __btowc and __mbsinit.
4801         * wctype/wctype.c: Define function as __wctype and make wctype
4802         weak alias.
4803         * wctype/wctype.h: Declare __wctype.
4804
4805 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
4806
4807         * stdio-common/vfscanf.c: Perform test in %l[ handling correctly.
4808
4809 1998-04-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4810
4811         * sysdeps/unix/sysv/linux/_G_config.h (_G_stat64): Define to
4812         stat64.
4813         (_G_OPEN64, _G_LSEEK64, _G_FSTAT64): Use namespace clean
4814         functions.
4815         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __lseek64 alias
4816         for __llseek.
4817         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4818         * sysdeps/unix/sysv/linux/llseek.c: Likewise.
4819         * sysdeps/generic/lseek64.c (lseek64): Rename to __lseek64, and
4820         make it a weak alias.
4821         * posix/unistd.h: Declare __lseek64.
4822
4823         * libio/fileops.c (fstat) [_LIBC]: Use namespace clean function.
4824         (_IO_file_stat): Fix typo.
4825         (_IO_file_xsgetn): Update fd->_offset.  Read a multiple of the
4826         block size from the file.  Use __mempcpy if _LIBC.
4827
4828 1998-04-07 20:32  Ulrich Drepper  <drepper@cygnus.com>
4829
4830         * wcsmbs/btowc.c: Fix dozends of bugs in untested code.
4831         * wcsmbs/mbrtowc.c: Likewise.
4832         * wcsmbs/mbsnrtowcs.c: Likewise.
4833         * wcsmbs/mbsrtowcs.c: Likewise.
4834         * wcsmbs/wcrtomb.c: Likewise.
4835         * wcsmbs/wcsnrtombs.c: Likewise.
4836         * wcsmbs/wcsrtombs.c: Likewise.
4837         * wcsmbs/wctob.c: Likewise.
4838
4839         * iconv/gconv-simple.c (__gconv_transform_ascii_ucs4): Compute
4840         position of next output character correctly.
4841         (__gconv_transform_ucs4_ascii): Count used input bytes correctly.
4842
4843         * stdio-common/vfprintf.c (vfprintf): Clear state before used.
4844
4845         * stdlib/strtod.c: Don't use mbtowc.
4846
4847 1998-04-07 19:07  H.J. Lu  <hjl@gnu.org>
4848
4849         * libio/fileops.c (_IO_file_xsgetn): Call __underflow () when
4850         what we want is smaller than a buffer.
4851
4852 1998-04-07 18:14  Ulrich Drepper  <drepper@cygnus.com>
4853
4854         * elf/dl-support.c (_dl_important_hwcaps): Define dummy version of
4855         this function.
4856
4857 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
4858
4859         * configure.in: Recognize --with-headers flag and determine
4860         commandline options to be used in compilation.
4861         * Makeconfig (+includes): Use $(sysincludes).
4862         * config.make.in (sysincludes): Define from SYSINCLUDES.
4863         * glibcbug.in: Use SYSINCLUDES information.
4864         Patches by Zack Weinberg.
4865
4866 1998-04-07 19:03  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4867
4868         * glibcbug.in: On linux, report version of kernel headers seen
4869         by compiler.
4870
4871 1998-04-07 16:18  Ulrich Drepper  <drepper@cygnus.com>
4872
4873         * libc.map: Add __asprintf to GLIBC_2.1.
4874         * elf/dlerror.c: Use __asprintf, not asprintf.
4875         * libio/stdio.h: Declare __asprintf.
4876         * stdio-common/asprintf.c: Define as __asprintf and make asprintf
4877         a weak alias.
4878
4879         * elf/dl-minimal.c: Add definition of strtol and strtoul (und friends)
4880         to avoid inclusion from libc_pic.a.
4881
4882         * elf/dl-runtime.c: Undo last patch.
4883
4884         * stdlib/strtod.c: Don't use mbtowc, use btowc.
4885
4886         * sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386"
4887         as default, use NULL.
4888
4889 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4890
4891         * resolv/Makefile: Include ../Makeconfig - needed for building
4892         static NSS module.
4893
4894 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4895
4896         * hesiod/Makefile (libnss_hesiod-inhibit-o): Remove condition for
4897         static-nss since we don't want hesiod in the static NSS.
4898
4899         * nss/Makefile: Build only nss_files as static.
4900
4901         * nss/function.def: Remove support for service db.
4902
4903 1998-04-04 09:44  H.J. Lu  <hjl@gnu.org>
4904
4905         * Makeconfig (CPPFLAGS-.oS): Add -DPIC.
4906
4907 1998-04-04 18:29  Tim Waugh  <tim@cyberelk.demon.co.uk>
4908
4909         * posix/wordexp-test.c: Make IFS per test-case.
4910
4911 1998-04-07 17:50  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4912
4913         * glibcbug.in: Report version of gcc in use.  Remove unused variable
4914         ENVIRONMENT.
4915
4916 1998-04-07  Gordon Matzigkeit  <gord@profitpress.com>
4917
4918         * aclocal.m4 (LIBC_PROG_BINUTILS): Use `-print-prog-name', not
4919         `-print-file-name' to find as and ld.
4920
4921 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
4922
4923         * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case
4924         template is wrong.  Remove unused varaible `ignored'.
4925
4926 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4927
4928         * libc.map: Export __libc_sa_len.
4929
4930         * iconv/gconv_conf.c (MAXPATHLEN): Define correctly.
4931
4932 1998-04-07 08:51  Ulrich Drepper  <drepper@cygnus.com>
4933
4934         * iconv/gconv.c: Take care for NULL arguments.
4935         * iconv/gconv_dl.c: Make find_func function global.
4936         * iconv/gconv_int.h: Add prototype for __gconv_find_func.
4937         Add prototypes for ASCII conversion functions.
4938         * iconv/gconv_simple.c: Add ASCII conversion functions.
4939         * locale/C-ctype.c: Correct charset name.
4940
4941         * wcsmbs/Makefile (distribute): Add wcsmbsload.h.
4942         (routines): Remove wmemrtowcs and wmemrtombs, add wcsnlen and
4943         wcsmbsload.
4944         * wcsmbs/btowc.c: Rewrite to use iconv functionality.
4945         * wcsmbs/mbrtowc.c: Likewise.
4946         * wcsmbs/mbsnrtowcs.c: Likewise.
4947         * wcsmbs/mbsrtowcs.c: Likewise.
4948         * wcsmbs/wcrtomb.c: Likewise.
4949         * wcsmbs/wcsnrtombs.c: Likewise.
4950         * wcsmbs/wcsrtombs.c: Likewise.
4951         * wcsmbs/wctob.c: Likewise.
4952         * wcsmbs/wchar.h: Add prototype for __wcslen, wcsnlen.  Remove
4953         prototypes for wmemr*.
4954         * wcsmbs/wcslen.c: Rename to __wcslen and make wcslen weak alias.
4955         * wcsmbs/wcsnlen.c: New file.
4956         * wcsmbs/wcsmbsload.c: New file.
4957         * wcsmbs/wcsmbsload.h: New file.
4958
4959         * manual/filesys.texi: Mention risks of tmpnam and mktemp.
4960
4961         * manual/install.texi: Describe some more critical points.
4962
4963         * string/string.h: Add prototype for __strnlen.
4964         * string/strnlen.c: Rename to __strnlen and make strnlen weak alias.
4965
4966         * sysdeps/posix/mktemp.c: Rewrite to allow many more files and
4967         much less predictable names.
4968         * sysdeps/posix/mkstemp.c: Likewise.
4969
4970 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4971
4972         * manual/libc.texinfo (Top): Change "file namespace" to "local
4973         namespace".
4974
4975         * manual/socket.texi: Change file namespace to local namespace.
4976         (Out-of-Band Data): Remove unneeded variable link.
4977         (Host Address Functions): Use uint32_t consequently and add a
4978         number of clarifications for IPv4/IPv6, classless addresses.
4979         (Internet Namespace): Added some paragraphs about IPv6.
4980         Based on suggestions by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
4981
4982 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
4983
4984         Update for draft-ietf-ipngwg-bsd-api-new-01.txt:
4985
4986         * resolv/netdb.h (getnameinfo): Use `socklen_t' not `size_t'.
4987         (NI_NUMERICHOST, et al.): Tidy up and add comments.
4988         (AI_NUMERICHOST): Define.
4989         (getnodebyname): New prototype.
4990         (AI_V4MAPPED, et al.): New constants.
4991
4992         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro.
4993         * sysdeps/generic/bits/sockaddr.h (SA_LEN): Likewise.
4994         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add sa_len
4995         for socket.
4996         * sysdeps/unix/sysv/linux/sa_len.c: New file.
4997         * sysdeps/unix/sysv/linux/Dist: Add sa_len.c.
4998
4999         * sysdeps/unix/sysv/linux/bits/socket.h: Make multiple #inclusion safe.
5000
5001         * sysdeps/generic/bits/sockunion.h: New file, defining sockaddr_union.
5002         * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.
5003         * socket/Makefile (headers): Add bits/sockunion.h.
5004         * socket/sys/socket.h: Include <bits/sockunion.h>
5005         * inet/netinet/in.h: Include <bits/sockaddr.h> rather than
5006         <sys/socket.h>, to avoid getting sockaddr_union defined.
5007         * sysdeps/generic/bits/socket.h: Allow inclusion from netinet.in.h.
5008         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5009         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
5010
5011         * sysdeps/unix/sysv/linux/if_index.c: Remove use of SIOCGIFCOUNT
5012         (2.2.x kernels won't have it).
5013
5014 1998-04-06 21:21  Ulrich Drepper  <drepper@cygnus.com>
5015
5016         * sysdeps/mach/hurd/bits/ioctls.h: Allow inclusion from hurd/ioctl.h.
5017         * sysdeps/mach/hurd/dl-sysdep.c: Use __ptr_t not caddr_t.
5018         * iconv/gconv_conf.c: Define MAXPATHLEN if not available before.
5019         Patches by UCHIYAMA Yasushi <uch@nop.or.jp>.
5020
5021 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
5022
5023         * manual/socket.texi (Socket Addresses): Fix a typo.
5024         (Interface Naming): New section.
5025
5026 1998-04-05 23:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5027
5028         * configure.in: Check for CC using $ac_tool_prefix, to handle
5029         cross-compilation.  Use AC_CHECK_TOOL to find MiG.
5030         * config.make.in: Add MIG to be substituted.
5031         * mach/Machrules: Don't define MIG variable.
5032
5033         Patch by Gordon Matzigkeit <gord@profitpress.com>.
5034
5035 1998-04-05  Mark Kettenis  <kettenis@phys.uva.nl>
5036
5037         * elf/dl-load.c (decompose_rpath): Use local_strdup instead of
5038         strdupa to copy rpath.
5039
5040 1998-04-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5041
5042         * configure.in: Fix gcc version check.
5043
5044         * aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less
5045         confusing.
5046
5047 1998-03-31  Mark Kettenis  <kettenis@phys.uva.nl>
5048
5049         * sysdeps/unix/bsd/unlockpt.c (unlockpt): Call __ptsname_r instead
5050         of ptsname_r.
5051
5052         * stdlib/stdlib.h: Change prototype of ptsname_r to make it more
5053         like ttyname_r.
5054         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Likewise.
5055         * sysdeps/generic/ptsname.c (__ptsname_r): Likewise.
5056         * sysdeps/unix/grantpt.c (grantpt): Change check of return value
5057         of __ptsname_r accordingly.
5058         * login/openpty.c (openpty): Likewise.
5059
5060 1998-06-04 18:47  H.J. Lu  <hjl@gnu.org>
5061
5062         * libio/fileops.c (_IO_file_xsgetn): Adjust pointers.
5063
5064 1998-04-06 13:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5065
5066         * Makeconfig (libtypes): Redo H.J. Lu's change of 1998-03-27.
5067
5068         * Makerules: Re-add missing rule for $(objpfx)stamp.oS.
5069
5070 1998-04-06  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5071
5072         * nis/ypclnt.c: Don't give YPERR_RPC back, use the do_ypcall
5073         return value for better error checking.
5074
5075 1998-04-06  Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
5076
5077         * elf/dl-runtime.c (fixup, profile_fixup): The final arg to
5078         _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT.
5079
5080         * elf/elf.h (EM_SPARC64): Remove.
5081         (EM_SPARC32PLUS, EM_SPARCV9): Add.
5082         (HWCAP_SPARC_V9): Add.
5083
5084         * elf/ldsodefs.h (_dl_hwcap): Declare.
5085         * sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask):
5086         Weaken so dlopen from static progies works.
5087         (WEAKADDR): New macro.
5088         (elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu.
5089         (LD_SO_PRELOAD): New macro.
5090         (elf_machine_fixup_plt): Cope with weak _dl_hwcap.
5091         (elf_machine_rela): Weaken _dl_rtld_map.
5092
5093         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone
5094         to __clone, and remove the later's alias.
5095         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
5096
5097         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from
5098         the kernel's structure.
5099
5100         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file.
5101         Sparc needs a custom value of __KERNEL_NCCS.
5102
5103 1998-04-06  Richard Henderson  <rth@cygnus.com>
5104
5105         * sysdeps/generic/libc-start.c: Allow init and fini to be null.
5106
5107         * sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main.
5108         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5109
5110 1998-04-06  Richard Henderson  <rth@cygnus.com>
5111
5112         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change,
5113         as the buffer is not properly aligned.
5114         Reported by Juan Cespedes <cespedes@debian.org>.
5115
5116 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5117
5118         * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL
5119         instead of AF_FILE.
5120
5121 1998-04-05  Ulrich Drepper  <drepper@cygnus.com>
5122
5123         * iconv/gconv_simple.c: Rewrite to not make use of the mb*towc*
5124         and wc*tomb* functions.
5125
5126 1998-04-04 15:16  Philip Blundell  <Philip.Blundell@pobox.com>
5127
5128         * sysdeps/unix/start.c: Fix typo.
5129
5130 1998-04-04  Ulrich Drepper  <drepper@cygnus.com>
5131
5132         * iconv/gconv_db.c (__gconv_find_transform): Fix typo.
5133
5134 1998-04-03 23:38  Ulrich Drepper  <drepper@cygnus.com>
5135
5136         * sysdeps/libm-ieee754/e_acos.c: Optimize by splitting large
5137         expressions and using array variables.
5138         * sysdeps/libm-ieee754/e_asin.c: Likewise.
5139         * sysdeps/libm-ieee754/e_j0.c: Likewise.
5140         * sysdeps/libm-ieee754/e_j1.c: Likewise.
5141         * sysdeps/libm-ieee754/e_log.c: Likewise.
5142         * sysdeps/libm-ieee754/e_pow.c: Likewise.
5143         * sysdeps/libm-ieee754/k_cos.c: Likewise.
5144         * sysdeps/libm-ieee754/k_sin.c: Likewise.
5145         * sysdeps/libm-ieee754/k_tan.c: Likewise.
5146         * sysdeps/libm-ieee754/s_atan.c: Likewise.
5147         * sysdeps/libm-ieee754/s_erf.c: Likewise.
5148         * sysdeps/libm-ieee754/s_expm1.c: Likewise.
5149         * sysdeps/libm-ieee754/s_log1p.c: Likewise.
5150         Patch by Naohiko Shimizu <nshimizu@et.u-tokai.ac.jp>.
5151
5152 1998-04-03 23:17  Ulrich Drepper  <drepper@cygnus.com>
5153
5154         * iconv/gconv.c: Rewrite of the low-level of gconv.
5155         * iconv/gconv.h: Likewise.
5156         * iconv/gconv_builtin.h: Likewise.
5157         * iconv/gconv_close.c: Likewise.
5158         * iconv/gconv_db.: Likewise.
5159         * iconv/gconv_dl.c: Likewise.
5160         * iconv/gconv_int.h: Likewise.
5161         * iconv/gconv_open.c: Likewise.
5162         * iconv/gconv_simple.c: Likewise.
5163         * iconvdata/8bit-gap.c: Adapt for rewrite.
5164         * iconvdata/8bit-generic.c: Likewise.
5165         * iconvdata/euckr.c: Likewise.
5166         * iconvdata/iso646.c: Likewise.
5167         * iconvdata/iso6937.c: Likewise.
5168         * iconvdata/iso8859-1.c: Likewise.
5169         * iconvdata/johab.c: Likewise.
5170         * iconvdata/sjis.c: Likewise.
5171         * iconvdata/t61.c: Likewise.
5172         * iconvdata/uhc.c: Likewise.
5173
5174 1998-04-03 15:34  Ulrich Drepper  <drepper@cygnus.com>
5175
5176         * iconv/gconv_int.h: New file.  Internal header.
5177         * iconv/Makefile (distribute): Add gconv_int.h.
5178         * iconv/gconv.h: Remove definition which are now in gconv_int.h.
5179         * iconv/gconv_builtin.c: Adopt for gconv_int.h introduction.
5180         * iconv/gconv_close.c: Likewise.
5181         * iconv/gconv_conf.c: Likewise.
5182         * iconv/gconv_db.c: Likewise.
5183         * iconv/gconv_dl.c: Likewise.
5184         * iconv/gconv_int.h: Likewise.
5185         * iconv/gconv_open.c: Likewise.
5186         * iconv/iconv.c: Likewise.
5187         * iconv/iconv_close.c: Likewise.
5188         * iconv/iconv_open.c: Likewise.
5189         * iconv/iconv_prog.c: Likewise.
5190
5191 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
5192
5193         * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the
5194         missing braces.
5195
5196 1998-04-03  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5197
5198         * nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags.
5199
5200 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
5201
5202         Based on patch from Pat Beirne:
5203         * sysdeps/unix/sysv/linux/arm/sysdep.S (__syscall_error): Same for
5204         PIC and non-PIC now.  Correctly negate error number.
5205         (errno): Use `%' not `@' in .type directives.
5206
5207 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
5208
5209         * sysdeps/i386/strtok.S: Change to use single exit point.
5210         * sysdeps/i386/i686/strtok.S: Likewise.
5211
5212 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5213
5214         * sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide
5215         default.
5216
5217 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5218
5219         * Makerules (installed-libcs): Fix typo.
5220
5221 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5222
5223         * iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC.
5224         (UHC-routines): Remove ksc5601.
5225
5226 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
5227
5228         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo
5229         introduced in last change.
5230
5231 1998-04-03 06:22  Ulrich Drepper  <drepper@cygnus.com>
5232
5233         * sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels
5234         before 2.1.92.
5235
5236 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
5237
5238         * sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry.
5239
5240         * stdlib/isomac.c: Use -isystem instead of -I for system include
5241         dir.
5242
5243 1998-03-30 08:05  H.J. Lu  <hjl@gnu.org>
5244
5245         * resolv/res_comp.c (underscorechar): New.
5246         (middlechar): Allow '_'.
5247
5248 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
5249
5250         * intl/explodename.c (stdlib.h): Include that file only if
5251         STDC_HEADERS or _LIBC.
5252         (string.h): Include that file only if HAVE_STRING_H or _LIBC.
5253         Patch by Philippe De Muyter <phdm@macqel.be>.
5254
5255 1998-04-01 21:08  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5256
5257         * aclocal.m4 (AC_PROG_CC_LOCAL): Remove superfluous tests.
5258         (AC_PROG_CHECK_VER): New macro.
5259         * configure.in: Use AC_PROG_CHECK_VER to check versions of
5260         gcc, gmake, msgfmt, makeinfo.  Remove superfluous tests.
5261
5262 1998-04-02 15:13  Ulrich Drepper  <drepper@cygnus.com>
5263
5264         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: New file.
5265         * sysdeps/i386/i686/strtok.S: New file
5266         * sysdeps/i386/i686/strtok_r.S: New file
5267
5268 1998-04-02  Mark Kettenis  <kettenis@phys.uva.nl>
5269
5270         * posix/unistd.h: [__USE_FILE_OFFSET64] (lseek): Change return
5271         type to __off64_t.
5272         * libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset
5273         parameter as __off64_t instead of __off_t.
5274         (ftello): Make alias for ftello64 instead of ftello.  Change
5275         return type to __off64_t.
5276
5277 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
5278
5279         * sysdeps/i386/bits/string.h: Fix various typos.
5280         Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
5281
5282         * sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92.
5283
5284 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
5285
5286         * sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without
5287         lchown syscall correctly.  [PR libc/541].
5288
5289 1998-04-02 11:45  Ulrich Drepper  <drepper@cygnus.com>
5290
5291         * localedata/Makefile: Correct testsuite rules.
5292
5293         * iconvdata/gconv-modules: Set cost of ISO646 module to 2.
5294         * iconvdata/iso646.c: Fix conversion from UCS4.
5295
5296         * elf/ldsodefs.h: Mark internal function with internal_function.
5297         * elf/dl-addr.c: Likewise.
5298         * elf/dl-close.c: Likewise.
5299         * elf/dl-debug.c: Likewise.
5300         * elf/dl-deps.c: Likewise.
5301         * elf/dl-error.c: Likewise.
5302         * elf/dl-fini.c: Likewise.
5303         * elf/dl-init.c: Likewise.
5304         * elf/dl-load.c: Likewise.
5305         * elf/dl-lookup.c: Likewise.
5306         * elf/dl-object.c: Likewise.
5307         * elf/dl-open.c: Likewise.
5308         * elf/dl-profile.c: Likewise.
5309         * elf/dl-reloc.c: Likewise.
5310         * elf/dl-runtime.c: Likewise.
5311         * elf/dl-symbol.c: Likewise.
5312         * elf/dl-version.c: Likewise.
5313         * elf/dlerror.c: Likewise.
5314         * sysdeps/generic/dl-sysdep.c: Likewise.
5315         * sysdeps/i386/dl-machine.h: Likewise.
5316         * intl/finddomain.c: Likewise.
5317         * intl/gettextP.h: Likewise.
5318         * intl/loadmsgcat.c: Likewise.
5319
5320 1998-04-01 17:38  Ulrich Drepper  <drepper@cygnus.com>
5321
5322         * iconv/gconv_simple.c: New builtins for UCS en/decoding.
5323         * iconv/gconv_builtin.h: Add definitions for new builtins.
5324         * iconv/gconv.h: Add prototypes for new builtins.
5325
5326         * iconvdata/Makefile (modules): Add ISO646.
5327         Add rules for ISO646 module.
5328         (distribute): Add iso646.c.
5329         * iconvdata/gconv-modules: Add module and alias definition for
5330         ISO646 charsets.
5331         * iconvdata/iso646.c: New file.
5332
5333 1998-04-01 16:10  Ulrich Drepper  <drepper@cygnus.com>
5334
5335         * libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db.
5336         * iconv/iconv_prog.c: Implement --list option to print available
5337         coded character sets.
5338
5339 1998-04-01 18:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5340
5341         Make fread() read large blocks straight to the user buffer.
5342
5343         * libio/fileops.c (_IO_file_xsgetn): New function.
5344         (_IO_file_jumps): Use it.
5345         * libio/libioP.h: Prototype it.
5346
5347 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
5348
5349         * iconv/gconv_conf.c (builtin_aliases): New variable.
5350         (__gconv_read_conf): Add builtin aliases.
5351         * iconv/gconv_builtin.c (builtin_map): Define BUILTIN_ALIAS as an
5352         noop macro before including gconv_builtin.h.
5353         * iconv/gconv_builtin.h: Add alias names.
5354
5355         * iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute
5356         number of converted bytes correctly.
5357
5358 1998-04-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5359
5360         * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
5361         we only wait for a replay.
5362
5363 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
5364
5365         * iconvdata/Makefile: Finally fix dependencies for JOHAB and
5366         EUC-KR modules.
5367
5368 1998-04-1 16:52  Philip Blundell  <pb@nexus.co.uk>
5369
5370         * sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and
5371         use PLTJMP() rather than explicit (PLT).
5372
5373         * sysdeps/arm/elf/start.S: Leave most of the initialisation for
5374         __libc_start_main().
5375
5376         Based on patch from Pat Beirne:
5377         * sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER):
5378         Always define, not only #ifndef PIC.
5379         (DO_CALL): Pass fifth argument correctly in R4.
5380         (PSEUDO): Correct test for error, call syscall_error through PLT
5381         if PIC.
5382
5383 1998-03-31 10:51  Philip Blundell  <pb@nexus.co.uk>
5384
5385         * sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new
5386         definitions.
5387
5388 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
5389
5390         * iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and
5391         JOHAB.so.
5392
5393 1998-04-01 13:20  Mark Kettenis  <kettenis@phys.uva.nl>
5394
5395         * io/Makefile (static-only-routines): Add stat64, fstat64 and
5396         lstat64.
5397
5398 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5399
5400         * manual/Makefile: Use object-suffixes-for-libc instead of
5401         object-suffixes.
5402         * rpm/Makefile (install-lib): Likewise.
5403
5404 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5405
5406         * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug.
5407
5408         * sysdeps/unix/sysv/linux/configure.in: Match $machine against
5409         `m68*', not only `m68k'.
5410
5411 1998-04-01 10:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5412
5413         * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
5414
5415         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
5416         install lddlibc4.
5417
5418 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5419
5420         * iconvdata/Makefile: Use libKSC shared object in JOHAB and
5421         EUC-KR.
5422
5423         * sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct
5424         comment.
5425
5426 1998-03-30 08:43  H.J. Lu  <hjl@gnu.org>
5427
5428         * sysdeps/alpha/elf/start.S: Let __libc_start_main do most of
5429         the init stuff.
5430
5431 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5432
5433         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for
5434         adjtimex syscall.
5435         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
5436         adjtimex.
5437         Patches by Dominik Kubla <kubla@sundiver.zdv.uni-mainz.de>.
5438
5439 1998-03-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5440
5441         * Makerules (install): Change comment for libc.so following the
5442         libc_nonshared changes.
5443
5444 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5445
5446         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo.
5447
5448         * iconvdata/gap.pl: Avoid using %#06x.
5449
5450 1998-03-31 19:55  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5451
5452         * Makerules: Use $? instead of S^ when invoking ar.
5453
5454 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5455
5456         * db2/compat.h: Allow EFTYPE being defined.
5457         * sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
5458         * sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
5459         * sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
5460         * sysdeps/mach/bits/libc-lock.h: Fix typo.
5461         (__libc_once): Correctly unlock semaphore.
5462         * sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
5463         * sysdeps/unix/bsd/getpt.c: Fix typo.
5464         Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.
5465
5466 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5467
5468         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as
5469         macros.
5470
5471 1998-03-31 18:11  Ulrich Drepper  <drepper@cygnus.com>
5472
5473         * include/mntent.h: New file.
5474
5475         * elf/Makefile (trusted-dirs.h): Append slash to filename.
5476         * elf/dl-load.c: Rewrite search path handling.
5477         * elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite.
5478         * elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK.
5479         * sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function.
5480         * elf/ldsodefs.h: Add prototype.
5481
5482 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
5483
5484         * nss/nsswitch.c (__nss_lookup): Adjust comment.
5485
5486         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New
5487         function.
5488
5489         * sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition.
5490
5491         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string):
5492         New function.
5493         (HWCAP_IMPORTANT): New definition.
5494
5495 1998-03-30 17:26  H.J. Lu  <hjl@gnu.org>
5496
5497         * elf/dl-open.c (_dl_open): Fix a typo.
5498         (_dl_global_scope_alloc): Make it static.
5499
5500 1998-03-30 17:20  Ulrich Drepper  <drepper@cygnus.com>
5501
5502         * Makerules: Remove duplicate rules to handle stamp.oS.
5503
5504 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5505
5506         * manual/examples/inetsrv.c (main): Change prototype of
5507         make_socket following change in mkisock.c.
5508
5509         * manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as
5510         example host.
5511         (main): Change prototype of init_sockaddr following change in
5512         isockadd.c.
5513
5514         * manual/examples/mkisock.c (make_socket): Use uint16_t for port.
5515         * manual/examples/isockad.c (init_sockaddr): Likewise.
5516
5517         * manual/examples/mkfsock.c (make_named_socket): Removed blank
5518         lines for clarification.
5519         (make_named_socket): Use strncpy instead of strcpy.
5520         Reported by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
5521
5522 1998-03-30 13:28  Ulrich Drepper  <drepper@cygnus.com>
5523
5524         * Makefile (parent-mostlyclean): Use object-suffixes-for-libc for
5525         determining libs to remove.
5526         (postclean): Add soversions.mk.
5527         * Makerules (common-mostlyclean): Add tests-static and generated
5528         files.
5529
5530 1998-03-30 12:53  Ulrich Drepper  <drepper@cygnus.com>
5531
5532         * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct
5533         scanning for \0.
5534         (__strncat_g): Add i686 specific code.
5535
5536 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5537
5538         * manual/install.texi (Reporting Bugs): Ask to include section
5539         names in reports.
5540
5541 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5542
5543         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit
5544         guard against direct inclusion.
5545
5546 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5547
5548         Rework support for libc_nonshared.a:
5549         * Makeconfig (object-suffixes-for-libc): New variable.
5550         * Rules: Remove handling of static-only and shared-only routines.
5551         * Makerules: Handle them here instead.  Use
5552         object-suffixes-for-libc instead of object-suffixes when dealing
5553         with libc objects.
5554         (object-suffixes-for-rules): Remove variable.
5555         (elide-routines.oS): Elide all routines except static-only
5556         routines.
5557         ($(objpfx)stamp.oS): Special rule for when static-only-routines is
5558         empty.
5559         (installed-libcs): Remove special case for .oS.
5560         (rmobjs): Likewise.
5561
5562 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5563
5564         * Makefile (do-collate-test, do-xfrm-test, do-tst-fmon,
5565         do-tst-rpmatch): New targets.
5566         (test): Use them.
5567         (install-locales): Ignore comment lines.
5568
5569 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5570
5571         * elf/Makefile ($(objpfx)ld.so): Depend on version script.
5572         ($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig.
5573         ($(objpfx)rtldtbl.h): Likewise.
5574         (CPPFLAGS-dl-load.c): Fix reference to object directory.
5575
5576 1998-03-30 09:36  Ulrich Drepper  <drepper@cygnus.com>
5577
5578         * manual/string.texi (Finding Tokens in a String): Extend strsep
5579         description and correct example.
5580
5581 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5582
5583         * manual/socket.texi: Remove misguided explicit line breaks and
5584         fix the formatting problem instead by reformulating the
5585         paragraphs.
5586         * manual/filesys.texi: Likewise.
5587         * manual/conf.texi: Likewise.  Don't typeset table with index
5588         fonts, that looks worse than a minimally overfull line.
5589
5590 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5591
5592         * nscd/Makefile (nscd-modules): Move definition outside of
5593         conditional.
5594
5595         * pwd/Makefile: Use have-thread-library to test for thread
5596         library.
5597
5598 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5599
5600         * nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip.
5601
5602         * iconvdata/uhc.c (gconv): Remove unused variable idx.
5603
5604 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
5605
5606         * sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c.
5607
5608 1998-03-29  Ulrich Drepper  <drepper@cygnus.com>
5609
5610         * nss/getXXent_r.c: Correctly handle failing setXXent function.
5611
5612         * inet/netinet/in.h: Use cast to uint32_t in IPv4 macros.
5613         Reported by Andreas Jaeger.
5614
5615 1998-03-29 20:59  Ulrich Drepper  <drepper@cygnus.com>
5616
5617         * elf/Makefile: Fix typo.
5618         (distribute): Add dl-librecon.h.
5619         * elf/ldd.bash.in: Collect output of ldd --verify in verify_out.
5620         * elf/ldd.sh.in: Likewise.
5621         * elf/ldsodefs.h: Declare _dl_correct_cache_id.
5622         * elf/rtld.c (dl_main): In --verify mode allow platform specifc action.
5623         Use strsep correctly.
5624         (process_envvars): Allow platform specific variables.
5625         * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable.
5626         (_dl_load_cache_lookup): Test cache IDs found against
5627         _dl_correct_cache_id.
5628         * sysdeps/generic/dl-librecon.h: New file.
5629         * sysdeps/unix/sysv/linux/dl-librecon.h: New file.
5630
5631         * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h.
5632
5633 1998-03-29 16:50  Ulrich Drepper  <drepper@cygnus.com>
5634
5635         * config.make.in (ldd-rewrite-script): New variable.
5636         * configure.in: Substitute ldd-rewrite-script.
5637         * elf/Makefile: Rewrite rules to generate ldd script.
5638         * elf/ldd.bash.in: Allow handling of non-ELF binaries.
5639         * elf/ldd.sh.in: Likewise.
5640         * sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4.
5641         * sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to
5642         point to sed script for libc4 handling insertion for ix86, m68, SPARC.
5643         * sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4.
5644         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file.
5645
5646 1998-03-26 15:20  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5647
5648         * inet/rcmd.c (iruserok): Remain setuid to the local user
5649         while .rhosts is actually read, to make .rhosts-over-NFS work
5650         (PR libc/524).  Use iruserfopen() for security checks on both
5651         hosts.equiv and .rhosts.  General cleanup.
5652         (iruserfopen): New function, performs careful checking on
5653         hosts.equiv/.rhosts files.  Disallows all the old forbidden
5654         stuff plus hard links to files.
5655
5656 1998-03-29 09:26  Ulrich Drepper  <drepper@cygnus.com>
5657
5658         * setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead.
5659
5660         * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop.
5661
5662 1998-03-29 02:02  H.J. Lu  <hjl@gnu.org>
5663
5664         * sysdeps/i386/i486/bits/string.h: Fix typos.
5665
5666 1998-03-28 00:13  H.J. Lu  <hjl@gnu.org>
5667
5668         * sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New
5669         strong alias.
5670
5671         * sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added.
5672
5673         * libc.map (__ieee_get_fp_control, __ieee_set_fp_control):
5674         Added.  Used by libm.so on alpha.
5675
5676 1998-03-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5677
5678         * intl/bindtextdom.c [_LIBC]: Define strdup only if not yet
5679         defined.
5680
5681 1998-03-27 07:29  H.J. Lu  <hjl@gnu.org>
5682
5683         * Makerules (object-suffixes-for-rules): Add .oS only for
5684         building shared library.
5685         Add ranlib rule for nonshared library.
5686         (rmobjs): Fix typo.
5687
5688         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved
5689         into for shared library only.
5690         (CPPFLAGS-.oS): Add -DPIC.
5691         (libtypes): Use $(object-suffixes-for-rules) instead of
5692         $(object-suffixes).
5693
5694 1998-03-28  Ulrich Drepper  <drepper@cygnus.com>
5695
5696         * sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile
5697         and install lddlibc4.
5698
5699 1998-03-28 09:13  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5700
5701         * iconvdata/gap.pl: Gobble rest of line with a scalar, not a
5702         hash.
5703         * iconvdata/gaptab.pl: Likewise.
5704
5705 1998-03-27 22:46  Ulrich Drepper  <drepper@cygnus.com>
5706
5707         * Rules: Allow Makefiles to specify test-static for tests which
5708         cannot be linked dynamically.
5709         * math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to
5710         tests-static.
5711
5712         * libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next.
5713
5714         * misc/error.c: Pretty print.
5715
5716 1998-03-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5717
5718         * Makerules (libc_nonshared-name): Remove variable.
5719         (installed-libcs): Use libc-name instead.
5720         ($(inst_libdir)/libc.so): Likewise.  Remove explicit reference to
5721         dynamic linker.
5722
5723         * Makeconfig (link-libc): Link against libc_nonshared.a instead of
5724         libc.a.  Remove explicit reference to dynamic linker.
5725
5726 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
5727
5728         * iconvdata/iso8859-1.c (gconv): Add cast to assignment from char
5729         to wchar_t.
5730         * iconv/iconv_prog.c: Correctly test for write failure.
5731         * iconvdata/Makefile: Add rules for EUC-KR, UHC, and JOHAB conversions.
5732         * iconvdata/gconv-modules: Likewise.
5733         * iconvdata/euckr.c: New file.
5734         * iconvdata/johab.c: New file.
5735         * iconvdata/ksc5601.c: New file.
5736         * iconvdata/ksc5601.h: New file.
5737         * iconvdata/uhc.c: New file.
5738         Contributed by Jungshik Shin <jshin@pantheon.yale.edu>.
5739
5740         * libio/fileops.c (_IO_file_fopen): Interpret x flag to fopen.
5741         * stdio/fopen.c: Correct handling of 'x' flag.
5742         Reported by Jason M. Petry <jason@ps.ohio-state.edu>.
5743
5744 1998-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5745
5746         * sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident.
5747         * sunrpc/rpcsvc/key_prot.x: Likewise.
5748         * sunrpc/key_prot.c: Likewise.
5749
5750 1998-03-27 13:49  Ulrich Drepper  <drepper@cygnus.com>
5751
5752         * sysdeps/i386/bits/string.h: Correct things which never worked.
5753         * sysdeps/i386/i486/bits/string.h: Add clobber marks.
5754         Patches by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
5755
5756 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
5757
5758         * intl/textdomain.c [_LIBC]: Define strdup only if not yet
5759         defined.  Reported by Thorsten Kukuk.
5760
5761 1998-03-26 18:50  Ulrich Drepper  <drepper@cygnus.com>
5762
5763         * sysdeps/unix/sysv/linux/lddlibc4.c: New file.
5764
5765 1998-03-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5766
5767         * manual/install.texi (Supported Configurations): Add
5768         arm-linuxaout and arm-none.
5769
5770 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
5771
5772         * version.h (VERSION): Bump to 2.0.93.
5773
5774 1998-03-25 07:30  H.J. Lu  <hjl@gnu.org>
5775
5776         * configure.in (libc_cv_ar_S): New to indicate if ar S works.
5777
5778         * config.make.in (have-ar-S): New, substituted by libc_cv_ar_S.
5779
5780         * Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S).
5781         (do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR).
5782
5783 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
5784
5785         * Makeconfig (link-libc): Add missing use of libc_nonshared.a.
5786
5787 1998-03-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5788
5789         Put the static-only routines in a separate library.
5790         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New
5791         variables.
5792         (all-object-suffixes): Add .oS.
5793         * Makerules (libc_static-name): New variable.
5794         (installed-libcs): Add libc_nonshared.a.
5795         ($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a.
5796         (object-suffixes-for-rules): New variable.  Use it instead of
5797         object-suffixes for generating compilation rules.
5798         (rmobjs): Also remove *.oS.
5799         * Rules (subdir_lib): Depend on $(objpfx)stamp.oS.
5800         ($(objpfx)stamp.oS): New target.
5801
5802 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
5803
5804         * Makefile (FAQ): Automatically check in regenerated FAQ.
5805
5806 1998-03-26 10:16  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5807
5808         * Makefile (INSTALL): Depend on install.texi, not maint.texi.
5809
5810 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
5811
5812         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h.
5813         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
5814
5815         * sysdeps/generic/stub_warning: Removed.
5816
5817         * Makefile (distribute): Add include/des.h.
5818
5819         * manual/Makefile (distribute): Change dir-add.texi to
5820         dir-add.texinfo.
5821
5822         * glibcbug.in: Create files safely when mktemp is not available.
5823
5824         * sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again.
5825         Patch by a sun <asun@saul1.u.washington.edu>.
5826
5827 1998-03-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5828
5829         * libc.map: Rename getname to getnetname.
5830
5831 1998-03-25 13:35  Ulrich Drepper  <drepper@cygnus.com>
5832
5833         * manual/maint.texi: Use supported platform in examples.
5834
5835         * manual/install.texi: Document some installation tips.
5836
5837 1998-03-25 10:56  Ulrich Drepper  <drepper@cygnus.com>
5838
5839         * posix/wordexp.c: Fix some memory leaks and makes $* more efficient.
5840         Fix a bug so that it returns an error if a numeric parameter is
5841         unset and WRDE_UNDEF is set.
5842         Patch by Andreas Schwab and Tim Waugh.
5843         * posix/wordexp-test.c: Add new new test.
5844
5845 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
5846
5847         * posix/regex.c (regex_compile): Last patch wasn't entirely
5848         correct.  Patch by Alain Magloire <alainm@rcsm.ece.mcgill.ca>.
5849
5850 1998-03-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5851
5852         * manual/filesys.texi (Scanning Directory Content): Fix typo.
5853
5854 1998-03-25 09:24  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
5855
5856         * sysdeps/i386/bits/string.h: Fix all assembler statements so that
5857         clobbered registers don't appear as operands.
5858
5859 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5860
5861         * posix/regex.c: Undefine ISASCII and ISPRINT before defining for
5862         Solaris' sake.
5863
5864         * posix/regex.c (regex_compile): Don't allow non-alphabet
5865         characters in character set name.
5866
5867 1998-03-25 00:00  Tim Waugh  <tim@cyberelk.demon.co.uk>
5868
5869         * posix/wordexp.c (w_newword): New function.
5870         (do_parse_glob): New function.
5871         (parse_glob): Use do_parse_glob.  Now handles the case where a
5872         variable expansion causes a field-split.
5873         (wordexp): Use w_newword.
5874         (parse_arith): Likewise.
5875         (exec_comm): Likewise.
5876         (parse_comm): Likewise.
5877         (parse_param): Likewise.
5878         (parse_backtick): Likewise.
5879
5880 1998-03-24 19:36  Tim Waugh  <tim@cyberelk.demon.co.uk>
5881
5882         * posix/wordexp-tst.sh: Another test.
5883
5884         * posix/wordexp-test.c: Two new tests.
5885
5886         * posix/wordexp.c (parse_glob): Use w_addstr instead of realloc
5887         directly (the code using realloc was buggy).
5888         (parse_param): Fix typo in comment.
5889
5890 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5891
5892         * elf/dl-close.c (_dl_close): Replace questionable memcpy by loop.
5893
5894 1998-03-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5895
5896         * libc.map: Add more rpc auth functions/variables.
5897
5898         * nscd/nscd.c: Add -g option to argp options.
5899
5900 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5901
5902         * configure.in: Be prepared for gcc 2.9.10 and up.
5903         * configure.in: Add missing disabling of quote characters in
5904         compiler version check.  Reported by HJ Lu.
5905
5906 1998-03-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5907
5908         * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h.
5909
5910 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5911
5912         * intl/locale.alias: Fix spelling of romanian.
5913
5914         * sunrpc/Makefile (headers): Add rpc/rpc_des.h.
5915         (distribute): Remove des.h.
5916         * include/des.h: New file.
5917         * sunrpc/des.h: Moved to ...
5918         * sunrpc/rpc/rpc_des.h: ...here.
5919
5920 1998-03-22  NIIBE Yutaka  <gniibe@mri.co.jp>
5921
5922         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK):
5923         Fix paren.
5924
5925 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5926
5927         * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
5928         parameter const.  Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
5929
5930 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5931
5932         * elf/ldsodesf.h: New file.
5933         * elf/Makefile (distribute): Add ldsodefs.h.
5934         * elf/link.h: Separate internal information in exter header.
5935         * elf/rtld.c: Include elf/ldsodefs.h not link.h.
5936         * elf/dl-minimal.c: Likewise.
5937         * sysdeps/generic/dl-sysdep.c: Likewise.
5938         * elf/sprof.c: Likewise.
5939         * elf/dlsym.c: Likewise.
5940         * elf/dlvsym.c: Likewise.
5941         * elf/dlerror.c: Likewise.
5942         * elf/dladdr.c: Likewise.
5943         * elf/dlclose.c: Likewise.
5944         * elf/dlopen.c: Likewise.
5945         * elf/dl-addr.c: Likewise.
5946         * elf/dl-close.c: Likewise.
5947         * elf/dl-debug.c: Likewise.
5948         * elf/dl-deps.c: Likewise.
5949         * elf/dl-error.c: Likewise.
5950         * elf/dl-fini.c: Likewise.
5951         * elf/dl-init.c: Likewise.
5952         * elf/dl-load.c: Likewise.
5953         * elf/dl-lookup.c: Likewise.
5954         * elf/dl-object.c: Likewise.
5955         * elf/dl-open.c: Likewise.
5956         * elf/dl-profile.c: Likewise.
5957         * elf/dl-reloc.c: Likewise.
5958         * elf/dl-runtime.c: Likewise.
5959         * elf/dl-support.c: Likewise.
5960         * elf/dl-symbol.c: Likewise.
5961         * elf/dl-version.c: Likewise.
5962         * sysdeps/generic/dl-cache.c: Likewise.
5963         * sysdeps/generic/libc-start.c: Likewise.
5964         * iconv/gconv_dl.c: Likewise.
5965         * nss/nsswitch.c: Likewise.
5966
5967 1998-03-23 13:45  Ulrich Drepper  <drepper@cygnus.com>
5968
5969         * manual/nss.texi: The database is not called network but networks.
5970         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
5971
5972 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5973
5974         * configure.in: Correct test for compiler version.
5975         Check that LD_LIBRARY_PATH doesn't contain current path.
5976
5977 1998-03-23 07:52  H.J. Lu  <hjl@gnu.org>
5978
5979         * elf/dl-close.c (_dl_close): Fix byte count while removing
5980         the shared object from the global scope list and optimize
5981         a little bit.
5982
5983 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5984
5985         * manual/filesys.texi (Scanning Directory Content): Add missing
5986         closing brace.
5987         (Scanning Directory Content): Fix text.
5988
5989 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5990
5991         * manual/memory.texi (Heap Consistency Checking): Add paragraph
5992         explaining difference of -lmcheck and MALLOC_CHECK_.
5993
5994 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5995
5996         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some
5997         typos in comments.
5998
5999 1998-03-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6000
6001         * test-skeleton.c (main): Fix test for exit signal.
6002
6003 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6004
6005         * sysdeps/generic/strtok_r.c: Undefine __strtok_r.
6006
6007 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6008
6009         * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as
6010         appropriate.
6011
6012 1998-03-23 11:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6013
6014         * libc.map: Export __strtok_r.
6015
6016 1998-03-23  Ulrich Drepper  <drepper@cygnus.com>
6017
6018         * posix/regex.c (re_compile_fastmap): Remove unused variable
6019         num_regs and adjust comment.
6020         Patch by Jim Meyering <meyering@ascend.com>.
6021
6022         * math/math.h (M_*l): Extend long double constants to be usable
6023         for 128 bit floats.  Patch by Richard Henderson.
6024
6025 1998-03-23 11:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6026
6027         * sysdeps/m68k/m68020/wordcopy.S: New file.
6028
6029 1998-03-22  Ulrich Drepper  <drepper@cygnus.com>
6030
6031         * posix/wordexp.c: Rewrite parse_param.
6032         Patch by Tim Waugh and Andreas Schwab.
6033
6034 1998-03-21 23:46  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6035
6036         * Rules: Update timestamps on empty object files.
6037
6038 1998-03-21 09:15  Ulrich Drepper  <drepper@cygnus.com>
6039
6040         * manual/filesys.texi (Scanning Directory Content): Add description
6041         of 64 bits scandir function and friends.
6042
6043 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6044
6045         * glibcbug.in: Use mktemp to generate unique file name for
6046         temporary files.
6047
6048         * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not
6049         ptsname_r.  Use cast for execve call.
6050
6051 1998-03-20 16:24  Ulrich Drepper  <drepper@cygnus.com>
6052
6053         * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64.
6054         * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h.
6055         * io/sys/statvfs.h: New file.
6056         * sysdeps/generic/fstatvfs.h: New file.
6057         * sysdeps/generic/statvfs.h: New file.
6058         * sysdeps/generic/fstatvfs64.h: New file.
6059         * sysdeps/generic/statvfs64.h: New file.
6060         * sysdeps/generic/bits/statvfs.h: New file.
6061         * sysdeps/unix/sysv/linux/fstatvfs.c: New file.
6062         * sysdeps/unix/sysv/linux/statvfs.c: New file.
6063         * sysdeps/unix/sysv/linux/bits/statvfs.h: New file.
6064
6065         * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files
6066         and f_ffree elements.
6067
6068         * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print.  Define
6069         mount options in enum.
6070
6071 1998-03-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6072
6073         * configure.in: Check for recent egcs/gcc.
6074
6075 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6076
6077         * libc.map: Add alphasort64, scandir64, versionsort64.
6078         * dirent/Makefile (routines): Add scandir64, alphasort64, and
6079         versionsort64.
6080         * dirent/alphasort64.c: New file.
6081         * dirent/scandir64.c: New file.
6082         * dirent/versionsort64.c: New file.
6083         * dirent/dirent.h: Add LFS support for scandir, alphasort, and
6084         versionsort.
6085         * sysdeps/generic/readdir64.c: Rename to __readdir64 and make
6086         old name weak alias.
6087         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6088
6089         * dirent/alphasort.c: Use strcoll instead of strcmp.
6090
6091         * dirent/scandir.c: Optimize a bit.
6092
6093         * dirent/versionsort.c: Pretty print.
6094
6095 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6096
6097         * string/string.h: Add prototype for __strtok_r.
6098
6099 1998-03-20 12:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6100
6101         * posix/Makefile: Fix typo in last change.
6102
6103 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6104
6105         * dirent/dirent.h (scandir): Make argument of select function const.
6106         * dirent/scandir.c (scandir): Likewise.
6107         Reported by David.Faure@insa-lyon.fr [PR libc/512].
6108
6109 1998-03-19 14:28  Ulrich Drepper  <drepper@cygnus.com>
6110
6111         * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
6112         weak alias.
6113         * sysdeps/i386/strtok_r.c: Likewise.
6114
6115         * sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
6116         * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
6117         * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
6118         * sysdeps/libm-i387/i686/s_fmin.S: Likewise.
6119         * sysdeps/libm-i387/i686/s_fminf.S: Likewise.
6120         * sysdeps/libm-i387/i686/s_fminl.S: Likewise.
6121
6122 1998-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6123
6124         * intl/localealias.c: Remove unneeded define for strdup.
6125
6126 1998-03-19 13:45  Ulrich Drepper  <drepper@cygnus.com>
6127
6128         * manual/argp.texi: Adjust for better TeX output.
6129         * manual/arith.texi: Likewise.
6130         * manual/conf.texi: Likewise.
6131         * manual/filesys.texi: Likewise.
6132         * manual/header.texi: Likewise.
6133         * manual/lgpl.texinfo: Likewise.
6134         * manual/math.texi: Likewise.
6135         * manual/message.texi: Likewise.
6136         * manual/pattern.texi: Likewise.
6137         * manual/process.texi: Likewise.
6138         * manual/signal.texi: Likewise.
6139         * manual/socket.texi: Likewise.
6140         * manual/startup.texi: Likewise.
6141         * manual/stdio.texi: Likewise.
6142         * manual/terminal.texi: Likewise.
6143         * manual/examples/rprintf.c: Likewise.
6144         * manual/examples/testopt.c: Likewise.
6145         Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.
6146
6147 1998-03-19 20:45  Tim Waugh  <tim@cyberelk.demon.co.uk>
6148
6149         * posix/wordexp.c (parse_param): Don't immediately stop parsing a
6150         parameter name after seeing a digit if it's enclosed in braces.
6151
6152 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
6153
6154         * sysdeps/i386/i686/Implies: Add libm-i387/i686.
6155
6156 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6157
6158         * manual/memory.texi (Heap Consistency Checking): Document
6159         MALLOC_CHECK_.  Based on a text by Wolfram Gloger.
6160
6161 1998-03-18 17:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6162
6163         * manual/Makefile: Add missing rules.
6164
6165 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
6166
6167         * timezone/Makefile (generated): Define to remove all stamp files.
6168
6169         * sysdeps/generic/strsep.c: Also undefine __strsep.
6170
6171         * string/strdup.c: Undefine __strdup and strdup first.
6172         * string/strndup.c: Likewise.
6173
6174         * string/bits/string2.h: Correct strtok_r and strsep.
6175         Add strndup optimization.
6176
6177         * sysdeps/generic/strsep.c: Little optimization.
6178
6179 1998-03-18 14:25  Ulrich Drepper  <drepper@cygnus.com>
6180
6181         * string/bits/string2.h: Add optimization for strdup.
6182         Always define __strsep and __strtok_r and make real names available
6183         when feature select macros are defined.
6184
6185 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6186
6187         * manual/install.texi (Installation): Use i486-linux as example
6188         instead of the unsupported sunos4.
6189         (Reporting Bugs): Mention glibcbug script.
6190         (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.
6191
6192 1998-03-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6193
6194         * posix/wordexp-tst.sh: Make portable.  Add more tests.
6195
6196         * posix/Makefile (do-globtest do-wordexp-test): New targets.
6197
6198 1998-03-18 13:38  Ulrich Drepper  <drepper@cygnus.com>
6199
6200         * sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
6201         * sysdeps/generic/libc-start.c: ...here, replacing former content.
6202
6203         * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
6204         netpacket/packet.h.
6205
6206         * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.
6207
6208 1998-03-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6209
6210         * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
6211         in enumerator for strict standard compliance.
6212         * sysdeps/generic/bits/resource.h: Likewise.
6213
6214 1998-03-18 10:04  Philip Blundell  <pb@nexus.co.uk>
6215
6216         * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
6217         (PLTJMP): New macro.
6218
6219         * sysdeps/arm/fpu/__longjmp.S: New file, implementation of
6220         longjmp() when floating point enabled.
6221         * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
6222         * sysdeps/arm/__longjmp.S: Remove floating point code.
6223         * sysdeps/arm/setjmp.S: Likewise.
6224
6225         * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
6226         * sysdeps/arm/bsd-_setjmp.S: Likewise.
6227
6228         * sysdeps/arm/memset.S: New file; optimised ARM implementation of
6229         memset().
6230
6231         * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
6232         prototype.
6233
6234 1998-03-17 16:16  Philip Blundell  <pb@nexus.co.uk>
6235
6236         Based on patches from Pat Beirne and Scott Bambrough:
6237
6238         * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.
6239
6240         * sysdeps/arm/bits/fenv.h: New file.
6241
6242         * sysdeps/arm/dl-machine.h: New file.  Add ELF support.
6243         * sysdeps/arm/elf/setjmp.S: Likewise.
6244         * sysdeps/arm/elf/start.S: Likewise.
6245         * sysdeps/arm/init-first.c: Likewise.
6246         * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
6247         * sysdeps/arm/sysdep.h: Change format of .type directive.  Correct
6248         comment about floating point to reflect current reality.
6249
6250         * sysdeps/unix/arm/brk.S: Support PIC.
6251         * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
6252         re-entrant code.
6253         * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
6254         return; call syscall_error through PLT.
6255         * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.
6256
6257 1998-03-04 12:01  Philip Blundell  <pb@nexus.co.uk>
6258
6259         * sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
6260         * sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
6261         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.
6262
6263 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
6264
6265         * dirent/list.c (test): Return error value.
6266         (main): Exit with error value.
6267
6268         * sysdeps/unix/opendir.c (__opendir): Add missing initialization.
6269
6270         * Makefile (distribute): Add test-skeleton.c.
6271         * test-skeleton.c: New file.
6272         * dirent/Makefile (tests): Add opendir-tst1.
6273         * dirent/opendir-tst1.c: New file.
6274
6275 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
6276
6277         * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
6278         Optimize memory handling.
6279         * sysdeps/unix/closedir.c: Optmize memory handling.
6280
6281 1998-03-17  Ulrich Drepper  <drepper@cygnus.com>
6282
6283         * posix/wordexp.c (parse_param): Fix off-by-on error in $@
6284         handling.  Optimize a bit.
6285
6286 1998-03-18 00:25  Tim Waugh  <tim@cyberelk.demon.co.uk>
6287
6288         * posix/wordexp.c (parse_comm): Allow quoting inside $(...).
6289         (parse_param): Fold in Andreas' fixes to do with when the end of
6290         the parameter name has been reached, and quoting inside ${...}.
6291         (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
6292         $((echo);(ls)).
6293
6294 1998-03-16 22:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6295
6296         * manual/maint.texi: Split out installation and contribution
6297         sections to their own appendices.  Misc cleanups.
6298         * manual/install.texi: New file.  Mention add-ons.  Refer to FAQ.
6299         * manual/contrib.texi: New file.
6300         * manual/libc.texinfo: Pull in new appendices.
6301         * manual/header.texi: Correct node pointer.
6302
6303 1998-03-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6304
6305         * manual/process.texi (Process Completion): Clarify return value
6306         of waitpid a bit.  Patch by Zack Weinberg. [PR libc/490]
6307
6308 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6309
6310         * posix/wordexp-test.c: Add more tests.
6311         (testit): Fix logic.
6312
6313         * posix/wordexp.c (exec_comm): In the child, redirect stderr to
6314         /dev/null instead of closing it, close pipe.  Always chop off all
6315         trailing newlines.  Kill and reap child before returning error.
6316         (w_addword, parse_glob): Fix memory leak.
6317         (wordexp): Fix dangling pointer problem.
6318
6319 1998-03-16  Ulrich Drepper  <drepper@cygnus.com>
6320
6321         * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
6322
6323         * posix/wordexp-test.c (main): Fix little thinkos and typos.
6324
6325         * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
6326         directory index by only the language.
6327
6328 1998-03-16 13:02  Tim Waugh  <tim@cyberelk.demon.co.uk>
6329
6330         * posix/wordexp-tst.sh: Store test results in the
6331         ${common_objpfx}posix directory.
6332
6333         * posix/wordexp-test.c: Remove temporary directory afterwards.
6334
6335 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6336
6337         * libc.map: Export internal versions of cancelable functions.
6338
6339 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6340
6341         * Makerules (MAKEFLAGS): Append `r'.
6342
6343 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6344
6345         * Makeconfig: Define have-thread-library, shared-thread-library
6346         and static-thread-library if a thread library is available.  Don't
6347         define rt.
6348         * nscd/Makefile: Compile nscd if have-thread-library.  Rename
6349         nscd-routines to nscd-modules.  Use shared-thread-library and
6350         static-thread-library in dependencies.
6351         * rt/Makefile: Only compile librt if have-thread-library is
6352         defined.
6353         * Makefile (subdirs): Always include rt subdir.
6354
6355 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6356
6357         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
6358
6359 1998-03-14 21:55  Ulrich Drepper  <drepper@cygnus.com>
6360
6361         * configure.in: Recognize variations for 32 MIPS processors.
6362         Don't assume ELF systems always have .weak, test for .weakext.
6363
6364 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
6365
6366         * configure.in: Irix6 is an ELF platform.
6367
6368 1998-03-14 11:47  H.J. Lu  <hjl@gnu.org>
6369
6370         * elf/dl-close.c (_dl_close): Stop unmapping the segments after
6371         unmapping the last loaded segment.
6372
6373 1998-03-14 15:54  Ulrich Drepper  <drepper@cygnus.com>
6374
6375         * configure.in: Set base_os for Irix6.
6376         Correct test for .weakext.
6377
6378 1998-03-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6379
6380         * elf/dl-deps.c (_dl_map_object_deps): Add first parameter
6381         (new_line) to _dl_debug_message call.
6382
6383 1998-03-14 00:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
6384
6385         * posix/wordexp.c (parse_param): Perform field-splitting after
6386         expanding positional parameter.
6387
6388         * posix/wordexp-tst.sh: Test that field-splitting is performed
6389         after expanding positional parameter.
6390
6391         * posix/wordexp.c (parse_param): Fixed memory leak in
6392         field-splitting after parameter expansion.
6393
6394 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
6395
6396         * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
6397         (get_toplvl_escape): Correctly terminate loop at EOF.
6398         Patch by Cristian Gafton <gafton@redhat.com>.
6399
6400 1998-03-13 16:55  Ulrich Drepper  <drepper@cygnus.com>
6401
6402         * string/tester.c (test_strpbrk): Add more strpbrk tests.
6403         (test_strsep): Likewise.  Correct horrible bugs.
6404
6405         * string/bits/string2.h (strcspn): Optimize also reject string of
6406         length 2 and 3.
6407         (strspn): Likewise.
6408         (strpbrk): Likewise.
6409         (strsep): Likewise.  Correct bug with successive separators and
6410         separators at the end of the string.
6411         * sysdeps/generic/strsep.c: Correct bug with successive separators
6412         and separators at the end of the string.
6413
6414 1998-03-13 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
6415
6416         * posix/wordexp.c (parse_param): Positional parameters ($1, $2
6417         etc) now handled, as well as $$ (pid).
6418
6419         * posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
6420         (distribute): Add wordexp-tst.sh.
6421
6422         * posix/wordexp-tst.sh: New file.
6423
6424         * posix/wordexp.c (parse_param): $# (or ${#}) expands to the
6425         number of positional parameters.  Renamed substitute_length to
6426         seen_hash.
6427         Don't free(env) is env is NULL.
6428
6429 1998-03-13 16:50  Ulrich Drepper  <drepper@cygnus.com>
6430
6431         * libc.map: Add pthread_attr_init to GLIBC_2.1.
6432
6433 1998-03-13 15:01  Ulrich Drepper  <drepper@cygnus.com>
6434
6435         * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
6436         for output file replacing gmon.out.
6437         Patch by Dean Gaudet <dgaudet@arctic.org>.
6438
6439 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6440
6441         * elf/dl-misc.c (_dl_debug_message): Fix printing of pid.  Clean
6442         up namespace.  Optimize finding end of line.
6443
6444 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6445
6446         * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
6447         securely.  Optimized.
6448         (process_dl_debug): Add ':' to list of separators.  Optimized.
6449
6450 1998-03-13 10:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6451
6452         * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
6453         isless, islessequal, islessgreater, isunordered): Return zero or
6454         one.
6455
6456 1998-03-12 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
6457
6458         * posix/wordexp-test.c: More tests.
6459         (main): Set up arena for pathname expansion tests (in a temporary
6460         directory).
6461         (testit): Don't check word count or word vector if return value is
6462         non-zero.
6463
6464         * posix/wordexp.c (exec_comm): Always chop off terminating
6465         linefeed (just like bash does).
6466         (parse_param): Change lots of occurrences of "if (!*env)" to "if
6467         (!env || !*env)".
6468         (parse_param): For assignment inside parameter expansion, use all
6469         expanded words in assignment rather than just the first.
6470         (parse_param): Corrected return value for parameter expansion of
6471         an unset variable when WRDE_UNDEF is in effect.
6472         (parse_dollars): Don't field-split if quoted.
6473         (wordexp): Opening brace character isn't allowed unquoted.
6474
6475 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
6476
6477         * elf/dlerror.c: Fix concurrency problems with error string and
6478         number.
6479
6480         * elf/dl-deps.c (_dl_map_object_deps): Print debug info when
6481         filter/auxiliary are being loaded.
6482
6483 1998-03-12 14:24  Ulrich Drepper  <drepper@cygnus.com>
6484
6485         * elf/dlerror.c (last_object_name): Removed.
6486         (dlerror): Don't use last_object_name.
6487         (_dl_error_run): Omit second argument to _dl_catch_error.
6488         * elf/dl-error.c (struct catch): Remove objname member.
6489         (_dl_signal_error): Construct string including objname when given.
6490         (_dl_catch_error): Remove objname handling.
6491         * elf/link.h (_dl_catch_error): Fix prototype and comment.
6492         * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
6493         * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
6494         * nss/nsswitch.c (nss_dlerror_run): Likewise.
6495         * iconv/gconv_dl.c (dlerror_run): Likewise.
6496         [Corrects PR libc/501].
6497
6498 1998-03-12  Matthias Urlichs <smurf@noris.de>
6499
6500         * nscd/nscd.c: Ignore SIGPIPE.
6501
6502 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
6503
6504         * nscd/nscd_getgr_r.c: Use __ protected names.
6505         * nscd/nscd_getpw_r.c: Likewise.
6506
6507 1998-03-12  Matthias Urlichs <smurf@noris.de>
6508
6509         * nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
6510         * nscd/nscd_getpw_r.c: Fix length calculation in result check,
6511         null bytes are not transmitted.
6512
6513 1998-03-12 00:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6514
6515         * powerpc/syscalls.list: Correct typo.
6516         * alpha/syscalls.list: Likewise.
6517         * mips/syscalls.list: Likewise.
6518
6519 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
6520
6521         * socket/sys/socket.h: Add prototype for __socket.
6522
6523 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6524
6525         * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
6526
6527         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
6528         constants.
6529
6530         * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
6531         definition here.
6532         * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
6533         definition here.
6534
6535         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
6536         AF_* and PF_* constants.
6537
6538         * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
6539
6540 1998-03-11 15:27  Ulrich Drepper  <drepper@cygnus.com>
6541
6542         * elf/rtld.c: Update help message.
6543         Install link maps for preloaded objects using main_map as loader.
6544
6545         * elf/dl-misc.c: Use __libc_write instead of __write for debugging.
6546         * elf/dl-profile.c: Likewise.
6547
6548         * elf/dlsym.c: Little optimization.
6549         * elf/dlvsym.c: Likewise.
6550
6551 1998-03-11 14:56  Ulrich Drepper  <drepper@cygnus.com>
6552
6553         * posix/wordexp-test.c: Move test for parameter list at the very
6554         beginning.
6555
6556 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
6557
6558         * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
6559         WRDE_REUSE flag is set.
6560         (parse_param): Allow `*', `@', and numbers in parameter names.
6561         (parse_dollars): Differentiate between arithmetic expansion and a
6562         command substitution that starts immediately with a sub-shell
6563         (like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
6564         (parse_param): Memory allocated with __alloca in a block was
6565         referenced outside that block.  Adjusted to use malloc/free.
6566         (parse_param): Adjusted field-splitting algorithm so that there is
6567         not necessarily a field split at the end of a parameter expansion.
6568
6569 1998-03-10 19:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
6570
6571         * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
6572         don't free words that have already been allocated.
6573         (parse_param): A dollar sign on its own will never have a pattern
6574         associated with it (like "${HOME%%/}" has), so don't try to free it.
6575         (parse_glob): Attempt to glob when an unquoted `[' is found
6576         (rather than an unquoted '{' (!)).  Also for unquoted '?'.
6577         (parse_glob): Sorted out quoting in a glob-able word.
6578         (parse_param): Added $* and $@ handling.
6579
6580 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
6581
6582         * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
6583         parsing it.
6584
6585 1998-03-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6586
6587         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
6588         _dl_debug_message.
6589
6590 1998-03-12  Matthias Urlichs  <smurf@noris.de>
6591
6592         * elf/dl-misc.c: Default for debug output should be stderr.
6593         * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
6594         * elf/dl-lookup.c: reference_name may be NULL or empty.
6595
6596 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6597
6598         * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
6599
6600 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
6601
6602         * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
6603
6604         * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
6605
6606 1998-03-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6607
6608         * sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
6609         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
6610
6611 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6612
6613         * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
6614         init stuff.
6615
6616 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6617
6618         * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
6619         flag.
6620
6621         * misc/syslog.c (vsyslog): Don't try to send if not connected to
6622         syslog daemon.
6623         (closelog_internal): Don't do anything if not connected.
6624
6625 1998-03-10 17:54  Ulrich Drepper  <drepper@cygnus.com>
6626
6627         * libc.map: Add _dl_debug_message.
6628         * elf/dl-misc.c: Make _dl_debug_message a function.  Print the PID
6629         before every line.
6630         * elf/fini.c: Correctly use new _dl_debug_message function.
6631         * elf/init.c: Likewise.
6632         * elf/dl-lookup.c: Likewise.
6633         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
6634         * elf/dl-load.c: Likewise.  Add more debugging prints.
6635         * elf/dl-reloc.c: Likewise.
6636         * elf/dl-version.c: Likewise.
6637         * elf/dl-support.c: Add variables for debugging.
6638         * elf/rtld.c: Likewise.  Recognize new debug options.
6639         * elf/link.h: Declare new variables.
6640
6641         * elf/dl-deps.c (_dl_map_object_deps): Little optimizations.
6642
6643 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6644
6645         * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
6646         kernel headers.  Patch by a sun <asun@saul7.u.washington.edu>.
6647
6648 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
6649
6650         * posix/wordexp-test.c (command_line_test): New function to allow
6651         testing of specific cases from the command-line.
6652
6653 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6654
6655         * elf/dl-init.c (_dl_init_next): Print nicer messages.
6656         * elf/dl-fini.c (_dl_fini): Likewise.
6657         * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.
6658
6659         * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
6660         symbol in debug message.
6661         (_dl_lookup_versioned_symbol_skip): Likewise.
6662
6663 1998-03-10 19:43  Matthias Urlichs <urlichs@noris.de>
6664
6665         * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
6666         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
6667         * manual/filesys/texi: Document this.
6668
6669 1998-03-10 10:49  Ulrich Drepper  <drepper@cygnus.com>
6670
6671         * manual/filesys.texi: Document the change below.
6672
6673 1998-03-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6674
6675         * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
6676         Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
6677
6678 1998-03-10 00:10  Ulrich Drepper  <drepper@cygnus.com>
6679
6680         * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
6681         instead scope.  If debugging display information about symbol
6682         resolving.
6683         (_dl_lookup_symbol): Call do_lookup with correct parameters.
6684         (_dl_lookup_symbol_skip): Likewise.
6685         (_dl_lookup_versioned_symbol): Likewise.
6686         (_dl_lookup_versioned_symbol_skip): Likewise.
6687         * elf/dl-support.c: Define _dl_debug_symbols.
6688         * elf/link.h: Add declaration for _dl_debug_symbols.
6689         * elf/rtld.c: Define _dl_debug_symbols.
6690         (process_dl_debug): Recognize symbols option.
6691
6692 1998-03-09 23:36  Ulrich Drepper  <drepper@cygnus.com>
6693
6694         * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
6695         in correct format.
6696         * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
6697         with correct parameters.
6698         [!PIC]: Initialize __libc_multiple_libcs.
6699
6700 1998-03-09 18:21  Ulrich Drepper  <drepper@cygnus.com>
6701
6702         * elf/dl-support.c (_dl_debug_bindings): Add definition.
6703         * elf/rtld.c (_dl_debug_bindings): Add definition.
6704         (process_dl_debug): Recognize bindings option.  Update help message.
6705         * elf/link.h (struct link_map): Add l_versyms member.
6706         (_dl_debug_bindings): Add declaration.
6707         * elf/version.c (_dl_check_map_versions): Initialize l_versyms.
6708         * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
6709         and l_reloc_result.
6710         * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
6711         (sym_val): Remove a member, add m as link_map.
6712         (do_lookup): Return result appropriately.
6713         (_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
6714         Call do_lookup correctly.
6715         (_dl_lookup_symbol_skip): Likewise.
6716         (_dl_lookup_versioned_symbol): Likewise.
6717         (_dl_lookup_versioned_symbol_skip): Likewise.
6718
6719 1998-03-09 08:21  Ulrich Drepper  <drepper@cygnus.com>
6720
6721         * sysdeps/unix/sysv/linux/chown.c: Moved to ...
6722         * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
6723
6724         * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
6725         * libc.map: Add chown to GLIBC_2.1.
6726         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
6727         * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
6728
6729 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6730
6731         * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
6732         weak alias.
6733         * sysdeps/alpha/ffs.c: Likewise.
6734         * sysdeps/am29k/ffs.c: Likewise.
6735         * sysdeps/i386/ffs.c: Likewise.
6736         * sysdeps/i960/ffs.c: Likewise.
6737         * sysdeps/m68k/ffs.c: Likewise.
6738         * sysdeps/m88k/ffs.c: Likewise.
6739         * sysdeps/powerpc/ffs.c: Likewise.
6740         * sysdeps/rs6000/ffs.c: Likewise.
6741         * sysdeps/vax/ffs.s: Likewise.
6742         * string/string.h: Declare __ffs.
6743         * libc.map: Export it.
6744         * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
6745         __builtin_ffs, which is not guaranteed to be namespace clean.
6746
6747 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6748
6749         * elf/sprof.c: Rewrite symbol handling to use the normal symbol
6750         table, which is much more likely to exist than debugging symbols.
6751         (printsym): Remove const.
6752         (load_shobj): Don't use _dl_pagesize.  Fix mapping of section
6753         header table.
6754
6755         * libc.map: Export __profile_frequency, used by elf/sprof, to
6756         avoid infinite recursion during startup.
6757
6758 1998-03-09 12:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6759
6760         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
6761         Readd lost negate.
6762
6763         * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
6764
6765 1998-03-09  Ulrich Drepper  <drepper@cygnus.com>
6766
6767         * elf/dl-support.c: Add definition of _dl_debug_impcalls.
6768
6769 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
6770
6771         * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
6772         LD_PRELOAD, and LD_VERBOSE.
6773         (dl_main): Use global variables set by process_envvars instead of
6774         calling getenv.
6775         * elf/dl-load.c (_dl_init_paths): Don't call getenv to get
6776         LD_LIBRARY_PATH value, this comes with the parameter.
6777         * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
6778         ("LD_LIBRARY_PATH") to _dl_init_paths.
6779
6780 1998-03-08 22:55  Ulrich Drepper  <drepper@cygnus.com>
6781
6782         * elf/rtld.c (dl_main): Delay initialization of path structure if
6783         the dynamically linker is invoked implicitly until we read the
6784         dynamic section.
6785
6786 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
6787
6788         * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
6789
6790 1998-03-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6791
6792         * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
6793         Linux 2.0 and 2.1.
6794
6795         * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
6796
6797 1998-03-08 14:58  Ulrich Drepper  <drepper@cygnus.com>
6798
6799         * Makeconfig (nisobjdir): Set to path to nis directory.
6800         (rpath-link): Add nisobjdir.
6801         Patch by Sven Verdoolaege <skimo@kotnet.org>.
6802
6803         * elf/Makefile: Pretty print.
6804         * elf/dl-lookup.c: Include unistd.h.
6805         * elf/dl-runtime.c: Likewise.
6806
6807         * localedata/Makefile (test-srcs): Add tst-rpmatch.
6808         (distribute): Add tst-rpmatch.sh.
6809         (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
6810
6811         New tests for rpmatch function by
6812         Jochen Hein <jochen.hein@delphi.central.de>.
6813         * localedata/tst-rpmatch.c: New file.
6814         * localedata/tst-rpmatch.sh: New file.
6815
6816         * localedata/locales/de_DE: Correct yesexpr and noexpr.
6817         * localedata/locales/de_AT: Likewise.
6818
6819         * posix/getopt.c: Update contact address.
6820         * posix/getopt1.c: Pretty print.
6821
6822         * sysdeps/generic/libc-start.c: Do most of the initialization now
6823         here instead of in start.S.
6824         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
6825         * sysdeps/i386/elf/start.S: Remove most of the initialization code.
6826
6827         * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
6828         profil_counter to be public.
6829
6830 1998-03-08 13:06  Tim Waugh  <tim@cyberelk.demon.co.uk>
6831
6832         * posix/wordexp.c (parse_arith): Now works for negative numbers too.
6833         (parse_param): Coded parameter length expansion (${#var}).
6834         (parse_param): Handling for "=", "+", "-", and the ":" versions added.
6835         (parse_param): Cleaned up (fixed) error handling.
6836
6837         * posix/wordexp-test.c: IFS now includes non-whitespace character
6838         (comma).  Added more tests.
6839
6840 1998-03-07  Ulrich Drepper  <drepper@cygnus.com>
6841
6842         * elf/link.h: Fix typos.
6843         Reported by Andreas Jaeger.
6844
6845         * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
6846         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
6847
6848 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
6849
6850         * argp/argp-help.c: Remove last bits of using gettext instead of
6851         dgettext.
6852
6853 1998-03-06 17:04  Ulrich Drepper  <drepper@cygnus.com>
6854
6855         * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
6856         __libc_start_main.
6857         * csu/Makefile (routines): Add libc-start.
6858         * elf/dl-error.c: Remove declaration of _dl_argv.  Include <unitsd.h>.
6859         * elf/dl-lookup.c: Likewise.
6860         * elf/dl-version.c: Likewise.
6861         * sysdeps/i386/dl-machine.h: Likewise.
6862         * elf/link.h: Declare _dl_argv, _dl_debug_fd.
6863         Declare _dl_sysdep_output.  Make _dl_sysdep_fatal, _dl_sysdep_error and
6864         _dl_sysdep_message macros which use _dl_sysdep_output.
6865         * elf/dl-fini.c: Write out which destructor is called while debugging.
6866         * elf/dl-init.c: Likewise for constructor.
6867         * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
6868         * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
6869         _dl_sysdep_message.  Add _dl_sysdep_output.
6870         * elf/rtld.c: Recognize LD_DEBUG_OUTPUT.  Set _dl_debug_fd if
6871         this file can be opened.
6872         For LD_DEBUG=libs also set _dl_debug_impcalls.
6873         * sysdeps/generic/dl-cache.c: Include unistd.h.
6874         * sysdeps/generic/libc-start.c: New file.
6875         * sysdeps/unix/sysv/linux/libc-start.c: New file.
6876         * sysdeps/i386/elf/start.S: Don't call main directly, call
6877         __libc_start_main instead.
6878
6879         * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
6880
6881 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
6882
6883         * nss/nsswitch.c (__nss_nscd_not_available): Removed.
6884
6885 1998-03-06 12:42  Ulrich Drepper  <drepper@cygnus.com>
6886
6887         * argp/argp.h (struct argp): Add new field domain.
6888         * argp/argp-help.c: Change all gettext calls to dgettext and use
6889         domain field from appropriate argp in call.
6890         * argp/argp-parse.c: Likewise.
6891
6892 1998-03-06 11:35  Ulrich Drepper  <drepper@cygnus.com>
6893
6894         * posix/wordexp-test.c: Change testsuite so that it can run even
6895         for ~root != /root.
6896
6897 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6898
6899         * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
6900
6901 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6902
6903         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6904         Don't store into global errno if we already store through
6905         __errno_location.
6906         * sysdeps/unix/i386/sysdep.S: Likewise.
6907         * sysdeps/unix/alpha/sysdep.S: Likewise.
6908         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6909         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
6910         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.  Add
6911         missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
6912         PIC).
6913
6914 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6915
6916         * sysdeps/generic/sysdep.h (L): Remove definition.
6917         * sysdeps/i386/sysdep.h (L): Define it here instead.
6918
6919 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6920
6921         * nis/nis_call.c (__do_niscall): Safe and reset errno.
6922
6923         * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
6924
6925 1998-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6926
6927         * sysdeps/generic/getresuid.c (__getresuid): Use ISO C
6928         declaration style to avoid warnings.
6929
6930 1998-03-06 11:48  Mark M._Kettenis  <kettenis@hall.phys.uva.nl>
6931
6932         * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
6933         "LD_DEBUG".
6934
6935 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
6936
6937         * posix/Makefile (tests): Add wordexp-test.
6938         * posix/wordexp-test.c: New file.  Testsuite for wrodexp.
6939         Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
6940
6941 1998-03-05 16:04  Ulrich Drepper  <drepper@cygnus.com>
6942
6943         * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
6944         dependencies.
6945
6946         * elf/link.h (struct r_search_path_elem): Add two new field for
6947         lib path debugging.
6948         * elf/rtld.c: Recognize LD_DEBUG environment variable and set
6949         variable accordingly.
6950         * elf/dl-load.c: If _dl_debug_libs is nonzero print what library
6951         is considered next along with information about load paths.
6952         * sysdeps/generic/dl-cache.c: Likewise.
6953         * elf/dl-support.c: Define _dl_debug_libs.
6954         * elf/genrtldtbl.awk: Add initializers for two new field in
6955         struct r_search_path_elem.
6956
6957 1998-03-06 10:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6958
6959         * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
6960         * sysdeps/m68k/lshift.S: Likewise.
6961         * sysdeps/m68k/rshift.S: Likewise.
6962         * sysdeps/m68k/sub_n.S: Likewise.
6963         * sysdeps/m68k/m68020/addmul_1.S: Likewise.
6964         * sysdeps/m68k/m68020/mul_1.S: Likewise.
6965         * sysdeps/m68k/m68020/submul_1.S: Likewise.
6966
6967         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
6968         [_LIBC_REENTRANT]: Don't store into global errno.
6969
6970         * sysdeps/m68k/sysdep.h: New file.
6971         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it.  Use the macros
6972         ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
6973         (DO_CALL): Change to expect syscall name as argument.
6974         (PSEUDO): Pass syscall_name to DO_CALL.
6975         (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
6976         errno.
6977
6978 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
6979
6980         * elf/rtld.c: Speed up processing of environment variables.  Do
6981         only one run on the environment by avoiding to call getenv.
6982         * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
6983         function.  Used by patch above.
6984
6985 1998-03-05  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6986
6987         * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
6988         running nscd.
6989         * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
6990         * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
6991         * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
6992
6993 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
6994
6995         * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
6996         module cannot be found.  Reported by Andreas Jaeger.
6997
6998 1998-03-05 11:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6999
7000         * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
7001         on platforms which default to unsigned chars.
7002         * nscd/nscd_getpw_r.c: Likewise.
7003         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
7004         defining it.
7005
7006 1998-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7007
7008         * elf/Makefile (install-bin): Change = to += for sprof to install
7009         ldd also.
7010
7011 1998-03-04 16:12  H.J. Lu  <hjl@gnu.org>
7012
7013         * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
7014
7015 1998-03-04 16:19  Ulrich Drepper  <drepper@cygnus.com>
7016
7017         * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
7018
7019 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7020
7021         * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
7022         that a failure to connect to nscd doesn't change errno.
7023
7024 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7025
7026         * manual/maint.texi (Reporting Bugs): Change
7027         bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
7028
7029         * locale/iso-4217.def: Likewise
7030
7031 1998-03-04 12:43  Ulrich Drepper  <drepper@cygnus.com>
7032
7033         * manual/texinfo.tex: Updated.
7034
7035 1998-03-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7036
7037         * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
7038         value.
7039         * sysdeps/posix/pathconf.c: Likewise.
7040         * posix/getconf.c: Print `undefined' if pathconf returns -1
7041         without setting errno.
7042
7043 1998-03-04  Ulrich Drepper  <drepper@cygnus.com>
7044
7045         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
7046         problem.
7047         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
7048         Patches by Elliot Lee <sopwith@cuc.edu>.
7049
7050 1998-03-04 09:43  Ulrich Drepper  <drepper@cygnus.com>
7051
7052         * elf/link.h (struct link_map): Add new field l_reloc_result.
7053         * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
7054         of relocation for the object to be profiled.
7055         * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
7056         to NULL.
7057         * elf/rtld.c (_dl_start): Add comment that we must not allocate an
7058         array here.
7059         * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
7060         contains a result from a previous run use this instead of computing
7061         the value again.
7062         * elf/dl-minimal.c (malloc): Remove limit for size of allocation.
7063
7064 1998-03-04 11:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7065
7066         * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
7067         offsets into the GOT.
7068         (RTLD_START): Likewise.
7069
7070 1998-03-03 17:55  Ulrich Drepper  <drepper@cygnus.com>
7071
7072         * elf/sprof.c: Cleanup a bit.
7073
7074 1998-03-03 08:01  H.J. Lu  <hjl@gnu.org>
7075
7076         * sysdeps/generic/sysdep.h (L): New. Define.
7077
7078         * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
7079
7080         * sysdeps/i386/i586/addmul_1.S: Fix a typo.
7081
7082         * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
7083         to have only one exit point for functions.
7084         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7085         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
7086         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
7087         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7088         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7089
7090 1998-03-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7091
7092         * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
7093         reset errno so that errno isn't set to ENOSYS in the first call.
7094         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
7095         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
7096         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
7097         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
7098
7099 1998-03-02 17:55  Ulrich Drepper  <drepper@cygnus.com>
7100
7101         * sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
7102         * sysdeps/i386/addmul_1.S: Likewise.
7103         * sysdeps/i386/lshift.S: Likewise.
7104         * sysdeps/i386/mul_1.S: Likewise.
7105         * sysdeps/i386/rshift.S: Likewise.
7106         * sysdeps/i386/sub_n.S: Likewise.
7107         * sysdeps/i386/submul_1.S: Likewise.
7108         * sysdeps/i386/i586/add_n.S: Likewise.
7109         * sysdeps/i386/i586/addmul_1.S: Likewise.
7110         * sysdeps/i386/i586/lshift.S: Likewise.
7111         * sysdeps/i386/i586/mul_1.S: Likewise.
7112         * sysdeps/i386/i586/rshift.S: Likewise.
7113         * sysdeps/i386/i586/sub_n.S: Likewise.
7114         * sysdeps/i386/i586/submul_1.S: Likewise.
7115
7116         * sysdeps/i386/sysdep.h: Extend last change.
7117
7118         * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
7119         to have only one exit point for functions.
7120
7121 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
7122
7123         * configure.in: Fix msgfmt test.  Fix handling of //s in sysdeps
7124         search.
7125
7126 1998-03-02 13:28  Ulrich Drepper  <drepper@cygnus.com>
7127
7128         * Makerules: Generate libc.so with absolute paths for the used
7129         shared objects.
7130
7131         * config.make.in: Add MAKEINFO definition.
7132
7133 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
7134
7135         * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
7136         (ENTRY): Use STABS_FUN.
7137         (END): Use STABS_FUN_END.
7138         (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
7139
7140         * elf/Makefile: Add rules to build sprof program.
7141         * elf/sprof.c: New file.
7142
7143 1998-02-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7144
7145         * misc/syslog.c (openlog_internal): Insert missing closing brace.
7146
7147 1998-02-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7148
7149         * configure.in: Check for working msgfmt version (from GNU gettext
7150         0.10 or later).
7151
7152 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
7153
7154         * configure.in: Avoid //s in sysdirs.
7155         Patch by Roland McGrath.
7156
7157         * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
7158
7159 1998-03-02 07:17  H.J. Lu  <hjl@gnu.org>
7160
7161         * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
7162         setting _dl_global_scope for RTLD_GLOBAL.
7163
7164 1998-02-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7165
7166         * sysdeps/unix/make-syscalls.sh: Fix last change so that all
7167         possible lists of object-suffixes are taken care of.
7168
7169 1998-03-02 10:16  Ulrich Drepper  <drepper@cygnus.com>
7170
7171         * timezone/private.h: Update from tzcode1998c.
7172         * timezone/zic.c: Likewise.
7173         * timezone/antarctica: Updated from tzdata1998c.
7174         * timezone/asia: Likewise.
7175         * timezone/australasia: Likewise.
7176         * timezone/europe: Likewise.
7177         * timezone/southamerica: Likewise.
7178
7179 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
7180
7181         * posix/glob.c (glob_in_dir): Add support for cases insensitive
7182         VMS.  Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
7183
7184 1998-03-01 19:05  H.J. Lu  (hjl@gnu.org)
7185
7186         * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
7187         Changed type of TWO43, TWO52 from float to double.
7188         * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
7189         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
7190         Changed type of TWO43 from float to double.
7191         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
7192         Use __isinff.
7193
7194 1998-03-01 18:52  H.J. Lu  (hjl@gnu.org)
7195
7196         * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
7197         osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
7198         osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
7199
7200 1998-03-01 09:11  Richard Henderson  <rth@cygnus.com>
7201
7202         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
7203         kernel_termios.h.
7204         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
7205         Clean up random whitespace.
7206         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
7207         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
7208         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
7209         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
7210
7211 1998-03-01 08:31  Richard Henderson  <rth@cygnus.com>
7212
7213         * shlib-versions: Match alpha*.
7214         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
7215         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
7216
7217         * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
7218         Implement copysign* with and without __ prefix.
7219         Likewise for fabs; use builtin for gcc 2.8.
7220         (floor*): New.
7221         (fdim*): New.
7222
7223         * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
7224         (R_SPARC*): Match current v9 ABI.
7225
7226         * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
7227
7228         * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
7229         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
7230         * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
7231         * sysdeps/generic/getresgid.c: Use prototype form because of warning.
7232         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
7233         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
7234         * sysdeps/unix/grantpt.c (argv): Fix consts.
7235         * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
7236         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7237
7238 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7239
7240         * misc/syslog.c: Change to allow user the interpretation of the
7241         outcome even with syslog having no return value.
7242
7243 1998-02-05 20:41  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
7244
7245         * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
7246         that the number of program headers is >0 (which is wrong for the
7247         loader itself).
7248
7249 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7250
7251         * Makefile (distribute): Add README.libm.
7252
7253 1998-02-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7254
7255         * time/clocktest.c (main): Correct typo: "--" -> "==".
7256
7257 1998-02-25 20:53  H.J. Lu  <hjl@gnu.org>
7258
7259         * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
7260         inline function.
7261         (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
7262         inline functions.
7263
7264         * math/libm.map (__atan2): Added.
7265
7266 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7267
7268         * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
7269         Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
7270
7271         * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
7272         bug.
7273
7274 1998-02-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7275
7276         * manual/arith.texi (Old-style number conversion): Correct
7277         typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
7278
7279 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7280
7281         * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
7282         but does not require it.  Handle missing argv[] values gracefully.
7283         * posix/execl.c: Likewise.
7284         * posix/execle.c: Likewise.
7285
7286 1998-02-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7287
7288         * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
7289         bit.
7290         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
7291
7292 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7293
7294         * libc.map: Add __adjtimex.
7295
7296 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7297
7298         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
7299         Remove memset.
7300
7301 1998-02-24 08:10  H.J. Lu  <hjl@gnu.org>
7302
7303         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
7304         to 64.
7305
7306         * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
7307
7308         * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
7309         * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.
7310
7311         * sysdeps/unix/make-syscalls.sh: Make versioned symbols only
7312         for shared library.
7313
7314         * libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
7315
7316         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
7317         Added adjtimex and old_adjtimex.
7318
7319         * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
7320         New.
7321         (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
7322         osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.
7323
7324         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
7325         symbols only for shared library.
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.
7333
7334         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
7335         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
7336         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
7337         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
7338         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
7339         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
7340         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
7341         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
7342
7343         * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
7344         rusage pointer.
7345
7346         * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
7347         New macros.
7348         (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
7349         timex and __adjtimex, respectively.
7350
7351         * sysdeps/unix/sysv/linux/alpha/adjtime.c: New.
7352
7353         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.
7354
7355 1998-02-25 08:28  H.J. Lu  <hjl@gnu.org>
7356
7357         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
7358         for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.
7359
7360 1998-02-26 14:59  Ulrich Drepper  <drepper@cygnus.com>
7361
7362         * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.
7363
7364 1998-02-19 11:00  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7365
7366         * Makefile.in: Disable built-in rules.
7367
7368 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7369
7370         * sysdeps/i386/fpu/t_exp.c: Move to ...
7371         * sysdeps/libm-i387/t_exp.c: ... here.
7372
7373 1998-02-21 13:51  H.J. Lu  <hjl@gnu.org>
7374
7375         * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
7376         from __exp2_deltatable.
7377
7378 1998-02-26  Ulrich Drepper  <drepper@cygnus.com>
7379
7380         * nis/ypclnt.c (yp_master): Check result of strdup.
7381         Patch by Thorsten Kukuk.
7382
7383 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7384
7385         * nis/ypclnt.c: Give clnt handle after error checking free, change
7386         return codes to fix problems with rpc.nisd in YP mode on Ultra's.
7387
7388 1998-02-26 09:00  Ulrich Drepper  <drepper@cygnus.com>
7389
7390         * misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
7391         Patch by Joe Keane <jgk@jgk.org>.
7392
7393         * misc/fstab.h (struct fstab): Change fs_type member to be const.
7394         * misc/fstab.c: Remove casts in fs_type assignments.
7395
7396 1998-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7397
7398         * sysdeps/i386/fpu/bits/fenv.h: Correct typo.  ISO C 9X defines
7399         FE_TOWARDZERO and not FE_TOWARDSZERO.  Reported by H.J. Lu.
7400         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
7401         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
7402         * sysdeps/powerpc/bits/fenv.h: Likewise.
7403         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
7404         * sysdeps/generic/bits/fenv.h: Likewise.
7405         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
7406         * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
7407         * sysdeps/powerpc/test-arith.c (main): Likewise.
7408
7409 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
7410
7411         * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
7412         the comparison macros.
7413
7414 1998-02-21 20:14  H.J. Lu  <hjl@gnu.org>
7415
7416         * sysdeps/libm-ieee754/s_log2.c (ln2): Added.
7417         (__log2): Fixed return values.
7418         * sysdeps/libm-ieee754/s_log2f.c: Likewise.
7419
7420 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
7421
7422         * math/math.h (isunordered): Rename local variables to ensure
7423         correct code.  Reported by HJ Lu.
7424
7425 1998-02-25 10:34  Ulrich Drepper  <drepper@cygnus.com>
7426
7427         * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
7428         isless, islessequal, islessgreater, isunordered): Fix syntax for
7429         fucompip instruction.
7430         (isless, islessequal): Fix logic.
7431
7432 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7433
7434         * math/libm-test.c (sqrt_test): Add test for sqrt(2).
7435         (comparisons_test): New tests for comparison macros.
7436
7437 1998-02-24 15:12  Ulrich Drepper  <drepper@cygnus.com>
7438
7439         * Makeconfig: Filter out frame-pointer effecting options when
7440         compiling profiling or debugging code.
7441         * config.h.in (internal_function): Don't define here if PROF is
7442         defined.
7443         * gmon/gmon.c (__moncontrol): Don't change state if already in error
7444         state.
7445         (__monstartup): If calloc fails set error state and mark array as
7446         not allocated.
7447         (_mcleanup): Don't call write_gmon if in error state.  Don't try
7448         to free array if not  successfully allocated.
7449
7450         * elf/dl-load.c (STRING): Define to __STRING to enble expansion.
7451         Include elf.h to get macro definitions.
7452         Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
7453
7454 1998-02-24 09:40  Ulrich Drepper  <drepper@cygnus.com>
7455
7456         * elf/ldd.sh.in: Add compatibility for broken old shells.
7457         * elf/ldd.bash.in: Likewise.
7458
7459 1998-02-24 08:11  H.J. Lu  <hjl@gnu.org>
7460
7461         * sunrpc/rpc_main.c (open_input): Check pipe return error.
7462
7463         * time/clocktest.c (main): Check signal return error.
7464
7465 1998-02-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7466
7467         * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
7468         "/" and use do-install-program. Reported by Mark M. Kettenis.
7469         (subdir_install):  Likewise.
7470
7471 1998-02-22  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7472
7473         * sunrpc/rpc_sample.c: Fix typo.
7474
7475         * nscd/connections.c: Use locale.
7476         * nscd/grpcache.c: Add debug messages, gidtbl should get the
7477           calloc result.
7478         * nscd/nscd.c: Check if init functions fails.
7479         * nscd/nscd_conf.c: Allow disabling of group cache.
7480         * nscd/nscd_getgr_r.c: Fix return code if group not found.
7481         * nscd/pwdcache.c: Fix debug messages.
7482
7483 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7484
7485         * libc.map: Add __monstartup and _mcleanup for profiling support.
7486
7487 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7488
7489         * libc.map: Export __getpagesize, for binary compatibility with
7490         2.0.
7491
7492 1998-02-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7493
7494         * posix/globtest.sh: Use --library-path instead of
7495         LD_LIBRARY_PATH.
7496         * localedata/sort-test.sh: Likewise.
7497         * localedata/tst-fmon.sh: Likewise.  Avoid useless use of cat.
7498
7499 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7500
7501         * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
7502         sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
7503         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7504
7505         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
7506         kernel_sigaction): Define.
7507         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
7508         kernel_sigaction): Define.
7509
7510 1998-02-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7511
7512         * math/libm-test.c: Change epsilons for libm-ieee754.
7513
7514 1998-02-23 12:33  Ulrich Drepper  <drepper@cygnus.com>
7515
7516         * sysdeps/i386/__longjmp.S: Fix race condition.
7517         Reported by Bruno Haible <haible@ilog.fr>.
7518
7519 1998-02-20 18:43  Ulrich Drepper  <drepper@cygnus.com>
7520
7521         * hesiod/hesiod.c: Pretty print.  Don't use __ protected names.
7522         * iconvdata/8bit-gap.c: Likewise.
7523         * iconvdata/8bit-generic.c: Likewise.
7524         * iconvdata/iso6937.c: Likewise.
7525         * iconvdata/iso8859-1.c: Likewise.
7526         * iconvdata/sjis.c: Likewise.
7527         * iconvdata/t61.c: Likewise.
7528
7529 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7530
7531         * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
7532         feature tests by positive feature tests.
7533
7534 1998-02-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7535
7536         * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.
7537
7538 1998-02-20  Ulrich Drepper  <drepper@cygnus.com>
7539
7540         * elf/dlvsym.c (dlvsym_doit): More corrections.
7541         Patch by Andreas Jaeger.
7542
7543 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
7544
7545         * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.
7546
7547 1998-02-19 17:16  Ulrich Drepper  <drepper@cygnus.com>
7548
7549         * libc.map: More reordering for GLIBC_2.1 symbols.
7550
7551 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7552
7553         * libc.map: Move some functions from version GLIBC_2.0 to
7554         GLIBC_2.1, reorder declarations.
7555
7556 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
7557
7558         * resolv/gethnamaddr.c (addrsort): Make this function extern.
7559         Patch by zab@thebrain.grumblesmurf.net.
7560
7561 1998-02-19  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7562
7563         * nis/libnsl.map: NIS+ support is new in glibc 2.1, add
7564         NIS+ functions with version GLIBC_2.1.
7565
7566 1998-02-19 14:05  Ulrich Drepper  <drepper@cygnus.com>
7567
7568         * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
7569         with 2.0 binaries.  Reported by Thorsten Kukuk.
7570
7571 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7572
7573         * elf/dlvsym.c (dlvsym_doit): Correct last patch.
7574
7575         * elf/dlsym.c (dlsym_doit): Likewise.
7576
7577 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7578
7579         * elf/link.h: Correct typos.
7580
7581         * iconv/iconv_prog.c: Correct typo.
7582
7583 1998-02-18 17:57  Ulrich Drepper  <drepper@cygnus.com>
7584
7585         * iconv/Makefile: Add rules to build and install iconv program.
7586         * iconv/iconv_prog.c: New file.
7587
7588 1998-02-18 16:34  H.J. Lu  <hjl@gnu.org>
7589
7590         * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
7591         _dl_lookup_symbol_skip call.
7592         * elf/dlvsym.c (dlvsym_doit): Likewise.
7593
7594 1998-02-18  Ulrich Drepper  <drepper@cygnus.com>
7595
7596         * libio/iovsscanf.c: Do not include errno.h.
7597
7598 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7599
7600         * elf/dl-load.c (add_name_to_object): Don't translate strings.
7601         * elf/dl-minimal.c (_strerror_internal): Define it here to avoid
7602         pulling in the whole error list.
7603         (__dcgettext, dcgettext): Removed.
7604         * libc.map: Export _strerror_internal.
7605
7606 1998-02-18 10:50  Ulrich Drepper  <drepper@cygnus.com>
7607
7608         * sysdeps/i386/fpu/t_exp.c: New file.
7609
7610 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7611
7612         * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add
7613         everything with version GLIBC_2.1.
7614         * hesiod/libnss_hesiod.map: Likewise.
7615
7616 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7617
7618         * manual/arith.texi (Old-style number conversion): This node is a
7619         section, not a subsection.
7620
7621 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7622
7623         * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy.
7624
7625 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7626
7627         * elf/rtld.c (dl_main): Make sure that the library search paths
7628         have been initialized before the first call to _dl_map_object.
7629
7630 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7631
7632         * Makerules (common-generated): Add libc_pic.os.
7633
7634 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7635
7636         * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address
7637         of the executable.
7638
7639 1998-02-18 10:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7640
7641         * sysdeps/m68k/fpu/t_exp.c: New file.
7642
7643 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
7644
7645         * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
7646         to global errno variable anymore.
7647
7648 1998-02-17 17:41  Ulrich Drepper  <drepper@cygnus.com>
7649
7650         * elf/dl-load.c (open_path): Take extra argument PRELOADED.
7651         If PRELOADED is nonzero check in case of an SUID application
7652         whether the shared object has the SUID bit set.
7653         Fix some other problems with handling shared objects in system
7654         specific directories.
7655         (_dl_map_object): Also take extra parameter and pass it to open_path.
7656         * elf/link.h (_dl_map_object): Correct prototype and comment.
7657         * elf/rtld.c (dl_main): Call _dl_map_object correctly.
7658         * elf/dl-open.c (_dl_open): Likewise.
7659         * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.
7660
7661         * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
7662
7663 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
7664
7665         * math/libm-test.c (modf_test): Add test for 1.5.
7666
7667         * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
7668         0 to get always an int.
7669
7670 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7671
7672         * math/libm.map: Move all symbols that are new in glibc 2.1 to
7673         version GLIBC_2.1.
7674
7675 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
7676
7677         * stdio-common/vfscanf.c (inchar): Check c for being EOF before
7678         trying to read another character.
7679
7680 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7681
7682         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
7683         name to lowercase.
7684
7685         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
7686         name to lowercase, add test for big enough buffer.
7687
7688 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7689
7690         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
7691         Make compatible with older kernels.  Patch by Richard Henderson.
7692
7693 1998-02-17 15:10  Ulrich Drepper  <drepper@cygnus.com>
7694
7695         * elf/dl-load.c (open_path): Use __xstat instead of stat.
7696
7697         * localedata/tst-locale.sh: Comment out first test for now.
7698
7699 1998-02-14 14:58  H.J. Lu  <hjl@gnu.org>
7700
7701         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
7702         as 1.
7703         * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7704         Likewise.
7705
7706         * libio/iogetline.c (_IO_getline_info): Renamed from
7707         _IO_getline.
7708         (_IO_getline): Just call _IO_getline_info.
7709
7710         * libio/libioP.h (_IO_getline_info): New declaration.
7711
7712         * libc.map (_IO_getline_info, __write): Added.
7713
7714 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7715
7716         * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
7717         const char* to shut up gcc.
7718
7719 1998-02-17 11:37  Ulrich Drepper  <drepper@cygnus.com>
7720
7721         * elf/dl-open.c (_dl_open): Assign correct value to new->l_global.
7722         Patch forwarded by Cristian Gafton <gafton@redhat.com>.
7723
7724         * math/math.h: Define M_* constants always as `double' and add new
7725         macros M_*l which are of type `long double'.
7726         * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
7727         * sysdeps/libm-ieee754/s_cacosl.c: Likewise.
7728         * sysdeps/libm-ieee754/s_casinhl.c: Likewise.
7729         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
7730         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
7731         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
7732         * sysdeps/libm-ieee754/s_clogl.c: Likewise.
7733         * math/libm-tst.c: Likewise.
7734
7735         * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
7736         define as long double unconditionally.
7737
7738 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7739
7740         * manual/arith.texi (Old-style number conversion): Correct some
7741         typos.
7742
7743 1998-02-16 16:28  H.J. Lu  <hjl@gnu.org>
7744
7745         * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
7746         Restore.
7747
7748         * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.
7749
7750 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
7751
7752         * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
7753         on $(rtld-ldscript).
7754
7755         * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
7756         starting from 0 not only from `from'.
7757         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7758
7759 1998-02-16 17:33  Ulrich Drepper  <drepper@cygnus.com>
7760
7761         * elf/rtld.c (dl_main): Recognize --library-path parameter and
7762         pass value (or NULL) to _dl_init_paths.
7763         * elf/dl-load.c (_dl_init_paths): Change to take one parameter,
7764         replacing local variable llp.  If llp is NULL examine LD_LIBRARY_PATH
7765         environment variable.
7766         * elf/link.h: Change prototype for _dl_init_paths.
7767         * elf/dl-support.c: Pass NULL in _dl_init_paths call.
7768
7769         * localedata/Makefile (distribute): Add test files.
7770
7771 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7772
7773         * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
7774         test1.def, test2.def, test3.def, test4.def}: Simple input files
7775         for localedef. Contributed by Yung-Ching Hsiao
7776         <yhsiao@cae.wisc.edu>.
7777
7778         * localedata/Makefile (tests): Call tst-locale.sh.
7779
7780         * localedata/tst-locale.sh: New file, regression tests for some
7781         localedef problems.
7782
7783 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7784
7785         * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.
7786
7787         * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
7788         terminated.
7789         * nis/nss_nisplus/nisplus-network.c: Likewise.
7790         * nis/nss_nisplus/nisplus-proto.c: Likewise.
7791         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
7792         * nis/nss_nisplus/nisplus-service.c: Likewise.
7793
7794         Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
7795         and support generating thread safe RPC code.
7796         * sunrpc/rpc_main.c: Add changes.
7797         * sunrpc/rpc_clntout.c: Likewise.
7798         * sunrpc/rpc_cout.c: Likewise.
7799         * sunrpc/rpc_hout.c: Likewise.
7800         * sunrpc/rpc_parse.c: Likewise.
7801         * sunrpc/rpc_sample.c: Likewise.
7802         * sunrpc/rpc_scan.c: Likewise.
7803         * sunrpc/rpc_svcout.c: Likewise.
7804         * sunrpc/rpc_util.c: Likewise.
7805         * sunrpc/rpc_util.h: Add new structs and prototypes.
7806         * sunrpc/proto.h: Remove prototypes for static functions.
7807
7808 1998-02-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7809
7810         * locale/programs/ld-messages.c (messages_finish): Don't skip
7811         error checking when being quiet.
7812         * locale/programs/ld-ctype.c (ctype_finish): Likewise.
7813         (set_class_defaults): Likewise.
7814         * locale/programs/charmap.c (parse_charmap): Likewise.
7815         * locale/programs/ld-collate.c (collate_finish): Likewise.
7816         * locale/programs/ld-monetary.c (monetary_finish): Likewise.
7817         * locale/programs/ld-time.c (time_finish): Likewise.
7818         * locale/programs/locfile.c (write_locale_data): Likewise.
7819
7820         * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
7821         unknown characters and empty ranges.
7822         * locale/programs/ld-collate.c (collate_order_elem): When
7823         processing an ellipsis properly form a linked list in the result
7824         table, fix typo when allocating ordering array.
7825         [PR libc/419]
7826
7827 1998-02-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7828
7829         * elf/Makefile (ld-map): Define.
7830         (rtld-ldscript): Define.  Change all `$(objpfx)rtld-ldscript' to
7831         `$(rtld-ldscript)'.
7832         ($(objpfx)ld.so): Combine the two versions of this rule.  Depend
7833         on $(ld-map).
7834         (rtld-link): Combine the two versions of this definition.  Fixed
7835         to make it work when no symbol versioning is used.
7836
7837 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
7838
7839         * Makeconfig (build-program-cmd): Use --library-path parameter to
7840         ld.so instead of environment variable.
7841
7842         * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
7843         * sunrpc/rpc_main.c: Remove support for -$$ option again.
7844
7845 1998-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7846
7847         * Make-dist: Respect with-cvs setting.
7848         * MakeTAGS (all-pot): Likewise.
7849         * sysdeps/sparc/sparc32/Makefile: Likewise.
7850         * sysdeps/mach/hurd/Makefile: Likewise.
7851         * stdlib/Makefile: Likewise.
7852         * posix/Makefile: Likewise.
7853         * intl/Makefile: Likewise.
7854         * po/Makefile (linguas): Likewise
7855
7856 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7857
7858         * nis/ypclnt.c (yp_all): Remove error message, user should print it.
7859
7860 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
7861
7862         * libc.map: Add __strcasecmp.
7863
7864         * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
7865         module.
7866
7867         * nss/getXXent_r.c: If no more module is found don't try to call
7868         setXXent functions but leave unsuccessfully.
7869
7870         * malloc/obstack.h: Cleanups.
7871
7872         * sysdeps/wordsize-32/stdint.h: New file.
7873         * sysdeps/wordsize-64/stdint.h: New file.
7874         * sysdeps/generic/stdint.h: New file.
7875         * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h.
7876         * sysdeps/wordsize-64/inttypes.h: Likewise.
7877         * stdlib/Makefile (headers): Add stdint.h.
7878
7879 1998-02-03  Paul Eggert  <eggert@twinsun.com>
7880
7881         * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.
7882
7883 1998-02-13 17:59  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7884
7885         * timezone: New directory.
7886         * time/README, time/africa, time/antarctica, time/asia,
7887         time/australasia, time/backward, time/checktab.awk,
7888         time/etcetera, time/europe, time/factory, time/ialloc.c,
7889         time/iso3166.tab, time/leapseconds, time/northamerica,
7890         time/pacificnew, time/private.h, time/scheck.c,
7891         time/solar87, time/solar88, time/solar89, time/southamerica,
7892         time/systemv, time/test-tz.c, time/tzfile.h,
7893         time/tzselect.ksh, time/yearistype, time/zdump.c,
7894         time/zic.c, time/zone.tab: Moved to timezone.
7895         * time/tzfile.c: Include tzfile.h from timezone subdir.
7896         * time/tzset.c: Likewise.
7897         * time/Makefile: Cut out all code relating to timezones...
7898         * timezone/Makefile: ...and paste it in here.
7899         * Makefile (subdirs): Add timezone.
7900
7901 1998-02-13 18:45  H.J. Lu  <hjl@gnu.org>
7902
7903         * libc.map (_sys_nerr): Added.
7904
7905         * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it
7906         versioned symbol.
7907
7908 1998-02-15 17:16  Ulrich Drepper  <drepper@cygnus.com>
7909
7910         * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
7911         pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
7912         Reported by Craig Metz <cmetz@inner.net>.
7913
7914 1998-01-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7915
7916         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
7917         instead of strcasecmp.
7918         * nss/nss_files/files-alias.c (get_next_alias): Likewise.
7919
7920         * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8.
7921
7922 1998-02-15 16:55  Ulrich Drepper  <drepper@cygnus.com>
7923
7924         * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
7925         Patch by Dean Gaudet <dgaudet@arctic.org>.
7926
7927 1998-02-15 16:53  Ulrich Drepper  <drepper@cygnus.com>
7928
7929         * sysdeps/generic/Dist: Add getresgid.c and getresuid.c.
7930
7931 1998-02-15 10:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7932
7933         * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel
7934         with no poll syscall, just include the BSD version.
7935         * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a
7936         kernel without the syscall, include the stub version.
7937         * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
7938         * sysdeps/generic/getresuid.c: New file.
7939         * sysdeps/generic/getresgid.c: New file.
7940
7941 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
7942
7943         * stdio-common/vfscanf.c: Correct last change a bit.
7944
7945 1998-02-13 17:39  Ulrich Drepper  <drepper@cygnus.com>
7946
7947         * elf/Makefile: Don't use --version-script parameter to link ld.so
7948         unconditionally.
7949
7950 1998-01-02 04:19  Geoff Keating  <geoffk@ozemail.com.au>
7951
7952         * math/Makefile: Add t_exp.
7953         * math/libm-test.c: Tighten accuracy bounds for exp(), correct
7954         constants.
7955         * math/test-reduce.c: Remove temporarily, it seems to be broken.
7956         * sysdeps/libm-ieee754/e_exp.c: Use accurate table method.
7957         * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for
7958         better accuracy.
7959         * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct
7960         algorithm for very large/very small arguments.
7961         * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial;
7962         correct algorithm for very large/very small arguments; adjust for
7963         new table.
7964         * sysdeps/libm-ieee754/t_exp.c: New file.
7965         * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas.
7966
7967         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test'
7968         back, with comment that explains what breaks when you remove it :-(.
7969
7970         * localedata/xfrm-test.c: Avoid integer overflow.
7971
7972         * stdlib/strfmon.c: char is unsigned, sometimes.
7973
7974         * sysdeps/powerpc/Makefile: Remove quad float support.
7975         * sysdeps/powerpc/q_*.c: Remove, they will become an add-on.
7976         * sysdeps/powerpc/quad_float.h: Likewise.
7977         * sysdeps/powerpc/test-arith.c: Likewise.
7978         * sysdeps/powerpc/test-arithf.c: Likewise.
7979
7980         * sysdeps/generic/s_exp2.c: Remove, we have this implemented now.
7981         * sysdeps/generic/s_exp2f.c: Likewise.
7982
7983         * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__,
7984         don't try anything if _SOFT_FLOAT.
7985
7986 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7987
7988         * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
7989         * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
7990         * wctype/wctype.c: Likewise.
7991         * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
7992         changed.  They are incompatible with the _ISxxx values from
7993         <ctype.h> on little endian machines.
7994         (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
7995         bit number.  This fixes the real bug and restores the integrity of
7996         the ctype locale file.
7997         * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
7998         * wctype/wcfuncs_l.c: Likewise.
7999         * wctype/wcextra.c: Likewise.
8000         * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
8001         byte swapping.
8002
8003 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8004
8005         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it
8006         into .bss segment instead of .common, so that aliases on it work.
8007
8008         * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and
8009         .size directives, put into .bss segment instead of initializing it
8010         to 4.
8011
8012 1998-02-12 08:00  H.J. Lu  <hjl@gnu.org>
8013
8014         * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added.
8015
8016         * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New
8017         functions.
8018         Make names without __ weak aliases.
8019         (__libc_release, __libc_version): Make them static.
8020
8021         * include/gnu/libc-version.h: New file.
8022         * Makefile (headers): Add gnu/libc-version.h.
8023
8024 1998-02-13  Ulrich Drepper  <drepper@cygnus.com>
8025
8026         * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
8027         and use x for member name.
8028         Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
8029
8030         * stdlib/drand48.c: Change according to member name change.
8031         * stdlib/drand48_r.c: Likewise.
8032         * stdlib/lcong48_r.c: Likewise.
8033         * stdlib/lrand48.c: Likewise.
8034         * stdlib/lrand48_r.c: Likewise.
8035         * stdlib/mrand48.c: Likewise.
8036         * stdlib/mrand48_r.c: Likewise.
8037         * stdlib/seed48.c: Likewise.
8038         * stdlib/seed48_r.c: Likewise.
8039         * stdlib/srand48_r.c: Likewise.
8040
8041 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8042
8043         * nss/test-netdb.c: Add some more test cases.
8044
8045 1998-02-13 11:39  Ulrich Drepper  <drepper@cygnus.com>
8046
8047         * libio/iovsscanf.c: Undo last change modifying errno.
8048
8049 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8050
8051         * stdio-common/vfscanf.c: Never try to read another character
8052         after EOF.  Don't decrement read_in after EOF, it wasn't
8053         incremented in the first place.
8054         (NEXT_WIDE_CHAR): Set First, not first.
8055
8056 1998-02-06 07:48  H.J. Lu  <hjl@gnu.org>
8057
8058         * db/Makefile ($(inst_libdir)/libndbm.a,
8059         $(inst_libdir)/libndbm.so): New targets.
8060         * db2/Makefile: Likewise.
8061
8062 1998-02-12 08:20  H.J. Lu  <hjl@gnu.org>
8063
8064         * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak
8065         aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined.
8066
8067 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8068
8069         * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++
8070         <streambuf.h>.
8071         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
8072
8073 1998-02-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8074
8075         * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with
8076         versioned symbols.
8077
8078 1998-02-13 08:14  H.J. Lu  <hjl@gnu.org>
8079
8080         * libc.map (_dl_global_scope, _dl_lookup_symbol_skip,
8081         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip):
8082         Added for libdl.so.
8083
8084 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8085
8086         * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
8087         extra syscall.
8088
8089         * grp/Makefile: Fix logic when checking for thread package.
8090         * pwd/Makefile: Likewise.
8091
8092 1998-02-11 08:23  H.J. Lu  <hjl@gnu.org>
8093
8094         * elf/Makefile (rtld-map): Replaced by libc-map.
8095
8096         * elf/rtld.map: Removed.
8097
8098         * libc.map (__libc_enable_secure, _dl_catch_error,
8099         _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state,
8100         _dl_default_scope, _dl_global_scope_end, _dl_init_next,
8101         _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps,
8102         _dl_object_relocation_scope, _dl_relocate_object,
8103         _dl_signal_error, _dl_starting_up, _dl_sysdep_start,
8104         _r_debug): Added for ld.so.
8105
8106 1998-02-10 08:38  H.J. Lu  <hjl@gnu.org>
8107
8108         * libio/iofclose.c: Check PIC && DO_VERSIONING instead of
8109         DO_VERSIONING.
8110         * libio/iofdopen.c: Ditto.
8111         * libio/iofopen.c: Ditto.
8112         * libio/oldfileops.c: Ditto.
8113
8114         * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for
8115         version GLIBC_2.1.
8116
8117         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed
8118         oldsiglist from sysdep_routines and shared-only-routines.
8119
8120         * sysdeps/unix/sysv/linux/errlist.c: New.
8121         * sysdeps/unix/sysv/linux/errlist.h: New.
8122         * sysdeps/unix/sysv/linux/sizes.h: New.
8123         * sysdeps/unix/sysv/linux/alpha/sizes.h: New.
8124         * sysdeps/unix/sysv/linux/sparc64/sizes.h: New.
8125
8126         * sysdeps/unix/sysv/linux/oldsiglist.c: Removed.
8127
8128         * sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>.
8129         (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size
8130         directive.
8131
8132         * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New.
8133
8134         * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added.
8135         (oldsiglist.c): Removed.
8136
8137         * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New.
8138         (_sys_siglist): Use SYS_SIGLIST instead.
8139         (_sys_nerr): Use SYS_NERR instead.
8140
8141         * sysdeps/gnu/errlist.c: Rebuilt.
8142
8143 1998-02-11 08:35  H.J. Lu  <hjl@gnu.org>
8144
8145         * elf/Makefile (others-static): New, set to ldconfig.
8146         ($(objpfx)ldconfig): Removed.
8147
8148         * Rules (binaries-all, binaries-static, binaries-shared): New.
8149         Create targets for $(binaries-static) and $(binaries-shared).
8150
8151         * Makeconfig (+link-static, link-libc-static,
8152         link-extra-libs-static): New for static linking.
8153
8154 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8155
8156         * manual/memory.texi (Using the Memory Debugger): Fix typo.
8157
8158         * math/libm-test.c (modf_test): Add one more test for modf.
8159
8160 1998-02-11 14:39  Ulrich Drepper  <drepper@happy.cygnus.com>
8161
8162         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
8163         Rename from __libc_have_rt_sigs and leave as COMMON data.
8164
8165 1998-02-11 08:30  H.J. Lu  <hjl@gnu.org>
8166
8167         * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead
8168         of __finite.
8169
8170 1998-02-11 19:16  Richard Henderson  <rth@cygnus.com>
8171
8172         * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
8173
8174 1998-02-11 16:56  Ulrich Drepper  <drepper@happy.cygnus.com>
8175
8176         * misc/tst-efgcvt.c: Add yet more tests.
8177         * misc/efgcvt_r.c: And correct for these tests again.
8178         Reported by HJ Lu.
8179
8180         * isomac.c: Move to...
8181         * stdlib/isomac.c: ...here.
8182         * Makefile: Move rules for handling isomac...
8183         * stdlib/Makefile: ...to here.
8184
8185 1998-02-10 23:57  Ulrich Drepper  <drepper@happy.cygnus.com>
8186
8187         * misc/tst-efgcvt.c: Add more tests.
8188         * misc/efgcvt_r.c: Correct result for above new tests.
8189
8190 1998-02-06 17:22  H.J. Lu  <hjl@gnu.org>
8191
8192         * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
8193         NDIGIT <= 0.
8194
8195 1998-02-10 16:48  Philip Blundell  <pb@nexus.co.uk>
8196
8197         * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
8198         if the programs weren't built.
8199
8200 1998-02-09 10:12  Philip Blundell  <pb@nexus.co.uk>
8201
8202         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
8203         FE_TONEAREST, soldier on regardless and do the best we can.
8204         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
8205
8206 1998-02-5 17:20  Philip Blundell  <pb@nexus.co.uk>
8207
8208         * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
8209         _STDIO_H, before including <bits/stdio_lim.h>.
8210
8211         * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
8212
8213         * io/fts.c (fts_build): Don't try to use d_type if it doesn't
8214         exist.
8215
8216         * sysdeps/arm/sys/ucontext.h: New file.
8217
8218 1998-02-04 10:11  Philip Blundell  <pb@nexus.co.uk>
8219
8220         * manual/stdio.texi (Formatted Output Functions): Explicitly say
8221         that the return value from snprintf() does not count the
8222         terminating NUL as a character.
8223
8224 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
8225
8226         * manual/users.texi: Rewrite to describe correct POSIX behaviour,
8227         add description for sete[ug]id and general cleanup.
8228         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8229
8230 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8231
8232         * Makefile (parent-clean): Don't remove makefile fragments here.
8233         (postclean): New variable.
8234         (clean): Remove makefile fragments here.
8235         (realclean distclean): Likewise.  Pass sysdep-subdirs to sub-make.
8236         (generated): Add isomac and isomanc.out.
8237         * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
8238         avoid-generated is set.
8239         (postclean-generated): Add soversion.mk.
8240         ($(common-objpfx)version.mk): Don't include if avoid-generated is
8241         set.
8242         * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
8243         avoid-generated is set.
8244         (common-generated): Add libc.so and libc.so$(libc.so-version).
8245         (generated): Add versioned libraries.
8246         (common-mostlyclean): Also remove %.so and %_pic.a.
8247         * csu/Makefile (generated): Add abi-tag.h.
8248         * db2/Makefile (extra-objs): Add getlong.o.
8249         * elf/Makefile (generated): Add ld.so, ldd and
8250         $(rtld-installed-name).
8251         (others): Add ldconfig here instead of ldconfig.o to extra-objs.
8252         * malloc/Makefile (generated): Add mtrace.
8253         * po/Makefile: Don't include version.mk, not needed any more.
8254         * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
8255         * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
8256         syscall.h -> sys/syscall.h.
8257         (common-generated): Add s-proto.d.
8258         (postclean-generated): Add sysd-syscalls.
8259         * localedata/Makefile (test-output): Add all output files.
8260         (generated): Add test-input and test-output.
8261         (generated-dirs): Add all the dirs.
8262
8263 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8264
8265         * Makefile (test-output, generated, generated-dirs): New
8266         variables.
8267
8268 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
8269
8270         * resolv/nss_dns/dns-host.c: Various code cleanups.
8271
8272 1998-02-09 08:10  H.J. Lu  <hjl@gnu.org>
8273
8274         * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
8275         From Philip Blundell <pb@nexus.co.uk>.
8276         * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
8277
8278 1998-02-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8279
8280         * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
8281         Suggested by debian/sparc porters.
8282
8283 1998-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8284
8285         * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
8286         for ecvt and fcvt.
8287
8288 1998-02-10 16:32  Ulrich Drepper  <drepper@happy.cygnus.com>
8289
8290         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
8291         __fxstat instead of stat and fstat.  Use namespace clean __stpcpy.
8292
8293         * signal/signal.h: Always define sigset_t if __need_sigset_t is
8294         defined even if __USE_POSIX is not defined.
8295
8296 1998-02-02 20:51  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8297
8298         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
8299         to support obsolete tty major numbers correctly.
8300
8301 1998-02-02 08:47  H.J. Lu  <hjl@gnu.org>
8302
8303         * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
8304         directory first and ignore install error.
8305
8306         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
8307         128 from ptyno and fix a typo for the BSD style pty.
8308
8309 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8310
8311         * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
8312         syscalls.list's.
8313
8314 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8315
8316         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
8317         getresuid and getresgid.
8318
8319         * sysdeps/unix/sysv/linux/getresuid.c: New file.
8320         * sysdeps/unix/sysv/linux/getresgid.c: New file.
8321
8322         * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
8323         s_getres[ug]id.
8324
8325         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
8326         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8327         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8328         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
8329
8330 1998-02-02 08:11  H.J. Lu  <hjl@gnu.org>
8331
8332         * nscd/grpcache.c: Include <stdlib.h>.
8333
8334 1998-02-01 16:01  H.J. Lu  <hjl@gnu.org>
8335
8336         * stdlib/atoll.c: Fix comments.
8337
8338         * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
8339         * sysdeps/posix/ttyname_r.c: Ditto.
8340
8341 1998-02-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8342
8343         * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
8344         __USE_MISC, independent of __USE_UNIX98.
8345
8346 1998-02-10 19:18  Ulrich Drepper  <drepper@happy.cygnus.com>
8347
8348         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
8349         Rename from __libc_have_rt_sigs and leave as COMMON data.
8350
8351 1998-02-04 11:58  Richard Henderson  <rth@twiddle.rth.home>
8352
8353         * Makeconfig (CFLAGS-.os): Kill -fno-common.
8354         * Makerules (libc.so): Prelink libc_pic.a, allocating commons.
8355
8356         * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
8357         * elf/rtld.map: New file.  Needed to define the GLIBC_2.*
8358         version symbols.
8359         * include/libc-symbols.h (symbol_version, default_symbol_version):
8360         Provide asm versions and correct !DO_VERSIONING versions.
8361         * sysdeps/unix/make-syscalls.sh: Recognize version symbols in
8362         the weak symbol list.
8363
8364         * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
8365         Rename from __libc_have_rt_sigs and leave as COMMON data.
8366         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
8367         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8368         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8369
8370 1998-02-04 16:41  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8371
8372         * sunrpc/Makefile: Correct dependencies of rpcgen.
8373
8374 1998-02-10 03:00  Ulrich Drepper  <drepper@happy.cygnus.com>
8375
8376         * nscd/Makefile: Fix test for available linuxthreads add-on.
8377         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8378
8379 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8380
8381         * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
8382
8383 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8384
8385         * sysdeps/gnu/Makefile: Respect with-cvs variable.
8386
8387         * manual/errno.texi (Error Messages): Correct description of
8388         strerror_r.  Pointed out by jonas@bagge.se.
8389
8390 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8391
8392         * manual/socket.texi (Host Address Functions): Clarify description
8393         of inet_network.
8394
8395 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8396
8397         * sysdeps/unix/grantpt.c (argv): Move const to toplevel.
8398         (grantpt): Delete superfluous cast.
8399
8400 1998-02-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8401
8402         * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
8403         elf/ldso_install instead of elf/subdir_install.
8404         (elf/ldso_install): New target.
8405
8406         * elf/Makefile (ldso_install): New target.
8407
8408 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8409
8410         * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
8411         of 1998-01-06.
8412
8413 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8414
8415         * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
8416         constant expressions.
8417
8418 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8419
8420         * nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
8421         for __nss_configure_lookup.
8422         (output_hostent): Remove unused variable.
8423
8424 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8425
8426         * string/tst-inlcall.c: Fix format string.
8427
8428 1998-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8429
8430         * inet/netinet/in.h: Rename second parameter of bindresvport to
8431         avoid buggy gcc warning. [PR libc/412]
8432
8433 1998-02-04 18:04  Richard Henderson  <rth@cygnus.com>
8434
8435         * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
8436         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
8437
8438         * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
8439         Follow POSIX and make tv_sec a time_t.
8440         * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
8441         new tv64 syscall as well as fall back to tv32.
8442         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
8443         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
8444         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
8445         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
8446         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
8447         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
8448         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
8449         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
8450
8451         * include/rpcsvc/nis.h: New.  Bounce to nis/rpcsvc.
8452         * include/rpcsvc/nis_tags.h: Likewise.
8453         * include/rpcsvc/nislib.h: Likewise.
8454
8455 1998-02-02 01:12  Ulrich Drepper  <drepper@cygnus.com>
8456
8457         * libc.map: Add _h_errno.
8458         * inet/herrno.c: Make _h_errno weak alias.
8459
8460         * login/Makefile (distribute): Add pty-internal.h.
8461
8462         * nscd/Makefile (distribute): Add all the files missing.
8463
8464         * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
8465         are available.
8466
8467         * stdio-common/tstscanf.c: Rewrite a bit to continue after errors
8468         and report status at the end.
8469
8470         * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
8471
8472         * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
8473         variable.
8474         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
8475         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
8476         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
8477
8478 1998-01-03 20:47  Mark Kettenis  <kettenis@phys.uva.nl>
8479
8480         * configure.in: Fix --enable-add-ons code.
8481
8482 1998-02-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8483
8484         * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
8485         by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
8486         [PR libc/441]
8487
8488         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
8489         occurence in cache.  Reported by Rudolf Leitgeb
8490         <leitgeb@leland.stanford.edu>.
8491         [PR libc/440]
8492
8493 1998-02-01 21:18  Ulrich Drepper  <drepper@cygnus.com>
8494
8495         * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
8496         that it never is EINTR (which is tested for in _IO_vfscanf).
8497
8498         * Makefile.in: Call sub-make with CVSOPTS.
8499
8500         * elf/Makefile (distribute): Add dl-procinfo.h.
8501
8502         * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.
8503
8504 1998-02-01 15:54  Ulrich Drepper  <drepper@cygnus.com>
8505
8506         * version.h (VERSION): Bump to 2.0.92.
8507
8508 1998-01-31  Phil Blundell  <philb@gnu.org>
8509
8510         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
8511         alias for __new_sys_siglist.
8512
8513 1998-02-01 00:53  Ulrich Drepper  <drepper@cygnus.com>
8514
8515         * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
8516         getgrgid_r.c if thread package is available.
8517         * pwd/Makefile: Likewise.
8518         * grp/getgrnam_r.c: Remove USE_NSCD definition.
8519         * grp/getgrgid_r.c: Likewise.
8520         * pwd/getpwnam_r.c: Likewise.
8521         * pwd/getpwuid_r.c: Likewise.
8522
8523 1998-01-31 23:46  Ulrich Drepper  <drepper@cygnus.com>
8524
8525         * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
8526         with error to allow user intervention.
8527         * nss/getXXent_r.c: Likewise.
8528
8529 1998-01-31 21:18  Ulrich Drepper  <drepper@cygnus.com>
8530
8531         * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
8532         AT_PLATFORM string.  Pretty print AT_BASE info.
8533
8534         * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
8535         (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
8536         * sysdeps/generic/dl-procinfo.h: New file.
8537         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
8538
8539 1998-01-31 20:52  Ulrich Drepper  <drepper@cygnus.com>
8540
8541         * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.
8542
8543         * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
8544         thread and not pthread_detach.
8545
8546         * nscd/nscd.c: Rewrite to use argp instead of getopt.
8547
8548 1998-01-31  Phil Blundell  <philb@gnu.org>
8549
8550         * configure.in: Add --without-cvs option to suppress automatic
8551         checkin of regenerated files.
8552         * config.make.in: Likewise.
8553         * Makefile: Respect with-cvs setting.
8554         * Makerules: Likewise.
8555
8556         * configure.in: Allow the standalone ARM port to be configured.
8557
8558 1998-01-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8559
8560         * grp/getgrgid_r.c: Define USE_NSCD.
8561         * grp/getgrnam_r.c: Likewise.
8562         * pwd/getpwuid_r.c: Likewise.
8563         * pwd/getpwnam_r.c: Likewise.
8564
8565         * sysdeps/unix/inet/Subdirs: Add nscd subdir.
8566
8567         * nss/getXXbyYY_r.c: Try at first nscd.
8568
8569         * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
8570         * nscd/connections.c: New file.
8571         * nscd/dbg_log.c: New file.
8572         * nscd/dbg_log.h: New file.
8573         * nscd/grpcache.c: New file.
8574         * nscd/nscd.c: New file.
8575         * nscd/nscd.h: New file.
8576         * nscd/nscd_conf.c: New file.
8577         * nscd/nscd_stat.c: New file.
8578         * nscd/pwdcache.c: New file.
8579
8580         * nscd/nscd_getgr_r.c: New, client code, linked into libc.
8581         * nscd/nscd_getpw_r.c: Likewise.
8582         * nscd/nscd_proto.h: New, prototypes for client functions.
8583
8584         * nscd/nscd.conf: New, example for a configuration file.
8585         * nscd/nscd.init: New, example for a startup script.
8586
8587         * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
8588         avoid deadlocks.
8589         * nscd/getgrnam_r.c: Likewise.
8590         * nscd/getpwnam_r.c: Likewise.
8591         * nscd/getpwuid_r.c: Likewise.
8592
8593 1998-01-31 11:44  Ulrich Drepper  <drepper@cygnus.com>
8594
8595         * intl/Makefile: Use CVSOPTS in cvs invocation.
8596         * po/Makefile: Likewise.
8597         * posix/Makefile: Likewise.
8598         * stdlib/Makefile: Likewise.
8599
8600 1998-01-31 11:18  Ulrich Drepper  <drepper@cygnus.com>
8601
8602         * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
8603         [PR libc/410]
8604         * misc/Makefile (tests): Add tst-efgcvt.
8605         * misc/tst-efgcvt.c: New file.
8606
8607 1998-01-31 00:21  Ulrich Drepper  <drepper@cygnus.com>
8608
8609         * posix/regex.c: Add some more cleanups by Akim Demaille.
8610
8611 1998-01-30 23:55  Ulrich Drepper  <drepper@cygnus.com>
8612
8613         * signal/signal.h: Revert last change.
8614         * string/strsignal.c: Regard signal number NSGI as illegal.
8615         * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
8616         members.
8617
8618 1998-01-30 23:37  Ulrich Drepper  <drepper@cygnus.com>
8619
8620         * Makefile.in: Add comment about CVSOPTS Makefile variable.
8621         * Makerules: Use CVSOPTS in cvs invocation.
8622         * Makefile: Likewise.
8623         * MakeTAGS: Likewise.
8624         * Make-dist: Likewise.
8625
8626 1998-01-30 22:37  Ulrich Drepper  <drepper@cygnus.com>
8627
8628         * sysdeps/generic/memmem.c: Correct last change.
8629
8630 1998-01-30 22:12  Ulrich Drepper  <drepper@cygnus.com>
8631
8632         * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
8633         CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
8634
8635 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8636
8637         * nis/ypclnt.c: Try at first to use the binding file from ypbind
8638         before using RPC.
8639
8640 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8641
8642         * manual/memory.texi (Heap Consistency Checking): mcheck is
8643         declared in <mcheck.h>.
8644         Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
8645
8646 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8647
8648         * sysdeps/generic/memmem.c (memmem): An empty needle is at the
8649         beginning of haystack.
8650
8651 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8652
8653         * nss/nss_files/files-service.c: Correct last patch.
8654
8655 1998-01-30 21:29  Ulrich Drepper  <drepper@cygnus.com>
8656
8657         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
8658         __libc_have_rt_sigs.
8659         * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
8660         including <bits/setjmp.h>.
8661         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
8662         Patch from the Debian glibc/SPARC package.
8663
8664 1997-12-12 07:57  H.J. Lu  <hjl@gnu.org>
8665
8666         * sysdeps/alpha/bzero.S: Fix a typo.
8667         * sysdeps/alpha/htonl.S: Ditto.
8668         * sysdeps/alpha/htons.S: Ditto.
8669
8670 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8671
8672         * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
8673
8674 1998-01-30 19:58  Ulrich Drepper  <drepper@cygnus.com>
8675
8676         * include/cpio.h: Move to ...
8677         * posix/cpio.h: ...here.
8678
8679         * locale/programs/ld-collate.c: Fix typo.
8680
8681         * signal/signal.h: Declare _sys_siglist with NSIG+1 elements.
8682
8683         * stdio-common/tiformat.c: Add checks for %#.0o and friends.
8684
8685         * login/utmp_file.c (pututline_file): Don't always report success
8686         if similar entry is found.  Patch by Mark M. Kettenis.
8687
8688 1998-01-30 16:06  Philip Blundell  <pb@nexus.co.uk>
8689
8690         * manual/Makefile: Don't try to install the info files if makeinfo
8691         is not available.
8692
8693 1998-01-30 12:05  Philip Blundell  <pb@nexus.co.uk>
8694
8695         * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
8696         kernel's network ioctls, rather than using <linux/sockios.h> to
8697         get them.  This way we are sure of maintaining compatibility if
8698         the kernel interface should change.
8699
8700 1998-01-30 15:52  Ulrich Drepper  <drepper@cygnus.com>
8701
8702         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
8703
8704 1998-01-25 19:54  Philip Blundell  <Philip.Blundell@pobox.com>
8705
8706         * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
8707         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
8708
8709 1998-01-27 22:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8710
8711         Implement System V pseudoterminal handling.
8712
8713         * login/Makefile
8714         (routines): Add getpt, grantpt, unlockpt, ptsname.
8715         (libutil-routines): Remove pty. Add openpty, forkpty.
8716         (distribute): New internal header pty-internal.h.
8717         (others): Add the helper program, pt_chown.
8718         (install-others): Install it, in $(libexecdir), mode 4755.
8719
8720         * login/pty-internal.h: New file.
8721         * login/openpty.c: New file.
8722         * login/forkpty.c: New file.
8723         * login/programs/pt_chown.c: New file.
8724
8725         * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
8726         * stdlib/stdlib.h: Prototype them.
8727
8728         * config.make.in: Define $(libexecdir).
8729         * Makeconfig: Define $(inst_libexecdir).
8730
8731         * sysdeps/generic/pty.c: Removed.
8732         * sysdeps/unix/sysv/linux/pty.c: Removed.
8733
8734         * sysdeps/generic/getpt.c: Stub out.
8735         * sysdeps/generic/grantpt.c: Likewise.
8736         * sysdeps/generic/ptsname.c: Likewise.
8737         * sysdeps/generic/unlockpt.c: Likewise.
8738
8739         * sysdeps/unix/grantpt.c: New file.
8740         * sysdeps/unix/bsd/getpt.c: New file.
8741         * sysdeps/unix/bsd/unlockpt.c: New file.
8742         * sysdeps/unix/sysv/linux/getpt.c: New file.
8743         * sysdeps/unix/sysv/linux/ptsname.c: New file.
8744         * sysdeps/unix/sysv/linux/unlockpt.c: New file.
8745
8746 1998-01-29 23:56  Ulrich Drepper  <drepper@cygnus.com>
8747
8748         * localedata/locales/ru_RU: Fix YESEXPR.  Patch by lav@yars.free.net.
8749
8750 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8751
8752         * nss/Makefile (tests): Add rule for test-netdb.c.
8753
8754         * nss/test-netdb.c: New file.
8755
8756 1998-01-29 02:38  Ulrich Drepper  <drepper@cygnus.com>
8757
8758         * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
8759         really kept as a variable.  Patch by Richard Henderson,
8760         reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
8761
8762         * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
8763         * elf/genrtldtbl.awk: Mark machine dependent directory of generated
8764         entries as not existing.
8765
8766 1998-01-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8767
8768         * stdio-common/vfprintf.c (process_arg): Fix printing of octal
8769         zero in alternate form with precision of zero, which must produce
8770         "0".  Add braces to avoid ambiguous `else'.
8771
8772 1998-01-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8773
8774         * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
8775         problem with strncpy.
8776         * nis/nss_compat/compat-pwd.c: Likewise.
8777         * nis/nss_compat/comapt-spwd.c: Likewise.
8778
8779 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8780
8781         * assert/assert.h (assert_perror): Correct test for errnum.  Patch
8782         by uch@nop.or.jp. [PR libc/437]
8783
8784 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8785
8786         * nis/nis_cache.c: Include <unistd.h> for declaration of close.
8787
8788 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8789
8790         * stdio-common/test-popen.c: Include <errno.h>.
8791
8792         * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
8793         close.
8794
8795         * inet/getnetgrent_r.c: Include <errno.h>.
8796
8797         * db2/db/db_conv.c: Include <string.h> for memcpy.
8798
8799         * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
8800         so that memcpy is declared.
8801
8802         * iconv/iconv_open.c: Include <stdlib.h> for alloca.
8803
8804         * misc/init-misc.c: Remove unneeded inclusion of <errno.h>.
8805
8806 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8807
8808         * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
8809         overflow while reading line with fgets.
8810         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
8811
8812 1998-01-27 00:46  Ulrich Drepper  <drepper@cygnus.com>
8813
8814         * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
8815         unsigned short, not short.
8816         Reported by Andreas Jaeger.
8817
8818 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8819
8820         * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
8821         (ccept->accept).
8822
8823         * sysdeps/generic/inttypes.h: Fix spelling.
8824
8825 1998-01-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8826
8827         * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.
8828
8829         * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
8830
8831 1998-01-27 00:30  Ulrich Drepper  <drepper@cygnus.com>
8832
8833         * stdio-common/printf.h (struct print_info): Add new bitfield is_char.
8834         * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
8835         field for hh modifier.
8836         * stdio-common/vfprint.c: Use is_char field and do not depend in
8837         is_short having the value 2.
8838         Bug reported by Andreas Jaeger.
8839
8840 1998-01-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8841
8842         * libio/freopen.c (freopen): Call _IO_old_freopen only if defined
8843         PIC && DO_VERSIONING.
8844
8845 1998-01-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8846
8847         * Rules: Add rules for $(common-objpfx)dummy$o.
8848
8849 1998-01-26  Richard Henderson  <rth@cygnus.com>
8850
8851         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
8852         unimplemented OSF/1 definitions so that they are not accidentally seen.
8853
8854         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
8855         of the trampoline function into the macro.
8856         * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
8857         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
8858         kernel 2.1.82 has this fixed.
8859
8860         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
8861         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
8862
8863 1998-01-26  Ulrich Drepper  <drepper@cygnus.com>
8864
8865         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
8866         support sigaction on kernels > 2.1.7x.
8867
8868 1998-01-01 13:52  Ulrich Drepper  <drepper@cygnus.com>
8869
8870         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
8871         if it is empty.
8872
8873         * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
8874         Patch by David Engel <david@sw.ods.com>.
8875
8876         * configure.in: Fix another typo in --enable-add-ons code.
8877
8878 1998-01-26 03:48  Ulrich Drepper  <drepper@cygnus.com>
8879
8880         * sysdeps/unix/sysv/linux/siglist.c: Add copyright text.
8881
8882 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8883
8884         * nss/nss_files/files-network.c: Correct order of parameters for
8885         getnetbyaddr.
8886
8887 1998-01-26 00:57  Ulrich Drepper  <drepper@cygnus.com>
8888
8889         * db2/Makefile (routines): Add os_alloc.
8890         * db2/db.h: Update from db-2.3.16.
8891         * db2/db_185.h: Likewise.
8892         * db2/db_int.h: Likewise.
8893         * db2/btree/bt_close.c: Likewise.
8894         * db2/btree/bt_cursor.c: Likewise.
8895         * db2/btree/bt_delete.c: Likewise.
8896         * db2/btree/bt_open.c: Likewise.
8897         * db2/btree/bt_page.c: Likewise.
8898         * db2/btree/bt_put.c: Likewise.
8899         * db2/btree/bt_rec.c: Likewise.
8900         * db2/btree/bt_recno.c: Likewise.
8901         * db2/btree/btree_auto.c: Likewise.
8902         * db2/common/db_appinit.c: Likewise.
8903         * db2/common/db_apprec.c: Likewise.
8904         * db2/common/db_err.c: Likewise.
8905         * db2/common/db_region.c: Likewise.
8906         * db2/common/db_shash.c: Likewise.
8907         * db2/db/db.c: Likewise.
8908         * db2/db/db_auto.c: Likewise.
8909         * db2/db/db_conv.c: Likewise.
8910         * db2/db/db_dispatch.c: Likewise.
8911         * db2/db/db_dup.c: Likewise.
8912         * db2/db/db_pr.c: Likewise.
8913         * db2/db/db_rec.c: Likewise.
8914         * db2/db185/db185.c: Likewise.
8915         * db2/dbm/dbm.c: Likewise.
8916         * db2/hash/hash.c: Likewise.
8917         * db2/hash/hash_auto.c: Likewise.
8918         * db2/hash/hash_dup.c: Likewise.
8919         * db2/hash/hash_page.c: Likewise.
8920         * db2/hash/hash_rec.c: Likewise.
8921         * db2/include/btree_ext.h: Likewise.
8922         * db2/include/clib_ext.h: Likewise.
8923         * db2/include/common_ext.h: Likewise.
8924         * db2/include/db.h.src: Likewise.
8925         * db2/include/db_185.h.src: Likewise.
8926         * db2/include/db_am.h: Likewise.
8927         * db2/include/db_ext.h: Likewise.
8928         * db2/include/db_int.h.src: Likewise.
8929         * db2/include/hash_ext.h: Likewise.
8930         * db2/include/lock_ext.h: Likewise.
8931         * db2/include/log.h: Likewise.
8932         * db2/include/log_auto.h: Likewise.
8933         * db2/include/log_ext.h: Likewise.
8934         * db2/include/mp.h: Likewise.
8935         * db2/include/mp_ext.h: Likewise.
8936         * db2/include/mutex_ext.h: Likewise.
8937         * db2/include/os_ext.h: Likewise.
8938         * db2/include/os_func.h: Likewise.
8939         * db2/include/txn_ext.h: Likewise.
8940         * db2/lock/lock.c: Likewise.
8941         * db2/lock/lock_util.c: Likewise.
8942         * db2/log/log.c: Likewise.
8943         * db2/log/log.src: Likewise.
8944         * db2/log/log_archive.c: Likewise.
8945         * db2/log/log_auto.c: Likewise.
8946         * db2/log/log_get.c: Likewise.
8947         * db2/log/log_put.c: Likewise.
8948         * db2/log/log_rec.c: Likewise.
8949         * db2/log/log_register.c: Likewise.
8950         * db2/mp/mp_bh.c: Likewise.
8951         * db2/mp/mp_fget.c: Likewise.
8952         * db2/mp/mp_fopen.c: Likewise.
8953         * db2/mp/mp_fput.c: Likewise.
8954         * db2/mp/mp_pr.c: Likewise.
8955         * db2/mp/mp_sync.c: Likewise.
8956         * db2/mutex/mutex.c: Likewise.
8957         * db2/os/os_alloc.c: Likewise.
8958         * db2/os/os_config.c: Likewise.
8959         * db2/os/os_stat.c: Likewise.
8960         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
8961         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
8962         * db2/progs/db_load/db_load.c: Likewise.
8963         * db2/progs/db_printlog/db_printlog.c: Likewise.
8964         * db2/progs/db_recover/db_recover.c: Likewise.
8965         * db2/progs/db_stat/db_stat.c: Likewise.
8966         * db2/txn/txn.c: Likewise.
8967
8968         * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
8969         Unmap memory blocks in reverse order of allocation.
8970         Call munmap with load address added to offset.
8971         Bug reported by Miguel de Icaza.
8972
8973         * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
8974         up weight array.
8975
8976         * localedata/locales/cs_CZ: Update by Michael Mraka
8977         <michael@informatics.muni.cz>.
8978
8979         * misc/sys/syslog.h: Reformat a bit.  Don't declare vsyslog unless
8980         __USE_BSD.
8981
8982         * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
8983         reading line with fgets.
8984         * nis/nss_compat/compat-pwd.c: Likewise.
8985         * nis/nss_compat/compat-spwd.c: Likewise.
8986         * nss/nss_files/files-XXX.c: Likewise.
8987         * nss/nss_files/files-alias.c: Likewise.
8988         * shadow/fgetspent_r.c: Likewise.
8989
8990         * string/strerror_r.c: Correct comment.  Patch by Andreas Jaeger.
8991
8992         * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
8993         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
8994         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
8995
8996         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
8997         FP register content in ucontext_t.
8998
8999 1998-01-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9000
9001         * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
9002         calculation.  Patch by Markus Schoder
9003         <Markus.Schoder@dresdner-bank.de>.
9004
9005         * math/libm-test.c (modf_test): Add more tests for modf.
9006
9007         * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
9008         munlock according to Unix98.
9009
9010 1998-01-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9011
9012         * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
9013         AF_INET.
9014
9015 1998-01-21 07:22  H.J. Lu  <hjl@gnu.org>
9016
9017         * sysdeps/posix/ttyname.c: Handle symbolic links.
9018         * sysdeps/posix/ttyname_r.c: Ditto.
9019
9020 1998-01-25 19:39  Ulrich Drepper  <drepper@cygnus.com>
9021
9022         * db2/makedb.c (process_input): Write terminating \0 for value.
9023         (print_database): Simply print value string, don't use length.
9024
9025 1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9026
9027         * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
9028         exit of loop.
9029
9030 1998-01-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9031
9032         * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
9033         close all sockets.
9034
9035 1998-01-25 14:54  Ulrich Drepper  <drepper@cygnus.com>
9036
9037         * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
9038         sigset.
9039         * signal/sighold.c: New file.
9040         * signal/sigrelse.c: New file.
9041         * sysdeps/generic/sigignore.c: New file.
9042         * sysdeps/generic/sigset.c: New file.
9043         * sysdeps/posix/sigignore.c: New file.
9044         * sysdeps/posix/sigset.c: New file.
9045         * signal/signal.h: Add prototypes for new functions.
9046
9047         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
9048         * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
9049         * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
9050         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
9051
9052 1998-01-23 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
9053
9054         * posix/wordexp.c: Added IFS field-splitting in parameter and
9055         command substitution.  Fixed an IFS-related bug that caused an
9056         infinite loop.
9057
9058 1998-01-25 12:38  Ulrich Drepper  <drepper@cygnus.com>
9059
9060         * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
9061         and swapcontext.
9062         * stdlib/ucontext.h: Correct prototypes.
9063         * sysdeps/generic/getcontext.c: New file.
9064         * sysdeps/generic/setcontext.c: New file.
9065         * sysdeps/generic/makecontext.c: New file.
9066         * sysdeps/generic/swapcontext.c: New file.
9067         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
9068
9069 1998-01-25 04:07  Ulrich Drepper  <drepper@cygnus.com>
9070
9071         * resource/sys/resource.h: Remove #include of ulimit.h which is
9072         not allowed by SUSv2 and not available on other systems.
9073         * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
9074
9075         * streams/Makefile: New file.
9076         * streams/stropts.h: New file.
9077         * sysdeps/generic/bits/stropts.h: New file.
9078         * sysdeps/generic/isastream.c: New file.
9079         * sysdeps/generic/getmsg.c: New file.
9080         * sysdeps/generic/getpmsg.c: New file.
9081         * sysdeps/generic/putmsg.c: New file.
9082         * sysdeps/generic/putpmsg.c: New file.
9083         * sysdeps/generic/fattach.c: New file.
9084         * sysdeps/generic/fdetach.c: New file.
9085         * sysdeps/unix/inet/Subdirs: Add streams.
9086         * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
9087         __t_uscalar_t.
9088         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9089         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
9090         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
9091         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
9092
9093         * sysdeps/mach/_strerror.c: Follow changes of generic version to
9094         handle small buffers correctly.
9095
9096 1998-01-24 17:31  H.J. Lu  <hjl@gnu.org>
9097
9098         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
9099         Remove the 3rd arg and add declaration for _dl_runtime_resolve
9100         and _dl_runtime_profile.
9101
9102 1998-01-25 02:42  Ulrich Drepper  <drepper@cygnus.com>
9103
9104         * include/cpio.h: New file.  Mainly copied from GNU cpio.
9105         * posix/Makefile (headers): Add cpio.h.
9106
9107 1998-01-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9108
9109         * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
9110         to routines.
9111         * nis/nis_cache.c: New file.
9112         * nis/nis_cache2.h: New file.
9113         * nis/nis_cache2_xdr.c: New file.
9114         * nis/nis_call.c: Changes for cache2_info parameter.
9115         * nis/nis_checkpoint.c: Likewise.
9116         * nis/nis_intern.h: Likewise.
9117         * nis/nis_mkdir.c: Likewise.
9118         * nis/nis_ping.c: Likewise.
9119         * nis/nis_rmdir.c: Likewise.
9120         * nis/nis_server.c: Likewise.
9121         * nis/nis_util.c: Likewise.
9122
9123 1997-12-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9124
9125         * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
9126         return/errnop codes.
9127         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
9128         * nis/nss_nisplus/nisplus-grp.c: Likewise.
9129         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
9130         * nis/nss_nisplus/nisplus-proto.c: Likewise.
9131         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
9132         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
9133         * nis/nss_nisplus/nisplus-rpc.c: Likewise
9134         * nis/nss_nisplus/nisplus-service.c: Likewise.
9135         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
9136
9137 1997-12-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9138
9139         * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
9140         * nis/nss_nis/nis-ethers.c: Likewise.
9141         * nis/nss_nis/nis-grp.c: Likewise.
9142         * nis/nss_nis/nis-hosts.c: Likewise.
9143         * nis/nss_nis/nis-network.c: Likewise.
9144         * nis/nss_nis/nis-proto.c: Likewise.
9145         * nis/nss_nis/nis-hosts.c: Likewise.
9146         * nis/nss_nis/nis-network.c: Likewise.
9147         * nis/nss_nis/nis-proto.c: Likewise.
9148         * nis/nss_nis/nis-publickey.c: Likewise.
9149         * nis/nss_nis/nis-pwd.c: Likewise.
9150         * nis/nss_nis/nis-rpc.c: Likewise.
9151         * nis/nss_nis/nis-service.c: Likewise.
9152         * nis/nss_nis/nis-spwd.c: Likewise.
9153
9154 1998-01-24  Ulrich Drepper  <drepper@cygnus.com>
9155
9156         * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
9157         Added to follow latest kernel development.
9158
9159 1998-01-24 15:13  Ulrich Drepper  <drepper@happy.cygnus.com>
9160
9161         * nss/db-Makefile: Handle empty and comment lines better.
9162         ($(VAR_DB)/services.db): Generate entries with missing protocol
9163         value.
9164
9165 1998-01-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9166
9167         * nss/nss_files/files-service.c (getservbyport): Allow proto ==
9168           NULL.
9169           (getservbyname): Allow proto == NULL.
9170           Pointed out by David N. Welton <davidw@gate.cks.com>.
9171           [PR libc/430].
9172
9173 1998-01-24 11:34  Ulrich Drepper  <drepper@happy.cygnus.com>
9174
9175         * nis/nislib/nislib.h: Finally removed.
9176
9177         * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
9178         C compiler.  From Kaveh Ghazi.
9179         (TYPE_MINIMUM): Define.
9180         (TYPE_MAXIMUM): Define.
9181         (TIME_T_MIN): Use TYPE_MINIMUM.
9182         (TIME_T_MAX): Use TYPE_MAXIMUM.
9183         Patch by Jim Meyering <meyering@ascend.com>.
9184
9185 1998-01-22 00:55  Ulrich Drepper  <drepper@happy.cygnus.com>
9186
9187         * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
9188         __pread64, __pwrite64, and __getpid.
9189
9190         * rt/aio_misc.c: Use pread and pwrite instead of __ protected
9191         versions.
9192
9193 1998-01-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9194
9195         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
9196         cancelable socket functions as __libc_xxx with __xxx as weak
9197         alias.
9198         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
9199         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9200
9201         * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
9202         redefined.
9203         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9204         * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
9205         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
9206         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
9207
9208         * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
9209         and __xxx a weak alias.
9210         * sysdeps/unix/sysv/linux/connect.S: Likewise.
9211         * sysdeps/unix/sysv/linux/recv.S: Likewise.
9212         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
9213         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
9214         * sysdeps/unix/sysv/linux/send.S: Likewise.
9215         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
9216         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
9217
9218 1998-01-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9219
9220         * locale/langinfo.h: Add defines.
9221
9222         * dirent/dirent.h: Add defines for DT_*, check also for
9223         _DIRENT_HAVE_D_TYPE.
9224         Suggested by Roland McGrath.
9225
9226 1998-01-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9227
9228         * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
9229         Update from Linux 2.1.73+79.
9230
9231         * README.template: Update information about possible
9232         configurations.
9233
9234         * manual/mbyte.texi (Wide String Conversion): Fix declaration of
9235         wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
9236         [PR libc/417].
9237
9238         * manual/time.texi (Priority): Correct description of
9239         PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
9240         [PR libc/416].
9241
9242 11998-01-21 21:34  Ulrich Drepper  <drepper@cygnus.com>
9243
9244         * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
9245         FP_ILOGNAN.   Patch by a sun <asun@zoology.washington.edu>.
9246
9247 1998-01-21 17:53  Ulrich Drepper  <drepper@cygnus.com>
9248
9249         * sysdeps/generic/_strerror.c: Handle BUFLEN == 0.  Reported by
9250         Andreas Jaeger.
9251
9252 1998-01-20 18:13  Ulrich Drepper  <drepper@cygnus.com>
9253
9254         * locale/programs/ld-collate.c: Little optimizations.
9255
9256         * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
9257
9258         * string/Makefile (tests): Add tst-inlcall.
9259         * string/tst-inlcall.c: New file.
9260
9261         * string/strsignal.c: Add support for real-time signals.
9262
9263         * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
9264         presense of small buffer.
9265
9266         * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
9267
9268         * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
9269         for i686.
9270
9271         * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
9272         _NSIG + 1.
9273
9274 1998-01-02 15:10  Matthias Urlichs   <urlichs@noris.de>
9275
9276         * Rules: Add explicit rule for dummy.o; at least one library needs
9277           it and it isn't autogenerated by the default rules.
9278
9279 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9280
9281         * math/libm-test.c: Tweak epsilons.
9282
9283 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9284
9285         * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
9286         child.
9287         (feenv_mask_test): Likewise.
9288
9289 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9290
9291         * Makeconfig: Don't export CPPFLAGS.
9292
9293 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9294
9295         * sunrpc/rpc_main.c (parseargs): Use perror to print error
9296         message.
9297
9298 1998-01-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9299
9300         * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
9301         terminating null in key size.
9302
9303 1998-01-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9304
9305         * nss/nss_files/files-service.c: Fix allocation size to include
9306         length of PROTO.
9307
9308         * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
9309         applicable.  Fix return value and error checking.
9310         (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
9311         unparsable lines.
9312         (DB_LOOKUP): Allocate space for terminating null byte.
9313
9314         * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
9315         uids specially.
9316
9317         * db2/makedb.c (process_input): Continue processing if a duplicate
9318         key is encountered.
9319
9320 1998-01-19 15:20  Ulrich Drepper  <drepper@cygnus.com>
9321
9322         * time/tzfile.h: Updated from tzcode1998b.
9323         * time/zdump.c: Likewise.
9324         * time/zic.c: Likewise.
9325         * time/africa: Update from tzdata1998b.
9326         * time/antarctica: Likewise.
9327         * time/asia: Likewise.
9328         * time/australasia: Likewise.
9329         * time/etcetera: Likewise.
9330         * time/europe: Likewise.
9331         * time/leapseconds: Likewise.
9332         * time/northamerica: Likewise.
9333         * time/southamerica: Likewise.
9334
9335 1998-01-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9336
9337         * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
9338         lookups ignoring case.
9339         * nss/nss_files/files-network.c: Do network lookups ignoring
9340         case.
9341         * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
9342         case.
9343         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
9344         case insensitive comparing.
9345         Patches by Cristian Gafton <gafton@redhat.com>.
9346
9347 1998-01-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9348
9349         * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines.  Suggested
9350         by Roland McGrath. [PR libc/395]
9351
9352 1998-01-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9353
9354         * manual/arith.texi (Parsing of Integers): Correct description of
9355         strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
9356         [PR libc/396]
9357
9358 1997-12-30 14:14  Matthias Urlichs  <urlichs@noris.de>
9359
9360         * misc/lsearch.c (lsearch): Return a pointer to the new element
9361         if one was "allocated".
9362
9363 1997-12-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9364
9365         * string/strsignal.c: NSIG is not a valid index into
9366         _sys_siglist.  Don't zap the last character of the "Unknown
9367         signal" message.
9368
9369 1998-01-19 15:08  Ulrich Drepper  <drepper@cygnus.com>
9370
9371         * locale/programs/charmap.c (parse_charmap): Correct parsing of
9372         ellipsis expressions.
9373
9374         * locale/programs/charset.c (insert_char): Correctly insert value
9375         of eliipsis expression.
9376
9377 1997-12-28 15:08  Ulrich Drepper  <drepper@cygnus.com>
9378
9379         * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
9380         <bits/setjmp.h>.
9381         * sysdeps/powerpc/setjmp.S: Likewise.
9382         Patches by Matt McLean <keys@keys.got.net>.
9383
9384         * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
9385
9386         * Makefile: Undo last patch.
9387         (distribute): Add test-installation.pl.
9388
9389         * configure.in: Correct handling of --enable-add-ons without parameter.
9390         Correct address of WWW pages.
9391
9392         * libc.map: Add _nl_domain_bindings.
9393
9394         * db2/mutex/tsl_parisc.s: New file.
9395
9396         * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
9397         and extra-module.mk.
9398
9399         * localedata/Makefile (distribute): New.  Add all the files.
9400
9401         * stdlib/Makefile (headers): Add inttypes.h.
9402         (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
9403         * sysdeps/generic/inttypes.h: New file.
9404         * sysdeps/generic/strtoimax.c: New file.
9405         * sysdeps/generic/strtoumax.c: New file.
9406         * sysdeps/generic/wcstoimax.c: New file.
9407         * sysdeps/generic/wcstoumax.c: New file.
9408         * sysdeps/wordsize-32/Dist: Removed.
9409         * sysdeps/wordsize-32/Makefile: Removed.
9410         * sysdeps/wordsize-64/Dist: Removed.
9411         * sysdeps/wordsize-64/Makefile: Removed.
9412         * sysdeps/generic/bits/environments.h: New file.
9413
9414         * include/limits.h: Define MB_LEN_MAX in any case to 6.  The gcc
9415         header is still not correct.
9416
9417         * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
9418         * posix/unistd.h: Likewise.
9419         * sysdeps/generic/sys/mman.h: Likewise.
9420         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
9421
9422         * manual/arith.texi: Change definition of mul macro.
9423         * manual/math.texi: Likewise.
9424
9425         * misc/Makefile (routines): Add mmap64.
9426         * sysdeps/generic/mmap64.c: New file.
9427         * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
9428         * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
9429         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
9430         aliases to mmap.
9431         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9432
9433         * sysdeps/generic/setrlimit64.c: Don't mark as stub.
9434
9435         * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
9436
9437         * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
9438
9439         * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
9440         FOPEN_MAX also when included by limits.h.
9441         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
9442
9443         * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
9444         and netrom/netrom.h.
9445         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
9446         oldsiglist to sysdep_routines, not aux.
9447         [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
9448
9449         * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
9450         and SOL_NETROM definition.
9451
9452         * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
9453
9454         * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
9455         * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
9456
9457 1997-12-25  Ulrich Drepper  <drepper@cygnus.com>
9458
9459         * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
9460
9461         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
9462         sa_handler with k_sa_handler.
9463         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
9464         strong alias.
9465         Reported by a sun.
9466
9467         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
9468         __libc_have_rt_sigs here.
9469         * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
9470         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9471         * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
9472         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9473
9474 1997-12-11 07:51  Geoff Keating  <geoffk@ozemail.com.au>
9475
9476         * sysdeps/powerpc/atomicity.h: New file.
9477         * sysdeps/mach/powerpc/machine-lock.h: New file.
9478
9479         * Rules: Use -fpic to build anything that might end up in a users'
9480         shared library.
9481
9482         * sysdeps/powerpc/s_fdim.c: New file.
9483         * sysdeps/powerpc/s_fdimf.c: New file.
9484         * sysdeps/powerpc/s_fmax.S: New file.
9485         * sysdeps/powerpc/s_fmaxf.S: New file.
9486         * sysdeps/powerpc/s_fmin.S: New file.
9487         * sysdeps/powerpc/s_fminf.S: New file.
9488         * sysdeps/powerpc/s_llrint.c: Now is for double.
9489         * sysdeps/powerpc/s_llrintf.c: New file.
9490         * sysdeps/powerpc/s_llround.c: Now is for double.
9491         * sysdeps/powerpc/s_llroundf.c: New file.
9492         * sysdeps/powerpc/s_lrint.c: Now is for double.
9493         * sysdeps/powerpc/s_lrintf.S: New file.
9494         * sysdeps/powerpc/s_lround.c: Now is for double.
9495         * sysdeps/powerpc/s_lroundf.c: New file.
9496         * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
9497         lrintf, fdim, fdimf.
9498
9499         * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
9500         file directly, use its parent.
9501
9502         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
9503         (for the third time).
9504
9505 1997-12-20 13:50  Richard Henderson  <rth@cygnus.com>
9506
9507         * posix/sched.h: timespec is in <time.h>.
9508
9509         * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
9510
9511 1997-12-22 18:10  Ulrich Drepper  <drepper@cygnus.com>
9512
9513         * configure.in: Stop with error if --disable-static is used when
9514         the shared lib uses this library.
9515
9516         * gen-FAQ.pl: I've perl installed in /usr/bin.
9517
9518         * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
9519
9520         Fix Unix98 conformance problems in the headers.
9521         * catgets/nl_types.h: Define nl_item.
9522         * grp/grp.h: Define gid_t.
9523         * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
9524         * include/nl_types.h: New file.
9525         * include/ulimit.h: New file.
9526         * io/fcntl.h: Include sys/stat.h for Unix98.  Don't define locking
9527         constants in POSIX mode.
9528         * io/utime.h: Get definition for time_t.
9529         * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
9530         uid_t, pid_t.  Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
9531         * libio/stdio.h: Define va_list.  Make snprintf also available is
9532         __USE_UNIX98.  Declare getopt function and variables.
9533         * locale/langinfo.h: Include nl_types.h.  Don't define nl_item.
9534         Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
9535         * math/math.h: Defined M_* constants as double for Unix98 mode.
9536         * posix/fnmatch.h: Pretty print.  Define FNM_NOSYS.
9537         * posix/glob.h: Pretty print.  Define GLOB_NOSYS.
9538         * posix/regex.h: Define REG_NOSYS.
9539         * posix/wordexp.h: Define WRDE_NOSYS.
9540         * posix/unistd.h: Define _POSIX2_VERSION.  Define _XOPEN_VERSION to
9541         500 for Unix98.
9542         * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
9543         somewhere else as well.  Define clock_t for Unix98.
9544         * posix/sys/wait.h: Define pid_t.
9545         * pwd/pwd.h: Define gid_t, uid_t.
9546         * resource/Makefile (headers): Add ulimit.h.
9547         * resource/ulimit.h: New file.
9548         * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
9549         instead of second argument.
9550         * sysdeps/unix/bsd/ulimit.c: Likewise.  Use UL_* constants.
9551         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
9552         * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
9553         * signal/signal.h: Define pid_t.
9554         * string/string.h: Don't declare BSD string functions in POSIX mode.
9555         * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE.  Add
9556         _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
9557         * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
9558         and POSIX.
9559
9560         * inet/test_ifindex.c: Change test so that it does not fail for
9561         interface aliases.
9562
9563         * locale/programs/locale.c (show_info): Use correct cast sequence
9564         for 64bit machines.
9565
9566         * malloc/malloc.c: __malloc_initialized now signals three states:
9567         uninitialized, initializing, initialized.  Used in mcheck.
9568         * malloc/mcheck.c (mabort): Add '\n' to messages.
9569         (mcheck): Allow installation when malloc is uninitialized or is
9570         just initializing.
9571
9572         * manual/memory.texi: Explain mtrace output a bit more.
9573
9574         * math/libm-test.c: Add more epsilons.
9575
9576         * misc/regexp.h (compile): Remove __ prefix from parameter names.
9577
9578         * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
9579         instead of strcpy for security.
9580         * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
9581         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
9582         * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
9583
9584         * nss/digits_dots.c: Pretty print.
9585
9586         * posix/getconf.c (vars): Add symbols for programming environment
9587         recognition.  Recognize --version.
9588
9589         * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
9590         _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
9591         * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
9592
9593         * sysdeps/generic/bits/stdio_lim.h: Implement handling of
9594         __need_FOPEN_MAX.
9595         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
9596         * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
9597         __need_FOPEN_MAX.
9598
9599         * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
9600         * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
9601
9602         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
9603         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9604         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
9605         * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
9606         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9607         * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
9608
9609         * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
9610         SCNu*.
9611         * sysdeps/wordsize-64/inttypes.h: Likewise.
9612
9613         * time/africa: Update from tzdata1997j.
9614         * time/antarctica: Likewise.
9615         * time/asia: Likewise.
9616         * time/australasia: Likewise.
9617         * time/backward: Likewise.
9618         * time/etcetera: Likewise.
9619         * time/europe: Likewise.
9620         * time/factory: Likewise.
9621         * time/northamerica: Likewise.
9622         * time/pacificnew: Likewise.
9623         * time/southamerica: Likewise.
9624
9625         * time/tzfile.h: Update from tzcode1997h.
9626         * time/zic.c: Likewise.
9627
9628         * wcsmbs/wchar.h: Get definition of FILE.  Define `struct tm' tag.
9629         Declare wcwidth and wcswidth for __USE_XOPEN.  Declare the
9630         isw*() functions for Unix98.
9631         * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
9632         * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
9633         is defined.
9634
9635 1997-12-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9636
9637         * locale/duplocale.c: Increase usage_count only if less than
9638         MAX_USAGE_COUNT.
9639         * locale/freelocale.c: Test usage_count against UNDELETABLE, not
9640         MAX_USAGE_COUNT.
9641         * locale/setlocale.c: Likewise.
9642
9643 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9644
9645         * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
9646         dependency to make it easier to install it selectively.
9647
9648         * Makerules (.SUFFIXES): Don't define any suffixes.
9649
9650 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9651
9652         * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
9653         * sysdeps/generic/statfs64.c: Emulate using statfs.
9654         * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
9655         * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
9656         * sysdpes/generic/ftruncate64.c: New file.
9657         * sysdpes/generic/truncate64.c: New file.
9658
9659         * sysdeps/generic/bits/stat.h: Add LFS support.
9660         * sysdeps/generic/bits/statfs.h: Likewise.
9661
9662         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
9663         [__USE_FILE_OFFSET64]: Make long long constant.
9664         (RLIM64_INFINITY): Likewise.
9665
9666         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
9667         for LFS support.
9668         (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
9669         * sysdeps/generic/bits/resource.h: Likewise.
9670
9671         * misc/Makefile (routines): Add truncate64 and ftruncate64.
9672
9673         * include/features.h: Don't prevent LFS support from defining BSD
9674         and SYSV things.
9675
9676         * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
9677         * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
9678         * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
9679
9680         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
9681         fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
9682         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9683
9684         * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
9685         * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
9686         * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
9687         * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
9688         * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
9689         * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
9690         * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
9691         * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
9692         * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
9693         * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
9694         * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
9695         * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
9696         * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
9697         * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
9698         * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
9699         * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
9700         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
9701         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
9702         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
9703         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
9704
9705         * sysdeps/unix/sysv/linux/fxstat64.c: New file.
9706         * sysdeps/unix/sysv/linux/lxstat64.c: New file.
9707         * sysdeps/unix/sysv/linux/xstat64.c: New file.
9708         * sysdeps/unix/sysv/linux/readdir64.c: New file.
9709         * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
9710
9711         * sysdeps/unix/sysv/linux/getdents64.c: New file.
9712         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
9713         [$(subdir)=dirent]: Add getdents64.
9714         * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
9715
9716         * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
9717
9718 1997-12-18 12:07  Philip Blundell  <pb@nexus.co.uk>
9719
9720         * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
9721
9722         * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
9723         * sysdeps/generic/getrlimit64.c: Likewise.
9724         * sysdeps/generic/setrlimit.c: Likewise.
9725         * sysdeps/generic/setrlimit64.c: Likewise.
9726
9727 1997-12-17 13:57  Philip Blundell  <pb@nexus.co.uk>
9728
9729         * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
9730         using versioning.
9731
9732         * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
9733
9734         * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
9735
9736 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9737
9738         * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
9739         after the codeset name.
9740
9741 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9742
9743         * libc.map: Add get_kernel_syms.
9744
9745 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9746
9747         * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
9748         static.
9749         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
9750         Likewise.  Fix condition.
9751
9752 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9753
9754         * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
9755
9756 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9757
9758         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
9759         Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
9760
9761 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9762
9763         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
9764         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
9765         instead.  Oops.
9766
9767 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9768
9769         * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
9770
9771 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9772
9773         * math/libm-test.c (catanh_test): Change epsilon.
9774         Reported by H.J. Lu.
9775
9776 1997-12-14 19:39  H.J. Lu  <hjl@gnu.org>
9777
9778         * libc.map (__getpid): Added for linuxthreads.
9779
9780 1997-12-13 21:09  H.J. Lu  <hjl@gnu.org>
9781
9782         * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
9783         it if gcc uses static variable in DWARF2 unwind information
9784         for exception support.
9785
9786         * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
9787
9788         * elf/soinit.c (__libc_global_ctors, _fini): Handle
9789         HAVE_DWARF2_UNWIND_INFO_STATIC.
9790
9791         * libc.map (__register_frame*, __deregister_frame*): Make them
9792         global.
9793
9794 1997-12-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9795
9796         * math/libm-test.c: Add more tests for "normal" values.
9797
9798 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9799
9800         * stdio-common/printf_fphex.c: Fix printing of long double number
9801         with a biased exponent of zero.  Fix rounding.
9802
9803 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9804
9805         * sunrpc/rpc_main.c: Accept new flag -$.
9806         * sunrpc/Makefile (rpcgen-cmd): Pass it here.
9807
9808 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9809
9810         * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
9811         dynamic linker first, in case the interface has changed.
9812
9813 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9814
9815         * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
9816         order.
9817
9818 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9819
9820         * math/tgmath.h: Check for double first, for architectures where
9821         sizeof (long double) == sizeof (double).
9822
9823 1997-12-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9824
9825         * math/libm-test.c: New tests for "normal" values added for most
9826         functions.
9827
9828 1997-12-14 21:33  Ulrich Drepper  <drepper@cygnus.com>
9829
9830         * version.h (VERSION): Bump to 2.0.91.
9831
9832         * db2/makedb.c (process_input): Fix typo in message.
9833         * sunrpc/rpcinfo.c (pmapdump): Unify messages.
9834
9835         * elf/dynamic-link.h: Pretty print.
9836
9837         * elf/rtld.c: Allow multiple preloading of a shared object.
9838
9839         * include/limits.h: Prevent multiple inclusion.
9840
9841         * malloc/Makefile (headers): Add mcheck.h.
9842         (distribute): Remove it here.
9843         * malloc/mcheck.h: Pretty print.
9844         * malloc/mtrace.c (mallenv): Make `const'.
9845         * malloc/mtrace.pl: Don't print table head for memory leaks if there
9846         are none.
9847         * manual/memory.texi: Update descriptor of malloc hooks.
9848
9849         * posix/Makefile (routines): Add waitid.
9850         * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
9851         on __id_t.
9852         * posix/sys/wait.h: Define idtype_t type.
9853         Add prototype for waitid.
9854         * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
9855         * sysdeps/generic/waitid.c: Stub for waitid.
9856         * sysdeps/generic/bits/siginfo.h: Define sigval_t.  Arrange to work
9857         the __need_siginfo_t defined.
9858         * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
9859         * sysdeps/generic/bits/types.h: Define __id_t.
9860         Correct definition of __FDMASK.
9861         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
9862         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9863         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
9864
9865         * sysdeps/posix/waitid.c: New file.
9866         Provided by Zack Weinberg.
9867
9868         * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
9869
9870         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
9871         Add missing parameters.
9872
9873         * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
9874         * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
9875         * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
9876         * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
9877         initialized.
9878
9879         * sysdeps/i386/dl-machine.h: Little cleanup.
9880
9881         * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
9882         (__finite): Mark function as const.
9883         Add inline code for __ieee754_atan2.
9884
9885         * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
9886         (but don't use it now).
9887         * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
9888         __atan.
9889         * sysdeps/libm-ieee754/s_catanf.c: Likewise.
9890         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
9891         * sysdeps/libm-ieee754/s_catanh.c: Likewise.  Correct sign of
9892         real part.
9893         * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
9894         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
9895         * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
9896         __ieee754_atan2 to base 10.
9897         * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
9898         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
9899
9900         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
9901         old_kernel_sigaction.
9902
9903         * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
9904
9905         * wctype/Makefile (routines): Add wctype_l.
9906         * wctype/wctype.h: Add declaration of __wctype_l.
9907         * wctype/wctype_l.c: New file.
9908
9909 1997-12-10 00:38  Ulrich Drepper  <drepper@cygnus.com>
9910
9911         * locale/C-ctype.c: Correct data for isw* functions.
9912         * locale/programs/ld-ctype.c: Write 32bit char classes in correct
9913         byte order.
9914         * wctype/test_wctype.c: Add test for isw* functions.
9915         * wctype/wctype.c: Return value with expected byte order.
9916
9917 1997-12-13  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9918
9919         * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
9920
9921 1997-12-05 20:19  H.J. Lu  <hjl@gnu.org>
9922
9923         * iconvdata/Makefile: Fix a typo.
9924
9925         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
9926         oldsiglist for shared library.
9927
9928         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
9929         sys_sigabbrev): Make them as the default version GLIBC_2.1.
9930
9931         * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
9932         sys_siglist, sys_sigabbrev): New file. Make them as the old
9933         version GLIBC_2.0.
9934
9935         * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
9936         to GLIBC_2.1.
9937
9938 1997-11-20 18:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
9939
9940         * libio/iofgets.c (_IO_fgets): Return an error only if there
9941         is a new error.
9942         * libio/iogets.c (_IO_gets): Ditto.
9943
9944 1997-11-20 07:26  H.J. Lu  <hjl@gnu.ai.mit.edu>
9945
9946         * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
9947
9948         * libio/Makefile (routines, shared-only-routines): Add
9949         oldiofdopen.
9950
9951         * libio/fileops.c: Don't use _IO_FILE_complete.
9952         * libio/iofdopen.c: Ditto.
9953         * libio/iofopen.c: Ditto.
9954         * libio/iofopen64.c: Ditto.
9955         * libio/iopopen.c: Ditto.
9956         * libio/iovdprintf.c: Ditto.
9957
9958         * libio/genops.c (_IO_init): Set _vtable_offset to 0.
9959
9960         * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
9961         and make it for _IO_fdopen/fdopen version GLIBC_2.1.
9962
9963         * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
9964         _IO_old_fdopen, _IO_new_fdopen): New declaration.
9965
9966         * libio/libio.h (_IO_FILE): Add more fields.
9967         (_IO_FILE_complete): Defined and make _IO_FILE be the old
9968         one if _IO_USE_OLD_IO_FILE is defined
9969         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
9970         them _IO_FILE_complete.
9971
9972         * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
9973         to adjust vtable.
9974         (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
9975         _IO_JUMPS.
9976         (_IO_FILE_complete): Commented out.
9977
9978         * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
9979         * libio/oldiofclose.c: Ditto.
9980         * libio/oldiofopen.c: Ditto.
9981         * libio/oldstdfiles.c: Ditto.
9982
9983         * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
9984         for the old _IO_FILE.
9985
9986         * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
9987         (_IO_check_libio): Set _vtable_offset for old stdin, stdout
9988         and stderr.
9989
9990         * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
9991         and remove INAME.
9992
9993         * libio/stdio.c (stdin, stdout, stdin): Don't use
9994         _IO_FILE_complete.
9995
9996         * libio/oldiofdopen.c: New.
9997
9998         * stdio-common/vfprintf.c (buffered_vfprintf): Set
9999         hp->_vtable_offset to 0.
10000
10001 1997-11-18 08:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
10002
10003         * libc.map (_IO_file_open): Added.
10004
10005         * libio/libioP.h (_IO_file_open): Declared.
10006
10007         * libio/fileops.c (_IO_file_open): New.
10008         (_IO_file_fopen): Call _IO_file_open ().
10009
10010         * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
10011         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
10012
10013 1997-12-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10014
10015         * signal/signal.h: Fix selection of signal semantics to match
10016         comment.
10017
10018 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10019
10020         * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
10021         * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
10022         rt_sigreturn.
10023         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
10024         [$(subdir)=signal]: Remove rt_sigreturn.
10025         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
10026         * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
10027         * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
10028
10029 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10030
10031         * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>.  Fix
10032         declarations.
10033
10034 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10035
10036         * iconvdata/extra-module.mk: Expand extra-objs now.
10037
10038 1997-12-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10039
10040         * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
10041         inline functions by feature tests to avoid warning about missing
10042         prototype declarations.
10043
10044 1997-12-09 15:08  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10045
10046         * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
10047         return code for non existent +name entries.
10048         * nis/nss_compat/compat-pwd.c: Likewise.
10049         * nis/nss_compat/compat-spwd.c: Likewise.
10050
10051 1997-12-10 13:52  Philip Blundell  <pb@nexus.co.uk>
10052
10053         * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
10054         (EIO): Likewise.
10055         (ENOSPC): Likewise.
10056         (EEXIST): Likewise.
10057         (__errno_location): Likewise.
10058
10059         * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
10060
10061         * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
10062
10063 1997-12-09 08:10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10064
10065         * sunrpc/publickey.c: Use new NSS interface.
10066
10067 1997-12-09 03:08  Ulrich Drepper  <drepper@cygnus.com>
10068
10069         * manual/malloc.texi: Document mtrace/muntrace and the concept.
10070
10071 1997-12-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10072
10073         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
10074         value, to match spirit of the standard.
10075         * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
10076         * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
10077         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
10078
10079 1997-12-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10080
10081         * manual/signal.texi (Signal Stack): Remove spurious @item.
10082
10083 1997-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10084
10085         * rt/aio.h: Remove double semicolon.
10086
10087         * rt/librt.map: Add aio_init.
10088
10089 1997-12-08 03:24  Ulrich Drepper  <drepper@cygnus.com>
10090
10091         * Makeconfig: Define $(rt) to rt if linuxthreads is available.
10092         * Makefile (subdirs): Replace rt by $(rt).
10093
10094         * shlib-versions: Use version .2 for NSS modules.
10095
10096         * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
10097         argument.
10098         * pwd/fgetpwent_r.c: Likewise.
10099         * spwd/fgetspent_r.c: Likewise.
10100         * spwd/sgetspent_r.c: Likewise.
10101         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
10102         Store error number in *ERRNOP.  Little optimization.
10103         * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
10104         * hesiod/nss_hesiod/hesiod-service.c: Likewise.
10105         * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
10106         (__internal_getnetgrent_r): New argument.
10107         Call __internal_setnetgrent_reuse with new argument.
10108         (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
10109         * inet/netgroup.h: Add argument to prototypes.
10110         * nis/nisplus-parser.h: Likewise.
10111         * nis/nss_compat/compat-grp.c: Change everything to store error
10112         code through provided pointer and not use errno.
10113         * nis/nss_compat/compat-pwd.c: Likewise.
10114         * nis/nss_compat/compat-spwd.c: Likewise.
10115         * nis/nss_nis/nis-alias.c: Likewise.
10116         * nis/nss_nis/nis-ethers.c: Likewise.
10117         * nis/nss_nis/nis-grp.c: Likewise.
10118         * nis/nss_nis/nis-hosts.c: Likewise.
10119         * nis/nss_nis/nis-netgrp.c: Likewise.
10120         * nis/nss_nis/nis-network.c: Likewise.
10121         * nis/nss_nis/nis-proto.c: Likewise.
10122         * nis/nss_nis/nis-publickey.c: Likewise.
10123         * nis/nss_nis/nis-pwd.c: Likewise.
10124         * nis/nss_nis/nis-rpc.c: Likewise.
10125         * nis/nss_nis/nis-service.c: Likewise.
10126         * nis/nss_nis/nis-spwd.c: Likewise.
10127         * nis/nss_nisplus/nisplus-alias.c: Likewise.
10128         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
10129         * nis/nss_nisplus/nisplus-grp.c: Likewise.
10130         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
10131         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
10132         * nis/nss_nisplus/nisplus-network.c: Likewise.
10133         * nis/nss_nisplus/nisplus-parser.c: Likewise.
10134         * nis/nss_nisplus/nisplus-proto.c: Likewise.
10135         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
10136         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
10137         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
10138         * nis/nss_nisplus/nisplus-service.c: Likewise.
10139         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
10140         * nss/nss_db/db-XXX.c: Likewise.
10141         * nss/nss_db/db-alias.c: Likewise.
10142         * nss/nss_db/db-netgrp.c: Likewise.
10143         * nss/nss_files/files-XXX.c: Likewise
10144         * nss/nss_files/files-alias.c: Likewise
10145         * nss/nss_files/files-netgrp.c: Likewise
10146         * nss/nss_files/files-parse.c: Likewise
10147         * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
10148         parameter of get functions.
10149         * nss/getXXent_r.c: Likewise.
10150
10151         * localedata/tst-fmon.c: Print debug info if test fails.
10152
10153         * rt/Makefile (routines): Add aio_notify.
10154         * rt/aio.h: Remove non-public definitions.  Add aioinit stuff.
10155         * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
10156         * rt/aio_fsync.c: Likewise.
10157         * rt/aio_misc.c: Likewise.
10158         * rt/aio_misc.h: Likewise.
10159         * rt/aio_read.c: Likewise.
10160         * rt/aio_read64.c: Likewise.
10161         * rt/aio_suspend.c: Likewise.
10162         * rt/aio_write.c: Likewise.
10163         * rt/aio_write64.c: Likewise.
10164         * rt/lio_listio.c: Likewise.
10165         * rt/lio_listio64.c: Likewise.
10166         * rt/aio_notify.c: New file.
10167
10168         * sysdeps/generic/bits/sigset.h: Pretty print.
10169
10170         * sysdeps/posix/pwrite.c: Define weak alias only if function is
10171         really defined as __pwrite.
10172
10173         * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
10174         instead of pread64.
10175         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10176
10177         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
10178         (sysdep_routines): Add rt_sigpending and rt_sigreturn.
10179         * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
10180         size in syscall.
10181         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10182         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10183         * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
10184         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10185         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
10186         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
10187         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.  Take care
10188         for ACT being NULL.
10189         * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
10190         RT signals.
10191         * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
10192         __NR_pread is not defined.
10193         * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
10194         __NR_pwrite is not defined.
10195
10196 1997-12-07 11:15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10197
10198         * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
10199         handle for /etc/group back in some more cases.
10200         * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
10201         handle for /etc/passwd back in some more cases.
10202         * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
10203         handle for /etc/shadow back in some more cases.
10204
10205 1997-12-06 17:00  H.J. Lu  <hjl@gnu.org>
10206
10207         * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
10208         beyound its size.
10209         * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
10210         * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
10211
10212 1997-12-06 04:38  Ulrich Drepper  <drepper@cygnus.com>
10213
10214         * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
10215         handling.  Don't use macros, we need functions.  Use inline functions
10216         for optimization.
10217         * sysdeps/wordsize-64/inttypes.h: Likewise.
10218         * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
10219         and wcstoumax.
10220         * sysdeps/wordsize-64/Makefile: Likewise.
10221         * sysdeps/wordsize-32/Dist: Likewise.
10222         * sysdeps/wordsize-64/Dist: Likewise.
10223         * sysdeps/wordsize-32/strtoimax.c: New file.
10224         * sysdeps/wordsize-32/strtoumax.c: New file.
10225         * sysdeps/wordsize-32/wcstoimax.c: New file.
10226         * sysdeps/wordsize-32/wcstoumax.c: New file.
10227         * sysdeps/wordsize-64/strtoimax.c: New file.
10228         * sysdeps/wordsize-64/strtoumax.c: New file.
10229         * sysdeps/wordsize-64/wcstoimax.c: New file.
10230         * sysdeps/wordsize-64/wcstoumax.c: New file.
10231
10232 1997-12-04 10:40  Philip Blundell  <pb@nexus.co.uk>
10233
10234         * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
10235         that transparent union works.
10236         * sysdeps/generic/wait4.c (__wait4): Likewise.
10237         * sysdeps/generic/wait.c (__wait): Likewise.
10238
10239         * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
10240         size_t.
10241
10242         * sysdeps/generic/syscall.c (syscall): Return value and arg are
10243         long, to match prototype.
10244
10245         * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
10246         have mremap() yet.
10247
10248         * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
10249
10250         * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
10251
10252         * sysdeps/generic/bits/time.h: Use __time_t not time_t.
10253
10254         * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
10255         __rlim_t.
10256
10257         * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
10258
10259         * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
10260
10261         * io/sys/stat.h (S_ISLNK): Always false if we don't have
10262         __S_IFLNK.
10263
10264         * sysdeps/standalone/close.c (_STDIO_H): Define before including
10265         <bits/stdio_lim.h>.
10266         * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
10267
10268 1997-12-06 01:09  Ulrich Drepper  <drepper@cygnus.com>
10269
10270         * posix/sys/wait.h: Don't use transparent unions in C++.
10271
10272 1997-12-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10273
10274         * time/time.h: Add strfxtime.
10275
10276         * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
10277         sysv_signal, strfxtime, pread64, pwrite64.
10278
10279 1997-11-30 21:57  Richard Henderson  <rth@cygnus.com>
10280
10281         Alpha changes for EGCS:
10282         * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
10283         * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
10284         * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
10285         (_start): Likewise.
10286         * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
10287
10288 1997-12-05 00:01  Ulrich Drepper  <drepper@cygnus.com>
10289
10290         The kernel expects the arguments in a different order.
10291         * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
10292         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
10293
10294         * FAQ.in: New file.
10295         * gen-FAQ.pl: New file.
10296         * Makefile (FAQ): Add rule to generate from FAQ.in.
10297
10298         * iconvdata/Makefile: Treat libJIS like the other modules.
10299
10300         * rt/librt.map: New file.
10301
10302         * sysdeps/wordsize-32/bits/environments.h: Add test for direct
10303         inclusion.
10304         * sysdeps/wordsize-64/bits/environments.h: Likewise.  Correct
10305         comment.
10306
10307 1997-12-04 22:29  Ulrich Drepper  <drepper@cygnus.com>
10308
10309         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
10310         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
10311         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
10312         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
10313
10314 1997-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10315
10316         * string/bits/string2.h: Fix spellings.
10317
10318         * string/string.h: Fix spellings.
10319
10320 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10321
10322         * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
10323         declaration to __syscall_rt_sigaction.
10324
10325         * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
10326         non-existant <sigcontext.h>.
10327
10328 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10329
10330         * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
10331         typo.
10332
10333 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10334
10335         * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
10336
10337         * Makeconfig (shared-thread-library): Correct spelling.
10338
10339         * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
10340         <asm/pci.h>.
10341
10342 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10343
10344         * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
10345         constants from Linux headers. Pointed out by
10346         csmall@scooter.o.i.net. [PR libc/369]
10347
10348 1997-12-04 10:21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10349
10350         * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
10351
10352 1997-12-04 00:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
10353
10354         * configure.in: If --enable-add-ons is given without an
10355         argument, set the addons list to all subdirs with a configure
10356         script.
10357
10358 1997-12-03 23:50  Ulrich Drepper  <drepper@cygnus.com>
10359
10360         * Makeconfig: Add shared-thread-library variable.
10361
10362         * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
10363         * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
10364         here.
10365         * sysdeps/m68k/fpu/e_acos.c: Likewise.
10366         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
10367         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
10368         * sysdeps/m68k/fpu/e_pow.c: Likewise.
10369         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
10370         * sysdeps/m68k/fpu/k_cos.c: Likewise.
10371         * sysdeps/m68k/fpu/k_sin.c: Likewise.
10372         * sysdeps/m68k/fpu/k_tan.c: Likewise.
10373         * sysdeps/m68k/fpu/s_atan.c: Likewise.
10374         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
10375         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
10376         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
10377         * sysdeps/m68k/fpu/s_csin.c: Likewise.
10378         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
10379         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
10380         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
10381         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
10382         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
10383         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
10384         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
10385         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
10386         * sysdeps/m68k/fpu/s_modf.c: Likewise.
10387         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
10388         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
10389         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
10390
10391         * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
10392         __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
10393         * signal/Makefile (headers): Add bits/siginfo.h.
10394         (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
10395         (distribute): Add testrtsig.h.
10396         * signal/allocrtsig.c: New file.
10397         * signal/signal.h: Define `union sigval'.  Include <bits/siginfo.h>.
10398         Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
10399         __libc_current_sigrtmax.
10400         * sysdeps/generic/sigqueue.c: New file.
10401         * sysdeps/generic/sigtimedwait.c: New file.
10402         * sysdeps/generic/sigwaitinfo.c: New file.
10403         * sysdeps/generic/testrtsig.h: New file.
10404         * sysdeps/generic/bits/siginfo.h: New file.
10405         * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
10406         * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
10407         old_kernel_sigaction and rename sa_handler member to k_sa_handler.
10408         * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
10409         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
10410         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
10411         * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
10412         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
10413         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
10414         * sysdeps/unix/sysv/linux/sigpending.c: New file.
10415         * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
10416         * sysdeps/unix/sysv/linux/sigqueue.c: New file.
10417         * sysdeps/unix/sysv/linux/sigreturn.c: New file.
10418         * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
10419         * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
10420         * sysdeps/unix/sysv/linux/testrtsig.h: New file.
10421         * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
10422         * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
10423         * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
10424         * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
10425         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
10426         and _POSIX_REALTIME_SIGNALS.
10427         * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
10428         * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
10429         update _NSIG.
10430         * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
10431         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
10432         definitions.
10433
10434         * Makefile (subdirs): Add rt.
10435         * shlib-versions: Add entry for librt.
10436         * rt/Makefile: New file.
10437         * rt/aio.h: New file.
10438         * rt/aio_cancel.c: New file.
10439         * rt/aio_error.c: New file.
10440         * rt/aio_fsync.c: New file.
10441         * rt/aio_misc.c: New file.
10442         * rt/aio_misc.h: New file.
10443         * rt/aio_read.c: New file.
10444         * rt/aio_read64.c: New file.
10445         * rt/aio_return.c: New file.
10446         * rt/aio_suspend.c: New file.
10447         * rt/aio_write.c: New file.
10448         * rt/aio_write64.c: New file.
10449         * rt/lio_listio.c: New file.
10450         * rt/lio_listio64.c: New file.
10451         * sysdeps/generic/aio_sigqueue.c: New file.
10452         * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
10453         * sysdeps/unix/sysv/linux/Dist: Add new files
10454         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
10455         (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
10456         rt_sigqueueinfo, rt_sigaction.
10457
10458         * posix/Makefile (headers): Add bits/environments.h.
10459         * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
10460         and _CS_LFS_CFLAGS on 64bit platforms.
10461         * posix/unistd.h: Define _XOPEN_LEGACY.  Explain _XOPEN_REALTIME
10462         and _XOPEN_REALTIME_THREADS.  Include bits/environments.h.
10463         * sysdeps/generic/bits/confname.h: Define _SC_* constants for
10464         compilation modules.
10465         * sysdeps/wordsize-32/bits/environments.h: New file.
10466         * sysdeps/wordsize-64/bits/environments.h: New file.
10467
10468         * posix/getopt.c: Remove declaration of getpid and __libc_pid.
10469         * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
10470         __libc_pid.
10471         * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
10472         0xf00baa.
10473
10474         * string/string.h: Add declaration of __strverscmp.
10475         * string/strverscmp.c: Rename function ot __strverscmp and make old
10476         name weak alias.
10477
10478         * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
10479         * sysdeps/generic/enbl-secure.c: Likewise.
10480         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10481
10482         * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
10483
10484         * sysdeps/unix/sysv/linux/sys/pci.h: New file.
10485
10486 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
10487
10488         * posix/sys/wait.h: Use __transparent_union__ instead of
10489         transparent_union.  Reported by Roland McGrath.
10490
10491 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10492
10493         * resolv/inet_neta.c (inet_neta): Change type of first parameter
10494         to u_int32_t.  Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
10495         [PR libc/366].
10496
10497         * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
10498
10499         * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
10500
10501 1997-12-03 20:40  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10502
10503         * grp/initgroups.c: Increase buffer if it is too small.
10504
10505 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
10506
10507         * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
10508         fields, this is no ISO C.  Reported by Andreas Jaeger.
10509
10510 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10511
10512         * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
10513
10514 1997-12-03 08:58  Philip Blundell  <pb@nexus.co.uk>
10515
10516         * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
10517         _SYS_UTSNAME_H not _UTSNAME_H.
10518
10519 1997-11-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10520
10521         * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
10522         computing s_scale.
10523
10524 1997-11-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10525
10526         * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
10527         * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
10528         * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
10529
10530         * math/libm-test.c (csqrt_test): Add testcase.
10531
10532 1997-12-03 15:44  Ulrich Drepper  <drepper@cygnus.com>
10533
10534         * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
10535         * sysdeps/unix/sysv/linux/sys/Dist: Add it.
10536         * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
10537
10538 1997-11-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10539
10540         * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
10541
10542 1997-12-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10543
10544         * math/libm-test.c (acos_test): Add more tests.
10545         (asin_test): Likewise.
10546         (atan_test): Likewise.
10547         (exp_test): Likewise.
10548         (sin_test): Likewise.
10549         (sqrt_test): Likewise.
10550         (cpow_test): Likewise.
10551         (csqrt_test): Likewise.
10552         (cexp_test): Correct typo in gcc version test.
10553
10554 1997-12-02 17:14  Philip Blundell  <pb@nexus.co.uk>
10555
10556         * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
10557         <bits/setjmp.h>.
10558         * sysdeps/arm/setjmp.S: Likewise.
10559
10560         * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
10561
10562 1997-12-02 18:07  Philip Blundell  <pb@nexus.co.uk>
10563
10564         * stdio/stdio.h: Add prototype for tmpfile64().
10565
10566 1997-12-02 17:47  Philip Blundell  <pb@nexus.co.uk>
10567
10568         * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
10569         prototype to keep in step with libio version.
10570
10571         * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
10572
10573 1997-12-02 17:41  Philip Blundell  <pb@nexus.co.uk>
10574
10575         * sysdeps/generic/Makefile: Don't try to use make_siglist if
10576         cross-compiling.
10577
10578 1997-12-02 01:18  Ulrich Drepper  <drepper@cygnus.com>
10579
10580         * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
10581         load GOT ptr before jumping to _exit.
10582         Reported by Xavier Leroy.
10583
10584 1997-12-01 17:27  Ulrich Drepper  <drepper@cygnus.com>
10585
10586         * Makefile (subdirs): Add iconvdata and localedata.
10587
10588         * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
10589
10590         * iconv/gconv_conf.c (read_conf_file): Little optimization.
10591
10592         * iconvdata/8bit-gap.c: New file.
10593         * iconvdata/8bit-generic.c: Renamed from ...
10594         * iconvdata/iso8859-generic.c: ...this.
10595         * iconvdata/configure: Removed.
10596         * iconvdata/Makefile: Add new modules and better rules.
10597         * iconvdata/iso6937.c: Minor bug fixes.
10598         * iconvdata/iso8859-1.c: Likewise.
10599         * iconvdata/t61.c: Likewise.
10600         * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
10601         Minor bug fixes.
10602         * iconvdata/iso8859-3.c: Likewise.
10603         * iconvdata/iso8859-4.c: Likewise.
10604         * iconvdata/iso8859-5.c: Likewise.
10605         * iconvdata/iso8859-6.c: Likewise.
10606         * iconvdata/iso8859-7.c: Likewise.
10607         * iconvdata/iso8859-8.c: Likewise.
10608         * iconvdata/iso8859-9.c: Likewise.
10609         * iconvdata/iso8859-10.c: Likewise.
10610         * iconvdata/ebcdic-at-de-a.c: New file.
10611         * iconvdata/ebcdic-at-de.c: New file.
10612         * iconvdata/ebcdic-ca-fr.c: New file.
10613         * iconvdata/hp-roman8.c: New file.
10614         * iconvdata/koi-8.c: New file.
10615         * iconvdata/koi8-r.c: New file.
10616         * iconvdata/koi8-h.c: New file.
10617         * iconvdata/latin-greek-1.c: New file.
10618         * iconvdata/latin-greek-1.h: New file.
10619         * iconvdata/latin-greek.c: New file.
10620         * iconvdata/latin-greek.h: New file.
10621         * iconvdata/jis0201.c: New file.
10622         * iconvdata/jis0201.h: New file.
10623         * iconvdata/jis0208.c: New file.
10624         * iconvdata/jis0208.h: New file.
10625         * iconvdata/jis0212.c: New file.
10626         * iconvdata/jis0212.h: New file.
10627         * iconvdata/sjis.c: New file.
10628         * iconvdata/gap.pl: New file.  Script to generate table header.
10629         * iconvdata/gaptab.pl: New file.
10630         * iconvdata/gconv-modules: Add info about new modules.
10631
10632         * locale/programs/charmap.c: Also examine alias names given in charmap
10633         files.
10634
10635         * localedata/*: Add to here from add-on.  We need the information
10636         to generate tables for iconv.
10637
10638         Update from db-2.3.14.
10639         * db2/Makefile: Updated.
10640         * db2/config.h: Likewise.
10641         * db2/db.h: Likewise.
10642         * db2/db_int.h: Likewise.
10643         * db2/btree/bt_cursor.c: Likewise.
10644         * db2/btree/bt_delete.c: Likewise.
10645         * db2/btree/bt_put.c: Likewise.
10646         * db2/btree/bt_search.c: Likewise.
10647         * db2/btree/bt_split.c: Likewise.
10648         * db2/btree/btree_auto.c: Likewise.
10649         * db2/common/db_appinit.c: Likewise.
10650         * db2/common/db_apprec.c: Likewise.
10651         * db2/common/db_err.c: Likewise.
10652         * db2/common/db_region.c: Likewise.
10653         * db2/db/db_auto.c: Likewise.
10654         * db2/db/db_dispatch.c: Likewise.
10655         * db2/db/db_ret.c: Likewise.
10656         * db2/dbm/dbm.c: Likewise.
10657         * db2/hash/hash_auto.c: Likewise.
10658         * db2/include/btree_ext.h: Likewise.
10659         * db2/include/common_ext.h: Likewise.
10660         * db2/include/db.h.src: Likewise.
10661         * db2/include/db_cxx.h: Likewise.
10662         * db2/include/db_ext.h: Likewise.
10663         * db2/include/db_int.h.src: Likewise.
10664         * db2/include/lock.h: Likewise.
10665         * db2/include/log.h: Likewise.
10666         * db2/include/mp.h: Likewise.
10667         * db2/include/mp_ext.h: Likewise.
10668         * db2/include/os_ext.h: Likewise.
10669         * db2/include/os_func.h: Likewise.
10670         * db2/lock/lock.c: Likewise.
10671         * db2/lock/lock_deadlock.c: Likewise.
10672         * db2/log/log.c: Likewise.
10673         * db2/log/log_archive.c: Likewise.
10674         * db2/log/log_auto.c: Likewise.
10675         * db2/log/log_get.c: Likewise.
10676         * db2/log/log_put.c: Likewise.
10677         * db2/mp/mp_bh.c: Likewise.
10678         * db2/mp/mp_fget.c: Likewise.
10679         * db2/mp/mp_fopen.c: Likewise.
10680         * db2/mp/mp_fput.c: Likewise.
10681         * db2/mp/mp_fset.c: Likewise.
10682         * db2/mp/mp_open.c: Likewise.
10683         * db2/mp/mp_pr.c: Likewise.
10684         * db2/mp/mp_region.c: Likewise.
10685         * db2/mp/mp_sync.c: Likewise.
10686         * db2/mutex/README: Likewise.
10687         * db2/mutex/mutex.c: Likewise.
10688         * db2/os/os_open.c: Likewise.
10689         * db2/os/os_func.c: Removed.
10690         * db2/os/os_config.c: New file.
10691         * db2/os/os_spin.c: New file.
10692         * db2/txn/txn.c: Likewise.
10693         * db2/txn/txn_auto.c: Likewise.
10694
10695 1997-11-30 06:01  Ulrich Drepper  <drepper@cygnus.com>
10696
10697         * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
10698         __typeof for C++ since this fails for class members.
10699         Reported by Neal Becker <neal@ctd.comsat.com>.
10700
10701 1997-11-28 11:21  Zack Weinberg  <zack@rabi.phys.columbia.edu>
10702
10703         * configure.in: Check for a working makeinfo (3.11 or better).
10704         * config.make.in: Add MAKEINFO to be substituted.
10705         * manual/Makefile: Don't update info if makeinfo is too old.
10706
10707 1997-11-30 05:21  Ulrich Drepper  <drepper@cygnus.com>
10708
10709         * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
10710         * sysdeps/alpha/__longjmp.S: Likewise.
10711         * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
10712         not <bits/termios.h>.
10713
10714         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
10715         __llseek and make llseek and lseek64 weak aliases.
10716         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
10717         Patches by a sun <asun@zoology.washington.edu>.
10718
10719 1997-11-29 19:19  Zack Weinberg  <zack@rabi.phys.columbia.edu>
10720
10721         * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
10722         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10723         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10724         * misc/sys/syslog.h: Clean up BSD header.
10725
10726 1997-11-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10727
10728         * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
10729
10730         * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
10731         for ctan(+-inf,x).
10732         * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
10733         * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
10734
10735         * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
10736         csqrt (-1), ctanh(i*pi/4).
10737
10738 1997-11-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10739
10740         * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
10741
10742 1997-11-28 13:28  Philip Blundell  <Philip.Blundell@pobox.com>
10743
10744         * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
10745
10746 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10747
10748         * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
10749
10750 1997-11-26 21:28  Ulrich Drepper  <drepper@cygnus.com>
10751
10752         * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
10753         and use.  Define GETCWD_RETURN_TYPE instead and use it.
10754         * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
10755         of GETCWD_STORYGE_CLASS and put the return type and the
10756         `internal_function' in the right order for gcc 2.7.2.
10757
10758 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10759
10760         * sysdeps/unix/sysv/linux/sys/module.h: Remove file.  It's
10761         incompatible with Linux 2.1.x.  Packages using modules
10762         (e.g. modutils) should/do provide their own version.  Suggested by
10763         Richard Henderson.
10764
10765         * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
10766
10767         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
10768         [$(subdir)=socket]: Remove sys/module.h.
10769
10770 1997-11-26 04:28  Ulrich Drepper  <drepper@cygnus.com>
10771
10772         * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
10773         computing s_scale.  Patch by a sun <asun@zoology.washington.edu>.
10774
10775         * iconv/gconv_close.c: Correct freeing of descriptor data.
10776         * iconv/gconv_simple.c: Return correct error values for illegal or
10777         incomplete characters.
10778
10779         * Makefile (iconvdata/%): Special goal to simplify iconvdata
10780         development.
10781         * iconvdata/Makefile: New file.
10782         * iconvdata/configure: Likewise.
10783         * iconvdata/extra-module.mk: Likewise.
10784         * iconvdata/gconv-modules: Likewise.
10785         * iconvdata/iso6937.c: Likewise.
10786         * iconvdata/iso8859-1.c: Likewise.
10787         * iconvdata/iso8859-10.c: Likewise.
10788         * iconvdata/iso8859-10.h: Likewise.
10789         * iconvdata/iso8859-2.c: Likewise.
10790         * iconvdata/iso8859-2.h: Likewise.
10791         * iconvdata/iso8859-3.c: Likewise.
10792         * iconvdata/iso8859-3.h: Likewise.
10793         * iconvdata/iso8859-4.c: Likewise.
10794         * iconvdata/iso8859-4.h: Likewise.
10795         * iconvdata/iso8859-5.c: Likewise.
10796         * iconvdata/iso8859-5.h: Likewise.
10797         * iconvdata/iso8859-6.c: Likewise.
10798         * iconvdata/iso8859-6.h: Likewise.
10799         * iconvdata/iso8859-7.c: Likewise.
10800         * iconvdata/iso8859-7.h: Likewise.
10801         * iconvdata/iso8859-8.c: Likewise.
10802         * iconvdata/iso8859-8.h: Likewise.
10803         * iconvdata/iso8859-9.c: Likewise.
10804         * iconvdata/iso8859-9.h: Likewise.
10805         * iconvdata/iso8859-generic.c: Likewise.
10806         * iconvdata/t61.c: Likewise.
10807
10808         * string/Makefile (routines): Add strcasestr.
10809         * string/string.h: Add prototype for strcasestr.
10810         * sysdeps/generic/strcasestr.c: New file.
10811         * wcsmbs/mbrtowc.c: Simplify special case a bit.
10812         * wcsmbs/wcrtomb.c: Likewise.
10813         * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
10814         * wcsmbs/wcsnrtombs.c: Likewise.
10815         * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
10816         partial character is read.
10817         * wcsmbs/wcsrtombs.c: Likewise.
10818         * wcsmbs/wmemrtombs.c: Likewise.
10819         * wcsmbs/wmemrtowcs.c: Likewise.
10820
10821         * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
10822         * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
10823         * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
10824         * sysdeps/i386/elf/setjmp.S: Likewise.
10825         * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
10826         <bits/termios.h>.
10827
10828         * sysdeps/posix/mk-stdiolim.c: Output file with comment.
10829         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
10830
10831         * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
10832         * sysvipc/sys/ipc.h: Likewise.
10833         * sysvipc/sys/msg.h: Likewise.
10834         * sysvipc/sys/sem.h: Likewise.
10835         * sysvipc/sys/shm.h: Likewise.
10836
10837         * sysdeps/alpha/bits/endian.h: Issue error message if the header is
10838         used directly.
10839         * sysdeps/alpha/bits/setjmp.h: Likewise.
10840         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
10841         * sysdeps/arm/bits/endian.h: Likewise.
10842         * sysdeps/arm/bits/setjmp.h: Likewise.
10843         * sysdeps/generic/bits/byteswap.h: Likewise.
10844         * sysdeps/generic/bits/confname.h: Likewise.
10845         * sysdeps/generic/bits/dirent.h: Likewise.
10846         * sysdeps/generic/bits/dlfcn.h: Likewise.
10847         * sysdeps/generic/bits/endian.h: Likewise.
10848         * sysdeps/generic/bits/fenv.h: Likewise.
10849         * sysdeps/generic/bits/huge_val.h: Likewise.
10850         * sysdeps/generic/bits/in.h: Likewise.
10851         * sysdeps/generic/bits/ioctl-types.h: Likewise.
10852         * sysdeps/generic/bits/ioctls.h: Likewise.
10853         * sysdeps/generic/bits/ipc.h: Likewise.
10854         * sysdeps/generic/bits/msq.h: Likewise.
10855         * sysdeps/generic/bits/poll.h: Likewise.
10856         * sysdeps/generic/bits/resource.h: Likewise.
10857         * sysdeps/generic/bits/sched.h: Likewise.
10858         * sysdeps/generic/bits/sem.h: Likewise.
10859         * sysdeps/generic/bits/setjmp.h: Likewise.
10860         * sysdeps/generic/bits/shm.h: Likewise.
10861         * sysdeps/generic/bits/sigaction.h: Likewise.
10862         * sysdeps/generic/bits/sigcontext.h: Likewise.
10863         * sysdeps/generic/bits/socket.h: Likewise.
10864         * sysdeps/generic/bits/stat.h: Likewise.
10865         * sysdeps/generic/bits/statfs.h: Likewise.
10866         * sysdeps/generic/bits/stdio_lim.h: Likewise.
10867         * sysdeps/generic/bits/termios.h: Likewise.
10868         * sysdeps/generic/bits/time.h: Likewise.
10869         * sysdeps/generic/bits/uio.h: Likewise.
10870         * sysdeps/generic/bits/utmp.h: Likewise.
10871         * sysdeps/generic/bits/utmpx.h: Likewise.
10872         * sysdeps/generic/bits/utsname.h: Likewise.
10873         * sysdeps/generic/bits/waitflags.h: Likewise.
10874         * sysdeps/generic/bits/waitstatus.h: Likewise.
10875         * sysdeps/gnu/bits/utmp.h: Likewise.
10876         * sysdeps/gnu/bits/utmpx.h: Likewise.
10877         * sysdeps/i386/bits/byteswap.h: Likewise.
10878         * sysdeps/i386/bits/endian.h: Likewise.
10879         * sysdeps/i386/bits/huge_val.h: Likewise.
10880         * sysdeps/i386/bits/setjmp.h: Likewise.
10881         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
10882         * sysdeps/ieee754/bits/huge_val.h: Likewise.
10883         * sysdeps/m68k/bits/byteswap.h: Likewise.
10884         * sysdeps/m68k/bits/endian.h: Likewise.
10885         * sysdeps/m68k/bits/setjmp.h: Likewise.
10886         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
10887         * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
10888         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
10889         * sysdeps/mach/hurd/bits/stat.h: Likewise.
10890         * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
10891         * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
10892         * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
10893         * sysdeps/mips/bits/dlfcn.h: Likewise.
10894         * sysdeps/mips/bits/endian.h: Likewise.
10895         * sysdeps/mips/bits/setjmp.h: Likewise.
10896         * sysdeps/mips/dec/bits/endian.h: Likewise.
10897         * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
10898         * sysdeps/mips/mipsel/bits/endian.h: Likewise.
10899         * sysdeps/mips/p40/bits/endian.h: Likewise.
10900         * sysdeps/powerpc/bits/endian.h: Likewise.
10901         * sysdeps/powerpc/bits/fenv.h: Likewise.
10902         * sysdeps/powerpc/bits/setjmp.h: Likewise.
10903         * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
10904         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
10905         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
10906         * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
10907         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
10908         * sysdeps/unix/bsd/bits/dirent.h: Likewise.
10909         * sysdeps/unix/bsd/bits/stat.h: Likewise.
10910         * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
10911         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
10912         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
10913         * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
10914         * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
10915         * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
10916         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
10917         * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
10918         * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
10919         * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
10920         * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
10921         * sysdeps/unix/common/bits/dirent.h: Likewise.
10922         * sysdeps/unix/sysv/bits/dirent.h: Likewise.
10923         * sysdeps/unix/sysv/bits/stat.h: Likewise.
10924         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
10925         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
10926         * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
10927         * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
10928         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
10929         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
10930         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
10931         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
10932         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
10933         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
10934         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
10935         * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
10936         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
10937         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
10938         * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
10939         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
10940         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
10941         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
10942         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
10943         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10944         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10945         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10946         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
10947         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
10948         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10949         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
10950         * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
10951         * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
10952         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
10953         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
10954         * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
10955         * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
10956         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
10957         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
10958         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
10959         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
10960         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
10961         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
10962         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
10963         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
10964         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
10965         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
10966         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
10967         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
10968         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
10969         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
10970         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
10971         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
10972         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10973         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10974         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
10975         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
10976         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
10977         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10978         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
10979         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
10980         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
10981         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
10982         * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
10983         * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
10984         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
10985         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
10986         * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
10987         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
10988         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
10989         * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
10990         * sysdeps/vax/bits/huge_val.h: Likewise.
10991         * sysdeps/vax/bits/setjmp.h: Likewise.
10992         * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
10993         * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
10994
10995 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10996
10997         * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
10998
10999 1997-11-25  Paul Eggert  <eggert@shade.twinsun.com>
11000
11001         * strftime.c (strftime):
11002         No longer any need to undef or declare if emacs is defined.
11003         (my_strftime): When checking a -1 returned by mktime, don't blow up
11004         if localtime_r returns NULL.
11005
11006 1997-11-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11007
11008         * README.template: Fix spelling.
11009
11010 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11011
11012         * configure.in: Enhance --enable-add-ons description a wee bit.
11013
11014 1997-11-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11015
11016         * glibcbug.in: Add more information of build environment and flags.
11017
11018 1997-11-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11019
11020         * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
11021         it into ENOENT.
11022
11023 1997-11-24 03:01  Ulrich Drepper  <drepper@cygnus.com>
11024
11025         * elf/dl-support.c: Call __libc_init_secure to make sure
11026         __libc_enable_secure is defined early.
11027         * sysdeps/generic/enbl-secure.c: Change function name to
11028         __libc_init_secure and make it global instead of a constructor.
11029
11030         * iconv/gconv.c: Fix lots of bugs.
11031         * iconv/gconv.h: Likewise.
11032         * iconv/gconv_builtin.h: Likewise.
11033         * iconv/gconv_close.c: Likewise.
11034         * iconv/gconv_conf.c: Likewise.
11035         * iconv/gconv_db.c: Likewise.
11036         * iconv/gconv_dl.c: Likewise.
11037         * iconv/gconv_open.c: Likewise.
11038         * iconv/gconv_simple.c: Likewise.
11039         * iconv/iconv.c: Likewise.
11040         * iconv/iconv_close.c: Likewise.
11041         * iconv/iconv_open.c: Likewise.
11042
11043         * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
11044         * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
11045         * wcsmbs/wmemrtombs.c: New file.
11046         * wcsmbs/wmemrtowcs.c: New file.
11047
11048 1997-11-22 19:28  Ulrich Drepper  <drepper@cygnus.com>
11049
11050         * iconv/gconv_simple.c: Fix lots of bugs.
11051         * iconv/iconv_open.c: Normalize names before passing them to
11052         __gconv_open.
11053
11054         * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
11055
11056         * libio/iopopen.c: Check for correct mode argument and punt otherwise.
11057         * stdio-common/test-popen.c: Add test for above change.
11058
11059         * math/libm-test.c: Print test results also using %a format,
11060         specified in PRINTF_XEXPR macro.
11061         * math/test-double.c: Define PRINTF_XEXPR.
11062         * math/test-float.c: Likewise.
11063         * math/test-ldouble.c: Likewise.
11064         * math/test-idouble.c: Likewise.
11065         * math/test-ifloat.c: Likewise.
11066         * math/test-ildoubl.c: Likewise.
11067
11068         * stdio-common/vfscanf.c: Recognize a in format specifier only as
11069         modifier if used before s, S, or [.  Otherwise it's the hexadecimal
11070         FP number format.
11071
11072         * stdlib/strtod.c: Little code cleanup.
11073
11074         * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
11075         compiling in math subdir.
11076
11077         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
11078         instead of __LIBC_M81_MATH_INLINES.
11079         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
11080         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
11081         * sysdeps/m68k/fpu/e_pow.c: Likewise.
11082         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
11083         * sysdeps/m68k/fpu/k_cos.c: Likewise.
11084         * sysdeps/m68k/fpu/k_sin.c: Likewise.
11085         * sysdeps/m68k/fpu/k_tan.c: Likewise.
11086         * sysdeps/m68k/fpu/s_atan.c: Likewise.
11087         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
11088         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
11089         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
11090         * sysdeps/m68k/fpu/s_csin.c: Likewise.
11091         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
11092         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
11093         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
11094         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
11095         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
11096         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
11097         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
11098         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
11099         * sysdeps/m68k/fpu/s_modf.c: Likewise.
11100         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
11101         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
11102         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
11103         * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
11104         __LIBC_INTERNAL_MATH_INLINES is defined.
11105
11106         * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
11107         of compare macros from ISO C 9X.  Optimize generic versions a bit.
11108         Define __signbit inline functions and __ieee754_sqrt which can be
11109         used if the ompiler is fixed.
11110
11111         * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
11112
11113 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11114
11115         * Makerules ($(common-objpfx)stub-$(subdir)): Look for
11116         sysdeps/generic in the whole dep file, not only in the first line.
11117
11118 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11119
11120         * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
11121
11122 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11123
11124         * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
11125         place.
11126
11127 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11128
11129         * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
11130         is non-empty.
11131
11132 1997-11-20 16:51  Ulrich Drepper  <drepper@cygnus.com>
11133
11134         * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
11135         return value.
11136
11137 1997-11-19 21:36  Ulrich Drepper  <drepper@cygnus.com>
11138
11139         * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
11140         readlink succeeds but the return value is too long.
11141
11142         * stdio-common/printf_fphex.c: Determine sign of number correctly.
11143
11144 1997-11-19 02:45  Ulrich Drepper  <drepper@cygnus.com>
11145
11146         * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
11147         __remqu for Alpha.
11148
11149 1997-11-18 23:08  Ulrich Drepper  <drepper@cygnus.com>
11150
11151         * sysdeps/generic/sys/ucontext.h: Stub context file.
11152
11153         * libio/iofprintf.c: Removed.  We use the stdio-common version.
11154
11155         * manual/Makefile (distribute): Add stdio-fp.c.
11156
11157         * sysdeps/powerpc/Dist: Add ppc-mcount.S.
11158
11159         * db2/Makefile (distribute): Add include/os_func.h, README and
11160         mutex/tsl_parisc.s.
11161
11162         * hesiod/Makefile (distribute): Add README.hesiod.
11163
11164 1997-11-18 22:14  Ulrich Drepper  <drepper@cygnus.com>
11165
11166         * iconv/gconv.c: Correctly call transformation function.
11167
11168         * manual/maint.texi: Document need of binutils 2.8.1.0.17.
11169
11170 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11171
11172         * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
11173         wrong results for e.g. remquo (3,2, &x)).
11174         * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
11175         * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
11176
11177 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11178
11179         * configure.in (ld --version-script): Test if the same symbol
11180         maybe defined in all versions (needed by recent changes to
11181         libc.map and supported with binutils 2.8.1.0.17) and issue warning
11182         if versioning is not supported/enabled.
11183         (bash test): Correct test case.
11184
11185         * math/libm-test.c: Added counting/reporting of number of test cases.
11186
11187         * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
11188         use awk instead.
11189
11190         * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
11191
11192 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11193
11194         * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
11195
11196 1997-11-18 18:04  Ulrich Drepper  <drepper@cygnus.com>
11197
11198         * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
11199         Replace revoke call by use of REVOKE.
11200         * sysdeps/unix/sysv/linux/pty.c: New file.  Define REVOKE as
11201         empty and #include generic version.
11202         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
11203
11204 1997-11-18 16:02  Ulrich Drepper  <drepper@cygnus.com>
11205
11206         * libc.map: Add socket functions with __libc_* names.
11207         Reported by Andreas Jaeger.
11208
11209 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11210
11211         * libc.map: Tidy up (remove duplicates, sort entries).
11212
11213 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11214
11215         * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
11216
11217 1997-11-18 06:45  Ulrich Drepper  <drepper@cygnus.com>
11218
11219         * sysdeps/generic/pty.c: Make thread safe.  Fix bug when calling
11220         again after successful call.
11221         Patch by Marc Lehmann <pcg@goof.com>.
11222
11223 1997-11-17  Paul Eggert  <eggert@twinsun.com>
11224
11225         * time/mktime.c, time/strftime.c (_REENTRANT): #define,
11226         as some hosts need this to declare localtime_r properly.
11227
11228 1997-11-18 06:08  Ulrich Drepper  <drepper@cygnus.com>
11229
11230         * libc.map: Add iconv_open, iconv, and iconv_close.
11231
11232 1997-11-18 02:31  Ulrich Drepper  <drepper@cygnus.com>
11233
11234         * iconv/Makefile: New file.
11235         * iconv/gconv.c: New file.
11236         * iconv/gconv.h: New file.
11237         * iconv/gconv_builtin.c: New file.
11238         * iconv/gconv_builtin.h: New file.
11239         * iconv/gconv_close.c: New file.
11240         * iconv/gconv_conf.c: New file.
11241         * iconv/gconv_db.c: New file.
11242         * iconv/gconv_dl.c: New file.
11243         * iconv/gconv_open.c: New file.
11244         * iconv/gconv_simple.c: New file.
11245         * iconv/iconv.c: New file.
11246         * iconv/iconv.h: New file.
11247         * iconv/iconv_close.c: New file.
11248         * iconv/iconv_open.c: New file.
11249         * include/gconv.h: New file.
11250
11251         * Makeconfig: Define gconvdir.
11252         * Makefile (subdirs): Add iconv.
11253
11254         * string/bits/string2.h: Add optimization for strtok_r.
11255
11256         * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
11257         for NULL.
11258         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
11259         Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
11260
11261         * configure.in: Correct test for bash2.
11262         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
11263
11264         * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
11265         (CFLAGS-locfile.c): Likewise.
11266         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
11267
11268         * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
11269         non-existing entry if the table is full.
11270
11271         * posix/regex.h: Pretty print.
11272
11273         * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
11274
11275         * sysdeps/posix/ctermid.c: Simplify a bit.
11276
11277         * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
11278
11279 1997-11-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11280
11281         * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
11282         <sys/types.h> instead of <asm/types.h>.
11283
11284 1997-11-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11285
11286         * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
11287
11288 1997-11-16 17:09  H.J. Lu  <hjl@gnu.ai.mit.edu>
11289
11290         * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
11291         fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
11292         (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
11293         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
11294         fclose): Added to GLIBC_2.1.
11295
11296         * libio/Makefile (routines, shared-only-routines): Add
11297         oldiofclose.  Remove oldfreopen.
11298
11299         * libio/freopen.c (freopen): When PIC is defined, call
11300         _IO_old_freopen () for old stdio.
11301
11302         * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
11303         (_IO_fclose, fclose): Use _IO_new_fclose as default version
11304         for GLIBC_2.1.
11305
11306         * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
11307         instead of _IO_file_close_it.
11308
11309         * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
11310         to _IO_2_1_stdxxx_.
11311         (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
11312         is defined.
11313
11314         * libio/libioP.h (_IO_old_do_flush): New.
11315
11316         * libio/oldfileops.c (_IO_old_file_close_it,
11317         _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
11318         Call _IO_old_do_flush () instead of _IO_do_flush ().
11319         (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
11320         _IO_do_write ().
11321
11322         * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
11323         instead of _IO_file_init ().
11324         Bind old symbols to version GLIBC_2.0.
11325
11326         * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
11327         (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
11328         _IO_stdxxx_.
11329         (_IO_check_libio): New function in .init.
11330
11331         * libio/oldiofclose.c: New file.
11332
11333         * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
11334         _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
11335         (DEF_STDFILE): Don't use default_symbol_version.
11336
11337         * libio/stdio.c (stdin, stdout, stderr): Set to
11338         _IO_2_1_stdxxx_._
11339         (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
11340         stdxxx.
11341
11342         * csu/Makefile (distribute): Add init.c.
11343         (extra-objs): Add init.o for ELF.
11344         (start-installed-name): Add $(objpfx)init.o.
11345
11346         * csu/init.c: New file.
11347
11348 1997-11-12 08:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
11349
11350         * elf/dl-lookup.c (do_lookup): Don't use the hidden base
11351         definition as the default.
11352
11353 1997-08-27  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
11354
11355         * erand48_r.c (__erand48_r): Implement for 32 bit short int.
11356
11357 1997-11-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11358
11359         * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
11360         (PR 351).
11361
11362 1997-11-16 21:01  Philip Blundell  <Philip.Blundell@pobox.com>
11363
11364         * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
11365         to preserve condition codes on function call.
11366
11367 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11368
11369         * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
11370
11371 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11372
11373         * math/libm-test.c (asin_test): Add epsilon for float.
11374         (tan_test): Add epsilon for float.
11375         (log1p_test): Add epsilon for float.
11376         (inverse_functions): Add epsilons.
11377
11378         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
11379         net/if_packet.h.
11380
11381         * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
11382
11383 1997-11-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11384
11385         * md5-crypt/Makefile (extra-objs): Make recursively expanded
11386         variable, since $(object-suffixes) is not defined yet.
11387
11388 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11389
11390         * db2/Makefile (distribute): db185/db185_int.src ->
11391         db185/db185_int.h.
11392
11393 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11394
11395         * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
11396         exactly one.
11397
11398 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11399
11400         * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
11401         name.
11402         * sysdeps/generic/e_acosl.c: Likewise.
11403         * sysdeps/generic/e_asinl.c: Likewise.
11404         * sysdeps/generic/e_atan2l.c: Likewise.
11405         * sysdeps/generic/e_expl.c: Likewise.
11406         * sysdeps/generic/e_fmodl.c: Likewise.
11407         * sysdeps/generic/e_j0l.c: Likewise.
11408         * sysdeps/generic/e_j1l.c: Likewise.
11409         * sysdeps/generic/e_jnl.c: Likewise.
11410         * sysdeps/generic/e_lgammal_r.c: Likewise.
11411         * sysdeps/generic/e_log10l.c: Likewise.
11412         * sysdeps/generic/e_logl.c: Likewise.
11413         * sysdeps/generic/e_powl.c: Likewise.
11414         * sysdeps/generic/e_sqrtl.c: Likewise.
11415         * sysdeps/generic/e_exp2l.c: Likewise.
11416
11417 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11418
11419         * Make-dist (+sysdep-names): Remove extra paren.
11420         * Makefile (distribute): Add stub-tag.h.
11421         * elf/Makefile (distribute): Add atomicity.h.
11422         * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
11423         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
11424         [$(subdir)=socket]: Add net/if_packet.h.
11425         * sysdeps/alpha/Dist: Remove setjmp_aux.c.
11426         * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
11427         net/if_packet.h, scsi/sg.h.
11428
11429 1997-11-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11430
11431         * Makefile (install): Quote $(CC) expansion.
11432
11433 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11434
11435         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
11436         working /proc cwd and no restrictions on path length.  Following
11437         some ideas from Andi Kleen <ak@muc.de> (PR 350).
11438
11439 1997-11-14 19:14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
11440
11441         * nis/nss_compat/compat-grp.c: Remove buggy assert call.
11442         * nis/nss_compat/compat-pwd.c: Likewise.
11443         * nis/nss_compat/compat-spwd.c: Likewise.
11444
11445 1997-11-14 22:23  Ulrich Drepper  <drepper@cygnus.com>
11446
11447         * sysdeps/libm-i387/s_fdim.S: New file.
11448         * sysdeps/libm-i387/s_fdimf.S: New file.
11449         * sysdeps/libm-i387/s_fdiml.S: New file.
11450         * sysdeps/libm-i387/i686/s_fdim.S: New file.
11451         * sysdeps/libm-i387/i686/s_fdimf.S: New file.
11452         * sysdeps/libm-i387/i686/s_fdiml.S: New file.
11453
11454 1997-11-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11455
11456         * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
11457         pointer to unsigned char.
11458
11459 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11460
11461         * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
11462
11463         * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
11464
11465         * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
11466
11467 1997-11-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11468
11469         * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
11470         ilogb(0/NaN).
11471         * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
11472         * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
11473
11474 1997-11-14 05:44  Ulrich Drepper  <drepper@cygnus.com>
11475
11476         * sysdeps/libm-i387/s_fmin.S: New file.
11477         * sysdeps/libm-i387/s_fminf.S: New file.
11478         * sysdeps/libm-i387/s_fminl.S: New file.
11479         * sysdeps/libm-i387/s_fmax.S: New file.
11480         * sysdeps/libm-i387/s_fmaxf.S: New file.
11481         * sysdeps/libm-i387/s_fmaxl.S: New file.
11482         * sysdeps/libm-i387/i686/s_fmin.S: New file.
11483         * sysdeps/libm-i387/i686/s_fminf.S: New file.
11484         * sysdeps/libm-i387/i686/s_fminl.S: New file.
11485         * sysdeps/libm-i387/i686/s_fmax.S: New file.
11486         * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
11487         * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
11488
11489 1997-11-14 03:06  Ulrich Drepper  <drepper@cygnus.com>
11490
11491         * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
11492         * sysdeps/unix/sysv/linux/send.S: Likewise.
11493         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
11494         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
11495         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
11496         * sysdeps/unix/sysv/linux/recv.S: Likewise.
11497         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
11498         * sysdeps/unix/sysv/linux/connect.S: Likewise.
11499         Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
11500
11501 See ChangeLog.7 for earlier changes.