7dce45aa5228515aab12eb9970857d2fa70232ba
[platform/upstream/glibc.git] / ChangeLog
1 1998-06-27 12:58  Ulrich Drepper  <drepper@cygnus.com>
2
3         * sysdeps/unix/bsd/poll.c: Define __poll, make poll weak alias.
4
5 1998-06-27  7:07  Richard Henderson  <rth@cygnus.com>
6
7         * math/atest-exp.c (exp_mpn, main): Cast to mp_limb_t appropriately.
8         * math/atest-exp2.c (exp_mpn, main): Likewise.
9         * math/atest-sincos.c (main): Likewise.
10
11         * resolv/inet_addr.c (inet_aton): Check for 32-bit overflow.  Move
12         base handling away from strtoul.  Always reset errno.
13
14         * sysdeps/alpha/Makefile (elf): Kill -mno-fp-regs.
15
16         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Only set
17         _dl_profile_map if _dl_name_match_p.
18         (RTLD_START): Fix .prologue.  Set __libc_stack_end.
19         * sysdeps/alpha/elf/start.S: Pass sp as arg 7.  Kill __data_start.
20
21         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Mark tmp
22         as early-clobber.
23
24         * sysdeps/libm-ieee754/e_exp10.c: Include "math_private.h".
25         * sysdeps/libm-ieee754/e_exp10f.c: Likewise.
26         * sysdeps/libm-ieee754/e_exp10l.c: Likewise.
27
28 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
29
30         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use alias-safe
31         code.
32
33 1998-06-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
34
35         * nis/nis_call.c: Don't copy server structure.
36         * nis/nis_intern.h: Remove unused entries.
37         * nis/nis_table.c: Rewrite __create_ib_request.
38
39 1998-06-26 14:37  Ulrich Drepper  <drepper@cygnus.com>
40
41         * configure.in: Check for -fexceptions.
42         * config.make.in: Define exceptions, not no-exceptions.
43         * misc/sys/cdefs.h: Define __PMT.  When using modern g++ define
44         __P to use throw().
45         * misc/Makefile: Define CFLAGS-tsearch.c and CFLAGS-lsearch.c to
46         $(exceptions).
47         * stdlib/Makefile: Likewise for bsearch.c, msort.c, and qsort.c.
48         * misc/search.h: Use __PMT in tsearch, tfind, tdelete, twalk, tdestroy,
49         lfind, and lsearch prototpypes.
50         * stdlib/stdlib.h: Likewise for bsearch and qsort.
51
52 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
53
54         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use C code, not asm.
55
56 1998-06-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
57
58         * Makefile (remove-old-headers): Make phony.
59
60         * configure.in: Substitute @old_glibc_headers@.
61
62 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
63
64         * libc.map: Remove __libc_uid.
65
66 1998-06-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
67
68         * manual/terminal.texi (Allocation, Pseudo-Terminal Pairs): Fix
69         typos.
70
71 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
72
73         * libc.map: Add Alpha-specific io function from protected namespace.
74
75 1998-06-25 19:26  Ulrich Drepper  <drepper@cygnus.com>
76
77         * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) if defined first.
78         * locale/Makefile: Define locale-CPPFLAGS instead of redefining
79         CPPFLAGS.
80
81         * libc.map: Export __sigaction.
82
83 1998-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
84
85         * sysdeps/unix/sysv/linux/bits/sched.h (CLONE_PTRACE): Add it
86         (from Linux 2.1.107).
87
88 1998-06-24  Ulrich Drepper  <drepper@cygnus.com>
89
90         * nss/nss_files/files-XXX.c (_nss_files_get,ENTNAME_r): Initialize
91         position when file was opened here.
92         Reported by Howard Chu <hyc@platinum.com>.
93
94         * sysdeps/generic/glob.c: Also protect FNM_* macros from being
95         undefined in a second inclusion.
96
97 1998-06-20  Mark Kettenis  <kettenis@phys.uva.nl>
98
99         * sysdeps/mach/hurd/i386/Makefile: New file.
100         * sysdeps/mach/hurd/i386/init-first.c [!PIC] (init1): Call
101         __libc_init_secure.
102         (_hurd_stack_setup): Renamed
103         from __libc_init_first.
104         (__libc_init_first): New function.
105         * sysdeps/mach/hurd/i386/static-start.S: New file.
106
107 1998-05-30  Mark Kettenis  <kettenis@phys.uva.nl>
108
109         * sysdeps/mach/hurd/i386/init-first.c
110
111 1998-06-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
112
113         * grp/initgroups.c: Use _CALL_DL_FCT.
114
115 1998-06-23  Mark Kettenis  <kettenis@phys.uva.nl>
116
117         * elf/dl-load.c (_dl_map_object_from_fd): Add missing cast.
118
119 1998-06-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
120
121         * manual/terminal.texi (Pseudo-Terminals): Correct typos.
122
123 1998-06-23  Ulrich Drepper  <drepper@cygnus.com>
124
125         * config.make.in: Remove LDAP support.
126         * nss/Makefile: Likewise.
127
128 1998-06-22 17:02  Ulrich Drepper  <drepper@cygnus.com>
129
130         * sysdeps/generic/enbl-secure.c: Don't use __libc_uid.
131         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
132         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
133         * sysdeps/unix/sysv/linux/init-first.c: Don't initialize __libc_uid.
134
135 1998-06-02  Gordon Matzigkeit  <gord@profitpress.com>
136
137         * mach/Makefile: Change `mv' invocations to `mv -f'.
138         * mach/Machrules: Likewise.
139
140 1998-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
141
142         * config.make.in (old-glibc-headers): Add it.
143
144         * configure.in: Add test for glibc 2.0.x headers.
145
146         * Makefile (headers2_0): New variable - contains so far only
147         Linux/Intel glibc 2.0.x headers.
148         (remove-old-headers): New rule to remove headers from glibc 2.0.x.
149         (install): Depend on remove-old-headers.
150
151 1998-06-19  Mark Kettenis  <kettenis@phys.uva.nl>
152
153         * sysdeps/generic/ftruncate.c: Define function as __ftruncate and
154         make ftruncate a weak alias.
155         * sysdeps/mach/hurd/ftruncate.c: Really define function as
156         __ftruncate.
157         * sysdeps/mach/hurd/truncate.c: Include <unistd.h>.
158         (truncate): Fix function defenition to match prototype.
159
160 1998-06-20  Mark Kettenis  <kettenis@phys.uva.nl>
161
162         * manual/terminal.texi: Document ttyname_r, getpt, grantpt,
163         unlockpt, ptsname, ptsname_r, openpty and forkpty.
164
165 1998-06-22  Ulrich Drepper  <drepper@cygnus.com>
166
167         * sysdeps/generic/glob.c: Make it possible to include glob.h
168         before loading glob.c.
169         Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
170
171 1998-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
172
173         * nscd/connections.c: Use poll() instead of select().
174
175 1998-06-22 14:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
176
177         * sysdeps/generic/Dist: Fix typo.
178
179 1998-06-20  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
180
181         * nis/nis_add.c: Avoid unnecessary strlen () calls.
182         * nis/nis_addmember.c: Likewise.
183         * nis/nis_call.c: Likewise.
184         * nis/nis_creategroup.c: Likewise.
185         * nis/nis_destroygroup.c: Likewise.
186         * nis/nis_findserv.c: Likewise.
187         * nis/nis_ismember.c: Likewise.
188         * nis/nis_print.c: Likewise.
189         * nis/nis_print_group_entry.c: Likewise.
190         * nis/nis_removemember.c: Likewise.
191         * nis/nis_verifygroup.c: Likewise.
192         * nis/ypclnt.c: Likewise.
193
194         * nis/nis_file.c: Close file handles.
195
196         * nis/nis_callback.c: Fix typo.
197
198 1998-06-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
199
200         * nis/Makefile: Add nis-initgroups and compat-initgroups.
201         * nis/libnss_compat.map: Add _nss_compat_initgroups.
202         * nis/libnss_nis.map: Add _nss_nis_initgroups.
203         * nis/nss_compat/compat-initgroups.c: New, faster then getgrent().
204         * nis/nss_nis/nis-initgroups.c: Likewise.
205         * libc-work/nss/nsswitch.c: Rename nss_lookup_function to
206         __nss_lookup_function and make it public.
207         * grp/initgroups.c: Rewrite, to use initgroups function from NSS
208         module if exists, else use old method.
209
210 1998-06-19  Ulrich Drepper  <drepper@cygnus.com>
211
212         * nss/getXXbyYY_r.c (lookup_function): Correct return in type
213         definition.
214         * nss/getXXent_r.c (set_function, end_function, get_function):
215         Likewise.  Reported by Thorsten Kukuk.
216
217         * sysdeps/unix/sysv/linux/sigstack.c: Mark sigstack as dangerous.
218
219 1998-06-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
220
221         * sysdeps/unix/sysv/linux/sparc/Dist: Follow change from
222         1998-06-16 and distribute kernel_termios.h.
223
224         * nis/Makefile (distribute): Add nis_xdr.h.
225
226 1998-06-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
227
228         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Disable for
229         kernels that don't have sigaltstack.
230
231 1998-06-19  Ulrich Drepper  <drepper@cygnus.com>
232
233         * sysdeps/generic/bits/sem.h: Don't define union semun.
234
235         * sysdeps/unix/sysv/linux/bits/sem.h: Fix typo.
236
237         * sysdeps/unix/sysv/linux/bits/ipc.h: Remove ipc_kludge definition
238         here.
239         * sysdeps/unix/sysv/linux/msgrcv.c (msgrcv): Add ipc_kludge
240         definition here.
241
242 1998-06-18 21:45  Ulrich Drepper  <drepper@cygnus.com>
243
244         * signal/signal.h: Add prototype for __sigaltstack.
245         * sysdeps/unix/sysv/linux/syscalls.list: Add __sigaltstack name.
246         Remove sigstack entry.
247         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add sigstack here.
248         * sysdeps/unix/sysv/linux/sigstack.c: New file.
249
250         * sysdeps/i386/backtrace.c: Add casts.
251
252 1998-06-18 19:49  Ulrich Drepper  <drepper@cygnus.com>
253
254         * intl/dcgettext.c: use complete type name.
255         * intl/hash-string.h: Likewise.
256
257         * intl/localealias.c: Undo patch from 1998-04-29.
258         * intl/l10nflist.c: Likewise.
259         * intl/loadinfo.h: Likewise.
260
261 1998-06-18  Ulrich Drepper  <drepper@cygnus.com>
262
263         * sysdeps/i386/elf/start.S (_start): Ensure correct alignment.
264
265 1998-06-18 16:40  Ulrich Drepper  <drepper@cygnus.com>
266
267         * libc.map: Add _dl_profile_map, _dl_profile_output, _dl_start_profile,
268         _dl_mcount, _dl_mcount_wrapper.
269         * elf/Makefile (routines): Add dl-profstub.
270         * elf/dl-profstub.c: New file.
271         * elf/dl-support.c: Don't define _dl_profile_map.
272         * elf/rtld.c: Likewise.
273         * elf/dlfcn.h: Define DL_CALL_FCT macro.
274         * elf/ldsodefs.h: Declare _dl_profile_output, _dl_mcount_wrapper.
275         Define _CALL_DL_FCT.
276         * iconv/gconv.c: Use _CALL_DL_FCT to call function from dynamically
277         loaded object.
278         * iconv/gconv_db.c: Likewise.
279         * iconv/skeleton.c: Likewise.
280         * nss/getXXbyYY_r.c: Likewise.
281         * nss/getXXent_r.c: Likewise.
282         * nss/nsswitch.c: Likewise.
283
284 1998-06-18 12:29  Ulrich Drepper  <drepper@cygnus.com>
285
286         * sysdeps/libm-i387/e_scalb.S: Fix bug in FPU stack handling.
287         * sysdeps/libm-i387/e_scalbf.S: Likewise.
288         * sysdeps/libm-i387/e_scalbl.S: Likewise.
289
290 1998-06-18  Ulrich Drepper  <drepper@cygnus.com>
291
292         * stdlib/tst-strtod.c (long_dbl): Provide receipe to regenerate
293         longestdbl.
294
295 1998-06-18 10:26  Ulrich Drepper  <drepper@cygnus.com>
296
297         * iconvdata/Makefile (modules): Add MACINTOSH.
298         (MACINTOSH-routines): New variable.
299         (distribute): Add macintosh.c.
300         (awk-generated-headers): Add macintosh.h.
301         Add rule for macintosh.h generation.
302         * iconvdata/gconv-modules: Add definitions for MACINTOSH.
303         * iconvdata/macintosh.c: New file.
304
305 1998-06-17  Ulrich Drepper  <drepper@cygnus.com>
306
307         * stdlib/tst-strtod.c (long_dbl): Add test for loooong numbers.
308
309         * stdlib/strtod.c (str_to_mpn): Fix extending of n array which
310         only should happen for cy != 0.
311
312         * sysdeps/unix/sysv/linux/alpha/glob.c: Include sys/types.h before
313         glob.h.
314
315 1998-06-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
316
317         * sysdeps/generic/backtrace.c (INNER_THAN): New definition, use it
318         to compare stack addresses.
319
320 1998-06-17  Ulrich Drepper  <drepper@cygnus.com>
321
322         * sysdeps/unix/sysv/linux/alpha/glob.c: Include glob.h before
323         defining prototypes.
324
325 1998-06-16  David S. Miller <davem@dm.cobaltmicro.com>
326
327         * sysdeps/sparc/sparc32/dl-machine.h
328         (elf_machine_fixup_plt): During rtld bootstrap, always perform
329         flushes as the kernel will emulate it when the underlying cpu does
330         not implement flush.
331
332         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: Move...
333         * sysdeps/unix/sysv/linux/sparc/kernel_termios.h: ...to here.
334
335         * sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S: Remove.
336         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: No longer build
337         trampoline code.
338
339         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S
340         (__clone): Branch to label .Lerror not __clone_syscall_error.
341         (.Lerror): Fixup EINVAL setting.
342         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: New file.
343         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
344         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
345         (__syscall_getgroups, __syscall_setgroups): Add.
346
347         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
348         (__sigaction): Member name is k_sa_handler.  Use memcpy to copy
349         around sa_mask data.
350
351 1998-06-16  Ulrich Drepper  <drepper@cygnus.com>
352
353         * math/math.h: Include bits/nan.h when compiling for ISO C 9x.
354
355         * string/Makefile: Make sure test-ffs does not use builtins.
356
357 1998-06-16  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
358
359         * sunrpc/svc.c: Check for NULL pointer.
360
361         * nis/libnsl.map: Add public NIS+ xdr functions.
362
363         * nis/rpcsvc/nis_callback.h: New file.
364         * nis/rpcsvc/nis.h: Move xdr_* functions from here ...
365         * nis/nis_xdr.h: ... here.
366
367         * nis/nis_add.c: Use internal _xdr_* functions, check for NULL
368         pointers, use NIS+ defines where possible.
369         * nis/nis_cache.c: Likewise.
370         * nis/nis_cache2_xdr.c: Likewise.
371         * nis/nis_call.c: Likewise.
372         * nis/nis_checkpoint.c: Likewise.
373         * nis/nis_clone_dir.c: Likewise.
374         * nis/nis_clone_obj.c: Likewise.
375         * nis/nis_clone_res.c: Likewise.
376         * nis/nis_creategroup.c: Likewise.
377         * nis/nis_file.c: Likewise.
378         * nis/nis_free.c: Likewise.
379         * nis/nis_getservlist.c: Likewise.
380         * nis/nis_local_names.c: likewise.
381         * nis/nis_lookup.c: Likewise.
382         * nis/nis_mkdir.c: Likewise.
383         * nis/nis_modify.c: Likewise.
384         * nis/nis_ping.c: Likewise.
385         * nis/nis_print.c: Likewise.
386         * nis/nis_remove.c: Likewise.
387         * nis/nis_removemember.c: Likewise.
388         * nis/nis_rmdir.c: Likewise.
389         * nis/nis_server.c: Likewise.
390         * nis/nis_table.c: Likewise.
391         * nis/nis_util.c: Likewise.
392         * nis/nis_verifygroup.c: Likewise.
393         * nis/nis_xdr.c: Likewise.
394         * nis/nis_callback.c: Likewise, and move xdr functions from here ...
395         * nis/nis_xdr.c: ... to here.
396
397 1998-06-15 18:07  Ulrich Drepper  <drepper@cygnus.com>
398
399         * iconvdata/ksc5601.h: Clean up a bit.
400
401 1998-06-15 14:35  Ulrich Drepper  <drepper@cygnus.com>
402
403         * sunrpc/svc_tcp.c (readtcp): Also listen to all the other connections
404         and process incoming data.
405         * sunrpc/xdr_rec.c (set_input_fragment): Only recognize zero length
406         fragments as invalid.
407         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
408
409 1998-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
410
411         Removal of duplicates like "the the".
412         * manual/time.texi (TZ Variable): Likewise.
413         * manual/users.texi (Manipulating the Database): Likewise.
414         * manual/sysinfo.texi (Filesystem handling): Likewise.
415         * manual/signal.texi (Signaling Yourself): Likewise.
416         * manual/message.texi (Message Translation): Likewise.
417         (Common Usage): Likewise.
418         * manual/llio.texi: Likewise.
419         * manual/arith.texi (Old-style number conversion): Likewise.
420         * manual/argp.texi (Argp): Likewise.
421         (Argp Parsers): Likewise.
422         (Argp Help Filtering): Likewise.
423
424         * hesiod/README.hesiod: Correct typo.
425
426         * manual/llio.texi: Correct typos.
427         * manual/sysinfo.texi: Likewise.
428
429 1998-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
430
431         * rt/aio.h: Rename __op to __operation for g++.
432
433 1998-06-13 20:17 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
434
435         * iconvdata/gen-8bit-gap.sh: Use awk not perl.  Clean up sed
436         script.
437         * iconvdata/gen-8bit-gap-1.sh: Likewise.
438         * iconvdata/gen-8bit.sh: Clean up sed script.
439
440         * iconvdata/Makefile: Remove all PERL conditionals; build all
441         the modules all the time.  Export AWK.
442         (gen-8bit-gap): Delete setting of PERL.
443         (gen-8bit-gap-1): Likewise.
444         (perl-generated-headers): Renamed awk-generated-headers.
445
446         * iconvdata/gap.pl: Removed.
447         * iconvdata/gaptab.pl: Removed.
448         * iconvdata/gap.awk: New file.
449         * iconvdata/gaptab.awk: New file.
450
451 1998-06-15  Ulrich Drepper  <drepper@cygnus.com>
452
453         * sysdeps/generic/Dist: Add errno-loc.c.
454
455         * sysdeps/unix/sysv/linux/alpha/glob.c: Add prototypes for the
456         __new_* functions.
457
458 1998-06-14 14:21 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
459
460         * stdio-common/bug12.c: New test for fread()/fseek().
461         * stdio-common/Makefile (tests): Add bug12.
462
463 1998-06-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
464
465         * sysdeps/generic/elf/backtracesyms.c: Make array elements
466         constant.
467         * sysdeps/generic/backtracesyms.c: Likewise.  Fix type of RESULT.
468         * debug/execinfo.h: Update declaration.
469
470 1998-06-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
471
472         * sysdeps/generic/elf/backtracesyms.c: Make array elements constant.
473         * sysdeps/generic/backtracesyms.c: Likewise.  Fix type of RESULT.
474         * debug/execinfo.h: Update declaration.
475
476 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
477
478         * manual/llio.texi: Fix spelling.
479         * manual/sysinfo.texi: Fix spelling.
480
481 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
482
483         * misc/hsearch.c (__hdestroy): Renamed from hdestroy, create weak
484         alias for old name.  Put this on __libc_subfreeres.
485         * misc/search.h: Declare it.
486
487 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
488
489         * string/bits/string2.h (strcmp): Add missing parens around macro
490         parameters.
491
492 1998-06-12 23:34  Ulrich Drepper  <drepper@cygnus.com>
493
494         * manual/arith.texi: Fix problem with @math and texinfo.tex.
495
496         * manual/filesys.texi: Document LFS functions.
497         * manual/llio.texi: Likewise.
498         * manual/stdio.texi: Likewise.
499         * manual/time.texi: Likewise.
500
501         * manual/llio.texi: Document AIO functions.
502
503         * resource/sys/resource.h: Mark second argument of setrlimit as const.
504         * sysdeps/generic/setrlimit.c: Likewise.
505         * sysdeps/generic/setrlimit64.c: Likewise.
506         * sysdeps/mach/hurd/setrlimit.c: Likewise.
507         * sysdeps/unix/sysv/setrlimit.c: Likewise.
508
509 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
510
511         * sysdeps/generic/getenv.c: Fix last change.
512
513 1998-06-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
514
515         * sysdeps/generic/backtrace.c: Provide generic implementation.
516
517 1998-06-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
518
519         * configure.in: Give visual feedback of the default directories we
520         added.
521
522 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
523
524         * io/fts.c (fts_build): Define oflag only if needed.
525
526 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
527
528         * sysdeps/libm-ieee754/w_exp10.c: Add missing close comment.
529
530 1998-06-11  Ulrich Drepper  <drepper@cygnus.com>
531
532         * libc.map: Don't export argp's fmtstream handling functions.
533
534         * manual/sysinfo.texi: Document fstab and mtab handling functions.
535         * manual/llio.texi: Document more LFS functions and start documenting
536         the AIO functions.
537
538 1998-06-03 03:09  Geoff Keating  <geoffk@ozemail.com.au>
539
540         * sysdeps/unix/sysv/linux/pread.c: Detect missing syscall, like poll().
541         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
542         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
543         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
544
545 1998-06-03 03:09  Geoff Keating  <geoffk@ozemail.com.au>
546
547         * sysdeps/powerpc/Makefile: Use -G0 on the startup file; this
548         makes it easier to undump emacs.
549         * sysdeps/powerpc/bits/endian.h: Use more informative error message
550         for when the endianness can't be determined.
551
552 1998-06-04 13:19  Geoff Keating  <geoffk@ozemail.com.au>
553
554         * nss/Makefile: Add files publickey database support.
555         * nss/libnss_files.map: Export the required functions.
556         * nss/nss_files/files-key.c: Implement it.
557         * sunrpc/rpc/auth_des.h: Correct typos in comments.
558
559 1998-06-10  Ulrich Drepper  <drepper@cygnus.com>
560
561         * iconv/gconv_builtin.h: Add aliases for CORBA.
562         * iconvdata/gconv-modules: Likewise.
563
564 1998-06-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
565
566         * math/libm-test.c (main): Call exp10_test.
567         (exp10_test): New function which tests exp10.
568
569 1998-06-10  Ulrich Drepper  <drepper@cygnus.com>
570
571         * sysdeps/unix/sysv/linux/syscalls.list: Add sigaltstack and
572         sigstack.
573
574         * sysdeps/unix/sysv/linux/bits/sigstack.h: Add definitions of
575         SS_ONSTACK, SS_DISABLE, MINSIGSTKSZ and SIGSTKSZ.
576         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h: New file.
577
578 1998-06-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
579
580         * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address
581         in the variable, not its GOT slot.
582
583 1998-06-10 10:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
584
585         * sysdeps/m68k/fpu/bits/mathinline.h: Define __ieee754_exp10 as
586         inline.
587         * sysdeps/m68k/fpu/e_exp10.c: New file.
588         * sysdeps/m68k/fpu/e_exp10f.c: New file.
589         * sysdeps/m68k/fpu/e_exp10l.c: New file.
590
591         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Set
592         _dl_profile_map only if the name matches.
593         (_dl_start_user): Remember stack address.
594         * sysdeps/m68k/elf/start.S: Pass new argument to
595         __libc_start_user.
596
597         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_LABEL): New
598         definition.
599         (PSEUDO, SYSCALL_ERROR_HANDLER): Use it instead of syscall_error.
600         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
601         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
602         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
603         * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
604
605 1998-06-09 18:16  Ulrich Drepper  <drepper@cygnus.com>
606
607         * math/Makefile (libm-calls): Add w_exp10 and e_exp10.
608         * math/libm.map: Add exp10{,f,l} and pow10{,f,l}.
609         * math/math_private.h: Add prototypes for __ieee754_exp10{,f,l}.
610         * math/bits/mathcalls.h: Add definitions for exp10 and pow10
611         prototypes.
612         * sysdeps/libm-i387/e_exp10.S: New file.
613         * sysdeps/libm-i387/e_exp10f.S: New file.
614         * sysdeps/libm-i387/e_exp10l.S: New file.
615         * sysdeps/libm-ieee754/e_exp10.c: New file.
616         * sysdeps/libm-ieee754/e_exp10f.c: New file.
617         * sysdeps/libm-ieee754/e_exp10l.c: New file.
618         * sysdeps/libm-ieee754/w_exp10.c: New file.
619         * sysdeps/libm-ieee754/w_exp10f.c: New file.
620         * sysdeps/libm-ieee754/w_exp10l.c: New file.
621         * sysdeps/libm-ieee754/k_standard.c: Add exception code for exp10.
622
623 1998-05-25 22:18  H.J. Lu  <hjl@gnu.org>
624
625         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers): Add
626         sys/elf.h and sys/reg.h.
627         * sysdeps/unix/sysv/linux/i386/sys/elf.h: New file.
628         * sysdeps/unix/sysv/linux/i386/sys/reg.h: New file.
629         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: New file.
630         * sysdeps/unix/sysv/linux/i386/sys/user.h: New file.
631
632         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETREGS,
633         PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS): Added.
634
635 1998-06-09  Ulrich Drepper  <drepper@cygnus.com>
636
637         * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_options): Define
638         __data member only for gcc.  Reported by ak@muc.de.
639
640         * misc/mntent.h: Undo last patch.
641         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Undo last patch.
642         * misc/tst/mntent.c: Adjust code for this change.
643
644         * io/fts.c: Updated from a slightly more recent BSD version.
645         * io/fts.h: Likewise.
646
647         * libc.map: Add __libc_stack_end.
648
649         * db2/Makefile (routines): Add lock_region.
650         * db2/config.h: Update from db-2.4.14.
651         * db2/db.h: Likewise.
652         * db2/db_185.h: Likewise.
653         * db2/db_int.h: Likewise.
654         * db2/btree/bt_close.c: Likewise.
655         * db2/btree/bt_compare.c: Likewise.
656         * db2/btree/bt_conv.c: Likewise.
657         * db2/btree/bt_cursor.c: Likewise.
658         * db2/btree/bt_delete.c: Likewise.
659         * db2/btree/bt_open.c: Likewise.
660         * db2/btree/bt_page.c: Likewise.
661         * db2/btree/bt_put.c: Likewise.
662         * db2/btree/bt_rec.c: Likewise.
663         * db2/btree/bt_recno.c: Likewise.
664         * db2/btree/bt_rsearch.c: Likewise.
665         * db2/btree/bt_search.c: Likewise.
666         * db2/btree/bt_split.c: Likewise.
667         * db2/btree/bt_stat.c: Likewise.
668         * db2/btree/btree.src: Likewise.
669         * db2/btree/btree_auto.c: Likewise.
670         * db2/clib/getlong.c: Likewise.
671         * db2/common/db_appinit.c: Likewise.
672         * db2/common/db_apprec.c: Likewise.
673         * db2/common/db_byteorder.c: Likewise.
674         * db2/common/db_err.c: Likewise.
675         * db2/common/db_log2.c: Likewise.
676         * db2/common/db_region.c: Likewise.
677         * db2/common/db_salloc.c: Likewise.
678         * db2/common/db_shash.c: Likewise.
679         * db2/db/db.c: Likewise.
680         * db2/db/db.src: Likewise.
681         * db2/db/db_auto.c: Likewise.
682         * db2/db/db_conv.c: Likewise.
683         * db2/db/db_dispatch.c: Likewise.
684         * db2/db/db_dup.c: Likewise.
685         * db2/db/db_overflow.c: Likewise.
686         * db2/db/db_pr.c: Likewise.
687         * db2/db/db_rec.c: Likewise.
688         * db2/db/db_ret.c: Likewise.
689         * db2/db/db_thread.c: Likewise.
690         * db2/db185/db185.c: Likewise.
691         * db2/db185/db185_int.h: Likewise.
692         * db2/dbm/dbm.c: Likewise.
693         * db2/hash/hash.c: Likewise.
694         * db2/hash/hash.src: Likewise.
695         * db2/hash/hash_auto.c: Likewise.
696         * db2/hash/hash_conv.c: Likewise.
697         * db2/hash/hash_debug.c: Likewise.
698         * db2/hash/hash_dup.c: Likewise.
699         * db2/hash/hash_func.c: Likewise.
700         * db2/hash/hash_page.c: Likewise.
701         * db2/hash/hash_rec.c: Likewise.
702         * db2/hash/hash_stat.c: Likewise.
703         * db2/include/btree.h: Likewise.
704         * db2/include/btree_ext.h: Likewise.
705         * db2/include/clib_ext.h: Likewise.
706         * db2/include/common_ext.h: Likewise.
707         * db2/include/cxx_int.h: Likewise.
708         * db2/include/db.h.src: Likewise.
709         * db2/include/db_185.h.src: Likewise.
710         * db2/include/db_am.h: Likewise.
711         * db2/include/db_auto.h: Likewise.
712         * db2/include/db_cxx.h: Likewise.
713         * db2/include/db_dispatch.h: Likewise.
714         * db2/include/db_ext.h: Likewise.
715         * db2/include/db_int.h.src: Likewise.
716         * db2/include/db_page.h: Likewise.
717         * db2/include/db_shash.h: Likewise.
718         * db2/include/db_swap.h: Likewise.
719         * db2/include/hash.h: Likewise.
720         * db2/include/hash_ext.h: Likewise.
721         * db2/include/lock.h: Likewise.
722         * db2/include/lock_ext.h: Likewise.
723         * db2/include/log.h: Likewise.
724         * db2/include/log_ext.h: Likewise.
725         * db2/include/mp.h: Likewise.
726         * db2/include/mp_ext.h: Likewise.
727         * db2/include/mutex_ext.h: Likewise.
728         * db2/include/os_ext.h: Likewise.
729         * db2/include/os_func.h: Likewise.
730         * db2/include/queue.h: Likewise.
731         * db2/include/shqueue.h: Likewise.
732         * db2/include/txn.h: Likewise.
733         * db2/lock/lock.c: Likewise.
734         * db2/lock/lock_conflict.c: Likewise.
735         * db2/lock/lock_deadlock.c: Likewise.
736         * db2/lock/lock_region.c: Likewise.
737         * db2/lock/lock_util.c: Likewise.
738         * db2/log/log.c: Likewise.
739         * db2/log/log.src: Likewise.
740         * db2/log/log_archive.c: Likewise.
741         * db2/log/log_auto.c: Likewise.
742         * db2/log/log_compare.c: Likewise.
743         * db2/log/log_findckp.c: Likewise.
744         * db2/log/log_get.c: Likewise.
745         * db2/log/log_put.c: Likewise.
746         * db2/log/log_rec.c: Likewise.
747         * db2/log/log_register.c: Likewise.
748         * db2/mp/mp_bh.c: Likewise.
749         * db2/mp/mp_fget.c: Likewise.
750         * db2/mp/mp_fopen.c: Likewise.
751         * db2/mp/mp_fput.c: Likewise.
752         * db2/mp/mp_fset.c: Likewise.
753         * db2/mp/mp_open.c: Likewise.
754         * db2/mp/mp_pr.c: Likewise.
755         * db2/mp/mp_region.c: Likewise.
756         * db2/mp/mp_sync.c: Likewise.
757         * db2/mutex/68020.gcc: Likewise.
758         * db2/mutex/mutex.c: Likewise.
759         * db2/mutex/parisc.gcc: Likewise.
760         * db2/mutex/parisc.hp: Likewise.
761         * db2/mutex/sco.cc: Likewise.
762         * db2/os/os_abs.c: Likewise.
763         * db2/os/os_alloc.c: Likewise.
764         * db2/os/os_config.c: Likewise.
765         * db2/os/os_dir.c: Likewise.
766         * db2/os/os_fid.c: Likewise.
767         * db2/os/os_fsync.c: Likewise.
768         * db2/os/os_map.c: Likewise.
769         * db2/os/os_oflags.c: Likewise.
770         * db2/os/os_open.c: Likewise.
771         * db2/os/os_rpath.c: Likewise.
772         * db2/os/os_rw.c: Likewise.
773         * db2/os/os_seek.c: Likewise.
774         * db2/os/os_sleep.c: Likewise.
775         * db2/os/os_spin.c: Likewise.
776         * db2/os/os_stat.c: Likewise.
777         * db2/os/os_unlink.c: Likewise.
778         * db2/progs/db_archive/db_archive.c: Likewise.
779         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
780         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
781         * db2/progs/db_dump/db_dump.c: Likewise.
782         * db2/progs/db_dump185/db_dump185.c: Likewise.
783         * db2/progs/db_load/db_load.c: Likewise.
784         * db2/progs/db_printlog/db_printlog.c: Likewise.
785         * db2/progs/db_recover/db_recover.c: Likewise.
786         * db2/progs/db_stat/db_stat.c: Likewise.
787         * db2/txn/txn.c: Likewise.
788         * db2/txn/txn.src: Likewise.
789         * db2/txn/txn_auto.c: Likewise.
790         * db2/txn/txn_rec.c: Likewise.
791
792         * elf/rtld.c: Move definition of __libc_stack_end to ...
793         * sysdeps/generic/dl-sysdep.h: ...here.
794
795         * sysdeps/unix/sysv/linux/fstatvfs.c: Handle nodiratime option.
796         * sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_NODIRATIME.
797         * sysdeps/unix/sysv/linux/sys/mount.h: Define MS_NODIRATIME.
798
799         * sysdeps/generic/libc-start.c: Always set __libc_stack_end.
800         * sysdeps/i386/backtrace.c: Test whether frame pointer is legal
801         before following it.
802
803 1998-06-08 21:44  Ulrich Drepper  <drepper@cygnus.com>
804
805         * sysdeps/unix/sysv/linux/fstatvfs.c: Handle constant option string
806         from mntent correctly.
807
808 1998-06-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
809
810         * sunrpc/Makefile (generated): Correct typo.
811
812 1998-06-04  Philip Blundell  <philb@gnu.org>
813
814         * elf/elf.h (EM_ARM, et al.): New definitions.
815         * sysdeps/arm/dl-machine.h: Update for new draft ARM ELF ABI.
816
817 1998-06-08 21:33  Ulrich Drepper  <drepper@cygnus.com>
818
819         * localedata/SUPPORTED: Add sk_SK.
820         * localedata/locales/sk_SK: New file.
821
822 1998-06-08 18:57  Ulrich Drepper  <drepper@cygnus.com>
823
824         * Makeconfig (subdirs): Add debug.
825         * configure.in: Use sysdeps/generic/elf subdir if ELF platform.
826         * libc.map: Add __backtrace, __backtrace_symbols, backtrace and
827         backtrace_symbols.
828         * sysdeps/generic/backtrace.c: New file.
829         * sysdeps/generic/backtracesyms.c: New file.
830         * sysdeps/generic/elf/backtracesyms.c: New file.
831         * sysdeps/i386/backtrace.c: New file.
832         * debug/Makefile: New file.
833         * debug/backtrace-tst.c: New file.
834         * debug/execinfo.h: New file.
835
836 1998-06-08 13:34  Ulrich Drepper  <drepper@cygnus.com>
837
838         * elf/sprof.c: Implement call graph profiling.
839
840         * sysdeps/generic/getenv.c: Optimize to use strncmp less often.
841
842 1998-06-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
843
844         * pwd/fgetpwent_r.c (__fgetpwent_r): Correct buffer overflow fix.
845         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
846         * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
847         Noticed by Jake Garver <garver@valkyrie.net>.
848
849 1998-06-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
850
851         * libio/genops.c (__underflow): Read character from read pointer
852         as unsigned.
853         (__uflow): Likewise.
854
855 1998-06-07 13:32  Ulrich Drepper  <drepper@cygnus.com>
856
857         * libc.map: Add _dl_profile.
858         * elf/dl-reloc.c (_dl_relocate_object): Take extra argument, pass
859         this to ELF_DYNAMIC_RELOCATE.
860         Always allocate array for relocation result if LD_PROFILE is defined.
861         * elf/ldsodefs.h: Adjust prototypes.
862         * elf/dl-open.c (_dl_open): Call relocation function with extra
863         argument.
864         * elf/rtld.c: Likewise.
865         * elf/dl-profile.c (_dl_mcount): Don't mark as internal function.
866         Correct loop condition.
867         * elf/dynamic-link.h: Don't examine _dl_profile variable, pass
868         consider_profile to runtime setup function.
869         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Use
870         _dl_runtime_profile for all shared objects if LD_PROFILE is defined.
871
872         * elf/dl-support.c: Define __libc_stack_end.
873         * elf/rtld.c: Likewise.
874         * sysdeps/generic/libc-start.c: Store last stack address in
875         __libc_stack_end.
876         * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address.
877         * sysdeps/i386/elf/start.s: Call __libc_start_main with extra argument.
878
879         * elf/elf.h: Include <features.h>, not <sys/cdefs.h>.
880         Include <stdint.h>, not <inttypes.h>.
881
882         * elf/sprof.c: Implement flat profiling.
883
884         * libio/fgetc.c: Call _IO_cleanup_region_end with 0 and call
885         _IO_funlockfile explicitly.
886         * libio/fileops.c: Likewise.
887         * libio/fputc.c: Likewise.
888         * libio/freopen.c: Likewise.
889         * libio/freopen64.c: Likewise.
890         * libio/fseek.c: Likewise.
891         * libio/fseeko.c: Likewise.
892         * libio/fseeko64.c: Likewise.
893         * libio/ftello.c: Likewise.
894         * libio/ftello64.c: Likewise.
895         * libio/getc.c: Likewise.
896         * libio/getchar.c: Likewise.
897         * libio/iofclose.c: Likewise.
898         * libio/iofflush.c: Likewise.
899         * libio/iofgetpos.c: Likewise.
900         * libio/iofgetpos64.c: Likewise.
901         * libio/iofgets.c: Likewise.
902         * libio/iofputs.c: Likewise.
903         * libio/iofread.c: Likewise.
904         * libio/iofsetpos.c: Likewise.
905         * libio/iofsetpos64.c: Likewise.
906         * libio/ioftell.c: Likewise.
907         * libio/iofwrite.c: Likewise.
908         * libio/iogetdelim.c: Likewise.
909         * libio/iogets.c: Likewise.
910         * libio/ioputs.c: Likewise.
911         * libio/ioseekoff.c: Likewise.
912         * libio/ioseekpos.c: Likewise.
913         * libio/iosetbuffer.c: Likewise.
914         * libio/iosetvbuf.c: Likewise.
915         * libio/ioungetc.c: Likewise.
916         * libio/iovsprintf.c: Likewise.
917         * libio/iovsscanf.c: Likewise.
918         * libio/oldfileops.c: Likewise.
919         * libio/oldiofclose.c: Likewise.
920         * libio/peekc.c: Likewise.
921         * libio/putc.c: Likewise.
922         * libio/putchar.c: Likewise.
923         * libio/rewind.c: Likewise.
924
925         * malloc/mtrace.c: Pretty print.
926
927         * misc/mntent.h (struct mentent): Make string elements const char *.
928
929         * nis/nis_printf.c: Optimize I/O a little bit.
930
931         * signal/Makefile (distribute): Add sigset-cvt-mask.h.
932         * sysdeps/generic/sigset-cvt-mask.h: New file.
933         * sysdeps/unix/sysv/linux/sigset-cvt-mask.h: New file.
934         * sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h: New file.
935         * sysdeps/posix/sigvec.c: Rewrite the use definitions from
936         sigset-cvt-mask.h to do the dirty work.
937         Patches by Joe Keane.
938
939         * sysdeps/posix/mkstemp.c: Save one precious byte of rodata.
940
941         * sysdeps/unix/sysv/linux/i386/sysdep.h: Rewrite PSEUDO etc to make
942         syscall_error label in case of PIC anonymous.
943         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise.
944         * sysdeps/unix/sysv/linux/i386/clone.S: Adapt for this change.
945         * sysdeps/unix/sysv/linux/i386/mmap.S: Adapt for this change.
946         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Adapt for this change.
947         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Adapt for this change.
948         * sysdeps/unix/sysv/linux/i386/socket.S: Adapt for this change.
949         * sysdeps/unix/sysv/linux/i386/syscall.S: Adapt for this change.
950
951 1998-06-05  Ulrich Drepper  <drepper@cygnus.com>
952
953         * sunrpc/xdr_rec.c (xdrrec_create): Add cast for *_ops array since
954         we cannot declare the struct element as const.
955         * sunrpc/xdr_mem.c (xdrmem_create): Likewise.
956         * sunrpc/xdr_stdio.c (xdrstdio_create): Likewise.
957
958 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
959
960         * manual/Makefile: Include ../Makeconfig earlier.
961         (MAKEINFO, TEXI2DVI): Use defaults if ../Makeconfig does not
962         exist.
963         (dir-add.texinfo): Remove useless $(SHELL).
964
965 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
966
967         * Makefile (others): Build programs from install-bin.
968         * configure.in: Modify config.make only if is was just created and
969         move that command to second argument of AC_OUTPUT.  Add command to
970         set config_vars in config.status.
971
972 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
973
974         * malloc/Makefile (address-width): Fix conditional.
975
976 1998-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
977
978         * libc.map: Add fattach, fdetach, getmsg, getpmsg, makecontext,
979         putmsg, putpmsg, scalbln, scalblnf, scalblnl, strtoimax,
980         strtoumax, swapcontext, waitid, wcsnlen, wcstoimax, wcstoumax with
981         version GLIBC_2.1.
982
983 1998-06-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
984
985         * manual/lang.texi (Range of Type): Change @end table->@end vtable.
986         (Floating Point Parameters): Likewise.
987
988 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
989
990         * hurd/Makefile (routines): Add cthreads.
991
992 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
993
994         * login/login.c (login): Let pututline take care of finding the
995         positin to insert the UTMP entry.  This corrects a bug where ssh
996         was not reusing UTMP entries marked as DEAD_PROCESS.
997         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
998
999 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
1000
1001         * login/Makefile (tests): New variable, add tst-utmp and
1002         tst-utmpx.
1003         * login/tst-utmp.c: New file.
1004         * login/tst-utmpx.c: New file.
1005
1006 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
1007
1008         * sysdeps/mach/hurd/errlist.c (sys_nerr, _sys_nerr): Make weak
1009         aliases for _hurd_nerr, for programs that don't use sys_errlist,
1010         but need sys_err.
1011
1012 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
1013
1014         * sysdeps/generic/updwtmpx.c: Rename function to updwtmpx.
1015         * libc.map: Add updwtmpx and utmpxname to GLIBC_2.1.
1016
1017 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
1018
1019         * sysdeps/mach/hurd/read.c: Rename function to __libc_read and
1020         make __read a weak alias.  Use ANSI-style function definition.
1021         * sysdeps/mach/hurd/write.c: Likewise.
1022
1023 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
1024
1025         * sysdeps/mach/hurd/err_hurd.sub: Use _hurd_errlist instead of
1026         _sys_errlist.
1027
1028 1998-05-30  Mark Kettenis  <kettenis@phys.uva.nl>
1029
1030         * sysdeps/mach/hurd/Makefile ($(objpfx)librtld.os):
1031         Renamed from librtld.so.
1032
1033 1998-06-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1034
1035         * libc.map: Remove _IO_getline_info which was erroneously
1036         introduced in section GLIBC_2.0.
1037         Noticed by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
1038
1039 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
1040
1041         * sysdeps/generic/socket.c (__socket): Renamed from socket, and
1042         created a weak alias.
1043         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
1044
1045 1998-05-31  Gordon Matzigkeit  <gord@profitpress.com>
1046
1047         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Rename from old
1048         ftruncate function, and create a weak alias to ftruncate.
1049
1050 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
1051
1052         * grp/fgetgrent_r.c: Use &errno instead of __errno_location ().
1053         * inet/getnetgrent_r.c: Likewise.
1054         * nss/getXXbyYY_r.c: Likewise.
1055         * nss/getXXent_r.c: Likewise.
1056         * pwd/fgetpwent_r.c: Likewise.
1057         * shadow/sgetspent_r.c: Likewise.
1058         * shadow/fgetspent_r.c: Likewise.
1059         * sunrpc/publickey.c: Likewise.
1060
1061 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
1062
1063         * hurd/libhurduser.map: New file.
1064         * mach/libmachuser.map: Likewise.
1065
1066         * libc.map: Add Hurd-specific functions to version 2.1.
1067         Add __flshfp and __fillbf.
1068
1069 1998-05-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1070
1071         * manual/signal.texi (Basic Signal Handling): Fix typo.
1072         * manual/errno.texi (Error Codes): Likewise.
1073
1074 1998-06-02  Ulrich Drepper  <drepper@cygnus.com>
1075
1076         * sysdeps/unix/sysv/linux/netipx/ipx.h: Include <bits/sockaddr.h>
1077         instead of <sys/socket.h>.
1078         Patch by NIIBE Yutaka <gniibe@mri.co.jp>
1079
1080         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (DL_FIND_ARG_COMPONENTS):
1081         Finally make it working.
1082         Patch by Mark Hatle <fray@kernel.crashing.org>.
1083
1084 1998-03-22  Paul Eggert  <eggert@twinsun.com>
1085
1086         * posix/regex.c: Include <wchar.h> before <wctype.h>, to work around
1087         a Solaris 2.6 bug.
1088
1089 1998-05-30  Philip Blundell  <Philip.Blundell@pobox.com>
1090
1091         * stdlib/gmp-impl.h: Support strange mixed-endian double format
1092         used by ARM systems.
1093         * sysdeps/arm/fpu/bits/fenv.h (FE_EXCEPTION_SHIFT): Rename to
1094         FE_EXCEPT_SHIFT.
1095         * sysdeps/arm/bits/fenv.h: Deleted.
1096         * sysdeps/arm/fpu/ieee754.h: New file.
1097         * sysdeps/arm/gmp-mparam.h: New file.
1098         * stdlib/longlong.h (umul_ppmm): Temporarily disable broken ARM
1099         implementation.
1100
1101 1998-06-01  Ulrich Drepper  <drepper@cygnus.com>
1102
1103         * sunrpc/rpc/xdr.h (struct XDR): Don't mark xdr_ops element as const.
1104
1105         * sysdeps/i386/fpu/bits/mathinline.h: Use ((__unused__)) instead
1106         of ((unused)).  Reported by Bruno Haible.
1107
1108 1998-05-31  Philip Blundell  <philb@gnu.org>
1109
1110         * sysdeps/unix/sysv/linux/arm/sysdep.S: Use C_SYMBOL_NAME when
1111         referring to errno and _errno.
1112
1113         * sysdeps/arm/fpu/feholdexcpt.c: New file.
1114
1115         * sysdeps/i386/fpu_control.h: Fix typo.
1116
1117         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Remove floating-point support.
1118         (_JMPBUF_UNWINDS): Added.
1119         * sysdeps/arm/fpu/bits/setjmp.h: New file.
1120
1121 1998-05-25  Gordon Matzigkeit  <gord@profitpress.com>
1122
1123         * sysdeps/mach/hurd/Makefile: Use the `before-compile' target in
1124         order to build header files, not `generated'.
1125
1126         * Rules (before-compile): New target which depends on all
1127         $(before-compile) files.
1128
1129 1998-06-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1130
1131         * nis/nis_call.c: Make directory search faster.
1132
1133         * nis/nis_callback.c: Insert public key of user in callback data.
1134
1135         * nis/nis_clone_obj.c: Make size from type u_long, not u_int.
1136
1137         * nis/nis_creategroup.c: Check for NULL pointer, fill in more fields.
1138
1139         * nis/nis_findserv.c: Rename __pmap_getport to __pmap_getnisport.
1140
1141         * nis/nis_intern.h: Remove duplicated prototype.
1142
1143 1998-06-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1144
1145         * sunrpc/auth_des.c: Move prototypes from here ...
1146         * sunrpc/rpc/auth.h: ... to here.
1147
1148         * sunrpc/clnt_tcp.c: Add more control flags.
1149         * sunrpc/clnt_udp.c: Likewise.
1150
1151         * sunrpc/netname.c (host2netname): Remove prefixing dot from
1152         domainname.
1153
1154         * sunrpc/rpc/clnt.h: Document, which control flags are not
1155         implementable.
1156
1157         * sunrpc/svcauth_des.c: Use key_decryptsession_pk to avoid deadlock.
1158
1159 1998-05-29  Ulrich Drepper  <drepper@cygnus.com>
1160
1161         * locale/loadlocale.c (_nl_load_locale): Don't allow too small
1162         files crash the program.
1163
1164         * io/Makefile: Don't run ftwtest-sh if cross-compiling.
1165         * string/Makefile: Don't run test on tst-svc.out if cross-compiling.
1166         Reported by Deborah Wallach <kerr@pa.dec.com>.
1167
1168 1998-05-28 00:53  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1169
1170         * glibcbug.in: Send to bugs@gnu or libc-alpha@cygnus depending
1171         on whether this is a stable release or not (keeps snapshot bug
1172         reports out of the database).
1173
1174         * include/libc-symbols.h: Use __ASSEMBLER__ test macro not ASSEMBLER.
1175         * sysdeps/arm/sysdep.h: Likewise.
1176         * sysdeps/i386/sysdep.h: Likewise.
1177         * sysdeps/m68k/sysdep.h: Likewise.
1178         * sysdeps/mach/mips/sysdep.h: Likewise.
1179         * sysdeps/mach/sys/reboot.h: Likewise.
1180         * sysdeps/mach/sysdep.h: Likewise.
1181         * sysdeps/unix/alpha/sysdep.h: Likewise.
1182         * sysdeps/unix/bsd/hp/m68k/sysdep.h: Likewise.
1183         * sysdeps/unix/bsd/osf/alpha/sysdep.h: Likewise.
1184         * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise.
1185         * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
1186         * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
1187         * sysdeps/unix/bsd/vax/sysdep.h: Likewise.
1188         * sysdeps/unix/i386/sysdep.h: Likewise.
1189         * sysdeps/unix/mips/sysdep.h: Likewise.
1190         * sysdeps/unix/sparc/sysdep.h: Likewise.
1191         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise.
1192         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
1193         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1194         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1195         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
1196         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1197         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1198         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise.
1199
1200 1998-05-27  Mark Kettenis  <kettenis@phys.uva.nl>
1201
1202         * mach/Machrules: Use $(move-if-change).
1203
1204 1998-05-27  Mark Kettenis  <kettenis@phys.uva.nl>
1205
1206         * Makeconfig [elf=yes] (+interp): New variable, set to interp.os.
1207         * Makerules (lib%.so): Depend on $(+interp).
1208         (libc.so): Add interp.os to list of dependencies.
1209         (interp-obj): Remove variable.
1210         * mach/Machrules (+interp): Define to empty since libhurduser and
1211         libmachuser don't need to have the interpreter set.
1212
1213 1998-05-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1214
1215         * resolv/res_send.c: Security fixes from bind 4.9.7-REL.
1216
1217         * resolv/gethnamaddr.c: Likewise.
1218
1219         * resolv/res_comp.c: Likewise.
1220
1221 1998-05-28  Mark Kettenis  <kettenis@phys.uva.nl>
1222
1223         * sysdeps/mach/hurd/wait4.c (__wait4): Use ANSI-style definition
1224         so that transparent union works.
1225
1226 1998-05-29 08:58  Ulrich Drepper  <drepper@cygnus.com>
1227
1228         * manual/texinfo.tex: Update to last available version.
1229
1230         * timezone/africa: Update from tzdata1998e.
1231         * timezone/antarctica: Likewise.
1232         * timezone/asia: Likewise.
1233         * timezone/australasia: Likewise.
1234         * timezone/europe: Likewise.
1235         * timezone/iso3166.tab: Likewise.
1236         * timezone/northamerica: Likewise.
1237         * timezone/tzselect.ksh: Likewise.
1238         * timezone/zone.tab: Likewise.
1239
1240 1998-05-27  Ulrich Drepper  <drepper@cygnus.com>
1241
1242         * sysdeps/unix/sysv/linux/i386/chown.c: Fix comment.
1243         Reported by Matt McLean <keys@brio.yikes.com>.
1244
1245 1998-05-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1246
1247         * catgets/Makefile ($(objpfx)de.cat): Renamed from
1248         do-gencat-test.  Use automatic variables.
1249         ($(objpfx)de.msg): Fix reference to po file.
1250
1251 1998-05-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1252
1253         * Makeconfig ($(common-objpfx)gnu/lib-names.stmp): Use
1254         $(move-if-change).
1255
1256 1998-05-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1257
1258         * intl/dcgettext.c: Fix typo.
1259
1260 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1261
1262         * configure.in: Allow more make versions e.g 3.76.90.
1263
1264 1998-05-25  Ulrich Drepper  <drepper@cygnus.com>
1265
1266         * Makeconfig (rpath-link): Find libc.so.6 in $(common-objdir).
1267
1268         * malloc/thread-m.h: Use __mutex_init function in mutex_init macro
1269         for Hurd.  Patch by Mark Kettenis.
1270
1271 1998-04-18  Gordon Matzigkeit  <gord@profitpress.com>
1272
1273          * mach/Machrules (+preinit, +postinit): Define these variables to
1274          empty because libhurduser and libmachuser don't need startup
1275          files.
1276
1277 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
1278
1279          * sysdeps/mach/hurd/errlist.c (ERR_REMAP): Use err_get_code
1280          instead of a raw bitmask.
1281
1282 1998-05-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1283
1284         * Makeconfig (rpath-dirs): New variable.
1285         (rpath-link): Use it.
1286         (nssobjdir, nisobjdir, rtobjdir, resolvobjdir): Removed.
1287         (db-objpfx): Removed.
1288         * crypt/Makefile: Augment rpath-dirs instead of rpath-link.
1289         * md5-crypt/Makefile: Likewise.
1290         * sysdeps/mach/hurd/Makefile: Likewise.
1291
1292         * Makeconfig (move-if-change): New variable.
1293         * iconvdata/Makefile (move-if-change): Removed.
1294         * manual/Makefile (move-if-change): Set only if undefined, use
1295         local script by default.
1296         * sunrpc/Makefile (move-if-change): Removed.
1297         * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
1298         $(move-if-change).
1299
1300          * elf/Makefile: Remove all references to obsolete file
1301          $(objpfx)rtldtbl.h.
1302          ($(objpfx)trusted-dirs.h): Use stamp file.  Cleanup command.
1303
1304 1998-05-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1305
1306         * elf/dl-close.c (_dl_close): Add debugging message.
1307
1308 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1309
1310         * csu/Makefile ($(objpfx)version-info.h): Correct sed expression
1311         to get Linux version and not gcc version.
1312         Reported by Alan Curry <pacman@cqc.com>.
1313
1314 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1315
1316         * sysdeps/generic/_strerror.c (__strerror_r): Don't return NULL
1317         pointers - return unknown error message instead.
1318         Reported by Alan Curry <pacman@cqc.com>.
1319
1320 1998-05-24  Mark Kettenis  <kettenis@phys.uva.nl>
1321
1322         * iconvdata/Makefile (modules, sed-generated-headers,
1323         perl-generated-headers): ibm424.h is perl generated.  Make
1324         necessary modifications to compile without perl.
1325
1326 1998-05-24  Mark Kettenis  <kettenis@phys.uva.nl>
1327
1328         * hesiod/hesiod.c (read_config_file): Fix typo.
1329
1330 1998-05-24  Ulrich Drepper  <drepper@cygnus.com>
1331
1332         * version.h: Bump VERSION.
1333
1334         * csu/Makefile (distribute): Add munch-tmpl.c.
1335
1336 1998-05-23  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1337
1338         * nis/nis_defaults.c: Fix buffer problems and typos.
1339
1340 1998-05-23 08:42  Ulrich Drepper  <drepper@cygnus.com>
1341
1342         * intl/dcgettext.c: Don't use any alloca hacks if C_ALLOCA is defined.
1343         Patch by Fred Fish.
1344
1345 1998-05-22  Ulrich Drepper  <drepper@cygnus.com>
1346
1347         * stdlib/random_r.c (__random_r): Rewrite last patch to fix buffer
1348         overwriting bugs.
1349
1350         * libio/strops.c (_IO_str_underflow): Read newly available
1351         character from buffer as unsigned.
1352
1353 1998-05-22 10:56  Ulrich Drepper  <drepper@cygnus.com>
1354
1355         * catgets/Makefile (distribute): Add xopen-msg.h.
1356         (generated): Add de.msg and de.cat.
1357         (tests): Add do-gencat-test.
1358         (do-gencat-test): New goal.  Run gencat on a generated msg file.
1359         * catgets/xopen-msg.h: New file.
1360
1361 1998-05-22  Ulrich Drepper  <drepper@cygnus.com>
1362
1363         * catgets/open_catalog.c (__open_catalog): Use byteswap.h
1364         functions.  Optimize filename creation a bit.
1365
1366 1998-05-22 09:29  Ulrich Drepper  <drepper@cygnus.com>
1367
1368         * stdlib/random_r.c: Help gcc to optimize the code.
1369         Patch by Joe Keane <jgk@jgk.org>.
1370
1371 1998-05-21  Ulrich Drepper  <drepper@cygnus.com>
1372
1373         * iconv/iconv_prog.c (print_known_names): Use strverscmp in all
1374         tsearch calls.
1375
1376 1998-05-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1377
1378         * timezone/test-tz.c: The test with TZ=UTC0 seems to work - enable
1379         it.
1380
1381 1998-05-21 15:27  Ulrich Drepper  <drepper@cygnus.com>
1382
1383         * wcsmbs/wcsnrtombs.c: Correct computation of result.
1384         * wcsmbs/wcsrtombs.c: Likewise.
1385
1386         * wcsmbs/Makefile (tests): Add wcsmbs-tst1.c.
1387         * wcsmbs/wcsmbs-tst1.c: New file.
1388
1389         * iconv/loop.c (COUNT_CONVERTED): Correct computation.
1390
1391         * locale/C-ctype.c (_nl_C_LC_CTYPE): Define MB_CUR_MAX for C locale
1392         as 1.
1393
1394         * locale/setlocale.c: Don't make _nl_current_* and _nl_C_* references
1395         weak.
1396
1397 1998-05-21  Philip Blundell  <philb@gnu.org>
1398
1399         * sysdeps/arm/fpu_control.h: Replace stub file with real
1400         implementation.
1401         * sysdeps/arm/fpu/bits/fenv.h: New file.
1402         * sysdeps/arm/fpu/fesetround.c: Likewise.
1403         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
1404         * sysdeps/arm/fpu/fsetexcptflag.c: Likewise.
1405         * sysdeps/arm/fpu/ftestexcpt.c: Likewise.
1406         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
1407         * sysdeps/arm/fpu/fegetenv.c: Likewise.
1408         * sysdeps/arm/fpu/fesetenv.c: Likewise.
1409
1410 1998-05-21 16:34  Richard Henderson  <rth@cygnus.com>
1411
1412         * elf/dl-load.c (_dl_map_object_from_fd): Get file header with
1413         read instead of mmap.
1414
1415 1998-05-21  8:16  Richard Henderson  <rth@cygnus.com>
1416
1417         * sysdeps/unix/sysv/linux/alpha/glob.c: Include sysdeps/generic/glob.c
1418         directly instead of include_next.  Add missing semicolons.
1419         * sysdeps/unix/sysv/linux/alpha/oldglob.c: Include sys/types.h.
1420         Add missing semicolons.
1421
1422 1998-05-21  Ulrich Drepper  <drepper@cygnus.com>
1423
1424         * iconvdata/gconv-modules: Add more aliases to please java
1425         environments.
1426
1427 1998-05-20  Ulrich Drepper  <drepper@cygnus.com>
1428
1429         * stdio-common/vfprintf.c (process_arg): Fix typo.
1430
1431         * iconvdata/TESTS: New tests for EUC-KR.
1432
1433         * iconvdata/Makefile ($(objpfx)iconv-test.out): Also depend on TESTS.
1434         * iconvdata/testdata/EUC-KR: New file.
1435
1436 1998-05-20 07:26  H.J. Lu  <hjl@gnu.org>
1437
1438         * math/libm-test.c (hypot_test): Fix a typo.
1439
1440 1998-05-20  Ulrich Drepper  <drepper@cygnus.com>
1441
1442         * stdio-common/vfprintf.c: When precision is specified for %ls or
1443         %S handle it correctly.
1444
1445 1998-05-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1446
1447         * sysdeps/unix/bsd/vax/vfork.S: Missed double occurences of "the
1448         the" in one line - fixed it.
1449         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
1450         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
1451         * posix/unistd.h: Likewise
1452
1453 1998-05-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1454
1455         * Makeconfig (rpath-link): Add resolvobjdir.
1456         (resolvobjdir): New variable.
1457         Reported by Peter Breitenlohner <peb@mppmu.mpg.de> [fixes PR libc/633].
1458
1459 1998-05-20 09:36  Ulrich Drepper  <drepper@cygnus.com>
1460
1461         * elf/dl-close.c: Call shared object terminators at the right time.
1462         Patch by Philippe Troin <phil@fifi.org>.
1463
1464 1998-05-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1465
1466         * Make-dist (+tsrcs): Also add *.map for every member of
1467         $(extra-libs).
1468
1469         * Makefile (distribute): Don't distribute scripts/printsources and
1470         scripts/=__ify.  Distribute FAQ.in.
1471         (rpm/%): Don't pass subdirs to sub-make.
1472
1473         * timezone/Makefile: Protect inclusion of z.* by $(avoid-generated)
1474         instead of $(no_deps).
1475
1476 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1477
1478         * sysdeps/generic/setenv.c: Protect against GNU C extension.
1479         (KNOWN_VALUE, STORE_VALUE): Do it right.
1480         (setenv): Remove unused variable.
1481
1482 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1483
1484         * timezone/Makefile (tz-cflags): Define TM_GMTOFF and TM_ZONE.
1485         (CFLAGS-zdump.c): Add $(tz-cflags).
1486
1487         * timezone/zdump.c (abbr): Use TM_ZONE if defined.  Add const to
1488         return type.
1489
1490 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1491
1492         * time/tzfile.c (__tzfile_compute): Undo last change.  Instead
1493         take struct tm parameter and set tm_isdst, tm_zone and tm_offset
1494         if use_localtime.
1495         * time/tzset.c: Update prototype of __tzfile_compute.
1496         (__tz_convert): Pass tp to __tzfile_compute.  Don't set tm_isdst,
1497         tm_zone and tm_offset here if __use_tzfile.
1498
1499 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1500
1501         * Makerules: Install libc.a even if there are no object file.
1502
1503 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1504
1505         * Makerules (do-makelib): Don't force creating library from
1506         scratch, to avoid wasting time and space and to get correct
1507         behaviour if $(subdirs) is incomplete.
1508
1509 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1510
1511         * Makerules (do-stamp): Make it work when building in source
1512         directory.
1513
1514 1998-05-20 00:10  Ulrich Drepper  <drepper@cygnus.com>
1515
1516         * elf/dl-load.c: Rename option and variable from ignore-rpath to
1517         inhibit-rpath.
1518         * elf/dl-support.c: Likewise.
1519         * elf/ldsodefs.h: Likewise.
1520         * elf/rtld.c: Likewise.
1521         * iconvdata/run-iconv-test.sh: Likewise.
1522
1523 1998-05-19 23:08  Ulrich Drepper  <drepper@cygnus.com>
1524
1525         * elf/rtld.c: Recognize --ignore-rpath argument and set _dl_ignore_path
1526         variable using the value.
1527         * elf/ldsodefs.h: Declare _dl_ignore_path.
1528         * elf/dl-load.c (decompose_rpath): Compare name of handled shared
1529         object against list in _dl_ignore_path and ignore RPATH if on the list.
1530         * elf/dl-support.c: Define _dl_ignore_path for static binaries.
1531         * iconvdata/run-iconv-test.sh: Call ld.so with --ignore-rpath parameter
1532         to make sure we get the correct helper libraries loaded.
1533
1534         * elf/dl-load.c (decompose_rpath): Remove `room' parameter.  Use
1535         "RPATH" string in call to fillin_rpath instead.
1536         (_dl_init_paths): Remove this parameter from call to decompose_rpath.
1537
1538 1998-05-19  Ulrich Drepper  <drepper@cygnus.com>
1539
1540         * sysdeps/i386/i486/bits/string.h (__strstr_g): Initialize %edx
1541         correctly.  Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
1542
1543 1998-05-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1544
1545         * manual/terminal.texi (I/O Queues): Fix typo.
1546
1547         * manual/stdio.texi (Closing Streams): Fix grammar.
1548
1549         * manual/arith.texi (Absolute Value): Correct typo.
1550         Patches by Oskar Liljeblad <osk@hem.passagen.se>. [PR libc/630]
1551
1552 1998-05-19 15:58  Ulrich Drepper  <drepper@cygnus.com>
1553
1554         * elf/rtld.c (process_envvars): Fix typo.  Don't handle
1555         LD_PROFILE_OUTPUT in SUID binaries.
1556         * intl/dcgettext.c: In SUID binaries don't let language part of
1557         locale value contain path elements.
1558         * intl/explodename.h: Define new function _nl_find_language.
1559         * intl/loadinfo.h: Declare _nl_find_language.
1560         * locale/findlocale.c (_nl_find_locale): Use _nl_find_locale to get
1561         language part it drop the value is path element is contained.
1562
1563         * locale/setlocale.c: Fix typo.
1564
1565 1998-05-18  Philip Blundell  <Philip.Blundell@pobox.com>
1566
1567         * sysdeps/unix/sysv/linux/arm/socket.S: Correct handling of arguments.
1568
1569         * sysdeps/arm/strlen.S: Support both big and little endian processors.
1570
1571         * sysdeps/arm/sysdep.h (ALIGNARG): ELF .align directive uses a
1572         log, not a byte-count.
1573
1574         * sysdeps/unix/arm/sysdep.S (syscall_error): Use C_SYMBOL_NAME for
1575         a.out compatibility.
1576
1577 1998-05-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1578
1579         * sysdeps/unix/bsd/vax/vfork.S: Fix the "the the" problems.
1580         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
1581         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
1582         * posix/unistd.h: Likewise.
1583         * math/math.h: Likewise.
1584         * manual/users.texi (Manipulating the Database): Likewise.
1585         * manual/signal.texi (Job Control Signals): Likewise.
1586         * manual/message.texi (The gencat program): Likewise.
1587         * manual/filesys.texi (Hard Links): Likewise.
1588         * manual/math.texi (SVID Random): Likewise.
1589         * manual/llio.texi (Waiting for I/O): Likewise.
1590         * manual/io.texi (File Name Errors): Likewise.
1591         * manual/conf.texi (String Parameters): Likewise.
1592         * manual/arith.texi (Infinity): Likewise.
1593         * malloc/malloc.c: Likewise.
1594         * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
1595         * csu/Makefile: Likewise.
1596
1597 1998-05-19 12:16  Ulrich Drepper  <drepper@cygnus.com>
1598
1599         * manual/memory.texi: Add back accidently removed line.
1600
1601 1998-04-25  Mark Kettenis  <kettenis@phys.uva.nl>
1602
1603         * sysdeps/generic/utmp_file.c (TIMEOUT): New macro.
1604         (timeout_handler): New function.
1605         (LOCK_FILE, UNLOCK_FILE): New macros.
1606         Implement file locking with timeout.
1607         (getutent_r_file, internal_getut_r, getutline_r_file,
1608         pututline_file, updwtmp_file): Use LOCK_FILE and UNLOCK_FILE for
1609         locking.
1610
1611 1998-05-18 11:38  Ulrich Drepper  <drepper@cygnus.com>
1612
1613         * iconvdata/run-iconv-test.sh: Extend library-path by iconvdata
1614         directory.
1615
1616 1998-05-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1617
1618         * rpm/Makefile: Delete inclusion of version.mk.
1619
1620 1998-05-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1621
1622         * libc.map: Add all libio functions needed libstdc++ with version
1623         2.0, sort entries.
1624
1625 1998-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1626
1627         * iconvdata/Makefile (generated): Add *.stmp files.
1628
1629 1998-05-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1630
1631         * timezone/Makefile (testdata, build-testdata): New variables, use
1632         them in rules for test data.
1633         ($(objpfx)tst-timezone.out): Depend on test data.
1634         ($(testdata)/Europe/Berlin, $(testdata)/Universal,
1635         $(testdata)/Australia/Melbourne, $(testdata)/America/Sao_Paulo):
1636         New rules to build test data.
1637         (tst-timezone-ENV): Pass TZDIR to point to test data.
1638
1639 1998-05-18  Ulrich Drepper  <drepper@cygnus.com>
1640
1641         * iconvdata/TESTS: ISO-2022-KR has not really ASCII as a subset
1642         (the designation sequence is disturbing).
1643
1644 1998-05-17  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1645
1646         * sunrpc/svc_tcp.c: Add FreeBSD DoS patch.
1647         * sunrpc/xdr_rec.c: Likewise.
1648
1649 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
1650
1651         * posix/Makefile (tests): Add runptests.
1652         (distribute): Add PTESTS, PTESTS2C.sed, and ptestcases.h.
1653         (before-compile): Add ptestcases.h.
1654         (ptestscases.h): Add rule to generate from PTESTS.
1655         * posix/runptests.c: New file.
1656         * posix/PTESTS: New file.
1657         * posix/PTESTS2C.sed: New file.
1658
1659 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
1660
1661         * iconv/loop.c: Let user add code to use and set paramaters.
1662
1663         * iconvdata/iso-2022-kr.c: Correct to-loop.
1664
1665         * iconvdata/iso-2022-kr.c (PREPARE_LOOP): Use correct variable to
1666         point to output buffer.
1667
1668         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Use correct value to find
1669         hanja.
1670
1671         * iconvdata/TESTS: Add ISO-2022-KR test.
1672         * iconvdata/testdata/ISO-2022-KR: New file.
1673
1674 1998-05-15 21:07  Ulrich Drepper  <drepper@cygnus.com>
1675
1676         * iconv/gconv.h (gconv_step_data): Add new fields invocation_counter
1677         and internal_use.
1678         * iconv/gconv_open.c (__gconv_open): Initialize invocation_counter
1679         and internal_use.
1680         * wcsmbs/btowc.c: Likewise.
1681         * wcsmbs/mbrtowcs.c: Likewise.
1682         * wcsmbs/mbsnrtowcs.c: Likewise.
1683         * wcsmbs/mbsrtowcs.c: Likewise.
1684         * wcsmbs/wcrtomb.c: Likewise.
1685         * wcsmbs/wcsnrtombs.c: Likewise.
1686         * wcsmbs/wcsrtombs.c: Likewise.
1687         * wcsmbs/wctob.c: Likewise.
1688         * iconv/skeleton.c: Increment invocation_counter.
1689         * iconvdata/iso-2022-kr.c: When used in iconv() emit designator
1690         sequence first.
1691
1692         * iconv/skeleton.c (FROM_DIRECTION): Completely embrace expression.
1693         * iconvdata/iso-2022-jp.c: Likewise.
1694         * iconvdata/iso646.c: Likewise.
1695
1696         * iconvdata/Makefile: Correct rpath definition for ISO-2022-KR.
1697
1698 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
1699
1700         * iconv/gconv_db.c (derivation_lookup): Use __tfind correctly.
1701
1702         * sysdeps/generic/setenv.c (setenv): Remove optimization for
1703         overwriting existing values if it fits.
1704
1705 1998-05-15 14:36  Ulrich Drepper  <drepper@cygnus.com>
1706
1707         * posix/wordexp-test.c: Avoid duplicate messages.
1708
1709         * sysdeps/generic/setenv.c: Use __tfind and __tsearch, not tfind and
1710         tsearch.  Correctly interpret values returned by those functions.
1711         (unsetenv): Store pointer to string, not pointer to string pointer.
1712
1713         * time/tzfile.c (__tzfile_compute): Take new arguments.  Store
1714         DST information and offset in them.
1715         * time/tzset.c (__tz_convert): Pass extra parameters to
1716         __tzfile_compute.  Compute equivalent values for use of tz_rules.
1717
1718 1998-05-15 00:49:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1719
1720         * iconvdata/Makefile (gen-8bit-table): Use move-if-change and
1721         stamp files to avoid unnecessary recompilation.
1722         (gen-8bit-gap-table): Likewise.
1723         (move-if-change): New variable.
1724         (all generated .h rules): Change to be .stmp rules.
1725         (%.h): New rule; depend on %.stmp; no commands.
1726         (distribute): Add gen-8bit.sh, gen-8bit-gap.sh,
1727         gen-8bit-gap-1.sh.
1728
1729 1998-05-15 01:09  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1730
1731         * Makerules (libc-map): Deleted.
1732         (load-map-file): Set to the appropriate compiler switch, not
1733         just the file name.  If libfoo-map is not set, look for a
1734         libfoo.map in the current directory and $(..).
1735         (map-file): New variable, contains just the mapfile name.
1736         (build-shlib): Adjust for new value of load-map-file.
1737         (libc.so): Correct dependencies.
1738
1739         * extra-lib.mk: Correct shlib dependencies since libfoo-map
1740         may not be set anymore.
1741
1742         * elf/Makefile: Set ld-map to $(..)libc.map, not $(libc-map).
1743         Delete libdl-map.  Tweak ld.so link rule to work with changed
1744         variable settings in Makerules.
1745         * iconvdata/Makefile: Tweak build-module to work with changed
1746         variable settings in Makerules.
1747
1748         * db/Makefile: Delete libdb-map.
1749         * hesiod/Makefile: Delete libnss_hesiod-map.
1750         * linuxthreads/Makefile: Delete libpthread-map.
1751         * locale/Makefile: Delete libBrokenLocale-map.
1752         * login/Makefile: Delete libutil-map.
1753         * math/Makefile: Delete libm-map.
1754         * md5-crypt/Makefile: Delete libcrypt-map.
1755         * nis/Makefile: Delete libnsl-map, libnss_nis-map,
1756         libnss_nisplus-map, and libnss_compat-map.
1757         * nss/Makefile: Delete libnss_files-map, libnss_db-map, and
1758         libnss_ldap-map.
1759         * resolv/Makefile: Delete libresolv-map and libnss_dns-map.
1760         * rt/Makefile: Delete librt-map.
1761
1762 1998-05-15 01:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1763
1764         * configure.in: Instead of substituting `yes' or `no' for whether
1765         --no-whole-archive is available, set @no_whole_archive@ to the
1766         appropriate gcc switch or the empty string.  Likewise for
1767         -fno-exceptions.
1768         * config.make.in: Replace have-no-whole-archive with
1769         no-whole-archive and have-no-exceptions with no-exceptions.
1770         * Makerules: Delete stanzas setting no-whole-archive and
1771         no-exceptions.
1772
1773         * sunrpc/Makefile: Use move-if-change to update generated .h
1774         and .c files.
1775
1776 1998-05-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1777
1778         * wcsmbs/wcsmbsload.c (extract_charset_name): Use strcspn instead
1779         of strchr loop.
1780
1781 1998-05-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1782
1783         * time/tzfile.c (__tzfile_read): Remove unused variable info.
1784         (__tzfile_compute): Likewise.
1785
1786 1998-05-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1787
1788         * sysdeps/unix/sysv/linux/bits/socket.h (AF_SNA,PF_SNA): Add new
1789         defines from Linux 2.1.102.
1790
1791 1998-05-14 23:14  Ulrich Drepper  <drepper@cygnus.com>
1792
1793         * locale/programs/ld-ctype.c: Write correct mb_cur_max value.
1794
1795 1998-05-14 13:25  Ulrich Drepper  <drepper@cygnus.com>
1796
1797         * inet/netinet/in.h: Add defines for multicast.
1798         Reported by Jeremy Hall <jhall@UU.NET>.
1799
1800         * stdlib/stdlib.h: Add prototypes for __setenv and __unsetenv.
1801         * sysdeps/generic/putenv.c: Use __setenv and __unsetenv, not setenv
1802         and unsetenv.  Optimize _LIBC case.
1803         * sysdeps/generic/setenv.c: Prevent unnecessary memory leaks.
1804         Define functions with leading __.
1805
1806         * time/tzfile.c: Correct handling of global variables daylight,
1807         timezone, and tzname.
1808         * time/tzset.c: Likewise.
1809         * timezone/Makefile (tests): Add tst-timezone.
1810         * timezone/tst-timezone.c: New file.
1811
1812 1998-05-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
1813
1814         * timezone/asia: Update from tzdata1998d.
1815         * timezone/australasia: Likewise.
1816         * timezone/europe: Likewise.
1817
1818 1998-05-13  Ulrich Drepper  <drepper@cygnus.com>
1819
1820         * string/string.h: Don't use the optimized versions for the string
1821         functions if optimizing for space.
1822
1823         * stdlib/tst-strtod.c: Add test for -0.0.
1824
1825         * io/ftwtest-sh: Prevent tests from being run by root.
1826
1827         * wcsmbs/wcsmbsload.c (extract_charset_name): Fix silly bugs in
1828         last addition.  Patch by wkpark@chem.skku.ac.kr.
1829
1830 1998-05-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1831
1832         * iconvdata/8bit-gap.c (BODY): Don't fall off the end of the gap
1833         table.
1834
1835 1998-05-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1836
1837         * iconvdata/gen-8bit.sh: New file.
1838         * iconvdata/gen-8bit-gap.sh: New file.
1839         * iconvdata/gen-8bit-gap-1.sh: New file.
1840         * iconvdata/Makefile (generate-8bit-table): Use shell script
1841         instead of writing the commands directly.
1842         (generate-8bit-gap-table): Likewise.
1843         ($(objpfx)iso8859-7jp.h): Likewise.
1844         (generated headers): Depend on shell script instead of Makefile.
1845         (before-compile): Add $(perl-generated-headers) only if perl is
1846         available.
1847         (headers): Depend on $(perl-generated-headers) only if perl is
1848         available.
1849         (sed-generated-headers): Remove iso8859-7jp.h.
1850
1851 1998-05-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1852
1853         * csu/Makefile ($(objpfx)abi-tag.h): Double $ in command.  Clean up.
1854         (/): Removed.
1855
1856 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
1857
1858         * wcsmbs/wcsmbsload.c (extract_charset_name): Pass correctly
1859         formed charset names to getfct.  Let user override charset
1860         selection by mention charset in locale name.
1861
1862 1998-05-12 12:15  Ulrich Drepper  <drepper@cygnus.com>
1863
1864         * posix/glob.c: Move to ...
1865         * sysdeps/generic/glob.c: ...here.
1866         * posix/glob.h (glob_t): Use correct types for gl_pathc and gl_offs
1867         elements.
1868         * sysdeps/unix/sysv/linux/alpha/glob.c: New file.
1869         * sysdeps/unix/sysv/linux/alpha/oldglob.c: New file.
1870         * sysdeps/unix/sysv/linux/alpha/Dist: Add oldglob.c.
1871         * sysdeps/unix/sysv/linux/alpha/Makefile: Compile oldglob in posix
1872         subdir.
1873         * libc.map [GLIBC_2.1]: Add glob and globfree.
1874
1875 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
1876
1877         * sunrpc/Makefile (generated): Restore old list.
1878
1879 1998-05-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1880
1881         * rt/Makefile (tests): Define only if we have a thread library.
1882
1883         * nis/ypclnt.c: Add: #include <errno.h>.
1884
1885 1998-05-10 15:39  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1886
1887         * configure.in: Define and substitute RELEASE as well as
1888         VERSION.
1889         * config.make.in: Add RELEASE and VERSION to be substituted.
1890         * Makeconfig: Delete all references to version.mk.
1891         * Make-dist: Likewise.
1892         * MakeTAGS: Likewise.
1893         * elf/Makefile: Likewise.
1894
1895 1998-05-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1896
1897         * nis/ypclnt.c: Move "(none)" domainname check from __yp_check to
1898         yp_get_default_domain.
1899
1900 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
1901
1902         * sysdeps/posix/profil.c (__profil): Don't define act and timer
1903         variables as static.  Patch by Joe Keane <jgk@jgk.org>.
1904
1905 1998-05-12  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
1906
1907         * malloc/malloc.c: Fix for NO_THREADS case.
1908
1909 1998-05-11 18:02  Richard Henderson  <rth@cygnus.com>
1910
1911         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
1912         Remove statfs and fstatfs.
1913         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Don't mark pread
1914         and pwrite as EXTRA.
1915         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1916
1917 1998-05-09  Ulrich Drepper  <drepper@cygnus.com>
1918
1919         * libc.map: Add capget and capset.
1920
1921 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
1922
1923         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1924         (DL_FIND_ARG_COMPONENTS): Find correct alignment for auxiliary
1925         vector.  Patch by Mark Hatle <fray@kernel.crashing.org>
1926         and Matt McLean <keys@brio.yikes.com>.
1927
1928 1998-05-08 23:49  Ulrich Drepper  <drepper@cygnus.com>
1929
1930         * misc/Makefile (tests): Add tst-mntent.
1931         * misc/tst-mntent.c: New file.
1932
1933 1998-05-08 21:56  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1934
1935         * autolock.sh: Removed.
1936         * manual/move-if-change: Removed.
1937
1938         * scripts: New directory.
1939         * =__ify: Moved to scripts.
1940         * config.guess: Likewise.
1941         * config.sub: Likewise.
1942         * gen-FAQ.pl: Likewise.
1943         * install-sh: Likewise.
1944         * mkinstalldirs: Likewise.
1945         * move-if-change: Likewise.
1946         * printsources: Likewise.
1947         * rellns.sh: Likewise.
1948         * test-installation.pl: Likewise.
1949
1950         * configure.in: Look in scripts for config.guess, config.sub,
1951         install-sh.
1952         * Makefile: Distribute all above files in their
1953         new home.  Find gen-FAQ.pl and test-installation.pl in scripts.
1954         * manual/Makefile: Find mkinstalldirs and move-if-change in
1955         $(..)scripts.  Drop them from distribute.  Minor cleanups.
1956         * Makerules: Find mkinstalldirs and rellns-sh in scripts.
1957         * sysdeps/mach/hurd/Makefile: Find move-if-change in scripts.
1958         * timezone/Makefile: Find rellns-sh in scripts.
1959
1960 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
1961
1962         * intl/locale.alias: Change italian to it_IT.ISO-8859-1.
1963         Reported by Ottavio G. Rizzo <otto@mast.queensu.ca>.
1964
1965 1998-05-08 19:24  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1966
1967         * Makefile (+subdir-inits): Delete variable.
1968         (+init_subdirs): Likewise.
1969         (aux): Likewise.
1970         (before-compile): Likewise.
1971         (libc-init): Delete stanza.
1972         (version-info.h): Delete rule and associated variable.
1973         (distribute): Don't distribute moved files.
1974         * Makerules (interp-obj): It lives in elf now.  Only use it
1975         if $(elf) is set.  Delete rule to build it.
1976         * csu/Makefile: Build set-init.o and/or munch-init.o.  Build
1977         version.o and version-info.h.  Minor cleanups.
1978         (routines): Add libc-init, sysdep, version.
1979         (generated): Add version-info.h.
1980         * elf/Makefile: Build interp.os.
1981
1982         * interp.c: Moved to elf.
1983         * set-init.c: Moved to csu.
1984         * munch-init.c: Likewise.
1985         * munch.awk: Likewise.
1986         * version.c: Likewise.
1987
1988         * Rules: Unconfuse syntax highlighting with a fake comment.
1989
1990 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
1991
1992         * sysdeps/unix/sysv/linux/syscalls.list: Add capset and capget
1993         syscalls.
1994
1995 1998-05-08 16:36  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1996
1997         * iconvdata/Makefile (generated): Set to *-generated-headers
1998         plus gconv-modules.
1999         (tests): Set to iconv-test.
2000         * localedata/Makefile (generated-dirs): Add ld-test-names to list.
2001         * posix/Makefile (generated): Set to wordexp-test-result*.
2002         * sunrpc/Makefile (generated): Remove rpcsvc/*.
2003         (generated-dirs): Add rpcsvc.
2004         * libio/Makefile: Clean up.
2005
2006 1998-05-08 14:55  Ulrich Drepper  <drepper@cygnus.com>
2007
2008         * Make-dist (+tsrcs): Also use tests-statc where tests is used.
2009         * Makerules: Likewise.
2010         (+depfiles): Also add sysdep-others.
2011         * Rules: Likewise.
2012         * iconv/Makefile (distribute): Add loop.s and skeleton.c.
2013         * iconvdata/Makefile (distribute): Add TESTS.
2014         * localedata/Makefile (repertoires): Rename to repertoiremaps.
2015         * sysdeps/gnu/Dist: Add utmpx.h and bits/utmpx.h.
2016         * sysdeps/unix/sysv/linux/Dist: Add ldd-rewrite.sed.
2017         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=elf]: Define
2018         sysdep-others, not others.
2019         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
2020         * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/kernel_termios.h.
2021
2022 1998-05-08 12:26  Ulrich Drepper  <drepper@cygnus.com>
2023
2024         * iconv/gconv_int.h (struct gconv_module): Remove cost field and add
2025         cost_hi and cost_lo.
2026         * iconv/gconv_conf.c (builtin_modules): Initialize cost_hi from
2027         Cost parameter and set cost_lo to INT_MAX.
2028         (add_module): Take new parameter and use it to initialize cost_lo.
2029         (read_conf_file): Count modules being loaded and use counter for
2030         new parameter to add_module.
2031         * iconv/gconv_db.c (find_derivation): When look for cost examine
2032         cost_hi and cost_lo.
2033
2034 1998-05-08 10:52  Ulrich Drepper  <drepper@cygnus.com>
2035
2036         * string/bits/string2.h: Don't use unsigned char * unless really
2037         necessary since this disturbs C++.
2038         * sysdeps/i386/i486/bits/string.h: Likewise.
2039         Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
2040
2041 1998-05-08 13:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2042
2043         * malloc/malloc.c (top_check): Fix last change.
2044
2045 1998-05-07  Ulrich Drepper  <drepper@cygnus.com>
2046
2047         * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Define.
2048         Patch by Matt McLean <keys@brio.yikes.com>.
2049
2050 1997-05-07 13:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2051
2052         * Makerules (lib): Put back dependency on lib-noranlib.
2053         ($(subdirs-stamps)): Remove dependency on stamp.* again.
2054
2055 1998-05-07  Ulrich Drepper  <drepper@cygnus.com>
2056
2057         * sysdeps/i386/fpu/bits/mathinline.h: Use long long int also for
2058         test in __pow2 implementation.
2059
2060 1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>
2061
2062         * Makeconfig [!build-static]: Link `static' binaries with libc_pic.a.
2063         Still need *FLAGS-.o because we still sometimes build .o files.
2064         * db2/Makefile: Don't build libndbm.a if !build-static.
2065
2066 1998-05-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2067
2068         * malloc/malloc.c (top_check): Add void as parameter to silent gcc.
2069
2070 1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>
2071
2072         * configure.in: New test for broken gcc on PowerPC.
2073         * sysdeps/powerpc/atomicity.h: Use result of test.
2074         * linuxthreads/sysdeps/powerpc/pt-machine.h: Use result of test.
2075
2076         * math/libm-test.c: Update many of the epsilon to match actual
2077         performance.
2078
2079         * sysdeps/libm-ieee754/e_exp.c: Reduce the number of branches.
2080         * sysdeps/libm-ieee754/e_expf.c: Likewise.
2081         * sysdeps/libm-ieee754/s_exp2.c: Likewise.
2082         * sysdeps/libm-ieee754/s_exp2f.c: Likewise.
2083
2084         * sysdeps/libm-ieee754/e_pow.c: Correct typo.
2085
2086         * sysdeps/powerpc/elf/libc-start.c: New file.
2087         * sysdeps/powerpc/elf/start.S: New file, use libc-start.
2088         * sysdeps/powerpc/elf/start.c: Delete.
2089
2090         * sysdeps/unix/sysv/linux/powerpc/Dist: Remove syscall.h
2091         * sysdeps/unix/sysv/linux/powerpc/syscall.h: Delete.  It was unused.
2092
2093         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Correct previous
2094         few patches.
2095
2096 1998-05-06 12:51  Ulrich Drepper  <drepper@cygnus.com>
2097
2098         * sysdeps/i386/fpu/bits/mathinline.h (pow): Use long long int for
2099         test for integer.
2100
2101         * sysdeps/libm-i387/e_pow.S: Correctly shift double word.
2102         * sysdeps/libm-i387/e_powl.S: Likewise.
2103
2104 1998-03-31  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
2105
2106         * malloc/malloc.c (chunk2mem_check, top_check): New functions.
2107         (malloc_check, free_check, realloc_check, memalign_check): Use
2108         them to improve overrun checking.  Overruns of a single byte and
2109         corruption of the top chunk are now detected much more reliably.
2110
2111 1998-05-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2112
2113         * math/libm-test.c (pow_test): Add test for special value from PR
2114         libc/590.
2115
2116 1998-05-06  Ulrich Drepper  <drepper@cygnus.com>
2117
2118         * sysdeps/unix/sysv/linux/bits/errno.h: Undefine EILSEQ before
2119         including linux/errno.h.
2120
2121 1998-05-06 09:49  Ulrich Drepper  <drepper@cygnus.com>
2122
2123         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Add LFS support.
2124         Use correct types.
2125         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: New file.
2126         * sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: New file.
2127
2128 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2129
2130         * Makerules (elide-routines.*): Fix assignments.
2131         (do-makelib): Fix typo.
2132         ($(subdirs-stamps)): Depend on $(objpfx)stamp.* if in parent
2133         makefile.
2134
2135 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2136
2137         * Makefile (sysdep-subdirs, subdirs, $(common-objpfx)sysd-dirs,
2138         $(objpfx)sysd-dirs): Move them...
2139         * Makeconfig: ... here.
2140         * Makerules (subdirs-stamps, subdirs-stamp-o): Always define.
2141         (stubs): Fix circular depedency.
2142         (do-makelib): Clean up.
2143         (lib): Don't depend on lib-noranlib.
2144         ($(objpfx)stamp.oS): Remove special case for empty
2145         static-only-routines.
2146         (elide-routines.o): Add $(static-only-routines).
2147         (elide-routines$o): Define this instead of elide-routines.$o.
2148         * manual/Makefile (stubs): Fix circular dependency.
2149
2150 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2151
2152         * libio/Makefile (routines): Remove duplicate oldiofclose.
2153
2154 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
2155
2156         * string/strcoll.c: Use uint32_t instead of u_int32_t.
2157
2158 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
2159
2160         * libio/stdio.h: Fix typo in __REDIRECT.
2161         * io/sys/stat.h: Likewise.
2162         Reported by Myles Uyema <myles@uyema.nws.net>.
2163
2164 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2165
2166         * locale/programs/localedef.c (options): Fix help message.
2167
2168 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
2169
2170         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Avoid nasty
2171         relocations.  Patch by Joe Keane <jgk@jgk.org>.
2172
2173 1998-05-04 12:40  Ulrich Drepper  <drepper@cygnus.com>
2174
2175         * malloc/malloc.c (ptmalloc_init_all): New function.  Similar to
2176         ptmalloc_unlock_all, but re-initializes the mutexes instead.
2177         (ptmalloc_init): Use new function in thread_at_fork call.
2178         (thread_atfork_static): Likewise.
2179         Suggested by Wolfram Gloger and Xavier Leroy.
2180
2181 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
2182
2183         * signal/signal.h: Move definitions of struct sigstack and
2184         struct sigaltstack into separate file and include it.
2185         * sysdeps/generic/bits/sigstack.h: New file.
2186         * sysdeps/unix/sysv/linux/bits/sigstack.h: New file.
2187         * signal/Makefile (headers): Add bits/sigstack.h.
2188
2189 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2190
2191         * elf/rtld.c (dl_main): Fix check for number of references to
2192         interpreter object.
2193
2194 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2195
2196         * elf/rtld.c (dl_main): Check has_interp after executing platform
2197         specific code.
2198
2199 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2200
2201         * iconvdata/run-iconv-test.sh: Fix typo.
2202
2203 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2204
2205         * Makerules (+depfiles): Add depfiles for $(tests-static).
2206         Simplified.
2207
2208 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2209
2210         * manual/terminal.texi (Special Characters): Fix description of
2211         c_cc indexes.
2212
2213 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2214
2215         * sysdeps/unix/sysv/linux/tcsetattr.c: Use memcpy to copy the c_cc
2216         array.
2217         * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise.  Initialize rest
2218         of c_cc array.
2219
2220 1998-04-30 14:15  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2221
2222         * sysdeps/unix/sysv/linux/netrose/rose.h: Don't include kernel headers.
2223
2224 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
2225
2226         * intl/locale.alias: Update russian entry.
2227
2228 1998-05-01 21:54  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2229
2230         * Makerules (static-only-routines): Reimplement in terms of
2231         elide-routines.os.
2232         (shared-only-routines): Reimplement in terms of
2233         elide-routines.X [where X is all object-suffixes except .os].
2234
2235         (stubs): Create stubs file inside the subdir.
2236         (common-mostlyclean): Remove stubs file from inside the subdir.
2237         * Makefile (subdir-stubs): Look for stubs files inside the
2238         subdirs.
2239         * manual/Makefile (stubs): Create dummy stubs file inside the
2240         subdir.
2241
2242 1998-05-01 21:01  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2243
2244         Build speed improvement: make ar less of a bottleneck.
2245
2246         * Makerules (stamp$o): Just record the object list for later
2247         use.
2248         (libc_foo.a): New rule, depends on subdir stamp files; builds
2249         and ranlibs the library from the lists saved in those files.
2250
2251         (subdirs-stamps): Define also if subdir == elf (FIXME: kludge).
2252         (subdirs-stamp-o): Likewise.
2253
2254         (ar-symtab-name): Delete variable.
2255         (lib%.a): Delete target.
2256         (libc_foo.a(bar.%)): Delete target.
2257         (libc_foo.a($(ar-symtab-name))): Delete target.
2258
2259         (objects objs): Just depend on libobjs and extra-objs.
2260         (libobjs): Depend on the stamp files, not the objects.
2261         (extra-objs): New target, just depends on the extra-objs list.
2262
2263         (CREATE_ARFLAGS): Kill the `ar S' hack.
2264
2265         * config.make.in (have-ar-S): Deleted.
2266         * configure.in: Delete test for `ar S'.  Add test to determine
2267         whether ranlib does anything useful.
2268
2269 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
2270
2271         * inet/tst-ether_aton.c: Include <stdio.h>.
2272
2273 1998-04-30 16:45  Ulrich Drepper  <drepper@cygnus.com>
2274
2275         * inet/ether_aton.c: Including netinet/if_ether.h is not necessary.
2276
2277         * locale/Makefile (distribute): Add programs/repertoire.h.
2278         (localedef-modules): Add repertoire.
2279         (CPPFLAGS): Define REPERTOIREMAP_PATH.
2280         * locale/programs/repertoire.c: New file.
2281         * locale/programs/repertoire.h: New file.
2282         * locale/programs/charmap.c: Starting fixing character set handling
2283         to handle multi-byte encodings.
2284         * locale/programs/charset.c: Likewise.
2285         * locale/programs/charset.h: Likewise.
2286         * locale/programs/ld-collate.c: Likewise.
2287         * locale/programs/ld-ctype.c: Likewise.
2288         * locale/programs/linereader.c: Likewise.
2289         * locale/programs/localedef.c: Likewise.
2290         * locale/programs/locfile-kw.gperf: Likewise.
2291         * locale/programs/locfile-kw.h: Likewise.
2292         * locale/programs/locfile-token.h: Likewise.
2293         * locale/programs/locfile.h: Likewise.
2294         * locale/programs/stringtrans.c: Likewise.
2295
2296         * locale/programs/locfile.c: Interpret I18NPATH value as base of
2297         path, extended with "/locales/".
2298
2299 1998-04-18  Philip Blundell  <Philip.Blundell@pobox.com>
2300
2301         * sysdeps/arm/memset.S: Fix off by one error.
2302
2303         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): On error, call
2304         __syscall_error rather than syscall_error directly.
2305
2306 1998-04-17  Philip Blundell  <Philip.Blundell@pobox.com>
2307
2308         * sysdeps/unix/sysv/linux/arm/mmap.S: New file; implementation of
2309         mmap() syscall for ARM.
2310
2311         * sysdeps/unix/arm/start.c: New file; startup code for ARM a.out
2312         binaries.
2313
2314 1998-04-30  Ulrich Drepper  <drepper@cygnus.com>
2315
2316         * locale/programs/localedef.c: Recognize repertoire-map option.
2317
2318 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
2319
2320         * locale/programs/linereader.c (get_toplvl_escape): Fix typo in
2321         converting non-hex numbers.
2322         Patch by Won Kyu Park <bird@bird.kitel.co.kr>.
2323
2324 1998-04-23 07:31  H.J. Lu  <hjl@gnu.org>
2325
2326         * resolv/inet_addr.c (inet_aton): Use __strtoul_internal to
2327         check overflow.
2328         * resolv/Makefile (tests): New, add tst-aton.
2329         * resolv/tst-aton.c: New file.
2330
2331 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
2332
2333         * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Add missing
2334         semicolon.
2335
2336 1998-04-29 12:11  Ulrich Drepper  <drepper@cygnus.com>
2337
2338         * wcsmbs/mbsnrtowcs.c: Remove variable to pass to conversion function
2339         by letting the later modify the variable computing the total directly.
2340         * wcsmbs/mbsrtowcs.c: Likewise.
2341         * wcsmbs/wcsnrtombs.c: Likewise.
2342         * wcsmbs/wcsrtombs.c: Likewise.
2343
2344         * wcsmbs/btowc.c (converted): Rename variable to dummy to make clear
2345         it is not used.
2346         * wcsmbs/wctoc.c: Likewise.
2347
2348         * wcsmbs/mbsrtowcs.c: Optimize a bit more.
2349         * wcsmbs/wcsrtombs.c: Likewise.
2350
2351         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add SIGCLD definition.
2352
2353 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
2354
2355         * iconv/skeleton.c: Correct counting of actually converted
2356         characters.
2357
2358         * intl/localealias.c (read_alias_file): Use unsigned char for
2359         local variables.  Remove unused variable tp.
2360         * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
2361         for type of codeset.  For loosing Solaris systems.
2362         * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
2363         * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
2364         len if not needed.
2365         Patches by Jim Meyering.
2366
2367         * stdio-common/vfprintf.c [%S]: Don't clear mbstate twice;
2368         wcsrtombs must put it into initial state.
2369
2370 1998-04-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2371
2372         * iconv/gconv_simple.c: Fix endian bug.  Don't put side effects in
2373         argument of bswap_XX macro.
2374
2375 1998-04-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2376
2377         * iconvdata/Makefile (EBCDIC-DK-NO-A-routines): Fix typo in
2378         variable name.
2379
2380 1998-04-28  Ulrich Drepper  <drepper@cygnus.com>
2381
2382         * sysdeps/unix/sysv/linux/semctl.c (semctl): Define own union
2383         semun and use stdarg macros to get the value.
2384         * sysdeps/generic/semctl.c: Don't use union semun.
2385
2386         * sysvipc/sys/sem.h: Don't use union semun in semctl prototype.
2387
2388         * string/basename.c [!_LIBC]: Define function as gnu_basename.
2389
2390         * posix/getopt.c [!__GNU_LIBRARY__]: Include string.h or
2391         strings.h.
2392
2393         * stdlib/grouping.h: Accept ungrouped numbers even if locale
2394         defines grouping.
2395
2396         * intl/hash-string.h: Don't include values.h.
2397
2398         * inet/Makefile (tests): Add tst-ether_aton.
2399         * inet/tst-ether_aton.c: New file.
2400
2401         * inet/ether_aton_r.c (ether_aton_r): Preserve high-nibble value
2402         in hex conversion.
2403         * inet/ether_aton.c (ether_aton): Declare result variable static.
2404         Reported by ahyung@unixg.ubc.ca.
2405
2406         * sysdeps/unix/sysv/linux/bits/sem.h: Don't define union semun.
2407         Define macro _SEM_SEMUN_UNDEFINED instead.
2408         Reported by Dirk Laessig <d.laessig@tu-bs.de>.
2409
2410         * stdio-common/tst-wc-printf.c: New file.  Test for %S and %C format.
2411         * stdio-common/Makefile (tests): Add tst-wc-printf.
2412
2413 1998-04-28 16:32  Philip Blundell  <philb@gnu.org>
2414
2415         * manual/stdio.texi (Variable Arguments Output): Correct variable
2416         name.  Patch from Ewan Mellor <em@nexus.co.uk>
2417
2418 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
2419
2420         * intl/dcgettext.c: Remove unneeded definition of
2421         internal_function.
2422
2423 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2424
2425         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use this as target
2426         instead of do-iconv-test.
2427         ($(objpfx)gconv-modules): Define rule only if objpfx is not
2428         empty.
2429
2430 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2431
2432         * string/string.h: Fix feature test.
2433
2434 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2435
2436         * iconvdata/iso646.c (BODY): Don't use character constants that
2437         depend on signedness of char.
2438
2439 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
2440
2441         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdirs)=misc]
2442         (sysdep_routines): Add s_pread64 and s_pwrite64.
2443
2444 1998-04-27 09:54  Ulrich Drepper  <drepper@cygnus.com>
2445
2446         * iconvdata/Makefile (distribute): Remove generated .h files.
2447         * iconvdata/koi8-r.h: Removed.
2448         * iconvdata/latin-greek-1.h: Removed.
2449         * iconvdata/latin-greek.h: Removed.
2450
2451         * iconvdata/testdata/CP1258..UTF8: New iconv test source.
2452         * iconvdata/KOI-8: Likewise.
2453         * iconvdata/KOI-8..UTF8: Likewise.
2454         * iconvdata/KOI8-R: Likewise.
2455         * iconvdata/KOI8-R..UTF8: Likewise.
2456
2457 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2458
2459         * streams/Makefile (headers): Add sys/stropts.h.
2460         * streams/sys/stropts.h: New file.
2461
2462 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2463
2464         * sysdeps/unix/sysv/linux/ttyname.c,
2465         sysdeps/unix/sysv/linux/ttyname_r.c: New files, like
2466         sysdeps/posix/ttyname*.c, but look in /dev/pts first.
2467
2468 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2469
2470         * sysdeps/unix/sysv/linux/ptsname.c: Fix off-by-one bug in second
2471         argument of _itoa_word.
2472
2473 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2474
2475         * sysdeps/unix/sysv/linux/syscalls.list (s_getcwd, s_getdents,
2476         s_pread64, s_pwrite64, s_reboot, s_sigpending, s_sigprocmask): Set
2477         caller to getcwd, getdents, pread64, pwrite64, reboot, sigpending,
2478         sigprocmask, resp., instead of EXTRA.
2479
2480         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
2481         s_pread64 and s_pwrite64.
2482
2483 1998-04-26 18:44  Ulrich Drepper  <drepper@cygnus.com>
2484
2485         * iconvdata/Makefile: Correct rules to generate gap table.
2486         * iconvdata/gap.pl: Simplify.
2487
2488         * iconvdata/TESTS: Name new tests.
2489         * iconvdata/testdata/CP1250: New file.
2490         * iconvdata/testdata/CP1250..UTF8: New file.
2491         * iconvdata/testdata/CP1251: New file.
2492         * iconvdata/testdata/CP1251..UTF8: New file.
2493         * iconvdata/testdata/CP1252: New file.
2494         * iconvdata/testdata/CP1252..UTF8: New file.
2495         * iconvdata/testdata/CP1253: New file.
2496         * iconvdata/testdata/CP1253..UTF8: New file.
2497         * iconvdata/testdata/CP1254: New file.
2498         * iconvdata/testdata/CP1254..UTF8: New file.
2499         * iconvdata/testdata/CP1255: New file.
2500         * iconvdata/testdata/CP1255..UTF8: New file.
2501         * iconvdata/testdata/CP1256: New file.
2502         * iconvdata/testdata/CP1256..UTF8: New file.
2503         * iconvdata/testdata/CP1257: New file.
2504         * iconvdata/testdata/CP1257..UTF8: New file.
2505
2506 1998-04-26  Ulrich Drepper  <drepper@cygnus.com>
2507
2508         * iconvdata/Makefile: Add rules for ISO-2022-KR.
2509         * iconvdata/iso-2022-kr.c: New file.
2510
2511         * iconvdata/gconv-modules: Add entry for ISO-2022-JP, ISO-2022-JP-2,
2512         and ISO-2022-KR.
2513
2514 1998-04-25 18:39  Ulrich Drepper  <drepper@cygnus.com>
2515
2516         * iconvdata/Makefile: Use gap method for iso8859-5, iso8859-7,
2517         iso8859-8 and iso8859-10.
2518         * iconvdata/iso8859-5.c: Change to use gap method.
2519         * iconvdata/iso8859-7.c: Likewise.
2520         * iconvdata/iso8859-8.c: Likewise.
2521         * iconvdata/iso8859-10.c: Likewise.
2522
2523         * iconvdata/Makefile: Add rules for ISO-2022-JP module.
2524         * iconv/skeleton.c: Allow END_LOOP do be defined and use it at the
2525         end of the loop.
2526         * iconvdata/iso-2022-jp.c: New file.
2527
2528         * iconvdata/ksc5601.c: Don't use uint16_t to represent byte sequence.
2529         * iconvdata/ksc5601.h: Unify function interfaces.
2530         * iconvdata/euckr.c: Adapt for changed ksc5601.h interface.
2531         * iconvdata/uhc.c: Likewise.
2532
2533         * iconvdata/gb2312.h: Use correct types.
2534
2535         * iconvdata/iso646.c (gconv_open): Correctly initialize the character
2536         size elements of data.
2537
2538 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
2539
2540         * string/tst-svc.expect: Adapt for change in .input.
2541         * string/tst-svc.input: More tests.
2542
2543 1998-04-24 17:15  Ulrich Drepper  <drepper@cygnus.com>
2544
2545         * iconvdata/Makefile: Add rules for new modules.
2546         * iconvdata/gconv-modules: Likewise.
2547         * iconvdata/cp737.c: New file.
2548         * iconvdata/cp737.h: New file.
2549         * iconvdata/cp775.c: New file.
2550         * iconvdata/cp775.h: New file.
2551         * iconvdata/cp874.c: New file.
2552         * iconvdata/cp874.h: New file.
2553
2554 1998-04-24 16:30  Ulrich Drepper  <drepper@cygnus.com>
2555
2556         * iconvdata/Makefile: Create target directory before generating
2557         headers.
2558
2559 1998-04-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2560
2561         * misc/sys/cdefs.h (__REDIRECT): Handle systems with non-empty
2562         __USER_LABEL_PREFIX__.
2563         (__ASMNAME, __ASMNAME2): New macros.
2564
2565 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
2566
2567         * elf/dl-load.c: Include sys/param.h for MAX.
2568
2569 1998-04-24 21:44  Richard Henderson  <rth@cygnus.com>
2570
2571         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Make
2572         __ftruncate the strong symbol, and add weak alias.
2573         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2574
2575 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
2576
2577         * termios/cfsetspeed.c: Make code cleaner and add missing const.
2578         Patch by Joe Keane <jgk@jgk.org>.
2579
2580         * inet/rcmd.c (__ivaliduser): Check buf for being NULL before
2581         free()ing.
2582
2583 1998-04-24 13:56  Ulrich Drepper  <drepper@cygnus.com>
2584
2585         * sysdeps/generic/bits/socket.h: Add #defines for enum values.
2586         Patch by Thomas Bushnell, n/BSG.
2587
2588 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
2589
2590         * inet/rcmd.c (iruserok): Initialize hostf variable to NULL.
2591
2592 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
2593
2594         * iconvdata/Makefile: Put generated headers in build directory.
2595
2596 1998-04-23 22:43  Ulrich Drepper  <drepper@cygnus.com>
2597
2598         * elf/dl-load.c (fillin_rpath): Handle empty element returned by
2599         strsep as current directory.
2600
2601         * iconv/gconv_builtin.h: Add aliases unicode and unicodebig for
2602         Java.  Add definitions for unicodelittle implementation.
2603         * iconv/gconv_int.h: Add declaration for unicodelittle functions.
2604         * iconv/gconv_simple.c: Define unicodelittle functions.
2605
2606         * iconv/iconv_prog.c: Make program print information about position
2607         of illegal character in input.
2608
2609         * iconv/skeleton.c: Use __strcasecmp instead of __strcasestr for
2610         comparison of charset name.
2611         * iconvdata/big5.c (CHARSET_NAME): Adapt for this.
2612         * iconvdata/ebcdic-at-de-a.c: Likewise.
2613         * iconvdata/ebcdic-at-de.c: Likewise.
2614         * iconvdata/ebcdic-ca-fr.c: Likewise.
2615         * iconvdata/euccn.c: Likewise.
2616         * iconvdata/eucjp.c: Likewise.
2617         * iconvdata/euckr.c: Likewise.
2618         * iconvdata/euctw.c: Likewise.
2619         * iconvdata/hp-roman8.c: Likewise.
2620         * iconvdata/iso6937.c: Likewise.
2621         * iconvdata/iso8859-1.c: Likewise.
2622         * iconvdata/iso8859-10.c: Likewise.
2623         * iconvdata/iso8859-2.c: Likewise.
2624         * iconvdata/iso8859-3.c: Likewise.
2625         * iconvdata/iso8859-4.c: Likewise.
2626         * iconvdata/iso8859-5.c: Likewise.
2627         * iconvdata/iso8859-6.c: Likewise.
2628         * iconvdata/iso8859-7.c: Likewise.
2629         * iconvdata/iso8859-8.c: Likewise.
2630         * iconvdata/iso8859-9.c: Likewise.
2631         * iconvdata/johab.c: Likewise.
2632         * iconvdata/koi-8.c: Likewise.
2633         * iconvdata/koi8-r.c: Likewise.
2634         * iconvdata/latin-greek-1.c: Likewise.
2635         * iconvdata/latin-greek.c: Likewise.
2636         * iconvdata/sjis.c: Likewise.
2637         * iconvdata/t61.c: Likewise.
2638         * iconvdata/uhc.c: Likewise.
2639
2640         * iconvdata/iso646.c: Add support for more ISO 646 variants.
2641         * iconvdata/TESTS: Add tests for ISO646 module.
2642         * iconvdata/gconv-modules: Add new modules.
2643         * iconvdata/testdate/CSA_Z243.4-1985-1: New tests for ISO646 module.
2644         * iconvdata/testdate/CSA_Z243.4-1985-1..UCS2: Likewise.
2645         * iconvdata/testdate/CSA_Z243.4-1985-2: Likewise.
2646         * iconvdata/testdate/CSA_Z243.4-1985-2..UCS4: Likewise.
2647         * iconvdata/testdate/DIN_66003: Likewise.
2648         * iconvdata/testdate/DIN_66003..UTF8: Likewise.
2649         * iconvdata/testdate/DS_2089: Likewise.
2650         * iconvdata/testdate/DS_2089..UTF8: Likewise.
2651         * iconvdata/testdate/ES: Likewise.
2652         * iconvdata/testdate/ES..UTF8: Likewise.
2653         * iconvdata/testdate/ES2: Likewise.
2654         * iconvdata/testdate/ES2..UTF8: Likewise.
2655         * iconvdata/testdate/GB_1988-80: Likewise.
2656         * iconvdata/testdate/GB_1988-80..UTF8: Likewise.
2657         * iconvdata/testdate/IT: Likewise.
2658         * iconvdata/testdate/IT..UTF8: Likewise.
2659         * iconvdata/testdate/JIS_C6220-1969-RO: Likewise.
2660         * iconvdata/testdate/JIS_C6220-1969-RO..UTF8: Likewise.
2661         * iconvdata/testdate/JIS_C6229-1984-B: Likewise.
2662         * iconvdata/testdate/JIS_C6229-1984-B..UTF8: Likewise.
2663         * iconvdata/testdate/JUS_I.B1.002: Likewise.
2664         * iconvdata/testdate/JUS_I.B1.002..UTF8: Likewise.
2665         * iconvdata/testdate/KSC5636: Likewise.
2666         * iconvdata/testdate/KSC5636..UTF8: Likewise.
2667         * iconvdata/testdate/MSZ_7795.3: Likewise.
2668         * iconvdata/testdate/MSZ_7795.3..UTF8: Likewise.
2669         * iconvdata/testdate/NC_NC00-10: Likewise.
2670         * iconvdata/testdate/NC_NC00-10..UTF8: Likewise.
2671         * iconvdata/testdate/NF_Z_62-010: Likewise.
2672         * iconvdata/testdate/NF_Z_62-010..UTF8: Likewise.
2673         * iconvdata/testdate/NF_Z_62-010_1973: Likewise.
2674         * iconvdata/testdate/NF_Z_62-010_1973..UTF8: Likewise.
2675         * iconvdata/testdate/NS_4551-1: Likewise.
2676         * iconvdata/testdate/NS_4551-1..UTF8: Likewise.
2677         * iconvdata/testdate/NS_4551-2: Likewise.
2678         * iconvdata/testdate/NS_4551-2..UTF8: Likewise.
2679         * iconvdata/testdate/PT: Likewise.
2680         * iconvdata/testdate/PT..UTF8: Likewise.
2681         * iconvdata/testdate/PT2: Likewise.
2682         * iconvdata/testdate/PT2..UTF8: Likewise.
2683         * iconvdata/testdate/SEN_850200_B: Likewise.
2684         * iconvdata/testdate/SEN_850200_B..UTF8: Likewise.
2685         * iconvdata/testdate/SEN_850200_C: Likewise.
2686         * iconvdata/testdate/SEN_850200_C..UTF8: Likewise.
2687
2688         * iconvdata/cns11643.h: Use uint32_t instead of wchar_t.
2689         * iconvdata/cns11643l1.h: Likewise.
2690         * iconvdata/latin-greek-1.h: Likewise.
2691         * iconvdata/latin-greek.h: Likewise.
2692         * iconvdata/koi8-r.h: Likewise.
2693         * iconvdata/jis0212.h: Likewise.
2694         * iconvdata/gb2312.h: Likewise.
2695         * iconvdata/ksc5601.h: Likewise.
2696
2697         * iconvdata/8bit-gap.c: Use 32 bit type for idx element of struct gap.
2698
2699         * iconvdata/Makefile: Add rules for lots of more modules.
2700         * iconvdata/cp1250.c: New file.
2701         * iconvdata/cp1251.c: New file.
2702         * iconvdata/cp1252.c: New file.
2703         * iconvdata/cp1253.c: New file.
2704         * iconvdata/cp1254.c: New file.
2705         * iconvdata/cp1255.c: New file.
2706         * iconvdata/cp1256.c: New file.
2707         * iconvdata/cp1257.c: New file.
2708         * iconvdata/ebcdic-dk-no-a.c: New file.
2709         * iconvdata/ebcdic-dk-no.c: New file.
2710         * iconvdata/ebcdic-es-a.c: New file.
2711         * iconvdata/ebcdic-es-s.c: New file.
2712         * iconvdata/ebcdic-es.c: New file.
2713         * iconvdata/ebcdic-fi-se-a.c: New file.
2714         * iconvdata/ebcdic-fi-se.c: New file.
2715         * iconvdata/ebcdic-fr.c: New file.
2716         * iconvdata/ebcdic-is-friss.c: New file.
2717         * iconvdata/ebcdic-it.c: New file.
2718         * iconvdata/ebcdic-pt.c: New file.
2719         * iconvdata/ebcdic-uk.c: New file.
2720         * iconvdata/ebcdic-us.c: New file.
2721         * iconvdata/ibm037.c: New file.
2722         * iconvdata/ibm038.c: New file.
2723         * iconvdata/ibm1004.c: New file.
2724         * iconvdata/ibm1026.c: New file.
2725         * iconvdata/ibm1047.c: New file.
2726         * iconvdata/ibm256.c: New file.
2727         * iconvdata/ibm273.c: New file.
2728         * iconvdata/ibm274.c: New file.
2729         * iconvdata/ibm275.c: New file.
2730         * iconvdata/ibm277.c: New file.
2731         * iconvdata/ibm278.c: New file.
2732         * iconvdata/ibm280.c: New file.
2733         * iconvdata/ibm281.c: New file.
2734         * iconvdata/ibm284.c: New file.
2735         * iconvdata/ibm285.c: New file.
2736         * iconvdata/ibm290.c: New file.
2737         * iconvdata/ibm297.c: New file.
2738         * iconvdata/ibm420.c: New file.
2739         * iconvdata/ibm423.c: New file.
2740         * iconvdata/ibm424.c: New file.
2741         * iconvdata/ibm437.c: New file.
2742         * iconvdata/ibm500.c: New file.
2743         * iconvdata/ibm850.c: New file.
2744         * iconvdata/ibm851.c: New file.
2745         * iconvdata/ibm852.c: New file.
2746         * iconvdata/ibm855.c: New file.
2747         * iconvdata/ibm857.c: New file.
2748         * iconvdata/ibm860.c: New file.
2749         * iconvdata/ibm861.c: New file.
2750         * iconvdata/ibm862.c: New file.
2751         * iconvdata/ibm863.c: New file.
2752         * iconvdata/ibm864.c: New file.
2753         * iconvdata/ibm865.c: New file.
2754         * iconvdata/ibm868.c: New file.
2755         * iconvdata/ibm869.c: New file.
2756         * iconvdata/ibm870.c: New file.
2757         * iconvdata/ibm871.c: New file.
2758         * iconvdata/ibm875.c: New file.
2759         * iconvdata/ibm880.c: New file.
2760         * iconvdata/ibm891.c: New file.
2761         * iconvdata/ibm903.c: New file.
2762         * iconvdata/ibm904.c: New file.
2763         * iconvdata/ibm905.c: New file.
2764         * iconvdata/ibm918.c: New file.
2765
2766         * locale/iso-4217.def: Update.
2767         * localedata/locales/pt_BR: Correct.  Patches by Andreas Jaeger.
2768
2769         * stdio-common/vfscanf.h: Recognize nan and inf in floating-point
2770         formats.
2771
2772 1998-04-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2773
2774         * elf/dl-load.c (_dl_init_paths): ';' is also a terminal for
2775         LD_LIBRARY_PATH.
2776
2777 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
2778
2779         * Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'.
2780         * Makefile: Likewise.
2781         * posix/Makefile: Likewise.
2782         * sysdeps/mach/hurd/Makefile: Likewise.
2783
2784 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
2785
2786         * sysdeps/mach/hurd/bits/dirent.h: New file.
2787         * sysdeps/mach/hurd/readdir64.c: New file.
2788         * sysdeps/mach/hurd/readdir64_r.c: New file.
2789
2790 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
2791
2792         * stdio/stdio.h (vasprintf, __asprintf, asprintf, vdprintf,
2793         dprintf): Synchronize declarations with libio/stdio.h.
2794
2795 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
2796
2797         * elf/dlerror.c (dlerror): Don't assume that
2798         __libc_internal_tsd_get is defined.  __libc_getspecific is already
2799         well-protected, so just use it directly.
2800
2801 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
2802
2803         * io/ftw.h (ftw): Fix typo.
2804
2805 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
2806
2807         * sysdeps/gnu/utmp_file.c: Fix typo.
2808
2809 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2810
2811         * iconvdata/run-iconv-test.sh: Fix more portability bugs.  When
2812         one part of a test fails move on to the next test.
2813
2814 1998-04-24  5:45  Richard Henderson  <rth@cygnus.com>
2815
2816         * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
2817
2818 1998-04-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2819
2820         * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Compare addresses
2821         as pointers, not signed integers.
2822
2823 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2824
2825         * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
2826
2827 1998-04-21 21:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2828
2829         * misc/sys/cdefs.h: New macro __REDIRECT to support changing the
2830         asm symbol name of functions.
2831         * include/features.h: Kill redundant test.
2832
2833         * dirent/dirent.h: Use new macros to implement __USE_FILE_OFFSET64.
2834         * io/ftw.h: Likewise.
2835         * io/sys/stat.h: Likewise.
2836         * io/sys/statfs.h: Likewise.
2837         * io/sys/statvfs.h: Likewise.
2838         * libio/stdio.h: Likewise.
2839         * resource/sys/resource.h: Likewise.
2840         * rt/aio.h: Likewise.
2841
2842         * posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and
2843          __FAVOR_BSD.
2844         * signal/signal.h: Use new macros for BSD vs. SysV signal().
2845
2846         * misc/Makefile: Drop bsd-compat.c.  Make libbsd-compat.a
2847         a dummy library.
2848         * misc/bsd-compat.c: Removed.
2849
2850 1998-04-21 20:32  Ulrich Drepper  <drepper@cygnus.com>
2851
2852         * iconv/loop.c: Allow EXTRA_LOOP_DECLS be defined and use it in
2853         function declaration.
2854         * iconv/skeleton.c: Allow PREPARE_LOOP and EXTRA_LOOP_ARGS be defined
2855         and use them in conversion function.
2856         * iconvdata/Makefile (modules): Re-add ISO6446.
2857         * iconvdata/TEST: Add tests for ASCII variants.
2858         * iconvdata/iso646.c: Rewrite to use loop.c and skeleton.c.
2859         * iconvdata/testdata/ANSI_X3.4-1968: New file.
2860         * iconvdata/testdata/BS_4730: New file.
2861         * iconvdata/testdata/BS_4730..UTF8: New file.
2862
2863 1998-04-21 19:05  Ulrich Drepper  <drepper@cygnus.com>
2864
2865         * iconv/gconv.h (struct gconv_step): Add element stateful.
2866         * iconv/gconv_builtin.c (__gconv_builtin_trans): Initialize stateful
2867         to zero for all internal conversions.
2868         * iconv/skeleton.c: Initialize stateful depending on whether or not
2869         RESET_STATE is defined to one or zero respectively.
2870         * stdlib/mblen.c: Use stateful element of currently selected
2871         converter for result if S is NULL.
2872         * stdlib/mbtowc.c: Likewise.
2873         * stdlib/wctomb.c: Likewise.
2874
2875 1998-04-21 18:00  Ulrich Drepper  <drepper@cygnus.com>
2876
2877         * iconv/gconv.c (__gconv): Remove bogus input buffer size computation.
2878
2879         * iconv/gconv_open.c (__gconv_open): Initialize outbufend element.
2880
2881         * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Don't use
2882         character in comparison with uint32_t.
2883         (__gconv_transform_internal_utf8): Specify MAX_NEEDED_TO.
2884         (__gconv_transform_utf8_internal): Specify MAX_NEEDED_FROM.
2885         Optimize BODY a bit.
2886
2887         * iconv/loop.c: Require MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT to
2888         be defined.
2889
2890         * iconv/skeleton.c: Also reset converted counter in case of an error.
2891         Call reset function using correct value for output buffer start.
2892
2893         * iconvdata/Makefile: Re-enable tests.
2894
2895         * iconvdata/iso8859-1.c: Swap MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT
2896         value for to-conversion.
2897
2898         * iconvdata/TESTS: Add new third column.
2899         * iconvdata/run-iconv-test.sh: Add support for charsets which are
2900         not ASCII based.
2901         * iconvdata/testdata/suntzus: New file.
2902
2903         * elf/dl-minimal.c (__strtol_internal): Increment pointer to string
2904         while reading.  Correctly used base.  Little optimization.
2905         (__strtoul_internal): Likewise.
2906
2907         * elf/rtld.c (dl_main): Test to avoid duplicate call of _dl_init_paths
2908         was wrong.  Use explicit variable.
2909
2910 1998-04-20 23:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2911
2912         * configure.in: Check for awk.
2913         * config.make.in: Add AWK to be substituted.
2914
2915         * manual/xtract-typefun.awk: Rewrite to eliminate gawk extensions.
2916         * manual/users.texi: Fix typo exposed by above rewrite.
2917
2918         * Makefile: Invoke awk using AWK variable.
2919         * csu/Makefile: Likewise.
2920         * elf/Makefile: Likewise.
2921         * mach/Makefile: Likewise.
2922         * manual/Makefile: Likewise.
2923         * sysdeps/gnu/Makefile: Likewise.
2924         * sysdeps/mach/hurd/Makefile: Likewise.
2925         * sysdeps/unix/Makefile: Likewise.
2926         * timezone/Makefile: Likewise.
2927
2928 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
2929
2930         * sysdeps/gnu/errlist.awk (ERR_REMAP): Implement error code to
2931         array index translation.
2932         (SYS_ERRLIST_ALIAS, SYS_NERR_ALIAS): Make weak aliases only if
2933         these are defined.
2934
2935         * sysdeps/mach/hurd/Dist: Add errlist.c to distribution.
2936
2937         * sysdeps/mach/hurd/errlist.c: New file.
2938         (ERR_TRANSLATE): Map Hurd error codes into errlist indices.
2939         (_hurd_errlist): The Hurd error list doesn't have Unix sys_errlist
2940         semantics, so rename it.
2941
2942 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2943
2944         * iconvdata/run-iconv-test.sh: Make portable.  Always test all
2945         conversions.
2946
2947 1998-04-21 12:30  H.J. Lu  <hjl@gnu.org>
2948
2949         * wcsmbs/wcsrtombs.c (__wcsrtombs): Initialize result to 0.
2950         * wcsmbs/wcsnrtombs.c: Likewise.
2951
2952 1998-04-21  Ulrich Drepper  <drepper@cygnus.com>
2953
2954         * sysdeps/generic/dl-sysdep.c: Handle _dl_hwcap correctly.
2955
2956         * wcsmbs/btowc.c (__btowc): Declare inptr as const char *.
2957
2958         * time/strftime.c (my_strftime): Initialize pad variable in
2959         declaration.
2960
2961         * iconvdata/big5.c: Don't use character constants in comparisons
2962         with unsigned value.
2963
2964 1998-04-20 18:00  Ulrich Drepper  <drepper@cygnus.com>
2965
2966         * libc.map: Add __dgettext to GLIBC_2.0 and __libc_longjmp, and
2967         __libc_siglongjmp to GLIBC_2.1.
2968
2969         * elf/dl-minimal.c (__assert_perror_fail): Don't use strerror, use
2970         __strerror_r.
2971
2972         * iconv/Makefile: Don't run tests now.
2973
2974         * iconv/iconv_prog.c (process_block): If loop is repeated, call iconv
2975         with correct output buffer.
2976
2977         Major rewrite of the low-level gconv functionality.
2978         * iconv/gconv.c: Rewritten.
2979         * iconv/gconv.h: Likewise.
2980         * iconv/gconv_builtin.c: Likewise.
2981         * iconv/gconv_builtin.h: Likewise.
2982         * iconv/gconv_conf.c: Likewise.
2983         * iconv/gconv_int.h: Likewise.
2984         * iconv/gconv_open.c: Likewise.
2985         * iconv/gconv_simple.c: Likewise.
2986         * iconv/iconv.c: Likewise.
2987         * iconvdata/8bit-gap.c: Likewise.
2988         * iconvdata/8bit-generic.c: Likewise.
2989         * iconvdata/Makefile: Likewise.
2990         * iconvdata/big5.c: Likewise.
2991         * iconvdata/cns11643.c: Likewise.
2992         * iconvdata/cns11643.h: Likewise.
2993         * iconvdata/cns11643l1.c: Likewise.
2994         * iconvdata/cns11643l1.h: Likewise.
2995         * iconvdata/ebcdic-at-de-a.c: Likewise.
2996         * iconvdata/ebcdic-at-de.c: Likewise.
2997         * iconvdata/ebcdic-ca-fr.c: Likewise.
2998         * iconvdata/euccn.c: Likewise.
2999         * iconvdata/eucjp.c: Likewise.
3000         * iconvdata/euckr.c: Likewise.
3001         * iconvdata/euctw.c: Likewise.
3002         * iconvdata/gb2312.c: Likewise.
3003         * iconvdata/gb2312.h: Likewise.
3004         * iconvdata/hp-roman8.c: Likewise.
3005         * iconvdata/iso646.c: Likewise.
3006         * iconvdata/iso6937.c: Likewise.
3007         * iconvdata/iso8859-1.c: Likewise.
3008         * iconvdata/iso8859-10.c: Likewise.
3009         * iconvdata/iso8859-2.c: Likewise.
3010         * iconvdata/iso8859-3.c: Likewise.
3011         * iconvdata/iso8859-4.c: Likewise.
3012         * iconvdata/iso8859-5.c: Likewise.
3013         * iconvdata/iso8859-6.c: Likewise.
3014         * iconvdata/iso8859-7.c: Likewise.
3015         * iconvdata/iso8859-8.c: Likewise.
3016         * iconvdata/iso8859-9.c: Likewise.
3017         * iconvdata/jis0201.c: Likewise.
3018         * iconvdata/jis0201.h: Likewise.
3019         * iconvdata/jis0208.c: Likewise.
3020         * iconvdata/jis0208.h: Likewise.
3021         * iconvdata/jis0212.c: Likewise.
3022         * iconvdata/jis0212.h: Likewise.
3023         * iconvdata/johab.c: Likewise.
3024         * iconvdata/koi-8.c: Likewise.
3025         * iconvdata/koi8-r.c: Likewise.
3026         * iconvdata/ksc5601.c: Likewise.
3027         * iconvdata/ksc5601.h: Likewise.
3028         * iconvdata/latin-greek-1.c: Likewise.
3029         * iconvdata/latin-greek.c: Likewise.
3030         * iconvdata/run-iconv-test.sh: Likewise.
3031         * iconvdata/sjis.c: Likewise.
3032         * iconvdata/t61.c: Likewise.
3033         * iconvdata/uhc.c: Likewise.
3034         * wcsmbs/btowc.c: Likewise.
3035         * wcsmbs/mbrtowc.c: Likewise.
3036         * wcsmbs/mbsnrtowcs.c: Likewise.
3037         * wcsmbs/mbsrtowcs.c: Likewise.
3038         * wcsmbs/wcrtomb.c: Likewise.
3039         * wcsmbs/wcsmbsload.c: Likewise.
3040         * wcsmbs/wcsnrtombs.c: Likewise.
3041         * wcsmbs/wcsrtombs.c: Likewise.
3042         * wcsmbs/wctob.c: Likewise.
3043         * iconv/loop.c: New file.
3044         * iconv/skeleton.c: New file.
3045
3046         * stdlib/mblen.c: Handle empty input string correctly.
3047         * stdlib/mbtowc.c: Likewise.
3048
3049         * posix/getopt.c: Various cleanups.
3050
3051         * sysdeps/arm/bits/setjmp.h: Add copyright text.
3052         * sysdeps/i386/bits/setjmp.h: Likewise.
3053         * sysdeps/m68k/bits/setjmp.h: Likewise.
3054         * sysdeps/powerpc/bits/setjmp.h: Likewise.
3055         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
3056
3057         * sysdeps/generic/longjmp.c: Rename function to __libc_siglongjmp
3058         and make longjmp weak alias.
3059
3060 1998-04-18 20:29  Philip Blundell  <Philip.Blundell@pobox.com>
3061
3062         * iconv/Makefile (routines): Only include gconv_dl if building for
3063         an ELF system - dynamic linking is not available on a.out.
3064         (CFLAGS-gconv_conf.c): Define STATIC_GCONV if omitting gconv_dl
3065         due to above check.
3066         * iconv/gconv_db.c: If STATIC_GCONV defined, don't try to call
3067         routines from gconv_dl.
3068
3069 1998-04-17  Gordon Matzigkeit  <gord@profitpress.com>
3070
3071         * csu/init.c (_IO_stdin_used): Protect with USE_IN_LIBIO so that
3072         we can compile without libio.
3073
3074 1998-04-20 16:28  Ulrich Drepper  <drepper@cygnus.com>
3075
3076         * sysdeps/mach/hurd/Subdirs: Remove login.
3077
3078 1998-04-11  Gordon Matzigkeit  <gord@profitpress.com>
3079
3080         * db2/compat.h: Include <errno.h>, to make sure we get the
3081         definition of EFTYPE before we define it ourselves.
3082
3083 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
3084
3085         * sysdeps/generic/bits/socket.h: Protect against multiple inclusion.
3086         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
3087         Fix typo to allow inclusion from sys/ioctl.h again.
3088
3089 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3090
3091         * iconvdata/*.[ch]: Clean up namespace.  Optimize character lookup.
3092
3093 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3094
3095         * libc.map: Export __strerror_r.  Remove _strerror_internal.
3096
3097 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3098
3099         * sysdeps/generic/strcasestr.c: Undefine strcasestr, not strstr.
3100         Also undefine __strcasestr.
3101
3102 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3103
3104         * posix/regex.c: Rename __re_max_failures back to re_max_failures,
3105         aliases do not work with global variables due to copy relocations.
3106
3107 1998-04-20 15:12  Ulrich Drepper  <drepper@cygnus.com>
3108
3109         * manual/creature.texi: Fix type.  Patch by Andreas Schwab.
3110
3111 1998-04-20 13:47  Ulrich Drepper  <drepper@cygnus.com>
3112
3113         * signal/sighold.c: Include stddef.h for NULL definition.
3114         * signal/sigrelse.c: Likewise.
3115         * sysdeps/posix/sigignore.c: Likewise.
3116         * sysdeps/posix/sigset.c: Likewise.
3117         * sysdeps/posix/waitid.c: Likewise.
3118         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
3119         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Likewise.
3120         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3121         * wcsmbs/mbsrtowcs.c: Include stdlib.h for MB_CUR_MAX.
3122         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3123
3124 1998-04-13  Mark Kettenis  <kettenis@phys.uva.nl>
3125
3126         * login/Makefile (headers): Remove utmpx.h and bits/utmpx.h.
3127         * login/getutent.c (getutxent): Remove alias.
3128         * login/getutent_r.c (setutxent, pututxline, endutxent):
3129         Remove aliases.
3130         * login/getutid.c (getutxid): Remove alias.
3131         * login/getutline.c (getutxline): Remove alias.
3132         * login/utmp.h: Add prototypes for __updwtmp, __getutent,
3133         __getutid, __getutline and __pututline.
3134         * login/utmpx.h: Moved to ...
3135         * sysdeps/gnu/utmpx.h: ... here.  [__USE_GNU]: Define UTMPX_FILE,
3136         UTMPX_FILENAME, WTMPX_FILE and WTMPX_FILENAME, declare utmpxname
3137         and updwtmpx.
3138         * login/updwtmp.c: Moved to ...
3139         * sysdeps/generic/updwtmp.c: ... here.  (updwtmp): Generalized by
3140         allowing file name transformation.
3141         * sysdeps/gnu/updwtmp.c: New file.  Use generic implementation with
3142         additional file name transformation.
3143         * sysdeps/unix/sysv/linux/updwtmp.c: Likewise.
3144         * login/utmp_file.c: Moved to ...
3145         * sysdeps/generic/utmp_file.c: ... here.  (setutent_file):
3146         Generalized by allowing file name transformation.  Do not
3147         print error message.  Library functions should not print them.
3148         Reported by Jim Meyering.
3149         * sysdeps/gnu/utmp_file.c: New file.  Use generic implementation
3150         with additional file name transformation.
3151         * sysdeps/unix/sysv/linux/utmp_file.c: Likewise.
3152         * sysdeps/gnu/Makefile [$(subdir)=login] (sysdep_routines): Add
3153         setutxent, getutxent, endutxent, getutxid, getutxid, getutxline,
3154         pututxline, utmpxname and updwtmpx.  (sysdep_headers): Add utmpx.h
3155         and bits/utmpx.h.
3156         * sysdeps/gnu/bits/utmpx.h [__USE_GNU] Include paths.h.
3157         (_PATH_UTMPX): Define to _PATH_UTMP.  (_PATH_WTMPX): Define to
3158         _PATH_WTMPX.  (RUN_LVL): Define only if __USE_GNU.  (ACCOUNTING):
3159         Define if __USE_GNU.
3160         * sysdeps/generic/setutxent.c: New file.
3161         * sysdeps/generic/getutxent.c: New file.
3162         * sysdeps/generic/endutxent.c: New file.
3163         * sysdeps/generic/getutxid.c: New file.
3164         * sysdeps/generic/getutxline.c: New file.
3165         * sysdeps/generic/pututxline.c: New file.
3166         * sysdeps/generic/utmpxname.c: New file.
3167         * sysdeps/generic/updwtmpx.c: New file.
3168         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP_DB): Remove.
3169         * sysdeps/generic/bits/utmpx.h: Remove.
3170
3171 1998-04-20  Ulrich Drepper  <drepper@cygnus.com>
3172
3173         * posix/wordexp-test.c (main): Initialize ifs element of ts for
3174         ~root test.
3175
3176 1998-04-17 07:53  H.J. Lu  <hjl@gnu.org>
3177
3178         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Fix a typo.
3179
3180 1998-04-17 11:32  Ulrich Drepper  <drepper@cygnus.com>
3181
3182         * libio/oldfileops.c (_IO_old_file_seekoff): Define temporary st
3183         variable using _G_stat64.
3184         * libio/fileops.c: Remove macro definition of fstat, it is in the
3185         global header.
3186         Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
3187
3188 1998-04-17  Philip Blundell  <pb@nexus.co.uk>
3189
3190         * sysdeps/arm/strlen.S: New file, based on code by Matthew Wilcox
3191         <willy@odie.barnet.ac.uk>.
3192
3193 1998-04-16  Philip Blundell  <Philip.Blundell@pobox.com>
3194
3195         * inet/netinet/in.h (IN6_IS_ADDR_MC_NODELOCAL): New macro,
3196         required by IPv6 Basic API.
3197         (IN6_IS_ADDR_MC_LINKLOCAL): Likewise.
3198         (IN6_IS_ADDR_MC_SITELOCAL): Likewise.
3199         (IN6_IS_ADDR_MC_ORGLOCAL): Likewise.
3200         (IN6_IS_ADDR_MC_GLOBAL): Likewise.
3201
3202 1998-04-15 16:41  Ulrich Drepper  <drepper@cygnus.com>
3203
3204         Don't name internal representation since it might be different from
3205         the external form (namely on little endian machines).
3206         * iconv/gconv_builtin.h: Add UCS4 support.  Change references to
3207         UCS4 into references to INTERNAL.
3208         * iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters.
3209         Add endianess support to UCS functions.  Change references to
3210         UCS4 into references to INTERNAL.
3211         * iconv/gconv_int.h: Change references to UCS4 into references to
3212         INTERNAL.
3213         * iconv/iconv_prog.c: Don't mention INTERNAL in --list output.
3214         * iconvdata/gconv-modules: Change accordingly.
3215         * wcsmbs/wcsmbsload.c: Change names to use INTERNAL.
3216
3217         * iconv/gconv_simple.c: Adjust input buffer pointer for output buffer
3218         overflow.
3219         * iconvdata/8bit-gap.c: Likewise.
3220         * iconvdata/8bit-generic.c: Likewise.
3221         * iconvdata/big5.c: Likewise.
3222         * iconvdata/euccn.c: Likewise.
3223         * iconvdata/eucjp.c: Likewise.
3224         * iconvdata/euckr.c: Likewise.
3225         * iconvdata/euctw.c: Likewise.
3226         * iconvdata/iso646.c: Likewise.
3227         * iconvdata/iso6937.c: Likewise.
3228         * iconvdata/iso8859-1.c: Likewise.
3229         * iconvdata/johab.c: Likewise.
3230         * iconvdata/sjis.c: Likewise.
3231         * iconvdata/t61.c: Likewise.
3232         * iconvdata/uhc.c: Likewise.
3233
3234         * iconvdata/8bit-gap.c: Correct access to to_ucs4 array.
3235         * iconvdata/8bit-generic.c: Likewise.
3236
3237         * iconvdata/TESTS: Add more tests.
3238
3239         * sysdeps/i386/bits/byteswap.h: Change to use "=r" when ror is used.
3240
3241 1998-04-15 11:47  Ulrich Drepper  <drepper@cygnus.com>
3242
3243         * iconvdata/Makefile: Better rules to run tests.
3244
3245         * iconvdata/testdata/ISO-8859-1..UTF8: New file.
3246         * iconvdata/testdata/ISO-8859-10: Likewise.
3247         * iconvdata/testdata/ISO-8859-10..UCS2: Likewise.
3248         * iconvdata/testdata/ISO-8859-2: Likewise.
3249         * iconvdata/testdata/ISO-8859-2..UCS4: Likewise.
3250         * iconvdata/testdata/ISO-8859-2..UTF8: Likewise.
3251         * iconvdata/testdata/ISO-8859-3: Likewise.
3252         * iconvdata/testdata/ISO-8859-4: Likewise.
3253         * iconvdata/testdata/ISO-8859-5: Likewise.
3254         * iconvdata/testdata/ISO-8859-6: Likewise.
3255         * iconvdata/testdata/ISO-8859-7: Likewise.
3256         * iconvdata/testdata/ISO-8859-8: Likewise.
3257         * iconvdata/testdata/ISO-8859-9: Likewise.
3258
3259 1998-04-15  Ulrich Drepper  <drepper@cygnus.com>
3260
3261         * iconvdata/run-iconv-test.sh: Handle $from..$t file to compare
3262         intermediate result (if available).
3263
3264         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in
3265         last change.
3266
3267         * iconvdata/Makefile: Add rules to run run-iconv-test.sh.
3268         (distribute): Add run-iconv-test.sh and testdata/*.
3269
3270         * stdlib/testmb.c (main): Simplify mbc array handling.
3271
3272 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3273
3274         * elf/dl-minimal.c (__strtol_internal): Correct range check.  Fix
3275         return value on overflow.
3276
3277 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3278
3279         * sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64
3280         bits.
3281
3282 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3283
3284         * malloc/mtrace.c (mtrace): Use standard function setvbuf instead
3285         of non-standard function setbuffer.
3286
3287 1998-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3288
3289         * stdio-common/perror.c: Include <string.h> for __strerror_r.
3290
3291 1998-04-14 23:54  Ulrich Drepper  <drepper@cygnus.com>
3292
3293         * iconvdata/Makefile: Add rules to run tests.
3294         * iconvdata/TESTS: New file.
3295         * iconvdata/run-iconv-test.sh: New file.
3296         * iconvdata/testdata/ISO-8859-1: New file.
3297
3298         * iconv/iconv_prog.c (main): Call process_block with OUTPUT stream,
3299         not stdout.
3300
3301 1998-04-14 18:22  Ulrich Drepper  <drepper@cygnus.com>
3302
3303         * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
3304         counter element of step.
3305
3306         * iconv/gconv_dl.c: Don't mark get_sym as internal function.
3307
3308         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Correct loop
3309         termination test.
3310         (__gconv_transform_ucs4_utf8): Likewise.  Remove unnecessary variable
3311         ACTUALLY.
3312         (__gconv_transform_utf8_ucs4): Correct test for empty input.
3313
3314 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
3315
3316         * Makefile: Include makeconfig before defining rule to regenerate
3317         configure files.
3318
3319         * configure.in: Remove restriction on compiling without static
3320         libs.
3321
3322 1998-04-14 16:34  Ulrich Drepper  <drepper@cygnus.com>
3323
3324         * test-skeleton.c: Provide hook for initializing code before the fork.
3325         * rt/tst-aio.c: Use PREPARE hook to make suer temp files are always
3326         removed.
3327
3328         * libio/fcloseall.c (__fcloseall): Return return value of _IO_cleanup.
3329         * libio/genops.c (_IO_cleanup): Return return value of _IO_flush_all.
3330         * libio/libioP.h: Adopt _IO_cleanup prototype.
3331
3332         * stdlib/Makefile (tests): Add test-canon2.
3333         * stdlib/test-canon2.c: New file.
3334         * stdlib/canonicalize.c (canonicalize): Allow RESOLVED parameter to
3335         be NULL.  Use __lxstat, not __lstat.  Correctly recognize long
3336         symlink sequences.
3337         (__realpath): Make real function which checks RESOLVED parameter for
3338         not being NULL.
3339
3340 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
3341
3342         * catgets/open_catalog.c (__open_catalog): Fix problems with
3343         reading non-files.  Always close file.
3344         Reported by Cristian Gafton <gafton@redhat.com>.
3345
3346         * elf/dl-minimal.c (__strtol_internal): Prevent overflow warnings.
3347
3348 1998-04-14 13:28  Ulrich Drepper  <drepper@cygnus.com>
3349
3350         * libc.map: Add various low-level I/O functions.
3351
3352 1998-04-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
3353
3354         * string/Makefile (routines): Remove strerror_r.
3355         * string/strerror_r.c: Removed.
3356         * string/strerror.c: Call __strerror_r for doing the real work.
3357         * sysdeps/generic/_strerror.c: Rename function to __strerror_r and
3358         add weak alias strerror_r.
3359         * sysdeps/mach/_strerror.c: Likewise.
3360         * assert/assert-perr.c: Use __strerror_r instead of _strerror_internal.
3361         * elf/dl-error.c (_dl_signal_error): Likewise.
3362         * elf/dl-profile.c (_dl_start_profile): Likewise.
3363         * gmon/gmon.c (write_gmon): Likewise.
3364         * stdio-common/perror.c: Likewise.
3365         * stdio-common/vfprintf.c: Likewise.
3366
3367 1998-04-10  Mark Kettenis  <kettenis@phys.uva.nl>
3368
3369         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
3370         (sysdep_headers): Add netatalk/at.h.
3371
3372 1998-04-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3373
3374         * manual/socket.texi, manual/creature.texi, manual/time.texi:
3375         Formatting fixes.
3376
3377 1998-04-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3378
3379         * posix/regex.c: Rename __re_syntax_options back to
3380         re_syntax_options, aliases do not work with global variables due
3381         to copy relocations.
3382         (regex_compile): Use syntax parameter instead of
3383         re_syntax_options.
3384
3385 1998-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3386
3387         * configure.in: Document that enable-force-install is default.
3388
3389 1998-04-13  Ulrich Drepper  <drepper@cygnus.com>
3390
3391         * sysdeps/posix/mktemp.c: Increment `value' in a way which touches
3392         all needed 36 bits.
3393         * sysdeps/posix/mkstemp.c: Likewise.
3394
3395 1998-04-13 17:40  Ulrich Drepper  <drepper@cygnus.com>
3396
3397         * iconvdata/8bit-gap.c: Simplify step data handling.
3398         * iconvdata/8bit-generic.c: Likewise.
3399         * iconvdata/big5.c: Likewise.
3400         * iconvdata/euccn.c: Likewise.
3401         * iconvdata/eucjp.c: Likewise.
3402         * iconvdata/euckr.c: Likewise.
3403         * iconvdata/euctw.c: Likewise.
3404         * iconvdata/iso6937.c: Likewise.
3405         * iconvdata/iso8859-1.c: Likewise.
3406         * iconvdata/jis0208.h: Likewise.
3407         * iconvdata/jis0212.c: Likewise.
3408         * iconvdata/jis0212.h: Likewise.
3409         * iconvdata/johab.c: Likewise.
3410         * iconvdata/ksc5601.h: Likewise.
3411         * iconvdata/sjis.c: Likewise.
3412         * iconvdata/t61.c: Likewise.
3413         * iconvdata/uhc.c: Likewise.
3414
3415 1998-04-13 16:36  Ulrich Drepper  <drepper@cygnus.com>
3416
3417         * manual/texinfo.texi: Updated from last version.
3418
3419 1998-04-13 14:52  Ulrich Drepper  <drepper@cygnus.com>
3420
3421         * iconvdata/cns11643.c: New file.
3422         * iconvdata/cns11643.h: New file.
3423         * iconvdata/cns11643l1.c: New file.
3424         * iconvdata/cns11643l1.h: New file.
3425         * iconvdata/euctw.c: New file.
3426         * iconvdata/Makefile: Add rules for EUC-TW and CNS.
3427         * iconvdata/gconv-modules: Likewise.
3428
3429         * iconvdata/eucjp.c: Several bug fixes and improvements.
3430         * iconvdata/gb2312.h: Likewise.
3431         * iconvdata/jis0201.h: Likewise.
3432         * iconvdata/jis0208.h: Likewise.
3433         * iconvdata/jis0212.h: Likewise.
3434
3435 1998-04-13 09:11  Ulrich Drepper  <drepper@cygnus.com>
3436
3437         * iconvdata/eucjp.c: New file.
3438         * iconvdata/euccn.c: New file.
3439         * iconvdata/gb2312.h: New file.
3440         * iconvdata/gb2312.c: New file.
3441         * iconvdata/Makefile: Add rules for EUC-JP and EUC-CN.
3442         * iconvdata/gconv-modules: Likewise.
3443
3444         * iconvdata/euckr.c: Use stdint.h instead of inttypes.h.
3445
3446 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
3447
3448         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3449         (DL_FIND_ARG_COMPONENTS): Always initialize auxv.
3450         Patch by Mark Hatle <fray@kernel.crashing.org>.
3451
3452 1998-04-12 22:47  Philip Blundell  <Philip.Blundell@pobox.com>
3453
3454         * sysdeps/unix/sysv/linux/bits/socket.h (PF_APPLETALK): Correct
3455         comment.
3456         (PF_AAL5, AF_AAL5): Rename to *_ATMPVC.
3457         (PF_ATMSVC, PF_ECONET, AF_ATMSVC, AF_ECONET): Added.
3458
3459 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
3460
3461         * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations.
3462
3463         * iconvdata/Makefile: Add rules for big5 conversion.
3464         * iconvdata/gconv-modules: Likewise.
3465         * iconvdata/big5.c: New file.
3466
3467         * time/mktime.c (TYPE_MAXIMUM): Add missing cast.
3468         Patch by Jim Meyering.
3469
3470 1998-04-11  Ulrich Drepper  <drepper@cygnus.com>
3471
3472         * rt/tst-aio.c: Add test for aio_read and lio_listio.
3473
3474         * rt/lio_listio.c: Correct total counter handling.
3475
3476         * rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements
3477         from request queue.
3478
3479         * test-skeleton.c (main): Make stdout unbuffered.  Improve message
3480         of signal on exit even more.
3481
3482         * rt/aio_suspend.c (aio_suspend): Use PTHREAD_COND_INITIALIZER
3483         instead of call to pthread_cond_init.
3484         * rt/lio_listio.c (lio_listio): Likewise.
3485         * rt/lio_listio64.c (lio_listio64): Likewise.
3486
3487         * nis/nis_findserv.c: Include sys/socket.h.
3488
3489 1998-04-11 09:33  Ulrich Drepper  <drepper@cygnus.com>
3490
3491         * Makeconfig (rtobjdir): New variable.
3492         (rpath-link): Add rtobjdir and thread directory, if available.
3493
3494         * test-skeleton.c: Add support to remove temporary files.
3495         Always define test_dir.  Improve message about expected signal.
3496
3497         * rt/Makefile (tests): Add tst-aio.
3498         Add rules for tst-aio to be linked with librt and thread library.
3499         * rt/aio_misc.c: Correct fundamental bugs.
3500         * rt/aio_suspend.c: Correct bug in test for available request.
3501         Initialize conditional variable.
3502         * rt/lio_listio.c: Initialize conditional variable.
3503         * rt/lio_listio64.c: Likewise.
3504         * rt/tst-aio.c: New file.
3505
3506         * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
3507         * sysdeps/libm-ieee754/w_gamma.c: Likewise.  Adopt for ISO C 9x.
3508         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
3509         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
3510         * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
3511         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
3512         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
3513
3514 1998-04-11 14:49  Mark Kettenis  <kettenis@landau.phys.uva.nl>
3515
3516         * posix/regex.c [_LIBC] (__re_syntax_options): Initialize to 0.
3517
3518 1998-04-10  Ulrich Drepper  <drepper@cygnus.com>
3519
3520         * elf/dl-load.c (open_path): Use correct name for test whether
3521         directory in load path exists.
3522
3523         * sysdeps/libm-ieee754/s_expm1.c: Remove variable one.
3524         * sysdeps/libm-ieee754/e_pow.c: Fix typo.
3525         Patches by Tom Rini <trini@kernel.crashing.org>.
3526
3527         * wcsmbs/wcstof_l.c: Declare ____wcstoull_l_internal.
3528         * wcsmbs/wcstod_l.c: Likewise.
3529         * wcsmbs/wcstold_l.c: Likewise.
3530
3531         * include/byteswap.h: New file.
3532
3533         * malloc/mtrace.c (mtrace): Use smaller output buffer to reduce
3534         .bss segment size.  Patch by Joe Keane <jgk@jgk.org>.
3535
3536         * inet/getnameinfo.c (getnameinfo): Change parameter to match
3537         declaration.  Patch by Richard Henderson.
3538
3539 1998-04-10 12:40  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3540
3541         * manual/process.texi (SIGCHLD example): Save errno.
3542
3543 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
3544
3545         * posix/regex.c: Define regerror really as __regerror.
3546         * posix/regex.h: Add __ protected prototypes for regcomp, regexec,
3547         regerror and regfree.
3548
3549         * stdlib/strtof_l.c: Declare ____strtoull_l_internal.
3550         * stdlib/strtod_l.c: Likewise.
3551         * stdlib/strtold_l.c: Likewise.
3552
3553         * intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros.
3554
3555         * sysdeps/i386/i486/bits/string.h: Remove unused variables.
3556
3557         * misc/syslog.c (closelog_internal): Set LogTag to NULL.
3558         Patch by Christian Gafton.
3559
3560 1998-04-09 14:27  Ulrich Drepper  <drepper@cygnus.com>
3561
3562         * manual/socket.texi (Interface Naming): Correct @deftypefun line
3563         for if_indextoname.
3564
3565 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3566
3567         * sysdeps/unix/sysv/linux/bits/sockunion.h: Fix error message.
3568
3569         * manual/socket.texi (Interface Naming): Fix typo.
3570
3571 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3572
3573         * manual/examples/filesrv.c (main): Remove filename first.
3574
3575         * manual/socket.texi (Address Formats): Change ?F_LOCAL, ?F_FILE,
3576         ?F_UNIX.
3577
3578         * manual/examples/mkfsock.c (make_named_socket): Use PF_LOCAL
3579         instead of PF_UNIX.
3580
3581         * manual/examples/filecli.c (main): Use AF_LOCAL
3582         instead of AF_UNIX.
3583
3584 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
3585
3586         * sysdeps/libm-ieee754/s_signgam.c: Define __signgam and make
3587         signgam weak alias.
3588         * sysdeps/libm-ieee754/w_lgamma.c: Use __signgam not signgam.
3589         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
3590         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
3591         * sysdeps/libm-ieee754/w_gamma.c: Likewise.
3592         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
3593         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
3594
3595         * login/utmp_daemon.c (open_socket): Use __connect not connect.
3596
3597 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3598
3599         * configure.in: Add new option --enable-force-install.  Substitute
3600         force_install.
3601         * config.make.in (force-install): Set from configure.
3602         * Makerules (force-install): New phony target.
3603         * Makeconfig (+force): New variable.
3604         * Makefile: Use it in dependency list of installation targets.
3605         * db/Makefile: Likewise.
3606         * db2/Makefile: Likewise.
3607         * elf/Makefile: Likewise.
3608         * hurd/Makefile: Likewise.
3609         * iconv/Makefile: Likewise.
3610         * iconvdata/Makefile: Likewise.
3611         * intl/Makefile: Likewise.
3612         * localedata/Makefile: Likewise.
3613         * login/Makefile: Likewise.
3614         * po/Makefile: Likewise.
3615         * sunrpc/Makefile: Likewise.
3616         * sysdeps/mach/hurd/Makefile: Likewise.
3617         * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise.
3618         * sysdeps/unix/sysv/linux/Makefile: Likewise.
3619         * timezone/Makefile: Likewise.
3620
3621 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3622
3623         * sysdeps/unix/sysv/linux/getcwd.c: Use PATH_MAX as default
3624         alloc_size.  Pass return value of getcwd syscall to realloc.
3625
3626 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3627
3628         * manual/socket.texi: Spelling fixes.
3629
3630 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3631
3632         * elf/dl-load.c (print_search_path): Remove unused variable.
3633
3634 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
3635
3636         * login/utmp_file.c: use __ftruncate not ftruncate.
3637         * sysdeps/unix/common/syscalls.list: Add __ftruncate as real name
3638         for system call and make ftruncate weak alias.
3639         * posix/unistd.h: Add prototype for __ftruncate.
3640         * login/utmp_daemon.c (open_socket): Use __socket not socket.
3641         * nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv
3642         instead of snprintf and readv.
3643         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not
3644         snprintf.
3645         * stdlib/strtod.c: Call strtoull/wcstoull's internal functions
3646         directly.
3647
3648 1998-04-08 20:06  Ulrich Drepper  <drepper@cygnus.com>
3649
3650         * iconv/gconv_conf.c (__gconv_read_conf): Use __realpath not realpath.
3651         * iconv/gconv_db.c: Use __ protected regex functions.
3652         * iconv/gconv_simple.c: Use __mbsinit not mbsinit.
3653         * posix/getopt_init.c: Use __getpid not getpid.
3654         * posix/regex.c: Rename all global functions to start with __ and
3655         make old names weak aliases.
3656         * posix/regex.h: Adopt prototypes for this.
3657         * stdlib/canonicalize.c: Define __realpath, make canonicalize_file_name
3658         a weak alias and use __getcwd instead of getcwd.
3659         * stdlib/stdlib.h: Declare __realpath and __canonicalize_file_name.
3660         * stdlib/strtod.c: Use __btowc instead of btowc.
3661         * stdlib/strtol.c: Likewise.
3662         * sysdeps/libm-ieee754/s_matherr.c: Weaken definition of matherr.
3663         * sysdeps/unix/sysv/linux/errlist.c: Make sure definitions of sys_nerr
3664         and sys_errlist are weak.
3665         * wcsmbs/btowc.c: Define function as __btowc and make btowc weak alias.
3666         * wcsmbs/mbrtowc.c: Use __mbsinit not mbsinit.
3667         * wcsmbs/mbsnrtowcs.c: Likewise.
3668         * wcsmbs/mbsrtowcs.c: Likewise.
3669         * wcsmbs/wcsnrtombs.c: Likewise.
3670         * wcsmbs/wcsrtombs.c: Likewise.
3671         * wcsmbs/mbsinit.c: Define function as __mbsinit and make mbsinit
3672         weak alias.
3673         * wcsmbs/wchar.h: Declare __btowc and __mbsinit.
3674         * wctype/wctype.c: Define function as __wctype and make wctype
3675         weak alias.
3676         * wctype/wctype.h: Declare __wctype.
3677
3678 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
3679
3680         * stdio-common/vfscanf.c: Perform test in %l[ handling correctly.
3681
3682 1998-04-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3683
3684         * sysdeps/unix/sysv/linux/_G_config.h (_G_stat64): Define to
3685         stat64.
3686         (_G_OPEN64, _G_LSEEK64, _G_FSTAT64): Use namespace clean
3687         functions.
3688         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __lseek64 alias
3689         for __llseek.
3690         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3691         * sysdeps/unix/sysv/linux/llseek.c: Likewise.
3692         * sysdeps/generic/lseek64.c (lseek64): Rename to __lseek64, and
3693         make it a weak alias.
3694         * posix/unistd.h: Declare __lseek64.
3695
3696         * libio/fileops.c (fstat) [_LIBC]: Use namespace clean function.
3697         (_IO_file_stat): Fix typo.
3698         (_IO_file_xsgetn): Update fd->_offset.  Read a multiple of the
3699         block size from the file.  Use __mempcpy if _LIBC.
3700
3701 1998-04-07 20:32  Ulrich Drepper  <drepper@cygnus.com>
3702
3703         * wcsmbs/btowc.c: Fix dozends of bugs in untested code.
3704         * wcsmbs/mbrtowc.c: Likewise.
3705         * wcsmbs/mbsnrtowcs.c: Likewise.
3706         * wcsmbs/mbsrtowcs.c: Likewise.
3707         * wcsmbs/wcrtomb.c: Likewise.
3708         * wcsmbs/wcsnrtombs.c: Likewise.
3709         * wcsmbs/wcsrtombs.c: Likewise.
3710         * wcsmbs/wctob.c: Likewise.
3711
3712         * iconv/gconv-simple.c (__gconv_transform_ascii_ucs4): Compute
3713         position of next output character correctly.
3714         (__gconv_transform_ucs4_ascii): Count used input bytes correctly.
3715
3716         * stdio-common/vfprintf.c (vfprintf): Clear state before used.
3717
3718         * stdlib/strtod.c: Don't use mbtowc.
3719
3720 1998-04-07 19:07  H.J. Lu  <hjl@gnu.org>
3721
3722         * libio/fileops.c (_IO_file_xsgetn): Call __underflow () when
3723         what we want is smaller than a buffer.
3724
3725 1998-04-07 18:14  Ulrich Drepper  <drepper@cygnus.com>
3726
3727         * elf/dl-support.c (_dl_important_hwcaps): Define dummy version of
3728         this function.
3729
3730 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
3731
3732         * configure.in: Recognize --with-headers flag and determine
3733         commandline options to be used in compilation.
3734         * Makeconfig (+includes): Use $(sysincludes).
3735         * config.make.in (sysincludes): Define from SYSINCLUDES.
3736         * glibcbug.in: Use SYSINCLUDES information.
3737         Patches by Zack Weinberg.
3738
3739 1998-04-07 19:03  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3740
3741         * glibcbug.in: On linux, report version of kernel headers seen
3742         by compiler.
3743
3744 1998-04-07 16:18  Ulrich Drepper  <drepper@cygnus.com>
3745
3746         * libc.map: Add __asprintf to GLIBC_2.1.
3747         * elf/dlerror.c: Use __asprintf, not asprintf.
3748         * libio/stdio.h: Declare __asprintf.
3749         * stdio-common/asprintf.c: Define as __asprintf and make asprintf
3750         a weak alias.
3751
3752         * elf/dl-minimal.c: Add definition of strtol and strtoul (und friends)
3753         to avoid inclusion from libc_pic.a.
3754
3755         * elf/dl-runtime.c: Undo last patch.
3756
3757         * stdlib/strtod.c: Don't use mbtowc, use btowc.
3758
3759         * sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386"
3760         as default, use NULL.
3761
3762 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3763
3764         * resolv/Makefile: Include ../Makeconfig - needed for building
3765         static NSS module.
3766
3767 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3768
3769         * hesiod/Makefile (libnss_hesiod-inhibit-o): Remove condition for
3770         static-nss since we don't want hesiod in the static NSS.
3771
3772         * nss/Makefile: Build only nss_files as static.
3773
3774         * nss/function.def: Remove support for service db.
3775
3776 1998-04-04 09:44  H.J. Lu  <hjl@gnu.org>
3777
3778         * Makeconfig (CPPFLAGS-.oS): Add -DPIC.
3779
3780 1998-04-04 18:29  Tim Waugh  <tim@cyberelk.demon.co.uk>
3781
3782         * posix/wordexp-test.c: Make IFS per test-case.
3783
3784 1998-04-07 17:50  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3785
3786         * glibcbug.in: Report version of gcc in use.  Remove unused variable
3787         ENVIRONMENT.
3788
3789 1998-04-07  Gordon Matzigkeit  <gord@profitpress.com>
3790
3791         * aclocal.m4 (LIBC_PROG_BINUTILS): Use `-print-prog-name', not
3792         `-print-file-name' to find as and ld.
3793
3794 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
3795
3796         * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case
3797         template is wrong.  Remove unused varaible `ignored'.
3798
3799 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3800
3801         * libc.map: Export __libc_sa_len.
3802
3803         * iconv/gconv_conf.c (MAXPATHLEN): Define correctly.
3804
3805 1998-04-07 08:51  Ulrich Drepper  <drepper@cygnus.com>
3806
3807         * iconv/gconv.c: Take care for NULL arguments.
3808         * iconv/gconv_dl.c: Make find_func function global.
3809         * iconv/gconv_int.h: Add prototype for __gconv_find_func.
3810         Add prototypes for ASCII conversion functions.
3811         * iconv/gconv_simple.c: Add ASCII conversion functions.
3812         * locale/C-ctype.c: Correct charset name.
3813
3814         * wcsmbs/Makefile (distribute): Add wcsmbsload.h.
3815         (routines): Remove wmemrtowcs and wmemrtombs, add wcsnlen and
3816         wcsmbsload.
3817         * wcsmbs/btowc.c: Rewrite to use iconv functionality.
3818         * wcsmbs/mbrtowc.c: Likewise.
3819         * wcsmbs/mbsnrtowcs.c: Likewise.
3820         * wcsmbs/mbsrtowcs.c: Likewise.
3821         * wcsmbs/wcrtomb.c: Likewise.
3822         * wcsmbs/wcsnrtombs.c: Likewise.
3823         * wcsmbs/wcsrtombs.c: Likewise.
3824         * wcsmbs/wctob.c: Likewise.
3825         * wcsmbs/wchar.h: Add prototype for __wcslen, wcsnlen.  Remove
3826         prototypes for wmemr*.
3827         * wcsmbs/wcslen.c: Rename to __wcslen and make wcslen weak alias.
3828         * wcsmbs/wcsnlen.c: New file.
3829         * wcsmbs/wcsmbsload.c: New file.
3830         * wcsmbs/wcsmbsload.h: New file.
3831
3832         * manual/filesys.texi: Mention risks of tmpnam and mktemp.
3833
3834         * manual/install.texi: Describe some more critical points.
3835
3836         * string/string.h: Add prototype for __strnlen.
3837         * string/strnlen.c: Rename to __strnlen and make strnlen weak alias.
3838
3839         * sysdeps/posix/mktemp.c: Rewrite to allow many more files and
3840         much less predictable names.
3841         * sysdeps/posix/mkstemp.c: Likewise.
3842
3843 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3844
3845         * manual/libc.texinfo (Top): Change "file namespace" to "local
3846         namespace".
3847
3848         * manual/socket.texi: Change file namespace to local namespace.
3849         (Out-of-Band Data): Remove unneeded variable link.
3850         (Host Address Functions): Use uint32_t consequently and add a
3851         number of clarifications for IPv4/IPv6, classless addresses.
3852         (Internet Namespace): Added some paragraphs about IPv6.
3853         Based on suggestions by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
3854
3855 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
3856
3857         Update for draft-ietf-ipngwg-bsd-api-new-01.txt:
3858
3859         * resolv/netdb.h (getnameinfo): Use `socklen_t' not `size_t'.
3860         (NI_NUMERICHOST, et al.): Tidy up and add comments.
3861         (AI_NUMERICHOST): Define.
3862         (getnodebyname): New prototype.
3863         (AI_V4MAPPED, et al.): New constants.
3864
3865         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro.
3866         * sysdeps/generic/bits/sockaddr.h (SA_LEN): Likewise.
3867         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add sa_len
3868         for socket.
3869         * sysdeps/unix/sysv/linux/sa_len.c: New file.
3870         * sysdeps/unix/sysv/linux/Dist: Add sa_len.c.
3871
3872         * sysdeps/unix/sysv/linux/bits/socket.h: Make multiple #inclusion safe.
3873
3874         * sysdeps/generic/bits/sockunion.h: New file, defining sockaddr_union.
3875         * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.
3876         * socket/Makefile (headers): Add bits/sockunion.h.
3877         * socket/sys/socket.h: Include <bits/sockunion.h>
3878         * inet/netinet/in.h: Include <bits/sockaddr.h> rather than
3879         <sys/socket.h>, to avoid getting sockaddr_union defined.
3880         * sysdeps/generic/bits/socket.h: Allow inclusion from netinet.in.h.
3881         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3882         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
3883
3884         * sysdeps/unix/sysv/linux/if_index.c: Remove use of SIOCGIFCOUNT
3885         (2.2.x kernels won't have it).
3886
3887 1998-04-06 21:21  Ulrich Drepper  <drepper@cygnus.com>
3888
3889         * sysdeps/mach/hurd/bits/ioctls.h: Allow inclusion from hurd/ioctl.h.
3890         * sysdeps/mach/hurd/dl-sysdep.c: Use __ptr_t not caddr_t.
3891         * iconv/gconv_conf.c: Define MAXPATHLEN if not available before.
3892         Patches by UCHIYAMA Yasushi <uch@nop.or.jp>.
3893
3894 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
3895
3896         * manual/socket.texi (Socket Addresses): Fix a typo.
3897         (Interface Naming): New section.
3898
3899 1998-04-05 23:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3900
3901         * configure.in: Check for CC using $ac_tool_prefix, to handle
3902         cross-compilation.  Use AC_CHECK_TOOL to find MiG.
3903         * config.make.in: Add MIG to be substituted.
3904         * mach/Machrules: Don't define MIG variable.
3905
3906         Patch by Gordon Matzigkeit <gord@profitpress.com>.
3907
3908 1998-04-05  Mark Kettenis  <kettenis@phys.uva.nl>
3909
3910         * elf/dl-load.c (decompose_rpath): Use local_strdup instead of
3911         strdupa to copy rpath.
3912
3913 1998-04-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3914
3915         * configure.in: Fix gcc version check.
3916
3917         * aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less
3918         confusing.
3919
3920 1998-03-31  Mark Kettenis  <kettenis@phys.uva.nl>
3921
3922         * sysdeps/unix/bsd/unlockpt.c (unlockpt): Call __ptsname_r instead
3923         of ptsname_r.
3924
3925         * stdlib/stdlib.h: Change prototype of ptsname_r to make it more
3926         like ttyname_r.
3927         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Likewise.
3928         * sysdeps/generic/ptsname.c (__ptsname_r): Likewise.
3929         * sysdeps/unix/grantpt.c (grantpt): Change check of return value
3930         of __ptsname_r accordingly.
3931         * login/openpty.c (openpty): Likewise.
3932
3933 1998-06-04 18:47  H.J. Lu  <hjl@gnu.org>
3934
3935         * libio/fileops.c (_IO_file_xsgetn): Adjust pointers.
3936
3937 1998-04-06 13:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3938
3939         * Makeconfig (libtypes): Redo H.J. Lu's change of 1998-03-27.
3940
3941         * Makerules: Re-add missing rule for $(objpfx)stamp.oS.
3942
3943 1998-04-06  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3944
3945         * nis/ypclnt.c: Don't give YPERR_RPC back, use the do_ypcall
3946         return value for better error checking.
3947
3948 1998-04-06  Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
3949
3950         * elf/dl-runtime.c (fixup, profile_fixup): The final arg to
3951         _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT.
3952
3953         * elf/elf.h (EM_SPARC64): Remove.
3954         (EM_SPARC32PLUS, EM_SPARCV9): Add.
3955         (HWCAP_SPARC_V9): Add.
3956
3957         * elf/ldsodefs.h (_dl_hwcap): Declare.
3958         * sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask):
3959         Weaken so dlopen from static progies works.
3960         (WEAKADDR): New macro.
3961         (elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu.
3962         (LD_SO_PRELOAD): New macro.
3963         (elf_machine_fixup_plt): Cope with weak _dl_hwcap.
3964         (elf_machine_rela): Weaken _dl_rtld_map.
3965
3966         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone
3967         to __clone, and remove the later's alias.
3968         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
3969
3970         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from
3971         the kernel's structure.
3972
3973         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file.
3974         Sparc needs a custom value of __KERNEL_NCCS.
3975
3976 1998-04-06  Richard Henderson  <rth@cygnus.com>
3977
3978         * sysdeps/generic/libc-start.c: Allow init and fini to be null.
3979
3980         * sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main.
3981         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3982
3983 1998-04-06  Richard Henderson  <rth@cygnus.com>
3984
3985         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change,
3986         as the buffer is not properly aligned.
3987         Reported by Juan Cespedes <cespedes@debian.org>.
3988
3989 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3990
3991         * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL
3992         instead of AF_FILE.
3993
3994 1998-04-05  Ulrich Drepper  <drepper@cygnus.com>
3995
3996         * iconv/gconv_simple.c: Rewrite to not make use of the mb*towc*
3997         and wc*tomb* functions.
3998
3999 1998-04-04 15:16  Philip Blundell  <Philip.Blundell@pobox.com>
4000
4001         * sysdeps/unix/start.c: Fix typo.
4002
4003 1998-04-04  Ulrich Drepper  <drepper@cygnus.com>
4004
4005         * iconv/gconv_db.c (__gconv_find_transform): Fix typo.
4006
4007 1998-04-03 23:38  Ulrich Drepper  <drepper@cygnus.com>
4008
4009         * sysdeps/libm-ieee754/e_acos.c: Optimize by splitting large
4010         expressions and using array variables.
4011         * sysdeps/libm-ieee754/e_asin.c: Likewise.
4012         * sysdeps/libm-ieee754/e_j0.c: Likewise.
4013         * sysdeps/libm-ieee754/e_j1.c: Likewise.
4014         * sysdeps/libm-ieee754/e_log.c: Likewise.
4015         * sysdeps/libm-ieee754/e_pow.c: Likewise.
4016         * sysdeps/libm-ieee754/k_cos.c: Likewise.
4017         * sysdeps/libm-ieee754/k_sin.c: Likewise.
4018         * sysdeps/libm-ieee754/k_tan.c: Likewise.
4019         * sysdeps/libm-ieee754/s_atan.c: Likewise.
4020         * sysdeps/libm-ieee754/s_erf.c: Likewise.
4021         * sysdeps/libm-ieee754/s_expm1.c: Likewise.
4022         * sysdeps/libm-ieee754/s_log1p.c: Likewise.
4023         Patch by Naohiko Shimizu <nshimizu@et.u-tokai.ac.jp>.
4024
4025 1998-04-03 23:17  Ulrich Drepper  <drepper@cygnus.com>
4026
4027         * iconv/gconv.c: Rewrite of the low-level of gconv.
4028         * iconv/gconv.h: Likewise.
4029         * iconv/gconv_builtin.h: Likewise.
4030         * iconv/gconv_close.c: Likewise.
4031         * iconv/gconv_db.: Likewise.
4032         * iconv/gconv_dl.c: Likewise.
4033         * iconv/gconv_int.h: Likewise.
4034         * iconv/gconv_open.c: Likewise.
4035         * iconv/gconv_simple.c: Likewise.
4036         * iconvdata/8bit-gap.c: Adapt for rewrite.
4037         * iconvdata/8bit-generic.c: Likewise.
4038         * iconvdata/euckr.c: Likewise.
4039         * iconvdata/iso646.c: Likewise.
4040         * iconvdata/iso6937.c: Likewise.
4041         * iconvdata/iso8859-1.c: Likewise.
4042         * iconvdata/johab.c: Likewise.
4043         * iconvdata/sjis.c: Likewise.
4044         * iconvdata/t61.c: Likewise.
4045         * iconvdata/uhc.c: Likewise.
4046
4047 1998-04-03 15:34  Ulrich Drepper  <drepper@cygnus.com>
4048
4049         * iconv/gconv_int.h: New file.  Internal header.
4050         * iconv/Makefile (distribute): Add gconv_int.h.
4051         * iconv/gconv.h: Remove definition which are now in gconv_int.h.
4052         * iconv/gconv_builtin.c: Adopt for gconv_int.h introduction.
4053         * iconv/gconv_close.c: Likewise.
4054         * iconv/gconv_conf.c: Likewise.
4055         * iconv/gconv_db.c: Likewise.
4056         * iconv/gconv_dl.c: Likewise.
4057         * iconv/gconv_int.h: Likewise.
4058         * iconv/gconv_open.c: Likewise.
4059         * iconv/iconv.c: Likewise.
4060         * iconv/iconv_close.c: Likewise.
4061         * iconv/iconv_open.c: Likewise.
4062         * iconv/iconv_prog.c: Likewise.
4063
4064 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
4065
4066         * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the
4067         missing braces.
4068
4069 1998-04-03  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4070
4071         * nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags.
4072
4073 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
4074
4075         Based on patch from Pat Beirne:
4076         * sysdeps/unix/sysv/linux/arm/sysdep.S (__syscall_error): Same for
4077         PIC and non-PIC now.  Correctly negate error number.
4078         (errno): Use `%' not `@' in .type directives.
4079
4080 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
4081
4082         * sysdeps/i386/strtok.S: Change to use single exit point.
4083         * sysdeps/i386/i686/strtok.S: Likewise.
4084
4085 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4086
4087         * sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide
4088         default.
4089
4090 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4091
4092         * Makerules (installed-libcs): Fix typo.
4093
4094 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4095
4096         * iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC.
4097         (UHC-routines): Remove ksc5601.
4098
4099 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
4100
4101         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo
4102         introduced in last change.
4103
4104 1998-04-03 06:22  Ulrich Drepper  <drepper@cygnus.com>
4105
4106         * sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels
4107         before 2.1.92.
4108
4109 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
4110
4111         * sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry.
4112
4113         * stdlib/isomac.c: Use -isystem instead of -I for system include
4114         dir.
4115
4116 1998-03-30 08:05  H.J. Lu  <hjl@gnu.org>
4117
4118         * resolv/res_comp.c (underscorechar): New.
4119         (middlechar): Allow '_'.
4120
4121 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
4122
4123         * intl/explodename.c (stdlib.h): Include that file only if
4124         STDC_HEADERS or _LIBC.
4125         (string.h): Include that file only if HAVE_STRING_H or _LIBC.
4126         Patch by Philippe De Muyter <phdm@macqel.be>.
4127
4128 1998-04-01 21:08  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4129
4130         * aclocal.m4 (AC_PROG_CC_LOCAL): Remove superfluous tests.
4131         (AC_PROG_CHECK_VER): New macro.
4132         * configure.in: Use AC_PROG_CHECK_VER to check versions of
4133         gcc, gmake, msgfmt, makeinfo.  Remove superfluous tests.
4134
4135 1998-04-02 15:13  Ulrich Drepper  <drepper@cygnus.com>
4136
4137         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: New file.
4138         * sysdeps/i386/i686/strtok.S: New file
4139         * sysdeps/i386/i686/strtok_r.S: New file
4140
4141 1998-04-02  Mark Kettenis  <kettenis@phys.uva.nl>
4142
4143         * posix/unistd.h: [__USE_FILE_OFFSET64] (lseek): Change return
4144         type to __off64_t.
4145         * libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset
4146         parameter as __off64_t instead of __off_t.
4147         (ftello): Make alias for ftello64 instead of ftello.  Change
4148         return type to __off64_t.
4149
4150 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
4151
4152         * sysdeps/i386/bits/string.h: Fix various typos.
4153         Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
4154
4155         * sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92.
4156
4157 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
4158
4159         * sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without
4160         lchown syscall correctly.  [PR libc/541].
4161
4162 1998-04-02 11:45  Ulrich Drepper  <drepper@cygnus.com>
4163
4164         * localedata/Makefile: Correct testsuite rules.
4165
4166         * iconvdata/gconv-modules: Set cost of ISO646 module to 2.
4167         * iconvdata/iso646.c: Fix conversion from UCS4.
4168
4169         * elf/ldsodefs.h: Mark internal function with internal_function.
4170         * elf/dl-addr.c: Likewise.
4171         * elf/dl-close.c: Likewise.
4172         * elf/dl-debug.c: Likewise.
4173         * elf/dl-deps.c: Likewise.
4174         * elf/dl-error.c: Likewise.
4175         * elf/dl-fini.c: Likewise.
4176         * elf/dl-init.c: Likewise.
4177         * elf/dl-load.c: Likewise.
4178         * elf/dl-lookup.c: Likewise.
4179         * elf/dl-object.c: Likewise.
4180         * elf/dl-open.c: Likewise.
4181         * elf/dl-profile.c: Likewise.
4182         * elf/dl-reloc.c: Likewise.
4183         * elf/dl-runtime.c: Likewise.
4184         * elf/dl-symbol.c: Likewise.
4185         * elf/dl-version.c: Likewise.
4186         * elf/dlerror.c: Likewise.
4187         * sysdeps/generic/dl-sysdep.c: Likewise.
4188         * sysdeps/i386/dl-machine.h: Likewise.
4189         * intl/finddomain.c: Likewise.
4190         * intl/gettextP.h: Likewise.
4191         * intl/loadmsgcat.c: Likewise.
4192
4193 1998-04-01 17:38  Ulrich Drepper  <drepper@cygnus.com>
4194
4195         * iconv/gconv_simple.c: New builtins for UCS en/decoding.
4196         * iconv/gconv_builtin.h: Add definitions for new builtins.
4197         * iconv/gconv.h: Add prototypes for new builtins.
4198
4199         * iconvdata/Makefile (modules): Add ISO646.
4200         Add rules for ISO646 module.
4201         (distribute): Add iso646.c.
4202         * iconvdata/gconv-modules: Add module and alias definition for
4203         ISO646 charsets.
4204         * iconvdata/iso646.c: New file.
4205
4206 1998-04-01 16:10  Ulrich Drepper  <drepper@cygnus.com>
4207
4208         * libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db.
4209         * iconv/iconv_prog.c: Implement --list option to print available
4210         coded character sets.
4211
4212 1998-04-01 18:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4213
4214         Make fread() read large blocks straight to the user buffer.
4215
4216         * libio/fileops.c (_IO_file_xsgetn): New function.
4217         (_IO_file_jumps): Use it.
4218         * libio/libioP.h: Prototype it.
4219
4220 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
4221
4222         * iconv/gconv_conf.c (builtin_aliases): New variable.
4223         (__gconv_read_conf): Add builtin aliases.
4224         * iconv/gconv_builtin.c (builtin_map): Define BUILTIN_ALIAS as an
4225         noop macro before including gconv_builtin.h.
4226         * iconv/gconv_builtin.h: Add alias names.
4227
4228         * iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute
4229         number of converted bytes correctly.
4230
4231 1998-04-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4232
4233         * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
4234         we only wait for a replay.
4235
4236 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
4237
4238         * iconvdata/Makefile: Finally fix dependencies for JOHAB and
4239         EUC-KR modules.
4240
4241 1998-04-1 16:52  Philip Blundell  <pb@nexus.co.uk>
4242
4243         * sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and
4244         use PLTJMP() rather than explicit (PLT).
4245
4246         * sysdeps/arm/elf/start.S: Leave most of the initialisation for
4247         __libc_start_main().
4248
4249         Based on patch from Pat Beirne:
4250         * sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER):
4251         Always define, not only #ifndef PIC.
4252         (DO_CALL): Pass fifth argument correctly in R4.
4253         (PSEUDO): Correct test for error, call syscall_error through PLT
4254         if PIC.
4255
4256 1998-03-31 10:51  Philip Blundell  <pb@nexus.co.uk>
4257
4258         * sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new
4259         definitions.
4260
4261 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
4262
4263         * iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and
4264         JOHAB.so.
4265
4266 1998-04-01 13:20  Mark Kettenis  <kettenis@phys.uva.nl>
4267
4268         * io/Makefile (static-only-routines): Add stat64, fstat64 and
4269         lstat64.
4270
4271 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4272
4273         * manual/Makefile: Use object-suffixes-for-libc instead of
4274         object-suffixes.
4275         * rpm/Makefile (install-lib): Likewise.
4276
4277 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4278
4279         * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug.
4280
4281         * sysdeps/unix/sysv/linux/configure.in: Match $machine against
4282         `m68*', not only `m68k'.
4283
4284 1998-04-01 10:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4285
4286         * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
4287
4288         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
4289         install lddlibc4.
4290
4291 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
4292
4293         * iconvdata/Makefile: Use libKSC shared object in JOHAB and
4294         EUC-KR.
4295
4296         * sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct
4297         comment.
4298
4299 1998-03-30 08:43  H.J. Lu  <hjl@gnu.org>
4300
4301         * sysdeps/alpha/elf/start.S: Let __libc_start_main do most of
4302         the init stuff.
4303
4304 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
4305
4306         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for
4307         adjtimex syscall.
4308         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
4309         adjtimex.
4310         Patches by Dominik Kubla <kubla@sundiver.zdv.uni-mainz.de>.
4311
4312 1998-03-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4313
4314         * Makerules (install): Change comment for libc.so following the
4315         libc_nonshared changes.
4316
4317 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
4318
4319         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo.
4320
4321         * iconvdata/gap.pl: Avoid using %#06x.
4322
4323 1998-03-31 19:55  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4324
4325         * Makerules: Use $? instead of S^ when invoking ar.
4326
4327 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
4328
4329         * db2/compat.h: Allow EFTYPE being defined.
4330         * sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
4331         * sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
4332         * sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
4333         * sysdeps/mach/bits/libc-lock.h: Fix typo.
4334         (__libc_once): Correctly unlock semaphore.
4335         * sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
4336         * sysdeps/unix/bsd/getpt.c: Fix typo.
4337         Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.
4338
4339 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
4340
4341         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as
4342         macros.
4343
4344 1998-03-31 18:11  Ulrich Drepper  <drepper@cygnus.com>
4345
4346         * include/mntent.h: New file.
4347
4348         * elf/Makefile (trusted-dirs.h): Append slash to filename.
4349         * elf/dl-load.c: Rewrite search path handling.
4350         * elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite.
4351         * elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK.
4352         * sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function.
4353         * elf/ldsodefs.h: Add prototype.
4354
4355 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
4356
4357         * nss/nsswitch.c (__nss_lookup): Adjust comment.
4358
4359         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New
4360         function.
4361
4362         * sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition.
4363
4364         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string):
4365         New function.
4366         (HWCAP_IMPORTANT): New definition.
4367
4368 1998-03-30 17:26  H.J. Lu  <hjl@gnu.org>
4369
4370         * elf/dl-open.c (_dl_open): Fix a typo.
4371         (_dl_global_scope_alloc): Make it static.
4372
4373 1998-03-30 17:20  Ulrich Drepper  <drepper@cygnus.com>
4374
4375         * Makerules: Remove duplicate rules to handle stamp.oS.
4376
4377 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4378
4379         * manual/examples/inetsrv.c (main): Change prototype of
4380         make_socket following change in mkisock.c.
4381
4382         * manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as
4383         example host.
4384         (main): Change prototype of init_sockaddr following change in
4385         isockadd.c.
4386
4387         * manual/examples/mkisock.c (make_socket): Use uint16_t for port.
4388         * manual/examples/isockad.c (init_sockaddr): Likewise.
4389
4390         * manual/examples/mkfsock.c (make_named_socket): Removed blank
4391         lines for clarification.
4392         (make_named_socket): Use strncpy instead of strcpy.
4393         Reported by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
4394
4395 1998-03-30 13:28  Ulrich Drepper  <drepper@cygnus.com>
4396
4397         * Makefile (parent-mostlyclean): Use object-suffixes-for-libc for
4398         determining libs to remove.
4399         (postclean): Add soversions.mk.
4400         * Makerules (common-mostlyclean): Add tests-static and generated
4401         files.
4402
4403 1998-03-30 12:53  Ulrich Drepper  <drepper@cygnus.com>
4404
4405         * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct
4406         scanning for \0.
4407         (__strncat_g): Add i686 specific code.
4408
4409 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4410
4411         * manual/install.texi (Reporting Bugs): Ask to include section
4412         names in reports.
4413
4414 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4415
4416         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit
4417         guard against direct inclusion.
4418
4419 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4420
4421         Rework support for libc_nonshared.a:
4422         * Makeconfig (object-suffixes-for-libc): New variable.
4423         * Rules: Remove handling of static-only and shared-only routines.
4424         * Makerules: Handle them here instead.  Use
4425         object-suffixes-for-libc instead of object-suffixes when dealing
4426         with libc objects.
4427         (object-suffixes-for-rules): Remove variable.
4428         (elide-routines.oS): Elide all routines except static-only
4429         routines.
4430         ($(objpfx)stamp.oS): Special rule for when static-only-routines is
4431         empty.
4432         (installed-libcs): Remove special case for .oS.
4433         (rmobjs): Likewise.
4434
4435 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4436
4437         * Makefile (do-collate-test, do-xfrm-test, do-tst-fmon,
4438         do-tst-rpmatch): New targets.
4439         (test): Use them.
4440         (install-locales): Ignore comment lines.
4441
4442 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4443
4444         * elf/Makefile ($(objpfx)ld.so): Depend on version script.
4445         ($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig.
4446         ($(objpfx)rtldtbl.h): Likewise.
4447         (CPPFLAGS-dl-load.c): Fix reference to object directory.
4448
4449 1998-03-30 09:36  Ulrich Drepper  <drepper@cygnus.com>
4450
4451         * manual/string.texi (Finding Tokens in a String): Extend strsep
4452         description and correct example.
4453
4454 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4455
4456         * manual/socket.texi: Remove misguided explicit line breaks and
4457         fix the formatting problem instead by reformulating the
4458         paragraphs.
4459         * manual/filesys.texi: Likewise.
4460         * manual/conf.texi: Likewise.  Don't typeset table with index
4461         fonts, that looks worse than a minimally overfull line.
4462
4463 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4464
4465         * nscd/Makefile (nscd-modules): Move definition outside of
4466         conditional.
4467
4468         * pwd/Makefile: Use have-thread-library to test for thread
4469         library.
4470
4471 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4472
4473         * nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip.
4474
4475         * iconvdata/uhc.c (gconv): Remove unused variable idx.
4476
4477 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
4478
4479         * sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c.
4480
4481 1998-03-29  Ulrich Drepper  <drepper@cygnus.com>
4482
4483         * nss/getXXent_r.c: Correctly handle failing setXXent function.
4484
4485         * inet/netinet/in.h: Use cast to uint32_t in IPv4 macros.
4486         Reported by Andreas Jaeger.
4487
4488 1998-03-29 20:59  Ulrich Drepper  <drepper@cygnus.com>
4489
4490         * elf/Makefile: Fix typo.
4491         (distribute): Add dl-librecon.h.
4492         * elf/ldd.bash.in: Collect output of ldd --verify in verify_out.
4493         * elf/ldd.sh.in: Likewise.
4494         * elf/ldsodefs.h: Declare _dl_correct_cache_id.
4495         * elf/rtld.c (dl_main): In --verify mode allow platform specifc action.
4496         Use strsep correctly.
4497         (process_envvars): Allow platform specific variables.
4498         * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable.
4499         (_dl_load_cache_lookup): Test cache IDs found against
4500         _dl_correct_cache_id.
4501         * sysdeps/generic/dl-librecon.h: New file.
4502         * sysdeps/unix/sysv/linux/dl-librecon.h: New file.
4503
4504         * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h.
4505
4506 1998-03-29 16:50  Ulrich Drepper  <drepper@cygnus.com>
4507
4508         * config.make.in (ldd-rewrite-script): New variable.
4509         * configure.in: Substitute ldd-rewrite-script.
4510         * elf/Makefile: Rewrite rules to generate ldd script.
4511         * elf/ldd.bash.in: Allow handling of non-ELF binaries.
4512         * elf/ldd.sh.in: Likewise.
4513         * sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4.
4514         * sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to
4515         point to sed script for libc4 handling insertion for ix86, m68, SPARC.
4516         * sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4.
4517         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file.
4518
4519 1998-03-26 15:20  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4520
4521         * inet/rcmd.c (iruserok): Remain setuid to the local user
4522         while .rhosts is actually read, to make .rhosts-over-NFS work
4523         (PR libc/524).  Use iruserfopen() for security checks on both
4524         hosts.equiv and .rhosts.  General cleanup.
4525         (iruserfopen): New function, performs careful checking on
4526         hosts.equiv/.rhosts files.  Disallows all the old forbidden
4527         stuff plus hard links to files.
4528
4529 1998-03-29 09:26  Ulrich Drepper  <drepper@cygnus.com>
4530
4531         * setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead.
4532
4533         * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop.
4534
4535 1998-03-29 02:02  H.J. Lu  <hjl@gnu.org>
4536
4537         * sysdeps/i386/i486/bits/string.h: Fix typos.
4538
4539 1998-03-28 00:13  H.J. Lu  <hjl@gnu.org>
4540
4541         * sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New
4542         strong alias.
4543
4544         * sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added.
4545
4546         * libc.map (__ieee_get_fp_control, __ieee_set_fp_control):
4547         Added.  Used by libm.so on alpha.
4548
4549 1998-03-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4550
4551         * intl/bindtextdom.c [_LIBC]: Define strdup only if not yet
4552         defined.
4553
4554 1998-03-27 07:29  H.J. Lu  <hjl@gnu.org>
4555
4556         * Makerules (object-suffixes-for-rules): Add .oS only for
4557         building shared library.
4558         Add ranlib rule for nonshared library.
4559         (rmobjs): Fix typo.
4560
4561         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved
4562         into for shared library only.
4563         (CPPFLAGS-.oS): Add -DPIC.
4564         (libtypes): Use $(object-suffixes-for-rules) instead of
4565         $(object-suffixes).
4566
4567 1998-03-28  Ulrich Drepper  <drepper@cygnus.com>
4568
4569         * sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile
4570         and install lddlibc4.
4571
4572 1998-03-28 09:13  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4573
4574         * iconvdata/gap.pl: Gobble rest of line with a scalar, not a
4575         hash.
4576         * iconvdata/gaptab.pl: Likewise.
4577
4578 1998-03-27 22:46  Ulrich Drepper  <drepper@cygnus.com>
4579
4580         * Rules: Allow Makefiles to specify test-static for tests which
4581         cannot be linked dynamically.
4582         * math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to
4583         tests-static.
4584
4585         * libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next.
4586
4587         * misc/error.c: Pretty print.
4588
4589 1998-03-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4590
4591         * Makerules (libc_nonshared-name): Remove variable.
4592         (installed-libcs): Use libc-name instead.
4593         ($(inst_libdir)/libc.so): Likewise.  Remove explicit reference to
4594         dynamic linker.
4595
4596         * Makeconfig (link-libc): Link against libc_nonshared.a instead of
4597         libc.a.  Remove explicit reference to dynamic linker.
4598
4599 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
4600
4601         * iconvdata/iso8859-1.c (gconv): Add cast to assignment from char
4602         to wchar_t.
4603         * iconv/iconv_prog.c: Correctly test for write failure.
4604         * iconvdata/Makefile: Add rules for EUC-KR, UHC, and JOHAB conversions.
4605         * iconvdata/gconv-modules: Likewise.
4606         * iconvdata/euckr.c: New file.
4607         * iconvdata/johab.c: New file.
4608         * iconvdata/ksc5601.c: New file.
4609         * iconvdata/ksc5601.h: New file.
4610         * iconvdata/uhc.c: New file.
4611         Contributed by Jungshik Shin <jshin@pantheon.yale.edu>.
4612
4613         * libio/fileops.c (_IO_file_fopen): Interpret x flag to fopen.
4614         * stdio/fopen.c: Correct handling of 'x' flag.
4615         Reported by Jason M. Petry <jason@ps.ohio-state.edu>.
4616
4617 1998-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4618
4619         * sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident.
4620         * sunrpc/rpcsvc/key_prot.x: Likewise.
4621         * sunrpc/key_prot.c: Likewise.
4622
4623 1998-03-27 13:49  Ulrich Drepper  <drepper@cygnus.com>
4624
4625         * sysdeps/i386/bits/string.h: Correct things which never worked.
4626         * sysdeps/i386/i486/bits/string.h: Add clobber marks.
4627         Patches by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
4628
4629 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
4630
4631         * intl/textdomain.c [_LIBC]: Define strdup only if not yet
4632         defined.  Reported by Thorsten Kukuk.
4633
4634 1998-03-26 18:50  Ulrich Drepper  <drepper@cygnus.com>
4635
4636         * sysdeps/unix/sysv/linux/lddlibc4.c: New file.
4637
4638 1998-03-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4639
4640         * manual/install.texi (Supported Configurations): Add
4641         arm-linuxaout and arm-none.
4642
4643 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
4644
4645         * version.h (VERSION): Bump to 2.0.93.
4646
4647 1998-03-25 07:30  H.J. Lu  <hjl@gnu.org>
4648
4649         * configure.in (libc_cv_ar_S): New to indicate if ar S works.
4650
4651         * config.make.in (have-ar-S): New, substituted by libc_cv_ar_S.
4652
4653         * Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S).
4654         (do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR).
4655
4656 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
4657
4658         * Makeconfig (link-libc): Add missing use of libc_nonshared.a.
4659
4660 1998-03-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4661
4662         Put the static-only routines in a separate library.
4663         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New
4664         variables.
4665         (all-object-suffixes): Add .oS.
4666         * Makerules (libc_static-name): New variable.
4667         (installed-libcs): Add libc_nonshared.a.
4668         ($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a.
4669         (object-suffixes-for-rules): New variable.  Use it instead of
4670         object-suffixes for generating compilation rules.
4671         (rmobjs): Also remove *.oS.
4672         * Rules (subdir_lib): Depend on $(objpfx)stamp.oS.
4673         ($(objpfx)stamp.oS): New target.
4674
4675 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
4676
4677         * Makefile (FAQ): Automatically check in regenerated FAQ.
4678
4679 1998-03-26 10:16  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4680
4681         * Makefile (INSTALL): Depend on install.texi, not maint.texi.
4682
4683 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
4684
4685         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h.
4686         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
4687
4688         * sysdeps/generic/stub_warning: Removed.
4689
4690         * Makefile (distribute): Add include/des.h.
4691
4692         * manual/Makefile (distribute): Change dir-add.texi to
4693         dir-add.texinfo.
4694
4695         * glibcbug.in: Create files safely when mktemp is not available.
4696
4697         * sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again.
4698         Patch by a sun <asun@saul1.u.washington.edu>.
4699
4700 1998-03-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4701
4702         * libc.map: Rename getname to getnetname.
4703
4704 1998-03-25 13:35  Ulrich Drepper  <drepper@cygnus.com>
4705
4706         * manual/maint.texi: Use supported platform in examples.
4707
4708         * manual/install.texi: Document some installation tips.
4709
4710 1998-03-25 10:56  Ulrich Drepper  <drepper@cygnus.com>
4711
4712         * posix/wordexp.c: Fix some memory leaks and makes $* more efficient.
4713         Fix a bug so that it returns an error if a numeric parameter is
4714         unset and WRDE_UNDEF is set.
4715         Patch by Andreas Schwab and Tim Waugh.
4716         * posix/wordexp-test.c: Add new new test.
4717
4718 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
4719
4720         * posix/regex.c (regex_compile): Last patch wasn't entirely
4721         correct.  Patch by Alain Magloire <alainm@rcsm.ece.mcgill.ca>.
4722
4723 1998-03-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4724
4725         * manual/filesys.texi (Scanning Directory Content): Fix typo.
4726
4727 1998-03-25 09:24  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
4728
4729         * sysdeps/i386/bits/string.h: Fix all assembler statements so that
4730         clobbered registers don't appear as operands.
4731
4732 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
4733
4734         * posix/regex.c: Undefine ISASCII and ISPRINT before defining for
4735         Solaris' sake.
4736
4737         * posix/regex.c (regex_compile): Don't allow non-alphabet
4738         characters in character set name.
4739
4740 1998-03-25 00:00  Tim Waugh  <tim@cyberelk.demon.co.uk>
4741
4742         * posix/wordexp.c (w_newword): New function.
4743         (do_parse_glob): New function.
4744         (parse_glob): Use do_parse_glob.  Now handles the case where a
4745         variable expansion causes a field-split.
4746         (wordexp): Use w_newword.
4747         (parse_arith): Likewise.
4748         (exec_comm): Likewise.
4749         (parse_comm): Likewise.
4750         (parse_param): Likewise.
4751         (parse_backtick): Likewise.
4752
4753 1998-03-24 19:36  Tim Waugh  <tim@cyberelk.demon.co.uk>
4754
4755         * posix/wordexp-tst.sh: Another test.
4756
4757         * posix/wordexp-test.c: Two new tests.
4758
4759         * posix/wordexp.c (parse_glob): Use w_addstr instead of realloc
4760         directly (the code using realloc was buggy).
4761         (parse_param): Fix typo in comment.
4762
4763 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
4764
4765         * elf/dl-close.c (_dl_close): Replace questionable memcpy by loop.
4766
4767 1998-03-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4768
4769         * libc.map: Add more rpc auth functions/variables.
4770
4771         * nscd/nscd.c: Add -g option to argp options.
4772
4773 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
4774
4775         * configure.in: Be prepared for gcc 2.9.10 and up.
4776         * configure.in: Add missing disabling of quote characters in
4777         compiler version check.  Reported by HJ Lu.
4778
4779 1998-03-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4780
4781         * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h.
4782
4783 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
4784
4785         * intl/locale.alias: Fix spelling of romanian.
4786
4787         * sunrpc/Makefile (headers): Add rpc/rpc_des.h.
4788         (distribute): Remove des.h.
4789         * include/des.h: New file.
4790         * sunrpc/des.h: Moved to ...
4791         * sunrpc/rpc/rpc_des.h: ...here.
4792
4793 1998-03-22  NIIBE Yutaka  <gniibe@mri.co.jp>
4794
4795         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK):
4796         Fix paren.
4797
4798 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
4799
4800         * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
4801         parameter const.  Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
4802
4803 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
4804
4805         * elf/ldsodesf.h: New file.
4806         * elf/Makefile (distribute): Add ldsodefs.h.
4807         * elf/link.h: Separate internal information in exter header.
4808         * elf/rtld.c: Include elf/ldsodefs.h not link.h.
4809         * elf/dl-minimal.c: Likewise.
4810         * sysdeps/generic/dl-sysdep.c: Likewise.
4811         * elf/sprof.c: Likewise.
4812         * elf/dlsym.c: Likewise.
4813         * elf/dlvsym.c: Likewise.
4814         * elf/dlerror.c: Likewise.
4815         * elf/dladdr.c: Likewise.
4816         * elf/dlclose.c: Likewise.
4817         * elf/dlopen.c: Likewise.
4818         * elf/dl-addr.c: Likewise.
4819         * elf/dl-close.c: Likewise.
4820         * elf/dl-debug.c: Likewise.
4821         * elf/dl-deps.c: Likewise.
4822         * elf/dl-error.c: Likewise.
4823         * elf/dl-fini.c: Likewise.
4824         * elf/dl-init.c: Likewise.
4825         * elf/dl-load.c: Likewise.
4826         * elf/dl-lookup.c: Likewise.
4827         * elf/dl-object.c: Likewise.
4828         * elf/dl-open.c: Likewise.
4829         * elf/dl-profile.c: Likewise.
4830         * elf/dl-reloc.c: Likewise.
4831         * elf/dl-runtime.c: Likewise.
4832         * elf/dl-support.c: Likewise.
4833         * elf/dl-symbol.c: Likewise.
4834         * elf/dl-version.c: Likewise.
4835         * sysdeps/generic/dl-cache.c: Likewise.
4836         * sysdeps/generic/libc-start.c: Likewise.
4837         * iconv/gconv_dl.c: Likewise.
4838         * nss/nsswitch.c: Likewise.
4839
4840 1998-03-23 13:45  Ulrich Drepper  <drepper@cygnus.com>
4841
4842         * manual/nss.texi: The database is not called network but networks.
4843         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
4844
4845 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4846
4847         * configure.in: Correct test for compiler version.
4848         Check that LD_LIBRARY_PATH doesn't contain current path.
4849
4850 1998-03-23 07:52  H.J. Lu  <hjl@gnu.org>
4851
4852         * elf/dl-close.c (_dl_close): Fix byte count while removing
4853         the shared object from the global scope list and optimize
4854         a little bit.
4855
4856 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4857
4858         * manual/filesys.texi (Scanning Directory Content): Add missing
4859         closing brace.
4860         (Scanning Directory Content): Fix text.
4861
4862 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4863
4864         * manual/memory.texi (Heap Consistency Checking): Add paragraph
4865         explaining difference of -lmcheck and MALLOC_CHECK_.
4866
4867 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4868
4869         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some
4870         typos in comments.
4871
4872 1998-03-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4873
4874         * test-skeleton.c (main): Fix test for exit signal.
4875
4876 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4877
4878         * sysdeps/generic/strtok_r.c: Undefine __strtok_r.
4879
4880 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4881
4882         * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as
4883         appropriate.
4884
4885 1998-03-23 11:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4886
4887         * libc.map: Export __strtok_r.
4888
4889 1998-03-23  Ulrich Drepper  <drepper@cygnus.com>
4890
4891         * posix/regex.c (re_compile_fastmap): Remove unused variable
4892         num_regs and adjust comment.
4893         Patch by Jim Meyering <meyering@ascend.com>.
4894
4895         * math/math.h (M_*l): Extend long double constants to be usable
4896         for 128 bit floats.  Patch by Richard Henderson.
4897
4898 1998-03-23 11:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4899
4900         * sysdeps/m68k/m68020/wordcopy.S: New file.
4901
4902 1998-03-22  Ulrich Drepper  <drepper@cygnus.com>
4903
4904         * posix/wordexp.c: Rewrite parse_param.
4905         Patch by Tim Waugh and Andreas Schwab.
4906
4907 1998-03-21 23:46  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4908
4909         * Rules: Update timestamps on empty object files.
4910
4911 1998-03-21 09:15  Ulrich Drepper  <drepper@cygnus.com>
4912
4913         * manual/filesys.texi (Scanning Directory Content): Add description
4914         of 64 bits scandir function and friends.
4915
4916 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
4917
4918         * glibcbug.in: Use mktemp to generate unique file name for
4919         temporary files.
4920
4921         * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not
4922         ptsname_r.  Use cast for execve call.
4923
4924 1998-03-20 16:24  Ulrich Drepper  <drepper@cygnus.com>
4925
4926         * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64.
4927         * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h.
4928         * io/sys/statvfs.h: New file.
4929         * sysdeps/generic/fstatvfs.h: New file.
4930         * sysdeps/generic/statvfs.h: New file.
4931         * sysdeps/generic/fstatvfs64.h: New file.
4932         * sysdeps/generic/statvfs64.h: New file.
4933         * sysdeps/generic/bits/statvfs.h: New file.
4934         * sysdeps/unix/sysv/linux/fstatvfs.c: New file.
4935         * sysdeps/unix/sysv/linux/statvfs.c: New file.
4936         * sysdeps/unix/sysv/linux/bits/statvfs.h: New file.
4937
4938         * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files
4939         and f_ffree elements.
4940
4941         * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print.  Define
4942         mount options in enum.
4943
4944 1998-03-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4945
4946         * configure.in: Check for recent egcs/gcc.
4947
4948 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
4949
4950         * libc.map: Add alphasort64, scandir64, versionsort64.
4951         * dirent/Makefile (routines): Add scandir64, alphasort64, and
4952         versionsort64.
4953         * dirent/alphasort64.c: New file.
4954         * dirent/scandir64.c: New file.
4955         * dirent/versionsort64.c: New file.
4956         * dirent/dirent.h: Add LFS support for scandir, alphasort, and
4957         versionsort.
4958         * sysdeps/generic/readdir64.c: Rename to __readdir64 and make
4959         old name weak alias.
4960         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
4961
4962         * dirent/alphasort.c: Use strcoll instead of strcmp.
4963
4964         * dirent/scandir.c: Optimize a bit.
4965
4966         * dirent/versionsort.c: Pretty print.
4967
4968 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
4969
4970         * string/string.h: Add prototype for __strtok_r.
4971
4972 1998-03-20 12:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4973
4974         * posix/Makefile: Fix typo in last change.
4975
4976 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
4977
4978         * dirent/dirent.h (scandir): Make argument of select function const.
4979         * dirent/scandir.c (scandir): Likewise.
4980         Reported by David.Faure@insa-lyon.fr [PR libc/512].
4981
4982 1998-03-19 14:28  Ulrich Drepper  <drepper@cygnus.com>
4983
4984         * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
4985         weak alias.
4986         * sysdeps/i386/strtok_r.c: Likewise.
4987
4988         * sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
4989         * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
4990         * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
4991         * sysdeps/libm-i387/i686/s_fmin.S: Likewise.
4992         * sysdeps/libm-i387/i686/s_fminf.S: Likewise.
4993         * sysdeps/libm-i387/i686/s_fminl.S: Likewise.
4994
4995 1998-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4996
4997         * intl/localealias.c: Remove unneeded define for strdup.
4998
4999 1998-03-19 13:45  Ulrich Drepper  <drepper@cygnus.com>
5000
5001         * manual/argp.texi: Adjust for better TeX output.
5002         * manual/arith.texi: Likewise.
5003         * manual/conf.texi: Likewise.
5004         * manual/filesys.texi: Likewise.
5005         * manual/header.texi: Likewise.
5006         * manual/lgpl.texinfo: Likewise.
5007         * manual/math.texi: Likewise.
5008         * manual/message.texi: Likewise.
5009         * manual/pattern.texi: Likewise.
5010         * manual/process.texi: Likewise.
5011         * manual/signal.texi: Likewise.
5012         * manual/socket.texi: Likewise.
5013         * manual/startup.texi: Likewise.
5014         * manual/stdio.texi: Likewise.
5015         * manual/terminal.texi: Likewise.
5016         * manual/examples/rprintf.c: Likewise.
5017         * manual/examples/testopt.c: Likewise.
5018         Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.
5019
5020 1998-03-19 20:45  Tim Waugh  <tim@cyberelk.demon.co.uk>
5021
5022         * posix/wordexp.c (parse_param): Don't immediately stop parsing a
5023         parameter name after seeing a digit if it's enclosed in braces.
5024
5025 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
5026
5027         * sysdeps/i386/i686/Implies: Add libm-i387/i686.
5028
5029 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5030
5031         * manual/memory.texi (Heap Consistency Checking): Document
5032         MALLOC_CHECK_.  Based on a text by Wolfram Gloger.
5033
5034 1998-03-18 17:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5035
5036         * manual/Makefile: Add missing rules.
5037
5038 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
5039
5040         * timezone/Makefile (generated): Define to remove all stamp files.
5041
5042         * sysdeps/generic/strsep.c: Also undefine __strsep.
5043
5044         * string/strdup.c: Undefine __strdup and strdup first.
5045         * string/strndup.c: Likewise.
5046
5047         * string/bits/string2.h: Correct strtok_r and strsep.
5048         Add strndup optimization.
5049
5050         * sysdeps/generic/strsep.c: Little optimization.
5051
5052 1998-03-18 14:25  Ulrich Drepper  <drepper@cygnus.com>
5053
5054         * string/bits/string2.h: Add optimization for strdup.
5055         Always define __strsep and __strtok_r and make real names available
5056         when feature select macros are defined.
5057
5058 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5059
5060         * manual/install.texi (Installation): Use i486-linux as example
5061         instead of the unsupported sunos4.
5062         (Reporting Bugs): Mention glibcbug script.
5063         (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.
5064
5065 1998-03-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5066
5067         * posix/wordexp-tst.sh: Make portable.  Add more tests.
5068
5069         * posix/Makefile (do-globtest do-wordexp-test): New targets.
5070
5071 1998-03-18 13:38  Ulrich Drepper  <drepper@cygnus.com>
5072
5073         * sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
5074         * sysdeps/generic/libc-start.c: ...here, replacing former content.
5075
5076         * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
5077         netpacket/packet.h.
5078
5079         * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.
5080
5081 1998-03-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5082
5083         * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
5084         in enumerator for strict standard compliance.
5085         * sysdeps/generic/bits/resource.h: Likewise.
5086
5087 1998-03-18 10:04  Philip Blundell  <pb@nexus.co.uk>
5088
5089         * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
5090         (PLTJMP): New macro.
5091
5092         * sysdeps/arm/fpu/__longjmp.S: New file, implementation of
5093         longjmp() when floating point enabled.
5094         * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
5095         * sysdeps/arm/__longjmp.S: Remove floating point code.
5096         * sysdeps/arm/setjmp.S: Likewise.
5097
5098         * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
5099         * sysdeps/arm/bsd-_setjmp.S: Likewise.
5100
5101         * sysdeps/arm/memset.S: New file; optimised ARM implementation of
5102         memset().
5103
5104         * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
5105         prototype.
5106
5107 1998-03-17 16:16  Philip Blundell  <pb@nexus.co.uk>
5108
5109         Based on patches from Pat Beirne and Scott Bambrough:
5110
5111         * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.
5112
5113         * sysdeps/arm/bits/fenv.h: New file.
5114
5115         * sysdeps/arm/dl-machine.h: New file.  Add ELF support.
5116         * sysdeps/arm/elf/setjmp.S: Likewise.
5117         * sysdeps/arm/elf/start.S: Likewise.
5118         * sysdeps/arm/init-first.c: Likewise.
5119         * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
5120         * sysdeps/arm/sysdep.h: Change format of .type directive.  Correct
5121         comment about floating point to reflect current reality.
5122
5123         * sysdeps/unix/arm/brk.S: Support PIC.
5124         * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
5125         re-entrant code.
5126         * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
5127         return; call syscall_error through PLT.
5128         * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.
5129
5130 1998-03-04 12:01  Philip Blundell  <pb@nexus.co.uk>
5131
5132         * sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
5133         * sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
5134         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.
5135
5136 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
5137
5138         * dirent/list.c (test): Return error value.
5139         (main): Exit with error value.
5140
5141         * sysdeps/unix/opendir.c (__opendir): Add missing initialization.
5142
5143         * Makefile (distribute): Add test-skeleton.c.
5144         * test-skeleton.c: New file.
5145         * dirent/Makefile (tests): Add opendir-tst1.
5146         * dirent/opendir-tst1.c: New file.
5147
5148 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
5149
5150         * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
5151         Optimize memory handling.
5152         * sysdeps/unix/closedir.c: Optmize memory handling.
5153
5154 1998-03-17  Ulrich Drepper  <drepper@cygnus.com>
5155
5156         * posix/wordexp.c (parse_param): Fix off-by-on error in $@
5157         handling.  Optimize a bit.
5158
5159 1998-03-18 00:25  Tim Waugh  <tim@cyberelk.demon.co.uk>
5160
5161         * posix/wordexp.c (parse_comm): Allow quoting inside $(...).
5162         (parse_param): Fold in Andreas' fixes to do with when the end of
5163         the parameter name has been reached, and quoting inside ${...}.
5164         (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
5165         $((echo);(ls)).
5166
5167 1998-03-16 22:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5168
5169         * manual/maint.texi: Split out installation and contribution
5170         sections to their own appendices.  Misc cleanups.
5171         * manual/install.texi: New file.  Mention add-ons.  Refer to FAQ.
5172         * manual/contrib.texi: New file.
5173         * manual/libc.texinfo: Pull in new appendices.
5174         * manual/header.texi: Correct node pointer.
5175
5176 1998-03-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5177
5178         * manual/process.texi (Process Completion): Clarify return value
5179         of waitpid a bit.  Patch by Zack Weinberg. [PR libc/490]
5180
5181 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5182
5183         * posix/wordexp-test.c: Add more tests.
5184         (testit): Fix logic.
5185
5186         * posix/wordexp.c (exec_comm): In the child, redirect stderr to
5187         /dev/null instead of closing it, close pipe.  Always chop off all
5188         trailing newlines.  Kill and reap child before returning error.
5189         (w_addword, parse_glob): Fix memory leak.
5190         (wordexp): Fix dangling pointer problem.
5191
5192 1998-03-16  Ulrich Drepper  <drepper@cygnus.com>
5193
5194         * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
5195
5196         * posix/wordexp-test.c (main): Fix little thinkos and typos.
5197
5198         * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
5199         directory index by only the language.
5200
5201 1998-03-16 13:02  Tim Waugh  <tim@cyberelk.demon.co.uk>
5202
5203         * posix/wordexp-tst.sh: Store test results in the
5204         ${common_objpfx}posix directory.
5205
5206         * posix/wordexp-test.c: Remove temporary directory afterwards.
5207
5208 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5209
5210         * libc.map: Export internal versions of cancelable functions.
5211
5212 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5213
5214         * Makerules (MAKEFLAGS): Append `r'.
5215
5216 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5217
5218         * Makeconfig: Define have-thread-library, shared-thread-library
5219         and static-thread-library if a thread library is available.  Don't
5220         define rt.
5221         * nscd/Makefile: Compile nscd if have-thread-library.  Rename
5222         nscd-routines to nscd-modules.  Use shared-thread-library and
5223         static-thread-library in dependencies.
5224         * rt/Makefile: Only compile librt if have-thread-library is
5225         defined.
5226         * Makefile (subdirs): Always include rt subdir.
5227
5228 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5229
5230         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
5231
5232 1998-03-14 21:55  Ulrich Drepper  <drepper@cygnus.com>
5233
5234         * configure.in: Recognize variations for 32 MIPS processors.
5235         Don't assume ELF systems always have .weak, test for .weakext.
5236
5237 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
5238
5239         * configure.in: Irix6 is an ELF platform.
5240
5241 1998-03-14 11:47  H.J. Lu  <hjl@gnu.org>
5242
5243         * elf/dl-close.c (_dl_close): Stop unmapping the segments after
5244         unmapping the last loaded segment.
5245
5246 1998-03-14 15:54  Ulrich Drepper  <drepper@cygnus.com>
5247
5248         * configure.in: Set base_os for Irix6.
5249         Correct test for .weakext.
5250
5251 1998-03-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5252
5253         * elf/dl-deps.c (_dl_map_object_deps): Add first parameter
5254         (new_line) to _dl_debug_message call.
5255
5256 1998-03-14 00:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
5257
5258         * posix/wordexp.c (parse_param): Perform field-splitting after
5259         expanding positional parameter.
5260
5261         * posix/wordexp-tst.sh: Test that field-splitting is performed
5262         after expanding positional parameter.
5263
5264         * posix/wordexp.c (parse_param): Fixed memory leak in
5265         field-splitting after parameter expansion.
5266
5267 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
5268
5269         * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
5270         (get_toplvl_escape): Correctly terminate loop at EOF.
5271         Patch by Cristian Gafton <gafton@redhat.com>.
5272
5273 1998-03-13 16:55  Ulrich Drepper  <drepper@cygnus.com>
5274
5275         * string/tester.c (test_strpbrk): Add more strpbrk tests.
5276         (test_strsep): Likewise.  Correct horrible bugs.
5277
5278         * string/bits/string2.h (strcspn): Optimize also reject string of
5279         length 2 and 3.
5280         (strspn): Likewise.
5281         (strpbrk): Likewise.
5282         (strsep): Likewise.  Correct bug with successive separators and
5283         separators at the end of the string.
5284         * sysdeps/generic/strsep.c: Correct bug with successive separators
5285         and separators at the end of the string.
5286
5287 1998-03-13 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
5288
5289         * posix/wordexp.c (parse_param): Positional parameters ($1, $2
5290         etc) now handled, as well as $$ (pid).
5291
5292         * posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
5293         (distribute): Add wordexp-tst.sh.
5294
5295         * posix/wordexp-tst.sh: New file.
5296
5297         * posix/wordexp.c (parse_param): $# (or ${#}) expands to the
5298         number of positional parameters.  Renamed substitute_length to
5299         seen_hash.
5300         Don't free(env) is env is NULL.
5301
5302 1998-03-13 16:50  Ulrich Drepper  <drepper@cygnus.com>
5303
5304         * libc.map: Add pthread_attr_init to GLIBC_2.1.
5305
5306 1998-03-13 15:01  Ulrich Drepper  <drepper@cygnus.com>
5307
5308         * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
5309         for output file replacing gmon.out.
5310         Patch by Dean Gaudet <dgaudet@arctic.org>.
5311
5312 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5313
5314         * elf/dl-misc.c (_dl_debug_message): Fix printing of pid.  Clean
5315         up namespace.  Optimize finding end of line.
5316
5317 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5318
5319         * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
5320         securely.  Optimized.
5321         (process_dl_debug): Add ':' to list of separators.  Optimized.
5322
5323 1998-03-13 10:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5324
5325         * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
5326         isless, islessequal, islessgreater, isunordered): Return zero or
5327         one.
5328
5329 1998-03-12 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
5330
5331         * posix/wordexp-test.c: More tests.
5332         (main): Set up arena for pathname expansion tests (in a temporary
5333         directory).
5334         (testit): Don't check word count or word vector if return value is
5335         non-zero.
5336
5337         * posix/wordexp.c (exec_comm): Always chop off terminating
5338         linefeed (just like bash does).
5339         (parse_param): Change lots of occurrences of "if (!*env)" to "if
5340         (!env || !*env)".
5341         (parse_param): For assignment inside parameter expansion, use all
5342         expanded words in assignment rather than just the first.
5343         (parse_param): Corrected return value for parameter expansion of
5344         an unset variable when WRDE_UNDEF is in effect.
5345         (parse_dollars): Don't field-split if quoted.
5346         (wordexp): Opening brace character isn't allowed unquoted.
5347
5348 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
5349
5350         * elf/dlerror.c: Fix concurrency problems with error string and
5351         number.
5352
5353         * elf/dl-deps.c (_dl_map_object_deps): Print debug info when
5354         filter/auxiliary are being loaded.
5355
5356 1998-03-12 14:24  Ulrich Drepper  <drepper@cygnus.com>
5357
5358         * elf/dlerror.c (last_object_name): Removed.
5359         (dlerror): Don't use last_object_name.
5360         (_dl_error_run): Omit second argument to _dl_catch_error.
5361         * elf/dl-error.c (struct catch): Remove objname member.
5362         (_dl_signal_error): Construct string including objname when given.
5363         (_dl_catch_error): Remove objname handling.
5364         * elf/link.h (_dl_catch_error): Fix prototype and comment.
5365         * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
5366         * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
5367         * nss/nsswitch.c (nss_dlerror_run): Likewise.
5368         * iconv/gconv_dl.c (dlerror_run): Likewise.
5369         [Corrects PR libc/501].
5370
5371 1998-03-12  Matthias Urlichs <smurf@noris.de>
5372
5373         * nscd/nscd.c: Ignore SIGPIPE.
5374
5375 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
5376
5377         * nscd/nscd_getgr_r.c: Use __ protected names.
5378         * nscd/nscd_getpw_r.c: Likewise.
5379
5380 1998-03-12  Matthias Urlichs <smurf@noris.de>
5381
5382         * nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
5383         * nscd/nscd_getpw_r.c: Fix length calculation in result check,
5384         null bytes are not transmitted.
5385
5386 1998-03-12 00:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5387
5388         * powerpc/syscalls.list: Correct typo.
5389         * alpha/syscalls.list: Likewise.
5390         * mips/syscalls.list: Likewise.
5391
5392 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
5393
5394         * socket/sys/socket.h: Add prototype for __socket.
5395
5396 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
5397
5398         * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
5399
5400         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
5401         constants.
5402
5403         * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
5404         definition here.
5405         * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
5406         definition here.
5407
5408         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
5409         AF_* and PF_* constants.
5410
5411         * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
5412
5413 1998-03-11 15:27  Ulrich Drepper  <drepper@cygnus.com>
5414
5415         * elf/rtld.c: Update help message.
5416         Install link maps for preloaded objects using main_map as loader.
5417
5418         * elf/dl-misc.c: Use __libc_write instead of __write for debugging.
5419         * elf/dl-profile.c: Likewise.
5420
5421         * elf/dlsym.c: Little optimization.
5422         * elf/dlvsym.c: Likewise.
5423
5424 1998-03-11 14:56  Ulrich Drepper  <drepper@cygnus.com>
5425
5426         * posix/wordexp-test.c: Move test for parameter list at the very
5427         beginning.
5428
5429 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
5430
5431         * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
5432         WRDE_REUSE flag is set.
5433         (parse_param): Allow `*', `@', and numbers in parameter names.
5434         (parse_dollars): Differentiate between arithmetic expansion and a
5435         command substitution that starts immediately with a sub-shell
5436         (like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
5437         (parse_param): Memory allocated with __alloca in a block was
5438         referenced outside that block.  Adjusted to use malloc/free.
5439         (parse_param): Adjusted field-splitting algorithm so that there is
5440         not necessarily a field split at the end of a parameter expansion.
5441
5442 1998-03-10 19:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
5443
5444         * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
5445         don't free words that have already been allocated.
5446         (parse_param): A dollar sign on its own will never have a pattern
5447         associated with it (like "${HOME%%/}" has), so don't try to free it.
5448         (parse_glob): Attempt to glob when an unquoted `[' is found
5449         (rather than an unquoted '{' (!)).  Also for unquoted '?'.
5450         (parse_glob): Sorted out quoting in a glob-able word.
5451         (parse_param): Added $* and $@ handling.
5452
5453 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
5454
5455         * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
5456         parsing it.
5457
5458 1998-03-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5459
5460         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
5461         _dl_debug_message.
5462
5463 1998-03-12  Matthias Urlichs  <smurf@noris.de>
5464
5465         * elf/dl-misc.c: Default for debug output should be stderr.
5466         * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
5467         * elf/dl-lookup.c: reference_name may be NULL or empty.
5468
5469 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5470
5471         * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
5472
5473 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
5474
5475         * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
5476
5477         * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
5478
5479 1998-03-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5480
5481         * sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
5482         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
5483
5484 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5485
5486         * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
5487         init stuff.
5488
5489 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
5490
5491         * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
5492         flag.
5493
5494         * misc/syslog.c (vsyslog): Don't try to send if not connected to
5495         syslog daemon.
5496         (closelog_internal): Don't do anything if not connected.
5497
5498 1998-03-10 17:54  Ulrich Drepper  <drepper@cygnus.com>
5499
5500         * libc.map: Add _dl_debug_message.
5501         * elf/dl-misc.c: Make _dl_debug_message a function.  Print the PID
5502         before every line.
5503         * elf/fini.c: Correctly use new _dl_debug_message function.
5504         * elf/init.c: Likewise.
5505         * elf/dl-lookup.c: Likewise.
5506         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
5507         * elf/dl-load.c: Likewise.  Add more debugging prints.
5508         * elf/dl-reloc.c: Likewise.
5509         * elf/dl-version.c: Likewise.
5510         * elf/dl-support.c: Add variables for debugging.
5511         * elf/rtld.c: Likewise.  Recognize new debug options.
5512         * elf/link.h: Declare new variables.
5513
5514         * elf/dl-deps.c (_dl_map_object_deps): Little optimizations.
5515
5516 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
5517
5518         * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
5519         kernel headers.  Patch by a sun <asun@saul7.u.washington.edu>.
5520
5521 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
5522
5523         * posix/wordexp-test.c (command_line_test): New function to allow
5524         testing of specific cases from the command-line.
5525
5526 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
5527
5528         * elf/dl-init.c (_dl_init_next): Print nicer messages.
5529         * elf/dl-fini.c (_dl_fini): Likewise.
5530         * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.
5531
5532         * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
5533         symbol in debug message.
5534         (_dl_lookup_versioned_symbol_skip): Likewise.
5535
5536 1998-03-10 19:43  Matthias Urlichs <urlichs@noris.de>
5537
5538         * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
5539         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
5540         * manual/filesys/texi: Document this.
5541
5542 1998-03-10 10:49  Ulrich Drepper  <drepper@cygnus.com>
5543
5544         * manual/filesys.texi: Document the change below.
5545
5546 1998-03-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5547
5548         * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
5549         Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
5550
5551 1998-03-10 00:10  Ulrich Drepper  <drepper@cygnus.com>
5552
5553         * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
5554         instead scope.  If debugging display information about symbol
5555         resolving.
5556         (_dl_lookup_symbol): Call do_lookup with correct parameters.
5557         (_dl_lookup_symbol_skip): Likewise.
5558         (_dl_lookup_versioned_symbol): Likewise.
5559         (_dl_lookup_versioned_symbol_skip): Likewise.
5560         * elf/dl-support.c: Define _dl_debug_symbols.
5561         * elf/link.h: Add declaration for _dl_debug_symbols.
5562         * elf/rtld.c: Define _dl_debug_symbols.
5563         (process_dl_debug): Recognize symbols option.
5564
5565 1998-03-09 23:36  Ulrich Drepper  <drepper@cygnus.com>
5566
5567         * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
5568         in correct format.
5569         * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
5570         with correct parameters.
5571         [!PIC]: Initialize __libc_multiple_libcs.
5572
5573 1998-03-09 18:21  Ulrich Drepper  <drepper@cygnus.com>
5574
5575         * elf/dl-support.c (_dl_debug_bindings): Add definition.
5576         * elf/rtld.c (_dl_debug_bindings): Add definition.
5577         (process_dl_debug): Recognize bindings option.  Update help message.
5578         * elf/link.h (struct link_map): Add l_versyms member.
5579         (_dl_debug_bindings): Add declaration.
5580         * elf/version.c (_dl_check_map_versions): Initialize l_versyms.
5581         * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
5582         and l_reloc_result.
5583         * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
5584         (sym_val): Remove a member, add m as link_map.
5585         (do_lookup): Return result appropriately.
5586         (_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
5587         Call do_lookup correctly.
5588         (_dl_lookup_symbol_skip): Likewise.
5589         (_dl_lookup_versioned_symbol): Likewise.
5590         (_dl_lookup_versioned_symbol_skip): Likewise.
5591
5592 1998-03-09 08:21  Ulrich Drepper  <drepper@cygnus.com>
5593
5594         * sysdeps/unix/sysv/linux/chown.c: Moved to ...
5595         * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
5596
5597         * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
5598         * libc.map: Add chown to GLIBC_2.1.
5599         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
5600         * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
5601
5602 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5603
5604         * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
5605         weak alias.
5606         * sysdeps/alpha/ffs.c: Likewise.
5607         * sysdeps/am29k/ffs.c: Likewise.
5608         * sysdeps/i386/ffs.c: Likewise.
5609         * sysdeps/i960/ffs.c: Likewise.
5610         * sysdeps/m68k/ffs.c: Likewise.
5611         * sysdeps/m88k/ffs.c: Likewise.
5612         * sysdeps/powerpc/ffs.c: Likewise.
5613         * sysdeps/rs6000/ffs.c: Likewise.
5614         * sysdeps/vax/ffs.s: Likewise.
5615         * string/string.h: Declare __ffs.
5616         * libc.map: Export it.
5617         * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
5618         __builtin_ffs, which is not guaranteed to be namespace clean.
5619
5620 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5621
5622         * elf/sprof.c: Rewrite symbol handling to use the normal symbol
5623         table, which is much more likely to exist than debugging symbols.
5624         (printsym): Remove const.
5625         (load_shobj): Don't use _dl_pagesize.  Fix mapping of section
5626         header table.
5627
5628         * libc.map: Export __profile_frequency, used by elf/sprof, to
5629         avoid infinite recursion during startup.
5630
5631 1998-03-09 12:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5632
5633         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
5634         Readd lost negate.
5635
5636         * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
5637
5638 1998-03-09  Ulrich Drepper  <drepper@cygnus.com>
5639
5640         * elf/dl-support.c: Add definition of _dl_debug_impcalls.
5641
5642 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
5643
5644         * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
5645         LD_PRELOAD, and LD_VERBOSE.
5646         (dl_main): Use global variables set by process_envvars instead of
5647         calling getenv.
5648         * elf/dl-load.c (_dl_init_paths): Don't call getenv to get
5649         LD_LIBRARY_PATH value, this comes with the parameter.
5650         * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
5651         ("LD_LIBRARY_PATH") to _dl_init_paths.
5652
5653 1998-03-08 22:55  Ulrich Drepper  <drepper@cygnus.com>
5654
5655         * elf/rtld.c (dl_main): Delay initialization of path structure if
5656         the dynamically linker is invoked implicitly until we read the
5657         dynamic section.
5658
5659 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
5660
5661         * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
5662
5663 1998-03-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5664
5665         * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
5666         Linux 2.0 and 2.1.
5667
5668         * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
5669
5670 1998-03-08 14:58  Ulrich Drepper  <drepper@cygnus.com>
5671
5672         * Makeconfig (nisobjdir): Set to path to nis directory.
5673         (rpath-link): Add nisobjdir.
5674         Patch by Sven Verdoolaege <skimo@kotnet.org>.
5675
5676         * elf/Makefile: Pretty print.
5677         * elf/dl-lookup.c: Include unistd.h.
5678         * elf/dl-runtime.c: Likewise.
5679
5680         * localedata/Makefile (test-srcs): Add tst-rpmatch.
5681         (distribute): Add tst-rpmatch.sh.
5682         (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
5683
5684         New tests for rpmatch function by
5685         Jochen Hein <jochen.hein@delphi.central.de>.
5686         * localedata/tst-rpmatch.c: New file.
5687         * localedata/tst-rpmatch.sh: New file.
5688
5689         * localedata/locales/de_DE: Correct yesexpr and noexpr.
5690         * localedata/locales/de_AT: Likewise.
5691
5692         * posix/getopt.c: Update contact address.
5693         * posix/getopt1.c: Pretty print.
5694
5695         * sysdeps/generic/libc-start.c: Do most of the initialization now
5696         here instead of in start.S.
5697         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
5698         * sysdeps/i386/elf/start.S: Remove most of the initialization code.
5699
5700         * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
5701         profil_counter to be public.
5702
5703 1998-03-08 13:06  Tim Waugh  <tim@cyberelk.demon.co.uk>
5704
5705         * posix/wordexp.c (parse_arith): Now works for negative numbers too.
5706         (parse_param): Coded parameter length expansion (${#var}).
5707         (parse_param): Handling for "=", "+", "-", and the ":" versions added.
5708         (parse_param): Cleaned up (fixed) error handling.
5709
5710         * posix/wordexp-test.c: IFS now includes non-whitespace character
5711         (comma).  Added more tests.
5712
5713 1998-03-07  Ulrich Drepper  <drepper@cygnus.com>
5714
5715         * elf/link.h: Fix typos.
5716         Reported by Andreas Jaeger.
5717
5718         * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
5719         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
5720
5721 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
5722
5723         * argp/argp-help.c: Remove last bits of using gettext instead of
5724         dgettext.
5725
5726 1998-03-06 17:04  Ulrich Drepper  <drepper@cygnus.com>
5727
5728         * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
5729         __libc_start_main.
5730         * csu/Makefile (routines): Add libc-start.
5731         * elf/dl-error.c: Remove declaration of _dl_argv.  Include <unitsd.h>.
5732         * elf/dl-lookup.c: Likewise.
5733         * elf/dl-version.c: Likewise.
5734         * sysdeps/i386/dl-machine.h: Likewise.
5735         * elf/link.h: Declare _dl_argv, _dl_debug_fd.
5736         Declare _dl_sysdep_output.  Make _dl_sysdep_fatal, _dl_sysdep_error and
5737         _dl_sysdep_message macros which use _dl_sysdep_output.
5738         * elf/dl-fini.c: Write out which destructor is called while debugging.
5739         * elf/dl-init.c: Likewise for constructor.
5740         * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
5741         * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
5742         _dl_sysdep_message.  Add _dl_sysdep_output.
5743         * elf/rtld.c: Recognize LD_DEBUG_OUTPUT.  Set _dl_debug_fd if
5744         this file can be opened.
5745         For LD_DEBUG=libs also set _dl_debug_impcalls.
5746         * sysdeps/generic/dl-cache.c: Include unistd.h.
5747         * sysdeps/generic/libc-start.c: New file.
5748         * sysdeps/unix/sysv/linux/libc-start.c: New file.
5749         * sysdeps/i386/elf/start.S: Don't call main directly, call
5750         __libc_start_main instead.
5751
5752         * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
5753
5754 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
5755
5756         * nss/nsswitch.c (__nss_nscd_not_available): Removed.
5757
5758 1998-03-06 12:42  Ulrich Drepper  <drepper@cygnus.com>
5759
5760         * argp/argp.h (struct argp): Add new field domain.
5761         * argp/argp-help.c: Change all gettext calls to dgettext and use
5762         domain field from appropriate argp in call.
5763         * argp/argp-parse.c: Likewise.
5764
5765 1998-03-06 11:35  Ulrich Drepper  <drepper@cygnus.com>
5766
5767         * posix/wordexp-test.c: Change testsuite so that it can run even
5768         for ~root != /root.
5769
5770 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5771
5772         * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
5773
5774 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5775
5776         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5777         Don't store into global errno if we already store through
5778         __errno_location.
5779         * sysdeps/unix/i386/sysdep.S: Likewise.
5780         * sysdeps/unix/alpha/sysdep.S: Likewise.
5781         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5782         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
5783         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.  Add
5784         missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
5785         PIC).
5786
5787 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5788
5789         * sysdeps/generic/sysdep.h (L): Remove definition.
5790         * sysdeps/i386/sysdep.h (L): Define it here instead.
5791
5792 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5793
5794         * nis/nis_call.c (__do_niscall): Safe and reset errno.
5795
5796         * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
5797
5798 1998-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5799
5800         * sysdeps/generic/getresuid.c (__getresuid): Use ISO C
5801         declaration style to avoid warnings.
5802
5803 1998-03-06 11:48  Mark M._Kettenis  <kettenis@hall.phys.uva.nl>
5804
5805         * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
5806         "LD_DEBUG".
5807
5808 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
5809
5810         * posix/Makefile (tests): Add wordexp-test.
5811         * posix/wordexp-test.c: New file.  Testsuite for wrodexp.
5812         Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
5813
5814 1998-03-05 16:04  Ulrich Drepper  <drepper@cygnus.com>
5815
5816         * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
5817         dependencies.
5818
5819         * elf/link.h (struct r_search_path_elem): Add two new field for
5820         lib path debugging.
5821         * elf/rtld.c: Recognize LD_DEBUG environment variable and set
5822         variable accordingly.
5823         * elf/dl-load.c: If _dl_debug_libs is nonzero print what library
5824         is considered next along with information about load paths.
5825         * sysdeps/generic/dl-cache.c: Likewise.
5826         * elf/dl-support.c: Define _dl_debug_libs.
5827         * elf/genrtldtbl.awk: Add initializers for two new field in
5828         struct r_search_path_elem.
5829
5830 1998-03-06 10:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5831
5832         * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
5833         * sysdeps/m68k/lshift.S: Likewise.
5834         * sysdeps/m68k/rshift.S: Likewise.
5835         * sysdeps/m68k/sub_n.S: Likewise.
5836         * sysdeps/m68k/m68020/addmul_1.S: Likewise.
5837         * sysdeps/m68k/m68020/mul_1.S: Likewise.
5838         * sysdeps/m68k/m68020/submul_1.S: Likewise.
5839
5840         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
5841         [_LIBC_REENTRANT]: Don't store into global errno.
5842
5843         * sysdeps/m68k/sysdep.h: New file.
5844         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it.  Use the macros
5845         ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
5846         (DO_CALL): Change to expect syscall name as argument.
5847         (PSEUDO): Pass syscall_name to DO_CALL.
5848         (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
5849         errno.
5850
5851 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
5852
5853         * elf/rtld.c: Speed up processing of environment variables.  Do
5854         only one run on the environment by avoiding to call getenv.
5855         * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
5856         function.  Used by patch above.
5857
5858 1998-03-05  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5859
5860         * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
5861         running nscd.
5862         * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
5863         * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
5864         * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
5865
5866 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
5867
5868         * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
5869         module cannot be found.  Reported by Andreas Jaeger.
5870
5871 1998-03-05 11:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5872
5873         * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
5874         on platforms which default to unsigned chars.
5875         * nscd/nscd_getpw_r.c: Likewise.
5876         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
5877         defining it.
5878
5879 1998-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5880
5881         * elf/Makefile (install-bin): Change = to += for sprof to install
5882         ldd also.
5883
5884 1998-03-04 16:12  H.J. Lu  <hjl@gnu.org>
5885
5886         * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
5887
5888 1998-03-04 16:19  Ulrich Drepper  <drepper@cygnus.com>
5889
5890         * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
5891
5892 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5893
5894         * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
5895         that a failure to connect to nscd doesn't change errno.
5896
5897 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5898
5899         * manual/maint.texi (Reporting Bugs): Change
5900         bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
5901
5902         * locale/iso-4217.def: Likewise
5903
5904 1998-03-04 12:43  Ulrich Drepper  <drepper@cygnus.com>
5905
5906         * manual/texinfo.tex: Updated.
5907
5908 1998-03-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5909
5910         * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
5911         value.
5912         * sysdeps/posix/pathconf.c: Likewise.
5913         * posix/getconf.c: Print `undefined' if pathconf returns -1
5914         without setting errno.
5915
5916 1998-03-04  Ulrich Drepper  <drepper@cygnus.com>
5917
5918         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
5919         problem.
5920         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
5921         Patches by Elliot Lee <sopwith@cuc.edu>.
5922
5923 1998-03-04 09:43  Ulrich Drepper  <drepper@cygnus.com>
5924
5925         * elf/link.h (struct link_map): Add new field l_reloc_result.
5926         * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
5927         of relocation for the object to be profiled.
5928         * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
5929         to NULL.
5930         * elf/rtld.c (_dl_start): Add comment that we must not allocate an
5931         array here.
5932         * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
5933         contains a result from a previous run use this instead of computing
5934         the value again.
5935         * elf/dl-minimal.c (malloc): Remove limit for size of allocation.
5936
5937 1998-03-04 11:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5938
5939         * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
5940         offsets into the GOT.
5941         (RTLD_START): Likewise.
5942
5943 1998-03-03 17:55  Ulrich Drepper  <drepper@cygnus.com>
5944
5945         * elf/sprof.c: Cleanup a bit.
5946
5947 1998-03-03 08:01  H.J. Lu  <hjl@gnu.org>
5948
5949         * sysdeps/generic/sysdep.h (L): New. Define.
5950
5951         * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
5952
5953         * sysdeps/i386/i586/addmul_1.S: Fix a typo.
5954
5955         * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
5956         to have only one exit point for functions.
5957         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5958         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
5959         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
5960         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5961         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
5962
5963 1998-03-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5964
5965         * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
5966         reset errno so that errno isn't set to ENOSYS in the first call.
5967         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
5968         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
5969         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
5970         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
5971
5972 1998-03-02 17:55  Ulrich Drepper  <drepper@cygnus.com>
5973
5974         * sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
5975         * sysdeps/i386/addmul_1.S: Likewise.
5976         * sysdeps/i386/lshift.S: Likewise.
5977         * sysdeps/i386/mul_1.S: Likewise.
5978         * sysdeps/i386/rshift.S: Likewise.
5979         * sysdeps/i386/sub_n.S: Likewise.
5980         * sysdeps/i386/submul_1.S: Likewise.
5981         * sysdeps/i386/i586/add_n.S: Likewise.
5982         * sysdeps/i386/i586/addmul_1.S: Likewise.
5983         * sysdeps/i386/i586/lshift.S: Likewise.
5984         * sysdeps/i386/i586/mul_1.S: Likewise.
5985         * sysdeps/i386/i586/rshift.S: Likewise.
5986         * sysdeps/i386/i586/sub_n.S: Likewise.
5987         * sysdeps/i386/i586/submul_1.S: Likewise.
5988
5989         * sysdeps/i386/sysdep.h: Extend last change.
5990
5991         * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
5992         to have only one exit point for functions.
5993
5994 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
5995
5996         * configure.in: Fix msgfmt test.  Fix handling of //s in sysdeps
5997         search.
5998
5999 1998-03-02 13:28  Ulrich Drepper  <drepper@cygnus.com>
6000
6001         * Makerules: Generate libc.so with absolute paths for the used
6002         shared objects.
6003
6004         * config.make.in: Add MAKEINFO definition.
6005
6006 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
6007
6008         * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
6009         (ENTRY): Use STABS_FUN.
6010         (END): Use STABS_FUN_END.
6011         (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
6012
6013         * elf/Makefile: Add rules to build sprof program.
6014         * elf/sprof.c: New file.
6015
6016 1998-02-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6017
6018         * misc/syslog.c (openlog_internal): Insert missing closing brace.
6019
6020 1998-02-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6021
6022         * configure.in: Check for working msgfmt version (from GNU gettext
6023         0.10 or later).
6024
6025 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
6026
6027         * configure.in: Avoid //s in sysdirs.
6028         Patch by Roland McGrath.
6029
6030         * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
6031
6032 1998-03-02 07:17  H.J. Lu  <hjl@gnu.org>
6033
6034         * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
6035         setting _dl_global_scope for RTLD_GLOBAL.
6036
6037 1998-02-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6038
6039         * sysdeps/unix/make-syscalls.sh: Fix last change so that all
6040         possible lists of object-suffixes are taken care of.
6041
6042 1998-03-02 10:16  Ulrich Drepper  <drepper@cygnus.com>
6043
6044         * timezone/private.h: Update from tzcode1998c.
6045         * timezone/zic.c: Likewise.
6046         * timezone/antarctica: Updated from tzdata1998c.
6047         * timezone/asia: Likewise.
6048         * timezone/australasia: Likewise.
6049         * timezone/europe: Likewise.
6050         * timezone/southamerica: Likewise.
6051
6052 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
6053
6054         * posix/glob.c (glob_in_dir): Add support for cases insensitive
6055         VMS.  Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
6056
6057 1998-03-01 19:05  H.J. Lu  (hjl@gnu.org)
6058
6059         * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
6060         Changed type of TWO43, TWO52 from float to double.
6061         * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
6062         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
6063         Changed type of TWO43 from float to double.
6064         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
6065         Use __isinff.
6066
6067 1998-03-01 18:52  H.J. Lu  (hjl@gnu.org)
6068
6069         * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
6070         osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
6071         osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
6072
6073 1998-03-01 09:11  Richard Henderson  <rth@cygnus.com>
6074
6075         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
6076         kernel_termios.h.
6077         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
6078         Clean up random whitespace.
6079         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
6080         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
6081         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
6082         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
6083
6084 1998-03-01 08:31  Richard Henderson  <rth@cygnus.com>
6085
6086         * shlib-versions: Match alpha*.
6087         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
6088         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
6089
6090         * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
6091         Implement copysign* with and without __ prefix.
6092         Likewise for fabs; use builtin for gcc 2.8.
6093         (floor*): New.
6094         (fdim*): New.
6095
6096         * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
6097         (R_SPARC*): Match current v9 ABI.
6098
6099         * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
6100
6101         * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
6102         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
6103         * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
6104         * sysdeps/generic/getresgid.c: Use prototype form because of warning.
6105         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
6106         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
6107         * sysdeps/unix/grantpt.c (argv): Fix consts.
6108         * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
6109         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6110
6111 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
6112
6113         * misc/syslog.c: Change to allow user the interpretation of the
6114         outcome even with syslog having no return value.
6115
6116 1998-02-05 20:41  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
6117
6118         * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
6119         that the number of program headers is >0 (which is wrong for the
6120         loader itself).
6121
6122 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
6123
6124         * Makefile (distribute): Add README.libm.
6125
6126 1998-02-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6127
6128         * time/clocktest.c (main): Correct typo: "--" -> "==".
6129
6130 1998-02-25 20:53  H.J. Lu  <hjl@gnu.org>
6131
6132         * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
6133         inline function.
6134         (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
6135         inline functions.
6136
6137         * math/libm.map (__atan2): Added.
6138
6139 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
6140
6141         * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
6142         Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
6143
6144         * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
6145         bug.
6146
6147 1998-02-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6148
6149         * manual/arith.texi (Old-style number conversion): Correct
6150         typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
6151
6152 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
6153
6154         * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
6155         but does not require it.  Handle missing argv[] values gracefully.
6156         * posix/execl.c: Likewise.
6157         * posix/execle.c: Likewise.
6158
6159 1998-02-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6160
6161         * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
6162         bit.
6163         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
6164
6165 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
6166
6167         * libc.map: Add __adjtimex.
6168
6169 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6170
6171         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
6172         Remove memset.
6173
6174 1998-02-24 08:10  H.J. Lu  <hjl@gnu.org>
6175
6176         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
6177         to 64.
6178
6179         * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
6180
6181         * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
6182         * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.
6183
6184         * sysdeps/unix/make-syscalls.sh: Make versioned symbols only
6185         for shared library.
6186
6187         * libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
6188
6189         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
6190         Added adjtimex and old_adjtimex.
6191
6192         * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
6193         New.
6194         (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
6195         osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.
6196
6197         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
6198         symbols only for shared library.
6199         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
6200         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
6201         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
6202         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
6203         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
6204         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
6205         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
6206
6207         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
6208         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
6209         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
6210         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
6211         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
6212         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
6213         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
6214         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
6215
6216         * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
6217         rusage pointer.
6218
6219         * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
6220         New macros.
6221         (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
6222         timex and __adjtimex, respectively.
6223
6224         * sysdeps/unix/sysv/linux/alpha/adjtime.c: New.
6225
6226         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.
6227
6228 1998-02-25 08:28  H.J. Lu  <hjl@gnu.org>
6229
6230         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
6231         for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.
6232
6233 1998-02-26 14:59  Ulrich Drepper  <drepper@cygnus.com>
6234
6235         * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.
6236
6237 1998-02-19 11:00  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6238
6239         * Makefile.in: Disable built-in rules.
6240
6241 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6242
6243         * sysdeps/i386/fpu/t_exp.c: Move to ...
6244         * sysdeps/libm-i387/t_exp.c: ... here.
6245
6246 1998-02-21 13:51  H.J. Lu  <hjl@gnu.org>
6247
6248         * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
6249         from __exp2_deltatable.
6250
6251 1998-02-26  Ulrich Drepper  <drepper@cygnus.com>
6252
6253         * nis/ypclnt.c (yp_master): Check result of strdup.
6254         Patch by Thorsten Kukuk.
6255
6256 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6257
6258         * nis/ypclnt.c: Give clnt handle after error checking free, change
6259         return codes to fix problems with rpc.nisd in YP mode on Ultra's.
6260
6261 1998-02-26 09:00  Ulrich Drepper  <drepper@cygnus.com>
6262
6263         * misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
6264         Patch by Joe Keane <jgk@jgk.org>.
6265
6266         * misc/fstab.h (struct fstab): Change fs_type member to be const.
6267         * misc/fstab.c: Remove casts in fs_type assignments.
6268
6269 1998-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6270
6271         * sysdeps/i386/fpu/bits/fenv.h: Correct typo.  ISO C 9X defines
6272         FE_TOWARDZERO and not FE_TOWARDSZERO.  Reported by H.J. Lu.
6273         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
6274         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
6275         * sysdeps/powerpc/bits/fenv.h: Likewise.
6276         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
6277         * sysdeps/generic/bits/fenv.h: Likewise.
6278         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
6279         * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
6280         * sysdeps/powerpc/test-arith.c (main): Likewise.
6281
6282 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
6283
6284         * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
6285         the comparison macros.
6286
6287 1998-02-21 20:14  H.J. Lu  <hjl@gnu.org>
6288
6289         * sysdeps/libm-ieee754/s_log2.c (ln2): Added.
6290         (__log2): Fixed return values.
6291         * sysdeps/libm-ieee754/s_log2f.c: Likewise.
6292
6293 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
6294
6295         * math/math.h (isunordered): Rename local variables to ensure
6296         correct code.  Reported by HJ Lu.
6297
6298 1998-02-25 10:34  Ulrich Drepper  <drepper@cygnus.com>
6299
6300         * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
6301         isless, islessequal, islessgreater, isunordered): Fix syntax for
6302         fucompip instruction.
6303         (isless, islessequal): Fix logic.
6304
6305 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6306
6307         * math/libm-test.c (sqrt_test): Add test for sqrt(2).
6308         (comparisons_test): New tests for comparison macros.
6309
6310 1998-02-24 15:12  Ulrich Drepper  <drepper@cygnus.com>
6311
6312         * Makeconfig: Filter out frame-pointer effecting options when
6313         compiling profiling or debugging code.
6314         * config.h.in (internal_function): Don't define here if PROF is
6315         defined.
6316         * gmon/gmon.c (__moncontrol): Don't change state if already in error
6317         state.
6318         (__monstartup): If calloc fails set error state and mark array as
6319         not allocated.
6320         (_mcleanup): Don't call write_gmon if in error state.  Don't try
6321         to free array if not  successfully allocated.
6322
6323         * elf/dl-load.c (STRING): Define to __STRING to enble expansion.
6324         Include elf.h to get macro definitions.
6325         Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
6326
6327 1998-02-24 09:40  Ulrich Drepper  <drepper@cygnus.com>
6328
6329         * elf/ldd.sh.in: Add compatibility for broken old shells.
6330         * elf/ldd.bash.in: Likewise.
6331
6332 1998-02-24 08:11  H.J. Lu  <hjl@gnu.org>
6333
6334         * sunrpc/rpc_main.c (open_input): Check pipe return error.
6335
6336         * time/clocktest.c (main): Check signal return error.
6337
6338 1998-02-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6339
6340         * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
6341         "/" and use do-install-program. Reported by Mark M. Kettenis.
6342         (subdir_install):  Likewise.
6343
6344 1998-02-22  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6345
6346         * sunrpc/rpc_sample.c: Fix typo.
6347
6348         * nscd/connections.c: Use locale.
6349         * nscd/grpcache.c: Add debug messages, gidtbl should get the
6350           calloc result.
6351         * nscd/nscd.c: Check if init functions fails.
6352         * nscd/nscd_conf.c: Allow disabling of group cache.
6353         * nscd/nscd_getgr_r.c: Fix return code if group not found.
6354         * nscd/pwdcache.c: Fix debug messages.
6355
6356 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6357
6358         * libc.map: Add __monstartup and _mcleanup for profiling support.
6359
6360 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6361
6362         * libc.map: Export __getpagesize, for binary compatibility with
6363         2.0.
6364
6365 1998-02-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6366
6367         * posix/globtest.sh: Use --library-path instead of
6368         LD_LIBRARY_PATH.
6369         * localedata/sort-test.sh: Likewise.
6370         * localedata/tst-fmon.sh: Likewise.  Avoid useless use of cat.
6371
6372 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6373
6374         * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
6375         sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
6376         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6377
6378         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
6379         kernel_sigaction): Define.
6380         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
6381         kernel_sigaction): Define.
6382
6383 1998-02-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6384
6385         * math/libm-test.c: Change epsilons for libm-ieee754.
6386
6387 1998-02-23 12:33  Ulrich Drepper  <drepper@cygnus.com>
6388
6389         * sysdeps/i386/__longjmp.S: Fix race condition.
6390         Reported by Bruno Haible <haible@ilog.fr>.
6391
6392 1998-02-20 18:43  Ulrich Drepper  <drepper@cygnus.com>
6393
6394         * hesiod/hesiod.c: Pretty print.  Don't use __ protected names.
6395         * iconvdata/8bit-gap.c: Likewise.
6396         * iconvdata/8bit-generic.c: Likewise.
6397         * iconvdata/iso6937.c: Likewise.
6398         * iconvdata/iso8859-1.c: Likewise.
6399         * iconvdata/sjis.c: Likewise.
6400         * iconvdata/t61.c: Likewise.
6401
6402 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6403
6404         * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
6405         feature tests by positive feature tests.
6406
6407 1998-02-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6408
6409         * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.
6410
6411 1998-02-20  Ulrich Drepper  <drepper@cygnus.com>
6412
6413         * elf/dlvsym.c (dlvsym_doit): More corrections.
6414         Patch by Andreas Jaeger.
6415
6416 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
6417
6418         * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.
6419
6420 1998-02-19 17:16  Ulrich Drepper  <drepper@cygnus.com>
6421
6422         * libc.map: More reordering for GLIBC_2.1 symbols.
6423
6424 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6425
6426         * libc.map: Move some functions from version GLIBC_2.0 to
6427         GLIBC_2.1, reorder declarations.
6428
6429 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
6430
6431         * resolv/gethnamaddr.c (addrsort): Make this function extern.
6432         Patch by zab@thebrain.grumblesmurf.net.
6433
6434 1998-02-19  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6435
6436         * nis/libnsl.map: NIS+ support is new in glibc 2.1, add
6437         NIS+ functions with version GLIBC_2.1.
6438
6439 1998-02-19 14:05  Ulrich Drepper  <drepper@cygnus.com>
6440
6441         * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
6442         with 2.0 binaries.  Reported by Thorsten Kukuk.
6443
6444 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6445
6446         * elf/dlvsym.c (dlvsym_doit): Correct last patch.
6447
6448         * elf/dlsym.c (dlsym_doit): Likewise.
6449
6450 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6451
6452         * elf/link.h: Correct typos.
6453
6454         * iconv/iconv_prog.c: Correct typo.
6455
6456 1998-02-18 17:57  Ulrich Drepper  <drepper@cygnus.com>
6457
6458         * iconv/Makefile: Add rules to build and install iconv program.
6459         * iconv/iconv_prog.c: New file.
6460
6461 1998-02-18 16:34  H.J. Lu  <hjl@gnu.org>
6462
6463         * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
6464         _dl_lookup_symbol_skip call.
6465         * elf/dlvsym.c (dlvsym_doit): Likewise.
6466
6467 1998-02-18  Ulrich Drepper  <drepper@cygnus.com>
6468
6469         * libio/iovsscanf.c: Do not include errno.h.
6470
6471 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6472
6473         * elf/dl-load.c (add_name_to_object): Don't translate strings.
6474         * elf/dl-minimal.c (_strerror_internal): Define it here to avoid
6475         pulling in the whole error list.
6476         (__dcgettext, dcgettext): Removed.
6477         * libc.map: Export _strerror_internal.
6478
6479 1998-02-18 10:50  Ulrich Drepper  <drepper@cygnus.com>
6480
6481         * sysdeps/i386/fpu/t_exp.c: New file.
6482
6483 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6484
6485         * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add
6486         everything with version GLIBC_2.1.
6487         * hesiod/libnss_hesiod.map: Likewise.
6488
6489 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6490
6491         * manual/arith.texi (Old-style number conversion): This node is a
6492         section, not a subsection.
6493
6494 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6495
6496         * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy.
6497
6498 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6499
6500         * elf/rtld.c (dl_main): Make sure that the library search paths
6501         have been initialized before the first call to _dl_map_object.
6502
6503 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6504
6505         * Makerules (common-generated): Add libc_pic.os.
6506
6507 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6508
6509         * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address
6510         of the executable.
6511
6512 1998-02-18 10:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6513
6514         * sysdeps/m68k/fpu/t_exp.c: New file.
6515
6516 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
6517
6518         * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
6519         to global errno variable anymore.
6520
6521 1998-02-17 17:41  Ulrich Drepper  <drepper@cygnus.com>
6522
6523         * elf/dl-load.c (open_path): Take extra argument PRELOADED.
6524         If PRELOADED is nonzero check in case of an SUID application
6525         whether the shared object has the SUID bit set.
6526         Fix some other problems with handling shared objects in system
6527         specific directories.
6528         (_dl_map_object): Also take extra parameter and pass it to open_path.
6529         * elf/link.h (_dl_map_object): Correct prototype and comment.
6530         * elf/rtld.c (dl_main): Call _dl_map_object correctly.
6531         * elf/dl-open.c (_dl_open): Likewise.
6532         * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.
6533
6534         * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
6535
6536 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
6537
6538         * math/libm-test.c (modf_test): Add test for 1.5.
6539
6540         * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
6541         0 to get always an int.
6542
6543 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6544
6545         * math/libm.map: Move all symbols that are new in glibc 2.1 to
6546         version GLIBC_2.1.
6547
6548 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
6549
6550         * stdio-common/vfscanf.c (inchar): Check c for being EOF before
6551         trying to read another character.
6552
6553 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6554
6555         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
6556         name to lowercase.
6557
6558         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
6559         name to lowercase, add test for big enough buffer.
6560
6561 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6562
6563         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
6564         Make compatible with older kernels.  Patch by Richard Henderson.
6565
6566 1998-02-17 15:10  Ulrich Drepper  <drepper@cygnus.com>
6567
6568         * elf/dl-load.c (open_path): Use __xstat instead of stat.
6569
6570         * localedata/tst-locale.sh: Comment out first test for now.
6571
6572 1998-02-14 14:58  H.J. Lu  <hjl@gnu.org>
6573
6574         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
6575         as 1.
6576         * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
6577         Likewise.
6578
6579         * libio/iogetline.c (_IO_getline_info): Renamed from
6580         _IO_getline.
6581         (_IO_getline): Just call _IO_getline_info.
6582
6583         * libio/libioP.h (_IO_getline_info): New declaration.
6584
6585         * libc.map (_IO_getline_info, __write): Added.
6586
6587 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6588
6589         * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
6590         const char* to shut up gcc.
6591
6592 1998-02-17 11:37  Ulrich Drepper  <drepper@cygnus.com>
6593
6594         * elf/dl-open.c (_dl_open): Assign correct value to new->l_global.
6595         Patch forwarded by Cristian Gafton <gafton@redhat.com>.
6596
6597         * math/math.h: Define M_* constants always as `double' and add new
6598         macros M_*l which are of type `long double'.
6599         * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
6600         * sysdeps/libm-ieee754/s_cacosl.c: Likewise.
6601         * sysdeps/libm-ieee754/s_casinhl.c: Likewise.
6602         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
6603         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
6604         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
6605         * sysdeps/libm-ieee754/s_clogl.c: Likewise.
6606         * math/libm-tst.c: Likewise.
6607
6608         * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
6609         define as long double unconditionally.
6610
6611 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6612
6613         * manual/arith.texi (Old-style number conversion): Correct some
6614         typos.
6615
6616 1998-02-16 16:28  H.J. Lu  <hjl@gnu.org>
6617
6618         * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
6619         Restore.
6620
6621         * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.
6622
6623 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
6624
6625         * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
6626         on $(rtld-ldscript).
6627
6628         * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
6629         starting from 0 not only from `from'.
6630         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
6631
6632 1998-02-16 17:33  Ulrich Drepper  <drepper@cygnus.com>
6633
6634         * elf/rtld.c (dl_main): Recognize --library-path parameter and
6635         pass value (or NULL) to _dl_init_paths.
6636         * elf/dl-load.c (_dl_init_paths): Change to take one parameter,
6637         replacing local variable llp.  If llp is NULL examine LD_LIBRARY_PATH
6638         environment variable.
6639         * elf/link.h: Change prototype for _dl_init_paths.
6640         * elf/dl-support.c: Pass NULL in _dl_init_paths call.
6641
6642         * localedata/Makefile (distribute): Add test files.
6643
6644 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6645
6646         * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
6647         test1.def, test2.def, test3.def, test4.def}: Simple input files
6648         for localedef. Contributed by Yung-Ching Hsiao
6649         <yhsiao@cae.wisc.edu>.
6650
6651         * localedata/Makefile (tests): Call tst-locale.sh.
6652
6653         * localedata/tst-locale.sh: New file, regression tests for some
6654         localedef problems.
6655
6656 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6657
6658         * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.
6659
6660         * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
6661         terminated.
6662         * nis/nss_nisplus/nisplus-network.c: Likewise.
6663         * nis/nss_nisplus/nisplus-proto.c: Likewise.
6664         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
6665         * nis/nss_nisplus/nisplus-service.c: Likewise.
6666
6667         Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
6668         and support generating thread safe RPC code.
6669         * sunrpc/rpc_main.c: Add changes.
6670         * sunrpc/rpc_clntout.c: Likewise.
6671         * sunrpc/rpc_cout.c: Likewise.
6672         * sunrpc/rpc_hout.c: Likewise.
6673         * sunrpc/rpc_parse.c: Likewise.
6674         * sunrpc/rpc_sample.c: Likewise.
6675         * sunrpc/rpc_scan.c: Likewise.
6676         * sunrpc/rpc_svcout.c: Likewise.
6677         * sunrpc/rpc_util.c: Likewise.
6678         * sunrpc/rpc_util.h: Add new structs and prototypes.
6679         * sunrpc/proto.h: Remove prototypes for static functions.
6680
6681 1998-02-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6682
6683         * locale/programs/ld-messages.c (messages_finish): Don't skip
6684         error checking when being quiet.
6685         * locale/programs/ld-ctype.c (ctype_finish): Likewise.
6686         (set_class_defaults): Likewise.
6687         * locale/programs/charmap.c (parse_charmap): Likewise.
6688         * locale/programs/ld-collate.c (collate_finish): Likewise.
6689         * locale/programs/ld-monetary.c (monetary_finish): Likewise.
6690         * locale/programs/ld-time.c (time_finish): Likewise.
6691         * locale/programs/locfile.c (write_locale_data): Likewise.
6692
6693         * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
6694         unknown characters and empty ranges.
6695         * locale/programs/ld-collate.c (collate_order_elem): When
6696         processing an ellipsis properly form a linked list in the result
6697         table, fix typo when allocating ordering array.
6698         [PR libc/419]
6699
6700 1998-02-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6701
6702         * elf/Makefile (ld-map): Define.
6703         (rtld-ldscript): Define.  Change all `$(objpfx)rtld-ldscript' to
6704         `$(rtld-ldscript)'.
6705         ($(objpfx)ld.so): Combine the two versions of this rule.  Depend
6706         on $(ld-map).
6707         (rtld-link): Combine the two versions of this definition.  Fixed
6708         to make it work when no symbol versioning is used.
6709
6710 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
6711
6712         * Makeconfig (build-program-cmd): Use --library-path parameter to
6713         ld.so instead of environment variable.
6714
6715         * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
6716         * sunrpc/rpc_main.c: Remove support for -$$ option again.
6717
6718 1998-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6719
6720         * Make-dist: Respect with-cvs setting.
6721         * MakeTAGS (all-pot): Likewise.
6722         * sysdeps/sparc/sparc32/Makefile: Likewise.
6723         * sysdeps/mach/hurd/Makefile: Likewise.
6724         * stdlib/Makefile: Likewise.
6725         * posix/Makefile: Likewise.
6726         * intl/Makefile: Likewise.
6727         * po/Makefile (linguas): Likewise
6728
6729 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6730
6731         * nis/ypclnt.c (yp_all): Remove error message, user should print it.
6732
6733 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
6734
6735         * libc.map: Add __strcasecmp.
6736
6737         * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
6738         module.
6739
6740         * nss/getXXent_r.c: If no more module is found don't try to call
6741         setXXent functions but leave unsuccessfully.
6742
6743         * malloc/obstack.h: Cleanups.
6744
6745         * sysdeps/wordsize-32/stdint.h: New file.
6746         * sysdeps/wordsize-64/stdint.h: New file.
6747         * sysdeps/generic/stdint.h: New file.
6748         * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h.
6749         * sysdeps/wordsize-64/inttypes.h: Likewise.
6750         * stdlib/Makefile (headers): Add stdint.h.
6751
6752 1998-02-03  Paul Eggert  <eggert@twinsun.com>
6753
6754         * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.
6755
6756 1998-02-13 17:59  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6757
6758         * timezone: New directory.
6759         * time/README, time/africa, time/antarctica, time/asia,
6760         time/australasia, time/backward, time/checktab.awk,
6761         time/etcetera, time/europe, time/factory, time/ialloc.c,
6762         time/iso3166.tab, time/leapseconds, time/northamerica,
6763         time/pacificnew, time/private.h, time/scheck.c,
6764         time/solar87, time/solar88, time/solar89, time/southamerica,
6765         time/systemv, time/test-tz.c, time/tzfile.h,
6766         time/tzselect.ksh, time/yearistype, time/zdump.c,
6767         time/zic.c, time/zone.tab: Moved to timezone.
6768         * time/tzfile.c: Include tzfile.h from timezone subdir.
6769         * time/tzset.c: Likewise.
6770         * time/Makefile: Cut out all code relating to timezones...
6771         * timezone/Makefile: ...and paste it in here.
6772         * Makefile (subdirs): Add timezone.
6773
6774 1998-02-13 18:45  H.J. Lu  <hjl@gnu.org>
6775
6776         * libc.map (_sys_nerr): Added.
6777
6778         * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it
6779         versioned symbol.
6780
6781 1998-02-15 17:16  Ulrich Drepper  <drepper@cygnus.com>
6782
6783         * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
6784         pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
6785         Reported by Craig Metz <cmetz@inner.net>.
6786
6787 1998-01-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6788
6789         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
6790         instead of strcasecmp.
6791         * nss/nss_files/files-alias.c (get_next_alias): Likewise.
6792
6793         * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8.
6794
6795 1998-02-15 16:55  Ulrich Drepper  <drepper@cygnus.com>
6796
6797         * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
6798         Patch by Dean Gaudet <dgaudet@arctic.org>.
6799
6800 1998-02-15 16:53  Ulrich Drepper  <drepper@cygnus.com>
6801
6802         * sysdeps/generic/Dist: Add getresgid.c and getresuid.c.
6803
6804 1998-02-15 10:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6805
6806         * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel
6807         with no poll syscall, just include the BSD version.
6808         * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a
6809         kernel without the syscall, include the stub version.
6810         * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
6811         * sysdeps/generic/getresuid.c: New file.
6812         * sysdeps/generic/getresgid.c: New file.
6813
6814 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
6815
6816         * stdio-common/vfscanf.c: Correct last change a bit.
6817
6818 1998-02-13 17:39  Ulrich Drepper  <drepper@cygnus.com>
6819
6820         * elf/Makefile: Don't use --version-script parameter to link ld.so
6821         unconditionally.
6822
6823 1998-01-02 04:19  Geoff Keating  <geoffk@ozemail.com.au>
6824
6825         * math/Makefile: Add t_exp.
6826         * math/libm-test.c: Tighten accuracy bounds for exp(), correct
6827         constants.
6828         * math/test-reduce.c: Remove temporarily, it seems to be broken.
6829         * sysdeps/libm-ieee754/e_exp.c: Use accurate table method.
6830         * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for
6831         better accuracy.
6832         * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct
6833         algorithm for very large/very small arguments.
6834         * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial;
6835         correct algorithm for very large/very small arguments; adjust for
6836         new table.
6837         * sysdeps/libm-ieee754/t_exp.c: New file.
6838         * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas.
6839
6840         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test'
6841         back, with comment that explains what breaks when you remove it :-(.
6842
6843         * localedata/xfrm-test.c: Avoid integer overflow.
6844
6845         * stdlib/strfmon.c: char is unsigned, sometimes.
6846
6847         * sysdeps/powerpc/Makefile: Remove quad float support.
6848         * sysdeps/powerpc/q_*.c: Remove, they will become an add-on.
6849         * sysdeps/powerpc/quad_float.h: Likewise.
6850         * sysdeps/powerpc/test-arith.c: Likewise.
6851         * sysdeps/powerpc/test-arithf.c: Likewise.
6852
6853         * sysdeps/generic/s_exp2.c: Remove, we have this implemented now.
6854         * sysdeps/generic/s_exp2f.c: Likewise.
6855
6856         * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__,
6857         don't try anything if _SOFT_FLOAT.
6858
6859 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6860
6861         * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
6862         * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
6863         * wctype/wctype.c: Likewise.
6864         * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
6865         changed.  They are incompatible with the _ISxxx values from
6866         <ctype.h> on little endian machines.
6867         (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
6868         bit number.  This fixes the real bug and restores the integrity of
6869         the ctype locale file.
6870         * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
6871         * wctype/wcfuncs_l.c: Likewise.
6872         * wctype/wcextra.c: Likewise.
6873         * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
6874         byte swapping.
6875
6876 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6877
6878         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it
6879         into .bss segment instead of .common, so that aliases on it work.
6880
6881         * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and
6882         .size directives, put into .bss segment instead of initializing it
6883         to 4.
6884
6885 1998-02-12 08:00  H.J. Lu  <hjl@gnu.org>
6886
6887         * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added.
6888
6889         * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New
6890         functions.
6891         Make names without __ weak aliases.
6892         (__libc_release, __libc_version): Make them static.
6893
6894         * include/gnu/libc-version.h: New file.
6895         * Makefile (headers): Add gnu/libc-version.h.
6896
6897 1998-02-13  Ulrich Drepper  <drepper@cygnus.com>
6898
6899         * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
6900         and use x for member name.
6901         Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
6902
6903         * stdlib/drand48.c: Change according to member name change.
6904         * stdlib/drand48_r.c: Likewise.
6905         * stdlib/lcong48_r.c: Likewise.
6906         * stdlib/lrand48.c: Likewise.
6907         * stdlib/lrand48_r.c: Likewise.
6908         * stdlib/mrand48.c: Likewise.
6909         * stdlib/mrand48_r.c: Likewise.
6910         * stdlib/seed48.c: Likewise.
6911         * stdlib/seed48_r.c: Likewise.
6912         * stdlib/srand48_r.c: Likewise.
6913
6914 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6915
6916         * nss/test-netdb.c: Add some more test cases.
6917
6918 1998-02-13 11:39  Ulrich Drepper  <drepper@cygnus.com>
6919
6920         * libio/iovsscanf.c: Undo last change modifying errno.
6921
6922 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6923
6924         * stdio-common/vfscanf.c: Never try to read another character
6925         after EOF.  Don't decrement read_in after EOF, it wasn't
6926         incremented in the first place.
6927         (NEXT_WIDE_CHAR): Set First, not first.
6928
6929 1998-02-06 07:48  H.J. Lu  <hjl@gnu.org>
6930
6931         * db/Makefile ($(inst_libdir)/libndbm.a,
6932         $(inst_libdir)/libndbm.so): New targets.
6933         * db2/Makefile: Likewise.
6934
6935 1998-02-12 08:20  H.J. Lu  <hjl@gnu.org>
6936
6937         * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak
6938         aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined.
6939
6940 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6941
6942         * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++
6943         <streambuf.h>.
6944         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
6945
6946 1998-02-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6947
6948         * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with
6949         versioned symbols.
6950
6951 1998-02-13 08:14  H.J. Lu  <hjl@gnu.org>
6952
6953         * libc.map (_dl_global_scope, _dl_lookup_symbol_skip,
6954         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip):
6955         Added for libdl.so.
6956
6957 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6958
6959         * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
6960         extra syscall.
6961
6962         * grp/Makefile: Fix logic when checking for thread package.
6963         * pwd/Makefile: Likewise.
6964
6965 1998-02-11 08:23  H.J. Lu  <hjl@gnu.org>
6966
6967         * elf/Makefile (rtld-map): Replaced by libc-map.
6968
6969         * elf/rtld.map: Removed.
6970
6971         * libc.map (__libc_enable_secure, _dl_catch_error,
6972         _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state,
6973         _dl_default_scope, _dl_global_scope_end, _dl_init_next,
6974         _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps,
6975         _dl_object_relocation_scope, _dl_relocate_object,
6976         _dl_signal_error, _dl_starting_up, _dl_sysdep_start,
6977         _r_debug): Added for ld.so.
6978
6979 1998-02-10 08:38  H.J. Lu  <hjl@gnu.org>
6980
6981         * libio/iofclose.c: Check PIC && DO_VERSIONING instead of
6982         DO_VERSIONING.
6983         * libio/iofdopen.c: Ditto.
6984         * libio/iofopen.c: Ditto.
6985         * libio/oldfileops.c: Ditto.
6986
6987         * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for
6988         version GLIBC_2.1.
6989
6990         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed
6991         oldsiglist from sysdep_routines and shared-only-routines.
6992
6993         * sysdeps/unix/sysv/linux/errlist.c: New.
6994         * sysdeps/unix/sysv/linux/errlist.h: New.
6995         * sysdeps/unix/sysv/linux/sizes.h: New.
6996         * sysdeps/unix/sysv/linux/alpha/sizes.h: New.
6997         * sysdeps/unix/sysv/linux/sparc64/sizes.h: New.
6998
6999         * sysdeps/unix/sysv/linux/oldsiglist.c: Removed.
7000
7001         * sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>.
7002         (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size
7003         directive.
7004
7005         * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New.
7006
7007         * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added.
7008         (oldsiglist.c): Removed.
7009
7010         * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New.
7011         (_sys_siglist): Use SYS_SIGLIST instead.
7012         (_sys_nerr): Use SYS_NERR instead.
7013
7014         * sysdeps/gnu/errlist.c: Rebuilt.
7015
7016 1998-02-11 08:35  H.J. Lu  <hjl@gnu.org>
7017
7018         * elf/Makefile (others-static): New, set to ldconfig.
7019         ($(objpfx)ldconfig): Removed.
7020
7021         * Rules (binaries-all, binaries-static, binaries-shared): New.
7022         Create targets for $(binaries-static) and $(binaries-shared).
7023
7024         * Makeconfig (+link-static, link-libc-static,
7025         link-extra-libs-static): New for static linking.
7026
7027 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7028
7029         * manual/memory.texi (Using the Memory Debugger): Fix typo.
7030
7031         * math/libm-test.c (modf_test): Add one more test for modf.
7032
7033 1998-02-11 14:39  Ulrich Drepper  <drepper@happy.cygnus.com>
7034
7035         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
7036         Rename from __libc_have_rt_sigs and leave as COMMON data.
7037
7038 1998-02-11 08:30  H.J. Lu  <hjl@gnu.org>
7039
7040         * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead
7041         of __finite.
7042
7043 1998-02-11 19:16  Richard Henderson  <rth@cygnus.com>
7044
7045         * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
7046
7047 1998-02-11 16:56  Ulrich Drepper  <drepper@happy.cygnus.com>
7048
7049         * misc/tst-efgcvt.c: Add yet more tests.
7050         * misc/efgcvt_r.c: And correct for these tests again.
7051         Reported by HJ Lu.
7052
7053         * isomac.c: Move to...
7054         * stdlib/isomac.c: ...here.
7055         * Makefile: Move rules for handling isomac...
7056         * stdlib/Makefile: ...to here.
7057
7058 1998-02-10 23:57  Ulrich Drepper  <drepper@happy.cygnus.com>
7059
7060         * misc/tst-efgcvt.c: Add more tests.
7061         * misc/efgcvt_r.c: Correct result for above new tests.
7062
7063 1998-02-06 17:22  H.J. Lu  <hjl@gnu.org>
7064
7065         * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
7066         NDIGIT <= 0.
7067
7068 1998-02-10 16:48  Philip Blundell  <pb@nexus.co.uk>
7069
7070         * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
7071         if the programs weren't built.
7072
7073 1998-02-09 10:12  Philip Blundell  <pb@nexus.co.uk>
7074
7075         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
7076         FE_TONEAREST, soldier on regardless and do the best we can.
7077         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
7078
7079 1998-02-5 17:20  Philip Blundell  <pb@nexus.co.uk>
7080
7081         * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
7082         _STDIO_H, before including <bits/stdio_lim.h>.
7083
7084         * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
7085
7086         * io/fts.c (fts_build): Don't try to use d_type if it doesn't
7087         exist.
7088
7089         * sysdeps/arm/sys/ucontext.h: New file.
7090
7091 1998-02-04 10:11  Philip Blundell  <pb@nexus.co.uk>
7092
7093         * manual/stdio.texi (Formatted Output Functions): Explicitly say
7094         that the return value from snprintf() does not count the
7095         terminating NUL as a character.
7096
7097 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
7098
7099         * manual/users.texi: Rewrite to describe correct POSIX behaviour,
7100         add description for sete[ug]id and general cleanup.
7101         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
7102
7103 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7104
7105         * Makefile (parent-clean): Don't remove makefile fragments here.
7106         (postclean): New variable.
7107         (clean): Remove makefile fragments here.
7108         (realclean distclean): Likewise.  Pass sysdep-subdirs to sub-make.
7109         (generated): Add isomac and isomanc.out.
7110         * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
7111         avoid-generated is set.
7112         (postclean-generated): Add soversion.mk.
7113         ($(common-objpfx)version.mk): Don't include if avoid-generated is
7114         set.
7115         * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
7116         avoid-generated is set.
7117         (common-generated): Add libc.so and libc.so$(libc.so-version).
7118         (generated): Add versioned libraries.
7119         (common-mostlyclean): Also remove %.so and %_pic.a.
7120         * csu/Makefile (generated): Add abi-tag.h.
7121         * db2/Makefile (extra-objs): Add getlong.o.
7122         * elf/Makefile (generated): Add ld.so, ldd and
7123         $(rtld-installed-name).
7124         (others): Add ldconfig here instead of ldconfig.o to extra-objs.
7125         * malloc/Makefile (generated): Add mtrace.
7126         * po/Makefile: Don't include version.mk, not needed any more.
7127         * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
7128         * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
7129         syscall.h -> sys/syscall.h.
7130         (common-generated): Add s-proto.d.
7131         (postclean-generated): Add sysd-syscalls.
7132         * localedata/Makefile (test-output): Add all output files.
7133         (generated): Add test-input and test-output.
7134         (generated-dirs): Add all the dirs.
7135
7136 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7137
7138         * Makefile (test-output, generated, generated-dirs): New
7139         variables.
7140
7141 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
7142
7143         * resolv/nss_dns/dns-host.c: Various code cleanups.
7144
7145 1998-02-09 08:10  H.J. Lu  <hjl@gnu.org>
7146
7147         * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
7148         From Philip Blundell <pb@nexus.co.uk>.
7149         * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
7150
7151 1998-02-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7152
7153         * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
7154         Suggested by debian/sparc porters.
7155
7156 1998-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7157
7158         * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
7159         for ecvt and fcvt.
7160
7161 1998-02-10 16:32  Ulrich Drepper  <drepper@happy.cygnus.com>
7162
7163         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
7164         __fxstat instead of stat and fstat.  Use namespace clean __stpcpy.
7165
7166         * signal/signal.h: Always define sigset_t if __need_sigset_t is
7167         defined even if __USE_POSIX is not defined.
7168
7169 1998-02-02 20:51  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7170
7171         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
7172         to support obsolete tty major numbers correctly.
7173
7174 1998-02-02 08:47  H.J. Lu  <hjl@gnu.org>
7175
7176         * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
7177         directory first and ignore install error.
7178
7179         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
7180         128 from ptyno and fix a typo for the BSD style pty.
7181
7182 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7183
7184         * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
7185         syscalls.list's.
7186
7187 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7188
7189         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
7190         getresuid and getresgid.
7191
7192         * sysdeps/unix/sysv/linux/getresuid.c: New file.
7193         * sysdeps/unix/sysv/linux/getresgid.c: New file.
7194
7195         * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
7196         s_getres[ug]id.
7197
7198         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
7199         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7200         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7201         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
7202
7203 1998-02-02 08:11  H.J. Lu  <hjl@gnu.org>
7204
7205         * nscd/grpcache.c: Include <stdlib.h>.
7206
7207 1998-02-01 16:01  H.J. Lu  <hjl@gnu.org>
7208
7209         * stdlib/atoll.c: Fix comments.
7210
7211         * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
7212         * sysdeps/posix/ttyname_r.c: Ditto.
7213
7214 1998-02-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7215
7216         * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
7217         __USE_MISC, independent of __USE_UNIX98.
7218
7219 1998-02-10 19:18  Ulrich Drepper  <drepper@happy.cygnus.com>
7220
7221         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
7222         Rename from __libc_have_rt_sigs and leave as COMMON data.
7223
7224 1998-02-04 11:58  Richard Henderson  <rth@twiddle.rth.home>
7225
7226         * Makeconfig (CFLAGS-.os): Kill -fno-common.
7227         * Makerules (libc.so): Prelink libc_pic.a, allocating commons.
7228
7229         * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
7230         * elf/rtld.map: New file.  Needed to define the GLIBC_2.*
7231         version symbols.
7232         * include/libc-symbols.h (symbol_version, default_symbol_version):
7233         Provide asm versions and correct !DO_VERSIONING versions.
7234         * sysdeps/unix/make-syscalls.sh: Recognize version symbols in
7235         the weak symbol list.
7236
7237         * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
7238         Rename from __libc_have_rt_sigs and leave as COMMON data.
7239         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
7240         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7241         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
7242
7243 1998-02-04 16:41  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7244
7245         * sunrpc/Makefile: Correct dependencies of rpcgen.
7246
7247 1998-02-10 03:00  Ulrich Drepper  <drepper@happy.cygnus.com>
7248
7249         * nscd/Makefile: Fix test for available linuxthreads add-on.
7250         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
7251
7252 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7253
7254         * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
7255
7256 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7257
7258         * sysdeps/gnu/Makefile: Respect with-cvs variable.
7259
7260         * manual/errno.texi (Error Messages): Correct description of
7261         strerror_r.  Pointed out by jonas@bagge.se.
7262
7263 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7264
7265         * manual/socket.texi (Host Address Functions): Clarify description
7266         of inet_network.
7267
7268 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7269
7270         * sysdeps/unix/grantpt.c (argv): Move const to toplevel.
7271         (grantpt): Delete superfluous cast.
7272
7273 1998-02-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7274
7275         * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
7276         elf/ldso_install instead of elf/subdir_install.
7277         (elf/ldso_install): New target.
7278
7279         * elf/Makefile (ldso_install): New target.
7280
7281 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7282
7283         * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
7284         of 1998-01-06.
7285
7286 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7287
7288         * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
7289         constant expressions.
7290
7291 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7292
7293         * nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
7294         for __nss_configure_lookup.
7295         (output_hostent): Remove unused variable.
7296
7297 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7298
7299         * string/tst-inlcall.c: Fix format string.
7300
7301 1998-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7302
7303         * inet/netinet/in.h: Rename second parameter of bindresvport to
7304         avoid buggy gcc warning. [PR libc/412]
7305
7306 1998-02-04 18:04  Richard Henderson  <rth@cygnus.com>
7307
7308         * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
7309         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
7310
7311         * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
7312         Follow POSIX and make tv_sec a time_t.
7313         * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
7314         new tv64 syscall as well as fall back to tv32.
7315         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
7316         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
7317         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
7318         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
7319         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
7320         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
7321         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
7322         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
7323
7324         * include/rpcsvc/nis.h: New.  Bounce to nis/rpcsvc.
7325         * include/rpcsvc/nis_tags.h: Likewise.
7326         * include/rpcsvc/nislib.h: Likewise.
7327
7328 1998-02-02 01:12  Ulrich Drepper  <drepper@cygnus.com>
7329
7330         * libc.map: Add _h_errno.
7331         * inet/herrno.c: Make _h_errno weak alias.
7332
7333         * login/Makefile (distribute): Add pty-internal.h.
7334
7335         * nscd/Makefile (distribute): Add all the files missing.
7336
7337         * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
7338         are available.
7339
7340         * stdio-common/tstscanf.c: Rewrite a bit to continue after errors
7341         and report status at the end.
7342
7343         * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
7344
7345         * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
7346         variable.
7347         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
7348         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
7349         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
7350
7351 1998-01-03 20:47  Mark Kettenis  <kettenis@phys.uva.nl>
7352
7353         * configure.in: Fix --enable-add-ons code.
7354
7355 1998-02-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7356
7357         * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
7358         by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
7359         [PR libc/441]
7360
7361         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
7362         occurence in cache.  Reported by Rudolf Leitgeb
7363         <leitgeb@leland.stanford.edu>.
7364         [PR libc/440]
7365
7366 1998-02-01 21:18  Ulrich Drepper  <drepper@cygnus.com>
7367
7368         * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
7369         that it never is EINTR (which is tested for in _IO_vfscanf).
7370
7371         * Makefile.in: Call sub-make with CVSOPTS.
7372
7373         * elf/Makefile (distribute): Add dl-procinfo.h.
7374
7375         * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.
7376
7377 1998-02-01 15:54  Ulrich Drepper  <drepper@cygnus.com>
7378
7379         * version.h (VERSION): Bump to 2.0.92.
7380
7381 1998-01-31  Phil Blundell  <philb@gnu.org>
7382
7383         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
7384         alias for __new_sys_siglist.
7385
7386 1998-02-01 00:53  Ulrich Drepper  <drepper@cygnus.com>
7387
7388         * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
7389         getgrgid_r.c if thread package is available.
7390         * pwd/Makefile: Likewise.
7391         * grp/getgrnam_r.c: Remove USE_NSCD definition.
7392         * grp/getgrgid_r.c: Likewise.
7393         * pwd/getpwnam_r.c: Likewise.
7394         * pwd/getpwuid_r.c: Likewise.
7395
7396 1998-01-31 23:46  Ulrich Drepper  <drepper@cygnus.com>
7397
7398         * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
7399         with error to allow user intervention.
7400         * nss/getXXent_r.c: Likewise.
7401
7402 1998-01-31 21:18  Ulrich Drepper  <drepper@cygnus.com>
7403
7404         * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
7405         AT_PLATFORM string.  Pretty print AT_BASE info.
7406
7407         * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
7408         (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
7409         * sysdeps/generic/dl-procinfo.h: New file.
7410         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
7411
7412 1998-01-31 20:52  Ulrich Drepper  <drepper@cygnus.com>
7413
7414         * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.
7415
7416         * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
7417         thread and not pthread_detach.
7418
7419         * nscd/nscd.c: Rewrite to use argp instead of getopt.
7420
7421 1998-01-31  Phil Blundell  <philb@gnu.org>
7422
7423         * configure.in: Add --without-cvs option to suppress automatic
7424         checkin of regenerated files.
7425         * config.make.in: Likewise.
7426         * Makefile: Respect with-cvs setting.
7427         * Makerules: Likewise.
7428
7429         * configure.in: Allow the standalone ARM port to be configured.
7430
7431 1998-01-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7432
7433         * grp/getgrgid_r.c: Define USE_NSCD.
7434         * grp/getgrnam_r.c: Likewise.
7435         * pwd/getpwuid_r.c: Likewise.
7436         * pwd/getpwnam_r.c: Likewise.
7437
7438         * sysdeps/unix/inet/Subdirs: Add nscd subdir.
7439
7440         * nss/getXXbyYY_r.c: Try at first nscd.
7441
7442         * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
7443         * nscd/connections.c: New file.
7444         * nscd/dbg_log.c: New file.
7445         * nscd/dbg_log.h: New file.
7446         * nscd/grpcache.c: New file.
7447         * nscd/nscd.c: New file.
7448         * nscd/nscd.h: New file.
7449         * nscd/nscd_conf.c: New file.
7450         * nscd/nscd_stat.c: New file.
7451         * nscd/pwdcache.c: New file.
7452
7453         * nscd/nscd_getgr_r.c: New, client code, linked into libc.
7454         * nscd/nscd_getpw_r.c: Likewise.
7455         * nscd/nscd_proto.h: New, prototypes for client functions.
7456
7457         * nscd/nscd.conf: New, example for a configuration file.
7458         * nscd/nscd.init: New, example for a startup script.
7459
7460         * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
7461         avoid deadlocks.
7462         * nscd/getgrnam_r.c: Likewise.
7463         * nscd/getpwnam_r.c: Likewise.
7464         * nscd/getpwuid_r.c: Likewise.
7465
7466 1998-01-31 11:44  Ulrich Drepper  <drepper@cygnus.com>
7467
7468         * intl/Makefile: Use CVSOPTS in cvs invocation.
7469         * po/Makefile: Likewise.
7470         * posix/Makefile: Likewise.
7471         * stdlib/Makefile: Likewise.
7472
7473 1998-01-31 11:18  Ulrich Drepper  <drepper@cygnus.com>
7474
7475         * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
7476         [PR libc/410]
7477         * misc/Makefile (tests): Add tst-efgcvt.
7478         * misc/tst-efgcvt.c: New file.
7479
7480 1998-01-31 00:21  Ulrich Drepper  <drepper@cygnus.com>
7481
7482         * posix/regex.c: Add some more cleanups by Akim Demaille.
7483
7484 1998-01-30 23:55  Ulrich Drepper  <drepper@cygnus.com>
7485
7486         * signal/signal.h: Revert last change.
7487         * string/strsignal.c: Regard signal number NSGI as illegal.
7488         * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
7489         members.
7490
7491 1998-01-30 23:37  Ulrich Drepper  <drepper@cygnus.com>
7492
7493         * Makefile.in: Add comment about CVSOPTS Makefile variable.
7494         * Makerules: Use CVSOPTS in cvs invocation.
7495         * Makefile: Likewise.
7496         * MakeTAGS: Likewise.
7497         * Make-dist: Likewise.
7498
7499 1998-01-30 22:37  Ulrich Drepper  <drepper@cygnus.com>
7500
7501         * sysdeps/generic/memmem.c: Correct last change.
7502
7503 1998-01-30 22:12  Ulrich Drepper  <drepper@cygnus.com>
7504
7505         * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
7506         CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
7507
7508 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7509
7510         * nis/ypclnt.c: Try at first to use the binding file from ypbind
7511         before using RPC.
7512
7513 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7514
7515         * manual/memory.texi (Heap Consistency Checking): mcheck is
7516         declared in <mcheck.h>.
7517         Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
7518
7519 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7520
7521         * sysdeps/generic/memmem.c (memmem): An empty needle is at the
7522         beginning of haystack.
7523
7524 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7525
7526         * nss/nss_files/files-service.c: Correct last patch.
7527
7528 1998-01-30 21:29  Ulrich Drepper  <drepper@cygnus.com>
7529
7530         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
7531         __libc_have_rt_sigs.
7532         * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
7533         including <bits/setjmp.h>.
7534         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
7535         Patch from the Debian glibc/SPARC package.
7536
7537 1997-12-12 07:57  H.J. Lu  <hjl@gnu.org>
7538
7539         * sysdeps/alpha/bzero.S: Fix a typo.
7540         * sysdeps/alpha/htonl.S: Ditto.
7541         * sysdeps/alpha/htons.S: Ditto.
7542
7543 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7544
7545         * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
7546
7547 1998-01-30 19:58  Ulrich Drepper  <drepper@cygnus.com>
7548
7549         * include/cpio.h: Move to ...
7550         * posix/cpio.h: ...here.
7551
7552         * locale/programs/ld-collate.c: Fix typo.
7553
7554         * signal/signal.h: Declare _sys_siglist with NSIG+1 elements.
7555
7556         * stdio-common/tiformat.c: Add checks for %#.0o and friends.
7557
7558         * login/utmp_file.c (pututline_file): Don't always report success
7559         if similar entry is found.  Patch by Mark M. Kettenis.
7560
7561 1998-01-30 16:06  Philip Blundell  <pb@nexus.co.uk>
7562
7563         * manual/Makefile: Don't try to install the info files if makeinfo
7564         is not available.
7565
7566 1998-01-30 12:05  Philip Blundell  <pb@nexus.co.uk>
7567
7568         * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
7569         kernel's network ioctls, rather than using <linux/sockios.h> to
7570         get them.  This way we are sure of maintaining compatibility if
7571         the kernel interface should change.
7572
7573 1998-01-30 15:52  Ulrich Drepper  <drepper@cygnus.com>
7574
7575         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
7576
7577 1998-01-25 19:54  Philip Blundell  <Philip.Blundell@pobox.com>
7578
7579         * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
7580         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
7581
7582 1998-01-27 22:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7583
7584         Implement System V pseudoterminal handling.
7585
7586         * login/Makefile
7587         (routines): Add getpt, grantpt, unlockpt, ptsname.
7588         (libutil-routines): Remove pty. Add openpty, forkpty.
7589         (distribute): New internal header pty-internal.h.
7590         (others): Add the helper program, pt_chown.
7591         (install-others): Install it, in $(libexecdir), mode 4755.
7592
7593         * login/pty-internal.h: New file.
7594         * login/openpty.c: New file.
7595         * login/forkpty.c: New file.
7596         * login/programs/pt_chown.c: New file.
7597
7598         * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
7599         * stdlib/stdlib.h: Prototype them.
7600
7601         * config.make.in: Define $(libexecdir).
7602         * Makeconfig: Define $(inst_libexecdir).
7603
7604         * sysdeps/generic/pty.c: Removed.
7605         * sysdeps/unix/sysv/linux/pty.c: Removed.
7606
7607         * sysdeps/generic/getpt.c: Stub out.
7608         * sysdeps/generic/grantpt.c: Likewise.
7609         * sysdeps/generic/ptsname.c: Likewise.
7610         * sysdeps/generic/unlockpt.c: Likewise.
7611
7612         * sysdeps/unix/grantpt.c: New file.
7613         * sysdeps/unix/bsd/getpt.c: New file.
7614         * sysdeps/unix/bsd/unlockpt.c: New file.
7615         * sysdeps/unix/sysv/linux/getpt.c: New file.
7616         * sysdeps/unix/sysv/linux/ptsname.c: New file.
7617         * sysdeps/unix/sysv/linux/unlockpt.c: New file.
7618
7619 1998-01-29 23:56  Ulrich Drepper  <drepper@cygnus.com>
7620
7621         * localedata/locales/ru_RU: Fix YESEXPR.  Patch by lav@yars.free.net.
7622
7623 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7624
7625         * nss/Makefile (tests): Add rule for test-netdb.c.
7626
7627         * nss/test-netdb.c: New file.
7628
7629 1998-01-29 02:38  Ulrich Drepper  <drepper@cygnus.com>
7630
7631         * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
7632         really kept as a variable.  Patch by Richard Henderson,
7633         reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
7634
7635         * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
7636         * elf/genrtldtbl.awk: Mark machine dependent directory of generated
7637         entries as not existing.
7638
7639 1998-01-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7640
7641         * stdio-common/vfprintf.c (process_arg): Fix printing of octal
7642         zero in alternate form with precision of zero, which must produce
7643         "0".  Add braces to avoid ambiguous `else'.
7644
7645 1998-01-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7646
7647         * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
7648         problem with strncpy.
7649         * nis/nss_compat/compat-pwd.c: Likewise.
7650         * nis/nss_compat/comapt-spwd.c: Likewise.
7651
7652 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7653
7654         * assert/assert.h (assert_perror): Correct test for errnum.  Patch
7655         by uch@nop.or.jp. [PR libc/437]
7656
7657 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7658
7659         * nis/nis_cache.c: Include <unistd.h> for declaration of close.
7660
7661 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7662
7663         * stdio-common/test-popen.c: Include <errno.h>.
7664
7665         * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
7666         close.
7667
7668         * inet/getnetgrent_r.c: Include <errno.h>.
7669
7670         * db2/db/db_conv.c: Include <string.h> for memcpy.
7671
7672         * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
7673         so that memcpy is declared.
7674
7675         * iconv/iconv_open.c: Include <stdlib.h> for alloca.
7676
7677         * misc/init-misc.c: Remove unneeded inclusion of <errno.h>.
7678
7679 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7680
7681         * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
7682         overflow while reading line with fgets.
7683         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
7684
7685 1998-01-27 00:46  Ulrich Drepper  <drepper@cygnus.com>
7686
7687         * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
7688         unsigned short, not short.
7689         Reported by Andreas Jaeger.
7690
7691 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7692
7693         * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
7694         (ccept->accept).
7695
7696         * sysdeps/generic/inttypes.h: Fix spelling.
7697
7698 1998-01-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7699
7700         * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.
7701
7702         * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
7703
7704 1998-01-27 00:30  Ulrich Drepper  <drepper@cygnus.com>
7705
7706         * stdio-common/printf.h (struct print_info): Add new bitfield is_char.
7707         * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
7708         field for hh modifier.
7709         * stdio-common/vfprint.c: Use is_char field and do not depend in
7710         is_short having the value 2.
7711         Bug reported by Andreas Jaeger.
7712
7713 1998-01-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7714
7715         * libio/freopen.c (freopen): Call _IO_old_freopen only if defined
7716         PIC && DO_VERSIONING.
7717
7718 1998-01-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7719
7720         * Rules: Add rules for $(common-objpfx)dummy$o.
7721
7722 1998-01-26  Richard Henderson  <rth@cygnus.com>
7723
7724         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
7725         unimplemented OSF/1 definitions so that they are not accidentally seen.
7726
7727         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
7728         of the trampoline function into the macro.
7729         * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
7730         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
7731         kernel 2.1.82 has this fixed.
7732
7733         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
7734         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
7735
7736 1998-01-26  Ulrich Drepper  <drepper@cygnus.com>
7737
7738         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
7739         support sigaction on kernels > 2.1.7x.
7740
7741 1998-01-01 13:52  Ulrich Drepper  <drepper@cygnus.com>
7742
7743         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
7744         if it is empty.
7745
7746         * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
7747         Patch by David Engel <david@sw.ods.com>.
7748
7749         * configure.in: Fix another typo in --enable-add-ons code.
7750
7751 1998-01-26 03:48  Ulrich Drepper  <drepper@cygnus.com>
7752
7753         * sysdeps/unix/sysv/linux/siglist.c: Add copyright text.
7754
7755 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7756
7757         * nss/nss_files/files-network.c: Correct order of parameters for
7758         getnetbyaddr.
7759
7760 1998-01-26 00:57  Ulrich Drepper  <drepper@cygnus.com>
7761
7762         * db2/Makefile (routines): Add os_alloc.
7763         * db2/db.h: Update from db-2.3.16.
7764         * db2/db_185.h: Likewise.
7765         * db2/db_int.h: Likewise.
7766         * db2/btree/bt_close.c: Likewise.
7767         * db2/btree/bt_cursor.c: Likewise.
7768         * db2/btree/bt_delete.c: Likewise.
7769         * db2/btree/bt_open.c: Likewise.
7770         * db2/btree/bt_page.c: Likewise.
7771         * db2/btree/bt_put.c: Likewise.
7772         * db2/btree/bt_rec.c: Likewise.
7773         * db2/btree/bt_recno.c: Likewise.
7774         * db2/btree/btree_auto.c: Likewise.
7775         * db2/common/db_appinit.c: Likewise.
7776         * db2/common/db_apprec.c: Likewise.
7777         * db2/common/db_err.c: Likewise.
7778         * db2/common/db_region.c: Likewise.
7779         * db2/common/db_shash.c: Likewise.
7780         * db2/db/db.c: Likewise.
7781         * db2/db/db_auto.c: Likewise.
7782         * db2/db/db_conv.c: Likewise.
7783         * db2/db/db_dispatch.c: Likewise.
7784         * db2/db/db_dup.c: Likewise.
7785         * db2/db/db_pr.c: Likewise.
7786         * db2/db/db_rec.c: Likewise.
7787         * db2/db185/db185.c: Likewise.
7788         * db2/dbm/dbm.c: Likewise.
7789         * db2/hash/hash.c: Likewise.
7790         * db2/hash/hash_auto.c: Likewise.
7791         * db2/hash/hash_dup.c: Likewise.
7792         * db2/hash/hash_page.c: Likewise.
7793         * db2/hash/hash_rec.c: Likewise.
7794         * db2/include/btree_ext.h: Likewise.
7795         * db2/include/clib_ext.h: Likewise.
7796         * db2/include/common_ext.h: Likewise.
7797         * db2/include/db.h.src: Likewise.
7798         * db2/include/db_185.h.src: Likewise.
7799         * db2/include/db_am.h: Likewise.
7800         * db2/include/db_ext.h: Likewise.
7801         * db2/include/db_int.h.src: Likewise.
7802         * db2/include/hash_ext.h: Likewise.
7803         * db2/include/lock_ext.h: Likewise.
7804         * db2/include/log.h: Likewise.
7805         * db2/include/log_auto.h: Likewise.
7806         * db2/include/log_ext.h: Likewise.
7807         * db2/include/mp.h: Likewise.
7808         * db2/include/mp_ext.h: Likewise.
7809         * db2/include/mutex_ext.h: Likewise.
7810         * db2/include/os_ext.h: Likewise.
7811         * db2/include/os_func.h: Likewise.
7812         * db2/include/txn_ext.h: Likewise.
7813         * db2/lock/lock.c: Likewise.
7814         * db2/lock/lock_util.c: Likewise.
7815         * db2/log/log.c: Likewise.
7816         * db2/log/log.src: Likewise.
7817         * db2/log/log_archive.c: Likewise.
7818         * db2/log/log_auto.c: Likewise.
7819         * db2/log/log_get.c: Likewise.
7820         * db2/log/log_put.c: Likewise.
7821         * db2/log/log_rec.c: Likewise.
7822         * db2/log/log_register.c: Likewise.
7823         * db2/mp/mp_bh.c: Likewise.
7824         * db2/mp/mp_fget.c: Likewise.
7825         * db2/mp/mp_fopen.c: Likewise.
7826         * db2/mp/mp_fput.c: Likewise.
7827         * db2/mp/mp_pr.c: Likewise.
7828         * db2/mp/mp_sync.c: Likewise.
7829         * db2/mutex/mutex.c: Likewise.
7830         * db2/os/os_alloc.c: Likewise.
7831         * db2/os/os_config.c: Likewise.
7832         * db2/os/os_stat.c: Likewise.
7833         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
7834         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
7835         * db2/progs/db_load/db_load.c: Likewise.
7836         * db2/progs/db_printlog/db_printlog.c: Likewise.
7837         * db2/progs/db_recover/db_recover.c: Likewise.
7838         * db2/progs/db_stat/db_stat.c: Likewise.
7839         * db2/txn/txn.c: Likewise.
7840
7841         * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
7842         Unmap memory blocks in reverse order of allocation.
7843         Call munmap with load address added to offset.
7844         Bug reported by Miguel de Icaza.
7845
7846         * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
7847         up weight array.
7848
7849         * localedata/locales/cs_CZ: Update by Michael Mraka
7850         <michael@informatics.muni.cz>.
7851
7852         * misc/sys/syslog.h: Reformat a bit.  Don't declare vsyslog unless
7853         __USE_BSD.
7854
7855         * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
7856         reading line with fgets.
7857         * nis/nss_compat/compat-pwd.c: Likewise.
7858         * nis/nss_compat/compat-spwd.c: Likewise.
7859         * nss/nss_files/files-XXX.c: Likewise.
7860         * nss/nss_files/files-alias.c: Likewise.
7861         * shadow/fgetspent_r.c: Likewise.
7862
7863         * string/strerror_r.c: Correct comment.  Patch by Andreas Jaeger.
7864
7865         * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
7866         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
7867         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
7868
7869         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
7870         FP register content in ucontext_t.
7871
7872 1998-01-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7873
7874         * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
7875         calculation.  Patch by Markus Schoder
7876         <Markus.Schoder@dresdner-bank.de>.
7877
7878         * math/libm-test.c (modf_test): Add more tests for modf.
7879
7880         * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
7881         munlock according to Unix98.
7882
7883 1998-01-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7884
7885         * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
7886         AF_INET.
7887
7888 1998-01-21 07:22  H.J. Lu  <hjl@gnu.org>
7889
7890         * sysdeps/posix/ttyname.c: Handle symbolic links.
7891         * sysdeps/posix/ttyname_r.c: Ditto.
7892
7893 1998-01-25 19:39  Ulrich Drepper  <drepper@cygnus.com>
7894
7895         * db2/makedb.c (process_input): Write terminating \0 for value.
7896         (print_database): Simply print value string, don't use length.
7897
7898 1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7899
7900         * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
7901         exit of loop.
7902
7903 1998-01-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7904
7905         * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
7906         close all sockets.
7907
7908 1998-01-25 14:54  Ulrich Drepper  <drepper@cygnus.com>
7909
7910         * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
7911         sigset.
7912         * signal/sighold.c: New file.
7913         * signal/sigrelse.c: New file.
7914         * sysdeps/generic/sigignore.c: New file.
7915         * sysdeps/generic/sigset.c: New file.
7916         * sysdeps/posix/sigignore.c: New file.
7917         * sysdeps/posix/sigset.c: New file.
7918         * signal/signal.h: Add prototypes for new functions.
7919
7920         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
7921         * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
7922         * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
7923         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
7924
7925 1998-01-23 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
7926
7927         * posix/wordexp.c: Added IFS field-splitting in parameter and
7928         command substitution.  Fixed an IFS-related bug that caused an
7929         infinite loop.
7930
7931 1998-01-25 12:38  Ulrich Drepper  <drepper@cygnus.com>
7932
7933         * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
7934         and swapcontext.
7935         * stdlib/ucontext.h: Correct prototypes.
7936         * sysdeps/generic/getcontext.c: New file.
7937         * sysdeps/generic/setcontext.c: New file.
7938         * sysdeps/generic/makecontext.c: New file.
7939         * sysdeps/generic/swapcontext.c: New file.
7940         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
7941
7942 1998-01-25 04:07  Ulrich Drepper  <drepper@cygnus.com>
7943
7944         * resource/sys/resource.h: Remove #include of ulimit.h which is
7945         not allowed by SUSv2 and not available on other systems.
7946         * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
7947
7948         * streams/Makefile: New file.
7949         * streams/stropts.h: New file.
7950         * sysdeps/generic/bits/stropts.h: New file.
7951         * sysdeps/generic/isastream.c: New file.
7952         * sysdeps/generic/getmsg.c: New file.
7953         * sysdeps/generic/getpmsg.c: New file.
7954         * sysdeps/generic/putmsg.c: New file.
7955         * sysdeps/generic/putpmsg.c: New file.
7956         * sysdeps/generic/fattach.c: New file.
7957         * sysdeps/generic/fdetach.c: New file.
7958         * sysdeps/unix/inet/Subdirs: Add streams.
7959         * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
7960         __t_uscalar_t.
7961         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
7962         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
7963         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
7964         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
7965
7966         * sysdeps/mach/_strerror.c: Follow changes of generic version to
7967         handle small buffers correctly.
7968
7969 1998-01-24 17:31  H.J. Lu  <hjl@gnu.org>
7970
7971         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
7972         Remove the 3rd arg and add declaration for _dl_runtime_resolve
7973         and _dl_runtime_profile.
7974
7975 1998-01-25 02:42  Ulrich Drepper  <drepper@cygnus.com>
7976
7977         * include/cpio.h: New file.  Mainly copied from GNU cpio.
7978         * posix/Makefile (headers): Add cpio.h.
7979
7980 1998-01-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7981
7982         * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
7983         to routines.
7984         * nis/nis_cache.c: New file.
7985         * nis/nis_cache2.h: New file.
7986         * nis/nis_cache2_xdr.c: New file.
7987         * nis/nis_call.c: Changes for cache2_info parameter.
7988         * nis/nis_checkpoint.c: Likewise.
7989         * nis/nis_intern.h: Likewise.
7990         * nis/nis_mkdir.c: Likewise.
7991         * nis/nis_ping.c: Likewise.
7992         * nis/nis_rmdir.c: Likewise.
7993         * nis/nis_server.c: Likewise.
7994         * nis/nis_util.c: Likewise.
7995
7996 1997-12-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7997
7998         * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
7999         return/errnop codes.
8000         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
8001         * nis/nss_nisplus/nisplus-grp.c: Likewise.
8002         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
8003         * nis/nss_nisplus/nisplus-proto.c: Likewise.
8004         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
8005         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
8006         * nis/nss_nisplus/nisplus-rpc.c: Likewise
8007         * nis/nss_nisplus/nisplus-service.c: Likewise.
8008         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
8009
8010 1997-12-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8011
8012         * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
8013         * nis/nss_nis/nis-ethers.c: Likewise.
8014         * nis/nss_nis/nis-grp.c: Likewise.
8015         * nis/nss_nis/nis-hosts.c: Likewise.
8016         * nis/nss_nis/nis-network.c: Likewise.
8017         * nis/nss_nis/nis-proto.c: Likewise.
8018         * nis/nss_nis/nis-hosts.c: Likewise.
8019         * nis/nss_nis/nis-network.c: Likewise.
8020         * nis/nss_nis/nis-proto.c: Likewise.
8021         * nis/nss_nis/nis-publickey.c: Likewise.
8022         * nis/nss_nis/nis-pwd.c: Likewise.
8023         * nis/nss_nis/nis-rpc.c: Likewise.
8024         * nis/nss_nis/nis-service.c: Likewise.
8025         * nis/nss_nis/nis-spwd.c: Likewise.
8026
8027 1998-01-24  Ulrich Drepper  <drepper@cygnus.com>
8028
8029         * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
8030         Added to follow latest kernel development.
8031
8032 1998-01-24 15:13  Ulrich Drepper  <drepper@happy.cygnus.com>
8033
8034         * nss/db-Makefile: Handle empty and comment lines better.
8035         ($(VAR_DB)/services.db): Generate entries with missing protocol
8036         value.
8037
8038 1998-01-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8039
8040         * nss/nss_files/files-service.c (getservbyport): Allow proto ==
8041           NULL.
8042           (getservbyname): Allow proto == NULL.
8043           Pointed out by David N. Welton <davidw@gate.cks.com>.
8044           [PR libc/430].
8045
8046 1998-01-24 11:34  Ulrich Drepper  <drepper@happy.cygnus.com>
8047
8048         * nis/nislib/nislib.h: Finally removed.
8049
8050         * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
8051         C compiler.  From Kaveh Ghazi.
8052         (TYPE_MINIMUM): Define.
8053         (TYPE_MAXIMUM): Define.
8054         (TIME_T_MIN): Use TYPE_MINIMUM.
8055         (TIME_T_MAX): Use TYPE_MAXIMUM.
8056         Patch by Jim Meyering <meyering@ascend.com>.
8057
8058 1998-01-22 00:55  Ulrich Drepper  <drepper@happy.cygnus.com>
8059
8060         * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
8061         __pread64, __pwrite64, and __getpid.
8062
8063         * rt/aio_misc.c: Use pread and pwrite instead of __ protected
8064         versions.
8065
8066 1998-01-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8067
8068         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
8069         cancelable socket functions as __libc_xxx with __xxx as weak
8070         alias.
8071         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8072         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8073
8074         * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
8075         redefined.
8076         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8077         * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
8078         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
8079         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
8080
8081         * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
8082         and __xxx a weak alias.
8083         * sysdeps/unix/sysv/linux/connect.S: Likewise.
8084         * sysdeps/unix/sysv/linux/recv.S: Likewise.
8085         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
8086         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
8087         * sysdeps/unix/sysv/linux/send.S: Likewise.
8088         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
8089         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
8090
8091 1998-01-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8092
8093         * locale/langinfo.h: Add defines.
8094
8095         * dirent/dirent.h: Add defines for DT_*, check also for
8096         _DIRENT_HAVE_D_TYPE.
8097         Suggested by Roland McGrath.
8098
8099 1998-01-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8100
8101         * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
8102         Update from Linux 2.1.73+79.
8103
8104         * README.template: Update information about possible
8105         configurations.
8106
8107         * manual/mbyte.texi (Wide String Conversion): Fix declaration of
8108         wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
8109         [PR libc/417].
8110
8111         * manual/time.texi (Priority): Correct description of
8112         PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
8113         [PR libc/416].
8114
8115 11998-01-21 21:34  Ulrich Drepper  <drepper@cygnus.com>
8116
8117         * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
8118         FP_ILOGNAN.   Patch by a sun <asun@zoology.washington.edu>.
8119
8120 1998-01-21 17:53  Ulrich Drepper  <drepper@cygnus.com>
8121
8122         * sysdeps/generic/_strerror.c: Handle BUFLEN == 0.  Reported by
8123         Andreas Jaeger.
8124
8125 1998-01-20 18:13  Ulrich Drepper  <drepper@cygnus.com>
8126
8127         * locale/programs/ld-collate.c: Little optimizations.
8128
8129         * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
8130
8131         * string/Makefile (tests): Add tst-inlcall.
8132         * string/tst-inlcall.c: New file.
8133
8134         * string/strsignal.c: Add support for real-time signals.
8135
8136         * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
8137         presense of small buffer.
8138
8139         * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
8140
8141         * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
8142         for i686.
8143
8144         * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
8145         _NSIG + 1.
8146
8147 1998-01-02 15:10  Matthias Urlichs   <urlichs@noris.de>
8148
8149         * Rules: Add explicit rule for dummy.o; at least one library needs
8150           it and it isn't autogenerated by the default rules.
8151
8152 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8153
8154         * math/libm-test.c: Tweak epsilons.
8155
8156 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8157
8158         * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
8159         child.
8160         (feenv_mask_test): Likewise.
8161
8162 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8163
8164         * Makeconfig: Don't export CPPFLAGS.
8165
8166 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8167
8168         * sunrpc/rpc_main.c (parseargs): Use perror to print error
8169         message.
8170
8171 1998-01-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8172
8173         * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
8174         terminating null in key size.
8175
8176 1998-01-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8177
8178         * nss/nss_files/files-service.c: Fix allocation size to include
8179         length of PROTO.
8180
8181         * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
8182         applicable.  Fix return value and error checking.
8183         (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
8184         unparsable lines.
8185         (DB_LOOKUP): Allocate space for terminating null byte.
8186
8187         * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
8188         uids specially.
8189
8190         * db2/makedb.c (process_input): Continue processing if a duplicate
8191         key is encountered.
8192
8193 1998-01-19 15:20  Ulrich Drepper  <drepper@cygnus.com>
8194
8195         * time/tzfile.h: Updated from tzcode1998b.
8196         * time/zdump.c: Likewise.
8197         * time/zic.c: Likewise.
8198         * time/africa: Update from tzdata1998b.
8199         * time/antarctica: Likewise.
8200         * time/asia: Likewise.
8201         * time/australasia: Likewise.
8202         * time/etcetera: Likewise.
8203         * time/europe: Likewise.
8204         * time/leapseconds: Likewise.
8205         * time/northamerica: Likewise.
8206         * time/southamerica: Likewise.
8207
8208 1998-01-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8209
8210         * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
8211         lookups ignoring case.
8212         * nss/nss_files/files-network.c: Do network lookups ignoring
8213         case.
8214         * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
8215         case.
8216         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
8217         case insensitive comparing.
8218         Patches by Cristian Gafton <gafton@redhat.com>.
8219
8220 1998-01-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8221
8222         * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines.  Suggested
8223         by Roland McGrath. [PR libc/395]
8224
8225 1998-01-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8226
8227         * manual/arith.texi (Parsing of Integers): Correct description of
8228         strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
8229         [PR libc/396]
8230
8231 1997-12-30 14:14  Matthias Urlichs  <urlichs@noris.de>
8232
8233         * misc/lsearch.c (lsearch): Return a pointer to the new element
8234         if one was "allocated".
8235
8236 1997-12-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8237
8238         * string/strsignal.c: NSIG is not a valid index into
8239         _sys_siglist.  Don't zap the last character of the "Unknown
8240         signal" message.
8241
8242 1998-01-19 15:08  Ulrich Drepper  <drepper@cygnus.com>
8243
8244         * locale/programs/charmap.c (parse_charmap): Correct parsing of
8245         ellipsis expressions.
8246
8247         * locale/programs/charset.c (insert_char): Correctly insert value
8248         of eliipsis expression.
8249
8250 1997-12-28 15:08  Ulrich Drepper  <drepper@cygnus.com>
8251
8252         * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
8253         <bits/setjmp.h>.
8254         * sysdeps/powerpc/setjmp.S: Likewise.
8255         Patches by Matt McLean <keys@keys.got.net>.
8256
8257         * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
8258
8259         * Makefile: Undo last patch.
8260         (distribute): Add test-installation.pl.
8261
8262         * configure.in: Correct handling of --enable-add-ons without parameter.
8263         Correct address of WWW pages.
8264
8265         * libc.map: Add _nl_domain_bindings.
8266
8267         * db2/mutex/tsl_parisc.s: New file.
8268
8269         * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
8270         and extra-module.mk.
8271
8272         * localedata/Makefile (distribute): New.  Add all the files.
8273
8274         * stdlib/Makefile (headers): Add inttypes.h.
8275         (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
8276         * sysdeps/generic/inttypes.h: New file.
8277         * sysdeps/generic/strtoimax.c: New file.
8278         * sysdeps/generic/strtoumax.c: New file.
8279         * sysdeps/generic/wcstoimax.c: New file.
8280         * sysdeps/generic/wcstoumax.c: New file.
8281         * sysdeps/wordsize-32/Dist: Removed.
8282         * sysdeps/wordsize-32/Makefile: Removed.
8283         * sysdeps/wordsize-64/Dist: Removed.
8284         * sysdeps/wordsize-64/Makefile: Removed.
8285         * sysdeps/generic/bits/environments.h: New file.
8286
8287         * include/limits.h: Define MB_LEN_MAX in any case to 6.  The gcc
8288         header is still not correct.
8289
8290         * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
8291         * posix/unistd.h: Likewise.
8292         * sysdeps/generic/sys/mman.h: Likewise.
8293         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
8294
8295         * manual/arith.texi: Change definition of mul macro.
8296         * manual/math.texi: Likewise.
8297
8298         * misc/Makefile (routines): Add mmap64.
8299         * sysdeps/generic/mmap64.c: New file.
8300         * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
8301         * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
8302         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
8303         aliases to mmap.
8304         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8305
8306         * sysdeps/generic/setrlimit64.c: Don't mark as stub.
8307
8308         * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
8309
8310         * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
8311
8312         * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
8313         FOPEN_MAX also when included by limits.h.
8314         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
8315
8316         * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
8317         and netrom/netrom.h.
8318         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
8319         oldsiglist to sysdep_routines, not aux.
8320         [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
8321
8322         * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
8323         and SOL_NETROM definition.
8324
8325         * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
8326
8327         * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
8328         * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
8329
8330 1997-12-25  Ulrich Drepper  <drepper@cygnus.com>
8331
8332         * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
8333
8334         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
8335         sa_handler with k_sa_handler.
8336         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
8337         strong alias.
8338         Reported by a sun.
8339
8340         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
8341         __libc_have_rt_sigs here.
8342         * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
8343         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8344         * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
8345         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8346
8347 1997-12-11 07:51  Geoff Keating  <geoffk@ozemail.com.au>
8348
8349         * sysdeps/powerpc/atomicity.h: New file.
8350         * sysdeps/mach/powerpc/machine-lock.h: New file.
8351
8352         * Rules: Use -fpic to build anything that might end up in a users'
8353         shared library.
8354
8355         * sysdeps/powerpc/s_fdim.c: New file.
8356         * sysdeps/powerpc/s_fdimf.c: New file.
8357         * sysdeps/powerpc/s_fmax.S: New file.
8358         * sysdeps/powerpc/s_fmaxf.S: New file.
8359         * sysdeps/powerpc/s_fmin.S: New file.
8360         * sysdeps/powerpc/s_fminf.S: New file.
8361         * sysdeps/powerpc/s_llrint.c: Now is for double.
8362         * sysdeps/powerpc/s_llrintf.c: New file.
8363         * sysdeps/powerpc/s_llround.c: Now is for double.
8364         * sysdeps/powerpc/s_llroundf.c: New file.
8365         * sysdeps/powerpc/s_lrint.c: Now is for double.
8366         * sysdeps/powerpc/s_lrintf.S: New file.
8367         * sysdeps/powerpc/s_lround.c: Now is for double.
8368         * sysdeps/powerpc/s_lroundf.c: New file.
8369         * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
8370         lrintf, fdim, fdimf.
8371
8372         * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
8373         file directly, use its parent.
8374
8375         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
8376         (for the third time).
8377
8378 1997-12-20 13:50  Richard Henderson  <rth@cygnus.com>
8379
8380         * posix/sched.h: timespec is in <time.h>.
8381
8382         * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
8383
8384 1997-12-22 18:10  Ulrich Drepper  <drepper@cygnus.com>
8385
8386         * configure.in: Stop with error if --disable-static is used when
8387         the shared lib uses this library.
8388
8389         * gen-FAQ.pl: I've perl installed in /usr/bin.
8390
8391         * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
8392
8393         Fix Unix98 conformance problems in the headers.
8394         * catgets/nl_types.h: Define nl_item.
8395         * grp/grp.h: Define gid_t.
8396         * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
8397         * include/nl_types.h: New file.
8398         * include/ulimit.h: New file.
8399         * io/fcntl.h: Include sys/stat.h for Unix98.  Don't define locking
8400         constants in POSIX mode.
8401         * io/utime.h: Get definition for time_t.
8402         * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
8403         uid_t, pid_t.  Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
8404         * libio/stdio.h: Define va_list.  Make snprintf also available is
8405         __USE_UNIX98.  Declare getopt function and variables.
8406         * locale/langinfo.h: Include nl_types.h.  Don't define nl_item.
8407         Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
8408         * math/math.h: Defined M_* constants as double for Unix98 mode.
8409         * posix/fnmatch.h: Pretty print.  Define FNM_NOSYS.
8410         * posix/glob.h: Pretty print.  Define GLOB_NOSYS.
8411         * posix/regex.h: Define REG_NOSYS.
8412         * posix/wordexp.h: Define WRDE_NOSYS.
8413         * posix/unistd.h: Define _POSIX2_VERSION.  Define _XOPEN_VERSION to
8414         500 for Unix98.
8415         * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
8416         somewhere else as well.  Define clock_t for Unix98.
8417         * posix/sys/wait.h: Define pid_t.
8418         * pwd/pwd.h: Define gid_t, uid_t.
8419         * resource/Makefile (headers): Add ulimit.h.
8420         * resource/ulimit.h: New file.
8421         * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
8422         instead of second argument.
8423         * sysdeps/unix/bsd/ulimit.c: Likewise.  Use UL_* constants.
8424         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
8425         * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
8426         * signal/signal.h: Define pid_t.
8427         * string/string.h: Don't declare BSD string functions in POSIX mode.
8428         * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE.  Add
8429         _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
8430         * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
8431         and POSIX.
8432
8433         * inet/test_ifindex.c: Change test so that it does not fail for
8434         interface aliases.
8435
8436         * locale/programs/locale.c (show_info): Use correct cast sequence
8437         for 64bit machines.
8438
8439         * malloc/malloc.c: __malloc_initialized now signals three states:
8440         uninitialized, initializing, initialized.  Used in mcheck.
8441         * malloc/mcheck.c (mabort): Add '\n' to messages.
8442         (mcheck): Allow installation when malloc is uninitialized or is
8443         just initializing.
8444
8445         * manual/memory.texi: Explain mtrace output a bit more.
8446
8447         * math/libm-test.c: Add more epsilons.
8448
8449         * misc/regexp.h (compile): Remove __ prefix from parameter names.
8450
8451         * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
8452         instead of strcpy for security.
8453         * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
8454         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
8455         * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
8456
8457         * nss/digits_dots.c: Pretty print.
8458
8459         * posix/getconf.c (vars): Add symbols for programming environment
8460         recognition.  Recognize --version.
8461
8462         * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
8463         _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
8464         * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
8465
8466         * sysdeps/generic/bits/stdio_lim.h: Implement handling of
8467         __need_FOPEN_MAX.
8468         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
8469         * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
8470         __need_FOPEN_MAX.
8471
8472         * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
8473         * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
8474
8475         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
8476         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
8477         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
8478         * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
8479         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8480         * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
8481
8482         * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
8483         SCNu*.
8484         * sysdeps/wordsize-64/inttypes.h: Likewise.
8485
8486         * time/africa: Update from tzdata1997j.
8487         * time/antarctica: Likewise.
8488         * time/asia: Likewise.
8489         * time/australasia: Likewise.
8490         * time/backward: Likewise.
8491         * time/etcetera: Likewise.
8492         * time/europe: Likewise.
8493         * time/factory: Likewise.
8494         * time/northamerica: Likewise.
8495         * time/pacificnew: Likewise.
8496         * time/southamerica: Likewise.
8497
8498         * time/tzfile.h: Update from tzcode1997h.
8499         * time/zic.c: Likewise.
8500
8501         * wcsmbs/wchar.h: Get definition of FILE.  Define `struct tm' tag.
8502         Declare wcwidth and wcswidth for __USE_XOPEN.  Declare the
8503         isw*() functions for Unix98.
8504         * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
8505         * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
8506         is defined.
8507
8508 1997-12-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8509
8510         * locale/duplocale.c: Increase usage_count only if less than
8511         MAX_USAGE_COUNT.
8512         * locale/freelocale.c: Test usage_count against UNDELETABLE, not
8513         MAX_USAGE_COUNT.
8514         * locale/setlocale.c: Likewise.
8515
8516 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8517
8518         * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
8519         dependency to make it easier to install it selectively.
8520
8521         * Makerules (.SUFFIXES): Don't define any suffixes.
8522
8523 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8524
8525         * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
8526         * sysdeps/generic/statfs64.c: Emulate using statfs.
8527         * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
8528         * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
8529         * sysdpes/generic/ftruncate64.c: New file.
8530         * sysdpes/generic/truncate64.c: New file.
8531
8532         * sysdeps/generic/bits/stat.h: Add LFS support.
8533         * sysdeps/generic/bits/statfs.h: Likewise.
8534
8535         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
8536         [__USE_FILE_OFFSET64]: Make long long constant.
8537         (RLIM64_INFINITY): Likewise.
8538
8539         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
8540         for LFS support.
8541         (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
8542         * sysdeps/generic/bits/resource.h: Likewise.
8543
8544         * misc/Makefile (routines): Add truncate64 and ftruncate64.
8545
8546         * include/features.h: Don't prevent LFS support from defining BSD
8547         and SYSV things.
8548
8549         * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
8550         * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
8551         * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
8552
8553         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
8554         fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
8555         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8556
8557         * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
8558         * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
8559         * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
8560         * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
8561         * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
8562         * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
8563         * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
8564         * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
8565         * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
8566         * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
8567         * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
8568         * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
8569         * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
8570         * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
8571         * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
8572         * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
8573         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
8574         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
8575         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
8576         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
8577
8578         * sysdeps/unix/sysv/linux/fxstat64.c: New file.
8579         * sysdeps/unix/sysv/linux/lxstat64.c: New file.
8580         * sysdeps/unix/sysv/linux/xstat64.c: New file.
8581         * sysdeps/unix/sysv/linux/readdir64.c: New file.
8582         * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
8583
8584         * sysdeps/unix/sysv/linux/getdents64.c: New file.
8585         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
8586         [$(subdir)=dirent]: Add getdents64.
8587         * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
8588
8589         * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
8590
8591 1997-12-18 12:07  Philip Blundell  <pb@nexus.co.uk>
8592
8593         * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
8594
8595         * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
8596         * sysdeps/generic/getrlimit64.c: Likewise.
8597         * sysdeps/generic/setrlimit.c: Likewise.
8598         * sysdeps/generic/setrlimit64.c: Likewise.
8599
8600 1997-12-17 13:57  Philip Blundell  <pb@nexus.co.uk>
8601
8602         * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
8603         using versioning.
8604
8605         * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
8606
8607         * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
8608
8609 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8610
8611         * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
8612         after the codeset name.
8613
8614 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8615
8616         * libc.map: Add get_kernel_syms.
8617
8618 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8619
8620         * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
8621         static.
8622         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
8623         Likewise.  Fix condition.
8624
8625 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8626
8627         * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
8628
8629 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8630
8631         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
8632         Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
8633
8634 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8635
8636         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
8637         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
8638         instead.  Oops.
8639
8640 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8641
8642         * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
8643
8644 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8645
8646         * math/libm-test.c (catanh_test): Change epsilon.
8647         Reported by H.J. Lu.
8648
8649 1997-12-14 19:39  H.J. Lu  <hjl@gnu.org>
8650
8651         * libc.map (__getpid): Added for linuxthreads.
8652
8653 1997-12-13 21:09  H.J. Lu  <hjl@gnu.org>
8654
8655         * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
8656         it if gcc uses static variable in DWARF2 unwind information
8657         for exception support.
8658
8659         * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
8660
8661         * elf/soinit.c (__libc_global_ctors, _fini): Handle
8662         HAVE_DWARF2_UNWIND_INFO_STATIC.
8663
8664         * libc.map (__register_frame*, __deregister_frame*): Make them
8665         global.
8666
8667 1997-12-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8668
8669         * math/libm-test.c: Add more tests for "normal" values.
8670
8671 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8672
8673         * stdio-common/printf_fphex.c: Fix printing of long double number
8674         with a biased exponent of zero.  Fix rounding.
8675
8676 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8677
8678         * sunrpc/rpc_main.c: Accept new flag -$.
8679         * sunrpc/Makefile (rpcgen-cmd): Pass it here.
8680
8681 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8682
8683         * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
8684         dynamic linker first, in case the interface has changed.
8685
8686 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8687
8688         * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
8689         order.
8690
8691 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8692
8693         * math/tgmath.h: Check for double first, for architectures where
8694         sizeof (long double) == sizeof (double).
8695
8696 1997-12-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8697
8698         * math/libm-test.c: New tests for "normal" values added for most
8699         functions.
8700
8701 1997-12-14 21:33  Ulrich Drepper  <drepper@cygnus.com>
8702
8703         * version.h (VERSION): Bump to 2.0.91.
8704
8705         * db2/makedb.c (process_input): Fix typo in message.
8706         * sunrpc/rpcinfo.c (pmapdump): Unify messages.
8707
8708         * elf/dynamic-link.h: Pretty print.
8709
8710         * elf/rtld.c: Allow multiple preloading of a shared object.
8711
8712         * include/limits.h: Prevent multiple inclusion.
8713
8714         * malloc/Makefile (headers): Add mcheck.h.
8715         (distribute): Remove it here.
8716         * malloc/mcheck.h: Pretty print.
8717         * malloc/mtrace.c (mallenv): Make `const'.
8718         * malloc/mtrace.pl: Don't print table head for memory leaks if there
8719         are none.
8720         * manual/memory.texi: Update descriptor of malloc hooks.
8721
8722         * posix/Makefile (routines): Add waitid.
8723         * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
8724         on __id_t.
8725         * posix/sys/wait.h: Define idtype_t type.
8726         Add prototype for waitid.
8727         * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
8728         * sysdeps/generic/waitid.c: Stub for waitid.
8729         * sysdeps/generic/bits/siginfo.h: Define sigval_t.  Arrange to work
8730         the __need_siginfo_t defined.
8731         * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
8732         * sysdeps/generic/bits/types.h: Define __id_t.
8733         Correct definition of __FDMASK.
8734         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
8735         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
8736         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
8737
8738         * sysdeps/posix/waitid.c: New file.
8739         Provided by Zack Weinberg.
8740
8741         * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
8742
8743         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
8744         Add missing parameters.
8745
8746         * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
8747         * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
8748         * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
8749         * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
8750         initialized.
8751
8752         * sysdeps/i386/dl-machine.h: Little cleanup.
8753
8754         * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
8755         (__finite): Mark function as const.
8756         Add inline code for __ieee754_atan2.
8757
8758         * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
8759         (but don't use it now).
8760         * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
8761         __atan.
8762         * sysdeps/libm-ieee754/s_catanf.c: Likewise.
8763         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
8764         * sysdeps/libm-ieee754/s_catanh.c: Likewise.  Correct sign of
8765         real part.
8766         * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
8767         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
8768         * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
8769         __ieee754_atan2 to base 10.
8770         * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
8771         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
8772
8773         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
8774         old_kernel_sigaction.
8775
8776         * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
8777
8778         * wctype/Makefile (routines): Add wctype_l.
8779         * wctype/wctype.h: Add declaration of __wctype_l.
8780         * wctype/wctype_l.c: New file.
8781
8782 1997-12-10 00:38  Ulrich Drepper  <drepper@cygnus.com>
8783
8784         * locale/C-ctype.c: Correct data for isw* functions.
8785         * locale/programs/ld-ctype.c: Write 32bit char classes in correct
8786         byte order.
8787         * wctype/test_wctype.c: Add test for isw* functions.
8788         * wctype/wctype.c: Return value with expected byte order.
8789
8790 1997-12-13  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8791
8792         * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
8793
8794 1997-12-05 20:19  H.J. Lu  <hjl@gnu.org>
8795
8796         * iconvdata/Makefile: Fix a typo.
8797
8798         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
8799         oldsiglist for shared library.
8800
8801         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
8802         sys_sigabbrev): Make them as the default version GLIBC_2.1.
8803
8804         * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
8805         sys_siglist, sys_sigabbrev): New file. Make them as the old
8806         version GLIBC_2.0.
8807
8808         * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
8809         to GLIBC_2.1.
8810
8811 1997-11-20 18:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
8812
8813         * libio/iofgets.c (_IO_fgets): Return an error only if there
8814         is a new error.
8815         * libio/iogets.c (_IO_gets): Ditto.
8816
8817 1997-11-20 07:26  H.J. Lu  <hjl@gnu.ai.mit.edu>
8818
8819         * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
8820
8821         * libio/Makefile (routines, shared-only-routines): Add
8822         oldiofdopen.
8823
8824         * libio/fileops.c: Don't use _IO_FILE_complete.
8825         * libio/iofdopen.c: Ditto.
8826         * libio/iofopen.c: Ditto.
8827         * libio/iofopen64.c: Ditto.
8828         * libio/iopopen.c: Ditto.
8829         * libio/iovdprintf.c: Ditto.
8830
8831         * libio/genops.c (_IO_init): Set _vtable_offset to 0.
8832
8833         * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
8834         and make it for _IO_fdopen/fdopen version GLIBC_2.1.
8835
8836         * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
8837         _IO_old_fdopen, _IO_new_fdopen): New declaration.
8838
8839         * libio/libio.h (_IO_FILE): Add more fields.
8840         (_IO_FILE_complete): Defined and make _IO_FILE be the old
8841         one if _IO_USE_OLD_IO_FILE is defined
8842         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
8843         them _IO_FILE_complete.
8844
8845         * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
8846         to adjust vtable.
8847         (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
8848         _IO_JUMPS.
8849         (_IO_FILE_complete): Commented out.
8850
8851         * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
8852         * libio/oldiofclose.c: Ditto.
8853         * libio/oldiofopen.c: Ditto.
8854         * libio/oldstdfiles.c: Ditto.
8855
8856         * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
8857         for the old _IO_FILE.
8858
8859         * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
8860         (_IO_check_libio): Set _vtable_offset for old stdin, stdout
8861         and stderr.
8862
8863         * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
8864         and remove INAME.
8865
8866         * libio/stdio.c (stdin, stdout, stdin): Don't use
8867         _IO_FILE_complete.
8868
8869         * libio/oldiofdopen.c: New.
8870
8871         * stdio-common/vfprintf.c (buffered_vfprintf): Set
8872         hp->_vtable_offset to 0.
8873
8874 1997-11-18 08:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
8875
8876         * libc.map (_IO_file_open): Added.
8877
8878         * libio/libioP.h (_IO_file_open): Declared.
8879
8880         * libio/fileops.c (_IO_file_open): New.
8881         (_IO_file_fopen): Call _IO_file_open ().
8882
8883         * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
8884         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
8885
8886 1997-12-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8887
8888         * signal/signal.h: Fix selection of signal semantics to match
8889         comment.
8890
8891 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8892
8893         * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
8894         * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
8895         rt_sigreturn.
8896         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
8897         [$(subdir)=signal]: Remove rt_sigreturn.
8898         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
8899         * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
8900         * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
8901
8902 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8903
8904         * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>.  Fix
8905         declarations.
8906
8907 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8908
8909         * iconvdata/extra-module.mk: Expand extra-objs now.
8910
8911 1997-12-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8912
8913         * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
8914         inline functions by feature tests to avoid warning about missing
8915         prototype declarations.
8916
8917 1997-12-09 15:08  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8918
8919         * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
8920         return code for non existent +name entries.
8921         * nis/nss_compat/compat-pwd.c: Likewise.
8922         * nis/nss_compat/compat-spwd.c: Likewise.
8923
8924 1997-12-10 13:52  Philip Blundell  <pb@nexus.co.uk>
8925
8926         * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
8927         (EIO): Likewise.
8928         (ENOSPC): Likewise.
8929         (EEXIST): Likewise.
8930         (__errno_location): Likewise.
8931
8932         * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
8933
8934         * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
8935
8936 1997-12-09 08:10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8937
8938         * sunrpc/publickey.c: Use new NSS interface.
8939
8940 1997-12-09 03:08  Ulrich Drepper  <drepper@cygnus.com>
8941
8942         * manual/malloc.texi: Document mtrace/muntrace and the concept.
8943
8944 1997-12-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8945
8946         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
8947         value, to match spirit of the standard.
8948         * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
8949         * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
8950         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
8951
8952 1997-12-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8953
8954         * manual/signal.texi (Signal Stack): Remove spurious @item.
8955
8956 1997-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8957
8958         * rt/aio.h: Remove double semicolon.
8959
8960         * rt/librt.map: Add aio_init.
8961
8962 1997-12-08 03:24  Ulrich Drepper  <drepper@cygnus.com>
8963
8964         * Makeconfig: Define $(rt) to rt if linuxthreads is available.
8965         * Makefile (subdirs): Replace rt by $(rt).
8966
8967         * shlib-versions: Use version .2 for NSS modules.
8968
8969         * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
8970         argument.
8971         * pwd/fgetpwent_r.c: Likewise.
8972         * spwd/fgetspent_r.c: Likewise.
8973         * spwd/sgetspent_r.c: Likewise.
8974         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
8975         Store error number in *ERRNOP.  Little optimization.
8976         * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
8977         * hesiod/nss_hesiod/hesiod-service.c: Likewise.
8978         * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
8979         (__internal_getnetgrent_r): New argument.
8980         Call __internal_setnetgrent_reuse with new argument.
8981         (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
8982         * inet/netgroup.h: Add argument to prototypes.
8983         * nis/nisplus-parser.h: Likewise.
8984         * nis/nss_compat/compat-grp.c: Change everything to store error
8985         code through provided pointer and not use errno.
8986         * nis/nss_compat/compat-pwd.c: Likewise.
8987         * nis/nss_compat/compat-spwd.c: Likewise.
8988         * nis/nss_nis/nis-alias.c: Likewise.
8989         * nis/nss_nis/nis-ethers.c: Likewise.
8990         * nis/nss_nis/nis-grp.c: Likewise.
8991         * nis/nss_nis/nis-hosts.c: Likewise.
8992         * nis/nss_nis/nis-netgrp.c: Likewise.
8993         * nis/nss_nis/nis-network.c: Likewise.
8994         * nis/nss_nis/nis-proto.c: Likewise.
8995         * nis/nss_nis/nis-publickey.c: Likewise.
8996         * nis/nss_nis/nis-pwd.c: Likewise.
8997         * nis/nss_nis/nis-rpc.c: Likewise.
8998         * nis/nss_nis/nis-service.c: Likewise.
8999         * nis/nss_nis/nis-spwd.c: Likewise.
9000         * nis/nss_nisplus/nisplus-alias.c: Likewise.
9001         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
9002         * nis/nss_nisplus/nisplus-grp.c: Likewise.
9003         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
9004         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
9005         * nis/nss_nisplus/nisplus-network.c: Likewise.
9006         * nis/nss_nisplus/nisplus-parser.c: Likewise.
9007         * nis/nss_nisplus/nisplus-proto.c: Likewise.
9008         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
9009         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
9010         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
9011         * nis/nss_nisplus/nisplus-service.c: Likewise.
9012         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
9013         * nss/nss_db/db-XXX.c: Likewise.
9014         * nss/nss_db/db-alias.c: Likewise.
9015         * nss/nss_db/db-netgrp.c: Likewise.
9016         * nss/nss_files/files-XXX.c: Likewise
9017         * nss/nss_files/files-alias.c: Likewise
9018         * nss/nss_files/files-netgrp.c: Likewise
9019         * nss/nss_files/files-parse.c: Likewise
9020         * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
9021         parameter of get functions.
9022         * nss/getXXent_r.c: Likewise.
9023
9024         * localedata/tst-fmon.c: Print debug info if test fails.
9025
9026         * rt/Makefile (routines): Add aio_notify.
9027         * rt/aio.h: Remove non-public definitions.  Add aioinit stuff.
9028         * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
9029         * rt/aio_fsync.c: Likewise.
9030         * rt/aio_misc.c: Likewise.
9031         * rt/aio_misc.h: Likewise.
9032         * rt/aio_read.c: Likewise.
9033         * rt/aio_read64.c: Likewise.
9034         * rt/aio_suspend.c: Likewise.
9035         * rt/aio_write.c: Likewise.
9036         * rt/aio_write64.c: Likewise.
9037         * rt/lio_listio.c: Likewise.
9038         * rt/lio_listio64.c: Likewise.
9039         * rt/aio_notify.c: New file.
9040
9041         * sysdeps/generic/bits/sigset.h: Pretty print.
9042
9043         * sysdeps/posix/pwrite.c: Define weak alias only if function is
9044         really defined as __pwrite.
9045
9046         * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
9047         instead of pread64.
9048         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9049
9050         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
9051         (sysdep_routines): Add rt_sigpending and rt_sigreturn.
9052         * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
9053         size in syscall.
9054         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9055         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9056         * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
9057         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9058         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
9059         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9060         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.  Take care
9061         for ACT being NULL.
9062         * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
9063         RT signals.
9064         * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
9065         __NR_pread is not defined.
9066         * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
9067         __NR_pwrite is not defined.
9068
9069 1997-12-07 11:15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9070
9071         * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
9072         handle for /etc/group back in some more cases.
9073         * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
9074         handle for /etc/passwd back in some more cases.
9075         * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
9076         handle for /etc/shadow back in some more cases.
9077
9078 1997-12-06 17:00  H.J. Lu  <hjl@gnu.org>
9079
9080         * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
9081         beyound its size.
9082         * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
9083         * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
9084
9085 1997-12-06 04:38  Ulrich Drepper  <drepper@cygnus.com>
9086
9087         * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
9088         handling.  Don't use macros, we need functions.  Use inline functions
9089         for optimization.
9090         * sysdeps/wordsize-64/inttypes.h: Likewise.
9091         * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
9092         and wcstoumax.
9093         * sysdeps/wordsize-64/Makefile: Likewise.
9094         * sysdeps/wordsize-32/Dist: Likewise.
9095         * sysdeps/wordsize-64/Dist: Likewise.
9096         * sysdeps/wordsize-32/strtoimax.c: New file.
9097         * sysdeps/wordsize-32/strtoumax.c: New file.
9098         * sysdeps/wordsize-32/wcstoimax.c: New file.
9099         * sysdeps/wordsize-32/wcstoumax.c: New file.
9100         * sysdeps/wordsize-64/strtoimax.c: New file.
9101         * sysdeps/wordsize-64/strtoumax.c: New file.
9102         * sysdeps/wordsize-64/wcstoimax.c: New file.
9103         * sysdeps/wordsize-64/wcstoumax.c: New file.
9104
9105 1997-12-04 10:40  Philip Blundell  <pb@nexus.co.uk>
9106
9107         * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
9108         that transparent union works.
9109         * sysdeps/generic/wait4.c (__wait4): Likewise.
9110         * sysdeps/generic/wait.c (__wait): Likewise.
9111
9112         * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
9113         size_t.
9114
9115         * sysdeps/generic/syscall.c (syscall): Return value and arg are
9116         long, to match prototype.
9117
9118         * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
9119         have mremap() yet.
9120
9121         * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
9122
9123         * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
9124
9125         * sysdeps/generic/bits/time.h: Use __time_t not time_t.
9126
9127         * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
9128         __rlim_t.
9129
9130         * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
9131
9132         * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
9133
9134         * io/sys/stat.h (S_ISLNK): Always false if we don't have
9135         __S_IFLNK.
9136
9137         * sysdeps/standalone/close.c (_STDIO_H): Define before including
9138         <bits/stdio_lim.h>.
9139         * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
9140
9141 1997-12-06 01:09  Ulrich Drepper  <drepper@cygnus.com>
9142
9143         * posix/sys/wait.h: Don't use transparent unions in C++.
9144
9145 1997-12-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9146
9147         * time/time.h: Add strfxtime.
9148
9149         * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
9150         sysv_signal, strfxtime, pread64, pwrite64.
9151
9152 1997-11-30 21:57  Richard Henderson  <rth@cygnus.com>
9153
9154         Alpha changes for EGCS:
9155         * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
9156         * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
9157         * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
9158         (_start): Likewise.
9159         * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
9160
9161 1997-12-05 00:01  Ulrich Drepper  <drepper@cygnus.com>
9162
9163         The kernel expects the arguments in a different order.
9164         * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
9165         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
9166
9167         * FAQ.in: New file.
9168         * gen-FAQ.pl: New file.
9169         * Makefile (FAQ): Add rule to generate from FAQ.in.
9170
9171         * iconvdata/Makefile: Treat libJIS like the other modules.
9172
9173         * rt/librt.map: New file.
9174
9175         * sysdeps/wordsize-32/bits/environments.h: Add test for direct
9176         inclusion.
9177         * sysdeps/wordsize-64/bits/environments.h: Likewise.  Correct
9178         comment.
9179
9180 1997-12-04 22:29  Ulrich Drepper  <drepper@cygnus.com>
9181
9182         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
9183         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
9184         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
9185         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
9186
9187 1997-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9188
9189         * string/bits/string2.h: Fix spellings.
9190
9191         * string/string.h: Fix spellings.
9192
9193 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9194
9195         * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
9196         declaration to __syscall_rt_sigaction.
9197
9198         * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
9199         non-existant <sigcontext.h>.
9200
9201 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9202
9203         * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
9204         typo.
9205
9206 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9207
9208         * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
9209
9210         * Makeconfig (shared-thread-library): Correct spelling.
9211
9212         * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
9213         <asm/pci.h>.
9214
9215 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9216
9217         * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
9218         constants from Linux headers. Pointed out by
9219         csmall@scooter.o.i.net. [PR libc/369]
9220
9221 1997-12-04 10:21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9222
9223         * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
9224
9225 1997-12-04 00:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
9226
9227         * configure.in: If --enable-add-ons is given without an
9228         argument, set the addons list to all subdirs with a configure
9229         script.
9230
9231 1997-12-03 23:50  Ulrich Drepper  <drepper@cygnus.com>
9232
9233         * Makeconfig: Add shared-thread-library variable.
9234
9235         * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
9236         * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
9237         here.
9238         * sysdeps/m68k/fpu/e_acos.c: Likewise.
9239         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
9240         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
9241         * sysdeps/m68k/fpu/e_pow.c: Likewise.
9242         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
9243         * sysdeps/m68k/fpu/k_cos.c: Likewise.
9244         * sysdeps/m68k/fpu/k_sin.c: Likewise.
9245         * sysdeps/m68k/fpu/k_tan.c: Likewise.
9246         * sysdeps/m68k/fpu/s_atan.c: Likewise.
9247         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
9248         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
9249         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
9250         * sysdeps/m68k/fpu/s_csin.c: Likewise.
9251         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
9252         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
9253         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
9254         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
9255         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
9256         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
9257         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
9258         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
9259         * sysdeps/m68k/fpu/s_modf.c: Likewise.
9260         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
9261         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
9262         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
9263
9264         * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
9265         __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
9266         * signal/Makefile (headers): Add bits/siginfo.h.
9267         (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
9268         (distribute): Add testrtsig.h.
9269         * signal/allocrtsig.c: New file.
9270         * signal/signal.h: Define `union sigval'.  Include <bits/siginfo.h>.
9271         Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
9272         __libc_current_sigrtmax.
9273         * sysdeps/generic/sigqueue.c: New file.
9274         * sysdeps/generic/sigtimedwait.c: New file.
9275         * sysdeps/generic/sigwaitinfo.c: New file.
9276         * sysdeps/generic/testrtsig.h: New file.
9277         * sysdeps/generic/bits/siginfo.h: New file.
9278         * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
9279         * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
9280         old_kernel_sigaction and rename sa_handler member to k_sa_handler.
9281         * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
9282         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
9283         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
9284         * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
9285         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
9286         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
9287         * sysdeps/unix/sysv/linux/sigpending.c: New file.
9288         * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
9289         * sysdeps/unix/sysv/linux/sigqueue.c: New file.
9290         * sysdeps/unix/sysv/linux/sigreturn.c: New file.
9291         * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
9292         * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
9293         * sysdeps/unix/sysv/linux/testrtsig.h: New file.
9294         * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
9295         * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
9296         * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
9297         * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
9298         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
9299         and _POSIX_REALTIME_SIGNALS.
9300         * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
9301         * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
9302         update _NSIG.
9303         * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
9304         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
9305         definitions.
9306
9307         * Makefile (subdirs): Add rt.
9308         * shlib-versions: Add entry for librt.
9309         * rt/Makefile: New file.
9310         * rt/aio.h: New file.
9311         * rt/aio_cancel.c: New file.
9312         * rt/aio_error.c: New file.
9313         * rt/aio_fsync.c: New file.
9314         * rt/aio_misc.c: New file.
9315         * rt/aio_misc.h: New file.
9316         * rt/aio_read.c: New file.
9317         * rt/aio_read64.c: New file.
9318         * rt/aio_return.c: New file.
9319         * rt/aio_suspend.c: New file.
9320         * rt/aio_write.c: New file.
9321         * rt/aio_write64.c: New file.
9322         * rt/lio_listio.c: New file.
9323         * rt/lio_listio64.c: New file.
9324         * sysdeps/generic/aio_sigqueue.c: New file.
9325         * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
9326         * sysdeps/unix/sysv/linux/Dist: Add new files
9327         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
9328         (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
9329         rt_sigqueueinfo, rt_sigaction.
9330
9331         * posix/Makefile (headers): Add bits/environments.h.
9332         * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
9333         and _CS_LFS_CFLAGS on 64bit platforms.
9334         * posix/unistd.h: Define _XOPEN_LEGACY.  Explain _XOPEN_REALTIME
9335         and _XOPEN_REALTIME_THREADS.  Include bits/environments.h.
9336         * sysdeps/generic/bits/confname.h: Define _SC_* constants for
9337         compilation modules.
9338         * sysdeps/wordsize-32/bits/environments.h: New file.
9339         * sysdeps/wordsize-64/bits/environments.h: New file.
9340
9341         * posix/getopt.c: Remove declaration of getpid and __libc_pid.
9342         * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
9343         __libc_pid.
9344         * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
9345         0xf00baa.
9346
9347         * string/string.h: Add declaration of __strverscmp.
9348         * string/strverscmp.c: Rename function ot __strverscmp and make old
9349         name weak alias.
9350
9351         * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
9352         * sysdeps/generic/enbl-secure.c: Likewise.
9353         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
9354
9355         * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
9356
9357         * sysdeps/unix/sysv/linux/sys/pci.h: New file.
9358
9359 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
9360
9361         * posix/sys/wait.h: Use __transparent_union__ instead of
9362         transparent_union.  Reported by Roland McGrath.
9363
9364 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9365
9366         * resolv/inet_neta.c (inet_neta): Change type of first parameter
9367         to u_int32_t.  Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
9368         [PR libc/366].
9369
9370         * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
9371
9372         * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
9373
9374 1997-12-03 20:40  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9375
9376         * grp/initgroups.c: Increase buffer if it is too small.
9377
9378 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
9379
9380         * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
9381         fields, this is no ISO C.  Reported by Andreas Jaeger.
9382
9383 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9384
9385         * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
9386
9387 1997-12-03 08:58  Philip Blundell  <pb@nexus.co.uk>
9388
9389         * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
9390         _SYS_UTSNAME_H not _UTSNAME_H.
9391
9392 1997-11-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9393
9394         * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
9395         computing s_scale.
9396
9397 1997-11-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9398
9399         * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
9400         * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
9401         * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
9402
9403         * math/libm-test.c (csqrt_test): Add testcase.
9404
9405 1997-12-03 15:44  Ulrich Drepper  <drepper@cygnus.com>
9406
9407         * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
9408         * sysdeps/unix/sysv/linux/sys/Dist: Add it.
9409         * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
9410
9411 1997-11-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9412
9413         * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
9414
9415 1997-12-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9416
9417         * math/libm-test.c (acos_test): Add more tests.
9418         (asin_test): Likewise.
9419         (atan_test): Likewise.
9420         (exp_test): Likewise.
9421         (sin_test): Likewise.
9422         (sqrt_test): Likewise.
9423         (cpow_test): Likewise.
9424         (csqrt_test): Likewise.
9425         (cexp_test): Correct typo in gcc version test.
9426
9427 1997-12-02 17:14  Philip Blundell  <pb@nexus.co.uk>
9428
9429         * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
9430         <bits/setjmp.h>.
9431         * sysdeps/arm/setjmp.S: Likewise.
9432
9433         * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
9434
9435 1997-12-02 18:07  Philip Blundell  <pb@nexus.co.uk>
9436
9437         * stdio/stdio.h: Add prototype for tmpfile64().
9438
9439 1997-12-02 17:47  Philip Blundell  <pb@nexus.co.uk>
9440
9441         * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
9442         prototype to keep in step with libio version.
9443
9444         * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
9445
9446 1997-12-02 17:41  Philip Blundell  <pb@nexus.co.uk>
9447
9448         * sysdeps/generic/Makefile: Don't try to use make_siglist if
9449         cross-compiling.
9450
9451 1997-12-02 01:18  Ulrich Drepper  <drepper@cygnus.com>
9452
9453         * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
9454         load GOT ptr before jumping to _exit.
9455         Reported by Xavier Leroy.
9456
9457 1997-12-01 17:27  Ulrich Drepper  <drepper@cygnus.com>
9458
9459         * Makefile (subdirs): Add iconvdata and localedata.
9460
9461         * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
9462
9463         * iconv/gconv_conf.c (read_conf_file): Little optimization.
9464
9465         * iconvdata/8bit-gap.c: New file.
9466         * iconvdata/8bit-generic.c: Renamed from ...
9467         * iconvdata/iso8859-generic.c: ...this.
9468         * iconvdata/configure: Removed.
9469         * iconvdata/Makefile: Add new modules and better rules.
9470         * iconvdata/iso6937.c: Minor bug fixes.
9471         * iconvdata/iso8859-1.c: Likewise.
9472         * iconvdata/t61.c: Likewise.
9473         * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
9474         Minor bug fixes.
9475         * iconvdata/iso8859-3.c: Likewise.
9476         * iconvdata/iso8859-4.c: Likewise.
9477         * iconvdata/iso8859-5.c: Likewise.
9478         * iconvdata/iso8859-6.c: Likewise.
9479         * iconvdata/iso8859-7.c: Likewise.
9480         * iconvdata/iso8859-8.c: Likewise.
9481         * iconvdata/iso8859-9.c: Likewise.
9482         * iconvdata/iso8859-10.c: Likewise.
9483         * iconvdata/ebcdic-at-de-a.c: New file.
9484         * iconvdata/ebcdic-at-de.c: New file.
9485         * iconvdata/ebcdic-ca-fr.c: New file.
9486         * iconvdata/hp-roman8.c: New file.
9487         * iconvdata/koi-8.c: New file.
9488         * iconvdata/koi8-r.c: New file.
9489         * iconvdata/koi8-h.c: New file.
9490         * iconvdata/latin-greek-1.c: New file.
9491         * iconvdata/latin-greek-1.h: New file.
9492         * iconvdata/latin-greek.c: New file.
9493         * iconvdata/latin-greek.h: New file.
9494         * iconvdata/jis0201.c: New file.
9495         * iconvdata/jis0201.h: New file.
9496         * iconvdata/jis0208.c: New file.
9497         * iconvdata/jis0208.h: New file.
9498         * iconvdata/jis0212.c: New file.
9499         * iconvdata/jis0212.h: New file.
9500         * iconvdata/sjis.c: New file.
9501         * iconvdata/gap.pl: New file.  Script to generate table header.
9502         * iconvdata/gaptab.pl: New file.
9503         * iconvdata/gconv-modules: Add info about new modules.
9504
9505         * locale/programs/charmap.c: Also examine alias names given in charmap
9506         files.
9507
9508         * localedata/*: Add to here from add-on.  We need the information
9509         to generate tables for iconv.
9510
9511         Update from db-2.3.14.
9512         * db2/Makefile: Updated.
9513         * db2/config.h: Likewise.
9514         * db2/db.h: Likewise.
9515         * db2/db_int.h: Likewise.
9516         * db2/btree/bt_cursor.c: Likewise.
9517         * db2/btree/bt_delete.c: Likewise.
9518         * db2/btree/bt_put.c: Likewise.
9519         * db2/btree/bt_search.c: Likewise.
9520         * db2/btree/bt_split.c: Likewise.
9521         * db2/btree/btree_auto.c: Likewise.
9522         * db2/common/db_appinit.c: Likewise.
9523         * db2/common/db_apprec.c: Likewise.
9524         * db2/common/db_err.c: Likewise.
9525         * db2/common/db_region.c: Likewise.
9526         * db2/db/db_auto.c: Likewise.
9527         * db2/db/db_dispatch.c: Likewise.
9528         * db2/db/db_ret.c: Likewise.
9529         * db2/dbm/dbm.c: Likewise.
9530         * db2/hash/hash_auto.c: Likewise.
9531         * db2/include/btree_ext.h: Likewise.
9532         * db2/include/common_ext.h: Likewise.
9533         * db2/include/db.h.src: Likewise.
9534         * db2/include/db_cxx.h: Likewise.
9535         * db2/include/db_ext.h: Likewise.
9536         * db2/include/db_int.h.src: Likewise.
9537         * db2/include/lock.h: Likewise.
9538         * db2/include/log.h: Likewise.
9539         * db2/include/mp.h: Likewise.
9540         * db2/include/mp_ext.h: Likewise.
9541         * db2/include/os_ext.h: Likewise.
9542         * db2/include/os_func.h: Likewise.
9543         * db2/lock/lock.c: Likewise.
9544         * db2/lock/lock_deadlock.c: Likewise.
9545         * db2/log/log.c: Likewise.
9546         * db2/log/log_archive.c: Likewise.
9547         * db2/log/log_auto.c: Likewise.
9548         * db2/log/log_get.c: Likewise.
9549         * db2/log/log_put.c: Likewise.
9550         * db2/mp/mp_bh.c: Likewise.
9551         * db2/mp/mp_fget.c: Likewise.
9552         * db2/mp/mp_fopen.c: Likewise.
9553         * db2/mp/mp_fput.c: Likewise.
9554         * db2/mp/mp_fset.c: Likewise.
9555         * db2/mp/mp_open.c: Likewise.
9556         * db2/mp/mp_pr.c: Likewise.
9557         * db2/mp/mp_region.c: Likewise.
9558         * db2/mp/mp_sync.c: Likewise.
9559         * db2/mutex/README: Likewise.
9560         * db2/mutex/mutex.c: Likewise.
9561         * db2/os/os_open.c: Likewise.
9562         * db2/os/os_func.c: Removed.
9563         * db2/os/os_config.c: New file.
9564         * db2/os/os_spin.c: New file.
9565         * db2/txn/txn.c: Likewise.
9566         * db2/txn/txn_auto.c: Likewise.
9567
9568 1997-11-30 06:01  Ulrich Drepper  <drepper@cygnus.com>
9569
9570         * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
9571         __typeof for C++ since this fails for class members.
9572         Reported by Neal Becker <neal@ctd.comsat.com>.
9573
9574 1997-11-28 11:21  Zack Weinberg  <zack@rabi.phys.columbia.edu>
9575
9576         * configure.in: Check for a working makeinfo (3.11 or better).
9577         * config.make.in: Add MAKEINFO to be substituted.
9578         * manual/Makefile: Don't update info if makeinfo is too old.
9579
9580 1997-11-30 05:21  Ulrich Drepper  <drepper@cygnus.com>
9581
9582         * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
9583         * sysdeps/alpha/__longjmp.S: Likewise.
9584         * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
9585         not <bits/termios.h>.
9586
9587         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
9588         __llseek and make llseek and lseek64 weak aliases.
9589         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9590         Patches by a sun <asun@zoology.washington.edu>.
9591
9592 1997-11-29 19:19  Zack Weinberg  <zack@rabi.phys.columbia.edu>
9593
9594         * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
9595         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
9596         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
9597         * misc/sys/syslog.h: Clean up BSD header.
9598
9599 1997-11-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9600
9601         * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
9602
9603         * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
9604         for ctan(+-inf,x).
9605         * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
9606         * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
9607
9608         * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
9609         csqrt (-1), ctanh(i*pi/4).
9610
9611 1997-11-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9612
9613         * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
9614
9615 1997-11-28 13:28  Philip Blundell  <Philip.Blundell@pobox.com>
9616
9617         * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
9618
9619 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9620
9621         * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
9622
9623 1997-11-26 21:28  Ulrich Drepper  <drepper@cygnus.com>
9624
9625         * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
9626         and use.  Define GETCWD_RETURN_TYPE instead and use it.
9627         * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
9628         of GETCWD_STORYGE_CLASS and put the return type and the
9629         `internal_function' in the right order for gcc 2.7.2.
9630
9631 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9632
9633         * sysdeps/unix/sysv/linux/sys/module.h: Remove file.  It's
9634         incompatible with Linux 2.1.x.  Packages using modules
9635         (e.g. modutils) should/do provide their own version.  Suggested by
9636         Richard Henderson.
9637
9638         * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
9639
9640         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
9641         [$(subdir)=socket]: Remove sys/module.h.
9642
9643 1997-11-26 04:28  Ulrich Drepper  <drepper@cygnus.com>
9644
9645         * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
9646         computing s_scale.  Patch by a sun <asun@zoology.washington.edu>.
9647
9648         * iconv/gconv_close.c: Correct freeing of descriptor data.
9649         * iconv/gconv_simple.c: Return correct error values for illegal or
9650         incomplete characters.
9651
9652         * Makefile (iconvdata/%): Special goal to simplify iconvdata
9653         development.
9654         * iconvdata/Makefile: New file.
9655         * iconvdata/configure: Likewise.
9656         * iconvdata/extra-module.mk: Likewise.
9657         * iconvdata/gconv-modules: Likewise.
9658         * iconvdata/iso6937.c: Likewise.
9659         * iconvdata/iso8859-1.c: Likewise.
9660         * iconvdata/iso8859-10.c: Likewise.
9661         * iconvdata/iso8859-10.h: Likewise.
9662         * iconvdata/iso8859-2.c: Likewise.
9663         * iconvdata/iso8859-2.h: Likewise.
9664         * iconvdata/iso8859-3.c: Likewise.
9665         * iconvdata/iso8859-3.h: Likewise.
9666         * iconvdata/iso8859-4.c: Likewise.
9667         * iconvdata/iso8859-4.h: Likewise.
9668         * iconvdata/iso8859-5.c: Likewise.
9669         * iconvdata/iso8859-5.h: Likewise.
9670         * iconvdata/iso8859-6.c: Likewise.
9671         * iconvdata/iso8859-6.h: Likewise.
9672         * iconvdata/iso8859-7.c: Likewise.
9673         * iconvdata/iso8859-7.h: Likewise.
9674         * iconvdata/iso8859-8.c: Likewise.
9675         * iconvdata/iso8859-8.h: Likewise.
9676         * iconvdata/iso8859-9.c: Likewise.
9677         * iconvdata/iso8859-9.h: Likewise.
9678         * iconvdata/iso8859-generic.c: Likewise.
9679         * iconvdata/t61.c: Likewise.
9680
9681         * string/Makefile (routines): Add strcasestr.
9682         * string/string.h: Add prototype for strcasestr.
9683         * sysdeps/generic/strcasestr.c: New file.
9684         * wcsmbs/mbrtowc.c: Simplify special case a bit.
9685         * wcsmbs/wcrtomb.c: Likewise.
9686         * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
9687         * wcsmbs/wcsnrtombs.c: Likewise.
9688         * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
9689         partial character is read.
9690         * wcsmbs/wcsrtombs.c: Likewise.
9691         * wcsmbs/wmemrtombs.c: Likewise.
9692         * wcsmbs/wmemrtowcs.c: Likewise.
9693
9694         * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
9695         * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
9696         * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
9697         * sysdeps/i386/elf/setjmp.S: Likewise.
9698         * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
9699         <bits/termios.h>.
9700
9701         * sysdeps/posix/mk-stdiolim.c: Output file with comment.
9702         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
9703
9704         * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
9705         * sysvipc/sys/ipc.h: Likewise.
9706         * sysvipc/sys/msg.h: Likewise.
9707         * sysvipc/sys/sem.h: Likewise.
9708         * sysvipc/sys/shm.h: Likewise.
9709
9710         * sysdeps/alpha/bits/endian.h: Issue error message if the header is
9711         used directly.
9712         * sysdeps/alpha/bits/setjmp.h: Likewise.
9713         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
9714         * sysdeps/arm/bits/endian.h: Likewise.
9715         * sysdeps/arm/bits/setjmp.h: Likewise.
9716         * sysdeps/generic/bits/byteswap.h: Likewise.
9717         * sysdeps/generic/bits/confname.h: Likewise.
9718         * sysdeps/generic/bits/dirent.h: Likewise.
9719         * sysdeps/generic/bits/dlfcn.h: Likewise.
9720         * sysdeps/generic/bits/endian.h: Likewise.
9721         * sysdeps/generic/bits/fenv.h: Likewise.
9722         * sysdeps/generic/bits/huge_val.h: Likewise.
9723         * sysdeps/generic/bits/in.h: Likewise.
9724         * sysdeps/generic/bits/ioctl-types.h: Likewise.
9725         * sysdeps/generic/bits/ioctls.h: Likewise.
9726         * sysdeps/generic/bits/ipc.h: Likewise.
9727         * sysdeps/generic/bits/msq.h: Likewise.
9728         * sysdeps/generic/bits/poll.h: Likewise.
9729         * sysdeps/generic/bits/resource.h: Likewise.
9730         * sysdeps/generic/bits/sched.h: Likewise.
9731         * sysdeps/generic/bits/sem.h: Likewise.
9732         * sysdeps/generic/bits/setjmp.h: Likewise.
9733         * sysdeps/generic/bits/shm.h: Likewise.
9734         * sysdeps/generic/bits/sigaction.h: Likewise.
9735         * sysdeps/generic/bits/sigcontext.h: Likewise.
9736         * sysdeps/generic/bits/socket.h: Likewise.
9737         * sysdeps/generic/bits/stat.h: Likewise.
9738         * sysdeps/generic/bits/statfs.h: Likewise.
9739         * sysdeps/generic/bits/stdio_lim.h: Likewise.
9740         * sysdeps/generic/bits/termios.h: Likewise.
9741         * sysdeps/generic/bits/time.h: Likewise.
9742         * sysdeps/generic/bits/uio.h: Likewise.
9743         * sysdeps/generic/bits/utmp.h: Likewise.
9744         * sysdeps/generic/bits/utmpx.h: Likewise.
9745         * sysdeps/generic/bits/utsname.h: Likewise.
9746         * sysdeps/generic/bits/waitflags.h: Likewise.
9747         * sysdeps/generic/bits/waitstatus.h: Likewise.
9748         * sysdeps/gnu/bits/utmp.h: Likewise.
9749         * sysdeps/gnu/bits/utmpx.h: Likewise.
9750         * sysdeps/i386/bits/byteswap.h: Likewise.
9751         * sysdeps/i386/bits/endian.h: Likewise.
9752         * sysdeps/i386/bits/huge_val.h: Likewise.
9753         * sysdeps/i386/bits/setjmp.h: Likewise.
9754         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9755         * sysdeps/ieee754/bits/huge_val.h: Likewise.
9756         * sysdeps/m68k/bits/byteswap.h: Likewise.
9757         * sysdeps/m68k/bits/endian.h: Likewise.
9758         * sysdeps/m68k/bits/setjmp.h: Likewise.
9759         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
9760         * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
9761         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
9762         * sysdeps/mach/hurd/bits/stat.h: Likewise.
9763         * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
9764         * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
9765         * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
9766         * sysdeps/mips/bits/dlfcn.h: Likewise.
9767         * sysdeps/mips/bits/endian.h: Likewise.
9768         * sysdeps/mips/bits/setjmp.h: Likewise.
9769         * sysdeps/mips/dec/bits/endian.h: Likewise.
9770         * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
9771         * sysdeps/mips/mipsel/bits/endian.h: Likewise.
9772         * sysdeps/mips/p40/bits/endian.h: Likewise.
9773         * sysdeps/powerpc/bits/endian.h: Likewise.
9774         * sysdeps/powerpc/bits/fenv.h: Likewise.
9775         * sysdeps/powerpc/bits/setjmp.h: Likewise.
9776         * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
9777         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
9778         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
9779         * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
9780         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
9781         * sysdeps/unix/bsd/bits/dirent.h: Likewise.
9782         * sysdeps/unix/bsd/bits/stat.h: Likewise.
9783         * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
9784         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
9785         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
9786         * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
9787         * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
9788         * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
9789         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
9790         * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
9791         * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
9792         * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
9793         * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
9794         * sysdeps/unix/common/bits/dirent.h: Likewise.
9795         * sysdeps/unix/sysv/bits/dirent.h: Likewise.
9796         * sysdeps/unix/sysv/bits/stat.h: Likewise.
9797         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
9798         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
9799         * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
9800         * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
9801         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
9802         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
9803         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
9804         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
9805         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
9806         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
9807         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
9808         * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
9809         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
9810         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
9811         * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
9812         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9813         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9814         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
9815         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9816         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9817         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9818         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9819         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
9820         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
9821         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9822         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9823         * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
9824         * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
9825         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
9826         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9827         * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
9828         * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
9829         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
9830         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
9831         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
9832         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
9833         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
9834         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
9835         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
9836         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
9837         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
9838         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
9839         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
9840         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
9841         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
9842         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
9843         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
9844         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
9845         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9846         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
9847         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
9848         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
9849         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
9850         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
9851         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
9852         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
9853         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
9854         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
9855         * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
9856         * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
9857         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
9858         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
9859         * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
9860         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
9861         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
9862         * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
9863         * sysdeps/vax/bits/huge_val.h: Likewise.
9864         * sysdeps/vax/bits/setjmp.h: Likewise.
9865         * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
9866         * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
9867
9868 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9869
9870         * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
9871
9872 1997-11-25  Paul Eggert  <eggert@shade.twinsun.com>
9873
9874         * strftime.c (strftime):
9875         No longer any need to undef or declare if emacs is defined.
9876         (my_strftime): When checking a -1 returned by mktime, don't blow up
9877         if localtime_r returns NULL.
9878
9879 1997-11-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9880
9881         * README.template: Fix spelling.
9882
9883 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9884
9885         * configure.in: Enhance --enable-add-ons description a wee bit.
9886
9887 1997-11-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9888
9889         * glibcbug.in: Add more information of build environment and flags.
9890
9891 1997-11-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9892
9893         * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
9894         it into ENOENT.
9895
9896 1997-11-24 03:01  Ulrich Drepper  <drepper@cygnus.com>
9897
9898         * elf/dl-support.c: Call __libc_init_secure to make sure
9899         __libc_enable_secure is defined early.
9900         * sysdeps/generic/enbl-secure.c: Change function name to
9901         __libc_init_secure and make it global instead of a constructor.
9902
9903         * iconv/gconv.c: Fix lots of bugs.
9904         * iconv/gconv.h: Likewise.
9905         * iconv/gconv_builtin.h: Likewise.
9906         * iconv/gconv_close.c: Likewise.
9907         * iconv/gconv_conf.c: Likewise.
9908         * iconv/gconv_db.c: Likewise.
9909         * iconv/gconv_dl.c: Likewise.
9910         * iconv/gconv_open.c: Likewise.
9911         * iconv/gconv_simple.c: Likewise.
9912         * iconv/iconv.c: Likewise.
9913         * iconv/iconv_close.c: Likewise.
9914         * iconv/iconv_open.c: Likewise.
9915
9916         * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
9917         * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
9918         * wcsmbs/wmemrtombs.c: New file.
9919         * wcsmbs/wmemrtowcs.c: New file.
9920
9921 1997-11-22 19:28  Ulrich Drepper  <drepper@cygnus.com>
9922
9923         * iconv/gconv_simple.c: Fix lots of bugs.
9924         * iconv/iconv_open.c: Normalize names before passing them to
9925         __gconv_open.
9926
9927         * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
9928
9929         * libio/iopopen.c: Check for correct mode argument and punt otherwise.
9930         * stdio-common/test-popen.c: Add test for above change.
9931
9932         * math/libm-test.c: Print test results also using %a format,
9933         specified in PRINTF_XEXPR macro.
9934         * math/test-double.c: Define PRINTF_XEXPR.
9935         * math/test-float.c: Likewise.
9936         * math/test-ldouble.c: Likewise.
9937         * math/test-idouble.c: Likewise.
9938         * math/test-ifloat.c: Likewise.
9939         * math/test-ildoubl.c: Likewise.
9940
9941         * stdio-common/vfscanf.c: Recognize a in format specifier only as
9942         modifier if used before s, S, or [.  Otherwise it's the hexadecimal
9943         FP number format.
9944
9945         * stdlib/strtod.c: Little code cleanup.
9946
9947         * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
9948         compiling in math subdir.
9949
9950         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
9951         instead of __LIBC_M81_MATH_INLINES.
9952         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
9953         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
9954         * sysdeps/m68k/fpu/e_pow.c: Likewise.
9955         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
9956         * sysdeps/m68k/fpu/k_cos.c: Likewise.
9957         * sysdeps/m68k/fpu/k_sin.c: Likewise.
9958         * sysdeps/m68k/fpu/k_tan.c: Likewise.
9959         * sysdeps/m68k/fpu/s_atan.c: Likewise.
9960         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
9961         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
9962         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
9963         * sysdeps/m68k/fpu/s_csin.c: Likewise.
9964         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
9965         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
9966         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
9967         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
9968         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
9969         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
9970         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
9971         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
9972         * sysdeps/m68k/fpu/s_modf.c: Likewise.
9973         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
9974         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
9975         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
9976         * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
9977         __LIBC_INTERNAL_MATH_INLINES is defined.
9978
9979         * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
9980         of compare macros from ISO C 9X.  Optimize generic versions a bit.
9981         Define __signbit inline functions and __ieee754_sqrt which can be
9982         used if the ompiler is fixed.
9983
9984         * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
9985
9986 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9987
9988         * Makerules ($(common-objpfx)stub-$(subdir)): Look for
9989         sysdeps/generic in the whole dep file, not only in the first line.
9990
9991 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9992
9993         * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
9994
9995 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9996
9997         * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
9998         place.
9999
10000 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10001
10002         * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
10003         is non-empty.
10004
10005 1997-11-20 16:51  Ulrich Drepper  <drepper@cygnus.com>
10006
10007         * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
10008         return value.
10009
10010 1997-11-19 21:36  Ulrich Drepper  <drepper@cygnus.com>
10011
10012         * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
10013         readlink succeeds but the return value is too long.
10014
10015         * stdio-common/printf_fphex.c: Determine sign of number correctly.
10016
10017 1997-11-19 02:45  Ulrich Drepper  <drepper@cygnus.com>
10018
10019         * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
10020         __remqu for Alpha.
10021
10022 1997-11-18 23:08  Ulrich Drepper  <drepper@cygnus.com>
10023
10024         * sysdeps/generic/sys/ucontext.h: Stub context file.
10025
10026         * libio/iofprintf.c: Removed.  We use the stdio-common version.
10027
10028         * manual/Makefile (distribute): Add stdio-fp.c.
10029
10030         * sysdeps/powerpc/Dist: Add ppc-mcount.S.
10031
10032         * db2/Makefile (distribute): Add include/os_func.h, README and
10033         mutex/tsl_parisc.s.
10034
10035         * hesiod/Makefile (distribute): Add README.hesiod.
10036
10037 1997-11-18 22:14  Ulrich Drepper  <drepper@cygnus.com>
10038
10039         * iconv/gconv.c: Correctly call transformation function.
10040
10041         * manual/maint.texi: Document need of binutils 2.8.1.0.17.
10042
10043 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10044
10045         * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
10046         wrong results for e.g. remquo (3,2, &x)).
10047         * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
10048         * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
10049
10050 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10051
10052         * configure.in (ld --version-script): Test if the same symbol
10053         maybe defined in all versions (needed by recent changes to
10054         libc.map and supported with binutils 2.8.1.0.17) and issue warning
10055         if versioning is not supported/enabled.
10056         (bash test): Correct test case.
10057
10058         * math/libm-test.c: Added counting/reporting of number of test cases.
10059
10060         * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
10061         use awk instead.
10062
10063         * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
10064
10065 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10066
10067         * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
10068
10069 1997-11-18 18:04  Ulrich Drepper  <drepper@cygnus.com>
10070
10071         * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
10072         Replace revoke call by use of REVOKE.
10073         * sysdeps/unix/sysv/linux/pty.c: New file.  Define REVOKE as
10074         empty and #include generic version.
10075         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
10076
10077 1997-11-18 16:02  Ulrich Drepper  <drepper@cygnus.com>
10078
10079         * libc.map: Add socket functions with __libc_* names.
10080         Reported by Andreas Jaeger.
10081
10082 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10083
10084         * libc.map: Tidy up (remove duplicates, sort entries).
10085
10086 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10087
10088         * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
10089
10090 1997-11-18 06:45  Ulrich Drepper  <drepper@cygnus.com>
10091
10092         * sysdeps/generic/pty.c: Make thread safe.  Fix bug when calling
10093         again after successful call.
10094         Patch by Marc Lehmann <pcg@goof.com>.
10095
10096 1997-11-17  Paul Eggert  <eggert@twinsun.com>
10097
10098         * time/mktime.c, time/strftime.c (_REENTRANT): #define,
10099         as some hosts need this to declare localtime_r properly.
10100
10101 1997-11-18 06:08  Ulrich Drepper  <drepper@cygnus.com>
10102
10103         * libc.map: Add iconv_open, iconv, and iconv_close.
10104
10105 1997-11-18 02:31  Ulrich Drepper  <drepper@cygnus.com>
10106
10107         * iconv/Makefile: New file.
10108         * iconv/gconv.c: New file.
10109         * iconv/gconv.h: New file.
10110         * iconv/gconv_builtin.c: New file.
10111         * iconv/gconv_builtin.h: New file.
10112         * iconv/gconv_close.c: New file.
10113         * iconv/gconv_conf.c: New file.
10114         * iconv/gconv_db.c: New file.
10115         * iconv/gconv_dl.c: New file.
10116         * iconv/gconv_open.c: New file.
10117         * iconv/gconv_simple.c: New file.
10118         * iconv/iconv.c: New file.
10119         * iconv/iconv.h: New file.
10120         * iconv/iconv_close.c: New file.
10121         * iconv/iconv_open.c: New file.
10122         * include/gconv.h: New file.
10123
10124         * Makeconfig: Define gconvdir.
10125         * Makefile (subdirs): Add iconv.
10126
10127         * string/bits/string2.h: Add optimization for strtok_r.
10128
10129         * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
10130         for NULL.
10131         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
10132         Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
10133
10134         * configure.in: Correct test for bash2.
10135         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
10136
10137         * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
10138         (CFLAGS-locfile.c): Likewise.
10139         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
10140
10141         * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
10142         non-existing entry if the table is full.
10143
10144         * posix/regex.h: Pretty print.
10145
10146         * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
10147
10148         * sysdeps/posix/ctermid.c: Simplify a bit.
10149
10150         * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
10151
10152 1997-11-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10153
10154         * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
10155         <sys/types.h> instead of <asm/types.h>.
10156
10157 1997-11-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10158
10159         * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
10160
10161 1997-11-16 17:09  H.J. Lu  <hjl@gnu.ai.mit.edu>
10162
10163         * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
10164         fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
10165         (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
10166         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
10167         fclose): Added to GLIBC_2.1.
10168
10169         * libio/Makefile (routines, shared-only-routines): Add
10170         oldiofclose.  Remove oldfreopen.
10171
10172         * libio/freopen.c (freopen): When PIC is defined, call
10173         _IO_old_freopen () for old stdio.
10174
10175         * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
10176         (_IO_fclose, fclose): Use _IO_new_fclose as default version
10177         for GLIBC_2.1.
10178
10179         * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
10180         instead of _IO_file_close_it.
10181
10182         * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
10183         to _IO_2_1_stdxxx_.
10184         (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
10185         is defined.
10186
10187         * libio/libioP.h (_IO_old_do_flush): New.
10188
10189         * libio/oldfileops.c (_IO_old_file_close_it,
10190         _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
10191         Call _IO_old_do_flush () instead of _IO_do_flush ().
10192         (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
10193         _IO_do_write ().
10194
10195         * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
10196         instead of _IO_file_init ().
10197         Bind old symbols to version GLIBC_2.0.
10198
10199         * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
10200         (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
10201         _IO_stdxxx_.
10202         (_IO_check_libio): New function in .init.
10203
10204         * libio/oldiofclose.c: New file.
10205
10206         * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
10207         _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
10208         (DEF_STDFILE): Don't use default_symbol_version.
10209
10210         * libio/stdio.c (stdin, stdout, stderr): Set to
10211         _IO_2_1_stdxxx_._
10212         (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
10213         stdxxx.
10214
10215         * csu/Makefile (distribute): Add init.c.
10216         (extra-objs): Add init.o for ELF.
10217         (start-installed-name): Add $(objpfx)init.o.
10218
10219         * csu/init.c: New file.
10220
10221 1997-11-12 08:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
10222
10223         * elf/dl-lookup.c (do_lookup): Don't use the hidden base
10224         definition as the default.
10225
10226 1997-08-27  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
10227
10228         * erand48_r.c (__erand48_r): Implement for 32 bit short int.
10229
10230 1997-11-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10231
10232         * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
10233         (PR 351).
10234
10235 1997-11-16 21:01  Philip Blundell  <Philip.Blundell@pobox.com>
10236
10237         * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
10238         to preserve condition codes on function call.
10239
10240 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10241
10242         * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
10243
10244 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10245
10246         * math/libm-test.c (asin_test): Add epsilon for float.
10247         (tan_test): Add epsilon for float.
10248         (log1p_test): Add epsilon for float.
10249         (inverse_functions): Add epsilons.
10250
10251         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
10252         net/if_packet.h.
10253
10254         * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
10255
10256 1997-11-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10257
10258         * md5-crypt/Makefile (extra-objs): Make recursively expanded
10259         variable, since $(object-suffixes) is not defined yet.
10260
10261 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10262
10263         * db2/Makefile (distribute): db185/db185_int.src ->
10264         db185/db185_int.h.
10265
10266 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10267
10268         * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
10269         exactly one.
10270
10271 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10272
10273         * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
10274         name.
10275         * sysdeps/generic/e_acosl.c: Likewise.
10276         * sysdeps/generic/e_asinl.c: Likewise.
10277         * sysdeps/generic/e_atan2l.c: Likewise.
10278         * sysdeps/generic/e_expl.c: Likewise.
10279         * sysdeps/generic/e_fmodl.c: Likewise.
10280         * sysdeps/generic/e_j0l.c: Likewise.
10281         * sysdeps/generic/e_j1l.c: Likewise.
10282         * sysdeps/generic/e_jnl.c: Likewise.
10283         * sysdeps/generic/e_lgammal_r.c: Likewise.
10284         * sysdeps/generic/e_log10l.c: Likewise.
10285         * sysdeps/generic/e_logl.c: Likewise.
10286         * sysdeps/generic/e_powl.c: Likewise.
10287         * sysdeps/generic/e_sqrtl.c: Likewise.
10288         * sysdeps/generic/e_exp2l.c: Likewise.
10289
10290 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10291
10292         * Make-dist (+sysdep-names): Remove extra paren.
10293         * Makefile (distribute): Add stub-tag.h.
10294         * elf/Makefile (distribute): Add atomicity.h.
10295         * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
10296         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
10297         [$(subdir)=socket]: Add net/if_packet.h.
10298         * sysdeps/alpha/Dist: Remove setjmp_aux.c.
10299         * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
10300         net/if_packet.h, scsi/sg.h.
10301
10302 1997-11-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10303
10304         * Makefile (install): Quote $(CC) expansion.
10305
10306 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10307
10308         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
10309         working /proc cwd and no restrictions on path length.  Following
10310         some ideas from Andi Kleen <ak@muc.de> (PR 350).
10311
10312 1997-11-14 19:14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10313
10314         * nis/nss_compat/compat-grp.c: Remove buggy assert call.
10315         * nis/nss_compat/compat-pwd.c: Likewise.
10316         * nis/nss_compat/compat-spwd.c: Likewise.
10317
10318 1997-11-14 22:23  Ulrich Drepper  <drepper@cygnus.com>
10319
10320         * sysdeps/libm-i387/s_fdim.S: New file.
10321         * sysdeps/libm-i387/s_fdimf.S: New file.
10322         * sysdeps/libm-i387/s_fdiml.S: New file.
10323         * sysdeps/libm-i387/i686/s_fdim.S: New file.
10324         * sysdeps/libm-i387/i686/s_fdimf.S: New file.
10325         * sysdeps/libm-i387/i686/s_fdiml.S: New file.
10326
10327 1997-11-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10328
10329         * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
10330         pointer to unsigned char.
10331
10332 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10333
10334         * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
10335
10336         * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
10337
10338         * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
10339
10340 1997-11-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10341
10342         * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
10343         ilogb(0/NaN).
10344         * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
10345         * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
10346
10347 1997-11-14 05:44  Ulrich Drepper  <drepper@cygnus.com>
10348
10349         * sysdeps/libm-i387/s_fmin.S: New file.
10350         * sysdeps/libm-i387/s_fminf.S: New file.
10351         * sysdeps/libm-i387/s_fminl.S: New file.
10352         * sysdeps/libm-i387/s_fmax.S: New file.
10353         * sysdeps/libm-i387/s_fmaxf.S: New file.
10354         * sysdeps/libm-i387/s_fmaxl.S: New file.
10355         * sysdeps/libm-i387/i686/s_fmin.S: New file.
10356         * sysdeps/libm-i387/i686/s_fminf.S: New file.
10357         * sysdeps/libm-i387/i686/s_fminl.S: New file.
10358         * sysdeps/libm-i387/i686/s_fmax.S: New file.
10359         * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
10360         * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
10361
10362 1997-11-14 03:06  Ulrich Drepper  <drepper@cygnus.com>
10363
10364         * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
10365         * sysdeps/unix/sysv/linux/send.S: Likewise.
10366         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
10367         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
10368         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
10369         * sysdeps/unix/sysv/linux/recv.S: Likewise.
10370         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
10371         * sysdeps/unix/sysv/linux/connect.S: Likewise.
10372         Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
10373
10374 See ChangeLog.7 for earlier changes.