Update.
[platform/upstream/glibc.git] / ChangeLog
1 1998-07-16 13:44  Ulrich Drepper  <drepper@cygnus.com>
2
3         * argp/argp-fmtstream.c: Fix warnings introduced in last change.
4         * assert/assert-perr.c: Likewise.
5         * assert/assert.c: Likewise.
6         * gconv_conf.c: Likewise.
7         * libio/iofputs_u.c: Likewise.
8         * malloc/mtrace.c: Likewise.
9         * malloc/obstack.c: Likewise.
10         * misc/error.c: Likewise.
11         * misc/syslog.c: Likewise.
12         * stdio-common/asprintf.c: Likewise.
13         * stdio-common/dprintf.c: Likewise.
14         * stdio-common/getw.c: Likewise.
15         * stdio-common/putw.c: Likewise.
16         * stdio-common/snprintf.c: Likewise.
17         * stdio-common/sprintf.c: Likewise.
18         * stdio-common/sscanf.c: Likewise.
19         * sunrpc/svc_simple.c: Likewise.
20         * sysdeps/generic/abort.c: Likewise.
21
22         * rt/aio_cancel.c: Don't define ECANCELED here.
23         * sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED correctly.
24
25 1998-07-16 10:23  Ulrich Drepper  <drepper@cygnus.com>
26
27         * argp/argp-fmtstream.c: Unify names of used global functions.
28         * argp/argp-help.c: Likewise.
29         * assert/assert-perr.c: Likewise
30         * assert/assert.c: Likewise
31         * dirent/scandir.c: Likewise
32         * dirent/scandir64.c: Likewise
33         * dirent/versionsort.c: Likewise
34         * dirent/versionsort64.c: Likewise
35         * gmon/bb_exit_func.c: Likewise.
36         * gmon/gmon.c: Likewise.
37         * grp/initgroups.c: Likewise.
38         * iconv/gconv_conf.c: Likewise.
39         * inet/getnameinfo.c: Likewise.
40         * inet/getnetgrent_r.c: Likewise.
41         * inet/inet_ntoa.c: Likewise.
42         * inet/rcmd.c: Likewise.
43         * inet/rexec.c: Likewise.
44         * inet/ruserpass.c: Likewise.
45         * io/fts.c: Likewise.
46         * io/ftw.c: Likewise.
47         * io/ftw64.c: Likewise.
48         * io/getdirname.c: Likewise.
49         * io/getwd.c: Likewise.
50         * io/lockf.c: Likewise.
51         * libio/iofdopen.c: Likewise.
52         * libio/iopopen.c: Likewise.
53         * login/utmp_daemon.c: Likewise.
54         * malloc/mtrace.c: Likewise.
55         * malloc/obstack.c
56         * misc/daemon.c: Likewise.
57         * misc/efgcvt_r.c: Likewise.
58         * misc/err.c: Likewise.
59         * misc/error.c: Likewise.
60         * misc/fstab.c: Likewise.
61         * misc/getpass.c: Likewise.
62         * misc/getttyent.c: Likewise.
63         * misc/mntent_r.c: Likewise.
64         * misc/search.h: Likewise.
65         * misc/syslog.c: Likewise.
66         * nscd/nscd_getgr_r.c: Likewise.
67         * nscd/nscd_getpw_r.c: Likewise.
68         * posix/getpgrp.c: Likewise.
69         * posix/wordexp.c: Likewise.
70         * pwd/fgetpwent_r.c: Likewise.
71         * pwd/getpw.c: Likewise.
72         * resolv/herror.c: Likewise.
73         * resolv/res_init.c: Likewise.
74         * shadow/fgetspent_r.c: Likewise.
75         * shadow/lckpwdf.c: Likewise.
76         * signal/sigrelse.c: Likewise.
77         * stdio-common/asprintf.c: Likewise.
78         * stdio-common/dprintf.c: Likewise.
79         * stdio-common/getw.c: Likewise.
80         * stdio-common/putw.c: Likewise.
81         * stdio-common/snprintf.c: Likewise.
82         * stdio-common/sprintf.c: Likewise.
83         * stdio-common/sscanf.c: Likewise.
84         * stdlib/lrand48_r.c: Likewise.
85         * stdlib/mrand48_r.c: Likewise.
86         * string/argz-replace.c: Likewise.
87         * string/envz.c: Likewise.
88         * sunrpc/auth_des.c: Likewise.
89         * sunrpc/auth_unix.c: Likewise.
90         * sunrpc/bindrsvprt.c: Likewise.
91         * sunrpc/clnt_gen.c: Likewise.
92         * sunrpc/clnt_perr.c: Likewise.
93         * sunrpc/clnt_simp.c: Likewise.
94         * sunrpc/clnt_tcp.c: Likewise.
95         * sunrpc/clnt_udp.c: Likewise.
96         * sunrpc/get_myaddr.c: Likewise.
97         * sunrpc/key_call.c: Likewise.
98         * sunrpc/netname.c: Likewise.
99         * sunrpc/openchild.c: Likewise.
100         * sunrpc/pmap_rmt.c: Likewise.
101         * sunrpc/rpc_dtable.c: Likewise.
102         * sunrpc/rtime.c: Likewise.
103         * sunrpc/svc_run.c: Likewise.
104         * sunrpc/svc_simple.c: Likewise.
105         * sunrpc/svc_tcp.c: Likewise.
106         * sunrpc/svc_udp.c: Likewise.
107         * sunrpc/svcauth_des.c: Likewise.
108         * sunrpc/xdr_array.c: Likewise.
109         * sunrpc/xdr_rec.c: Likewise.
110         * sunrpc/xdr_ref.c: Likewise.
111         * sunrpc/xdr_stdio.c: Likewise.
112         * sysdeps/generic/abort.c: Likewise.
113         * sysdeps/generic/dl-sysdep.c: Likewise.
114         * sysdeps/generic/fstatfs64.c: Likewise.
115         * sysdeps/generic/ftruncate64.c: Likewise.
116         * sysdeps/generic/getrlimit64.c: Likewise.
117         * sysdeps/generic/glob.c: Likewise.
118         * sysdeps/generic/prof-freq.c: Likewise.
119         * sysdeps/generic/putenv.c: Likewise.
120         * sysdeps/generic/statfs64.c: Likewise.
121         * sysdeps/generic/ttyname_r.c: Likewise.
122         * sysdeps/generic/utmp_file.c: Likewise.
123         * sysdeps/generic/vlimit.c: Likewise.
124         * sysdeps/generic/vtimes.c: Likewise.
125         * sysdeps/posix/cuserid.c: Likewise.
126         * sysdeps/posix/euidaccess.c: Likewise.
127         * sysdeps/posix/mkstemp.c: Likewise.
128         * sysdeps/posix/mktemp.c: Likewise.
129         * sysdeps/posix/pread.c: Likewise.
130         * sysdeps/posix/pread64.c: Likewise.
131         * sysdeps/posix/profil.c: Likewise.
132         * sysdeps/posix/pwrite.c: Likewise.
133         * sysdeps/posix/pwrite64.c: Likewise.
134         * sysdeps/posix/sigblock.c: Likewise.
135         * sysdeps/posix/sigpause.c: Likewise.
136         * sysdeps/posix/ttyname.c: Likewise.
137         * sysdeps/posix/ttyname_r.c: Likewise.
138         * sysdeps/posix/waitid.c: Likewise.
139         * sysdeps/unix/getlogin_r.c: Likewise.
140         * sysdeps/unix/grantpt.c: Likewise.
141         * sysdeps/unix/rewinddir.c: Likewise.
142         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
143         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
144         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
145         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
146         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
147         * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
148         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
149         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
150         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
151         * sysdeps/unix/sysv/linux/unlockpt.c: Likewise.
152         * sysvipc/sys/shm.h: Likewise.
153         * time/ctime_r.c: Likewise.
154         * time/strptime.c: Likewise.
155         * wcsmbs/mbrlen.c: Likewise.
156         * wcsmbs/wcsdup.c: Likewise.
157         * wcsmbs/wcsxfrm.c: Likewise.
158         * wctype/wcfuncs.c: Likewise.
159
160         * sysdeps/unix/sysv/linux/i386/socker.S: Change to honor NO_WEAK_ALIAS.
161         * sysdeps/unix/sysv/linux/accept.S: Don't generate __ name.
162         * sysdeps/unix/sysv/linux/bind.S: Likewise.
163         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
164         * sysdeps/unix/sysv/linux/listen.S: Likewise.
165         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
166         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
167         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
168
169         * grp/fgetgrent_r.c: Use explicit locking of the stream.
170
171         * elf/Makefile (rtld-routines): Add dl-environ.
172         * sysdeps/generic/dl-environ.c: New file.
173
174         * libio/Makefile [REENTRANT] (routines): Add iofputs_u.
175         * libio/Versions: Add fputs_unlocked.
176         * libio/iofputs_u.c: New file.
177         * libio/stdio.h: Add prototype for fputs_unlocked.
178
179         * sunrpc/rpc/auth.h: Use __PMT instead of __P in type definitions.
180         * sunrpc/rpc/clnt.h: Likewise.
181         * sunrpc/rpc/pmap_clnt.h: Likewise.
182         * sunrpc/rpc/svc.h: Likewise.
183         * sunrpc/rpc/xdr.h: Likewise.
184
185         * sysdeps/i386/memchr.S: Correct for more strict gas.
186         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
187         * sysdeps/libm-i387/i686/s_fdim.S: Likewise.
188         * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
189         * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
190
191 1998-07-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
192
193         * configure.in: Change message for binutils version from
194         2.8.1.0.17->2.8.1.0.23.
195
196 1998-07-15  Ulrich Drepper  <drepper@cygnus.com>
197
198         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Define LOC.
199         Patch by John Tobey <jtobey@banta-im.com>.
200
201 1998-07-14  Ulrich Drepper  <drepper@cygnus.com>
202
203         * sunrpc/auth_unix.c (authunix_create_default): Use __sysconf
204         instead of sysconf.
205
206 1998-07-14 19:39  Ulrich Drepper  <drepper@cygnus.com>
207
208         * stdio-common/vfscanf.c (ungetc): Use _IO_sputbackc, not _IO_ungetc.
209         [_USE_IN_LIBIO] (encode_error): Free cancelation handler.
210         (conv_error): Likewise.
211         (input_error): Likewise.
212         (memory_error): Likewise.
213
214 1998-07-12  Mark Kettenis  <kettenis@phys.uva.nl>
215
216         * sysdeps/mach/hurd/dl-sysdep.c: Bring in sync with generic
217         implementation.  Include <entry.h>.  Replace references to symbol
218         _start with macro ENTRY_POINT.
219         (__libc_uid): Remove.
220         (__libc_multiple_libcs): New variable.
221         (__libc_stack_end): New variable.
222         (_dl_hwcap_mask): New variable.
223         (_dl_important_hwcaps): New function.
224         (_dl_show_auxv): Mark internal.
225
226 1998-07-14  Mark Kettenis  <kettenis@phys.uva.nl>
227
228         * mach/Makefile: Create target directory before generating
229         mach-syscalls.mk.
230         * mach/Machrules: Invoke awk using AWK variable.  Create target
231         directory before generating server stubs.
232
233 1998-07-14  Ulrich Drepper  <drepper@cygnus.com>
234
235         * wcsmbs/wcslen.c (__wcslen): Fix comment.
236
237         * configure.in: Allow egcs-2.92.
238
239 1998-07-10 18:14 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
240
241         * manual/Makefile: Overhauled.  Generate libc.texinfo from the
242         chapter files.  Exorcise the chapters, chapters-incl mess.
243         Support inserting doc chapters from add-on modules.
244         (chapters): New variable.
245         (add-chapters): New variable.
246         (appendices): New variable.
247         (libc.texinfo): New target.
248         (clean): Fix bugs.
249         (realclean): Fix bugs.
250
251         * manual/texis.awk: New file.
252         * manual/libc-texinfo.sh: New file.
253         * manual/libc-texinfo.in: New file.
254
255         * manual/conf.texi (top @node): Remove next pointer.
256         * manual/lang.texi (top @node): Remove prev pointer.
257
258         * manual/job.texi (top @node): Add explicit pointers.
259         * manual/message.texi (top @node): Add explicit pointers.
260         * manual/nss.texi (top @node): Add explicit pointers.
261         * manual/process.texi (top @node): Add explicit pointers.
262         * manual/startup.texi (top @node): Add explicit pointers.
263         * manual/terminal.texi (top @node): Add explicit pointers.
264         * manual/users.texi (top @node): Add explicit pointers.
265
266         * manual/arith.texi: Add %MENU% tag.
267         * manual/conf.texi: Add %MENU% tag.
268         * manual/contrib.texi: Add %MENU% tag.
269         * manual/ctype.texi: Add %MENU% tag.
270         * manual/errno.texi: Add %MENU% tag.
271         * manual/filesys.texi: Add %MENU% tag.
272         * manual/header.texi: Add %MENU% tag.
273         * manual/install.texi: Add %MENU% tag.
274         * manual/intro.texi: Add %MENU% tag.
275         * manual/io.texi: Add %MENU% tag.
276         * manual/job.texi: Add %MENU% tag.
277         * manual/lang.texi: Add %MENU% tag.
278         * manual/llio.texi: Add %MENU% tag.
279         * manual/locale.texi: Add %MENU% tag.
280         * manual/maint.texi: Add %MENU% tag.
281         * manual/math.texi: Add %MENU% tag.
282         * manual/mbyte.texi: Add %MENU% tag.
283         * manual/memory.texi: Add %MENU% tag.
284         * manual/message.texi: Add %MENU% tag.
285         * manual/nss.texi: Add %MENU% tag.
286         * manual/pattern.texi: Add %MENU% tag.
287         * manual/pipe.texi: Add %MENU% tag.
288         * manual/process.texi: Add %MENU% tag.
289         * manual/search.texi: Add %MENU% tag.
290         * manual/setjmp.texi: Add %MENU% tag.
291         * manual/signal.texi: Add %MENU% tag.
292         * manual/socket.texi: Add %MENU% tag.
293         * manual/startup.texi: Add %MENU% tag.
294         * manual/stdio.texi: Add %MENU% tag.
295         * manual/string.texi: Add %MENU% tag.
296         * manual/sysinfo.texi: Add %MENU% tag.
297         * manual/terminal.texi: Add %MENU% tag.
298         * manual/time.texi: Add %MENU% tag.
299         * manual/users.texi: Add %MENU% tag.
300
301 1998-07-13  Ulrich Drepper  <drepper@cygnus.com>
302
303         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
304         Update.
305
306 1998-07-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
307
308         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Use ANSI
309         style declaration to avoid warning.
310         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
311
312 1998-07-04  Mark Kettenis  <kettenis@phys.uva.nl>
313
314         * elf/rtld.c (process_dl_debug): Add missing continue.
315
316 1998-07-12  Mark Kettenis  <kettenis@phys.uva.nl>
317
318         * elf/rtld.c (_dl_skip_args): Make global because the Hurd startup
319         code needs it.
320
321 1998-07-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
322
323         * Makeconfig ($(common-objpfx)sysd-dirs): Write out definition of
324         sysd-dirs-done.
325         * Makerules: Don't generate version maps too early.
326         ($(common-objpfx)sysd-versions): Force regeneration if the list of
327         subdirs has changed.
328
329 1998-07-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
330
331         * elf/dlfcn.h (DL_CALL_FCT): Use portable comma expression.
332
333 1998-07-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
334
335         * iconv/gconv_db.c (gen_steps): Always set *handle and *nsteps.
336         * iconv/gconv_dl.c (__gconv_find_shlib): Correct use of tfind
337         return value.
338
339 1998-07-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
340
341         * elf/dl-open.c (dl_open_worker): New function.
342         (_dl_open): Call it to do the actual work while catching errors.
343         * elf/dl-close.c (_dl_close): Only call termination function if
344         the initialisation function was called.
345
346 1998-07-13  Ulrich Drepper  <drepper@cygnus.com>
347
348         * libio/libioP.h (_IO_cleanup_registration_needed): Use __PMT.
349         Reported by Felix von Leitner <leitner@amdiv.de>.
350
351 1998-07-13 10:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
352
353         * sysdeps/unix/sysv/linux/m68k/dl-envvars.h: New file.
354
355 1998-07-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
356
357         * Make-dist (+sysdep-tsrcs): Add Versions.
358
359 1998-07-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
360
361         * math/Versions: Remove __log1p, __atan2, __fe_dfl_env,
362         __fe_enabled_env, __fe_nonieee_env and __fe_nomask_env.
363         * sysdeps/powerpc/Versions: New file.
364         * csu/Versions: Remove brk, sbrk, environ, __environ, _environ
365         and __errno_location.
366         * misc/Versions: Add brk and sbrk.
367         * posix/Versions: Add environ, __environ and _environ.
368         * sysdeps/unix/sysv/linux/Versions: Add __errno_location.
369
370 1998-07-10 11:58  Ulrich Drepper  <drepper@cygnus.com>
371
372         * Makerules [no_defs]: Avoid dependency for loading sysd-versions.
373         Patch by Zack Weinberg.
374
375 1998-07-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
376
377         * posix/annexc.c (errno_maybe): EACCESS->EACCES.
378         (signal_maybe): Remove duplicate entry SIGEV_SIGNAL.
379         (mman_maybe): Remove duplicates MS_ASYNC, MS_INVALIDATE.
380
381 1998-07-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
382
383         * sysdeps/unix/sysv/linux/bits/fcntl.h: Fix typo.
384
385 1998-07-09  Ulrich Drepper  <drepper@cygnus.com>
386
387         * posix/unistd.h: Simplify #ifdefs.
388
389         * libio/libio.h: Undo last change due to possible C++ problems.
390         * libio/fileops.h: Likewise.
391
392 1998-07-09 13:34  Ulrich Drepper  <drepper@cygnus.com>
393
394         * grp/grp.h: Define gid_t also for __USE_XOPEN.
395         * io/fcntl.h: Include <sys/stat.h> also for __USE_XOPEN.
396         * io/utime.h: Define time_t also for __USE_XOPEN.
397         * io/sys/stat.h: Define time_t also for __USE_XOPEN.
398         Define *_t types except for pid_t also for __USE_XOPEN.
399         Define S_* macros also for __USE_XOPEN.
400         * locale/langinfo.h: Define CODESET, CRNCYSTR, RADIXCHAR, and
401         THOUSEP also for __USE_XOPEN.
402         * math/math.c: Define M_* macros also for __USE_XOPEN.
403         * math/bits/mathcalls.h: Declare hypot also for __USE_XOPEN.
404         * posix/fnmatch.h: Define FNM_NOSYS and for if _XOPEN_SOURCE is
405         defined.
406         * posix/glob.h: Likewise for GLOB_NOSYS.
407         * posix/regex.h: Likewise for REG_NOSYS.
408         * posix/wordexp.h: Likewise for WRDE_NOSYS.
409         * posix/unistd.h: Define *_t types also for __USE_XOPEN.
410         * posix/sys/wait.h: Define pid_t for __USE_XOPEN.
411         * pwd/pwd.h: Define gid_t and pid_t also for __USE_XOPEN.
412         * signal/signal.h: Define pid_t also for __USE_XOPEN.
413         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define _RSYNC and O_DSYNC also
414         for __USE_POSIX199309.
415         * sysdeps/unix/sysv/linux/bits/termios.h: Define the various B*
416         constants also for __USE_XOPEN.
417         * wcsmbs/wchar.h: For XPG4 include wctype.h.
418
419         * intl/dcgettext.c (find_msg): Initialize act to prevent warning.
420         * locale/setlocale.c (new_composite_name): Likewise for last_len.
421
422         * libio/stdio.h: Don't declare fclose_unlocked.
423
424         * sysdeps/posix/fpathconf.c: Handle _PC_FILESIZEBITS.
425
426 1998-07-08  Mark Kettenis  <kettenis@phys.uva.nl>
427
428         * stdio/stdio.h: Add prototypes for fflush_unlocked,
429         getc_unlocked, getchar_unlocked, putc_unlocked, putchar_unlocked,
430         fgets_unlocked, fread_unlocked, fwrite_unlocked,
431         clearerr_unlocked, feof_unlocked, ferror_unlocked,
432         fileno_unlocked, flockfile, ftrylockfile, funlockfile.
433         [__USE_XOPEN && !__USE_GNU] Declare optarg, optind, opterr.  Add
434         prototype for getopt.
435         * stdio/clearerr.c (clearerr_unlocked): Weak alias for clearerr.
436         * stdio/feof.c (feof_unlocked): Weak alias for feof.
437         * stdio/ferror.c (ferror_unlocked): Weak alias for ferror.
438         * stdio/fflush.c (fflush_unlocked): Weak alias for fflush.
439         * stdio/fgets.c (fgets_unlocked): Weak alias for fgets.
440         * stdio/fileno.c (fileno_unlocked): Weak alias for fileno.
441         * stdio/fputc.c (fputc_unlocked): Weak alias for fputc.
442         * stdio/fread.c (fread_unlocked): Weak alias for fread.
443         * stdio/fwrite.c (fwrite_unlocked): Weak alias for fwrite.
444         * stdio/getc.c (getchar_unlocked): Weak alias for getc.
445         * stdio/getchar.c (getchar_unlocked): Weak alias for getchar.
446         * stdio/putc.c (putc_unlocked): Weak alias for putc.
447         * stdio/putchar.c (putchar_unlocked): Weak alias for putchar.
448         * stdio/Versions [GLIBC_2.1]: Add clearerr_unlocked,
449         feof_unlocked, ferror_unlocked, fflush_unlocked, fgets_unlocked,
450         fileno_unlocked, fputc_unlocked, fread_unlocked, fwrite_unlocked,
451         getc_unlocked, getchar_unlocked, putc_unlocked and
452         putchar_unlocked.
453
454         * libio/Versions: Move flockfile, ftrylockfile and funlockfile
455         from here ...
456         * stdio-common/Versions: ... to here.
457
458 1998-07-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
459
460         * Makerules (versioning): Correct typo.
461
462 1998-07-08 22:18  Ulrich Drepper  <drepper@cygnus.com>
463
464         * elf/Versions: Add _dl_mcount_wrapper_check.
465         * elf/dlfcn.h (DL_CALL_FCT): Don't test _dl_profile_map, simply use
466         _dl_mcount_wrapper_check.
467         * iconv/skeleton.c: Use DL_CALL_FCT, not _CALL_DL_FCT.
468
469         * elf/dl-reloc.c (_dl_relocate_object): Don't declare using
470         internal_function.
471         * elf/ldsodefs.h: Likewise.
472
473         * io/fcntl.h: Define SEEK_SET, SEEK_CUR, and SEEK_END.
474
475         * libio/stdio.h: Make sure va_list is defined for X/Open.
476         Define P_tmpdir for X/Open.
477
478         * posix/regex.h: Fix typo.
479
480         * posix/unistd.h: Define intptr_t if not already happened.
481         Add pthread_atfork prototype.
482         * sysdeps/generic/bits/types.h: Define __intptr_t.
483         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
484         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
485         * sysdeps/unix/sysv/linux/bits/mips/types.h: Likewise.
486         * sysdeps/unix/sysv/linux/bits/sparc/sparc64/types.h: Likewise.
487         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
488         * sysdeps/wordsize-32/stdint.h: Don't define intptr_t if already done.
489         * sysdeps/wordsize-64/stdint.h: Likewise.
490
491         * posix/bits/posix1_lim.h: Define _POSIX_CLOCKRES_MIN.
492
493         * signal/Makefile (headers): Add bits/sigthread.h.
494         * signal/signal.h: Include bits/sigthread.h.
495         * sysdeps/generic/bits/sigthread.h: New file.
496
497         * stdlib/stdlib.h: Declare rand_r use __USE_POSIX.
498
499         * sysdeps/generic/bits/confname.h: Define _PC_FILESIZEBITS.
500         * sysdeps/posix/pathconf.c: Handle _PC_FILESIZEBITS.
501         * sysdeps/unix/sysv/linux/alpha/fpathconf.c: New file.
502         * sysdeps/unix/sysv/linux/alpha/pathconf.c: New file.
503
504         * sysdeps/generic/bits/dlfcn.h: Define RTLD_LOCAL.
505
506         * elf/rtld.c: Remove preloading and loadpath variables in SUID
507         programs.
508         * sysdeps/generic/dl-sysdep.c: Define unsetenv.
509         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Define other envvar
510         names.
511
512         * sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED.
513
514         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_RSYNC and O_DSYNC.
515         Remove O_READ and O_WRITE definition.
516
517         * sysdeps/unix/sysv/linux/bits/resource.h: Define RLIM_SAVED_MAX
518         and RLIM_SAVED_CUR.
519
520         * sysdeps/unix/sysv/linux/fstatvfs.h: Handle UFS filesystem.
521
522 1998-07-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
523
524         * Makerules ($(common-objpfx)sysd-versions): Expect awk script in
525         scripts directory.  Pass move-if-change to awk.
526         (common-generated): Add $(version-maps) and sysd-versions.
527         * versions.awk: Moved to...
528         * scripts/versions.awk: ... here.  Use move-if-change to void
529         touching unchanged files.  Print "version-maps = ..." instead of
530         "all-version-maps = ..." and without $(common-objpfx).  Explain
531         expected variable names.
532         * Makefile (distribute): Updated.
533
534 1998-07-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
535
536         * misc/getttyent.c (getttyent): Don't return with locked stream.
537         * misc/mntent_r.c (__getmntent_r): Likewise.
538
539 1998-07-07 18:24  Ulrich Drepper  <drepper@cygnus.com>
540
541         * libio/fileops.c (_IO_do_write): Don't shrink wwrite buffer to zero
542         if stream is line buffered.
543         (_io_file_overflow): Likewise.
544         * libio/libio.h (_IO_putc_unlocked): Make sure that for line-buffered
545         streams writing '\n' flushes the string.
546
547 1998-07-07 17:28  Ulrich Drepper  <drepper@cygnus.com>
548
549         * elf/dl-profstub.c (_dl_profile_map): Only declare variable here.
550         * elf/dl-support.c: Define it here...
551         * elf/rtld.c: ...and here.
552
553 1998-07-07 16:28  Ulrich Drepper  <drepper@cygnus.com>
554
555         * grp/initgroups.c: Handle directives from nsswitch.conf file.
556
557 1998-07-07  Ulrich Drepper  <drepper@cygnus.com>
558
559         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Add
560         __ino64_t definition.
561         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Define
562         __off64_t.  Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
563
564         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Do not exit the shell
565         script if lddlibc4 failed.
566         Reported by B. D. Elliott <bde@accessone.com>.
567
568 1998-07-06  Ulrich Drepper  <drepper@cygnus.com>
569
570         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
571         Improve generated strings a bit.
572
573 1998-07-06 14:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
574
575         * posix/Makefile (generated): Remove $(objpfx) from the names.
576
577 1998-07-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
578
579         * stdio-common/test_rdwr.c: Use %Zu for size_t in printf
580         format string.
581
582         * libio/iofread_u.c: Include <stdio.h> for prototype.
583         * libio/iofwrite_u.c: Likewise.
584
585 1998-07-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
586
587         * db2/Versions: New file.
588
589 1998-07-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
590
591         * Makefile (lib-noranlib): Don't depend on sysd-versions.
592         ($(common-objpfx)sysd-versions): Remove rule.
593         * Makerules ($(common-objpfx)sysd-versions): Define here instead.
594         Pass name of Versions.def file to script and redirect output to
595         target.  Include it and make all generated version maps depend on
596         it.
597         * versions.awk: Print out variable definition containing all
598         generated version maps.  Print error messages to stderr.  Remove
599         temp file.
600
601 1998-07-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
602
603         * posix/annexc.c (check_header): Terminate macro name before
604         comparing.
605         (get_null_defines): Allow builtin macros with parameters.
606         (fmt, testfmt): Add -D_LIBC.
607         * posix/Makefile: Remove bogus duplicate include directories from
608         annexc test command.
609
610 1998-07-06 12:04  Ulrich Drepper  <drepper@cygnus.com>
611
612         * nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r): Handle adjunct
613         password scheme.
614         (_nss_nis_getpwnam_r): Likewise.
615         (_nss_nis_getpwuid_r): Likewise.
616
617 1998-07-05  Mark Kettenis  <kettenis@phys.uva.nl>
618
619         * libio/Versions: Move symbols whose source lives in
620         stdio-common to ...
621         * stdio-common/Versions: ... here.
622         * stdio/Versions: Add missing symbols.
623
624 1998-07-05  Ulrich Drepper  <drepper@cygnus.com>
625
626         * sysdeps/unix/sysv/linux/__sendmsg.S: Define function as
627         __syscall_sendmsg.
628         * sysdeps/unix/sysv/linux/__recvmsg.S: Define function as
629         __syscall_recvmsg.
630         * sysdeps/unix/sysv/linux/recvmsg.c: Define function as __libc_recvmsg
631         and make __recvmsg and recvmsg weak aliases.
632         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise for sendmsg.
633         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define __syscall_recvmsg
634         and __syscall_sendmsg.
635
636 1998-07-05 11:49  Ulrich Drepper  <drepper@cygnus.com>
637
638         * iconv/gconv_conf.c (read_conf_file): Use feof_unlocked on private
639         stream.
640         * inet/ruserpass.c (token): Likewise.
641         * nss/nsswitch.c (nss_parse_file): Likewise.
642         * intl/localealias.c: Likewise.  Also for ferror.
643         * time/getdate.c (__getdate_r): Likewise.
644
645         * libio/Makefile (routines): Add iofgets_u.
646         * libio/iofgets_u.c: New file.
647         * libio/Versions: Add fgets_unlocked.
648         * libio/stdio.h: Add prototype for fgets_unlocked.
649
650         * misc/getttyent.c (getttyent): Use fgets_unlocked instead of fgets.
651         * misc/getusershell.c (initshells): Likewise.
652         * misc/mntent_r.c (__getmntent_r): Explicitly lock stream.  Use
653         fgets_unlocked.
654         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
655         * resolv/res_init.c (res_init): Likewise.
656         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
657
658 1998-05-23  Philip Blundell  <Philip.Blundell@pobox.com>
659
660         * sysdeps/unix/sysv/linux/arm/syscalls.list: Add `syscall'.
661         * sysdeps/unix/sysv/linux/arm/syscall.S: Deleted.
662
663 1998-07-05  Ulrich Drepper  <drepper@cygnus.com>
664
665         * misc/getttyent.c (getttyent): Explicitly lock the FILE and use
666         _unlocked functions.
667
668         * inet/ruserpass.c (ruserpass): Use _unlocked functions since this
669         is a private FILE.
670
671 1998-07-04 17:11 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
672
673         * csu/Makefile: Build crt files in lib pass.
674         * db2/Makefile (distribute): Add mutex/sco.cc.
675         * mach/Machrules: Don't generate .udeps files if no_deps is set.
676         * sysdeps/unix/Makefile: Don't generate sysd-syscalls or
677         s-proto.d if avoid-generated is set.
678
679         * sysdeps/alpha/Dist: List only one file per line.
680         * sysdeps/generic/Dist: Likewise.
681         * sysdeps/m68k/fpu/switch/Dist: Likewise.
682         * sysdeps/sparc/sparc32/Dist: Likewise.
683         * sysdeps/unix/Dist: Likewise.
684         * sysdeps/unix/sysv/irix4/Dist: Likewise.
685
686         * sysdeps/mach/hurd/i386/Dist: New file.
687         * sysdeps/generic/Dist: Add endutxent.c, getutxent.c, getutxid.c,
688         getutxline.c, pututxline.c, setutxent.c, updwtmpx.c, and utmpxname.c.
689         * sysdeps/unix/sysv/linux/Dist: Add getresuid.c and getresgid.c.
690         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove __sigtrampoline.S.
691
692 1998-07-04 10:14  Ulrich Drepper  <drepper@cygnus.com>
693
694         * libio/Makefile (routines): Add iofread_u and iofwrite_u.
695         * libio/Versions: Add fread_unlocked and fwrite_unlocked.
696
697         * Makerules (lib%.so): Adjust ignore pattern for last makefile change.
698
699         * time/tzfile.c (decode): Optimize by using bswap_32.
700         (__tzfile_read): Use _unlocked stream functions.  Correct setting of
701         __tzname array values.
702         (__tzfile_compute): Correct setting of __tzname array values.
703         * time/tzset.c (__tzstring): Clean up a bit.
704
705 1998-06-29 19:01  Jim Wilson  <wilson@cygnus.com>
706
707         * posix/regex.c (re_comp): Add cast to char * before gettext calls.
708
709 1998-06-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
710
711         * sysdeps/unix/bsd/poll.c (__poll): Allocate fd_set dynamically so
712         that fd can be bigger than FD_SETSIZE.
713
714 1998-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
715
716         * nscd/grpcache.c: Include <unistd.h>.
717         * nscd/pwdcache.c: Likewise.
718
719         * nis/nis_modify.c: Include <string.h>.
720         * nis/nis_add.c: Likewise.
721         * nis/nis_checkpoint.c: Likewise.
722         * posix/runptests.c: Likewise.
723         * sysdeps/generic/statvfs64.c: Likewise.
724         * sysdeps/generic/fstatvfs64.c: Likewise.
725
726 1998-07-03 13:16  Ulrich Drepper  <drepper@cygnus.com>
727
728         * localedata/charmaps/ISO-8859-9: Change mapping for 0xea, 0xec, 0xef
729         to match data from Unicode.
730         Reported by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
731
732 1998-07-03 11:45  Ulrich Drepper  <drepper@cygnus.com>
733
734         * stdio-common/printf.h: Define printf_function and
735         printf_arginfo_function types using __PMT not __P.
736         Reported by Marc Lehmann.
737
738 1998-07-02 14:07 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
739
740         * assert/test-assert.c: New test.
741         * assert/test-assert-perr.c: New test.
742         * assert/Makefile (tests): Add test-assert and test-assert-perr.
743
744 1998-07-02 13:45  Zack Weinberg  <zack@rabi.phys.columbia.edu>
745
746         BSD-style SCM_CREDS support.
747
748         * sysdeps/unix/sysv/linux/socket.h: Define struct cmsgcred and
749         SCM_CREDS.
750         * sysdeps/unix/sysv/linux/sendmsg.c: New file.  Convert user
751         visible SCM_CREDS packet to what the kernel wants.
752         * sysdeps/unix/sysv/linux/recvmsg.c: New file.  Convert
753         SCM_CREDS packet output by kernel to what users want.
754
755         * sysdeps/unix/sysv/linux/sendmsg.S: Moved to...
756         * sysdeps/unix/sysv/linux/__sendmsg.S: here.
757         * sysdeps/unix/sysv/linux/recvmsg.S: Moved to...
758         * sysdeps/unix/sysv/linux/__recvmsg.S: here.
759
760         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]: Add
761         __sendmsg and __recvmsg to sysdep_routines.
762         * sysdeps/unix/sysv/linux/Dist: Add __sendmsg.S and __recvmsg.S.
763
764 1998-07-02  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
765
766         * nscd/grpcache.c: Fix gid pointer handling and debug messages.
767         * nscd/pwdcache.c: Fix uid pointer handling and debug messages.
768         * nscd/nscd.c: Check, if pthread_create fails.
769
770 1998-07-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
771
772         * stdio-common/test_rdwr.c (main): Use %Zu for size_t in printf
773         format strings.
774         * stdio-common/bug1.c (main): Likewise.
775         * stdio-common/bug5.c (main): Likewise.
776         * stdio-common/tstgetln.c (main): Likewise.
777         * elf/sprof.c (generate_call_graph): Likewise.
778         (load_shobj): Likewise.
779         * posix/runptests.c (main): Likewise.
780         * string/tst-strlen.c (main): Likewise.
781
782         * sysdeps/libm-ieee754/e_acos.c (__ieee754_acos): Remove unused
783         variable q3.
784         * sysdeps/libm-ieee754/e_asin.c (__ieee754_asin): Likewise
785
786 1998-07-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
787
788         * wctype/Versions: Add __towctrans.
789         Noticed by Alex Buell <alex.buell@tahallah.demon.co.uk>.
790
791 1998-07-02  Mark Kettenis  <kettenis@phys.uva.nl>
792
793         * grp/initgroups.c (compat_call): Only call dynamically loaded
794         functions if they are really present.
795
796 1998-07-02  Mark Kettenis  <kettenis@phys.uva.nl>
797
798         * sysdeps/unix/sysv/linux/bits/sched.h: Move __END_DECLS within
799         #ifdef that contains __BEGIN_DECLS.
800
801 1998-07-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
802
803         * libio/iofwrite.c: Fix return value when size == 0.
804
805 1998-07-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
806
807         * posix/Makefile (distribute): Add annexc.c.
808         (generated): Add $(objpfx)annexc and $(objpfx)annexc.out.
809
810 1998-07-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
811
812         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
813         bits/pthreadtypes.h here, and do not clobber headers.
814
815         * sysdeps/unix/sysv/linux/Dist: Add bits/pthreadtypes.h.
816
817 1998-07-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
818
819         * timezone/tst-timezone.c: Add tests for tzname variable.
820
821 1998-07-03 12:17  Zack Weinberg  <zack@rabi.phys.columbia.edu>
822
823         * Makefile [versioning=yes]: Build the mapfiles with a pattern
824         rule that lists all of them as targets.
825         (sysd-versions): Depend only on Versions.def.  Write a Makefile
826         fragment that defines $(vers-libs) based on contents of that file;
827         then include it.
828         (lib-noranlib): Depend on lib-mapfiles not sysd-versions.
829         (lib-mapfiles): New target, depends on sysd-versions and $(vers-libs).
830         Predicate all this on avoid-generated unset as well as versioning.
831
832 1998-07-03 14:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
833
834         * sysdeps/unix/sysv/linux/m68k/Versions: New file.
835
836 1998-07-02 21:51  Ulrich Drepper  <drepper@cygnus.com>
837
838         * Makeconfig: Define list of subdirs as all-subdirs and make subdirs
839         a copy.
840         * Makefile: Add rules to generate map files.
841         (distribute): Remove libc.map, add Versions.def and versions.awk.
842         * Makerules: Change rules to find map files on common-objpfx.
843         * elf/Makefile: Likewise.
844         * md5-crypt/Makefile: Likewise.
845         * nis/Makefile (libnsl-map): Remove.
846         * Versions.def: New file.
847         * versions.awk: New file.
848         * argp/Versions: New file.
849         * assert/Versions: New file.
850         * catgets/Versions: New file.
851         * csu/Versions: New file.
852         * ctype/Versions: New file.
853         * db/Versions: New file.
854         * debug/Versions: New file.
855         * dirent/Versions: New file.
856         * elf/Versions: New file.
857         * gmon/Versions: New file.
858         * grp/Versions: New file.
859         * hesiod/Versions: New file.
860         * hurd/Versions: New file.
861         * iconv/Versions: New file.
862         * inet/Versions: New file.
863         * intl/Versions: New file.
864         * io/Versions: New file.
865         * libio/Versions: New file.
866         * linuxthreads/Versions: New file.
867         * locale/Versions: New file.
868         * login/Versions: New file.
869         * malloc/Versions: New file.
870         * math/Versions: New file.
871         * md5-crypt/Versions: New file.
872         * misc/Versions: New file.
873         * nis/Versions: New file.
874         * nss/Versions: New file.
875         * posix/Versions: New file.
876         * pwd/Versions: New file.
877         * resolv/Versions: New file.
878         * resource/Versions: New file.
879         * rt/Versions: New file.
880         * setjmp/Versions: New file.
881         * shadow/Versions: New file.
882         * signal/Versions: New file.
883         * socket/Versions: New file.
884         * stdio/Versions: New file.
885         * stdio-common/Versions: New file.
886         * stdlib/Versions: New file.
887         * streams/Versions: New file.
888         * string/Versions: New file.
889         * sunrpc/Versions: New file.
890         * sysdeps/alpha/Versions: New file.
891         * sysdeps/alpha/fpu/Versions: New file.
892         * sysdeps/i386/Versions: New file.
893         * sysdeps/sparc/Versions: New file.
894         * sysdeps/unix/sysv/Versions: New file.
895         * sysdeps/unix/sysv/linux/Versions: New file.
896         * sysdeps/unix/sysv/linux/alpha/Versions: New file.
897         * sysdeps/unix/sysv/linux/i386/Versions: New file.
898         * sysdeps/unix/sysv/linux/mips/Versions: New file.
899         * sysvipc/Versions: New file.
900         * termios/Versions: New file.
901         * time/Versions: New file.
902         * wcsmbs/Versions: New file.
903         * wctype/Versions: New file.
904         * libc.map: Removed.
905         * db/libdb.map: Removed.
906         * elf/libdl.map: Removed.
907         * hesiod/libnss_hesiod.map: Removed.
908         * hurd/libhurduser.map: Removed.
909         * hurd/libmachuser.map: Removed.
910         * linuxthreads/libpthread.map: Removed.
911         * locale/libBrokenLocale.map: Removed.
912         * login/libutil.map: Removed.
913         * math/libm.map: Removed.
914         * md5-crypt/libcrypt.map: Removed.
915         * nis/libnsl.map: Removed.
916         * nis/libnsl_compat.map: Removed.
917         * nis/libnss_nis.map: Removed.
918         * nis/libnss_nisplus.map: Removed.
919         * nss/libnss_db.map: Removed.
920         * nss/libnss_files.map: Removed.
921         * resolv/libnss_dns.map: Removed.
922         * resolv/libresolv.map: Removed.
923         * rt/librt.map: Removed.
924
925         * elf/dl-load.c (fillin_rpath): Fix test for trusted directory.
926         Fix typos.
927
928         * elf/rtld.c (process_dl_debug): Recognize 'all'.
929         (process_envvars): LD_BIND_NOW must be followed by y, Y, or 1.
930
931         * sysdeps/generic/elf/backtracesyms.c: Allocate string memory of
932         correct size.
933
934 1998-07-01  Ulrich Drepper  <drepper@cygnus.com>
935
936         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Fix typo
937         in comment.
938
939         * nscd/nscd.c: Include unistd.h.
940
941 1998-07-01 09:32  Ulrich Drepper  <drepper@cygnus.com>
942
943         * math/libm-test.c: Adjust delta for indentities1_test because gcc
944         became cleverer.
945
946 1998-06-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
947
948         * resolv/inet_addr.c (inet_aton): Define variable base only if needed.
949
950 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
951
952         * scripts/test-installation.pl: Include <stdio.h> in test program
953         to make it strictly conforming.
954
955 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
956
957         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
958         not a strong alias.
959         * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise.
960         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
961         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
962         * sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
963
964 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
965
966         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
967         not a strong alias.
968
969 1998-06-30  Ulrich Drepper  <drepper@cygnus.com>
970
971         * posix/Makefile (headers): Remove bits/pthreadtypes.h.
972         * sysdeps/unix/sysv/linux/Makefile [subdir==posix] (headers): Add
973         bits/pthreadtypes.h.
974
975 1998-06-30 11:47  Ulrich Drepper  <drepper@cygnus.com>
976
977         * include/aio.h: New file.
978         * posix/Makefile (distribute): Add bits/pthreadtypes.h.
979         (tests): Build and run annexc program.
980         * posix/annexc.c: New file.
981         * posix/bits/posix1_lim.h: Add several more _POSIX_* limits.
982         * rt/aio.h: Remove __need_timespec_t.  We can include the whole time.h.
983         * rt/aio_misc.c: Include limits.h.
984         * rt/aio_notify.c: Include errno.h.
985         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Include pthreadtypes.h.
986         Define size_t.
987         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
988         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
989         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
990         * sysdeps/unix/sysv/linux/bits/errno.h: Define ENOTSUP though the
991         kernel doesn't do this.
992         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_LARGEFILE only if
993         __USE_LARGEFILE64 is defined.
994         * sysdeps/unix/sysv/linux/bits/pthreadtypes.h: New file.  Empty.
995         * sysdeps/unix/sysv/linux/bits/sched.h: Define __sched_param struct
996         if requested.
997         * sysdeps/unix/sysv/linux/bits/siginifo.h: Protect non-standard names.
998
999         * stdlib/isomac.c: Avoid include_next warning.
1000
1001 1998-06-29 12:27  Ulrich Drepper  <drepper@cygnus.com>
1002
1003         * argp/argp.h: Use __PMT instead of __P for function pointer.
1004         * iconv/gconv.h: Likewise.
1005         * io/fts.h: Likewise.
1006         * io/ftw.h: Likewise.
1007         * libio/libio.h: Likewise.
1008         * malloc/mcheck.h: Likewise.
1009         * misc/search.h: Likewise.
1010         * posix/glob.h: Likewise.
1011         * resolv/resolv.h: Likewise.
1012         * signal/signal.h: Likewise.
1013         * stdlib/stdlib.h: Likewise.
1014         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
1015         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
1016
1017 1998-06-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1018
1019         * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) only once.
1020
1021 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1022
1023         * posix/wordexp.c (parse_param): Fix memory leak.
1024
1025 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1026
1027         * libc.map: Export _IO_ftrylockfile.
1028
1029 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1030
1031         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use get[pu]id instead of
1032         __get[pu]id.
1033
1034 1998-06-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1035
1036         * elf/dl-misc.c (_dl_debug_message): Don't cache the pid.
1037
1038         * elf/dl-runtime.c (_dl_object_relocation_scope): Avoid adding the
1039         same search list twice.
1040
1041 1998-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1042
1043         * login/programs/utmpd.c (handle_requests): Set and use maximal fd
1044         used to optimize loop/select.
1045
1046 1998-06-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1047
1048         * sysdeps/generic/init-first.c: Don't define __libc_pid.
1049         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
1050         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
1051         * sysdeps/mach/hurd/mips/init-first.c: Likewise.
1052         * sysdeps/arm/init-first.c: Likewise.
1053         * posix/getopt_init.c: Don't use __libc_pid.
1054         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1055         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1056         * libc.map: Remove __libc_uid and __libc_pid.
1057
1058 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1059
1060         * sunrpc/rtime.c (rtime): Use poll instead of select.
1061
1062 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1063
1064         * sunrpc/clnt_tcp.c (readtcp): Use poll instead of select.
1065         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
1066         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
1067         Patches from FreeBSD current.
1068
1069 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1070
1071         * nscd/connections.c (handle_new_request): Handle POLLHUP
1072         correctly.
1073         (close_sockets): Correct parameter to dbg_log.
1074
1075 1998-06-27  David S. Miller  <davem@pierdol.cobaltmicro.com>
1076
1077         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
1078         Cleanup weak_extern usage for _dl_hwcap and _dl_hwcap_mask.
1079         (elf_machine_fixup_plt): Likewise.
1080         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: When
1081         _dl_pagesize not set, use system call to always get correct answer.
1082         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
1083         (__syscall_getpagesize): Add
1084
1085 1998-06-27  Ulrich Drepper  <drepper@cygnus.com>
1086
1087         * resolv/res_send.c (res_send): Fix typo.
1088
1089 1998-06-25  Andi Kleen <ak@muc.de>
1090
1091         * inet/rcmd.c (rcmd): Change to use __poll instead of select.
1092         * resolv/res_send.c (res_send): Likewise.
1093
1094 1998-06-27 12:58  Ulrich Drepper  <drepper@cygnus.com>
1095
1096         * sysdeps/unix/bsd/poll.c: Define __poll, make poll weak alias.
1097         * sysdeps/unix/sysv/linux/poll.c: Likewise.
1098
1099 1998-06-27  7:07  Richard Henderson  <rth@cygnus.com>
1100
1101         * math/atest-exp.c (exp_mpn, main): Cast to mp_limb_t appropriately.
1102         * math/atest-exp2.c (exp_mpn, main): Likewise.
1103         * math/atest-sincos.c (main): Likewise.
1104
1105         * resolv/inet_addr.c (inet_aton): Check for 32-bit overflow.  Move
1106         base handling away from strtoul.  Always reset errno.
1107
1108         * sysdeps/alpha/Makefile (elf): Kill -mno-fp-regs.
1109
1110         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Only set
1111         _dl_profile_map if _dl_name_match_p.
1112         (RTLD_START): Fix .prologue.  Set __libc_stack_end.
1113         * sysdeps/alpha/elf/start.S: Pass sp as arg 7.  Kill __data_start.
1114
1115         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Mark tmp
1116         as early-clobber.
1117
1118         * sysdeps/libm-ieee754/e_exp10.c: Include "math_private.h".
1119         * sysdeps/libm-ieee754/e_exp10f.c: Likewise.
1120         * sysdeps/libm-ieee754/e_exp10l.c: Likewise.
1121
1122 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
1123
1124         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use alias-safe code.
1125
1126 1998-06-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1127
1128         * nis/nis_call.c: Don't copy server structure.
1129         * nis/nis_intern.h: Remove unused entries.
1130         * nis/nis_table.c: Rewrite __create_ib_request.
1131
1132 1998-06-26 14:37  Ulrich Drepper  <drepper@cygnus.com>
1133
1134         * configure.in: Check for -fexceptions.
1135         * config.make.in: Define exceptions, not no-exceptions.
1136         * misc/sys/cdefs.h: Define __PMT.  When using modern g++ define
1137         __P to use throw().
1138         * misc/Makefile: Define CFLAGS-tsearch.c and CFLAGS-lsearch.c to
1139         $(exceptions).
1140         * stdlib/Makefile: Likewise for bsearch.c, msort.c, and qsort.c.
1141         * misc/search.h: Use __PMT in tsearch, tfind, tdelete, twalk, tdestroy,
1142         lfind, and lsearch prototpypes.
1143         * stdlib/stdlib.h: Likewise for bsearch and qsort.
1144
1145 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
1146
1147         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use C code, not asm.
1148
1149 1998-06-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1150
1151         * Makefile (remove-old-headers): Make phony.
1152
1153         * configure.in: Substitute @old_glibc_headers@.
1154
1155 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
1156
1157         * libc.map: Remove __libc_uid.
1158
1159 1998-06-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1160
1161         * manual/terminal.texi (Allocation, Pseudo-Terminal Pairs): Fix
1162         typos.
1163
1164 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
1165
1166         * libc.map: Add Alpha-specific io function from protected namespace.
1167
1168 1998-06-25 19:26  Ulrich Drepper  <drepper@cygnus.com>
1169
1170         * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) if defined first.
1171         * locale/Makefile: Define locale-CPPFLAGS instead of redefining
1172         CPPFLAGS.
1173
1174         * libc.map: Export __sigaction.
1175
1176 1998-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1177
1178         * sysdeps/unix/sysv/linux/bits/sched.h (CLONE_PTRACE): Add it
1179         (from Linux 2.1.107).
1180
1181 1998-06-24  Ulrich Drepper  <drepper@cygnus.com>
1182
1183         * nss/nss_files/files-XXX.c (_nss_files_get,ENTNAME_r): Initialize
1184         position when file was opened here.
1185         Reported by Howard Chu <hyc@platinum.com>.
1186
1187         * sysdeps/generic/glob.c: Also protect FNM_* macros from being
1188         undefined in a second inclusion.
1189
1190 1998-06-20  Mark Kettenis  <kettenis@phys.uva.nl>
1191
1192         * sysdeps/mach/hurd/i386/Makefile: New file.
1193         * sysdeps/mach/hurd/i386/init-first.c [!PIC] (init1): Call
1194         __libc_init_secure.
1195         (_hurd_stack_setup): Renamed
1196         from __libc_init_first.
1197         (__libc_init_first): New function.
1198         * sysdeps/mach/hurd/i386/static-start.S: New file.
1199
1200 1998-05-30  Mark Kettenis  <kettenis@phys.uva.nl>
1201
1202         * sysdeps/mach/hurd/i386/init-first.c
1203
1204 1998-06-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1205
1206         * grp/initgroups.c: Use _CALL_DL_FCT.
1207
1208 1998-06-23  Mark Kettenis  <kettenis@phys.uva.nl>
1209
1210         * elf/rtld.c (process_dl_debug): Add missing continue.
1211
1212 1998-06-23  Mark Kettenis  <kettenis@phys.uva.nl>
1213
1214         * elf/dl-load.c (_dl_map_object_from_fd): Add missing cast.
1215
1216 1998-06-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1217
1218         * manual/terminal.texi (Pseudo-Terminals): Correct typos.
1219
1220 1998-06-23  Ulrich Drepper  <drepper@cygnus.com>
1221
1222         * config.make.in: Remove LDAP support.
1223         * nss/Makefile: Likewise.
1224
1225 1998-06-22 17:02  Ulrich Drepper  <drepper@cygnus.com>
1226
1227         * sysdeps/generic/enbl-secure.c: Don't use __libc_uid.
1228         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1229         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1230         * sysdeps/unix/sysv/linux/init-first.c: Don't initialize __libc_uid.
1231
1232 1998-06-02  Gordon Matzigkeit  <gord@profitpress.com>
1233
1234         * mach/Makefile: Change `mv' invocations to `mv -f'.
1235         * mach/Machrules: Likewise.
1236
1237 1998-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1238
1239         * config.make.in (old-glibc-headers): Add it.
1240
1241         * configure.in: Add test for glibc 2.0.x headers.
1242
1243         * Makefile (headers2_0): New variable - contains so far only
1244         Linux/Intel glibc 2.0.x headers.
1245         (remove-old-headers): New rule to remove headers from glibc 2.0.x.
1246         (install): Depend on remove-old-headers.
1247
1248 1998-06-19  Mark Kettenis  <kettenis@phys.uva.nl>
1249
1250         * sysdeps/generic/ftruncate.c: Define function as __ftruncate and
1251         make ftruncate a weak alias.
1252         * sysdeps/mach/hurd/ftruncate.c: Really define function as
1253         __ftruncate.
1254         * sysdeps/mach/hurd/truncate.c: Include <unistd.h>.
1255         (truncate): Fix function defenition to match prototype.
1256
1257 1998-06-20  Mark Kettenis  <kettenis@phys.uva.nl>
1258
1259         * manual/terminal.texi: Document ttyname_r, getpt, grantpt,
1260         unlockpt, ptsname, ptsname_r, openpty and forkpty.
1261
1262 1998-06-22  Ulrich Drepper  <drepper@cygnus.com>
1263
1264         * sysdeps/generic/glob.c: Make it possible to include glob.h
1265         before loading glob.c.
1266         Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
1267
1268 1998-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1269
1270         * nscd/connections.c: Use poll() instead of select().
1271
1272 1998-06-22 14:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1273
1274         * sysdeps/generic/Dist: Fix typo.
1275
1276 1998-06-20  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1277
1278         * nis/nis_add.c: Avoid unnecessary strlen () calls.
1279         * nis/nis_addmember.c: Likewise.
1280         * nis/nis_call.c: Likewise.
1281         * nis/nis_creategroup.c: Likewise.
1282         * nis/nis_destroygroup.c: Likewise.
1283         * nis/nis_findserv.c: Likewise.
1284         * nis/nis_ismember.c: Likewise.
1285         * nis/nis_print.c: Likewise.
1286         * nis/nis_print_group_entry.c: Likewise.
1287         * nis/nis_removemember.c: Likewise.
1288         * nis/nis_verifygroup.c: Likewise.
1289         * nis/ypclnt.c: Likewise.
1290
1291         * nis/nis_file.c: Close file handles.
1292
1293         * nis/nis_callback.c: Fix typo.
1294
1295 1998-06-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1296
1297         * nis/Makefile: Add nis-initgroups and compat-initgroups.
1298         * nis/libnss_compat.map: Add _nss_compat_initgroups.
1299         * nis/libnss_nis.map: Add _nss_nis_initgroups.
1300         * nis/nss_compat/compat-initgroups.c: New, faster then getgrent().
1301         * nis/nss_nis/nis-initgroups.c: Likewise.
1302         * libc-work/nss/nsswitch.c: Rename nss_lookup_function to
1303         __nss_lookup_function and make it public.
1304         * grp/initgroups.c: Rewrite, to use initgroups function from NSS
1305         module if exists, else use old method.
1306
1307 1998-06-19  Ulrich Drepper  <drepper@cygnus.com>
1308
1309         * nss/getXXbyYY_r.c (lookup_function): Correct return in type
1310         definition.
1311         * nss/getXXent_r.c (set_function, end_function, get_function):
1312         Likewise.  Reported by Thorsten Kukuk.
1313
1314         * sysdeps/unix/sysv/linux/sigstack.c: Mark sigstack as dangerous.
1315
1316 1998-06-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1317
1318         * sysdeps/unix/sysv/linux/sparc/Dist: Follow change from
1319         1998-06-16 and distribute kernel_termios.h.
1320
1321         * nis/Makefile (distribute): Add nis_xdr.h.
1322
1323 1998-06-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1324
1325         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Disable for
1326         kernels that don't have sigaltstack.
1327
1328 1998-06-19  Ulrich Drepper  <drepper@cygnus.com>
1329
1330         * sysdeps/generic/bits/sem.h: Don't define union semun.
1331
1332         * sysdeps/unix/sysv/linux/bits/sem.h: Fix typo.
1333
1334         * sysdeps/unix/sysv/linux/bits/ipc.h: Remove ipc_kludge definition
1335         here.
1336         * sysdeps/unix/sysv/linux/msgrcv.c (msgrcv): Add ipc_kludge
1337         definition here.
1338
1339 1998-06-18 21:45  Ulrich Drepper  <drepper@cygnus.com>
1340
1341         * signal/signal.h: Add prototype for __sigaltstack.
1342         * sysdeps/unix/sysv/linux/syscalls.list: Add __sigaltstack name.
1343         Remove sigstack entry.
1344         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add sigstack here.
1345         * sysdeps/unix/sysv/linux/sigstack.c: New file.
1346
1347         * sysdeps/i386/backtrace.c: Add casts.
1348
1349 1998-06-18 19:49  Ulrich Drepper  <drepper@cygnus.com>
1350
1351         * intl/dcgettext.c: use complete type name.
1352         * intl/hash-string.h: Likewise.
1353
1354         * intl/localealias.c: Undo patch from 1998-04-29.
1355         * intl/l10nflist.c: Likewise.
1356         * intl/loadinfo.h: Likewise.
1357
1358 1998-06-18  Ulrich Drepper  <drepper@cygnus.com>
1359
1360         * sysdeps/i386/elf/start.S (_start): Ensure correct alignment.
1361
1362 1998-06-18 16:40  Ulrich Drepper  <drepper@cygnus.com>
1363
1364         * libc.map: Add _dl_profile_map, _dl_profile_output, _dl_start_profile,
1365         _dl_mcount, _dl_mcount_wrapper.
1366         * elf/Makefile (routines): Add dl-profstub.
1367         * elf/dl-profstub.c: New file.
1368         * elf/dl-support.c: Don't define _dl_profile_map.
1369         * elf/rtld.c: Likewise.
1370         * elf/dlfcn.h: Define DL_CALL_FCT macro.
1371         * elf/ldsodefs.h: Declare _dl_profile_output, _dl_mcount_wrapper.
1372         Define _CALL_DL_FCT.
1373         * iconv/gconv.c: Use _CALL_DL_FCT to call function from dynamically
1374         loaded object.
1375         * iconv/gconv_db.c: Likewise.
1376         * iconv/skeleton.c: Likewise.
1377         * nss/getXXbyYY_r.c: Likewise.
1378         * nss/getXXent_r.c: Likewise.
1379         * nss/nsswitch.c: Likewise.
1380
1381 1998-06-18 12:29  Ulrich Drepper  <drepper@cygnus.com>
1382
1383         * sysdeps/libm-i387/e_scalb.S: Fix bug in FPU stack handling.
1384         * sysdeps/libm-i387/e_scalbf.S: Likewise.
1385         * sysdeps/libm-i387/e_scalbl.S: Likewise.
1386
1387 1998-06-18  Ulrich Drepper  <drepper@cygnus.com>
1388
1389         * stdlib/tst-strtod.c (long_dbl): Provide receipe to regenerate
1390         longestdbl.
1391
1392 1998-06-18 10:26  Ulrich Drepper  <drepper@cygnus.com>
1393
1394         * iconvdata/Makefile (modules): Add MACINTOSH.
1395         (MACINTOSH-routines): New variable.
1396         (distribute): Add macintosh.c.
1397         (awk-generated-headers): Add macintosh.h.
1398         Add rule for macintosh.h generation.
1399         * iconvdata/gconv-modules: Add definitions for MACINTOSH.
1400         * iconvdata/macintosh.c: New file.
1401
1402 1998-06-17  Ulrich Drepper  <drepper@cygnus.com>
1403
1404         * stdlib/tst-strtod.c (long_dbl): Add test for loooong numbers.
1405
1406         * stdlib/strtod.c (str_to_mpn): Fix extending of n array which
1407         only should happen for cy != 0.
1408
1409         * sysdeps/unix/sysv/linux/alpha/glob.c: Include sys/types.h before
1410         glob.h.
1411
1412 1998-06-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1413
1414         * sysdeps/generic/backtrace.c (INNER_THAN): New definition, use it
1415         to compare stack addresses.
1416
1417 1998-06-17  Ulrich Drepper  <drepper@cygnus.com>
1418
1419         * sysdeps/unix/sysv/linux/alpha/glob.c: Include glob.h before
1420         defining prototypes.
1421
1422 1998-06-16  David S. Miller <davem@dm.cobaltmicro.com>
1423
1424         * sysdeps/sparc/sparc32/dl-machine.h
1425         (elf_machine_fixup_plt): During rtld bootstrap, always perform
1426         flushes as the kernel will emulate it when the underlying cpu does
1427         not implement flush.
1428
1429         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: Move...
1430         * sysdeps/unix/sysv/linux/sparc/kernel_termios.h: ...to here.
1431
1432         * sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S: Remove.
1433         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: No longer build
1434         trampoline code.
1435
1436         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S
1437         (__clone): Branch to label .Lerror not __clone_syscall_error.
1438         (.Lerror): Fixup EINVAL setting.
1439         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: New file.
1440         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
1441         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
1442         (__syscall_getgroups, __syscall_setgroups): Add.
1443
1444         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1445         (__sigaction): Member name is k_sa_handler.  Use memcpy to copy
1446         around sa_mask data.
1447
1448 1998-06-16  Ulrich Drepper  <drepper@cygnus.com>
1449
1450         * math/math.h: Include bits/nan.h when compiling for ISO C 9x.
1451
1452         * string/Makefile: Make sure test-ffs does not use builtins.
1453
1454 1998-06-16  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1455
1456         * sunrpc/svc.c: Check for NULL pointer.
1457
1458         * nis/libnsl.map: Add public NIS+ xdr functions.
1459
1460         * nis/rpcsvc/nis_callback.h: New file.
1461         * nis/rpcsvc/nis.h: Move xdr_* functions from here ...
1462         * nis/nis_xdr.h: ... here.
1463
1464         * nis/nis_add.c: Use internal _xdr_* functions, check for NULL
1465         pointers, use NIS+ defines where possible.
1466         * nis/nis_cache.c: Likewise.
1467         * nis/nis_cache2_xdr.c: Likewise.
1468         * nis/nis_call.c: Likewise.
1469         * nis/nis_checkpoint.c: Likewise.
1470         * nis/nis_clone_dir.c: Likewise.
1471         * nis/nis_clone_obj.c: Likewise.
1472         * nis/nis_clone_res.c: Likewise.
1473         * nis/nis_creategroup.c: Likewise.
1474         * nis/nis_file.c: Likewise.
1475         * nis/nis_free.c: Likewise.
1476         * nis/nis_getservlist.c: Likewise.
1477         * nis/nis_local_names.c: likewise.
1478         * nis/nis_lookup.c: Likewise.
1479         * nis/nis_mkdir.c: Likewise.
1480         * nis/nis_modify.c: Likewise.
1481         * nis/nis_ping.c: Likewise.
1482         * nis/nis_print.c: Likewise.
1483         * nis/nis_remove.c: Likewise.
1484         * nis/nis_removemember.c: Likewise.
1485         * nis/nis_rmdir.c: Likewise.
1486         * nis/nis_server.c: Likewise.
1487         * nis/nis_table.c: Likewise.
1488         * nis/nis_util.c: Likewise.
1489         * nis/nis_verifygroup.c: Likewise.
1490         * nis/nis_xdr.c: Likewise.
1491         * nis/nis_callback.c: Likewise, and move xdr functions from here ...
1492         * nis/nis_xdr.c: ... to here.
1493
1494 1998-06-15 18:07  Ulrich Drepper  <drepper@cygnus.com>
1495
1496         * iconvdata/ksc5601.h: Clean up a bit.
1497
1498 1998-06-15 14:35  Ulrich Drepper  <drepper@cygnus.com>
1499
1500         * sunrpc/svc_tcp.c (readtcp): Also listen to all the other connections
1501         and process incoming data.
1502         * sunrpc/xdr_rec.c (set_input_fragment): Only recognize zero length
1503         fragments as invalid.
1504         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
1505
1506 1998-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1507
1508         Removal of duplicates like "the the".
1509         * manual/time.texi (TZ Variable): Likewise.
1510         * manual/users.texi (Manipulating the Database): Likewise.
1511         * manual/sysinfo.texi (Filesystem handling): Likewise.
1512         * manual/signal.texi (Signaling Yourself): Likewise.
1513         * manual/message.texi (Message Translation): Likewise.
1514         (Common Usage): Likewise.
1515         * manual/llio.texi: Likewise.
1516         * manual/arith.texi (Old-style number conversion): Likewise.
1517         * manual/argp.texi (Argp): Likewise.
1518         (Argp Parsers): Likewise.
1519         (Argp Help Filtering): Likewise.
1520
1521         * hesiod/README.hesiod: Correct typo.
1522
1523         * manual/llio.texi: Correct typos.
1524         * manual/sysinfo.texi: Likewise.
1525
1526 1998-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1527
1528         * rt/aio.h: Rename __op to __operation for g++.
1529
1530 1998-06-13 20:17 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1531
1532         * iconvdata/gen-8bit-gap.sh: Use awk not perl.  Clean up sed
1533         script.
1534         * iconvdata/gen-8bit-gap-1.sh: Likewise.
1535         * iconvdata/gen-8bit.sh: Clean up sed script.
1536
1537         * iconvdata/Makefile: Remove all PERL conditionals; build all
1538         the modules all the time.  Export AWK.
1539         (gen-8bit-gap): Delete setting of PERL.
1540         (gen-8bit-gap-1): Likewise.
1541         (perl-generated-headers): Renamed awk-generated-headers.
1542
1543         * iconvdata/gap.pl: Removed.
1544         * iconvdata/gaptab.pl: Removed.
1545         * iconvdata/gap.awk: New file.
1546         * iconvdata/gaptab.awk: New file.
1547
1548 1998-06-15  Ulrich Drepper  <drepper@cygnus.com>
1549
1550         * sysdeps/generic/Dist: Add errno-loc.c.
1551
1552         * sysdeps/unix/sysv/linux/alpha/glob.c: Add prototypes for the
1553         __new_* functions.
1554
1555 1998-06-14 14:21 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1556
1557         * stdio-common/bug12.c: New test for fread()/fseek().
1558         * stdio-common/Makefile (tests): Add bug12.
1559
1560 1998-06-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1561
1562         * sysdeps/generic/elf/backtracesyms.c: Make array elements
1563         constant.
1564         * sysdeps/generic/backtracesyms.c: Likewise.  Fix type of RESULT.
1565         * debug/execinfo.h: Update declaration.
1566
1567 1998-06-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1568
1569         * sysdeps/generic/elf/backtracesyms.c: Make array elements constant.
1570         * sysdeps/generic/backtracesyms.c: Likewise.  Fix type of RESULT.
1571         * debug/execinfo.h: Update declaration.
1572
1573 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1574
1575         * manual/llio.texi: Fix spelling.
1576         * manual/sysinfo.texi: Fix spelling.
1577
1578 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1579
1580         * misc/hsearch.c (__hdestroy): Renamed from hdestroy, create weak
1581         alias for old name.  Put this on __libc_subfreeres.
1582         * misc/search.h: Declare it.
1583
1584 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1585
1586         * string/bits/string2.h (strcmp): Add missing parens around macro
1587         parameters.
1588
1589 1998-06-12 23:34  Ulrich Drepper  <drepper@cygnus.com>
1590
1591         * manual/arith.texi: Fix problem with @math and texinfo.tex.
1592
1593         * manual/filesys.texi: Document LFS functions.
1594         * manual/llio.texi: Likewise.
1595         * manual/stdio.texi: Likewise.
1596         * manual/time.texi: Likewise.
1597
1598         * manual/llio.texi: Document AIO functions.
1599
1600         * resource/sys/resource.h: Mark second argument of setrlimit as const.
1601         * sysdeps/generic/setrlimit.c: Likewise.
1602         * sysdeps/generic/setrlimit64.c: Likewise.
1603         * sysdeps/mach/hurd/setrlimit.c: Likewise.
1604         * sysdeps/unix/sysv/setrlimit.c: Likewise.
1605
1606 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1607
1608         * sysdeps/generic/getenv.c: Fix last change.
1609
1610 1998-06-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1611
1612         * sysdeps/generic/backtrace.c: Provide generic implementation.
1613
1614 1998-06-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1615
1616         * configure.in: Give visual feedback of the default directories we
1617         added.
1618
1619 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1620
1621         * io/fts.c (fts_build): Define oflag only if needed.
1622
1623 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1624
1625         * sysdeps/libm-ieee754/w_exp10.c: Add missing close comment.
1626
1627 1998-06-11  Ulrich Drepper  <drepper@cygnus.com>
1628
1629         * libc.map: Don't export argp's fmtstream handling functions.
1630
1631         * manual/sysinfo.texi: Document fstab and mtab handling functions.
1632         * manual/llio.texi: Document more LFS functions and start documenting
1633         the AIO functions.
1634
1635 1998-06-03 03:09  Geoff Keating  <geoffk@ozemail.com.au>
1636
1637         * sysdeps/unix/sysv/linux/pread.c: Detect missing syscall, like poll().
1638         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1639         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1640         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1641
1642 1998-06-03 03:09  Geoff Keating  <geoffk@ozemail.com.au>
1643
1644         * sysdeps/powerpc/Makefile: Use -G0 on the startup file; this
1645         makes it easier to undump emacs.
1646         * sysdeps/powerpc/bits/endian.h: Use more informative error message
1647         for when the endianness can't be determined.
1648
1649 1998-06-04 13:19  Geoff Keating  <geoffk@ozemail.com.au>
1650
1651         * nss/Makefile: Add files publickey database support.
1652         * nss/libnss_files.map: Export the required functions.
1653         * nss/nss_files/files-key.c: Implement it.
1654         * sunrpc/rpc/auth_des.h: Correct typos in comments.
1655
1656 1998-06-10  Ulrich Drepper  <drepper@cygnus.com>
1657
1658         * iconv/gconv_builtin.h: Add aliases for CORBA.
1659         * iconvdata/gconv-modules: Likewise.
1660
1661 1998-06-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1662
1663         * math/libm-test.c (main): Call exp10_test.
1664         (exp10_test): New function which tests exp10.
1665
1666 1998-06-10  Ulrich Drepper  <drepper@cygnus.com>
1667
1668         * sysdeps/unix/sysv/linux/syscalls.list: Add sigaltstack and
1669         sigstack.
1670
1671         * sysdeps/unix/sysv/linux/bits/sigstack.h: Add definitions of
1672         SS_ONSTACK, SS_DISABLE, MINSIGSTKSZ and SIGSTKSZ.
1673         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h: New file.
1674
1675 1998-06-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1676
1677         * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address
1678         in the variable, not its GOT slot.
1679
1680 1998-06-10 10:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1681
1682         * sysdeps/m68k/fpu/bits/mathinline.h: Define __ieee754_exp10 as
1683         inline.
1684         * sysdeps/m68k/fpu/e_exp10.c: New file.
1685         * sysdeps/m68k/fpu/e_exp10f.c: New file.
1686         * sysdeps/m68k/fpu/e_exp10l.c: New file.
1687
1688         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Set
1689         _dl_profile_map only if the name matches.
1690         (_dl_start_user): Remember stack address.
1691         * sysdeps/m68k/elf/start.S: Pass new argument to
1692         __libc_start_user.
1693
1694         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_LABEL): New
1695         definition.
1696         (PSEUDO, SYSCALL_ERROR_HANDLER): Use it instead of syscall_error.
1697         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
1698         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
1699         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
1700         * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
1701
1702 1998-06-09 18:16  Ulrich Drepper  <drepper@cygnus.com>
1703
1704         * math/Makefile (libm-calls): Add w_exp10 and e_exp10.
1705         * math/libm.map: Add exp10{,f,l} and pow10{,f,l}.
1706         * math/math_private.h: Add prototypes for __ieee754_exp10{,f,l}.
1707         * math/bits/mathcalls.h: Add definitions for exp10 and pow10
1708         prototypes.
1709         * sysdeps/libm-i387/e_exp10.S: New file.
1710         * sysdeps/libm-i387/e_exp10f.S: New file.
1711         * sysdeps/libm-i387/e_exp10l.S: New file.
1712         * sysdeps/libm-ieee754/e_exp10.c: New file.
1713         * sysdeps/libm-ieee754/e_exp10f.c: New file.
1714         * sysdeps/libm-ieee754/e_exp10l.c: New file.
1715         * sysdeps/libm-ieee754/w_exp10.c: New file.
1716         * sysdeps/libm-ieee754/w_exp10f.c: New file.
1717         * sysdeps/libm-ieee754/w_exp10l.c: New file.
1718         * sysdeps/libm-ieee754/k_standard.c: Add exception code for exp10.
1719
1720 1998-05-25 22:18  H.J. Lu  <hjl@gnu.org>
1721
1722         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers): Add
1723         sys/elf.h and sys/reg.h.
1724         * sysdeps/unix/sysv/linux/i386/sys/elf.h: New file.
1725         * sysdeps/unix/sysv/linux/i386/sys/reg.h: New file.
1726         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: New file.
1727         * sysdeps/unix/sysv/linux/i386/sys/user.h: New file.
1728
1729         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETREGS,
1730         PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS): Added.
1731
1732 1998-06-09  Ulrich Drepper  <drepper@cygnus.com>
1733
1734         * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_options): Define
1735         __data member only for gcc.  Reported by ak@muc.de.
1736
1737         * misc/mntent.h: Undo last patch.
1738         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Undo last patch.
1739         * misc/tst/mntent.c: Adjust code for this change.
1740
1741         * io/fts.c: Updated from a slightly more recent BSD version.
1742         * io/fts.h: Likewise.
1743
1744         * libc.map: Add __libc_stack_end.
1745
1746         * db2/Makefile (routines): Add lock_region.
1747         * db2/config.h: Update from db-2.4.14.
1748         * db2/db.h: Likewise.
1749         * db2/db_185.h: Likewise.
1750         * db2/db_int.h: Likewise.
1751         * db2/btree/bt_close.c: Likewise.
1752         * db2/btree/bt_compare.c: Likewise.
1753         * db2/btree/bt_conv.c: Likewise.
1754         * db2/btree/bt_cursor.c: Likewise.
1755         * db2/btree/bt_delete.c: Likewise.
1756         * db2/btree/bt_open.c: Likewise.
1757         * db2/btree/bt_page.c: Likewise.
1758         * db2/btree/bt_put.c: Likewise.
1759         * db2/btree/bt_rec.c: Likewise.
1760         * db2/btree/bt_recno.c: Likewise.
1761         * db2/btree/bt_rsearch.c: Likewise.
1762         * db2/btree/bt_search.c: Likewise.
1763         * db2/btree/bt_split.c: Likewise.
1764         * db2/btree/bt_stat.c: Likewise.
1765         * db2/btree/btree.src: Likewise.
1766         * db2/btree/btree_auto.c: Likewise.
1767         * db2/clib/getlong.c: Likewise.
1768         * db2/common/db_appinit.c: Likewise.
1769         * db2/common/db_apprec.c: Likewise.
1770         * db2/common/db_byteorder.c: Likewise.
1771         * db2/common/db_err.c: Likewise.
1772         * db2/common/db_log2.c: Likewise.
1773         * db2/common/db_region.c: Likewise.
1774         * db2/common/db_salloc.c: Likewise.
1775         * db2/common/db_shash.c: Likewise.
1776         * db2/db/db.c: Likewise.
1777         * db2/db/db.src: Likewise.
1778         * db2/db/db_auto.c: Likewise.
1779         * db2/db/db_conv.c: Likewise.
1780         * db2/db/db_dispatch.c: Likewise.
1781         * db2/db/db_dup.c: Likewise.
1782         * db2/db/db_overflow.c: Likewise.
1783         * db2/db/db_pr.c: Likewise.
1784         * db2/db/db_rec.c: Likewise.
1785         * db2/db/db_ret.c: Likewise.
1786         * db2/db/db_thread.c: Likewise.
1787         * db2/db185/db185.c: Likewise.
1788         * db2/db185/db185_int.h: Likewise.
1789         * db2/dbm/dbm.c: Likewise.
1790         * db2/hash/hash.c: Likewise.
1791         * db2/hash/hash.src: Likewise.
1792         * db2/hash/hash_auto.c: Likewise.
1793         * db2/hash/hash_conv.c: Likewise.
1794         * db2/hash/hash_debug.c: Likewise.
1795         * db2/hash/hash_dup.c: Likewise.
1796         * db2/hash/hash_func.c: Likewise.
1797         * db2/hash/hash_page.c: Likewise.
1798         * db2/hash/hash_rec.c: Likewise.
1799         * db2/hash/hash_stat.c: Likewise.
1800         * db2/include/btree.h: Likewise.
1801         * db2/include/btree_ext.h: Likewise.
1802         * db2/include/clib_ext.h: Likewise.
1803         * db2/include/common_ext.h: Likewise.
1804         * db2/include/cxx_int.h: Likewise.
1805         * db2/include/db.h.src: Likewise.
1806         * db2/include/db_185.h.src: Likewise.
1807         * db2/include/db_am.h: Likewise.
1808         * db2/include/db_auto.h: Likewise.
1809         * db2/include/db_cxx.h: Likewise.
1810         * db2/include/db_dispatch.h: Likewise.
1811         * db2/include/db_ext.h: Likewise.
1812         * db2/include/db_int.h.src: Likewise.
1813         * db2/include/db_page.h: Likewise.
1814         * db2/include/db_shash.h: Likewise.
1815         * db2/include/db_swap.h: Likewise.
1816         * db2/include/hash.h: Likewise.
1817         * db2/include/hash_ext.h: Likewise.
1818         * db2/include/lock.h: Likewise.
1819         * db2/include/lock_ext.h: Likewise.
1820         * db2/include/log.h: Likewise.
1821         * db2/include/log_ext.h: Likewise.
1822         * db2/include/mp.h: Likewise.
1823         * db2/include/mp_ext.h: Likewise.
1824         * db2/include/mutex_ext.h: Likewise.
1825         * db2/include/os_ext.h: Likewise.
1826         * db2/include/os_func.h: Likewise.
1827         * db2/include/queue.h: Likewise.
1828         * db2/include/shqueue.h: Likewise.
1829         * db2/include/txn.h: Likewise.
1830         * db2/lock/lock.c: Likewise.
1831         * db2/lock/lock_conflict.c: Likewise.
1832         * db2/lock/lock_deadlock.c: Likewise.
1833         * db2/lock/lock_region.c: Likewise.
1834         * db2/lock/lock_util.c: Likewise.
1835         * db2/log/log.c: Likewise.
1836         * db2/log/log.src: Likewise.
1837         * db2/log/log_archive.c: Likewise.
1838         * db2/log/log_auto.c: Likewise.
1839         * db2/log/log_compare.c: Likewise.
1840         * db2/log/log_findckp.c: Likewise.
1841         * db2/log/log_get.c: Likewise.
1842         * db2/log/log_put.c: Likewise.
1843         * db2/log/log_rec.c: Likewise.
1844         * db2/log/log_register.c: Likewise.
1845         * db2/mp/mp_bh.c: Likewise.
1846         * db2/mp/mp_fget.c: Likewise.
1847         * db2/mp/mp_fopen.c: Likewise.
1848         * db2/mp/mp_fput.c: Likewise.
1849         * db2/mp/mp_fset.c: Likewise.
1850         * db2/mp/mp_open.c: Likewise.
1851         * db2/mp/mp_pr.c: Likewise.
1852         * db2/mp/mp_region.c: Likewise.
1853         * db2/mp/mp_sync.c: Likewise.
1854         * db2/mutex/68020.gcc: Likewise.
1855         * db2/mutex/mutex.c: Likewise.
1856         * db2/mutex/parisc.gcc: Likewise.
1857         * db2/mutex/parisc.hp: Likewise.
1858         * db2/mutex/sco.cc: Likewise.
1859         * db2/os/os_abs.c: Likewise.
1860         * db2/os/os_alloc.c: Likewise.
1861         * db2/os/os_config.c: Likewise.
1862         * db2/os/os_dir.c: Likewise.
1863         * db2/os/os_fid.c: Likewise.
1864         * db2/os/os_fsync.c: Likewise.
1865         * db2/os/os_map.c: Likewise.
1866         * db2/os/os_oflags.c: Likewise.
1867         * db2/os/os_open.c: Likewise.
1868         * db2/os/os_rpath.c: Likewise.
1869         * db2/os/os_rw.c: Likewise.
1870         * db2/os/os_seek.c: Likewise.
1871         * db2/os/os_sleep.c: Likewise.
1872         * db2/os/os_spin.c: Likewise.
1873         * db2/os/os_stat.c: Likewise.
1874         * db2/os/os_unlink.c: Likewise.
1875         * db2/progs/db_archive/db_archive.c: Likewise.
1876         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
1877         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
1878         * db2/progs/db_dump/db_dump.c: Likewise.
1879         * db2/progs/db_dump185/db_dump185.c: Likewise.
1880         * db2/progs/db_load/db_load.c: Likewise.
1881         * db2/progs/db_printlog/db_printlog.c: Likewise.
1882         * db2/progs/db_recover/db_recover.c: Likewise.
1883         * db2/progs/db_stat/db_stat.c: Likewise.
1884         * db2/txn/txn.c: Likewise.
1885         * db2/txn/txn.src: Likewise.
1886         * db2/txn/txn_auto.c: Likewise.
1887         * db2/txn/txn_rec.c: Likewise.
1888
1889         * elf/rtld.c: Move definition of __libc_stack_end to ...
1890         * sysdeps/generic/dl-sysdep.h: ...here.
1891
1892         * sysdeps/unix/sysv/linux/fstatvfs.c: Handle nodiratime option.
1893         * sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_NODIRATIME.
1894         * sysdeps/unix/sysv/linux/sys/mount.h: Define MS_NODIRATIME.
1895
1896         * sysdeps/generic/libc-start.c: Always set __libc_stack_end.
1897         * sysdeps/i386/backtrace.c: Test whether frame pointer is legal
1898         before following it.
1899
1900 1998-06-08 21:44  Ulrich Drepper  <drepper@cygnus.com>
1901
1902         * sysdeps/unix/sysv/linux/fstatvfs.c: Handle constant option string
1903         from mntent correctly.
1904
1905 1998-06-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1906
1907         * sunrpc/Makefile (generated): Correct typo.
1908
1909 1998-06-04  Philip Blundell  <philb@gnu.org>
1910
1911         * elf/elf.h (EM_ARM, et al.): New definitions.
1912         * sysdeps/arm/dl-machine.h: Update for new draft ARM ELF ABI.
1913
1914 1998-06-08 21:33  Ulrich Drepper  <drepper@cygnus.com>
1915
1916         * localedata/SUPPORTED: Add sk_SK.
1917         * localedata/locales/sk_SK: New file.
1918
1919 1998-06-08 18:57  Ulrich Drepper  <drepper@cygnus.com>
1920
1921         * Makeconfig (subdirs): Add debug.
1922         * configure.in: Use sysdeps/generic/elf subdir if ELF platform.
1923         * libc.map: Add __backtrace, __backtrace_symbols, backtrace and
1924         backtrace_symbols.
1925         * sysdeps/generic/backtrace.c: New file.
1926         * sysdeps/generic/backtracesyms.c: New file.
1927         * sysdeps/generic/elf/backtracesyms.c: New file.
1928         * sysdeps/i386/backtrace.c: New file.
1929         * debug/Makefile: New file.
1930         * debug/backtrace-tst.c: New file.
1931         * debug/execinfo.h: New file.
1932
1933 1998-06-08 13:34  Ulrich Drepper  <drepper@cygnus.com>
1934
1935         * elf/sprof.c: Implement call graph profiling.
1936
1937         * sysdeps/generic/getenv.c: Optimize to use strncmp less often.
1938
1939 1998-06-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1940
1941         * pwd/fgetpwent_r.c (__fgetpwent_r): Correct buffer overflow fix.
1942         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
1943         * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
1944         Noticed by Jake Garver <garver@valkyrie.net>.
1945
1946 1998-06-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1947
1948         * libio/genops.c (__underflow): Read character from read pointer
1949         as unsigned.
1950         (__uflow): Likewise.
1951
1952 1998-06-07 13:32  Ulrich Drepper  <drepper@cygnus.com>
1953
1954         * libc.map: Add _dl_profile.
1955         * elf/dl-reloc.c (_dl_relocate_object): Take extra argument, pass
1956         this to ELF_DYNAMIC_RELOCATE.
1957         Always allocate array for relocation result if LD_PROFILE is defined.
1958         * elf/ldsodefs.h: Adjust prototypes.
1959         * elf/dl-open.c (_dl_open): Call relocation function with extra
1960         argument.
1961         * elf/rtld.c: Likewise.
1962         * elf/dl-profile.c (_dl_mcount): Don't mark as internal function.
1963         Correct loop condition.
1964         * elf/dynamic-link.h: Don't examine _dl_profile variable, pass
1965         consider_profile to runtime setup function.
1966         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Use
1967         _dl_runtime_profile for all shared objects if LD_PROFILE is defined.
1968
1969         * elf/dl-support.c: Define __libc_stack_end.
1970         * elf/rtld.c: Likewise.
1971         * sysdeps/generic/libc-start.c: Store last stack address in
1972         __libc_stack_end.
1973         * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address.
1974         * sysdeps/i386/elf/start.s: Call __libc_start_main with extra argument.
1975
1976         * elf/elf.h: Include <features.h>, not <sys/cdefs.h>.
1977         Include <stdint.h>, not <inttypes.h>.
1978
1979         * elf/sprof.c: Implement flat profiling.
1980
1981         * libio/fgetc.c: Call _IO_cleanup_region_end with 0 and call
1982         _IO_funlockfile explicitly.
1983         * libio/fileops.c: Likewise.
1984         * libio/fputc.c: Likewise.
1985         * libio/freopen.c: Likewise.
1986         * libio/freopen64.c: Likewise.
1987         * libio/fseek.c: Likewise.
1988         * libio/fseeko.c: Likewise.
1989         * libio/fseeko64.c: Likewise.
1990         * libio/ftello.c: Likewise.
1991         * libio/ftello64.c: Likewise.
1992         * libio/getc.c: Likewise.
1993         * libio/getchar.c: Likewise.
1994         * libio/iofclose.c: Likewise.
1995         * libio/iofflush.c: Likewise.
1996         * libio/iofgetpos.c: Likewise.
1997         * libio/iofgetpos64.c: Likewise.
1998         * libio/iofgets.c: Likewise.
1999         * libio/iofputs.c: Likewise.
2000         * libio/iofread.c: Likewise.
2001         * libio/iofsetpos.c: Likewise.
2002         * libio/iofsetpos64.c: Likewise.
2003         * libio/ioftell.c: Likewise.
2004         * libio/iofwrite.c: Likewise.
2005         * libio/iogetdelim.c: Likewise.
2006         * libio/iogets.c: Likewise.
2007         * libio/ioputs.c: Likewise.
2008         * libio/ioseekoff.c: Likewise.
2009         * libio/ioseekpos.c: Likewise.
2010         * libio/iosetbuffer.c: Likewise.
2011         * libio/iosetvbuf.c: Likewise.
2012         * libio/ioungetc.c: Likewise.
2013         * libio/iovsprintf.c: Likewise.
2014         * libio/iovsscanf.c: Likewise.
2015         * libio/oldfileops.c: Likewise.
2016         * libio/oldiofclose.c: Likewise.
2017         * libio/peekc.c: Likewise.
2018         * libio/putc.c: Likewise.
2019         * libio/putchar.c: Likewise.
2020         * libio/rewind.c: Likewise.
2021
2022         * malloc/mtrace.c: Pretty print.
2023
2024         * misc/mntent.h (struct mentent): Make string elements const char *.
2025
2026         * nis/nis_printf.c: Optimize I/O a little bit.
2027
2028         * signal/Makefile (distribute): Add sigset-cvt-mask.h.
2029         * sysdeps/generic/sigset-cvt-mask.h: New file.
2030         * sysdeps/unix/sysv/linux/sigset-cvt-mask.h: New file.
2031         * sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h: New file.
2032         * sysdeps/posix/sigvec.c: Rewrite the use definitions from
2033         sigset-cvt-mask.h to do the dirty work.
2034         Patches by Joe Keane.
2035
2036         * sysdeps/posix/mkstemp.c: Save one precious byte of rodata.
2037
2038         * sysdeps/unix/sysv/linux/i386/sysdep.h: Rewrite PSEUDO etc to make
2039         syscall_error label in case of PIC anonymous.
2040         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise.
2041         * sysdeps/unix/sysv/linux/i386/clone.S: Adapt for this change.
2042         * sysdeps/unix/sysv/linux/i386/mmap.S: Adapt for this change.
2043         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Adapt for this change.
2044         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Adapt for this change.
2045         * sysdeps/unix/sysv/linux/i386/socket.S: Adapt for this change.
2046         * sysdeps/unix/sysv/linux/i386/syscall.S: Adapt for this change.
2047
2048 1998-06-05  Ulrich Drepper  <drepper@cygnus.com>
2049
2050         * sunrpc/xdr_rec.c (xdrrec_create): Add cast for *_ops array since
2051         we cannot declare the struct element as const.
2052         * sunrpc/xdr_mem.c (xdrmem_create): Likewise.
2053         * sunrpc/xdr_stdio.c (xdrstdio_create): Likewise.
2054
2055 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2056
2057         * manual/Makefile: Include ../Makeconfig earlier.
2058         (MAKEINFO, TEXI2DVI): Use defaults if ../Makeconfig does not
2059         exist.
2060         (dir-add.texinfo): Remove useless $(SHELL).
2061
2062 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2063
2064         * Makefile (others): Build programs from install-bin.
2065         * configure.in: Modify config.make only if is was just created and
2066         move that command to second argument of AC_OUTPUT.  Add command to
2067         set config_vars in config.status.
2068
2069 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2070
2071         * malloc/Makefile (address-width): Fix conditional.
2072
2073 1998-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2074
2075         * libc.map: Add fattach, fdetach, getmsg, getpmsg, makecontext,
2076         putmsg, putpmsg, scalbln, scalblnf, scalblnl, strtoimax,
2077         strtoumax, swapcontext, waitid, wcsnlen, wcstoimax, wcstoumax with
2078         version GLIBC_2.1.
2079
2080 1998-06-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2081
2082         * manual/lang.texi (Range of Type): Change @end table->@end vtable.
2083         (Floating Point Parameters): Likewise.
2084
2085 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2086
2087         * hurd/Makefile (routines): Add cthreads.
2088
2089 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2090
2091         * login/login.c (login): Let pututline take care of finding the
2092         positin to insert the UTMP entry.  This corrects a bug where ssh
2093         was not reusing UTMP entries marked as DEAD_PROCESS.
2094         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
2095
2096 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2097
2098         * login/Makefile (tests): New variable, add tst-utmp and
2099         tst-utmpx.
2100         * login/tst-utmp.c: New file.
2101         * login/tst-utmpx.c: New file.
2102
2103 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2104
2105         * sysdeps/mach/hurd/errlist.c (sys_nerr, _sys_nerr): Make weak
2106         aliases for _hurd_nerr, for programs that don't use sys_errlist,
2107         but need sys_err.
2108
2109 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2110
2111         * sysdeps/generic/updwtmpx.c: Rename function to updwtmpx.
2112         * libc.map: Add updwtmpx and utmpxname to GLIBC_2.1.
2113
2114 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2115
2116         * sysdeps/mach/hurd/read.c: Rename function to __libc_read and
2117         make __read a weak alias.  Use ANSI-style function definition.
2118         * sysdeps/mach/hurd/write.c: Likewise.
2119
2120 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2121
2122         * sysdeps/mach/hurd/err_hurd.sub: Use _hurd_errlist instead of
2123         _sys_errlist.
2124
2125 1998-05-30  Mark Kettenis  <kettenis@phys.uva.nl>
2126
2127         * sysdeps/mach/hurd/Makefile ($(objpfx)librtld.os):
2128         Renamed from librtld.so.
2129
2130 1998-06-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2131
2132         * libc.map: Remove _IO_getline_info which was erroneously
2133         introduced in section GLIBC_2.0.
2134         Noticed by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
2135
2136 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2137
2138         * sysdeps/generic/socket.c (__socket): Renamed from socket, and
2139         created a weak alias.
2140         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
2141
2142 1998-05-31  Gordon Matzigkeit  <gord@profitpress.com>
2143
2144         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Rename from old
2145         ftruncate function, and create a weak alias to ftruncate.
2146
2147 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2148
2149         * grp/fgetgrent_r.c: Use &errno instead of __errno_location ().
2150         * inet/getnetgrent_r.c: Likewise.
2151         * nss/getXXbyYY_r.c: Likewise.
2152         * nss/getXXent_r.c: Likewise.
2153         * pwd/fgetpwent_r.c: Likewise.
2154         * shadow/sgetspent_r.c: Likewise.
2155         * shadow/fgetspent_r.c: Likewise.
2156         * sunrpc/publickey.c: Likewise.
2157
2158 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2159
2160         * hurd/libhurduser.map: New file.
2161         * mach/libmachuser.map: Likewise.
2162
2163         * libc.map: Add Hurd-specific functions to version 2.1.
2164         Add __flshfp and __fillbf.
2165
2166 1998-05-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2167
2168         * manual/signal.texi (Basic Signal Handling): Fix typo.
2169         * manual/errno.texi (Error Codes): Likewise.
2170
2171 1998-06-02  Ulrich Drepper  <drepper@cygnus.com>
2172
2173         * sysdeps/unix/sysv/linux/netipx/ipx.h: Include <bits/sockaddr.h>
2174         instead of <sys/socket.h>.
2175         Patch by NIIBE Yutaka <gniibe@mri.co.jp>
2176
2177         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (DL_FIND_ARG_COMPONENTS):
2178         Finally make it working.
2179         Patch by Mark Hatle <fray@kernel.crashing.org>.
2180
2181 1998-03-22  Paul Eggert  <eggert@twinsun.com>
2182
2183         * posix/regex.c: Include <wchar.h> before <wctype.h>, to work around
2184         a Solaris 2.6 bug.
2185
2186 1998-05-30  Philip Blundell  <Philip.Blundell@pobox.com>
2187
2188         * stdlib/gmp-impl.h: Support strange mixed-endian double format
2189         used by ARM systems.
2190         * sysdeps/arm/fpu/bits/fenv.h (FE_EXCEPTION_SHIFT): Rename to
2191         FE_EXCEPT_SHIFT.
2192         * sysdeps/arm/bits/fenv.h: Deleted.
2193         * sysdeps/arm/fpu/ieee754.h: New file.
2194         * sysdeps/arm/gmp-mparam.h: New file.
2195         * stdlib/longlong.h (umul_ppmm): Temporarily disable broken ARM
2196         implementation.
2197
2198 1998-06-01  Ulrich Drepper  <drepper@cygnus.com>
2199
2200         * sunrpc/rpc/xdr.h (struct XDR): Don't mark xdr_ops element as const.
2201
2202         * sysdeps/i386/fpu/bits/mathinline.h: Use ((__unused__)) instead
2203         of ((unused)).  Reported by Bruno Haible.
2204
2205 1998-05-31  Philip Blundell  <philb@gnu.org>
2206
2207         * sysdeps/unix/sysv/linux/arm/sysdep.S: Use C_SYMBOL_NAME when
2208         referring to errno and _errno.
2209
2210         * sysdeps/arm/fpu/feholdexcpt.c: New file.
2211
2212         * sysdeps/i386/fpu_control.h: Fix typo.
2213
2214         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Remove floating-point support.
2215         (_JMPBUF_UNWINDS): Added.
2216         * sysdeps/arm/fpu/bits/setjmp.h: New file.
2217
2218 1998-05-25  Gordon Matzigkeit  <gord@profitpress.com>
2219
2220         * sysdeps/mach/hurd/Makefile: Use the `before-compile' target in
2221         order to build header files, not `generated'.
2222
2223         * Rules (before-compile): New target which depends on all
2224         $(before-compile) files.
2225
2226 1998-06-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2227
2228         * nis/nis_call.c: Make directory search faster.
2229
2230         * nis/nis_callback.c: Insert public key of user in callback data.
2231
2232         * nis/nis_clone_obj.c: Make size from type u_long, not u_int.
2233
2234         * nis/nis_creategroup.c: Check for NULL pointer, fill in more fields.
2235
2236         * nis/nis_findserv.c: Rename __pmap_getport to __pmap_getnisport.
2237
2238         * nis/nis_intern.h: Remove duplicated prototype.
2239
2240 1998-06-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2241
2242         * sunrpc/auth_des.c: Move prototypes from here ...
2243         * sunrpc/rpc/auth.h: ... to here.
2244
2245         * sunrpc/clnt_tcp.c: Add more control flags.
2246         * sunrpc/clnt_udp.c: Likewise.
2247
2248         * sunrpc/netname.c (host2netname): Remove prefixing dot from
2249         domainname.
2250
2251         * sunrpc/rpc/clnt.h: Document, which control flags are not
2252         implementable.
2253
2254         * sunrpc/svcauth_des.c: Use key_decryptsession_pk to avoid deadlock.
2255
2256 1998-05-29  Ulrich Drepper  <drepper@cygnus.com>
2257
2258         * locale/loadlocale.c (_nl_load_locale): Don't allow too small
2259         files crash the program.
2260
2261         * io/Makefile: Don't run ftwtest-sh if cross-compiling.
2262         * string/Makefile: Don't run test on tst-svc.out if cross-compiling.
2263         Reported by Deborah Wallach <kerr@pa.dec.com>.
2264
2265 1998-05-28 00:53  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2266
2267         * glibcbug.in: Send to bugs@gnu or libc-alpha@cygnus depending
2268         on whether this is a stable release or not (keeps snapshot bug
2269         reports out of the database).
2270
2271         * include/libc-symbols.h: Use __ASSEMBLER__ test macro not ASSEMBLER.
2272         * sysdeps/arm/sysdep.h: Likewise.
2273         * sysdeps/i386/sysdep.h: Likewise.
2274         * sysdeps/m68k/sysdep.h: Likewise.
2275         * sysdeps/mach/mips/sysdep.h: Likewise.
2276         * sysdeps/mach/sys/reboot.h: Likewise.
2277         * sysdeps/mach/sysdep.h: Likewise.
2278         * sysdeps/unix/alpha/sysdep.h: Likewise.
2279         * sysdeps/unix/bsd/hp/m68k/sysdep.h: Likewise.
2280         * sysdeps/unix/bsd/osf/alpha/sysdep.h: Likewise.
2281         * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise.
2282         * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
2283         * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
2284         * sysdeps/unix/bsd/vax/sysdep.h: Likewise.
2285         * sysdeps/unix/i386/sysdep.h: Likewise.
2286         * sysdeps/unix/mips/sysdep.h: Likewise.
2287         * sysdeps/unix/sparc/sysdep.h: Likewise.
2288         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise.
2289         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2290         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2291         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2292         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
2293         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2294         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2295         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise.
2296
2297 1998-05-27  Mark Kettenis  <kettenis@phys.uva.nl>
2298
2299         * mach/Machrules: Use $(move-if-change).
2300
2301 1998-05-27  Mark Kettenis  <kettenis@phys.uva.nl>
2302
2303         * Makeconfig [elf=yes] (+interp): New variable, set to interp.os.
2304         * Makerules (lib%.so): Depend on $(+interp).
2305         (libc.so): Add interp.os to list of dependencies.
2306         (interp-obj): Remove variable.
2307         * mach/Machrules (+interp): Define to empty since libhurduser and
2308         libmachuser don't need to have the interpreter set.
2309
2310 1998-05-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2311
2312         * resolv/res_send.c: Security fixes from bind 4.9.7-REL.
2313
2314         * resolv/gethnamaddr.c: Likewise.
2315
2316         * resolv/res_comp.c: Likewise.
2317
2318 1998-05-28  Mark Kettenis  <kettenis@phys.uva.nl>
2319
2320         * sysdeps/mach/hurd/wait4.c (__wait4): Use ANSI-style definition
2321         so that transparent union works.
2322
2323 1998-05-29 08:58  Ulrich Drepper  <drepper@cygnus.com>
2324
2325         * manual/texinfo.tex: Update to last available version.
2326
2327         * timezone/africa: Update from tzdata1998e.
2328         * timezone/antarctica: Likewise.
2329         * timezone/asia: Likewise.
2330         * timezone/australasia: Likewise.
2331         * timezone/europe: Likewise.
2332         * timezone/iso3166.tab: Likewise.
2333         * timezone/northamerica: Likewise.
2334         * timezone/tzselect.ksh: Likewise.
2335         * timezone/zone.tab: Likewise.
2336
2337 1998-05-27  Ulrich Drepper  <drepper@cygnus.com>
2338
2339         * sysdeps/unix/sysv/linux/i386/chown.c: Fix comment.
2340         Reported by Matt McLean <keys@brio.yikes.com>.
2341
2342 1998-05-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2343
2344         * catgets/Makefile ($(objpfx)de.cat): Renamed from
2345         do-gencat-test.  Use automatic variables.
2346         ($(objpfx)de.msg): Fix reference to po file.
2347
2348 1998-05-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2349
2350         * Makeconfig ($(common-objpfx)gnu/lib-names.stmp): Use
2351         $(move-if-change).
2352
2353 1998-05-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2354
2355         * intl/dcgettext.c: Fix typo.
2356
2357 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2358
2359         * configure.in: Allow more make versions e.g 3.76.90.
2360
2361 1998-05-25  Ulrich Drepper  <drepper@cygnus.com>
2362
2363         * Makeconfig (rpath-link): Find libc.so.6 in $(common-objdir).
2364
2365         * malloc/thread-m.h: Use __mutex_init function in mutex_init macro
2366         for Hurd.  Patch by Mark Kettenis.
2367
2368 1998-04-18  Gordon Matzigkeit  <gord@profitpress.com>
2369
2370          * mach/Machrules (+preinit, +postinit): Define these variables to
2371          empty because libhurduser and libmachuser don't need startup
2372          files.
2373
2374 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
2375
2376          * sysdeps/mach/hurd/errlist.c (ERR_REMAP): Use err_get_code
2377          instead of a raw bitmask.
2378
2379 1998-05-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2380
2381         * Makeconfig (rpath-dirs): New variable.
2382         (rpath-link): Use it.
2383         (nssobjdir, nisobjdir, rtobjdir, resolvobjdir): Removed.
2384         (db-objpfx): Removed.
2385         * crypt/Makefile: Augment rpath-dirs instead of rpath-link.
2386         * md5-crypt/Makefile: Likewise.
2387         * sysdeps/mach/hurd/Makefile: Likewise.
2388
2389         * Makeconfig (move-if-change): New variable.
2390         * iconvdata/Makefile (move-if-change): Removed.
2391         * manual/Makefile (move-if-change): Set only if undefined, use
2392         local script by default.
2393         * sunrpc/Makefile (move-if-change): Removed.
2394         * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
2395         $(move-if-change).
2396
2397          * elf/Makefile: Remove all references to obsolete file
2398          $(objpfx)rtldtbl.h.
2399          ($(objpfx)trusted-dirs.h): Use stamp file.  Cleanup command.
2400
2401 1998-05-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2402
2403         * elf/dl-close.c (_dl_close): Add debugging message.
2404
2405 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2406
2407         * csu/Makefile ($(objpfx)version-info.h): Correct sed expression
2408         to get Linux version and not gcc version.
2409         Reported by Alan Curry <pacman@cqc.com>.
2410
2411 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2412
2413         * sysdeps/generic/_strerror.c (__strerror_r): Don't return NULL
2414         pointers - return unknown error message instead.
2415         Reported by Alan Curry <pacman@cqc.com>.
2416
2417 1998-05-24  Mark Kettenis  <kettenis@phys.uva.nl>
2418
2419         * iconvdata/Makefile (modules, sed-generated-headers,
2420         perl-generated-headers): ibm424.h is perl generated.  Make
2421         necessary modifications to compile without perl.
2422
2423 1998-05-24  Mark Kettenis  <kettenis@phys.uva.nl>
2424
2425         * hesiod/hesiod.c (read_config_file): Fix typo.
2426
2427 1998-05-24  Ulrich Drepper  <drepper@cygnus.com>
2428
2429         * version.h: Bump VERSION.
2430
2431         * csu/Makefile (distribute): Add munch-tmpl.c.
2432
2433 1998-05-23  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2434
2435         * nis/nis_defaults.c: Fix buffer problems and typos.
2436
2437 1998-05-23 08:42  Ulrich Drepper  <drepper@cygnus.com>
2438
2439         * intl/dcgettext.c: Don't use any alloca hacks if C_ALLOCA is defined.
2440         Patch by Fred Fish.
2441
2442 1998-05-22  Ulrich Drepper  <drepper@cygnus.com>
2443
2444         * stdlib/random_r.c (__random_r): Rewrite last patch to fix buffer
2445         overwriting bugs.
2446
2447         * libio/strops.c (_IO_str_underflow): Read newly available
2448         character from buffer as unsigned.
2449
2450 1998-05-22 10:56  Ulrich Drepper  <drepper@cygnus.com>
2451
2452         * catgets/Makefile (distribute): Add xopen-msg.h.
2453         (generated): Add de.msg and de.cat.
2454         (tests): Add do-gencat-test.
2455         (do-gencat-test): New goal.  Run gencat on a generated msg file.
2456         * catgets/xopen-msg.h: New file.
2457
2458 1998-05-22  Ulrich Drepper  <drepper@cygnus.com>
2459
2460         * catgets/open_catalog.c (__open_catalog): Use byteswap.h
2461         functions.  Optimize filename creation a bit.
2462
2463 1998-05-22 09:29  Ulrich Drepper  <drepper@cygnus.com>
2464
2465         * stdlib/random_r.c: Help gcc to optimize the code.
2466         Patch by Joe Keane <jgk@jgk.org>.
2467
2468 1998-05-21  Ulrich Drepper  <drepper@cygnus.com>
2469
2470         * iconv/iconv_prog.c (print_known_names): Use strverscmp in all
2471         tsearch calls.
2472
2473 1998-05-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2474
2475         * timezone/test-tz.c: The test with TZ=UTC0 seems to work - enable
2476         it.
2477
2478 1998-05-21 15:27  Ulrich Drepper  <drepper@cygnus.com>
2479
2480         * wcsmbs/wcsnrtombs.c: Correct computation of result.
2481         * wcsmbs/wcsrtombs.c: Likewise.
2482
2483         * wcsmbs/Makefile (tests): Add wcsmbs-tst1.c.
2484         * wcsmbs/wcsmbs-tst1.c: New file.
2485
2486         * iconv/loop.c (COUNT_CONVERTED): Correct computation.
2487
2488         * locale/C-ctype.c (_nl_C_LC_CTYPE): Define MB_CUR_MAX for C locale
2489         as 1.
2490
2491         * locale/setlocale.c: Don't make _nl_current_* and _nl_C_* references
2492         weak.
2493
2494 1998-05-21  Philip Blundell  <philb@gnu.org>
2495
2496         * sysdeps/arm/fpu_control.h: Replace stub file with real
2497         implementation.
2498         * sysdeps/arm/fpu/bits/fenv.h: New file.
2499         * sysdeps/arm/fpu/fesetround.c: Likewise.
2500         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
2501         * sysdeps/arm/fpu/fsetexcptflag.c: Likewise.
2502         * sysdeps/arm/fpu/ftestexcpt.c: Likewise.
2503         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
2504         * sysdeps/arm/fpu/fegetenv.c: Likewise.
2505         * sysdeps/arm/fpu/fesetenv.c: Likewise.
2506
2507 1998-05-21 16:34  Richard Henderson  <rth@cygnus.com>
2508
2509         * elf/dl-load.c (_dl_map_object_from_fd): Get file header with
2510         read instead of mmap.
2511
2512 1998-05-21  8:16  Richard Henderson  <rth@cygnus.com>
2513
2514         * sysdeps/unix/sysv/linux/alpha/glob.c: Include sysdeps/generic/glob.c
2515         directly instead of include_next.  Add missing semicolons.
2516         * sysdeps/unix/sysv/linux/alpha/oldglob.c: Include sys/types.h.
2517         Add missing semicolons.
2518
2519 1998-05-21  Ulrich Drepper  <drepper@cygnus.com>
2520
2521         * iconvdata/gconv-modules: Add more aliases to please java
2522         environments.
2523
2524 1998-05-20  Ulrich Drepper  <drepper@cygnus.com>
2525
2526         * stdio-common/vfprintf.c (process_arg): Fix typo.
2527
2528         * iconvdata/TESTS: New tests for EUC-KR.
2529
2530         * iconvdata/Makefile ($(objpfx)iconv-test.out): Also depend on TESTS.
2531         * iconvdata/testdata/EUC-KR: New file.
2532
2533 1998-05-20 07:26  H.J. Lu  <hjl@gnu.org>
2534
2535         * math/libm-test.c (hypot_test): Fix a typo.
2536
2537 1998-05-20  Ulrich Drepper  <drepper@cygnus.com>
2538
2539         * stdio-common/vfprintf.c: When precision is specified for %ls or
2540         %S handle it correctly.
2541
2542 1998-05-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2543
2544         * sysdeps/unix/bsd/vax/vfork.S: Missed double occurences of "the
2545         the" in one line - fixed it.
2546         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
2547         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
2548         * posix/unistd.h: Likewise
2549
2550 1998-05-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2551
2552         * Makeconfig (rpath-link): Add resolvobjdir.
2553         (resolvobjdir): New variable.
2554         Reported by Peter Breitenlohner <peb@mppmu.mpg.de> [fixes PR libc/633].
2555
2556 1998-05-20 09:36  Ulrich Drepper  <drepper@cygnus.com>
2557
2558         * elf/dl-close.c: Call shared object terminators at the right time.
2559         Patch by Philippe Troin <phil@fifi.org>.
2560
2561 1998-05-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2562
2563         * Make-dist (+tsrcs): Also add *.map for every member of
2564         $(extra-libs).
2565
2566         * Makefile (distribute): Don't distribute scripts/printsources and
2567         scripts/=__ify.  Distribute FAQ.in.
2568         (rpm/%): Don't pass subdirs to sub-make.
2569
2570         * timezone/Makefile: Protect inclusion of z.* by $(avoid-generated)
2571         instead of $(no_deps).
2572
2573 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2574
2575         * sysdeps/generic/setenv.c: Protect against GNU C extension.
2576         (KNOWN_VALUE, STORE_VALUE): Do it right.
2577         (setenv): Remove unused variable.
2578
2579 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2580
2581         * timezone/Makefile (tz-cflags): Define TM_GMTOFF and TM_ZONE.
2582         (CFLAGS-zdump.c): Add $(tz-cflags).
2583
2584         * timezone/zdump.c (abbr): Use TM_ZONE if defined.  Add const to
2585         return type.
2586
2587 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2588
2589         * time/tzfile.c (__tzfile_compute): Undo last change.  Instead
2590         take struct tm parameter and set tm_isdst, tm_zone and tm_offset
2591         if use_localtime.
2592         * time/tzset.c: Update prototype of __tzfile_compute.
2593         (__tz_convert): Pass tp to __tzfile_compute.  Don't set tm_isdst,
2594         tm_zone and tm_offset here if __use_tzfile.
2595
2596 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2597
2598         * Makerules: Install libc.a even if there are no object file.
2599
2600 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2601
2602         * Makerules (do-makelib): Don't force creating library from
2603         scratch, which is faster and gets correct behaviour if $(subdirs)
2604         is incomplete.
2605
2606 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2607
2608         * Makerules (do-stamp): Make it work when building in source
2609         directory.
2610
2611 1998-05-20 00:10  Ulrich Drepper  <drepper@cygnus.com>
2612
2613         * elf/dl-load.c: Rename option and variable from ignore-rpath to
2614         inhibit-rpath.
2615         * elf/dl-support.c: Likewise.
2616         * elf/ldsodefs.h: Likewise.
2617         * elf/rtld.c: Likewise.
2618         * iconvdata/run-iconv-test.sh: Likewise.
2619
2620 1998-05-19 23:08  Ulrich Drepper  <drepper@cygnus.com>
2621
2622         * elf/rtld.c: Recognize --ignore-rpath argument and set _dl_ignore_path
2623         variable using the value.
2624         * elf/ldsodefs.h: Declare _dl_ignore_path.
2625         * elf/dl-load.c (decompose_rpath): Compare name of handled shared
2626         object against list in _dl_ignore_path and ignore RPATH if on the list.
2627         * elf/dl-support.c: Define _dl_ignore_path for static binaries.
2628         * iconvdata/run-iconv-test.sh: Call ld.so with --ignore-rpath parameter
2629         to make sure we get the correct helper libraries loaded.
2630
2631         * elf/dl-load.c (decompose_rpath): Remove `room' parameter.  Use
2632         "RPATH" string in call to fillin_rpath instead.
2633         (_dl_init_paths): Remove this parameter from call to decompose_rpath.
2634
2635 1998-05-19  Ulrich Drepper  <drepper@cygnus.com>
2636
2637         * sysdeps/i386/i486/bits/string.h (__strstr_g): Initialize %edx
2638         correctly.  Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
2639
2640 1998-05-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2641
2642         * manual/terminal.texi (I/O Queues): Fix typo.
2643
2644         * manual/stdio.texi (Closing Streams): Fix grammar.
2645
2646         * manual/arith.texi (Absolute Value): Correct typo.
2647         Patches by Oskar Liljeblad <osk@hem.passagen.se>. [PR libc/630]
2648
2649 1998-05-19 15:58  Ulrich Drepper  <drepper@cygnus.com>
2650
2651         * elf/rtld.c (process_envvars): Fix typo.  Don't handle
2652         LD_PROFILE_OUTPUT in SUID binaries.
2653         * intl/dcgettext.c: In SUID binaries don't let language part of
2654         locale value contain path elements.
2655         * intl/explodename.h: Define new function _nl_find_language.
2656         * intl/loadinfo.h: Declare _nl_find_language.
2657         * locale/findlocale.c (_nl_find_locale): Use _nl_find_locale to get
2658         language part it drop the value is path element is contained.
2659
2660         * locale/setlocale.c: Fix typo.
2661
2662 1998-05-18  Philip Blundell  <Philip.Blundell@pobox.com>
2663
2664         * sysdeps/unix/sysv/linux/arm/socket.S: Correct handling of arguments.
2665
2666         * sysdeps/arm/strlen.S: Support both big and little endian processors.
2667
2668         * sysdeps/arm/sysdep.h (ALIGNARG): ELF .align directive uses a
2669         log, not a byte-count.
2670
2671         * sysdeps/unix/arm/sysdep.S (syscall_error): Use C_SYMBOL_NAME for
2672         a.out compatibility.
2673
2674 1998-05-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2675
2676         * sysdeps/unix/bsd/vax/vfork.S: Fix the "the the" problems.
2677         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
2678         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
2679         * posix/unistd.h: Likewise.
2680         * math/math.h: Likewise.
2681         * manual/users.texi (Manipulating the Database): Likewise.
2682         * manual/signal.texi (Job Control Signals): Likewise.
2683         * manual/message.texi (The gencat program): Likewise.
2684         * manual/filesys.texi (Hard Links): Likewise.
2685         * manual/math.texi (SVID Random): Likewise.
2686         * manual/llio.texi (Waiting for I/O): Likewise.
2687         * manual/io.texi (File Name Errors): Likewise.
2688         * manual/conf.texi (String Parameters): Likewise.
2689         * manual/arith.texi (Infinity): Likewise.
2690         * malloc/malloc.c: Likewise.
2691         * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
2692         * csu/Makefile: Likewise.
2693
2694 1998-05-19 12:16  Ulrich Drepper  <drepper@cygnus.com>
2695
2696         * manual/memory.texi: Add back accidently removed line.
2697
2698 1998-04-25  Mark Kettenis  <kettenis@phys.uva.nl>
2699
2700         * sysdeps/generic/utmp_file.c (TIMEOUT): New macro.
2701         (timeout_handler): New function.
2702         (LOCK_FILE, UNLOCK_FILE): New macros.
2703         Implement file locking with timeout.
2704         (getutent_r_file, internal_getut_r, getutline_r_file,
2705         pututline_file, updwtmp_file): Use LOCK_FILE and UNLOCK_FILE for
2706         locking.
2707
2708 1998-05-18 11:38  Ulrich Drepper  <drepper@cygnus.com>
2709
2710         * iconvdata/run-iconv-test.sh: Extend library-path by iconvdata
2711         directory.
2712
2713 1998-05-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2714
2715         * rpm/Makefile: Delete inclusion of version.mk.
2716
2717 1998-05-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2718
2719         * libc.map: Add all libio functions needed libstdc++ with version
2720         2.0, sort entries.
2721
2722 1998-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2723
2724         * iconvdata/Makefile (generated): Add *.stmp files.
2725
2726 1998-05-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2727
2728         * timezone/Makefile (testdata, build-testdata): New variables, use
2729         them in rules for test data.
2730         ($(objpfx)tst-timezone.out): Depend on test data.
2731         ($(testdata)/Europe/Berlin, $(testdata)/Universal,
2732         $(testdata)/Australia/Melbourne, $(testdata)/America/Sao_Paulo):
2733         New rules to build test data.
2734         (tst-timezone-ENV): Pass TZDIR to point to test data.
2735
2736 1998-05-18  Ulrich Drepper  <drepper@cygnus.com>
2737
2738         * iconvdata/TESTS: ISO-2022-KR has not really ASCII as a subset
2739         (the designation sequence is disturbing).
2740
2741 1998-05-17  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2742
2743         * sunrpc/svc_tcp.c: Add FreeBSD DoS patch.
2744         * sunrpc/xdr_rec.c: Likewise.
2745
2746 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
2747
2748         * posix/Makefile (tests): Add runptests.
2749         (distribute): Add PTESTS, PTESTS2C.sed, and ptestcases.h.
2750         (before-compile): Add ptestcases.h.
2751         (ptestscases.h): Add rule to generate from PTESTS.
2752         * posix/runptests.c: New file.
2753         * posix/PTESTS: New file.
2754         * posix/PTESTS2C.sed: New file.
2755
2756 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
2757
2758         * iconv/loop.c: Let user add code to use and set paramaters.
2759
2760         * iconvdata/iso-2022-kr.c: Correct to-loop.
2761
2762         * iconvdata/iso-2022-kr.c (PREPARE_LOOP): Use correct variable to
2763         point to output buffer.
2764
2765         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Use correct value to find
2766         hanja.
2767
2768         * iconvdata/TESTS: Add ISO-2022-KR test.
2769         * iconvdata/testdata/ISO-2022-KR: New file.
2770
2771 1998-05-15 21:07  Ulrich Drepper  <drepper@cygnus.com>
2772
2773         * iconv/gconv.h (gconv_step_data): Add new fields invocation_counter
2774         and internal_use.
2775         * iconv/gconv_open.c (__gconv_open): Initialize invocation_counter
2776         and internal_use.
2777         * wcsmbs/btowc.c: Likewise.
2778         * wcsmbs/mbrtowcs.c: Likewise.
2779         * wcsmbs/mbsnrtowcs.c: Likewise.
2780         * wcsmbs/mbsrtowcs.c: Likewise.
2781         * wcsmbs/wcrtomb.c: Likewise.
2782         * wcsmbs/wcsnrtombs.c: Likewise.
2783         * wcsmbs/wcsrtombs.c: Likewise.
2784         * wcsmbs/wctob.c: Likewise.
2785         * iconv/skeleton.c: Increment invocation_counter.
2786         * iconvdata/iso-2022-kr.c: When used in iconv() emit designator
2787         sequence first.
2788
2789         * iconv/skeleton.c (FROM_DIRECTION): Completely embrace expression.
2790         * iconvdata/iso-2022-jp.c: Likewise.
2791         * iconvdata/iso646.c: Likewise.
2792
2793         * iconvdata/Makefile: Correct rpath definition for ISO-2022-KR.
2794
2795 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
2796
2797         * iconv/gconv_db.c (derivation_lookup): Use __tfind correctly.
2798
2799         * sysdeps/generic/setenv.c (setenv): Remove optimization for
2800         overwriting existing values if it fits.
2801
2802 1998-05-15 14:36  Ulrich Drepper  <drepper@cygnus.com>
2803
2804         * posix/wordexp-test.c: Avoid duplicate messages.
2805
2806         * sysdeps/generic/setenv.c: Use __tfind and __tsearch, not tfind and
2807         tsearch.  Correctly interpret values returned by those functions.
2808         (unsetenv): Store pointer to string, not pointer to string pointer.
2809
2810         * time/tzfile.c (__tzfile_compute): Take new arguments.  Store
2811         DST information and offset in them.
2812         * time/tzset.c (__tz_convert): Pass extra parameters to
2813         __tzfile_compute.  Compute equivalent values for use of tz_rules.
2814
2815 1998-05-15 00:49:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2816
2817         * iconvdata/Makefile (gen-8bit-table): Use move-if-change and
2818         stamp files to avoid unnecessary recompilation.
2819         (gen-8bit-gap-table): Likewise.
2820         (move-if-change): New variable.
2821         (all generated .h rules): Change to be .stmp rules.
2822         (%.h): New rule; depend on %.stmp; no commands.
2823         (distribute): Add gen-8bit.sh, gen-8bit-gap.sh,
2824         gen-8bit-gap-1.sh.
2825
2826 1998-05-15 01:09  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2827
2828         * Makerules (libc-map): Deleted.
2829         (load-map-file): Set to the appropriate compiler switch, not
2830         just the file name.  If libfoo-map is not set, look for a
2831         libfoo.map in the current directory and $(..).
2832         (map-file): New variable, contains just the mapfile name.
2833         (build-shlib): Adjust for new value of load-map-file.
2834         (libc.so): Correct dependencies.
2835
2836         * extra-lib.mk: Correct shlib dependencies since libfoo-map
2837         may not be set anymore.
2838
2839         * elf/Makefile: Set ld-map to $(..)libc.map, not $(libc-map).
2840         Delete libdl-map.  Tweak ld.so link rule to work with changed
2841         variable settings in Makerules.
2842         * iconvdata/Makefile: Tweak build-module to work with changed
2843         variable settings in Makerules.
2844
2845         * db/Makefile: Delete libdb-map.
2846         * hesiod/Makefile: Delete libnss_hesiod-map.
2847         * linuxthreads/Makefile: Delete libpthread-map.
2848         * locale/Makefile: Delete libBrokenLocale-map.
2849         * login/Makefile: Delete libutil-map.
2850         * math/Makefile: Delete libm-map.
2851         * md5-crypt/Makefile: Delete libcrypt-map.
2852         * nis/Makefile: Delete libnsl-map, libnss_nis-map,
2853         libnss_nisplus-map, and libnss_compat-map.
2854         * nss/Makefile: Delete libnss_files-map, libnss_db-map, and
2855         libnss_ldap-map.
2856         * resolv/Makefile: Delete libresolv-map and libnss_dns-map.
2857         * rt/Makefile: Delete librt-map.
2858
2859 1998-05-15 01:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2860
2861         * configure.in: Instead of substituting `yes' or `no' for whether
2862         --no-whole-archive is available, set @no_whole_archive@ to the
2863         appropriate gcc switch or the empty string.  Likewise for
2864         -fno-exceptions.
2865         * config.make.in: Replace have-no-whole-archive with
2866         no-whole-archive and have-no-exceptions with no-exceptions.
2867         * Makerules: Delete stanzas setting no-whole-archive and
2868         no-exceptions.
2869
2870         * sunrpc/Makefile: Use move-if-change to update generated .h
2871         and .c files.
2872
2873 1998-05-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2874
2875         * wcsmbs/wcsmbsload.c (extract_charset_name): Use strcspn instead
2876         of strchr loop.
2877
2878 1998-05-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2879
2880         * time/tzfile.c (__tzfile_read): Remove unused variable info.
2881         (__tzfile_compute): Likewise.
2882
2883 1998-05-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2884
2885         * sysdeps/unix/sysv/linux/bits/socket.h (AF_SNA,PF_SNA): Add new
2886         defines from Linux 2.1.102.
2887
2888 1998-05-14 23:14  Ulrich Drepper  <drepper@cygnus.com>
2889
2890         * locale/programs/ld-ctype.c: Write correct mb_cur_max value.
2891
2892 1998-05-14 13:25  Ulrich Drepper  <drepper@cygnus.com>
2893
2894         * inet/netinet/in.h: Add defines for multicast.
2895         Reported by Jeremy Hall <jhall@UU.NET>.
2896
2897         * stdlib/stdlib.h: Add prototypes for __setenv and __unsetenv.
2898         * sysdeps/generic/putenv.c: Use __setenv and __unsetenv, not setenv
2899         and unsetenv.  Optimize _LIBC case.
2900         * sysdeps/generic/setenv.c: Prevent unnecessary memory leaks.
2901         Define functions with leading __.
2902
2903         * time/tzfile.c: Correct handling of global variables daylight,
2904         timezone, and tzname.
2905         * time/tzset.c: Likewise.
2906         * timezone/Makefile (tests): Add tst-timezone.
2907         * timezone/tst-timezone.c: New file.
2908
2909 1998-05-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
2910
2911         * timezone/asia: Update from tzdata1998d.
2912         * timezone/australasia: Likewise.
2913         * timezone/europe: Likewise.
2914
2915 1998-05-13  Ulrich Drepper  <drepper@cygnus.com>
2916
2917         * string/string.h: Don't use the optimized versions for the string
2918         functions if optimizing for space.
2919
2920         * stdlib/tst-strtod.c: Add test for -0.0.
2921
2922         * io/ftwtest-sh: Prevent tests from being run by root.
2923
2924         * wcsmbs/wcsmbsload.c (extract_charset_name): Fix silly bugs in
2925         last addition.  Patch by wkpark@chem.skku.ac.kr.
2926
2927 1998-05-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2928
2929         * iconvdata/8bit-gap.c (BODY): Don't fall off the end of the gap
2930         table.
2931
2932 1998-05-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2933
2934         * iconvdata/gen-8bit.sh: New file.
2935         * iconvdata/gen-8bit-gap.sh: New file.
2936         * iconvdata/gen-8bit-gap-1.sh: New file.
2937         * iconvdata/Makefile (generate-8bit-table): Use shell script
2938         instead of writing the commands directly.
2939         (generate-8bit-gap-table): Likewise.
2940         ($(objpfx)iso8859-7jp.h): Likewise.
2941         (generated headers): Depend on shell script instead of Makefile.
2942         (before-compile): Add $(perl-generated-headers) only if perl is
2943         available.
2944         (headers): Depend on $(perl-generated-headers) only if perl is
2945         available.
2946         (sed-generated-headers): Remove iso8859-7jp.h.
2947
2948 1998-05-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2949
2950         * csu/Makefile ($(objpfx)abi-tag.h): Double $ in command.  Clean up.
2951         (/): Removed.
2952
2953 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
2954
2955         * wcsmbs/wcsmbsload.c (extract_charset_name): Pass correctly
2956         formed charset names to getfct.  Let user override charset
2957         selection by mention charset in locale name.
2958
2959 1998-05-12 12:15  Ulrich Drepper  <drepper@cygnus.com>
2960
2961         * posix/glob.c: Move to ...
2962         * sysdeps/generic/glob.c: ...here.
2963         * posix/glob.h (glob_t): Use correct types for gl_pathc and gl_offs
2964         elements.
2965         * sysdeps/unix/sysv/linux/alpha/glob.c: New file.
2966         * sysdeps/unix/sysv/linux/alpha/oldglob.c: New file.
2967         * sysdeps/unix/sysv/linux/alpha/Dist: Add oldglob.c.
2968         * sysdeps/unix/sysv/linux/alpha/Makefile: Compile oldglob in posix
2969         subdir.
2970         * libc.map [GLIBC_2.1]: Add glob and globfree.
2971
2972 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
2973
2974         * sunrpc/Makefile (generated): Restore old list.
2975
2976 1998-05-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2977
2978         * rt/Makefile (tests): Define only if we have a thread library.
2979
2980         * nis/ypclnt.c: Add: #include <errno.h>.
2981
2982 1998-05-10 15:39  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2983
2984         * configure.in: Define and substitute RELEASE as well as
2985         VERSION.
2986         * config.make.in: Add RELEASE and VERSION to be substituted.
2987         * Makeconfig: Delete all references to version.mk.
2988         * Make-dist: Likewise.
2989         * MakeTAGS: Likewise.
2990         * elf/Makefile: Likewise.
2991
2992 1998-05-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2993
2994         * nis/ypclnt.c: Move "(none)" domainname check from __yp_check to
2995         yp_get_default_domain.
2996
2997 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
2998
2999         * sysdeps/posix/profil.c (__profil): Don't define act and timer
3000         variables as static.  Patch by Joe Keane <jgk@jgk.org>.
3001
3002 1998-05-12  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
3003
3004         * malloc/malloc.c: Fix for NO_THREADS case.
3005
3006 1998-05-11 18:02  Richard Henderson  <rth@cygnus.com>
3007
3008         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
3009         Remove statfs and fstatfs.
3010         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Don't mark pread
3011         and pwrite as EXTRA.
3012         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3013
3014 1998-05-09  Ulrich Drepper  <drepper@cygnus.com>
3015
3016         * libc.map: Add capget and capset.
3017
3018 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
3019
3020         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3021         (DL_FIND_ARG_COMPONENTS): Find correct alignment for auxiliary
3022         vector.  Patch by Mark Hatle <fray@kernel.crashing.org>
3023         and Matt McLean <keys@brio.yikes.com>.
3024
3025 1998-05-08 23:49  Ulrich Drepper  <drepper@cygnus.com>
3026
3027         * misc/Makefile (tests): Add tst-mntent.
3028         * misc/tst-mntent.c: New file.
3029
3030 1998-05-08 21:56  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3031
3032         * autolock.sh: Removed.
3033         * manual/move-if-change: Removed.
3034
3035         * scripts: New directory.
3036         * =__ify: Moved to scripts.
3037         * config.guess: Likewise.
3038         * config.sub: Likewise.
3039         * gen-FAQ.pl: Likewise.
3040         * install-sh: Likewise.
3041         * mkinstalldirs: Likewise.
3042         * move-if-change: Likewise.
3043         * printsources: Likewise.
3044         * rellns.sh: Likewise.
3045         * test-installation.pl: Likewise.
3046
3047         * configure.in: Look in scripts for config.guess, config.sub,
3048         install-sh.
3049         * Makefile: Distribute all above files in their
3050         new home.  Find gen-FAQ.pl and test-installation.pl in scripts.
3051         * manual/Makefile: Find mkinstalldirs and move-if-change in
3052         $(..)scripts.  Drop them from distribute.  Minor cleanups.
3053         * Makerules: Find mkinstalldirs and rellns-sh in scripts.
3054         * sysdeps/mach/hurd/Makefile: Find move-if-change in scripts.
3055         * timezone/Makefile: Find rellns-sh in scripts.
3056
3057 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
3058
3059         * intl/locale.alias: Change italian to it_IT.ISO-8859-1.
3060         Reported by Ottavio G. Rizzo <otto@mast.queensu.ca>.
3061
3062 1998-05-08 19:24  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3063
3064         * Makefile (+subdir-inits): Delete variable.
3065         (+init_subdirs): Likewise.
3066         (aux): Likewise.
3067         (before-compile): Likewise.
3068         (libc-init): Delete stanza.
3069         (version-info.h): Delete rule and associated variable.
3070         (distribute): Don't distribute moved files.
3071         * Makerules (interp-obj): It lives in elf now.  Only use it
3072         if $(elf) is set.  Delete rule to build it.
3073         * csu/Makefile: Build set-init.o and/or munch-init.o.  Build
3074         version.o and version-info.h.  Minor cleanups.
3075         (routines): Add libc-init, sysdep, version.
3076         (generated): Add version-info.h.
3077         * elf/Makefile: Build interp.os.
3078
3079         * interp.c: Moved to elf.
3080         * set-init.c: Moved to csu.
3081         * munch-init.c: Likewise.
3082         * munch.awk: Likewise.
3083         * version.c: Likewise.
3084
3085         * Rules: Unconfuse syntax highlighting with a fake comment.
3086
3087 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
3088
3089         * sysdeps/unix/sysv/linux/syscalls.list: Add capset and capget
3090         syscalls.
3091
3092 1998-05-08 16:36  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3093
3094         * iconvdata/Makefile (generated): Set to *-generated-headers
3095         plus gconv-modules.
3096         (tests): Set to iconv-test.
3097         * localedata/Makefile (generated-dirs): Add ld-test-names to list.
3098         * posix/Makefile (generated): Set to wordexp-test-result*.
3099         * sunrpc/Makefile (generated): Remove rpcsvc/*.
3100         (generated-dirs): Add rpcsvc.
3101         * libio/Makefile: Clean up.
3102
3103 1998-05-08 14:55  Ulrich Drepper  <drepper@cygnus.com>
3104
3105         * Make-dist (+tsrcs): Also use tests-statc where tests is used.
3106         * Makerules: Likewise.
3107         (+depfiles): Also add sysdep-others.
3108         * Rules: Likewise.
3109         * iconv/Makefile (distribute): Add loop.s and skeleton.c.
3110         * iconvdata/Makefile (distribute): Add TESTS.
3111         * localedata/Makefile (repertoires): Rename to repertoiremaps.
3112         * sysdeps/gnu/Dist: Add utmpx.h and bits/utmpx.h.
3113         * sysdeps/unix/sysv/linux/Dist: Add ldd-rewrite.sed.
3114         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=elf]: Define
3115         sysdep-others, not others.
3116         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
3117         * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/kernel_termios.h.
3118
3119 1998-05-08 12:26  Ulrich Drepper  <drepper@cygnus.com>
3120
3121         * iconv/gconv_int.h (struct gconv_module): Remove cost field and add
3122         cost_hi and cost_lo.
3123         * iconv/gconv_conf.c (builtin_modules): Initialize cost_hi from
3124         Cost parameter and set cost_lo to INT_MAX.
3125         (add_module): Take new parameter and use it to initialize cost_lo.
3126         (read_conf_file): Count modules being loaded and use counter for
3127         new parameter to add_module.
3128         * iconv/gconv_db.c (find_derivation): When look for cost examine
3129         cost_hi and cost_lo.
3130
3131 1998-05-08 10:52  Ulrich Drepper  <drepper@cygnus.com>
3132
3133         * string/bits/string2.h: Don't use unsigned char * unless really
3134         necessary since this disturbs C++.
3135         * sysdeps/i386/i486/bits/string.h: Likewise.
3136         Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
3137
3138 1998-05-08 13:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3139
3140         * malloc/malloc.c (top_check): Fix last change.
3141
3142 1998-05-07  Ulrich Drepper  <drepper@cygnus.com>
3143
3144         * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Define.
3145         Patch by Matt McLean <keys@brio.yikes.com>.
3146
3147 1997-05-07 13:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3148
3149         * Makerules (lib): Put back dependency on lib-noranlib.
3150         ($(subdirs-stamps)): Remove dependency on stamp.* again.
3151
3152 1998-05-07  Ulrich Drepper  <drepper@cygnus.com>
3153
3154         * sysdeps/i386/fpu/bits/mathinline.h: Use long long int also for
3155         test in __pow2 implementation.
3156
3157 1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>
3158
3159         * Makeconfig [!build-static]: Link `static' binaries with libc_pic.a.
3160         Still need *FLAGS-.o because we still sometimes build .o files.
3161         * db2/Makefile: Don't build libndbm.a if !build-static.
3162
3163 1998-05-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3164
3165         * malloc/malloc.c (top_check): Add void as parameter to silent gcc.
3166
3167 1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>
3168
3169         * configure.in: New test for broken gcc on PowerPC.
3170         * sysdeps/powerpc/atomicity.h: Use result of test.
3171         * linuxthreads/sysdeps/powerpc/pt-machine.h: Use result of test.
3172
3173         * math/libm-test.c: Update many of the epsilon to match actual
3174         performance.
3175
3176         * sysdeps/libm-ieee754/e_exp.c: Reduce the number of branches.
3177         * sysdeps/libm-ieee754/e_expf.c: Likewise.
3178         * sysdeps/libm-ieee754/s_exp2.c: Likewise.
3179         * sysdeps/libm-ieee754/s_exp2f.c: Likewise.
3180
3181         * sysdeps/libm-ieee754/e_pow.c: Correct typo.
3182
3183         * sysdeps/powerpc/elf/libc-start.c: New file.
3184         * sysdeps/powerpc/elf/start.S: New file, use libc-start.
3185         * sysdeps/powerpc/elf/start.c: Delete.
3186
3187         * sysdeps/unix/sysv/linux/powerpc/Dist: Remove syscall.h
3188         * sysdeps/unix/sysv/linux/powerpc/syscall.h: Delete.  It was unused.
3189
3190         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Correct previous
3191         few patches.
3192
3193 1998-05-06 12:51  Ulrich Drepper  <drepper@cygnus.com>
3194
3195         * sysdeps/i386/fpu/bits/mathinline.h (pow): Use long long int for
3196         test for integer.
3197
3198         * sysdeps/libm-i387/e_pow.S: Correctly shift double word.
3199         * sysdeps/libm-i387/e_powl.S: Likewise.
3200
3201 1998-03-31  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
3202
3203         * malloc/malloc.c (chunk2mem_check, top_check): New functions.
3204         (malloc_check, free_check, realloc_check, memalign_check): Use
3205         them to improve overrun checking.  Overruns of a single byte and
3206         corruption of the top chunk are now detected much more reliably.
3207
3208 1998-05-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3209
3210         * math/libm-test.c (pow_test): Add test for special value from PR
3211         libc/590.
3212
3213 1998-05-06  Ulrich Drepper  <drepper@cygnus.com>
3214
3215         * sysdeps/unix/sysv/linux/bits/errno.h: Undefine EILSEQ before
3216         including linux/errno.h.
3217
3218 1998-05-06 09:49  Ulrich Drepper  <drepper@cygnus.com>
3219
3220         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Add LFS support.
3221         Use correct types.
3222         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: New file.
3223         * sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: New file.
3224
3225 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3226
3227         * Makerules (elide-routines.*): Fix assignments.
3228         (do-makelib): Fix typo.
3229         ($(subdirs-stamps)): Depend on $(objpfx)stamp.* if in parent
3230         makefile.
3231
3232 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3233
3234         * Makefile (sysdep-subdirs, subdirs, $(common-objpfx)sysd-dirs,
3235         $(objpfx)sysd-dirs): Move them...
3236         * Makeconfig: ... here.
3237         * Makerules (subdirs-stamps, subdirs-stamp-o): Always define.
3238         (stubs): Fix circular depedency.
3239         (do-makelib): Clean up.
3240         (lib): Don't depend on lib-noranlib.
3241         ($(objpfx)stamp.oS): Remove special case for empty
3242         static-only-routines.
3243         (elide-routines.o): Add $(static-only-routines).
3244         (elide-routines$o): Define this instead of elide-routines.$o.
3245         * manual/Makefile (stubs): Fix circular dependency.
3246
3247 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3248
3249         * libio/Makefile (routines): Remove duplicate oldiofclose.
3250
3251 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
3252
3253         * string/strcoll.c: Use uint32_t instead of u_int32_t.
3254
3255 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
3256
3257         * libio/stdio.h: Fix typo in __REDIRECT.
3258         * io/sys/stat.h: Likewise.
3259         Reported by Myles Uyema <myles@uyema.nws.net>.
3260
3261 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3262
3263         * locale/programs/localedef.c (options): Fix help message.
3264
3265 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
3266
3267         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Avoid nasty
3268         relocations.  Patch by Joe Keane <jgk@jgk.org>.
3269
3270 1998-05-04 12:40  Ulrich Drepper  <drepper@cygnus.com>
3271
3272         * malloc/malloc.c (ptmalloc_init_all): New function.  Similar to
3273         ptmalloc_unlock_all, but re-initializes the mutexes instead.
3274         (ptmalloc_init): Use new function in thread_at_fork call.
3275         (thread_atfork_static): Likewise.
3276         Suggested by Wolfram Gloger and Xavier Leroy.
3277
3278 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
3279
3280         * signal/signal.h: Move definitions of struct sigstack and
3281         struct sigaltstack into separate file and include it.
3282         * sysdeps/generic/bits/sigstack.h: New file.
3283         * sysdeps/unix/sysv/linux/bits/sigstack.h: New file.
3284         * signal/Makefile (headers): Add bits/sigstack.h.
3285
3286 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3287
3288         * elf/rtld.c (dl_main): Fix check for number of references to
3289         interpreter object.
3290
3291 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3292
3293         * elf/rtld.c (dl_main): Check has_interp after executing platform
3294         specific code.
3295
3296 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3297
3298         * iconvdata/run-iconv-test.sh: Fix typo.
3299
3300 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3301
3302         * Makerules (+depfiles): Add depfiles for $(tests-static).
3303         Simplified.
3304
3305 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3306
3307         * manual/terminal.texi (Special Characters): Fix description of
3308         c_cc indexes.
3309
3310 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3311
3312         * sysdeps/unix/sysv/linux/tcsetattr.c: Use memcpy to copy the c_cc
3313         array.
3314         * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise.  Initialize rest
3315         of c_cc array.
3316
3317 1998-04-30 14:15  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3318
3319         * sysdeps/unix/sysv/linux/netrose/rose.h: Don't include kernel headers.
3320
3321 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
3322
3323         * intl/locale.alias: Update russian entry.
3324
3325 1998-05-01 21:54  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3326
3327         * Makerules (static-only-routines): Reimplement in terms of
3328         elide-routines.os.
3329         (shared-only-routines): Reimplement in terms of
3330         elide-routines.X [where X is all object-suffixes except .os].
3331
3332         (stubs): Create stubs file inside the subdir.
3333         (common-mostlyclean): Remove stubs file from inside the subdir.
3334         * Makefile (subdir-stubs): Look for stubs files inside the
3335         subdirs.
3336         * manual/Makefile (stubs): Create dummy stubs file inside the
3337         subdir.
3338
3339 1998-05-01 21:01  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3340
3341         Build speed improvement: make ar less of a bottleneck.
3342
3343         * Makerules (stamp$o): Just record the object list for later
3344         use.
3345         (libc_foo.a): New rule, depends on subdir stamp files; builds
3346         and ranlibs the library from the lists saved in those files.
3347
3348         (subdirs-stamps): Define also if subdir == elf (FIXME: kludge).
3349         (subdirs-stamp-o): Likewise.
3350
3351         (ar-symtab-name): Delete variable.
3352         (lib%.a): Delete target.
3353         (libc_foo.a(bar.%)): Delete target.
3354         (libc_foo.a($(ar-symtab-name))): Delete target.
3355
3356         (objects objs): Just depend on libobjs and extra-objs.
3357         (libobjs): Depend on the stamp files, not the objects.
3358         (extra-objs): New target, just depends on the extra-objs list.
3359
3360         (CREATE_ARFLAGS): Kill the `ar S' hack.
3361
3362         * config.make.in (have-ar-S): Deleted.
3363         * configure.in: Delete test for `ar S'.  Add test to determine
3364         whether ranlib does anything useful.
3365
3366 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
3367
3368         * inet/tst-ether_aton.c: Include <stdio.h>.
3369
3370 1998-04-30 16:45  Ulrich Drepper  <drepper@cygnus.com>
3371
3372         * inet/ether_aton.c: Including netinet/if_ether.h is not necessary.
3373
3374         * locale/Makefile (distribute): Add programs/repertoire.h.
3375         (localedef-modules): Add repertoire.
3376         (CPPFLAGS): Define REPERTOIREMAP_PATH.
3377         * locale/programs/repertoire.c: New file.
3378         * locale/programs/repertoire.h: New file.
3379         * locale/programs/charmap.c: Starting fixing character set handling
3380         to handle multi-byte encodings.
3381         * locale/programs/charset.c: Likewise.
3382         * locale/programs/charset.h: Likewise.
3383         * locale/programs/ld-collate.c: Likewise.
3384         * locale/programs/ld-ctype.c: Likewise.
3385         * locale/programs/linereader.c: Likewise.
3386         * locale/programs/localedef.c: Likewise.
3387         * locale/programs/locfile-kw.gperf: Likewise.
3388         * locale/programs/locfile-kw.h: Likewise.
3389         * locale/programs/locfile-token.h: Likewise.
3390         * locale/programs/locfile.h: Likewise.
3391         * locale/programs/stringtrans.c: Likewise.
3392
3393         * locale/programs/locfile.c: Interpret I18NPATH value as base of
3394         path, extended with "/locales/".
3395
3396 1998-04-18  Philip Blundell  <Philip.Blundell@pobox.com>
3397
3398         * sysdeps/arm/memset.S: Fix off by one error.
3399
3400         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): On error, call
3401         __syscall_error rather than syscall_error directly.
3402
3403 1998-04-17  Philip Blundell  <Philip.Blundell@pobox.com>
3404
3405         * sysdeps/unix/sysv/linux/arm/mmap.S: New file; implementation of
3406         mmap() syscall for ARM.
3407
3408         * sysdeps/unix/arm/start.c: New file; startup code for ARM a.out
3409         binaries.
3410
3411 1998-04-30  Ulrich Drepper  <drepper@cygnus.com>
3412
3413         * locale/programs/localedef.c: Recognize repertoire-map option.
3414
3415 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
3416
3417         * locale/programs/linereader.c (get_toplvl_escape): Fix typo in
3418         converting non-hex numbers.
3419         Patch by Won Kyu Park <bird@bird.kitel.co.kr>.
3420
3421 1998-04-23 07:31  H.J. Lu  <hjl@gnu.org>
3422
3423         * resolv/inet_addr.c (inet_aton): Use __strtoul_internal to
3424         check overflow.
3425         * resolv/Makefile (tests): New, add tst-aton.
3426         * resolv/tst-aton.c: New file.
3427
3428 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
3429
3430         * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Add missing
3431         semicolon.
3432
3433 1998-04-29 12:11  Ulrich Drepper  <drepper@cygnus.com>
3434
3435         * wcsmbs/mbsnrtowcs.c: Remove variable to pass to conversion function
3436         by letting the later modify the variable computing the total directly.
3437         * wcsmbs/mbsrtowcs.c: Likewise.
3438         * wcsmbs/wcsnrtombs.c: Likewise.
3439         * wcsmbs/wcsrtombs.c: Likewise.
3440
3441         * wcsmbs/btowc.c (converted): Rename variable to dummy to make clear
3442         it is not used.
3443         * wcsmbs/wctoc.c: Likewise.
3444
3445         * wcsmbs/mbsrtowcs.c: Optimize a bit more.
3446         * wcsmbs/wcsrtombs.c: Likewise.
3447
3448         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add SIGCLD definition.
3449
3450 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
3451
3452         * iconv/skeleton.c: Correct counting of actually converted
3453         characters.
3454
3455         * intl/localealias.c (read_alias_file): Use unsigned char for
3456         local variables.  Remove unused variable tp.
3457         * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
3458         for type of codeset.  For loosing Solaris systems.
3459         * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
3460         * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
3461         len if not needed.
3462         Patches by Jim Meyering.
3463
3464         * stdio-common/vfprintf.c [%S]: Don't clear mbstate twice;
3465         wcsrtombs must put it into initial state.
3466
3467 1998-04-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3468
3469         * iconv/gconv_simple.c: Fix endian bug.  Don't put side effects in
3470         argument of bswap_XX macro.
3471
3472 1998-04-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3473
3474         * iconvdata/Makefile (EBCDIC-DK-NO-A-routines): Fix typo in
3475         variable name.
3476
3477 1998-04-28  Ulrich Drepper  <drepper@cygnus.com>
3478
3479         * sysdeps/unix/sysv/linux/semctl.c (semctl): Define own union
3480         semun and use stdarg macros to get the value.
3481         * sysdeps/generic/semctl.c: Don't use union semun.
3482
3483         * sysvipc/sys/sem.h: Don't use union semun in semctl prototype.
3484
3485         * string/basename.c [!_LIBC]: Define function as gnu_basename.
3486
3487         * posix/getopt.c [!__GNU_LIBRARY__]: Include string.h or
3488         strings.h.
3489
3490         * stdlib/grouping.h: Accept ungrouped numbers even if locale
3491         defines grouping.
3492
3493         * intl/hash-string.h: Don't include values.h.
3494
3495         * inet/Makefile (tests): Add tst-ether_aton.
3496         * inet/tst-ether_aton.c: New file.
3497
3498         * inet/ether_aton_r.c (ether_aton_r): Preserve high-nibble value
3499         in hex conversion.
3500         * inet/ether_aton.c (ether_aton): Declare result variable static.
3501         Reported by ahyung@unixg.ubc.ca.
3502
3503         * sysdeps/unix/sysv/linux/bits/sem.h: Don't define union semun.
3504         Define macro _SEM_SEMUN_UNDEFINED instead.
3505         Reported by Dirk Laessig <d.laessig@tu-bs.de>.
3506
3507         * stdio-common/tst-wc-printf.c: New file.  Test for %S and %C format.
3508         * stdio-common/Makefile (tests): Add tst-wc-printf.
3509
3510 1998-04-28 16:32  Philip Blundell  <philb@gnu.org>
3511
3512         * manual/stdio.texi (Variable Arguments Output): Correct variable
3513         name.  Patch from Ewan Mellor <em@nexus.co.uk>
3514
3515 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
3516
3517         * intl/dcgettext.c: Remove unneeded definition of
3518         internal_function.
3519
3520 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3521
3522         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use this as target
3523         instead of do-iconv-test.
3524         ($(objpfx)gconv-modules): Define rule only if objpfx is not
3525         empty.
3526
3527 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3528
3529         * string/string.h: Fix feature test.
3530
3531 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3532
3533         * iconvdata/iso646.c (BODY): Don't use character constants that
3534         depend on signedness of char.
3535
3536 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
3537
3538         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdirs)=misc]
3539         (sysdep_routines): Add s_pread64 and s_pwrite64.
3540
3541 1998-04-27 09:54  Ulrich Drepper  <drepper@cygnus.com>
3542
3543         * iconvdata/Makefile (distribute): Remove generated .h files.
3544         * iconvdata/koi8-r.h: Removed.
3545         * iconvdata/latin-greek-1.h: Removed.
3546         * iconvdata/latin-greek.h: Removed.
3547
3548         * iconvdata/testdata/CP1258..UTF8: New iconv test source.
3549         * iconvdata/KOI-8: Likewise.
3550         * iconvdata/KOI-8..UTF8: Likewise.
3551         * iconvdata/KOI8-R: Likewise.
3552         * iconvdata/KOI8-R..UTF8: Likewise.
3553
3554 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3555
3556         * streams/Makefile (headers): Add sys/stropts.h.
3557         * streams/sys/stropts.h: New file.
3558
3559 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3560
3561         * sysdeps/unix/sysv/linux/ttyname.c,
3562         sysdeps/unix/sysv/linux/ttyname_r.c: New files, like
3563         sysdeps/posix/ttyname*.c, but look in /dev/pts first.
3564
3565 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3566
3567         * sysdeps/unix/sysv/linux/ptsname.c: Fix off-by-one bug in second
3568         argument of _itoa_word.
3569
3570 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3571
3572         * sysdeps/unix/sysv/linux/syscalls.list (s_getcwd, s_getdents,
3573         s_pread64, s_pwrite64, s_reboot, s_sigpending, s_sigprocmask): Set
3574         caller to getcwd, getdents, pread64, pwrite64, reboot, sigpending,
3575         sigprocmask, resp., instead of EXTRA.
3576
3577         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3578         s_pread64 and s_pwrite64.
3579
3580 1998-04-26 18:44  Ulrich Drepper  <drepper@cygnus.com>
3581
3582         * iconvdata/Makefile: Correct rules to generate gap table.
3583         * iconvdata/gap.pl: Simplify.
3584
3585         * iconvdata/TESTS: Name new tests.
3586         * iconvdata/testdata/CP1250: New file.
3587         * iconvdata/testdata/CP1250..UTF8: New file.
3588         * iconvdata/testdata/CP1251: New file.
3589         * iconvdata/testdata/CP1251..UTF8: New file.
3590         * iconvdata/testdata/CP1252: New file.
3591         * iconvdata/testdata/CP1252..UTF8: New file.
3592         * iconvdata/testdata/CP1253: New file.
3593         * iconvdata/testdata/CP1253..UTF8: New file.
3594         * iconvdata/testdata/CP1254: New file.
3595         * iconvdata/testdata/CP1254..UTF8: New file.
3596         * iconvdata/testdata/CP1255: New file.
3597         * iconvdata/testdata/CP1255..UTF8: New file.
3598         * iconvdata/testdata/CP1256: New file.
3599         * iconvdata/testdata/CP1256..UTF8: New file.
3600         * iconvdata/testdata/CP1257: New file.
3601         * iconvdata/testdata/CP1257..UTF8: New file.
3602
3603 1998-04-26  Ulrich Drepper  <drepper@cygnus.com>
3604
3605         * iconvdata/Makefile: Add rules for ISO-2022-KR.
3606         * iconvdata/iso-2022-kr.c: New file.
3607
3608         * iconvdata/gconv-modules: Add entry for ISO-2022-JP, ISO-2022-JP-2,
3609         and ISO-2022-KR.
3610
3611 1998-04-25 18:39  Ulrich Drepper  <drepper@cygnus.com>
3612
3613         * iconvdata/Makefile: Use gap method for iso8859-5, iso8859-7,
3614         iso8859-8 and iso8859-10.
3615         * iconvdata/iso8859-5.c: Change to use gap method.
3616         * iconvdata/iso8859-7.c: Likewise.
3617         * iconvdata/iso8859-8.c: Likewise.
3618         * iconvdata/iso8859-10.c: Likewise.
3619
3620         * iconvdata/Makefile: Add rules for ISO-2022-JP module.
3621         * iconv/skeleton.c: Allow END_LOOP do be defined and use it at the
3622         end of the loop.
3623         * iconvdata/iso-2022-jp.c: New file.
3624
3625         * iconvdata/ksc5601.c: Don't use uint16_t to represent byte sequence.
3626         * iconvdata/ksc5601.h: Unify function interfaces.
3627         * iconvdata/euckr.c: Adapt for changed ksc5601.h interface.
3628         * iconvdata/uhc.c: Likewise.
3629
3630         * iconvdata/gb2312.h: Use correct types.
3631
3632         * iconvdata/iso646.c (gconv_open): Correctly initialize the character
3633         size elements of data.
3634
3635 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3636
3637         * string/tst-svc.expect: Adapt for change in .input.
3638         * string/tst-svc.input: More tests.
3639
3640 1998-04-24 17:15  Ulrich Drepper  <drepper@cygnus.com>
3641
3642         * iconvdata/Makefile: Add rules for new modules.
3643         * iconvdata/gconv-modules: Likewise.
3644         * iconvdata/cp737.c: New file.
3645         * iconvdata/cp737.h: New file.
3646         * iconvdata/cp775.c: New file.
3647         * iconvdata/cp775.h: New file.
3648         * iconvdata/cp874.c: New file.
3649         * iconvdata/cp874.h: New file.
3650
3651 1998-04-24 16:30  Ulrich Drepper  <drepper@cygnus.com>
3652
3653         * iconvdata/Makefile: Create target directory before generating
3654         headers.
3655
3656 1998-04-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3657
3658         * misc/sys/cdefs.h (__REDIRECT): Handle systems with non-empty
3659         __USER_LABEL_PREFIX__.
3660         (__ASMNAME, __ASMNAME2): New macros.
3661
3662 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3663
3664         * elf/dl-load.c: Include sys/param.h for MAX.
3665
3666 1998-04-24 21:44  Richard Henderson  <rth@cygnus.com>
3667
3668         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Make
3669         __ftruncate the strong symbol, and add weak alias.
3670         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3671
3672 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3673
3674         * termios/cfsetspeed.c: Make code cleaner and add missing const.
3675         Patch by Joe Keane <jgk@jgk.org>.
3676
3677         * inet/rcmd.c (__ivaliduser): Check buf for being NULL before
3678         free()ing.
3679
3680 1998-04-24 13:56  Ulrich Drepper  <drepper@cygnus.com>
3681
3682         * sysdeps/generic/bits/socket.h: Add #defines for enum values.
3683         Patch by Thomas Bushnell, n/BSG.
3684
3685 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3686
3687         * inet/rcmd.c (iruserok): Initialize hostf variable to NULL.
3688
3689 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3690
3691         * iconvdata/Makefile: Put generated headers in build directory.
3692
3693 1998-04-23 22:43  Ulrich Drepper  <drepper@cygnus.com>
3694
3695         * elf/dl-load.c (fillin_rpath): Handle empty element returned by
3696         strsep as current directory.
3697
3698         * iconv/gconv_builtin.h: Add aliases unicode and unicodebig for
3699         Java.  Add definitions for unicodelittle implementation.
3700         * iconv/gconv_int.h: Add declaration for unicodelittle functions.
3701         * iconv/gconv_simple.c: Define unicodelittle functions.
3702
3703         * iconv/iconv_prog.c: Make program print information about position
3704         of illegal character in input.
3705
3706         * iconv/skeleton.c: Use __strcasecmp instead of __strcasestr for
3707         comparison of charset name.
3708         * iconvdata/big5.c (CHARSET_NAME): Adapt for this.
3709         * iconvdata/ebcdic-at-de-a.c: Likewise.
3710         * iconvdata/ebcdic-at-de.c: Likewise.
3711         * iconvdata/ebcdic-ca-fr.c: Likewise.
3712         * iconvdata/euccn.c: Likewise.
3713         * iconvdata/eucjp.c: Likewise.
3714         * iconvdata/euckr.c: Likewise.
3715         * iconvdata/euctw.c: Likewise.
3716         * iconvdata/hp-roman8.c: Likewise.
3717         * iconvdata/iso6937.c: Likewise.
3718         * iconvdata/iso8859-1.c: Likewise.
3719         * iconvdata/iso8859-10.c: Likewise.
3720         * iconvdata/iso8859-2.c: Likewise.
3721         * iconvdata/iso8859-3.c: Likewise.
3722         * iconvdata/iso8859-4.c: Likewise.
3723         * iconvdata/iso8859-5.c: Likewise.
3724         * iconvdata/iso8859-6.c: Likewise.
3725         * iconvdata/iso8859-7.c: Likewise.
3726         * iconvdata/iso8859-8.c: Likewise.
3727         * iconvdata/iso8859-9.c: Likewise.
3728         * iconvdata/johab.c: Likewise.
3729         * iconvdata/koi-8.c: Likewise.
3730         * iconvdata/koi8-r.c: Likewise.
3731         * iconvdata/latin-greek-1.c: Likewise.
3732         * iconvdata/latin-greek.c: Likewise.
3733         * iconvdata/sjis.c: Likewise.
3734         * iconvdata/t61.c: Likewise.
3735         * iconvdata/uhc.c: Likewise.
3736
3737         * iconvdata/iso646.c: Add support for more ISO 646 variants.
3738         * iconvdata/TESTS: Add tests for ISO646 module.
3739         * iconvdata/gconv-modules: Add new modules.
3740         * iconvdata/testdate/CSA_Z243.4-1985-1: New tests for ISO646 module.
3741         * iconvdata/testdate/CSA_Z243.4-1985-1..UCS2: Likewise.
3742         * iconvdata/testdate/CSA_Z243.4-1985-2: Likewise.
3743         * iconvdata/testdate/CSA_Z243.4-1985-2..UCS4: Likewise.
3744         * iconvdata/testdate/DIN_66003: Likewise.
3745         * iconvdata/testdate/DIN_66003..UTF8: Likewise.
3746         * iconvdata/testdate/DS_2089: Likewise.
3747         * iconvdata/testdate/DS_2089..UTF8: Likewise.
3748         * iconvdata/testdate/ES: Likewise.
3749         * iconvdata/testdate/ES..UTF8: Likewise.
3750         * iconvdata/testdate/ES2: Likewise.
3751         * iconvdata/testdate/ES2..UTF8: Likewise.
3752         * iconvdata/testdate/GB_1988-80: Likewise.
3753         * iconvdata/testdate/GB_1988-80..UTF8: Likewise.
3754         * iconvdata/testdate/IT: Likewise.
3755         * iconvdata/testdate/IT..UTF8: Likewise.
3756         * iconvdata/testdate/JIS_C6220-1969-RO: Likewise.
3757         * iconvdata/testdate/JIS_C6220-1969-RO..UTF8: Likewise.
3758         * iconvdata/testdate/JIS_C6229-1984-B: Likewise.
3759         * iconvdata/testdate/JIS_C6229-1984-B..UTF8: Likewise.
3760         * iconvdata/testdate/JUS_I.B1.002: Likewise.
3761         * iconvdata/testdate/JUS_I.B1.002..UTF8: Likewise.
3762         * iconvdata/testdate/KSC5636: Likewise.
3763         * iconvdata/testdate/KSC5636..UTF8: Likewise.
3764         * iconvdata/testdate/MSZ_7795.3: Likewise.
3765         * iconvdata/testdate/MSZ_7795.3..UTF8: Likewise.
3766         * iconvdata/testdate/NC_NC00-10: Likewise.
3767         * iconvdata/testdate/NC_NC00-10..UTF8: Likewise.
3768         * iconvdata/testdate/NF_Z_62-010: Likewise.
3769         * iconvdata/testdate/NF_Z_62-010..UTF8: Likewise.
3770         * iconvdata/testdate/NF_Z_62-010_1973: Likewise.
3771         * iconvdata/testdate/NF_Z_62-010_1973..UTF8: Likewise.
3772         * iconvdata/testdate/NS_4551-1: Likewise.
3773         * iconvdata/testdate/NS_4551-1..UTF8: Likewise.
3774         * iconvdata/testdate/NS_4551-2: Likewise.
3775         * iconvdata/testdate/NS_4551-2..UTF8: Likewise.
3776         * iconvdata/testdate/PT: Likewise.
3777         * iconvdata/testdate/PT..UTF8: Likewise.
3778         * iconvdata/testdate/PT2: Likewise.
3779         * iconvdata/testdate/PT2..UTF8: Likewise.
3780         * iconvdata/testdate/SEN_850200_B: Likewise.
3781         * iconvdata/testdate/SEN_850200_B..UTF8: Likewise.
3782         * iconvdata/testdate/SEN_850200_C: Likewise.
3783         * iconvdata/testdate/SEN_850200_C..UTF8: Likewise.
3784
3785         * iconvdata/cns11643.h: Use uint32_t instead of wchar_t.
3786         * iconvdata/cns11643l1.h: Likewise.
3787         * iconvdata/latin-greek-1.h: Likewise.
3788         * iconvdata/latin-greek.h: Likewise.
3789         * iconvdata/koi8-r.h: Likewise.
3790         * iconvdata/jis0212.h: Likewise.
3791         * iconvdata/gb2312.h: Likewise.
3792         * iconvdata/ksc5601.h: Likewise.
3793
3794         * iconvdata/8bit-gap.c: Use 32 bit type for idx element of struct gap.
3795
3796         * iconvdata/Makefile: Add rules for lots of more modules.
3797         * iconvdata/cp1250.c: New file.
3798         * iconvdata/cp1251.c: New file.
3799         * iconvdata/cp1252.c: New file.
3800         * iconvdata/cp1253.c: New file.
3801         * iconvdata/cp1254.c: New file.
3802         * iconvdata/cp1255.c: New file.
3803         * iconvdata/cp1256.c: New file.
3804         * iconvdata/cp1257.c: New file.
3805         * iconvdata/ebcdic-dk-no-a.c: New file.
3806         * iconvdata/ebcdic-dk-no.c: New file.
3807         * iconvdata/ebcdic-es-a.c: New file.
3808         * iconvdata/ebcdic-es-s.c: New file.
3809         * iconvdata/ebcdic-es.c: New file.
3810         * iconvdata/ebcdic-fi-se-a.c: New file.
3811         * iconvdata/ebcdic-fi-se.c: New file.
3812         * iconvdata/ebcdic-fr.c: New file.
3813         * iconvdata/ebcdic-is-friss.c: New file.
3814         * iconvdata/ebcdic-it.c: New file.
3815         * iconvdata/ebcdic-pt.c: New file.
3816         * iconvdata/ebcdic-uk.c: New file.
3817         * iconvdata/ebcdic-us.c: New file.
3818         * iconvdata/ibm037.c: New file.
3819         * iconvdata/ibm038.c: New file.
3820         * iconvdata/ibm1004.c: New file.
3821         * iconvdata/ibm1026.c: New file.
3822         * iconvdata/ibm1047.c: New file.
3823         * iconvdata/ibm256.c: New file.
3824         * iconvdata/ibm273.c: New file.
3825         * iconvdata/ibm274.c: New file.
3826         * iconvdata/ibm275.c: New file.
3827         * iconvdata/ibm277.c: New file.
3828         * iconvdata/ibm278.c: New file.
3829         * iconvdata/ibm280.c: New file.
3830         * iconvdata/ibm281.c: New file.
3831         * iconvdata/ibm284.c: New file.
3832         * iconvdata/ibm285.c: New file.
3833         * iconvdata/ibm290.c: New file.
3834         * iconvdata/ibm297.c: New file.
3835         * iconvdata/ibm420.c: New file.
3836         * iconvdata/ibm423.c: New file.
3837         * iconvdata/ibm424.c: New file.
3838         * iconvdata/ibm437.c: New file.
3839         * iconvdata/ibm500.c: New file.
3840         * iconvdata/ibm850.c: New file.
3841         * iconvdata/ibm851.c: New file.
3842         * iconvdata/ibm852.c: New file.
3843         * iconvdata/ibm855.c: New file.
3844         * iconvdata/ibm857.c: New file.
3845         * iconvdata/ibm860.c: New file.
3846         * iconvdata/ibm861.c: New file.
3847         * iconvdata/ibm862.c: New file.
3848         * iconvdata/ibm863.c: New file.
3849         * iconvdata/ibm864.c: New file.
3850         * iconvdata/ibm865.c: New file.
3851         * iconvdata/ibm868.c: New file.
3852         * iconvdata/ibm869.c: New file.
3853         * iconvdata/ibm870.c: New file.
3854         * iconvdata/ibm871.c: New file.
3855         * iconvdata/ibm875.c: New file.
3856         * iconvdata/ibm880.c: New file.
3857         * iconvdata/ibm891.c: New file.
3858         * iconvdata/ibm903.c: New file.
3859         * iconvdata/ibm904.c: New file.
3860         * iconvdata/ibm905.c: New file.
3861         * iconvdata/ibm918.c: New file.
3862
3863         * locale/iso-4217.def: Update.
3864         * localedata/locales/pt_BR: Correct.  Patches by Andreas Jaeger.
3865
3866         * stdio-common/vfscanf.h: Recognize nan and inf in floating-point
3867         formats.
3868
3869 1998-04-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3870
3871         * elf/dl-load.c (_dl_init_paths): ';' is also a terminal for
3872         LD_LIBRARY_PATH.
3873
3874 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
3875
3876         * Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'.
3877         * Makefile: Likewise.
3878         * posix/Makefile: Likewise.
3879         * sysdeps/mach/hurd/Makefile: Likewise.
3880
3881 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
3882
3883         * sysdeps/mach/hurd/bits/dirent.h: New file.
3884         * sysdeps/mach/hurd/readdir64.c: New file.
3885         * sysdeps/mach/hurd/readdir64_r.c: New file.
3886
3887 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
3888
3889         * stdio/stdio.h (vasprintf, __asprintf, asprintf, vdprintf,
3890         dprintf): Synchronize declarations with libio/stdio.h.
3891
3892 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
3893
3894         * elf/dlerror.c (dlerror): Don't assume that
3895         __libc_internal_tsd_get is defined.  __libc_getspecific is already
3896         well-protected, so just use it directly.
3897
3898 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
3899
3900         * io/ftw.h (ftw): Fix typo.
3901
3902 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
3903
3904         * sysdeps/gnu/utmp_file.c: Fix typo.
3905
3906 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3907
3908         * iconvdata/run-iconv-test.sh: Fix more portability bugs.  When
3909         one part of a test fails move on to the next test.
3910
3911 1998-04-24  5:45  Richard Henderson  <rth@cygnus.com>
3912
3913         * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
3914
3915 1998-04-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3916
3917         * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Compare addresses
3918         as pointers, not signed integers.
3919
3920 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3921
3922         * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
3923
3924 1998-04-21 21:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3925
3926         * misc/sys/cdefs.h: New macro __REDIRECT to support changing the
3927         asm symbol name of functions.
3928         * include/features.h: Kill redundant test.
3929
3930         * dirent/dirent.h: Use new macros to implement __USE_FILE_OFFSET64.
3931         * io/ftw.h: Likewise.
3932         * io/sys/stat.h: Likewise.
3933         * io/sys/statfs.h: Likewise.
3934         * io/sys/statvfs.h: Likewise.
3935         * libio/stdio.h: Likewise.
3936         * resource/sys/resource.h: Likewise.
3937         * rt/aio.h: Likewise.
3938
3939         * posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and
3940          __FAVOR_BSD.
3941         * signal/signal.h: Use new macros for BSD vs. SysV signal().
3942
3943         * misc/Makefile: Drop bsd-compat.c.  Make libbsd-compat.a
3944         a dummy library.
3945         * misc/bsd-compat.c: Removed.
3946
3947 1998-04-21 20:32  Ulrich Drepper  <drepper@cygnus.com>
3948
3949         * iconv/loop.c: Allow EXTRA_LOOP_DECLS be defined and use it in
3950         function declaration.
3951         * iconv/skeleton.c: Allow PREPARE_LOOP and EXTRA_LOOP_ARGS be defined
3952         and use them in conversion function.
3953         * iconvdata/Makefile (modules): Re-add ISO6446.
3954         * iconvdata/TEST: Add tests for ASCII variants.
3955         * iconvdata/iso646.c: Rewrite to use loop.c and skeleton.c.
3956         * iconvdata/testdata/ANSI_X3.4-1968: New file.
3957         * iconvdata/testdata/BS_4730: New file.
3958         * iconvdata/testdata/BS_4730..UTF8: New file.
3959
3960 1998-04-21 19:05  Ulrich Drepper  <drepper@cygnus.com>
3961
3962         * iconv/gconv.h (struct gconv_step): Add element stateful.
3963         * iconv/gconv_builtin.c (__gconv_builtin_trans): Initialize stateful
3964         to zero for all internal conversions.
3965         * iconv/skeleton.c: Initialize stateful depending on whether or not
3966         RESET_STATE is defined to one or zero respectively.
3967         * stdlib/mblen.c: Use stateful element of currently selected
3968         converter for result if S is NULL.
3969         * stdlib/mbtowc.c: Likewise.
3970         * stdlib/wctomb.c: Likewise.
3971
3972 1998-04-21 18:00  Ulrich Drepper  <drepper@cygnus.com>
3973
3974         * iconv/gconv.c (__gconv): Remove bogus input buffer size computation.
3975
3976         * iconv/gconv_open.c (__gconv_open): Initialize outbufend element.
3977
3978         * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Don't use
3979         character in comparison with uint32_t.
3980         (__gconv_transform_internal_utf8): Specify MAX_NEEDED_TO.
3981         (__gconv_transform_utf8_internal): Specify MAX_NEEDED_FROM.
3982         Optimize BODY a bit.
3983
3984         * iconv/loop.c: Require MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT to
3985         be defined.
3986
3987         * iconv/skeleton.c: Also reset converted counter in case of an error.
3988         Call reset function using correct value for output buffer start.
3989
3990         * iconvdata/Makefile: Re-enable tests.
3991
3992         * iconvdata/iso8859-1.c: Swap MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT
3993         value for to-conversion.
3994
3995         * iconvdata/TESTS: Add new third column.
3996         * iconvdata/run-iconv-test.sh: Add support for charsets which are
3997         not ASCII based.
3998         * iconvdata/testdata/suntzus: New file.
3999
4000         * elf/dl-minimal.c (__strtol_internal): Increment pointer to string
4001         while reading.  Correctly used base.  Little optimization.
4002         (__strtoul_internal): Likewise.
4003
4004         * elf/rtld.c (dl_main): Test to avoid duplicate call of _dl_init_paths
4005         was wrong.  Use explicit variable.
4006
4007 1998-04-20 23:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4008
4009         * configure.in: Check for awk.
4010         * config.make.in: Add AWK to be substituted.
4011
4012         * manual/xtract-typefun.awk: Rewrite to eliminate gawk extensions.
4013         * manual/users.texi: Fix typo exposed by above rewrite.
4014
4015         * Makefile: Invoke awk using AWK variable.
4016         * csu/Makefile: Likewise.
4017         * elf/Makefile: Likewise.
4018         * mach/Makefile: Likewise.
4019         * manual/Makefile: Likewise.
4020         * sysdeps/gnu/Makefile: Likewise.
4021         * sysdeps/mach/hurd/Makefile: Likewise.
4022         * sysdeps/unix/Makefile: Likewise.
4023         * timezone/Makefile: Likewise.
4024
4025 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
4026
4027         * sysdeps/gnu/errlist.awk (ERR_REMAP): Implement error code to
4028         array index translation.
4029         (SYS_ERRLIST_ALIAS, SYS_NERR_ALIAS): Make weak aliases only if
4030         these are defined.
4031
4032         * sysdeps/mach/hurd/Dist: Add errlist.c to distribution.
4033
4034         * sysdeps/mach/hurd/errlist.c: New file.
4035         (ERR_TRANSLATE): Map Hurd error codes into errlist indices.
4036         (_hurd_errlist): The Hurd error list doesn't have Unix sys_errlist
4037         semantics, so rename it.
4038
4039 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4040
4041         * iconvdata/run-iconv-test.sh: Make portable.  Always test all
4042         conversions.
4043
4044 1998-04-21 12:30  H.J. Lu  <hjl@gnu.org>
4045
4046         * wcsmbs/wcsrtombs.c (__wcsrtombs): Initialize result to 0.
4047         * wcsmbs/wcsnrtombs.c: Likewise.
4048
4049 1998-04-21  Ulrich Drepper  <drepper@cygnus.com>
4050
4051         * sysdeps/generic/dl-sysdep.c: Handle _dl_hwcap correctly.
4052
4053         * wcsmbs/btowc.c (__btowc): Declare inptr as const char *.
4054
4055         * time/strftime.c (my_strftime): Initialize pad variable in
4056         declaration.
4057
4058         * iconvdata/big5.c: Don't use character constants in comparisons
4059         with unsigned value.
4060
4061 1998-04-20 18:00  Ulrich Drepper  <drepper@cygnus.com>
4062
4063         * libc.map: Add __dgettext to GLIBC_2.0 and __libc_longjmp, and
4064         __libc_siglongjmp to GLIBC_2.1.
4065
4066         * elf/dl-minimal.c (__assert_perror_fail): Don't use strerror, use
4067         __strerror_r.
4068
4069         * iconv/Makefile: Don't run tests now.
4070
4071         * iconv/iconv_prog.c (process_block): If loop is repeated, call iconv
4072         with correct output buffer.
4073
4074         Major rewrite of the low-level gconv functionality.
4075         * iconv/gconv.c: Rewritten.
4076         * iconv/gconv.h: Likewise.
4077         * iconv/gconv_builtin.c: Likewise.
4078         * iconv/gconv_builtin.h: Likewise.
4079         * iconv/gconv_conf.c: Likewise.
4080         * iconv/gconv_int.h: Likewise.
4081         * iconv/gconv_open.c: Likewise.
4082         * iconv/gconv_simple.c: Likewise.
4083         * iconv/iconv.c: Likewise.
4084         * iconvdata/8bit-gap.c: Likewise.
4085         * iconvdata/8bit-generic.c: Likewise.
4086         * iconvdata/Makefile: Likewise.
4087         * iconvdata/big5.c: Likewise.
4088         * iconvdata/cns11643.c: Likewise.
4089         * iconvdata/cns11643.h: Likewise.
4090         * iconvdata/cns11643l1.c: Likewise.
4091         * iconvdata/cns11643l1.h: Likewise.
4092         * iconvdata/ebcdic-at-de-a.c: Likewise.
4093         * iconvdata/ebcdic-at-de.c: Likewise.
4094         * iconvdata/ebcdic-ca-fr.c: Likewise.
4095         * iconvdata/euccn.c: Likewise.
4096         * iconvdata/eucjp.c: Likewise.
4097         * iconvdata/euckr.c: Likewise.
4098         * iconvdata/euctw.c: Likewise.
4099         * iconvdata/gb2312.c: Likewise.
4100         * iconvdata/gb2312.h: Likewise.
4101         * iconvdata/hp-roman8.c: Likewise.
4102         * iconvdata/iso646.c: Likewise.
4103         * iconvdata/iso6937.c: Likewise.
4104         * iconvdata/iso8859-1.c: Likewise.
4105         * iconvdata/iso8859-10.c: Likewise.
4106         * iconvdata/iso8859-2.c: Likewise.
4107         * iconvdata/iso8859-3.c: Likewise.
4108         * iconvdata/iso8859-4.c: Likewise.
4109         * iconvdata/iso8859-5.c: Likewise.
4110         * iconvdata/iso8859-6.c: Likewise.
4111         * iconvdata/iso8859-7.c: Likewise.
4112         * iconvdata/iso8859-8.c: Likewise.
4113         * iconvdata/iso8859-9.c: Likewise.
4114         * iconvdata/jis0201.c: Likewise.
4115         * iconvdata/jis0201.h: Likewise.
4116         * iconvdata/jis0208.c: Likewise.
4117         * iconvdata/jis0208.h: Likewise.
4118         * iconvdata/jis0212.c: Likewise.
4119         * iconvdata/jis0212.h: Likewise.
4120         * iconvdata/johab.c: Likewise.
4121         * iconvdata/koi-8.c: Likewise.
4122         * iconvdata/koi8-r.c: Likewise.
4123         * iconvdata/ksc5601.c: Likewise.
4124         * iconvdata/ksc5601.h: Likewise.
4125         * iconvdata/latin-greek-1.c: Likewise.
4126         * iconvdata/latin-greek.c: Likewise.
4127         * iconvdata/run-iconv-test.sh: Likewise.
4128         * iconvdata/sjis.c: Likewise.
4129         * iconvdata/t61.c: Likewise.
4130         * iconvdata/uhc.c: Likewise.
4131         * wcsmbs/btowc.c: Likewise.
4132         * wcsmbs/mbrtowc.c: Likewise.
4133         * wcsmbs/mbsnrtowcs.c: Likewise.
4134         * wcsmbs/mbsrtowcs.c: Likewise.
4135         * wcsmbs/wcrtomb.c: Likewise.
4136         * wcsmbs/wcsmbsload.c: Likewise.
4137         * wcsmbs/wcsnrtombs.c: Likewise.
4138         * wcsmbs/wcsrtombs.c: Likewise.
4139         * wcsmbs/wctob.c: Likewise.
4140         * iconv/loop.c: New file.
4141         * iconv/skeleton.c: New file.
4142
4143         * stdlib/mblen.c: Handle empty input string correctly.
4144         * stdlib/mbtowc.c: Likewise.
4145
4146         * posix/getopt.c: Various cleanups.
4147
4148         * sysdeps/arm/bits/setjmp.h: Add copyright text.
4149         * sysdeps/i386/bits/setjmp.h: Likewise.
4150         * sysdeps/m68k/bits/setjmp.h: Likewise.
4151         * sysdeps/powerpc/bits/setjmp.h: Likewise.
4152         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
4153
4154         * sysdeps/generic/longjmp.c: Rename function to __libc_siglongjmp
4155         and make longjmp weak alias.
4156
4157 1998-04-18 20:29  Philip Blundell  <Philip.Blundell@pobox.com>
4158
4159         * iconv/Makefile (routines): Only include gconv_dl if building for
4160         an ELF system - dynamic linking is not available on a.out.
4161         (CFLAGS-gconv_conf.c): Define STATIC_GCONV if omitting gconv_dl
4162         due to above check.
4163         * iconv/gconv_db.c: If STATIC_GCONV defined, don't try to call
4164         routines from gconv_dl.
4165
4166 1998-04-17  Gordon Matzigkeit  <gord@profitpress.com>
4167
4168         * csu/init.c (_IO_stdin_used): Protect with USE_IN_LIBIO so that
4169         we can compile without libio.
4170
4171 1998-04-20 16:28  Ulrich Drepper  <drepper@cygnus.com>
4172
4173         * sysdeps/mach/hurd/Subdirs: Remove login.
4174
4175 1998-04-11  Gordon Matzigkeit  <gord@profitpress.com>
4176
4177         * db2/compat.h: Include <errno.h>, to make sure we get the
4178         definition of EFTYPE before we define it ourselves.
4179
4180 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
4181
4182         * sysdeps/generic/bits/socket.h: Protect against multiple inclusion.
4183         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
4184         Fix typo to allow inclusion from sys/ioctl.h again.
4185
4186 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4187
4188         * iconvdata/*.[ch]: Clean up namespace.  Optimize character lookup.
4189
4190 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4191
4192         * libc.map: Export __strerror_r.  Remove _strerror_internal.
4193
4194 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4195
4196         * sysdeps/generic/strcasestr.c: Undefine strcasestr, not strstr.
4197         Also undefine __strcasestr.
4198
4199 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4200
4201         * posix/regex.c: Rename __re_max_failures back to re_max_failures,
4202         aliases do not work with global variables due to copy relocations.
4203
4204 1998-04-20 15:12  Ulrich Drepper  <drepper@cygnus.com>
4205
4206         * manual/creature.texi: Fix type.  Patch by Andreas Schwab.
4207
4208 1998-04-20 13:47  Ulrich Drepper  <drepper@cygnus.com>
4209
4210         * signal/sighold.c: Include stddef.h for NULL definition.
4211         * signal/sigrelse.c: Likewise.
4212         * sysdeps/posix/sigignore.c: Likewise.
4213         * sysdeps/posix/sigset.c: Likewise.
4214         * sysdeps/posix/waitid.c: Likewise.
4215         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
4216         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Likewise.
4217         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4218         * wcsmbs/mbsrtowcs.c: Include stdlib.h for MB_CUR_MAX.
4219         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
4220
4221 1998-04-13  Mark Kettenis  <kettenis@phys.uva.nl>
4222
4223         * login/Makefile (headers): Remove utmpx.h and bits/utmpx.h.
4224         * login/getutent.c (getutxent): Remove alias.
4225         * login/getutent_r.c (setutxent, pututxline, endutxent):
4226         Remove aliases.
4227         * login/getutid.c (getutxid): Remove alias.
4228         * login/getutline.c (getutxline): Remove alias.
4229         * login/utmp.h: Add prototypes for __updwtmp, __getutent,
4230         __getutid, __getutline and __pututline.
4231         * login/utmpx.h: Moved to ...
4232         * sysdeps/gnu/utmpx.h: ... here.  [__USE_GNU]: Define UTMPX_FILE,
4233         UTMPX_FILENAME, WTMPX_FILE and WTMPX_FILENAME, declare utmpxname
4234         and updwtmpx.
4235         * login/updwtmp.c: Moved to ...
4236         * sysdeps/generic/updwtmp.c: ... here.  (updwtmp): Generalized by
4237         allowing file name transformation.
4238         * sysdeps/gnu/updwtmp.c: New file.  Use generic implementation with
4239         additional file name transformation.
4240         * sysdeps/unix/sysv/linux/updwtmp.c: Likewise.
4241         * login/utmp_file.c: Moved to ...
4242         * sysdeps/generic/utmp_file.c: ... here.  (setutent_file):
4243         Generalized by allowing file name transformation.  Do not
4244         print error message.  Library functions should not print them.
4245         Reported by Jim Meyering.
4246         * sysdeps/gnu/utmp_file.c: New file.  Use generic implementation
4247         with additional file name transformation.
4248         * sysdeps/unix/sysv/linux/utmp_file.c: Likewise.
4249         * sysdeps/gnu/Makefile [$(subdir)=login] (sysdep_routines): Add
4250         setutxent, getutxent, endutxent, getutxid, getutxid, getutxline,
4251         pututxline, utmpxname and updwtmpx.  (sysdep_headers): Add utmpx.h
4252         and bits/utmpx.h.
4253         * sysdeps/gnu/bits/utmpx.h [__USE_GNU] Include paths.h.
4254         (_PATH_UTMPX): Define to _PATH_UTMP.  (_PATH_WTMPX): Define to
4255         _PATH_WTMPX.  (RUN_LVL): Define only if __USE_GNU.  (ACCOUNTING):
4256         Define if __USE_GNU.
4257         * sysdeps/generic/setutxent.c: New file.
4258         * sysdeps/generic/getutxent.c: New file.
4259         * sysdeps/generic/endutxent.c: New file.
4260         * sysdeps/generic/getutxid.c: New file.
4261         * sysdeps/generic/getutxline.c: New file.
4262         * sysdeps/generic/pututxline.c: New file.
4263         * sysdeps/generic/utmpxname.c: New file.
4264         * sysdeps/generic/updwtmpx.c: New file.
4265         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP_DB): Remove.
4266         * sysdeps/generic/bits/utmpx.h: Remove.
4267
4268 1998-04-20  Ulrich Drepper  <drepper@cygnus.com>
4269
4270         * posix/wordexp-test.c (main): Initialize ifs element of ts for
4271         ~root test.
4272
4273 1998-04-17 07:53  H.J. Lu  <hjl@gnu.org>
4274
4275         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Fix a typo.
4276
4277 1998-04-17 11:32  Ulrich Drepper  <drepper@cygnus.com>
4278
4279         * libio/oldfileops.c (_IO_old_file_seekoff): Define temporary st
4280         variable using _G_stat64.
4281         * libio/fileops.c: Remove macro definition of fstat, it is in the
4282         global header.
4283         Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
4284
4285 1998-04-17  Philip Blundell  <pb@nexus.co.uk>
4286
4287         * sysdeps/arm/strlen.S: New file, based on code by Matthew Wilcox
4288         <willy@odie.barnet.ac.uk>.
4289
4290 1998-04-16  Philip Blundell  <Philip.Blundell@pobox.com>
4291
4292         * inet/netinet/in.h (IN6_IS_ADDR_MC_NODELOCAL): New macro,
4293         required by IPv6 Basic API.
4294         (IN6_IS_ADDR_MC_LINKLOCAL): Likewise.
4295         (IN6_IS_ADDR_MC_SITELOCAL): Likewise.
4296         (IN6_IS_ADDR_MC_ORGLOCAL): Likewise.
4297         (IN6_IS_ADDR_MC_GLOBAL): Likewise.
4298
4299 1998-04-15 16:41  Ulrich Drepper  <drepper@cygnus.com>
4300
4301         Don't name internal representation since it might be different from
4302         the external form (namely on little endian machines).
4303         * iconv/gconv_builtin.h: Add UCS4 support.  Change references to
4304         UCS4 into references to INTERNAL.
4305         * iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters.
4306         Add endianess support to UCS functions.  Change references to
4307         UCS4 into references to INTERNAL.
4308         * iconv/gconv_int.h: Change references to UCS4 into references to
4309         INTERNAL.
4310         * iconv/iconv_prog.c: Don't mention INTERNAL in --list output.
4311         * iconvdata/gconv-modules: Change accordingly.
4312         * wcsmbs/wcsmbsload.c: Change names to use INTERNAL.
4313
4314         * iconv/gconv_simple.c: Adjust input buffer pointer for output buffer
4315         overflow.
4316         * iconvdata/8bit-gap.c: Likewise.
4317         * iconvdata/8bit-generic.c: Likewise.
4318         * iconvdata/big5.c: Likewise.
4319         * iconvdata/euccn.c: Likewise.
4320         * iconvdata/eucjp.c: Likewise.
4321         * iconvdata/euckr.c: Likewise.
4322         * iconvdata/euctw.c: Likewise.
4323         * iconvdata/iso646.c: Likewise.
4324         * iconvdata/iso6937.c: Likewise.
4325         * iconvdata/iso8859-1.c: Likewise.
4326         * iconvdata/johab.c: Likewise.
4327         * iconvdata/sjis.c: Likewise.
4328         * iconvdata/t61.c: Likewise.
4329         * iconvdata/uhc.c: Likewise.
4330
4331         * iconvdata/8bit-gap.c: Correct access to to_ucs4 array.
4332         * iconvdata/8bit-generic.c: Likewise.
4333
4334         * iconvdata/TESTS: Add more tests.
4335
4336         * sysdeps/i386/bits/byteswap.h: Change to use "=r" when ror is used.
4337
4338 1998-04-15 11:47  Ulrich Drepper  <drepper@cygnus.com>
4339
4340         * iconvdata/Makefile: Better rules to run tests.
4341
4342         * iconvdata/testdata/ISO-8859-1..UTF8: New file.
4343         * iconvdata/testdata/ISO-8859-10: Likewise.
4344         * iconvdata/testdata/ISO-8859-10..UCS2: Likewise.
4345         * iconvdata/testdata/ISO-8859-2: Likewise.
4346         * iconvdata/testdata/ISO-8859-2..UCS4: Likewise.
4347         * iconvdata/testdata/ISO-8859-2..UTF8: Likewise.
4348         * iconvdata/testdata/ISO-8859-3: Likewise.
4349         * iconvdata/testdata/ISO-8859-4: Likewise.
4350         * iconvdata/testdata/ISO-8859-5: Likewise.
4351         * iconvdata/testdata/ISO-8859-6: Likewise.
4352         * iconvdata/testdata/ISO-8859-7: Likewise.
4353         * iconvdata/testdata/ISO-8859-8: Likewise.
4354         * iconvdata/testdata/ISO-8859-9: Likewise.
4355
4356 1998-04-15  Ulrich Drepper  <drepper@cygnus.com>
4357
4358         * iconvdata/run-iconv-test.sh: Handle $from..$t file to compare
4359         intermediate result (if available).
4360
4361         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in
4362         last change.
4363
4364         * iconvdata/Makefile: Add rules to run run-iconv-test.sh.
4365         (distribute): Add run-iconv-test.sh and testdata/*.
4366
4367         * stdlib/testmb.c (main): Simplify mbc array handling.
4368
4369 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4370
4371         * elf/dl-minimal.c (__strtol_internal): Correct range check.  Fix
4372         return value on overflow.
4373
4374 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4375
4376         * sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64
4377         bits.
4378
4379 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4380
4381         * malloc/mtrace.c (mtrace): Use standard function setvbuf instead
4382         of non-standard function setbuffer.
4383
4384 1998-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4385
4386         * stdio-common/perror.c: Include <string.h> for __strerror_r.
4387
4388 1998-04-14 23:54  Ulrich Drepper  <drepper@cygnus.com>
4389
4390         * iconvdata/Makefile: Add rules to run tests.
4391         * iconvdata/TESTS: New file.
4392         * iconvdata/run-iconv-test.sh: New file.
4393         * iconvdata/testdata/ISO-8859-1: New file.
4394
4395         * iconv/iconv_prog.c (main): Call process_block with OUTPUT stream,
4396         not stdout.
4397
4398 1998-04-14 18:22  Ulrich Drepper  <drepper@cygnus.com>
4399
4400         * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
4401         counter element of step.
4402
4403         * iconv/gconv_dl.c: Don't mark get_sym as internal function.
4404
4405         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Correct loop
4406         termination test.
4407         (__gconv_transform_ucs4_utf8): Likewise.  Remove unnecessary variable
4408         ACTUALLY.
4409         (__gconv_transform_utf8_ucs4): Correct test for empty input.
4410
4411 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
4412
4413         * Makefile: Include makeconfig before defining rule to regenerate
4414         configure files.
4415
4416         * configure.in: Remove restriction on compiling without static
4417         libs.
4418
4419 1998-04-14 16:34  Ulrich Drepper  <drepper@cygnus.com>
4420
4421         * test-skeleton.c: Provide hook for initializing code before the fork.
4422         * rt/tst-aio.c: Use PREPARE hook to make suer temp files are always
4423         removed.
4424
4425         * libio/fcloseall.c (__fcloseall): Return return value of _IO_cleanup.
4426         * libio/genops.c (_IO_cleanup): Return return value of _IO_flush_all.
4427         * libio/libioP.h: Adopt _IO_cleanup prototype.
4428
4429         * stdlib/Makefile (tests): Add test-canon2.
4430         * stdlib/test-canon2.c: New file.
4431         * stdlib/canonicalize.c (canonicalize): Allow RESOLVED parameter to
4432         be NULL.  Use __lxstat, not __lstat.  Correctly recognize long
4433         symlink sequences.
4434         (__realpath): Make real function which checks RESOLVED parameter for
4435         not being NULL.
4436
4437 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
4438
4439         * catgets/open_catalog.c (__open_catalog): Fix problems with
4440         reading non-files.  Always close file.
4441         Reported by Cristian Gafton <gafton@redhat.com>.
4442
4443         * elf/dl-minimal.c (__strtol_internal): Prevent overflow warnings.
4444
4445 1998-04-14 13:28  Ulrich Drepper  <drepper@cygnus.com>
4446
4447         * libc.map: Add various low-level I/O functions.
4448
4449 1998-04-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
4450
4451         * string/Makefile (routines): Remove strerror_r.
4452         * string/strerror_r.c: Removed.
4453         * string/strerror.c: Call __strerror_r for doing the real work.
4454         * sysdeps/generic/_strerror.c: Rename function to __strerror_r and
4455         add weak alias strerror_r.
4456         * sysdeps/mach/_strerror.c: Likewise.
4457         * assert/assert-perr.c: Use __strerror_r instead of _strerror_internal.
4458         * elf/dl-error.c (_dl_signal_error): Likewise.
4459         * elf/dl-profile.c (_dl_start_profile): Likewise.
4460         * gmon/gmon.c (write_gmon): Likewise.
4461         * stdio-common/perror.c: Likewise.
4462         * stdio-common/vfprintf.c: Likewise.
4463
4464 1998-04-10  Mark Kettenis  <kettenis@phys.uva.nl>
4465
4466         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
4467         (sysdep_headers): Add netatalk/at.h.
4468
4469 1998-04-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4470
4471         * manual/socket.texi, manual/creature.texi, manual/time.texi:
4472         Formatting fixes.
4473
4474 1998-04-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4475
4476         * posix/regex.c: Rename __re_syntax_options back to
4477         re_syntax_options, aliases do not work with global variables due
4478         to copy relocations.
4479         (regex_compile): Use syntax parameter instead of
4480         re_syntax_options.
4481
4482 1998-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4483
4484         * configure.in: Document that enable-force-install is default.
4485
4486 1998-04-13  Ulrich Drepper  <drepper@cygnus.com>
4487
4488         * sysdeps/posix/mktemp.c: Increment `value' in a way which touches
4489         all needed 36 bits.
4490         * sysdeps/posix/mkstemp.c: Likewise.
4491
4492 1998-04-13 17:40  Ulrich Drepper  <drepper@cygnus.com>
4493
4494         * iconvdata/8bit-gap.c: Simplify step data handling.
4495         * iconvdata/8bit-generic.c: Likewise.
4496         * iconvdata/big5.c: Likewise.
4497         * iconvdata/euccn.c: Likewise.
4498         * iconvdata/eucjp.c: Likewise.
4499         * iconvdata/euckr.c: Likewise.
4500         * iconvdata/euctw.c: Likewise.
4501         * iconvdata/iso6937.c: Likewise.
4502         * iconvdata/iso8859-1.c: Likewise.
4503         * iconvdata/jis0208.h: Likewise.
4504         * iconvdata/jis0212.c: Likewise.
4505         * iconvdata/jis0212.h: Likewise.
4506         * iconvdata/johab.c: Likewise.
4507         * iconvdata/ksc5601.h: Likewise.
4508         * iconvdata/sjis.c: Likewise.
4509         * iconvdata/t61.c: Likewise.
4510         * iconvdata/uhc.c: Likewise.
4511
4512 1998-04-13 16:36  Ulrich Drepper  <drepper@cygnus.com>
4513
4514         * manual/texinfo.texi: Updated from last version.
4515
4516 1998-04-13 14:52  Ulrich Drepper  <drepper@cygnus.com>
4517
4518         * iconvdata/cns11643.c: New file.
4519         * iconvdata/cns11643.h: New file.
4520         * iconvdata/cns11643l1.c: New file.
4521         * iconvdata/cns11643l1.h: New file.
4522         * iconvdata/euctw.c: New file.
4523         * iconvdata/Makefile: Add rules for EUC-TW and CNS.
4524         * iconvdata/gconv-modules: Likewise.
4525
4526         * iconvdata/eucjp.c: Several bug fixes and improvements.
4527         * iconvdata/gb2312.h: Likewise.
4528         * iconvdata/jis0201.h: Likewise.
4529         * iconvdata/jis0208.h: Likewise.
4530         * iconvdata/jis0212.h: Likewise.
4531
4532 1998-04-13 09:11  Ulrich Drepper  <drepper@cygnus.com>
4533
4534         * iconvdata/eucjp.c: New file.
4535         * iconvdata/euccn.c: New file.
4536         * iconvdata/gb2312.h: New file.
4537         * iconvdata/gb2312.c: New file.
4538         * iconvdata/Makefile: Add rules for EUC-JP and EUC-CN.
4539         * iconvdata/gconv-modules: Likewise.
4540
4541         * iconvdata/euckr.c: Use stdint.h instead of inttypes.h.
4542
4543 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
4544
4545         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
4546         (DL_FIND_ARG_COMPONENTS): Always initialize auxv.
4547         Patch by Mark Hatle <fray@kernel.crashing.org>.
4548
4549 1998-04-12 22:47  Philip Blundell  <Philip.Blundell@pobox.com>
4550
4551         * sysdeps/unix/sysv/linux/bits/socket.h (PF_APPLETALK): Correct
4552         comment.
4553         (PF_AAL5, AF_AAL5): Rename to *_ATMPVC.
4554         (PF_ATMSVC, PF_ECONET, AF_ATMSVC, AF_ECONET): Added.
4555
4556 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
4557
4558         * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations.
4559
4560         * iconvdata/Makefile: Add rules for big5 conversion.
4561         * iconvdata/gconv-modules: Likewise.
4562         * iconvdata/big5.c: New file.
4563
4564         * time/mktime.c (TYPE_MAXIMUM): Add missing cast.
4565         Patch by Jim Meyering.
4566
4567 1998-04-11  Ulrich Drepper  <drepper@cygnus.com>
4568
4569         * rt/tst-aio.c: Add test for aio_read and lio_listio.
4570
4571         * rt/lio_listio.c: Correct total counter handling.
4572
4573         * rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements
4574         from request queue.
4575
4576         * test-skeleton.c (main): Make stdout unbuffered.  Improve message
4577         of signal on exit even more.
4578
4579         * rt/aio_suspend.c (aio_suspend): Use PTHREAD_COND_INITIALIZER
4580         instead of call to pthread_cond_init.
4581         * rt/lio_listio.c (lio_listio): Likewise.
4582         * rt/lio_listio64.c (lio_listio64): Likewise.
4583
4584         * nis/nis_findserv.c: Include sys/socket.h.
4585
4586 1998-04-11 09:33  Ulrich Drepper  <drepper@cygnus.com>
4587
4588         * Makeconfig (rtobjdir): New variable.
4589         (rpath-link): Add rtobjdir and thread directory, if available.
4590
4591         * test-skeleton.c: Add support to remove temporary files.
4592         Always define test_dir.  Improve message about expected signal.
4593
4594         * rt/Makefile (tests): Add tst-aio.
4595         Add rules for tst-aio to be linked with librt and thread library.
4596         * rt/aio_misc.c: Correct fundamental bugs.
4597         * rt/aio_suspend.c: Correct bug in test for available request.
4598         Initialize conditional variable.
4599         * rt/lio_listio.c: Initialize conditional variable.
4600         * rt/lio_listio64.c: Likewise.
4601         * rt/tst-aio.c: New file.
4602
4603         * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
4604         * sysdeps/libm-ieee754/w_gamma.c: Likewise.  Adopt for ISO C 9x.
4605         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
4606         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
4607         * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
4608         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
4609         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
4610
4611 1998-04-11 14:49  Mark Kettenis  <kettenis@landau.phys.uva.nl>
4612
4613         * posix/regex.c [_LIBC] (__re_syntax_options): Initialize to 0.
4614
4615 1998-04-10  Ulrich Drepper  <drepper@cygnus.com>
4616
4617         * elf/dl-load.c (open_path): Use correct name for test whether
4618         directory in load path exists.
4619
4620         * sysdeps/libm-ieee754/s_expm1.c: Remove variable one.
4621         * sysdeps/libm-ieee754/e_pow.c: Fix typo.
4622         Patches by Tom Rini <trini@kernel.crashing.org>.
4623
4624         * wcsmbs/wcstof_l.c: Declare ____wcstoull_l_internal.
4625         * wcsmbs/wcstod_l.c: Likewise.
4626         * wcsmbs/wcstold_l.c: Likewise.
4627
4628         * include/byteswap.h: New file.
4629
4630         * malloc/mtrace.c (mtrace): Use smaller output buffer to reduce
4631         .bss segment size.  Patch by Joe Keane <jgk@jgk.org>.
4632
4633         * inet/getnameinfo.c (getnameinfo): Change parameter to match
4634         declaration.  Patch by Richard Henderson.
4635
4636 1998-04-10 12:40  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4637
4638         * manual/process.texi (SIGCHLD example): Save errno.
4639
4640 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
4641
4642         * posix/regex.c: Define regerror really as __regerror.
4643         * posix/regex.h: Add __ protected prototypes for regcomp, regexec,
4644         regerror and regfree.
4645
4646         * stdlib/strtof_l.c: Declare ____strtoull_l_internal.
4647         * stdlib/strtod_l.c: Likewise.
4648         * stdlib/strtold_l.c: Likewise.
4649
4650         * intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros.
4651
4652         * sysdeps/i386/i486/bits/string.h: Remove unused variables.
4653
4654         * misc/syslog.c (closelog_internal): Set LogTag to NULL.
4655         Patch by Christian Gafton.
4656
4657 1998-04-09 14:27  Ulrich Drepper  <drepper@cygnus.com>
4658
4659         * manual/socket.texi (Interface Naming): Correct @deftypefun line
4660         for if_indextoname.
4661
4662 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4663
4664         * sysdeps/unix/sysv/linux/bits/sockunion.h: Fix error message.
4665
4666         * manual/socket.texi (Interface Naming): Fix typo.
4667
4668 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4669
4670         * manual/examples/filesrv.c (main): Remove filename first.
4671
4672         * manual/socket.texi (Address Formats): Change ?F_LOCAL, ?F_FILE,
4673         ?F_UNIX.
4674
4675         * manual/examples/mkfsock.c (make_named_socket): Use PF_LOCAL
4676         instead of PF_UNIX.
4677
4678         * manual/examples/filecli.c (main): Use AF_LOCAL
4679         instead of AF_UNIX.
4680
4681 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
4682
4683         * sysdeps/libm-ieee754/s_signgam.c: Define __signgam and make
4684         signgam weak alias.
4685         * sysdeps/libm-ieee754/w_lgamma.c: Use __signgam not signgam.
4686         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
4687         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
4688         * sysdeps/libm-ieee754/w_gamma.c: Likewise.
4689         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
4690         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
4691
4692         * login/utmp_daemon.c (open_socket): Use __connect not connect.
4693
4694 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4695
4696         * configure.in: Add new option --enable-force-install.  Substitute
4697         force_install.
4698         * config.make.in (force-install): Set from configure.
4699         * Makerules (force-install): New phony target.
4700         * Makeconfig (+force): New variable.
4701         * Makefile: Use it in dependency list of installation targets.
4702         * db/Makefile: Likewise.
4703         * db2/Makefile: Likewise.
4704         * elf/Makefile: Likewise.
4705         * hurd/Makefile: Likewise.
4706         * iconv/Makefile: Likewise.
4707         * iconvdata/Makefile: Likewise.
4708         * intl/Makefile: Likewise.
4709         * localedata/Makefile: Likewise.
4710         * login/Makefile: Likewise.
4711         * po/Makefile: Likewise.
4712         * sunrpc/Makefile: Likewise.
4713         * sysdeps/mach/hurd/Makefile: Likewise.
4714         * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise.
4715         * sysdeps/unix/sysv/linux/Makefile: Likewise.
4716         * timezone/Makefile: Likewise.
4717
4718 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4719
4720         * sysdeps/unix/sysv/linux/getcwd.c: Use PATH_MAX as default
4721         alloc_size.  Pass return value of getcwd syscall to realloc.
4722
4723 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4724
4725         * manual/socket.texi: Spelling fixes.
4726
4727 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4728
4729         * elf/dl-load.c (print_search_path): Remove unused variable.
4730
4731 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
4732
4733         * login/utmp_file.c: use __ftruncate not ftruncate.
4734         * sysdeps/unix/common/syscalls.list: Add __ftruncate as real name
4735         for system call and make ftruncate weak alias.
4736         * posix/unistd.h: Add prototype for __ftruncate.
4737         * login/utmp_daemon.c (open_socket): Use __socket not socket.
4738         * nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv
4739         instead of snprintf and readv.
4740         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not
4741         snprintf.
4742         * stdlib/strtod.c: Call strtoull/wcstoull's internal functions
4743         directly.
4744
4745 1998-04-08 20:06  Ulrich Drepper  <drepper@cygnus.com>
4746
4747         * iconv/gconv_conf.c (__gconv_read_conf): Use __realpath not realpath.
4748         * iconv/gconv_db.c: Use __ protected regex functions.
4749         * iconv/gconv_simple.c: Use __mbsinit not mbsinit.
4750         * posix/getopt_init.c: Use __getpid not getpid.
4751         * posix/regex.c: Rename all global functions to start with __ and
4752         make old names weak aliases.
4753         * posix/regex.h: Adopt prototypes for this.
4754         * stdlib/canonicalize.c: Define __realpath, make canonicalize_file_name
4755         a weak alias and use __getcwd instead of getcwd.
4756         * stdlib/stdlib.h: Declare __realpath and __canonicalize_file_name.
4757         * stdlib/strtod.c: Use __btowc instead of btowc.
4758         * stdlib/strtol.c: Likewise.
4759         * sysdeps/libm-ieee754/s_matherr.c: Weaken definition of matherr.
4760         * sysdeps/unix/sysv/linux/errlist.c: Make sure definitions of sys_nerr
4761         and sys_errlist are weak.
4762         * wcsmbs/btowc.c: Define function as __btowc and make btowc weak alias.
4763         * wcsmbs/mbrtowc.c: Use __mbsinit not mbsinit.
4764         * wcsmbs/mbsnrtowcs.c: Likewise.
4765         * wcsmbs/mbsrtowcs.c: Likewise.
4766         * wcsmbs/wcsnrtombs.c: Likewise.
4767         * wcsmbs/wcsrtombs.c: Likewise.
4768         * wcsmbs/mbsinit.c: Define function as __mbsinit and make mbsinit
4769         weak alias.
4770         * wcsmbs/wchar.h: Declare __btowc and __mbsinit.
4771         * wctype/wctype.c: Define function as __wctype and make wctype
4772         weak alias.
4773         * wctype/wctype.h: Declare __wctype.
4774
4775 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
4776
4777         * stdio-common/vfscanf.c: Perform test in %l[ handling correctly.
4778
4779 1998-04-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4780
4781         * sysdeps/unix/sysv/linux/_G_config.h (_G_stat64): Define to
4782         stat64.
4783         (_G_OPEN64, _G_LSEEK64, _G_FSTAT64): Use namespace clean
4784         functions.
4785         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __lseek64 alias
4786         for __llseek.
4787         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4788         * sysdeps/unix/sysv/linux/llseek.c: Likewise.
4789         * sysdeps/generic/lseek64.c (lseek64): Rename to __lseek64, and
4790         make it a weak alias.
4791         * posix/unistd.h: Declare __lseek64.
4792
4793         * libio/fileops.c (fstat) [_LIBC]: Use namespace clean function.
4794         (_IO_file_stat): Fix typo.
4795         (_IO_file_xsgetn): Update fd->_offset.  Read a multiple of the
4796         block size from the file.  Use __mempcpy if _LIBC.
4797
4798 1998-04-07 20:32  Ulrich Drepper  <drepper@cygnus.com>
4799
4800         * wcsmbs/btowc.c: Fix dozends of bugs in untested code.
4801         * wcsmbs/mbrtowc.c: Likewise.
4802         * wcsmbs/mbsnrtowcs.c: Likewise.
4803         * wcsmbs/mbsrtowcs.c: Likewise.
4804         * wcsmbs/wcrtomb.c: Likewise.
4805         * wcsmbs/wcsnrtombs.c: Likewise.
4806         * wcsmbs/wcsrtombs.c: Likewise.
4807         * wcsmbs/wctob.c: Likewise.
4808
4809         * iconv/gconv-simple.c (__gconv_transform_ascii_ucs4): Compute
4810         position of next output character correctly.
4811         (__gconv_transform_ucs4_ascii): Count used input bytes correctly.
4812
4813         * stdio-common/vfprintf.c (vfprintf): Clear state before used.
4814
4815         * stdlib/strtod.c: Don't use mbtowc.
4816
4817 1998-04-07 19:07  H.J. Lu  <hjl@gnu.org>
4818
4819         * libio/fileops.c (_IO_file_xsgetn): Call __underflow () when
4820         what we want is smaller than a buffer.
4821
4822 1998-04-07 18:14  Ulrich Drepper  <drepper@cygnus.com>
4823
4824         * elf/dl-support.c (_dl_important_hwcaps): Define dummy version of
4825         this function.
4826
4827 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
4828
4829         * configure.in: Recognize --with-headers flag and determine
4830         commandline options to be used in compilation.
4831         * Makeconfig (+includes): Use $(sysincludes).
4832         * config.make.in (sysincludes): Define from SYSINCLUDES.
4833         * glibcbug.in: Use SYSINCLUDES information.
4834         Patches by Zack Weinberg.
4835
4836 1998-04-07 19:03  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4837
4838         * glibcbug.in: On linux, report version of kernel headers seen
4839         by compiler.
4840
4841 1998-04-07 16:18  Ulrich Drepper  <drepper@cygnus.com>
4842
4843         * libc.map: Add __asprintf to GLIBC_2.1.
4844         * elf/dlerror.c: Use __asprintf, not asprintf.
4845         * libio/stdio.h: Declare __asprintf.
4846         * stdio-common/asprintf.c: Define as __asprintf and make asprintf
4847         a weak alias.
4848
4849         * elf/dl-minimal.c: Add definition of strtol and strtoul (und friends)
4850         to avoid inclusion from libc_pic.a.
4851
4852         * elf/dl-runtime.c: Undo last patch.
4853
4854         * stdlib/strtod.c: Don't use mbtowc, use btowc.
4855
4856         * sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386"
4857         as default, use NULL.
4858
4859 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4860
4861         * resolv/Makefile: Include ../Makeconfig - needed for building
4862         static NSS module.
4863
4864 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4865
4866         * hesiod/Makefile (libnss_hesiod-inhibit-o): Remove condition for
4867         static-nss since we don't want hesiod in the static NSS.
4868
4869         * nss/Makefile: Build only nss_files as static.
4870
4871         * nss/function.def: Remove support for service db.
4872
4873 1998-04-04 09:44  H.J. Lu  <hjl@gnu.org>
4874
4875         * Makeconfig (CPPFLAGS-.oS): Add -DPIC.
4876
4877 1998-04-04 18:29  Tim Waugh  <tim@cyberelk.demon.co.uk>
4878
4879         * posix/wordexp-test.c: Make IFS per test-case.
4880
4881 1998-04-07 17:50  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4882
4883         * glibcbug.in: Report version of gcc in use.  Remove unused variable
4884         ENVIRONMENT.
4885
4886 1998-04-07  Gordon Matzigkeit  <gord@profitpress.com>
4887
4888         * aclocal.m4 (LIBC_PROG_BINUTILS): Use `-print-prog-name', not
4889         `-print-file-name' to find as and ld.
4890
4891 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
4892
4893         * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case
4894         template is wrong.  Remove unused varaible `ignored'.
4895
4896 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4897
4898         * libc.map: Export __libc_sa_len.
4899
4900         * iconv/gconv_conf.c (MAXPATHLEN): Define correctly.
4901
4902 1998-04-07 08:51  Ulrich Drepper  <drepper@cygnus.com>
4903
4904         * iconv/gconv.c: Take care for NULL arguments.
4905         * iconv/gconv_dl.c: Make find_func function global.
4906         * iconv/gconv_int.h: Add prototype for __gconv_find_func.
4907         Add prototypes for ASCII conversion functions.
4908         * iconv/gconv_simple.c: Add ASCII conversion functions.
4909         * locale/C-ctype.c: Correct charset name.
4910
4911         * wcsmbs/Makefile (distribute): Add wcsmbsload.h.
4912         (routines): Remove wmemrtowcs and wmemrtombs, add wcsnlen and
4913         wcsmbsload.
4914         * wcsmbs/btowc.c: Rewrite to use iconv functionality.
4915         * wcsmbs/mbrtowc.c: Likewise.
4916         * wcsmbs/mbsnrtowcs.c: Likewise.
4917         * wcsmbs/mbsrtowcs.c: Likewise.
4918         * wcsmbs/wcrtomb.c: Likewise.
4919         * wcsmbs/wcsnrtombs.c: Likewise.
4920         * wcsmbs/wcsrtombs.c: Likewise.
4921         * wcsmbs/wctob.c: Likewise.
4922         * wcsmbs/wchar.h: Add prototype for __wcslen, wcsnlen.  Remove
4923         prototypes for wmemr*.
4924         * wcsmbs/wcslen.c: Rename to __wcslen and make wcslen weak alias.
4925         * wcsmbs/wcsnlen.c: New file.
4926         * wcsmbs/wcsmbsload.c: New file.
4927         * wcsmbs/wcsmbsload.h: New file.
4928
4929         * manual/filesys.texi: Mention risks of tmpnam and mktemp.
4930
4931         * manual/install.texi: Describe some more critical points.
4932
4933         * string/string.h: Add prototype for __strnlen.
4934         * string/strnlen.c: Rename to __strnlen and make strnlen weak alias.
4935
4936         * sysdeps/posix/mktemp.c: Rewrite to allow many more files and
4937         much less predictable names.
4938         * sysdeps/posix/mkstemp.c: Likewise.
4939
4940 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4941
4942         * manual/libc.texinfo (Top): Change "file namespace" to "local
4943         namespace".
4944
4945         * manual/socket.texi: Change file namespace to local namespace.
4946         (Out-of-Band Data): Remove unneeded variable link.
4947         (Host Address Functions): Use uint32_t consequently and add a
4948         number of clarifications for IPv4/IPv6, classless addresses.
4949         (Internet Namespace): Added some paragraphs about IPv6.
4950         Based on suggestions by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
4951
4952 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
4953
4954         Update for draft-ietf-ipngwg-bsd-api-new-01.txt:
4955
4956         * resolv/netdb.h (getnameinfo): Use `socklen_t' not `size_t'.
4957         (NI_NUMERICHOST, et al.): Tidy up and add comments.
4958         (AI_NUMERICHOST): Define.
4959         (getnodebyname): New prototype.
4960         (AI_V4MAPPED, et al.): New constants.
4961
4962         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro.
4963         * sysdeps/generic/bits/sockaddr.h (SA_LEN): Likewise.
4964         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add sa_len
4965         for socket.
4966         * sysdeps/unix/sysv/linux/sa_len.c: New file.
4967         * sysdeps/unix/sysv/linux/Dist: Add sa_len.c.
4968
4969         * sysdeps/unix/sysv/linux/bits/socket.h: Make multiple #inclusion safe.
4970
4971         * sysdeps/generic/bits/sockunion.h: New file, defining sockaddr_union.
4972         * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.
4973         * socket/Makefile (headers): Add bits/sockunion.h.
4974         * socket/sys/socket.h: Include <bits/sockunion.h>
4975         * inet/netinet/in.h: Include <bits/sockaddr.h> rather than
4976         <sys/socket.h>, to avoid getting sockaddr_union defined.
4977         * sysdeps/generic/bits/socket.h: Allow inclusion from netinet.in.h.
4978         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4979         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
4980
4981         * sysdeps/unix/sysv/linux/if_index.c: Remove use of SIOCGIFCOUNT
4982         (2.2.x kernels won't have it).
4983
4984 1998-04-06 21:21  Ulrich Drepper  <drepper@cygnus.com>
4985
4986         * sysdeps/mach/hurd/bits/ioctls.h: Allow inclusion from hurd/ioctl.h.
4987         * sysdeps/mach/hurd/dl-sysdep.c: Use __ptr_t not caddr_t.
4988         * iconv/gconv_conf.c: Define MAXPATHLEN if not available before.
4989         Patches by UCHIYAMA Yasushi <uch@nop.or.jp>.
4990
4991 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
4992
4993         * manual/socket.texi (Socket Addresses): Fix a typo.
4994         (Interface Naming): New section.
4995
4996 1998-04-05 23:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4997
4998         * configure.in: Check for CC using $ac_tool_prefix, to handle
4999         cross-compilation.  Use AC_CHECK_TOOL to find MiG.
5000         * config.make.in: Add MIG to be substituted.
5001         * mach/Machrules: Don't define MIG variable.
5002
5003         Patch by Gordon Matzigkeit <gord@profitpress.com>.
5004
5005 1998-04-05  Mark Kettenis  <kettenis@phys.uva.nl>
5006
5007         * elf/dl-load.c (decompose_rpath): Use local_strdup instead of
5008         strdupa to copy rpath.
5009
5010 1998-04-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5011
5012         * configure.in: Fix gcc version check.
5013
5014         * aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less
5015         confusing.
5016
5017 1998-03-31  Mark Kettenis  <kettenis@phys.uva.nl>
5018
5019         * sysdeps/unix/bsd/unlockpt.c (unlockpt): Call __ptsname_r instead
5020         of ptsname_r.
5021
5022         * stdlib/stdlib.h: Change prototype of ptsname_r to make it more
5023         like ttyname_r.
5024         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Likewise.
5025         * sysdeps/generic/ptsname.c (__ptsname_r): Likewise.
5026         * sysdeps/unix/grantpt.c (grantpt): Change check of return value
5027         of __ptsname_r accordingly.
5028         * login/openpty.c (openpty): Likewise.
5029
5030 1998-06-04 18:47  H.J. Lu  <hjl@gnu.org>
5031
5032         * libio/fileops.c (_IO_file_xsgetn): Adjust pointers.
5033
5034 1998-04-06 13:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5035
5036         * Makeconfig (libtypes): Redo H.J. Lu's change of 1998-03-27.
5037
5038         * Makerules: Re-add missing rule for $(objpfx)stamp.oS.
5039
5040 1998-04-06  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5041
5042         * nis/ypclnt.c: Don't give YPERR_RPC back, use the do_ypcall
5043         return value for better error checking.
5044
5045 1998-04-06  Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
5046
5047         * elf/dl-runtime.c (fixup, profile_fixup): The final arg to
5048         _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT.
5049
5050         * elf/elf.h (EM_SPARC64): Remove.
5051         (EM_SPARC32PLUS, EM_SPARCV9): Add.
5052         (HWCAP_SPARC_V9): Add.
5053
5054         * elf/ldsodefs.h (_dl_hwcap): Declare.
5055         * sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask):
5056         Weaken so dlopen from static progies works.
5057         (WEAKADDR): New macro.
5058         (elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu.
5059         (LD_SO_PRELOAD): New macro.
5060         (elf_machine_fixup_plt): Cope with weak _dl_hwcap.
5061         (elf_machine_rela): Weaken _dl_rtld_map.
5062
5063         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone
5064         to __clone, and remove the later's alias.
5065         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
5066
5067         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from
5068         the kernel's structure.
5069
5070         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file.
5071         Sparc needs a custom value of __KERNEL_NCCS.
5072
5073 1998-04-06  Richard Henderson  <rth@cygnus.com>
5074
5075         * sysdeps/generic/libc-start.c: Allow init and fini to be null.
5076
5077         * sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main.
5078         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5079
5080 1998-04-06  Richard Henderson  <rth@cygnus.com>
5081
5082         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change,
5083         as the buffer is not properly aligned.
5084         Reported by Juan Cespedes <cespedes@debian.org>.
5085
5086 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5087
5088         * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL
5089         instead of AF_FILE.
5090
5091 1998-04-05  Ulrich Drepper  <drepper@cygnus.com>
5092
5093         * iconv/gconv_simple.c: Rewrite to not make use of the mb*towc*
5094         and wc*tomb* functions.
5095
5096 1998-04-04 15:16  Philip Blundell  <Philip.Blundell@pobox.com>
5097
5098         * sysdeps/unix/start.c: Fix typo.
5099
5100 1998-04-04  Ulrich Drepper  <drepper@cygnus.com>
5101
5102         * iconv/gconv_db.c (__gconv_find_transform): Fix typo.
5103
5104 1998-04-03 23:38  Ulrich Drepper  <drepper@cygnus.com>
5105
5106         * sysdeps/libm-ieee754/e_acos.c: Optimize by splitting large
5107         expressions and using array variables.
5108         * sysdeps/libm-ieee754/e_asin.c: Likewise.
5109         * sysdeps/libm-ieee754/e_j0.c: Likewise.
5110         * sysdeps/libm-ieee754/e_j1.c: Likewise.
5111         * sysdeps/libm-ieee754/e_log.c: Likewise.
5112         * sysdeps/libm-ieee754/e_pow.c: Likewise.
5113         * sysdeps/libm-ieee754/k_cos.c: Likewise.
5114         * sysdeps/libm-ieee754/k_sin.c: Likewise.
5115         * sysdeps/libm-ieee754/k_tan.c: Likewise.
5116         * sysdeps/libm-ieee754/s_atan.c: Likewise.
5117         * sysdeps/libm-ieee754/s_erf.c: Likewise.
5118         * sysdeps/libm-ieee754/s_expm1.c: Likewise.
5119         * sysdeps/libm-ieee754/s_log1p.c: Likewise.
5120         Patch by Naohiko Shimizu <nshimizu@et.u-tokai.ac.jp>.
5121
5122 1998-04-03 23:17  Ulrich Drepper  <drepper@cygnus.com>
5123
5124         * iconv/gconv.c: Rewrite of the low-level of gconv.
5125         * iconv/gconv.h: Likewise.
5126         * iconv/gconv_builtin.h: Likewise.
5127         * iconv/gconv_close.c: Likewise.
5128         * iconv/gconv_db.: Likewise.
5129         * iconv/gconv_dl.c: Likewise.
5130         * iconv/gconv_int.h: Likewise.
5131         * iconv/gconv_open.c: Likewise.
5132         * iconv/gconv_simple.c: Likewise.
5133         * iconvdata/8bit-gap.c: Adapt for rewrite.
5134         * iconvdata/8bit-generic.c: Likewise.
5135         * iconvdata/euckr.c: Likewise.
5136         * iconvdata/iso646.c: Likewise.
5137         * iconvdata/iso6937.c: Likewise.
5138         * iconvdata/iso8859-1.c: Likewise.
5139         * iconvdata/johab.c: Likewise.
5140         * iconvdata/sjis.c: Likewise.
5141         * iconvdata/t61.c: Likewise.
5142         * iconvdata/uhc.c: Likewise.
5143
5144 1998-04-03 15:34  Ulrich Drepper  <drepper@cygnus.com>
5145
5146         * iconv/gconv_int.h: New file.  Internal header.
5147         * iconv/Makefile (distribute): Add gconv_int.h.
5148         * iconv/gconv.h: Remove definition which are now in gconv_int.h.
5149         * iconv/gconv_builtin.c: Adopt for gconv_int.h introduction.
5150         * iconv/gconv_close.c: Likewise.
5151         * iconv/gconv_conf.c: Likewise.
5152         * iconv/gconv_db.c: Likewise.
5153         * iconv/gconv_dl.c: Likewise.
5154         * iconv/gconv_int.h: Likewise.
5155         * iconv/gconv_open.c: Likewise.
5156         * iconv/iconv.c: Likewise.
5157         * iconv/iconv_close.c: Likewise.
5158         * iconv/iconv_open.c: Likewise.
5159         * iconv/iconv_prog.c: Likewise.
5160
5161 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
5162
5163         * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the
5164         missing braces.
5165
5166 1998-04-03  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5167
5168         * nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags.
5169
5170 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
5171
5172         Based on patch from Pat Beirne:
5173         * sysdeps/unix/sysv/linux/arm/sysdep.S (__syscall_error): Same for
5174         PIC and non-PIC now.  Correctly negate error number.
5175         (errno): Use `%' not `@' in .type directives.
5176
5177 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
5178
5179         * sysdeps/i386/strtok.S: Change to use single exit point.
5180         * sysdeps/i386/i686/strtok.S: Likewise.
5181
5182 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5183
5184         * sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide
5185         default.
5186
5187 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5188
5189         * Makerules (installed-libcs): Fix typo.
5190
5191 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5192
5193         * iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC.
5194         (UHC-routines): Remove ksc5601.
5195
5196 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
5197
5198         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo
5199         introduced in last change.
5200
5201 1998-04-03 06:22  Ulrich Drepper  <drepper@cygnus.com>
5202
5203         * sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels
5204         before 2.1.92.
5205
5206 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
5207
5208         * sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry.
5209
5210         * stdlib/isomac.c: Use -isystem instead of -I for system include
5211         dir.
5212
5213 1998-03-30 08:05  H.J. Lu  <hjl@gnu.org>
5214
5215         * resolv/res_comp.c (underscorechar): New.
5216         (middlechar): Allow '_'.
5217
5218 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
5219
5220         * intl/explodename.c (stdlib.h): Include that file only if
5221         STDC_HEADERS or _LIBC.
5222         (string.h): Include that file only if HAVE_STRING_H or _LIBC.
5223         Patch by Philippe De Muyter <phdm@macqel.be>.
5224
5225 1998-04-01 21:08  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5226
5227         * aclocal.m4 (AC_PROG_CC_LOCAL): Remove superfluous tests.
5228         (AC_PROG_CHECK_VER): New macro.
5229         * configure.in: Use AC_PROG_CHECK_VER to check versions of
5230         gcc, gmake, msgfmt, makeinfo.  Remove superfluous tests.
5231
5232 1998-04-02 15:13  Ulrich Drepper  <drepper@cygnus.com>
5233
5234         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: New file.
5235         * sysdeps/i386/i686/strtok.S: New file
5236         * sysdeps/i386/i686/strtok_r.S: New file
5237
5238 1998-04-02  Mark Kettenis  <kettenis@phys.uva.nl>
5239
5240         * posix/unistd.h: [__USE_FILE_OFFSET64] (lseek): Change return
5241         type to __off64_t.
5242         * libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset
5243         parameter as __off64_t instead of __off_t.
5244         (ftello): Make alias for ftello64 instead of ftello.  Change
5245         return type to __off64_t.
5246
5247 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
5248
5249         * sysdeps/i386/bits/string.h: Fix various typos.
5250         Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
5251
5252         * sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92.
5253
5254 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
5255
5256         * sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without
5257         lchown syscall correctly.  [PR libc/541].
5258
5259 1998-04-02 11:45  Ulrich Drepper  <drepper@cygnus.com>
5260
5261         * localedata/Makefile: Correct testsuite rules.
5262
5263         * iconvdata/gconv-modules: Set cost of ISO646 module to 2.
5264         * iconvdata/iso646.c: Fix conversion from UCS4.
5265
5266         * elf/ldsodefs.h: Mark internal function with internal_function.
5267         * elf/dl-addr.c: Likewise.
5268         * elf/dl-close.c: Likewise.
5269         * elf/dl-debug.c: Likewise.
5270         * elf/dl-deps.c: Likewise.
5271         * elf/dl-error.c: Likewise.
5272         * elf/dl-fini.c: Likewise.
5273         * elf/dl-init.c: Likewise.
5274         * elf/dl-load.c: Likewise.
5275         * elf/dl-lookup.c: Likewise.
5276         * elf/dl-object.c: Likewise.
5277         * elf/dl-open.c: Likewise.
5278         * elf/dl-profile.c: Likewise.
5279         * elf/dl-reloc.c: Likewise.
5280         * elf/dl-runtime.c: Likewise.
5281         * elf/dl-symbol.c: Likewise.
5282         * elf/dl-version.c: Likewise.
5283         * elf/dlerror.c: Likewise.
5284         * sysdeps/generic/dl-sysdep.c: Likewise.
5285         * sysdeps/i386/dl-machine.h: Likewise.
5286         * intl/finddomain.c: Likewise.
5287         * intl/gettextP.h: Likewise.
5288         * intl/loadmsgcat.c: Likewise.
5289
5290 1998-04-01 17:38  Ulrich Drepper  <drepper@cygnus.com>
5291
5292         * iconv/gconv_simple.c: New builtins for UCS en/decoding.
5293         * iconv/gconv_builtin.h: Add definitions for new builtins.
5294         * iconv/gconv.h: Add prototypes for new builtins.
5295
5296         * iconvdata/Makefile (modules): Add ISO646.
5297         Add rules for ISO646 module.
5298         (distribute): Add iso646.c.
5299         * iconvdata/gconv-modules: Add module and alias definition for
5300         ISO646 charsets.
5301         * iconvdata/iso646.c: New file.
5302
5303 1998-04-01 16:10  Ulrich Drepper  <drepper@cygnus.com>
5304
5305         * libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db.
5306         * iconv/iconv_prog.c: Implement --list option to print available
5307         coded character sets.
5308
5309 1998-04-01 18:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5310
5311         Make fread() read large blocks straight to the user buffer.
5312
5313         * libio/fileops.c (_IO_file_xsgetn): New function.
5314         (_IO_file_jumps): Use it.
5315         * libio/libioP.h: Prototype it.
5316
5317 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
5318
5319         * iconv/gconv_conf.c (builtin_aliases): New variable.
5320         (__gconv_read_conf): Add builtin aliases.
5321         * iconv/gconv_builtin.c (builtin_map): Define BUILTIN_ALIAS as an
5322         noop macro before including gconv_builtin.h.
5323         * iconv/gconv_builtin.h: Add alias names.
5324
5325         * iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute
5326         number of converted bytes correctly.
5327
5328 1998-04-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5329
5330         * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
5331         we only wait for a replay.
5332
5333 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
5334
5335         * iconvdata/Makefile: Finally fix dependencies for JOHAB and
5336         EUC-KR modules.
5337
5338 1998-04-1 16:52  Philip Blundell  <pb@nexus.co.uk>
5339
5340         * sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and
5341         use PLTJMP() rather than explicit (PLT).
5342
5343         * sysdeps/arm/elf/start.S: Leave most of the initialisation for
5344         __libc_start_main().
5345
5346         Based on patch from Pat Beirne:
5347         * sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER):
5348         Always define, not only #ifndef PIC.
5349         (DO_CALL): Pass fifth argument correctly in R4.
5350         (PSEUDO): Correct test for error, call syscall_error through PLT
5351         if PIC.
5352
5353 1998-03-31 10:51  Philip Blundell  <pb@nexus.co.uk>
5354
5355         * sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new
5356         definitions.
5357
5358 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
5359
5360         * iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and
5361         JOHAB.so.
5362
5363 1998-04-01 13:20  Mark Kettenis  <kettenis@phys.uva.nl>
5364
5365         * io/Makefile (static-only-routines): Add stat64, fstat64 and
5366         lstat64.
5367
5368 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5369
5370         * manual/Makefile: Use object-suffixes-for-libc instead of
5371         object-suffixes.
5372         * rpm/Makefile (install-lib): Likewise.
5373
5374 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5375
5376         * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug.
5377
5378         * sysdeps/unix/sysv/linux/configure.in: Match $machine against
5379         `m68*', not only `m68k'.
5380
5381 1998-04-01 10:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5382
5383         * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
5384
5385         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
5386         install lddlibc4.
5387
5388 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5389
5390         * iconvdata/Makefile: Use libKSC shared object in JOHAB and
5391         EUC-KR.
5392
5393         * sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct
5394         comment.
5395
5396 1998-03-30 08:43  H.J. Lu  <hjl@gnu.org>
5397
5398         * sysdeps/alpha/elf/start.S: Let __libc_start_main do most of
5399         the init stuff.
5400
5401 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5402
5403         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for
5404         adjtimex syscall.
5405         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
5406         adjtimex.
5407         Patches by Dominik Kubla <kubla@sundiver.zdv.uni-mainz.de>.
5408
5409 1998-03-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5410
5411         * Makerules (install): Change comment for libc.so following the
5412         libc_nonshared changes.
5413
5414 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5415
5416         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo.
5417
5418         * iconvdata/gap.pl: Avoid using %#06x.
5419
5420 1998-03-31 19:55  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5421
5422         * Makerules: Use $? instead of S^ when invoking ar.
5423
5424 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5425
5426         * db2/compat.h: Allow EFTYPE being defined.
5427         * sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
5428         * sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
5429         * sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
5430         * sysdeps/mach/bits/libc-lock.h: Fix typo.
5431         (__libc_once): Correctly unlock semaphore.
5432         * sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
5433         * sysdeps/unix/bsd/getpt.c: Fix typo.
5434         Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.
5435
5436 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5437
5438         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as
5439         macros.
5440
5441 1998-03-31 18:11  Ulrich Drepper  <drepper@cygnus.com>
5442
5443         * include/mntent.h: New file.
5444
5445         * elf/Makefile (trusted-dirs.h): Append slash to filename.
5446         * elf/dl-load.c: Rewrite search path handling.
5447         * elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite.
5448         * elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK.
5449         * sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function.
5450         * elf/ldsodefs.h: Add prototype.
5451
5452 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
5453
5454         * nss/nsswitch.c (__nss_lookup): Adjust comment.
5455
5456         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New
5457         function.
5458
5459         * sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition.
5460
5461         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string):
5462         New function.
5463         (HWCAP_IMPORTANT): New definition.
5464
5465 1998-03-30 17:26  H.J. Lu  <hjl@gnu.org>
5466
5467         * elf/dl-open.c (_dl_open): Fix a typo.
5468         (_dl_global_scope_alloc): Make it static.
5469
5470 1998-03-30 17:20  Ulrich Drepper  <drepper@cygnus.com>
5471
5472         * Makerules: Remove duplicate rules to handle stamp.oS.
5473
5474 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5475
5476         * manual/examples/inetsrv.c (main): Change prototype of
5477         make_socket following change in mkisock.c.
5478
5479         * manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as
5480         example host.
5481         (main): Change prototype of init_sockaddr following change in
5482         isockadd.c.
5483
5484         * manual/examples/mkisock.c (make_socket): Use uint16_t for port.
5485         * manual/examples/isockad.c (init_sockaddr): Likewise.
5486
5487         * manual/examples/mkfsock.c (make_named_socket): Removed blank
5488         lines for clarification.
5489         (make_named_socket): Use strncpy instead of strcpy.
5490         Reported by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
5491
5492 1998-03-30 13:28  Ulrich Drepper  <drepper@cygnus.com>
5493
5494         * Makefile (parent-mostlyclean): Use object-suffixes-for-libc for
5495         determining libs to remove.
5496         (postclean): Add soversions.mk.
5497         * Makerules (common-mostlyclean): Add tests-static and generated
5498         files.
5499
5500 1998-03-30 12:53  Ulrich Drepper  <drepper@cygnus.com>
5501
5502         * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct
5503         scanning for \0.
5504         (__strncat_g): Add i686 specific code.
5505
5506 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5507
5508         * manual/install.texi (Reporting Bugs): Ask to include section
5509         names in reports.
5510
5511 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5512
5513         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit
5514         guard against direct inclusion.
5515
5516 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5517
5518         Rework support for libc_nonshared.a:
5519         * Makeconfig (object-suffixes-for-libc): New variable.
5520         * Rules: Remove handling of static-only and shared-only routines.
5521         * Makerules: Handle them here instead.  Use
5522         object-suffixes-for-libc instead of object-suffixes when dealing
5523         with libc objects.
5524         (object-suffixes-for-rules): Remove variable.
5525         (elide-routines.oS): Elide all routines except static-only
5526         routines.
5527         ($(objpfx)stamp.oS): Special rule for when static-only-routines is
5528         empty.
5529         (installed-libcs): Remove special case for .oS.
5530         (rmobjs): Likewise.
5531
5532 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5533
5534         * Makefile (do-collate-test, do-xfrm-test, do-tst-fmon,
5535         do-tst-rpmatch): New targets.
5536         (test): Use them.
5537         (install-locales): Ignore comment lines.
5538
5539 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5540
5541         * elf/Makefile ($(objpfx)ld.so): Depend on version script.
5542         ($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig.
5543         ($(objpfx)rtldtbl.h): Likewise.
5544         (CPPFLAGS-dl-load.c): Fix reference to object directory.
5545
5546 1998-03-30 09:36  Ulrich Drepper  <drepper@cygnus.com>
5547
5548         * manual/string.texi (Finding Tokens in a String): Extend strsep
5549         description and correct example.
5550
5551 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5552
5553         * manual/socket.texi: Remove misguided explicit line breaks and
5554         fix the formatting problem instead by reformulating the
5555         paragraphs.
5556         * manual/filesys.texi: Likewise.
5557         * manual/conf.texi: Likewise.  Don't typeset table with index
5558         fonts, that looks worse than a minimally overfull line.
5559
5560 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5561
5562         * nscd/Makefile (nscd-modules): Move definition outside of
5563         conditional.
5564
5565         * pwd/Makefile: Use have-thread-library to test for thread
5566         library.
5567
5568 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5569
5570         * nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip.
5571
5572         * iconvdata/uhc.c (gconv): Remove unused variable idx.
5573
5574 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
5575
5576         * sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c.
5577
5578 1998-03-29  Ulrich Drepper  <drepper@cygnus.com>
5579
5580         * nss/getXXent_r.c: Correctly handle failing setXXent function.
5581
5582         * inet/netinet/in.h: Use cast to uint32_t in IPv4 macros.
5583         Reported by Andreas Jaeger.
5584
5585 1998-03-29 20:59  Ulrich Drepper  <drepper@cygnus.com>
5586
5587         * elf/Makefile: Fix typo.
5588         (distribute): Add dl-librecon.h.
5589         * elf/ldd.bash.in: Collect output of ldd --verify in verify_out.
5590         * elf/ldd.sh.in: Likewise.
5591         * elf/ldsodefs.h: Declare _dl_correct_cache_id.
5592         * elf/rtld.c (dl_main): In --verify mode allow platform specifc action.
5593         Use strsep correctly.
5594         (process_envvars): Allow platform specific variables.
5595         * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable.
5596         (_dl_load_cache_lookup): Test cache IDs found against
5597         _dl_correct_cache_id.
5598         * sysdeps/generic/dl-librecon.h: New file.
5599         * sysdeps/unix/sysv/linux/dl-librecon.h: New file.
5600
5601         * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h.
5602
5603 1998-03-29 16:50  Ulrich Drepper  <drepper@cygnus.com>
5604
5605         * config.make.in (ldd-rewrite-script): New variable.
5606         * configure.in: Substitute ldd-rewrite-script.
5607         * elf/Makefile: Rewrite rules to generate ldd script.
5608         * elf/ldd.bash.in: Allow handling of non-ELF binaries.
5609         * elf/ldd.sh.in: Likewise.
5610         * sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4.
5611         * sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to
5612         point to sed script for libc4 handling insertion for ix86, m68, SPARC.
5613         * sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4.
5614         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file.
5615
5616 1998-03-26 15:20  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5617
5618         * inet/rcmd.c (iruserok): Remain setuid to the local user
5619         while .rhosts is actually read, to make .rhosts-over-NFS work
5620         (PR libc/524).  Use iruserfopen() for security checks on both
5621         hosts.equiv and .rhosts.  General cleanup.
5622         (iruserfopen): New function, performs careful checking on
5623         hosts.equiv/.rhosts files.  Disallows all the old forbidden
5624         stuff plus hard links to files.
5625
5626 1998-03-29 09:26  Ulrich Drepper  <drepper@cygnus.com>
5627
5628         * setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead.
5629
5630         * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop.
5631
5632 1998-03-29 02:02  H.J. Lu  <hjl@gnu.org>
5633
5634         * sysdeps/i386/i486/bits/string.h: Fix typos.
5635
5636 1998-03-28 00:13  H.J. Lu  <hjl@gnu.org>
5637
5638         * sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New
5639         strong alias.
5640
5641         * sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added.
5642
5643         * libc.map (__ieee_get_fp_control, __ieee_set_fp_control):
5644         Added.  Used by libm.so on alpha.
5645
5646 1998-03-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5647
5648         * intl/bindtextdom.c [_LIBC]: Define strdup only if not yet
5649         defined.
5650
5651 1998-03-27 07:29  H.J. Lu  <hjl@gnu.org>
5652
5653         * Makerules (object-suffixes-for-rules): Add .oS only for
5654         building shared library.
5655         Add ranlib rule for nonshared library.
5656         (rmobjs): Fix typo.
5657
5658         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved
5659         into for shared library only.
5660         (CPPFLAGS-.oS): Add -DPIC.
5661         (libtypes): Use $(object-suffixes-for-rules) instead of
5662         $(object-suffixes).
5663
5664 1998-03-28  Ulrich Drepper  <drepper@cygnus.com>
5665
5666         * sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile
5667         and install lddlibc4.
5668
5669 1998-03-28 09:13  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5670
5671         * iconvdata/gap.pl: Gobble rest of line with a scalar, not a
5672         hash.
5673         * iconvdata/gaptab.pl: Likewise.
5674
5675 1998-03-27 22:46  Ulrich Drepper  <drepper@cygnus.com>
5676
5677         * Rules: Allow Makefiles to specify test-static for tests which
5678         cannot be linked dynamically.
5679         * math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to
5680         tests-static.
5681
5682         * libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next.
5683
5684         * misc/error.c: Pretty print.
5685
5686 1998-03-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5687
5688         * Makerules (libc_nonshared-name): Remove variable.
5689         (installed-libcs): Use libc-name instead.
5690         ($(inst_libdir)/libc.so): Likewise.  Remove explicit reference to
5691         dynamic linker.
5692
5693         * Makeconfig (link-libc): Link against libc_nonshared.a instead of
5694         libc.a.  Remove explicit reference to dynamic linker.
5695
5696 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
5697
5698         * iconvdata/iso8859-1.c (gconv): Add cast to assignment from char
5699         to wchar_t.
5700         * iconv/iconv_prog.c: Correctly test for write failure.
5701         * iconvdata/Makefile: Add rules for EUC-KR, UHC, and JOHAB conversions.
5702         * iconvdata/gconv-modules: Likewise.
5703         * iconvdata/euckr.c: New file.
5704         * iconvdata/johab.c: New file.
5705         * iconvdata/ksc5601.c: New file.
5706         * iconvdata/ksc5601.h: New file.
5707         * iconvdata/uhc.c: New file.
5708         Contributed by Jungshik Shin <jshin@pantheon.yale.edu>.
5709
5710         * libio/fileops.c (_IO_file_fopen): Interpret x flag to fopen.
5711         * stdio/fopen.c: Correct handling of 'x' flag.
5712         Reported by Jason M. Petry <jason@ps.ohio-state.edu>.
5713
5714 1998-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5715
5716         * sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident.
5717         * sunrpc/rpcsvc/key_prot.x: Likewise.
5718         * sunrpc/key_prot.c: Likewise.
5719
5720 1998-03-27 13:49  Ulrich Drepper  <drepper@cygnus.com>
5721
5722         * sysdeps/i386/bits/string.h: Correct things which never worked.
5723         * sysdeps/i386/i486/bits/string.h: Add clobber marks.
5724         Patches by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
5725
5726 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
5727
5728         * intl/textdomain.c [_LIBC]: Define strdup only if not yet
5729         defined.  Reported by Thorsten Kukuk.
5730
5731 1998-03-26 18:50  Ulrich Drepper  <drepper@cygnus.com>
5732
5733         * sysdeps/unix/sysv/linux/lddlibc4.c: New file.
5734
5735 1998-03-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5736
5737         * manual/install.texi (Supported Configurations): Add
5738         arm-linuxaout and arm-none.
5739
5740 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
5741
5742         * version.h (VERSION): Bump to 2.0.93.
5743
5744 1998-03-25 07:30  H.J. Lu  <hjl@gnu.org>
5745
5746         * configure.in (libc_cv_ar_S): New to indicate if ar S works.
5747
5748         * config.make.in (have-ar-S): New, substituted by libc_cv_ar_S.
5749
5750         * Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S).
5751         (do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR).
5752
5753 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
5754
5755         * Makeconfig (link-libc): Add missing use of libc_nonshared.a.
5756
5757 1998-03-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5758
5759         Put the static-only routines in a separate library.
5760         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New
5761         variables.
5762         (all-object-suffixes): Add .oS.
5763         * Makerules (libc_static-name): New variable.
5764         (installed-libcs): Add libc_nonshared.a.
5765         ($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a.
5766         (object-suffixes-for-rules): New variable.  Use it instead of
5767         object-suffixes for generating compilation rules.
5768         (rmobjs): Also remove *.oS.
5769         * Rules (subdir_lib): Depend on $(objpfx)stamp.oS.
5770         ($(objpfx)stamp.oS): New target.
5771
5772 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
5773
5774         * Makefile (FAQ): Automatically check in regenerated FAQ.
5775
5776 1998-03-26 10:16  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5777
5778         * Makefile (INSTALL): Depend on install.texi, not maint.texi.
5779
5780 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
5781
5782         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h.
5783         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
5784
5785         * sysdeps/generic/stub_warning: Removed.
5786
5787         * Makefile (distribute): Add include/des.h.
5788
5789         * manual/Makefile (distribute): Change dir-add.texi to
5790         dir-add.texinfo.
5791
5792         * glibcbug.in: Create files safely when mktemp is not available.
5793
5794         * sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again.
5795         Patch by a sun <asun@saul1.u.washington.edu>.
5796
5797 1998-03-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5798
5799         * libc.map: Rename getname to getnetname.
5800
5801 1998-03-25 13:35  Ulrich Drepper  <drepper@cygnus.com>
5802
5803         * manual/maint.texi: Use supported platform in examples.
5804
5805         * manual/install.texi: Document some installation tips.
5806
5807 1998-03-25 10:56  Ulrich Drepper  <drepper@cygnus.com>
5808
5809         * posix/wordexp.c: Fix some memory leaks and makes $* more efficient.
5810         Fix a bug so that it returns an error if a numeric parameter is
5811         unset and WRDE_UNDEF is set.
5812         Patch by Andreas Schwab and Tim Waugh.
5813         * posix/wordexp-test.c: Add new new test.
5814
5815 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
5816
5817         * posix/regex.c (regex_compile): Last patch wasn't entirely
5818         correct.  Patch by Alain Magloire <alainm@rcsm.ece.mcgill.ca>.
5819
5820 1998-03-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5821
5822         * manual/filesys.texi (Scanning Directory Content): Fix typo.
5823
5824 1998-03-25 09:24  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
5825
5826         * sysdeps/i386/bits/string.h: Fix all assembler statements so that
5827         clobbered registers don't appear as operands.
5828
5829 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5830
5831         * posix/regex.c: Undefine ISASCII and ISPRINT before defining for
5832         Solaris' sake.
5833
5834         * posix/regex.c (regex_compile): Don't allow non-alphabet
5835         characters in character set name.
5836
5837 1998-03-25 00:00  Tim Waugh  <tim@cyberelk.demon.co.uk>
5838
5839         * posix/wordexp.c (w_newword): New function.
5840         (do_parse_glob): New function.
5841         (parse_glob): Use do_parse_glob.  Now handles the case where a
5842         variable expansion causes a field-split.
5843         (wordexp): Use w_newword.
5844         (parse_arith): Likewise.
5845         (exec_comm): Likewise.
5846         (parse_comm): Likewise.
5847         (parse_param): Likewise.
5848         (parse_backtick): Likewise.
5849
5850 1998-03-24 19:36  Tim Waugh  <tim@cyberelk.demon.co.uk>
5851
5852         * posix/wordexp-tst.sh: Another test.
5853
5854         * posix/wordexp-test.c: Two new tests.
5855
5856         * posix/wordexp.c (parse_glob): Use w_addstr instead of realloc
5857         directly (the code using realloc was buggy).
5858         (parse_param): Fix typo in comment.
5859
5860 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5861
5862         * elf/dl-close.c (_dl_close): Replace questionable memcpy by loop.
5863
5864 1998-03-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5865
5866         * libc.map: Add more rpc auth functions/variables.
5867
5868         * nscd/nscd.c: Add -g option to argp options.
5869
5870 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5871
5872         * configure.in: Be prepared for gcc 2.9.10 and up.
5873         * configure.in: Add missing disabling of quote characters in
5874         compiler version check.  Reported by HJ Lu.
5875
5876 1998-03-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5877
5878         * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h.
5879
5880 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5881
5882         * intl/locale.alias: Fix spelling of romanian.
5883
5884         * sunrpc/Makefile (headers): Add rpc/rpc_des.h.
5885         (distribute): Remove des.h.
5886         * include/des.h: New file.
5887         * sunrpc/des.h: Moved to ...
5888         * sunrpc/rpc/rpc_des.h: ...here.
5889
5890 1998-03-22  NIIBE Yutaka  <gniibe@mri.co.jp>
5891
5892         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK):
5893         Fix paren.
5894
5895 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5896
5897         * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
5898         parameter const.  Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
5899
5900 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5901
5902         * elf/ldsodesf.h: New file.
5903         * elf/Makefile (distribute): Add ldsodefs.h.
5904         * elf/link.h: Separate internal information in exter header.
5905         * elf/rtld.c: Include elf/ldsodefs.h not link.h.
5906         * elf/dl-minimal.c: Likewise.
5907         * sysdeps/generic/dl-sysdep.c: Likewise.
5908         * elf/sprof.c: Likewise.
5909         * elf/dlsym.c: Likewise.
5910         * elf/dlvsym.c: Likewise.
5911         * elf/dlerror.c: Likewise.
5912         * elf/dladdr.c: Likewise.
5913         * elf/dlclose.c: Likewise.
5914         * elf/dlopen.c: Likewise.
5915         * elf/dl-addr.c: Likewise.
5916         * elf/dl-close.c: Likewise.
5917         * elf/dl-debug.c: Likewise.
5918         * elf/dl-deps.c: Likewise.
5919         * elf/dl-error.c: Likewise.
5920         * elf/dl-fini.c: Likewise.
5921         * elf/dl-init.c: Likewise.
5922         * elf/dl-load.c: Likewise.
5923         * elf/dl-lookup.c: Likewise.
5924         * elf/dl-object.c: Likewise.
5925         * elf/dl-open.c: Likewise.
5926         * elf/dl-profile.c: Likewise.
5927         * elf/dl-reloc.c: Likewise.
5928         * elf/dl-runtime.c: Likewise.
5929         * elf/dl-support.c: Likewise.
5930         * elf/dl-symbol.c: Likewise.
5931         * elf/dl-version.c: Likewise.
5932         * sysdeps/generic/dl-cache.c: Likewise.
5933         * sysdeps/generic/libc-start.c: Likewise.
5934         * iconv/gconv_dl.c: Likewise.
5935         * nss/nsswitch.c: Likewise.
5936
5937 1998-03-23 13:45  Ulrich Drepper  <drepper@cygnus.com>
5938
5939         * manual/nss.texi: The database is not called network but networks.
5940         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
5941
5942 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5943
5944         * configure.in: Correct test for compiler version.
5945         Check that LD_LIBRARY_PATH doesn't contain current path.
5946
5947 1998-03-23 07:52  H.J. Lu  <hjl@gnu.org>
5948
5949         * elf/dl-close.c (_dl_close): Fix byte count while removing
5950         the shared object from the global scope list and optimize
5951         a little bit.
5952
5953 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5954
5955         * manual/filesys.texi (Scanning Directory Content): Add missing
5956         closing brace.
5957         (Scanning Directory Content): Fix text.
5958
5959 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5960
5961         * manual/memory.texi (Heap Consistency Checking): Add paragraph
5962         explaining difference of -lmcheck and MALLOC_CHECK_.
5963
5964 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5965
5966         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some
5967         typos in comments.
5968
5969 1998-03-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5970
5971         * test-skeleton.c (main): Fix test for exit signal.
5972
5973 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5974
5975         * sysdeps/generic/strtok_r.c: Undefine __strtok_r.
5976
5977 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5978
5979         * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as
5980         appropriate.
5981
5982 1998-03-23 11:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5983
5984         * libc.map: Export __strtok_r.
5985
5986 1998-03-23  Ulrich Drepper  <drepper@cygnus.com>
5987
5988         * posix/regex.c (re_compile_fastmap): Remove unused variable
5989         num_regs and adjust comment.
5990         Patch by Jim Meyering <meyering@ascend.com>.
5991
5992         * math/math.h (M_*l): Extend long double constants to be usable
5993         for 128 bit floats.  Patch by Richard Henderson.
5994
5995 1998-03-23 11:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5996
5997         * sysdeps/m68k/m68020/wordcopy.S: New file.
5998
5999 1998-03-22  Ulrich Drepper  <drepper@cygnus.com>
6000
6001         * posix/wordexp.c: Rewrite parse_param.
6002         Patch by Tim Waugh and Andreas Schwab.
6003
6004 1998-03-21 23:46  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6005
6006         * Rules: Update timestamps on empty object files.
6007
6008 1998-03-21 09:15  Ulrich Drepper  <drepper@cygnus.com>
6009
6010         * manual/filesys.texi (Scanning Directory Content): Add description
6011         of 64 bits scandir function and friends.
6012
6013 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6014
6015         * glibcbug.in: Use mktemp to generate unique file name for
6016         temporary files.
6017
6018         * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not
6019         ptsname_r.  Use cast for execve call.
6020
6021 1998-03-20 16:24  Ulrich Drepper  <drepper@cygnus.com>
6022
6023         * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64.
6024         * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h.
6025         * io/sys/statvfs.h: New file.
6026         * sysdeps/generic/fstatvfs.h: New file.
6027         * sysdeps/generic/statvfs.h: New file.
6028         * sysdeps/generic/fstatvfs64.h: New file.
6029         * sysdeps/generic/statvfs64.h: New file.
6030         * sysdeps/generic/bits/statvfs.h: New file.
6031         * sysdeps/unix/sysv/linux/fstatvfs.c: New file.
6032         * sysdeps/unix/sysv/linux/statvfs.c: New file.
6033         * sysdeps/unix/sysv/linux/bits/statvfs.h: New file.
6034
6035         * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files
6036         and f_ffree elements.
6037
6038         * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print.  Define
6039         mount options in enum.
6040
6041 1998-03-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6042
6043         * configure.in: Check for recent egcs/gcc.
6044
6045 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6046
6047         * libc.map: Add alphasort64, scandir64, versionsort64.
6048         * dirent/Makefile (routines): Add scandir64, alphasort64, and
6049         versionsort64.
6050         * dirent/alphasort64.c: New file.
6051         * dirent/scandir64.c: New file.
6052         * dirent/versionsort64.c: New file.
6053         * dirent/dirent.h: Add LFS support for scandir, alphasort, and
6054         versionsort.
6055         * sysdeps/generic/readdir64.c: Rename to __readdir64 and make
6056         old name weak alias.
6057         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6058
6059         * dirent/alphasort.c: Use strcoll instead of strcmp.
6060
6061         * dirent/scandir.c: Optimize a bit.
6062
6063         * dirent/versionsort.c: Pretty print.
6064
6065 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6066
6067         * string/string.h: Add prototype for __strtok_r.
6068
6069 1998-03-20 12:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6070
6071         * posix/Makefile: Fix typo in last change.
6072
6073 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6074
6075         * dirent/dirent.h (scandir): Make argument of select function const.
6076         * dirent/scandir.c (scandir): Likewise.
6077         Reported by David.Faure@insa-lyon.fr [PR libc/512].
6078
6079 1998-03-19 14:28  Ulrich Drepper  <drepper@cygnus.com>
6080
6081         * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
6082         weak alias.
6083         * sysdeps/i386/strtok_r.c: Likewise.
6084
6085         * sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
6086         * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
6087         * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
6088         * sysdeps/libm-i387/i686/s_fmin.S: Likewise.
6089         * sysdeps/libm-i387/i686/s_fminf.S: Likewise.
6090         * sysdeps/libm-i387/i686/s_fminl.S: Likewise.
6091
6092 1998-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6093
6094         * intl/localealias.c: Remove unneeded define for strdup.
6095
6096 1998-03-19 13:45  Ulrich Drepper  <drepper@cygnus.com>
6097
6098         * manual/argp.texi: Adjust for better TeX output.
6099         * manual/arith.texi: Likewise.
6100         * manual/conf.texi: Likewise.
6101         * manual/filesys.texi: Likewise.
6102         * manual/header.texi: Likewise.
6103         * manual/lgpl.texinfo: Likewise.
6104         * manual/math.texi: Likewise.
6105         * manual/message.texi: Likewise.
6106         * manual/pattern.texi: Likewise.
6107         * manual/process.texi: Likewise.
6108         * manual/signal.texi: Likewise.
6109         * manual/socket.texi: Likewise.
6110         * manual/startup.texi: Likewise.
6111         * manual/stdio.texi: Likewise.
6112         * manual/terminal.texi: Likewise.
6113         * manual/examples/rprintf.c: Likewise.
6114         * manual/examples/testopt.c: Likewise.
6115         Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.
6116
6117 1998-03-19 20:45  Tim Waugh  <tim@cyberelk.demon.co.uk>
6118
6119         * posix/wordexp.c (parse_param): Don't immediately stop parsing a
6120         parameter name after seeing a digit if it's enclosed in braces.
6121
6122 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
6123
6124         * sysdeps/i386/i686/Implies: Add libm-i387/i686.
6125
6126 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6127
6128         * manual/memory.texi (Heap Consistency Checking): Document
6129         MALLOC_CHECK_.  Based on a text by Wolfram Gloger.
6130
6131 1998-03-18 17:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6132
6133         * manual/Makefile: Add missing rules.
6134
6135 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
6136
6137         * timezone/Makefile (generated): Define to remove all stamp files.
6138
6139         * sysdeps/generic/strsep.c: Also undefine __strsep.
6140
6141         * string/strdup.c: Undefine __strdup and strdup first.
6142         * string/strndup.c: Likewise.
6143
6144         * string/bits/string2.h: Correct strtok_r and strsep.
6145         Add strndup optimization.
6146
6147         * sysdeps/generic/strsep.c: Little optimization.
6148
6149 1998-03-18 14:25  Ulrich Drepper  <drepper@cygnus.com>
6150
6151         * string/bits/string2.h: Add optimization for strdup.
6152         Always define __strsep and __strtok_r and make real names available
6153         when feature select macros are defined.
6154
6155 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6156
6157         * manual/install.texi (Installation): Use i486-linux as example
6158         instead of the unsupported sunos4.
6159         (Reporting Bugs): Mention glibcbug script.
6160         (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.
6161
6162 1998-03-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6163
6164         * posix/wordexp-tst.sh: Make portable.  Add more tests.
6165
6166         * posix/Makefile (do-globtest do-wordexp-test): New targets.
6167
6168 1998-03-18 13:38  Ulrich Drepper  <drepper@cygnus.com>
6169
6170         * sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
6171         * sysdeps/generic/libc-start.c: ...here, replacing former content.
6172
6173         * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
6174         netpacket/packet.h.
6175
6176         * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.
6177
6178 1998-03-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6179
6180         * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
6181         in enumerator for strict standard compliance.
6182         * sysdeps/generic/bits/resource.h: Likewise.
6183
6184 1998-03-18 10:04  Philip Blundell  <pb@nexus.co.uk>
6185
6186         * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
6187         (PLTJMP): New macro.
6188
6189         * sysdeps/arm/fpu/__longjmp.S: New file, implementation of
6190         longjmp() when floating point enabled.
6191         * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
6192         * sysdeps/arm/__longjmp.S: Remove floating point code.
6193         * sysdeps/arm/setjmp.S: Likewise.
6194
6195         * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
6196         * sysdeps/arm/bsd-_setjmp.S: Likewise.
6197
6198         * sysdeps/arm/memset.S: New file; optimised ARM implementation of
6199         memset().
6200
6201         * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
6202         prototype.
6203
6204 1998-03-17 16:16  Philip Blundell  <pb@nexus.co.uk>
6205
6206         Based on patches from Pat Beirne and Scott Bambrough:
6207
6208         * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.
6209
6210         * sysdeps/arm/bits/fenv.h: New file.
6211
6212         * sysdeps/arm/dl-machine.h: New file.  Add ELF support.
6213         * sysdeps/arm/elf/setjmp.S: Likewise.
6214         * sysdeps/arm/elf/start.S: Likewise.
6215         * sysdeps/arm/init-first.c: Likewise.
6216         * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
6217         * sysdeps/arm/sysdep.h: Change format of .type directive.  Correct
6218         comment about floating point to reflect current reality.
6219
6220         * sysdeps/unix/arm/brk.S: Support PIC.
6221         * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
6222         re-entrant code.
6223         * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
6224         return; call syscall_error through PLT.
6225         * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.
6226
6227 1998-03-04 12:01  Philip Blundell  <pb@nexus.co.uk>
6228
6229         * sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
6230         * sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
6231         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.
6232
6233 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
6234
6235         * dirent/list.c (test): Return error value.
6236         (main): Exit with error value.
6237
6238         * sysdeps/unix/opendir.c (__opendir): Add missing initialization.
6239
6240         * Makefile (distribute): Add test-skeleton.c.
6241         * test-skeleton.c: New file.
6242         * dirent/Makefile (tests): Add opendir-tst1.
6243         * dirent/opendir-tst1.c: New file.
6244
6245 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
6246
6247         * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
6248         Optimize memory handling.
6249         * sysdeps/unix/closedir.c: Optmize memory handling.
6250
6251 1998-03-17  Ulrich Drepper  <drepper@cygnus.com>
6252
6253         * posix/wordexp.c (parse_param): Fix off-by-on error in $@
6254         handling.  Optimize a bit.
6255
6256 1998-03-18 00:25  Tim Waugh  <tim@cyberelk.demon.co.uk>
6257
6258         * posix/wordexp.c (parse_comm): Allow quoting inside $(...).
6259         (parse_param): Fold in Andreas' fixes to do with when the end of
6260         the parameter name has been reached, and quoting inside ${...}.
6261         (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
6262         $((echo);(ls)).
6263
6264 1998-03-16 22:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6265
6266         * manual/maint.texi: Split out installation and contribution
6267         sections to their own appendices.  Misc cleanups.
6268         * manual/install.texi: New file.  Mention add-ons.  Refer to FAQ.
6269         * manual/contrib.texi: New file.
6270         * manual/libc.texinfo: Pull in new appendices.
6271         * manual/header.texi: Correct node pointer.
6272
6273 1998-03-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6274
6275         * manual/process.texi (Process Completion): Clarify return value
6276         of waitpid a bit.  Patch by Zack Weinberg. [PR libc/490]
6277
6278 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6279
6280         * posix/wordexp-test.c: Add more tests.
6281         (testit): Fix logic.
6282
6283         * posix/wordexp.c (exec_comm): In the child, redirect stderr to
6284         /dev/null instead of closing it, close pipe.  Always chop off all
6285         trailing newlines.  Kill and reap child before returning error.
6286         (w_addword, parse_glob): Fix memory leak.
6287         (wordexp): Fix dangling pointer problem.
6288
6289 1998-03-16  Ulrich Drepper  <drepper@cygnus.com>
6290
6291         * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
6292
6293         * posix/wordexp-test.c (main): Fix little thinkos and typos.
6294
6295         * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
6296         directory index by only the language.
6297
6298 1998-03-16 13:02  Tim Waugh  <tim@cyberelk.demon.co.uk>
6299
6300         * posix/wordexp-tst.sh: Store test results in the
6301         ${common_objpfx}posix directory.
6302
6303         * posix/wordexp-test.c: Remove temporary directory afterwards.
6304
6305 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6306
6307         * libc.map: Export internal versions of cancelable functions.
6308
6309 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6310
6311         * Makerules (MAKEFLAGS): Append `r'.
6312
6313 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6314
6315         * Makeconfig: Define have-thread-library, shared-thread-library
6316         and static-thread-library if a thread library is available.  Don't
6317         define rt.
6318         * nscd/Makefile: Compile nscd if have-thread-library.  Rename
6319         nscd-routines to nscd-modules.  Use shared-thread-library and
6320         static-thread-library in dependencies.
6321         * rt/Makefile: Only compile librt if have-thread-library is
6322         defined.
6323         * Makefile (subdirs): Always include rt subdir.
6324
6325 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6326
6327         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
6328
6329 1998-03-14 21:55  Ulrich Drepper  <drepper@cygnus.com>
6330
6331         * configure.in: Recognize variations for 32 MIPS processors.
6332         Don't assume ELF systems always have .weak, test for .weakext.
6333
6334 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
6335
6336         * configure.in: Irix6 is an ELF platform.
6337
6338 1998-03-14 11:47  H.J. Lu  <hjl@gnu.org>
6339
6340         * elf/dl-close.c (_dl_close): Stop unmapping the segments after
6341         unmapping the last loaded segment.
6342
6343 1998-03-14 15:54  Ulrich Drepper  <drepper@cygnus.com>
6344
6345         * configure.in: Set base_os for Irix6.
6346         Correct test for .weakext.
6347
6348 1998-03-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6349
6350         * elf/dl-deps.c (_dl_map_object_deps): Add first parameter
6351         (new_line) to _dl_debug_message call.
6352
6353 1998-03-14 00:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
6354
6355         * posix/wordexp.c (parse_param): Perform field-splitting after
6356         expanding positional parameter.
6357
6358         * posix/wordexp-tst.sh: Test that field-splitting is performed
6359         after expanding positional parameter.
6360
6361         * posix/wordexp.c (parse_param): Fixed memory leak in
6362         field-splitting after parameter expansion.
6363
6364 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
6365
6366         * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
6367         (get_toplvl_escape): Correctly terminate loop at EOF.
6368         Patch by Cristian Gafton <gafton@redhat.com>.
6369
6370 1998-03-13 16:55  Ulrich Drepper  <drepper@cygnus.com>
6371
6372         * string/tester.c (test_strpbrk): Add more strpbrk tests.
6373         (test_strsep): Likewise.  Correct horrible bugs.
6374
6375         * string/bits/string2.h (strcspn): Optimize also reject string of
6376         length 2 and 3.
6377         (strspn): Likewise.
6378         (strpbrk): Likewise.
6379         (strsep): Likewise.  Correct bug with successive separators and
6380         separators at the end of the string.
6381         * sysdeps/generic/strsep.c: Correct bug with successive separators
6382         and separators at the end of the string.
6383
6384 1998-03-13 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
6385
6386         * posix/wordexp.c (parse_param): Positional parameters ($1, $2
6387         etc) now handled, as well as $$ (pid).
6388
6389         * posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
6390         (distribute): Add wordexp-tst.sh.
6391
6392         * posix/wordexp-tst.sh: New file.
6393
6394         * posix/wordexp.c (parse_param): $# (or ${#}) expands to the
6395         number of positional parameters.  Renamed substitute_length to
6396         seen_hash.
6397         Don't free(env) is env is NULL.
6398
6399 1998-03-13 16:50  Ulrich Drepper  <drepper@cygnus.com>
6400
6401         * libc.map: Add pthread_attr_init to GLIBC_2.1.
6402
6403 1998-03-13 15:01  Ulrich Drepper  <drepper@cygnus.com>
6404
6405         * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
6406         for output file replacing gmon.out.
6407         Patch by Dean Gaudet <dgaudet@arctic.org>.
6408
6409 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6410
6411         * elf/dl-misc.c (_dl_debug_message): Fix printing of pid.  Clean
6412         up namespace.  Optimize finding end of line.
6413
6414 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6415
6416         * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
6417         securely.  Optimized.
6418         (process_dl_debug): Add ':' to list of separators.  Optimized.
6419
6420 1998-03-13 10:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6421
6422         * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
6423         isless, islessequal, islessgreater, isunordered): Return zero or
6424         one.
6425
6426 1998-03-12 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
6427
6428         * posix/wordexp-test.c: More tests.
6429         (main): Set up arena for pathname expansion tests (in a temporary
6430         directory).
6431         (testit): Don't check word count or word vector if return value is
6432         non-zero.
6433
6434         * posix/wordexp.c (exec_comm): Always chop off terminating
6435         linefeed (just like bash does).
6436         (parse_param): Change lots of occurrences of "if (!*env)" to "if
6437         (!env || !*env)".
6438         (parse_param): For assignment inside parameter expansion, use all
6439         expanded words in assignment rather than just the first.
6440         (parse_param): Corrected return value for parameter expansion of
6441         an unset variable when WRDE_UNDEF is in effect.
6442         (parse_dollars): Don't field-split if quoted.
6443         (wordexp): Opening brace character isn't allowed unquoted.
6444
6445 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
6446
6447         * elf/dlerror.c: Fix concurrency problems with error string and
6448         number.
6449
6450         * elf/dl-deps.c (_dl_map_object_deps): Print debug info when
6451         filter/auxiliary are being loaded.
6452
6453 1998-03-12 14:24  Ulrich Drepper  <drepper@cygnus.com>
6454
6455         * elf/dlerror.c (last_object_name): Removed.
6456         (dlerror): Don't use last_object_name.
6457         (_dl_error_run): Omit second argument to _dl_catch_error.
6458         * elf/dl-error.c (struct catch): Remove objname member.
6459         (_dl_signal_error): Construct string including objname when given.
6460         (_dl_catch_error): Remove objname handling.
6461         * elf/link.h (_dl_catch_error): Fix prototype and comment.
6462         * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
6463         * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
6464         * nss/nsswitch.c (nss_dlerror_run): Likewise.
6465         * iconv/gconv_dl.c (dlerror_run): Likewise.
6466         [Corrects PR libc/501].
6467
6468 1998-03-12  Matthias Urlichs <smurf@noris.de>
6469
6470         * nscd/nscd.c: Ignore SIGPIPE.
6471
6472 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
6473
6474         * nscd/nscd_getgr_r.c: Use __ protected names.
6475         * nscd/nscd_getpw_r.c: Likewise.
6476
6477 1998-03-12  Matthias Urlichs <smurf@noris.de>
6478
6479         * nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
6480         * nscd/nscd_getpw_r.c: Fix length calculation in result check,
6481         null bytes are not transmitted.
6482
6483 1998-03-12 00:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6484
6485         * powerpc/syscalls.list: Correct typo.
6486         * alpha/syscalls.list: Likewise.
6487         * mips/syscalls.list: Likewise.
6488
6489 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
6490
6491         * socket/sys/socket.h: Add prototype for __socket.
6492
6493 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6494
6495         * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
6496
6497         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
6498         constants.
6499
6500         * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
6501         definition here.
6502         * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
6503         definition here.
6504
6505         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
6506         AF_* and PF_* constants.
6507
6508         * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
6509
6510 1998-03-11 15:27  Ulrich Drepper  <drepper@cygnus.com>
6511
6512         * elf/rtld.c: Update help message.
6513         Install link maps for preloaded objects using main_map as loader.
6514
6515         * elf/dl-misc.c: Use __libc_write instead of __write for debugging.
6516         * elf/dl-profile.c: Likewise.
6517
6518         * elf/dlsym.c: Little optimization.
6519         * elf/dlvsym.c: Likewise.
6520
6521 1998-03-11 14:56  Ulrich Drepper  <drepper@cygnus.com>
6522
6523         * posix/wordexp-test.c: Move test for parameter list at the very
6524         beginning.
6525
6526 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
6527
6528         * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
6529         WRDE_REUSE flag is set.
6530         (parse_param): Allow `*', `@', and numbers in parameter names.
6531         (parse_dollars): Differentiate between arithmetic expansion and a
6532         command substitution that starts immediately with a sub-shell
6533         (like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
6534         (parse_param): Memory allocated with __alloca in a block was
6535         referenced outside that block.  Adjusted to use malloc/free.
6536         (parse_param): Adjusted field-splitting algorithm so that there is
6537         not necessarily a field split at the end of a parameter expansion.
6538
6539 1998-03-10 19:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
6540
6541         * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
6542         don't free words that have already been allocated.
6543         (parse_param): A dollar sign on its own will never have a pattern
6544         associated with it (like "${HOME%%/}" has), so don't try to free it.
6545         (parse_glob): Attempt to glob when an unquoted `[' is found
6546         (rather than an unquoted '{' (!)).  Also for unquoted '?'.
6547         (parse_glob): Sorted out quoting in a glob-able word.
6548         (parse_param): Added $* and $@ handling.
6549
6550 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
6551
6552         * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
6553         parsing it.
6554
6555 1998-03-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6556
6557         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
6558         _dl_debug_message.
6559
6560 1998-03-12  Matthias Urlichs  <smurf@noris.de>
6561
6562         * elf/dl-misc.c: Default for debug output should be stderr.
6563         * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
6564         * elf/dl-lookup.c: reference_name may be NULL or empty.
6565
6566 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6567
6568         * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
6569
6570 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
6571
6572         * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
6573
6574         * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
6575
6576 1998-03-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6577
6578         * sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
6579         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
6580
6581 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6582
6583         * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
6584         init stuff.
6585
6586 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6587
6588         * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
6589         flag.
6590
6591         * misc/syslog.c (vsyslog): Don't try to send if not connected to
6592         syslog daemon.
6593         (closelog_internal): Don't do anything if not connected.
6594
6595 1998-03-10 17:54  Ulrich Drepper  <drepper@cygnus.com>
6596
6597         * libc.map: Add _dl_debug_message.
6598         * elf/dl-misc.c: Make _dl_debug_message a function.  Print the PID
6599         before every line.
6600         * elf/fini.c: Correctly use new _dl_debug_message function.
6601         * elf/init.c: Likewise.
6602         * elf/dl-lookup.c: Likewise.
6603         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
6604         * elf/dl-load.c: Likewise.  Add more debugging prints.
6605         * elf/dl-reloc.c: Likewise.
6606         * elf/dl-version.c: Likewise.
6607         * elf/dl-support.c: Add variables for debugging.
6608         * elf/rtld.c: Likewise.  Recognize new debug options.
6609         * elf/link.h: Declare new variables.
6610
6611         * elf/dl-deps.c (_dl_map_object_deps): Little optimizations.
6612
6613 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6614
6615         * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
6616         kernel headers.  Patch by a sun <asun@saul7.u.washington.edu>.
6617
6618 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
6619
6620         * posix/wordexp-test.c (command_line_test): New function to allow
6621         testing of specific cases from the command-line.
6622
6623 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6624
6625         * elf/dl-init.c (_dl_init_next): Print nicer messages.
6626         * elf/dl-fini.c (_dl_fini): Likewise.
6627         * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.
6628
6629         * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
6630         symbol in debug message.
6631         (_dl_lookup_versioned_symbol_skip): Likewise.
6632
6633 1998-03-10 19:43  Matthias Urlichs <urlichs@noris.de>
6634
6635         * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
6636         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
6637         * manual/filesys/texi: Document this.
6638
6639 1998-03-10 10:49  Ulrich Drepper  <drepper@cygnus.com>
6640
6641         * manual/filesys.texi: Document the change below.
6642
6643 1998-03-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6644
6645         * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
6646         Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
6647
6648 1998-03-10 00:10  Ulrich Drepper  <drepper@cygnus.com>
6649
6650         * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
6651         instead scope.  If debugging display information about symbol
6652         resolving.
6653         (_dl_lookup_symbol): Call do_lookup with correct parameters.
6654         (_dl_lookup_symbol_skip): Likewise.
6655         (_dl_lookup_versioned_symbol): Likewise.
6656         (_dl_lookup_versioned_symbol_skip): Likewise.
6657         * elf/dl-support.c: Define _dl_debug_symbols.
6658         * elf/link.h: Add declaration for _dl_debug_symbols.
6659         * elf/rtld.c: Define _dl_debug_symbols.
6660         (process_dl_debug): Recognize symbols option.
6661
6662 1998-03-09 23:36  Ulrich Drepper  <drepper@cygnus.com>
6663
6664         * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
6665         in correct format.
6666         * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
6667         with correct parameters.
6668         [!PIC]: Initialize __libc_multiple_libcs.
6669
6670 1998-03-09 18:21  Ulrich Drepper  <drepper@cygnus.com>
6671
6672         * elf/dl-support.c (_dl_debug_bindings): Add definition.
6673         * elf/rtld.c (_dl_debug_bindings): Add definition.
6674         (process_dl_debug): Recognize bindings option.  Update help message.
6675         * elf/link.h (struct link_map): Add l_versyms member.
6676         (_dl_debug_bindings): Add declaration.
6677         * elf/version.c (_dl_check_map_versions): Initialize l_versyms.
6678         * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
6679         and l_reloc_result.
6680         * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
6681         (sym_val): Remove a member, add m as link_map.
6682         (do_lookup): Return result appropriately.
6683         (_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
6684         Call do_lookup correctly.
6685         (_dl_lookup_symbol_skip): Likewise.
6686         (_dl_lookup_versioned_symbol): Likewise.
6687         (_dl_lookup_versioned_symbol_skip): Likewise.
6688
6689 1998-03-09 08:21  Ulrich Drepper  <drepper@cygnus.com>
6690
6691         * sysdeps/unix/sysv/linux/chown.c: Moved to ...
6692         * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
6693
6694         * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
6695         * libc.map: Add chown to GLIBC_2.1.
6696         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
6697         * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
6698
6699 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6700
6701         * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
6702         weak alias.
6703         * sysdeps/alpha/ffs.c: Likewise.
6704         * sysdeps/am29k/ffs.c: Likewise.
6705         * sysdeps/i386/ffs.c: Likewise.
6706         * sysdeps/i960/ffs.c: Likewise.
6707         * sysdeps/m68k/ffs.c: Likewise.
6708         * sysdeps/m88k/ffs.c: Likewise.
6709         * sysdeps/powerpc/ffs.c: Likewise.
6710         * sysdeps/rs6000/ffs.c: Likewise.
6711         * sysdeps/vax/ffs.s: Likewise.
6712         * string/string.h: Declare __ffs.
6713         * libc.map: Export it.
6714         * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
6715         __builtin_ffs, which is not guaranteed to be namespace clean.
6716
6717 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6718
6719         * elf/sprof.c: Rewrite symbol handling to use the normal symbol
6720         table, which is much more likely to exist than debugging symbols.
6721         (printsym): Remove const.
6722         (load_shobj): Don't use _dl_pagesize.  Fix mapping of section
6723         header table.
6724
6725         * libc.map: Export __profile_frequency, used by elf/sprof, to
6726         avoid infinite recursion during startup.
6727
6728 1998-03-09 12:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6729
6730         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
6731         Readd lost negate.
6732
6733         * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
6734
6735 1998-03-09  Ulrich Drepper  <drepper@cygnus.com>
6736
6737         * elf/dl-support.c: Add definition of _dl_debug_impcalls.
6738
6739 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
6740
6741         * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
6742         LD_PRELOAD, and LD_VERBOSE.
6743         (dl_main): Use global variables set by process_envvars instead of
6744         calling getenv.
6745         * elf/dl-load.c (_dl_init_paths): Don't call getenv to get
6746         LD_LIBRARY_PATH value, this comes with the parameter.
6747         * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
6748         ("LD_LIBRARY_PATH") to _dl_init_paths.
6749
6750 1998-03-08 22:55  Ulrich Drepper  <drepper@cygnus.com>
6751
6752         * elf/rtld.c (dl_main): Delay initialization of path structure if
6753         the dynamically linker is invoked implicitly until we read the
6754         dynamic section.
6755
6756 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
6757
6758         * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
6759
6760 1998-03-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6761
6762         * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
6763         Linux 2.0 and 2.1.
6764
6765         * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
6766
6767 1998-03-08 14:58  Ulrich Drepper  <drepper@cygnus.com>
6768
6769         * Makeconfig (nisobjdir): Set to path to nis directory.
6770         (rpath-link): Add nisobjdir.
6771         Patch by Sven Verdoolaege <skimo@kotnet.org>.
6772
6773         * elf/Makefile: Pretty print.
6774         * elf/dl-lookup.c: Include unistd.h.
6775         * elf/dl-runtime.c: Likewise.
6776
6777         * localedata/Makefile (test-srcs): Add tst-rpmatch.
6778         (distribute): Add tst-rpmatch.sh.
6779         (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
6780
6781         New tests for rpmatch function by
6782         Jochen Hein <jochen.hein@delphi.central.de>.
6783         * localedata/tst-rpmatch.c: New file.
6784         * localedata/tst-rpmatch.sh: New file.
6785
6786         * localedata/locales/de_DE: Correct yesexpr and noexpr.
6787         * localedata/locales/de_AT: Likewise.
6788
6789         * posix/getopt.c: Update contact address.
6790         * posix/getopt1.c: Pretty print.
6791
6792         * sysdeps/generic/libc-start.c: Do most of the initialization now
6793         here instead of in start.S.
6794         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
6795         * sysdeps/i386/elf/start.S: Remove most of the initialization code.
6796
6797         * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
6798         profil_counter to be public.
6799
6800 1998-03-08 13:06  Tim Waugh  <tim@cyberelk.demon.co.uk>
6801
6802         * posix/wordexp.c (parse_arith): Now works for negative numbers too.
6803         (parse_param): Coded parameter length expansion (${#var}).
6804         (parse_param): Handling for "=", "+", "-", and the ":" versions added.
6805         (parse_param): Cleaned up (fixed) error handling.
6806
6807         * posix/wordexp-test.c: IFS now includes non-whitespace character
6808         (comma).  Added more tests.
6809
6810 1998-03-07  Ulrich Drepper  <drepper@cygnus.com>
6811
6812         * elf/link.h: Fix typos.
6813         Reported by Andreas Jaeger.
6814
6815         * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
6816         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
6817
6818 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
6819
6820         * argp/argp-help.c: Remove last bits of using gettext instead of
6821         dgettext.
6822
6823 1998-03-06 17:04  Ulrich Drepper  <drepper@cygnus.com>
6824
6825         * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
6826         __libc_start_main.
6827         * csu/Makefile (routines): Add libc-start.
6828         * elf/dl-error.c: Remove declaration of _dl_argv.  Include <unitsd.h>.
6829         * elf/dl-lookup.c: Likewise.
6830         * elf/dl-version.c: Likewise.
6831         * sysdeps/i386/dl-machine.h: Likewise.
6832         * elf/link.h: Declare _dl_argv, _dl_debug_fd.
6833         Declare _dl_sysdep_output.  Make _dl_sysdep_fatal, _dl_sysdep_error and
6834         _dl_sysdep_message macros which use _dl_sysdep_output.
6835         * elf/dl-fini.c: Write out which destructor is called while debugging.
6836         * elf/dl-init.c: Likewise for constructor.
6837         * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
6838         * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
6839         _dl_sysdep_message.  Add _dl_sysdep_output.
6840         * elf/rtld.c: Recognize LD_DEBUG_OUTPUT.  Set _dl_debug_fd if
6841         this file can be opened.
6842         For LD_DEBUG=libs also set _dl_debug_impcalls.
6843         * sysdeps/generic/dl-cache.c: Include unistd.h.
6844         * sysdeps/generic/libc-start.c: New file.
6845         * sysdeps/unix/sysv/linux/libc-start.c: New file.
6846         * sysdeps/i386/elf/start.S: Don't call main directly, call
6847         __libc_start_main instead.
6848
6849         * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
6850
6851 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
6852
6853         * nss/nsswitch.c (__nss_nscd_not_available): Removed.
6854
6855 1998-03-06 12:42  Ulrich Drepper  <drepper@cygnus.com>
6856
6857         * argp/argp.h (struct argp): Add new field domain.
6858         * argp/argp-help.c: Change all gettext calls to dgettext and use
6859         domain field from appropriate argp in call.
6860         * argp/argp-parse.c: Likewise.
6861
6862 1998-03-06 11:35  Ulrich Drepper  <drepper@cygnus.com>
6863
6864         * posix/wordexp-test.c: Change testsuite so that it can run even
6865         for ~root != /root.
6866
6867 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6868
6869         * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
6870
6871 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6872
6873         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6874         Don't store into global errno if we already store through
6875         __errno_location.
6876         * sysdeps/unix/i386/sysdep.S: Likewise.
6877         * sysdeps/unix/alpha/sysdep.S: Likewise.
6878         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6879         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
6880         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.  Add
6881         missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
6882         PIC).
6883
6884 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6885
6886         * sysdeps/generic/sysdep.h (L): Remove definition.
6887         * sysdeps/i386/sysdep.h (L): Define it here instead.
6888
6889 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6890
6891         * nis/nis_call.c (__do_niscall): Safe and reset errno.
6892
6893         * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
6894
6895 1998-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6896
6897         * sysdeps/generic/getresuid.c (__getresuid): Use ISO C
6898         declaration style to avoid warnings.
6899
6900 1998-03-06 11:48  Mark M._Kettenis  <kettenis@hall.phys.uva.nl>
6901
6902         * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
6903         "LD_DEBUG".
6904
6905 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
6906
6907         * posix/Makefile (tests): Add wordexp-test.
6908         * posix/wordexp-test.c: New file.  Testsuite for wrodexp.
6909         Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
6910
6911 1998-03-05 16:04  Ulrich Drepper  <drepper@cygnus.com>
6912
6913         * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
6914         dependencies.
6915
6916         * elf/link.h (struct r_search_path_elem): Add two new field for
6917         lib path debugging.
6918         * elf/rtld.c: Recognize LD_DEBUG environment variable and set
6919         variable accordingly.
6920         * elf/dl-load.c: If _dl_debug_libs is nonzero print what library
6921         is considered next along with information about load paths.
6922         * sysdeps/generic/dl-cache.c: Likewise.
6923         * elf/dl-support.c: Define _dl_debug_libs.
6924         * elf/genrtldtbl.awk: Add initializers for two new field in
6925         struct r_search_path_elem.
6926
6927 1998-03-06 10:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6928
6929         * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
6930         * sysdeps/m68k/lshift.S: Likewise.
6931         * sysdeps/m68k/rshift.S: Likewise.
6932         * sysdeps/m68k/sub_n.S: Likewise.
6933         * sysdeps/m68k/m68020/addmul_1.S: Likewise.
6934         * sysdeps/m68k/m68020/mul_1.S: Likewise.
6935         * sysdeps/m68k/m68020/submul_1.S: Likewise.
6936
6937         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
6938         [_LIBC_REENTRANT]: Don't store into global errno.
6939
6940         * sysdeps/m68k/sysdep.h: New file.
6941         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it.  Use the macros
6942         ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
6943         (DO_CALL): Change to expect syscall name as argument.
6944         (PSEUDO): Pass syscall_name to DO_CALL.
6945         (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
6946         errno.
6947
6948 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
6949
6950         * elf/rtld.c: Speed up processing of environment variables.  Do
6951         only one run on the environment by avoiding to call getenv.
6952         * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
6953         function.  Used by patch above.
6954
6955 1998-03-05  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6956
6957         * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
6958         running nscd.
6959         * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
6960         * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
6961         * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
6962
6963 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
6964
6965         * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
6966         module cannot be found.  Reported by Andreas Jaeger.
6967
6968 1998-03-05 11:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6969
6970         * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
6971         on platforms which default to unsigned chars.
6972         * nscd/nscd_getpw_r.c: Likewise.
6973         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
6974         defining it.
6975
6976 1998-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6977
6978         * elf/Makefile (install-bin): Change = to += for sprof to install
6979         ldd also.
6980
6981 1998-03-04 16:12  H.J. Lu  <hjl@gnu.org>
6982
6983         * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
6984
6985 1998-03-04 16:19  Ulrich Drepper  <drepper@cygnus.com>
6986
6987         * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
6988
6989 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6990
6991         * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
6992         that a failure to connect to nscd doesn't change errno.
6993
6994 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6995
6996         * manual/maint.texi (Reporting Bugs): Change
6997         bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
6998
6999         * locale/iso-4217.def: Likewise
7000
7001 1998-03-04 12:43  Ulrich Drepper  <drepper@cygnus.com>
7002
7003         * manual/texinfo.tex: Updated.
7004
7005 1998-03-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7006
7007         * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
7008         value.
7009         * sysdeps/posix/pathconf.c: Likewise.
7010         * posix/getconf.c: Print `undefined' if pathconf returns -1
7011         without setting errno.
7012
7013 1998-03-04  Ulrich Drepper  <drepper@cygnus.com>
7014
7015         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
7016         problem.
7017         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
7018         Patches by Elliot Lee <sopwith@cuc.edu>.
7019
7020 1998-03-04 09:43  Ulrich Drepper  <drepper@cygnus.com>
7021
7022         * elf/link.h (struct link_map): Add new field l_reloc_result.
7023         * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
7024         of relocation for the object to be profiled.
7025         * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
7026         to NULL.
7027         * elf/rtld.c (_dl_start): Add comment that we must not allocate an
7028         array here.
7029         * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
7030         contains a result from a previous run use this instead of computing
7031         the value again.
7032         * elf/dl-minimal.c (malloc): Remove limit for size of allocation.
7033
7034 1998-03-04 11:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7035
7036         * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
7037         offsets into the GOT.
7038         (RTLD_START): Likewise.
7039
7040 1998-03-03 17:55  Ulrich Drepper  <drepper@cygnus.com>
7041
7042         * elf/sprof.c: Cleanup a bit.
7043
7044 1998-03-03 08:01  H.J. Lu  <hjl@gnu.org>
7045
7046         * sysdeps/generic/sysdep.h (L): New. Define.
7047
7048         * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
7049
7050         * sysdeps/i386/i586/addmul_1.S: Fix a typo.
7051
7052         * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
7053         to have only one exit point for functions.
7054         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7055         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
7056         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
7057         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7058         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7059
7060 1998-03-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7061
7062         * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
7063         reset errno so that errno isn't set to ENOSYS in the first call.
7064         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
7065         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
7066         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
7067         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
7068
7069 1998-03-02 17:55  Ulrich Drepper  <drepper@cygnus.com>
7070
7071         * sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
7072         * sysdeps/i386/addmul_1.S: Likewise.
7073         * sysdeps/i386/lshift.S: Likewise.
7074         * sysdeps/i386/mul_1.S: Likewise.
7075         * sysdeps/i386/rshift.S: Likewise.
7076         * sysdeps/i386/sub_n.S: Likewise.
7077         * sysdeps/i386/submul_1.S: Likewise.
7078         * sysdeps/i386/i586/add_n.S: Likewise.
7079         * sysdeps/i386/i586/addmul_1.S: Likewise.
7080         * sysdeps/i386/i586/lshift.S: Likewise.
7081         * sysdeps/i386/i586/mul_1.S: Likewise.
7082         * sysdeps/i386/i586/rshift.S: Likewise.
7083         * sysdeps/i386/i586/sub_n.S: Likewise.
7084         * sysdeps/i386/i586/submul_1.S: Likewise.
7085
7086         * sysdeps/i386/sysdep.h: Extend last change.
7087
7088         * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
7089         to have only one exit point for functions.
7090
7091 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
7092
7093         * configure.in: Fix msgfmt test.  Fix handling of //s in sysdeps
7094         search.
7095
7096 1998-03-02 13:28  Ulrich Drepper  <drepper@cygnus.com>
7097
7098         * Makerules: Generate libc.so with absolute paths for the used
7099         shared objects.
7100
7101         * config.make.in: Add MAKEINFO definition.
7102
7103 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
7104
7105         * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
7106         (ENTRY): Use STABS_FUN.
7107         (END): Use STABS_FUN_END.
7108         (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
7109
7110         * elf/Makefile: Add rules to build sprof program.
7111         * elf/sprof.c: New file.
7112
7113 1998-02-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7114
7115         * misc/syslog.c (openlog_internal): Insert missing closing brace.
7116
7117 1998-02-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7118
7119         * configure.in: Check for working msgfmt version (from GNU gettext
7120         0.10 or later).
7121
7122 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
7123
7124         * configure.in: Avoid //s in sysdirs.
7125         Patch by Roland McGrath.
7126
7127         * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
7128
7129 1998-03-02 07:17  H.J. Lu  <hjl@gnu.org>
7130
7131         * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
7132         setting _dl_global_scope for RTLD_GLOBAL.
7133
7134 1998-02-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7135
7136         * sysdeps/unix/make-syscalls.sh: Fix last change so that all
7137         possible lists of object-suffixes are taken care of.
7138
7139 1998-03-02 10:16  Ulrich Drepper  <drepper@cygnus.com>
7140
7141         * timezone/private.h: Update from tzcode1998c.
7142         * timezone/zic.c: Likewise.
7143         * timezone/antarctica: Updated from tzdata1998c.
7144         * timezone/asia: Likewise.
7145         * timezone/australasia: Likewise.
7146         * timezone/europe: Likewise.
7147         * timezone/southamerica: Likewise.
7148
7149 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
7150
7151         * posix/glob.c (glob_in_dir): Add support for cases insensitive
7152         VMS.  Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
7153
7154 1998-03-01 19:05  H.J. Lu  (hjl@gnu.org)
7155
7156         * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
7157         Changed type of TWO43, TWO52 from float to double.
7158         * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
7159         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
7160         Changed type of TWO43 from float to double.
7161         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
7162         Use __isinff.
7163
7164 1998-03-01 18:52  H.J. Lu  (hjl@gnu.org)
7165
7166         * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
7167         osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
7168         osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
7169
7170 1998-03-01 09:11  Richard Henderson  <rth@cygnus.com>
7171
7172         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
7173         kernel_termios.h.
7174         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
7175         Clean up random whitespace.
7176         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
7177         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
7178         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
7179         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
7180
7181 1998-03-01 08:31  Richard Henderson  <rth@cygnus.com>
7182
7183         * shlib-versions: Match alpha*.
7184         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
7185         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
7186
7187         * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
7188         Implement copysign* with and without __ prefix.
7189         Likewise for fabs; use builtin for gcc 2.8.
7190         (floor*): New.
7191         (fdim*): New.
7192
7193         * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
7194         (R_SPARC*): Match current v9 ABI.
7195
7196         * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
7197
7198         * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
7199         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
7200         * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
7201         * sysdeps/generic/getresgid.c: Use prototype form because of warning.
7202         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
7203         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
7204         * sysdeps/unix/grantpt.c (argv): Fix consts.
7205         * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
7206         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7207
7208 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7209
7210         * misc/syslog.c: Change to allow user the interpretation of the
7211         outcome even with syslog having no return value.
7212
7213 1998-02-05 20:41  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
7214
7215         * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
7216         that the number of program headers is >0 (which is wrong for the
7217         loader itself).
7218
7219 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7220
7221         * Makefile (distribute): Add README.libm.
7222
7223 1998-02-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7224
7225         * time/clocktest.c (main): Correct typo: "--" -> "==".
7226
7227 1998-02-25 20:53  H.J. Lu  <hjl@gnu.org>
7228
7229         * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
7230         inline function.
7231         (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
7232         inline functions.
7233
7234         * math/libm.map (__atan2): Added.
7235
7236 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7237
7238         * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
7239         Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
7240
7241         * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
7242         bug.
7243
7244 1998-02-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7245
7246         * manual/arith.texi (Old-style number conversion): Correct
7247         typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
7248
7249 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7250
7251         * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
7252         but does not require it.  Handle missing argv[] values gracefully.
7253         * posix/execl.c: Likewise.
7254         * posix/execle.c: Likewise.
7255
7256 1998-02-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7257
7258         * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
7259         bit.
7260         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
7261
7262 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7263
7264         * libc.map: Add __adjtimex.
7265
7266 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7267
7268         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
7269         Remove memset.
7270
7271 1998-02-24 08:10  H.J. Lu  <hjl@gnu.org>
7272
7273         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
7274         to 64.
7275
7276         * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
7277
7278         * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
7279         * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.
7280
7281         * sysdeps/unix/make-syscalls.sh: Make versioned symbols only
7282         for shared library.
7283
7284         * libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
7285
7286         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
7287         Added adjtimex and old_adjtimex.
7288
7289         * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
7290         New.
7291         (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
7292         osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.
7293
7294         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
7295         symbols only for shared library.
7296         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
7297         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
7298         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
7299         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
7300         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
7301         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
7302         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
7303
7304         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
7305         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
7306         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
7307         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
7308         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
7309         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
7310         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
7311         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
7312
7313         * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
7314         rusage pointer.
7315
7316         * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
7317         New macros.
7318         (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
7319         timex and __adjtimex, respectively.
7320
7321         * sysdeps/unix/sysv/linux/alpha/adjtime.c: New.
7322
7323         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.
7324
7325 1998-02-25 08:28  H.J. Lu  <hjl@gnu.org>
7326
7327         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
7328         for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.
7329
7330 1998-02-26 14:59  Ulrich Drepper  <drepper@cygnus.com>
7331
7332         * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.
7333
7334 1998-02-19 11:00  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7335
7336         * Makefile.in: Disable built-in rules.
7337
7338 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7339
7340         * sysdeps/i386/fpu/t_exp.c: Move to ...
7341         * sysdeps/libm-i387/t_exp.c: ... here.
7342
7343 1998-02-21 13:51  H.J. Lu  <hjl@gnu.org>
7344
7345         * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
7346         from __exp2_deltatable.
7347
7348 1998-02-26  Ulrich Drepper  <drepper@cygnus.com>
7349
7350         * nis/ypclnt.c (yp_master): Check result of strdup.
7351         Patch by Thorsten Kukuk.
7352
7353 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7354
7355         * nis/ypclnt.c: Give clnt handle after error checking free, change
7356         return codes to fix problems with rpc.nisd in YP mode on Ultra's.
7357
7358 1998-02-26 09:00  Ulrich Drepper  <drepper@cygnus.com>
7359
7360         * misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
7361         Patch by Joe Keane <jgk@jgk.org>.
7362
7363         * misc/fstab.h (struct fstab): Change fs_type member to be const.
7364         * misc/fstab.c: Remove casts in fs_type assignments.
7365
7366 1998-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7367
7368         * sysdeps/i386/fpu/bits/fenv.h: Correct typo.  ISO C 9X defines
7369         FE_TOWARDZERO and not FE_TOWARDSZERO.  Reported by H.J. Lu.
7370         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
7371         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
7372         * sysdeps/powerpc/bits/fenv.h: Likewise.
7373         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
7374         * sysdeps/generic/bits/fenv.h: Likewise.
7375         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
7376         * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
7377         * sysdeps/powerpc/test-arith.c (main): Likewise.
7378
7379 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
7380
7381         * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
7382         the comparison macros.
7383
7384 1998-02-21 20:14  H.J. Lu  <hjl@gnu.org>
7385
7386         * sysdeps/libm-ieee754/s_log2.c (ln2): Added.
7387         (__log2): Fixed return values.
7388         * sysdeps/libm-ieee754/s_log2f.c: Likewise.
7389
7390 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
7391
7392         * math/math.h (isunordered): Rename local variables to ensure
7393         correct code.  Reported by HJ Lu.
7394
7395 1998-02-25 10:34  Ulrich Drepper  <drepper@cygnus.com>
7396
7397         * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
7398         isless, islessequal, islessgreater, isunordered): Fix syntax for
7399         fucompip instruction.
7400         (isless, islessequal): Fix logic.
7401
7402 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7403
7404         * math/libm-test.c (sqrt_test): Add test for sqrt(2).
7405         (comparisons_test): New tests for comparison macros.
7406
7407 1998-02-24 15:12  Ulrich Drepper  <drepper@cygnus.com>
7408
7409         * Makeconfig: Filter out frame-pointer effecting options when
7410         compiling profiling or debugging code.
7411         * config.h.in (internal_function): Don't define here if PROF is
7412         defined.
7413         * gmon/gmon.c (__moncontrol): Don't change state if already in error
7414         state.
7415         (__monstartup): If calloc fails set error state and mark array as
7416         not allocated.
7417         (_mcleanup): Don't call write_gmon if in error state.  Don't try
7418         to free array if not  successfully allocated.
7419
7420         * elf/dl-load.c (STRING): Define to __STRING to enble expansion.
7421         Include elf.h to get macro definitions.
7422         Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
7423
7424 1998-02-24 09:40  Ulrich Drepper  <drepper@cygnus.com>
7425
7426         * elf/ldd.sh.in: Add compatibility for broken old shells.
7427         * elf/ldd.bash.in: Likewise.
7428
7429 1998-02-24 08:11  H.J. Lu  <hjl@gnu.org>
7430
7431         * sunrpc/rpc_main.c (open_input): Check pipe return error.
7432
7433         * time/clocktest.c (main): Check signal return error.
7434
7435 1998-02-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7436
7437         * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
7438         "/" and use do-install-program. Reported by Mark M. Kettenis.
7439         (subdir_install):  Likewise.
7440
7441 1998-02-22  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7442
7443         * sunrpc/rpc_sample.c: Fix typo.
7444
7445         * nscd/connections.c: Use locale.
7446         * nscd/grpcache.c: Add debug messages, gidtbl should get the
7447           calloc result.
7448         * nscd/nscd.c: Check if init functions fails.
7449         * nscd/nscd_conf.c: Allow disabling of group cache.
7450         * nscd/nscd_getgr_r.c: Fix return code if group not found.
7451         * nscd/pwdcache.c: Fix debug messages.
7452
7453 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7454
7455         * libc.map: Add __monstartup and _mcleanup for profiling support.
7456
7457 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7458
7459         * libc.map: Export __getpagesize, for binary compatibility with
7460         2.0.
7461
7462 1998-02-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7463
7464         * posix/globtest.sh: Use --library-path instead of
7465         LD_LIBRARY_PATH.
7466         * localedata/sort-test.sh: Likewise.
7467         * localedata/tst-fmon.sh: Likewise.  Avoid useless use of cat.
7468
7469 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7470
7471         * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
7472         sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
7473         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7474
7475         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
7476         kernel_sigaction): Define.
7477         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
7478         kernel_sigaction): Define.
7479
7480 1998-02-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7481
7482         * math/libm-test.c: Change epsilons for libm-ieee754.
7483
7484 1998-02-23 12:33  Ulrich Drepper  <drepper@cygnus.com>
7485
7486         * sysdeps/i386/__longjmp.S: Fix race condition.
7487         Reported by Bruno Haible <haible@ilog.fr>.
7488
7489 1998-02-20 18:43  Ulrich Drepper  <drepper@cygnus.com>
7490
7491         * hesiod/hesiod.c: Pretty print.  Don't use __ protected names.
7492         * iconvdata/8bit-gap.c: Likewise.
7493         * iconvdata/8bit-generic.c: Likewise.
7494         * iconvdata/iso6937.c: Likewise.
7495         * iconvdata/iso8859-1.c: Likewise.
7496         * iconvdata/sjis.c: Likewise.
7497         * iconvdata/t61.c: Likewise.
7498
7499 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7500
7501         * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
7502         feature tests by positive feature tests.
7503
7504 1998-02-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7505
7506         * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.
7507
7508 1998-02-20  Ulrich Drepper  <drepper@cygnus.com>
7509
7510         * elf/dlvsym.c (dlvsym_doit): More corrections.
7511         Patch by Andreas Jaeger.
7512
7513 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
7514
7515         * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.
7516
7517 1998-02-19 17:16  Ulrich Drepper  <drepper@cygnus.com>
7518
7519         * libc.map: More reordering for GLIBC_2.1 symbols.
7520
7521 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7522
7523         * libc.map: Move some functions from version GLIBC_2.0 to
7524         GLIBC_2.1, reorder declarations.
7525
7526 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
7527
7528         * resolv/gethnamaddr.c (addrsort): Make this function extern.
7529         Patch by zab@thebrain.grumblesmurf.net.
7530
7531 1998-02-19  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7532
7533         * nis/libnsl.map: NIS+ support is new in glibc 2.1, add
7534         NIS+ functions with version GLIBC_2.1.
7535
7536 1998-02-19 14:05  Ulrich Drepper  <drepper@cygnus.com>
7537
7538         * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
7539         with 2.0 binaries.  Reported by Thorsten Kukuk.
7540
7541 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7542
7543         * elf/dlvsym.c (dlvsym_doit): Correct last patch.
7544
7545         * elf/dlsym.c (dlsym_doit): Likewise.
7546
7547 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7548
7549         * elf/link.h: Correct typos.
7550
7551         * iconv/iconv_prog.c: Correct typo.
7552
7553 1998-02-18 17:57  Ulrich Drepper  <drepper@cygnus.com>
7554
7555         * iconv/Makefile: Add rules to build and install iconv program.
7556         * iconv/iconv_prog.c: New file.
7557
7558 1998-02-18 16:34  H.J. Lu  <hjl@gnu.org>
7559
7560         * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
7561         _dl_lookup_symbol_skip call.
7562         * elf/dlvsym.c (dlvsym_doit): Likewise.
7563
7564 1998-02-18  Ulrich Drepper  <drepper@cygnus.com>
7565
7566         * libio/iovsscanf.c: Do not include errno.h.
7567
7568 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7569
7570         * elf/dl-load.c (add_name_to_object): Don't translate strings.
7571         * elf/dl-minimal.c (_strerror_internal): Define it here to avoid
7572         pulling in the whole error list.
7573         (__dcgettext, dcgettext): Removed.
7574         * libc.map: Export _strerror_internal.
7575
7576 1998-02-18 10:50  Ulrich Drepper  <drepper@cygnus.com>
7577
7578         * sysdeps/i386/fpu/t_exp.c: New file.
7579
7580 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7581
7582         * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add
7583         everything with version GLIBC_2.1.
7584         * hesiod/libnss_hesiod.map: Likewise.
7585
7586 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7587
7588         * manual/arith.texi (Old-style number conversion): This node is a
7589         section, not a subsection.
7590
7591 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7592
7593         * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy.
7594
7595 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7596
7597         * elf/rtld.c (dl_main): Make sure that the library search paths
7598         have been initialized before the first call to _dl_map_object.
7599
7600 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7601
7602         * Makerules (common-generated): Add libc_pic.os.
7603
7604 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7605
7606         * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address
7607         of the executable.
7608
7609 1998-02-18 10:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7610
7611         * sysdeps/m68k/fpu/t_exp.c: New file.
7612
7613 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
7614
7615         * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
7616         to global errno variable anymore.
7617
7618 1998-02-17 17:41  Ulrich Drepper  <drepper@cygnus.com>
7619
7620         * elf/dl-load.c (open_path): Take extra argument PRELOADED.
7621         If PRELOADED is nonzero check in case of an SUID application
7622         whether the shared object has the SUID bit set.
7623         Fix some other problems with handling shared objects in system
7624         specific directories.
7625         (_dl_map_object): Also take extra parameter and pass it to open_path.
7626         * elf/link.h (_dl_map_object): Correct prototype and comment.
7627         * elf/rtld.c (dl_main): Call _dl_map_object correctly.
7628         * elf/dl-open.c (_dl_open): Likewise.
7629         * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.
7630
7631         * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
7632
7633 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
7634
7635         * math/libm-test.c (modf_test): Add test for 1.5.
7636
7637         * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
7638         0 to get always an int.
7639
7640 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7641
7642         * math/libm.map: Move all symbols that are new in glibc 2.1 to
7643         version GLIBC_2.1.
7644
7645 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
7646
7647         * stdio-common/vfscanf.c (inchar): Check c for being EOF before
7648         trying to read another character.
7649
7650 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7651
7652         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
7653         name to lowercase.
7654
7655         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
7656         name to lowercase, add test for big enough buffer.
7657
7658 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7659
7660         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
7661         Make compatible with older kernels.  Patch by Richard Henderson.
7662
7663 1998-02-17 15:10  Ulrich Drepper  <drepper@cygnus.com>
7664
7665         * elf/dl-load.c (open_path): Use __xstat instead of stat.
7666
7667         * localedata/tst-locale.sh: Comment out first test for now.
7668
7669 1998-02-14 14:58  H.J. Lu  <hjl@gnu.org>
7670
7671         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
7672         as 1.
7673         * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7674         Likewise.
7675
7676         * libio/iogetline.c (_IO_getline_info): Renamed from
7677         _IO_getline.
7678         (_IO_getline): Just call _IO_getline_info.
7679
7680         * libio/libioP.h (_IO_getline_info): New declaration.
7681
7682         * libc.map (_IO_getline_info, __write): Added.
7683
7684 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7685
7686         * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
7687         const char* to shut up gcc.
7688
7689 1998-02-17 11:37  Ulrich Drepper  <drepper@cygnus.com>
7690
7691         * elf/dl-open.c (_dl_open): Assign correct value to new->l_global.
7692         Patch forwarded by Cristian Gafton <gafton@redhat.com>.
7693
7694         * math/math.h: Define M_* constants always as `double' and add new
7695         macros M_*l which are of type `long double'.
7696         * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
7697         * sysdeps/libm-ieee754/s_cacosl.c: Likewise.
7698         * sysdeps/libm-ieee754/s_casinhl.c: Likewise.
7699         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
7700         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
7701         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
7702         * sysdeps/libm-ieee754/s_clogl.c: Likewise.
7703         * math/libm-tst.c: Likewise.
7704
7705         * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
7706         define as long double unconditionally.
7707
7708 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7709
7710         * manual/arith.texi (Old-style number conversion): Correct some
7711         typos.
7712
7713 1998-02-16 16:28  H.J. Lu  <hjl@gnu.org>
7714
7715         * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
7716         Restore.
7717
7718         * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.
7719
7720 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
7721
7722         * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
7723         on $(rtld-ldscript).
7724
7725         * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
7726         starting from 0 not only from `from'.
7727         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7728
7729 1998-02-16 17:33  Ulrich Drepper  <drepper@cygnus.com>
7730
7731         * elf/rtld.c (dl_main): Recognize --library-path parameter and
7732         pass value (or NULL) to _dl_init_paths.
7733         * elf/dl-load.c (_dl_init_paths): Change to take one parameter,
7734         replacing local variable llp.  If llp is NULL examine LD_LIBRARY_PATH
7735         environment variable.
7736         * elf/link.h: Change prototype for _dl_init_paths.
7737         * elf/dl-support.c: Pass NULL in _dl_init_paths call.
7738
7739         * localedata/Makefile (distribute): Add test files.
7740
7741 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7742
7743         * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
7744         test1.def, test2.def, test3.def, test4.def}: Simple input files
7745         for localedef. Contributed by Yung-Ching Hsiao
7746         <yhsiao@cae.wisc.edu>.
7747
7748         * localedata/Makefile (tests): Call tst-locale.sh.
7749
7750         * localedata/tst-locale.sh: New file, regression tests for some
7751         localedef problems.
7752
7753 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7754
7755         * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.
7756
7757         * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
7758         terminated.
7759         * nis/nss_nisplus/nisplus-network.c: Likewise.
7760         * nis/nss_nisplus/nisplus-proto.c: Likewise.
7761         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
7762         * nis/nss_nisplus/nisplus-service.c: Likewise.
7763
7764         Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
7765         and support generating thread safe RPC code.
7766         * sunrpc/rpc_main.c: Add changes.
7767         * sunrpc/rpc_clntout.c: Likewise.
7768         * sunrpc/rpc_cout.c: Likewise.
7769         * sunrpc/rpc_hout.c: Likewise.
7770         * sunrpc/rpc_parse.c: Likewise.
7771         * sunrpc/rpc_sample.c: Likewise.
7772         * sunrpc/rpc_scan.c: Likewise.
7773         * sunrpc/rpc_svcout.c: Likewise.
7774         * sunrpc/rpc_util.c: Likewise.
7775         * sunrpc/rpc_util.h: Add new structs and prototypes.
7776         * sunrpc/proto.h: Remove prototypes for static functions.
7777
7778 1998-02-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7779
7780         * locale/programs/ld-messages.c (messages_finish): Don't skip
7781         error checking when being quiet.
7782         * locale/programs/ld-ctype.c (ctype_finish): Likewise.
7783         (set_class_defaults): Likewise.
7784         * locale/programs/charmap.c (parse_charmap): Likewise.
7785         * locale/programs/ld-collate.c (collate_finish): Likewise.
7786         * locale/programs/ld-monetary.c (monetary_finish): Likewise.
7787         * locale/programs/ld-time.c (time_finish): Likewise.
7788         * locale/programs/locfile.c (write_locale_data): Likewise.
7789
7790         * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
7791         unknown characters and empty ranges.
7792         * locale/programs/ld-collate.c (collate_order_elem): When
7793         processing an ellipsis properly form a linked list in the result
7794         table, fix typo when allocating ordering array.
7795         [PR libc/419]
7796
7797 1998-02-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7798
7799         * elf/Makefile (ld-map): Define.
7800         (rtld-ldscript): Define.  Change all `$(objpfx)rtld-ldscript' to
7801         `$(rtld-ldscript)'.
7802         ($(objpfx)ld.so): Combine the two versions of this rule.  Depend
7803         on $(ld-map).
7804         (rtld-link): Combine the two versions of this definition.  Fixed
7805         to make it work when no symbol versioning is used.
7806
7807 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
7808
7809         * Makeconfig (build-program-cmd): Use --library-path parameter to
7810         ld.so instead of environment variable.
7811
7812         * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
7813         * sunrpc/rpc_main.c: Remove support for -$$ option again.
7814
7815 1998-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7816
7817         * Make-dist: Respect with-cvs setting.
7818         * MakeTAGS (all-pot): Likewise.
7819         * sysdeps/sparc/sparc32/Makefile: Likewise.
7820         * sysdeps/mach/hurd/Makefile: Likewise.
7821         * stdlib/Makefile: Likewise.
7822         * posix/Makefile: Likewise.
7823         * intl/Makefile: Likewise.
7824         * po/Makefile (linguas): Likewise
7825
7826 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7827
7828         * nis/ypclnt.c (yp_all): Remove error message, user should print it.
7829
7830 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
7831
7832         * libc.map: Add __strcasecmp.
7833
7834         * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
7835         module.
7836
7837         * nss/getXXent_r.c: If no more module is found don't try to call
7838         setXXent functions but leave unsuccessfully.
7839
7840         * malloc/obstack.h: Cleanups.
7841
7842         * sysdeps/wordsize-32/stdint.h: New file.
7843         * sysdeps/wordsize-64/stdint.h: New file.
7844         * sysdeps/generic/stdint.h: New file.
7845         * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h.
7846         * sysdeps/wordsize-64/inttypes.h: Likewise.
7847         * stdlib/Makefile (headers): Add stdint.h.
7848
7849 1998-02-03  Paul Eggert  <eggert@twinsun.com>
7850
7851         * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.
7852
7853 1998-02-13 17:59  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7854
7855         * timezone: New directory.
7856         * time/README, time/africa, time/antarctica, time/asia,
7857         time/australasia, time/backward, time/checktab.awk,
7858         time/etcetera, time/europe, time/factory, time/ialloc.c,
7859         time/iso3166.tab, time/leapseconds, time/northamerica,
7860         time/pacificnew, time/private.h, time/scheck.c,
7861         time/solar87, time/solar88, time/solar89, time/southamerica,
7862         time/systemv, time/test-tz.c, time/tzfile.h,
7863         time/tzselect.ksh, time/yearistype, time/zdump.c,
7864         time/zic.c, time/zone.tab: Moved to timezone.
7865         * time/tzfile.c: Include tzfile.h from timezone subdir.
7866         * time/tzset.c: Likewise.
7867         * time/Makefile: Cut out all code relating to timezones...
7868         * timezone/Makefile: ...and paste it in here.
7869         * Makefile (subdirs): Add timezone.
7870
7871 1998-02-13 18:45  H.J. Lu  <hjl@gnu.org>
7872
7873         * libc.map (_sys_nerr): Added.
7874
7875         * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it
7876         versioned symbol.
7877
7878 1998-02-15 17:16  Ulrich Drepper  <drepper@cygnus.com>
7879
7880         * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
7881         pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
7882         Reported by Craig Metz <cmetz@inner.net>.
7883
7884 1998-01-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7885
7886         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
7887         instead of strcasecmp.
7888         * nss/nss_files/files-alias.c (get_next_alias): Likewise.
7889
7890         * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8.
7891
7892 1998-02-15 16:55  Ulrich Drepper  <drepper@cygnus.com>
7893
7894         * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
7895         Patch by Dean Gaudet <dgaudet@arctic.org>.
7896
7897 1998-02-15 16:53  Ulrich Drepper  <drepper@cygnus.com>
7898
7899         * sysdeps/generic/Dist: Add getresgid.c and getresuid.c.
7900
7901 1998-02-15 10:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7902
7903         * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel
7904         with no poll syscall, just include the BSD version.
7905         * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a
7906         kernel without the syscall, include the stub version.
7907         * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
7908         * sysdeps/generic/getresuid.c: New file.
7909         * sysdeps/generic/getresgid.c: New file.
7910
7911 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
7912
7913         * stdio-common/vfscanf.c: Correct last change a bit.
7914
7915 1998-02-13 17:39  Ulrich Drepper  <drepper@cygnus.com>
7916
7917         * elf/Makefile: Don't use --version-script parameter to link ld.so
7918         unconditionally.
7919
7920 1998-01-02 04:19  Geoff Keating  <geoffk@ozemail.com.au>
7921
7922         * math/Makefile: Add t_exp.
7923         * math/libm-test.c: Tighten accuracy bounds for exp(), correct
7924         constants.
7925         * math/test-reduce.c: Remove temporarily, it seems to be broken.
7926         * sysdeps/libm-ieee754/e_exp.c: Use accurate table method.
7927         * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for
7928         better accuracy.
7929         * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct
7930         algorithm for very large/very small arguments.
7931         * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial;
7932         correct algorithm for very large/very small arguments; adjust for
7933         new table.
7934         * sysdeps/libm-ieee754/t_exp.c: New file.
7935         * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas.
7936
7937         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test'
7938         back, with comment that explains what breaks when you remove it :-(.
7939
7940         * localedata/xfrm-test.c: Avoid integer overflow.
7941
7942         * stdlib/strfmon.c: char is unsigned, sometimes.
7943
7944         * sysdeps/powerpc/Makefile: Remove quad float support.
7945         * sysdeps/powerpc/q_*.c: Remove, they will become an add-on.
7946         * sysdeps/powerpc/quad_float.h: Likewise.
7947         * sysdeps/powerpc/test-arith.c: Likewise.
7948         * sysdeps/powerpc/test-arithf.c: Likewise.
7949
7950         * sysdeps/generic/s_exp2.c: Remove, we have this implemented now.
7951         * sysdeps/generic/s_exp2f.c: Likewise.
7952
7953         * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__,
7954         don't try anything if _SOFT_FLOAT.
7955
7956 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7957
7958         * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
7959         * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
7960         * wctype/wctype.c: Likewise.
7961         * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
7962         changed.  They are incompatible with the _ISxxx values from
7963         <ctype.h> on little endian machines.
7964         (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
7965         bit number.  This fixes the real bug and restores the integrity of
7966         the ctype locale file.
7967         * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
7968         * wctype/wcfuncs_l.c: Likewise.
7969         * wctype/wcextra.c: Likewise.
7970         * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
7971         byte swapping.
7972
7973 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7974
7975         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it
7976         into .bss segment instead of .common, so that aliases on it work.
7977
7978         * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and
7979         .size directives, put into .bss segment instead of initializing it
7980         to 4.
7981
7982 1998-02-12 08:00  H.J. Lu  <hjl@gnu.org>
7983
7984         * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added.
7985
7986         * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New
7987         functions.
7988         Make names without __ weak aliases.
7989         (__libc_release, __libc_version): Make them static.
7990
7991         * include/gnu/libc-version.h: New file.
7992         * Makefile (headers): Add gnu/libc-version.h.
7993
7994 1998-02-13  Ulrich Drepper  <drepper@cygnus.com>
7995
7996         * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
7997         and use x for member name.
7998         Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
7999
8000         * stdlib/drand48.c: Change according to member name change.
8001         * stdlib/drand48_r.c: Likewise.
8002         * stdlib/lcong48_r.c: Likewise.
8003         * stdlib/lrand48.c: Likewise.
8004         * stdlib/lrand48_r.c: Likewise.
8005         * stdlib/mrand48.c: Likewise.
8006         * stdlib/mrand48_r.c: Likewise.
8007         * stdlib/seed48.c: Likewise.
8008         * stdlib/seed48_r.c: Likewise.
8009         * stdlib/srand48_r.c: Likewise.
8010
8011 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8012
8013         * nss/test-netdb.c: Add some more test cases.
8014
8015 1998-02-13 11:39  Ulrich Drepper  <drepper@cygnus.com>
8016
8017         * libio/iovsscanf.c: Undo last change modifying errno.
8018
8019 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8020
8021         * stdio-common/vfscanf.c: Never try to read another character
8022         after EOF.  Don't decrement read_in after EOF, it wasn't
8023         incremented in the first place.
8024         (NEXT_WIDE_CHAR): Set First, not first.
8025
8026 1998-02-06 07:48  H.J. Lu  <hjl@gnu.org>
8027
8028         * db/Makefile ($(inst_libdir)/libndbm.a,
8029         $(inst_libdir)/libndbm.so): New targets.
8030         * db2/Makefile: Likewise.
8031
8032 1998-02-12 08:20  H.J. Lu  <hjl@gnu.org>
8033
8034         * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak
8035         aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined.
8036
8037 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8038
8039         * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++
8040         <streambuf.h>.
8041         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
8042
8043 1998-02-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8044
8045         * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with
8046         versioned symbols.
8047
8048 1998-02-13 08:14  H.J. Lu  <hjl@gnu.org>
8049
8050         * libc.map (_dl_global_scope, _dl_lookup_symbol_skip,
8051         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip):
8052         Added for libdl.so.
8053
8054 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8055
8056         * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
8057         extra syscall.
8058
8059         * grp/Makefile: Fix logic when checking for thread package.
8060         * pwd/Makefile: Likewise.
8061
8062 1998-02-11 08:23  H.J. Lu  <hjl@gnu.org>
8063
8064         * elf/Makefile (rtld-map): Replaced by libc-map.
8065
8066         * elf/rtld.map: Removed.
8067
8068         * libc.map (__libc_enable_secure, _dl_catch_error,
8069         _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state,
8070         _dl_default_scope, _dl_global_scope_end, _dl_init_next,
8071         _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps,
8072         _dl_object_relocation_scope, _dl_relocate_object,
8073         _dl_signal_error, _dl_starting_up, _dl_sysdep_start,
8074         _r_debug): Added for ld.so.
8075
8076 1998-02-10 08:38  H.J. Lu  <hjl@gnu.org>
8077
8078         * libio/iofclose.c: Check PIC && DO_VERSIONING instead of
8079         DO_VERSIONING.
8080         * libio/iofdopen.c: Ditto.
8081         * libio/iofopen.c: Ditto.
8082         * libio/oldfileops.c: Ditto.
8083
8084         * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for
8085         version GLIBC_2.1.
8086
8087         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed
8088         oldsiglist from sysdep_routines and shared-only-routines.
8089
8090         * sysdeps/unix/sysv/linux/errlist.c: New.
8091         * sysdeps/unix/sysv/linux/errlist.h: New.
8092         * sysdeps/unix/sysv/linux/sizes.h: New.
8093         * sysdeps/unix/sysv/linux/alpha/sizes.h: New.
8094         * sysdeps/unix/sysv/linux/sparc64/sizes.h: New.
8095
8096         * sysdeps/unix/sysv/linux/oldsiglist.c: Removed.
8097
8098         * sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>.
8099         (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size
8100         directive.
8101
8102         * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New.
8103
8104         * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added.
8105         (oldsiglist.c): Removed.
8106
8107         * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New.
8108         (_sys_siglist): Use SYS_SIGLIST instead.
8109         (_sys_nerr): Use SYS_NERR instead.
8110
8111         * sysdeps/gnu/errlist.c: Rebuilt.
8112
8113 1998-02-11 08:35  H.J. Lu  <hjl@gnu.org>
8114
8115         * elf/Makefile (others-static): New, set to ldconfig.
8116         ($(objpfx)ldconfig): Removed.
8117
8118         * Rules (binaries-all, binaries-static, binaries-shared): New.
8119         Create targets for $(binaries-static) and $(binaries-shared).
8120
8121         * Makeconfig (+link-static, link-libc-static,
8122         link-extra-libs-static): New for static linking.
8123
8124 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8125
8126         * manual/memory.texi (Using the Memory Debugger): Fix typo.
8127
8128         * math/libm-test.c (modf_test): Add one more test for modf.
8129
8130 1998-02-11 14:39  Ulrich Drepper  <drepper@happy.cygnus.com>
8131
8132         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
8133         Rename from __libc_have_rt_sigs and leave as COMMON data.
8134
8135 1998-02-11 08:30  H.J. Lu  <hjl@gnu.org>
8136
8137         * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead
8138         of __finite.
8139
8140 1998-02-11 19:16  Richard Henderson  <rth@cygnus.com>
8141
8142         * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
8143
8144 1998-02-11 16:56  Ulrich Drepper  <drepper@happy.cygnus.com>
8145
8146         * misc/tst-efgcvt.c: Add yet more tests.
8147         * misc/efgcvt_r.c: And correct for these tests again.
8148         Reported by HJ Lu.
8149
8150         * isomac.c: Move to...
8151         * stdlib/isomac.c: ...here.
8152         * Makefile: Move rules for handling isomac...
8153         * stdlib/Makefile: ...to here.
8154
8155 1998-02-10 23:57  Ulrich Drepper  <drepper@happy.cygnus.com>
8156
8157         * misc/tst-efgcvt.c: Add more tests.
8158         * misc/efgcvt_r.c: Correct result for above new tests.
8159
8160 1998-02-06 17:22  H.J. Lu  <hjl@gnu.org>
8161
8162         * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
8163         NDIGIT <= 0.
8164
8165 1998-02-10 16:48  Philip Blundell  <pb@nexus.co.uk>
8166
8167         * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
8168         if the programs weren't built.
8169
8170 1998-02-09 10:12  Philip Blundell  <pb@nexus.co.uk>
8171
8172         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
8173         FE_TONEAREST, soldier on regardless and do the best we can.
8174         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
8175
8176 1998-02-5 17:20  Philip Blundell  <pb@nexus.co.uk>
8177
8178         * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
8179         _STDIO_H, before including <bits/stdio_lim.h>.
8180
8181         * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
8182
8183         * io/fts.c (fts_build): Don't try to use d_type if it doesn't
8184         exist.
8185
8186         * sysdeps/arm/sys/ucontext.h: New file.
8187
8188 1998-02-04 10:11  Philip Blundell  <pb@nexus.co.uk>
8189
8190         * manual/stdio.texi (Formatted Output Functions): Explicitly say
8191         that the return value from snprintf() does not count the
8192         terminating NUL as a character.
8193
8194 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
8195
8196         * manual/users.texi: Rewrite to describe correct POSIX behaviour,
8197         add description for sete[ug]id and general cleanup.
8198         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8199
8200 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8201
8202         * Makefile (parent-clean): Don't remove makefile fragments here.
8203         (postclean): New variable.
8204         (clean): Remove makefile fragments here.
8205         (realclean distclean): Likewise.  Pass sysdep-subdirs to sub-make.
8206         (generated): Add isomac and isomanc.out.
8207         * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
8208         avoid-generated is set.
8209         (postclean-generated): Add soversion.mk.
8210         ($(common-objpfx)version.mk): Don't include if avoid-generated is
8211         set.
8212         * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
8213         avoid-generated is set.
8214         (common-generated): Add libc.so and libc.so$(libc.so-version).
8215         (generated): Add versioned libraries.
8216         (common-mostlyclean): Also remove %.so and %_pic.a.
8217         * csu/Makefile (generated): Add abi-tag.h.
8218         * db2/Makefile (extra-objs): Add getlong.o.
8219         * elf/Makefile (generated): Add ld.so, ldd and
8220         $(rtld-installed-name).
8221         (others): Add ldconfig here instead of ldconfig.o to extra-objs.
8222         * malloc/Makefile (generated): Add mtrace.
8223         * po/Makefile: Don't include version.mk, not needed any more.
8224         * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
8225         * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
8226         syscall.h -> sys/syscall.h.
8227         (common-generated): Add s-proto.d.
8228         (postclean-generated): Add sysd-syscalls.
8229         * localedata/Makefile (test-output): Add all output files.
8230         (generated): Add test-input and test-output.
8231         (generated-dirs): Add all the dirs.
8232
8233 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8234
8235         * Makefile (test-output, generated, generated-dirs): New
8236         variables.
8237
8238 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
8239
8240         * resolv/nss_dns/dns-host.c: Various code cleanups.
8241
8242 1998-02-09 08:10  H.J. Lu  <hjl@gnu.org>
8243
8244         * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
8245         From Philip Blundell <pb@nexus.co.uk>.
8246         * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
8247
8248 1998-02-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8249
8250         * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
8251         Suggested by debian/sparc porters.
8252
8253 1998-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8254
8255         * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
8256         for ecvt and fcvt.
8257
8258 1998-02-10 16:32  Ulrich Drepper  <drepper@happy.cygnus.com>
8259
8260         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
8261         __fxstat instead of stat and fstat.  Use namespace clean __stpcpy.
8262
8263         * signal/signal.h: Always define sigset_t if __need_sigset_t is
8264         defined even if __USE_POSIX is not defined.
8265
8266 1998-02-02 20:51  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8267
8268         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
8269         to support obsolete tty major numbers correctly.
8270
8271 1998-02-02 08:47  H.J. Lu  <hjl@gnu.org>
8272
8273         * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
8274         directory first and ignore install error.
8275
8276         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
8277         128 from ptyno and fix a typo for the BSD style pty.
8278
8279 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8280
8281         * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
8282         syscalls.list's.
8283
8284 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8285
8286         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
8287         getresuid and getresgid.
8288
8289         * sysdeps/unix/sysv/linux/getresuid.c: New file.
8290         * sysdeps/unix/sysv/linux/getresgid.c: New file.
8291
8292         * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
8293         s_getres[ug]id.
8294
8295         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
8296         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8297         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8298         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
8299
8300 1998-02-02 08:11  H.J. Lu  <hjl@gnu.org>
8301
8302         * nscd/grpcache.c: Include <stdlib.h>.
8303
8304 1998-02-01 16:01  H.J. Lu  <hjl@gnu.org>
8305
8306         * stdlib/atoll.c: Fix comments.
8307
8308         * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
8309         * sysdeps/posix/ttyname_r.c: Ditto.
8310
8311 1998-02-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8312
8313         * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
8314         __USE_MISC, independent of __USE_UNIX98.
8315
8316 1998-02-10 19:18  Ulrich Drepper  <drepper@happy.cygnus.com>
8317
8318         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
8319         Rename from __libc_have_rt_sigs and leave as COMMON data.
8320
8321 1998-02-04 11:58  Richard Henderson  <rth@twiddle.rth.home>
8322
8323         * Makeconfig (CFLAGS-.os): Kill -fno-common.
8324         * Makerules (libc.so): Prelink libc_pic.a, allocating commons.
8325
8326         * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
8327         * elf/rtld.map: New file.  Needed to define the GLIBC_2.*
8328         version symbols.
8329         * include/libc-symbols.h (symbol_version, default_symbol_version):
8330         Provide asm versions and correct !DO_VERSIONING versions.
8331         * sysdeps/unix/make-syscalls.sh: Recognize version symbols in
8332         the weak symbol list.
8333
8334         * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
8335         Rename from __libc_have_rt_sigs and leave as COMMON data.
8336         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
8337         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8338         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8339
8340 1998-02-04 16:41  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8341
8342         * sunrpc/Makefile: Correct dependencies of rpcgen.
8343
8344 1998-02-10 03:00  Ulrich Drepper  <drepper@happy.cygnus.com>
8345
8346         * nscd/Makefile: Fix test for available linuxthreads add-on.
8347         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8348
8349 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8350
8351         * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
8352
8353 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8354
8355         * sysdeps/gnu/Makefile: Respect with-cvs variable.
8356
8357         * manual/errno.texi (Error Messages): Correct description of
8358         strerror_r.  Pointed out by jonas@bagge.se.
8359
8360 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8361
8362         * manual/socket.texi (Host Address Functions): Clarify description
8363         of inet_network.
8364
8365 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8366
8367         * sysdeps/unix/grantpt.c (argv): Move const to toplevel.
8368         (grantpt): Delete superfluous cast.
8369
8370 1998-02-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8371
8372         * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
8373         elf/ldso_install instead of elf/subdir_install.
8374         (elf/ldso_install): New target.
8375
8376         * elf/Makefile (ldso_install): New target.
8377
8378 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8379
8380         * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
8381         of 1998-01-06.
8382
8383 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8384
8385         * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
8386         constant expressions.
8387
8388 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8389
8390         * nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
8391         for __nss_configure_lookup.
8392         (output_hostent): Remove unused variable.
8393
8394 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8395
8396         * string/tst-inlcall.c: Fix format string.
8397
8398 1998-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8399
8400         * inet/netinet/in.h: Rename second parameter of bindresvport to
8401         avoid buggy gcc warning. [PR libc/412]
8402
8403 1998-02-04 18:04  Richard Henderson  <rth@cygnus.com>
8404
8405         * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
8406         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
8407
8408         * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
8409         Follow POSIX and make tv_sec a time_t.
8410         * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
8411         new tv64 syscall as well as fall back to tv32.
8412         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
8413         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
8414         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
8415         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
8416         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
8417         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
8418         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
8419         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
8420
8421         * include/rpcsvc/nis.h: New.  Bounce to nis/rpcsvc.
8422         * include/rpcsvc/nis_tags.h: Likewise.
8423         * include/rpcsvc/nislib.h: Likewise.
8424
8425 1998-02-02 01:12  Ulrich Drepper  <drepper@cygnus.com>
8426
8427         * libc.map: Add _h_errno.
8428         * inet/herrno.c: Make _h_errno weak alias.
8429
8430         * login/Makefile (distribute): Add pty-internal.h.
8431
8432         * nscd/Makefile (distribute): Add all the files missing.
8433
8434         * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
8435         are available.
8436
8437         * stdio-common/tstscanf.c: Rewrite a bit to continue after errors
8438         and report status at the end.
8439
8440         * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
8441
8442         * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
8443         variable.
8444         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
8445         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
8446         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
8447
8448 1998-01-03 20:47  Mark Kettenis  <kettenis@phys.uva.nl>
8449
8450         * configure.in: Fix --enable-add-ons code.
8451
8452 1998-02-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8453
8454         * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
8455         by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
8456         [PR libc/441]
8457
8458         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
8459         occurence in cache.  Reported by Rudolf Leitgeb
8460         <leitgeb@leland.stanford.edu>.
8461         [PR libc/440]
8462
8463 1998-02-01 21:18  Ulrich Drepper  <drepper@cygnus.com>
8464
8465         * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
8466         that it never is EINTR (which is tested for in _IO_vfscanf).
8467
8468         * Makefile.in: Call sub-make with CVSOPTS.
8469
8470         * elf/Makefile (distribute): Add dl-procinfo.h.
8471
8472         * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.
8473
8474 1998-02-01 15:54  Ulrich Drepper  <drepper@cygnus.com>
8475
8476         * version.h (VERSION): Bump to 2.0.92.
8477
8478 1998-01-31  Phil Blundell  <philb@gnu.org>
8479
8480         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
8481         alias for __new_sys_siglist.
8482
8483 1998-02-01 00:53  Ulrich Drepper  <drepper@cygnus.com>
8484
8485         * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
8486         getgrgid_r.c if thread package is available.
8487         * pwd/Makefile: Likewise.
8488         * grp/getgrnam_r.c: Remove USE_NSCD definition.
8489         * grp/getgrgid_r.c: Likewise.
8490         * pwd/getpwnam_r.c: Likewise.
8491         * pwd/getpwuid_r.c: Likewise.
8492
8493 1998-01-31 23:46  Ulrich Drepper  <drepper@cygnus.com>
8494
8495         * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
8496         with error to allow user intervention.
8497         * nss/getXXent_r.c: Likewise.
8498
8499 1998-01-31 21:18  Ulrich Drepper  <drepper@cygnus.com>
8500
8501         * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
8502         AT_PLATFORM string.  Pretty print AT_BASE info.
8503
8504         * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
8505         (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
8506         * sysdeps/generic/dl-procinfo.h: New file.
8507         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
8508
8509 1998-01-31 20:52  Ulrich Drepper  <drepper@cygnus.com>
8510
8511         * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.
8512
8513         * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
8514         thread and not pthread_detach.
8515
8516         * nscd/nscd.c: Rewrite to use argp instead of getopt.
8517
8518 1998-01-31  Phil Blundell  <philb@gnu.org>
8519
8520         * configure.in: Add --without-cvs option to suppress automatic
8521         checkin of regenerated files.
8522         * config.make.in: Likewise.
8523         * Makefile: Respect with-cvs setting.
8524         * Makerules: Likewise.
8525
8526         * configure.in: Allow the standalone ARM port to be configured.
8527
8528 1998-01-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8529
8530         * grp/getgrgid_r.c: Define USE_NSCD.
8531         * grp/getgrnam_r.c: Likewise.
8532         * pwd/getpwuid_r.c: Likewise.
8533         * pwd/getpwnam_r.c: Likewise.
8534
8535         * sysdeps/unix/inet/Subdirs: Add nscd subdir.
8536
8537         * nss/getXXbyYY_r.c: Try at first nscd.
8538
8539         * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
8540         * nscd/connections.c: New file.
8541         * nscd/dbg_log.c: New file.
8542         * nscd/dbg_log.h: New file.
8543         * nscd/grpcache.c: New file.
8544         * nscd/nscd.c: New file.
8545         * nscd/nscd.h: New file.
8546         * nscd/nscd_conf.c: New file.
8547         * nscd/nscd_stat.c: New file.
8548         * nscd/pwdcache.c: New file.
8549
8550         * nscd/nscd_getgr_r.c: New, client code, linked into libc.
8551         * nscd/nscd_getpw_r.c: Likewise.
8552         * nscd/nscd_proto.h: New, prototypes for client functions.
8553
8554         * nscd/nscd.conf: New, example for a configuration file.
8555         * nscd/nscd.init: New, example for a startup script.
8556
8557         * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
8558         avoid deadlocks.
8559         * nscd/getgrnam_r.c: Likewise.
8560         * nscd/getpwnam_r.c: Likewise.
8561         * nscd/getpwuid_r.c: Likewise.
8562
8563 1998-01-31 11:44  Ulrich Drepper  <drepper@cygnus.com>
8564
8565         * intl/Makefile: Use CVSOPTS in cvs invocation.
8566         * po/Makefile: Likewise.
8567         * posix/Makefile: Likewise.
8568         * stdlib/Makefile: Likewise.
8569
8570 1998-01-31 11:18  Ulrich Drepper  <drepper@cygnus.com>
8571
8572         * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
8573         [PR libc/410]
8574         * misc/Makefile (tests): Add tst-efgcvt.
8575         * misc/tst-efgcvt.c: New file.
8576
8577 1998-01-31 00:21  Ulrich Drepper  <drepper@cygnus.com>
8578
8579         * posix/regex.c: Add some more cleanups by Akim Demaille.
8580
8581 1998-01-30 23:55  Ulrich Drepper  <drepper@cygnus.com>
8582
8583         * signal/signal.h: Revert last change.
8584         * string/strsignal.c: Regard signal number NSGI as illegal.
8585         * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
8586         members.
8587
8588 1998-01-30 23:37  Ulrich Drepper  <drepper@cygnus.com>
8589
8590         * Makefile.in: Add comment about CVSOPTS Makefile variable.
8591         * Makerules: Use CVSOPTS in cvs invocation.
8592         * Makefile: Likewise.
8593         * MakeTAGS: Likewise.
8594         * Make-dist: Likewise.
8595
8596 1998-01-30 22:37  Ulrich Drepper  <drepper@cygnus.com>
8597
8598         * sysdeps/generic/memmem.c: Correct last change.
8599
8600 1998-01-30 22:12  Ulrich Drepper  <drepper@cygnus.com>
8601
8602         * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
8603         CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
8604
8605 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8606
8607         * nis/ypclnt.c: Try at first to use the binding file from ypbind
8608         before using RPC.
8609
8610 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8611
8612         * manual/memory.texi (Heap Consistency Checking): mcheck is
8613         declared in <mcheck.h>.
8614         Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
8615
8616 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8617
8618         * sysdeps/generic/memmem.c (memmem): An empty needle is at the
8619         beginning of haystack.
8620
8621 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8622
8623         * nss/nss_files/files-service.c: Correct last patch.
8624
8625 1998-01-30 21:29  Ulrich Drepper  <drepper@cygnus.com>
8626
8627         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
8628         __libc_have_rt_sigs.
8629         * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
8630         including <bits/setjmp.h>.
8631         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
8632         Patch from the Debian glibc/SPARC package.
8633
8634 1997-12-12 07:57  H.J. Lu  <hjl@gnu.org>
8635
8636         * sysdeps/alpha/bzero.S: Fix a typo.
8637         * sysdeps/alpha/htonl.S: Ditto.
8638         * sysdeps/alpha/htons.S: Ditto.
8639
8640 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8641
8642         * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
8643
8644 1998-01-30 19:58  Ulrich Drepper  <drepper@cygnus.com>
8645
8646         * include/cpio.h: Move to ...
8647         * posix/cpio.h: ...here.
8648
8649         * locale/programs/ld-collate.c: Fix typo.
8650
8651         * signal/signal.h: Declare _sys_siglist with NSIG+1 elements.
8652
8653         * stdio-common/tiformat.c: Add checks for %#.0o and friends.
8654
8655         * login/utmp_file.c (pututline_file): Don't always report success
8656         if similar entry is found.  Patch by Mark M. Kettenis.
8657
8658 1998-01-30 16:06  Philip Blundell  <pb@nexus.co.uk>
8659
8660         * manual/Makefile: Don't try to install the info files if makeinfo
8661         is not available.
8662
8663 1998-01-30 12:05  Philip Blundell  <pb@nexus.co.uk>
8664
8665         * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
8666         kernel's network ioctls, rather than using <linux/sockios.h> to
8667         get them.  This way we are sure of maintaining compatibility if
8668         the kernel interface should change.
8669
8670 1998-01-30 15:52  Ulrich Drepper  <drepper@cygnus.com>
8671
8672         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
8673
8674 1998-01-25 19:54  Philip Blundell  <Philip.Blundell@pobox.com>
8675
8676         * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
8677         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
8678
8679 1998-01-27 22:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8680
8681         Implement System V pseudoterminal handling.
8682
8683         * login/Makefile
8684         (routines): Add getpt, grantpt, unlockpt, ptsname.
8685         (libutil-routines): Remove pty. Add openpty, forkpty.
8686         (distribute): New internal header pty-internal.h.
8687         (others): Add the helper program, pt_chown.
8688         (install-others): Install it, in $(libexecdir), mode 4755.
8689
8690         * login/pty-internal.h: New file.
8691         * login/openpty.c: New file.
8692         * login/forkpty.c: New file.
8693         * login/programs/pt_chown.c: New file.
8694
8695         * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
8696         * stdlib/stdlib.h: Prototype them.
8697
8698         * config.make.in: Define $(libexecdir).
8699         * Makeconfig: Define $(inst_libexecdir).
8700
8701         * sysdeps/generic/pty.c: Removed.
8702         * sysdeps/unix/sysv/linux/pty.c: Removed.
8703
8704         * sysdeps/generic/getpt.c: Stub out.
8705         * sysdeps/generic/grantpt.c: Likewise.
8706         * sysdeps/generic/ptsname.c: Likewise.
8707         * sysdeps/generic/unlockpt.c: Likewise.
8708
8709         * sysdeps/unix/grantpt.c: New file.
8710         * sysdeps/unix/bsd/getpt.c: New file.
8711         * sysdeps/unix/bsd/unlockpt.c: New file.
8712         * sysdeps/unix/sysv/linux/getpt.c: New file.
8713         * sysdeps/unix/sysv/linux/ptsname.c: New file.
8714         * sysdeps/unix/sysv/linux/unlockpt.c: New file.
8715
8716 1998-01-29 23:56  Ulrich Drepper  <drepper@cygnus.com>
8717
8718         * localedata/locales/ru_RU: Fix YESEXPR.  Patch by lav@yars.free.net.
8719
8720 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8721
8722         * nss/Makefile (tests): Add rule for test-netdb.c.
8723
8724         * nss/test-netdb.c: New file.
8725
8726 1998-01-29 02:38  Ulrich Drepper  <drepper@cygnus.com>
8727
8728         * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
8729         really kept as a variable.  Patch by Richard Henderson,
8730         reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
8731
8732         * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
8733         * elf/genrtldtbl.awk: Mark machine dependent directory of generated
8734         entries as not existing.
8735
8736 1998-01-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8737
8738         * stdio-common/vfprintf.c (process_arg): Fix printing of octal
8739         zero in alternate form with precision of zero, which must produce
8740         "0".  Add braces to avoid ambiguous `else'.
8741
8742 1998-01-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8743
8744         * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
8745         problem with strncpy.
8746         * nis/nss_compat/compat-pwd.c: Likewise.
8747         * nis/nss_compat/comapt-spwd.c: Likewise.
8748
8749 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8750
8751         * assert/assert.h (assert_perror): Correct test for errnum.  Patch
8752         by uch@nop.or.jp. [PR libc/437]
8753
8754 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8755
8756         * nis/nis_cache.c: Include <unistd.h> for declaration of close.
8757
8758 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8759
8760         * stdio-common/test-popen.c: Include <errno.h>.
8761
8762         * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
8763         close.
8764
8765         * inet/getnetgrent_r.c: Include <errno.h>.
8766
8767         * db2/db/db_conv.c: Include <string.h> for memcpy.
8768
8769         * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
8770         so that memcpy is declared.
8771
8772         * iconv/iconv_open.c: Include <stdlib.h> for alloca.
8773
8774         * misc/init-misc.c: Remove unneeded inclusion of <errno.h>.
8775
8776 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8777
8778         * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
8779         overflow while reading line with fgets.
8780         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
8781
8782 1998-01-27 00:46  Ulrich Drepper  <drepper@cygnus.com>
8783
8784         * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
8785         unsigned short, not short.
8786         Reported by Andreas Jaeger.
8787
8788 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8789
8790         * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
8791         (ccept->accept).
8792
8793         * sysdeps/generic/inttypes.h: Fix spelling.
8794
8795 1998-01-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8796
8797         * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.
8798
8799         * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
8800
8801 1998-01-27 00:30  Ulrich Drepper  <drepper@cygnus.com>
8802
8803         * stdio-common/printf.h (struct print_info): Add new bitfield is_char.
8804         * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
8805         field for hh modifier.
8806         * stdio-common/vfprint.c: Use is_char field and do not depend in
8807         is_short having the value 2.
8808         Bug reported by Andreas Jaeger.
8809
8810 1998-01-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8811
8812         * libio/freopen.c (freopen): Call _IO_old_freopen only if defined
8813         PIC && DO_VERSIONING.
8814
8815 1998-01-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8816
8817         * Rules: Add rules for $(common-objpfx)dummy$o.
8818
8819 1998-01-26  Richard Henderson  <rth@cygnus.com>
8820
8821         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
8822         unimplemented OSF/1 definitions so that they are not accidentally seen.
8823
8824         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
8825         of the trampoline function into the macro.
8826         * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
8827         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
8828         kernel 2.1.82 has this fixed.
8829
8830         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
8831         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
8832
8833 1998-01-26  Ulrich Drepper  <drepper@cygnus.com>
8834
8835         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
8836         support sigaction on kernels > 2.1.7x.
8837
8838 1998-01-01 13:52  Ulrich Drepper  <drepper@cygnus.com>
8839
8840         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
8841         if it is empty.
8842
8843         * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
8844         Patch by David Engel <david@sw.ods.com>.
8845
8846         * configure.in: Fix another typo in --enable-add-ons code.
8847
8848 1998-01-26 03:48  Ulrich Drepper  <drepper@cygnus.com>
8849
8850         * sysdeps/unix/sysv/linux/siglist.c: Add copyright text.
8851
8852 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8853
8854         * nss/nss_files/files-network.c: Correct order of parameters for
8855         getnetbyaddr.
8856
8857 1998-01-26 00:57  Ulrich Drepper  <drepper@cygnus.com>
8858
8859         * db2/Makefile (routines): Add os_alloc.
8860         * db2/db.h: Update from db-2.3.16.
8861         * db2/db_185.h: Likewise.
8862         * db2/db_int.h: Likewise.
8863         * db2/btree/bt_close.c: Likewise.
8864         * db2/btree/bt_cursor.c: Likewise.
8865         * db2/btree/bt_delete.c: Likewise.
8866         * db2/btree/bt_open.c: Likewise.
8867         * db2/btree/bt_page.c: Likewise.
8868         * db2/btree/bt_put.c: Likewise.
8869         * db2/btree/bt_rec.c: Likewise.
8870         * db2/btree/bt_recno.c: Likewise.
8871         * db2/btree/btree_auto.c: Likewise.
8872         * db2/common/db_appinit.c: Likewise.
8873         * db2/common/db_apprec.c: Likewise.
8874         * db2/common/db_err.c: Likewise.
8875         * db2/common/db_region.c: Likewise.
8876         * db2/common/db_shash.c: Likewise.
8877         * db2/db/db.c: Likewise.
8878         * db2/db/db_auto.c: Likewise.
8879         * db2/db/db_conv.c: Likewise.
8880         * db2/db/db_dispatch.c: Likewise.
8881         * db2/db/db_dup.c: Likewise.
8882         * db2/db/db_pr.c: Likewise.
8883         * db2/db/db_rec.c: Likewise.
8884         * db2/db185/db185.c: Likewise.
8885         * db2/dbm/dbm.c: Likewise.
8886         * db2/hash/hash.c: Likewise.
8887         * db2/hash/hash_auto.c: Likewise.
8888         * db2/hash/hash_dup.c: Likewise.
8889         * db2/hash/hash_page.c: Likewise.
8890         * db2/hash/hash_rec.c: Likewise.
8891         * db2/include/btree_ext.h: Likewise.
8892         * db2/include/clib_ext.h: Likewise.
8893         * db2/include/common_ext.h: Likewise.
8894         * db2/include/db.h.src: Likewise.
8895         * db2/include/db_185.h.src: Likewise.
8896         * db2/include/db_am.h: Likewise.
8897         * db2/include/db_ext.h: Likewise.
8898         * db2/include/db_int.h.src: Likewise.
8899         * db2/include/hash_ext.h: Likewise.
8900         * db2/include/lock_ext.h: Likewise.
8901         * db2/include/log.h: Likewise.
8902         * db2/include/log_auto.h: Likewise.
8903         * db2/include/log_ext.h: Likewise.
8904         * db2/include/mp.h: Likewise.
8905         * db2/include/mp_ext.h: Likewise.
8906         * db2/include/mutex_ext.h: Likewise.
8907         * db2/include/os_ext.h: Likewise.
8908         * db2/include/os_func.h: Likewise.
8909         * db2/include/txn_ext.h: Likewise.
8910         * db2/lock/lock.c: Likewise.
8911         * db2/lock/lock_util.c: Likewise.
8912         * db2/log/log.c: Likewise.
8913         * db2/log/log.src: Likewise.
8914         * db2/log/log_archive.c: Likewise.
8915         * db2/log/log_auto.c: Likewise.
8916         * db2/log/log_get.c: Likewise.
8917         * db2/log/log_put.c: Likewise.
8918         * db2/log/log_rec.c: Likewise.
8919         * db2/log/log_register.c: Likewise.
8920         * db2/mp/mp_bh.c: Likewise.
8921         * db2/mp/mp_fget.c: Likewise.
8922         * db2/mp/mp_fopen.c: Likewise.
8923         * db2/mp/mp_fput.c: Likewise.
8924         * db2/mp/mp_pr.c: Likewise.
8925         * db2/mp/mp_sync.c: Likewise.
8926         * db2/mutex/mutex.c: Likewise.
8927         * db2/os/os_alloc.c: Likewise.
8928         * db2/os/os_config.c: Likewise.
8929         * db2/os/os_stat.c: Likewise.
8930         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
8931         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
8932         * db2/progs/db_load/db_load.c: Likewise.
8933         * db2/progs/db_printlog/db_printlog.c: Likewise.
8934         * db2/progs/db_recover/db_recover.c: Likewise.
8935         * db2/progs/db_stat/db_stat.c: Likewise.
8936         * db2/txn/txn.c: Likewise.
8937
8938         * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
8939         Unmap memory blocks in reverse order of allocation.
8940         Call munmap with load address added to offset.
8941         Bug reported by Miguel de Icaza.
8942
8943         * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
8944         up weight array.
8945
8946         * localedata/locales/cs_CZ: Update by Michael Mraka
8947         <michael@informatics.muni.cz>.
8948
8949         * misc/sys/syslog.h: Reformat a bit.  Don't declare vsyslog unless
8950         __USE_BSD.
8951
8952         * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
8953         reading line with fgets.
8954         * nis/nss_compat/compat-pwd.c: Likewise.
8955         * nis/nss_compat/compat-spwd.c: Likewise.
8956         * nss/nss_files/files-XXX.c: Likewise.
8957         * nss/nss_files/files-alias.c: Likewise.
8958         * shadow/fgetspent_r.c: Likewise.
8959
8960         * string/strerror_r.c: Correct comment.  Patch by Andreas Jaeger.
8961
8962         * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
8963         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
8964         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
8965
8966         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
8967         FP register content in ucontext_t.
8968
8969 1998-01-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8970
8971         * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
8972         calculation.  Patch by Markus Schoder
8973         <Markus.Schoder@dresdner-bank.de>.
8974
8975         * math/libm-test.c (modf_test): Add more tests for modf.
8976
8977         * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
8978         munlock according to Unix98.
8979
8980 1998-01-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8981
8982         * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
8983         AF_INET.
8984
8985 1998-01-21 07:22  H.J. Lu  <hjl@gnu.org>
8986
8987         * sysdeps/posix/ttyname.c: Handle symbolic links.
8988         * sysdeps/posix/ttyname_r.c: Ditto.
8989
8990 1998-01-25 19:39  Ulrich Drepper  <drepper@cygnus.com>
8991
8992         * db2/makedb.c (process_input): Write terminating \0 for value.
8993         (print_database): Simply print value string, don't use length.
8994
8995 1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8996
8997         * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
8998         exit of loop.
8999
9000 1998-01-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9001
9002         * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
9003         close all sockets.
9004
9005 1998-01-25 14:54  Ulrich Drepper  <drepper@cygnus.com>
9006
9007         * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
9008         sigset.
9009         * signal/sighold.c: New file.
9010         * signal/sigrelse.c: New file.
9011         * sysdeps/generic/sigignore.c: New file.
9012         * sysdeps/generic/sigset.c: New file.
9013         * sysdeps/posix/sigignore.c: New file.
9014         * sysdeps/posix/sigset.c: New file.
9015         * signal/signal.h: Add prototypes for new functions.
9016
9017         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
9018         * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
9019         * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
9020         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
9021
9022 1998-01-23 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
9023
9024         * posix/wordexp.c: Added IFS field-splitting in parameter and
9025         command substitution.  Fixed an IFS-related bug that caused an
9026         infinite loop.
9027
9028 1998-01-25 12:38  Ulrich Drepper  <drepper@cygnus.com>
9029
9030         * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
9031         and swapcontext.
9032         * stdlib/ucontext.h: Correct prototypes.
9033         * sysdeps/generic/getcontext.c: New file.
9034         * sysdeps/generic/setcontext.c: New file.
9035         * sysdeps/generic/makecontext.c: New file.
9036         * sysdeps/generic/swapcontext.c: New file.
9037         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
9038
9039 1998-01-25 04:07  Ulrich Drepper  <drepper@cygnus.com>
9040
9041         * resource/sys/resource.h: Remove #include of ulimit.h which is
9042         not allowed by SUSv2 and not available on other systems.
9043         * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
9044
9045         * streams/Makefile: New file.
9046         * streams/stropts.h: New file.
9047         * sysdeps/generic/bits/stropts.h: New file.
9048         * sysdeps/generic/isastream.c: New file.
9049         * sysdeps/generic/getmsg.c: New file.
9050         * sysdeps/generic/getpmsg.c: New file.
9051         * sysdeps/generic/putmsg.c: New file.
9052         * sysdeps/generic/putpmsg.c: New file.
9053         * sysdeps/generic/fattach.c: New file.
9054         * sysdeps/generic/fdetach.c: New file.
9055         * sysdeps/unix/inet/Subdirs: Add streams.
9056         * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
9057         __t_uscalar_t.
9058         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9059         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
9060         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
9061         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
9062
9063         * sysdeps/mach/_strerror.c: Follow changes of generic version to
9064         handle small buffers correctly.
9065
9066 1998-01-24 17:31  H.J. Lu  <hjl@gnu.org>
9067
9068         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
9069         Remove the 3rd arg and add declaration for _dl_runtime_resolve
9070         and _dl_runtime_profile.
9071
9072 1998-01-25 02:42  Ulrich Drepper  <drepper@cygnus.com>
9073
9074         * include/cpio.h: New file.  Mainly copied from GNU cpio.
9075         * posix/Makefile (headers): Add cpio.h.
9076
9077 1998-01-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9078
9079         * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
9080         to routines.
9081         * nis/nis_cache.c: New file.
9082         * nis/nis_cache2.h: New file.
9083         * nis/nis_cache2_xdr.c: New file.
9084         * nis/nis_call.c: Changes for cache2_info parameter.
9085         * nis/nis_checkpoint.c: Likewise.
9086         * nis/nis_intern.h: Likewise.
9087         * nis/nis_mkdir.c: Likewise.
9088         * nis/nis_ping.c: Likewise.
9089         * nis/nis_rmdir.c: Likewise.
9090         * nis/nis_server.c: Likewise.
9091         * nis/nis_util.c: Likewise.
9092
9093 1997-12-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9094
9095         * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
9096         return/errnop codes.
9097         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
9098         * nis/nss_nisplus/nisplus-grp.c: Likewise.
9099         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
9100         * nis/nss_nisplus/nisplus-proto.c: Likewise.
9101         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
9102         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
9103         * nis/nss_nisplus/nisplus-rpc.c: Likewise
9104         * nis/nss_nisplus/nisplus-service.c: Likewise.
9105         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
9106
9107 1997-12-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9108
9109         * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
9110         * nis/nss_nis/nis-ethers.c: Likewise.
9111         * nis/nss_nis/nis-grp.c: Likewise.
9112         * nis/nss_nis/nis-hosts.c: Likewise.
9113         * nis/nss_nis/nis-network.c: Likewise.
9114         * nis/nss_nis/nis-proto.c: Likewise.
9115         * nis/nss_nis/nis-hosts.c: Likewise.
9116         * nis/nss_nis/nis-network.c: Likewise.
9117         * nis/nss_nis/nis-proto.c: Likewise.
9118         * nis/nss_nis/nis-publickey.c: Likewise.
9119         * nis/nss_nis/nis-pwd.c: Likewise.
9120         * nis/nss_nis/nis-rpc.c: Likewise.
9121         * nis/nss_nis/nis-service.c: Likewise.
9122         * nis/nss_nis/nis-spwd.c: Likewise.
9123
9124 1998-01-24  Ulrich Drepper  <drepper@cygnus.com>
9125
9126         * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
9127         Added to follow latest kernel development.
9128
9129 1998-01-24 15:13  Ulrich Drepper  <drepper@happy.cygnus.com>
9130
9131         * nss/db-Makefile: Handle empty and comment lines better.
9132         ($(VAR_DB)/services.db): Generate entries with missing protocol
9133         value.
9134
9135 1998-01-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9136
9137         * nss/nss_files/files-service.c (getservbyport): Allow proto ==
9138           NULL.
9139           (getservbyname): Allow proto == NULL.
9140           Pointed out by David N. Welton <davidw@gate.cks.com>.
9141           [PR libc/430].
9142
9143 1998-01-24 11:34  Ulrich Drepper  <drepper@happy.cygnus.com>
9144
9145         * nis/nislib/nislib.h: Finally removed.
9146
9147         * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
9148         C compiler.  From Kaveh Ghazi.
9149         (TYPE_MINIMUM): Define.
9150         (TYPE_MAXIMUM): Define.
9151         (TIME_T_MIN): Use TYPE_MINIMUM.
9152         (TIME_T_MAX): Use TYPE_MAXIMUM.
9153         Patch by Jim Meyering <meyering@ascend.com>.
9154
9155 1998-01-22 00:55  Ulrich Drepper  <drepper@happy.cygnus.com>
9156
9157         * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
9158         __pread64, __pwrite64, and __getpid.
9159
9160         * rt/aio_misc.c: Use pread and pwrite instead of __ protected
9161         versions.
9162
9163 1998-01-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9164
9165         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
9166         cancelable socket functions as __libc_xxx with __xxx as weak
9167         alias.
9168         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
9169         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9170
9171         * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
9172         redefined.
9173         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9174         * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
9175         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
9176         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
9177
9178         * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
9179         and __xxx a weak alias.
9180         * sysdeps/unix/sysv/linux/connect.S: Likewise.
9181         * sysdeps/unix/sysv/linux/recv.S: Likewise.
9182         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
9183         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
9184         * sysdeps/unix/sysv/linux/send.S: Likewise.
9185         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
9186         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
9187
9188 1998-01-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9189
9190         * locale/langinfo.h: Add defines.
9191
9192         * dirent/dirent.h: Add defines for DT_*, check also for
9193         _DIRENT_HAVE_D_TYPE.
9194         Suggested by Roland McGrath.
9195
9196 1998-01-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9197
9198         * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
9199         Update from Linux 2.1.73+79.
9200
9201         * README.template: Update information about possible
9202         configurations.
9203
9204         * manual/mbyte.texi (Wide String Conversion): Fix declaration of
9205         wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
9206         [PR libc/417].
9207
9208         * manual/time.texi (Priority): Correct description of
9209         PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
9210         [PR libc/416].
9211
9212 11998-01-21 21:34  Ulrich Drepper  <drepper@cygnus.com>
9213
9214         * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
9215         FP_ILOGNAN.   Patch by a sun <asun@zoology.washington.edu>.
9216
9217 1998-01-21 17:53  Ulrich Drepper  <drepper@cygnus.com>
9218
9219         * sysdeps/generic/_strerror.c: Handle BUFLEN == 0.  Reported by
9220         Andreas Jaeger.
9221
9222 1998-01-20 18:13  Ulrich Drepper  <drepper@cygnus.com>
9223
9224         * locale/programs/ld-collate.c: Little optimizations.
9225
9226         * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
9227
9228         * string/Makefile (tests): Add tst-inlcall.
9229         * string/tst-inlcall.c: New file.
9230
9231         * string/strsignal.c: Add support for real-time signals.
9232
9233         * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
9234         presense of small buffer.
9235
9236         * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
9237
9238         * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
9239         for i686.
9240
9241         * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
9242         _NSIG + 1.
9243
9244 1998-01-02 15:10  Matthias Urlichs   <urlichs@noris.de>
9245
9246         * Rules: Add explicit rule for dummy.o; at least one library needs
9247           it and it isn't autogenerated by the default rules.
9248
9249 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9250
9251         * math/libm-test.c: Tweak epsilons.
9252
9253 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9254
9255         * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
9256         child.
9257         (feenv_mask_test): Likewise.
9258
9259 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9260
9261         * Makeconfig: Don't export CPPFLAGS.
9262
9263 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9264
9265         * sunrpc/rpc_main.c (parseargs): Use perror to print error
9266         message.
9267
9268 1998-01-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9269
9270         * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
9271         terminating null in key size.
9272
9273 1998-01-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9274
9275         * nss/nss_files/files-service.c: Fix allocation size to include
9276         length of PROTO.
9277
9278         * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
9279         applicable.  Fix return value and error checking.
9280         (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
9281         unparsable lines.
9282         (DB_LOOKUP): Allocate space for terminating null byte.
9283
9284         * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
9285         uids specially.
9286
9287         * db2/makedb.c (process_input): Continue processing if a duplicate
9288         key is encountered.
9289
9290 1998-01-19 15:20  Ulrich Drepper  <drepper@cygnus.com>
9291
9292         * time/tzfile.h: Updated from tzcode1998b.
9293         * time/zdump.c: Likewise.
9294         * time/zic.c: Likewise.
9295         * time/africa: Update from tzdata1998b.
9296         * time/antarctica: Likewise.
9297         * time/asia: Likewise.
9298         * time/australasia: Likewise.
9299         * time/etcetera: Likewise.
9300         * time/europe: Likewise.
9301         * time/leapseconds: Likewise.
9302         * time/northamerica: Likewise.
9303         * time/southamerica: Likewise.
9304
9305 1998-01-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9306
9307         * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
9308         lookups ignoring case.
9309         * nss/nss_files/files-network.c: Do network lookups ignoring
9310         case.
9311         * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
9312         case.
9313         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
9314         case insensitive comparing.
9315         Patches by Cristian Gafton <gafton@redhat.com>.
9316
9317 1998-01-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9318
9319         * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines.  Suggested
9320         by Roland McGrath. [PR libc/395]
9321
9322 1998-01-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9323
9324         * manual/arith.texi (Parsing of Integers): Correct description of
9325         strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
9326         [PR libc/396]
9327
9328 1997-12-30 14:14  Matthias Urlichs  <urlichs@noris.de>
9329
9330         * misc/lsearch.c (lsearch): Return a pointer to the new element
9331         if one was "allocated".
9332
9333 1997-12-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9334
9335         * string/strsignal.c: NSIG is not a valid index into
9336         _sys_siglist.  Don't zap the last character of the "Unknown
9337         signal" message.
9338
9339 1998-01-19 15:08  Ulrich Drepper  <drepper@cygnus.com>
9340
9341         * locale/programs/charmap.c (parse_charmap): Correct parsing of
9342         ellipsis expressions.
9343
9344         * locale/programs/charset.c (insert_char): Correctly insert value
9345         of eliipsis expression.
9346
9347 1997-12-28 15:08  Ulrich Drepper  <drepper@cygnus.com>
9348
9349         * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
9350         <bits/setjmp.h>.
9351         * sysdeps/powerpc/setjmp.S: Likewise.
9352         Patches by Matt McLean <keys@keys.got.net>.
9353
9354         * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
9355
9356         * Makefile: Undo last patch.
9357         (distribute): Add test-installation.pl.
9358
9359         * configure.in: Correct handling of --enable-add-ons without parameter.
9360         Correct address of WWW pages.
9361
9362         * libc.map: Add _nl_domain_bindings.
9363
9364         * db2/mutex/tsl_parisc.s: New file.
9365
9366         * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
9367         and extra-module.mk.
9368
9369         * localedata/Makefile (distribute): New.  Add all the files.
9370
9371         * stdlib/Makefile (headers): Add inttypes.h.
9372         (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
9373         * sysdeps/generic/inttypes.h: New file.
9374         * sysdeps/generic/strtoimax.c: New file.
9375         * sysdeps/generic/strtoumax.c: New file.
9376         * sysdeps/generic/wcstoimax.c: New file.
9377         * sysdeps/generic/wcstoumax.c: New file.
9378         * sysdeps/wordsize-32/Dist: Removed.
9379         * sysdeps/wordsize-32/Makefile: Removed.
9380         * sysdeps/wordsize-64/Dist: Removed.
9381         * sysdeps/wordsize-64/Makefile: Removed.
9382         * sysdeps/generic/bits/environments.h: New file.
9383
9384         * include/limits.h: Define MB_LEN_MAX in any case to 6.  The gcc
9385         header is still not correct.
9386
9387         * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
9388         * posix/unistd.h: Likewise.
9389         * sysdeps/generic/sys/mman.h: Likewise.
9390         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
9391
9392         * manual/arith.texi: Change definition of mul macro.
9393         * manual/math.texi: Likewise.
9394
9395         * misc/Makefile (routines): Add mmap64.
9396         * sysdeps/generic/mmap64.c: New file.
9397         * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
9398         * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
9399         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
9400         aliases to mmap.
9401         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9402
9403         * sysdeps/generic/setrlimit64.c: Don't mark as stub.
9404
9405         * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
9406
9407         * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
9408
9409         * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
9410         FOPEN_MAX also when included by limits.h.
9411         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
9412
9413         * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
9414         and netrom/netrom.h.
9415         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
9416         oldsiglist to sysdep_routines, not aux.
9417         [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
9418
9419         * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
9420         and SOL_NETROM definition.
9421
9422         * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
9423
9424         * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
9425         * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
9426
9427 1997-12-25  Ulrich Drepper  <drepper@cygnus.com>
9428
9429         * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
9430
9431         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
9432         sa_handler with k_sa_handler.
9433         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
9434         strong alias.
9435         Reported by a sun.
9436
9437         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
9438         __libc_have_rt_sigs here.
9439         * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
9440         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9441         * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
9442         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9443
9444 1997-12-11 07:51  Geoff Keating  <geoffk@ozemail.com.au>
9445
9446         * sysdeps/powerpc/atomicity.h: New file.
9447         * sysdeps/mach/powerpc/machine-lock.h: New file.
9448
9449         * Rules: Use -fpic to build anything that might end up in a users'
9450         shared library.
9451
9452         * sysdeps/powerpc/s_fdim.c: New file.
9453         * sysdeps/powerpc/s_fdimf.c: New file.
9454         * sysdeps/powerpc/s_fmax.S: New file.
9455         * sysdeps/powerpc/s_fmaxf.S: New file.
9456         * sysdeps/powerpc/s_fmin.S: New file.
9457         * sysdeps/powerpc/s_fminf.S: New file.
9458         * sysdeps/powerpc/s_llrint.c: Now is for double.
9459         * sysdeps/powerpc/s_llrintf.c: New file.
9460         * sysdeps/powerpc/s_llround.c: Now is for double.
9461         * sysdeps/powerpc/s_llroundf.c: New file.
9462         * sysdeps/powerpc/s_lrint.c: Now is for double.
9463         * sysdeps/powerpc/s_lrintf.S: New file.
9464         * sysdeps/powerpc/s_lround.c: Now is for double.
9465         * sysdeps/powerpc/s_lroundf.c: New file.
9466         * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
9467         lrintf, fdim, fdimf.
9468
9469         * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
9470         file directly, use its parent.
9471
9472         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
9473         (for the third time).
9474
9475 1997-12-20 13:50  Richard Henderson  <rth@cygnus.com>
9476
9477         * posix/sched.h: timespec is in <time.h>.
9478
9479         * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
9480
9481 1997-12-22 18:10  Ulrich Drepper  <drepper@cygnus.com>
9482
9483         * configure.in: Stop with error if --disable-static is used when
9484         the shared lib uses this library.
9485
9486         * gen-FAQ.pl: I've perl installed in /usr/bin.
9487
9488         * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
9489
9490         Fix Unix98 conformance problems in the headers.
9491         * catgets/nl_types.h: Define nl_item.
9492         * grp/grp.h: Define gid_t.
9493         * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
9494         * include/nl_types.h: New file.
9495         * include/ulimit.h: New file.
9496         * io/fcntl.h: Include sys/stat.h for Unix98.  Don't define locking
9497         constants in POSIX mode.
9498         * io/utime.h: Get definition for time_t.
9499         * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
9500         uid_t, pid_t.  Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
9501         * libio/stdio.h: Define va_list.  Make snprintf also available is
9502         __USE_UNIX98.  Declare getopt function and variables.
9503         * locale/langinfo.h: Include nl_types.h.  Don't define nl_item.
9504         Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
9505         * math/math.h: Defined M_* constants as double for Unix98 mode.
9506         * posix/fnmatch.h: Pretty print.  Define FNM_NOSYS.
9507         * posix/glob.h: Pretty print.  Define GLOB_NOSYS.
9508         * posix/regex.h: Define REG_NOSYS.
9509         * posix/wordexp.h: Define WRDE_NOSYS.
9510         * posix/unistd.h: Define _POSIX2_VERSION.  Define _XOPEN_VERSION to
9511         500 for Unix98.
9512         * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
9513         somewhere else as well.  Define clock_t for Unix98.
9514         * posix/sys/wait.h: Define pid_t.
9515         * pwd/pwd.h: Define gid_t, uid_t.
9516         * resource/Makefile (headers): Add ulimit.h.
9517         * resource/ulimit.h: New file.
9518         * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
9519         instead of second argument.
9520         * sysdeps/unix/bsd/ulimit.c: Likewise.  Use UL_* constants.
9521         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
9522         * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
9523         * signal/signal.h: Define pid_t.
9524         * string/string.h: Don't declare BSD string functions in POSIX mode.
9525         * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE.  Add
9526         _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
9527         * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
9528         and POSIX.
9529
9530         * inet/test_ifindex.c: Change test so that it does not fail for
9531         interface aliases.
9532
9533         * locale/programs/locale.c (show_info): Use correct cast sequence
9534         for 64bit machines.
9535
9536         * malloc/malloc.c: __malloc_initialized now signals three states:
9537         uninitialized, initializing, initialized.  Used in mcheck.
9538         * malloc/mcheck.c (mabort): Add '\n' to messages.
9539         (mcheck): Allow installation when malloc is uninitialized or is
9540         just initializing.
9541
9542         * manual/memory.texi: Explain mtrace output a bit more.
9543
9544         * math/libm-test.c: Add more epsilons.
9545
9546         * misc/regexp.h (compile): Remove __ prefix from parameter names.
9547
9548         * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
9549         instead of strcpy for security.
9550         * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
9551         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
9552         * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
9553
9554         * nss/digits_dots.c: Pretty print.
9555
9556         * posix/getconf.c (vars): Add symbols for programming environment
9557         recognition.  Recognize --version.
9558
9559         * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
9560         _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
9561         * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
9562
9563         * sysdeps/generic/bits/stdio_lim.h: Implement handling of
9564         __need_FOPEN_MAX.
9565         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
9566         * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
9567         __need_FOPEN_MAX.
9568
9569         * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
9570         * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
9571
9572         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
9573         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9574         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
9575         * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
9576         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9577         * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
9578
9579         * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
9580         SCNu*.
9581         * sysdeps/wordsize-64/inttypes.h: Likewise.
9582
9583         * time/africa: Update from tzdata1997j.
9584         * time/antarctica: Likewise.
9585         * time/asia: Likewise.
9586         * time/australasia: Likewise.
9587         * time/backward: Likewise.
9588         * time/etcetera: Likewise.
9589         * time/europe: Likewise.
9590         * time/factory: Likewise.
9591         * time/northamerica: Likewise.
9592         * time/pacificnew: Likewise.
9593         * time/southamerica: Likewise.
9594
9595         * time/tzfile.h: Update from tzcode1997h.
9596         * time/zic.c: Likewise.
9597
9598         * wcsmbs/wchar.h: Get definition of FILE.  Define `struct tm' tag.
9599         Declare wcwidth and wcswidth for __USE_XOPEN.  Declare the
9600         isw*() functions for Unix98.
9601         * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
9602         * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
9603         is defined.
9604
9605 1997-12-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9606
9607         * locale/duplocale.c: Increase usage_count only if less than
9608         MAX_USAGE_COUNT.
9609         * locale/freelocale.c: Test usage_count against UNDELETABLE, not
9610         MAX_USAGE_COUNT.
9611         * locale/setlocale.c: Likewise.
9612
9613 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9614
9615         * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
9616         dependency to make it easier to install it selectively.
9617
9618         * Makerules (.SUFFIXES): Don't define any suffixes.
9619
9620 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9621
9622         * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
9623         * sysdeps/generic/statfs64.c: Emulate using statfs.
9624         * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
9625         * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
9626         * sysdpes/generic/ftruncate64.c: New file.
9627         * sysdpes/generic/truncate64.c: New file.
9628
9629         * sysdeps/generic/bits/stat.h: Add LFS support.
9630         * sysdeps/generic/bits/statfs.h: Likewise.
9631
9632         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
9633         [__USE_FILE_OFFSET64]: Make long long constant.
9634         (RLIM64_INFINITY): Likewise.
9635
9636         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
9637         for LFS support.
9638         (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
9639         * sysdeps/generic/bits/resource.h: Likewise.
9640
9641         * misc/Makefile (routines): Add truncate64 and ftruncate64.
9642
9643         * include/features.h: Don't prevent LFS support from defining BSD
9644         and SYSV things.
9645
9646         * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
9647         * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
9648         * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
9649
9650         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
9651         fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
9652         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9653
9654         * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
9655         * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
9656         * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
9657         * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
9658         * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
9659         * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
9660         * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
9661         * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
9662         * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
9663         * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
9664         * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
9665         * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
9666         * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
9667         * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
9668         * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
9669         * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
9670         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
9671         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
9672         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
9673         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
9674
9675         * sysdeps/unix/sysv/linux/fxstat64.c: New file.
9676         * sysdeps/unix/sysv/linux/lxstat64.c: New file.
9677         * sysdeps/unix/sysv/linux/xstat64.c: New file.
9678         * sysdeps/unix/sysv/linux/readdir64.c: New file.
9679         * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
9680
9681         * sysdeps/unix/sysv/linux/getdents64.c: New file.
9682         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
9683         [$(subdir)=dirent]: Add getdents64.
9684         * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
9685
9686         * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
9687
9688 1997-12-18 12:07  Philip Blundell  <pb@nexus.co.uk>
9689
9690         * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
9691
9692         * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
9693         * sysdeps/generic/getrlimit64.c: Likewise.
9694         * sysdeps/generic/setrlimit.c: Likewise.
9695         * sysdeps/generic/setrlimit64.c: Likewise.
9696
9697 1997-12-17 13:57  Philip Blundell  <pb@nexus.co.uk>
9698
9699         * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
9700         using versioning.
9701
9702         * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
9703
9704         * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
9705
9706 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9707
9708         * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
9709         after the codeset name.
9710
9711 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9712
9713         * libc.map: Add get_kernel_syms.
9714
9715 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9716
9717         * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
9718         static.
9719         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
9720         Likewise.  Fix condition.
9721
9722 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9723
9724         * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
9725
9726 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9727
9728         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
9729         Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
9730
9731 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9732
9733         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
9734         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
9735         instead.  Oops.
9736
9737 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9738
9739         * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
9740
9741 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9742
9743         * math/libm-test.c (catanh_test): Change epsilon.
9744         Reported by H.J. Lu.
9745
9746 1997-12-14 19:39  H.J. Lu  <hjl@gnu.org>
9747
9748         * libc.map (__getpid): Added for linuxthreads.
9749
9750 1997-12-13 21:09  H.J. Lu  <hjl@gnu.org>
9751
9752         * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
9753         it if gcc uses static variable in DWARF2 unwind information
9754         for exception support.
9755
9756         * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
9757
9758         * elf/soinit.c (__libc_global_ctors, _fini): Handle
9759         HAVE_DWARF2_UNWIND_INFO_STATIC.
9760
9761         * libc.map (__register_frame*, __deregister_frame*): Make them
9762         global.
9763
9764 1997-12-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9765
9766         * math/libm-test.c: Add more tests for "normal" values.
9767
9768 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9769
9770         * stdio-common/printf_fphex.c: Fix printing of long double number
9771         with a biased exponent of zero.  Fix rounding.
9772
9773 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9774
9775         * sunrpc/rpc_main.c: Accept new flag -$.
9776         * sunrpc/Makefile (rpcgen-cmd): Pass it here.
9777
9778 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9779
9780         * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
9781         dynamic linker first, in case the interface has changed.
9782
9783 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9784
9785         * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
9786         order.
9787
9788 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9789
9790         * math/tgmath.h: Check for double first, for architectures where
9791         sizeof (long double) == sizeof (double).
9792
9793 1997-12-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9794
9795         * math/libm-test.c: New tests for "normal" values added for most
9796         functions.
9797
9798 1997-12-14 21:33  Ulrich Drepper  <drepper@cygnus.com>
9799
9800         * version.h (VERSION): Bump to 2.0.91.
9801
9802         * db2/makedb.c (process_input): Fix typo in message.
9803         * sunrpc/rpcinfo.c (pmapdump): Unify messages.
9804
9805         * elf/dynamic-link.h: Pretty print.
9806
9807         * elf/rtld.c: Allow multiple preloading of a shared object.
9808
9809         * include/limits.h: Prevent multiple inclusion.
9810
9811         * malloc/Makefile (headers): Add mcheck.h.
9812         (distribute): Remove it here.
9813         * malloc/mcheck.h: Pretty print.
9814         * malloc/mtrace.c (mallenv): Make `const'.
9815         * malloc/mtrace.pl: Don't print table head for memory leaks if there
9816         are none.
9817         * manual/memory.texi: Update descriptor of malloc hooks.
9818
9819         * posix/Makefile (routines): Add waitid.
9820         * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
9821         on __id_t.
9822         * posix/sys/wait.h: Define idtype_t type.
9823         Add prototype for waitid.
9824         * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
9825         * sysdeps/generic/waitid.c: Stub for waitid.
9826         * sysdeps/generic/bits/siginfo.h: Define sigval_t.  Arrange to work
9827         the __need_siginfo_t defined.
9828         * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
9829         * sysdeps/generic/bits/types.h: Define __id_t.
9830         Correct definition of __FDMASK.
9831         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
9832         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9833         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
9834
9835         * sysdeps/posix/waitid.c: New file.
9836         Provided by Zack Weinberg.
9837
9838         * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
9839
9840         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
9841         Add missing parameters.
9842
9843         * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
9844         * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
9845         * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
9846         * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
9847         initialized.
9848
9849         * sysdeps/i386/dl-machine.h: Little cleanup.
9850
9851         * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
9852         (__finite): Mark function as const.
9853         Add inline code for __ieee754_atan2.
9854
9855         * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
9856         (but don't use it now).
9857         * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
9858         __atan.
9859         * sysdeps/libm-ieee754/s_catanf.c: Likewise.
9860         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
9861         * sysdeps/libm-ieee754/s_catanh.c: Likewise.  Correct sign of
9862         real part.
9863         * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
9864         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
9865         * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
9866         __ieee754_atan2 to base 10.
9867         * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
9868         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
9869
9870         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
9871         old_kernel_sigaction.
9872
9873         * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
9874
9875         * wctype/Makefile (routines): Add wctype_l.
9876         * wctype/wctype.h: Add declaration of __wctype_l.
9877         * wctype/wctype_l.c: New file.
9878
9879 1997-12-10 00:38  Ulrich Drepper  <drepper@cygnus.com>
9880
9881         * locale/C-ctype.c: Correct data for isw* functions.
9882         * locale/programs/ld-ctype.c: Write 32bit char classes in correct
9883         byte order.
9884         * wctype/test_wctype.c: Add test for isw* functions.
9885         * wctype/wctype.c: Return value with expected byte order.
9886
9887 1997-12-13  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9888
9889         * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
9890
9891 1997-12-05 20:19  H.J. Lu  <hjl@gnu.org>
9892
9893         * iconvdata/Makefile: Fix a typo.
9894
9895         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
9896         oldsiglist for shared library.
9897
9898         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
9899         sys_sigabbrev): Make them as the default version GLIBC_2.1.
9900
9901         * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
9902         sys_siglist, sys_sigabbrev): New file. Make them as the old
9903         version GLIBC_2.0.
9904
9905         * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
9906         to GLIBC_2.1.
9907
9908 1997-11-20 18:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
9909
9910         * libio/iofgets.c (_IO_fgets): Return an error only if there
9911         is a new error.
9912         * libio/iogets.c (_IO_gets): Ditto.
9913
9914 1997-11-20 07:26  H.J. Lu  <hjl@gnu.ai.mit.edu>
9915
9916         * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
9917
9918         * libio/Makefile (routines, shared-only-routines): Add
9919         oldiofdopen.
9920
9921         * libio/fileops.c: Don't use _IO_FILE_complete.
9922         * libio/iofdopen.c: Ditto.
9923         * libio/iofopen.c: Ditto.
9924         * libio/iofopen64.c: Ditto.
9925         * libio/iopopen.c: Ditto.
9926         * libio/iovdprintf.c: Ditto.
9927
9928         * libio/genops.c (_IO_init): Set _vtable_offset to 0.
9929
9930         * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
9931         and make it for _IO_fdopen/fdopen version GLIBC_2.1.
9932
9933         * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
9934         _IO_old_fdopen, _IO_new_fdopen): New declaration.
9935
9936         * libio/libio.h (_IO_FILE): Add more fields.
9937         (_IO_FILE_complete): Defined and make _IO_FILE be the old
9938         one if _IO_USE_OLD_IO_FILE is defined
9939         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
9940         them _IO_FILE_complete.
9941
9942         * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
9943         to adjust vtable.
9944         (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
9945         _IO_JUMPS.
9946         (_IO_FILE_complete): Commented out.
9947
9948         * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
9949         * libio/oldiofclose.c: Ditto.
9950         * libio/oldiofopen.c: Ditto.
9951         * libio/oldstdfiles.c: Ditto.
9952
9953         * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
9954         for the old _IO_FILE.
9955
9956         * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
9957         (_IO_check_libio): Set _vtable_offset for old stdin, stdout
9958         and stderr.
9959
9960         * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
9961         and remove INAME.
9962
9963         * libio/stdio.c (stdin, stdout, stdin): Don't use
9964         _IO_FILE_complete.
9965
9966         * libio/oldiofdopen.c: New.
9967
9968         * stdio-common/vfprintf.c (buffered_vfprintf): Set
9969         hp->_vtable_offset to 0.
9970
9971 1997-11-18 08:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
9972
9973         * libc.map (_IO_file_open): Added.
9974
9975         * libio/libioP.h (_IO_file_open): Declared.
9976
9977         * libio/fileops.c (_IO_file_open): New.
9978         (_IO_file_fopen): Call _IO_file_open ().
9979
9980         * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
9981         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
9982
9983 1997-12-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9984
9985         * signal/signal.h: Fix selection of signal semantics to match
9986         comment.
9987
9988 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9989
9990         * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
9991         * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
9992         rt_sigreturn.
9993         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
9994         [$(subdir)=signal]: Remove rt_sigreturn.
9995         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
9996         * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
9997         * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
9998
9999 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10000
10001         * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>.  Fix
10002         declarations.
10003
10004 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10005
10006         * iconvdata/extra-module.mk: Expand extra-objs now.
10007
10008 1997-12-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10009
10010         * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
10011         inline functions by feature tests to avoid warning about missing
10012         prototype declarations.
10013
10014 1997-12-09 15:08  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10015
10016         * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
10017         return code for non existent +name entries.
10018         * nis/nss_compat/compat-pwd.c: Likewise.
10019         * nis/nss_compat/compat-spwd.c: Likewise.
10020
10021 1997-12-10 13:52  Philip Blundell  <pb@nexus.co.uk>
10022
10023         * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
10024         (EIO): Likewise.
10025         (ENOSPC): Likewise.
10026         (EEXIST): Likewise.
10027         (__errno_location): Likewise.
10028
10029         * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
10030
10031         * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
10032
10033 1997-12-09 08:10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10034
10035         * sunrpc/publickey.c: Use new NSS interface.
10036
10037 1997-12-09 03:08  Ulrich Drepper  <drepper@cygnus.com>
10038
10039         * manual/malloc.texi: Document mtrace/muntrace and the concept.
10040
10041 1997-12-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10042
10043         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
10044         value, to match spirit of the standard.
10045         * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
10046         * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
10047         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
10048
10049 1997-12-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10050
10051         * manual/signal.texi (Signal Stack): Remove spurious @item.
10052
10053 1997-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10054
10055         * rt/aio.h: Remove double semicolon.
10056
10057         * rt/librt.map: Add aio_init.
10058
10059 1997-12-08 03:24  Ulrich Drepper  <drepper@cygnus.com>
10060
10061         * Makeconfig: Define $(rt) to rt if linuxthreads is available.
10062         * Makefile (subdirs): Replace rt by $(rt).
10063
10064         * shlib-versions: Use version .2 for NSS modules.
10065
10066         * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
10067         argument.
10068         * pwd/fgetpwent_r.c: Likewise.
10069         * spwd/fgetspent_r.c: Likewise.
10070         * spwd/sgetspent_r.c: Likewise.
10071         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
10072         Store error number in *ERRNOP.  Little optimization.
10073         * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
10074         * hesiod/nss_hesiod/hesiod-service.c: Likewise.
10075         * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
10076         (__internal_getnetgrent_r): New argument.
10077         Call __internal_setnetgrent_reuse with new argument.
10078         (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
10079         * inet/netgroup.h: Add argument to prototypes.
10080         * nis/nisplus-parser.h: Likewise.
10081         * nis/nss_compat/compat-grp.c: Change everything to store error
10082         code through provided pointer and not use errno.
10083         * nis/nss_compat/compat-pwd.c: Likewise.
10084         * nis/nss_compat/compat-spwd.c: Likewise.
10085         * nis/nss_nis/nis-alias.c: Likewise.
10086         * nis/nss_nis/nis-ethers.c: Likewise.
10087         * nis/nss_nis/nis-grp.c: Likewise.
10088         * nis/nss_nis/nis-hosts.c: Likewise.
10089         * nis/nss_nis/nis-netgrp.c: Likewise.
10090         * nis/nss_nis/nis-network.c: Likewise.
10091         * nis/nss_nis/nis-proto.c: Likewise.
10092         * nis/nss_nis/nis-publickey.c: Likewise.
10093         * nis/nss_nis/nis-pwd.c: Likewise.
10094         * nis/nss_nis/nis-rpc.c: Likewise.
10095         * nis/nss_nis/nis-service.c: Likewise.
10096         * nis/nss_nis/nis-spwd.c: Likewise.
10097         * nis/nss_nisplus/nisplus-alias.c: Likewise.
10098         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
10099         * nis/nss_nisplus/nisplus-grp.c: Likewise.
10100         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
10101         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
10102         * nis/nss_nisplus/nisplus-network.c: Likewise.
10103         * nis/nss_nisplus/nisplus-parser.c: Likewise.
10104         * nis/nss_nisplus/nisplus-proto.c: Likewise.
10105         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
10106         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
10107         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
10108         * nis/nss_nisplus/nisplus-service.c: Likewise.
10109         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
10110         * nss/nss_db/db-XXX.c: Likewise.
10111         * nss/nss_db/db-alias.c: Likewise.
10112         * nss/nss_db/db-netgrp.c: Likewise.
10113         * nss/nss_files/files-XXX.c: Likewise
10114         * nss/nss_files/files-alias.c: Likewise
10115         * nss/nss_files/files-netgrp.c: Likewise
10116         * nss/nss_files/files-parse.c: Likewise
10117         * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
10118         parameter of get functions.
10119         * nss/getXXent_r.c: Likewise.
10120
10121         * localedata/tst-fmon.c: Print debug info if test fails.
10122
10123         * rt/Makefile (routines): Add aio_notify.
10124         * rt/aio.h: Remove non-public definitions.  Add aioinit stuff.
10125         * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
10126         * rt/aio_fsync.c: Likewise.
10127         * rt/aio_misc.c: Likewise.
10128         * rt/aio_misc.h: Likewise.
10129         * rt/aio_read.c: Likewise.
10130         * rt/aio_read64.c: Likewise.
10131         * rt/aio_suspend.c: Likewise.
10132         * rt/aio_write.c: Likewise.
10133         * rt/aio_write64.c: Likewise.
10134         * rt/lio_listio.c: Likewise.
10135         * rt/lio_listio64.c: Likewise.
10136         * rt/aio_notify.c: New file.
10137
10138         * sysdeps/generic/bits/sigset.h: Pretty print.
10139
10140         * sysdeps/posix/pwrite.c: Define weak alias only if function is
10141         really defined as __pwrite.
10142
10143         * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
10144         instead of pread64.
10145         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10146
10147         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
10148         (sysdep_routines): Add rt_sigpending and rt_sigreturn.
10149         * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
10150         size in syscall.
10151         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10152         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10153         * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
10154         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10155         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
10156         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
10157         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.  Take care
10158         for ACT being NULL.
10159         * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
10160         RT signals.
10161         * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
10162         __NR_pread is not defined.
10163         * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
10164         __NR_pwrite is not defined.
10165
10166 1997-12-07 11:15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10167
10168         * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
10169         handle for /etc/group back in some more cases.
10170         * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
10171         handle for /etc/passwd back in some more cases.
10172         * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
10173         handle for /etc/shadow back in some more cases.
10174
10175 1997-12-06 17:00  H.J. Lu  <hjl@gnu.org>
10176
10177         * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
10178         beyound its size.
10179         * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
10180         * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
10181
10182 1997-12-06 04:38  Ulrich Drepper  <drepper@cygnus.com>
10183
10184         * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
10185         handling.  Don't use macros, we need functions.  Use inline functions
10186         for optimization.
10187         * sysdeps/wordsize-64/inttypes.h: Likewise.
10188         * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
10189         and wcstoumax.
10190         * sysdeps/wordsize-64/Makefile: Likewise.
10191         * sysdeps/wordsize-32/Dist: Likewise.
10192         * sysdeps/wordsize-64/Dist: Likewise.
10193         * sysdeps/wordsize-32/strtoimax.c: New file.
10194         * sysdeps/wordsize-32/strtoumax.c: New file.
10195         * sysdeps/wordsize-32/wcstoimax.c: New file.
10196         * sysdeps/wordsize-32/wcstoumax.c: New file.
10197         * sysdeps/wordsize-64/strtoimax.c: New file.
10198         * sysdeps/wordsize-64/strtoumax.c: New file.
10199         * sysdeps/wordsize-64/wcstoimax.c: New file.
10200         * sysdeps/wordsize-64/wcstoumax.c: New file.
10201
10202 1997-12-04 10:40  Philip Blundell  <pb@nexus.co.uk>
10203
10204         * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
10205         that transparent union works.
10206         * sysdeps/generic/wait4.c (__wait4): Likewise.
10207         * sysdeps/generic/wait.c (__wait): Likewise.
10208
10209         * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
10210         size_t.
10211
10212         * sysdeps/generic/syscall.c (syscall): Return value and arg are
10213         long, to match prototype.
10214
10215         * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
10216         have mremap() yet.
10217
10218         * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
10219
10220         * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
10221
10222         * sysdeps/generic/bits/time.h: Use __time_t not time_t.
10223
10224         * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
10225         __rlim_t.
10226
10227         * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
10228
10229         * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
10230
10231         * io/sys/stat.h (S_ISLNK): Always false if we don't have
10232         __S_IFLNK.
10233
10234         * sysdeps/standalone/close.c (_STDIO_H): Define before including
10235         <bits/stdio_lim.h>.
10236         * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
10237
10238 1997-12-06 01:09  Ulrich Drepper  <drepper@cygnus.com>
10239
10240         * posix/sys/wait.h: Don't use transparent unions in C++.
10241
10242 1997-12-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10243
10244         * time/time.h: Add strfxtime.
10245
10246         * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
10247         sysv_signal, strfxtime, pread64, pwrite64.
10248
10249 1997-11-30 21:57  Richard Henderson  <rth@cygnus.com>
10250
10251         Alpha changes for EGCS:
10252         * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
10253         * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
10254         * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
10255         (_start): Likewise.
10256         * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
10257
10258 1997-12-05 00:01  Ulrich Drepper  <drepper@cygnus.com>
10259
10260         The kernel expects the arguments in a different order.
10261         * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
10262         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
10263
10264         * FAQ.in: New file.
10265         * gen-FAQ.pl: New file.
10266         * Makefile (FAQ): Add rule to generate from FAQ.in.
10267
10268         * iconvdata/Makefile: Treat libJIS like the other modules.
10269
10270         * rt/librt.map: New file.
10271
10272         * sysdeps/wordsize-32/bits/environments.h: Add test for direct
10273         inclusion.
10274         * sysdeps/wordsize-64/bits/environments.h: Likewise.  Correct
10275         comment.
10276
10277 1997-12-04 22:29  Ulrich Drepper  <drepper@cygnus.com>
10278
10279         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
10280         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
10281         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
10282         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
10283
10284 1997-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10285
10286         * string/bits/string2.h: Fix spellings.
10287
10288         * string/string.h: Fix spellings.
10289
10290 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10291
10292         * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
10293         declaration to __syscall_rt_sigaction.
10294
10295         * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
10296         non-existant <sigcontext.h>.
10297
10298 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10299
10300         * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
10301         typo.
10302
10303 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10304
10305         * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
10306
10307         * Makeconfig (shared-thread-library): Correct spelling.
10308
10309         * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
10310         <asm/pci.h>.
10311
10312 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10313
10314         * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
10315         constants from Linux headers. Pointed out by
10316         csmall@scooter.o.i.net. [PR libc/369]
10317
10318 1997-12-04 10:21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10319
10320         * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
10321
10322 1997-12-04 00:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
10323
10324         * configure.in: If --enable-add-ons is given without an
10325         argument, set the addons list to all subdirs with a configure
10326         script.
10327
10328 1997-12-03 23:50  Ulrich Drepper  <drepper@cygnus.com>
10329
10330         * Makeconfig: Add shared-thread-library variable.
10331
10332         * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
10333         * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
10334         here.
10335         * sysdeps/m68k/fpu/e_acos.c: Likewise.
10336         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
10337         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
10338         * sysdeps/m68k/fpu/e_pow.c: Likewise.
10339         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
10340         * sysdeps/m68k/fpu/k_cos.c: Likewise.
10341         * sysdeps/m68k/fpu/k_sin.c: Likewise.
10342         * sysdeps/m68k/fpu/k_tan.c: Likewise.
10343         * sysdeps/m68k/fpu/s_atan.c: Likewise.
10344         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
10345         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
10346         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
10347         * sysdeps/m68k/fpu/s_csin.c: Likewise.
10348         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
10349         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
10350         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
10351         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
10352         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
10353         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
10354         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
10355         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
10356         * sysdeps/m68k/fpu/s_modf.c: Likewise.
10357         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
10358         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
10359         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
10360
10361         * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
10362         __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
10363         * signal/Makefile (headers): Add bits/siginfo.h.
10364         (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
10365         (distribute): Add testrtsig.h.
10366         * signal/allocrtsig.c: New file.
10367         * signal/signal.h: Define `union sigval'.  Include <bits/siginfo.h>.
10368         Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
10369         __libc_current_sigrtmax.
10370         * sysdeps/generic/sigqueue.c: New file.
10371         * sysdeps/generic/sigtimedwait.c: New file.
10372         * sysdeps/generic/sigwaitinfo.c: New file.
10373         * sysdeps/generic/testrtsig.h: New file.
10374         * sysdeps/generic/bits/siginfo.h: New file.
10375         * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
10376         * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
10377         old_kernel_sigaction and rename sa_handler member to k_sa_handler.
10378         * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
10379         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
10380         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
10381         * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
10382         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
10383         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
10384         * sysdeps/unix/sysv/linux/sigpending.c: New file.
10385         * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
10386         * sysdeps/unix/sysv/linux/sigqueue.c: New file.
10387         * sysdeps/unix/sysv/linux/sigreturn.c: New file.
10388         * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
10389         * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
10390         * sysdeps/unix/sysv/linux/testrtsig.h: New file.
10391         * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
10392         * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
10393         * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
10394         * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
10395         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
10396         and _POSIX_REALTIME_SIGNALS.
10397         * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
10398         * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
10399         update _NSIG.
10400         * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
10401         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
10402         definitions.
10403
10404         * Makefile (subdirs): Add rt.
10405         * shlib-versions: Add entry for librt.
10406         * rt/Makefile: New file.
10407         * rt/aio.h: New file.
10408         * rt/aio_cancel.c: New file.
10409         * rt/aio_error.c: New file.
10410         * rt/aio_fsync.c: New file.
10411         * rt/aio_misc.c: New file.
10412         * rt/aio_misc.h: New file.
10413         * rt/aio_read.c: New file.
10414         * rt/aio_read64.c: New file.
10415         * rt/aio_return.c: New file.
10416         * rt/aio_suspend.c: New file.
10417         * rt/aio_write.c: New file.
10418         * rt/aio_write64.c: New file.
10419         * rt/lio_listio.c: New file.
10420         * rt/lio_listio64.c: New file.
10421         * sysdeps/generic/aio_sigqueue.c: New file.
10422         * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
10423         * sysdeps/unix/sysv/linux/Dist: Add new files
10424         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
10425         (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
10426         rt_sigqueueinfo, rt_sigaction.
10427
10428         * posix/Makefile (headers): Add bits/environments.h.
10429         * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
10430         and _CS_LFS_CFLAGS on 64bit platforms.
10431         * posix/unistd.h: Define _XOPEN_LEGACY.  Explain _XOPEN_REALTIME
10432         and _XOPEN_REALTIME_THREADS.  Include bits/environments.h.
10433         * sysdeps/generic/bits/confname.h: Define _SC_* constants for
10434         compilation modules.
10435         * sysdeps/wordsize-32/bits/environments.h: New file.
10436         * sysdeps/wordsize-64/bits/environments.h: New file.
10437
10438         * posix/getopt.c: Remove declaration of getpid and __libc_pid.
10439         * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
10440         __libc_pid.
10441         * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
10442         0xf00baa.
10443
10444         * string/string.h: Add declaration of __strverscmp.
10445         * string/strverscmp.c: Rename function ot __strverscmp and make old
10446         name weak alias.
10447
10448         * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
10449         * sysdeps/generic/enbl-secure.c: Likewise.
10450         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10451
10452         * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
10453
10454         * sysdeps/unix/sysv/linux/sys/pci.h: New file.
10455
10456 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
10457
10458         * posix/sys/wait.h: Use __transparent_union__ instead of
10459         transparent_union.  Reported by Roland McGrath.
10460
10461 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10462
10463         * resolv/inet_neta.c (inet_neta): Change type of first parameter
10464         to u_int32_t.  Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
10465         [PR libc/366].
10466
10467         * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
10468
10469         * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
10470
10471 1997-12-03 20:40  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10472
10473         * grp/initgroups.c: Increase buffer if it is too small.
10474
10475 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
10476
10477         * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
10478         fields, this is no ISO C.  Reported by Andreas Jaeger.
10479
10480 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10481
10482         * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
10483
10484 1997-12-03 08:58  Philip Blundell  <pb@nexus.co.uk>
10485
10486         * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
10487         _SYS_UTSNAME_H not _UTSNAME_H.
10488
10489 1997-11-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10490
10491         * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
10492         computing s_scale.
10493
10494 1997-11-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10495
10496         * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
10497         * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
10498         * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
10499
10500         * math/libm-test.c (csqrt_test): Add testcase.
10501
10502 1997-12-03 15:44  Ulrich Drepper  <drepper@cygnus.com>
10503
10504         * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
10505         * sysdeps/unix/sysv/linux/sys/Dist: Add it.
10506         * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
10507
10508 1997-11-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10509
10510         * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
10511
10512 1997-12-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10513
10514         * math/libm-test.c (acos_test): Add more tests.
10515         (asin_test): Likewise.
10516         (atan_test): Likewise.
10517         (exp_test): Likewise.
10518         (sin_test): Likewise.
10519         (sqrt_test): Likewise.
10520         (cpow_test): Likewise.
10521         (csqrt_test): Likewise.
10522         (cexp_test): Correct typo in gcc version test.
10523
10524 1997-12-02 17:14  Philip Blundell  <pb@nexus.co.uk>
10525
10526         * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
10527         <bits/setjmp.h>.
10528         * sysdeps/arm/setjmp.S: Likewise.
10529
10530         * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
10531
10532 1997-12-02 18:07  Philip Blundell  <pb@nexus.co.uk>
10533
10534         * stdio/stdio.h: Add prototype for tmpfile64().
10535
10536 1997-12-02 17:47  Philip Blundell  <pb@nexus.co.uk>
10537
10538         * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
10539         prototype to keep in step with libio version.
10540
10541         * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
10542
10543 1997-12-02 17:41  Philip Blundell  <pb@nexus.co.uk>
10544
10545         * sysdeps/generic/Makefile: Don't try to use make_siglist if
10546         cross-compiling.
10547
10548 1997-12-02 01:18  Ulrich Drepper  <drepper@cygnus.com>
10549
10550         * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
10551         load GOT ptr before jumping to _exit.
10552         Reported by Xavier Leroy.
10553
10554 1997-12-01 17:27  Ulrich Drepper  <drepper@cygnus.com>
10555
10556         * Makefile (subdirs): Add iconvdata and localedata.
10557
10558         * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
10559
10560         * iconv/gconv_conf.c (read_conf_file): Little optimization.
10561
10562         * iconvdata/8bit-gap.c: New file.
10563         * iconvdata/8bit-generic.c: Renamed from ...
10564         * iconvdata/iso8859-generic.c: ...this.
10565         * iconvdata/configure: Removed.
10566         * iconvdata/Makefile: Add new modules and better rules.
10567         * iconvdata/iso6937.c: Minor bug fixes.
10568         * iconvdata/iso8859-1.c: Likewise.
10569         * iconvdata/t61.c: Likewise.
10570         * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
10571         Minor bug fixes.
10572         * iconvdata/iso8859-3.c: Likewise.
10573         * iconvdata/iso8859-4.c: Likewise.
10574         * iconvdata/iso8859-5.c: Likewise.
10575         * iconvdata/iso8859-6.c: Likewise.
10576         * iconvdata/iso8859-7.c: Likewise.
10577         * iconvdata/iso8859-8.c: Likewise.
10578         * iconvdata/iso8859-9.c: Likewise.
10579         * iconvdata/iso8859-10.c: Likewise.
10580         * iconvdata/ebcdic-at-de-a.c: New file.
10581         * iconvdata/ebcdic-at-de.c: New file.
10582         * iconvdata/ebcdic-ca-fr.c: New file.
10583         * iconvdata/hp-roman8.c: New file.
10584         * iconvdata/koi-8.c: New file.
10585         * iconvdata/koi8-r.c: New file.
10586         * iconvdata/koi8-h.c: New file.
10587         * iconvdata/latin-greek-1.c: New file.
10588         * iconvdata/latin-greek-1.h: New file.
10589         * iconvdata/latin-greek.c: New file.
10590         * iconvdata/latin-greek.h: New file.
10591         * iconvdata/jis0201.c: New file.
10592         * iconvdata/jis0201.h: New file.
10593         * iconvdata/jis0208.c: New file.
10594         * iconvdata/jis0208.h: New file.
10595         * iconvdata/jis0212.c: New file.
10596         * iconvdata/jis0212.h: New file.
10597         * iconvdata/sjis.c: New file.
10598         * iconvdata/gap.pl: New file.  Script to generate table header.
10599         * iconvdata/gaptab.pl: New file.
10600         * iconvdata/gconv-modules: Add info about new modules.
10601
10602         * locale/programs/charmap.c: Also examine alias names given in charmap
10603         files.
10604
10605         * localedata/*: Add to here from add-on.  We need the information
10606         to generate tables for iconv.
10607
10608         Update from db-2.3.14.
10609         * db2/Makefile: Updated.
10610         * db2/config.h: Likewise.
10611         * db2/db.h: Likewise.
10612         * db2/db_int.h: Likewise.
10613         * db2/btree/bt_cursor.c: Likewise.
10614         * db2/btree/bt_delete.c: Likewise.
10615         * db2/btree/bt_put.c: Likewise.
10616         * db2/btree/bt_search.c: Likewise.
10617         * db2/btree/bt_split.c: Likewise.
10618         * db2/btree/btree_auto.c: Likewise.
10619         * db2/common/db_appinit.c: Likewise.
10620         * db2/common/db_apprec.c: Likewise.
10621         * db2/common/db_err.c: Likewise.
10622         * db2/common/db_region.c: Likewise.
10623         * db2/db/db_auto.c: Likewise.
10624         * db2/db/db_dispatch.c: Likewise.
10625         * db2/db/db_ret.c: Likewise.
10626         * db2/dbm/dbm.c: Likewise.
10627         * db2/hash/hash_auto.c: Likewise.
10628         * db2/include/btree_ext.h: Likewise.
10629         * db2/include/common_ext.h: Likewise.
10630         * db2/include/db.h.src: Likewise.
10631         * db2/include/db_cxx.h: Likewise.
10632         * db2/include/db_ext.h: Likewise.
10633         * db2/include/db_int.h.src: Likewise.
10634         * db2/include/lock.h: Likewise.
10635         * db2/include/log.h: Likewise.
10636         * db2/include/mp.h: Likewise.
10637         * db2/include/mp_ext.h: Likewise.
10638         * db2/include/os_ext.h: Likewise.
10639         * db2/include/os_func.h: Likewise.
10640         * db2/lock/lock.c: Likewise.
10641         * db2/lock/lock_deadlock.c: Likewise.
10642         * db2/log/log.c: Likewise.
10643         * db2/log/log_archive.c: Likewise.
10644         * db2/log/log_auto.c: Likewise.
10645         * db2/log/log_get.c: Likewise.
10646         * db2/log/log_put.c: Likewise.
10647         * db2/mp/mp_bh.c: Likewise.
10648         * db2/mp/mp_fget.c: Likewise.
10649         * db2/mp/mp_fopen.c: Likewise.
10650         * db2/mp/mp_fput.c: Likewise.
10651         * db2/mp/mp_fset.c: Likewise.
10652         * db2/mp/mp_open.c: Likewise.
10653         * db2/mp/mp_pr.c: Likewise.
10654         * db2/mp/mp_region.c: Likewise.
10655         * db2/mp/mp_sync.c: Likewise.
10656         * db2/mutex/README: Likewise.
10657         * db2/mutex/mutex.c: Likewise.
10658         * db2/os/os_open.c: Likewise.
10659         * db2/os/os_func.c: Removed.
10660         * db2/os/os_config.c: New file.
10661         * db2/os/os_spin.c: New file.
10662         * db2/txn/txn.c: Likewise.
10663         * db2/txn/txn_auto.c: Likewise.
10664
10665 1997-11-30 06:01  Ulrich Drepper  <drepper@cygnus.com>
10666
10667         * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
10668         __typeof for C++ since this fails for class members.
10669         Reported by Neal Becker <neal@ctd.comsat.com>.
10670
10671 1997-11-28 11:21  Zack Weinberg  <zack@rabi.phys.columbia.edu>
10672
10673         * configure.in: Check for a working makeinfo (3.11 or better).
10674         * config.make.in: Add MAKEINFO to be substituted.
10675         * manual/Makefile: Don't update info if makeinfo is too old.
10676
10677 1997-11-30 05:21  Ulrich Drepper  <drepper@cygnus.com>
10678
10679         * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
10680         * sysdeps/alpha/__longjmp.S: Likewise.
10681         * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
10682         not <bits/termios.h>.
10683
10684         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
10685         __llseek and make llseek and lseek64 weak aliases.
10686         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
10687         Patches by a sun <asun@zoology.washington.edu>.
10688
10689 1997-11-29 19:19  Zack Weinberg  <zack@rabi.phys.columbia.edu>
10690
10691         * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
10692         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10693         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10694         * misc/sys/syslog.h: Clean up BSD header.
10695
10696 1997-11-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10697
10698         * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
10699
10700         * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
10701         for ctan(+-inf,x).
10702         * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
10703         * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
10704
10705         * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
10706         csqrt (-1), ctanh(i*pi/4).
10707
10708 1997-11-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10709
10710         * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
10711
10712 1997-11-28 13:28  Philip Blundell  <Philip.Blundell@pobox.com>
10713
10714         * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
10715
10716 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10717
10718         * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
10719
10720 1997-11-26 21:28  Ulrich Drepper  <drepper@cygnus.com>
10721
10722         * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
10723         and use.  Define GETCWD_RETURN_TYPE instead and use it.
10724         * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
10725         of GETCWD_STORYGE_CLASS and put the return type and the
10726         `internal_function' in the right order for gcc 2.7.2.
10727
10728 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10729
10730         * sysdeps/unix/sysv/linux/sys/module.h: Remove file.  It's
10731         incompatible with Linux 2.1.x.  Packages using modules
10732         (e.g. modutils) should/do provide their own version.  Suggested by
10733         Richard Henderson.
10734
10735         * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
10736
10737         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
10738         [$(subdir)=socket]: Remove sys/module.h.
10739
10740 1997-11-26 04:28  Ulrich Drepper  <drepper@cygnus.com>
10741
10742         * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
10743         computing s_scale.  Patch by a sun <asun@zoology.washington.edu>.
10744
10745         * iconv/gconv_close.c: Correct freeing of descriptor data.
10746         * iconv/gconv_simple.c: Return correct error values for illegal or
10747         incomplete characters.
10748
10749         * Makefile (iconvdata/%): Special goal to simplify iconvdata
10750         development.
10751         * iconvdata/Makefile: New file.
10752         * iconvdata/configure: Likewise.
10753         * iconvdata/extra-module.mk: Likewise.
10754         * iconvdata/gconv-modules: Likewise.
10755         * iconvdata/iso6937.c: Likewise.
10756         * iconvdata/iso8859-1.c: Likewise.
10757         * iconvdata/iso8859-10.c: Likewise.
10758         * iconvdata/iso8859-10.h: Likewise.
10759         * iconvdata/iso8859-2.c: Likewise.
10760         * iconvdata/iso8859-2.h: Likewise.
10761         * iconvdata/iso8859-3.c: Likewise.
10762         * iconvdata/iso8859-3.h: Likewise.
10763         * iconvdata/iso8859-4.c: Likewise.
10764         * iconvdata/iso8859-4.h: Likewise.
10765         * iconvdata/iso8859-5.c: Likewise.
10766         * iconvdata/iso8859-5.h: Likewise.
10767         * iconvdata/iso8859-6.c: Likewise.
10768         * iconvdata/iso8859-6.h: Likewise.
10769         * iconvdata/iso8859-7.c: Likewise.
10770         * iconvdata/iso8859-7.h: Likewise.
10771         * iconvdata/iso8859-8.c: Likewise.
10772         * iconvdata/iso8859-8.h: Likewise.
10773         * iconvdata/iso8859-9.c: Likewise.
10774         * iconvdata/iso8859-9.h: Likewise.
10775         * iconvdata/iso8859-generic.c: Likewise.
10776         * iconvdata/t61.c: Likewise.
10777
10778         * string/Makefile (routines): Add strcasestr.
10779         * string/string.h: Add prototype for strcasestr.
10780         * sysdeps/generic/strcasestr.c: New file.
10781         * wcsmbs/mbrtowc.c: Simplify special case a bit.
10782         * wcsmbs/wcrtomb.c: Likewise.
10783         * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
10784         * wcsmbs/wcsnrtombs.c: Likewise.
10785         * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
10786         partial character is read.
10787         * wcsmbs/wcsrtombs.c: Likewise.
10788         * wcsmbs/wmemrtombs.c: Likewise.
10789         * wcsmbs/wmemrtowcs.c: Likewise.
10790
10791         * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
10792         * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
10793         * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
10794         * sysdeps/i386/elf/setjmp.S: Likewise.
10795         * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
10796         <bits/termios.h>.
10797
10798         * sysdeps/posix/mk-stdiolim.c: Output file with comment.
10799         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
10800
10801         * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
10802         * sysvipc/sys/ipc.h: Likewise.
10803         * sysvipc/sys/msg.h: Likewise.
10804         * sysvipc/sys/sem.h: Likewise.
10805         * sysvipc/sys/shm.h: Likewise.
10806
10807         * sysdeps/alpha/bits/endian.h: Issue error message if the header is
10808         used directly.
10809         * sysdeps/alpha/bits/setjmp.h: Likewise.
10810         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
10811         * sysdeps/arm/bits/endian.h: Likewise.
10812         * sysdeps/arm/bits/setjmp.h: Likewise.
10813         * sysdeps/generic/bits/byteswap.h: Likewise.
10814         * sysdeps/generic/bits/confname.h: Likewise.
10815         * sysdeps/generic/bits/dirent.h: Likewise.
10816         * sysdeps/generic/bits/dlfcn.h: Likewise.
10817         * sysdeps/generic/bits/endian.h: Likewise.
10818         * sysdeps/generic/bits/fenv.h: Likewise.
10819         * sysdeps/generic/bits/huge_val.h: Likewise.
10820         * sysdeps/generic/bits/in.h: Likewise.
10821         * sysdeps/generic/bits/ioctl-types.h: Likewise.
10822         * sysdeps/generic/bits/ioctls.h: Likewise.
10823         * sysdeps/generic/bits/ipc.h: Likewise.
10824         * sysdeps/generic/bits/msq.h: Likewise.
10825         * sysdeps/generic/bits/poll.h: Likewise.
10826         * sysdeps/generic/bits/resource.h: Likewise.
10827         * sysdeps/generic/bits/sched.h: Likewise.
10828         * sysdeps/generic/bits/sem.h: Likewise.
10829         * sysdeps/generic/bits/setjmp.h: Likewise.
10830         * sysdeps/generic/bits/shm.h: Likewise.
10831         * sysdeps/generic/bits/sigaction.h: Likewise.
10832         * sysdeps/generic/bits/sigcontext.h: Likewise.
10833         * sysdeps/generic/bits/socket.h: Likewise.
10834         * sysdeps/generic/bits/stat.h: Likewise.
10835         * sysdeps/generic/bits/statfs.h: Likewise.
10836         * sysdeps/generic/bits/stdio_lim.h: Likewise.
10837         * sysdeps/generic/bits/termios.h: Likewise.
10838         * sysdeps/generic/bits/time.h: Likewise.
10839         * sysdeps/generic/bits/uio.h: Likewise.
10840         * sysdeps/generic/bits/utmp.h: Likewise.
10841         * sysdeps/generic/bits/utmpx.h: Likewise.
10842         * sysdeps/generic/bits/utsname.h: Likewise.
10843         * sysdeps/generic/bits/waitflags.h: Likewise.
10844         * sysdeps/generic/bits/waitstatus.h: Likewise.
10845         * sysdeps/gnu/bits/utmp.h: Likewise.
10846         * sysdeps/gnu/bits/utmpx.h: Likewise.
10847         * sysdeps/i386/bits/byteswap.h: Likewise.
10848         * sysdeps/i386/bits/endian.h: Likewise.
10849         * sysdeps/i386/bits/huge_val.h: Likewise.
10850         * sysdeps/i386/bits/setjmp.h: Likewise.
10851         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
10852         * sysdeps/ieee754/bits/huge_val.h: Likewise.
10853         * sysdeps/m68k/bits/byteswap.h: Likewise.
10854         * sysdeps/m68k/bits/endian.h: Likewise.
10855         * sysdeps/m68k/bits/setjmp.h: Likewise.
10856         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
10857         * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
10858         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
10859         * sysdeps/mach/hurd/bits/stat.h: Likewise.
10860         * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
10861         * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
10862         * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
10863         * sysdeps/mips/bits/dlfcn.h: Likewise.
10864         * sysdeps/mips/bits/endian.h: Likewise.
10865         * sysdeps/mips/bits/setjmp.h: Likewise.
10866         * sysdeps/mips/dec/bits/endian.h: Likewise.
10867         * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
10868         * sysdeps/mips/mipsel/bits/endian.h: Likewise.
10869         * sysdeps/mips/p40/bits/endian.h: Likewise.
10870         * sysdeps/powerpc/bits/endian.h: Likewise.
10871         * sysdeps/powerpc/bits/fenv.h: Likewise.
10872         * sysdeps/powerpc/bits/setjmp.h: Likewise.
10873         * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
10874         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
10875         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
10876         * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
10877         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
10878         * sysdeps/unix/bsd/bits/dirent.h: Likewise.
10879         * sysdeps/unix/bsd/bits/stat.h: Likewise.
10880         * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
10881         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
10882         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
10883         * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
10884         * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
10885         * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
10886         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
10887         * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
10888         * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
10889         * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
10890         * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
10891         * sysdeps/unix/common/bits/dirent.h: Likewise.
10892         * sysdeps/unix/sysv/bits/dirent.h: Likewise.
10893         * sysdeps/unix/sysv/bits/stat.h: Likewise.
10894         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
10895         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
10896         * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
10897         * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
10898         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
10899         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
10900         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
10901         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
10902         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
10903         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
10904         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
10905         * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
10906         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
10907         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
10908         * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
10909         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
10910         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
10911         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
10912         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
10913         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10914         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10915         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10916         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
10917         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
10918         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10919         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
10920         * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
10921         * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
10922         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
10923         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
10924         * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
10925         * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
10926         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
10927         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
10928         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
10929         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
10930         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
10931         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
10932         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
10933         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
10934         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
10935         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
10936         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
10937         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
10938         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
10939         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
10940         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
10941         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
10942         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10943         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10944         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
10945         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
10946         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
10947         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10948         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
10949         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
10950         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
10951         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
10952         * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
10953         * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
10954         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
10955         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
10956         * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
10957         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
10958         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
10959         * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
10960         * sysdeps/vax/bits/huge_val.h: Likewise.
10961         * sysdeps/vax/bits/setjmp.h: Likewise.
10962         * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
10963         * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
10964
10965 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10966
10967         * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
10968
10969 1997-11-25  Paul Eggert  <eggert@shade.twinsun.com>
10970
10971         * strftime.c (strftime):
10972         No longer any need to undef or declare if emacs is defined.
10973         (my_strftime): When checking a -1 returned by mktime, don't blow up
10974         if localtime_r returns NULL.
10975
10976 1997-11-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10977
10978         * README.template: Fix spelling.
10979
10980 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10981
10982         * configure.in: Enhance --enable-add-ons description a wee bit.
10983
10984 1997-11-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10985
10986         * glibcbug.in: Add more information of build environment and flags.
10987
10988 1997-11-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10989
10990         * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
10991         it into ENOENT.
10992
10993 1997-11-24 03:01  Ulrich Drepper  <drepper@cygnus.com>
10994
10995         * elf/dl-support.c: Call __libc_init_secure to make sure
10996         __libc_enable_secure is defined early.
10997         * sysdeps/generic/enbl-secure.c: Change function name to
10998         __libc_init_secure and make it global instead of a constructor.
10999
11000         * iconv/gconv.c: Fix lots of bugs.
11001         * iconv/gconv.h: Likewise.
11002         * iconv/gconv_builtin.h: Likewise.
11003         * iconv/gconv_close.c: Likewise.
11004         * iconv/gconv_conf.c: Likewise.
11005         * iconv/gconv_db.c: Likewise.
11006         * iconv/gconv_dl.c: Likewise.
11007         * iconv/gconv_open.c: Likewise.
11008         * iconv/gconv_simple.c: Likewise.
11009         * iconv/iconv.c: Likewise.
11010         * iconv/iconv_close.c: Likewise.
11011         * iconv/iconv_open.c: Likewise.
11012
11013         * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
11014         * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
11015         * wcsmbs/wmemrtombs.c: New file.
11016         * wcsmbs/wmemrtowcs.c: New file.
11017
11018 1997-11-22 19:28  Ulrich Drepper  <drepper@cygnus.com>
11019
11020         * iconv/gconv_simple.c: Fix lots of bugs.
11021         * iconv/iconv_open.c: Normalize names before passing them to
11022         __gconv_open.
11023
11024         * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
11025
11026         * libio/iopopen.c: Check for correct mode argument and punt otherwise.
11027         * stdio-common/test-popen.c: Add test for above change.
11028
11029         * math/libm-test.c: Print test results also using %a format,
11030         specified in PRINTF_XEXPR macro.
11031         * math/test-double.c: Define PRINTF_XEXPR.
11032         * math/test-float.c: Likewise.
11033         * math/test-ldouble.c: Likewise.
11034         * math/test-idouble.c: Likewise.
11035         * math/test-ifloat.c: Likewise.
11036         * math/test-ildoubl.c: Likewise.
11037
11038         * stdio-common/vfscanf.c: Recognize a in format specifier only as
11039         modifier if used before s, S, or [.  Otherwise it's the hexadecimal
11040         FP number format.
11041
11042         * stdlib/strtod.c: Little code cleanup.
11043
11044         * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
11045         compiling in math subdir.
11046
11047         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
11048         instead of __LIBC_M81_MATH_INLINES.
11049         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
11050         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
11051         * sysdeps/m68k/fpu/e_pow.c: Likewise.
11052         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
11053         * sysdeps/m68k/fpu/k_cos.c: Likewise.
11054         * sysdeps/m68k/fpu/k_sin.c: Likewise.
11055         * sysdeps/m68k/fpu/k_tan.c: Likewise.
11056         * sysdeps/m68k/fpu/s_atan.c: Likewise.
11057         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
11058         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
11059         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
11060         * sysdeps/m68k/fpu/s_csin.c: Likewise.
11061         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
11062         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
11063         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
11064         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
11065         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
11066         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
11067         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
11068         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
11069         * sysdeps/m68k/fpu/s_modf.c: Likewise.
11070         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
11071         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
11072         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
11073         * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
11074         __LIBC_INTERNAL_MATH_INLINES is defined.
11075
11076         * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
11077         of compare macros from ISO C 9X.  Optimize generic versions a bit.
11078         Define __signbit inline functions and __ieee754_sqrt which can be
11079         used if the ompiler is fixed.
11080
11081         * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
11082
11083 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11084
11085         * Makerules ($(common-objpfx)stub-$(subdir)): Look for
11086         sysdeps/generic in the whole dep file, not only in the first line.
11087
11088 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11089
11090         * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
11091
11092 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11093
11094         * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
11095         place.
11096
11097 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11098
11099         * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
11100         is non-empty.
11101
11102 1997-11-20 16:51  Ulrich Drepper  <drepper@cygnus.com>
11103
11104         * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
11105         return value.
11106
11107 1997-11-19 21:36  Ulrich Drepper  <drepper@cygnus.com>
11108
11109         * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
11110         readlink succeeds but the return value is too long.
11111
11112         * stdio-common/printf_fphex.c: Determine sign of number correctly.
11113
11114 1997-11-19 02:45  Ulrich Drepper  <drepper@cygnus.com>
11115
11116         * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
11117         __remqu for Alpha.
11118
11119 1997-11-18 23:08  Ulrich Drepper  <drepper@cygnus.com>
11120
11121         * sysdeps/generic/sys/ucontext.h: Stub context file.
11122
11123         * libio/iofprintf.c: Removed.  We use the stdio-common version.
11124
11125         * manual/Makefile (distribute): Add stdio-fp.c.
11126
11127         * sysdeps/powerpc/Dist: Add ppc-mcount.S.
11128
11129         * db2/Makefile (distribute): Add include/os_func.h, README and
11130         mutex/tsl_parisc.s.
11131
11132         * hesiod/Makefile (distribute): Add README.hesiod.
11133
11134 1997-11-18 22:14  Ulrich Drepper  <drepper@cygnus.com>
11135
11136         * iconv/gconv.c: Correctly call transformation function.
11137
11138         * manual/maint.texi: Document need of binutils 2.8.1.0.17.
11139
11140 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11141
11142         * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
11143         wrong results for e.g. remquo (3,2, &x)).
11144         * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
11145         * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
11146
11147 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11148
11149         * configure.in (ld --version-script): Test if the same symbol
11150         maybe defined in all versions (needed by recent changes to
11151         libc.map and supported with binutils 2.8.1.0.17) and issue warning
11152         if versioning is not supported/enabled.
11153         (bash test): Correct test case.
11154
11155         * math/libm-test.c: Added counting/reporting of number of test cases.
11156
11157         * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
11158         use awk instead.
11159
11160         * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
11161
11162 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11163
11164         * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
11165
11166 1997-11-18 18:04  Ulrich Drepper  <drepper@cygnus.com>
11167
11168         * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
11169         Replace revoke call by use of REVOKE.
11170         * sysdeps/unix/sysv/linux/pty.c: New file.  Define REVOKE as
11171         empty and #include generic version.
11172         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
11173
11174 1997-11-18 16:02  Ulrich Drepper  <drepper@cygnus.com>
11175
11176         * libc.map: Add socket functions with __libc_* names.
11177         Reported by Andreas Jaeger.
11178
11179 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11180
11181         * libc.map: Tidy up (remove duplicates, sort entries).
11182
11183 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11184
11185         * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
11186
11187 1997-11-18 06:45  Ulrich Drepper  <drepper@cygnus.com>
11188
11189         * sysdeps/generic/pty.c: Make thread safe.  Fix bug when calling
11190         again after successful call.
11191         Patch by Marc Lehmann <pcg@goof.com>.
11192
11193 1997-11-17  Paul Eggert  <eggert@twinsun.com>
11194
11195         * time/mktime.c, time/strftime.c (_REENTRANT): #define,
11196         as some hosts need this to declare localtime_r properly.
11197
11198 1997-11-18 06:08  Ulrich Drepper  <drepper@cygnus.com>
11199
11200         * libc.map: Add iconv_open, iconv, and iconv_close.
11201
11202 1997-11-18 02:31  Ulrich Drepper  <drepper@cygnus.com>
11203
11204         * iconv/Makefile: New file.
11205         * iconv/gconv.c: New file.
11206         * iconv/gconv.h: New file.
11207         * iconv/gconv_builtin.c: New file.
11208         * iconv/gconv_builtin.h: New file.
11209         * iconv/gconv_close.c: New file.
11210         * iconv/gconv_conf.c: New file.
11211         * iconv/gconv_db.c: New file.
11212         * iconv/gconv_dl.c: New file.
11213         * iconv/gconv_open.c: New file.
11214         * iconv/gconv_simple.c: New file.
11215         * iconv/iconv.c: New file.
11216         * iconv/iconv.h: New file.
11217         * iconv/iconv_close.c: New file.
11218         * iconv/iconv_open.c: New file.
11219         * include/gconv.h: New file.
11220
11221         * Makeconfig: Define gconvdir.
11222         * Makefile (subdirs): Add iconv.
11223
11224         * string/bits/string2.h: Add optimization for strtok_r.
11225
11226         * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
11227         for NULL.
11228         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
11229         Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
11230
11231         * configure.in: Correct test for bash2.
11232         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
11233
11234         * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
11235         (CFLAGS-locfile.c): Likewise.
11236         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
11237
11238         * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
11239         non-existing entry if the table is full.
11240
11241         * posix/regex.h: Pretty print.
11242
11243         * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
11244
11245         * sysdeps/posix/ctermid.c: Simplify a bit.
11246
11247         * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
11248
11249 1997-11-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11250
11251         * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
11252         <sys/types.h> instead of <asm/types.h>.
11253
11254 1997-11-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11255
11256         * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
11257
11258 1997-11-16 17:09  H.J. Lu  <hjl@gnu.ai.mit.edu>
11259
11260         * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
11261         fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
11262         (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
11263         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
11264         fclose): Added to GLIBC_2.1.
11265
11266         * libio/Makefile (routines, shared-only-routines): Add
11267         oldiofclose.  Remove oldfreopen.
11268
11269         * libio/freopen.c (freopen): When PIC is defined, call
11270         _IO_old_freopen () for old stdio.
11271
11272         * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
11273         (_IO_fclose, fclose): Use _IO_new_fclose as default version
11274         for GLIBC_2.1.
11275
11276         * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
11277         instead of _IO_file_close_it.
11278
11279         * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
11280         to _IO_2_1_stdxxx_.
11281         (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
11282         is defined.
11283
11284         * libio/libioP.h (_IO_old_do_flush): New.
11285
11286         * libio/oldfileops.c (_IO_old_file_close_it,
11287         _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
11288         Call _IO_old_do_flush () instead of _IO_do_flush ().
11289         (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
11290         _IO_do_write ().
11291
11292         * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
11293         instead of _IO_file_init ().
11294         Bind old symbols to version GLIBC_2.0.
11295
11296         * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
11297         (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
11298         _IO_stdxxx_.
11299         (_IO_check_libio): New function in .init.
11300
11301         * libio/oldiofclose.c: New file.
11302
11303         * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
11304         _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
11305         (DEF_STDFILE): Don't use default_symbol_version.
11306
11307         * libio/stdio.c (stdin, stdout, stderr): Set to
11308         _IO_2_1_stdxxx_._
11309         (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
11310         stdxxx.
11311
11312         * csu/Makefile (distribute): Add init.c.
11313         (extra-objs): Add init.o for ELF.
11314         (start-installed-name): Add $(objpfx)init.o.
11315
11316         * csu/init.c: New file.
11317
11318 1997-11-12 08:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
11319
11320         * elf/dl-lookup.c (do_lookup): Don't use the hidden base
11321         definition as the default.
11322
11323 1997-08-27  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
11324
11325         * erand48_r.c (__erand48_r): Implement for 32 bit short int.
11326
11327 1997-11-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11328
11329         * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
11330         (PR 351).
11331
11332 1997-11-16 21:01  Philip Blundell  <Philip.Blundell@pobox.com>
11333
11334         * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
11335         to preserve condition codes on function call.
11336
11337 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11338
11339         * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
11340
11341 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11342
11343         * math/libm-test.c (asin_test): Add epsilon for float.
11344         (tan_test): Add epsilon for float.
11345         (log1p_test): Add epsilon for float.
11346         (inverse_functions): Add epsilons.
11347
11348         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
11349         net/if_packet.h.
11350
11351         * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
11352
11353 1997-11-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11354
11355         * md5-crypt/Makefile (extra-objs): Make recursively expanded
11356         variable, since $(object-suffixes) is not defined yet.
11357
11358 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11359
11360         * db2/Makefile (distribute): db185/db185_int.src ->
11361         db185/db185_int.h.
11362
11363 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11364
11365         * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
11366         exactly one.
11367
11368 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11369
11370         * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
11371         name.
11372         * sysdeps/generic/e_acosl.c: Likewise.
11373         * sysdeps/generic/e_asinl.c: Likewise.
11374         * sysdeps/generic/e_atan2l.c: Likewise.
11375         * sysdeps/generic/e_expl.c: Likewise.
11376         * sysdeps/generic/e_fmodl.c: Likewise.
11377         * sysdeps/generic/e_j0l.c: Likewise.
11378         * sysdeps/generic/e_j1l.c: Likewise.
11379         * sysdeps/generic/e_jnl.c: Likewise.
11380         * sysdeps/generic/e_lgammal_r.c: Likewise.
11381         * sysdeps/generic/e_log10l.c: Likewise.
11382         * sysdeps/generic/e_logl.c: Likewise.
11383         * sysdeps/generic/e_powl.c: Likewise.
11384         * sysdeps/generic/e_sqrtl.c: Likewise.
11385         * sysdeps/generic/e_exp2l.c: Likewise.
11386
11387 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11388
11389         * Make-dist (+sysdep-names): Remove extra paren.
11390         * Makefile (distribute): Add stub-tag.h.
11391         * elf/Makefile (distribute): Add atomicity.h.
11392         * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
11393         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
11394         [$(subdir)=socket]: Add net/if_packet.h.
11395         * sysdeps/alpha/Dist: Remove setjmp_aux.c.
11396         * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
11397         net/if_packet.h, scsi/sg.h.
11398
11399 1997-11-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11400
11401         * Makefile (install): Quote $(CC) expansion.
11402
11403 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11404
11405         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
11406         working /proc cwd and no restrictions on path length.  Following
11407         some ideas from Andi Kleen <ak@muc.de> (PR 350).
11408
11409 1997-11-14 19:14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
11410
11411         * nis/nss_compat/compat-grp.c: Remove buggy assert call.
11412         * nis/nss_compat/compat-pwd.c: Likewise.
11413         * nis/nss_compat/compat-spwd.c: Likewise.
11414
11415 1997-11-14 22:23  Ulrich Drepper  <drepper@cygnus.com>
11416
11417         * sysdeps/libm-i387/s_fdim.S: New file.
11418         * sysdeps/libm-i387/s_fdimf.S: New file.
11419         * sysdeps/libm-i387/s_fdiml.S: New file.
11420         * sysdeps/libm-i387/i686/s_fdim.S: New file.
11421         * sysdeps/libm-i387/i686/s_fdimf.S: New file.
11422         * sysdeps/libm-i387/i686/s_fdiml.S: New file.
11423
11424 1997-11-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11425
11426         * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
11427         pointer to unsigned char.
11428
11429 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11430
11431         * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
11432
11433         * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
11434
11435         * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
11436
11437 1997-11-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11438
11439         * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
11440         ilogb(0/NaN).
11441         * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
11442         * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
11443
11444 1997-11-14 05:44  Ulrich Drepper  <drepper@cygnus.com>
11445
11446         * sysdeps/libm-i387/s_fmin.S: New file.
11447         * sysdeps/libm-i387/s_fminf.S: New file.
11448         * sysdeps/libm-i387/s_fminl.S: New file.
11449         * sysdeps/libm-i387/s_fmax.S: New file.
11450         * sysdeps/libm-i387/s_fmaxf.S: New file.
11451         * sysdeps/libm-i387/s_fmaxl.S: New file.
11452         * sysdeps/libm-i387/i686/s_fmin.S: New file.
11453         * sysdeps/libm-i387/i686/s_fminf.S: New file.
11454         * sysdeps/libm-i387/i686/s_fminl.S: New file.
11455         * sysdeps/libm-i387/i686/s_fmax.S: New file.
11456         * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
11457         * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
11458
11459 1997-11-14 03:06  Ulrich Drepper  <drepper@cygnus.com>
11460
11461         * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
11462         * sysdeps/unix/sysv/linux/send.S: Likewise.
11463         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
11464         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
11465         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
11466         * sysdeps/unix/sysv/linux/recv.S: Likewise.
11467         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
11468         * sysdeps/unix/sysv/linux/connect.S: Likewise.
11469         Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
11470
11471 See ChangeLog.7 for earlier changes.