Stub file
[glibc/pb-stable.git] / ChangeLog
blob555034e402812f9ea1ab2b24aad49b754589c02b
1 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
3         * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
4         to global errno variable anymore.
6 1998-02-17 17:41  Ulrich Drepper  <drepper@cygnus.com>
8         * elf/dl-load.c (open_path): Take extra argument PRELOADED.
9         If PRELOADED is nonzero check in case of an SUID application
10         whether the shared object has the SUID bit set.
11         Fix some other problems with handling shared objects in system
12         specific directories.
13         (_dl_map_object): Also take extra parameter and pass it to open_path.
14         * elf/link.h (_dl_map_object): Correct prototype and comment.
15         * elf/rtld.c (dl_main): Call _dl_map_object correctly.
16         * elf/dl-open.c (_dl_open): Likewise.
17         * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.
19         * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
21 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
23         * math/libm-test.c (modf_test): Add test for 1.5.
25         * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
26         0 to get always an int.
28 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
30         * math/libm.map: Move all symbols that are new in glibc 2.1 to
31         version GLIBC_2.1.
33 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
35         * stdio-common/vfscanf.c (inchar): Check c for being EOF before
36         trying to read another character.
38 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
40         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
41         name to lowercase.
43         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
44         name to lowercase, add test for big enough buffer.
46 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
48         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
49         Make compatible with older kernels.  Patch by Richard Henderson.
51 1998-02-17 15:10  Ulrich Drepper  <drepper@cygnus.com>
53         * elf/dl-load.c (open_path): Use __xstat instead of stat.
55         * localedata/tst-locale.sh: Comment out first test for now.
57 1998-02-14 14:58  H.J. Lu  <hjl@gnu.org>
59         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
60         as 1.
61         * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
62         Likewise.
64         * libio/iogetline.c (_IO_getline_info): Renamed from
65         _IO_getline.
66         (_IO_getline): Just call _IO_getline_info.
68         * libio/libioP.h (_IO_getline_info): New declaration.
70         * libc.map (_IO_getline_info, __write): Added.
72 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
74         * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
75         const char* to shut up gcc.
77 1998-02-17 11:37  Ulrich Drepper  <drepper@cygnus.com>
79         * eld/dl-open.c (_dl_open): Assign correct value to new->l_global.
80         Patch forwarded by Cristian Gafton <gafton@redhat.com>.
82         * math/math.h: Define M_* constants always as `double' and add new
83         macros M_*l which are of type `long double'.
84         * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
85         * sysdeps/libm-ieee754/s_cacosl.c: Likewise.
86         * sysdeps/libm-ieee754/s_casinhl.c: Likewise.
87         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
88         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
89         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
90         * sysdeps/libm-ieee754/s_clogl.c: Likewise.
91         * math/libm-tst.c: Likewise.
93         * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
94         define as long double unconditionally.
96 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
98         * manual/arith.texi (Old-style number conversion): Correct some
99         typos.
101 1998-02-16 16:28  H.J. Lu  <hjl@gnu.org>
103         * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
104         Restore.
106         * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.
108 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
110         * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
111         on $(rtld-ldscript).
113         * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
114         starting from 0 not only from `from'.
115         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
117 1998-02-16 17:33  Ulrich Drepper  <drepper@cygnus.com>
119         * elf/rtld.c (dl_main): Recognize --library-path parameter and
120         pass value (or NULL) to _dl_init_paths.
121         * elf/dl-load.c (_dl_init_paths): Change to take one parameter,
122         replacing local variable llp.  If llp is NULL examine LD_LIBRARY_PATH
123         environment variable.
124         * elf/link.h: Change prototype for _dl_init_paths.
125         * elf/dl-support.c: Pass NULL in _dl_init_paths call.
127         * localedata/Makefile (distribute): Add test files.
129 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
131         * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
132         test1.def, test2.def, test3.def, test4.def}: Simple input files
133         for localedef. Contributed by Yung-Ching Hsiao
134         <yhsiao@cae.wisc.edu>.
136         * localedata/Makefile (tests): Call tst-locale.sh.
138         * localedata/tst-locale.sh: New file, regression tests for some
139         localedef problems.
141 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
143         * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.
145         * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
146         terminated.
147         * nis/nss_nisplus/nisplus-network.c: Likewise.
148         * nis/nss_nisplus/nisplus-proto.c: Likewise.
149         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
150         * nis/nss_nisplus/nisplus-service.c: Likewise.
152         Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
153         and support generating thread safe RPC code.
154         * sunrpc/rpc_main.c: Add changes.
155         * sunrpc/rpc_clntout.c: Likewise.
156         * sunrpc/rpc_cout.c: Likewise.
157         * sunrpc/rpc_hout.c: Likewise.
158         * sunrpc/rpc_parse.c: Likewise.
159         * sunrpc/rpc_sample.c: Likewise.
160         * sunrpc/rpc_scan.c: Likewise.
161         * sunrpc/rpc_svcout.c: Likewise.
162         * sunrpc/rpc_util.c: Likewise.
163         * sunrpc/rpc_util.h: Add new structs and prototypes.
164         * sunrpc/proto.h: Remove prototypes for static functions.
166 1998-02-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
168         * locale/programs/ld-messages.c (messages_finish): Don't skip
169         error checking when being quiet.
170         * locale/programs/ld-ctype.c (ctype_finish): Likewise.
171         (set_class_defaults): Likewise.
172         * locale/programs/charmap.c (parse_charmap): Likewise.
173         * locale/programs/ld-collate.c (collate_finish): Likewise.
174         * locale/programs/ld-monetary.c (monetary_finish): Likewise.
175         * locale/programs/ld-time.c (time_finish): Likewise.
176         * locale/programs/locfile.c (write_locale_data): Likewise.
178         * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
179         unknown characters and empty ranges.
180         * locale/programs/ld-collate.c (collate_order_elem): When
181         processing an ellipsis properly form a linked list in the result
182         table, fix typo when allocating ordering array.
183         [PR libc/419]
185 1998-02-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
187         * elf/Makefile (ld-map): Define.
188         (rtld-ldscript): Define.  Change all `$(objpfx)rtld-ldscript' to
189         `$(rtld-ldscript)'.
190         ($(objpfx)ld.so): Combine the two versions of this rule.  Depend
191         on $(ld-map).
192         (rtld-link): Combine the two versions of this definition.  Fixed
193         to make it work when no symbol versioning is used.
195 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
197         * Makeconfig (build-program-cmd): Use --library-path parameter to
198         ld.so instead of environment variable.
200         * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
201         * sunrpc/rpc_main.c: Remove support for -$$ option again.
203 1998-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
205         * Make-dist: Respect with-cvs setting.
206         * MakeTAGS (all-pot): Likewise.
207         * sysdeps/sparc/sparc32/Makefile: Likewise.
208         * sysdeps/mach/hurd/Makefile: Likewise.
209         * stdlib/Makefile: Likewise.
210         * posix/Makefile: Likewise.
211         * intl/Makefile: Likewise.
212         * po/Makefile (linguas): Likewise
214 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
216         * nis/ypclnt.c (yp_all): Remove error message, user should print it.
218 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
220         * libc.map: Add __strcasecmp.
222         * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
223         module.
225         * nss/getXXent_r.c: If no more module is found don't try to call
226         setXXent functions but leave unsuccessfully.
228         * malloc/obstack.h: Cleanups.
230         * sysdeps/wordsize-32/stdint.h: New file.
231         * sysdeps/wordsize-64/stdint.h: New file.
232         * sysdeps/generic/stdint.h: New file.
233         * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h.
234         * sysdeps/wordsize-64/inttypes.h: Likewise.
235         * stdlib/Makefile (headers): Add stdint.h.
237 1998-02-03  Paul Eggert  <eggert@twinsun.com>
239         * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.
241 1998-02-13 17:59  Zack Weinberg  <zack@rabi.phys.columbia.edu>
243         * timezone: New directory.
244         * time/README, time/africa, time/antarctica, time/asia,
245         time/australasia, time/backward, time/checktab.awk,
246         time/etcetera, time/europe, time/factory, time/ialloc.c,
247         time/iso3166.tab, time/leapseconds, time/northamerica,
248         time/pacificnew, time/private.h, time/scheck.c,
249         time/solar87, time/solar88, time/solar89, time/southamerica,
250         time/systemv, time/test-tz.c, time/tzfile.h,
251         time/tzselect.ksh, time/yearistype, time/zdump.c,
252         time/zic.c, time/zone.tab: Moved to timezone.
253         * time/tzfile.c: Include tzfile.h from timezone subdir.
254         * time/tzset.c: Likewise.
255         * time/Makefile: Cut out all code relating to timezones...
256         * timezone/Makefile: ...and paste it in here.
257         * Makefile (subdirs): Add timezone.
259 1998-02-13 18:45  H.J. Lu  <hjl@gnu.org>
261         * libc.map (_sys_nerr): Added.
263         * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it
264         versioned symbol.
266 1998-02-15 17:16  Ulrich Drepper  <drepper@cygnus.com>
268         * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
269         pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
270         Reported by Craig Metz <cmetz@inner.net>.
272 1998-01-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
274         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
275         instead of strcasecmp.
276         * nss/nss_files/files-alias.c (get_next_alias): Likewise.
278         * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8.
280 1998-02-15 16:55  Ulrich Drepper  <drepper@cygnus.com>
282         * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
283         Patch by Dean Gaudet <dgaudet@arctic.org>.
285 1998-02-15 16:53  Ulrich Drepper  <drepper@cygnus.com>
287         * sysdeps/generic/Dist: Add getresgid.c and getresuid.c.
289 1998-02-15 10:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
291         * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel
292         with no poll syscall, just include the BSD version.
293         * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a
294         kernel without the syscall, include the stub version.
295         * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
296         * sysdeps/generic/getresuid.c: New file.
297         * sysdeps/generic/getresgid.c: New file.
299 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
301         * stdio-common/vfscanf.c: Correct last change a bit.
303 1998-02-13 17:39  Ulrich Drepper  <drepper@cygnus.com>
305         * elf/Makefile: Don't use --version-script parameter to link ld.so
306         unconditionally.
308 1998-01-02 04:19  Geoff Keating  <geoffk@ozemail.com.au>
310         * math/Makefile: Add t_exp.
311         * math/libm-test.c: Tighten accuracy bounds for exp(), correct
312         constants.
313         * math/test-reduce.c: Remove temporarily, it seems to be broken.
314         * sysdeps/libm-ieee754/e_exp.c: Use accurate table method.
315         * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for
316         better accuracy.
317         * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct
318         algorithm for very large/very small arguments.
319         * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial;
320         correct algorithm for very large/very small arguments; adjust for
321         new table.
322         * sysdeps/libm-ieee754/t_exp.c: New file.
323         * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas.
325         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test'
326         back, with comment that explains what breaks when you remove it :-(.
328         * localedata/xfrm-test.c: Avoid integer overflow.
330         * stdlib/strfmon.c: char is unsigned, sometimes.
332         * sysdeps/powerpc/Makefile: Remove quad float support.
333         * sysdeps/powerpc/q_*.c: Remove, they will become an add-on.
334         * sysdeps/powerpc/quad_float.h: Likewise.
335         * sysdeps/powerpc/test-arith.c: Likewise.
336         * sysdeps/powerpc/test-arithf.c: Likewise.
338         * sysdeps/generic/s_exp2.c: Remove, we have this implemented now.
339         * sysdeps/generic/s_exp2f.c: Likewise.
341         * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__,
342         don't try anything if _SOFT_FLOAT.
344 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
346         * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
347         * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
348         * wctype/wctype.c: Likewise.
349         * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
350         changed.  They are incompatible with the _ISxxx values from
351         <ctype.h> on little endian machines.
352         (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
353         bit number.  This fixes the real bug and restores the integrity of
354         the ctype locale file.
355         * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
356         * wctype/wcfuncs_l.c: Likewise.
357         * wctype/wcextra.c: Likewise.
358         * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
359         byte swapping.
361 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
363         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it
364         into .bss segment instead of .common, so that aliases on it work.
366         * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and
367         .size directives, put into .bss segment instead of initializing it
368         to 4.
370 1998-02-12 08:00  H.J. Lu  <hjl@gnu.org>
372         * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added.
374         * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New
375         functions.
376         Make names without __ weak aliases.
377         (__libc_release, __libc_version): Make them static.
379         * include/gnu/libc-version.h: New file.
380         * Makefile (headers): Add gnu/libc-version.h.
382 1998-02-13  Ulrich Drepper  <drepper@cygnus.com>
384         * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
385         and use x for member name.
386         Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
388         * stdlib/drand48.c: Change according to member name change.
389         * stdlib/drand48_r.c: Likewise.
390         * stdlib/lcong48_r.c: Likewise.
391         * stdlib/lrand48.c: Likewise.
392         * stdlib/lrand48_r.c: Likewise.
393         * stdlib/mrand48.c: Likewise.
394         * stdlib/mrand48_r.c: Likewise.
395         * stdlib/seed48.c: Likewise.
396         * stdlib/seed48_r.c: Likewise.
397         * stdlib/srand48_r.c: Likewise.
399 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
401         * nss/test-netdb.c: Add some more test cases.
403 1998-02-13 11:39  Ulrich Drepper  <drepper@cygnus.com>
405         * libio/iovsscanf.c: Undo last change modifying errno.
407 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
409         * stdio-common/vfscanf.c: Never try to read another character
410         after EOF.  Don't decrement read_in after EOF, it wasn't
411         incremented in the first place.
412         (NEXT_WIDE_CHAR): Set First, not first.
414 1998-02-06 07:48  H.J. Lu  <hjl@gnu.org>
416         * db/Makefile ($(inst_libdir)/libndbm.a,
417         $(inst_libdir)/libndbm.so): New targets.
418         * db2/Makefile: Likewise.
420 1998-02-12 08:20  H.J. Lu  <hjl@gnu.org>
422         * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak
423         aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined.
425 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
427         * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++
428         <streambuf.h>.
429         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
431 1998-02-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
433         * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with
434         versioned symbols.
436 1998-02-13 08:14  H.J. Lu  <hjl@gnu.org>
438         * libc.map (_dl_global_scope, _dl_lookup_symbol_skip,
439         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip):
440         Added for libdl.so.
442 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
444         * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
445         extra syscall.
447         * grp/Makefile: Fix logic when checking for thread package.
448         * pwd/Makefile: Likewise.
450 1998-02-11 08:23  H.J. Lu  <hjl@gnu.org>
452         * elf/Makefile (rtld-map): Replaced by libc-map.
454         * elf/rtld.map: Removed.
456         * libc.map (__libc_enable_secure, _dl_catch_error,
457         _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state,
458         _dl_default_scope, _dl_global_scope_end, _dl_init_next,
459         _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps,
460         _dl_object_relocation_scope, _dl_relocate_object,
461         _dl_signal_error, _dl_starting_up, _dl_sysdep_start,
462         _r_debug): Added for ld.so.
464 1998-02-10 08:38  H.J. Lu  <hjl@gnu.org>
466         * libio/iofclose.c: Check PIC && DO_VERSIONING instead of
467         DO_VERSIONING.
468         * libio/iofdopen.c: Ditto.
469         * libio/iofopen.c: Ditto.
470         * libio/oldfileops.c: Ditto.
472         * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for
473         version GLIBC_2.1.
475         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed
476         oldsiglist from sysdep_routines and shared-only-routines.
478         * sysdeps/unix/sysv/linux/errlist.c: New.
479         * sysdeps/unix/sysv/linux/errlist.h: New.
480         * sysdeps/unix/sysv/linux/sizes.h: New.
481         * sysdeps/unix/sysv/linux/alpha/sizes.h: New.
482         * sysdeps/unix/sysv/linux/sparc64/sizes.h: New.
484         * sysdeps/unix/sysv/linux/oldsiglist.c: Removed.
486         * sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>.
487         (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size
488         directive.
490         * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New.
492         * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added.
493         (oldsiglist.c): Removed.
495         * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New.
496         (_sys_siglist): Use SYS_SIGLIST instead.
497         (_sys_nerr): Use SYS_NERR instead.
499         * sysdeps/gnu/errlist.c: Rebuilt.
501 1998-02-11 08:35  H.J. Lu  <hjl@gnu.org>
503         * elf/Makefile (others-static): New, set to ldconfig.
504         ($(objpfx)ldconfig): Removed.
506         * Rules (binaries-all, binaries-static, binaries-shared): New.
507         Create targets for $(binaries-static) and $(binaries-shared).
509         * Makeconfig (+link-static, link-libc-static,
510         link-extra-libs-static): New for static linking.
512 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
514         * manual/memory.texi (Using the Memory Debugger): Fix typo.
516         * math/libm-test.c (modf_test): Add one more test for modf.
518 1998-02-11 14:39  Ulrich Drepper  <drepper@happy.cygnus.com>
520         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
521         Rename from __libc_have_rt_sigs and leave as COMMON data.
523 1998-02-11 08:30  H.J. Lu  <hjl@gnu.org>
525         * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead
526         of __finite.
528 1998-02-11 19:16  Richard Henderson  <rth@cygnus.com>
530         * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
532 1998-02-11 16:56  Ulrich Drepper  <drepper@happy.cygnus.com>
534         * misc/tst-efgcvt.c: Add yet more tests.
535         * misc/efgcvt_r.c: And correct for these tests again.
536         Reported by HJ Lu.
538         * isomac.c: Move to...
539         * stdlib/isomac.c: ...here.
540         * Makefile: Move rules for handling isomac...
541         * stdlib/Makefile: ...to here.
543 1998-02-10 23:57  Ulrich Drepper  <drepper@happy.cygnus.com>
545         * misc/tst-efgcvt.c: Add more tests.
546         * misc/efgcvt_r.c: Correct result for above new tests.
548 1998-02-06 17:22  H.J. Lu  <hjl@gnu.org>
550         * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
551         NDIGIT <= 0.
553 1998-02-10 16:48  Philip Blundell  <pb@nexus.co.uk>
555         * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
556         if the programs weren't built.
558 1998-02-09 10:12  Philip Blundell  <pb@nexus.co.uk>
560         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
561         FE_TONEAREST, soldier on regardless and do the best we can.
562         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
564 1998-02-5 17:20  Philip Blundell  <pb@nexus.co.uk>
566         * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
567         _STDIO_H, before including <bits/stdio_lim.h>.
569         * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
571         * io/fts.c (fts_build): Don't try to use d_type if it doesn't
572         exist.
574         * sysdeps/arm/sys/ucontext.h: New file.
576 1998-02-04 10:11  Philip Blundell  <pb@nexus.co.uk>
578         * manual/stdio.texi (Formatted Output Functions): Explicitly say
579         that the return value from snprintf() does not count the
580         terminating NUL as a character.
582 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
584         * manual/users.texi: Rewrite to describe correct POSIX behaviour,
585         add description for sete[ug]id and general cleanup.
586         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
588 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
590         * Makefile (parent-clean): Don't remove makefile fragments here.
591         (postclean): New variable.
592         (clean): Remove makefile fragments here.
593         (realclean distclean): Likewise.  Pass sysdep-subdirs to sub-make.
594         (generated): Add isomac and isomanc.out.
595         * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
596         avoid-generated is set.
597         (postclean-generated): Add soversion.mk.
598         ($(common-objpfx)version.mk): Don't include if avoid-generated is
599         set.
600         * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
601         avoid-generated is set.
602         (common-generated): Add libc.so and libc.so$(libc.so-version).
603         (generated): Add versioned libraries.
604         (common-mostlyclean): Also remove %.so and %_pic.a.
605         * csu/Makefile (generated): Add abi-tag.h.
606         * db2/Makefile (extra-objs): Add getlong.o.
607         * elf/Makefile (generated): Add ld.so, ldd and
608         $(rtld-installed-name).
609         (others): Add ldconfig here instead of ldconfig.o to extra-objs.
610         * malloc/Makefile (generated): Add mtrace.
611         * po/Makefile: Don't include version.mk, not needed any more.
612         * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
613         * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
614         syscall.h -> sys/syscall.h.
615         (common-generated): Add s-proto.d.
616         (postclean-generated): Add sysd-syscalls.
617         * localedata/Makefile (test-output): Add all output files.
618         (generated): Add test-input and test-output.
619         (generated-dirs): Add all the dirs.
621 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
623         * Makefile (test-output, generated, generated-dirs): New
624         variables.
626 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
628         * resolv/nss_dns/dns-host.c: Various code cleanups.
630 1998-02-09 08:10  H.J. Lu  <hjl@gnu.org>
632         * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
633         From Philip Blundell <pb@nexus.co.uk>.
634         * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
636 1998-02-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
638         * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
639         Suggested by debian/sparc porters.
641 1998-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
643         * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
644         for ecvt and fcvt.
646 1998-02-10 16:32  Ulrich Drepper  <drepper@happy.cygnus.com>
648         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
649         __fxstat instead of stat and fstat.  Use namespace clean __stpcpy.
651         * signal/signal.h: Always define sigset_t if __need_sigset_t is
652         defined even if __USE_POSIX is not defined.
654 1998-02-02 20:51  Zack Weinberg  <zack@rabi.phys.columbia.edu>
656         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
657         to support obsolete tty major numbers correctly.
659 1998-02-02 08:47  H.J. Lu  <hjl@gnu.org>
661         * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
662         directory first and ignore install error.
664         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
665         128 from ptyno and fix a typo for the BSD style pty.
667 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
669         * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
670         syscalls.list's.
672 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
674         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
675         getresuid and getresgid.
677         * sysdeps/unix/sysv/linux/getresuid.c: New file.
678         * sysdeps/unix/sysv/linux/getresgid.c: New file.
680         * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
681         s_getres[ug]id.
683         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
684         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
685         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
686         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
688 1998-02-02 08:11  H.J. Lu  <hjl@gnu.org>
690         * nscd/grpcache.c: Include <stdlib.h>.
692 1998-02-01 16:01  H.J. Lu  <hjl@gnu.org>
694         * stdlib/atoll.c: Fix comments.
696         * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
697         * sysdeps/posix/ttyname_r.c: Ditto.
699 1998-02-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
701         * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
702         __USE_MISC, independent of __USE_UNIX98.
704 1998-02-10 19:18  Ulrich Drepper  <drepper@happy.cygnus.com>
706         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
707         Rename from __libc_have_rt_sigs and leave as COMMON data.
709 1998-02-04 11:58  Richard Henderson  <rth@twiddle.rth.home>
711         * Makeconfig (CFLAGS-.os): Kill -fno-common.
712         * Makerules (libc.so): Prelink libc_pic.a, allocating commons.
714         * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
715         * elf/rtld.map: New file.  Needed to define the GLIBC_2.*
716         version symbols.
717         * include/libc-symbols.h (symbol_version, default_symbol_version):
718         Provide asm versions and correct !DO_VERSIONING versions.
719         * sysdeps/unix/make-syscalls.sh: Recognize version symbols in
720         the weak symbol list.
722         * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
723         Rename from __libc_have_rt_sigs and leave as COMMON data.
724         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
725         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
726         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
728 1998-02-04 16:41  Zack Weinberg  <zack@rabi.phys.columbia.edu>
730         * sunrpc/Makefile: Correct dependencies of rpcgen.
732 1998-02-10 03:00  Ulrich Drepper  <drepper@happy.cygnus.com>
734         * nscd/Makefile: Fix test for available linuxthreads add-on.
735         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
737 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
739         * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
741 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
743         * sysdeps/gnu/Makefile: Respect with-cvs variable.
745         * manual/errno.texi (Error Messages): Correct description of
746         strerror_r.  Pointed out by jonas@bagge.se.
748 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
750         * manual/socket.texi (Host Address Functions): Clarify description
751         of inet_network.
753 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
755         * sysdeps/unix/grantpt.c (argv): Move const to toplevel.
756         (grantpt): Delete superfluous cast.
758 1998-02-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
760         * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
761         elf/ldso_install instead of elf/subdir_install.
762         (elf/ldso_install): New target.
764         * elf/Makefile (ldso_install): New target.
766 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
768         * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
769         of 1998-01-06.
771 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
773         * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
774         constant expressions.
776 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
778         * nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
779         for __nss_configure_lookup.
780         (output_hostent): Remove unused variable.
782 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
784         * string/tst-inlcall.c: Fix format string.
786 1998-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
788         * inet/netinet/in.h: Rename second parameter of bindresvport to
789         avoid buggy gcc warning. [PR libc/412]
791 1998-02-04 18:04  Richard Henderson  <rth@cygnus.com>
793         * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
794         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
796         * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
797         Follow POSIX and make tv_sec a time_t.
798         * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
799         new tv64 syscall as well as fall back to tv32.
800         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
801         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
802         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
803         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
804         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
805         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
806         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
807         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
809         * include/rpcsvc/nis.h: New.  Bounce to nis/rpcsvc.
810         * include/rpcsvc/nis_tags.h: Likewise.
811         * include/rpcsvc/nislib.h: Likewise.
813 1998-02-02 01:12  Ulrich Drepper  <drepper@cygnus.com>
815         * libc.map: Add _h_errno.
816         * inet/herrno.c: Make _h_errno weak alias.
818         * login/Makefile (distribute): Add pty-internal.h.
820         * nscd/Makefile (distribute): Add all the files missing.
822         * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
823         are available.
825         * stdio-common/tstscanf.c: Rewrite a bit to continue after errors
826         and report status at the end.
828         * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
830         * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
831         variable.
832         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
833         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
834         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
836 1998-01-03 20:47  Mark Kettenis  <kettenis@phys.uva.nl>
838         * configure.in: Fix --enable-add-ons code.
840 1998-02-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
842         * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
843         by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
844         [PR libc/441]
846         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
847         occurence in cache.  Reported by Rudolf Leitgeb
848         <leitgeb@leland.stanford.edu>.
849         [PR libc/440]
851 1998-02-01 21:18  Ulrich Drepper  <drepper@cygnus.com>
853         * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
854         that it never is EINTR (which is tested for in _IO_vfscanf).
856         * Makefile.in: Call sub-make with CVSOPTS.
858         * elf/Makefile (distribute): Add dl-procinfo.h.
860         * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.
862 1998-02-01 15:54  Ulrich Drepper  <drepper@cygnus.com>
864         * version.h (VERSION): Bump to 2.0.92.
866 1998-01-31  Phil Blundell  <philb@gnu.org>
868         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
869         alias for __new_sys_siglist.
871 1998-02-01 00:53  Ulrich Drepper  <drepper@cygnus.com>
873         * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
874         getgrgid_r.c if thread package is available.
875         * pwd/Makefile: Likewise.
876         * grp/getgrnam_r.c: Remove USE_NSCD definition.
877         * grp/getgrgid_r.c: Likewise.
878         * pwd/getpwnam_r.c: Likewise.
879         * pwd/getpwuid_r.c: Likewise.
881 1998-01-31 23:46  Ulrich Drepper  <drepper@cygnus.com>
883         * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
884         with error to allow user intervention.
885         * nss/getXXent_r.c: Likewise.
887 1998-01-31 21:18  Ulrich Drepper  <drepper@cygnus.com>
889         * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
890         AT_PLATFORM string.  Pretty print AT_BASE info.
892         * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
893         (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
894         * sysdeps/generic/dl-procinfo.h: New file.
895         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
897 1998-01-31 20:52  Ulrich Drepper  <drepper@cygnus.com>
899         * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.
901         * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
902         thread and not pthread_detach.
904         * nscd/nscd.c: Rewrite to use argp instead of getopt.
906 1998-01-31  Phil Blundell  <philb@gnu.org>
908         * configure.in: Add --without-cvs option to suppress automatic
909         checkin of regenerated files.
910         * config.make.in: Likewise.
911         * Makefile: Respect with-cvs setting.
912         * Makerules: Likewise.
914         * configure.in: Allow the standalone ARM port to be configured.
916 1998-01-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
918         * grp/getgrgid_r.c: Define USE_NSCD.
919         * grp/getgrnam_r.c: Likewise.
920         * pwd/getpwuid_r.c: Likewise.
921         * pwd/getpwnam_r.c: Likewise.
923         * sysdeps/unix/inet/Subdirs: Add nscd subdir.
925         * nss/getXXbyYY_r.c: Try at first nscd.
927         * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
928         * nscd/connections.c: New file.
929         * nscd/dbg_log.c: New file.
930         * nscd/dbg_log.h: New file.
931         * nscd/grpcache.c: New file.
932         * nscd/nscd.c: New file.
933         * nscd/nscd.h: New file.
934         * nscd/nscd_conf.c: New file.
935         * nscd/nscd_stat.c: New file.
936         * nscd/pwdcache.c: New file.
938         * nscd/nscd_getgr_r.c: New, client code, linked into libc.
939         * nscd/nscd_getpw_r.c: Likewise.
940         * nscd/nscd_proto.h: New, prototypes for client functions.
942         * nscd/nscd.conf: New, example for a configuration file.
943         * nscd/nscd.init: New, example for a startup script.
945         * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
946         avoid deadlocks.
947         * nscd/getgrnam_r.c: Likewise.
948         * nscd/getpwnam_r.c: Likewise.
949         * nscd/getpwuid_r.c: Likewise.
951 1998-01-31 11:44  Ulrich Drepper  <drepper@cygnus.com>
953         * intl/Makefile: Use CVSOPTS in cvs invocation.
954         * po/Makefile: Likewise.
955         * posix/Makefile: Likewise.
956         * stdlib/Makefile: Likewise.
958 1998-01-31 11:18  Ulrich Drepper  <drepper@cygnus.com>
960         * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
961         [PR libc/410]
962         * misc/Makefile (tests): Add tst-efgcvt.
963         * misc/tst-efgcvt.c: New file.
965 1998-01-31 00:21  Ulrich Drepper  <drepper@cygnus.com>
967         * posix/regex.c: Add some more cleanups by Akim Demaille.
969 1998-01-30 23:55  Ulrich Drepper  <drepper@cygnus.com>
971         * signal/signal.h: Revert last change.
972         * string/strsignal.c: Regard signal number NSGI as illegal.
973         * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
974         members.
976 1998-01-30 23:37  Ulrich Drepper  <drepper@cygnus.com>
978         * Makefile.in: Add comment about CVSOPTS Makefile variable.
979         * Makerules: Use CVSOPTS in cvs invocation.
980         * Makefile: Likewise.
981         * MakeTAGS: Likewise.
982         * Make-dist: Likewise.
984 1998-01-30 22:37  Ulrich Drepper  <drepper@cygnus.com>
986         * sysdeps/generic/memmem.c: Correct last change.
988 1998-01-30 22:12  Ulrich Drepper  <drepper@cygnus.com>
990         * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
991         CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
993 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
995         * nis/ypclnt.c: Try at first to use the binding file from ypbind
996         before using RPC.
998 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1000         * manual/memory.texi (Heap Consistency Checking): mcheck is
1001         declared in <mcheck.h>.
1002         Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
1004 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1006         * sysdeps/generic/memmem.c (memmem): An empty needle is at the
1007         beginning of haystack.
1009 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1011         * nss/nss_files/files-service.c: Correct last patch.
1013 1998-01-30 21:29  Ulrich Drepper  <drepper@cygnus.com>
1015         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
1016         __libc_have_rt_sigs.
1017         * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
1018         including <bits/setjmp.h>.
1019         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
1020         Patch from the Debian glibc/SPARC package.
1022 1997-12-12 07:57  H.J. Lu  <hjl@gnu.org>
1024         * sysdeps/alpha/bzero.S: Fix a typo.
1025         * sysdeps/alpha/htonl.S: Ditto.
1026         * sysdeps/alpha/htons.S: Ditto.
1028 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1030         * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
1032 1998-01-30 19:58  Ulrich Drepper  <drepper@cygnus.com>
1034         * include/cpio.h: Move to ...
1035         * posix/cpio.h: ...here.
1037         * locale/programs/ld-collate.c: Fix typo.
1039         * signal/signal.h: Declare _sys_siglist with NSIG+1 elements.
1041         * stdio-common/tiformat.c: Add checks for %#.0o and friends.
1043         * login/utmp_file.c (pututline_file): Don't always report success
1044         if similar entry is found.  Patch by Mark M. Kettenis.
1046 1998-01-30 16:06  Philip Blundell  <pb@nexus.co.uk>
1048         * manual/Makefile: Don't try to install the info files if makeinfo
1049         is not available.
1051 1998-01-30 12:05  Philip Blundell  <pb@nexus.co.uk>
1053         * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
1054         kernel's network ioctls, rather than using <linux/sockios.h> to
1055         get them.  This way we are sure of maintaining compatibility if
1056         the kernel interface should change.
1058 1998-01-30 15:52  Ulrich Drepper  <drepper@cygnus.com>
1060         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
1062 1998-01-25 19:54  Philip Blundell  <Philip.Blundell@pobox.com>
1064         * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
1065         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
1067 1998-01-27 22:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1069         Implement System V pseudoterminal handling.
1071         * login/Makefile
1072         (routines): Add getpt, grantpt, unlockpt, ptsname.
1073         (libutil-routines): Remove pty. Add openpty, forkpty.
1074         (distribute): New internal header pty-internal.h.
1075         (others): Add the helper program, pt_chown.
1076         (install-others): Install it, in $(libexecdir), mode 4755.
1078         * login/pty-internal.h: New file.
1079         * login/openpty.c: New file.
1080         * login/forkpty.c: New file.
1081         * login/programs/pt_chown.c: New file.
1083         * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
1084         * stdlib/stdlib.h: Prototype them.
1086         * config.make.in: Define $(libexecdir).
1087         * Makeconfig: Define $(inst_libexecdir).
1089         * sysdeps/generic/pty.c: Removed.
1090         * sysdeps/unix/sysv/linux/pty.c: Removed.
1092         * sysdeps/generic/getpt.c: Stub out.
1093         * sysdeps/generic/grantpt.c: Likewise.
1094         * sysdeps/generic/ptsname.c: Likewise.
1095         * sysdeps/generic/unlockpt.c: Likewise.
1097         * sysdeps/unix/grantpt.c: New file.
1098         * sysdeps/unix/bsd/getpt.c: New file.
1099         * sysdeps/unix/bsd/unlockpt.c: New file.
1100         * sysdeps/unix/sysv/linux/getpt.c: New file.
1101         * sysdeps/unix/sysv/linux/ptsname.c: New file.
1102         * sysdeps/unix/sysv/linux/unlockpt.c: New file.
1104 1998-01-29 23:56  Ulrich Drepper  <drepper@cygnus.com>
1106         * localedata/locales/ru_RU: Fix YESEXPR.  Patch by lav@yars.free.net.
1108 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1110         * nss/Makefile (tests): Add rule for test-netdb.c.
1112         * nss/test-netdb.c: New file.
1114 1998-01-29 02:38  Ulrich Drepper  <drepper@cygnus.com>
1116         * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
1117         really kept as a variable.  Patch by Richard Henderson,
1118         reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
1120         * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
1121         * elf/genrtldtbl.awk: Mark machine dependent directory of generated
1122         entries as not existing.
1124 1998-01-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1126         * stdio-common/vfprintf.c (process_arg): Fix printing of octal
1127         zero in alternate form with precision of zero, which must produce
1128         "0".  Add braces to avoid ambiguous `else'.
1130 1998-01-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1132         * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
1133         problem with strncpy.
1134         * nis/nss_compat/compat-pwd.c: Likewise.
1135         * nis/nss_compat/comapt-spwd.c: Likewise.
1137 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1139         * assert/assert.h (assert_perror): Correct test for errnum.  Patch
1140         by uch@nop.or.jp. [PR libc/437]
1142 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1144         * locales/pl_PL: Fix int_curr_symbol.
1146 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1148         * nis/nis_cache.c: Include <unistd.h> for declaration of close.
1150 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1152         * stdio-common/test-popen.c: Include <errno.h>.
1154         * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
1155         close.
1157         * inet/getnetgrent_r.c: Include <errno.h>.
1159         * db2/db/db_conv.c: Include <string.h> for memcpy.
1161         * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
1162         so that memcpy is declared.
1164         * iconv/iconv_open.c: Include <stdlib.h> for alloca.
1166         * misc/init-misc.c: Remove unneeded inclusion of <errno.h>.
1168 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1170         * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
1171         overflow while reading line with fgets.
1172         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
1174 1998-01-27 00:46  Ulrich Drepper  <drepper@cygnus.com>
1176         * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
1177         unsigned short, not short.
1178         Reported by Andreas Jaeger.
1180 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1182         * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
1183         (ccept->accept).
1185         * sysdeps/generic/inttypes.h: Fix spelling.
1187 1998-01-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1189         * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.
1191         * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
1193 1998-01-27 00:30  Ulrich Drepper  <drepper@cygnus.com>
1195         * stdio-common/printf.h (struct print_info): Add new bitfield is_char.
1196         * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
1197         field for hh modifier.
1198         * stdio-common/vfprint.c: Use is_char field and do not depend in
1199         is_short having the value 2.
1200         Bug reported by Andreas Jaeger.
1202 1998-01-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1204         * libio/freopen.c (freopen): Call _IO_old_freopen only if defined
1205         PIC && DO_VERSIONING.
1207 1998-01-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1209         * Rules: Add rules for $(common-objpfx)dummy$o.
1211 1998-01-26  Richard Henderson  <rth@cygnus.com>
1213         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
1214         unimplemented OSF/1 definitions so that they are not accidentally seen.
1216         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
1217         of the trampoline function into the macro.
1218         * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
1219         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
1220         kernel 2.1.82 has this fixed.
1222         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
1223         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
1225 1998-01-26  Ulrich Drepper  <drepper@cygnus.com>
1227         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
1228         support sigaction on kernels > 2.1.7x.
1230 1998-01-01 13:52  Ulrich Drepper  <drepper@cygnus.com>
1232         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
1233         if it is empty.
1235         * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
1236         Patch by David Engel <david@sw.ods.com>.
1238         * configure.in: Fix another typo in --enable-add-ons code.
1240 1998-01-26 03:48  Ulrich Drepper  <drepper@cygnus.com>
1242         * sysdeps/unix/sysv/linux/siglist.c: Add copyright text.
1244 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1246         * nss/nss_files/files-network.c: Correct order of parameters for
1247         getnetbyaddr.
1249 1998-01-26 00:57  Ulrich Drepper  <drepper@cygnus.com>
1251         * db2/Makefile (routines): Add os_alloc.
1252         * db2/db.h: Update from db-2.3.16.
1253         * db2/db_185.h: Likewise.
1254         * db2/db_int.h: Likewise.
1255         * db2/btree/bt_close.c: Likewise.
1256         * db2/btree/bt_cursor.c: Likewise.
1257         * db2/btree/bt_delete.c: Likewise.
1258         * db2/btree/bt_open.c: Likewise.
1259         * db2/btree/bt_page.c: Likewise.
1260         * db2/btree/bt_put.c: Likewise.
1261         * db2/btree/bt_rec.c: Likewise.
1262         * db2/btree/bt_recno.c: Likewise.
1263         * db2/btree/btree_auto.c: Likewise.
1264         * db2/common/db_appinit.c: Likewise.
1265         * db2/common/db_apprec.c: Likewise.
1266         * db2/common/db_err.c: Likewise.
1267         * db2/common/db_region.c: Likewise.
1268         * db2/common/db_shash.c: Likewise.
1269         * db2/db/db.c: Likewise.
1270         * db2/db/db_auto.c: Likewise.
1271         * db2/db/db_conv.c: Likewise.
1272         * db2/db/db_dispatch.c: Likewise.
1273         * db2/db/db_dup.c: Likewise.
1274         * db2/db/db_pr.c: Likewise.
1275         * db2/db/db_rec.c: Likewise.
1276         * db2/db185/db185.c: Likewise.
1277         * db2/dbm/dbm.c: Likewise.
1278         * db2/hash/hash.c: Likewise.
1279         * db2/hash/hash_auto.c: Likewise.
1280         * db2/hash/hash_dup.c: Likewise.
1281         * db2/hash/hash_page.c: Likewise.
1282         * db2/hash/hash_rec.c: Likewise.
1283         * db2/include/btree_ext.h: Likewise.
1284         * db2/include/clib_ext.h: Likewise.
1285         * db2/include/common_ext.h: Likewise.
1286         * db2/include/db.h.src: Likewise.
1287         * db2/include/db_185.h.src: Likewise.
1288         * db2/include/db_am.h: Likewise.
1289         * db2/include/db_ext.h: Likewise.
1290         * db2/include/db_int.h.src: Likewise.
1291         * db2/include/hash_ext.h: Likewise.
1292         * db2/include/lock_ext.h: Likewise.
1293         * db2/include/log.h: Likewise.
1294         * db2/include/log_auto.h: Likewise.
1295         * db2/include/log_ext.h: Likewise.
1296         * db2/include/mp.h: Likewise.
1297         * db2/include/mp_ext.h: Likewise.
1298         * db2/include/mutex_ext.h: Likewise.
1299         * db2/include/os_ext.h: Likewise.
1300         * db2/include/os_func.h: Likewise.
1301         * db2/include/txn_ext.h: Likewise.
1302         * db2/lock/lock.c: Likewise.
1303         * db2/lock/lock_util.c: Likewise.
1304         * db2/log/log.c: Likewise.
1305         * db2/log/log.src: Likewise.
1306         * db2/log/log_archive.c: Likewise.
1307         * db2/log/log_auto.c: Likewise.
1308         * db2/log/log_get.c: Likewise.
1309         * db2/log/log_put.c: Likewise.
1310         * db2/log/log_rec.c: Likewise.
1311         * db2/log/log_register.c: Likewise.
1312         * db2/mp/mp_bh.c: Likewise.
1313         * db2/mp/mp_fget.c: Likewise.
1314         * db2/mp/mp_fopen.c: Likewise.
1315         * db2/mp/mp_fput.c: Likewise.
1316         * db2/mp/mp_pr.c: Likewise.
1317         * db2/mp/mp_sync.c: Likewise.
1318         * db2/mutex/mutex.c: Likewise.
1319         * db2/os/os_alloc.c: Likewise.
1320         * db2/os/os_config.c: Likewise.
1321         * db2/os/os_stat.c: Likewise.
1322         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
1323         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
1324         * db2/progs/db_load/db_load.c: Likewise.
1325         * db2/progs/db_printlog/db_printlog.c: Likewise.
1326         * db2/progs/db_recover/db_recover.c: Likewise.
1327         * db2/progs/db_stat/db_stat.c: Likewise.
1328         * db2/txn/txn.c: Likewise.
1330         * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
1331         Unmap memory blocks in reverse order of allocation.
1332         Call munmap with load address added to offset.
1333         Bug reported by Miguel de Icaza.
1335         * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
1336         up weight array.
1338         * localedata/locales/cs_CZ: Update by Michael Mraka
1339         <michael@informatics.muni.cz>.
1341         * misc/sys/syslog.h: Reformat a bit.  Don't declare vsyslog unless
1342         __USE_BSD.
1344         * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
1345         reading line with fgets.
1346         * nis/nss_compat/compat-pwd.c: Likewise.
1347         * nis/nss_compat/compat-spwd.c: Likewise.
1348         * nss/nss_files/files-XXX.c: Likewise.
1349         * nss/nss_files/files-alias.c: Likewise.
1350         * shadow/fgetspent_r.c: Likewise.
1352         * string/strerror_r.c: Correct comment.  Patch by Andreas Jaeger.
1354         * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
1355         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
1356         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
1358         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
1359         FP register content in ucontext_t.
1361 1998-01-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1363         * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
1364         calculation.  Patch by Markus Schoder
1365         <Markus.Schoder@dresdner-bank.de>.
1367         * math/libm-test.c (modf_test): Add more tests for modf.
1369         * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
1370         munlock according to Unix98.
1372 1998-01-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1374         * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
1375         AF_INET.
1377 1998-01-21 07:22  H.J. Lu  <hjl@gnu.org>
1379         * sysdeps/posix/ttyname.c: Handle symbolic links.
1380         * sysdeps/posix/ttyname_r.c: Ditto.
1382 1998-01-25 19:39  Ulrich Drepper  <drepper@cygnus.com>
1384         * db2/makedb.c (process_input): Write terminating \0 for value.
1385         (print_database): Simply print value string, don't use length.
1387 1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1389         * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
1390         exit of loop.
1392 1998-01-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1394         * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
1395         close all sockets.
1397 1998-01-25 14:54  Ulrich Drepper  <drepper@cygnus.com>
1399         * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
1400         sigset.
1401         * signal/sighold.c: New file.
1402         * signal/sigrelse.c: New file.
1403         * sysdeps/generic/sigignore.c: New file.
1404         * sysdeps/generic/sigset.c: New file.
1405         * sysdeps/posix/sigignore.c: New file.
1406         * sysdeps/posix/sigset.c: New file.
1407         * signal/signal.h: Add prototypes for new functions.
1409         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
1410         * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
1411         * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
1412         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
1414 1998-01-23 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
1416         * posix/wordexp.c: Added IFS field-splitting in parameter and
1417         command substitution.  Fixed an IFS-related bug that caused an
1418         infinite loop.
1420 1998-01-25 12:38  Ulrich Drepper  <drepper@cygnus.com>
1422         * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
1423         and swapcontext.
1424         * stdlib/ucontext.h: Correct prototypes.
1425         * sysdeps/generic/getcontext.c: New file.
1426         * sysdeps/generic/setcontext.c: New file.
1427         * sysdeps/generic/makecontext.c: New file.
1428         * sysdeps/generic/swapcontext.c: New file.
1429         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
1431 1998-01-25 04:07  Ulrich Drepper  <drepper@cygnus.com>
1433         * resource/sys/resource.h: Remove #include of ulimit.h which is
1434         not allowed by SUSv2 and not available on other systems.
1435         * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
1437         * streams/Makefile: New file.
1438         * streams/stropts.h: New file.
1439         * sysdeps/generic/bits/stropts.h: New file.
1440         * sysdeps/generic/isastream.c: New file.
1441         * sysdeps/generic/getmsg.c: New file.
1442         * sysdeps/generic/getpmsg.c: New file.
1443         * sysdeps/generic/putmsg.c: New file.
1444         * sysdeps/generic/putpmsg.c: New file.
1445         * sysdeps/generic/fattach.c: New file.
1446         * sysdeps/generic/fdetach.c: New file.
1447         * sysdeps/unix/inet/Subdirs: Add streams.
1448         * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
1449         __t_uscalar_t.
1450         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1451         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1452         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1453         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
1455         * sysdeps/mach/_strerror.c: Follow changes of generic version to
1456         handle small buffers correctly.
1458 1998-01-24 17:31  H.J. Lu  <hjl@gnu.org>
1460         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
1461         Remove the 3rd arg and add declaration for _dl_runtime_resolve
1462         and _dl_runtime_profile.
1464 1998-01-25 02:42  Ulrich Drepper  <drepper@cygnus.com>
1466         * include/cpio.h: New file.  Mainly copied from GNU cpio.
1467         * posix/Makefile (headers): Add cpio.h.
1469 1998-01-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1471         * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
1472         to routines.
1473         * nis/nis_cache.c: New file.
1474         * nis/nis_cache2.h: New file.
1475         * nis/nis_cache2_xdr.c: New file.
1476         * nis/nis_call.c: Changes for cache2_info parameter.
1477         * nis/nis_checkpoint.c: Likewise.
1478         * nis/nis_intern.h: Likewise.
1479         * nis/nis_mkdir.c: Likewise.
1480         * nis/nis_ping.c: Likewise.
1481         * nis/nis_rmdir.c: Likewise.
1482         * nis/nis_server.c: Likewise.
1483         * nis/nis_util.c: Likewise.
1485 1997-12-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1487         * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
1488         return/errnop codes.
1489         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
1490         * nis/nss_nisplus/nisplus-grp.c: Likewise.
1491         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
1492         * nis/nss_nisplus/nisplus-proto.c: Likewise.
1493         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
1494         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
1495         * nis/nss_nisplus/nisplus-rpc.c: Likewise
1496         * nis/nss_nisplus/nisplus-service.c: Likewise.
1497         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
1499 1997-12-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1501         * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
1502         * nis/nss_nis/nis-ethers.c: Likewise.
1503         * nis/nss_nis/nis-grp.c: Likewise.
1504         * nis/nss_nis/nis-hosts.c: Likewise.
1505         * nis/nss_nis/nis-network.c: Likewise.
1506         * nis/nss_nis/nis-proto.c: Likewise.
1507         * nis/nss_nis/nis-hosts.c: Likewise.
1508         * nis/nss_nis/nis-network.c: Likewise.
1509         * nis/nss_nis/nis-proto.c: Likewise.
1510         * nis/nss_nis/nis-publickey.c: Likewise.
1511         * nis/nss_nis/nis-pwd.c: Likewise.
1512         * nis/nss_nis/nis-rpc.c: Likewise.
1513         * nis/nss_nis/nis-service.c: Likewise.
1514         * nis/nss_nis/nis-spwd.c: Likewise.
1516 1998-01-24  Ulrich Drepper  <drepper@cygnus.com>
1518         * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
1519         Added to follow latest kernel development.
1521 1998-01-24 15:13  Ulrich Drepper  <drepper@happy.cygnus.com>
1523         * nss/db-Makefile: Handle empty and comment lines better.
1524         ($(VAR_DB)/services.db): Generate entries with missing protocol
1525         value.
1527 1998-01-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1529         * nss/nss_files/files-service.c (getservbyport): Allow proto ==
1530           NULL.
1531           (getservbyname): Allow proto == NULL.
1532           Pointed out by David N. Welton <davidw@gate.cks.com>.
1533           [PR libc/430].
1535 1998-01-24 11:34  Ulrich Drepper  <drepper@happy.cygnus.com>
1537         * nis/nislib/nislib.h: Finally removed.
1539         * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
1540         C compiler.  From Kaveh Ghazi.
1541         (TYPE_MINIMUM): Define.
1542         (TYPE_MAXIMUM): Define.
1543         (TIME_T_MIN): Use TYPE_MINIMUM.
1544         (TIME_T_MAX): Use TYPE_MAXIMUM.
1545         Patch by Jim Meyering <meyering@ascend.com>.
1547 1998-01-22 00:55  Ulrich Drepper  <drepper@happy.cygnus.com>
1549         * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
1550         __pread64, __pwrite64, and __getpid.
1552         * rt/aio_misc.c: Use pread and pwrite instead of __ protected
1553         versions.
1555 1998-01-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1557         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
1558         cancelable socket functions as __libc_xxx with __xxx as weak
1559         alias.
1560         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1561         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1563         * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
1564         redefined.
1565         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1566         * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
1567         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
1568         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
1570         * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
1571         and __xxx a weak alias.
1572         * sysdeps/unix/sysv/linux/connect.S: Likewise.
1573         * sysdeps/unix/sysv/linux/recv.S: Likewise.
1574         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
1575         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
1576         * sysdeps/unix/sysv/linux/send.S: Likewise.
1577         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
1578         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
1580 1998-01-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1582         * locale/langinfo.h: Add defines.
1584         * dirent/dirent.h: Add defines for DT_*, check also for
1585         _DIRENT_HAVE_D_TYPE.
1586         Suggested by Roland McGrath.
1588 1998-01-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1590         * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
1591         Update from Linux 2.1.73+79.
1593         * README.template: Update information about possible
1594         configurations.
1596         * manual/mbyte.texi (Wide String Conversion): Fix declaration of
1597         wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
1598         [PR libc/417].
1600         * manual/time.texi (Priority): Correct description of
1601         PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
1602         [PR libc/416].
1604 11998-01-21 21:34  Ulrich Drepper  <drepper@cygnus.com>
1606         * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
1607         FP_ILOGNAN.   Patch by a sun <asun@zoology.washington.edu>.
1609 1998-01-21 17:53  Ulrich Drepper  <drepper@cygnus.com>
1611         * sysdeps/generic/_strerror.c: Handle BUFLEN == 0.  Reported by
1612         Andreas Jaeger.
1614 1998-01-20 18:13  Ulrich Drepper  <drepper@cygnus.com>
1616         * locale/programs/ld-collate.c: Little optimizations.
1618         * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
1620         * string/Makefile (tests): Add tst-inlcall.
1621         * string/tst-inlcall.c: New file.
1623         * string/strsignal.c: Add support for real-time signals.
1625         * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
1626         presense of small buffer.
1628         * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
1630         * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
1631         for i686.
1633         * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
1634         _NSIG + 1.
1636 1998-01-02 15:10  Matthias Urlichs   <urlichs@noris.de>
1638         * Rules: Add explicit rule for dummy.o; at least one library needs
1639           it and it isn't autogenerated by the default rules.
1641 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1643         * math/libm-test.c: Tweak epsilons.
1645 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1647         * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
1648         child.
1649         (feenv_mask_test): Likewise.
1651 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1653         * Makeconfig: Don't export CPPFLAGS.
1655 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1657         * sunrpc/rpc_main.c (parseargs): Use perror to print error
1658         message.
1660 1998-01-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1662         * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
1663         terminating null in key size.
1665 1998-01-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1667         * nss/nss_files/files-service.c: Fix allocation size to include
1668         length of PROTO.
1670         * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
1671         applicable.  Fix return value and error checking.
1672         (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
1673         unparsable lines.
1674         (DB_LOOKUP): Allocate space for terminating null byte.
1676         * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
1677         uids specially.
1679         * db2/makedb.c (process_input): Continue processing if a duplicate
1680         key is encountered.
1682 1998-01-19 15:20  Ulrich Drepper  <drepper@cygnus.com>
1684         * time/tzfile.h: Updated from tzcode1998b.
1685         * time/zdump.c: Likewise.
1686         * time/zic.c: Likewise.
1687         * time/africa: Update from tzdata1998b.
1688         * time/antarctica: Likewise.
1689         * time/asia: Likewise.
1690         * time/australasia: Likewise.
1691         * time/etcetera: Likewise.
1692         * time/europe: Likewise.
1693         * time/leapseconds: Likewise.
1694         * time/northamerica: Likewise.
1695         * time/southamerica: Likewise.
1697 1998-01-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1699         * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
1700         lookups ignoring case.
1701         * nss/nss_files/files-network.c: Do network lookups ignoring
1702         case.
1703         * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
1704         case.
1705         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
1706         case insensitive comparing.
1707         Patches by Cristian Gafton <gafton@redhat.com>.
1709 1998-01-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1711         * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines.  Suggested
1712         by Roland McGrath. [PR libc/395]
1714 1998-01-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1716         * manual/arith.texi (Parsing of Integers): Correct description of
1717         strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
1718         [PR libc/396]
1720 1997-12-30 14:14  Matthias Urlichs  <urlichs@noris.de>
1722         * misc/lsearch.c (lsearch): Return a pointer to the new element
1723         if one was "allocated".
1725 1997-12-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1727         * string/strsignal.c: NSIG is not a valid index into
1728         _sys_siglist.  Don't zap the last character of the "Unknown
1729         signal" message.
1731 1998-01-19 15:08  Ulrich Drepper  <drepper@cygnus.com>
1733         * locale/programs/charmap.c (parse_charmap): Correct parsing of
1734         ellipsis expressions.
1736         * locale/programs/charset.c (insert_char): Correctly insert value
1737         of eliipsis expression.
1739 1997-12-28 15:08  Ulrich Drepper  <drepper@cygnus.com>
1741         * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
1742         <bits/setjmp.h>.
1743         * sysdeps/powerpc/setjmp.S: Likewise.
1744         Patches by Matt McLean <keys@keys.got.net>.
1746         * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
1748         * Makefile: Undo last patch.
1749         (distribute): Add test-installation.pl.
1751         * configure.in: Correct handling of --enable-add-ons without parameter.
1752         Correct address of WWW pages.
1754         * libc.map: Add _nl_domain_bindings.
1756         * db2/mutex/tsl_parisc.s: New file.
1758         * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
1759         and extra-module.mk.
1761         * localedata/Makefile (distribute): New.  Add all the files.
1763         * stdlib/Makefile (headers): Add inttypes.h.
1764         (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
1765         * sysdeps/generic/inttypes.h: New file.
1766         * sysdeps/generic/strtoimax.c: New file.
1767         * sysdeps/generic/strtoumax.c: New file.
1768         * sysdeps/generic/wcstoimax.c: New file.
1769         * sysdeps/generic/wcstoumax.c: New file.
1770         * sysdeps/wordsize-32/Dist: Removed.
1771         * sysdeps/wordsize-32/Makefile: Removed.
1772         * sysdeps/wordsize-64/Dist: Removed.
1773         * sysdeps/wordsize-64/Makefile: Removed.
1774         * sysdeps/generic/bits/environments.h: New file.
1776         * include/limits.h: Define MB_LEN_MAX in any case to 6.  The gcc
1777         header is still not correct.
1779         * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
1780         * posix/unistd.h: Likewise.
1781         * sysdeps/generic/sys/mman.h: Likewise.
1782         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
1784         * manual/arith.texi: Change definition of mul macro.
1785         * manual/math.texi: Likewise.
1787         * misc/Makefile (routines): Add mmap64.
1788         * sysdeps/generic/mmap64.c: New file.
1789         * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
1790         * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
1791         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
1792         aliases to mmap.
1793         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1795         * sysdeps/generic/setrlimit64.c: Don't mark as stub.
1797         * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
1799         * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
1801         * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
1802         FOPEN_MAX also when included by limits.h.
1803         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
1805         * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
1806         and netrom/netrom.h.
1807         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
1808         oldsiglist to sysdep_routines, not aux.
1809         [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
1811         * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
1812         and SOL_NETROM definition.
1814         * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
1816         * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
1817         * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
1819 1997-12-25  Ulrich Drepper  <drepper@cygnus.com>
1821         * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
1823         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
1824         sa_handler with k_sa_handler.
1825         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
1826         strong alias.
1827         Reported by a sun.
1829         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
1830         __libc_have_rt_sigs here.
1831         * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
1832         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1833         * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
1834         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1836 1997-12-11 07:51  Geoff Keating  <geoffk@ozemail.com.au>
1838         * sysdeps/powerpc/atomicity.h: New file.
1839         * sysdeps/mach/powerpc/machine-lock.h: New file.
1841         * Rules: Use -fpic to build anything that might end up in a users'
1842         shared library.
1844         * sysdeps/powerpc/s_fdim.c: New file.
1845         * sysdeps/powerpc/s_fdimf.c: New file.
1846         * sysdeps/powerpc/s_fmax.S: New file.
1847         * sysdeps/powerpc/s_fmaxf.S: New file.
1848         * sysdeps/powerpc/s_fmin.S: New file.
1849         * sysdeps/powerpc/s_fminf.S: New file.
1850         * sysdeps/powerpc/s_llrint.c: Now is for double.
1851         * sysdeps/powerpc/s_llrintf.c: New file.
1852         * sysdeps/powerpc/s_llround.c: Now is for double.
1853         * sysdeps/powerpc/s_llroundf.c: New file.
1854         * sysdeps/powerpc/s_lrint.c: Now is for double.
1855         * sysdeps/powerpc/s_lrintf.S: New file.
1856         * sysdeps/powerpc/s_lround.c: Now is for double.
1857         * sysdeps/powerpc/s_lroundf.c: New file.
1858         * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
1859         lrintf, fdim, fdimf.
1861         * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
1862         file directly, use its parent.
1864         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
1865         (for the third time).
1867 1997-12-20 13:50  Richard Henderson  <rth@cygnus.com>
1869         * posix/sched.h: timespec is in <time.h>.
1871         * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
1873 1997-12-22 18:10  Ulrich Drepper  <drepper@cygnus.com>
1875         * configure.in: Stop with error if --disable-static is used when
1876         the shared lib uses this library.
1878         * gen-FAQ.pl: I've perl installed in /usr/bin.
1880         * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
1882         Fix Unix98 conformance problems in the headers.
1883         * catgets/nl_types.h: Define nl_item.
1884         * grp/grp.h: Define gid_t.
1885         * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
1886         * include/nl_types.h: New file.
1887         * include/ulimit.h: New file.
1888         * io/fcntl.h: Include sys/stat.h for Unix98.  Don't define locking
1889         constants in POSIX mode.
1890         * io/utime.h: Get definition for time_t.
1891         * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
1892         uid_t, pid_t.  Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
1893         * libio/stdio.h: Define va_list.  Make snprintf also available is
1894         __USE_UNIX98.  Declare getopt function and variables.
1895         * locale/langinfo.h: Include nl_types.h.  Don't define nl_item.
1896         Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
1897         * math/math.h: Defined M_* constants as double for Unix98 mode.
1898         * posix/fnmatch.h: Pretty print.  Define FNM_NOSYS.
1899         * posix/glob.h: Pretty print.  Define GLOB_NOSYS.
1900         * posix/regex.h: Define REG_NOSYS.
1901         * posix/wordexp.h: Define WRDE_NOSYS.
1902         * posix/unistd.h: Define _POSIX2_VERSION.  Define _XOPEN_VERSION to
1903         500 for Unix98.
1904         * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
1905         somewhere else as well.  Define clock_t for Unix98.
1906         * posix/sys/wait.h: Define pid_t.
1907         * pwd/pwd.h: Define gid_t, uid_t.
1908         * resource/Makefile (headers): Add ulimit.h.
1909         * resource/ulimit.h: New file.
1910         * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
1911         instead of second argument.
1912         * sysdeps/unix/bsd/ulimit.c: Likewise.  Use UL_* constants.
1913         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
1914         * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
1915         * signal/signal.h: Define pid_t.
1916         * string/string.h: Don't declare BSD string functions in POSIX mode.
1917         * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE.  Add
1918         _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
1919         * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
1920         and POSIX.
1922         * inet/test_ifindex.c: Change test so that it does not fail for
1923         interface aliases.
1925         * locale/programs/locale.c (show_info): Use correct cast sequence
1926         for 64bit machines.
1928         * malloc/malloc.c: __malloc_initialized now signals three states:
1929         uninitialized, initializing, initialized.  Used in mcheck.
1930         * malloc/mcheck.c (mabort): Add '\n' to messages.
1931         (mcheck): Allow installation when malloc is uninitialized or is
1932         just initializing.
1934         * manual/memory.texi: Explain mtrace output a bit more.
1936         * math/libm-test.c: Add more epsilons.
1938         * misc/regexp.h (compile): Remove __ prefix from parameter names.
1940         * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
1941         instead of strcpy for security.
1942         * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
1943         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
1944         * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
1946         * nss/digits_dots.c: Pretty print.
1948         * posix/getconf.c (vars): Add symbols for programming environment
1949         recognition.  Recognize --version.
1951         * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
1952         _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
1953         * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
1955         * sysdeps/generic/bits/stdio_lim.h: Implement handling of
1956         __need_FOPEN_MAX.
1957         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
1958         * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
1959         __need_FOPEN_MAX.
1961         * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
1962         * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
1964         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
1965         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1966         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
1967         * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
1968         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
1969         * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
1971         * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
1972         SCNu*.
1973         * sysdeps/wordsize-64/inttypes.h: Likewise.
1975         * time/africa: Update from tzdata1997j.
1976         * time/antarctica: Likewise.
1977         * time/asia: Likewise.
1978         * time/australasia: Likewise.
1979         * time/backward: Likewise.
1980         * time/etcetera: Likewise.
1981         * time/europe: Likewise.
1982         * time/factory: Likewise.
1983         * time/northamerica: Likewise.
1984         * time/pacificnew: Likewise.
1985         * time/southamerica: Likewise.
1987         * time/tzfile.h: Update from tzcode1997h.
1988         * time/zic.c: Likewise.
1990         * wcsmbs/wchar.h: Get definition of FILE.  Define `struct tm' tag.
1991         Declare wcwidth and wcswidth for __USE_XOPEN.  Declare the
1992         isw*() functions for Unix98.
1993         * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
1994         * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
1995         is defined.
1997 1997-12-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1999         * locale/duplocale.c: Increase usage_count only if less than
2000         MAX_USAGE_COUNT.
2001         * locale/freelocale.c: Test usage_count against UNDELETABLE, not
2002         MAX_USAGE_COUNT.
2003         * locale/setlocale.c: Likewise.
2005 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2007         * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
2008         dependency to make it easier to install it selectively.
2010         * Makerules (.SUFFIXES): Don't define any suffixes.
2012 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2014         * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
2015         * sysdeps/generic/statfs64.c: Emulate using statfs.
2016         * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
2017         * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
2018         * sysdpes/generic/ftruncate64.c: New file.
2019         * sysdpes/generic/truncate64.c: New file.
2021         * sysdeps/generic/bits/stat.h: Add LFS support.
2022         * sysdeps/generic/bits/statfs.h: Likewise.
2024         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
2025         [__USE_FILE_OFFSET64]: Make long long constant.
2026         (RLIM64_INFINITY): Likewise.
2028         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
2029         for LFS support.
2030         (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
2031         * sysdeps/generic/bits/resource.h: Likewise.
2033         * misc/Makefile (routines): Add truncate64 and ftruncate64.
2035         * include/features.h: Don't prevent LFS support from defining BSD
2036         and SYSV things.
2038         * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
2039         * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
2040         * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
2042         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
2043         fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
2044         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2046         * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
2047         * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
2048         * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
2049         * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
2050         * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
2051         * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
2052         * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
2053         * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
2054         * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
2055         * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
2056         * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
2057         * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
2058         * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
2059         * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
2060         * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
2061         * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
2062         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
2063         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
2064         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
2065         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
2067         * sysdeps/unix/sysv/linux/fxstat64.c: New file.
2068         * sysdeps/unix/sysv/linux/lxstat64.c: New file.
2069         * sysdeps/unix/sysv/linux/xstat64.c: New file.
2070         * sysdeps/unix/sysv/linux/readdir64.c: New file.
2071         * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
2073         * sysdeps/unix/sysv/linux/getdents64.c: New file.
2074         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
2075         [$(subdir)=dirent]: Add getdents64.
2076         * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
2078         * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
2080 1997-12-18 12:07  Philip Blundell  <pb@nexus.co.uk>
2082         * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
2084         * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
2085         * sysdeps/generic/getrlimit64.c: Likewise.
2086         * sysdeps/generic/setrlimit.c: Likewise.
2087         * sysdeps/generic/setrlimit64.c: Likewise.
2089 1997-12-17 13:57  Philip Blundell  <pb@nexus.co.uk>
2091         * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
2092         using versioning.
2094         * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
2096         * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
2098 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2100         * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
2101         after the codeset name.
2103 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2105         * libc.map: Add get_kernel_syms.
2107 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2109         * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
2110         static.
2111         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
2112         Likewise.  Fix condition.
2114 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2116         * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
2118 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2120         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
2121         Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
2123 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2125         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
2126         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
2127         instead.  Oops.
2129 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2131         * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
2133 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2135         * math/libm-test.c (catanh_test): Change epsilon.
2136         Reported by H.J. Lu.
2138 1997-12-14 19:39  H.J. Lu  <hjl@gnu.org>
2140         * libc.map (__getpid): Added for linuxthreads.
2142 1997-12-13 21:09  H.J. Lu  <hjl@gnu.org>
2144         * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
2145         it if gcc uses static variable in DWARF2 unwind information
2146         for exception support.
2148         * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
2150         * elf/soinit.c (__libc_global_ctors, _fini): Handle
2151         HAVE_DWARF2_UNWIND_INFO_STATIC.
2153         * libc.map (__register_frame*, __deregister_frame*): Make them
2154         global.
2156 1997-12-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2158         * math/libm-test.c: Add more tests for "normal" values.
2160 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2162         * stdio-common/printf_fphex.c: Fix printing of long double number
2163         with a biased exponent of zero.  Fix rounding.
2165 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2167         * sunrpc/rpc_main.c: Accept new flag -$.
2168         * sunrpc/Makefile (rpcgen-cmd): Pass it here.
2170 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2172         * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
2173         dynamic linker first, in case the interface has changed.
2175 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2177         * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
2178         order.
2180 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2182         * math/tgmath.h: Check for double first, for architectures where
2183         sizeof (long double) == sizeof (double).
2185 1997-12-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2187         * math/libm-test.c: New tests for "normal" values added for most
2188         functions.
2190 1997-12-14 21:33  Ulrich Drepper  <drepper@cygnus.com>
2192         * version.h (VERSION): Bump to 2.0.91.
2194         * db2/makedb.c (process_input): Fix typo in message.
2195         * sunrpc/rpcinfo.c (pmapdump): Unify messages.
2197         * elf/dynamic-link.h: Pretty print.
2199         * elf/rtld.c: Allow multiple preloading of a shared object.
2201         * include/limits.h: Prevent multiple inclusion.
2203         * malloc/Makefile (headers): Add mcheck.h.
2204         (distribute): Remove it here.
2205         * malloc/mcheck.h: Pretty print.
2206         * malloc/mtrace.c (mallenv): Make `const'.
2207         * malloc/mtrace.pl: Don't print table head for memory leaks if there
2208         are none.
2209         * manual/memory.texi: Update descriptor of malloc hooks.
2211         * posix/Makefile (routines): Add waitid.
2212         * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
2213         on __id_t.
2214         * posix/sys/wait.h: Define idtype_t type.
2215         Add prototype for waitid.
2216         * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
2217         * sysdeps/generic/waitid.c: Stub for waitid.
2218         * sysdeps/generic/bits/siginfo.h: Define sigval_t.  Arrange to work
2219         the __need_siginfo_t defined.
2220         * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
2221         * sysdeps/generic/bits/types.h: Define __id_t.
2222         Correct definition of __FDMASK.
2223         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2224         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
2225         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
2227         * sysdeps/posix/waitid.c: New file.
2228         Provided by Zack Weinberg.
2230         * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
2232         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
2233         Add missing parameters.
2235         * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
2236         * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
2237         * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
2238         * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
2239         initialized.
2241         * sysdeps/i386/dl-machine.h: Little cleanup.
2243         * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
2244         (__finite): Mark function as const.
2245         Add inline code for __ieee754_atan2.
2247         * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
2248         (but don't use it now).
2249         * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
2250         __atan.
2251         * sysdeps/libm-ieee754/s_catanf.c: Likewise.
2252         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
2253         * sysdeps/libm-ieee754/s_catanh.c: Likewise.  Correct sign of
2254         real part.
2255         * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
2256         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
2257         * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
2258         __ieee754_atan2 to base 10.
2259         * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
2260         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
2262         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
2263         old_kernel_sigaction.
2265         * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
2267         * wctype/Makefile (routines): Add wctype_l.
2268         * wctype/wctype.h: Add declaration of __wctype_l.
2269         * wctype/wctype_l.c: New file.
2271 1997-12-10 00:38  Ulrich Drepper  <drepper@cygnus.com>
2273         * locale/C-ctype.c: Correct data for isw* functions.
2274         * locale/programs/ld-ctype.c: Write 32bit char classes in correct
2275         byte order.
2276         * wctype/test_wctype.c: Add test for isw* functions.
2277         * wctype/wctype.c: Return value with expected byte order.
2279 1997-12-13  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2281         * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
2283 1997-12-05 20:19  H.J. Lu  <hjl@gnu.org>
2285         * iconvdata/Makefile: Fix a typo.
2287         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
2288         oldsiglist for shared library.
2290         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
2291         sys_sigabbrev): Make them as the default version GLIBC_2.1.
2293         * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
2294         sys_siglist, sys_sigabbrev): New file. Make them as the old
2295         version GLIBC_2.0.
2297         * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
2298         to GLIBC_2.1.
2300 1997-11-20 18:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
2302         * libio/iofgets.c (_IO_fgets): Return an error only if there
2303         is a new error.
2304         * libio/iogets.c (_IO_gets): Ditto.
2306 1997-11-20 07:26  H.J. Lu  <hjl@gnu.ai.mit.edu>
2308         * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
2310         * libio/Makefile (routines, shared-only-routines): Add
2311         oldiofdopen.
2313         * libio/fileops.c: Don't use _IO_FILE_complete.
2314         * libio/iofdopen.c: Ditto.
2315         * libio/iofopen.c: Ditto.
2316         * libio/iofopen64.c: Ditto.
2317         * libio/iopopen.c: Ditto.
2318         * libio/iovdprintf.c: Ditto.
2320         * libio/genops.c (_IO_init): Set _vtable_offset to 0.
2322         * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
2323         and make it for _IO_fdopen/fdopen version GLIBC_2.1.
2325         * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
2326         _IO_old_fdopen, _IO_new_fdopen): New declaration.
2328         * libio/libio.h (_IO_FILE): Add more fields.
2329         (_IO_FILE_complete): Defined and make _IO_FILE be the old
2330         one if _IO_USE_OLD_IO_FILE is defined
2331         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
2332         them _IO_FILE_complete.
2334         * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
2335         to adjust vtable.
2336         (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
2337         _IO_JUMPS.
2338         (_IO_FILE_complete): Commented out.
2340         * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
2341         * libio/oldiofclose.c: Ditto.
2342         * libio/oldiofopen.c: Ditto.
2343         * libio/oldstdfiles.c: Ditto.
2345         * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
2346         for the old _IO_FILE.
2348         * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
2349         (_IO_check_libio): Set _vtable_offset for old stdin, stdout
2350         and stderr.
2352         * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
2353         and remove INAME.
2355         * libio/stdio.c (stdin, stdout, stdin): Don't use
2356         _IO_FILE_complete.
2358         * libio/oldiofdopen.c: New.
2360         * stdio-common/vfprintf.c (buffered_vfprintf): Set
2361         hp->_vtable_offset to 0.
2363 1997-11-18 08:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
2365         * libc.map (_IO_file_open): Added.
2367         * libio/libioP.h (_IO_file_open): Declared.
2369         * libio/fileops.c (_IO_file_open): New.
2370         (_IO_file_fopen): Call _IO_file_open ().
2372         * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
2373         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
2375 1997-12-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2377         * signal/signal.h: Fix selection of signal semantics to match
2378         comment.
2380 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2382         * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
2383         * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
2384         rt_sigreturn.
2385         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
2386         [$(subdir)=signal]: Remove rt_sigreturn.
2387         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
2388         * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
2389         * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
2391 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2393         * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>.  Fix
2394         declarations.
2396 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2398         * iconvdata/extra-module.mk: Expand extra-objs now.
2400 1997-12-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2402         * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
2403         inline functions by feature tests to avoid warning about missing
2404         prototype declarations.
2406 1997-12-09 15:08  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2408         * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
2409         return code for non existent +name entries.
2410         * nis/nss_compat/compat-pwd.c: Likewise.
2411         * nis/nss_compat/compat-spwd.c: Likewise.
2413 1997-12-10 13:52  Philip Blundell  <pb@nexus.co.uk>
2415         * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
2416         (EIO): Likewise.
2417         (ENOSPC): Likewise.
2418         (EEXIST): Likewise.
2419         (__errno_location): Likewise.
2421         * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
2423         * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
2425 1997-12-09 08:10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2427         * sunrpc/publickey.c: Use new NSS interface.
2429 1997-12-09 03:08  Ulrich Drepper  <drepper@cygnus.com>
2431         * manual/malloc.texi: Document mtrace/muntrace and the concept.
2433 1997-12-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2435         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
2436         value, to match spirit of the standard.
2437         * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
2438         * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
2439         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
2441 1997-12-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2443         * manual/signal.texi (Signal Stack): Remove spurious @item.
2445 1997-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2447         * rt/aio.h: Remove double semicolon.
2449         * rt/librt.map: Add aio_init.
2451 1997-12-08 03:24  Ulrich Drepper  <drepper@cygnus.com>
2453         * Makeconfig: Define $(rt) to rt if linuxthreads is available.
2454         * Makefile (subdirs): Replace rt by $(rt).
2456         * shlib-versions: Use version .2 for NSS modules.
2458         * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
2459         argument.
2460         * pwd/fgetpwent_r.c: Likewise.
2461         * spwd/fgetspent_r.c: Likewise.
2462         * spwd/sgetspent_r.c: Likewise.
2463         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
2464         Store error number in *ERRNOP.  Little optimization.
2465         * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
2466         * hesiod/nss_hesiod/hesiod-service.c: Likewise.
2467         * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
2468         (__internal_getnetgrent_r): New argument.
2469         Call __internal_setnetgrent_reuse with new argument.
2470         (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
2471         * inet/netgroup.h: Add argument to prototypes.
2472         * nis/nisplus-parser.h: Likewise.
2473         * nis/nss_compat/compat-grp.c: Change everything to store error
2474         code through provided pointer and not use errno.
2475         * nis/nss_compat/compat-pwd.c: Likewise.
2476         * nis/nss_compat/compat-spwd.c: Likewise.
2477         * nis/nss_nis/nis-alias.c: Likewise.
2478         * nis/nss_nis/nis-ethers.c: Likewise.
2479         * nis/nss_nis/nis-grp.c: Likewise.
2480         * nis/nss_nis/nis-hosts.c: Likewise.
2481         * nis/nss_nis/nis-netgrp.c: Likewise.
2482         * nis/nss_nis/nis-network.c: Likewise.
2483         * nis/nss_nis/nis-proto.c: Likewise.
2484         * nis/nss_nis/nis-publickey.c: Likewise.
2485         * nis/nss_nis/nis-pwd.c: Likewise.
2486         * nis/nss_nis/nis-rpc.c: Likewise.
2487         * nis/nss_nis/nis-service.c: Likewise.
2488         * nis/nss_nis/nis-spwd.c: Likewise.
2489         * nis/nss_nisplus/nisplus-alias.c: Likewise.
2490         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
2491         * nis/nss_nisplus/nisplus-grp.c: Likewise.
2492         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
2493         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
2494         * nis/nss_nisplus/nisplus-network.c: Likewise.
2495         * nis/nss_nisplus/nisplus-parser.c: Likewise.
2496         * nis/nss_nisplus/nisplus-proto.c: Likewise.
2497         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
2498         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
2499         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
2500         * nis/nss_nisplus/nisplus-service.c: Likewise.
2501         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
2502         * nss/nss_db/db-XXX.c: Likewise.
2503         * nss/nss_db/db-alias.c: Likewise.
2504         * nss/nss_db/db-netgrp.c: Likewise.
2505         * nss/nss_files/files-XXX.c: Likewise
2506         * nss/nss_files/files-alias.c: Likewise
2507         * nss/nss_files/files-netgrp.c: Likewise
2508         * nss/nss_files/files-parse.c: Likewise
2509         * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
2510         parameter of get functions.
2511         * nss/getXXent_r.c: Likewise.
2513         * localedata/tst-fmon.c: Print debug info if test fails.
2515         * rt/Makefile (routines): Add aio_notify.
2516         * rt/aio.h: Remove non-public definitions.  Add aioinit stuff.
2517         * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
2518         * rt/aio_fsync.c: Likewise.
2519         * rt/aio_misc.c: Likewise.
2520         * rt/aio_misc.h: Likewise.
2521         * rt/aio_read.c: Likewise.
2522         * rt/aio_read64.c: Likewise.
2523         * rt/aio_suspend.c: Likewise.
2524         * rt/aio_write.c: Likewise.
2525         * rt/aio_write64.c: Likewise.
2526         * rt/lio_listio.c: Likewise.
2527         * rt/lio_listio64.c: Likewise.
2528         * rt/aio_notify.c: New file.
2530         * sysdeps/generic/bits/sigset.h: Pretty print.
2532         * sysdeps/posix/pwrite.c: Define weak alias only if function is
2533         really defined as __pwrite.
2535         * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
2536         instead of pread64.
2537         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2539         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
2540         (sysdep_routines): Add rt_sigpending and rt_sigreturn.
2541         * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
2542         size in syscall.
2543         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2544         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2545         * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
2546         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2547         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
2548         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
2549         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.  Take care
2550         for ACT being NULL.
2551         * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
2552         RT signals.
2553         * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
2554         __NR_pread is not defined.
2555         * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
2556         __NR_pwrite is not defined.
2558 1997-12-07 11:15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2560         * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
2561         handle for /etc/group back in some more cases.
2562         * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
2563         handle for /etc/passwd back in some more cases.
2564         * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
2565         handle for /etc/shadow back in some more cases.
2567 1997-12-06 17:00  H.J. Lu  <hjl@gnu.org>
2569         * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
2570         beyound its size.
2571         * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
2572         * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
2574 1997-12-06 04:38  Ulrich Drepper  <drepper@cygnus.com>
2576         * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
2577         handling.  Don't use macros, we need functions.  Use inline functions
2578         for optimization.
2579         * sysdeps/wordsize-64/inttypes.h: Likewise.
2580         * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
2581         and wcstoumax.
2582         * sysdeps/wordsize-64/Makefile: Likewise.
2583         * sysdeps/wordsize-32/Dist: Likewise.
2584         * sysdeps/wordsize-64/Dist: Likewise.
2585         * sysdeps/wordsize-32/strtoimax.c: New file.
2586         * sysdeps/wordsize-32/strtoumax.c: New file.
2587         * sysdeps/wordsize-32/wcstoimax.c: New file.
2588         * sysdeps/wordsize-32/wcstoumax.c: New file.
2589         * sysdeps/wordsize-64/strtoimax.c: New file.
2590         * sysdeps/wordsize-64/strtoumax.c: New file.
2591         * sysdeps/wordsize-64/wcstoimax.c: New file.
2592         * sysdeps/wordsize-64/wcstoumax.c: New file.
2594 1997-12-04 10:40  Philip Blundell  <pb@nexus.co.uk>
2596         * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
2597         that transparent union works.
2598         * sysdeps/generic/wait4.c (__wait4): Likewise.
2599         * sysdeps/generic/wait.c (__wait): Likewise.
2601         * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
2602         size_t.
2604         * sysdeps/generic/syscall.c (syscall): Return value and arg are
2605         long, to match prototype.
2607         * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
2608         have mremap() yet.
2610         * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
2612         * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
2614         * sysdeps/generic/bits/time.h: Use __time_t not time_t.
2616         * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
2617         __rlim_t.
2619         * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
2621         * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
2623         * io/sys/stat.h (S_ISLNK): Always false if we don't have
2624         __S_IFLNK.
2626         * sysdeps/standalone/close.c (_STDIO_H): Define before including
2627         <bits/stdio_lim.h>.
2628         * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
2630 1997-12-06 01:09  Ulrich Drepper  <drepper@cygnus.com>
2632         * posix/sys/wait.h: Don't use transparent unions in C++.
2634 1997-12-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2636         * time/time.h: Add strfxtime.
2638         * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
2639         sysv_signal, strfxtime, pread64, pwrite64.
2641 1997-11-30 21:57  Richard Henderson  <rth@cygnus.com>
2643         Alpha changes for EGCS:
2644         * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
2645         * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
2646         * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
2647         (_start): Likewise.
2648         * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
2650 1997-12-05 00:01  Ulrich Drepper  <drepper@cygnus.com>
2652         The kernel expects the arguments in a different order.
2653         * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
2654         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
2656         * FAQ.in: New file.
2657         * gen-FAQ.pl: New file.
2658         * Makefile (FAQ): Add rule to generate from FAQ.in.
2660         * iconvdata/Makefile: Treat libJIS like the other modules.
2662         * rt/librt.map: New file.
2664         * sysdeps/wordsize-32/bits/environments.h: Add test for direct
2665         inclusion.
2666         * sysdeps/wordsize-64/bits/environments.h: Likewise.  Correct
2667         comment.
2669 1997-12-04 22:29  Ulrich Drepper  <drepper@cygnus.com>
2671         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
2672         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
2673         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
2674         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
2676 1997-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2678         * string/bits/string2.h: Fix spellings.
2680         * string/string.h: Fix spellings.
2682 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2684         * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
2685         declaration to __syscall_rt_sigaction.
2687         * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
2688         non-existant <sigcontext.h>.
2690 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2692         * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
2693         typo.
2695 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2697         * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
2699         * Makeconfig (shared-thread-library): Correct spelling.
2701         * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
2702         <asm/pci.h>.
2704 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2706         * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
2707         constants from Linux headers. Pointed out by
2708         csmall@scooter.o.i.net. [PR libc/369]
2710 1997-12-04 10:21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2712         * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
2714 1997-12-04 00:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2716         * configure.in: If --enable-add-ons is given without an
2717         argument, set the addons list to all subdirs with a configure
2718         script.
2720 1997-12-03 23:50  Ulrich Drepper  <drepper@cygnus.com>
2722         * Makeconfig: Add shared-thread-library variable.
2724         * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
2725         * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
2726         here.
2727         * sysdeps/m68k/fpu/e_acos.c: Likewise.
2728         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
2729         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
2730         * sysdeps/m68k/fpu/e_pow.c: Likewise.
2731         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
2732         * sysdeps/m68k/fpu/k_cos.c: Likewise.
2733         * sysdeps/m68k/fpu/k_sin.c: Likewise.
2734         * sysdeps/m68k/fpu/k_tan.c: Likewise.
2735         * sysdeps/m68k/fpu/s_atan.c: Likewise.
2736         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
2737         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
2738         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
2739         * sysdeps/m68k/fpu/s_csin.c: Likewise.
2740         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
2741         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
2742         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
2743         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
2744         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
2745         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
2746         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
2747         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
2748         * sysdeps/m68k/fpu/s_modf.c: Likewise.
2749         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
2750         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
2751         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
2753         * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
2754         __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
2755         * signal/Makefile (headers): Add bits/siginfo.h.
2756         (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
2757         (distribute): Add testrtsig.h.
2758         * signal/allocrtsig.c: New file.
2759         * signal/signal.h: Define `union sigval'.  Include <bits/siginfo.h>.
2760         Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
2761         __libc_current_sigrtmax.
2762         * sysdeps/generic/sigqueue.c: New file.
2763         * sysdeps/generic/sigtimedwait.c: New file.
2764         * sysdeps/generic/sigwaitinfo.c: New file.
2765         * sysdeps/generic/testrtsig.h: New file.
2766         * sysdeps/generic/bits/siginfo.h: New file.
2767         * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
2768         * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
2769         old_kernel_sigaction and rename sa_handler member to k_sa_handler.
2770         * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
2771         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
2772         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
2773         * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
2774         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
2775         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
2776         * sysdeps/unix/sysv/linux/sigpending.c: New file.
2777         * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
2778         * sysdeps/unix/sysv/linux/sigqueue.c: New file.
2779         * sysdeps/unix/sysv/linux/sigreturn.c: New file.
2780         * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
2781         * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
2782         * sysdeps/unix/sysv/linux/testrtsig.h: New file.
2783         * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
2784         * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
2785         * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
2786         * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
2787         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
2788         and _POSIX_REALTIME_SIGNALS.
2789         * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
2790         * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
2791         update _NSIG.
2792         * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
2793         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
2794         definitions.
2796         * Makefile (subdirs): Add rt.
2797         * shlib-versions: Add entry for librt.
2798         * rt/Makefile: New file.
2799         * rt/aio.h: New file.
2800         * rt/aio_cancel.c: New file.
2801         * rt/aio_error.c: New file.
2802         * rt/aio_fsync.c: New file.
2803         * rt/aio_misc.c: New file.
2804         * rt/aio_misc.h: New file.
2805         * rt/aio_read.c: New file.
2806         * rt/aio_read64.c: New file.
2807         * rt/aio_return.c: New file.
2808         * rt/aio_suspend.c: New file.
2809         * rt/aio_write.c: New file.
2810         * rt/aio_write64.c: New file.
2811         * rt/lio_listio.c: New file.
2812         * rt/lio_listio64.c: New file.
2813         * sysdeps/generic/aio_sigqueue.c: New file.
2814         * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
2815         * sysdeps/unix/sysv/linux/Dist: Add new files
2816         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
2817         (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
2818         rt_sigqueueinfo, rt_sigaction.
2820         * posix/Makefile (headers): Add bits/environments.h.
2821         * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
2822         and _CS_LFS_CFLAGS on 64bit platforms.
2823         * posix/unistd.h: Define _XOPEN_LEGACY.  Explain _XOPEN_REALTIME
2824         and _XOPEN_REALTIME_THREADS.  Include bits/environments.h.
2825         * sysdeps/generic/bits/confname.h: Define _SC_* constants for
2826         compilation modules.
2827         * sysdeps/wordsize-32/bits/environments.h: New file.
2828         * sysdeps/wordsize-64/bits/environments.h: New file.
2830         * posix/getopt.c: Remove declaration of getpid and __libc_pid.
2831         * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
2832         __libc_pid.
2833         * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
2834         0xf00baa.
2836         * string/string.h: Add declaration of __strverscmp.
2837         * string/strverscmp.c: Rename function ot __strverscmp and make old
2838         name weak alias.
2840         * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
2841         * sysdeps/generic/enbl-secure.c: Likewise.
2842         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2844         * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
2846         * sysdeps/unix/sysv/linux/sys/pci.h: New file.
2848 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
2850         * posix/sys/wait.h: Use __transparent_union__ instead of
2851         transparent_union.  Reported by Roland McGrath.
2853 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2855         * resolv/inet_neta.c (inet_neta): Change type of first parameter
2856         to u_int32_t.  Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
2857         [PR libc/366].
2859         * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
2861         * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
2863 1997-12-03 20:40  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2865         * grp/initgroups.c: Increase buffer if it is too small.
2867 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
2869         * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
2870         fields, this is no ISO C.  Reported by Andreas Jaeger.
2872 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2874         * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
2876 1997-12-03 08:58  Philip Blundell  <pb@nexus.co.uk>
2878         * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
2879         _SYS_UTSNAME_H not _UTSNAME_H.
2881 1997-11-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2883         * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
2884         computing s_scale.
2886 1997-11-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2888         * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
2889         * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
2890         * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
2892         * math/libm-test.c (csqrt_test): Add testcase.
2894 1997-12-03 15:44  Ulrich Drepper  <drepper@cygnus.com>
2896         * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
2897         * sysdeps/unix/sysv/linux/sys/Dist: Add it.
2898         * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
2900 1997-11-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2902         * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
2904 1997-12-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2906         * math/libm-test.c (acos_test): Add more tests.
2907         (asin_test): Likewise.
2908         (atan_test): Likewise.
2909         (exp_test): Likewise.
2910         (sin_test): Likewise.
2911         (sqrt_test): Likewise.
2912         (cpow_test): Likewise.
2913         (csqrt_test): Likewise.
2914         (cexp_test): Correct typo in gcc version test.
2916 1997-12-02 17:14  Philip Blundell  <pb@nexus.co.uk>
2918         * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
2919         <bits/setjmp.h>.
2920         * sysdeps/arm/setjmp.S: Likewise.
2922         * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
2924 1997-12-02 18:07  Philip Blundell  <pb@nexus.co.uk>
2926         * stdio/stdio.h: Add prototype for tmpfile64().
2928 1997-12-02 17:47  Philip Blundell  <pb@nexus.co.uk>
2930         * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
2931         prototype to keep in step with libio version.
2933         * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
2935 1997-12-02 17:41  Philip Blundell  <pb@nexus.co.uk>
2937         * sysdeps/generic/Makefile: Don't try to use make_siglist if
2938         cross-compiling.
2940 1997-12-02 01:18  Ulrich Drepper  <drepper@cygnus.com>
2942         * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
2943         load GOT ptr before jumping to _exit.
2944         Reported by Xavier Leroy.
2946 1997-12-01 17:27  Ulrich Drepper  <drepper@cygnus.com>
2948         * Makefile (subdirs): Add iconvdata and localedata.
2950         * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
2952         * iconv/gconv_conf.c (read_conf_file): Little optimization.
2954         * iconvdata/8bit-gap.c: New file.
2955         * iconvdata/8bit-generic.c: Renamed from ...
2956         * iconvdata/iso8859-generic.c: ...this.
2957         * iconvdata/configure: Removed.
2958         * iconvdata/Makefile: Add new modules and better rules.
2959         * iconvdata/iso6937.c: Minor bug fixes.
2960         * iconvdata/iso8859-1.c: Likewise.
2961         * iconvdata/t61.c: Likewise.
2962         * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
2963         Minor bug fixes.
2964         * iconvdata/iso8859-3.c: Likewise.
2965         * iconvdata/iso8859-4.c: Likewise.
2966         * iconvdata/iso8859-5.c: Likewise.
2967         * iconvdata/iso8859-6.c: Likewise.
2968         * iconvdata/iso8859-7.c: Likewise.
2969         * iconvdata/iso8859-8.c: Likewise.
2970         * iconvdata/iso8859-9.c: Likewise.
2971         * iconvdata/iso8859-10.c: Likewise.
2972         * iconvdata/ebcdic-at-de-a.c: New file.
2973         * iconvdata/ebcdic-at-de.c: New file.
2974         * iconvdata/ebcdic-ca-fr.c: New file.
2975         * iconvdata/hp-roman8.c: New file.
2976         * iconvdata/koi-8.c: New file.
2977         * iconvdata/koi8-r.c: New file.
2978         * iconvdata/koi8-h.c: New file.
2979         * iconvdata/latin-greek-1.c: New file.
2980         * iconvdata/latin-greek-1.h: New file.
2981         * iconvdata/latin-greek.c: New file.
2982         * iconvdata/latin-greek.h: New file.
2983         * iconvdata/jis0201.c: New file.
2984         * iconvdata/jis0201.h: New file.
2985         * iconvdata/jis0208.c: New file.
2986         * iconvdata/jis0208.h: New file.
2987         * iconvdata/jis0212.c: New file.
2988         * iconvdata/jis0212.h: New file.
2989         * iconvdata/sjis.c: New file.
2990         * iconvdata/gap.pl: New file.  Script to generate table header.
2991         * iconvdata/gaptab.pl: New file.
2992         * iconvdata/gconv-modules: Add info about new modules.
2994         * locale/programs/charmap.c: Also examine alias names given in charmap
2995         files.
2997         * localedata/*: Add to here from add-on.  We need the information
2998         to generate tables for iconv.
3000         Update from db-2.3.14.
3001         * db2/Makefile: Updated.
3002         * db2/config.h: Likewise.
3003         * db2/db.h: Likewise.
3004         * db2/db_int.h: Likewise.
3005         * db2/btree/bt_cursor.c: Likewise.
3006         * db2/btree/bt_delete.c: Likewise.
3007         * db2/btree/bt_put.c: Likewise.
3008         * db2/btree/bt_search.c: Likewise.
3009         * db2/btree/bt_split.c: Likewise.
3010         * db2/btree/btree_auto.c: Likewise.
3011         * db2/common/db_appinit.c: Likewise.
3012         * db2/common/db_apprec.c: Likewise.
3013         * db2/common/db_err.c: Likewise.
3014         * db2/common/db_region.c: Likewise.
3015         * db2/db/db_auto.c: Likewise.
3016         * db2/db/db_dispatch.c: Likewise.
3017         * db2/db/db_ret.c: Likewise.
3018         * db2/dbm/dbm.c: Likewise.
3019         * db2/hash/hash_auto.c: Likewise.
3020         * db2/include/btree_ext.h: Likewise.
3021         * db2/include/common_ext.h: Likewise.
3022         * db2/include/db.h.src: Likewise.
3023         * db2/include/db_cxx.h: Likewise.
3024         * db2/include/db_ext.h: Likewise.
3025         * db2/include/db_int.h.src: Likewise.
3026         * db2/include/lock.h: Likewise.
3027         * db2/include/log.h: Likewise.
3028         * db2/include/mp.h: Likewise.
3029         * db2/include/mp_ext.h: Likewise.
3030         * db2/include/os_ext.h: Likewise.
3031         * db2/include/os_func.h: Likewise.
3032         * db2/lock/lock.c: Likewise.
3033         * db2/lock/lock_deadlock.c: Likewise.
3034         * db2/log/log.c: Likewise.
3035         * db2/log/log_archive.c: Likewise.
3036         * db2/log/log_auto.c: Likewise.
3037         * db2/log/log_get.c: Likewise.
3038         * db2/log/log_put.c: Likewise.
3039         * db2/mp/mp_bh.c: Likewise.
3040         * db2/mp/mp_fget.c: Likewise.
3041         * db2/mp/mp_fopen.c: Likewise.
3042         * db2/mp/mp_fput.c: Likewise.
3043         * db2/mp/mp_fset.c: Likewise.
3044         * db2/mp/mp_open.c: Likewise.
3045         * db2/mp/mp_pr.c: Likewise.
3046         * db2/mp/mp_region.c: Likewise.
3047         * db2/mp/mp_sync.c: Likewise.
3048         * db2/mutex/README: Likewise.
3049         * db2/mutex/mutex.c: Likewise.
3050         * db2/os/os_open.c: Likewise.
3051         * db2/os/os_func.c: Removed.
3052         * db2/os/os_config.c: New file.
3053         * db2/os/os_spin.c: New file.
3054         * db2/txn/txn.c: Likewise.
3055         * db2/txn/txn_auto.c: Likewise.
3057 1997-11-30 06:01  Ulrich Drepper  <drepper@cygnus.com>
3059         * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
3060         __typeof for C++ since this fails for class members.
3061         Reported by Neal Becker <neal@ctd.comsat.com>.
3063 1997-11-28 11:21  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3065         * configure.in: Check for a working makeinfo (3.11 or better).
3066         * config.make.in: Add MAKEINFO to be substituted.
3067         * manual/Makefile: Don't update info if makeinfo is too old.
3069 1997-11-30 05:21  Ulrich Drepper  <drepper@cygnus.com>
3071         * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
3072         * sysdeps/alpha/__longjmp.S: Likewise.
3073         * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
3074         not <bits/termios.h>.
3076         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
3077         __llseek and make llseek and lseek64 weak aliases.
3078         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3079         Patches by a sun <asun@zoology.washington.edu>.
3081 1997-11-29 19:19  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3083         * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
3084         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3085         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3086         * misc/sys/syslog.h: Clean up BSD header.
3088 1997-11-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3090         * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
3092         * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
3093         for ctan(+-inf,x).
3094         * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
3095         * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
3097         * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
3098         csqrt (-1), ctanh(i*pi/4).
3100 1997-11-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3102         * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
3104 1997-11-28 13:28  Philip Blundell  <Philip.Blundell@pobox.com>
3106         * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
3108 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3110         * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
3112 1997-11-26 21:28  Ulrich Drepper  <drepper@cygnus.com>
3114         * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
3115         and use.  Define GETCWD_RETURN_TYPE instead and use it.
3116         * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
3117         of GETCWD_STORYGE_CLASS and put the return type and the
3118         `internal_function' in the right order for gcc 2.7.2.
3120 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3122         * sysdeps/unix/sysv/linux/sys/module.h: Remove file.  It's
3123         incompatible with Linux 2.1.x.  Packages using modules
3124         (e.g. modutils) should/do provide their own version.  Suggested by
3125         Richard Henderson.
3127         * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
3129         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
3130         [$(subdir)=socket]: Remove sys/module.h.
3132 1997-11-26 04:28  Ulrich Drepper  <drepper@cygnus.com>
3134         * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
3135         computing s_scale.  Patch by a sun <asun@zoology.washington.edu>.
3137         * iconv/gconv_close.c: Correct freeing of descriptor data.
3138         * iconv/gconv_simple.c: Return correct error values for illegal or
3139         incomplete characters.
3141         * Makefile (iconvdata/%): Special goal to simplify iconvdata
3142         development.
3143         * iconvdata/Makefile: New file.
3144         * iconvdata/configure: Likewise.
3145         * iconvdata/extra-module.mk: Likewise.
3146         * iconvdata/gconv-modules: Likewise.
3147         * iconvdata/iso6937.c: Likewise.
3148         * iconvdata/iso8859-1.c: Likewise.
3149         * iconvdata/iso8859-10.c: Likewise.
3150         * iconvdata/iso8859-10.h: Likewise.
3151         * iconvdata/iso8859-2.c: Likewise.
3152         * iconvdata/iso8859-2.h: Likewise.
3153         * iconvdata/iso8859-3.c: Likewise.
3154         * iconvdata/iso8859-3.h: Likewise.
3155         * iconvdata/iso8859-4.c: Likewise.
3156         * iconvdata/iso8859-4.h: Likewise.
3157         * iconvdata/iso8859-5.c: Likewise.
3158         * iconvdata/iso8859-5.h: Likewise.
3159         * iconvdata/iso8859-6.c: Likewise.
3160         * iconvdata/iso8859-6.h: Likewise.
3161         * iconvdata/iso8859-7.c: Likewise.
3162         * iconvdata/iso8859-7.h: Likewise.
3163         * iconvdata/iso8859-8.c: Likewise.
3164         * iconvdata/iso8859-8.h: Likewise.
3165         * iconvdata/iso8859-9.c: Likewise.
3166         * iconvdata/iso8859-9.h: Likewise.
3167         * iconvdata/iso8859-generic.c: Likewise.
3168         * iconvdata/t61.c: Likewise.
3170         * string/Makefile (routines): Add strcasestr.
3171         * string/string.h: Add prototype for strcasestr.
3172         * sysdeps/generic/strcasestr.c: New file.
3173         * wcsmbs/mbrtowc.c: Simplify special case a bit.
3174         * wcsmbs/wcrtomb.c: Likewise.
3175         * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
3176         * wcsmbs/wcsnrtombs.c: Likewise.
3177         * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
3178         partial character is read.
3179         * wcsmbs/wcsrtombs.c: Likewise.
3180         * wcsmbs/wmemrtombs.c: Likewise.
3181         * wcsmbs/wmemrtowcs.c: Likewise.
3183         * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
3184         * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
3185         * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
3186         * sysdeps/i386/elf/setjmp.S: Likewise.
3187         * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
3188         <bits/termios.h>.
3190         * sysdeps/posix/mk-stdiolim.c: Output file with comment.
3191         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
3193         * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
3194         * sysvipc/sys/ipc.h: Likewise.
3195         * sysvipc/sys/msg.h: Likewise.
3196         * sysvipc/sys/sem.h: Likewise.
3197         * sysvipc/sys/shm.h: Likewise.
3199         * sysdeps/alpha/bits/endian.h: Issue error message if the header is
3200         used directly.
3201         * sysdeps/alpha/bits/setjmp.h: Likewise.
3202         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
3203         * sysdeps/arm/bits/endian.h: Likewise.
3204         * sysdeps/arm/bits/setjmp.h: Likewise.
3205         * sysdeps/generic/bits/byteswap.h: Likewise.
3206         * sysdeps/generic/bits/confname.h: Likewise.
3207         * sysdeps/generic/bits/dirent.h: Likewise.
3208         * sysdeps/generic/bits/dlfcn.h: Likewise.
3209         * sysdeps/generic/bits/endian.h: Likewise.
3210         * sysdeps/generic/bits/fenv.h: Likewise.
3211         * sysdeps/generic/bits/huge_val.h: Likewise.
3212         * sysdeps/generic/bits/in.h: Likewise.
3213         * sysdeps/generic/bits/ioctl-types.h: Likewise.
3214         * sysdeps/generic/bits/ioctls.h: Likewise.
3215         * sysdeps/generic/bits/ipc.h: Likewise.
3216         * sysdeps/generic/bits/msq.h: Likewise.
3217         * sysdeps/generic/bits/poll.h: Likewise.
3218         * sysdeps/generic/bits/resource.h: Likewise.
3219         * sysdeps/generic/bits/sched.h: Likewise.
3220         * sysdeps/generic/bits/sem.h: Likewise.
3221         * sysdeps/generic/bits/setjmp.h: Likewise.
3222         * sysdeps/generic/bits/shm.h: Likewise.
3223         * sysdeps/generic/bits/sigaction.h: Likewise.
3224         * sysdeps/generic/bits/sigcontext.h: Likewise.
3225         * sysdeps/generic/bits/socket.h: Likewise.
3226         * sysdeps/generic/bits/stat.h: Likewise.
3227         * sysdeps/generic/bits/statfs.h: Likewise.
3228         * sysdeps/generic/bits/stdio_lim.h: Likewise.
3229         * sysdeps/generic/bits/termios.h: Likewise.
3230         * sysdeps/generic/bits/time.h: Likewise.
3231         * sysdeps/generic/bits/uio.h: Likewise.
3232         * sysdeps/generic/bits/utmp.h: Likewise.
3233         * sysdeps/generic/bits/utmpx.h: Likewise.
3234         * sysdeps/generic/bits/utsname.h: Likewise.
3235         * sysdeps/generic/bits/waitflags.h: Likewise.
3236         * sysdeps/generic/bits/waitstatus.h: Likewise.
3237         * sysdeps/gnu/bits/utmp.h: Likewise.
3238         * sysdeps/gnu/bits/utmpx.h: Likewise.
3239         * sysdeps/i386/bits/byteswap.h: Likewise.
3240         * sysdeps/i386/bits/endian.h: Likewise.
3241         * sysdeps/i386/bits/huge_val.h: Likewise.
3242         * sysdeps/i386/bits/setjmp.h: Likewise.
3243         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
3244         * sysdeps/ieee754/bits/huge_val.h: Likewise.
3245         * sysdeps/m68k/bits/byteswap.h: Likewise.
3246         * sysdeps/m68k/bits/endian.h: Likewise.
3247         * sysdeps/m68k/bits/setjmp.h: Likewise.
3248         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
3249         * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
3250         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
3251         * sysdeps/mach/hurd/bits/stat.h: Likewise.
3252         * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
3253         * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
3254         * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
3255         * sysdeps/mips/bits/dlfcn.h: Likewise.
3256         * sysdeps/mips/bits/endian.h: Likewise.
3257         * sysdeps/mips/bits/setjmp.h: Likewise.
3258         * sysdeps/mips/dec/bits/endian.h: Likewise.
3259         * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
3260         * sysdeps/mips/mipsel/bits/endian.h: Likewise.
3261         * sysdeps/mips/p40/bits/endian.h: Likewise.
3262         * sysdeps/powerpc/bits/endian.h: Likewise.
3263         * sysdeps/powerpc/bits/fenv.h: Likewise.
3264         * sysdeps/powerpc/bits/setjmp.h: Likewise.
3265         * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
3266         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
3267         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
3268         * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
3269         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
3270         * sysdeps/unix/bsd/bits/dirent.h: Likewise.
3271         * sysdeps/unix/bsd/bits/stat.h: Likewise.
3272         * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
3273         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
3274         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
3275         * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
3276         * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
3277         * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
3278         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
3279         * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
3280         * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
3281         * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
3282         * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
3283         * sysdeps/unix/common/bits/dirent.h: Likewise.
3284         * sysdeps/unix/sysv/bits/dirent.h: Likewise.
3285         * sysdeps/unix/sysv/bits/stat.h: Likewise.
3286         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
3287         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
3288         * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
3289         * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
3290         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
3291         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
3292         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
3293         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
3294         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
3295         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3296         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
3297         * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
3298         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
3299         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
3300         * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
3301         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3302         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3303         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
3304         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
3305         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
3306         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3307         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3308         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
3309         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
3310         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3311         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3312         * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
3313         * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
3314         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
3315         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
3316         * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
3317         * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
3318         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
3319         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
3320         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
3321         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
3322         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
3323         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
3324         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
3325         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
3326         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
3327         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
3328         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
3329         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
3330         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
3331         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3332         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
3333         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
3334         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
3335         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3336         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
3337         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
3338         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
3339         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3340         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
3341         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
3342         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
3343         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
3344         * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
3345         * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
3346         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
3347         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
3348         * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
3349         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
3350         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
3351         * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
3352         * sysdeps/vax/bits/huge_val.h: Likewise.
3353         * sysdeps/vax/bits/setjmp.h: Likewise.
3354         * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
3355         * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
3357 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3359         * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
3361 1997-11-25  Paul Eggert  <eggert@shade.twinsun.com>
3363         * strftime.c (strftime):
3364         No longer any need to undef or declare if emacs is defined.
3365         (my_strftime): When checking a -1 returned by mktime, don't blow up
3366         if localtime_r returns NULL.
3368 1997-11-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3370         * README.template: Fix spelling.
3372 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3374         * configure.in: Enhance --enable-add-ons description a wee bit.
3376 1997-11-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3378         * glibcbug.in: Add more information of build environment and flags.
3380 1997-11-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3382         * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
3383         it into ENOENT.
3385 1997-11-24 03:01  Ulrich Drepper  <drepper@cygnus.com>
3387         * elf/dl-support.c: Call __libc_init_secure to make sure
3388         __libc_enable_secure is defined early.
3389         * sysdeps/generic/enbl-secure.c: Change function name to
3390         __libc_init_secure and make it global instead of a constructor.
3392         * iconv/gconv.c: Fix lots of bugs.
3393         * iconv/gconv.h: Likewise.
3394         * iconv/gconv_builtin.h: Likewise.
3395         * iconv/gconv_close.c: Likewise.
3396         * iconv/gconv_conf.c: Likewise.
3397         * iconv/gconv_db.c: Likewise.
3398         * iconv/gconv_dl.c: Likewise.
3399         * iconv/gconv_open.c: Likewise.
3400         * iconv/gconv_simple.c: Likewise.
3401         * iconv/iconv.c: Likewise.
3402         * iconv/iconv_close.c: Likewise.
3403         * iconv/iconv_open.c: Likewise.
3405         * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
3406         * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
3407         * wcsmbs/wmemrtombs.c: New file.
3408         * wcsmbs/wmemrtowcs.c: New file.
3410 1997-11-22 19:28  Ulrich Drepper  <drepper@cygnus.com>
3412         * iconv/gconv_simple.c: Fix lots of bugs.
3413         * iconv/iconv_open.c: Normalize names before passing them to
3414         __gconv_open.
3416         * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
3418         * libio/iopopen.c: Check for correct mode argument and punt otherwise.
3419         * stdio-common/test-popen.c: Add test for above change.
3421         * math/libm-test.c: Print test results also using %a format,
3422         specified in PRINTF_XEXPR macro.
3423         * math/test-double.c: Define PRINTF_XEXPR.
3424         * math/test-float.c: Likewise.
3425         * math/test-ldouble.c: Likewise.
3426         * math/test-idouble.c: Likewise.
3427         * math/test-ifloat.c: Likewise.
3428         * math/test-ildoubl.c: Likewise.
3430         * stdio-common/vfscanf.c: Recognize a in format specifier only as
3431         modifier if used before s, S, or [.  Otherwise it's the hexadecimal
3432         FP number format.
3434         * stdlib/strtod.c: Little code cleanup.
3436         * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
3437         compiling in math subdir.
3439         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
3440         instead of __LIBC_M81_MATH_INLINES.
3441         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
3442         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
3443         * sysdeps/m68k/fpu/e_pow.c: Likewise.
3444         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
3445         * sysdeps/m68k/fpu/k_cos.c: Likewise.
3446         * sysdeps/m68k/fpu/k_sin.c: Likewise.
3447         * sysdeps/m68k/fpu/k_tan.c: Likewise.
3448         * sysdeps/m68k/fpu/s_atan.c: Likewise.
3449         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
3450         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
3451         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
3452         * sysdeps/m68k/fpu/s_csin.c: Likewise.
3453         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
3454         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
3455         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
3456         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
3457         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
3458         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
3459         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
3460         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
3461         * sysdeps/m68k/fpu/s_modf.c: Likewise.
3462         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
3463         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
3464         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
3465         * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
3466         __LIBC_INTERNAL_MATH_INLINES is defined.
3468         * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
3469         of compare macros from ISO C 9X.  Optimize generic versions a bit.
3470         Define __signbit inline functions and __ieee754_sqrt which can be
3471         used if the ompiler is fixed.
3473         * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
3475 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3477         * Makerules ($(common-objpfx)stub-$(subdir)): Look for
3478         sysdeps/generic in the whole dep file, not only in the first line.
3480 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3482         * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
3484 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3486         * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
3487         place.
3489 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3491         * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
3492         is non-empty.
3494 1997-11-20 16:51  Ulrich Drepper  <drepper@cygnus.com>
3496         * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
3497         return value.
3499 1997-11-19 21:36  Ulrich Drepper  <drepper@cygnus.com>
3501         * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
3502         readlink succeeds but the return value is too long.
3504         * stdio-common/printf_fphex.c: Determine sign of number correctly.
3506 1997-11-19 02:45  Ulrich Drepper  <drepper@cygnus.com>
3508         * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
3509         __remqu for Alpha.
3511 1997-11-18 23:08  Ulrich Drepper  <drepper@cygnus.com>
3513         * sysdeps/generic/sys/ucontext.h: Stub context file.
3515         * libio/iofprintf.c: Removed.  We use the stdio-common version.
3517         * manual/Makefile (distribute): Add stdio-fp.c.
3519         * sysdeps/powerpc/Dist: Add ppc-mcount.S.
3521         * db2/Makefile (distribute): Add include/os_func.h, README and
3522         mutex/tsl_parisc.s.
3524         * hesiod/Makefile (distribute): Add README.hesiod.
3526 1997-11-18 22:14  Ulrich Drepper  <drepper@cygnus.com>
3528         * iconv/gconv.c: Correctly call transformation function.
3530         * manual/maint.texi: Document need of binutils 2.8.1.0.17.
3532 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3534         * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
3535         wrong results for e.g. remquo (3,2, &x)).
3536         * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
3537         * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
3539 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3541         * configure.in (ld --version-script): Test if the same symbol
3542         maybe defined in all versions (needed by recent changes to
3543         libc.map and supported with binutils 2.8.1.0.17) and issue warning
3544         if versioning is not supported/enabled.
3545         (bash test): Correct test case.
3547         * math/libm-test.c: Added counting/reporting of number of test cases.
3549         * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
3550         use awk instead.
3552         * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
3554 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3556         * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
3558 1997-11-18 18:04  Ulrich Drepper  <drepper@cygnus.com>
3560         * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
3561         Replace revoke call by use of REVOKE.
3562         * sysdeps/unix/sysv/linux/pty.c: New file.  Define REVOKE as
3563         empty and #include generic version.
3564         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
3566 1997-11-18 16:02  Ulrich Drepper  <drepper@cygnus.com>
3568         * libc.map: Add socket functions with __libc_* names.
3569         Reported by Andreas Jaeger.
3571 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3573         * libc.map: Tidy up (remove duplicates, sort entries).
3575 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3577         * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
3579 1997-11-18 06:45  Ulrich Drepper  <drepper@cygnus.com>
3581         * sysdeps/generic/pty.c: Make thread safe.  Fix bug when calling
3582         again after successful call.
3583         Patch by Marc Lehmann <pcg@goof.com>.
3585 1997-11-17  Paul Eggert  <eggert@twinsun.com>
3587         * time/mktime.c, time/strftime.c (_REENTRANT): #define,
3588         as some hosts need this to declare localtime_r properly.
3590 1997-11-18 06:08  Ulrich Drepper  <drepper@cygnus.com>
3592         * libc.map: Add iconv_open, iconv, and iconv_close.
3594 1997-11-18 02:31  Ulrich Drepper  <drepper@cygnus.com>
3596         * iconv/Makefile: New file.
3597         * iconv/gconv.c: New file.
3598         * iconv/gconv.h: New file.
3599         * iconv/gconv_builtin.c: New file.
3600         * iconv/gconv_builtin.h: New file.
3601         * iconv/gconv_close.c: New file.
3602         * iconv/gconv_conf.c: New file.
3603         * iconv/gconv_db.c: New file.
3604         * iconv/gconv_dl.c: New file.
3605         * iconv/gconv_open.c: New file.
3606         * iconv/gconv_simple.c: New file.
3607         * iconv/iconv.c: New file.
3608         * iconv/iconv.h: New file.
3609         * iconv/iconv_close.c: New file.
3610         * iconv/iconv_open.c: New file.
3611         * include/gconv.h: New file.
3613         * Makeconfig: Define gconvdir.
3614         * Makefile (subdirs): Add iconv.
3616         * string/bits/string2.h: Add optimization for strtok_r.
3618         * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
3619         for NULL.
3620         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
3621         Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
3623         * configure.in: Correct test for bash2.
3624         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
3626         * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
3627         (CFLAGS-locfile.c): Likewise.
3628         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
3630         * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
3631         non-existing entry if the table is full.
3633         * posix/regex.h: Pretty print.
3635         * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
3637         * sysdeps/posix/ctermid.c: Simplify a bit.
3639         * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
3641 1997-11-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3643         * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
3644         <sys/types.h> instead of <asm/types.h>.
3646 1997-11-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3648         * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
3650 1997-11-16 17:09  H.J. Lu  <hjl@gnu.ai.mit.edu>
3652         * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
3653         fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
3654         (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
3655         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
3656         fclose): Added to GLIBC_2.1.
3658         * libio/Makefile (routines, shared-only-routines): Add
3659         oldiofclose.  Remove oldfreopen.
3661         * libio/freopen.c (freopen): When PIC is defined, call
3662         _IO_old_freopen () for old stdio.
3664         * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
3665         (_IO_fclose, fclose): Use _IO_new_fclose as default version
3666         for GLIBC_2.1.
3668         * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
3669         instead of _IO_file_close_it.
3671         * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
3672         to _IO_2_1_stdxxx_.
3673         (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
3674         is defined.
3676         * libio/libioP.h (_IO_old_do_flush): New.
3678         * libio/oldfileops.c (_IO_old_file_close_it,
3679         _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
3680         Call _IO_old_do_flush () instead of _IO_do_flush ().
3681         (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
3682         _IO_do_write ().
3684         * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
3685         instead of _IO_file_init ().
3686         Bind old symbols to version GLIBC_2.0.
3688         * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
3689         (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
3690         _IO_stdxxx_.
3691         (_IO_check_libio): New function in .init.
3693         * libio/oldiofclose.c: New file.
3695         * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
3696         _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
3697         (DEF_STDFILE): Don't use default_symbol_version.
3699         * libio/stdio.c (stdin, stdout, stderr): Set to
3700         _IO_2_1_stdxxx_._
3701         (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
3702         stdxxx.
3704         * csu/Makefile (distribute): Add init.c.
3705         (extra-objs): Add init.o for ELF.
3706         (start-installed-name): Add $(objpfx)init.o.
3708         * csu/init.c: New file.
3710 1997-11-12 08:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
3712         * elf/dl-lookup.c (do_lookup): Don't use the hidden base
3713         definition as the default.
3715 1997-08-27  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
3717         * erand48_r.c (__erand48_r): Implement for 32 bit short int.
3719 1997-11-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3721         * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
3722         (PR 351).
3724 1997-11-16 21:01  Philip Blundell  <Philip.Blundell@pobox.com>
3726         * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
3727         to preserve condition codes on function call.
3729 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3731         * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
3733 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3735         * math/libm-test.c (asin_test): Add epsilon for float.
3736         (tan_test): Add epsilon for float.
3737         (log1p_test): Add epsilon for float.
3738         (inverse_functions): Add epsilons.
3740         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
3741         net/if_packet.h.
3743         * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
3745 1997-11-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3747         * md5-crypt/Makefile (extra-objs): Make recursively expanded
3748         variable, since $(object-suffixes) is not defined yet.
3750 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3752         * db2/Makefile (distribute): db185/db185_int.src ->
3753         db185/db185_int.h.
3755 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3757         * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
3758         exactly one.
3760 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3762         * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
3763         name.
3764         * sysdeps/generic/e_acosl.c: Likewise.
3765         * sysdeps/generic/e_asinl.c: Likewise.
3766         * sysdeps/generic/e_atan2l.c: Likewise.
3767         * sysdeps/generic/e_expl.c: Likewise.
3768         * sysdeps/generic/e_fmodl.c: Likewise.
3769         * sysdeps/generic/e_j0l.c: Likewise.
3770         * sysdeps/generic/e_j1l.c: Likewise.
3771         * sysdeps/generic/e_jnl.c: Likewise.
3772         * sysdeps/generic/e_lgammal_r.c: Likewise.
3773         * sysdeps/generic/e_log10l.c: Likewise.
3774         * sysdeps/generic/e_logl.c: Likewise.
3775         * sysdeps/generic/e_powl.c: Likewise.
3776         * sysdeps/generic/e_sqrtl.c: Likewise.
3777         * sysdeps/generic/e_exp2l.c: Likewise.
3779 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3781         * Make-dist (+sysdep-names): Remove extra paren.
3782         * Makefile (distribute): Add stub-tag.h.
3783         * elf/Makefile (distribute): Add atomicity.h.
3784         * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
3785         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
3786         [$(subdir)=socket]: Add net/if_packet.h.
3787         * sysdeps/alpha/Dist: Remove setjmp_aux.c.
3788         * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
3789         net/if_packet.h, scsi/sg.h.
3791 1997-11-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3793         * Makefile (install): Quote $(CC) expansion.
3795 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3797         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
3798         working /proc cwd and no restrictions on path length.  Following
3799         some ideas from Andi Kleen <ak@muc.de> (PR 350).
3801 1997-11-14 19:14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3803         * nis/nss_compat/compat-grp.c: Remove buggy assert call.
3804         * nis/nss_compat/compat-pwd.c: Likewise.
3805         * nis/nss_compat/compat-spwd.c: Likewise.
3807 1997-11-14 22:23  Ulrich Drepper  <drepper@cygnus.com>
3809         * sysdeps/libm-i387/s_fdim.S: New file.
3810         * sysdeps/libm-i387/s_fdimf.S: New file.
3811         * sysdeps/libm-i387/s_fdiml.S: New file.
3812         * sysdeps/libm-i387/i686/s_fdim.S: New file.
3813         * sysdeps/libm-i387/i686/s_fdimf.S: New file.
3814         * sysdeps/libm-i387/i686/s_fdiml.S: New file.
3816 1997-11-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3818         * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
3819         pointer to unsigned char.
3821 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3823         * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
3825         * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
3827         * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
3829 1997-11-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3831         * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
3832         ilogb(0/NaN).
3833         * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
3834         * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
3836 1997-11-14 05:44  Ulrich Drepper  <drepper@cygnus.com>
3838         * sysdeps/libm-i387/s_fmin.S: New file.
3839         * sysdeps/libm-i387/s_fminf.S: New file.
3840         * sysdeps/libm-i387/s_fminl.S: New file.
3841         * sysdeps/libm-i387/s_fmax.S: New file.
3842         * sysdeps/libm-i387/s_fmaxf.S: New file.
3843         * sysdeps/libm-i387/s_fmaxl.S: New file.
3844         * sysdeps/libm-i387/i686/s_fmin.S: New file.
3845         * sysdeps/libm-i387/i686/s_fminf.S: New file.
3846         * sysdeps/libm-i387/i686/s_fminl.S: New file.
3847         * sysdeps/libm-i387/i686/s_fmax.S: New file.
3848         * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
3849         * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
3851 1997-11-14 03:06  Ulrich Drepper  <drepper@cygnus.com>
3853         * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
3854         * sysdeps/unix/sysv/linux/send.S: Likewise.
3855         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
3856         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
3857         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
3858         * sysdeps/unix/sysv/linux/recv.S: Likewise.
3859         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
3860         * sysdeps/unix/sysv/linux/connect.S: Likewise.
3861         Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
3863 See ChangeLog.7 for earlier changes.